<!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.0rc1 — 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.92" href="bzr-0.92.html" /> <link rel="prev" title="bzr 1.0rc2" href="bzr-1.0rc2.html" /> </head> <body> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="bzr-0.92.html" title="bzr 0.92" accesskey="N">next</a></li> <li class="right" > <a href="bzr-1.0rc2.html" title="bzr 1.0rc2" 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-0rc1"> <h1>bzr 1.0rc1<a class="headerlink" href="#bzr-1-0rc1" 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-11-30</td> </tr> </tbody> </table> <div class="section" id="notes-when-upgrading"> <h2>Notes When Upgrading<a class="headerlink" href="#notes-when-upgrading" title="Permalink to this headline">¶</a></h2> <ul> <li><p class="first">The default repository format is now <tt class="docutils literal"><span class="pre">pack-0.92</span></tt>. This default is used when creating new repositories with <tt class="docutils literal"><span class="pre">init</span></tt> and <tt class="docutils literal"><span class="pre">init-repo</span></tt>, and when branching over bzr+ssh or bzr+hpss. (See <a class="reference external" href="https://bugs.launchpad.net/bugs/164626">https://bugs.launchpad.net/bugs/164626</a>)</p> <p>This format can be read and written by Bazaar 0.92 and later, and data can be transferred to and from older formats.</p> <p>To upgrade, please reconcile your repository (<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">reconcile</span></tt>), and then upgrade (<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">upgrade</span></tt>).</p> <p><tt class="docutils literal"><span class="pre">pack-0.92</span></tt> offers substantially better scaling and performance than the previous knits format. Some operations are slower where the code already had bad scaling characteristics under knits, the pack format makes such operations more visible as part of being more scalable overall. We will correct such operations over the coming releases and encourage the filing of bugs on any operation which you observe to be slower in a packs repository. One particular case that we do not intend to fix is pulling data from a pack repository into a knit repository over a high latency link; downgrading such data requires reinsertion of the file texts, and this is a classic space/time tradeoff. The current implementation is conservative on memory usage because we need to support converting data from any tree without problems. (Robert Collins, Martin Pool, #164476)</p> </li> </ul> </div> <div class="section" id="changes"> <h2>Changes<a class="headerlink" href="#changes" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>Disable detection of plink.exe as possible ssh vendor. Plink vendor still available if user selects it explicitly with BZR_SSH environment variable. (Alexander Belchenko, workaround for bug #107593)</li> <li>The pack format is now accessible as “pack-0.92”, or “pack-0.92-subtree” to enable the subtree functions (for example, for bzr-svn). (Martin Pool)</li> </ul> </div> <div class="section" id="features"> <h2>Features<a class="headerlink" href="#features" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>New <tt class="docutils literal"><span class="pre">authentication.conf</span></tt> file holding the password or other credentials for remote servers. This can be used for ssh, sftp, smtp and other supported transports. (Vincent Ladeuil)</li> <li>New rich-root and rich-root-pack formats, recording the same data about tree roots that’s recorded for all other directories. (Aaron Bentley, #164639)</li> <li><tt class="docutils literal"><span class="pre">pack-0.92</span></tt> repositories can now be reconciled. (Robert Collins, #154173)</li> <li><tt class="docutils literal"><span class="pre">switch</span></tt> command added for changing the branch a lightweight checkout is associated with and updating the tree to reflect the latest content accordingly. This command was previously part of the BzrTools plug-in. (Ian Clatworthy, Aaron Bentley, David Allouche)</li> <li><tt class="docutils literal"><span class="pre">reconfigure</span></tt> command can now convert branches, trees, or checkouts to lightweight checkouts. (Aaron Bentley)</li> </ul> </div> <div class="section" id="performance"> <h2>Performance<a class="headerlink" href="#performance" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>Commit updates the state of the working tree via a delta rather than supplying entirely new basis trees. For commit of a single specified file this reduces the wall clock time for commit by roughly a 30%. (Robert Collins, Martin Pool)</li> <li>Commit with many automatically found deleted paths no longer performs linear scanning for the children of those paths during inventory iteration. This should fix commit performance blowing out when many such paths occur during commit. (Robert Collins, #156491)</li> <li>Fetch with pack repositories will no longer read the entire history graph. (Robert Collins, #88319)</li> <li>Revert takes out an appropriate lock when reverting to a basis tree, and does not read the basis inventory twice. (Robert Collins)</li> <li>Diff does not require an inventory to be generated on dirstate trees. (Aaron Bentley, #149254)</li> <li>New annotate merge (–merge-type=weave) implementation is fast on versionedfiles withough cached annotations, e.g. pack-0.92. (Aaron Bentley)</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">bzr</span> <span class="pre">merge</span></tt> now warns when it encounters a criss-cross merge. (Aaron Bentley)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">send</span></tt> now doesn’t require the target e-mail address to be specified on the command line if an interactive e-mail client is used. (Lukáš Lalinský)</li> <li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">tags</span></tt> now prints the revision number for each tag, instead of the revision id, unless –show-ids is passed. In addition, tags can be sorted chronologically instead of lexicographically with –sort=time. (Adeodato Simó, #120231)</li> <li>Windows standalone version of bzr is able to load system-wide plugins from “plugins” subdirectory in installation directory. In addition standalone installer write to the registry (HKLMSOFTWAREBazaar) useful info about paths and bzr version. (Alexander Belchenko, #129298)</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="bug-fixes"> <h2>Bug Fixes<a class="headerlink" href="#bug-fixes" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li>A progress bar has been added for knitpack -> knitpack fetching. (Robert Collins, #157789, #159147)</li> <li>Branching from a branch via smart server now preserves the repository format. (Andrew Bennetts, #164626)</li> <li><tt class="docutils literal"><span class="pre">commit</span></tt> is now able to invoke an external editor in a non-ascii directory. (Daniel Watkins, #84043)</li> <li>Catch connection errors for ftp. (Vincent Ladeuil, #164567)</li> <li><tt class="docutils literal"><span class="pre">check</span></tt> no longer reports spurious unreferenced text versions. (Robert Collins, John A Meinel, #162931, #165071)</li> <li>Conflicts are now resolved recursively by <tt class="docutils literal"><span class="pre">revert</span></tt>. (Aaron Bentley, #102739)</li> <li>Detect invalid transport reuse attempts by catching invalid URLs. (Vincent Ladeuil, #161819)</li> <li>Deleting a file without removing it shows a correct diff, not a traceback. (Aaron Bentley)</li> <li>Do no use timeout in HttpServer anymore. (Vincent Ladeuil, #158972).</li> <li>Don’t catch the exceptions related to the http pipeline status before retrying an http request or some programming errors may be masked. (Vincent Ladeuil, #160012)</li> <li>Fix <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">rm</span></tt> to not delete modified and ignored files. (Lukáš Lalinský, #172598)</li> <li>Fix exception when revisionspec contains merge revisons but log formatter doesn’t support merge revisions. (Kent Gibson, #148908)</li> <li>Fix exception when ScopeReplacer is assigned to before any members have been retrieved. (Aaron Bentley)</li> <li>Fix multiple connections during checkout –lightweight. (Vincent Ladeuil, #159150)</li> <li>Fix possible error in insert_data_stream when copying between pack repositories over bzr+ssh or bzr+http. KnitVersionedFile.get_data_stream now makes sure that requested compression parents are sent before any delta hunks that depend on them. (Martin Pool, #164637)</li> <li>Fix typo in limiting offsets coalescing for http, leading to whole files being downloaded instead of parts. (Vincent Ladeuil, #165061)</li> <li>FTP server errors don’t error in the error handling code. (Robert Collins, #161240)</li> <li>Give a clearer message when a pull fails because the source needs to be reconciled. (Martin Pool, #164443)</li> <li>It is clearer when a plugin cannot be loaded because of its name, and a suggestion for an acceptable name is given. (Daniel Watkins, #103023)</li> <li>Leave port as None in transport objects if user doesn’t specify a port in urls. (vincent Ladeuil, #150860)</li> <li>Make sure Repository.fetch(self) is properly a no-op for all Repository implementations. (John Arbash Meinel, #158333)</li> <li>Mark .bzr directories as “hidden” on Windows. (Alexander Belchenko, #71147)</li> <li><tt class="docutils literal"><span class="pre">merge</span> <span class="pre">--uncommitted</span></tt> can now operate on a single file. (Aaron Bentley, Lukáš Lalinský, #136890)</li> <li>Obsolete packs are now cleaned up by pack and autopack operations. (Robert Collins, #153789)</li> <li>Operations pulling data from a smart server where the underlying repositories are not both annotated/both unannotated will now work. (Robert Collins, #165304).</li> <li>Reconcile now shows progress bars. (Robert Collins, #159351)</li> <li><tt class="docutils literal"><span class="pre">RemoteBranch</span></tt> was not initializing <tt class="docutils literal"><span class="pre">self._revision_id_to_revno_map</span></tt> properly. (John Arbash Meinel, #162486)</li> <li>Removing an already-removed file reports the file does not exist. (Daniel Watkins, #152811)</li> <li>Rename on Windows is able to change filename case. (Alexander Belchenko, #77740)</li> <li>Return error instead of a traceback for <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">-r0</span></tt>. (Kent Gibson, #133751)</li> <li>Return error instead of a traceback when bzr is unable to create symlink on some platforms (e.g. on Windows). (Alexander Belchenko, workaround for #81689)</li> <li>Revert doesn’t crash when restoring a single file from a deleted directory. (Aaron Bentley)</li> <li>Stderr output via logging mechanism now goes through encoded wrapper and no more uses utf-8, but terminal encoding instead. So all unicode strings now should be readable in non-utf-8 terminal. (Alexander Belchenko, #54173)</li> <li>The error message when <tt class="docutils literal"><span class="pre">move</span> <span class="pre">--after</span></tt> should be used makes how to do so clearer. (Daniel Watkins, #85237)</li> <li>Unicode-safe output from <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">info</span></tt>. The output will be encoded using the terminal encoding and unrepresentable characters will be replaced by ‘?’. (Lukáš Lalinský, #151844)</li> <li>Working trees are no longer created when pushing into a local no-trees repo. (Daniel Watkins, #50582)</li> <li>Upgrade util/configobj to version 4.4.0. (Vincent Ladeuil, #151208).</li> <li>Wrap medusa ftp test server as an FTPServer feature. (Vincent Ladeuil, #157752)</li> </ul> </div> <div class="section" id="api-breaks"> <h2>API Breaks<a class="headerlink" href="#api-breaks" title="Permalink to this headline">¶</a></h2> <ul class="simple"> <li><tt class="docutils literal"><span class="pre">osutils.backup_file</span></tt> is deprecated. Actually it’s not used in bzrlib during very long time. (Alexander Belchenko)</li> <li>The return value of <tt class="docutils literal"><span class="pre">VersionedFile.iter_lines_added_or_present_in_versions</span></tt> has been changed. Previously it was an iterator of lines, now it is an iterator of (line, version_id) tuples. This change has been made to aid reconcile and fetch operations. (Robert Collins)</li> <li><tt class="docutils literal"><span class="pre">bzrlib.repository.get_versioned_file_checker</span></tt> is now private. (Robert Collins)</li> <li>The Repository format registry default has been removed; it was previously obsoleted by the bzrdir format default, which implies a default repository format. (Martin Pool)</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>Added <tt class="docutils literal"><span class="pre">ContainerSerialiser</span></tt> and <tt class="docutils literal"><span class="pre">ContainerPushParser</span></tt> to <tt class="docutils literal"><span class="pre">bzrlib.pack</span></tt>. These classes provide more convenient APIs for generating and parsing containers from streams rather than from files. (Andrew Bennetts)</li> <li>New module <tt class="docutils literal"><span class="pre">lru_cache</span></tt> providing a cache for use by tasks that need semi-random access to large amounts of data. (John A Meinel)</li> <li>InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.</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.0rc1</a><ul> <li><a class="reference internal" href="#notes-when-upgrading">Notes When Upgrading</a></li> <li><a class="reference internal" href="#changes">Changes</a></li> <li><a class="reference internal" href="#features">Features</a></li> <li><a class="reference internal" href="#performance">Performance</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="#bug-fixes">Bug Fixes</a></li> <li><a class="reference internal" href="#api-breaks">API Breaks</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.0rc2.html" title="previous chapter">bzr 1.0rc2</a></p> <h4>Next topic</h4> <p class="topless"><a href="bzr-0.92.html" title="next chapter">bzr 0.92</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../_sources/release-notes/bzr-1.0rc1.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.92.html" title="bzr 0.92" >next</a></li> <li class="right" > <a href="bzr-1.0rc2.html" title="bzr 1.0rc2" >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>