5
5
.. 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)
45
* When running ``bzr selftest --subunit`` the subunit stream will no
46
longer include the "log" information for tests which are considered to
47
be 'successes' (success, xfail, skip, etc) (John Arbash Meinel)
12
:2.3b1: NOT RELEASED YET
59
This is the first beta of the 2.3 series, leading up to a 2.3.0
60
release in January or February. Beta releases are suitable for everyday use
61
but may cause some incompatibilities with plugins. Some plugins may need
62
small updates to work with 2.3b1.
64
2.3b1 includes some performance improvements in both speed and memory
65
consumption, some preliminary support for generating a texinfo version of
66
the doc and better support for launchpad. Many changes were made to make
67
our test suite more robust as well as numerous documentation fixes. It
68
improves the common infrastructure for dealing with colocated named
69
branches and foreign branches. We plan to continue with these themes
70
through the 2.3 series.
72
It also includes bug fixes for 2.0.6, 2.1.3 and 2.2.1 and over 40 fixes of
14
76
Compatibility Breaks
15
77
********************
20
82
is now named "msg" instead of earlier "message".
21
83
(Parth Malwankar, #603461)
23
* `decode` parameter to get() method in FtpTransport and GioTransport classes
24
is deprecated. (Alexander Belchenko)
26
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
30
* `tree_files` and `internal_tree_files` are now deprecated in favor of
31
`WorkingTree.open_containing_paths`.
85
* Additional merges after an unrelated branch has been merged with its
86
history no longer crash when deleted files are involved.
87
(Vincent Ladeuil, John Arbash Meinel, #375898)
89
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
90
previously-unversioned directory within the tree: the directory is
92
(Martin Pool, #192859)
94
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
95
target of the symlink.
96
(Martin Pool, John Arbash Meinel, #128562)
98
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
99
permissions as ``.bzr`` directory on a POSIX OS.
100
(Parth Malwankar, #262450)
102
* ``bzrlib.transform.TreeTransformBase.final_kind``,
103
``bzrlib.transform.TreeTransform.tree_kind`` and
104
``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
105
of raising NoSuchFile. (Vincent Ladeuil)
107
* CommitBuilder now uses the committer instead of _config.username to generate
108
the revision-id. (Aaron Bentley, #614404)
110
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
111
way which should help avoid problems with concurrent writers.
112
(Vincent Ladeuil, #525571)
34
114
* `ControlDirFormat` and `ControlDir` have been split out of `BzrDirFormat`
35
115
and `BzrDir`, respectively. `ControlDirFormat`
47
127
`bzrlib.controldir.ControlDirFormat.register_server_prober`.
48
128
`BzrDirFormat.probe_transport` has been moved onto `Prober`.
50
`BzrDirFormat.register_format` has been renamed to
130
`BzrDirFormat.register_format` has been renamed to
51
131
`BzrProber.register_bzrdir_format`.
133
`bzrlib.bzrdir.network_format_registry` has been moved to
138
* Cope with Microsoft FTP server that returns reply '250 Directory
139
created' when mkdir succeeds. (Martin Pool, #224373)
141
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
142
contains only NUL bytes). Instead warn the user, and allow ``bzr
143
break-lock`` to remove it. (Andrew Bennetts, #619872)
145
* `decode` parameter to get() method in FtpTransport and GioTransport classes
146
is deprecated. (Alexander Belchenko)
148
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
152
* Fix ``AttributeError on parent.children`` when adding a file under a
153
directory that was a symlink in the previous commit.
154
(Martin Pool, #192859)
156
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
157
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
158
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
159
stderr in some other circumstances. (Andrew Bennetts, #633745)
161
* Only call ``setlocale`` in the bzr startup script on posix systems. This
162
avoids an issue with the newer windows C runtimes used by Python 2.6 and
163
later which can mangle bytestrings printed to the console.
164
(Martin [gz], #631350)
166
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
167
which can result in "missing referenced chk root keys" errors when
168
fetching from repositories with affected revisions.
169
(Andrew Bennetts, #522637)
171
* Raise ValueError instead of a string exception.
172
(John Arbash Meinel, #586926)
174
* Reduce peak memory by one copy of compressed text.
175
(John Arbash Meinel, #566940)
177
* Repositories accessed via a smart server now reject being stacked on a
178
repository in an incompatible format, as is the case when accessing them
179
via other methods. This was causing fetches from those repositories via
180
a smart server (e.g. using ``bzr branch``) to receive invalid data.
181
(Andrew Bennetts, #562380)
183
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
184
error. This error was caused by 2.0 not being updated when upstream
185
python merged the end of run patch, which chose ``stopTestRun`` rather than
186
``done``. (Robert Collins, #571437)
188
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
189
being thrown from ``xml_serializer`` on certain cElementTree setups.
190
(Martin [gz], #254278)
54
192
* The old ``bzr selftest --benchmark`` option has been removed.
55
193
<https://launchpad.net/bzr-usertest> is an actively-maintained
56
194
macrobenchmark suite.
197
* `tree_files` and `internal_tree_files` are now deprecated in favor of
198
`WorkingTree.open_containing_paths`.
201
* Upgrading or fetching from a non-rich-root repository to a rich-root
202
repository (e.g. from pack-0.92 to 2a) no longer fails with
203
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
204
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
206
* When passing a file to ``UTF8DirReader`` make sure to close the current
207
directory file handle after the chdir fails. Otherwise when passing many
208
filenames into a command line ``bzr status`` we would leak descriptors.
209
(John Arbash Meinel, #583486)
214
* Added ``pre_status`` and ``post_status`` hooks. This allows plugins
215
to register custom handlers which will be invoked before/after the
216
standard status output is displayed. (Parth Malwankar)
62
218
* ``bzr break-lock --config [location]`` can now break config files
63
219
locks. (Vincent Ladeuil, #525571)
142
321
fetching from repositories with affected revisions.
143
322
(Andrew Bennetts, #522637)
324
* strace test-helper tests cope with the new Ubuntu policy of not allowing
325
users to attach to their own processes by default.
326
(Martin Pool, #626679)
328
* Test classes like ``TestCase``, ``TestLoader``, and ``TestSuite`` should
329
be available from ``bzrlib.tests.*``. They used to be, but were
330
accidentally removed. (John Arbash Meinel, #627438)
332
* Treat all IO, OS, and socket errors consistently when establishing
333
SSH/SFTP connections via a subprocess. (Andrew Bennetts)
145
335
* ``Transport.stat`` on a symlink, including a transport pointing directly
146
336
to a symlink, now returns information about the symlink.
339
* Upgrading or fetching from a non-rich-root repository to a rich-root
340
repository (e.g. from pack-0.92 to 2a) no longer fails with
341
``'Inter1and2Helper' object has no attribute 'source_repo'``.
342
(Andrew Bennetts, #636930)
344
* Wait for the SSH server to actually finish, rather than just waiting for
345
it to negotiate the key exchange. (John Arbash Meinel, #626876)
446
* ``build_tree_contents`` can create symlinks.
447
(Martin Pool, John Arbash Meinel)
449
* Catch socket errors to avoid
450
bt.test_sftp_transport.SSHVendorBadConnection.test_bad_connection_ssh
451
random failures. (Vincent Ladeuil, #601804)
237
453
* HTTP test servers will leak less threads (and sockets) and will not hang on
238
454
AIX anymore. (Vincent Ladeuil, #405745)
456
* On platforms that don't support forking give a nice error message saying so
457
when ``bzr selftest --parallel=fork`` is used. (Martin [gz], #528730)
459
* Rearrange thread leak detection code to eliminate global state and make it
460
possible to extend the reporting. (Marting [gz], #633462)
462
* Suppress the "maximum recursion depth exceeded in __subclasscheck__"
463
warning on stderr emitted during ``test_dict_deepnested`` in
464
``bzrlib/tests/test__bencode.py``. (Andrew Bennetts)
466
* The test suite now simply holds log files in memory, rather than writing them
467
out to disk and then reading them back in and deleting them.
240
470
* The way ``bzr selftest --parallel`` generates N partitions of tests to
241
471
run in parallel has changed. Instead of splitting the list of tests at
242
472
N-1 points, it distributes the tests one-by-one into the partitions in a
245
475
distributed evenly among the parallel test suites, rather than slowing
246
476
down just one suite. (Andrew Bennetts)
478
* Tracebacks from a parameterized test are no longer reported against every
479
parameterization of that test. This was done by adding a hack to
480
``bzrlib.tests.clone_test`` so that it no longer causes
481
testtools.TestCase instances to share a details dict.
482
(Andrew Bennetts, #625574)
488
:2.2.2: NOT RELEASED YET
514
* Fix tests that failed when run under ``LANG=C``.
515
(Andrew Bennetts, #632387)
253
:2.2.1: NOT RELEASED YET
523
This is a bugfix release which also includes bugfixes from 2.0.6 and
524
2.1.3. None are critical, but upgrading is recommended for all users on
525
earlier 2.2 releases.
530
* Additional merges after an unrelated branch has been merged with its
531
history no longer crash when deleted files are involved.
532
(Vincent Ladeuil, John Arbash Meinel, #375898)
258
534
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
259
535
previously-unversioned directory within the tree: the directory is
260
marked versioned too.
536
marked versioned too.
261
537
(Martin Pool, #192859)
539
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
540
target of the symlink.
541
(Martin Pool, John Arbash Meinel, #128562)
543
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
544
permissions as ``.bzr`` directory on a POSIX OS.
545
(Parth Malwankar, #262450)
263
547
* CommitBuilder now uses the committer instead of _config.username to generate
264
548
the revision-id. (Aaron Bentley, #614404)
550
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
551
way which should help avoid problems with concurrent writers.
552
(Vincent Ladeuil, #525571)
266
554
* Cope with Microsoft FTP server that returns reply '250 Directory
267
555
created' when mkdir succeeds. (Martin Pool, #224373)
269
* Fix ``AttributeError on parent.children`` when adding a file under a
557
* Don't traceback trying to unversion children files of an already
558
unversioned directory. (Vincent Ladeuil, #494221)
560
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
561
contains only NUL bytes). Instead warn the user, and allow ``bzr
562
break-lock`` to remove it. (Andrew Bennetts, #619872)
564
* Fix ``AttributeError on parent.children`` when adding a file under a
270
565
directory that was a symlink in the previous commit.
271
566
(Martin Pool, #192859)
568
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
569
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
570
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
571
stderr in some other circumstances. (Andrew Bennetts, #633745)
573
* Only call ``setlocale`` in the bzr startup script on posix systems. This
574
avoids an issue with the newer windows C runtimes used by Python 2.6 and
575
later which can mangle bytestrings printed to the console.
576
(Martin [gz], #631350)
578
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
579
which can result in "missing referenced chk root keys" errors when
580
fetching from repositories with affected revisions.
581
(Andrew Bennetts, #522637)
583
* Raise ValueError instead of a string exception.
584
(John Arbash Meinel, #586926)
586
* Reduce peak memory by one copy of compressed text.
587
(John Arbash Meinel, #566940)
589
* Repositories accessed via a smart server now reject being stacked on a
590
repository in an incompatible format, as is the case when accessing them
591
via other methods. This was causing fetches from those repositories via
592
a smart server (e.g. using ``bzr branch``) to receive invalid data.
593
(Andrew Bennetts, #562380)
595
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
596
error. This error was caused by 2.0 not being updated when upstream
597
python merged the end of run patch, which chose ``stopTestRun`` rather than
598
``done``. (Robert Collins, #571437)
600
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
601
being thrown from ``xml_serializer`` on certain cElementTree setups.
602
(Martin [gz], #254278)
604
* Upgrading or fetching from a non-rich-root repository to a rich-root
605
repository (e.g. from pack-0.92 to 2a) no longer fails with
606
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
607
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
609
* When passing a file to ``UTF8DirReader`` make sure to close the current
610
directory file handle after the chdir fails. Otherwise when passing many
611
filenames into a command line ``bzr status`` we would leak descriptors.
612
(John Arbash Meinel, #583486)
1317
1670
:Codename: Do run run
1318
:2.1.3: NOT RELEASED YET
1320
Compatibility Breaks
1321
********************
1673
The third release in our 2.1 series addresses several user-inconvenience bugs
1674
(and includes the fixes done in 2.0.6). None are critical, but upgrading is
1675
recommended for all users on earlier 2.1 releases.
1680
* Additional merges after an unrelated branch has been merged with its
1681
history no longer crash when deleted files are involved.
1682
(Vincent Ladeuil, John Arbash Meinel, #375898)
1329
1684
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
1330
1685
previously-unversioned directory within the tree: the directory is
1331
1686
marked versioned too.
1332
1687
(Martin Pool, #192859)
1689
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
1690
target of the symlink.
1691
(Martin Pool, John Arbash Meinel, #128562)
1693
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1694
permissions as ``.bzr`` directory on a POSIX OS.
1695
(Parth Malwankar, #262450)
1334
1697
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
1335
1698
way which should help avoid problems with concurrent writers.
1336
1699
(Vincent Ladeuil, #525571)
1354
1721
* Raise ValueError instead of a string exception.
1355
1722
(John Arbash Meinel, #586926)
1357
* Recursive binding for checkouts is now detected by bzr. A clear error
1358
message is shown to the user. (Parth Malwankar, #405192)
1363
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
1364
tree, and works with unrelated branches. (Andrew Bennetts)
1369
* ``bzr help patterns`` now explains case insensitive patterns and
1370
points to Python regular expression documentation.
1371
(Parth Malwankar, #594386)
1376
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
1724
* Reduce peak memory by one copy of compressed text.
1725
(John Arbash Meinel, #566940)
1727
* Repositories accessed via a smart server now reject being stacked on a
1728
repository in an incompatible format, as is the case when accessing them
1729
via other methods. This was causing fetches from those repositories via
1730
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1731
(Andrew Bennetts, #562380)
1733
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1734
error. This error was caused by 2.0 not being updated when upstream
1735
python merged the end of run patch, which chose ``stopTestRun`` rather than
1736
``done``. (Robert Collins, #571437)
1738
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
1739
being thrown from ``xml_serializer`` on certain cElementTree setups.
1740
(Martin [gz], #254278)
1742
* When passing a file to ``UTF8DirReader`` make sure to close the current
1743
directory file handle after the chdir fails. Otherwise when passing many
1744
filenames into a command line ``bzr status`` we would leak descriptors.
1745
(John Arbash Meinel, #583486)
1384
* Unit test added to ensure that "message" is not uses as a format variable
1385
name in BzrError subclasses as this conflicts with some Python versions.
1386
(Parth Malwankar, #603461)
1750
* ``build_tree_contents`` can create symlinks.
1751
(Martin Pool, John Arbash Meinel)
11427
11800
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
11428
11801
other branch, and will not push or pull between the two branches.
11429
11802
API users will need to perform a push or pull or update operation if they
11430
require branch synchronisation to take place. (Robert Collins, #47344)
11803
require branch synchronisation to take place. (Robert Collins, #43744)
11432
11805
* When creating a tarball or zipfile export, export unicode names as utf-8
11433
11806
paths. This may not work perfectly on all platforms, but has the best
11434
chance of working in the common case. (John Arbash Meinel, #56816)
11807
chance of working in the common case. (John Arbash Meinel, #56815)
11436
11809
* When committing, only files that exist in working tree or basis tree
11437
11810
may be specified (Aaron Bentley, #50793)