5
.. 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
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
97
whatever is written to it. This un-breaks some plugin tests that
98
depended on this behaviour.
99
(Martin Pool, #499757)
101
* The 2a format wasn't properly restarting autopacks when something
102
changed underneath it (like another autopack). Now concurrent
103
autopackers will properly succeed. (John Arbash Meinel, #495000)
105
* When operations update the working tree, all affected files should end
106
up with the same mtime. (eg. when versioning a generated file, if you
107
update the source and the generated file together, the generated file
108
should appear up-to-date.)
109
(John Arbash Meinel, Martin <gzlist>, #488724)
114
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
115
All the builtin commands now use ``add_cleanup`` rather than
116
``try``/``finally`` blocks where applicable as it is simpler and more
117
robust. (Andrew Bennetts)
119
* Push will now inform the user when they are trying to push to a foreign
120
VCS for which roundtripping is not supported, and will suggest them to
121
use dpush. (Jelmer Vernooij)
123
* The version of bzr being run is now written to the log file.
126
* Transport network activity indicator is shown more of the time when
127
Bazaar is doing network IO.
133
* Improved help for ``bzr send``.
134
(Martin Pool, Bojan Nikolic)
136
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
137
including discussions of installation, relevant plugins, security and
138
backup. (Neil Martinsen-Burrell)
140
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
143
* The User Reference is now presented as a series of topics.
144
Many of the included topics have link and format tweaks applied.
150
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
151
to be consistent with instances being lower case and classes being
152
CamelCase. For the features that were more likely to be used, we added a
153
deprecation thunk, but not all. (John Arbash Meinel)
155
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
156
by plugins - the original exceptions are now preserved. (Robert Collins)
158
* The Transport ``Server.tearDown`` method is now renamed to
159
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
160
our normal naming pattern, and to avoid confusion with Python's
161
``TestCase.tearDown``. (Martin Pool)
163
* ``WorkingTree.update`` implementations must now accept a ``revision``
169
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
170
objects but passes str objects straight through. This is used for
171
selftest but may be useful for diff and other operations that generate
172
mixed output. (Robert Collins)
174
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
175
plugins. (Jelmer Vernooij)
180
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
181
running all tests in the current module, once against a pure python
182
implementation, and once against an extension (pyrex/C) implementation.
183
It can be used to dramatically simplify the implementation of
184
``load_tests``. (John Arbash Meinel)
186
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
187
This permits features in testtools such as getUniqueInteger and
188
getUniqueString to be used. Because of this, testtools version 0.9.2 or
189
newer is now a dependency to run bzr selftest. Running with versions of
190
testtools less than 0.9.2 will cause bzr to error while loading the test
191
suite. (Robert Collins)
193
* Shell-like tests now support the command "mv" for moving files. The
194
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
195
supported. (Neil Martinsen-Burrell)
197
* The test progress bar no longer distinguishes tests that 'errored' from
198
tests that 'failed' - they're all just failures.
201
bzr 2.0.4 (not released yet)
202
############################
205
:2.0.4: smooth sailing
216
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
217
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
219
* ``bzr export dir`` now requests all file content as a record stream,
220
rather than requsting the file content one file-at-a-time. This can make
221
exporting over the network significantly faster (54min => 9min in one
222
case). (John Arbash Meinel, #343218)
224
* ``bzr serve`` no longer slowly leaks memory. The compiled
225
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
226
free resources, and it should have been using ``__dealloc__``.
227
This will likely have an impact on any other process that is serving for
228
an extended period of time. (John Arbash Meinel, #494406)
230
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
231
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
232
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
234
* Give a clearer message if the lockdir disappears after being apparently
235
successfully taken. (Martin Pool, #498378)
237
* Give a warning when fetching between local repositories with
238
sufficiently different formats that the content will need to be
239
serialized (ie ``InterDifferingSerializer``) so the user has a clue that
240
upgrading could make it faster.
241
(Martin Pool, #456077)
243
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
244
than using ``warning()``. The log file is opened before logging is set
245
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
246
users, rather than something nicer.
247
(John Arbash Meinel, Barry Warsaw, #503886)
249
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
250
(Martin Pool, John Arbash Meinel, #449372)
252
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
253
build. (there is still the distutils bug
254
http://bugs.python.org/issue644744) (Joe Julian, #175839)
256
* The 2a format wasn't properly restarting autopacks when something
257
changed underneath it (like another autopack). Now concurrent
258
autopackers will properly succeed. (John Arbash Meinel, #495000)
260
* ``TreeTransform`` can now handle when a delta says that the file id for
261
the tree root changes. Rather than trying to rename your working
262
directory, or failing early saying that you can't have multiple
263
tree roots. This also fixes revert, update, and pull when the root id
264
changes. (John Arbash Meinel, #494269, #504390)
266
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
267
the right time will get propagated, rather than silently failing to move
268
the block pointer. (John Arbash Meinel, Gareth White, #495023)
285
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
286
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
287
rather than an ``except ?:`` clause.) This should help prevent bugs like
288
bug #495023. (John Arbash Meinel)
294
:Codename: san francisco airport
297
The fourth beta release in the 2.1 series brings with it a significant
298
number of bugfixes (~20). The test suite is once again (finally) "green"
299
on Windows, and should remain that way for future releases. There are a
300
few performance related updates (faster upgrade and log), and several UI
301
tweaks. There has also been a significant number of tweaks to the runtime
302
documentation. 2.1.0b4 include everything from the 2.0.3 release.
308
* The BZR_SSH environmental variable may now be set to the path of a secure
309
shell client. If currently set to the value ``ssh`` it will now guess the
310
vendor of the program with that name, to restore the old behaviour that
311
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
312
string. (Martin <gzlist@googlemail.com>, #176292)
317
* ``bzr commit`` now has a ``--commit-time`` option.
318
(Alexander Sack, #459276)
320
* ``-Dhpss`` now increases logging done when run on the bzr server,
321
similarly to how it works on the client. (John Arbash Meinel)
323
* New option ``bzr unshelve --keep`` applies the changes and leaves them
324
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
326
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
327
respect a given terminal width. This can be useful when output is
328
redirected or in obscure cases where the default value is not
329
appropriate. Pagers can use it to get a better control of the line
333
* The new command ``bzr lp-mirror`` will request that Launchpad update its
334
mirror of a local branch. This command will only function if launchpadlib
342
* After renaming a file, the dirstate could accidentally reference
343
``source\\path`` rather than ``source/path`` on Windows. This might be a
344
source of some dirstate-related failures. (John Arbash Meinel)
346
* ``bzr commit`` now detects commit messages that looks like file names
347
and issues a warning.
348
(Gioele Barabucci, #73073)
350
* ``bzr ignore /`` no longer causes an IndexError. (Gorder Tyler, #456036)
352
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
353
(#325618, #484109, Marius Kruger)
355
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
356
files with conflicts (similar to ``--merge3``). The contents of the file
357
is a synthesis of all bases used for the merge.
358
(John Arbash Meinel, #40412)
360
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
362
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
363
(Robert Collins, #84659)
365
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
367
* Fix bug with redirected URLs over authenticated HTTP.
368
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
370
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
372
* Lots of bugfixes for the test suite on Windows. We should once again
373
have a test suite with no failures on Windows. (John Arbash Meinel)
375
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
376
variable but returns None if the terminal is not a tty (when output is
377
redirected for example). Also fixes its usage under OSes that doesn't
378
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
380
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
381
(John Arbash Meinel, Vincent Ladeuil, #492561)
383
* Terminate ssh subprocesses when no references to them remain, fixing
384
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
386
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
387
works for 2a format trees. Only files unaffected by content filters
388
will be hardlinked. (Andrew Bennetts, #408193)
390
* The new glob expansion on Windows would replace all ``\`` characters
391
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
392
etc. Now only change slashes if there is something being glob expanded.
393
(John Arbash Meinel, #485771)
395
* Use our faster ``KnownGraph.heads()`` functionality when computing the
396
new rich-root heads. This can cut a conversion time in half (mysql from
397
13.5h => 6.2h) (John Arbash Meinel, #487632)
399
* When launching a external diff tool via bzr diff --using, temporary files
400
are no longer created, rather, the path to the file in the working tree is
401
passed to the external diff tool. This allows the file to be edited if the
402
diff tool provides for this. (Gary van der Merwe, #490738)
404
* The launchpad-open command can now be used from a subdirectory of a
405
branch, not just from the root of the branch.
406
(Neil Martinsen-Burrell, #489102)
412
* ``bzr log`` is now faster. (Ian Clatworthy)
414
* ``bzr update`` provides feedback on which branch it is up to date with.
415
(Neil Martinsen-Burrell)
417
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
418
For details see the xml8 patch and heads() improvements.
421
* ``bzrlib.urlutils.local_path_from_url`` now accepts
422
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
425
* The progress bar now shows only a spinner and per-operation counts,
426
not an overall progress bar. The previous bar was often not correlated
427
with real overall operation progress, either because the operations take
428
nonlinear time, or because at the start of the operation Bazaar couldn't
429
estimate how much work there was to do. (Martin Pool)
434
* Lots of documentation tweaks for inline help topics and command help
440
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
442
* The Launchpad plugin now has a function ``login`` which will log in to
443
Launchpad with launchpadlib, and ``load_branch`` which will return the
444
Launchpad Branch object corresponding to a given Bazaar Branch object.
450
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
451
easier to handle what tests you want to run based on what modules can be
452
imported. (Rather than lots of custom-implemented features that were
453
basically copy-and-pasted.) (John Arbash Meinel)
455
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
456
``time.clock()`` when you want to do performance timing.
457
``time.time()`` is limited to 15ms resolution on Windows, but
458
``time.clock()`` gives CPU and not wall-clock time on other platforms.
461
* Several code paths that were calling ``Transport.get().read()`` have
462
been changed to the equalivent ``Transport.get_bytes()``. The main
463
difference is that the latter will explicitly call ``file.close()``,
464
rather than expecting the garbage collector to handle it. This helps
465
with some race conditions on Windows during the test suite and sftp
466
tests. (John Arbash Meinel)
471
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
472
unicode strings. (Michael Hudson, #464174)
478
:Codename: little italy
482
The third stable release of Bazaar has a small handful of bugfixes. As
483
expected, this has no internal or external compatibility changes versus
489
* ``bzr push --use-existing-dir`` no longer crashes if the directory
490
exists but contains an invalid ``.bzr`` directory.
491
(Andrew Bennetts, #423563)
493
* Content filters are now applied correctly after pull, merge and switch.
494
(Ian Clatworthy, #385879)
496
* Fix a potential segfault in the groupcompress hash map handling code.
497
When inserting new entries, if the final hash bucket was empty, we could
498
end up trying to access if ``(last_entry+1)->ptr == NULL``.
499
(John Arbash Meinel, #490228)
501
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
507
:Codename: after sprint recovery
510
This release was pushed up from its normal release cycle due to a
511
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
512
was caught before 2.1.0b2 was officially announced, the full changelog
513
includes both 2.1.0b3 and 2.1.0b2 changes.
515
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
516
the test suite now conforms to python's trunk enhanced semantics (skip,
517
etc.), and ``bzr info -v`` will now report the correct branch and repo
518
formats for Remote objects.
524
* Users can define a shelve editor to provide shelf functionality at a
525
granularity finer than per-patch-hunk. (Aaron Bentley)
530
* Fix for shell completion and short options. (Benoît PIERRE)
532
* Hooks daughter classes should always call the base constructor.
533
(Alexander Belchenko, Vincent Ladeuil, #389648)
535
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
537
* On Windows, do glob expansion at the command-line level (as is usually
538
done in bash, etc.) This means that *all* commands get glob expansion
539
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
540
parser, which allows us to know if a given section was quoted. It means
541
you can now do ``bzr ignore "*.py"``.
542
(John Arbash Meinel, #425510, #426410, #194450)
544
* Sanitize commit messages that come in from the '-m' flag. We translate
545
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
546
allow those because XML store silently translate it anyway. (The parser
547
auto-translates \r\n => \n in ways that are hard for us to catch.)
549
* Show correct branch and repository format descriptions in
550
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
552
* The fix for bug #186920 accidentally broke compatibility with python
553
2.4. (Vincent Ladeuil, #475585)
555
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
556
correctly sets ``self.inv_sha1`` to a sha1 string and
557
``self.new_inventory`` to an Inventory instance after calling
558
``self.finish_inventory()``. (Previously it accidently set both values
559
as a tuple on ``self.inv_sha1``. This was missed because
560
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
561
the sha1 from the repo directly. (John Arbash Meinel)
563
* Shelve command refuse to run if there is no real terminal.
564
(Alexander Belchenko)
566
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
567
Python level. (Martin Pool)
572
* Include Japanese translations for documentation (Inada Naoki)
574
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
575
(rather than user-interaction) data to stdout. This automatically
576
coordinates with progress bars or other terminal activity, and can be
578
(Martin Pool, 493944)
583
* Some of the core groupcompress functionality now releases the GIL before
584
operation. Similar to how zlib and bz2 operate without the GIL in the
585
core compression and decompression routines. (John Arbash Meinel)
590
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
591
more debugging of VFS access triggers. (Robert Collins)
593
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
594
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
596
* ``--parallel=fork`` is now compatible with --subunit.
597
(Robert Collins, Vincent Ladeuil, #419776)
599
* TestNotApplicable is now handled within the TestCase.run method rather
600
than being looked for within ``ExtendedTestResult.addError``. This
601
provides better handling with other ``TestResult`` objects, degrading to
602
sucess rather than error. (Robert Collins)
604
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
605
removed - it was empty and unused. (Robert Collins)
607
* UnavailableFeature is now handled within the TestCase.run method rather
608
than being looked for within addError. If the Result object does not
609
have an addNotSupported method, addSkip is attempted instead, and
610
failing that addSuccess. (Robert Collins)
612
* When a TestResult does not have an addSkip method, skipped tests are now
613
reported as successful tests, rather than as errors. This change is
614
to make it possible to get a clean test run with a less capable
615
TestResult. (Robert Collins)
622
:Codename: a load off my mind
625
This is our second feature-filled release since 2.0, pushing us down the
626
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
628
Key highlights in this release are: improved handling of
629
failures-during-cleanup for commit, fixing a long-standing bug with
630
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
631
behind proxies, and a new StaticTuple datatype, allowing us to reduce
632
memory consumption (50%) and garbage collector overhead (40% faster) for
635
* A new ``--concurrency`` option has been added as well as an associated
636
BZR_CONCURRENCY environment variable to specify the number of
637
processes that can be run concurrently when running ``bzr selftest``. The
638
command-line option overrides the environment variable if both are
639
specified. If none is specified. the number of processes is obtained
640
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
645
* ``bzr+http`` servers no longer give spurious jail break errors when
646
serving branches inside a shared repository. (Andrew Bennetts, #348308)
648
* Errors during commit are handled more robustly so that knock-on errors
649
are less likely to occur, and will not obscure the original error if
650
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
651
and similar errors. (Andrew Bennetts, #429747, #243391)
653
* Launchpad urls can now be resolved from behind proxies.
654
(Gordon Tyler, Vincent Ladeuil, #186920)
656
* Reduce the strictness for StaticTuple, instead add a debug flag
657
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
658
This way, most users won't see failures, but developers can improve
659
internals. (John Arbash Meinel, #471193)
661
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
662
files. (Aaron Bentley)
664
* Unicode paths are now handled correctly and consistently by the smart
665
server. (Andrew Bennetts, Michael Hudson, #458762)
670
* When reading index files, we now use a ``StaticTuple`` rather than a
671
plain ``tuple`` object. This generally gives a 20% decrease in peak
672
memory, and can give a performance boost up to 40% on large projects.
675
* Peak memory under certain operations has been reduced significantly.
676
(eg, 'bzr branch launchpad standalone' is cut in half)
682
* Filtered views user documentation upgraded to refer to format 2a
683
instead of pre-2.0 formats. (Ian Clatworthy)
688
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
690
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
691
``show_warning`` methods, which can be hooked by non-text UIs.
697
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
698
Dict (it only holds keys, but you can lookup the object located at a
699
given key). It has significantly reduced memory consumption versus the
700
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
701
used as the interning structure for StaticTuple objects.
704
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
705
the btree index parser and the chk map parser. This class functions
706
similarly to ``tuple`` objects. However, it can only point to a limited
707
collection of types. (Currently StaticTuple, str, unicode, None, bool,
708
int, long, float, but not subclasses). This allows us to remove it from
709
the garbage collector (it cannot be in a cycle), it also allows us to
710
intern the objects. In testing, this can reduce peak memory by 20-40%,
711
and significantly improve performance by removing objects from being
712
inspected by the garbage collector. (John Arbash Meinel)
714
* ``GroupCompressBlock._ensure_content()`` will now release the
715
``zlib.decompressobj()`` when the first request is for all of the
716
content. (Previously it would only be released if you made a request for
717
part of the content, and then all of it later.) This turns out to be a
718
significant memory savings, as a ``zstream`` carries around approx 260kB
719
of internal state and buffers. (For branching bzr.dev this drops peak
720
memory from 382MB => 345MB.) (John Arbash Meinel)
722
* When streaming content between ``2a`` format repositories, we now clear
723
caches from earlier versioned files. (So 'revisions' is cleared when we
724
start reading 'inventories', etc.) This can have a significant impact on
725
peak memory for initial copies (~200MB). (John Arbash Meinel)
731
:Codename: after the scare
734
The second in our "let's keep the stable bugfixes flowing" series. As
735
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
741
* Avoid "NoneType has no attribute st_mode" error when files disappear
742
from a directory while it's being read. (Martin Pool, #446033)
744
* Content filters are now applied correctly after revert.
747
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
749
* Fetching from stacked pre-2a repository via a smart server no longer
750
fails intermittently with "second push failed to complete".
751
(Andrew Bennetts, #437626)
753
* Fix typos left after test_selftest refactoring.
754
(Vincent Ladeuil, Matt Nordhoff, #461149)
756
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
757
(Andrew Bennetts, #445171)
759
* PreviewTree file names are not limited by the encoding of the temp
760
directory's filesystem. (Aaron Bentley, #436794)
765
* ``bzr log`` now read-locks branches exactly once, so makes better use of
766
data caches. (Andrew Bennetts)
771
* Filtered views user documentation upgraded to refer to format 2a
772
instead of pre-2.0 formats. (Ian Clatworthy)
778
:Codename: While the cat is away
781
This is the first development release in the new split "stable" and
782
"development" series. As such, the release is a snapshot of bzr.dev
783
without creating a release candidate first. This release includes a
784
fair amount of internal changes, with deprecated code being removed,
785
and several new feature developments. People looking for a stable code
786
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
787
present in 2.0.1 are present in 2.1.0b1.
789
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
790
finer control over the plugin search path via extended BZR_PLUGIN_PATH
791
syntax, visible warnings when extension modules fail to load, and improved
792
error handling during unlocking.
798
* Bazaar can now send mail through Apple OS X Mail.app.
801
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
802
specified in the URL. Paths starting with a path segment of ``~`` are
803
relative to the home directory of the user running the server, and paths
804
starting with ``~user`` are relative to the home directory of the named
805
user. For example, for a user "bob" with a home directory of
806
``/home/bob``, these URLs are all equivalent:
808
* ``bzr+ssh://bob@host/~/repo``
809
* ``bzr+ssh://bob@host/~bob/repo``
810
* ``bzr+ssh://bob@host/home/bob/repo``
812
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
813
home directories outside that directory will be accessible via this
816
This is a feature of ``bzr serve``, so pre-2.1 clients will
817
automatically benefit from this feature when ``bzr`` on the server is
818
upgraded. (Andrew Bennetts, #109143)
820
* Extensions can now be compiled if either Cython or Pyrex is available.
821
Currently Pyrex is preferred, but that may change in the future.
824
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
825
disable the user, site and core plugin directories.
826
(Vincent Ladeuil, #412930, #316192, #145612)
831
* Bazaar's native protocol code now correctly handles EINTR, which most
832
noticeably occurs if you break in to the debugger while connected to a
833
bzr+ssh server. You can now can continue from the debugger (by typing
834
'c') and the process continues. However, note that pressing C-\ in the
835
shell may still kill the SSH process, which is bug 162509, so you must
836
sent a signal to the bzr process specifically, for example by typing
837
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
839
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
840
filename will issue a warning and skip over those files.
841
(Robert Collins, #3918)
843
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
844
are present in the working tree. The configuration option ``dpush_strict``
845
can be used to set the default for this behavior.
846
(Vincent Ladeuil, #438158)
848
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
849
merges are present in the working tree.
850
(Vincent Ladeuil, #426344)
852
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
853
traceback. (Martin Pool, #109115)
855
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
856
as it is never built. (John Arbash Meinel, #430645)
858
* Don't restrict the command name used to run the test suite.
859
(Vincent Ladeuil, #419950)
861
* ftp transports were built differently when the kerberos python module was
862
present leading to obscure failures related to ASCII/BINARY modes.
863
(Vincent Ladeuil, #443041)
865
* Network streams now decode adjacent records of the same type into a
866
single stream, reducing layering churn. (Robert Collins)
868
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
869
file. (Aaron Bentley, #251532)
871
* Registry objects should not use iteritems() when asked to use items().
872
(Vincent Ladeuil, #430510)
874
* Weave based repositories couldn't be cloned when committers were using
875
domains or user ids embedding '.sig'. Now they can.
876
(Matthew Fuller, Vincent Ladeuil, #430868)
881
* Revision specifiers can now be given in a more DWIM form, without
882
needing explicit prefixes for specifiers like tags or revision id's.
883
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
885
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
886
compiled extensions can't be loaded. This typically indicates a
887
packaging or installation problem. In this case Bazaar will keep
888
running using pure-Python versions, but this may be substantially
889
slower. The warning can be disabled by setting
890
``ignore_missing_extensions = True`` in ``bazaar.conf``.
891
See also <https://answers.launchpad.net/bzr/+faq/703>.
892
(Martin Pool, #406113, #430529)
894
* Secondary errors that occur during Branch.unlock and Repository.unlock
895
no longer obscure the original error. These methods now use a new
896
decorator, ``only_raises``. This fixes many causes of
897
``TooManyConcurrentRequests`` and similar errors.
898
(Andrew Bennetts, #429747)
903
* Describe the new shell-like test feature. (Vincent Ladeuil)
905
* Help on hooks no longer says 'Not deprecated' for hooks that are
906
currently supported. (Ian Clatworthy, #422415)
911
* ``bzrlib.user_encoding`` has been removed; use
912
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
914
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
915
subclasses - the same as python's unittest module. (Robert Collins)
917
* ``diff._get_trees_to_diff`` has been renamed to
918
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
919
returns the old and new branches. (Gary van der Merwe)
921
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
924
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
925
now defaults to comparing to the basis tree. It now checks for pending
926
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
927
corresponding has_changes() calls. ``Merge.compare_basis``,
928
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
930
(Vincent Ladeuil, #440631)
932
* ``ProgressTask.note`` is deprecated.
938
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
939
repository or branch object is unlocked then relocked the same way.
942
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
943
mallocs while parsing the index (approx 3=>1 mallocs per key read).
944
This results in a 10% speedup while reading an index.
947
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
948
profiling in some situations like callbacks and generators easier.
954
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
955
be output for every test. Note that this is very verbose! (Robert Collins)
957
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
958
post_mortem to be triggered when a test failure occurs. (Robert Collins)
960
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
961
documentation in ``developers/testing.txt`` for details.
964
* Some tests could end up with the same id, that was dormant for
966
(Vincent Ladeuil, #442980)
968
* Stop showing the number of tests due to missing features in the test
969
progress bar. (Martin Pool)
971
* Test parameterisation now does a shallow copy, not a deep copy of the test
972
to be parameterised. This is not expected to break external use of test
973
parameterisation, and is substantially faster. (Robert Collins)
975
* Tests that try to open a bzr dir on an arbitrary transport will now
976
fail unless they have explicitly permitted the transport via
977
``self.permit_url``. The standard test factories such as ``self.get_url``
978
will permit the urls they provide automatically, so only exceptional
979
tests should need to do this. (Robert Collins)
981
* The break-in test no longer cares about clean shutdown of the child,
982
instead it is happy if the debugger starts up. (Robert Collins)
984
* The full test suite is expected to pass when the C extensions are not
985
present. (Vincent Ladeuil, #430749)
991
:Codename: Stability First
994
The first of our new ongoing bugfix-only stable releases has arrived. It
995
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
996
include any of the feature development in the 2.1.0 series.
1002
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1003
filename will issue a warning and skip over those files.
1004
(Robert Collins, #3918)
1006
* bzr will attempt to authenticate with SSH servers that support
1007
``keyboard-interactive`` auth but not ``password`` auth when using
1008
Paramiko. (Andrew Bennetts, #433846)
1010
* Fixed fetches from a stacked branch on a smart server that were failing
1011
with some combinations of remote and local formats. This was causing
1012
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
1014
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
1015
on branches via a smart server. (Andrew Bennetts, #389413)
1017
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
1018
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
1019
assumed that ``abspath()`` returned a path that did not have a trailing
1020
``/``, but that is not true when working at the root of the filesystem.
1021
(John Arbash Meinel, Jason Spashett, #322807)
1023
* Hide deprecation warnings for 'final' releases for python2.6.
1024
(John Arbash Meinel, #440062)
1026
* Improve the time for ``bzr log DIR`` for 2a format repositories.
1027
We had been using the same code path as for <2a formats, which required
1028
iterating over all objects in all revisions.
1029
(John Arbash Meinel, #374730)
1031
* Make sure that we unlock the tree if we fail to create a TreeTransform
1032
object when doing a merge, and there is limbo, or pending-deletions
1033
directory. (Gary van der Merwe, #427773)
1035
* Occasional IndexError on renamed files have been fixed. Operations that
1036
set a full inventory in the working tree will now go via the
1037
apply_inventory_delta code path which is simpler and easier to
1038
understand than dirstates set_state_from_inventory method. This may
1039
have a small performance impact on operations built on _write_inventory,
1040
but such operations are already doing full tree scans, so no radical
1041
performance change should be observed. (Robert Collins, #403322)
1043
* Retrieving file text or mtime from a _PreviewTree has good performance when
1044
there are many changes. (Aaron Bentley)
1046
* The CHK index pages now use an unlimited cache size. With a limited
1047
cache and a large project, the random access of chk pages could cause us
1048
to download the entire cix file many times.
1049
(John Arbash Meinel, #402623)
1051
* When a file kind becomes unversionable after being added, a sensible
1052
error will be shown instead of a traceback. (Robert Collins, #438569)
1057
* Improved README. (Ian Clatworthy)
1059
* Improved upgrade documentation for Launchpad branches.
1067
:Codename: Instant Karma
1069
This release of Bazaar makes the 2a (previously 'brisbane-core') format
1070
the default when new branches or repositories are created. This format is
1071
substantially smaller and faster for many operations. Most of the work in
1072
this release focuses on bug fixes and stabilization, covering both 2a and
1073
previous formats. (See the Upgrade Guide for information on migrating
1076
This release also improves the documentation content and presentation,
1077
including adding Windows HtmlHelp manuals.
1079
The Bazaar team decided that 2.0 will be a long-term supported release,
1080
with bugfix-only 2.0.x releases based on it, continuing for at least six
1081
months or until the following stable release.
1083
Changes from 2.0.0rc2 to final
1084
******************************
1086
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
1087
that "want to happen on the 2.0.x stable series" versus things that want
1088
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1089
micro = 0.) (John Arbash Meinel)
1095
:2.0.0rc2: 2009-09-10
1100
* Added post_commit hook for mutable trees. This allows the keywords
1101
plugin to expand keywords on files changed by the commit.
1102
(Ian Clatworthy, #408841)
1107
* Bazaar's native protocol code now correctly handles EINTR, which most
1108
noticeably occurs if you break in to the debugger while connected to a
1109
bzr+ssh server. You can now can continue from the debugger (by typing
1110
'c') and the process continues. However, note that pressing C-\ in the
1111
shell may still kill the SSH process, which is bug 162509, so you must
1112
sent a signal to the bzr process specifically, for example by typing
1113
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1115
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
1116
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
1117
(Robert Collins, #416732)
1119
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
1120
format" (John Arbash Meinel, #424392)
1122
* ``bzr log stacked-branch`` shows the full log including
1123
revisions that are in the fallback repository. (Regressed in 2.0rc1).
1124
(John Arbash Meinel, #419241)
1126
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1127
traceback. (Martin Pool, #109115)
1129
* Conversion to 2a will create a single pack for all the new revisions (as
1130
long as it ran without interruption). This improves both ``bzr upgrade``
1131
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
1132
The autopack logic that occurs every 100 revisions during local
1133
conversions was not returning that pack's identifier, which resulted in
1134
the partial packs created during the conversion not being consolidated
1135
at the end of the conversion process. (Robert Collins, #423818)
1137
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
1138
Groups that are seen as 'underutilized' will be repacked on-the-fly.
1139
This means that when the source is fully packed, there is minimal
1140
overhead during the fetch, but if the source is poorly packed the result
1141
is a fairly well packed repository (not as good as 'bzr pack' but
1142
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
1144
* Fix a potential segmentation fault when doing 'log' of a branch that had
1145
ghosts in its mainline. (Evaluating None as a tuple is bad.)
1146
(John Arbash Meinel, #419241)
1148
* ``groupcompress`` sort order is now more stable, rather than relying on
1149
``topo_sort`` ordering. The implementation is now
1150
``KnownGraph.gc_sort``. (John Arbash Meinel)
1152
* Local data conversion will generate correct deltas. This is a critical
1153
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
1154
converting repositories. (Robert Collins, #422849)
1156
* Network streams now decode adjacent records of the same type into a
1157
single stream, reducing layering churn. (Robert Collins)
1159
* Prevent some kinds of incomplete data from being committed to a 2a
1160
repository, such as revisions without inventories, a missing chk_bytes
1161
record for an inventory, or a missing text referenced by an inventory.
1162
(Andrew Bennetts, #423506, #406687)
1167
* Fix assertion error about "_remember_remote_is_before" when pushing to
1168
older smart servers.
1169
(Andrew Bennetts, #418931)
1171
* Help on hooks no longer says 'Not deprecated' for hooks that are
1172
currently supported. (Ian Clatworthy, #422415)
1174
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
1175
user documentation. The HTML documentation is better broken up into
1176
topics. (Ian Clatworthy)
1178
* The developer and foreign language documents are now separated
1179
out so that searching in the HTML and CHM files produces more
1180
useful results. (Ian Clatworthy)
1182
* The main table of contents now provides links to the new Migration Docs
1183
and Plugins Guide. (Ian Clatworthy)
1189
:Codename: no worries
1190
:2.0.0rc1: 2009-08-26
1192
Compatibility Breaks
1193
********************
1195
* The default format for bzr is now ``2a``. This format brings many
1196
significant performance and size improvements. bzr can pull from
1197
any existing repository into a ``2a`` one, but can only transfer
1198
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
1199
has more information about this change. (Robert Collins)
1201
* On Windows auto-detection of Putty's plink.exe is disabled.
1202
Default SSH client for Windows is paramiko. User still can force
1203
usage of plink if explicitly set environment variable BZR_SSH=plink.
1204
(#414743, Alexander Belchenko)
1209
* ``bzr branch --switch`` can now switch the checkout in the current directory
1210
to the newly created branch. (Lukáš Lalinský)
1215
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1216
(Jason Spashett, #76616)
1218
* Fetches were being requested in 'groupcompress' order, but weren't
1219
recombining the groups. Thus they would 'fragment' to get the correct
1220
order, but not 'recombine' to actually benefit from it. Until we get
1221
recombining to work, switching to 'unordered' fetches avoids the
1222
fragmentation. (John Arbash Meinel, #402645)
1224
* Fix a pycurl related test failure on karmic by recognizing an error
1225
raised by newer versions of pycurl.
1226
(Vincent Ladeuil, #306264)
1228
* Fix a test failure on karmic by making a locale test more robust.
1229
(Vincent Ladeuil, #413514)
1231
* Fix IndexError printing CannotBindAddress errors.
1232
(Martin Pool, #286871)
1234
* Fix "Revision ... not present" errors when upgrading stacked branches,
1235
or when doing fetches from a stacked source to a stacked target.
1236
(Andrew Bennetts, #399140)
1238
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
1239
batches together small fetches from 2a repositories, rather than
1240
fetching only a few hundred bytes at a time.
1241
(Andrew Bennetts, #402657)
1246
* A better description of the platform is shown in crash tracebacks, ``bzr
1247
--version`` and ``bzr selftest``.
1248
(Martin Pool, #409137)
1250
* bzr can now (again) capture crash data through the apport library,
1251
so that a single human-readable file can be attached to bug reports.
1252
This can be disabled by using ``-Dno_apport`` on the command line, or by
1253
putting ``no_apport`` into the ``debug_flags`` section of
1255
(Martin Pool, Robert Collins, #389328)
1257
* ``bzr push`` locally on windows will no longer give a locking error with
1258
dirstate based formats. (Robert Collins)
1260
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
1261
(Robert Collins, #305006)
1263
* Commit of specific files no longer prevents using the iter_changes
1264
codepath. On 2a repositories, commit of specific files should now be as
1265
fast, or slightly faster, than a full commit. (Robert Collins)
1267
* The internal core code that handles specific file operations like
1268
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
1269
include the parent directories if they have altered, and when a
1270
directory stops being a directory its children are always included. This
1271
fixes a number of causes for ``InconsistentDelta`` errors, and permits
1272
faster commit of specific paths. (Robert Collins, #347649)
1277
* New developer documentation for content filtering.
1283
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
1284
classes changed to manage lock lifetime of the trees they open in a way
1285
consistent with reader-exclusive locks. (Robert Collins, #305006)
1293
:Codename: nein nein nein!
1296
This release fixes two small but worthwhile bugs relevant to users on
1297
Microsoft Windows: some commands that failed on with locking errors will
1298
now work, and a bug that caused poor performance after committing a file
1299
with line-ending conversion has now been fixed. It also fixes a bug in
1300
pushing to older servers.
1305
* Fixed a problem where using content filtering and especially end-of-line
1306
conversion will commit too many copies a file.
1307
(Martin Pool, #415508)
1309
* Fix assertion error about ``_remember_remote_is_before`` in
1310
``set_tags_bytes`` when pushing to older smart servers.
1311
(Andrew Bennetts, Alexander Belchenko, #418931)
1316
* ``bzr push`` locally on Windows will no longer give a locking error with
1317
dirstate based formats. (Robert Collins)
1319
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
1320
(Robert Collins, #305006)
1325
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
1326
classes changed to manage lock lifetime of the trees they open in a way
1327
consistent with reader-exclusive locks. (Robert Collins, #305006)
1329
* ``Tree.path_content_summary`` may return a size of None, when called on
1330
a tree with content filtering where the size of the canonical form
1331
cannot be cheaply determined. (Martin Pool)
1333
* When manually creating transport servers in test cases, a new helper
1334
``TestCase.start_server`` that registers a cleanup and starts the server
1335
should be used. (Robert Collins)
1340
Compatibility Breaks
1341
********************
1343
* Committing directly to a stacked branch from a lightweight checkout will
1344
no longer work. In previous versions this would appear to work but would
1345
generate repositories with insufficient data to create deltas, leading
1346
to later errors when branching or reading from the repository.
1347
(Robert Collins, bug #375013)
1355
* Fetching from 2a branches from a version-2 bzr protocol would fail to
1356
copy the internal inventory pages from the CHK store. This cannot happen
1357
in normal use as all 2a compatible clients and servers support the
1358
version-3 protocol, but it does cause test suite failures when testing
1359
downlevel protocol behaviour. (Robert Collins)
1361
* Fix a test failure on karmic by making a locale test more robust.
1362
(Vincent Ladeuil, #413514)
1364
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
1365
fully packed 2a repository. (Andrew Bennetts, #382463)
1367
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1368
(Jason Spashett, #76616)
1370
* Properly handle fetching into a stacked branch while converting the
1371
data, especially when there are also ghosts. The code was filling in
1372
parent inventories incorrectly, and also not handling when one of the
1373
parents was a ghost. (John Arbash Meinel, #402778, #412198)
1375
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
1376
inventory pages when appropriate (by falling back to the vfs stream
1377
source). (Andrew Bennetts, #406686)
1379
* StreamSource generates rich roots from non-rich root sources correctly
1380
now. (Andrew Bennetts, #368921)
1382
* When deciding whether a repository was compatible for upgrading or
1383
fetching, we previously incorrectly checked the default repository
1384
format for the bzrdir format, rather than the format that was actually
1385
present on disk. (Martin Pool, #408824)
1390
* A better description of the platform is shown in crash tracebacks, ``bzr
1391
--version`` and ``bzr selftest``.
1392
(Martin Pool, #409137)
1394
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
1395
smart server are more efficient now. They send inventory deltas rather
1396
than full inventories. The smart server has two new requests,
1397
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
1398
support this. (Andrew Bennetts, #374738, #385826)
1400
* Extracting the full ancestry and computing the ``merge_sort`` is now
1401
significantly faster. This effects things like ``bzr log -n0``. (For
1402
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
1403
(John Arbash Meinel)
1414
* ``-Dstrict_locks`` can now be used to check that read and write locks
1415
are treated properly w.r.t. exclusivity. (We don't try to take an OS
1416
read lock on a file that we already have an OS write lock on.) This is
1417
now set by default for all tests, if you have a test which cannot be
1418
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
1419
compatibility knob. (John Arbash Meinel)
1421
* InterDifferingSerializer is now only used locally. Other fetches that
1422
would have used InterDifferingSerializer now use the more network
1423
friendly StreamSource, which now automatically does the same
1424
transformations as InterDifferingSerializer. (Andrew Bennetts)
1426
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
1427
are implemented in pyrex and significantly faster. This is exposed along
1428
with ``CombinedGraphIndex.find_ancestry()`` as
1429
``VersionedFiles.get_known_graph_ancestry(keys)``.
1430
(John Arbash Meinel)
1432
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
1433
protocols. (Robert Collins)
1435
* The index code now has some specialized routines to extract the full
1436
ancestry of a key in a more efficient manner.
1437
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
1438
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
1444
* Install the test ssl certificate and key so that installed bzr
1445
can run the https tests. (Denys Duchier, #392401)
1451
:Codename: little traveller
1453
:1.18rc1: 2009-08-10
1455
This release of Bazaar marches on towards the 2.0 release in which the 2a
1456
'brisbane-core' format becomes generally recommended. Most of the work in
1457
this release now focusses on bug fixes and stabilization, covering both 2a
1458
and previous formats. There is a new text-mode interactive merge feature,
1459
a new guide to migration to 2a format in the user documentation, and
1460
pushing branches to a smart server is now much faster.
1462
The Bazaar team decided that 2.0 will be a long-term supported release,
1463
with bugfix-only releases based on it continuing for at least six months
1464
or until the following stable release.
1466
There are no changes from 1.18rc1 to 1.18.
1471
* ``bzr merge --interactive`` applies a user-selected portion of the
1472
merge. The UI is similar to ``shelve``. (Aaron Bentley)
1474
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
1475
``--unstacked`` to change stacking of a branch.
1476
(Martin Pool, #391411)
1481
* Annotating on a stacked branch will now succeed in simple scenarios.
1482
There are still some complex scenarios where it will fail (bug #399884)
1483
(John Arbash Meinel, #393366)
1485
* A progress bar is no longer left dangling when ``bzr selftest``
1486
completes, and the progress bar updates with zero latency so the
1487
displayed test name is always the one that's actually running.
1488
(Martin Pool, #123688)
1490
* Authenticating against an ssh server now uses ``auth_none`` to determine
1491
if password authentication is even supported. This fixes a bug where
1492
users would be prompted for a launchpad password, even though launchpad
1493
only supports publickey authentication. (John Arbash Meinel, #375867)
1495
* BranchBuilder now accepts timezone to avoid test failures in countries far
1496
from GMT. (Vincent Ladeuil, #397716)
1498
* ``bzr commit`` no longer saves the unversioning of missing files until
1499
the commit has completed on the branch. This means that aborting a
1500
commit that found a missing file will leave the tree unedited.
1501
(Robert Collins, #282402)
1503
* ``bzr mv`` no longer takes out branch locks, which allows it to work
1504
when the branch is readonly. (Robert Collins, #216541)
1506
* ``bzr revert .`` no longer generates an InconsistentDelta error when
1507
there are missing subtrees. (Robert Collins, #367632)
1509
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
1510
do to internal changes necessary to support this, older clients will
1511
fail when trying to insert them. For newer clients, the bundle can be
1512
used to apply the changes to any rich-root compatible format.
1513
(John Arbash Meinel, #393349)
1515
* Cope with FTP servers that don't support restart/append by falling back
1516
to reading and then rewriting the whole file, such as TahoeLAFS. (This
1517
fallback may be slow for some access patterns.) (Nils Durner, #294709)
1519
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
1520
external diff client. This at least allows supporting filenames that are
1521
not ascii, but are present in the current locale. Ideally we would be
1522
able to pass the Unicode path, but that would be client dependent.
1523
(John Arbash Meinel, #382709)
1525
* Fix a compile bug on Solaris having to do with const and
1526
pointer-to-pointers. (John Arbash Meinel, #408441)
1528
* Fixed a NameError that occurs when merging or pulling from a URL that
1529
causes a redirection loop when bzr tries to read a URL as a bundle.
1530
(Andrew Bennetts, #400847)
1532
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
1533
running send and similar commands on 2a formats.
1534
(Martin Pool, #408201)
1536
* Fix crash in some invocations of ``bzr status`` in format 2a.
1537
(Martin Pool, #403523)
1539
* Fixed export to existing directory: if directory is empty then export
1540
will succeed, otherwise it fails with error.
1541
(Alexander Belchenko, #406174)
1543
* Fixed spurious "Source branch does not support stacking" warning when
1544
pushing. (Andrew Bennetts, #388908)
1546
* Fixed spurious transport activity indicator appearing while tests are
1547
running. (Martin Pool, #343532)
1549
* Merge now correctly handles empty right-hand revision specs.
1550
(Aaron Bentley, #333961)
1552
* Renames to lexographically lower basenames in trees that have never been
1553
committed to will no longer corrupt the dirstate. This was caused by an
1554
bug in the dirstate update_minimal method. (Robert Collins, #395556)
1556
* Requests for unknown methods no longer cause the smart server to log
1557
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
1558
``do_end``. (Andrew Bennetts, #338561)
1560
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
1562
* Streaming from bzr servers where there is a chain of stacked branches
1563
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
1565
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
1566
always forces progress bars either on or off respectively. Otherwise,
1567
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
1568
bzr always uses the 'text' user interface when run as a command, so
1569
``BZR_USE_TEXT_UI`` is no longer needed.
1570
(Martin Pool, #339385, #387717)
1572
* The optional ``_knit_load_data_pyx`` C extension was never being
1573
imported. This caused significant slowdowns when reading data from
1574
repositories. (Andrew Bennetts, #405653)
1576
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
1577
supported at the moment on workingtree formats that can do content
1578
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
1579
bzr now says so, rather than just ignoring the option. (Martin Pool)
1581
* There was a bug in ``osutils.relpath`` that was only triggered on
1582
Windows. Essentially if you were at the root of a drive, and did
1583
something to a branch/repo on another drive, we would go into an
1584
infinite loop while trying to find a 'relative path'.
1585
(John Arbash Meinel, #394227)
1587
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
1588
were present in a parent tree but renamed in the working tree.
1589
(Robert Collins, #187207)
1594
* Can now rename/move files even if they have been removed from the inventory.
1597
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
1598
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
1599
than VFS methods. For example, pushes of small branches with tags take
1600
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
1602
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
1603
the same way that sending Ctrl-\\ does on other platforms.
1604
(John Arbash Meinel)
1609
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
1614
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
1615
need to subclass or create a specific class, or better yet the existing
1616
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
1617
user interaction at all, rather than trying to read from stdin but not
1618
writing any output, which would be strange if reading prompts or
1619
passwords. (Martin Pool)
1621
* New TransformPreview.commit() allows committing without a working tree.
1624
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
1627
* ProgressTasks now prefer to talk direct to their ProgressView not to the
1631
* ``WorkingTree._check`` now requires a references dict with keys matching
1632
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
1637
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
1638
reading the entries along the path, reducing work to lookup ids from
1639
paths. (Robert Collins)
1641
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
1642
as new a key which was already mapped. (Robert Collins)
1644
* Inventory delta application catches more cases of corruption and can
1645
prevent corrupt deltas from affecting consistency of data structures on
1646
disk. (Robert Collins)
1648
* --subunit support now adds timestamps if the subunit version supports
1649
it. (Robert Collins)
1651
* The Windows all-in-one installer now bundles the PyQt image format
1652
plugins, which allows previewing more images as part of 'qdiff'.
1653
(Alexander Belchenko)
1659
* Merge directive cherrypick tests must use the same root id.
1660
(Martin Pool, #409684)
1662
* Spurious failure in ``check`` tests on rich-root formats fixed.
1663
(Martin Pool, #408199)
1665
* The ``bzrlib.tests.TextTestRunner`` will no longer call
1666
``countTestsCases`` on the test being run. Progress information is
1667
instead handled by having the test passed in call ``result.progress``
1668
before running its contents. This improves the behaviour when using
1669
``TextTestRunner`` with test suites that don't support
1670
``countTestsCases``. (Robert Collins)
1673
bzr 1.17.1 (unreleased)
1674
#######################
1679
* The optional ``_knit_load_data_pyx`` C extension was never being
1680
imported. This caused significant slowdowns when reading data from
1681
knit format repositories. (Andrew Bennetts, #405653)
1686
:Codename: so-late-its-brunch
1687
:1.17rc1: 2009-07-13
1691
Bazaar continues to blaze a straight and shining path to the 2.0 release and
1692
the elevation of the ``2a`` beta format to the full glory of "supported and
1695
Highlights in this release include greatly reduced memory consumption during
1696
commits, faster ``ls``, faster ``annotate``, faster network operations if
1697
you're specifying a revision number and the final destruction of those
1698
annoying progress bar artifacts.
1701
Changes from 1.17rc1 to 1.17final
1702
*********************************
1704
* Change an extension to call the python ``frozenset()`` rather than the C
1705
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
1706
C api. (John Arbash Meinel, #399366)
1708
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
1709
``tools/generate_docs.py`` to allow everything to be built on Windows.
1710
(John Arbash Meinel, #399356)
1712
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
1713
directory before serving it. (Andrew Bennetts, #400535)
1716
Compatibility Breaks
1717
********************
1719
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
1720
instead of "product" which is the correct Launchpad terminology. The
1721
--product option is deprecated and users should switch to using --project.
1722
(Neil Martinsen-Burrell, #238764)
1728
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
1729
are present in the working tree (if one is present) and no revision is
1730
specified. The configuration option ``push_strict`` can be used to set the
1731
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
1733
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
1734
show revision info for the working tree instead of the branch.
1735
(Matthew Fuller, John Arbash Meinel)
1737
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
1738
are present in the working tree and no revision is specified. The
1739
configuration option ``send_strict`` can be used to set the default for this
1741
(Vincent Ladeuil, #206577)
1743
* ``bzr switch --create-branch/-b`` can now be used to create and switch
1744
to a new branch. Supplying a name without a ``/`` will create the branch
1745
relative to the existing branch. (similar to how ``bzr switch name``
1746
works when the branch already exists.) (John Arbash Meinel)
1752
* Accept uppercase "Y/N" to prompts such as from break lock.
1753
(#335182, Tim Powell, Martin Pool)
1755
* Add documentation about diverged branches and how to fix them in the
1756
centralized workflow with local commits. Mention ``bzr help
1757
diverged-branches`` when a push fails because the branches have
1758
diverged. (Neil Martinsen-Burrell, #269477)
1760
* Annotate would sometimes 'latch on' to trivial lines, causing important
1761
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
1763
* Automatic format upgrades triggered by default stacking policies on a
1764
1.16rc1 (or later) smart server work again.
1765
(Andrew Bennetts, #388675)
1767
* Avoid progress bar artifacts being left behind on the screen.
1768
(Martin Pool, #321935)
1770
* Better message in ``bzr split`` error suggesting a rich root format.
1771
(Neil Martinsen-Burrell, #220067)
1773
* ``Branch.set_append_revisions_only`` now works with branches on a smart
1774
server. (Andrew Bennetts, #365865)
1776
* By default, ``bzr branch`` will fail if the target directory exists, but
1777
does not already have a control directory. The flag ``--use-existing-dir``
1778
will allow operation to proceed. (Alexander Belchenko, #307554)
1780
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
1783
* Fetch between repositories does not error if they have inconsistent data
1784
that should be irrelevant to the fetch operation. (Aaron Bentley)
1786
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
1787
of a remote repository.
1788
(Jelmer Vernooij, #332194)
1790
* Fix bug in decoding v3 smart server messages when receiving multiple
1791
lots of excess bytes after an end-of-message.
1794
* Force deletion of readonly files during merge, update and other tree
1796
(Craig Hewetson, Martin Pool, #218206)
1798
* Force socket shutdown in threaded http test servers to avoid client hangs
1799
(pycurl). (Vincent Ladeuil, #383920).
1801
* ``LRUCache`` will maintain the linked list pointers even if a nodes
1802
cleanup function raises an exception. (John Arbash Meinel, #396838)
1804
* Progress bars are now suppressed again when the environment variable
1805
``BZR_PROGRESS_BAR`` is set to ``none``.
1806
(Martin Pool, #339385)
1808
* Reduced memory consumption during ``bzr commit`` of large files. For
1809
pre 2a formats, should be down to ~3x the size of a file.
1810
For ``--2a`` format repositories, it is down to the size of the file
1811
content plus the size of the compressed text. Related to bug #109114.
1812
(John Arbash Meinel)
1814
* Set hidden attribute on .bzr directory below unicode path should never
1815
fail with error. The operation should succeed even if bzr unable to set
1816
the attribute. (Alexander Belchenko, related to bug #335362).
1818
* Stacking will no longer accept requests to stack on the same
1819
branch/repository. Existing branches that incorrectly reference the same
1820
repository in a stacking configuration will now raise
1821
UnstackableLocationError when the branch is opened. This can be fixed by
1822
removing the stacking location inside ``.bzr/branch``.
1823
(Robert Collins, #376243)
1825
* The ``log+`` decorator, useful in debugging or profiling, could cause
1826
"AttributeError: 'list' object has no attribute 'next'". This is now
1827
fixed. The log decorator no longer shows the elapsed time or transfer
1828
rate because they're available in the log prefixes and the transport
1829
activity display respectively.
1830
(Martin Pool, #340347)
1832
* Unshelve works correctly when multiple zero-length files are present on
1833
the shelf. (Aaron Bentley, #363444)
1835
* Progress bars no longer show the network transport scheme or direction.
1838
* launchpad-login now respects the 'verbose' option.
1839
(Jonathan Lange, #217031)
1845
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
1846
possible to write a deprecation wrapper, but the variable will be
1847
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
1848
instead. (Alexander Belchenko)
1850
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
1851
three new hook points: ``get_command``, ``get_missing_command`` and
1852
``list_commands``, which allow just-in-time command name provision
1853
rather than requiring all command names be known a-priori.
1856
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
1857
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
1859
* ``graph.KnownGraph`` has been added. This is a class that can give
1860
answers to ``heads()`` very quickly. However, it has the assumption that
1861
the whole graph has already been loaded. This is true during
1862
``annotate`` so it is used there with good success (as much as 2x faster
1863
for files with long ancestry and 'cherrypicked' changes.)
1864
(John Arbash Meinel, Vincent Ladeuil)
1866
* OS file locks are now taken out using ``CreateFile`` rather than
1867
``LockFileEx`` on Windows. The locking remains exclusive with
1868
``LockFileEx`` but now it also works on older versions of Windows (such
1869
as Win98). (Martin <gzlist>)
1871
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
1872
than the ``Packer`` code. The user visible change is that we now
1873
properly fetch the minimum number of texts for non-smart fetching.
1874
(John Arbash Meinel)
1877
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
1878
the repository as a single string, rather than a list of lines. This can
1879
improve memory overhead and performance of committing large files.
1880
(Currently a private api, used only by commit). (John Arbash Meinel)
1886
* ``bzr annotate`` can now be significantly faster. The time for
1887
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
1888
histories and lots of 'duplicate insertions' will be improved more than
1889
others. (John Arbash Meinel, Vincent Ladeuil)
1891
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
1892
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
1893
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
1895
* Improve "Path(s) are not versioned" error reporting for some commands.
1898
* Initial commit performance in ``--2a`` repositories has been improved by
1899
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
1901
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
1902
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
1903
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
1905
* ``revision-info`` now properly aligns the revnos/revids in the output
1906
and doesn't traceback when given revisions not in the current branch.
1907
Performance is also significantly improved when requesting multiple revs
1908
at once. (Matthew Fuller, John Arbash Meinel)
1910
* Tildes are no longer escaped by Transports. (Andy Kilner)
1916
* Avoid bad text wrapping in generated documentation. Slightly better
1917
formatting in the user reference.
1918
(Martin Pool, #249908)
1920
* Minor clarifications to the help for End-Of-Line conversions.
1926
* Removed overspecific error class ``InvalidProgressBarType``.
1929
* The method ``ProgressView._show_transport_activity`` is now
1930
``show_transport_activity`` because it's part of the contract between
1931
this class and the UI. (Martin Pool)
1937
:Released: 2009-06-26
1939
End user testing of the 2a format revealed two serious bugs. The first,
1940
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
1941
This meant that commits or pushes to 2a-format repositories failed
1944
The second bug, #390563, caused the smart server to raise AbsentContentFactory
1945
when streaming 2a stacked 2a-format branches. This particularly affected
1946
branches stored on Launchpad in the 2a format.
1948
Both of these bugs cause command failures only, neither of them cause data
1949
corruption or data loss. And, of course, both of these bugs are now fixed.
1954
* We now properly request a more minimal set of file texts when fetching
1955
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
1957
* Repositories using CHK pages (which includes the new 2a format) will no
1958
longer error during commit or push operations when an autopack operation
1959
is triggered. (Robert Collins, #365615)
1961
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
1962
of referenced nodes rather than the *union* to determine what
1963
uninteresting pages we still need to look at. Prior to this,
1964
incrementally pushing to stacked branch would push the minimal data, but
1965
fetching everything would request extra texts. There are some unhandled
1966
cases wrt trees of different depths, but this fixes the common cases.
1967
(Robert Collins, John Arbash Meinel, #390563)
1969
* ``GroupCompress`` repositories now take advantage of the pack hints
1970
parameter to permit cross-format fetching to incrementally pack the
1971
converted data. (Robert Collins)
1973
* ``Repository.commit_write_group`` now returns opaque data about what
1974
was committed, for passing to the ``Repository.pack``. Repositories
1975
without atomic commits will still return None. (Robert Collins)
1977
* ``Repository.pack`` now takes an optional ``hint`` parameter
1978
which will support doing partial packs for repositories that can do
1979
that. (Robert Collins)
1981
* RepositoryFormat has a new attribute 'pack_compresses' which is True
1982
when doing a pack operation changes the compression of content in the
1983
repository. (Robert Collins)
1985
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
1986
``Repository.pack`` with the hint returned by
1987
``Repository.commit_write_group`` if the formats were different and the
1988
repository can increase compression by doing a pack operation.
1989
(Robert Collins, #376748)
1994
:Codename: yesterday-in-california
1995
:1.16rc1: 2009-06-11
1998
This version of Bazaar contains the beta release of the new ``2a`` repository
1999
format, suitable for testing by fearless, advanced users. This format or an
2000
updated version of it will become the default format in Bazaar 2.0. Please
2001
read the NEWS entry before even thinking about upgrading to the new format.
2003
Also included are speedups for many operations on huge projects, a bug fix for
2004
pushing stacked new stacked branches to smart servers and the usual bevy of
2005
bug fixes and improvements.
2008
Changes from 1.16rc1 to 1.16final
2009
*********************************
2011
* Fix the nested tree flag check so that upgrade from development formats to
2012
2a can work correctly.
2013
(Jelmer Vernooij, #388727)
2015
* Automatic format upgrades triggered by default stacking policies on a
2016
1.16rc1 (or later) smart server work again.
2017
(Andrew Bennetts, #388675)
2020
Compatibility Breaks
2021
********************
2023
* Display prompt on stderr (instead of stdout) when querying users so
2024
that the output of commands can be safely redirected.
2025
(Vincent Ladeuil, #376582)
2031
* A new repository format ``2a`` has been added. This is a beta release
2032
of the brisbane-core (aka group-compress) project. This format now
2033
suitable for wider testing by advanced users willing to deal with some
2034
bugs. We would appreciate test reports, either positive or negative.
2035
Format 2a is substantially smaller and faster for many operations on
2036
many trees. This format or an updated version will become the default
2039
This is a rich-root format, so this repository format can be used with
2040
bzr-svn. Bazaar branches in previous non-rich-root formats can be
2041
converted (including by merge, push and pull) to format 2a, but not vice
2042
versa. We recommend upgrading previous development formats to 2a.
2044
Upgrading to this format can take considerable time because it expands
2045
and more concisely repacks the full history.
2047
If you use stacked branches, you must upgrade the stacked branches
2048
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
2050
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
2051
but using a Revision serializer using bencode rather than XML.
2052
(Jelmer Vernooij, John Arbash Meinel)
2054
* mail_client=claws now supports --body (and message body hooks). Also uses
2055
configured from address. (Barry Warsaw)
2061
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
2062
bugs with stacking and non default formats.)
2063
(John Arbash Meinel, #373455)
2065
* ``--development6-rich-root`` delays generating a delta index for the
2066
first object inserted into a group. This has a beneficial impact on
2067
``bzr commit`` since each committed texts goes to its own group. For
2068
committing a 90MB file, it drops peak memory by about 200MB, and speeds
2069
up commit from 7s => 4s. (John Arbash Meinel)
2071
* Numerous operations are now faster for huge projects, i.e. those
2072
with a large number of files and/or a large number of revisions,
2073
particularly when the latest development format is used. These
2074
operations (and improvements on OpenOffice.org) include:
2076
* branch in a shared repository (2X faster)
2077
* branch --no-tree (100X faster)
2083
* Pyrex version of ``bencode`` support. This provides optimized support
2084
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
2085
``bzrlib.utils.bencode`` is now deprecated.
2086
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
2092
* Bazaar can now pass attachment files to the mutt email client.
2093
(Edwin Grubbs, #384158)
2095
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
2096
see which files can also be added. (Jason Spashett, #76616)
2098
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
2099
Also, the ``Branch.revision_history()`` API now works in the same
2100
situation. (Andrew Bennetts, #380314)
2102
* ``bzr serve`` on Windows no longer displays a traceback simply because a
2103
TCP client disconnected. (Andrew Bennetts)
2105
* Clarify the rules for locking and fallback repositories. Fix bugs in how
2106
``RemoteRepository`` was handling fallbacks along with the
2107
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
2109
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
2110
branch. Not often triggered, because it required ghosts to be part of
2111
the fetched revisions, not in the stacked-on ancestry.
2112
(John Arbash Meinel)
2114
* Fix status and commit to work with content filtered trees, addressing
2115
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
2117
* Fix problem of "directory not empty" when contending for a lock over
2118
sftp. (Martin Pool, #340352)
2120
* Fix rule handling so that eol is optional, not mandatory.
2121
(Ian Clatworthy, #379370)
2123
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
2124
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
2125
1.16, but required changes to the network protocol, so the
2126
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
2127
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
2128
still work with a 1.16 server as they will fallback to slower (and
2130
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
2132
* Reconcile can now deal with text revisions that originated in revisions
2133
that are ghosts. (Jelmer Vernooij, #336749)
2135
* Support cloning of branches with ghosts in the left hand side history.
2136
(Jelmer Vernooij, #248540)
2138
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
2139
helpful message to the trace file, unless the temp directory really was
2140
removed (which would be very strange). Since the diff operation has
2141
succeeded from the user's perspective, no output is written to stderr
2142
or stdout. (Maritza Mendez, #363837)
2144
* Translate errors received from a smart server in response to a
2145
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2146
This was causing tracebacks even for mundane errors like
2147
``PermissionDenied``. (Andrew Bennetts, #381329)
2152
* Added directory structure and started translation of docs in Russian.
2153
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
2154
Volodymyr Kotulskyi)
2159
* Added osutils.parent_directories(). (Ian Clatworthy)
2161
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
2162
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
2163
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
2165
* ``graph.StackedParentsProvider`` is now a public API, replacing
2166
``graph._StackedParentsProvider``. The api is now considered stable and ready
2167
for external users. (Gary van der Merwe)
2169
* ``bzrlib.user_encoding`` is deprecated in favor of
2170
``get_user_encoding``. (Alexander Belchenko)
2172
* TreeTransformBase no longer assumes that limbo is provided via disk.
2173
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
2178
* Remove ``weave.py`` script for accessing internals of old weave-format
2179
repositories. (Martin Pool)
2184
* ``make check`` no longer repeats the test run in ``LANG=C``.
2185
(Martin Pool, #386180)
2187
* The number of cores is now correctly detected on OSX. (John Szakmeister)
2189
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
2191
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
2196
:1.15rc1: 2009-05-16
2200
The smart server will no longer raise 'NoSuchRevision' when streaming content
2201
with a size mismatch in a reconstructed graph search. New command ``bzr
2202
dpush``. Plugins can now define their own annotation tie-breaker when two
2203
revisions introduce the exact same line.
2205
Changes from 1.15.1 to 1.15.2
2206
*****************************
2208
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
2209
(Alexander Belchenko)
2211
Changes from 1.15final to 1.15.1
2212
*********************************
2214
* Translate errors received from a smart server in response to a
2215
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2216
This was causing tracebacks even for mundane errors like
2217
``PermissionDenied``. (Andrew Bennetts, #381329)
2219
Changes from 1.15rc1 to 1.15final
2220
*********************************
2224
Compatibility Breaks
2225
********************
2227
* ``bzr ls`` is no longer recursive by default. To recurse, use the
2228
new ``-R`` option. The old ``--non-recursive`` option has been removed.
2229
If you alias ``ls`` to ``ls -R``, you can disable recursion using
2230
``--no-recursive`` instead. (Ian Clatworthy)
2235
* New command ``bzr dpush`` that can push changes to foreign
2236
branches (svn, git) without setting custom bzr-specific metadata.
2239
* The new development format ``--development6-rich-root`` now supports
2240
stacking. We chose not to use a new format marker, since old clients
2241
will just fail to open stacked branches, the same as if we used a new
2242
format flag. (John Arbash Meinel, #373455)
2244
* Plugins can now define their own annotation tie-breaker when two revisions
2245
introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
2246
Be aware though that this is temporary, private (as indicated by the leading
2247
'_') and a first step to address the problem. (Vincent Ladeuil, #348459)
2249
* New command ``bzr dpush`` that can push changes to foreign
2250
branches (svn, git) without setting custom bzr-specific metadata.
2253
* ``bzr send`` will now check the ``child_submit_format`` setting in
2254
the submit branch to determine what format to use, if none was
2255
specified on the command-line. (Jelmer Vernooij)
2260
* -Dhpss output now includes the number of VFS calls made to the remote
2261
server. (Jonathan Lange)
2263
* ``--coverage`` works for code running in threads too.
2264
(Andrew Bennets, Vincent Ladeuil)
2266
* ``bzr pull`` now has a ``--local`` option to only make changes to the
2267
local branch, and not the bound master branch.
2268
(Gary van der Merwe, #194716)
2270
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
2275
* Adding now works properly when path contains a symbolic link.
2276
(Geoff Bache, #183831)
2278
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
2280
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
2281
line, and the other side modifies the line. (John Arbash Meinel, #328171)
2283
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
2284
(Martin von Gagern, #248932)
2286
* ``bzr send`` works to send emails again using MAPI.
2287
(Neil Martinsen-Burrell, #346998)
2289
* Check for missing parent inventories in StreamSink. This prevents
2290
incomplete stacked branches being created by 1.13 bzr:// and
2291
bzr+ssh:// clients (which have bug #354036). Instead, the server now
2292
causes those clients to send the missing records. (Andrew Bennetts)
2294
* Correctly handle http servers proposing multiple authentication schemes.
2295
(Vincent Ladeuil, #366107)
2297
* End-Of-Line content filters are now loaded correctly.
2298
(Ian Clatworthy, Brian de Alwis, #355280)
2300
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
2301
longer than 64KiB. (John Arbash Meinel, #364900)
2303
* Fix TypeError in running ``bzr break-lock`` on some URLs.
2304
(Alexander Belchenko, Martin Pool, #365891)
2306
* Non-recursive ``bzr ls`` now works properly when a path is specified.
2307
(Jelmer Vernooij, #357863)
2309
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
2310
(Vincent Ladeuil, #367726)
2312
* Several bugs related to unicode symlinks have been fixed and the test suite
2313
enhanced to better catch regressions for them. (Vincent Ladeuil)
2315
* The smart server will no longer raise 'NoSuchRevision' when streaming
2316
content with a size mismatch in a reconstructed graph search: it assumes
2317
that the client will make sure it is happy with what it got, and this
2318
sort of mismatch is normal for stacked environments.
2319
bzr 1.13.0/1 will stream from unstacked branches only - in that case not
2320
getting all the content expected would be a bug. However the graph
2321
search is how we figured out what we wanted, so a mismatch is both odd
2322
and unrecoverable without starting over, and starting over will end up
2323
with the same data as if we just permitted the mismatch. If data is
2324
gc'd, doing a new search will find only the truncated data, so sending
2325
only the truncated data seems reasonable. bzr versions newer than this
2326
will stream from stacked branches and check the stream to find missing
2327
content in the stacked-on branch, and thus will handle the situation
2328
implicitly. (Robert Collins, #360791)
2330
* Upgrading to, or fetching into a 'rich-root' format will now correctly
2331
set the root data the same way that reconcile does.
2332
(Robert Collins, #368921)
2334
* Using unicode Windows API to obtain command-line arguments.
2335
(Alexander Belchenko, #375934)
2343
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
2344
instead of ``InstallFailed`` when they detect a missing revision.
2345
``InstallFailed`` itself has been deleted. (Jonathan Lange)
2347
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
2348
arguments from ``osutils.get_unicode_argv()`` which has proper support
2349
for unicode arguments on windows. Further, the supplied arguments are now
2350
required to be unicode strings, rather than user_encoded strings.
2351
(Alexander Belchenko)
2356
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
2357
class and will call ``_set_parent_location`` after doing unicode
2358
encoding. (Robert Collins)
2360
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
2361
``Branch.set_parent_location`` removing further VFS operations.
2364
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
2365
or similar when the dir supports configuration settings. The base class
2366
defaults to None. There is a matching new server verb
2367
``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
2368
configuration. (Robert Collins)
2370
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
2371
called before the first test is started, ``done`` called after the last
2372
test completes, and a new parameter ``strict``. (Robert Collins)
2374
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
2375
VFS operations are started on a smart server repository. This should not
2376
occur on regular push and pull operations, and is a key indicator for
2377
performance regressions. (Robert Collins)
2379
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
2380
cause mismatched physical locks to cause test errors rather than just
2381
reporting to the screen. (Robert Collins)
2383
* -Dprogress will cause pdb to start up if a progress view jumps
2384
backwards. (Robert Collins)
2386
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
2387
are now be able to provide credentials if obtaining credentials
2388
via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij,
2389
Vincent Ladeuil, #321918)
2391
* New hook ``Lock.lock_broken`` which runs when a lock is
2392
broken. This is mainly for testing that lock/unlock are
2393
balanced in tests. (Vincent Ladeuil)
2395
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
2396
alter a body for the message produced by ``bzr send``.
2398
* New smart server verb ``BzrDir.initialize_ex`` which implements a
2399
refactoring to the core of clone allowing less round trips on new
2400
branches. (Robert Collins)
2402
* New method ``Tags.rename_revisions`` that can rename revision ids tags
2403
are pointing at. (Jelmer Vernooij)
2405
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
2410
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
2411
tests. Using ``-Dlock`` will turn the related failures into warnings.
2412
(Vincent Ladeuil, Robert Collins)
2416
:Codename: brisbane-core
2417
:1.14rc1: 2009-04-06
2418
:1.14rc2: 2009-04-19
2422
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
2423
keyword templating (via the bzr-keywords plugin) and generic content filtering.
2424
End-of-line conversion is now supported for formats supporting content
2427
Changes from 1.14final to 1.14.1
2428
********************************
2430
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
2432
Changes from 1.14rc2 to 1.14final
2433
*********************************
2435
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
2436
longer than 64KiB. (John Arbash Meinel, #364900)
2438
Changes from 1.14rc1 to 1.14rc2
2439
*******************************
2441
* Fix for bug 358037 Revision not in
2442
bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis,
2445
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
2446
attribute 'get_bytes_as' exception while pulling from Launchpad
2447
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
2449
* Fix for bug 355280 eol content filters are never loaded and thus never
2450
applied (Brian de Alwis, Ian Clatworthy)
2452
* bzr.dev -r4280 Change _fetch_uses_deltas = False for CHK repos until we can
2453
write a better fix. (John Arbash Meinel, Robert Collins)
2455
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
2456
(Marius Kruger, Ian Clatworthy)
2458
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14
2459
(Andrew Bennetts, Robert Collins)
2461
Compatibility Breaks
2462
********************
2464
* A previously disabled code path to accelerate getting configuration
2465
settings from a smart server has been reinstated. We think this *may*
2466
cause a incompatibility with servers older than bzr 0.15. We intend
2467
to issue a point release to address this if it turns out to be a
2468
problem. (Robert Collins, Andrew Bennetts)
2470
* bzr no longer autodetects nested trees as 'tree-references'. They
2471
must now be explicitly added tree references. At the commandline, use
2472
join --reference instead of add. (Aaron Bentley)
2474
* The ``--long`` log format (the default) no longer shows merged
2475
revisions implicitly, making it consistent with the ``short`` and
2476
``line`` log formats. To see merged revisions for just a given
2477
revision, use ``bzr log -n0 -rX``. To see every merged revision,
2478
use ``bzr log -n0``. (Ian Clatworthy)
2483
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
2484
(EOL) conversions, keyword templating (via the bzr-keywords plugin)
2485
and generic content filtering. These formats replace the experimental
2486
``development-wt5`` and ``development-wt5-rich-root`` formats
2487
respectively, but have support for filtered views disabled.
2490
* New ``mv --auto`` option recognizes renames after they occur.
2493
* ``bzr`` can now get passwords from stdin without requiring a controlling
2494
terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
2496
* ``bzr log`` now supports filtering of multiple files and directories
2497
and will show changes that touch any of them. Furthermore,
2498
directory filtering now shows the changes to any children of that
2499
directory, not just the directory object itself.
2500
(Ian Clatworthy, #97715)
2502
* ``bzr shelve`` can now apply changes without storing anything on the
2503
shelf, via the new --destroy option. (Aaron Bentley)
2505
* ``bzr send`` now accepts --body to specify an initial message body.
2508
* ``bzr xxx --usage`` where xxx is a command now shows a usage
2509
message and the options without the descriptive help sections
2510
(like Description and Examples). A message is also given
2511
explaining how to see the complete help, i.e. ``bzr help xxx``.
2514
* Content filters can now be used to provide custom conversion
2515
between the canonical format of content (i.e. as stored) and
2516
the convenience format of content (i.e. as created in working
2517
trees). See ``bzr help content-filters`` for further details.
2518
(Ian Clatworthy, Alexander Belchenko)
2520
* End-of-line conversion is now supported for formats supporting
2521
content filtering. See ``bzr help eol`` for details.
2524
* Newly-blessed `join` command allows combining two trees into one.
2530
* A new format name alias ``default-rich-root`` has been added and
2531
points at the closest relative of the default format that supports
2532
rich roots. (Jelmer Vernooij, #338061)
2534
* Branching from a stacked branch using ``bzr*://`` will now stream
2535
the data when the target repository does not need topological
2536
ordering, reducing round trips and network overhead. This uses the
2537
existing smart server methods added in 1.13, so will work on any
2538
1.13 or newer server. (Robert Collins, Andrew Bennetts)
2540
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
2541
that displays/saves the content after content filters are applied.
2544
* ``bzr ignore`` gives a more informative message when existing
2545
version controlled files match the ignore pattern. (Neil
2546
Martinsen-Burrell, #248895)
2548
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
2551
* ``bzr send`` is faster on repositories with deep histories.
2554
* IPv6 literals are accepted in URLs.
2555
(stlman, Martin Pool, Jelmer Vernooij, #165014)
2557
* Progress bars now show the rate of network activity for
2558
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
2560
* Prompt for user names if they are not in the configuration.
2561
(Jelmer Vernooij, #256612)
2563
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
2564
now takes many less round trips. (Andrew Bennetts, Robert Collins,
2567
* Streaming push can be done to older repository formats. This is
2568
implemented using a new ``Repository.insert_stream_locked`` RPC.
2569
(Andrew Bennetts, Robert Collins)
2571
* The "ignoring files outside view: .." message has been re-worded
2572
to "Ignoring files outside view. View is .." to reduce confusion
2573
about what was being considered and what was being ignored.
2576
* The ``long`` log formatter now shows [merge] indicators. If
2577
only one level of revisions is displayed and merges are found,
2578
the ``long`` and ``short`` log formatters now tell the user
2579
how to see the hidden merged revisions. (Ian Clatworthy)
2581
* The ``brisbane-core`` project has delivered its beta format
2582
``development6-rich-root``. This format is suitable for judicious
2583
testing by early adopters. In particular if you are benchmarking bzr
2584
performance please be sure to test using this format. At this stage
2585
more information is best obtained by contacting the Bazaar mailing list
2586
or IRC channel if you are interested in using this format. We will make
2587
end user documentation available closer to blessing the format as
2588
production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
2589
Vincent Ladeuil, Andrew Bennetts, Martin Pool)
2591
* Tildes are no longer escaped. No more %7Euser/project/branch!
2597
* Pushing a new stacked branch will also push the parent inventories for
2598
revisions at the stacking boundary. This makes sure that the stacked
2599
branch has enough data to calculate inventory deltas for all of its
2600
revisions (without requiring the fallback branch). This avoids
2601
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
2602
when fetching the stacked branch from a 1.13 (or later) smart server.
2603
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
2605
* End-Of-Line content filters are now loaded correctly.
2606
(Ian Clatworthy, Brian de Alwis, #355280)
2608
* Authentication plugins now receive all the parameters from the request
2609
itself (aka host, port, realm, path, etc). Previously, only the
2610
authentication section name, username and encoded password were
2611
provided. (Jean-Francois Roy)
2613
* bzr gives a better message if an invalid regexp is passed to ``bzr log
2614
-m``. (Anne Mohsen, Martin Pool)
2616
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
2618
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
2621
* Fix "is not a stackable format" error when pushing a
2622
stackable-format branch with an unstackable-format repository to a
2623
destination with a default stacking policy. (Andrew Bennetts)
2625
* Fixed incorrect "Source format does not support stacking" warning
2626
when pushing to a smart server. (Andrew Bennetts, #334114)
2628
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
2629
needed. (Vincent Ladeuil, #355454)
2631
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
2632
on ``bzr add x/y/z`` in formats supporting views when no view is
2633
defined. (Ian Clatworthy, #344708)
2635
* It is no longer possible to fetch between repositories while the
2636
target repository is in a write group. This prevents race conditions
2637
that prevent the use of RPC's to perform fetch, and thus allows
2638
optimising more operations. (Robert Collins, Andrew Bennetts)
2640
* ``merge --force`` works again. (Robert Collins, #342105)
2642
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
2643
(Vincent Ladeuil, #346593)
2645
* Pushing a new branch to a server that has a stacking policy will now
2646
upgrade from the local branch format when the stacking policy points at
2647
a branch which is itself stackable, because we know the client can read
2648
both branches, we know that the trunk for the project can be read too,
2649
so the upgrade will not inconvenience users. (Robert Collins, #345169)
2651
* Pushing a new stacked branch will also push the parent inventories for
2652
revisions at the stacking boundary. This makes sure that the stacked
2653
branch has enough data to calculate inventory deltas for all of its
2654
revisions (without requiring the fallback branch). This avoids
2655
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
2656
when fetching the stacked branch from a 1.13 (or later) smart server.
2657
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
2659
* The full test suite is passing again on OSX. Several minor issues (mostly
2660
test related) have been fixed. (Vincent Ladeuil, #355273).
2662
* The GNU Changelog formatter is slightly improved in the case where
2663
the delta is empty, and now correctly claims not to support tags.
2666
* Shelve can now shelve changes to a symlink target.
2667
(James Westby, #341558)
2669
* The help for the ``info`` command has been corrected.
2670
(Ian Clatworthy, #351931)
2672
* Upgrade will now use a sensible default format if the source repository
2673
uses rich roots. (Jelmer Vernooij, #252908)
2678
* Expanded the index of the developer documentation. (Eric Siegerman)
2680
* New topic `bzr help debug-flags`. (Martin Pool)
2682
* The generated manpage now explicitly lists aliases as commands.
2683
(James Westby, #336998)
2688
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
2691
* ``CommitReporter`` is no longer called with ``unchanged`` status during
2692
commit - this was a full-tree overhead that bzr no longer performs.
2695
* New abstract ``UIFactory`` method ``get_username`` which will be called to
2696
obtain the username to use when connecting to remote machines.
2699
* New API ``Inventory.filter()`` added that filters an inventory by
2700
a set of file-ids so that only those fileids, their parents and
2701
their children are included. (Ian Clatworthy)
2703
* New sort order for ``get_record_stream`` ``groupcompress`` which
2704
sorts optimally for use with groupcompress compressors. (John Arbash
2705
Meinel, Robert Collins)
2707
* Repository APIs ``get_deltas_for_revisions()`` and
2708
``get_revision_delta()`` now support an optional ``specific_fileids``
2709
parameter. If provided, the deltas are filtered so that only those
2710
file-ids, their parents and their children are included.
2713
* The ``get_credentials`` and ``set_credentials`` methods of
2714
``AuthenticationConfig`` now accept an optional realm argument.
2717
* The ``pb`` argument to ``fetch()`` is deprecated.
2720
* The ``Serializer`` class and the serializer ``format registry`` have moved
2721
from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
2723
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
2724
that is not inside the backing transport from being opened. See the
2725
module documentation for ``bzrlib.smart.request`` for details.
2726
(Andrew Bennetts, Robert Collins)
2728
* ``Tree.get_symlink_target`` now always returns a unicode string result
2729
or None. Previously it would return the bytes from reading the link
2730
which could be in any arbitrary encoding. (Robert Collins)
2735
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
2736
and ``tearDown`` weren't called. This catches faulty tests that
2737
forget to upcall when overriding ``setUp`` and ``tearDown``. Those
2738
faulty tests were not properly isolated.
2739
(Andrew Bennetts, Robert Collins)
2741
* Fix test_msgeditor.MsgEditorTest test isolation.
2742
(Vincent Ladeuil, #347130)
2744
* ``medusa`` is not used anymore as an FTP test server starting with
2745
python2.6. A new FTP test server based on ``pyftplib`` can be used
2746
instead. This new server is a soft dependency as medusa which is still
2747
preferred if both are available (modulo python version).
2753
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
2754
(Robert Collins, John Arbash Meinel, Vincent Ladeuil)
2756
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
2757
maps. (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
2759
* Added ``bzrlib.inventory_delta`` module. This will be used for
2760
serializing and deserializing inventory deltas for more efficient
2761
streaming on the network. (Robert Collins, Andrew Bennetts)
2763
* ``Branch._get_config`` has been added, which splits out access to the
2764
specific config file from the branch. This is used to let RemoteBranch
2765
avoid constructing real branch objects to access configuration settings.
2766
(Robert Collins, Andrew Bennetts)
2768
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
2769
the implementation is generic and should impact foreign formats. This
2770
helps performance for ``RemoteBranch`` push operations to new stacked
2771
branches. (Robert Collins, Andrew Bennetts)
2773
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
2774
optmizations turned off. This only has effect when processing > 100,000
2775
keys during something like ``bzr pack``. (John Arbash Meinel)
2777
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
2778
mode. Requires ``lp:subunit`` installed to work, but is not a hard
2779
dependency. (Robert Collins)
2781
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
2782
parameter for controlling opening of stacked branches.
2783
(Andrew Bennetts, Robert Collins)
2785
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
2786
in terms of an iter_changes iterator rather than full tree scanning.
2789
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
2790
enabling it to store the SHA1 and stat of the canonical (post
2791
content filtered) form. (Ian Clatworthy)
2793
* New ``assertLength`` method based on one Martin has squirreled away
2794
somewhere. (Robert Collins, Martin Pool)
2796
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
2797
objects, allowing better enforcement of the smart server jail when
2798
dealing with stacked branches. (Robert Collins, Andrew Bennetts)
2800
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries
2801
to be added to the stanza that is printed for a particular revision.
2804
* New repository method ``refresh_data`` to cause any repository to
2805
make visible data inserted into the repository by a smart server
2806
fetch operation. (Robert Collins, Andrew Bennetts)
2808
* ``register_filter_stack_map`` now takes an optional fallback parameter,
2809
a callable to invoke if a preference has a value not in the map
2810
of filter stacks. This enhancement allows, for example, bzr-svn to
2811
handle existing svn properties that define a list of keywords to be
2812
expanded. (Ian Clatworthy)
2814
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
2815
to write config settings to smart servers that support this, saving
2816
5 round trips on the stacked streaming acceptance test.
2817
(Robert Collins, Andrew Bennetts)
2819
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
2820
branch specific configuration from a remote server, which uses the
2821
already existing ``Branch.get_config_file`` smart verb.
2822
(Robert Collins, Andrew Bennetts)
2824
* ``RemoteRepository`` will now negatively cache missing revisions during
2825
``get_parent_map`` while read-locked. Write-locks are unaffected.
2826
(Robert Collins, Andrew Bennetts)
2828
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
2829
``InterPackToRemotePack`` classes, as they are now unnecessary.
2832
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
2833
whether the repository can efficiently generate deltas between trees
2834
regardless of tree size. (Robert Collins)
2836
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
2837
byte strings" (aka 'chunked') for the content. It previously was
2838
returning a plain string, which worked, but performed very poorly when
2839
building a working tree (file.writelines(str) is very inefficient). This
2840
can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
2842
* selftest now supports a --parallel option, with values of 'fork' or
2843
'subprocess' to run the test suite in parallel. Currently only linux
2844
machine work, other platforms need patches submitted. (Robert Collins,
2847
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of
2848
callables to use to decorate the test suite. Such decorators can add or
2849
remove tests, or even remote the test suite to another machine if
2850
desired. (Robert Collins)
2852
* The smart server verb ``Repository.get_parent_map`` can now include
2853
information about ghosts when the special revision ``include-missing:``
2854
is in the requested parents map list. With this flag, ghosts are
2855
included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
2857
* ``_walk_to_common_revisions`` will now batch up at least 50
2858
revisions before calling ``get_parent_map`` on the target,
2859
regardless of ``InterRepository``.
2860
(Andrew Bennetts, Robert Collins)
2865
:Codename: paraskavedekatriaphobia
2867
:1.13rc1: 2009-03-10
2871
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``. Debug
2872
flags can now be set in ``~/.bazaar/bazaar.conf``. Lightweight checkouts and
2873
stacked branches should both be much faster over remote connections.
2875
Changes From 1.13.1 to 1.13.2
2876
*****************************
2878
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
2879
a stacked branch they do not take care to push all the parent inventories for
2880
the transferred revisions. This means that a smart server serving that branch
2881
often cannot calculate inventory deltas for the branch (because smart server
2882
does not/cannot open fallback repositories). Prior to 1.13 the server did not
2883
have a verb to stream revisions out of a repository, so that's why this bug has
2889
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
2890
attribute 'get_bytes_as' exception while pulling from Launchpad
2891
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
2893
Changes From 1.13final to 1.13.1
2894
********************************
2896
A couple regessions where found in the 1.13 release. The pyrex-generated C
2897
extensions are missing from the .tar.gz and .zip files. Documentation on how
2898
to generate GNU ChangeLogs is wrong.
2903
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
2904
version_info. (Bob Tanner, Martin Pool, #345232)
2906
* Distribution archives for 1.13 do not contain generated C extension modules
2907
(Jean-Francois Roy, Bob Tanner, #344465)
2909
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
2910
incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
2912
* ``merge --force`` works again. (Robert Collins, #342105)
2914
Changes From 1.13rc1 to 1.13final
2915
*********************************
2917
* Fix "is not a stackable format" error when pushing a
2918
stackable-format branch with an unstackable-format repository to a
2919
destination with a default stacking policy. (Andrew Bennetts)
2921
* Progress bars now show the rate of network activity for
2922
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
2924
Compatibility Breaks
2925
********************
2927
* ``bzr log --line`` now indicates which revisions are merges with
2928
`[merge]` after the date. Scripts which parse the output of this
2929
command may need to be adjusted.
2930
(Neil Martinsen-Burrell)
2935
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
2936
options to change the default tree-creation policy of shared
2937
repositories. (Matthew Fuller, Marius Kruger, #145033)
2939
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
2942
* Filtered views provide a mask over the tree so that users can focus
2943
on a subset of a tree when doing their work. See ``Filtered views``
2944
in chapter 7 of the User Guide and ``bzr help view`` for details.
2947
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
2948
(Andrea Bolognani, Martin Pool)
2950
* The ``-Dmemory`` flag now gives memory information on Windows.
2951
(John Arbash Meinel)
2953
* Multiple authors for a commit can now be recorded by using the "--author"
2954
option multiple times. (James Westby, #185772)
2956
* New clean-tree command, from bzrtools. (Aaron Bentley, Jelmer Vernooij)
2958
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
2959
branch in your web browser, as long as the branch is on Launchpad at all.
2962
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
2968
* All bzr ``Hooks`` classes are now registered in
2969
``bzrlib.hooks.known_hooks``. This removes the separate list from
2970
``bzrlib.tests`` and ensures that all hooks registered there are
2971
correctly isolated by the test suite (previously
2972
``MutableTreeHooks`` were not being isolated correctly). Further,
2973
documentation for hooks is now dynamically generated from the
2974
present HookPoints. ``bzr hooks`` will now also report on all the
2975
hooks present in the ``bzrlib.hooks.known_hooks`` registry.
2978
* ``bzr add`` no longer prints ``add completed`` on success. Failure
2979
still prints an error message. (Robert Collins)
2981
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
2982
generation of a working tree in the new branch.
2983
(Daniel Watkins, John Klinger, #273993)
2985
* Bazaar will now point out ``bzr+ssh://`` to the user when they
2986
use ssh://. (Jelmer Vernooij, #330535)
2988
* ``bzr -v info`` now omits the number of committers branch statistic,
2989
making it many times faster for large projects. To include that
2990
statistic in the output, use ``bzr -vv info``.
2993
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
2994
stream if the server is version 1.13 or greater, reducing roundtrips
2995
significantly. (Andrew Bennetts, Robert Collins)
2997
* Lightweight Checkouts and Stacked Branches should both be much
2998
faster over remote connections. Building the working tree now
2999
batches up requests into approx 5MB requests, rather than a separate
3000
request for each file. (John Arbash Meinel)
3002
* Support for GSSAPI authentication when using HTTP or HTTPS.
3005
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
3006
short options better. (Daniel Watkins, #327429)
3008
* ``bzr lp-open`` now falls back to the push location if it cannot find a
3009
public location. (Jonathan Lange, #332372)
3011
* ``bzr lp-open`` will try to find the Launchpad URL for the location
3012
passed on the command line. This makes ``bzr lp-open lp:foo`` work as
3013
expected. (Jonathan Lange, #332705)
3015
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
3020
* Allows ``bzr log <FILE>`` to be called in an empty branch without
3021
backtracing. (Vincent Ladeuil, #346431)
3023
* Bazaar now gives a better message including the filename if it's
3024
unable to read a file in the working directory, for example because
3025
of a permission error. (Martin Pool, #338653)
3027
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
3028
file id in the working tree different from the one in revision <old>.
3029
(Vincent Ladeuil, #341517, #253806)
3031
* ``bzr send`` help is more specific about how to apply merge
3032
directives. (Neil Martinsen-Burrell, #253470)
3034
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
3035
than fetching trees and determining a delta itself. (Jelmer
3038
* ``bzr push`` to a smart server no longer causes "Revision
3039
{set([('null:',)])} not present ..." errors when the branch has
3040
multiple root revisions. (Andrew Bennetts, #317654)
3042
* ``bzr shelve`` now properly handle patches with no terminating newline.
3043
(Benoît PIERRE, #303569)
3045
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
3046
shelf id. (Daniel Watkins)
3048
* Export now handles files that are not present in the tree.
3049
(James Westby, #174539)
3051
* Fixed incorrect "Source format does not support stacking" warning
3052
when pushing to a smart server. (Andrew Bennetts, #334114)
3054
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
3055
error branching from old repositories.
3056
(Martin Pool, #321695)
3058
* Make ``bzr push --quiet <non-local location>`` less chatty.
3059
(Kent Gibson, #221461)
3061
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
3062
branches, and this was not noticed due to a bug in the test logic
3063
for branches. This is now fixed and a test added to prevent it
3064
reoccuring. (Robert Collins, Andrew Bennetts)
3066
* Restore the progress bar on Windows. We were disabling it when TERM
3067
wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
3070
* ``setup.py build_ext`` now gives a proper error when an extension
3071
fails to build. (John Arbash Meinel)
3073
* Symlinks to non ascii file names are now supported.
3074
(Robert Collins, Vincent Ladeuil, #339055, #272444)
3076
* Under rare circumstances (aka nobody reported a bug about it), the ftp
3077
transport could revert to ascii mode. It now stays in binary mode except
3078
when needed. (Vincent Ladeuil)
3080
* Unshelve does not generate warnings about progress bars.
3081
(Aaron Bentley, #328148)
3083
* shelve cleans up properly when unversioned files are specified.
3084
(Benoît Pierre, Aaron Bentley)
3089
* Added ``Organizing your workspace`` to the User Guide appendices,
3090
summarizing some common ways of organizing trees, branches and
3091
repositories and the processes/workflows implied/enabled by each.
3094
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
3095
is the entry point for this feature. (Robert Collins)
3097
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
3098
(Daniel Watkins, #327421, #327425)
3103
* ``bzr selftest`` now fails if the bazaar sources contain trailing
3104
whitespace, non-unix style line endings and files not ending in a
3105
newline. About 372 files and 3243 lines with trailing whitespace was
3106
updated to comply with this. The code already complied with the other
3107
criteria, but now it is enforced. (Marius Kruger)
3109
* ``bzrlib.branch.PushResult`` was renamed to
3110
``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
3112
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
3113
than a count of copied revisions and failed revisions. A while back
3114
we stopped ever reporting failed revisions because we started
3115
erroring instead, and the copied revisions count is not used in the
3116
UI at all - indeed it only reflects the repository status not
3117
changes to the branch itself. (Robert Collins)
3119
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
3120
appears multiple times within the delta. (Ian Clatworthy)
3122
* MutableTree.commit now favours the "authors" argument, with the old
3123
"author" argument being deprecated.
3125
* Remove deprecated EmptyTree. (Martin Pool)
3127
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
3128
parameter. A ``SearchResult`` or ``MiniSearchResult`` may be passed
3129
to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
3130
which revisions to fetch. (Andrew Bennetts)
3132
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
3133
tuple of ``(repository, is_new_flag)``, rather than just the
3134
repository. (Andrew Bennetts)
3136
* Revision.get_apparent_author() is now deprecated, replaced by
3137
Revision.get_apparent_authors(), which returns a list. The former
3138
now returns the first item that would be returned from the second.
3140
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
3141
parameter to ``build_commit`` and ``build_snapshot``. (Martin Pool)
3143
* The ``_fetch_*`` attributes on ``Repository`` are now on
3144
``RepositoryFormat``, more accurately reflecting their intent (they
3145
describe a disk format capability, not state of a particular
3146
repository of that format). (Robert Collins)
3151
* Branching from a non-stacked branch on a smart protocol is now
3152
free of virtual file system methods.
3153
(Robert Collins, Andrew Bennetts)
3155
* Branch and Repository creation on a bzr+ssh://server are now done
3156
via RPC calls rather than VFS calls, reducing round trips for
3157
pushing new branches substantially. (Robert Collins)
3159
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
3160
inside ``BzrDir.clone_on_transport``, allowing stacking to be
3161
configured before the branch tags and revision tip are set. This
3162
fixes a race condition cloning stacked branches that would cause
3163
plugins to have hooks called on non-stacked instances.
3164
(Robert Collins, #334187)
3166
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
3168
* ``BzrDirFormat.__str__`` now uses the human readable description
3169
rather than the sometimes-absent disk label. (Robert Collins)
3171
* ``bzrlib.fetch`` is now composed of a sender and a sink component
3172
allowing for decoupling over a network connection. Fetching from
3173
or into a RemoteRepository with a 1.13 server will use this to
3174
stream the operation.
3175
(Andrew Bennetts, Robert Collins)
3177
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
3178
supporting the use of different runners. (Robert Collins)
3180
* Change how file_ids and revision_ids are interned as part of
3181
inventory deserialization. Now we use the real ``intern()``, rather
3182
than our own workaround that would also cache a Unicode copy of the
3183
string, and never emptied the cache. This should slightly reduce
3184
memory consumption. (John Arbash Meinel)
3186
* New branch method ``create_clone_on_transport`` that returns a
3187
branch object. (Robert Collins)
3189
* New hook Commands['extend_command'] to allow plugins to access a
3190
command object before the command is run (or help generated from
3191
it), without overriding the command. (Robert Collins)
3193
* New version of the ``BzrDir.find_repository`` verb supporting
3194
``_network_name`` to support removing more _ensure_real calls.
3197
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
3200
* ``Repository`` objects now have ``suspend_write_group`` and
3201
``resume_write_group`` methods. These are currently only useful
3202
with pack repositories. (Andrew Bennetts, Robert Collins)
3204
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
3205
now have a ``network_name`` for passing the format across RPC calls.
3206
(Robert Collins, Andrew Bennetts)
3208
* ``RepositoryFormat`` objects now all have a new attribute
3209
``_serializer`` used by fetch when reserialising is required.
3210
(Robert Collins, Andrew Bennetts)
3212
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
3213
to aid branch types that are not bzr branch objects (like
3214
RemoteBranch). (Robert Collins, Andrew Bennetts)
3216
* Test adaptation has been made consistent throughout the built in
3217
tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
3218
``adapt_tests``, ``adapt_modules`` have all been deleted. Please
3219
use ``multiply_tests``, or for lower level needs ``apply_scenarios``
3220
and ``apply_scenario``. (Robert Collins)
3222
* ``TestSkipped`` is now detected by TestCase and passed to the
3223
``TestResult`` by calling ``addSkip``. For older TestResult objects,
3224
where ``addSkip`` is not available, ``addError`` is still called.
3225
This permits test filtering in subunit to strip out skipped tests
3226
resulting in a faster fix-shrink-list-run cycle. This is compatible
3227
with the testtools protocol for skips. (Robert Collins)
3229
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
3230
to scan an underlying index that is going to be incorporated into
3231
the ``KnitVersionedFiles`` object, to determine if it has missing
3232
delta references. The method is ``scan_unvalidated_index``.
3233
(Andrew Bennetts, Robert Collins)
3235
* There is a RemoteSink object which handles pushing to smart servers.
3236
(Andrew Bennetts, Robert Collins)
3238
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
3239
``rmdir`` calls. (Robert Collins)
3241
* ``VersionedFiles`` record adapters have had their signature change
3242
from ``(record, record.get_bytes_as(record.storage_kind))`` to
3243
``(record)`` reducing excess duplication and allowing adapters
3244
to access private data in record to obtain content more
3245
efficiently. (Robert Collins)
3247
* We no longer probe to see if we should create a working tree during
3248
clone if we cannot get a local_abspath for the new bzrdir.
3255
:Codename: 1234567890
3257
:1.12rc1: 2009-02-10
3259
This release of Bazaar contains many improvements to the speed,
3260
documentation and functionality of ``bzr log`` and the display of logged
3261
revisions by ``bzr status``. bzr now also gives a better indication of
3262
progress, both in the way operations are drawn onto a text terminal, and
3263
by showing the rate of network IO.
3265
Changes from RC1 to Final
3266
*************************
3268
* ``bzr init --development-wt5[-rich-root]`` would fail because of
3269
circular import errors. (John Arbash Meinel, #328135)
3271
* Expanded the help for log and added a new help topic called
3272
``log-formats``. (Ian Clatworthy)
3274
Compatibility Breaks
3275
********************
3277
* By default, ``bzr status`` after a merge now shows just the pending
3278
merge tip revisions. This improves the signal-to-noise ratio after
3279
merging from trunk and completes much faster. To see all merged
3280
revisions, use the new ``-v`` flag. (Ian Clatworthy)
3282
* ``bzr log --line`` now shows any tags after the date and before
3283
the commit message. If you have scripts which parse the output
3284
from this command, you may need to adjust them accordingly.
3287
* ``bzr log --short`` now shows any additional revision properties
3288
after the date and before the commit message. Scripts that parse
3289
output of the log command in this situation may need to adjust.
3290
(Neil Martinsen-Burrell)
3292
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
3293
have been renamed ``development-wt5`` and ``development-wt5-rich-root``
3294
respectively, given they are not ready for release in 1.12.
3297
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
3302
* Add support for filtering ``bzr missing`` on revisions. Remote revisions
3303
can be filtered using ``bzr missing -r -20..-10`` and local revisions can
3304
be filtered using ``bzr missing --my-revision -20..-10``.
3307
* ``bzr log -p`` displays the patch diff for each revision.
3308
When logging a file, the diff only includes changes to that file.
3309
(Ian Clatworthy, #202331, #227335)
3311
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
3312
A value of 0 (zero) means "show all nested merge revisions" while
3313
a value of 1 (one) means "show just the top level". Values above
3314
1 can be used to see a limited amount of nesting. That can be
3315
useful for seeing the level or two below PQM submits for example.
3316
To force the ``--short`` and ``--line`` formats to display all nested
3317
merge revisions just like ``--long`` does by default, use a command
3318
like ``bzr log --short -n0``. To display just the mainline using
3319
``--long`` format, ``bzr log --long -n1``.
3325
* ``bzr add`` more clearly communicates success vs failure.
3328
* ``bzr init`` will now print a little less verbose output.
3331
* ``bzr log`` is now much faster in many use cases, particularly
3332
at incrementally displaying results and filtering by a
3333
revision range. (Ian Clatworthy)
3335
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
3336
for each revision. The tags are shown comma-separated inside
3337
``{}``. For short format, the tags appear at the end of line
3338
before the optional ``[merge]`` indicator. For line format,
3339
the tags appear after the date. (Ian Clatworthy)
3341
* Progress bars now show the rate of activity for some sftp
3342
operations, and they are drawn different. (Martin Pool, #172741)
3344
* Progress bars now show the rate of activity for urllib and pycurl based
3345
http client implementations. The operations are tracked at the socket
3346
level for better precision.
3349
* Rule-based preferences can now accept multiple patterns for a set of
3350
rules. (Marius Kruger)
3352
* The ``ancestor:`` revision spec will now default to referring to the
3353
parent of the branch if no other location is given.
3354
(Daniel Watkins, #198417)
3356
* The debugger started as a result of setting ``$BZR_PDB`` works
3357
around a bug in ``pdb``, http://bugs.python.org/issue4150. The bug
3358
can cause truncated tracebacks in Python versions before 2.6.
3361
* VirtualVersionedFiles now implements
3362
``iter_lines_added_or_present_in_keys``. This allows the creation of
3363
new branches based on stacked bzr-svn branches. (#311997)
3368
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
3370
(Anne Mohsen, Vincent Ladeuil, #314525)
3372
* ``bzr log FILE`` now correctly shows mainline revisions merging
3373
a change to FILE when the ``--short`` and ``--line`` log formats
3374
are used. (Ian Clatworthy, #317417)
3376
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
3377
it existed in Y or X, even if the file has since been deleted or
3378
renamed. If no range is given, the current/basis tree and
3379
initial tree are searched in that order. More generally, log
3380
now interprets filenames in their historical context.
3381
(Ian Clatworthy, #175520)
3383
* ``bzr status`` now reports nonexistent files and continues, then
3384
errors (with code 3) at the end. (Karl Fogel, #306394)
3386
* Don't require the present compression base in knits to be the same
3387
when adding records in knits. (Jelmer Vernooij, #307394)
3389
* Fix a problem with CIFS client/server lag on Windows colliding with
3390
an invariant-per-process algorithm for generating AtomicFile names
3391
(Adrian Wilkins, #304023)
3393
* Many socket operations now handle EINTR by retrying the operation.
3394
Previously EINTR was treated as an unrecoverable failure. There is
3395
a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
3398
* Support symlinks with non-ascii characters in the symlink filename.
3399
(Jelmer Vernooij, #319323)
3401
* There was a bug in how we handled resolving when a file is deleted
3402
in one branch, and modified in the other. If there was a criss-cross
3403
merge, we would cause the deletion to conflict a second time.
3404
(Vincent Ladeuil, John Arbash Meinel)
3406
* There was another bug in how we chose the correct intermediate LCA in
3407
criss-cross merges leading to several kind of changes be incorrectly
3409
(John Arbash Meinel, Vincent Ladeuil)
3411
* Unshelve now handles deleted paths without crashing. (Robert Collins)
3416
* Improved plugin developer documentation. (Martin Pool)
3421
* ``ProgressBarStack`` is deprecated; instead use
3422
``ui_factory.nested_progress_bar`` to create new progress bars.
3425
* ForeignVcsMapping() now requires a ForeignVcs object as first
3426
argument. (Jelmer Vernooij)
3428
* ForeignVcsMapping.show_foreign_revid() has been moved to
3429
ForeignVcs. (Jelmer Vernooij)
3431
* ``read_bundle_from_url`` is deprecated in favor of
3432
``read_mergeable_from_url``. (Vincent Ladeuil)
3434
* Revision specifiers are now registered in
3435
``bzrlib.revisionspec.revspec_registry``, and the old list of
3436
revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
3437
deprecated. (Jelmer Vernooij, #321183)
3439
* The progress and UI classes have changed; the main APIs remain the
3440
same but code that provides a new UI or progress bar class may
3441
need to be updated. (Martin Pool)
3446
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
3447
terminal. It is sometimes desirable do override this default by forcing
3448
bzr to use TextUIFactory. This can be achieved by setting the
3449
BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
3450
compile buffers, are such an example).
3453
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
3454
``(revision_id, depth, revno, end_of_merge)`` tuples.
3457
* New ``Branch.dotted_revno_to_revision_id()`` and
3458
``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
3459
efficient way of doing the mapping.
3462
* Refactor cmd_serve so that it's a little easier to build commands that
3463
extend it, and perhaps even a bit easier to read. (Jonathan Lange)
3465
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
3466
formatters to retrict the output.
3473
:Codename: "Eyes up!"
3474
:Released: 2009-01-19
8
bzr 1.11rc1 "Eyes up!" 2009-01-09
9
---------------------------------
3476
11
This first monthly release of Bazaar for 2009 improves Bazaar's operation
3477
12
in Windows, Mac OS X, and other situations where file names are matched
5908
2266
substantially faster. Several bugs have been fixed and several new options and
5909
2267
features have been added.
5914
* Avoid spurious failure of ``TestVersion.test_version`` matching
5916
(#202778, Martin Pool)
5922
:Released: 2008-03-16
5924
Notes When Upgrading
5925
********************
5927
* The backup directory created by ``upgrade`` is now called
5928
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
5933
* A new repository format 'development' has been added. This format will
5934
represent the latest 'in-progress' format that the bzr developers are
5935
interested in getting early-adopter testing and feedback on.
5936
``doc/developers/development-repo.txt`` has detailed information.
5939
* BZR_LOG environment variable controls location of .bzr.log trace file.
5940
User can suppress writing messages to .bzr.log by using '/dev/null'
5941
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
5942
is not defined but BZR_HOME is defined then default location
5943
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
5944
(Alexander Belchenko, #106117)
5946
* ``launchpad`` builtin plugin now shipped as separate part in standalone
5947
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
5948
and standalone installer allows user to skip installation of this plugin.
5949
(Alexander Belchenko)
5951
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
5953
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
5954
missing final fields. (Martin Pool)
5959
* ``branch`` and ``checkout`` can hard-link working tree files, which is
5960
faster and saves space. (Aaron Bentley)
5962
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
5963
the submit branch to determine the email address to send to.
5969
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
5971
* Branch6.generate_revision_history is faster. (Aaron Bentley)
5973
* Directory services can now be registered, allowing special URLs to be
5974
dereferenced into real URLs. This is a generalization and cleanup of
5975
the lp: transport lookup. (Aaron Bentley)
5977
* Merge directives that are automatically attached to emails have nicer
5978
filenames, based on branch-nick + revno. (Aaron Bentley)
5980
* ``push`` has a ``--revision`` option, to specify what revision to push up
5981
to. (Daniel Watkins)
5983
* Significantly reducing execution time and network traffic for trivial
5984
case of running ``bzr missing`` command for two identical branches.
5985
(Alexander Belchenko)
5987
* Speed up operations that look at the revision graph (such as 'bzr log').
5988
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
5989
extract the revision history. This allows filtering ghosts while
5990
stepping instead of needing to peek ahead. (John Arbash Meinel)
5992
* The ``hooks`` command lists installed hooks, to assist in debugging.
5995
* Updates to how ``annotate`` work. Should see a measurable improvement in
5996
performance and memory consumption for file with a lot of merges.
5997
Also, correctly handle when a line is introduced by both parents (it
5998
should be attributed to the first merge which notices this, and not
5999
to all subsequent merges.) (John Arbash Meinel)
6004
* Autopacking no longer holds the full set of inventory lines in
6005
memory while copying. For large repositories, this can amount to
6006
hundreds of MB of ram consumption.
6007
(Ian Clatworthy, John Arbash Meinel)
6009
* Cherrypicking when using ``--format=merge3`` now explictly excludes
6010
BASE lines. (John Arbash Meinel, #151731)
6012
* Disable plink's interactive prompt for password.
6013
(#107593, Dmitry Vasiliev)
6015
* Encode command line arguments from unicode to user_encoding before
6016
invoking external mail client in `bzr send` command.
6017
(#139318, Alexander Belchenko)
6019
* Fixed problem connecting to ``bzr+https://`` servers.
6020
(#198793, John Ferlito)
6022
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
6025
* Include quick-start-summary.svg file to python-based installer(s)
6026
for Windows. (#192924, Alexander Belchenko)
6028
* lca merge now respects specified files. (Aaron Bentley)
6030
* Make version-info --custom imply --all. (#195560, James Westby)
6032
* ``merge --preview`` now works for merges that add or modify
6033
symlinks (James Henstridge)
6035
* Redirecting the output from ``bzr merge`` (when the remembered
6036
location is used) now works. (John Arbash Meinel)
6038
* setup.py script explicitly checks for Python version.
6039
(Jari Aalto, Alexander Belchenko, #200569)
6041
* UnknownFormatErrors no longer refer to branches regardless of kind of
6042
unknown format. (Daniel Watkins, #173980)
6044
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
6045
signs, among other small improvements. (Matt Nordhoff, #86838)
6047
* Use correct indices when emitting LCA conflicts. This fixes IndexError
6048
errors. (Aaron Bentley, #196780)
6053
* Explained how to use ``version-info --custom`` in the User Guide.
6054
(Neil Martinsen-Burrell)
6059
* Support for loading plugins from zip files and
6060
``bzrlib.plugin.load_from_zip()`` function are deprecated.
6061
(Alexander Belchenko)
6066
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
6068
* The branch interface tests were invalid for branches using rich-root
6069
repositories because the empty string is not a valid file-id.
6075
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
6076
``Repository.get_revision_graph()`` except it includes ghosts and you can
6077
stop part-way through. (John Arbash Meinel)
6079
* New module ``tools/package_mf.py`` provide custom module finder for
6080
python packages (improves standard python library's modulefinder.py)
6081
used by ``setup.py`` script while building standalone bzr.exe.
6082
(Alexander Belchenko)
6084
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
6085
detecting external lookup support on remote repositories. This method is
6086
now attempted first when lookup up repositories, leading to an extra
6087
round trip on older bzr smart servers. (Robert Collins)
6089
* Repository formats have a new supported-feature attribute
6090
``supports_external_lookups`` used to indicate repositories which support
6091
falling back to other repositories when they have partial data.
6094
* ``Repository.get_revision_graph_with_ghosts`` and
6095
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
6096
have been deprecated. (John Arbash Meinel)
6098
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
6099
``Tree._iter_changes``. The api is now considered stable and ready for
6100
external users. (Aaron Bentley)
6102
* The bzrdir format registry now accepts an ``alias`` keyword to
6103
register_metadir, used to indicate that a format name is an alias for
6104
some other format and thus should not be reported when describing the
6105
format. (Robert Collins)
6111
:Released: 2008-02-15
6116
* Fix failing test in Launchpad plugin. (Martin Pool)
6122
:Released: 2008-02-13
6124
Notes When Upgrading
6125
********************
6127
* Fetching via the smart protocol may need to reconnect once during a fetch
6128
if the remote server is running Bazaar 1.1 or earlier, because the client
6129
attempts to use more efficient requests that confuse older servers. You
6130
may be required to re-enter a password or passphrase when this happens.
6131
This won't happen if the server is upgraded to Bazaar 1.2.
6137
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
6138
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
6140
* Formatting of ``bzr plugins`` output is changed to be more human-
6141
friendly. Full path of plugins locations will be shown only with
6142
``--verbose`` command-line option. (Alexander Belchenko)
6144
* ``merge`` now prefers to use the submit branch, but will fall back to
6145
parent branch. For many users, this has no effect. But some users who
6146
pull and merge on the same branch will notice a change. This change
6147
makes it easier to work on a branch on two different machines, pulling
6148
between the machines, while merging from the upstream.
6149
``merge --remember`` can now be used to set the submit_branch.
6155
* ``merge --preview`` produces a diff of the changes merge would make,
6156
but does not actually perform the merge. (Aaron Bentley)
6158
* New smart method ``Repository.get_parent_map`` for getting revision
6159
parent data. This returns additional parent information topologically
6160
adjacent to the requested data to reduce round trip latency impacts.
6163
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
6164
revision data that streams revision data via a chunked encoding. This
6165
avoids buffering large amounts of revision data on the server and on the
6166
client, and sends less data to the server to request the revisions.
6167
(Andrew Bennetts, Robert Collins, #178353)
6169
* The launchpad plugin now handles lp urls of the form
6170
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
6171
launchpad instance to do the resolution of the branch identities.
6172
This is primarily of use to Launchpad developers, but can also
6173
be used by other users who want to try out Launchpad as
6174
a branch location without messing up their public Launchpad
6175
account. Branches that are pushed to the staging environment
6176
have an expected lifetime of one day. (Tim Penhey)
6181
* Creating a new branch no longer tries to read the entire revision-history
6182
unnecessarily over smart server operations. (Robert Collins)
6184
* Fetching between different repository formats with compatible models now
6185
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
6187
* The ``--coverage`` option is now global, rather specific to ``bzr
6188
selftest``. (Andrew Bennetts)
6190
* The ``register-branch`` command will now use the public url of the branch
6191
containing the current directory, if one has been set and no explicit
6192
branch is provided. (Robert Collins)
6194
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
6195
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
6196
(John Arbash Meinel)
6201
* Calculate remote path relative to the shared medium in _SmartClient. This
6202
is related to the problem in bug #124089. (Andrew Bennetts)
6204
* Cleanly handle connection errors in smart protocol version two, the same
6205
way as they are handled by version one. (Andrew Bennetts)
6207
* Clearer error when ``version-info --custom`` is used without
6208
``--template`` (Lukáš Lalinský)
6210
* Don't raise UnavailableFeature during test setup when medusa is not
6211
available or tearDown is never called leading to nasty side effects.
6212
(#137823, Vincent Ladeuil)
6214
* If a plugin's test suite cannot be loaded, for example because of a syntax
6215
error in the tests, then ``selftest`` fails, rather than just printing
6216
a warning. (Martin Pool, #189771)
6218
* List possible values for BZR_SSH environment variable in env-variables
6219
help topic. (Alexander Belchenko, #181842)
6221
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
6222
popping the log redirection now precisely restores the previous state,
6223
which makes it easier to use bzr log output from other programs.
6224
TestCaseInTempDir no longer depends on a log redirection being established
6225
by the test framework, which lets bzr tests cleanly run from a normal
6227
(#124153, #124849, Martin Pool, Jonathan Lange)
6229
* ``pull --quiet`` is now more quiet, in particular a message is no longer
6230
printed when the remembered pull location is used. (James Westby,
6233
* ``reconfigure`` can safely be interrupted while fetching.
6234
(Aaron Bentley, #179316)
6236
* ``reconfigure`` preserves tags when converting to and from lightweight
6237
checkouts. (Aaron Bentley, #182040)
6239
* Stop polluting /tmp when running selftest.
6240
(Vincent Ladeuil, #123363)
6242
* Switch from NFKC => NFC for normalization checks. NFC allows a few
6243
more characters which should be considered valid.
6244
(John Arbash Meinel, #185458)
6246
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
6247
interacting badly with a bug on the launchpad side. (Robert Collins)
6249
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
6250
tracebacks. (Andrew Bennetts, #182849)
6255
* Classes implementing Merge types like Merge3Merger must now accept (and
6256
honour) a do_merge flag in their constructor. (Aaron Bentley)
6258
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
6259
to previously take a write lock (and start a write group.)
6265
* selftest now accepts --load-list <file> to load a test id list. This
6266
speeds up running the test suite on a limited set of tests.
6272
* Add a new method ``get_result`` to graph search objects. The resulting
6273
``SearchResult`` can be used to recreate the search later, which will
6274
be useful in reducing network traffic. (Robert Collins)
6276
* Use convenience function to check whether two repository handles
6277
are referring to the same repository in ``Repository.get_graph``.
6278
(Jelmer Vernooij, #187162)
6280
* Fetching now passes the find_ghosts flag through to the
6281
``InterRepository.missing_revision_ids`` call consistently for all
6282
repository types. This will enable faster missing revision discovery with
6283
bzr+ssh. (Robert Collins)
6285
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
6287
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
6288
``InterRepository.search_missing_revision_ids`` which returns a
6289
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
6290
server. (Robert Collins)
6292
* New error ``NoPublicBranch`` for commands that need a public branch to
6293
operate. (Robert Collins)
6295
* New method ``iter_inventories`` on Repository for access to many
6296
inventories. This is primarily used by the ``revision_trees`` method, as
6297
direct access to inventories is discouraged. (Robert Collins)
6299
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
6300
which will split out ghosts and present parents into two separate sets,
6301
useful for code which needs to be aware of ghosts (e.g. fetching data
6302
cares about ghosts during revision selection). (Robert Collins)
6304
* Record a timestamp against each mutter to the trace file, relative to the
6305
first import of bzrlib. (Andrew Bennetts)
6307
* ``Repository.get_data_stream`` is now deprecated in favour of
6308
``Repository.get_data_stream_for_search`` which allows less network
6309
traffic when requesting data streams over a smart server. (Robert Collins)
6311
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
6312
removing one round trip on many network operations. (Robert Collins)
6314
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
6315
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
6317
* Repository has a new method ``has_revisions`` which signals the presence
6318
of many revisions by returning a set of the revisions listed which are
6319
present. This can be done by index queries without reading data for parent
6320
revision names etc. (Robert Collins)
6326
:Released: 2008-01-15
2271
* Avoid spurious failure of ``TestVersion.test_version`` matching
2273
(#202778, Martin Pool)
2276
bzr 1.3rc1 2008-03-16
2277
---------------------
2279
NOTES WHEN UPGRADING:
2281
* The backup directory created by ``upgrade`` is now called
2282
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
2286
* A new repository format 'development' has been added. This format will
2287
represent the latest 'in-progress' format that the bzr developers are
2288
interested in getting early-adopter testing and feedback on.
2289
``doc/developers/development-repo.txt`` has detailed information.
2292
* BZR_LOG environment variable controls location of .bzr.log trace file.
2293
User can suppress writing messages to .bzr.log by using '/dev/null'
2294
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
2295
is not defined but BZR_HOME is defined then default location
2296
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
2297
(Alexander Belchenko, #106117)
2299
* ``launchpad`` builtin plugin now shipped as separate part in standalone
2300
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
2301
and standalone installer allows user to skip installation of this plugin.
2302
(Alexander Belchenko)
2304
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
2306
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
2307
missing final fields. (Martin Pool)
2311
* ``branch`` and ``checkout`` can hard-link working tree files, which is
2312
faster and saves space. (Aaron Bentley)
2314
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
2315
the submit branch to determine the email address to send to.
2320
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
2322
* Branch6.generate_revision_history is faster. (Aaron Bentley)
2324
* Directory services can now be registered, allowing special URLs to be
2325
dereferenced into real URLs. This is a generalization and cleanup of
2326
the lp: transport lookup. (Aaron Bentley)
2328
* Merge directives that are automatically attached to emails have nicer
2329
filenames, based on branch-nick + revno. (Aaron Bentley)
2331
* ``push`` has a ``--revision`` option, to specify what revision to push up
2332
to. (Daniel Watkins)
2334
* Significantly reducing execution time and network traffic for trivial
2335
case of running ``bzr missing`` command for two identical branches.
2336
(Alexander Belchenko)
2338
* Speed up operations that look at the revision graph (such as 'bzr log').
2339
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
2340
extract the revision history. This allows filtering ghosts while
2341
stepping instead of needing to peek ahead. (John Arbash Meinel)
2343
* The ``hooks`` command lists installed hooks, to assist in debugging.
2346
* Updates to how ``annotate`` work. Should see a measurable improvement in
2347
performance and memory consumption for file with a lot of merges.
2348
Also, correctly handle when a line is introduced by both parents (it
2349
should be attributed to the first merge which notices this, and not
2350
to all subsequent merges.) (John Arbash Meinel)
2354
* Autopacking no longer holds the full set of inventory lines in
2355
memory while copying. For large repositories, this can amount to
2356
hundreds of MB of ram consumption.
2357
(Ian Clatworthy, John Arbash Meinel)
2359
* Cherrypicking when using ``--format=merge3`` now explictly excludes
2360
BASE lines. (John Arbash Meinel, #151731)
2362
* Disable plink's interactive prompt for password.
2363
(#107593, Dmitry Vasiliev)
2365
* Encode command line arguments from unicode to user_encoding before
2366
invoking external mail client in `bzr send` command.
2367
(#139318, Alexander Belchenko)
2369
* Fixed problem connecting to ``bzr+https://`` servers.
2370
(#198793, John Ferlito)
2372
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
2375
* Include quick-start-summary.svg file to python-based installer(s)
2376
for Windows. (#192924, Alexander Belchenko)
2378
* lca merge now respects specified files. (Aaron Bentley)
2380
* Make version-info --custom imply --all. (#195560, James Westby)
2382
* ``merge --preview`` now works for merges that add or modify
2383
symlinks (James Henstridge)
2385
* Redirecting the output from ``bzr merge`` (when the remembered
2386
location is used) now works. (John Arbash Meinel)
2388
* setup.py script explicitly checks for Python version.
2389
(Jari Aalto, Alexander Belchenko, #200569)
2391
* UnknownFormatErrors no longer refer to branches regardless of kind of
2392
unknown format. (Daniel Watkins, #173980)
2394
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
2395
signs, among other small improvements. (Matt Nordhoff, #86838)
2397
* Use correct indices when emitting LCA conflicts. This fixes IndexError
2398
errors. (Aaron Bentley, #196780)
2402
* Explained how to use ``version-info --custom`` in the User Guide.
2403
(Neil Martinsen-Burrell)
2407
* Support for loading plugins from zip files and
2408
``bzrlib.plugin.load_from_zip()`` function are deprecated.
2409
(Alexander Belchenko)
2413
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
2415
* The branch interface tests were invalid for branches using rich-root
2416
repositories because the empty string is not a valid file-id.
2421
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
2422
``Repository.get_revision_graph()`` except it includes ghosts and you can
2423
stop part-way through. (John Arbash Meinel)
2425
* New module ``tools/package_mf.py`` provide custom module finder for
2426
python packages (improves standard python library's modulefinder.py)
2427
used by ``setup.py`` script while building standalone bzr.exe.
2428
(Alexander Belchenko)
2430
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
2431
detecting external lookup support on remote repositories. This method is
2432
now attempted first when lookup up repositories, leading to an extra
2433
round trip on older bzr smart servers. (Robert Collins)
2435
* Repository formats have a new supported-feature attribute
2436
``supports_external_lookups`` used to indicate repositories which support
2437
falling back to other repositories when they have partial data.
2440
* ``Repository.get_revision_graph_with_ghosts`` and
2441
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
2442
have been deprecated. (John Arbash Meinel)
2444
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
2445
``Tree._iter_changes``. The api is now considered stable and ready for
2446
external users. (Aaron Bentley)
2448
* The bzrdir format registry now accepts an ``alias`` keyword to
2449
register_metadir, used to indicate that a format name is an alias for
2450
some other format and thus should not be reported when describing the
2451
format. (Robert Collins)
2459
* Fix failing test in Launchpad plugin. (Martin Pool)
2462
bzr 1.2rc1 2008-02-13
2463
---------------------
2465
NOTES WHEN UPGRADING:
2467
* Fetching via the smart protocol may need to reconnect once during a fetch
2468
if the remote server is running Bazaar 1.1 or earlier, because the client
2469
attempts to use more efficient requests that confuse older servers. You
2470
may be required to re-enter a password or passphrase when this happens.
2471
This won't happen if the server is upgraded to Bazaar 1.2.
2476
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
2477
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
2479
* Formatting of ``bzr plugins`` output is changed to be more human-
2480
friendly. Full path of plugins locations will be shown only with
2481
``--verbose`` command-line option. (Alexander Belchenko)
2483
* ``merge`` now prefers to use the submit branch, but will fall back to
2484
parent branch. For many users, this has no effect. But some users who
2485
pull and merge on the same branch will notice a change. This change
2486
makes it easier to work on a branch on two different machines, pulling
2487
between the machines, while merging from the upstream.
2488
``merge --remember`` can now be used to set the submit_branch.
2493
* ``merge --preview`` produces a diff of the changes merge would make,
2494
but does not actually perform the merge. (Aaron Bentley)
2496
* New smart method ``Repository.get_parent_map`` for getting revision
2497
parent data. This returns additional parent information topologically
2498
adjacent to the requested data to reduce round trip latency impacts.
2501
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
2502
revision data that streams revision data via a chunked encoding. This
2503
avoids buffering large amounts of revision data on the server and on the
2504
client, and sends less data to the server to request the revisions.
2505
(Andrew Bennetts, Robert Collins, #178353)
2507
* The launchpad plugin now handles lp urls of the form
2508
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
2509
launchpad instance to do the resolution of the branch identities.
2510
This is primarily of use to Launchpad developers, but can also
2511
be used by other users who want to try out Launchpad as
2512
a branch location without messing up their public Launchpad
2513
account. Branches that are pushed to the staging environment
2514
have an expected lifetime of one day. (Tim Penhey)
2518
* Creating a new branch no longer tries to read the entire revision-history
2519
unnecessarily over smart server operations. (Robert Collins)
2521
* Fetching between different repository formats with compatible models now
2522
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
2524
* The ``--coverage`` option is now global, rather specific to ``bzr
2525
selftest``. (Andrew Bennetts)
2527
* The ``register-branch`` command will now use the public url of the branch
2528
containing the current directory, if one has been set and no explicit
2529
branch is provided. (Robert Collins)
2531
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
2532
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
2533
(John Arbash Meinel)
2537
* Calculate remote path relative to the shared medium in _SmartClient. This
2538
is related to the problem in bug #124089. (Andrew Bennetts)
2540
* Cleanly handle connection errors in smart protocol version two, the same
2541
way as they are handled by version one. (Andrew Bennetts)
2543
* Clearer error when ``version-info --custom`` is used without
2544
``--template`` (Lukáš Lalinský)
2546
* Don't raise UnavailableFeature during test setup when medusa is not
2547
available or tearDown is never called leading to nasty side effects.
2548
(#137823, Vincent Ladeuil)
2550
* If a plugin's test suite cannot be loaded, for example because of a syntax
2551
error in the tests, then ``selftest`` fails, rather than just printing
2552
a warning. (Martin Pool, #189771)
2554
* List possible values for BZR_SSH environment variable in env-variables
2555
help topic. (Alexander Belchenko, #181842)
2557
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
2558
popping the log redirection now precisely restores the previous state,
2559
which makes it easier to use bzr log output from other programs.
2560
TestCaseInTempDir no longer depends on a log redirection being established
2561
by the test framework, which lets bzr tests cleanly run from a normal
2563
(#124153, #124849, Martin Pool, Jonathan Lange)
2565
* ``pull --quiet`` is now more quiet, in particular a message is no longer
2566
printed when the remembered pull location is used. (James Westby,
2569
* ``reconfigure`` can safely be interrupted while fetching.
2570
(Aaron Bentley, #179316)
2572
* ``reconfigure`` preserves tags when converting to and from lightweight
2573
checkouts. (Aaron Bentley, #182040)
2575
* Stop polluting /tmp when running selftest.
2576
(Vincent Ladeuil, #123623)
2578
* Switch from NFKC => NFC for normalization checks. NFC allows a few
2579
more characters which should be considered valid.
2580
(John Arbash Meinel, #185458)
2582
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
2583
interacting badly with a bug on the launchpad side. (Robert Collins)
2585
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
2586
tracebacks. (Andrew Bennetts, #182849)
2590
* Classes implementing Merge types like Merge3Merger must now accept (and
2591
honour) a do_merge flag in their constructor. (Aaron Bentley)
2593
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
2594
to previously take a write lock (and start a write group.)
2599
* selftest now accepts --load-list <file> to load a test id list. This
2600
speeds up running the test suite on a limited set of tests.
2605
* Add a new method ``get_result`` to graph search objects. The resulting
2606
``SearchResult`` can be used to recreate the search later, which will
2607
be useful in reducing network traffic. (Robert Collins)
2609
* Use convenience function to check whether two repository handles
2610
are referring to the same repository in ``Repository.get_graph``.
2611
(Jelmer Vernooij, #187162)
2613
* Fetching now passes the find_ghosts flag through to the
2614
``InterRepository.missing_revision_ids`` call consistently for all
2615
repository types. This will enable faster missing revision discovery with
2616
bzr+ssh. (Robert Collins)
2618
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
2620
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
2621
``InterRepository.search_missing_revision_ids`` which returns a
2622
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
2623
server. (Robert Collins)
2625
* New error ``NoPublicBranch`` for commands that need a public branch to
2626
operate. (Robert Collins)
2628
* New method ``iter_inventories`` on Repository for access to many
2629
inventories. This is primarily used by the ``revision_trees`` method, as
2630
direct access to inventories is discouraged. (Robert Collins)
2632
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
2633
which will split out ghosts and present parents into two separate sets,
2634
useful for code which needs to be aware of ghosts (e.g. fetching data
2635
cares about ghosts during revision selection). (Robert Collins)
2637
* Record a timestamp against each mutter to the trace file, relative to the
2638
first import of bzrlib. (Andrew Bennetts)
2640
* ``Repository.get_data_stream`` is now deprecated in favour of
2641
``Repository.get_data_stream_for_search`` which allows less network
2642
traffic when requesting data streams over a smart server. (Robert Collins)
2644
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
2645
removing one round trip on many network operations. (Robert Collins)
2647
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
2648
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
2650
* Repository has a new method ``has_revisions`` which signals the presence
2651
of many revisions by returning a set of the revisions listed which are
2652
present. This can be done by index queries without reading data for parent
2653
revision names etc. (Robert Collins)
6328
2659
(no changes from 1.1rc1)
6333
:Released: 2008-01-05
6338
* Dotted revision numbers have been revised. Instead of growing longer with
6339
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
6340
we now report 1.2.1.) This helps scale long lived branches which have many
6341
feature branches merged between them. (John Arbash Meinel)
6343
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
6344
Use ``bzr diff branch1 --new branch2`` instead. This change has
6345
been made to remove the ambiguity where ``branch2`` is in fact a
6346
specific file to diff within ``branch1``.
6351
* New option to use custom template-based formats in ``bzr version-info``.
6354
* diff '--using' allows an external diff tool to be used for files.
6357
* New "lca" merge-type for fast everyday merging that also supports
6358
criss-cross merges. (Aaron Bentley)
6363
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
6366
* ``branch`` and ``checkout`` can now use files from a working tree to
6367
to speed up the process. For checkout, this requires the new
6368
--files-from flag. (Aaron Bentley)
6370
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
6372
* ``bzr diff`` now works on branches without working trees. Tree-less
6373
branches can also be compared to each other and to working trees using
6374
the new diff options ``--old`` and ``--new``. Diffing between branches,
6375
with or without trees, now supports specific file filtering as well.
6376
(Ian Clatworthy, #6700)
6378
* ``bzr pack`` now orders revision texts in topological order, with newest
6379
at the start of the file, promoting linear reads for ``bzr log`` and the
6380
like. This partially fixes #154129. (Robert Collins)
6382
* Merge directives now fetch prerequisites from the target branch if
6383
needed. (Aaron Bentley)
6385
* pycurl now handles digest authentication.
6388
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
6390
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
6392
* ``merge`` now warns when merge directives cause cherrypicks.
6395
* ``split`` now supported, to enable splitting large trees into smaller
6396
pieces. (Aaron Bentley)
6401
* Avoid AttributeError when unlocking a pack repository when an error occurs.
6402
(Martin Pool, #180208)
6404
* Better handle short reads when processing multiple range requests.
6405
(Vincent Ladeuil, #179368)
6407
* build_tree acceleration uses the correct path when a file has been moved.
6410
* ``commit`` now succeeds when a checkout and its master branch share a
6411
repository. (Aaron Bentley, #177592)
6413
* Fixed error reporting of unsupported timezone format in
6414
``log --timezone``. (Lukáš Lalinský, #178722)
6416
* Fixed Unicode encoding error in ``ignored`` when the output is
6417
redirected to a pipe. (Lukáš Lalinský)
6419
* Fix traceback when sending large response bodies over the smart protocol
6420
on Windows. (Andrew Bennetts, #115781)
6422
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
6423
pointed to different logical drives on Windows.
6424
(Alexander Belchenko, #90847)
6426
* HTTP test servers are now compatible with the http protocol version 1.1.
6427
(Vincent Ladeuil, #175524)
6429
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
6430
correctly, instead of erroring or attributing incorrect parents to ghosts.
6433
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
6435
* pycurl authentication handling was broken and incomplete. Fix handling of
6436
user:pass embedded in the urls.
6437
(Vincent Ladeuil, #177643)
6439
* Files inside non-directories are now handled like other conflict types.
6440
(Aaron Bentley, #177390)
6442
* ``reconfigure`` is able to convert trees into lightweight checkouts.
6445
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
6448
* Test that the old ``version_info_format`` functions still work, even
6449
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
6451
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
6454
* ``uncommit`` works even when the commit messages of revisions to be
6455
removed use characters not supported in the terminal encoding.
6458
* When dumb http servers return whole files instead of the requested ranges,
6459
read the remaining bytes by chunks to avoid overflowing network buffers.
6460
(Vincent Ladeuil, #175886)
6465
* Minor tweaks made to the bug tracker integration documentation.
6468
* Reference material has now be moved out of the User Guide and added
6469
to the User Reference. The User Reference has gained 4 sections as
6470
a result: Authenication Settings, Configuration Settings, Conflicts
6471
and Hooks. All help topics are now dumped into text format in the
6472
doc/en/user-reference directory for those who like browsing that
6473
information in their editor. (Ian Clatworthy)
6475
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
6480
* find_* methods available for BzrDirs, Branches and WorkingTrees.
6483
* Help topics can now be loaded from files.
6484
(Ian Clatworthy, Alexander Belchenko)
6486
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
6488
* Parent Providers should now implement ``get_parent_map`` returning a
6489
dictionary instead of ``get_parents`` returning a list.
6490
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
6493
* Patience Diff now supports arbitrary python objects, as long as they
6494
support ``hash()``. (John Arbash Meinel)
6496
* Reduce selftest overhead to establish test names by memoization.
6505
* Modules can now customise their tests by defining a ``load_tests``
6506
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
6507
for the documentation on this attribute. (Robert Collins)
6509
* New helper function ``bzrlib.tests.condition_id_re`` which helps
6510
filter tests based on a regular expression search on the tests id.
6513
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
6514
filter tests based on class. (Robert Collins)
6516
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
6517
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
6519
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
6520
generalises the ``filter_suite_by_re`` function. (Robert Collins)
6522
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
6523
TestSuite that does not contain tests from the input that matched a
6524
regular expression. (Robert Collins)
6526
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
6527
randomized copy of the input suite. (Robert Collins)
6529
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
6530
suite into two according to a regular expression. (Robert Collins)
6532
* Parametrize all http tests for the transport implementations, the http
6533
protocol versions (1.0 and 1.1) and the authentication schemes.
6536
* The ``exclude_pattern`` and ``random_order`` parameters to the function
6537
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
6539
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
6540
replaced by the new helper methods added in this release. (Robert Collins)
6546
:Released: 2007-12-14
6551
* More improvements and fixes to the User Guide. (Ian Clatworthy)
6553
* Add information on cherrypicking/rebasing to the User Guide.
6556
* Improve bug tracker integration documentation. (Ian Clatworthy)
6558
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
6559
to the rebasing section of the User Guide from Aaron Bentley.
6566
:Released: 2007-12-11
6571
* If a traceback occurs, users are now asked to report the bug
6572
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
6573
by mail to the mailing list.
6579
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
6581
* Give more feedback during long http downloads by making readv deliver data
6582
as it arrives for urllib, and issue more requests for pycurl. High latency
6583
networks are better handled by urllib, the pycurl implementation give more
6584
feedback but also incur more latency.
6585
(Vincent Ladeuil, #173010)
6587
* Implement _make_parents_provider on RemoteRepository, allowing generating
6588
bundles against branches on a smart server. (Andrew Bennetts, #147836)
6593
* Improved user guide. (Ian Clatworthy)
6595
* The single-page quick reference guide is now available as a PDF.
6601
* readv urllib http implementation is now a real iterator above the
6602
underlying socket and deliver data as soon as it arrives. 'get' still
6603
wraps its output in a StringIO.
6610
:Released: 2007-12-07
6615
* Added a --coverage option to selftest. (Andrew Bennetts)
6617
* Annotate merge (merge-type=weave) now supports cherrypicking.
6620
* ``bzr commit`` now doesn't print the revision number twice. (Matt
6623
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
6624
define locations of bug trackers that are not directly supported by
6625
bzr or a plugin. The URL will be treated as a template and ``{id}``
6626
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
6628
* Support logging single merge revisions with short and line log formatters.
6631
* User Guide enhanced with suggested readability improvements from
6632
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
6634
* Quick Start Guide renamed to Quick Start Card, moved down in
6635
the catalog, provided in pdf and png format and updated to refer
6636
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
6638
* ``switch`` can now be used on heavyweight checkouts as well as
6639
lightweight ones. After switching a heavyweight checkout, the
6640
local branch is a mirror/cache of the new bound branch and
6641
uncommitted changes in the working tree are merged. As a safety
6642
check, if there are local commits in a checkout which have not
6643
been committed to the previously bound branch, then ``switch``
6644
fails unless the ``--force`` option is given. This option is
6645
now also required if the branch a lightweight checkout is pointing
6646
to has been moved. (Ian Clatworthy)
6651
* New -Dhttp debug option reports http connections, requests and responses.
6654
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
6659
* Better error message when running ``bzr cat`` on a non-existant branch.
6660
(Lukáš Lalinský, #133782)
6662
* Catch OSError 17 (file exists) in final phase of tree transform and show
6664
(Alexander Belchenko, #111758)
6666
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
6667
allowing multiple GET requests to be issued if too many ranges are
6669
(Vincent Ladeuil, #172701)
6671
* Check for missing basis texts when fetching from packs to packs.
6672
(John Arbash Meinel, #165290)
6674
* Fall back to showing e-mail in ``log --short/--line`` if the
6675
committer/author has only e-mail. (Lukáš Lalinský, #157026)
6680
* Deprecate not passing a ``location`` argument to commit reporters'
6681
``started`` methods. (Matt Nordhoff)
6687
:Released: 2007-11-30
6689
Notes When Upgrading
6690
********************
6692
* The default repository format is now ``pack-0.92``. This
6693
default is used when creating new repositories with ``init`` and
6694
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
6695
(See https://bugs.launchpad.net/bugs/164626)
6697
This format can be read and written by Bazaar 0.92 and later, and
6698
data can be transferred to and from older formats.
6700
To upgrade, please reconcile your repository (``bzr reconcile``), and then
6701
upgrade (``bzr upgrade``).
6703
``pack-0.92`` offers substantially better scaling and performance than the
6704
previous knits format. Some operations are slower where the code already
6705
had bad scaling characteristics under knits, the pack format makes such
6706
operations more visible as part of being more scalable overall. We will
6707
correct such operations over the coming releases and encourage the filing
6708
of bugs on any operation which you observe to be slower in a packs
6709
repository. One particular case that we do not intend to fix is pulling
6710
data from a pack repository into a knit repository over a high latency
6711
link; downgrading such data requires reinsertion of the file texts, and
6712
this is a classic space/time tradeoff. The current implementation is
6713
conservative on memory usage because we need to support converting data
6714
from any tree without problems.
6715
(Robert Collins, Martin Pool, #164476)
6720
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
6721
still available if user selects it explicitly with BZR_SSH environment
6722
variable. (Alexander Belchenko, workaround for bug #107593)
6724
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
6725
to enable the subtree functions (for example, for bzr-svn).
6731
* New ``authentication.conf`` file holding the password or other credentials
6732
for remote servers. This can be used for ssh, sftp, smtp and other
6733
supported transports.
6736
* New rich-root and rich-root-pack formats, recording the same data about
6737
tree roots that's recorded for all other directories.
6738
(Aaron Bentley, #164639)
6740
* ``pack-0.92`` repositories can now be reconciled.
6741
(Robert Collins, #154173)
6743
* ``switch`` command added for changing the branch a lightweight checkout
6744
is associated with and updating the tree to reflect the latest content
6745
accordingly. This command was previously part of the BzrTools plug-in.
6746
(Ian Clatworthy, Aaron Bentley, David Allouche)
6748
* ``reconfigure`` command can now convert branches, trees, or checkouts to
6749
lightweight checkouts. (Aaron Bentley)
6754
* Commit updates the state of the working tree via a delta rather than
6755
supplying entirely new basis trees. For commit of a single specified file
6756
this reduces the wall clock time for commit by roughly a 30%.
6757
(Robert Collins, Martin Pool)
6759
* Commit with many automatically found deleted paths no longer performs
6760
linear scanning for the children of those paths during inventory
6761
iteration. This should fix commit performance blowing out when many such
6762
paths occur during commit. (Robert Collins, #156491)
6764
* Fetch with pack repositories will no longer read the entire history graph.
6765
(Robert Collins, #88319)
6767
* Revert takes out an appropriate lock when reverting to a basis tree, and
6768
does not read the basis inventory twice. (Robert Collins)
6770
* Diff does not require an inventory to be generated on dirstate trees.
6771
(Aaron Bentley, #149254)
6773
* New annotate merge (--merge-type=weave) implementation is fast on
6774
versionedfiles withough cached annotations, e.g. pack-0.92.
6780
* ``bzr merge`` now warns when it encounters a criss-cross merge.
6783
* ``bzr send`` now doesn't require the target e-mail address to be
6784
specified on the command line if an interactive e-mail client is used.
6787
* ``bzr tags`` now prints the revision number for each tag, instead of
6788
the revision id, unless --show-ids is passed. In addition, tags can be
6789
sorted chronologically instead of lexicographically with --sort=time.
6790
(Adeodato Simó, #120231)
6792
* Windows standalone version of bzr is able to load system-wide plugins from
6793
"plugins" subdirectory in installation directory. In addition standalone
6794
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
6795
about paths and bzr version. (Alexander Belchenko, #129298)
6803
* A progress bar has been added for knitpack -> knitpack fetching.
6804
(Robert Collins, #157789, #159147)
6806
* Branching from a branch via smart server now preserves the repository
6807
format. (Andrew Bennetts, #164626)
6809
* ``commit`` is now able to invoke an external editor in a non-ascii
6810
directory. (Daniel Watkins, #84043)
6812
* Catch connection errors for ftp.
6813
(Vincent Ladeuil, #164567)
6815
* ``check`` no longer reports spurious unreferenced text versions.
6816
(Robert Collins, John A Meinel, #162931, #165071)
6818
* Conflicts are now resolved recursively by ``revert``.
6819
(Aaron Bentley, #102739)
6821
* Detect invalid transport reuse attempts by catching invalid URLs.
6822
(Vincent Ladeuil, #161819)
6824
* Deleting a file without removing it shows a correct diff, not a traceback.
6827
* Do no use timeout in HttpServer anymore.
6828
(Vincent Ladeuil, #158972).
6830
* Don't catch the exceptions related to the http pipeline status before
6831
retrying an http request or some programming errors may be masked.
6832
(Vincent Ladeuil, #160012)
6834
* Fix ``bzr rm`` to not delete modified and ignored files.
6835
(Lukáš Lalinský, #172598)
6837
* Fix exception when revisionspec contains merge revisons but log
6838
formatter doesn't support merge revisions. (Kent Gibson, #148908)
6840
* Fix exception when ScopeReplacer is assigned to before any members have
6841
been retrieved. (Aaron Bentley)
6843
* Fix multiple connections during checkout --lightweight.
6844
(Vincent Ladeuil, #159150)
6846
* Fix possible error in insert_data_stream when copying between
6847
pack repositories over bzr+ssh or bzr+http.
6848
KnitVersionedFile.get_data_stream now makes sure that requested
6849
compression parents are sent before any delta hunks that depend
6851
(Martin Pool, #164637)
6853
* Fix typo in limiting offsets coalescing for http, leading to
6854
whole files being downloaded instead of parts.
6855
(Vincent Ladeuil, #165061)
6857
* FTP server errors don't error in the error handling code.
6858
(Robert Collins, #161240)
6860
* Give a clearer message when a pull fails because the source needs
6862
(Martin Pool, #164443)
6864
* It is clearer when a plugin cannot be loaded because of its name, and a
6865
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
6867
* Leave port as None in transport objects if user doesn't
6868
specify a port in urls.
6869
(vincent Ladeuil, #150860)
6871
* Make sure Repository.fetch(self) is properly a no-op for all
6872
Repository implementations. (John Arbash Meinel, #158333)
6874
* Mark .bzr directories as "hidden" on Windows.
6875
(Alexander Belchenko, #71147)
6877
* ``merge --uncommitted`` can now operate on a single file.
6878
(Aaron Bentley, Lukáš Lalinský, #136890)
6880
* Obsolete packs are now cleaned up by pack and autopack operations.
6881
(Robert Collins, #153789)
6883
* Operations pulling data from a smart server where the underlying
6884
repositories are not both annotated/both unannotated will now work.
6885
(Robert Collins, #165304).
6887
* Reconcile now shows progress bars. (Robert Collins, #159351)
6889
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
6890
properly. (John Arbash Meinel, #162486)
6892
* Removing an already-removed file reports the file does not exist. (Daniel
6895
* Rename on Windows is able to change filename case.
6896
(Alexander Belchenko, #77740)
6898
* Return error instead of a traceback for ``bzr log -r0``.
6899
(Kent Gibson, #133751)
6901
* Return error instead of a traceback when bzr is unable to create
6902
symlink on some platforms (e.g. on Windows).
6903
(Alexander Belchenko, workaround for #81689)
6905
* Revert doesn't crash when restoring a single file from a deleted
6906
directory. (Aaron Bentley)
6908
* Stderr output via logging mechanism now goes through encoded wrapper
6909
and no more uses utf-8, but terminal encoding instead. So all unicode
6910
strings now should be readable in non-utf-8 terminal.
6911
(Alexander Belchenko, #54173)
6913
* The error message when ``move --after`` should be used makes how to do so
6914
clearer. (Daniel Watkins, #85237)
6916
* Unicode-safe output from ``bzr info``. The output will be encoded
6917
using the terminal encoding and unrepresentable characters will be
6918
replaced by '?'. (Lukáš Lalinský, #151844)
6920
* Working trees are no longer created when pushing into a local no-trees
6921
repo. (Daniel Watkins, #50582)
6923
* Upgrade util/configobj to version 4.4.0.
6924
(Vincent Ladeuil, #151208).
6926
* Wrap medusa ftp test server as an FTPServer feature.
6927
(Vincent Ladeuil, #157752)
6932
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
6933
during very long time. (Alexander Belchenko)
6935
* The return value of
6936
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
6937
changed. Previously it was an iterator of lines, now it is an iterator of
6938
(line, version_id) tuples. This change has been made to aid reconcile and
6939
fetch operations. (Robert Collins)
6941
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
6944
* The Repository format registry default has been removed; it was previously
6945
obsoleted by the bzrdir format default, which implies a default repository
6952
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
6953
``bzrlib.pack``. These classes provide more convenient APIs for generating
6954
and parsing containers from streams rather than from files. (Andrew
6957
* New module ``lru_cache`` providing a cache for use by tasks that need
6958
semi-random access to large amounts of data. (John A Meinel)
6960
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
6966
:Released: 2007-11-05
2661
bzr 1.1rc1 2008-01-05
2662
---------------------
2666
* Dotted revision numbers have been revised. Instead of growing longer with
2667
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
2668
we now report 1.2.1.) This helps scale long lived branches which have many
2669
feature branches merged between them. (John Arbash Meinel)
2671
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
2672
Use ``bzr diff branch1 --new branch2`` instead. This change has
2673
been made to remove the ambiguity where ``branch2`` is in fact a
2674
specific file to diff within ``branch1``.
2678
* New option to use custom template-based formats in ``bzr version-info``.
2681
* diff '--using' allows an external diff tool to be used for files.
2684
* New "lca" merge-type for fast everyday merging that also supports
2685
criss-cross merges. (Aaron Bentley)
2689
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
2692
* ``branch`` and ``checkout`` can now use files from a working tree to
2693
to speed up the process. For checkout, this requires the new
2694
--files-from flag. (Aaron Bentley)
2696
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
2698
* ``bzr diff`` now works on branches without working trees. Tree-less
2699
branches can also be compared to each other and to working trees using
2700
the new diff options ``--old`` and ``--new``. Diffing between branches,
2701
with or without trees, now supports specific file filtering as well.
2702
(Ian Clatworthy, #6700)
2704
* ``bzr pack`` now orders revision texts in topological order, with newest
2705
at the start of the file, promoting linear reads for ``bzr log`` and the
2706
like. This partially fixes #154129. (Robert Collins)
2708
* Merge directives now fetch prerequisites from the target branch if
2709
needed. (Aaron Bentley)
2711
* pycurl now handles digest authentication.
2714
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
2716
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
2718
* ``merge`` now warns when merge directives cause cherrypicks.
2721
* ``split`` now supported, to enable splitting large trees into smaller
2722
pieces. (Aaron Bentley)
2726
* Avoid AttributeError when unlocking a pack repository when an error occurs.
2727
(Martin Pool, #180208)
2729
* Better handle short reads when processing multiple range requests.
2730
(Vincent Ladeuil, #179368)
2732
* build_tree acceleration uses the correct path when a file has been moved.
2735
* ``commit`` now succeeds when a checkout and its master branch share a
2736
repository. (Aaron Bentley, #177592)
2738
* Fixed error reporting of unsupported timezone format in
2739
``log --timezone``. (Lukáš Lalinský, #178722)
2741
* Fixed Unicode encoding error in ``ignored`` when the output is
2742
redirected to a pipe. (Lukáš Lalinský)
2744
* Fix traceback when sending large response bodies over the smart protocol
2745
on Windows. (Andrew Bennetts, #115781)
2747
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
2748
pointed to different logical drives on Windows.
2749
(Alexander Belchenko, #90847)
2751
* HTTP test servers are now compatible with the http protocol version 1.1.
2752
(Vincent Ladeuil, #175524)
2754
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
2755
correctly, instead of erroring or attributing incorrect parents to ghosts.
2758
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
2760
* pycurl authentication handling was broken and incomplete. Fix handling of
2761
user:pass embedded in the urls.
2762
(Vincent Ladeuil, #177643)
2764
* Files inside non-directories are now handled like other conflict types.
2765
(Aaron Bentley, #177390)
2767
* ``reconfigure`` is able to convert trees into lightweight checkouts.
2770
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
2773
* Test that the old ``version_info_format`` functions still work, even
2774
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
2776
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
2779
* ``uncommit`` works even when the commit messages of revisions to be
2780
removed use characters not supported in the terminal encoding.
2783
* When dumb http servers return whole files instead of the requested ranges,
2784
read the remaining bytes by chunks to avoid overflowing network buffers.
2785
(Vincent Ladeuil, #175886)
2789
* Minor tweaks made to the bug tracker integration documentation.
2792
* Reference material has now be moved out of the User Guide and added
2793
to the User Reference. The User Reference has gained 4 sections as
2794
a result: Authenication Settings, Configuration Settings, Conflicts
2795
and Hooks. All help topics are now dumped into text format in the
2796
doc/en/user-reference directory for those who like browsing that
2797
information in their editor. (Ian Clatworthy)
2799
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
2803
* find_* methods available for BzrDirs, Branches and WorkingTrees.
2806
* Help topics can now be loaded from files.
2807
(Ian Clatworthy, Alexander Belchenko)
2809
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
2811
* Parent Providers should now implement ``get_parent_map`` returning a
2812
dictionary instead of ``get_parents`` returning a list.
2813
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
2816
* Patience Diff now supports arbitrary python objects, as long as they
2817
support ``hash()``. (John Arbash Meinel)
2819
* Reduce selftest overhead to establish test names by memoization.
2826
* Modules can now customise their tests by defining a ``load_tests``
2827
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
2828
for the documentation on this attribute. (Robert Collins)
2830
* New helper function ``bzrlib.tests.condition_id_re`` which helps
2831
filter tests based on a regular expression search on the tests id.
2834
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
2835
filter tests based on class. (Robert Collins)
2837
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
2838
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
2840
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
2841
generalises the ``filter_suite_by_re`` function. (Robert Collins)
2843
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
2844
TestSuite that does not contain tests from the input that matched a
2845
regular expression. (Robert Collins)
2847
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
2848
randomized copy of the input suite. (Robert Collins)
2850
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
2851
suite into two according to a regular expression. (Robert Collins)
2853
* Parametrize all http tests for the transport implementations, the http
2854
protocol versions (1.0 and 1.1) and the authentication schemes.
2857
* The ``exclude_pattern`` and ``random_order`` parameters to the function
2858
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
2860
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
2861
replaced by the new helper methods added in this release. (Robert Collins)
2869
* More improvements and fixes to the User Guide. (Ian Clatworthy)
2871
* Add information on cherrypicking/rebasing to the User Guide.
2874
* Improve bug tracker integration documentation. (Ian Clatworthy)
2876
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
2877
to the rebasing section of the User Guide from Aaron Bentley.
2881
bzr 1.0rc3 2007-12-11
2882
---------------------
2886
* If a traceback occurs, users are now asked to report the bug
2887
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
2888
by mail to the mailing list.
2893
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
2895
* Give more feedback during long http downloads by making readv deliver data
2896
as it arrives for urllib, and issue more requests for pycurl. High latency
2897
networks are better handled by urllib, the pycurl implementation give more
2898
feedback but also incur more latency.
2899
(Vincent Ladeuil, #173010)
2901
* Implement _make_parents_provider on RemoteRepository, allowing generating
2902
bundles against branches on a smart server. (Andrew Bennetts, #147836)
2906
* Improved user guide. (Ian Clatworthy)
2908
* The single-page quick reference guide is now available as a PDF.
2913
* readv urllib http implementation is now a real iterator above the
2914
underlying socket and deliver data as soon as it arrives. 'get' still
2915
wraps its output in a StringIO.
2919
bzr 1.0rc2 2007-12-07
2920
---------------------
2924
* Added a --coverage option to selftest. (Andrew Bennetts)
2926
* Annotate merge (merge-type=weave) now supports cherrypicking.
2929
* ``bzr commit`` now doesn't print the revision number twice. (Matt
2932
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
2933
define locations of bug trackers that are not directly supported by
2934
bzr or a plugin. The URL will be treated as a template and ``{id}``
2935
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
2937
* Support logging single merge revisions with short and line log formatters.
2940
* User Guide enhanced with suggested readability improvements from
2941
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
2943
* Quick Start Guide renamed to Quick Start Card, moved down in
2944
the catalog, provided in pdf and png format and updated to refer
2945
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
2947
* ``switch`` can now be used on heavyweight checkouts as well as
2948
lightweight ones. After switching a heavyweight checkout, the
2949
local branch is a mirror/cache of the new bound branch and
2950
uncommitted changes in the working tree are merged. As a safety
2951
check, if there are local commits in a checkout which have not
2952
been committed to the previously bound branch, then ``switch``
2953
fails unless the ``--force`` option is given. This option is
2954
now also required if the branch a lightweight checkout is pointing
2955
to has been moved. (Ian Clatworthy)
2959
* New -Dhttp debug option reports http connections, requests and responses.
2962
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
2966
* Better error message when running ``bzr cat`` on a non-existant branch.
2967
(Lukáš Lalinský, #133782)
2969
* Catch OSError 17 (file exists) in final phase of tree transform and show
2971
(Alexander Belchenko, #111758)
2973
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
2974
allowing multiple GET requests to be issued if too many ranges are
2976
(Vincent Ladeuil, #172701)
2978
* Check for missing basis texts when fetching from packs to packs.
2979
(John Arbash Meinel, #165290)
2981
* Fall back to showing e-mail in ``log --short/--line`` if the
2982
committer/author has only e-mail. (Lukáš Lalinský, #157026)
2986
* Deprecate not passing a ``location`` argument to commit reporters'
2987
``started`` methods. (Matt Nordhoff)
2990
bzr 1.0rc1 2007-11-30
2991
---------------------
2993
NOTES WHEN UPGRADING:
2995
* The default repository format is now ``pack-0.92``. This
2996
default is used when creating new repositories with ``init`` and
2997
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
2998
(See https://bugs.launchpad.net/bugs/164626)
3000
This format can be read and written by Bazaar 0.92 and later, and
3001
data can be transferred to and from older formats.
3003
To upgrade, please reconcile your repository (``bzr reconcile``), and then
3004
upgrade (``bzr upgrade``).
3006
``pack-0.92`` offers substantially better scaling and performance than the
3007
previous knits format. Some operations are slower where the code already
3008
had bad scaling characteristics under knits, the pack format makes such
3009
operations more visible as part of being more scalable overall. We will
3010
correct such operations over the coming releases and encourage the filing
3011
of bugs on any operation which you observe to be slower in a packs
3012
repository. One particular case that we do not intend to fix is pulling
3013
data from a pack repository into a knit repository over a high latency
3014
link; downgrading such data requires reinsertion of the file texts, and
3015
this is a classic space/time tradeoff. The current implementation is
3016
conservative on memory usage because we need to support converting data
3017
from any tree without problems.
3018
(Robert Collins, Martin Pool, #164476)
3022
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
3023
still available if user selects it explicitly with BZR_SSH environment
3024
variable. (Alexander Belchenko, workaround for bug #107593)
3026
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
3027
to enable the subtree functions (for example, for bzr-svn).
3028
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
3033
* New ``authentication.conf`` file holding the password or other credentials
3034
for remote servers. This can be used for ssh, sftp, smtp and other
3035
supported transports.
3038
* New rich-root and rich-root-pack formats, recording the same data about
3039
tree roots that's recorded for all other directories.
3040
(Aaron Bentley, #164639)
3042
* ``pack-0.92`` repositories can now be reconciled.
3043
(Robert Collins, #154173)
3045
* ``switch`` command added for changing the branch a lightweight checkout
3046
is associated with and updating the tree to reflect the latest content
3047
accordingly. This command was previously part of the BzrTools plug-in.
3048
(Ian Clatworthy, Aaron Bentley, David Allouche)
3050
* ``reconfigure`` command can now convert branches, trees, or checkouts to
3051
lightweight checkouts. (Aaron Bentley)
3055
* Commit updates the state of the working tree via a delta rather than
3056
supplying entirely new basis trees. For commit of a single specified file
3057
this reduces the wall clock time for commit by roughly a 30%.
3058
(Robert Collins, Martin Pool)
3060
* Commit with many automatically found deleted paths no longer performs
3061
linear scanning for the children of those paths during inventory
3062
iteration. This should fix commit performance blowing out when many such
3063
paths occur during commit. (Robert Collins, #156491)
3065
* Fetch with pack repositories will no longer read the entire history graph.
3066
(Robert Collins, #88319)
3068
* Revert takes out an appropriate lock when reverting to a basis tree, and
3069
does not read the basis inventory twice. (Robert Collins)
3071
* Diff does not require an inventory to be generated on dirstate trees.
3072
(Aaron Bentley, #149254)
3074
* New annotate merge (--merge-type=weave) implementation is fast on
3075
versionedfiles withough cached annotations, e.g. pack-0.92.
3080
* ``bzr merge`` now warns when it encounters a criss-cross merge.
3083
* ``bzr send`` now doesn't require the target e-mail address to be
3084
specified on the command line if an interactive e-mail client is used.
3087
* ``bzr tags`` now prints the revision number for each tag, instead of
3088
the revision id, unless --show-ids is passed. In addition, tags can be
3089
sorted chronologically instead of lexicographically with --sort=time.
3090
(Adeodato Simó, #120231)
3092
* Windows standalone version of bzr is able to load system-wide plugins from
3093
"plugins" subdirectory in installation directory. In addition standalone
3094
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
3095
about paths and bzr version. (Alexander Belchenko, #129298)
3101
* A progress bar has been added for knitpack -> knitpack fetching.
3102
(Robert Collins, #157789, #159147)
3104
* Branching from a branch via smart server now preserves the repository
3105
format. (Andrew Bennetts, #164626)
3107
* ``commit`` is now able to invoke an external editor in a non-ascii
3108
directory. (Daniel Watkins, #84043)
3110
* Catch connection errors for ftp.
3111
(Vincent Ladeuil, #164567)
3113
* ``check`` no longer reports spurious unreferenced text versions.
3114
(Robert Collins, John A Meinel, #162931, #165071)
3116
* Conflicts are now resolved recursively by ``revert``.
3117
(Aaron Bentley, #102739)
3119
* Detect invalid transport reuse attempts by catching invalid URLs.
3120
(Vincent Ladeuil, #161819)
3122
* Deleting a file without removing it shows a correct diff, not a traceback.
3125
* Do no use timeout in HttpServer anymore.
3126
(Vincent Ladeuil, #158972).
3128
* Don't catch the exceptions related to the http pipeline status before
3129
retrying an http request or some programming errors may be masked.
3130
(Vincent Ladeuil, #160012)
3132
* Fix ``bzr rm`` to not delete modified and ignored files.
3133
(Lukáš Lalinský, #172598)
3135
* Fix exception when revisionspec contains merge revisons but log
3136
formatter doesn't support merge revisions. (Kent Gibson, #148908)
3138
* Fix exception when ScopeReplacer is assigned to before any members have
3139
been retrieved. (Aaron Bentley)
3141
* Fix multiple connections during checkout --lightweight.
3142
(Vincent Ladeuil, #159150)
3144
* Fix possible error in insert_data_stream when copying between
3145
pack repositories over bzr+ssh or bzr+http.
3146
KnitVersionedFile.get_data_stream now makes sure that requested
3147
compression parents are sent before any delta hunks that depend
3149
(Martin Pool, #164637)
3151
* Fix typo in limiting offsets coalescing for http, leading to
3152
whole files being downloaded instead of parts.
3153
(Vincent Ladeuil, #165061)
3155
* FTP server errors don't error in the error handling code.
3156
(Robert Collins, #161240)
3158
* Give a clearer message when a pull fails because the source needs
3160
(Martin Pool, #164443)
3162
* It is clearer when a plugin cannot be loaded because of its name, and a
3163
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
3165
* Leave port as None in transport objects if user doesn't
3166
specify a port in urls.
3167
(vincent Ladeuil, #150860)
3169
* Make sure Repository.fetch(self) is properly a no-op for all
3170
Repository implementations. (John Arbash Meinel, #158333)
3172
* Mark .bzr directories as "hidden" on Windows.
3173
(Alexander Belchenko, #71147)
3175
* ``merge --uncommitted`` can now operate on a single file.
3176
(Aaron Bentley, Lukáš Lalinský, #136890)
3178
* Obsolete packs are now cleaned up by pack and autopack operations.
3179
(Robert Collins, #153789)
3181
* Operations pulling data from a smart server where the underlying
3182
repositories are not both annotated/both unannotated will now work.
3183
(Robert Collins, #165304).
3185
* Reconcile now shows progress bars. (Robert Collins, #159351)
3187
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
3188
properly. (John Arbash Meinel, #162486)
3190
* Removing an already-removed file reports the file does not exist. (Daniel
3193
* Rename on Windows is able to change filename case.
3194
(Alexander Belchenko, #77740)
3196
* Return error instead of a traceback for ``bzr log -r0``.
3197
(Kent Gibson, #133751)
3199
* Return error instead of a traceback when bzr is unable to create
3200
symlink on some platforms (e.g. on Windows).
3201
(Alexander Belchenko, workaround for #81689)
3203
* Revert doesn't crash when restoring a single file from a deleted
3204
directory. (Aaron Bentley)
3206
* Stderr output via logging mechanism now goes through encoded wrapper
3207
and no more uses utf-8, but terminal encoding instead. So all unicode
3208
strings now should be readable in non-utf-8 terminal.
3209
(Alexander Belchenko, #54173)
3211
* The error message when ``move --after`` should be used makes how to do so
3212
clearer. (Daniel Watkins, #85237)
3214
* Unicode-safe output from ``bzr info``. The output will be encoded
3215
using the terminal encoding and unrepresentable characters will be
3216
replaced by '?'. (Lukáš Lalinský, #151844)
3218
* Working trees are no longer created when pushing into a local no-trees
3219
repo. (Daniel Watkins, #50582)
3221
* Upgrade util/configobj to version 4.4.0.
3222
(Vincent Ladeuil, #151208).
3224
* Wrap medusa ftp test server as an FTPServer feature.
3225
(Vincent Ladeuil, #157752)
3229
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
3230
during very long time. (Alexander Belchenko)
3232
* The return value of
3233
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
3234
changed. Previously it was an iterator of lines, now it is an iterator of
3235
(line, version_id) tuples. This change has been made to aid reconcile and
3236
fetch operations. (Robert Collins)
3238
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
3241
* The Repository format registry default has been removed; it was previously
3242
obsoleted by the bzrdir format default, which implies a default repository
3248
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
3249
``bzrlib.pack``. These classes provide more convenient APIs for generating
3250
and parsing containers from streams rather than from files. (Andrew
3253
* New module ``lru_cache`` providing a cache for use by tasks that need
3254
semi-random access to large amounts of data. (John A Meinel)
3256
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
6971
3266
* New uninstaller on Win32. (Alexander Belchenko)
6977
:Released: 2007-10-29
6982
* ``bzr`` now returns exit code 4 if an internal error occurred, and
6983
3 if a normal error occurred. (Martin Pool)
6985
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
6986
repository index errors that occured as a result of the Weave disk format.
6987
Instead the ``reconcile`` command needs to be run to correct those
6988
problems if they exist (and it has been able to fix most such problems
6989
since bzr 0.8). Some new problems have been identified during this release
6990
and you should run ``bzr check`` once on every repository to see if you
6991
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
6992
repository due to mismatched parent errors - a symptom of index errors -
6993
you should simply take a full copy of that remote repository to a clean
6994
directory outside any local repositories, then run reconcile on it, and
6995
finally pull from it locally. (And naturally email the repositories owner
6996
to ask them to upgrade and run reconcile).
7002
* New ``knitpack-experimental`` repository format. This is interoperable with
7003
the ``dirstate-tags`` format but uses a smarter storage design that greatly
7004
speeds up many operations, both local and remote. This new format can be
7005
used as an option to the ``init``, ``init-repository`` and ``upgrade``
7006
commands. (Robert Collins)
7008
* For users of bzr-svn (and those testing the prototype subtree support) that
7009
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
7010
been added. This is interoperable with the ``dirstate-subtrees`` format.
7013
* New ``reconfigure`` command. (Aaron Bentley)
7015
* New ``revert --forget-merges`` command, which removes the record of a pending
7016
merge without affecting the working tree contents. (Martin Pool)
7018
* New ``bzr_remote_path`` configuration variable allows finer control of
7019
remote bzr locations than BZR_REMOTE_PATH environment variable.
7022
* New ``launchpad-login`` command to tell Bazaar your Launchpad
7023
user ID. This can then be used by other functions of the
7024
Launchpad plugin. (James Henstridge)
7029
* Commit in quiet mode is now slightly faster as the information to
7030
output is no longer calculated. (Ian Clatworthy)
7032
* Commit no longer checks for new text keys during insertion when the
7033
revision id was deterministically unique. (Robert Collins)
7035
* Committing a change which is not a merge and does not change the number of
7036
files in the tree is faster by utilising the data about whether files are
7037
changed to determine if the tree is unchanged rather than recalculating
7038
it at the end of the commit process. (Robert Collins)
7040
* Inventory serialisation no longer double-sha's the content.
7043
* Knit text reconstruction now avoids making copies of the lines list for
7044
interim texts when building a single text. The new ``apply_delta`` method
7045
on ``KnitContent`` aids this by allowing modification of the revision id
7046
such objects represent. (Robert Collins)
7048
* Pack indices are now partially parsed for specific key lookup using a
7049
bisection approach. (Robert Collins)
7051
* Partial commits are now approximately 40% faster by walking over the
7052
unselected current tree more efficiently. (Robert Collins)
7054
* XML inventory serialisation takes 20% less time while being stricter about
7055
the contents. (Robert Collins)
7057
* Graph ``heads()`` queries have been fixed to no longer access all history
7058
unnecessarily. (Robert Collins)
7063
* ``bzr+https://`` smart server across https now supported.
7064
(John Ferlito, Martin Pool, #128456)
7066
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
7067
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
7069
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
7070
changes from one revision. (Alexander Belchenko, #141368)
7072
* Show encodings, locale and list of plugins in the traceback message.
7073
(Martin Pool, #63894)
7075
* Experimental directory formats can now be marked with
7076
``experimental = True`` during registration. (Ian Clatworthy)
7081
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
7083
* The hooks reference documentation is now converted to html as expected.
7089
* Connection error reporting for the smart server has been fixed to
7090
display a user friendly message instead of a traceback.
7091
(Ian Clatworthy, #115601)
7093
* Make sure to use ``O_BINARY`` when opening files to check their
7094
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
7096
* Fix a problem with Win32 handling of the executable bit.
7097
(John Arbash Meinel, #149113)
7099
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
7100
no longer assume that means port 22. This allows people using OpenSSH to
7101
override the default port in their ``~/.ssh/config`` if they wish. This
7102
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
7104
* Commands reporting exceptions can now be profiled and still have their
7105
data correctly dumped to a file. For example, a ``bzr commit`` with
7106
no changes still reports the operation as pointless but doing so no
7107
longer throws away the profiling data if this command is run with
7108
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
7110
* Fallback to ftp when paramiko is not installed and sftp can't be used for
7111
``tests/commands`` so that the test suite is still usable without
7113
(Vincent Ladeuil, #59150)
7115
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
7117
* Fix long standing bug in partial commit when there are renames
7118
left in tree. (Robert Collins, #140419)
7120
* Fix selftest semi-random noise during http related tests.
7121
(Vincent Ladeuil, #140614)
7123
* Fix typo in ftp.py making the reconnection fail on temporary errors.
7124
(Vincent Ladeuil, #154259)
7126
* Fix failing test by comparing real paths to cover the case where the TMPDIR
7127
contains a symbolic link.
7128
(Vincent Ladeuil, #141382).
7130
* Fix log against smart server branches that don't support tags.
7131
(James Westby, #140615)
7133
* Fix pycurl http implementation by defining error codes from
7134
pycurl instead of relying on an old curl definition.
7135
(Vincent Ladeuil, #147530)
7137
* Fix 'unprintable error' message when displaying BzrCheckError and
7138
some other exceptions on Python 2.5.
7139
(Martin Pool, #144633)
7141
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
7143
* Handles default value for ListOption in cmd_commit.
7144
(Vincent Ladeuil, #140432)
7146
* HttpServer and FtpServer need to be closed properly or a listening socket
7148
(Vincent Ladeuil, #140055)
7150
* Monitor the .bzr directory created in the top level test
7151
directory to detect leaking tests.
7152
(Vincent Ladeuil, #147986)
7154
* The basename, not the full path, is now used when checking whether
7155
the profiling dump file begins with ``callgrind.out`` or not. This
7156
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
7158
* Trivial fix for invoking command ``reconfigure`` without arguments.
7161
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
7162
new path causes bzr to be unable to access the file. (Robert Collins)
7164
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
7170
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
7171
constructor, for enabling bisection searches. (Robert Collins)
7173
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
7174
tree be supplied to it, previously failing to do so would trigger a
7175
deprecation warning. (Robert Collins)
7177
* ``KnitVersionedFile.add*`` will no longer cache added records even when
7178
enable_cache() has been called - the caching feature is now exclusively for
7179
reading existing data. (Robert Collins)
7181
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
7182
appropriate. (Martin Pool)
7184
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
7185
``trace+`` transport instead. (Robert Collins)
7187
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
7188
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
7191
* Removed previous deprecated ``basis_knit`` parameter to the
7192
``KnitVersionedFile`` constructor. (Robert Collins)
7194
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
7195
class that needs it.
7198
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
7199
``KnitRepository`` by parameters to the constructor. (Robert Collins)
7201
* The ``VersionedFile`` interface now allows content checks to be bypassed
7202
by supplying check_content=False. This saves nearly 30% of the minimum
7203
cost to store a version of a file. (Robert Collins)
7205
* Tree's with bad state such as files with no length or sha will no longer
7206
be silently accepted by the repository XML serialiser. To serialise
7207
inventories without such data, pass working=True to write_inventory.
7210
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
7211
``VersionedFile.join`` will no longer accept different parents on either
7212
side of a join - it will either ignore them, or error, depending on the
7213
implementation. See notes when upgrading for more information.
7219
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
7220
put by the method call, to allow avoiding stat-after-write or
7221
housekeeping in callers. (Robert Collins)
7223
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
7224
mandatory attributes are present on serialisation and deserialisation.
7225
This fixes some holes in API usage and allows better separation between
7226
physical storage and object serialisation. (Robert Collins)
7228
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
7229
shorthand for deriving from BzrError and setting internal_error = True.
7232
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
7233
moving the state of a parent tree to a new version via a delta rather than
7234
a complete replacement tree. (Robert Collins)
7236
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
7237
duplication from user input, when a user mentions both a path and an item
7238
contained within that path. (Robert Collins)
7240
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
7241
determining if a repository is write locked. (Robert Collins)
7243
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
7244
tuple containing the key information about a path for commit processing
7245
to complete. (Robert Collins)
7247
* New method on xml serialisers, write_inventory_to_lines, which matches the
7248
API used by knits for adding content. (Robert Collins)
7250
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
7251
logic, currently only available for byte-based lookup
7252
(``bisect_multi_bytes``). (Robert Collins)
7254
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
7255
and returns a gzipped version of the same. This is used to avoid a bunch
7256
of api friction during adding of knit hunks. (Robert Collins)
7258
* New parameter on ``bzrlib.transport.Transport.readv``
7259
``adjust_for_latency`` which changes readv from returning strictly the
7260
requested data to inserted return larger ranges and in forward read order
7261
to reduce the effect of network latency. (Robert Collins)
7263
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
7264
causes the parents of a selected id to be returned recursively, so all the
7265
paths from the root down to each element of selected_file_ids are
7266
returned. (Robert Collins)
7268
* Knit joining has been enhanced to support plain to annotated conversion
7269
and annotated to plain conversion. (Ian Clatworthy)
7271
* The CommitBuilder method ``record_entry_contents`` now returns summary
7272
information about the effect of the commit on the repository. This tuple
7273
contains an inventory delta item if the entry changed from the basis, and a
7274
boolean indicating whether a new file graph node was recorded.
7277
* The python path used in the Makefile can now be overridden.
7278
(Andrew Bennetts, Ian Clatworthy)
7283
* New transport implementation ``trace+`` which is useful for testing,
7284
logging activity taken to its _activity attribute. (Robert Collins)
7286
* When running bzr commands within the test suite, internal exceptions are
7287
not caught and reported in the usual way, but rather allowed to propagate
7288
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
7289
makes this behavior available to other users.
7292
* New method ``TestCase.call_catch_warnings`` for testing methods that
7293
raises a Python warning. (Martin Pool)
7299
:Released: 2007-09-26
7304
* Print a warning instead of aborting the ``python setup.py install``
7305
process if building of a C extension is not possible.
7306
(Lukáš Lalinský, Alexander Belchenko)
7308
* Fix commit ordering in corner case (Aaron Bentley, #94975)
7310
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
7311
an implicit port. We were incorrectly raising PathNotChild due to
7312
inconsistent treatment of the ''_port'' attribute on the Transport object.
7313
(Andrew Bennetts, #133965)
7315
* Make RemoteRepository.sprout cope gracefully with servers that don't
7316
support the ``Repository.tarball`` request.
7323
:Released: 2007-09-11
7325
* Replaced incorrect tarball for previous release; a debug statement was left
7326
in bzrlib/remote.py.
7332
:Released: 2007-09-11
7337
* The default branch and repository format has changed to
7338
``dirstate-tags``, so tag commands are active by default.
7339
This format is compatible with Bazaar 0.15 and later.
7340
This incidentally fixes bug #126141.
7343
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
7344
must now appear after the command name. Scripts doing things like
7345
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
7351
* New option ``--author`` in ``bzr commit`` to specify the author of the
7352
change, if it's different from the committer. ``bzr log`` and
7353
``bzr annotate`` display the author instead of the committer.
7356
* In addition to global options and command specific options, a set of
7357
standard options are now supported. Standard options are legal for
7358
all commands. The initial set of standard options are:
7360
* ``--help`` or ``-h`` - display help message
7361
* ``--verbose`` or ``-v`` - display additional information
7362
* ``--quiet`` or ``-q`` - only output warnings and errors.
7364
Unlike global options, standard options can be used in aliases and
7365
may have command-specific help. (Ian Clatworthy)
7367
* Verbosity level processing has now been unified. If ``--verbose``
7368
or ``-v`` is specified on the command line multiple times, the
7369
verbosity level is made positive the first time then increased.
7370
If ``--quiet`` or ``-q`` is specified on the command line
7371
multiple times, the verbosity level is made negative the first
7372
time then decreased. To get the default verbosity level of zero,
7373
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
7374
Note that most commands currently ignore the magnitude of the
7375
verbosity level but do respect *quiet vs normal vs verbose* when
7376
generating output. (Ian Clatworthy)
7378
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
7379
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
7381
* New ``Repository.stream_knit_data_for_revisions`` request added to the
7382
network protocol for greatly reduced roundtrips when retrieving a set of
7383
revisions. (Andrew Bennetts)
7388
* ``bzr plugins`` now lists the version number for each plugin in square
7389
brackets after the path. (Robert Collins, #125421)
7391
* Pushing, pulling and branching branches with subtree references was not
7392
copying the subtree weave, preventing the file graph from being accessed
7393
and causing errors in commits in clones. (Robert Collins)
7395
* Suppress warning "integer argument expected, got float" from Paramiko,
7396
which sometimes caused false test failures. (Martin Pool)
7398
* Fix bug in bundle 4 that could cause attempts to write data to wrong
7399
versionedfile. (Aaron Bentley)
7401
* Diffs generated using "diff -p" no longer break the patch parser.
7404
* get_transport treats an empty possible_transports list the same as a non-
7405
empty one. (Aaron Bentley)
7407
* patch verification for merge directives is reactivated, and works with
7408
CRLF and CR files. (Aaron Bentley)
7410
* Accept ..\ as a path in revision specifiers. This fixes for example
7411
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
7413
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
7414
(Blake Winton, #129299)
7416
* man page no longer lists hidden options (#131667, Aaron Bentley)
7418
* ``uncommit --help`` now explains the -r option adequately. (Daniel
7421
* Error messages are now better formatted with parameters (such as
7422
filenames) quoted when necessary. This avoids confusion when directory
7423
names ending in a '.' at the end of messages were confused with a
7424
full stop that may or not have been there. (Daniel Watkins, #129791)
7426
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
7428
* If a particular command is an alias, ``help`` will show the alias
7429
instead of claiming there is no help for said alias. (Daniel Watkins,
7432
* TreeTransform-based operations, like pull, merge, revert, and branch,
7433
now roll back if they encounter an error. (Aaron Bentley, #67699)
7435
* ``bzr commit`` now exits cleanly if a character unsupported by the
7436
current encoding is used in the commit message. (Daniel Watkins,
7439
* bzr send uses default values for ranges when only half of an elipsis
7440
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
7442
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
7443
binary is present. (Martin Albisetti, #107155)
7445
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
7446
needing ``--force``) subtrees that contain no files with text changes or
7447
modified files. With ``--force`` it removes the subtree regardless of
7448
text changes or unknown files. Directories with renames in or out (but
7449
not changed otherwise) will now be removed without needing ``--force``.
7450
Unknown ignored files will be deleted without needing ``--force``.
7451
(Marius Kruger, #111665)
7453
* When two plugins conflict, the source of both the losing and now the
7454
winning definition is shown. (Konstantin Mikhaylov, #5454)
7456
* When committing to a branch, the location being committed to is
7457
displayed. (Daniel Watkins, #52479)
7459
* ``bzr --version`` takes care about encoding of stdout, especially
7460
when output is redirected. (Alexander Belchenko, #131100)
7462
* Prompt for an ftp password if none is provided.
7463
(Vincent Ladeuil, #137044)
7465
* Reuse bound branch associated transport to avoid multiple
7467
(Vincent Ladeuil, #128076, #131396)
7469
* Overwrite conflicting tags by ``push`` and ``pull`` if the
7470
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
7472
* In checkouts, tags are copied into the master branch when created,
7473
changed or deleted, and are copied into the checkout when it is
7474
updated. (Martin Pool, #93856, #93860)
7476
* Print a warning instead of aborting the ``python setup.py install``
7477
process if building of a C extension is not possible.
7478
(Lukáš Lalinský, Alexander Belchenko)
7483
* Add the option "--show-diff" to the commit command in order to display
7484
the diff during the commit log creation. (Goffredo Baroncelli)
7486
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
7489
* ``pull -v`` no longer includes deltas, making it much faster.
7492
* ``send`` now sends the directive as an attachment by default.
7493
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
7495
* Documentation updates (Martin Albisetti)
7497
* Help on debug flags is now included in ``help global-options``.
7498
(Daniel Watkins, #124853)
7500
* Parameters passed on the command line are checked to ensure they are
7501
supported by the encoding in use. (Daniel Watkins)
7503
* The compression used within the bzr repository has changed from zlib
7504
level 9 to the zlib default level. This improves commit performance with
7505
only a small increase in space used (and in some cases a reduction in
7506
space). (Robert Collins)
7508
* Initial commit no longer SHAs files twice and now reuses the path
7509
rather than looking it up again, making it faster.
7512
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
7513
changes in one revision. (Lukáš Lalinský)
7515
* If versioned files match a given ignore pattern, a warning is now
7516
given. (Daniel Watkins, #48623)
7518
* ``bzr status`` now has -S as a short name for --short and -V as a
7519
short name for --versioned. These have been added to assist users
7520
migrating from Subversion: ``bzr status -SV`` is now like
7521
``svn status -q``. (Daniel Watkins, #115990)
7523
* Added C implementation of ``PatienceSequenceMatcher``, which is about
7524
10x faster than the Python version. This speeds up commands that
7525
need file diffing, such as ``bzr commit`` or ``bzr diff``.
7528
* HACKING has been extended with a large section on core developer tasks.
7531
* Add ``branches`` and ``standalone-trees`` as online help topics and
7532
include them as Concepts within the User Reference.
7533
(Paul Moore, Ian Clatworthy)
7535
* ``check`` can detect versionedfile parent references that are
7536
inconsistent with revision and inventory info, and ``reconcile`` can fix
7537
them. These faulty references were generated by 0.8-era releases,
7538
so repositories which were manipulated by old bzrs should be
7539
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
7544
* ``Branch.append_revision`` is removed altogether; please use
7545
``Branch.set_last_revision_info`` instead. (Martin Pool)
7547
* CommitBuilder now advertises itself as requiring the root entry to be
7548
supplied. This only affects foreign repository implementations which reuse
7549
CommitBuilder directly and have changed record_entry_contents to require
7550
that the root not be supplied. This should be precisely zero plugins
7551
affected. (Robert Collins)
7553
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
7554
its return value to include the sha1 and length of the inserted text. This
7555
allows the avoidance of double-sha1 calculations during commit.
7558
* ``Transport.should_cache`` has been removed. It was not called in the
7559
previous release. (Martin Pool)
7564
* Tests may now raise TestNotApplicable to indicate they shouldn't be
7565
run in a particular scenario. (Martin Pool)
7567
* New function multiply_tests_from_modules to give a simpler interface
7568
to test parameterization. (Martin Pool, Robert Collins)
7570
* ``Transport.should_cache`` has been removed. It was not called in the
7571
previous release. (Martin Pool)
7573
* NULL_REVISION is returned to indicate the null revision, not None.
7576
* Use UTF-8 encoded StringIO for log tests to avoid failures on
7577
non-ASCII committer names. (Lukáš Lalinský)
7582
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
7583
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
7584
useful functionality for determining the path of a plugin, its tests, and
7585
its version information. (Robert Collins)
7587
* Add the option user_encoding to the function 'show_diff_trees()'
7588
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
7590
* Add the function make_commit_message_template_encoded() and the function
7591
edit_commit_message_encoded() which handle encoded strings.
7592
This is done in order to mix the commit messages (which is a unicode
7593
string), and the diff which is a raw string. (Goffredo Baroncelli)
7595
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
7596
overhead on non-weave repositories which don't require all parents to be
7597
present. (Robert Collins)
7599
* Deprecated method ``find_previous_heads`` on
7600
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
7601
of ``parent_candidates`` and a separate heads check via the repository
7602
API. (Robert Collins)
7604
* New trace function ``mutter_callsite`` will print out a subset of the
7605
stack to the log, which can be useful for gathering debug details.
7608
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
7609
added via a public attribute records_written. (Robert Collins)
7611
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
7612
This provides a hint to users of transports as to the reasonable
7613
minimum data to read. In principle this can take latency and
7614
bandwidth into account on a per-connection basis, but for now it
7615
just has hard coded values based on the url. (e.g. http:// has a large
7616
page size, file:// has a small one.) (Robert Collins)
7618
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
7619
incremental addition of data to a file without requiring that all the
7620
data be buffered in memory. (Robert Collins)
7622
* New methods on ``bzrlib.knit.KnitVersionedFile``:
7623
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
7624
``get_format_signature()``. These provide some infrastructure for
7625
efficiently streaming the knit data for a set of versions over the smart
7628
* Knits with no annotation cache still produce correct annotations.
7631
* Three new methods have been added to ``bzrlib.trace``:
7632
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
7633
``set_verbosity_level`` expects a numeric value: negative for quiet,
7634
zero for normal, positive for verbose. The size of the number can be
7635
used to determine just how quiet or verbose the application should be.
7636
The existing ``be_quiet`` and ``is_quiet`` routines have been
7637
integrated into this new scheme. (Ian Clatworthy)
7639
* Options can now be delcared with a ``custom_callback`` parameter. If
7640
set, this routine is called after the option is processed. This feature
7641
is now used by the standard options ``verbose`` and ``quiet`` so that
7642
setting one implicitly resets the other. (Ian Clatworthy)
7644
* Rather than declaring a new option from scratch in order to provide
7645
custom help, a centrally registered option can be decorated using the
7646
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
7647
is useful when declaring better help for the ``verbose`` and ``quiet``
7648
standard options as the base definition of these is now more complex
7649
than before thanks to their use of a custom callback. (Ian Clatworthy)
7651
* Tree._iter_changes(specific_file=[]) now iterates through no files,
7652
instead of iterating through all files. None is used to iterate through
7653
all files. (Aaron Bentley)
7655
* WorkingTree.revert() now accepts None to revert all files. The use of
7656
[] to revert all files is deprecated. (Aaron Bentley)
7662
:Released: 2007-08-28
7667
* Documentation is now organized into multiple directories with a level
7668
added for different languages or locales. Added the Mini Tutorial
7669
and Quick Start Summary (en) documents from the Wiki, improving the
7670
content and readability of the former. Formatted NEWS as Release Notes
7671
complete with a Table of Conents, one heading per release. Moved the
7672
Developer Guide into the main document catalog and provided a link
7673
from the developer document catalog back to the main one.
7674
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
7680
* The static convenience method ``BzrDir.create_repository``
7681
is deprecated. Callers should instead create a ``BzrDir`` instance
7682
and call ``create_repository`` on that. (Martin Pool)
7688
:Released: 2007-08-14
7693
* ``bzr init`` should connect to the remote location one time only. We
7694
have been connecting several times because we forget to pass around the
7695
Transport object. This modifies ``BzrDir.create_branch_convenience``,
7696
so that we can give it the Transport we already have.
7697
(John Arbash Meinel, Vincent Ladeuil, #111702)
7699
* Get rid of sftp connection cache (get rid of the FTP one too).
7700
(Vincent Ladeuil, #43731)
7702
* bzr branch {local|remote} remote don't try to create a working tree
7704
(Vincent Ladeuil, #112173)
7706
* All identified multiple connections for a single bzr command have been
7707
fixed. See bzrlib/tests/commands directory.
7710
* ``bzr rm`` now does not insist on ``--force`` to delete files that
7711
have been renamed but not otherwise modified. (Marius Kruger,
7714
* ``bzr selftest --bench`` no longer emits deprecation warnings
7717
* ``bzr status`` now honours FILE parameters for conflict lists
7718
(Aaron Bentley, #127606)
7720
* ``bzr checkout`` now honours -r when reconstituting a working tree.
7721
It also honours -r 0. (Aaron Bentley, #127708)
7723
* ``bzr add *`` no more fails on Windows if working tree contains
7724
non-ascii file names. (Kuno Meyer, #127361)
7726
* allow ``easy_install bzr`` runs without fatal errors.
7727
(Alexander Belchenko, #125521)
7729
* Graph._filter_candidate_lca does not raise KeyError if a candidate
7730
is eliminated just before it would normally be examined. (Aaron Bentley)
7732
* SMTP connection failures produce a nice message, not a traceback.
7738
* Don't show "dots" progress indicators when run non-interactively, such
7739
as from cron. (Martin Pool)
7741
* ``info`` now formats locations more nicely and lists "submit" and
7742
"public" branches (Aaron Bentley)
7744
* New ``pack`` command that will trigger database compression within
7745
the repository (Robert Collins)
7747
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
7748
version is approximately 2-3x faster at parsing a ``.kndx`` file.
7749
Which yields a measurable improvement for commands which have to
7750
read from the repository, such as a 1s => 0.75s improvement in
7751
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
7753
* Merge is now faster. Depending on the scenario, it can be more than 2x
7754
faster. (Aaron Bentley)
7756
* Give a clearer warning, and allow ``python setup.py install`` to
7757
succeed even if pyrex is not available.
7758
(John Arbash Meinel)
7760
* ``DirState._read_dirblocks`` now has an optional Pyrex
7761
implementation. This improves the speed of any command that has to
7762
read the entire DirState. (``diff``, ``status``, etc, improve by
7764
``bisect_dirblocks`` has also been improved, which helps all
7765
``_get_entry`` type calls (whenever we are searching for a
7766
particular entry in the in-memory DirState).
7767
(John Arbash Meinel)
7769
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
7770
branch revision history for ui display unless -v is supplied.
7773
* ``bzr log -rA..B`` output shifted to the left margin if the log only
7774
contains merge revisions. (Kent Gibson)
7776
* The ``plugins`` command is now public with improved help.
7779
* New bundle and merge directive formats are faster to generate, and
7781
* Annotate merge now works when there are local changes. (Aaron Bentley)
7783
* Commit now only shows the progress in terms of directories instead of
7784
entries. (Ian Clatworthy)
7786
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
7787
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
7790
* Fix ``VersionedFile.get_graph()`` to avoid using
7791
``set.difference_update(other)``, which has bad scaling when
7792
``other`` is large. This improves ``VF.get_graph([version_id])`` for
7793
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
7795
* The ``--lsprof-file`` option now generates output for KCacheGrind if
7796
the file starts with ``callgrind.out``. This matches the default file
7797
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
7799
* Fix ``bzr update`` to avoid an unnecessary
7800
``branch.get_master_branch`` call, which avoids 1 extra connection
7801
to the remote server. (Partial fix for #128076, John Arbash Meinel)
7803
* Log errors from the smart server in the trace file, to make debugging
7804
test failures (and live failures!) easier. (Andrew Bennetts)
7806
* The HTML version of the man page has been superceded by a more
7807
comprehensive manual called the Bazaar User Reference. This manual
7808
is completed generated from the online help topics. As part of this
7809
change, limited reStructuredText is now explicitly supported in help
7810
topics and command help with 'unnatural' markup being removed prior
7811
to display by the online help or inclusion in the man page.
7814
* HTML documentation now use files extension ``*.html``
7815
(Alexander Belchenko)
7817
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
7818
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
7820
* ``bzr selftest --strict`` fails if there are any missing features or
7821
expected test failures. (Daniel Watkins, #111914)
7823
* Link to registration survey added to README. (Ian Clatworthy)
7825
* Windows standalone installer show link to registration survey
7826
when installation finished. (Alexander Belchenko)
7831
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
7832
Options are now required to provide a help string and it must
7833
comply with the style guide by being one or more sentences with an
7834
initial capital and final period. (Martin Pool)
7836
* KnitIndex.get_parents now returns tuples. (Robert Collins)
7838
* Ancient unused ``Repository.text_store`` attribute has been removed.
7841
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
7842
rather than just bytestrings, making it easier to represent multiple
7843
element names. As this interface was not used by any internal facilities
7844
since it was introduced in 0.18 no API compatibility is being preserved.
7845
The serialised form of these packs is identical with 0.18 when a single
7846
element tuple is in use. (Robert Collins)
7851
* merge now uses ``iter_changes`` to calculate changes, which makes room for
7852
future performance increases. It is also more consistent with other
7853
operations that perform comparisons, and reduces reliance on
7854
Tree.inventory. (Aaron Bentley)
7856
* Refactoring of transport classes connected to a remote server.
7857
ConnectedTransport is a new class that serves as a basis for all
7858
transports needing to connect to a remote server. transport.split_url
7859
have been deprecated, use the static method on the object instead. URL
7860
tests have been refactored too.
7863
* Better connection sharing for ConnectedTransport objects.
7864
transport.get_transport() now accepts a 'possible_transports' parameter.
7865
If a newly requested transport can share a connection with one of the
7869
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
7870
the null revision, and consider using ``None`` for this purpose
7871
deprecated. (Aaron Bentley)
7873
* New ``index`` module with abstract index functionality. This will be
7874
used during the planned changes in the repository layer. Currently the
7875
index layer provides a graph aware immutable index, a builder for the
7876
same index type to allow creating them, and finally a composer for
7877
such indices to allow the use of many indices in a single query. The
7878
index performance is not optimised, however the API is stable to allow
7879
development on top of the index. (Robert Collins)
7881
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
7882
their directory sections. This is equivalent to comparing
7883
``path.split('/')``, only without having to split the paths.
7884
This has a Pyrex implementation available.
7885
(John Arbash Meinel)
7887
* New transport decorator 'unlistable+' which disables the list_dir
7888
functionality for testing.
7890
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
7892
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
7893
for performing annotate-merge. (Aaron Bentley)
7895
* New EmailMessage class to create email messages. (Adeodato Simó)
7897
* Unused functions on the private interface KnitIndex have been removed.
7900
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
7901
of a ``index.GraphIndex``. (Robert Collins)
7903
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
7904
the parents of many knit nodes at once, reducing round trips to the
7905
underlying index. (Robert Collins)
7907
* Graph now has an is_ancestor method, various bits use it.
7910
* The ``-Dhpss`` flag now includes timing information. As well as
7911
logging when a new connection is opened. (John Arbash Meinel)
7913
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
7914
callers when inserting data, allowing generation of readv style access
7915
during pack creation, without needing a separate pass across the output
7916
pack to gather such details. (Robert Collins)
7918
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
7919
files that are stored on a transport. (Robert Collins)
7921
* New ``Repository.has_same_location`` method that reports if two
7922
repository objects refer to the same repository (although with some risk
7923
of false negatives). (Andrew Bennetts)
7925
* InterTree.compare now passes require_versioned on correctly.
7928
* New methods on Repository - ``start_write_group``,
7929
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
7930
which provide a clean hook point for transactional Repositories - ones
7931
where all the data for a fetch or commit needs to be made atomically
7932
available in one step. This allows the write lock to remain while making
7933
a series of data insertions. (e.g. data conversion). (Robert Collins)
7935
* In ``bzrlib.knit`` the internal interface has been altered to use
7936
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
7937
describe where data in a knit is, allowing knits to be split into
7938
many files. (Robert Collins)
7940
* ``bzrlib.knit._KnitData`` split into cache management and physical access
7941
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
7942
The former provides access into a .pack file, and the latter provides the
7943
current production repository form of .knit files. (Robert Collins)
7948
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
7949
``--keep-output`` options, which are obsolete now that tests
7950
are done within directories in $TMPDIR. (Martin Pool)
7952
* The SSH_AUTH_SOCK environment variable is now reset to avoid
7953
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
7955
* run_bzr_subprocess handles parameters the same way as run_bzr:
7956
either a string or a list of strings should be passed as the first
7957
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
7963
:Released: 2007-07-17
7968
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
7974
:Released: 2007-07-10
7979
* Do not suppress pipe errors, etc. in non-display commands
7980
(Alexander Belchenko, #87178)
7982
* Display a useful error message when the user requests to annotate
7983
a file that is not present in the specified revision.
7984
(James Westby, #122656)
7986
* Commands that use status flags now have a reference to 'help
7987
status-flags'. (Daniel Watkins, #113436)
7989
* Work around python-2.4.1 inhability to correctly parse the
7990
authentication header.
7991
(Vincent Ladeuil, #121889)
7993
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
7995
* Fix tempfile permissions error in smart server tar bundling under
7996
Windows. (Martin _, #119330)
7998
* Fix detection of directory entries in the inventory. (James Westby)
8000
* Fix handling of http code 400: Bad Request When issuing too many ranges.
8001
(Vincent Ladeuil, #115209)
8003
* Issue a CONNECT request when connecting to an https server
8004
via a proxy to enable SSL tunneling.
8005
(Vincent Ladeuil, #120678)
8007
* Fix ``bzr log -r`` to support selecting merge revisions, both
8008
individually and as part of revision ranges.
8009
(Kent Gibson, #4663)
8011
* Don't leave cruft behind when failing to acquire a lockdir.
8012
(Martin Pool, #109169)
8014
* Don't use the '-f' strace option during tests.
8015
(Vincent Ladeuil, #102019).
8017
* Warn when setting ``push_location`` to a value that will be masked by
8018
locations.conf. (Aaron Bentley, #122286)
8020
* Fix commit ordering in corner case (Aaron Bentley, #94975)
8022
* Make annotate behave in a non-ASCII world (Adeodato Simó).
8027
* The --lsprof-file option now dumps a text rendering of the profiling
8028
information if the filename ends in ".txt". It will also convert the
8029
profiling information to a format suitable for KCacheGrind if the
8030
output filename ends in ".callgrind". Fixes to the lsprofcalltree
8031
conversion process by Jean Paul Calderone and Itamar were also merged.
8032
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
8034
* ``info`` now defaults to non-verbose mode, displaying only paths and
8035
abbreviated format info. ``info -v`` displays all the information
8036
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
8038
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
8041
* The internal ``weave-list`` command has become ``versionedfile-list``,
8042
and now lists knits as well as weaves. (Aaron Bentley)
8044
* Automatic merge base selection uses a faster algorithm that chooses
8045
better bases in criss-cross merge situations (Aaron Bentley)
8047
* Progress reporting in ``commit`` has been improved. The various logical
8048
stages are now reported on as follows, namely:
8050
* Collecting changes [Entry x/y] - Stage n/m
8051
* Saving data locally - Stage n/m
8052
* Uploading data to master branch - Stage n/m
8053
* Updating the working tree - Stage n/m
8054
* Running post commit hooks - Stage n/m
8056
If there is no master branch, the 3rd stage is omitted and the total
8057
number of stages is adjusted accordingly.
8059
Each hook that is run after commit is listed with a name (as hooks
8060
can be slow it is useful feedback).
8061
(Ian Clatworthy, Robert Collins)
8063
* Various operations that are now faster due to avoiding unnecessary
8064
topological sorts. (Aaron Bentley)
8066
* Make merge directives robust against broken bundles. (Aaron Bentley)
8068
* The lsprof filename note is emitted via trace.note(), not standard
8069
output. (Aaron Bentley)
8071
* ``bzrlib`` now exports explicit API compatibility information to assist
8072
library users and plugins. See the ``bzrlib.api`` module for details.
8075
* Remove unnecessary lock probes when acquiring a lockdir.
8078
* ``bzr --version`` now shows the location of the bzr log file, which
8079
is especially useful on Windows. (Martin Pool)
8081
* -D now supports hooks to get debug tracing of hooks (though its currently
8082
minimal in nature). (Robert Collins)
8084
* Long log format reports deltas on merge revisions.
8085
(John Arbash Meinel, Kent Gibson)
8087
* Make initial push over ftp more resilient. (John Arbash Meinel)
8089
* Print a summary of changes for update just like pull does.
8090
(Daniel Watkins, #113990)
8092
* Add a -Dhpss option to trace smart protocol requests and responses.
8098
* Testing cleanups -
8099
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
8100
to ``bzrlib.tests.repository_implementations``;
8101
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
8102
to ``bzrlib.tests.interrepository_implementations``;
8103
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
8104
``bzrlib.tests.test_transport_implementations``.
8105
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
8106
``bzrlib.tests.branch_implementations``.
8107
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
8108
``bzrlib.tests.bzrdir_implementations``.
8109
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
8110
to ``bzrlib.tests.interversionedfile_implementations``.
8111
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
8112
``bzrlib.tests.revisionstore_implementations``.
8113
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
8114
``bzrlib.tests.workingtree_implementations``.
8115
These changes are an API break in the testing infrastructure only.
8118
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
8120
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
8121
win32. Callers of the function should do this and use the new
8122
``MutableTree.smart_add`` method instead. (Robert Collins)
8124
* ``bzrlib.add.glob_expand_for_win32`` is now
8125
``bzrlib.win32utils.glob_expand``. (Robert Collins)
8127
* ``bzrlib.add.FastPath`` is now private and moved to
8128
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
8130
* ``LockDir.wait`` removed. (Martin Pool)
8132
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
8133
``server_stopped`` hooks. The first parameter is now an iterable of
8134
backing URLs rather than a single URL. This is to reflect that many
8135
URLs may map to the external URL of the server. E.g. the server interally
8136
may have a chrooted URL but also the local file:// URL will be at the
8137
same location. (Robert Collins)
8142
* New SMTPConnection class to unify email handling. (Adeodato Simó)
8144
* Fix documentation of BzrError. (Adeodato Simó)
8146
* Make BzrBadParameter an internal error. (Adeodato Simó)
8148
* Remove use of 'assert False' to raise an exception unconditionally.
8151
* Give a cleaner error when failing to decode knit index entry.
8154
* TreeConfig would mistakenly search the top level when asked for options
8155
from a section. It now respects the section argument and only
8156
searches the specified section. (James Westby)
8158
* Improve ``make api-docs`` output. (John Arbash Meinel)
8160
* Use os.lstat rather than os.stat for osutils.make_readonly and
8161
osutils.make_writeable. This makes the difftools plugin more
8162
robust when dangling symlinks are found. (Elliot Murphy)
8164
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
8165
lockdirs are taken or released. (Martin Pool)
8167
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
8168
allows a nicer UI when hooks are running as the current hook can
8169
be displayed. (Robert Collins)
8171
* ``Transport.get`` has had its interface made more clear for ease of use.
8172
Retrieval of a directory must now fail with either 'PathError' at open
8173
time, or raise 'ReadError' on a read. (Robert Collins)
8175
* New method ``_maybe_expand_globs`` on the ``Command`` class for
8176
dealing with unexpanded glob lists - e.g. on the win32 platform. This
8177
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
8179
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
8180
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
8183
* New method ``external_url`` on Transport for obtaining the url to
8184
hand to external processes. (Robert Collins)
8186
* Teach windows installers to build pyrex/C extensions.
8187
(Alexander Belchenko)
8192
* Removed the ``--keep-output`` option from selftest and clean up test
8193
directories as they're used. This reduces the IO load from
8194
running the test suite and cuts the time by about half.
8195
(Andrew Bennetts, Martin Pool)
8197
* Add scenarios as a public attribute on the TestAdapter classes to allow
8198
modification of the generated scenarios before adaption and easier
8199
testing. (Robert Collins)
8201
* New testing support class ``TestScenarioApplier`` which multiplies
8202
out a single teste by a list of supplied scenarios. (RobertCollins)
8204
* Setting ``repository_to_test_repository`` on a repository_implementations
8205
test will cause it to be called during repository creation, allowing the
8206
testing of repository classes which are not based around the Format
8207
concept. For example a repository adapter can be tested in this manner,
8208
by altering the repository scenarios to include a scenario that sets this
8209
attribute during the test parameterisation in
8210
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
8212
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
8213
interface is now self.run_bzr. The command to run can be passed as
8214
either a list of parameters, a string containing the command line, or
8215
(deprecated) varargs parameters. (Martin Pool)
8217
* The base TestCase now isolates tests from -D parameters by clearing
8218
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
8220
* Add a relpath parameter to get_transport methods in test framework to
8221
avoid useless cloning.
8222
(Vincent Ladeuil, #110448)
8228
:Released: 2007-06-18
8233
* Fix crash of commit due to wrong lookup of filesystem encoding.
8234
(Colin Watson, #120647)
8236
* Revert logging just to stderr in commit as broke unicode filenames.
8237
(Aaron Bentley, Ian Clatworthy, #120930)
8243
:Released: 2007-06-12
8245
Notes When Upgrading
8246
********************
8248
* The kind() and is_executable() APIs on the WorkingTree interface no
8249
longer implicitly (read) locks and unlocks the tree. This *might*
8250
impact some plug-ins and tools using this part of the API. If you find
8251
an issue that may be caused by this change, please let us know,
8252
particularly the plug-in/tool maintainer. If encountered, the API
8253
fix is to surround kind() and is_executable() calls with lock_read()
8254
and unlock() like so::
8256
work_tree.lock_read()
8258
kind = work_tree.kind(...)
8264
* Rework of LogFormatter API to provide beginning/end of log hooks and to
8265
encapsulate the details of the revision to be logged in a LogRevision
8267
In long log formats, merge revision ids are only shown when --show-ids
8268
is specified, and are labelled "revision-id:", as per mainline
8269
revisions, instead of "merged:". (Kent Gibson)
8271
* New ``BranchBuilder`` API which allows the construction of particular
8272
histories quickly. Useful for testing and potentially other applications
8273
too. (Robert Collins)
8278
* There are two new help topics, working-trees and repositories that
8279
attempt to explain these concepts. (James Westby, John Arbash Meinel,
8282
* Added ``bzr log --limit`` to report a limited number of revisions.
8283
(Kent Gibson, #3659)
8285
* Revert does not try to preserve file contents that were originally
8286
produced by reverting to a historical revision. (Aaron Bentley)
8288
* ``bzr log --short`` now includes ``[merge]`` for revisions which
8289
have more than one parent. This is a small improvement to help
8290
understanding what changes have occurred
8291
(John Arbash Meinel, #83887)
8293
* TreeTransform avoids many renames when contructing large trees,
8294
improving speed. 3.25x speedups have been observed for construction of
8295
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
8297
* Commit on large trees is now faster. In my environment, a commit of
8298
a small change to the Mozilla tree (55k files) has dropped from
8299
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
8300
small change is 33% faster. (Ian Clatworthy)
8302
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
8308
* ``bzr push`` should only connect to the remote location one time.
8309
We have been connecting 3 times because we forget to pass around
8310
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
8311
that we can pass in the Transport that we already have.
8312
(John Arbash Meinel, #75721)
8314
* ``DirState.set_state_from_inventory()`` needs to properly order
8315
based on split paths, not just string paths.
8316
(John Arbash Meinel, #115947)
8318
* Let TestUIFactoy encode the password prompt with its own stdout.
8319
(Vincent Ladeuil, #110204)
8321
* pycurl should take use the range header that takes the range hint
8323
(Vincent Ladeuil, #112719)
8325
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
8326
on a missing file. (Aaron Bentley, #118186)
8328
* WorkingTree.remove works correctly with tree references, and when pwd is
8329
not the tree root. (Aaron Bentley)
8331
* Merge no longer fails when a file is renamed in one tree and deleted
8332
in the other. (Aaron Bentley, #110279)
8334
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
8335
and defaults to the last revision (Matthew Fuller, #90048)
8337
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
8338
(Daniel Watkins, #111958)
8340
* ``bzr branch -r revid:foo`` can be used to branch any revision in
8341
your repository. (Previously Branch6 only supported revisions in your
8342
mainline). (John Arbash Meinel, #115343)
8347
:Released: 2007-05-07
8352
* Handle when you have 2 directories with similar names, but one has a
8353
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
8354
iterator was using direct comparison and ``'abc/a'`` sorts after
8355
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
8356
(John Arbash Meinel, #111227)
8358
* Handle when someone renames a file on disk without telling bzr.
8359
Previously we would report the first file as missing, but not show
8360
the new unknown file. (John Arbash Meinel, #111288)
8362
* Avoid error when running hooks after pulling into or pushing from
8363
a branch bound to a smartserver branch. (Martin Pool, #111968)
8368
* Move developer documentation to doc/developers/. This reduces clutter in
8369
the root of the source tree and allows HACKING to be split into multiple
8370
files. (Robert Collins, Alexander Belchenko)
8372
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
8373
``DirState.update_entry()``. This optimizes the core logic for ``bzr
8374
diff`` and ``bzr status`` significantly improving the speed of
8375
both. (John Arbash Meinel)
8380
:Released: 2007-04-30
8385
* Handle the case when you delete a file, and then rename another file
8386
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
8387
status`` should show the removed file and an unknown file in its
8388
place. (John Arbash Meinel, #109993)
8390
* Bundles properly read and write revision properties that have an
8391
empty value. And when the value is not ASCII.
8392
(John Arbash Meinel, #109613)
8394
* Fix the bzr commit message to be in text mode.
8395
(Alexander Belchenko, #110901)
8397
* Also handle when you rename a file and create a file where it used
8398
to be. (John Arbash Meinel, #110256)
8400
* ``WorkingTree4._iter_changes`` should not descend into unversioned
8401
directories. (John Arbash Meinel, #110399)
8406
:Released: 2007-04-26
8408
Notes When Upgrading
8409
********************
8411
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
8412
it could be recovered again.
8413
This has been done for consistency with svn and the unix rm command.
8414
The old ``remove`` behaviour has been retained in the new option
8415
``bzr remove --keep``, which will just stop versioning the file,
8417
``bzr remove --force`` have been added which will always delete the
8419
``bzr remove`` is also more verbose.
8420
(Marius Kruger, #82602)
8425
* Merge directives can now be supplied as input to `merge` and `pull`,
8426
like bundles can. (Aaron Bentley)
8428
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
8429
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
8430
to continue. This can be disabled by setting the environment variable
8431
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
8433
* selftest now supports --list-only to list tests instead of running
8434
them. (Ian Clatworthy)
8436
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
8437
tests with names that match that regular expression.
8438
(Ian Clatworthy, #102679)
8440
* selftest now supports --randomize SEED to run tests in a random order.
8441
SEED is typically the value 'now' meaning 'use the current time'.
8442
(Ian Clatworthy, #102686)
8444
* New option ``--fixes`` to commit, which stores bug fixing annotations as
8445
revision properties. Built-in support for Launchpad, Debian, Trac and
8446
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
8448
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
8449
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
8452
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
8455
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
8456
into using local variables instead of going through ``self._var``.
8457
Improves the time to ``merge_sort`` a 10k revision graph by
8458
approximately 40% (~700->400ms). (John Arbash Meinel)
8460
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
8463
* ``bzr help`` now provides cross references to other help topics using
8464
the _see_also facility on command classes. Likewise the bzr_man
8465
documentation, and the bzr.1 man page also include this information.
8468
* Tags are now included in logs, that use the long log formatter.
8469
(Erik Bågfors, Alexander Belchenko)
8471
* ``bzr help`` provides a clearer message when a help topic cannot be
8472
found. (Robert Collins, #107656)
8474
* ``bzr help`` now accepts optional prefixes for command help. The help
8475
for all commands can now be found at ``bzr help commands/COMMANDNAME``
8476
as well as ``bzr help COMMANDNAME`` (which only works for commands
8477
where the name is not the same as a more general help topic).
8480
* ``bzr help PLUGINNAME`` will now return the module docstring from the
8481
plugin PLUGINNAME. (Robert Collins, #50408)
8483
* New help topic ``urlspec`` which lists the availables transports.
8484
(Goffredo Baroncelli)
8486
* doc/server.txt updated to document the default bzr:// port
8487
and also update the blurb about the hpss' current status.
8488
(Robert Collins, #107125).
8490
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
8491
serve out to the local LAN (and anyone in the world that can reach the
8492
machine running ``bzr serve``. (Robert Collins, #98918)
8494
* A new smart server protocol version has been added. It prefixes requests
8495
and responses with an explicit version identifier so that future protocol
8496
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
8498
* The bzr protocol version 2 indicates success or failure in every response
8499
without depending on particular commands encoding that consistently,
8500
allowing future client refactorings to be much more robust about error
8501
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
8503
* The smart protocol over HTTP client has been changed to always post to the
8504
same ``.bzr/smart`` URL under the original location when it can. This allows
8505
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
8506
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
8508
* digest authentication is now supported for proxies and HTTP by the urllib
8509
based http implementation. Tested against Apache 2.0.55 and Squid
8510
2.6.5. Basic and digest authentication are handled coherently for HTTP
8511
and proxy: if the user is provided in the url (bzr command line for HTTP,
8512
proxy environment variables for proxies), the password is prompted for
8513
(only once). If the password is provided, it is taken into account. Once
8514
the first authentication is successful, all further authentication
8515
roundtrips are avoided by preventively setting the right authentication
8522
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
8523
code paths. (Robert Collins)
8525
* Change the format of chroot urls so that they can be safely manipulated
8526
by generic url utilities without causing the resulting urls to have
8527
escaped the chroot. A side effect of this is that creating a chroot
8528
requires an explicit action using a ChrootServer.
8529
(Robert Collins, Andrew Bennetts)
8531
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
8532
rather than fixing bug #96847. (Aaron Bentley)
8534
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
8535
``WorkingTree._write_inventory``. (Aaron Bentley)
8537
* Convenience method ``TestCase.expectFailure`` ensures that known failures
8538
do not silently pass. (Aaron Bentley)
8540
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
8541
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
8543
* New SmartServer hooks facility. There are two initial hooks documented
8544
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
8545
plugins to execute code upon server startup and shutdown.
8548
* SmartServer in standalone mode will now close its listening socket
8549
when it stops, rather than waiting for garbage collection. This primarily
8550
fixes test suite hangs when a test tries to connect to a shutdown server.
8551
It may also help improve behaviour when dealing with a server running
8552
on a specific port (rather than dynamically assigned ports).
8555
* Move most SmartServer code into a new package, bzrlib/smart.
8556
bzrlib/transport/remote.py contains just the Transport classes that used
8557
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
8559
* urllib http implementation avoid roundtrips associated with
8560
401 (and 407) errors once the authentication succeeds.
8563
* urlib http now supports querying the user for a proxy password if
8564
needed. Realm is shown in the prompt for both HTTP and proxy
8565
authentication when the user is required to type a password.
8568
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
8569
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
8570
consistent with its new home in ``bzrlib/transport/remote.py``, and because
8571
it's not really a "smart" transport, just one that does file operations
8572
via remote procedure calls. (Andrew Bennetts)
8574
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
8575
``Branch`` now accept a ``token`` keyword argument, so that separate
8576
instances of those objects can share a lock if it has the right token.
8577
(Andrew Bennetts, Robert Collins)
8579
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
8580
branch references - which the smart server component needs.
8582
* The Repository API ``make_working_trees`` is now permitted to return
8583
False when ``set_make_working_trees`` is not implemented - previously
8584
an unimplemented ``set_make_working_trees`` implied the result True
8585
from ``make_working_trees``. This has been changed to accomodate the
8586
smart server, where it does not make sense (at this point) to ever
8587
make working trees by default. (Robert Collins)
8589
* Command objects can now declare related help topics by having _see_also
8590
set to a list of related topic. (Robert Collins)
8592
* ``bzrlib.help`` now delegates to the Command class for Command specific
8593
help. (Robert Collins)
8595
* New class ``TransportListRegistry``, derived from the Registry class, which
8596
simplifies tracking the available Transports. (Goffredo Baroncelli)
8598
* New function ``Branch.get_revision_id_to_revno_map`` which will
8599
return a dictionary mapping revision ids to dotted revnos. Since
8600
dotted revnos are defined in the context of the branch tip, it makes
8601
sense to generate them from a ``Branch`` object.
8602
(John Arbash Meinel)
8604
* Fix the 'Unprintable error' message display to use the repr of the
8605
exception that prevented printing the error because the str value
8606
for it is often not useful in debugging (e.g. KeyError('foo') has a
8607
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
8608
useful. (Robert Collins)
8610
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
8616
* Don't fail bundle selftest if email has 'two' embedded.
8617
(Ian Clatworthy, #98510)
8619
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
8620
(Robert Widhopf-Fenk, #98591)
8622
* Remove ``--basis`` from the checkout/branch commands - it didn't work
8623
properly and is no longer beneficial.
8624
(Robert Collins, #53675, #43486)
8626
* Don't produce encoding error when adding duplicate files.
8629
* Fix ``bzr log <file>`` so it only logs the revisions that changed
8630
the file, and does it faster.
8631
(Kent Gibson, John Arbash Meinel, #51980, #69477)
8633
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
8634
an empty versioned directory, which now has files in it.
8635
(John Arbash Meinel, #104257)
8637
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
8638
inside the ancestry of the other. Saves a lot of graph processing
8639
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
8640
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
8642
* Fix ``show_diff_trees`` to handle the case when a file is modified,
8643
and the containing directory is renamed. (The file path is different
8644
in this versus base, but it isn't marked as a rename).
8645
(John Arbash Meinel, #103870)
8647
* FTP now works even when the FTP server does not support atomic rename.
8648
(Aaron Bentley, #89436)
8650
* Correct handling in bundles and merge directives of timezones with
8651
that are not an integer number of hours offset from UTC. Always
8652
represent the epoch time in UTC to avoid problems with formatting
8653
earlier times on win32. (Martin Pool, Alexander Belchenko, John
8656
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
8658
* "dirstate" and "dirstate-tags" formats now produce branches compatible
8659
with old versions of bzr. (Aaron Bentley, #107168))
8661
* Handle moving a directory when children have been added, removed,
8662
and renamed. (John Arbash Meinel, #105479)
8664
* Don't preventively use basic authentication for proxy before receiving a
8665
407 error. Otherwise people willing to use other authentication schemes
8666
may expose their password in the clear (or nearly). This add one
8667
roundtrip in case basic authentication should be used, but plug the
8671
* Handle http and proxy digest authentication.
8672
(Vincent Ladeuil, #94034).
8677
* Added ``bzrlib.strace.strace`` which will strace a single callable and
8678
return a StraceResult object which contains just the syscalls involved
8679
in running it. (Robert Collins)
8681
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
8682
default time down to one suitable for tests. (Andrew Bennetts)
8684
* Add new ``vfs_transport_factory`` attribute on tests which provides the
8685
common vfs backing for both the readonly and readwrite transports.
8686
This allows the RemoteObject tests to back onto local disk or memory,
8687
and use the existing ``transport_server`` attribute all tests know about
8688
to be the smart server transport. This in turn allows tests to
8689
differentiate between 'transport to access the branch', and
8690
'transport which is a VFS' - which matters in Remote* tests.
8691
(Robert Collins, Andrew Bennetts)
8693
* The ``make_branch_and_tree`` method for tests will now create a
8694
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
8695
a LocalURLServer. (Robert Collins, Andrew Bennetts)
8697
* Branch implementation tests have been audited to ensure that all urls
8698
passed to Branch APIs use proper urls, except when local-disk paths
8699
are intended. This is so that tests correctly access the test transport
8700
which is often not equivalent to local disk in Remote* tests. As part
8701
of this many tests were adjusted to remove dependencies on local disk
8703
(Robert Collins, Andrew Bennetts)
8705
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
8706
functions by adding a ``__unittest`` global attribute. (Robert Collins,
8707
Andrew Bennetts, Martin Pool, Jonathan Lange)
8709
* Refactored proxy and authentication handling to simplify the
8710
implementation of new auth schemes for both http and proxy.
8716
:Released: 2007-04-01
8721
* Handle incompatible repositories as a user issue when fetching.
8724
* Don't give a recommendation to upgrade when branching or
8725
checking out a branch that contains an old-format working tree.
8731
:Released: 2007-03-26
8736
* A warning is now displayed when opening working trees in older
8737
formats, to encourage people to upgrade to WorkingTreeFormat4.
8743
* HTTP redirections are now taken into account when a branch (or a
8744
bundle) is accessed for the first time. A message is issued at each
8745
redirection to inform the user. In the past, http redirections were
8746
silently followed for each request which significantly degraded the
8747
performances. The http redirections are not followed anymore by
8748
default, instead a RedirectRequested exception is raised. For bzrlib
8749
users needing to follow http redirections anyway,
8750
``bzrlib.transport.do_catching_redirections`` provide an easy transition
8756
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
8757
lock to an OS write lock. Linux can do this without unlocking, Win32
8758
needs to unlock in between. (John Arbash Meinel)
8760
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
8761
to silence (when false) warnings about opening old formats.
8764
* Fix minor performance regression with bzr-0.15 on pre-dirstate
8765
trees. (We were reading the working inventory too many times).
8766
(John Arbash Meinel)
8768
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
8769
``revision_history``. Branch subclasses should override
8770
``_gen_revision_history`` rather than ``revision_history`` to make use of
8771
this cache, and call ``_clear_revision_history_cache`` and
8772
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
8777
* Take ``smtp_server`` from user config into account.
8780
* Restore Unicode filename handling for versioned and unversioned files.
8781
(John Arbash Meinel, #92608)
8783
* Don't fail during ``bzr commit`` if a file is marked removed, and
8784
the containing directory is auto-removed. (John Arbash Meinel, #93681)
8786
* ``bzr status FILENAME`` failed on Windows because of an uncommon
8787
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
8788
(Wouter van Heyst, John Arbash Meinel, #90819)
8790
* ``bzr checkout source`` should create a local branch in the same
8791
format as source. (John Arbash Meinel, #93854)
8793
* ``bzr commit`` with a kind change was failing to update the
8794
last-changed-revision for directories. The
8795
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
8796
ignoring the fact that the kind could have changed, too.
8797
(John Arbash Meinel, #90111)
8799
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
8800
the directory. So that there was a chance it would break commit,
8801
etc. (John Arbash Meinel, #94037)
8803
* Correctly handles mutiple permanent http redirections.
8809
:Released: 2007-03-14
8811
Notes When Upgrading
8812
********************
8814
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
8815
default to ``--trees`` instead of ``--no-trees``.
8816
Existing shared repositories are not affected.
8821
* New ``merge-directive`` command to generate machine- and human-readable
8822
merge requests. (Aaron Bentley)
8824
* New ``submit:`` revision specifier makes it easy to diff against the
8825
common ancestor with the submit location (Aaron Bentley)
8827
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
8829
* Added ``bzr status --versioned`` to report only versioned files,
8830
not unknowns. (Kent Gibson)
8832
* Merge now autodetects the correct line-ending style for its conflict
8833
markers. (Aaron Bentley)
8838
* Refactored SSH vendor registration into SSHVendorManager class.
8844
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
8845
numbered dirs for TestCaseInTempDir. This is default behavior
8846
on Windows. Anyone can force named dirs on Windows
8847
with ``--no-numbered-dirs``. (Alexander Belchenko)
8849
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
8850
from the command line. (Marien Zwart, #90501)
8852
* Fix ``TreeTransform._iter_changes`` when both the source and
8853
destination are missing. (Aaron Bentley, #88842)
8855
* Fix commit of merges with symlinks in dirstate trees.
8858
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
8859
(Wouter van Heyst, #53483)
8865
:Released: 2007-03-07
8870
* The default disk format has changed. Please run 'bzr upgrade' in your
8871
working trees to upgrade. This new default is compatible for network
8872
operations, but not for local operations. That is, if you have two
8873
versions of bzr installed locally, after upgrading you can only use the
8874
bzr 0.15 version. This new default does not enable tags or nested-trees
8875
as they are incompatible with bzr versions before 0.15 over the network.
8877
* For users of bzrlib: Two major changes have been made to the working tree
8878
api in bzrlib. The first is that many methods and attributes, including
8879
the inventory attribute, are no longer valid for use until one of
8880
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
8881
and become invalid again after unlock is called. This has been done
8882
to improve performance and correctness as part of the dirstate
8884
(Robert Collins, John A Meinel, Martin Pool, and others).
8886
* For users of bzrlib: The attribute 'tree.inventory' should be considered
8887
readonly. Previously it was possible to directly alter this attribute, or
8888
its contents, and have the tree notice this. This has been made
8889
unsupported - it may work in some tree formats, but in the newer dirstate
8890
format such actions will have no effect and will be ignored, or even
8891
cause assertions. All operations possible can still be carried out by a
8892
combination of the tree API, and the bzrlib.transform API. (Robert
8893
Collins, John A Meinel, Martin Pool, and others).
8898
* Support for OS Windows 98. Also .bzr.log on any windows system
8899
saved in My Documents folder. (Alexander Belchenko)
8901
* ``bzr mv`` enhanced to support already moved files.
8902
In the past the mv command would have failed if the source file doesn't
8903
exist. In this situation ``bzr mv`` would now detect that the file has
8904
already moved and update the repository accordingly, if the target file
8906
A new option ``--after`` has been added so that if two files already
8907
exist, you could notify Bazaar that you have moved a (versioned) file
8908
and replaced it with another. Thus in this case ``bzr move --after``
8909
will only update the Bazaar identifier.
8910
(Steffen Eichenberg, Marius Kruger)
8912
* ``ls`` now works on treeless branches and remote branches.
8915
* ``bzr help global-options`` describes the global options.
8918
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
8921
* Files are now allowed to change kind (e.g. from file to symlink).
8922
Supported by ``commit``, ``revert`` and ``status``
8925
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
8928
* ``bzr help checkouts`` descibes what checkouts are and some possible
8929
uses of them. (James Westby, Aaron Bentley)
8931
* A new ``-d`` option to push, pull and merge overrides the default
8932
directory. (Martin Pool)
8934
* Branch format 6: smaller, and potentially faster than format 5. Supports
8935
``append_history_only`` mode, where the log view and revnos do not change,
8936
except by being added to. Stores policy settings in
8937
".bzr/branch/branch.conf".
8939
* ``append_only`` branches: Format 6 branches may be configured so that log
8940
view and revnos are always consistent. Either create the branch using
8941
"bzr init --append-revisions-only" or edit the config file as descriped
8942
in docs/configuration.txt.
8944
* rebind: Format 6 branches retain the last-used bind location, so if you
8945
"bzr unbind", you can "bzr bind" to bind to the previously-selected
8948
* Builtin tags support, created and deleted by the ``tag`` command and
8949
stored in the branch. Tags can be accessed with the revisionspec
8950
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
8951
at present. Tags require a network incompatible upgrade. To perform this
8952
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
8953
repositories. (Martin Pool)
8955
* The ``bzr://`` transport now has a well-known port number, 4155,
8956
which it will use by default. (Andrew Bennetts, Martin Pool)
8958
* Bazaar now looks for user-installed plugins before looking for site-wide
8959
plugins. (Jonathan Lange)
8961
* ``bzr resolve`` now detects and marks resolved text conflicts.
8967
* Internally revision ids and file ids are now passed around as utf-8
8968
bytestrings, rather than treating them as Unicode strings. This has
8969
performance benefits for Knits, since we no longer need to decode the
8970
revision id for each line of content, nor for each entry in the index.
8971
This will also help with the future dirstate format.
8972
(John Arbash Meinel)
8974
* Reserved ids (any revision-id ending in a colon) are rejected by
8975
versionedfiles, repositories, branches, and working trees
8978
* Minor performance improvement by not creating a ProgressBar for
8979
every KnitIndex we create. (about 90ms for a bzr.dev tree)
8980
(John Arbash Meinel)
8982
* New easier to use Branch hooks facility. There are five initial hooks,
8983
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
8984
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
8985
``'post_uncommit'``. These hooks fire after the matching operation
8986
on a branch has taken place, and were originally added for the
8987
branchrss plugin. (Robert Collins)
8989
* New method ``Branch.push()`` which should be used when pushing from a
8990
branch as it makes performance and policy decisions to match the UI
8991
level command ``push``. (Robert Collins).
8993
* Add a new method ``Tree.revision_tree`` which allows access to cached
8994
trees for arbitrary revisions. This allows the in development dirstate
8995
tree format to provide access to the callers to cached copies of
8996
inventory data which are cheaper to access than inventories from the
8998
(Robert Collins, Martin Pool)
9000
* New ``Branch.last_revision_info`` method, this is being done to allow
9001
optimization of requests for both the number of revisions and the last
9002
revision of a branch with smartservers and potentially future branch
9003
formats. (Wouter van Heyst, Robert Collins)
9005
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
9006
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
9007
other for code reuse without requiring users to perform file-renaming
9008
gymnastics. (Robert Collins)
9010
* New Repository method ``'gather_stats'`` for statistic data collection.
9011
This is expected to grow to cover a number of related uses mainly
9012
related to bzr info. (Robert Collins)
9014
* Log formatters are now managed with a registry.
9015
``log.register_formatter`` continues to work, but callers accessing
9016
the FORMATTERS dictionary directly will not.
9018
* Allow a start message to be passed to the ``edit_commit_message``
9019
function. This will be placed in the message offered to the user
9020
for editing above the separator. It allows a template commit message
9021
to be used more easily. (James Westby)
9023
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
9024
you pass a Unicode string rather than an 8-bit string. Callers need
9025
to be updated to encode first. (John Arbash Meinel)
9027
* Branch.push, pull, merge now return Result objects with information
9028
about what happened, rather than a scattering of various methods. These
9029
are also passed to the post hooks. (Martin Pool)
9031
* File formats and architecture is in place for managing a forest of trees
9032
in bzr, and splitting up existing trees into smaller subtrees, and
9033
finally joining trees to make a larger tree. This is the first iteration
9034
of this support, and the user-facing aspects still require substantial
9035
work. If you wish to experiment with it, use ``bzr upgrade
9036
--dirstate-with-subtree`` in your working trees and repositories.
9037
You can use the hidden commands ``split`` and ``join`` and to create
9038
and manipulate nested trees, but please consider using the nested-trees
9039
branch, which contains substantial UI improvements, instead.
9040
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
9041
(Aaron Bentley, Martin Pool, Robert Collins).
9046
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
9047
branch, rather than the last changed revision of the file.
9048
(John Arbash Meinel, #82158)
9050
* Lock operations no longer hang if they encounter a permission problem.
9053
* ``bzr push`` can resume a push that was canceled before it finished.
9054
Also, it can push even if the target directory exists if you supply
9055
the ``--use-existing-dir`` flag.
9056
(John Arbash Meinel, #30576, #45504)
9058
* Fix http proxy authentication when user and an optional
9059
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
9062
* ``bzr log branch/file`` works for local treeless branches
9063
(Aaron Bentley, #84247)
9065
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
9067
* Searching location of CA bundle for PyCurl in env variable
9068
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
9069
(Alexander Belchenko, #82086)
9071
* ``bzr init`` works with unicode argument LOCATION.
9072
(Alexander Belchenko, #85599)
9074
* Raise ``DependencyNotPresent`` if pycurl do not support https.
9075
(Vincent Ladeuil, #85305)
9077
* Invalid proxy env variables should not cause a traceback.
9078
(Vincent Ladeuil, #87765)
9080
* Ignore patterns normalised to use '/' path separator.
9081
(Kent Gibson, #86451)
9083
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
9085
* Fix bzrtools shelve command for removed lines beginning with "--"
9086
(Johan Dahlberg, #75577)
9091
* New ``--first`` option to ``bzr selftest`` to run specified tests
9092
before the rest of the suite. (Martin Pool)
9098
:Released: 2007-01-23
9103
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
9108
* Skip documentation generation tests if the tools to do so are not
9109
available. Fixes running selftest for installled copies of bzr.
9110
(John Arbash Meinel, #80330)
9112
* Fix the code that discovers whether bzr is being run from it's
9113
working tree to handle the case when it isn't but the directory
9114
it is in is below a repository. (James Westby, #77306)
9120
:Released: 2007-01-16
9125
* New connection: ``bzr+http://`` which supports tunnelling the smart
9126
protocol over an HTTP connection. If writing is enabled on the bzr
9127
server, then you can write over the http connection.
9128
(Andrew Bennetts, John Arbash Meinel)
9130
* Aliases now support quotation marks, so they can contain whitespace
9133
* PyCurlTransport now use a single curl object. By specifying explicitly
9134
the 'Range' header, we avoid the need to use two different curl objects
9135
(and two connections to the same server). (Vincent Ladeuil)
9137
* ``bzr commit`` does not prompt for a message until it is very likely to
9138
succeed. (Aaron Bentley)
9140
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
9143
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
9144
of a list while checking if a revision id was requested. Takes 10s
9145
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
9146
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
9147
filtering lines with a regex rather than multiple ``str.find()``
9148
calls. (saves another 300ms) (John Arbash Meinel)
9150
* Policy can be set for each configuration key. This allows keys to be
9151
inherited properly across configuration entries. For example, this
9152
should enable you to do::
9154
[/home/user/project]
9155
push_location = sftp://host/srv/project/
9156
push_location:policy = appendpath
9158
And then a branch like ``/home/user/project/mybranch`` should get an
9159
automatic push location of ``sftp://host/srv/project/mybranch``.
9162
* Added ``bzr status --short`` to make status report svn style flags
9163
for each file. For example::
9165
$ bzr status --short
9171
* 'bzr selftest --clean-output' allows easily clean temporary tests
9172
directories without running tests. (Alexander Belchenko)
9174
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
9176
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
9177
local is fully merged into remote. (Jan Hudec)
9179
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
9184
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
9185
help speed up processing, as well allowing to extract unannotated
9186
lines. Between the two ``fileids_affected_by_revision_ids`` is
9187
improved by approx 10%. (John Arbash Meinel)
9189
* Change Revision serialization to only write out millisecond
9190
resolution. Rather than expecting floating point serialization to
9191
preserve more resolution than we need. (Henri Weichers, Martin Pool)
9193
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
9195
* When ``encoding_type`` attribute of class Command is equal to 'exact',
9196
force sys.stdout to be a binary stream on Windows, and therefore
9197
keep exact line-endings (without LF -> CRLF conversion).
9198
(Alexander Belchenko)
9200
* Single-letter short options are no longer globally declared. (Martin
9203
* Before using detected user/terminal encoding bzr should check
9204
that Python has corresponding codec. (Alexander Belchenko)
9206
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
9211
* ``bzr missing --verbose`` was showing adds/removals in the wrong
9212
direction. (John Arbash Meinel)
9214
* ``bzr annotate`` now defaults to showing dotted revnos for merged
9215
revisions. It cuts them off at a depth of 12 characters, but you can
9216
supply ``--long`` to see the full number. You can also use
9217
``--show-ids`` to display the original revision ids, rather than
9218
revision numbers and committer names. (John Arbash Meinel, #75637)
9220
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
9221
(Alexander Belchenko, #57869)
9223
* Win32-specific: output of cat, bundle and diff commands don't mangle
9224
line-endings (Alexander Belchenko, #55276)
9226
* Replace broken fnmatch based ignore pattern matching with custom pattern
9228
(Kent Gibson, Jan Hudec #57637)
9230
* pycurl and urllib can detect short reads at different places. Update
9231
the test suite to test more cases. Also detect http error code 416
9232
which was raised for that specific bug. Also enhance the urllib
9233
robustness by detecting invalid ranges (and pycurl's one by detecting
9234
short reads during the initial GET). (Vincent Ladeuil, #73948)
9236
* The urllib connection sharing interacts badly with urllib2
9237
proxy setting (the connections didn't go thru the proxy
9238
anymore). Defining a proper ProxyHandler solves the
9239
problem. (Vincent Ladeuil, #74759)
9241
* Use urlutils to generate relative URLs, not osutils
9242
(Aaron Bentley, #76229)
9244
* ``bzr status`` in a readonly directory should work without giving
9245
lots of errors. (John Arbash Meinel, #76299)
9247
* Mention the revisionspec topic for the revision option help.
9248
(Wouter van Heyst, #31663)
9250
* Allow plugins import from zip archives.
9251
(Alexander Belchenko, #68124)
9257
:Released: 2006-12-05
9259
No changes from 0.13rc
9265
:Released: 2006-11-27
9270
* New command ``bzr remove-tree`` allows the removal of the working
9272
(Daniel Silverstone)
9274
* urllib uses shared keep-alive connections, so http
9275
operations are substantially faster.
9276
(Vincent Ladeuil, #53654)
9278
* ``bzr export`` allows an optional branch parameter, to export a bzr
9279
tree from some other url. For example:
9280
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
9281
(Daniel Silverstone)
9283
* Added ``bzr help topics`` to the bzr help system. This gives a
9284
location for general information, outside of a specific command.
9285
This includes updates for ``bzr help revisionspec`` the first topic
9286
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
9288
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
9291
* Knit files will now cache full texts only when the size of the
9292
deltas is as large as the size of the fulltext. (Or after 200
9293
deltas, whichever comes first). This has the most benefit on large
9294
files with small changes, such as the inventory for a large project.
9295
(eg For a project with 2500 files, and 7500 revisions, it changes
9296
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
9301
* New -D option given before the command line turns on debugging output
9302
for particular areas. -Derror shows tracebacks on all errors.
9305
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
9306
and remove benchmarks that take longer than 10min to run.
9307
(John Arbash Meinel)
9309
* Use ``time.time()`` instead of ``time.clock()`` to decide on
9310
progress throttling. Because ``time.clock()`` is actually CPU time,
9311
so over a high-latency connection, too many updates get throttled.
9312
(John Arbash Meinel)
9314
* ``MemoryTransport.list_dir()`` would strip the first character for
9315
files or directories in root directory. (John Arbash Meinel)
9317
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
9318
branch references - which the smart server component needs.
9320
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
9321
prefix. It disallows any access to locations above a set URL. (Andrew
9327
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
9328
And optimize the knit index parsing code.
9329
(Dmitry Vasiliev, John Arbash Meinel)
9331
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
9332
without importing it. This prevented ``bzr upgrade`` from working
9333
unless a plugin already imported ``bzrlib.workingtree``
9334
(John Arbash Meinel, #70716)
9336
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
9338
* Give nicer error message when an http server returns a 403
9339
error code. (Vincent Ladeuil, #57644).
9341
* When a multi-range http GET request fails, try a single
9342
range one. If it fails too, forget about ranges. Remember that until
9343
the death of the transport and propagates that to the clones.
9344
(Vincent Ladeuil, #62276, #62029).
9346
* Handles user/passwords supplied in url from command
9347
line (for the urllib implementation). Don't request already
9348
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
9350
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
9351
are added. This fixes bug where fetching remote revisions records
9352
them as full references rather than integers.
9353
(John Arbash Meinel, #64789)
9355
* ``bzr ignore`` strips trailing slashes in patterns.
9356
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
9358
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
9360
* mv correctly handles paths that traverse symlinks.
9361
(Aaron Bentley, #66964)
9363
* Give nicer looking error messages when failing to connect over ssh.
9364
(John Arbash Meinel, #49172)
9366
* Pushing to a remote branch does not currently update the remote working
9367
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
9368
machine now show that the working tree is out of date.
9369
(Cheuksan Edward Wang #48136)
9371
* Use patiencediff instead of difflib for determining deltas to insert
9372
into knits. This avoids the O(N^3) behavior of difflib. Patience
9373
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
9375
* Running ``bzr log`` on nonexistent file gives an error instead of the
9376
entire log history. (Cheuksan Edward Wang #50793)
9378
* ``bzr cat`` can look up contents of removed or renamed files. If the
9379
pathname is ambiguous, i.e. the files in the old and new trees have
9380
different id's, the default is the file in the new tree. The user can
9381
use "--name-from-revision" to select the file in the old tree.
9382
(Cheuksan Edward Wang, #30190)
9387
* TestingHTTPRequestHandler really handles the Range header
9388
(previously it was ignoring it and returning the whole file,).
9393
:Released: 2006-10-30
9398
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
9399
and remove benchmarks that take longer than 10min to run.
9400
(John Arbash Meinel)
9405
:Released: 2006-10-23
9410
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
9411
rather than just showing a decimal revision number for revisions on the
9412
mainline. These revision numbers are not yet accepted as input into bzr
9413
commands such as log, diff etc. (Robert Collins)
9415
* revisions can now be specified using dotted-decimal revision numbers.
9416
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
9418
* ``bzr help commands`` output is now shorter (Aaron Bentley)
9420
* ``bzr`` now uses lazy importing to reduce the startup time. This has
9421
a moderate effect on lots of actions, especially ones that have
9422
little to do. For example ``bzr rocks`` time is down to 116ms from
9423
283ms. (John Arbash Meinel)
9425
* New Registry class to provide name-to-object registry-like support,
9426
for example for schemes where plugins can register new classes to
9427
do certain tasks (e.g. log formatters). Also provides lazy registration
9428
to allow modules to be loaded on request.
9429
(John Arbash Meinel, Adeodato Simó)
9434
* LogFormatter subclasses show now expect the 'revno' parameter to
9435
show() to be a string rather than an int. (Robert Collins)
9440
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
9441
can take a ``working_dir='foo'`` parameter, which will change directory
9442
for the command. (John Arbash Meinel)
9444
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
9445
around a regex, which defers compilation until first use.
9446
(John Arbash Meinel)
9448
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
9449
``--no-plugins`` parameter to ensure test reproducability, and avoid
9450
problems with system-wide installed plugins. (John Arbash Meinel)
9452
* Unique tree root ids are now supported. Newly created trees still
9453
use the common root id for compatibility with bzr versions before 0.12.
9456
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
9457
pass in ``inventory.ROOT_ID`` if you want the default root id value.
9458
(Robert Collins, John Arbash Meinel)
9460
* New method ``WorkingTree.flush()`` which will write the current memory
9461
inventory out to disk. At the same time, ``read_working_inventory`` will
9462
no longer trash the current tree inventory if it has been modified within
9463
the current lock, and the tree will now ``flush()`` automatically on
9464
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
9465
advantage of this functionality. (Robert Collins, John Arbash Meinel)
9467
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
9468
parameter will cause it to add another column to its output, which
9469
contains the dotted-decimal revno for each revision, as a tuple.
9472
* ``LogFormatter.show_merge`` is deprecated in favour of
9473
``LogFormatter.show_merge_revno``. (Robert Collins)
9478
* Avoid circular imports by creating a deprecated function for
9479
``bzrlib.tree.RevisionTree``. Callers should have been using
9480
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
9483
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
9484
platforms. (Martin Pool, #66356)
9486
* Don't require ``Content-Type`` in range responses. Assume they are a
9487
single range if ``Content-Type`` does not exist.
9488
(John Arbash Meinel, #62473)
9490
* bzr branch/pull no longer complain about progress bar cleanup when
9491
interrupted during fetch. (Aaron Bentley, #54000)
9493
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
9494
the basis inventory, rather than going through the repository. This
9495
allows us to have 1 inventory read, and 2 inventory writes when
9496
committing a new tree. (John Arbash Meinel)
9498
* When reverting, files that are not locally modified that do not exist
9499
in the target are deleted, not just unversioned (Aaron Bentley)
9501
* When trying to acquire a lock, don't fail immediately. Instead, try
9502
a few times (up to 1 hour) before timing out. Also, report why the
9503
lock is unavailable (John Arbash Meinel, #43521, #49556)
9505
* Leave HttpTransportBase daughter classes decides how they
9506
implement cloning. (Vincent Ladeuil, #61606)
9508
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
9510
* If a commit fails, the commit message is stored in a file at the root of
9511
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
9517
* New test base class TestCaseWithMemoryTransport offers memory-only
9518
testing facilities: its not suitable for tests that need to mutate disk
9519
state, but most tests should not need that and should be converted to
9520
TestCaseWithMemoryTransport. (Robert Collins)
9522
* ``TestCase.make_branch_and_memory_tree`` now takes a format
9523
option to set the BzrDir, Repository and Branch formats of the
9524
created objects. (Robert Collins, John Arbash Meinel)
9529
:Released: 2006-10-02
9531
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
9536
:Released: 2006-09-27
9541
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
9543
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
9549
:Released: 2006-09-25
9554
* Knit files now wait to create their contents until the first data is
9555
added. The old code used to create an empty .knit and a .kndx with just
9556
the header. However, this caused a lot of extra round trips over sftp.
9557
This can change the time for ``bzr push`` to create a new remote branch
9558
from 160s down to 100s. This also affects ``bzr commit`` performance when
9559
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
9560
down to 40s (John Arbash Meinel, #44692)
9562
* When an entire subtree has been deleted, commit will now report that
9563
just the top of the subtree has been deleted, rather than reporting
9564
all the individual items. (Robert Collins)
9566
* Commit performs one less XML parse. (Robert Collins)
9568
* ``bzr checkout`` now operates on readonly branches as well
9569
as readwrite branches. This fixes bug #39542. (Robert Collins)
9571
* ``bzr bind`` no longer synchronises history with the master branch.
9572
Binding should be followed by an update or push to synchronise the
9573
two branches. This is closely related to the fix for bug #39542.
9576
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
9577
objects. This allows all imports to stay at the global scope, but
9578
modules will not actually be imported if they are not used.
9579
(John Arbash Meinel)
9581
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
9582
transport which will be used with the upcoming high-performance smart
9583
server. The new command ``bzr serve`` will invoke bzr in server mode,
9584
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
9587
* New command ``bzr version-info`` which can be used to get a summary
9588
of the current state of the tree. This is especially useful as part
9589
of a build commands. See ``doc/version_info.txt`` for more information
9590
(John Arbash Meinel)
9595
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
9596
specific set of files. (John Arbash Meinel, #3631)
9598
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
9600
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
9601
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
9602
reading a nested Stanza. (John Arbash Meinel)
9604
* Transform._set_mode() needs to stat the right file.
9605
(John Arbash Meinel, #56549)
9607
* Raise WeaveFormatError rather than StopIteration when trying to read
9608
an empty Weave file. (John Arbash Meinel, #46871)
9610
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
9611
(Vincent Ladeuil, #59835)
9613
* Handle boundary="" lines properly to allow access through a Squid proxy.
9614
(John Arbash Meinel, #57723)
9616
* revert now removes newly-added directories (Aaron Bentley, #54172)
9618
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
9619
isn't a working tree. (David Allouche, #40679)
9621
* Give nicer error messages when a user supplies an invalid --revision
9622
parameter. (John Arbash Meinel, #55420)
9624
* Handle when LANG is not recognized by python. Emit a warning, but
9625
just revert to using 'ascii'. (John Arbash Meinel, #35392)
9627
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
9628
(John Arbash Meinel)
9630
* Skip specific tests when the dependencies aren't met. This includes
9631
some ``setup.py`` tests when ``python-dev`` is not available, and
9632
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
9634
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
9635
the system. (Andrew Bennetts, John Arbash Meinel)
9637
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
9638
other branch, and will not push or pull between the two branches.
9639
API users will need to perform a push or pull or update operation if they
9640
require branch synchronisation to take place. (Robert Collins, #47344)
9642
* When creating a tarball or zipfile export, export unicode names as utf-8
9643
paths. This may not work perfectly on all platforms, but has the best
9644
chance of working in the common case. (John Arbash Meinel, #56816)
9646
* When committing, only files that exist in working tree or basis tree
9647
may be specified (Aaron Bentley, #50793)
9652
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
9657
* TestCaseInTempDir now creates a separate directory for HOME, rather
9658
than having HOME set to the same location as the working directory.
9659
(John Arbash Meinel)
9661
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
9662
which will update os.environ inside the spawned child. It also can
9663
take a ``universal_newlines=True``, which helps when checking the output
9664
of the command. (John Arbash Meinel)
9666
* Refactor SFTP vendors to allow easier re-use when ssh is used.
9669
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
9670
return urlescaped paths. This is now tested (there were bugs in a few
9671
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
9673
* New utility function ``symbol_versioning.deprecation_string``. Returns the
9674
formatted string for a callable, deprecation format pair. (Robert Collins)
9676
* New TestCase helper applyDeprecated. This allows you to call a callable
9677
which is deprecated without it spewing to the screen, just by supplying
9678
the deprecation format string issued for it. (Robert Collins)
9680
* Transport.append and Transport.put have been deprecated in favor of
9681
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
9682
``.put_file``. This removes the ambiguity in what type of object the
9683
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
9684
been added. Which works similarly to ``Transport.append()`` except for
9685
SFTP, it doesn't have a round trip when opening the file. Also, it
9686
provides functionality for creating a parent directory when trying
9687
to create a file, rather than raise NoSuchFile and forcing the
9688
caller to repeat their request.
9689
(John Arbash Meinel)
9691
* WorkingTree has a new api ``unversion`` which allow the unversioning of
9692
entries by their file id. (Robert Collins)
9694
* ``WorkingTree.pending_merges`` is deprecated. Please use the
9695
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
9697
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
9698
read rather than write. This is appropriate for actions which only need
9699
the branch data for reference rather than mutation. A new decorator
9700
``needs_tree_write_lock`` is provided in the workingtree module. Like the
9701
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
9702
declaration of the locking requirements of a function to ensure that
9703
a lock is taken out for casual scripts. (Robert Collins, #54107)
9705
* All WorkingTree methods which write to the tree, but not to the branch
9706
have been converted to use ``needs_tree_write_lock`` rather than
9707
``needs_write_lock``. Also converted is the revert, conflicts and tree
9708
transform modules. This provides a modest performance improvement on
9709
metadir style trees, due to the reduce lock-acquisition, and a more
9710
significant performance improvement on lightweight checkouts from
9711
remote branches, where trivial operations used to pay a significant
9712
penalty. It also provides the basis for allowing readonly checkouts.
9715
* Special case importing the standard library 'copy' module. This shaves
9716
off 40ms of startup time, while retaining compatibility. See:
9717
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
9719
* WorkingTree has a new parent class MutableTree which represents the
9720
specialisations of Tree which are able to be altered. (Robert Collins)
9722
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
9723
mutate the tree and its contents. (Robert Collins)
9725
* Transport behaviour at the root of the URL is now defined and tested.
9726
(Andrew Bennetts, Robert Collins)
9731
* New test helper classs MemoryTree. This is typically accessed via
9732
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
9734
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
9735
code to continue running concurrently with a subprocess of bzr.
9736
(Andrew Bennetts, Robert Collins)
9738
* Add a new method ``Transport.get_smart_client()``. This is provided to
9739
allow upgrades to a richer interface than the VFS one provided by
9740
Transport. (Andrew Bennetts, Martin Pool)
9745
:Released: 2006-08-29
9749
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
9750
tree. (Aaron Bentley)
9752
* 'bzr add --file-ids-from' can be used to specify another path to use
9753
for creating file ids, rather than generating all new ones. Internally,
9754
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
9755
will be used, rather than having bzrlib generate new ones.
9756
(John Arbash Meinel, #55781)
9758
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
9759
This will cache some of the intermediate trees, and decrease the
9760
setup time for benchmark tests. (John Arbash Meinel)
9762
* Inverse forms are provided for all boolean options. For example,
9763
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
9765
* Serialize out Inventories directly, rather than using ElementTree.
9766
Writing out a kernel sized inventory drops from 2s down to ~350ms.
9767
(Robert Collins, John Arbash Meinel)
9772
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
9774
* Change LockDir so that if the lock directory doesn't exist when
9775
``lock_write()`` is called, an attempt will be made to create it.
9776
(John Arbash Meinel, #56974)
9778
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
9780
* Active FTP transport now works as intended. (ghozzy, #56472)
9782
* Really fix mutter() so that it won't ever raise a UnicodeError.
9783
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
9784
But it is a debugging log, not a real user file.
9785
(John Arbash Meinel, #56947, #53880)
9787
* Change Command handle to allow Unicode command and options.
9788
At present we cannot register Unicode command names, so we will get
9789
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
9790
But that is better than a UnicodeError + a traceback.
9791
(John Arbash Meinel, #57123)
9793
* Handle TZ=UTC properly when reading/writing revisions.
9794
(John Arbash Meinel, #55783, #56290)
9796
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
9797
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
9799
* External diff does the right thing for binaries even in foreign
9800
languages. (John Arbash Meinel, #56307)
9802
* Testament handles more cases when content is unicode. Specific bug was
9803
in handling of revision properties.
9804
(John Arbash Meinel, Holger Krekel, #54723)
9806
* The bzr selftest was failing on installed versions due to a bug in a new
9807
test helper. (John Arbash Meinel, Robert Collins, #58057)
9812
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
9813
which can be used to cache the conversion between utf8 and Unicode.
9814
Especially helpful for some of the knit annotation code, which has to
9815
convert revision ids to utf8 to annotate lines in storage.
9816
(John Arbash Meinel)
9818
* ``setup.py`` now searches the filesystem to find all packages which
9819
need to be installed. This should help make the life of packagers
9820
easier. (John Arbash Meinel)
9825
:Released: 2006-08-11
9830
* The hard-coded built-in ignore rules have been removed. There are
9831
now two rulesets which are enforced. A user global one in
9832
``~/.bazaar/ignore`` which will apply to every tree, and the tree
9833
specific one '.bzrignore'.
9834
``~/.bazaar/ignore`` will be created if it does not exist, but with
9835
a more conservative list than the old default.
9836
This fixes bugs with default rules being enforced no matter what.
9837
The old list of ignore rules from bzr is available by
9838
running 'bzr ignore --old-default-rules'.
9839
(Robert Collins, Martin Pool, John Arbash Meinel)
9841
* 'branches.conf' has been changed to 'locations.conf', since it can apply
9842
to more locations than just branch locations.
9848
* The revision specifier "revno:" is extended to accept the syntax
9849
revno:N:branch. For example,
9850
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
9851
bzr.dev. (Matthieu Moy)
9853
* Tests updates to ensure proper URL handling, UNICODE support, and
9854
proper printing when the user's terminal encoding cannot display
9855
the path of a file that has been versioned.
9856
``bzr branch`` can take a target URL rather than only a local directory.
9857
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
9858
and normalize the parent based on root, allowing access across
9859
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
9860
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
9863
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
9864
Use terminal width for single-line logs from ``bzr log --line`` and
9865
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
9868
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
9869
(Alexander Belchenko)
9871
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
9873
* Show the correct number of revisions pushed when pushing a new branch.
9876
* 'bzr selftest' now shows a progress bar with the number of tests, and
9877
progress made. 'make check' shows tests in -v mode, to be more useful
9878
for the PQM status window. (Robert Collins).
9879
When using a progress bar, failed tests are printed out, rather than
9880
being overwritten by the progress bar until the suite finishes.
9881
(John Arbash Meinel)
9883
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
9884
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
9885
profile data for the individual profiled calls, allowing for fine
9886
grained analysis of performance.
9887
(Robert Collins, Martin Pool).
9889
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
9890
where commit can take an appreciable time. (Robert Collins)
9892
* 'bzr add' is now less verbose in telling you what ignore globs were
9893
matched by files being ignored. Instead it just tells you how many
9894
were ignored (because you might reasonably be expecting none to be
9895
ignored). 'bzr add -v' is unchanged and will report every ignored
9896
file. (Robert Collins).
9898
* ftp now has a test server if medusa is installed. As part of testing,
9899
ftp support has been improved, including support for supplying a
9900
non-standard port. (John Arbash Meinel).
9902
* 'bzr log --line' shows the revision number, and uses only the
9903
first line of the log message (#5162, Alexander Belchenko;
9906
* 'bzr status' has had the --all option removed. The 'bzr ls' command
9907
should be used to retrieve all versioned files. (Robert Collins)
9909
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
9910
over email, and applied on the other end, while maintaining ancestry.
9911
This bundle can be applied with either 'bzr merge' or 'bzr pull',
9912
the same way you would apply another branch.
9913
(John Arbash Meinel, Aaron Bentley)
9915
* 'bzr whoami' can now be used to set your identity from the command line,
9916
for a branch or globally. (Robey Pointer)
9918
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
9921
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
9924
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
9925
Also updates things like 'http+pycurl://' if pycurl is not present.
9926
(John Arbash Meinel) (Malone #47821, #52204)
9928
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
9929
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
9930
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
9932
* Improve the help text for 'bzr diff' to explain what various options do.
9933
(John Arbash Meinel, #6391)
9935
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
9936
revision 10. This makes -r10 more in line with what other commands do.
9937
'bzr uncommit' also now saves the pending merges of the revisions that
9938
were removed. So it is safe to uncommit after a merge, fix something,
9939
and commit again. (John Arbash Meinel, #32526, #31426)
9941
* 'bzr init' now also works on remote locations.
9942
(Wouter van Heyst, #48904)
9944
* HTTP support has been updated. When using pycurl we now support
9945
connection keep-alive, which reduces dns requests and round trips.
9946
And for both urllib and pycurl we support multi-range requests,
9947
which decreases the number of round-trips. Performance results for
9948
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
9949
http branching is now 2-3x faster, and ``bzr pull`` in an existing
9950
branch is as much as 4x faster.
9951
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
9953
* Performance improvements for sftp. Branching and pulling are now up to
9954
2x faster. Utilize paramiko.readv() support for async requests if it
9955
is available (paramiko > 1.6) (John Arbash Meinel)
9960
* Fix shadowed definition of TestLocationConfig that caused some
9962
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
9964
* Fix unnecessary requirement of sign-my-commits that it be run from
9965
a working directory. (Martin Pool, Robert Collins)
9967
* 'bzr push location' will only remember the push location if it succeeds
9968
in connecting to the remote location. (John Arbash Meinel, #49742)
9970
* 'bzr revert' no longer toggles the executable bit on win32
9971
(John Arbash Meinel, #45010)
9973
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
9975
* sftp tests now work correctly on win32 if you have a newer paramiko
9976
(John Arbash Meinel)
9978
* Cleanup win32 test suite, and general cleanup of places where
9979
file handles were being held open. (John Arbash Meinel)
9981
* When specifying filenames for 'diff -r x..y', the name of the file in the
9982
working directory can be used, even if its name is different in both x
9985
* File-ids containing single- or double-quotes are handled correctly by
9986
push. (Aaron Bentley, #52227)
9988
* Normalize unicode filenames to ensure cross-platform consistency.
9989
(John Arbash Meinel, #43689)
9991
* The argument parser can now handle '-' as an argument. Currently
9992
no code interprets it specially (it is mostly handled as a file named
9993
'-'). But plugins, and future operations can use it.
9994
(John Arbash meinel, #50984)
9996
* Bundles can properly read binary files with a plain '\r' in them.
9997
(John Arbash Meinel, #51927)
9999
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
10001
* Lots of win32 fixes (the test suite passes again).
10002
(John Arbash Meinel, #50155)
10004
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
10006
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
10008
* Removals are only committed if they match the filespec (or if there is
10009
no filespec). (#46635, Aaron Bentley)
10011
* smart-add recurses through all supplied directories
10012
(John Arbash Meinel, #52578)
10014
* Make the bundle reader extra lines before and after the bundle text.
10015
This allows you to parse an email with the bundle inline.
10016
(John Arbash Meinel, #49182)
10018
* Change the file id generator to squash a little bit more. Helps when
10019
working with long filenames on windows. (Also helps for unicode filenames
10020
not generating hidden files). (John Arbash Meinel, #43801)
10022
* Restore terminal mode on C-c while reading sftp password. (#48923,
10023
Nicholas Allen, Martin Pool)
10025
* Timestamps are rounded to 1ms, and revision entries can be recreated
10026
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
10028
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
10029
use local paths, since it is user visible (John Arbash Meinel, #53653)
10031
* ``bzr status foo`` when foo was unversioned used to cause a full delta
10032
to be generated (John Arbash Meinel, #53638)
10034
* When reading revision properties, an empty value should be considered
10035
the empty string, not None (John Arbash Meinel, #47782)
10037
* ``bzr diff --diff-options`` can now handle binary files being changed.
10038
Also, the output is consistent when --diff-options is not supplied.
10039
(John Arbash Meinel, #54651, #52930)
10041
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
10043
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
10044
accessible (John Arbash Meinel, #52976)
10049
* Combine the ignore rules into a single regex rather than looping over
10050
them to reduce the threshold where N^2 behaviour occurs in operations
10051
like status. (Jan Hudec, Robert Collins).
10053
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
10054
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
10056
* 'bzr push' should only push the ancestry of the current revision, not
10057
all of the history in the repository. This is especially important for
10058
shared repositories. (John Arbash Meinel)
10060
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
10061
rather than randomly walking the inventories. (John Arbash Meinel)
10063
* Doctests are now run in temporary directories which are cleaned up when
10064
they finish, rather than using special ScratchDir/ScratchBranch objects.
10067
* Split ``check`` into separate methods on the branch and on the repository,
10068
so that it can be specialized in ways that are useful or efficient for
10069
different formats. (Martin Pool, Robert Collins)
10071
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
10072
the global revision graph but only that part leading up to a particular
10073
revision. (Martin Pool, Robert Collins)
10075
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
10076
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
10077
(Robert Collins, Jelmer Vernooij).
10079
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
10080
Uses subprocess instead of spawnvp.
10081
(James Henstridge, John Arbash Meinel, #4047, #48914)
10083
* New command line option '--profile-imports', which will install a custom
10084
importer to log time to import modules and regex compilation time to
10085
sys.stderr (John Arbash Meinel)
10087
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
10088
instead. (Robert Collins)
10090
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
10095
:Released: 2006-05-17
10100
* setup.py failed to install launchpad plugin. (Martin Pool)
10105
:Released: 2006-05-16
10110
* Fix failure to commit a merge in a checkout. (Martin Pool,
10111
Robert Collins, Erik Bågfors, #43959)
10113
* Nicer messages from 'commit' in the case of renames, and correct
10114
messages when a merge has occured. (Robert Collins, Martin Pool)
10116
* Separate functionality from assert statements as they are skipped in
10117
optimized mode of python. Add the same check to pending merges.
10118
(Olaf Conradi, #44443)
10123
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
10125
* Add info on standalone branches without a working tree.
10126
(Olaf Conradi, #44155)
10128
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
10133
* Make editor invocation comply with Debian Policy. First check
10134
environment variables VISUAL and EDITOR, then try editor from
10135
alternatives system. If that all fails, fall back to the pre-defined
10136
list of editors. (Olaf Conradi, #42904)
10141
* New 'register-branch' command registers a public branch into
10142
Launchpad.net, where it can be associated with bugs, etc.
10143
(Martin Pool, Bjorn Tillenius, Robert Collins)
10148
* New public api in InventoryEntry - ``describe_change(old, new)`` which
10149
provides a human description of the changes between two old and
10150
new. (Robert Collins, Martin Pool)
10155
* Fix test case for bzr info in upgrading a standalone branch to metadir,
10156
uses bzrlib api now. (Olaf Conradi)
10161
:Released: 2006-05-08
10163
Notes When Upgrading
10164
********************
10166
Release 0.8 of bzr introduces a new format for history storage, called
10167
'knit', as an evolution of to the 'weave' format used in 0.7. Local
10168
and remote operations are faster using knits than weaves. Several
10169
operations including 'init', 'init-repo', and 'upgrade' take a
10170
--format option that controls this. Branching from an existing branch
10171
will keep the same format.
10173
It is possible to merge, pull and push between branches of different
10174
formats but this is slower than moving data between homogenous
10175
branches. It is therefore recommended (but not required) that you
10176
upgrade all branches for a project at the same time. Information on
10177
formats is shown by 'bzr info'.
10179
bzr 0.8 now allows creation of 'repositories', which hold the history
10180
of files and revisions for several branches. Previously bzr kept all
10181
the history for a branch within the .bzr directory at the root of the
10182
branch, and this is still the default. To create a repository, use
10183
the new 'bzr init-repo' command. Branches exist as directories under
10184
the repository and contain just a small amount of information
10185
indicating the current revision of the branch.
10187
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
10188
subversion. Checkouts are associated with a branch (optionally in a
10189
repository), which contains all the historical information. The
10190
result is that a checkout can be deleted without losing any
10191
already-committed revisions. A new 'update' command is also available.
10193
Repositories and checkouts are not supported with the 0.7 storage
10194
format. To use them you must upgrad to either knits, or to the
10195
'metaweave' format, which uses weaves but changes the .bzr directory
10202
* sftp paths can now be relative, or local, according to the lftp
10203
convention. Paths now take the form::
10205
sftp://user:pass@host:port/~/relative/path
10207
sftp://user:pass@host:port/absolute/path
10209
* The FTP transport now tries to reconnect after a temporary
10210
failure. ftp put is made atomic. (Matthieu Moy)
10212
* The FTP transport now maintains a pool of connections, and
10213
reuses them to avoid multiple connections to the same host (like
10214
sftp did). (Daniel Silverstone)
10216
* The ``bzr_man.py`` file has been removed. To create the man page now,
10217
use ``./generate_docs.py man``. The new program can also create other files.
10218
Run ``python generate_docs.py --help`` for usage information.
10219
(Hans Ulrich Niedermann & James Blackwell).
10221
* Man Page now gives full help (James Blackwell).
10222
Help also updated to reflect user config now being stored in .bazaar
10223
(Hans Ulrich Niedermann)
10225
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
10227
* Pull now accepts a --revision argument (Erik Bågfors)
10229
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
10230
line. You can now use the following command to sign all of your old
10233
find .bzr/revision-store// -name my@email-* \
10234
| sed 's/.*\/\/..\///' \
10235
| xargs bzr re-sign
10237
* Upgrade can now upgrade over the network. (Robert Collins)
10239
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
10240
behaviour. By default they will cache history in the checkout, but
10241
with --lightweight almost all data is kept in the master branch.
10244
* 'revert' unversions newly-versioned files, instead of deleting them.
10246
* 'merge' is more robust. Conflict messages have changed.
10248
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
10251
* Default log format can be set in configuration and plugins can register
10252
their own formatters. (Erik Bågfors)
10254
* New 'reconcile' command will check branch consistency and repair indexes
10255
that can become out of sync in pre 0.8 formats. (Robert Collins,
10256
Daniel Silverstone)
10258
* New 'bzr init --format' and 'bzr upgrade --format' option to control
10259
what storage format is created or produced. (Robert Collins,
10262
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
10264
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
10266
* New 'init-repository' command, plus support for repositories in 'init'
10267
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
10269
* Improve output of 'info' command. Show all relevant locations related to
10270
working tree, branch and repository. Use kibibytes for binary quantities.
10271
Fix off-by-one error in missing revisions of working tree. Make 'info'
10272
work on branches, repositories and remote locations. Show locations
10273
relative to the shared repository, if applicable. Show locking status
10274
of locations. (Olaf Conradi)
10276
* Diff and merge now safely handle binary files. (Aaron Bentley)
10278
* 'pull' and 'push' now normalise the revision history, so that any two
10279
branches with the same tip revision will have the same output from 'log'.
10282
* 'merge' accepts --remember option to store parent location, like 'push'
10283
and 'pull'. (Olaf Conradi)
10285
* bzr status and diff when files given as arguments do not exist
10286
in the relevant trees. (Martin Pool, #3619)
10288
* Add '.hg' to the default ignore list. (Martin Pool)
10290
* 'knit' is now the default disk format. This improves disk performance and
10291
utilization, increases incremental pull performance, robustness with SFTP
10292
and allows checkouts over SFTP to perform acceptably.
10293
The initial Knit code was contributed by Johan Rydberg based on a
10294
specification by Martin Pool.
10295
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
10297
* New tool to generate all-in-one html version of the manual. (Alexander
10300
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
10301
to be left in the SFTP repository. (Robert Collins, Martin Pool).
10303
* New option 'diff --prefix' to control how files are named in diff
10304
output, with shortcuts '-p0' and '-p1' corresponding to the options for
10305
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
10307
* Add --revision option to 'annotate' command. (Olaf Conradi)
10309
* If bzr shows an unexpected revision-history after pulling (perhaps due
10310
to a reweave) it can now be corrected by 'bzr reconcile'.
10316
* Commit is now verbose by default, and shows changed filenames and the
10317
new revision number. (Robert Collins, Martin Pool)
10319
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
10321
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
10323
* Make 'pull' and 'push' remember location on failure using --remember.
10326
* For compatibility, make old format for using weaves inside metadir
10327
available as 'metaweave' format. Rename format 'metadir' to 'default'.
10328
Clean up help for option --format in commands 'init', 'init-repo' and
10329
'upgrade'. (Olaf Conradi)
10334
* The internal storage of history, and logical branch identity have now
10335
been split into Branch, and Repository. The common locking and file
10336
management routines are now in bzrlib.lockablefiles.
10337
(Aaron Bentley, Robert Collins, Martin Pool)
10339
* Transports can now raise DependencyNotPresent if they need a library
10340
which is not installed, and then another implementation will be
10341
tried. (Martin Pool)
10343
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
10346
* Using Tree Transform for merge, revert, tree-building
10348
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
10349
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
10350
replacement API's. (Robert Collins)
10352
* New BzrDir class represents the .bzr control directory and manages
10353
formatting issues. (Robert Collins)
10355
* New repository.InterRepository class encapsulates Repository to
10356
Repository actions and allows for clean selection of optimised code
10357
paths. (Robert Collins)
10359
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
10360
deprecated, please use ``branch.fetch`` or ``repository.fetch``
10361
depending on your needs. (Robert Collins)
10363
* deprecated methods now have a ``is_deprecated`` flag on them that can
10364
be checked, if you need to determine whether a given callable is
10365
deprecated at runtime. (Robert Collins)
10367
* Progress bars are now nested - see
10368
``bzrlib.ui.ui_factory.nested_progress_bar``.
10369
(Robert Collins, Robey Pointer)
10371
* New API call ``get_format_description()`` for each type of format.
10374
* Changed ``branch.set_parent()`` to accept None to remove parent.
10377
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
10379
* WorkingTree.branch is now a read only property. (Robert Collins)
10381
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
10382
can be None or a factory that will create a progress bar. This is
10383
useful for testing or for overriding the bzrlib.progress heuristic.
10386
* New API method ``get_physical_lock_status()`` to query locks present on a
10387
transport. (Olaf Conradi)
10389
* Repository.reconcile now takes a thorough keyword parameter to allow
10390
requesting an indepth reconciliation, rather than just a data-loss
10391
check. (Robert Collins)
10393
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
10394
the user for yes/no style input. (Robert Collins)
10399
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
10400
for testing SFTP protocol support. (Robey Pointer)
10402
* Branch formats are now tested once per implementation (see ``bzrlib.
10403
tests.branch_implementations``. This is analagous to the transport
10404
interface tests, and has been followed up with working tree,
10405
repository and BzrDir tests. (Robert Collins)
10407
* New test base class TestCaseWithTransport provides a transport aware
10408
test environment, useful for testing any transport-interface using
10409
code. The test suite option --transport controls the transport used
10410
by this class (when its not being used as part of implementation
10411
contract testing). (Robert Collins)
10413
* Close logging handler on disabling the test log. This will remove the
10414
handler from the internal list inside python's logging module,
10415
preventing shutdown from closing it twice. (Olaf Conradi)
10417
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
10419
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
10420
parameter which will provide String("foo") to the command as its stdin.
10425
:Released: 2006-01-09
10430
* .bzrignore is excluded from exports, on the grounds that it's a bzr
10431
internal-use file and may not be wanted. (Jamie Wilkinson)
10433
* The "bzr directories" command were removed in favor of the new
10434
--kind option to the "bzr inventory" command. To list all
10435
versioned directories, now use "bzr inventory --kind directory".
10438
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
10439
by default. (John Arbash Meinel)
10441
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
10442
environment variable. Now the path for it is searched in ``BZR_HOME``,
10443
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
10444
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
10445
``HOME``. (John Arbash Meinel)
10447
* Plugins with the same name in different directories in the bzr plugin
10448
path are no longer loaded: only the first successfully loaded one is
10449
used. (Robert Collins)
10451
* Use systems' external ssh command to open connections if possible.
10452
This gives better integration with user settings such as ProxyCommand.
10455
* Permissions on files underneath .bzr/ are inherited from the .bzr
10456
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
10457
will mean that future file will be created with group write permissions.
10459
* configure.in and config.guess are no longer in the builtin default
10462
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
10463
files. (John Arbash Meinel, Martin Pool)
10468
* "bzr INIT dir" now initializes the specified directory, and creates
10469
it if it does not exist. (John Arbash Meinel)
10471
* New remerge command (Aaron Bentley)
10473
* Better zsh completion script. (Steve Borho)
10475
* 'bzr diff' now returns 1 when there are changes in the working
10476
tree. (Robert Collins)
10478
* 'bzr push' now exists and can push changes to a remote location.
10479
This uses the transport infrastructure, and can store the remote
10480
location in the ~/.bazaar/branches.conf configuration file.
10483
* Test directories are only kept if the test fails and the user requests
10486
* Tweaks to short log printing
10488
* Added branch nicks, new nick command, printing them in log output.
10491
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
10492
occurs. (Martin Pool)
10494
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
10495
the same as Subversion. (Martin Pool)
10497
* New ftp transport support (on ftplib), for ftp:// and aftp://
10498
URLs. (Daniel Silverstone)
10500
* Commit editor temporary files now start with ``bzr_log.``, to allow
10501
text editors to match the file name and set up appropriate modes or
10502
settings. (Magnus Therning)
10504
* Improved performance when integrating changes from a remote weave.
10505
(Goffredo Baroncelli)
10507
* Sftp will attempt to cache the connection, so it is more likely that
10508
a connection will be reused, rather than requiring multiple password
10511
* bzr revno now takes an optional argument indicating the branch whose
10512
revno should be printed. (Michael Ellerman)
10514
* bzr cat defaults to printing the last version of the file.
10515
(Matthieu Moy, #3632)
10517
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
10518
profiler. (Denys Duchier)
10520
* Faster commits by reading only the headers of affected weave files.
10523
* 'bzr add' now takes a --dry-run parameter which shows you what would be
10524
added, but doesn't actually add anything. (Michael Ellerman)
10526
* 'bzr add' now lists how many files were ignored per glob. add --verbose
10527
lists the specific files. (Aaron Bentley)
10529
* 'bzr missing' now supports displaying changes in diverged trees and can
10530
be limited to show what either end of the comparison is missing.
10531
(Aaron Bently, with a little prompting from Daniel Silverstone)
10536
* SFTP can walk up to the root path without index errors. (Robert Collins)
10538
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
10540
* Error when run with -OO
10542
* Fix bug in reporting http errors that don't have an http error code.
10545
* Handle more cases of pipe errors in display commands
10547
* Change status to 3 for all errors
10549
* Files that are added and unlinked before committing are completely
10550
ignored by diff and status
10552
* Stores with some compressed texts and some uncompressed texts are now
10553
able to be used. (John A Meinel)
10555
* Fix for bzr pull failing sometimes under windows
10557
* Fix for sftp transport under windows when using interactive auth
10559
* Show files which are both renamed and modified as such in 'bzr
10560
status' output. (Daniel Silverstone, #4503)
10562
* Make annotate cope better with revisions committed without a valid
10563
email address. (Marien Zwart)
10565
* Fix representation of tab characters in commit messages.
10568
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
10569
now parsed properly under Windows. (Alexander Belchenko)
10571
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
10573
* Keep a cached copy of the basis inventory to speed up operations
10574
that need to refer to it. (Johan Rydberg, Martin Pool)
10576
* Fix bugs in bzr status display of non-ascii characters.
10579
* Remove Makefile.in from default ignore list.
10580
(Tollef Fog Heen, Martin Pool, #6413)
10582
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
10587
* Fix selftest asking for passwords when there are no SFTP keys.
10588
(Robey Pointer, Jelmer Vernooij)
10590
* Fix selftest run with 'python -O'. (Martin Pool)
10592
* Fix HTTP tests under Windows. (John Arbash Meinel)
10594
* Make tests work even if HOME is not set (Aaron Bentley)
10596
* Updated ``build_tree`` to use fixed line-endings for tests which read
10597
the file cotents and compare. Make some tests use this to pass under
10598
Windows. (John Arbash Meinel)
10600
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
10602
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
10603
(John Arbash Meinel)
10605
* Use terminal width to align verbose test output. (Martin Pool)
10607
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
10608
If adding a new test script please add that to
10609
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
10611
* Much better error message if one of the test suites can't be
10612
imported. (Martin Pool)
10614
* Make check now runs the test suite twice - once with the default locale,
10615
and once with all locales forced to C, to expose bugs. This is not
10616
trivially done within python, so for now its only triggered by running
10617
Make check. Integrators and packagers who wish to check for full
10618
platform support should run 'make check' to test the source.
10621
* Tests can now run TestSkipped if they can't execute for any reason.
10622
(Martin Pool) (NB: TestSkipped should only be raised for correctable
10623
reasons - see the wiki spec ImprovingBzrTestSuite).
10625
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
10626
paths for the transport tests. Introduce blackbox remote sftp tests that
10627
test the same permutations. (Robert Collins, Robey Pointer)
10629
* Transport implementation tests are now independent of the local file
10630
system, which allows tests for esoteric transports, and for features
10631
not available in the local file system. They also repeat for variations
10632
on the URL scheme that can introduce issues in the transport code,
10633
see bzrlib.transport.TransportTestProviderAdapter() for this.
10636
* ``TestCase.build_tree`` uses the transport interface to build trees,
10637
pass in a transport parameter to give it an existing connection.
10643
* WorkingTree.pull has been split across Branch and WorkingTree,
10644
to allow Branch only pulls. (Robert Collins)
10646
* ``commands.display_command`` now returns the result of the decorated
10647
function. (Robert Collins)
10649
* LocationConfig now has a ``set_user_option(key, value)`` call to save
10650
a setting in its matching location section (a new one is created
10651
if needed). (Robert Collins)
10653
* Branch has two new methods, ``get_push_location`` and
10654
``set_push_location`` to respectively, get and set the push location.
10657
* ``commands.register_command`` now takes an optional flag to signal that
10658
the registrant is planning to decorate an existing command. When
10659
given multiple plugins registering a command is not an error, and
10660
the original command class (whether built in or a plugin based one) is
10661
returned to the caller. There is a new error 'MustUseDecorated' for
10662
signalling when a wrapping command should switch to the original
10663
version. (Robert Collins)
10665
* Some option parsing errors will raise 'BzrOptionError', allowing
10666
granular detection for decorating commands. (Robert Collins).
10668
* ``Branch.read_working_inventory`` has moved to
10669
``WorkingTree.read_working_inventory``. This necessitated changes to
10670
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
10671
WorkingTree as well. To make it clear that a WorkingTree cannot always
10672
be obtained ``Branch.working_tree()`` will raise
10673
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
10675
* All pending merges operations from Branch are now on WorkingTree.
10678
* The follow operations from Branch have moved to WorkingTree::
10688
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
10690
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
10692
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
10695
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
10696
query method. (Robert Collins)
10698
* New options to read only the table-of-contents of a weave.
10701
* Raise NoSuchFile when someone tries to add a non-existant file.
10704
* Simplify handling of DivergedBranches in ``cmd_pull()``.
10707
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
10708
is exposed as ``Branch().control_files``. Also this has been altered with the
10709
controlfile pre/suffix replaced by simple method names like 'get' and
10710
'put'. (Aaron Bentley, Robert Collins).
10712
* Deprecated functions and methods can now be marked as such using the
10713
``bzrlib.symbol_versioning`` module. Marked method have their docstring
10714
updated and will issue a DeprecationWarning using the warnings module
10715
when they are used. (Robert Collins)
10717
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
10718
for functions that need unicode strings. (Robert Collins)
10723
:Released: 2005-10-28
10728
* pull now takes --verbose to show you what revisions are added or removed
10731
* merge now takes a --show-base option to include the base text in
10735
* The config files are now read using ConfigObj, so '=' should be used as
10736
a separator, not ':'.
10739
* New 'bzr commit --strict' option refuses to commit if there are
10740
any unknown files in the tree. To commit, make sure all files are
10741
either ignored, added, or deleted. (Michael Ellerman)
10743
* The config directory is now ~/.bazaar, and there is a single file
10744
~/.bazaar/bazaar.conf storing email, editor and other preferences.
10747
* 'bzr add' no longer takes a --verbose option, and a --quiet option
10748
has been added that suppresses all output.
10750
* Improved zsh completion support in contrib/zsh, from Clint
10753
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
10754
Goffredo Baroncelli.
10756
* 'bzr check' now accepts -v for verbose reporting, and checks for
10757
ghosts in the branch. (Robert Collins)
10759
* New command 're-sign' which will regenerate the gpg signature for
10760
a revision. (Robert Collins)
10762
* If you set ``check_signatures=require`` for a path in
10763
``~/.bazaar/branches.conf`` then bzr will invoke your
10764
``gpg_signing_command`` (defaults to gpg) and record a digital signature
10765
of your commit. (Robert Collins)
10767
* New sftp transport, based on Paramiko. (Robey Pointer)
10769
* 'bzr pull' now accepts '--clobber' which will discard local changes
10770
and make this branch identical to the source branch. (Robert Collins)
10772
* Just give a quieter warning if a plugin can't be loaded, and
10773
put the details in .bzr.log. (Martin Pool)
10775
* 'bzr branch' will now set the branch-name to the last component of the
10776
output directory, if one was supplied.
10778
* If the option ``post_commit`` is set to one (or more) python function
10779
names (must be in the bzrlib namespace), then they will be invoked
10780
after the commit has completed, with the branch and ``revision_id`` as
10781
parameters. (Robert Collins)
10783
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
10785
* --merge-type weave is now supported for file contents. Tree-shape
10786
changes are still three-way based. (Martin Pool, Aaron Bentley)
10788
* 'bzr check' allows the first revision on revision-history to have
10789
parents - something that is expected for cheap checkouts, and occurs
10790
when conversions from baz do not have all history. (Robert Collins).
10792
* 'bzr merge' can now graft unrelated trees together, if your specify
10793
0 as a base. (Aaron Bentley)
10795
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
10798
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
10800
* 'bzr merge --reprocess' minimizes conflicts
10805
* The 'bzr selftest --pattern' option for has been removed, now
10806
test specifiers on the command line can be simple strings, or
10807
regexps, or both. (Robert Collins)
10809
* Passing -v to selftest will now show the time each test took to
10810
complete, which will aid in analysing performance regressions and
10811
related questions. (Robert Collins)
10813
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
10814
is given. (Martin Pool)
10816
* There is a new method for TestCaseInTempDir, assertFileEqual, which
10817
will check that a given content is equal to the content of the named
10818
file. (Robert Collins)
10820
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
10826
* New 'testament' command and concept for making gpg-signatures
10827
of revisions that are not tied to a particular internal
10828
representation. (Martin Pool).
10830
* Per-revision properties ('revprops') as key-value associated
10831
strings on each revision created when the revision is committed.
10832
Intended mainly for the use of external tools. (Martin Pool).
10834
* Config options have moved from bzrlib.osutils to bzrlib.config.
10837
* Improved command line option definitions allowing explanations
10838
for individual options, among other things. Contributed by
10841
* Config options have moved from bzrlib.osutils to bzrlib.config.
10842
Configuration is now done via the config.Config interface:
10843
Depending on whether you have a Branch, a Location or no information
10844
available, construct a ``*Config``, and use its ``signature_checking``,
10845
``username`` and ``user_email`` methods. (Robert Collins)
10847
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
10848
they are made available for other plugins to use. You should not
10849
import other plugins during the ``__init__`` of your plugin though, as
10850
no ordering is guaranteed, and the plugins directory is not on the
10851
python path. (Robert Collins)
10853
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
10854
no longer takes an inventory, rather it takes an option branch
10855
parameter, and if None is given will open the branch at basedir
10856
implicitly. (Robert Collins)
10858
* Cleaner exception structure and error reporting. Suggested by
10859
Scott James Remnant. (Martin Pool)
10861
* Branch.remove has been moved to WorkingTree, which has also gained
10862
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
10865
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
10866
added to the branch module. Use these to cause a function to run in a
10867
read or write lock respectively. (Robert Collins)
10869
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
10870
which allows direct access to the common case of 'get me this file
10871
from its branch'. (Robert Collins)
10873
* Transports can register using ``register_lazy_transport``, and they
10874
will be loaded when first used. (Martin Pool)
10876
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
10877
A new option to WorkingTree.pull has been added, clobber, which will
10878
ignore diverged history and pull anyway.
10881
* config.Config has a ``get_user_option`` call that accepts an option name.
10882
This will be looked up in branches.conf and bazaar.conf as normal.
10883
It is intended that this be used by plugins to support options -
10884
options of built in programs should have specific methods on the config.
10887
* ``merge.merge_inner`` now has tempdir as an optional parameter.
10890
* Tree.kind is not recorded at the top level of the hierarchy, as it was
10891
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
10894
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
10895
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
10896
about future directions. (Robert Collins/Martin Pool)
10898
* bzrlib.transport.http has been modified so that only 404 urllib errors
10899
are returned as NoSuchFile. Other exceptions will propagate as normal.
10900
This allows debuging of actual errors. (Robert Collins)
10902
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
10903
to apis like 'put', 'get' and 'has'. This is to provide consistent
10904
behaviour - it operates on url's only. (Robert Collins)
10906
* Transports can register using ``register_lazy_transport``, and they
10907
will be loaded when first used. (Martin Pool)
10909
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
10910
is called by ``merge_inner``. This is so that the conflict count can be
10911
retrieved (and potentially manipulated) before returning to the caller
10912
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
10913
caller. (Robert Collins)
10915
* ``revision.revision_graph`` can handle having only partial history for
10916
a revision - that is no revisions in the graph with no parents.
10919
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
10920
produce a branch and a list of paths, relative to that branch
10923
* New TestCase.addCleanup facility.
10925
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
10926
which can be used by programs importing bzrlib.
10931
* Better handling of branches in directories with non-ascii names.
10932
(Joel Rosdahl, Panagiotis Papadakos)
10934
* Upgrades of trees with no commits will not fail due to accessing
10935
[-1] in the revision-history. (Andres Salomon)
10941
:Released: 2005-10-12
10946
* Fix problem in pulling over http from machines that do not
10947
allow directories to be listed.
10949
* Avoid harmless warning about invalid hash cache after
10950
upgrading branch format.
10955
* Avoid some unnecessary http operations in branch and pull.
10961
:Released: 2005-10-11
10966
* 'bzr branch' over http initially gives a very high estimate
10967
of completion time but it should fall as the first few
10968
revisions are pulled in. branch is still slow on
10969
high-latency connections.
10974
* bzr-man.py has been updated to work again. Contributed by
10977
* Locking is now done with fcntl.lockf which works with NFS
10978
file systems. Contributed by Harald Meland.
10980
* When a merge encounters a file that has been deleted on
10981
one side and modified on the other, the old contents are
10982
written out to foo.BASE and foo.SIDE, where SIDE is this
10983
or OTHER. Contributed by Aaron Bentley.
10985
* Export was choosing incorrect file paths for the content of
10986
the tarball, this has been fixed by Aaron Bentley.
10988
* Commit will no longer commit without a log message, an
10989
error is returned instead. Contributed by Jelmer Vernooij.
10991
* If you commit a specific file in a sub directory, any of its
10992
parent directories that are added but not listed will be
10993
automatically included. Suggested by Michael Ellerman.
10995
* bzr commit and upgrade did not correctly record new revisions
10996
for files with only a change to their executable status.
10997
bzr will correct this when it encounters it. Fixed by
11000
* HTTP tests now force off the use of ``http_proxy`` for the duration.
11001
Contributed by Gustavo Niemeyer.
11003
* Fix problems in merging weave-based branches that have
11004
different partial views of history.
11006
* Symlink support: working with symlinks when not in the root of a
11007
bzr tree was broken, patch from Scott James Remnant.
11012
* 'branch' now accepts a --basis parameter which will take advantage
11013
of local history when making a new branch. This allows faster
11014
branching of remote branches. Contributed by Aaron Bentley.
11016
* New tree format based on weave files, called version 5.
11017
Existing branches can be upgraded to this format using
11020
* Symlinks are now versionable. Initial patch by
11021
Erik Toubro Nielsen, updated to head by Robert Collins.
11023
* Executable bits are tracked on files. Patch from Gustavo
11026
* 'bzr status' now shows unknown files inside a selected directory.
11027
Patch from Heikki Paajanen.
11029
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
11030
and 'resolve' have needed added, which list and remove those
11031
merge conflicts respectively. A conflicted tree cannot be committed
11032
in. Contributed by Aaron Bentley.
11034
* 'rm' is now an alias for 'remove'.
11036
* Stores now split out their content in a single byte prefixed hash,
11037
dropping the density of files per directory by 256. Contributed by
11040
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
11041
Contributed by Robert Collins.
11043
* 'bzr log' with the default formatter will show merged revisions,
11044
indented to the right. Initial implementation contributed by Gustavo
11045
Niemeyer, made incremental by Robert Collins.
11051
* Test case failures have the exception printed after the log
11052
for your viewing pleasure.
11054
* InventoryEntry is now an abstract base class, use one of the
11055
concrete InventoryDirectory etc classes instead.
11057
* Branch raises an UnsupportedFormatError when it detects a
11058
bzr branch it cannot understand. This allows for precise
11059
handling of such circumstances.
11061
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
11062
list of their ids and ``parent_sha1s`` is a list of their corresponding
11063
sha1s (for old branches only at the moment.)
11065
* New method-object style interface for Commit() and Fetch().
11067
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
11068
we call them revisions not patches.
11070
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
11071
directory is created if it doesn't exist.
11073
* Inventories now identify the files which were present by
11074
giving the revision *of that file*.
11076
* Inventory and Revision XML contains a version identifier.
11077
This must be consistent with the overall branch version
11078
but allows for more flexibility in future upgrades.
11083
* Removed testsweet module so that tests can be run after
11084
bzr installed by 'bzr selftest'.
11086
* 'bzr selftest' command-line arguments can now be partial ids
11087
of tests to run, e.g. ``bzr selftest test_weave``
11093
:Released: 2005-09-23
11098
* Fixed "branch -r" option.
11100
* Fix remote access to branches containing non-compressed history.
11103
* Better reliability of http server tests. (John Arbash-Meinel)
11105
* Merge graph maximum distance calculation fix. (Aaron Bentley)
11107
* Various minor bug in windows support have been fixed, largely in the
11108
test suite. Contributed by Alexander Belchenko.
11113
* Status now accepts a -r argument to give status between chosen
11114
revisions. Contributed by Heikki Paajanen.
11116
* Revision arguments no longer use +/-/= to control ranges, instead
11117
there is a 'before' namespace, which limits the successive namespace.
11118
For example '$ bzr log -r date:yesterday..before:date:today' will
11119
select everything from yesterday and before today. Contributed by
11122
* There is now a bzr.bat file created by distutils when building on
11123
Windows. Contributed by Alexander Belchenko.
11128
* Removed uuid() as it was unused.
11130
* Improved 'fetch' code for pulling revisions from one branch into
11131
another (used by pull, merged, etc.)
11137
:Released: 2005-09-20
11143
* Adding a file whose parent directory is not versioned will
11144
implicitly add the parent, and so on up to the root. This means
11145
you should never need to explictly add a directory, they'll just
11146
get added when you add a file in the directory. Contributed by
11149
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
11152
* If you set ``BZR_EDITOR`` in the environment, it is checked in
11153
preference to EDITOR and the config file for the interactive commit
11154
editing program. Related to this is a bugfix where a missing program
11155
set in EDITOR would cause editing to fail, now the fallback program
11156
for the operating system is still tried.
11158
* Files that are not directories/symlinks/regular files will no longer
11159
cause bzr to fail, it will just ignore them by default. You cannot add
11160
them to the tree though - they are not versionable.
11166
* Refactor xml packing/unpacking.
11171
* Fixed 'bzr mv' by Ollie Rutherfurd.
11173
* Fixed strange error when trying to access a nonexistent http
11176
* Make sure that the hashcache gets written out if it can't be
11183
* Various Windows fixes from Ollie Rutherfurd.
11185
* Quieten warnings about locking; patch from Matt Lavin.
11191
:Released: 2005-09-02
11196
* ``bzr shell-complete`` command contributed by Clint Adams to
11197
help with intelligent shell completion.
11199
* New expert command ``bzr find-merge-base`` for debugging merges.
11205
* Much better merge support.
11207
* merge3 conflicts are now reported with markers like '<<<<<<<'
11208
(seven characters) which is the same as CVS and pleases things
11215
* ``bzr upgrade`` no longer fails when trying to fix trees that
11216
mention revisions that are not present.
11218
* Fixed bugs in listing plugins from ``bzr plugins``.
11220
* Fix case of $EDITOR containing options for the editor.
11222
* Fix log -r refusing to show the last revision.
11223
(Patch from Goffredo Baroncelli.)
11229
* ``bzr log --show-ids`` shows the revision ids of all parents.
11231
* Externally provided commands on your $BZRPATH no longer need
11232
to recognize --bzr-usage to work properly, and can just handle
11239
* Changed trace messages to go through the standard logging
11240
framework, so that they can more easily be redirected by
11248
:Released: 2005-08-18
11253
* Python plugins, automatically loaded from the directories on
11254
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
11256
* New 'bzr mkdir' command.
11258
* Commit mesage is fetched from an editor if not given on the
11259
command line; patch from Torsten Marek.
11261
* ``bzr log -m FOO`` displays commits whose message matches regexp
11264
* ``bzr add`` with no arguments adds everything under the current directory.
11266
* ``bzr mv`` does move or rename depending on its arguments, like
11269
* ``bzr missing`` command shows a summary of the differences
11270
between two trees. (Merged from John Arbash-Meinel.)
11272
* An email address for commits to a particular tree can be
11273
specified by putting it into .bzr/email within a branch. (Based
11274
on a patch from Heikki Paajanen.)
11280
* Faster working tree operations.
11286
* 3rd-party modules shipped with bzr are copied within the bzrlib
11287
python package, so that they can be installed by the setup
11288
script without clashing with anything already existing on the
11289
system. (Contributed by Gustavo Niemeyer.)
11291
* Moved plugins directory to bzrlib/, so that there's a standard
11292
plugin directory which is not only installed with bzr itself but
11293
is also available when using bzr from the development tree.
11294
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
11295
standard plugins directory.
11297
* When exporting to a tarball with ``bzr export --format tgz``, put
11298
everything under a top directory rather than dumping it into the
11299
current directory. This can be overridden with the ``--root``
11300
option. Patch from William Dodé and John Meinel.
11302
* New ``bzr upgrade`` command to upgrade the format of a branch,
11303
replacing ``bzr check --update``.
11305
* Files within store directories are no longer marked readonly on
11308
* Changed ``bzr log`` output to a more compact form suggested by
11309
John A Meinel. Old format is available with the ``--long`` or
11310
``-l`` option, patched by William Dodé.
11312
* By default the commit command refuses to record a revision with
11313
no changes unless the ``--unchanged`` option is given.
11315
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
11316
line options must come before the command name because they
11317
affect what commands are available; all other options must come
11318
after the command name because their interpretation depends on
11321
* ``branch`` and ``clone`` added as aliases for ``branch``.
11323
* Default log format is back to the long format; the compact one
11324
is available with ``--short``.
11330
* Fix bugs in committing only selected files or within a subdirectory.
11336
:Released: 2005-06-15
11341
* ``bzr`` with no command now shows help rather than giving an
11342
error. Suggested by Michael Ellerman.
11344
* ``bzr status`` output format changed, because svn-style output
11345
doesn't really match the model of bzr. Now files are grouped by
11346
status and can be shown with their IDs. ``bzr status --all``
11347
shows all versioned files and unknown files but not ignored files.
11349
* ``bzr log`` runs from most-recent to least-recent, the reverse
11350
of the previous order. The previous behaviour can be obtained
11351
with the ``--forward`` option.
11353
* ``bzr inventory`` by default shows only filenames, and also ids
11354
if ``--show-ids`` is given, in which case the id is the second
11361
* New 'bzr whoami --email' option shows only the email component
11362
of the user identification, from Jo Vermeulen.
11364
* New ``bzr ignore PATTERN`` command.
11366
* Nicer error message for broken pipe, interrupt and similar
11367
conditions that don't indicate an internal error.
11369
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
11371
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
11372
either read or write mode.
11374
* New option ``bzr log --show-ids`` shows revision and file ids.
11376
* New usage ``bzr log FILENAME`` shows only revisions that
11377
affected that file.
11379
* Changed format for describing changes in ``bzr log -v``.
11381
* New option ``bzr commit --file`` to take a message from a file,
11382
suggested by LarstiQ.
11384
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
11385
Oler. File may be in a branch other than the working directory.
11387
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
11390
* Commands can now be defined by external programs or scripts
11391
in a directory on $BZRPATH.
11393
* New "stat cache" avoids reading the contents of files if they
11394
haven't changed since the previous time.
11396
* If the Python interpreter is too old, try to find a better one
11397
or give an error. Based on a patch from Fredrik Lundh.
11399
* New optional parameter ``bzr info [BRANCH]``.
11401
* New form ``bzr commit SELECTED`` to commit only selected files.
11403
* New form ``bzr log -r FROM:TO`` shows changes in selected
11404
range; contributed by John A Meinel.
11406
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
11407
options through to an external GNU diff.
11409
* New option ``bzr add --no-recurse`` to add a directory but not
11412
* ``bzr --version`` now shows more information if bzr is being run
11419
* Fixed diff format so that added and removed files will be
11420
handled properly by patch. Fix from Lalo Martins.
11422
* Various fixes for files whose names contain spaces or other
11429
* Converted black-box test suites from Bourne shell into Python;
11430
now run using ``./testbzr``. Various structural improvements to
11433
* testbzr by default runs the version of bzr found in the same
11434
directory as the tests, or the one given as the first parameter.
11436
* testbzr also runs the internal tests, so the only command
11437
required to check is just ``./testbzr``.
11439
* testbzr requires python2.4, but can be used to test bzr running
11440
under a different version.
11442
* Tests added for many other changes in this release.
11448
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
11450
* Refactor command functions into Command objects based on HCT by
11451
Scott James Remnant.
11453
* Better help messages for many commands.
11455
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
11456
this is called trace messages are just discarded.
11458
* New internal function ``find_touching_revisions()`` and hidden
11459
command touching-revisions trace the changes to a given file.
11461
* Simpler and faster ``compare_inventories()`` function.
11463
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
11465
* New AtomicFile class.
11467
* New developer commands ``added``, ``modified``.
11473
* Cope on Windows on python2.3 by using the weaker random seed.
11474
2.4 is now only recommended.
11480
:Released: 2005-04-22
11485
* 'bzr diff' optionally takes a list of files to diff. Still a bit
11486
basic. Patch from QuantumG.
11488
* More default ignore patterns.
11490
* New 'bzr log --verbose' shows a list of files changed in the
11491
changeset. Patch from Sebastian Cote.
11493
* Roll over ~/.bzr.log if it gets too large.
11495
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
11498
* New 'bzr help commands' based on a patch from Denys Duchier.
11504
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
11505
or $EMAIL. All are decoded by the locale preferred encoding.
11506
If none of these are present user@hostname is used. The host's
11507
fully-qualified name is not used because that tends to fail when
11508
there are DNS problems.
11510
* New 'bzr whoami' command instead of username user-email.
11516
* Make commit safe for hardlinked bzr trees.
11518
* Some Unicode/locale fixes.
11520
* Partial workaround for ``difflib.unified_diff`` not handling
11521
trailing newlines properly.
11527
* Allow docstrings for help to be in PEP0257 format. Patch from
11530
* More tests in test.sh.
11532
* Write profile data to a temporary file not into working
11533
directory and delete it when done.
11535
* Smaller .bzr.log with process ids.
11541
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
11544
* Some improvements in handling paths on Windows, based on a patch
11551
:Released: 2005-04-06
11556
* New "directories" internal command lists versioned directories
11559
* Can now say "bzr commit --help".
11561
* New "rename" command to rename one file to a different name
11564
* New "move" command to move one or more files into a different
11567
* New "renames" command lists files renamed since base revision.
11569
* New cat command contributed by janmar.
11574
* .bzr.log is placed in $HOME (not pwd) and is always written in
11575
UTF-8. (Probably not a completely good long-term solution, but
11581
* Workaround for difflib bug in Python 2.3 that causes an
11582
exception when comparing empty files. Reported by Erik Toubro
11588
* Refactored inventory storage to insert a root entry at the top.
11593
* Start of shell-based black-box testing in test.sh.
3269
bzr 0.92rc1 2007-10-29
3270
----------------------
3272
NOTES WHEN UPGRADING:
3276
* ``bzr`` now returns exit code 4 if an internal error occurred, and
3277
3 if a normal error occurred. (Martin Pool)
3279
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
3280
repository index errors that occured as a result of the Weave disk format.
3281
Instead the ``reconcile`` command needs to be run to correct those
3282
problems if they exist (and it has been able to fix most such problems
3283
since bzr 0.8). Some new problems have been identified during this release
3284
and you should run ``bzr check`` once on every repository to see if you
3285
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
3286
repository due to mismatched parent errors - a symptom of index errors -
3287
you should simply take a full copy of that remote repository to a clean
3288
directory outside any local repositories, then run reconcile on it, and
3289
finally pull from it locally. (And naturally email the repositories owner
3290
to ask them to upgrade and run reconcile).
3295
* New ``knitpack-experimental`` repository format. This is interoperable with
3296
the ``dirstate-tags`` format but uses a smarter storage design that greatly
3297
speeds up many operations, both local and remote. This new format can be
3298
used as an option to the ``init``, ``init-repository`` and ``upgrade``
3299
commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
3300
for further details. (Robert Collins)
3302
* For users of bzr-svn (and those testing the prototype subtree support) that
3303
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
3304
been added. This is interoperable with the ``dirstate-subtrees`` format.
3307
* New ``reconfigure`` command. (Aaron Bentley)
3309
* New ``revert --forget-merges`` command, which removes the record of a pending
3310
merge without affecting the working tree contents. (Martin Pool)
3312
* New ``bzr_remote_path`` configuration variable allows finer control of
3313
remote bzr locations than BZR_REMOTE_PATH environment variable.
3316
* New ``launchpad-login`` command to tell Bazaar your Launchpad
3317
user ID. This can then be used by other functions of the
3318
Launchpad plugin. (James Henstridge)
3322
* Commit in quiet mode is now slightly faster as the information to
3323
output is no longer calculated. (Ian Clatworthy)
3325
* Commit no longer checks for new text keys during insertion when the
3326
revision id was deterministically unique. (Robert Collins)
3328
* Committing a change which is not a merge and does not change the number of
3329
files in the tree is faster by utilising the data about whether files are
3330
changed to determine if the tree is unchanged rather than recalculating
3331
it at the end of the commit process. (Robert Collins)
3333
* Inventory serialisation no longer double-sha's the content.
3336
* Knit text reconstruction now avoids making copies of the lines list for
3337
interim texts when building a single text. The new ``apply_delta`` method
3338
on ``KnitContent`` aids this by allowing modification of the revision id
3339
such objects represent. (Robert Collins)
3341
* Pack indices are now partially parsed for specific key lookup using a
3342
bisection approach. (Robert Collins)
3344
* Partial commits are now approximately 40% faster by walking over the
3345
unselected current tree more efficiently. (Robert Collins)
3347
* XML inventory serialisation takes 20% less time while being stricter about
3348
the contents. (Robert Collins)
3350
* Graph ``heads()`` queries have been fixed to no longer access all history
3351
unnecessarily. (Robert Collins)
3355
* ``bzr+https://`` smart server across https now supported.
3356
(John Ferlito, Martin Pool, #128456)
3358
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
3359
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
3361
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
3362
changes from one revision. (Alexander Belchenko, #141368)
3364
* Show encodings, locale and list of plugins in the traceback message.
3365
(Martin Pool, #63894)
3367
* Experimental directory formats can now be marked with
3368
``experimental = True`` during registration. (Ian Clatworthy)
3372
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
3374
* The hooks reference documentation is now converted to html as expected.
3379
* Connection error reporting for the smart server has been fixed to
3380
display a user friendly message instead of a traceback.
3381
(Ian Clatworthy, #115601)
3383
* Make sure to use ``O_BINARY`` when opening files to check their
3384
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
3386
* Fix a problem with Win32 handling of the executable bit.
3387
(John Arbash Meinel, #149113)
3389
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
3390
no longer assume that means port 22. This allows people using OpenSSH to
3391
override the default port in their ``~/.ssh/config`` if they wish. This
3392
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
3394
* Commands reporting exceptions can now be profiled and still have their
3395
data correctly dumped to a file. For example, a ``bzr commit`` with
3396
no changes still reports the operation as pointless but doing so no
3397
longer throws away the profiling data if this command is run with
3398
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
3400
* Fallback to ftp when paramiko is not installed and sftp can't be used for
3401
``tests/commands`` so that the test suite is still usable without
3403
(Vincent Ladeuil, #59150)
3405
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
3407
* Fix long standing bug in partial commit when there are renames
3408
left in tree. (Robert Collins, #140419)
3410
* Fix selftest semi-random noise during http related tests.
3411
(Vincent Ladeuil, #140614)
3413
* Fix typo in ftp.py making the reconnection fail on temporary errors.
3414
(Vincent Ladeuil, #154259)
3416
* Fix failing test by comparing real paths to cover the case where the TMPDIR
3417
contains a symbolic link.
3418
(Vincent Ladeuil, #141382).
3420
* Fix log against smart server branches that don't support tags.
3421
(James Westby, #140615)
3423
* Fix pycurl http implementation by defining error codes from
3424
pycurl instead of relying on an old curl definition.
3425
(Vincent Ladeuil, #147530)
3427
* Fix 'unprintable error' message when displaying BzrCheckError and
3428
some other exceptions on Python 2.5.
3429
(Martin Pool, #144633)
3431
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
3433
* Handles default value for ListOption in cmd_commit.
3434
(Vincent Ladeuil, #140432)
3436
* HttpServer and FtpServer need to be closed properly or a listening socket
3438
(Vincent Ladeuil, #140055)
3440
* Monitor the .bzr directory created in the top level test
3441
directory to detect leaking tests.
3442
(Vincent Ladeuil, #147986)
3444
* The basename, not the full path, is now used when checking whether
3445
the profiling dump file begins with ``callgrind.out`` or not. This
3446
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
3448
* Trivial fix for invoking command ``reconfigure`` without arguments.
3451
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
3452
new path causes bzr to be unable to access the file. (Robert Collins)
3454
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
3459
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
3460
constructor, for enabling bisection searches. (Robert Collins)
3462
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
3463
tree be supplied to it, previously failing to do so would trigger a
3464
deprecation warning. (Robert Collins)
3466
* ``KnitVersionedFile.add*`` will no longer cache added records even when
3467
enable_cache() has been called - the caching feature is now exclusively for
3468
reading existing data. (Robert Collins)
3470
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
3471
appropriate. (Martin Pool)
3473
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
3474
``trace+`` transport instead. (Robert Collins)
3476
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
3477
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
3480
* Removed previous deprecated ``basis_knit`` parameter to the
3481
``KnitVersionedFile`` constructor. (Robert Collins)
3483
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
3484
class that needs it.
3487
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
3488
``KnitRepository`` by parameters to the constructor. (Robert Collins)
3490
* The ``VersionedFile`` interface now allows content checks to be bypassed
3491
by supplying check_content=False. This saves nearly 30% of the minimum
3492
cost to store a version of a file. (Robert Collins)
3494
* Tree's with bad state such as files with no length or sha will no longer
3495
be silently accepted by the repository XML serialiser. To serialise
3496
inventories without such data, pass working=True to write_inventory.
3499
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
3500
``VersionedFile.join`` will no longer accept different parents on either
3501
side of a join - it will either ignore them, or error, depending on the
3502
implementation. See notes when upgrading for more information.
3507
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
3508
put by the method call, to allow avoiding stat-after-write or
3509
housekeeping in callers. (Robert Collins)
3511
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
3512
mandatory attributes are present on serialisation and deserialisation.
3513
This fixes some holes in API usage and allows better separation between
3514
physical storage and object serialisation. (Robert Collins)
3516
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
3517
shorthand for deriving from BzrError and setting internal_error = True.
3520
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
3521
moving the state of a parent tree to a new version via a delta rather than
3522
a complete replacement tree. (Robert Collins)
3524
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
3525
duplication from user input, when a user mentions both a path and an item
3526
contained within that path. (Robert Collins)
3528
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
3529
determining if a repository is write locked. (Robert Collins)
3531
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
3532
tuple containing the key information about a path for commit processing
3533
to complete. (Robert Collins)
3535
* New method on xml serialisers, write_inventory_to_lines, which matches the
3536
API used by knits for adding content. (Robert Collins)
3538
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
3539
logic, currently only available for byte-based lookup
3540
(``bisect_multi_bytes``). (Robert Collins)
3542
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
3543
and returns a gzipped version of the same. This is used to avoid a bunch
3544
of api friction during adding of knit hunks. (Robert Collins)
3546
* New parameter on ``bzrlib.transport.Transport.readv``
3547
``adjust_for_latency`` which changes readv from returning strictly the
3548
requested data to inserted return larger ranges and in forward read order
3549
to reduce the effect of network latency. (Robert Collins)
3551
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
3552
causes the parents of a selected id to be returned recursively, so all the
3553
paths from the root down to each element of selected_file_ids are
3554
returned. (Robert Collins)
3556
* Knit joining has been enhanced to support plain to annotated conversion
3557
and annotated to plain conversion. (Ian Clatworthy)
3559
* The CommitBuilder method ``record_entry_contents`` now returns summary
3560
information about the effect of the commit on the repository. This tuple
3561
contains an inventory delta item if the entry changed from the basis, and a
3562
boolean indicating whether a new file graph node was recorded.
3565
* The python path used in the Makefile can now be overridden.
3566
(Andrew Bennetts, Ian Clatworthy)
3570
* New transport implementation ``trace+`` which is useful for testing,
3571
logging activity taken to its _activity attribute. (Robert Collins)
3573
* When running bzr commands within the test suite, internal exceptions are
3574
not caught and reported in the usual way, but rather allowed to propagate
3575
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
3576
makes this behavior available to other users.
3579
* New method ``TestCase.call_catch_warnings`` for testing methods that
3580
raises a Python warning. (Martin Pool)
3588
* Print a warning instead of aborting the ``python setup.py install``
3589
process if building of a C extension is not possible.
3590
(Lukáš Lalinský, Alexander Belchenko)
3592
* Fix commit ordering in corner case (Aaron Bentley, #94975)
3594
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
3595
an implicit port. We were incorrectly raising PathNotChild due to
3596
inconsistent treatment of the ''_port'' attribute on the Transport object.
3597
(Andrew Bennetts, #133965)
3599
* Make RemoteRepository.sprout cope gracefully with servers that don't
3600
support the ``Repository.tarball`` request.
3604
bzr 0.91rc2 2007-09-11
3605
----------------------
3607
* Replaced incorrect tarball for previous release; a debug statement was left
3608
in bzrlib/remote.py.
3611
bzr 0.91rc1 2007-09-11
3612
----------------------
3616
* The default branch and repository format has changed to
3617
``dirstate-tags``, so tag commands are active by default.
3618
This format is compatible with Bazaar 0.15 and later.
3619
This incidentally fixes bug #126141.
3622
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
3623
must now appear after the command name. Scripts doing things like
3624
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
3629
* New option ``--author`` in ``bzr commit`` to specify the author of the
3630
change, if it's different from the committer. ``bzr log`` and
3631
``bzr annotate`` display the author instead of the committer.
3634
* In addition to global options and command specific options, a set of
3635
standard options are now supported. Standard options are legal for
3636
all commands. The initial set of standard options are:
3638
* ``--help`` or ``-h`` - display help message
3639
* ``--verbose`` or ``-v`` - display additional information
3640
* ``--quiet`` or ``-q`` - only output warnings and errors.
3642
Unlike global options, standard options can be used in aliases and
3643
may have command-specific help. (Ian Clatworthy)
3645
* Verbosity level processing has now been unified. If ``--verbose``
3646
or ``-v`` is specified on the command line multiple times, the
3647
verbosity level is made positive the first time then increased.
3648
If ``--quiet`` or ``-q`` is specified on the command line
3649
multiple times, the verbosity level is made negative the first
3650
time then decreased. To get the default verbosity level of zero,
3651
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
3652
Note that most commands currently ignore the magnitude of the
3653
verbosity level but do respect *quiet vs normal vs verbose* when
3654
generating output. (Ian Clatworthy)
3656
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
3657
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
3659
* New ``Repository.stream_knit_data_for_revisions`` request added to the
3660
network protocol for greatly reduced roundtrips when retrieving a set of
3661
revisions. (Andrew Bennetts)
3665
* ``bzr plugins`` now lists the version number for each plugin in square
3666
brackets after the path. (Robert Collins, #125421)
3668
* Pushing, pulling and branching branches with subtree references was not
3669
copying the subtree weave, preventing the file graph from being accessed
3670
and causing errors in commits in clones. (Robert Collins)
3672
* Suppress warning "integer argument expected, got float" from Paramiko,
3673
which sometimes caused false test failures. (Martin Pool)
3675
* Fix bug in bundle 4 that could cause attempts to write data to wrong
3676
versionedfile. (Aaron Bentley)
3678
* Diffs generated using "diff -p" no longer break the patch parser.
3681
* get_transport treats an empty possible_transports list the same as a non-
3682
empty one. (Aaron Bentley)
3684
* patch verification for merge directives is reactivated, and works with
3685
CRLF and CR files. (Aaron Bentley)
3687
* Accept ..\ as a path in revision specifiers. This fixes for example
3688
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
3690
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
3691
(Blake Winton, #129299)
3693
* man page no longer lists hidden options (#131667, Aaron Bentley)
3695
* ``uncommit --help`` now explains the -r option adequately. (Daniel
3698
* Error messages are now better formatted with parameters (such as
3699
filenames) quoted when necessary. This avoids confusion when directory
3700
names ending in a '.' at the end of messages were confused with a
3701
full stop that may or not have been there. (Daniel Watkins, #129791)
3703
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
3705
* If a particular command is an alias, ``help`` will show the alias
3706
instead of claiming there is no help for said alias. (Daniel Watkins,
3709
* TreeTransform-based operations, like pull, merge, revert, and branch,
3710
now roll back if they encounter an error. (Aaron Bentley, #67699)
3712
* ``bzr commit`` now exits cleanly if a character unsupported by the
3713
current encoding is used in the commit message. (Daniel Watkins,
3716
* bzr send uses default values for ranges when only half of an elipsis
3717
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
3719
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
3720
binary is present. (Martin Albisetti, #107155)
3722
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
3723
needing ``--force``) subtrees that contain no files with text changes or
3724
modified files. With ``--force`` it removes the subtree regardless of
3725
text changes or unknown files. Directories with renames in or out (but
3726
not changed otherwise) will now be removed without needing ``--force``.
3727
Unknown ignored files will be deleted without needing ``--force``.
3728
(Marius Kruger, #111665)
3730
* When two plugins conflict, the source of both the losing and now the
3731
winning definition is shown. (Konstantin Mikhaylov, #5454)
3733
* When committing to a branch, the location being committed to is
3734
displayed. (Daniel Watkins, #52479)
3736
* ``bzr --version`` takes care about encoding of stdout, especially
3737
when output is redirected. (Alexander Belchenko, #131100)
3739
* Prompt for an ftp password if none is provided.
3740
(Vincent Ladeuil, #137044)
3742
* Reuse bound branch associated transport to avoid multiple
3744
(Vincent Ladeuil, #128076, #131396)
3746
* Overwrite conflicting tags by ``push`` and ``pull`` if the
3747
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
3749
* In checkouts, tags are copied into the master branch when created,
3750
changed or deleted, and are copied into the checkout when it is
3751
updated. (Martin Pool, #93856, #93860)
3753
* Print a warning instead of aborting the ``python setup.py install``
3754
process if building of a C extension is not possible.
3755
(Lukáš Lalinský, Alexander Belchenko)
3759
* Add the option "--show-diff" to the commit command in order to display
3760
the diff during the commit log creation. (Goffredo Baroncelli)
3762
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
3765
* ``pull -v`` no longer includes deltas, making it much faster.
3768
* ``send`` now sends the directive as an attachment by default.
3769
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
3771
* Documentation updates (Martin Albisetti)
3773
* Help on debug flags is now included in ``help global-options``.
3774
(Daniel Watkins, #124853)
3776
* Parameters passed on the command line are checked to ensure they are
3777
supported by the encoding in use. (Daniel Watkins)
3779
* The compression used within the bzr repository has changed from zlib
3780
level 9 to the zlib default level. This improves commit performance with
3781
only a small increase in space used (and in some cases a reduction in
3782
space). (Robert Collins)
3784
* Initial commit no longer SHAs files twice and now reuses the path
3785
rather than looking it up again, making it faster.
3788
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
3789
changes in one revision. (Lukáš Lalinský)
3791
* If versioned files match a given ignore pattern, a warning is now
3792
given. (Daniel Watkins, #48623)
3794
* ``bzr status`` now has -S as a short name for --short and -V as a
3795
short name for --versioned. These have been added to assist users
3796
migrating from Subversion: ``bzr status -SV`` is now like
3797
``svn status -q``. (Daniel Watkins, #115990)
3799
* Added C implementation of ``PatienceSequenceMatcher``, which is about
3800
10x faster than the Python version. This speeds up commands that
3801
need file diffing, such as ``bzr commit`` or ``bzr diff``.
3804
* HACKING has been extended with a large section on core developer tasks.
3807
* Add ``branches`` and ``standalone-trees`` as online help topics and
3808
include them as Concepts within the User Reference.
3809
(Paul Moore, Ian Clatworthy)
3811
* ``check`` can detect versionedfile parent references that are
3812
inconsistent with revision and inventory info, and ``reconcile`` can fix
3813
them. These faulty references were generated by 0.8-era releases,
3814
so repositories which were manipulated by old bzrs should be
3815
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
3819
* ``Branch.append_revision`` is removed altogether; please use
3820
``Branch.set_last_revision_info`` instead. (Martin Pool)
3822
* CommitBuilder now advertises itself as requiring the root entry to be
3823
supplied. This only affects foreign repository implementations which reuse
3824
CommitBuilder directly and have changed record_entry_contents to require
3825
that the root not be supplied. This should be precisely zero plugins
3826
affected. (Robert Collins)
3828
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
3829
its return value to include the sha1 and length of the inserted text. This
3830
allows the avoidance of double-sha1 calculations during commit.
3833
* ``Transport.should_cache`` has been removed. It was not called in the
3834
previous release. (Martin Pool)
3838
* Tests may now raise TestNotApplicable to indicate they shouldn't be
3839
run in a particular scenario. (Martin Pool)
3841
* New function multiply_tests_from_modules to give a simpler interface
3842
to test parameterization. (Martin Pool, Robert Collins)
3844
* ``Transport.should_cache`` has been removed. It was not called in the
3845
previous release. (Martin Pool)
3847
* NULL_REVISION is returned to indicate the null revision, not None.
3850
* Use UTF-8 encoded StringIO for log tests to avoid failures on
3851
non-ASCII committer names. (Lukáš Lalinský)
3855
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
3856
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
3857
useful functionality for determining the path of a plugin, its tests, and
3858
its version information. (Robert Collins)
3860
* Add the option user_encoding to the function 'show_diff_trees()'
3861
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
3863
* Add the function make_commit_message_template_encoded() and the function
3864
edit_commit_message_encoded() which handle encoded strings.
3865
This is done in order to mix the commit messages (which is a unicode
3866
string), and the diff which is a raw string. (Goffredo Baroncelli)
3868
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
3869
overhead on non-weave repositories which don't require all parents to be
3870
present. (Robert Collins)
3872
* Deprecated method ``find_previous_heads`` on
3873
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
3874
of ``parent_candidates`` and a separate heads check via the repository
3875
API. (Robert Collins)
3877
* New trace function ``mutter_callsite`` will print out a subset of the
3878
stack to the log, which can be useful for gathering debug details.
3881
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
3882
added via a public attribute records_written. (Robert Collins)
3884
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
3885
This provides a hint to users of transports as to the reasonable
3886
minimum data to read. In principle this can take latency and
3887
bandwidth into account on a per-connection basis, but for now it
3888
just has hard coded values based on the url. (e.g. http:// has a large
3889
page size, file:// has a small one.) (Robert Collins)
3891
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
3892
incremental addition of data to a file without requiring that all the
3893
data be buffered in memory. (Robert Collins)
3895
* New methods on ``bzrlib.knit.KnitVersionedFile``:
3896
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
3897
``get_format_signature()``. These provide some infrastructure for
3898
efficiently streaming the knit data for a set of versions over the smart
3901
* Knits with no annotation cache still produce correct annotations.
3904
* Three new methods have been added to ``bzrlib.trace``:
3905
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
3906
``set_verbosity_level`` expects a numeric value: negative for quiet,
3907
zero for normal, positive for verbose. The size of the number can be
3908
used to determine just how quiet or verbose the application should be.
3909
The existing ``be_quiet`` and ``is_quiet`` routines have been
3910
integrated into this new scheme. (Ian Clatworthy)
3912
* Options can now be delcared with a ``custom_callback`` parameter. If
3913
set, this routine is called after the option is processed. This feature
3914
is now used by the standard options ``verbose`` and ``quiet`` so that
3915
setting one implicitly resets the other. (Ian Clatworthy)
3917
* Rather than declaring a new option from scratch in order to provide
3918
custom help, a centrally registered option can be decorated using the
3919
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
3920
is useful when declaring better help for the ``verbose`` and ``quiet``
3921
standard options as the base definition of these is now more complex
3922
than before thanks to their use of a custom callback. (Ian Clatworthy)
3924
* Tree._iter_changes(specific_file=[]) now iterates through no files,
3925
instead of iterating through all files. None is used to iterate through
3926
all files. (Aaron Bentley)
3928
* WorkingTree.revert() now accepts None to revert all files. The use of
3929
[] to revert all files is deprecated. (Aaron Bentley)
3937
* Documentation is now organized into multiple directories with a level
3938
added for different languages or locales. Added the Mini Tutorial
3939
and Quick Start Summary (en) documents from the Wiki, improving the
3940
content and readability of the former. Formatted NEWS as Release Notes
3941
complete with a Table of Conents, one heading per release. Moved the
3942
Developer Guide into the main document catalog and provided a link
3943
from the developer document catalog back to the main one.
3944
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
3949
* The static convenience method ``BzrDir.create_repository``
3950
is deprecated. Callers should instead create a ``BzrDir`` instance
3951
and call ``create_repository`` on that. (Martin Pool)
3954
bzr 0.90rc1 2007-08-14
3955
----------------------
3959
* ``bzr init`` should connect to the remote location one time only. We
3960
have been connecting several times because we forget to pass around the
3961
Transport object. This modifies ``BzrDir.create_branch_convenience``,
3962
so that we can give it the Transport we already have.
3963
(John Arbash Meinel, Vincent Ladeuil, #111702)
3965
* Get rid of sftp connection cache (get rid of the FTP one too).
3966
(Vincent Ladeuil, #43731)
3968
* bzr branch {local|remote} remote don't try to create a working tree
3970
(Vincent Ladeuil, #112173)
3972
* All identified multiple connections for a single bzr command have been
3973
fixed. See bzrlib/tests/commands directory.
3976
* ``bzr rm`` now does not insist on ``--force`` to delete files that
3977
have been renamed but not otherwise modified. (Marius Kruger,
3980
* ``bzr selftest --bench`` no longer emits deprecation warnings
3983
* ``bzr status`` now honours FILE parameters for conflict lists
3984
(Aaron Bentley, #127606)
3986
* ``bzr checkout`` now honours -r when reconstituting a working tree.
3987
It also honours -r 0. (Aaron Bentley, #127708)
3989
* ``bzr add *`` no more fails on Windows if working tree contains
3990
non-ascii file names. (Kuno Meyer, #127361)
3992
* allow ``easy_install bzr`` runs without fatal errors.
3993
(Alexander Belchenko, #125521)
3995
* Graph._filter_candidate_lca does not raise KeyError if a candidate
3996
is eliminated just before it would normally be examined. (Aaron Bentley)
3998
* SMTP connection failures produce a nice message, not a traceback.
4003
* Don't show "dots" progress indicators when run non-interactively, such
4004
as from cron. (Martin Pool)
4006
* ``info`` now formats locations more nicely and lists "submit" and
4007
"public" branches (Aaron Bentley)
4009
* New ``pack`` command that will trigger database compression within
4010
the repository (Robert Collins)
4012
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
4013
version is approximately 2-3x faster at parsing a ``.kndx`` file.
4014
Which yields a measurable improvement for commands which have to
4015
read from the repository, such as a 1s => 0.75s improvement in
4016
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
4018
* Merge is now faster. Depending on the scenario, it can be more than 2x
4019
faster. (Aaron Bentley)
4021
* Give a clearer warning, and allow ``python setup.py install`` to
4022
succeed even if pyrex is not available.
4023
(John Arbash Meinel)
4025
* ``DirState._read_dirblocks`` now has an optional Pyrex
4026
implementation. This improves the speed of any command that has to
4027
read the entire DirState. (``diff``, ``status``, etc, improve by
4029
``bisect_dirblocks`` has also been improved, which helps all
4030
``_get_entry`` type calls (whenever we are searching for a
4031
particular entry in the in-memory DirState).
4032
(John Arbash Meinel)
4034
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
4035
branch revision history for ui display unless -v is supplied.
4038
* ``bzr log -rA..B`` output shifted to the left margin if the log only
4039
contains merge revisions. (Kent Gibson)
4041
* The ``plugins`` command is now public with improved help.
4044
* New bundle and merge directive formats are faster to generate, and
4046
* Annotate merge now works when there are local changes. (Aaron Bentley)
4048
* Commit now only shows the progress in terms of directories instead of
4049
entries. (Ian Clatworthy)
4051
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
4052
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
4055
* Fix ``VersionedFile.get_graph()`` to avoid using
4056
``set.difference_update(other)``, which has bad scaling when
4057
``other`` is large. This improves ``VF.get_graph([version_id])`` for
4058
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
4060
* The ``--lsprof-file`` option now generates output for KCacheGrind if
4061
the file starts with ``callgrind.out``. This matches the default file
4062
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
4064
* Fix ``bzr update`` to avoid an unnecessary
4065
``branch.get_master_branch`` call, which avoids 1 extra connection
4066
to the remote server. (Partial fix for #128076, John Arbash Meinel)
4068
* Log errors from the smart server in the trace file, to make debugging
4069
test failures (and live failures!) easier. (Andrew Bennetts)
4071
* The HTML version of the man page has been superceded by a more
4072
comprehensive manual called the Bazaar User Reference. This manual
4073
is completed generated from the online help topics. As part of this
4074
change, limited reStructuredText is now explicitly supported in help
4075
topics and command help with 'unnatural' markup being removed prior
4076
to display by the online help or inclusion in the man page.
4079
* HTML documentation now use files extension ``*.html``
4080
(Alexander Belchenko)
4082
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
4083
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
4085
* ``bzr selftest --strict`` fails if there are any missing features or
4086
expected test failures. (Daniel Watkins, #111914)
4088
* Link to registration survey added to README. (Ian Clatworthy)
4090
* Windows standalone installer show link to registration survey
4091
when installation finished. (Alexander Belchenko)
4095
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
4096
Options are now required to provide a help string and it must
4097
comply with the style guide by being one or more sentences with an
4098
initial capital and final period. (Martin Pool)
4100
* KnitIndex.get_parents now returns tuples. (Robert Collins)
4102
* Ancient unused ``Repository.text_store`` attribute has been removed.
4105
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
4106
rather than just bytestrings, making it easier to represent multiple
4107
element names. As this interface was not used by any internal facilities
4108
since it was introduced in 0.18 no API compatibility is being preserved.
4109
The serialised form of these packs is identical with 0.18 when a single
4110
element tuple is in use. (Robert Collins)
4114
* merge now uses ``iter_changes`` to calculate changes, which makes room for
4115
future performance increases. It is also more consistent with other
4116
operations that perform comparisons, and reduces reliance on
4117
Tree.inventory. (Aaron Bentley)
4119
* Refactoring of transport classes connected to a remote server.
4120
ConnectedTransport is a new class that serves as a basis for all
4121
transports needing to connect to a remote server. transport.split_url
4122
have been deprecated, use the static method on the object instead. URL
4123
tests have been refactored too.
4126
* Better connection sharing for ConnectedTransport objects.
4127
transport.get_transport() now accepts a 'possible_transports' parameter.
4128
If a newly requested transport can share a connection with one of the
4132
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
4133
the null revision, and consider using ``None`` for this purpose
4134
deprecated. (Aaron Bentley)
4136
* New ``index`` module with abstract index functionality. This will be
4137
used during the planned changes in the repository layer. Currently the
4138
index layer provides a graph aware immutable index, a builder for the
4139
same index type to allow creating them, and finally a composer for
4140
such indices to allow the use of many indices in a single query. The
4141
index performance is not optimised, however the API is stable to allow
4142
development on top of the index. (Robert Collins)
4144
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
4145
their directory sections. This is equivalent to comparing
4146
``path.split('/')``, only without having to split the paths.
4147
This has a Pyrex implementation available.
4148
(John Arbash Meinel)
4150
* New transport decorator 'unlistable+' which disables the list_dir
4151
functionality for testing.
4153
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
4155
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
4156
for performing annotate-merge. (Aaron Bentley)
4158
* New EmailMessage class to create email messages. (Adeodato Simó)
4160
* Unused functions on the private interface KnitIndex have been removed.
4163
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
4164
of a ``index.GraphIndex``. (Robert Collins)
4166
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
4167
the parents of many knit nodes at once, reducing round trips to the
4168
underlying index. (Robert Collins)
4170
* Graph now has an is_ancestor method, various bits use it.
4173
* The ``-Dhpss`` flag now includes timing information. As well as
4174
logging when a new connection is opened. (John Arbash Meinel)
4176
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
4177
callers when inserting data, allowing generation of readv style access
4178
during pack creation, without needing a separate pass across the output
4179
pack to gather such details. (Robert Collins)
4181
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
4182
files that are stored on a transport. (Robert Collins)
4184
* New ``Repository.has_same_location`` method that reports if two
4185
repository objects refer to the same repository (although with some risk
4186
of false negatives). (Andrew Bennetts)
4188
* InterTree.compare now passes require_versioned on correctly.
4191
* New methods on Repository - ``start_write_group``,
4192
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
4193
which provide a clean hook point for transactional Repositories - ones
4194
where all the data for a fetch or commit needs to be made atomically
4195
available in one step. This allows the write lock to remain while making
4196
a series of data insertions. (e.g. data conversion). (Robert Collins)
4198
* In ``bzrlib.knit`` the internal interface has been altered to use
4199
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
4200
describe where data in a knit is, allowing knits to be split into
4201
many files. (Robert Collins)
4203
* ``bzrlib.knit._KnitData`` split into cache management and physical access
4204
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
4205
The former provides access into a .pack file, and the latter provides the
4206
current production repository form of .knit files. (Robert Collins)
4210
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
4211
``--keep-output`` options, which are obsolete now that tests
4212
are done within directories in $TMPDIR. (Martin Pool)
4214
* The SSH_AUTH_SOCK environment variable is now reset to avoid
4215
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
4217
* run_bzr_subprocess handles parameters the same way as run_bzr:
4218
either a string or a list of strings should be passed as the first
4219
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
4223
--------------------
4227
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
4230
bzr 0.18rc1 2007-07-10
4231
-----------------------
4235
* Do not suppress pipe errors, etc. in non-display commands
4236
(Alexander Belchenko, #87178)
4238
* Display a useful error message when the user requests to annotate
4239
a file that is not present in the specified revision.
4240
(James Westby, #122656)
4242
* Commands that use status flags now have a reference to 'help
4243
status-flags'. (Daniel Watkins, #113436)
4245
* Work around python-2.4.1 inhability to correctly parse the
4246
authentication header.
4247
(Vincent Ladeuil, #121889)
4249
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
4251
* Fix tempfile permissions error in smart server tar bundling under
4252
Windows. (Martin _, #119330)
4254
* Fix detection of directory entries in the inventory. (James Westby)
4256
* Fix handling of http code 400: Bad Request When issuing too many ranges.
4257
(Vincent Ladeuil, #115209)
4259
* Issue a CONNECT request when connecting to an https server
4260
via a proxy to enable SSL tunneling.
4261
(Vincent Ladeuil, #120678)
4263
* Fix ``bzr log -r`` to support selecting merge revisions, both
4264
individually and as part of revision ranges.
4265
(Kent Gibson, #4663)
4267
* Don't leave cruft behind when failing to acquire a lockdir.
4268
(Martin Pool, #109169)
4270
* Don't use the '-f' strace option during tests.
4271
(Vincent Ladeuil, #102019).
4273
* Warn when setting ``push_location`` to a value that will be masked by
4274
locations.conf. (Aaron Bentley, #122286)
4276
* Fix commit ordering in corner case (Aaron Bentley, #94975)
4278
* Make annotate behave in a non-ASCII world (Adeodato Simó).
4282
* The --lsprof-file option now dumps a text rendering of the profiling
4283
information if the filename ends in ".txt". It will also convert the
4284
profiling information to a format suitable for KCacheGrind if the
4285
output filename ends in ".callgrind". Fixes to the lsprofcalltree
4286
conversion process by Jean Paul Calderone and Itamar were also merged.
4287
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
4289
* ``info`` now defaults to non-verbose mode, displaying only paths and
4290
abbreviated format info. ``info -v`` displays all the information
4291
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
4293
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
4296
* The internal ``weave-list`` command has become ``versionedfile-list``,
4297
and now lists knits as well as weaves. (Aaron Bentley)
4299
* Automatic merge base selection uses a faster algorithm that chooses
4300
better bases in criss-cross merge situations (Aaron Bentley)
4302
* Progress reporting in ``commit`` has been improved. The various logical
4303
stages are now reported on as follows, namely:
4305
* Collecting changes [Entry x/y] - Stage n/m
4306
* Saving data locally - Stage n/m
4307
* Uploading data to master branch - Stage n/m
4308
* Updating the working tree - Stage n/m
4309
* Running post commit hooks - Stage n/m
4311
If there is no master branch, the 3rd stage is omitted and the total
4312
number of stages is adjusted accordingly.
4314
Each hook that is run after commit is listed with a name (as hooks
4315
can be slow it is useful feedback).
4316
(Ian Clatworthy, Robert Collins)
4318
* Various operations that are now faster due to avoiding unnecessary
4319
topological sorts. (Aaron Bentley)
4321
* Make merge directives robust against broken bundles. (Aaron Bentley)
4323
* The lsprof filename note is emitted via trace.note(), not standard
4324
output. (Aaron Bentley)
4326
* ``bzrlib`` now exports explicit API compatibility information to assist
4327
library users and plugins. See the ``bzrlib.api`` module for details.
4330
* Remove unnecessary lock probes when acquiring a lockdir.
4333
* ``bzr --version`` now shows the location of the bzr log file, which
4334
is especially useful on Windows. (Martin Pool)
4336
* -D now supports hooks to get debug tracing of hooks (though its currently
4337
minimal in nature). (Robert Collins)
4339
* Long log format reports deltas on merge revisions.
4340
(John Arbash Meinel, Kent Gibson)
4342
* Make initial push over ftp more resilient. (John Arbash Meinel)
4344
* Print a summary of changes for update just like pull does.
4345
(Daniel Watkins, #113990)
4347
* Add a -Dhpss option to trace smart protocol requests and responses.
4352
* Testing cleanups -
4353
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
4354
to ``bzrlib.tests.repository_implementations``;
4355
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
4356
to ``bzrlib.tests.interrepository_implementations``;
4357
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
4358
``bzrlib.tests.test_transport_implementations``.
4359
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
4360
``bzrlib.tests.branch_implementations``.
4361
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
4362
``bzrlib.tests.bzrdir_implementations``.
4363
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
4364
to ``bzrlib.tests.interversionedfile_implementations``.
4365
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
4366
``bzrlib.tests.revisionstore_implementations``.
4367
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
4368
``bzrlib.tests.workingtree_implementations``.
4369
These changes are an API break in the testing infrastructure only.
4372
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
4374
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
4375
win32. Callers of the function should do this and use the new
4376
``MutableTree.smart_add`` method instead. (Robert Collins)
4378
* ``bzrlib.add.glob_expand_for_win32`` is now
4379
``bzrlib.win32utils.glob_expand``. (Robert Collins)
4381
* ``bzrlib.add.FastPath`` is now private and moved to
4382
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
4384
* ``LockDir.wait`` removed. (Martin Pool)
4386
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
4387
``server_stopped`` hooks. The first parameter is now an iterable of
4388
backing URLs rather than a single URL. This is to reflect that many
4389
URLs may map to the external URL of the server. E.g. the server interally
4390
may have a chrooted URL but also the local file:// URL will be at the
4391
same location. (Robert Collins)
4395
* New SMTPConnection class to unify email handling. (Adeodato Simó)
4397
* Fix documentation of BzrError. (Adeodato Simó)
4399
* Make BzrBadParameter an internal error. (Adeodato Simó)
4401
* Remove use of 'assert False' to raise an exception unconditionally.
4404
* Give a cleaner error when failing to decode knit index entry.
4407
* TreeConfig would mistakenly search the top level when asked for options
4408
from a section. It now respects the section argument and only
4409
searches the specified section. (James Westby)
4411
* Improve ``make api-docs`` output. (John Arbash Meinel)
4413
* Use os.lstat rather than os.stat for osutils.make_readonly and
4414
osutils.make_writeable. This makes the difftools plugin more
4415
robust when dangling symlinks are found. (Elliot Murphy)
4417
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
4418
lockdirs are taken or released. (Martin Pool)
4420
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
4421
allows a nicer UI when hooks are running as the current hook can
4422
be displayed. (Robert Collins)
4424
* ``Transport.get`` has had its interface made more clear for ease of use.
4425
Retrieval of a directory must now fail with either 'PathError' at open
4426
time, or raise 'ReadError' on a read. (Robert Collins)
4428
* New method ``_maybe_expand_globs`` on the ``Command`` class for
4429
dealing with unexpanded glob lists - e.g. on the win32 platform. This
4430
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
4432
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
4433
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
4436
* New method ``external_url`` on Transport for obtaining the url to
4437
hand to external processes. (Robert Collins)
4439
* Teach windows installers to build pyrex/C extensions.
4440
(Alexander Belchenko)
4444
* Removed the ``--keep-output`` option from selftest and clean up test
4445
directories as they're used. This reduces the IO load from
4446
running the test suite and cuts the time by about half.
4447
(Andrew Bennetts, Martin Pool)
4449
* Add scenarios as a public attribute on the TestAdapter classes to allow
4450
modification of the generated scenarios before adaption and easier
4451
testing. (Robert Collins)
4453
* New testing support class ``TestScenarioApplier`` which multiplies
4454
out a single teste by a list of supplied scenarios. (RobertCollins)
4456
* Setting ``repository_to_test_repository`` on a repository_implementations
4457
test will cause it to be called during repository creation, allowing the
4458
testing of repository classes which are not based around the Format
4459
concept. For example a repository adapter can be tested in this manner,
4460
by altering the repository scenarios to include a scenario that sets this
4461
attribute during the test parameterisation in
4462
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
4464
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
4465
interface is now self.run_bzr. The command to run can be passed as
4466
either a list of parameters, a string containing the command line, or
4467
(deprecated) varargs parameters. (Martin Pool)
4469
* The base TestCase now isolates tests from -D parameters by clearing
4470
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
4472
* Add a relpath parameter to get_transport methods in test framework to
4473
avoid useless cloning.
4474
(Vincent Ladeuil, #110448)
4478
--------------------
4482
* Fix crash of commit due to wrong lookup of filesystem encoding.
4483
(Colin Watson, #120647)
4485
* Revert logging just to stderr in commit as broke unicode filenames.
4486
(Aaron Bentley, Ian Clatworthy, #120930)
4489
bzr 0.17rc1 2007-06-12
4490
-----------------------
4492
NOTES WHEN UPGRADING:
4494
* The kind() and is_executable() APIs on the WorkingTree interface no
4495
longer implicitly (read) locks and unlocks the tree. This *might*
4496
impact some plug-ins and tools using this part of the API. If you find
4497
an issue that may be caused by this change, please let us know,
4498
particularly the plug-in/tool maintainer. If encountered, the API
4499
fix is to surround kind() and is_executable() calls with lock_read()
4500
and unlock() like so::
4502
work_tree.lock_read()
4504
kind = work_tree.kind(...)
4509
* Rework of LogFormatter API to provide beginning/end of log hooks and to
4510
encapsulate the details of the revision to be logged in a LogRevision
4512
In long log formats, merge revision ids are only shown when --show-ids
4513
is specified, and are labelled "revision-id:", as per mainline
4514
revisions, instead of "merged:". (Kent Gibson)
4516
* New ``BranchBuilder`` API which allows the construction of particular
4517
histories quickly. Useful for testing and potentially other applications
4518
too. (Robert Collins)
4522
* There are two new help topics, working-trees and repositories that
4523
attempt to explain these concepts. (James Westby, John Arbash Meinel,
4526
* Added ``bzr log --limit`` to report a limited number of revisions.
4527
(Kent Gibson, #3659)
4529
* Revert does not try to preserve file contents that were originally
4530
produced by reverting to a historical revision. (Aaron Bentley)
4532
* ``bzr log --short`` now includes ``[merge]`` for revisions which
4533
have more than one parent. This is a small improvement to help
4534
understanding what changes have occurred
4535
(John Arbash Meinel, #83887)
4537
* TreeTransform avoids many renames when contructing large trees,
4538
improving speed. 3.25x speedups have been observed for construction of
4539
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
4541
* Commit on large trees is now faster. In my environment, a commit of
4542
a small change to the Mozilla tree (55k files) has dropped from
4543
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
4544
small change is 33% faster. (Ian Clatworthy)
4546
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
4551
* ``bzr push`` should only connect to the remote location one time.
4552
We have been connecting 3 times because we forget to pass around
4553
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
4554
that we can pass in the Transport that we already have.
4555
(John Arbash Meinel, #75721)
4557
* ``DirState.set_state_from_inventory()`` needs to properly order
4558
based on split paths, not just string paths.
4559
(John Arbash Meinel, #115947)
4561
* Let TestUIFactoy encode the password prompt with its own stdout.
4562
(Vincent Ladeuil, #110204)
4564
* pycurl should take use the range header that takes the range hint
4566
(Vincent Ladeuil, #112719)
4568
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
4569
on a missing file. (Aaron Bentley, #118186)
4571
* WorkingTree.remove works correctly with tree references, and when pwd is
4572
not the tree root. (Aaron Bentley)
4574
* Merge no longer fails when a file is renamed in one tree and deleted
4575
in the other. (Aaron Bentley, #110279)
4577
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
4578
and defaults to the last revision (Matthew Fuller, #90048)
4580
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
4581
(Daniel Watkins, #111958)
4583
* ``bzr branch -r revid:foo`` can be used to branch any revision in
4584
your repository. (Previously Branch6 only supported revisions in your
4585
mainline). (John Arbash Meinel, #115343)
4588
--------------------
4592
* Handle when you have 2 directories with similar names, but one has a
4593
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
4594
iterator was using direct comparison and ``'abc/a'`` sorts after
4595
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
4596
(John Arbash Meinel, #111227)
4598
* Handle when someone renames a file on disk without telling bzr.
4599
Previously we would report the first file as missing, but not show
4600
the new unknown file. (John Arbash Meinel, #111288)
4602
* Avoid error when running hooks after pulling into or pushing from
4603
a branch bound to a smartserver branch. (Martin Pool, #111968)
4607
* Move developer documentation to doc/developers/. This reduces clutter in
4608
the root of the source tree and allows HACKING to be split into multiple
4609
files. (Robert Collins, Alexander Belchenko)
4611
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
4612
``DirState.update_entry()``. This optimizes the core logic for ``bzr
4613
diff`` and ``bzr status`` significantly improving the speed of
4614
both. (John Arbash Meinel)
4616
bzr 0.16rc2 2007-04-30
4617
-----------------------
4621
* Handle the case when you delete a file, and then rename another file
4622
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
4623
status`` should show the removed file and an unknown file in its
4624
place. (John Arbash Meinel, #109993)
4626
* Bundles properly read and write revision properties that have an
4627
empty value. And when the value is not ASCII.
4628
(John Arbash Meinel, #109613)
4630
* Fix the bzr commit message to be in text mode.
4631
(Alexander Belchenko, #110901)
4633
* Also handle when you rename a file and create a file where it used
4634
to be. (John Arbash Meinel, #110256)
4636
* ``WorkingTree4._iter_changes`` should not descend into unversioned
4637
directories. (John Arbash Meinel, #110399)
4639
bzr 0.16rc1 2007-04-26
4640
-----------------------
4642
NOTES WHEN UPGRADING:
4644
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
4645
it could be recovered again.
4646
This has been done for consistency with svn and the unix rm command.
4647
The old ``remove`` behaviour has been retained in the new option
4648
``bzr remove --keep``, which will just stop versioning the file,
4650
``bzr remove --force`` have been added which will always delete the
4652
``bzr remove`` is also more verbose.
4653
(Marius Kruger, #82602)
4657
* Merge directives can now be supplied as input to `merge` and `pull`,
4658
like bundles can. (Aaron Bentley)
4660
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
4661
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
4662
to continue. This can be disabled by setting the environment variable
4663
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
4665
* selftest now supports --list-only to list tests instead of running
4666
them. (Ian Clatworthy)
4668
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
4669
tests with names that match that regular expression.
4670
(Ian Clatworthy, #102679)
4672
* selftest now supports --randomize SEED to run tests in a random order.
4673
SEED is typically the value 'now' meaning 'use the current time'.
4674
(Ian Clatworthy, #102686)
4676
* New option ``--fixes`` to commit, which stores bug fixing annotations as
4677
revision properties. Built-in support for Launchpad, Debian, Trac and
4678
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
4680
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
4681
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
4684
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
4687
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
4688
into using local variables instead of going through ``self._var``.
4689
Improves the time to ``merge_sort`` a 10k revision graph by
4690
approximately 40% (~700->400ms). (John Arbash Meinel)
4692
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
4695
* ``bzr help`` now provides cross references to other help topics using
4696
the _see_also facility on command classes. Likewise the bzr_man
4697
documentation, and the bzr.1 man page also include this information.
4700
* Tags are now included in logs, that use the long log formatter.
4701
(Erik Bågfors, Alexander Belchenko)
4703
* ``bzr help`` provides a clearer message when a help topic cannot be
4704
found. (Robert Collins, #107656)
4706
* ``bzr help`` now accepts optional prefixes for command help. The help
4707
for all commands can now be found at ``bzr help commands/COMMANDNAME``
4708
as well as ``bzr help COMMANDNAME`` (which only works for commands
4709
where the name is not the same as a more general help topic).
4712
* ``bzr help PLUGINNAME`` will now return the module docstring from the
4713
plugin PLUGINNAME. (Robert Collins, #50408)
4715
* New help topic ``urlspec`` which lists the availables transports.
4716
(Goffredo Baroncelli)
4718
* doc/server.txt updated to document the default bzr:// port
4719
and also update the blurb about the hpss' current status.
4720
(Robert Collins, #107125).
4722
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
4723
serve out to the local LAN (and anyone in the world that can reach the
4724
machine running ``bzr serve``. (Robert Collins, #98918)
4726
* A new smart server protocol version has been added. It prefixes requests
4727
and responses with an explicit version identifier so that future protocol
4728
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
4730
* The bzr protocol version 2 indicates success or failure in every response
4731
without depending on particular commands encoding that consistently,
4732
allowing future client refactorings to be much more robust about error
4733
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
4735
* The smart protocol over HTTP client has been changed to always post to the
4736
same ``.bzr/smart`` URL under the original location when it can. This allows
4737
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
4738
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
4740
* digest authentication is now supported for proxies and HTTP by the urllib
4741
based http implementation. Tested against Apache 2.0.55 and Squid
4742
2.6.5. Basic and digest authentication are handled coherently for HTTP
4743
and proxy: if the user is provided in the url (bzr command line for HTTP,
4744
proxy environment variables for proxies), the password is prompted for
4745
(only once). If the password is provided, it is taken into account. Once
4746
the first authentication is successful, all further authentication
4747
roundtrips are avoided by preventively setting the right authentication
4753
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
4754
code paths. (Robert Collins)
4756
* Change the format of chroot urls so that they can be safely manipulated
4757
by generic url utilities without causing the resulting urls to have
4758
escaped the chroot. A side effect of this is that creating a chroot
4759
requires an explicit action using a ChrootServer.
4760
(Robert Collins, Andrew Bennetts)
4762
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
4763
rather than fixing bug #96847. (Aaron Bentley)
4765
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
4766
``WorkingTree._write_inventory``. (Aaron Bentley)
4768
* Convenience method ``TestCase.expectFailure`` ensures that known failures
4769
do not silently pass. (Aaron Bentley)
4771
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
4772
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
4774
* New SmartServer hooks facility. There are two initial hooks documented
4775
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
4776
plugins to execute code upon server startup and shutdown.
4779
* SmartServer in standalone mode will now close its listening socket
4780
when it stops, rather than waiting for garbage collection. This primarily
4781
fixes test suite hangs when a test tries to connect to a shutdown server.
4782
It may also help improve behaviour when dealing with a server running
4783
on a specific port (rather than dynamically assigned ports).
4786
* Move most SmartServer code into a new package, bzrlib/smart.
4787
bzrlib/transport/remote.py contains just the Transport classes that used
4788
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
4790
* urllib http implementation avoid roundtrips associated with
4791
401 (and 407) errors once the authentication succeeds.
4794
* urlib http now supports querying the user for a proxy password if
4795
needed. Realm is shown in the prompt for both HTTP and proxy
4796
authentication when the user is required to type a password.
4799
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
4800
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
4801
consistent with its new home in ``bzrlib/transport/remote.py``, and because
4802
it's not really a "smart" transport, just one that does file operations
4803
via remote procedure calls. (Andrew Bennetts)
4805
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
4806
``Branch`` now accept a ``token`` keyword argument, so that separate
4807
instances of those objects can share a lock if it has the right token.
4808
(Andrew Bennetts, Robert Collins)
4810
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
4811
branch references - which the smart server component needs.
4813
* The Repository API ``make_working_trees`` is now permitted to return
4814
False when ``set_make_working_trees`` is not implemented - previously
4815
an unimplemented ``set_make_working_trees`` implied the result True
4816
from ``make_working_trees``. This has been changed to accomodate the
4817
smart server, where it does not make sense (at this point) to ever
4818
make working trees by default. (Robert Collins)
4820
* Command objects can now declare related help topics by having _see_also
4821
set to a list of related topic. (Robert Collins)
4823
* ``bzrlib.help`` now delegates to the Command class for Command specific
4824
help. (Robert Collins)
4826
* New class ``TransportListRegistry``, derived from the Registry class, which
4827
simplifies tracking the available Transports. (Goffredo Baroncelli)
4829
* New function ``Branch.get_revision_id_to_revno_map`` which will
4830
return a dictionary mapping revision ids to dotted revnos. Since
4831
dotted revnos are defined in the context of the branch tip, it makes
4832
sense to generate them from a ``Branch`` object.
4833
(John Arbash Meinel)
4835
* Fix the 'Unprintable error' message display to use the repr of the
4836
exception that prevented printing the error because the str value
4837
for it is often not useful in debugging (e.g. KeyError('foo') has a
4838
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
4839
useful. (Robert Collins)
4841
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
4846
* Don't fail bundle selftest if email has 'two' embedded.
4847
(Ian Clatworthy, #98510)
4849
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
4850
(Robert Widhopf-Fenk, #98591)
4852
* Remove ``--basis`` from the checkout/branch commands - it didn't work
4853
properly and is no longer beneficial.
4854
(Robert Collins, #53675, #43486)
4856
* Don't produce encoding error when adding duplicate files.
4859
* Fix ``bzr log <file>`` so it only logs the revisions that changed
4860
the file, and does it faster.
4861
(Kent Gibson, John Arbash Meinel, #51980, #69477)
4863
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
4864
an empty versioned directory, which now has files in it.
4865
(John Arbash Meinel, #104257)
4867
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
4868
inside the ancestry of the other. Saves a lot of graph processing
4869
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
4870
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
4872
* Fix ``show_diff_trees`` to handle the case when a file is modified,
4873
and the containing directory is renamed. (The file path is different
4874
in this versus base, but it isn't marked as a rename).
4875
(John Arbash Meinel, #103870)
4877
* FTP now works even when the FTP server does not support atomic rename.
4878
(Aaron Bentley, #89436)
4880
* Correct handling in bundles and merge directives of timezones with
4881
that are not an integer number of hours offset from UTC. Always
4882
represent the epoch time in UTC to avoid problems with formatting
4883
earlier times on win32. (Martin Pool, Alexander Belchenko, John
4886
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
4888
* "dirstate" and "dirstate-tags" formats now produce branches compatible
4889
with old versions of bzr. (Aaron Bentley, #107168))
4891
* Handle moving a directory when children have been added, removed,
4892
and renamed. (John Arbash Meinel, #105479)
4894
* Don't preventively use basic authentication for proxy before receiving a
4895
407 error. Otherwise people willing to use other authentication schemes
4896
may expose their password in the clear (or nearly). This add one
4897
roundtrip in case basic authentication should be used, but plug the
4901
* Handle http and proxy digest authentication.
4902
(Vincent Ladeuil, #94034).
4906
* Added ``bzrlib.strace.strace`` which will strace a single callable and
4907
return a StraceResult object which contains just the syscalls involved
4908
in running it. (Robert Collins)
4910
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
4911
default time down to one suitable for tests. (Andrew Bennetts)
4913
* Add new ``vfs_transport_factory`` attribute on tests which provides the
4914
common vfs backing for both the readonly and readwrite transports.
4915
This allows the RemoteObject tests to back onto local disk or memory,
4916
and use the existing ``transport_server`` attribute all tests know about
4917
to be the smart server transport. This in turn allows tests to
4918
differentiate between 'transport to access the branch', and
4919
'transport which is a VFS' - which matters in Remote* tests.
4920
(Robert Collins, Andrew Bennetts)
4922
* The ``make_branch_and_tree`` method for tests will now create a
4923
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
4924
a LocalURLServer. (Robert Collins, Andrew Bennetts)
4926
* Branch implementation tests have been audited to ensure that all urls
4927
passed to Branch APIs use proper urls, except when local-disk paths
4928
are intended. This is so that tests correctly access the test transport
4929
which is often not equivalent to local disk in Remote* tests. As part
4930
of this many tests were adjusted to remove dependencies on local disk
4932
(Robert Collins, Andrew Bennetts)
4934
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
4935
functions by adding a ``__unittest`` global attribute. (Robert Collins,
4936
Andrew Bennetts, Martin Pool, Jonathan Lange)
4938
* Refactored proxy and authentication handling to simplify the
4939
implementation of new auth schemes for both http and proxy.
4947
* Handle incompatible repositories as a user issue when fetching.
4950
* Don't give a recommendation to upgrade when branching or
4951
checking out a branch that contains an old-format working tree.
4954
bzr 0.15rc3 2007-03-26
4955
-----------------------
4959
* A warning is now displayed when opening working trees in older
4960
formats, to encourage people to upgrade to WorkingTreeFormat4.
4965
* HTTP redirections are now taken into account when a branch (or a
4966
bundle) is accessed for the first time. A message is issued at each
4967
redirection to inform the user. In the past, http redirections were
4968
silently followed for each request which significantly degraded the
4969
performances. The http redirections are not followed anymore by
4970
default, instead a RedirectRequested exception is raised. For bzrlib
4971
users needing to follow http redirections anyway,
4972
``bzrlib.transport.do_catching_redirections`` provide an easy transition
4977
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
4978
lock to an OS write lock. Linux can do this without unlocking, Win32
4979
needs to unlock in between. (John Arbash Meinel)
4981
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
4982
to silence (when false) warnings about opening old formats.
4985
* Fix minor performance regression with bzr-0.15 on pre-dirstate
4986
trees. (We were reading the working inventory too many times).
4987
(John Arbash Meinel)
4989
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
4990
``revision_history``. Branch subclasses should override
4991
``_gen_revision_history`` rather than ``revision_history`` to make use of
4992
this cache, and call ``_clear_revision_history_cache`` and
4993
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
4997
* Take ``smtp_server`` from user config into account.
5000
* Restore Unicode filename handling for versioned and unversioned files.
5001
(John Arbash Meinel, #92608)
5003
* Don't fail during ``bzr commit`` if a file is marked removed, and
5004
the containing directory is auto-removed. (John Arbash Meinel, #93681)
5006
* ``bzr status FILENAME`` failed on Windows because of an uncommon
5007
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
5008
(Wouter van Heyst, John Arbash Meinel, #90819)
5010
* ``bzr checkout source`` should create a local branch in the same
5011
format as source. (John Arbash Meinel, #93854)
5013
* ``bzr commit`` with a kind change was failing to update the
5014
last-changed-revision for directories. The
5015
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
5016
ignoring the fact that the kind could have changed, too.
5017
(John Arbash Meinel, #90111)
5019
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
5020
the directory. So that there was a chance it would break commit,
5021
etc. (John Arbash Meinel, #94037)
5023
* Correctly handles mutiple permanent http redirections.
5026
bzr 0.15rc2 2007-03-14
5027
-----------------------
5029
NOTES WHEN UPGRADING:
5031
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
5032
default to ``--trees`` instead of ``--no-trees``.
5033
Existing shared repositories are not affected.
5037
* New ``merge-directive`` command to generate machine- and human-readable
5038
merge requests. (Aaron Bentley)
5040
* New ``submit:`` revision specifier makes it easy to diff against the
5041
common ancestor with the submit location (Aaron Bentley)
5043
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
5045
* Added ``bzr status --versioned`` to report only versioned files,
5046
not unknowns. (Kent Gibson)
5048
* Merge now autodetects the correct line-ending style for its conflict
5049
markers. (Aaron Bentley)
5053
* Refactored SSH vendor registration into SSHVendorManager class.
5058
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
5059
numbered dirs for TestCaseInTempDir. This is default behavior
5060
on Windows. Anyone can force named dirs on Windows
5061
with ``--no-numbered-dirs``. (Alexander Belchenko)
5063
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
5064
from the command line. (Marien Zwart, #90501)
5066
* Fix ``TreeTransform._iter_changes`` when both the source and
5067
destination are missing. (Aaron Bentley, #88842)
5069
* Fix commit of merges with symlinks in dirstate trees.
5072
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
5073
(Wouter van Heyst, #53483)
5076
bzr 0.15rc1 2007-03-07
5077
-----------------------
5081
* The default disk format has changed. Please run 'bzr upgrade' in your
5082
working trees to upgrade. This new default is compatible for network
5083
operations, but not for local operations. That is, if you have two
5084
versions of bzr installed locally, after upgrading you can only use the
5085
bzr 0.15 version. This new default does not enable tags or nested-trees
5086
as they are incompatible with bzr versions before 0.15 over the network.
5088
* For users of bzrlib: Two major changes have been made to the working tree
5089
api in bzrlib. The first is that many methods and attributes, including
5090
the inventory attribute, are no longer valid for use until one of
5091
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
5092
and become invalid again after unlock is called. This has been done
5093
to improve performance and correctness as part of the dirstate
5095
(Robert Collins, John A Meinel, Martin Pool, and others).
5097
* For users of bzrlib: The attribute 'tree.inventory' should be considered
5098
readonly. Previously it was possible to directly alter this attribute, or
5099
its contents, and have the tree notice this. This has been made
5100
unsupported - it may work in some tree formats, but in the newer dirstate
5101
format such actions will have no effect and will be ignored, or even
5102
cause assertions. All operations possible can still be carried out by a
5103
combination of the tree API, and the bzrlib.transform API. (Robert
5104
Collins, John A Meinel, Martin Pool, and others).
5108
* Support for OS Windows 98. Also .bzr.log on any windows system
5109
saved in My Documents folder. (Alexander Belchenko)
5111
* ``bzr mv`` enhanced to support already moved files.
5112
In the past the mv command would have failed if the source file doesn't
5113
exist. In this situation ``bzr mv`` would now detect that the file has
5114
already moved and update the repository accordingly, if the target file
5116
A new option ``--after`` has been added so that if two files already
5117
exist, you could notify Bazaar that you have moved a (versioned) file
5118
and replaced it with another. Thus in this case ``bzr move --after``
5119
will only update the Bazaar identifier.
5120
(Steffen Eichenberg, Marius Kruger)
5122
* ``ls`` now works on treeless branches and remote branches.
5125
* ``bzr help global-options`` describes the global options.
5128
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
5131
* Files are now allowed to change kind (e.g. from file to symlink).
5132
Supported by ``commit``, ``revert`` and ``status``
5135
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
5138
* ``bzr help checkouts`` descibes what checkouts are and some possible
5139
uses of them. (James Westby, Aaron Bentley)
5141
* A new ``-d`` option to push, pull and merge overrides the default
5142
directory. (Martin Pool)
5144
* Branch format 6: smaller, and potentially faster than format 5. Supports
5145
``append_history_only`` mode, where the log view and revnos do not change,
5146
except by being added to. Stores policy settings in
5147
".bzr/branch/branch.conf".
5149
* ``append_only`` branches: Format 6 branches may be configured so that log
5150
view and revnos are always consistent. Either create the branch using
5151
"bzr init --append-revisions-only" or edit the config file as descriped
5152
in docs/configuration.txt.
5154
* rebind: Format 6 branches retain the last-used bind location, so if you
5155
"bzr unbind", you can "bzr bind" to bind to the previously-selected
5158
* Builtin tags support, created and deleted by the ``tag`` command and
5159
stored in the branch. Tags can be accessed with the revisionspec
5160
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
5161
at present. Tags require a network incompatible upgrade. To perform this
5162
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
5163
repositories. (Martin Pool)
5165
* The ``bzr://`` transport now has a well-known port number, 4155,
5166
which it will use by default. (Andrew Bennetts, Martin Pool)
5168
* Bazaar now looks for user-installed plugins before looking for site-wide
5169
plugins. (Jonathan Lange)
5171
* ``bzr resolve`` now detects and marks resolved text conflicts.
5176
* Internally revision ids and file ids are now passed around as utf-8
5177
bytestrings, rather than treating them as Unicode strings. This has
5178
performance benefits for Knits, since we no longer need to decode the
5179
revision id for each line of content, nor for each entry in the index.
5180
This will also help with the future dirstate format.
5181
(John Arbash Meinel)
5183
* Reserved ids (any revision-id ending in a colon) are rejected by
5184
versionedfiles, repositories, branches, and working trees
5187
* Minor performance improvement by not creating a ProgressBar for
5188
every KnitIndex we create. (about 90ms for a bzr.dev tree)
5189
(John Arbash Meinel)
5191
* New easier to use Branch hooks facility. There are five initial hooks,
5192
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
5193
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
5194
``'post_uncommit'``. These hooks fire after the matching operation
5195
on a branch has taken place, and were originally added for the
5196
branchrss plugin. (Robert Collins)
5198
* New method ``Branch.push()`` which should be used when pushing from a
5199
branch as it makes performance and policy decisions to match the UI
5200
level command ``push``. (Robert Collins).
5202
* Add a new method ``Tree.revision_tree`` which allows access to cached
5203
trees for arbitrary revisions. This allows the in development dirstate
5204
tree format to provide access to the callers to cached copies of
5205
inventory data which are cheaper to access than inventories from the
5207
(Robert Collins, Martin Pool)
5209
* New ``Branch.last_revision_info`` method, this is being done to allow
5210
optimization of requests for both the number of revisions and the last
5211
revision of a branch with smartservers and potentially future branch
5212
formats. (Wouter van Heyst, Robert Collins)
5214
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
5215
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
5216
other for code reuse without requiring users to perform file-renaming
5217
gymnastics. (Robert Collins)
5219
* New Repository method ``'gather_stats'`` for statistic data collection.
5220
This is expected to grow to cover a number of related uses mainly
5221
related to bzr info. (Robert Collins)
5223
* Log formatters are now managed with a registry.
5224
``log.register_formatter`` continues to work, but callers accessing
5225
the FORMATTERS dictionary directly will not.
5227
* Allow a start message to be passed to the ``edit_commit_message``
5228
function. This will be placed in the message offered to the user
5229
for editing above the separator. It allows a template commit message
5230
to be used more easily. (James Westby)
5232
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
5233
you pass a Unicode string rather than an 8-bit string. Callers need
5234
to be updated to encode first. (John Arbash Meinel)
5236
* Branch.push, pull, merge now return Result objects with information
5237
about what happened, rather than a scattering of various methods. These
5238
are also passed to the post hooks. (Martin Pool)
5240
* File formats and architecture is in place for managing a forest of trees
5241
in bzr, and splitting up existing trees into smaller subtrees, and
5242
finally joining trees to make a larger tree. This is the first iteration
5243
of this support, and the user-facing aspects still require substantial
5244
work. If you wish to experiment with it, use ``bzr upgrade
5245
--dirstate-with-subtree`` in your working trees and repositories.
5246
You can use the hidden commands ``split`` and ``join`` and to create
5247
and manipulate nested trees, but please consider using the nested-trees
5248
branch, which contains substantial UI improvements, instead.
5249
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
5250
(Aaron Bentley, Martin Pool, Robert Collins).
5254
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
5255
branch, rather than the last changed revision of the file.
5256
(John Arbash Meinel, #82158)
5258
* Lock operations no longer hang if they encounter a permission problem.
5261
* ``bzr push`` can resume a push that was canceled before it finished.
5262
Also, it can push even if the target directory exists if you supply
5263
the ``--use-existing-dir`` flag.
5264
(John Arbash Meinel, #30576, #45504)
5266
* Fix http proxy authentication when user and an optional
5267
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
5270
* ``bzr log branch/file`` works for local treeless branches
5271
(Aaron Bentley, #84247)
5273
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
5275
* Searching location of CA bundle for PyCurl in env variable
5276
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
5277
(Alexander Belchenko, #82086)
5279
* ``bzr init`` works with unicode argument LOCATION.
5280
(Alexander Belchenko, #85599)
5282
* Raise ``DependencyNotPresent`` if pycurl do not support https.
5283
(Vincent Ladeuil, #85305)
5285
* Invalid proxy env variables should not cause a traceback.
5286
(Vincent Ladeuil, #87765)
5288
* Ignore patterns normalised to use '/' path separator.
5289
(Kent Gibson, #86451)
5291
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
5293
* Fix bzrtools shelve command for removed lines beginning with "--"
5294
(Johan Dahlberg, #75577)
5298
* New ``--first`` option to ``bzr selftest`` to run specified tests
5299
before the rest of the suite. (Martin Pool)
5303
--------------------
5307
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
5311
* Skip documentation generation tests if the tools to do so are not
5312
available. Fixes running selftest for installled copies of bzr.
5313
(John Arbash Meinel, #80330)
5315
* Fix the code that discovers whether bzr is being run from it's
5316
working tree to handle the case when it isn't but the directory
5317
it is in is below a repository. (James Westby, #77306)
5320
bzr 0.14rc1 2007-01-16
5321
-----------------------
5325
* New connection: ``bzr+http://`` which supports tunnelling the smart
5326
protocol over an HTTP connection. If writing is enabled on the bzr
5327
server, then you can write over the http connection.
5328
(Andrew Bennetts, John Arbash Meinel)
5330
* Aliases now support quotation marks, so they can contain whitespace
5333
* PyCurlTransport now use a single curl object. By specifying explicitly
5334
the 'Range' header, we avoid the need to use two different curl objects
5335
(and two connections to the same server). (Vincent Ladeuil)
5337
* ``bzr commit`` does not prompt for a message until it is very likely to
5338
succeed. (Aaron Bentley)
5340
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
5343
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
5344
of a list while checking if a revision id was requested. Takes 10s
5345
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
5346
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
5347
filtering lines with a regex rather than multiple ``str.find()``
5348
calls. (saves another 300ms) (John Arbash Meinel)
5350
* Policy can be set for each configuration key. This allows keys to be
5351
inherited properly across configuration entries. For example, this
5352
should enable you to do::
5354
[/home/user/project]
5355
push_location = sftp://host/srv/project/
5356
push_location:policy = appendpath
5358
And then a branch like ``/home/user/project/mybranch`` should get an
5359
automatic push location of ``sftp://host/srv/project/mybranch``.
5362
* Added ``bzr status --short`` to make status report svn style flags
5363
for each file. For example::
5365
$ bzr status --short
5371
* 'bzr selftest --clean-output' allows easily clean temporary tests
5372
directories without running tests. (Alexander Belchenko)
5374
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
5376
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
5377
local is fully merged into remote. (Jan Hudec)
5379
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
5383
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
5384
help speed up processing, as well allowing to extract unannotated
5385
lines. Between the two ``fileids_affected_by_revision_ids`` is
5386
improved by approx 10%. (John Arbash Meinel)
5388
* Change Revision serialization to only write out millisecond
5389
resolution. Rather than expecting floating point serialization to
5390
preserve more resolution than we need. (Henri Weichers, Martin Pool)
5392
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
5394
* When ``encoding_type`` attribute of class Command is equal to 'exact',
5395
force sys.stdout to be a binary stream on Windows, and therefore
5396
keep exact line-endings (without LF -> CRLF conversion).
5397
(Alexander Belchenko)
5399
* Single-letter short options are no longer globally declared. (Martin
5402
* Before using detected user/terminal encoding bzr should check
5403
that Python has corresponding codec. (Alexander Belchenko)
5405
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
5409
* ``bzr missing --verbose`` was showing adds/removals in the wrong
5410
direction. (John Arbash Meinel)
5412
* ``bzr annotate`` now defaults to showing dotted revnos for merged
5413
revisions. It cuts them off at a depth of 12 characters, but you can
5414
supply ``--long`` to see the full number. You can also use
5415
``--show-ids`` to display the original revision ids, rather than
5416
revision numbers and committer names. (John Arbash Meinel, #75637)
5418
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
5419
(Alexander Belchenko, #57869)
5421
* Win32-specific: output of cat, bundle and diff commands don't mangle
5422
line-endings (Alexander Belchenko, #55276)
5424
* Replace broken fnmatch based ignore pattern matching with custom pattern
5426
(Kent Gibson, Jan Hudec #57637)
5428
* pycurl and urllib can detect short reads at different places. Update
5429
the test suite to test more cases. Also detect http error code 416
5430
which was raised for that specific bug. Also enhance the urllib
5431
robustness by detecting invalid ranges (and pycurl's one by detecting
5432
short reads during the initial GET). (Vincent Ladeuil, #73948)
5434
* The urllib connection sharing interacts badly with urllib2
5435
proxy setting (the connections didn't go thru the proxy
5436
anymore). Defining a proper ProxyHandler solves the
5437
problem. (Vincent Ladeuil, #74759)
5439
* Use urlutils to generate relative URLs, not osutils
5440
(Aaron Bentley, #76229)
5442
* ``bzr status`` in a readonly directory should work without giving
5443
lots of errors. (John Arbash Meinel, #76299)
5445
* Mention the revisionspec topic for the revision option help.
5446
(Wouter van Heyst, #31663)
5448
* Allow plugins import from zip archives.
5449
(Alexander Belchenko, #68124)
5453
--------------------
5455
No changes from 0.13rc1
5457
bzr 0.13rc1 2006-11-27
5458
-----------------------
5462
* New command ``bzr remove-tree`` allows the removal of the working
5464
(Daniel Silverstone)
5466
* urllib uses shared keep-alive connections, so http
5467
operations are substantially faster.
5468
(Vincent Ladeuil, #53654)
5470
* ``bzr export`` allows an optional branch parameter, to export a bzr
5471
tree from some other url. For example:
5472
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
5473
(Daniel Silverstone)
5475
* Added ``bzr help topics`` to the bzr help system. This gives a
5476
location for general information, outside of a specific command.
5477
This includes updates for ``bzr help revisionspec`` the first topic
5478
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
5480
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
5483
* Knit files will now cache full texts only when the size of the
5484
deltas is as large as the size of the fulltext. (Or after 200
5485
deltas, whichever comes first). This has the most benefit on large
5486
files with small changes, such as the inventory for a large project.
5487
(eg For a project with 2500 files, and 7500 revisions, it changes
5488
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
5492
* New -D option given before the command line turns on debugging output
5493
for particular areas. -Derror shows tracebacks on all errors.
5496
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5497
and remove benchmarks that take longer than 10min to run.
5498
(John Arbash Meinel)
5500
* Use ``time.time()`` instead of ``time.clock()`` to decide on
5501
progress throttling. Because ``time.clock()`` is actually CPU time,
5502
so over a high-latency connection, too many updates get throttled.
5503
(John Arbash Meinel)
5505
* ``MemoryTransport.list_dir()`` would strip the first character for
5506
files or directories in root directory. (John Arbash Meinel)
5508
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
5509
branch references - which the smart server component needs.
5511
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
5512
prefix. It disallows any access to locations above a set URL. (Andrew
5517
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
5518
And optimize the knit index parsing code.
5519
(Dmitry Vasiliev, John Arbash Meinel)
5521
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
5522
without importing it. This prevented ``bzr upgrade`` from working
5523
unless a plugin already imported ``bzrlib.workingtree``
5524
(John Arbash Meinel, #70716)
5526
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
5528
* Give nicer error message when an http server returns a 403
5529
error code. (Vincent Ladeuil, #57644).
5531
* When a multi-range http GET request fails, try a single
5532
range one. If it fails too, forget about ranges. Remember that until
5533
the death of the transport and propagates that to the clones.
5534
(Vincent Ladeuil, #62276, #62029).
5536
* Handles user/passwords supplied in url from command
5537
line (for the urllib implementation). Don't request already
5538
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
5540
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
5541
are added. This fixes bug where fetching remote revisions records
5542
them as full references rather than integers.
5543
(John Arbash Meinel, #64789)
5545
* ``bzr ignore`` strips trailing slashes in patterns.
5546
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
5548
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
5550
* mv correctly handles paths that traverse symlinks.
5551
(Aaron Bentley, #66964)
5553
* Give nicer looking error messages when failing to connect over ssh.
5554
(John Arbash Meinel, #49172)
5556
* Pushing to a remote branch does not currently update the remote working
5557
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
5558
machine now show that the working tree is out of date.
5559
(Cheuksan Edward Wang #48136)
5561
* Use patiencediff instead of difflib for determining deltas to insert
5562
into knits. This avoids the O(N^3) behavior of difflib. Patience
5563
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
5565
* Running ``bzr log`` on nonexistent file gives an error instead of the
5566
entire log history. (Cheuksan Edward Wang #50793)
5568
* ``bzr cat`` can look up contents of removed or renamed files. If the
5569
pathname is ambiguous, i.e. the files in the old and new trees have
5570
different id's, the default is the file in the new tree. The user can
5571
use "--name-from-revision" to select the file in the old tree.
5572
(Cheuksan Edward Wang, #30190)
5576
* TestingHTTPRequestHandler really handles the Range header
5577
(previously it was ignoring it and returning the whole file,).
5580
--------------------
5584
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5585
and remove benchmarks that take longer than 10min to run.
5586
(John Arbash Meinel)
5588
bzr 0.12rc1 2006-10-23
5589
-----------------------
5593
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
5594
rather than just showing a decimal revision number for revisions on the
5595
mainline. These revision numbers are not yet accepted as input into bzr
5596
commands such as log, diff etc. (Robert Collins)
5598
* revisions can now be specified using dotted-decimal revision numbers.
5599
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
5601
* ``bzr help commands`` output is now shorter (Aaron Bentley)
5603
* ``bzr`` now uses lazy importing to reduce the startup time. This has
5604
a moderate effect on lots of actions, especially ones that have
5605
little to do. For example ``bzr rocks`` time is down to 116ms from
5606
283ms. (John Arbash Meinel)
5608
* New Registry class to provide name-to-object registry-like support,
5609
for example for schemes where plugins can register new classes to
5610
do certain tasks (e.g. log formatters). Also provides lazy registration
5611
to allow modules to be loaded on request.
5612
(John Arbash Meinel, Adeodato Simó)
5614
API INCOMPATABILITY:
5616
* LogFormatter subclasses show now expect the 'revno' parameter to
5617
show() to be a string rather than an int. (Robert Collins)
5621
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
5622
can take a ``working_dir='foo'`` parameter, which will change directory
5623
for the command. (John Arbash Meinel)
5625
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
5626
around a regex, which defers compilation until first use.
5627
(John Arbash Meinel)
5629
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
5630
``--no-plugins`` parameter to ensure test reproducability, and avoid
5631
problems with system-wide installed plugins. (John Arbash Meinel)
5633
* Unique tree root ids are now supported. Newly created trees still
5634
use the common root id for compatibility with bzr versions before 0.12.
5637
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
5638
pass in ``inventory.ROOT_ID`` if you want the default root id value.
5639
(Robert Collins, John Arbash Meinel)
5641
* New method ``WorkingTree.flush()`` which will write the current memory
5642
inventory out to disk. At the same time, ``read_working_inventory`` will
5643
no longer trash the current tree inventory if it has been modified within
5644
the current lock, and the tree will now ``flush()`` automatically on
5645
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
5646
advantage of this functionality. (Robert Collins, John Arbash Meinel)
5648
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
5649
parameter will cause it to add another column to its output, which
5650
contains the dotted-decimal revno for each revision, as a tuple.
5653
* ``LogFormatter.show_merge`` is deprecated in favour of
5654
``LogFormatter.show_merge_revno``. (Robert Collins)
5658
* Avoid circular imports by creating a deprecated function for
5659
``bzrlib.tree.RevisionTree``. Callers should have been using
5660
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
5663
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
5664
platforms. (Martin Pool, #66356)
5666
* Don't require ``Content-Type`` in range responses. Assume they are a
5667
single range if ``Content-Type`` does not exist.
5668
(John Arbash Meinel, #62473)
5670
* bzr branch/pull no longer complain about progress bar cleanup when
5671
interrupted during fetch. (Aaron Bentley, #54000)
5673
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
5674
the basis inventory, rather than going through the repository. This
5675
allows us to have 1 inventory read, and 2 inventory writes when
5676
committing a new tree. (John Arbash Meinel)
5678
* When reverting, files that are not locally modified that do not exist
5679
in the target are deleted, not just unversioned (Aaron Bentley)
5681
* When trying to acquire a lock, don't fail immediately. Instead, try
5682
a few times (up to 1 hour) before timing out. Also, report why the
5683
lock is unavailable (John Arbash Meinel, #43521, #49556)
5685
* Leave HttpTransportBase daughter classes decides how they
5686
implement cloning. (Vincent Ladeuil, #61606)
5688
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
5690
* If a commit fails, the commit message is stored in a file at the root of
5691
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
5696
* New test base class TestCaseWithMemoryTransport offers memory-only
5697
testing facilities: its not suitable for tests that need to mutate disk
5698
state, but most tests should not need that and should be converted to
5699
TestCaseWithMemoryTransport. (Robert Collins)
5701
* ``TestCase.make_branch_and_memory_tree`` now takes a format
5702
option to set the BzrDir, Repository and Branch formats of the
5703
created objects. (Robert Collins, John Arbash Meinel)
5706
--------------------
5708
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
5710
bzr 0.11rc2 2006-09-27
5711
-----------------------
5715
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
5717
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
5720
bzr 0.11rc1 2006-09-25
5721
-----------------------
5725
* Knit files now wait to create their contents until the first data is
5726
added. The old code used to create an empty .knit and a .kndx with just
5727
the header. However, this caused a lot of extra round trips over sftp.
5728
This can change the time for ``bzr push`` to create a new remote branch
5729
from 160s down to 100s. This also affects ``bzr commit`` performance when
5730
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
5731
down to 40s (John Arbash Meinel, #44692)
5733
* When an entire subtree has been deleted, commit will now report that
5734
just the top of the subtree has been deleted, rather than reporting
5735
all the individual items. (Robert Collins)
5737
* Commit performs one less XML parse. (Robert Collins)
5739
* ``bzr checkout`` now operates on readonly branches as well
5740
as readwrite branches. This fixes bug #39542. (Robert Collins)
5742
* ``bzr bind`` no longer synchronises history with the master branch.
5743
Binding should be followed by an update or push to synchronise the
5744
two branches. This is closely related to the fix for bug #39542.
5747
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
5748
objects. This allows all imports to stay at the global scope, but
5749
modules will not actually be imported if they are not used.
5750
(John Arbash Meinel)
5752
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
5753
transport which will be used with the upcoming high-performance smart
5754
server. The new command ``bzr serve`` will invoke bzr in server mode,
5755
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
5758
* New command ``bzr version-info`` which can be used to get a summary
5759
of the current state of the tree. This is especially useful as part
5760
of a build commands. See ``doc/version_info.txt`` for more information
5761
(John Arbash Meinel)
5765
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
5766
specific set of files. (John Arbash Meinel, #3631)
5768
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
5770
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
5771
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
5772
reading a nested Stanza. (John Arbash Meinel)
5774
* Transform._set_mode() needs to stat the right file.
5775
(John Arbash Meinel, #56549)
5777
* Raise WeaveFormatError rather than StopIteration when trying to read
5778
an empty Weave file. (John Arbash Meinel, #46871)
5780
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
5781
(Vincent Ladeuil, #59835)
5783
* Handle boundary="" lines properly to allow access through a Squid proxy.
5784
(John Arbash Meinel, #57723)
5786
* revert now removes newly-added directories (Aaron Bentley, #54172)
5788
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
5789
isn't a working tree. (David Allouche, #40679)
5791
* Give nicer error messages when a user supplies an invalid --revision
5792
parameter. (John Arbash Meinel, #55420)
5794
* Handle when LANG is not recognized by python. Emit a warning, but
5795
just revert to using 'ascii'. (John Arbash Meinel, #35392)
5797
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
5798
(John Arbash Meinel)
5800
* Skip specific tests when the dependencies aren't met. This includes
5801
some ``setup.py`` tests when ``python-dev`` is not available, and
5802
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
5804
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
5805
the system. (Andrew Bennetts, John Arbash Meinel)
5807
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
5808
other branch, and will not push or pull between the two branches.
5809
API users will need to perform a push or pull or update operation if they
5810
require branch synchronisation to take place. (Robert Collins, #47344)
5812
* When creating a tarball or zipfile export, export unicode names as utf-8
5813
paths. This may not work perfectly on all platforms, but has the best
5814
chance of working in the common case. (John Arbash Meinel, #56816)
5816
* When committing, only files that exist in working tree or basis tree
5817
may be specified (Aaron Bentley, #50793)
5821
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
5825
* TestCaseInTempDir now creates a separate directory for HOME, rather
5826
than having HOME set to the same location as the working directory.
5827
(John Arbash Meinel)
5829
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
5830
which will update os.environ inside the spawned child. It also can
5831
take a ``universal_newlines=True``, which helps when checking the output
5832
of the command. (John Arbash Meinel)
5834
* Refactor SFTP vendors to allow easier re-use when ssh is used.
5837
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
5838
return urlescaped paths. This is now tested (there were bugs in a few
5839
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
5841
* New utility function ``symbol_versioning.deprecation_string``. Returns the
5842
formatted string for a callable, deprecation format pair. (Robert Collins)
5844
* New TestCase helper applyDeprecated. This allows you to call a callable
5845
which is deprecated without it spewing to the screen, just by supplying
5846
the deprecation format string issued for it. (Robert Collins)
5848
* Transport.append and Transport.put have been deprecated in favor of
5849
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
5850
``.put_file``. This removes the ambiguity in what type of object the
5851
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
5852
been added. Which works similarly to ``Transport.append()`` except for
5853
SFTP, it doesn't have a round trip when opening the file. Also, it
5854
provides functionality for creating a parent directory when trying
5855
to create a file, rather than raise NoSuchFile and forcing the
5856
caller to repeat their request.
5857
(John Arbash Meinel)
5859
* WorkingTree has a new api ``unversion`` which allow the unversioning of
5860
entries by their file id. (Robert Collins)
5862
* ``WorkingTree.pending_merges`` is deprecated. Please use the
5863
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
5865
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
5866
read rather than write. This is appropriate for actions which only need
5867
the branch data for reference rather than mutation. A new decorator
5868
``needs_tree_write_lock`` is provided in the workingtree module. Like the
5869
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
5870
declaration of the locking requirements of a function to ensure that
5871
a lock is taken out for casual scripts. (Robert Collins, #54107)
5873
* All WorkingTree methods which write to the tree, but not to the branch
5874
have been converted to use ``needs_tree_write_lock`` rather than
5875
``needs_write_lock``. Also converted is the revert, conflicts and tree
5876
transform modules. This provides a modest performance improvement on
5877
metadir style trees, due to the reduce lock-acquisition, and a more
5878
significant performance improvement on lightweight checkouts from
5879
remote branches, where trivial operations used to pay a significant
5880
penalty. It also provides the basis for allowing readonly checkouts.
5883
* Special case importing the standard library 'copy' module. This shaves
5884
off 40ms of startup time, while retaining compatibility. See:
5885
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
5887
* WorkingTree has a new parent class MutableTree which represents the
5888
specialisations of Tree which are able to be altered. (Robert Collins)
5890
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
5891
mutate the tree and its contents. (Robert Collins)
5893
* Transport behaviour at the root of the URL is now defined and tested.
5894
(Andrew Bennetts, Robert Collins)
5898
* New test helper classs MemoryTree. This is typically accessed via
5899
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
5901
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
5902
code to continue running concurrently with a subprocess of bzr.
5903
(Andrew Bennetts, Robert Collins)
5905
* Add a new method ``Transport.get_smart_client()``. This is provided to
5906
allow upgrades to a richer interface than the VFS one provided by
5907
Transport. (Andrew Bennetts, Martin Pool)
5910
--------------------
5913
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
5914
tree. (Aaron Bentley)
5916
* 'bzr add --file-ids-from' can be used to specify another path to use
5917
for creating file ids, rather than generating all new ones. Internally,
5918
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
5919
will be used, rather than having bzrlib generate new ones.
5920
(John Arbash Meinel, #55781)
5922
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
5923
This will cache some of the intermediate trees, and decrease the
5924
setup time for benchmark tests. (John Arbash Meinel)
5926
* Inverse forms are provided for all boolean options. For example,
5927
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
5929
* Serialize out Inventories directly, rather than using ElementTree.
5930
Writing out a kernel sized inventory drops from 2s down to ~350ms.
5931
(Robert Collins, John Arbash Meinel)
5935
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
5937
* Change LockDir so that if the lock directory doesn't exist when
5938
``lock_write()`` is called, an attempt will be made to create it.
5939
(John Arbash Meinel, #56974)
5941
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
5943
* Active FTP transport now works as intended. (ghozzy, #56472)
5945
* Really fix mutter() so that it won't ever raise a UnicodeError.
5946
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
5947
But it is a debugging log, not a real user file.
5948
(John Arbash Meinel, #56947, #53880)
5950
* Change Command handle to allow Unicode command and options.
5951
At present we cannot register Unicode command names, so we will get
5952
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
5953
But that is better than a UnicodeError + a traceback.
5954
(John Arbash Meinel, #57123)
5956
* Handle TZ=UTC properly when reading/writing revisions.
5957
(John Arbash Meinel, #55783, #56290)
5959
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
5960
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
5962
* External diff does the right thing for binaries even in foreign
5963
languages. (John Arbash Meinel, #56307)
5965
* Testament handles more cases when content is unicode. Specific bug was
5966
in handling of revision properties.
5967
(John Arbash Meinel, Holger Krekel, #54723)
5969
* The bzr selftest was failing on installed versions due to a bug in a new
5970
test helper. (John Arbash Meinel, Robert Collins, #58057)
5974
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
5975
which can be used to cache the conversion between utf8 and Unicode.
5976
Especially helpful for some of the knit annotation code, which has to
5977
convert revision ids to utf8 to annotate lines in storage.
5978
(John Arbash Meinel)
5980
* ``setup.py`` now searches the filesystem to find all packages which
5981
need to be installed. This should help make the life of packagers
5982
easier. (John Arbash Meinel)
5984
bzr 0.9.0 2006-08-11
5985
---------------------
5989
* The hard-coded built-in ignore rules have been removed. There are
5990
now two rulesets which are enforced. A user global one in
5991
``~/.bazaar/ignore`` which will apply to every tree, and the tree
5992
specific one '.bzrignore'.
5993
``~/.bazaar/ignore`` will be created if it does not exist, but with
5994
a more conservative list than the old default.
5995
This fixes bugs with default rules being enforced no matter what.
5996
The old list of ignore rules from bzr is available by
5997
running 'bzr ignore --old-default-rules'.
5998
(Robert Collins, Martin Pool, John Arbash Meinel)
6000
* 'branches.conf' has been changed to 'locations.conf', since it can apply
6001
to more locations than just branch locations.
6006
* The revision specifier "revno:" is extended to accept the syntax
6007
revno:N:branch. For example,
6008
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
6009
bzr.dev. (Matthieu Moy)
6011
* Tests updates to ensure proper URL handling, UNICODE support, and
6012
proper printing when the user's terminal encoding cannot display
6013
the path of a file that has been versioned.
6014
``bzr branch`` can take a target URL rather than only a local directory.
6015
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
6016
and normalize the parent based on root, allowing access across
6017
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
6018
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
6021
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
6022
Use terminal width for single-line logs from ``bzr log --line`` and
6023
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
6026
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
6027
(Alexander Belchenko)
6029
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
6031
* Show the correct number of revisions pushed when pushing a new branch.
6034
* 'bzr selftest' now shows a progress bar with the number of tests, and
6035
progress made. 'make check' shows tests in -v mode, to be more useful
6036
for the PQM status window. (Robert Collins).
6037
When using a progress bar, failed tests are printed out, rather than
6038
being overwritten by the progress bar until the suite finishes.
6039
(John Arbash Meinel)
6041
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
6042
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
6043
profile data for the individual profiled calls, allowing for fine
6044
grained analysis of performance.
6045
(Robert Collins, Martin Pool).
6047
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
6048
where commit can take an appreciable time. (Robert Collins)
6050
* 'bzr add' is now less verbose in telling you what ignore globs were
6051
matched by files being ignored. Instead it just tells you how many
6052
were ignored (because you might reasonably be expecting none to be
6053
ignored). 'bzr add -v' is unchanged and will report every ignored
6054
file. (Robert Collins).
6056
* ftp now has a test server if medusa is installed. As part of testing,
6057
ftp support has been improved, including support for supplying a
6058
non-standard port. (John Arbash Meinel).
6060
* 'bzr log --line' shows the revision number, and uses only the
6061
first line of the log message (#5162, Alexander Belchenko;
6064
* 'bzr status' has had the --all option removed. The 'bzr ls' command
6065
should be used to retrieve all versioned files. (Robert Collins)
6067
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
6068
over email, and applied on the other end, while maintaining ancestry.
6069
This bundle can be applied with either 'bzr merge' or 'bzr pull',
6070
the same way you would apply another branch.
6071
(John Arbash Meinel, Aaron Bentley)
6073
* 'bzr whoami' can now be used to set your identity from the command line,
6074
for a branch or globally. (Robey Pointer)
6076
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
6079
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
6082
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
6083
Also updates things like 'http+pycurl://' if pycurl is not present.
6084
(John Arbash Meinel) (Malone #47821, #52204)
6086
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
6087
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
6088
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
6090
* Improve the help text for 'bzr diff' to explain what various options do.
6091
(John Arbash Meinel, #6391)
6093
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
6094
revision 10. This makes -r10 more in line with what other commands do.
6095
'bzr uncommit' also now saves the pending merges of the revisions that
6096
were removed. So it is safe to uncommit after a merge, fix something,
6097
and commit again. (John Arbash Meinel, #32526, #31426)
6099
* 'bzr init' now also works on remote locations.
6100
(Wouter van Heyst, #48904)
6102
* HTTP support has been updated. When using pycurl we now support
6103
connection keep-alive, which reduces dns requests and round trips.
6104
And for both urllib and pycurl we support multi-range requests,
6105
which decreases the number of round-trips. Performance results for
6106
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
6107
http branching is now 2-3x faster, and ``bzr pull`` in an existing
6108
branch is as much as 4x faster.
6109
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
6111
* Performance improvements for sftp. Branching and pulling are now up to
6112
2x faster. Utilize paramiko.readv() support for async requests if it
6113
is available (paramiko > 1.6) (John Arbash Meinel)
6117
* Fix shadowed definition of TestLocationConfig that caused some
6119
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
6121
* Fix unnecessary requirement of sign-my-commits that it be run from
6122
a working directory. (Martin Pool, Robert Collins)
6124
* 'bzr push location' will only remember the push location if it succeeds
6125
in connecting to the remote location. (John Arbash Meinel, #49742)
6127
* 'bzr revert' no longer toggles the executable bit on win32
6128
(John Arbash Meinel, #45010)
6130
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
6132
* sftp tests now work correctly on win32 if you have a newer paramiko
6133
(John Arbash Meinel)
6135
* Cleanup win32 test suite, and general cleanup of places where
6136
file handles were being held open. (John Arbash Meinel)
6138
* When specifying filenames for 'diff -r x..y', the name of the file in the
6139
working directory can be used, even if its name is different in both x
6142
* File-ids containing single- or double-quotes are handled correctly by
6143
push. (Aaron Bentley, #52227)
6145
* Normalize unicode filenames to ensure cross-platform consistency.
6146
(John Arbash Meinel, #43689)
6148
* The argument parser can now handle '-' as an argument. Currently
6149
no code interprets it specially (it is mostly handled as a file named
6150
'-'). But plugins, and future operations can use it.
6151
(John Arbash meinel, #50984)
6153
* Bundles can properly read binary files with a plain '\r' in them.
6154
(John Arbash Meinel, #51927)
6156
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
6158
* Lots of win32 fixes (the test suite passes again).
6159
(John Arbash Meinel, #50155)
6161
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
6163
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
6165
* Removals are only committed if they match the filespec (or if there is
6166
no filespec). (#46635, Aaron Bentley)
6168
* smart-add recurses through all supplied directories
6169
(John Arbash Meinel, #52578)
6171
* Make the bundle reader extra lines before and after the bundle text.
6172
This allows you to parse an email with the bundle inline.
6173
(John Arbash Meinel, #49182)
6175
* Change the file id generator to squash a little bit more. Helps when
6176
working with long filenames on windows. (Also helps for unicode filenames
6177
not generating hidden files). (John Arbash Meinel, #43801)
6179
* Restore terminal mode on C-c while reading sftp password. (#48923,
6180
Nicholas Allen, Martin Pool)
6182
* Timestamps are rounded to 1ms, and revision entries can be recreated
6183
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
6185
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
6186
use local paths, since it is user visible (John Arbash Meinel, #53653)
6188
* ``bzr status foo`` when foo was unversioned used to cause a full delta
6189
to be generated (John Arbash Meinel, #53638)
6191
* When reading revision properties, an empty value should be considered
6192
the empty string, not None (John Arbash Meinel, #47782)
6194
* ``bzr diff --diff-options`` can now handle binary files being changed.
6195
Also, the output is consistent when --diff-options is not supplied.
6196
(John Arbash Meinel, #54651, #52930)
6198
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
6200
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
6201
accessible (John Arbash Meinel, #52976)
6205
* Combine the ignore rules into a single regex rather than looping over
6206
them to reduce the threshold where N^2 behaviour occurs in operations
6207
like status. (Jan Hudec, Robert Collins).
6209
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
6210
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
6212
* 'bzr push' should only push the ancestry of the current revision, not
6213
all of the history in the repository. This is especially important for
6214
shared repositories. (John Arbash Meinel)
6216
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
6217
rather than randomly walking the inventories. (John Arbash Meinel)
6219
* Doctests are now run in temporary directories which are cleaned up when
6220
they finish, rather than using special ScratchDir/ScratchBranch objects.
6223
* Split ``check`` into separate methods on the branch and on the repository,
6224
so that it can be specialized in ways that are useful or efficient for
6225
different formats. (Martin Pool, Robert Collins)
6227
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
6228
the global revision graph but only that part leading up to a particular
6229
revision. (Martin Pool, Robert Collins)
6231
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
6232
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
6233
(Robert Collins, Jelmer Vernooij).
6235
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
6236
Uses subprocess instead of spawnvp.
6237
(James Henstridge, John Arbash Meinel, #4047, #48914)
6239
* New command line option '--profile-imports', which will install a custom
6240
importer to log time to import modules and regex compilation time to
6241
sys.stderr (John Arbash Meinel)
6243
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
6244
instead. (Robert Collins)
6246
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
6248
bzr 0.8.2 2006-05-17
6249
---------------------
6253
* setup.py failed to install launchpad plugin. (Martin Pool)
6255
bzr 0.8.1 2006-05-16
6256
---------------------
6260
* Fix failure to commit a merge in a checkout. (Martin Pool,
6261
Robert Collins, Erik Bågfors, #43959)
6263
* Nicer messages from 'commit' in the case of renames, and correct
6264
messages when a merge has occured. (Robert Collins, Martin Pool)
6266
* Separate functionality from assert statements as they are skipped in
6267
optimized mode of python. Add the same check to pending merges.
6268
(Olaf Conradi, #44443)
6272
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
6274
* Add info on standalone branches without a working tree.
6275
(Olaf Conradi, #44155)
6277
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
6281
* Make editor invocation comply with Debian Policy. First check
6282
environment variables VISUAL and EDITOR, then try editor from
6283
alternatives system. If that all fails, fall back to the pre-defined
6284
list of editors. (Olaf Conradi, #42904)
6288
* New 'register-branch' command registers a public branch into
6289
Launchpad.net, where it can be associated with bugs, etc.
6290
(Martin Pool, Bjorn Tillenius, Robert Collins)
6294
* New public api in InventoryEntry - ``describe_change(old, new)`` which
6295
provides a human description of the changes between two old and
6296
new. (Robert Collins, Martin Pool)
6300
* Fix test case for bzr info in upgrading a standalone branch to metadir,
6301
uses bzrlib api now. (Olaf Conradi)
6306
NOTES WHEN UPGRADING:
6308
Release 0.8 of bzr introduces a new format for history storage, called
6309
'knit', as an evolution of to the 'weave' format used in 0.7. Local
6310
and remote operations are faster using knits than weaves. Several
6311
operations including 'init', 'init-repo', and 'upgrade' take a
6312
--format option that controls this. Branching from an existing branch
6313
will keep the same format.
6315
It is possible to merge, pull and push between branches of different
6316
formats but this is slower than moving data between homogenous
6317
branches. It is therefore recommended (but not required) that you
6318
upgrade all branches for a project at the same time. Information on
6319
formats is shown by 'bzr info'.
6321
bzr 0.8 now allows creation of 'repositories', which hold the history
6322
of files and revisions for several branches. Previously bzr kept all
6323
the history for a branch within the .bzr directory at the root of the
6324
branch, and this is still the default. To create a repository, use
6325
the new 'bzr init-repo' command. Branches exist as directories under
6326
the repository and contain just a small amount of information
6327
indicating the current revision of the branch.
6329
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
6330
subversion. Checkouts are associated with a branch (optionally in a
6331
repository), which contains all the historical information. The
6332
result is that a checkout can be deleted without losing any
6333
already-committed revisions. A new 'update' command is also available.
6335
Repositories and checkouts are not supported with the 0.7 storage
6336
format. To use them you must upgrad to either knits, or to the
6337
'metaweave' format, which uses weaves but changes the .bzr directory
6343
* Sftp paths can now be relative, or local, according to the lftp
6344
convention. Paths now take the form::
6346
sftp://user:pass@host:port/~/relative/path
6348
sftp://user:pass@host:port/absolute/path
6350
* The FTP transport now tries to reconnect after a temporary
6351
failure. ftp put is made atomic. (Matthieu Moy)
6353
* The FTP transport now maintains a pool of connections, and
6354
reuses them to avoid multiple connections to the same host (like
6355
sftp did). (Daniel Silverstone)
6357
* The ``bzr_man.py`` file has been removed. To create the man page now,
6358
use ``./generate_docs.py man``. The new program can also create other files.
6359
Run ``python generate_docs.py --help`` for usage information.
6360
(Hans Ulrich Niedermann & James Blackwell).
6362
* Man Page now gives full help (James Blackwell).
6363
Help also updated to reflect user config now being stored in .bazaar
6364
(Hans Ulrich Niedermann)
6366
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
6368
* Pull now accepts a --revision argument (Erik Bågfors)
6370
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
6371
line. You can now use the following command to sign all of your old
6374
find .bzr/revision-store// -name my@email-* \
6375
| sed 's/.*\/\/..\///' \
6378
* Upgrade can now upgrade over the network. (Robert Collins)
6380
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
6381
behaviour. By default they will cache history in the checkout, but
6382
with --lightweight almost all data is kept in the master branch.
6385
* 'revert' unversions newly-versioned files, instead of deleting them.
6387
* 'merge' is more robust. Conflict messages have changed.
6389
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
6392
* Default log format can be set in configuration and plugins can register
6393
their own formatters. (Erik Bågfors)
6395
* New 'reconcile' command will check branch consistency and repair indexes
6396
that can become out of sync in pre 0.8 formats. (Robert Collins,
6399
* New 'bzr init --format' and 'bzr upgrade --format' option to control
6400
what storage format is created or produced. (Robert Collins,
6403
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
6405
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
6407
* New 'init-repository' command, plus support for repositories in 'init'
6408
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
6410
* Improve output of 'info' command. Show all relevant locations related to
6411
working tree, branch and repository. Use kibibytes for binary quantities.
6412
Fix off-by-one error in missing revisions of working tree. Make 'info'
6413
work on branches, repositories and remote locations. Show locations
6414
relative to the shared repository, if applicable. Show locking status
6415
of locations. (Olaf Conradi)
6417
* Diff and merge now safely handle binary files. (Aaron Bentley)
6419
* 'pull' and 'push' now normalise the revision history, so that any two
6420
branches with the same tip revision will have the same output from 'log'.
6423
* 'merge' accepts --remember option to store parent location, like 'push'
6424
and 'pull'. (Olaf Conradi)
6426
* bzr status and diff when files given as arguments do not exist
6427
in the relevant trees. (Martin Pool, #3619)
6429
* Add '.hg' to the default ignore list. (Martin Pool)
6431
* 'knit' is now the default disk format. This improves disk performance and
6432
utilization, increases incremental pull performance, robustness with SFTP
6433
and allows checkouts over SFTP to perform acceptably.
6434
The initial Knit code was contributed by Johan Rydberg based on a
6435
specification by Martin Pool.
6436
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
6438
* New tool to generate all-in-one html version of the manual. (Alexander
6441
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
6442
to be left in the SFTP repository. (Robert Collins, Martin Pool).
6444
* New option 'diff --prefix' to control how files are named in diff
6445
output, with shortcuts '-p0' and '-p1' corresponding to the options for
6446
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
6448
* Add --revision option to 'annotate' command. (Olaf Conradi)
6450
* If bzr shows an unexpected revision-history after pulling (perhaps due
6451
to a reweave) it can now be corrected by 'bzr reconcile'.
6456
* Commit is now verbose by default, and shows changed filenames and the
6457
new revision number. (Robert Collins, Martin Pool)
6459
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
6461
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
6463
* Make 'pull' and 'push' remember location on failure using --remember.
6466
* For compatibility, make old format for using weaves inside metadir
6467
available as 'metaweave' format. Rename format 'metadir' to 'default'.
6468
Clean up help for option --format in commands 'init', 'init-repo' and
6469
'upgrade'. (Olaf Conradi)
6473
* The internal storage of history, and logical branch identity have now
6474
been split into Branch, and Repository. The common locking and file
6475
management routines are now in bzrlib.lockablefiles.
6476
(Aaron Bentley, Robert Collins, Martin Pool)
6478
* Transports can now raise DependencyNotPresent if they need a library
6479
which is not installed, and then another implementation will be
6480
tried. (Martin Pool)
6482
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
6485
* Using Tree Transform for merge, revert, tree-building
6487
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
6488
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
6489
replacement API's. (Robert Collins)
6491
* New BzrDir class represents the .bzr control directory and manages
6492
formatting issues. (Robert Collins)
6494
* New repository.InterRepository class encapsulates Repository to
6495
Repository actions and allows for clean selection of optimised code
6496
paths. (Robert Collins)
6498
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
6499
deprecated, please use ``branch.fetch`` or ``repository.fetch``
6500
depending on your needs. (Robert Collins)
6502
* deprecated methods now have a ``is_deprecated`` flag on them that can
6503
be checked, if you need to determine whether a given callable is
6504
deprecated at runtime. (Robert Collins)
6506
* Progress bars are now nested - see
6507
``bzrlib.ui.ui_factory.nested_progress_bar``.
6508
(Robert Collins, Robey Pointer)
6510
* New API call ``get_format_description()`` for each type of format.
6513
* Changed ``branch.set_parent()`` to accept None to remove parent.
6516
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
6518
* WorkingTree.branch is now a read only property. (Robert Collins)
6520
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
6521
can be None or a factory that will create a progress bar. This is
6522
useful for testing or for overriding the bzrlib.progress heuristic.
6525
* New API method ``get_physical_lock_status()`` to query locks present on a
6526
transport. (Olaf Conradi)
6528
* Repository.reconcile now takes a thorough keyword parameter to allow
6529
requesting an indepth reconciliation, rather than just a data-loss
6530
check. (Robert Collins)
6532
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
6533
the user for yes/no style input. (Robert Collins)
6537
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
6538
for testing SFTP protocol support. (Robey Pointer)
6540
* Branch formats are now tested once per implementation (see ``bzrlib.
6541
tests.branch_implementations``. This is analagous to the transport
6542
interface tests, and has been followed up with working tree,
6543
repository and BzrDir tests. (Robert Collins)
6545
* New test base class TestCaseWithTransport provides a transport aware
6546
test environment, useful for testing any transport-interface using
6547
code. The test suite option --transport controls the transport used
6548
by this class (when its not being used as part of implementation
6549
contract testing). (Robert Collins)
6551
* Close logging handler on disabling the test log. This will remove the
6552
handler from the internal list inside python's logging module,
6553
preventing shutdown from closing it twice. (Olaf Conradi)
6555
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
6557
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
6558
parameter which will provide String("foo") to the command as its stdin.
6565
* .bzrignore is excluded from exports, on the grounds that it's a bzr
6566
internal-use file and may not be wanted. (Jamie Wilkinson)
6568
* The "bzr directories" command were removed in favor of the new
6569
--kind option to the "bzr inventory" command. To list all
6570
versioned directories, now use "bzr inventory --kind directory".
6573
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
6574
by default. (John Arbash Meinel)
6576
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
6577
environment variable. Now the path for it is searched in ``BZR_HOME``,
6578
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
6579
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
6580
``HOME``. (John Arbash Meinel)
6582
* Plugins with the same name in different directories in the bzr plugin
6583
path are no longer loaded: only the first successfully loaded one is
6584
used. (Robert Collins)
6586
* Use systems' external ssh command to open connections if possible.
6587
This gives better integration with user settings such as ProxyCommand.
6590
* Permissions on files underneath .bzr/ are inherited from the .bzr
6591
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
6592
will mean that future file will be created with group write permissions.
6594
* configure.in and config.guess are no longer in the builtin default
6597
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
6598
files. (John Arbash Meinel, Martin Pool)
6602
* "bzr INIT dir" now initializes the specified directory, and creates
6603
it if it does not exist. (John Arbash Meinel)
6605
* New remerge command (Aaron Bentley)
6607
* Better zsh completion script. (Steve Borho)
6609
* 'bzr diff' now returns 1 when there are changes in the working
6610
tree. (Robert Collins)
6612
* 'bzr push' now exists and can push changes to a remote location.
6613
This uses the transport infrastructure, and can store the remote
6614
location in the ~/.bazaar/branches.conf configuration file.
6617
* Test directories are only kept if the test fails and the user requests
6620
* Tweaks to short log printing
6622
* Added branch nicks, new nick command, printing them in log output.
6625
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
6626
occurs. (Martin Pool)
6628
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
6629
the same as Subversion. (Martin Pool)
6631
* New ftp transport support (on ftplib), for ftp:// and aftp://
6632
URLs. (Daniel Silverstone)
6634
* Commit editor temporary files now start with ``bzr_log.``, to allow
6635
text editors to match the file name and set up appropriate modes or
6636
settings. (Magnus Therning)
6638
* Improved performance when integrating changes from a remote weave.
6639
(Goffredo Baroncelli)
6641
* Sftp will attempt to cache the connection, so it is more likely that
6642
a connection will be reused, rather than requiring multiple password
6645
* bzr revno now takes an optional argument indicating the branch whose
6646
revno should be printed. (Michael Ellerman)
6648
* bzr cat defaults to printing the last version of the file.
6649
(Matthieu Moy, #3632)
6651
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
6652
profiler. (Denys Duchier)
6654
* Faster commits by reading only the headers of affected weave files.
6657
* 'bzr add' now takes a --dry-run parameter which shows you what would be
6658
added, but doesn't actually add anything. (Michael Ellerman)
6660
* 'bzr add' now lists how many files were ignored per glob. add --verbose
6661
lists the specific files. (Aaron Bentley)
6663
* 'bzr missing' now supports displaying changes in diverged trees and can
6664
be limited to show what either end of the comparison is missing.
6665
(Aaron Bently, with a little prompting from Daniel Silverstone)
6669
* SFTP can walk up to the root path without index errors. (Robert Collins)
6671
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
6673
* Error when run with -OO
6675
* Fix bug in reporting http errors that don't have an http error code.
6678
* Handle more cases of pipe errors in display commands
6680
* Change status to 3 for all errors
6682
* Files that are added and unlinked before committing are completely
6683
ignored by diff and status
6685
* Stores with some compressed texts and some uncompressed texts are now
6686
able to be used. (John A Meinel)
6688
* Fix for bzr pull failing sometimes under windows
6690
* Fix for sftp transport under windows when using interactive auth
6692
* Show files which are both renamed and modified as such in 'bzr
6693
status' output. (Daniel Silverstone, #4503)
6695
* Make annotate cope better with revisions committed without a valid
6696
email address. (Marien Zwart)
6698
* Fix representation of tab characters in commit messages.
6701
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
6702
now parsed properly under Windows. (Alexander Belchenko)
6704
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
6706
* Keep a cached copy of the basis inventory to speed up operations
6707
that need to refer to it. (Johan Rydberg, Martin Pool)
6709
* Fix bugs in bzr status display of non-ascii characters.
6712
* Remove Makefile.in from default ignore list.
6713
(Tollef Fog Heen, Martin Pool, #6413)
6715
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
6719
* Fix selftest asking for passwords when there are no SFTP keys.
6720
(Robey Pointer, Jelmer Vernooij)
6722
* Fix selftest run with 'python -O'. (Martin Pool)
6724
* Fix HTTP tests under Windows. (John Arbash Meinel)
6726
* Make tests work even if HOME is not set (Aaron Bentley)
6728
* Updated ``build_tree`` to use fixed line-endings for tests which read
6729
the file cotents and compare. Make some tests use this to pass under
6730
Windows. (John Arbash Meinel)
6732
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
6734
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
6735
(John Arbash Meinel)
6737
* Use terminal width to align verbose test output. (Martin Pool)
6739
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
6740
If adding a new test script please add that to
6741
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
6743
* Much better error message if one of the test suites can't be
6744
imported. (Martin Pool)
6746
* Make check now runs the test suite twice - once with the default locale,
6747
and once with all locales forced to C, to expose bugs. This is not
6748
trivially done within python, so for now its only triggered by running
6749
Make check. Integrators and packagers who wish to check for full
6750
platform support should run 'make check' to test the source.
6753
* Tests can now run TestSkipped if they can't execute for any reason.
6754
(Martin Pool) (NB: TestSkipped should only be raised for correctable
6755
reasons - see the wiki spec ImprovingBzrTestSuite).
6757
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
6758
paths for the transport tests. Introduce blackbox remote sftp tests that
6759
test the same permutations. (Robert Collins, Robey Pointer)
6761
* Transport implementation tests are now independent of the local file
6762
system, which allows tests for esoteric transports, and for features
6763
not available in the local file system. They also repeat for variations
6764
on the URL scheme that can introduce issues in the transport code,
6765
see bzrlib.transport.TransportTestProviderAdapter() for this.
6768
* ``TestCase.build_tree`` uses the transport interface to build trees,
6769
pass in a transport parameter to give it an existing connection.
6774
* WorkingTree.pull has been split across Branch and WorkingTree,
6775
to allow Branch only pulls. (Robert Collins)
6777
* ``commands.display_command`` now returns the result of the decorated
6778
function. (Robert Collins)
6780
* LocationConfig now has a ``set_user_option(key, value)`` call to save
6781
a setting in its matching location section (a new one is created
6782
if needed). (Robert Collins)
6784
* Branch has two new methods, ``get_push_location`` and
6785
``set_push_location`` to respectively, get and set the push location.
6788
* ``commands.register_command`` now takes an optional flag to signal that
6789
the registrant is planning to decorate an existing command. When
6790
given multiple plugins registering a command is not an error, and
6791
the original command class (whether built in or a plugin based one) is
6792
returned to the caller. There is a new error 'MustUseDecorated' for
6793
signalling when a wrapping command should switch to the original
6794
version. (Robert Collins)
6796
* Some option parsing errors will raise 'BzrOptionError', allowing
6797
granular detection for decorating commands. (Robert Collins).
6799
* ``Branch.read_working_inventory`` has moved to
6800
``WorkingTree.read_working_inventory``. This necessitated changes to
6801
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
6802
WorkingTree as well. To make it clear that a WorkingTree cannot always
6803
be obtained ``Branch.working_tree()`` will raise
6804
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
6806
* All pending merges operations from Branch are now on WorkingTree.
6809
* The follow operations from Branch have moved to WorkingTree::
6819
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
6821
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
6823
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
6826
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
6827
query method. (Robert Collins)
6829
* New options to read only the table-of-contents of a weave.
6832
* Raise NoSuchFile when someone tries to add a non-existant file.
6835
* Simplify handling of DivergedBranches in ``cmd_pull()``.
6838
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
6839
is exposed as ``Branch().control_files``. Also this has been altered with the
6840
controlfile pre/suffix replaced by simple method names like 'get' and
6841
'put'. (Aaron Bentley, Robert Collins).
6843
* Deprecated functions and methods can now be marked as such using the
6844
``bzrlib.symbol_versioning`` module. Marked method have their docstring
6845
updated and will issue a DeprecationWarning using the warnings module
6846
when they are used. (Robert Collins)
6848
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
6849
for functions that need unicode strings. (Robert Collins)
6856
* pull now takes --verbose to show you what revisions are added or removed
6859
* merge now takes a --show-base option to include the base text in
6863
* The config files are now read using ConfigObj, so '=' should be used as
6864
a separator, not ':'.
6867
* New 'bzr commit --strict' option refuses to commit if there are
6868
any unknown files in the tree. To commit, make sure all files are
6869
either ignored, added, or deleted. (Michael Ellerman)
6871
* The config directory is now ~/.bazaar, and there is a single file
6872
~/.bazaar/bazaar.conf storing email, editor and other preferences.
6875
* 'bzr add' no longer takes a --verbose option, and a --quiet option
6876
has been added that suppresses all output.
6878
* Improved zsh completion support in contrib/zsh, from Clint
6881
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
6882
Goffredo Baroncelli.
6884
* 'bzr check' now accepts -v for verbose reporting, and checks for
6885
ghosts in the branch. (Robert Collins)
6887
* New command 're-sign' which will regenerate the gpg signature for
6888
a revision. (Robert Collins)
6890
* If you set ``check_signatures=require`` for a path in
6891
``~/.bazaar/branches.conf`` then bzr will invoke your
6892
``gpg_signing_command`` (defaults to gpg) and record a digital signature
6893
of your commit. (Robert Collins)
6895
* New sftp transport, based on Paramiko. (Robey Pointer)
6897
* 'bzr pull' now accepts '--clobber' which will discard local changes
6898
and make this branch identical to the source branch. (Robert Collins)
6900
* Just give a quieter warning if a plugin can't be loaded, and
6901
put the details in .bzr.log. (Martin Pool)
6903
* 'bzr branch' will now set the branch-name to the last component of the
6904
output directory, if one was supplied.
6906
* If the option ``post_commit`` is set to one (or more) python function
6907
names (must be in the bzrlib namespace), then they will be invoked
6908
after the commit has completed, with the branch and ``revision_id`` as
6909
parameters. (Robert Collins)
6911
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
6913
* --merge-type weave is now supported for file contents. Tree-shape
6914
changes are still three-way based. (Martin Pool, Aaron Bentley)
6916
* 'bzr check' allows the first revision on revision-history to have
6917
parents - something that is expected for cheap checkouts, and occurs
6918
when conversions from baz do not have all history. (Robert Collins).
6920
* 'bzr merge' can now graft unrelated trees together, if your specify
6921
0 as a base. (Aaron Bentley)
6923
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
6926
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
6928
* 'bzr merge --reprocess' minimizes conflicts
6932
* The 'bzr selftest --pattern' option for has been removed, now
6933
test specifiers on the command line can be simple strings, or
6934
regexps, or both. (Robert Collins)
6936
* Passing -v to selftest will now show the time each test took to
6937
complete, which will aid in analysing performance regressions and
6938
related questions. (Robert Collins)
6940
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
6941
is given. (Martin Pool)
6943
* There is a new method for TestCaseInTempDir, assertFileEqual, which
6944
will check that a given content is equal to the content of the named
6945
file. (Robert Collins)
6947
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
6952
* New 'testament' command and concept for making gpg-signatures
6953
of revisions that are not tied to a particular internal
6954
representation. (Martin Pool).
6956
* Per-revision properties ('revprops') as key-value associated
6957
strings on each revision created when the revision is committed.
6958
Intended mainly for the use of external tools. (Martin Pool).
6960
* Config options have moved from bzrlib.osutils to bzrlib.config.
6963
* Improved command line option definitions allowing explanations
6964
for individual options, among other things. Contributed by
6967
* Config options have moved from bzrlib.osutils to bzrlib.config.
6968
Configuration is now done via the config.Config interface:
6969
Depending on whether you have a Branch, a Location or no information
6970
available, construct a ``*Config``, and use its ``signature_checking``,
6971
``username`` and ``user_email`` methods. (Robert Collins)
6973
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
6974
they are made available for other plugins to use. You should not
6975
import other plugins during the ``__init__`` of your plugin though, as
6976
no ordering is guaranteed, and the plugins directory is not on the
6977
python path. (Robert Collins)
6979
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
6980
no longer takes an inventory, rather it takes an option branch
6981
parameter, and if None is given will open the branch at basedir
6982
implicitly. (Robert Collins)
6984
* Cleaner exception structure and error reporting. Suggested by
6985
Scott James Remnant. (Martin Pool)
6987
* Branch.remove has been moved to WorkingTree, which has also gained
6988
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
6991
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
6992
added to the branch module. Use these to cause a function to run in a
6993
read or write lock respectively. (Robert Collins)
6995
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
6996
which allows direct access to the common case of 'get me this file
6997
from its branch'. (Robert Collins)
6999
* Transports can register using ``register_lazy_transport``, and they
7000
will be loaded when first used. (Martin Pool)
7002
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
7003
A new option to WorkingTree.pull has been added, clobber, which will
7004
ignore diverged history and pull anyway.
7007
* config.Config has a ``get_user_option`` call that accepts an option name.
7008
This will be looked up in branches.conf and bazaar.conf as normal.
7009
It is intended that this be used by plugins to support options -
7010
options of built in programs should have specific methods on the config.
7013
* ``merge.merge_inner`` now has tempdir as an optional parameter.
7016
* Tree.kind is not recorded at the top level of the hierarchy, as it was
7017
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
7020
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
7021
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
7022
about future directions. (Robert Collins/Martin Pool)
7024
* bzrlib.transport.http has been modified so that only 404 urllib errors
7025
are returned as NoSuchFile. Other exceptions will propogate as normal.
7026
This allows debuging of actual errors. (Robert Collins)
7028
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
7029
to apis like 'put', 'get' and 'has'. This is to provide consistent
7030
behaviour - it operates on url's only. (Robert Collins)
7032
* Transports can register using ``register_lazy_transport``, and they
7033
will be loaded when first used. (Martin Pool)
7035
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
7036
is called by ``merge_inner``. This is so that the conflict count can be
7037
retrieved (and potentially manipulated) before returning to the caller
7038
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
7039
caller. (Robert Collins)
7041
* ``revision.revision_graph`` can handle having only partial history for
7042
a revision - that is no revisions in the graph with no parents.
7045
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
7046
produce a branch and a list of paths, relative to that branch
7049
* New TestCase.addCleanup facility.
7051
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
7052
which can be used by programs importing bzrlib.
7056
* Better handling of branches in directories with non-ascii names.
7057
(Joel Rosdahl, Panagiotis Papadakos)
7059
* Upgrades of trees with no commits will not fail due to accessing
7060
[-1] in the revision-history. (Andres Salomon)
7063
bzr 0.1.1 2005-10-12
7064
--------------------
7068
* Fix problem in pulling over http from machines that do not
7069
allow directories to be listed.
7071
* Avoid harmless warning about invalid hash cache after
7072
upgrading branch format.
7076
* Avoid some unnecessary http operations in branch and pull.
7084
* 'bzr branch' over http initially gives a very high estimate
7085
of completion time but it should fall as the first few
7086
revisions are pulled in. branch is still slow on
7087
high-latency connections.
7091
* bzr-man.py has been updated to work again. Contributed by
7094
* Locking is now done with fcntl.lockf which works with NFS
7095
file systems. Contributed by Harald Meland.
7097
* When a merge encounters a file that has been deleted on
7098
one side and modified on the other, the old contents are
7099
written out to foo.BASE and foo.SIDE, where SIDE is this
7100
or OTHER. Contributed by Aaron Bentley.
7102
* Export was choosing incorrect file paths for the content of
7103
the tarball, this has been fixed by Aaron Bentley.
7105
* Commit will no longer commit without a log message, an
7106
error is returned instead. Contributed by Jelmer Vernooij.
7108
* If you commit a specific file in a sub directory, any of its
7109
parent directories that are added but not listed will be
7110
automatically included. Suggested by Michael Ellerman.
7112
* bzr commit and upgrade did not correctly record new revisions
7113
for files with only a change to their executable status.
7114
bzr will correct this when it encounters it. Fixed by
7117
* HTTP tests now force off the use of ``http_proxy`` for the duration.
7118
Contributed by Gustavo Niemeyer.
7120
* Fix problems in merging weave-based branches that have
7121
different partial views of history.
7123
* Symlink support: working with symlinks when not in the root of a
7124
bzr tree was broken, patch from Scott James Remnant.
7128
* 'branch' now accepts a --basis parameter which will take advantage
7129
of local history when making a new branch. This allows faster
7130
branching of remote branches. Contributed by Aaron Bentley.
7132
* New tree format based on weave files, called version 5.
7133
Existing branches can be upgraded to this format using
7136
* Symlinks are now versionable. Initial patch by
7137
Erik Toubro Nielsen, updated to head by Robert Collins.
7139
* Executable bits are tracked on files. Patch from Gustavo
7142
* 'bzr status' now shows unknown files inside a selected directory.
7143
Patch from Heikki Paajanen.
7145
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
7146
and 'resolve' have needed added, which list and remove those
7147
merge conflicts respectively. A conflicted tree cannot be committed
7148
in. Contributed by Aaron Bentley.
7150
* 'rm' is now an alias for 'remove'.
7152
* Stores now split out their content in a single byte prefixed hash,
7153
dropping the density of files per directory by 256. Contributed by
7156
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
7157
Contributed by Robert Collins.
7159
* 'bzr log' with the default formatter will show merged revisions,
7160
indented to the right. Initial implementation contributed by Gustavo
7161
Niemeyer, made incremental by Robert Collins.
7166
* Test case failures have the exception printed after the log
7167
for your viewing pleasure.
7169
* InventoryEntry is now an abstract base class, use one of the
7170
concrete InventoryDirectory etc classes instead.
7172
* Branch raises an UnsupportedFormatError when it detects a
7173
bzr branch it cannot understand. This allows for precise
7174
handling of such circumstances.
7176
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
7177
list of their ids and ``parent_sha1s`` is a list of their corresponding
7178
sha1s (for old branches only at the moment.)
7180
* New method-object style interface for Commit() and Fetch().
7182
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
7183
we call them revisions not patches.
7185
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
7186
directory is created if it doesn't exist.
7188
* Inventories now identify the files which were present by
7189
giving the revision *of that file*.
7191
* Inventory and Revision XML contains a version identifier.
7192
This must be consistent with the overall branch version
7193
but allows for more flexibility in future upgrades.
7197
* Removed testsweet module so that tests can be run after
7198
bzr installed by 'bzr selftest'.
7200
* 'bzr selftest' command-line arguments can now be partial ids
7201
of tests to run, e.g. ``bzr selftest test_weave``
7204
bzr 0.0.9 2005-09-23
7205
--------------------
7209
* Fixed "branch -r" option.
7211
* Fix remote access to branches containing non-compressed history.
7214
* Better reliability of http server tests. (John Arbash-Meinel)
7216
* Merge graph maximum distance calculation fix. (Aaron Bentley)
7218
* Various minor bug in windows support have been fixed, largely in the
7219
test suite. Contributed by Alexander Belchenko.
7223
* Status now accepts a -r argument to give status between chosen
7224
revisions. Contributed by Heikki Paajanen.
7226
* Revision arguments no longer use +/-/= to control ranges, instead
7227
there is a 'before' namespace, which limits the successive namespace.
7228
For example '$ bzr log -r date:yesterday..before:date:today' will
7229
select everything from yesterday and before today. Contributed by
7232
* There is now a bzr.bat file created by distutils when building on
7233
Windows. Contributed by Alexander Belchenko.
7237
* Removed uuid() as it was unused.
7239
* Improved 'fetch' code for pulling revisions from one branch into
7240
another (used by pull, merged, etc.)
7243
bzr 0.0.8 2005-09-20
7244
--------------------
7248
* Adding a file whose parent directory is not versioned will
7249
implicitly add the parent, and so on up to the root. This means
7250
you should never need to explictly add a directory, they'll just
7251
get added when you add a file in the directory. Contributed by
7254
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
7257
* If you set ``BZR_EDITOR`` in the environment, it is checked in
7258
preference to EDITOR and the config file for the interactive commit
7259
editing program. Related to this is a bugfix where a missing program
7260
set in EDITOR would cause editing to fail, now the fallback program
7261
for the operating system is still tried.
7263
* Files that are not directories/symlinks/regular files will no longer
7264
cause bzr to fail, it will just ignore them by default. You cannot add
7265
them to the tree though - they are not versionable.
7270
* Refactor xml packing/unpacking.
7274
* Fixed 'bzr mv' by Ollie Rutherfurd.
7276
* Fixed strange error when trying to access a nonexistent http
7279
* Make sure that the hashcache gets written out if it can't be
7285
* Various Windows fixes from Ollie Rutherfurd.
7287
* Quieten warnings about locking; patch from Matt Lavin.
7290
bzr-0.0.7 2005-09-02
7291
--------------------
7295
* ``bzr shell-complete`` command contributed by Clint Adams to
7296
help with intelligent shell completion.
7298
* New expert command ``bzr find-merge-base`` for debugging merges.
7303
* Much better merge support.
7305
* merge3 conflicts are now reported with markers like '<<<<<<<'
7306
(seven characters) which is the same as CVS and pleases things
7312
* ``bzr upgrade`` no longer fails when trying to fix trees that
7313
mention revisions that are not present.
7315
* Fixed bugs in listing plugins from ``bzr plugins``.
7317
* Fix case of $EDITOR containing options for the editor.
7319
* Fix log -r refusing to show the last revision.
7320
(Patch from Goffredo Baroncelli.)
7325
* ``bzr log --show-ids`` shows the revision ids of all parents.
7327
* Externally provided commands on your $BZRPATH no longer need
7328
to recognize --bzr-usage to work properly, and can just handle
7334
* Changed trace messages to go through the standard logging
7335
framework, so that they can more easily be redirected by
7340
bzr-0.0.6 2005-08-18
7341
--------------------
7345
* Python plugins, automatically loaded from the directories on
7346
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
7348
* New 'bzr mkdir' command.
7350
* Commit mesage is fetched from an editor if not given on the
7351
command line; patch from Torsten Marek.
7353
* ``bzr log -m FOO`` displays commits whose message matches regexp
7356
* ``bzr add`` with no arguments adds everything under the current directory.
7358
* ``bzr mv`` does move or rename depending on its arguments, like
7361
* ``bzr missing`` command shows a summary of the differences
7362
between two trees. (Merged from John Arbash-Meinel.)
7364
* An email address for commits to a particular tree can be
7365
specified by putting it into .bzr/email within a branch. (Based
7366
on a patch from Heikki Paajanen.)
7371
* Faster working tree operations.
7376
* 3rd-party modules shipped with bzr are copied within the bzrlib
7377
python package, so that they can be installed by the setup
7378
script without clashing with anything already existing on the
7379
system. (Contributed by Gustavo Niemeyer.)
7381
* Moved plugins directory to bzrlib/, so that there's a standard
7382
plugin directory which is not only installed with bzr itself but
7383
is also available when using bzr from the development tree.
7384
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
7385
standard plugins directory.
7387
* When exporting to a tarball with ``bzr export --format tgz``, put
7388
everything under a top directory rather than dumping it into the
7389
current directory. This can be overridden with the ``--root``
7390
option. Patch from William Dodé and John Meinel.
7392
* New ``bzr upgrade`` command to upgrade the format of a branch,
7393
replacing ``bzr check --update``.
7395
* Files within store directories are no longer marked readonly on
7398
* Changed ``bzr log`` output to a more compact form suggested by
7399
John A Meinel. Old format is available with the ``--long`` or
7400
``-l`` option, patched by William Dodé.
7402
* By default the commit command refuses to record a revision with
7403
no changes unless the ``--unchanged`` option is given.
7405
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
7406
line options must come before the command name because they
7407
affect what commands are available; all other options must come
7408
after the command name because their interpretation depends on
7411
* ``branch`` and ``clone`` added as aliases for ``branch``.
7413
* Default log format is back to the long format; the compact one
7414
is available with ``--short``.
7419
* Fix bugs in committing only selected files or within a subdirectory.
7422
bzr-0.0.5 2005-06-15
7423
---------------------
7427
* ``bzr`` with no command now shows help rather than giving an
7428
error. Suggested by Michael Ellerman.
7430
* ``bzr status`` output format changed, because svn-style output
7431
doesn't really match the model of bzr. Now files are grouped by
7432
status and can be shown with their IDs. ``bzr status --all``
7433
shows all versioned files and unknown files but not ignored files.
7435
* ``bzr log`` runs from most-recent to least-recent, the reverse
7436
of the previous order. The previous behaviour can be obtained
7437
with the ``--forward`` option.
7439
* ``bzr inventory`` by default shows only filenames, and also ids
7440
if ``--show-ids`` is given, in which case the id is the second
7446
* New 'bzr whoami --email' option shows only the email component
7447
of the user identification, from Jo Vermeulen.
7449
* New ``bzr ignore PATTERN`` command.
7451
* Nicer error message for broken pipe, interrupt and similar
7452
conditions that don't indicate an internal error.
7454
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
7456
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
7457
either read or write mode.
7459
* New option ``bzr log --show-ids`` shows revision and file ids.
7461
* New usage ``bzr log FILENAME`` shows only revisions that
7464
* Changed format for describing changes in ``bzr log -v``.
7466
* New option ``bzr commit --file`` to take a message from a file,
7467
suggested by LarstiQ.
7469
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
7470
Oler. File may be in a branch other than the working directory.
7472
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
7475
* Commands can now be defined by external programs or scripts
7476
in a directory on $BZRPATH.
7478
* New "stat cache" avoids reading the contents of files if they
7479
haven't changed since the previous time.
7481
* If the Python interpreter is too old, try to find a better one
7482
or give an error. Based on a patch from Fredrik Lundh.
7484
* New optional parameter ``bzr info [BRANCH]``.
7486
* New form ``bzr commit SELECTED`` to commit only selected files.
7488
* New form ``bzr log -r FROM:TO`` shows changes in selected
7489
range; contributed by John A Meinel.
7491
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
7492
options through to an external GNU diff.
7494
* New option ``bzr add --no-recurse`` to add a directory but not
7497
* ``bzr --version`` now shows more information if bzr is being run
7503
* Fixed diff format so that added and removed files will be
7504
handled properly by patch. Fix from Lalo Martins.
7506
* Various fixes for files whose names contain spaces or other
7512
* Converted black-box test suites from Bourne shell into Python;
7513
now run using ``./testbzr``. Various structural improvements to
7516
* testbzr by default runs the version of bzr found in the same
7517
directory as the tests, or the one given as the first parameter.
7519
* testbzr also runs the internal tests, so the only command
7520
required to check is just ``./testbzr``.
7522
* testbzr requires python2.4, but can be used to test bzr running
7523
under a different version.
7525
* Tests added for many other changes in this release.
7530
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
7532
* Refactor command functions into Command objects based on HCT by
7533
Scott James Remnant.
7535
* Better help messages for many commands.
7537
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
7538
this is called trace messages are just discarded.
7540
* New internal function ``find_touching_revisions()`` and hidden
7541
command touching-revisions trace the changes to a given file.
7543
* Simpler and faster ``compare_inventories()`` function.
7545
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
7547
* New AtomicFile class.
7549
* New developer commands ``added``, ``modified``.
7554
* Cope on Windows on python2.3 by using the weaker random seed.
7555
2.4 is now only recommended.
7558
bzr-0.0.4 2005-04-22
7559
---------------------
7563
* 'bzr diff' optionally takes a list of files to diff. Still a bit
7564
basic. Patch from QuantumG.
7566
* More default ignore patterns.
7568
* New 'bzr log --verbose' shows a list of files changed in the
7569
changeset. Patch from Sebastian Cote.
7571
* Roll over ~/.bzr.log if it gets too large.
7573
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
7576
* New 'bzr help commands' based on a patch from Denys Duchier.
7581
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
7582
or $EMAIL. All are decoded by the locale preferred encoding.
7583
If none of these are present user@hostname is used. The host's
7584
fully-qualified name is not used because that tends to fail when
7585
there are DNS problems.
7587
* New 'bzr whoami' command instead of username user-email.
7592
* Make commit safe for hardlinked bzr trees.
7594
* Some Unicode/locale fixes.
7596
* Partial workaround for ``difflib.unified_diff`` not handling
7597
trailing newlines properly.
7602
* Allow docstrings for help to be in PEP0257 format. Patch from
7605
* More tests in test.sh.
7607
* Write profile data to a temporary file not into working
7608
directory and delete it when done.
7610
* Smaller .bzr.log with process ids.
7615
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
7618
* Some improvements in handling paths on Windows, based on a patch
7622
bzr-0.0.3 2005-04-06
7623
---------------------
7627
* New "directories" internal command lists versioned directories
7630
* Can now say "bzr commit --help".
7632
* New "rename" command to rename one file to a different name
7635
* New "move" command to move one or more files into a different
7638
* New "renames" command lists files renamed since base revision.
7640
* New cat command contributed by janmar.
7644
* .bzr.log is placed in $HOME (not pwd) and is always written in
7645
UTF-8. (Probably not a completely good long-term solution, but
7650
* Workaround for difflib bug in Python 2.3 that causes an
7651
exception when comparing empty files. Reported by Erik Toubro
7656
* Refactored inventory storage to insert a root entry at the top.
7660
* Start of shell-based black-box testing in test.sh.
11602
* Win32 fixes from Steve Brown.
11608
:Codename: "black cube"
11609
:Released: 2005-03-31
11614
* Default ignore list extended (see bzrlib/__init__.py).
11616
* Patterns in .bzrignore are now added to the default ignore list,
11617
rather than replacing it.
11619
* Ignore list isn't reread for every file.
11621
* More help topics.
11623
* Reinstate the 'bzr check' command to check invariants of the
11626
* New 'ignored' command lists which files are ignored and why;
11627
'deleted' lists files deleted in the current working tree.
11629
* Performance improvements.
11631
* New global --profile option.
11633
* Ignore patterns like './config.h' now correctly match files in
11634
the root directory only.
11640
:Released: 2005-03-26
11645
* More information from info command.
11647
* Can now say "bzr help COMMAND" for more detailed help.
11649
* Less file flushing and faster performance when writing logs and
11650
committing to stores.
11652
* More useful verbose output from some commands.
11657
* Fix inverted display of 'R' and 'M' during 'commit -v'.
11662
* Include a subset of ElementTree-1.2.20040618 to make
11663
installation easier.
11665
* Fix time.localtime call to work with Python 2.3 (the minimum
11672
:Released: 2005-03-22
11677
* First public release.
11679
* Storage of local versions: init, add, remove, rm, info, log,
11683
bzr ?.?.? (not released yet)
11684
############################
11686
:Codename: template
11689
Compatibility Breaks
11690
********************
7668
* Win32 fixes from Steve Brown.
7671
bzr-0.0.2 "black cube" 2005-03-31
7672
-----------------------------------
7676
* Default ignore list extended (see bzrlib/__init__.py).
7678
* Patterns in .bzrignore are now added to the default ignore list,
7679
rather than replacing it.
7681
* Ignore list isn't reread for every file.
7685
* Reinstate the 'bzr check' command to check invariants of the
7688
* New 'ignored' command lists which files are ignored and why;
7689
'deleted' lists files deleted in the current working tree.
7691
* Performance improvements.
7693
* New global --profile option.
7695
* Ignore patterns like './config.h' now correctly match files in
7696
the root directory only.
7699
bzr-0.0.1 2005-03-26
7700
---------------------
7704
* More information from info command.
7706
* Can now say "bzr help COMMAND" for more detailed help.
7708
* Less file flushing and faster performance when writing logs and
7709
committing to stores.
7711
* More useful verbose output from some commands.
7715
* Fix inverted display of 'R' and 'M' during 'commit -v'.
7719
* Include a subset of ElementTree-1.2.20040618 to make
7720
installation easier.
7722
* Fix time.localtime call to work with Python 2.3 (the minimum
7726
bzr-0.0.0.69 2005-03-22
7727
------------------------
7731
* First public release.
7733
* Storage of local versions: init, add, remove, rm, info, log,
11716
7737
vim: tw=74 ft=rst ff=unix