5
6
.. contents:: List of Releases
11
:2.3.b2: NOT RELEASED YET
16
* The ``bzr tags`` command sorts tag names using a natural sort by
17
default (so tag2 sorts before tag10). The previous default was
18
strictly "asciibetical". That behavior is still available as ``bzr tags
19
--sort=alpha``. (Neil Martinsen-Burrell, #640760)
24
* Add ``mainline`` revision specifier, which selects the revision that
25
merged a specified revision into the mainline. (Aaron Bentley)
27
* Add ``annotate`` revision specifier, which selects the revision that
28
introduced a specified line of a file. (Aaron Bentley)
30
* ``bzr status`` now displays a summary of existing shelves after
31
the other status information. This is done using a ``post_status``
33
(Parth Malwankar, #403687)
35
* GNU lsh is now a supported lsh client; just set BZR_SSH to 'lsh'.
36
Also, bzr will recognize if the 'ssh' comand is a symlink to lsh.
37
(Matthew Gordon, #374700)
42
* ``bzr break-lock --force`` breaks the lock without prompting. (Before
43
using this, make sure the process holding the lock really is dead.)
44
(Martin Pool, #397315)
46
* Don't force openssh to use protocol=2, since that is now the default.
47
(Neil Martinsen-Burrell, #561061)
49
* Print junk rather than throwing a UnicodeDecodeError from ``bzr version-info``
50
when using the rio format (with non-ascii information) on a non-utf-8 terminal.
51
(Andrej A Antonov, #518609)
53
* Skip tests that needs a bzr source tree when there isn't one. This is
54
needed to succesfully run the test suite for installed versions.
55
(Vincent Ladeuil, #644855).
57
* Skip the tests that requires respecting the chmod bits when running as root.
58
(Vincent Ladeuil, #646133)
60
* ``unshelve --preview`` now can show diff in a non-ascii encoding.
61
(Andrej A Antonov, #518916)
66
* ``bzr remove`` now takes a ``--no-backup`` option for when you don't want it
67
to backup anything, just delete it. This option used to be called ``--force``
68
which is now deprecated.
69
(Marius Kruger, #400554)
74
* Provide more detailed help on the Launchpad plugin at "bzr help
75
plugins/launchpad". (Neil Martinsen-Burrell, #589379)
83
* Small change to GroupCompressBlock to work more in terms of 'chunks'
84
rather than 'content' for its compressed storage. (John Arbash Meinel)
86
* When running ``bzr selftest --subunit`` the subunit stream will no
87
longer include the "log" information for tests which are considered to
88
be 'successes' (success, xfail, skip, etc) (John Arbash Meinel)
93
* Fix tests that failed when run under ``LANG=C``.
94
(Andrew Bennetts, #632387)
96
* Use tests.TestCaseInTempDir for tests that requires disk resources.
97
(Vincent Ladeuil, #650001)
104
This is the first beta of the 2.3 series, leading up to a 2.3.0
105
release in January or February. Beta releases are suitable for everyday use
106
but may cause some incompatibilities with plugins. Some plugins may need
107
small updates to work with 2.3b1.
109
2.3b1 includes some performance improvements in both speed and memory
110
consumption, some preliminary support for generating a texinfo version of
111
the doc and better support for launchpad. Many changes were made to make
112
our test suite more robust as well as numerous documentation fixes. It
113
improves the common infrastructure for dealing with colocated named
114
branches and foreign branches. We plan to continue with these themes
115
through the 2.3 series.
117
It also includes bug fixes for 2.0.6, 2.1.3 and 2.2.1 and over 40 fixes of
124
* BzrError subclasses no longer support the name "message" to be used
125
as an argument for __init__ or in _fmt format specification as this
126
breaks in some Python versions. errors.LockError.__init__ argument
127
is now named "msg" instead of earlier "message".
128
(Parth Malwankar, #603461)
130
* Additional merges after an unrelated branch has been merged with its
131
history no longer crash when deleted files are involved.
132
(Vincent Ladeuil, John Arbash Meinel, #375898)
134
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
135
previously-unversioned directory within the tree: the directory is
136
marked versioned too.
137
(Martin Pool, #192859)
139
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
140
target of the symlink.
141
(Martin Pool, John Arbash Meinel, #128562)
143
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
144
permissions as ``.bzr`` directory on a POSIX OS.
145
(Parth Malwankar, #262450)
147
* ``bzrlib.transform.TreeTransformBase.final_kind``,
148
``bzrlib.transform.TreeTransform.tree_kind`` and
149
``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
150
of raising NoSuchFile. (Vincent Ladeuil)
152
* CommitBuilder now uses the committer instead of _config.username to generate
153
the revision-id. (Aaron Bentley, #614404)
155
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
156
way which should help avoid problems with concurrent writers.
157
(Vincent Ladeuil, #525571)
159
* `ControlDirFormat` and `ControlDir` have been split out of `BzrDirFormat`
160
and `BzrDir`, respectively. `ControlDirFormat`
161
and `ControlDir` should be used as the base classes for new non-.bzr
164
`BzrDirFormat.register_control_format` has been renamed to
165
`ControlDirFormat.register_format`.
167
`BzrDirFormat.register_server_control_format` has been removed.
169
Probing for control directories is now done by separate objects derived
170
from `bzrlib.controldir.Prober` and registered using
171
`bzrlib.controldir.ControlDirFormat.register_prober` or
172
`bzrlib.controldir.ControlDirFormat.register_server_prober`.
173
`BzrDirFormat.probe_transport` has been moved onto `Prober`.
175
`BzrDirFormat.register_format` has been renamed to
176
`BzrProber.register_bzrdir_format`.
178
`bzrlib.bzrdir.network_format_registry` has been moved to
183
* Cope with Microsoft FTP server that returns reply '250 Directory
184
created' when mkdir succeeds. (Martin Pool, #224373)
186
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
187
contains only NUL bytes). Instead warn the user, and allow ``bzr
188
break-lock`` to remove it. (Andrew Bennetts, #619872)
190
* `decode` parameter to get() method in FtpTransport and GioTransport classes
191
is deprecated. (Alexander Belchenko)
193
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
197
* Fix ``AttributeError on parent.children`` when adding a file under a
198
directory that was a symlink in the previous commit.
199
(Martin Pool, #192859)
201
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
202
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
203
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
204
stderr in some other circumstances. (Andrew Bennetts, #633745)
206
* Only call ``setlocale`` in the bzr startup script on posix systems. This
207
avoids an issue with the newer windows C runtimes used by Python 2.6 and
208
later which can mangle bytestrings printed to the console.
209
(Martin [gz], #631350)
211
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
212
which can result in "missing referenced chk root keys" errors when
213
fetching from repositories with affected revisions.
214
(Andrew Bennetts, #522637)
216
* Raise ValueError instead of a string exception.
217
(John Arbash Meinel, #586926)
219
* Reduce peak memory by one copy of compressed text.
220
(John Arbash Meinel, #566940)
222
* Repositories accessed via a smart server now reject being stacked on a
223
repository in an incompatible format, as is the case when accessing them
224
via other methods. This was causing fetches from those repositories via
225
a smart server (e.g. using ``bzr branch``) to receive invalid data.
226
(Andrew Bennetts, #562380)
228
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
229
error. This error was caused by 2.0 not being updated when upstream
230
python merged the end of run patch, which chose ``stopTestRun`` rather than
231
``done``. (Robert Collins, #571437)
233
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
234
being thrown from ``xml_serializer`` on certain cElementTree setups.
235
(Martin [gz], #254278)
237
* The old ``bzr selftest --benchmark`` option has been removed.
238
<https://launchpad.net/bzr-usertest> is an actively-maintained
239
macrobenchmark suite.
242
* `tree_files` and `internal_tree_files` are now deprecated in favor of
243
`WorkingTree.open_containing_paths`.
246
* Upgrading or fetching from a non-rich-root repository to a rich-root
247
repository (e.g. from pack-0.92 to 2a) no longer fails with
248
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
249
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
251
* When passing a file to ``UTF8DirReader`` make sure to close the current
252
directory file handle after the chdir fails. Otherwise when passing many
253
filenames into a command line ``bzr status`` we would leak descriptors.
254
(John Arbash Meinel, #583486)
259
* Added ``pre_status`` and ``post_status`` hooks. This allows plugins
260
to register custom handlers which will be invoked before/after the
261
standard status output is displayed. (Parth Malwankar)
263
* ``bzr break-lock --config [location]`` can now break config files
264
locks. (Vincent Ladeuil, #525571)
266
* ``bzrlib.config.LockableConfig`` is a base class for config files that
267
needs to be protected against multiple writers. All methods that
268
change a configuration variable value must be decorated with
269
@needs_write_lock (set_option() for example).
270
(Vincent Ladeuil, #525571)
272
* The ``lp:`` prefix will now use your known username (from
273
``bzr launchpad-login``) to expand ``~`` to your username. For example:
274
``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
275
push to ``lp:~user/project/branch``. (John Arbash Meinel)
277
* New development format ``development8-subtree`` which is similar to the
278
``2a`` format and adds subtree support. (Jelmer Vernooij)
280
* The ``pull`` and ``update`` commands now take a ``-show-base``
281
option that, in the case of conflicts, shows the base revision text.
282
(Rory Yorke, #202374)
287
* Fix traceback with python-2.7's xmlrpclib
288
(Toshio Kuratomi, #612096)
290
* Allow using both --using and --diff-options.
291
(Matthäus G. Chajdas, #234708)
293
* Allow using non-integer bug ID with generic bug trackers.
294
(Alexandre Garnier, #440472)
296
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
297
previously-unversioned directory within the tree: the directory is
298
marked versioned too.
299
(Martin Pool, #192859)
301
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
302
``InvalidPattern`` exception error message now shows faulting
304
(Parth Malwankar #300062)
306
* ``clean-tree`` issues a warning if it is unable to delete a file
307
due to ``errno.EACCES`` instead of exiting with an error on Windows.
308
(Parth Malwankar, #430785)
310
* CommitBuilder now uses the committer instead of _config.username to generate
311
the revision-id. (Aaron Bentley, #614404)
313
* Configuration files in ``${BZR_HOME}`` are now protected against
314
concurrent writers by using a lock. (Vincent Ladeuil, #525571)
316
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
317
Directory created' when mkdir succeeds. (Martin Pool, #224373)
319
* Decrease peak memory during ``bzr send``. The old code was caching all
320
text content and all inventory strings for all revisions before
321
computing the diffs. Now we only cache as long as there is a child that
322
will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
323
256MB peak. (John Arbash Meinel, #614576)
325
* Don't print internal object name when print an invalid revision spec
326
error. (Neil Martinsen-Burrell, #598701)
328
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
329
contains only NUL bytes). Instead warn the user, and allow ``bzr
330
break-lock`` to remove it. (Andrew Bennetts, #619872)
332
* ``EPIPE`` can be raised during test server shutdown. This happened on
333
gentoo only so far. (Vincent Ladeuil, #627277)
335
* Errors occurring during http(s) test server starts should now be
336
handled cleanly. (Vincent Ladeuil, #392402)
338
* Fix ``AttributeError on parent.children`` when adding a file under a
339
directory that was a symlink in the previous commit.
340
(Martin Pool, #192859)
342
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
343
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
344
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
345
stderr in some other circumstances. (Andrew Bennetts, #633745)
347
* Fix signature of RemoteBzrDir.create_workingtree to match that of its
348
superclass. (Neil Martinsen-Burrell, Martin Pool, #524627)
350
* Fix spurious paramiko warning on hardy by ensuring that ``selftest``
351
properly remove its warning filter. (Vincent Ladeuil, #625686)
353
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
354
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
356
* Most of the leaked threads during selftest are now fixed, allowing the
357
full test suite to pass on gentoo.
358
(Vincent Ladeuil, #392127)
360
* Only call ``setlocale`` in the bzr startup script on posix systems. This
361
avoids an issue with the newer windows C runtimes used by Python 2.6 and
362
later which can mangle bytestrings printed to the console.
363
(Martin [gz], #631350)
365
* `PathNotChild` should not give a traceback.
366
(Martin Pool, #98735)
368
* ``PQM`` will no longer ignore syntax errors in submissions.
369
(Vincent Ladeuil, #626667)
371
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
372
which can result in "missing referenced chk root keys" errors when
373
fetching from repositories with affected revisions.
374
(Andrew Bennetts, #522637)
376
* strace test-helper tests cope with the new Ubuntu policy of not allowing
377
users to attach to their own processes by default.
378
(Martin Pool, #626679)
380
* Test classes like ``TestCase``, ``TestLoader``, and ``TestSuite`` should
381
be available from ``bzrlib.tests.*``. They used to be, but were
382
accidentally removed. (John Arbash Meinel, #627438)
384
* Treat all IO, OS, and socket errors consistently when establishing
385
SSH/SFTP connections via a subprocess. (Andrew Bennetts)
387
* ``Transport.stat`` on a symlink, including a transport pointing directly
388
to a symlink, now returns information about the symlink.
391
* Upgrading or fetching from a non-rich-root repository to a rich-root
392
repository (e.g. from pack-0.92 to 2a) no longer fails with
393
``'Inter1and2Helper' object has no attribute 'source_repo'``.
394
(Andrew Bennetts, #636930)
396
* Wait for the SSH server to actually finish, rather than just waiting for
397
it to negotiate the key exchange. (John Arbash Meinel, #626876)
402
* ``bzr remove`` now just backs up changed files instead of exiting,
403
forcing you to choose to either keep or delete them. Bazaar will now delete
404
the files if they can easily be recovered using revert, otherwise they
405
will be backed up (adding an extention of the form .~#~).
406
(Marius Kruger, #400554)
408
* ``bzr revert`` and ``bzr status`` are up to 15% faster on large trees
409
with many changes by not repeatedly building a list of all file-ids.
412
* Decrease memory consumption when many chk index pages are loaded. (Such
413
as during ``bzr co`` or ``bzr ls -R`` of a large tree.) Often we need to
414
read many chk pages because the individual chk map nodes will be spread
415
randomly. Peak memory for 'bzr ls -R' on a large tree dropped from 396MB
416
down to 247MB, expect even more significant savings on 64-bit platforms.
419
* ``DirState`` internals use a little bit less memory. For bzr.dev it
420
drops the memory from 1MB down to about 800kB. And replaces a few
421
thousand tuples and sets with StaticTuple. (John Arbash Meinel)
423
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
424
have dropped from 68 bytes to 40, and directory entries from 120 bytes
425
to 48). (Andrew Bennetts)
427
* When building new working trees, default to reading from the repository
428
rather than the source tree unless explicitly requested. (via
429
``--files-from`` and ``--hardlink`` for ``bzr branch`` and
430
``bzr checkout``. Generally, 2a format repositories extract
431
content faster than seeking and reading content from another tree,
432
especially in cold-cache situations. (John Arbash Meinel, #607298)
434
* Add ``__pycache__`` to the default ``ignores`` file. Future releases of
435
Python will use this directory to store bytecodes.
436
(Andrea Corbellini, #626687)
441
* Added a builder/writer sphinx extension that can generate texinfo files. The
442
generated files are syntactically correct but the info navigation nodes
443
needs more work. (Vincent Ladeuil, #219334)
445
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
446
to make the tests conditional.
449
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
450
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
451
(John Arbash Meinel, #617503)
453
* Suggest ``bzr revert`` for restoring locally deleted files in help text
454
for ``bzr update``. (John C Barstow, #191466)
459
* Configuration files should now use the ``from_string`` constructor rather
460
than the ``file`` parameter of the ``_get_parser`` method. The later has
461
been deprecated. ``from_string`` also accept a ``save=True`` parameter to
462
have the configuration file immediately written to disk.
465
* Deprecate treating a `PushResult` and `PullResult` as an integer for the
466
relative change in revno.
469
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
470
the rather than the ``file`` parameter of the ``_get_parser`` method. The
471
later has been deprecated. (Vincent Ladeuil)
473
* InventoryEntry instances now raise AttributeError if you try to assign
474
to attributes that are irrelevant to that kind of entry. e.g. setting
475
``symlink_target`` on an InventoryFile will fail. It is still okay to
476
read those attributes on any kind of InventoryEntry. The complete list
477
of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
478
``text_size`` (only valid for kind == file); ``symlink_target`` (only
479
valid for kind == link); and ``reference_revision`` (only valid for kind
480
== tree-reference). (Andrew Bennetts)
482
* InventoryEntry objects no longer have ``_put_in_tar`` or
483
``_put_on_disk`` methods. (Andrew Bennetts)
485
* The ``get_filename`` parameter in the ``config.IniBaseConfig``
486
constructor has been deprecated, use the ``file_name`` parameter instead.
489
* ``WorkingTree`` methods ``pull``, ``update``, and ``_update_tree``
490
now have an optional argument, ``show_base``, which is by default
491
False. This is flag is ultimately passed to ``merge.merge_inner``
492
in each case. (Rory Yorke, #202374)
497
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
503
* ``build_tree_contents`` can create symlinks.
504
(Martin Pool, John Arbash Meinel)
506
* Catch socket errors to avoid
507
bt.test_sftp_transport.SSHVendorBadConnection.test_bad_connection_ssh
508
random failures. (Vincent Ladeuil, #601804)
510
* HTTP test servers will leak less threads (and sockets) and will not hang on
511
AIX anymore. (Vincent Ladeuil, #405745)
513
* On platforms that don't support forking give a nice error message saying so
514
when ``bzr selftest --parallel=fork`` is used. (Martin [gz], #528730)
516
* Rearrange thread leak detection code to eliminate global state and make it
517
possible to extend the reporting. (Martin [gz], #633462)
519
* Suppress the "maximum recursion depth exceeded in __subclasscheck__"
520
warning on stderr emitted during ``test_dict_deepnested`` in
521
``bzrlib/tests/test__bencode.py``. (Andrew Bennetts)
523
* The test suite now simply holds log files in memory, rather than writing them
524
out to disk and then reading them back in and deleting them.
527
* The way ``bzr selftest --parallel`` generates N partitions of tests to
528
run in parallel has changed. Instead of splitting the list of tests at
529
N-1 points, it distributes the tests one-by-one into the partitions in a
530
round robin fashion. This reduces the total time to run the tests in
531
parallel because a series of slow tests in the test suite will be
532
distributed evenly among the parallel test suites, rather than slowing
533
down just one suite. (Andrew Bennetts)
535
* Tracebacks from a parameterized test are no longer reported against every
536
parameterization of that test. This was done by adding a hack to
537
``bzrlib.tests.clone_test`` so that it no longer causes
538
testtools.TestCase instances to share a details dict.
539
(Andrew Bennetts, #625574)
545
:2.2.2: NOT RELEASED YET
556
* Skip tests that needs a bzr source tree when there isn't one. This is
557
needed to succesfully run the test suite for installed versions.
558
(Vincent Ladeuil, #644855).
560
* Skip the tests that requires respecting the chmod bits when running as root.
561
(Vincent Ladeuil, #646133)
578
* Fix tests that failed when run under ``LANG=C``.
579
(Andrew Bennetts, #632387)
587
This is a bugfix release which also includes bugfixes from 2.0.6 and
588
2.1.3. None are critical, but upgrading is recommended for all users on
589
earlier 2.2 releases.
594
* Additional merges after an unrelated branch has been merged with its
595
history no longer crash when deleted files are involved.
596
(Vincent Ladeuil, John Arbash Meinel, #375898)
598
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
599
previously-unversioned directory within the tree: the directory is
600
marked versioned too.
601
(Martin Pool, #192859)
603
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
604
target of the symlink.
605
(Martin Pool, John Arbash Meinel, #128562)
607
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
608
permissions as ``.bzr`` directory on a POSIX OS.
609
(Parth Malwankar, #262450)
611
* CommitBuilder now uses the committer instead of _config.username to generate
612
the revision-id. (Aaron Bentley, #614404)
614
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
615
way which should help avoid problems with concurrent writers.
616
(Vincent Ladeuil, #525571)
618
* Cope with Microsoft FTP server that returns reply '250 Directory
619
created' when mkdir succeeds. (Martin Pool, #224373)
621
* Don't traceback trying to unversion children files of an already
622
unversioned directory. (Vincent Ladeuil, #494221)
624
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
625
contains only NUL bytes). Instead warn the user, and allow ``bzr
626
break-lock`` to remove it. (Andrew Bennetts, #619872)
628
* Fix ``AttributeError on parent.children`` when adding a file under a
629
directory that was a symlink in the previous commit.
630
(Martin Pool, #192859)
632
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
633
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
634
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
635
stderr in some other circumstances. (Andrew Bennetts, #633745)
637
* Only call ``setlocale`` in the bzr startup script on posix systems. This
638
avoids an issue with the newer windows C runtimes used by Python 2.6 and
639
later which can mangle bytestrings printed to the console.
640
(Martin [gz], #631350)
642
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
643
which can result in "missing referenced chk root keys" errors when
644
fetching from repositories with affected revisions.
645
(Andrew Bennetts, #522637)
647
* Raise ValueError instead of a string exception.
648
(John Arbash Meinel, #586926)
650
* Reduce peak memory by one copy of compressed text.
651
(John Arbash Meinel, #566940)
653
* Repositories accessed via a smart server now reject being stacked on a
654
repository in an incompatible format, as is the case when accessing them
655
via other methods. This was causing fetches from those repositories via
656
a smart server (e.g. using ``bzr branch``) to receive invalid data.
657
(Andrew Bennetts, #562380)
659
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
660
error. This error was caused by 2.0 not being updated when upstream
661
python merged the end of run patch, which chose ``stopTestRun`` rather than
662
``done``. (Robert Collins, #571437)
664
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
665
being thrown from ``xml_serializer`` on certain cElementTree setups.
666
(Martin [gz], #254278)
668
* Upgrading or fetching from a non-rich-root repository to a rich-root
669
repository (e.g. from pack-0.92 to 2a) no longer fails with
670
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
671
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
673
* When passing a file to ``UTF8DirReader`` make sure to close the current
674
directory file handle after the chdir fails. Otherwise when passing many
675
filenames into a command line ``bzr status`` we would leak descriptors.
676
(John Arbash Meinel, #583486)
681
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
682
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
683
(John Arbash Meinel, #617503)
688
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
694
* ``build_tree_contents`` can create symlinks.
695
(Martin Pool, John Arbash Meinel)
697
* Tracebacks from a parameterized test are no longer reported against every
698
parameterization of that test. This was done by adding a hack to
699
``bzrlib.tests.clone_test`` so that it no longer causes
700
testtools.TestCase instances to share a details dict.
701
(Andrew Bennetts, #625574)
707
:2.1.4: NOT RELEASED YET
718
* Skip tests that needs a bzr source tree when there isn't one. This is
719
needed to succesfully run the test suite for installed versions.
720
(Vincent Ladeuil, #644855).
722
* Skip the tests that requires respecting the chmod bits when running as root.
723
(Vincent Ladeuil, #646133)
744
:Codename: Do run run
747
The third release in our 2.1 series addresses several user-inconvenience bugs
748
(and includes the fixes done in 2.0.6). None are critical, but upgrading is
749
recommended for all users on earlier 2.1 releases.
754
* Additional merges after an unrelated branch has been merged with its
755
history no longer crash when deleted files are involved.
756
(Vincent Ladeuil, John Arbash Meinel, #375898)
758
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
759
previously-unversioned directory within the tree: the directory is
760
marked versioned too.
761
(Martin Pool, #192859)
763
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
764
target of the symlink.
765
(Martin Pool, John Arbash Meinel, #128562)
767
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
768
permissions as ``.bzr`` directory on a POSIX OS.
769
(Parth Malwankar, #262450)
771
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
772
way which should help avoid problems with concurrent writers.
773
(Vincent Ladeuil, #525571)
775
* Don't traceback trying to unversion children files of an already
776
unversioned directory. (Vincent Ladeuil, #494221)
778
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
779
contains only NUL bytes). Instead warn the user, and allow ``bzr
780
break-lock`` to remove it. (Andrew Bennetts, #619872)
782
* Fix ``AttributeError on parent.children`` when adding a file under a
783
directory that was a symlink in the previous commit.
784
(Martin Pool, #192859)
786
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
787
which can result in "missing referenced chk root keys" errors when
788
fetching from repositories with affected revisions.
789
(Andrew Bennetts, #522637)
791
* Raise ValueError instead of a string exception.
792
(John Arbash Meinel, #586926)
794
* Reduce peak memory by one copy of compressed text.
795
(John Arbash Meinel, #566940)
797
* Repositories accessed via a smart server now reject being stacked on a
798
repository in an incompatible format, as is the case when accessing them
799
via other methods. This was causing fetches from those repositories via
800
a smart server (e.g. using ``bzr branch``) to receive invalid data.
801
(Andrew Bennetts, #562380)
803
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
804
error. This error was caused by 2.0 not being updated when upstream
805
python merged the end of run patch, which chose ``stopTestRun`` rather than
806
``done``. (Robert Collins, #571437)
808
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
809
being thrown from ``xml_serializer`` on certain cElementTree setups.
810
(Martin [gz], #254278)
812
* When passing a file to ``UTF8DirReader`` make sure to close the current
813
directory file handle after the chdir fails. Otherwise when passing many
814
filenames into a command line ``bzr status`` we would leak descriptors.
815
(John Arbash Meinel, #583486)
820
* ``build_tree_contents`` can create symlinks.
821
(Martin Pool, John Arbash Meinel)
829
The sixth release in our 2.0 series addresses several user-inconvenience
830
bugs. None are critical, but upgrading is recommended for all users on
831
earlier 2.0 releases.
836
* Additional merges after an unrelated branch has been merged with its
837
history no longer crash when deleted files are involved.
838
(Vincent Ladeuil, John Arbash Meinel, #375898)
840
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
841
previously-unversioned directory within the tree: the directory is
842
marked versioned too.
843
(Martin Pool, #192859)
845
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
846
target of the symlink.
847
(Martin Pool, John Arbash Meinel, #128562)
849
* ``bzr revert`` now only takes write lock on working tree, instead of on
850
both working tree and branch.
851
(Danny van Heumen, #498409)
853
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
854
permissions as ``.bzr`` directory on a POSIX OS.
855
(Parth Malwankar, #262450)
857
* Don't traceback trying to unversion children files of an already
858
unversioned directory. (Vincent Ladeuil, #494221)
860
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
861
contains only NUL bytes). Instead warn the user, and allow ``bzr
862
break-lock`` to remove it. (Andrew Bennetts, #619872)
864
* Fix ``AttributeError on parent.children`` when adding a file under a
865
directory that was a symlink in the previous commit.
866
(Martin Pool, #192859)
868
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
869
which can result in "missing referenced chk root keys" errors when
870
fetching from repositories with affected revisions.
871
(Andrew Bennetts, #522637)
873
* Raise ValueError instead of a string exception.
874
(John Arbash Meinel, #586926)
876
* Reduce peak memory by one copy of compressed text.
877
(John Arbash Meinel, #566940)
879
* Repositories accessed via a smart server now reject being stacked on a
880
repository in an incompatible format, as is the case when accessing them
881
via other methods. This was causing fetches from those repositories via
882
a smart server (e.g. using ``bzr branch``) to receive invalid data.
883
(Andrew Bennetts, #562380)
885
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
886
error. This error was caused by 2.0 not being updated when upstream
887
python merged the end of run patch, which chose ``stopTestRun`` rather than
888
``done``. (Robert Collins, #571437)
890
* When passing a file to ``UTF8DirReader`` make sure to close the current
891
directory file handle after the chdir fails. Otherwise when passing many
892
filenames into a command line ``bzr status`` we would leak descriptors.
893
(John Arbash Meinel, #583486)
899
* ``build_tree_contents`` can create symlinks.
900
(Martin Pool, John Arbash Meinel)
909
This release marks the start of another long-term-stable series. From
910
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
911
while 2.3 will become our new development series. The 2.0 and 2.1 series
912
will also continue to get bugfixes. (Currently 2.0 is planned to be
913
supported for another 6 months.)
915
This is primarily a bugfix and polish release over the 2.1 series, with
916
a large number of bugs fixed (>120), and some performance improvements.
918
There are some compatibility changes in this release. For users of bzrlib
919
as a library, we now request that they call ``bzrlib.initialize`` and use
920
the returned context manager appropriately. For commandline users we no
921
longer guess user identity for ``bzr commit``, users must specify their
922
identity using ``bzr whoami`` (you don't need to specify your identity for
923
readonly operations).
925
Users are encouraged to upgrade from the other stable series.
930
* BzrError subclasses no longer support the name "message" to be used
931
as an argument for __init__ or in _fmt format specification as this
932
breaks in some Python versions. errors.LockError.__init__ argument
933
is now named "msg" instead of earlier "message".
934
(Parth Malwankar, #603461)
936
* The old ``bzr selftest --benchmark`` option has been removed.
937
<https://launchpad.net/bzr-usertest> is an actively-maintained
938
macrobenchmark suite.
944
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
945
``InvalidPattern`` exception error message now shows faulting
947
(Parth Malwankar #300062)
949
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
950
way which should help avoid problems with concurrent writers.
951
(Vincent Ladeuil, #525571)
953
* Don't traceback trying to unversion children files of an already
954
unversioned directory. (Vincent Ladeuil, #494221)
956
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
957
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
959
* Progress bars prefer to truncate the text message rather than the
960
counters. The spinner is shown between the network transfer indicator
961
and the progress message. Progress bars are correctly cleared off when
962
they finish. (Martin Pool, #611127)
964
* Recursive binding for checkouts is now detected by bzr. A clear error
965
message is shown to the user. (Parth Malwankar, #405192)
970
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
971
tree, and works with unrelated branches. (Andrew Bennetts)
973
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
974
GUI with out have a console open in the background.
975
(Gary van der Merwe, #433781)
980
* ``bzr help patterns`` now explains case insensitive patterns and
981
points to Python regular expression documentation.
982
(Parth Malwankar, #594386)
987
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
992
* Unit test added to ensure that "message" is not uses as a format variable
993
name in BzrError subclasses as this conflicts with some Python versions.
994
(Parth Malwankar, #603461)
999
:Codename: Monkey Magic
1003
This fourth and final beta in the 2.2 series now stabilizes the internal
1004
APIs. Plugin authors are recommended to ensure their releases are
1005
compatible, so that 2.2rc1 can be a true release candidate, containing
1006
stable and compatible plugin versions.
1008
For users of bzrlib as a library, one of the primary changes is to request
1009
that they call ``bzrlib.initialize`` and use the returned context manager
1012
Better interaction with ``bzr-loom`` to make sure branching from a loom
1013
even over a smart server still yields a local loom. Not to mention lots of
1014
bugfixes over 2.2b3.
1016
Compatibility Breaks
1017
********************
1019
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
1020
the result of ``bzrlib.initialize``. This change was made when fixing
1021
the bad habit recent bzr versions have had of leaving progress bars
1022
behind on the screen. That required calling another function before
1023
exiting the program, and it made sense to provide a full context
1024
manager at the same time. (Robert Collins)
1026
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
1027
context manager in the Python 2.5 and above sense. The bzrlib base class
1028
is such a manager, but third party UI factories which do not derive from
1029
``bzrlib.ui.UIFactory`` will be incompatible with the command line front
1032
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
1033
and path "bar/baz", even if bzr does not recognize "foo" as a known URL
1034
scheme. Previously these URLs would be treated as local paths.
1041
* Support ``--directory`` option for a number of additional commands:
1042
conflicts, merge-directive, missing, resolve, shelve, switch,
1043
unshelve, whoami. (Martin von Gagern, #527878)
1048
* ``bzr branch`` to a new repository with a default stacking policy no
1049
longer transfers the full history unnecessarily.
1050
(Andrew Bennetts, #597942)
1052
* ``bzr init`` does not recursively scan directory contents anymore
1053
leading to faster init for directories with existing content.
1054
(Martin [gz], Parth Malwankar, #501307)
1056
* ``bzr log --exclude-common-ancestry`` is now taken into account for
1057
linear ancetries. (Vincent Ladeuil, #575631)
1059
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
1060
rather than trying to fetch the data locally and failing because of a
1061
readonly error. (Martin von Gagern, #149270)
1063
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
1064
or pull location in locations.conf or branch.conf.
1065
(Gordon Tyler, #534787)
1067
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
1068
smart server. (Andrew Bennetts, #551525)
1070
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
1071
(Marius Kruger, Robert Collins)
1073
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
1074
(Marius Kruger, Robert Collins)
1076
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
1077
proper error messages. (Vincent Ladeuil, #591215)
1079
* Explicitly removing ``--profile-imports`` option from parsed command-line
1080
arguments on Windows, because bzr script does the same.
1081
(Alexander Belchenko, #588277)
1083
* Fetching was slightly confused about the best code to use and was
1084
using a new code path for all branches, resulting in more lookups than
1085
necessary on old branches. (Robert Collins, #593515)
1087
* Final fix for 'no help for command' issue. We now show a clean message
1088
when a command has no help, document how to set help more clearly, and
1089
test that all commands available to the test suite have help.
1090
(Robert Collins, #177500)
1092
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
1093
``InvalidPattern`` exception showing clear error message to the user.
1094
(Parth Malwankar #300062)
1096
* Progress output is cleaned up when exiting. (Aaron Bentley)
1098
* Raise ValueError instead of a string exception.
1099
(John Arbash Meinel, #586926)
1101
* Relative imports in plugins are now handled correctly when using
1102
BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
1104
* ``ScriptRunner`` now strips off leading indentation from test scripts,
1105
which previously caused "SyntaxError: No command for line".
1108
* Show unicode filenames in diff headers using terminal encoding.
1109
(Alexander Belchenko, Bug #382699)
1110
NOTE for Windows users: If user need to save diff to file then user need to
1111
change encoding of the terminal to ANSI encoding with command ``chcp XXX``
1112
(e.g. ``chcp 1251`` for Russian Windows).
1114
* URL displayed for use with ``break-lock`` when smart server sees lock
1115
contention are now valid. Default timeout for lock contention retry is
1116
now 30 seconds instead of 300 seconds.
1117
(Parth Malwankar, #250451)
1119
* ``walkdirs`` now raises a useful message when the filenames are not using
1120
the filesystem encoding. (Eric Moritz, #488519)
1122
* Enable debugging of bzr on windows with pdb and other tools. This was
1123
broken because we call GetCommandLineW on windows. The fix adjusts the
1124
command line we get to be the same length as sys.argv.
1125
(Jason Spashett, Alexander Belchenko, #587868)
1130
* Bazaar now reads data from SSH connections more efficiently on platforms
1131
that provide the ``socketpair`` function, and when using paramiko.
1132
(Andrew Bennetts, #590637)
1134
* ``Branch.copy_content_into`` is now a convenience method dispatching to
1135
a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
1136
plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
1137
(Robert Collins, #201613)
1139
* ``Branch`` formats can now be loaded lazily by registering a
1140
``MetaDirBranchFormatFactory`` rather than an actual format. This will
1141
cause the named format class to be loaded only when an enumeration of
1142
formats is needed or when the format string for the object is
1143
encountered. (Robert Collins, Jelmer Vernooij)
1145
* The encoding that bzr uses to output things other than file content can
1146
now be overridden via the output_encoding configuration option.
1147
(Martin Pool, #340394)
1149
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
1150
do not cause modules to be loaded unnecessarily just because the plugin
1151
registers a merge hook. This improves ``bzr rocks`` time by about 25%
1152
in a default installation (with just the core plugins).
1158
* Added ``regression`` tag to our tags list. (Robert Collins)
1160
* Improved our release checklist to have a bit less churn and leave things
1161
ready-to-go for the next action (including other people doing
1162
development). (Robert Collins)
1164
* Remove obsolete discussion of PQM in documentation about how to
1165
contribute to Bazaar. (Martin Pool, #588444)
1170
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
1171
an iterable of format pairs, rather than just a single pair, permitting
1172
InterBranch objects that work with multiple permutations to be
1173
comprehensively tested. (Robert Collins)
1175
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
1176
profiles when concurrent profile requests are made. Instead the profile
1177
requests will be serialised. Reentrant requests will now deadlock.
1180
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
1181
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
1182
``bzrlib.patiencediff`` instead. (Andrew Bennetts)
1184
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
1185
``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
1186
case the default error message not suitable for the use case.
1189
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated. It provided only
1190
one method ``check_output``, and we now recommend checking command
1191
output using ``run_script``. (Martin Pool)
1193
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
1194
that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
1195
Third-party implementations of ``SSHVendor`` may need to be updated
1196
accordingly. Similarly, any code using ``SSHConnection`` directly will
1197
need to be updated. (Andrew Bennetts)
1199
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
1200
changed to take an ``SSHParams`` instance (replacing many individual
1201
values). (Andrew Bennetts)
1206
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
1207
selection when explicitly requested; this avoids many duplicate calls
1208
being logged when helpers, wrappers and older code that manually calls
1209
it are executed it is now logged deliberately by the ui setup code.
1212
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
1214
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
1215
that ``sys.getsizeof`` and other memory analysis tools will report more
1216
accurate results. (Andrew Bennetts)
1218
* The symbol_versioning module can now cleanup after itself -
1219
``suppress_deprecation_warnings`` now returns a cleanup function.
1225
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
1226
to test. (Martin Pool)
1228
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
1229
(Vincent Ladeuil, #595587)
1236
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
1237
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
1238
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
1239
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
1240
bash completion script and bzr will no longer guess at identity details -
1241
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
1242
For developers we have some API changes which may impact plugins as well
1243
as a bunch of our regular improvements to internal clarity and test
1246
Compatibility Breaks
1247
********************
1249
* An API break has been made to the lock_write method of ``Branch`` and
1250
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
1251
and ``repository.RepositoryWriteLockResult`` objects. This makes
1252
changing the API in future easier and permits some cleaner calling code.
1253
The lock_read method has also changed from having no defined return
1254
value to returning ``LogicalLockResult`` objects.
1257
* ``bzr`` does not try to guess the username as ``username@hostname``
1258
and requires it to be explictly set. This can be set using ``bzr
1259
whoami``. (Parth Malwankar, #549310)
1261
* ``bzrlib.commands.Command`` will now raise ValueError during
1262
construction if there is no __doc__ set. (Note, this will be reverted in
1263
2.2b4) (Robert Collins)
1265
* The source tree no longer contains a contrib/zsh/_bzr completion
1266
script. The new file contrib/zsh/README suggests alternatives.
1267
(Martin von Gagern, #560030)
1272
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
1274
(Parth Malwankar, #571467)
1276
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
1277
the default ignore rules used by bzr. The flag ``--old-default-rules``
1278
is no longer supported by ``ignore``.
1279
(Parth Malwankar, #538703)
1281
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
1282
can save disk space by deleting obsolete pack files created during the
1284
(Parth Malwankar, #304320)
1286
* New command line option ``--authors`` to ``bzr log`` allows users to
1287
select which of the apparent authors and committer should be
1288
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
1290
* Support ``--directory`` option for a number of additional commands:
1291
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
1292
export, ignore, ignored, lookup-revision, ls, modified, nick,
1293
re-sign, unbind, unknowns.
1294
(Martin von Gagern, #527878)
1296
* The bash_completion plugin from the bzr-bash-completion project has
1297
been merged into the tree. It provides a bash-completion command and
1298
replaces the outdated ``contrib/bash/bzr`` script with a version
1299
using the plugin. (Martin von Gagern, #560030)
1301
* A new transport based on GIO (the gnome i/o library) provides access to
1302
samba shares, webdav using gio+smb and gio+dav. It is also possible to
1303
use gio for some already existing transport methods as gio+file,
1310
* Alias information shown by ``bzr help`` is now accurate. This
1311
was showing an internal object name for some plugin aliases.
1312
(Parth Malwankar, #584650)
1314
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
1315
group ownership from the containing directory. This allow bzr to work
1317
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
1319
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
1320
support of bzr-externals and scmproj plugins.
1321
(Alexander Belchenko, bug #572098)
1323
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
1324
(Gordon Tyler, #572092)
1326
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
1327
are part of Y ancestry but not part of X ancestry (aka the graph
1329
(Vincent Ladeuil, #320119)
1331
* ``bzr lp-propose`` which was switched to use production Launchpad API
1332
servers a few commits ago has been reverted to use edge: there is a
1333
problem with using production which isn't trivially obvious, so we've
1334
filed a bug to track it, and until thats fixed will be using edge.
1335
(Robert Collins, #583667)
1337
* ``bzr rm`` should not refuse to delete directories which contained a file
1338
which has been moved elsewhere in the tree after the previous commit.
1339
(Marius Kruger, Daniel Watkins, #129880)
1341
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
1342
(Vincent Ladeuil, #566670)
1344
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
1345
(Vincent Ladeuil, #563997)
1347
* CommitBuilder refuses to create revisions whose trees have no root.
1350
* Do not register a SIGWINCH signal handler, instead just poll for the
1351
terminal width as needed. This avoids the "Interrupted System Call"
1352
problems that occur on POSIX with all currently released versions of
1354
(Andrew Bennetts, #583941)
1356
* Don't mention --no-strict when we just issue the warning about unclean trees.
1357
(Vincent Ladeuil, #401599)
1359
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
1360
versions before 1.6.
1361
(Andrew Bennetts, #528041)
1363
* Improved progress bar for fetch (2a format only). Bazaar now shows an
1364
estimate of the number of records to be fetched vs actually fetched.
1365
(Parth Malwankar, #374740, #538868)
1367
* Reduce peak memory by one copy of compressed text.
1368
(John Arbash Meinel, #566940)
1370
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
1371
read lock, rather than causing an ``AttributeError``.
1372
(Andrew Bennetts, Данило Шеган, #582781)
1374
* Selftest was failing with testtools 0.9.3, which caused an
1375
AssertionError raised from a cleanUp to be reported as a Failure, not an
1376
Error, breaking on of our test hygiene tests.
1377
(Robert Collins, Vincent Ladeuil).
1379
* ``set_user_option`` with a dict on remote branches no longer fails with
1380
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
1381
to support this efficiently.
1382
(Andrew Bennetts, #430382)
1384
* Show the filenames when a file rename fails so that the error will be
1385
more comprehensible.
1386
(Martin Pool, #491763)
1388
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
1389
(John Arbash Meinel, #582656)
1391
* Unicode characters in aliases are now handled correctly and do not cause
1392
UnicodeEncodeError exception. (Parth Malwankar, #529930)
1394
* Unicode commit messages that are the same as a file name no longer cause
1395
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
1397
(Parth Malwankar, #563646)
1399
* Using bzr with `lp:` urls behind an http proxy should work.
1400
(Robert Collins, #558343)
1402
* When passing a file to ``UTF8DirReader`` make sure to close the current
1403
directory file handle after the chdir fails. Otherwise when passing many
1404
filenames into a command line ``bzr status`` we would leak descriptors.
1405
(John Arbash Meinel, #583486)
1410
* ``append_revisions_only`` will now be interpreted as a boolean and a
1411
warning emitted if illegal values are used. Note that for projects
1412
that needs to maintain compatibility with previsous bzr versions,
1413
only 'True' and 'False' strings must be used (previous versions of
1414
bzr will interpret all strings differing from 'True'
1415
(case-sensitive) as false.
1416
(Brian de Alwis, Vincent Ladeuil)
1418
* ``bzr ls`` now supports short options for existing long options.
1419
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
1420
(Parth Malwankar, #181124)
1422
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
1423
be interpreted as a boolean.
1426
* The all-in-one Windows installer will now be built with docstrings stripped
1427
from the library zip, reducing the size and slightly improving cold startup
1428
time. Bundled plugins are unchanged for the moment, but if adding other new
1429
plugins to an all-in-one installation, ensure they are compiled and
1430
installed with -O1 or help may not work. (Martin [gz])
1435
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
1436
some kinds of ``merge_file_content`` hook functions.
1439
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
1440
`user_transport`, `control_url` and `control_transport` members pointing
1441
respectively to the directory containing the ``.bzr`` control directory,
1442
and to the directory within ``.bzr`` used for the particular component.
1443
All of them inherit from `ControlComponent` which provides default
1447
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
1448
expected to return an object which can be used to unlock them. This reduces
1449
duplicate code when using cleanups. The previous 'tokens's returned by
1450
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
1451
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
1452
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
1454
* ``Repository.refresh_data`` may now be called in a write group on
1455
pack-based repositories. Older repositories will still raise an error
1456
in this case. Subclasses of ``Repository`` can still override
1457
``Repository._refresh_data``, but are now responsible for raising
1458
``bzrlib.repository.IsInWriteGroupError`` if they do not support
1459
``refresh_data`` during a write group.
1460
(Andrew Bennetts, #574236)
1465
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
1466
the (file-id, revision-id) key from a CHKInventory entry. This can
1467
potentially shave 5-10% time off during a large fetch. Related to bug
1468
#562666. (John Arbash Meinel)
1470
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
1473
* ``_remember_remote_is_before`` no longer raises AssertionError when
1474
suboptimal network behaviour is noticed; instead it just mutters to the
1475
log file (and warns the user if they have set the ``hpss`` debug flag).
1476
This was causing unnecessary aborts for performance bugs that are minor
1478
(Andrew Bennetts, #528041)
1480
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
1481
files loaded from disk. To ensure docstrings needed for help are never
1482
stripped, the prefix ``__doc__ =`` should now be used.
1483
(Martin <gzlist@googlemail.com>)
1485
* No longer require zlib headers to build extensions, and remove the need
1486
for seperate copy of zlib library on windows.
1487
(John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
1492
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
1493
our first in-tree matcher. See the module docstring for details.
1496
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
1497
(Gordon Tyler, #551332)
1499
* Workaround ``Crypto.Random`` check leading to spurious test
1500
failures on Lucid, FreeBSD and gentoo.
1501
(Vincent Ladeuil, #528436)
1503
* New class ``ExecutableFeature`` for checking the availability of
1504
executables on the ``PATH``. Migrated from bash_completion plugin.
1512
This release fixes two critical networking issues with older servers and
1513
with interrupted system call errors when pushing or pulling. We recommend
1514
upgrading to anyone running a 2.1.x version of bzr.
1519
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
1520
support of bzr-externals and scmproj plugins.
1521
(Alexander Belchenko, bug #572098)
1523
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
1524
(Aaron Bentley, #559436)
1526
* Do not register a SIGWINCH signal handler, instead just poll for the
1527
terminal width as needed. This avoids the "Interrupted System Call"
1528
problems that occur on POSIX with all currently released versions of
1530
(Andrew Bennetts, #583941)
1532
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
1533
versions before 1.6.
1534
(Andrew Bennetts, #528041)
1536
* Reset ``siginterrupt`` flag to False every time we handle a signal
1537
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
1538
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
1539
errors compared to registering ``signal.signal`` directly.
1542
* Reduce peak memory by one copy of compressed text.
1543
(John Arbash Meinel, #566940)
1545
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
1546
(John Arbash Meinel, #582656)
1548
* When passing a file to ``UTF8DirReader`` make sure to close the current
1549
directory file handle after the chdir fails. Otherwise when passing many
1550
filenames into a command line ``bzr status`` we would leak descriptors.
1551
(John Arbash Meinel, #583486)
1556
* ``_remember_remote_is_before`` no longer raises AssertionError when
1557
suboptimal network behaviour is noticed; instead it just mutters to the
1558
log file (and warns the user if they have set the ``hpss`` debug flag).
1559
This was causing unnecessary aborts for performance bugs that are minor
1561
(Andrew Bennetts, #528041)
1569
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
1570
incompatibility in the 2.2b1 release. It also includes a swag of
1571
performance, usability and correctness improvements: test feedback on all
1572
of these would be welcome.
1578
* ``bzr diff`` now supports a --format option, which can be used to
1579
select alternative diff formats. (Jelmer Vernooij, #555994)
1584
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
1585
instead of failing when dirty trees are involved. The corresponding
1586
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
1587
True explicitly to get the previous behaviour.
1588
(Vincent Ladeuil, #519319)
1590
* ``bzr export`` to tar file does not fail if any parent directory
1591
contains unicode characters. This works around upstream Python bug
1592
http://bugs.python.org/issue8396 .
1593
(Parth Malwankar, #413406)
1595
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
1596
(Aaron Bentley, #559436)
1598
* ``bzr update`` when a pending merge in the working tree has been merged
1599
into the master branch will no longer claim that old commits have become
1600
pending merges. (Robert Collins, #562079)
1602
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
1603
config as in previous versions of bzrlib. (Robert Collins)
1605
* Fix glitch in the warning about unclean trees display.
1606
(Vincent Ladeuil, #562665)
1608
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
1611
* Help messages generated by ``RegistryOption.from_kwargs`` list the
1612
switches in alphabetical order, rather than in an undefined order.
1613
(Martin von Gagern, #559409)
1615
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
1616
Apport crash reports, to avoid "This problem report applies to a program
1617
which is not installed any more" error.
1618
(Martin Pool, James Westby, #528114)
1620
* Reset ``siginterrupt`` flag to False every time we handle a signal
1621
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
1622
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
1623
errors compared to registering ``signal.signal`` directly.
1626
* When invoked with a range revision, ``bzr log`` doesn't show revisions
1627
that are not part of the Y revisions ancestry anymore when invoked with
1629
(Vincent Ladeuil, #474807)
1631
* Properly handle ``param_name`` attribute for ``ListOption``.
1632
(Martin von Gagern, #387117)
1637
* ``bzr commit`` will prompt before using a commit message that was
1638
generated by a template and not edited by the user.
1639
(Robert Collins, #530265)
1641
* ``bzr diff`` read-locks the trees and branches only once, saving about
1642
10-20ms on ``bzr diff`` in a bzr.dev tree.
1645
* ``bzr missing`` read-locks the branches only once.
1648
* ``bzr pull`` locks the branches and tree only once.
1651
* Index lookups in pack repositories search recently hit pack files first.
1652
In repositories with many pack files this can greatly reduce the
1653
number of files accessed, the number of bytes read, and the number of
1654
read calls. An incremental pull via plain HTTP takes half the time and
1655
bytes for a moderately large repository. (Andrew Bennetts)
1657
* Index lookups only re-order the indexes when the hit files aren't
1658
already first. Reduces the cost of reordering
1659
(John Arbash Meinel, #562429)
1661
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
1663
(Martin Pool, #553017)
1668
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
1669
``get_trees_and_branches_to_diff_locked`` instead.
1672
* ``TreeTransform.commit`` supports the full set of commit parameters, and
1673
auto-determines branch nick if not supplied. (Aaron Bentley)
1678
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
1679
2.1 method of calling run() to perform testing or direct use via the API
1680
is now possible again. As part of this, the _operation attribute on
1681
Command is now transient and only exists for the duration of ``run()``.
1689
This is the first beta of the 2.2 series, leading up to a 2.2.0
1690
release in July or August. Beta releases are suitable for everyday use
1691
but may cause some incompatibilities with plugins. Some plugins may need
1692
small updates to work with 2.2b1.
1694
2.2b1 includes some changes to make merge conflicts easier to understand
1695
and resolve. It also removes some old unnecessary code, and loads
1696
somewhat less code at startup. It starts adding a common infrastructure
1697
for dealing with colocated named branches, which can be implemented in
1698
various ways in either bzr native or foreign formats. On Ubuntu and
1699
other platforms with the apport bug-reporting library, there's an easier
1700
path to report problems with bzr. We plan to continue with these themes
1701
through the 2.2 series.
1703
Over thirty bugs have been fixed, including in the log command, exporting
1704
to tarballs, restarting interrupted system calls, portability of compiled
1705
extensions, making backups during upgrade, and locking on ftp.
1707
Compatibility Breaks
1708
********************
1710
* BTreeGraphIndex can now take an offset to indicate that the data starts
1711
somewhere other than then beginning of the file. (John Arbash Meinel)
1713
* Deleted very old hidden commands ``versionedfile-list``,
1714
``weave-plan-merge``, ``weave-merge-text``.
1717
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
1718
have been removed. (Jelmer Vernooij)
1720
* ``Repository.get_revision_inventory()`` has been removed in favor of
1721
``Repository.get_inventory()``. (Jelmer Vernooij)
1723
* All test servers have been moved out of the bzrlib.transport hierarchy to
1724
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
1725
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
1726
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
1727
``bzrlib.tests.test_server``.
1730
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
1731
as its second parameter, for consistency with the initialize() method of
1732
other formats. (Jelmer Vernooij)
1737
* Added ``bzr remove-branch`` command that can remove a local or remote
1738
branch. (Jelmer Vernooij, #276295)
1740
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
1741
to set file mtimes to the last timestamp of the last revision in which
1742
they were changed rather than the current time. (Jelmer Vernooij)
1744
* If the Apport crash-reporting tool is available, bzr crashes are now
1745
stored into the ``/var/crash`` apport spool directory, and the user is
1746
invited to report them to the developers from there, either
1747
automatically or by running ``apport-bug``. No information is sent
1748
without specific permission from the user. (Martin Pool, #515052)
1750
* Parsing of command lines, for example in ``diff --using``, no longer
1751
treats backslash as an escape character on Windows.
1752
(Gordon Tyler, #392428)
1754
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
1755
a list of plugin names separated by ':' (';' on windows).
1756
(Vincent Ladeuil, #411413)
1758
* Plugins can be loaded from arbitrary locations by defining
1759
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
1760
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
1761
specified plugins. This is targeted at plugin developers for punctual
1762
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
1763
(Vincent Ladeuil, #82693)
1765
* Tag names can now be determined automatically by ``automatic_tag_name``
1766
hooks on ``Branch`` if they are not specified on the command line.
1769
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
1770
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
1771
as resolved is still accessible via the ``--done`` default action.
1774
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
1775
(Aaron Bentley, Jonathan Lange)
1780
* Added docstring for ``Tree.iter_changes``
1781
(John Arbash Meinel, #304182)
1783
* Allow additional arguments to
1784
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
1786
* Allow exporting a single file using ``bzr export``.
1787
(Michal Junák, #511987)
1789
* Allow syscalls to automatically restart when ``TextUIFactory``'s
1790
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
1791
IO, which are often poorly handled by Python's libraries and parts of
1792
bzrlib. (Andrew Bennetts, #496813)
1794
* Avoid infinite recursion when probing for apport.
1795
(Vincent Ladeuil, #516934)
1797
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1798
(Martin Pool, #331095)
1800
* Avoid truncating svn URLs.
1801
(Martin Pool, Martin von Gagern, #545185)
1803
* ``bzr add`` will not add conflict related files unless explicitly required.
1804
(Vincent Ladeuil, #322767, #414589)
1806
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
1807
indices do not have reference lists, so ``dump-btree`` will simply show
1808
``None`` instead. (Andrew Bennetts, #488607)
1810
* ``bzr help`` will no longer trigger the get_missing_command hook when
1811
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
1812
did you mean log?') when getting help. In future we may trigger the hook
1813
deliberately when no help topics match from any help index.
1814
(Robert Collins, #396261)
1816
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
1817
revspec as representing the first revision of the branch.
1818
(Vincent Ladeuil, #519862)
1820
* ``bzr remove-tree`` can now remove multiple working trees.
1821
(Jared Hance, Andrew Bennetts, #253137)
1823
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
1824
the kept file on content conflicts where one side deleted the file.
1825
(Vincent Ladeuil, #529968)
1827
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1828
permissions as ``.bzr`` directory on a POSIX OS.
1829
(Parth Malwankar, #262450)
1831
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
1832
of ``backup.bzr``. This directory is ignored by bzr commands such as
1834
(Parth Malwankar, #335033, #300001)
1836
* Cope with non-utf8 characters inside ``.bzrignore``.
1837
(Jason Spashett, #183504)
1839
* Correctly interpret "451 Rename/move failure: Directory not empty" from
1840
ftp servers while trying to take a lock.
1841
(Martin Pool, #528722)
1843
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
1844
changes occured between the workingtree and one of its parents.
1845
(Vincent Ladeuil, #535547)
1847
* Fix ``log`` to better check ancestors even if merged revisions are involved.
1848
(Vincent Ladeuil, #476293)
1850
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
1851
on os.lisdir() order and is now reliable.
1852
(Vincent Ladeuil, #552922).
1854
* Many IO operations that returned ``EINTR`` were retried even if it
1855
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
1856
only retries operations that are safe to retry, and in some cases has
1857
switched to operations that can be retried (e.g. ``sock.send`` rather than
1859
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
1861
* Path conflicts now support --take-this and --take-other even when a
1862
deletion is involved.
1863
(Vincent Ladeuil, #531967)
1865
* Network transfer amounts and rates are now displayed in SI units according
1866
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
1867
(Gordon Tyler, #514399)
1869
* Support kind markers for socket and fifo filesystem objects. This
1870
prevents ``bzr status --short`` from crashing when those files are
1871
present. (John Arbash Meinel, #303275)
1873
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
1874
directory. (Parth Malwankar, #138600)
1876
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
1877
the debugger won't kill the session.
1878
(Martin <gzlist@googlemail.com>, #162502)
1880
* Tolerate patches with leading noise in ``bzr-handle-patch``.
1881
(Toshio Kuratomi, Martin Pool, #502076)
1883
* ``update -r`` now supports updating to revisions that are not on
1884
mainline (i.e. it supports dotted revisions).
1885
(Parth Malwankar, #517800)
1887
* Use first apparent author not committer in GNU Changelog format.
1888
(Martin von Gagern, #513322)
1893
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
1894
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
1897
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
1898
branch to create. (Jelmer Vernooij)
1900
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
1901
colocated branch to open. (Jelmer Vernooij)
1903
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
1904
can set a signal handler and call ``signal.siginterrupt(signum,
1905
False)`` for it, if the platform and Python version supports it.
1906
(Andrew Bennetts, #496813)
1908
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
1909
run when starting up; it sets up several things that previously needed
1910
to be done separately.
1911
(Martin Pool, #507710)
1913
* Exporters now support a ``per_file_timestamps`` argument to write out the
1914
timestamp of the commit in which a file revision was introduced.
1917
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
1918
present in a control directory. (Jelmer Vernooij)
1920
* New method ``Repository.get_known_graph_ancestry()``.
1921
(Jelmer Vernooij, #495502)
1923
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
1926
* Remove unused ``CommandFailed`` exception.
1932
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
1933
``message_callback`` in the same way that commit does. (Robert Collins)
1935
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
1936
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
1937
of date. (Gary van der Merwe)
1939
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
1940
functions to load or disable plugins if they wish to use a different
1941
plugin mechanism; the --help, --version and no-command name code paths
1942
now use the generic pluggable command lookup infrastructure.
1945
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
1946
which can be set to add extra help to the error. (Gary van der Merwe)
1948
* New method ``Branch.automatic_tag_name`` that can be used to find the
1949
tag name for a particular revision automatically. (Jelmer Vernooij)
1951
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
1952
``BzrDir.open_branch()`` now take an optional ``name`` argument.
1958
* bzr now has a ``.testr.conf`` file in its source tree configured
1959
appropriately for running tests with Testrepository
1960
(``https://launchpad.net/testrepository``). (Robert Collins)
1962
* Documentation about testing with ``subunit`` has been tweaked.
1965
* Known failures has been added for resolve --take-other on ParentLoop
1966
conflicts. This reflects bug #537956 without fixing it.
1969
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
1970
Python modules are loaded, to guard against startup time or library
1971
dependency regressions.
1974
* PQM will now run with subunit output. To analyze a PQM error use
1975
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
1977
* Stop sending apport crash files to ``.cache`` in the directory from
1978
which ``bzr selftest`` was run. (Martin Pool, #422350)
1980
* Tests no longer fail if "close() called during concurrent
1981
operation on the same file object" occurs when closing the log file
1982
(which can happen if a thread tries to write to the log file at the
1983
wrong moment). An warning will be written to ``stderr`` when this
1984
happens, and another warning will be written if the log file could not
1985
be closed after retrying 100 times. (Andrew Bennetts, #531746)
1992
This is a small bugfix release. Upgrading is recommended for anyone
1993
running 2.1.0 or earlier.
1998
* Allow syscalls to automatically restart when ``TextUIFactory``'s
1999
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
2000
IO, which are often poorly handled by Python's libraries and parts of
2001
bzrlib. (Andrew Bennetts, #496813)
2003
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
2004
(Martin Pool, #331095)
2006
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
2008
* Fix stub sftp test server to call os.getcwdu().
2009
(Vincent Ladeuil, #526221, #526353)
2011
* Fixed CHM generation by moving the NEWS section template into
2012
a separate file. (Ian Clatworthy, #524184)
2014
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
2016
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
2017
problems importing bzrlib from a non-main thread.
2018
(Elliot Murphy, #521989)
2020
* Repositories accessed via a smart server now reject being stacked on a
2021
repository in an incompatible format, as is the case when accessing them
2022
via other methods. This was causing fetches from those repositories via
2023
a smart server (e.g. using ``bzr branch``) to receive invalid data.
2024
(Andrew Bennetts, #562380)
2026
* Standardize the error handling when creating a new ``StaticTuple``
2027
(problems will raise TypeError). (Matt Nordhoff, #457979)
2029
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
2030
``StaticTuple`` extensions, rather than having the build fail randomly.
2031
(John Arbash Meinel, #449776)
2036
* Added a link to the Desktop Guide. (Ian Clatworthy)
2038
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
2040
* Drop Google Analytics from the core docs as they caused problems
2041
in the CHM files. (Ian Clatworthy, #502010)
2046
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
2047
can set a signal handler and call ``signal.siginterrupt(signum,
2048
False)`` for it, if the platform and Python version supports it.
2049
(Andrew Bennetts, #496813)
2057
This fifth release in our 2.0 series addresses several user-inconvenience
2058
bugs. None are critical, but upgrading is recommended for all users on
2059
earlier 2.0 releases.
2064
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
2065
(Martin Pool, #331095)
2067
* Concurrent autopacking is more resilient to already-renamed pack files.
2068
If we find that a file we are about to obsolete is already obsoleted, we
2069
do not try to rename it, and we leave the file in ``obsolete_packs``.
2070
The code is also fault tolerant if a file goes missing, assuming that
2071
another process already removed the file.
2072
(John Arbash Meinel, Gareth White, #507557)
2074
* Cope with the lockdir ``held/info`` file being empty, which seems to
2075
happen fairly often if the process is suddenly interrupted while taking
2077
(Martin Pool, #185103)
2079
* Give the warning about potentially slow cross-format fetches much
2080
earlier on in the fetch operation. Don't show this message during
2081
upgrades, and show the correct format indication for remote
2083
(Martin Pool, #456077, #515356, #513157)
2085
* Handle renames correctly when there are files or directories that
2086
differ only in case. (Chris Jones, Martin Pool, #368931)
2088
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
2089
error, report that error rather than failing with an unhelpful
2090
``UnboundLocalError``.
2091
(Andrew Bennetts, #423563)
2093
* Running ``bzr`` command without any arguments now shows bzr
2094
version number along with rest of the help text.
2095
(Parth Malwankar, #369501)
2097
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
2099
(Inada Naoki, #524560)
2104
* Added ``location-alias`` help topic.
2105
(Andrew Bennetts, #337834)
2107
* Fixed CHM generation by moving the NEWS section template into
2108
a separate file. (Ian Clatworthy, #524184)
2114
:Codename: Strasbourg
2117
This release marks our second long-term-stable series. The Bazaar team
2118
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
2119
releases, along with 2.2 development releases.
2121
This is a fairly incremental update, focusing on polish and bugfixing.
2122
There are no changes for supported disk formats. Key updates include
2123
reduced memory consumption for many operations, a new per-file merge
2124
hook, ignore patterns can now include '!' to exclude files, globbing
2125
support for all commands on Windows, and support for addressing home
2126
directories via ``bzr+ssh://host/~/`` syntax.
2128
Users are encouraged to upgrade from the 2.0 stable series.
2133
* Don't require testtools to use sftp.
2134
(Vincent Ladeuil, #516183)
2136
* Fix "AttributeError in Inter1and2Helper" during fetch.
2137
(Martin Pool, #513432)
2139
* ``bzr update`` performs the two merges in a more logical order and will stop
2140
when it encounters conflicts.
2141
(Gerard Krol, #113809)
2143
* Give a better error message when doing ``bzr bind`` in an already bound
2144
branch. (Neil Martinsen-Burrell, #513063)
2146
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
2147
in a pack repository, which can happen harmlessly if the abort occurs during
2148
finishing the write group. Also use ``bzrlib.cleanup`` so that any
2149
other errors that occur while aborting the individual packs won't be
2150
hidden by secondary failures when removing the corresponding indices.
2151
(Andrew Bennetts, #423015)
2153
* Set the mtime of files exported to a directory by ``bzr export`` all to
2154
the same value to avoid confusing ``make`` and other date-based build
2155
systems. (Robert Collins, #515631)
2160
* Fetching into experimental formats will now print a warning. (Jelmer
2166
* ``Repository.deserialise_inventory`` has been renamed to
2167
``Repository._deserialise_inventory`` to indicate it is private.
2170
* ``Repository.get_inventory_xml`` has been renamed to
2171
``Repository._get_inventory_xml`` to indicate it is private.
2174
* ``Repository.serialise_inventory`` has been renamed to
2175
``Repository._serialise_inventory`` to indicate it is private.
2177
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
2178
same time was broken due to race conditions with a module level page
2179
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
2180
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
2181
the same high level objects such as ``bzrlib.repository.Repository``
2182
from different threads. chk_map now uses a thread local cache which may
2183
increase memory pressure on processes using threads.
2184
(Robert Collins, John Arbash Meinel, #514090)
2186
* The new ``merge_file_content`` should now be ok with tests to avoid
2188
(Vincent Ladeuil, #515597)
2193
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
2194
blocks in several places in ``bzrlib.merge``. This avoids masking prior
2195
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
2197
(Andrew Bennetts, #517275)
2202
* The ``remove_index`` method of
2203
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
2204
argument. This argument was always ignored.
2205
(Andrew Bennetts, #423015)
2210
:Codename: after the bubbles
2211
:2.1.0rc2: 2010-01-29
2213
This is a quick-turn-around to update a small issue with our new per-file
2214
merge hook. We expect no major changes from this to the final 2.1.0.
2219
* The new ``merge_file_content`` hook point has been altered to provide a
2220
better API where state for extensions can be stored rather than the
2221
too-simple function based approach. This fixes a performance regression
2222
where branch configuration would be parsed per-file during merge. As
2223
part of this the included news_merger has been refactored into a base
2224
helper class ``bzrlib.merge.ConfigurableFileMerger``.
2225
(Robert Collins, John Arbash Meinel, #513822)
2231
:Codename: the 'new' stable
2232
:2.1.0rc1: 2009-01-21
2234
This is the first stable release candidate for Bazaar's 2.1 series. From
2235
this point onwards, the 2.1 series will be considered stable (as the 2.0
2236
series) and only bugfixes are expected to be incorporated. The dozen or so
2237
bugfixes in the 2.0.4 release are also included in this release (along
2238
with more than 15 more bugfixes). Some of the interesting features are
2239
support for per-file merge hooks, ``bzr unshelve --preview``, support
2240
for using ! in ignore files to exclude files from being ignored, a small
2241
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
2242
This looks to be a very good start for a new stable series.
2248
* Add bug information to log output when available.
2249
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
2251
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
2252
to register custom merge logic, e.g. to provide smarter merging for
2255
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
2256
default, to enable it add a ``news_merge_files`` option to your
2257
configuration. Consult ``bzr help news_merge`` for more information.
2260
* ``bzr branch`` now takes a ``--bind`` option. This lets you
2261
branch and bind all in one command. (Ian Clatworthy)
2263
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
2264
a specific revision of a branch. (Daniel Watkins, #183559)
2266
* ``bzr unshelve --preview`` can now be used to show how a patch on the
2267
shelf would be applied to the working tree.
2268
(Guilherme Salgado, #308122)
2270
* ``bzr update`` now takes a ``--revision`` argument. This lets you
2271
change the revision of the working tree to any revision in the
2272
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
2273
Martin Pool, #45719)
2275
* ``-Dbytes`` can now be used to display the total number of bytes
2276
transferred for the current command. This information is always logged
2277
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
2279
* New ignore patterns. Patterns prefixed with '!' are exceptions to
2280
ignore patterns and take precedence over regular ignores. Such
2281
exceptions are used to specify files that should be versioned which
2282
would otherwise be ignored. Patterns prefixed with '!!' act as regular
2283
ignore patterns, but have highest precedence, even over the '!'
2284
exception patterns. (John Whitley, #428031)
2286
* The ``supress_warnings`` configuration option has been introduced to disable
2287
various warnings (it currently only supports the ``format_deprecation``
2288
warning). The new option can be set in any of the following locations:
2289
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
2290
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
2295
* Always show a message if an OS error occurs while trying to run a
2296
user-specified commit message editor.
2297
(Martin Pool, #504842)
2299
* ``bzr diff`` will now use the epoch when it is unable to determine
2300
the timestamp of a file, if the revision it was introduced in is a
2301
ghost. (Jelmer Vernooij, #295611)
2303
* ``bzr switch -b`` can now create branches that are located using directory
2304
services such as ``lp:``, even when the branch name doesn't contain a
2305
'/'. (Neil Martinsen-Burrell, #495263)
2307
* ``bzr unshelve`` has improved messages about what it is doing.
2308
(Neil Martinsen-Burrell, #496917)
2310
* Concurrent autopacking is more resilient to already-renamed pack files.
2311
If we find that a file we are about to obsolete is already obsoleted, we
2312
do not try to rename it, and we leave the file in ``obsolete_packs``.
2313
The code is also fault tolerant if a file goes missing, assuming that
2314
another process already removed the file.
2315
(John Arbash Meinel, Gareth White, #507557)
2317
* Fix "Too many concurrent requests" in reconcile when network connection
2318
fails. (Andrew Bennetts, #503878)
2320
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
2321
that caused some tests to fail when run in a non-default order.
2322
Probably no user impact. (Martin Pool, #504102)
2324
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
2325
(Andrew Bennetts, #506274)
2327
* FTP transports support Unicode paths by encoding/decoding them as utf8.
2328
(Vincent Ladeuil, #472161)
2330
* Listen to the SIGWINCH signal to update the terminal width.
2331
(Vincent Ladeuil, #316357)
2333
* Progress bars are now hidden when ``--quiet`` is given.
2334
(Martin Pool, #320035)
2336
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
2337
whatever is written to it. This un-breaks some plugin tests that
2338
depended on this behaviour.
2339
(Martin Pool, #499757)
2341
* When operations update the working tree, all affected files should end
2342
up with the same mtime. (eg. when versioning a generated file, if you
2343
update the source and the generated file together, the generated file
2344
should appear up-to-date.)
2345
(John Arbash Meinel, Martin <gzlist>, #488724)
2350
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
2351
All the builtin commands now use ``add_cleanup`` rather than
2352
``try``/``finally`` blocks where applicable as it is simpler and more
2353
robust. (Andrew Bennetts)
2355
* All except a small number of storage formats are now hidden, making
2356
the help for numerous commands far more digestible. (Ian Clatworthy)
2358
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
2359
path/to/repo``) will now include "location is a repository" as a hint in
2360
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
2362
* Push will now inform the user when they are trying to push to a foreign
2363
VCS for which roundtripping is not supported, and will suggest them to
2364
use dpush. (Jelmer Vernooij)
2366
* The version of bzr being run is now written to the log file.
2367
(__monty__, #257170)
2369
* Transport network activity indicator is shown more of the time when
2370
Bazaar is doing network IO.
2376
* Add documentation on creating merges with more than one parent.
2377
(Neil Martinsen-Burrell, #481526)
2379
* Better explain the --uncommitted option of merge.
2380
(Neil Martinsen-Burrell, #505088)
2382
* Improve discussion of pending merges in the documentation for
2383
``revert``. (Neil Martinsen-Burrell, #505093)
2385
* Improved help for ``bzr send``.
2386
(Martin Pool, Bojan Nikolic)
2388
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
2389
including discussions of installation, relevant plugins, security and
2390
backup. (Neil Martinsen-Burrell)
2392
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
2395
* The User Reference is now presented as a series of topics.
2396
Many of the included topics have link and format tweaks applied.
2402
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
2405
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
2406
to be consistent with instances being lower case and classes being
2407
CamelCase. For the features that were more likely to be used, we added a
2408
deprecation thunk, but not all. (John Arbash Meinel)
2410
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
2411
parameter in their constructors, and provide ``this_branch`` as an
2412
attribute. (Andrew Bennetts)
2414
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
2415
by plugins - the original exceptions are now preserved. (Robert Collins)
2417
* The Transport ``Server.tearDown`` method is now renamed to
2418
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
2419
our normal naming pattern, and to avoid confusion with Python's
2420
``TestCase.tearDown``. (Martin Pool)
2422
* ``WorkingTree.update`` implementations must now accept a ``revision``
2428
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
2429
a string of details (such as "location is a repository") as part of a
2430
``nobranch`` response. (Andrew Bennetts, #440952)
2432
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
2433
objects but passes str objects straight through. This is used for
2434
selftest but may be useful for diff and other operations that generate
2435
mixed output. (Robert Collins)
2437
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
2438
plugins. (Jelmer Vernooij)
2443
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
2444
running all tests in the current module, once against a pure python
2445
implementation, and once against an extension (pyrex/C) implementation.
2446
It can be used to dramatically simplify the implementation of
2447
``load_tests``. (John Arbash Meinel)
2449
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
2450
This permits features in testtools such as getUniqueInteger and
2451
getUniqueString to be used. Because of this, testtools version 0.9.2 or
2452
newer is now a dependency to run bzr selftest. Running with versions of
2453
testtools less than 0.9.2 will cause bzr to error while loading the test
2454
suite. (Robert Collins)
2456
* Shell-like tests now support the command "mv" for moving files. The
2457
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
2458
supported. (Neil Martinsen-Burrell)
2460
* The test progress bar no longer distinguishes tests that 'errored' from
2461
tests that 'failed' - they're all just failures.
2467
:Codename: smooth sailing
2470
The fourth bugfix-only release in the 2.0 series contains more than a
2471
dozen bugfixes relative to 2.0.3. The primary focus is on handling
2472
interruptions and concurrent operations more cleanly, there is also a fair
2473
improvement to ``bzr export`` when exporting a remote branch.
2479
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
2480
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
2482
* ``bzr export dir`` now requests all file content as a record stream,
2483
rather than requsting the file content one file-at-a-time. This can make
2484
exporting over the network significantly faster (54min => 9min in one
2485
case). (John Arbash Meinel, #343218)
2487
* ``bzr serve`` no longer slowly leaks memory. The compiled
2488
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
2489
free resources, and it should have been using ``__dealloc__``.
2490
This will likely have an impact on any other process that is serving for
2491
an extended period of time. (John Arbash Meinel, #494406)
2493
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
2494
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
2495
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
2497
* Concurrent autopacks will no longer lose a newly created pack file.
2498
There was a race condition, where if the reload happened at the right
2499
time, the second packer would forget the name of the newly added pack
2500
file. (John Arbash Meinel, Gareth White, #507566)
2502
* Give a clearer message if the lockdir disappears after being apparently
2503
successfully taken. (Martin Pool, #498378)
2505
* Give a warning when fetching between repositories (local or remote) with
2506
sufficiently different formats that the content will need to be
2507
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
2508
the user has a clue that upgrading could make it faster.
2509
(Martin Pool, #456077)
2511
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
2512
than using ``warning()``. The log file is opened before logging is set
2513
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
2514
users, rather than something nicer.
2515
(John Arbash Meinel, Barry Warsaw, #503886)
2517
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
2518
(Martin Pool, John Arbash Meinel, #449372)
2520
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
2521
build. (there is still the distutils bug
2522
http://bugs.python.org/issue644744) (Joe Julian, #175839)
2524
* The 2a format wasn't properly restarting autopacks when something
2525
changed underneath it (like another autopack). Now concurrent
2526
autopackers will properly succeed. (John Arbash Meinel, #495000)
2528
* ``TreeTransform`` can now handle when a delta says that the file id for
2529
the tree root changes. Rather than trying to rename your working
2530
directory, or failing early saying that you can't have multiple
2531
tree roots. This also fixes revert, update, and pull when the root id
2532
changes. (John Arbash Meinel, #494269, #504390)
2534
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
2535
the right time will get propagated, rather than silently failing to move
2536
the block pointer. (John Arbash Meinel, Gareth White, #495023)
2541
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
2542
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
2543
rather than an ``except ?:`` clause.) This should help prevent bugs like
2544
bug #495023. (John Arbash Meinel)
2550
:Codename: san francisco airport
2551
:2.1.0b4: 2009-12-14
2553
The fourth beta release in the 2.1 series brings with it a significant
2554
number of bugfixes (~20). The test suite is once again (finally) "green"
2555
on Windows, and should remain that way for future releases. There are a
2556
few performance related updates (faster upgrade and log), and several UI
2557
tweaks. There has also been a significant number of tweaks to the runtime
2558
documentation. 2.1.0b4 include everything from the 2.0.3 release.
2561
Compatibility Breaks
2562
********************
2564
* The BZR_SSH environmental variable may now be set to the path of a secure
2565
shell client. If currently set to the value ``ssh`` it will now guess the
2566
vendor of the program with that name, to restore the old behaviour that
2567
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
2568
string. (Martin <gzlist@googlemail.com>, #176292)
2573
* ``bzr commit`` now has a ``--commit-time`` option.
2574
(Alexander Sack, #459276)
2576
* ``-Dhpss`` now increases logging done when run on the bzr server,
2577
similarly to how it works on the client. (John Arbash Meinel)
2579
* New option ``bzr unshelve --keep`` applies the changes and leaves them
2580
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
2582
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
2583
respect a given terminal width. This can be useful when output is
2584
redirected or in obscure cases where the default value is not
2585
appropriate. Pagers can use it to get a better control of the line
2589
* The new command ``bzr lp-mirror`` will request that Launchpad update its
2590
mirror of a local branch. This command will only function if launchpadlib
2598
* After renaming a file, the dirstate could accidentally reference
2599
``source\\path`` rather than ``source/path`` on Windows. This might be a
2600
source of some dirstate-related failures. (John Arbash Meinel)
2602
* ``bzr commit`` now detects commit messages that looks like file names
2603
and issues a warning.
2604
(Gioele Barabucci, #73073)
2606
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
2608
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
2609
(#325618, #484109, Marius Kruger)
2611
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
2612
files with conflicts (similar to ``--merge3``). The contents of the file
2613
is a synthesis of all bases used for the merge.
2614
(John Arbash Meinel, #40412)
2616
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
2618
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
2619
(Robert Collins, #84659)
2621
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
2623
* Fix bug with redirected URLs over authenticated HTTP.
2624
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
2626
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
2628
* Lots of bugfixes for the test suite on Windows. We should once again
2629
have a test suite with no failures on Windows. (John Arbash Meinel)
2631
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
2632
variable but returns None if the terminal is not a tty (when output is
2633
redirected for example). Also fixes its usage under OSes that doesn't
2634
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
2636
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
2637
(John Arbash Meinel, Vincent Ladeuil, #492561)
2639
* Terminate ssh subprocesses when no references to them remain, fixing
2640
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
2642
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
2643
works for 2a format trees. Only files unaffected by content filters
2644
will be hardlinked. (Andrew Bennetts, #408193)
2646
* The new glob expansion on Windows would replace all ``\`` characters
2647
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
2648
etc. Now only change slashes if there is something being glob expanded.
2649
(John Arbash Meinel, #485771)
2651
* Use our faster ``KnownGraph.heads()`` functionality when computing the
2652
new rich-root heads. This can cut a conversion time in half (mysql from
2653
13.5h => 6.2h) (John Arbash Meinel, #487632)
2655
* When launching a external diff tool via bzr diff --using, temporary files
2656
are no longer created, rather, the path to the file in the working tree is
2657
passed to the external diff tool. This allows the file to be edited if the
2658
diff tool provides for this. (Gary van der Merwe, #490738)
2660
* The launchpad-open command can now be used from a subdirectory of a
2661
branch, not just from the root of the branch.
2662
(Neil Martinsen-Burrell, #489102)
2668
* ``bzr log`` is now faster. (Ian Clatworthy)
2670
* ``bzr update`` provides feedback on which branch it is up to date with.
2671
(Neil Martinsen-Burrell)
2673
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
2674
For details see the xml8 patch and heads() improvements.
2675
(John Arbash Meinel)
2677
* ``bzrlib.urlutils.local_path_from_url`` now accepts
2678
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
2681
* The progress bar now shows only a spinner and per-operation counts,
2682
not an overall progress bar. The previous bar was often not correlated
2683
with real overall operation progress, either because the operations take
2684
nonlinear time, or because at the start of the operation Bazaar couldn't
2685
estimate how much work there was to do. (Martin Pool)
2690
* Lots of documentation tweaks for inline help topics and command help
2696
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
2698
* The Launchpad plugin now has a function ``login`` which will log in to
2699
Launchpad with launchpadlib, and ``load_branch`` which will return the
2700
Launchpad Branch object corresponding to a given Bazaar Branch object.
2706
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
2707
easier to handle what tests you want to run based on what modules can be
2708
imported. (Rather than lots of custom-implemented features that were
2709
basically copy-and-pasted.) (John Arbash Meinel)
2711
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
2712
``time.clock()`` when you want to do performance timing.
2713
``time.time()`` is limited to 15ms resolution on Windows, but
2714
``time.clock()`` gives CPU and not wall-clock time on other platforms.
2715
(John Arbash Meinel)
2717
* Several code paths that were calling ``Transport.get().read()`` have
2718
been changed to the equalivent ``Transport.get_bytes()``. The main
2719
difference is that the latter will explicitly call ``file.close()``,
2720
rather than expecting the garbage collector to handle it. This helps
2721
with some race conditions on Windows during the test suite and sftp
2722
tests. (John Arbash Meinel)
2727
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
2728
unicode strings. (Michael Hudson, #464174)
2734
:Codename: little italy
2738
The third stable release of Bazaar has a small handful of bugfixes. As
2739
expected, this has no internal or external compatibility changes versus
2745
* ``bzr push --use-existing-dir`` no longer crashes if the directory
2746
exists but contains an invalid ``.bzr`` directory.
2747
(Andrew Bennetts, #423563)
2749
* Content filters are now applied correctly after pull, merge and switch.
2750
(Ian Clatworthy, #385879)
2752
* Fix a potential segfault in the groupcompress hash map handling code.
2753
When inserting new entries, if the final hash bucket was empty, we could
2754
end up trying to access if ``(last_entry+1)->ptr == NULL``.
2755
(John Arbash Meinel, #490228)
2757
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
2763
:Codename: after sprint recovery
2764
:2.1.0b3: 2009-11-16
2766
This release was pushed up from its normal release cycle due to a
2767
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
2768
was caught before 2.1.0b2 was officially announced, the full changelog
2769
includes both 2.1.0b3 and 2.1.0b2 changes.
2771
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
2772
the test suite now conforms to python's trunk enhanced semantics (skip,
2773
etc.), and ``bzr info -v`` will now report the correct branch and repo
2774
formats for Remote objects.
2780
* Users can define a shelve editor to provide shelf functionality at a
2781
granularity finer than per-patch-hunk. (Aaron Bentley)
2786
* Fix for shell completion and short options. (Benoît PIERRE)
2788
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
2790
* Hooks daughter classes should always call the base constructor.
2791
(Alexander Belchenko, Vincent Ladeuil, #389648)
2793
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
2795
* On Windows, do glob expansion at the command-line level (as is usually
2796
done in bash, etc.) This means that *all* commands get glob expansion
2797
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
2798
parser, which allows us to know if a given section was quoted. It means
2799
you can now do ``bzr ignore "*.py"``.
2800
(John Arbash Meinel, #425510, #426410, #194450)
2802
* Sanitize commit messages that come in from the '-m' flag. We translate
2803
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
2804
allow those because XML store silently translate it anyway. (The parser
2805
auto-translates \r\n => \n in ways that are hard for us to catch.)
2807
* Show correct branch and repository format descriptions in
2808
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
2810
* The fix for bug #186920 accidentally broke compatibility with python
2811
2.4. (Vincent Ladeuil, #475585)
2813
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
2814
correctly sets ``self.inv_sha1`` to a sha1 string and
2815
``self.new_inventory`` to an Inventory instance after calling
2816
``self.finish_inventory()``. (Previously it accidently set both values
2817
as a tuple on ``self.inv_sha1``. This was missed because
2818
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
2819
the sha1 from the repo directly. (John Arbash Meinel)
2821
* Shelve command refuse to run if there is no real terminal.
2822
(Alexander Belchenko)
2824
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
2825
Python level. (Martin Pool)
2830
* Include Japanese translations for documentation (Inada Naoki)
2832
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
2833
(rather than user-interaction) data to stdout. This automatically
2834
coordinates with progress bars or other terminal activity, and can be
2836
(Martin Pool, 493944)
2841
* Some of the core groupcompress functionality now releases the GIL before
2842
operation. Similar to how zlib and bz2 operate without the GIL in the
2843
core compression and decompression routines. (John Arbash Meinel)
2848
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
2849
more debugging of VFS access triggers. (Robert Collins)
2851
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
2852
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
2854
* ``--parallel=fork`` is now compatible with --subunit.
2855
(Robert Collins, Vincent Ladeuil, #419776)
2857
* Reporting of failures shows test ids not descriptions and thus shows
2858
parameterised tests correctly. (Robert Collins)
2860
* TestNotApplicable is now handled within the TestCase.run method rather
2861
than being looked for within ``ExtendedTestResult.addError``. This
2862
provides better handling with other ``TestResult`` objects, degrading to
2863
sucess rather than error. (Robert Collins)
2865
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
2866
removed - it was empty and unused. (Robert Collins)
2868
* UnavailableFeature is now handled within the TestCase.run method rather
2869
than being looked for within addError. If the Result object does not
2870
have an addNotSupported method, addSkip is attempted instead, and
2871
failing that addSuccess. (Robert Collins)
2873
* When a TestResult does not have an addSkip method, skipped tests are now
2874
reported as successful tests, rather than as errors. This change is
2875
to make it possible to get a clean test run with a less capable
2876
TestResult. (Robert Collins)
2883
:Codename: a load off my mind
2884
:2.1.0b2: 2009-11-02
2886
This is our second feature-filled release since 2.0, pushing us down the
2887
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
2889
Key highlights in this release are: improved handling of
2890
failures-during-cleanup for commit, fixing a long-standing bug with
2891
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
2892
behind proxies, and a new StaticTuple datatype, allowing us to reduce
2893
memory consumption (50%) and garbage collector overhead (40% faster) for
2896
* A new ``--concurrency`` option has been added as well as an associated
2897
BZR_CONCURRENCY environment variable to specify the number of
2898
processes that can be run concurrently when running ``bzr selftest``. The
2899
command-line option overrides the environment variable if both are
2900
specified. If none is specified. the number of processes is obtained
2901
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
2906
* ``bzr+http`` servers no longer give spurious jail break errors when
2907
serving branches inside a shared repository. (Andrew Bennetts, #348308)
2909
* Errors during commit are handled more robustly so that knock-on errors
2910
are less likely to occur, and will not obscure the original error if
2911
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
2912
and similar errors. (Andrew Bennetts, #429747, #243391)
2914
* Launchpad urls can now be resolved from behind proxies.
2915
(Gordon Tyler, Vincent Ladeuil, #186920)
2917
* Reduce the strictness for StaticTuple, instead add a debug flag
2918
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
2919
This way, most users won't see failures, but developers can improve
2920
internals. (John Arbash Meinel, #471193)
2922
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
2923
files. (Aaron Bentley)
2925
* Unicode paths are now handled correctly and consistently by the smart
2926
server. (Andrew Bennetts, Michael Hudson, #458762)
2931
* When reading index files, we now use a ``StaticTuple`` rather than a
2932
plain ``tuple`` object. This generally gives a 20% decrease in peak
2933
memory, and can give a performance boost up to 40% on large projects.
2934
(John Arbash Meinel)
2936
* Peak memory under certain operations has been reduced significantly.
2937
(eg, 'bzr branch launchpad standalone' is cut in half)
2938
(John Arbash Meinel)
2943
* Filtered views user documentation upgraded to refer to format 2a
2944
instead of pre-2.0 formats. (Ian Clatworthy)
2949
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
2951
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
2952
``show_warning`` methods, which can be hooked by non-text UIs.
2958
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
2959
Dict (it only holds keys, but you can lookup the object located at a
2960
given key). It has significantly reduced memory consumption versus the
2961
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
2962
used as the interning structure for StaticTuple objects.
2963
(John Arbash Meinel)
2965
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
2966
the btree index parser and the chk map parser. This class functions
2967
similarly to ``tuple`` objects. However, it can only point to a limited
2968
collection of types. (Currently StaticTuple, str, unicode, None, bool,
2969
int, long, float, but not subclasses). This allows us to remove it from
2970
the garbage collector (it cannot be in a cycle), it also allows us to
2971
intern the objects. In testing, this can reduce peak memory by 20-40%,
2972
and significantly improve performance by removing objects from being
2973
inspected by the garbage collector. (John Arbash Meinel)
2975
* ``GroupCompressBlock._ensure_content()`` will now release the
2976
``zlib.decompressobj()`` when the first request is for all of the
2977
content. (Previously it would only be released if you made a request for
2978
part of the content, and then all of it later.) This turns out to be a
2979
significant memory savings, as a ``zstream`` carries around approx 260kB
2980
of internal state and buffers. (For branching bzr.dev this drops peak
2981
memory from 382MB => 345MB.) (John Arbash Meinel)
2983
* When streaming content between ``2a`` format repositories, we now clear
2984
caches from earlier versioned files. (So 'revisions' is cleared when we
2985
start reading 'inventories', etc.) This can have a significant impact on
2986
peak memory for initial copies (~200MB). (John Arbash Meinel)
2992
:Codename: after the scare
2995
The second in our "let's keep the stable bugfixes flowing" series. As
2996
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
2997
changes or features.
3002
* Avoid "NoneType has no attribute st_mode" error when files disappear
3003
from a directory while it's being read. (Martin Pool, #446033)
3005
* Content filters are now applied correctly after revert.
3008
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
3010
* Fetching from stacked pre-2a repository via a smart server no longer
3011
fails intermittently with "second push failed to complete".
3012
(Andrew Bennetts, #437626)
3014
* Fix typos left after test_selftest refactoring.
3015
(Vincent Ladeuil, Matt Nordhoff, #461149)
3017
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
3018
(Andrew Bennetts, #445171)
3020
* PreviewTree file names are not limited by the encoding of the temp
3021
directory's filesystem. (Aaron Bentley, #436794)
3026
* ``bzr log`` now read-locks branches exactly once, so makes better use of
3027
data caches. (Andrew Bennetts)
3032
* Filtered views user documentation upgraded to refer to format 2a
3033
instead of pre-2.0 formats. (Ian Clatworthy)
3039
:Codename: While the cat is away
3040
:2.1.0b1: 2009-10-14
3042
This is the first development release in the new split "stable" and
3043
"development" series. As such, the release is a snapshot of bzr.dev
3044
without creating a release candidate first. This release includes a
3045
fair amount of internal changes, with deprecated code being removed,
3046
and several new feature developments. People looking for a stable code
3047
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
3048
present in 2.0.1 are present in 2.1.0b1.
3050
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
3051
finer control over the plugin search path via extended BZR_PLUGIN_PATH
3052
syntax, visible warnings when extension modules fail to load, and improved
3053
error handling during unlocking.
3059
* Bazaar can now send mail through Apple OS X Mail.app.
3062
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
3063
specified in the URL. Paths starting with a path segment of ``~`` are
3064
relative to the home directory of the user running the server, and paths
3065
starting with ``~user`` are relative to the home directory of the named
3066
user. For example, for a user "bob" with a home directory of
3067
``/home/bob``, these URLs are all equivalent:
3069
* ``bzr+ssh://bob@host/~/repo``
3070
* ``bzr+ssh://bob@host/~bob/repo``
3071
* ``bzr+ssh://bob@host/home/bob/repo``
3073
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
3074
home directories outside that directory will be accessible via this
3077
This is a feature of ``bzr serve``, so pre-2.1 clients will
3078
automatically benefit from this feature when ``bzr`` on the server is
3079
upgraded. (Andrew Bennetts, #109143)
3081
* Extensions can now be compiled if either Cython or Pyrex is available.
3082
Currently Pyrex is preferred, but that may change in the future.
3085
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
3086
disable the user, site and core plugin directories.
3087
(Vincent Ladeuil, #412930, #316192, #145612)
3092
* Bazaar's native protocol code now correctly handles EINTR, which most
3093
noticeably occurs if you break in to the debugger while connected to a
3094
bzr+ssh server. You can now can continue from the debugger (by typing
3095
'c') and the process continues. However, note that pressing C-\ in the
3096
shell may still kill the SSH process, which is bug 162509, so you must
3097
sent a signal to the bzr process specifically, for example by typing
3098
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
3100
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
3101
filename will issue a warning and skip over those files.
3102
(Robert Collins, #3918)
3104
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
3105
are present in the working tree. The configuration option ``dpush_strict``
3106
can be used to set the default for this behavior.
3107
(Vincent Ladeuil, #438158)
3109
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
3110
merges are present in the working tree.
3111
(Vincent Ladeuil, #426344)
3113
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
3114
traceback. (Martin Pool, #109115)
3116
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
3117
as it is never built. (John Arbash Meinel, #430645)
3119
* Don't restrict the command name used to run the test suite.
3120
(Vincent Ladeuil, #419950)
3122
* ftp transports were built differently when the kerberos python module was
3123
present leading to obscure failures related to ASCII/BINARY modes.
3124
(Vincent Ladeuil, #443041)
3126
* Network streams now decode adjacent records of the same type into a
3127
single stream, reducing layering churn. (Robert Collins)
3129
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
3130
file. (Aaron Bentley, #251532)
3132
* Registry objects should not use iteritems() when asked to use items().
3133
(Vincent Ladeuil, #430510)
3135
* Weave based repositories couldn't be cloned when committers were using
3136
domains or user ids embedding '.sig'. Now they can.
3137
(Matthew Fuller, Vincent Ladeuil, #430868)
3142
* Revision specifiers can now be given in a more DWIM form, without
3143
needing explicit prefixes for specifiers like tags or revision id's.
3144
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
3146
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
3147
compiled extensions can't be loaded. This typically indicates a
3148
packaging or installation problem. In this case Bazaar will keep
3149
running using pure-Python versions, but this may be substantially
3150
slower. The warning can be disabled by setting
3151
``ignore_missing_extensions = True`` in ``bazaar.conf``.
3152
See also <https://answers.launchpad.net/bzr/+faq/703>.
3153
(Martin Pool, #406113, #430529)
3155
* Secondary errors that occur during Branch.unlock and Repository.unlock
3156
no longer obscure the original error. These methods now use a new
3157
decorator, ``only_raises``. This fixes many causes of
3158
``TooManyConcurrentRequests`` and similar errors.
3159
(Andrew Bennetts, #429747)
3164
* Describe the new shell-like test feature. (Vincent Ladeuil)
3166
* Help on hooks no longer says 'Not deprecated' for hooks that are
3167
currently supported. (Ian Clatworthy, #422415)
3172
* ``bzrlib.user_encoding`` has been removed; use
3173
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
3175
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
3176
subclasses - the same as python's unittest module. (Robert Collins)
3178
* ``diff._get_trees_to_diff`` has been renamed to
3179
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
3180
returns the old and new branches. (Gary van der Merwe)
3182
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
3185
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
3186
now defaults to comparing to the basis tree. It now checks for pending
3187
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
3188
corresponding has_changes() calls. ``Merge.compare_basis``,
3189
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
3191
(Vincent Ladeuil, #440631)
3193
* ``ProgressTask.note`` is deprecated.
3199
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
3200
repository or branch object is unlocked then relocked the same way.
3203
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
3204
mallocs while parsing the index (approx 3=>1 mallocs per key read).
3205
This results in a 10% speedup while reading an index.
3206
(John Arbash Meinel)
3208
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
3209
profiling in some situations like callbacks and generators easier.
3215
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
3216
be output for every test. Note that this is very verbose! (Robert Collins)
3218
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
3219
post_mortem to be triggered when a test failure occurs. (Robert Collins)
3221
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
3222
documentation in ``developers/testing.txt`` for details.
3225
* Some tests could end up with the same id, that was dormant for
3227
(Vincent Ladeuil, #442980)
3229
* Stop showing the number of tests due to missing features in the test
3230
progress bar. (Martin Pool)
3232
* Test parameterisation now does a shallow copy, not a deep copy of the test
3233
to be parameterised. This is not expected to break external use of test
3234
parameterisation, and is substantially faster. (Robert Collins)
3236
* Tests that try to open a bzr dir on an arbitrary transport will now
3237
fail unless they have explicitly permitted the transport via
3238
``self.permit_url``. The standard test factories such as ``self.get_url``
3239
will permit the urls they provide automatically, so only exceptional
3240
tests should need to do this. (Robert Collins)
3242
* The break-in test no longer cares about clean shutdown of the child,
3243
instead it is happy if the debugger starts up. (Robert Collins)
3245
* The full test suite is expected to pass when the C extensions are not
3246
present. (Vincent Ladeuil, #430749)
3252
:Codename: Stability First
3255
The first of our new ongoing bugfix-only stable releases has arrived. It
3256
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
3257
include any of the feature development in the 2.1.0 series.
3263
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
3264
filename will issue a warning and skip over those files.
3265
(Robert Collins, #3918)
3267
* bzr will attempt to authenticate with SSH servers that support
3268
``keyboard-interactive`` auth but not ``password`` auth when using
3269
Paramiko. (Andrew Bennetts, #433846)
3271
* Fixed fetches from a stacked branch on a smart server that were failing
3272
with some combinations of remote and local formats. This was causing
3273
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
3275
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
3276
on branches via a smart server. (Andrew Bennetts, #389413)
3278
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
3279
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
3280
assumed that ``abspath()`` returned a path that did not have a trailing
3281
``/``, but that is not true when working at the root of the filesystem.
3282
(John Arbash Meinel, Jason Spashett, #322807)
3284
* Hide deprecation warnings for 'final' releases for python2.6.
3285
(John Arbash Meinel, #440062)
3287
* Improve the time for ``bzr log DIR`` for 2a format repositories.
3288
We had been using the same code path as for <2a formats, which required
3289
iterating over all objects in all revisions.
3290
(John Arbash Meinel, #374730)
3292
* Make sure that we unlock the tree if we fail to create a TreeTransform
3293
object when doing a merge, and there is limbo, or pending-deletions
3294
directory. (Gary van der Merwe, #427773)
3296
* Occasional IndexError on renamed files have been fixed. Operations that
3297
set a full inventory in the working tree will now go via the
3298
apply_inventory_delta code path which is simpler and easier to
3299
understand than dirstates set_state_from_inventory method. This may
3300
have a small performance impact on operations built on _write_inventory,
3301
but such operations are already doing full tree scans, so no radical
3302
performance change should be observed. (Robert Collins, #403322)
3304
* Retrieving file text or mtime from a _PreviewTree has good performance when
3305
there are many changes. (Aaron Bentley)
3307
* The CHK index pages now use an unlimited cache size. With a limited
3308
cache and a large project, the random access of chk pages could cause us
3309
to download the entire cix file many times.
3310
(John Arbash Meinel, #402623)
3312
* When a file kind becomes unversionable after being added, a sensible
3313
error will be shown instead of a traceback. (Robert Collins, #438569)
3318
* Improved README. (Ian Clatworthy)
3320
* Improved upgrade documentation for Launchpad branches.
3328
:Codename: Instant Karma
3330
This release of Bazaar makes the 2a (previously 'brisbane-core') format
3331
the default when new branches or repositories are created. This format is
3332
substantially smaller and faster for many operations. Most of the work in
3333
this release focuses on bug fixes and stabilization, covering both 2a and
3334
previous formats. (See the Upgrade Guide for information on migrating
3337
This release also improves the documentation content and presentation,
3338
including adding Windows HtmlHelp manuals.
3340
The Bazaar team decided that 2.0 will be a long-term supported release,
3341
with bugfix-only 2.0.x releases based on it, continuing for at least six
3342
months or until the following stable release.
3344
Changes from 2.0.0rc2 to final
3345
******************************
3347
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
3348
that "want to happen on the 2.0.x stable series" versus things that want
3349
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
3350
micro = 0.) (John Arbash Meinel)
3356
:2.0.0rc2: 2009-09-10
3361
* Added post_commit hook for mutable trees. This allows the keywords
3362
plugin to expand keywords on files changed by the commit.
3363
(Ian Clatworthy, #408841)
3368
* Bazaar's native protocol code now correctly handles EINTR, which most
3369
noticeably occurs if you break in to the debugger while connected to a
3370
bzr+ssh server. You can now can continue from the debugger (by typing
3371
'c') and the process continues. However, note that pressing C-\ in the
3372
shell may still kill the SSH process, which is bug 162509, so you must
3373
sent a signal to the bzr process specifically, for example by typing
3374
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
3376
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
3377
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
3378
(Robert Collins, #416732)
3380
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
3381
format" (John Arbash Meinel, #424392)
3383
* ``bzr log stacked-branch`` shows the full log including
3384
revisions that are in the fallback repository. (Regressed in 2.0rc1).
3385
(John Arbash Meinel, #419241)
3387
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
3388
traceback. (Martin Pool, #109115)
3390
* Conversion to 2a will create a single pack for all the new revisions (as
3391
long as it ran without interruption). This improves both ``bzr upgrade``
3392
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
3393
The autopack logic that occurs every 100 revisions during local
3394
conversions was not returning that pack's identifier, which resulted in
3395
the partial packs created during the conversion not being consolidated
3396
at the end of the conversion process. (Robert Collins, #423818)
3398
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
3399
Groups that are seen as 'underutilized' will be repacked on-the-fly.
3400
This means that when the source is fully packed, there is minimal
3401
overhead during the fetch, but if the source is poorly packed the result
3402
is a fairly well packed repository (not as good as 'bzr pack' but
3403
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
3405
* Fix a potential segmentation fault when doing 'log' of a branch that had
3406
ghosts in its mainline. (Evaluating None as a tuple is bad.)
3407
(John Arbash Meinel, #419241)
3409
* ``groupcompress`` sort order is now more stable, rather than relying on
3410
``topo_sort`` ordering. The implementation is now
3411
``KnownGraph.gc_sort``. (John Arbash Meinel)
3413
* Local data conversion will generate correct deltas. This is a critical
3414
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
3415
converting repositories. (Robert Collins, #422849)
3417
* Network streams now decode adjacent records of the same type into a
3418
single stream, reducing layering churn. (Robert Collins)
3420
* Prevent some kinds of incomplete data from being committed to a 2a
3421
repository, such as revisions without inventories, a missing chk_bytes
3422
record for an inventory, or a missing text referenced by an inventory.
3423
(Andrew Bennetts, #423506, #406687)
3428
* Fix assertion error about "_remember_remote_is_before" when pushing to
3429
older smart servers.
3430
(Andrew Bennetts, #418931)
3432
* Help on hooks no longer says 'Not deprecated' for hooks that are
3433
currently supported. (Ian Clatworthy, #422415)
3435
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
3436
user documentation. The HTML documentation is better broken up into
3437
topics. (Ian Clatworthy)
3439
* The developer and foreign language documents are now separated
3440
out so that searching in the HTML and CHM files produces more
3441
useful results. (Ian Clatworthy)
3443
* The main table of contents now provides links to the new Migration Docs
3444
and Plugins Guide. (Ian Clatworthy)
3450
:Codename: no worries
3451
:2.0.0rc1: 2009-08-26
3453
Compatibility Breaks
3454
********************
3456
* The default format for bzr is now ``2a``. This format brings many
3457
significant performance and size improvements. bzr can pull from
3458
any existing repository into a ``2a`` one, but can only transfer
3459
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
3460
has more information about this change. (Robert Collins)
3462
* On Windows auto-detection of Putty's plink.exe is disabled.
3463
Default SSH client for Windows is paramiko. User still can force
3464
usage of plink if explicitly set environment variable BZR_SSH=plink.
3465
(#414743, Alexander Belchenko)
3470
* ``bzr branch --switch`` can now switch the checkout in the current directory
3471
to the newly created branch. (Lukáš Lalinský)
3476
* Further tweaks to handling of ``bzr add`` messages about ignored files.
3477
(Jason Spashett, #76616)
3479
* Fetches were being requested in 'groupcompress' order, but weren't
3480
recombining the groups. Thus they would 'fragment' to get the correct
3481
order, but not 'recombine' to actually benefit from it. Until we get
3482
recombining to work, switching to 'unordered' fetches avoids the
3483
fragmentation. (John Arbash Meinel, #402645)
3485
* Fix a pycurl related test failure on karmic by recognizing an error
3486
raised by newer versions of pycurl.
3487
(Vincent Ladeuil, #306264)
3489
* Fix a test failure on karmic by making a locale test more robust.
3490
(Vincent Ladeuil, #413514)
3492
* Fix IndexError printing CannotBindAddress errors.
3493
(Martin Pool, #286871)
3495
* Fix "Revision ... not present" errors when upgrading stacked branches,
3496
or when doing fetches from a stacked source to a stacked target.
3497
(Andrew Bennetts, #399140)
3499
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
3500
batches together small fetches from 2a repositories, rather than
3501
fetching only a few hundred bytes at a time.
3502
(Andrew Bennetts, #402657)
3507
* A better description of the platform is shown in crash tracebacks, ``bzr
3508
--version`` and ``bzr selftest``.
3509
(Martin Pool, #409137)
3511
* bzr can now (again) capture crash data through the apport library,
3512
so that a single human-readable file can be attached to bug reports.
3513
This can be disabled by using ``-Dno_apport`` on the command line, or by
3514
putting ``no_apport`` into the ``debug_flags`` section of
3516
(Martin Pool, Robert Collins, #389328)
3518
* ``bzr push`` locally on windows will no longer give a locking error with
3519
dirstate based formats. (Robert Collins)
3521
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
3522
(Robert Collins, #305006)
3524
* Commit of specific files no longer prevents using the iter_changes
3525
codepath. On 2a repositories, commit of specific files should now be as
3526
fast, or slightly faster, than a full commit. (Robert Collins)
3528
* The internal core code that handles specific file operations like
3529
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
3530
include the parent directories if they have altered, and when a
3531
directory stops being a directory its children are always included. This
3532
fixes a number of causes for ``InconsistentDelta`` errors, and permits
3533
faster commit of specific paths. (Robert Collins, #347649)
3538
* New developer documentation for content filtering.
3544
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
3545
classes changed to manage lock lifetime of the trees they open in a way
3546
consistent with reader-exclusive locks. (Robert Collins, #305006)
3554
:Codename: nein nein nein!
3557
This release fixes two small but worthwhile bugs relevant to users on
3558
Microsoft Windows: some commands that failed on with locking errors will
3559
now work, and a bug that caused poor performance after committing a file
3560
with line-ending conversion has now been fixed. It also fixes a bug in
3561
pushing to older servers.
3566
* Fixed a problem where using content filtering and especially end-of-line
3567
conversion will commit too many copies a file.
3568
(Martin Pool, #415508)
3570
* Fix assertion error about ``_remember_remote_is_before`` in
3571
``set_tags_bytes`` when pushing to older smart servers.
3572
(Andrew Bennetts, Alexander Belchenko, #418931)
3577
* ``bzr push`` locally on Windows will no longer give a locking error with
3578
dirstate based formats. (Robert Collins)
3580
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
3581
(Robert Collins, #305006)
3586
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
3587
classes changed to manage lock lifetime of the trees they open in a way
3588
consistent with reader-exclusive locks. (Robert Collins, #305006)
3590
* ``Tree.path_content_summary`` may return a size of None, when called on
3591
a tree with content filtering where the size of the canonical form
3592
cannot be cheaply determined. (Martin Pool)
3594
* When manually creating transport servers in test cases, a new helper
3595
``TestCase.start_server`` that registers a cleanup and starts the server
3596
should be used. (Robert Collins)
3601
Compatibility Breaks
3602
********************
3604
* Committing directly to a stacked branch from a lightweight checkout will
3605
no longer work. In previous versions this would appear to work but would
3606
generate repositories with insufficient data to create deltas, leading
3607
to later errors when branching or reading from the repository.
3608
(Robert Collins, bug #375013)
3616
* Fetching from 2a branches from a version-2 bzr protocol would fail to
3617
copy the internal inventory pages from the CHK store. This cannot happen
3618
in normal use as all 2a compatible clients and servers support the
3619
version-3 protocol, but it does cause test suite failures when testing
3620
downlevel protocol behaviour. (Robert Collins)
3622
* Fix a test failure on karmic by making a locale test more robust.
3623
(Vincent Ladeuil, #413514)
3625
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
3626
fully packed 2a repository. (Andrew Bennetts, #382463)
3628
* Further tweaks to handling of ``bzr add`` messages about ignored files.
3629
(Jason Spashett, #76616)
3631
* Properly handle fetching into a stacked branch while converting the
3632
data, especially when there are also ghosts. The code was filling in
3633
parent inventories incorrectly, and also not handling when one of the
3634
parents was a ghost. (John Arbash Meinel, #402778, #412198)
3636
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
3637
inventory pages when appropriate (by falling back to the vfs stream
3638
source). (Andrew Bennetts, #406686)
3640
* StreamSource generates rich roots from non-rich root sources correctly
3641
now. (Andrew Bennetts, #368921)
3643
* When deciding whether a repository was compatible for upgrading or
3644
fetching, we previously incorrectly checked the default repository
3645
format for the bzrdir format, rather than the format that was actually
3646
present on disk. (Martin Pool, #408824)
3651
* A better description of the platform is shown in crash tracebacks, ``bzr
3652
--version`` and ``bzr selftest``.
3653
(Martin Pool, #409137)
3655
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
3656
smart server are more efficient now. They send inventory deltas rather
3657
than full inventories. The smart server has two new requests,
3658
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
3659
support this. (Andrew Bennetts, #374738, #385826)
3661
* Extracting the full ancestry and computing the ``merge_sort`` is now
3662
significantly faster. This effects things like ``bzr log -n0``. (For
3663
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
3664
(John Arbash Meinel)
3675
* ``-Dstrict_locks`` can now be used to check that read and write locks
3676
are treated properly w.r.t. exclusivity. (We don't try to take an OS
3677
read lock on a file that we already have an OS write lock on.) This is
3678
now set by default for all tests, if you have a test which cannot be
3679
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
3680
compatibility knob. (John Arbash Meinel)
3682
* InterDifferingSerializer is now only used locally. Other fetches that
3683
would have used InterDifferingSerializer now use the more network
3684
friendly StreamSource, which now automatically does the same
3685
transformations as InterDifferingSerializer. (Andrew Bennetts)
3687
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
3688
are implemented in pyrex and significantly faster. This is exposed along
3689
with ``CombinedGraphIndex.find_ancestry()`` as
3690
``VersionedFiles.get_known_graph_ancestry(keys)``.
3691
(John Arbash Meinel)
3693
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
3694
protocols. (Robert Collins)
3696
* The index code now has some specialized routines to extract the full
3697
ancestry of a key in a more efficient manner.
3698
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
3699
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
3705
* Install the test ssl certificate and key so that installed bzr
3706
can run the https tests. (Denys Duchier, #392401)
3712
:Codename: little traveller
3714
:1.18rc1: 2009-08-10
3716
This release of Bazaar marches on towards the 2.0 release in which the 2a
3717
'brisbane-core' format becomes generally recommended. Most of the work in
3718
this release now focusses on bug fixes and stabilization, covering both 2a
3719
and previous formats. There is a new text-mode interactive merge feature,
3720
a new guide to migration to 2a format in the user documentation, and
3721
pushing branches to a smart server is now much faster.
3723
The Bazaar team decided that 2.0 will be a long-term supported release,
3724
with bugfix-only releases based on it continuing for at least six months
3725
or until the following stable release.
3727
There are no changes from 1.18rc1 to 1.18.
3732
* ``bzr merge --interactive`` applies a user-selected portion of the
3733
merge. The UI is similar to ``shelve``. (Aaron Bentley)
3735
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
3736
``--unstacked`` to change stacking of a branch.
3737
(Martin Pool, #391411)
3742
* Annotating on a stacked branch will now succeed in simple scenarios.
3743
There are still some complex scenarios where it will fail (bug #399884)
3744
(John Arbash Meinel, #393366)
3746
* A progress bar is no longer left dangling when ``bzr selftest``
3747
completes, and the progress bar updates with zero latency so the
3748
displayed test name is always the one that's actually running.
3749
(Martin Pool, #123688)
3751
* Authenticating against an ssh server now uses ``auth_none`` to determine
3752
if password authentication is even supported. This fixes a bug where
3753
users would be prompted for a launchpad password, even though launchpad
3754
only supports publickey authentication. (John Arbash Meinel, #375867)
3756
* BranchBuilder now accepts timezone to avoid test failures in countries far
3757
from GMT. (Vincent Ladeuil, #397716)
3759
* ``bzr commit`` no longer saves the unversioning of missing files until
3760
the commit has completed on the branch. This means that aborting a
3761
commit that found a missing file will leave the tree unedited.
3762
(Robert Collins, #282402)
3764
* ``bzr mv`` no longer takes out branch locks, which allows it to work
3765
when the branch is readonly. (Robert Collins, #216541)
3767
* ``bzr revert .`` no longer generates an InconsistentDelta error when
3768
there are missing subtrees. (Robert Collins, #367632)
3770
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
3771
do to internal changes necessary to support this, older clients will
3772
fail when trying to insert them. For newer clients, the bundle can be
3773
used to apply the changes to any rich-root compatible format.
3774
(John Arbash Meinel, #393349)
3776
* Cope with FTP servers that don't support restart/append by falling back
3777
to reading and then rewriting the whole file, such as TahoeLAFS. (This
3778
fallback may be slow for some access patterns.) (Nils Durner, #294709)
3780
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
3781
external diff client. This at least allows supporting filenames that are
3782
not ascii, but are present in the current locale. Ideally we would be
3783
able to pass the Unicode path, but that would be client dependent.
3784
(John Arbash Meinel, #382709)
3786
* Fix a compile bug on Solaris having to do with const and
3787
pointer-to-pointers. (John Arbash Meinel, #408441)
3789
* Fixed a NameError that occurs when merging or pulling from a URL that
3790
causes a redirection loop when bzr tries to read a URL as a bundle.
3791
(Andrew Bennetts, #400847)
3793
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
3794
running send and similar commands on 2a formats.
3795
(Martin Pool, #408201)
3797
* Fix crash in some invocations of ``bzr status`` in format 2a.
3798
(Martin Pool, #403523)
3800
* Fixed export to existing directory: if directory is empty then export
3801
will succeed, otherwise it fails with error.
3802
(Alexander Belchenko, #406174)
3804
* Fixed spurious "Source branch does not support stacking" warning when
3805
pushing. (Andrew Bennetts, #388908)
3807
* Fixed spurious transport activity indicator appearing while tests are
3808
running. (Martin Pool, #343532)
3810
* Merge now correctly handles empty right-hand revision specs.
3811
(Aaron Bentley, #333961)
3813
* Renames to lexographically lower basenames in trees that have never been
3814
committed to will no longer corrupt the dirstate. This was caused by an
3815
bug in the dirstate update_minimal method. (Robert Collins, #395556)
3817
* Requests for unknown methods no longer cause the smart server to log
3818
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
3819
``do_end``. (Andrew Bennetts, #338561)
3821
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
3823
* Streaming from bzr servers where there is a chain of stacked branches
3824
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
3826
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
3827
always forces progress bars either on or off respectively. Otherwise,
3828
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
3829
bzr always uses the 'text' user interface when run as a command, so
3830
``BZR_USE_TEXT_UI`` is no longer needed.
3831
(Martin Pool, #339385, #387717)
3833
* The optional ``_knit_load_data_pyx`` C extension was never being
3834
imported. This caused significant slowdowns when reading data from
3835
repositories. (Andrew Bennetts, #405653)
3837
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
3838
supported at the moment on workingtree formats that can do content
3839
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
3840
bzr now says so, rather than just ignoring the option. (Martin Pool)
3842
* There was a bug in ``osutils.relpath`` that was only triggered on
3843
Windows. Essentially if you were at the root of a drive, and did
3844
something to a branch/repo on another drive, we would go into an
3845
infinite loop while trying to find a 'relative path'.
3846
(John Arbash Meinel, #394227)
3848
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
3849
were present in a parent tree but renamed in the working tree.
3850
(Robert Collins, #187207)
3855
* Can now rename/move files even if they have been removed from the inventory.
3858
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
3859
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
3860
than VFS methods. For example, pushes of small branches with tags take
3861
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
3863
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
3864
the same way that sending Ctrl-\\ does on other platforms.
3865
(John Arbash Meinel)
3870
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
3875
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
3876
need to subclass or create a specific class, or better yet the existing
3877
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
3878
user interaction at all, rather than trying to read from stdin but not
3879
writing any output, which would be strange if reading prompts or
3880
passwords. (Martin Pool)
3882
* New TransformPreview.commit() allows committing without a working tree.
3885
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
3888
* ProgressTasks now prefer to talk direct to their ProgressView not to the
3892
* ``WorkingTree._check`` now requires a references dict with keys matching
3893
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
3898
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
3899
reading the entries along the path, reducing work to lookup ids from
3900
paths. (Robert Collins)
3902
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
3903
as new a key which was already mapped. (Robert Collins)
3905
* Inventory delta application catches more cases of corruption and can
3906
prevent corrupt deltas from affecting consistency of data structures on
3907
disk. (Robert Collins)
3909
* --subunit support now adds timestamps if the subunit version supports
3910
it. (Robert Collins)
3912
* The Windows all-in-one installer now bundles the PyQt image format
3913
plugins, which allows previewing more images as part of 'qdiff'.
3914
(Alexander Belchenko)
3920
* Merge directive cherrypick tests must use the same root id.
3921
(Martin Pool, #409684)
3923
* Spurious failure in ``check`` tests on rich-root formats fixed.
3924
(Martin Pool, #408199)
3926
* The ``bzrlib.tests.TextTestRunner`` will no longer call
3927
``countTestsCases`` on the test being run. Progress information is
3928
instead handled by having the test passed in call ``result.progress``
3929
before running its contents. This improves the behaviour when using
3930
``TextTestRunner`` with test suites that don't support
3931
``countTestsCases``. (Robert Collins)
3934
bzr 1.17.1 (unreleased)
3935
#######################
3940
* The optional ``_knit_load_data_pyx`` C extension was never being
3941
imported. This caused significant slowdowns when reading data from
3942
knit format repositories. (Andrew Bennetts, #405653)
3947
:Codename: so-late-its-brunch
3948
:1.17rc1: 2009-07-13
3952
Bazaar continues to blaze a straight and shining path to the 2.0 release and
3953
the elevation of the ``2a`` beta format to the full glory of "supported and
3956
Highlights in this release include greatly reduced memory consumption during
3957
commits, faster ``ls``, faster ``annotate``, faster network operations if
3958
you're specifying a revision number and the final destruction of those
3959
annoying progress bar artifacts.
3962
Changes from 1.17rc1 to 1.17final
3963
*********************************
3965
* Change an extension to call the python ``frozenset()`` rather than the C
3966
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
3967
C api. (John Arbash Meinel, #399366)
3969
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
3970
``tools/generate_docs.py`` to allow everything to be built on Windows.
3971
(John Arbash Meinel, #399356)
3973
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
3974
directory before serving it. (Andrew Bennetts, #400535)
3977
12
Compatibility Breaks
3978
13
********************