<!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>Bazaar Release Notes — Bazaar 2.6.0 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.6.0', 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 2.6.0 documentation" href="../index.html" /> <link rel="up" title="Bazaar Release Notes" href="index.html" /> <link rel="next" title="Bazaar Release Notes" href="bzr-0.11.html" /> <link rel="prev" title="Bazaar Release Notes" href="bzr-0.13.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-0.11.html" title="Bazaar Release Notes" accesskey="N">next</a></li> <li class="right" > <a href="bzr-0.13.html" title="Bazaar Release Notes" 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.6.0)</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="bazaar-release-notes"> <h1>Bazaar Release Notes<a class="headerlink" href="#bazaar-release-notes" title="Permalink to this headline">¶</a></h1> <div class="toctree-wrapper compound"> <ul class="simple"> </ul> </div> <div class="section" id="bzr-0-12"> <h2>bzr 0.12<a class="headerlink" href="#bzr-0-12" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Released:</th><td class="field-body">2006-10-30</td> </tr> </tbody> </table> <div class="section" id="internals"> <h3>Internals<a class="headerlink" href="#internals" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>Clean up <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">selftest</span> <span class="pre">--benchmark</span> <span class="pre">bundle</span></tt> to correct an import, and remove benchmarks that take longer than 10min to run. (John Arbash Meinel)</li> </ul> </div> </div> <div class="section" id="bzr-0-12rc1"> <h2>bzr 0.12rc1<a class="headerlink" href="#bzr-0-12rc1" title="Permalink to this headline">¶</a></h2> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Released:</th><td class="field-body">2006-10-23</td> </tr> </tbody> </table> <div class="section" id="improvements"> <h3>Improvements<a class="headerlink" href="#improvements" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span></tt> now shows dotted-decimal revision numbers for all revisions, rather than just showing a decimal revision number for revisions on the mainline. These revision numbers are not yet accepted as input into bzr commands such as log, diff etc. (Robert Collins)</li> <li>revisions can now be specified using dotted-decimal revision numbers. For instance, <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">diff</span> <span class="pre">-r</span> <span class="pre">1.2.1..1.2.3</span></tt>. (Robert Collins)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">help</span> <span class="pre">commands</span></tt> output is now shorter (Aaron Bentley)</li> <li><tt class="docutils literal"><span class="pre">bzr</span></tt> now uses lazy importing to reduce the startup time. This has a moderate effect on lots of actions, especially ones that have little to do. For example <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">rocks</span></tt> time is down to 116ms from 283ms. (John Arbash Meinel)</li> <li>New Registry class to provide name-to-object registry-like support, for example for schemes where plugins can register new classes to do certain tasks (e.g. log formatters). Also provides lazy registration to allow modules to be loaded on request. (John Arbash Meinel, Adeodato Simó)</li> </ul> </div> <div class="section" id="api-incompatability"> <h3>API Incompatability<a class="headerlink" href="#api-incompatability" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>LogFormatter subclasses show now expect the ‘revno’ parameter to show() to be a string rather than an int. (Robert Collins)</li> </ul> </div> <div class="section" id="id1"> <h3>Internals<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li><tt class="docutils literal"><span class="pre">TestCase.run_bzr</span></tt>, <tt class="docutils literal"><span class="pre">run_bzr_captured</span></tt>, and <tt class="docutils literal"><span class="pre">run_bzr_subprocess</span></tt> can take a <tt class="docutils literal"><span class="pre">working_dir='foo'</span></tt> parameter, which will change directory for the command. (John Arbash Meinel)</li> <li><tt class="docutils literal"><span class="pre">bzrlib.lazy_regex.lazy_compile</span></tt> can be used to create a proxy around a regex, which defers compilation until first use. (John Arbash Meinel)</li> <li><tt class="docutils literal"><span class="pre">TestCase.run_bzr_subprocess</span></tt> defaults to supplying the <tt class="docutils literal"><span class="pre">--no-plugins</span></tt> parameter to ensure test reproducability, and avoid problems with system-wide installed plugins. (John Arbash Meinel)</li> <li>Unique tree root ids are now supported. Newly created trees still use the common root id for compatibility with bzr versions before 0.12. (Aaron Bentley)</li> <li><tt class="docutils literal"><span class="pre">WorkingTree.set_root_id(None)</span></tt> is now deprecated. Please pass in <tt class="docutils literal"><span class="pre">inventory.ROOT_ID</span></tt> if you want the default root id value. (Robert Collins, John Arbash Meinel)</li> <li>New method <tt class="docutils literal"><span class="pre">WorkingTree.flush()</span></tt> which will write the current memory inventory out to disk. At the same time, <tt class="docutils literal"><span class="pre">read_working_inventory</span></tt> will no longer trash the current tree inventory if it has been modified within the current lock, and the tree will now <tt class="docutils literal"><span class="pre">flush()</span></tt> automatically on <tt class="docutils literal"><span class="pre">unlock()</span></tt>. <tt class="docutils literal"><span class="pre">WorkingTree.set_root_id()</span></tt> has been updated to take advantage of this functionality. (Robert Collins, John Arbash Meinel)</li> <li><tt class="docutils literal"><span class="pre">bzrlib.tsort.merge_sorted</span></tt> now accepts <tt class="docutils literal"><span class="pre">generate_revnos</span></tt>. This parameter will cause it to add another column to its output, which contains the dotted-decimal revno for each revision, as a tuple. (Robert Collins)</li> <li><tt class="docutils literal"><span class="pre">LogFormatter.show_merge</span></tt> is deprecated in favour of <tt class="docutils literal"><span class="pre">LogFormatter.show_merge_revno</span></tt>. (Robert Collins)</li> </ul> </div> <div class="section" id="bug-fixes"> <h3>Bug Fixes<a class="headerlink" href="#bug-fixes" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>Avoid circular imports by creating a deprecated function for <tt class="docutils literal"><span class="pre">bzrlib.tree.RevisionTree</span></tt>. Callers should have been using <tt class="docutils literal"><span class="pre">bzrlib.revisontree.RevisionTree</span></tt> anyway. (John Arbash Meinel, #66349)</li> <li>Don’t use <tt class="docutils literal"><span class="pre">socket.MSG_WAITALL</span></tt> as it doesn’t exist on all platforms. (Martin Pool, #66356)</li> <li>Don’t require <tt class="docutils literal"><span class="pre">Content-Type</span></tt> in range responses. Assume they are a single range if <tt class="docutils literal"><span class="pre">Content-Type</span></tt> does not exist. (John Arbash Meinel, #62473)</li> <li>bzr branch/pull no longer complain about progress bar cleanup when interrupted during fetch. (Aaron Bentley, #54000)</li> <li><tt class="docutils literal"><span class="pre">WorkingTree.set_parent_trees()</span></tt> uses the trees to directly write the basis inventory, rather than going through the repository. This allows us to have 1 inventory read, and 2 inventory writes when committing a new tree. (John Arbash Meinel)</li> <li>When reverting, files that are not locally modified that do not exist in the target are deleted, not just unversioned (Aaron Bentley)</li> <li>When trying to acquire a lock, don’t fail immediately. Instead, try a few times (up to 1 hour) before timing out. Also, report why the lock is unavailable (John Arbash Meinel, #43521, #49556)</li> <li>Leave HttpTransportBase daughter classes decides how they implement cloning. (Vincent Ladeuil, #61606)</li> <li>diff3 does not indicate conflicts on clean merge. (Aaron Bentley)</li> <li>If a commit fails, the commit message is stored in a file at the root of the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher, #32054)</li> </ul> </div> <div class="section" id="testing"> <h3>Testing<a class="headerlink" href="#testing" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>New test base class TestCaseWithMemoryTransport offers memory-only testing facilities: its not suitable for tests that need to mutate disk state, but most tests should not need that and should be converted to TestCaseWithMemoryTransport. (Robert Collins)</li> <li><tt class="docutils literal"><span class="pre">TestCase.make_branch_and_memory_tree</span></tt> now takes a format option to set the BzrDir, Repository and Branch formats of the created objects. (Robert Collins, John Arbash Meinel)</li> </ul> </div> </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="#">Bazaar Release Notes</a><ul> <li><a class="reference internal" href="#bzr-0-12">bzr 0.12</a><ul> <li><a class="reference internal" href="#internals">Internals</a></li> </ul> </li> <li><a class="reference internal" href="#bzr-0-12rc1">bzr 0.12rc1</a><ul> <li><a class="reference internal" href="#improvements">Improvements</a></li> <li><a class="reference internal" href="#api-incompatability">API Incompatability</a></li> <li><a class="reference internal" href="#id1">Internals</a></li> <li><a class="reference internal" href="#bug-fixes">Bug Fixes</a></li> <li><a class="reference internal" href="#testing">Testing</a></li> </ul> </li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="bzr-0.13.html" title="previous chapter">Bazaar Release Notes</a></p> <h4>Next topic</h4> <p class="topless"><a href="bzr-0.11.html" title="next chapter">Bazaar Release Notes</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/release-notes/bzr-0.12.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" /> <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-0.11.html" title="Bazaar Release Notes" >next</a></li> <li class="right" > <a href="bzr-0.13.html" title="Bazaar Release Notes" >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.6.0)</a> »</li> <li><a href="index.html" >Bazaar Release Notes</a> »</li> </ul> </div> <div class="footer"> © Copyright 2009-2011 Canonical Ltd. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>