Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 3ad95df1b9ec0c823807557dbacf5694 > files > 535

bzr-doc-2.2.4-1.fc14.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>bzr 1.6beta1 &mdash; Bazaar v2.2.4 documentation</title>
    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '2.2.4',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="shortcut icon" href="../_static/bzr.ico"/>
    <link rel="top" title="Bazaar v2.2.4 documentation" href="../index.html" />
    <link rel="up" title="Bazaar Release Notes" href="index.html" />
    <link rel="next" title="bzr 1.5" href="bzr-1.5.html" />
    <link rel="prev" title="bzr 1.6beta2" href="bzr-1.6beta2.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="bzr-1.5.html" title="bzr 1.5"
             accesskey="N">next</a></li>
        <li class="right" >
          <a href="bzr-1.6beta2.html" title="bzr 1.6beta2"
             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.2.4)</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="bzr-1-6beta1">
<h1>bzr 1.6beta1<a class="headerlink" href="#bzr-1-6beta1" title="Permalink to this headline">¶</a></h1>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field"><th class="field-name">Released:</th><td class="field-body">2008-06-02</td>
</tr>
</tbody>
</table>
<p>Commands that work on the revision history such as push, pull, missing,
uncommit and log are now substantially faster.  This release adds a
translation of some of the user documentation into Spanish.  (Contributions of
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
protocol which is used by default and which allows for more efficient transfers
and future extensions.</p>
<div class="section" id="notes-when-upgrading">
<h2>Notes When Upgrading<a class="headerlink" href="#notes-when-upgrading" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>There is a new version of the network protocol used for bzr://, bzr+ssh://
and bzr+http:// connections.  This will allow more efficient requests and
responses, and more graceful fallback when a server is too old to
recognise a request from a more recent client.  Bazaar 1.6 will
interoperate with 0.16 and later versions, but servers should be upgraded
when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
these protocols.  Use alternatives like SFTP or upgrade those servers.
(Andrew Bennetts, #83935)</li>
</ul>
</div>
<div class="section" id="changes">
<h2>Changes<a class="headerlink" href="#changes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Deprecation warnings will not be suppressed when running <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">selftest</span></tt>
so that developers can see if their code is using deprecated functions.
(John Arbash Meinel)</li>
</ul>
</div>
<div class="section" id="features">
<h2>Features<a class="headerlink" href="#features" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Adding <tt class="docutils literal"><span class="pre">-Derror</span></tt> will now display a traceback when a plugin fails to
load. (James Westby)</li>
</ul>
</div>
<div class="section" id="improvements">
<h2>Improvements<a class="headerlink" href="#improvements" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch/push/pull</span> <span class="pre">-r</span> <span class="pre">XXX</span></tt> now have a helper function for finding
the revno of the new revision (<tt class="docutils literal"><span class="pre">Graph.find_distance_to_null</span></tt>). This
should make something like <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">branch</span> <span class="pre">-r</span> <span class="pre">-100</span></tt> in a shared, no-trees
repository much snappier. (John Arbash Meinel)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">--short</span> <span class="pre">-r</span> <span class="pre">X..Y</span></tt> no longer needs to access the full revision
history. This makes it noticeably faster when logging the last few
revisions. (John Arbash Meinel)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">ls</span></tt> now accepts <tt class="docutils literal"><span class="pre">-V</span></tt> as an alias for <tt class="docutils literal"><span class="pre">--versioned</span></tt>.
(Jerad Cramp, #165086)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">missing</span></tt> uses the new <tt class="docutils literal"><span class="pre">Graph.find_unique_ancestors</span></tt> and
<tt class="docutils literal"><span class="pre">Graph.find_differences</span></tt> to determine missing revisions without having
to search the whole ancestry. (John Arbash Meinel, #174625)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">uncommit</span></tt> now uses partial history access, rather than always
extracting the full revision history for a branch. This makes it
resolve the appropriate revisions much faster (in testing it drops
uncommit from 1.5s =&gt; 0.4s). It also means <tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">log</span> <span class="pre">--short</span></tt> is one
step closer to not using full revision history.
(John Arbash Meinel, #172649)</li>
</ul>
</div>
<div class="section" id="bugfixes">
<h2>Bugfixes<a class="headerlink" href="#bugfixes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">merge</span> <span class="pre">--lca</span></tt> should handle when two revisions have no common
ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">status</span></tt> was breaking if you merged the same revision twice.
(John Arbash Meinel, #235407)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">push</span></tt> with both <tt class="docutils literal"><span class="pre">--overwrite</span></tt> and <tt class="docutils literal"><span class="pre">-r</span> <span class="pre">NNN</span></tt> options no longer
fails.  (Andrew Bennetts, #234229)</li>
<li>Correctly track the base URL of a smart medium when using bzr+http://
URLs, which was causing spurious &#8220;No repository present&#8221; errors with
branches in shared repositories accessed over bzr+http.
(Andrew Bennetts, #230550)</li>
<li>Define <tt class="docutils literal"><span class="pre">_remote_is_at_least_1_2</span></tt> on <tt class="docutils literal"><span class="pre">SmartClientMedium</span></tt> so that all
implementations have the attribute.  Fixes &#8216;PyCurlTransport&#8217; object has no
attribute &#8216;_remote_is_at_least_1_2&#8217; attribute errors.
(Andrew Bennetts, #220806)</li>
<li>Failure to delete an obsolete pack file should just give a warning
message, not a fatal error.  It may for example fail if the file is still
in use by another process.
(Martin Pool)</li>
<li>Fix MemoryError during large fetches over HTTP by limiting the amount of
data we try to read per <tt class="docutils literal"><span class="pre">recv</span></tt> call.  The problem was observed with
Windows and a proxy, but might affect other environments as well.
(Eric Holmberg, #215426)</li>
<li>Handle old merge directives correctly in Merger.from_mergeable.  Stricter
get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)</li>
<li>Issue a warning and ignore passwords declared in authentication.conf when
used for an ssh scheme (sftp or bzr+ssh).
(Vincent Ladeuil, #203186)</li>
<li>Make both http implementations raise appropriate exceptions on 403
Forbidden when POSTing smart requests.
(Vincent Ladeuil, #230223)</li>
<li>Properly <em>title</em> header names in http requests instead of capitalizing
them.
(Vincent Ladeuil, #229076)</li>
<li>The &#8220;Unable to obtain lock&#8221; error message now also suggests using
<tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">break-lock</span></tt> to fix it.  (Martin Albisetti, #139202)</li>
<li>Treat an encoding of &#8216;&#8217; as ascii; this can happen when bzr is run
under vim on Mac OS X.
(Neil Martinsen-Burrell)</li>
<li><tt class="docutils literal"><span class="pre">VersionedFile.make_mpdiffs()</span></tt> was raising an exception that wasn&#8217;t in
scope. (Daniel Fischer #235687)</li>
</ul>
</div>
<div class="section" id="documentation">
<h2>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Added directory structure and started translation of docs in spanish.
(Martin Albisetti, Lucio Albenga)</li>
<li>Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
on the plugin and integration chapters of the User Guide.
(Ian Clatworthy)</li>
<li>More Bazaar developer documentation about packaging and release process,
and about use of Python reprs.
(Martin Pool, Martin Albisetti)</li>
<li>Updated Tortise strategy document. (Mark Hammond)</li>
</ul>
</div>
<div class="section" id="testing">
<h2>Testing<a class="headerlink" href="#testing" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">bzrlib.tests.adapt_tests</span></tt> was broken and unused - it has been fixed.
(Robert Collins)</li>
<li>Fix the test HTTPServer to be isolated from chdir calls made while it is
running, allowing it to be used in blackbox tests. (Robert Collins)</li>
<li>New helper function for splitting test suites
<tt class="docutils literal"><span class="pre">split_suite_by_condition</span></tt>. (Robert Collins)</li>
</ul>
</div>
<div class="section" id="internals">
<h2>Internals<a class="headerlink" href="#internals" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">Branch.missing_revisions</span></tt> has been deprecated. Similar functionality
can be obtained using <tt class="docutils literal"><span class="pre">bzrlib.missing.find_unmerged</span></tt>. The api was
fairly broken, and the function was unused, so we are getting rid of it.
(John Arbash Meinel)</li>
</ul>
</div>
<div class="section" id="api-changes">
<h2>API Changes<a class="headerlink" href="#api-changes" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><tt class="docutils literal"><span class="pre">Branch.abspath</span></tt> is deprecated; use the Tree or Transport
instead.  (Martin Pool)</li>
<li><tt class="docutils literal"><span class="pre">Branch.update_revisions</span></tt> now takes an optional <tt class="docutils literal"><span class="pre">Graph</span></tt>
object. This can be used by <tt class="docutils literal"><span class="pre">update_revisions</span></tt> when it is
checking ancestry, and allows callers to prefer request to go to a
local branch.  (John Arbash Meinel)</li>
<li>Branch, Repository, Tree and BzrDir should expose a Transport as an
attribute if they have one, rather than having it indirectly accessible
as <tt class="docutils literal"><span class="pre">.control_files._transport</span></tt>.  This doesn&#8217;t add a requirement
to support a Transport in cases where it was not needed before;
it just simplifies the way it is reached.  (Martin Pool)</li>
<li><tt class="docutils literal"><span class="pre">bzr</span> <span class="pre">missing</span> <span class="pre">--mine-only</span></tt> will return status code 0 if you have no
new revisions, but the remote does. Similarly for <tt class="docutils literal"><span class="pre">--theirs-only</span></tt>.
The new code only checks one side, so it doesn&#8217;t know if the other
side has changes. This seems more accurate with the request anyway.
It also changes the output to print &#8216;[This|Other] branch is up to
date.&#8217; rather than displaying nothing.  (John Arbash Meinel)</li>
<li><tt class="docutils literal"><span class="pre">LockableFiles.put_utf8</span></tt>, <tt class="docutils literal"><span class="pre">put_bytes</span></tt> and <tt class="docutils literal"><span class="pre">controlfilename</span></tt>
are now deprecated in favor of using Transport operations.
(Martin Pool)</li>
<li>Many methods on <tt class="docutils literal"><span class="pre">VersionedFile</span></tt>, <tt class="docutils literal"><span class="pre">Repository</span></tt> and in
<tt class="docutils literal"><span class="pre">bzrlib.revision</span></tt>  deprecated before bzrlib 1.5 have been removed.
(Robert Collins)</li>
<li><tt class="docutils literal"><span class="pre">RevisionSpec.wants_revision_history</span></tt> can be set to False for a given
<tt class="docutils literal"><span class="pre">RevisionSpec</span></tt>. This will disable the existing behavior of passing in
the full revision history to <tt class="docutils literal"><span class="pre">self._match_on</span></tt>. Useful for specs that
don&#8217;t actually need access to the full history. (John Arbash Meinel)</li>
<li>The constructors of <tt class="docutils literal"><span class="pre">SmartClientMedium</span></tt> and its subclasses now require a
<tt class="docutils literal"><span class="pre">base</span></tt> parameter.  <tt class="docutils literal"><span class="pre">SmartClientMedium</span></tt> implementations now also need
to provide a <tt class="docutils literal"><span class="pre">remote_path_from_transport</span></tt> method.  (Andrew Bennetts)</li>
<li>The default permissions for creating new files and directories
should now be obtained from <tt class="docutils literal"><span class="pre">BzrDir._get_file_mode()</span></tt> and
<tt class="docutils literal"><span class="pre">_get_dir_mode()</span></tt>, rather than from LockableFiles.  The <tt class="docutils literal"><span class="pre">_set_file_mode</span></tt>
and <tt class="docutils literal"><span class="pre">_set_dir_mode</span></tt> variables on LockableFiles which were advertised
as a way for plugins to control this are no longer consulted.
(Martin Pool)</li>
<li><tt class="docutils literal"><span class="pre">VersionedFile.join</span></tt> is deprecated. This method required local
instances of both versioned file objects and was thus hostile to being
used for streaming from a smart server. The new get_record_stream and
insert_record_stream are meant to efficiently replace this method.
(Robert Collins)</li>
<li><tt class="docutils literal"><span class="pre">WorkingTree.set_parent_(ids/trees)</span></tt> will now filter out revisions
which are in the ancestry of other revisions. So if you merge the same
tree twice, or merge an ancestor of an existing merge, it will only
record the newest. (If you merge a descendent, it will replace its
ancestor). (John Arbash Meinel, #235407)</li>
<li><tt class="docutils literal"><span class="pre">WorkingTreeFormat2.stub_initialize_remote</span></tt> is now private.
(Martin Pool)</li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">bzr 1.6beta1</a><ul>
<li><a class="reference internal" href="#notes-when-upgrading">Notes When Upgrading</a></li>
<li><a class="reference internal" href="#changes">Changes</a></li>
<li><a class="reference internal" href="#features">Features</a></li>
<li><a class="reference internal" href="#improvements">Improvements</a></li>
<li><a class="reference internal" href="#bugfixes">Bugfixes</a></li>
<li><a class="reference internal" href="#documentation">Documentation</a></li>
<li><a class="reference internal" href="#testing">Testing</a></li>
<li><a class="reference internal" href="#internals">Internals</a></li>
<li><a class="reference internal" href="#api-changes">API Changes</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="bzr-1.6beta2.html"
                        title="previous chapter">bzr 1.6beta2</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="bzr-1.5.html"
                        title="next chapter">bzr 1.5</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/release-notes/bzr-1.6beta1.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-1.5.html" title="bzr 1.5"
             >next</a></li>
        <li class="right" >
          <a href="bzr-1.6beta2.html" title="bzr 1.6beta2"
             >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.2.4)</a> &raquo;</li>

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