11
:2.5b5: NOT RELEASED YET
13
External Compatibility Breaks
14
*****************************
16
.. These may require users to change the way they use Bazaar.
18
* The '.bzr/branch/email' file is no longer read to determine the users'
19
identity. Instead, the 'email' setting in '.bzr/branch/branch.conf'
20
should be used. (Jelmer Vernooij, #903894)
25
.. New commands, options, etc that users may wish to try out.
27
* "bzr mkdir" now includes -p (--parents) option for recursively adding
29
(Jared Hance, Jelmer Vernooij, #253529)
34
.. Improvements to existing commands, especially improved performance
35
or memory usage, or better results.
37
* New HPSS call for ``Repository.reconcile``. (Jelmer Vernooij, #894455)
39
* Override the value returned by ``sys.getfilesystemencoding()`` for the bzr
40
script to utf-8 when it would otherwise be ascii on a posix system. This
41
will mean bzr works with non-ascii files when no locale or an incorrect
42
locale is set. (Martin Packman, #794353)
44
* ``bzr send`` now only opens a single connection, rather than two,
45
to the target branch. (Jelmer Vernooij)
50
.. Fixes for situations where bzr would previously crash or give incorrect
51
or undesirable results.
53
* Allow configuration option default value to be a python callable at
54
registration. (Vincent Ladeuil, #832064)
56
* Create obsolete_packs directory when repacking if it does not
57
exist. (Jonathan Riddell, Jelmer Vernooij, #314314)
59
* Fallback to the slower ``bzr log`` implementation when displaying a range
60
of revisions whose ancestry is not obviously on the same developement
61
line. (Vincent Ladeuil, #904744)
63
* Not setting ``gpg_signing_key`` or setting it to ``default`` will use the
64
user email (obtained from the ``email`` configuration option or its
65
default value). (Vincent Ladeuil, Jelmer Vernooij, #904550)
67
* Properly ignore '\n' in an option reference since this cannot be part of a
68
config option identifier. (Vincent Ladeuil, #902125)
70
* Report mistake trying to move a removed file with a non-ascii name without
71
UnicodeEncodeError being raised. (Martin Packman, #898541)
76
.. Improved or updated documentation.
81
.. Changes that may require updates in plugins or other code that uses
84
* ``Config.signature_needed``, ``Config.signing_policy``,
85
``Config.gpg_signing_key``, ``Config.gpg_signing_command``,
86
``Config.checking_policy`` and ``Config.post_commit`` are now deprecated.
89
* ``Repository.get_commit_builder`` now takes a ``config_stack``
90
rather than a ``config`` argument. (Jelmer Vernooij)
92
* Send formats now accept a new optional argument ``submit_branch``,
93
which can be None or a Branch object for the submit branch location.
99
.. Major internal changes, unlikely to be visible to users or plugin
100
developers, but interesting for bzr developers.
102
* ControlDir now has a get_branches method that returns a dictionary
103
whose keys are the names of the branches and whose values are the
104
branches themselves. The active branch uses the key None.
105
(Neil Martinsen-Burrell)
107
* Helper ``win32utils.get_environ_unicode`` added for avoiding encoding
108
problems with ``os.environ.get`` use. (Martin Packman, #262874)
110
* Helper ``osutils.path_from_environ`` added for extracting a unicode path
111
from an environment variable. (Martin Packman, #832028)
113
* New HPSS call ``BzrDir.checkout_metadir``. (Jelmer Vernooij, #894459)
115
* New HPSS call ``VersionedFileRepository.get_inventories``,
116
speeding up various commands including ``bzr export``,
117
``bzr checkout`` and ``bzr cat``. (Jelmer Vernooij, #608640)
122
.. Fixes and changes that are only relevant to bzr's test framework and
123
suite. This can include new facilities for writing tests, fixes to
124
spurious test failures and changes to the way things should be tested.
126
* New matcher ``ContainsNoVfsCalls`` which filters a list of HPSS
127
calls for VFS requests. (Jelmer Vernooij)
135
This is the fourth beta of the 2.5 series, leading to a 2.5.0 release in
136
February 2012. Beta releases are suitable for everyday use but may cause
137
some incompatibilities with plugins.
139
This release includes many improvements in the smart server, UI polish for
140
the colocated branches, optimizations for revision specifiers to avoid
141
history sized operations, enhancements to the config framework, bug fixes
142
related to unicode paths and more.
144
All bug fixed in previous series known at the time of this release are
147
External Compatibility Breaks
148
*****************************
155
* Provides a ``po_merge`` plugin to automatically merge ``.po`` files with
156
``msgmerge``. See ``bzr help po_merge`` for details.
157
(Vincent Ladeuil, #884270)
162
* ``bzr branch --stacked`` now only makes a single connection to the remote
163
server rather than three. (Jelmer Vernooij, #444293)
165
* ``bzr export --uncommitted`` will export the uncommitted tree.
166
(Jelmer Vernooij, #555613)
168
* ``bzr rmbranch`` can now remove colocated branches.
169
(Jelmer Vernooij, #831464)
171
* ``bzr status`` no longer shows shelves if files are specified.
174
* ``bzr switch`` now accepts colocated branch names to switch to.
175
(Jelmer Vernooij, #826814)
177
* Plugins can now register additional "location aliases".
180
* ``bzr status`` no longer shows shelves if files are specified.
183
* Revision specifiers will now only browse as much history as they
184
need to, rather than grabbing the whole history unnecessarily in some
185
cases. (Jelmer Vernooij)
187
* When using ``bzr switch`` to switch to a sibling of the current
188
branch, the relative branch name should no longer be url-encoded.
194
* A new section local option ``basename`` is available to help support some
195
``bzr-pipeline`` workflows and more generally help mapping local paths to
196
remote ones. See ``bzr help configuration`` for more details.
197
(Vincent Ladeuil, #843211)
199
* Add HPSS call for looking up revision numbers from revision ids on
200
remote repositories. (Jelmer Vernooij, #640253)
202
* Add HPSS call for retrieving file contents from remote repositories.
203
Should improve performance for lightweight checkouts and exports of
204
from remote repositories. (Jelmer Vernooij, #368717, #762330,
207
* Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be
208
pickled. (Jelmer Vernooij, #893149)
210
* ``bzr info`` no longer shows empty output if only a control
211
directory is present. (Jelmer Vernooij, #159098)
213
* Cope with missing revision ids being specified to
214
``Repository.gather_stats`` HPSS call. (Jelmer Vernooij, #411290)
216
* Fix test failures on windows related to locations.conf handling.
217
(Vincent Ladeuil, #892992)
219
* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
220
prohibits several invalid strings, reads the correct number of seconds,
221
and gives a better error message if the time zone offset is not given.
222
(Matt Giuca, #892657)
224
* Give meaningful file/line references when reporting deprecation warnings
225
for _CompatabilityThunkFeature based test features.
226
(Vincent Ladeuil, #897718)
228
* Make reporting of mistakes involving unversioned files with non-ascii
229
filenames work again without 'Unprintable exception' being shown.
230
(Martin Packman, #898408)
232
* Provide names for lazily registered hooks.
233
(Neil Martinsen-Burrell, #894609)
235
* Raise BadIndexKey exception in btree_index when a key is too large, fixing
236
an infinite recursion issue. (Shannon Weyrick, #720853)
238
* Resolve regression from colocated branch path handling, by ensuring that
239
unreserved characters are unquoted in URLs. (Martin Packman, #842223)
241
* Split segments from URLs for colocated branches without assuming the
242
combined form is valid. (Martin Packman, #842233)
244
* Support looking up revision numbers by revision id in empty branches.
245
(Jelmer Vernooij, #535031)
247
* Support verifying signatures on remote repositories.
248
(Jelmer Vernooij, #889694)
250
* Teach the bzr client how to reconnect if we get ``ConnectionReset``
251
while making an RPC request. This doesn't handle all possible network
252
disconnects, but it should at least handle when the server is asked to
253
shutdown gracefully. (John Arbash Meinel, #819604)
255
* When a remote format is unknown, bzr will now print a single-line error
256
message rather than a backtrace. (Jelmer Vernooij, #687226)
261
* ``BzrDir.open_branch`` and ``BranchFormat.open`` now take an optional
262
``possible_transports`` argument. (Jelmer Vernooij)
264
* New method ``Transport.set_segment_parameter``. (Jelmer Vernooij)
266
* ``Repository.verify_revision`` has been renamed to
267
``Repository.verify_revision_signature``. (Jelmer Vernooij)
269
* ``RevisionSpec.wants_revision_history`` now defaults to ``False`` and
270
is deprecated. The ``revs`` argument of
271
``RevisionInfo.from_revision_id`` is now deprecated. (Jelmer Vernooij)
273
* ``Tree.get_file_by_path`` is now deprecated. Use ``Tree.get_file`` instead.
274
(Jelmer Vernooij, #666897)
276
* Some global options for use with commands have been removed, construct
277
an ``Option`` with the name instead. (Martin Packman)
279
* The unused exception ``HistoryMissing`` has been removed.
285
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
287
* ``bzr config`` uses the new configuration implementation.
290
* Custom HPSS error handlers can now be installed in the smart server client
291
using the ``error_translators`` and ``no_context_error_translators``
292
registries. (Jelmer Vernooij)
294
* New HPSS calls ``Repository.has_signature_for_revision_id``,
295
``Repository.make_working_trees``, ``BzrDir.destroy_repository``,
296
``BzrDir.has_workingtree``, ``Repository.get_physical_lock_status``,
297
``Branch.get_physical_lock_status``,
298
``Branch.put_config_file``, ``Branch.break_lock``,
299
``BzrDir.destroy_branch``, ``Repository.break_lock``,
300
``VersionedFileRepository.get_serializer_format``,
301
``Repository.all_revision_ids``, ``Repository.start_write_group``,
302
``Repository.commit_write_group``, ``Repository.abort_write_group``
303
``Repository.check_write_group``, ``Repository.iter_revisions``,
304
``Repository.add_signature_revision_text`` and
305
``Repository.get_revision_signature_text``.
308
* Add HPSS call for ``Branch.get_checkout_format``. (Jelmer Vernooij, #894459)
310
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
312
* Add HPSS calls for ``Repository.iter_files_bytes``, speeding up
313
several commands including ``bzr export`` and ``bzr co --lightweight``.
314
(Jelmer Vernooij, #608640)
316
* Custom HPSS error handlers can now be installed in the smart server client
317
using the ``error_translators`` and ``no_context_error_translators``
318
registries. (Jelmer Vernooij)
320
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
321
will now use HPSS calls where possible. (Jelmer Vernooij)
323
* Custom HPSS error handlers can now be installed in the smart server client
324
using the ``error_translators`` and ``no_context_error_translators``
325
registries. (Jelmer Vernooij)
327
* The registry of merge types has been moved to ``merge`` from ``option`` but
328
``merge.get_merge_type_registry`` remains as an accessor. (Martin Packman)
333
* Avoid failures in test_transform when OS error messages are localised.
334
(Martin Packman, #891582)
336
* Tests are now subject to a time limit: by default 300s, and 120s when
337
run from 'make check', controlled by the `selftest.timeout`
338
configuration option. This is currently not supported on Windows.
346
This is the third beta of the 2.5 series, leading to a 2.5.0 release in
347
February 2012. Beta releases are suitable for everyday use but may cause
348
some incompatibilities with plugins.
350
This release includes log options for ``push`` and ``pull``, more UI polish
351
for colocated branches, a better and more coherent implementation for UI
352
dialogs, enhancements to the config framework and more.
354
This release includes all bug fixed in previous series known at the time of
357
External Compatibility Breaks
358
*****************************
365
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
366
change the format ``push`` and ``pull`` use to display the
367
revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
368
format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
370
* The new config scheme allows an alternative syntax for the 'appenpath'
371
policy relying on option expansion and defining a new 'relpath' option
372
local to a section. Instead of using '<option>:policy=appendpath', the
373
option value can de defined as 'option=xxxx/{relpath}'.
374
(Vincent Ladeuil, #832013)
379
* ``bzr info -v`` now shows the number of colocated branches
380
for control directories that support them.
381
(Jelmer Vernooij, #863285)
383
* ``bzr version-info`` now takes a ``--revision`` argument.
384
(Jelmer Vernooij, #238705)
386
* ``bzr revno`` now takes a ``--revision`` argument.
387
(Jelmer Vernooij, #870649)
389
* ``bzr serve`` now can serve from URLs rather than just from the
390
file system. I.e.: ``bzr serve -d lp:bzr`` or
391
``bzr serve -d file:///data/bzr`` (Jelmer Vernooij)
393
* all input prompts are now char-based when possible, and can be forced to
394
line-based mode by setting the ``BZR_TEXTUI_INPUT`` environment variable
395
to 'line-based'. This replace the previous shelf UI only patch using
396
``INSIDE_EMACS``. (Benoît Pierre)
401
* ``bzr info`` now shows the master branch location too for
402
treeless local branches. (Jelmer Vernooij, #258355)
404
* ``bzr mkdir --quiet`` now does not print a line for every created
405
directory. (Martin von Gagern, #869915)
407
* ``bzr mv`` does not crash when attempting to move the root of a
408
branch. (Jonathan Riddell, #809728)
410
* ``bzr shelve`` now use ``UIFactory.choose`` for input handling, making
411
it usable when creating a custom ``UIFactory`` implementation. (Benoît
414
* ``bzr clean-tree`` now use ``UIFactory.get_boolean`` for confirmation
415
prompt, making it usable when using a custom ``UIFactory``
416
implementation. (Benoît Pierre)
418
* If sending a crash through Apport fails report the Apport failure to
419
bzr.log rather than stderr. (Jonathan Riddell, #766735)
421
* ``bzr upgrade`` no longer treats 'already up-to-date' exceptions as
422
errors. (Benoît Pierre, #716560).
424
* ``bzr version-info`` no longer populates the clean state for custom
425
templates unless {clean} is explicitly asked for.
426
(Lawrence Mitchell, #882541)
428
* Fix finding the CPU count when using Python >= 2.6 on BSD-based systems.
429
(Jelmer Vernooij, #887151)
431
* ``WorkingTree.clone()`` now supports its ``revision_id`` being set
432
to the null revision. (Jelmer Vernooij, #876423)
434
* ``WorkingTree.pull`` can now pull ``NULL_REVISION``.
435
(Jelmer Vernooij, #887556)
440
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
442
* Methods ``add`` and ``items`` of ``LRUCache`` and ``LRUSizeCache`` are
443
deprecated. Use normal dict-style access instead. (Martin Packman)
445
* New flag ``RepositoryFormat.supports_unreferenced_revisions`` which
446
indicates whether revisions can be present in a repository without
447
being referenced from e.g. a branch history at the same time.
450
* ``UIFactory.choose`` has been added: prompt the user for a list of
451
choices. (Benoît Pierre)
456
* ``ControlDirFormat`` now has a new method ``supports_transport``
457
which format implementations can use whether or not they can access
458
a control dir over a particular transport. (Jelmer Vernooij)
460
* ``BranchBuilder.build_commit`` now take ``parent_ids`` and
461
``allow_leftmost_as_ghost`` arguments. (Jelmer Vernooij)
466
* Ensure TestCase instances are deallocated immediately after running where
467
possible. This greatly reduces the peak resource needs of a full test suite
468
run. The new ``-Euncollected_cases`` selftest flag will add failures if any
469
case which persists pasts its expected lifetime. (Martin Packman, #613247)
471
* Report exceptions from child processes during fork instead of swallowing the
472
error and reporting that everything went okay. (Martin Packman, #804130)
478
This is the second beta of the 2.5 series, leading to a 2.5.0 release in
479
February 2012. Beta releases are suitable for everyday use but may cause some
480
incompatibilities with plugins.
482
This release includes more filtering options for ``bzr log``, idle
483
connections handling for ``bzr serve``, a ``development-colo`` experimental
484
format to flesh out the colocated branches UI, better support for foreign
485
formats, enhancements to the config framework and more.
487
This release includes all bug fixed in previous series known at the time of
492
External Compatibility Breaks
493
*****************************
500
* A new ``-O`` standard option (common to all commands) have been added. It
501
provides a value for a config option in the ``-Oname=value`` form that
502
takes precedence over all definitions found in config files. It can be
503
used multiple times to override different options.
504
(Vincent Ladeuil, #491196)
506
* ``bzr log`` now has an option called ``--omit-merges`` to omit
507
those commits that merged branches, i.e. those having more than one
509
In order to avoid confusion, the previous command line option
510
``--include-merges`` has been renamed to ``--include-merged``.
511
The old name of the command line option will still be accepted.
512
The name change also affects ``bzr missing``.
515
* ``bzr serve`` will now disconnect clients if they have not issued an RPC
516
request after 5minutes. On POSIX platforms, this will also happen for
517
``bzr serve --inet``. This can be overridden with the configuration
518
variable ``serve.client_timeout`` or in the command line parameter
519
``bzr serve --client-timeout=X``. Further, it is possible to request
520
``bzr serve [--inet]`` to shutdown gracefully by sending SIGHUP. It will
521
finish the current request, and then close the connection.
522
(John Arbash Meinel, #824797, #795025)
524
* The new experimental format ``development-colo`` supports colocated
525
branches. This format will eventually be merged back into the ``2a``
526
format when it has stabilized and there is adequate UI support for
528
(Jelmer Vernooij, #831481)
533
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
534
every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
536
* ``bzr info -v`` can now be run against branches that don't support
537
``last_revision_info``, in which case the branch information will simply
538
not be displayed. (Jelmer Vernooij)
543
* ``bzr shelve`` can now be used in emacs shells as the input handling is
544
turned into a line-based one when ``INSIDE_EMACS`` is set (which is the
545
case for all recent emacs versions). (Vincent Ladeuil, #856261)
547
* ``bzr tags`` can now be used against remote repositories that do
548
not provide access to the revision graph. (Jelmer Vernooij, #858942)
550
* ``bzr update PATH`` will stop if you seem to be asking it to update
551
anything less than a whole tree, because that's not supported by ``bzr``'s
552
concept that the whole tree has a single basis revision. Previously, it
553
would go ahead and update the whole tree, which was surprising.
554
(Martin Pool, #557886)
556
* Don't crash if ``bzrlib.initialize()`` has not been called while accessing
557
configs. (Vincent Ladeuil, #863401)
559
* Redirects between http and https no longer discard path information
560
in some cases. (Jelmer Vernooij, #853765)
562
* The ``--overwrite`` argument to ``bzr push`` and ``bzr pull`` no longer
563
reports all tags as changed. (Jelmer Vernooij, #845396)
565
* ``WorkingTree.get_file_mtime`` now raises NoSuchId if a file id is
566
specified that is unknown. (Jelmer Vernooij, #847435)
572
* ``Branch.get_revision_delta`` has been deprecated. Use
573
``Repository.get_revision_delta`` instead. (Jelmer Vernooij, #859712)
575
* Plugins that implement custom protocols for ``bzr serve`` should now
576
also take an argument ``timeout``. This is used by the the bzr protocol
577
to close a connection if a client has been idle for more than X seconds.
578
(Default 5minutes). (John Arbash Meinel)
580
* ``Repository.fileids_altered_by_revision_ids`` has been moved to
581
``VersionedFileRepository`` and is no longer part of the standard
582
``Repository`` interface. (Jelmer Vernooij)
584
* The argument ``include_merges`` to ``missing.find_unmerged`` has
585
been renamed to ``include_merged``. The old name is still supported
586
for now but will cause a deprecation warning. (Martin von Gagern)
588
* The new method ``ControlDirFormat.is_initializable()`` returns a boolean
589
indicating whether or not it is possible to use any of the
590
initialization methods of that format to create a new control dir.
596
* ``Branch`` objects can now use a config stack with the newly introduced
597
``get_config_stack()``. Both ``get_config`` and ``get_config_stack`` can
598
be used for the same branch but it's recommended to stick to one for a
604
* Test scripts can now use ``bzr shelve`` and provide their input as
605
complete lines. (Vincent Ladeuil, #856261)
607
* Really corrupt the pack file without depending on a special length or value.
608
(Vincent Ladeuil, #807032)
616
This is the first beta of the 2.5 series, leading up to a 2.5.0
617
release in February 2012.
619
This release includes better support for gpg signing, better support for
620
i18n (mostly command help and error messages), more options to filter ``bzr
621
log`` output, more support for colocated branches ("location,branch=XXX"
622
syntax), better feedback on updated tags for various commands, faster
623
branching into an empty repository, enhancements to the config framework and
626
Beta releases are suitable for everyday use but may cause some
627
incompatibilities with plugins. Some plugins may need small updates to work
630
External Compatibility Breaks
631
*****************************
638
* A ``from_unicode`` parameter can be specified when registering a config
639
option. This implements boolean, integer and list config options when the
640
provided ``bool_from_store``, ``int_from_store`` and ``list_from_store``
641
are used for this parameter. (Vincent Ladeuil)
643
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
644
checks to see if the most recent published source package version for
645
that project is present in the branch tags. This should help developers
646
trust whether the packaging branch is up-to-date and can be used for new
647
changes. The level of verbosity is controlled by the config item
648
``launchpad.packaging_verbosity``. It can be set to one of
655
only display if the branch is out-of-date
658
also display single-line up-to-date and missing,
662
(default) display multi-line content for all states
665
(John Arbash Meinel, #609187, #812928)
667
* Add a config option gpg_signing_key for setting which GPG key should
668
be used to sign commits. Also default to using the gpg user identity
669
which matches user_email() as set by whoami.
670
(Jonathan Riddell, #68501)
672
* An ``invalid`` parameter can be specified when registering a config option
673
to decide what should be done when invalid values are
674
encountered. 'warning' and 'error' will respectively emit a warning and
675
ignore the value or errors out. (Vincent Ladeuil)
677
* bzr add now skips large files in recursive mode. The default "large"
678
size is 20MB, and is configurable via the add.maximum_file_size
679
option. A value of 0 disables skipping. Named items passed to add are
680
never skipped. (Shannon Weyrick, #54624)
682
* ``bzr help configuration/<option>`` display the help for ``option`` for
683
all registered configuration options. (Vincent Ladeuil, #747050)
685
* ``bzr log -m`` now matches message, author, committer and bugs instead
686
of just matching the message. ``--message`` keeps its original meaning,
687
while ``--match-message, --match-author, --match-committer`` and
688
``--match-bugs`` match each of those fields. (Jacek Sieka)
690
* ``config.Option`` can now declare ``default_from_env``, a list of
691
environment variables to get a default value from. (Vincent Ladeuil)
693
* ``config.NameMatcher`` can be used to implement config stores and stacks
694
that need to provide specific option values for arbitrary unique IDs (svn
695
repository UUIDs, etc). (Vincent Ladeuil, #843638)
697
* New builtin ``bzr branches`` command, which lists all colocated branches
698
in a directory. (Jelmer Vernooij, #826820)
700
* Relative local paths can now be specified in URL syntax by using the
701
"file:" prefix. (Jelmer Vernooij)
703
* Report commits signed with expired keys in ``verify-signatures``.
704
(Jonathan Riddell, #804254)
706
* Translations are now enabled for command help, errors and globally
707
for any message using ``gettext`` given on output. (Jonathan Riddell,
713
* ``bzr add`` will now warn about nested subtrees that are skipped.
714
(Jelmer Vernooij, #187342)
716
* ``bzr commit -m ''`` can now be used to force an empty commit message.
717
Entering an empty commit message in the message editor still triggers
718
an error. (Jelmer Vernooij)
720
* ``bzr pull`` will now mention how many tags it has updated.
721
(Jelmer Vernooij, #164450)
723
* ``bzr tag`` no longer errors if a tag already exists but refers to the
724
same revision, and will mention when a tag has been updated
725
rather than created. (Jelmer Vernooij, #381203)
727
* ``bzr uncommit`` will now remove tags that refer to removed revisions.
728
The ``--keep-tags`` option can be used to prevent this behaviour.
729
(Jelmer Vernooij, #605814)
731
* Do not run i18n initialisation twice. (Jonathan Riddell)
733
* Install translation .mo files. (Jonathan Riddell)
735
* Locations printed by ``bzr upgrade`` are now formatted before display.
738
* ``Repository.get_parent_map`` now estimates the size of the returned
739
content more accurately. This means that we get closer to the desired
740
64kB/request. For repositories converted from svn, this can be an
741
improvement of approx 5:1 in round trips to discover the whole history.
744
* Support a ``bugtracker`` option which is used by ``bzr commit --fixes``
745
if no bug tracker was specified on the command line.
746
(Jelmer Vernooij, #334860)
748
* Use ``gettext.NullTranslations`` in i18n to allow use of i18n even when
749
translations are not turned on. (Jonathan Riddell)
754
* ``bzr commit`` now correctly reports missing files as "removed", not
755
"modified". (Jelmer Vernooij, #553955)
757
* ``bzr reconfigure`` will now allow multiple non-conflicting requests
758
in a single invocation, e.g. ``--branch`` and ``--use-shared``.
759
(Martin von Gagern, #842993)
761
* A call to CHKInventory's filter-method will not result in a
762
DuplicateFileId error, if you move a subfolder and change a file in
764
(Bastian Bowe, #809901)
766
* Branching from a stacked branch no longer does a ``get_parent_map``
767
request for each revisions that is in the stacked-on repository while
768
determining what revisions need to be fetched. This mostly impacts
769
branching initialy into an empty shared repository when the source is
770
not the development focus. (John Arbash Meinel, #388269)
772
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
773
errors. (Vincent Ladeuil, #822571)
775
* Fix fallout from URL handling changes in 2.5 that caused an IndexError to be
776
raised whenever a transport at the drive root was opened on windows.
777
(Martin [gz], #841322)
779
* Fixed loading of external merge tools from config to properly decode
780
command-lines which contain embedded quotes. (Gordon Tyler, #828803)
782
* Rather than an error being raised, a warning is now printed when the
783
current user does not have permission to read a configuration file.
784
(Jelmer Vernooij, #837324)
786
* The pull command will now always use separate connections for the
787
case where the destination is a heavyweight checkout of some remote
788
branch on the same host as the source branch.
789
(Martin von Gagern, #483661)
791
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
792
operations that use it, like merge, can now create trees without a root.
798
* Release instructions refreshed. (Vincent Ladeuil)
803
* ``BranchFormat.initialize`` now takes a ``append_revisions_only``
804
argument. (Jelmer Vernooij)
806
* ``Branch._get_checkout_format`` now takes a ``lightweight`` argument
807
which indicates if the format should be for a lightweight or a
808
heavyweight checkout. (Jelmer Vernooij)
810
* ``ControlDir.create_branch`` now takes a ``append_revisions_only`` argument.
813
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
816
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
817
value in SI format (i.e. "20MB", "1GB") into its integer equivalent.
820
* New method ``InterTree.file_content_matches`` which checks that
821
two files in different trees have the same contents.
824
* New method ``Tree.get_file_verifier`` which allows tree implementations
825
to return non-sha1 checksums to verify files.
826
(Jelmer Vernooij, #720831)
828
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
829
have been added that only support opening from a path or a URL,
830
unlike ``get_transport``. (Jelmer Vernooij)
832
* New registry ``OptionRegistry`` specialized for configuration options.
835
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
838
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
839
``Command._maybe_expand_globs`` and ``Command.run_direct`` deprecated in
840
2.10 and 2.2.0. (Vincent Ladeuil)
842
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
844
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
845
``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
846
remove ``log.show_one_log`` which was never properly deprecated but wasn't
847
used and is easy to inline if needed. (Vincent Ladeuil)
849
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
850
deprecated in 2.1.0. (Vincent Ladeuil)
852
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
853
a default transport is currently unused. (Jelmer Vernooij)
855
* Remove ``UIFactory.warn_cross_format_fetch`` and
856
``UIFactory.warn_experimental_format_fetch`` in favor of
857
``UIFactory.show_user_warning``. (Jelmer Vernooij)
859
* ``Tags`` containers can now declare whether they support versioned
860
tags and whether tags can refer to ghost tags.
863
* ``Tags.merge_to`` now returns a dictionary with the updated tags
864
and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
866
* There is a new class `ContentFilterTree` that provides a facade for
867
content filtering. The `filtered` parameter to `export` is deprecated
868
in favor of passing a filtered tree, and the specific exporter plugins
869
no longer support it.
872
* ``Transport`` now has a ``_parsed_url`` attribute instead of
873
separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
874
and ``_path`` attributes. Proxies are provided for the moment but
875
may be removed in the future. (Jelmer Vernooij)
880
* A new debug flag ``hpss_client_no_vfs`` will now cause the HPSS client
881
to raise a ``HpssVfsRequestNotAllowed`` exception when a VFS request
882
is attempted. (Jelmer Vernooij)
884
* New method ``ControlDir._get_selected_branch`` which returns the
885
colocated branch selected using path segment parameters.
886
(Jelmer Vernooij, #380871)
891
* Blackbox tests (including test scripts) can be debugged interactively (see
892
bzrlib.debug.BzrPdb for details). (Vincent Ladeuil)
894
* `BranchBuilder.build_snapshot` now supports a "flush" action. This
895
cleanly and reliably allows tests using `BranchBuilder` to construct
896
branches that e.g. rename files out of a directory and unversion that
897
directory in the same revision. Previously some changes were impossible
898
due to the order that `build_snapshot` performs its actions.
901
* Don't require ``os.fdatasync`` to be defined on all supported OSes
902
(BSD-based OSes don't define it). (Vincent Ladeuil, #822649)
904
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
906
* ``LockDir`` can now be run when the local hostname is ``localhost``.
907
(Jelmer Vernooij, #825994)
909
* ``ModuleAvailableFeature`` won't try to import already imported modules,
910
allowing it to be used for modules with side-effects.
911
(Vincent Ladeuil, #712474)
913
* Output time stamps while running ``make check`` to get better timings from
914
pqm. (Vincent Ladeuil, #837926)
916
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
917
just compares the bytes in the dirstate file to its pristine state,
918
rather than opening the WorkingTree and calling ``last_revision()``.
919
This reduces the overall test suite time by about 10% on my laptop.
922
* Update `TestCase.knownFailure` to the testtools way of handling expected
923
failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
926
vim: tw=74 ft=rst ff=unix