11
:2.4.2: 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.
26
.. Improvements to existing commands, especially improved performance
27
or memory usage, or better results.
29
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
30
every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
35
* Fixed an infinite loop when creating a repo at the root of the filesystem,
36
i.e. "/", due to posixpath.normpath() not collapsing 2 leading slashes into
37
one, thus respecting the POSIX standard, but making relpath() loop infinitely.
38
(Florian Vichot, #861008)
40
* Fixed loading of external merge tools from config to properly decode
41
command-lines which contain embedded quotes. (Gordon Tyler, #828803)
43
* Include declaration of 'changed' to avoid an UnboundLocalError in dirstate
44
pyrex code with new Cython versions. (Denys Duchier, #837221)
46
* Prevent several kinds of OverflowError and other fallout from failing to fit
47
stat fields into four bytes in dirstate pack_stat implementations.
48
(Martin Packman, #683191 #706957)
50
* Return early from create_delta_index_from_delta given tiny inputs. This
51
avoids raising a spurious MemoryError on certain platforms such as AIX.
52
(John Arbash Meinel, #856731)
57
.. Improved or updated documentation.
62
.. Changes that may require updates in plugins or other code that uses
68
.. Major internal changes, unlikely to be visible to users or plugin
69
developers, but interesting for bzr developers.
74
.. Fixes and changes that are only relevant to bzr's test framework and
75
suite. This can include new facilities for writing tests, fixes to
76
spurious test failures and changes to the way things should be tested.
78
* Fix the race for TestingThreadingTCPServer in
79
test_server_crash_while_responding. (Vincent Ladeuil, #869366)
81
* Really corrupt the pack file without depending on a special length or value.
82
(Vincent Ladeuil, #807032)
90
This is a bugfix release. Upgrading is recommended for all users of earlier
93
It includes fixes from previous stable releases and address some issues with
97
External Compatibility Breaks
98
*****************************
100
.. These may require users to change the way they use Bazaar.
105
.. New commands, options, etc that users may wish to try out.
110
.. Improvements to existing commands, especially improved performance
111
or memory usage, or better results.
116
.. Fixes for situations where bzr would previously crash or give incorrect
117
or undesirable results.
119
* ``config.LocationMatcher`` properly excludes unrelated sections.
120
(Vincent Ladeuil, #829237)
122
* ``dirstate.fdatasync`` and ``repository.fdatasync`` can now properly be
123
disabled. (Vincent Ladeuil, #824513)
125
* Disable ``os.fsync`` and ``os.fdatasync`` by default when running
126
``bzr selftest``. You can use ``--sync`` to re-enable them.
127
(John Arbash Meinel, #837293)
129
* Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
131
* Avoid UnicodeDecode error when reporting EINVAL from transports.
132
(IWATA Hidetaka, #829237)
137
.. Improved or updated documentation.
139
* Corrected documentation for BZR_PROGRESS_BAR.
140
(Dennis Benzinger, #735417)
145
.. Changes that may require updates in plugins or other code that uses
151
.. Major internal changes, unlikely to be visible to users or plugin
152
developers, but interesting for bzr developers.
157
.. Fixes and changes that are only relevant to bzr's test framework and
158
suite. This can include new facilities for writing tests, fixes to
159
spurious test failures and changes to the way things should be tested.
161
* The test suite should now be able to run under weird environments where
162
``/etc/passwd`` doesn't contain the ``uid`` for the user running selftest
163
or where ``fakeroot`` is used but ``/root`` is inacessible.
164
(Vincent Ladeuil, #825027)
171
This release marks the start of a new long-term-stable series. From here, we
172
will only make bugfix releases on the 2.4 series (2.4.1, etc, and support it
173
until February 2013), while 2.5 will become our new development series.
175
This is a bugfix and polish release over the 2.3 series, with a large number
176
of bugs fixed (>150 for the 2.4 series alone), and some performance
177
improvements. Support for python 2.4 and 2.5 has been dropped, many large
178
working tree operations have been optimized as well as some stacked branches
181
Only bugfixes from other stables series have been included since 2.4b5 so
182
all known fixed bugs are included here.
184
Users are encouraged to upgrade from the other stable series.
187
External Compatibility Breaks
188
*****************************
190
.. These may require users to change the way they use Bazaar.
195
.. New commands, options, etc that users may wish to try out.
200
.. Improvements to existing commands, especially improved performance
201
or memory usage, or better results.
206
.. Fixes for situations where bzr would previously crash or give incorrect
207
or undesirable results.
209
* A call to CHKInventory's filter-method will not result in a
210
DuplicateFileId error, if you move a subfolder and change a file in
212
(Bastian Bowe, #809901)
214
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
215
checks to see if the most recent published source package version for
216
that project is present in the branch tags. This should help developers
217
trust whether the packaging branch is up-to-date and can be used for new
218
changes. The level of verbosity is controlled by the config item
219
``launchpad.packaging_verbosity``. It can be set to one of
226
only display if the branch is out-of-date
229
also display single-line up-to-date and missing,
233
(default) display multi-line content for all states
236
(John Arbash Meinel, #609187, #812928)
238
* Cope with not all Python versions having a ``clear`` method on
239
``TestCase._type_equality_funcs``.
240
(Martin [gz], Jelmer Vernooij, #809048)
242
* Fetching tags when fetching the tip revision of a branch is now
243
controlled by the config setting ``branch.fetch_tags``. The behavior has
244
been reverted to 2.3's not-fetching tagged revisions by default.
245
(John Arbash Meinel, #771184)
247
* The fix for bug #513709 caused us to open a new connection when
248
switching a lightweight checkout that was pointing at a bound branch.
249
This isn't necessary because we know the master URL without opening it,
250
avoiding an extra SSH connection, etc.
251
(John Arbash Meinel, #812285)
257
.. Improved or updated documentation.
262
.. Changes that may require updates in plugins or other code that uses
268
.. Major internal changes, unlikely to be visible to users or plugin
269
developers, but interesting for bzr developers.
274
.. Fixes and changes that are only relevant to bzr's test framework and
275
suite. This can include new facilities for writing tests, fixes to
276
spurious test failures and changes to the way things should be tested.
278
* `BranchBuilder.build_snapshot` now supports a "flush" action. This
279
cleanly and reliably allows tests using `BranchBuilder` to construct
280
branches that e.g. rename files out of a directory and unversion that
281
directory in the same revision. Previously some changes were impossible
282
due to the order that `build_snapshot` performs its actions.
285
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
286
just compares the bytes in the dirstate file to its pristine state,
287
rather than opening the WorkingTree and calling ``last_revision()``.
288
This reduces the overall test suite time by about 10% on my laptop.
297
This is the fifth (and last) beta of the 2.4 series leading to
298
2.4.0 release in August 2011. Beta releases are suitable for
299
everyday use but may cause some incompatibilities with plugins.
301
This release includes all bug fixed in previous series known at
302
the time of this release.
304
External Compatibility Breaks
305
*****************************
312
* New command ``verify-signatures`` to check if all commits or specified commits
313
have digital signatures from trusted keys. Requires python-gpgme to be
316
* New option ``--signatures`` for ``bzr log`` to display digital signature
317
verification results for each commit.
319
* Config option acceptable_keys to list which GPG keys are verified as trusted.
321
* Config option validate_signatures_in_log to always show signatures in
327
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
330
* Pack, dirstate, and index files are synced to persistent storage if
331
possible when writing finishes, to reduce the risk of problems caused by
332
a machine crash or similar problem. This can be turned off through the
333
``dirstate.fdatasync`` and ``repository.fdatasync`` options, which can
334
be set in ``locations.conf`` or ``bazaar.conf``. (Martin Pool,
340
* Display a proper error message when a config file content cannot be
341
decoded as UTF-8 or when it cannot be parsed.
342
(Vincent Ladeuil, #502060, #688677, #797246)
344
* Generate a single conflict (instead of two) when merging a branch
345
modifying and renaming a file in a branch that deleted it (or vice-versa).
346
(Vincent Ladeuil, #688101)
348
* Give a more helpful message when the bzr executable doesn't match the
349
library. (This typically happens because of a misconfigured PYTHONPATH
350
or half-installed bzr.)
351
(Martin Pool, #804553)
353
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
355
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
356
keys rather than ids. (Jelmer Vernooij, #799677)
358
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
359
is present. (Jelmer Vernooij, #801257)
364
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
365
``RepositoryFormat.supports_versioned_directories``.
366
(Jelmer Vernooij, #765815)
368
* The "revno" field type when using the python version-info format is now
369
a string (to handle dotted revnos) (Benoît Pierre, #796259)
374
* Start implementing localization, starting with command help text (but not
375
the command options themselves). This will allow bootstrapping the bzr
376
internationalization process. (Inada Naoki)
381
* Fix test failures when running as a homeless user (debian buildd). Tests
382
leaking into ``${HOME}/.bzr.log`` should be detected properly now.
383
(Vincent Ladeuil, #798698)
390
This is the fourth beta of the 2.4 series, leading to a 2.4.0 release in
391
August 2011. Beta releases are suitable for everyday use but may cause some
392
incompatibilities with plugins.
394
This release includes all bug fixed in previous series known at the time of
11
:2.4b4: NOT RELEASED YET
398
13
External Compatibility Breaks
399
14
*****************************