Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > a99c463cccd19ab912401d5eb4e6ee20 > files > 443

bzr-doc-2.4.2-1.fc16.noarch.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 v2.4.2 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.4.2',
        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.4.2 documentation" href="../index.html" />
    <link rel="up" title="Bazaar Release Notes" href="index.html" />
    <link rel="next" title="Bazaar Release Notes" href="bzr-2.3.html" />
    <link rel="prev" title="Bazaar Release Notes" href="index.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="bzr-2.3.html" title="Bazaar Release Notes"
             accesskey="N">next</a></li>
        <li class="right" >
          <a href="index.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.4.2)</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-2-4-2">
<h2>bzr 2.4.2<a class="headerlink" href="#bzr-2-4-2" 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"><th class="field-name">2.4.2:</th><td class="field-body">2011-10-27</td>
</tr>
</tbody>
</table>
<p>This is a bugfix release. Most of the bugs dealt with portability
issues. Upgrading is recommended for all users of earlier 2.4 releases.</p>
<div class="section" id="external-compatibility-breaks">
<h3>External Compatibility Breaks<a class="headerlink" href="#external-compatibility-breaks" title="Permalink to this headline">¶</a></h3>
<p>None.</p>
</div>
<div class="section" id="new-features">
<h3>New Features<a class="headerlink" href="#new-features" title="Permalink to this headline">¶</a></h3>
<p>None.</p>
</div>
<div class="section" id="improvements">
<h3>Improvements<a class="headerlink" href="#improvements" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fixed a bug where <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">tags</span> <span class="pre">-r</span> <span class="pre">x..y</span></tt> loaded the branch history once for
every revision in the range; it&#8217;s now much faster. (Vincent Ladeuil, #857335)</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>Fixed an infinite loop when creating a repo at the root of the filesystem,
i.e. &#8220;/&#8221;, due to posixpath.normpath() not collapsing 2 leading slashes into
one, thus respecting the POSIX standard, but making relpath() loop infinitely.
(Florian Vichot, #861008)</li>
<li>Fixed loading of external merge tools from config to properly decode
command-lines which contain embedded quotes. (Gordon Tyler, #828803)</li>
<li>Include declaration of &#8216;changed&#8217; to avoid an UnboundLocalError in dirstate
pyrex code with new Cython versions. (Denys Duchier, #837221)</li>
<li>Prevent several kinds of OverflowError and other fallout from failing to fit
stat fields into four bytes in dirstate pack_stat implementations.
(Martin Packman, #683191 #706957)</li>
<li>Return early from create_delta_index_from_delta given tiny inputs. This
avoids raising a spurious MemoryError on certain platforms such as AIX.
(John Arbash Meinel, #856731)</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>Corrected documentation for <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">serve</span></tt> in the Admin Guide.
(Morten Bøgeskov, Martin Pool, #832576)</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>
<p>None.</p>
</div>
<div class="section" id="internals">
<h3>Internals<a class="headerlink" href="#internals" title="Permalink to this headline">¶</a></h3>
<p>No changes.</p>
</div>
<div class="section" id="testing">
<h3>Testing<a class="headerlink" href="#testing" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Accept both old and new style testtools output in selftest tests.
(Jelmer Vernooij, Martin Packman, #815423)</li>
<li>Fix the race for TestingThreadingTCPServer in
test_server_crash_while_responding. (Vincent Ladeuil, #869366)</li>
<li>Really corrupt the pack file without depending on a special length or value.
(Vincent Ladeuil, #807032)</li>
</ul>
</div>
</div>
<div class="section" id="bzr-2-4-1">
<h2>bzr 2.4.1<a class="headerlink" href="#bzr-2-4-1" 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"><th class="field-name">2.4.1:</th><td class="field-body">2011-09-08</td>
</tr>
</tbody>
</table>
<p>This is a bugfix release. Upgrading is recommended for all users of earlier
2.4 releases.</p>
<p>It includes fixes from previous stable releases and address some issues with
the test suite.</p>
<div class="section" id="id1">
<h3>External Compatibility Breaks<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id2">
<h3>New Features<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id3">
<h3>Improvements<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id4">
<h3>Bug Fixes<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">config.LocationMatcher</span></tt> properly excludes unrelated sections.
(Vincent Ladeuil, #829237)</li>
<li><tt class="docutils literal"><span class="pre">dirstate.fdatasync</span></tt> and <tt class="docutils literal"><span class="pre">repository.fdatasync</span></tt> can now properly be
disabled. (Vincent Ladeuil, #824513)</li>
<li>Disable <tt class="docutils literal"><span class="pre">os.fsync</span></tt> and <tt class="docutils literal"><span class="pre">os.fdatasync</span></tt> by default when running
<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">selftest</span></tt>. You can use <tt class="docutils literal"><span class="pre">--sync</span></tt> to re-enable them.
(John Arbash Meinel, #837293)</li>
<li>Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)</li>
<li>Avoid UnicodeDecode error when reporting EINVAL from transports.
(IWATA Hidetaka, #829237)</li>
</ul>
</div>
<div class="section" id="id5">
<h3>Documentation<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Corrected documentation for BZR_PROGRESS_BAR.
(Dennis Benzinger, #735417)</li>
</ul>
</div>
<div class="section" id="id6">
<h3>API Changes<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id7">
<h3>Internals<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id8">
<h3>Testing<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>The test suite should now be able to run under weird environments where
<tt class="docutils literal"><span class="pre">/etc/passwd</span></tt> doesn&#8217;t contain the <tt class="docutils literal"><span class="pre">uid</span></tt> for the user running selftest
or where <tt class="docutils literal"><span class="pre">fakeroot</span></tt> is used but <tt class="docutils literal"><span class="pre">/root</span></tt> is inacessible.
(Vincent Ladeuil, #825027)</li>
</ul>
</div>
</div>
<div class="section" id="bzr-2-4-0">
<h2>bzr 2.4.0<a class="headerlink" href="#bzr-2-4-0" 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"><th class="field-name">2.4.0:</th><td class="field-body">2011-08-11</td>
</tr>
</tbody>
</table>
<p>This release 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 is a bugfix and polish release over the 2.3 series, with a large number
of bugs fixed (&gt;150 for the 2.4 series alone), and some performance
improvements. Support for python 2.4 and 2.5 has been dropped, many large
working tree operations have been optimized as well as some stacked branches
operations.</p>
<p>Only bugfixes from other stables series have been included since 2.4b5 so
all known fixed bugs are included here.</p>
<p>Users are encouraged to upgrade from the other stable series.</p>
<div class="section" id="id9">
<h3>External Compatibility Breaks<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id10">
<h3>New Features<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id11">
<h3>Improvements<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id12">
<h3>Bug Fixes<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p class="first">A call to CHKInventory&#8217;s filter-method will not result in a
DuplicateFileId error, if you move a subfolder and change a file in
that subfolder.
(Bastian Bowe, #809901)</p>
</li>
<li><p class="first">Accessing a packaging branch on Launchpad (eg, <tt class="docutils literal"><span class="pre">lp:ubuntu/bzr</span></tt>) now
checks to see if the most recent published source package version for
that project is present in the branch tags. This should help developers
trust whether the packaging branch is up-to-date and can be used for new
changes. The level of verbosity is controlled by the config item
<tt class="docutils literal"><span class="pre">launchpad.packaging_verbosity</span></tt>. It can be set to one of</p>
<dl class="docutils">
<dt>off</dt>
<dd><p class="first last">disable all checks</p>
</dd>
<dt>minimal</dt>
<dd><p class="first last">only display if the branch is out-of-date</p>
</dd>
<dt>short</dt>
<dd><p class="first last">also display single-line up-to-date and missing,</p>
</dd>
<dt>all</dt>
<dd><p class="first last">(default) display multi-line content for all states</p>
</dd>
</dl>
<p>(John Arbash Meinel, #609187, #812928)</p>
</li>
<li><p class="first">Cope with not all Python versions having a <tt class="docutils literal"><span class="pre">clear</span></tt> method on
<tt class="docutils literal"><span class="pre">TestCase._type_equality_funcs</span></tt>.
(Martin [gz], Jelmer Vernooij, #809048)</p>
</li>
<li><p class="first">Fetching tags when fetching the tip revision of a branch is now
controlled by the config setting <tt class="docutils literal"><span class="pre">branch.fetch_tags</span></tt>. The behavior has
been reverted to 2.3&#8217;s not-fetching tagged revisions by default.
(John Arbash Meinel, #771184)</p>
</li>
<li><p class="first">The fix for bug #513709 caused us to open a new connection when
switching a lightweight checkout that was pointing at a bound branch.
This isn&#8217;t necessary because we know the master URL without opening it,
avoiding an extra SSH connection, etc.
(John Arbash Meinel, #812285)</p>
</li>
</ul>
</div>
<div class="section" id="id13">
<h3>Documentation<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id14">
<h3>API Changes<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id15">
<h3>Internals<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h3>
</div>
<div class="section" id="id16">
<h3>Testing<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><cite>BranchBuilder.build_snapshot</cite> now supports a &#8220;flush&#8221; action.  This
cleanly and reliably allows tests using <cite>BranchBuilder</cite> to construct
branches that e.g. rename files out of a directory and unversion that
directory in the same revision.  Previously some changes were impossible
due to the order that <cite>build_snapshot</cite> performs its actions.
(Andrew Bennetts)</li>
<li><cite>TestCaseWithMemoryTransport</cite> is faster now: <cite>_check_safety_net</cite> now
just compares the bytes in the dirstate file to its pristine state,
rather than opening the WorkingTree and calling <tt class="docutils literal"><span class="pre">last_revision()</span></tt>.
This reduces the overall test suite time by about 10% on my laptop.
(Andrew Bennetts)</li>
</ul>
</div>
</div>
<div class="section" id="bzr-2-4b5">
<h2>bzr 2.4b5<a class="headerlink" href="#bzr-2-4b5" 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"><th class="field-name">2.4b5:</th><td class="field-body">2011-07-07</td>
</tr>
</tbody>
</table>
<p>This is the fifth (and last) beta of the 2.4 series leading to
2.4.0 release in August 2011. Beta releases are suitable for
everyday use but may cause some incompatibilities with plugins.</p>
<p>This release includes all bug fixed in previous series known at
the time of this release.</p>
<div class="section" id="id17">
<h3>External Compatibility Breaks<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h3>
<p>None.</p>
</div>
<div class="section" id="id18">
<h3>New Features<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>New command <tt class="docutils literal"><span class="pre">verify-signatures</span></tt> to check if all commits or specified commits
have digital signatures from trusted keys.  Requires python-gpgme to be
installed.</li>
<li>New option <tt class="docutils literal"><span class="pre">--signatures</span></tt> for <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span></tt> to display digital signature
verification results for each commit.</li>
<li>Config option acceptable_keys to list which GPG keys are verified as trusted.</li>
<li>Config option validate_signatures_in_log to always show signatures in
<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span></tt>.</li>
</ul>
</div>
<div class="section" id="id19">
<h3>Improvements<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">Branch.open</span></tt> is now about 3x faster (about 2ms instead of 6.5ms).
(Andrew Bennetts).</li>
<li>Pack, dirstate, and index files are synced to persistent storage if
possible when writing finishes, to reduce the risk of problems caused by
a machine crash or similar problem.  This can be turned off through the
<tt class="docutils literal"><span class="pre">dirstate.fdatasync</span></tt> and <tt class="docutils literal"><span class="pre">repository.fdatasync</span></tt> options, which can
be set in <tt class="docutils literal"><span class="pre">locations.conf</span></tt> or <tt class="docutils literal"><span class="pre">bazaar.conf</span></tt>.  (Martin Pool,
#343427)</li>
</ul>
</div>
<div class="section" id="id20">
<h3>Bug Fixes<a class="headerlink" href="#id20" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Display a proper error message when a config file content cannot be
decoded as UTF-8 or when it cannot be parsed.
(Vincent Ladeuil, #502060, #688677, #797246)</li>
<li>Generate a single conflict (instead of two) when merging a branch
modifying and renaming a file in a branch that deleted it (or vice-versa).
(Vincent Ladeuil, #688101)</li>
<li>Give a more helpful message when the bzr executable doesn&#8217;t match the
library.  (This typically happens because of a misconfigured PYTHONPATH
or half-installed bzr.)
(Martin Pool, #804553)</li>
<li>Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)</li>
<li><tt class="docutils literal"><span class="pre">GraphThunkIdsToKeys.merge_sort</span></tt> now properly returns
keys rather than ids. (Jelmer Vernooij, #799677)</li>
<li><tt class="docutils literal"><span class="pre">TreeTransformBase.fixup_new_roots</span></tt> can now check that a tree root
is present. (Jelmer Vernooij, #801257)</li>
</ul>
</div>
<div class="section" id="id21">
<h3>API Changes<a class="headerlink" href="#id21" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>New attributes <tt class="docutils literal"><span class="pre">WorkingTreeFormat.supports_versioned_directories</span></tt> and
<tt class="docutils literal"><span class="pre">RepositoryFormat.supports_versioned_directories</span></tt>.
(Jelmer Vernooij, #765815)</li>
<li>The &#8220;revno&#8221; field type when using the python version-info format is now
a string (to handle dotted revnos) (Benoît Pierre, #796259)</li>
</ul>
</div>
<div class="section" id="id22">
<h3>Internals<a class="headerlink" href="#id22" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Start implementing localization, starting with command help text (but not
the command options themselves). This will allow bootstrapping the bzr
internationalization process. (Inada Naoki)</li>
</ul>
</div>
<div class="section" id="id23">
<h3>Testing<a class="headerlink" href="#id23" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Fix test failures when running as a homeless user (debian buildd). Tests
leaking into <tt class="docutils literal"><span class="pre">${HOME}/.bzr.log</span></tt> should be detected properly now.
(Vincent Ladeuil, #798698)</li>
</ul>
</div>
</div>
<div class="section" id="bzr-2-4b4">
<h2>bzr 2.4b4<a class="headerlink" href="#bzr-2-4b4" 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"><th class="field-name">2.4b4:</th><td class="field-body">2011-06-16</td>
</tr>
</tbody>
</table>
<p>This is the fourth beta of the 2.4 series, leading to a 2.4.0 release in
August 2011. Beta releases are suitable for everyday use but may cause some
incompatibilities with plugins.</p>
<p>This release includes all bug fixed in previous series known at the time of
this release.</p>
<div class="section" id="id24">
<h3>External Compatibility Breaks<a class="headerlink" href="#id24" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Do not treat configuration option &#8216;check_signatures = require&#8217; as if
it were &#8216;create_signatures = always&#8217; (Jonathan Riddell)</li>
</ul>
</div>
<div class="section" id="id25">
<h3>New Features<a class="headerlink" href="#id25" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Hooks have been added for config stacks: <tt class="docutils literal"><span class="pre">get</span></tt>, <tt class="docutils literal"><span class="pre">set</span></tt> and <tt class="docutils literal"><span class="pre">remove</span></tt>
are called when an option is respectively read, modified or deleted. Also
added <tt class="docutils literal"><span class="pre">load</span></tt> and <tt class="docutils literal"><span class="pre">save</span></tt> hooks for config stores, called when the
stores are loaded or saved.  (Vincent Ladeuil)</li>
<li>New hook server_exception in bzrlib.smart.server to catch any
exception caused while running bzr serve.
(Jonathan Riddell, #274578)</li>
<li>New hook set_commit_message in bzrlib.msgeditor to set a commit message
and revision properties.  (Jonathan Riddell, #274578)</li>
<li>Support <tt class="docutils literal"><span class="pre">-S</span></tt> as an alias for <tt class="docutils literal"><span class="pre">--short</span></tt> for the <tt class="docutils literal"><span class="pre">log</span></tt> and
<tt class="docutils literal"><span class="pre">missing</span></tt> commands. (Martin von Gagern, #38655)</li>
</ul>
</div>
<div class="section" id="id26">
<h3>Improvements<a class="headerlink" href="#id26" 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 be run without setting whoami data first.
(Jonathan Riddell, #667408)</li>
</ul>
</div>
<div class="section" id="id27">
<h3>Bug Fixes<a class="headerlink" href="#id27" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Bazaar can now detect when a lock file is held by a dead process
originating from the same machine, and steal the lock after printing a
message to the user.  This is off by default, for safety, but can be
turned on by setting the configuration variable <tt class="docutils literal"><span class="pre">locks.steal_dead</span></tt> to
<tt class="xref docutils literal"><span class="pre">True</span></tt>.
(Martin Pool, #220464)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">version-info</span></tt> now works when the tree is on a dotted revno.
(Benoît Pierre, #796259)</li>
<li>Credentials in the log output produced by <tt class="docutils literal"><span class="pre">-Dhttp</span></tt> are masked so users
can more freely post them in bug reports. (Vincent Ladeuil, #723074)</li>
<li>Fix a race condition for <tt class="docutils literal"><span class="pre">server_started</span></tt> hooks leading to a spurious
test failure. (Vincent Ladeuil, #789167)</li>
<li>Fix exporting subdirectory with <tt class="docutils literal"><span class="pre">--per-file-timestamps</span></tt>.
(Szilveszter Farkas, #795557)</li>
<li>Handle files that get created but don&#8217;t get used during TreeTransform.
<tt class="docutils literal"><span class="pre">open()</span></tt> can create a file, and still raise an exception before it
returns. So anything we might have created, make sure we destroy during
<tt class="docutils literal"><span class="pre">finalize()</span></tt>. (Martin [gz], #597686)</li>
<li><tt class="docutils literal"><span class="pre">pack_repo</span></tt> now uses <tt class="docutils literal"><span class="pre">Transport.move</span></tt> instead of
<tt class="docutils literal"><span class="pre">Transport.rename</span></tt>, deleting any existing targets even on SFTP.
(Martin von Gagern, #421776)</li>
<li>Pass the <tt class="docutils literal"><span class="pre">build_mo</span></tt> command to the rest of the setup() calls in
setup.py. The <tt class="docutils literal"><span class="pre">bdist_wininst</span></tt> and <tt class="docutils literal"><span class="pre">py2exe</span></tt> code paths were failing
because <tt class="docutils literal"><span class="pre">build_mo</span></tt> became a required step that they didn&#8217;t know about.
(John Arbash Meinel, #787122)</li>
<li>Preserve existing <tt class="docutils literal"><span class="pre">root-id</span></tt> when merging an unrelated branch.
(Aaron Bentley, #806356)</li>
<li>Properly avoid re-adding a file after it changes case on CICP
filesystems. (John Arbash Meinel, #798130)</li>
<li>Reports the original error when an InvalidHttpResponse exception is
encountered to facilitate debug. (Vincent Ladeuil, #788530)</li>
<li>Reports a non-existent file error when trying to merge in a file
that does not exist. (Jonathan Riddell, #330063)</li>
<li><tt class="docutils literal"><span class="pre">UIFactory.prompt</span></tt>, <tt class="docutils literal"><span class="pre">UIFactory.get_username</span></tt>,
<tt class="docutils literal"><span class="pre">UIFactory.get_password</span></tt> and <tt class="docutils literal"><span class="pre">UIFactory.get_boolean</span></tt> now require a
unicode prompt to be passed in. (Jelmer Vernooij, #592083)</li>
<li>Support merging into the empty tree. (Aaron Bentley, #595328)</li>
</ul>
</div>
<div class="section" id="id28">
<h3>Documentation<a class="headerlink" href="#id28" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Improve documentation of <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">merge</span> <span class="pre">--force</span></tt>.
(Neil Martinsen-Burrell, #767307)</li>
<li>Make docs for configuration options for digital signatures match
reality. (Jonathan Riddell)</li>
<li>Add user-guide page on GPG signatures. (Jonathan Riddell)</li>
</ul>
</div>
<div class="section" id="id29">
<h3>API Changes<a class="headerlink" href="#id29" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Checking for a file id in a <cite>Tree</cite> or <cite>Inventory</cite> using <tt class="docutils literal"><span class="pre">in</span></tt> is now
deprecated.  Instead, use <cite>has_id</cite>.
(Martin Pool)</li>
<li>Exporters are now all exposed as generators, rather than as single-call
functions, so that calling code can take stream the output.
(Xaav, Martin Pool)</li>
<li>Information about held lockdir locks returned from eg <cite>LockDir.peek</cite> is
now represented as a <cite>LockHeldInfo</cite> object, rather than a plain
Python dict.
(Martin Pool)</li>
<li>Remove <cite>file_status</cite> function.
(Martin Pool)</li>
<li><tt class="docutils literal"><span class="pre">Repository.iter_reverse_revision_history</span></tt> is now deprecated.
Use <tt class="docutils literal"><span class="pre">Graph.iter_lefthand_ancestry</span></tt> instead.
(Jelmer Vernooij, #739481)</li>
<li><tt class="docutils literal"><span class="pre">Repository.get_ancestry</span></tt> has been deprecated. Use
<tt class="docutils literal"><span class="pre">Graph.iter_ancestry</span></tt> instead.
(Jelmer Vernooij, #784511)</li>
</ul>
</div>
<div class="section" id="id30">
<h3>Internals<a class="headerlink" href="#id30" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">tools/check-newsbugs.py</span></tt> accepts a <tt class="docutils literal"><span class="pre">--browser</span></tt> option to open
corresponding launchpad pages in a browser. (Vincent Ladeuil)</li>
</ul>
</div>
<div class="section" id="id31">
<h3>Testing<a class="headerlink" href="#id31" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>A <cite>ImportTariffTestCase</cite> base class has been added in
<tt class="docutils literal"><span class="pre">bzrlib.tests.test_import_tariff</span></tt>, which can be used for import tariff
tests in plugins. (Jelmer Vernooij, #793465)</li>
<li>Fix deadlock in <cite>TestImportTariffs.test_simple_serve</cite> when stderr gets
more output than fits in the default buffer.  This was happening on the
Windows buildslave, and could easily happen in other circumstances where
the default OS buffer size for pipes is small or the <tt class="docutils literal"><span class="pre">python</span> <span class="pre">-v</span></tt>
output is large.  (Andrew Bennetts, #784802)</li>
<li>Fix spurious test failure on OSX for WorkingTreeFormat2.
(Vincent Ladeuil, #787942)</li>
<li>Re-target <tt class="docutils literal"><span class="pre">bb.test_merge.TestMerge.test_merge_reversed_revision_range</span></tt>
and rewrite it as a parametrized test to avoid unrelated failures.
(Vincent Ladeuil, #795456)</li>
<li>Show log file contents from subprocesses started by
<cite>start_bzr_subprocess</cite> in test failure details.  This may help diagnose
strange hangs and failures involving subprocesses.  (Andrew Bennetts)</li>
<li>Skip <tt class="docutils literal"><span class="pre">utextwrap</span></tt> tests when <tt class="docutils literal"><span class="pre">sphinx</span></tt> breaks text_wrap by an hostile
monkey-patch to textwrap.TextWrapper.wordsep_re.
(Vincent Ladeuil, #785098)</li>
<li>Multiple <tt class="docutils literal"><span class="pre">selftest</span> <span class="pre">--exclude</span></tt> options are now combined instead of
overriding each other. (Vincent Ladeuil, #746991)</li>
<li>Restore some <tt class="docutils literal"><span class="pre">FTPTransport</span></tt> test coverage by allowing <tt class="docutils literal"><span class="pre">pyftpdlib</span>
<span class="pre">0.6.0</span></tt> to be used. Also restore <tt class="docutils literal"><span class="pre">medusa</span></tt> support while leaving it
disabled to make it easier to use if/when we can in the future.
(Vincent Ladeuil, #781140)</li>
<li><cite>TestImportTariffs</cite> no longer uses the real <tt class="docutils literal"><span class="pre">$HOME</span></tt>.  This prevents it
from polluting <tt class="docutils literal"><span class="pre">$HOME/.bzr.log</span></tt> or being accidentally influenced by
user configuration such as aliases.  It still runs with all the user&#8217;s
plugins enabled, as intended.
(Vincent Ladeuil, Andrew Bennetts, #789505)</li>
</ul>
</div>
</div>
<div class="section" id="bzr-2-4b3">
<h2>bzr 2.4b3<a class="headerlink" href="#bzr-2-4b3" 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"><th class="field-name">2.4b3:</th><td class="field-body">2011-05-26</td>
</tr>
</tbody>
</table>
<p>This is the third beta of the 2.4 series, leading to a 2.4.0 release in
August 2011. Beta releases are suitable for everyday use but may cause some
incompatibilities with plugins.</p>
<p>This release includes all bug fixed in previous series known at the time of
this release.</p>
<div class="section" id="id32">
<h3>External Compatibility Breaks<a class="headerlink" href="#id32" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">bzr-2.4</span></tt> has officially dropped support for python2.4 and python2.5.
We will continue to maintain <tt class="docutils literal"><span class="pre">bzr-2.3</span></tt> for people who still need to
use those versions of python. (John Arbash Meinel)</li>
</ul>
</div>
<div class="section" id="id33">
<h3>New Features<a class="headerlink" href="#id33" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>The text compressor used for 2a repositories now has a tweakable
parameter that can be set in bazaar.conf.
<tt class="docutils literal"><span class="pre">bzr.groupcompress.max_entries_per_source</span></tt> default of 65536.
When doing compression, we build up an index of locations to match
against. Setting this higher will result in slightly better compression,
at a cost of more memory. Note that a value of 65k represents fully
sampling a 1MB file. So this only has an effect when compressing texts
larger than N*16 bytes. (John Arbash Meinel, #602614)</li>
</ul>
</div>
<div class="section" id="id34">
<h3>Improvements<a class="headerlink" href="#id34" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span> <span class="pre">--stacked</span></tt> from a smart server uses the network a little
more efficiently.  For a simple branch it reduces the number of
round-trips by about 20%.  (Andrew Bennetts)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">--line</span></tt> scales the width of the author field with the size of
the line.  This means that the full author name is shown when the
environment variable BZR_COLUMNS=0.  (Neil Martinsen-Burrell)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">pull</span></tt> now properly triggers the fast
<tt class="docutils literal"><span class="pre">CHKInventory.iter_changes</span></tt> rather than the slow generic
inter-Inventory changes. It used to use a <tt class="docutils literal"><span class="pre">DirStateRevisionTree</span></tt> as
one of the source trees, which is faster when we have to read the whole
inventory anyway, but much slower when we can get just the delta out of
the repository. On a 70k record tree, this changes <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">pull</span></tt> from 28s
down to 17s. (John Arbash Meinel, #780677)</li>
<li>Slightly reduced memory consumption when fetching into a 2a repository
by reusing existing caching a little better.  (Andrew Bennetts)</li>
<li>Speed up <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt> by a little bit when there are a couple of
modified files. We now track how many files we have seen that need
updating, and only rewrite the dirstate file if enough of them have
changed. The default is 10, and can be overridden by setting the branch
option &#8220;<tt class="docutils literal"><span class="pre">bzr.workingtree.worth_saving_limit</span></tt>&#8221;.
(Ian Clatworthy, John Arbash Meinel, #380202)</li>
<li>Speed up <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">uncommit</span></tt>. Instead of resetting the dirstate from
scratch, use <tt class="docutils literal"><span class="pre">update_basis_by_delta</span></tt>, computing the delta from the
repository. (John Arbash Meinel, #780544)</li>
</ul>
</div>
<div class="section" id="id35">
<h3>Bug Fixes<a class="headerlink" href="#id35" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>All Tree types can now be exported as tar.*, zip or directories.
(Aaron Bentley)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">merge</span> <span class="pre">--no-remember</span> <span class="pre">location</span></tt> never sets <tt class="docutils literal"><span class="pre">submit_branch</span></tt>.
(Vincent Ladeuil, #782169)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">pull</span> <span class="pre">--no-remember</span> <span class="pre">location</span></tt> never sets
<tt class="docutils literal"><span class="pre">parent_location</span></tt>.  <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">push</span> <span class="pre">--no-remember</span> <span class="pre">location</span></tt> never
sets <tt class="docutils literal"><span class="pre">push_location</span></tt>.  <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">send</span> <span class="pre">--no-remember</span>
<span class="pre">submit_location</span> <span class="pre">public_location</span></tt> never sets <tt class="docutils literal"><span class="pre">submit_branch</span></tt>
nor <tt class="docutils literal"><span class="pre">public_branch</span></tt>.  (Vincent Ladeuil)</li>
<li>Conflicts involving non-ascii filenames are now properly reported rather
than failing with a UnicodeEncodeError. (Martin [GZ], #686161)</li>
<li>Correct parent is now set when using &#8216;switch -b&#8217; with bound branches.
(A. S. Budden, #513709)</li>
<li>Fix <cite>bzr plugins</cite> regression in bzr 2.4 which resulted in a traceback
from writelines on ckj terminals. (Martin [GZ], #754082)</li>
<li><tt class="docutils literal"><span class="pre">WT.inventory</span></tt> and <tt class="docutils literal"><span class="pre">WT.iter_entries_by_dir()</span></tt> was not correctly
reporting subdirectories that were tree references (in formats that
supported them). (John Arbash Meinel, #764677)</li>
<li>Merging into empty branches now gives an error as this is currently
not supported. (Jonathan Riddell, #242175)</li>
<li>Do not show exception to user on pointless commit error.
(Jonathan Riddell #317357)</li>
<li><tt class="docutils literal"><span class="pre">WT.update_basis_by_delta</span></tt> no longer requires that the deltas match
the current WT state. This allows <tt class="docutils literal"><span class="pre">update_basis_by_delta</span></tt> to be used
by more commands than just commit. Updating with a delta allows us to
not load the whole inventory, which can take 10+s with large trees.
(Jonathan Riddell, John Arbash Meinel, #781168)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">mv</span> <span class="pre">--after</span> <span class="pre">old_name</span> <span class="pre">new_name</span></tt> now works if &#8220;new_name&#8221; is newly
added. (Benoît Pierre)</li>
</ul>
</div>
<div class="section" id="id36">
<h3>Documentation<a class="headerlink" href="#id36" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Restore the workaround for option names including dots (&#8211;1.14) which was
disabled when we stopped listing &#8211;1.9 as a format.
(Vincent Ladeuil, #782289)</li>
</ul>
</div>
<div class="section" id="id37">
<h3>API Changes<a class="headerlink" href="#id37" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">annotate_file</span></tt> has been deprecated in favor of
<tt class="docutils literal"><span class="pre">annotate_file_revision_tree</span></tt>. (Jelmer Vernooij, #775598)</li>
<li><tt class="docutils literal"><span class="pre">Branch.fetch</span></tt> now takes an optional <tt class="docutils literal"><span class="pre">limit</span></tt> argument.
(Andrew Bennetts, Jelmer Vernooij, #750175)</li>
<li><tt class="docutils literal"><span class="pre">Inter.get</span></tt> now raises <tt class="docutils literal"><span class="pre">NoCompatibleInter</span></tt> if there are no
compatible optimisers rather than an instance of the class it is called
on. (Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">Branch.push</span></tt> now takes a <tt class="docutils literal"><span class="pre">lossy</span></tt> argument.
<tt class="docutils literal"><span class="pre">Branch.lossy_push</span></tt> has been removed.
(Jelmer Vernooij)</li>
<li>New method <tt class="docutils literal"><span class="pre">Repository.get_file_graph</span></tt> which can return the
per-file revision graph. (Jelmer Vernooij, #775578)</li>
<li>The default implementation of <tt class="docutils literal"><span class="pre">Branch</span></tt> is now oriented to
storing the branch tip. Branch implementations which store the full
history should now subclass <tt class="docutils literal"><span class="pre">FullHistoryBzrBranch</span></tt>.
<tt class="docutils literal"><span class="pre">Branch._last_revision_info</span></tt> has been renamed to
<tt class="docutils literal"><span class="pre">Branch._read_last_revision_info</span></tt> (Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">Tree.__iter__</span></tt> has been deprecated; use <tt class="docutils literal"><span class="pre">Tree.all_file_ids</span></tt>
instead.  (Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">Tree.get_symlink_target</span></tt> now takes an optional <tt class="docutils literal"><span class="pre">path</span></tt>
argument. (Jelmer Vernooij)</li>
</ul>
</div>
<div class="section" id="id38">
<h3>Internals<a class="headerlink" href="#id38" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">MutableTree.smart_add</span></tt> now uses inventory deltas.
(Jelmer Vernooij, #146165)</li>
<li>Removed <tt class="docutils literal"><span class="pre">bzrlib.branch._run_with_write_locked_target</span></tt> as
<tt class="docutils literal"><span class="pre">bzrlib.cleanup</span></tt> provides the same functionality in a more general
way.  (Andrew Bennetts)</li>
</ul>
</div>
<div class="section" id="id39">
<h3>Testing<a class="headerlink" href="#id39" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>A test that was expected to fail but passes instead now counts as a failure
catching up with new testtools and subunit handling. (Martin [GZ], #654474)</li>
<li>Make it easier for plugins to reuse the per_workingtree scenarios by
restoring the wt_scenarios helper that was accidentally deleted.
(Vincent Ladeuil, #783472)</li>
<li>Removed <tt class="docutils literal"><span class="pre">test_breakin</span></tt> tests that were excessively prone to hanging,
did not work on Wine, and partly already disabled.
(Martin Pool, #408814, #746985)</li>
<li>Windows locations are different and should be tested accordingly.
(Vincent Ladeuil, #788131)</li>
</ul>
</div>
</div>
<div class="section" id="bzr-2-4b2">
<h2>bzr 2.4b2<a class="headerlink" href="#bzr-2-4b2" 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"><th class="field-name">2.4b2:</th><td class="field-body">2011-04-28</td>
</tr>
</tbody>
</table>
<p>This is the second beta of the 2.4 series, leading to a 2.4.0 release in
August 2011. Beta releases are suitable for everyday use but may cause some
incompatibilities with plugins.</p>
<p>This release includes all bug fixed in previous series known at the time of
this release.</p>
<div class="section" id="id40">
<h3>External Compatibility Breaks<a class="headerlink" href="#id40" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Two command synonyms for <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span></tt> have been deprecated, to avoid
confusion and to allow the names to later be reused.  The removed names
are: <tt class="docutils literal"><span class="pre">get</span></tt> and <tt class="docutils literal"><span class="pre">clone</span></tt>.   (Martin Pool, #506265)</li>
</ul>
</div>
<div class="section" id="id41">
<h3>New Features<a class="headerlink" href="#id41" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">commit</span></tt> now supports a <tt class="docutils literal"><span class="pre">--lossy</span></tt> argument that can be used
to discard any data that can not be natively represented when committing
to a foreign VCS. (Jelmer Vernooij, #587721)</li>
</ul>
</div>
<div class="section" id="id42">
<h3>Improvements<a class="headerlink" href="#id42" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">merge</span></tt> in large trees is now significantly faster. On a 70k entry
tree, the time went from ~3min down to 30s. This also effects <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">pull</span></tt>
and <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">update</span></tt> since they use the same merge logic to update the
WorkingTree.  (John Arbash Meinel, #759091)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">revert</span></tt> now properly uses <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt>&#8216;s optimized
<tt class="docutils literal"><span class="pre">iter_changes</span></tt>. This can be a significant performance difference (33s
to 5s on large trees). (John Arbash Meinel, #759096)</li>
<li>Resolve <tt class="docutils literal"><span class="pre">lp:FOO</span></tt> urls locally rather than doing an XMLRPC request if
the user has done <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">launchpad-login</span></tt>. The bzr+ssh URLs were already
being handed off to the remote server anyway (xmlrpc has been mapping
<tt class="docutils literal"><span class="pre">lp:bzr</span></tt> to <tt class="docutils literal"><span class="pre">bzr+ssh://bazaar.launchpad.net/+branch/bzr</span></tt>, rather
than <tt class="docutils literal"><span class="pre">bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev</span></tt> for a few
months now.) By doing it ourselves, we can cut out substantial startup
time. From Netherlands to London it was taking 368ms to do the XMLRPC
call as much as 2s from Sydney. You can test the local logic by using
<tt class="docutils literal"><span class="pre">-Dlaunchpad</span></tt>.  (John Arbash Meinel, #397739)</li>
<li>When building a new WorkingTree (such as during <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">co</span></tt> or
<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span></tt>) we now properly store the stat and hash of files that
are old enough. This saves a fair amount of time on the first
<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt> (on a 500MB tree, it saves about 30+s).
(John Arbash Meinel, #740932)</li>
</ul>
</div>
<div class="section" id="id43">
<h3>Bug Fixes<a class="headerlink" href="#id43" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Arguments that can&#8217;t be decoded to unicode in the current posix locale give
a clearer error message without a traceback. (Martin [gz], #745712)</li>
<li><tt class="docutils literal"><span class="pre">bzrlib.log._DEFAULT_REQUEST_PARAMS</span></tt> is no longer accidentally
mutated by <tt class="docutils literal"><span class="pre">bzrlib.log._apply_log_request_defaults</span></tt>.  In practice
these default values aren&#8217;t relied on very often so this probably
wasn&#8217;t causing any trouble.  (Andrew Bennetts)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span></tt> now works on revisions which are not in the current branch.
(Matt Giuca, #241998)</li>
<li>Don&#8217;t rewrite the dirstate file when non-interesting changes have
occurred. This can significantly improve &#8216;bzr status&#8217; times when there
are only small changes to a large tree.
(Ian Clatworthy, John Arbash Meinel, #380202)</li>
<li>Lazy hooks are now reset between test runs. (Jelmer Vernooij, #745566)</li>
<li><tt class="docutils literal"><span class="pre">bzrlib.merge.Merge</span></tt> now calls <tt class="docutils literal"><span class="pre">iter_changes</span></tt> without
<tt class="docutils literal"><span class="pre">include_unversioned=True</span></tt>. This makes it significantly faster in many
cases, because it only looks at modified files, rather than building
information about all files. This can cause failures in other
TreeTransform code, because it had been expecting to know the names of
things which had not changed (such as parent directories). All cases we
know about so far have been fixed, but there may be fallout for edge
cases that we are missing. (John Arbash Meinel, #759091)</li>
<li><tt class="docutils literal"><span class="pre">SFTPTransport</span></tt> is more pro-active about closing file-handles. This
reduces the chance of having threads fail from async requests while
running the test suite. (John Arbash Meinel, #656170)</li>
<li>Standalone bzr.exe installation on Windows: user can put additional python
libraries into <tt class="docutils literal"><span class="pre">site-packages</span></tt> subdirectory of the installation directory,
this might be required for &#8220;installing&#8221; extra dependencies for some plugins.
(Alexander Belchenko, #743256)</li>
<li><tt class="docutils literal"><span class="pre">transform.revert()</span></tt> has been updated to use
<tt class="docutils literal"><span class="pre">wt.iter_changes(basis_tree)</span></tt> rather than
<tt class="docutils literal"><span class="pre">basis_tree.iter_changes(wt)</span></tt>. This allows the optimized code path to
kick in, improving <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">revert</span></tt> times significantly (33s to 4s on
large trees, 0.7s to 0.3s on small trees.) (John Arbash Meinel, #759096)</li>
<li><tt class="docutils literal"><span class="pre">TreeTransform.create_file/new_file</span></tt> can now take an optional <tt class="docutils literal"><span class="pre">sha1</span></tt>
parameter. If supplied, when the transform is applied, it will then call
<tt class="docutils literal"><span class="pre">self._tree._observed_sha1</span></tt> for those files. This lets us update the
hash-cache for content that we create, preventing us from re-reading the
content in the next <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt>.  (John Arbash Meinel, #740932)</li>
</ul>
</div>
<div class="section" id="id44">
<h3>Documentation<a class="headerlink" href="#id44" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Added a section about using a shared SSH account on a server for bzr+ssh
access.  (Russell Smith)</li>
<li>The documentation now recommends using SSH rather than SFTP in the
tutorials and the examples, because that will generally be much faster
and better in cases where it can be used.  SFTP is still available and
mentioned as an alternative.  (Martin Pool, #636712)</li>
</ul>
</div>
<div class="section" id="id45">
<h3>API Changes<a class="headerlink" href="#id45" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">Branch.update_revisions</span></tt> has been made private and should no
longer be used by external users. Use <tt class="docutils literal"><span class="pre">Branch.pull</span></tt> or <tt class="docutils literal"><span class="pre">Branch.push</span></tt>
instead. (Jelmer Vernooij, #771765)</li>
<li>Commands now have an <cite>invoked_as</cite> attribute, showing the name under
which they were called before alias expansion.
(Martin Pool)</li>
<li><tt class="docutils literal"><span class="pre">Hooks.create_hook</span></tt> is now deprecated in favour of <tt class="docutils literal"><span class="pre">Hooks.add_hook</span></tt>.
(Jelmer Vernooij)</li>
<li>If you call <cite>bzrlib.initialize</cite> but forget to enter the resulting object
as a context manager, bzrlib will now be initialized anyhow.
(Previously simple programs calling bzrlib might find the library was
mysteriously silent.)
(Martin Pool)</li>
<li>Inventory-specific functionality has been split out of <tt class="docutils literal"><span class="pre">Tree</span></tt> into
a new <tt class="docutils literal"><span class="pre">InventoryTree</span></tt> class. Tree instances no longer
necessarily provide an <tt class="docutils literal"><span class="pre">inventory</span></tt> attribute. (Jelmer Vernooij)</li>
<li>Inventory-specific functionality has been split out of <tt class="docutils literal"><span class="pre">RevisionTree</span></tt>
into a new <tt class="docutils literal"><span class="pre">InventoryRevisionTree</span></tt> class. RevisionTree instances no
longer necessarily provide an <tt class="docutils literal"><span class="pre">inventory</span></tt> attribute. (Jelmer Vernooij)</li>
<li>New method <tt class="docutils literal"><span class="pre">Hooks.uninstall_named_hook</span></tt>. (Jelmer Vernooij, #301472)</li>
<li><tt class="docutils literal"><span class="pre">revision_graph_can_have_wrong_parents</span></tt> is now an attribute
on <tt class="docutils literal"><span class="pre">RepositoryFormat</span></tt> rather than a method on <tt class="docutils literal"><span class="pre">Repository</span></tt>.
(Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">Testament</span></tt> now takes a <tt class="docutils literal"><span class="pre">tree</span></tt> rather than an
<tt class="docutils literal"><span class="pre">inventory</span></tt>. (Jelmer Vernooij, #762608)</li>
<li><tt class="docutils literal"><span class="pre">TestCase.failUnlessExists</span></tt> and <tt class="docutils literal"><span class="pre">failIfExists</span></tt> are deprecated in
favour of <tt class="docutils literal"><span class="pre">assertPathExists</span></tt> and <tt class="docutils literal"><span class="pre">assertPathDoesNotExist</span></tt>
respectively.
(Martin Pool)</li>
<li>The <tt class="docutils literal"><span class="pre">revno</span></tt> parameter of <tt class="docutils literal"><span class="pre">log.LogRevision</span></tt> may now be None,
representing a revision which is not in the current branch.
(Matt Giuca, #241998)</li>
<li>The various knit pack repository format classes have been moved
from <tt class="docutils literal"><span class="pre">bzrlib.repofmt.pack_repo</span></tt> to
<tt class="docutils literal"><span class="pre">bzrlib.repofmt.knitpack_repo</span></tt>. (Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">RevisionTree</span></tt> now has a new method <tt class="docutils literal"><span class="pre">get_file_revision</span></tt>.
(Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">WorkingTree</span></tt> no longer provides an <tt class="docutils literal"><span class="pre">inventory</span></tt>. Instead,
all inventory-related functionality is now on the subclass
<tt class="docutils literal"><span class="pre">InventoryWorkingTree</span></tt> that all native Bazaar working tree
implementations derive from. (Jelmer Vernooij)</li>
</ul>
</div>
<div class="section" id="id46">
<h3>Internals<a class="headerlink" href="#id46" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Added <tt class="docutils literal"><span class="pre">osutils.lstat</span></tt> and <tt class="docutils literal"><span class="pre">osutils.fstat</span></tt>. These are just the <tt class="docutils literal"><span class="pre">os</span></tt>
functions on Linux, but they are wrapped on Windows so that fstat
matches lstat results across all python versions.
(John Arbash Meinel)</li>
<li><tt class="docutils literal"><span class="pre">WorkingTree._observed_sha1</span></tt> also updates the &#8216;size&#8217; column. It
happened to be updated as a side-effect of commit, but if we start using
the function elsewhere we might as well do it directly.
(John Arbash Meinel)</li>
</ul>
</div>
<div class="section" id="id47">
<h3>Testing<a class="headerlink" href="#id47" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Stop using <cite>failIf</cite>, <cite>failUnless</cite>, <cite>failIfEqual</cite>, etc, that give
<cite>PendingDeprecationWarnings</cite> on Python2.7.
(Martin Pool, #760435)</li>
</ul>
</div>
</div>
<div class="section" id="bzr-2-4b1">
<h2>bzr 2.4b1<a class="headerlink" href="#bzr-2-4b1" 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"><th class="field-name">2.4b1:</th><td class="field-body">2011-03-17</td>
</tr>
</tbody>
</table>
<p>This is the first beta of the 2.4 series, leading up to a 2.4.0
release in August 2011.  Beta releases are suitable for everyday use
but may cause some incompatibilities with plugins.  Some plugins may need
small updates to work with 2.4b1.</p>
<div class="section" id="id48">
<h3>External Compatibility Breaks<a class="headerlink" href="#id48" title="Permalink to this headline">¶</a></h3>
<p>(none)</p>
</div>
<div class="section" id="id49">
<h3>New Features<a class="headerlink" href="#id49" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Added <tt class="docutils literal"><span class="pre">changelog_merge</span></tt> plugin for merging changes to <tt class="docutils literal"><span class="pre">Changelog</span></tt> files
in GNU format.  See <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">help</span> <span class="pre">changelog_merge</span></tt> for details.
(Andrew Bennetts)</li>
<li>Configuration options can now use references to other options in the same
file by enclosing them with curly brackets (<tt class="docutils literal"><span class="pre">{other_opt}</span></tt>). This makes it
possible to use, for example,
<tt class="docutils literal"><span class="pre">push_location=lp:~vila/bzr/config-{nickname}</span></tt> in <tt class="docutils literal"><span class="pre">branch.conf</span></tt> when
using a loom. During the beta period, the default behaviour is to disable
this feature. It can be activated by declaring <tt class="docutils literal"><span class="pre">bzr.config.expand</span> <span class="pre">=</span> <span class="pre">True</span></tt>
in <tt class="docutils literal"><span class="pre">bazaar.conf</span></tt>. (Vincent Ladeuil)</li>
<li>External merge tools can now be configured in bazaar.conf. See
<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">help</span> <span class="pre">configuration</span></tt> for more information.  (Gordon Tyler, #489915)</li>
<li>The <tt class="docutils literal"><span class="pre">lp:</span></tt> directory service now supports Launchpad&#8217;s QA staging.
(Jelmer Vernooij, #667483)</li>
</ul>
</div>
<div class="section" id="id50">
<h3>Improvements<a class="headerlink" href="#id50" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>A new hidden command <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">repair-workingtree</span></tt>. This is a way to force
the dirstate file to be rebuilt, rather than using a <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">checkout</span></tt>
workaround. (John Arbash Meinel)</li>
<li>Added a <tt class="docutils literal"><span class="pre">Branch.heads_to_fetch</span></tt> RPC to the smart server protocol.
This allows formats from plugins (such as looms) to efficiently tell the
client which revisions need to be fetched.  (Andrew Bennetts)</li>
<li>Branching, merging and pulling a branch now copies revisions named in
tags, not just the tag metadata.  (Andrew Bennetts, #309682)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">cat-revision</span></tt> no longer requires a working tree.
(Jelmer Vernooij, #704405)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">export</span> <span class="pre">--per-file-timestamps</span></tt> for .tar.gz files will now
override the mtime for trees exported on Python 2.7 and later, which
expose the &#8216;mtime&#8217; field in gzip files. This makes the output of
<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">export</span> <span class="pre">--per-file-timestamps</span></tt> for a particular tree
deterministic.  (Jelmer Vernooij, #711226)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">export</span> <span class="pre">--format=zip</span></tt> can now export to standard output,
like the other exporters can. (Jelmer Vernooij, #513752)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">export</span></tt> can now create <tt class="docutils literal"><span class="pre">.tar.xz</span></tt> and <tt class="docutils literal"><span class="pre">.tar.lzma</span></tt> files.
(Jelmer Vernooij, #551714)</li>
<li>Getting all entries from <tt class="docutils literal"><span class="pre">CHKInventory.iter_entries_by_dir()</span></tt> has been
sped up dramatically for large trees. Iterating by dir is not the best
way to load data from a CHK inventory, so it preloads all the items in
the correct order. (With the gcc-tree, this changes it (re)reading 8GB
of CHK data, down to just 150MB.) This has noticeable affects for things
like building checkouts, etc.  (John Arbash Meinel, #737234)</li>
</ul>
</div>
<div class="section" id="id51">
<h3>Bug Fixes<a class="headerlink" href="#id51" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>A MemoryError thrown on the server during a remote operation will now be
usefully reported, and other unexpected errors will include the class name.
(Martin [gz], #722416)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">annotate</span> <span class="pre">-r-1</span> <span class="pre">file</span></tt> will now properly annotate a deleted file.
(Andrew King, #537442)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">export</span></tt> to zip files will now set a mode on directories.
(Jelmer Vernooij, #207253)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">export</span></tt> to tgz files will only write out the basename of the
tarfile to the gzip file. (Jelmer Vernooij, #102234)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">push</span> <span class="pre">--overwrite</span></tt> with an older revision specified will now correctly
roll back the target branch. (Jelmer Vernooij, #386576)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">lp-propose</span></tt> can now propose merges against packaging branches on
Launchpad without requiring the target branch to be specified.
(Jelmer Vernooij, #704647)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">lp-propose</span></tt> no longer requires a reviewer to be specified. It will
instead leave setting the reviewer up to Launchpad if it was not specified.
(Jelmer Vernooij, #583772)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">pull</span></tt> will now exit with exit code 1 if there were tag conflicts.
(Jelmer Vernooij, #213185)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">mv</span></tt> user errors no longer throw UnicodeEncodeError with non-ascii
paths, however they may still print junk if not on a UTF-8 terminal.
(Martin [gz], #707954)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">reconfigure</span> <span class="pre">--unstacked</span></tt> now copies revisions (and their
ancestors) named in tags into the unstacked repository, not just the
ancestry of the branch&#8217;s tip.  (Andrew Bennetts, #401646)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">serve</span></tt> no longer crashes when a server_started hook is installed and
IPv6 support is available on the system. (Jelmer Vernooij, #293697)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt> will not rewrite the dirstate file if it only has
&#8216;trivial&#8217; changes. (Currently limited to dir updates and newly-added
files changing state.) This saves a bit of time for regular operations.
eg. <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt> in a 100k tree takes 1.4s to compute the status, but 1s
to re-save the dirstate file. (John Arbash Meinel, #765881)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">tags</span></tt> will no longer choke on branches with ghost revisions in
their mainline and tags on revisions not in the branch ancestry.
(Jelmer Vernooij, #397556)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">whoami</span></tt> will now display an error if both a new identity and
<tt class="docutils literal"><span class="pre">--email</span></tt> were specified. (Jelmer Vernooij, #680449)</li>
<li><tt class="docutils literal"><span class="pre">launchpadlib</span></tt> doesn&#8217;t provide the <tt class="docutils literal"><span class="pre">uris</span></tt> module in some old versions.
(Vincent Ladeuil, #706835)</li>
<li>Empty entries in the <tt class="docutils literal"><span class="pre">NO_PROXY</span></tt> variable are no longer treated as matching
every host.
(Martin Pool, #586341)</li>
<li>Plugins incompatible with the current version of bzr no longer produce a
warning on every command invocation.  Instead, a message is shown by
<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">plugins</span></tt> and in crash reports.
(#704195, Martin Pool)</li>
<li>The &#8220;pretty&#8221; version of <tt class="docutils literal"><span class="pre">needs_read_lock</span></tt> and <tt class="docutils literal"><span class="pre">needs_write_lock</span></tt> now
preserves the identity of default parameter values.
(Andrew Bennetts, #718569)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">dump-btree</span> <span class="pre">--raw</span></tt> no longer tracebacks on a B-Tree file
containing no rows. (Eric Siegerman, #715508)</li>
<li>Fix <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">lp-mirror</span></tt> to work on command line branch URLs and branches
without an explicit public location. (Max Bowsher)</li>
<li>On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the
number of available processors. (Jelmer Vernooij, #693140)</li>
</ul>
</div>
<div class="section" id="id52">
<h3>API Changes<a class="headerlink" href="#id52" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Added <tt class="docutils literal"><span class="pre">Branch.heads_to_fetch</span></tt> method.  Implementations of the Branch API
must now inherit or implement this method.  (Andrew Bennetts, #721328)</li>
<li>Added <tt class="docutils literal"><span class="pre">bzrlib.mergetools</span></tt> module with helper functions for working with
the list of external merge tools. (Gordon Tyler, #489915)</li>
<li>All methods and arguments that were deprecated before 2.0
have been removed. (Jelmer Vernooij)</li>
<li>Branch formats should now be registered on the format registry
(<tt class="docutils literal"><span class="pre">bzrlib.branch.format_registry</span></tt>) rather than using the class
methods on <tt class="docutils literal"><span class="pre">BranchFormat</span></tt>. (Jelmer Vernooij, #714729)</li>
<li><tt class="docutils literal"><span class="pre">Branch.set_revision_history</span></tt> is now deprecated.
(Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">BranchFormat.supports_leaving_lock()</span></tt> and
<tt class="docutils literal"><span class="pre">RepositoryFormat.supports_leaving_lock</span></tt> flags have been added.
(Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">Branch.fetch</span></tt> implementations must now accept an optional
<tt class="docutils literal"><span class="pre">fetch_tags</span></tt> keyword argument. (Andrew Bennetts)</li>
<li><tt class="docutils literal"><span class="pre">Branch.import_last_revision_info</span></tt> is deprecated.  Use the
<tt class="docutils literal"><span class="pre">import_last_revision_info_and_tags</span></tt> method instead.
(Andrew Bennetts)</li>
<li>Because it was too specific to BzrDir implementations,
<tt class="docutils literal"><span class="pre">ControlDir.sprout</span></tt> no longer has a default implementation; it now
raises <tt class="docutils literal"><span class="pre">NotImplementedError</span></tt>. (Jelmer Vernooij, #717937)</li>
<li><tt class="docutils literal"><span class="pre">bzrlib.deprecated_graph</span></tt> has been removed. <tt class="docutils literal"><span class="pre">bzrlib.graph</span></tt>
scales better tree and should be used instead.
(Jelmer Vernooij, #733612)</li>
<li><tt class="docutils literal"><span class="pre">ControlDirFormat.register_format</span></tt> has been removed. Instead,
<tt class="docutils literal"><span class="pre">Prober</span></tt> implementations should now implement a <tt class="docutils literal"><span class="pre">known_formats</span></tt>
method. (Jelmer Vernooij)</li>
<li>ControlDirFormats can now provide a <tt class="docutils literal"><span class="pre">check_status</span></tt> method and
raise a custom exception or warning when an unsupported or deprecated
format is being opened.  (Jelmer Vernooij, #731311)</li>
<li><tt class="docutils literal"><span class="pre">bzrlib.revionspec.dwim_revspecs</span></tt> is deprecated.
Use <tt class="docutils literal"><span class="pre">bzrlib.revisionspec.RevisionSpec_dwim.append_possible_revspec</span></tt> and
<tt class="docutils literal"><span class="pre">bzrlib.revisionspec.RevisionSpec_dwim.append_possible_lazy_revspec</span></tt>
instead.  (Jelmer Vernooij, #721971)</li>
<li><tt class="docutils literal"><span class="pre">BzrDirFormat</span></tt> has a new attribute <tt class="docutils literal"><span class="pre">fixed_components</span></tt> that
indicates whether the components of the bzrdir can be upgraded
independent of the <tt class="docutils literal"><span class="pre">BzrDir</span></tt>. (Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">BzrProber.register_format</span></tt> and <tt class="docutils literal"><span class="pre">BzrProber.unregister_format</span></tt> are
now deprecated in favour of the <tt class="docutils literal"><span class="pre">BzrProber.formats</span></tt> format registry.
(Jelmer Vernooij)</li>
<li><tt class="docutils literal"><span class="pre">ControlDir</span></tt> implementations no longer have to provide the
<tt class="docutils literal"><span class="pre">get_branch_transport</span></tt>, <tt class="docutils literal"><span class="pre">get_workingtree_transport</span></tt> and
<tt class="docutils literal"><span class="pre">get_repository_transport</span></tt> methods.  (Jelmer Vernooij, #730325)</li>
<li><tt class="docutils literal"><span class="pre">Converter</span></tt> has been moved from <tt class="docutils literal"><span class="pre">bzrlib.bzrdir</span></tt> to
<tt class="docutils literal"><span class="pre">bzrlib.controldir</span></tt>. (Jelmer Vernooij)</li>
<li>Repository formats can now provide
<tt class="docutils literal"><span class="pre">_get_extra_interrepo_test_combinations</span></tt> in the same module
to provide extra test combinations for <tt class="docutils literal"><span class="pre">bzrlib.tests.per_repository</span></tt>.
(Jelmer Vernooij)</li>
<li>Repository formats should now be registered on the format registry
(<tt class="docutils literal"><span class="pre">bzrlib.repository.format_registry</span></tt>) rather than using the class
methods on <tt class="docutils literal"><span class="pre">RepositoryFormat</span></tt>. (Jelmer Vernooij)</li>
<li>Repository formats can now indicate they do not support the full
VersionedFiles API by setting the <tt class="docutils literal"><span class="pre">supports_full_versioned_files</span></tt>
attribute to False. A subset of the VersionedFiles API
(signatures and text graphs) still needs to be supported.
(Jelmer Vernooij)</li>
<li>Repository formats have a new method <tt class="docutils literal"><span class="pre">is_deprecated</span></tt> that
implementations can override to return True to trigger a deprecation
warning. (Jelmer Vernooij)</li>
<li>The <tt class="docutils literal"><span class="pre">revision_id</span></tt> parameter of
<tt class="docutils literal"><span class="pre">Repository.search_missing_revision_ids</span></tt> and
<tt class="docutils literal"><span class="pre">InterRepository.search_missing_revision_ids</span></tt> is deprecated.  It is
replaced by the <tt class="docutils literal"><span class="pre">revision_ids</span></tt> parameter.  (Andrew Bennetts)</li>
<li>Working tree formats should now be registered on the format registry
(<tt class="docutils literal"><span class="pre">bzrlib.working_tree.format_registry</span></tt>) rather than using the class
methods on <tt class="docutils literal"><span class="pre">WorkingTreeFormat</span></tt>. (Jelmer Vernooij, #714730)</li>
<li>Exporting may now be done with a generator
(<tt class="docutils literal"><span class="pre">bzrlib.export.get_export_generator</span></tt>) (Geoff/xaav, #791005)</li>
</ul>
</div>
<div class="section" id="id53">
<h3>Internals<a class="headerlink" href="#id53" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">CatchingExceptionThread</span></tt> (formerly ThreadWithException) has been moved
out of the <tt class="docutils literal"><span class="pre">bzrlib.tests</span></tt> hierarchy to make it clearer that it can be used
outside of tests. This class makes it easier to track exceptions in threads
by catching them so they can be re-raised in the controlling thread. It&#8217;s
available in the <tt class="docutils literal"><span class="pre">bzrlib.cethread</span></tt> module.  (Vincent Ladeuil)</li>
<li>Correctly propagate malloc failures from diff-delta.c code as MemoryError
so OOM conditions during groupcompress are clearly reported. This entailed a
change to several function signatures. (Martin [gz], #633336)</li>
<li><tt class="docutils literal"><span class="pre">HookPoint.lazy_hook</span></tt> and <tt class="docutils literal"><span class="pre">Hooks.install_named_lazy_hook</span></tt> can install
hooks for which the callable is loaded lazily.  (Jelmer Vernooij)</li>
</ul>
</div>
<div class="section" id="id54">
<h3>Testing<a class="headerlink" href="#id54" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>The Range parsing for HTTP requests will correctly parse incomplete ranges.
(Vincent Ladeuil, #731240)</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-2-4-2">bzr 2.4.2</a><ul>
<li><a class="reference internal" href="#external-compatibility-breaks">External 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>
<li><a class="reference internal" href="#testing">Testing</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bzr-2-4-1">bzr 2.4.1</a><ul>
<li><a class="reference internal" href="#id1">External Compatibility Breaks</a></li>
<li><a class="reference internal" href="#id2">New Features</a></li>
<li><a class="reference internal" href="#id3">Improvements</a></li>
<li><a class="reference internal" href="#id4">Bug Fixes</a></li>
<li><a class="reference internal" href="#id5">Documentation</a></li>
<li><a class="reference internal" href="#id6">API Changes</a></li>
<li><a class="reference internal" href="#id7">Internals</a></li>
<li><a class="reference internal" href="#id8">Testing</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bzr-2-4-0">bzr 2.4.0</a><ul>
<li><a class="reference internal" href="#id9">External Compatibility Breaks</a></li>
<li><a class="reference internal" href="#id10">New Features</a></li>
<li><a class="reference internal" href="#id11">Improvements</a></li>
<li><a class="reference internal" href="#id12">Bug Fixes</a></li>
<li><a class="reference internal" href="#id13">Documentation</a></li>
<li><a class="reference internal" href="#id14">API Changes</a></li>
<li><a class="reference internal" href="#id15">Internals</a></li>
<li><a class="reference internal" href="#id16">Testing</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bzr-2-4b5">bzr 2.4b5</a><ul>
<li><a class="reference internal" href="#id17">External Compatibility Breaks</a></li>
<li><a class="reference internal" href="#id18">New Features</a></li>
<li><a class="reference internal" href="#id19">Improvements</a></li>
<li><a class="reference internal" href="#id20">Bug Fixes</a></li>
<li><a class="reference internal" href="#id21">API Changes</a></li>
<li><a class="reference internal" href="#id22">Internals</a></li>
<li><a class="reference internal" href="#id23">Testing</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bzr-2-4b4">bzr 2.4b4</a><ul>
<li><a class="reference internal" href="#id24">External Compatibility Breaks</a></li>
<li><a class="reference internal" href="#id25">New Features</a></li>
<li><a class="reference internal" href="#id26">Improvements</a></li>
<li><a class="reference internal" href="#id27">Bug Fixes</a></li>
<li><a class="reference internal" href="#id28">Documentation</a></li>
<li><a class="reference internal" href="#id29">API Changes</a></li>
<li><a class="reference internal" href="#id30">Internals</a></li>
<li><a class="reference internal" href="#id31">Testing</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bzr-2-4b3">bzr 2.4b3</a><ul>
<li><a class="reference internal" href="#id32">External Compatibility Breaks</a></li>
<li><a class="reference internal" href="#id33">New Features</a></li>
<li><a class="reference internal" href="#id34">Improvements</a></li>
<li><a class="reference internal" href="#id35">Bug Fixes</a></li>
<li><a class="reference internal" href="#id36">Documentation</a></li>
<li><a class="reference internal" href="#id37">API Changes</a></li>
<li><a class="reference internal" href="#id38">Internals</a></li>
<li><a class="reference internal" href="#id39">Testing</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bzr-2-4b2">bzr 2.4b2</a><ul>
<li><a class="reference internal" href="#id40">External Compatibility Breaks</a></li>
<li><a class="reference internal" href="#id41">New Features</a></li>
<li><a class="reference internal" href="#id42">Improvements</a></li>
<li><a class="reference internal" href="#id43">Bug Fixes</a></li>
<li><a class="reference internal" href="#id44">Documentation</a></li>
<li><a class="reference internal" href="#id45">API Changes</a></li>
<li><a class="reference internal" href="#id46">Internals</a></li>
<li><a class="reference internal" href="#id47">Testing</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bzr-2-4b1">bzr 2.4b1</a><ul>
<li><a class="reference internal" href="#id48">External Compatibility Breaks</a></li>
<li><a class="reference internal" href="#id49">New Features</a></li>
<li><a class="reference internal" href="#id50">Improvements</a></li>
<li><a class="reference internal" href="#id51">Bug Fixes</a></li>
<li><a class="reference internal" href="#id52">API Changes</a></li>
<li><a class="reference internal" href="#id53">Internals</a></li>
<li><a class="reference internal" href="#id54">Testing</a></li>
</ul>
</li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="index.html"
                        title="previous chapter">Bazaar Release Notes</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="bzr-2.3.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-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" 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-2.3.html" title="Bazaar Release Notes"
             >next</a></li>
        <li class="right" >
          <a href="index.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.4.2)</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.pocoo.org/">Sphinx</a> 1.0.7.
    </div>
  </body>
</html>