Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 27647990744ebd9cfe32398f37f67e20 > files > 3164

bzr-2.6.0-11.1.mga5.i586.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>What’s New in Bazaar 2.4 (Oronsay) &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" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
<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>
 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="what-s-new-in-bazaar-2-4-oronsay">
<h1>What&#8217;s New in Bazaar 2.4 (Oronsay)<a class="headerlink" href="#what-s-new-in-bazaar-2-4-oronsay" title="Permalink to this headline">¶</a></h1>
<p>Bazaar 2.4 has been released on the 8th of August 2011 and marks the start
of a new long-term-stable series. From here, we will only make bugfix
releases on the 2.4 series (2.4.1, etc, and support it until February 2013),
while 2.5 will become our new development series.</p>
<p>This document accumulates a high level summary of what&#8217;s changed.  See the
<a class="reference internal" href="../release-notes/index.html"><em>Bazaar Release Notes</em></a> for a full list.</p>
<p>Users are encouraged to upgrade from the other stable series.  This
document outlines the improvements in Bazaar 2.4 vs Bazaar 2.3. As well as
summarizing improvements made to the core product, it highlights
enhancements within the broader Bazaar world of potential interest to
those upgrading.</p>
<p>Bazaar 2.4.0 is fully compatible both locally and on the network with 2.0,
2.1, 2.2 and 2.3, and can read and write repositories generated by all
previous versions.</p>
<p>Bazaar 2.4.1 includes all the fixes in the un-released 2.0.7, 2.1.5, 2.2.6
and 2.3.5 versions that weren&#8217;t included in 2.4.0 and fixes some bugs on its
own.</p>
<p>Bazaar 2.4.2 includes all the fixes in the un-released 2.0.7, 2.1.5, 2.2.6
and 2.3.5 versions that weren&#8217;t included in 2.4.1 and fixes some bugs on its
own.</p>
<div class="section" id="dropping-python2-4-and-python2-5-support">
<h2>Dropping Python2.4 and Python2.5 support<a class="headerlink" href="#dropping-python2-4-and-python2-5-support" title="Permalink to this headline">¶</a></h2>
<p>Bazaar 2.4.0 is the first version of bzr to drop support for python
versions before 2.6. The 2.3 series will still be maintained in bugfix
mode for people who need older versions of python. You can also use
Launchpad to nominate fixes for 2.3. We can&#8217;t fix everything, but that can
help guide us to what people are running into. Upgrading to python2.6
allows us to clean up the syntax in our files, and makes it easier to work
on python3 compatibility.</p>
</div>
<div class="section" id="external-merge-tools">
<h2>External merge tools<a class="headerlink" href="#external-merge-tools" title="Permalink to this headline">¶</a></h2>
<p>External merge tool configuration has been added to <tt class="docutils literal"><span class="pre">bzr</span></tt> core. The name
and commandline of one or more external merge tools can be defined in
bazaar.conf. See the help topic <tt class="docutils literal"><span class="pre">configuration</span></tt> for more details.</p>
</div>
<div class="section" id="tagged-revisions-are-copied">
<h2>Tagged revisions are copied<a class="headerlink" href="#tagged-revisions-are-copied" title="Permalink to this headline">¶</a></h2>
<p>When tags are copied from a branch, the associated revisions are now copied
too if the config entry <tt class="docutils literal"><span class="pre">branch.fetch_tags</span></tt> is set to True.  Operations
like branching, merging or pulling will still always copy new tags visible
in <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">tags</span></tt>. When the config is set, it will now also copy the
revisions and their ancestry.  This way tagged revisions will always be
present, so that operations like <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">-r</span> <span class="pre">tag:foo</span></tt> will always work.</p>
</div>
<div class="section" id="deprecated-command-synonyms">
<h2>Deprecated command synonyms<a class="headerlink" href="#deprecated-command-synonyms" title="Permalink to this headline">¶</a></h2>
<p>Two built-in synonyms for <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span></tt> have been deprecated: <tt class="docutils literal"><span class="pre">clone</span></tt> and
<tt class="docutils literal"><span class="pre">get</span></tt>.</p>
</div>
<div class="section" id="command-options">
<h2>Command options<a class="headerlink" href="#command-options" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>The <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span></tt> and <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">missing</span></tt> commands now accept <tt class="docutils literal"><span class="pre">-S</span></tt> as a
shorthand for <tt class="docutils literal"><span class="pre">--short</span></tt>.</li>
</ul>
</div>
<div class="section" id="configuration-files">
<h2>Configuration files<a class="headerlink" href="#configuration-files" title="Permalink to this headline">¶</a></h2>
<p>Option values can now refer to other options in the same configuration file
by enclosing them in curly brackets (<tt class="docutils literal"><span class="pre">{option}</span></tt>). This is an opt-in
feature controlled by the <tt class="docutils literal"><span class="pre">bzr.config.expand</span></tt> option that should be
declared in <tt class="docutils literal"><span class="pre">bazaar.conf</span></tt> and no other file.</p>
</div>
<div class="section" id="changelog-merge-plugin">
<h2>Changelog merge plugin<a class="headerlink" href="#changelog-merge-plugin" title="Permalink to this headline">¶</a></h2>
<p>The <tt class="docutils literal"><span class="pre">changelog_merge</span></tt> plugin has been added.  It provides a merge hook
to automate merging of changes to <tt class="docutils literal"><span class="pre">ChangeLog</span></tt> files in GNU&#8217;s change log
format.  Refer to <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">help</span> <span class="pre">changelog_merge</span></tt> for documentation on how to
enable it and what it can do.</p>
</div>
<div class="section" id="faster-operations-on-large-trees">
<h2>Faster operations on Large Trees<a class="headerlink" href="#faster-operations-on-large-trees" title="Permalink to this headline">¶</a></h2>
<p>Many bzr commands used to run into pathological behavior on large trees
(&gt;10k files), reading the inventory data in random order causing cache
thrashing (the fix was backported to bzr-2.3.2). We also updated several
code paths that were updating the WT state using an O(tree) operation to
one that was an O(changes) operation.  A possibly incomplete list is as
follows for running commands on a 70k file tree:</p>
<div class="highlight-python"><div class="highlight"><pre>bzr-2.3.1 bzr-2.3.2 bzr-2.4  action
3m39s         1m08s   1m03s  bzr co --lightweight
  38s            8s      2s  bzr revert (in a clean tree)
4m47s         3m56s     15s  bzr merge
4m45s           20s      3s  bzr pull
4m58s         3m00s      2s  bzr up
9m33s           21s     19s  bzr uncommit (including a merge)
4m44s           17s      2s  bzr uncommit (simple commit)
</pre></div>
</div>
<p>This is a smaller table of times for the Launchpad tree (~8k items):</p>
<div class="highlight-python"><div class="highlight"><pre>bzr-2.3.1   bzr-2.4     action
5.3s        5.2s        bzr co --lightweight
0.9s        0.3s        bzr revert
1.4s        0.4s        bzr pull
3.9s        3.7s        bzr uncommit (with merge)
0.9s        0.3s        bzr uncommit (without merge)
</pre></div>
</div>
</div>
<div class="section" id="faster-stacked-branches">
<h2>Faster stacked branches<a class="headerlink" href="#faster-stacked-branches" title="Permalink to this headline">¶</a></h2>
<p>Creating a stacked branch from a smart server with <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span>
<span class="pre">--stacked</span></tt> is a bit faster now.  For small branches it does 20% fewer
network roundtrips.  Other operations where a local branch is stacked on a
branch hosted on a smart server will also benefit.</p>
</div>
<div class="section" id="more-export-control">
<h2>More export control<a class="headerlink" href="#more-export-control" title="Permalink to this headline">¶</a></h2>
<p>When exporting a tree, you may now use get_export_generator() to
do an operation after each file is exported.</p>
</div>
<div class="section" id="testing">
<h2>Testing<a class="headerlink" href="#testing" title="Permalink to this headline">¶</a></h2>
<p>The <tt class="docutils literal"><span class="pre">selftest</span> <span class="pre">--exclude</span></tt> option can now be specified multiple times and
the tests that match any of the specified patterns will be excluded. Only
the last specified pattern was previously taken into account.</p>
</div>
<div class="section" id="digital-signature-verification">
<h2>Digital Signature Verification<a class="headerlink" href="#digital-signature-verification" title="Permalink to this headline">¶</a></h2>
<p>A new command <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">verify-signatures</span></tt> has been added to check that commits
are correctly signed with trusted keys by GPG.  This requires python-gpgme to
be installed.  <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span></tt> has gained a <tt class="docutils literal"><span class="pre">--signatures</span></tt> option to list the
validity of signatures for each commit.  New config options <tt class="docutils literal"><span class="pre">acceptable_keys</span></tt>
and <tt class="docutils literal"><span class="pre">validate_signatures_in_log</span></tt> can be set to control options to these
commands.</p>
</div>
<div class="section" id="further-information">
<h2>Further information<a class="headerlink" href="#further-information" title="Permalink to this headline">¶</a></h2>
<p>For more detailed information on the changes made, see the the
<a class="reference internal" href="../release-notes/index.html"><em>Bazaar Release Notes</em></a> for:</p>
<ul class="simple">
<li>the interim bzr <a class="reference external" href="https://launchpad.net/bzr/2.4">milestones</a></li>
<li>the plugins you use.</li>
</ul>
<p>For a summary of changes made in earlier releases, see:</p>
<ul class="simple">
<li><a class="reference internal" href="whats-new-in-2.1.html"><em>What&#8217;s New in Bazaar 2.1?</em></a></li>
<li><a class="reference internal" href="whats-new-in-2.2.html"><em>What&#8217;s New in Bazaar 2.2?</em></a></li>
<li><a class="reference internal" href="whats-new-in-2.3.html"><em>What&#8217;s New in Bazaar 2.3?</em></a></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="#">What&#8217;s New in Bazaar 2.4 (Oronsay)</a><ul>
<li><a class="reference internal" href="#dropping-python2-4-and-python2-5-support">Dropping Python2.4 and Python2.5 support</a></li>
<li><a class="reference internal" href="#external-merge-tools">External merge tools</a></li>
<li><a class="reference internal" href="#tagged-revisions-are-copied">Tagged revisions are copied</a></li>
<li><a class="reference internal" href="#deprecated-command-synonyms">Deprecated command synonyms</a></li>
<li><a class="reference internal" href="#command-options">Command options</a></li>
<li><a class="reference internal" href="#configuration-files">Configuration files</a></li>
<li><a class="reference internal" href="#changelog-merge-plugin">Changelog merge plugin</a></li>
<li><a class="reference internal" href="#faster-operations-on-large-trees">Faster operations on Large Trees</a></li>
<li><a class="reference internal" href="#faster-stacked-branches">Faster stacked branches</a></li>
<li><a class="reference internal" href="#more-export-control">More export control</a></li>
<li><a class="reference internal" href="#testing">Testing</a></li>
<li><a class="reference internal" href="#digital-signature-verification">Digital Signature Verification</a></li>
<li><a class="reference internal" href="#further-information">Further information</a></li>
</ul>
</li>
</ul>

  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/whats-new/whats-new-in-2.4.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><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>
 
      </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>