11
:2.4b1: NOT RELEASED YET
13
External Compatibility Breaks
14
*****************************
16
.. These may require users to change the way they use Bazaar.
21
.. New commands, options, etc that users may wish to try out.
23
* The ``lp:`` directory service now supports Launchpad's QA staging.
24
(Jelmer Vernooij, #667483)
26
* External merge tools can now be configured in bazaar.conf. See
27
``bzr help configuration`` for more information. (Gordon Tyler, #489915)
32
.. Improvements to existing commands, especially improved performance
33
or memory usage, or better results.
35
* A new hidden command ``bzr repair-workingtree``. This is a way to force
36
the dirstate file to be rebuilt, rather than using a ``bzr checkout``
37
workaround. (John Arbash Meinel)
39
* Branching, merging and pulling a branch now copies revisions named in
40
tags, not just the tag metadata. (Andrew Bennetts, #309682)
42
* ``bzr cat-revision`` no longer requires a working tree. (Jelmer Vernooij, #704405)
47
.. Fixes for situations where bzr would previously crash or give incorrect
48
or undesirable results.
50
* ``bzr annotate -r-1 file`` will now properly annotate a deleted file.
51
(Andrew King, #537442)
53
* ``bzr export`` to zip files will now set a mode on directories.
54
(Jelmer Vernooij, #207253)
56
* ``bzr push --overwrite`` with an older revision specified will now correctly
57
roll back the target branch. (Jelmer Vernooij, #386576)
59
* ``bzr lp-propose`` can now propose merges against packaging branches on
60
Launchpad without requiring the target branch to be specified.
61
(Jelmer Vernooij, #704647)
63
* ``bzr lp-propose`` no longer requires a reviewer to be specified. It will
64
instead leave setting the reviewer up to Launchpad if it was not specified.
65
(Jelmer Vernooij, #583772)
67
* ``bzr pull`` will now exit with exit code 1 if there were tag conflicts.
68
(Jelmer Vernooij, #213185)
70
* ``bzr mv`` user errors no longer throw UnicodeEncodeError with non-ascii
71
paths, however they may still print junk if not on a UTF-8 terminal.
72
(Martin [gz], #707954)
74
* ``bzr reconfigure --unstacked`` now copies revisions (and their
75
ancestors) named in tags into the unstacked repository, not just the
76
ancestry of the branch's tip. (Andrew Bennetts, #401646)
78
* ``bzr serve`` no longer crashes when a server_started hook is installed and
79
IPv6 support is available on the system. (Jelmer Vernooij, #293697)
81
* ``bzr whoami`` will now display an error if both a new identity and
82
``--email`` were specified. (Jelmer Vernooij, #680449)
84
* ``launchpadlib`` doesn't provide the ``uris`` module in some old versions.
85
(Vincent Ladeuil, #706835)
87
* Empty entries in the ``NO_PROXY`` variable are no longer treated as matching
89
(Martin Pool, #586341)
91
* Plugins incompatible with the current version of bzr no longer produce a
92
warning on every command invocation. Instead, a message is shown by
93
``bzr plugins`` and in crash reports.
94
(#704195, Martin Pool)
96
* The "pretty" version of ``needs_read_lock`` and ``needs_write_lock`` now
97
preserves the identity of default parameter values.
98
(Andrew Bennetts, #718569)
100
* ``bzr dump-btree --raw`` no longer tracebacks on a B-Tree file
101
containing no rows. (Eric Siegerman, #715508)
103
* Fix ``bzr lp-mirror`` to work on command line branch URLs and branches
104
without an explicit public location. (Max Bowsher)
109
.. Improved or updated documentation.
114
.. Changes that may require updates in plugins or other code that uses
117
* Added ``bzrlib.mergetools`` module with helper functions for working with
118
the list of external merge tools. (Gordon Tyler, #489915)
120
* ``Branch.fetch`` implementations must now accept an optional
121
``fetch_spec`` keyword argument. (Andrew Bennetts)
123
* ``Branch.import_last_revision_info`` is deprecated. Use the
124
``import_last_revision_info_and_tags`` method instead.
127
* Repository formats should now be registered on the format registry
128
(``bzrlib.repository.format_registry``) rather than using the class
129
methods on ``RepositoryFormat``. (Jelmer Vernooij)
131
* The ``revision_id`` parameter of
132
``Repository.search_missing_revision_ids`` and
133
``InterRepository.search_missing_revision_ids`` is deprecated. It is
134
replaced by the ``revision_ids`` parameter. (Andrew Bennetts)
139
.. Major internal changes, unlikely to be visible to users or plugin
140
developers, but interesting for bzr developers.
142
* ``CatchingExceptionThread`` (formerly ThreadWithException) has been moved
143
out of the ``bzrlib.tests`` hierarchy to make it clearer that it can be used
144
outside of tests. This class makes it easier to track exceptions in threads
145
by cacthing them so they can be re-raised in the controlling thread. It's
146
available in the ``bzrlib.cethread`` module. (Vincent Ladeuil)
148
* ``HookPoint.lazy_hook`` and ``Hooks.install_named_lazy_hook`` can install
149
hooks for which the callable is loaded lazily. (Jelmer Vernooij)
154
.. Fixes and changes that are only relevant to bzr's test framework and
155
suite. This can include new facilities for writing tests, fixes to
156
spurious test failures and changes to the way things should be tested.
159
vim: tw=74 ft=rst ff=unix