bzr 2.3b3
#########
:2.3b3: 2010-11-05
External Compatibility Breaks
*****************************
(none)
New Features
************
* Add --no-tree option to 'bzr push' and 'bzr init' for creating a
new or mirrored branch without working trees.
(Matthew Gordon, #506730)
* ``bzr config`` is a new command that displays the configuration options for
a given directory. It accepts a glob to match against multiple options at
once. It can also be used to set or delete a configuration option in any
configuration file. (Vincent Ladeuil)
* New shortcut url schemes ``ubuntu:`` and ``debianlp:`` access source
branches on Launchpad. E.g. ``bzr branch ubuntu:foo`` gives you the source
branch for project ``foo`` in the current distroseries for Ubuntu while
``bzr branch debianlp:lenny/foo`` gives you the source branch (on Launchpad)
for project ``foo`` in Debian Lenny.
(Barry Warsaw, #609186)
* Provide a configuration option "default_format" that controls the
default format for new branches created with ``bzr init``.
(Neil Martinsen-Burrell, #484101)
Bug Fixes
*********
* Always set PATH in start_bzr.bat on Windows. (Matthäus G. Chajdas, #470264)
* ``bzr status -r X..Y`` was failing because RevisionTree didn't implement
``get_shelf_manager``. (John Arbash Meinel, #662053)
* Correctly add directory contents when the name was previously added as a
normal file, rather than throwing ``AttributeError: children`` during
smart_add. (Martin [gz], #251864)
* Correctly handle the ``--directory`` option for all code paths of
``resolve`` and ``shelve``, this was previously ignored when paths were
provided as parameters. When both are provided, ``--directory`` becomes
the base directory for the other paths. (Vincent Ladeuil, #670851)
* Correctly set the Content-Type header when http POSTing to comply
with stricter web frameworks. (Vincent Ladeuil, #655100)
* Don't force openssh to use protocol=2, since that is now the default.
(Neil Martinsen-Burrell, #561061)
* Fix ``KeyError: 'port'`` when getting the stored password for an http
URL.
(Martin Pool, #654684)
* Make ``bzr tag --quiet`` really quiet. (Neil Martinsen-Burrell, #239523)
* Missing files (files bzr add'ed and then OS deleted) are now shown in ``bzr
status`` output. (Rory Yorke, #134168)
* ``NotBranchError`` no longer allows errors from calling
``bzrdir.open_repository()`` to propagate. This is unhelpful at best,
and at worst can trigger infinite loops in callers. (Andrew Bennetts)
* Windows installers no longer requires the Microsoft vcredist to be
installed. (Martin [gz], Gary van der Merwe, #632465)
Documentation
*************
* Add documentation of the ability to edit hunks when shelving.
(Neil Martinsen-Burrell, #517660)
* Be more specific about the meaning of revision ranges for ``bzr diff``.
(Neil Martinsen-Burrell, #247282)
* Document the comment character in the .bzrignore file, including a
workaround for ignore patterns that begin with #.
(Neil Martinsen-Burrell, #621515)
API Changes
***********
* Add ``bzrlib.pyutils`` module with helper functions for some Python
tasks such as resolving a dotted name to a Python object
(``get_named_object``). (Andrew Bennetts)
* ``bzrlib.tests.ForwardingResult`` no longer exists. Use
``testtools.ExtendedToOriginalDecorator`` instead. (Andrew Bennetts)
* ``known_hooks_key_to_parent_and_attribute`` in ``bzrlib.hooks`` has been
deprecated in favour of ``known_hooks.key_to_parent_and_attribute`` in
the same module. (Andrew Bennetts)
Internals
*********
* ``tools/fixed-in.py`` find a bug in NEWS from its number or a regexp
matching the news entry and display the corresponding release, date, fix
authors and the news entry itself. (Vincent Ladeuil)
Testing
*******
* Blank output section in scriptrunner tests no longer match any output.
Instead, use '...' as a wildcard if you don't care about the output.
(Martin Pool, #637830)
* ``bzr test-script script`` is a new command that runs a shell-like script
from an the ``script`` file. (Vincent Ladeuil)
* Fix spurious test failures on babune related to the http pipe cleanup and
get rid of some 'bytes left on the HTTP socket' useless log messages.
(Vincent Ladeuil, #655557)
* ``bzrlib.tests.per_workingtree.TestCaseWithWorkingTree.make_branch_builder``
respects its ``relpath`` parameter. (Vincent Ladeuil)