5
5
.. contents:: List of Releases
11
:2.3b3: NOT RELEASED YET
19
* Add --no-tree option to 'bzr push' and 'bzr init' for creating a
20
new or mirrored branch without working trees.
21
(Matthew Gordon, #506730)
23
* New shortcut url schemes ``ubuntu:`` and ``debianlp:`` access source
24
branches on Launchpad. E.g. ``bzr branch ubuntu:foo`` gives you the source
25
branch for project ``foo`` in the current distroseries for Ubuntu while
26
``bzr branch debianlp:lenny/foo`` gives you the source branch (on Launchpad)
27
for project ``foo`` in Debian Lenny.
28
(Barry Warsaw, #609186)
30
* Provide a configuration option "default_format" that controls the
31
default format for new branches created with ``bzr init``.
32
(Neil Martinsen-Burrell, #484101)
37
* Always set PATH in start_bzr.bat on Windows. (Matthäus G. Chajdas, #470264)
39
* Don't force openssh to use protocol=2, since that is now the default.
40
(Neil Martinsen-Burrell, #561061)
42
* Fix ``KeyError: 'port'`` when getting the stored password for an http
44
(Martin Pool, #654684)
46
* Make ``bzr tag --quiet`` really quiet. (Neil Martinsen-Burrell, #239523)
63
* Blank output section in scriptrunner tests no longer match any output.
64
Instead, use '...' as a wildcard if you don't care about the output.
65
(Martin Pool, #637830)
76
* The ``bzr tags`` command sorts tag names using a natural sort by
77
default (so tag2 sorts before tag10). The previous default was
78
strictly "asciibetical". That behavior is still available as ``bzr tags
79
--sort=alpha``. (Neil Martinsen-Burrell, #640760)
84
* Add ``mainline`` revision specifier, which selects the revision that
85
merged a specified revision into the mainline. (Aaron Bentley)
87
* Add ``annotate`` revision specifier, which selects the revision that
88
introduced a specified line of a file. (Aaron Bentley)
90
* Add ``-Dmem_dump`` debug flag, which uses meliae to dump memory to
91
a file upon an out of memory error.
92
(Karl Bielefeldt, #551391)
94
* ``bzr status`` now displays a summary of existing shelves after
95
the other status information. This is done using a ``post_status``
97
(Parth Malwankar, #403687)
99
* GNU lsh is now a supported lsh client; just set BZR_SSH to 'lsh'.
100
Also, bzr will recognize if the 'ssh' comand is a symlink to lsh.
101
(Matthew Gordon, #374700)
103
* The ``pull`` and ``update`` commands now take a ``-show-base``
104
option that, in the case of conflicts, shows the base revision text.
105
(Rory Yorke, #202374)
110
* ``bzr break-lock --force`` breaks the lock without prompting. (Before
111
using this, make sure the process holding the lock really is dead.)
112
(Martin Pool, #397315)
114
* Fix signature of RemoteBzrDir.create_workingtree to match that of its
115
superclass. (Neil Martinsen-Burrell, Martin Pool, #524627)
117
* Fix traceback with python-2.7's xmlrpclib
118
(Toshio Kuratomi, #612096)
120
* Print junk rather than throwing a UnicodeDecodeError from ``bzr version-info``
121
when using the rio format (with non-ascii information) on a non-utf-8
122
terminal. (Andrej A Antonov, #518609)
124
* Skip tests that needs a bzr source tree when there isn't one. This is
125
needed to succesfully run the test suite for installed versions.
126
(Vincent Ladeuil, #644855).
128
* Skip the tests that requires respecting the chmod bits when running as root.
129
(Vincent Ladeuil, #646133)
131
* Treat all IO, OS, and socket errors consistently when establishing
132
SSH/SFTP connections via a subprocess. (Andrew Bennetts)
134
* ``unshelve --preview`` now can show diff in a non-ascii encoding.
135
(Andrej A Antonov, #518916)
140
* ``bzr remove`` now takes a ``--no-backup`` option for when you don't want it
141
to backup anything, just delete it. This option used to be called ``--force``
142
which is now deprecated.
143
(Marius Kruger, #400554)
145
* When using the pycurl client module, Bazaar shows some of the text from
146
http server error messages.
147
(Martin Pool, #656667)
152
* Correct the documentation for setting up the smart server with Apache.
153
(Neil Martinsen-Burrell, #311518)
155
* Provide more detailed help on the Launchpad plugin at "bzr help
156
plugins/launchpad". (Neil Martinsen-Burrell, #589379)
158
* Suggest ``bzr revert`` for restoring locally deleted files in help text
159
for ``bzr update``. (John C Barstow, #191466)
164
* ``WorkingTree`` methods ``pull``, ``update``, and ``_update_tree``
165
now have an optional argument, ``show_base``, which is by default
166
False. This is flag is ultimately passed to ``merge.merge_inner``
167
in each case. (Rory Yorke, #202374)
172
* Small change to GroupCompressBlock to work more in terms of 'chunks'
173
rather than 'content' for its compressed storage. (John Arbash Meinel)
175
* When running ``bzr selftest --subunit`` the subunit stream will no
176
longer include the "log" information for tests which are considered to
177
be 'successes' (success, xfail, skip, etc) (John Arbash Meinel)
182
* Add a new simpler way to generate multiple test variations, by setting
183
the `scenarios` attribute of a test class to a list of scenarios
184
descriptions, then using `load_tests_apply_scenarios`. (See the testing
185
guide and `bzrlib.tests.scenarios`.) Simplify `test_http` using this.
186
(Martin Pool, #597791)
188
* Add ``tests/ssl_certs/ca.crt`` to the required test files list. Test
189
involving the pycurl https test server fail otherwise when running
190
selftest from an installed version. (Vincent Ladeuil, #651706)
192
* Fix tests that failed when run under ``LANG=C``.
193
(Andrew Bennetts, #632387)
195
* Suppress the "maximum recursion depth exceeded in __subclasscheck__"
196
warning on stderr emitted during ``test_dict_deepnested`` in
197
``bzrlib/tests/test__bencode.py``. (Andrew Bennetts)
199
* Use tests.TestCaseInTempDir for tests that requires disk resources.
200
(Vincent Ladeuil, #650001)
12
:2.3b1: NOT RELEASED YET
207
This is the first beta of the 2.3 series, leading up to a 2.3.0
208
release in January or February. Beta releases are suitable for everyday use
209
but may cause some incompatibilities with plugins. Some plugins may need
210
small updates to work with 2.3b1.
212
2.3b1 includes some performance improvements in both speed and memory
213
consumption, some preliminary support for generating a texinfo version of
214
the doc and better support for launchpad. Many changes were made to make
215
our test suite more robust as well as numerous documentation fixes. It
216
improves the common infrastructure for dealing with colocated named
217
branches and foreign branches. We plan to continue with these themes
218
through the 2.3 series.
220
It also includes bug fixes for 2.0.6, 2.1.3 and 2.2.1 and over 40 fixes of
14
224
Compatibility Breaks
15
225
********************
20
230
is now named "msg" instead of earlier "message".
21
231
(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`.
233
* Additional merges after an unrelated branch has been merged with its
234
history no longer crash when deleted files are involved.
235
(Vincent Ladeuil, John Arbash Meinel, #375898)
237
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
238
previously-unversioned directory within the tree: the directory is
239
marked versioned too.
240
(Martin Pool, #192859)
242
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
243
target of the symlink.
244
(Martin Pool, John Arbash Meinel, #128562)
246
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
247
permissions as ``.bzr`` directory on a POSIX OS.
248
(Parth Malwankar, #262450)
250
* ``bzrlib.transform.TreeTransformBase.final_kind``,
251
``bzrlib.transform.TreeTransform.tree_kind`` and
252
``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
253
of raising NoSuchFile. (Vincent Ladeuil)
255
* CommitBuilder now uses the committer instead of _config.username to generate
256
the revision-id. (Aaron Bentley, #614404)
258
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
259
way which should help avoid problems with concurrent writers.
260
(Vincent Ladeuil, #525571)
34
262
* `ControlDirFormat` and `ControlDir` have been split out of `BzrDirFormat`
35
263
and `BzrDir`, respectively. `ControlDirFormat`
47
275
`bzrlib.controldir.ControlDirFormat.register_server_prober`.
48
276
`BzrDirFormat.probe_transport` has been moved onto `Prober`.
50
`BzrDirFormat.register_format` has been renamed to
278
`BzrDirFormat.register_format` has been renamed to
51
279
`BzrProber.register_bzrdir_format`.
281
`bzrlib.bzrdir.network_format_registry` has been moved to
286
* Cope with Microsoft FTP server that returns reply '250 Directory
287
created' when mkdir succeeds. (Martin Pool, #224373)
289
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
290
contains only NUL bytes). Instead warn the user, and allow ``bzr
291
break-lock`` to remove it. (Andrew Bennetts, #619872)
293
* `decode` parameter to get() method in FtpTransport and GioTransport classes
294
is deprecated. (Alexander Belchenko)
296
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
300
* Fix ``AttributeError on parent.children`` when adding a file under a
301
directory that was a symlink in the previous commit.
302
(Martin Pool, #192859)
304
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
305
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
306
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
307
stderr in some other circumstances. (Andrew Bennetts, #633745)
309
* Only call ``setlocale`` in the bzr startup script on posix systems. This
310
avoids an issue with the newer windows C runtimes used by Python 2.6 and
311
later which can mangle bytestrings printed to the console.
312
(Martin [gz], #631350)
314
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
315
which can result in "missing referenced chk root keys" errors when
316
fetching from repositories with affected revisions.
317
(Andrew Bennetts, #522637)
319
* Raise ValueError instead of a string exception.
320
(John Arbash Meinel, #586926)
322
* Reduce peak memory by one copy of compressed text.
323
(John Arbash Meinel, #566940)
325
* Repositories accessed via a smart server now reject being stacked on a
326
repository in an incompatible format, as is the case when accessing them
327
via other methods. This was causing fetches from those repositories via
328
a smart server (e.g. using ``bzr branch``) to receive invalid data.
329
(Andrew Bennetts, #562380)
331
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
332
error. This error was caused by 2.0 not being updated when upstream
333
python merged the end of run patch, which chose ``stopTestRun`` rather than
334
``done``. (Robert Collins, #571437)
336
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
337
being thrown from ``xml_serializer`` on certain cElementTree setups.
338
(Martin [gz], #254278)
54
340
* The old ``bzr selftest --benchmark`` option has been removed.
55
341
<https://launchpad.net/bzr-usertest> is an actively-maintained
56
342
macrobenchmark suite.
345
* `tree_files` and `internal_tree_files` are now deprecated in favor of
346
`WorkingTree.open_containing_paths`.
349
* Upgrading or fetching from a non-rich-root repository to a rich-root
350
repository (e.g. from pack-0.92 to 2a) no longer fails with
351
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
352
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
354
* When passing a file to ``UTF8DirReader`` make sure to close the current
355
directory file handle after the chdir fails. Otherwise when passing many
356
filenames into a command line ``bzr status`` we would leak descriptors.
357
(John Arbash Meinel, #583486)
362
* Added ``pre_status`` and ``post_status`` hooks. This allows plugins
363
to register custom handlers which will be invoked before/after the
364
standard status output is displayed. (Parth Malwankar)
62
366
* ``bzr break-lock --config [location]`` can now break config files
63
367
locks. (Vincent Ladeuil, #525571)
245
610
distributed evenly among the parallel test suites, rather than slowing
246
611
down just one suite. (Andrew Bennetts)
613
* Tracebacks from a parameterized test are no longer reported against every
614
parameterization of that test. This was done by adding a hack to
615
``bzrlib.tests.clone_test`` so that it no longer causes
616
testtools.TestCase instances to share a details dict.
617
(Andrew Bennetts, #625574)
623
:2.2.2: NOT RELEASED YET
634
* Skip tests that needs a bzr source tree when there isn't one. This is
635
needed to succesfully run the test suite for installed versions.
636
(Vincent Ladeuil, #644855).
638
* Skip the tests that requires respecting the chmod bits when running as
639
root. Including the one that wasn't present in 2.1.
640
(Vincent Ladeuil, #646133)
642
* Using bzr with `lp:` urls behind an http proxy should work.
643
(Robert Collins, #558343)
660
* Add ``tests/ssl_certs/ca.crt`` to the required test files list. Test
661
involving the pycurl https test server fail otherwise when running
662
selftest from an installed version. (Vincent Ladeuil, #651706)
664
* Fix tests that failed when run under ``LANG=C``.
665
(Andrew Bennetts, #632387)
253
:2.2.1: NOT RELEASED YET
673
This is a bugfix release which also includes bugfixes from 2.0.6 and
674
2.1.3. None are critical, but upgrading is recommended for all users on
675
earlier 2.2 releases.
680
* Additional merges after an unrelated branch has been merged with its
681
history no longer crash when deleted files are involved.
682
(Vincent Ladeuil, John Arbash Meinel, #375898)
258
684
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
259
685
previously-unversioned directory within the tree: the directory is
260
marked versioned too.
686
marked versioned too.
261
687
(Martin Pool, #192859)
689
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
690
target of the symlink.
691
(Martin Pool, John Arbash Meinel, #128562)
693
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
694
permissions as ``.bzr`` directory on a POSIX OS.
695
(Parth Malwankar, #262450)
263
697
* CommitBuilder now uses the committer instead of _config.username to generate
264
698
the revision-id. (Aaron Bentley, #614404)
700
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
701
way which should help avoid problems with concurrent writers.
702
(Vincent Ladeuil, #525571)
266
704
* Cope with Microsoft FTP server that returns reply '250 Directory
267
705
created' when mkdir succeeds. (Martin Pool, #224373)
269
* Fix ``AttributeError on parent.children`` when adding a file under a
707
* Don't traceback trying to unversion children files of an already
708
unversioned directory. (Vincent Ladeuil, #494221)
710
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
711
contains only NUL bytes). Instead warn the user, and allow ``bzr
712
break-lock`` to remove it. (Andrew Bennetts, #619872)
714
* Fix ``AttributeError on parent.children`` when adding a file under a
270
715
directory that was a symlink in the previous commit.
271
716
(Martin Pool, #192859)
718
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
719
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
720
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
721
stderr in some other circumstances. (Andrew Bennetts, #633745)
723
* Only call ``setlocale`` in the bzr startup script on posix systems. This
724
avoids an issue with the newer windows C runtimes used by Python 2.6 and
725
later which can mangle bytestrings printed to the console.
726
(Martin [gz], #631350)
728
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
729
which can result in "missing referenced chk root keys" errors when
730
fetching from repositories with affected revisions.
731
(Andrew Bennetts, #522637)
733
* Raise ValueError instead of a string exception.
734
(John Arbash Meinel, #586926)
736
* Reduce peak memory by one copy of compressed text.
737
(John Arbash Meinel, #566940)
739
* Repositories accessed via a smart server now reject being stacked on a
740
repository in an incompatible format, as is the case when accessing them
741
via other methods. This was causing fetches from those repositories via
742
a smart server (e.g. using ``bzr branch``) to receive invalid data.
743
(Andrew Bennetts, #562380)
745
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
746
error. This error was caused by 2.0 not being updated when upstream
747
python merged the end of run patch, which chose ``stopTestRun`` rather than
748
``done``. (Robert Collins, #571437)
750
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
751
being thrown from ``xml_serializer`` on certain cElementTree setups.
752
(Martin [gz], #254278)
754
* Upgrading or fetching from a non-rich-root repository to a rich-root
755
repository (e.g. from pack-0.92 to 2a) no longer fails with
756
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
757
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
759
* When passing a file to ``UTF8DirReader`` make sure to close the current
760
directory file handle after the chdir fails. Otherwise when passing many
761
filenames into a command line ``bzr status`` we would leak descriptors.
762
(John Arbash Meinel, #583486)
283
774
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
284
775
(Andrew Bennetts)
780
* ``build_tree_contents`` can create symlinks.
781
(Martin Pool, John Arbash Meinel)
783
* Tracebacks from a parameterized test are no longer reported against every
784
parameterization of that test. This was done by adding a hack to
785
``bzrlib.tests.clone_test`` so that it no longer causes
786
testtools.TestCase instances to share a details dict.
787
(Andrew Bennetts, #625574)
793
:2.1.4: NOT RELEASED YET
804
* Skip tests that needs a bzr source tree when there isn't one. This is
805
needed to succesfully run the test suite for installed versions.
806
(Vincent Ladeuil, #644855).
808
* Skip the tests that requires respecting the chmod bits when running as root.
809
(Vincent Ladeuil, #646133)
811
* Using bzr with `lp:` urls behind an http proxy should work.
812
(Robert Collins, #558343)
833
:Codename: Do run run
836
The third release in our 2.1 series addresses several user-inconvenience bugs
837
(and includes the fixes done in 2.0.6). None are critical, but upgrading is
838
recommended for all users on earlier 2.1 releases.
843
* Additional merges after an unrelated branch has been merged with its
844
history no longer crash when deleted files are involved.
845
(Vincent Ladeuil, John Arbash Meinel, #375898)
847
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
848
previously-unversioned directory within the tree: the directory is
849
marked versioned too.
850
(Martin Pool, #192859)
852
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
853
target of the symlink.
854
(Martin Pool, John Arbash Meinel, #128562)
856
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
857
permissions as ``.bzr`` directory on a POSIX OS.
858
(Parth Malwankar, #262450)
860
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
861
way which should help avoid problems with concurrent writers.
862
(Vincent Ladeuil, #525571)
864
* Don't traceback trying to unversion children files of an already
865
unversioned directory. (Vincent Ladeuil, #494221)
867
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
868
contains only NUL bytes). Instead warn the user, and allow ``bzr
869
break-lock`` to remove it. (Andrew Bennetts, #619872)
871
* Fix ``AttributeError on parent.children`` when adding a file under a
872
directory that was a symlink in the previous commit.
873
(Martin Pool, #192859)
875
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
876
which can result in "missing referenced chk root keys" errors when
877
fetching from repositories with affected revisions.
878
(Andrew Bennetts, #522637)
880
* Raise ValueError instead of a string exception.
881
(John Arbash Meinel, #586926)
883
* Reduce peak memory by one copy of compressed text.
884
(John Arbash Meinel, #566940)
886
* Repositories accessed via a smart server now reject being stacked on a
887
repository in an incompatible format, as is the case when accessing them
888
via other methods. This was causing fetches from those repositories via
889
a smart server (e.g. using ``bzr branch``) to receive invalid data.
890
(Andrew Bennetts, #562380)
892
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
893
error. This error was caused by 2.0 not being updated when upstream
894
python merged the end of run patch, which chose ``stopTestRun`` rather than
895
``done``. (Robert Collins, #571437)
897
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
898
being thrown from ``xml_serializer`` on certain cElementTree setups.
899
(Martin [gz], #254278)
901
* When passing a file to ``UTF8DirReader`` make sure to close the current
902
directory file handle after the chdir fails. Otherwise when passing many
903
filenames into a command line ``bzr status`` we would leak descriptors.
904
(John Arbash Meinel, #583486)
909
* ``build_tree_contents`` can create symlinks.
910
(Martin Pool, John Arbash Meinel)
918
The sixth release in our 2.0 series addresses several user-inconvenience
919
bugs. None are critical, but upgrading is recommended for all users on
920
earlier 2.0 releases.
925
* Additional merges after an unrelated branch has been merged with its
926
history no longer crash when deleted files are involved.
927
(Vincent Ladeuil, John Arbash Meinel, #375898)
929
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
930
previously-unversioned directory within the tree: the directory is
931
marked versioned too.
932
(Martin Pool, #192859)
934
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
935
target of the symlink.
936
(Martin Pool, John Arbash Meinel, #128562)
938
* ``bzr revert`` now only takes write lock on working tree, instead of on
939
both working tree and branch.
940
(Danny van Heumen, #498409)
942
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
943
permissions as ``.bzr`` directory on a POSIX OS.
944
(Parth Malwankar, #262450)
946
* Don't traceback trying to unversion children files of an already
947
unversioned directory. (Vincent Ladeuil, #494221)
949
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
950
contains only NUL bytes). Instead warn the user, and allow ``bzr
951
break-lock`` to remove it. (Andrew Bennetts, #619872)
953
* Fix ``AttributeError on parent.children`` when adding a file under a
954
directory that was a symlink in the previous commit.
955
(Martin Pool, #192859)
957
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
958
which can result in "missing referenced chk root keys" errors when
959
fetching from repositories with affected revisions.
960
(Andrew Bennetts, #522637)
962
* Raise ValueError instead of a string exception.
963
(John Arbash Meinel, #586926)
965
* Reduce peak memory by one copy of compressed text.
966
(John Arbash Meinel, #566940)
968
* Repositories accessed via a smart server now reject being stacked on a
969
repository in an incompatible format, as is the case when accessing them
970
via other methods. This was causing fetches from those repositories via
971
a smart server (e.g. using ``bzr branch``) to receive invalid data.
972
(Andrew Bennetts, #562380)
974
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
975
error. This error was caused by 2.0 not being updated when upstream
976
python merged the end of run patch, which chose ``stopTestRun`` rather than
977
``done``. (Robert Collins, #571437)
979
* When passing a file to ``UTF8DirReader`` make sure to close the current
980
directory file handle after the chdir fails. Otherwise when passing many
981
filenames into a command line ``bzr status`` we would leak descriptors.
982
(John Arbash Meinel, #583486)
988
* ``build_tree_contents`` can create symlinks.
989
(Martin Pool, John Arbash Meinel)
888
1593
executables on the ``PATH``. Migrated from bash_completion plugin.
889
1594
(Martin von Gagern)
1601
This release fixes two critical networking issues with older servers and
1602
with interrupted system call errors when pushing or pulling. We recommend
1603
upgrading to anyone running a 2.1.x version of bzr.
1608
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
1609
support of bzr-externals and scmproj plugins.
1610
(Alexander Belchenko, bug #572098)
1612
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
1613
(Aaron Bentley, #559436)
1615
* Do not register a SIGWINCH signal handler, instead just poll for the
1616
terminal width as needed. This avoids the "Interrupted System Call"
1617
problems that occur on POSIX with all currently released versions of
1619
(Andrew Bennetts, #583941)
1621
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
1622
versions before 1.6.
1623
(Andrew Bennetts, #528041)
1625
* Reset ``siginterrupt`` flag to False every time we handle a signal
1626
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
1627
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
1628
errors compared to registering ``signal.signal`` directly.
1631
* Reduce peak memory by one copy of compressed text.
1632
(John Arbash Meinel, #566940)
1634
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
1635
(John Arbash Meinel, #582656)
1637
* When passing a file to ``UTF8DirReader`` make sure to close the current
1638
directory file handle after the chdir fails. Otherwise when passing many
1639
filenames into a command line ``bzr status`` we would leak descriptors.
1640
(John Arbash Meinel, #583486)
1645
* ``_remember_remote_is_before`` no longer raises AssertionError when
1646
suboptimal network behaviour is noticed; instead it just mutters to the
1647
log file (and warns the user if they have set the ``hpss`` debug flag).
1648
This was causing unnecessary aborts for performance bugs that are minor
1650
(Andrew Bennetts, #528041)
1311
2073
happens, and another warning will be written if the log file could not
1312
2074
be closed after retrying 100 times. (Andrew Bennetts, #531746)
1317
:Codename: Do run run
1318
:2.1.3: NOT RELEASED YET
1320
Compatibility Breaks
1321
********************
1329
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
1330
previously-unversioned directory within the tree: the directory is
1331
marked versioned too.
1332
(Martin Pool, #192859)
1334
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
1335
way which should help avoid problems with concurrent writers.
1336
(Vincent Ladeuil, #525571)
1338
* Don't traceback trying to unversion children files of an already
1339
unversioned directory. (Vincent Ladeuil, #494221)
1341
* Fix ``AttributeError on parent.children`` when adding a file under a
1342
directory that was a symlink in the previous commit.
1343
(Martin Pool, #192859)
1345
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
1346
which can result in "missing referenced chk root keys" errors when
1347
fetching from repositories with affected revisions.
1348
(Andrew Bennetts, #522637)
1350
* Progress bars prefer to truncate the text message rather than the
1351
counters. The spinner is shown between the network transfer indicator
1352
and the progress message. (Martin Pool)
1354
* Raise ValueError instead of a string exception.
1355
(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.
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)
1393
This release fixes two critical networking issues with older servers and
1394
with interrupted system call errors when pushing or pulling. We recommend
1395
upgrading to anyone running a 2.1.x version of bzr.
1400
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
1401
support of bzr-externals and scmproj plugins.
1402
(Alexander Belchenko, bug #572098)
1404
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
1405
(Aaron Bentley, #559436)
1407
* Do not register a SIGWINCH signal handler, instead just poll for the
1408
terminal width as needed. This avoids the "Interrupted System Call"
1409
problems that occur on POSIX with all currently released versions of
1411
(Andrew Bennetts, #583941)
1413
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
1414
versions before 1.6.
1415
(Andrew Bennetts, #528041)
1417
* Reset ``siginterrupt`` flag to False every time we handle a signal
1418
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
1419
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
1420
errors compared to registering ``signal.signal`` directly.
1423
* Reduce peak memory by one copy of compressed text.
1424
(John Arbash Meinel, #566940)
1426
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
1427
(John Arbash Meinel, #582656)
1429
* When passing a file to ``UTF8DirReader`` make sure to close the current
1430
directory file handle after the chdir fails. Otherwise when passing many
1431
filenames into a command line ``bzr status`` we would leak descriptors.
1432
(John Arbash Meinel, #583486)
1437
* ``_remember_remote_is_before`` no longer raises AssertionError when
1438
suboptimal network behaviour is noticed; instead it just mutters to the
1439
log file (and warns the user if they have set the ``hpss`` debug flag).
1440
This was causing unnecessary aborts for performance bugs that are minor
1442
(Andrew Bennetts, #528041)
1507
2138
(Andrew Bennetts, #496813)
2146
This fifth release in our 2.0 series addresses several user-inconvenience
2147
bugs. None are critical, but upgrading is recommended for all users on
2148
earlier 2.0 releases.
2153
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
2154
(Martin Pool, #331095)
2156
* Concurrent autopacking is more resilient to already-renamed pack files.
2157
If we find that a file we are about to obsolete is already obsoleted, we
2158
do not try to rename it, and we leave the file in ``obsolete_packs``.
2159
The code is also fault tolerant if a file goes missing, assuming that
2160
another process already removed the file.
2161
(John Arbash Meinel, Gareth White, #507557)
2163
* Cope with the lockdir ``held/info`` file being empty, which seems to
2164
happen fairly often if the process is suddenly interrupted while taking
2166
(Martin Pool, #185103)
2168
* Give the warning about potentially slow cross-format fetches much
2169
earlier on in the fetch operation. Don't show this message during
2170
upgrades, and show the correct format indication for remote
2172
(Martin Pool, #456077, #515356, #513157)
2174
* Handle renames correctly when there are files or directories that
2175
differ only in case. (Chris Jones, Martin Pool, #368931)
2177
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
2178
error, report that error rather than failing with an unhelpful
2179
``UnboundLocalError``.
2180
(Andrew Bennetts, #423563)
2182
* Running ``bzr`` command without any arguments now shows bzr
2183
version number along with rest of the help text.
2184
(Parth Malwankar, #369501)
2186
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
2188
(Inada Naoki, #524560)
2193
* Added ``location-alias`` help topic.
2194
(Andrew Bennetts, #337834)
2196
* Fixed CHM generation by moving the NEWS section template into
2197
a separate file. (Ian Clatworthy, #524184)
1860
2550
tests that 'failed' - they're all just failures.
1866
:2.0.6: NOT RELEASED YET
1871
* Additional merges after an unrelated branch has been merged with its
1872
history no longer crash when deleted files are involved.
1873
(Vincent Ladeuil, John Arbash Meinel, #375898)
1875
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
1876
previously-unversioned directory within the tree: the directory is
1877
marked versioned too.
1878
(Martin Pool, #192859)
1880
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
1881
target of the symlink.
1882
(Martin Pool, John Arbash Meinel, #128562)
1884
* ``bzr revert`` now only takes write lock on working tree, instead of on
1885
both working tree and branch.
1886
(Danny van Heumen, #498409)
1888
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1889
permissions as ``.bzr`` directory on a POSIX OS.
1890
(Parth Malwankar, #262450)
1892
* Don't traceback trying to unversion children files of an already
1893
unversioned directory. (Vincent Ladeuil, #494221)
1895
* Fix ``AttributeError on parent.children`` when adding a file under a
1896
directory that was a symlink in the previous commit.
1897
(Martin Pool, #192859)
1899
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
1900
which can result in "missing referenced chk root keys" errors when
1901
fetching from repositories with affected revisions.
1902
(Andrew Bennetts, #522637)
1904
* Raise ValueError instead of a string exception.
1905
(John Arbash Meinel, #586926)
1907
* Reduce peak memory by one copy of compressed text.
1908
(John Arbash Meinel, #566940)
1910
* Repositories accessed via a smart server now reject being stacked on a
1911
repository in an incompatible format, as is the case when accessing them
1912
via other methods. This was causing fetches from those repositories via
1913
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1914
(Andrew Bennetts, #562380)
1916
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1917
error. This error was caused by 2.0 not being updated when upstream
1918
python merged the end of run patch, which chose ``stopTestRun`` rather than
1919
``done``. (Robert Collins, #571437)
1921
* When passing a file to ``UTF8DirReader`` make sure to close the current
1922
directory file handle after the chdir fails. Otherwise when passing many
1923
filenames into a command line ``bzr status`` we would leak descriptors.
1924
(John Arbash Meinel, #583486)
1930
* ``build_tree_contents`` can create symlinks.
1931
(Martin Pool, John Arbash Meinel)
1939
This fifth release in our 2.0 series addresses several user-inconvenience
1940
bugs. None are critical, but upgrading is recommended for all users on
1941
earlier 2.0 releases.
1946
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1947
(Martin Pool, #331095)
1949
* Concurrent autopacking is more resilient to already-renamed pack files.
1950
If we find that a file we are about to obsolete is already obsoleted, we
1951
do not try to rename it, and we leave the file in ``obsolete_packs``.
1952
The code is also fault tolerant if a file goes missing, assuming that
1953
another process already removed the file.
1954
(John Arbash Meinel, Gareth White, #507557)
1956
* Cope with the lockdir ``held/info`` file being empty, which seems to
1957
happen fairly often if the process is suddenly interrupted while taking
1959
(Martin Pool, #185103)
1961
* Give the warning about potentially slow cross-format fetches much
1962
earlier on in the fetch operation. Don't show this message during
1963
upgrades, and show the correct format indication for remote
1965
(Martin Pool, #456077, #515356, #513157)
1967
* Handle renames correctly when there are files or directories that
1968
differ only in case. (Chris Jones, Martin Pool, #368931)
1970
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1971
error, report that error rather than failing with an unhelpful
1972
``UnboundLocalError``.
1973
(Andrew Bennetts, #423563)
1975
* Running ``bzr`` command without any arguments now shows bzr
1976
version number along with rest of the help text.
1977
(Parth Malwankar, #369501)
1979
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1981
(Inada Naoki, #524560)
1986
* Added ``location-alias`` help topic.
1987
(Andrew Bennetts, #337834)
1989
* Fixed CHM generation by moving the NEWS section template into
1990
a separate file. (Ian Clatworthy, #524184)