<!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.11.html" /> <link rel="prev" title="Bazaar Release Notes" href="bzr-1.13.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-1.11.html" title="Bazaar Release Notes" accesskey="N">next</a></li> <li class="right" > <a href="bzr-1.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-1-12"> <h2>bzr 1.12<a class="headerlink" href="#bzr-1-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">Codename:</th><td class="field-body">1234567890</td> </tr> <tr class="field-even field"><th class="field-name">1.12:</th><td class="field-body">2009-02-13</td> </tr> <tr class="field-odd field"><th class="field-name">1.12rc1:</th><td class="field-body">2009-02-10</td> </tr> </tbody> </table> <p>This release of Bazaar contains many improvements to the speed, documentation and functionality of <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span></tt> and the display of logged revisions by <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt>. bzr now also gives a better indication of progress, both in the way operations are drawn onto a text terminal, and by showing the rate of network IO.</p> <div class="section" id="changes-from-rc1-to-final"> <h3>Changes from RC1 to Final<a class="headerlink" href="#changes-from-rc1-to-final" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">init</span> <span class="pre">--development-wt5[-rich-root]</span></tt> would fail because of circular import errors. (John Arbash Meinel, #328135)</li> <li>Expanded the help for log and added a new help topic called <tt class="docutils literal"><span class="pre">log-formats</span></tt>. (Ian Clatworthy)</li> </ul> </div> <div class="section" id="compatibility-breaks"> <h3>Compatibility Breaks<a class="headerlink" href="#compatibility-breaks" title="Permalink to this headline">¶</a></h3> <ul class="simple"> <li>By default, <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt> after a merge now shows just the pending merge tip revisions. This improves the signal-to-noise ratio after merging from trunk and completes much faster. To see all merged revisions, use the new <tt class="docutils literal"><span class="pre">-v</span></tt> flag. (Ian Clatworthy)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">--line</span></tt> now shows any tags after the date and before the commit message. If you have scripts which parse the output from this command, you may need to adjust them accordingly. (Ian Clatworthy)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">--short</span></tt> now shows any additional revision properties after the date and before the commit message. Scripts that parse output of the log command in this situation may need to adjust. (Neil Martinsen-Burrell)</li> <li>The experimental formats <tt class="docutils literal"><span class="pre">1.12-preview</span></tt> and <tt class="docutils literal"><span class="pre">1.12-preview-rich-root</span></tt> have been renamed <tt class="docutils literal"><span class="pre">development-wt5</span></tt> and <tt class="docutils literal"><span class="pre">development-wt5-rich-root</span></tt> respectively, given they are not ready for release in 1.12. (Ian Clatworthy)</li> <li><tt class="docutils literal"><span class="pre">read_bundle_from_url</span></tt> has been deprecated. (Vincent Ladeuil)</li> </ul> </div> <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>Add support for filtering <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">missing</span></tt> on revisions. Remote revisions can be filtered using <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">missing</span> <span class="pre">-r</span> <span class="pre">-20..-10</span></tt> and local revisions can be filtered using <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">missing</span> <span class="pre">--my-revision</span> <span class="pre">-20..-10</span></tt>. (Marius Kruger)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">-p</span></tt> displays the patch diff for each revision. When logging a file, the diff only includes changes to that file. (Ian Clatworthy, #202331, #227335)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span></tt> supports a new option called <tt class="docutils literal"><span class="pre">-n</span> <span class="pre">N</span></tt> or <tt class="docutils literal"><span class="pre">--level</span> <span class="pre">N</span></tt>. A value of 0 (zero) means “show all nested merge revisions” while a value of 1 (one) means “show just the top level”. Values above 1 can be used to see a limited amount of nesting. That can be useful for seeing the level or two below PQM submits for example. To force the <tt class="docutils literal"><span class="pre">--short</span></tt> and <tt class="docutils literal"><span class="pre">--line</span></tt> formats to display all nested merge revisions just like <tt class="docutils literal"><span class="pre">--long</span></tt> does by default, use a command like <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">--short</span> <span class="pre">-n0</span></tt>. To display just the mainline using <tt class="docutils literal"><span class="pre">--long</span></tt> format, <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">--long</span> <span class="pre">-n1</span></tt>. (Ian Clatworthy)</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">bzr</span> <span class="pre">add</span></tt> more clearly communicates success vs failure. (Daniel Watkins)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">init</span></tt> will now print a little less verbose output. (Marius Kruger)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span></tt> is now much faster in many use cases, particularly at incrementally displaying results and filtering by a revision range. (Ian Clatworthy)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">--short</span></tt> and <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">--line</span></tt> now show tags, if any, for each revision. The tags are shown comma-separated inside <tt class="docutils literal"><span class="pre">{}</span></tt>. For short format, the tags appear at the end of line before the optional <tt class="docutils literal"><span class="pre">[merge]</span></tt> indicator. For line format, the tags appear after the date. (Ian Clatworthy)</li> <li>Progress bars now show the rate of activity for some SFTP operations, and they are drawn different. (Martin Pool, #172741)</li> <li>Progress bars now show the rate of activity for urllib and pycurl based HTTP client implementations. The operations are tracked at the socket level for better precision. (Vincent Ladeuil)</li> <li>Rule-based preferences can now accept multiple patterns for a set of rules. (Marius Kruger)</li> <li>The <tt class="docutils literal"><span class="pre">ancestor:</span></tt> revision spec will now default to referring to the parent of the branch if no other location is given. (Daniel Watkins, #198417)</li> <li>The debugger started as a result of setting <tt class="docutils literal"><span class="pre">$BZR_PDB</span></tt> works around a bug in <tt class="docutils literal"><span class="pre">pdb</span></tt>, <a class="reference external" href="http://bugs.python.org/issue4150">http://bugs.python.org/issue4150</a>. The bug can cause truncated tracebacks in Python versions before 2.6. (Andrew Bennetts)</li> <li>VirtualVersionedFiles now implements <tt class="docutils literal"><span class="pre">iter_lines_added_or_present_in_keys</span></tt>. This allows the creation of new branches based on stacked bzr-svn branches. (#311997)</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><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">annotate</span> <span class="pre">--show-ids</span></tt> doesn’t give a backtrace on empty files anymore. (Anne Mohsen, Vincent Ladeuil, #314525)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">FILE</span></tt> now correctly shows mainline revisions merging a change to FILE when the <tt class="docutils literal"><span class="pre">--short</span></tt> and <tt class="docutils literal"><span class="pre">--line</span></tt> log formats are used. (Ian Clatworthy, #317417)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">-rX..Y</span> <span class="pre">FILE</span></tt> now shows the history of FILE provided it existed in Y or X, even if the file has since been deleted or renamed. If no range is given, the current/basis tree and initial tree are searched in that order. More generally, log now interprets filenames in their historical context. (Ian Clatworthy, #175520)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt> now reports nonexistent files and continues, then errors (with code 3) at the end. (Karl Fogel, #306394)</li> <li>Don’t require the present compression base in knits to be the same when adding records in knits. (Jelmer Vernooij, #307394)</li> <li>Fix a problem with CIFS client/server lag on Windows colliding with an invariant-per-process algorithm for generating AtomicFile names (Adrian Wilkins, #304023)</li> <li>Many socket operations now handle EINTR by retrying the operation. Previously EINTR was treated as an unrecoverable failure. There is a new <tt class="docutils literal"><span class="pre">until_no_eintr</span></tt> helper function in <tt class="docutils literal"><span class="pre">bzrlib.osutils</span></tt>. (Andrew Bennetts)</li> <li>Support symlinks with non-ascii characters in the symlink filename. (Jelmer Vernooij, #319323)</li> <li>There was a bug in how we handled resolving when a file is deleted in one branch, and modified in the other. If there was a criss-cross merge, we would cause the deletion to conflict a second time. (Vincent Ladeuil, John Arbash Meinel)</li> <li>There was another bug in how we chose the correct intermediate LCA in criss-cross merges leading to several kind of changes be incorrectly handled. (John Arbash Meinel, Vincent Ladeuil)</li> <li>Unshelve now handles deleted paths without crashing. (Robert Collins)</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>Improved plugin developer documentation. (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><tt class="docutils literal"><span class="pre">ProgressBarStack</span></tt> is deprecated; instead use <tt class="docutils literal"><span class="pre">ui_factory.nested_progress_bar</span></tt> to create new progress bars. (Martin Pool)</li> <li>ForeignVcsMapping() now requires a ForeignVcs object as first argument. (Jelmer Vernooij)</li> <li>ForeignVcsMapping.show_foreign_revid() has been moved to ForeignVcs. (Jelmer Vernooij)</li> <li><tt class="docutils literal"><span class="pre">read_bundle_from_url</span></tt> is deprecated in favor of <tt class="docutils literal"><span class="pre">read_mergeable_from_url</span></tt>. (Vincent Ladeuil)</li> <li>Revision specifiers are now registered in <tt class="docutils literal"><span class="pre">bzrlib.revisionspec.revspec_registry</span></tt>, and the old list of revisionspec classes (<tt class="docutils literal"><span class="pre">bzrlib.revisionspec.SPEC_TYPES</span></tt>) has been deprecated. (Jelmer Vernooij, #321183)</li> <li>The progress and UI classes have changed; the main APIs remain the same but code that provides a new UI or progress bar class may need to be updated. (Martin Pool)</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>Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb terminal. It is sometimes desirable do override this default by forcing bzr to use TextUIFactory. This can be achieved by setting the BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to compile buffers, are such an example). (Vincent Ladeuil)</li> <li>New API <tt class="docutils literal"><span class="pre">Branch.iter_merge_sorted_revisions()</span></tt> that iterates over <tt class="docutils literal"><span class="pre">(revision_id,</span> <span class="pre">depth,</span> <span class="pre">revno,</span> <span class="pre">end_of_merge)</span></tt> tuples. (Ian Clatworthy)</li> <li>New <tt class="docutils literal"><span class="pre">Branch.dotted_revno_to_revision_id()</span></tt> and <tt class="docutils literal"><span class="pre">Branch.revision_id_to_dotted_revno()</span></tt> APIs that pick the most efficient way of doing the mapping. (Ian Clatworthy)</li> <li>Refactor cmd_serve so that it’s a little easier to build commands that extend it, and perhaps even a bit easier to read. (Jonathan Lange)</li> <li><tt class="docutils literal"><span class="pre">TreeDelta.show()</span></tt> now accepts a <tt class="docutils literal"><span class="pre">filter</span></tt> parameter allowing log formatters to retrict the output. (Vincent Ladeuil)</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-12">bzr 1.12</a><ul> <li><a class="reference internal" href="#changes-from-rc1-to-final">Changes from RC1 to Final</a></li> <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="#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> </li> </ul> <h4>Previous topic</h4> <p class="topless"><a href="bzr-1.13.html" title="previous chapter">Bazaar Release Notes</a></p> <h4>Next topic</h4> <p class="topless"><a href="bzr-1.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-1.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-1.11.html" title="Bazaar Release Notes" >next</a></li> <li class="right" > <a href="bzr-1.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>