5
5
.. contents:: List of Releases
12
:2.2rc1: NOT RELEASED YET
17
* BzrError subclasses no longer support the name "message" to be used
18
as an argument for __init__ or in _fmt format specification as this
19
breaks in some Python versions. errors.LockError.__init__ argument
20
is now named "msg" instead of earlier "message".
21
(Parth Malwankar, #603461)
23
* The old ``bzr selftest --benchmark`` option has been removed.
24
<https://launchpad.net/bzr-usertest> is an actively-maintained
34
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
35
``InvalidPattern`` exception error message now shows faulting
37
(Parth Malwankar #300062)
39
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
40
way which should help avoid problems with concurrent writers.
41
(Vincent Ladeuil, #525571)
43
* Don't traceback trying to unversion children files of an already
44
unversioned directory. (Vincent Ladeuil, #494221)
46
* ``HTTP/1.1` test servers now set a ``Content-Length`` header to comply
11
:2.3.b2: NOT RELEASED YET
19
* Add ``mainline`` revision specifier, which selects the revision that
20
merged a specified revision into the mainline. (Aaron Bentley)
22
* Add ``annotate`` revision specifier, which selects the revision that
23
introduced a specified line of a file. (Aaron Bentley)
25
* ``bzr status`` now displays a summary of existing shelves after
26
the other status information. This is done using a ``post_status``
28
(Parth Malwankar, #403687)
33
* ``bzr break-lock --force`` breaks the lock without prompting. (Before
34
using this, make sure the process holding the lock really is dead.)
35
(Martin Pool, #392315)
37
* Skip tests that needs a bzr source tree when there isn't one. This is
38
needed to succesfully run the test suite for installed versions.
39
(Vincent Ladeuil, #644855).
41
* Skip the tests that requires respecting the chmod bits when running as root.
42
(Vincent Ladeuil, #646133)
56
* Small change to GroupCompressBlock to work more in terms of 'chunks'
57
rather than 'content' for its compressed storage. (John Arbash Meinel)
59
* When running ``bzr selftest --subunit`` the subunit stream will no
60
longer include the "log" information for tests which are considered to
61
be 'successes' (success, xfail, skip, etc) (John Arbash Meinel)
66
* Fix tests that failed when run under ``LANG=C``.
67
(Andrew Bennetts, #632387)
69
* Use tests.TestCaseInTempDir for tests that requires disk resources.
70
(Vincent Ladeuil, #650001)
77
This is the first beta of the 2.3 series, leading up to a 2.3.0
78
release in January or February. Beta releases are suitable for everyday use
79
but may cause some incompatibilities with plugins. Some plugins may need
80
small updates to work with 2.3b1.
82
2.3b1 includes some performance improvements in both speed and memory
83
consumption, some preliminary support for generating a texinfo version of
84
the doc and better support for launchpad. Many changes were made to make
85
our test suite more robust as well as numerous documentation fixes. It
86
improves the common infrastructure for dealing with colocated named
87
branches and foreign branches. We plan to continue with these themes
88
through the 2.3 series.
90
It also includes bug fixes for 2.0.6, 2.1.3 and 2.2.1 and over 40 fixes of
97
* BzrError subclasses no longer support the name "message" to be used
98
as an argument for __init__ or in _fmt format specification as this
99
breaks in some Python versions. errors.LockError.__init__ argument
100
is now named "msg" instead of earlier "message".
101
(Parth Malwankar, #603461)
103
* Additional merges after an unrelated branch has been merged with its
104
history no longer crash when deleted files are involved.
105
(Vincent Ladeuil, John Arbash Meinel, #375898)
107
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
108
previously-unversioned directory within the tree: the directory is
109
marked versioned too.
110
(Martin Pool, #192859)
112
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
113
target of the symlink.
114
(Martin Pool, John Arbash Meinel, #128562)
116
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
117
permissions as ``.bzr`` directory on a POSIX OS.
118
(Parth Malwankar, #262450)
120
* ``bzrlib.transform.TreeTransformBase.final_kind``,
121
``bzrlib.transform.TreeTransform.tree_kind`` and
122
``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
123
of raising NoSuchFile. (Vincent Ladeuil)
125
* CommitBuilder now uses the committer instead of _config.username to generate
126
the revision-id. (Aaron Bentley, #614404)
128
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
129
way which should help avoid problems with concurrent writers.
130
(Vincent Ladeuil, #525571)
132
* `ControlDirFormat` and `ControlDir` have been split out of `BzrDirFormat`
133
and `BzrDir`, respectively. `ControlDirFormat`
134
and `ControlDir` should be used as the base classes for new non-.bzr
137
`BzrDirFormat.register_control_format` has been renamed to
138
`ControlDirFormat.register_format`.
140
`BzrDirFormat.register_server_control_format` has been removed.
142
Probing for control directories is now done by separate objects derived
143
from `bzrlib.controldir.Prober` and registered using
144
`bzrlib.controldir.ControlDirFormat.register_prober` or
145
`bzrlib.controldir.ControlDirFormat.register_server_prober`.
146
`BzrDirFormat.probe_transport` has been moved onto `Prober`.
148
`BzrDirFormat.register_format` has been renamed to
149
`BzrProber.register_bzrdir_format`.
151
`bzrlib.bzrdir.network_format_registry` has been moved to
156
* Cope with Microsoft FTP server that returns reply '250 Directory
157
created' when mkdir succeeds. (Martin Pool, #224373)
159
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
160
contains only NUL bytes). Instead warn the user, and allow ``bzr
161
break-lock`` to remove it. (Andrew Bennetts, #619872)
163
* `decode` parameter to get() method in FtpTransport and GioTransport classes
164
is deprecated. (Alexander Belchenko)
166
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
170
* Fix ``AttributeError on parent.children`` when adding a file under a
171
directory that was a symlink in the previous commit.
172
(Martin Pool, #192859)
174
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
175
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
176
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
177
stderr in some other circumstances. (Andrew Bennetts, #633745)
179
* Only call ``setlocale`` in the bzr startup script on posix systems. This
180
avoids an issue with the newer windows C runtimes used by Python 2.6 and
181
later which can mangle bytestrings printed to the console.
182
(Martin [gz], #631350)
184
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
185
which can result in "missing referenced chk root keys" errors when
186
fetching from repositories with affected revisions.
187
(Andrew Bennetts, #522637)
189
* Raise ValueError instead of a string exception.
190
(John Arbash Meinel, #586926)
192
* Reduce peak memory by one copy of compressed text.
193
(John Arbash Meinel, #566940)
195
* Repositories accessed via a smart server now reject being stacked on a
196
repository in an incompatible format, as is the case when accessing them
197
via other methods. This was causing fetches from those repositories via
198
a smart server (e.g. using ``bzr branch``) to receive invalid data.
199
(Andrew Bennetts, #562380)
201
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
202
error. This error was caused by 2.0 not being updated when upstream
203
python merged the end of run patch, which chose ``stopTestRun`` rather than
204
``done``. (Robert Collins, #571437)
206
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
207
being thrown from ``xml_serializer`` on certain cElementTree setups.
208
(Martin [gz], #254278)
210
* The old ``bzr selftest --benchmark`` option has been removed.
211
<https://launchpad.net/bzr-usertest> is an actively-maintained
212
macrobenchmark suite.
215
* `tree_files` and `internal_tree_files` are now deprecated in favor of
216
`WorkingTree.open_containing_paths`.
219
* Upgrading or fetching from a non-rich-root repository to a rich-root
220
repository (e.g. from pack-0.92 to 2a) no longer fails with
221
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
222
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
224
* When passing a file to ``UTF8DirReader`` make sure to close the current
225
directory file handle after the chdir fails. Otherwise when passing many
226
filenames into a command line ``bzr status`` we would leak descriptors.
227
(John Arbash Meinel, #583486)
232
* Added ``pre_status`` and ``post_status`` hooks. This allows plugins
233
to register custom handlers which will be invoked before/after the
234
standard status output is displayed. (Parth Malwankar)
236
* ``bzr break-lock --config [location]`` can now break config files
237
locks. (Vincent Ladeuil, #525571)
239
* ``bzrlib.config.LockableConfig`` is a base class for config files that
240
needs to be protected against multiple writers. All methods that
241
change a configuration variable value must be decorated with
242
@needs_write_lock (set_option() for example).
243
(Vincent Ladeuil, #525571)
245
* The ``lp:`` prefix will now use your known username (from
246
``bzr launchpad-login``) to expand ``~`` to your username. For example:
247
``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
248
push to ``lp:~user/project/branch``. (John Arbash Meinel)
250
* New development format ``development8-subtree`` which is similar to the
251
``2a`` format and adds subtree support. (Jelmer Vernooij)
256
* Fix traceback with python-2.7's xmlrpclib
257
(Toshio Kuratomi, #612096)
259
* Allow using both --using and --diff-options.
260
(Matthäus G. Chajdas, #234708)
262
* Allow using non-integer bug ID with generic bug trackers.
263
(Alexandre Garnier, #440472)
265
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
266
previously-unversioned directory within the tree: the directory is
267
marked versioned too.
268
(Martin Pool, #192859)
270
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
271
``InvalidPattern`` exception error message now shows faulting
273
(Parth Malwankar #300062)
275
* ``clean-tree`` issues a warning if it is unable to delete a file
276
due to ``errno.EACCES`` instead of exiting with an error on Windows.
277
(Parth Malwankar, #430785)
279
* CommitBuilder now uses the committer instead of _config.username to generate
280
the revision-id. (Aaron Bentley, #614404)
282
* Configuration files in ``${BZR_HOME}`` are now protected against
283
concurrent writers by using a lock. (Vincent Ladeuil, #525571)
285
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
286
Directory created' when mkdir succeeds. (Martin Pool, #224373)
288
* Decrease peak memory during ``bzr send``. The old code was caching all
289
text content and all inventory strings for all revisions before
290
computing the diffs. Now we only cache as long as there is a child that
291
will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
292
256MB peak. (John Arbash Meinel, #614576)
294
* Don't print internal object name when print an invalid revision spec
295
error. (Neil Martinsen-Burrell, #598701)
297
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
298
contains only NUL bytes). Instead warn the user, and allow ``bzr
299
break-lock`` to remove it. (Andrew Bennetts, #619872)
301
* ``EPIPE`` can be raised during test server shutdown. This happened on
302
gentoo only so far. (Vincent Ladeuil, #627277)
304
* Errors occurring during http(s) test server starts should now be
305
handled cleanly. (Vincent Ladeuil, #392402)
307
* Fix ``AttributeError on parent.children`` when adding a file under a
308
directory that was a symlink in the previous commit.
309
(Martin Pool, #192859)
311
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
312
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
313
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
314
stderr in some other circumstances. (Andrew Bennetts, #633745)
316
* Fix spurious paramiko warning on hardy by ensuring that ``selftest``
317
properly remove its warning filter. (Vincent Ladeuil, #625686)
319
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
320
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
322
* Most of the leaked threads during selftest are now fixed, allowing the
323
full test suite to pass on gentoo.
324
(Vincent Ladeuil, #392127)
326
* Only call ``setlocale`` in the bzr startup script on posix systems. This
327
avoids an issue with the newer windows C runtimes used by Python 2.6 and
328
later which can mangle bytestrings printed to the console.
329
(Martin [gz], #631350)
331
* `PathNotChild` should not give a traceback.
332
(Martin Pool, #98735)
334
* ``PQM`` will no longer ignore syntax errors in submissions.
335
(Vincent Ladeuil, #626667)
337
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
338
which can result in "missing referenced chk root keys" errors when
339
fetching from repositories with affected revisions.
340
(Andrew Bennetts, #522637)
342
* strace test-helper tests cope with the new Ubuntu policy of not allowing
343
users to attach to their own processes by default.
344
(Martin Pool, #626679)
346
* Test classes like ``TestCase``, ``TestLoader``, and ``TestSuite`` should
347
be available from ``bzrlib.tests.*``. They used to be, but were
348
accidentally removed. (John Arbash Meinel, #627438)
350
* Treat all IO, OS, and socket errors consistently when establishing
351
SSH/SFTP connections via a subprocess. (Andrew Bennetts)
353
* ``Transport.stat`` on a symlink, including a transport pointing directly
354
to a symlink, now returns information about the symlink.
357
* Upgrading or fetching from a non-rich-root repository to a rich-root
358
repository (e.g. from pack-0.92 to 2a) no longer fails with
359
``'Inter1and2Helper' object has no attribute 'source_repo'``.
360
(Andrew Bennetts, #636930)
362
* Wait for the SSH server to actually finish, rather than just waiting for
363
it to negotiate the key exchange. (John Arbash Meinel, #626876)
368
* ``bzr remove`` now just backs up changed files instead of exiting,
369
forcing you to choose to either keep or delete them. Bazaar will now delete
370
the files if they can easily be recovered using revert, otherwise they
371
will be backed up (adding an extention of the form .~#~).
372
(Marius Kruger, #400554)
374
* ``bzr revert`` and ``bzr status`` are up to 15% faster on large trees
375
with many changes by not repeatedly building a list of all file-ids.
378
* Decrease memory consumption when many chk index pages are loaded. (Such
379
as during ``bzr co`` or ``bzr ls -R`` of a large tree.) Often we need to
380
read many chk pages because the individual chk map nodes will be spread
381
randomly. Peak memory for 'bzr ls -R' on a large tree dropped from 396MB
382
down to 247MB, expect even more significant savings on 64-bit platforms.
385
* ``DirState`` internals use a little bit less memory. For bzr.dev it
386
drops the memory from 1MB down to about 800kB. And replaces a few
387
thousand tuples and sets with StaticTuple. (John Arbash Meinel)
389
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
390
have dropped from 68 bytes to 40, and directory entries from 120 bytes
391
to 48). (Andrew Bennetts)
393
* When building new working trees, default to reading from the repository
394
rather than the source tree unless explicitly requested. (via
395
``--files-from`` and ``--hardlink`` for ``bzr branch`` and
396
``bzr checkout``. Generally, 2a format repositories extract
397
content faster than seeking and reading content from another tree,
398
especially in cold-cache situations. (John Arbash Meinel, #607298)
400
* Add ``__pycache__`` to the default ``ignores`` file. Future releases of
401
Python will use this directory to store bytecodes.
402
(Andrea Corbellini, #626687)
407
* Added a builder/writer sphinx extension that can generate texinfo files. The
408
generated files are syntactically correct but the info navigation nodes
409
needs more work. (Vincent Ladeuil, #219334)
411
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
412
to make the tests conditional.
415
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
416
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
417
(John Arbash Meinel, #617503)
419
* Suggest ``bzr revert`` for restoring locally deleted files in help text
420
for ``bzr update``. (John C Barstow, #191466)
425
* Configuration files should now use the ``from_string`` constructor rather
426
than the ``file`` parameter of the ``_get_parser`` method. The later has
427
been deprecated. ``from_string`` also accept a ``save=True`` parameter to
428
have the configuration file immediately written to disk.
431
* Deprecate treating a `PushResult` and `PullResult` as an integer for the
432
relative change in revno.
435
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
436
the rather than the ``file`` parameter of the ``_get_parser`` method. The
437
later has been deprecated. (Vincent Ladeuil)
439
* InventoryEntry instances now raise AttributeError if you try to assign
440
to attributes that are irrelevant to that kind of entry. e.g. setting
441
``symlink_target`` on an InventoryFile will fail. It is still okay to
442
read those attributes on any kind of InventoryEntry. The complete list
443
of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
444
``text_size`` (only valid for kind == file); ``symlink_target`` (only
445
valid for kind == link); and ``reference_revision`` (only valid for kind
446
== tree-reference). (Andrew Bennetts)
448
* InventoryEntry objects no longer have ``_put_in_tar`` or
449
``_put_on_disk`` methods. (Andrew Bennetts)
451
* The ``get_filename`` parameter in the ``config.IniBaseConfig``
452
constructor has been deprecated, use the ``file_name`` parameter instead.
458
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
464
* ``build_tree_contents`` can create symlinks.
465
(Martin Pool, John Arbash Meinel)
467
* Catch socket errors to avoid
468
bt.test_sftp_transport.SSHVendorBadConnection.test_bad_connection_ssh
469
random failures. (Vincent Ladeuil, #601804)
471
* HTTP test servers will leak less threads (and sockets) and will not hang on
472
AIX anymore. (Vincent Ladeuil, #405745)
474
* On platforms that don't support forking give a nice error message saying so
475
when ``bzr selftest --parallel=fork`` is used. (Martin [gz], #528730)
477
* Rearrange thread leak detection code to eliminate global state and make it
478
possible to extend the reporting. (Martin [gz], #633462)
480
* Suppress the "maximum recursion depth exceeded in __subclasscheck__"
481
warning on stderr emitted during ``test_dict_deepnested`` in
482
``bzrlib/tests/test__bencode.py``. (Andrew Bennetts)
484
* The test suite now simply holds log files in memory, rather than writing them
485
out to disk and then reading them back in and deleting them.
488
* The way ``bzr selftest --parallel`` generates N partitions of tests to
489
run in parallel has changed. Instead of splitting the list of tests at
490
N-1 points, it distributes the tests one-by-one into the partitions in a
491
round robin fashion. This reduces the total time to run the tests in
492
parallel because a series of slow tests in the test suite will be
493
distributed evenly among the parallel test suites, rather than slowing
494
down just one suite. (Andrew Bennetts)
496
* Tracebacks from a parameterized test are no longer reported against every
497
parameterization of that test. This was done by adding a hack to
498
``bzrlib.tests.clone_test`` so that it no longer causes
499
testtools.TestCase instances to share a details dict.
500
(Andrew Bennetts, #625574)
506
:2.2.2: NOT RELEASED YET
517
* Skip tests that needs a bzr source tree when there isn't one. This is
518
needed to succesfully run the test suite for installed versions.
519
(Vincent Ladeuil, #644855).
521
* Skip the tests that requires respecting the chmod bits when running as root.
522
(Vincent Ladeuil, #646133)
539
* Fix tests that failed when run under ``LANG=C``.
540
(Andrew Bennetts, #632387)
548
This is a bugfix release which also includes bugfixes from 2.0.6 and
549
2.1.3. None are critical, but upgrading is recommended for all users on
550
earlier 2.2 releases.
555
* Additional merges after an unrelated branch has been merged with its
556
history no longer crash when deleted files are involved.
557
(Vincent Ladeuil, John Arbash Meinel, #375898)
559
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
560
previously-unversioned directory within the tree: the directory is
561
marked versioned too.
562
(Martin Pool, #192859)
564
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
565
target of the symlink.
566
(Martin Pool, John Arbash Meinel, #128562)
568
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
569
permissions as ``.bzr`` directory on a POSIX OS.
570
(Parth Malwankar, #262450)
572
* CommitBuilder now uses the committer instead of _config.username to generate
573
the revision-id. (Aaron Bentley, #614404)
575
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
576
way which should help avoid problems with concurrent writers.
577
(Vincent Ladeuil, #525571)
579
* Cope with Microsoft FTP server that returns reply '250 Directory
580
created' when mkdir succeeds. (Martin Pool, #224373)
582
* Don't traceback trying to unversion children files of an already
583
unversioned directory. (Vincent Ladeuil, #494221)
585
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
586
contains only NUL bytes). Instead warn the user, and allow ``bzr
587
break-lock`` to remove it. (Andrew Bennetts, #619872)
589
* Fix ``AttributeError on parent.children`` when adding a file under a
590
directory that was a symlink in the previous commit.
591
(Martin Pool, #192859)
593
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
594
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
595
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
596
stderr in some other circumstances. (Andrew Bennetts, #633745)
598
* Only call ``setlocale`` in the bzr startup script on posix systems. This
599
avoids an issue with the newer windows C runtimes used by Python 2.6 and
600
later which can mangle bytestrings printed to the console.
601
(Martin [gz], #631350)
603
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
604
which can result in "missing referenced chk root keys" errors when
605
fetching from repositories with affected revisions.
606
(Andrew Bennetts, #522637)
608
* Raise ValueError instead of a string exception.
609
(John Arbash Meinel, #586926)
611
* Reduce peak memory by one copy of compressed text.
612
(John Arbash Meinel, #566940)
614
* Repositories accessed via a smart server now reject being stacked on a
615
repository in an incompatible format, as is the case when accessing them
616
via other methods. This was causing fetches from those repositories via
617
a smart server (e.g. using ``bzr branch``) to receive invalid data.
618
(Andrew Bennetts, #562380)
620
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
621
error. This error was caused by 2.0 not being updated when upstream
622
python merged the end of run patch, which chose ``stopTestRun`` rather than
623
``done``. (Robert Collins, #571437)
625
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
626
being thrown from ``xml_serializer`` on certain cElementTree setups.
627
(Martin [gz], #254278)
629
* Upgrading or fetching from a non-rich-root repository to a rich-root
630
repository (e.g. from pack-0.92 to 2a) no longer fails with
631
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
632
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
634
* When passing a file to ``UTF8DirReader`` make sure to close the current
635
directory file handle after the chdir fails. Otherwise when passing many
636
filenames into a command line ``bzr status`` we would leak descriptors.
637
(John Arbash Meinel, #583486)
642
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
643
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
644
(John Arbash Meinel, #617503)
649
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
655
* ``build_tree_contents`` can create symlinks.
656
(Martin Pool, John Arbash Meinel)
658
* Tracebacks from a parameterized test are no longer reported against every
659
parameterization of that test. This was done by adding a hack to
660
``bzrlib.tests.clone_test`` so that it no longer causes
661
testtools.TestCase instances to share a details dict.
662
(Andrew Bennetts, #625574)
668
:2.1.4: NOT RELEASED YET
679
* Skip tests that needs a bzr source tree when there isn't one. This is
680
needed to succesfully run the test suite for installed versions.
681
(Vincent Ladeuil, #644855).
683
* Skip the tests that requires respecting the chmod bits when running as root.
684
(Vincent Ladeuil, #646133)
705
:Codename: Do run run
708
The third release in our 2.1 series addresses several user-inconvenience bugs
709
(and includes the fixes done in 2.0.6). None are critical, but upgrading is
710
recommended for all users on earlier 2.1 releases.
715
* Additional merges after an unrelated branch has been merged with its
716
history no longer crash when deleted files are involved.
717
(Vincent Ladeuil, John Arbash Meinel, #375898)
719
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
720
previously-unversioned directory within the tree: the directory is
721
marked versioned too.
722
(Martin Pool, #192859)
724
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
725
target of the symlink.
726
(Martin Pool, John Arbash Meinel, #128562)
728
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
729
permissions as ``.bzr`` directory on a POSIX OS.
730
(Parth Malwankar, #262450)
732
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
733
way which should help avoid problems with concurrent writers.
734
(Vincent Ladeuil, #525571)
736
* Don't traceback trying to unversion children files of an already
737
unversioned directory. (Vincent Ladeuil, #494221)
739
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
740
contains only NUL bytes). Instead warn the user, and allow ``bzr
741
break-lock`` to remove it. (Andrew Bennetts, #619872)
743
* Fix ``AttributeError on parent.children`` when adding a file under a
744
directory that was a symlink in the previous commit.
745
(Martin Pool, #192859)
747
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
748
which can result in "missing referenced chk root keys" errors when
749
fetching from repositories with affected revisions.
750
(Andrew Bennetts, #522637)
752
* Raise ValueError instead of a string exception.
753
(John Arbash Meinel, #586926)
755
* Reduce peak memory by one copy of compressed text.
756
(John Arbash Meinel, #566940)
758
* Repositories accessed via a smart server now reject being stacked on a
759
repository in an incompatible format, as is the case when accessing them
760
via other methods. This was causing fetches from those repositories via
761
a smart server (e.g. using ``bzr branch``) to receive invalid data.
762
(Andrew Bennetts, #562380)
764
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
765
error. This error was caused by 2.0 not being updated when upstream
766
python merged the end of run patch, which chose ``stopTestRun`` rather than
767
``done``. (Robert Collins, #571437)
769
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
770
being thrown from ``xml_serializer`` on certain cElementTree setups.
771
(Martin [gz], #254278)
773
* When passing a file to ``UTF8DirReader`` make sure to close the current
774
directory file handle after the chdir fails. Otherwise when passing many
775
filenames into a command line ``bzr status`` we would leak descriptors.
776
(John Arbash Meinel, #583486)
781
* ``build_tree_contents`` can create symlinks.
782
(Martin Pool, John Arbash Meinel)
790
The sixth release in our 2.0 series addresses several user-inconvenience
791
bugs. None are critical, but upgrading is recommended for all users on
792
earlier 2.0 releases.
797
* Additional merges after an unrelated branch has been merged with its
798
history no longer crash when deleted files are involved.
799
(Vincent Ladeuil, John Arbash Meinel, #375898)
801
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
802
previously-unversioned directory within the tree: the directory is
803
marked versioned too.
804
(Martin Pool, #192859)
806
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
807
target of the symlink.
808
(Martin Pool, John Arbash Meinel, #128562)
810
* ``bzr revert`` now only takes write lock on working tree, instead of on
811
both working tree and branch.
812
(Danny van Heumen, #498409)
814
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
815
permissions as ``.bzr`` directory on a POSIX OS.
816
(Parth Malwankar, #262450)
818
* Don't traceback trying to unversion children files of an already
819
unversioned directory. (Vincent Ladeuil, #494221)
821
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
822
contains only NUL bytes). Instead warn the user, and allow ``bzr
823
break-lock`` to remove it. (Andrew Bennetts, #619872)
825
* Fix ``AttributeError on parent.children`` when adding a file under a
826
directory that was a symlink in the previous commit.
827
(Martin Pool, #192859)
829
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
830
which can result in "missing referenced chk root keys" errors when
831
fetching from repositories with affected revisions.
832
(Andrew Bennetts, #522637)
834
* Raise ValueError instead of a string exception.
835
(John Arbash Meinel, #586926)
837
* Reduce peak memory by one copy of compressed text.
838
(John Arbash Meinel, #566940)
840
* Repositories accessed via a smart server now reject being stacked on a
841
repository in an incompatible format, as is the case when accessing them
842
via other methods. This was causing fetches from those repositories via
843
a smart server (e.g. using ``bzr branch``) to receive invalid data.
844
(Andrew Bennetts, #562380)
846
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
847
error. This error was caused by 2.0 not being updated when upstream
848
python merged the end of run patch, which chose ``stopTestRun`` rather than
849
``done``. (Robert Collins, #571437)
851
* When passing a file to ``UTF8DirReader`` make sure to close the current
852
directory file handle after the chdir fails. Otherwise when passing many
853
filenames into a command line ``bzr status`` we would leak descriptors.
854
(John Arbash Meinel, #583486)
860
* ``build_tree_contents`` can create symlinks.
861
(Martin Pool, John Arbash Meinel)
870
This release marks the start of another long-term-stable series. From
871
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
872
while 2.3 will become our new development series. The 2.0 and 2.1 series
873
will also continue to get bugfixes. (Currently 2.0 is planned to be
874
supported for another 6 months.)
876
This is primarily a bugfix and polish release over the 2.1 series, with
877
a large number of bugs fixed (>120), and some performance improvements.
879
There are some compatibility changes in this release. For users of bzrlib
880
as a library, we now request that they call ``bzrlib.initialize`` and use
881
the returned context manager appropriately. For commandline users we no
882
longer guess user identity for ``bzr commit``, users must specify their
883
identity using ``bzr whoami`` (you don't need to specify your identity for
884
readonly operations).
886
Users are encouraged to upgrade from the other stable series.
891
* BzrError subclasses no longer support the name "message" to be used
892
as an argument for __init__ or in _fmt format specification as this
893
breaks in some Python versions. errors.LockError.__init__ argument
894
is now named "msg" instead of earlier "message".
895
(Parth Malwankar, #603461)
897
* The old ``bzr selftest --benchmark`` option has been removed.
898
<https://launchpad.net/bzr-usertest> is an actively-maintained
899
macrobenchmark suite.
905
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
906
``InvalidPattern`` exception error message now shows faulting
908
(Parth Malwankar #300062)
910
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
911
way which should help avoid problems with concurrent writers.
912
(Vincent Ladeuil, #525571)
914
* Don't traceback trying to unversion children files of an already
915
unversioned directory. (Vincent Ladeuil, #494221)
917
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
47
918
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
49
920
* Progress bars prefer to truncate the text message rather than the
50
921
counters. The spinner is shown between the network transfer indicator
51
and the progress message. (Martin Pool)
922
and the progress message. Progress bars are correctly cleared off when
923
they finish. (Martin Pool, #611127)
53
925
* Recursive binding for checkouts is now detected by bzr. A clear error
54
926
message is shown to the user. (Parth Malwankar, #405192)