<!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 0.15rc1 — 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 0.14" href="bzr-0.14.html" /> <link rel="prev" title="bzr 0.15rc2" href="bzr-0.15rc2.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-0.14.html" title="bzr 0.14" accesskey="N">next</a></li> <li class="right" > <a href="bzr-0.15rc2.html" title="bzr 0.15rc2" 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-0-15rc1"> <h1>bzr 0.15rc1<a class="headerlink" href="#bzr-0-15rc1" 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">2007-03-07</td> </tr> </tbody> </table> <div class="section" id="surprises"> <h2>Surprises<a class="headerlink" href="#surprises" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>The default disk format has changed. Please run ‘bzr upgrade’ in your working trees to upgrade. This new default is compatible for network operations, but not for local operations. That is, if you have two versions of bzr installed locally, after upgrading you can only use the bzr 0.15 version. This new default does not enable tags or nested-trees as they are incompatible with bzr versions before 0.15 over the network.</li> <li>For users of bzrlib: Two major changes have been made to the working tree api in bzrlib. The first is that many methods and attributes, including the inventory attribute, are no longer valid for use until one of <tt class="docutils literal"><span class="pre">lock_read</span></tt>/<tt class="docutils literal"><span class="pre">lock_write</span></tt>/<tt class="docutils literal"><span class="pre">lock_tree_write</span></tt> has been called, and become invalid again after unlock is called. This has been done to improve performance and correctness as part of the dirstate development. (Robert Collins, John A Meinel, Martin Pool, and others).</li> <li>For users of bzrlib: The attribute ‘tree.inventory’ should be considered readonly. Previously it was possible to directly alter this attribute, or its contents, and have the tree notice this. This has been made unsupported - it may work in some tree formats, but in the newer dirstate format such actions will have no effect and will be ignored, or even cause assertions. All operations possible can still be carried out by a combination of the tree API, and the bzrlib.transform API. (Robert Collins, John A Meinel, Martin Pool, and others).</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>Support for OS Windows 98. Also .bzr.log on any windows system saved in My Documents folder. (Alexander Belchenko)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">mv</span></tt> enhanced to support already moved files. In the past the mv command would have failed if the source file doesn’t exist. In this situation <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">mv</span></tt> would now detect that the file has already moved and update the repository accordingly, if the target file does exist. A new option <tt class="docutils literal"><span class="pre">--after</span></tt> has been added so that if two files already exist, you could notify Bazaar that you have moved a (versioned) file and replaced it with another. Thus in this case <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">move</span> <span class="pre">--after</span></tt> will only update the Bazaar identifier. (Steffen Eichenberg, Marius Kruger)</li> <li><tt class="docutils literal"><span class="pre">ls</span></tt> now works on treeless branches and remote branches. (Aaron Bentley)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">help</span> <span class="pre">global-options</span></tt> describes the global options. (Aaron Bentley)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">pull</span> <span class="pre">--overwrite</span></tt> will now correctly overwrite checkouts. (Robert Collins)</li> <li>Files are now allowed to change kind (e.g. from file to symlink). Supported by <tt class="docutils literal"><span class="pre">commit</span></tt>, <tt class="docutils literal"><span class="pre">revert</span></tt> and <tt class="docutils literal"><span class="pre">status</span></tt> (Aaron Bentley)</li> <li><tt class="docutils literal"><span class="pre">inventory</span></tt> and <tt class="docutils literal"><span class="pre">unknowns</span></tt> hidden in favour of <tt class="docutils literal"><span class="pre">ls</span></tt> (Aaron Bentley)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">help</span> <span class="pre">checkouts</span></tt> descibes what checkouts are and some possible uses of them. (James Westby, Aaron Bentley)</li> <li>A new <tt class="docutils literal"><span class="pre">-d</span></tt> option to push, pull and merge overrides the default directory. (Martin Pool)</li> <li>Branch format 6: smaller, and potentially faster than format 5. Supports <tt class="docutils literal"><span class="pre">append_history_only</span></tt> mode, where the log view and revnos do not change, except by being added to. Stores policy settings in ”.bzr/branch/branch.conf”.</li> <li><tt class="docutils literal"><span class="pre">append_only</span></tt> branches: Format 6 branches may be configured so that log view and revnos are always consistent. Either create the branch using “bzr init –append-revisions-only” or edit the config file as descriped in docs/configuration.txt.</li> <li>rebind: Format 6 branches retain the last-used bind location, so if you “bzr unbind”, you can “bzr bind” to bind to the previously-selected bind location.</li> <li>Builtin tags support, created and deleted by the <tt class="docutils literal"><span class="pre">tag</span></tt> command and stored in the branch. Tags can be accessed with the revisionspec <tt class="docutils literal"><span class="pre">-rtag:</span></tt>, and listed with <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">tags</span></tt>. Tags are not versioned at present. Tags require a network incompatible upgrade. To perform this upgrade, run <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">upgrade</span> <span class="pre">--dirstate-tags</span></tt> in your branch and repositories. (Martin Pool)</li> <li>The <tt class="docutils literal"><span class="pre">bzr://</span></tt> transport now has a well-known port number, 4155, which it will use by default. (Andrew Bennetts, Martin Pool)</li> <li>Bazaar now looks for user-installed plugins before looking for site-wide plugins. (Jonathan Lange)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">resolve</span></tt> now detects and marks resolved text conflicts. (Aaron Bentley)</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>Internally revision ids and file ids are now passed around as utf-8 bytestrings, rather than treating them as Unicode strings. This has performance benefits for Knits, since we no longer need to decode the revision id for each line of content, nor for each entry in the index. This will also help with the future dirstate format. (John Arbash Meinel)</li> <li>Reserved ids (any revision-id ending in a colon) are rejected by versionedfiles, repositories, branches, and working trees (Aaron Bentley)</li> <li>Minor performance improvement by not creating a ProgressBar for every KnitIndex we create. (about 90ms for a bzr.dev tree) (John Arbash Meinel)</li> <li>New easier to use Branch hooks facility. There are five initial hooks, all documented in bzrlib.branch.BranchHooks.__init__ - <tt class="docutils literal"><span class="pre">'set_rh'</span></tt>, <tt class="docutils literal"><span class="pre">'post_push'</span></tt>, <tt class="docutils literal"><span class="pre">'post_pull'</span></tt>, <tt class="docutils literal"><span class="pre">'post_commit'</span></tt>, <tt class="docutils literal"><span class="pre">'post_uncommit'</span></tt>. These hooks fire after the matching operation on a branch has taken place, and were originally added for the branchrss plugin. (Robert Collins)</li> <li>New method <tt class="docutils literal"><span class="pre">Branch.push()</span></tt> which should be used when pushing from a branch as it makes performance and policy decisions to match the UI level command <tt class="docutils literal"><span class="pre">push</span></tt>. (Robert Collins).</li> <li>Add a new method <tt class="docutils literal"><span class="pre">Tree.revision_tree</span></tt> which allows access to cached trees for arbitrary revisions. This allows the in development dirstate tree format to provide access to the callers to cached copies of inventory data which are cheaper to access than inventories from the repository. (Robert Collins, Martin Pool)</li> <li>New <tt class="docutils literal"><span class="pre">Branch.last_revision_info</span></tt> method, this is being done to allow optimization of requests for both the number of revisions and the last revision of a branch with smartservers and potentially future branch formats. (Wouter van Heyst, Robert Collins)</li> <li>Allow <tt class="docutils literal"><span class="pre">'import</span> <span class="pre">bzrlib.plugins.NAME'</span></tt> to work when the plugin NAME has not yet been loaded by <tt class="docutils literal"><span class="pre">load_plugins()</span></tt>. This allows plugins to depend on each other for code reuse without requiring users to perform file-renaming gymnastics. (Robert Collins)</li> <li>New Repository method <tt class="docutils literal"><span class="pre">'gather_stats'</span></tt> for statistic data collection. This is expected to grow to cover a number of related uses mainly related to bzr info. (Robert Collins)</li> <li>Log formatters are now managed with a registry. <tt class="docutils literal"><span class="pre">log.register_formatter</span></tt> continues to work, but callers accessing the FORMATTERS dictionary directly will not.</li> <li>Allow a start message to be passed to the <tt class="docutils literal"><span class="pre">edit_commit_message</span></tt> function. This will be placed in the message offered to the user for editing above the separator. It allows a template commit message to be used more easily. (James Westby)</li> <li><tt class="docutils literal"><span class="pre">GPGStrategy.sign()</span></tt> will now raise <tt class="docutils literal"><span class="pre">BzrBadParameterUnicode</span></tt> if you pass a Unicode string rather than an 8-bit string. Callers need to be updated to encode first. (John Arbash Meinel)</li> <li>Branch.push, pull, merge now return Result objects with information about what happened, rather than a scattering of various methods. These are also passed to the post hooks. (Martin Pool)</li> <li>File formats and architecture is in place for managing a forest of trees in bzr, and splitting up existing trees into smaller subtrees, and finally joining trees to make a larger tree. This is the first iteration of this support, and the user-facing aspects still require substantial work. If you wish to experiment with it, use <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">upgrade</span> <span class="pre">--dirstate-with-subtree</span></tt> in your working trees and repositories. You can use the hidden commands <tt class="docutils literal"><span class="pre">split</span></tt> and <tt class="docutils literal"><span class="pre">join</span></tt> and to create and manipulate nested trees, but please consider using the nested-trees branch, which contains substantial UI improvements, instead. <a class="reference external" href="http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/">http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/</a> (Aaron Bentley, Martin Pool, Robert Collins).</li> </ul> </div> <div class="section" id="bugfixes"> <h2>Bugfixes<a class="headerlink" href="#bugfixes" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">annotate</span></tt> now uses dotted revnos from the viewpoint of the branch, rather than the last changed revision of the file. (John Arbash Meinel, #82158)</li> <li>Lock operations no longer hang if they encounter a permission problem. (Aaron Bentley)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">push</span></tt> can resume a push that was canceled before it finished. Also, it can push even if the target directory exists if you supply the <tt class="docutils literal"><span class="pre">--use-existing-dir</span></tt> flag. (John Arbash Meinel, #30576, #45504)</li> <li>Fix http proxy authentication when user and an optional password appears in the <tt class="docutils literal"><span class="pre">*_proxy</span></tt> vars. (Vincent Ladeuil, #83954).</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">branch/file</span></tt> works for local treeless branches (Aaron Bentley, #84247)</li> <li>Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)</li> <li>Searching location of CA bundle for PyCurl in env variable (<tt class="docutils literal"><span class="pre">CURL_CA_BUNDLE</span></tt>), and on win32 along the PATH. (Alexander Belchenko, #82086)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">init</span></tt> works with unicode argument LOCATION. (Alexander Belchenko, #85599)</li> <li>Raise <tt class="docutils literal"><span class="pre">DependencyNotPresent</span></tt> if pycurl do not support https. (Vincent Ladeuil, #85305)</li> <li>Invalid proxy env variables should not cause a traceback. (Vincent Ladeuil, #87765)</li> <li>Ignore patterns normalised to use ‘/’ path separator. (Kent Gibson, #86451)</li> <li>bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)</li> <li>Fix bzrtools shelve command for removed lines beginning with “–” (Johan Dahlberg, #75577)</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>New <tt class="docutils literal"><span class="pre">--first</span></tt> option to <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">selftest</span></tt> to run specified tests before the rest of the suite. (Martin Pool)</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 0.15rc1</a><ul> <li><a class="reference internal" href="#surprises">Surprises</a></li> <li><a class="reference internal" href="#improvements">Improvements</a></li> <li><a class="reference internal" href="#internals">Internals</a></li> <li><a class="reference internal" href="#bugfixes">Bugfixes</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-0.15rc2.html" title="previous chapter">bzr 0.15rc2</a></p> <h4>Next topic</h4> <p class="topless"><a href="bzr-0.14.html" title="next chapter">bzr 0.14</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/release-notes/bzr-0.15rc1.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-0.14.html" title="bzr 0.14" >next</a></li> <li class="right" > <a href="bzr-0.15rc2.html" title="bzr 0.15rc2" >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>