5
5
.. contents:: List of Releases
11
:2.2b3: NOT RELEASED YET
19
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
21
(Parth Malwankar, #571467)
23
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
24
the default ignore rules used by bzr. The flag ``--old-default-rules``
25
is no longer supported by ``ignore``.
26
(Parth Malwankar, #538703)
28
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
29
can save disk space by deleting obsolete pack files created during the
31
(Parth Malwankar, #304320)
33
* Support ``--directory`` option for a number of additional commands:
34
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
35
export, ignore, ignored, lookup-revision, ls, modified, nick,
36
re-sign, unbind, unknowns.
37
(Martin von Gagern, #527878)
39
* The bash_completion plugin from the bzr-bash-completion project has
40
been merged into the tree. It provides a bash-completion command and
41
replaces the outdated ``contrib/bash/bzr`` script with a version
42
using the plugin. (Martin von Gagern, #560030)
47
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
48
group ownership from the containing directory. This allow bzr to work
50
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
52
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
53
are part of Y ancestry but not part of X ancestry (aka the graph
55
(Vincent Ladeuil, #320119)
57
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
58
(Vincent Ladeuil, #566670)
60
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
61
(Vincent Ladeuil, #563997)
63
* Don't mention --no-strict when we just issue the warning about unclean trees.
64
(Vincent Ladeuil, #401599)
66
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
68
(Andrew Bennetts, #528041)
70
* Reduce peak memory by one copy of compressed text.
71
(John Arbash Meinel, #566940)
73
* Show the filenames when a file rename fails so that the error will be
75
(Martin Pool, #491763)
77
* Unicode characters in aliases are now handled correctly and do not cause
78
UnicodeEncodeError exception. (Parth Malwankar, #529930)
83
* ``append_revisions_only`` will now be interpreted as a boolean and a
84
warning emitted if illegal values are used. Note that for projects
85
that needs to maintain compatibility with previsous bzr versions,
86
only 'True' and 'False' strings must be used (previous versions of
87
bzr will interpret all strings differing from 'True'
88
(case-sensitive) as false.
89
(Brian de Alwis, Vincent Ladeuil)
91
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
92
be interpreted as a boolean.
101
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
102
some kinds of ``merge_file_content`` hook functions.
105
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
106
`user_transport`, `control_url` and `control_transport` members pointing
107
respectively to the directory containing the ``.bzr`` control directory,
108
and to the directory within ``.bzr`` used for the particular component.
109
All of them inherit from `ControlComponent` which provides default
113
* ``Repository.refresh_data`` may now be called in a write group on
114
pack-based repositories. Older repositories will still raise an error
115
in this case. Subclasses of ``Repository`` can still override
116
``Repository._refresh_data``, but are now responsible for raising
117
``bzrlib.repository.IsInWriteGroupError`` if they do not support
118
``refresh_data`` during a write group.
119
(Andrew Bennetts, #574236)
124
* ``_remember_remote_is_before`` no longer raises AssertionError when
125
suboptimal network behaviour is noticed; instead it just mutters to the
126
log file (and warns the user if they have set the ``hpss`` debug flag).
127
This was causing unnecessary aborts for performance bugs that are minor
129
(Andrew Bennetts, #528041)
131
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
132
files loaded from disk. To ensure docstrings needed for help are never
133
stripped, the prefix ``__doc__ =`` should now be used.
134
(Martin <gzlist@googlemail.com>)
139
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
140
(Gordon Tyler, #551332)
142
* Workaround ``Crypto.Random`` check leading to spurious test
143
failures on Lucid, FreeBSD and gentoo.
144
(Vincent Ladeuil, #528436)
146
* New class ``ExecutableFeature`` for checking the availability of
147
executables on the ``PATH``. Migrated from bash_completion plugin.
155
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
156
incompatibility in the 2.2b1 release. It also includes a swag of
157
performance, usability and correctness improvements: test feedback on all
158
of these would be welcome.
164
* ``bzr diff`` now supports a --format option, which can be used to
165
select alternative diff formats. (Jelmer Vernooij, #555994)
170
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
171
instead of failing when dirty trees are involved. The corresponding
172
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
173
True explicitly to get the previous behaviour.
174
(Vincent Ladeuil, #519319)
176
* ``bzr export`` to tar file does not fail if any parent directory
177
contains unicode characters. This works around upstream Python bug
178
http://bugs.python.org/issue8396 .
179
(Parth Malwankar, #413406)
181
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
182
(Aaron Bentley, #559436)
184
* ``bzr update`` when a pending merge in the working tree has been merged
185
into the master branch will no longer claim that old commits have become
186
pending merges. (Robert Collins, #562079)
188
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
189
config as in previous versions of bzrlib. (Robert Collins)
191
* Fix glitch in the warning about unclean trees display.
192
(Vincent Ladeuil, #562665)
194
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
197
* Help messages generated by ``RegistryOption.from_kwargs`` list the
198
switches in alphabetical order, rather than in an undefined order.
199
(Martin von Gagern, #559409)
201
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
202
Apport crash reports, to avoid "This problem report applies to a program
203
which is not installed any more" error.
204
(Martin Pool, James Westby, #528114)
206
* Reset ``siginterrupt`` flag to False every time we handle a signal
207
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
208
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
209
errors after two window resizes.
212
* When invoked with a range revision, ``bzr log`` doesn't show revisions
213
that are not part of the Y revisions ancestry anymore when invoked with
215
(Vincent Ladeuil, #474807)
217
* Properly handle ``param_name`` attribute for ``ListOption``.
218
(Martin von Gagern, 387117)
223
* ``bzr commit`` will prompt before using a commit message that was
224
generated by a template and not edited by the user.
225
(Robert Collins, #530265)
227
* ``bzr diff`` read-locks the trees and branches only once, saving about
228
10-20ms on ``bzr diff`` in a bzr.dev tree.
231
* ``bzr missing`` read-locks the branches only once.
234
* ``bzr pull`` locks the branches and tree only once.
237
* Index lookups in pack repositories search recently hit pack files first.
238
In repositories with many pack files this can greatly reduce the
239
number of files accessed, the number of bytes read, and the number of
240
read calls. An incremental pull via plain HTTP takes half the time and
241
bytes for a moderately large repository. (Andrew Bennetts)
243
* Index lookups only re-order the indexes when the hit files aren't
244
already first. Reduces the cost of reordering
245
(John Arbash Meinel, #562429)
247
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
249
(Martin Pool, #553017)
254
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
255
``get_trees_and_branches_to_diff_locked`` instead.
261
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
262
2.1 method of calling run() to perform testing or direct use via the API
263
is now possible again. As part of this, the _operation attribute on
264
Command is now transient and only exists for the duration of ``run()``.
275
* BTreeGraphIndex can now take an offset to indicate that the data starts
276
somewhere other than then beginning of the file. (John Arbash Meinel)
278
* Deleted very old hidden commands ``versionedfile-list``,
279
``weave-plan-merge``, ``weave-merge-text``.
282
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
283
have been removed. (Jelmer Vernooij)
285
* ``Repository.get_revision_inventory()`` has been removed in favor of
286
``Repository.get_inventory()``. (Jelmer Vernooij)
288
* All test servers have been moved out of the bzrlib.transport hierarchy to
289
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
290
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
291
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
292
``bzrlib.tests.test_server``.
295
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
296
as its second parameter, for consistency with the initialize() method of
297
other formats. (Jelmer Vernooij)
302
* Added ``bzr remove-branch`` command that can remove a local or remote
303
branch. (Jelmer Vernooij, #276295)
305
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
306
to set file mtimes to the last timestamp of the last revision in which
307
they were changed rather than the current time. (Jelmer Vernooij)
309
* If the Apport crash-reporting tool is available, bzr crashes are now
310
stored into the ``/var/crash`` apport spool directory, and the user is
311
invited to report them to the developers from there, either
312
automatically or by running ``apport-bug``. No information is sent
313
without specific permission from the user. (Martin Pool, #515052)
315
* Parsing of command lines, for example in ``diff --using``, no longer
316
treats backslash as an escape character on Windows. (Gordon Tyler,
319
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
320
a list of plugin names separated by ':' (';' on windows).
321
(Vincent Ladeuil, #411413)
323
* Plugins can be loaded from arbitrary locations by defining
324
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
325
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
326
specified plugins. This is targeted at plugin developers for punctual
327
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
328
(Vincent Ladeuil, #82693)
330
* Tag names can now be determined automatically by ``automatic_tag_name``
331
hooks on ``Branch`` if they are not specified on the command line.
334
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
335
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
336
as resolved is still accessible via the ``--done`` default action.
339
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
340
(Aaron Bentley, Jonathan Lange)
345
* Added docstring for ``Tree.iter_changes``
346
(John Arbash Meinel, #304182)
348
* Allow additional arguments to
349
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
351
* Allow exporting a single file using ``bzr export``.
352
(Michal Junák, #511987)
354
* Allow syscalls to automatically restart when ``TextUIFactory``'s
355
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
356
IO, which are often poorly handled by Python's libraries and parts of
357
bzrlib. (Andrew Bennetts, #496813)
359
* Avoid infinite recursion when probing for apport.
360
(Vincent Ladeuil, #516934)
362
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
363
(Martin Pool, #331095)
365
* Avoid truncating svn URLs.
366
(Martin Pool, Martin von Gagern, #545185)
368
* ``bzr add`` will not add conflict related files unless explicitly required.
369
(Vincent Ladeuil, #322767, #414589)
371
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
372
indices do not have reference lists, so ``dump-btree`` will simply show
373
``None`` instead. (Andrew Bennetts, #488607)
375
* ``bzr help`` will no longer trigger the get_missing_command hook when
376
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
377
did you mean log?') when getting help. In future we may trigger the hook
378
deliberately when no help topics match from any help index.
379
(Robert Collins, #396261)
381
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
382
revspec as representing the first revision of the branch.
383
(Vincent Ladeuil, #519862)
385
* ``bzr remove-tree`` can now remove multiple working trees.
386
(Jared Hance, Andrew Bennetts, #253137)
388
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
389
the kept file on content conflicts where one side deleted the file.
390
(Vincent Ladeuil, #529968)
392
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
393
permissions as ``.bzr`` directory on a POSIX OS.
394
(Parth Malwankar, #262450)
396
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
397
of ``backup.bzr``. This directory is ignored by bzr commands such as
399
(Parth Malwankar, #335033, #300001)
401
* Cope with non-utf8 characters inside ``.bzrignore``.
402
(Jason Spashett, #183504)
404
* Correctly interpret "451 Rename/move failure: Directory not empty" from
405
ftp servers while trying to take a lock.
406
(Martin Pool, #528722)
408
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
409
changes occured between the workingtree and one of its parents.
410
(Vincent Ladeuil, #535547)
412
* Fix ``log`` to better check ancestors even if merged revisions are involved.
413
(Vincent Ladeuil, #476293)
415
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
416
on os.lisdir() order and is now reliable.
417
(Vincent Ladeuil, #552922).
419
* Many IO operations that returned ``EINTR`` were retried even if it
420
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
421
only retries operations that are safe to retry, and in some cases has
422
switched to operations that can be retried (e.g. ``sock.send`` rather than
424
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
426
* Path conflicts now support --take-this and --take-other even when a
427
deletion is involved.
428
(Vincent Ladeuil, #531967)
430
* Network transfer amounts and rates are now displayed in SI units according
431
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
432
(Gordon Tyler, #514399)
434
* Support kind markers for socket and fifo filesystem objects. This
435
prevents ``bzr status --short`` from crashing when those files are
436
present. (John Arbash Meinel, #303275)
438
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
439
directory. (Parth Malwankar, #138600)
441
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
442
the debugger won't kill the session.
443
(Martin <gzlist@googlemail.com>, #162502)
445
* Tolerate patches with leading noise in ``bzr-handle-patch``.
446
(Toshio Kuratomi, Martin Pool, #502076)
448
* ``update -r`` now supports updating to revisions that are not on
449
mainline (i.e. it supports dotted revisions).
450
(Parth Malwankar, #517800)
452
* Use first apparent author not committer in GNU Changelog format.
453
(Martin von Gagern, #513322)
458
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
459
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
462
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
463
branch to create. (Jelmer Vernooij)
465
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
466
colocated branch to open. (Jelmer Vernooij)
468
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
469
can set a signal handler and call ``signal.siginterrupt(signum,
470
False)`` for it, if the platform and Python version supports it.
471
(Andrew Bennetts, #496813)
473
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
474
run when starting up; it sets up several things that previously needed
475
to be done separately.
476
(Martin Pool, #507710)
478
* Exporters now support a ``per_file_timestamps`` argument to write out the
479
timestamp of the commit in which a file revision was introduced.
482
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
483
present in a control directory. (Jelmer Vernooij)
485
* New method ``Repository.get_known_graph_ancestry()``.
486
(Jelmer Vernooij, #495502)
488
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
491
* Remove unused ``CommandFailed`` exception.
497
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
498
``message_callback`` in the same way that commit does. (Robert Collins)
500
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
501
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
502
of date. (Gary van der Merwe)
504
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
505
functions to load or disable plugins if they wish to use a different
506
plugin mechanism; the --help, --version and no-command name code paths
507
now use the generic pluggable command lookup infrastructure.
510
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
511
which can be set to add extra help to the error. (Gary van der Merwe)
513
* New method ``Branch.automatic_tag_name`` that can be used to find the
514
tag name for a particular revision automatically. (Jelmer Vernooij)
516
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
517
``BzrDir.open_branch()`` now take an optional ``name`` argument.
523
* bzr now has a ``.testr.conf`` file in its source tree configured
524
appropriately for running tests with Testrepository
525
(``https://launchpad.net/testrepository``). (Robert Collins)
527
* Documentation about testing with ``subunit`` has been tweaked.
530
* Known failures has been added for resolve --take-other on ParentLoop
531
conflicts. This reflects bug #537956 without fixing it.
534
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
535
Python modules are loaded, to guard against startup time or library
536
dependency regressions.
539
* PQM will now run with subunit output. To analyze a PQM error use
540
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
542
* Stop sending apport crash files to ``.cache`` in the directory from
543
which ``bzr selftest`` was run. (Martin Pool, #422350)
545
* Tests no longer fail if "close() called during concurrent
546
operation on the same file object" occurs when closing the log file
547
(which can happen if a thread tries to write to the log file at the
548
wrong moment). An warning will be written to ``stderr`` when this
549
happens, and another warning will be written if the log file could not
550
be closed after retrying 100 times. (Andrew Bennetts, #531746)
555
:2.1.2: NOT RELEASED YET
560
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
561
(Aaron Bentley, #559436)
563
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
565
(Andrew Bennetts, #528041)
567
* Reset ``siginterrupt`` flag to False every time we handle a signal
568
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
569
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
570
errors after two window resizes.
576
* ``_remember_remote_is_before`` no longer raises AssertionError when
577
suboptimal network behaviour is noticed; instead it just mutters to the
578
log file (and warns the user if they have set the ``hpss`` debug flag).
579
This was causing unnecessary aborts for performance bugs that are minor
581
(Andrew Bennetts, #528041)
589
This is a small bugfix release. Upgrading is recommended for anyone
590
running 2.1.0 or earlier.
595
* Allow syscalls to automatically restart when ``TextUIFactory``'s
596
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
597
IO, which are often poorly handled by Python's libraries and parts of
598
bzrlib. (Andrew Bennetts, #496813)
600
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
601
(Martin Pool, #331095)
603
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
605
* Fix stub sftp test server to call os.getcwdu().
606
(Vincent Ladeuil, #526221, #526353)
608
* Fixed CHM generation by moving the NEWS section template into
609
a separate file. (Ian Clatworthy, #524184)
611
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
613
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
614
problems importing bzrlib from a non-main thread.
615
(Elliot Murphy, #521989)
617
* Repositories accessed via a smart server now reject being stacked on a
618
repository in an incompatible format, as is the case when accessing them
619
via other methods. This was causing fetches from those repositories via
620
a smart server (e.g. using ``bzr branch``) to receive invalid data.
621
(Andrew Bennetts, #562380)
623
* Standardize the error handling when creating a new ``StaticTuple``
624
(problems will raise TypeError). (Matt Nordhoff, #457979)
626
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
627
``StaticTuple`` extensions, rather than having the build fail randomly.
628
(John Arbash Meinel, #449776)
633
* Added a link to the Desktop Guide. (Ian Clatworthy)
635
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
637
* Drop Google Analytics from the core docs as they caused problems
638
in the CHM files. (Ian Clatworthy, #502010)
643
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
644
can set a signal handler and call ``signal.siginterrupt(signum,
645
False)`` for it, if the platform and Python version supports it.
646
(Andrew Bennetts, #496813)
652
:Codename: Strasbourg
655
This release marks our second long-term-stable series. The Bazaar team
656
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
657
releases, along with 2.2 development releases.
659
This is a fairly incremental update, focusing on polish and bugfixing.
660
There are no changes for supported disk formats. Key updates include
661
reduced memory consumption for many operations, a new per-file merge
662
hook, ignore patterns can now include '!' to exclude files, globbing
663
support for all commands on Windows, and support for addressing home
664
directories via ``bzr+ssh://host/~/`` syntax.
666
Users are encouraged to upgrade from the 2.0 stable series.
671
* Don't require testtools to use sftp.
672
(Vincent Ladeuil, #516183)
674
* Fix "AttributeError in Inter1and2Helper" during fetch.
675
(Martin Pool, #513432)
677
* ``bzr update`` performs the two merges in a more logical order and will stop
678
when it encounters conflicts.
679
(Gerard Krol, #113809)
681
* Give a better error message when doing ``bzr bind`` in an already bound
682
branch. (Neil Martinsen-Burrell, #513063)
684
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
685
in a pack repository, which can happen harmlessly if the abort occurs during
686
finishing the write group. Also use ``bzrlib.cleanup`` so that any
687
other errors that occur while aborting the individual packs won't be
688
hidden by secondary failures when removing the corresponding indices.
689
(Andrew Bennetts, #423015)
691
* Set the mtime of files exported to a directory by ``bzr export`` all to
692
the same value to avoid confusing ``make`` and other date-based build
693
systems. (Robert Collins, #515631)
698
* Fetching into experimental formats will now print a warning. (Jelmer
704
* ``Repository.deserialise_inventory`` has been renamed to
705
``Repository._deserialise_inventory`` to indicate it is private.
708
* ``Repository.get_inventory_xml`` has been renamed to
709
``Repository._get_inventory_xml`` to indicate it is private.
712
* ``Repository.serialise_inventory`` has been renamed to
713
``Repository._serialise_inventory`` to indicate it is private.
715
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
716
same time was broken due to race conditions with a module level page
717
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
718
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
719
the same high level objects such as ``bzrlib.repository.Repository``
720
from different threads. chk_map now uses a thread local cache which may
721
increase memory pressure on processes using threads.
722
(Robert Collins, John Arbash Meinel, #514090)
724
* The new ``merge_file_content`` should now be ok with tests to avoid
726
(Vincent Ladeuil, #515597)
731
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
732
blocks in several places in ``bzrlib.merge``. This avoids masking prior
733
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
735
(Andrew Bennetts, #517275)
740
* The ``remove_index`` method of
741
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
742
argument. This argument was always ignored.
743
(Andrew Bennetts, #423015)
748
:Codename: after the bubbles
749
:2.1.0rc2: 2010-01-29
751
This is a quick-turn-around to update a small issue with our new per-file
752
merge hook. We expect no major changes from this to the final 2.1.0.
757
* The new ``merge_file_content`` hook point has been altered to provide a
758
better API where state for extensions can be stored rather than the
759
too-simple function based approach. This fixes a performance regression
760
where branch configuration would be parsed per-file during merge. As
761
part of this the included news_merger has been refactored into a base
762
helper class ``bzrlib.merge.ConfigurableFileMerger``.
763
(Robert Collins, John Arbash Meinel, #513822)
8
bzr 2.2.0b1 (not released yet)
9
##############################