5
6
.. contents:: List of Releases
11
:2.2b3: NOT RELEASED YET
16
* An API break has been made to the lock_write method of ``Branch`` and
17
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
18
and ``repository.RepositoryWriteLockResult`` objects. This makes
19
changing the API in future easier and permits some cleaner calling code.
20
The lock_read method has also changed from having no defined return
21
value to returning ``LogicalLockResult`` objects.
27
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
29
(Parth Malwankar, #571467)
31
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
32
the default ignore rules used by bzr. The flag ``--old-default-rules``
33
is no longer supported by ``ignore``.
34
(Parth Malwankar, #538703)
36
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
37
can save disk space by deleting obsolete pack files created during the
39
(Parth Malwankar, #304320)
44
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
45
group ownership from the containing directory. This allow bzr to work
47
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
49
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
50
are part of Y ancestry but not part of X ancestry (aka the graph
52
(Vincent Ladeuil, #320119)
54
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
55
(Vincent Ladeuil, #566670)
57
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
58
(Vincent Ladeuil, #563997)
60
* Don't mention --no-strict when we just issue the warning about unclean trees.
61
(Vincent Ladeuil, #401599)
63
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
65
(Andrew Bennetts, #528041)
67
* Reduce peak memory by one copy of compressed text.
68
(John Arbash Meinel, #566940)
70
* Show the filenames when a file rename fails so that the error will be
72
(Martin Pool, #491763)
77
* ``append_revisions_only`` will now be interpreted as a boolean and a
78
warning emitted if illegal values are used. Note that for projects
79
that needs to maintain compatibility with previsous bzr versions,
80
only 'True' and 'False' strings must be used (previous versions of
81
bzr will interpret all strings differing from 'True'
82
(case-sensitive) as false.
83
(Brian de Alwis, Vincent Ladeuil)
85
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
86
be interpreted as a boolean.
95
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
96
some kinds of ``merge_file_content`` hook functions.
99
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
100
`user_transport`, `control_url` and `control_transport` members pointing
101
respectively to the directory containing the ``.bzr`` control directory,
102
and to the directory within ``.bzr`` used for the particular component.
103
All of them inherit from `ControlComponent` which provides default
107
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
108
expected to return an object which can be used to unlock them. This reduces
109
duplicate code when using cleanups. The previous 'tokens's returned by
110
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
111
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
112
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
117
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
120
* ``_remember_remote_is_before`` no longer raises AssertionError when
121
suboptimal network behaviour is noticed; instead it just mutters to the
122
log file (and warns the user if they have set the ``hpss`` debug flag).
123
This was causing unnecessary aborts for performance bugs that are minor
125
(Andrew Bennetts, #528041)
127
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
128
files loaded from disk. To ensure docstrings needed for help are never
129
stripped, the prefix ``__doc__ =`` should now be used.
130
(Martin <gzlist@googlemail.com>)
135
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
136
our first in-tree matcher. See the module docstring for details.
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)
151
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
152
incompatibility in the 2.2b1 release. It also includes a swag of
153
performance, usability and correctness improvements: test feedback on all
154
of these would be welcome.
160
* ``bzr diff`` now supports a --format option, which can be used to
161
select alternative diff formats. (Jelmer Vernooij, #555994)
166
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
167
instead of failing when dirty trees are involved. The corresponding
168
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
169
True explicitly to get the previous behaviour.
170
(Vincent Ladeuil, #519319)
172
* ``bzr export`` to tar file does not fail if any parent directory
173
contains unicode characters. This works around upstream Python bug
174
http://bugs.python.org/issue8396 .
175
(Parth Malwankar, #413406)
177
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
178
(Aaron Bentley, #559436)
180
* ``bzr update`` when a pending merge in the working tree has been merged
181
into the master branch will no longer claim that old commits have become
182
pending merges. (Robert Collins, #562079)
184
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
185
config as in previous versions of bzrlib. (Robert Collins)
187
* Fix glitch in the warning about unclean trees display.
188
(Vincent Ladeuil, #562665)
190
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
193
* Help messages generated by ``RegistryOption.from_kwargs`` list the
194
switches in alphabetical order, rather than in an undefined order.
195
(Martin von Gagern, #559409)
197
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
198
Apport crash reports, to avoid "This problem report applies to a program
199
which is not installed any more" error.
200
(Martin Pool, James Westby, #528114)
202
* Reset ``siginterrupt`` flag to False every time we handle a signal
203
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
204
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
205
errors after two window resizes.
208
* When invoked with a range revision, ``bzr log`` doesn't show revisions
209
that are not part of the Y revisions ancestry anymore when invoked with
211
(Vincent Ladeuil, #474807)
213
* Properly handle ``param_name`` attribute for ``ListOption``.
214
(Martin von Gagern, 387117)
219
* ``bzr commit`` will prompt before using a commit message that was
220
generated by a template and not edited by the user.
221
(Robert Collins, #530265)
223
* ``bzr diff`` read-locks the trees and branches only once, saving about
224
10-20ms on ``bzr diff`` in a bzr.dev tree.
227
* ``bzr missing`` read-locks the branches only once.
230
* ``bzr pull`` locks the branches and tree only once.
233
* Index lookups in pack repositories search recently hit pack files first.
234
In repositories with many pack files this can greatly reduce the
235
number of files accessed, the number of bytes read, and the number of
236
read calls. An incremental pull via plain HTTP takes half the time and
237
bytes for a moderately large repository. (Andrew Bennetts)
239
* Index lookups only re-order the indexes when the hit files aren't
240
already first. Reduces the cost of reordering
241
(John Arbash Meinel, #562429)
243
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
245
(Martin Pool, #553017)
250
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
251
``get_trees_and_branches_to_diff_locked`` instead.
257
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
258
2.1 method of calling run() to perform testing or direct use via the API
259
is now possible again. As part of this, the _operation attribute on
260
Command is now transient and only exists for the duration of ``run()``.
271
* BTreeGraphIndex can now take an offset to indicate that the data starts
272
somewhere other than then beginning of the file. (John Arbash Meinel)
274
* Deleted very old hidden commands ``versionedfile-list``,
275
``weave-plan-merge``, ``weave-merge-text``.
278
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
279
have been removed. (Jelmer Vernooij)
281
* ``Repository.get_revision_inventory()`` has been removed in favor of
282
``Repository.get_inventory()``. (Jelmer Vernooij)
284
* All test servers have been moved out of the bzrlib.transport hierarchy to
285
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
286
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
287
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
288
``bzrlib.tests.test_server``.
291
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
292
as its second parameter, for consistency with the initialize() method of
293
other formats. (Jelmer Vernooij)
298
* Added ``bzr remove-branch`` command that can remove a local or remote
299
branch. (Jelmer Vernooij, #276295)
301
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
302
to set file mtimes to the last timestamp of the last revision in which
303
they were changed rather than the current time. (Jelmer Vernooij)
305
* If the Apport crash-reporting tool is available, bzr crashes are now
306
stored into the ``/var/crash`` apport spool directory, and the user is
307
invited to report them to the developers from there, either
308
automatically or by running ``apport-bug``. No information is sent
309
without specific permission from the user. (Martin Pool, #515052)
311
* Parsing of command lines, for example in ``diff --using``, no longer
312
treats backslash as an escape character on Windows. (Gordon Tyler,
315
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
316
a list of plugin names separated by ':' (';' on windows).
317
(Vincent Ladeuil, #411413)
319
* Plugins can be loaded from arbitrary locations by defining
320
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
321
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
322
specified plugins. This is targeted at plugin developers for punctual
323
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
324
(Vincent Ladeuil, #82693)
326
* Tag names can now be determined automatically by ``automatic_tag_name``
327
hooks on ``Branch`` if they are not specified on the command line.
330
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
331
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
332
as resolved is still accessible via the ``--done`` default action.
335
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
336
(Aaron Bentley, Jonathan Lange)
341
* Added docstring for ``Tree.iter_changes``
342
(John Arbash Meinel, #304182)
344
* Allow additional arguments to
345
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
347
* Allow exporting a single file using ``bzr export``.
348
(Michal Junák, #511987)
350
* Allow syscalls to automatically restart when ``TextUIFactory``'s
351
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
352
IO, which are often poorly handled by Python's libraries and parts of
353
bzrlib. (Andrew Bennetts, #496813)
355
* Avoid infinite recursion when probing for apport.
356
(Vincent Ladeuil, #516934)
358
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
359
(Martin Pool, #331095)
361
* Avoid truncating svn URLs.
362
(Martin Pool, Martin von Gagern, #545185)
364
* ``bzr add`` will not add conflict related files unless explicitly required.
365
(Vincent Ladeuil, #322767, #414589)
367
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
368
indices do not have reference lists, so ``dump-btree`` will simply show
369
``None`` instead. (Andrew Bennetts, #488607)
371
* ``bzr help`` will no longer trigger the get_missing_command hook when
372
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
373
did you mean log?') when getting help. In future we may trigger the hook
374
deliberately when no help topics match from any help index.
375
(Robert Collins, #396261)
377
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
378
revspec as representing the first revision of the branch.
379
(Vincent Ladeuil, #519862)
381
* ``bzr remove-tree`` can now remove multiple working trees.
382
(Jared Hance, Andrew Bennetts, #253137)
384
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
385
the kept file on content conflicts where one side deleted the file.
386
(Vincent Ladeuil, #529968)
388
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
389
permissions as ``.bzr`` directory on a POSIX OS.
390
(Parth Malwankar, #262450)
392
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
393
of ``backup.bzr``. This directory is ignored by bzr commands such as
395
(Parth Malwankar, #335033, #300001)
397
* Cope with non-utf8 characters inside ``.bzrignore``.
398
(Jason Spashett, #183504)
400
* Correctly interpret "451 Rename/move failure: Directory not empty" from
401
ftp servers while trying to take a lock.
402
(Martin Pool, #528722)
404
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
405
changes occured between the workingtree and one of its parents.
406
(Vincent Ladeuil, #535547)
408
* Fix ``log`` to better check ancestors even if merged revisions are involved.
409
(Vincent Ladeuil, #476293)
411
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
412
on os.lisdir() order and is now reliable.
413
(Vincent Ladeuil, #552922).
415
* Many IO operations that returned ``EINTR`` were retried even if it
416
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
417
only retries operations that are safe to retry, and in some cases has
418
switched to operations that can be retried (e.g. ``sock.send`` rather than
420
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
422
* Path conflicts now support --take-this and --take-other even when a
423
deletion is involved.
424
(Vincent Ladeuil, #531967)
426
* Network transfer amounts and rates are now displayed in SI units according
427
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
428
(Gordon Tyler, #514399)
430
* Support kind markers for socket and fifo filesystem objects. This
431
prevents ``bzr status --short`` from crashing when those files are
432
present. (John Arbash Meinel, #303275)
434
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
435
directory. (Parth Malwankar, #138600)
437
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
438
the debugger won't kill the session.
439
(Martin <gzlist@googlemail.com>, #162502)
441
* Tolerate patches with leading noise in ``bzr-handle-patch``.
442
(Toshio Kuratomi, Martin Pool, #502076)
444
* ``update -r`` now supports updating to revisions that are not on
445
mainline (i.e. it supports dotted revisions).
446
(Parth Malwankar, #517800)
448
* Use first apparent author not committer in GNU Changelog format.
449
(Martin von Gagern, #513322)
454
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
455
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
458
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
459
branch to create. (Jelmer Vernooij)
461
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
462
colocated branch to open. (Jelmer Vernooij)
464
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
465
can set a signal handler and call ``signal.siginterrupt(signum,
466
False)`` for it, if the platform and Python version supports it.
467
(Andrew Bennetts, #496813)
469
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
470
run when starting up; it sets up several things that previously needed
471
to be done separately.
472
(Martin Pool, #507710)
474
* Exporters now support a ``per_file_timestamps`` argument to write out the
475
timestamp of the commit in which a file revision was introduced.
478
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
479
present in a control directory. (Jelmer Vernooij)
481
* New method ``Repository.get_known_graph_ancestry()``.
482
(Jelmer Vernooij, #495502)
484
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
487
* Remove unused ``CommandFailed`` exception.
493
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
494
``message_callback`` in the same way that commit does. (Robert Collins)
496
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
497
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
498
of date. (Gary van der Merwe)
500
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
501
functions to load or disable plugins if they wish to use a different
502
plugin mechanism; the --help, --version and no-command name code paths
503
now use the generic pluggable command lookup infrastructure.
506
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
507
which can be set to add extra help to the error. (Gary van der Merwe)
509
* New method ``Branch.automatic_tag_name`` that can be used to find the
510
tag name for a particular revision automatically. (Jelmer Vernooij)
512
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
513
``BzrDir.open_branch()`` now take an optional ``name`` argument.
519
* bzr now has a ``.testr.conf`` file in its source tree configured
520
appropriately for running tests with Testrepository
521
(``https://launchpad.net/testrepository``). (Robert Collins)
523
* Documentation about testing with ``subunit`` has been tweaked.
526
* Known failures has been added for resolve --take-other on ParentLoop
527
conflicts. This reflects bug #537956 without fixing it.
530
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
531
Python modules are loaded, to guard against startup time or library
532
dependency regressions.
535
* PQM will now run with subunit output. To analyze a PQM error use
536
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
538
* Stop sending apport crash files to ``.cache`` in the directory from
539
which ``bzr selftest`` was run. (Martin Pool, #422350)
541
* Tests no longer fail if "close() called during concurrent
542
operation on the same file object" occurs when closing the log file
543
(which can happen if a thread tries to write to the log file at the
544
wrong moment). An warning will be written to ``stderr`` when this
545
happens, and another warning will be written if the log file could not
546
be closed after retrying 100 times. (Andrew Bennetts, #531746)
551
:2.1.2: NOT RELEASED YET
556
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
557
(Aaron Bentley, #559436)
559
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
561
(Andrew Bennetts, #528041)
563
* Reset ``siginterrupt`` flag to False every time we handle a signal
564
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
565
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
566
errors after two window resizes.
572
* ``_remember_remote_is_before`` no longer raises AssertionError when
573
suboptimal network behaviour is noticed; instead it just mutters to the
574
log file (and warns the user if they have set the ``hpss`` debug flag).
575
This was causing unnecessary aborts for performance bugs that are minor
577
(Andrew Bennetts, #528041)
585
This is a small bugfix release. Upgrading is recommended for anyone
586
running 2.1.0 or earlier.
591
* Allow syscalls to automatically restart when ``TextUIFactory``'s
592
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
593
IO, which are often poorly handled by Python's libraries and parts of
594
bzrlib. (Andrew Bennetts, #496813)
596
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
597
(Martin Pool, #331095)
599
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
601
* Fix stub sftp test server to call os.getcwdu().
602
(Vincent Ladeuil, #526221, #526353)
604
* Fixed CHM generation by moving the NEWS section template into
605
a separate file. (Ian Clatworthy, #524184)
607
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
609
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
610
problems importing bzrlib from a non-main thread.
611
(Elliot Murphy, #521989)
613
* Repositories accessed via a smart server now reject being stacked on a
614
repository in an incompatible format, as is the case when accessing them
615
via other methods. This was causing fetches from those repositories via
616
a smart server (e.g. using ``bzr branch``) to receive invalid data.
617
(Andrew Bennetts, #562380)
619
* Standardize the error handling when creating a new ``StaticTuple``
620
(problems will raise TypeError). (Matt Nordhoff, #457979)
622
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
623
``StaticTuple`` extensions, rather than having the build fail randomly.
624
(John Arbash Meinel, #449776)
629
* Added a link to the Desktop Guide. (Ian Clatworthy)
631
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
633
* Drop Google Analytics from the core docs as they caused problems
634
in the CHM files. (Ian Clatworthy, #502010)
639
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
640
can set a signal handler and call ``signal.siginterrupt(signum,
641
False)`` for it, if the platform and Python version supports it.
642
(Andrew Bennetts, #496813)
648
:Codename: Strasbourg
651
This release marks our second long-term-stable series. The Bazaar team
652
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
653
releases, along with 2.2 development releases.
655
This is a fairly incremental update, focusing on polish and bugfixing.
656
There are no changes for supported disk formats. Key updates include
657
reduced memory consumption for many operations, a new per-file merge
658
hook, ignore patterns can now include '!' to exclude files, globbing
659
support for all commands on Windows, and support for addressing home
660
directories via ``bzr+ssh://host/~/`` syntax.
662
Users are encouraged to upgrade from the 2.0 stable series.
667
* Don't require testtools to use sftp.
668
(Vincent Ladeuil, #516183)
670
* Fix "AttributeError in Inter1and2Helper" during fetch.
671
(Martin Pool, #513432)
673
* ``bzr update`` performs the two merges in a more logical order and will stop
674
when it encounters conflicts.
675
(Gerard Krol, #113809)
677
* Give a better error message when doing ``bzr bind`` in an already bound
678
branch. (Neil Martinsen-Burrell, #513063)
680
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
681
in a pack repository, which can happen harmlessly if the abort occurs during
682
finishing the write group. Also use ``bzrlib.cleanup`` so that any
683
other errors that occur while aborting the individual packs won't be
684
hidden by secondary failures when removing the corresponding indices.
685
(Andrew Bennetts, #423015)
687
* Set the mtime of files exported to a directory by ``bzr export`` all to
688
the same value to avoid confusing ``make`` and other date-based build
689
systems. (Robert Collins, #515631)
694
* Fetching into experimental formats will now print a warning. (Jelmer
700
* ``Repository.deserialise_inventory`` has been renamed to
701
``Repository._deserialise_inventory`` to indicate it is private.
704
* ``Repository.get_inventory_xml`` has been renamed to
705
``Repository._get_inventory_xml`` to indicate it is private.
708
* ``Repository.serialise_inventory`` has been renamed to
709
``Repository._serialise_inventory`` to indicate it is private.
711
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
712
same time was broken due to race conditions with a module level page
713
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
714
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
715
the same high level objects such as ``bzrlib.repository.Repository``
716
from different threads. chk_map now uses a thread local cache which may
717
increase memory pressure on processes using threads.
718
(Robert Collins, John Arbash Meinel, #514090)
720
* The new ``merge_file_content`` should now be ok with tests to avoid
722
(Vincent Ladeuil, #515597)
727
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
728
blocks in several places in ``bzrlib.merge``. This avoids masking prior
729
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
731
(Andrew Bennetts, #517275)
736
* The ``remove_index`` method of
737
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
738
argument. This argument was always ignored.
739
(Andrew Bennetts, #423015)
744
:Codename: after the bubbles
745
:2.1.0rc2: 2010-01-29
747
This is a quick-turn-around to update a small issue with our new per-file
748
merge hook. We expect no major changes from this to the final 2.1.0.
753
* The new ``merge_file_content`` hook point has been altered to provide a
754
better API where state for extensions can be stored rather than the
755
too-simple function based approach. This fixes a performance regression
756
where branch configuration would be parsed per-file during merge. As
757
part of this the included news_merger has been refactored into a base
758
helper class ``bzrlib.merge.ConfigurableFileMerger``.
759
(Robert Collins, John Arbash Meinel, #513822)
765
:Codename: the 'new' stable
766
:2.1.0rc1: 2009-01-21
768
This is the first stable release candidate for Bazaar's 2.1 series. From
769
this point onwards, the 2.1 series will be considered stable (as the 2.0
770
series) and only bugfixes are expected to be incorporated. The dozen or so
771
bugfixes in the 2.0.4 release are also included in this release (along
772
with more than 15 more bugfixes). Some of the interesting features are
773
support for per-file merge hooks, ``bzr unshelve --preview``, support
774
for using ! in ignore files to exclude files from being ignored, a small
775
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
776
This looks to be a very good start for a new stable series.
782
* Add bug information to log output when available.
783
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
785
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
786
to register custom merge logic, e.g. to provide smarter merging for
789
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
790
default, to enable it add a ``news_merge_files`` option to your
791
configuration. Consult ``bzr help news_merge`` for more information.
794
* ``bzr branch`` now takes a ``--bind`` option. This lets you
795
branch and bind all in one command. (Ian Clatworthy)
797
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
798
a specific revision of a branch. (Daniel Watkins, #183559)
800
* ``bzr unshelve --preview`` can now be used to show how a patch on the
801
shelf would be applied to the working tree.
802
(Guilherme Salgado, #308122)
804
* ``bzr update`` now takes a ``--revision`` argument. This lets you
805
change the revision of the working tree to any revision in the
806
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
809
* ``-Dbytes`` can now be used to display the total number of bytes
810
transferred for the current command. This information is always logged
811
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
813
* New ignore patterns. Patterns prefixed with '!' are exceptions to
814
ignore patterns and take precedence over regular ignores. Such
815
exceptions are used to specify files that should be versioned which
816
would otherwise be ignored. Patterns prefixed with '!!' act as regular
817
ignore patterns, but have highest precedence, even over the '!'
818
exception patterns. (John Whitley, #428031)
820
* The ``supress_warnings`` configuration option has been introduced to disable
821
various warnings (it currently only supports the ``format_deprecation``
822
warning). The new option can be set in any of the following locations:
823
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
824
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
829
* Always show a message if an OS error occurs while trying to run a
830
user-specified commit message editor.
831
(Martin Pool, #504842)
833
* ``bzr diff`` will now use the epoch when it is unable to determine
834
the timestamp of a file, if the revision it was introduced in is a
835
ghost. (Jelmer Vernooij, #295611)
837
* ``bzr switch -b`` can now create branches that are located using directory
838
services such as ``lp:``, even when the branch name doesn't contain a
839
'/'. (Neil Martinsen-Burrell, #495263)
841
* ``bzr unshelve`` has improved messages about what it is doing.
842
(Neil Martinsen-Burrell, #496917)
844
* Concurrent autopacking is more resilient to already-renamed pack files.
845
If we find that a file we are about to obsolete is already obsoleted, we
846
do not try to rename it, and we leave the file in ``obsolete_packs``.
847
The code is also fault tolerant if a file goes missing, assuming that
848
another process already removed the file.
849
(John Arbash Meinel, Gareth White, #507557)
851
* Fix "Too many concurrent requests" in reconcile when network connection
852
fails. (Andrew Bennetts, #503878)
854
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
855
that caused some tests to fail when run in a non-default order.
856
Probably no user impact. (Martin Pool, #504102)
858
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
859
(Andrew Bennetts, #506274)
861
* FTP transports support Unicode paths by encoding/decoding them as utf8.
862
(Vincent Ladeuil, #472161)
864
* Listen to the SIGWINCH signal to update the terminal width.
865
(Vincent Ladeuil, #316357)
867
* Progress bars are now hidden when ``--quiet`` is given.
868
(Martin Pool, #320035)
870
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
871
whatever is written to it. This un-breaks some plugin tests that
872
depended on this behaviour.
873
(Martin Pool, #499757)
875
* When operations update the working tree, all affected files should end
876
up with the same mtime. (eg. when versioning a generated file, if you
877
update the source and the generated file together, the generated file
878
should appear up-to-date.)
879
(John Arbash Meinel, Martin <gzlist>, #488724)
884
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
885
All the builtin commands now use ``add_cleanup`` rather than
886
``try``/``finally`` blocks where applicable as it is simpler and more
887
robust. (Andrew Bennetts)
889
* All except a small number of storage formats are now hidden, making
890
the help for numerous commands far more digestible. (Ian Clatworthy)
892
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
893
path/to/repo``) will now include "location is a repository" as a hint in
894
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
896
* Push will now inform the user when they are trying to push to a foreign
897
VCS for which roundtripping is not supported, and will suggest them to
898
use dpush. (Jelmer Vernooij)
900
* The version of bzr being run is now written to the log file.
903
* Transport network activity indicator is shown more of the time when
904
Bazaar is doing network IO.
910
* Add documentation on creating merges with more than one parent.
911
(Neil Martinsen-Burrell, #481526)
913
* Better explain the --uncommitted option of merge.
914
(Neil Martinsen-Burrell, #505088)
916
* Improve discussion of pending merges in the documentation for
917
``revert``. (Neil Martinsen-Burrell, #505093)
919
* Improved help for ``bzr send``.
920
(Martin Pool, Bojan Nikolic)
922
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
923
including discussions of installation, relevant plugins, security and
924
backup. (Neil Martinsen-Burrell)
926
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
929
* The User Reference is now presented as a series of topics.
930
Many of the included topics have link and format tweaks applied.
936
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
939
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
940
to be consistent with instances being lower case and classes being
941
CamelCase. For the features that were more likely to be used, we added a
942
deprecation thunk, but not all. (John Arbash Meinel)
944
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
945
parameter in their constructors, and provide ``this_branch`` as an
946
attribute. (Andrew Bennetts)
948
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
949
by plugins - the original exceptions are now preserved. (Robert Collins)
951
* The Transport ``Server.tearDown`` method is now renamed to
952
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
953
our normal naming pattern, and to avoid confusion with Python's
954
``TestCase.tearDown``. (Martin Pool)
956
* ``WorkingTree.update`` implementations must now accept a ``revision``
962
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
963
a string of details (such as "location is a repository") as part of a
964
``nobranch`` response. (Andrew Bennetts, #440952)
966
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
967
objects but passes str objects straight through. This is used for
968
selftest but may be useful for diff and other operations that generate
969
mixed output. (Robert Collins)
971
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
972
plugins. (Jelmer Vernooij)
977
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
978
running all tests in the current module, once against a pure python
979
implementation, and once against an extension (pyrex/C) implementation.
980
It can be used to dramatically simplify the implementation of
981
``load_tests``. (John Arbash Meinel)
983
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
984
This permits features in testtools such as getUniqueInteger and
985
getUniqueString to be used. Because of this, testtools version 0.9.2 or
986
newer is now a dependency to run bzr selftest. Running with versions of
987
testtools less than 0.9.2 will cause bzr to error while loading the test
988
suite. (Robert Collins)
990
* Shell-like tests now support the command "mv" for moving files. The
991
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
992
supported. (Neil Martinsen-Burrell)
994
* The test progress bar no longer distinguishes tests that 'errored' from
995
tests that 'failed' - they're all just failures.
1001
:2.0.6: NOT RELEASED YET
1006
* Additional merges after an unrelated branch has been merged with its
1007
history no longer crash when deleted files are involved.
1008
(Vincent Ladeuil, John Arbash Meinel, #375898)
1010
* ``bzr revert`` now only takes write lock on working tree, instead of on
1011
both working tree and branch.
1012
(Danny van Heumen, #498409)
1014
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1015
permissions as ``.bzr`` directory on a POSIX OS.
1016
(Parth Malwankar, #262450)
1018
* Repositories accessed via a smart server now reject being stacked on a
1019
repository in an incompatible format, as is the case when accessing them
1020
via other methods. This was causing fetches from those repositories via
1021
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1022
(Andrew Bennetts, #562380)
1029
This fifth release in our 2.0 series addresses several user-inconvenience
1030
bugs. None are critical, but upgrading is recommended for all users on
1031
earlier 2.0 releases.
1036
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1037
(Martin Pool, #331095)
1039
* Concurrent autopacking is more resilient to already-renamed pack files.
1040
If we find that a file we are about to obsolete is already obsoleted, we
1041
do not try to rename it, and we leave the file in ``obsolete_packs``.
1042
The code is also fault tolerant if a file goes missing, assuming that
1043
another process already removed the file.
1044
(John Arbash Meinel, Gareth White, #507557)
1046
* Cope with the lockdir ``held/info`` file being empty, which seems to
1047
happen fairly often if the process is suddenly interrupted while taking
1049
(Martin Pool, #185103)
1051
* Give the warning about potentially slow cross-format fetches much
1052
earlier on in the fetch operation. Don't show this message during
1053
upgrades, and show the correct format indication for remote
1055
(Martin Pool, #456077, #515356, #513157)
1057
* Handle renames correctly when there are files or directories that
1058
differ only in case. (Chris Jones, Martin Pool, #368931)
1060
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1061
error, report that error rather than failing with an unhelpful
1062
``UnboundLocalError``.
1063
(Andrew Bennetts, #423563)
1065
* Running ``bzr`` command without any arguments now shows bzr
1066
version number along with rest of the help text.
1067
(Parth Malwankar, #369501)
1069
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1071
(Inada Naoki, #524560)
1076
* Added ``location-alias`` help topic.
1077
(Andrew Bennetts, #337834)
1079
* Fixed CHM generation by moving the NEWS section template into
1080
a separate file. (Ian Clatworthy, #524184)
1086
:Codename: smooth sailing
1089
The fourth bugfix-only release in the 2.0 series contains more than a
1090
dozen bugfixes relative to 2.0.3. The primary focus is on handling
1091
interruptions and concurrent operations more cleanly, there is also a fair
1092
improvement to ``bzr export`` when exporting a remote branch.
1098
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
1099
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
1101
* ``bzr export dir`` now requests all file content as a record stream,
1102
rather than requsting the file content one file-at-a-time. This can make
1103
exporting over the network significantly faster (54min => 9min in one
1104
case). (John Arbash Meinel, #343218)
1106
* ``bzr serve`` no longer slowly leaks memory. The compiled
1107
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
1108
free resources, and it should have been using ``__dealloc__``.
1109
This will likely have an impact on any other process that is serving for
1110
an extended period of time. (John Arbash Meinel, #494406)
1112
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
1113
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
1114
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
1116
* Concurrent autopacks will no longer lose a newly created pack file.
1117
There was a race condition, where if the reload happened at the right
1118
time, the second packer would forget the name of the newly added pack
1119
file. (John Arbash Meinel, Gareth White, #507566)
1121
* Give a clearer message if the lockdir disappears after being apparently
1122
successfully taken. (Martin Pool, #498378)
1124
* Give a warning when fetching between repositories (local or remote) with
1125
sufficiently different formats that the content will need to be
1126
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
1127
the user has a clue that upgrading could make it faster.
1128
(Martin Pool, #456077)
1130
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
1131
than using ``warning()``. The log file is opened before logging is set
1132
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
1133
users, rather than something nicer.
1134
(John Arbash Meinel, Barry Warsaw, #503886)
1136
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
1137
(Martin Pool, John Arbash Meinel, #449372)
1139
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
1140
build. (there is still the distutils bug
1141
http://bugs.python.org/issue644744) (Joe Julian, #175839)
1143
* The 2a format wasn't properly restarting autopacks when something
1144
changed underneath it (like another autopack). Now concurrent
1145
autopackers will properly succeed. (John Arbash Meinel, #495000)
1147
* ``TreeTransform`` can now handle when a delta says that the file id for
1148
the tree root changes. Rather than trying to rename your working
1149
directory, or failing early saying that you can't have multiple
1150
tree roots. This also fixes revert, update, and pull when the root id
1151
changes. (John Arbash Meinel, #494269, #504390)
1153
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
1154
the right time will get propagated, rather than silently failing to move
1155
the block pointer. (John Arbash Meinel, Gareth White, #495023)
1160
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
1161
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
1162
rather than an ``except ?:`` clause.) This should help prevent bugs like
1163
bug #495023. (John Arbash Meinel)
1169
:Codename: san francisco airport
1170
:2.1.0b4: 2009-12-14
1172
The fourth beta release in the 2.1 series brings with it a significant
1173
number of bugfixes (~20). The test suite is once again (finally) "green"
1174
on Windows, and should remain that way for future releases. There are a
1175
few performance related updates (faster upgrade and log), and several UI
1176
tweaks. There has also been a significant number of tweaks to the runtime
1177
documentation. 2.1.0b4 include everything from the 2.0.3 release.
1180
Compatibility Breaks
1181
********************
1183
* The BZR_SSH environmental variable may now be set to the path of a secure
1184
shell client. If currently set to the value ``ssh`` it will now guess the
1185
vendor of the program with that name, to restore the old behaviour that
1186
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
1187
string. (Martin <gzlist@googlemail.com>, #176292)
1192
* ``bzr commit`` now has a ``--commit-time`` option.
1193
(Alexander Sack, #459276)
1195
* ``-Dhpss`` now increases logging done when run on the bzr server,
1196
similarly to how it works on the client. (John Arbash Meinel)
1198
* New option ``bzr unshelve --keep`` applies the changes and leaves them
1199
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
1201
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
1202
respect a given terminal width. This can be useful when output is
1203
redirected or in obscure cases where the default value is not
1204
appropriate. Pagers can use it to get a better control of the line
1208
* The new command ``bzr lp-mirror`` will request that Launchpad update its
1209
mirror of a local branch. This command will only function if launchpadlib
1217
* After renaming a file, the dirstate could accidentally reference
1218
``source\\path`` rather than ``source/path`` on Windows. This might be a
1219
source of some dirstate-related failures. (John Arbash Meinel)
1221
* ``bzr commit`` now detects commit messages that looks like file names
1222
and issues a warning.
1223
(Gioele Barabucci, #73073)
1225
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
1227
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
1228
(#325618, #484109, Marius Kruger)
1230
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
1231
files with conflicts (similar to ``--merge3``). The contents of the file
1232
is a synthesis of all bases used for the merge.
1233
(John Arbash Meinel, #40412)
1235
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
1237
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
1238
(Robert Collins, #84659)
1240
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
1242
* Fix bug with redirected URLs over authenticated HTTP.
1243
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
1245
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
1247
* Lots of bugfixes for the test suite on Windows. We should once again
1248
have a test suite with no failures on Windows. (John Arbash Meinel)
1250
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
1251
variable but returns None if the terminal is not a tty (when output is
1252
redirected for example). Also fixes its usage under OSes that doesn't
1253
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
1255
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
1256
(John Arbash Meinel, Vincent Ladeuil, #492561)
1258
* Terminate ssh subprocesses when no references to them remain, fixing
1259
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
1261
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
1262
works for 2a format trees. Only files unaffected by content filters
1263
will be hardlinked. (Andrew Bennetts, #408193)
1265
* The new glob expansion on Windows would replace all ``\`` characters
1266
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
1267
etc. Now only change slashes if there is something being glob expanded.
1268
(John Arbash Meinel, #485771)
1270
* Use our faster ``KnownGraph.heads()`` functionality when computing the
1271
new rich-root heads. This can cut a conversion time in half (mysql from
1272
13.5h => 6.2h) (John Arbash Meinel, #487632)
1274
* When launching a external diff tool via bzr diff --using, temporary files
1275
are no longer created, rather, the path to the file in the working tree is
1276
passed to the external diff tool. This allows the file to be edited if the
1277
diff tool provides for this. (Gary van der Merwe, #490738)
1279
* The launchpad-open command can now be used from a subdirectory of a
1280
branch, not just from the root of the branch.
1281
(Neil Martinsen-Burrell, #489102)
1287
* ``bzr log`` is now faster. (Ian Clatworthy)
1289
* ``bzr update`` provides feedback on which branch it is up to date with.
1290
(Neil Martinsen-Burrell)
1292
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
1293
For details see the xml8 patch and heads() improvements.
1294
(John Arbash Meinel)
1296
* ``bzrlib.urlutils.local_path_from_url`` now accepts
1297
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
1300
* The progress bar now shows only a spinner and per-operation counts,
1301
not an overall progress bar. The previous bar was often not correlated
1302
with real overall operation progress, either because the operations take
1303
nonlinear time, or because at the start of the operation Bazaar couldn't
1304
estimate how much work there was to do. (Martin Pool)
1309
* Lots of documentation tweaks for inline help topics and command help
1315
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
1317
* The Launchpad plugin now has a function ``login`` which will log in to
1318
Launchpad with launchpadlib, and ``load_branch`` which will return the
1319
Launchpad Branch object corresponding to a given Bazaar Branch object.
1325
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
1326
easier to handle what tests you want to run based on what modules can be
1327
imported. (Rather than lots of custom-implemented features that were
1328
basically copy-and-pasted.) (John Arbash Meinel)
1330
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
1331
``time.clock()`` when you want to do performance timing.
1332
``time.time()`` is limited to 15ms resolution on Windows, but
1333
``time.clock()`` gives CPU and not wall-clock time on other platforms.
1334
(John Arbash Meinel)
1336
* Several code paths that were calling ``Transport.get().read()`` have
1337
been changed to the equalivent ``Transport.get_bytes()``. The main
1338
difference is that the latter will explicitly call ``file.close()``,
1339
rather than expecting the garbage collector to handle it. This helps
1340
with some race conditions on Windows during the test suite and sftp
1341
tests. (John Arbash Meinel)
1346
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
1347
unicode strings. (Michael Hudson, #464174)
1353
:Codename: little italy
1357
The third stable release of Bazaar has a small handful of bugfixes. As
1358
expected, this has no internal or external compatibility changes versus
1364
* ``bzr push --use-existing-dir`` no longer crashes if the directory
1365
exists but contains an invalid ``.bzr`` directory.
1366
(Andrew Bennetts, #423563)
1368
* Content filters are now applied correctly after pull, merge and switch.
1369
(Ian Clatworthy, #385879)
1371
* Fix a potential segfault in the groupcompress hash map handling code.
1372
When inserting new entries, if the final hash bucket was empty, we could
1373
end up trying to access if ``(last_entry+1)->ptr == NULL``.
1374
(John Arbash Meinel, #490228)
1376
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1382
:Codename: after sprint recovery
1383
:2.1.0b3: 2009-11-16
1385
This release was pushed up from its normal release cycle due to a
1386
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
1387
was caught before 2.1.0b2 was officially announced, the full changelog
1388
includes both 2.1.0b3 and 2.1.0b2 changes.
1390
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
1391
the test suite now conforms to python's trunk enhanced semantics (skip,
1392
etc.), and ``bzr info -v`` will now report the correct branch and repo
1393
formats for Remote objects.
1399
* Users can define a shelve editor to provide shelf functionality at a
1400
granularity finer than per-patch-hunk. (Aaron Bentley)
1405
* Fix for shell completion and short options. (Benoît PIERRE)
1407
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
1409
* Hooks daughter classes should always call the base constructor.
1410
(Alexander Belchenko, Vincent Ladeuil, #389648)
1412
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1414
* On Windows, do glob expansion at the command-line level (as is usually
1415
done in bash, etc.) This means that *all* commands get glob expansion
1416
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
1417
parser, which allows us to know if a given section was quoted. It means
1418
you can now do ``bzr ignore "*.py"``.
1419
(John Arbash Meinel, #425510, #426410, #194450)
1421
* Sanitize commit messages that come in from the '-m' flag. We translate
1422
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
1423
allow those because XML store silently translate it anyway. (The parser
1424
auto-translates \r\n => \n in ways that are hard for us to catch.)
1426
* Show correct branch and repository format descriptions in
1427
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
1429
* The fix for bug #186920 accidentally broke compatibility with python
1430
2.4. (Vincent Ladeuil, #475585)
1432
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
1433
correctly sets ``self.inv_sha1`` to a sha1 string and
1434
``self.new_inventory`` to an Inventory instance after calling
1435
``self.finish_inventory()``. (Previously it accidently set both values
1436
as a tuple on ``self.inv_sha1``. This was missed because
1437
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
1438
the sha1 from the repo directly. (John Arbash Meinel)
1440
* Shelve command refuse to run if there is no real terminal.
1441
(Alexander Belchenko)
1443
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
1444
Python level. (Martin Pool)
1449
* Include Japanese translations for documentation (Inada Naoki)
1451
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
1452
(rather than user-interaction) data to stdout. This automatically
1453
coordinates with progress bars or other terminal activity, and can be
1455
(Martin Pool, 493944)
1460
* Some of the core groupcompress functionality now releases the GIL before
1461
operation. Similar to how zlib and bz2 operate without the GIL in the
1462
core compression and decompression routines. (John Arbash Meinel)
1467
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
1468
more debugging of VFS access triggers. (Robert Collins)
1470
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
1471
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
1473
* ``--parallel=fork`` is now compatible with --subunit.
1474
(Robert Collins, Vincent Ladeuil, #419776)
1476
* Reporting of failures shows test ids not descriptions and thus shows
1477
parameterised tests correctly. (Robert Collins)
1479
* TestNotApplicable is now handled within the TestCase.run method rather
1480
than being looked for within ``ExtendedTestResult.addError``. This
1481
provides better handling with other ``TestResult`` objects, degrading to
1482
sucess rather than error. (Robert Collins)
1484
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
1485
removed - it was empty and unused. (Robert Collins)
1487
* UnavailableFeature is now handled within the TestCase.run method rather
1488
than being looked for within addError. If the Result object does not
1489
have an addNotSupported method, addSkip is attempted instead, and
1490
failing that addSuccess. (Robert Collins)
1492
* When a TestResult does not have an addSkip method, skipped tests are now
1493
reported as successful tests, rather than as errors. This change is
1494
to make it possible to get a clean test run with a less capable
1495
TestResult. (Robert Collins)
1502
:Codename: a load off my mind
1503
:2.1.0b2: 2009-11-02
1505
This is our second feature-filled release since 2.0, pushing us down the
1506
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
1508
Key highlights in this release are: improved handling of
1509
failures-during-cleanup for commit, fixing a long-standing bug with
1510
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
1511
behind proxies, and a new StaticTuple datatype, allowing us to reduce
1512
memory consumption (50%) and garbage collector overhead (40% faster) for
1515
* A new ``--concurrency`` option has been added as well as an associated
1516
BZR_CONCURRENCY environment variable to specify the number of
1517
processes that can be run concurrently when running ``bzr selftest``. The
1518
command-line option overrides the environment variable if both are
1519
specified. If none is specified. the number of processes is obtained
1520
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
1525
* ``bzr+http`` servers no longer give spurious jail break errors when
1526
serving branches inside a shared repository. (Andrew Bennetts, #348308)
1528
* Errors during commit are handled more robustly so that knock-on errors
1529
are less likely to occur, and will not obscure the original error if
1530
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
1531
and similar errors. (Andrew Bennetts, #429747, #243391)
1533
* Launchpad urls can now be resolved from behind proxies.
1534
(Gordon Tyler, Vincent Ladeuil, #186920)
1536
* Reduce the strictness for StaticTuple, instead add a debug flag
1537
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
1538
This way, most users won't see failures, but developers can improve
1539
internals. (John Arbash Meinel, #471193)
1541
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
1542
files. (Aaron Bentley)
1544
* Unicode paths are now handled correctly and consistently by the smart
1545
server. (Andrew Bennetts, Michael Hudson, #458762)
1550
* When reading index files, we now use a ``StaticTuple`` rather than a
1551
plain ``tuple`` object. This generally gives a 20% decrease in peak
1552
memory, and can give a performance boost up to 40% on large projects.
1553
(John Arbash Meinel)
1555
* Peak memory under certain operations has been reduced significantly.
1556
(eg, 'bzr branch launchpad standalone' is cut in half)
1557
(John Arbash Meinel)
1562
* Filtered views user documentation upgraded to refer to format 2a
1563
instead of pre-2.0 formats. (Ian Clatworthy)
1568
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
1570
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1571
``show_warning`` methods, which can be hooked by non-text UIs.
1577
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1578
Dict (it only holds keys, but you can lookup the object located at a
1579
given key). It has significantly reduced memory consumption versus the
1580
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1581
used as the interning structure for StaticTuple objects.
1582
(John Arbash Meinel)
1584
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1585
the btree index parser and the chk map parser. This class functions
1586
similarly to ``tuple`` objects. However, it can only point to a limited
1587
collection of types. (Currently StaticTuple, str, unicode, None, bool,
1588
int, long, float, but not subclasses). This allows us to remove it from
1589
the garbage collector (it cannot be in a cycle), it also allows us to
1590
intern the objects. In testing, this can reduce peak memory by 20-40%,
1591
and significantly improve performance by removing objects from being
1592
inspected by the garbage collector. (John Arbash Meinel)
1594
* ``GroupCompressBlock._ensure_content()`` will now release the
1595
``zlib.decompressobj()`` when the first request is for all of the
1596
content. (Previously it would only be released if you made a request for
1597
part of the content, and then all of it later.) This turns out to be a
1598
significant memory savings, as a ``zstream`` carries around approx 260kB
1599
of internal state and buffers. (For branching bzr.dev this drops peak
1600
memory from 382MB => 345MB.) (John Arbash Meinel)
1602
* When streaming content between ``2a`` format repositories, we now clear
1603
caches from earlier versioned files. (So 'revisions' is cleared when we
1604
start reading 'inventories', etc.) This can have a significant impact on
1605
peak memory for initial copies (~200MB). (John Arbash Meinel)
1611
:Codename: after the scare
1614
The second in our "let's keep the stable bugfixes flowing" series. As
1615
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
1616
changes or features.
1621
* Avoid "NoneType has no attribute st_mode" error when files disappear
1622
from a directory while it's being read. (Martin Pool, #446033)
1624
* Content filters are now applied correctly after revert.
1627
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
1629
* Fetching from stacked pre-2a repository via a smart server no longer
1630
fails intermittently with "second push failed to complete".
1631
(Andrew Bennetts, #437626)
1633
* Fix typos left after test_selftest refactoring.
1634
(Vincent Ladeuil, Matt Nordhoff, #461149)
1636
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
1637
(Andrew Bennetts, #445171)
1639
* PreviewTree file names are not limited by the encoding of the temp
1640
directory's filesystem. (Aaron Bentley, #436794)
1645
* ``bzr log`` now read-locks branches exactly once, so makes better use of
1646
data caches. (Andrew Bennetts)
1651
* Filtered views user documentation upgraded to refer to format 2a
1652
instead of pre-2.0 formats. (Ian Clatworthy)
1658
:Codename: While the cat is away
1659
:2.1.0b1: 2009-10-14
1661
This is the first development release in the new split "stable" and
1662
"development" series. As such, the release is a snapshot of bzr.dev
1663
without creating a release candidate first. This release includes a
1664
fair amount of internal changes, with deprecated code being removed,
1665
and several new feature developments. People looking for a stable code
1666
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1667
present in 2.0.1 are present in 2.1.0b1.
1669
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1670
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1671
syntax, visible warnings when extension modules fail to load, and improved
1672
error handling during unlocking.
1678
* Bazaar can now send mail through Apple OS X Mail.app.
1681
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1682
specified in the URL. Paths starting with a path segment of ``~`` are
1683
relative to the home directory of the user running the server, and paths
1684
starting with ``~user`` are relative to the home directory of the named
1685
user. For example, for a user "bob" with a home directory of
1686
``/home/bob``, these URLs are all equivalent:
1688
* ``bzr+ssh://bob@host/~/repo``
1689
* ``bzr+ssh://bob@host/~bob/repo``
1690
* ``bzr+ssh://bob@host/home/bob/repo``
1692
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1693
home directories outside that directory will be accessible via this
1696
This is a feature of ``bzr serve``, so pre-2.1 clients will
1697
automatically benefit from this feature when ``bzr`` on the server is
1698
upgraded. (Andrew Bennetts, #109143)
1700
* Extensions can now be compiled if either Cython or Pyrex is available.
1701
Currently Pyrex is preferred, but that may change in the future.
1704
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1705
disable the user, site and core plugin directories.
1706
(Vincent Ladeuil, #412930, #316192, #145612)
1711
* Bazaar's native protocol code now correctly handles EINTR, which most
1712
noticeably occurs if you break in to the debugger while connected to a
1713
bzr+ssh server. You can now can continue from the debugger (by typing
1714
'c') and the process continues. However, note that pressing C-\ in the
1715
shell may still kill the SSH process, which is bug 162509, so you must
1716
sent a signal to the bzr process specifically, for example by typing
1717
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1719
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1720
filename will issue a warning and skip over those files.
1721
(Robert Collins, #3918)
1723
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1724
are present in the working tree. The configuration option ``dpush_strict``
1725
can be used to set the default for this behavior.
1726
(Vincent Ladeuil, #438158)
1728
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1729
merges are present in the working tree.
1730
(Vincent Ladeuil, #426344)
1732
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1733
traceback. (Martin Pool, #109115)
1735
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1736
as it is never built. (John Arbash Meinel, #430645)
1738
* Don't restrict the command name used to run the test suite.
1739
(Vincent Ladeuil, #419950)
1741
* ftp transports were built differently when the kerberos python module was
1742
present leading to obscure failures related to ASCII/BINARY modes.
1743
(Vincent Ladeuil, #443041)
1745
* Network streams now decode adjacent records of the same type into a
1746
single stream, reducing layering churn. (Robert Collins)
1748
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1749
file. (Aaron Bentley, #251532)
1751
* Registry objects should not use iteritems() when asked to use items().
1752
(Vincent Ladeuil, #430510)
1754
* Weave based repositories couldn't be cloned when committers were using
1755
domains or user ids embedding '.sig'. Now they can.
1756
(Matthew Fuller, Vincent Ladeuil, #430868)
1761
* Revision specifiers can now be given in a more DWIM form, without
1762
needing explicit prefixes for specifiers like tags or revision id's.
1763
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
1765
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
1766
compiled extensions can't be loaded. This typically indicates a
1767
packaging or installation problem. In this case Bazaar will keep
1768
running using pure-Python versions, but this may be substantially
1769
slower. The warning can be disabled by setting
1770
``ignore_missing_extensions = True`` in ``bazaar.conf``.
1771
See also <https://answers.launchpad.net/bzr/+faq/703>.
1772
(Martin Pool, #406113, #430529)
1774
* Secondary errors that occur during Branch.unlock and Repository.unlock
1775
no longer obscure the original error. These methods now use a new
1776
decorator, ``only_raises``. This fixes many causes of
1777
``TooManyConcurrentRequests`` and similar errors.
1778
(Andrew Bennetts, #429747)
1783
* Describe the new shell-like test feature. (Vincent Ladeuil)
1785
* Help on hooks no longer says 'Not deprecated' for hooks that are
1786
currently supported. (Ian Clatworthy, #422415)
1791
* ``bzrlib.user_encoding`` has been removed; use
1792
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
1794
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
1795
subclasses - the same as python's unittest module. (Robert Collins)
1797
* ``diff._get_trees_to_diff`` has been renamed to
1798
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
1799
returns the old and new branches. (Gary van der Merwe)
1801
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
1804
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
1805
now defaults to comparing to the basis tree. It now checks for pending
1806
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
1807
corresponding has_changes() calls. ``Merge.compare_basis``,
1808
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
1810
(Vincent Ladeuil, #440631)
1812
* ``ProgressTask.note`` is deprecated.
1818
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
1819
repository or branch object is unlocked then relocked the same way.
1822
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
1823
mallocs while parsing the index (approx 3=>1 mallocs per key read).
1824
This results in a 10% speedup while reading an index.
1825
(John Arbash Meinel)
1827
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
1828
profiling in some situations like callbacks and generators easier.
1834
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
1835
be output for every test. Note that this is very verbose! (Robert Collins)
1837
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
1838
post_mortem to be triggered when a test failure occurs. (Robert Collins)
1840
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
1841
documentation in ``developers/testing.txt`` for details.
1844
* Some tests could end up with the same id, that was dormant for
1846
(Vincent Ladeuil, #442980)
1848
* Stop showing the number of tests due to missing features in the test
1849
progress bar. (Martin Pool)
1851
* Test parameterisation now does a shallow copy, not a deep copy of the test
1852
to be parameterised. This is not expected to break external use of test
1853
parameterisation, and is substantially faster. (Robert Collins)
1855
* Tests that try to open a bzr dir on an arbitrary transport will now
1856
fail unless they have explicitly permitted the transport via
1857
``self.permit_url``. The standard test factories such as ``self.get_url``
1858
will permit the urls they provide automatically, so only exceptional
1859
tests should need to do this. (Robert Collins)
1861
* The break-in test no longer cares about clean shutdown of the child,
1862
instead it is happy if the debugger starts up. (Robert Collins)
1864
* The full test suite is expected to pass when the C extensions are not
1865
present. (Vincent Ladeuil, #430749)
1871
:Codename: Stability First
1874
The first of our new ongoing bugfix-only stable releases has arrived. It
1875
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
1876
include any of the feature development in the 2.1.0 series.
1882
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1883
filename will issue a warning and skip over those files.
1884
(Robert Collins, #3918)
1886
* bzr will attempt to authenticate with SSH servers that support
1887
``keyboard-interactive`` auth but not ``password`` auth when using
1888
Paramiko. (Andrew Bennetts, #433846)
1890
* Fixed fetches from a stacked branch on a smart server that were failing
1891
with some combinations of remote and local formats. This was causing
1892
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
1894
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
1895
on branches via a smart server. (Andrew Bennetts, #389413)
1897
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
1898
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
1899
assumed that ``abspath()`` returned a path that did not have a trailing
1900
``/``, but that is not true when working at the root of the filesystem.
1901
(John Arbash Meinel, Jason Spashett, #322807)
1903
* Hide deprecation warnings for 'final' releases for python2.6.
1904
(John Arbash Meinel, #440062)
1906
* Improve the time for ``bzr log DIR`` for 2a format repositories.
1907
We had been using the same code path as for <2a formats, which required
1908
iterating over all objects in all revisions.
1909
(John Arbash Meinel, #374730)
1911
* Make sure that we unlock the tree if we fail to create a TreeTransform
1912
object when doing a merge, and there is limbo, or pending-deletions
1913
directory. (Gary van der Merwe, #427773)
1915
* Occasional IndexError on renamed files have been fixed. Operations that
1916
set a full inventory in the working tree will now go via the
1917
apply_inventory_delta code path which is simpler and easier to
1918
understand than dirstates set_state_from_inventory method. This may
1919
have a small performance impact on operations built on _write_inventory,
1920
but such operations are already doing full tree scans, so no radical
1921
performance change should be observed. (Robert Collins, #403322)
1923
* Retrieving file text or mtime from a _PreviewTree has good performance when
1924
there are many changes. (Aaron Bentley)
1926
* The CHK index pages now use an unlimited cache size. With a limited
1927
cache and a large project, the random access of chk pages could cause us
1928
to download the entire cix file many times.
1929
(John Arbash Meinel, #402623)
1931
* When a file kind becomes unversionable after being added, a sensible
1932
error will be shown instead of a traceback. (Robert Collins, #438569)
1937
* Improved README. (Ian Clatworthy)
1939
* Improved upgrade documentation for Launchpad branches.
1947
:Codename: Instant Karma
1949
This release of Bazaar makes the 2a (previously 'brisbane-core') format
1950
the default when new branches or repositories are created. This format is
1951
substantially smaller and faster for many operations. Most of the work in
1952
this release focuses on bug fixes and stabilization, covering both 2a and
1953
previous formats. (See the Upgrade Guide for information on migrating
1956
This release also improves the documentation content and presentation,
1957
including adding Windows HtmlHelp manuals.
1959
The Bazaar team decided that 2.0 will be a long-term supported release,
1960
with bugfix-only 2.0.x releases based on it, continuing for at least six
1961
months or until the following stable release.
1963
Changes from 2.0.0rc2 to final
1964
******************************
1966
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
1967
that "want to happen on the 2.0.x stable series" versus things that want
1968
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1969
micro = 0.) (John Arbash Meinel)
1975
:2.0.0rc2: 2009-09-10
1980
* Added post_commit hook for mutable trees. This allows the keywords
1981
plugin to expand keywords on files changed by the commit.
1982
(Ian Clatworthy, #408841)
1987
* Bazaar's native protocol code now correctly handles EINTR, which most
1988
noticeably occurs if you break in to the debugger while connected to a
1989
bzr+ssh server. You can now can continue from the debugger (by typing
1990
'c') and the process continues. However, note that pressing C-\ in the
1991
shell may still kill the SSH process, which is bug 162509, so you must
1992
sent a signal to the bzr process specifically, for example by typing
1993
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1995
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
1996
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
1997
(Robert Collins, #416732)
1999
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
2000
format" (John Arbash Meinel, #424392)
2002
* ``bzr log stacked-branch`` shows the full log including
2003
revisions that are in the fallback repository. (Regressed in 2.0rc1).
2004
(John Arbash Meinel, #419241)
2006
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
2007
traceback. (Martin Pool, #109115)
2009
* Conversion to 2a will create a single pack for all the new revisions (as
2010
long as it ran without interruption). This improves both ``bzr upgrade``
2011
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
2012
The autopack logic that occurs every 100 revisions during local
2013
conversions was not returning that pack's identifier, which resulted in
2014
the partial packs created during the conversion not being consolidated
2015
at the end of the conversion process. (Robert Collins, #423818)
2017
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
2018
Groups that are seen as 'underutilized' will be repacked on-the-fly.
2019
This means that when the source is fully packed, there is minimal
2020
overhead during the fetch, but if the source is poorly packed the result
2021
is a fairly well packed repository (not as good as 'bzr pack' but
2022
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
2024
* Fix a potential segmentation fault when doing 'log' of a branch that had
2025
ghosts in its mainline. (Evaluating None as a tuple is bad.)
2026
(John Arbash Meinel, #419241)
2028
* ``groupcompress`` sort order is now more stable, rather than relying on
2029
``topo_sort`` ordering. The implementation is now
2030
``KnownGraph.gc_sort``. (John Arbash Meinel)
2032
* Local data conversion will generate correct deltas. This is a critical
2033
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
2034
converting repositories. (Robert Collins, #422849)
2036
* Network streams now decode adjacent records of the same type into a
2037
single stream, reducing layering churn. (Robert Collins)
2039
* Prevent some kinds of incomplete data from being committed to a 2a
2040
repository, such as revisions without inventories, a missing chk_bytes
2041
record for an inventory, or a missing text referenced by an inventory.
2042
(Andrew Bennetts, #423506, #406687)
2047
* Fix assertion error about "_remember_remote_is_before" when pushing to
2048
older smart servers.
2049
(Andrew Bennetts, #418931)
2051
* Help on hooks no longer says 'Not deprecated' for hooks that are
2052
currently supported. (Ian Clatworthy, #422415)
2054
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
2055
user documentation. The HTML documentation is better broken up into
2056
topics. (Ian Clatworthy)
2058
* The developer and foreign language documents are now separated
2059
out so that searching in the HTML and CHM files produces more
2060
useful results. (Ian Clatworthy)
2062
* The main table of contents now provides links to the new Migration Docs
2063
and Plugins Guide. (Ian Clatworthy)
2069
:Codename: no worries
2070
:2.0.0rc1: 2009-08-26
2072
12
Compatibility Breaks
2073
13
********************