<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>bzr 2.2.1 — Bazaar v2.2.4 documentation</title> <link rel="stylesheet" href="../_static/default.css" type="text/css" /> <link rel="stylesheet" href="../_static/pygments.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '2.2.4', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <link rel="shortcut icon" href="../_static/bzr.ico"/> <link rel="top" title="Bazaar v2.2.4 documentation" href="../index.html" /> <link rel="up" title="Bazaar Release Notes" href="index.html" /> <link rel="next" title="bzr 2.1.4" href="bzr-2.1.4.html" /> <link rel="prev" title="bzr 2.2.2" href="bzr-2.2.2.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-2.1.4.html" title="bzr 2.1.4" accesskey="N">next</a></li> <li class="right" > <a href="bzr-2.2.2.html" title="bzr 2.2.2" accesskey="P">previous</a> |</li> <li><a href="http://bazaar.canonical.com/"> <img src="../_static/bzr icon 16.png" /> Home</a> | </li> <a href="http://doc.bazaar.canonical.com/en/">Documentation</a> | </li> <li><a href="../index.html">Table of Contents (2.2.4)</a> »</li> <li><a href="index.html" accesskey="U">Bazaar Release Notes</a> »</li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="bzr-2-2-1"> <h1>bzr 2.2.1<a class="headerlink" href="#bzr-2-2-1" title="Permalink to this headline">¶</a></h1> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field"><th class="field-name">2.2.1:</th><td class="field-body">2010-09-17</td> </tr> </tbody> </table> <p>This is a bugfix release which also includes bugfixes from 2.0.6 and 2.1.3. None are critical, but upgrading is recommended for all users on earlier 2.2 releases.</p> <div class="section" id="fedora-backported-bug-fixes"> <h2>Fedora Backported Bug Fixes<a class="headerlink" href="#fedora-backported-bug-fixes" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>Fix traceback with python-2.7’s xmlrpclib (Toshio Kuratomi, #612096)</li> </ul> </div> <div class="section" id="bug-fixes"> <h2>Bug Fixes<a class="headerlink" href="#bug-fixes" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>Additional merges after an unrelated branch has been merged with its history no longer crash when deleted files are involved. (Vincent Ladeuil, John Arbash Meinel, #375898)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">add</span> <span class="pre">SYMLINK/FILE</span></tt> now works properly when the symlink points to a previously-unversioned directory within the tree: the directory is marked versioned too. (Martin Pool, #192859)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">commit</span> <span class="pre">SYMLINK</span></tt> now works, rather than trying to commit the target of the symlink. (Martin Pool, John Arbash Meinel, #128562)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">upgrade</span></tt> now creates the <tt class="docutils literal"><span class="pre">backup.bzr</span></tt> directory with the same permissions as <tt class="docutils literal"><span class="pre">.bzr</span></tt> directory on a POSIX OS. (Parth Malwankar, #262450)</li> <li>CommitBuilder now uses the committer instead of _config.username to generate the revision-id. (Aaron Bentley, #614404)</li> <li>Configuration files in <tt class="docutils literal"><span class="pre">${BZR_HOME}</span></tt> are now written in an atomic way which should help avoid problems with concurrent writers. (Vincent Ladeuil, #525571)</li> <li>Cope with Microsoft FTP server that returns reply ‘250 Directory created’ when mkdir succeeds. (Martin Pool, #224373)</li> <li>Don’t traceback trying to unversion children files of an already unversioned directory. (Vincent Ladeuil, #494221)</li> <li>Don’t traceback when a lockdir’s <tt class="docutils literal"><span class="pre">held/info</span></tt> file is corrupt (e.g. contains only NUL bytes). Instead warn the user, and allow <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">break-lock</span></tt> to remove it. (Andrew Bennetts, #619872)</li> <li>Fix <tt class="docutils literal"><span class="pre">AttributeError</span> <span class="pre">on</span> <span class="pre">parent.children</span></tt> when adding a file under a directory that was a symlink in the previous commit. (Martin Pool, #192859)</li> <li>Fix <tt class="docutils literal"><span class="pre">AttributeError:</span> <span class="pre">'NoneType'</span> <span class="pre">object</span> <span class="pre">has</span> <span class="pre">no</span> <span class="pre">attribute</span> <span class="pre">'close'</span></tt> in <tt class="docutils literal"><span class="pre">_close_ssh_proc</span></tt> when using <tt class="docutils literal"><span class="pre">bzr+ssh://</span></tt>. This was causing connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on stderr in some other circumstances. (Andrew Bennetts, #633745)</li> <li>Only call <tt class="docutils literal"><span class="pre">setlocale</span></tt> in the bzr startup script on posix systems. This avoids an issue with the newer windows C runtimes used by Python 2.6 and later which can mangle bytestrings printed to the console. (Martin [gz], #631350)</li> <li>Prevent <tt class="docutils literal"><span class="pre">CHKMap.apply_delta</span></tt> from generating non-canonical CHK maps, which can result in “missing referenced chk root keys” errors when fetching from repositories with affected revisions. (Andrew Bennetts, #522637)</li> <li>Raise ValueError instead of a string exception. (John Arbash Meinel, #586926)</li> <li>Reduce peak memory by one copy of compressed text. (John Arbash Meinel, #566940)</li> <li>Repositories accessed via a smart server now reject being stacked on a repository in an incompatible format, as is the case when accessing them via other methods. This was causing fetches from those repositories via a smart server (e.g. using <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span></tt>) to receive invalid data. (Andrew Bennetts, #562380)</li> <li>Selftest with versions of subunit that support <tt class="docutils literal"><span class="pre">stopTestRun</span></tt> will no longer error. This error was caused by 2.0 not being updated when upstream python merged the end of run patch, which chose <tt class="docutils literal"><span class="pre">stopTestRun</span></tt> rather than <tt class="docutils literal"><span class="pre">done</span></tt>. (Robert Collins, #571437)</li> <li>Stop <tt class="docutils literal"><span class="pre">AttributeError:</span> <span class="pre">'module'</span> <span class="pre">object</span> <span class="pre">has</span> <span class="pre">no</span> <span class="pre">attribute</span> <span class="pre">'ElementTree'</span></tt> being thrown from <tt class="docutils literal"><span class="pre">xml_serializer</span></tt> on certain cElementTree setups. (Martin [gz], #254278)</li> <li>Upgrading or fetching from a non-rich-root repository to a rich-root repository (e.g. from pack-0.92 to 2a) no longer fails with <tt class="docutils literal"><span class="pre">'Inter1and2Helper'</span> <span class="pre">object</span> <span class="pre">has</span> <span class="pre">no</span> <span class="pre">attribute</span> <span class="pre">'source_repo'</span></tt>. This was a regression from Bazaar 2.1. (Andrew Bennetts, #636930)</li> <li>When passing a file to <tt class="docutils literal"><span class="pre">UTF8DirReader</span></tt> make sure to close the current directory file handle after the chdir fails. Otherwise when passing many filenames into a command line <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt> we would leak descriptors. (John Arbash Meinel, #583486)</li> </ul> </div> <div class="section" id="documentation"> <h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>Fix a lot of references in the docs to the old <a class="reference external" href="http://bazaar-vcs.org">http://bazaar-vcs.org</a> to the new <a class="reference external" href="http://bazaar.canonical.com">http://bazaar.canonical.com</a> or <a class="reference external" href="http://wiki.bazaar.canonical.com">http://wiki.bazaar.canonical.com</a> (John Arbash Meinel, #617503)</li> </ul> </div> <div class="section" id="internals"> <h2>Internals<a class="headerlink" href="#internals" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>Remove used and broken code path in <tt class="docutils literal"><span class="pre">BranchInitHookParams.__repr__</span></tt>. (Andrew Bennetts)</li> </ul> </div> <div class="section" id="testing"> <h2>Testing<a class="headerlink" href="#testing" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li><tt class="docutils literal"><span class="pre">build_tree_contents</span></tt> can create symlinks. (Martin Pool, John Arbash Meinel)</li> <li>Tracebacks from a parameterized test are no longer reported against every parameterization of that test. This was done by adding a hack to <tt class="docutils literal"><span class="pre">bzrlib.tests.clone_test</span></tt> so that it no longer causes testtools.TestCase instances to share a details dict. (Andrew Bennetts, #625574)</li> </ul> </div> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h3><a href="../index.html">Table Of Contents</a></h3> <ul> <li><a class="reference internal" href="#">bzr 2.2.1</a><ul> <li><a class="reference internal" href="#fedora-backported-bug-fixes">Fedora Backported Bug Fixes</a></li> <li><a class="reference internal" href="#bug-fixes">Bug Fixes</a></li> <li><a class="reference internal" href="#documentation">Documentation</a></li> <li><a class="reference internal" href="#internals">Internals</a></li> <li><a class="reference internal" href="#testing">Testing</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="bzr-2.2.2.html" title="previous chapter">bzr 2.2.2</a></p> <h4>Next topic</h4> <p class="topless"><a href="bzr-2.1.4.html" title="next chapter">bzr 2.1.4</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/release-notes/bzr-2.2.1.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <input type="text" name="q" size="18" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-2.1.4.html" title="bzr 2.1.4" >next</a></li> <li class="right" > <a href="bzr-2.2.2.html" title="bzr 2.2.2" >previous</a> |</li> <li><a href="http://bazaar.canonical.com/"> <img src="../_static/bzr icon 16.png" /> Home</a> | </li> <a href="http://doc.bazaar.canonical.com/en/">Documentation</a> | </li> <li><a href="../index.html">Table of Contents (2.2.4)</a> »</li> <li><a href="index.html" >Bazaar Release Notes</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009, Canonical Ltd. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7. </div> </body> </html>