Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release > by-pkgid > 4c66e4a74400d106ea54ec458e4c006c > files > 2975

bzr-2.6.0-11.mga5.x86_64.rpm

<!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 &mdash; 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.16.html" />
    <link rel="prev" title="Bazaar Release Notes" href="bzr-1.18.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="bzr-1.16.html" title="Bazaar Release Notes"
             accesskey="N">next</a></li>
        <li class="right" >
          <a href="bzr-1.18.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>&nbsp;|&nbsp;</li>
<a href="http://doc.bazaar.canonical.com/en/">Documentation</a>&nbsp;|&nbsp;</li>

        <li><a href="../index.html">Table of Contents (2.6.0)</a> &raquo;</li>

          <li><a href="index.html" accesskey="U">Bazaar Release Notes</a> &raquo;</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-17">
<h2>bzr 1.17<a class="headerlink" href="#bzr-1-17" 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">so-late-its-brunch</td>
</tr>
<tr class="field-even field"><th class="field-name">1.17rc1:</th><td class="field-body">2009-07-13</td>
</tr>
<tr class="field-odd field"><th class="field-name">1.17:</th><td class="field-body">2009-07-20</td>
</tr>
</tbody>
</table>
<p>Bazaar continues to blaze a straight and shining path to the 2.0 release and
the elevation of the <tt class="docutils literal"><span class="pre">2a</span></tt> beta format to the full glory of &#8220;supported and
stable&#8221;.</p>
<p>Highlights in this release include greatly reduced memory consumption during
commits, faster <tt class="docutils literal"><span class="pre">ls</span></tt>, faster <tt class="docutils literal"><span class="pre">annotate</span></tt>, faster network operations if
you&#8217;re specifying a revision number and the final destruction of those
annoying progress bar artifacts.</p>
<div class="section" id="changes-from-1-17rc1-to-1-17final">
<h3>Changes from 1.17rc1 to 1.17final<a class="headerlink" href="#changes-from-1-17rc1-to-1-17final" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Change an extension to call the python <tt class="docutils literal"><span class="pre">frozenset()</span></tt> rather than the C
api <tt class="docutils literal"><span class="pre">PyFrozenSet_New</span></tt>. It turns out that python2.4 did not expose the
C api. (John Arbash Meinel, #399366)</li>
<li>Fixes for the Makefile and the rename of <tt class="docutils literal"><span class="pre">generate_docs.py</span></tt> to
<tt class="docutils literal"><span class="pre">tools/generate_docs.py</span></tt> to allow everything to be built on Windows.
(John Arbash Meinel, #399356)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">serve</span></tt> once again applies a <tt class="docutils literal"><span class="pre">ChrootServer</span></tt> to the given
directory before serving it. (Andrew Bennetts, #400535)</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><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">register-branch</span></tt> from the Launchpad plugin now refers to &#8220;project&#8221;
instead of &#8220;product&#8221; which is the correct Launchpad terminology.  The
&#8211;product option is deprecated and users should switch to using &#8211;project.
(Neil Martinsen-Burrell, #238764)</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><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">push</span></tt> now aborts if uncommitted changes (including pending merges)
are present in the working tree (if one is present) and no revision is
specified. The configuration option <tt class="docutils literal"><span class="pre">push_strict</span></tt> can be used to set the
default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">revno</span></tt> and <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">revision-info</span></tt> now have a <tt class="docutils literal"><span class="pre">--tree</span></tt> option to
show revision info for the working tree instead of the branch.
(Matthew Fuller, John Arbash Meinel)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">send</span></tt> now aborts if uncommitted changes (including pending merges)
are present in the working tree and no revision is specified. The
configuration option <tt class="docutils literal"><span class="pre">send_strict</span></tt> can be used to set the default for this
behavior.
(Vincent Ladeuil, #206577)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">switch</span> <span class="pre">--create-branch/-b</span></tt> can now be used to create and switch
to a new branch. Supplying a name without a <tt class="docutils literal"><span class="pre">/</span></tt> will create the branch
relative to the existing branch. (similar to how <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">switch</span> <span class="pre">name</span></tt>
works when the branch already exists.) (John Arbash Meinel)</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>Accept uppercase &#8220;Y/N&#8221; to prompts such as from break lock.
(#335182, Tim Powell, Martin Pool)</li>
<li>Add documentation about diverged branches and how to fix them in the
centralized workflow with local commits.  Mention <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">help</span>
<span class="pre">diverged-branches</span></tt> when a push fails because the branches have
diverged.  (Neil Martinsen-Burrell, #269477)</li>
<li>Annotate would sometimes &#8216;latch on&#8217; to trivial lines, causing important
lines to be incorrectly annotated. (John Arbash Meinel, #387952)</li>
<li>Automatic format upgrades triggered by default stacking policies on a
1.16rc1 (or later) smart server work again.
(Andrew Bennetts, #388675)</li>
<li>Avoid progress bar artifacts being left behind on the screen.
(Martin Pool, #321935)</li>
<li>Better message in <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">split</span></tt> error suggesting a rich root format.
(Neil Martinsen-Burrell, #220067)</li>
<li><tt class="docutils literal"><span class="pre">Branch.set_append_revisions_only</span></tt> now works with branches on a smart
server. (Andrew Bennetts, #365865)</li>
<li>By default, <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span></tt> will fail if the target directory exists, but
does not already have a control directory.  The flag <tt class="docutils literal"><span class="pre">--use-existing-dir</span></tt>
will allow operation to proceed.  (Alexander Belchenko, #307554)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">ls</span> <span class="pre">DIR</span> <span class="pre">--from-root</span></tt> now shows only things in DIR, not everything.
(Ian Clatworthy)</li>
<li>Fetch between repositories does not error if they have inconsistent data
that should be irrelevant to the fetch operation. (Aaron Bentley)</li>
<li>Fix <tt class="docutils literal"><span class="pre">AttributeError</span></tt> exception when reconfiguring lightweight checkout
of a remote repository.
(Jelmer Vernooij, #332194)</li>
<li>Fix bug in decoding v3 smart server messages when receiving multiple
lots of excess bytes after an end-of-message.
(Andrew Bennetts)</li>
<li>Force deletion of readonly files during merge, update and other tree
transforms.
(Craig Hewetson, Martin Pool, #218206)</li>
<li>Force socket shutdown in threaded HTTP test servers to avoid client hangs
(pycurl).  (Vincent Ladeuil, #383920).</li>
<li><tt class="docutils literal"><span class="pre">LRUCache</span></tt> will maintain the linked list pointers even if a nodes
cleanup function raises an exception. (John Arbash Meinel, #396838)</li>
<li>Progress bars are now suppressed again when the environment variable
<tt class="docutils literal"><span class="pre">BZR_PROGRESS_BAR</span></tt> is set to <tt class="docutils literal"><span class="pre">none</span></tt>.
(Martin Pool, #339385)</li>
<li>Reduced memory consumption during <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">commit</span></tt> of large files. For
pre 2a formats, should be down to ~3x the size of a file.
For <tt class="docutils literal"><span class="pre">--2a</span></tt> format repositories, it is down to the size of the file
content plus the size of the compressed text.  Related to bug #109114.
(John Arbash Meinel)</li>
<li>Set hidden attribute on .bzr directory below unicode path should never
fail with error. The operation should succeed even if bzr unable to set
the attribute.  (Alexander Belchenko, related to bug #335362).</li>
<li>Stacking will no longer accept requests to stack on the same
branch/repository. Existing branches that incorrectly reference the same
repository in a stacking configuration will now raise
UnstackableLocationError when the branch is opened. This can be fixed by
removing the stacking location inside <tt class="docutils literal"><span class="pre">.bzr/branch</span></tt>.
(Robert Collins, #376243)</li>
<li>The <tt class="docutils literal"><span class="pre">log+</span></tt> decorator, useful in debugging or profiling, could cause
&#8220;AttributeError: &#8216;list&#8217; object has no attribute &#8216;next&#8217;&#8221;.  This is now
fixed.  The log decorator no longer shows the elapsed time or transfer
rate because they&#8217;re available in the log prefixes and the transport
activity display respectively.
(Martin Pool, #340347)</li>
<li>Unshelve works correctly when multiple zero-length files are present on
the shelf. (Aaron Bentley, #363444)</li>
<li>Progress bars no longer show the network transport scheme or direction.
(Martin Pool)</li>
<li>launchpad-login now respects the &#8216;verbose&#8217; option.
(Jonathan Lange, #217031)</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><tt class="docutils literal"><span class="pre">bzrlib.user_encoding</span></tt> is now officially deprecated. It is not
possible to write a deprecation wrapper, but the variable will be
removed in the near future. Use <tt class="docutils literal"><span class="pre">bzrlib.osutils.get_user_encoding()</span></tt>
instead. (Alexander Belchenko)</li>
<li>Command lookup has had hooks added. <tt class="docutils literal"><span class="pre">bzrlib.Command.hooks</span></tt> has
three new hook points: <tt class="docutils literal"><span class="pre">get_command</span></tt>, <tt class="docutils literal"><span class="pre">get_missing_command</span></tt> and
<tt class="docutils literal"><span class="pre">list_commands</span></tt>, which allow just-in-time command name provision
rather than requiring all command names be known a-priori.
(Robert Collins)</li>
<li><tt class="docutils literal"><span class="pre">get_app_path</span></tt> from win32utils.py now supports REG_EXPAND_SZ data type
and can read path to wordpad.exe. (Alexander Belchenko, #392046)</li>
<li><tt class="docutils literal"><span class="pre">graph.KnownGraph</span></tt> has been added. This is a class that can give
answers to <tt class="docutils literal"><span class="pre">heads()</span></tt> very quickly. However, it has the assumption that
the whole graph has already been loaded. This is true during
<tt class="docutils literal"><span class="pre">annotate</span></tt> so it is used there with good success (as much as 2x faster
for files with long ancestry and &#8216;cherrypicked&#8217; changes.)
(John Arbash Meinel, Vincent Ladeuil)</li>
<li>OS file locks are now taken out using <tt class="docutils literal"><span class="pre">CreateFile</span></tt> rather than
<tt class="docutils literal"><span class="pre">LockFileEx</span></tt> on Windows. The locking remains exclusive with
<tt class="docutils literal"><span class="pre">LockFileEx</span></tt> but now it also works on older versions of Windows (such
as Win98). (Martin &lt;gzlist&gt;)</li>
<li>pack &lt;=&gt; pack fetching is now done via a <tt class="docutils literal"><span class="pre">PackStreamSource</span></tt> rather
than the <tt class="docutils literal"><span class="pre">Packer</span></tt> code. The user visible change is that we now
properly fetch the minimum number of texts for non-smart fetching.
(John Arbash Meinel)</li>
<li><tt class="docutils literal"><span class="pre">VersionedFiles._add_text</span></tt> is a new api that lets us insert text into
the repository as a single string, rather than a list of lines. This can
improve memory overhead and performance of committing large files.
(Currently a private api, used only by commit). (John Arbash Meinel)</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">annotate</span></tt> can now be significantly faster. The time for
<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">annotate</span> <span class="pre">NEWS</span></tt> is down to 7s from 22s in 1.16. Files with long
histories and lots of &#8216;duplicate insertions&#8217; will be improved more than
others. (John Arbash Meinel, Vincent Ladeuil)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">ls</span></tt> is now faster. On OpenOffice.org, the time drops from 2.4
to 1.1 seconds. The improvement for <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">ls</span> <span class="pre">-r-1</span></tt> is more
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)</li>
<li>Improve &#8220;Path(s) are not versioned&#8221; error reporting for some commands.
(Benoît PIERRE)</li>
<li>Initial commit performance in <tt class="docutils literal"><span class="pre">--2a</span></tt> repositories has been improved by
making it cheaper to build the initial CHKMap. (John Arbash Meinel)</li>
<li>Resolving a revno to a revision id on a branch accessed via <tt class="docutils literal"><span class="pre">bzr://</span></tt>
or <tt class="docutils literal"><span class="pre">bzr+ssh://</span></tt> is now much faster and involves no VFS operations.
This speeds up commands like <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">pull</span> <span class="pre">-r</span> <span class="pre">123</span></tt>.  (Andrew Bennetts)</li>
<li><tt class="docutils literal"><span class="pre">revision-info</span></tt> now properly aligns the revnos/revids in the output
and doesn&#8217;t traceback when given revisions not in the current branch.
Performance is also significantly improved when requesting multiple revs
at once.  (Matthew Fuller, John Arbash Meinel)</li>
<li>Tildes are no longer escaped by Transports. (Andy Kilner)</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>Avoid bad text wrapping in generated documentation.  Slightly better
formatting in the user reference.
(Martin Pool, #249908)</li>
<li>Minor clarifications to the help for End-Of-Line conversions.
(Ian Clatworthy)</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>Removed overspecific error class <tt class="docutils literal"><span class="pre">InvalidProgressBarType</span></tt>.
(Martin Pool)</li>
<li>The method <tt class="docutils literal"><span class="pre">ProgressView._show_transport_activity</span></tt> is now
<tt class="docutils literal"><span class="pre">show_transport_activity</span></tt> because it&#8217;s part of the contract between
this class and the UI.  (Martin Pool)</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-17">bzr 1.17</a><ul>
<li><a class="reference internal" href="#changes-from-1-17rc1-to-1-17final">Changes from 1.17rc1 to 1.17final</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="#bug-fixes">Bug Fixes</a></li>
<li><a class="reference internal" href="#internals">Internals</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>
</ul>
</li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="bzr-1.18.html"
                        title="previous chapter">Bazaar Release Notes</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="bzr-1.16.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.17.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.16.html" title="Bazaar Release Notes"
             >next</a></li>
        <li class="right" >
          <a href="bzr-1.18.html" title="Bazaar Release Notes"
             >previous</a> |</li>
<li><a href="http://bazaar.canonical.com/">
    <img src="../_static/bzr icon 16.png" /> Home</a>&nbsp;|&nbsp;</li>
<a href="http://doc.bazaar.canonical.com/en/">Documentation</a>&nbsp;|&nbsp;</li>

        <li><a href="../index.html">Table of Contents (2.6.0)</a> &raquo;</li>

          <li><a href="index.html" >Bazaar Release Notes</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2009-2011 Canonical Ltd.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
    </div>
  </body>
</html>