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 loading of external merge tools from config to properly decode
36
command-lines which contain embedded quotes. (Gordon Tyler, #828803)
41
.. Improved or updated documentation.
46
.. Changes that may require updates in plugins or other code that uses
52
.. Major internal changes, unlikely to be visible to users or plugin
53
developers, but interesting for bzr developers.
58
.. Fixes and changes that are only relevant to bzr's test framework and
59
suite. This can include new facilities for writing tests, fixes to
60
spurious test failures and changes to the way things should be tested.
68
This is a bugfix release. Upgrading is recommended for all users of earlier
71
It includes fixes from previous stable releases and address some issues with
75
External Compatibility Breaks
76
*****************************
78
.. These may require users to change the way they use Bazaar.
83
.. New commands, options, etc that users may wish to try out.
88
.. Improvements to existing commands, especially improved performance
89
or memory usage, or better results.
94
.. Fixes for situations where bzr would previously crash or give incorrect
95
or undesirable results.
97
* ``config.LocationMatcher`` properly excludes unrelated sections.
98
(Vincent Ladeuil, #829237)
100
* ``dirstate.fdatasync`` and ``repository.fdatasync`` can now properly be
101
disabled. (Vincent Ladeuil, #824513)
103
* Disable ``os.fsync`` and ``os.fdatasync`` by default when running
104
``bzr selftest``. You can use ``--sync`` to re-enable them.
105
(John Arbash Meinel, #837293)
107
* Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
109
* Avoid UnicodeDecode error when reporting EINVAL from transports.
110
(IWATA Hidetaka, #829237)
115
.. Improved or updated documentation.
117
* Corrected documentation for BZR_PROGRESS_BAR.
118
(Dennis Benzinger, #735417)
123
.. Changes that may require updates in plugins or other code that uses
129
.. Major internal changes, unlikely to be visible to users or plugin
130
developers, but interesting for bzr developers.
135
.. Fixes and changes that are only relevant to bzr's test framework and
136
suite. This can include new facilities for writing tests, fixes to
137
spurious test failures and changes to the way things should be tested.
139
* The test suite should now be able to run under weird environments where
140
``/etc/passwd`` doesn't contain the ``uid`` for the user running selftest
141
or where ``fakeroot`` is used but ``/root`` is inacessible.
142
(Vincent Ladeuil, #825027)
149
This release marks the start of a new long-term-stable series. From here, we
150
will only make bugfix releases on the 2.4 series (2.4.1, etc, and support it
151
until February 2013), while 2.5 will become our new development series.
153
This is a bugfix and polish release over the 2.3 series, with a large number
154
of bugs fixed (>150 for the 2.4 series alone), and some performance
155
improvements. Support for python 2.4 and 2.5 has been dropped, many large
156
working tree operations have been optimized as well as some stacked branches
159
Only bugfixes from other stables series have been included since 2.4b5 so
160
all known fixed bugs are included here.
162
Users are encouraged to upgrade from the other stable series.
165
External Compatibility Breaks
166
*****************************
168
.. These may require users to change the way they use Bazaar.
173
.. New commands, options, etc that users may wish to try out.
178
.. Improvements to existing commands, especially improved performance
179
or memory usage, or better results.
184
.. Fixes for situations where bzr would previously crash or give incorrect
185
or undesirable results.
187
* A call to CHKInventory's filter-method will not result in a
188
DuplicateFileId error, if you move a subfolder and change a file in
190
(Bastian Bowe, #809901)
192
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
193
checks to see if the most recent published source package version for
194
that project is present in the branch tags. This should help developers
195
trust whether the packaging branch is up-to-date and can be used for new
196
changes. The level of verbosity is controlled by the config item
197
``launchpad.packaging_verbosity``. It can be set to one of
204
only display if the branch is out-of-date
207
also display single-line up-to-date and missing,
211
(default) display multi-line content for all states
214
(John Arbash Meinel, #609187, #812928)
216
* Cope with not all Python versions having a ``clear`` method on
217
``TestCase._type_equality_funcs``.
218
(Martin [gz], Jelmer Vernooij, #809048)
220
* Fetching tags when fetching the tip revision of a branch is now
221
controlled by the config setting ``branch.fetch_tags``. The behavior has
222
been reverted to 2.3's not-fetching tagged revisions by default.
223
(John Arbash Meinel, #771184)
225
* The fix for bug #513709 caused us to open a new connection when
226
switching a lightweight checkout that was pointing at a bound branch.
227
This isn't necessary because we know the master URL without opening it,
228
avoiding an extra SSH connection, etc.
229
(John Arbash Meinel, #812285)
235
.. Improved or updated documentation.
240
.. Changes that may require updates in plugins or other code that uses
246
.. Major internal changes, unlikely to be visible to users or plugin
247
developers, but interesting for bzr developers.
252
.. Fixes and changes that are only relevant to bzr's test framework and
253
suite. This can include new facilities for writing tests, fixes to
254
spurious test failures and changes to the way things should be tested.
256
* `BranchBuilder.build_snapshot` now supports a "flush" action. This
257
cleanly and reliably allows tests using `BranchBuilder` to construct
258
branches that e.g. rename files out of a directory and unversion that
259
directory in the same revision. Previously some changes were impossible
260
due to the order that `build_snapshot` performs its actions.
263
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
264
just compares the bytes in the dirstate file to its pristine state,
265
rather than opening the WorkingTree and calling ``last_revision()``.
266
This reduces the overall test suite time by about 10% on my laptop.
275
This is the fifth (and last) beta of the 2.4 series leading to
276
2.4.0 release in August 2011. Beta releases are suitable for
277
everyday use but may cause some incompatibilities with plugins.
279
This release includes all bug fixed in previous series known at
280
the time of this release.
282
External Compatibility Breaks
283
*****************************
290
* New command ``verify-signatures`` to check if all commits or specified commits
291
have digital signatures from trusted keys. Requires python-gpgme to be
294
* New option ``--signatures`` for ``bzr log`` to display digital signature
295
verification results for each commit.
297
* Config option acceptable_keys to list which GPG keys are verified as trusted.
299
* Config option validate_signatures_in_log to always show signatures in
305
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
308
* Pack, dirstate, and index files are synced to persistent storage if
309
possible when writing finishes, to reduce the risk of problems caused by
310
a machine crash or similar problem. This can be turned off through the
311
``dirstate.fdatasync`` and ``repository.fdatasync`` options, which can
312
be set in ``locations.conf`` or ``bazaar.conf``. (Martin Pool,
318
* Display a proper error message when a config file content cannot be
319
decoded as UTF-8 or when it cannot be parsed.
320
(Vincent Ladeuil, #502060, #688677, #797246)
322
* Generate a single conflict (instead of two) when merging a branch
323
modifying and renaming a file in a branch that deleted it (or vice-versa).
324
(Vincent Ladeuil, #688101)
326
* Give a more helpful message when the bzr executable doesn't match the
327
library. (This typically happens because of a misconfigured PYTHONPATH
328
or half-installed bzr.)
329
(Martin Pool, #804553)
331
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
333
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
334
keys rather than ids. (Jelmer Vernooij, #799677)
336
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
337
is present. (Jelmer Vernooij, #801257)
342
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
343
``RepositoryFormat.supports_versioned_directories``.
344
(Jelmer Vernooij, #765815)
346
* The "revno" field type when using the python version-info format is now
347
a string (to handle dotted revnos) (Benoît Pierre, #796259)
352
* Start implementing localization, starting with command help text (but not
353
the command options themselves). This will allow bootstrapping the bzr
354
internationalization process. (Inada Naoki)
359
* Fix test failures when running as a homeless user (debian buildd). Tests
360
leaking into ``${HOME}/.bzr.log`` should be detected properly now.
361
(Vincent Ladeuil, #798698)
368
This is the fourth beta of the 2.4 series, leading to a 2.4.0 release in
369
August 2011. Beta releases are suitable for everyday use but may cause some
370
incompatibilities with plugins.
372
This release includes all bug fixed in previous series known at the time of
11
:2.4b4: NOT RELEASED YET
376
13
External Compatibility Breaks
377
14
*****************************
379
16
.. These may require users to change the way they use Bazaar.
381
* Do not treat configuration option 'check_signatures = require' as if
382
it were 'create_signatures = always' (Jonathan Riddell)
387
21
.. New commands, options, etc that users may wish to try out.
389
* Hooks have been added for config stacks: ``get``, ``set`` and ``remove``
390
are called when an option is respectively read, modified or deleted. Also
391
added ``load`` and ``save`` hooks for config stores, called when the
392
stores are loaded or saved. (Vincent Ladeuil)
394
23
* New hook server_exception in bzrlib.smart.server to catch any
395
exception caused while running bzr serve.
396
(Jonathan Riddell, #274578)
398
* New hook set_commit_message in bzrlib.msgeditor to set a commit message
399
and revision properties. (Jonathan Riddell, #274578)
401
* Support ``-S`` as an alias for ``--short`` for the ``log`` and
402
``missing`` commands. (Martin von Gagern, #38655)
24
exception caused while running bzr serve. (Jonathan Riddell,
449
48
because ``build_mo`` became a required step that they didn't know about.
450
49
(John Arbash Meinel, #787122)
452
* Preserve existing ``root-id`` when merging an unrelated branch.
453
(Aaron Bentley, #806356)
455
* Properly avoid re-adding a file after it changes case on CICP
456
filesystems. (John Arbash Meinel, #798130)
458
51
* Reports the original error when an InvalidHttpResponse exception is
459
52
encountered to facilitate debug. (Vincent Ladeuil, #788530)
461
* Reports a non-existent file error when trying to merge in a file
54
* Reports a non-existant file error when trying to merge in a file
462
55
that does not exist. (Jonathan Riddell, #330063)
464
57
* ``UIFactory.prompt``, ``UIFactory.get_username``,
465
58
``UIFactory.get_password`` and ``UIFactory.get_boolean`` now require a
466
59
unicode prompt to be passed in. (Jelmer Vernooij, #592083)
468
* Support merging into the empty tree. (Aaron Bentley, #595328)
473
64
.. Improved or updated documentation.
475
* Improve documentation of ``bzr merge --force``.
476
(Neil Martinsen-Burrell, #767307)
478
* Make docs for configuration options for digital signatures match
479
reality. (Jonathan Riddell)
481
* Add user-guide page on GPG signatures. (Jonathan Riddell)
486
69
.. Changes that may require updates in plugins or other code that uses
489
* Checking for a file id in a `Tree` or `Inventory` using ``in`` is now
490
deprecated. Instead, use `has_id`.
493
* Exporters are now all exposed as generators, rather than as single-call
494
functions, so that calling code can take stream the output.
497
* Information about held lockdir locks returned from eg `LockDir.peek` is
498
now represented as a `LockHeldInfo` object, rather than a plain
502
* Remove `file_status` function.
505
* ``Repository.iter_reverse_revision_history`` is now deprecated.
506
Use ``Graph.iter_lefthand_ancestry`` instead.
507
(Jelmer Vernooij, #739481)
509
* ``Repository.get_ancestry`` has been deprecated. Use
510
``Graph.iter_ancestry`` instead.
511
(Jelmer Vernooij, #784511)