<!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.18 — 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.18rc1" href="bzr-1.18rc1.html" /> <link rel="prev" title="bzr 1.18.1" href="bzr-1.18.1.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-1.18rc1.html" title="bzr 1.18rc1" accesskey="N">next</a></li> <li class="right" > <a href="bzr-1.18.1.html" title="bzr 1.18.1" 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-18"> <h1>bzr 1.18<a class="headerlink" href="#bzr-1-18" title="Permalink to this headline">¶</a></h1> <div class="section" id="compatibility-breaks"> <h2>Compatibility Breaks<a class="headerlink" href="#compatibility-breaks" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>Committing directly to a stacked branch from a lightweight checkout will no longer work. In previous versions this would appear to work but would generate repositories with insufficient data to create deltas, leading to later errors when branching or reading from the repository. (Robert Collins, bug #375013)</li> </ul> </div> <div class="section" id="new-features"> <h2>New Features<a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h2> </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>Fetching from 2a branches from a version-2 bzr protocol would fail to copy the internal inventory pages from the CHK store. This cannot happen in normal use as all 2a compatible clients and servers support the version-3 protocol, but it does cause test suite failures when testing downlevel protocol behaviour. (Robert Collins)</li> <li>Fix a test failure on karmic by making a locale test more robust. (Vincent Ladeuil, #413514)</li> <li>Fixed “Pack ... already exists” error when running <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">pack</span></tt> on a fully packed 2a repository. (Andrew Bennetts, #382463)</li> <li>Further tweaks to handling of <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">add</span></tt> messages about ignored files. (Jason Spashett, #76616)</li> <li>Properly handle fetching into a stacked branch while converting the data, especially when there are also ghosts. The code was filling in parent inventories incorrectly, and also not handling when one of the parents was a ghost. (John Arbash Meinel, #402778, #412198)</li> <li><tt class="docutils literal"><span class="pre">RemoteStreamSource.get_stream_for_missing_keys</span></tt> will fetch CHK inventory pages when appropriate (by falling back to the vfs stream source). (Andrew Bennetts, #406686)</li> <li>StreamSource generates rich roots from non-rich root sources correctly now. (Andrew Bennetts, #368921)</li> <li>When deciding whether a repository was compatible for upgrading or fetching, we previously incorrectly checked the default repository format for the bzrdir format, rather than the format that was actually present on disk. (Martin Pool, #408824)</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>A better description of the platform is shown in crash tracebacks, <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">--version</span></tt> and <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">selftest</span></tt>. (Martin Pool, #409137)</li> <li>Cross-format fetches (such as between 1.9-rich-root and 2a) via the smart server are more efficient now. They send inventory deltas rather than full inventories. The smart server has two new requests, <tt class="docutils literal"><span class="pre">Repository.get_stream_1.19</span></tt> and <tt class="docutils literal"><span class="pre">Repository.insert_stream_1.19</span></tt> to support this. (Andrew Bennetts, #374738, #385826)</li> <li>Extracting the full ancestry and computing the <tt class="docutils literal"><span class="pre">merge_sort</span></tt> is now significantly faster. This effects things like <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">-n0</span></tt>. (For example, <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">-r</span> <span class="pre">-10..-1</span> <span class="pre">-n0</span> <span class="pre">bzr.dev</span></tt> is 2.5s down to 1.0s. (John Arbash Meinel)</li> </ul> </div> <div class="section" id="documentation"> <h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h2> </div> <div class="section" id="api-changes"> <h2>API Changes<a class="headerlink" href="#api-changes" title="Permalink to this headline">¶</a></h2> </div> <div class="section" id="internals"> <h2>Internals<a class="headerlink" href="#internals" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li><tt class="docutils literal"><span class="pre">-Dstrict_locks</span></tt> can now be used to check that read and write locks are treated properly w.r.t. exclusivity. (We don’t try to take an OS read lock on a file that we already have an OS write lock on.) This is now set by default for all tests, if you have a test which cannot be fixed, you can use <tt class="docutils literal"><span class="pre">self.thisFailsStrictLockCheck()</span></tt> as a compatibility knob. (John Arbash Meinel)</li> <li>InterDifferingSerializer is now only used locally. Other fetches that would have used InterDifferingSerializer now use the more network friendly StreamSource, which now automatically does the same transformations as InterDifferingSerializer. (Andrew Bennetts)</li> <li><tt class="docutils literal"><span class="pre">KnownGraph</span></tt> now has a <tt class="docutils literal"><span class="pre">.topo_sort</span></tt> and <tt class="docutils literal"><span class="pre">.merge_sort</span></tt> member which are implemented in pyrex and significantly faster. This is exposed along with <tt class="docutils literal"><span class="pre">CombinedGraphIndex.find_ancestry()</span></tt> as <tt class="docutils literal"><span class="pre">VersionedFiles.get_known_graph_ancestry(keys)</span></tt>. (John Arbash Meinel)</li> <li>RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2 protocols. (Robert Collins)</li> <li>The index code now has some specialized routines to extract the full ancestry of a key in a more efficient manner. <tt class="docutils literal"><span class="pre">CombinedGraphIndex.find_ancestry()</span></tt>. (Time to get ancestry for bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John Arbash Meinel)</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>Install the test ssl certificate and key so that installed bzr can run the https tests. (Denys Duchier, #392401)</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.18</a><ul> <li><a class="reference internal" href="#compatibility-breaks">Compatibility Breaks</a></li> <li><a class="reference internal" href="#new-features">New Features</a></li> <li><a class="reference internal" href="#bug-fixes">Bug Fixes</a></li> <li><a class="reference internal" href="#improvements">Improvements</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> <li><a class="reference internal" href="#testing">Testing</a></li> </ul> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="bzr-1.18.1.html" title="previous chapter">bzr 1.18.1</a></p> <h4>Next topic</h4> <p class="topless"><a href="bzr-1.18rc1.html" title="next chapter">bzr 1.18rc1</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/release-notes/bzr-1.18.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.18rc1.html" title="bzr 1.18rc1" >next</a></li> <li class="right" > <a href="bzr-1.18.1.html" title="bzr 1.18.1" >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>