5
5
.. contents:: List of Releases
12
:2.3b1: NOT RELEASED YET
17
* BzrError subclasses no longer support the name "message" to be used
18
as an argument for __init__ or in _fmt format specification as this
19
breaks in some Python versions. errors.LockError.__init__ argument
20
is now named "msg" instead of earlier "message".
21
(Parth Malwankar, #603461)
23
* ``bzrlib.transform.TreeTransformBase.final_kind``,
24
``bzrlib.transform.TreeTransform.tree_kind`` and
25
``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
26
of raising NoSuchFile. (Vincent Ladeuil)
28
* `decode` parameter to get() method in FtpTransport and GioTransport classes
29
is deprecated. (Alexander Belchenko)
31
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
35
* `tree_files` and `internal_tree_files` are now deprecated in favor of
36
`WorkingTree.open_containing_paths`.
39
* `ControlDirFormat` and `ControlDir` have been split out of `BzrDirFormat`
40
and `BzrDir`, respectively. `ControlDirFormat`
41
and `ControlDir` should be used as the base classes for new non-.bzr
44
`BzrDirFormat.register_control_format` has been renamed to
45
`ControlDirFormat.register_format`.
47
`BzrDirFormat.register_server_control_format` has been removed.
49
Probing for control directories is now done by separate objects derived
50
from `bzrlib.controldir.Prober` and registered using
51
`bzrlib.controldir.ControlDirFormat.register_prober` or
52
`bzrlib.controldir.ControlDirFormat.register_server_prober`.
53
`BzrDirFormat.probe_transport` has been moved onto `Prober`.
55
`BzrDirFormat.register_format` has been renamed to
56
`BzrProber.register_bzrdir_format`.
58
`bzrlib.bzrdir.network_format_registry` has been moved to
63
* The old ``bzr selftest --benchmark`` option has been removed.
64
<https://launchpad.net/bzr-usertest> is an actively-maintained
71
* Added ``pre_status`` and ``post_status`` hooks. This allows plugins
72
to register custom handlers which will be invoked before/after the
73
standard status output is displayed. (Parth Malwankar)
75
* ``bzr break-lock --config [location]`` can now break config files
76
locks. (Vincent Ladeuil, #525571)
78
* ``bzrlib.config.LockableConfig`` is a base class for config files that
79
needs to be protected against multiple writers. All methods that
80
change a configuration variable value must be decorated with
81
@needs_write_lock (set_option() for example).
82
(Vincent Ladeuil, #525571)
84
* The ``lp:`` prefix will now use your known username (from
85
``bzr launchpad-login``) to expand ``~`` to your username. For example:
86
``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
87
push to ``lp:~user/project/branch``. (John Arbash Meinel)
89
* New development format ``development8-subtree`` which is similar to the
90
``2a`` format and adds subtree support. (Jelmer Vernooij)
95
* Allow using both --using and --diff-options.
96
(Matthäus G. Chajdas, #234708)
98
* Allow using non-integer bug ID with generic bug trackers.
99
(Alexandre Garnier, #440472)
101
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
102
previously-unversioned directory within the tree: the directory is
103
marked versioned too.
104
(Martin Pool, #192859)
106
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
107
``InvalidPattern`` exception error message now shows faulting
109
(Parth Malwankar #300062)
111
* ``clean-tree`` issues a warning if it is unable to delete a file
112
due to ``errno.EACCES`` instead of exiting with an error on Windows.
113
(Parth Malwankar, #430785)
115
* CommitBuilder now uses the committer instead of _config.username to generate
116
the revision-id. (Aaron Bentley, #614404)
118
* Configuration files in ``${BZR_HOME}`` are now protected against
119
concurrent writers by using a lock. (Vincent Ladeuil, #525571)
121
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
122
Directory created' when mkdir succeeds. (Martin Pool, #224373)
124
* Decrease peak memory during ``bzr send``. The old code was caching all
125
text content and all inventory strings for all revisions before
126
computing the diffs. Now we only cache as long as there is a child that
127
will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
128
256MB peak. (John Arbash Meinel, #614576)
130
* Don't print internal object name when print an invalid revision spec
131
error. (Neil Martinsen-Burrell, #598701)
133
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
134
contains only NUL bytes). Instead warn the user, and allow ``bzr
135
break-lock`` to remove it. (Andrew Bennetts, #619872)
137
* ``EPIPE`` can be raised during test server shutdown. This happened on
138
gentoo only so far. (Vincent Ladeuil, #627277)
140
* Errors occurring during http(s) test server starts should now be
141
handled cleanly. (Vincent Ladeuil, #392402)
143
* Fix ``AttributeError on parent.children`` when adding a file under a
144
directory that was a symlink in the previous commit.
145
(Martin Pool, #192859)
147
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
148
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
149
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
150
stderr in some other circumstances. (Andrew Bennetts, #633745)
152
* Fix spurious paramiko warning on hardy by ensuring that ``selftest``
153
properly remove its warning filter. (Vincent Ladeuil, #625686)
155
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
156
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
158
* Most of the leaked threads during selftest are now fixed, allowing the
159
full test suite to pass on gentoo.
160
(Vincent Ladeuil, #392127)
162
* Only call ``setlocale`` in the bzr startup script on posix systems. This
163
avoids an issue with the newer windows C runtimes used by Python 2.6 and
164
later which can mangle bytestrings printed to the console.
165
(Martin [gz], #631350)
167
* `PathNotChild` should not give a traceback.
168
(Martin Pool, #98735)
170
* ``PQM`` will no longer ignore syntax errors in submissions.
171
(Vincent Ladeuil, #626667)
173
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
174
which can result in "missing referenced chk root keys" errors when
175
fetching from repositories with affected revisions.
176
(Andrew Bennetts, #522637)
178
* strace test-helper tests cope with the new Ubuntu policy of not allowing
179
users to attach to their own processes by default.
180
(Martin Pool, #626679)
182
* Test classes like ``TestCase``, ``TestLoader``, and ``TestSuite`` should
183
be available from ``bzrlib.tests.*``. They used to be, but were
184
accidentally removed. (John Arbash Meinel, #627438)
186
* ``Transport.stat`` on a symlink, including a transport pointing directly
187
to a symlink, now returns information about the symlink.
190
* Wait for the SSH server to actually finish, rather than just waiting for
191
it to negotiate the key exchange. (John Arbash Meinel, #626876)
196
* ``bzr remove`` now just backs up changed files instead of exiting,
197
forcing you to choose to either keep or delete them. Bazaar will now delete
198
the files if they can easily be recovered using revert, otherwise they
199
will be backed up (adding an extention of the form .~#~).
200
(Marius Kruger, #400554)
202
* ``bzr revert`` and ``bzr status`` are up to 15% faster on large trees
203
with many changes by not repeatedly building a list of all file-ids.
206
* Decrease memory consumption when many chk index pages are loaded. (Such
207
as during ``bzr co`` or ``bzr ls -R`` of a large tree.) Often we need to
208
read many chk pages because the individual chk map nodes will be spread
209
randomly. Peak memory for 'bzr ls -R' on a large tree dropped from 396MB
210
down to 247MB, expect even more significant savings on 64-bit platforms.
213
* ``DirState`` internals use a little bit less memory. For bzr.dev it
214
drops the memory from 1MB down to about 800kB. And replaces a few
215
thousand tuples and sets with StaticTuple. (John Arbash Meinel)
217
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
218
have dropped from 68 bytes to 40, and directory entries from 120 bytes
219
to 48). (Andrew Bennetts)
221
* When building new working trees, default to reading from the repository
222
rather than the source tree unless explicitly requested. (via
223
``--files-from`` and ``--hardlink`` for ``bzr branch`` and
224
``bzr checkout``. Generally, 2a format repositories extract
225
content faster than seeking and reading content from another tree,
226
especially in cold-cache situations. (John Arbash Meinel, #607298)
228
* Add ``__pycache__`` to the default ``ignores`` file. Future releases of
229
Python will use this directory to store bytecodes.
230
(Andrea Corbellini, #626687)
235
* Added a builder/writer sphinx extension that can generate texinfo files. The
236
generated files are syntactically correct but the info navigation nodes
237
needs more work. (Vincent Ladeuil, #219334)
239
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
240
to make the tests conditional.
243
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
244
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
245
(John Arbash Meinel, #617503)
250
* Configuration files should now use the ``from_string`` constructor rather
251
than the ``file`` parameter of the ``_get_parser`` method. The later has
252
been deprecated. ``from_string`` also accept a ``save=True`` parameter to
253
have the configuration file immediately written to disk.
256
* Deprecate treating a `PushResult` and `PullResult` as an integer for the
257
relative change in revno.
260
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
261
the rather than the ``file`` parameter of the ``_get_parser`` method. The
262
later has been deprecated. (Vincent Ladeuil)
264
* InventoryEntry instances now raise AttributeError if you try to assign
265
to attributes that are irrelevant to that kind of entry. e.g. setting
266
``symlink_target`` on an InventoryFile will fail. It is still okay to
267
read those attributes on any kind of InventoryEntry. The complete list
268
of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
269
``text_size`` (only valid for kind == file); ``symlink_target`` (only
270
valid for kind == link); and ``reference_revision`` (only valid for kind
271
== tree-reference). (Andrew Bennetts)
273
* InventoryEntry objects no longer have ``_put_in_tar`` or
274
``_put_on_disk`` methods. (Andrew Bennetts)
276
* The ``get_filename`` parameter in the ``config.IniBaseConfig``
277
constructor has been deprecated, use the ``file_name`` parameter instead.
283
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
289
* HTTP test servers will leak less threads (and sockets) and will not hang on
290
AIX anymore. (Vincent Ladeuil, #405745)
292
* Rearrange thread leak detection code to eliminate global state and make it
293
possible to extend the reporting. (Marting [gz], #633462)
295
* The test suite now simply holds log files in memory, rather than writing them
296
out to disk and then reading them back in and deleting them.
299
* The way ``bzr selftest --parallel`` generates N partitions of tests to
300
run in parallel has changed. Instead of splitting the list of tests at
301
N-1 points, it distributes the tests one-by-one into the partitions in a
302
round robin fashion. This reduces the total time to run the tests in
303
parallel because a series of slow tests in the test suite will be
304
distributed evenly among the parallel test suites, rather than slowing
305
down just one suite. (Andrew Bennetts)
312
:2.2.1: NOT RELEASED YET
317
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
318
previously-unversioned directory within the tree: the directory is
319
marked versioned too.
320
(Martin Pool, #192859)
322
* CommitBuilder now uses the committer instead of _config.username to generate
323
the revision-id. (Aaron Bentley, #614404)
325
* Cope with Microsoft FTP server that returns reply '250 Directory
326
created' when mkdir succeeds. (Martin Pool, #224373)
328
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
329
contains only NUL bytes). Instead warn the user, and allow ``bzr
330
break-lock`` to remove it. (Andrew Bennetts, #619872)
332
* Fix ``AttributeError on parent.children`` when adding a file under a
333
directory that was a symlink in the previous commit.
334
(Martin Pool, #192859)
336
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
337
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
338
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
339
stderr in some other circumstances. (Andrew Bennetts, #633745)
341
* Only call ``setlocale`` in the bzr startup script on posix systems. This
342
avoids an issue with the newer windows C runtimes used by Python 2.6 and
343
later which can mangle bytestrings printed to the console.
344
(Martin [gz], #631350)
352
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
353
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
354
(John Arbash Meinel, #617503)
359
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
369
This release marks the start of another long-term-stable series. From
370
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
371
while 2.3 will become our new development series. The 2.0 and 2.1 series
372
will also continue to get bugfixes. (Currently 2.0 is planned to be
373
supported for another 6 months.)
375
This is primarily a bugfix and polish release over the 2.1 series, with
376
a large number of bugs fixed (>120), and some performance improvements.
378
There are some compatibility changes in this release. For users of bzrlib
379
as a library, we now request that they call ``bzrlib.initialize`` and use
380
the returned context manager appropriately. For commandline users we no
381
longer guess user identity for ``bzr commit``, users must specify their
382
identity using ``bzr whoami`` (you don't need to specify your identity for
383
readonly operations).
385
Users are encouraged to upgrade from the other stable series.
390
* BzrError subclasses no longer support the name "message" to be used
391
as an argument for __init__ or in _fmt format specification as this
392
breaks in some Python versions. errors.LockError.__init__ argument
393
is now named "msg" instead of earlier "message".
394
(Parth Malwankar, #603461)
396
* The old ``bzr selftest --benchmark`` option has been removed.
397
<https://launchpad.net/bzr-usertest> is an actively-maintained
398
macrobenchmark suite.
404
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
405
``InvalidPattern`` exception error message now shows faulting
407
(Parth Malwankar #300062)
409
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
410
way which should help avoid problems with concurrent writers.
411
(Vincent Ladeuil, #525571)
413
* Don't traceback trying to unversion children files of an already
414
unversioned directory. (Vincent Ladeuil, #494221)
416
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
417
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
419
* Progress bars prefer to truncate the text message rather than the
420
counters. The spinner is shown between the network transfer indicator
421
and the progress message. Progress bars are correctly cleared off when
422
they finish. (Martin Pool, #611127)
424
* Recursive binding for checkouts is now detected by bzr. A clear error
425
message is shown to the user. (Parth Malwankar, #405192)
430
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
431
tree, and works with unrelated branches. (Andrew Bennetts)
433
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
434
GUI with out have a console open in the background.
435
(Gary van der Merwe, #433781)
440
* ``bzr help patterns`` now explains case insensitive patterns and
441
points to Python regular expression documentation.
442
(Parth Malwankar, #594386)
447
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
452
* Unit test added to ensure that "message" is not uses as a format variable
453
name in BzrError subclasses as this conflicts with some Python versions.
454
(Parth Malwankar, #603461)
459
:Codename: Monkey Magic
463
This fourth and final beta in the 2.2 series now stabilizes the internal
464
APIs. Plugin authors are recommended to ensure their releases are
465
compatible, so that 2.2rc1 can be a true release candidate, containing
466
stable and compatible plugin versions.
468
For users of bzrlib as a library, one of the primary changes is to request
469
that they call ``bzrlib.initialize`` and use the returned context manager
472
Better interaction with ``bzr-loom`` to make sure branching from a loom
473
even over a smart server still yields a local loom. Not to mention lots of
479
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
480
the result of ``bzrlib.initialize``. This change was made when fixing
481
the bad habit recent bzr versions have had of leaving progress bars
482
behind on the screen. That required calling another function before
483
exiting the program, and it made sense to provide a full context
484
manager at the same time. (Robert Collins)
486
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
487
context manager in the Python 2.5 and above sense. The bzrlib base class
488
is such a manager, but third party UI factories which do not derive from
489
``bzrlib.ui.UIFactory`` will be incompatible with the command line front
492
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
493
and path "bar/baz", even if bzr does not recognize "foo" as a known URL
494
scheme. Previously these URLs would be treated as local paths.
501
* Support ``--directory`` option for a number of additional commands:
502
conflicts, merge-directive, missing, resolve, shelve, switch,
503
unshelve, whoami. (Martin von Gagern, #527878)
508
* ``bzr branch`` to a new repository with a default stacking policy no
509
longer transfers the full history unnecessarily.
510
(Andrew Bennetts, #597942)
512
* ``bzr init`` does not recursively scan directory contents anymore
513
leading to faster init for directories with existing content.
514
(Martin [gz], Parth Malwankar, #501307)
516
* ``bzr log --exclude-common-ancestry`` is now taken into account for
517
linear ancetries. (Vincent Ladeuil, #575631)
519
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
520
rather than trying to fetch the data locally and failing because of a
521
readonly error. (Martin von Gagern, #149270)
523
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
524
or pull location in locations.conf or branch.conf.
525
(Gordon Tyler, #534787)
527
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
528
smart server. (Andrew Bennetts, #551525)
530
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
531
(Marius Kruger, Robert Collins)
533
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
534
(Marius Kruger, Robert Collins)
536
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
537
proper error messages. (Vincent Ladeuil, #591215)
539
* Explicitly removing ``--profile-imports`` option from parsed command-line
540
arguments on Windows, because bzr script does the same.
541
(Alexander Belchenko, #588277)
543
* Fetching was slightly confused about the best code to use and was
544
using a new code path for all branches, resulting in more lookups than
545
necessary on old branches. (Robert Collins, #593515)
547
* Final fix for 'no help for command' issue. We now show a clean message
548
when a command has no help, document how to set help more clearly, and
549
test that all commands available to the test suite have help.
550
(Robert Collins, #177500)
552
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
553
``InvalidPattern`` exception showing clear error message to the user.
554
(Parth Malwankar #300062)
556
* Progress output is cleaned up when exiting. (Aaron Bentley)
558
* Raise ValueError instead of a string exception.
559
(John Arbash Meinel, #586926)
561
* Relative imports in plugins are now handled correctly when using
562
BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
564
* ``ScriptRunner`` now strips off leading indentation from test scripts,
565
which previously caused "SyntaxError: No command for line".
568
* Show unicode filenames in diff headers using terminal encoding.
569
(Alexander Belchenko, Bug #382699)
570
NOTE for Windows users: If user need to save diff to file then user need to
571
change encoding of the terminal to ANSI encoding with command ``chcp XXX``
572
(e.g. ``chcp 1251`` for Russian Windows).
574
* URL displayed for use with ``break-lock`` when smart server sees lock
575
contention are now valid. Default timeout for lock contention retry is
576
now 30 seconds instead of 300 seconds.
577
(Parth Malwankar, #250451)
579
* ``walkdirs`` now raises a useful message when the filenames are not using
580
the filesystem encoding. (Eric Moritz, #488519)
582
* Enable debugging of bzr on windows with pdb and other tools. This was
583
broken because we call GetCommandLineW on windows. The fix adjusts the
584
command line we get to be the same length as sys.argv.
585
(Jason Spashett, Alexander Belchenko, #587868)
590
* Bazaar now reads data from SSH connections more efficiently on platforms
591
that provide the ``socketpair`` function, and when using paramiko.
592
(Andrew Bennetts, #590637)
594
* ``Branch.copy_content_into`` is now a convenience method dispatching to
595
a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
596
plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
597
(Robert Collins, #201613)
599
* ``Branch`` formats can now be loaded lazily by registering a
600
``MetaDirBranchFormatFactory`` rather than an actual format. This will
601
cause the named format class to be loaded only when an enumeration of
602
formats is needed or when the format string for the object is
603
encountered. (Robert Collins, Jelmer Vernooij)
605
* The encoding that bzr uses to output things other than file content can
606
now be overridden via the output_encoding configuration option.
607
(Martin Pool, #340394)
609
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
610
do not cause modules to be loaded unnecessarily just because the plugin
611
registers a merge hook. This improves ``bzr rocks`` time by about 25%
612
in a default installation (with just the core plugins).
618
* Added ``regression`` tag to our tags list. (Robert Collins)
620
* Improved our release checklist to have a bit less churn and leave things
621
ready-to-go for the next action (including other people doing
622
development). (Robert Collins)
624
* Remove obsolete discussion of PQM in documentation about how to
625
contribute to Bazaar. (Martin Pool, #588444)
630
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
631
an iterable of format pairs, rather than just a single pair, permitting
632
InterBranch objects that work with multiple permutations to be
633
comprehensively tested. (Robert Collins)
635
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
636
profiles when concurrent profile requests are made. Instead the profile
637
requests will be serialised. Reentrant requests will now deadlock.
640
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
641
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
642
``bzrlib.patiencediff`` instead. (Andrew Bennetts)
644
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
645
``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
646
case the default error message not suitable for the use case.
649
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated. It provided only
650
one method ``check_output``, and we now recommend checking command
651
output using ``run_script``. (Martin Pool)
653
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
654
that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
655
Third-party implementations of ``SSHVendor`` may need to be updated
656
accordingly. Similarly, any code using ``SSHConnection`` directly will
657
need to be updated. (Andrew Bennetts)
659
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
660
changed to take an ``SSHParams`` instance (replacing many individual
661
values). (Andrew Bennetts)
666
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
667
selection when explicitly requested; this avoids many duplicate calls
668
being logged when helpers, wrappers and older code that manually calls
669
it are executed it is now logged deliberately by the ui setup code.
672
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
674
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
675
that ``sys.getsizeof`` and other memory analysis tools will report more
676
accurate results. (Andrew Bennetts)
678
* The symbol_versioning module can now cleanup after itself -
679
``suppress_deprecation_warnings`` now returns a cleanup function.
685
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
686
to test. (Martin Pool)
688
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
689
(Vincent Ladeuil, #595587)
11
:2.2b3: NOT RELEASED YET
696
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
697
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
698
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
699
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
700
bash completion script and bzr will no longer guess at identity details -
701
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
702
For developers we have some API changes which may impact plugins as well
703
as a bunch of our regular improvements to internal clarity and test
13
706
Compatibility Breaks
14
707
********************
709
* An API break has been made to the lock_write method of ``Branch`` and
710
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
711
and ``repository.RepositoryWriteLockResult`` objects. This makes
712
changing the API in future easier and permits some cleaner calling code.
713
The lock_read method has also changed from having no defined return
714
value to returning ``LogicalLockResult`` objects.
717
* ``bzr`` does not try to guess the username as ``username@hostname``
718
and requires it to be explictly set. This can be set using ``bzr
719
whoami``. (Parth Malwankar, #549310)
721
* ``bzrlib.commands.Command`` will now raise ValueError during
722
construction if there is no __doc__ set. (Note, this will be reverted in
723
2.2b4) (Robert Collins)
725
* The source tree no longer contains a contrib/zsh/_bzr completion
726
script. The new file contrib/zsh/README suggests alternatives.
727
(Martin von Gagern, #560030)