5
6
.. contents:: List of Releases
11
:2.3.b2: NOT RELEASED YET
19
* Add ``mainline`` revision specifier, which selects the revision that
20
merged a specified revision into the mainline. (Aaron Bentley)
22
* Add ``annotate`` revision specifier, which selects the revision that
23
introduced a specified line of a file. (Aaron Bentley)
25
* ``bzr status`` now displays a summary of existing shelves after
26
the other status information. This is done using a ``post_status``
28
(Parth Malwankar, #403687)
33
* ``bzr break-lock --force`` breaks the lock without prompting. (Before
34
using this, make sure the process holding the lock really is dead.)
35
(Martin Pool, #392315)
37
* Skip tests that needs a bzr source tree when there isn't one. This is
38
needed to succesfully run the test suite for installed versions.
39
(Vincent Ladeuil, #644855).
41
* Skip the tests that requires respecting the chmod bits when running as root.
42
(Vincent Ladeuil, #646133)
56
* Small change to GroupCompressBlock to work more in terms of 'chunks'
57
rather than 'content' for its compressed storage. (John Arbash Meinel)
59
* When running ``bzr selftest --subunit`` the subunit stream will no
60
longer include the "log" information for tests which are considered to
61
be 'successes' (success, xfail, skip, etc) (John Arbash Meinel)
66
* Fix tests that failed when run under ``LANG=C``.
67
(Andrew Bennetts, #632387)
69
* Use tests.TestCaseInTempDir for tests that requires disk resources.
70
(Vincent Ladeuil, #650001)
77
This is the first beta of the 2.3 series, leading up to a 2.3.0
78
release in January or February. Beta releases are suitable for everyday use
79
but may cause some incompatibilities with plugins. Some plugins may need
80
small updates to work with 2.3b1.
82
2.3b1 includes some performance improvements in both speed and memory
83
consumption, some preliminary support for generating a texinfo version of
84
the doc and better support for launchpad. Many changes were made to make
85
our test suite more robust as well as numerous documentation fixes. It
86
improves the common infrastructure for dealing with colocated named
87
branches and foreign branches. We plan to continue with these themes
88
through the 2.3 series.
90
It also includes bug fixes for 2.0.6, 2.1.3 and 2.2.1 and over 40 fixes of
97
* BzrError subclasses no longer support the name "message" to be used
98
as an argument for __init__ or in _fmt format specification as this
99
breaks in some Python versions. errors.LockError.__init__ argument
100
is now named "msg" instead of earlier "message".
101
(Parth Malwankar, #603461)
103
* Additional merges after an unrelated branch has been merged with its
104
history no longer crash when deleted files are involved.
105
(Vincent Ladeuil, John Arbash Meinel, #375898)
107
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
108
previously-unversioned directory within the tree: the directory is
109
marked versioned too.
110
(Martin Pool, #192859)
112
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
113
target of the symlink.
114
(Martin Pool, John Arbash Meinel, #128562)
116
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
117
permissions as ``.bzr`` directory on a POSIX OS.
118
(Parth Malwankar, #262450)
120
* ``bzrlib.transform.TreeTransformBase.final_kind``,
121
``bzrlib.transform.TreeTransform.tree_kind`` and
122
``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
123
of raising NoSuchFile. (Vincent Ladeuil)
125
* CommitBuilder now uses the committer instead of _config.username to generate
126
the revision-id. (Aaron Bentley, #614404)
128
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
129
way which should help avoid problems with concurrent writers.
130
(Vincent Ladeuil, #525571)
132
* `ControlDirFormat` and `ControlDir` have been split out of `BzrDirFormat`
133
and `BzrDir`, respectively. `ControlDirFormat`
134
and `ControlDir` should be used as the base classes for new non-.bzr
137
`BzrDirFormat.register_control_format` has been renamed to
138
`ControlDirFormat.register_format`.
140
`BzrDirFormat.register_server_control_format` has been removed.
142
Probing for control directories is now done by separate objects derived
143
from `bzrlib.controldir.Prober` and registered using
144
`bzrlib.controldir.ControlDirFormat.register_prober` or
145
`bzrlib.controldir.ControlDirFormat.register_server_prober`.
146
`BzrDirFormat.probe_transport` has been moved onto `Prober`.
148
`BzrDirFormat.register_format` has been renamed to
149
`BzrProber.register_bzrdir_format`.
151
`bzrlib.bzrdir.network_format_registry` has been moved to
156
* Cope with Microsoft FTP server that returns reply '250 Directory
157
created' when mkdir succeeds. (Martin Pool, #224373)
159
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
160
contains only NUL bytes). Instead warn the user, and allow ``bzr
161
break-lock`` to remove it. (Andrew Bennetts, #619872)
163
* `decode` parameter to get() method in FtpTransport and GioTransport classes
164
is deprecated. (Alexander Belchenko)
166
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
170
* Fix ``AttributeError on parent.children`` when adding a file under a
171
directory that was a symlink in the previous commit.
172
(Martin Pool, #192859)
174
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
175
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
176
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
177
stderr in some other circumstances. (Andrew Bennetts, #633745)
179
* Only call ``setlocale`` in the bzr startup script on posix systems. This
180
avoids an issue with the newer windows C runtimes used by Python 2.6 and
181
later which can mangle bytestrings printed to the console.
182
(Martin [gz], #631350)
184
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
185
which can result in "missing referenced chk root keys" errors when
186
fetching from repositories with affected revisions.
187
(Andrew Bennetts, #522637)
189
* Raise ValueError instead of a string exception.
190
(John Arbash Meinel, #586926)
192
* Reduce peak memory by one copy of compressed text.
193
(John Arbash Meinel, #566940)
195
* Repositories accessed via a smart server now reject being stacked on a
196
repository in an incompatible format, as is the case when accessing them
197
via other methods. This was causing fetches from those repositories via
198
a smart server (e.g. using ``bzr branch``) to receive invalid data.
199
(Andrew Bennetts, #562380)
201
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
202
error. This error was caused by 2.0 not being updated when upstream
203
python merged the end of run patch, which chose ``stopTestRun`` rather than
204
``done``. (Robert Collins, #571437)
206
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
207
being thrown from ``xml_serializer`` on certain cElementTree setups.
208
(Martin [gz], #254278)
210
* The old ``bzr selftest --benchmark`` option has been removed.
211
<https://launchpad.net/bzr-usertest> is an actively-maintained
212
macrobenchmark suite.
215
* `tree_files` and `internal_tree_files` are now deprecated in favor of
216
`WorkingTree.open_containing_paths`.
219
* Upgrading or fetching from a non-rich-root repository to a rich-root
220
repository (e.g. from pack-0.92 to 2a) no longer fails with
221
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
222
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
224
* When passing a file to ``UTF8DirReader`` make sure to close the current
225
directory file handle after the chdir fails. Otherwise when passing many
226
filenames into a command line ``bzr status`` we would leak descriptors.
227
(John Arbash Meinel, #583486)
232
* Added ``pre_status`` and ``post_status`` hooks. This allows plugins
233
to register custom handlers which will be invoked before/after the
234
standard status output is displayed. (Parth Malwankar)
236
* ``bzr break-lock --config [location]`` can now break config files
237
locks. (Vincent Ladeuil, #525571)
239
* ``bzrlib.config.LockableConfig`` is a base class for config files that
240
needs to be protected against multiple writers. All methods that
241
change a configuration variable value must be decorated with
242
@needs_write_lock (set_option() for example).
243
(Vincent Ladeuil, #525571)
245
* The ``lp:`` prefix will now use your known username (from
246
``bzr launchpad-login``) to expand ``~`` to your username. For example:
247
``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
248
push to ``lp:~user/project/branch``. (John Arbash Meinel)
250
* New development format ``development8-subtree`` which is similar to the
251
``2a`` format and adds subtree support. (Jelmer Vernooij)
256
* Fix traceback with python-2.7's xmlrpclib
257
(Toshio Kuratomi, #612096)
259
* Allow using both --using and --diff-options.
260
(Matthäus G. Chajdas, #234708)
262
* Allow using non-integer bug ID with generic bug trackers.
263
(Alexandre Garnier, #440472)
265
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
266
previously-unversioned directory within the tree: the directory is
267
marked versioned too.
268
(Martin Pool, #192859)
270
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
271
``InvalidPattern`` exception error message now shows faulting
273
(Parth Malwankar #300062)
275
* ``clean-tree`` issues a warning if it is unable to delete a file
276
due to ``errno.EACCES`` instead of exiting with an error on Windows.
277
(Parth Malwankar, #430785)
279
* CommitBuilder now uses the committer instead of _config.username to generate
280
the revision-id. (Aaron Bentley, #614404)
282
* Configuration files in ``${BZR_HOME}`` are now protected against
283
concurrent writers by using a lock. (Vincent Ladeuil, #525571)
285
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
286
Directory created' when mkdir succeeds. (Martin Pool, #224373)
288
* Decrease peak memory during ``bzr send``. The old code was caching all
289
text content and all inventory strings for all revisions before
290
computing the diffs. Now we only cache as long as there is a child that
291
will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
292
256MB peak. (John Arbash Meinel, #614576)
294
* Don't print internal object name when print an invalid revision spec
295
error. (Neil Martinsen-Burrell, #598701)
297
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
298
contains only NUL bytes). Instead warn the user, and allow ``bzr
299
break-lock`` to remove it. (Andrew Bennetts, #619872)
301
* ``EPIPE`` can be raised during test server shutdown. This happened on
302
gentoo only so far. (Vincent Ladeuil, #627277)
304
* Errors occurring during http(s) test server starts should now be
305
handled cleanly. (Vincent Ladeuil, #392402)
307
* Fix ``AttributeError on parent.children`` when adding a file under a
308
directory that was a symlink in the previous commit.
309
(Martin Pool, #192859)
311
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
312
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
313
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
314
stderr in some other circumstances. (Andrew Bennetts, #633745)
316
* Fix spurious paramiko warning on hardy by ensuring that ``selftest``
317
properly remove its warning filter. (Vincent Ladeuil, #625686)
319
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
320
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
322
* Most of the leaked threads during selftest are now fixed, allowing the
323
full test suite to pass on gentoo.
324
(Vincent Ladeuil, #392127)
326
* Only call ``setlocale`` in the bzr startup script on posix systems. This
327
avoids an issue with the newer windows C runtimes used by Python 2.6 and
328
later which can mangle bytestrings printed to the console.
329
(Martin [gz], #631350)
331
* `PathNotChild` should not give a traceback.
332
(Martin Pool, #98735)
334
* ``PQM`` will no longer ignore syntax errors in submissions.
335
(Vincent Ladeuil, #626667)
337
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
338
which can result in "missing referenced chk root keys" errors when
339
fetching from repositories with affected revisions.
340
(Andrew Bennetts, #522637)
342
* strace test-helper tests cope with the new Ubuntu policy of not allowing
343
users to attach to their own processes by default.
344
(Martin Pool, #626679)
346
* Test classes like ``TestCase``, ``TestLoader``, and ``TestSuite`` should
347
be available from ``bzrlib.tests.*``. They used to be, but were
348
accidentally removed. (John Arbash Meinel, #627438)
350
* Treat all IO, OS, and socket errors consistently when establishing
351
SSH/SFTP connections via a subprocess. (Andrew Bennetts)
353
* ``Transport.stat`` on a symlink, including a transport pointing directly
354
to a symlink, now returns information about the symlink.
357
* Upgrading or fetching from a non-rich-root repository to a rich-root
358
repository (e.g. from pack-0.92 to 2a) no longer fails with
359
``'Inter1and2Helper' object has no attribute 'source_repo'``.
360
(Andrew Bennetts, #636930)
362
* Wait for the SSH server to actually finish, rather than just waiting for
363
it to negotiate the key exchange. (John Arbash Meinel, #626876)
368
* ``bzr remove`` now just backs up changed files instead of exiting,
369
forcing you to choose to either keep or delete them. Bazaar will now delete
370
the files if they can easily be recovered using revert, otherwise they
371
will be backed up (adding an extention of the form .~#~).
372
(Marius Kruger, #400554)
374
* ``bzr revert`` and ``bzr status`` are up to 15% faster on large trees
375
with many changes by not repeatedly building a list of all file-ids.
378
* Decrease memory consumption when many chk index pages are loaded. (Such
379
as during ``bzr co`` or ``bzr ls -R`` of a large tree.) Often we need to
380
read many chk pages because the individual chk map nodes will be spread
381
randomly. Peak memory for 'bzr ls -R' on a large tree dropped from 396MB
382
down to 247MB, expect even more significant savings on 64-bit platforms.
385
* ``DirState`` internals use a little bit less memory. For bzr.dev it
386
drops the memory from 1MB down to about 800kB. And replaces a few
387
thousand tuples and sets with StaticTuple. (John Arbash Meinel)
389
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
390
have dropped from 68 bytes to 40, and directory entries from 120 bytes
391
to 48). (Andrew Bennetts)
393
* When building new working trees, default to reading from the repository
394
rather than the source tree unless explicitly requested. (via
395
``--files-from`` and ``--hardlink`` for ``bzr branch`` and
396
``bzr checkout``. Generally, 2a format repositories extract
397
content faster than seeking and reading content from another tree,
398
especially in cold-cache situations. (John Arbash Meinel, #607298)
400
* Add ``__pycache__`` to the default ``ignores`` file. Future releases of
401
Python will use this directory to store bytecodes.
402
(Andrea Corbellini, #626687)
407
* Added a builder/writer sphinx extension that can generate texinfo files. The
408
generated files are syntactically correct but the info navigation nodes
409
needs more work. (Vincent Ladeuil, #219334)
411
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
412
to make the tests conditional.
415
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
416
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
417
(John Arbash Meinel, #617503)
419
* Suggest ``bzr revert`` for restoring locally deleted files in help text
420
for ``bzr update``. (John C Barstow, #191466)
425
* Configuration files should now use the ``from_string`` constructor rather
426
than the ``file`` parameter of the ``_get_parser`` method. The later has
427
been deprecated. ``from_string`` also accept a ``save=True`` parameter to
428
have the configuration file immediately written to disk.
431
* Deprecate treating a `PushResult` and `PullResult` as an integer for the
432
relative change in revno.
435
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
436
the rather than the ``file`` parameter of the ``_get_parser`` method. The
437
later has been deprecated. (Vincent Ladeuil)
439
* InventoryEntry instances now raise AttributeError if you try to assign
440
to attributes that are irrelevant to that kind of entry. e.g. setting
441
``symlink_target`` on an InventoryFile will fail. It is still okay to
442
read those attributes on any kind of InventoryEntry. The complete list
443
of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
444
``text_size`` (only valid for kind == file); ``symlink_target`` (only
445
valid for kind == link); and ``reference_revision`` (only valid for kind
446
== tree-reference). (Andrew Bennetts)
448
* InventoryEntry objects no longer have ``_put_in_tar`` or
449
``_put_on_disk`` methods. (Andrew Bennetts)
451
* The ``get_filename`` parameter in the ``config.IniBaseConfig``
452
constructor has been deprecated, use the ``file_name`` parameter instead.
458
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
464
* ``build_tree_contents`` can create symlinks.
465
(Martin Pool, John Arbash Meinel)
467
* Catch socket errors to avoid
468
bt.test_sftp_transport.SSHVendorBadConnection.test_bad_connection_ssh
469
random failures. (Vincent Ladeuil, #601804)
471
* HTTP test servers will leak less threads (and sockets) and will not hang on
472
AIX anymore. (Vincent Ladeuil, #405745)
474
* On platforms that don't support forking give a nice error message saying so
475
when ``bzr selftest --parallel=fork`` is used. (Martin [gz], #528730)
477
* Rearrange thread leak detection code to eliminate global state and make it
478
possible to extend the reporting. (Martin [gz], #633462)
480
* Suppress the "maximum recursion depth exceeded in __subclasscheck__"
481
warning on stderr emitted during ``test_dict_deepnested`` in
482
``bzrlib/tests/test__bencode.py``. (Andrew Bennetts)
484
* The test suite now simply holds log files in memory, rather than writing them
485
out to disk and then reading them back in and deleting them.
488
* The way ``bzr selftest --parallel`` generates N partitions of tests to
489
run in parallel has changed. Instead of splitting the list of tests at
490
N-1 points, it distributes the tests one-by-one into the partitions in a
491
round robin fashion. This reduces the total time to run the tests in
492
parallel because a series of slow tests in the test suite will be
493
distributed evenly among the parallel test suites, rather than slowing
494
down just one suite. (Andrew Bennetts)
496
* Tracebacks from a parameterized test are no longer reported against every
497
parameterization of that test. This was done by adding a hack to
498
``bzrlib.tests.clone_test`` so that it no longer causes
499
testtools.TestCase instances to share a details dict.
500
(Andrew Bennetts, #625574)
506
:2.2.2: NOT RELEASED YET
517
* Skip tests that needs a bzr source tree when there isn't one. This is
518
needed to succesfully run the test suite for installed versions.
519
(Vincent Ladeuil, #644855).
521
* Skip the tests that requires respecting the chmod bits when running as root.
522
(Vincent Ladeuil, #646133)
539
* Fix tests that failed when run under ``LANG=C``.
540
(Andrew Bennetts, #632387)
548
This is a bugfix release which also includes bugfixes from 2.0.6 and
549
2.1.3. None are critical, but upgrading is recommended for all users on
550
earlier 2.2 releases.
555
* Additional merges after an unrelated branch has been merged with its
556
history no longer crash when deleted files are involved.
557
(Vincent Ladeuil, John Arbash Meinel, #375898)
559
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
560
previously-unversioned directory within the tree: the directory is
561
marked versioned too.
562
(Martin Pool, #192859)
564
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
565
target of the symlink.
566
(Martin Pool, John Arbash Meinel, #128562)
568
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
569
permissions as ``.bzr`` directory on a POSIX OS.
570
(Parth Malwankar, #262450)
572
* CommitBuilder now uses the committer instead of _config.username to generate
573
the revision-id. (Aaron Bentley, #614404)
575
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
576
way which should help avoid problems with concurrent writers.
577
(Vincent Ladeuil, #525571)
579
* Cope with Microsoft FTP server that returns reply '250 Directory
580
created' when mkdir succeeds. (Martin Pool, #224373)
582
* Don't traceback trying to unversion children files of an already
583
unversioned directory. (Vincent Ladeuil, #494221)
585
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
586
contains only NUL bytes). Instead warn the user, and allow ``bzr
587
break-lock`` to remove it. (Andrew Bennetts, #619872)
589
* Fix ``AttributeError on parent.children`` when adding a file under a
590
directory that was a symlink in the previous commit.
591
(Martin Pool, #192859)
593
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
594
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
595
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
596
stderr in some other circumstances. (Andrew Bennetts, #633745)
598
* Only call ``setlocale`` in the bzr startup script on posix systems. This
599
avoids an issue with the newer windows C runtimes used by Python 2.6 and
600
later which can mangle bytestrings printed to the console.
601
(Martin [gz], #631350)
603
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
604
which can result in "missing referenced chk root keys" errors when
605
fetching from repositories with affected revisions.
606
(Andrew Bennetts, #522637)
608
* Raise ValueError instead of a string exception.
609
(John Arbash Meinel, #586926)
611
* Reduce peak memory by one copy of compressed text.
612
(John Arbash Meinel, #566940)
614
* Repositories accessed via a smart server now reject being stacked on a
615
repository in an incompatible format, as is the case when accessing them
616
via other methods. This was causing fetches from those repositories via
617
a smart server (e.g. using ``bzr branch``) to receive invalid data.
618
(Andrew Bennetts, #562380)
620
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
621
error. This error was caused by 2.0 not being updated when upstream
622
python merged the end of run patch, which chose ``stopTestRun`` rather than
623
``done``. (Robert Collins, #571437)
625
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
626
being thrown from ``xml_serializer`` on certain cElementTree setups.
627
(Martin [gz], #254278)
629
* Upgrading or fetching from a non-rich-root repository to a rich-root
630
repository (e.g. from pack-0.92 to 2a) no longer fails with
631
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
632
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
634
* When passing a file to ``UTF8DirReader`` make sure to close the current
635
directory file handle after the chdir fails. Otherwise when passing many
636
filenames into a command line ``bzr status`` we would leak descriptors.
637
(John Arbash Meinel, #583486)
642
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
643
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
644
(John Arbash Meinel, #617503)
649
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
655
* ``build_tree_contents`` can create symlinks.
656
(Martin Pool, John Arbash Meinel)
658
* Tracebacks from a parameterized test are no longer reported against every
659
parameterization of that test. This was done by adding a hack to
660
``bzrlib.tests.clone_test`` so that it no longer causes
661
testtools.TestCase instances to share a details dict.
662
(Andrew Bennetts, #625574)
668
:2.1.4: NOT RELEASED YET
679
* Skip tests that needs a bzr source tree when there isn't one. This is
680
needed to succesfully run the test suite for installed versions.
681
(Vincent Ladeuil, #644855).
683
* Skip the tests that requires respecting the chmod bits when running as root.
684
(Vincent Ladeuil, #646133)
705
:Codename: Do run run
708
The third release in our 2.1 series addresses several user-inconvenience bugs
709
(and includes the fixes done in 2.0.6). None are critical, but upgrading is
710
recommended for all users on earlier 2.1 releases.
715
* Additional merges after an unrelated branch has been merged with its
716
history no longer crash when deleted files are involved.
717
(Vincent Ladeuil, John Arbash Meinel, #375898)
719
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
720
previously-unversioned directory within the tree: the directory is
721
marked versioned too.
722
(Martin Pool, #192859)
724
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
725
target of the symlink.
726
(Martin Pool, John Arbash Meinel, #128562)
728
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
729
permissions as ``.bzr`` directory on a POSIX OS.
730
(Parth Malwankar, #262450)
732
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
733
way which should help avoid problems with concurrent writers.
734
(Vincent Ladeuil, #525571)
736
* Don't traceback trying to unversion children files of an already
737
unversioned directory. (Vincent Ladeuil, #494221)
739
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
740
contains only NUL bytes). Instead warn the user, and allow ``bzr
741
break-lock`` to remove it. (Andrew Bennetts, #619872)
743
* Fix ``AttributeError on parent.children`` when adding a file under a
744
directory that was a symlink in the previous commit.
745
(Martin Pool, #192859)
747
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
748
which can result in "missing referenced chk root keys" errors when
749
fetching from repositories with affected revisions.
750
(Andrew Bennetts, #522637)
752
* Raise ValueError instead of a string exception.
753
(John Arbash Meinel, #586926)
755
* Reduce peak memory by one copy of compressed text.
756
(John Arbash Meinel, #566940)
758
* Repositories accessed via a smart server now reject being stacked on a
759
repository in an incompatible format, as is the case when accessing them
760
via other methods. This was causing fetches from those repositories via
761
a smart server (e.g. using ``bzr branch``) to receive invalid data.
762
(Andrew Bennetts, #562380)
764
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
765
error. This error was caused by 2.0 not being updated when upstream
766
python merged the end of run patch, which chose ``stopTestRun`` rather than
767
``done``. (Robert Collins, #571437)
769
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
770
being thrown from ``xml_serializer`` on certain cElementTree setups.
771
(Martin [gz], #254278)
773
* When passing a file to ``UTF8DirReader`` make sure to close the current
774
directory file handle after the chdir fails. Otherwise when passing many
775
filenames into a command line ``bzr status`` we would leak descriptors.
776
(John Arbash Meinel, #583486)
781
* ``build_tree_contents`` can create symlinks.
782
(Martin Pool, John Arbash Meinel)
790
The sixth release in our 2.0 series addresses several user-inconvenience
791
bugs. None are critical, but upgrading is recommended for all users on
792
earlier 2.0 releases.
797
* Additional merges after an unrelated branch has been merged with its
798
history no longer crash when deleted files are involved.
799
(Vincent Ladeuil, John Arbash Meinel, #375898)
801
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
802
previously-unversioned directory within the tree: the directory is
803
marked versioned too.
804
(Martin Pool, #192859)
806
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
807
target of the symlink.
808
(Martin Pool, John Arbash Meinel, #128562)
810
* ``bzr revert`` now only takes write lock on working tree, instead of on
811
both working tree and branch.
812
(Danny van Heumen, #498409)
814
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
815
permissions as ``.bzr`` directory on a POSIX OS.
816
(Parth Malwankar, #262450)
818
* Don't traceback trying to unversion children files of an already
819
unversioned directory. (Vincent Ladeuil, #494221)
821
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
822
contains only NUL bytes). Instead warn the user, and allow ``bzr
823
break-lock`` to remove it. (Andrew Bennetts, #619872)
825
* Fix ``AttributeError on parent.children`` when adding a file under a
826
directory that was a symlink in the previous commit.
827
(Martin Pool, #192859)
829
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
830
which can result in "missing referenced chk root keys" errors when
831
fetching from repositories with affected revisions.
832
(Andrew Bennetts, #522637)
834
* Raise ValueError instead of a string exception.
835
(John Arbash Meinel, #586926)
837
* Reduce peak memory by one copy of compressed text.
838
(John Arbash Meinel, #566940)
840
* Repositories accessed via a smart server now reject being stacked on a
841
repository in an incompatible format, as is the case when accessing them
842
via other methods. This was causing fetches from those repositories via
843
a smart server (e.g. using ``bzr branch``) to receive invalid data.
844
(Andrew Bennetts, #562380)
846
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
847
error. This error was caused by 2.0 not being updated when upstream
848
python merged the end of run patch, which chose ``stopTestRun`` rather than
849
``done``. (Robert Collins, #571437)
851
* When passing a file to ``UTF8DirReader`` make sure to close the current
852
directory file handle after the chdir fails. Otherwise when passing many
853
filenames into a command line ``bzr status`` we would leak descriptors.
854
(John Arbash Meinel, #583486)
860
* ``build_tree_contents`` can create symlinks.
861
(Martin Pool, John Arbash Meinel)
870
This release marks the start of another long-term-stable series. From
871
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
872
while 2.3 will become our new development series. The 2.0 and 2.1 series
873
will also continue to get bugfixes. (Currently 2.0 is planned to be
874
supported for another 6 months.)
876
This is primarily a bugfix and polish release over the 2.1 series, with
877
a large number of bugs fixed (>120), and some performance improvements.
879
There are some compatibility changes in this release. For users of bzrlib
880
as a library, we now request that they call ``bzrlib.initialize`` and use
881
the returned context manager appropriately. For commandline users we no
882
longer guess user identity for ``bzr commit``, users must specify their
883
identity using ``bzr whoami`` (you don't need to specify your identity for
884
readonly operations).
886
Users are encouraged to upgrade from the other stable series.
891
* BzrError subclasses no longer support the name "message" to be used
892
as an argument for __init__ or in _fmt format specification as this
893
breaks in some Python versions. errors.LockError.__init__ argument
894
is now named "msg" instead of earlier "message".
895
(Parth Malwankar, #603461)
897
* The old ``bzr selftest --benchmark`` option has been removed.
898
<https://launchpad.net/bzr-usertest> is an actively-maintained
899
macrobenchmark suite.
905
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
906
``InvalidPattern`` exception error message now shows faulting
908
(Parth Malwankar #300062)
910
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
911
way which should help avoid problems with concurrent writers.
912
(Vincent Ladeuil, #525571)
914
* Don't traceback trying to unversion children files of an already
915
unversioned directory. (Vincent Ladeuil, #494221)
917
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
918
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
920
* Progress bars prefer to truncate the text message rather than the
921
counters. The spinner is shown between the network transfer indicator
922
and the progress message. Progress bars are correctly cleared off when
923
they finish. (Martin Pool, #611127)
925
* Recursive binding for checkouts is now detected by bzr. A clear error
926
message is shown to the user. (Parth Malwankar, #405192)
931
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
932
tree, and works with unrelated branches. (Andrew Bennetts)
934
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
935
GUI with out have a console open in the background.
936
(Gary van der Merwe, #433781)
941
* ``bzr help patterns`` now explains case insensitive patterns and
942
points to Python regular expression documentation.
943
(Parth Malwankar, #594386)
948
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
953
* Unit test added to ensure that "message" is not uses as a format variable
954
name in BzrError subclasses as this conflicts with some Python versions.
955
(Parth Malwankar, #603461)
960
:Codename: Monkey Magic
964
This fourth and final beta in the 2.2 series now stabilizes the internal
965
APIs. Plugin authors are recommended to ensure their releases are
966
compatible, so that 2.2rc1 can be a true release candidate, containing
967
stable and compatible plugin versions.
969
For users of bzrlib as a library, one of the primary changes is to request
970
that they call ``bzrlib.initialize`` and use the returned context manager
973
Better interaction with ``bzr-loom`` to make sure branching from a loom
974
even over a smart server still yields a local loom. Not to mention lots of
980
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
981
the result of ``bzrlib.initialize``. This change was made when fixing
982
the bad habit recent bzr versions have had of leaving progress bars
983
behind on the screen. That required calling another function before
984
exiting the program, and it made sense to provide a full context
985
manager at the same time. (Robert Collins)
987
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
988
context manager in the Python 2.5 and above sense. The bzrlib base class
989
is such a manager, but third party UI factories which do not derive from
990
``bzrlib.ui.UIFactory`` will be incompatible with the command line front
993
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
994
and path "bar/baz", even if bzr does not recognize "foo" as a known URL
995
scheme. Previously these URLs would be treated as local paths.
1002
* Support ``--directory`` option for a number of additional commands:
1003
conflicts, merge-directive, missing, resolve, shelve, switch,
1004
unshelve, whoami. (Martin von Gagern, #527878)
1009
* ``bzr branch`` to a new repository with a default stacking policy no
1010
longer transfers the full history unnecessarily.
1011
(Andrew Bennetts, #597942)
1013
* ``bzr init`` does not recursively scan directory contents anymore
1014
leading to faster init for directories with existing content.
1015
(Martin [gz], Parth Malwankar, #501307)
1017
* ``bzr log --exclude-common-ancestry`` is now taken into account for
1018
linear ancetries. (Vincent Ladeuil, #575631)
1020
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
1021
rather than trying to fetch the data locally and failing because of a
1022
readonly error. (Martin von Gagern, #149270)
1024
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
1025
or pull location in locations.conf or branch.conf.
1026
(Gordon Tyler, #534787)
1028
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
1029
smart server. (Andrew Bennetts, #551525)
1031
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
1032
(Marius Kruger, Robert Collins)
1034
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
1035
(Marius Kruger, Robert Collins)
1037
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
1038
proper error messages. (Vincent Ladeuil, #591215)
1040
* Explicitly removing ``--profile-imports`` option from parsed command-line
1041
arguments on Windows, because bzr script does the same.
1042
(Alexander Belchenko, #588277)
1044
* Fetching was slightly confused about the best code to use and was
1045
using a new code path for all branches, resulting in more lookups than
1046
necessary on old branches. (Robert Collins, #593515)
1048
* Final fix for 'no help for command' issue. We now show a clean message
1049
when a command has no help, document how to set help more clearly, and
1050
test that all commands available to the test suite have help.
1051
(Robert Collins, #177500)
1053
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
1054
``InvalidPattern`` exception showing clear error message to the user.
1055
(Parth Malwankar #300062)
1057
* Progress output is cleaned up when exiting. (Aaron Bentley)
1059
* Raise ValueError instead of a string exception.
1060
(John Arbash Meinel, #586926)
1062
* Relative imports in plugins are now handled correctly when using
1063
BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
1065
* ``ScriptRunner`` now strips off leading indentation from test scripts,
1066
which previously caused "SyntaxError: No command for line".
1069
* Show unicode filenames in diff headers using terminal encoding.
1070
(Alexander Belchenko, Bug #382699)
1071
NOTE for Windows users: If user need to save diff to file then user need to
1072
change encoding of the terminal to ANSI encoding with command ``chcp XXX``
1073
(e.g. ``chcp 1251`` for Russian Windows).
1075
* URL displayed for use with ``break-lock`` when smart server sees lock
1076
contention are now valid. Default timeout for lock contention retry is
1077
now 30 seconds instead of 300 seconds.
1078
(Parth Malwankar, #250451)
1080
* ``walkdirs`` now raises a useful message when the filenames are not using
1081
the filesystem encoding. (Eric Moritz, #488519)
1083
* Enable debugging of bzr on windows with pdb and other tools. This was
1084
broken because we call GetCommandLineW on windows. The fix adjusts the
1085
command line we get to be the same length as sys.argv.
1086
(Jason Spashett, Alexander Belchenko, #587868)
1091
* Bazaar now reads data from SSH connections more efficiently on platforms
1092
that provide the ``socketpair`` function, and when using paramiko.
1093
(Andrew Bennetts, #590637)
1095
* ``Branch.copy_content_into`` is now a convenience method dispatching to
1096
a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
1097
plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
1098
(Robert Collins, #201613)
1100
* ``Branch`` formats can now be loaded lazily by registering a
1101
``MetaDirBranchFormatFactory`` rather than an actual format. This will
1102
cause the named format class to be loaded only when an enumeration of
1103
formats is needed or when the format string for the object is
1104
encountered. (Robert Collins, Jelmer Vernooij)
1106
* The encoding that bzr uses to output things other than file content can
1107
now be overridden via the output_encoding configuration option.
1108
(Martin Pool, #340394)
1110
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
1111
do not cause modules to be loaded unnecessarily just because the plugin
1112
registers a merge hook. This improves ``bzr rocks`` time by about 25%
1113
in a default installation (with just the core plugins).
1119
* Added ``regression`` tag to our tags list. (Robert Collins)
1121
* Improved our release checklist to have a bit less churn and leave things
1122
ready-to-go for the next action (including other people doing
1123
development). (Robert Collins)
1125
* Remove obsolete discussion of PQM in documentation about how to
1126
contribute to Bazaar. (Martin Pool, #588444)
1131
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
1132
an iterable of format pairs, rather than just a single pair, permitting
1133
InterBranch objects that work with multiple permutations to be
1134
comprehensively tested. (Robert Collins)
1136
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
1137
profiles when concurrent profile requests are made. Instead the profile
1138
requests will be serialised. Reentrant requests will now deadlock.
1141
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
1142
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
1143
``bzrlib.patiencediff`` instead. (Andrew Bennetts)
1145
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
1146
``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
1147
case the default error message not suitable for the use case.
1150
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated. It provided only
1151
one method ``check_output``, and we now recommend checking command
1152
output using ``run_script``. (Martin Pool)
1154
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
1155
that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
1156
Third-party implementations of ``SSHVendor`` may need to be updated
1157
accordingly. Similarly, any code using ``SSHConnection`` directly will
1158
need to be updated. (Andrew Bennetts)
1160
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
1161
changed to take an ``SSHParams`` instance (replacing many individual
1162
values). (Andrew Bennetts)
1167
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
1168
selection when explicitly requested; this avoids many duplicate calls
1169
being logged when helpers, wrappers and older code that manually calls
1170
it are executed it is now logged deliberately by the ui setup code.
1173
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
1175
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
1176
that ``sys.getsizeof`` and other memory analysis tools will report more
1177
accurate results. (Andrew Bennetts)
1179
* The symbol_versioning module can now cleanup after itself -
1180
``suppress_deprecation_warnings`` now returns a cleanup function.
1186
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
1187
to test. (Martin Pool)
1189
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
1190
(Vincent Ladeuil, #595587)
1197
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
1198
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
1199
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
1200
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
1201
bash completion script and bzr will no longer guess at identity details -
1202
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
1203
For developers we have some API changes which may impact plugins as well
1204
as a bunch of our regular improvements to internal clarity and test
1207
Compatibility Breaks
1208
********************
1210
* An API break has been made to the lock_write method of ``Branch`` and
1211
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
1212
and ``repository.RepositoryWriteLockResult`` objects. This makes
1213
changing the API in future easier and permits some cleaner calling code.
1214
The lock_read method has also changed from having no defined return
1215
value to returning ``LogicalLockResult`` objects.
1218
* ``bzr`` does not try to guess the username as ``username@hostname``
1219
and requires it to be explictly set. This can be set using ``bzr
1220
whoami``. (Parth Malwankar, #549310)
1222
* ``bzrlib.commands.Command`` will now raise ValueError during
1223
construction if there is no __doc__ set. (Note, this will be reverted in
1224
2.2b4) (Robert Collins)
1226
* The source tree no longer contains a contrib/zsh/_bzr completion
1227
script. The new file contrib/zsh/README suggests alternatives.
1228
(Martin von Gagern, #560030)
1233
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
1235
(Parth Malwankar, #571467)
1237
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
1238
the default ignore rules used by bzr. The flag ``--old-default-rules``
1239
is no longer supported by ``ignore``.
1240
(Parth Malwankar, #538703)
1242
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
1243
can save disk space by deleting obsolete pack files created during the
1245
(Parth Malwankar, #304320)
1247
* New command line option ``--authors`` to ``bzr log`` allows users to
1248
select which of the apparent authors and committer should be
1249
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
1251
* Support ``--directory`` option for a number of additional commands:
1252
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
1253
export, ignore, ignored, lookup-revision, ls, modified, nick,
1254
re-sign, unbind, unknowns.
1255
(Martin von Gagern, #527878)
1257
* The bash_completion plugin from the bzr-bash-completion project has
1258
been merged into the tree. It provides a bash-completion command and
1259
replaces the outdated ``contrib/bash/bzr`` script with a version
1260
using the plugin. (Martin von Gagern, #560030)
1262
* A new transport based on GIO (the gnome i/o library) provides access to
1263
samba shares, webdav using gio+smb and gio+dav. It is also possible to
1264
use gio for some already existing transport methods as gio+file,
1271
* Alias information shown by ``bzr help`` is now accurate. This
1272
was showing an internal object name for some plugin aliases.
1273
(Parth Malwankar, #584650)
1275
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
1276
group ownership from the containing directory. This allow bzr to work
1278
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
1280
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
1281
support of bzr-externals and scmproj plugins.
1282
(Alexander Belchenko, bug #572098)
1284
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
1285
(Gordon Tyler, #572092)
1287
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
1288
are part of Y ancestry but not part of X ancestry (aka the graph
1290
(Vincent Ladeuil, #320119)
1292
* ``bzr lp-propose`` which was switched to use production Launchpad API
1293
servers a few commits ago has been reverted to use edge: there is a
1294
problem with using production which isn't trivially obvious, so we've
1295
filed a bug to track it, and until thats fixed will be using edge.
1296
(Robert Collins, #583667)
1298
* ``bzr rm`` should not refuse to delete directories which contained a file
1299
which has been moved elsewhere in the tree after the previous commit.
1300
(Marius Kruger, Daniel Watkins, #129880)
1302
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
1303
(Vincent Ladeuil, #566670)
1305
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
1306
(Vincent Ladeuil, #563997)
1308
* CommitBuilder refuses to create revisions whose trees have no root.
1311
* Do not register a SIGWINCH signal handler, instead just poll for the
1312
terminal width as needed. This avoids the "Interrupted System Call"
1313
problems that occur on POSIX with all currently released versions of
1315
(Andrew Bennetts, #583941)
1317
* Don't mention --no-strict when we just issue the warning about unclean trees.
1318
(Vincent Ladeuil, #401599)
1320
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
1321
versions before 1.6.
1322
(Andrew Bennetts, #528041)
1324
* Improved progress bar for fetch (2a format only). Bazaar now shows an
1325
estimate of the number of records to be fetched vs actually fetched.
1326
(Parth Malwankar, #374740, #538868)
1328
* Reduce peak memory by one copy of compressed text.
1329
(John Arbash Meinel, #566940)
1331
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
1332
read lock, rather than causing an ``AttributeError``.
1333
(Andrew Bennetts, Данило Шеган, #582781)
1335
* Selftest was failing with testtools 0.9.3, which caused an
1336
AssertionError raised from a cleanUp to be reported as a Failure, not an
1337
Error, breaking on of our test hygiene tests.
1338
(Robert Collins, Vincent Ladeuil).
1340
* ``set_user_option`` with a dict on remote branches no longer fails with
1341
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
1342
to support this efficiently.
1343
(Andrew Bennetts, #430382)
1345
* Show the filenames when a file rename fails so that the error will be
1346
more comprehensible.
1347
(Martin Pool, #491763)
1349
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
1350
(John Arbash Meinel, #582656)
1352
* Unicode characters in aliases are now handled correctly and do not cause
1353
UnicodeEncodeError exception. (Parth Malwankar, #529930)
1355
* Unicode commit messages that are the same as a file name no longer cause
1356
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
1358
(Parth Malwankar, #563646)
1360
* Using bzr with `lp:` urls behind an http proxy should work.
1361
(Robert Collins, #558343)
1363
* When passing a file to ``UTF8DirReader`` make sure to close the current
1364
directory file handle after the chdir fails. Otherwise when passing many
1365
filenames into a command line ``bzr status`` we would leak descriptors.
1366
(John Arbash Meinel, #583486)
1371
* ``append_revisions_only`` will now be interpreted as a boolean and a
1372
warning emitted if illegal values are used. Note that for projects
1373
that needs to maintain compatibility with previsous bzr versions,
1374
only 'True' and 'False' strings must be used (previous versions of
1375
bzr will interpret all strings differing from 'True'
1376
(case-sensitive) as false.
1377
(Brian de Alwis, Vincent Ladeuil)
1379
* ``bzr ls`` now supports short options for existing long options.
1380
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
1381
(Parth Malwankar, #181124)
1383
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
1384
be interpreted as a boolean.
1387
* The all-in-one Windows installer will now be built with docstrings stripped
1388
from the library zip, reducing the size and slightly improving cold startup
1389
time. Bundled plugins are unchanged for the moment, but if adding other new
1390
plugins to an all-in-one installation, ensure they are compiled and
1391
installed with -O1 or help may not work. (Martin [gz])
1396
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
1397
some kinds of ``merge_file_content`` hook functions.
1400
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
1401
`user_transport`, `control_url` and `control_transport` members pointing
1402
respectively to the directory containing the ``.bzr`` control directory,
1403
and to the directory within ``.bzr`` used for the particular component.
1404
All of them inherit from `ControlComponent` which provides default
1408
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
1409
expected to return an object which can be used to unlock them. This reduces
1410
duplicate code when using cleanups. The previous 'tokens's returned by
1411
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
1412
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
1413
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
1415
* ``Repository.refresh_data`` may now be called in a write group on
1416
pack-based repositories. Older repositories will still raise an error
1417
in this case. Subclasses of ``Repository`` can still override
1418
``Repository._refresh_data``, but are now responsible for raising
1419
``bzrlib.repository.IsInWriteGroupError`` if they do not support
1420
``refresh_data`` during a write group.
1421
(Andrew Bennetts, #574236)
1426
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
1427
the (file-id, revision-id) key from a CHKInventory entry. This can
1428
potentially shave 5-10% time off during a large fetch. Related to bug
1429
#562666. (John Arbash Meinel)
1431
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
1434
* ``_remember_remote_is_before`` no longer raises AssertionError when
1435
suboptimal network behaviour is noticed; instead it just mutters to the
1436
log file (and warns the user if they have set the ``hpss`` debug flag).
1437
This was causing unnecessary aborts for performance bugs that are minor
1439
(Andrew Bennetts, #528041)
1441
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
1442
files loaded from disk. To ensure docstrings needed for help are never
1443
stripped, the prefix ``__doc__ =`` should now be used.
1444
(Martin <gzlist@googlemail.com>)
1446
* No longer require zlib headers to build extensions, and remove the need
1447
for seperate copy of zlib library on windows.
1448
(John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
1453
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
1454
our first in-tree matcher. See the module docstring for details.
1457
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
1458
(Gordon Tyler, #551332)
1460
* Workaround ``Crypto.Random`` check leading to spurious test
1461
failures on Lucid, FreeBSD and gentoo.
1462
(Vincent Ladeuil, #528436)
1464
* New class ``ExecutableFeature`` for checking the availability of
1465
executables on the ``PATH``. Migrated from bash_completion plugin.
1473
This release fixes two critical networking issues with older servers and
1474
with interrupted system call errors when pushing or pulling. We recommend
1475
upgrading to anyone running a 2.1.x version of bzr.
1480
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
1481
support of bzr-externals and scmproj plugins.
1482
(Alexander Belchenko, bug #572098)
1484
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
1485
(Aaron Bentley, #559436)
1487
* Do not register a SIGWINCH signal handler, instead just poll for the
1488
terminal width as needed. This avoids the "Interrupted System Call"
1489
problems that occur on POSIX with all currently released versions of
1491
(Andrew Bennetts, #583941)
1493
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
1494
versions before 1.6.
1495
(Andrew Bennetts, #528041)
1497
* Reset ``siginterrupt`` flag to False every time we handle a signal
1498
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
1499
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
1500
errors compared to registering ``signal.signal`` directly.
1503
* Reduce peak memory by one copy of compressed text.
1504
(John Arbash Meinel, #566940)
1506
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
1507
(John Arbash Meinel, #582656)
1509
* When passing a file to ``UTF8DirReader`` make sure to close the current
1510
directory file handle after the chdir fails. Otherwise when passing many
1511
filenames into a command line ``bzr status`` we would leak descriptors.
1512
(John Arbash Meinel, #583486)
1517
* ``_remember_remote_is_before`` no longer raises AssertionError when
1518
suboptimal network behaviour is noticed; instead it just mutters to the
1519
log file (and warns the user if they have set the ``hpss`` debug flag).
1520
This was causing unnecessary aborts for performance bugs that are minor
1522
(Andrew Bennetts, #528041)
1530
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
1531
incompatibility in the 2.2b1 release. It also includes a swag of
1532
performance, usability and correctness improvements: test feedback on all
1533
of these would be welcome.
1539
* ``bzr diff`` now supports a --format option, which can be used to
1540
select alternative diff formats. (Jelmer Vernooij, #555994)
1545
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
1546
instead of failing when dirty trees are involved. The corresponding
1547
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
1548
True explicitly to get the previous behaviour.
1549
(Vincent Ladeuil, #519319)
1551
* ``bzr export`` to tar file does not fail if any parent directory
1552
contains unicode characters. This works around upstream Python bug
1553
http://bugs.python.org/issue8396 .
1554
(Parth Malwankar, #413406)
1556
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
1557
(Aaron Bentley, #559436)
1559
* ``bzr update`` when a pending merge in the working tree has been merged
1560
into the master branch will no longer claim that old commits have become
1561
pending merges. (Robert Collins, #562079)
1563
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
1564
config as in previous versions of bzrlib. (Robert Collins)
1566
* Fix glitch in the warning about unclean trees display.
1567
(Vincent Ladeuil, #562665)
1569
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
1572
* Help messages generated by ``RegistryOption.from_kwargs`` list the
1573
switches in alphabetical order, rather than in an undefined order.
1574
(Martin von Gagern, #559409)
1576
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
1577
Apport crash reports, to avoid "This problem report applies to a program
1578
which is not installed any more" error.
1579
(Martin Pool, James Westby, #528114)
1581
* Reset ``siginterrupt`` flag to False every time we handle a signal
1582
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
1583
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
1584
errors compared to registering ``signal.signal`` directly.
1587
* When invoked with a range revision, ``bzr log`` doesn't show revisions
1588
that are not part of the Y revisions ancestry anymore when invoked with
1590
(Vincent Ladeuil, #474807)
1592
* Properly handle ``param_name`` attribute for ``ListOption``.
1593
(Martin von Gagern, #387117)
1598
* ``bzr commit`` will prompt before using a commit message that was
1599
generated by a template and not edited by the user.
1600
(Robert Collins, #530265)
1602
* ``bzr diff`` read-locks the trees and branches only once, saving about
1603
10-20ms on ``bzr diff`` in a bzr.dev tree.
1606
* ``bzr missing`` read-locks the branches only once.
1609
* ``bzr pull`` locks the branches and tree only once.
1612
* Index lookups in pack repositories search recently hit pack files first.
1613
In repositories with many pack files this can greatly reduce the
1614
number of files accessed, the number of bytes read, and the number of
1615
read calls. An incremental pull via plain HTTP takes half the time and
1616
bytes for a moderately large repository. (Andrew Bennetts)
1618
* Index lookups only re-order the indexes when the hit files aren't
1619
already first. Reduces the cost of reordering
1620
(John Arbash Meinel, #562429)
1622
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
1624
(Martin Pool, #553017)
1629
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
1630
``get_trees_and_branches_to_diff_locked`` instead.
1633
* ``TreeTransform.commit`` supports the full set of commit parameters, and
1634
auto-determines branch nick if not supplied. (Aaron Bentley)
1639
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
1640
2.1 method of calling run() to perform testing or direct use via the API
1641
is now possible again. As part of this, the _operation attribute on
1642
Command is now transient and only exists for the duration of ``run()``.
1650
This is the first beta of the 2.2 series, leading up to a 2.2.0
1651
release in July or August. Beta releases are suitable for everyday use
1652
but may cause some incompatibilities with plugins. Some plugins may need
1653
small updates to work with 2.2b1.
1655
2.2b1 includes some changes to make merge conflicts easier to understand
1656
and resolve. It also removes some old unnecessary code, and loads
1657
somewhat less code at startup. It starts adding a common infrastructure
1658
for dealing with colocated named branches, which can be implemented in
1659
various ways in either bzr native or foreign formats. On Ubuntu and
1660
other platforms with the apport bug-reporting library, there's an easier
1661
path to report problems with bzr. We plan to continue with these themes
1662
through the 2.2 series.
1664
Over thirty bugs have been fixed, including in the log command, exporting
1665
to tarballs, restarting interrupted system calls, portability of compiled
1666
extensions, making backups during upgrade, and locking on ftp.
1668
Compatibility Breaks
1669
********************
1671
* BTreeGraphIndex can now take an offset to indicate that the data starts
1672
somewhere other than then beginning of the file. (John Arbash Meinel)
1674
* Deleted very old hidden commands ``versionedfile-list``,
1675
``weave-plan-merge``, ``weave-merge-text``.
1678
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
1679
have been removed. (Jelmer Vernooij)
1681
* ``Repository.get_revision_inventory()`` has been removed in favor of
1682
``Repository.get_inventory()``. (Jelmer Vernooij)
1684
* All test servers have been moved out of the bzrlib.transport hierarchy to
1685
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
1686
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
1687
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
1688
``bzrlib.tests.test_server``.
1691
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
1692
as its second parameter, for consistency with the initialize() method of
1693
other formats. (Jelmer Vernooij)
1698
* Added ``bzr remove-branch`` command that can remove a local or remote
1699
branch. (Jelmer Vernooij, #276295)
1701
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
1702
to set file mtimes to the last timestamp of the last revision in which
1703
they were changed rather than the current time. (Jelmer Vernooij)
1705
* If the Apport crash-reporting tool is available, bzr crashes are now
1706
stored into the ``/var/crash`` apport spool directory, and the user is
1707
invited to report them to the developers from there, either
1708
automatically or by running ``apport-bug``. No information is sent
1709
without specific permission from the user. (Martin Pool, #515052)
1711
* Parsing of command lines, for example in ``diff --using``, no longer
1712
treats backslash as an escape character on Windows.
1713
(Gordon Tyler, #392428)
1715
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
1716
a list of plugin names separated by ':' (';' on windows).
1717
(Vincent Ladeuil, #411413)
1719
* Plugins can be loaded from arbitrary locations by defining
1720
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
1721
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
1722
specified plugins. This is targeted at plugin developers for punctual
1723
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
1724
(Vincent Ladeuil, #82693)
1726
* Tag names can now be determined automatically by ``automatic_tag_name``
1727
hooks on ``Branch`` if they are not specified on the command line.
1730
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
1731
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
1732
as resolved is still accessible via the ``--done`` default action.
1735
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
1736
(Aaron Bentley, Jonathan Lange)
1741
* Added docstring for ``Tree.iter_changes``
1742
(John Arbash Meinel, #304182)
1744
* Allow additional arguments to
1745
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
1747
* Allow exporting a single file using ``bzr export``.
1748
(Michal Junák, #511987)
1750
* Allow syscalls to automatically restart when ``TextUIFactory``'s
1751
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
1752
IO, which are often poorly handled by Python's libraries and parts of
1753
bzrlib. (Andrew Bennetts, #496813)
1755
* Avoid infinite recursion when probing for apport.
1756
(Vincent Ladeuil, #516934)
1758
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1759
(Martin Pool, #331095)
1761
* Avoid truncating svn URLs.
1762
(Martin Pool, Martin von Gagern, #545185)
1764
* ``bzr add`` will not add conflict related files unless explicitly required.
1765
(Vincent Ladeuil, #322767, #414589)
1767
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
1768
indices do not have reference lists, so ``dump-btree`` will simply show
1769
``None`` instead. (Andrew Bennetts, #488607)
1771
* ``bzr help`` will no longer trigger the get_missing_command hook when
1772
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
1773
did you mean log?') when getting help. In future we may trigger the hook
1774
deliberately when no help topics match from any help index.
1775
(Robert Collins, #396261)
1777
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
1778
revspec as representing the first revision of the branch.
1779
(Vincent Ladeuil, #519862)
1781
* ``bzr remove-tree`` can now remove multiple working trees.
1782
(Jared Hance, Andrew Bennetts, #253137)
1784
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
1785
the kept file on content conflicts where one side deleted the file.
1786
(Vincent Ladeuil, #529968)
1788
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1789
permissions as ``.bzr`` directory on a POSIX OS.
1790
(Parth Malwankar, #262450)
1792
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
1793
of ``backup.bzr``. This directory is ignored by bzr commands such as
1795
(Parth Malwankar, #335033, #300001)
1797
* Cope with non-utf8 characters inside ``.bzrignore``.
1798
(Jason Spashett, #183504)
1800
* Correctly interpret "451 Rename/move failure: Directory not empty" from
1801
ftp servers while trying to take a lock.
1802
(Martin Pool, #528722)
1804
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
1805
changes occured between the workingtree and one of its parents.
1806
(Vincent Ladeuil, #535547)
1808
* Fix ``log`` to better check ancestors even if merged revisions are involved.
1809
(Vincent Ladeuil, #476293)
1811
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
1812
on os.lisdir() order and is now reliable.
1813
(Vincent Ladeuil, #552922).
1815
* Many IO operations that returned ``EINTR`` were retried even if it
1816
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
1817
only retries operations that are safe to retry, and in some cases has
1818
switched to operations that can be retried (e.g. ``sock.send`` rather than
1820
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
1822
* Path conflicts now support --take-this and --take-other even when a
1823
deletion is involved.
1824
(Vincent Ladeuil, #531967)
1826
* Network transfer amounts and rates are now displayed in SI units according
1827
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
1828
(Gordon Tyler, #514399)
1830
* Support kind markers for socket and fifo filesystem objects. This
1831
prevents ``bzr status --short`` from crashing when those files are
1832
present. (John Arbash Meinel, #303275)
1834
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
1835
directory. (Parth Malwankar, #138600)
1837
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
1838
the debugger won't kill the session.
1839
(Martin <gzlist@googlemail.com>, #162502)
1841
* Tolerate patches with leading noise in ``bzr-handle-patch``.
1842
(Toshio Kuratomi, Martin Pool, #502076)
1844
* ``update -r`` now supports updating to revisions that are not on
1845
mainline (i.e. it supports dotted revisions).
1846
(Parth Malwankar, #517800)
1848
* Use first apparent author not committer in GNU Changelog format.
1849
(Martin von Gagern, #513322)
1854
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
1855
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
1858
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
1859
branch to create. (Jelmer Vernooij)
1861
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
1862
colocated branch to open. (Jelmer Vernooij)
1864
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
1865
can set a signal handler and call ``signal.siginterrupt(signum,
1866
False)`` for it, if the platform and Python version supports it.
1867
(Andrew Bennetts, #496813)
1869
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
1870
run when starting up; it sets up several things that previously needed
1871
to be done separately.
1872
(Martin Pool, #507710)
1874
* Exporters now support a ``per_file_timestamps`` argument to write out the
1875
timestamp of the commit in which a file revision was introduced.
1878
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
1879
present in a control directory. (Jelmer Vernooij)
1881
* New method ``Repository.get_known_graph_ancestry()``.
1882
(Jelmer Vernooij, #495502)
1884
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
1887
* Remove unused ``CommandFailed`` exception.
1893
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
1894
``message_callback`` in the same way that commit does. (Robert Collins)
1896
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
1897
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
1898
of date. (Gary van der Merwe)
1900
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
1901
functions to load or disable plugins if they wish to use a different
1902
plugin mechanism; the --help, --version and no-command name code paths
1903
now use the generic pluggable command lookup infrastructure.
1906
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
1907
which can be set to add extra help to the error. (Gary van der Merwe)
1909
* New method ``Branch.automatic_tag_name`` that can be used to find the
1910
tag name for a particular revision automatically. (Jelmer Vernooij)
1912
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
1913
``BzrDir.open_branch()`` now take an optional ``name`` argument.
1919
* bzr now has a ``.testr.conf`` file in its source tree configured
1920
appropriately for running tests with Testrepository
1921
(``https://launchpad.net/testrepository``). (Robert Collins)
1923
* Documentation about testing with ``subunit`` has been tweaked.
1926
* Known failures has been added for resolve --take-other on ParentLoop
1927
conflicts. This reflects bug #537956 without fixing it.
1930
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
1931
Python modules are loaded, to guard against startup time or library
1932
dependency regressions.
1935
* PQM will now run with subunit output. To analyze a PQM error use
1936
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
1938
* Stop sending apport crash files to ``.cache`` in the directory from
1939
which ``bzr selftest`` was run. (Martin Pool, #422350)
1941
* Tests no longer fail if "close() called during concurrent
1942
operation on the same file object" occurs when closing the log file
1943
(which can happen if a thread tries to write to the log file at the
1944
wrong moment). An warning will be written to ``stderr`` when this
1945
happens, and another warning will be written if the log file could not
1946
be closed after retrying 100 times. (Andrew Bennetts, #531746)
1953
This is a small bugfix release. Upgrading is recommended for anyone
1954
running 2.1.0 or earlier.
1959
* Allow syscalls to automatically restart when ``TextUIFactory``'s
1960
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
1961
IO, which are often poorly handled by Python's libraries and parts of
1962
bzrlib. (Andrew Bennetts, #496813)
1964
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1965
(Martin Pool, #331095)
1967
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
1969
* Fix stub sftp test server to call os.getcwdu().
1970
(Vincent Ladeuil, #526221, #526353)
1972
* Fixed CHM generation by moving the NEWS section template into
1973
a separate file. (Ian Clatworthy, #524184)
1975
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
1977
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
1978
problems importing bzrlib from a non-main thread.
1979
(Elliot Murphy, #521989)
1981
* Repositories accessed via a smart server now reject being stacked on a
1982
repository in an incompatible format, as is the case when accessing them
1983
via other methods. This was causing fetches from those repositories via
1984
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1985
(Andrew Bennetts, #562380)
1987
* Standardize the error handling when creating a new ``StaticTuple``
1988
(problems will raise TypeError). (Matt Nordhoff, #457979)
1990
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
1991
``StaticTuple`` extensions, rather than having the build fail randomly.
1992
(John Arbash Meinel, #449776)
1997
* Added a link to the Desktop Guide. (Ian Clatworthy)
1999
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
2001
* Drop Google Analytics from the core docs as they caused problems
2002
in the CHM files. (Ian Clatworthy, #502010)
2007
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
2008
can set a signal handler and call ``signal.siginterrupt(signum,
2009
False)`` for it, if the platform and Python version supports it.
2010
(Andrew Bennetts, #496813)
2018
This fifth release in our 2.0 series addresses several user-inconvenience
2019
bugs. None are critical, but upgrading is recommended for all users on
2020
earlier 2.0 releases.
2025
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
2026
(Martin Pool, #331095)
2028
* Concurrent autopacking is more resilient to already-renamed pack files.
2029
If we find that a file we are about to obsolete is already obsoleted, we
2030
do not try to rename it, and we leave the file in ``obsolete_packs``.
2031
The code is also fault tolerant if a file goes missing, assuming that
2032
another process already removed the file.
2033
(John Arbash Meinel, Gareth White, #507557)
2035
* Cope with the lockdir ``held/info`` file being empty, which seems to
2036
happen fairly often if the process is suddenly interrupted while taking
2038
(Martin Pool, #185103)
2040
* Give the warning about potentially slow cross-format fetches much
2041
earlier on in the fetch operation. Don't show this message during
2042
upgrades, and show the correct format indication for remote
2044
(Martin Pool, #456077, #515356, #513157)
2046
* Handle renames correctly when there are files or directories that
2047
differ only in case. (Chris Jones, Martin Pool, #368931)
2049
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
2050
error, report that error rather than failing with an unhelpful
2051
``UnboundLocalError``.
2052
(Andrew Bennetts, #423563)
2054
* Running ``bzr`` command without any arguments now shows bzr
2055
version number along with rest of the help text.
2056
(Parth Malwankar, #369501)
2058
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
2060
(Inada Naoki, #524560)
2065
* Added ``location-alias`` help topic.
2066
(Andrew Bennetts, #337834)
2068
* Fixed CHM generation by moving the NEWS section template into
2069
a separate file. (Ian Clatworthy, #524184)
2075
:Codename: Strasbourg
2078
This release marks our second long-term-stable series. The Bazaar team
2079
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
2080
releases, along with 2.2 development releases.
2082
This is a fairly incremental update, focusing on polish and bugfixing.
2083
There are no changes for supported disk formats. Key updates include
2084
reduced memory consumption for many operations, a new per-file merge
2085
hook, ignore patterns can now include '!' to exclude files, globbing
2086
support for all commands on Windows, and support for addressing home
2087
directories via ``bzr+ssh://host/~/`` syntax.
2089
Users are encouraged to upgrade from the 2.0 stable series.
2094
* Don't require testtools to use sftp.
2095
(Vincent Ladeuil, #516183)
2097
* Fix "AttributeError in Inter1and2Helper" during fetch.
2098
(Martin Pool, #513432)
2100
* ``bzr update`` performs the two merges in a more logical order and will stop
2101
when it encounters conflicts.
2102
(Gerard Krol, #113809)
2104
* Give a better error message when doing ``bzr bind`` in an already bound
2105
branch. (Neil Martinsen-Burrell, #513063)
2107
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
2108
in a pack repository, which can happen harmlessly if the abort occurs during
2109
finishing the write group. Also use ``bzrlib.cleanup`` so that any
2110
other errors that occur while aborting the individual packs won't be
2111
hidden by secondary failures when removing the corresponding indices.
2112
(Andrew Bennetts, #423015)
2114
* Set the mtime of files exported to a directory by ``bzr export`` all to
2115
the same value to avoid confusing ``make`` and other date-based build
2116
systems. (Robert Collins, #515631)
2121
* Fetching into experimental formats will now print a warning. (Jelmer
2127
* ``Repository.deserialise_inventory`` has been renamed to
2128
``Repository._deserialise_inventory`` to indicate it is private.
2131
* ``Repository.get_inventory_xml`` has been renamed to
2132
``Repository._get_inventory_xml`` to indicate it is private.
2135
* ``Repository.serialise_inventory`` has been renamed to
2136
``Repository._serialise_inventory`` to indicate it is private.
2138
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
2139
same time was broken due to race conditions with a module level page
2140
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
2141
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
2142
the same high level objects such as ``bzrlib.repository.Repository``
2143
from different threads. chk_map now uses a thread local cache which may
2144
increase memory pressure on processes using threads.
2145
(Robert Collins, John Arbash Meinel, #514090)
2147
* The new ``merge_file_content`` should now be ok with tests to avoid
2149
(Vincent Ladeuil, #515597)
2154
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
2155
blocks in several places in ``bzrlib.merge``. This avoids masking prior
2156
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
2158
(Andrew Bennetts, #517275)
2163
* The ``remove_index`` method of
2164
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
2165
argument. This argument was always ignored.
2166
(Andrew Bennetts, #423015)
2171
:Codename: after the bubbles
2172
:2.1.0rc2: 2010-01-29
2174
This is a quick-turn-around to update a small issue with our new per-file
2175
merge hook. We expect no major changes from this to the final 2.1.0.
2180
* The new ``merge_file_content`` hook point has been altered to provide a
2181
better API where state for extensions can be stored rather than the
2182
too-simple function based approach. This fixes a performance regression
2183
where branch configuration would be parsed per-file during merge. As
2184
part of this the included news_merger has been refactored into a base
2185
helper class ``bzrlib.merge.ConfigurableFileMerger``.
2186
(Robert Collins, John Arbash Meinel, #513822)
2192
:Codename: the 'new' stable
2193
:2.1.0rc1: 2009-01-21
2195
This is the first stable release candidate for Bazaar's 2.1 series. From
2196
this point onwards, the 2.1 series will be considered stable (as the 2.0
2197
series) and only bugfixes are expected to be incorporated. The dozen or so
2198
bugfixes in the 2.0.4 release are also included in this release (along
2199
with more than 15 more bugfixes). Some of the interesting features are
2200
support for per-file merge hooks, ``bzr unshelve --preview``, support
2201
for using ! in ignore files to exclude files from being ignored, a small
2202
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
2203
This looks to be a very good start for a new stable series.
2209
* Add bug information to log output when available.
2210
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
2212
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
2213
to register custom merge logic, e.g. to provide smarter merging for
2216
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
2217
default, to enable it add a ``news_merge_files`` option to your
2218
configuration. Consult ``bzr help news_merge`` for more information.
2221
* ``bzr branch`` now takes a ``--bind`` option. This lets you
2222
branch and bind all in one command. (Ian Clatworthy)
2224
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
2225
a specific revision of a branch. (Daniel Watkins, #183559)
2227
* ``bzr unshelve --preview`` can now be used to show how a patch on the
2228
shelf would be applied to the working tree.
2229
(Guilherme Salgado, #308122)
2231
* ``bzr update`` now takes a ``--revision`` argument. This lets you
2232
change the revision of the working tree to any revision in the
2233
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
2234
Martin Pool, #45719)
2236
* ``-Dbytes`` can now be used to display the total number of bytes
2237
transferred for the current command. This information is always logged
2238
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
2240
* New ignore patterns. Patterns prefixed with '!' are exceptions to
2241
ignore patterns and take precedence over regular ignores. Such
2242
exceptions are used to specify files that should be versioned which
2243
would otherwise be ignored. Patterns prefixed with '!!' act as regular
2244
ignore patterns, but have highest precedence, even over the '!'
2245
exception patterns. (John Whitley, #428031)
2247
* The ``supress_warnings`` configuration option has been introduced to disable
2248
various warnings (it currently only supports the ``format_deprecation``
2249
warning). The new option can be set in any of the following locations:
2250
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
2251
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
2256
* Always show a message if an OS error occurs while trying to run a
2257
user-specified commit message editor.
2258
(Martin Pool, #504842)
2260
* ``bzr diff`` will now use the epoch when it is unable to determine
2261
the timestamp of a file, if the revision it was introduced in is a
2262
ghost. (Jelmer Vernooij, #295611)
2264
* ``bzr switch -b`` can now create branches that are located using directory
2265
services such as ``lp:``, even when the branch name doesn't contain a
2266
'/'. (Neil Martinsen-Burrell, #495263)
2268
* ``bzr unshelve`` has improved messages about what it is doing.
2269
(Neil Martinsen-Burrell, #496917)
2271
* Concurrent autopacking is more resilient to already-renamed pack files.
2272
If we find that a file we are about to obsolete is already obsoleted, we
2273
do not try to rename it, and we leave the file in ``obsolete_packs``.
2274
The code is also fault tolerant if a file goes missing, assuming that
2275
another process already removed the file.
2276
(John Arbash Meinel, Gareth White, #507557)
2278
* Fix "Too many concurrent requests" in reconcile when network connection
2279
fails. (Andrew Bennetts, #503878)
2281
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
2282
that caused some tests to fail when run in a non-default order.
2283
Probably no user impact. (Martin Pool, #504102)
2285
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
2286
(Andrew Bennetts, #506274)
2288
* FTP transports support Unicode paths by encoding/decoding them as utf8.
2289
(Vincent Ladeuil, #472161)
2291
* Listen to the SIGWINCH signal to update the terminal width.
2292
(Vincent Ladeuil, #316357)
2294
* Progress bars are now hidden when ``--quiet`` is given.
2295
(Martin Pool, #320035)
2297
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
2298
whatever is written to it. This un-breaks some plugin tests that
2299
depended on this behaviour.
2300
(Martin Pool, #499757)
2302
* When operations update the working tree, all affected files should end
2303
up with the same mtime. (eg. when versioning a generated file, if you
2304
update the source and the generated file together, the generated file
2305
should appear up-to-date.)
2306
(John Arbash Meinel, Martin <gzlist>, #488724)
2311
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
2312
All the builtin commands now use ``add_cleanup`` rather than
2313
``try``/``finally`` blocks where applicable as it is simpler and more
2314
robust. (Andrew Bennetts)
2316
* All except a small number of storage formats are now hidden, making
2317
the help for numerous commands far more digestible. (Ian Clatworthy)
2319
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
2320
path/to/repo``) will now include "location is a repository" as a hint in
2321
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
2323
* Push will now inform the user when they are trying to push to a foreign
2324
VCS for which roundtripping is not supported, and will suggest them to
2325
use dpush. (Jelmer Vernooij)
2327
* The version of bzr being run is now written to the log file.
2328
(__monty__, #257170)
2330
* Transport network activity indicator is shown more of the time when
2331
Bazaar is doing network IO.
2337
* Add documentation on creating merges with more than one parent.
2338
(Neil Martinsen-Burrell, #481526)
2340
* Better explain the --uncommitted option of merge.
2341
(Neil Martinsen-Burrell, #505088)
2343
* Improve discussion of pending merges in the documentation for
2344
``revert``. (Neil Martinsen-Burrell, #505093)
2346
* Improved help for ``bzr send``.
2347
(Martin Pool, Bojan Nikolic)
2349
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
2350
including discussions of installation, relevant plugins, security and
2351
backup. (Neil Martinsen-Burrell)
2353
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
2356
* The User Reference is now presented as a series of topics.
2357
Many of the included topics have link and format tweaks applied.
2363
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
2366
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
2367
to be consistent with instances being lower case and classes being
2368
CamelCase. For the features that were more likely to be used, we added a
2369
deprecation thunk, but not all. (John Arbash Meinel)
2371
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
2372
parameter in their constructors, and provide ``this_branch`` as an
2373
attribute. (Andrew Bennetts)
2375
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
2376
by plugins - the original exceptions are now preserved. (Robert Collins)
2378
* The Transport ``Server.tearDown`` method is now renamed to
2379
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
2380
our normal naming pattern, and to avoid confusion with Python's
2381
``TestCase.tearDown``. (Martin Pool)
2383
* ``WorkingTree.update`` implementations must now accept a ``revision``
2389
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
2390
a string of details (such as "location is a repository") as part of a
2391
``nobranch`` response. (Andrew Bennetts, #440952)
2393
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
2394
objects but passes str objects straight through. This is used for
2395
selftest but may be useful for diff and other operations that generate
2396
mixed output. (Robert Collins)
2398
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
2399
plugins. (Jelmer Vernooij)
2404
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
2405
running all tests in the current module, once against a pure python
2406
implementation, and once against an extension (pyrex/C) implementation.
2407
It can be used to dramatically simplify the implementation of
2408
``load_tests``. (John Arbash Meinel)
2410
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
2411
This permits features in testtools such as getUniqueInteger and
2412
getUniqueString to be used. Because of this, testtools version 0.9.2 or
2413
newer is now a dependency to run bzr selftest. Running with versions of
2414
testtools less than 0.9.2 will cause bzr to error while loading the test
2415
suite. (Robert Collins)
2417
* Shell-like tests now support the command "mv" for moving files. The
2418
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
2419
supported. (Neil Martinsen-Burrell)
2421
* The test progress bar no longer distinguishes tests that 'errored' from
2422
tests that 'failed' - they're all just failures.
2428
:Codename: smooth sailing
2431
The fourth bugfix-only release in the 2.0 series contains more than a
2432
dozen bugfixes relative to 2.0.3. The primary focus is on handling
2433
interruptions and concurrent operations more cleanly, there is also a fair
2434
improvement to ``bzr export`` when exporting a remote branch.
2440
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
2441
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
2443
* ``bzr export dir`` now requests all file content as a record stream,
2444
rather than requsting the file content one file-at-a-time. This can make
2445
exporting over the network significantly faster (54min => 9min in one
2446
case). (John Arbash Meinel, #343218)
2448
* ``bzr serve`` no longer slowly leaks memory. The compiled
2449
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
2450
free resources, and it should have been using ``__dealloc__``.
2451
This will likely have an impact on any other process that is serving for
2452
an extended period of time. (John Arbash Meinel, #494406)
2454
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
2455
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
2456
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
2458
* Concurrent autopacks will no longer lose a newly created pack file.
2459
There was a race condition, where if the reload happened at the right
2460
time, the second packer would forget the name of the newly added pack
2461
file. (John Arbash Meinel, Gareth White, #507566)
2463
* Give a clearer message if the lockdir disappears after being apparently
2464
successfully taken. (Martin Pool, #498378)
2466
* Give a warning when fetching between repositories (local or remote) with
2467
sufficiently different formats that the content will need to be
2468
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
2469
the user has a clue that upgrading could make it faster.
2470
(Martin Pool, #456077)
2472
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
2473
than using ``warning()``. The log file is opened before logging is set
2474
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
2475
users, rather than something nicer.
2476
(John Arbash Meinel, Barry Warsaw, #503886)
2478
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
2479
(Martin Pool, John Arbash Meinel, #449372)
2481
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
2482
build. (there is still the distutils bug
2483
http://bugs.python.org/issue644744) (Joe Julian, #175839)
2485
* The 2a format wasn't properly restarting autopacks when something
2486
changed underneath it (like another autopack). Now concurrent
2487
autopackers will properly succeed. (John Arbash Meinel, #495000)
2489
* ``TreeTransform`` can now handle when a delta says that the file id for
2490
the tree root changes. Rather than trying to rename your working
2491
directory, or failing early saying that you can't have multiple
2492
tree roots. This also fixes revert, update, and pull when the root id
2493
changes. (John Arbash Meinel, #494269, #504390)
2495
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
2496
the right time will get propagated, rather than silently failing to move
2497
the block pointer. (John Arbash Meinel, Gareth White, #495023)
2502
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
2503
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
2504
rather than an ``except ?:`` clause.) This should help prevent bugs like
2505
bug #495023. (John Arbash Meinel)
2511
:Codename: san francisco airport
2512
:2.1.0b4: 2009-12-14
2514
The fourth beta release in the 2.1 series brings with it a significant
2515
number of bugfixes (~20). The test suite is once again (finally) "green"
2516
on Windows, and should remain that way for future releases. There are a
2517
few performance related updates (faster upgrade and log), and several UI
2518
tweaks. There has also been a significant number of tweaks to the runtime
2519
documentation. 2.1.0b4 include everything from the 2.0.3 release.
2522
Compatibility Breaks
2523
********************
2525
* The BZR_SSH environmental variable may now be set to the path of a secure
2526
shell client. If currently set to the value ``ssh`` it will now guess the
2527
vendor of the program with that name, to restore the old behaviour that
2528
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
2529
string. (Martin <gzlist@googlemail.com>, #176292)
2534
* ``bzr commit`` now has a ``--commit-time`` option.
2535
(Alexander Sack, #459276)
2537
* ``-Dhpss`` now increases logging done when run on the bzr server,
2538
similarly to how it works on the client. (John Arbash Meinel)
2540
* New option ``bzr unshelve --keep`` applies the changes and leaves them
2541
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
2543
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
2544
respect a given terminal width. This can be useful when output is
2545
redirected or in obscure cases where the default value is not
2546
appropriate. Pagers can use it to get a better control of the line
2550
* The new command ``bzr lp-mirror`` will request that Launchpad update its
2551
mirror of a local branch. This command will only function if launchpadlib
2559
* After renaming a file, the dirstate could accidentally reference
2560
``source\\path`` rather than ``source/path`` on Windows. This might be a
2561
source of some dirstate-related failures. (John Arbash Meinel)
2563
* ``bzr commit`` now detects commit messages that looks like file names
2564
and issues a warning.
2565
(Gioele Barabucci, #73073)
2567
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
2569
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
2570
(#325618, #484109, Marius Kruger)
2572
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
2573
files with conflicts (similar to ``--merge3``). The contents of the file
2574
is a synthesis of all bases used for the merge.
2575
(John Arbash Meinel, #40412)
2577
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
2579
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
2580
(Robert Collins, #84659)
2582
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
2584
* Fix bug with redirected URLs over authenticated HTTP.
2585
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
2587
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
2589
* Lots of bugfixes for the test suite on Windows. We should once again
2590
have a test suite with no failures on Windows. (John Arbash Meinel)
2592
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
2593
variable but returns None if the terminal is not a tty (when output is
2594
redirected for example). Also fixes its usage under OSes that doesn't
2595
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
2597
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
2598
(John Arbash Meinel, Vincent Ladeuil, #492561)
2600
* Terminate ssh subprocesses when no references to them remain, fixing
2601
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
2603
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
2604
works for 2a format trees. Only files unaffected by content filters
2605
will be hardlinked. (Andrew Bennetts, #408193)
2607
* The new glob expansion on Windows would replace all ``\`` characters
2608
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
2609
etc. Now only change slashes if there is something being glob expanded.
2610
(John Arbash Meinel, #485771)
2612
* Use our faster ``KnownGraph.heads()`` functionality when computing the
2613
new rich-root heads. This can cut a conversion time in half (mysql from
2614
13.5h => 6.2h) (John Arbash Meinel, #487632)
2616
* When launching a external diff tool via bzr diff --using, temporary files
2617
are no longer created, rather, the path to the file in the working tree is
2618
passed to the external diff tool. This allows the file to be edited if the
2619
diff tool provides for this. (Gary van der Merwe, #490738)
2621
* The launchpad-open command can now be used from a subdirectory of a
2622
branch, not just from the root of the branch.
2623
(Neil Martinsen-Burrell, #489102)
2629
* ``bzr log`` is now faster. (Ian Clatworthy)
2631
* ``bzr update`` provides feedback on which branch it is up to date with.
2632
(Neil Martinsen-Burrell)
2634
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
2635
For details see the xml8 patch and heads() improvements.
2636
(John Arbash Meinel)
2638
* ``bzrlib.urlutils.local_path_from_url`` now accepts
2639
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
2642
* The progress bar now shows only a spinner and per-operation counts,
2643
not an overall progress bar. The previous bar was often not correlated
2644
with real overall operation progress, either because the operations take
2645
nonlinear time, or because at the start of the operation Bazaar couldn't
2646
estimate how much work there was to do. (Martin Pool)
2651
* Lots of documentation tweaks for inline help topics and command help
2657
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
2659
* The Launchpad plugin now has a function ``login`` which will log in to
2660
Launchpad with launchpadlib, and ``load_branch`` which will return the
2661
Launchpad Branch object corresponding to a given Bazaar Branch object.
2667
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
2668
easier to handle what tests you want to run based on what modules can be
2669
imported. (Rather than lots of custom-implemented features that were
2670
basically copy-and-pasted.) (John Arbash Meinel)
2672
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
2673
``time.clock()`` when you want to do performance timing.
2674
``time.time()`` is limited to 15ms resolution on Windows, but
2675
``time.clock()`` gives CPU and not wall-clock time on other platforms.
2676
(John Arbash Meinel)
2678
* Several code paths that were calling ``Transport.get().read()`` have
2679
been changed to the equalivent ``Transport.get_bytes()``. The main
2680
difference is that the latter will explicitly call ``file.close()``,
2681
rather than expecting the garbage collector to handle it. This helps
2682
with some race conditions on Windows during the test suite and sftp
2683
tests. (John Arbash Meinel)
2688
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
2689
unicode strings. (Michael Hudson, #464174)
2695
:Codename: little italy
2699
The third stable release of Bazaar has a small handful of bugfixes. As
2700
expected, this has no internal or external compatibility changes versus
2706
* ``bzr push --use-existing-dir`` no longer crashes if the directory
2707
exists but contains an invalid ``.bzr`` directory.
2708
(Andrew Bennetts, #423563)
2710
* Content filters are now applied correctly after pull, merge and switch.
2711
(Ian Clatworthy, #385879)
2713
* Fix a potential segfault in the groupcompress hash map handling code.
2714
When inserting new entries, if the final hash bucket was empty, we could
2715
end up trying to access if ``(last_entry+1)->ptr == NULL``.
2716
(John Arbash Meinel, #490228)
2718
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
2724
:Codename: after sprint recovery
2725
:2.1.0b3: 2009-11-16
2727
This release was pushed up from its normal release cycle due to a
2728
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
2729
was caught before 2.1.0b2 was officially announced, the full changelog
2730
includes both 2.1.0b3 and 2.1.0b2 changes.
2732
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
2733
the test suite now conforms to python's trunk enhanced semantics (skip,
2734
etc.), and ``bzr info -v`` will now report the correct branch and repo
2735
formats for Remote objects.
2741
* Users can define a shelve editor to provide shelf functionality at a
2742
granularity finer than per-patch-hunk. (Aaron Bentley)
2747
* Fix for shell completion and short options. (Benoît PIERRE)
2749
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
2751
* Hooks daughter classes should always call the base constructor.
2752
(Alexander Belchenko, Vincent Ladeuil, #389648)
2754
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
2756
* On Windows, do glob expansion at the command-line level (as is usually
2757
done in bash, etc.) This means that *all* commands get glob expansion
2758
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
2759
parser, which allows us to know if a given section was quoted. It means
2760
you can now do ``bzr ignore "*.py"``.
2761
(John Arbash Meinel, #425510, #426410, #194450)
2763
* Sanitize commit messages that come in from the '-m' flag. We translate
2764
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
2765
allow those because XML store silently translate it anyway. (The parser
2766
auto-translates \r\n => \n in ways that are hard for us to catch.)
2768
* Show correct branch and repository format descriptions in
2769
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
2771
* The fix for bug #186920 accidentally broke compatibility with python
2772
2.4. (Vincent Ladeuil, #475585)
2774
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
2775
correctly sets ``self.inv_sha1`` to a sha1 string and
2776
``self.new_inventory`` to an Inventory instance after calling
2777
``self.finish_inventory()``. (Previously it accidently set both values
2778
as a tuple on ``self.inv_sha1``. This was missed because
2779
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
2780
the sha1 from the repo directly. (John Arbash Meinel)
2782
* Shelve command refuse to run if there is no real terminal.
2783
(Alexander Belchenko)
2785
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
2786
Python level. (Martin Pool)
2791
* Include Japanese translations for documentation (Inada Naoki)
2793
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
2794
(rather than user-interaction) data to stdout. This automatically
2795
coordinates with progress bars or other terminal activity, and can be
2797
(Martin Pool, 493944)
2802
* Some of the core groupcompress functionality now releases the GIL before
2803
operation. Similar to how zlib and bz2 operate without the GIL in the
2804
core compression and decompression routines. (John Arbash Meinel)
2809
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
2810
more debugging of VFS access triggers. (Robert Collins)
2812
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
2813
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
2815
* ``--parallel=fork`` is now compatible with --subunit.
2816
(Robert Collins, Vincent Ladeuil, #419776)
2818
* Reporting of failures shows test ids not descriptions and thus shows
2819
parameterised tests correctly. (Robert Collins)
2821
* TestNotApplicable is now handled within the TestCase.run method rather
2822
than being looked for within ``ExtendedTestResult.addError``. This
2823
provides better handling with other ``TestResult`` objects, degrading to
2824
sucess rather than error. (Robert Collins)
2826
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
2827
removed - it was empty and unused. (Robert Collins)
2829
* UnavailableFeature is now handled within the TestCase.run method rather
2830
than being looked for within addError. If the Result object does not
2831
have an addNotSupported method, addSkip is attempted instead, and
2832
failing that addSuccess. (Robert Collins)
2834
* When a TestResult does not have an addSkip method, skipped tests are now
2835
reported as successful tests, rather than as errors. This change is
2836
to make it possible to get a clean test run with a less capable
2837
TestResult. (Robert Collins)
2844
:Codename: a load off my mind
2845
:2.1.0b2: 2009-11-02
2847
This is our second feature-filled release since 2.0, pushing us down the
2848
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
2850
Key highlights in this release are: improved handling of
2851
failures-during-cleanup for commit, fixing a long-standing bug with
2852
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
2853
behind proxies, and a new StaticTuple datatype, allowing us to reduce
2854
memory consumption (50%) and garbage collector overhead (40% faster) for
2857
* A new ``--concurrency`` option has been added as well as an associated
2858
BZR_CONCURRENCY environment variable to specify the number of
2859
processes that can be run concurrently when running ``bzr selftest``. The
2860
command-line option overrides the environment variable if both are
2861
specified. If none is specified. the number of processes is obtained
2862
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
2867
* ``bzr+http`` servers no longer give spurious jail break errors when
2868
serving branches inside a shared repository. (Andrew Bennetts, #348308)
2870
* Errors during commit are handled more robustly so that knock-on errors
2871
are less likely to occur, and will not obscure the original error if
2872
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
2873
and similar errors. (Andrew Bennetts, #429747, #243391)
2875
* Launchpad urls can now be resolved from behind proxies.
2876
(Gordon Tyler, Vincent Ladeuil, #186920)
2878
* Reduce the strictness for StaticTuple, instead add a debug flag
2879
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
2880
This way, most users won't see failures, but developers can improve
2881
internals. (John Arbash Meinel, #471193)
2883
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
2884
files. (Aaron Bentley)
2886
* Unicode paths are now handled correctly and consistently by the smart
2887
server. (Andrew Bennetts, Michael Hudson, #458762)
2892
* When reading index files, we now use a ``StaticTuple`` rather than a
2893
plain ``tuple`` object. This generally gives a 20% decrease in peak
2894
memory, and can give a performance boost up to 40% on large projects.
2895
(John Arbash Meinel)
2897
* Peak memory under certain operations has been reduced significantly.
2898
(eg, 'bzr branch launchpad standalone' is cut in half)
2899
(John Arbash Meinel)
2904
* Filtered views user documentation upgraded to refer to format 2a
2905
instead of pre-2.0 formats. (Ian Clatworthy)
2910
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
2912
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
2913
``show_warning`` methods, which can be hooked by non-text UIs.
2919
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
2920
Dict (it only holds keys, but you can lookup the object located at a
2921
given key). It has significantly reduced memory consumption versus the
2922
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
2923
used as the interning structure for StaticTuple objects.
2924
(John Arbash Meinel)
2926
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
2927
the btree index parser and the chk map parser. This class functions
2928
similarly to ``tuple`` objects. However, it can only point to a limited
2929
collection of types. (Currently StaticTuple, str, unicode, None, bool,
2930
int, long, float, but not subclasses). This allows us to remove it from
2931
the garbage collector (it cannot be in a cycle), it also allows us to
2932
intern the objects. In testing, this can reduce peak memory by 20-40%,
2933
and significantly improve performance by removing objects from being
2934
inspected by the garbage collector. (John Arbash Meinel)
2936
* ``GroupCompressBlock._ensure_content()`` will now release the
2937
``zlib.decompressobj()`` when the first request is for all of the
2938
content. (Previously it would only be released if you made a request for
2939
part of the content, and then all of it later.) This turns out to be a
2940
significant memory savings, as a ``zstream`` carries around approx 260kB
2941
of internal state and buffers. (For branching bzr.dev this drops peak
2942
memory from 382MB => 345MB.) (John Arbash Meinel)
2944
* When streaming content between ``2a`` format repositories, we now clear
2945
caches from earlier versioned files. (So 'revisions' is cleared when we
2946
start reading 'inventories', etc.) This can have a significant impact on
2947
peak memory for initial copies (~200MB). (John Arbash Meinel)
2953
:Codename: after the scare
2956
The second in our "let's keep the stable bugfixes flowing" series. As
2957
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
2958
changes or features.
2963
* Avoid "NoneType has no attribute st_mode" error when files disappear
2964
from a directory while it's being read. (Martin Pool, #446033)
2966
* Content filters are now applied correctly after revert.
2969
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
2971
* Fetching from stacked pre-2a repository via a smart server no longer
2972
fails intermittently with "second push failed to complete".
2973
(Andrew Bennetts, #437626)
2975
* Fix typos left after test_selftest refactoring.
2976
(Vincent Ladeuil, Matt Nordhoff, #461149)
2978
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
2979
(Andrew Bennetts, #445171)
2981
* PreviewTree file names are not limited by the encoding of the temp
2982
directory's filesystem. (Aaron Bentley, #436794)
2987
* ``bzr log`` now read-locks branches exactly once, so makes better use of
2988
data caches. (Andrew Bennetts)
2993
* Filtered views user documentation upgraded to refer to format 2a
2994
instead of pre-2.0 formats. (Ian Clatworthy)
3000
:Codename: While the cat is away
3001
:2.1.0b1: 2009-10-14
3003
This is the first development release in the new split "stable" and
3004
"development" series. As such, the release is a snapshot of bzr.dev
3005
without creating a release candidate first. This release includes a
3006
fair amount of internal changes, with deprecated code being removed,
3007
and several new feature developments. People looking for a stable code
3008
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
3009
present in 2.0.1 are present in 2.1.0b1.
3011
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
3012
finer control over the plugin search path via extended BZR_PLUGIN_PATH
3013
syntax, visible warnings when extension modules fail to load, and improved
3014
error handling during unlocking.
3020
* Bazaar can now send mail through Apple OS X Mail.app.
3023
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
3024
specified in the URL. Paths starting with a path segment of ``~`` are
3025
relative to the home directory of the user running the server, and paths
3026
starting with ``~user`` are relative to the home directory of the named
3027
user. For example, for a user "bob" with a home directory of
3028
``/home/bob``, these URLs are all equivalent:
3030
* ``bzr+ssh://bob@host/~/repo``
3031
* ``bzr+ssh://bob@host/~bob/repo``
3032
* ``bzr+ssh://bob@host/home/bob/repo``
3034
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
3035
home directories outside that directory will be accessible via this
3038
This is a feature of ``bzr serve``, so pre-2.1 clients will
3039
automatically benefit from this feature when ``bzr`` on the server is
3040
upgraded. (Andrew Bennetts, #109143)
3042
* Extensions can now be compiled if either Cython or Pyrex is available.
3043
Currently Pyrex is preferred, but that may change in the future.
3046
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
3047
disable the user, site and core plugin directories.
3048
(Vincent Ladeuil, #412930, #316192, #145612)
3053
* Bazaar's native protocol code now correctly handles EINTR, which most
3054
noticeably occurs if you break in to the debugger while connected to a
3055
bzr+ssh server. You can now can continue from the debugger (by typing
3056
'c') and the process continues. However, note that pressing C-\ in the
3057
shell may still kill the SSH process, which is bug 162509, so you must
3058
sent a signal to the bzr process specifically, for example by typing
3059
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
3061
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
3062
filename will issue a warning and skip over those files.
3063
(Robert Collins, #3918)
3065
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
3066
are present in the working tree. The configuration option ``dpush_strict``
3067
can be used to set the default for this behavior.
3068
(Vincent Ladeuil, #438158)
3070
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
3071
merges are present in the working tree.
3072
(Vincent Ladeuil, #426344)
3074
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
3075
traceback. (Martin Pool, #109115)
3077
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
3078
as it is never built. (John Arbash Meinel, #430645)
3080
* Don't restrict the command name used to run the test suite.
3081
(Vincent Ladeuil, #419950)
3083
* ftp transports were built differently when the kerberos python module was
3084
present leading to obscure failures related to ASCII/BINARY modes.
3085
(Vincent Ladeuil, #443041)
3087
* Network streams now decode adjacent records of the same type into a
3088
single stream, reducing layering churn. (Robert Collins)
3090
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
3091
file. (Aaron Bentley, #251532)
3093
* Registry objects should not use iteritems() when asked to use items().
3094
(Vincent Ladeuil, #430510)
3096
* Weave based repositories couldn't be cloned when committers were using
3097
domains or user ids embedding '.sig'. Now they can.
3098
(Matthew Fuller, Vincent Ladeuil, #430868)
3103
* Revision specifiers can now be given in a more DWIM form, without
3104
needing explicit prefixes for specifiers like tags or revision id's.
3105
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
3107
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
3108
compiled extensions can't be loaded. This typically indicates a
3109
packaging or installation problem. In this case Bazaar will keep
3110
running using pure-Python versions, but this may be substantially
3111
slower. The warning can be disabled by setting
3112
``ignore_missing_extensions = True`` in ``bazaar.conf``.
3113
See also <https://answers.launchpad.net/bzr/+faq/703>.
3114
(Martin Pool, #406113, #430529)
3116
* Secondary errors that occur during Branch.unlock and Repository.unlock
3117
no longer obscure the original error. These methods now use a new
3118
decorator, ``only_raises``. This fixes many causes of
3119
``TooManyConcurrentRequests`` and similar errors.
3120
(Andrew Bennetts, #429747)
3125
* Describe the new shell-like test feature. (Vincent Ladeuil)
3127
* Help on hooks no longer says 'Not deprecated' for hooks that are
3128
currently supported. (Ian Clatworthy, #422415)
3133
* ``bzrlib.user_encoding`` has been removed; use
3134
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
3136
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
3137
subclasses - the same as python's unittest module. (Robert Collins)
3139
* ``diff._get_trees_to_diff`` has been renamed to
3140
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
3141
returns the old and new branches. (Gary van der Merwe)
3143
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
3146
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
3147
now defaults to comparing to the basis tree. It now checks for pending
3148
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
3149
corresponding has_changes() calls. ``Merge.compare_basis``,
3150
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
3152
(Vincent Ladeuil, #440631)
3154
* ``ProgressTask.note`` is deprecated.
3160
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
3161
repository or branch object is unlocked then relocked the same way.
3164
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
3165
mallocs while parsing the index (approx 3=>1 mallocs per key read).
3166
This results in a 10% speedup while reading an index.
3167
(John Arbash Meinel)
3169
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
3170
profiling in some situations like callbacks and generators easier.
3176
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
3177
be output for every test. Note that this is very verbose! (Robert Collins)
3179
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
3180
post_mortem to be triggered when a test failure occurs. (Robert Collins)
3182
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
3183
documentation in ``developers/testing.txt`` for details.
3186
* Some tests could end up with the same id, that was dormant for
3188
(Vincent Ladeuil, #442980)
3190
* Stop showing the number of tests due to missing features in the test
3191
progress bar. (Martin Pool)
3193
* Test parameterisation now does a shallow copy, not a deep copy of the test
3194
to be parameterised. This is not expected to break external use of test
3195
parameterisation, and is substantially faster. (Robert Collins)
3197
* Tests that try to open a bzr dir on an arbitrary transport will now
3198
fail unless they have explicitly permitted the transport via
3199
``self.permit_url``. The standard test factories such as ``self.get_url``
3200
will permit the urls they provide automatically, so only exceptional
3201
tests should need to do this. (Robert Collins)
3203
* The break-in test no longer cares about clean shutdown of the child,
3204
instead it is happy if the debugger starts up. (Robert Collins)
3206
* The full test suite is expected to pass when the C extensions are not
3207
present. (Vincent Ladeuil, #430749)
3213
:Codename: Stability First
3216
The first of our new ongoing bugfix-only stable releases has arrived. It
3217
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
3218
include any of the feature development in the 2.1.0 series.
3224
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
3225
filename will issue a warning and skip over those files.
3226
(Robert Collins, #3918)
3228
* bzr will attempt to authenticate with SSH servers that support
3229
``keyboard-interactive`` auth but not ``password`` auth when using
3230
Paramiko. (Andrew Bennetts, #433846)
3232
* Fixed fetches from a stacked branch on a smart server that were failing
3233
with some combinations of remote and local formats. This was causing
3234
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
3236
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
3237
on branches via a smart server. (Andrew Bennetts, #389413)
3239
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
3240
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
3241
assumed that ``abspath()`` returned a path that did not have a trailing
3242
``/``, but that is not true when working at the root of the filesystem.
3243
(John Arbash Meinel, Jason Spashett, #322807)
3245
* Hide deprecation warnings for 'final' releases for python2.6.
3246
(John Arbash Meinel, #440062)
3248
* Improve the time for ``bzr log DIR`` for 2a format repositories.
3249
We had been using the same code path as for <2a formats, which required
3250
iterating over all objects in all revisions.
3251
(John Arbash Meinel, #374730)
3253
* Make sure that we unlock the tree if we fail to create a TreeTransform
3254
object when doing a merge, and there is limbo, or pending-deletions
3255
directory. (Gary van der Merwe, #427773)
3257
* Occasional IndexError on renamed files have been fixed. Operations that
3258
set a full inventory in the working tree will now go via the
3259
apply_inventory_delta code path which is simpler and easier to
3260
understand than dirstates set_state_from_inventory method. This may
3261
have a small performance impact on operations built on _write_inventory,
3262
but such operations are already doing full tree scans, so no radical
3263
performance change should be observed. (Robert Collins, #403322)
3265
* Retrieving file text or mtime from a _PreviewTree has good performance when
3266
there are many changes. (Aaron Bentley)
3268
* The CHK index pages now use an unlimited cache size. With a limited
3269
cache and a large project, the random access of chk pages could cause us
3270
to download the entire cix file many times.
3271
(John Arbash Meinel, #402623)
3273
* When a file kind becomes unversionable after being added, a sensible
3274
error will be shown instead of a traceback. (Robert Collins, #438569)
3279
* Improved README. (Ian Clatworthy)
3281
* Improved upgrade documentation for Launchpad branches.
3289
:Codename: Instant Karma
3291
This release of Bazaar makes the 2a (previously 'brisbane-core') format
3292
the default when new branches or repositories are created. This format is
3293
substantially smaller and faster for many operations. Most of the work in
3294
this release focuses on bug fixes and stabilization, covering both 2a and
3295
previous formats. (See the Upgrade Guide for information on migrating
3298
This release also improves the documentation content and presentation,
3299
including adding Windows HtmlHelp manuals.
3301
The Bazaar team decided that 2.0 will be a long-term supported release,
3302
with bugfix-only 2.0.x releases based on it, continuing for at least six
3303
months or until the following stable release.
3305
Changes from 2.0.0rc2 to final
3306
******************************
3308
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
3309
that "want to happen on the 2.0.x stable series" versus things that want
3310
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
3311
micro = 0.) (John Arbash Meinel)
3317
:2.0.0rc2: 2009-09-10
3322
* Added post_commit hook for mutable trees. This allows the keywords
3323
plugin to expand keywords on files changed by the commit.
3324
(Ian Clatworthy, #408841)
3329
* Bazaar's native protocol code now correctly handles EINTR, which most
3330
noticeably occurs if you break in to the debugger while connected to a
3331
bzr+ssh server. You can now can continue from the debugger (by typing
3332
'c') and the process continues. However, note that pressing C-\ in the
3333
shell may still kill the SSH process, which is bug 162509, so you must
3334
sent a signal to the bzr process specifically, for example by typing
3335
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
3337
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
3338
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
3339
(Robert Collins, #416732)
3341
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
3342
format" (John Arbash Meinel, #424392)
3344
* ``bzr log stacked-branch`` shows the full log including
3345
revisions that are in the fallback repository. (Regressed in 2.0rc1).
3346
(John Arbash Meinel, #419241)
3348
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
3349
traceback. (Martin Pool, #109115)
3351
* Conversion to 2a will create a single pack for all the new revisions (as
3352
long as it ran without interruption). This improves both ``bzr upgrade``
3353
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
3354
The autopack logic that occurs every 100 revisions during local
3355
conversions was not returning that pack's identifier, which resulted in
3356
the partial packs created during the conversion not being consolidated
3357
at the end of the conversion process. (Robert Collins, #423818)
3359
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
3360
Groups that are seen as 'underutilized' will be repacked on-the-fly.
3361
This means that when the source is fully packed, there is minimal
3362
overhead during the fetch, but if the source is poorly packed the result
3363
is a fairly well packed repository (not as good as 'bzr pack' but
3364
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
3366
* Fix a potential segmentation fault when doing 'log' of a branch that had
3367
ghosts in its mainline. (Evaluating None as a tuple is bad.)
3368
(John Arbash Meinel, #419241)
3370
* ``groupcompress`` sort order is now more stable, rather than relying on
3371
``topo_sort`` ordering. The implementation is now
3372
``KnownGraph.gc_sort``. (John Arbash Meinel)
3374
* Local data conversion will generate correct deltas. This is a critical
3375
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
3376
converting repositories. (Robert Collins, #422849)
3378
* Network streams now decode adjacent records of the same type into a
3379
single stream, reducing layering churn. (Robert Collins)
3381
* Prevent some kinds of incomplete data from being committed to a 2a
3382
repository, such as revisions without inventories, a missing chk_bytes
3383
record for an inventory, or a missing text referenced by an inventory.
3384
(Andrew Bennetts, #423506, #406687)
3389
* Fix assertion error about "_remember_remote_is_before" when pushing to
3390
older smart servers.
3391
(Andrew Bennetts, #418931)
3393
* Help on hooks no longer says 'Not deprecated' for hooks that are
3394
currently supported. (Ian Clatworthy, #422415)
3396
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
3397
user documentation. The HTML documentation is better broken up into
3398
topics. (Ian Clatworthy)
3400
* The developer and foreign language documents are now separated
3401
out so that searching in the HTML and CHM files produces more
3402
useful results. (Ian Clatworthy)
3404
* The main table of contents now provides links to the new Migration Docs
3405
and Plugins Guide. (Ian Clatworthy)
3411
:Codename: no worries
3412
:2.0.0rc1: 2009-08-26
3414
Compatibility Breaks
3415
********************
3417
* The default format for bzr is now ``2a``. This format brings many
3418
significant performance and size improvements. bzr can pull from
3419
any existing repository into a ``2a`` one, but can only transfer
3420
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
3421
has more information about this change. (Robert Collins)
3423
* On Windows auto-detection of Putty's plink.exe is disabled.
3424
Default SSH client for Windows is paramiko. User still can force
3425
usage of plink if explicitly set environment variable BZR_SSH=plink.
3426
(#414743, Alexander Belchenko)
3431
* ``bzr branch --switch`` can now switch the checkout in the current directory
3432
to the newly created branch. (Lukáš Lalinský)
3437
* Further tweaks to handling of ``bzr add`` messages about ignored files.
3438
(Jason Spashett, #76616)
3440
* Fetches were being requested in 'groupcompress' order, but weren't
3441
recombining the groups. Thus they would 'fragment' to get the correct
3442
order, but not 'recombine' to actually benefit from it. Until we get
3443
recombining to work, switching to 'unordered' fetches avoids the
3444
fragmentation. (John Arbash Meinel, #402645)
3446
* Fix a pycurl related test failure on karmic by recognizing an error
3447
raised by newer versions of pycurl.
3448
(Vincent Ladeuil, #306264)
3450
* Fix a test failure on karmic by making a locale test more robust.
3451
(Vincent Ladeuil, #413514)
3453
* Fix IndexError printing CannotBindAddress errors.
3454
(Martin Pool, #286871)
3456
* Fix "Revision ... not present" errors when upgrading stacked branches,
3457
or when doing fetches from a stacked source to a stacked target.
3458
(Andrew Bennetts, #399140)
3460
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
3461
batches together small fetches from 2a repositories, rather than
3462
fetching only a few hundred bytes at a time.
3463
(Andrew Bennetts, #402657)
3468
* A better description of the platform is shown in crash tracebacks, ``bzr
3469
--version`` and ``bzr selftest``.
3470
(Martin Pool, #409137)
3472
* bzr can now (again) capture crash data through the apport library,
3473
so that a single human-readable file can be attached to bug reports.
3474
This can be disabled by using ``-Dno_apport`` on the command line, or by
3475
putting ``no_apport`` into the ``debug_flags`` section of
3477
(Martin Pool, Robert Collins, #389328)
3479
* ``bzr push`` locally on windows will no longer give a locking error with
3480
dirstate based formats. (Robert Collins)
3482
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
3483
(Robert Collins, #305006)
3485
* Commit of specific files no longer prevents using the iter_changes
3486
codepath. On 2a repositories, commit of specific files should now be as
3487
fast, or slightly faster, than a full commit. (Robert Collins)
3489
* The internal core code that handles specific file operations like
3490
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
3491
include the parent directories if they have altered, and when a
3492
directory stops being a directory its children are always included. This
3493
fixes a number of causes for ``InconsistentDelta`` errors, and permits
3494
faster commit of specific paths. (Robert Collins, #347649)
3499
* New developer documentation for content filtering.
3505
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
3506
classes changed to manage lock lifetime of the trees they open in a way
3507
consistent with reader-exclusive locks. (Robert Collins, #305006)
3515
:Codename: nein nein nein!
3518
This release fixes two small but worthwhile bugs relevant to users on
3519
Microsoft Windows: some commands that failed on with locking errors will
3520
now work, and a bug that caused poor performance after committing a file
3521
with line-ending conversion has now been fixed. It also fixes a bug in
3522
pushing to older servers.
3527
* Fixed a problem where using content filtering and especially end-of-line
3528
conversion will commit too many copies a file.
3529
(Martin Pool, #415508)
3531
* Fix assertion error about ``_remember_remote_is_before`` in
3532
``set_tags_bytes`` when pushing to older smart servers.
3533
(Andrew Bennetts, Alexander Belchenko, #418931)
3538
* ``bzr push`` locally on Windows will no longer give a locking error with
3539
dirstate based formats. (Robert Collins)
3541
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
3542
(Robert Collins, #305006)
3547
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
3548
classes changed to manage lock lifetime of the trees they open in a way
3549
consistent with reader-exclusive locks. (Robert Collins, #305006)
3551
* ``Tree.path_content_summary`` may return a size of None, when called on
3552
a tree with content filtering where the size of the canonical form
3553
cannot be cheaply determined. (Martin Pool)
3555
* When manually creating transport servers in test cases, a new helper
3556
``TestCase.start_server`` that registers a cleanup and starts the server
3557
should be used. (Robert Collins)
3562
Compatibility Breaks
3563
********************
3565
* Committing directly to a stacked branch from a lightweight checkout will
3566
no longer work. In previous versions this would appear to work but would
3567
generate repositories with insufficient data to create deltas, leading
3568
to later errors when branching or reading from the repository.
3569
(Robert Collins, bug #375013)
3577
* Fetching from 2a branches from a version-2 bzr protocol would fail to
3578
copy the internal inventory pages from the CHK store. This cannot happen
3579
in normal use as all 2a compatible clients and servers support the
3580
version-3 protocol, but it does cause test suite failures when testing
3581
downlevel protocol behaviour. (Robert Collins)
3583
* Fix a test failure on karmic by making a locale test more robust.
3584
(Vincent Ladeuil, #413514)
3586
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
3587
fully packed 2a repository. (Andrew Bennetts, #382463)
3589
* Further tweaks to handling of ``bzr add`` messages about ignored files.
3590
(Jason Spashett, #76616)
3592
* Properly handle fetching into a stacked branch while converting the
3593
data, especially when there are also ghosts. The code was filling in
3594
parent inventories incorrectly, and also not handling when one of the
3595
parents was a ghost. (John Arbash Meinel, #402778, #412198)
3597
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
3598
inventory pages when appropriate (by falling back to the vfs stream
3599
source). (Andrew Bennetts, #406686)
3601
* StreamSource generates rich roots from non-rich root sources correctly
3602
now. (Andrew Bennetts, #368921)
3604
* When deciding whether a repository was compatible for upgrading or
3605
fetching, we previously incorrectly checked the default repository
3606
format for the bzrdir format, rather than the format that was actually
3607
present on disk. (Martin Pool, #408824)
3612
* A better description of the platform is shown in crash tracebacks, ``bzr
3613
--version`` and ``bzr selftest``.
3614
(Martin Pool, #409137)
3616
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
3617
smart server are more efficient now. They send inventory deltas rather
3618
than full inventories. The smart server has two new requests,
3619
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
3620
support this. (Andrew Bennetts, #374738, #385826)
3622
* Extracting the full ancestry and computing the ``merge_sort`` is now
3623
significantly faster. This effects things like ``bzr log -n0``. (For
3624
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
3625
(John Arbash Meinel)
3636
* ``-Dstrict_locks`` can now be used to check that read and write locks
3637
are treated properly w.r.t. exclusivity. (We don't try to take an OS
3638
read lock on a file that we already have an OS write lock on.) This is
3639
now set by default for all tests, if you have a test which cannot be
3640
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
3641
compatibility knob. (John Arbash Meinel)
3643
* InterDifferingSerializer is now only used locally. Other fetches that
3644
would have used InterDifferingSerializer now use the more network
3645
friendly StreamSource, which now automatically does the same
3646
transformations as InterDifferingSerializer. (Andrew Bennetts)
3648
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
3649
are implemented in pyrex and significantly faster. This is exposed along
3650
with ``CombinedGraphIndex.find_ancestry()`` as
3651
``VersionedFiles.get_known_graph_ancestry(keys)``.
3652
(John Arbash Meinel)
3654
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
3655
protocols. (Robert Collins)
3657
* The index code now has some specialized routines to extract the full
3658
ancestry of a key in a more efficient manner.
3659
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
3660
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
3666
* Install the test ssl certificate and key so that installed bzr
3667
can run the https tests. (Denys Duchier, #392401)
3673
:Codename: little traveller
3675
:1.18rc1: 2009-08-10
3677
This release of Bazaar marches on towards the 2.0 release in which the 2a
3678
'brisbane-core' format becomes generally recommended. Most of the work in
3679
this release now focusses on bug fixes and stabilization, covering both 2a
3680
and previous formats. There is a new text-mode interactive merge feature,
3681
a new guide to migration to 2a format in the user documentation, and
3682
pushing branches to a smart server is now much faster.
3684
The Bazaar team decided that 2.0 will be a long-term supported release,
3685
with bugfix-only releases based on it continuing for at least six months
3686
or until the following stable release.
3688
There are no changes from 1.18rc1 to 1.18.
3693
* ``bzr merge --interactive`` applies a user-selected portion of the
3694
merge. The UI is similar to ``shelve``. (Aaron Bentley)
3696
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
3697
``--unstacked`` to change stacking of a branch.
3698
(Martin Pool, #391411)
3703
* Annotating on a stacked branch will now succeed in simple scenarios.
3704
There are still some complex scenarios where it will fail (bug #399884)
3705
(John Arbash Meinel, #393366)
3707
* A progress bar is no longer left dangling when ``bzr selftest``
3708
completes, and the progress bar updates with zero latency so the
3709
displayed test name is always the one that's actually running.
3710
(Martin Pool, #123688)
3712
* Authenticating against an ssh server now uses ``auth_none`` to determine
3713
if password authentication is even supported. This fixes a bug where
3714
users would be prompted for a launchpad password, even though launchpad
3715
only supports publickey authentication. (John Arbash Meinel, #375867)
3717
* BranchBuilder now accepts timezone to avoid test failures in countries far
3718
from GMT. (Vincent Ladeuil, #397716)
3720
* ``bzr commit`` no longer saves the unversioning of missing files until
3721
the commit has completed on the branch. This means that aborting a
3722
commit that found a missing file will leave the tree unedited.
3723
(Robert Collins, #282402)
3725
* ``bzr mv`` no longer takes out branch locks, which allows it to work
3726
when the branch is readonly. (Robert Collins, #216541)
3728
* ``bzr revert .`` no longer generates an InconsistentDelta error when
3729
there are missing subtrees. (Robert Collins, #367632)
3731
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
3732
do to internal changes necessary to support this, older clients will
3733
fail when trying to insert them. For newer clients, the bundle can be
3734
used to apply the changes to any rich-root compatible format.
3735
(John Arbash Meinel, #393349)
3737
* Cope with FTP servers that don't support restart/append by falling back
3738
to reading and then rewriting the whole file, such as TahoeLAFS. (This
3739
fallback may be slow for some access patterns.) (Nils Durner, #294709)
3741
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
3742
external diff client. This at least allows supporting filenames that are
3743
not ascii, but are present in the current locale. Ideally we would be
3744
able to pass the Unicode path, but that would be client dependent.
3745
(John Arbash Meinel, #382709)
3747
* Fix a compile bug on Solaris having to do with const and
3748
pointer-to-pointers. (John Arbash Meinel, #408441)
3750
* Fixed a NameError that occurs when merging or pulling from a URL that
3751
causes a redirection loop when bzr tries to read a URL as a bundle.
3752
(Andrew Bennetts, #400847)
3754
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
3755
running send and similar commands on 2a formats.
3756
(Martin Pool, #408201)
3758
* Fix crash in some invocations of ``bzr status`` in format 2a.
3759
(Martin Pool, #403523)
3761
* Fixed export to existing directory: if directory is empty then export
3762
will succeed, otherwise it fails with error.
3763
(Alexander Belchenko, #406174)
3765
* Fixed spurious "Source branch does not support stacking" warning when
3766
pushing. (Andrew Bennetts, #388908)
3768
* Fixed spurious transport activity indicator appearing while tests are
3769
running. (Martin Pool, #343532)
3771
* Merge now correctly handles empty right-hand revision specs.
3772
(Aaron Bentley, #333961)
3774
* Renames to lexographically lower basenames in trees that have never been
3775
committed to will no longer corrupt the dirstate. This was caused by an
3776
bug in the dirstate update_minimal method. (Robert Collins, #395556)
3778
* Requests for unknown methods no longer cause the smart server to log
3779
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
3780
``do_end``. (Andrew Bennetts, #338561)
3782
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
3784
* Streaming from bzr servers where there is a chain of stacked branches
3785
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
3787
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
3788
always forces progress bars either on or off respectively. Otherwise,
3789
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
3790
bzr always uses the 'text' user interface when run as a command, so
3791
``BZR_USE_TEXT_UI`` is no longer needed.
3792
(Martin Pool, #339385, #387717)
3794
* The optional ``_knit_load_data_pyx`` C extension was never being
3795
imported. This caused significant slowdowns when reading data from
3796
repositories. (Andrew Bennetts, #405653)
3798
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
3799
supported at the moment on workingtree formats that can do content
3800
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
3801
bzr now says so, rather than just ignoring the option. (Martin Pool)
3803
* There was a bug in ``osutils.relpath`` that was only triggered on
3804
Windows. Essentially if you were at the root of a drive, and did
3805
something to a branch/repo on another drive, we would go into an
3806
infinite loop while trying to find a 'relative path'.
3807
(John Arbash Meinel, #394227)
3809
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
3810
were present in a parent tree but renamed in the working tree.
3811
(Robert Collins, #187207)
3816
* Can now rename/move files even if they have been removed from the inventory.
3819
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
3820
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
3821
than VFS methods. For example, pushes of small branches with tags take
3822
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
3824
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
3825
the same way that sending Ctrl-\\ does on other platforms.
3826
(John Arbash Meinel)
3831
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
3836
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
3837
need to subclass or create a specific class, or better yet the existing
3838
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
3839
user interaction at all, rather than trying to read from stdin but not
3840
writing any output, which would be strange if reading prompts or
3841
passwords. (Martin Pool)
3843
* New TransformPreview.commit() allows committing without a working tree.
3846
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
3849
* ProgressTasks now prefer to talk direct to their ProgressView not to the
3853
* ``WorkingTree._check`` now requires a references dict with keys matching
3854
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
3859
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
3860
reading the entries along the path, reducing work to lookup ids from
3861
paths. (Robert Collins)
3863
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
3864
as new a key which was already mapped. (Robert Collins)
3866
* Inventory delta application catches more cases of corruption and can
3867
prevent corrupt deltas from affecting consistency of data structures on
3868
disk. (Robert Collins)
3870
* --subunit support now adds timestamps if the subunit version supports
3871
it. (Robert Collins)
3873
* The Windows all-in-one installer now bundles the PyQt image format
3874
plugins, which allows previewing more images as part of 'qdiff'.
3875
(Alexander Belchenko)
3881
* Merge directive cherrypick tests must use the same root id.
3882
(Martin Pool, #409684)
3884
* Spurious failure in ``check`` tests on rich-root formats fixed.
3885
(Martin Pool, #408199)
3887
* The ``bzrlib.tests.TextTestRunner`` will no longer call
3888
``countTestsCases`` on the test being run. Progress information is
3889
instead handled by having the test passed in call ``result.progress``
3890
before running its contents. This improves the behaviour when using
3891
``TextTestRunner`` with test suites that don't support
3892
``countTestsCases``. (Robert Collins)
3895
bzr 1.17.1 (unreleased)
3896
#######################
3901
* The optional ``_knit_load_data_pyx`` C extension was never being
3902
imported. This caused significant slowdowns when reading data from
3903
knit format repositories. (Andrew Bennetts, #405653)
3908
:Codename: so-late-its-brunch
3909
:1.17rc1: 2009-07-13
3913
Bazaar continues to blaze a straight and shining path to the 2.0 release and
3914
the elevation of the ``2a`` beta format to the full glory of "supported and
3917
Highlights in this release include greatly reduced memory consumption during
3918
commits, faster ``ls``, faster ``annotate``, faster network operations if
3919
you're specifying a revision number and the final destruction of those
3920
annoying progress bar artifacts.
3923
Changes from 1.17rc1 to 1.17final
3924
*********************************
3926
* Change an extension to call the python ``frozenset()`` rather than the C
3927
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
3928
C api. (John Arbash Meinel, #399366)
3930
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
3931
``tools/generate_docs.py`` to allow everything to be built on Windows.
3932
(John Arbash Meinel, #399356)
3934
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
3935
directory before serving it. (Andrew Bennetts, #400535)
3938
Compatibility Breaks
3939
********************
3941
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
3942
instead of "product" which is the correct Launchpad terminology. The
3943
--product option is deprecated and users should switch to using --project.
3944
(Neil Martinsen-Burrell, #238764)
3950
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
3951
are present in the working tree (if one is present) and no revision is
3952
specified. The configuration option ``push_strict`` can be used to set the
3953
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
3955
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
3956
show revision info for the working tree instead of the branch.
3957
(Matthew Fuller, John Arbash Meinel)
3959
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
3960
are present in the working tree and no revision is specified. The
3961
configuration option ``send_strict`` can be used to set the default for this
3963
(Vincent Ladeuil, #206577)
3965
* ``bzr switch --create-branch/-b`` can now be used to create and switch
3966
to a new branch. Supplying a name without a ``/`` will create the branch
3967
relative to the existing branch. (similar to how ``bzr switch name``
3968
works when the branch already exists.) (John Arbash Meinel)
3974
* Accept uppercase "Y/N" to prompts such as from break lock.
3975
(#335182, Tim Powell, Martin Pool)
3977
* Add documentation about diverged branches and how to fix them in the
3978
centralized workflow with local commits. Mention ``bzr help
3979
diverged-branches`` when a push fails because the branches have
3980
diverged. (Neil Martinsen-Burrell, #269477)
3982
* Annotate would sometimes 'latch on' to trivial lines, causing important
3983
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
3985
* Automatic format upgrades triggered by default stacking policies on a
3986
1.16rc1 (or later) smart server work again.
3987
(Andrew Bennetts, #388675)
3989
* Avoid progress bar artifacts being left behind on the screen.
3990
(Martin Pool, #321935)
3992
* Better message in ``bzr split`` error suggesting a rich root format.
3993
(Neil Martinsen-Burrell, #220067)
3995
* ``Branch.set_append_revisions_only`` now works with branches on a smart
3996
server. (Andrew Bennetts, #365865)
3998
* By default, ``bzr branch`` will fail if the target directory exists, but
3999
does not already have a control directory. The flag ``--use-existing-dir``
4000
will allow operation to proceed. (Alexander Belchenko, #307554)
4002
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
4005
* Fetch between repositories does not error if they have inconsistent data
4006
that should be irrelevant to the fetch operation. (Aaron Bentley)
4008
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
4009
of a remote repository.
4010
(Jelmer Vernooij, #332194)
4012
* Fix bug in decoding v3 smart server messages when receiving multiple
4013
lots of excess bytes after an end-of-message.
4016
* Force deletion of readonly files during merge, update and other tree
4018
(Craig Hewetson, Martin Pool, #218206)
4020
* Force socket shutdown in threaded http test servers to avoid client hangs
4021
(pycurl). (Vincent Ladeuil, #383920).
4023
* ``LRUCache`` will maintain the linked list pointers even if a nodes
4024
cleanup function raises an exception. (John Arbash Meinel, #396838)
4026
* Progress bars are now suppressed again when the environment variable
4027
``BZR_PROGRESS_BAR`` is set to ``none``.
4028
(Martin Pool, #339385)
4030
* Reduced memory consumption during ``bzr commit`` of large files. For
4031
pre 2a formats, should be down to ~3x the size of a file.
4032
For ``--2a`` format repositories, it is down to the size of the file
4033
content plus the size of the compressed text. Related to bug #109114.
4034
(John Arbash Meinel)
4036
* Set hidden attribute on .bzr directory below unicode path should never
4037
fail with error. The operation should succeed even if bzr unable to set
4038
the attribute. (Alexander Belchenko, related to bug #335362).
4040
* Stacking will no longer accept requests to stack on the same
4041
branch/repository. Existing branches that incorrectly reference the same
4042
repository in a stacking configuration will now raise
4043
UnstackableLocationError when the branch is opened. This can be fixed by
4044
removing the stacking location inside ``.bzr/branch``.
4045
(Robert Collins, #376243)
4047
* The ``log+`` decorator, useful in debugging or profiling, could cause
4048
"AttributeError: 'list' object has no attribute 'next'". This is now
4049
fixed. The log decorator no longer shows the elapsed time or transfer
4050
rate because they're available in the log prefixes and the transport
4051
activity display respectively.
4052
(Martin Pool, #340347)
4054
* Unshelve works correctly when multiple zero-length files are present on
4055
the shelf. (Aaron Bentley, #363444)
4057
* Progress bars no longer show the network transport scheme or direction.
4060
* launchpad-login now respects the 'verbose' option.
4061
(Jonathan Lange, #217031)
4067
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
4068
possible to write a deprecation wrapper, but the variable will be
4069
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
4070
instead. (Alexander Belchenko)
4072
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
4073
three new hook points: ``get_command``, ``get_missing_command`` and
4074
``list_commands``, which allow just-in-time command name provision
4075
rather than requiring all command names be known a-priori.
4078
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
4079
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
4081
* ``graph.KnownGraph`` has been added. This is a class that can give
4082
answers to ``heads()`` very quickly. However, it has the assumption that
4083
the whole graph has already been loaded. This is true during
4084
``annotate`` so it is used there with good success (as much as 2x faster
4085
for files with long ancestry and 'cherrypicked' changes.)
4086
(John Arbash Meinel, Vincent Ladeuil)
4088
* OS file locks are now taken out using ``CreateFile`` rather than
4089
``LockFileEx`` on Windows. The locking remains exclusive with
4090
``LockFileEx`` but now it also works on older versions of Windows (such
4091
as Win98). (Martin <gzlist>)
4093
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
4094
than the ``Packer`` code. The user visible change is that we now
4095
properly fetch the minimum number of texts for non-smart fetching.
4096
(John Arbash Meinel)
4099
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
4100
the repository as a single string, rather than a list of lines. This can
4101
improve memory overhead and performance of committing large files.
4102
(Currently a private api, used only by commit). (John Arbash Meinel)
4108
* ``bzr annotate`` can now be significantly faster. The time for
4109
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
4110
histories and lots of 'duplicate insertions' will be improved more than
4111
others. (John Arbash Meinel, Vincent Ladeuil)
4113
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
4114
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
4115
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
4117
* Improve "Path(s) are not versioned" error reporting for some commands.
4120
* Initial commit performance in ``--2a`` repositories has been improved by
4121
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
4123
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
4124
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
4125
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
4127
* ``revision-info`` now properly aligns the revnos/revids in the output
4128
and doesn't traceback when given revisions not in the current branch.
4129
Performance is also significantly improved when requesting multiple revs
4130
at once. (Matthew Fuller, John Arbash Meinel)
4132
* Tildes are no longer escaped by Transports. (Andy Kilner)
4138
* Avoid bad text wrapping in generated documentation. Slightly better
4139
formatting in the user reference.
4140
(Martin Pool, #249908)
4142
* Minor clarifications to the help for End-Of-Line conversions.
4148
* Removed overspecific error class ``InvalidProgressBarType``.
4151
* The method ``ProgressView._show_transport_activity`` is now
4152
``show_transport_activity`` because it's part of the contract between
4153
this class and the UI. (Martin Pool)
4159
:Released: 2009-06-26
4161
End user testing of the 2a format revealed two serious bugs. The first,
4162
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
4163
This meant that commits or pushes to 2a-format repositories failed
4166
The second bug, #390563, caused the smart server to raise AbsentContentFactory
4167
when streaming 2a stacked 2a-format branches. This particularly affected
4168
branches stored on Launchpad in the 2a format.
4170
Both of these bugs cause command failures only, neither of them cause data
4171
corruption or data loss. And, of course, both of these bugs are now fixed.
4176
* We now properly request a more minimal set of file texts when fetching
4177
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
4179
* Repositories using CHK pages (which includes the new 2a format) will no
4180
longer error during commit or push operations when an autopack operation
4181
is triggered. (Robert Collins, #365615)
4183
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
4184
of referenced nodes rather than the *union* to determine what
4185
uninteresting pages we still need to look at. Prior to this,
4186
incrementally pushing to stacked branch would push the minimal data, but
4187
fetching everything would request extra texts. There are some unhandled
4188
cases wrt trees of different depths, but this fixes the common cases.
4189
(Robert Collins, John Arbash Meinel, #390563)
4191
* ``GroupCompress`` repositories now take advantage of the pack hints
4192
parameter to permit cross-format fetching to incrementally pack the
4193
converted data. (Robert Collins)
4195
* ``Repository.commit_write_group`` now returns opaque data about what
4196
was committed, for passing to the ``Repository.pack``. Repositories
4197
without atomic commits will still return None. (Robert Collins)
4199
* ``Repository.pack`` now takes an optional ``hint`` parameter
4200
which will support doing partial packs for repositories that can do
4201
that. (Robert Collins)
4203
* RepositoryFormat has a new attribute 'pack_compresses' which is True
4204
when doing a pack operation changes the compression of content in the
4205
repository. (Robert Collins)
4207
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
4208
``Repository.pack`` with the hint returned by
4209
``Repository.commit_write_group`` if the formats were different and the
4210
repository can increase compression by doing a pack operation.
4211
(Robert Collins, #376748)
4216
:Codename: yesterday-in-california
4217
:1.16rc1: 2009-06-11
4220
This version of Bazaar contains the beta release of the new ``2a`` repository
4221
format, suitable for testing by fearless, advanced users. This format or an
4222
updated version of it will become the default format in Bazaar 2.0. Please
4223
read the NEWS entry before even thinking about upgrading to the new format.
4225
Also included are speedups for many operations on huge projects, a bug fix for
4226
pushing stacked new stacked branches to smart servers and the usual bevy of
4227
bug fixes and improvements.
4230
Changes from 1.16rc1 to 1.16final
4231
*********************************
4233
* Fix the nested tree flag check so that upgrade from development formats to
4234
2a can work correctly.
4235
(Jelmer Vernooij, #388727)
4237
* Automatic format upgrades triggered by default stacking policies on a
4238
1.16rc1 (or later) smart server work again.
4239
(Andrew Bennetts, #388675)
4242
Compatibility Breaks
4243
********************
4245
* Display prompt on stderr (instead of stdout) when querying users so
4246
that the output of commands can be safely redirected.
4247
(Vincent Ladeuil, #376582)
4253
* A new repository format ``2a`` has been added. This is a beta release
4254
of the brisbane-core (aka group-compress) project. This format now
4255
suitable for wider testing by advanced users willing to deal with some
4256
bugs. We would appreciate test reports, either positive or negative.
4257
Format 2a is substantially smaller and faster for many operations on
4258
many trees. This format or an updated version will become the default
4261
This is a rich-root format, so this repository format can be used with
4262
bzr-svn. Bazaar branches in previous non-rich-root formats can be
4263
converted (including by merge, push and pull) to format 2a, but not vice
4264
versa. We recommend upgrading previous development formats to 2a.
4266
Upgrading to this format can take considerable time because it expands
4267
and more concisely repacks the full history.
4269
If you use stacked branches, you must upgrade the stacked branches
4270
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
4272
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
4273
but using a Revision serializer using bencode rather than XML.
4274
(Jelmer Vernooij, John Arbash Meinel)
4276
* mail_client=claws now supports --body (and message body hooks). Also uses
4277
configured from address. (Barry Warsaw)
4283
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
4284
bugs with stacking and non default formats.)
4285
(John Arbash Meinel, #373455)
4287
* ``--development6-rich-root`` delays generating a delta index for the
4288
first object inserted into a group. This has a beneficial impact on
4289
``bzr commit`` since each committed texts goes to its own group. For
4290
committing a 90MB file, it drops peak memory by about 200MB, and speeds
4291
up commit from 7s => 4s. (John Arbash Meinel)
4293
* Numerous operations are now faster for huge projects, i.e. those
4294
with a large number of files and/or a large number of revisions,
4295
particularly when the latest development format is used. These
4296
operations (and improvements on OpenOffice.org) include:
4298
* branch in a shared repository (2X faster)
4299
* branch --no-tree (100X faster)
4305
* Pyrex version of ``bencode`` support. This provides optimized support
4306
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
4307
``bzrlib.utils.bencode`` is now deprecated.
4308
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
4314
* Bazaar can now pass attachment files to the mutt email client.
4315
(Edwin Grubbs, #384158)
4317
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
4318
see which files can also be added. (Jason Spashett, #76616)
4320
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
4321
Also, the ``Branch.revision_history()`` API now works in the same
4322
situation. (Andrew Bennetts, #380314)
4324
* ``bzr serve`` on Windows no longer displays a traceback simply because a
4325
TCP client disconnected. (Andrew Bennetts)
4327
* Clarify the rules for locking and fallback repositories. Fix bugs in how
4328
``RemoteRepository`` was handling fallbacks along with the
4329
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
4331
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
4332
branch. Not often triggered, because it required ghosts to be part of
4333
the fetched revisions, not in the stacked-on ancestry.
4334
(John Arbash Meinel)
4336
* Fix status and commit to work with content filtered trees, addressing
4337
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
4339
* Fix problem of "directory not empty" when contending for a lock over
4340
sftp. (Martin Pool, #340352)
4342
* Fix rule handling so that eol is optional, not mandatory.
4343
(Ian Clatworthy, #379370)
4345
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
4346
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
4347
1.16, but required changes to the network protocol, so the
4348
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
4349
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
4350
still work with a 1.16 server as they will fallback to slower (and
4352
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
4354
* Reconcile can now deal with text revisions that originated in revisions
4355
that are ghosts. (Jelmer Vernooij, #336749)
4357
* Support cloning of branches with ghosts in the left hand side history.
4358
(Jelmer Vernooij, #248540)
4360
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
4361
helpful message to the trace file, unless the temp directory really was
4362
removed (which would be very strange). Since the diff operation has
4363
succeeded from the user's perspective, no output is written to stderr
4364
or stdout. (Maritza Mendez, #363837)
4366
* Translate errors received from a smart server in response to a
4367
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
4368
This was causing tracebacks even for mundane errors like
4369
``PermissionDenied``. (Andrew Bennetts, #381329)
4374
* Added directory structure and started translation of docs in Russian.
4375
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
4376
Volodymyr Kotulskyi)
4381
* Added osutils.parent_directories(). (Ian Clatworthy)
4383
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
4384
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
4385
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
4387
* ``graph.StackedParentsProvider`` is now a public API, replacing
4388
``graph._StackedParentsProvider``. The api is now considered stable and ready
4389
for external users. (Gary van der Merwe)
4391
* ``bzrlib.user_encoding`` is deprecated in favor of
4392
``get_user_encoding``. (Alexander Belchenko)
4394
* TreeTransformBase no longer assumes that limbo is provided via disk.
4395
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
4400
* Remove ``weave.py`` script for accessing internals of old weave-format
4401
repositories. (Martin Pool)
4406
* ``make check`` no longer repeats the test run in ``LANG=C``.
4407
(Martin Pool, #386180)
4409
* The number of cores is now correctly detected on OSX. (John Szakmeister)
4411
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
4413
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
4418
:1.15rc1: 2009-05-16
4422
The smart server will no longer raise 'NoSuchRevision' when streaming content
4423
with a size mismatch in a reconstructed graph search. New command ``bzr
4424
dpush``. Plugins can now define their own annotation tie-breaker when two
4425
revisions introduce the exact same line.
4427
Changes from 1.15.1 to 1.15.2
4428
*****************************
4430
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
4431
(Alexander Belchenko)
4433
Changes from 1.15final to 1.15.1
4434
*********************************
4436
* Translate errors received from a smart server in response to a
4437
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
4438
This was causing tracebacks even for mundane errors like
4439
``PermissionDenied``. (Andrew Bennetts, #381329)
4441
Changes from 1.15rc1 to 1.15final
4442
*********************************
4446
Compatibility Breaks
4447
********************
4449
* ``bzr ls`` is no longer recursive by default. To recurse, use the
4450
new ``-R`` option. The old ``--non-recursive`` option has been removed.
4451
If you alias ``ls`` to ``ls -R``, you can disable recursion using
4452
``--no-recursive`` instead. (Ian Clatworthy)
4457
* New command ``bzr dpush`` that can push changes to foreign
4458
branches (svn, git) without setting custom bzr-specific metadata.
4461
* The new development format ``--development6-rich-root`` now supports
4462
stacking. We chose not to use a new format marker, since old clients
4463
will just fail to open stacked branches, the same as if we used a new
4464
format flag. (John Arbash Meinel, #373455)
4466
* Plugins can now define their own annotation tie-breaker when two revisions
4467
introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
4468
Be aware though that this is temporary, private (as indicated by the leading
4469
'_') and a first step to address the problem. (Vincent Ladeuil, #348459)
4471
* New command ``bzr dpush`` that can push changes to foreign
4472
branches (svn, git) without setting custom bzr-specific metadata.
4475
* ``bzr send`` will now check the ``child_submit_format`` setting in
4476
the submit branch to determine what format to use, if none was
4477
specified on the command-line. (Jelmer Vernooij)
4482
* -Dhpss output now includes the number of VFS calls made to the remote
4483
server. (Jonathan Lange)
4485
* ``--coverage`` works for code running in threads too.
4486
(Andrew Bennets, Vincent Ladeuil)
4488
* ``bzr pull`` now has a ``--local`` option to only make changes to the
4489
local branch, and not the bound master branch.
4490
(Gary van der Merwe, #194716)
4492
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
4497
* Adding now works properly when path contains a symbolic link.
4498
(Geoff Bache, #183831)
4500
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
4502
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
4503
line, and the other side modifies the line. (John Arbash Meinel, #328171)
4505
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
4506
(Martin von Gagern, #248932)
4508
* ``bzr send`` works to send emails again using MAPI.
4509
(Neil Martinsen-Burrell, #346998)
4511
* Check for missing parent inventories in StreamSink. This prevents
4512
incomplete stacked branches being created by 1.13 bzr:// and
4513
bzr+ssh:// clients (which have bug #354036). Instead, the server now
4514
causes those clients to send the missing records. (Andrew Bennetts)
4516
* Correctly handle http servers proposing multiple authentication schemes.
4517
(Vincent Ladeuil, #366107)
4519
* End-Of-Line content filters are now loaded correctly.
4520
(Ian Clatworthy, Brian de Alwis, #355280)
4522
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
4523
longer than 64KiB. (John Arbash Meinel, #364900)
4525
* Fix TypeError in running ``bzr break-lock`` on some URLs.
4526
(Alexander Belchenko, Martin Pool, #365891)
4528
* Non-recursive ``bzr ls`` now works properly when a path is specified.
4529
(Jelmer Vernooij, #357863)
4531
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
4532
(Vincent Ladeuil, #367726)
4534
* Several bugs related to unicode symlinks have been fixed and the test suite
4535
enhanced to better catch regressions for them. (Vincent Ladeuil)
4537
* The smart server will no longer raise 'NoSuchRevision' when streaming
4538
content with a size mismatch in a reconstructed graph search: it assumes
4539
that the client will make sure it is happy with what it got, and this
4540
sort of mismatch is normal for stacked environments.
4541
bzr 1.13.0/1 will stream from unstacked branches only - in that case not
4542
getting all the content expected would be a bug. However the graph
4543
search is how we figured out what we wanted, so a mismatch is both odd
4544
and unrecoverable without starting over, and starting over will end up
4545
with the same data as if we just permitted the mismatch. If data is
4546
gc'd, doing a new search will find only the truncated data, so sending
4547
only the truncated data seems reasonable. bzr versions newer than this
4548
will stream from stacked branches and check the stream to find missing
4549
content in the stacked-on branch, and thus will handle the situation
4550
implicitly. (Robert Collins, #360791)
4552
* Upgrading to, or fetching into a 'rich-root' format will now correctly
4553
set the root data the same way that reconcile does.
4554
(Robert Collins, #368921)
4556
* Using unicode Windows API to obtain command-line arguments.
4557
(Alexander Belchenko, #375934)
4565
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
4566
instead of ``InstallFailed`` when they detect a missing revision.
4567
``InstallFailed`` itself has been deleted. (Jonathan Lange)
4569
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
4570
arguments from ``osutils.get_unicode_argv()`` which has proper support
4571
for unicode arguments on windows. Further, the supplied arguments are now
4572
required to be unicode strings, rather than user_encoded strings.
4573
(Alexander Belchenko)
4578
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
4579
class and will call ``_set_parent_location`` after doing unicode
4580
encoding. (Robert Collins)
4582
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
4583
``Branch.set_parent_location`` removing further VFS operations.
4586
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
4587
or similar when the dir supports configuration settings. The base class
4588
defaults to None. There is a matching new server verb
4589
``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
4590
configuration. (Robert Collins)
4592
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
4593
called before the first test is started, ``done`` called after the last
4594
test completes, and a new parameter ``strict``. (Robert Collins)
4596
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
4597
VFS operations are started on a smart server repository. This should not
4598
occur on regular push and pull operations, and is a key indicator for
4599
performance regressions. (Robert Collins)
4601
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
4602
cause mismatched physical locks to cause test errors rather than just
4603
reporting to the screen. (Robert Collins)
4605
* -Dprogress will cause pdb to start up if a progress view jumps
4606
backwards. (Robert Collins)
4608
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
4609
are now be able to provide credentials if obtaining credentials
4610
via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij,
4611
Vincent Ladeuil, #321918)
4613
* New hook ``Lock.lock_broken`` which runs when a lock is
4614
broken. This is mainly for testing that lock/unlock are
4615
balanced in tests. (Vincent Ladeuil)
4617
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
4618
alter a body for the message produced by ``bzr send``.
4620
* New smart server verb ``BzrDir.initialize_ex`` which implements a
4621
refactoring to the core of clone allowing less round trips on new
4622
branches. (Robert Collins)
4624
* New method ``Tags.rename_revisions`` that can rename revision ids tags
4625
are pointing at. (Jelmer Vernooij)
4627
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
4632
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
4633
tests. Using ``-Dlock`` will turn the related failures into warnings.
4634
(Vincent Ladeuil, Robert Collins)
4638
:Codename: brisbane-core
4639
:1.14rc1: 2009-04-06
4640
:1.14rc2: 2009-04-19
4644
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
4645
keyword templating (via the bzr-keywords plugin) and generic content filtering.
4646
End-of-line conversion is now supported for formats supporting content
4649
Changes from 1.14final to 1.14.1
4650
********************************
4652
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
4654
Changes from 1.14rc2 to 1.14final
4655
*********************************
4657
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
4658
longer than 64KiB. (John Arbash Meinel, #364900)
4660
Changes from 1.14rc1 to 1.14rc2
4661
*******************************
4663
* Fix for bug 358037 Revision not in
4664
bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis,
4667
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
4668
attribute 'get_bytes_as' exception while pulling from Launchpad
4669
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
4671
* Fix for bug 355280 eol content filters are never loaded and thus never
4672
applied (Brian de Alwis, Ian Clatworthy)
4674
* bzr.dev -r4280 Change _fetch_uses_deltas = False for CHK repos until we can
4675
write a better fix. (John Arbash Meinel, Robert Collins)
4677
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
4678
(Marius Kruger, Ian Clatworthy)
4680
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14
4681
(Andrew Bennetts, Robert Collins)
4683
Compatibility Breaks
4684
********************
4686
* A previously disabled code path to accelerate getting configuration
4687
settings from a smart server has been reinstated. We think this *may*
4688
cause a incompatibility with servers older than bzr 0.15. We intend
4689
to issue a point release to address this if it turns out to be a
4690
problem. (Robert Collins, Andrew Bennetts)
4692
15
* bzr no longer autodetects nested trees as 'tree-references'. They
4693
16
must now be explicitly added tree references. At the commandline, use
4694
17
join --reference instead of add. (Aaron Bentley)
4696
* The ``--long`` log format (the default) no longer shows merged
4697
revisions implicitly, making it consistent with the ``short`` and
4698
``line`` log formats. To see merged revisions for just a given
4699
revision, use ``bzr log -n0 -rX``. To see every merged revision,
4700
use ``bzr log -n0``. (Ian Clatworthy)
4705
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
4706
(EOL) conversions, keyword templating (via the bzr-keywords plugin)
4707
and generic content filtering. These formats replace the experimental
4708
``development-wt5`` and ``development-wt5-rich-root`` formats
4709
respectively, but have support for filtered views disabled.
4712
* New ``mv --auto`` option recognizes renames after they occur.
22
* New ``guess-renames`` command recognizes renames after they occur.
4715
* ``bzr`` can now get passwords from stdin without requiring a controlling
4716
terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
4718
25
* ``bzr log`` now supports filtering of multiple files and directories
4719
26
and will show changes that touch any of them. Furthermore,
4720
27
directory filtering now shows the changes to any children of that