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)
106
* On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the
107
number of available processors. (Jelmer Vernooij, #693140)
112
.. Improved or updated documentation.
117
.. Changes that may require updates in plugins or other code that uses
120
* Added ``bzrlib.mergetools`` module with helper functions for working with
121
the list of external merge tools. (Gordon Tyler, #489915)
123
* All methods and arguments that were deprecated before 2.0
124
have been removed. (Jelmer Vernooij)
126
* Branch formats should now be registered on the format registry
127
(``bzrlib.branch.format_registry``) rather than using the class
128
methods on ``BranchFormat``. (Jelmer Vernooij, #714729)
130
* ``BranchFormat.supports_leaving_lock()`` and
131
``RepositoryFormat.supports_leaving_lock`` flags have been added.
134
* ``Branch.fetch`` implementations must now accept an optional
135
``fetch_spec`` keyword argument. (Andrew Bennetts)
137
* ``Branch.import_last_revision_info`` is deprecated. Use the
138
``import_last_revision_info_and_tags`` method instead.
141
* ``BzrDirFormat`` has a new attribute ``fixed_components`` that
142
indicates whether the components of the bzrdir can be upgraded
143
independent of the ``BzrDir``. (Jelmer Vernooij)
145
* Repository formats should now be registered on the format registry
146
(``bzrlib.repository.format_registry``) rather than using the class
147
methods on ``RepositoryFormat``. (Jelmer Vernooij)
149
* The ``revision_id`` parameter of
150
``Repository.search_missing_revision_ids`` and
151
``InterRepository.search_missing_revision_ids`` is deprecated. It is
152
replaced by the ``revision_ids`` parameter. (Andrew Bennetts)
154
* Working tree formats should now be registered on the format registry
155
(``bzrlib.working_tree.format_registry``) rather than using the class
156
methods on ``WorkingTreeFormat``. (Jelmer Vernooij, #714730)
161
.. Major internal changes, unlikely to be visible to users or plugin
162
developers, but interesting for bzr developers.
164
* ``CatchingExceptionThread`` (formerly ThreadWithException) has been moved
165
out of the ``bzrlib.tests`` hierarchy to make it clearer that it can be used
166
outside of tests. This class makes it easier to track exceptions in threads
167
by cacthing them so they can be re-raised in the controlling thread. It's
168
available in the ``bzrlib.cethread`` module. (Vincent Ladeuil)
170
* ``HookPoint.lazy_hook`` and ``Hooks.install_named_lazy_hook`` can install
171
hooks for which the callable is loaded lazily. (Jelmer Vernooij)
176
.. Fixes and changes that are only relevant to bzr's test framework and
177
suite. This can include new facilities for writing tests, fixes to
178
spurious test failures and changes to the way things should be tested.
181
vim: tw=74 ft=rst ff=unix