5
5
.. contents:: List of Releases
11
:2.2b3: NOT RELEASED YET
19
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
21
(Parth Malwankar, #571467)
23
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
24
the default ignore rules used by bzr. The flag ``--old-default-rules``
25
is no longer supported by ``ignore``.
26
(Parth Malwankar, #538703)
28
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
29
can save disk space by deleting obsolete pack files created during the
31
(Parth Malwankar, #304320)
36
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
group ownership from the containing directory. This allow bzr to work
39
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
41
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
are part of Y ancestry but not part of X ancestry (aka the graph
44
(Vincent Ladeuil, #320119)
46
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
(Vincent Ladeuil, #566670)
49
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
(Vincent Ladeuil, #563997)
52
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
(Vincent Ladeuil, #401599)
55
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
57
(Andrew Bennetts, #528041)
59
* Reduce peak memory by one copy of compressed text.
60
(John Arbash Meinel, #566940)
62
* Show the filenames when a file rename fails so that the error will be
64
(Martin Pool, #491763)
69
* ``append_revisions_only`` will now be interpreted as a boolean and a
70
warning emitted if illegal values are used. Note that for projects
71
that needs to maintain compatibility with previsous bzr versions,
72
only 'True' and 'False' strings must be used (previous versions of
73
bzr will interpret all strings differing from 'True'
74
(case-sensitive) as false.
75
(Brian de Alwis, Vincent Ladeuil)
77
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
be interpreted as a boolean.
87
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
88
some kinds of ``merge_file_content`` hook functions.
91
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
92
`user_transport`, `control_url` and `control_transport` members pointing
93
respectively to the directory containing the ``.bzr`` control directory,
94
and to the directory within ``.bzr`` used for the particular component.
95
All of them inherit from `ControlComponent` which provides default
102
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
suboptimal network behaviour is noticed; instead it just mutters to the
104
log file (and warns the user if they have set the ``hpss`` debug flag).
105
This was causing unnecessary aborts for performance bugs that are minor
107
(Andrew Bennetts, #528041)
109
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
110
files loaded from disk. To ensure docstrings needed for help are never
111
stripped, the prefix ``__doc__ =`` should now be used.
112
(Martin <gzlist@googlemail.com>)
117
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
118
our first in-tree matcher. See the module docstring for details.
121
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
122
(Gordon Tyler, #551332)
124
* Workaround ``Crypto.Random`` check leading to spurious test
125
failures on Lucid, FreeBSD and gentoo.
126
(Vincent Ladeuil, #528436)
133
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
134
incompatibility in the 2.2b1 release. It also includes a swag of
135
performance, usability and correctness improvements: test feedback on all
136
of these would be welcome.
142
* ``bzr diff`` now supports a --format option, which can be used to
143
select alternative diff formats. (Jelmer Vernooij, #555994)
148
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
149
instead of failing when dirty trees are involved. The corresponding
150
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
151
True explicitly to get the previous behaviour.
152
(Vincent Ladeuil, #519319)
154
* ``bzr export`` to tar file does not fail if any parent directory
155
contains unicode characters. This works around upstream Python bug
156
http://bugs.python.org/issue8396 .
157
(Parth Malwankar, #413406)
159
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
160
(Aaron Bentley, #559436)
162
* ``bzr update`` when a pending merge in the working tree has been merged
163
into the master branch will no longer claim that old commits have become
164
pending merges. (Robert Collins, #562079)
166
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
167
config as in previous versions of bzrlib. (Robert Collins)
169
* Fix glitch in the warning about unclean trees display.
170
(Vincent Ladeuil, #562665)
172
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
175
* Help messages generated by ``RegistryOption.from_kwargs`` list the
176
switches in alphabetical order, rather than in an undefined order.
177
(Martin von Gagern, #559409)
179
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
180
Apport crash reports, to avoid "This problem report applies to a program
181
which is not installed any more" error.
182
(Martin Pool, James Westby, #528114)
184
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
187
errors after two window resizes.
190
* When invoked with a range revision, ``bzr log`` doesn't show revisions
191
that are not part of the Y revisions ancestry anymore when invoked with
193
(Vincent Ladeuil, #474807)
195
* Properly handle ``param_name`` attribute for ``ListOption``.
196
(Martin von Gagern, 387117)
201
* ``bzr commit`` will prompt before using a commit message that was
202
generated by a template and not edited by the user.
203
(Robert Collins, #530265)
205
* ``bzr diff`` read-locks the trees and branches only once, saving about
206
10-20ms on ``bzr diff`` in a bzr.dev tree.
209
* ``bzr missing`` read-locks the branches only once.
212
* ``bzr pull`` locks the branches and tree only once.
215
* Index lookups in pack repositories search recently hit pack files first.
216
In repositories with many pack files this can greatly reduce the
217
number of files accessed, the number of bytes read, and the number of
218
read calls. An incremental pull via plain HTTP takes half the time and
219
bytes for a moderately large repository. (Andrew Bennetts)
221
* Index lookups only re-order the indexes when the hit files aren't
222
already first. Reduces the cost of reordering
223
(John Arbash Meinel, #562429)
225
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
227
(Martin Pool, #553017)
232
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
233
``get_trees_and_branches_to_diff_locked`` instead.
239
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
240
2.1 method of calling run() to perform testing or direct use via the API
241
is now possible again. As part of this, the _operation attribute on
242
Command is now transient and only exists for the duration of ``run()``.
11
:2.2.0b1: Not released yet
250
13
Compatibility Breaks
251
14
********************