<!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.7.0 documentation</title> <link rel="stylesheet" href="../_static/classic.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.7.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="search" title="Search" href="../search.html" /> <link rel="top" title="Bazaar 2.7.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.4.html" /> <link rel="prev" title="Bazaar Release Notes" href="bzr-1.6.html" /> </head> <body role="document"> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-1.4.html" title="Bazaar Release Notes" accesskey="N">next</a></li> <li class="right" > <a href="bzr-1.6.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 class="nav-item nav-item-0"><a href="../index.html">Table of Contents (2.7.0)</a> »</li> <li class="nav-item nav-item-1"><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" role="main"> <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"> </div> <div class="section" id="bzr-1-5"> <h2>bzr 1.5<a class="headerlink" href="#bzr-1-5" 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-05-16</td> </tr> </tbody> </table> <p>This release of Bazaar includes several updates to the documentation, and fixes to prepare for making rich root support the default format. Many bugs have been squashed, including fixes to log, bzr+ssh inter-operation with older servers.</p> <div class="section" id="changes"> <h3>Changes<a class="headerlink" href="#changes" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>Suppress deprecation warnings when bzrlib is a ‘final’ release. This way users of packaged software won’t be bothered with DeprecationWarnings, but developers and testers will still see them. (John Arbash Meinel)</li> </ul> </div> <div class="section" id="documentation"> <h3>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell on the plugin and integration chapters of the User Guide. (Ian Clatworthy)</li> </ul> </div> </div> <div class="section" id="bzr-1-5rc1"> <h2>bzr 1.5rc1<a class="headerlink" href="#bzr-1-5rc1" 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-05-09</td> </tr> </tbody> </table> <div class="section" id="id1"> <h3>Changes<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>Broader support of GNU Emacs mail clients. Set <code class="docutils literal"><span class="pre">mail_client=emacsclient</span></code> in your bazaar.conf and <code class="docutils literal"><span class="pre">send</span></code> will pop the bundle in a mail buffer according to the value of <code class="docutils literal"><span class="pre">mail-user-agent</span></code> variable. (Xavier Maillard)</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>Diff now handles revision specs like “branch:” and “submit:” more efficiently. (Aaron Bentley, #202928)</li> <li>More friendly error given when attempt to start the smart server on an address already in use. (Andrea Corbellini, #200575)</li> <li>Pull completes much faster when there is nothing to pull. (Aaron Bentley)</li> </ul> </div> <div class="section" id="bugfixes"> <h3>Bugfixes<a class="headerlink" href="#bugfixes" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>Authentication.conf can define sections without password. (Vincent Ladeuil, #199440)</li> <li>Avoid muttering every time a child update does not cause a progress bar update. (John Arbash Meinel, #213771)</li> <li><code class="docutils literal"><span class="pre">Branch.reconcile()</span></code> is now implemented. This allows <code class="docutils literal"><span class="pre">bzr</span> <span class="pre">reconcile</span></code> to fix when a Branch has a non-canonical mainline history. <code class="docutils literal"><span class="pre">bzr</span> <span class="pre">check</span></code> also detects this condition. (John Arbash Meinel, #177855)</li> <li><code class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">-r</span> <span class="pre">..X</span> <span class="pre">bzr://</span></code> was failing, because it was getting a request for <code class="docutils literal"><span class="pre">revision_id=None</span></code> which was not a string. (John Arbash Meinel, #211661)</li> <li><code class="docutils literal"><span class="pre">bzr</span> <span class="pre">commit</span></code> now works with Microsoft’s FTP service. (Andreas Deininger)</li> <li>Catch definitions outside sections in authentication.conf. (Vincent Ladeuil, #217650)</li> <li>Conversion from non-rich-root to rich-root(-pack) updates inventory sha1s, even when bundles are used. (Aaron Bentley, #181391)</li> <li>Conversion from non-rich-root to rich-root(-pack) works correctly even though search keys are not topologically sorted. (Aaron Bentley)</li> <li>Conversion from non-rich-root to rich-root(-pack) works even when a parent revision has a different root id. (Aaron Bentley, #177874)</li> <li>Disable strace testing until strace is fixed (see bug #103133) and emit a warning when selftest ends to remind us of leaking tests. (Vincent Ladeuil, #226769)</li> <li>Fetching all revisions from a repository does not cause pack collisions. (Robert Collins, Aaron Bentley, #212908)</li> <li>Fix error about “attempt to add line-delta in non-delta knit”. (Andrew Bennetts, #217701)</li> <li>Pushing a branch in “dirstate” format (Branch5) over bzr+ssh would break if the remote server was < version 1.2. This was due to a bug in the RemoteRepository.get_parent_map() fallback code. (John Arbash Meinel, #214894)</li> <li>Remove leftover code in <code class="docutils literal"><span class="pre">bzr_branch</span></code> that inappropriately creates a <code class="docutils literal"><span class="pre">branch-name</span></code> file in the branch control directory. (Martin Pool)</li> <li>Set SO_REUSEADDR on server sockets of <code class="docutils literal"><span class="pre">bzr</span> <span class="pre">serve</span></code> to avoid problems rebinding the socket when starting the server a second time. (John Arbash Meinel, Martin Pool, #164288)</li> <li>Severe performance degradation in fetching from knit repositories to knits and packs due to parsing the entire revisions.kndx on every graph walk iteration fixed by using the Repository.get_graph API. There was another regression in knit => knit fetching which re-read the index for every revision each side had in common. (Robert Collins, John Arbash Meinel)</li> <li>When logging the changes to a particular file, there was a bug if there were ghosts in the revision ancestry. (John Arbash Meinel, #209948)</li> <li>xs4all’s FTP server returns a temporary error when trying to list an empty directory, rather than returning an empty list. Adding a workaround so that we don’t get spurious failures. (John Arbash Meinel, #215522)</li> </ul> </div> <div class="section" id="id2"> <h3>Documentation<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>Expanded the User Guide to include new chapters on popular plugins and integrating Bazaar into your environment. The <em>Best practices</em> chapter was renamed to <em>Miscellaneous topics</em> as suggested by community feedback as well. (Ian Clatworthy)</li> <li>Document outlining strategies for TortoiseBzr. (Mark Hammond)</li> <li>Improved the documentation on hooks. (Ian Clatworthy)</li> <li>Update authentication docs regarding SSH agents. (Vincent Ladeuil, #183705)</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>Add <code class="docutils literal"><span class="pre">thread_name_suffix</span></code> parameter to SmartTCPServer_for_testing, to make it easy to identify which test spawned a thread with an unhandled exception. (Andrew Bennetts)</li> <li>New <code class="docutils literal"><span class="pre">--debugflag</span></code>/<code class="docutils literal"><span class="pre">-E</span></code> option to <code class="docutils literal"><span class="pre">bzr</span> <span class="pre">selftest</span></code> for setting options for debugging tests, these are complementary to the -D options. The <code class="docutils literal"><span class="pre">-Dselftest_debug</span></code> global option has been replaced by the <code class="docutils literal"><span class="pre">-E=allow_debug</span></code> option for selftest. (Andrew Bennetts)</li> <li>Parameterised test ids are preserved correctly to aid diagnosis of test failures. (Robert Collins, Andrew Bennetts)</li> <li>selftest now accepts –starting-with <id> to load only the tests whose id starts with the one specified. This greatly speeds up running the test suite on a limited set of tests and can be used to run the tests for a single module, a single class or even a single test. (Vincent Ladeuil)</li> <li>The test suite modules have been modified to define load_tests() instead of test_suite(). That speeds up selective loading (via –load-list) significantly and provides many examples on how to migrate (grep for load_tests). (Vincent Ladeuil)</li> </ul> </div> <div class="section" id="internals"> <h3>Internals<a class="headerlink" href="#internals" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li><code class="docutils literal"><span class="pre">Hooks.install_hook</span></code> is now deprecated in favour of <code class="docutils literal"><span class="pre">Hooks.install_named_hook</span></code> which adds a required <code class="docutils literal"><span class="pre">name</span></code> parameter, to avoid having to call <code class="docutils literal"><span class="pre">Hooks.name_hook</span></code>. (Daniel Watkins)</li> <li>Implement xml8 serializer. (Aaron Bentley)</li> <li>New form <code class="docutils literal"><span class="pre">@deprecated_method(deprecated_in(1,</span> <span class="pre">5,</span> <span class="pre">0))</span></code> for making deprecation wrappers. (Martin Pool)</li> <li><code class="docutils literal"><span class="pre">Repository.revision_parents</span></code> is now deprecated in favour of <code class="docutils literal"><span class="pre">Repository.get_parent_map([revid])[revid]</span></code>. (Jelmer Vernooij)</li> <li>The Python <code class="docutils literal"><span class="pre">assert</span></code> statement is no longer used in Bazaar source, and a test checks this. (Martin Pool)</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><code class="docutils literal"><span class="pre">bzrlib.status.show_pending_merges</span></code> requires the repository to be locked by the caller. Callers should have been doing it anyway, but it will now raise an exception if they do not. (John Arbash Meinel)</li> <li>Repository.get_data_stream, Repository.get_data_stream_for_search(), Repository.get_deltas_for_revsions(), Repository.revision_trees(), Repository.item_keys_introduced_by() no longer take read locks. (Aaron Bentley)</li> <li><code class="docutils literal"><span class="pre">LockableFiles.get_utf8</span></code> and <code class="docutils literal"><span class="pre">.get</span></code> are deprecated, as a start towards removing LockableFiles and <code class="docutils literal"><span class="pre">.control_files</span></code> entirely. (Martin Pool)</li> <li>Methods deprecated prior to 1.1 have been removed. (Martin Pool)</li> </ul> </div> </div> </div> </div> </div> </div> <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> <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-5">bzr 1.5</a><ul> <li><a class="reference internal" href="#changes">Changes</a></li> <li><a class="reference internal" href="#documentation">Documentation</a></li> </ul> </li> <li><a class="reference internal" href="#bzr-1-5rc1">bzr 1.5rc1</a><ul> <li><a class="reference internal" href="#id1">Changes</a></li> <li><a class="reference internal" href="#improvements">Improvements</a></li> <li><a class="reference internal" href="#bugfixes">Bugfixes</a></li> <li><a class="reference internal" href="#id2">Documentation</a></li> <li><a class="reference internal" href="#testing">Testing</a></li> <li><a class="reference internal" href="#internals">Internals</a></li> <li><a class="reference internal" href="#api-changes">API Changes</a></li> </ul> </li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="bzr-1.6.html" title="previous chapter">Bazaar Release Notes</a></p> <h4>Next topic</h4> <p class="topless"><a href="bzr-1.4.html" title="next chapter">Bazaar Release Notes</a></p> <div role="note" aria-label="source link"> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/release-notes/bzr-1.5.txt" rel="nofollow">Show Source</a></li> </ul> </div> <div id="searchbox" style="display: none" role="search"> <h3>Quick search</h3> <form class="search" action="../search.html" method="get"> <div><input type="text" name="q" /></div> <div><input type="submit" value="Go" /></div> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related" role="navigation" aria-label="related navigation"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-1.4.html" title="Bazaar Release Notes" >next</a></li> <li class="right" > <a href="bzr-1.6.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 class="nav-item nav-item-0"><a href="../index.html">Table of Contents (2.7.0)</a> »</li> <li class="nav-item nav-item-1"><a href="index.html" >Bazaar Release Notes</a> »</li> </ul> </div> <div class="footer" role="contentinfo"> © Copyright 2009-2011 Canonical Ltd. Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.9. </div> </body> </html>