5
6
.. contents:: List of Releases
8
bzr 2.1.0rc1 (not released yet)
9
###############################
11
:Codename: the 'new' stable
12
:2.1.0rc1: 2009-01-06 (expected)
20
* Add bug information to log output when available.
21
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
23
* ``bzr branch`` now takes a ``--bind`` option. This lets you
24
branch and bind all in one command. (Ian Clatworthy)
26
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
27
a specific revision of a branch. (Daniel Watkins, #183559)
29
* ``bzr unshelve --preview`` can now be used to show how a patch on the
30
shelf would be applied to the working tree.
31
(Guilherme Salgado, #308122)
33
* ``bzr update`` now takes a ``--revision`` argument. This lets you
34
change the revision of the working tree to any revision in the
35
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
38
* ``-Dbytes`` can now be used to display the total number of bytes
39
transferred for the current command. This information is always logged
40
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
42
* The ``suppress_warnings`` configuration option has been introduced and
43
accept the ``format_deprecation`` value to disable the corresponding
44
warning for repositories. It can be set to in either ``bazaar.conf``,
45
``locations.conf`` or ``branch.conf``.
46
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
51
* Always show a message if an OS error occurs while trying to run a
52
user-specified commit message editor.
53
(Martin Pool, #504842)
55
* ``bzr export dir`` now requests all file content as a record stream,
56
rather than requsting the file content one file-at-a-time. This can make
57
exporting over the network significantly faster (54min => 9min in one
58
case). (John Arbash Meinel, #343218)
60
* ``bzr serve`` no longer slowly leaks memory. The compiled
61
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
62
free resources, and it should have been using ``__dealloc__``.
63
This will likely have an impact on any other process that is serving for
64
an extended period of time. (John Arbash Meinel, #494406)
66
* ``bzr switch -b`` can now create branches that are located using directory
67
services such as ``lp:``, even when the branch name doesn't contain a
68
'/'. (Neil Martinsen-Burrell, #495263)
70
* ``bzr unshelve`` has improved messages about what it is doing.
71
(Neil Martinsen-Burrell, #496917)
73
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
74
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
75
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
77
* Fix "Too many concurrent requests" in reconcile when network connection
78
fails. (Andrew Bennetts, #503878)
80
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
81
that caused some tests to fail when run in a non-default order.
82
Probably no user impact. (Martin Pool, #504102)
84
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
85
(Andrew Bennetts, #506274)
87
* FTP transports support Unicode paths by encoding/decoding them as utf8.
88
(Vincent Ladeuil, #472161)
90
* Give a clearer message if the lockdir disappears after being apparently
91
successfully taken. (Martin Pool, #498378)
93
* Listen to the SIGWINCH signal to update the terminal width.
94
(Vincent Ladeuil, #316357)
96
* Progress bars are now hidden when ``--quiet`` is given.
97
(Martin Pool, #320035)
99
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
100
whatever is written to it. This un-breaks some plugin tests that
101
depended on this behaviour.
102
(Martin Pool, #499757)
104
* The 2a format wasn't properly restarting autopacks when something
105
changed underneath it (like another autopack). Now concurrent
106
autopackers will properly succeed. (John Arbash Meinel, #495000)
108
* When operations update the working tree, all affected files should end
109
up with the same mtime. (eg. when versioning a generated file, if you
110
update the source and the generated file together, the generated file
111
should appear up-to-date.)
112
(John Arbash Meinel, Martin <gzlist>, #488724)
117
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
118
All the builtin commands now use ``add_cleanup`` rather than
119
``try``/``finally`` blocks where applicable as it is simpler and more
120
robust. (Andrew Bennetts)
122
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
123
path/to/repo``) will now include "location is a repository" as a hint in
124
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
126
* Push will now inform the user when they are trying to push to a foreign
127
VCS for which roundtripping is not supported, and will suggest them to
128
use dpush. (Jelmer Vernooij)
130
* The version of bzr being run is now written to the log file.
133
* Transport network activity indicator is shown more of the time when
134
Bazaar is doing network IO.
140
* Improved help for ``bzr send``.
141
(Martin Pool, Bojan Nikolic)
143
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
144
including discussions of installation, relevant plugins, security and
145
backup. (Neil Martinsen-Burrell)
147
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
150
* The User Reference is now presented as a series of topics.
151
Many of the included topics have link and format tweaks applied.
157
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
158
to be consistent with instances being lower case and classes being
159
CamelCase. For the features that were more likely to be used, we added a
160
deprecation thunk, but not all. (John Arbash Meinel)
162
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
163
by plugins - the original exceptions are now preserved. (Robert Collins)
165
* The Transport ``Server.tearDown`` method is now renamed to
166
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
167
our normal naming pattern, and to avoid confusion with Python's
168
``TestCase.tearDown``. (Martin Pool)
170
* ``WorkingTree.update`` implementations must now accept a ``revision``
176
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
177
a string of details (such as "location is a repository") as part of a
178
``nobranch`` response. (Andrew Bennetts, #440952)
180
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
181
objects but passes str objects straight through. This is used for
182
selftest but may be useful for diff and other operations that generate
183
mixed output. (Robert Collins)
185
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
186
plugins. (Jelmer Vernooij)
191
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
192
running all tests in the current module, once against a pure python
193
implementation, and once against an extension (pyrex/C) implementation.
194
It can be used to dramatically simplify the implementation of
195
``load_tests``. (John Arbash Meinel)
197
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
198
This permits features in testtools such as getUniqueInteger and
199
getUniqueString to be used. Because of this, testtools version 0.9.2 or
200
newer is now a dependency to run bzr selftest. Running with versions of
201
testtools less than 0.9.2 will cause bzr to error while loading the test
202
suite. (Robert Collins)
204
* Shell-like tests now support the command "mv" for moving files. The
205
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
206
supported. (Neil Martinsen-Burrell)
208
* The test progress bar no longer distinguishes tests that 'errored' from
209
tests that 'failed' - they're all just failures.
212
bzr 2.0.4 (not released yet)
213
############################
216
:2.0.4: smooth sailing
227
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
228
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
230
* ``bzr export dir`` now requests all file content as a record stream,
231
rather than requsting the file content one file-at-a-time. This can make
232
exporting over the network significantly faster (54min => 9min in one
233
case). (John Arbash Meinel, #343218)
235
* ``bzr serve`` no longer slowly leaks memory. The compiled
236
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
237
free resources, and it should have been using ``__dealloc__``.
238
This will likely have an impact on any other process that is serving for
239
an extended period of time. (John Arbash Meinel, #494406)
241
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
242
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
243
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
245
* Concurrent autopacks will no longer lose a newly created pack file.
246
There was a race condition, where if the reload happened at the right
247
time, the second packer would forget the name of the newly added pack
248
file. (John Arbash Meinel, Gareth White, #507566)
250
* Give a clearer message if the lockdir disappears after being apparently
251
successfully taken. (Martin Pool, #498378)
253
* Give a warning when fetching between repositories (local or remote) with
254
sufficiently different formats that the content will need to be
255
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
256
the user has a clue that upgrading could make it faster.
257
(Martin Pool, #456077)
259
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
260
than using ``warning()``. The log file is opened before logging is set
261
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
262
users, rather than something nicer.
263
(John Arbash Meinel, Barry Warsaw, #503886)
265
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
266
(Martin Pool, John Arbash Meinel, #449372)
268
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
269
build. (there is still the distutils bug
270
http://bugs.python.org/issue644744) (Joe Julian, #175839)
272
* The 2a format wasn't properly restarting autopacks when something
273
changed underneath it (like another autopack). Now concurrent
274
autopackers will properly succeed. (John Arbash Meinel, #495000)
276
* ``TreeTransform`` can now handle when a delta says that the file id for
277
the tree root changes. Rather than trying to rename your working
278
directory, or failing early saying that you can't have multiple
279
tree roots. This also fixes revert, update, and pull when the root id
280
changes. (John Arbash Meinel, #494269, #504390)
282
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
283
the right time will get propagated, rather than silently failing to move
284
the block pointer. (John Arbash Meinel, Gareth White, #495023)
301
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
302
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
303
rather than an ``except ?:`` clause.) This should help prevent bugs like
304
bug #495023. (John Arbash Meinel)
310
:Codename: san francisco airport
313
The fourth beta release in the 2.1 series brings with it a significant
314
number of bugfixes (~20). The test suite is once again (finally) "green"
315
on Windows, and should remain that way for future releases. There are a
316
few performance related updates (faster upgrade and log), and several UI
317
tweaks. There has also been a significant number of tweaks to the runtime
318
documentation. 2.1.0b4 include everything from the 2.0.3 release.
324
* The BZR_SSH environmental variable may now be set to the path of a secure
325
shell client. If currently set to the value ``ssh`` it will now guess the
326
vendor of the program with that name, to restore the old behaviour that
327
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
328
string. (Martin <gzlist@googlemail.com>, #176292)
333
* ``bzr commit`` now has a ``--commit-time`` option.
334
(Alexander Sack, #459276)
336
* ``-Dhpss`` now increases logging done when run on the bzr server,
337
similarly to how it works on the client. (John Arbash Meinel)
339
* New option ``bzr unshelve --keep`` applies the changes and leaves them
340
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
342
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
343
respect a given terminal width. This can be useful when output is
344
redirected or in obscure cases where the default value is not
345
appropriate. Pagers can use it to get a better control of the line
349
* The new command ``bzr lp-mirror`` will request that Launchpad update its
350
mirror of a local branch. This command will only function if launchpadlib
358
* After renaming a file, the dirstate could accidentally reference
359
``source\\path`` rather than ``source/path`` on Windows. This might be a
360
source of some dirstate-related failures. (John Arbash Meinel)
362
* ``bzr commit`` now detects commit messages that looks like file names
363
and issues a warning.
364
(Gioele Barabucci, #73073)
366
* ``bzr ignore /`` no longer causes an IndexError. (Gorder Tyler, #456036)
368
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
369
(#325618, #484109, Marius Kruger)
371
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
372
files with conflicts (similar to ``--merge3``). The contents of the file
373
is a synthesis of all bases used for the merge.
374
(John Arbash Meinel, #40412)
376
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
378
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
379
(Robert Collins, #84659)
381
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
383
* Fix bug with redirected URLs over authenticated HTTP.
384
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
386
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
388
* Lots of bugfixes for the test suite on Windows. We should once again
389
have a test suite with no failures on Windows. (John Arbash Meinel)
391
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
392
variable but returns None if the terminal is not a tty (when output is
393
redirected for example). Also fixes its usage under OSes that doesn't
394
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
396
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
397
(John Arbash Meinel, Vincent Ladeuil, #492561)
399
* Terminate ssh subprocesses when no references to them remain, fixing
400
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
402
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
403
works for 2a format trees. Only files unaffected by content filters
404
will be hardlinked. (Andrew Bennetts, #408193)
406
* The new glob expansion on Windows would replace all ``\`` characters
407
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
408
etc. Now only change slashes if there is something being glob expanded.
409
(John Arbash Meinel, #485771)
411
* Use our faster ``KnownGraph.heads()`` functionality when computing the
412
new rich-root heads. This can cut a conversion time in half (mysql from
413
13.5h => 6.2h) (John Arbash Meinel, #487632)
415
* When launching a external diff tool via bzr diff --using, temporary files
416
are no longer created, rather, the path to the file in the working tree is
417
passed to the external diff tool. This allows the file to be edited if the
418
diff tool provides for this. (Gary van der Merwe, #490738)
420
* The launchpad-open command can now be used from a subdirectory of a
421
branch, not just from the root of the branch.
422
(Neil Martinsen-Burrell, #489102)
428
* ``bzr log`` is now faster. (Ian Clatworthy)
430
* ``bzr update`` provides feedback on which branch it is up to date with.
431
(Neil Martinsen-Burrell)
433
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
434
For details see the xml8 patch and heads() improvements.
437
* ``bzrlib.urlutils.local_path_from_url`` now accepts
438
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
441
* The progress bar now shows only a spinner and per-operation counts,
442
not an overall progress bar. The previous bar was often not correlated
443
with real overall operation progress, either because the operations take
444
nonlinear time, or because at the start of the operation Bazaar couldn't
445
estimate how much work there was to do. (Martin Pool)
450
* Lots of documentation tweaks for inline help topics and command help
456
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
458
* The Launchpad plugin now has a function ``login`` which will log in to
459
Launchpad with launchpadlib, and ``load_branch`` which will return the
460
Launchpad Branch object corresponding to a given Bazaar Branch object.
466
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
467
easier to handle what tests you want to run based on what modules can be
468
imported. (Rather than lots of custom-implemented features that were
469
basically copy-and-pasted.) (John Arbash Meinel)
471
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
472
``time.clock()`` when you want to do performance timing.
473
``time.time()`` is limited to 15ms resolution on Windows, but
474
``time.clock()`` gives CPU and not wall-clock time on other platforms.
477
* Several code paths that were calling ``Transport.get().read()`` have
478
been changed to the equalivent ``Transport.get_bytes()``. The main
479
difference is that the latter will explicitly call ``file.close()``,
480
rather than expecting the garbage collector to handle it. This helps
481
with some race conditions on Windows during the test suite and sftp
482
tests. (John Arbash Meinel)
487
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
488
unicode strings. (Michael Hudson, #464174)
494
:Codename: little italy
498
The third stable release of Bazaar has a small handful of bugfixes. As
499
expected, this has no internal or external compatibility changes versus
505
* ``bzr push --use-existing-dir`` no longer crashes if the directory
506
exists but contains an invalid ``.bzr`` directory.
507
(Andrew Bennetts, #423563)
509
* Content filters are now applied correctly after pull, merge and switch.
510
(Ian Clatworthy, #385879)
512
* Fix a potential segfault in the groupcompress hash map handling code.
513
When inserting new entries, if the final hash bucket was empty, we could
514
end up trying to access if ``(last_entry+1)->ptr == NULL``.
515
(John Arbash Meinel, #490228)
517
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
523
:Codename: after sprint recovery
526
This release was pushed up from its normal release cycle due to a
527
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
528
was caught before 2.1.0b2 was officially announced, the full changelog
529
includes both 2.1.0b3 and 2.1.0b2 changes.
531
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
532
the test suite now conforms to python's trunk enhanced semantics (skip,
533
etc.), and ``bzr info -v`` will now report the correct branch and repo
534
formats for Remote objects.
540
* Users can define a shelve editor to provide shelf functionality at a
541
granularity finer than per-patch-hunk. (Aaron Bentley)
546
* Fix for shell completion and short options. (Benoît PIERRE)
548
* Hooks daughter classes should always call the base constructor.
549
(Alexander Belchenko, Vincent Ladeuil, #389648)
551
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
553
* On Windows, do glob expansion at the command-line level (as is usually
554
done in bash, etc.) This means that *all* commands get glob expansion
555
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
556
parser, which allows us to know if a given section was quoted. It means
557
you can now do ``bzr ignore "*.py"``.
558
(John Arbash Meinel, #425510, #426410, #194450)
560
* Sanitize commit messages that come in from the '-m' flag. We translate
561
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
562
allow those because XML store silently translate it anyway. (The parser
563
auto-translates \r\n => \n in ways that are hard for us to catch.)
565
* Show correct branch and repository format descriptions in
566
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
568
* The fix for bug #186920 accidentally broke compatibility with python
569
2.4. (Vincent Ladeuil, #475585)
571
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
572
correctly sets ``self.inv_sha1`` to a sha1 string and
573
``self.new_inventory`` to an Inventory instance after calling
574
``self.finish_inventory()``. (Previously it accidently set both values
575
as a tuple on ``self.inv_sha1``. This was missed because
576
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
577
the sha1 from the repo directly. (John Arbash Meinel)
579
* Shelve command refuse to run if there is no real terminal.
580
(Alexander Belchenko)
582
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
583
Python level. (Martin Pool)
588
* Include Japanese translations for documentation (Inada Naoki)
590
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
591
(rather than user-interaction) data to stdout. This automatically
592
coordinates with progress bars or other terminal activity, and can be
594
(Martin Pool, 493944)
599
* Some of the core groupcompress functionality now releases the GIL before
600
operation. Similar to how zlib and bz2 operate without the GIL in the
601
core compression and decompression routines. (John Arbash Meinel)
606
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
607
more debugging of VFS access triggers. (Robert Collins)
609
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
610
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
612
* ``--parallel=fork`` is now compatible with --subunit.
613
(Robert Collins, Vincent Ladeuil, #419776)
615
* Reporting of failures shows test ids not descriptions and thus shows
616
parameterised tests correctly. (Robert Collins)
618
* TestNotApplicable is now handled within the TestCase.run method rather
619
than being looked for within ``ExtendedTestResult.addError``. This
620
provides better handling with other ``TestResult`` objects, degrading to
621
sucess rather than error. (Robert Collins)
623
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
624
removed - it was empty and unused. (Robert Collins)
626
* UnavailableFeature is now handled within the TestCase.run method rather
627
than being looked for within addError. If the Result object does not
628
have an addNotSupported method, addSkip is attempted instead, and
629
failing that addSuccess. (Robert Collins)
631
* When a TestResult does not have an addSkip method, skipped tests are now
632
reported as successful tests, rather than as errors. This change is
633
to make it possible to get a clean test run with a less capable
634
TestResult. (Robert Collins)
641
:Codename: a load off my mind
644
This is our second feature-filled release since 2.0, pushing us down the
645
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
647
Key highlights in this release are: improved handling of
648
failures-during-cleanup for commit, fixing a long-standing bug with
649
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
650
behind proxies, and a new StaticTuple datatype, allowing us to reduce
651
memory consumption (50%) and garbage collector overhead (40% faster) for
654
* A new ``--concurrency`` option has been added as well as an associated
655
BZR_CONCURRENCY environment variable to specify the number of
656
processes that can be run concurrently when running ``bzr selftest``. The
657
command-line option overrides the environment variable if both are
658
specified. If none is specified. the number of processes is obtained
659
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
664
* ``bzr+http`` servers no longer give spurious jail break errors when
665
serving branches inside a shared repository. (Andrew Bennetts, #348308)
667
* Errors during commit are handled more robustly so that knock-on errors
668
are less likely to occur, and will not obscure the original error if
669
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
670
and similar errors. (Andrew Bennetts, #429747, #243391)
672
* Launchpad urls can now be resolved from behind proxies.
673
(Gordon Tyler, Vincent Ladeuil, #186920)
675
* Reduce the strictness for StaticTuple, instead add a debug flag
676
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
677
This way, most users won't see failures, but developers can improve
678
internals. (John Arbash Meinel, #471193)
680
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
681
files. (Aaron Bentley)
683
* Unicode paths are now handled correctly and consistently by the smart
684
server. (Andrew Bennetts, Michael Hudson, #458762)
689
* When reading index files, we now use a ``StaticTuple`` rather than a
690
plain ``tuple`` object. This generally gives a 20% decrease in peak
691
memory, and can give a performance boost up to 40% on large projects.
694
* Peak memory under certain operations has been reduced significantly.
695
(eg, 'bzr branch launchpad standalone' is cut in half)
701
* Filtered views user documentation upgraded to refer to format 2a
702
instead of pre-2.0 formats. (Ian Clatworthy)
707
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
709
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
710
``show_warning`` methods, which can be hooked by non-text UIs.
716
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
717
Dict (it only holds keys, but you can lookup the object located at a
718
given key). It has significantly reduced memory consumption versus the
719
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
720
used as the interning structure for StaticTuple objects.
723
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
724
the btree index parser and the chk map parser. This class functions
725
similarly to ``tuple`` objects. However, it can only point to a limited
726
collection of types. (Currently StaticTuple, str, unicode, None, bool,
727
int, long, float, but not subclasses). This allows us to remove it from
728
the garbage collector (it cannot be in a cycle), it also allows us to
729
intern the objects. In testing, this can reduce peak memory by 20-40%,
730
and significantly improve performance by removing objects from being
731
inspected by the garbage collector. (John Arbash Meinel)
733
* ``GroupCompressBlock._ensure_content()`` will now release the
734
``zlib.decompressobj()`` when the first request is for all of the
735
content. (Previously it would only be released if you made a request for
736
part of the content, and then all of it later.) This turns out to be a
737
significant memory savings, as a ``zstream`` carries around approx 260kB
738
of internal state and buffers. (For branching bzr.dev this drops peak
739
memory from 382MB => 345MB.) (John Arbash Meinel)
741
* When streaming content between ``2a`` format repositories, we now clear
742
caches from earlier versioned files. (So 'revisions' is cleared when we
743
start reading 'inventories', etc.) This can have a significant impact on
744
peak memory for initial copies (~200MB). (John Arbash Meinel)
750
:Codename: after the scare
753
The second in our "let's keep the stable bugfixes flowing" series. As
754
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
760
* Avoid "NoneType has no attribute st_mode" error when files disappear
761
from a directory while it's being read. (Martin Pool, #446033)
763
* Content filters are now applied correctly after revert.
766
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
768
* Fetching from stacked pre-2a repository via a smart server no longer
769
fails intermittently with "second push failed to complete".
770
(Andrew Bennetts, #437626)
772
* Fix typos left after test_selftest refactoring.
773
(Vincent Ladeuil, Matt Nordhoff, #461149)
775
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
776
(Andrew Bennetts, #445171)
778
* PreviewTree file names are not limited by the encoding of the temp
779
directory's filesystem. (Aaron Bentley, #436794)
784
* ``bzr log`` now read-locks branches exactly once, so makes better use of
785
data caches. (Andrew Bennetts)
790
* Filtered views user documentation upgraded to refer to format 2a
791
instead of pre-2.0 formats. (Ian Clatworthy)
797
:Codename: While the cat is away
800
This is the first development release in the new split "stable" and
801
"development" series. As such, the release is a snapshot of bzr.dev
802
without creating a release candidate first. This release includes a
803
fair amount of internal changes, with deprecated code being removed,
804
and several new feature developments. People looking for a stable code
805
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
806
present in 2.0.1 are present in 2.1.0b1.
808
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
809
finer control over the plugin search path via extended BZR_PLUGIN_PATH
810
syntax, visible warnings when extension modules fail to load, and improved
811
error handling during unlocking.
817
* Bazaar can now send mail through Apple OS X Mail.app.
820
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
821
specified in the URL. Paths starting with a path segment of ``~`` are
822
relative to the home directory of the user running the server, and paths
823
starting with ``~user`` are relative to the home directory of the named
824
user. For example, for a user "bob" with a home directory of
825
``/home/bob``, these URLs are all equivalent:
827
* ``bzr+ssh://bob@host/~/repo``
828
* ``bzr+ssh://bob@host/~bob/repo``
829
* ``bzr+ssh://bob@host/home/bob/repo``
831
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
832
home directories outside that directory will be accessible via this
835
This is a feature of ``bzr serve``, so pre-2.1 clients will
836
automatically benefit from this feature when ``bzr`` on the server is
837
upgraded. (Andrew Bennetts, #109143)
839
* Extensions can now be compiled if either Cython or Pyrex is available.
840
Currently Pyrex is preferred, but that may change in the future.
843
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
844
disable the user, site and core plugin directories.
845
(Vincent Ladeuil, #412930, #316192, #145612)
850
* Bazaar's native protocol code now correctly handles EINTR, which most
851
noticeably occurs if you break in to the debugger while connected to a
852
bzr+ssh server. You can now can continue from the debugger (by typing
853
'c') and the process continues. However, note that pressing C-\ in the
854
shell may still kill the SSH process, which is bug 162509, so you must
855
sent a signal to the bzr process specifically, for example by typing
856
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
858
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
859
filename will issue a warning and skip over those files.
860
(Robert Collins, #3918)
862
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
863
are present in the working tree. The configuration option ``dpush_strict``
864
can be used to set the default for this behavior.
865
(Vincent Ladeuil, #438158)
867
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
868
merges are present in the working tree.
869
(Vincent Ladeuil, #426344)
871
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
872
traceback. (Martin Pool, #109115)
874
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
875
as it is never built. (John Arbash Meinel, #430645)
877
* Don't restrict the command name used to run the test suite.
878
(Vincent Ladeuil, #419950)
880
* ftp transports were built differently when the kerberos python module was
881
present leading to obscure failures related to ASCII/BINARY modes.
882
(Vincent Ladeuil, #443041)
884
* Network streams now decode adjacent records of the same type into a
885
single stream, reducing layering churn. (Robert Collins)
887
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
888
file. (Aaron Bentley, #251532)
890
* Registry objects should not use iteritems() when asked to use items().
891
(Vincent Ladeuil, #430510)
893
* Weave based repositories couldn't be cloned when committers were using
894
domains or user ids embedding '.sig'. Now they can.
895
(Matthew Fuller, Vincent Ladeuil, #430868)
900
* Revision specifiers can now be given in a more DWIM form, without
901
needing explicit prefixes for specifiers like tags or revision id's.
902
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
904
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
905
compiled extensions can't be loaded. This typically indicates a
906
packaging or installation problem. In this case Bazaar will keep
907
running using pure-Python versions, but this may be substantially
908
slower. The warning can be disabled by setting
909
``ignore_missing_extensions = True`` in ``bazaar.conf``.
910
See also <https://answers.launchpad.net/bzr/+faq/703>.
911
(Martin Pool, #406113, #430529)
913
* Secondary errors that occur during Branch.unlock and Repository.unlock
914
no longer obscure the original error. These methods now use a new
915
decorator, ``only_raises``. This fixes many causes of
916
``TooManyConcurrentRequests`` and similar errors.
917
(Andrew Bennetts, #429747)
922
* Describe the new shell-like test feature. (Vincent Ladeuil)
924
* Help on hooks no longer says 'Not deprecated' for hooks that are
925
currently supported. (Ian Clatworthy, #422415)
930
* ``bzrlib.user_encoding`` has been removed; use
931
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
933
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
934
subclasses - the same as python's unittest module. (Robert Collins)
936
* ``diff._get_trees_to_diff`` has been renamed to
937
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
938
returns the old and new branches. (Gary van der Merwe)
940
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
943
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
944
now defaults to comparing to the basis tree. It now checks for pending
945
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
946
corresponding has_changes() calls. ``Merge.compare_basis``,
947
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
949
(Vincent Ladeuil, #440631)
951
* ``ProgressTask.note`` is deprecated.
957
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
958
repository or branch object is unlocked then relocked the same way.
961
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
962
mallocs while parsing the index (approx 3=>1 mallocs per key read).
963
This results in a 10% speedup while reading an index.
966
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
967
profiling in some situations like callbacks and generators easier.
973
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
974
be output for every test. Note that this is very verbose! (Robert Collins)
976
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
977
post_mortem to be triggered when a test failure occurs. (Robert Collins)
979
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
980
documentation in ``developers/testing.txt`` for details.
983
* Some tests could end up with the same id, that was dormant for
985
(Vincent Ladeuil, #442980)
987
* Stop showing the number of tests due to missing features in the test
988
progress bar. (Martin Pool)
990
* Test parameterisation now does a shallow copy, not a deep copy of the test
991
to be parameterised. This is not expected to break external use of test
992
parameterisation, and is substantially faster. (Robert Collins)
994
* Tests that try to open a bzr dir on an arbitrary transport will now
995
fail unless they have explicitly permitted the transport via
996
``self.permit_url``. The standard test factories such as ``self.get_url``
997
will permit the urls they provide automatically, so only exceptional
998
tests should need to do this. (Robert Collins)
1000
* The break-in test no longer cares about clean shutdown of the child,
1001
instead it is happy if the debugger starts up. (Robert Collins)
1003
* The full test suite is expected to pass when the C extensions are not
1004
present. (Vincent Ladeuil, #430749)
1010
:Codename: Stability First
1013
The first of our new ongoing bugfix-only stable releases has arrived. It
1014
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
1015
include any of the feature development in the 2.1.0 series.
1021
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1022
filename will issue a warning and skip over those files.
1023
(Robert Collins, #3918)
1025
* bzr will attempt to authenticate with SSH servers that support
1026
``keyboard-interactive`` auth but not ``password`` auth when using
1027
Paramiko. (Andrew Bennetts, #433846)
1029
* Fixed fetches from a stacked branch on a smart server that were failing
1030
with some combinations of remote and local formats. This was causing
1031
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
1033
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
1034
on branches via a smart server. (Andrew Bennetts, #389413)
1036
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
1037
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
1038
assumed that ``abspath()`` returned a path that did not have a trailing
1039
``/``, but that is not true when working at the root of the filesystem.
1040
(John Arbash Meinel, Jason Spashett, #322807)
1042
* Hide deprecation warnings for 'final' releases for python2.6.
1043
(John Arbash Meinel, #440062)
1045
* Improve the time for ``bzr log DIR`` for 2a format repositories.
1046
We had been using the same code path as for <2a formats, which required
1047
iterating over all objects in all revisions.
1048
(John Arbash Meinel, #374730)
1050
* Make sure that we unlock the tree if we fail to create a TreeTransform
1051
object when doing a merge, and there is limbo, or pending-deletions
1052
directory. (Gary van der Merwe, #427773)
1054
* Occasional IndexError on renamed files have been fixed. Operations that
1055
set a full inventory in the working tree will now go via the
1056
apply_inventory_delta code path which is simpler and easier to
1057
understand than dirstates set_state_from_inventory method. This may
1058
have a small performance impact on operations built on _write_inventory,
1059
but such operations are already doing full tree scans, so no radical
1060
performance change should be observed. (Robert Collins, #403322)
1062
* Retrieving file text or mtime from a _PreviewTree has good performance when
1063
there are many changes. (Aaron Bentley)
1065
* The CHK index pages now use an unlimited cache size. With a limited
1066
cache and a large project, the random access of chk pages could cause us
1067
to download the entire cix file many times.
1068
(John Arbash Meinel, #402623)
1070
* When a file kind becomes unversionable after being added, a sensible
1071
error will be shown instead of a traceback. (Robert Collins, #438569)
1076
* Improved README. (Ian Clatworthy)
1078
* Improved upgrade documentation for Launchpad branches.
1086
:Codename: Instant Karma
1088
This release of Bazaar makes the 2a (previously 'brisbane-core') format
1089
the default when new branches or repositories are created. This format is
1090
substantially smaller and faster for many operations. Most of the work in
1091
this release focuses on bug fixes and stabilization, covering both 2a and
1092
previous formats. (See the Upgrade Guide for information on migrating
1095
This release also improves the documentation content and presentation,
1096
including adding Windows HtmlHelp manuals.
1098
The Bazaar team decided that 2.0 will be a long-term supported release,
1099
with bugfix-only 2.0.x releases based on it, continuing for at least six
1100
months or until the following stable release.
1102
Changes from 2.0.0rc2 to final
1103
******************************
1105
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
1106
that "want to happen on the 2.0.x stable series" versus things that want
1107
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1108
micro = 0.) (John Arbash Meinel)
1114
:2.0.0rc2: 2009-09-10
1119
* Added post_commit hook for mutable trees. This allows the keywords
1120
plugin to expand keywords on files changed by the commit.
1121
(Ian Clatworthy, #408841)
1126
* Bazaar's native protocol code now correctly handles EINTR, which most
1127
noticeably occurs if you break in to the debugger while connected to a
1128
bzr+ssh server. You can now can continue from the debugger (by typing
1129
'c') and the process continues. However, note that pressing C-\ in the
1130
shell may still kill the SSH process, which is bug 162509, so you must
1131
sent a signal to the bzr process specifically, for example by typing
1132
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1134
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
1135
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
1136
(Robert Collins, #416732)
1138
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
1139
format" (John Arbash Meinel, #424392)
1141
* ``bzr log stacked-branch`` shows the full log including
1142
revisions that are in the fallback repository. (Regressed in 2.0rc1).
1143
(John Arbash Meinel, #419241)
1145
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1146
traceback. (Martin Pool, #109115)
1148
* Conversion to 2a will create a single pack for all the new revisions (as
1149
long as it ran without interruption). This improves both ``bzr upgrade``
1150
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
1151
The autopack logic that occurs every 100 revisions during local
1152
conversions was not returning that pack's identifier, which resulted in
1153
the partial packs created during the conversion not being consolidated
1154
at the end of the conversion process. (Robert Collins, #423818)
1156
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
1157
Groups that are seen as 'underutilized' will be repacked on-the-fly.
1158
This means that when the source is fully packed, there is minimal
1159
overhead during the fetch, but if the source is poorly packed the result
1160
is a fairly well packed repository (not as good as 'bzr pack' but
1161
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
1163
* Fix a potential segmentation fault when doing 'log' of a branch that had
1164
ghosts in its mainline. (Evaluating None as a tuple is bad.)
1165
(John Arbash Meinel, #419241)
1167
* ``groupcompress`` sort order is now more stable, rather than relying on
1168
``topo_sort`` ordering. The implementation is now
1169
``KnownGraph.gc_sort``. (John Arbash Meinel)
1171
* Local data conversion will generate correct deltas. This is a critical
1172
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
1173
converting repositories. (Robert Collins, #422849)
1175
* Network streams now decode adjacent records of the same type into a
1176
single stream, reducing layering churn. (Robert Collins)
1178
* Prevent some kinds of incomplete data from being committed to a 2a
1179
repository, such as revisions without inventories, a missing chk_bytes
1180
record for an inventory, or a missing text referenced by an inventory.
1181
(Andrew Bennetts, #423506, #406687)
1186
* Fix assertion error about "_remember_remote_is_before" when pushing to
1187
older smart servers.
1188
(Andrew Bennetts, #418931)
1190
* Help on hooks no longer says 'Not deprecated' for hooks that are
1191
currently supported. (Ian Clatworthy, #422415)
1193
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
1194
user documentation. The HTML documentation is better broken up into
1195
topics. (Ian Clatworthy)
1197
* The developer and foreign language documents are now separated
1198
out so that searching in the HTML and CHM files produces more
1199
useful results. (Ian Clatworthy)
1201
* The main table of contents now provides links to the new Migration Docs
1202
and Plugins Guide. (Ian Clatworthy)
1208
:Codename: no worries
1209
:2.0.0rc1: 2009-08-26
1211
Compatibility Breaks
1212
********************
1214
* The default format for bzr is now ``2a``. This format brings many
1215
significant performance and size improvements. bzr can pull from
1216
any existing repository into a ``2a`` one, but can only transfer
1217
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
1218
has more information about this change. (Robert Collins)
1220
* On Windows auto-detection of Putty's plink.exe is disabled.
1221
Default SSH client for Windows is paramiko. User still can force
1222
usage of plink if explicitly set environment variable BZR_SSH=plink.
1223
(#414743, Alexander Belchenko)
1228
* ``bzr branch --switch`` can now switch the checkout in the current directory
1229
to the newly created branch. (Lukáš Lalinský)
1234
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1235
(Jason Spashett, #76616)
1237
* Fetches were being requested in 'groupcompress' order, but weren't
1238
recombining the groups. Thus they would 'fragment' to get the correct
1239
order, but not 'recombine' to actually benefit from it. Until we get
1240
recombining to work, switching to 'unordered' fetches avoids the
1241
fragmentation. (John Arbash Meinel, #402645)
1243
* Fix a pycurl related test failure on karmic by recognizing an error
1244
raised by newer versions of pycurl.
1245
(Vincent Ladeuil, #306264)
1247
* Fix a test failure on karmic by making a locale test more robust.
1248
(Vincent Ladeuil, #413514)
1250
* Fix IndexError printing CannotBindAddress errors.
1251
(Martin Pool, #286871)
1253
* Fix "Revision ... not present" errors when upgrading stacked branches,
1254
or when doing fetches from a stacked source to a stacked target.
1255
(Andrew Bennetts, #399140)
1257
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
1258
batches together small fetches from 2a repositories, rather than
1259
fetching only a few hundred bytes at a time.
1260
(Andrew Bennetts, #402657)
1265
* A better description of the platform is shown in crash tracebacks, ``bzr
1266
--version`` and ``bzr selftest``.
1267
(Martin Pool, #409137)
1269
* bzr can now (again) capture crash data through the apport library,
1270
so that a single human-readable file can be attached to bug reports.
1271
This can be disabled by using ``-Dno_apport`` on the command line, or by
1272
putting ``no_apport`` into the ``debug_flags`` section of
1274
(Martin Pool, Robert Collins, #389328)
1276
* ``bzr push`` locally on windows will no longer give a locking error with
1277
dirstate based formats. (Robert Collins)
1279
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
1280
(Robert Collins, #305006)
1282
* Commit of specific files no longer prevents using the iter_changes
1283
codepath. On 2a repositories, commit of specific files should now be as
1284
fast, or slightly faster, than a full commit. (Robert Collins)
1286
* The internal core code that handles specific file operations like
1287
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
1288
include the parent directories if they have altered, and when a
1289
directory stops being a directory its children are always included. This
1290
fixes a number of causes for ``InconsistentDelta`` errors, and permits
1291
faster commit of specific paths. (Robert Collins, #347649)
1296
* New developer documentation for content filtering.
1302
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
1303
classes changed to manage lock lifetime of the trees they open in a way
1304
consistent with reader-exclusive locks. (Robert Collins, #305006)
1312
:Codename: nein nein nein!
1315
This release fixes two small but worthwhile bugs relevant to users on
1316
Microsoft Windows: some commands that failed on with locking errors will
1317
now work, and a bug that caused poor performance after committing a file
1318
with line-ending conversion has now been fixed. It also fixes a bug in
1319
pushing to older servers.
1324
* Fixed a problem where using content filtering and especially end-of-line
1325
conversion will commit too many copies a file.
1326
(Martin Pool, #415508)
1328
* Fix assertion error about ``_remember_remote_is_before`` in
1329
``set_tags_bytes`` when pushing to older smart servers.
1330
(Andrew Bennetts, Alexander Belchenko, #418931)
1335
* ``bzr push`` locally on Windows will no longer give a locking error with
1336
dirstate based formats. (Robert Collins)
1338
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
1339
(Robert Collins, #305006)
1344
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
1345
classes changed to manage lock lifetime of the trees they open in a way
1346
consistent with reader-exclusive locks. (Robert Collins, #305006)
1348
* ``Tree.path_content_summary`` may return a size of None, when called on
1349
a tree with content filtering where the size of the canonical form
1350
cannot be cheaply determined. (Martin Pool)
1352
* When manually creating transport servers in test cases, a new helper
1353
``TestCase.start_server`` that registers a cleanup and starts the server
1354
should be used. (Robert Collins)
1359
Compatibility Breaks
1360
********************
1362
* Committing directly to a stacked branch from a lightweight checkout will
1363
no longer work. In previous versions this would appear to work but would
1364
generate repositories with insufficient data to create deltas, leading
1365
to later errors when branching or reading from the repository.
1366
(Robert Collins, bug #375013)
1374
* Fetching from 2a branches from a version-2 bzr protocol would fail to
1375
copy the internal inventory pages from the CHK store. This cannot happen
1376
in normal use as all 2a compatible clients and servers support the
1377
version-3 protocol, but it does cause test suite failures when testing
1378
downlevel protocol behaviour. (Robert Collins)
1380
* Fix a test failure on karmic by making a locale test more robust.
1381
(Vincent Ladeuil, #413514)
1383
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
1384
fully packed 2a repository. (Andrew Bennetts, #382463)
1386
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1387
(Jason Spashett, #76616)
1389
* Properly handle fetching into a stacked branch while converting the
1390
data, especially when there are also ghosts. The code was filling in
1391
parent inventories incorrectly, and also not handling when one of the
1392
parents was a ghost. (John Arbash Meinel, #402778, #412198)
1394
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
1395
inventory pages when appropriate (by falling back to the vfs stream
1396
source). (Andrew Bennetts, #406686)
1398
* StreamSource generates rich roots from non-rich root sources correctly
1399
now. (Andrew Bennetts, #368921)
1401
* When deciding whether a repository was compatible for upgrading or
1402
fetching, we previously incorrectly checked the default repository
1403
format for the bzrdir format, rather than the format that was actually
1404
present on disk. (Martin Pool, #408824)
1409
* A better description of the platform is shown in crash tracebacks, ``bzr
1410
--version`` and ``bzr selftest``.
1411
(Martin Pool, #409137)
1413
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
1414
smart server are more efficient now. They send inventory deltas rather
1415
than full inventories. The smart server has two new requests,
1416
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
1417
support this. (Andrew Bennetts, #374738, #385826)
1419
* Extracting the full ancestry and computing the ``merge_sort`` is now
1420
significantly faster. This effects things like ``bzr log -n0``. (For
1421
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
1422
(John Arbash Meinel)
1433
* ``-Dstrict_locks`` can now be used to check that read and write locks
1434
are treated properly w.r.t. exclusivity. (We don't try to take an OS
1435
read lock on a file that we already have an OS write lock on.) This is
1436
now set by default for all tests, if you have a test which cannot be
1437
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
1438
compatibility knob. (John Arbash Meinel)
1440
* InterDifferingSerializer is now only used locally. Other fetches that
1441
would have used InterDifferingSerializer now use the more network
1442
friendly StreamSource, which now automatically does the same
1443
transformations as InterDifferingSerializer. (Andrew Bennetts)
1445
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
1446
are implemented in pyrex and significantly faster. This is exposed along
1447
with ``CombinedGraphIndex.find_ancestry()`` as
1448
``VersionedFiles.get_known_graph_ancestry(keys)``.
1449
(John Arbash Meinel)
1451
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
1452
protocols. (Robert Collins)
1454
* The index code now has some specialized routines to extract the full
1455
ancestry of a key in a more efficient manner.
1456
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
1457
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
1463
* Install the test ssl certificate and key so that installed bzr
1464
can run the https tests. (Denys Duchier, #392401)
1470
:Codename: little traveller
1472
:1.18rc1: 2009-08-10
1474
This release of Bazaar marches on towards the 2.0 release in which the 2a
1475
'brisbane-core' format becomes generally recommended. Most of the work in
1476
this release now focusses on bug fixes and stabilization, covering both 2a
1477
and previous formats. There is a new text-mode interactive merge feature,
1478
a new guide to migration to 2a format in the user documentation, and
1479
pushing branches to a smart server is now much faster.
1481
The Bazaar team decided that 2.0 will be a long-term supported release,
1482
with bugfix-only releases based on it continuing for at least six months
1483
or until the following stable release.
1485
There are no changes from 1.18rc1 to 1.18.
1490
* ``bzr merge --interactive`` applies a user-selected portion of the
1491
merge. The UI is similar to ``shelve``. (Aaron Bentley)
1493
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
1494
``--unstacked`` to change stacking of a branch.
1495
(Martin Pool, #391411)
1500
* Annotating on a stacked branch will now succeed in simple scenarios.
1501
There are still some complex scenarios where it will fail (bug #399884)
1502
(John Arbash Meinel, #393366)
1504
* A progress bar is no longer left dangling when ``bzr selftest``
1505
completes, and the progress bar updates with zero latency so the
1506
displayed test name is always the one that's actually running.
1507
(Martin Pool, #123688)
1509
* Authenticating against an ssh server now uses ``auth_none`` to determine
1510
if password authentication is even supported. This fixes a bug where
1511
users would be prompted for a launchpad password, even though launchpad
1512
only supports publickey authentication. (John Arbash Meinel, #375867)
1514
* BranchBuilder now accepts timezone to avoid test failures in countries far
1515
from GMT. (Vincent Ladeuil, #397716)
1517
* ``bzr commit`` no longer saves the unversioning of missing files until
1518
the commit has completed on the branch. This means that aborting a
1519
commit that found a missing file will leave the tree unedited.
1520
(Robert Collins, #282402)
1522
* ``bzr mv`` no longer takes out branch locks, which allows it to work
1523
when the branch is readonly. (Robert Collins, #216541)
1525
* ``bzr revert .`` no longer generates an InconsistentDelta error when
1526
there are missing subtrees. (Robert Collins, #367632)
1528
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
1529
do to internal changes necessary to support this, older clients will
1530
fail when trying to insert them. For newer clients, the bundle can be
1531
used to apply the changes to any rich-root compatible format.
1532
(John Arbash Meinel, #393349)
1534
* Cope with FTP servers that don't support restart/append by falling back
1535
to reading and then rewriting the whole file, such as TahoeLAFS. (This
1536
fallback may be slow for some access patterns.) (Nils Durner, #294709)
1538
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
1539
external diff client. This at least allows supporting filenames that are
1540
not ascii, but are present in the current locale. Ideally we would be
1541
able to pass the Unicode path, but that would be client dependent.
1542
(John Arbash Meinel, #382709)
1544
* Fix a compile bug on Solaris having to do with const and
1545
pointer-to-pointers. (John Arbash Meinel, #408441)
1547
* Fixed a NameError that occurs when merging or pulling from a URL that
1548
causes a redirection loop when bzr tries to read a URL as a bundle.
1549
(Andrew Bennetts, #400847)
1551
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
1552
running send and similar commands on 2a formats.
1553
(Martin Pool, #408201)
1555
* Fix crash in some invocations of ``bzr status`` in format 2a.
1556
(Martin Pool, #403523)
1558
* Fixed export to existing directory: if directory is empty then export
1559
will succeed, otherwise it fails with error.
1560
(Alexander Belchenko, #406174)
1562
* Fixed spurious "Source branch does not support stacking" warning when
1563
pushing. (Andrew Bennetts, #388908)
1565
* Fixed spurious transport activity indicator appearing while tests are
1566
running. (Martin Pool, #343532)
1568
* Merge now correctly handles empty right-hand revision specs.
1569
(Aaron Bentley, #333961)
1571
* Renames to lexographically lower basenames in trees that have never been
1572
committed to will no longer corrupt the dirstate. This was caused by an
1573
bug in the dirstate update_minimal method. (Robert Collins, #395556)
1575
* Requests for unknown methods no longer cause the smart server to log
1576
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
1577
``do_end``. (Andrew Bennetts, #338561)
1579
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
1581
* Streaming from bzr servers where there is a chain of stacked branches
1582
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
1584
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
1585
always forces progress bars either on or off respectively. Otherwise,
1586
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
1587
bzr always uses the 'text' user interface when run as a command, so
1588
``BZR_USE_TEXT_UI`` is no longer needed.
1589
(Martin Pool, #339385, #387717)
1591
* The optional ``_knit_load_data_pyx`` C extension was never being
1592
imported. This caused significant slowdowns when reading data from
1593
repositories. (Andrew Bennetts, #405653)
1595
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
1596
supported at the moment on workingtree formats that can do content
1597
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
1598
bzr now says so, rather than just ignoring the option. (Martin Pool)
1600
* There was a bug in ``osutils.relpath`` that was only triggered on
1601
Windows. Essentially if you were at the root of a drive, and did
1602
something to a branch/repo on another drive, we would go into an
1603
infinite loop while trying to find a 'relative path'.
1604
(John Arbash Meinel, #394227)
1606
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
1607
were present in a parent tree but renamed in the working tree.
1608
(Robert Collins, #187207)
1613
* Can now rename/move files even if they have been removed from the inventory.
1616
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
1617
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
1618
than VFS methods. For example, pushes of small branches with tags take
1619
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
1621
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
1622
the same way that sending Ctrl-\\ does on other platforms.
1623
(John Arbash Meinel)
1628
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
1633
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
1634
need to subclass or create a specific class, or better yet the existing
1635
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
1636
user interaction at all, rather than trying to read from stdin but not
1637
writing any output, which would be strange if reading prompts or
1638
passwords. (Martin Pool)
1640
* New TransformPreview.commit() allows committing without a working tree.
1643
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
1646
* ProgressTasks now prefer to talk direct to their ProgressView not to the
1650
* ``WorkingTree._check`` now requires a references dict with keys matching
1651
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
1656
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
1657
reading the entries along the path, reducing work to lookup ids from
1658
paths. (Robert Collins)
1660
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
1661
as new a key which was already mapped. (Robert Collins)
1663
* Inventory delta application catches more cases of corruption and can
1664
prevent corrupt deltas from affecting consistency of data structures on
1665
disk. (Robert Collins)
1667
* --subunit support now adds timestamps if the subunit version supports
1668
it. (Robert Collins)
1670
* The Windows all-in-one installer now bundles the PyQt image format
1671
plugins, which allows previewing more images as part of 'qdiff'.
1672
(Alexander Belchenko)
1678
* Merge directive cherrypick tests must use the same root id.
1679
(Martin Pool, #409684)
1681
* Spurious failure in ``check`` tests on rich-root formats fixed.
1682
(Martin Pool, #408199)
1684
* The ``bzrlib.tests.TextTestRunner`` will no longer call
1685
``countTestsCases`` on the test being run. Progress information is
1686
instead handled by having the test passed in call ``result.progress``
1687
before running its contents. This improves the behaviour when using
1688
``TextTestRunner`` with test suites that don't support
1689
``countTestsCases``. (Robert Collins)
1692
bzr 1.17.1 (unreleased)
1693
#######################
1698
* The optional ``_knit_load_data_pyx`` C extension was never being
1699
imported. This caused significant slowdowns when reading data from
1700
knit format repositories. (Andrew Bennetts, #405653)
1705
:Codename: so-late-its-brunch
1706
:1.17rc1: 2009-07-13
1710
Bazaar continues to blaze a straight and shining path to the 2.0 release and
1711
the elevation of the ``2a`` beta format to the full glory of "supported and
1714
Highlights in this release include greatly reduced memory consumption during
1715
commits, faster ``ls``, faster ``annotate``, faster network operations if
1716
you're specifying a revision number and the final destruction of those
1717
annoying progress bar artifacts.
1720
Changes from 1.17rc1 to 1.17final
1721
*********************************
1723
* Change an extension to call the python ``frozenset()`` rather than the C
1724
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
1725
C api. (John Arbash Meinel, #399366)
1727
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
1728
``tools/generate_docs.py`` to allow everything to be built on Windows.
1729
(John Arbash Meinel, #399356)
1731
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
1732
directory before serving it. (Andrew Bennetts, #400535)
1735
Compatibility Breaks
1736
********************
1738
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
1739
instead of "product" which is the correct Launchpad terminology. The
1740
--product option is deprecated and users should switch to using --project.
1741
(Neil Martinsen-Burrell, #238764)
1747
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
1748
are present in the working tree (if one is present) and no revision is
1749
specified. The configuration option ``push_strict`` can be used to set the
1750
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
1752
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
1753
show revision info for the working tree instead of the branch.
1754
(Matthew Fuller, John Arbash Meinel)
1756
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
1757
are present in the working tree and no revision is specified. The
1758
configuration option ``send_strict`` can be used to set the default for this
1760
(Vincent Ladeuil, #206577)
1762
* ``bzr switch --create-branch/-b`` can now be used to create and switch
1763
to a new branch. Supplying a name without a ``/`` will create the branch
1764
relative to the existing branch. (similar to how ``bzr switch name``
1765
works when the branch already exists.) (John Arbash Meinel)
1771
* Accept uppercase "Y/N" to prompts such as from break lock.
1772
(#335182, Tim Powell, Martin Pool)
1774
* Add documentation about diverged branches and how to fix them in the
1775
centralized workflow with local commits. Mention ``bzr help
1776
diverged-branches`` when a push fails because the branches have
1777
diverged. (Neil Martinsen-Burrell, #269477)
1779
* Annotate would sometimes 'latch on' to trivial lines, causing important
1780
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
1782
* Automatic format upgrades triggered by default stacking policies on a
1783
1.16rc1 (or later) smart server work again.
1784
(Andrew Bennetts, #388675)
1786
* Avoid progress bar artifacts being left behind on the screen.
1787
(Martin Pool, #321935)
1789
* Better message in ``bzr split`` error suggesting a rich root format.
1790
(Neil Martinsen-Burrell, #220067)
1792
* ``Branch.set_append_revisions_only`` now works with branches on a smart
1793
server. (Andrew Bennetts, #365865)
1795
* By default, ``bzr branch`` will fail if the target directory exists, but
1796
does not already have a control directory. The flag ``--use-existing-dir``
1797
will allow operation to proceed. (Alexander Belchenko, #307554)
1799
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
1802
* Fetch between repositories does not error if they have inconsistent data
1803
that should be irrelevant to the fetch operation. (Aaron Bentley)
1805
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
1806
of a remote repository.
1807
(Jelmer Vernooij, #332194)
1809
* Fix bug in decoding v3 smart server messages when receiving multiple
1810
lots of excess bytes after an end-of-message.
1813
* Force deletion of readonly files during merge, update and other tree
1815
(Craig Hewetson, Martin Pool, #218206)
1817
* Force socket shutdown in threaded http test servers to avoid client hangs
1818
(pycurl). (Vincent Ladeuil, #383920).
1820
* ``LRUCache`` will maintain the linked list pointers even if a nodes
1821
cleanup function raises an exception. (John Arbash Meinel, #396838)
1823
* Progress bars are now suppressed again when the environment variable
1824
``BZR_PROGRESS_BAR`` is set to ``none``.
1825
(Martin Pool, #339385)
1827
* Reduced memory consumption during ``bzr commit`` of large files. For
1828
pre 2a formats, should be down to ~3x the size of a file.
1829
For ``--2a`` format repositories, it is down to the size of the file
1830
content plus the size of the compressed text. Related to bug #109114.
1831
(John Arbash Meinel)
1833
* Set hidden attribute on .bzr directory below unicode path should never
1834
fail with error. The operation should succeed even if bzr unable to set
1835
the attribute. (Alexander Belchenko, related to bug #335362).
1837
* Stacking will no longer accept requests to stack on the same
1838
branch/repository. Existing branches that incorrectly reference the same
1839
repository in a stacking configuration will now raise
1840
UnstackableLocationError when the branch is opened. This can be fixed by
1841
removing the stacking location inside ``.bzr/branch``.
1842
(Robert Collins, #376243)
1844
* The ``log+`` decorator, useful in debugging or profiling, could cause
1845
"AttributeError: 'list' object has no attribute 'next'". This is now
1846
fixed. The log decorator no longer shows the elapsed time or transfer
1847
rate because they're available in the log prefixes and the transport
1848
activity display respectively.
1849
(Martin Pool, #340347)
1851
* Unshelve works correctly when multiple zero-length files are present on
1852
the shelf. (Aaron Bentley, #363444)
1854
* Progress bars no longer show the network transport scheme or direction.
1857
* launchpad-login now respects the 'verbose' option.
1858
(Jonathan Lange, #217031)
1864
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
1865
possible to write a deprecation wrapper, but the variable will be
1866
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
1867
instead. (Alexander Belchenko)
1869
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
1870
three new hook points: ``get_command``, ``get_missing_command`` and
1871
``list_commands``, which allow just-in-time command name provision
1872
rather than requiring all command names be known a-priori.
1875
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
1876
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
1878
* ``graph.KnownGraph`` has been added. This is a class that can give
1879
answers to ``heads()`` very quickly. However, it has the assumption that
1880
the whole graph has already been loaded. This is true during
1881
``annotate`` so it is used there with good success (as much as 2x faster
1882
for files with long ancestry and 'cherrypicked' changes.)
1883
(John Arbash Meinel, Vincent Ladeuil)
1885
* OS file locks are now taken out using ``CreateFile`` rather than
1886
``LockFileEx`` on Windows. The locking remains exclusive with
1887
``LockFileEx`` but now it also works on older versions of Windows (such
1888
as Win98). (Martin <gzlist>)
1890
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
1891
than the ``Packer`` code. The user visible change is that we now
1892
properly fetch the minimum number of texts for non-smart fetching.
1893
(John Arbash Meinel)
1896
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
1897
the repository as a single string, rather than a list of lines. This can
1898
improve memory overhead and performance of committing large files.
1899
(Currently a private api, used only by commit). (John Arbash Meinel)
1905
* ``bzr annotate`` can now be significantly faster. The time for
1906
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
1907
histories and lots of 'duplicate insertions' will be improved more than
1908
others. (John Arbash Meinel, Vincent Ladeuil)
1910
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
1911
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
1912
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
1914
* Improve "Path(s) are not versioned" error reporting for some commands.
1917
* Initial commit performance in ``--2a`` repositories has been improved by
1918
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
1920
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
1921
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
1922
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
1924
* ``revision-info`` now properly aligns the revnos/revids in the output
1925
and doesn't traceback when given revisions not in the current branch.
1926
Performance is also significantly improved when requesting multiple revs
1927
at once. (Matthew Fuller, John Arbash Meinel)
1929
* Tildes are no longer escaped by Transports. (Andy Kilner)
1935
* Avoid bad text wrapping in generated documentation. Slightly better
1936
formatting in the user reference.
1937
(Martin Pool, #249908)
1939
* Minor clarifications to the help for End-Of-Line conversions.
1945
* Removed overspecific error class ``InvalidProgressBarType``.
1948
* The method ``ProgressView._show_transport_activity`` is now
1949
``show_transport_activity`` because it's part of the contract between
1950
this class and the UI. (Martin Pool)
1956
:Released: 2009-06-26
1958
End user testing of the 2a format revealed two serious bugs. The first,
1959
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
1960
This meant that commits or pushes to 2a-format repositories failed
1963
The second bug, #390563, caused the smart server to raise AbsentContentFactory
1964
when streaming 2a stacked 2a-format branches. This particularly affected
1965
branches stored on Launchpad in the 2a format.
1967
Both of these bugs cause command failures only, neither of them cause data
1968
corruption or data loss. And, of course, both of these bugs are now fixed.
1973
* We now properly request a more minimal set of file texts when fetching
1974
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
1976
* Repositories using CHK pages (which includes the new 2a format) will no
1977
longer error during commit or push operations when an autopack operation
1978
is triggered. (Robert Collins, #365615)
1980
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
1981
of referenced nodes rather than the *union* to determine what
1982
uninteresting pages we still need to look at. Prior to this,
1983
incrementally pushing to stacked branch would push the minimal data, but
1984
fetching everything would request extra texts. There are some unhandled
1985
cases wrt trees of different depths, but this fixes the common cases.
1986
(Robert Collins, John Arbash Meinel, #390563)
1988
* ``GroupCompress`` repositories now take advantage of the pack hints
1989
parameter to permit cross-format fetching to incrementally pack the
1990
converted data. (Robert Collins)
1992
* ``Repository.commit_write_group`` now returns opaque data about what
1993
was committed, for passing to the ``Repository.pack``. Repositories
1994
without atomic commits will still return None. (Robert Collins)
1996
* ``Repository.pack`` now takes an optional ``hint`` parameter
1997
which will support doing partial packs for repositories that can do
1998
that. (Robert Collins)
2000
* RepositoryFormat has a new attribute 'pack_compresses' which is True
2001
when doing a pack operation changes the compression of content in the
2002
repository. (Robert Collins)
2004
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
2005
``Repository.pack`` with the hint returned by
2006
``Repository.commit_write_group`` if the formats were different and the
2007
repository can increase compression by doing a pack operation.
2008
(Robert Collins, #376748)
2013
:Codename: yesterday-in-california
2014
:1.16rc1: 2009-06-11
2017
This version of Bazaar contains the beta release of the new ``2a`` repository
2018
format, suitable for testing by fearless, advanced users. This format or an
2019
updated version of it will become the default format in Bazaar 2.0. Please
2020
read the NEWS entry before even thinking about upgrading to the new format.
2022
Also included are speedups for many operations on huge projects, a bug fix for
2023
pushing stacked new stacked branches to smart servers and the usual bevy of
2024
bug fixes and improvements.
2027
Changes from 1.16rc1 to 1.16final
2028
*********************************
2030
* Fix the nested tree flag check so that upgrade from development formats to
2031
2a can work correctly.
2032
(Jelmer Vernooij, #388727)
2034
* Automatic format upgrades triggered by default stacking policies on a
2035
1.16rc1 (or later) smart server work again.
2036
(Andrew Bennetts, #388675)
2039
Compatibility Breaks
2040
********************
2042
* Display prompt on stderr (instead of stdout) when querying users so
2043
that the output of commands can be safely redirected.
2044
(Vincent Ladeuil, #376582)
2050
* A new repository format ``2a`` has been added. This is a beta release
2051
of the brisbane-core (aka group-compress) project. This format now
2052
suitable for wider testing by advanced users willing to deal with some
2053
bugs. We would appreciate test reports, either positive or negative.
2054
Format 2a is substantially smaller and faster for many operations on
2055
many trees. This format or an updated version will become the default
2058
This is a rich-root format, so this repository format can be used with
2059
bzr-svn. Bazaar branches in previous non-rich-root formats can be
2060
converted (including by merge, push and pull) to format 2a, but not vice
2061
versa. We recommend upgrading previous development formats to 2a.
2063
Upgrading to this format can take considerable time because it expands
2064
and more concisely repacks the full history.
2066
If you use stacked branches, you must upgrade the stacked branches
2067
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
2069
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
2070
but using a Revision serializer using bencode rather than XML.
2071
(Jelmer Vernooij, John Arbash Meinel)
2073
* mail_client=claws now supports --body (and message body hooks). Also uses
2074
configured from address. (Barry Warsaw)
2080
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
2081
bugs with stacking and non default formats.)
2082
(John Arbash Meinel, #373455)
2084
* ``--development6-rich-root`` delays generating a delta index for the
2085
first object inserted into a group. This has a beneficial impact on
2086
``bzr commit`` since each committed texts goes to its own group. For
2087
committing a 90MB file, it drops peak memory by about 200MB, and speeds
2088
up commit from 7s => 4s. (John Arbash Meinel)
2090
* Numerous operations are now faster for huge projects, i.e. those
2091
with a large number of files and/or a large number of revisions,
2092
particularly when the latest development format is used. These
2093
operations (and improvements on OpenOffice.org) include:
2095
* branch in a shared repository (2X faster)
2096
* branch --no-tree (100X faster)
2102
* Pyrex version of ``bencode`` support. This provides optimized support
2103
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
2104
``bzrlib.utils.bencode`` is now deprecated.
2105
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
2111
* Bazaar can now pass attachment files to the mutt email client.
2112
(Edwin Grubbs, #384158)
2114
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
2115
see which files can also be added. (Jason Spashett, #76616)
2117
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
2118
Also, the ``Branch.revision_history()`` API now works in the same
2119
situation. (Andrew Bennetts, #380314)
2121
* ``bzr serve`` on Windows no longer displays a traceback simply because a
2122
TCP client disconnected. (Andrew Bennetts)
2124
* Clarify the rules for locking and fallback repositories. Fix bugs in how
2125
``RemoteRepository`` was handling fallbacks along with the
2126
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
2128
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
2129
branch. Not often triggered, because it required ghosts to be part of
2130
the fetched revisions, not in the stacked-on ancestry.
2131
(John Arbash Meinel)
2133
* Fix status and commit to work with content filtered trees, addressing
2134
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
2136
* Fix problem of "directory not empty" when contending for a lock over
2137
sftp. (Martin Pool, #340352)
2139
* Fix rule handling so that eol is optional, not mandatory.
2140
(Ian Clatworthy, #379370)
2142
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
2143
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
2144
1.16, but required changes to the network protocol, so the
2145
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
2146
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
2147
still work with a 1.16 server as they will fallback to slower (and
2149
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
2151
* Reconcile can now deal with text revisions that originated in revisions
2152
that are ghosts. (Jelmer Vernooij, #336749)
2154
* Support cloning of branches with ghosts in the left hand side history.
2155
(Jelmer Vernooij, #248540)
2157
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
2158
helpful message to the trace file, unless the temp directory really was
2159
removed (which would be very strange). Since the diff operation has
2160
succeeded from the user's perspective, no output is written to stderr
2161
or stdout. (Maritza Mendez, #363837)
2163
* Translate errors received from a smart server in response to a
2164
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2165
This was causing tracebacks even for mundane errors like
2166
``PermissionDenied``. (Andrew Bennetts, #381329)
2171
* Added directory structure and started translation of docs in Russian.
2172
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
2173
Volodymyr Kotulskyi)
2178
* Added osutils.parent_directories(). (Ian Clatworthy)
2180
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
2181
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
2182
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
2184
* ``graph.StackedParentsProvider`` is now a public API, replacing
2185
``graph._StackedParentsProvider``. The api is now considered stable and ready
2186
for external users. (Gary van der Merwe)
2188
* ``bzrlib.user_encoding`` is deprecated in favor of
2189
``get_user_encoding``. (Alexander Belchenko)
2191
* TreeTransformBase no longer assumes that limbo is provided via disk.
2192
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
2197
* Remove ``weave.py`` script for accessing internals of old weave-format
2198
repositories. (Martin Pool)
2203
* ``make check`` no longer repeats the test run in ``LANG=C``.
2204
(Martin Pool, #386180)
2206
* The number of cores is now correctly detected on OSX. (John Szakmeister)
2208
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
2210
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
2215
:1.15rc1: 2009-05-16
2219
The smart server will no longer raise 'NoSuchRevision' when streaming content
2220
with a size mismatch in a reconstructed graph search. New command ``bzr
2221
dpush``. Plugins can now define their own annotation tie-breaker when two
2222
revisions introduce the exact same line.
2224
Changes from 1.15.1 to 1.15.2
2225
*****************************
2227
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
2228
(Alexander Belchenko)
2230
Changes from 1.15final to 1.15.1
2231
*********************************
2233
* Translate errors received from a smart server in response to a
2234
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2235
This was causing tracebacks even for mundane errors like
2236
``PermissionDenied``. (Andrew Bennetts, #381329)
2238
Changes from 1.15rc1 to 1.15final
2239
*********************************
2243
12
Compatibility Breaks
2244
13
********************