5
5
.. contents:: List of Releases
11
:Codename: Suggestions welcome
12
:2.2.5: NOT RELEASED YET
23
* Correctly handle ``bzr log`` and `get_known_graph_ancestry` on a
24
doubly-stacked branch.
25
(James Westby, Martin Pool, #715000)
39
* Fixed bug in the bundled copy of ConfigObj with quoting of triple quotes
40
in the value string. Fix suggested by ConfigObj's author Michael Foord.
41
(Alexander Belchenko, #710410)
52
This is a bugfix release. Only one bug has been fixed, a regression from 2.2.3
53
involving only certain operations with launchpad. Upgrading is recommended for
54
all users on earlier 2.2 releases.
59
* Fix communications with the Launchpad web service when using
60
launchpadlib >= 1.5.5. This was a latent bug in bzr's communication
61
with Launchpad's production instance, which only became a problem when
62
the default instance was switched from edge to production in bzr 2.2.3.
63
(Max Bowsher, #707075)
71
This is a bugfix release. Upgrading is recommended for all users
72
on earlier 2.2 releases.
77
* Launchpad has announced that the ``edge.launchpad.net`` instance is
78
deprecated and may be shut down in the future
79
<http://blog.launchpad.net/general/edge-is-deprecated>. Bazaar has therefore
80
been updated in this release to talk to the main (``launchpad.net``) servers,
81
rather than the ``edge`` ones. (Vincent Ladeuil, #583667)
91
* Avoid UnicodeDecodeError in ``bzr add`` with multiple files under a non-ascii
92
path on windows from symlink support addition. (Martin [gz], #686611)
94
* Correctly resolve content (and path) conflicts for files in subdirs.
95
(Vincent Ladeuil, #660935)
97
* Don't probe for a repository from within ``NotBranchError.__repr__``,
98
because this can cause knock-on errors at awkward times.
99
(Andrew Bennetts, #687653)
101
* Fix a crash during ``RepositoryPackCollection.pack`` caused by a
102
concurrent repository pack operation. This was particularly affecting
103
``bzr-svn`` users. (Andrew Bennetts, #701940)
105
* ``https`` access works again with recent versions of python2.7.
106
(Vincent Ladeuil, #693880)
108
* RevisionTree.is_executable no longer returns None for directories and
109
symlinks. Instead, it returns False, like other Trees and methods.
110
(Aaron Bentley, #681885)
118
This is a bugfix release. None of these bugfixes are critical, but upgrading
119
is recommended for all users on earlier 2.2 releases.
124
* ``bzr resolve --take-other <file>`` will not crash anymore if ``<file>``
125
is involved in a text conflict (but the conflict is still not
126
resolved). (Vincent Ladeuil, #646961)
128
* Commit in a bound branch or heavyweight checkout now propagates tags
129
(e.g. from a merge) to the master branch (and informs the user if there
130
is a conflict). (Andrew Bennetts, #603395)
132
* Correctly set the Content-Type header when http POSTing to comply
133
with stricter web frameworks. (Vincent Ladeuil, #665100)
135
* ``NotBranchError`` no longer allows errors from calling
136
``bzrdir.open_repository()`` to propagate. This is unhelpful at best,
137
and at worst can trigger infinite loops in callers. (Andrew Bennetts)
139
* Skip tests that needs a bzr source tree when there isn't one. This is
140
needed to succesfully run the test suite for installed versions.
141
(Vincent Ladeuil, #644855).
143
* Skip the tests that requires respecting the chmod bits when running as
144
root. Including the one that wasn't present in 2.1.
145
(Vincent Ladeuil, #646133)
147
* Using bzr with `lp:` urls behind an http proxy should work.
148
(Robert Collins, #558343)
150
* Windows installers no longer requires the Microsoft vcredist to be
152
(Martin [gz], Gary van der Merwe, #632465)
154
* Close leaked socket to SSH subprocesses, which caused dput sftp uploads
155
to hang. (Max Bowsher, #659590)
160
* Add ``tests/ssl_certs/ca.crt`` to the required test files list. Test
161
involving the pycurl https test server fail otherwise when running
162
selftest from an installed version. (Vincent Ladeuil, #651706)
164
* Fix tests that failed when run under ``LANG=C``.
165
(Andrew Bennetts, #632387)
173
This is a bugfix release which also includes bugfixes from 2.0.6 and
174
2.1.3. None are critical, but upgrading is recommended for all users on
175
earlier 2.2 releases.
180
* Additional merges after an unrelated branch has been merged with its
181
history no longer crash when deleted files are involved.
182
(Vincent Ladeuil, John Arbash Meinel, #375898)
184
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
185
previously-unversioned directory within the tree: the directory is
186
marked versioned too.
187
(Martin Pool, #192859)
189
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
190
target of the symlink.
191
(Martin Pool, John Arbash Meinel, #128562)
193
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
194
permissions as ``.bzr`` directory on a POSIX OS.
195
(Parth Malwankar, #262450)
197
* CommitBuilder now uses the committer instead of _config.username to generate
198
the revision-id. (Aaron Bentley, #614404)
200
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
201
way which should help avoid problems with concurrent writers.
202
(Vincent Ladeuil, #525571)
204
* Cope with Microsoft FTP server that returns reply '250 Directory
205
created' when mkdir succeeds. (Martin Pool, #224373)
207
* Don't traceback trying to unversion children files of an already
208
unversioned directory. (Vincent Ladeuil, #494221)
210
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
211
contains only NUL bytes). Instead warn the user, and allow ``bzr
212
break-lock`` to remove it. (Andrew Bennetts, #619872)
214
* Fix ``AttributeError on parent.children`` when adding a file under a
215
directory that was a symlink in the previous commit.
216
(Martin Pool, #192859)
218
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
219
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
220
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
221
stderr in some other circumstances. (Andrew Bennetts, #633745)
223
* Only call ``setlocale`` in the bzr startup script on posix systems. This
224
avoids an issue with the newer windows C runtimes used by Python 2.6 and
225
later which can mangle bytestrings printed to the console.
226
(Martin [gz], #631350)
228
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
229
which can result in "missing referenced chk root keys" errors when
230
fetching from repositories with affected revisions.
231
(Andrew Bennetts, #522637)
233
* Raise ValueError instead of a string exception.
234
(John Arbash Meinel, #586926)
236
* Reduce peak memory by one copy of compressed text.
237
(John Arbash Meinel, #566940)
239
* Repositories accessed via a smart server now reject being stacked on a
240
repository in an incompatible format, as is the case when accessing them
241
via other methods. This was causing fetches from those repositories via
242
a smart server (e.g. using ``bzr branch``) to receive invalid data.
243
(Andrew Bennetts, #562380)
245
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
246
error. This error was caused by 2.0 not being updated when upstream
247
python merged the end of run patch, which chose ``stopTestRun`` rather than
248
``done``. (Robert Collins, #571437)
250
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
251
being thrown from ``xml_serializer`` on certain cElementTree setups.
252
(Martin [gz], #254278)
254
* Upgrading or fetching from a non-rich-root repository to a rich-root
255
repository (e.g. from pack-0.92 to 2a) no longer fails with
256
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
257
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
259
* When passing a file to ``UTF8DirReader`` make sure to close the current
260
directory file handle after the chdir fails. Otherwise when passing many
261
filenames into a command line ``bzr status`` we would leak descriptors.
262
(John Arbash Meinel, #583486)
267
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
268
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
269
(John Arbash Meinel, #617503)
274
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
280
* ``build_tree_contents`` can create symlinks.
281
(Martin Pool, John Arbash Meinel)
283
* Tracebacks from a parameterized test are no longer reported against every
284
parameterization of that test. This was done by adding a hack to
285
``bzrlib.tests.clone_test`` so that it no longer causes
286
testtools.TestCase instances to share a details dict.
287
(Andrew Bennetts, #625574)
293
:2.1.4: NOT RELEASED YET
298
* Launchpad has announced that the ``edge.launchpad.net`` instance is
299
deprecated and may be shut down in the future
300
<http://blog.launchpad.net/general/edge-is-deprecated>. Bazaar has therefore
301
been updated in this release to talk to the main (``launchpad.net``) servers,
302
rather than the ``edge`` ones. (Vincent Ladeuil, #583667)
310
* Avoid UnicodeDecodeError in ``bzr add`` with multiple files under a non-ascii
311
path on windows from symlink support addition. (Martin [gz], #686611)
313
* Skip tests that needs a bzr source tree when there isn't one. This is
314
needed to succesfully run the test suite for installed versions.
315
(Vincent Ladeuil, #644855).
317
* Skip the tests that requires respecting the chmod bits when running as root.
318
(Vincent Ladeuil, #646133)
320
* Using bzr with `lp:` urls behind an http proxy should work.
321
(Robert Collins, #558343)
342
:Codename: Do run run
345
The third release in our 2.1 series addresses several user-inconvenience bugs
346
(and includes the fixes done in 2.0.6). None are critical, but upgrading is
347
recommended for all users on earlier 2.1 releases.
352
* Additional merges after an unrelated branch has been merged with its
353
history no longer crash when deleted files are involved.
354
(Vincent Ladeuil, John Arbash Meinel, #375898)
356
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
357
previously-unversioned directory within the tree: the directory is
358
marked versioned too.
359
(Martin Pool, #192859)
361
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
362
target of the symlink.
363
(Martin Pool, John Arbash Meinel, #128562)
365
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
366
permissions as ``.bzr`` directory on a POSIX OS.
367
(Parth Malwankar, #262450)
369
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
370
way which should help avoid problems with concurrent writers.
371
(Vincent Ladeuil, #525571)
373
* Don't traceback trying to unversion children files of an already
374
unversioned directory. (Vincent Ladeuil, #494221)
376
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
377
contains only NUL bytes). Instead warn the user, and allow ``bzr
378
break-lock`` to remove it. (Andrew Bennetts, #619872)
380
* Fix ``AttributeError on parent.children`` when adding a file under a
381
directory that was a symlink in the previous commit.
382
(Martin Pool, #192859)
384
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
385
which can result in "missing referenced chk root keys" errors when
386
fetching from repositories with affected revisions.
387
(Andrew Bennetts, #522637)
389
* Raise ValueError instead of a string exception.
390
(John Arbash Meinel, #586926)
392
* Reduce peak memory by one copy of compressed text.
393
(John Arbash Meinel, #566940)
395
* Repositories accessed via a smart server now reject being stacked on a
396
repository in an incompatible format, as is the case when accessing them
397
via other methods. This was causing fetches from those repositories via
398
a smart server (e.g. using ``bzr branch``) to receive invalid data.
399
(Andrew Bennetts, #562380)
401
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
402
error. This error was caused by 2.0 not being updated when upstream
403
python merged the end of run patch, which chose ``stopTestRun`` rather than
404
``done``. (Robert Collins, #571437)
406
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
407
being thrown from ``xml_serializer`` on certain cElementTree setups.
408
(Martin [gz], #254278)
410
* When passing a file to ``UTF8DirReader`` make sure to close the current
411
directory file handle after the chdir fails. Otherwise when passing many
412
filenames into a command line ``bzr status`` we would leak descriptors.
413
(John Arbash Meinel, #583486)
418
* ``build_tree_contents`` can create symlinks.
419
(Martin Pool, John Arbash Meinel)
425
:2.0.7: NOT RELEASED YET
430
* Launchpad has announced that the ``edge.launchpad.net`` instance is
431
deprecated and may be shut down in the future
432
<http://blog.launchpad.net/general/edge-is-deprecated>. Bazaar has therefore
433
been updated in this release to talk to the main (``launchpad.net``) servers,
434
rather than the ``edge`` ones. (Vincent Ladeuil, #583667)
442
* Avoid UnicodeDecodeError in ``bzr add`` with multiple files under a non-ascii
443
path on windows from symlink support addition. (Martin [gz], #686611)
466
The sixth release in our 2.0 series addresses several user-inconvenience
467
bugs. None are critical, but upgrading is recommended for all users on
468
earlier 2.0 releases.
473
* Additional merges after an unrelated branch has been merged with its
474
history no longer crash when deleted files are involved.
475
(Vincent Ladeuil, John Arbash Meinel, #375898)
477
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
478
previously-unversioned directory within the tree: the directory is
479
marked versioned too.
480
(Martin Pool, #192859)
482
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
483
target of the symlink.
484
(Martin Pool, John Arbash Meinel, #128562)
486
* ``bzr revert`` now only takes write lock on working tree, instead of on
487
both working tree and branch.
488
(Danny van Heumen, #498409)
490
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
491
permissions as ``.bzr`` directory on a POSIX OS.
492
(Parth Malwankar, #262450)
494
* Don't traceback trying to unversion children files of an already
495
unversioned directory. (Vincent Ladeuil, #494221)
497
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
498
contains only NUL bytes). Instead warn the user, and allow ``bzr
499
break-lock`` to remove it. (Andrew Bennetts, #619872)
501
* Fix ``AttributeError on parent.children`` when adding a file under a
502
directory that was a symlink in the previous commit.
503
(Martin Pool, #192859)
505
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
506
which can result in "missing referenced chk root keys" errors when
507
fetching from repositories with affected revisions.
508
(Andrew Bennetts, #522637)
510
* Raise ValueError instead of a string exception.
511
(John Arbash Meinel, #586926)
513
* Reduce peak memory by one copy of compressed text.
514
(John Arbash Meinel, #566940)
516
* Repositories accessed via a smart server now reject being stacked on a
517
repository in an incompatible format, as is the case when accessing them
518
via other methods. This was causing fetches from those repositories via
519
a smart server (e.g. using ``bzr branch``) to receive invalid data.
520
(Andrew Bennetts, #562380)
522
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
523
error. This error was caused by 2.0 not being updated when upstream
524
python merged the end of run patch, which chose ``stopTestRun`` rather than
525
``done``. (Robert Collins, #571437)
527
* When passing a file to ``UTF8DirReader`` make sure to close the current
528
directory file handle after the chdir fails. Otherwise when passing many
529
filenames into a command line ``bzr status`` we would leak descriptors.
530
(John Arbash Meinel, #583486)
536
* ``build_tree_contents`` can create symlinks.
537
(Martin Pool, John Arbash Meinel)
546
This release marks the start of another long-term-stable series. From
547
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
548
while 2.3 will become our new development series. The 2.0 and 2.1 series
549
will also continue to get bugfixes. (Currently 2.0 is planned to be
550
supported for another 6 months.)
552
This is primarily a bugfix and polish release over the 2.1 series, with
553
a large number of bugs fixed (>120), and some performance improvements.
555
There are some compatibility changes in this release. For users of bzrlib
556
as a library, we now request that they call ``bzrlib.initialize`` and use
557
the returned context manager appropriately. For commandline users we no
558
longer guess user identity for ``bzr commit``, users must specify their
559
identity using ``bzr whoami`` (you don't need to specify your identity for
560
readonly operations).
562
Users are encouraged to upgrade from the other stable series.
567
* BzrError subclasses no longer support the name "message" to be used
568
as an argument for __init__ or in _fmt format specification as this
569
breaks in some Python versions. errors.LockError.__init__ argument
570
is now named "msg" instead of earlier "message".
571
(Parth Malwankar, #603461)
573
* The old ``bzr selftest --benchmark`` option has been removed.
574
<https://launchpad.net/bzr-usertest> is an actively-maintained
575
macrobenchmark suite.
581
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
582
``InvalidPattern`` exception error message now shows faulting
584
(Parth Malwankar #300062)
586
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
587
way which should help avoid problems with concurrent writers.
588
(Vincent Ladeuil, #525571)
590
* Don't traceback trying to unversion children files of an already
591
unversioned directory. (Vincent Ladeuil, #494221)
593
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
594
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
596
* Progress bars prefer to truncate the text message rather than the
597
counters. The spinner is shown between the network transfer indicator
598
and the progress message. Progress bars are correctly cleared off when
599
they finish. (Martin Pool, #611127)
601
* Recursive binding for checkouts is now detected by bzr. A clear error
602
message is shown to the user. (Parth Malwankar, #405192)
607
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
608
tree, and works with unrelated branches. (Andrew Bennetts)
610
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
611
GUI with out have a console open in the background.
612
(Gary van der Merwe, #433781)
617
* ``bzr help patterns`` now explains case insensitive patterns and
618
points to Python regular expression documentation.
619
(Parth Malwankar, #594386)
624
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
629
* Unit test added to ensure that "message" is not uses as a format variable
630
name in BzrError subclasses as this conflicts with some Python versions.
631
(Parth Malwankar, #603461)
636
:Codename: Monkey Magic
640
This fourth and final beta in the 2.2 series now stabilizes the internal
641
APIs. Plugin authors are recommended to ensure their releases are
642
compatible, so that 2.2rc1 can be a true release candidate, containing
643
stable and compatible plugin versions.
645
For users of bzrlib as a library, one of the primary changes is to request
646
that they call ``bzrlib.initialize`` and use the returned context manager
649
Better interaction with ``bzr-loom`` to make sure branching from a loom
650
even over a smart server still yields a local loom. Not to mention lots of
656
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
657
the result of ``bzrlib.initialize``. This change was made when fixing
658
the bad habit recent bzr versions have had of leaving progress bars
659
behind on the screen. That required calling another function before
660
exiting the program, and it made sense to provide a full context
661
manager at the same time. (Robert Collins)
663
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
664
context manager in the Python 2.5 and above sense. The bzrlib base class
665
is such a manager, but third party UI factories which do not derive from
666
``bzrlib.ui.UIFactory`` will be incompatible with the command line front
669
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
670
and path "bar/baz", even if bzr does not recognize "foo" as a known URL
671
scheme. Previously these URLs would be treated as local paths.
678
* Support ``--directory`` option for a number of additional commands:
679
conflicts, merge-directive, missing, resolve, shelve, switch,
680
unshelve, whoami. (Martin von Gagern, #527878)
685
* ``bzr branch`` to a new repository with a default stacking policy no
686
longer transfers the full history unnecessarily.
687
(Andrew Bennetts, #597942)
689
* ``bzr init`` does not recursively scan directory contents anymore
690
leading to faster init for directories with existing content.
691
(Martin [gz], Parth Malwankar, #501307)
693
* ``bzr log --exclude-common-ancestry`` is now taken into account for
694
linear ancetries. (Vincent Ladeuil, #575631)
696
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
697
rather than trying to fetch the data locally and failing because of a
698
readonly error. (Martin von Gagern, #149270)
700
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
701
or pull location in locations.conf or branch.conf.
702
(Gordon Tyler, #534787)
704
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
705
smart server. (Andrew Bennetts, #551525)
707
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
708
(Marius Kruger, Robert Collins)
710
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
711
(Marius Kruger, Robert Collins)
713
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
714
proper error messages. (Vincent Ladeuil, #591215)
716
* Explicitly removing ``--profile-imports`` option from parsed command-line
717
arguments on Windows, because bzr script does the same.
718
(Alexander Belchenko, #588277)
720
* Fetching was slightly confused about the best code to use and was
721
using a new code path for all branches, resulting in more lookups than
722
necessary on old branches. (Robert Collins, #593515)
724
* Final fix for 'no help for command' issue. We now show a clean message
725
when a command has no help, document how to set help more clearly, and
726
test that all commands available to the test suite have help.
727
(Robert Collins, #177500)
729
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
730
``InvalidPattern`` exception showing clear error message to the user.
731
(Parth Malwankar #300062)
733
* Progress output is cleaned up when exiting. (Aaron Bentley)
735
* Raise ValueError instead of a string exception.
736
(John Arbash Meinel, #586926)
738
* Relative imports in plugins are now handled correctly when using
739
BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
741
* ``ScriptRunner`` now strips off leading indentation from test scripts,
742
which previously caused "SyntaxError: No command for line".
745
* Show unicode filenames in diff headers using terminal encoding.
746
(Alexander Belchenko, Bug #382699)
747
NOTE for Windows users: If user need to save diff to file then user need to
748
change encoding of the terminal to ANSI encoding with command ``chcp XXX``
749
(e.g. ``chcp 1251`` for Russian Windows).
751
* URL displayed for use with ``break-lock`` when smart server sees lock
752
contention are now valid. Default timeout for lock contention retry is
753
now 30 seconds instead of 300 seconds.
754
(Parth Malwankar, #250451)
756
* ``walkdirs`` now raises a useful message when the filenames are not using
757
the filesystem encoding. (Eric Moritz, #488519)
759
* Enable debugging of bzr on windows with pdb and other tools. This was
760
broken because we call GetCommandLineW on windows. The fix adjusts the
761
command line we get to be the same length as sys.argv.
762
(Jason Spashett, Alexander Belchenko, #587868)
767
* Bazaar now reads data from SSH connections more efficiently on platforms
768
that provide the ``socketpair`` function, and when using paramiko.
769
(Andrew Bennetts, #590637)
771
* ``Branch.copy_content_into`` is now a convenience method dispatching to
772
a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
773
plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
774
(Robert Collins, #201613)
776
* ``Branch`` formats can now be loaded lazily by registering a
777
``MetaDirBranchFormatFactory`` rather than an actual format. This will
778
cause the named format class to be loaded only when an enumeration of
779
formats is needed or when the format string for the object is
780
encountered. (Robert Collins, Jelmer Vernooij)
782
* The encoding that bzr uses to output things other than file content can
783
now be overridden via the output_encoding configuration option.
784
(Martin Pool, #340394)
786
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
787
do not cause modules to be loaded unnecessarily just because the plugin
788
registers a merge hook. This improves ``bzr rocks`` time by about 25%
789
in a default installation (with just the core plugins).
795
* Added ``regression`` tag to our tags list. (Robert Collins)
797
* Improved our release checklist to have a bit less churn and leave things
798
ready-to-go for the next action (including other people doing
799
development). (Robert Collins)
801
* Remove obsolete discussion of PQM in documentation about how to
802
contribute to Bazaar. (Martin Pool, #588444)
807
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
808
an iterable of format pairs, rather than just a single pair, permitting
809
InterBranch objects that work with multiple permutations to be
810
comprehensively tested. (Robert Collins)
812
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
813
profiles when concurrent profile requests are made. Instead the profile
814
requests will be serialised. Reentrant requests will now deadlock.
817
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
818
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
819
``bzrlib.patiencediff`` instead. (Andrew Bennetts)
821
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
822
``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
823
case the default error message not suitable for the use case.
826
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated. It provided only
827
one method ``check_output``, and we now recommend checking command
828
output using ``run_script``. (Martin Pool)
830
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
831
that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
832
Third-party implementations of ``SSHVendor`` may need to be updated
833
accordingly. Similarly, any code using ``SSHConnection`` directly will
834
need to be updated. (Andrew Bennetts)
836
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
837
changed to take an ``SSHParams`` instance (replacing many individual
838
values). (Andrew Bennetts)
843
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
844
selection when explicitly requested; this avoids many duplicate calls
845
being logged when helpers, wrappers and older code that manually calls
846
it are executed it is now logged deliberately by the ui setup code.
849
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
851
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
852
that ``sys.getsizeof`` and other memory analysis tools will report more
853
accurate results. (Andrew Bennetts)
855
* The symbol_versioning module can now cleanup after itself -
856
``suppress_deprecation_warnings`` now returns a cleanup function.
862
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
863
to test. (Martin Pool)
865
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
866
(Vincent Ladeuil, #595587)
11
:2.2b3: NOT RELEASED YET
873
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
874
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
875
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
876
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
877
bash completion script and bzr will no longer guess at identity details -
878
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
879
For developers we have some API changes which may impact plugins as well
880
as a bunch of our regular improvements to internal clarity and test
13
883
Compatibility Breaks
14
884
********************
886
* An API break has been made to the lock_write method of ``Branch`` and
887
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
888
and ``repository.RepositoryWriteLockResult`` objects. This makes
889
changing the API in future easier and permits some cleaner calling code.
890
The lock_read method has also changed from having no defined return
891
value to returning ``LogicalLockResult`` objects.
894
* ``bzr`` does not try to guess the username as ``username@hostname``
895
and requires it to be explictly set. This can be set using ``bzr
896
whoami``. (Parth Malwankar, #549310)
898
* ``bzrlib.commands.Command`` will now raise ValueError during
899
construction if there is no __doc__ set. (Note, this will be reverted in
900
2.2b4) (Robert Collins)
902
* The source tree no longer contains a contrib/zsh/_bzr completion
903
script. The new file contrib/zsh/README suggests alternatives.
904
(Martin von Gagern, #560030)