5
6
.. contents:: List of Releases
12
:2.2.0b1: Not released yet
17
* Deleted very old hidden commands ``versionedfile-list``,
18
``weave-plan-merge``, ``weave-merge-text``.
21
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
22
have been removed. (Jelmer Vernooij)
24
* ``Repository.get_revision_inventory()`` has been removed in favor of
25
``Repository.get_inventory()``. (Jelmer Vernooij)
27
* All test servers have been moved out of the bzrlib.transport hierarchy to
28
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
29
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
30
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
31
``bzrlib.tests.test_server``.
37
* If the Apport crash-reporting tool is available, bzr crashes are now
38
stored into the ``/var/crash`` apport spool directory, and the user is
39
invited to report them to the developers from there, either
40
automatically or by running ``apport-bug``. No information is sent
41
without specific permission from the user. (Martin Pool, #515052)
43
* Parsing of command lines, for example in ``diff --using``, no longer
44
treats backslash as an escape character on Windows. (Gordon Tyler,
47
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
48
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
49
as resolved is still accessible via the ``--done`` default action.
52
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
53
(Aaron Bentley, Jonathan Lange)
58
* Added docstring for ``Tree.iter_changes``
59
(John Arbash Meinel, #304182)
61
* Allow exporting a single file using ``bzr export``.
62
(Michal Junák, #511987)
64
* Avoid infinite recursion when probing for apport.
65
(Vincent Ladeuil, #516934)
67
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
68
(Martin Pool, #331095)
70
* ``bzr add`` will not add conflict related files unless explicitly required.
71
(Vincent Ladeuil, #322767, #414589)
73
* ``bzr remove-tree`` can now remove multiple working trees.
74
(Jared Hance, Andrew Bennetts, #253137)
76
* Network transfer amounts and rates are now displayed in SI units according
77
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
78
(Gordon Tyler, #514399)
80
* Support kind markers for socket and fifo filesystem objects. This
81
prevents ``bzr status --short`` from crashing when those files are
82
present. (John Arbash Meinel, #303275)
84
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
85
of ``backup.bzr``. This directory is ignored by bzr commands such as
87
(Parth Malwankar, #335033, #300001)
92
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
93
run when starting up; it sets up several things that previously needed
94
to be done separately.
95
(Martin Pool, #507710)
97
* Remove unused ``CommandFailed`` exception.
103
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
104
functions to load or disable plugins if they wish to use a different
105
plugin mechanism; the --help, --version and no-command name code paths
106
now use the generic pluggable command lookup infrastructure.
112
* New `bzrlib.tests.test_import_tariff` can make assertions about what
113
Python modules are loaded, to guard against startup time or library
114
dependency regressions.
117
* Stop sending apport crash files to ``.cache`` in the directory from
118
which ``bzr selftest`` was run. (Martin Pool, #422350)
123
:2.1.1: not released yet
128
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
129
problems importing bzrlib from a non-main thread.
130
(Elliot Murphy, #521989)
132
* Standardize the error handling when creating a new ``StaticTuple``
133
(problems will raise TypeError). (Matt Nordhoff, #457979)
135
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
140
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
145
:Codename: Strasbourg
148
This release marks our second long-term-stable series. The Bazaar team
149
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
150
releases, along with 2.2 development releases.
152
This is a fairly incremental update, focusing on polish and bugfixing.
153
There are no changes for supported disk formats. Key updates include
154
reduced memory consumption for many operations, a new per-file merge
155
hook, ignore patterns can now include '!' to exclude files, globbing
156
support for all commands on Windows, and support for addressing home
157
directories via ``bzr+ssh://host/~/`` syntax.
159
Users are encouraged to upgrade from the 2.0 stable series.
164
* Don't require testtools to use sftp.
165
(Vincent Ladeuil, #516183)
167
* Fix "AttributeError in Inter1and2Helper" during fetch.
168
(Martin Pool, #513432)
170
* ``bzr update`` performs the two merges in a more logical order and will stop
171
when it encounters conflicts.
172
(Gerard Krol, #113809)
174
* Fix ``log`` to better check ancestors even if merged revisions are involved.
175
(Vincent Ladeuil, #476293)
177
* Give a better error message when doing ``bzr bind`` in an already bound
178
branch. (Neil Martinsen-Burrell, #513063)
180
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
181
in a pack repository, which can happen harmlessly if the abort occurs during
182
finishing the write group. Also use ``bzrlib.cleanup`` so that any
183
other errors that occur while aborting the individual packs won't be
184
hidden by secondary failures when removing the corresponding indices.
185
(Andrew Bennetts, #423015)
187
* Set the mtime of files exported to a directory by ``bzr export`` all to
188
the same value to avoid confusing ``make`` and other date-based build
189
systems. (Robert Collins, #515631)
194
* Fetching into experimental formats will now print a warning. (Jelmer
200
* ``Repository.deserialise_inventory`` has been renamed to
201
``Repository._deserialise_inventory`` to indicate it is private.
204
* ``Repository.get_inventory_xml`` has been renamed to
205
``Repository._get_inventory_xml`` to indicate it is private.
208
* ``Repository.serialise_inventory`` has been renamed to
209
``Repository._serialise_inventory`` to indicate it is private.
211
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
212
same time was broken due to race conditions with a module level page
213
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
214
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
215
the same high level objects such as ``bzrlib.repository.Repository``
216
from different threads. chk_map now uses a thread local cache which may
217
increase memory pressure on processes using threads.
218
(Robert Collins, John Arbash Meinel, #514090)
220
* The new ``merge_file_content`` should now be ok with tests to avoid
222
(Vincent Ladeuil, #515597)
227
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
228
blocks in several places in ``bzrlib.merge``. This avoids masking prior
229
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
231
(Andrew Bennetts, #517275)
236
* The ``remove_index`` method of
237
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
238
argument. This argument was always ignored.
239
(Andrew Bennetts, #423015)
244
:Codename: after the bubbles
245
:2.1.0rc2: 2010-01-29
247
This is a quick-turn-around to update a small issue with our new per-file
248
merge hook. We expect no major changes from this to the final 2.1.0.
253
* The new ``merge_file_content`` hook point has been altered to provide a
254
better API where state for extensions can be stored rather than the
255
too-simple function based approach. This fixes a performance regression
256
where branch configuration would be parsed per-file during merge. As
257
part of this the included news_merger has been refactored into a base
258
helper class ``bzrlib.merge.ConfigurableFileMerger``.
259
(Robert Collins, John Arbash Meinel, #513822)
265
:Codename: the 'new' stable
266
:2.1.0rc1: 2009-01-21
268
This is the first stable release candidate for Bazaar's 2.1 series. From
269
this point onwards, the 2.1 series will be considered stable (as the 2.0
270
series) and only bugfixes are expected to be incorporated. The dozen or so
271
bugfixes in the 2.0.4 release are also included in this release (along
272
with more than 15 more bugfixes). Some of the interesting features are
273
support for per-file merge hooks, ``bzr unshelve --preview``, support
274
for using ! in ignore files to exclude files from being ignored, a small
275
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
276
This looks to be a very good start for a new stable series.
282
* Add bug information to log output when available.
283
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
285
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
286
to register custom merge logic, e.g. to provide smarter merging for
289
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
290
default, to enable it add a ``news_merge_files`` option to your
291
configuration. Consult ``bzr help news_merge`` for more information.
294
* ``bzr branch`` now takes a ``--bind`` option. This lets you
295
branch and bind all in one command. (Ian Clatworthy)
297
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
298
a specific revision of a branch. (Daniel Watkins, #183559)
300
* ``bzr unshelve --preview`` can now be used to show how a patch on the
301
shelf would be applied to the working tree.
302
(Guilherme Salgado, #308122)
304
* ``bzr update`` now takes a ``--revision`` argument. This lets you
305
change the revision of the working tree to any revision in the
306
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
309
* ``-Dbytes`` can now be used to display the total number of bytes
310
transferred for the current command. This information is always logged
311
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
313
* New ignore patterns. Patterns prefixed with '!' are exceptions to
314
ignore patterns and take precedence over regular ignores. Such
315
exceptions are used to specify files that should be versioned which
316
would otherwise be ignored. Patterns prefixed with '!!' act as regular
317
ignore patterns, but have highest precedence, even over the '!'
318
exception patterns. (John Whitley, #428031)
320
* The ``supress_warnings`` configuration option has been introduced to disable
321
various warnings (it currently only supports the ``format_deprecation``
322
warning). The new option can be set in any of the following locations:
323
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
324
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
329
* Always show a message if an OS error occurs while trying to run a
330
user-specified commit message editor.
331
(Martin Pool, #504842)
333
* ``bzr diff`` will now use the epoch when it is unable to determine
334
the timestamp of a file, if the revision it was introduced in is a
335
ghost. (Jelmer Vernooij, #295611)
337
* ``bzr switch -b`` can now create branches that are located using directory
338
services such as ``lp:``, even when the branch name doesn't contain a
339
'/'. (Neil Martinsen-Burrell, #495263)
341
* ``bzr unshelve`` has improved messages about what it is doing.
342
(Neil Martinsen-Burrell, #496917)
344
* Concurrent autopacking is more resilient to already-renamed pack files.
345
If we find that a file we are about to obsolete is already obsoleted, we
346
do not try to rename it, and we leave the file in ``obsolete_packs``.
347
The code is also fault tolerant if a file goes missing, assuming that
348
another process already removed the file.
349
(John Arbash Meinel, Gareth White, #507557)
351
* Fix "Too many concurrent requests" in reconcile when network connection
352
fails. (Andrew Bennetts, #503878)
354
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
355
that caused some tests to fail when run in a non-default order.
356
Probably no user impact. (Martin Pool, #504102)
358
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
359
(Andrew Bennetts, #506274)
361
* FTP transports support Unicode paths by encoding/decoding them as utf8.
362
(Vincent Ladeuil, #472161)
364
* Listen to the SIGWINCH signal to update the terminal width.
365
(Vincent Ladeuil, #316357)
367
* Progress bars are now hidden when ``--quiet`` is given.
368
(Martin Pool, #320035)
370
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
371
whatever is written to it. This un-breaks some plugin tests that
372
depended on this behaviour.
373
(Martin Pool, #499757)
375
* When operations update the working tree, all affected files should end
376
up with the same mtime. (eg. when versioning a generated file, if you
377
update the source and the generated file together, the generated file
378
should appear up-to-date.)
379
(John Arbash Meinel, Martin <gzlist>, #488724)
384
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
385
All the builtin commands now use ``add_cleanup`` rather than
386
``try``/``finally`` blocks where applicable as it is simpler and more
387
robust. (Andrew Bennetts)
389
* All except a small number of storage formats are now hidden, making
390
the help for numerous commands far more digestible. (Ian Clatworthy)
392
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
393
path/to/repo``) will now include "location is a repository" as a hint in
394
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
396
* Push will now inform the user when they are trying to push to a foreign
397
VCS for which roundtripping is not supported, and will suggest them to
398
use dpush. (Jelmer Vernooij)
400
* The version of bzr being run is now written to the log file.
403
* Transport network activity indicator is shown more of the time when
404
Bazaar is doing network IO.
410
* Add documentation on creating merges with more than one parent.
411
(Neil Martinsen-Burrell, #481526)
413
* Better explain the --uncommitted option of merge.
414
(Neil Martinsen-Burrell, #505088)
416
* Improve discussion of pending merges in the documentation for
417
``revert``. (Neil Martinsen-Burrell, #505093)
419
* Improved help for ``bzr send``.
420
(Martin Pool, Bojan Nikolic)
422
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
423
including discussions of installation, relevant plugins, security and
424
backup. (Neil Martinsen-Burrell)
426
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
429
* The User Reference is now presented as a series of topics.
430
Many of the included topics have link and format tweaks applied.
436
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
439
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
440
to be consistent with instances being lower case and classes being
441
CamelCase. For the features that were more likely to be used, we added a
442
deprecation thunk, but not all. (John Arbash Meinel)
444
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
445
parameter in their constructors, and provide ``this_branch`` as an
446
attribute. (Andrew Bennetts)
448
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
449
by plugins - the original exceptions are now preserved. (Robert Collins)
451
* The Transport ``Server.tearDown`` method is now renamed to
452
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
453
our normal naming pattern, and to avoid confusion with Python's
454
``TestCase.tearDown``. (Martin Pool)
456
* ``WorkingTree.update`` implementations must now accept a ``revision``
462
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
463
a string of details (such as "location is a repository") as part of a
464
``nobranch`` response. (Andrew Bennetts, #440952)
466
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
467
objects but passes str objects straight through. This is used for
468
selftest but may be useful for diff and other operations that generate
469
mixed output. (Robert Collins)
471
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
472
plugins. (Jelmer Vernooij)
477
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
478
running all tests in the current module, once against a pure python
479
implementation, and once against an extension (pyrex/C) implementation.
480
It can be used to dramatically simplify the implementation of
481
``load_tests``. (John Arbash Meinel)
483
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
484
This permits features in testtools such as getUniqueInteger and
485
getUniqueString to be used. Because of this, testtools version 0.9.2 or
486
newer is now a dependency to run bzr selftest. Running with versions of
487
testtools less than 0.9.2 will cause bzr to error while loading the test
488
suite. (Robert Collins)
490
* Shell-like tests now support the command "mv" for moving files. The
491
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
492
supported. (Neil Martinsen-Burrell)
494
* The test progress bar no longer distinguishes tests that 'errored' from
495
tests that 'failed' - they're all just failures.
499
bzr 2.0.5 (not released yet)
500
############################
508
* Handle renames correctly when there are files or directories that
509
differ only in case. (Chris Jones, Martin Pool, #368931)
511
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
512
error, report that error rather than failing with an unhelpful
513
``UnboundLocalError``.
514
(Andrew Bennetts, #423563)
516
* Running ``bzr`` command without any arguments now shows bzr
517
version number along with rest of the help text.
518
(Parth Malwankar, #369501)
523
* Added ``location-alias`` help topic.
524
(Andrew Bennetts, #337834)
529
:Codename: smooth sailing
532
The fourth bugfix-only release in the 2.0 series contains more than a
533
dozen bugfixes relative to 2.0.3. The primary focus is on handling
534
interruptions and concurrent operations more cleanly, there is also a fair
535
improvement to ``bzr export`` when exporting a remote branch.
541
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
542
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
544
* ``bzr export dir`` now requests all file content as a record stream,
545
rather than requsting the file content one file-at-a-time. This can make
546
exporting over the network significantly faster (54min => 9min in one
547
case). (John Arbash Meinel, #343218)
549
* ``bzr serve`` no longer slowly leaks memory. The compiled
550
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
551
free resources, and it should have been using ``__dealloc__``.
552
This will likely have an impact on any other process that is serving for
553
an extended period of time. (John Arbash Meinel, #494406)
555
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
556
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
557
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
559
* Concurrent autopacks will no longer lose a newly created pack file.
560
There was a race condition, where if the reload happened at the right
561
time, the second packer would forget the name of the newly added pack
562
file. (John Arbash Meinel, Gareth White, #507566)
564
* Give a clearer message if the lockdir disappears after being apparently
565
successfully taken. (Martin Pool, #498378)
567
* Give a warning when fetching between repositories (local or remote) with
568
sufficiently different formats that the content will need to be
569
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
570
the user has a clue that upgrading could make it faster.
571
(Martin Pool, #456077)
573
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
574
than using ``warning()``. The log file is opened before logging is set
575
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
576
users, rather than something nicer.
577
(John Arbash Meinel, Barry Warsaw, #503886)
579
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
580
(Martin Pool, John Arbash Meinel, #449372)
582
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
583
build. (there is still the distutils bug
584
http://bugs.python.org/issue644744) (Joe Julian, #175839)
586
* The 2a format wasn't properly restarting autopacks when something
587
changed underneath it (like another autopack). Now concurrent
588
autopackers will properly succeed. (John Arbash Meinel, #495000)
590
* ``TreeTransform`` can now handle when a delta says that the file id for
591
the tree root changes. Rather than trying to rename your working
592
directory, or failing early saying that you can't have multiple
593
tree roots. This also fixes revert, update, and pull when the root id
594
changes. (John Arbash Meinel, #494269, #504390)
596
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
597
the right time will get propagated, rather than silently failing to move
598
the block pointer. (John Arbash Meinel, Gareth White, #495023)
603
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
604
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
605
rather than an ``except ?:`` clause.) This should help prevent bugs like
606
bug #495023. (John Arbash Meinel)
612
:Codename: san francisco airport
615
The fourth beta release in the 2.1 series brings with it a significant
616
number of bugfixes (~20). The test suite is once again (finally) "green"
617
on Windows, and should remain that way for future releases. There are a
618
few performance related updates (faster upgrade and log), and several UI
619
tweaks. There has also been a significant number of tweaks to the runtime
620
documentation. 2.1.0b4 include everything from the 2.0.3 release.
626
* The BZR_SSH environmental variable may now be set to the path of a secure
627
shell client. If currently set to the value ``ssh`` it will now guess the
628
vendor of the program with that name, to restore the old behaviour that
629
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
630
string. (Martin <gzlist@googlemail.com>, #176292)
635
* ``bzr commit`` now has a ``--commit-time`` option.
636
(Alexander Sack, #459276)
638
* ``-Dhpss`` now increases logging done when run on the bzr server,
639
similarly to how it works on the client. (John Arbash Meinel)
641
* New option ``bzr unshelve --keep`` applies the changes and leaves them
642
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
644
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
645
respect a given terminal width. This can be useful when output is
646
redirected or in obscure cases where the default value is not
647
appropriate. Pagers can use it to get a better control of the line
651
* The new command ``bzr lp-mirror`` will request that Launchpad update its
652
mirror of a local branch. This command will only function if launchpadlib
660
* After renaming a file, the dirstate could accidentally reference
661
``source\\path`` rather than ``source/path`` on Windows. This might be a
662
source of some dirstate-related failures. (John Arbash Meinel)
664
* ``bzr commit`` now detects commit messages that looks like file names
665
and issues a warning.
666
(Gioele Barabucci, #73073)
668
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
670
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
671
(#325618, #484109, Marius Kruger)
673
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
674
files with conflicts (similar to ``--merge3``). The contents of the file
675
is a synthesis of all bases used for the merge.
676
(John Arbash Meinel, #40412)
678
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
680
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
681
(Robert Collins, #84659)
683
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
685
* Fix bug with redirected URLs over authenticated HTTP.
686
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
688
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
690
* Lots of bugfixes for the test suite on Windows. We should once again
691
have a test suite with no failures on Windows. (John Arbash Meinel)
693
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
694
variable but returns None if the terminal is not a tty (when output is
695
redirected for example). Also fixes its usage under OSes that doesn't
696
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
698
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
699
(John Arbash Meinel, Vincent Ladeuil, #492561)
701
* Terminate ssh subprocesses when no references to them remain, fixing
702
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
704
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
705
works for 2a format trees. Only files unaffected by content filters
706
will be hardlinked. (Andrew Bennetts, #408193)
708
* The new glob expansion on Windows would replace all ``\`` characters
709
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
710
etc. Now only change slashes if there is something being glob expanded.
711
(John Arbash Meinel, #485771)
713
* Use our faster ``KnownGraph.heads()`` functionality when computing the
714
new rich-root heads. This can cut a conversion time in half (mysql from
715
13.5h => 6.2h) (John Arbash Meinel, #487632)
717
* When launching a external diff tool via bzr diff --using, temporary files
718
are no longer created, rather, the path to the file in the working tree is
719
passed to the external diff tool. This allows the file to be edited if the
720
diff tool provides for this. (Gary van der Merwe, #490738)
722
* The launchpad-open command can now be used from a subdirectory of a
723
branch, not just from the root of the branch.
724
(Neil Martinsen-Burrell, #489102)
730
* ``bzr log`` is now faster. (Ian Clatworthy)
732
* ``bzr update`` provides feedback on which branch it is up to date with.
733
(Neil Martinsen-Burrell)
735
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
736
For details see the xml8 patch and heads() improvements.
739
* ``bzrlib.urlutils.local_path_from_url`` now accepts
740
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
743
* The progress bar now shows only a spinner and per-operation counts,
744
not an overall progress bar. The previous bar was often not correlated
745
with real overall operation progress, either because the operations take
746
nonlinear time, or because at the start of the operation Bazaar couldn't
747
estimate how much work there was to do. (Martin Pool)
752
* Lots of documentation tweaks for inline help topics and command help
758
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
760
* The Launchpad plugin now has a function ``login`` which will log in to
761
Launchpad with launchpadlib, and ``load_branch`` which will return the
762
Launchpad Branch object corresponding to a given Bazaar Branch object.
768
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
769
easier to handle what tests you want to run based on what modules can be
770
imported. (Rather than lots of custom-implemented features that were
771
basically copy-and-pasted.) (John Arbash Meinel)
773
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
774
``time.clock()`` when you want to do performance timing.
775
``time.time()`` is limited to 15ms resolution on Windows, but
776
``time.clock()`` gives CPU and not wall-clock time on other platforms.
779
* Several code paths that were calling ``Transport.get().read()`` have
780
been changed to the equalivent ``Transport.get_bytes()``. The main
781
difference is that the latter will explicitly call ``file.close()``,
782
rather than expecting the garbage collector to handle it. This helps
783
with some race conditions on Windows during the test suite and sftp
784
tests. (John Arbash Meinel)
789
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
790
unicode strings. (Michael Hudson, #464174)
796
:Codename: little italy
800
The third stable release of Bazaar has a small handful of bugfixes. As
801
expected, this has no internal or external compatibility changes versus
807
* ``bzr push --use-existing-dir`` no longer crashes if the directory
808
exists but contains an invalid ``.bzr`` directory.
809
(Andrew Bennetts, #423563)
811
* Content filters are now applied correctly after pull, merge and switch.
812
(Ian Clatworthy, #385879)
814
* Fix a potential segfault in the groupcompress hash map handling code.
815
When inserting new entries, if the final hash bucket was empty, we could
816
end up trying to access if ``(last_entry+1)->ptr == NULL``.
817
(John Arbash Meinel, #490228)
819
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
825
:Codename: after sprint recovery
828
This release was pushed up from its normal release cycle due to a
829
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
830
was caught before 2.1.0b2 was officially announced, the full changelog
831
includes both 2.1.0b3 and 2.1.0b2 changes.
833
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
834
the test suite now conforms to python's trunk enhanced semantics (skip,
835
etc.), and ``bzr info -v`` will now report the correct branch and repo
836
formats for Remote objects.
842
* Users can define a shelve editor to provide shelf functionality at a
843
granularity finer than per-patch-hunk. (Aaron Bentley)
848
* Fix for shell completion and short options. (Benoît PIERRE)
850
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
852
* Hooks daughter classes should always call the base constructor.
853
(Alexander Belchenko, Vincent Ladeuil, #389648)
855
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
857
* On Windows, do glob expansion at the command-line level (as is usually
858
done in bash, etc.) This means that *all* commands get glob expansion
859
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
860
parser, which allows us to know if a given section was quoted. It means
861
you can now do ``bzr ignore "*.py"``.
862
(John Arbash Meinel, #425510, #426410, #194450)
864
* Sanitize commit messages that come in from the '-m' flag. We translate
865
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
866
allow those because XML store silently translate it anyway. (The parser
867
auto-translates \r\n => \n in ways that are hard for us to catch.)
869
* Show correct branch and repository format descriptions in
870
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
872
* The fix for bug #186920 accidentally broke compatibility with python
873
2.4. (Vincent Ladeuil, #475585)
875
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
876
correctly sets ``self.inv_sha1`` to a sha1 string and
877
``self.new_inventory`` to an Inventory instance after calling
878
``self.finish_inventory()``. (Previously it accidently set both values
879
as a tuple on ``self.inv_sha1``. This was missed because
880
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
881
the sha1 from the repo directly. (John Arbash Meinel)
883
* Shelve command refuse to run if there is no real terminal.
884
(Alexander Belchenko)
886
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
887
Python level. (Martin Pool)
892
* Include Japanese translations for documentation (Inada Naoki)
894
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
895
(rather than user-interaction) data to stdout. This automatically
896
coordinates with progress bars or other terminal activity, and can be
898
(Martin Pool, 493944)
903
* Some of the core groupcompress functionality now releases the GIL before
904
operation. Similar to how zlib and bz2 operate without the GIL in the
905
core compression and decompression routines. (John Arbash Meinel)
910
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
911
more debugging of VFS access triggers. (Robert Collins)
913
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
914
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
916
* ``--parallel=fork`` is now compatible with --subunit.
917
(Robert Collins, Vincent Ladeuil, #419776)
919
* Reporting of failures shows test ids not descriptions and thus shows
920
parameterised tests correctly. (Robert Collins)
922
* TestNotApplicable is now handled within the TestCase.run method rather
923
than being looked for within ``ExtendedTestResult.addError``. This
924
provides better handling with other ``TestResult`` objects, degrading to
925
sucess rather than error. (Robert Collins)
927
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
928
removed - it was empty and unused. (Robert Collins)
930
* UnavailableFeature is now handled within the TestCase.run method rather
931
than being looked for within addError. If the Result object does not
932
have an addNotSupported method, addSkip is attempted instead, and
933
failing that addSuccess. (Robert Collins)
935
* When a TestResult does not have an addSkip method, skipped tests are now
936
reported as successful tests, rather than as errors. This change is
937
to make it possible to get a clean test run with a less capable
938
TestResult. (Robert Collins)
945
:Codename: a load off my mind
948
This is our second feature-filled release since 2.0, pushing us down the
949
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
951
Key highlights in this release are: improved handling of
952
failures-during-cleanup for commit, fixing a long-standing bug with
953
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
954
behind proxies, and a new StaticTuple datatype, allowing us to reduce
955
memory consumption (50%) and garbage collector overhead (40% faster) for
958
* A new ``--concurrency`` option has been added as well as an associated
959
BZR_CONCURRENCY environment variable to specify the number of
960
processes that can be run concurrently when running ``bzr selftest``. The
961
command-line option overrides the environment variable if both are
962
specified. If none is specified. the number of processes is obtained
963
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
968
* ``bzr+http`` servers no longer give spurious jail break errors when
969
serving branches inside a shared repository. (Andrew Bennetts, #348308)
971
* Errors during commit are handled more robustly so that knock-on errors
972
are less likely to occur, and will not obscure the original error if
973
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
974
and similar errors. (Andrew Bennetts, #429747, #243391)
976
* Launchpad urls can now be resolved from behind proxies.
977
(Gordon Tyler, Vincent Ladeuil, #186920)
979
* Reduce the strictness for StaticTuple, instead add a debug flag
980
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
981
This way, most users won't see failures, but developers can improve
982
internals. (John Arbash Meinel, #471193)
984
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
985
files. (Aaron Bentley)
987
* Unicode paths are now handled correctly and consistently by the smart
988
server. (Andrew Bennetts, Michael Hudson, #458762)
993
* When reading index files, we now use a ``StaticTuple`` rather than a
994
plain ``tuple`` object. This generally gives a 20% decrease in peak
995
memory, and can give a performance boost up to 40% on large projects.
998
* Peak memory under certain operations has been reduced significantly.
999
(eg, 'bzr branch launchpad standalone' is cut in half)
1000
(John Arbash Meinel)
1005
* Filtered views user documentation upgraded to refer to format 2a
1006
instead of pre-2.0 formats. (Ian Clatworthy)
1011
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
1013
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1014
``show_warning`` methods, which can be hooked by non-text UIs.
1020
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1021
Dict (it only holds keys, but you can lookup the object located at a
1022
given key). It has significantly reduced memory consumption versus the
1023
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1024
used as the interning structure for StaticTuple objects.
1025
(John Arbash Meinel)
1027
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1028
the btree index parser and the chk map parser. This class functions
1029
similarly to ``tuple`` objects. However, it can only point to a limited
1030
collection of types. (Currently StaticTuple, str, unicode, None, bool,
1031
int, long, float, but not subclasses). This allows us to remove it from
1032
the garbage collector (it cannot be in a cycle), it also allows us to
1033
intern the objects. In testing, this can reduce peak memory by 20-40%,
1034
and significantly improve performance by removing objects from being
1035
inspected by the garbage collector. (John Arbash Meinel)
1037
* ``GroupCompressBlock._ensure_content()`` will now release the
1038
``zlib.decompressobj()`` when the first request is for all of the
1039
content. (Previously it would only be released if you made a request for
1040
part of the content, and then all of it later.) This turns out to be a
1041
significant memory savings, as a ``zstream`` carries around approx 260kB
1042
of internal state and buffers. (For branching bzr.dev this drops peak
1043
memory from 382MB => 345MB.) (John Arbash Meinel)
1045
* When streaming content between ``2a`` format repositories, we now clear
1046
caches from earlier versioned files. (So 'revisions' is cleared when we
1047
start reading 'inventories', etc.) This can have a significant impact on
1048
peak memory for initial copies (~200MB). (John Arbash Meinel)
1054
:Codename: after the scare
1057
The second in our "let's keep the stable bugfixes flowing" series. As
1058
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
1059
changes or features.
1064
* Avoid "NoneType has no attribute st_mode" error when files disappear
1065
from a directory while it's being read. (Martin Pool, #446033)
1067
* Content filters are now applied correctly after revert.
1070
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
1072
* Fetching from stacked pre-2a repository via a smart server no longer
1073
fails intermittently with "second push failed to complete".
1074
(Andrew Bennetts, #437626)
1076
* Fix typos left after test_selftest refactoring.
1077
(Vincent Ladeuil, Matt Nordhoff, #461149)
1079
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
1080
(Andrew Bennetts, #445171)
1082
* PreviewTree file names are not limited by the encoding of the temp
1083
directory's filesystem. (Aaron Bentley, #436794)
1088
* ``bzr log`` now read-locks branches exactly once, so makes better use of
1089
data caches. (Andrew Bennetts)
1094
* Filtered views user documentation upgraded to refer to format 2a
1095
instead of pre-2.0 formats. (Ian Clatworthy)
1101
:Codename: While the cat is away
1102
:2.1.0b1: 2009-10-14
1104
This is the first development release in the new split "stable" and
1105
"development" series. As such, the release is a snapshot of bzr.dev
1106
without creating a release candidate first. This release includes a
1107
fair amount of internal changes, with deprecated code being removed,
1108
and several new feature developments. People looking for a stable code
1109
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1110
present in 2.0.1 are present in 2.1.0b1.
1112
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1113
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1114
syntax, visible warnings when extension modules fail to load, and improved
1115
error handling during unlocking.
1121
* Bazaar can now send mail through Apple OS X Mail.app.
1124
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1125
specified in the URL. Paths starting with a path segment of ``~`` are
1126
relative to the home directory of the user running the server, and paths
1127
starting with ``~user`` are relative to the home directory of the named
1128
user. For example, for a user "bob" with a home directory of
1129
``/home/bob``, these URLs are all equivalent:
1131
* ``bzr+ssh://bob@host/~/repo``
1132
* ``bzr+ssh://bob@host/~bob/repo``
1133
* ``bzr+ssh://bob@host/home/bob/repo``
1135
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1136
home directories outside that directory will be accessible via this
1139
This is a feature of ``bzr serve``, so pre-2.1 clients will
1140
automatically benefit from this feature when ``bzr`` on the server is
1141
upgraded. (Andrew Bennetts, #109143)
1143
* Extensions can now be compiled if either Cython or Pyrex is available.
1144
Currently Pyrex is preferred, but that may change in the future.
1147
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1148
disable the user, site and core plugin directories.
1149
(Vincent Ladeuil, #412930, #316192, #145612)
1154
* Bazaar's native protocol code now correctly handles EINTR, which most
1155
noticeably occurs if you break in to the debugger while connected to a
1156
bzr+ssh server. You can now can continue from the debugger (by typing
1157
'c') and the process continues. However, note that pressing C-\ in the
1158
shell may still kill the SSH process, which is bug 162509, so you must
1159
sent a signal to the bzr process specifically, for example by typing
1160
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1162
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1163
filename will issue a warning and skip over those files.
1164
(Robert Collins, #3918)
1166
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1167
are present in the working tree. The configuration option ``dpush_strict``
1168
can be used to set the default for this behavior.
1169
(Vincent Ladeuil, #438158)
1171
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1172
merges are present in the working tree.
1173
(Vincent Ladeuil, #426344)
1175
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1176
traceback. (Martin Pool, #109115)
1178
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1179
as it is never built. (John Arbash Meinel, #430645)
1181
* Don't restrict the command name used to run the test suite.
1182
(Vincent Ladeuil, #419950)
1184
* ftp transports were built differently when the kerberos python module was
1185
present leading to obscure failures related to ASCII/BINARY modes.
1186
(Vincent Ladeuil, #443041)
1188
* Network streams now decode adjacent records of the same type into a
1189
single stream, reducing layering churn. (Robert Collins)
1191
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1192
file. (Aaron Bentley, #251532)
1194
* Registry objects should not use iteritems() when asked to use items().
1195
(Vincent Ladeuil, #430510)
1197
* Weave based repositories couldn't be cloned when committers were using
1198
domains or user ids embedding '.sig'. Now they can.
1199
(Matthew Fuller, Vincent Ladeuil, #430868)
1204
* Revision specifiers can now be given in a more DWIM form, without
1205
needing explicit prefixes for specifiers like tags or revision id's.
1206
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
1208
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
1209
compiled extensions can't be loaded. This typically indicates a
1210
packaging or installation problem. In this case Bazaar will keep
1211
running using pure-Python versions, but this may be substantially
1212
slower. The warning can be disabled by setting
1213
``ignore_missing_extensions = True`` in ``bazaar.conf``.
1214
See also <https://answers.launchpad.net/bzr/+faq/703>.
1215
(Martin Pool, #406113, #430529)
1217
* Secondary errors that occur during Branch.unlock and Repository.unlock
1218
no longer obscure the original error. These methods now use a new
1219
decorator, ``only_raises``. This fixes many causes of
1220
``TooManyConcurrentRequests`` and similar errors.
1221
(Andrew Bennetts, #429747)
1226
* Describe the new shell-like test feature. (Vincent Ladeuil)
1228
* Help on hooks no longer says 'Not deprecated' for hooks that are
1229
currently supported. (Ian Clatworthy, #422415)
1234
* ``bzrlib.user_encoding`` has been removed; use
1235
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
1237
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
1238
subclasses - the same as python's unittest module. (Robert Collins)
1240
* ``diff._get_trees_to_diff`` has been renamed to
1241
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
1242
returns the old and new branches. (Gary van der Merwe)
1244
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
1247
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
1248
now defaults to comparing to the basis tree. It now checks for pending
1249
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
1250
corresponding has_changes() calls. ``Merge.compare_basis``,
1251
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
1253
(Vincent Ladeuil, #440631)
1255
* ``ProgressTask.note`` is deprecated.
1261
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
1262
repository or branch object is unlocked then relocked the same way.
1265
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
1266
mallocs while parsing the index (approx 3=>1 mallocs per key read).
1267
This results in a 10% speedup while reading an index.
1268
(John Arbash Meinel)
1270
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
1271
profiling in some situations like callbacks and generators easier.
1277
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
1278
be output for every test. Note that this is very verbose! (Robert Collins)
1280
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
1281
post_mortem to be triggered when a test failure occurs. (Robert Collins)
1283
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
1284
documentation in ``developers/testing.txt`` for details.
1287
* Some tests could end up with the same id, that was dormant for
1289
(Vincent Ladeuil, #442980)
1291
* Stop showing the number of tests due to missing features in the test
1292
progress bar. (Martin Pool)
1294
* Test parameterisation now does a shallow copy, not a deep copy of the test
1295
to be parameterised. This is not expected to break external use of test
1296
parameterisation, and is substantially faster. (Robert Collins)
1298
* Tests that try to open a bzr dir on an arbitrary transport will now
1299
fail unless they have explicitly permitted the transport via
1300
``self.permit_url``. The standard test factories such as ``self.get_url``
1301
will permit the urls they provide automatically, so only exceptional
1302
tests should need to do this. (Robert Collins)
1304
* The break-in test no longer cares about clean shutdown of the child,
1305
instead it is happy if the debugger starts up. (Robert Collins)
1307
* The full test suite is expected to pass when the C extensions are not
1308
present. (Vincent Ladeuil, #430749)
1314
:Codename: Stability First
1317
The first of our new ongoing bugfix-only stable releases has arrived. It
1318
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
1319
include any of the feature development in the 2.1.0 series.
1325
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1326
filename will issue a warning and skip over those files.
1327
(Robert Collins, #3918)
1329
* bzr will attempt to authenticate with SSH servers that support
1330
``keyboard-interactive`` auth but not ``password`` auth when using
1331
Paramiko. (Andrew Bennetts, #433846)
1333
* Fixed fetches from a stacked branch on a smart server that were failing
1334
with some combinations of remote and local formats. This was causing
1335
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
1337
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
1338
on branches via a smart server. (Andrew Bennetts, #389413)
1340
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
1341
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
1342
assumed that ``abspath()`` returned a path that did not have a trailing
1343
``/``, but that is not true when working at the root of the filesystem.
1344
(John Arbash Meinel, Jason Spashett, #322807)
1346
* Hide deprecation warnings for 'final' releases for python2.6.
1347
(John Arbash Meinel, #440062)
1349
* Improve the time for ``bzr log DIR`` for 2a format repositories.
1350
We had been using the same code path as for <2a formats, which required
1351
iterating over all objects in all revisions.
1352
(John Arbash Meinel, #374730)
1354
* Make sure that we unlock the tree if we fail to create a TreeTransform
1355
object when doing a merge, and there is limbo, or pending-deletions
1356
directory. (Gary van der Merwe, #427773)
1358
* Occasional IndexError on renamed files have been fixed. Operations that
1359
set a full inventory in the working tree will now go via the
1360
apply_inventory_delta code path which is simpler and easier to
1361
understand than dirstates set_state_from_inventory method. This may
1362
have a small performance impact on operations built on _write_inventory,
1363
but such operations are already doing full tree scans, so no radical
1364
performance change should be observed. (Robert Collins, #403322)
1366
* Retrieving file text or mtime from a _PreviewTree has good performance when
1367
there are many changes. (Aaron Bentley)
1369
* The CHK index pages now use an unlimited cache size. With a limited
1370
cache and a large project, the random access of chk pages could cause us
1371
to download the entire cix file many times.
1372
(John Arbash Meinel, #402623)
1374
* When a file kind becomes unversionable after being added, a sensible
1375
error will be shown instead of a traceback. (Robert Collins, #438569)
1380
* Improved README. (Ian Clatworthy)
1382
* Improved upgrade documentation for Launchpad branches.
1390
:Codename: Instant Karma
1392
This release of Bazaar makes the 2a (previously 'brisbane-core') format
1393
the default when new branches or repositories are created. This format is
1394
substantially smaller and faster for many operations. Most of the work in
1395
this release focuses on bug fixes and stabilization, covering both 2a and
1396
previous formats. (See the Upgrade Guide for information on migrating
1399
This release also improves the documentation content and presentation,
1400
including adding Windows HtmlHelp manuals.
1402
The Bazaar team decided that 2.0 will be a long-term supported release,
1403
with bugfix-only 2.0.x releases based on it, continuing for at least six
1404
months or until the following stable release.
1406
Changes from 2.0.0rc2 to final
1407
******************************
1409
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
1410
that "want to happen on the 2.0.x stable series" versus things that want
1411
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1412
micro = 0.) (John Arbash Meinel)
1418
:2.0.0rc2: 2009-09-10
1423
* Added post_commit hook for mutable trees. This allows the keywords
1424
plugin to expand keywords on files changed by the commit.
1425
(Ian Clatworthy, #408841)
1430
* Bazaar's native protocol code now correctly handles EINTR, which most
1431
noticeably occurs if you break in to the debugger while connected to a
1432
bzr+ssh server. You can now can continue from the debugger (by typing
1433
'c') and the process continues. However, note that pressing C-\ in the
1434
shell may still kill the SSH process, which is bug 162509, so you must
1435
sent a signal to the bzr process specifically, for example by typing
1436
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1438
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
1439
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
1440
(Robert Collins, #416732)
1442
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
1443
format" (John Arbash Meinel, #424392)
1445
* ``bzr log stacked-branch`` shows the full log including
1446
revisions that are in the fallback repository. (Regressed in 2.0rc1).
1447
(John Arbash Meinel, #419241)
1449
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1450
traceback. (Martin Pool, #109115)
1452
* Conversion to 2a will create a single pack for all the new revisions (as
1453
long as it ran without interruption). This improves both ``bzr upgrade``
1454
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
1455
The autopack logic that occurs every 100 revisions during local
1456
conversions was not returning that pack's identifier, which resulted in
1457
the partial packs created during the conversion not being consolidated
1458
at the end of the conversion process. (Robert Collins, #423818)
1460
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
1461
Groups that are seen as 'underutilized' will be repacked on-the-fly.
1462
This means that when the source is fully packed, there is minimal
1463
overhead during the fetch, but if the source is poorly packed the result
1464
is a fairly well packed repository (not as good as 'bzr pack' but
1465
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
1467
* Fix a potential segmentation fault when doing 'log' of a branch that had
1468
ghosts in its mainline. (Evaluating None as a tuple is bad.)
1469
(John Arbash Meinel, #419241)
1471
* ``groupcompress`` sort order is now more stable, rather than relying on
1472
``topo_sort`` ordering. The implementation is now
1473
``KnownGraph.gc_sort``. (John Arbash Meinel)
1475
* Local data conversion will generate correct deltas. This is a critical
1476
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
1477
converting repositories. (Robert Collins, #422849)
1479
* Network streams now decode adjacent records of the same type into a
1480
single stream, reducing layering churn. (Robert Collins)
1482
* Prevent some kinds of incomplete data from being committed to a 2a
1483
repository, such as revisions without inventories, a missing chk_bytes
1484
record for an inventory, or a missing text referenced by an inventory.
1485
(Andrew Bennetts, #423506, #406687)
1490
* Fix assertion error about "_remember_remote_is_before" when pushing to
1491
older smart servers.
1492
(Andrew Bennetts, #418931)
1494
* Help on hooks no longer says 'Not deprecated' for hooks that are
1495
currently supported. (Ian Clatworthy, #422415)
1497
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
1498
user documentation. The HTML documentation is better broken up into
1499
topics. (Ian Clatworthy)
1501
* The developer and foreign language documents are now separated
1502
out so that searching in the HTML and CHM files produces more
1503
useful results. (Ian Clatworthy)
1505
* The main table of contents now provides links to the new Migration Docs
1506
and Plugins Guide. (Ian Clatworthy)
1512
:Codename: no worries
1513
:2.0.0rc1: 2009-08-26
1515
Compatibility Breaks
1516
********************
1518
* The default format for bzr is now ``2a``. This format brings many
1519
significant performance and size improvements. bzr can pull from
1520
any existing repository into a ``2a`` one, but can only transfer
1521
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
1522
has more information about this change. (Robert Collins)
1524
* On Windows auto-detection of Putty's plink.exe is disabled.
1525
Default SSH client for Windows is paramiko. User still can force
1526
usage of plink if explicitly set environment variable BZR_SSH=plink.
1527
(#414743, Alexander Belchenko)
1532
* ``bzr branch --switch`` can now switch the checkout in the current directory
1533
to the newly created branch. (Lukáš Lalinský)
1538
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1539
(Jason Spashett, #76616)
1541
* Fetches were being requested in 'groupcompress' order, but weren't
1542
recombining the groups. Thus they would 'fragment' to get the correct
1543
order, but not 'recombine' to actually benefit from it. Until we get
1544
recombining to work, switching to 'unordered' fetches avoids the
1545
fragmentation. (John Arbash Meinel, #402645)
1547
* Fix a pycurl related test failure on karmic by recognizing an error
1548
raised by newer versions of pycurl.
1549
(Vincent Ladeuil, #306264)
1551
* Fix a test failure on karmic by making a locale test more robust.
1552
(Vincent Ladeuil, #413514)
1554
* Fix IndexError printing CannotBindAddress errors.
1555
(Martin Pool, #286871)
1557
* Fix "Revision ... not present" errors when upgrading stacked branches,
1558
or when doing fetches from a stacked source to a stacked target.
1559
(Andrew Bennetts, #399140)
1561
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
1562
batches together small fetches from 2a repositories, rather than
1563
fetching only a few hundred bytes at a time.
1564
(Andrew Bennetts, #402657)