11
:2.5b5: NOT RELEASED YET
13
External Compatibility Breaks
14
*****************************
16
.. These may require users to change the way they use Bazaar.
21
.. New commands, options, etc that users may wish to try out.
26
.. Improvements to existing commands, especially improved performance
27
or memory usage, or better results.
32
.. Fixes for situations where bzr would previously crash or give incorrect
33
or undesirable results.
38
.. Improved or updated documentation.
43
.. Changes that may require updates in plugins or other code that uses
46
* ``Config.signature_needed``, ``Config.signing_policy``,
47
``Config.gpg_signing_key``, ``Config.gpg_signing_command`` and
48
``Config.checking_policy`` are now deprecated. (Jelmer Vernooij)
50
* ``Repository.get_commit_builder`` now takes a ``config_stack``
51
rather than a ``config`` argument. (Jelmer Vernooij)
56
.. Major internal changes, unlikely to be visible to users or plugin
57
developers, but interesting for bzr developers.
62
.. Fixes and changes that are only relevant to bzr's test framework and
63
suite. This can include new facilities for writing tests, fixes to
64
spurious test failures and changes to the way things should be tested.
72
This is the fourth beta of the 2.5 series, leading to a 2.5.0 release in
73
February 2012. Beta releases are suitable for everyday use but may cause
74
some incompatibilities with plugins.
76
This release includes many improvements in the smart server, UI polish for
77
the colocated branches, optimizations for revision specifiers to avoid
78
history sized operations, enhancements to the config framework, bug fixes
79
related to unicode paths and more.
81
This release includes all bug fixed in previous series known at the time of
83
External Compatibility Breaks
84
*****************************
91
* Provides a ``po_merge`` plugin to automatically merge ``.po`` files with
92
``msgmerge``. See ``bzr help po_merge`` for details.
93
(Vincent Ladeuil, #884270)
98
* ``bzr branch --stacked`` now only makes a single connection to the remote
99
server rather than three. (Jelmer Vernooij, #444293)
101
* ``bzr export --uncommitted`` will export the uncommitted tree.
102
(Jelmer Vernooij, #555613)
104
* ``bzr rmbranch`` can now remove colocated branches.
105
(Jelmer Vernooij, #831464)
107
* ``bzr status`` no longer shows shelves if files are specified.
110
* ``bzr switch`` now accepts colocated branch names to switch to.
111
(Jelmer Vernooij, #826814)
113
* Plugins can now register additional "location aliases".
116
* Revision specifiers will now only browse as much history as they
117
need to, rather than grabbing the whole history unnecessarily in some
118
cases. (Jelmer Vernooij)
120
* When using ``bzr switch`` to switch to a sibling of the current
121
branch, the relative branch name should no longer be url-encoded.
127
* A new section local option ``basename`` is available to help support some
128
``bzr-pipeline`` workflows and more generally help mapping local paths to
129
remote ones. See ``bzr help configuration`` for more details.
130
(Vincent Ladeuil, #843211)
132
* Add HPSS call for looking up revision numbers from revision ids on
133
remote repositories. (Jelmer Vernooij, #640253)
135
* Add HPSS call for retrieving file contents from remote repositories.
136
Should improve performance for lightweight checkouts and exports of
137
from remote repositories. (Jelmer Vernooij, #368717, #762330,
140
* Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be
141
pickled. (Jelmer Vernooij, #893149)
143
* ``bzr info`` no longer shows empty output if only a control
144
directory is present. (Jelmer Vernooij, #159098)
146
* Cope with missing revision ids being specified to
147
``Repository.gather_stats`` HPSS call. (Jelmer Vernooij, #411290)
149
* Fix test failures on windows related to locations.conf handling.
150
(Vincent Ladeuil, #892992)
152
* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
153
prohibits several invalid strings, reads the correct number of seconds,
154
and gives a better error message if the time zone offset is not given.
155
(Matt Giuca, #892657)
157
* Give meaningful file/line references when reporting deprecation warnings
158
for _CompatabilityThunkFeature based test features.
159
(Vincent Ladeuil, #897718)
161
* Make reporting of mistakes involving unversioned files with non-ascii
162
filenames work again without 'Unprintable exception' being shown.
163
(Martin Packman, #898408)
165
* Provide names for lazily registered hooks.
166
(Neil Martinsen-Burrell, #894609)
168
* Raise BadIndexKey exception in btree_index when a key is too large, fixing
169
an infinite recursion issue. (Shannon Weyrick, #720853)
171
* Resolve regression from colocated branch path handling, by ensuring that
172
unreserved characters are unquoted in URLs. (Martin Packman, #842223)
174
* Split segments from URLs for colocated branches without assuming the
175
combined form is a valid. (Martin Packman, #842233)
177
* Support looking up revision numbers by revision id in empty branches.
178
(Jelmer Vernooij, #535031)
180
* Support verifying signatures on remote repositories.
181
(Jelmer Vernooij, #889694)
183
* Teach the bzr client how to reconnect if we get ``ConnectionReset``
184
while making an RPC request. This doesn't handle all possible network
185
disconnects, but it should at least handle when the server is asked to
186
shutdown gracefully. (John Arbash Meinel, #819604)
188
* When a remote format is unknown, bzr will now print a single-line error
189
message rather than a backtrace. (Jelmer Vernooij, #687226)
194
* ``BzrDir.open_branch`` and ``BranchFormat.open`` now take an optional
195
``possible_transports`` argument. (Jelmer Vernooij)
197
* New method ``Transport.set_segment_parameter``. (Jelmer Vernooij)
199
* ``Repository.verify_revision`` has been renamed to
200
``Repository.verify_revision_signature``. (Jelmer Vernooij)
202
* ``RevisionSpec.wants_revision_history`` now defaults to ``False`` and
203
is deprecated. The ``revs`` argument of
204
``RevisionInfo.from_revision_id`` is now deprecated. (Jelmer Vernooij)
206
* ``Tree.get_file_by_path`` is now deprecated. Use ``Tree.get_file`` instead.
207
(Jelmer Vernooij, #666897)
209
* Some global options for use with commands have been removed, construct
210
an ``Option`` with the name instead. (Martin Packman)
212
* The unused exception ``HistoryMissing`` has been removed.
218
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
220
* ``bzr config`` uses the new configuration implementation.
223
* Custom HPSS error handlers can now be installed in the smart server client
224
using the ``error_translators`` and ``no_context_error_translators``
225
registries. (Jelmer Vernooij)
227
* New HPSS calls ``Repository.has_signature_for_revision_id``,
228
``Repository.make_working_trees``, ``BzrDir.destroy_repository``,
229
``BzrDir.has_workingtree``, ``Repository.get_physical_lock_status``,
230
``Branch.get_physical_lock_status``,
231
``Branch.put_config_file``, ``Branch.break_lock``,
232
``BzrDir.destroy_branch``, ``Repository.break_lock``,
233
``VersionedFileRepository.get_serializer_format``,
234
``Repository.all_revision_ids``, ``Repository.start_write_group``,
235
``Repository.commit_write_group``, ``Repository.abort_write_group``
236
``Repository.check_write_group``, ``Repository.iter_revisions``,
237
``Repository.add_signature_revision_text`` and
238
``Repository.get_revision_signature_text``.
241
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
242
will now use HPSS calls where possible. (Jelmer Vernooij)
244
* The registry of merge types has been moved to ``merge`` from ``option`` but
245
``merge.get_merge_type_registry`` remains as an accessor. (Martin Packman)
250
* Avoid failures in test_transform when OS error messages are localised.
251
(Martin Packman, #891582)
253
* Tests are now subject to a time limit: by default 300s, and 120s when
254
run from 'make check', controlled by the `selftest.timeout`
255
configuration option. This is currently not supported on Windows.
263
This is the third beta of the 2.5 series, leading to a 2.5.0 release in
264
February 2012. Beta releases are suitable for everyday use but may cause
265
some incompatibilities with plugins.
267
This release includes log options for ``push`` and ``pull``, more UI polish
268
for colocated branches, a better and more coherent implementation for UI
269
dialogs, enhancements to the config framework and more.
271
This release includes all bug fixed in previous series known at the time of
274
External Compatibility Breaks
275
*****************************
282
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
283
change the format ``push`` and ``pull`` use to display the
284
revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
285
format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
287
* The new config scheme allows an alternative syntax for the 'appenpath'
288
policy relying on option expansion and defining a new 'relpath' option
289
local to a section. Instead of using '<option>:policy=appendpath', the
290
option value can de defined as 'option=xxxx/{relpath}'.
291
(Vincent Ladeuil, #832013)
296
* ``bzr info -v`` now shows the number of colocated branches
297
for control directories that support them.
298
(Jelmer Vernooij, #863285)
300
* ``bzr version-info`` now takes a ``--revision`` argument.
301
(Jelmer Vernooij, #238705)
303
* ``bzr revno`` now takes a ``--revision`` argument.
304
(Jelmer Vernooij, #870649)
306
* ``bzr serve`` now can serve from URLs rather than just from the
307
file system. I.e.: ``bzr serve -d lp:bzr`` or
308
``bzr serve -d file:///data/bzr`` (Jelmer Vernooij)
310
* all input prompts are now char-based when possible, and can be forced to
311
line-based mode by setting the ``BZR_TEXTUI_INPUT`` environment variable
312
to 'line-based'. This replace the previous shelf UI only patch using
313
``INSIDE_EMACS``. (BenoƮt Pierre)
318
* ``bzr info`` now shows the master branch location too for
319
treeless local branches. (Jelmer Vernooij, #258355)
321
* ``bzr mkdir --quiet`` now does not print a line for every created
322
directory. (Martin von Gagern, #869915)
324
* ``bzr mv`` does not crash when attempting to move the root of a
325
branch. (Jonathan Riddell, #809728)
327
* ``bzr shelve`` now use ``UIFactory.choose`` for input handling, making
328
it usable when creating a custom ``UIFactory`` implementation. (BenoƮt
331
* ``bzr clean-tree`` now use ``UIFactory.get_boolean`` for confirmation
332
prompt, making it usable when using a custom ``UIFactory``
333
implementation. (BenoƮt Pierre)
335
* If sending a crash through Apport fails report the Apport failure to
336
bzr.log rather than stderr. (Jonathan Riddell, #766735)
338
* ``bzr upgrade`` no longer treats 'already up-to-date' exceptions as
339
errors. (BenoƮt Pierre, #716560).
341
* ``bzr version-info`` no longer populates the clean state for custom
342
templates unless {clean} is explicitly asked for.
343
(Lawrence Mitchell, #882541)
345
* Fix finding the CPU count when using Python >= 2.6 on BSD-based systems.
346
(Jelmer Vernooij, #887151)
348
* ``WorkingTree.clone()`` now supports its ``revision_id`` being set
349
to the null revision. (Jelmer Vernooij, #876423)
351
* ``WorkingTree.pull`` can now pull ``NULL_REVISION``.
352
(Jelmer Vernooij, #887556)
357
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
359
* Methods ``add`` and ``items`` of ``LRUCache`` and ``LRUSizeCache`` are
360
deprecated. Use normal dict-style access instead. (Martin Packman)
362
* New flag ``RepositoryFormat.supports_unreferenced_revisions`` which
363
indicates whether revisions can be present in a repository without
364
being referenced from e.g. a branch history at the same time.
367
* ``UIFactory.choose`` has been added: prompt the user for a list of
368
choices. (BenoƮt Pierre)
373
* ``ControlDirFormat`` now has a new method ``supports_transport``
374
which format implementations can use whether or not they can access
375
a control dir over a particular transport. (Jelmer Vernooij)
377
* ``BranchBuilder.build_commit`` now take ``parent_ids`` and
378
``allow_leftmost_as_ghost`` arguments. (Jelmer Vernooij)
383
* Ensure TestCase instances are deallocated immediately after running where
384
possible. This greatly reduces the peak resource needs of a full test suite
385
run. The new ``-Euncollected_cases`` selftest flag will add failures if any
386
case which persists pasts its expected lifetime. (Martin Packman, #613247)
388
* Report exceptions from child processes during fork instead of swallowing the
389
error and reporting that everything went okay. (Martin Packman, #804130)
395
This is the second beta of the 2.5 series, leading to a 2.5.0 release in
396
February 2012. Beta releases are suitable for everyday use but may cause some
397
incompatibilities with plugins.
399
This release includes more filtering options for ``bzr log``, idle
400
connections handling for ``bzr serve``, a ``development-colo`` experimental
401
format to flesh out the colocated branches UI, better support for foreign
402
formats, enhancements to the config framework and more.
404
This release includes all bug fixed in previous series known at the time of
409
External Compatibility Breaks
410
*****************************
417
* A new ``-O`` standard option (common to all commands) have been added. It
418
provides a value for a config option in the ``-Oname=value`` form that
419
takes precedence over all definitions found in config files. It can be
420
used multiple times to override different options.
421
(Vincent Ladeuil, #491196)
423
* ``bzr log`` now has an option called ``--omit-merges`` to omit
424
those commits that merged branches, i.e. those having more than one
426
In order to avoid confusion, the previous command line option
427
``--include-merges`` has been renamed to ``--include-merged``.
428
The old name of the command line option will still be accepted.
429
The name change also affects ``bzr missing``.
432
* ``bzr serve`` will now disconnect clients if they have not issued an RPC
433
request after 5minutes. On POSIX platforms, this will also happen for
434
``bzr serve --inet``. This can be overridden with the configuration
435
variable ``serve.client_timeout`` or in the command line parameter
436
``bzr serve --client-timeout=X``. Further, it is possible to request
437
``bzr serve [--inet]`` to shutdown gracefully by sending SIGHUP. It will
438
finish the current request, and then close the connection.
439
(John Arbash Meinel, #824797, #795025)
441
* The new experimental format ``development-colo`` supports colocated
442
branches. This format will eventually be merged back into the ``2a``
443
format when it has stabilized and there is adequate UI support for
445
(Jelmer Vernooij, #831481)
450
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
451
every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
453
* ``bzr info -v`` can now be run against branches that don't support
454
``last_revision_info``, in which case the branch information will simply
455
not be displayed. (Jelmer Vernooij)
460
* ``bzr shelve`` can now be used in emacs shells as the input handling is
461
turned into a line-based one when ``INSIDE_EMACS`` is set (which is the
462
case for all recent emacs versions). (Vincent Ladeuil, #856261)
464
* ``bzr tags`` can now be used against remote repositories that do
465
not provide access to the revision graph. (Jelmer Vernooij, #858942)
467
* ``bzr update PATH`` will stop if you seem to be asking it to update
468
anything less than a whole tree, because that's not supported by ``bzr``'s
469
concept that the whole tree has a single basis revision. Previously, it
470
would go ahead and update the whole tree, which was surprising.
471
(Martin Pool, #557886)
473
* Don't crash if ``bzrlib.initialize()`` has not been called while accessing
474
configs. (Vincent Ladeuil, #863401)
476
* Redirects between http and https no longer discard path information
477
in some cases. (Jelmer Vernooij, #853765)
479
* The ``--overwrite`` argument to ``bzr push`` and ``bzr pull`` no longer
480
reports all tags as changed. (Jelmer Vernooij, #845396)
482
* ``WorkingTree.get_file_mtime`` now raises NoSuchId if a file id is
483
specified that is unknown. (Jelmer Vernooij, #847435)
489
* ``Branch.get_revision_delta`` has been deprecated. Use
490
``Repository.get_revision_delta`` instead. (Jelmer Vernooij, #859712)
492
* Plugins that implement custom protocols for ``bzr serve`` should now
493
also take an argument ``timeout``. This is used by the the bzr protocol
494
to close a connection if a client has been idle for more than X seconds.
495
(Default 5minutes). (John Arbash Meinel)
497
* ``Repository.fileids_altered_by_revision_ids`` has been moved to
498
``VersionedFileRepository`` and is no longer part of the standard
499
``Repository`` interface. (Jelmer Vernooij)
501
* The argument ``include_merges`` to ``missing.find_unmerged`` has
502
been renamed to ``include_merged``. The old name is still supported
503
for now but will cause a deprecation warning. (Martin von Gagern)
505
* The new method ``ControlDirFormat.is_initializable()`` returns a boolean
506
indicating whether or not it is possible to use any of the
507
initialization methods of that format to create a new control dir.
513
* ``Branch`` objects can now use a config stack with the newly introduced
514
``get_config_stack()``. Both ``get_config`` and ``get_config_stack`` can
515
be used for the same branch but it's recommended to stick to one for a
521
* Test scripts can now use ``bzr shelve`` and provide their input as
522
complete lines. (Vincent Ladeuil, #856261)
524
* Really corrupt the pack file without depending on a special length or value.
525
(Vincent Ladeuil, #807032)
533
This is the first beta of the 2.5 series, leading up to a 2.5.0
534
release in February 2012.
536
This release includes better support for gpg signing, better support for
537
i18n (mostly command help and error messages), more options to filter ``bzr
538
log`` output, more support for colocated branches ("location,branch=XXX"
539
syntax), better feedback on updated tags for various commands, faster
540
branching into an empty repository, enhancements to the config framework and
543
Beta releases are suitable for everyday use but may cause some
544
incompatibilities with plugins. Some plugins may need small updates to work
547
External Compatibility Breaks
548
*****************************
555
* A ``from_unicode`` parameter can be specified when registering a config
556
option. This implements boolean, integer and list config options when the
557
provided ``bool_from_store``, ``int_from_store`` and ``list_from_store``
558
are used for this parameter. (Vincent Ladeuil)
560
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
561
checks to see if the most recent published source package version for
562
that project is present in the branch tags. This should help developers
563
trust whether the packaging branch is up-to-date and can be used for new
564
changes. The level of verbosity is controlled by the config item
565
``launchpad.packaging_verbosity``. It can be set to one of
572
only display if the branch is out-of-date
575
also display single-line up-to-date and missing,
579
(default) display multi-line content for all states
582
(John Arbash Meinel, #609187, #812928)
584
* Add a config option gpg_signing_key for setting which GPG key should
585
be used to sign commits. Also default to using the gpg user identity
586
which matches user_email() as set by whoami.
587
(Jonathan Riddell, #68501)
589
* An ``invalid`` parameter can be specified when registering a config option
590
to decide what should be done when invalid values are
591
encountered. 'warning' and 'error' will respectively emit a warning and
592
ignore the value or errors out. (Vincent Ladeuil)
594
* bzr add now skips large files in recursive mode. The default "large"
595
size is 20MB, and is configurable via the add.maximum_file_size
596
option. A value of 0 disables skipping. Named items passed to add are
597
never skipped. (Shannon Weyrick, #54624)
599
* ``bzr help configuration/<option>`` display the help for ``option`` for
600
all registered configuration options. (Vincent Ladeuil, #747050)
602
* ``bzr log -m`` now matches message, author, committer and bugs instead
603
of just matching the message. ``--message`` keeps its original meaning,
604
while ``--match-message, --match-author, --match-committer`` and
605
``--match-bugs`` match each of those fields. (Jacek Sieka)
607
* ``config.Option`` can now declare ``default_from_env``, a list of
608
environment variables to get a default value from. (Vincent Ladeuil)
610
* ``config.NameMatcher`` can be used to implement config stores and stacks
611
that need to provide specific option values for arbitrary unique IDs (svn
612
repository UUIDs, etc). (Vincent Ladeuil, #843638)
614
* New builtin ``bzr branches`` command, which lists all colocated branches
615
in a directory. (Jelmer Vernooij, #826820)
617
* Relative local paths can now be specified in URL syntax by using the
618
"file:" prefix. (Jelmer Vernooij)
620
* Report commits signed with expired keys in ``verify-signatures``.
621
(Jonathan Riddell, #804254)
623
* Translations are now enabled for command help, errors and globally
624
for any message using ``gettext`` given on output. (Jonathan Riddell,
630
* ``bzr add`` will now warn about nested subtrees that are skipped.
631
(Jelmer Vernooij, #187342)
633
* ``bzr commit -m ''`` can now be used to force an empty commit message.
634
Entering an empty commit message in the message editor still triggers
635
an error. (Jelmer Vernooij)
637
* ``bzr pull`` will now mention how many tags it has updated.
638
(Jelmer Vernooij, #164450)
640
* ``bzr tag`` no longer errors if a tag already exists but refers to the
641
same revision, and will mention when a tag has been updated
642
rather than created. (Jelmer Vernooij, #381203)
644
* ``bzr uncommit`` will now remove tags that refer to removed revisions.
645
The ``--keep-tags`` option can be used to prevent this behaviour.
646
(Jelmer Vernooij, #605814)
648
* Do not run i18n initialisation twice. (Jonathan Riddell)
650
* Install translation .mo files. (Jonathan Riddell)
652
* Locations printed by ``bzr upgrade`` are now formatted before display.
655
* ``Repository.get_parent_map`` now estimates the size of the returned
656
content more accurately. This means that we get closer to the desired
657
64kB/request. For repositories converted from svn, this can be an
658
improvement of approx 5:1 in round trips to discover the whole history.
661
* Support a ``bugtracker`` option which is used by ``bzr commit --fixes``
662
if no bug tracker was specified on the command line.
663
(Jelmer Vernooij, #334860)
665
* Use ``gettext.NullTranslations`` in i18n to allow use of i18n even when
666
translations are not turned on. (Jonathan Riddell)
671
* ``bzr commit`` now correctly reports missing files as "removed", not
672
"modified". (Jelmer Vernooij, #553955)
674
* ``bzr reconfigure`` will now allow multiple non-conflicting requests
675
in a single invocation, e.g. ``--branch`` and ``--use-shared``.
676
(Martin von Gagern, #842993)
678
* A call to CHKInventory's filter-method will not result in a
679
DuplicateFileId error, if you move a subfolder and change a file in
681
(Bastian Bowe, #809901)
683
* Branching from a stacked branch no longer does a ``get_parent_map``
684
request for each revisions that is in the stacked-on repository while
685
determining what revisions need to be fetched. This mostly impacts
686
branching initialy into an empty shared repository when the source is
687
not the development focus. (John Arbash Meinel, #388269)
689
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
690
errors. (Vincent Ladeuil, #822571)
692
* Fix fallout from URL handling changes in 2.5 that caused an IndexError to be
693
raised whenever a transport at the drive root was opened on windows.
694
(Martin [gz], #841322)
696
* Fixed loading of external merge tools from config to properly decode
697
command-lines which contain embedded quotes. (Gordon Tyler, #828803)
699
* Rather than an error being raised, a warning is now printed when the
700
current user does not have permission to read a configuration file.
701
(Jelmer Vernooij, #837324)
703
* The pull command will now always use separate connections for the
704
case where the destination is a heavyweight checkout of some remote
705
branch on the same host as the source branch.
706
(Martin von Gagern, #483661)
708
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
709
operations that use it, like merge, can now create trees without a root.
715
* Release instructions refreshed. (Vincent Ladeuil)
720
* ``BranchFormat.initialize`` now takes a ``append_revisions_only``
721
argument. (Jelmer Vernooij)
723
* ``Branch._get_checkout_format`` now takes a ``lightweight`` argument
724
which indicates if the format should be for a lightweight or a
725
heavyweight checkout. (Jelmer Vernooij)
727
* ``ControlDir.create_branch`` now takes a ``append_revisions_only`` argument.
730
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
733
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
734
value in SI format (i.e. "20MB", "1GB") into its integer equivalent.
737
* New method ``InterTree.file_content_matches`` which checks that
738
two files in different trees have the same contents.
741
* New method ``Tree.get_file_verifier`` which allows tree implementations
742
to return non-sha1 checksums to verify files.
743
(Jelmer Vernooij, #720831)
745
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
746
have been added that only support opening from a path or a URL,
747
unlike ``get_transport``. (Jelmer Vernooij)
749
* New registry ``OptionRegistry`` specialized for configuration options.
752
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
755
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
756
``Command._maybe_expand_globs`` and ``Command.run_direct`` deprecated in
757
2.10 and 2.2.0. (Vincent Ladeuil)
759
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
761
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
762
``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
763
remove ``log.show_one_log`` which was never properly deprecated but wasn't
764
used and is easy to inline if needed. (Vincent Ladeuil)
766
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
767
deprecated in 2.1.0. (Vincent Ladeuil)
769
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
770
a default transport is currently unused. (Jelmer Vernooij)
772
* Remove ``UIFactory.warn_cross_format_fetch`` and
773
``UIFactory.warn_experimental_format_fetch`` in favor of
774
``UIFactory.show_user_warning``. (Jelmer Vernooij)
776
* ``Tags`` containers can now declare whether they support versioned
777
tags and whether tags can refer to ghost tags.
780
* ``Tags.merge_to`` now returns a dictionary with the updated tags
781
and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
783
* There is a new class `ContentFilterTree` that provides a facade for
784
content filtering. The `filtered` parameter to `export` is deprecated
785
in favor of passing a filtered tree, and the specific exporter plugins
786
no longer support it.
789
* ``Transport`` now has a ``_parsed_url`` attribute instead of
790
separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
791
and ``_path`` attributes. Proxies are provided for the moment but
792
may be removed in the future. (Jelmer Vernooij)
797
* A new debug flag ``hpss_client_no_vfs`` will now cause the HPSS client
798
to raise a ``HpssVfsRequestNotAllowed`` exception when a VFS request
799
is attempted. (Jelmer Vernooij)
801
* New method ``ControlDir._get_selected_branch`` which returns the
802
colocated branch selected using path segment parameters.
803
(Jelmer Vernooij, #380871)
808
* Blackbox tests (including test scripts) can be debugged interactively (see
809
bzrlib.debug.BzrPdb for details). (Vincent Ladeuil)
811
* `BranchBuilder.build_snapshot` now supports a "flush" action. This
812
cleanly and reliably allows tests using `BranchBuilder` to construct
813
branches that e.g. rename files out of a directory and unversion that
814
directory in the same revision. Previously some changes were impossible
815
due to the order that `build_snapshot` performs its actions.
818
* Don't require ``os.fdatasync`` to be defined on all supported OSes
819
(BSD-based OSes don't define it). (Vincent Ladeuil, #822649)
821
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
823
* ``LockDir`` can now be run when the local hostname is ``localhost``.
824
(Jelmer Vernooij, #825994)
826
* ``ModuleAvailableFeature`` won't try to import already imported modules,
827
allowing it to be used for modules with side-effects.
828
(Vincent Ladeuil, #712474)
830
* Output time stamps while running ``make check`` to get better timings from
831
pqm. (Vincent Ladeuil, #837926)
833
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
834
just compares the bytes in the dirstate file to its pristine state,
835
rather than opening the WorkingTree and calling ``last_revision()``.
836
This reduces the overall test suite time by about 10% on my laptop.
839
* Update `TestCase.knownFailure` to the testtools way of handling expected
840
failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
843
vim: tw=74 ft=rst ff=unix