662
637
(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)
1465
1241
executables on the ``PATH``. Migrated from bash_completion plugin.
1466
1242
(Martin von Gagern)
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)
1945
1664
happens, and another warning will be written if the log file could not
1946
1665
be closed after retrying 100 times. (Andrew Bennetts, #531746)
1670
:Codename: Do run run
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)
1684
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
1685
previously-unversioned directory within the tree: the directory is
1686
marked versioned too.
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)
1697
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
1698
way which should help avoid problems with concurrent writers.
1699
(Vincent Ladeuil, #525571)
1701
* Don't traceback trying to unversion children files of an already
1702
unversioned directory. (Vincent Ladeuil, #494221)
1704
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
1705
contains only NUL bytes). Instead warn the user, and allow ``bzr
1706
break-lock`` to remove it. (Andrew Bennetts, #619872)
1708
* Fix ``AttributeError on parent.children`` when adding a file under a
1709
directory that was a symlink in the previous commit.
1710
(Martin Pool, #192859)
1712
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
1713
which can result in "missing referenced chk root keys" errors when
1714
fetching from repositories with affected revisions.
1715
(Andrew Bennetts, #522637)
1717
* Progress bars prefer to truncate the text message rather than the
1718
counters. The spinner is shown between the network transfer indicator
1719
and the progress message. (Martin Pool)
1721
* Raise ValueError instead of a string exception.
1722
(John Arbash Meinel, #586926)
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)
1750
* ``build_tree_contents`` can create symlinks.
1751
(Martin Pool, John Arbash Meinel)
1758
This release fixes two critical networking issues with older servers and
1759
with interrupted system call errors when pushing or pulling. We recommend
1760
upgrading to anyone running a 2.1.x version of bzr.
1765
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
1766
support of bzr-externals and scmproj plugins.
1767
(Alexander Belchenko, bug #572098)
1769
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
1770
(Aaron Bentley, #559436)
1772
* Do not register a SIGWINCH signal handler, instead just poll for the
1773
terminal width as needed. This avoids the "Interrupted System Call"
1774
problems that occur on POSIX with all currently released versions of
1776
(Andrew Bennetts, #583941)
1778
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
1779
versions before 1.6.
1780
(Andrew Bennetts, #528041)
1782
* Reset ``siginterrupt`` flag to False every time we handle a signal
1783
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
1784
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
1785
errors compared to registering ``signal.signal`` directly.
1788
* Reduce peak memory by one copy of compressed text.
1789
(John Arbash Meinel, #566940)
1791
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
1792
(John Arbash Meinel, #582656)
1794
* When passing a file to ``UTF8DirReader`` make sure to close the current
1795
directory file handle after the chdir fails. Otherwise when passing many
1796
filenames into a command line ``bzr status`` we would leak descriptors.
1797
(John Arbash Meinel, #583486)
1802
* ``_remember_remote_is_before`` no longer raises AssertionError when
1803
suboptimal network behaviour is noticed; instead it just mutters to the
1804
log file (and warns the user if they have set the ``hpss`` debug flag).
1805
This was causing unnecessary aborts for performance bugs that are minor
1807
(Andrew Bennetts, #528041)
2010
1872
(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)
2422
2225
tests that 'failed' - they're all just failures.
2233
The sixth release in our 2.0 series addresses several user-inconvenience
2234
bugs. None are critical, but upgrading is recommended for all users on
2235
earlier 2.0 releases.
2240
* Additional merges after an unrelated branch has been merged with its
2241
history no longer crash when deleted files are involved.
2242
(Vincent Ladeuil, John Arbash Meinel, #375898)
2244
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
2245
previously-unversioned directory within the tree: the directory is
2246
marked versioned too.
2247
(Martin Pool, #192859)
2249
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
2250
target of the symlink.
2251
(Martin Pool, John Arbash Meinel, #128562)
2253
* ``bzr revert`` now only takes write lock on working tree, instead of on
2254
both working tree and branch.
2255
(Danny van Heumen, #498409)
2257
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
2258
permissions as ``.bzr`` directory on a POSIX OS.
2259
(Parth Malwankar, #262450)
2261
* Don't traceback trying to unversion children files of an already
2262
unversioned directory. (Vincent Ladeuil, #494221)
2264
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
2265
contains only NUL bytes). Instead warn the user, and allow ``bzr
2266
break-lock`` to remove it. (Andrew Bennetts, #619872)
2268
* Fix ``AttributeError on parent.children`` when adding a file under a
2269
directory that was a symlink in the previous commit.
2270
(Martin Pool, #192859)
2272
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
2273
which can result in "missing referenced chk root keys" errors when
2274
fetching from repositories with affected revisions.
2275
(Andrew Bennetts, #522637)
2277
* Raise ValueError instead of a string exception.
2278
(John Arbash Meinel, #586926)
2280
* Reduce peak memory by one copy of compressed text.
2281
(John Arbash Meinel, #566940)
2283
* Repositories accessed via a smart server now reject being stacked on a
2284
repository in an incompatible format, as is the case when accessing them
2285
via other methods. This was causing fetches from those repositories via
2286
a smart server (e.g. using ``bzr branch``) to receive invalid data.
2287
(Andrew Bennetts, #562380)
2289
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
2290
error. This error was caused by 2.0 not being updated when upstream
2291
python merged the end of run patch, which chose ``stopTestRun`` rather than
2292
``done``. (Robert Collins, #571437)
2294
* When passing a file to ``UTF8DirReader`` make sure to close the current
2295
directory file handle after the chdir fails. Otherwise when passing many
2296
filenames into a command line ``bzr status`` we would leak descriptors.
2297
(John Arbash Meinel, #583486)
2303
* ``build_tree_contents`` can create symlinks.
2304
(Martin Pool, John Arbash Meinel)
2312
This fifth release in our 2.0 series addresses several user-inconvenience
2313
bugs. None are critical, but upgrading is recommended for all users on
2314
earlier 2.0 releases.
2319
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
2320
(Martin Pool, #331095)
2322
* Concurrent autopacking is more resilient to already-renamed pack files.
2323
If we find that a file we are about to obsolete is already obsoleted, we
2324
do not try to rename it, and we leave the file in ``obsolete_packs``.
2325
The code is also fault tolerant if a file goes missing, assuming that
2326
another process already removed the file.
2327
(John Arbash Meinel, Gareth White, #507557)
2329
* Cope with the lockdir ``held/info`` file being empty, which seems to
2330
happen fairly often if the process is suddenly interrupted while taking
2332
(Martin Pool, #185103)
2334
* Give the warning about potentially slow cross-format fetches much
2335
earlier on in the fetch operation. Don't show this message during
2336
upgrades, and show the correct format indication for remote
2338
(Martin Pool, #456077, #515356, #513157)
2340
* Handle renames correctly when there are files or directories that
2341
differ only in case. (Chris Jones, Martin Pool, #368931)
2343
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
2344
error, report that error rather than failing with an unhelpful
2345
``UnboundLocalError``.
2346
(Andrew Bennetts, #423563)
2348
* Running ``bzr`` command without any arguments now shows bzr
2349
version number along with rest of the help text.
2350
(Parth Malwankar, #369501)
2352
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
2354
(Inada Naoki, #524560)
2359
* Added ``location-alias`` help topic.
2360
(Andrew Bennetts, #337834)
2362
* Fixed CHM generation by moving the NEWS section template into
2363
a separate file. (Ian Clatworthy, #524184)