<!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-1.9.html" /> <link rel="prev" title="Bazaar Release Notes" href="bzr-1.11.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-1.9.html" title="Bazaar Release Notes" accesskey="N">next</a></li> <li class="right" > <a href="bzr-1.11.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-1-10"> <h2>bzr 1.10<a class="headerlink" href="#bzr-1-10" 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">2008-12-05</td> </tr> </tbody> </table> <p>Bazaar 1.10 has several performance improvements for copying revisions (especially for small updates to large projects). There has also been a significant amount of effort in polishing stacked branches. The commands <tt class="docutils literal"><span class="pre">shelve</span></tt> and <tt class="docutils literal"><span class="pre">unshelve</span></tt> have become core commands, with an improved implementation.</p> <p>The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.</p> <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>Don’t set a pack write cache size from RepoFetcher, because the cache is not coherent with reads and causes ShortReadvErrors. This reverses the change that fixed #294479. (Martin Pool, #303856)</li> <li>Properly handle when a revision can be inserted as a delta versus when it needs to be expanded to a fulltext for stacked branches. There was a bug involving merge revisions. As a method to help prevent future difficulties, also make stacked fetches sort topologically. (John Arbash Meinel, #304841)</li> </ul> </div> </div> <div class="section" id="bzr-1-10rc1"> <h2>bzr 1.10rc1<a class="headerlink" href="#bzr-1-10rc1" 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">2008-11-28</td> </tr> </tbody> </table> <p>This release of Bazaar focuses on performance improvements when pushing and pulling revisions, both locally and to remote networks. The popular <tt class="docutils literal"><span class="pre">shelve</span></tt> and <tt class="docutils literal"><span class="pre">unshelve</span></tt> commands, used to interactively revert and restore work in progress, have been merged from bzrtools into the bzr core. There are also bug fixes for portability, and for stacked branches.</p> <div class="section" id="new-features"> <h3>New Features<a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>New <tt class="docutils literal"><span class="pre">commit_message_template</span></tt> hook that is called by the commit code to generate a template commit message. (Jelmer Vernooij)</li> <li>New <cite>shelve</cite> and <cite>unshelve</cite> commands allow undoing and redoing changes. (Aaron Bentley)</li> </ul> </div> <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">(Remote)Branch.copy_content_into</span></tt> no longer generates the full revision history just to set the last revision info. (Andrew Bennetts, John Arbash Meinel)</li> <li>Fetches between formats with different serializers (such as pack-0.92-subtree and 1.9-rich-root) are faster now. This is due to operating on batches of 100 revisions at time rather than one-by-one. (Andrew Bennetts, John Arbash Meinel)</li> <li>Search index files corresponding to pack files we’ve already used before searching others, because they are more likely to have the keys we’re looking for. This reduces the number of iix and tix files accessed when pushing 1 new revision, for instance. (John Arbash Meinel)</li> <li>Signatures to transfer are calculated more efficiently in <tt class="docutils literal"><span class="pre">item_keys_introduced_by</span></tt>. (Andrew Bennetts, John Arbash Meinel)</li> <li>The generic fetch code can once again copy revisions and signatures without extracting them completely to fulltexts and then serializing them back down into byte strings. This is a significant performance improvement when fetching from a stacked branch. (John Arbash Meinel, #300289)</li> <li>When making a large readv() request over <tt class="docutils literal"><span class="pre">bzr+ssh</span></tt>, break up the request into more manageable chunks. Because the RPC is not yet able to stream, this helps keep us from buffering too much information at once. (John Arbash Meinel)</li> </ul> </div> <div class="section" id="id1"> <h3>Bug Fixes<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>Better message when the user needs to set their Launchpad ID. (Martin Pool, #289148)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">commit</span> <span class="pre">--local</span></tt> doesn’t access the master branch anymore. This fixes a regression introduced in 1.9. (Marius Kruger, #299313)</li> <li>Don’t call the system <tt class="docutils literal"><span class="pre">chdir()</span></tt> with an empty path. Sun OS seems to give an error in that case. Also, don’t count on <tt class="docutils literal"><span class="pre">getcwd()</span></tt> being able to allocate a new buffer, which is a gnu extension. (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)</li> <li>Don’t crash when requesting log –forward <file> for a revision range starting with a dotted revno. (Vincent Ladeuil, #300055)</li> <li>Don’t create text deltas spanning stacked repositories; this could cause “Revision X not present in Y” when later accessing them. (Martin Pool, #288751)</li> <li>Pack repositories are now able to reload the pack listing and retry the current operation if another action causes the data to be repacked. (John Arbash Meinel, #153786)</li> <li>PermissionDenied errors from smart servers no longer cause “PermissionDenied: “None”” on the client. (Andrew Bennetts, #299254)</li> <li>Pushing to a stacked pack repository now batches writes, the same way writes are batched to ordinary pack repository. This makes pushing to a stacked branch over the network much faster. (Andrew Bennetts, #294479)</li> <li>TooManyConcurrentRequests no longer occur when a fetch fails and tries to abort a write group. This allows the root cause (e.g. a network interruption) to be reported. (Andrew Bennetts, #297014)</li> <li>RemoteRepository.get_parent_map now uses fallback repositories. (Aaron Bentley, #297991?, #293679?)</li> </ul> </div> <div class="section" id="api-changes"> <h3>API Changes<a class="headerlink" href="#api-changes" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li><tt class="docutils literal"><span class="pre">CommitBuilder</span></tt> now validates the strings it will be committing, to ensure that they do not have characters that will not be properly round-tripped. For now, it just checks for characters that are invalid in the XML form. (John Arbash Meinel, #295161)</li> <li>Constructor parameters for NewPack (internal to pack repositories) have changed incompatibly.</li> <li><tt class="docutils literal"><span class="pre">Repository.abort_write_group</span></tt> now accepts an optional <tt class="docutils literal"><span class="pre">suppress_errors</span></tt> flag. Repository implementations that override <tt class="docutils literal"><span class="pre">abort_write_group</span></tt> will need to be updated to accept the new argument. Subclasses that only override <tt class="docutils literal"><span class="pre">_abort_write_group</span></tt> don’t need to change.</li> <li>Transport implementations must provide copy_tree_to_transport. A default implementation is provided for Transport subclasses.</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><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">selftest</span></tt> now fails if no doctests are found in a module that’s expected to have them. (Martin Pool)</li> <li>Doctests now only report the first failure. (Martin Pool)</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-1-10">bzr 1.10</a><ul> <li><a class="reference internal" href="#bug-fixes">bug Fixes</a></li> </ul> </li> <li><a class="reference internal" href="#bzr-1-10rc1">bzr 1.10rc1</a><ul> <li><a class="reference internal" href="#new-features">New Features</a></li> <li><a class="reference internal" href="#improvements">Improvements</a></li> <li><a class="reference internal" href="#id1">Bug Fixes</a></li> <li><a class="reference internal" href="#api-changes">API Changes</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-1.11.html" title="previous chapter">Bazaar Release Notes</a></p> <h4>Next topic</h4> <p class="topless"><a href="bzr-1.9.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-1.10.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-1.9.html" title="Bazaar Release Notes" >next</a></li> <li class="right" > <a href="bzr-1.11.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-doc.org/">Sphinx</a> 1.2.3. </div> </body> </html>