<!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 1.9rc1 — 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 1.8" href="bzr-1.8.html" /> <link rel="prev" title="bzr 1.9" href="bzr-1.9.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-1.8.html" title="bzr 1.8" accesskey="N">next</a></li> <li class="right" > <a href="bzr-1.9.html" title="bzr 1.9" 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-1-9rc1"> <h1>bzr 1.9rc1<a class="headerlink" href="#bzr-1-9rc1" 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">Released:</th><td class="field-body">2008-10-31</td> </tr> </tbody> </table> <div class="section" id="new-features"> <h2>New Features<a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>New Branch hook <tt class="docutils literal"><span class="pre">transform_fallback_location</span></tt> allows a function to be called when looking up the stacked source. (Michael Hudson)</li> <li>New repository formats <tt class="docutils literal"><span class="pre">1.9</span></tt> and <tt class="docutils literal"><span class="pre">1.9-rich-root</span></tt>. These have all the functionality of <tt class="docutils literal"><span class="pre">1.6</span></tt>, but use the new btree indexes. These indexes are both smaller and faster for access to historical information. (John Arbash Meinel)</li> </ul> </div> <div class="section" id="improvements"> <h2>Improvements<a class="headerlink" href="#improvements" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li><tt class="docutils literal"><span class="pre">BTreeIndex</span></tt> code now is able to prefetch extra pages to help tune the tradeoff between bandwidth and latency. Should be tuned appropriately to not impact commands which need minimal information, but provide a significant boost to ones that need more context. Only has a direct impact on the <tt class="docutils literal"><span class="pre">--development2</span></tt> format which uses btree’s for the indexes. (John Arbash Meinel)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">dump-btree</span></tt> is a hidden command introduced to allow dumping the contents of a compressed btree file. (John Arbash Meinel)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">pack</span></tt> now tells the index builders to optimize for size. For btree index repositories, this can save 25% of the index size (mostly in the text indexes). (John Arbash Meinel)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">push</span></tt> to an existing branch or repository on a smart server is faster, due to Bazaar making more use of the <tt class="docutils literal"><span class="pre">get_parent_map</span></tt> RPC when querying the remote branch’s revision graph. (Andrew Bennetts)</li> <li>default username for bzr+ssh and sftp can be configured in authentication.conf. (Aaron Bentley)</li> <li>launchpad-login now provides a default username for bzr+ssh and sftp URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)</li> <li><tt class="docutils literal"><span class="pre">lp:</span></tt> lookups no longer include usernames, making them shareable and shorter. (Aaron Bentley)</li> <li>New <tt class="docutils literal"><span class="pre">PackRepository.autopack</span></tt> smart server RPC, which does autopacking entirely on the server. This is much faster than autopacking via plain file methods, which downloads a large amount of pack data and then re-uploads the same pack data into a single file. This fixes a major (although infrequent) cause of lengthy delays when using a smart server. For example, pushing the 10th revision to a repository with 9 packs now takes 44 RPCs rather than 179, and much less bandwidth too. This requires Bazaar 1.9 on both the client and the server, otherwise the client will fallback to the slower method. (Andrew Bennetts)</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>A failure to load a plugin due to an IncompatibleAPI exception is now correctly reported. (Robert Collins, #279451)</li> <li>API versioning support now has a multiple-version checking api <tt class="docutils literal"><span class="pre">require_any_api</span></tt>. (Robert Collins, #279447)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span> <span class="pre">--stacked</span></tt> from a smart server to a standalone branch works again. This fixes a regression in 1.7 and 1.8. (Andrew Bennetts, #270397)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">co</span></tt> uses less memory. It used to unpack the entire WT into memory before writing it to disk. This was a little bit faster, but consumed lots of memory. (John Arbash Meinel, #269456)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">missing</span> <span class="pre">--quiet</span></tt> no longer prints messages about whether there are missing revisions. The exit code indicates whether there were or not. (Martin Pool, #284748)</li> <li>Fixes to the <tt class="docutils literal"><span class="pre">annotate</span></tt> code. The fast-path which re-used the stored deltas was accidentally disabled all the time, instead of only when a branch was stacked. Second, the code would accidentally re-use a delta even if it wasn’t against the left-parent, this could only happen if <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">reconcile</span></tt> decided that the parent ordering was incorrect in the file graph. (John Arbash Meinel)</li> <li>“Permission denied” errors that occur when pushing a new branch to a smart server no longer cause tracebacks. (Andrew Bennetts, #278673)</li> <li>Some compatibility fixes for building the extensions with MSVC and for python2.4. (John Arbash Meinel, #277484)</li> <li>The index logic is now able to reload the list of pack files if and index ends up disappearing. We still don’t reload if the pack data itself goes missing after checking the index. This bug appears as a transient failure (file not found) when another process is writing to the repository. (John Arbash Meinel, #153786)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">switch</span></tt> and <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">bind</span></tt> will now update the branch nickname if it was previously set. All checkouts will now refer to the bound branch for a nickname if one was not explicitly set. (Marius Kruger, #230903)</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>Improved hook documentation. (Michael Ernst)</li> </ul> </div> <div class="section" id="api-changes"> <h2>API Changes<a class="headerlink" href="#api-changes" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>commands.plugins_cmds is now a CommandRegistry, not a dict.</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>New AuthenticationConfig.set_credentials method allows easy programmatic configuration of authetication credentials.</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 1.9rc1</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="#bug-fixes">Bug Fixes</a></li> <li><a class="reference internal" href="#documentation">Documentation</a></li> <li><a class="reference internal" href="#api-changes">API Changes</a></li> <li><a class="reference internal" href="#internals">Internals</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="bzr-1.9.html" title="previous chapter">bzr 1.9</a></p> <h4>Next topic</h4> <p class="topless"><a href="bzr-1.8.html" title="next chapter">bzr 1.8</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/release-notes/bzr-1.9rc1.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-1.8.html" title="bzr 1.8" >next</a></li> <li class="right" > <a href="bzr-1.9.html" title="bzr 1.9" >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>