12
* By default, ``bzr status`` after a merge now shows just the pending
13
merge tip revisions. This improves the signal-to-noise ratio after
14
merging from trunk and completes much faster. To see all merged
15
revisions, use the new ``-v`` flag. (Ian Clatworthy)
17
* ``bzr log --line`` now shows any tags after the date and before
18
the commit message. If you have scripts which parse the output
19
from this command, you may need to adjust them accordingly.
22
* ``bzr log --short`` now shows any additional revision properties
23
after the date and before the commit message. Scripts that parse
24
output of the log command in this situation may need to adjust.
25
(Neil Martinsen-Burrell)
27
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
28
have been renamed ``development-wt5`` and ``development-wt5-rich-root``
29
respectively, given they are not ready for release in 1.12.
34
* Add support for filtering `bzr missing` on revisions. Remote revisions
35
can be filtered using `bzr missing -r -20..-10` and local revisions can
36
be filtered using `bzr missing --my-revision -20..-10`.
39
* ``bzr log -p`` displays the patch diff for each revision.
40
When logging a file, the diff only includes changes to that file.
41
(Ian Clatworthy, #202331, #227335)
43
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
44
A value of 0 (zero) means "show all nested merge revisions" while
45
a value of 1 (one) means "show just the top level". Values above
46
1 can be used to see a limited amount of nesting. That can be
47
useful for seeing the level or two below PQM submits for example.
48
To force the ``--short`` and ``--line`` formats to display all nested
49
merge revisions just like ``--long`` does by default, use a command
50
like ``bzr log --short -n0``. To display just the mainline using
51
``--long`` format, ``bzr log --long -n1``.
56
* ``bzr add`` more clearly communicates success vs failure.
59
* ``bzr init`` will now print a little less verbose output.
62
* ``bzr log`` is now much faster in many use cases, particularly
63
at incrementally displaying results and filtering by a
64
revision range. (Ian Clatworthy)
66
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
67
for each revision. The tags are shown comma-separated inside
68
``{}``. For short format, the tags appear at the end of line
69
before the optional ``[merge]`` indicator. For line format,
70
the tags appear after the date. (Ian Clatworthy)
72
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to a
73
specific revision of a branch. (Daniel Watkins, #183559)
75
* Progress bars now show the rate of activity for some sftp
76
operations, and they are drawn different. (Martin Pool, #172741)
78
* Progress bars now show the rate of activity for urllib and pycurl based
79
http client implementations. The operations are tracked at the socket
80
level for better precision.
83
* Rule-based preferences can now accept multiple patterns for a set of
84
rules. (Marius Kruger)
86
* The ``ancestor:`` revision spec will now default to referring to the
87
parent of the branch if no other location is given.
88
(Daniel Watkins, #198417)
90
* The debugger started as a result of setting ``$BZR_PDB`` works
91
around a bug in ``pdb``, http://bugs.python.org/issue4150. The bug
92
can cause truncated tracebacks in Python versions before 2.6.
95
* VirtualVersionedFiles now implements
96
``iter_lines_added_or_present_in_keys``. This allows the creation of
97
new branches based on stacked bzr-svn branches. (#311997)
101
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
103
(Anne Mohsen, Vincent Ladeuil, #314525)
105
* ``bzr log FILE`` now correctly shows mainline revisions merging
106
a change to FILE when the ``--short`` and ``--line`` log formats
107
are used. (Ian Clatworthy, #317417)
109
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
110
it existed in Y or X, even if the file has since been deleted or
111
renamed. If no range is given, the current/basis tree and
112
initial tree are searched in that order. More generally, log
113
now interprets filenames in their historical context.
114
(Ian Clatworthy, #175520)
116
* ``bzr status`` now reports nonexistent files and continues, then
117
errors (with code 3) at the end. (Karl Fogel, #306394)
119
* Don't require the present compression base in knits to be the same
120
when adding records in knits. (Jelmer Vernooij, #307394)
122
* Fix a problem with CIFS client/server lag on Windows colliding with
123
an invariant-per-process algorithm for generating AtomicFile names
124
(Adrian Wilkins, #304023)
126
* Many socket operations now handle EINTR by retrying the operation.
127
Previously EINTR was treated as an unrecoverable failure. There is
128
a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
131
* Support symlinks with non-ascii characters in the symlink filename.
132
(Jelmer Vernooij, #319323)
134
* There was a bug in how we handled resolving when a file is deleted
135
in one branch, and modified in the other. If there was a criss-cross
136
merge, we would cause the deletion to conflict a second time.
137
(Vincent Ladeuil, John Arbash Meinel)
139
* There was another bug in how we chose the correct intermediate LCA in
140
criss-cross merges leading to several kind of changes be incorrectly
142
(John Arbash Meinel, Vincent Ladeuil)
144
* Unshelve now handles deleted paths without crashing. (Robert Collins)
148
* Improved plugin developer documentation. (Martin Pool)
152
* ``ProgressBarStack`` is deprecated; instead use
153
``ui_factory.nested_progress_bar`` to create new progress bars.
155
* ForeignVcsMapping() now requires a ForeignVcs object as first
156
argument. (Jelmer Vernooij)
158
* ForeignVcsMapping.show_foreign_revid() has been moved to
159
ForeignVcs. (Jelmer Vernooij)
161
* Revision specifiers are now registered in
162
``bzrlib.revisionspec.revspec_registry``, and the old list of
163
revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
164
deprecated. (Jelmer Vernooij, #321183)
166
* The progress and UI classes have changed; the main APIs remain the
167
same but code that provides a new UI or progress bar class may
168
need to be updated. (Martin Pool)
174
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
175
terminal. It is sometimes desirable do override this default by forcing
176
bzr to use TextUIFactory. This can be achieved by setting the
177
BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
178
compile buffers, are such an example).
181
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
182
``(revision_id, depth, revno, end_of_merge)`` tuples.
185
* New ``Branch.dotted_revno_to_revision_id()`` and
186
``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
187
efficient way of doing the mapping.
190
* Refactor cmd_serve so that it's a little easier to build commands that
191
extend it, and perhaps even a bit easier to read. (Jonathan Lange)
193
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
194
formatters to retrict the output.
198
bzr 1.11 "Eyes up!" 2009-01-19
199
------------------------------
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 switch`` now takes a ``--revision`` option, to allow switching to
24
a specific revision of a branch. (Daniel Watkins, #183559)
26
* ``bzr update`` now takes a ``--revision`` argument. This lets you
27
change the revision of the working tree to any revision in the
28
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
31
* ``-Dbytes`` can now be used to display the total number of bytes
32
transferred for the current command. This information is always logged
33
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
35
* The ``suppress_warnings`` configuration option has been introduced and
36
accept the ``format_deprecation`` value to disable the corresponding
37
warning for repositories. It can be set to in either ``bazaar.conf``,
38
``locations.conf`` or ``branch.conf``.
39
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
45
* ``bzr export dir`` now requests all file content as a record stream,
46
rather than requsting the file content one file-at-a-time. This can make
47
exporting over the network significantly faster (54min => 9min in one
48
case). (John Arbash Meinel, #343218)
50
* ``bzr serve`` no longer slowly leaks memory. The compiled
51
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
52
free resources, and it should have been using ``__dealloc__``.
53
This will likely have an impact on any other process that is serving for
54
an extended period of time. (John Arbash Meinel, #494406)
56
* ``bzr switch -b`` can now create branches that are located using directory
57
services such as ``lp:``, even when the branch name doesn't contain a
58
'/'. (Neil Martinsen-Burrell, #495263)
60
* ``bzr unshelve`` has improved messages about what it is doing.
61
(Neil Martinsen-Burrell, #496917)
63
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
64
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
65
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
67
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
68
that caused some tests to fail when run in a non-default order.
69
Probably no user impact. (Martin Pool, #504102)
71
* FTP transports support Unicode paths by encoding/decoding them as utf8.
72
(Vincent Ladeuil, #472161)
74
* Give a clearer message if the lockdir disappears after being apparently
75
successfully taken. (Martin Pool, #498378)
77
* Listen to the SIGWINCH signal to update the terminal width.
78
(Vincent Ladeuil, #316357)
80
* The 2a format wasn't properly restarting autopacks when something
81
changed underneath it (like another autopack). Now concurrent
82
autopackers will properly succeed. (John Arbash Meinel, #495000)
84
* When operations update the working tree, all affected files should end
85
up with the same mtime. (eg. when versioning a generated file, if you
86
update the source and the generated file together, the generated file
87
should appear up-to-date.)
88
(John Arbash Meinel, Martin <gzlist>, #488724)
93
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
94
All the builtin commands now use ``add_cleanup`` rather than
95
``try``/``finally`` blocks where applicable as it is simpler and more
96
robust. (Andrew Bennetts)
98
* Push will now inform the user when they are trying to push to a foreign
99
VCS for which roundtripping is not supported, and will suggest them to
100
use dpush. (Jelmer Vernooij)
102
* The version of bzr being run is now written to the log file.
105
* Transport network activity indicator is shown more of the time when
106
Bazaar is doing network IO.
112
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
113
including discussions of installation, relevant plugins, security and
114
backup. (Neil Martinsen-Burrell)
116
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
119
* The User Reference is now presented as a series of topics.
120
Many of the included topics have link and format tweaks applied.
126
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
127
to be consistent with instances being lower case and classes being
128
CamelCase. For the features that were more likely to be used, we added a
129
deprecation thunk, but not all. (John Arbash Meinel)
131
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
132
by plugins - the original exceptions are now preserved. (Robert Collins)
134
* The Transport ``Server.tearDown`` method is now renamed to
135
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
136
our normal naming pattern, and to avoid confusion with Python's
137
``TestCase.tearDown``. (Martin Pool)
139
* ``WorkingTree.update`` implementations must now accept a ``revision``
145
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
146
objects but passes str objects straight through. This is used for
147
selftest but may be useful for diff and other operations that generate
148
mixed output. (Robert Collins)
150
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
151
plugins. (Jelmer Vernooij)
156
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
157
running all tests in the current module, once against a pure python
158
implementation, and once against an extension (pyrex/C) implementation.
159
It can be used to dramatically simplify the implementation of
160
``load_tests``. (John Arbash Meinel)
162
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
163
This permits features in testtools such as getUniqueInteger and
164
getUniqueString to be used. Because of this, testtools version 0.9.2 or
165
newer is now a dependency to run bzr selftest. Running with versions of
166
testtools less than 0.9.2 will cause bzr to error while loading the test
167
suite. (Robert Collins)
169
* The test progress bar no longer distinguishes tests that 'errored' from
170
tests that 'failed' - they're all just failures.
173
bzr 2.0.4 (not released yet)
174
############################
177
:2.0.4: smooth sailing
188
* ``bzr export dir`` now requests all file content as a record stream,
189
rather than requsting the file content one file-at-a-time. This can make
190
exporting over the network significantly faster (54min => 9min in one
191
case). (John Arbash Meinel, #343218)
193
* ``bzr serve`` no longer slowly leaks memory. The compiled
194
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
195
free resources, and it should have been using ``__dealloc__``.
196
This will likely have an impact on any other process that is serving for
197
an extended period of time. (John Arbash Meinel, #494406)
199
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
200
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
201
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
203
* Give a clearer message if the lockdir disappears after being apparently
204
successfully taken. (Martin Pool, #498378)
206
* The 2a format wasn't properly restarting autopacks when something
207
changed underneath it (like another autopack). Now concurrent
208
autopackers will properly succeed. (John Arbash Meinel, #495000)
210
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
211
the right time will get propagated, rather than silently failing to move
212
the block pointer. (John Arbash Meinel, Gareth White, #495023)
229
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
230
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
231
rather than an ``except ?:`` clause.) This should help prevent bugs like
232
bug #495023. (John Arbash Meinel)
238
:Codename: san francisco airport
241
The fourth beta release in the 2.1 series brings with it a significant
242
number of bugfixes (~20). The test suite is once again (finally) "green"
243
on Windows, and should remain that way for future releases. There are a
244
few performance related updates (faster upgrade and log), and several UI
245
tweaks. There has also been a significant number of tweaks to the runtime
246
documentation. 2.1.0b4 include everything from the 2.0.3 release.
252
* The BZR_SSH environmental variable may now be set to the path of a secure
253
shell client. If currently set to the value ``ssh`` it will now guess the
254
vendor of the program with that name, to restore the old behaviour that
255
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
256
string. (Martin <gzlist@googlemail.com>, #176292)
261
* ``bzr commit`` now has a ``--commit-time`` option.
262
(Alexander Sack, #459276)
264
* ``-Dhpss`` now increases logging done when run on the bzr server,
265
similarly to how it works on the client. (John Arbash Meinel)
267
* New option ``bzr unshelve --keep`` applies the changes and leaves them
268
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
270
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
271
respect a given terminal width. This can be useful when output is
272
redirected or in obscure cases where the default value is not
273
appropriate. Pagers can use it to get a better control of the line
277
* The new command ``bzr lp-mirror`` will request that Launchpad update its
278
mirror of a local branch. This command will only function if launchpadlib
286
* After renaming a file, the dirstate could accidentally reference
287
``source\\path`` rather than ``source/path`` on Windows. This might be a
288
source of some dirstate-related failures. (John Arbash Meinel)
290
* ``bzr commit`` now detects commit messages that looks like file names
291
and issues a warning.
292
(Gioele Barabucci, #73073)
294
* ``bzr ignore /`` no longer causes an IndexError. (Gorder Tyler, #456036)
296
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
297
(#325618, #484109, Marius Kruger)
299
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
300
files with conflicts (similar to ``--merge3``). The contents of the file
301
is a synthesis of all bases used for the merge.
302
(John Arbash Meinel, #40412)
304
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
306
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
307
(Robert Collins, #84659)
309
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
311
* Fix bug with redirected URLs over authenticated HTTP.
312
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
314
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
316
* Lots of bugfixes for the test suite on Windows. We should once again
317
have a test suite with no failures on Windows. (John Arbash Meinel)
319
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
320
variable but returns None if the terminal is not a tty (when output is
321
redirected for example). Also fixes its usage under OSes that doesn't
322
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
324
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
325
(John Arbash Meinel, Vincent Ladeuil, #492561)
327
* Terminate ssh subprocesses when no references to them remain, fixing
328
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
330
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
331
works for 2a format trees. Only files unaffected by content filters
332
will be hardlinked. (Andrew Bennetts, #408193)
334
* The new glob expansion on Windows would replace all ``\`` characters
335
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
336
etc. Now only change slashes if there is something being glob expanded.
337
(John Arbash Meinel, #485771)
339
* Use our faster ``KnownGraph.heads()`` functionality when computing the
340
new rich-root heads. This can cut a conversion time in half (mysql from
341
13.5h => 6.2h) (John Arbash Meinel, #487632)
343
* When launching a external diff tool via bzr diff --using, temporary files
344
are no longer created, rather, the path to the file in the working tree is
345
passed to the external diff tool. This allows the file to be edited if the
346
diff tool provides for this. (Gary van der Merwe, #490738)
348
* The launchpad-open command can now be used from a subdirectory of a
349
branch, not just from the root of the branch.
350
(Neil Martinsen-Burrell, #489102)
356
* ``bzr log`` is now faster. (Ian Clatworthy)
358
* ``bzr update`` provides feedback on which branch it is up to date with.
359
(Neil Martinsen-Burrell)
361
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
362
For details see the xml8 patch and heads() improvements.
365
* ``bzrlib.urlutils.local_path_from_url`` now accepts
366
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
369
* The progress bar now shows only a spinner and per-operation counts,
370
not an overall progress bar. The previous bar was often not correlated
371
with real overall operation progress, either because the operations take
372
nonlinear time, or because at the start of the operation Bazaar couldn't
373
estimate how much work there was to do. (Martin Pool)
378
* Lots of documentation tweaks for inline help topics and command help
384
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
386
* The Launchpad plugin now has a function ``login`` which will log in to
387
Launchpad with launchpadlib, and ``load_branch`` which will return the
388
Launchpad Branch object corresponding to a given Bazaar Branch object.
394
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
395
easier to handle what tests you want to run based on what modules can be
396
imported. (Rather than lots of custom-implemented features that were
397
basically copy-and-pasted.) (John Arbash Meinel)
399
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
400
``time.clock()`` when you want to do performance timing.
401
``time.time()`` is limited to 15ms resolution on Windows, but
402
``time.clock()`` gives CPU and not wall-clock time on other platforms.
405
* Several code paths that were calling ``Transport.get().read()`` have
406
been changed to the equalivent ``Transport.get_bytes()``. The main
407
difference is that the latter will explicitly call ``file.close()``,
408
rather than expecting the garbage collector to handle it. This helps
409
with some race conditions on Windows during the test suite and sftp
410
tests. (John Arbash Meinel)
415
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
416
unicode strings. (Michael Hudson, #464174)
422
:Codename: little italy
426
The third stable release of Bazaar has a small handful of bugfixes. As
427
expected, this has no internal or external compatibility changes versus
433
* ``bzr push --use-existing-dir`` no longer crashes if the directory
434
exists but contains an invalid ``.bzr`` directory.
435
(Andrew Bennetts, #423563)
437
* Content filters are now applied correctly after pull, merge and switch.
438
(Ian Clatworthy, #385879)
440
* Fix a potential segfault in the groupcompress hash map handling code.
441
When inserting new entries, if the final hash bucket was empty, we could
442
end up trying to access if ``(last_entry+1)->ptr == NULL``.
443
(John Arbash Meinel, #490228)
445
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
451
:Codename: after sprint recovery
454
This release was pushed up from its normal release cycle due to a
455
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
456
was caught before 2.1.0b2 was officially announced, the full changelog
457
includes both 2.1.0b3 and 2.1.0b2 changes.
459
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
460
the test suite now conforms to python's trunk enhanced semantics (skip,
461
etc.), and ``bzr info -v`` will now report the correct branch and repo
462
formats for Remote objects.
468
* Users can define a shelve editor to provide shelf functionality at a
469
granularity finer than per-patch-hunk. (Aaron Bentley)
474
* Fix for shell completion and short options. (Benoît PIERRE)
476
* Hooks daughter classes should always call the base constructor.
477
(Alexander Belchenko, Vincent Ladeuil, #389648)
479
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
481
* On Windows, do glob expansion at the command-line level (as is usually
482
done in bash, etc.) This means that *all* commands get glob expansion
483
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
484
parser, which allows us to know if a given section was quoted. It means
485
you can now do ``bzr ignore "*.py"``.
486
(John Arbash Meinel, #425510, #426410, #194450)
488
* Sanitize commit messages that come in from the '-m' flag. We translate
489
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
490
allow those because XML store silently translate it anyway. (The parser
491
auto-translates \r\n => \n in ways that are hard for us to catch.)
493
* Show correct branch and repository format descriptions in
494
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
496
* The fix for bug #186920 accidentally broke compatibility with python
497
2.4. (Vincent Ladeuil, #475585)
499
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
500
correctly sets ``self.inv_sha1`` to a sha1 string and
501
``self.new_inventory`` to an Inventory instance after calling
502
``self.finish_inventory()``. (Previously it accidently set both values
503
as a tuple on ``self.inv_sha1``. This was missed because
504
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
505
the sha1 from the repo directly. (John Arbash Meinel)
507
* Shelve command refuse to run if there is no real terminal.
508
(Alexander Belchenko)
510
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
511
Python level. (Martin Pool)
516
* Include Japanese translations for documentation (Inada Naoki)
518
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
519
(rather than user-interaction) data to stdout. This automatically
520
coordinates with progress bars or other terminal activity, and can be
522
(Martin Pool, 493944)
527
* Some of the core groupcompress functionality now releases the GIL before
528
operation. Similar to how zlib and bz2 operate without the GIL in the
529
core compression and decompression routines. (John Arbash Meinel)
534
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
535
more debugging of VFS access triggers. (Robert Collins)
537
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
538
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
540
* ``--parallel=fork`` is now compatible with --subunit.
541
(Robert Collins, Vincent Ladeuil, #419776)
543
* TestNotApplicable is now handled within the TestCase.run method rather
544
than being looked for within ``ExtendedTestResult.addError``. This
545
provides better handling with other ``TestResult`` objects, degrading to
546
sucess rather than error. (Robert Collins)
548
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
549
removed - it was empty and unused. (Robert Collins)
551
* UnavailableFeature is now handled within the TestCase.run method rather
552
than being looked for within addError. If the Result object does not
553
have an addNotSupported method, addSkip is attempted instead, and
554
failing that addSuccess. (Robert Collins)
556
* When a TestResult does not have an addSkip method, skipped tests are now
557
reported as successful tests, rather than as errors. This change is
558
to make it possible to get a clean test run with a less capable
559
TestResult. (Robert Collins)
566
:Codename: a load off my mind
569
This is our second feature-filled release since 2.0, pushing us down the
570
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
572
Key highlights in this release are: improved handling of
573
failures-during-cleanup for commit, fixing a long-standing bug with
574
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
575
behind proxies, and a new StaticTuple datatype, allowing us to reduce
576
memory consumption (50%) and garbage collector overhead (40% faster) for
579
* A new ``--concurrency`` option has been added as well as an associated
580
BZR_CONCURRENCY environment variable to specify the number of
581
processes that can be run concurrently when running ``bzr selftest``. The
582
command-line option overrides the environment variable if both are
583
specified. If none is specified. the number of processes is obtained
584
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
589
* ``bzr+http`` servers no longer give spurious jail break errors when
590
serving branches inside a shared repository. (Andrew Bennetts, #348308)
592
* Errors during commit are handled more robustly so that knock-on errors
593
are less likely to occur, and will not obscure the original error if
594
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
595
and similar errors. (Andrew Bennetts, #429747, #243391)
597
* Launchpad urls can now be resolved from behind proxies.
598
(Gordon Tyler, Vincent Ladeuil, #186920)
600
* Reduce the strictness for StaticTuple, instead add a debug flag
601
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
602
This way, most users won't see failures, but developers can improve
603
internals. (John Arbash Meinel, #471193)
605
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
606
files. (Aaron Bentley)
608
* Unicode paths are now handled correctly and consistently by the smart
609
server. (Andrew Bennetts, Michael Hudson, #458762)
614
* When reading index files, we now use a ``StaticTuple`` rather than a
615
plain ``tuple`` object. This generally gives a 20% decrease in peak
616
memory, and can give a performance boost up to 40% on large projects.
619
* Peak memory under certain operations has been reduced significantly.
620
(eg, 'bzr branch launchpad standalone' is cut in half)
626
* Filtered views user documentation upgraded to refer to format 2a
627
instead of pre-2.0 formats. (Ian Clatworthy)
632
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
634
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
635
``show_warning`` methods, which can be hooked by non-text UIs.
641
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
642
Dict (it only holds keys, but you can lookup the object located at a
643
given key). It has significantly reduced memory consumption versus the
644
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
645
used as the interning structure for StaticTuple objects.
648
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
649
the btree index parser and the chk map parser. This class functions
650
similarly to ``tuple`` objects. However, it can only point to a limited
651
collection of types. (Currently StaticTuple, str, unicode, None, bool,
652
int, long, float, but not subclasses). This allows us to remove it from
653
the garbage collector (it cannot be in a cycle), it also allows us to
654
intern the objects. In testing, this can reduce peak memory by 20-40%,
655
and significantly improve performance by removing objects from being
656
inspected by the garbage collector. (John Arbash Meinel)
658
* ``GroupCompressBlock._ensure_content()`` will now release the
659
``zlib.decompressobj()`` when the first request is for all of the
660
content. (Previously it would only be released if you made a request for
661
part of the content, and then all of it later.) This turns out to be a
662
significant memory savings, as a ``zstream`` carries around approx 260kB
663
of internal state and buffers. (For branching bzr.dev this drops peak
664
memory from 382MB => 345MB.) (John Arbash Meinel)
666
* When streaming content between ``2a`` format repositories, we now clear
667
caches from earlier versioned files. (So 'revisions' is cleared when we
668
start reading 'inventories', etc.) This can have a significant impact on
669
peak memory for initial copies (~200MB). (John Arbash Meinel)
675
:Codename: after the scare
678
The second in our "let's keep the stable bugfixes flowing" series. As
679
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
685
* Avoid "NoneType has no attribute st_mode" error when files disappear
686
from a directory while it's being read. (Martin Pool, #446033)
688
* Content filters are now applied correctly after revert.
691
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
693
* Fetching from stacked pre-2a repository via a smart server no longer
694
fails intermittently with "second push failed to complete".
695
(Andrew Bennetts, #437626)
697
* Fix typos left after test_selftest refactoring.
698
(Vincent Ladeuil, Matt Nordhoff, #461149)
700
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
701
(Andrew Bennetts, #445171)
703
* PreviewTree file names are not limited by the encoding of the temp
704
directory's filesystem. (Aaron Bentley, #436794)
709
* ``bzr log`` now read-locks branches exactly once, so makes better use of
710
data caches. (Andrew Bennetts)
715
* Filtered views user documentation upgraded to refer to format 2a
716
instead of pre-2.0 formats. (Ian Clatworthy)
722
:Codename: While the cat is away
725
This is the first development release in the new split "stable" and
726
"development" series. As such, the release is a snapshot of bzr.dev
727
without creating a release candidate first. This release includes a
728
fair amount of internal changes, with deprecated code being removed,
729
and several new feature developments. People looking for a stable code
730
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
731
present in 2.0.1 are present in 2.1.0b1.
733
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
734
finer control over the plugin search path via extended BZR_PLUGIN_PATH
735
syntax, visible warnings when extension modules fail to load, and improved
736
error handling during unlocking.
742
* Bazaar can now send mail through Apple OS X Mail.app.
745
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
746
specified in the URL. Paths starting with a path segment of ``~`` are
747
relative to the home directory of the user running the server, and paths
748
starting with ``~user`` are relative to the home directory of the named
749
user. For example, for a user "bob" with a home directory of
750
``/home/bob``, these URLs are all equivalent:
752
* ``bzr+ssh://bob@host/~/repo``
753
* ``bzr+ssh://bob@host/~bob/repo``
754
* ``bzr+ssh://bob@host/home/bob/repo``
756
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
757
home directories outside that directory will be accessible via this
760
This is a feature of ``bzr serve``, so pre-2.1 clients will
761
automatically benefit from this feature when ``bzr`` on the server is
762
upgraded. (Andrew Bennetts, #109143)
764
* Extensions can now be compiled if either Cython or Pyrex is available.
765
Currently Pyrex is preferred, but that may change in the future.
768
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
769
disable the user, site and core plugin directories.
770
(Vincent Ladeuil, #412930, #316192, #145612)
775
* Bazaar's native protocol code now correctly handles EINTR, which most
776
noticeably occurs if you break in to the debugger while connected to a
777
bzr+ssh server. You can now can continue from the debugger (by typing
778
'c') and the process continues. However, note that pressing C-\ in the
779
shell may still kill the SSH process, which is bug 162509, so you must
780
sent a signal to the bzr process specifically, for example by typing
781
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
783
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
784
filename will issue a warning and skip over those files.
785
(Robert Collins, #3918)
787
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
788
are present in the working tree. The configuration option ``dpush_strict``
789
can be used to set the default for this behavior.
790
(Vincent Ladeuil, #438158)
792
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
793
merges are present in the working tree.
794
(Vincent Ladeuil, #426344)
796
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
797
traceback. (Martin Pool, #109115)
799
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
800
as it is never built. (John Arbash Meinel, #430645)
802
* Don't restrict the command name used to run the test suite.
803
(Vincent Ladeuil, #419950)
805
* ftp transports were built differently when the kerberos python module was
806
present leading to obscure failures related to ASCII/BINARY modes.
807
(Vincent Ladeuil, #443041)
809
* Network streams now decode adjacent records of the same type into a
810
single stream, reducing layering churn. (Robert Collins)
812
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
813
file. (Aaron Bentley, #251532)
815
* Registry objects should not use iteritems() when asked to use items().
816
(Vincent Ladeuil, #430510)
818
* Weave based repositories couldn't be cloned when committers were using
819
domains or user ids embedding '.sig'. Now they can.
820
(Matthew Fuller, Vincent Ladeuil, #430868)
825
* Revision specifiers can now be given in a more DWIM form, without
826
needing explicit prefixes for specifiers like tags or revision id's.
827
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
829
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
830
compiled extensions can't be loaded. This typically indicates a
831
packaging or installation problem. In this case Bazaar will keep
832
running using pure-Python versions, but this may be substantially
833
slower. The warning can be disabled by setting
834
``ignore_missing_extensions = True`` in ``bazaar.conf``.
835
See also <https://answers.launchpad.net/bzr/+faq/703>.
836
(Martin Pool, #406113, #430529)
838
* Secondary errors that occur during Branch.unlock and Repository.unlock
839
no longer obscure the original error. These methods now use a new
840
decorator, ``only_raises``. This fixes many causes of
841
``TooManyConcurrentRequests`` and similar errors.
842
(Andrew Bennetts, #429747)
847
* Describe the new shell-like test feature. (Vincent Ladeuil)
849
* Help on hooks no longer says 'Not deprecated' for hooks that are
850
currently supported. (Ian Clatworthy, #422415)
855
* ``bzrlib.user_encoding`` has been removed; use
856
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
858
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
859
subclasses - the same as python's unittest module. (Robert Collins)
861
* ``diff._get_trees_to_diff`` has been renamed to
862
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
863
returns the old and new branches. (Gary van der Merwe)
865
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
868
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
869
now defaults to comparing to the basis tree. It now checks for pending
870
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
871
corresponding has_changes() calls. ``Merge.compare_basis``,
872
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
874
(Vincent Ladeuil, #440631)
876
* ``ProgressTask.note`` is deprecated.
882
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
883
repository or branch object is unlocked then relocked the same way.
886
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
887
mallocs while parsing the index (approx 3=>1 mallocs per key read).
888
This results in a 10% speedup while reading an index.
891
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
892
profiling in some situations like callbacks and generators easier.
898
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
899
be output for every test. Note that this is very verbose! (Robert Collins)
901
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
902
post_mortem to be triggered when a test failure occurs. (Robert Collins)
904
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
905
documentation in ``developers/testing.txt`` for details.
908
* Some tests could end up with the same id, that was dormant for
910
(Vincent Ladeuil, #442980)
912
* Stop showing the number of tests due to missing features in the test
913
progress bar. (Martin Pool)
915
* Test parameterisation now does a shallow copy, not a deep copy of the test
916
to be parameterised. This is not expected to break external use of test
917
parameterisation, and is substantially faster. (Robert Collins)
919
* Tests that try to open a bzr dir on an arbitrary transport will now
920
fail unless they have explicitly permitted the transport via
921
``self.permit_url``. The standard test factories such as ``self.get_url``
922
will permit the urls they provide automatically, so only exceptional
923
tests should need to do this. (Robert Collins)
925
* The break-in test no longer cares about clean shutdown of the child,
926
instead it is happy if the debugger starts up. (Robert Collins)
928
* The full test suite is expected to pass when the C extensions are not
929
present. (Vincent Ladeuil, #430749)
935
:Codename: Stability First
938
The first of our new ongoing bugfix-only stable releases has arrived. It
939
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
940
include any of the feature development in the 2.1.0 series.
946
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
947
filename will issue a warning and skip over those files.
948
(Robert Collins, #3918)
950
* bzr will attempt to authenticate with SSH servers that support
951
``keyboard-interactive`` auth but not ``password`` auth when using
952
Paramiko. (Andrew Bennetts, #433846)
954
* Fixed fetches from a stacked branch on a smart server that were failing
955
with some combinations of remote and local formats. This was causing
956
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
958
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
959
on branches via a smart server. (Andrew Bennetts, #389413)
961
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
962
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
963
assumed that ``abspath()`` returned a path that did not have a trailing
964
``/``, but that is not true when working at the root of the filesystem.
965
(John Arbash Meinel, Jason Spashett, #322807)
967
* Hide deprecation warnings for 'final' releases for python2.6.
968
(John Arbash Meinel, #440062)
970
* Improve the time for ``bzr log DIR`` for 2a format repositories.
971
We had been using the same code path as for <2a formats, which required
972
iterating over all objects in all revisions.
973
(John Arbash Meinel, #374730)
975
* Make sure that we unlock the tree if we fail to create a TreeTransform
976
object when doing a merge, and there is limbo, or pending-deletions
977
directory. (Gary van der Merwe, #427773)
979
* Occasional IndexError on renamed files have been fixed. Operations that
980
set a full inventory in the working tree will now go via the
981
apply_inventory_delta code path which is simpler and easier to
982
understand than dirstates set_state_from_inventory method. This may
983
have a small performance impact on operations built on _write_inventory,
984
but such operations are already doing full tree scans, so no radical
985
performance change should be observed. (Robert Collins, #403322)
987
* Retrieving file text or mtime from a _PreviewTree has good performance when
988
there are many changes. (Aaron Bentley)
990
* The CHK index pages now use an unlimited cache size. With a limited
991
cache and a large project, the random access of chk pages could cause us
992
to download the entire cix file many times.
993
(John Arbash Meinel, #402623)
995
* When a file kind becomes unversionable after being added, a sensible
996
error will be shown instead of a traceback. (Robert Collins, #438569)
1001
* Improved README. (Ian Clatworthy)
1003
* Improved upgrade documentation for Launchpad branches.
1011
:Codename: Instant Karma
1013
This release of Bazaar makes the 2a (previously 'brisbane-core') format
1014
the default when new branches or repositories are created. This format is
1015
substantially smaller and faster for many operations. Most of the work in
1016
this release focuses on bug fixes and stabilization, covering both 2a and
1017
previous formats. (See the Upgrade Guide for information on migrating
1020
This release also improves the documentation content and presentation,
1021
including adding Windows HtmlHelp manuals.
1023
The Bazaar team decided that 2.0 will be a long-term supported release,
1024
with bugfix-only 2.0.x releases based on it, continuing for at least six
1025
months or until the following stable release.
1027
Changes from 2.0.0rc2 to final
1028
******************************
1030
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
1031
that "want to happen on the 2.0.x stable series" versus things that want
1032
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1033
micro = 0.) (John Arbash Meinel)
1039
:2.0.0rc2: 2009-09-10
1044
* Added post_commit hook for mutable trees. This allows the keywords
1045
plugin to expand keywords on files changed by the commit.
1046
(Ian Clatworthy, #408841)
1051
* Bazaar's native protocol code now correctly handles EINTR, which most
1052
noticeably occurs if you break in to the debugger while connected to a
1053
bzr+ssh server. You can now can continue from the debugger (by typing
1054
'c') and the process continues. However, note that pressing C-\ in the
1055
shell may still kill the SSH process, which is bug 162509, so you must
1056
sent a signal to the bzr process specifically, for example by typing
1057
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1059
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
1060
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
1061
(Robert Collins, #416732)
1063
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
1064
format" (John Arbash Meinel, #424392)
1066
* ``bzr log stacked-branch`` shows the full log including
1067
revisions that are in the fallback repository. (Regressed in 2.0rc1).
1068
(John Arbash Meinel, #419241)
1070
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1071
traceback. (Martin Pool, #109115)
1073
* Conversion to 2a will create a single pack for all the new revisions (as
1074
long as it ran without interruption). This improves both ``bzr upgrade``
1075
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
1076
The autopack logic that occurs every 100 revisions during local
1077
conversions was not returning that pack's identifier, which resulted in
1078
the partial packs created during the conversion not being consolidated
1079
at the end of the conversion process. (Robert Collins, #423818)
1081
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
1082
Groups that are seen as 'underutilized' will be repacked on-the-fly.
1083
This means that when the source is fully packed, there is minimal
1084
overhead during the fetch, but if the source is poorly packed the result
1085
is a fairly well packed repository (not as good as 'bzr pack' but
1086
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
1088
* Fix a potential segmentation fault when doing 'log' of a branch that had
1089
ghosts in its mainline. (Evaluating None as a tuple is bad.)
1090
(John Arbash Meinel, #419241)
1092
* ``groupcompress`` sort order is now more stable, rather than relying on
1093
``topo_sort`` ordering. The implementation is now
1094
``KnownGraph.gc_sort``. (John Arbash Meinel)
1096
* Local data conversion will generate correct deltas. This is a critical
1097
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
1098
converting repositories. (Robert Collins, #422849)
1100
* Network streams now decode adjacent records of the same type into a
1101
single stream, reducing layering churn. (Robert Collins)
1103
* Prevent some kinds of incomplete data from being committed to a 2a
1104
repository, such as revisions without inventories, a missing chk_bytes
1105
record for an inventory, or a missing text referenced by an inventory.
1106
(Andrew Bennetts, #423506, #406687)
1111
* Fix assertion error about "_remember_remote_is_before" when pushing to
1112
older smart servers.
1113
(Andrew Bennetts, #418931)
1115
* Help on hooks no longer says 'Not deprecated' for hooks that are
1116
currently supported. (Ian Clatworthy, #422415)
1118
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
1119
user documentation. The HTML documentation is better broken up into
1120
topics. (Ian Clatworthy)
1122
* The developer and foreign language documents are now separated
1123
out so that searching in the HTML and CHM files produces more
1124
useful results. (Ian Clatworthy)
1126
* The main table of contents now provides links to the new Migration Docs
1127
and Plugins Guide. (Ian Clatworthy)
1133
:Codename: no worries
1134
:2.0.0rc1: 2009-08-26
1136
Compatibility Breaks
1137
********************
1139
* The default format for bzr is now ``2a``. This format brings many
1140
significant performance and size improvements. bzr can pull from
1141
any existing repository into a ``2a`` one, but can only transfer
1142
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
1143
has more information about this change. (Robert Collins)
1145
* On Windows auto-detection of Putty's plink.exe is disabled.
1146
Default SSH client for Windows is paramiko. User still can force
1147
usage of plink if explicitly set environment variable BZR_SSH=plink.
1148
(#414743, Alexander Belchenko)
1153
* ``bzr branch --switch`` can now switch the checkout in the current directory
1154
to the newly created branch. (Lukáš Lalinský)
1159
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1160
(Jason Spashett, #76616)
1162
* Fetches were being requested in 'groupcompress' order, but weren't
1163
recombining the groups. Thus they would 'fragment' to get the correct
1164
order, but not 'recombine' to actually benefit from it. Until we get
1165
recombining to work, switching to 'unordered' fetches avoids the
1166
fragmentation. (John Arbash Meinel, #402645)
1168
* Fix a pycurl related test failure on karmic by recognizing an error
1169
raised by newer versions of pycurl.
1170
(Vincent Ladeuil, #306264)
1172
* Fix a test failure on karmic by making a locale test more robust.
1173
(Vincent Ladeuil, #413514)
1175
* Fix IndexError printing CannotBindAddress errors.
1176
(Martin Pool, #286871)
1178
* Fix "Revision ... not present" errors when upgrading stacked branches,
1179
or when doing fetches from a stacked source to a stacked target.
1180
(Andrew Bennetts, #399140)
1182
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
1183
batches together small fetches from 2a repositories, rather than
1184
fetching only a few hundred bytes at a time.
1185
(Andrew Bennetts, #402657)
1190
* A better description of the platform is shown in crash tracebacks, ``bzr
1191
--version`` and ``bzr selftest``.
1192
(Martin Pool, #409137)
1194
* bzr can now (again) capture crash data through the apport library,
1195
so that a single human-readable file can be attached to bug reports.
1196
This can be disabled by using ``-Dno_apport`` on the command line, or by
1197
putting ``no_apport`` into the ``debug_flags`` section of
1199
(Martin Pool, Robert Collins, #389328)
1201
* ``bzr push`` locally on windows will no longer give a locking error with
1202
dirstate based formats. (Robert Collins)
1204
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
1205
(Robert Collins, #305006)
1207
* Commit of specific files no longer prevents using the iter_changes
1208
codepath. On 2a repositories, commit of specific files should now be as
1209
fast, or slightly faster, than a full commit. (Robert Collins)
1211
* The internal core code that handles specific file operations like
1212
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
1213
include the parent directories if they have altered, and when a
1214
directory stops being a directory its children are always included. This
1215
fixes a number of causes for ``InconsistentDelta`` errors, and permits
1216
faster commit of specific paths. (Robert Collins, #347649)
1221
* New developer documentation for content filtering.
1227
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
1228
classes changed to manage lock lifetime of the trees they open in a way
1229
consistent with reader-exclusive locks. (Robert Collins, #305006)
1237
:Codename: nein nein nein!
1240
This release fixes two small but worthwhile bugs relevant to users on
1241
Microsoft Windows: some commands that failed on with locking errors will
1242
now work, and a bug that caused poor performance after committing a file
1243
with line-ending conversion has now been fixed. It also fixes a bug in
1244
pushing to older servers.
1249
* Fixed a problem where using content filtering and especially end-of-line
1250
conversion will commit too many copies a file.
1251
(Martin Pool, #415508)
1253
* Fix assertion error about ``_remember_remote_is_before`` in
1254
``set_tags_bytes`` when pushing to older smart servers.
1255
(Andrew Bennetts, Alexander Belchenko, #418931)
1260
* ``bzr push`` locally on Windows will no longer give a locking error with
1261
dirstate based formats. (Robert Collins)
1263
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
1264
(Robert Collins, #305006)
1269
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
1270
classes changed to manage lock lifetime of the trees they open in a way
1271
consistent with reader-exclusive locks. (Robert Collins, #305006)
1273
* ``Tree.path_content_summary`` may return a size of None, when called on
1274
a tree with content filtering where the size of the canonical form
1275
cannot be cheaply determined. (Martin Pool)
1277
* When manually creating transport servers in test cases, a new helper
1278
``TestCase.start_server`` that registers a cleanup and starts the server
1279
should be used. (Robert Collins)
1284
Compatibility Breaks
1285
********************
1287
* Committing directly to a stacked branch from a lightweight checkout will
1288
no longer work. In previous versions this would appear to work but would
1289
generate repositories with insufficient data to create deltas, leading
1290
to later errors when branching or reading from the repository.
1291
(Robert Collins, bug #375013)
1299
* Fetching from 2a branches from a version-2 bzr protocol would fail to
1300
copy the internal inventory pages from the CHK store. This cannot happen
1301
in normal use as all 2a compatible clients and servers support the
1302
version-3 protocol, but it does cause test suite failures when testing
1303
downlevel protocol behaviour. (Robert Collins)
1305
* Fix a test failure on karmic by making a locale test more robust.
1306
(Vincent Ladeuil, #413514)
1308
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
1309
fully packed 2a repository. (Andrew Bennetts, #382463)
1311
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1312
(Jason Spashett, #76616)
1314
* Properly handle fetching into a stacked branch while converting the
1315
data, especially when there are also ghosts. The code was filling in
1316
parent inventories incorrectly, and also not handling when one of the
1317
parents was a ghost. (John Arbash Meinel, #402778, #412198)
1319
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
1320
inventory pages when appropriate (by falling back to the vfs stream
1321
source). (Andrew Bennetts, #406686)
1323
* StreamSource generates rich roots from non-rich root sources correctly
1324
now. (Andrew Bennetts, #368921)
1326
* When deciding whether a repository was compatible for upgrading or
1327
fetching, we previously incorrectly checked the default repository
1328
format for the bzrdir format, rather than the format that was actually
1329
present on disk. (Martin Pool, #408824)
1334
* A better description of the platform is shown in crash tracebacks, ``bzr
1335
--version`` and ``bzr selftest``.
1336
(Martin Pool, #409137)
1338
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
1339
smart server are more efficient now. They send inventory deltas rather
1340
than full inventories. The smart server has two new requests,
1341
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
1342
support this. (Andrew Bennetts, #374738, #385826)
1344
* Extracting the full ancestry and computing the ``merge_sort`` is now
1345
significantly faster. This effects things like ``bzr log -n0``. (For
1346
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
1347
(John Arbash Meinel)
1358
* ``-Dstrict_locks`` can now be used to check that read and write locks
1359
are treated properly w.r.t. exclusivity. (We don't try to take an OS
1360
read lock on a file that we already have an OS write lock on.) This is
1361
now set by default for all tests, if you have a test which cannot be
1362
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
1363
compatibility knob. (John Arbash Meinel)
1365
* InterDifferingSerializer is now only used locally. Other fetches that
1366
would have used InterDifferingSerializer now use the more network
1367
friendly StreamSource, which now automatically does the same
1368
transformations as InterDifferingSerializer. (Andrew Bennetts)
1370
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
1371
are implemented in pyrex and significantly faster. This is exposed along
1372
with ``CombinedGraphIndex.find_ancestry()`` as
1373
``VersionedFiles.get_known_graph_ancestry(keys)``.
1374
(John Arbash Meinel)
1376
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
1377
protocols. (Robert Collins)
1379
* The index code now has some specialized routines to extract the full
1380
ancestry of a key in a more efficient manner.
1381
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
1382
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
1388
* Install the test ssl certificate and key so that installed bzr
1389
can run the https tests. (Denys Duchier, #392401)
1395
:Codename: little traveller
1397
:1.18rc1: 2009-08-10
1399
This release of Bazaar marches on towards the 2.0 release in which the 2a
1400
'brisbane-core' format becomes generally recommended. Most of the work in
1401
this release now focusses on bug fixes and stabilization, covering both 2a
1402
and previous formats. There is a new text-mode interactive merge feature,
1403
a new guide to migration to 2a format in the user documentation, and
1404
pushing branches to a smart server is now much faster.
1406
The Bazaar team decided that 2.0 will be a long-term supported release,
1407
with bugfix-only releases based on it continuing for at least six months
1408
or until the following stable release.
1410
There are no changes from 1.18rc1 to 1.18.
1415
* ``bzr merge --interactive`` applies a user-selected portion of the
1416
merge. The UI is similar to ``shelve``. (Aaron Bentley)
1418
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
1419
``--unstacked`` to change stacking of a branch.
1420
(Martin Pool, #391411)
1425
* Annotating on a stacked branch will now succeed in simple scenarios.
1426
There are still some complex scenarios where it will fail (bug #399884)
1427
(John Arbash Meinel, #393366)
1429
* A progress bar is no longer left dangling when ``bzr selftest``
1430
completes, and the progress bar updates with zero latency so the
1431
displayed test name is always the one that's actually running.
1432
(Martin Pool, #123688)
1434
* Authenticating against an ssh server now uses ``auth_none`` to determine
1435
if password authentication is even supported. This fixes a bug where
1436
users would be prompted for a launchpad password, even though launchpad
1437
only supports publickey authentication. (John Arbash Meinel, #375867)
1439
* BranchBuilder now accepts timezone to avoid test failures in countries far
1440
from GMT. (Vincent Ladeuil, #397716)
1442
* ``bzr commit`` no longer saves the unversioning of missing files until
1443
the commit has completed on the branch. This means that aborting a
1444
commit that found a missing file will leave the tree unedited.
1445
(Robert Collins, #282402)
1447
* ``bzr mv`` no longer takes out branch locks, which allows it to work
1448
when the branch is readonly. (Robert Collins, #216541)
1450
* ``bzr revert .`` no longer generates an InconsistentDelta error when
1451
there are missing subtrees. (Robert Collins, #367632)
1453
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
1454
do to internal changes necessary to support this, older clients will
1455
fail when trying to insert them. For newer clients, the bundle can be
1456
used to apply the changes to any rich-root compatible format.
1457
(John Arbash Meinel, #393349)
1459
* Cope with FTP servers that don't support restart/append by falling back
1460
to reading and then rewriting the whole file, such as TahoeLAFS. (This
1461
fallback may be slow for some access patterns.) (Nils Durner, #294709)
1463
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
1464
external diff client. This at least allows supporting filenames that are
1465
not ascii, but are present in the current locale. Ideally we would be
1466
able to pass the Unicode path, but that would be client dependent.
1467
(John Arbash Meinel, #382709)
1469
* Fix a compile bug on Solaris having to do with const and
1470
pointer-to-pointers. (John Arbash Meinel, #408441)
1472
* Fixed a NameError that occurs when merging or pulling from a URL that
1473
causes a redirection loop when bzr tries to read a URL as a bundle.
1474
(Andrew Bennetts, #400847)
1476
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
1477
running send and similar commands on 2a formats.
1478
(Martin Pool, #408201)
1480
* Fix crash in some invocations of ``bzr status`` in format 2a.
1481
(Martin Pool, #403523)
1483
* Fixed export to existing directory: if directory is empty then export
1484
will succeed, otherwise it fails with error.
1485
(Alexander Belchenko, #406174)
1487
* Fixed spurious "Source branch does not support stacking" warning when
1488
pushing. (Andrew Bennetts, #388908)
1490
* Fixed spurious transport activity indicator appearing while tests are
1491
running. (Martin Pool, #343532)
1493
* Merge now correctly handles empty right-hand revision specs.
1494
(Aaron Bentley, #333961)
1496
* Renames to lexographically lower basenames in trees that have never been
1497
committed to will no longer corrupt the dirstate. This was caused by an
1498
bug in the dirstate update_minimal method. (Robert Collins, #395556)
1500
* Requests for unknown methods no longer cause the smart server to log
1501
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
1502
``do_end``. (Andrew Bennetts, #338561)
1504
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
1506
* Streaming from bzr servers where there is a chain of stacked branches
1507
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
1509
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
1510
always forces progress bars either on or off respectively. Otherwise,
1511
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
1512
bzr always uses the 'text' user interface when run as a command, so
1513
``BZR_USE_TEXT_UI`` is no longer needed.
1514
(Martin Pool, #339385, #387717)
1516
* The optional ``_knit_load_data_pyx`` C extension was never being
1517
imported. This caused significant slowdowns when reading data from
1518
repositories. (Andrew Bennetts, #405653)
1520
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
1521
supported at the moment on workingtree formats that can do content
1522
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
1523
bzr now says so, rather than just ignoring the option. (Martin Pool)
1525
* There was a bug in ``osutils.relpath`` that was only triggered on
1526
Windows. Essentially if you were at the root of a drive, and did
1527
something to a branch/repo on another drive, we would go into an
1528
infinite loop while trying to find a 'relative path'.
1529
(John Arbash Meinel, #394227)
1531
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
1532
were present in a parent tree but renamed in the working tree.
1533
(Robert Collins, #187207)
1538
* Can now rename/move files even if they have been removed from the inventory.
1541
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
1542
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
1543
than VFS methods. For example, pushes of small branches with tags take
1544
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
1546
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
1547
the same way that sending Ctrl-\\ does on other platforms.
1548
(John Arbash Meinel)
1553
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
1558
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
1559
need to subclass or create a specific class, or better yet the existing
1560
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
1561
user interaction at all, rather than trying to read from stdin but not
1562
writing any output, which would be strange if reading prompts or
1563
passwords. (Martin Pool)
1565
* New TransformPreview.commit() allows committing without a working tree.
1568
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
1571
* ProgressTasks now prefer to talk direct to their ProgressView not to the
1575
* ``WorkingTree._check`` now requires a references dict with keys matching
1576
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
1581
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
1582
reading the entries along the path, reducing work to lookup ids from
1583
paths. (Robert Collins)
1585
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
1586
as new a key which was already mapped. (Robert Collins)
1588
* Inventory delta application catches more cases of corruption and can
1589
prevent corrupt deltas from affecting consistency of data structures on
1590
disk. (Robert Collins)
1592
* --subunit support now adds timestamps if the subunit version supports
1593
it. (Robert Collins)
1595
* The Windows all-in-one installer now bundles the PyQt image format
1596
plugins, which allows previewing more images as part of 'qdiff'.
1597
(Alexander Belchenko)
1603
* Merge directive cherrypick tests must use the same root id.
1604
(Martin Pool, #409684)
1606
* Spurious failure in ``check`` tests on rich-root formats fixed.
1607
(Martin Pool, #408199)
1609
* The ``bzrlib.tests.TextTestRunner`` will no longer call
1610
``countTestsCases`` on the test being run. Progress information is
1611
instead handled by having the test passed in call ``result.progress``
1612
before running its contents. This improves the behaviour when using
1613
``TextTestRunner`` with test suites that don't support
1614
``countTestsCases``. (Robert Collins)
1617
bzr 1.17.1 (unreleased)
1618
#######################
1623
* The optional ``_knit_load_data_pyx`` C extension was never being
1624
imported. This caused significant slowdowns when reading data from
1625
knit format repositories. (Andrew Bennetts, #405653)
1630
:Codename: so-late-its-brunch
1631
:1.17rc1: 2009-07-13
1635
Bazaar continues to blaze a straight and shining path to the 2.0 release and
1636
the elevation of the ``2a`` beta format to the full glory of "supported and
1639
Highlights in this release include greatly reduced memory consumption during
1640
commits, faster ``ls``, faster ``annotate``, faster network operations if
1641
you're specifying a revision number and the final destruction of those
1642
annoying progress bar artifacts.
1645
Changes from 1.17rc1 to 1.17final
1646
*********************************
1648
* Change an extension to call the python ``frozenset()`` rather than the C
1649
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
1650
C api. (John Arbash Meinel, #399366)
1652
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
1653
``tools/generate_docs.py`` to allow everything to be built on Windows.
1654
(John Arbash Meinel, #399356)
1656
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
1657
directory before serving it. (Andrew Bennetts, #400535)
1660
Compatibility Breaks
1661
********************
1663
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
1664
instead of "product" which is the correct Launchpad terminology. The
1665
--product option is deprecated and users should switch to using --project.
1666
(Neil Martinsen-Burrell, #238764)
1672
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
1673
are present in the working tree (if one is present) and no revision is
1674
specified. The configuration option ``push_strict`` can be used to set the
1675
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
1677
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
1678
show revision info for the working tree instead of the branch.
1679
(Matthew Fuller, John Arbash Meinel)
1681
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
1682
are present in the working tree and no revision is specified. The
1683
configuration option ``send_strict`` can be used to set the default for this
1685
(Vincent Ladeuil, #206577)
1687
* ``bzr switch --create-branch/-b`` can now be used to create and switch
1688
to a new branch. Supplying a name without a ``/`` will create the branch
1689
relative to the existing branch. (similar to how ``bzr switch name``
1690
works when the branch already exists.) (John Arbash Meinel)
1696
* Accept uppercase "Y/N" to prompts such as from break lock.
1697
(#335182, Tim Powell, Martin Pool)
1699
* Add documentation about diverged branches and how to fix them in the
1700
centralized workflow with local commits. Mention ``bzr help
1701
diverged-branches`` when a push fails because the branches have
1702
diverged. (Neil Martinsen-Burrell, #269477)
1704
* Annotate would sometimes 'latch on' to trivial lines, causing important
1705
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
1707
* Automatic format upgrades triggered by default stacking policies on a
1708
1.16rc1 (or later) smart server work again.
1709
(Andrew Bennetts, #388675)
1711
* Avoid progress bar artifacts being left behind on the screen.
1712
(Martin Pool, #321935)
1714
* Better message in ``bzr split`` error suggesting a rich root format.
1715
(Neil Martinsen-Burrell, #220067)
1717
* ``Branch.set_append_revisions_only`` now works with branches on a smart
1718
server. (Andrew Bennetts, #365865)
1720
* By default, ``bzr branch`` will fail if the target directory exists, but
1721
does not already have a control directory. The flag ``--use-existing-dir``
1722
will allow operation to proceed. (Alexander Belchenko, #307554)
1724
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
1727
* Fetch between repositories does not error if they have inconsistent data
1728
that should be irrelevant to the fetch operation. (Aaron Bentley)
1730
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
1731
of a remote repository.
1732
(Jelmer Vernooij, #332194)
1734
* Fix bug in decoding v3 smart server messages when receiving multiple
1735
lots of excess bytes after an end-of-message.
1738
* Force deletion of readonly files during merge, update and other tree
1740
(Craig Hewetson, Martin Pool, #218206)
1742
* Force socket shutdown in threaded http test servers to avoid client hangs
1743
(pycurl). (Vincent Ladeuil, #383920).
1745
* ``LRUCache`` will maintain the linked list pointers even if a nodes
1746
cleanup function raises an exception. (John Arbash Meinel, #396838)
1748
* Progress bars are now suppressed again when the environment variable
1749
``BZR_PROGRESS_BAR`` is set to ``none``.
1750
(Martin Pool, #339385)
1752
* Reduced memory consumption during ``bzr commit`` of large files. For
1753
pre 2a formats, should be down to ~3x the size of a file.
1754
For ``--2a`` format repositories, it is down to the size of the file
1755
content plus the size of the compressed text. Related to bug #109114.
1756
(John Arbash Meinel)
1758
* Set hidden attribute on .bzr directory below unicode path should never
1759
fail with error. The operation should succeed even if bzr unable to set
1760
the attribute. (Alexander Belchenko, related to bug #335362).
1762
* Stacking will no longer accept requests to stack on the same
1763
branch/repository. Existing branches that incorrectly reference the same
1764
repository in a stacking configuration will now raise
1765
UnstackableLocationError when the branch is opened. This can be fixed by
1766
removing the stacking location inside ``.bzr/branch``.
1767
(Robert Collins, #376243)
1769
* The ``log+`` decorator, useful in debugging or profiling, could cause
1770
"AttributeError: 'list' object has no attribute 'next'". This is now
1771
fixed. The log decorator no longer shows the elapsed time or transfer
1772
rate because they're available in the log prefixes and the transport
1773
activity display respectively.
1774
(Martin Pool, #340347)
1776
* Unshelve works correctly when multiple zero-length files are present on
1777
the shelf. (Aaron Bentley, #363444)
1779
* Progress bars no longer show the network transport scheme or direction.
1782
* launchpad-login now respects the 'verbose' option.
1783
(Jonathan Lange, #217031)
1789
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
1790
possible to write a deprecation wrapper, but the variable will be
1791
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
1792
instead. (Alexander Belchenko)
1794
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
1795
three new hook points: ``get_command``, ``get_missing_command`` and
1796
``list_commands``, which allow just-in-time command name provision
1797
rather than requiring all command names be known a-priori.
1800
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
1801
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
1803
* ``graph.KnownGraph`` has been added. This is a class that can give
1804
answers to ``heads()`` very quickly. However, it has the assumption that
1805
the whole graph has already been loaded. This is true during
1806
``annotate`` so it is used there with good success (as much as 2x faster
1807
for files with long ancestry and 'cherrypicked' changes.)
1808
(John Arbash Meinel, Vincent Ladeuil)
1810
* OS file locks are now taken out using ``CreateFile`` rather than
1811
``LockFileEx`` on Windows. The locking remains exclusive with
1812
``LockFileEx`` but now it also works on older versions of Windows (such
1813
as Win98). (Martin <gzlist>)
1815
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
1816
than the ``Packer`` code. The user visible change is that we now
1817
properly fetch the minimum number of texts for non-smart fetching.
1818
(John Arbash Meinel)
1821
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
1822
the repository as a single string, rather than a list of lines. This can
1823
improve memory overhead and performance of committing large files.
1824
(Currently a private api, used only by commit). (John Arbash Meinel)
1830
* ``bzr annotate`` can now be significantly faster. The time for
1831
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
1832
histories and lots of 'duplicate insertions' will be improved more than
1833
others. (John Arbash Meinel, Vincent Ladeuil)
1835
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
1836
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
1837
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
1839
* Improve "Path(s) are not versioned" error reporting for some commands.
1842
* Initial commit performance in ``--2a`` repositories has been improved by
1843
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
1845
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
1846
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
1847
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
1849
* ``revision-info`` now properly aligns the revnos/revids in the output
1850
and doesn't traceback when given revisions not in the current branch.
1851
Performance is also significantly improved when requesting multiple revs
1852
at once. (Matthew Fuller, John Arbash Meinel)
1854
* Tildes are no longer escaped by Transports. (Andy Kilner)
1860
* Avoid bad text wrapping in generated documentation. Slightly better
1861
formatting in the user reference.
1862
(Martin Pool, #249908)
1864
* Minor clarifications to the help for End-Of-Line conversions.
1870
* Removed overspecific error class ``InvalidProgressBarType``.
1873
* The method ``ProgressView._show_transport_activity`` is now
1874
``show_transport_activity`` because it's part of the contract between
1875
this class and the UI. (Martin Pool)
1881
:Released: 2009-06-26
1883
End user testing of the 2a format revealed two serious bugs. The first,
1884
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
1885
This meant that commits or pushes to 2a-format repositories failed
1888
The second bug, #390563, caused the smart server to raise AbsentContentFactory
1889
when streaming 2a stacked 2a-format branches. This particularly affected
1890
branches stored on Launchpad in the 2a format.
1892
Both of these bugs cause command failures only, neither of them cause data
1893
corruption or data loss. And, of course, both of these bugs are now fixed.
1898
* We now properly request a more minimal set of file texts when fetching
1899
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
1901
* Repositories using CHK pages (which includes the new 2a format) will no
1902
longer error during commit or push operations when an autopack operation
1903
is triggered. (Robert Collins, #365615)
1905
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
1906
of referenced nodes rather than the *union* to determine what
1907
uninteresting pages we still need to look at. Prior to this,
1908
incrementally pushing to stacked branch would push the minimal data, but
1909
fetching everything would request extra texts. There are some unhandled
1910
cases wrt trees of different depths, but this fixes the common cases.
1911
(Robert Collins, John Arbash Meinel, #390563)
1913
* ``GroupCompress`` repositories now take advantage of the pack hints
1914
parameter to permit cross-format fetching to incrementally pack the
1915
converted data. (Robert Collins)
1917
* ``Repository.commit_write_group`` now returns opaque data about what
1918
was committed, for passing to the ``Repository.pack``. Repositories
1919
without atomic commits will still return None. (Robert Collins)
1921
* ``Repository.pack`` now takes an optional ``hint`` parameter
1922
which will support doing partial packs for repositories that can do
1923
that. (Robert Collins)
1925
* RepositoryFormat has a new attribute 'pack_compresses' which is True
1926
when doing a pack operation changes the compression of content in the
1927
repository. (Robert Collins)
1929
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
1930
``Repository.pack`` with the hint returned by
1931
``Repository.commit_write_group`` if the formats were different and the
1932
repository can increase compression by doing a pack operation.
1933
(Robert Collins, #376748)
1938
:Codename: yesterday-in-california
1939
:1.16rc1: 2009-06-11
1942
This version of Bazaar contains the beta release of the new ``2a`` repository
1943
format, suitable for testing by fearless, advanced users. This format or an
1944
updated version of it will become the default format in Bazaar 2.0. Please
1945
read the NEWS entry before even thinking about upgrading to the new format.
1947
Also included are speedups for many operations on huge projects, a bug fix for
1948
pushing stacked new stacked branches to smart servers and the usual bevy of
1949
bug fixes and improvements.
1952
Changes from 1.16rc1 to 1.16final
1953
*********************************
1955
* Fix the nested tree flag check so that upgrade from development formats to
1956
2a can work correctly.
1957
(Jelmer Vernooij, #388727)
1959
* Automatic format upgrades triggered by default stacking policies on a
1960
1.16rc1 (or later) smart server work again.
1961
(Andrew Bennetts, #388675)
1964
Compatibility Breaks
1965
********************
1967
* Display prompt on stderr (instead of stdout) when querying users so
1968
that the output of commands can be safely redirected.
1969
(Vincent Ladeuil, #376582)
1975
* A new repository format ``2a`` has been added. This is a beta release
1976
of the brisbane-core (aka group-compress) project. This format now
1977
suitable for wider testing by advanced users willing to deal with some
1978
bugs. We would appreciate test reports, either positive or negative.
1979
Format 2a is substantially smaller and faster for many operations on
1980
many trees. This format or an updated version will become the default
1983
This is a rich-root format, so this repository format can be used with
1984
bzr-svn. Bazaar branches in previous non-rich-root formats can be
1985
converted (including by merge, push and pull) to format 2a, but not vice
1986
versa. We recommend upgrading previous development formats to 2a.
1988
Upgrading to this format can take considerable time because it expands
1989
and more concisely repacks the full history.
1991
If you use stacked branches, you must upgrade the stacked branches
1992
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
1994
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
1995
but using a Revision serializer using bencode rather than XML.
1996
(Jelmer Vernooij, John Arbash Meinel)
1998
* mail_client=claws now supports --body (and message body hooks). Also uses
1999
configured from address. (Barry Warsaw)
2005
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
2006
bugs with stacking and non default formats.)
2007
(John Arbash Meinel, #373455)
2009
* ``--development6-rich-root`` delays generating a delta index for the
2010
first object inserted into a group. This has a beneficial impact on
2011
``bzr commit`` since each committed texts goes to its own group. For
2012
committing a 90MB file, it drops peak memory by about 200MB, and speeds
2013
up commit from 7s => 4s. (John Arbash Meinel)
2015
* Numerous operations are now faster for huge projects, i.e. those
2016
with a large number of files and/or a large number of revisions,
2017
particularly when the latest development format is used. These
2018
operations (and improvements on OpenOffice.org) include:
2020
* branch in a shared repository (2X faster)
2021
* branch --no-tree (100X faster)
2027
* Pyrex version of ``bencode`` support. This provides optimized support
2028
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
2029
``bzrlib.utils.bencode`` is now deprecated.
2030
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
2036
* Bazaar can now pass attachment files to the mutt email client.
2037
(Edwin Grubbs, #384158)
2039
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
2040
see which files can also be added. (Jason Spashett, #76616)
2042
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
2043
Also, the ``Branch.revision_history()`` API now works in the same
2044
situation. (Andrew Bennetts, #380314)
2046
* ``bzr serve`` on Windows no longer displays a traceback simply because a
2047
TCP client disconnected. (Andrew Bennetts)
2049
* Clarify the rules for locking and fallback repositories. Fix bugs in how
2050
``RemoteRepository`` was handling fallbacks along with the
2051
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
2053
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
2054
branch. Not often triggered, because it required ghosts to be part of
2055
the fetched revisions, not in the stacked-on ancestry.
2056
(John Arbash Meinel)
2058
* Fix status and commit to work with content filtered trees, addressing
2059
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
2061
* Fix problem of "directory not empty" when contending for a lock over
2062
sftp. (Martin Pool, #340352)
2064
* Fix rule handling so that eol is optional, not mandatory.
2065
(Ian Clatworthy, #379370)
2067
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
2068
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
2069
1.16, but required changes to the network protocol, so the
2070
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
2071
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
2072
still work with a 1.16 server as they will fallback to slower (and
2074
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
2076
* Reconcile can now deal with text revisions that originated in revisions
2077
that are ghosts. (Jelmer Vernooij, #336749)
2079
* Support cloning of branches with ghosts in the left hand side history.
2080
(Jelmer Vernooij, #248540)
2082
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
2083
helpful message to the trace file, unless the temp directory really was
2084
removed (which would be very strange). Since the diff operation has
2085
succeeded from the user's perspective, no output is written to stderr
2086
or stdout. (Maritza Mendez, #363837)
2088
* Translate errors received from a smart server in response to a
2089
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2090
This was causing tracebacks even for mundane errors like
2091
``PermissionDenied``. (Andrew Bennetts, #381329)
2096
* Added directory structure and started translation of docs in Russian.
2097
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
2098
Volodymyr Kotulskyi)
2103
* Added osutils.parent_directories(). (Ian Clatworthy)
2105
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
2106
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
2107
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
2109
* ``graph.StackedParentsProvider`` is now a public API, replacing
2110
``graph._StackedParentsProvider``. The api is now considered stable and ready
2111
for external users. (Gary van der Merwe)
2113
* ``bzrlib.user_encoding`` is deprecated in favor of
2114
``get_user_encoding``. (Alexander Belchenko)
2116
* TreeTransformBase no longer assumes that limbo is provided via disk.
2117
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
2122
* Remove ``weave.py`` script for accessing internals of old weave-format
2123
repositories. (Martin Pool)
2128
* ``make check`` no longer repeats the test run in ``LANG=C``.
2129
(Martin Pool, #386180)
2131
* The number of cores is now correctly detected on OSX. (John Szakmeister)
2133
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
2135
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
2140
:1.15rc1: 2009-05-16
2144
The smart server will no longer raise 'NoSuchRevision' when streaming content
2145
with a size mismatch in a reconstructed graph search. New command ``bzr
2146
dpush``. Plugins can now define their own annotation tie-breaker when two
2147
revisions introduce the exact same line.
2149
Changes from 1.15.1 to 1.15.2
2150
*****************************
2152
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
2153
(Alexander Belchenko)
2155
Changes from 1.15final to 1.15.1
2156
*********************************
2158
* Translate errors received from a smart server in response to a
2159
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2160
This was causing tracebacks even for mundane errors like
2161
``PermissionDenied``. (Andrew Bennetts, #381329)
2163
Changes from 1.15rc1 to 1.15final
2164
*********************************
2168
Compatibility Breaks
2169
********************
2171
* ``bzr ls`` is no longer recursive by default. To recurse, use the
2172
new ``-R`` option. The old ``--non-recursive`` option has been removed.
2173
If you alias ``ls`` to ``ls -R``, you can disable recursion using
2174
``--no-recursive`` instead. (Ian Clatworthy)
2179
* New command ``bzr dpush`` that can push changes to foreign
2180
branches (svn, git) without setting custom bzr-specific metadata.
2183
* The new development format ``--development6-rich-root`` now supports
2184
stacking. We chose not to use a new format marker, since old clients
2185
will just fail to open stacked branches, the same as if we used a new
2186
format flag. (John Arbash Meinel, #373455)
2188
* Plugins can now define their own annotation tie-breaker when two revisions
2189
introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
2190
Be aware though that this is temporary, private (as indicated by the leading
2191
'_') and a first step to address the problem. (Vincent Ladeuil, #348459)
2193
* New command ``bzr dpush`` that can push changes to foreign
2194
branches (svn, git) without setting custom bzr-specific metadata.
2197
* ``bzr send`` will now check the ``child_submit_format`` setting in
2198
the submit branch to determine what format to use, if none was
2199
specified on the command-line. (Jelmer Vernooij)
2204
* -Dhpss output now includes the number of VFS calls made to the remote
2205
server. (Jonathan Lange)
2207
* ``--coverage`` works for code running in threads too.
2208
(Andrew Bennets, Vincent Ladeuil)
2210
* ``bzr pull`` now has a ``--local`` option to only make changes to the
2211
local branch, and not the bound master branch.
2212
(Gary van der Merwe, #194716)
2214
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
2219
* Adding now works properly when path contains a symbolic link.
2220
(Geoff Bache, #183831)
2222
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
2224
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
2225
line, and the other side modifies the line. (John Arbash Meinel, #328171)
2227
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
2228
(Martin von Gagern, #248932)
2230
* ``bzr send`` works to send emails again using MAPI.
2231
(Neil Martinsen-Burrell, #346998)
2233
* Check for missing parent inventories in StreamSink. This prevents
2234
incomplete stacked branches being created by 1.13 bzr:// and
2235
bzr+ssh:// clients (which have bug #354036). Instead, the server now
2236
causes those clients to send the missing records. (Andrew Bennetts)
2238
* Correctly handle http servers proposing multiple authentication schemes.
2239
(Vincent Ladeuil, #366107)
2241
* End-Of-Line content filters are now loaded correctly.
2242
(Ian Clatworthy, Brian de Alwis, #355280)
2244
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
2245
longer than 64KiB. (John Arbash Meinel, #364900)
2247
* Fix TypeError in running ``bzr break-lock`` on some URLs.
2248
(Alexander Belchenko, Martin Pool, #365891)
2250
* Non-recursive ``bzr ls`` now works properly when a path is specified.
2251
(Jelmer Vernooij, #357863)
2253
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
2254
(Vincent Ladeuil, #367726)
2256
* Several bugs related to unicode symlinks have been fixed and the test suite
2257
enhanced to better catch regressions for them. (Vincent Ladeuil)
2259
* The smart server will no longer raise 'NoSuchRevision' when streaming
2260
content with a size mismatch in a reconstructed graph search: it assumes
2261
that the client will make sure it is happy with what it got, and this
2262
sort of mismatch is normal for stacked environments.
2263
bzr 1.13.0/1 will stream from unstacked branches only - in that case not
2264
getting all the content expected would be a bug. However the graph
2265
search is how we figured out what we wanted, so a mismatch is both odd
2266
and unrecoverable without starting over, and starting over will end up
2267
with the same data as if we just permitted the mismatch. If data is
2268
gc'd, doing a new search will find only the truncated data, so sending
2269
only the truncated data seems reasonable. bzr versions newer than this
2270
will stream from stacked branches and check the stream to find missing
2271
content in the stacked-on branch, and thus will handle the situation
2272
implicitly. (Robert Collins, #360791)
2274
* Upgrading to, or fetching into a 'rich-root' format will now correctly
2275
set the root data the same way that reconcile does.
2276
(Robert Collins, #368921)
2278
* Using unicode Windows API to obtain command-line arguments.
2279
(Alexander Belchenko, #375934)
2287
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
2288
instead of ``InstallFailed`` when they detect a missing revision.
2289
``InstallFailed`` itself has been deleted. (Jonathan Lange)
2291
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
2292
arguments from ``osutils.get_unicode_argv()`` which has proper support
2293
for unicode arguments on windows. Further, the supplied arguments are now
2294
required to be unicode strings, rather than user_encoded strings.
2295
(Alexander Belchenko)
2300
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
2301
class and will call ``_set_parent_location`` after doing unicode
2302
encoding. (Robert Collins)
2304
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
2305
``Branch.set_parent_location`` removing further VFS operations.
2308
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
2309
or similar when the dir supports configuration settings. The base class
2310
defaults to None. There is a matching new server verb
2311
``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
2312
configuration. (Robert Collins)
2314
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
2315
called before the first test is started, ``done`` called after the last
2316
test completes, and a new parameter ``strict``. (Robert Collins)
2318
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
2319
VFS operations are started on a smart server repository. This should not
2320
occur on regular push and pull operations, and is a key indicator for
2321
performance regressions. (Robert Collins)
2323
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
2324
cause mismatched physical locks to cause test errors rather than just
2325
reporting to the screen. (Robert Collins)
2327
* -Dprogress will cause pdb to start up if a progress view jumps
2328
backwards. (Robert Collins)
2330
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
2331
are now be able to provide credentials if obtaining credentials
2332
via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij,
2333
Vincent Ladeuil, #321918)
2335
* New hook ``Lock.lock_broken`` which runs when a lock is
2336
broken. This is mainly for testing that lock/unlock are
2337
balanced in tests. (Vincent Ladeuil)
2339
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
2340
alter a body for the message produced by ``bzr send``.
2342
* New smart server verb ``BzrDir.initialize_ex`` which implements a
2343
refactoring to the core of clone allowing less round trips on new
2344
branches. (Robert Collins)
2346
* New method ``Tags.rename_revisions`` that can rename revision ids tags
2347
are pointing at. (Jelmer Vernooij)
2349
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
2354
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
2355
tests. Using ``-Dlock`` will turn the related failures into warnings.
2356
(Vincent Ladeuil, Robert Collins)
2360
:Codename: brisbane-core
2361
:1.14rc1: 2009-04-06
2362
:1.14rc2: 2009-04-19
2366
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
2367
keyword templating (via the bzr-keywords plugin) and generic content filtering.
2368
End-of-line conversion is now supported for formats supporting content
2371
Changes from 1.14final to 1.14.1
2372
********************************
2374
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
2376
Changes from 1.14rc2 to 1.14final
2377
*********************************
2379
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
2380
longer than 64KiB. (John Arbash Meinel, #364900)
2382
Changes from 1.14rc1 to 1.14rc2
2383
*******************************
2385
* Fix for bug 358037 Revision not in
2386
bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis,
2389
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
2390
attribute 'get_bytes_as' exception while pulling from Launchpad
2391
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
2393
* Fix for bug 355280 eol content filters are never loaded and thus never
2394
applied (Brian de Alwis, Ian Clatworthy)
2396
* bzr.dev -r4280 Change _fetch_uses_deltas = False for CHK repos until we can
2397
write a better fix. (John Arbash Meinel, Robert Collins)
2399
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
2400
(Marius Kruger, Ian Clatworthy)
2402
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14
2403
(Andrew Bennetts, Robert Collins)
2405
Compatibility Breaks
2406
********************
2408
* A previously disabled code path to accelerate getting configuration
2409
settings from a smart server has been reinstated. We think this *may*
2410
cause a incompatibility with servers older than bzr 0.15. We intend
2411
to issue a point release to address this if it turns out to be a
2412
problem. (Robert Collins, Andrew Bennetts)
2414
* bzr no longer autodetects nested trees as 'tree-references'. They
2415
must now be explicitly added tree references. At the commandline, use
2416
join --reference instead of add. (Aaron Bentley)
2418
* The ``--long`` log format (the default) no longer shows merged
2419
revisions implicitly, making it consistent with the ``short`` and
2420
``line`` log formats. To see merged revisions for just a given
2421
revision, use ``bzr log -n0 -rX``. To see every merged revision,
2422
use ``bzr log -n0``. (Ian Clatworthy)
2427
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
2428
(EOL) conversions, keyword templating (via the bzr-keywords plugin)
2429
and generic content filtering. These formats replace the experimental
2430
``development-wt5`` and ``development-wt5-rich-root`` formats
2431
respectively, but have support for filtered views disabled.
2434
* New ``mv --auto`` option recognizes renames after they occur.
2437
* ``bzr`` can now get passwords from stdin without requiring a controlling
2438
terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
2440
* ``bzr log`` now supports filtering of multiple files and directories
2441
and will show changes that touch any of them. Furthermore,
2442
directory filtering now shows the changes to any children of that
2443
directory, not just the directory object itself.
2444
(Ian Clatworthy, #97715)
2446
* ``bzr shelve`` can now apply changes without storing anything on the
2447
shelf, via the new --destroy option. (Aaron Bentley)
2449
* ``bzr send`` now accepts --body to specify an initial message body.
2452
* ``bzr xxx --usage`` where xxx is a command now shows a usage
2453
message and the options without the descriptive help sections
2454
(like Description and Examples). A message is also given
2455
explaining how to see the complete help, i.e. ``bzr help xxx``.
2458
* Content filters can now be used to provide custom conversion
2459
between the canonical format of content (i.e. as stored) and
2460
the convenience format of content (i.e. as created in working
2461
trees). See ``bzr help content-filters`` for further details.
2462
(Ian Clatworthy, Alexander Belchenko)
2464
* End-of-line conversion is now supported for formats supporting
2465
content filtering. See ``bzr help eol`` for details.
2468
* Newly-blessed `join` command allows combining two trees into one.
2474
* A new format name alias ``default-rich-root`` has been added and
2475
points at the closest relative of the default format that supports
2476
rich roots. (Jelmer Vernooij, #338061)
2478
* Branching from a stacked branch using ``bzr*://`` will now stream
2479
the data when the target repository does not need topological
2480
ordering, reducing round trips and network overhead. This uses the
2481
existing smart server methods added in 1.13, so will work on any
2482
1.13 or newer server. (Robert Collins, Andrew Bennetts)
2484
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
2485
that displays/saves the content after content filters are applied.
2488
* ``bzr ignore`` gives a more informative message when existing
2489
version controlled files match the ignore pattern. (Neil
2490
Martinsen-Burrell, #248895)
2492
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
2495
* ``bzr send`` is faster on repositories with deep histories.
2498
* IPv6 literals are accepted in URLs.
2499
(stlman, Martin Pool, Jelmer Vernooij, #165014)
2501
* Progress bars now show the rate of network activity for
2502
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
2504
* Prompt for user names if they are not in the configuration.
2505
(Jelmer Vernooij, #256612)
2507
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
2508
now takes many less round trips. (Andrew Bennetts, Robert Collins,
2511
* Streaming push can be done to older repository formats. This is
2512
implemented using a new ``Repository.insert_stream_locked`` RPC.
2513
(Andrew Bennetts, Robert Collins)
2515
* The "ignoring files outside view: .." message has been re-worded
2516
to "Ignoring files outside view. View is .." to reduce confusion
2517
about what was being considered and what was being ignored.
2520
* The ``long`` log formatter now shows [merge] indicators. If
2521
only one level of revisions is displayed and merges are found,
2522
the ``long`` and ``short`` log formatters now tell the user
2523
how to see the hidden merged revisions. (Ian Clatworthy)
2525
* The ``brisbane-core`` project has delivered its beta format
2526
``development6-rich-root``. This format is suitable for judicious
2527
testing by early adopters. In particular if you are benchmarking bzr
2528
performance please be sure to test using this format. At this stage
2529
more information is best obtained by contacting the Bazaar mailing list
2530
or IRC channel if you are interested in using this format. We will make
2531
end user documentation available closer to blessing the format as
2532
production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
2533
Vincent Ladeuil, Andrew Bennetts, Martin Pool)
2535
* Tildes are no longer escaped. No more %7Euser/project/branch!
2541
* Pushing a new stacked branch will also push the parent inventories for
2542
revisions at the stacking boundary. This makes sure that the stacked
2543
branch has enough data to calculate inventory deltas for all of its
2544
revisions (without requiring the fallback branch). This avoids
2545
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
2546
when fetching the stacked branch from a 1.13 (or later) smart server.
2547
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
2549
* End-Of-Line content filters are now loaded correctly.
2550
(Ian Clatworthy, Brian de Alwis, #355280)
2552
* Authentication plugins now receive all the parameters from the request
2553
itself (aka host, port, realm, path, etc). Previously, only the
2554
authentication section name, username and encoded password were
2555
provided. (Jean-Francois Roy)
2557
* bzr gives a better message if an invalid regexp is passed to ``bzr log
2558
-m``. (Anne Mohsen, Martin Pool)
2560
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
2562
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
2565
* Fix "is not a stackable format" error when pushing a
2566
stackable-format branch with an unstackable-format repository to a
2567
destination with a default stacking policy. (Andrew Bennetts)
2569
* Fixed incorrect "Source format does not support stacking" warning
2570
when pushing to a smart server. (Andrew Bennetts, #334114)
2572
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
2573
needed. (Vincent Ladeuil, #355454)
2575
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
2576
on ``bzr add x/y/z`` in formats supporting views when no view is
2577
defined. (Ian Clatworthy, #344708)
2579
* It is no longer possible to fetch between repositories while the
2580
target repository is in a write group. This prevents race conditions
2581
that prevent the use of RPC's to perform fetch, and thus allows
2582
optimising more operations. (Robert Collins, Andrew Bennetts)
2584
* ``merge --force`` works again. (Robert Collins, #342105)
2586
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
2587
(Vincent Ladeuil, #346593)
2589
* Pushing a new branch to a server that has a stacking policy will now
2590
upgrade from the local branch format when the stacking policy points at
2591
a branch which is itself stackable, because we know the client can read
2592
both branches, we know that the trunk for the project can be read too,
2593
so the upgrade will not inconvenience users. (Robert Collins, #345169)
2595
* Pushing a new stacked branch will also push the parent inventories for
2596
revisions at the stacking boundary. This makes sure that the stacked
2597
branch has enough data to calculate inventory deltas for all of its
2598
revisions (without requiring the fallback branch). This avoids
2599
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
2600
when fetching the stacked branch from a 1.13 (or later) smart server.
2601
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
2603
* The full test suite is passing again on OSX. Several minor issues (mostly
2604
test related) have been fixed. (Vincent Ladeuil, #355273).
2606
* The GNU Changelog formatter is slightly improved in the case where
2607
the delta is empty, and now correctly claims not to support tags.
2610
* Shelve can now shelve changes to a symlink target.
2611
(James Westby, #341558)
2613
* The help for the ``info`` command has been corrected.
2614
(Ian Clatworthy, #351931)
2616
* Upgrade will now use a sensible default format if the source repository
2617
uses rich roots. (Jelmer Vernooij, #252908)
2622
* Expanded the index of the developer documentation. (Eric Siegerman)
2624
* New topic `bzr help debug-flags`. (Martin Pool)
2626
* The generated manpage now explicitly lists aliases as commands.
2627
(James Westby, #336998)
2632
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
2635
* ``CommitReporter`` is no longer called with ``unchanged`` status during
2636
commit - this was a full-tree overhead that bzr no longer performs.
2639
* New abstract ``UIFactory`` method ``get_username`` which will be called to
2640
obtain the username to use when connecting to remote machines.
2643
* New API ``Inventory.filter()`` added that filters an inventory by
2644
a set of file-ids so that only those fileids, their parents and
2645
their children are included. (Ian Clatworthy)
2647
* New sort order for ``get_record_stream`` ``groupcompress`` which
2648
sorts optimally for use with groupcompress compressors. (John Arbash
2649
Meinel, Robert Collins)
2651
* Repository APIs ``get_deltas_for_revisions()`` and
2652
``get_revision_delta()`` now support an optional ``specific_fileids``
2653
parameter. If provided, the deltas are filtered so that only those
2654
file-ids, their parents and their children are included.
2657
* The ``get_credentials`` and ``set_credentials`` methods of
2658
``AuthenticationConfig`` now accept an optional realm argument.
2661
* The ``pb`` argument to ``fetch()`` is deprecated.
2664
* The ``Serializer`` class and the serializer ``format registry`` have moved
2665
from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
2667
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
2668
that is not inside the backing transport from being opened. See the
2669
module documentation for ``bzrlib.smart.request`` for details.
2670
(Andrew Bennetts, Robert Collins)
2672
* ``Tree.get_symlink_target`` now always returns a unicode string result
2673
or None. Previously it would return the bytes from reading the link
2674
which could be in any arbitrary encoding. (Robert Collins)
2679
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
2680
and ``tearDown`` weren't called. This catches faulty tests that
2681
forget to upcall when overriding ``setUp`` and ``tearDown``. Those
2682
faulty tests were not properly isolated.
2683
(Andrew Bennetts, Robert Collins)
2685
* Fix test_msgeditor.MsgEditorTest test isolation.
2686
(Vincent Ladeuil, #347130)
2688
* ``medusa`` is not used anymore as an FTP test server starting with
2689
python2.6. A new FTP test server based on ``pyftplib`` can be used
2690
instead. This new server is a soft dependency as medusa which is still
2691
preferred if both are available (modulo python version).
2697
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
2698
(Robert Collins, John Arbash Meinel, Vincent Ladeuil)
2700
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
2701
maps. (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
2703
* Added ``bzrlib.inventory_delta`` module. This will be used for
2704
serializing and deserializing inventory deltas for more efficient
2705
streaming on the network. (Robert Collins, Andrew Bennetts)
2707
* ``Branch._get_config`` has been added, which splits out access to the
2708
specific config file from the branch. This is used to let RemoteBranch
2709
avoid constructing real branch objects to access configuration settings.
2710
(Robert Collins, Andrew Bennetts)
2712
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
2713
the implementation is generic and should impact foreign formats. This
2714
helps performance for ``RemoteBranch`` push operations to new stacked
2715
branches. (Robert Collins, Andrew Bennetts)
2717
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
2718
optmizations turned off. This only has effect when processing > 100,000
2719
keys during something like ``bzr pack``. (John Arbash Meinel)
2721
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
2722
mode. Requires ``lp:subunit`` installed to work, but is not a hard
2723
dependency. (Robert Collins)
2725
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
2726
parameter for controlling opening of stacked branches.
2727
(Andrew Bennetts, Robert Collins)
2729
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
2730
in terms of an iter_changes iterator rather than full tree scanning.
2733
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
2734
enabling it to store the SHA1 and stat of the canonical (post
2735
content filtered) form. (Ian Clatworthy)
2737
* New ``assertLength`` method based on one Martin has squirreled away
2738
somewhere. (Robert Collins, Martin Pool)
2740
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
2741
objects, allowing better enforcement of the smart server jail when
2742
dealing with stacked branches. (Robert Collins, Andrew Bennetts)
2744
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries
2745
to be added to the stanza that is printed for a particular revision.
2748
* New repository method ``refresh_data`` to cause any repository to
2749
make visible data inserted into the repository by a smart server
2750
fetch operation. (Robert Collins, Andrew Bennetts)
2752
* ``register_filter_stack_map`` now takes an optional fallback parameter,
2753
a callable to invoke if a preference has a value not in the map
2754
of filter stacks. This enhancement allows, for example, bzr-svn to
2755
handle existing svn properties that define a list of keywords to be
2756
expanded. (Ian Clatworthy)
2758
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
2759
to write config settings to smart servers that support this, saving
2760
5 round trips on the stacked streaming acceptance test.
2761
(Robert Collins, Andrew Bennetts)
2763
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
2764
branch specific configuration from a remote server, which uses the
2765
already existing ``Branch.get_config_file`` smart verb.
2766
(Robert Collins, Andrew Bennetts)
2768
* ``RemoteRepository`` will now negatively cache missing revisions during
2769
``get_parent_map`` while read-locked. Write-locks are unaffected.
2770
(Robert Collins, Andrew Bennetts)
2772
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
2773
``InterPackToRemotePack`` classes, as they are now unnecessary.
2776
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
2777
whether the repository can efficiently generate deltas between trees
2778
regardless of tree size. (Robert Collins)
2780
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
2781
byte strings" (aka 'chunked') for the content. It previously was
2782
returning a plain string, which worked, but performed very poorly when
2783
building a working tree (file.writelines(str) is very inefficient). This
2784
can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
2786
* selftest now supports a --parallel option, with values of 'fork' or
2787
'subprocess' to run the test suite in parallel. Currently only linux
2788
machine work, other platforms need patches submitted. (Robert Collins,
2791
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of
2792
callables to use to decorate the test suite. Such decorators can add or
2793
remove tests, or even remote the test suite to another machine if
2794
desired. (Robert Collins)
2796
* The smart server verb ``Repository.get_parent_map`` can now include
2797
information about ghosts when the special revision ``include-missing:``
2798
is in the requested parents map list. With this flag, ghosts are
2799
included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
2801
* ``_walk_to_common_revisions`` will now batch up at least 50
2802
revisions before calling ``get_parent_map`` on the target,
2803
regardless of ``InterRepository``.
2804
(Andrew Bennetts, Robert Collins)
2809
:Codename: paraskavedekatriaphobia
2811
:1.13rc1: 2009-03-10
2815
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``. Debug
2816
flags can now be set in ``~/.bazaar/bazaar.conf``. Lightweight checkouts and
2817
stacked branches should both be much faster over remote connections.
2819
Changes From 1.13.1 to 1.13.2
2820
*****************************
2822
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
2823
a stacked branch they do not take care to push all the parent inventories for
2824
the transferred revisions. This means that a smart server serving that branch
2825
often cannot calculate inventory deltas for the branch (because smart server
2826
does not/cannot open fallback repositories). Prior to 1.13 the server did not
2827
have a verb to stream revisions out of a repository, so that's why this bug has
2833
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
2834
attribute 'get_bytes_as' exception while pulling from Launchpad
2835
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
2837
Changes From 1.13final to 1.13.1
2838
********************************
2840
A couple regessions where found in the 1.13 release. The pyrex-generated C
2841
extensions are missing from the .tar.gz and .zip files. Documentation on how
2842
to generate GNU ChangeLogs is wrong.
2847
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
2848
version_info. (Bob Tanner, Martin Pool, #345232)
2850
* Distribution archives for 1.13 do not contain generated C extension modules
2851
(Jean-Francois Roy, Bob Tanner, #344465)
2853
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
2854
incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
2856
* ``merge --force`` works again. (Robert Collins, #342105)
2858
Changes From 1.13rc1 to 1.13final
2859
*********************************
2861
* Fix "is not a stackable format" error when pushing a
2862
stackable-format branch with an unstackable-format repository to a
2863
destination with a default stacking policy. (Andrew Bennetts)
2865
* Progress bars now show the rate of network activity for
2866
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
2868
Compatibility Breaks
2869
********************
2871
* ``bzr log --line`` now indicates which revisions are merges with
2872
`[merge]` after the date. Scripts which parse the output of this
2873
command may need to be adjusted.
2874
(Neil Martinsen-Burrell)
2879
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
2880
options to change the default tree-creation policy of shared
2881
repositories. (Matthew Fuller, Marius Kruger, #145033)
2883
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
2886
* Filtered views provide a mask over the tree so that users can focus
2887
on a subset of a tree when doing their work. See ``Filtered views``
2888
in chapter 7 of the User Guide and ``bzr help view`` for details.
2891
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
2892
(Andrea Bolognani, Martin Pool)
2894
* The ``-Dmemory`` flag now gives memory information on Windows.
2895
(John Arbash Meinel)
2897
* Multiple authors for a commit can now be recorded by using the "--author"
2898
option multiple times. (James Westby, #185772)
2900
* New clean-tree command, from bzrtools. (Aaron Bentley, Jelmer Vernooij)
2902
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
2903
branch in your web browser, as long as the branch is on Launchpad at all.
2906
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
2912
* All bzr ``Hooks`` classes are now registered in
2913
``bzrlib.hooks.known_hooks``. This removes the separate list from
2914
``bzrlib.tests`` and ensures that all hooks registered there are
2915
correctly isolated by the test suite (previously
2916
``MutableTreeHooks`` were not being isolated correctly). Further,
2917
documentation for hooks is now dynamically generated from the
2918
present HookPoints. ``bzr hooks`` will now also report on all the
2919
hooks present in the ``bzrlib.hooks.known_hooks`` registry.
2922
* ``bzr add`` no longer prints ``add completed`` on success. Failure
2923
still prints an error message. (Robert Collins)
2925
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
2926
generation of a working tree in the new branch.
2927
(Daniel Watkins, John Klinger, #273993)
2929
* Bazaar will now point out ``bzr+ssh://`` to the user when they
2930
use ssh://. (Jelmer Vernooij, #330535)
2932
* ``bzr -v info`` now omits the number of committers branch statistic,
2933
making it many times faster for large projects. To include that
2934
statistic in the output, use ``bzr -vv info``.
2937
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
2938
stream if the server is version 1.13 or greater, reducing roundtrips
2939
significantly. (Andrew Bennetts, Robert Collins)
2941
* Lightweight Checkouts and Stacked Branches should both be much
2942
faster over remote connections. Building the working tree now
2943
batches up requests into approx 5MB requests, rather than a separate
2944
request for each file. (John Arbash Meinel)
2946
* Support for GSSAPI authentication when using HTTP or HTTPS.
2949
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
2950
short options better. (Daniel Watkins, #327429)
2952
* ``bzr lp-open`` now falls back to the push location if it cannot find a
2953
public location. (Jonathan Lange, #332372)
2955
* ``bzr lp-open`` will try to find the Launchpad URL for the location
2956
passed on the command line. This makes ``bzr lp-open lp:foo`` work as
2957
expected. (Jonathan Lange, #332705)
2959
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
2964
* Allows ``bzr log <FILE>`` to be called in an empty branch without
2965
backtracing. (Vincent Ladeuil, #346431)
2967
* Bazaar now gives a better message including the filename if it's
2968
unable to read a file in the working directory, for example because
2969
of a permission error. (Martin Pool, #338653)
2971
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
2972
file id in the working tree different from the one in revision <old>.
2973
(Vincent Ladeuil, #341517, #253806)
2975
* ``bzr send`` help is more specific about how to apply merge
2976
directives. (Neil Martinsen-Burrell, #253470)
2978
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
2979
than fetching trees and determining a delta itself. (Jelmer
2982
* ``bzr push`` to a smart server no longer causes "Revision
2983
{set([('null:',)])} not present ..." errors when the branch has
2984
multiple root revisions. (Andrew Bennetts, #317654)
2986
* ``bzr shelve`` now properly handle patches with no terminating newline.
2987
(Benoît PIERRE, #303569)
2989
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
2990
shelf id. (Daniel Watkins)
2992
* Export now handles files that are not present in the tree.
2993
(James Westby, #174539)
2995
* Fixed incorrect "Source format does not support stacking" warning
2996
when pushing to a smart server. (Andrew Bennetts, #334114)
2998
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
2999
error branching from old repositories.
3000
(Martin Pool, #321695)
3002
* Make ``bzr push --quiet <non-local location>`` less chatty.
3003
(Kent Gibson, #221461)
3005
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
3006
branches, and this was not noticed due to a bug in the test logic
3007
for branches. This is now fixed and a test added to prevent it
3008
reoccuring. (Robert Collins, Andrew Bennetts)
3010
* Restore the progress bar on Windows. We were disabling it when TERM
3011
wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
3014
* ``setup.py build_ext`` now gives a proper error when an extension
3015
fails to build. (John Arbash Meinel)
3017
* Symlinks to non ascii file names are now supported.
3018
(Robert Collins, Vincent Ladeuil, #339055, #272444)
3020
* Under rare circumstances (aka nobody reported a bug about it), the ftp
3021
transport could revert to ascii mode. It now stays in binary mode except
3022
when needed. (Vincent Ladeuil)
3024
* Unshelve does not generate warnings about progress bars.
3025
(Aaron Bentley, #328148)
3027
* shelve cleans up properly when unversioned files are specified.
3028
(Benoît Pierre, Aaron Bentley)
3033
* Added ``Organizing your workspace`` to the User Guide appendices,
3034
summarizing some common ways of organizing trees, branches and
3035
repositories and the processes/workflows implied/enabled by each.
3038
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
3039
is the entry point for this feature. (Robert Collins)
3041
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
3042
(Daniel Watkins, #327421, #327425)
3047
* ``bzr selftest`` now fails if the bazaar sources contain trailing
3048
whitespace, non-unix style line endings and files not ending in a
3049
newline. About 372 files and 3243 lines with trailing whitespace was
3050
updated to comply with this. The code already complied with the other
3051
criteria, but now it is enforced. (Marius Kruger)
3053
* ``bzrlib.branch.PushResult`` was renamed to
3054
``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
3056
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
3057
than a count of copied revisions and failed revisions. A while back
3058
we stopped ever reporting failed revisions because we started
3059
erroring instead, and the copied revisions count is not used in the
3060
UI at all - indeed it only reflects the repository status not
3061
changes to the branch itself. (Robert Collins)
3063
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
3064
appears multiple times within the delta. (Ian Clatworthy)
3066
* MutableTree.commit now favours the "authors" argument, with the old
3067
"author" argument being deprecated.
3069
* Remove deprecated EmptyTree. (Martin Pool)
3071
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
3072
parameter. A ``SearchResult`` or ``MiniSearchResult`` may be passed
3073
to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
3074
which revisions to fetch. (Andrew Bennetts)
3076
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
3077
tuple of ``(repository, is_new_flag)``, rather than just the
3078
repository. (Andrew Bennetts)
3080
* Revision.get_apparent_author() is now deprecated, replaced by
3081
Revision.get_apparent_authors(), which returns a list. The former
3082
now returns the first item that would be returned from the second.
3084
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
3085
parameter to ``build_commit`` and ``build_snapshot``. (Martin Pool)
3087
* The ``_fetch_*`` attributes on ``Repository`` are now on
3088
``RepositoryFormat``, more accurately reflecting their intent (they
3089
describe a disk format capability, not state of a particular
3090
repository of that format). (Robert Collins)
3095
* Branching from a non-stacked branch on a smart protocol is now
3096
free of virtual file system methods.
3097
(Robert Collins, Andrew Bennetts)
3099
* Branch and Repository creation on a bzr+ssh://server are now done
3100
via RPC calls rather than VFS calls, reducing round trips for
3101
pushing new branches substantially. (Robert Collins)
3103
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
3104
inside ``BzrDir.clone_on_transport``, allowing stacking to be
3105
configured before the branch tags and revision tip are set. This
3106
fixes a race condition cloning stacked branches that would cause
3107
plugins to have hooks called on non-stacked instances.
3108
(Robert Collins, #334187)
3110
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
3112
* ``BzrDirFormat.__str__`` now uses the human readable description
3113
rather than the sometimes-absent disk label. (Robert Collins)
3115
* ``bzrlib.fetch`` is now composed of a sender and a sink component
3116
allowing for decoupling over a network connection. Fetching from
3117
or into a RemoteRepository with a 1.13 server will use this to
3118
stream the operation.
3119
(Andrew Bennetts, Robert Collins)
3121
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
3122
supporting the use of different runners. (Robert Collins)
3124
* Change how file_ids and revision_ids are interned as part of
3125
inventory deserialization. Now we use the real ``intern()``, rather
3126
than our own workaround that would also cache a Unicode copy of the
3127
string, and never emptied the cache. This should slightly reduce
3128
memory consumption. (John Arbash Meinel)
3130
* New branch method ``create_clone_on_transport`` that returns a
3131
branch object. (Robert Collins)
3133
* New hook Commands['extend_command'] to allow plugins to access a
3134
command object before the command is run (or help generated from
3135
it), without overriding the command. (Robert Collins)
3137
* New version of the ``BzrDir.find_repository`` verb supporting
3138
``_network_name`` to support removing more _ensure_real calls.
3141
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
3144
* ``Repository`` objects now have ``suspend_write_group`` and
3145
``resume_write_group`` methods. These are currently only useful
3146
with pack repositories. (Andrew Bennetts, Robert Collins)
3148
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
3149
now have a ``network_name`` for passing the format across RPC calls.
3150
(Robert Collins, Andrew Bennetts)
3152
* ``RepositoryFormat`` objects now all have a new attribute
3153
``_serializer`` used by fetch when reserialising is required.
3154
(Robert Collins, Andrew Bennetts)
3156
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
3157
to aid branch types that are not bzr branch objects (like
3158
RemoteBranch). (Robert Collins, Andrew Bennetts)
3160
* Test adaptation has been made consistent throughout the built in
3161
tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
3162
``adapt_tests``, ``adapt_modules`` have all been deleted. Please
3163
use ``multiply_tests``, or for lower level needs ``apply_scenarios``
3164
and ``apply_scenario``. (Robert Collins)
3166
* ``TestSkipped`` is now detected by TestCase and passed to the
3167
``TestResult`` by calling ``addSkip``. For older TestResult objects,
3168
where ``addSkip`` is not available, ``addError`` is still called.
3169
This permits test filtering in subunit to strip out skipped tests
3170
resulting in a faster fix-shrink-list-run cycle. This is compatible
3171
with the testtools protocol for skips. (Robert Collins)
3173
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
3174
to scan an underlying index that is going to be incorporated into
3175
the ``KnitVersionedFiles`` object, to determine if it has missing
3176
delta references. The method is ``scan_unvalidated_index``.
3177
(Andrew Bennetts, Robert Collins)
3179
* There is a RemoteSink object which handles pushing to smart servers.
3180
(Andrew Bennetts, Robert Collins)
3182
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
3183
``rmdir`` calls. (Robert Collins)
3185
* ``VersionedFiles`` record adapters have had their signature change
3186
from ``(record, record.get_bytes_as(record.storage_kind))`` to
3187
``(record)`` reducing excess duplication and allowing adapters
3188
to access private data in record to obtain content more
3189
efficiently. (Robert Collins)
3191
* We no longer probe to see if we should create a working tree during
3192
clone if we cannot get a local_abspath for the new bzrdir.
3199
:Codename: 1234567890
3201
:1.12rc1: 2009-02-10
3203
This release of Bazaar contains many improvements to the speed,
3204
documentation and functionality of ``bzr log`` and the display of logged
3205
revisions by ``bzr status``. bzr now also gives a better indication of
3206
progress, both in the way operations are drawn onto a text terminal, and
3207
by showing the rate of network IO.
3209
Changes from RC1 to Final
3210
*************************
3212
* ``bzr init --development-wt5[-rich-root]`` would fail because of
3213
circular import errors. (John Arbash Meinel, #328135)
3215
* Expanded the help for log and added a new help topic called
3216
``log-formats``. (Ian Clatworthy)
3218
Compatibility Breaks
3219
********************
3221
* By default, ``bzr status`` after a merge now shows just the pending
3222
merge tip revisions. This improves the signal-to-noise ratio after
3223
merging from trunk and completes much faster. To see all merged
3224
revisions, use the new ``-v`` flag. (Ian Clatworthy)
3226
* ``bzr log --line`` now shows any tags after the date and before
3227
the commit message. If you have scripts which parse the output
3228
from this command, you may need to adjust them accordingly.
3231
* ``bzr log --short`` now shows any additional revision properties
3232
after the date and before the commit message. Scripts that parse
3233
output of the log command in this situation may need to adjust.
3234
(Neil Martinsen-Burrell)
3236
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
3237
have been renamed ``development-wt5`` and ``development-wt5-rich-root``
3238
respectively, given they are not ready for release in 1.12.
3241
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
3246
* Add support for filtering ``bzr missing`` on revisions. Remote revisions
3247
can be filtered using ``bzr missing -r -20..-10`` and local revisions can
3248
be filtered using ``bzr missing --my-revision -20..-10``.
3251
* ``bzr log -p`` displays the patch diff for each revision.
3252
When logging a file, the diff only includes changes to that file.
3253
(Ian Clatworthy, #202331, #227335)
3255
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
3256
A value of 0 (zero) means "show all nested merge revisions" while
3257
a value of 1 (one) means "show just the top level". Values above
3258
1 can be used to see a limited amount of nesting. That can be
3259
useful for seeing the level or two below PQM submits for example.
3260
To force the ``--short`` and ``--line`` formats to display all nested
3261
merge revisions just like ``--long`` does by default, use a command
3262
like ``bzr log --short -n0``. To display just the mainline using
3263
``--long`` format, ``bzr log --long -n1``.
3269
* ``bzr add`` more clearly communicates success vs failure.
3272
* ``bzr init`` will now print a little less verbose output.
3275
* ``bzr log`` is now much faster in many use cases, particularly
3276
at incrementally displaying results and filtering by a
3277
revision range. (Ian Clatworthy)
3279
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
3280
for each revision. The tags are shown comma-separated inside
3281
``{}``. For short format, the tags appear at the end of line
3282
before the optional ``[merge]`` indicator. For line format,
3283
the tags appear after the date. (Ian Clatworthy)
3285
* Progress bars now show the rate of activity for some sftp
3286
operations, and they are drawn different. (Martin Pool, #172741)
3288
* Progress bars now show the rate of activity for urllib and pycurl based
3289
http client implementations. The operations are tracked at the socket
3290
level for better precision.
3293
* Rule-based preferences can now accept multiple patterns for a set of
3294
rules. (Marius Kruger)
3296
* The ``ancestor:`` revision spec will now default to referring to the
3297
parent of the branch if no other location is given.
3298
(Daniel Watkins, #198417)
3300
* The debugger started as a result of setting ``$BZR_PDB`` works
3301
around a bug in ``pdb``, http://bugs.python.org/issue4150. The bug
3302
can cause truncated tracebacks in Python versions before 2.6.
3305
* VirtualVersionedFiles now implements
3306
``iter_lines_added_or_present_in_keys``. This allows the creation of
3307
new branches based on stacked bzr-svn branches. (#311997)
3312
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
3314
(Anne Mohsen, Vincent Ladeuil, #314525)
3316
* ``bzr log FILE`` now correctly shows mainline revisions merging
3317
a change to FILE when the ``--short`` and ``--line`` log formats
3318
are used. (Ian Clatworthy, #317417)
3320
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
3321
it existed in Y or X, even if the file has since been deleted or
3322
renamed. If no range is given, the current/basis tree and
3323
initial tree are searched in that order. More generally, log
3324
now interprets filenames in their historical context.
3325
(Ian Clatworthy, #175520)
3327
* ``bzr status`` now reports nonexistent files and continues, then
3328
errors (with code 3) at the end. (Karl Fogel, #306394)
3330
* Don't require the present compression base in knits to be the same
3331
when adding records in knits. (Jelmer Vernooij, #307394)
3333
* Fix a problem with CIFS client/server lag on Windows colliding with
3334
an invariant-per-process algorithm for generating AtomicFile names
3335
(Adrian Wilkins, #304023)
3337
* Many socket operations now handle EINTR by retrying the operation.
3338
Previously EINTR was treated as an unrecoverable failure. There is
3339
a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
3342
* Support symlinks with non-ascii characters in the symlink filename.
3343
(Jelmer Vernooij, #319323)
3345
* There was a bug in how we handled resolving when a file is deleted
3346
in one branch, and modified in the other. If there was a criss-cross
3347
merge, we would cause the deletion to conflict a second time.
3348
(Vincent Ladeuil, John Arbash Meinel)
3350
* There was another bug in how we chose the correct intermediate LCA in
3351
criss-cross merges leading to several kind of changes be incorrectly
3353
(John Arbash Meinel, Vincent Ladeuil)
3355
* Unshelve now handles deleted paths without crashing. (Robert Collins)
3360
* Improved plugin developer documentation. (Martin Pool)
3365
* ``ProgressBarStack`` is deprecated; instead use
3366
``ui_factory.nested_progress_bar`` to create new progress bars.
3369
* ForeignVcsMapping() now requires a ForeignVcs object as first
3370
argument. (Jelmer Vernooij)
3372
* ForeignVcsMapping.show_foreign_revid() has been moved to
3373
ForeignVcs. (Jelmer Vernooij)
3375
* ``read_bundle_from_url`` is deprecated in favor of
3376
``read_mergeable_from_url``. (Vincent Ladeuil)
3378
* Revision specifiers are now registered in
3379
``bzrlib.revisionspec.revspec_registry``, and the old list of
3380
revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
3381
deprecated. (Jelmer Vernooij, #321183)
3383
* The progress and UI classes have changed; the main APIs remain the
3384
same but code that provides a new UI or progress bar class may
3385
need to be updated. (Martin Pool)
3390
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
3391
terminal. It is sometimes desirable do override this default by forcing
3392
bzr to use TextUIFactory. This can be achieved by setting the
3393
BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
3394
compile buffers, are such an example).
3397
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
3398
``(revision_id, depth, revno, end_of_merge)`` tuples.
3401
* New ``Branch.dotted_revno_to_revision_id()`` and
3402
``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
3403
efficient way of doing the mapping.
3406
* Refactor cmd_serve so that it's a little easier to build commands that
3407
extend it, and perhaps even a bit easier to read. (Jonathan Lange)
3409
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
3410
formatters to retrict the output.
3417
:Codename: "Eyes up!"
3418
:Released: 2009-01-19
201
3420
This first monthly release of Bazaar for 2009 improves Bazaar's operation
202
3421
in Windows, Mac OS X, and other situations where file names are matched
2476
5852
substantially faster. Several bugs have been fixed and several new options and
2477
5853
features have been added.
2481
* Avoid spurious failure of ``TestVersion.test_version`` matching
2483
(#202778, Martin Pool)
2486
bzr 1.3rc1 2008-03-16
2487
---------------------
2489
NOTES WHEN UPGRADING:
2491
* The backup directory created by ``upgrade`` is now called
2492
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
2496
* A new repository format 'development' has been added. This format will
2497
represent the latest 'in-progress' format that the bzr developers are
2498
interested in getting early-adopter testing and feedback on.
2499
``doc/developers/development-repo.txt`` has detailed information.
2502
* BZR_LOG environment variable controls location of .bzr.log trace file.
2503
User can suppress writing messages to .bzr.log by using '/dev/null'
2504
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
2505
is not defined but BZR_HOME is defined then default location
2506
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
2507
(Alexander Belchenko, #106117)
2509
* ``launchpad`` builtin plugin now shipped as separate part in standalone
2510
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
2511
and standalone installer allows user to skip installation of this plugin.
2512
(Alexander Belchenko)
2514
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
2516
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
2517
missing final fields. (Martin Pool)
2521
* ``branch`` and ``checkout`` can hard-link working tree files, which is
2522
faster and saves space. (Aaron Bentley)
2524
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
2525
the submit branch to determine the email address to send to.
2530
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
2532
* Branch6.generate_revision_history is faster. (Aaron Bentley)
2534
* Directory services can now be registered, allowing special URLs to be
2535
dereferenced into real URLs. This is a generalization and cleanup of
2536
the lp: transport lookup. (Aaron Bentley)
2538
* Merge directives that are automatically attached to emails have nicer
2539
filenames, based on branch-nick + revno. (Aaron Bentley)
2541
* ``push`` has a ``--revision`` option, to specify what revision to push up
2542
to. (Daniel Watkins)
2544
* Significantly reducing execution time and network traffic for trivial
2545
case of running ``bzr missing`` command for two identical branches.
2546
(Alexander Belchenko)
2548
* Speed up operations that look at the revision graph (such as 'bzr log').
2549
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
2550
extract the revision history. This allows filtering ghosts while
2551
stepping instead of needing to peek ahead. (John Arbash Meinel)
2553
* The ``hooks`` command lists installed hooks, to assist in debugging.
2556
* Updates to how ``annotate`` work. Should see a measurable improvement in
2557
performance and memory consumption for file with a lot of merges.
2558
Also, correctly handle when a line is introduced by both parents (it
2559
should be attributed to the first merge which notices this, and not
2560
to all subsequent merges.) (John Arbash Meinel)
2564
* Autopacking no longer holds the full set of inventory lines in
2565
memory while copying. For large repositories, this can amount to
2566
hundreds of MB of ram consumption.
2567
(Ian Clatworthy, John Arbash Meinel)
2569
* Cherrypicking when using ``--format=merge3`` now explictly excludes
2570
BASE lines. (John Arbash Meinel, #151731)
2572
* Disable plink's interactive prompt for password.
2573
(#107593, Dmitry Vasiliev)
2575
* Encode command line arguments from unicode to user_encoding before
2576
invoking external mail client in `bzr send` command.
2577
(#139318, Alexander Belchenko)
2579
* Fixed problem connecting to ``bzr+https://`` servers.
2580
(#198793, John Ferlito)
2582
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
2585
* Include quick-start-summary.svg file to python-based installer(s)
2586
for Windows. (#192924, Alexander Belchenko)
2588
* lca merge now respects specified files. (Aaron Bentley)
2590
* Make version-info --custom imply --all. (#195560, James Westby)
2592
* ``merge --preview`` now works for merges that add or modify
2593
symlinks (James Henstridge)
2595
* Redirecting the output from ``bzr merge`` (when the remembered
2596
location is used) now works. (John Arbash Meinel)
2598
* setup.py script explicitly checks for Python version.
2599
(Jari Aalto, Alexander Belchenko, #200569)
2601
* UnknownFormatErrors no longer refer to branches regardless of kind of
2602
unknown format. (Daniel Watkins, #173980)
2604
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
2605
signs, among other small improvements. (Matt Nordhoff, #86838)
2607
* Use correct indices when emitting LCA conflicts. This fixes IndexError
2608
errors. (Aaron Bentley, #196780)
2612
* Explained how to use ``version-info --custom`` in the User Guide.
2613
(Neil Martinsen-Burrell)
2617
* Support for loading plugins from zip files and
2618
``bzrlib.plugin.load_from_zip()`` function are deprecated.
2619
(Alexander Belchenko)
2623
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
2625
* The branch interface tests were invalid for branches using rich-root
2626
repositories because the empty string is not a valid file-id.
2631
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
2632
``Repository.get_revision_graph()`` except it includes ghosts and you can
2633
stop part-way through. (John Arbash Meinel)
2635
* New module ``tools/package_mf.py`` provide custom module finder for
2636
python packages (improves standard python library's modulefinder.py)
2637
used by ``setup.py`` script while building standalone bzr.exe.
2638
(Alexander Belchenko)
2640
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
2641
detecting external lookup support on remote repositories. This method is
2642
now attempted first when lookup up repositories, leading to an extra
2643
round trip on older bzr smart servers. (Robert Collins)
2645
* Repository formats have a new supported-feature attribute
2646
``supports_external_lookups`` used to indicate repositories which support
2647
falling back to other repositories when they have partial data.
2650
* ``Repository.get_revision_graph_with_ghosts`` and
2651
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
2652
have been deprecated. (John Arbash Meinel)
2654
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
2655
``Tree._iter_changes``. The api is now considered stable and ready for
2656
external users. (Aaron Bentley)
2658
* The bzrdir format registry now accepts an ``alias`` keyword to
2659
register_metadir, used to indicate that a format name is an alias for
2660
some other format and thus should not be reported when describing the
2661
format. (Robert Collins)
2669
* Fix failing test in Launchpad plugin. (Martin Pool)
2672
bzr 1.2rc1 2008-02-13
2673
---------------------
2675
NOTES WHEN UPGRADING:
2677
* Fetching via the smart protocol may need to reconnect once during a fetch
2678
if the remote server is running Bazaar 1.1 or earlier, because the client
2679
attempts to use more efficient requests that confuse older servers. You
2680
may be required to re-enter a password or passphrase when this happens.
2681
This won't happen if the server is upgraded to Bazaar 1.2.
2686
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
2687
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
2689
* Formatting of ``bzr plugins`` output is changed to be more human-
2690
friendly. Full path of plugins locations will be shown only with
2691
``--verbose`` command-line option. (Alexander Belchenko)
2693
* ``merge`` now prefers to use the submit branch, but will fall back to
2694
parent branch. For many users, this has no effect. But some users who
2695
pull and merge on the same branch will notice a change. This change
2696
makes it easier to work on a branch on two different machines, pulling
2697
between the machines, while merging from the upstream.
2698
``merge --remember`` can now be used to set the submit_branch.
2703
* ``merge --preview`` produces a diff of the changes merge would make,
2704
but does not actually perform the merge. (Aaron Bentley)
2706
* New smart method ``Repository.get_parent_map`` for getting revision
2707
parent data. This returns additional parent information topologically
2708
adjacent to the requested data to reduce round trip latency impacts.
2711
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
2712
revision data that streams revision data via a chunked encoding. This
2713
avoids buffering large amounts of revision data on the server and on the
2714
client, and sends less data to the server to request the revisions.
2715
(Andrew Bennetts, Robert Collins, #178353)
2717
* The launchpad plugin now handles lp urls of the form
2718
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
2719
launchpad instance to do the resolution of the branch identities.
2720
This is primarily of use to Launchpad developers, but can also
2721
be used by other users who want to try out Launchpad as
2722
a branch location without messing up their public Launchpad
2723
account. Branches that are pushed to the staging environment
2724
have an expected lifetime of one day. (Tim Penhey)
2728
* Creating a new branch no longer tries to read the entire revision-history
2729
unnecessarily over smart server operations. (Robert Collins)
2731
* Fetching between different repository formats with compatible models now
2732
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
2734
* The ``--coverage`` option is now global, rather specific to ``bzr
2735
selftest``. (Andrew Bennetts)
2737
* The ``register-branch`` command will now use the public url of the branch
2738
containing the current directory, if one has been set and no explicit
2739
branch is provided. (Robert Collins)
2741
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
2742
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
2743
(John Arbash Meinel)
2747
* Calculate remote path relative to the shared medium in _SmartClient. This
2748
is related to the problem in bug #124089. (Andrew Bennetts)
2750
* Cleanly handle connection errors in smart protocol version two, the same
2751
way as they are handled by version one. (Andrew Bennetts)
2753
* Clearer error when ``version-info --custom`` is used without
2754
``--template`` (Lukáš Lalinský)
2756
* Don't raise UnavailableFeature during test setup when medusa is not
2757
available or tearDown is never called leading to nasty side effects.
2758
(#137823, Vincent Ladeuil)
2760
* If a plugin's test suite cannot be loaded, for example because of a syntax
2761
error in the tests, then ``selftest`` fails, rather than just printing
2762
a warning. (Martin Pool, #189771)
2764
* List possible values for BZR_SSH environment variable in env-variables
2765
help topic. (Alexander Belchenko, #181842)
2767
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
2768
popping the log redirection now precisely restores the previous state,
2769
which makes it easier to use bzr log output from other programs.
2770
TestCaseInTempDir no longer depends on a log redirection being established
2771
by the test framework, which lets bzr tests cleanly run from a normal
2773
(#124153, #124849, Martin Pool, Jonathan Lange)
2775
* ``pull --quiet`` is now more quiet, in particular a message is no longer
2776
printed when the remembered pull location is used. (James Westby,
2779
* ``reconfigure`` can safely be interrupted while fetching.
2780
(Aaron Bentley, #179316)
2782
* ``reconfigure`` preserves tags when converting to and from lightweight
2783
checkouts. (Aaron Bentley, #182040)
2785
* Stop polluting /tmp when running selftest.
2786
(Vincent Ladeuil, #123623)
2788
* Switch from NFKC => NFC for normalization checks. NFC allows a few
2789
more characters which should be considered valid.
2790
(John Arbash Meinel, #185458)
2792
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
2793
interacting badly with a bug on the launchpad side. (Robert Collins)
2795
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
2796
tracebacks. (Andrew Bennetts, #182849)
2800
* Classes implementing Merge types like Merge3Merger must now accept (and
2801
honour) a do_merge flag in their constructor. (Aaron Bentley)
2803
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
2804
to previously take a write lock (and start a write group.)
2809
* selftest now accepts --load-list <file> to load a test id list. This
2810
speeds up running the test suite on a limited set of tests.
2815
* Add a new method ``get_result`` to graph search objects. The resulting
2816
``SearchResult`` can be used to recreate the search later, which will
2817
be useful in reducing network traffic. (Robert Collins)
2819
* Use convenience function to check whether two repository handles
2820
are referring to the same repository in ``Repository.get_graph``.
2821
(Jelmer Vernooij, #187162)
2823
* Fetching now passes the find_ghosts flag through to the
2824
``InterRepository.missing_revision_ids`` call consistently for all
2825
repository types. This will enable faster missing revision discovery with
2826
bzr+ssh. (Robert Collins)
2828
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
2830
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
2831
``InterRepository.search_missing_revision_ids`` which returns a
2832
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
2833
server. (Robert Collins)
2835
* New error ``NoPublicBranch`` for commands that need a public branch to
2836
operate. (Robert Collins)
2838
* New method ``iter_inventories`` on Repository for access to many
2839
inventories. This is primarily used by the ``revision_trees`` method, as
2840
direct access to inventories is discouraged. (Robert Collins)
2842
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
2843
which will split out ghosts and present parents into two separate sets,
2844
useful for code which needs to be aware of ghosts (e.g. fetching data
2845
cares about ghosts during revision selection). (Robert Collins)
2847
* Record a timestamp against each mutter to the trace file, relative to the
2848
first import of bzrlib. (Andrew Bennetts)
2850
* ``Repository.get_data_stream`` is now deprecated in favour of
2851
``Repository.get_data_stream_for_search`` which allows less network
2852
traffic when requesting data streams over a smart server. (Robert Collins)
2854
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
2855
removing one round trip on many network operations. (Robert Collins)
2857
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
2858
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
2860
* Repository has a new method ``has_revisions`` which signals the presence
2861
of many revisions by returning a set of the revisions listed which are
2862
present. This can be done by index queries without reading data for parent
2863
revision names etc. (Robert Collins)
5858
* Avoid spurious failure of ``TestVersion.test_version`` matching
5860
(#202778, Martin Pool)
5866
:Released: 2008-03-16
5868
Notes When Upgrading
5869
********************
5871
* The backup directory created by ``upgrade`` is now called
5872
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
5877
* A new repository format 'development' has been added. This format will
5878
represent the latest 'in-progress' format that the bzr developers are
5879
interested in getting early-adopter testing and feedback on.
5880
``doc/developers/development-repo.txt`` has detailed information.
5883
* BZR_LOG environment variable controls location of .bzr.log trace file.
5884
User can suppress writing messages to .bzr.log by using '/dev/null'
5885
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
5886
is not defined but BZR_HOME is defined then default location
5887
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
5888
(Alexander Belchenko, #106117)
5890
* ``launchpad`` builtin plugin now shipped as separate part in standalone
5891
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
5892
and standalone installer allows user to skip installation of this plugin.
5893
(Alexander Belchenko)
5895
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
5897
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
5898
missing final fields. (Martin Pool)
5903
* ``branch`` and ``checkout`` can hard-link working tree files, which is
5904
faster and saves space. (Aaron Bentley)
5906
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
5907
the submit branch to determine the email address to send to.
5913
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
5915
* Branch6.generate_revision_history is faster. (Aaron Bentley)
5917
* Directory services can now be registered, allowing special URLs to be
5918
dereferenced into real URLs. This is a generalization and cleanup of
5919
the lp: transport lookup. (Aaron Bentley)
5921
* Merge directives that are automatically attached to emails have nicer
5922
filenames, based on branch-nick + revno. (Aaron Bentley)
5924
* ``push`` has a ``--revision`` option, to specify what revision to push up
5925
to. (Daniel Watkins)
5927
* Significantly reducing execution time and network traffic for trivial
5928
case of running ``bzr missing`` command for two identical branches.
5929
(Alexander Belchenko)
5931
* Speed up operations that look at the revision graph (such as 'bzr log').
5932
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
5933
extract the revision history. This allows filtering ghosts while
5934
stepping instead of needing to peek ahead. (John Arbash Meinel)
5936
* The ``hooks`` command lists installed hooks, to assist in debugging.
5939
* Updates to how ``annotate`` work. Should see a measurable improvement in
5940
performance and memory consumption for file with a lot of merges.
5941
Also, correctly handle when a line is introduced by both parents (it
5942
should be attributed to the first merge which notices this, and not
5943
to all subsequent merges.) (John Arbash Meinel)
5948
* Autopacking no longer holds the full set of inventory lines in
5949
memory while copying. For large repositories, this can amount to
5950
hundreds of MB of ram consumption.
5951
(Ian Clatworthy, John Arbash Meinel)
5953
* Cherrypicking when using ``--format=merge3`` now explictly excludes
5954
BASE lines. (John Arbash Meinel, #151731)
5956
* Disable plink's interactive prompt for password.
5957
(#107593, Dmitry Vasiliev)
5959
* Encode command line arguments from unicode to user_encoding before
5960
invoking external mail client in `bzr send` command.
5961
(#139318, Alexander Belchenko)
5963
* Fixed problem connecting to ``bzr+https://`` servers.
5964
(#198793, John Ferlito)
5966
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
5969
* Include quick-start-summary.svg file to python-based installer(s)
5970
for Windows. (#192924, Alexander Belchenko)
5972
* lca merge now respects specified files. (Aaron Bentley)
5974
* Make version-info --custom imply --all. (#195560, James Westby)
5976
* ``merge --preview`` now works for merges that add or modify
5977
symlinks (James Henstridge)
5979
* Redirecting the output from ``bzr merge`` (when the remembered
5980
location is used) now works. (John Arbash Meinel)
5982
* setup.py script explicitly checks for Python version.
5983
(Jari Aalto, Alexander Belchenko, #200569)
5985
* UnknownFormatErrors no longer refer to branches regardless of kind of
5986
unknown format. (Daniel Watkins, #173980)
5988
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
5989
signs, among other small improvements. (Matt Nordhoff, #86838)
5991
* Use correct indices when emitting LCA conflicts. This fixes IndexError
5992
errors. (Aaron Bentley, #196780)
5997
* Explained how to use ``version-info --custom`` in the User Guide.
5998
(Neil Martinsen-Burrell)
6003
* Support for loading plugins from zip files and
6004
``bzrlib.plugin.load_from_zip()`` function are deprecated.
6005
(Alexander Belchenko)
6010
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
6012
* The branch interface tests were invalid for branches using rich-root
6013
repositories because the empty string is not a valid file-id.
6019
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
6020
``Repository.get_revision_graph()`` except it includes ghosts and you can
6021
stop part-way through. (John Arbash Meinel)
6023
* New module ``tools/package_mf.py`` provide custom module finder for
6024
python packages (improves standard python library's modulefinder.py)
6025
used by ``setup.py`` script while building standalone bzr.exe.
6026
(Alexander Belchenko)
6028
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
6029
detecting external lookup support on remote repositories. This method is
6030
now attempted first when lookup up repositories, leading to an extra
6031
round trip on older bzr smart servers. (Robert Collins)
6033
* Repository formats have a new supported-feature attribute
6034
``supports_external_lookups`` used to indicate repositories which support
6035
falling back to other repositories when they have partial data.
6038
* ``Repository.get_revision_graph_with_ghosts`` and
6039
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
6040
have been deprecated. (John Arbash Meinel)
6042
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
6043
``Tree._iter_changes``. The api is now considered stable and ready for
6044
external users. (Aaron Bentley)
6046
* The bzrdir format registry now accepts an ``alias`` keyword to
6047
register_metadir, used to indicate that a format name is an alias for
6048
some other format and thus should not be reported when describing the
6049
format. (Robert Collins)
6055
:Released: 2008-02-15
6060
* Fix failing test in Launchpad plugin. (Martin Pool)
6066
:Released: 2008-02-13
6068
Notes When Upgrading
6069
********************
6071
* Fetching via the smart protocol may need to reconnect once during a fetch
6072
if the remote server is running Bazaar 1.1 or earlier, because the client
6073
attempts to use more efficient requests that confuse older servers. You
6074
may be required to re-enter a password or passphrase when this happens.
6075
This won't happen if the server is upgraded to Bazaar 1.2.
6081
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
6082
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
6084
* Formatting of ``bzr plugins`` output is changed to be more human-
6085
friendly. Full path of plugins locations will be shown only with
6086
``--verbose`` command-line option. (Alexander Belchenko)
6088
* ``merge`` now prefers to use the submit branch, but will fall back to
6089
parent branch. For many users, this has no effect. But some users who
6090
pull and merge on the same branch will notice a change. This change
6091
makes it easier to work on a branch on two different machines, pulling
6092
between the machines, while merging from the upstream.
6093
``merge --remember`` can now be used to set the submit_branch.
6099
* ``merge --preview`` produces a diff of the changes merge would make,
6100
but does not actually perform the merge. (Aaron Bentley)
6102
* New smart method ``Repository.get_parent_map`` for getting revision
6103
parent data. This returns additional parent information topologically
6104
adjacent to the requested data to reduce round trip latency impacts.
6107
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
6108
revision data that streams revision data via a chunked encoding. This
6109
avoids buffering large amounts of revision data on the server and on the
6110
client, and sends less data to the server to request the revisions.
6111
(Andrew Bennetts, Robert Collins, #178353)
6113
* The launchpad plugin now handles lp urls of the form
6114
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
6115
launchpad instance to do the resolution of the branch identities.
6116
This is primarily of use to Launchpad developers, but can also
6117
be used by other users who want to try out Launchpad as
6118
a branch location without messing up their public Launchpad
6119
account. Branches that are pushed to the staging environment
6120
have an expected lifetime of one day. (Tim Penhey)
6125
* Creating a new branch no longer tries to read the entire revision-history
6126
unnecessarily over smart server operations. (Robert Collins)
6128
* Fetching between different repository formats with compatible models now
6129
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
6131
* The ``--coverage`` option is now global, rather specific to ``bzr
6132
selftest``. (Andrew Bennetts)
6134
* The ``register-branch`` command will now use the public url of the branch
6135
containing the current directory, if one has been set and no explicit
6136
branch is provided. (Robert Collins)
6138
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
6139
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
6140
(John Arbash Meinel)
6145
* Calculate remote path relative to the shared medium in _SmartClient. This
6146
is related to the problem in bug #124089. (Andrew Bennetts)
6148
* Cleanly handle connection errors in smart protocol version two, the same
6149
way as they are handled by version one. (Andrew Bennetts)
6151
* Clearer error when ``version-info --custom`` is used without
6152
``--template`` (Lukáš Lalinský)
6154
* Don't raise UnavailableFeature during test setup when medusa is not
6155
available or tearDown is never called leading to nasty side effects.
6156
(#137823, Vincent Ladeuil)
6158
* If a plugin's test suite cannot be loaded, for example because of a syntax
6159
error in the tests, then ``selftest`` fails, rather than just printing
6160
a warning. (Martin Pool, #189771)
6162
* List possible values for BZR_SSH environment variable in env-variables
6163
help topic. (Alexander Belchenko, #181842)
6165
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
6166
popping the log redirection now precisely restores the previous state,
6167
which makes it easier to use bzr log output from other programs.
6168
TestCaseInTempDir no longer depends on a log redirection being established
6169
by the test framework, which lets bzr tests cleanly run from a normal
6171
(#124153, #124849, Martin Pool, Jonathan Lange)
6173
* ``pull --quiet`` is now more quiet, in particular a message is no longer
6174
printed when the remembered pull location is used. (James Westby,
6177
* ``reconfigure`` can safely be interrupted while fetching.
6178
(Aaron Bentley, #179316)
6180
* ``reconfigure`` preserves tags when converting to and from lightweight
6181
checkouts. (Aaron Bentley, #182040)
6183
* Stop polluting /tmp when running selftest.
6184
(Vincent Ladeuil, #123363)
6186
* Switch from NFKC => NFC for normalization checks. NFC allows a few
6187
more characters which should be considered valid.
6188
(John Arbash Meinel, #185458)
6190
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
6191
interacting badly with a bug on the launchpad side. (Robert Collins)
6193
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
6194
tracebacks. (Andrew Bennetts, #182849)
6199
* Classes implementing Merge types like Merge3Merger must now accept (and
6200
honour) a do_merge flag in their constructor. (Aaron Bentley)
6202
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
6203
to previously take a write lock (and start a write group.)
6209
* selftest now accepts --load-list <file> to load a test id list. This
6210
speeds up running the test suite on a limited set of tests.
6216
* Add a new method ``get_result`` to graph search objects. The resulting
6217
``SearchResult`` can be used to recreate the search later, which will
6218
be useful in reducing network traffic. (Robert Collins)
6220
* Use convenience function to check whether two repository handles
6221
are referring to the same repository in ``Repository.get_graph``.
6222
(Jelmer Vernooij, #187162)
6224
* Fetching now passes the find_ghosts flag through to the
6225
``InterRepository.missing_revision_ids`` call consistently for all
6226
repository types. This will enable faster missing revision discovery with
6227
bzr+ssh. (Robert Collins)
6229
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
6231
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
6232
``InterRepository.search_missing_revision_ids`` which returns a
6233
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
6234
server. (Robert Collins)
6236
* New error ``NoPublicBranch`` for commands that need a public branch to
6237
operate. (Robert Collins)
6239
* New method ``iter_inventories`` on Repository for access to many
6240
inventories. This is primarily used by the ``revision_trees`` method, as
6241
direct access to inventories is discouraged. (Robert Collins)
6243
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
6244
which will split out ghosts and present parents into two separate sets,
6245
useful for code which needs to be aware of ghosts (e.g. fetching data
6246
cares about ghosts during revision selection). (Robert Collins)
6248
* Record a timestamp against each mutter to the trace file, relative to the
6249
first import of bzrlib. (Andrew Bennetts)
6251
* ``Repository.get_data_stream`` is now deprecated in favour of
6252
``Repository.get_data_stream_for_search`` which allows less network
6253
traffic when requesting data streams over a smart server. (Robert Collins)
6255
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
6256
removing one round trip on many network operations. (Robert Collins)
6258
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
6259
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
6261
* Repository has a new method ``has_revisions`` which signals the presence
6262
of many revisions by returning a set of the revisions listed which are
6263
present. This can be done by index queries without reading data for parent
6264
revision names etc. (Robert Collins)
6270
:Released: 2008-01-15
2869
6272
(no changes from 1.1rc1)
2871
bzr 1.1rc1 2008-01-05
2872
---------------------
2876
* Dotted revision numbers have been revised. Instead of growing longer with
2877
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
2878
we now report 1.2.1.) This helps scale long lived branches which have many
2879
feature branches merged between them. (John Arbash Meinel)
2881
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
2882
Use ``bzr diff branch1 --new branch2`` instead. This change has
2883
been made to remove the ambiguity where ``branch2`` is in fact a
2884
specific file to diff within ``branch1``.
2888
* New option to use custom template-based formats in ``bzr version-info``.
2891
* diff '--using' allows an external diff tool to be used for files.
2894
* New "lca" merge-type for fast everyday merging that also supports
2895
criss-cross merges. (Aaron Bentley)
2899
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
2902
* ``branch`` and ``checkout`` can now use files from a working tree to
2903
to speed up the process. For checkout, this requires the new
2904
--files-from flag. (Aaron Bentley)
2906
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
2908
* ``bzr diff`` now works on branches without working trees. Tree-less
2909
branches can also be compared to each other and to working trees using
2910
the new diff options ``--old`` and ``--new``. Diffing between branches,
2911
with or without trees, now supports specific file filtering as well.
2912
(Ian Clatworthy, #6700)
2914
* ``bzr pack`` now orders revision texts in topological order, with newest
2915
at the start of the file, promoting linear reads for ``bzr log`` and the
2916
like. This partially fixes #154129. (Robert Collins)
2918
* Merge directives now fetch prerequisites from the target branch if
2919
needed. (Aaron Bentley)
2921
* pycurl now handles digest authentication.
2924
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
2926
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
2928
* ``merge`` now warns when merge directives cause cherrypicks.
2931
* ``split`` now supported, to enable splitting large trees into smaller
2932
pieces. (Aaron Bentley)
2936
* Avoid AttributeError when unlocking a pack repository when an error occurs.
2937
(Martin Pool, #180208)
2939
* Better handle short reads when processing multiple range requests.
2940
(Vincent Ladeuil, #179368)
2942
* build_tree acceleration uses the correct path when a file has been moved.
2945
* ``commit`` now succeeds when a checkout and its master branch share a
2946
repository. (Aaron Bentley, #177592)
2948
* Fixed error reporting of unsupported timezone format in
2949
``log --timezone``. (Lukáš Lalinský, #178722)
2951
* Fixed Unicode encoding error in ``ignored`` when the output is
2952
redirected to a pipe. (Lukáš Lalinský)
2954
* Fix traceback when sending large response bodies over the smart protocol
2955
on Windows. (Andrew Bennetts, #115781)
2957
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
2958
pointed to different logical drives on Windows.
2959
(Alexander Belchenko, #90847)
2961
* HTTP test servers are now compatible with the http protocol version 1.1.
2962
(Vincent Ladeuil, #175524)
2964
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
2965
correctly, instead of erroring or attributing incorrect parents to ghosts.
2968
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
2970
* pycurl authentication handling was broken and incomplete. Fix handling of
2971
user:pass embedded in the urls.
2972
(Vincent Ladeuil, #177643)
2974
* Files inside non-directories are now handled like other conflict types.
2975
(Aaron Bentley, #177390)
2977
* ``reconfigure`` is able to convert trees into lightweight checkouts.
2980
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
2983
* Test that the old ``version_info_format`` functions still work, even
2984
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
2986
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
2989
* ``uncommit`` works even when the commit messages of revisions to be
2990
removed use characters not supported in the terminal encoding.
2993
* When dumb http servers return whole files instead of the requested ranges,
2994
read the remaining bytes by chunks to avoid overflowing network buffers.
2995
(Vincent Ladeuil, #175886)
2999
* Minor tweaks made to the bug tracker integration documentation.
3002
* Reference material has now be moved out of the User Guide and added
3003
to the User Reference. The User Reference has gained 4 sections as
3004
a result: Authenication Settings, Configuration Settings, Conflicts
3005
and Hooks. All help topics are now dumped into text format in the
3006
doc/en/user-reference directory for those who like browsing that
3007
information in their editor. (Ian Clatworthy)
3009
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
3013
* find_* methods available for BzrDirs, Branches and WorkingTrees.
3016
* Help topics can now be loaded from files.
3017
(Ian Clatworthy, Alexander Belchenko)
3019
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
3021
* Parent Providers should now implement ``get_parent_map`` returning a
3022
dictionary instead of ``get_parents`` returning a list.
3023
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
3026
* Patience Diff now supports arbitrary python objects, as long as they
3027
support ``hash()``. (John Arbash Meinel)
3029
* Reduce selftest overhead to establish test names by memoization.
3036
* Modules can now customise their tests by defining a ``load_tests``
3037
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
3038
for the documentation on this attribute. (Robert Collins)
3040
* New helper function ``bzrlib.tests.condition_id_re`` which helps
3041
filter tests based on a regular expression search on the tests id.
3044
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
3045
filter tests based on class. (Robert Collins)
3047
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
3048
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
3050
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
3051
generalises the ``filter_suite_by_re`` function. (Robert Collins)
3053
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
3054
TestSuite that does not contain tests from the input that matched a
3055
regular expression. (Robert Collins)
3057
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
3058
randomized copy of the input suite. (Robert Collins)
3060
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
3061
suite into two according to a regular expression. (Robert Collins)
3063
* Parametrize all http tests for the transport implementations, the http
3064
protocol versions (1.0 and 1.1) and the authentication schemes.
3067
* The ``exclude_pattern`` and ``random_order`` parameters to the function
3068
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
3070
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
3071
replaced by the new helper methods added in this release. (Robert Collins)
3079
* More improvements and fixes to the User Guide. (Ian Clatworthy)
3081
* Add information on cherrypicking/rebasing to the User Guide.
3084
* Improve bug tracker integration documentation. (Ian Clatworthy)
3086
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
3087
to the rebasing section of the User Guide from Aaron Bentley.
3091
bzr 1.0rc3 2007-12-11
3092
---------------------
3096
* If a traceback occurs, users are now asked to report the bug
3097
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
3098
by mail to the mailing list.
3103
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
3105
* Give more feedback during long http downloads by making readv deliver data
3106
as it arrives for urllib, and issue more requests for pycurl. High latency
3107
networks are better handled by urllib, the pycurl implementation give more
3108
feedback but also incur more latency.
3109
(Vincent Ladeuil, #173010)
3111
* Implement _make_parents_provider on RemoteRepository, allowing generating
3112
bundles against branches on a smart server. (Andrew Bennetts, #147836)
3116
* Improved user guide. (Ian Clatworthy)
3118
* The single-page quick reference guide is now available as a PDF.
3123
* readv urllib http implementation is now a real iterator above the
3124
underlying socket and deliver data as soon as it arrives. 'get' still
3125
wraps its output in a StringIO.
3129
bzr 1.0rc2 2007-12-07
3130
---------------------
3134
* Added a --coverage option to selftest. (Andrew Bennetts)
3136
* Annotate merge (merge-type=weave) now supports cherrypicking.
3139
* ``bzr commit`` now doesn't print the revision number twice. (Matt
3142
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
3143
define locations of bug trackers that are not directly supported by
3144
bzr or a plugin. The URL will be treated as a template and ``{id}``
3145
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
3147
* Support logging single merge revisions with short and line log formatters.
3150
* User Guide enhanced with suggested readability improvements from
3151
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
3153
* Quick Start Guide renamed to Quick Start Card, moved down in
3154
the catalog, provided in pdf and png format and updated to refer
3155
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
3157
* ``switch`` can now be used on heavyweight checkouts as well as
3158
lightweight ones. After switching a heavyweight checkout, the
3159
local branch is a mirror/cache of the new bound branch and
3160
uncommitted changes in the working tree are merged. As a safety
3161
check, if there are local commits in a checkout which have not
3162
been committed to the previously bound branch, then ``switch``
3163
fails unless the ``--force`` option is given. This option is
3164
now also required if the branch a lightweight checkout is pointing
3165
to has been moved. (Ian Clatworthy)
3169
* New -Dhttp debug option reports http connections, requests and responses.
3172
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
3176
* Better error message when running ``bzr cat`` on a non-existant branch.
3177
(Lukáš Lalinský, #133782)
3179
* Catch OSError 17 (file exists) in final phase of tree transform and show
3181
(Alexander Belchenko, #111758)
3183
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
3184
allowing multiple GET requests to be issued if too many ranges are
3186
(Vincent Ladeuil, #172701)
3188
* Check for missing basis texts when fetching from packs to packs.
3189
(John Arbash Meinel, #165290)
3191
* Fall back to showing e-mail in ``log --short/--line`` if the
3192
committer/author has only e-mail. (Lukáš Lalinský, #157026)
3196
* Deprecate not passing a ``location`` argument to commit reporters'
3197
``started`` methods. (Matt Nordhoff)
3200
bzr 1.0rc1 2007-11-30
3201
---------------------
3203
NOTES WHEN UPGRADING:
3205
* The default repository format is now ``pack-0.92``. This
3206
default is used when creating new repositories with ``init`` and
3207
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
3208
(See https://bugs.launchpad.net/bugs/164626)
3210
This format can be read and written by Bazaar 0.92 and later, and
3211
data can be transferred to and from older formats.
3213
To upgrade, please reconcile your repository (``bzr reconcile``), and then
3214
upgrade (``bzr upgrade``).
3216
``pack-0.92`` offers substantially better scaling and performance than the
3217
previous knits format. Some operations are slower where the code already
3218
had bad scaling characteristics under knits, the pack format makes such
3219
operations more visible as part of being more scalable overall. We will
3220
correct such operations over the coming releases and encourage the filing
3221
of bugs on any operation which you observe to be slower in a packs
3222
repository. One particular case that we do not intend to fix is pulling
3223
data from a pack repository into a knit repository over a high latency
3224
link; downgrading such data requires reinsertion of the file texts, and
3225
this is a classic space/time tradeoff. The current implementation is
3226
conservative on memory usage because we need to support converting data
3227
from any tree without problems.
3228
(Robert Collins, Martin Pool, #164476)
3232
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
3233
still available if user selects it explicitly with BZR_SSH environment
3234
variable. (Alexander Belchenko, workaround for bug #107593)
3236
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
3237
to enable the subtree functions (for example, for bzr-svn).
3238
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
3243
* New ``authentication.conf`` file holding the password or other credentials
3244
for remote servers. This can be used for ssh, sftp, smtp and other
3245
supported transports.
3248
* New rich-root and rich-root-pack formats, recording the same data about
3249
tree roots that's recorded for all other directories.
3250
(Aaron Bentley, #164639)
3252
* ``pack-0.92`` repositories can now be reconciled.
3253
(Robert Collins, #154173)
3255
* ``switch`` command added for changing the branch a lightweight checkout
3256
is associated with and updating the tree to reflect the latest content
3257
accordingly. This command was previously part of the BzrTools plug-in.
3258
(Ian Clatworthy, Aaron Bentley, David Allouche)
3260
* ``reconfigure`` command can now convert branches, trees, or checkouts to
3261
lightweight checkouts. (Aaron Bentley)
3265
* Commit updates the state of the working tree via a delta rather than
3266
supplying entirely new basis trees. For commit of a single specified file
3267
this reduces the wall clock time for commit by roughly a 30%.
3268
(Robert Collins, Martin Pool)
3270
* Commit with many automatically found deleted paths no longer performs
3271
linear scanning for the children of those paths during inventory
3272
iteration. This should fix commit performance blowing out when many such
3273
paths occur during commit. (Robert Collins, #156491)
3275
* Fetch with pack repositories will no longer read the entire history graph.
3276
(Robert Collins, #88319)
3278
* Revert takes out an appropriate lock when reverting to a basis tree, and
3279
does not read the basis inventory twice. (Robert Collins)
3281
* Diff does not require an inventory to be generated on dirstate trees.
3282
(Aaron Bentley, #149254)
3284
* New annotate merge (--merge-type=weave) implementation is fast on
3285
versionedfiles withough cached annotations, e.g. pack-0.92.
3290
* ``bzr merge`` now warns when it encounters a criss-cross merge.
3293
* ``bzr send`` now doesn't require the target e-mail address to be
3294
specified on the command line if an interactive e-mail client is used.
3297
* ``bzr tags`` now prints the revision number for each tag, instead of
3298
the revision id, unless --show-ids is passed. In addition, tags can be
3299
sorted chronologically instead of lexicographically with --sort=time.
3300
(Adeodato Simó, #120231)
3302
* Windows standalone version of bzr is able to load system-wide plugins from
3303
"plugins" subdirectory in installation directory. In addition standalone
3304
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
3305
about paths and bzr version. (Alexander Belchenko, #129298)
3311
* A progress bar has been added for knitpack -> knitpack fetching.
3312
(Robert Collins, #157789, #159147)
3314
* Branching from a branch via smart server now preserves the repository
3315
format. (Andrew Bennetts, #164626)
3317
* ``commit`` is now able to invoke an external editor in a non-ascii
3318
directory. (Daniel Watkins, #84043)
3320
* Catch connection errors for ftp.
3321
(Vincent Ladeuil, #164567)
3323
* ``check`` no longer reports spurious unreferenced text versions.
3324
(Robert Collins, John A Meinel, #162931, #165071)
3326
* Conflicts are now resolved recursively by ``revert``.
3327
(Aaron Bentley, #102739)
3329
* Detect invalid transport reuse attempts by catching invalid URLs.
3330
(Vincent Ladeuil, #161819)
3332
* Deleting a file without removing it shows a correct diff, not a traceback.
3335
* Do no use timeout in HttpServer anymore.
3336
(Vincent Ladeuil, #158972).
3338
* Don't catch the exceptions related to the http pipeline status before
3339
retrying an http request or some programming errors may be masked.
3340
(Vincent Ladeuil, #160012)
3342
* Fix ``bzr rm`` to not delete modified and ignored files.
3343
(Lukáš Lalinský, #172598)
3345
* Fix exception when revisionspec contains merge revisons but log
3346
formatter doesn't support merge revisions. (Kent Gibson, #148908)
3348
* Fix exception when ScopeReplacer is assigned to before any members have
3349
been retrieved. (Aaron Bentley)
3351
* Fix multiple connections during checkout --lightweight.
3352
(Vincent Ladeuil, #159150)
3354
* Fix possible error in insert_data_stream when copying between
3355
pack repositories over bzr+ssh or bzr+http.
3356
KnitVersionedFile.get_data_stream now makes sure that requested
3357
compression parents are sent before any delta hunks that depend
3359
(Martin Pool, #164637)
3361
* Fix typo in limiting offsets coalescing for http, leading to
3362
whole files being downloaded instead of parts.
3363
(Vincent Ladeuil, #165061)
3365
* FTP server errors don't error in the error handling code.
3366
(Robert Collins, #161240)
3368
* Give a clearer message when a pull fails because the source needs
3370
(Martin Pool, #164443)
3372
* It is clearer when a plugin cannot be loaded because of its name, and a
3373
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
3375
* Leave port as None in transport objects if user doesn't
3376
specify a port in urls.
3377
(vincent Ladeuil, #150860)
3379
* Make sure Repository.fetch(self) is properly a no-op for all
3380
Repository implementations. (John Arbash Meinel, #158333)
3382
* Mark .bzr directories as "hidden" on Windows.
3383
(Alexander Belchenko, #71147)
3385
* ``merge --uncommitted`` can now operate on a single file.
3386
(Aaron Bentley, Lukáš Lalinský, #136890)
3388
* Obsolete packs are now cleaned up by pack and autopack operations.
3389
(Robert Collins, #153789)
3391
* Operations pulling data from a smart server where the underlying
3392
repositories are not both annotated/both unannotated will now work.
3393
(Robert Collins, #165304).
3395
* Reconcile now shows progress bars. (Robert Collins, #159351)
3397
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
3398
properly. (John Arbash Meinel, #162486)
3400
* Removing an already-removed file reports the file does not exist. (Daniel
3403
* Rename on Windows is able to change filename case.
3404
(Alexander Belchenko, #77740)
3406
* Return error instead of a traceback for ``bzr log -r0``.
3407
(Kent Gibson, #133751)
3409
* Return error instead of a traceback when bzr is unable to create
3410
symlink on some platforms (e.g. on Windows).
3411
(Alexander Belchenko, workaround for #81689)
3413
* Revert doesn't crash when restoring a single file from a deleted
3414
directory. (Aaron Bentley)
3416
* Stderr output via logging mechanism now goes through encoded wrapper
3417
and no more uses utf-8, but terminal encoding instead. So all unicode
3418
strings now should be readable in non-utf-8 terminal.
3419
(Alexander Belchenko, #54173)
3421
* The error message when ``move --after`` should be used makes how to do so
3422
clearer. (Daniel Watkins, #85237)
3424
* Unicode-safe output from ``bzr info``. The output will be encoded
3425
using the terminal encoding and unrepresentable characters will be
3426
replaced by '?'. (Lukáš Lalinský, #151844)
3428
* Working trees are no longer created when pushing into a local no-trees
3429
repo. (Daniel Watkins, #50582)
3431
* Upgrade util/configobj to version 4.4.0.
3432
(Vincent Ladeuil, #151208).
3434
* Wrap medusa ftp test server as an FTPServer feature.
3435
(Vincent Ladeuil, #157752)
3439
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
3440
during very long time. (Alexander Belchenko)
3442
* The return value of
3443
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
3444
changed. Previously it was an iterator of lines, now it is an iterator of
3445
(line, version_id) tuples. This change has been made to aid reconcile and
3446
fetch operations. (Robert Collins)
3448
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
3451
* The Repository format registry default has been removed; it was previously
3452
obsoleted by the bzrdir format default, which implies a default repository
3458
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
3459
``bzrlib.pack``. These classes provide more convenient APIs for generating
3460
and parsing containers from streams rather than from files. (Andrew
3463
* New module ``lru_cache`` providing a cache for use by tasks that need
3464
semi-random access to large amounts of data. (John A Meinel)
3466
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
6277
:Released: 2008-01-05
6282
* Dotted revision numbers have been revised. Instead of growing longer with
6283
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
6284
we now report 1.2.1.) This helps scale long lived branches which have many
6285
feature branches merged between them. (John Arbash Meinel)
6287
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
6288
Use ``bzr diff branch1 --new branch2`` instead. This change has
6289
been made to remove the ambiguity where ``branch2`` is in fact a
6290
specific file to diff within ``branch1``.
6295
* New option to use custom template-based formats in ``bzr version-info``.
6298
* diff '--using' allows an external diff tool to be used for files.
6301
* New "lca" merge-type for fast everyday merging that also supports
6302
criss-cross merges. (Aaron Bentley)
6307
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
6310
* ``branch`` and ``checkout`` can now use files from a working tree to
6311
to speed up the process. For checkout, this requires the new
6312
--files-from flag. (Aaron Bentley)
6314
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
6316
* ``bzr diff`` now works on branches without working trees. Tree-less
6317
branches can also be compared to each other and to working trees using
6318
the new diff options ``--old`` and ``--new``. Diffing between branches,
6319
with or without trees, now supports specific file filtering as well.
6320
(Ian Clatworthy, #6700)
6322
* ``bzr pack`` now orders revision texts in topological order, with newest
6323
at the start of the file, promoting linear reads for ``bzr log`` and the
6324
like. This partially fixes #154129. (Robert Collins)
6326
* Merge directives now fetch prerequisites from the target branch if
6327
needed. (Aaron Bentley)
6329
* pycurl now handles digest authentication.
6332
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
6334
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
6336
* ``merge`` now warns when merge directives cause cherrypicks.
6339
* ``split`` now supported, to enable splitting large trees into smaller
6340
pieces. (Aaron Bentley)
6345
* Avoid AttributeError when unlocking a pack repository when an error occurs.
6346
(Martin Pool, #180208)
6348
* Better handle short reads when processing multiple range requests.
6349
(Vincent Ladeuil, #179368)
6351
* build_tree acceleration uses the correct path when a file has been moved.
6354
* ``commit`` now succeeds when a checkout and its master branch share a
6355
repository. (Aaron Bentley, #177592)
6357
* Fixed error reporting of unsupported timezone format in
6358
``log --timezone``. (Lukáš Lalinský, #178722)
6360
* Fixed Unicode encoding error in ``ignored`` when the output is
6361
redirected to a pipe. (Lukáš Lalinský)
6363
* Fix traceback when sending large response bodies over the smart protocol
6364
on Windows. (Andrew Bennetts, #115781)
6366
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
6367
pointed to different logical drives on Windows.
6368
(Alexander Belchenko, #90847)
6370
* HTTP test servers are now compatible with the http protocol version 1.1.
6371
(Vincent Ladeuil, #175524)
6373
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
6374
correctly, instead of erroring or attributing incorrect parents to ghosts.
6377
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
6379
* pycurl authentication handling was broken and incomplete. Fix handling of
6380
user:pass embedded in the urls.
6381
(Vincent Ladeuil, #177643)
6383
* Files inside non-directories are now handled like other conflict types.
6384
(Aaron Bentley, #177390)
6386
* ``reconfigure`` is able to convert trees into lightweight checkouts.
6389
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
6392
* Test that the old ``version_info_format`` functions still work, even
6393
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
6395
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
6398
* ``uncommit`` works even when the commit messages of revisions to be
6399
removed use characters not supported in the terminal encoding.
6402
* When dumb http servers return whole files instead of the requested ranges,
6403
read the remaining bytes by chunks to avoid overflowing network buffers.
6404
(Vincent Ladeuil, #175886)
6409
* Minor tweaks made to the bug tracker integration documentation.
6412
* Reference material has now be moved out of the User Guide and added
6413
to the User Reference. The User Reference has gained 4 sections as
6414
a result: Authenication Settings, Configuration Settings, Conflicts
6415
and Hooks. All help topics are now dumped into text format in the
6416
doc/en/user-reference directory for those who like browsing that
6417
information in their editor. (Ian Clatworthy)
6419
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
6424
* find_* methods available for BzrDirs, Branches and WorkingTrees.
6427
* Help topics can now be loaded from files.
6428
(Ian Clatworthy, Alexander Belchenko)
6430
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
6432
* Parent Providers should now implement ``get_parent_map`` returning a
6433
dictionary instead of ``get_parents`` returning a list.
6434
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
6437
* Patience Diff now supports arbitrary python objects, as long as they
6438
support ``hash()``. (John Arbash Meinel)
6440
* Reduce selftest overhead to establish test names by memoization.
6449
* Modules can now customise their tests by defining a ``load_tests``
6450
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
6451
for the documentation on this attribute. (Robert Collins)
6453
* New helper function ``bzrlib.tests.condition_id_re`` which helps
6454
filter tests based on a regular expression search on the tests id.
6457
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
6458
filter tests based on class. (Robert Collins)
6460
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
6461
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
6463
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
6464
generalises the ``filter_suite_by_re`` function. (Robert Collins)
6466
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
6467
TestSuite that does not contain tests from the input that matched a
6468
regular expression. (Robert Collins)
6470
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
6471
randomized copy of the input suite. (Robert Collins)
6473
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
6474
suite into two according to a regular expression. (Robert Collins)
6476
* Parametrize all http tests for the transport implementations, the http
6477
protocol versions (1.0 and 1.1) and the authentication schemes.
6480
* The ``exclude_pattern`` and ``random_order`` parameters to the function
6481
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
6483
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
6484
replaced by the new helper methods added in this release. (Robert Collins)
6490
:Released: 2007-12-14
6495
* More improvements and fixes to the User Guide. (Ian Clatworthy)
6497
* Add information on cherrypicking/rebasing to the User Guide.
6500
* Improve bug tracker integration documentation. (Ian Clatworthy)
6502
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
6503
to the rebasing section of the User Guide from Aaron Bentley.
6510
:Released: 2007-12-11
6515
* If a traceback occurs, users are now asked to report the bug
6516
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
6517
by mail to the mailing list.
6523
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
6525
* Give more feedback during long http downloads by making readv deliver data
6526
as it arrives for urllib, and issue more requests for pycurl. High latency
6527
networks are better handled by urllib, the pycurl implementation give more
6528
feedback but also incur more latency.
6529
(Vincent Ladeuil, #173010)
6531
* Implement _make_parents_provider on RemoteRepository, allowing generating
6532
bundles against branches on a smart server. (Andrew Bennetts, #147836)
6537
* Improved user guide. (Ian Clatworthy)
6539
* The single-page quick reference guide is now available as a PDF.
6545
* readv urllib http implementation is now a real iterator above the
6546
underlying socket and deliver data as soon as it arrives. 'get' still
6547
wraps its output in a StringIO.
6554
:Released: 2007-12-07
6559
* Added a --coverage option to selftest. (Andrew Bennetts)
6561
* Annotate merge (merge-type=weave) now supports cherrypicking.
6564
* ``bzr commit`` now doesn't print the revision number twice. (Matt
6567
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
6568
define locations of bug trackers that are not directly supported by
6569
bzr or a plugin. The URL will be treated as a template and ``{id}``
6570
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
6572
* Support logging single merge revisions with short and line log formatters.
6575
* User Guide enhanced with suggested readability improvements from
6576
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
6578
* Quick Start Guide renamed to Quick Start Card, moved down in
6579
the catalog, provided in pdf and png format and updated to refer
6580
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
6582
* ``switch`` can now be used on heavyweight checkouts as well as
6583
lightweight ones. After switching a heavyweight checkout, the
6584
local branch is a mirror/cache of the new bound branch and
6585
uncommitted changes in the working tree are merged. As a safety
6586
check, if there are local commits in a checkout which have not
6587
been committed to the previously bound branch, then ``switch``
6588
fails unless the ``--force`` option is given. This option is
6589
now also required if the branch a lightweight checkout is pointing
6590
to has been moved. (Ian Clatworthy)
6595
* New -Dhttp debug option reports http connections, requests and responses.
6598
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
6603
* Better error message when running ``bzr cat`` on a non-existant branch.
6604
(Lukáš Lalinský, #133782)
6606
* Catch OSError 17 (file exists) in final phase of tree transform and show
6608
(Alexander Belchenko, #111758)
6610
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
6611
allowing multiple GET requests to be issued if too many ranges are
6613
(Vincent Ladeuil, #172701)
6615
* Check for missing basis texts when fetching from packs to packs.
6616
(John Arbash Meinel, #165290)
6618
* Fall back to showing e-mail in ``log --short/--line`` if the
6619
committer/author has only e-mail. (Lukáš Lalinský, #157026)
6624
* Deprecate not passing a ``location`` argument to commit reporters'
6625
``started`` methods. (Matt Nordhoff)
6631
:Released: 2007-11-30
6633
Notes When Upgrading
6634
********************
6636
* The default repository format is now ``pack-0.92``. This
6637
default is used when creating new repositories with ``init`` and
6638
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
6639
(See https://bugs.launchpad.net/bugs/164626)
6641
This format can be read and written by Bazaar 0.92 and later, and
6642
data can be transferred to and from older formats.
6644
To upgrade, please reconcile your repository (``bzr reconcile``), and then
6645
upgrade (``bzr upgrade``).
6647
``pack-0.92`` offers substantially better scaling and performance than the
6648
previous knits format. Some operations are slower where the code already
6649
had bad scaling characteristics under knits, the pack format makes such
6650
operations more visible as part of being more scalable overall. We will
6651
correct such operations over the coming releases and encourage the filing
6652
of bugs on any operation which you observe to be slower in a packs
6653
repository. One particular case that we do not intend to fix is pulling
6654
data from a pack repository into a knit repository over a high latency
6655
link; downgrading such data requires reinsertion of the file texts, and
6656
this is a classic space/time tradeoff. The current implementation is
6657
conservative on memory usage because we need to support converting data
6658
from any tree without problems.
6659
(Robert Collins, Martin Pool, #164476)
6664
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
6665
still available if user selects it explicitly with BZR_SSH environment
6666
variable. (Alexander Belchenko, workaround for bug #107593)
6668
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
6669
to enable the subtree functions (for example, for bzr-svn).
6675
* New ``authentication.conf`` file holding the password or other credentials
6676
for remote servers. This can be used for ssh, sftp, smtp and other
6677
supported transports.
6680
* New rich-root and rich-root-pack formats, recording the same data about
6681
tree roots that's recorded for all other directories.
6682
(Aaron Bentley, #164639)
6684
* ``pack-0.92`` repositories can now be reconciled.
6685
(Robert Collins, #154173)
6687
* ``switch`` command added for changing the branch a lightweight checkout
6688
is associated with and updating the tree to reflect the latest content
6689
accordingly. This command was previously part of the BzrTools plug-in.
6690
(Ian Clatworthy, Aaron Bentley, David Allouche)
6692
* ``reconfigure`` command can now convert branches, trees, or checkouts to
6693
lightweight checkouts. (Aaron Bentley)
6698
* Commit updates the state of the working tree via a delta rather than
6699
supplying entirely new basis trees. For commit of a single specified file
6700
this reduces the wall clock time for commit by roughly a 30%.
6701
(Robert Collins, Martin Pool)
6703
* Commit with many automatically found deleted paths no longer performs
6704
linear scanning for the children of those paths during inventory
6705
iteration. This should fix commit performance blowing out when many such
6706
paths occur during commit. (Robert Collins, #156491)
6708
* Fetch with pack repositories will no longer read the entire history graph.
6709
(Robert Collins, #88319)
6711
* Revert takes out an appropriate lock when reverting to a basis tree, and
6712
does not read the basis inventory twice. (Robert Collins)
6714
* Diff does not require an inventory to be generated on dirstate trees.
6715
(Aaron Bentley, #149254)
6717
* New annotate merge (--merge-type=weave) implementation is fast on
6718
versionedfiles withough cached annotations, e.g. pack-0.92.
6724
* ``bzr merge`` now warns when it encounters a criss-cross merge.
6727
* ``bzr send`` now doesn't require the target e-mail address to be
6728
specified on the command line if an interactive e-mail client is used.
6731
* ``bzr tags`` now prints the revision number for each tag, instead of
6732
the revision id, unless --show-ids is passed. In addition, tags can be
6733
sorted chronologically instead of lexicographically with --sort=time.
6734
(Adeodato Simó, #120231)
6736
* Windows standalone version of bzr is able to load system-wide plugins from
6737
"plugins" subdirectory in installation directory. In addition standalone
6738
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
6739
about paths and bzr version. (Alexander Belchenko, #129298)
6747
* A progress bar has been added for knitpack -> knitpack fetching.
6748
(Robert Collins, #157789, #159147)
6750
* Branching from a branch via smart server now preserves the repository
6751
format. (Andrew Bennetts, #164626)
6753
* ``commit`` is now able to invoke an external editor in a non-ascii
6754
directory. (Daniel Watkins, #84043)
6756
* Catch connection errors for ftp.
6757
(Vincent Ladeuil, #164567)
6759
* ``check`` no longer reports spurious unreferenced text versions.
6760
(Robert Collins, John A Meinel, #162931, #165071)
6762
* Conflicts are now resolved recursively by ``revert``.
6763
(Aaron Bentley, #102739)
6765
* Detect invalid transport reuse attempts by catching invalid URLs.
6766
(Vincent Ladeuil, #161819)
6768
* Deleting a file without removing it shows a correct diff, not a traceback.
6771
* Do no use timeout in HttpServer anymore.
6772
(Vincent Ladeuil, #158972).
6774
* Don't catch the exceptions related to the http pipeline status before
6775
retrying an http request or some programming errors may be masked.
6776
(Vincent Ladeuil, #160012)
6778
* Fix ``bzr rm`` to not delete modified and ignored files.
6779
(Lukáš Lalinský, #172598)
6781
* Fix exception when revisionspec contains merge revisons but log
6782
formatter doesn't support merge revisions. (Kent Gibson, #148908)
6784
* Fix exception when ScopeReplacer is assigned to before any members have
6785
been retrieved. (Aaron Bentley)
6787
* Fix multiple connections during checkout --lightweight.
6788
(Vincent Ladeuil, #159150)
6790
* Fix possible error in insert_data_stream when copying between
6791
pack repositories over bzr+ssh or bzr+http.
6792
KnitVersionedFile.get_data_stream now makes sure that requested
6793
compression parents are sent before any delta hunks that depend
6795
(Martin Pool, #164637)
6797
* Fix typo in limiting offsets coalescing for http, leading to
6798
whole files being downloaded instead of parts.
6799
(Vincent Ladeuil, #165061)
6801
* FTP server errors don't error in the error handling code.
6802
(Robert Collins, #161240)
6804
* Give a clearer message when a pull fails because the source needs
6806
(Martin Pool, #164443)
6808
* It is clearer when a plugin cannot be loaded because of its name, and a
6809
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
6811
* Leave port as None in transport objects if user doesn't
6812
specify a port in urls.
6813
(vincent Ladeuil, #150860)
6815
* Make sure Repository.fetch(self) is properly a no-op for all
6816
Repository implementations. (John Arbash Meinel, #158333)
6818
* Mark .bzr directories as "hidden" on Windows.
6819
(Alexander Belchenko, #71147)
6821
* ``merge --uncommitted`` can now operate on a single file.
6822
(Aaron Bentley, Lukáš Lalinský, #136890)
6824
* Obsolete packs are now cleaned up by pack and autopack operations.
6825
(Robert Collins, #153789)
6827
* Operations pulling data from a smart server where the underlying
6828
repositories are not both annotated/both unannotated will now work.
6829
(Robert Collins, #165304).
6831
* Reconcile now shows progress bars. (Robert Collins, #159351)
6833
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
6834
properly. (John Arbash Meinel, #162486)
6836
* Removing an already-removed file reports the file does not exist. (Daniel
6839
* Rename on Windows is able to change filename case.
6840
(Alexander Belchenko, #77740)
6842
* Return error instead of a traceback for ``bzr log -r0``.
6843
(Kent Gibson, #133751)
6845
* Return error instead of a traceback when bzr is unable to create
6846
symlink on some platforms (e.g. on Windows).
6847
(Alexander Belchenko, workaround for #81689)
6849
* Revert doesn't crash when restoring a single file from a deleted
6850
directory. (Aaron Bentley)
6852
* Stderr output via logging mechanism now goes through encoded wrapper
6853
and no more uses utf-8, but terminal encoding instead. So all unicode
6854
strings now should be readable in non-utf-8 terminal.
6855
(Alexander Belchenko, #54173)
6857
* The error message when ``move --after`` should be used makes how to do so
6858
clearer. (Daniel Watkins, #85237)
6860
* Unicode-safe output from ``bzr info``. The output will be encoded
6861
using the terminal encoding and unrepresentable characters will be
6862
replaced by '?'. (Lukáš Lalinský, #151844)
6864
* Working trees are no longer created when pushing into a local no-trees
6865
repo. (Daniel Watkins, #50582)
6867
* Upgrade util/configobj to version 4.4.0.
6868
(Vincent Ladeuil, #151208).
6870
* Wrap medusa ftp test server as an FTPServer feature.
6871
(Vincent Ladeuil, #157752)
6876
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
6877
during very long time. (Alexander Belchenko)
6879
* The return value of
6880
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
6881
changed. Previously it was an iterator of lines, now it is an iterator of
6882
(line, version_id) tuples. This change has been made to aid reconcile and
6883
fetch operations. (Robert Collins)
6885
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
6888
* The Repository format registry default has been removed; it was previously
6889
obsoleted by the bzrdir format default, which implies a default repository
6896
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
6897
``bzrlib.pack``. These classes provide more convenient APIs for generating
6898
and parsing containers from streams rather than from files. (Andrew
6901
* New module ``lru_cache`` providing a cache for use by tasks that need
6902
semi-random access to large amounts of data. (John A Meinel)
6904
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
6910
:Released: 2007-11-05
3476
6915
* New uninstaller on Win32. (Alexander Belchenko)
3479
bzr 0.92rc1 2007-10-29
3480
----------------------
3482
NOTES WHEN UPGRADING:
3486
* ``bzr`` now returns exit code 4 if an internal error occurred, and
3487
3 if a normal error occurred. (Martin Pool)
3489
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
3490
repository index errors that occured as a result of the Weave disk format.
3491
Instead the ``reconcile`` command needs to be run to correct those
3492
problems if they exist (and it has been able to fix most such problems
3493
since bzr 0.8). Some new problems have been identified during this release
3494
and you should run ``bzr check`` once on every repository to see if you
3495
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
3496
repository due to mismatched parent errors - a symptom of index errors -
3497
you should simply take a full copy of that remote repository to a clean
3498
directory outside any local repositories, then run reconcile on it, and
3499
finally pull from it locally. (And naturally email the repositories owner
3500
to ask them to upgrade and run reconcile).
3505
* New ``knitpack-experimental`` repository format. This is interoperable with
3506
the ``dirstate-tags`` format but uses a smarter storage design that greatly
3507
speeds up many operations, both local and remote. This new format can be
3508
used as an option to the ``init``, ``init-repository`` and ``upgrade``
3509
commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
3510
for further details. (Robert Collins)
3512
* For users of bzr-svn (and those testing the prototype subtree support) that
3513
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
3514
been added. This is interoperable with the ``dirstate-subtrees`` format.
3517
* New ``reconfigure`` command. (Aaron Bentley)
3519
* New ``revert --forget-merges`` command, which removes the record of a pending
3520
merge without affecting the working tree contents. (Martin Pool)
3522
* New ``bzr_remote_path`` configuration variable allows finer control of
3523
remote bzr locations than BZR_REMOTE_PATH environment variable.
3526
* New ``launchpad-login`` command to tell Bazaar your Launchpad
3527
user ID. This can then be used by other functions of the
3528
Launchpad plugin. (James Henstridge)
3532
* Commit in quiet mode is now slightly faster as the information to
3533
output is no longer calculated. (Ian Clatworthy)
3535
* Commit no longer checks for new text keys during insertion when the
3536
revision id was deterministically unique. (Robert Collins)
3538
* Committing a change which is not a merge and does not change the number of
3539
files in the tree is faster by utilising the data about whether files are
3540
changed to determine if the tree is unchanged rather than recalculating
3541
it at the end of the commit process. (Robert Collins)
3543
* Inventory serialisation no longer double-sha's the content.
3546
* Knit text reconstruction now avoids making copies of the lines list for
3547
interim texts when building a single text. The new ``apply_delta`` method
3548
on ``KnitContent`` aids this by allowing modification of the revision id
3549
such objects represent. (Robert Collins)
3551
* Pack indices are now partially parsed for specific key lookup using a
3552
bisection approach. (Robert Collins)
3554
* Partial commits are now approximately 40% faster by walking over the
3555
unselected current tree more efficiently. (Robert Collins)
3557
* XML inventory serialisation takes 20% less time while being stricter about
3558
the contents. (Robert Collins)
3560
* Graph ``heads()`` queries have been fixed to no longer access all history
3561
unnecessarily. (Robert Collins)
3565
* ``bzr+https://`` smart server across https now supported.
3566
(John Ferlito, Martin Pool, #128456)
3568
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
3569
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
3571
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
3572
changes from one revision. (Alexander Belchenko, #141368)
3574
* Show encodings, locale and list of plugins in the traceback message.
3575
(Martin Pool, #63894)
3577
* Experimental directory formats can now be marked with
3578
``experimental = True`` during registration. (Ian Clatworthy)
3582
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
3584
* The hooks reference documentation is now converted to html as expected.
3589
* Connection error reporting for the smart server has been fixed to
3590
display a user friendly message instead of a traceback.
3591
(Ian Clatworthy, #115601)
3593
* Make sure to use ``O_BINARY`` when opening files to check their
3594
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
3596
* Fix a problem with Win32 handling of the executable bit.
3597
(John Arbash Meinel, #149113)
3599
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
3600
no longer assume that means port 22. This allows people using OpenSSH to
3601
override the default port in their ``~/.ssh/config`` if they wish. This
3602
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
3604
* Commands reporting exceptions can now be profiled and still have their
3605
data correctly dumped to a file. For example, a ``bzr commit`` with
3606
no changes still reports the operation as pointless but doing so no
3607
longer throws away the profiling data if this command is run with
3608
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
3610
* Fallback to ftp when paramiko is not installed and sftp can't be used for
3611
``tests/commands`` so that the test suite is still usable without
3613
(Vincent Ladeuil, #59150)
3615
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
3617
* Fix long standing bug in partial commit when there are renames
3618
left in tree. (Robert Collins, #140419)
3620
* Fix selftest semi-random noise during http related tests.
3621
(Vincent Ladeuil, #140614)
3623
* Fix typo in ftp.py making the reconnection fail on temporary errors.
3624
(Vincent Ladeuil, #154259)
3626
* Fix failing test by comparing real paths to cover the case where the TMPDIR
3627
contains a symbolic link.
3628
(Vincent Ladeuil, #141382).
3630
* Fix log against smart server branches that don't support tags.
3631
(James Westby, #140615)
3633
* Fix pycurl http implementation by defining error codes from
3634
pycurl instead of relying on an old curl definition.
3635
(Vincent Ladeuil, #147530)
3637
* Fix 'unprintable error' message when displaying BzrCheckError and
3638
some other exceptions on Python 2.5.
3639
(Martin Pool, #144633)
3641
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
3643
* Handles default value for ListOption in cmd_commit.
3644
(Vincent Ladeuil, #140432)
3646
* HttpServer and FtpServer need to be closed properly or a listening socket
3648
(Vincent Ladeuil, #140055)
3650
* Monitor the .bzr directory created in the top level test
3651
directory to detect leaking tests.
3652
(Vincent Ladeuil, #147986)
3654
* The basename, not the full path, is now used when checking whether
3655
the profiling dump file begins with ``callgrind.out`` or not. This
3656
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
3658
* Trivial fix for invoking command ``reconfigure`` without arguments.
3661
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
3662
new path causes bzr to be unable to access the file. (Robert Collins)
3664
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
3669
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
3670
constructor, for enabling bisection searches. (Robert Collins)
3672
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
3673
tree be supplied to it, previously failing to do so would trigger a
3674
deprecation warning. (Robert Collins)
3676
* ``KnitVersionedFile.add*`` will no longer cache added records even when
3677
enable_cache() has been called - the caching feature is now exclusively for
3678
reading existing data. (Robert Collins)
3680
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
3681
appropriate. (Martin Pool)
3683
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
3684
``trace+`` transport instead. (Robert Collins)
3686
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
3687
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
3690
* Removed previous deprecated ``basis_knit`` parameter to the
3691
``KnitVersionedFile`` constructor. (Robert Collins)
3693
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
3694
class that needs it.
3697
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
3698
``KnitRepository`` by parameters to the constructor. (Robert Collins)
3700
* The ``VersionedFile`` interface now allows content checks to be bypassed
3701
by supplying check_content=False. This saves nearly 30% of the minimum
3702
cost to store a version of a file. (Robert Collins)
3704
* Tree's with bad state such as files with no length or sha will no longer
3705
be silently accepted by the repository XML serialiser. To serialise
3706
inventories without such data, pass working=True to write_inventory.
3709
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
3710
``VersionedFile.join`` will no longer accept different parents on either
3711
side of a join - it will either ignore them, or error, depending on the
3712
implementation. See notes when upgrading for more information.
3717
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
3718
put by the method call, to allow avoiding stat-after-write or
3719
housekeeping in callers. (Robert Collins)
3721
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
3722
mandatory attributes are present on serialisation and deserialisation.
3723
This fixes some holes in API usage and allows better separation between
3724
physical storage and object serialisation. (Robert Collins)
3726
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
3727
shorthand for deriving from BzrError and setting internal_error = True.
3730
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
3731
moving the state of a parent tree to a new version via a delta rather than
3732
a complete replacement tree. (Robert Collins)
3734
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
3735
duplication from user input, when a user mentions both a path and an item
3736
contained within that path. (Robert Collins)
3738
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
3739
determining if a repository is write locked. (Robert Collins)
3741
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
3742
tuple containing the key information about a path for commit processing
3743
to complete. (Robert Collins)
3745
* New method on xml serialisers, write_inventory_to_lines, which matches the
3746
API used by knits for adding content. (Robert Collins)
3748
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
3749
logic, currently only available for byte-based lookup
3750
(``bisect_multi_bytes``). (Robert Collins)
3752
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
3753
and returns a gzipped version of the same. This is used to avoid a bunch
3754
of api friction during adding of knit hunks. (Robert Collins)
3756
* New parameter on ``bzrlib.transport.Transport.readv``
3757
``adjust_for_latency`` which changes readv from returning strictly the
3758
requested data to inserted return larger ranges and in forward read order
3759
to reduce the effect of network latency. (Robert Collins)
3761
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
3762
causes the parents of a selected id to be returned recursively, so all the
3763
paths from the root down to each element of selected_file_ids are
3764
returned. (Robert Collins)
3766
* Knit joining has been enhanced to support plain to annotated conversion
3767
and annotated to plain conversion. (Ian Clatworthy)
3769
* The CommitBuilder method ``record_entry_contents`` now returns summary
3770
information about the effect of the commit on the repository. This tuple
3771
contains an inventory delta item if the entry changed from the basis, and a
3772
boolean indicating whether a new file graph node was recorded.
3775
* The python path used in the Makefile can now be overridden.
3776
(Andrew Bennetts, Ian Clatworthy)
3780
* New transport implementation ``trace+`` which is useful for testing,
3781
logging activity taken to its _activity attribute. (Robert Collins)
3783
* When running bzr commands within the test suite, internal exceptions are
3784
not caught and reported in the usual way, but rather allowed to propagate
3785
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
3786
makes this behavior available to other users.
3789
* New method ``TestCase.call_catch_warnings`` for testing methods that
3790
raises a Python warning. (Martin Pool)
3798
* Print a warning instead of aborting the ``python setup.py install``
3799
process if building of a C extension is not possible.
3800
(Lukáš Lalinský, Alexander Belchenko)
3802
* Fix commit ordering in corner case (Aaron Bentley, #94975)
3804
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
3805
an implicit port. We were incorrectly raising PathNotChild due to
3806
inconsistent treatment of the ''_port'' attribute on the Transport object.
3807
(Andrew Bennetts, #133965)
3809
* Make RemoteRepository.sprout cope gracefully with servers that don't
3810
support the ``Repository.tarball`` request.
3814
bzr 0.91rc2 2007-09-11
3815
----------------------
3817
* Replaced incorrect tarball for previous release; a debug statement was left
3818
in bzrlib/remote.py.
3821
bzr 0.91rc1 2007-09-11
3822
----------------------
3826
* The default branch and repository format has changed to
3827
``dirstate-tags``, so tag commands are active by default.
3828
This format is compatible with Bazaar 0.15 and later.
3829
This incidentally fixes bug #126141.
3832
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
3833
must now appear after the command name. Scripts doing things like
3834
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
3839
* New option ``--author`` in ``bzr commit`` to specify the author of the
3840
change, if it's different from the committer. ``bzr log`` and
3841
``bzr annotate`` display the author instead of the committer.
3844
* In addition to global options and command specific options, a set of
3845
standard options are now supported. Standard options are legal for
3846
all commands. The initial set of standard options are:
3848
* ``--help`` or ``-h`` - display help message
3849
* ``--verbose`` or ``-v`` - display additional information
3850
* ``--quiet`` or ``-q`` - only output warnings and errors.
3852
Unlike global options, standard options can be used in aliases and
3853
may have command-specific help. (Ian Clatworthy)
3855
* Verbosity level processing has now been unified. If ``--verbose``
3856
or ``-v`` is specified on the command line multiple times, the
3857
verbosity level is made positive the first time then increased.
3858
If ``--quiet`` or ``-q`` is specified on the command line
3859
multiple times, the verbosity level is made negative the first
3860
time then decreased. To get the default verbosity level of zero,
3861
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
3862
Note that most commands currently ignore the magnitude of the
3863
verbosity level but do respect *quiet vs normal vs verbose* when
3864
generating output. (Ian Clatworthy)
3866
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
3867
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
3869
* New ``Repository.stream_knit_data_for_revisions`` request added to the
3870
network protocol for greatly reduced roundtrips when retrieving a set of
3871
revisions. (Andrew Bennetts)
3875
* ``bzr plugins`` now lists the version number for each plugin in square
3876
brackets after the path. (Robert Collins, #125421)
3878
* Pushing, pulling and branching branches with subtree references was not
3879
copying the subtree weave, preventing the file graph from being accessed
3880
and causing errors in commits in clones. (Robert Collins)
3882
* Suppress warning "integer argument expected, got float" from Paramiko,
3883
which sometimes caused false test failures. (Martin Pool)
3885
* Fix bug in bundle 4 that could cause attempts to write data to wrong
3886
versionedfile. (Aaron Bentley)
3888
* Diffs generated using "diff -p" no longer break the patch parser.
3891
* get_transport treats an empty possible_transports list the same as a non-
3892
empty one. (Aaron Bentley)
3894
* patch verification for merge directives is reactivated, and works with
3895
CRLF and CR files. (Aaron Bentley)
3897
* Accept ..\ as a path in revision specifiers. This fixes for example
3898
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
3900
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
3901
(Blake Winton, #129299)
3903
* man page no longer lists hidden options (#131667, Aaron Bentley)
3905
* ``uncommit --help`` now explains the -r option adequately. (Daniel
3908
* Error messages are now better formatted with parameters (such as
3909
filenames) quoted when necessary. This avoids confusion when directory
3910
names ending in a '.' at the end of messages were confused with a
3911
full stop that may or not have been there. (Daniel Watkins, #129791)
3913
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
3915
* If a particular command is an alias, ``help`` will show the alias
3916
instead of claiming there is no help for said alias. (Daniel Watkins,
3919
* TreeTransform-based operations, like pull, merge, revert, and branch,
3920
now roll back if they encounter an error. (Aaron Bentley, #67699)
3922
* ``bzr commit`` now exits cleanly if a character unsupported by the
3923
current encoding is used in the commit message. (Daniel Watkins,
3926
* bzr send uses default values for ranges when only half of an elipsis
3927
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
3929
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
3930
binary is present. (Martin Albisetti, #107155)
3932
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
3933
needing ``--force``) subtrees that contain no files with text changes or
3934
modified files. With ``--force`` it removes the subtree regardless of
3935
text changes or unknown files. Directories with renames in or out (but
3936
not changed otherwise) will now be removed without needing ``--force``.
3937
Unknown ignored files will be deleted without needing ``--force``.
3938
(Marius Kruger, #111665)
3940
* When two plugins conflict, the source of both the losing and now the
3941
winning definition is shown. (Konstantin Mikhaylov, #5454)
3943
* When committing to a branch, the location being committed to is
3944
displayed. (Daniel Watkins, #52479)
3946
* ``bzr --version`` takes care about encoding of stdout, especially
3947
when output is redirected. (Alexander Belchenko, #131100)
3949
* Prompt for an ftp password if none is provided.
3950
(Vincent Ladeuil, #137044)
3952
* Reuse bound branch associated transport to avoid multiple
3954
(Vincent Ladeuil, #128076, #131396)
3956
* Overwrite conflicting tags by ``push`` and ``pull`` if the
3957
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
3959
* In checkouts, tags are copied into the master branch when created,
3960
changed or deleted, and are copied into the checkout when it is
3961
updated. (Martin Pool, #93856, #93860)
3963
* Print a warning instead of aborting the ``python setup.py install``
3964
process if building of a C extension is not possible.
3965
(Lukáš Lalinský, Alexander Belchenko)
3969
* Add the option "--show-diff" to the commit command in order to display
3970
the diff during the commit log creation. (Goffredo Baroncelli)
3972
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
3975
* ``pull -v`` no longer includes deltas, making it much faster.
3978
* ``send`` now sends the directive as an attachment by default.
3979
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
3981
* Documentation updates (Martin Albisetti)
3983
* Help on debug flags is now included in ``help global-options``.
3984
(Daniel Watkins, #124853)
3986
* Parameters passed on the command line are checked to ensure they are
3987
supported by the encoding in use. (Daniel Watkins)
3989
* The compression used within the bzr repository has changed from zlib
3990
level 9 to the zlib default level. This improves commit performance with
3991
only a small increase in space used (and in some cases a reduction in
3992
space). (Robert Collins)
3994
* Initial commit no longer SHAs files twice and now reuses the path
3995
rather than looking it up again, making it faster.
3998
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
3999
changes in one revision. (Lukáš Lalinský)
4001
* If versioned files match a given ignore pattern, a warning is now
4002
given. (Daniel Watkins, #48623)
4004
* ``bzr status`` now has -S as a short name for --short and -V as a
4005
short name for --versioned. These have been added to assist users
4006
migrating from Subversion: ``bzr status -SV`` is now like
4007
``svn status -q``. (Daniel Watkins, #115990)
4009
* Added C implementation of ``PatienceSequenceMatcher``, which is about
4010
10x faster than the Python version. This speeds up commands that
4011
need file diffing, such as ``bzr commit`` or ``bzr diff``.
4014
* HACKING has been extended with a large section on core developer tasks.
4017
* Add ``branches`` and ``standalone-trees`` as online help topics and
4018
include them as Concepts within the User Reference.
4019
(Paul Moore, Ian Clatworthy)
4021
* ``check`` can detect versionedfile parent references that are
4022
inconsistent with revision and inventory info, and ``reconcile`` can fix
4023
them. These faulty references were generated by 0.8-era releases,
4024
so repositories which were manipulated by old bzrs should be
4025
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
4029
* ``Branch.append_revision`` is removed altogether; please use
4030
``Branch.set_last_revision_info`` instead. (Martin Pool)
4032
* CommitBuilder now advertises itself as requiring the root entry to be
4033
supplied. This only affects foreign repository implementations which reuse
4034
CommitBuilder directly and have changed record_entry_contents to require
4035
that the root not be supplied. This should be precisely zero plugins
4036
affected. (Robert Collins)
4038
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
4039
its return value to include the sha1 and length of the inserted text. This
4040
allows the avoidance of double-sha1 calculations during commit.
4043
* ``Transport.should_cache`` has been removed. It was not called in the
4044
previous release. (Martin Pool)
4048
* Tests may now raise TestNotApplicable to indicate they shouldn't be
4049
run in a particular scenario. (Martin Pool)
4051
* New function multiply_tests_from_modules to give a simpler interface
4052
to test parameterization. (Martin Pool, Robert Collins)
4054
* ``Transport.should_cache`` has been removed. It was not called in the
4055
previous release. (Martin Pool)
4057
* NULL_REVISION is returned to indicate the null revision, not None.
4060
* Use UTF-8 encoded StringIO for log tests to avoid failures on
4061
non-ASCII committer names. (Lukáš Lalinský)
4065
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
4066
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
4067
useful functionality for determining the path of a plugin, its tests, and
4068
its version information. (Robert Collins)
4070
* Add the option user_encoding to the function 'show_diff_trees()'
4071
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
4073
* Add the function make_commit_message_template_encoded() and the function
4074
edit_commit_message_encoded() which handle encoded strings.
4075
This is done in order to mix the commit messages (which is a unicode
4076
string), and the diff which is a raw string. (Goffredo Baroncelli)
4078
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
4079
overhead on non-weave repositories which don't require all parents to be
4080
present. (Robert Collins)
4082
* Deprecated method ``find_previous_heads`` on
4083
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
4084
of ``parent_candidates`` and a separate heads check via the repository
4085
API. (Robert Collins)
4087
* New trace function ``mutter_callsite`` will print out a subset of the
4088
stack to the log, which can be useful for gathering debug details.
4091
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
4092
added via a public attribute records_written. (Robert Collins)
4094
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
4095
This provides a hint to users of transports as to the reasonable
4096
minimum data to read. In principle this can take latency and
4097
bandwidth into account on a per-connection basis, but for now it
4098
just has hard coded values based on the url. (e.g. http:// has a large
4099
page size, file:// has a small one.) (Robert Collins)
4101
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
4102
incremental addition of data to a file without requiring that all the
4103
data be buffered in memory. (Robert Collins)
4105
* New methods on ``bzrlib.knit.KnitVersionedFile``:
4106
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
4107
``get_format_signature()``. These provide some infrastructure for
4108
efficiently streaming the knit data for a set of versions over the smart
4111
* Knits with no annotation cache still produce correct annotations.
4114
* Three new methods have been added to ``bzrlib.trace``:
4115
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
4116
``set_verbosity_level`` expects a numeric value: negative for quiet,
4117
zero for normal, positive for verbose. The size of the number can be
4118
used to determine just how quiet or verbose the application should be.
4119
The existing ``be_quiet`` and ``is_quiet`` routines have been
4120
integrated into this new scheme. (Ian Clatworthy)
4122
* Options can now be delcared with a ``custom_callback`` parameter. If
4123
set, this routine is called after the option is processed. This feature
4124
is now used by the standard options ``verbose`` and ``quiet`` so that
4125
setting one implicitly resets the other. (Ian Clatworthy)
4127
* Rather than declaring a new option from scratch in order to provide
4128
custom help, a centrally registered option can be decorated using the
4129
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
4130
is useful when declaring better help for the ``verbose`` and ``quiet``
4131
standard options as the base definition of these is now more complex
4132
than before thanks to their use of a custom callback. (Ian Clatworthy)
4134
* Tree._iter_changes(specific_file=[]) now iterates through no files,
4135
instead of iterating through all files. None is used to iterate through
4136
all files. (Aaron Bentley)
4138
* WorkingTree.revert() now accepts None to revert all files. The use of
4139
[] to revert all files is deprecated. (Aaron Bentley)
4147
* Documentation is now organized into multiple directories with a level
4148
added for different languages or locales. Added the Mini Tutorial
4149
and Quick Start Summary (en) documents from the Wiki, improving the
4150
content and readability of the former. Formatted NEWS as Release Notes
4151
complete with a Table of Conents, one heading per release. Moved the
4152
Developer Guide into the main document catalog and provided a link
4153
from the developer document catalog back to the main one.
4154
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
4159
* The static convenience method ``BzrDir.create_repository``
4160
is deprecated. Callers should instead create a ``BzrDir`` instance
4161
and call ``create_repository`` on that. (Martin Pool)
4164
bzr 0.90rc1 2007-08-14
4165
----------------------
4169
* ``bzr init`` should connect to the remote location one time only. We
4170
have been connecting several times because we forget to pass around the
4171
Transport object. This modifies ``BzrDir.create_branch_convenience``,
4172
so that we can give it the Transport we already have.
4173
(John Arbash Meinel, Vincent Ladeuil, #111702)
4175
* Get rid of sftp connection cache (get rid of the FTP one too).
4176
(Vincent Ladeuil, #43731)
4178
* bzr branch {local|remote} remote don't try to create a working tree
4180
(Vincent Ladeuil, #112173)
4182
* All identified multiple connections for a single bzr command have been
4183
fixed. See bzrlib/tests/commands directory.
4186
* ``bzr rm`` now does not insist on ``--force`` to delete files that
4187
have been renamed but not otherwise modified. (Marius Kruger,
4190
* ``bzr selftest --bench`` no longer emits deprecation warnings
4193
* ``bzr status`` now honours FILE parameters for conflict lists
4194
(Aaron Bentley, #127606)
4196
* ``bzr checkout`` now honours -r when reconstituting a working tree.
4197
It also honours -r 0. (Aaron Bentley, #127708)
4199
* ``bzr add *`` no more fails on Windows if working tree contains
4200
non-ascii file names. (Kuno Meyer, #127361)
4202
* allow ``easy_install bzr`` runs without fatal errors.
4203
(Alexander Belchenko, #125521)
4205
* Graph._filter_candidate_lca does not raise KeyError if a candidate
4206
is eliminated just before it would normally be examined. (Aaron Bentley)
4208
* SMTP connection failures produce a nice message, not a traceback.
4213
* Don't show "dots" progress indicators when run non-interactively, such
4214
as from cron. (Martin Pool)
4216
* ``info`` now formats locations more nicely and lists "submit" and
4217
"public" branches (Aaron Bentley)
4219
* New ``pack`` command that will trigger database compression within
4220
the repository (Robert Collins)
4222
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
4223
version is approximately 2-3x faster at parsing a ``.kndx`` file.
4224
Which yields a measurable improvement for commands which have to
4225
read from the repository, such as a 1s => 0.75s improvement in
4226
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
4228
* Merge is now faster. Depending on the scenario, it can be more than 2x
4229
faster. (Aaron Bentley)
4231
* Give a clearer warning, and allow ``python setup.py install`` to
4232
succeed even if pyrex is not available.
4233
(John Arbash Meinel)
4235
* ``DirState._read_dirblocks`` now has an optional Pyrex
4236
implementation. This improves the speed of any command that has to
4237
read the entire DirState. (``diff``, ``status``, etc, improve by
4239
``bisect_dirblocks`` has also been improved, which helps all
4240
``_get_entry`` type calls (whenever we are searching for a
4241
particular entry in the in-memory DirState).
4242
(John Arbash Meinel)
4244
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
4245
branch revision history for ui display unless -v is supplied.
4248
* ``bzr log -rA..B`` output shifted to the left margin if the log only
4249
contains merge revisions. (Kent Gibson)
4251
* The ``plugins`` command is now public with improved help.
4254
* New bundle and merge directive formats are faster to generate, and
4256
* Annotate merge now works when there are local changes. (Aaron Bentley)
4258
* Commit now only shows the progress in terms of directories instead of
4259
entries. (Ian Clatworthy)
4261
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
4262
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
4265
* Fix ``VersionedFile.get_graph()`` to avoid using
4266
``set.difference_update(other)``, which has bad scaling when
4267
``other`` is large. This improves ``VF.get_graph([version_id])`` for
4268
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
4270
* The ``--lsprof-file`` option now generates output for KCacheGrind if
4271
the file starts with ``callgrind.out``. This matches the default file
4272
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
4274
* Fix ``bzr update`` to avoid an unnecessary
4275
``branch.get_master_branch`` call, which avoids 1 extra connection
4276
to the remote server. (Partial fix for #128076, John Arbash Meinel)
4278
* Log errors from the smart server in the trace file, to make debugging
4279
test failures (and live failures!) easier. (Andrew Bennetts)
4281
* The HTML version of the man page has been superceded by a more
4282
comprehensive manual called the Bazaar User Reference. This manual
4283
is completed generated from the online help topics. As part of this
4284
change, limited reStructuredText is now explicitly supported in help
4285
topics and command help with 'unnatural' markup being removed prior
4286
to display by the online help or inclusion in the man page.
4289
* HTML documentation now use files extension ``*.html``
4290
(Alexander Belchenko)
4292
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
4293
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
4295
* ``bzr selftest --strict`` fails if there are any missing features or
4296
expected test failures. (Daniel Watkins, #111914)
4298
* Link to registration survey added to README. (Ian Clatworthy)
4300
* Windows standalone installer show link to registration survey
4301
when installation finished. (Alexander Belchenko)
4305
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
4306
Options are now required to provide a help string and it must
4307
comply with the style guide by being one or more sentences with an
4308
initial capital and final period. (Martin Pool)
4310
* KnitIndex.get_parents now returns tuples. (Robert Collins)
4312
* Ancient unused ``Repository.text_store`` attribute has been removed.
4315
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
4316
rather than just bytestrings, making it easier to represent multiple
4317
element names. As this interface was not used by any internal facilities
4318
since it was introduced in 0.18 no API compatibility is being preserved.
4319
The serialised form of these packs is identical with 0.18 when a single
4320
element tuple is in use. (Robert Collins)
4324
* merge now uses ``iter_changes`` to calculate changes, which makes room for
4325
future performance increases. It is also more consistent with other
4326
operations that perform comparisons, and reduces reliance on
4327
Tree.inventory. (Aaron Bentley)
4329
* Refactoring of transport classes connected to a remote server.
4330
ConnectedTransport is a new class that serves as a basis for all
4331
transports needing to connect to a remote server. transport.split_url
4332
have been deprecated, use the static method on the object instead. URL
4333
tests have been refactored too.
4336
* Better connection sharing for ConnectedTransport objects.
4337
transport.get_transport() now accepts a 'possible_transports' parameter.
4338
If a newly requested transport can share a connection with one of the
4342
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
4343
the null revision, and consider using ``None`` for this purpose
4344
deprecated. (Aaron Bentley)
4346
* New ``index`` module with abstract index functionality. This will be
4347
used during the planned changes in the repository layer. Currently the
4348
index layer provides a graph aware immutable index, a builder for the
4349
same index type to allow creating them, and finally a composer for
4350
such indices to allow the use of many indices in a single query. The
4351
index performance is not optimised, however the API is stable to allow
4352
development on top of the index. (Robert Collins)
4354
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
4355
their directory sections. This is equivalent to comparing
4356
``path.split('/')``, only without having to split the paths.
4357
This has a Pyrex implementation available.
4358
(John Arbash Meinel)
4360
* New transport decorator 'unlistable+' which disables the list_dir
4361
functionality for testing.
4363
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
4365
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
4366
for performing annotate-merge. (Aaron Bentley)
4368
* New EmailMessage class to create email messages. (Adeodato Simó)
4370
* Unused functions on the private interface KnitIndex have been removed.
4373
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
4374
of a ``index.GraphIndex``. (Robert Collins)
4376
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
4377
the parents of many knit nodes at once, reducing round trips to the
4378
underlying index. (Robert Collins)
4380
* Graph now has an is_ancestor method, various bits use it.
4383
* The ``-Dhpss`` flag now includes timing information. As well as
4384
logging when a new connection is opened. (John Arbash Meinel)
4386
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
4387
callers when inserting data, allowing generation of readv style access
4388
during pack creation, without needing a separate pass across the output
4389
pack to gather such details. (Robert Collins)
4391
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
4392
files that are stored on a transport. (Robert Collins)
4394
* New ``Repository.has_same_location`` method that reports if two
4395
repository objects refer to the same repository (although with some risk
4396
of false negatives). (Andrew Bennetts)
4398
* InterTree.compare now passes require_versioned on correctly.
4401
* New methods on Repository - ``start_write_group``,
4402
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
4403
which provide a clean hook point for transactional Repositories - ones
4404
where all the data for a fetch or commit needs to be made atomically
4405
available in one step. This allows the write lock to remain while making
4406
a series of data insertions. (e.g. data conversion). (Robert Collins)
4408
* In ``bzrlib.knit`` the internal interface has been altered to use
4409
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
4410
describe where data in a knit is, allowing knits to be split into
4411
many files. (Robert Collins)
4413
* ``bzrlib.knit._KnitData`` split into cache management and physical access
4414
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
4415
The former provides access into a .pack file, and the latter provides the
4416
current production repository form of .knit files. (Robert Collins)
4420
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
4421
``--keep-output`` options, which are obsolete now that tests
4422
are done within directories in $TMPDIR. (Martin Pool)
4424
* The SSH_AUTH_SOCK environment variable is now reset to avoid
4425
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
4427
* run_bzr_subprocess handles parameters the same way as run_bzr:
4428
either a string or a list of strings should be passed as the first
4429
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
4433
--------------------
4437
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
4440
bzr 0.18rc1 2007-07-10
4441
-----------------------
4445
* Do not suppress pipe errors, etc. in non-display commands
4446
(Alexander Belchenko, #87178)
4448
* Display a useful error message when the user requests to annotate
4449
a file that is not present in the specified revision.
4450
(James Westby, #122656)
4452
* Commands that use status flags now have a reference to 'help
4453
status-flags'. (Daniel Watkins, #113436)
4455
* Work around python-2.4.1 inhability to correctly parse the
4456
authentication header.
4457
(Vincent Ladeuil, #121889)
4459
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
4461
* Fix tempfile permissions error in smart server tar bundling under
4462
Windows. (Martin _, #119330)
4464
* Fix detection of directory entries in the inventory. (James Westby)
4466
* Fix handling of http code 400: Bad Request When issuing too many ranges.
4467
(Vincent Ladeuil, #115209)
4469
* Issue a CONNECT request when connecting to an https server
4470
via a proxy to enable SSL tunneling.
4471
(Vincent Ladeuil, #120678)
4473
* Fix ``bzr log -r`` to support selecting merge revisions, both
4474
individually and as part of revision ranges.
4475
(Kent Gibson, #4663)
4477
* Don't leave cruft behind when failing to acquire a lockdir.
4478
(Martin Pool, #109169)
4480
* Don't use the '-f' strace option during tests.
4481
(Vincent Ladeuil, #102019).
4483
* Warn when setting ``push_location`` to a value that will be masked by
4484
locations.conf. (Aaron Bentley, #122286)
4486
* Fix commit ordering in corner case (Aaron Bentley, #94975)
4488
* Make annotate behave in a non-ASCII world (Adeodato Simó).
4492
* The --lsprof-file option now dumps a text rendering of the profiling
4493
information if the filename ends in ".txt". It will also convert the
4494
profiling information to a format suitable for KCacheGrind if the
4495
output filename ends in ".callgrind". Fixes to the lsprofcalltree
4496
conversion process by Jean Paul Calderone and Itamar were also merged.
4497
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
4499
* ``info`` now defaults to non-verbose mode, displaying only paths and
4500
abbreviated format info. ``info -v`` displays all the information
4501
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
4503
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
4506
* The internal ``weave-list`` command has become ``versionedfile-list``,
4507
and now lists knits as well as weaves. (Aaron Bentley)
4509
* Automatic merge base selection uses a faster algorithm that chooses
4510
better bases in criss-cross merge situations (Aaron Bentley)
4512
* Progress reporting in ``commit`` has been improved. The various logical
4513
stages are now reported on as follows, namely:
4515
* Collecting changes [Entry x/y] - Stage n/m
4516
* Saving data locally - Stage n/m
4517
* Uploading data to master branch - Stage n/m
4518
* Updating the working tree - Stage n/m
4519
* Running post commit hooks - Stage n/m
4521
If there is no master branch, the 3rd stage is omitted and the total
4522
number of stages is adjusted accordingly.
4524
Each hook that is run after commit is listed with a name (as hooks
4525
can be slow it is useful feedback).
4526
(Ian Clatworthy, Robert Collins)
4528
* Various operations that are now faster due to avoiding unnecessary
4529
topological sorts. (Aaron Bentley)
4531
* Make merge directives robust against broken bundles. (Aaron Bentley)
4533
* The lsprof filename note is emitted via trace.note(), not standard
4534
output. (Aaron Bentley)
4536
* ``bzrlib`` now exports explicit API compatibility information to assist
4537
library users and plugins. See the ``bzrlib.api`` module for details.
4540
* Remove unnecessary lock probes when acquiring a lockdir.
4543
* ``bzr --version`` now shows the location of the bzr log file, which
4544
is especially useful on Windows. (Martin Pool)
4546
* -D now supports hooks to get debug tracing of hooks (though its currently
4547
minimal in nature). (Robert Collins)
4549
* Long log format reports deltas on merge revisions.
4550
(John Arbash Meinel, Kent Gibson)
4552
* Make initial push over ftp more resilient. (John Arbash Meinel)
4554
* Print a summary of changes for update just like pull does.
4555
(Daniel Watkins, #113990)
4557
* Add a -Dhpss option to trace smart protocol requests and responses.
4562
* Testing cleanups -
4563
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
4564
to ``bzrlib.tests.repository_implementations``;
4565
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
4566
to ``bzrlib.tests.interrepository_implementations``;
4567
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
4568
``bzrlib.tests.test_transport_implementations``.
4569
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
4570
``bzrlib.tests.branch_implementations``.
4571
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
4572
``bzrlib.tests.bzrdir_implementations``.
4573
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
4574
to ``bzrlib.tests.interversionedfile_implementations``.
4575
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
4576
``bzrlib.tests.revisionstore_implementations``.
4577
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
4578
``bzrlib.tests.workingtree_implementations``.
4579
These changes are an API break in the testing infrastructure only.
4582
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
4584
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
4585
win32. Callers of the function should do this and use the new
4586
``MutableTree.smart_add`` method instead. (Robert Collins)
4588
* ``bzrlib.add.glob_expand_for_win32`` is now
4589
``bzrlib.win32utils.glob_expand``. (Robert Collins)
4591
* ``bzrlib.add.FastPath`` is now private and moved to
4592
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
4594
* ``LockDir.wait`` removed. (Martin Pool)
4596
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
4597
``server_stopped`` hooks. The first parameter is now an iterable of
4598
backing URLs rather than a single URL. This is to reflect that many
4599
URLs may map to the external URL of the server. E.g. the server interally
4600
may have a chrooted URL but also the local file:// URL will be at the
4601
same location. (Robert Collins)
4605
* New SMTPConnection class to unify email handling. (Adeodato Simó)
4607
* Fix documentation of BzrError. (Adeodato Simó)
4609
* Make BzrBadParameter an internal error. (Adeodato Simó)
4611
* Remove use of 'assert False' to raise an exception unconditionally.
4614
* Give a cleaner error when failing to decode knit index entry.
4617
* TreeConfig would mistakenly search the top level when asked for options
4618
from a section. It now respects the section argument and only
4619
searches the specified section. (James Westby)
4621
* Improve ``make api-docs`` output. (John Arbash Meinel)
4623
* Use os.lstat rather than os.stat for osutils.make_readonly and
4624
osutils.make_writeable. This makes the difftools plugin more
4625
robust when dangling symlinks are found. (Elliot Murphy)
4627
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
4628
lockdirs are taken or released. (Martin Pool)
4630
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
4631
allows a nicer UI when hooks are running as the current hook can
4632
be displayed. (Robert Collins)
4634
* ``Transport.get`` has had its interface made more clear for ease of use.
4635
Retrieval of a directory must now fail with either 'PathError' at open
4636
time, or raise 'ReadError' on a read. (Robert Collins)
4638
* New method ``_maybe_expand_globs`` on the ``Command`` class for
4639
dealing with unexpanded glob lists - e.g. on the win32 platform. This
4640
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
4642
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
4643
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
4646
* New method ``external_url`` on Transport for obtaining the url to
4647
hand to external processes. (Robert Collins)
4649
* Teach windows installers to build pyrex/C extensions.
4650
(Alexander Belchenko)
4654
* Removed the ``--keep-output`` option from selftest and clean up test
4655
directories as they're used. This reduces the IO load from
4656
running the test suite and cuts the time by about half.
4657
(Andrew Bennetts, Martin Pool)
4659
* Add scenarios as a public attribute on the TestAdapter classes to allow
4660
modification of the generated scenarios before adaption and easier
4661
testing. (Robert Collins)
4663
* New testing support class ``TestScenarioApplier`` which multiplies
4664
out a single teste by a list of supplied scenarios. (RobertCollins)
4666
* Setting ``repository_to_test_repository`` on a repository_implementations
4667
test will cause it to be called during repository creation, allowing the
4668
testing of repository classes which are not based around the Format
4669
concept. For example a repository adapter can be tested in this manner,
4670
by altering the repository scenarios to include a scenario that sets this
4671
attribute during the test parameterisation in
4672
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
4674
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
4675
interface is now self.run_bzr. The command to run can be passed as
4676
either a list of parameters, a string containing the command line, or
4677
(deprecated) varargs parameters. (Martin Pool)
4679
* The base TestCase now isolates tests from -D parameters by clearing
4680
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
4682
* Add a relpath parameter to get_transport methods in test framework to
4683
avoid useless cloning.
4684
(Vincent Ladeuil, #110448)
4688
--------------------
4692
* Fix crash of commit due to wrong lookup of filesystem encoding.
4693
(Colin Watson, #120647)
4695
* Revert logging just to stderr in commit as broke unicode filenames.
4696
(Aaron Bentley, Ian Clatworthy, #120930)
4699
bzr 0.17rc1 2007-06-12
4700
-----------------------
4702
NOTES WHEN UPGRADING:
4704
* The kind() and is_executable() APIs on the WorkingTree interface no
4705
longer implicitly (read) locks and unlocks the tree. This *might*
4706
impact some plug-ins and tools using this part of the API. If you find
4707
an issue that may be caused by this change, please let us know,
4708
particularly the plug-in/tool maintainer. If encountered, the API
4709
fix is to surround kind() and is_executable() calls with lock_read()
4710
and unlock() like so::
4712
work_tree.lock_read()
4714
kind = work_tree.kind(...)
4719
* Rework of LogFormatter API to provide beginning/end of log hooks and to
4720
encapsulate the details of the revision to be logged in a LogRevision
4722
In long log formats, merge revision ids are only shown when --show-ids
4723
is specified, and are labelled "revision-id:", as per mainline
4724
revisions, instead of "merged:". (Kent Gibson)
4726
* New ``BranchBuilder`` API which allows the construction of particular
4727
histories quickly. Useful for testing and potentially other applications
4728
too. (Robert Collins)
4732
* There are two new help topics, working-trees and repositories that
4733
attempt to explain these concepts. (James Westby, John Arbash Meinel,
4736
* Added ``bzr log --limit`` to report a limited number of revisions.
4737
(Kent Gibson, #3659)
4739
* Revert does not try to preserve file contents that were originally
4740
produced by reverting to a historical revision. (Aaron Bentley)
4742
* ``bzr log --short`` now includes ``[merge]`` for revisions which
4743
have more than one parent. This is a small improvement to help
4744
understanding what changes have occurred
4745
(John Arbash Meinel, #83887)
4747
* TreeTransform avoids many renames when contructing large trees,
4748
improving speed. 3.25x speedups have been observed for construction of
4749
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
4751
* Commit on large trees is now faster. In my environment, a commit of
4752
a small change to the Mozilla tree (55k files) has dropped from
4753
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
4754
small change is 33% faster. (Ian Clatworthy)
4756
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
4761
* ``bzr push`` should only connect to the remote location one time.
4762
We have been connecting 3 times because we forget to pass around
4763
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
4764
that we can pass in the Transport that we already have.
4765
(John Arbash Meinel, #75721)
4767
* ``DirState.set_state_from_inventory()`` needs to properly order
4768
based on split paths, not just string paths.
4769
(John Arbash Meinel, #115947)
4771
* Let TestUIFactoy encode the password prompt with its own stdout.
4772
(Vincent Ladeuil, #110204)
4774
* pycurl should take use the range header that takes the range hint
4776
(Vincent Ladeuil, #112719)
4778
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
4779
on a missing file. (Aaron Bentley, #118186)
4781
* WorkingTree.remove works correctly with tree references, and when pwd is
4782
not the tree root. (Aaron Bentley)
4784
* Merge no longer fails when a file is renamed in one tree and deleted
4785
in the other. (Aaron Bentley, #110279)
4787
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
4788
and defaults to the last revision (Matthew Fuller, #90048)
4790
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
4791
(Daniel Watkins, #111958)
4793
* ``bzr branch -r revid:foo`` can be used to branch any revision in
4794
your repository. (Previously Branch6 only supported revisions in your
4795
mainline). (John Arbash Meinel, #115343)
4798
--------------------
4802
* Handle when you have 2 directories with similar names, but one has a
4803
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
4804
iterator was using direct comparison and ``'abc/a'`` sorts after
4805
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
4806
(John Arbash Meinel, #111227)
4808
* Handle when someone renames a file on disk without telling bzr.
4809
Previously we would report the first file as missing, but not show
4810
the new unknown file. (John Arbash Meinel, #111288)
4812
* Avoid error when running hooks after pulling into or pushing from
4813
a branch bound to a smartserver branch. (Martin Pool, #111968)
4817
* Move developer documentation to doc/developers/. This reduces clutter in
4818
the root of the source tree and allows HACKING to be split into multiple
4819
files. (Robert Collins, Alexander Belchenko)
4821
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
4822
``DirState.update_entry()``. This optimizes the core logic for ``bzr
4823
diff`` and ``bzr status`` significantly improving the speed of
4824
both. (John Arbash Meinel)
4826
bzr 0.16rc2 2007-04-30
4827
-----------------------
4831
* Handle the case when you delete a file, and then rename another file
4832
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
4833
status`` should show the removed file and an unknown file in its
4834
place. (John Arbash Meinel, #109993)
4836
* Bundles properly read and write revision properties that have an
4837
empty value. And when the value is not ASCII.
4838
(John Arbash Meinel, #109613)
4840
* Fix the bzr commit message to be in text mode.
4841
(Alexander Belchenko, #110901)
4843
* Also handle when you rename a file and create a file where it used
4844
to be. (John Arbash Meinel, #110256)
4846
* ``WorkingTree4._iter_changes`` should not descend into unversioned
4847
directories. (John Arbash Meinel, #110399)
4849
bzr 0.16rc1 2007-04-26
4850
-----------------------
4852
NOTES WHEN UPGRADING:
4854
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
4855
it could be recovered again.
4856
This has been done for consistency with svn and the unix rm command.
4857
The old ``remove`` behaviour has been retained in the new option
4858
``bzr remove --keep``, which will just stop versioning the file,
4860
``bzr remove --force`` have been added which will always delete the
4862
``bzr remove`` is also more verbose.
4863
(Marius Kruger, #82602)
4867
* Merge directives can now be supplied as input to `merge` and `pull`,
4868
like bundles can. (Aaron Bentley)
4870
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
4871
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
4872
to continue. This can be disabled by setting the environment variable
4873
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
4875
* selftest now supports --list-only to list tests instead of running
4876
them. (Ian Clatworthy)
4878
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
4879
tests with names that match that regular expression.
4880
(Ian Clatworthy, #102679)
4882
* selftest now supports --randomize SEED to run tests in a random order.
4883
SEED is typically the value 'now' meaning 'use the current time'.
4884
(Ian Clatworthy, #102686)
4886
* New option ``--fixes`` to commit, which stores bug fixing annotations as
4887
revision properties. Built-in support for Launchpad, Debian, Trac and
4888
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
4890
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
4891
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
4894
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
4897
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
4898
into using local variables instead of going through ``self._var``.
4899
Improves the time to ``merge_sort`` a 10k revision graph by
4900
approximately 40% (~700->400ms). (John Arbash Meinel)
4902
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
4905
* ``bzr help`` now provides cross references to other help topics using
4906
the _see_also facility on command classes. Likewise the bzr_man
4907
documentation, and the bzr.1 man page also include this information.
4910
* Tags are now included in logs, that use the long log formatter.
4911
(Erik Bågfors, Alexander Belchenko)
4913
* ``bzr help`` provides a clearer message when a help topic cannot be
4914
found. (Robert Collins, #107656)
4916
* ``bzr help`` now accepts optional prefixes for command help. The help
4917
for all commands can now be found at ``bzr help commands/COMMANDNAME``
4918
as well as ``bzr help COMMANDNAME`` (which only works for commands
4919
where the name is not the same as a more general help topic).
4922
* ``bzr help PLUGINNAME`` will now return the module docstring from the
4923
plugin PLUGINNAME. (Robert Collins, #50408)
4925
* New help topic ``urlspec`` which lists the availables transports.
4926
(Goffredo Baroncelli)
4928
* doc/server.txt updated to document the default bzr:// port
4929
and also update the blurb about the hpss' current status.
4930
(Robert Collins, #107125).
4932
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
4933
serve out to the local LAN (and anyone in the world that can reach the
4934
machine running ``bzr serve``. (Robert Collins, #98918)
4936
* A new smart server protocol version has been added. It prefixes requests
4937
and responses with an explicit version identifier so that future protocol
4938
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
4940
* The bzr protocol version 2 indicates success or failure in every response
4941
without depending on particular commands encoding that consistently,
4942
allowing future client refactorings to be much more robust about error
4943
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
4945
* The smart protocol over HTTP client has been changed to always post to the
4946
same ``.bzr/smart`` URL under the original location when it can. This allows
4947
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
4948
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
4950
* digest authentication is now supported for proxies and HTTP by the urllib
4951
based http implementation. Tested against Apache 2.0.55 and Squid
4952
2.6.5. Basic and digest authentication are handled coherently for HTTP
4953
and proxy: if the user is provided in the url (bzr command line for HTTP,
4954
proxy environment variables for proxies), the password is prompted for
4955
(only once). If the password is provided, it is taken into account. Once
4956
the first authentication is successful, all further authentication
4957
roundtrips are avoided by preventively setting the right authentication
4963
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
4964
code paths. (Robert Collins)
4966
* Change the format of chroot urls so that they can be safely manipulated
4967
by generic url utilities without causing the resulting urls to have
4968
escaped the chroot. A side effect of this is that creating a chroot
4969
requires an explicit action using a ChrootServer.
4970
(Robert Collins, Andrew Bennetts)
4972
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
4973
rather than fixing bug #96847. (Aaron Bentley)
4975
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
4976
``WorkingTree._write_inventory``. (Aaron Bentley)
4978
* Convenience method ``TestCase.expectFailure`` ensures that known failures
4979
do not silently pass. (Aaron Bentley)
4981
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
4982
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
4984
* New SmartServer hooks facility. There are two initial hooks documented
4985
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
4986
plugins to execute code upon server startup and shutdown.
4989
* SmartServer in standalone mode will now close its listening socket
4990
when it stops, rather than waiting for garbage collection. This primarily
4991
fixes test suite hangs when a test tries to connect to a shutdown server.
4992
It may also help improve behaviour when dealing with a server running
4993
on a specific port (rather than dynamically assigned ports).
4996
* Move most SmartServer code into a new package, bzrlib/smart.
4997
bzrlib/transport/remote.py contains just the Transport classes that used
4998
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
5000
* urllib http implementation avoid roundtrips associated with
5001
401 (and 407) errors once the authentication succeeds.
5004
* urlib http now supports querying the user for a proxy password if
5005
needed. Realm is shown in the prompt for both HTTP and proxy
5006
authentication when the user is required to type a password.
5009
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
5010
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
5011
consistent with its new home in ``bzrlib/transport/remote.py``, and because
5012
it's not really a "smart" transport, just one that does file operations
5013
via remote procedure calls. (Andrew Bennetts)
5015
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
5016
``Branch`` now accept a ``token`` keyword argument, so that separate
5017
instances of those objects can share a lock if it has the right token.
5018
(Andrew Bennetts, Robert Collins)
5020
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
5021
branch references - which the smart server component needs.
5023
* The Repository API ``make_working_trees`` is now permitted to return
5024
False when ``set_make_working_trees`` is not implemented - previously
5025
an unimplemented ``set_make_working_trees`` implied the result True
5026
from ``make_working_trees``. This has been changed to accomodate the
5027
smart server, where it does not make sense (at this point) to ever
5028
make working trees by default. (Robert Collins)
5030
* Command objects can now declare related help topics by having _see_also
5031
set to a list of related topic. (Robert Collins)
5033
* ``bzrlib.help`` now delegates to the Command class for Command specific
5034
help. (Robert Collins)
5036
* New class ``TransportListRegistry``, derived from the Registry class, which
5037
simplifies tracking the available Transports. (Goffredo Baroncelli)
5039
* New function ``Branch.get_revision_id_to_revno_map`` which will
5040
return a dictionary mapping revision ids to dotted revnos. Since
5041
dotted revnos are defined in the context of the branch tip, it makes
5042
sense to generate them from a ``Branch`` object.
5043
(John Arbash Meinel)
5045
* Fix the 'Unprintable error' message display to use the repr of the
5046
exception that prevented printing the error because the str value
5047
for it is often not useful in debugging (e.g. KeyError('foo') has a
5048
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
5049
useful. (Robert Collins)
5051
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
5056
* Don't fail bundle selftest if email has 'two' embedded.
5057
(Ian Clatworthy, #98510)
5059
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
5060
(Robert Widhopf-Fenk, #98591)
5062
* Remove ``--basis`` from the checkout/branch commands - it didn't work
5063
properly and is no longer beneficial.
5064
(Robert Collins, #53675, #43486)
5066
* Don't produce encoding error when adding duplicate files.
5069
* Fix ``bzr log <file>`` so it only logs the revisions that changed
5070
the file, and does it faster.
5071
(Kent Gibson, John Arbash Meinel, #51980, #69477)
5073
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
5074
an empty versioned directory, which now has files in it.
5075
(John Arbash Meinel, #104257)
5077
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
5078
inside the ancestry of the other. Saves a lot of graph processing
5079
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
5080
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
5082
* Fix ``show_diff_trees`` to handle the case when a file is modified,
5083
and the containing directory is renamed. (The file path is different
5084
in this versus base, but it isn't marked as a rename).
5085
(John Arbash Meinel, #103870)
5087
* FTP now works even when the FTP server does not support atomic rename.
5088
(Aaron Bentley, #89436)
5090
* Correct handling in bundles and merge directives of timezones with
5091
that are not an integer number of hours offset from UTC. Always
5092
represent the epoch time in UTC to avoid problems with formatting
5093
earlier times on win32. (Martin Pool, Alexander Belchenko, John
5096
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
5098
* "dirstate" and "dirstate-tags" formats now produce branches compatible
5099
with old versions of bzr. (Aaron Bentley, #107168))
5101
* Handle moving a directory when children have been added, removed,
5102
and renamed. (John Arbash Meinel, #105479)
5104
* Don't preventively use basic authentication for proxy before receiving a
5105
407 error. Otherwise people willing to use other authentication schemes
5106
may expose their password in the clear (or nearly). This add one
5107
roundtrip in case basic authentication should be used, but plug the
5111
* Handle http and proxy digest authentication.
5112
(Vincent Ladeuil, #94034).
5116
* Added ``bzrlib.strace.strace`` which will strace a single callable and
5117
return a StraceResult object which contains just the syscalls involved
5118
in running it. (Robert Collins)
5120
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
5121
default time down to one suitable for tests. (Andrew Bennetts)
5123
* Add new ``vfs_transport_factory`` attribute on tests which provides the
5124
common vfs backing for both the readonly and readwrite transports.
5125
This allows the RemoteObject tests to back onto local disk or memory,
5126
and use the existing ``transport_server`` attribute all tests know about
5127
to be the smart server transport. This in turn allows tests to
5128
differentiate between 'transport to access the branch', and
5129
'transport which is a VFS' - which matters in Remote* tests.
5130
(Robert Collins, Andrew Bennetts)
5132
* The ``make_branch_and_tree`` method for tests will now create a
5133
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
5134
a LocalURLServer. (Robert Collins, Andrew Bennetts)
5136
* Branch implementation tests have been audited to ensure that all urls
5137
passed to Branch APIs use proper urls, except when local-disk paths
5138
are intended. This is so that tests correctly access the test transport
5139
which is often not equivalent to local disk in Remote* tests. As part
5140
of this many tests were adjusted to remove dependencies on local disk
5142
(Robert Collins, Andrew Bennetts)
5144
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
5145
functions by adding a ``__unittest`` global attribute. (Robert Collins,
5146
Andrew Bennetts, Martin Pool, Jonathan Lange)
5148
* Refactored proxy and authentication handling to simplify the
5149
implementation of new auth schemes for both http and proxy.
5157
* Handle incompatible repositories as a user issue when fetching.
5160
* Don't give a recommendation to upgrade when branching or
5161
checking out a branch that contains an old-format working tree.
5164
bzr 0.15rc3 2007-03-26
5165
-----------------------
5169
* A warning is now displayed when opening working trees in older
5170
formats, to encourage people to upgrade to WorkingTreeFormat4.
5175
* HTTP redirections are now taken into account when a branch (or a
5176
bundle) is accessed for the first time. A message is issued at each
5177
redirection to inform the user. In the past, http redirections were
5178
silently followed for each request which significantly degraded the
5179
performances. The http redirections are not followed anymore by
5180
default, instead a RedirectRequested exception is raised. For bzrlib
5181
users needing to follow http redirections anyway,
5182
``bzrlib.transport.do_catching_redirections`` provide an easy transition
5187
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
5188
lock to an OS write lock. Linux can do this without unlocking, Win32
5189
needs to unlock in between. (John Arbash Meinel)
5191
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
5192
to silence (when false) warnings about opening old formats.
5195
* Fix minor performance regression with bzr-0.15 on pre-dirstate
5196
trees. (We were reading the working inventory too many times).
5197
(John Arbash Meinel)
5199
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
5200
``revision_history``. Branch subclasses should override
5201
``_gen_revision_history`` rather than ``revision_history`` to make use of
5202
this cache, and call ``_clear_revision_history_cache`` and
5203
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
5207
* Take ``smtp_server`` from user config into account.
5210
* Restore Unicode filename handling for versioned and unversioned files.
5211
(John Arbash Meinel, #92608)
5213
* Don't fail during ``bzr commit`` if a file is marked removed, and
5214
the containing directory is auto-removed. (John Arbash Meinel, #93681)
5216
* ``bzr status FILENAME`` failed on Windows because of an uncommon
5217
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
5218
(Wouter van Heyst, John Arbash Meinel, #90819)
5220
* ``bzr checkout source`` should create a local branch in the same
5221
format as source. (John Arbash Meinel, #93854)
5223
* ``bzr commit`` with a kind change was failing to update the
5224
last-changed-revision for directories. The
5225
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
5226
ignoring the fact that the kind could have changed, too.
5227
(John Arbash Meinel, #90111)
5229
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
5230
the directory. So that there was a chance it would break commit,
5231
etc. (John Arbash Meinel, #94037)
5233
* Correctly handles mutiple permanent http redirections.
5236
bzr 0.15rc2 2007-03-14
5237
-----------------------
5239
NOTES WHEN UPGRADING:
5241
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
5242
default to ``--trees`` instead of ``--no-trees``.
5243
Existing shared repositories are not affected.
5247
* New ``merge-directive`` command to generate machine- and human-readable
5248
merge requests. (Aaron Bentley)
5250
* New ``submit:`` revision specifier makes it easy to diff against the
5251
common ancestor with the submit location (Aaron Bentley)
5253
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
5255
* Added ``bzr status --versioned`` to report only versioned files,
5256
not unknowns. (Kent Gibson)
5258
* Merge now autodetects the correct line-ending style for its conflict
5259
markers. (Aaron Bentley)
5263
* Refactored SSH vendor registration into SSHVendorManager class.
5268
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
5269
numbered dirs for TestCaseInTempDir. This is default behavior
5270
on Windows. Anyone can force named dirs on Windows
5271
with ``--no-numbered-dirs``. (Alexander Belchenko)
5273
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
5274
from the command line. (Marien Zwart, #90501)
5276
* Fix ``TreeTransform._iter_changes`` when both the source and
5277
destination are missing. (Aaron Bentley, #88842)
5279
* Fix commit of merges with symlinks in dirstate trees.
5282
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
5283
(Wouter van Heyst, #53483)
5286
bzr 0.15rc1 2007-03-07
5287
-----------------------
5291
* The default disk format has changed. Please run 'bzr upgrade' in your
5292
working trees to upgrade. This new default is compatible for network
5293
operations, but not for local operations. That is, if you have two
5294
versions of bzr installed locally, after upgrading you can only use the
5295
bzr 0.15 version. This new default does not enable tags or nested-trees
5296
as they are incompatible with bzr versions before 0.15 over the network.
5298
* For users of bzrlib: Two major changes have been made to the working tree
5299
api in bzrlib. The first is that many methods and attributes, including
5300
the inventory attribute, are no longer valid for use until one of
5301
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
5302
and become invalid again after unlock is called. This has been done
5303
to improve performance and correctness as part of the dirstate
5305
(Robert Collins, John A Meinel, Martin Pool, and others).
5307
* For users of bzrlib: The attribute 'tree.inventory' should be considered
5308
readonly. Previously it was possible to directly alter this attribute, or
5309
its contents, and have the tree notice this. This has been made
5310
unsupported - it may work in some tree formats, but in the newer dirstate
5311
format such actions will have no effect and will be ignored, or even
5312
cause assertions. All operations possible can still be carried out by a
5313
combination of the tree API, and the bzrlib.transform API. (Robert
5314
Collins, John A Meinel, Martin Pool, and others).
5318
* Support for OS Windows 98. Also .bzr.log on any windows system
5319
saved in My Documents folder. (Alexander Belchenko)
5321
* ``bzr mv`` enhanced to support already moved files.
5322
In the past the mv command would have failed if the source file doesn't
5323
exist. In this situation ``bzr mv`` would now detect that the file has
5324
already moved and update the repository accordingly, if the target file
5326
A new option ``--after`` has been added so that if two files already
5327
exist, you could notify Bazaar that you have moved a (versioned) file
5328
and replaced it with another. Thus in this case ``bzr move --after``
5329
will only update the Bazaar identifier.
5330
(Steffen Eichenberg, Marius Kruger)
5332
* ``ls`` now works on treeless branches and remote branches.
5335
* ``bzr help global-options`` describes the global options.
5338
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
5341
* Files are now allowed to change kind (e.g. from file to symlink).
5342
Supported by ``commit``, ``revert`` and ``status``
5345
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
5348
* ``bzr help checkouts`` descibes what checkouts are and some possible
5349
uses of them. (James Westby, Aaron Bentley)
5351
* A new ``-d`` option to push, pull and merge overrides the default
5352
directory. (Martin Pool)
5354
* Branch format 6: smaller, and potentially faster than format 5. Supports
5355
``append_history_only`` mode, where the log view and revnos do not change,
5356
except by being added to. Stores policy settings in
5357
".bzr/branch/branch.conf".
5359
* ``append_only`` branches: Format 6 branches may be configured so that log
5360
view and revnos are always consistent. Either create the branch using
5361
"bzr init --append-revisions-only" or edit the config file as descriped
5362
in docs/configuration.txt.
5364
* rebind: Format 6 branches retain the last-used bind location, so if you
5365
"bzr unbind", you can "bzr bind" to bind to the previously-selected
5368
* Builtin tags support, created and deleted by the ``tag`` command and
5369
stored in the branch. Tags can be accessed with the revisionspec
5370
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
5371
at present. Tags require a network incompatible upgrade. To perform this
5372
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
5373
repositories. (Martin Pool)
5375
* The ``bzr://`` transport now has a well-known port number, 4155,
5376
which it will use by default. (Andrew Bennetts, Martin Pool)
5378
* Bazaar now looks for user-installed plugins before looking for site-wide
5379
plugins. (Jonathan Lange)
5381
* ``bzr resolve`` now detects and marks resolved text conflicts.
5386
* Internally revision ids and file ids are now passed around as utf-8
5387
bytestrings, rather than treating them as Unicode strings. This has
5388
performance benefits for Knits, since we no longer need to decode the
5389
revision id for each line of content, nor for each entry in the index.
5390
This will also help with the future dirstate format.
5391
(John Arbash Meinel)
5393
* Reserved ids (any revision-id ending in a colon) are rejected by
5394
versionedfiles, repositories, branches, and working trees
5397
* Minor performance improvement by not creating a ProgressBar for
5398
every KnitIndex we create. (about 90ms for a bzr.dev tree)
5399
(John Arbash Meinel)
5401
* New easier to use Branch hooks facility. There are five initial hooks,
5402
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
5403
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
5404
``'post_uncommit'``. These hooks fire after the matching operation
5405
on a branch has taken place, and were originally added for the
5406
branchrss plugin. (Robert Collins)
5408
* New method ``Branch.push()`` which should be used when pushing from a
5409
branch as it makes performance and policy decisions to match the UI
5410
level command ``push``. (Robert Collins).
5412
* Add a new method ``Tree.revision_tree`` which allows access to cached
5413
trees for arbitrary revisions. This allows the in development dirstate
5414
tree format to provide access to the callers to cached copies of
5415
inventory data which are cheaper to access than inventories from the
5417
(Robert Collins, Martin Pool)
5419
* New ``Branch.last_revision_info`` method, this is being done to allow
5420
optimization of requests for both the number of revisions and the last
5421
revision of a branch with smartservers and potentially future branch
5422
formats. (Wouter van Heyst, Robert Collins)
5424
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
5425
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
5426
other for code reuse without requiring users to perform file-renaming
5427
gymnastics. (Robert Collins)
5429
* New Repository method ``'gather_stats'`` for statistic data collection.
5430
This is expected to grow to cover a number of related uses mainly
5431
related to bzr info. (Robert Collins)
5433
* Log formatters are now managed with a registry.
5434
``log.register_formatter`` continues to work, but callers accessing
5435
the FORMATTERS dictionary directly will not.
5437
* Allow a start message to be passed to the ``edit_commit_message``
5438
function. This will be placed in the message offered to the user
5439
for editing above the separator. It allows a template commit message
5440
to be used more easily. (James Westby)
5442
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
5443
you pass a Unicode string rather than an 8-bit string. Callers need
5444
to be updated to encode first. (John Arbash Meinel)
5446
* Branch.push, pull, merge now return Result objects with information
5447
about what happened, rather than a scattering of various methods. These
5448
are also passed to the post hooks. (Martin Pool)
5450
* File formats and architecture is in place for managing a forest of trees
5451
in bzr, and splitting up existing trees into smaller subtrees, and
5452
finally joining trees to make a larger tree. This is the first iteration
5453
of this support, and the user-facing aspects still require substantial
5454
work. If you wish to experiment with it, use ``bzr upgrade
5455
--dirstate-with-subtree`` in your working trees and repositories.
5456
You can use the hidden commands ``split`` and ``join`` and to create
5457
and manipulate nested trees, but please consider using the nested-trees
5458
branch, which contains substantial UI improvements, instead.
5459
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
5460
(Aaron Bentley, Martin Pool, Robert Collins).
5464
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
5465
branch, rather than the last changed revision of the file.
5466
(John Arbash Meinel, #82158)
5468
* Lock operations no longer hang if they encounter a permission problem.
5471
* ``bzr push`` can resume a push that was canceled before it finished.
5472
Also, it can push even if the target directory exists if you supply
5473
the ``--use-existing-dir`` flag.
5474
(John Arbash Meinel, #30576, #45504)
5476
* Fix http proxy authentication when user and an optional
5477
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
5480
* ``bzr log branch/file`` works for local treeless branches
5481
(Aaron Bentley, #84247)
5483
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
5485
* Searching location of CA bundle for PyCurl in env variable
5486
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
5487
(Alexander Belchenko, #82086)
5489
* ``bzr init`` works with unicode argument LOCATION.
5490
(Alexander Belchenko, #85599)
5492
* Raise ``DependencyNotPresent`` if pycurl do not support https.
5493
(Vincent Ladeuil, #85305)
5495
* Invalid proxy env variables should not cause a traceback.
5496
(Vincent Ladeuil, #87765)
5498
* Ignore patterns normalised to use '/' path separator.
5499
(Kent Gibson, #86451)
5501
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
5503
* Fix bzrtools shelve command for removed lines beginning with "--"
5504
(Johan Dahlberg, #75577)
5508
* New ``--first`` option to ``bzr selftest`` to run specified tests
5509
before the rest of the suite. (Martin Pool)
5513
--------------------
5517
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
5521
* Skip documentation generation tests if the tools to do so are not
5522
available. Fixes running selftest for installled copies of bzr.
5523
(John Arbash Meinel, #80330)
5525
* Fix the code that discovers whether bzr is being run from it's
5526
working tree to handle the case when it isn't but the directory
5527
it is in is below a repository. (James Westby, #77306)
5530
bzr 0.14rc1 2007-01-16
5531
-----------------------
5535
* New connection: ``bzr+http://`` which supports tunnelling the smart
5536
protocol over an HTTP connection. If writing is enabled on the bzr
5537
server, then you can write over the http connection.
5538
(Andrew Bennetts, John Arbash Meinel)
5540
* Aliases now support quotation marks, so they can contain whitespace
5543
* PyCurlTransport now use a single curl object. By specifying explicitly
5544
the 'Range' header, we avoid the need to use two different curl objects
5545
(and two connections to the same server). (Vincent Ladeuil)
5547
* ``bzr commit`` does not prompt for a message until it is very likely to
5548
succeed. (Aaron Bentley)
5550
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
5553
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
5554
of a list while checking if a revision id was requested. Takes 10s
5555
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
5556
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
5557
filtering lines with a regex rather than multiple ``str.find()``
5558
calls. (saves another 300ms) (John Arbash Meinel)
5560
* Policy can be set for each configuration key. This allows keys to be
5561
inherited properly across configuration entries. For example, this
5562
should enable you to do::
5564
[/home/user/project]
5565
push_location = sftp://host/srv/project/
5566
push_location:policy = appendpath
5568
And then a branch like ``/home/user/project/mybranch`` should get an
5569
automatic push location of ``sftp://host/srv/project/mybranch``.
5572
* Added ``bzr status --short`` to make status report svn style flags
5573
for each file. For example::
5575
$ bzr status --short
5581
* 'bzr selftest --clean-output' allows easily clean temporary tests
5582
directories without running tests. (Alexander Belchenko)
5584
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
5586
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
5587
local is fully merged into remote. (Jan Hudec)
5589
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
5593
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
5594
help speed up processing, as well allowing to extract unannotated
5595
lines. Between the two ``fileids_affected_by_revision_ids`` is
5596
improved by approx 10%. (John Arbash Meinel)
5598
* Change Revision serialization to only write out millisecond
5599
resolution. Rather than expecting floating point serialization to
5600
preserve more resolution than we need. (Henri Weichers, Martin Pool)
5602
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
5604
* When ``encoding_type`` attribute of class Command is equal to 'exact',
5605
force sys.stdout to be a binary stream on Windows, and therefore
5606
keep exact line-endings (without LF -> CRLF conversion).
5607
(Alexander Belchenko)
5609
* Single-letter short options are no longer globally declared. (Martin
5612
* Before using detected user/terminal encoding bzr should check
5613
that Python has corresponding codec. (Alexander Belchenko)
5615
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
5619
* ``bzr missing --verbose`` was showing adds/removals in the wrong
5620
direction. (John Arbash Meinel)
5622
* ``bzr annotate`` now defaults to showing dotted revnos for merged
5623
revisions. It cuts them off at a depth of 12 characters, but you can
5624
supply ``--long`` to see the full number. You can also use
5625
``--show-ids`` to display the original revision ids, rather than
5626
revision numbers and committer names. (John Arbash Meinel, #75637)
5628
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
5629
(Alexander Belchenko, #57869)
5631
* Win32-specific: output of cat, bundle and diff commands don't mangle
5632
line-endings (Alexander Belchenko, #55276)
5634
* Replace broken fnmatch based ignore pattern matching with custom pattern
5636
(Kent Gibson, Jan Hudec #57637)
5638
* pycurl and urllib can detect short reads at different places. Update
5639
the test suite to test more cases. Also detect http error code 416
5640
which was raised for that specific bug. Also enhance the urllib
5641
robustness by detecting invalid ranges (and pycurl's one by detecting
5642
short reads during the initial GET). (Vincent Ladeuil, #73948)
5644
* The urllib connection sharing interacts badly with urllib2
5645
proxy setting (the connections didn't go thru the proxy
5646
anymore). Defining a proper ProxyHandler solves the
5647
problem. (Vincent Ladeuil, #74759)
5649
* Use urlutils to generate relative URLs, not osutils
5650
(Aaron Bentley, #76229)
5652
* ``bzr status`` in a readonly directory should work without giving
5653
lots of errors. (John Arbash Meinel, #76299)
5655
* Mention the revisionspec topic for the revision option help.
5656
(Wouter van Heyst, #31663)
5658
* Allow plugins import from zip archives.
5659
(Alexander Belchenko, #68124)
5663
--------------------
5665
No changes from 0.13rc1
5667
bzr 0.13rc1 2006-11-27
5668
-----------------------
5672
* New command ``bzr remove-tree`` allows the removal of the working
5674
(Daniel Silverstone)
5676
* urllib uses shared keep-alive connections, so http
5677
operations are substantially faster.
5678
(Vincent Ladeuil, #53654)
5680
* ``bzr export`` allows an optional branch parameter, to export a bzr
5681
tree from some other url. For example:
5682
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
5683
(Daniel Silverstone)
5685
* Added ``bzr help topics`` to the bzr help system. This gives a
5686
location for general information, outside of a specific command.
5687
This includes updates for ``bzr help revisionspec`` the first topic
5688
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
5690
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
5693
* Knit files will now cache full texts only when the size of the
5694
deltas is as large as the size of the fulltext. (Or after 200
5695
deltas, whichever comes first). This has the most benefit on large
5696
files with small changes, such as the inventory for a large project.
5697
(eg For a project with 2500 files, and 7500 revisions, it changes
5698
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
5702
* New -D option given before the command line turns on debugging output
5703
for particular areas. -Derror shows tracebacks on all errors.
5706
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5707
and remove benchmarks that take longer than 10min to run.
5708
(John Arbash Meinel)
5710
* Use ``time.time()`` instead of ``time.clock()`` to decide on
5711
progress throttling. Because ``time.clock()`` is actually CPU time,
5712
so over a high-latency connection, too many updates get throttled.
5713
(John Arbash Meinel)
5715
* ``MemoryTransport.list_dir()`` would strip the first character for
5716
files or directories in root directory. (John Arbash Meinel)
5718
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
5719
branch references - which the smart server component needs.
5721
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
5722
prefix. It disallows any access to locations above a set URL. (Andrew
5727
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
5728
And optimize the knit index parsing code.
5729
(Dmitry Vasiliev, John Arbash Meinel)
5731
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
5732
without importing it. This prevented ``bzr upgrade`` from working
5733
unless a plugin already imported ``bzrlib.workingtree``
5734
(John Arbash Meinel, #70716)
5736
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
5738
* Give nicer error message when an http server returns a 403
5739
error code. (Vincent Ladeuil, #57644).
5741
* When a multi-range http GET request fails, try a single
5742
range one. If it fails too, forget about ranges. Remember that until
5743
the death of the transport and propagates that to the clones.
5744
(Vincent Ladeuil, #62276, #62029).
5746
* Handles user/passwords supplied in url from command
5747
line (for the urllib implementation). Don't request already
5748
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
5750
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
5751
are added. This fixes bug where fetching remote revisions records
5752
them as full references rather than integers.
5753
(John Arbash Meinel, #64789)
5755
* ``bzr ignore`` strips trailing slashes in patterns.
5756
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
5758
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
5760
* mv correctly handles paths that traverse symlinks.
5761
(Aaron Bentley, #66964)
5763
* Give nicer looking error messages when failing to connect over ssh.
5764
(John Arbash Meinel, #49172)
5766
* Pushing to a remote branch does not currently update the remote working
5767
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
5768
machine now show that the working tree is out of date.
5769
(Cheuksan Edward Wang #48136)
5771
* Use patiencediff instead of difflib for determining deltas to insert
5772
into knits. This avoids the O(N^3) behavior of difflib. Patience
5773
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
5775
* Running ``bzr log`` on nonexistent file gives an error instead of the
5776
entire log history. (Cheuksan Edward Wang #50793)
5778
* ``bzr cat`` can look up contents of removed or renamed files. If the
5779
pathname is ambiguous, i.e. the files in the old and new trees have
5780
different id's, the default is the file in the new tree. The user can
5781
use "--name-from-revision" to select the file in the old tree.
5782
(Cheuksan Edward Wang, #30190)
5786
* TestingHTTPRequestHandler really handles the Range header
5787
(previously it was ignoring it and returning the whole file,).
5790
--------------------
5794
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5795
and remove benchmarks that take longer than 10min to run.
5796
(John Arbash Meinel)
5798
bzr 0.12rc1 2006-10-23
5799
-----------------------
5803
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
5804
rather than just showing a decimal revision number for revisions on the
5805
mainline. These revision numbers are not yet accepted as input into bzr
5806
commands such as log, diff etc. (Robert Collins)
5808
* revisions can now be specified using dotted-decimal revision numbers.
5809
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
5811
* ``bzr help commands`` output is now shorter (Aaron Bentley)
5813
* ``bzr`` now uses lazy importing to reduce the startup time. This has
5814
a moderate effect on lots of actions, especially ones that have
5815
little to do. For example ``bzr rocks`` time is down to 116ms from
5816
283ms. (John Arbash Meinel)
5818
* New Registry class to provide name-to-object registry-like support,
5819
for example for schemes where plugins can register new classes to
5820
do certain tasks (e.g. log formatters). Also provides lazy registration
5821
to allow modules to be loaded on request.
5822
(John Arbash Meinel, Adeodato Simó)
5824
API INCOMPATABILITY:
5826
* LogFormatter subclasses show now expect the 'revno' parameter to
5827
show() to be a string rather than an int. (Robert Collins)
5831
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
5832
can take a ``working_dir='foo'`` parameter, which will change directory
5833
for the command. (John Arbash Meinel)
5835
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
5836
around a regex, which defers compilation until first use.
5837
(John Arbash Meinel)
5839
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
5840
``--no-plugins`` parameter to ensure test reproducability, and avoid
5841
problems with system-wide installed plugins. (John Arbash Meinel)
5843
* Unique tree root ids are now supported. Newly created trees still
5844
use the common root id for compatibility with bzr versions before 0.12.
5847
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
5848
pass in ``inventory.ROOT_ID`` if you want the default root id value.
5849
(Robert Collins, John Arbash Meinel)
5851
* New method ``WorkingTree.flush()`` which will write the current memory
5852
inventory out to disk. At the same time, ``read_working_inventory`` will
5853
no longer trash the current tree inventory if it has been modified within
5854
the current lock, and the tree will now ``flush()`` automatically on
5855
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
5856
advantage of this functionality. (Robert Collins, John Arbash Meinel)
5858
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
5859
parameter will cause it to add another column to its output, which
5860
contains the dotted-decimal revno for each revision, as a tuple.
5863
* ``LogFormatter.show_merge`` is deprecated in favour of
5864
``LogFormatter.show_merge_revno``. (Robert Collins)
5868
* Avoid circular imports by creating a deprecated function for
5869
``bzrlib.tree.RevisionTree``. Callers should have been using
5870
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
5873
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
5874
platforms. (Martin Pool, #66356)
5876
* Don't require ``Content-Type`` in range responses. Assume they are a
5877
single range if ``Content-Type`` does not exist.
5878
(John Arbash Meinel, #62473)
5880
* bzr branch/pull no longer complain about progress bar cleanup when
5881
interrupted during fetch. (Aaron Bentley, #54000)
5883
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
5884
the basis inventory, rather than going through the repository. This
5885
allows us to have 1 inventory read, and 2 inventory writes when
5886
committing a new tree. (John Arbash Meinel)
5888
* When reverting, files that are not locally modified that do not exist
5889
in the target are deleted, not just unversioned (Aaron Bentley)
5891
* When trying to acquire a lock, don't fail immediately. Instead, try
5892
a few times (up to 1 hour) before timing out. Also, report why the
5893
lock is unavailable (John Arbash Meinel, #43521, #49556)
5895
* Leave HttpTransportBase daughter classes decides how they
5896
implement cloning. (Vincent Ladeuil, #61606)
5898
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
5900
* If a commit fails, the commit message is stored in a file at the root of
5901
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
5906
* New test base class TestCaseWithMemoryTransport offers memory-only
5907
testing facilities: its not suitable for tests that need to mutate disk
5908
state, but most tests should not need that and should be converted to
5909
TestCaseWithMemoryTransport. (Robert Collins)
5911
* ``TestCase.make_branch_and_memory_tree`` now takes a format
5912
option to set the BzrDir, Repository and Branch formats of the
5913
created objects. (Robert Collins, John Arbash Meinel)
5916
--------------------
5918
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
5920
bzr 0.11rc2 2006-09-27
5921
-----------------------
5925
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
5927
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
5930
bzr 0.11rc1 2006-09-25
5931
-----------------------
5935
* Knit files now wait to create their contents until the first data is
5936
added. The old code used to create an empty .knit and a .kndx with just
5937
the header. However, this caused a lot of extra round trips over sftp.
5938
This can change the time for ``bzr push`` to create a new remote branch
5939
from 160s down to 100s. This also affects ``bzr commit`` performance when
5940
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
5941
down to 40s (John Arbash Meinel, #44692)
5943
* When an entire subtree has been deleted, commit will now report that
5944
just the top of the subtree has been deleted, rather than reporting
5945
all the individual items. (Robert Collins)
5947
* Commit performs one less XML parse. (Robert Collins)
5949
* ``bzr checkout`` now operates on readonly branches as well
5950
as readwrite branches. This fixes bug #39542. (Robert Collins)
5952
* ``bzr bind`` no longer synchronises history with the master branch.
5953
Binding should be followed by an update or push to synchronise the
5954
two branches. This is closely related to the fix for bug #39542.
5957
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
5958
objects. This allows all imports to stay at the global scope, but
5959
modules will not actually be imported if they are not used.
5960
(John Arbash Meinel)
5962
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
5963
transport which will be used with the upcoming high-performance smart
5964
server. The new command ``bzr serve`` will invoke bzr in server mode,
5965
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
5968
* New command ``bzr version-info`` which can be used to get a summary
5969
of the current state of the tree. This is especially useful as part
5970
of a build commands. See ``doc/version_info.txt`` for more information
5971
(John Arbash Meinel)
5975
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
5976
specific set of files. (John Arbash Meinel, #3631)
5978
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
5980
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
5981
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
5982
reading a nested Stanza. (John Arbash Meinel)
5984
* Transform._set_mode() needs to stat the right file.
5985
(John Arbash Meinel, #56549)
5987
* Raise WeaveFormatError rather than StopIteration when trying to read
5988
an empty Weave file. (John Arbash Meinel, #46871)
5990
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
5991
(Vincent Ladeuil, #59835)
5993
* Handle boundary="" lines properly to allow access through a Squid proxy.
5994
(John Arbash Meinel, #57723)
5996
* revert now removes newly-added directories (Aaron Bentley, #54172)
5998
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
5999
isn't a working tree. (David Allouche, #40679)
6001
* Give nicer error messages when a user supplies an invalid --revision
6002
parameter. (John Arbash Meinel, #55420)
6004
* Handle when LANG is not recognized by python. Emit a warning, but
6005
just revert to using 'ascii'. (John Arbash Meinel, #35392)
6007
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
6008
(John Arbash Meinel)
6010
* Skip specific tests when the dependencies aren't met. This includes
6011
some ``setup.py`` tests when ``python-dev`` is not available, and
6012
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
6014
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
6015
the system. (Andrew Bennetts, John Arbash Meinel)
6017
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
6018
other branch, and will not push or pull between the two branches.
6019
API users will need to perform a push or pull or update operation if they
6020
require branch synchronisation to take place. (Robert Collins, #47344)
6022
* When creating a tarball or zipfile export, export unicode names as utf-8
6023
paths. This may not work perfectly on all platforms, but has the best
6024
chance of working in the common case. (John Arbash Meinel, #56816)
6026
* When committing, only files that exist in working tree or basis tree
6027
may be specified (Aaron Bentley, #50793)
6031
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
6035
* TestCaseInTempDir now creates a separate directory for HOME, rather
6036
than having HOME set to the same location as the working directory.
6037
(John Arbash Meinel)
6039
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
6040
which will update os.environ inside the spawned child. It also can
6041
take a ``universal_newlines=True``, which helps when checking the output
6042
of the command. (John Arbash Meinel)
6044
* Refactor SFTP vendors to allow easier re-use when ssh is used.
6047
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
6048
return urlescaped paths. This is now tested (there were bugs in a few
6049
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
6051
* New utility function ``symbol_versioning.deprecation_string``. Returns the
6052
formatted string for a callable, deprecation format pair. (Robert Collins)
6054
* New TestCase helper applyDeprecated. This allows you to call a callable
6055
which is deprecated without it spewing to the screen, just by supplying
6056
the deprecation format string issued for it. (Robert Collins)
6058
* Transport.append and Transport.put have been deprecated in favor of
6059
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
6060
``.put_file``. This removes the ambiguity in what type of object the
6061
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
6062
been added. Which works similarly to ``Transport.append()`` except for
6063
SFTP, it doesn't have a round trip when opening the file. Also, it
6064
provides functionality for creating a parent directory when trying
6065
to create a file, rather than raise NoSuchFile and forcing the
6066
caller to repeat their request.
6067
(John Arbash Meinel)
6069
* WorkingTree has a new api ``unversion`` which allow the unversioning of
6070
entries by their file id. (Robert Collins)
6072
* ``WorkingTree.pending_merges`` is deprecated. Please use the
6073
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
6075
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
6076
read rather than write. This is appropriate for actions which only need
6077
the branch data for reference rather than mutation. A new decorator
6078
``needs_tree_write_lock`` is provided in the workingtree module. Like the
6079
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
6080
declaration of the locking requirements of a function to ensure that
6081
a lock is taken out for casual scripts. (Robert Collins, #54107)
6083
* All WorkingTree methods which write to the tree, but not to the branch
6084
have been converted to use ``needs_tree_write_lock`` rather than
6085
``needs_write_lock``. Also converted is the revert, conflicts and tree
6086
transform modules. This provides a modest performance improvement on
6087
metadir style trees, due to the reduce lock-acquisition, and a more
6088
significant performance improvement on lightweight checkouts from
6089
remote branches, where trivial operations used to pay a significant
6090
penalty. It also provides the basis for allowing readonly checkouts.
6093
* Special case importing the standard library 'copy' module. This shaves
6094
off 40ms of startup time, while retaining compatibility. See:
6095
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
6097
* WorkingTree has a new parent class MutableTree which represents the
6098
specialisations of Tree which are able to be altered. (Robert Collins)
6100
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
6101
mutate the tree and its contents. (Robert Collins)
6103
* Transport behaviour at the root of the URL is now defined and tested.
6104
(Andrew Bennetts, Robert Collins)
6108
* New test helper classs MemoryTree. This is typically accessed via
6109
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
6111
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
6112
code to continue running concurrently with a subprocess of bzr.
6113
(Andrew Bennetts, Robert Collins)
6115
* Add a new method ``Transport.get_smart_client()``. This is provided to
6116
allow upgrades to a richer interface than the VFS one provided by
6117
Transport. (Andrew Bennetts, Martin Pool)
6120
--------------------
6123
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
6124
tree. (Aaron Bentley)
6126
* 'bzr add --file-ids-from' can be used to specify another path to use
6127
for creating file ids, rather than generating all new ones. Internally,
6128
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
6129
will be used, rather than having bzrlib generate new ones.
6130
(John Arbash Meinel, #55781)
6132
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
6133
This will cache some of the intermediate trees, and decrease the
6134
setup time for benchmark tests. (John Arbash Meinel)
6136
* Inverse forms are provided for all boolean options. For example,
6137
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
6139
* Serialize out Inventories directly, rather than using ElementTree.
6140
Writing out a kernel sized inventory drops from 2s down to ~350ms.
6141
(Robert Collins, John Arbash Meinel)
6145
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
6147
* Change LockDir so that if the lock directory doesn't exist when
6148
``lock_write()`` is called, an attempt will be made to create it.
6149
(John Arbash Meinel, #56974)
6151
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
6153
* Active FTP transport now works as intended. (ghozzy, #56472)
6155
* Really fix mutter() so that it won't ever raise a UnicodeError.
6156
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
6157
But it is a debugging log, not a real user file.
6158
(John Arbash Meinel, #56947, #53880)
6160
* Change Command handle to allow Unicode command and options.
6161
At present we cannot register Unicode command names, so we will get
6162
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
6163
But that is better than a UnicodeError + a traceback.
6164
(John Arbash Meinel, #57123)
6166
* Handle TZ=UTC properly when reading/writing revisions.
6167
(John Arbash Meinel, #55783, #56290)
6169
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
6170
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
6172
* External diff does the right thing for binaries even in foreign
6173
languages. (John Arbash Meinel, #56307)
6175
* Testament handles more cases when content is unicode. Specific bug was
6176
in handling of revision properties.
6177
(John Arbash Meinel, Holger Krekel, #54723)
6179
* The bzr selftest was failing on installed versions due to a bug in a new
6180
test helper. (John Arbash Meinel, Robert Collins, #58057)
6184
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
6185
which can be used to cache the conversion between utf8 and Unicode.
6186
Especially helpful for some of the knit annotation code, which has to
6187
convert revision ids to utf8 to annotate lines in storage.
6188
(John Arbash Meinel)
6190
* ``setup.py`` now searches the filesystem to find all packages which
6191
need to be installed. This should help make the life of packagers
6192
easier. (John Arbash Meinel)
6194
bzr 0.9.0 2006-08-11
6195
---------------------
6199
* The hard-coded built-in ignore rules have been removed. There are
6200
now two rulesets which are enforced. A user global one in
6201
``~/.bazaar/ignore`` which will apply to every tree, and the tree
6202
specific one '.bzrignore'.
6203
``~/.bazaar/ignore`` will be created if it does not exist, but with
6204
a more conservative list than the old default.
6205
This fixes bugs with default rules being enforced no matter what.
6206
The old list of ignore rules from bzr is available by
6207
running 'bzr ignore --old-default-rules'.
6208
(Robert Collins, Martin Pool, John Arbash Meinel)
6210
* 'branches.conf' has been changed to 'locations.conf', since it can apply
6211
to more locations than just branch locations.
6216
* The revision specifier "revno:" is extended to accept the syntax
6217
revno:N:branch. For example,
6218
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
6219
bzr.dev. (Matthieu Moy)
6221
* Tests updates to ensure proper URL handling, UNICODE support, and
6222
proper printing when the user's terminal encoding cannot display
6223
the path of a file that has been versioned.
6224
``bzr branch`` can take a target URL rather than only a local directory.
6225
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
6226
and normalize the parent based on root, allowing access across
6227
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
6228
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
6231
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
6232
Use terminal width for single-line logs from ``bzr log --line`` and
6233
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
6236
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
6237
(Alexander Belchenko)
6239
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
6241
* Show the correct number of revisions pushed when pushing a new branch.
6244
* 'bzr selftest' now shows a progress bar with the number of tests, and
6245
progress made. 'make check' shows tests in -v mode, to be more useful
6246
for the PQM status window. (Robert Collins).
6247
When using a progress bar, failed tests are printed out, rather than
6248
being overwritten by the progress bar until the suite finishes.
6249
(John Arbash Meinel)
6251
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
6252
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
6253
profile data for the individual profiled calls, allowing for fine
6254
grained analysis of performance.
6255
(Robert Collins, Martin Pool).
6257
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
6258
where commit can take an appreciable time. (Robert Collins)
6260
* 'bzr add' is now less verbose in telling you what ignore globs were
6261
matched by files being ignored. Instead it just tells you how many
6262
were ignored (because you might reasonably be expecting none to be
6263
ignored). 'bzr add -v' is unchanged and will report every ignored
6264
file. (Robert Collins).
6266
* ftp now has a test server if medusa is installed. As part of testing,
6267
ftp support has been improved, including support for supplying a
6268
non-standard port. (John Arbash Meinel).
6270
* 'bzr log --line' shows the revision number, and uses only the
6271
first line of the log message (#5162, Alexander Belchenko;
6274
* 'bzr status' has had the --all option removed. The 'bzr ls' command
6275
should be used to retrieve all versioned files. (Robert Collins)
6277
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
6278
over email, and applied on the other end, while maintaining ancestry.
6279
This bundle can be applied with either 'bzr merge' or 'bzr pull',
6280
the same way you would apply another branch.
6281
(John Arbash Meinel, Aaron Bentley)
6283
* 'bzr whoami' can now be used to set your identity from the command line,
6284
for a branch or globally. (Robey Pointer)
6286
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
6289
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
6292
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
6293
Also updates things like 'http+pycurl://' if pycurl is not present.
6294
(John Arbash Meinel) (Malone #47821, #52204)
6296
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
6297
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
6298
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
6300
* Improve the help text for 'bzr diff' to explain what various options do.
6301
(John Arbash Meinel, #6391)
6303
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
6304
revision 10. This makes -r10 more in line with what other commands do.
6305
'bzr uncommit' also now saves the pending merges of the revisions that
6306
were removed. So it is safe to uncommit after a merge, fix something,
6307
and commit again. (John Arbash Meinel, #32526, #31426)
6309
* 'bzr init' now also works on remote locations.
6310
(Wouter van Heyst, #48904)
6312
* HTTP support has been updated. When using pycurl we now support
6313
connection keep-alive, which reduces dns requests and round trips.
6314
And for both urllib and pycurl we support multi-range requests,
6315
which decreases the number of round-trips. Performance results for
6316
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
6317
http branching is now 2-3x faster, and ``bzr pull`` in an existing
6318
branch is as much as 4x faster.
6319
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
6321
* Performance improvements for sftp. Branching and pulling are now up to
6322
2x faster. Utilize paramiko.readv() support for async requests if it
6323
is available (paramiko > 1.6) (John Arbash Meinel)
6327
* Fix shadowed definition of TestLocationConfig that caused some
6329
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
6331
* Fix unnecessary requirement of sign-my-commits that it be run from
6332
a working directory. (Martin Pool, Robert Collins)
6334
* 'bzr push location' will only remember the push location if it succeeds
6335
in connecting to the remote location. (John Arbash Meinel, #49742)
6337
* 'bzr revert' no longer toggles the executable bit on win32
6338
(John Arbash Meinel, #45010)
6340
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
6342
* sftp tests now work correctly on win32 if you have a newer paramiko
6343
(John Arbash Meinel)
6345
* Cleanup win32 test suite, and general cleanup of places where
6346
file handles were being held open. (John Arbash Meinel)
6348
* When specifying filenames for 'diff -r x..y', the name of the file in the
6349
working directory can be used, even if its name is different in both x
6352
* File-ids containing single- or double-quotes are handled correctly by
6353
push. (Aaron Bentley, #52227)
6355
* Normalize unicode filenames to ensure cross-platform consistency.
6356
(John Arbash Meinel, #43689)
6358
* The argument parser can now handle '-' as an argument. Currently
6359
no code interprets it specially (it is mostly handled as a file named
6360
'-'). But plugins, and future operations can use it.
6361
(John Arbash meinel, #50984)
6363
* Bundles can properly read binary files with a plain '\r' in them.
6364
(John Arbash Meinel, #51927)
6366
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
6368
* Lots of win32 fixes (the test suite passes again).
6369
(John Arbash Meinel, #50155)
6371
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
6373
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
6375
* Removals are only committed if they match the filespec (or if there is
6376
no filespec). (#46635, Aaron Bentley)
6378
* smart-add recurses through all supplied directories
6379
(John Arbash Meinel, #52578)
6381
* Make the bundle reader extra lines before and after the bundle text.
6382
This allows you to parse an email with the bundle inline.
6383
(John Arbash Meinel, #49182)
6385
* Change the file id generator to squash a little bit more. Helps when
6386
working with long filenames on windows. (Also helps for unicode filenames
6387
not generating hidden files). (John Arbash Meinel, #43801)
6389
* Restore terminal mode on C-c while reading sftp password. (#48923,
6390
Nicholas Allen, Martin Pool)
6392
* Timestamps are rounded to 1ms, and revision entries can be recreated
6393
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
6395
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
6396
use local paths, since it is user visible (John Arbash Meinel, #53653)
6398
* ``bzr status foo`` when foo was unversioned used to cause a full delta
6399
to be generated (John Arbash Meinel, #53638)
6401
* When reading revision properties, an empty value should be considered
6402
the empty string, not None (John Arbash Meinel, #47782)
6404
* ``bzr diff --diff-options`` can now handle binary files being changed.
6405
Also, the output is consistent when --diff-options is not supplied.
6406
(John Arbash Meinel, #54651, #52930)
6408
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
6410
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
6411
accessible (John Arbash Meinel, #52976)
6415
* Combine the ignore rules into a single regex rather than looping over
6416
them to reduce the threshold where N^2 behaviour occurs in operations
6417
like status. (Jan Hudec, Robert Collins).
6419
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
6420
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
6422
* 'bzr push' should only push the ancestry of the current revision, not
6423
all of the history in the repository. This is especially important for
6424
shared repositories. (John Arbash Meinel)
6426
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
6427
rather than randomly walking the inventories. (John Arbash Meinel)
6429
* Doctests are now run in temporary directories which are cleaned up when
6430
they finish, rather than using special ScratchDir/ScratchBranch objects.
6433
* Split ``check`` into separate methods on the branch and on the repository,
6434
so that it can be specialized in ways that are useful or efficient for
6435
different formats. (Martin Pool, Robert Collins)
6437
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
6438
the global revision graph but only that part leading up to a particular
6439
revision. (Martin Pool, Robert Collins)
6441
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
6442
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
6443
(Robert Collins, Jelmer Vernooij).
6445
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
6446
Uses subprocess instead of spawnvp.
6447
(James Henstridge, John Arbash Meinel, #4047, #48914)
6449
* New command line option '--profile-imports', which will install a custom
6450
importer to log time to import modules and regex compilation time to
6451
sys.stderr (John Arbash Meinel)
6453
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
6454
instead. (Robert Collins)
6456
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
6458
bzr 0.8.2 2006-05-17
6459
---------------------
6463
* setup.py failed to install launchpad plugin. (Martin Pool)
6465
bzr 0.8.1 2006-05-16
6466
---------------------
6470
* Fix failure to commit a merge in a checkout. (Martin Pool,
6471
Robert Collins, Erik Bågfors, #43959)
6473
* Nicer messages from 'commit' in the case of renames, and correct
6474
messages when a merge has occured. (Robert Collins, Martin Pool)
6476
* Separate functionality from assert statements as they are skipped in
6477
optimized mode of python. Add the same check to pending merges.
6478
(Olaf Conradi, #44443)
6482
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
6484
* Add info on standalone branches without a working tree.
6485
(Olaf Conradi, #44155)
6487
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
6491
* Make editor invocation comply with Debian Policy. First check
6492
environment variables VISUAL and EDITOR, then try editor from
6493
alternatives system. If that all fails, fall back to the pre-defined
6494
list of editors. (Olaf Conradi, #42904)
6498
* New 'register-branch' command registers a public branch into
6499
Launchpad.net, where it can be associated with bugs, etc.
6500
(Martin Pool, Bjorn Tillenius, Robert Collins)
6504
* New public api in InventoryEntry - ``describe_change(old, new)`` which
6505
provides a human description of the changes between two old and
6506
new. (Robert Collins, Martin Pool)
6510
* Fix test case for bzr info in upgrading a standalone branch to metadir,
6511
uses bzrlib api now. (Olaf Conradi)
6516
NOTES WHEN UPGRADING:
6518
Release 0.8 of bzr introduces a new format for history storage, called
6519
'knit', as an evolution of to the 'weave' format used in 0.7. Local
6520
and remote operations are faster using knits than weaves. Several
6521
operations including 'init', 'init-repo', and 'upgrade' take a
6522
--format option that controls this. Branching from an existing branch
6523
will keep the same format.
6525
It is possible to merge, pull and push between branches of different
6526
formats but this is slower than moving data between homogenous
6527
branches. It is therefore recommended (but not required) that you
6528
upgrade all branches for a project at the same time. Information on
6529
formats is shown by 'bzr info'.
6531
bzr 0.8 now allows creation of 'repositories', which hold the history
6532
of files and revisions for several branches. Previously bzr kept all
6533
the history for a branch within the .bzr directory at the root of the
6534
branch, and this is still the default. To create a repository, use
6535
the new 'bzr init-repo' command. Branches exist as directories under
6536
the repository and contain just a small amount of information
6537
indicating the current revision of the branch.
6539
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
6540
subversion. Checkouts are associated with a branch (optionally in a
6541
repository), which contains all the historical information. The
6542
result is that a checkout can be deleted without losing any
6543
already-committed revisions. A new 'update' command is also available.
6545
Repositories and checkouts are not supported with the 0.7 storage
6546
format. To use them you must upgrad to either knits, or to the
6547
'metaweave' format, which uses weaves but changes the .bzr directory
6553
* Sftp paths can now be relative, or local, according to the lftp
6554
convention. Paths now take the form::
6556
sftp://user:pass@host:port/~/relative/path
6558
sftp://user:pass@host:port/absolute/path
6560
* The FTP transport now tries to reconnect after a temporary
6561
failure. ftp put is made atomic. (Matthieu Moy)
6563
* The FTP transport now maintains a pool of connections, and
6564
reuses them to avoid multiple connections to the same host (like
6565
sftp did). (Daniel Silverstone)
6567
* The ``bzr_man.py`` file has been removed. To create the man page now,
6568
use ``./generate_docs.py man``. The new program can also create other files.
6569
Run ``python generate_docs.py --help`` for usage information.
6570
(Hans Ulrich Niedermann & James Blackwell).
6572
* Man Page now gives full help (James Blackwell).
6573
Help also updated to reflect user config now being stored in .bazaar
6574
(Hans Ulrich Niedermann)
6576
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
6578
* Pull now accepts a --revision argument (Erik Bågfors)
6580
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
6581
line. You can now use the following command to sign all of your old
6584
find .bzr/revision-store// -name my@email-* \
6585
| sed 's/.*\/\/..\///' \
6588
* Upgrade can now upgrade over the network. (Robert Collins)
6590
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
6591
behaviour. By default they will cache history in the checkout, but
6592
with --lightweight almost all data is kept in the master branch.
6595
* 'revert' unversions newly-versioned files, instead of deleting them.
6597
* 'merge' is more robust. Conflict messages have changed.
6599
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
6602
* Default log format can be set in configuration and plugins can register
6603
their own formatters. (Erik Bågfors)
6605
* New 'reconcile' command will check branch consistency and repair indexes
6606
that can become out of sync in pre 0.8 formats. (Robert Collins,
6609
* New 'bzr init --format' and 'bzr upgrade --format' option to control
6610
what storage format is created or produced. (Robert Collins,
6613
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
6615
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
6617
* New 'init-repository' command, plus support for repositories in 'init'
6618
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
6620
* Improve output of 'info' command. Show all relevant locations related to
6621
working tree, branch and repository. Use kibibytes for binary quantities.
6622
Fix off-by-one error in missing revisions of working tree. Make 'info'
6623
work on branches, repositories and remote locations. Show locations
6624
relative to the shared repository, if applicable. Show locking status
6625
of locations. (Olaf Conradi)
6627
* Diff and merge now safely handle binary files. (Aaron Bentley)
6629
* 'pull' and 'push' now normalise the revision history, so that any two
6630
branches with the same tip revision will have the same output from 'log'.
6633
* 'merge' accepts --remember option to store parent location, like 'push'
6634
and 'pull'. (Olaf Conradi)
6636
* bzr status and diff when files given as arguments do not exist
6637
in the relevant trees. (Martin Pool, #3619)
6639
* Add '.hg' to the default ignore list. (Martin Pool)
6641
* 'knit' is now the default disk format. This improves disk performance and
6642
utilization, increases incremental pull performance, robustness with SFTP
6643
and allows checkouts over SFTP to perform acceptably.
6644
The initial Knit code was contributed by Johan Rydberg based on a
6645
specification by Martin Pool.
6646
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
6648
* New tool to generate all-in-one html version of the manual. (Alexander
6651
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
6652
to be left in the SFTP repository. (Robert Collins, Martin Pool).
6654
* New option 'diff --prefix' to control how files are named in diff
6655
output, with shortcuts '-p0' and '-p1' corresponding to the options for
6656
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
6658
* Add --revision option to 'annotate' command. (Olaf Conradi)
6660
* If bzr shows an unexpected revision-history after pulling (perhaps due
6661
to a reweave) it can now be corrected by 'bzr reconcile'.
6666
* Commit is now verbose by default, and shows changed filenames and the
6667
new revision number. (Robert Collins, Martin Pool)
6669
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
6671
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
6673
* Make 'pull' and 'push' remember location on failure using --remember.
6676
* For compatibility, make old format for using weaves inside metadir
6677
available as 'metaweave' format. Rename format 'metadir' to 'default'.
6678
Clean up help for option --format in commands 'init', 'init-repo' and
6679
'upgrade'. (Olaf Conradi)
6683
* The internal storage of history, and logical branch identity have now
6684
been split into Branch, and Repository. The common locking and file
6685
management routines are now in bzrlib.lockablefiles.
6686
(Aaron Bentley, Robert Collins, Martin Pool)
6688
* Transports can now raise DependencyNotPresent if they need a library
6689
which is not installed, and then another implementation will be
6690
tried. (Martin Pool)
6692
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
6695
* Using Tree Transform for merge, revert, tree-building
6697
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
6698
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
6699
replacement API's. (Robert Collins)
6701
* New BzrDir class represents the .bzr control directory and manages
6702
formatting issues. (Robert Collins)
6704
* New repository.InterRepository class encapsulates Repository to
6705
Repository actions and allows for clean selection of optimised code
6706
paths. (Robert Collins)
6708
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
6709
deprecated, please use ``branch.fetch`` or ``repository.fetch``
6710
depending on your needs. (Robert Collins)
6712
* deprecated methods now have a ``is_deprecated`` flag on them that can
6713
be checked, if you need to determine whether a given callable is
6714
deprecated at runtime. (Robert Collins)
6716
* Progress bars are now nested - see
6717
``bzrlib.ui.ui_factory.nested_progress_bar``.
6718
(Robert Collins, Robey Pointer)
6720
* New API call ``get_format_description()`` for each type of format.
6723
* Changed ``branch.set_parent()`` to accept None to remove parent.
6726
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
6728
* WorkingTree.branch is now a read only property. (Robert Collins)
6730
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
6731
can be None or a factory that will create a progress bar. This is
6732
useful for testing or for overriding the bzrlib.progress heuristic.
6735
* New API method ``get_physical_lock_status()`` to query locks present on a
6736
transport. (Olaf Conradi)
6738
* Repository.reconcile now takes a thorough keyword parameter to allow
6739
requesting an indepth reconciliation, rather than just a data-loss
6740
check. (Robert Collins)
6742
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
6743
the user for yes/no style input. (Robert Collins)
6747
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
6748
for testing SFTP protocol support. (Robey Pointer)
6750
* Branch formats are now tested once per implementation (see ``bzrlib.
6751
tests.branch_implementations``. This is analagous to the transport
6752
interface tests, and has been followed up with working tree,
6753
repository and BzrDir tests. (Robert Collins)
6755
* New test base class TestCaseWithTransport provides a transport aware
6756
test environment, useful for testing any transport-interface using
6757
code. The test suite option --transport controls the transport used
6758
by this class (when its not being used as part of implementation
6759
contract testing). (Robert Collins)
6761
* Close logging handler on disabling the test log. This will remove the
6762
handler from the internal list inside python's logging module,
6763
preventing shutdown from closing it twice. (Olaf Conradi)
6765
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
6767
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
6768
parameter which will provide String("foo") to the command as its stdin.
6775
* .bzrignore is excluded from exports, on the grounds that it's a bzr
6776
internal-use file and may not be wanted. (Jamie Wilkinson)
6778
* The "bzr directories" command were removed in favor of the new
6779
--kind option to the "bzr inventory" command. To list all
6780
versioned directories, now use "bzr inventory --kind directory".
6783
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
6784
by default. (John Arbash Meinel)
6786
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
6787
environment variable. Now the path for it is searched in ``BZR_HOME``,
6788
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
6789
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
6790
``HOME``. (John Arbash Meinel)
6792
* Plugins with the same name in different directories in the bzr plugin
6793
path are no longer loaded: only the first successfully loaded one is
6794
used. (Robert Collins)
6796
* Use systems' external ssh command to open connections if possible.
6797
This gives better integration with user settings such as ProxyCommand.
6800
* Permissions on files underneath .bzr/ are inherited from the .bzr
6801
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
6802
will mean that future file will be created with group write permissions.
6804
* configure.in and config.guess are no longer in the builtin default
6807
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
6808
files. (John Arbash Meinel, Martin Pool)
6812
* "bzr INIT dir" now initializes the specified directory, and creates
6813
it if it does not exist. (John Arbash Meinel)
6815
* New remerge command (Aaron Bentley)
6817
* Better zsh completion script. (Steve Borho)
6819
* 'bzr diff' now returns 1 when there are changes in the working
6820
tree. (Robert Collins)
6822
* 'bzr push' now exists and can push changes to a remote location.
6823
This uses the transport infrastructure, and can store the remote
6824
location in the ~/.bazaar/branches.conf configuration file.
6827
* Test directories are only kept if the test fails and the user requests
6830
* Tweaks to short log printing
6832
* Added branch nicks, new nick command, printing them in log output.
6835
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
6836
occurs. (Martin Pool)
6838
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
6839
the same as Subversion. (Martin Pool)
6841
* New ftp transport support (on ftplib), for ftp:// and aftp://
6842
URLs. (Daniel Silverstone)
6844
* Commit editor temporary files now start with ``bzr_log.``, to allow
6845
text editors to match the file name and set up appropriate modes or
6846
settings. (Magnus Therning)
6848
* Improved performance when integrating changes from a remote weave.
6849
(Goffredo Baroncelli)
6851
* Sftp will attempt to cache the connection, so it is more likely that
6852
a connection will be reused, rather than requiring multiple password
6855
* bzr revno now takes an optional argument indicating the branch whose
6856
revno should be printed. (Michael Ellerman)
6858
* bzr cat defaults to printing the last version of the file.
6859
(Matthieu Moy, #3632)
6861
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
6862
profiler. (Denys Duchier)
6864
* Faster commits by reading only the headers of affected weave files.
6867
* 'bzr add' now takes a --dry-run parameter which shows you what would be
6868
added, but doesn't actually add anything. (Michael Ellerman)
6870
* 'bzr add' now lists how many files were ignored per glob. add --verbose
6871
lists the specific files. (Aaron Bentley)
6873
* 'bzr missing' now supports displaying changes in diverged trees and can
6874
be limited to show what either end of the comparison is missing.
6875
(Aaron Bently, with a little prompting from Daniel Silverstone)
6879
* SFTP can walk up to the root path without index errors. (Robert Collins)
6881
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
6883
* Error when run with -OO
6885
* Fix bug in reporting http errors that don't have an http error code.
6888
* Handle more cases of pipe errors in display commands
6890
* Change status to 3 for all errors
6892
* Files that are added and unlinked before committing are completely
6893
ignored by diff and status
6895
* Stores with some compressed texts and some uncompressed texts are now
6896
able to be used. (John A Meinel)
6898
* Fix for bzr pull failing sometimes under windows
6900
* Fix for sftp transport under windows when using interactive auth
6902
* Show files which are both renamed and modified as such in 'bzr
6903
status' output. (Daniel Silverstone, #4503)
6905
* Make annotate cope better with revisions committed without a valid
6906
email address. (Marien Zwart)
6908
* Fix representation of tab characters in commit messages.
6911
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
6912
now parsed properly under Windows. (Alexander Belchenko)
6914
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
6916
* Keep a cached copy of the basis inventory to speed up operations
6917
that need to refer to it. (Johan Rydberg, Martin Pool)
6919
* Fix bugs in bzr status display of non-ascii characters.
6922
* Remove Makefile.in from default ignore list.
6923
(Tollef Fog Heen, Martin Pool, #6413)
6925
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
6929
* Fix selftest asking for passwords when there are no SFTP keys.
6930
(Robey Pointer, Jelmer Vernooij)
6932
* Fix selftest run with 'python -O'. (Martin Pool)
6934
* Fix HTTP tests under Windows. (John Arbash Meinel)
6936
* Make tests work even if HOME is not set (Aaron Bentley)
6938
* Updated ``build_tree`` to use fixed line-endings for tests which read
6939
the file cotents and compare. Make some tests use this to pass under
6940
Windows. (John Arbash Meinel)
6942
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
6944
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
6945
(John Arbash Meinel)
6947
* Use terminal width to align verbose test output. (Martin Pool)
6949
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
6950
If adding a new test script please add that to
6951
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
6953
* Much better error message if one of the test suites can't be
6954
imported. (Martin Pool)
6956
* Make check now runs the test suite twice - once with the default locale,
6957
and once with all locales forced to C, to expose bugs. This is not
6958
trivially done within python, so for now its only triggered by running
6959
Make check. Integrators and packagers who wish to check for full
6960
platform support should run 'make check' to test the source.
6963
* Tests can now run TestSkipped if they can't execute for any reason.
6964
(Martin Pool) (NB: TestSkipped should only be raised for correctable
6965
reasons - see the wiki spec ImprovingBzrTestSuite).
6967
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
6968
paths for the transport tests. Introduce blackbox remote sftp tests that
6969
test the same permutations. (Robert Collins, Robey Pointer)
6971
* Transport implementation tests are now independent of the local file
6972
system, which allows tests for esoteric transports, and for features
6973
not available in the local file system. They also repeat for variations
6974
on the URL scheme that can introduce issues in the transport code,
6975
see bzrlib.transport.TransportTestProviderAdapter() for this.
6978
* ``TestCase.build_tree`` uses the transport interface to build trees,
6979
pass in a transport parameter to give it an existing connection.
6984
* WorkingTree.pull has been split across Branch and WorkingTree,
6985
to allow Branch only pulls. (Robert Collins)
6987
* ``commands.display_command`` now returns the result of the decorated
6988
function. (Robert Collins)
6990
* LocationConfig now has a ``set_user_option(key, value)`` call to save
6991
a setting in its matching location section (a new one is created
6992
if needed). (Robert Collins)
6994
* Branch has two new methods, ``get_push_location`` and
6995
``set_push_location`` to respectively, get and set the push location.
6998
* ``commands.register_command`` now takes an optional flag to signal that
6999
the registrant is planning to decorate an existing command. When
7000
given multiple plugins registering a command is not an error, and
7001
the original command class (whether built in or a plugin based one) is
7002
returned to the caller. There is a new error 'MustUseDecorated' for
7003
signalling when a wrapping command should switch to the original
7004
version. (Robert Collins)
7006
* Some option parsing errors will raise 'BzrOptionError', allowing
7007
granular detection for decorating commands. (Robert Collins).
7009
* ``Branch.read_working_inventory`` has moved to
7010
``WorkingTree.read_working_inventory``. This necessitated changes to
7011
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
7012
WorkingTree as well. To make it clear that a WorkingTree cannot always
7013
be obtained ``Branch.working_tree()`` will raise
7014
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
7016
* All pending merges operations from Branch are now on WorkingTree.
7019
* The follow operations from Branch have moved to WorkingTree::
7029
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
7031
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
7033
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
7036
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
7037
query method. (Robert Collins)
7039
* New options to read only the table-of-contents of a weave.
7042
* Raise NoSuchFile when someone tries to add a non-existant file.
7045
* Simplify handling of DivergedBranches in ``cmd_pull()``.
7048
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
7049
is exposed as ``Branch().control_files``. Also this has been altered with the
7050
controlfile pre/suffix replaced by simple method names like 'get' and
7051
'put'. (Aaron Bentley, Robert Collins).
7053
* Deprecated functions and methods can now be marked as such using the
7054
``bzrlib.symbol_versioning`` module. Marked method have their docstring
7055
updated and will issue a DeprecationWarning using the warnings module
7056
when they are used. (Robert Collins)
7058
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
7059
for functions that need unicode strings. (Robert Collins)
7066
* pull now takes --verbose to show you what revisions are added or removed
7069
* merge now takes a --show-base option to include the base text in
7073
* The config files are now read using ConfigObj, so '=' should be used as
7074
a separator, not ':'.
7077
* New 'bzr commit --strict' option refuses to commit if there are
7078
any unknown files in the tree. To commit, make sure all files are
7079
either ignored, added, or deleted. (Michael Ellerman)
7081
* The config directory is now ~/.bazaar, and there is a single file
7082
~/.bazaar/bazaar.conf storing email, editor and other preferences.
7085
* 'bzr add' no longer takes a --verbose option, and a --quiet option
7086
has been added that suppresses all output.
7088
* Improved zsh completion support in contrib/zsh, from Clint
7091
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
7092
Goffredo Baroncelli.
7094
* 'bzr check' now accepts -v for verbose reporting, and checks for
7095
ghosts in the branch. (Robert Collins)
7097
* New command 're-sign' which will regenerate the gpg signature for
7098
a revision. (Robert Collins)
7100
* If you set ``check_signatures=require`` for a path in
7101
``~/.bazaar/branches.conf`` then bzr will invoke your
7102
``gpg_signing_command`` (defaults to gpg) and record a digital signature
7103
of your commit. (Robert Collins)
7105
* New sftp transport, based on Paramiko. (Robey Pointer)
7107
* 'bzr pull' now accepts '--clobber' which will discard local changes
7108
and make this branch identical to the source branch. (Robert Collins)
7110
* Just give a quieter warning if a plugin can't be loaded, and
7111
put the details in .bzr.log. (Martin Pool)
7113
* 'bzr branch' will now set the branch-name to the last component of the
7114
output directory, if one was supplied.
7116
* If the option ``post_commit`` is set to one (or more) python function
7117
names (must be in the bzrlib namespace), then they will be invoked
7118
after the commit has completed, with the branch and ``revision_id`` as
7119
parameters. (Robert Collins)
7121
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
7123
* --merge-type weave is now supported for file contents. Tree-shape
7124
changes are still three-way based. (Martin Pool, Aaron Bentley)
7126
* 'bzr check' allows the first revision on revision-history to have
7127
parents - something that is expected for cheap checkouts, and occurs
7128
when conversions from baz do not have all history. (Robert Collins).
7130
* 'bzr merge' can now graft unrelated trees together, if your specify
7131
0 as a base. (Aaron Bentley)
7133
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
7136
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
7138
* 'bzr merge --reprocess' minimizes conflicts
7142
* The 'bzr selftest --pattern' option for has been removed, now
7143
test specifiers on the command line can be simple strings, or
7144
regexps, or both. (Robert Collins)
7146
* Passing -v to selftest will now show the time each test took to
7147
complete, which will aid in analysing performance regressions and
7148
related questions. (Robert Collins)
7150
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
7151
is given. (Martin Pool)
7153
* There is a new method for TestCaseInTempDir, assertFileEqual, which
7154
will check that a given content is equal to the content of the named
7155
file. (Robert Collins)
7157
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
7162
* New 'testament' command and concept for making gpg-signatures
7163
of revisions that are not tied to a particular internal
7164
representation. (Martin Pool).
7166
* Per-revision properties ('revprops') as key-value associated
7167
strings on each revision created when the revision is committed.
7168
Intended mainly for the use of external tools. (Martin Pool).
7170
* Config options have moved from bzrlib.osutils to bzrlib.config.
7173
* Improved command line option definitions allowing explanations
7174
for individual options, among other things. Contributed by
7177
* Config options have moved from bzrlib.osutils to bzrlib.config.
7178
Configuration is now done via the config.Config interface:
7179
Depending on whether you have a Branch, a Location or no information
7180
available, construct a ``*Config``, and use its ``signature_checking``,
7181
``username`` and ``user_email`` methods. (Robert Collins)
7183
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
7184
they are made available for other plugins to use. You should not
7185
import other plugins during the ``__init__`` of your plugin though, as
7186
no ordering is guaranteed, and the plugins directory is not on the
7187
python path. (Robert Collins)
7189
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
7190
no longer takes an inventory, rather it takes an option branch
7191
parameter, and if None is given will open the branch at basedir
7192
implicitly. (Robert Collins)
7194
* Cleaner exception structure and error reporting. Suggested by
7195
Scott James Remnant. (Martin Pool)
7197
* Branch.remove has been moved to WorkingTree, which has also gained
7198
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
7201
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
7202
added to the branch module. Use these to cause a function to run in a
7203
read or write lock respectively. (Robert Collins)
7205
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
7206
which allows direct access to the common case of 'get me this file
7207
from its branch'. (Robert Collins)
7209
* Transports can register using ``register_lazy_transport``, and they
7210
will be loaded when first used. (Martin Pool)
7212
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
7213
A new option to WorkingTree.pull has been added, clobber, which will
7214
ignore diverged history and pull anyway.
7217
* config.Config has a ``get_user_option`` call that accepts an option name.
7218
This will be looked up in branches.conf and bazaar.conf as normal.
7219
It is intended that this be used by plugins to support options -
7220
options of built in programs should have specific methods on the config.
7223
* ``merge.merge_inner`` now has tempdir as an optional parameter.
7226
* Tree.kind is not recorded at the top level of the hierarchy, as it was
7227
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
7230
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
7231
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
7232
about future directions. (Robert Collins/Martin Pool)
7234
* bzrlib.transport.http has been modified so that only 404 urllib errors
7235
are returned as NoSuchFile. Other exceptions will propogate as normal.
7236
This allows debuging of actual errors. (Robert Collins)
7238
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
7239
to apis like 'put', 'get' and 'has'. This is to provide consistent
7240
behaviour - it operates on url's only. (Robert Collins)
7242
* Transports can register using ``register_lazy_transport``, and they
7243
will be loaded when first used. (Martin Pool)
7245
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
7246
is called by ``merge_inner``. This is so that the conflict count can be
7247
retrieved (and potentially manipulated) before returning to the caller
7248
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
7249
caller. (Robert Collins)
7251
* ``revision.revision_graph`` can handle having only partial history for
7252
a revision - that is no revisions in the graph with no parents.
7255
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
7256
produce a branch and a list of paths, relative to that branch
7259
* New TestCase.addCleanup facility.
7261
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
7262
which can be used by programs importing bzrlib.
7266
* Better handling of branches in directories with non-ascii names.
7267
(Joel Rosdahl, Panagiotis Papadakos)
7269
* Upgrades of trees with no commits will not fail due to accessing
7270
[-1] in the revision-history. (Andres Salomon)
7273
bzr 0.1.1 2005-10-12
7274
--------------------
7278
* Fix problem in pulling over http from machines that do not
7279
allow directories to be listed.
7281
* Avoid harmless warning about invalid hash cache after
7282
upgrading branch format.
7286
* Avoid some unnecessary http operations in branch and pull.
7294
* 'bzr branch' over http initially gives a very high estimate
7295
of completion time but it should fall as the first few
7296
revisions are pulled in. branch is still slow on
7297
high-latency connections.
7301
* bzr-man.py has been updated to work again. Contributed by
7304
* Locking is now done with fcntl.lockf which works with NFS
7305
file systems. Contributed by Harald Meland.
7307
* When a merge encounters a file that has been deleted on
7308
one side and modified on the other, the old contents are
7309
written out to foo.BASE and foo.SIDE, where SIDE is this
7310
or OTHER. Contributed by Aaron Bentley.
7312
* Export was choosing incorrect file paths for the content of
7313
the tarball, this has been fixed by Aaron Bentley.
7315
* Commit will no longer commit without a log message, an
7316
error is returned instead. Contributed by Jelmer Vernooij.
7318
* If you commit a specific file in a sub directory, any of its
7319
parent directories that are added but not listed will be
7320
automatically included. Suggested by Michael Ellerman.
7322
* bzr commit and upgrade did not correctly record new revisions
7323
for files with only a change to their executable status.
7324
bzr will correct this when it encounters it. Fixed by
7327
* HTTP tests now force off the use of ``http_proxy`` for the duration.
7328
Contributed by Gustavo Niemeyer.
7330
* Fix problems in merging weave-based branches that have
7331
different partial views of history.
7333
* Symlink support: working with symlinks when not in the root of a
7334
bzr tree was broken, patch from Scott James Remnant.
7338
* 'branch' now accepts a --basis parameter which will take advantage
7339
of local history when making a new branch. This allows faster
7340
branching of remote branches. Contributed by Aaron Bentley.
7342
* New tree format based on weave files, called version 5.
7343
Existing branches can be upgraded to this format using
7346
* Symlinks are now versionable. Initial patch by
7347
Erik Toubro Nielsen, updated to head by Robert Collins.
7349
* Executable bits are tracked on files. Patch from Gustavo
7352
* 'bzr status' now shows unknown files inside a selected directory.
7353
Patch from Heikki Paajanen.
7355
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
7356
and 'resolve' have needed added, which list and remove those
7357
merge conflicts respectively. A conflicted tree cannot be committed
7358
in. Contributed by Aaron Bentley.
7360
* 'rm' is now an alias for 'remove'.
7362
* Stores now split out their content in a single byte prefixed hash,
7363
dropping the density of files per directory by 256. Contributed by
7366
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
7367
Contributed by Robert Collins.
7369
* 'bzr log' with the default formatter will show merged revisions,
7370
indented to the right. Initial implementation contributed by Gustavo
7371
Niemeyer, made incremental by Robert Collins.
7376
* Test case failures have the exception printed after the log
7377
for your viewing pleasure.
7379
* InventoryEntry is now an abstract base class, use one of the
7380
concrete InventoryDirectory etc classes instead.
7382
* Branch raises an UnsupportedFormatError when it detects a
7383
bzr branch it cannot understand. This allows for precise
7384
handling of such circumstances.
7386
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
7387
list of their ids and ``parent_sha1s`` is a list of their corresponding
7388
sha1s (for old branches only at the moment.)
7390
* New method-object style interface for Commit() and Fetch().
7392
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
7393
we call them revisions not patches.
7395
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
7396
directory is created if it doesn't exist.
7398
* Inventories now identify the files which were present by
7399
giving the revision *of that file*.
7401
* Inventory and Revision XML contains a version identifier.
7402
This must be consistent with the overall branch version
7403
but allows for more flexibility in future upgrades.
7407
* Removed testsweet module so that tests can be run after
7408
bzr installed by 'bzr selftest'.
7410
* 'bzr selftest' command-line arguments can now be partial ids
7411
of tests to run, e.g. ``bzr selftest test_weave``
7414
bzr 0.0.9 2005-09-23
7415
--------------------
7419
* Fixed "branch -r" option.
7421
* Fix remote access to branches containing non-compressed history.
7424
* Better reliability of http server tests. (John Arbash-Meinel)
7426
* Merge graph maximum distance calculation fix. (Aaron Bentley)
7428
* Various minor bug in windows support have been fixed, largely in the
7429
test suite. Contributed by Alexander Belchenko.
7433
* Status now accepts a -r argument to give status between chosen
7434
revisions. Contributed by Heikki Paajanen.
7436
* Revision arguments no longer use +/-/= to control ranges, instead
7437
there is a 'before' namespace, which limits the successive namespace.
7438
For example '$ bzr log -r date:yesterday..before:date:today' will
7439
select everything from yesterday and before today. Contributed by
7442
* There is now a bzr.bat file created by distutils when building on
7443
Windows. Contributed by Alexander Belchenko.
7447
* Removed uuid() as it was unused.
7449
* Improved 'fetch' code for pulling revisions from one branch into
7450
another (used by pull, merged, etc.)
7453
bzr 0.0.8 2005-09-20
7454
--------------------
7458
* Adding a file whose parent directory is not versioned will
7459
implicitly add the parent, and so on up to the root. This means
7460
you should never need to explictly add a directory, they'll just
7461
get added when you add a file in the directory. Contributed by
7464
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
7467
* If you set ``BZR_EDITOR`` in the environment, it is checked in
7468
preference to EDITOR and the config file for the interactive commit
7469
editing program. Related to this is a bugfix where a missing program
7470
set in EDITOR would cause editing to fail, now the fallback program
7471
for the operating system is still tried.
7473
* Files that are not directories/symlinks/regular files will no longer
7474
cause bzr to fail, it will just ignore them by default. You cannot add
7475
them to the tree though - they are not versionable.
7480
* Refactor xml packing/unpacking.
7484
* Fixed 'bzr mv' by Ollie Rutherfurd.
7486
* Fixed strange error when trying to access a nonexistent http
7489
* Make sure that the hashcache gets written out if it can't be
7495
* Various Windows fixes from Ollie Rutherfurd.
7497
* Quieten warnings about locking; patch from Matt Lavin.
7500
bzr-0.0.7 2005-09-02
7501
--------------------
7505
* ``bzr shell-complete`` command contributed by Clint Adams to
7506
help with intelligent shell completion.
7508
* New expert command ``bzr find-merge-base`` for debugging merges.
7513
* Much better merge support.
7515
* merge3 conflicts are now reported with markers like '<<<<<<<'
7516
(seven characters) which is the same as CVS and pleases things
7522
* ``bzr upgrade`` no longer fails when trying to fix trees that
7523
mention revisions that are not present.
7525
* Fixed bugs in listing plugins from ``bzr plugins``.
7527
* Fix case of $EDITOR containing options for the editor.
7529
* Fix log -r refusing to show the last revision.
7530
(Patch from Goffredo Baroncelli.)
7535
* ``bzr log --show-ids`` shows the revision ids of all parents.
7537
* Externally provided commands on your $BZRPATH no longer need
7538
to recognize --bzr-usage to work properly, and can just handle
7544
* Changed trace messages to go through the standard logging
7545
framework, so that they can more easily be redirected by
7550
bzr-0.0.6 2005-08-18
7551
--------------------
7555
* Python plugins, automatically loaded from the directories on
7556
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
7558
* New 'bzr mkdir' command.
7560
* Commit mesage is fetched from an editor if not given on the
7561
command line; patch from Torsten Marek.
7563
* ``bzr log -m FOO`` displays commits whose message matches regexp
7566
* ``bzr add`` with no arguments adds everything under the current directory.
7568
* ``bzr mv`` does move or rename depending on its arguments, like
7571
* ``bzr missing`` command shows a summary of the differences
7572
between two trees. (Merged from John Arbash-Meinel.)
7574
* An email address for commits to a particular tree can be
7575
specified by putting it into .bzr/email within a branch. (Based
7576
on a patch from Heikki Paajanen.)
7581
* Faster working tree operations.
7586
* 3rd-party modules shipped with bzr are copied within the bzrlib
7587
python package, so that they can be installed by the setup
7588
script without clashing with anything already existing on the
7589
system. (Contributed by Gustavo Niemeyer.)
7591
* Moved plugins directory to bzrlib/, so that there's a standard
7592
plugin directory which is not only installed with bzr itself but
7593
is also available when using bzr from the development tree.
7594
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
7595
standard plugins directory.
7597
* When exporting to a tarball with ``bzr export --format tgz``, put
7598
everything under a top directory rather than dumping it into the
7599
current directory. This can be overridden with the ``--root``
7600
option. Patch from William Dodé and John Meinel.
7602
* New ``bzr upgrade`` command to upgrade the format of a branch,
7603
replacing ``bzr check --update``.
7605
* Files within store directories are no longer marked readonly on
7608
* Changed ``bzr log`` output to a more compact form suggested by
7609
John A Meinel. Old format is available with the ``--long`` or
7610
``-l`` option, patched by William Dodé.
7612
* By default the commit command refuses to record a revision with
7613
no changes unless the ``--unchanged`` option is given.
7615
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
7616
line options must come before the command name because they
7617
affect what commands are available; all other options must come
7618
after the command name because their interpretation depends on
7621
* ``branch`` and ``clone`` added as aliases for ``branch``.
7623
* Default log format is back to the long format; the compact one
7624
is available with ``--short``.
7629
* Fix bugs in committing only selected files or within a subdirectory.
7632
bzr-0.0.5 2005-06-15
7633
---------------------
7637
* ``bzr`` with no command now shows help rather than giving an
7638
error. Suggested by Michael Ellerman.
7640
* ``bzr status`` output format changed, because svn-style output
7641
doesn't really match the model of bzr. Now files are grouped by
7642
status and can be shown with their IDs. ``bzr status --all``
7643
shows all versioned files and unknown files but not ignored files.
7645
* ``bzr log`` runs from most-recent to least-recent, the reverse
7646
of the previous order. The previous behaviour can be obtained
7647
with the ``--forward`` option.
7649
* ``bzr inventory`` by default shows only filenames, and also ids
7650
if ``--show-ids`` is given, in which case the id is the second
7656
* New 'bzr whoami --email' option shows only the email component
7657
of the user identification, from Jo Vermeulen.
7659
* New ``bzr ignore PATTERN`` command.
7661
* Nicer error message for broken pipe, interrupt and similar
7662
conditions that don't indicate an internal error.
7664
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
7666
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
7667
either read or write mode.
7669
* New option ``bzr log --show-ids`` shows revision and file ids.
7671
* New usage ``bzr log FILENAME`` shows only revisions that
7674
* Changed format for describing changes in ``bzr log -v``.
7676
* New option ``bzr commit --file`` to take a message from a file,
7677
suggested by LarstiQ.
7679
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
7680
Oler. File may be in a branch other than the working directory.
7682
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
7685
* Commands can now be defined by external programs or scripts
7686
in a directory on $BZRPATH.
7688
* New "stat cache" avoids reading the contents of files if they
7689
haven't changed since the previous time.
7691
* If the Python interpreter is too old, try to find a better one
7692
or give an error. Based on a patch from Fredrik Lundh.
7694
* New optional parameter ``bzr info [BRANCH]``.
7696
* New form ``bzr commit SELECTED`` to commit only selected files.
7698
* New form ``bzr log -r FROM:TO`` shows changes in selected
7699
range; contributed by John A Meinel.
7701
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
7702
options through to an external GNU diff.
7704
* New option ``bzr add --no-recurse`` to add a directory but not
7707
* ``bzr --version`` now shows more information if bzr is being run
7713
* Fixed diff format so that added and removed files will be
7714
handled properly by patch. Fix from Lalo Martins.
7716
* Various fixes for files whose names contain spaces or other
7722
* Converted black-box test suites from Bourne shell into Python;
7723
now run using ``./testbzr``. Various structural improvements to
7726
* testbzr by default runs the version of bzr found in the same
7727
directory as the tests, or the one given as the first parameter.
7729
* testbzr also runs the internal tests, so the only command
7730
required to check is just ``./testbzr``.
7732
* testbzr requires python2.4, but can be used to test bzr running
7733
under a different version.
7735
* Tests added for many other changes in this release.
7740
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
7742
* Refactor command functions into Command objects based on HCT by
7743
Scott James Remnant.
7745
* Better help messages for many commands.
7747
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
7748
this is called trace messages are just discarded.
7750
* New internal function ``find_touching_revisions()`` and hidden
7751
command touching-revisions trace the changes to a given file.
7753
* Simpler and faster ``compare_inventories()`` function.
7755
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
7757
* New AtomicFile class.
7759
* New developer commands ``added``, ``modified``.
7764
* Cope on Windows on python2.3 by using the weaker random seed.
7765
2.4 is now only recommended.
7768
bzr-0.0.4 2005-04-22
7769
---------------------
7773
* 'bzr diff' optionally takes a list of files to diff. Still a bit
7774
basic. Patch from QuantumG.
7776
* More default ignore patterns.
7778
* New 'bzr log --verbose' shows a list of files changed in the
7779
changeset. Patch from Sebastian Cote.
7781
* Roll over ~/.bzr.log if it gets too large.
7783
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
7786
* New 'bzr help commands' based on a patch from Denys Duchier.
7791
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
7792
or $EMAIL. All are decoded by the locale preferred encoding.
7793
If none of these are present user@hostname is used. The host's
7794
fully-qualified name is not used because that tends to fail when
7795
there are DNS problems.
7797
* New 'bzr whoami' command instead of username user-email.
7802
* Make commit safe for hardlinked bzr trees.
7804
* Some Unicode/locale fixes.
7806
* Partial workaround for ``difflib.unified_diff`` not handling
7807
trailing newlines properly.
7812
* Allow docstrings for help to be in PEP0257 format. Patch from
7815
* More tests in test.sh.
7817
* Write profile data to a temporary file not into working
7818
directory and delete it when done.
7820
* Smaller .bzr.log with process ids.
7825
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
7828
* Some improvements in handling paths on Windows, based on a patch
7832
bzr-0.0.3 2005-04-06
7833
---------------------
7837
* New "directories" internal command lists versioned directories
7840
* Can now say "bzr commit --help".
7842
* New "rename" command to rename one file to a different name
7845
* New "move" command to move one or more files into a different
7848
* New "renames" command lists files renamed since base revision.
7850
* New cat command contributed by janmar.
7854
* .bzr.log is placed in $HOME (not pwd) and is always written in
7855
UTF-8. (Probably not a completely good long-term solution, but
7860
* Workaround for difflib bug in Python 2.3 that causes an
7861
exception when comparing empty files. Reported by Erik Toubro
7866
* Refactored inventory storage to insert a root entry at the top.
7870
* Start of shell-based black-box testing in test.sh.
6921
:Released: 2007-10-29
6926
* ``bzr`` now returns exit code 4 if an internal error occurred, and
6927
3 if a normal error occurred. (Martin Pool)
6929
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
6930
repository index errors that occured as a result of the Weave disk format.
6931
Instead the ``reconcile`` command needs to be run to correct those
6932
problems if they exist (and it has been able to fix most such problems
6933
since bzr 0.8). Some new problems have been identified during this release
6934
and you should run ``bzr check`` once on every repository to see if you
6935
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
6936
repository due to mismatched parent errors - a symptom of index errors -
6937
you should simply take a full copy of that remote repository to a clean
6938
directory outside any local repositories, then run reconcile on it, and
6939
finally pull from it locally. (And naturally email the repositories owner
6940
to ask them to upgrade and run reconcile).
6946
* New ``knitpack-experimental`` repository format. This is interoperable with
6947
the ``dirstate-tags`` format but uses a smarter storage design that greatly
6948
speeds up many operations, both local and remote. This new format can be
6949
used as an option to the ``init``, ``init-repository`` and ``upgrade``
6950
commands. (Robert Collins)
6952
* For users of bzr-svn (and those testing the prototype subtree support) that
6953
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
6954
been added. This is interoperable with the ``dirstate-subtrees`` format.
6957
* New ``reconfigure`` command. (Aaron Bentley)
6959
* New ``revert --forget-merges`` command, which removes the record of a pending
6960
merge without affecting the working tree contents. (Martin Pool)
6962
* New ``bzr_remote_path`` configuration variable allows finer control of
6963
remote bzr locations than BZR_REMOTE_PATH environment variable.
6966
* New ``launchpad-login`` command to tell Bazaar your Launchpad
6967
user ID. This can then be used by other functions of the
6968
Launchpad plugin. (James Henstridge)
6973
* Commit in quiet mode is now slightly faster as the information to
6974
output is no longer calculated. (Ian Clatworthy)
6976
* Commit no longer checks for new text keys during insertion when the
6977
revision id was deterministically unique. (Robert Collins)
6979
* Committing a change which is not a merge and does not change the number of
6980
files in the tree is faster by utilising the data about whether files are
6981
changed to determine if the tree is unchanged rather than recalculating
6982
it at the end of the commit process. (Robert Collins)
6984
* Inventory serialisation no longer double-sha's the content.
6987
* Knit text reconstruction now avoids making copies of the lines list for
6988
interim texts when building a single text. The new ``apply_delta`` method
6989
on ``KnitContent`` aids this by allowing modification of the revision id
6990
such objects represent. (Robert Collins)
6992
* Pack indices are now partially parsed for specific key lookup using a
6993
bisection approach. (Robert Collins)
6995
* Partial commits are now approximately 40% faster by walking over the
6996
unselected current tree more efficiently. (Robert Collins)
6998
* XML inventory serialisation takes 20% less time while being stricter about
6999
the contents. (Robert Collins)
7001
* Graph ``heads()`` queries have been fixed to no longer access all history
7002
unnecessarily. (Robert Collins)
7007
* ``bzr+https://`` smart server across https now supported.
7008
(John Ferlito, Martin Pool, #128456)
7010
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
7011
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
7013
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
7014
changes from one revision. (Alexander Belchenko, #141368)
7016
* Show encodings, locale and list of plugins in the traceback message.
7017
(Martin Pool, #63894)
7019
* Experimental directory formats can now be marked with
7020
``experimental = True`` during registration. (Ian Clatworthy)
7025
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
7027
* The hooks reference documentation is now converted to html as expected.
7033
* Connection error reporting for the smart server has been fixed to
7034
display a user friendly message instead of a traceback.
7035
(Ian Clatworthy, #115601)
7037
* Make sure to use ``O_BINARY`` when opening files to check their
7038
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
7040
* Fix a problem with Win32 handling of the executable bit.
7041
(John Arbash Meinel, #149113)
7043
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
7044
no longer assume that means port 22. This allows people using OpenSSH to
7045
override the default port in their ``~/.ssh/config`` if they wish. This
7046
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
7048
* Commands reporting exceptions can now be profiled and still have their
7049
data correctly dumped to a file. For example, a ``bzr commit`` with
7050
no changes still reports the operation as pointless but doing so no
7051
longer throws away the profiling data if this command is run with
7052
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
7054
* Fallback to ftp when paramiko is not installed and sftp can't be used for
7055
``tests/commands`` so that the test suite is still usable without
7057
(Vincent Ladeuil, #59150)
7059
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
7061
* Fix long standing bug in partial commit when there are renames
7062
left in tree. (Robert Collins, #140419)
7064
* Fix selftest semi-random noise during http related tests.
7065
(Vincent Ladeuil, #140614)
7067
* Fix typo in ftp.py making the reconnection fail on temporary errors.
7068
(Vincent Ladeuil, #154259)
7070
* Fix failing test by comparing real paths to cover the case where the TMPDIR
7071
contains a symbolic link.
7072
(Vincent Ladeuil, #141382).
7074
* Fix log against smart server branches that don't support tags.
7075
(James Westby, #140615)
7077
* Fix pycurl http implementation by defining error codes from
7078
pycurl instead of relying on an old curl definition.
7079
(Vincent Ladeuil, #147530)
7081
* Fix 'unprintable error' message when displaying BzrCheckError and
7082
some other exceptions on Python 2.5.
7083
(Martin Pool, #144633)
7085
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
7087
* Handles default value for ListOption in cmd_commit.
7088
(Vincent Ladeuil, #140432)
7090
* HttpServer and FtpServer need to be closed properly or a listening socket
7092
(Vincent Ladeuil, #140055)
7094
* Monitor the .bzr directory created in the top level test
7095
directory to detect leaking tests.
7096
(Vincent Ladeuil, #147986)
7098
* The basename, not the full path, is now used when checking whether
7099
the profiling dump file begins with ``callgrind.out`` or not. This
7100
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
7102
* Trivial fix for invoking command ``reconfigure`` without arguments.
7105
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
7106
new path causes bzr to be unable to access the file. (Robert Collins)
7108
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
7114
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
7115
constructor, for enabling bisection searches. (Robert Collins)
7117
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
7118
tree be supplied to it, previously failing to do so would trigger a
7119
deprecation warning. (Robert Collins)
7121
* ``KnitVersionedFile.add*`` will no longer cache added records even when
7122
enable_cache() has been called - the caching feature is now exclusively for
7123
reading existing data. (Robert Collins)
7125
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
7126
appropriate. (Martin Pool)
7128
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
7129
``trace+`` transport instead. (Robert Collins)
7131
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
7132
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
7135
* Removed previous deprecated ``basis_knit`` parameter to the
7136
``KnitVersionedFile`` constructor. (Robert Collins)
7138
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
7139
class that needs it.
7142
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
7143
``KnitRepository`` by parameters to the constructor. (Robert Collins)
7145
* The ``VersionedFile`` interface now allows content checks to be bypassed
7146
by supplying check_content=False. This saves nearly 30% of the minimum
7147
cost to store a version of a file. (Robert Collins)
7149
* Tree's with bad state such as files with no length or sha will no longer
7150
be silently accepted by the repository XML serialiser. To serialise
7151
inventories without such data, pass working=True to write_inventory.
7154
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
7155
``VersionedFile.join`` will no longer accept different parents on either
7156
side of a join - it will either ignore them, or error, depending on the
7157
implementation. See notes when upgrading for more information.
7163
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
7164
put by the method call, to allow avoiding stat-after-write or
7165
housekeeping in callers. (Robert Collins)
7167
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
7168
mandatory attributes are present on serialisation and deserialisation.
7169
This fixes some holes in API usage and allows better separation between
7170
physical storage and object serialisation. (Robert Collins)
7172
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
7173
shorthand for deriving from BzrError and setting internal_error = True.
7176
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
7177
moving the state of a parent tree to a new version via a delta rather than
7178
a complete replacement tree. (Robert Collins)
7180
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
7181
duplication from user input, when a user mentions both a path and an item
7182
contained within that path. (Robert Collins)
7184
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
7185
determining if a repository is write locked. (Robert Collins)
7187
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
7188
tuple containing the key information about a path for commit processing
7189
to complete. (Robert Collins)
7191
* New method on xml serialisers, write_inventory_to_lines, which matches the
7192
API used by knits for adding content. (Robert Collins)
7194
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
7195
logic, currently only available for byte-based lookup
7196
(``bisect_multi_bytes``). (Robert Collins)
7198
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
7199
and returns a gzipped version of the same. This is used to avoid a bunch
7200
of api friction during adding of knit hunks. (Robert Collins)
7202
* New parameter on ``bzrlib.transport.Transport.readv``
7203
``adjust_for_latency`` which changes readv from returning strictly the
7204
requested data to inserted return larger ranges and in forward read order
7205
to reduce the effect of network latency. (Robert Collins)
7207
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
7208
causes the parents of a selected id to be returned recursively, so all the
7209
paths from the root down to each element of selected_file_ids are
7210
returned. (Robert Collins)
7212
* Knit joining has been enhanced to support plain to annotated conversion
7213
and annotated to plain conversion. (Ian Clatworthy)
7215
* The CommitBuilder method ``record_entry_contents`` now returns summary
7216
information about the effect of the commit on the repository. This tuple
7217
contains an inventory delta item if the entry changed from the basis, and a
7218
boolean indicating whether a new file graph node was recorded.
7221
* The python path used in the Makefile can now be overridden.
7222
(Andrew Bennetts, Ian Clatworthy)
7227
* New transport implementation ``trace+`` which is useful for testing,
7228
logging activity taken to its _activity attribute. (Robert Collins)
7230
* When running bzr commands within the test suite, internal exceptions are
7231
not caught and reported in the usual way, but rather allowed to propagate
7232
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
7233
makes this behavior available to other users.
7236
* New method ``TestCase.call_catch_warnings`` for testing methods that
7237
raises a Python warning. (Martin Pool)
7243
:Released: 2007-09-26
7248
* Print a warning instead of aborting the ``python setup.py install``
7249
process if building of a C extension is not possible.
7250
(Lukáš Lalinský, Alexander Belchenko)
7252
* Fix commit ordering in corner case (Aaron Bentley, #94975)
7254
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
7255
an implicit port. We were incorrectly raising PathNotChild due to
7256
inconsistent treatment of the ''_port'' attribute on the Transport object.
7257
(Andrew Bennetts, #133965)
7259
* Make RemoteRepository.sprout cope gracefully with servers that don't
7260
support the ``Repository.tarball`` request.
7267
:Released: 2007-09-11
7269
* Replaced incorrect tarball for previous release; a debug statement was left
7270
in bzrlib/remote.py.
7276
:Released: 2007-09-11
7281
* The default branch and repository format has changed to
7282
``dirstate-tags``, so tag commands are active by default.
7283
This format is compatible with Bazaar 0.15 and later.
7284
This incidentally fixes bug #126141.
7287
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
7288
must now appear after the command name. Scripts doing things like
7289
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
7295
* New option ``--author`` in ``bzr commit`` to specify the author of the
7296
change, if it's different from the committer. ``bzr log`` and
7297
``bzr annotate`` display the author instead of the committer.
7300
* In addition to global options and command specific options, a set of
7301
standard options are now supported. Standard options are legal for
7302
all commands. The initial set of standard options are:
7304
* ``--help`` or ``-h`` - display help message
7305
* ``--verbose`` or ``-v`` - display additional information
7306
* ``--quiet`` or ``-q`` - only output warnings and errors.
7308
Unlike global options, standard options can be used in aliases and
7309
may have command-specific help. (Ian Clatworthy)
7311
* Verbosity level processing has now been unified. If ``--verbose``
7312
or ``-v`` is specified on the command line multiple times, the
7313
verbosity level is made positive the first time then increased.
7314
If ``--quiet`` or ``-q`` is specified on the command line
7315
multiple times, the verbosity level is made negative the first
7316
time then decreased. To get the default verbosity level of zero,
7317
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
7318
Note that most commands currently ignore the magnitude of the
7319
verbosity level but do respect *quiet vs normal vs verbose* when
7320
generating output. (Ian Clatworthy)
7322
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
7323
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
7325
* New ``Repository.stream_knit_data_for_revisions`` request added to the
7326
network protocol for greatly reduced roundtrips when retrieving a set of
7327
revisions. (Andrew Bennetts)
7332
* ``bzr plugins`` now lists the version number for each plugin in square
7333
brackets after the path. (Robert Collins, #125421)
7335
* Pushing, pulling and branching branches with subtree references was not
7336
copying the subtree weave, preventing the file graph from being accessed
7337
and causing errors in commits in clones. (Robert Collins)
7339
* Suppress warning "integer argument expected, got float" from Paramiko,
7340
which sometimes caused false test failures. (Martin Pool)
7342
* Fix bug in bundle 4 that could cause attempts to write data to wrong
7343
versionedfile. (Aaron Bentley)
7345
* Diffs generated using "diff -p" no longer break the patch parser.
7348
* get_transport treats an empty possible_transports list the same as a non-
7349
empty one. (Aaron Bentley)
7351
* patch verification for merge directives is reactivated, and works with
7352
CRLF and CR files. (Aaron Bentley)
7354
* Accept ..\ as a path in revision specifiers. This fixes for example
7355
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
7357
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
7358
(Blake Winton, #129299)
7360
* man page no longer lists hidden options (#131667, Aaron Bentley)
7362
* ``uncommit --help`` now explains the -r option adequately. (Daniel
7365
* Error messages are now better formatted with parameters (such as
7366
filenames) quoted when necessary. This avoids confusion when directory
7367
names ending in a '.' at the end of messages were confused with a
7368
full stop that may or not have been there. (Daniel Watkins, #129791)
7370
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
7372
* If a particular command is an alias, ``help`` will show the alias
7373
instead of claiming there is no help for said alias. (Daniel Watkins,
7376
* TreeTransform-based operations, like pull, merge, revert, and branch,
7377
now roll back if they encounter an error. (Aaron Bentley, #67699)
7379
* ``bzr commit`` now exits cleanly if a character unsupported by the
7380
current encoding is used in the commit message. (Daniel Watkins,
7383
* bzr send uses default values for ranges when only half of an elipsis
7384
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
7386
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
7387
binary is present. (Martin Albisetti, #107155)
7389
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
7390
needing ``--force``) subtrees that contain no files with text changes or
7391
modified files. With ``--force`` it removes the subtree regardless of
7392
text changes or unknown files. Directories with renames in or out (but
7393
not changed otherwise) will now be removed without needing ``--force``.
7394
Unknown ignored files will be deleted without needing ``--force``.
7395
(Marius Kruger, #111665)
7397
* When two plugins conflict, the source of both the losing and now the
7398
winning definition is shown. (Konstantin Mikhaylov, #5454)
7400
* When committing to a branch, the location being committed to is
7401
displayed. (Daniel Watkins, #52479)
7403
* ``bzr --version`` takes care about encoding of stdout, especially
7404
when output is redirected. (Alexander Belchenko, #131100)
7406
* Prompt for an ftp password if none is provided.
7407
(Vincent Ladeuil, #137044)
7409
* Reuse bound branch associated transport to avoid multiple
7411
(Vincent Ladeuil, #128076, #131396)
7413
* Overwrite conflicting tags by ``push`` and ``pull`` if the
7414
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
7416
* In checkouts, tags are copied into the master branch when created,
7417
changed or deleted, and are copied into the checkout when it is
7418
updated. (Martin Pool, #93856, #93860)
7420
* Print a warning instead of aborting the ``python setup.py install``
7421
process if building of a C extension is not possible.
7422
(Lukáš Lalinský, Alexander Belchenko)
7427
* Add the option "--show-diff" to the commit command in order to display
7428
the diff during the commit log creation. (Goffredo Baroncelli)
7430
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
7433
* ``pull -v`` no longer includes deltas, making it much faster.
7436
* ``send`` now sends the directive as an attachment by default.
7437
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
7439
* Documentation updates (Martin Albisetti)
7441
* Help on debug flags is now included in ``help global-options``.
7442
(Daniel Watkins, #124853)
7444
* Parameters passed on the command line are checked to ensure they are
7445
supported by the encoding in use. (Daniel Watkins)
7447
* The compression used within the bzr repository has changed from zlib
7448
level 9 to the zlib default level. This improves commit performance with
7449
only a small increase in space used (and in some cases a reduction in
7450
space). (Robert Collins)
7452
* Initial commit no longer SHAs files twice and now reuses the path
7453
rather than looking it up again, making it faster.
7456
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
7457
changes in one revision. (Lukáš Lalinský)
7459
* If versioned files match a given ignore pattern, a warning is now
7460
given. (Daniel Watkins, #48623)
7462
* ``bzr status`` now has -S as a short name for --short and -V as a
7463
short name for --versioned. These have been added to assist users
7464
migrating from Subversion: ``bzr status -SV`` is now like
7465
``svn status -q``. (Daniel Watkins, #115990)
7467
* Added C implementation of ``PatienceSequenceMatcher``, which is about
7468
10x faster than the Python version. This speeds up commands that
7469
need file diffing, such as ``bzr commit`` or ``bzr diff``.
7472
* HACKING has been extended with a large section on core developer tasks.
7475
* Add ``branches`` and ``standalone-trees`` as online help topics and
7476
include them as Concepts within the User Reference.
7477
(Paul Moore, Ian Clatworthy)
7479
* ``check`` can detect versionedfile parent references that are
7480
inconsistent with revision and inventory info, and ``reconcile`` can fix
7481
them. These faulty references were generated by 0.8-era releases,
7482
so repositories which were manipulated by old bzrs should be
7483
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
7488
* ``Branch.append_revision`` is removed altogether; please use
7489
``Branch.set_last_revision_info`` instead. (Martin Pool)
7491
* CommitBuilder now advertises itself as requiring the root entry to be
7492
supplied. This only affects foreign repository implementations which reuse
7493
CommitBuilder directly and have changed record_entry_contents to require
7494
that the root not be supplied. This should be precisely zero plugins
7495
affected. (Robert Collins)
7497
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
7498
its return value to include the sha1 and length of the inserted text. This
7499
allows the avoidance of double-sha1 calculations during commit.
7502
* ``Transport.should_cache`` has been removed. It was not called in the
7503
previous release. (Martin Pool)
7508
* Tests may now raise TestNotApplicable to indicate they shouldn't be
7509
run in a particular scenario. (Martin Pool)
7511
* New function multiply_tests_from_modules to give a simpler interface
7512
to test parameterization. (Martin Pool, Robert Collins)
7514
* ``Transport.should_cache`` has been removed. It was not called in the
7515
previous release. (Martin Pool)
7517
* NULL_REVISION is returned to indicate the null revision, not None.
7520
* Use UTF-8 encoded StringIO for log tests to avoid failures on
7521
non-ASCII committer names. (Lukáš Lalinský)
7526
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
7527
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
7528
useful functionality for determining the path of a plugin, its tests, and
7529
its version information. (Robert Collins)
7531
* Add the option user_encoding to the function 'show_diff_trees()'
7532
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
7534
* Add the function make_commit_message_template_encoded() and the function
7535
edit_commit_message_encoded() which handle encoded strings.
7536
This is done in order to mix the commit messages (which is a unicode
7537
string), and the diff which is a raw string. (Goffredo Baroncelli)
7539
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
7540
overhead on non-weave repositories which don't require all parents to be
7541
present. (Robert Collins)
7543
* Deprecated method ``find_previous_heads`` on
7544
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
7545
of ``parent_candidates`` and a separate heads check via the repository
7546
API. (Robert Collins)
7548
* New trace function ``mutter_callsite`` will print out a subset of the
7549
stack to the log, which can be useful for gathering debug details.
7552
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
7553
added via a public attribute records_written. (Robert Collins)
7555
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
7556
This provides a hint to users of transports as to the reasonable
7557
minimum data to read. In principle this can take latency and
7558
bandwidth into account on a per-connection basis, but for now it
7559
just has hard coded values based on the url. (e.g. http:// has a large
7560
page size, file:// has a small one.) (Robert Collins)
7562
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
7563
incremental addition of data to a file without requiring that all the
7564
data be buffered in memory. (Robert Collins)
7566
* New methods on ``bzrlib.knit.KnitVersionedFile``:
7567
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
7568
``get_format_signature()``. These provide some infrastructure for
7569
efficiently streaming the knit data for a set of versions over the smart
7572
* Knits with no annotation cache still produce correct annotations.
7575
* Three new methods have been added to ``bzrlib.trace``:
7576
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
7577
``set_verbosity_level`` expects a numeric value: negative for quiet,
7578
zero for normal, positive for verbose. The size of the number can be
7579
used to determine just how quiet or verbose the application should be.
7580
The existing ``be_quiet`` and ``is_quiet`` routines have been
7581
integrated into this new scheme. (Ian Clatworthy)
7583
* Options can now be delcared with a ``custom_callback`` parameter. If
7584
set, this routine is called after the option is processed. This feature
7585
is now used by the standard options ``verbose`` and ``quiet`` so that
7586
setting one implicitly resets the other. (Ian Clatworthy)
7588
* Rather than declaring a new option from scratch in order to provide
7589
custom help, a centrally registered option can be decorated using the
7590
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
7591
is useful when declaring better help for the ``verbose`` and ``quiet``
7592
standard options as the base definition of these is now more complex
7593
than before thanks to their use of a custom callback. (Ian Clatworthy)
7595
* Tree._iter_changes(specific_file=[]) now iterates through no files,
7596
instead of iterating through all files. None is used to iterate through
7597
all files. (Aaron Bentley)
7599
* WorkingTree.revert() now accepts None to revert all files. The use of
7600
[] to revert all files is deprecated. (Aaron Bentley)
7606
:Released: 2007-08-28
7611
* Documentation is now organized into multiple directories with a level
7612
added for different languages or locales. Added the Mini Tutorial
7613
and Quick Start Summary (en) documents from the Wiki, improving the
7614
content and readability of the former. Formatted NEWS as Release Notes
7615
complete with a Table of Conents, one heading per release. Moved the
7616
Developer Guide into the main document catalog and provided a link
7617
from the developer document catalog back to the main one.
7618
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
7624
* The static convenience method ``BzrDir.create_repository``
7625
is deprecated. Callers should instead create a ``BzrDir`` instance
7626
and call ``create_repository`` on that. (Martin Pool)
7632
:Released: 2007-08-14
7637
* ``bzr init`` should connect to the remote location one time only. We
7638
have been connecting several times because we forget to pass around the
7639
Transport object. This modifies ``BzrDir.create_branch_convenience``,
7640
so that we can give it the Transport we already have.
7641
(John Arbash Meinel, Vincent Ladeuil, #111702)
7643
* Get rid of sftp connection cache (get rid of the FTP one too).
7644
(Vincent Ladeuil, #43731)
7646
* bzr branch {local|remote} remote don't try to create a working tree
7648
(Vincent Ladeuil, #112173)
7650
* All identified multiple connections for a single bzr command have been
7651
fixed. See bzrlib/tests/commands directory.
7654
* ``bzr rm`` now does not insist on ``--force`` to delete files that
7655
have been renamed but not otherwise modified. (Marius Kruger,
7658
* ``bzr selftest --bench`` no longer emits deprecation warnings
7661
* ``bzr status`` now honours FILE parameters for conflict lists
7662
(Aaron Bentley, #127606)
7664
* ``bzr checkout`` now honours -r when reconstituting a working tree.
7665
It also honours -r 0. (Aaron Bentley, #127708)
7667
* ``bzr add *`` no more fails on Windows if working tree contains
7668
non-ascii file names. (Kuno Meyer, #127361)
7670
* allow ``easy_install bzr`` runs without fatal errors.
7671
(Alexander Belchenko, #125521)
7673
* Graph._filter_candidate_lca does not raise KeyError if a candidate
7674
is eliminated just before it would normally be examined. (Aaron Bentley)
7676
* SMTP connection failures produce a nice message, not a traceback.
7682
* Don't show "dots" progress indicators when run non-interactively, such
7683
as from cron. (Martin Pool)
7685
* ``info`` now formats locations more nicely and lists "submit" and
7686
"public" branches (Aaron Bentley)
7688
* New ``pack`` command that will trigger database compression within
7689
the repository (Robert Collins)
7691
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
7692
version is approximately 2-3x faster at parsing a ``.kndx`` file.
7693
Which yields a measurable improvement for commands which have to
7694
read from the repository, such as a 1s => 0.75s improvement in
7695
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
7697
* Merge is now faster. Depending on the scenario, it can be more than 2x
7698
faster. (Aaron Bentley)
7700
* Give a clearer warning, and allow ``python setup.py install`` to
7701
succeed even if pyrex is not available.
7702
(John Arbash Meinel)
7704
* ``DirState._read_dirblocks`` now has an optional Pyrex
7705
implementation. This improves the speed of any command that has to
7706
read the entire DirState. (``diff``, ``status``, etc, improve by
7708
``bisect_dirblocks`` has also been improved, which helps all
7709
``_get_entry`` type calls (whenever we are searching for a
7710
particular entry in the in-memory DirState).
7711
(John Arbash Meinel)
7713
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
7714
branch revision history for ui display unless -v is supplied.
7717
* ``bzr log -rA..B`` output shifted to the left margin if the log only
7718
contains merge revisions. (Kent Gibson)
7720
* The ``plugins`` command is now public with improved help.
7723
* New bundle and merge directive formats are faster to generate, and
7725
* Annotate merge now works when there are local changes. (Aaron Bentley)
7727
* Commit now only shows the progress in terms of directories instead of
7728
entries. (Ian Clatworthy)
7730
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
7731
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
7734
* Fix ``VersionedFile.get_graph()`` to avoid using
7735
``set.difference_update(other)``, which has bad scaling when
7736
``other`` is large. This improves ``VF.get_graph([version_id])`` for
7737
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
7739
* The ``--lsprof-file`` option now generates output for KCacheGrind if
7740
the file starts with ``callgrind.out``. This matches the default file
7741
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
7743
* Fix ``bzr update`` to avoid an unnecessary
7744
``branch.get_master_branch`` call, which avoids 1 extra connection
7745
to the remote server. (Partial fix for #128076, John Arbash Meinel)
7747
* Log errors from the smart server in the trace file, to make debugging
7748
test failures (and live failures!) easier. (Andrew Bennetts)
7750
* The HTML version of the man page has been superceded by a more
7751
comprehensive manual called the Bazaar User Reference. This manual
7752
is completed generated from the online help topics. As part of this
7753
change, limited reStructuredText is now explicitly supported in help
7754
topics and command help with 'unnatural' markup being removed prior
7755
to display by the online help or inclusion in the man page.
7758
* HTML documentation now use files extension ``*.html``
7759
(Alexander Belchenko)
7761
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
7762
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
7764
* ``bzr selftest --strict`` fails if there are any missing features or
7765
expected test failures. (Daniel Watkins, #111914)
7767
* Link to registration survey added to README. (Ian Clatworthy)
7769
* Windows standalone installer show link to registration survey
7770
when installation finished. (Alexander Belchenko)
7775
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
7776
Options are now required to provide a help string and it must
7777
comply with the style guide by being one or more sentences with an
7778
initial capital and final period. (Martin Pool)
7780
* KnitIndex.get_parents now returns tuples. (Robert Collins)
7782
* Ancient unused ``Repository.text_store`` attribute has been removed.
7785
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
7786
rather than just bytestrings, making it easier to represent multiple
7787
element names. As this interface was not used by any internal facilities
7788
since it was introduced in 0.18 no API compatibility is being preserved.
7789
The serialised form of these packs is identical with 0.18 when a single
7790
element tuple is in use. (Robert Collins)
7795
* merge now uses ``iter_changes`` to calculate changes, which makes room for
7796
future performance increases. It is also more consistent with other
7797
operations that perform comparisons, and reduces reliance on
7798
Tree.inventory. (Aaron Bentley)
7800
* Refactoring of transport classes connected to a remote server.
7801
ConnectedTransport is a new class that serves as a basis for all
7802
transports needing to connect to a remote server. transport.split_url
7803
have been deprecated, use the static method on the object instead. URL
7804
tests have been refactored too.
7807
* Better connection sharing for ConnectedTransport objects.
7808
transport.get_transport() now accepts a 'possible_transports' parameter.
7809
If a newly requested transport can share a connection with one of the
7813
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
7814
the null revision, and consider using ``None`` for this purpose
7815
deprecated. (Aaron Bentley)
7817
* New ``index`` module with abstract index functionality. This will be
7818
used during the planned changes in the repository layer. Currently the
7819
index layer provides a graph aware immutable index, a builder for the
7820
same index type to allow creating them, and finally a composer for
7821
such indices to allow the use of many indices in a single query. The
7822
index performance is not optimised, however the API is stable to allow
7823
development on top of the index. (Robert Collins)
7825
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
7826
their directory sections. This is equivalent to comparing
7827
``path.split('/')``, only without having to split the paths.
7828
This has a Pyrex implementation available.
7829
(John Arbash Meinel)
7831
* New transport decorator 'unlistable+' which disables the list_dir
7832
functionality for testing.
7834
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
7836
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
7837
for performing annotate-merge. (Aaron Bentley)
7839
* New EmailMessage class to create email messages. (Adeodato Simó)
7841
* Unused functions on the private interface KnitIndex have been removed.
7844
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
7845
of a ``index.GraphIndex``. (Robert Collins)
7847
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
7848
the parents of many knit nodes at once, reducing round trips to the
7849
underlying index. (Robert Collins)
7851
* Graph now has an is_ancestor method, various bits use it.
7854
* The ``-Dhpss`` flag now includes timing information. As well as
7855
logging when a new connection is opened. (John Arbash Meinel)
7857
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
7858
callers when inserting data, allowing generation of readv style access
7859
during pack creation, without needing a separate pass across the output
7860
pack to gather such details. (Robert Collins)
7862
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
7863
files that are stored on a transport. (Robert Collins)
7865
* New ``Repository.has_same_location`` method that reports if two
7866
repository objects refer to the same repository (although with some risk
7867
of false negatives). (Andrew Bennetts)
7869
* InterTree.compare now passes require_versioned on correctly.
7872
* New methods on Repository - ``start_write_group``,
7873
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
7874
which provide a clean hook point for transactional Repositories - ones
7875
where all the data for a fetch or commit needs to be made atomically
7876
available in one step. This allows the write lock to remain while making
7877
a series of data insertions. (e.g. data conversion). (Robert Collins)
7879
* In ``bzrlib.knit`` the internal interface has been altered to use
7880
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
7881
describe where data in a knit is, allowing knits to be split into
7882
many files. (Robert Collins)
7884
* ``bzrlib.knit._KnitData`` split into cache management and physical access
7885
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
7886
The former provides access into a .pack file, and the latter provides the
7887
current production repository form of .knit files. (Robert Collins)
7892
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
7893
``--keep-output`` options, which are obsolete now that tests
7894
are done within directories in $TMPDIR. (Martin Pool)
7896
* The SSH_AUTH_SOCK environment variable is now reset to avoid
7897
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
7899
* run_bzr_subprocess handles parameters the same way as run_bzr:
7900
either a string or a list of strings should be passed as the first
7901
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
7907
:Released: 2007-07-17
7912
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
7918
:Released: 2007-07-10
7923
* Do not suppress pipe errors, etc. in non-display commands
7924
(Alexander Belchenko, #87178)
7926
* Display a useful error message when the user requests to annotate
7927
a file that is not present in the specified revision.
7928
(James Westby, #122656)
7930
* Commands that use status flags now have a reference to 'help
7931
status-flags'. (Daniel Watkins, #113436)
7933
* Work around python-2.4.1 inhability to correctly parse the
7934
authentication header.
7935
(Vincent Ladeuil, #121889)
7937
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
7939
* Fix tempfile permissions error in smart server tar bundling under
7940
Windows. (Martin _, #119330)
7942
* Fix detection of directory entries in the inventory. (James Westby)
7944
* Fix handling of http code 400: Bad Request When issuing too many ranges.
7945
(Vincent Ladeuil, #115209)
7947
* Issue a CONNECT request when connecting to an https server
7948
via a proxy to enable SSL tunneling.
7949
(Vincent Ladeuil, #120678)
7951
* Fix ``bzr log -r`` to support selecting merge revisions, both
7952
individually and as part of revision ranges.
7953
(Kent Gibson, #4663)
7955
* Don't leave cruft behind when failing to acquire a lockdir.
7956
(Martin Pool, #109169)
7958
* Don't use the '-f' strace option during tests.
7959
(Vincent Ladeuil, #102019).
7961
* Warn when setting ``push_location`` to a value that will be masked by
7962
locations.conf. (Aaron Bentley, #122286)
7964
* Fix commit ordering in corner case (Aaron Bentley, #94975)
7966
* Make annotate behave in a non-ASCII world (Adeodato Simó).
7971
* The --lsprof-file option now dumps a text rendering of the profiling
7972
information if the filename ends in ".txt". It will also convert the
7973
profiling information to a format suitable for KCacheGrind if the
7974
output filename ends in ".callgrind". Fixes to the lsprofcalltree
7975
conversion process by Jean Paul Calderone and Itamar were also merged.
7976
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
7978
* ``info`` now defaults to non-verbose mode, displaying only paths and
7979
abbreviated format info. ``info -v`` displays all the information
7980
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
7982
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
7985
* The internal ``weave-list`` command has become ``versionedfile-list``,
7986
and now lists knits as well as weaves. (Aaron Bentley)
7988
* Automatic merge base selection uses a faster algorithm that chooses
7989
better bases in criss-cross merge situations (Aaron Bentley)
7991
* Progress reporting in ``commit`` has been improved. The various logical
7992
stages are now reported on as follows, namely:
7994
* Collecting changes [Entry x/y] - Stage n/m
7995
* Saving data locally - Stage n/m
7996
* Uploading data to master branch - Stage n/m
7997
* Updating the working tree - Stage n/m
7998
* Running post commit hooks - Stage n/m
8000
If there is no master branch, the 3rd stage is omitted and the total
8001
number of stages is adjusted accordingly.
8003
Each hook that is run after commit is listed with a name (as hooks
8004
can be slow it is useful feedback).
8005
(Ian Clatworthy, Robert Collins)
8007
* Various operations that are now faster due to avoiding unnecessary
8008
topological sorts. (Aaron Bentley)
8010
* Make merge directives robust against broken bundles. (Aaron Bentley)
8012
* The lsprof filename note is emitted via trace.note(), not standard
8013
output. (Aaron Bentley)
8015
* ``bzrlib`` now exports explicit API compatibility information to assist
8016
library users and plugins. See the ``bzrlib.api`` module for details.
8019
* Remove unnecessary lock probes when acquiring a lockdir.
8022
* ``bzr --version`` now shows the location of the bzr log file, which
8023
is especially useful on Windows. (Martin Pool)
8025
* -D now supports hooks to get debug tracing of hooks (though its currently
8026
minimal in nature). (Robert Collins)
8028
* Long log format reports deltas on merge revisions.
8029
(John Arbash Meinel, Kent Gibson)
8031
* Make initial push over ftp more resilient. (John Arbash Meinel)
8033
* Print a summary of changes for update just like pull does.
8034
(Daniel Watkins, #113990)
8036
* Add a -Dhpss option to trace smart protocol requests and responses.
8042
* Testing cleanups -
8043
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
8044
to ``bzrlib.tests.repository_implementations``;
8045
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
8046
to ``bzrlib.tests.interrepository_implementations``;
8047
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
8048
``bzrlib.tests.test_transport_implementations``.
8049
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
8050
``bzrlib.tests.branch_implementations``.
8051
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
8052
``bzrlib.tests.bzrdir_implementations``.
8053
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
8054
to ``bzrlib.tests.interversionedfile_implementations``.
8055
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
8056
``bzrlib.tests.revisionstore_implementations``.
8057
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
8058
``bzrlib.tests.workingtree_implementations``.
8059
These changes are an API break in the testing infrastructure only.
8062
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
8064
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
8065
win32. Callers of the function should do this and use the new
8066
``MutableTree.smart_add`` method instead. (Robert Collins)
8068
* ``bzrlib.add.glob_expand_for_win32`` is now
8069
``bzrlib.win32utils.glob_expand``. (Robert Collins)
8071
* ``bzrlib.add.FastPath`` is now private and moved to
8072
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
8074
* ``LockDir.wait`` removed. (Martin Pool)
8076
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
8077
``server_stopped`` hooks. The first parameter is now an iterable of
8078
backing URLs rather than a single URL. This is to reflect that many
8079
URLs may map to the external URL of the server. E.g. the server interally
8080
may have a chrooted URL but also the local file:// URL will be at the
8081
same location. (Robert Collins)
8086
* New SMTPConnection class to unify email handling. (Adeodato Simó)
8088
* Fix documentation of BzrError. (Adeodato Simó)
8090
* Make BzrBadParameter an internal error. (Adeodato Simó)
8092
* Remove use of 'assert False' to raise an exception unconditionally.
8095
* Give a cleaner error when failing to decode knit index entry.
8098
* TreeConfig would mistakenly search the top level when asked for options
8099
from a section. It now respects the section argument and only
8100
searches the specified section. (James Westby)
8102
* Improve ``make api-docs`` output. (John Arbash Meinel)
8104
* Use os.lstat rather than os.stat for osutils.make_readonly and
8105
osutils.make_writeable. This makes the difftools plugin more
8106
robust when dangling symlinks are found. (Elliot Murphy)
8108
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
8109
lockdirs are taken or released. (Martin Pool)
8111
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
8112
allows a nicer UI when hooks are running as the current hook can
8113
be displayed. (Robert Collins)
8115
* ``Transport.get`` has had its interface made more clear for ease of use.
8116
Retrieval of a directory must now fail with either 'PathError' at open
8117
time, or raise 'ReadError' on a read. (Robert Collins)
8119
* New method ``_maybe_expand_globs`` on the ``Command`` class for
8120
dealing with unexpanded glob lists - e.g. on the win32 platform. This
8121
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
8123
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
8124
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
8127
* New method ``external_url`` on Transport for obtaining the url to
8128
hand to external processes. (Robert Collins)
8130
* Teach windows installers to build pyrex/C extensions.
8131
(Alexander Belchenko)
8136
* Removed the ``--keep-output`` option from selftest and clean up test
8137
directories as they're used. This reduces the IO load from
8138
running the test suite and cuts the time by about half.
8139
(Andrew Bennetts, Martin Pool)
8141
* Add scenarios as a public attribute on the TestAdapter classes to allow
8142
modification of the generated scenarios before adaption and easier
8143
testing. (Robert Collins)
8145
* New testing support class ``TestScenarioApplier`` which multiplies
8146
out a single teste by a list of supplied scenarios. (RobertCollins)
8148
* Setting ``repository_to_test_repository`` on a repository_implementations
8149
test will cause it to be called during repository creation, allowing the
8150
testing of repository classes which are not based around the Format
8151
concept. For example a repository adapter can be tested in this manner,
8152
by altering the repository scenarios to include a scenario that sets this
8153
attribute during the test parameterisation in
8154
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
8156
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
8157
interface is now self.run_bzr. The command to run can be passed as
8158
either a list of parameters, a string containing the command line, or
8159
(deprecated) varargs parameters. (Martin Pool)
8161
* The base TestCase now isolates tests from -D parameters by clearing
8162
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
8164
* Add a relpath parameter to get_transport methods in test framework to
8165
avoid useless cloning.
8166
(Vincent Ladeuil, #110448)
8172
:Released: 2007-06-18
8177
* Fix crash of commit due to wrong lookup of filesystem encoding.
8178
(Colin Watson, #120647)
8180
* Revert logging just to stderr in commit as broke unicode filenames.
8181
(Aaron Bentley, Ian Clatworthy, #120930)
8187
:Released: 2007-06-12
8189
Notes When Upgrading
8190
********************
8192
* The kind() and is_executable() APIs on the WorkingTree interface no
8193
longer implicitly (read) locks and unlocks the tree. This *might*
8194
impact some plug-ins and tools using this part of the API. If you find
8195
an issue that may be caused by this change, please let us know,
8196
particularly the plug-in/tool maintainer. If encountered, the API
8197
fix is to surround kind() and is_executable() calls with lock_read()
8198
and unlock() like so::
8200
work_tree.lock_read()
8202
kind = work_tree.kind(...)
8208
* Rework of LogFormatter API to provide beginning/end of log hooks and to
8209
encapsulate the details of the revision to be logged in a LogRevision
8211
In long log formats, merge revision ids are only shown when --show-ids
8212
is specified, and are labelled "revision-id:", as per mainline
8213
revisions, instead of "merged:". (Kent Gibson)
8215
* New ``BranchBuilder`` API which allows the construction of particular
8216
histories quickly. Useful for testing and potentially other applications
8217
too. (Robert Collins)
8222
* There are two new help topics, working-trees and repositories that
8223
attempt to explain these concepts. (James Westby, John Arbash Meinel,
8226
* Added ``bzr log --limit`` to report a limited number of revisions.
8227
(Kent Gibson, #3659)
8229
* Revert does not try to preserve file contents that were originally
8230
produced by reverting to a historical revision. (Aaron Bentley)
8232
* ``bzr log --short`` now includes ``[merge]`` for revisions which
8233
have more than one parent. This is a small improvement to help
8234
understanding what changes have occurred
8235
(John Arbash Meinel, #83887)
8237
* TreeTransform avoids many renames when contructing large trees,
8238
improving speed. 3.25x speedups have been observed for construction of
8239
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
8241
* Commit on large trees is now faster. In my environment, a commit of
8242
a small change to the Mozilla tree (55k files) has dropped from
8243
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
8244
small change is 33% faster. (Ian Clatworthy)
8246
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
8252
* ``bzr push`` should only connect to the remote location one time.
8253
We have been connecting 3 times because we forget to pass around
8254
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
8255
that we can pass in the Transport that we already have.
8256
(John Arbash Meinel, #75721)
8258
* ``DirState.set_state_from_inventory()`` needs to properly order
8259
based on split paths, not just string paths.
8260
(John Arbash Meinel, #115947)
8262
* Let TestUIFactoy encode the password prompt with its own stdout.
8263
(Vincent Ladeuil, #110204)
8265
* pycurl should take use the range header that takes the range hint
8267
(Vincent Ladeuil, #112719)
8269
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
8270
on a missing file. (Aaron Bentley, #118186)
8272
* WorkingTree.remove works correctly with tree references, and when pwd is
8273
not the tree root. (Aaron Bentley)
8275
* Merge no longer fails when a file is renamed in one tree and deleted
8276
in the other. (Aaron Bentley, #110279)
8278
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
8279
and defaults to the last revision (Matthew Fuller, #90048)
8281
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
8282
(Daniel Watkins, #111958)
8284
* ``bzr branch -r revid:foo`` can be used to branch any revision in
8285
your repository. (Previously Branch6 only supported revisions in your
8286
mainline). (John Arbash Meinel, #115343)
8291
:Released: 2007-05-07
8296
* Handle when you have 2 directories with similar names, but one has a
8297
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
8298
iterator was using direct comparison and ``'abc/a'`` sorts after
8299
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
8300
(John Arbash Meinel, #111227)
8302
* Handle when someone renames a file on disk without telling bzr.
8303
Previously we would report the first file as missing, but not show
8304
the new unknown file. (John Arbash Meinel, #111288)
8306
* Avoid error when running hooks after pulling into or pushing from
8307
a branch bound to a smartserver branch. (Martin Pool, #111968)
8312
* Move developer documentation to doc/developers/. This reduces clutter in
8313
the root of the source tree and allows HACKING to be split into multiple
8314
files. (Robert Collins, Alexander Belchenko)
8316
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
8317
``DirState.update_entry()``. This optimizes the core logic for ``bzr
8318
diff`` and ``bzr status`` significantly improving the speed of
8319
both. (John Arbash Meinel)
8324
:Released: 2007-04-30
8329
* Handle the case when you delete a file, and then rename another file
8330
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
8331
status`` should show the removed file and an unknown file in its
8332
place. (John Arbash Meinel, #109993)
8334
* Bundles properly read and write revision properties that have an
8335
empty value. And when the value is not ASCII.
8336
(John Arbash Meinel, #109613)
8338
* Fix the bzr commit message to be in text mode.
8339
(Alexander Belchenko, #110901)
8341
* Also handle when you rename a file and create a file where it used
8342
to be. (John Arbash Meinel, #110256)
8344
* ``WorkingTree4._iter_changes`` should not descend into unversioned
8345
directories. (John Arbash Meinel, #110399)
8350
:Released: 2007-04-26
8352
Notes When Upgrading
8353
********************
8355
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
8356
it could be recovered again.
8357
This has been done for consistency with svn and the unix rm command.
8358
The old ``remove`` behaviour has been retained in the new option
8359
``bzr remove --keep``, which will just stop versioning the file,
8361
``bzr remove --force`` have been added which will always delete the
8363
``bzr remove`` is also more verbose.
8364
(Marius Kruger, #82602)
8369
* Merge directives can now be supplied as input to `merge` and `pull`,
8370
like bundles can. (Aaron Bentley)
8372
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
8373
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
8374
to continue. This can be disabled by setting the environment variable
8375
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
8377
* selftest now supports --list-only to list tests instead of running
8378
them. (Ian Clatworthy)
8380
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
8381
tests with names that match that regular expression.
8382
(Ian Clatworthy, #102679)
8384
* selftest now supports --randomize SEED to run tests in a random order.
8385
SEED is typically the value 'now' meaning 'use the current time'.
8386
(Ian Clatworthy, #102686)
8388
* New option ``--fixes`` to commit, which stores bug fixing annotations as
8389
revision properties. Built-in support for Launchpad, Debian, Trac and
8390
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
8392
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
8393
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
8396
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
8399
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
8400
into using local variables instead of going through ``self._var``.
8401
Improves the time to ``merge_sort`` a 10k revision graph by
8402
approximately 40% (~700->400ms). (John Arbash Meinel)
8404
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
8407
* ``bzr help`` now provides cross references to other help topics using
8408
the _see_also facility on command classes. Likewise the bzr_man
8409
documentation, and the bzr.1 man page also include this information.
8412
* Tags are now included in logs, that use the long log formatter.
8413
(Erik Bågfors, Alexander Belchenko)
8415
* ``bzr help`` provides a clearer message when a help topic cannot be
8416
found. (Robert Collins, #107656)
8418
* ``bzr help`` now accepts optional prefixes for command help. The help
8419
for all commands can now be found at ``bzr help commands/COMMANDNAME``
8420
as well as ``bzr help COMMANDNAME`` (which only works for commands
8421
where the name is not the same as a more general help topic).
8424
* ``bzr help PLUGINNAME`` will now return the module docstring from the
8425
plugin PLUGINNAME. (Robert Collins, #50408)
8427
* New help topic ``urlspec`` which lists the availables transports.
8428
(Goffredo Baroncelli)
8430
* doc/server.txt updated to document the default bzr:// port
8431
and also update the blurb about the hpss' current status.
8432
(Robert Collins, #107125).
8434
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
8435
serve out to the local LAN (and anyone in the world that can reach the
8436
machine running ``bzr serve``. (Robert Collins, #98918)
8438
* A new smart server protocol version has been added. It prefixes requests
8439
and responses with an explicit version identifier so that future protocol
8440
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
8442
* The bzr protocol version 2 indicates success or failure in every response
8443
without depending on particular commands encoding that consistently,
8444
allowing future client refactorings to be much more robust about error
8445
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
8447
* The smart protocol over HTTP client has been changed to always post to the
8448
same ``.bzr/smart`` URL under the original location when it can. This allows
8449
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
8450
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
8452
* digest authentication is now supported for proxies and HTTP by the urllib
8453
based http implementation. Tested against Apache 2.0.55 and Squid
8454
2.6.5. Basic and digest authentication are handled coherently for HTTP
8455
and proxy: if the user is provided in the url (bzr command line for HTTP,
8456
proxy environment variables for proxies), the password is prompted for
8457
(only once). If the password is provided, it is taken into account. Once
8458
the first authentication is successful, all further authentication
8459
roundtrips are avoided by preventively setting the right authentication
8466
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
8467
code paths. (Robert Collins)
8469
* Change the format of chroot urls so that they can be safely manipulated
8470
by generic url utilities without causing the resulting urls to have
8471
escaped the chroot. A side effect of this is that creating a chroot
8472
requires an explicit action using a ChrootServer.
8473
(Robert Collins, Andrew Bennetts)
8475
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
8476
rather than fixing bug #96847. (Aaron Bentley)
8478
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
8479
``WorkingTree._write_inventory``. (Aaron Bentley)
8481
* Convenience method ``TestCase.expectFailure`` ensures that known failures
8482
do not silently pass. (Aaron Bentley)
8484
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
8485
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
8487
* New SmartServer hooks facility. There are two initial hooks documented
8488
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
8489
plugins to execute code upon server startup and shutdown.
8492
* SmartServer in standalone mode will now close its listening socket
8493
when it stops, rather than waiting for garbage collection. This primarily
8494
fixes test suite hangs when a test tries to connect to a shutdown server.
8495
It may also help improve behaviour when dealing with a server running
8496
on a specific port (rather than dynamically assigned ports).
8499
* Move most SmartServer code into a new package, bzrlib/smart.
8500
bzrlib/transport/remote.py contains just the Transport classes that used
8501
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
8503
* urllib http implementation avoid roundtrips associated with
8504
401 (and 407) errors once the authentication succeeds.
8507
* urlib http now supports querying the user for a proxy password if
8508
needed. Realm is shown in the prompt for both HTTP and proxy
8509
authentication when the user is required to type a password.
8512
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
8513
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
8514
consistent with its new home in ``bzrlib/transport/remote.py``, and because
8515
it's not really a "smart" transport, just one that does file operations
8516
via remote procedure calls. (Andrew Bennetts)
8518
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
8519
``Branch`` now accept a ``token`` keyword argument, so that separate
8520
instances of those objects can share a lock if it has the right token.
8521
(Andrew Bennetts, Robert Collins)
8523
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
8524
branch references - which the smart server component needs.
8526
* The Repository API ``make_working_trees`` is now permitted to return
8527
False when ``set_make_working_trees`` is not implemented - previously
8528
an unimplemented ``set_make_working_trees`` implied the result True
8529
from ``make_working_trees``. This has been changed to accomodate the
8530
smart server, where it does not make sense (at this point) to ever
8531
make working trees by default. (Robert Collins)
8533
* Command objects can now declare related help topics by having _see_also
8534
set to a list of related topic. (Robert Collins)
8536
* ``bzrlib.help`` now delegates to the Command class for Command specific
8537
help. (Robert Collins)
8539
* New class ``TransportListRegistry``, derived from the Registry class, which
8540
simplifies tracking the available Transports. (Goffredo Baroncelli)
8542
* New function ``Branch.get_revision_id_to_revno_map`` which will
8543
return a dictionary mapping revision ids to dotted revnos. Since
8544
dotted revnos are defined in the context of the branch tip, it makes
8545
sense to generate them from a ``Branch`` object.
8546
(John Arbash Meinel)
8548
* Fix the 'Unprintable error' message display to use the repr of the
8549
exception that prevented printing the error because the str value
8550
for it is often not useful in debugging (e.g. KeyError('foo') has a
8551
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
8552
useful. (Robert Collins)
8554
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
8560
* Don't fail bundle selftest if email has 'two' embedded.
8561
(Ian Clatworthy, #98510)
8563
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
8564
(Robert Widhopf-Fenk, #98591)
8566
* Remove ``--basis`` from the checkout/branch commands - it didn't work
8567
properly and is no longer beneficial.
8568
(Robert Collins, #53675, #43486)
8570
* Don't produce encoding error when adding duplicate files.
8573
* Fix ``bzr log <file>`` so it only logs the revisions that changed
8574
the file, and does it faster.
8575
(Kent Gibson, John Arbash Meinel, #51980, #69477)
8577
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
8578
an empty versioned directory, which now has files in it.
8579
(John Arbash Meinel, #104257)
8581
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
8582
inside the ancestry of the other. Saves a lot of graph processing
8583
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
8584
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
8586
* Fix ``show_diff_trees`` to handle the case when a file is modified,
8587
and the containing directory is renamed. (The file path is different
8588
in this versus base, but it isn't marked as a rename).
8589
(John Arbash Meinel, #103870)
8591
* FTP now works even when the FTP server does not support atomic rename.
8592
(Aaron Bentley, #89436)
8594
* Correct handling in bundles and merge directives of timezones with
8595
that are not an integer number of hours offset from UTC. Always
8596
represent the epoch time in UTC to avoid problems with formatting
8597
earlier times on win32. (Martin Pool, Alexander Belchenko, John
8600
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
8602
* "dirstate" and "dirstate-tags" formats now produce branches compatible
8603
with old versions of bzr. (Aaron Bentley, #107168))
8605
* Handle moving a directory when children have been added, removed,
8606
and renamed. (John Arbash Meinel, #105479)
8608
* Don't preventively use basic authentication for proxy before receiving a
8609
407 error. Otherwise people willing to use other authentication schemes
8610
may expose their password in the clear (or nearly). This add one
8611
roundtrip in case basic authentication should be used, but plug the
8615
* Handle http and proxy digest authentication.
8616
(Vincent Ladeuil, #94034).
8621
* Added ``bzrlib.strace.strace`` which will strace a single callable and
8622
return a StraceResult object which contains just the syscalls involved
8623
in running it. (Robert Collins)
8625
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
8626
default time down to one suitable for tests. (Andrew Bennetts)
8628
* Add new ``vfs_transport_factory`` attribute on tests which provides the
8629
common vfs backing for both the readonly and readwrite transports.
8630
This allows the RemoteObject tests to back onto local disk or memory,
8631
and use the existing ``transport_server`` attribute all tests know about
8632
to be the smart server transport. This in turn allows tests to
8633
differentiate between 'transport to access the branch', and
8634
'transport which is a VFS' - which matters in Remote* tests.
8635
(Robert Collins, Andrew Bennetts)
8637
* The ``make_branch_and_tree`` method for tests will now create a
8638
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
8639
a LocalURLServer. (Robert Collins, Andrew Bennetts)
8641
* Branch implementation tests have been audited to ensure that all urls
8642
passed to Branch APIs use proper urls, except when local-disk paths
8643
are intended. This is so that tests correctly access the test transport
8644
which is often not equivalent to local disk in Remote* tests. As part
8645
of this many tests were adjusted to remove dependencies on local disk
8647
(Robert Collins, Andrew Bennetts)
8649
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
8650
functions by adding a ``__unittest`` global attribute. (Robert Collins,
8651
Andrew Bennetts, Martin Pool, Jonathan Lange)
8653
* Refactored proxy and authentication handling to simplify the
8654
implementation of new auth schemes for both http and proxy.
8660
:Released: 2007-04-01
8665
* Handle incompatible repositories as a user issue when fetching.
8668
* Don't give a recommendation to upgrade when branching or
8669
checking out a branch that contains an old-format working tree.
8675
:Released: 2007-03-26
8680
* A warning is now displayed when opening working trees in older
8681
formats, to encourage people to upgrade to WorkingTreeFormat4.
8687
* HTTP redirections are now taken into account when a branch (or a
8688
bundle) is accessed for the first time. A message is issued at each
8689
redirection to inform the user. In the past, http redirections were
8690
silently followed for each request which significantly degraded the
8691
performances. The http redirections are not followed anymore by
8692
default, instead a RedirectRequested exception is raised. For bzrlib
8693
users needing to follow http redirections anyway,
8694
``bzrlib.transport.do_catching_redirections`` provide an easy transition
8700
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
8701
lock to an OS write lock. Linux can do this without unlocking, Win32
8702
needs to unlock in between. (John Arbash Meinel)
8704
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
8705
to silence (when false) warnings about opening old formats.
8708
* Fix minor performance regression with bzr-0.15 on pre-dirstate
8709
trees. (We were reading the working inventory too many times).
8710
(John Arbash Meinel)
8712
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
8713
``revision_history``. Branch subclasses should override
8714
``_gen_revision_history`` rather than ``revision_history`` to make use of
8715
this cache, and call ``_clear_revision_history_cache`` and
8716
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
8721
* Take ``smtp_server`` from user config into account.
8724
* Restore Unicode filename handling for versioned and unversioned files.
8725
(John Arbash Meinel, #92608)
8727
* Don't fail during ``bzr commit`` if a file is marked removed, and
8728
the containing directory is auto-removed. (John Arbash Meinel, #93681)
8730
* ``bzr status FILENAME`` failed on Windows because of an uncommon
8731
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
8732
(Wouter van Heyst, John Arbash Meinel, #90819)
8734
* ``bzr checkout source`` should create a local branch in the same
8735
format as source. (John Arbash Meinel, #93854)
8737
* ``bzr commit`` with a kind change was failing to update the
8738
last-changed-revision for directories. The
8739
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
8740
ignoring the fact that the kind could have changed, too.
8741
(John Arbash Meinel, #90111)
8743
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
8744
the directory. So that there was a chance it would break commit,
8745
etc. (John Arbash Meinel, #94037)
8747
* Correctly handles mutiple permanent http redirections.
8753
:Released: 2007-03-14
8755
Notes When Upgrading
8756
********************
8758
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
8759
default to ``--trees`` instead of ``--no-trees``.
8760
Existing shared repositories are not affected.
8765
* New ``merge-directive`` command to generate machine- and human-readable
8766
merge requests. (Aaron Bentley)
8768
* New ``submit:`` revision specifier makes it easy to diff against the
8769
common ancestor with the submit location (Aaron Bentley)
8771
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
8773
* Added ``bzr status --versioned`` to report only versioned files,
8774
not unknowns. (Kent Gibson)
8776
* Merge now autodetects the correct line-ending style for its conflict
8777
markers. (Aaron Bentley)
8782
* Refactored SSH vendor registration into SSHVendorManager class.
8788
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
8789
numbered dirs for TestCaseInTempDir. This is default behavior
8790
on Windows. Anyone can force named dirs on Windows
8791
with ``--no-numbered-dirs``. (Alexander Belchenko)
8793
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
8794
from the command line. (Marien Zwart, #90501)
8796
* Fix ``TreeTransform._iter_changes`` when both the source and
8797
destination are missing. (Aaron Bentley, #88842)
8799
* Fix commit of merges with symlinks in dirstate trees.
8802
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
8803
(Wouter van Heyst, #53483)
8809
:Released: 2007-03-07
8814
* The default disk format has changed. Please run 'bzr upgrade' in your
8815
working trees to upgrade. This new default is compatible for network
8816
operations, but not for local operations. That is, if you have two
8817
versions of bzr installed locally, after upgrading you can only use the
8818
bzr 0.15 version. This new default does not enable tags or nested-trees
8819
as they are incompatible with bzr versions before 0.15 over the network.
8821
* For users of bzrlib: Two major changes have been made to the working tree
8822
api in bzrlib. The first is that many methods and attributes, including
8823
the inventory attribute, are no longer valid for use until one of
8824
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
8825
and become invalid again after unlock is called. This has been done
8826
to improve performance and correctness as part of the dirstate
8828
(Robert Collins, John A Meinel, Martin Pool, and others).
8830
* For users of bzrlib: The attribute 'tree.inventory' should be considered
8831
readonly. Previously it was possible to directly alter this attribute, or
8832
its contents, and have the tree notice this. This has been made
8833
unsupported - it may work in some tree formats, but in the newer dirstate
8834
format such actions will have no effect and will be ignored, or even
8835
cause assertions. All operations possible can still be carried out by a
8836
combination of the tree API, and the bzrlib.transform API. (Robert
8837
Collins, John A Meinel, Martin Pool, and others).
8842
* Support for OS Windows 98. Also .bzr.log on any windows system
8843
saved in My Documents folder. (Alexander Belchenko)
8845
* ``bzr mv`` enhanced to support already moved files.
8846
In the past the mv command would have failed if the source file doesn't
8847
exist. In this situation ``bzr mv`` would now detect that the file has
8848
already moved and update the repository accordingly, if the target file
8850
A new option ``--after`` has been added so that if two files already
8851
exist, you could notify Bazaar that you have moved a (versioned) file
8852
and replaced it with another. Thus in this case ``bzr move --after``
8853
will only update the Bazaar identifier.
8854
(Steffen Eichenberg, Marius Kruger)
8856
* ``ls`` now works on treeless branches and remote branches.
8859
* ``bzr help global-options`` describes the global options.
8862
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
8865
* Files are now allowed to change kind (e.g. from file to symlink).
8866
Supported by ``commit``, ``revert`` and ``status``
8869
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
8872
* ``bzr help checkouts`` descibes what checkouts are and some possible
8873
uses of them. (James Westby, Aaron Bentley)
8875
* A new ``-d`` option to push, pull and merge overrides the default
8876
directory. (Martin Pool)
8878
* Branch format 6: smaller, and potentially faster than format 5. Supports
8879
``append_history_only`` mode, where the log view and revnos do not change,
8880
except by being added to. Stores policy settings in
8881
".bzr/branch/branch.conf".
8883
* ``append_only`` branches: Format 6 branches may be configured so that log
8884
view and revnos are always consistent. Either create the branch using
8885
"bzr init --append-revisions-only" or edit the config file as descriped
8886
in docs/configuration.txt.
8888
* rebind: Format 6 branches retain the last-used bind location, so if you
8889
"bzr unbind", you can "bzr bind" to bind to the previously-selected
8892
* Builtin tags support, created and deleted by the ``tag`` command and
8893
stored in the branch. Tags can be accessed with the revisionspec
8894
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
8895
at present. Tags require a network incompatible upgrade. To perform this
8896
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
8897
repositories. (Martin Pool)
8899
* The ``bzr://`` transport now has a well-known port number, 4155,
8900
which it will use by default. (Andrew Bennetts, Martin Pool)
8902
* Bazaar now looks for user-installed plugins before looking for site-wide
8903
plugins. (Jonathan Lange)
8905
* ``bzr resolve`` now detects and marks resolved text conflicts.
8911
* Internally revision ids and file ids are now passed around as utf-8
8912
bytestrings, rather than treating them as Unicode strings. This has
8913
performance benefits for Knits, since we no longer need to decode the
8914
revision id for each line of content, nor for each entry in the index.
8915
This will also help with the future dirstate format.
8916
(John Arbash Meinel)
8918
* Reserved ids (any revision-id ending in a colon) are rejected by
8919
versionedfiles, repositories, branches, and working trees
8922
* Minor performance improvement by not creating a ProgressBar for
8923
every KnitIndex we create. (about 90ms for a bzr.dev tree)
8924
(John Arbash Meinel)
8926
* New easier to use Branch hooks facility. There are five initial hooks,
8927
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
8928
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
8929
``'post_uncommit'``. These hooks fire after the matching operation
8930
on a branch has taken place, and were originally added for the
8931
branchrss plugin. (Robert Collins)
8933
* New method ``Branch.push()`` which should be used when pushing from a
8934
branch as it makes performance and policy decisions to match the UI
8935
level command ``push``. (Robert Collins).
8937
* Add a new method ``Tree.revision_tree`` which allows access to cached
8938
trees for arbitrary revisions. This allows the in development dirstate
8939
tree format to provide access to the callers to cached copies of
8940
inventory data which are cheaper to access than inventories from the
8942
(Robert Collins, Martin Pool)
8944
* New ``Branch.last_revision_info`` method, this is being done to allow
8945
optimization of requests for both the number of revisions and the last
8946
revision of a branch with smartservers and potentially future branch
8947
formats. (Wouter van Heyst, Robert Collins)
8949
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
8950
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
8951
other for code reuse without requiring users to perform file-renaming
8952
gymnastics. (Robert Collins)
8954
* New Repository method ``'gather_stats'`` for statistic data collection.
8955
This is expected to grow to cover a number of related uses mainly
8956
related to bzr info. (Robert Collins)
8958
* Log formatters are now managed with a registry.
8959
``log.register_formatter`` continues to work, but callers accessing
8960
the FORMATTERS dictionary directly will not.
8962
* Allow a start message to be passed to the ``edit_commit_message``
8963
function. This will be placed in the message offered to the user
8964
for editing above the separator. It allows a template commit message
8965
to be used more easily. (James Westby)
8967
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
8968
you pass a Unicode string rather than an 8-bit string. Callers need
8969
to be updated to encode first. (John Arbash Meinel)
8971
* Branch.push, pull, merge now return Result objects with information
8972
about what happened, rather than a scattering of various methods. These
8973
are also passed to the post hooks. (Martin Pool)
8975
* File formats and architecture is in place for managing a forest of trees
8976
in bzr, and splitting up existing trees into smaller subtrees, and
8977
finally joining trees to make a larger tree. This is the first iteration
8978
of this support, and the user-facing aspects still require substantial
8979
work. If you wish to experiment with it, use ``bzr upgrade
8980
--dirstate-with-subtree`` in your working trees and repositories.
8981
You can use the hidden commands ``split`` and ``join`` and to create
8982
and manipulate nested trees, but please consider using the nested-trees
8983
branch, which contains substantial UI improvements, instead.
8984
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
8985
(Aaron Bentley, Martin Pool, Robert Collins).
8990
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
8991
branch, rather than the last changed revision of the file.
8992
(John Arbash Meinel, #82158)
8994
* Lock operations no longer hang if they encounter a permission problem.
8997
* ``bzr push`` can resume a push that was canceled before it finished.
8998
Also, it can push even if the target directory exists if you supply
8999
the ``--use-existing-dir`` flag.
9000
(John Arbash Meinel, #30576, #45504)
9002
* Fix http proxy authentication when user and an optional
9003
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
9006
* ``bzr log branch/file`` works for local treeless branches
9007
(Aaron Bentley, #84247)
9009
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
9011
* Searching location of CA bundle for PyCurl in env variable
9012
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
9013
(Alexander Belchenko, #82086)
9015
* ``bzr init`` works with unicode argument LOCATION.
9016
(Alexander Belchenko, #85599)
9018
* Raise ``DependencyNotPresent`` if pycurl do not support https.
9019
(Vincent Ladeuil, #85305)
9021
* Invalid proxy env variables should not cause a traceback.
9022
(Vincent Ladeuil, #87765)
9024
* Ignore patterns normalised to use '/' path separator.
9025
(Kent Gibson, #86451)
9027
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
9029
* Fix bzrtools shelve command for removed lines beginning with "--"
9030
(Johan Dahlberg, #75577)
9035
* New ``--first`` option to ``bzr selftest`` to run specified tests
9036
before the rest of the suite. (Martin Pool)
9042
:Released: 2007-01-23
9047
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
9052
* Skip documentation generation tests if the tools to do so are not
9053
available. Fixes running selftest for installled copies of bzr.
9054
(John Arbash Meinel, #80330)
9056
* Fix the code that discovers whether bzr is being run from it's
9057
working tree to handle the case when it isn't but the directory
9058
it is in is below a repository. (James Westby, #77306)
9064
:Released: 2007-01-16
9069
* New connection: ``bzr+http://`` which supports tunnelling the smart
9070
protocol over an HTTP connection. If writing is enabled on the bzr
9071
server, then you can write over the http connection.
9072
(Andrew Bennetts, John Arbash Meinel)
9074
* Aliases now support quotation marks, so they can contain whitespace
9077
* PyCurlTransport now use a single curl object. By specifying explicitly
9078
the 'Range' header, we avoid the need to use two different curl objects
9079
(and two connections to the same server). (Vincent Ladeuil)
9081
* ``bzr commit`` does not prompt for a message until it is very likely to
9082
succeed. (Aaron Bentley)
9084
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
9087
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
9088
of a list while checking if a revision id was requested. Takes 10s
9089
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
9090
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
9091
filtering lines with a regex rather than multiple ``str.find()``
9092
calls. (saves another 300ms) (John Arbash Meinel)
9094
* Policy can be set for each configuration key. This allows keys to be
9095
inherited properly across configuration entries. For example, this
9096
should enable you to do::
9098
[/home/user/project]
9099
push_location = sftp://host/srv/project/
9100
push_location:policy = appendpath
9102
And then a branch like ``/home/user/project/mybranch`` should get an
9103
automatic push location of ``sftp://host/srv/project/mybranch``.
9106
* Added ``bzr status --short`` to make status report svn style flags
9107
for each file. For example::
9109
$ bzr status --short
9115
* 'bzr selftest --clean-output' allows easily clean temporary tests
9116
directories without running tests. (Alexander Belchenko)
9118
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
9120
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
9121
local is fully merged into remote. (Jan Hudec)
9123
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
9128
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
9129
help speed up processing, as well allowing to extract unannotated
9130
lines. Between the two ``fileids_affected_by_revision_ids`` is
9131
improved by approx 10%. (John Arbash Meinel)
9133
* Change Revision serialization to only write out millisecond
9134
resolution. Rather than expecting floating point serialization to
9135
preserve more resolution than we need. (Henri Weichers, Martin Pool)
9137
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
9139
* When ``encoding_type`` attribute of class Command is equal to 'exact',
9140
force sys.stdout to be a binary stream on Windows, and therefore
9141
keep exact line-endings (without LF -> CRLF conversion).
9142
(Alexander Belchenko)
9144
* Single-letter short options are no longer globally declared. (Martin
9147
* Before using detected user/terminal encoding bzr should check
9148
that Python has corresponding codec. (Alexander Belchenko)
9150
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
9155
* ``bzr missing --verbose`` was showing adds/removals in the wrong
9156
direction. (John Arbash Meinel)
9158
* ``bzr annotate`` now defaults to showing dotted revnos for merged
9159
revisions. It cuts them off at a depth of 12 characters, but you can
9160
supply ``--long`` to see the full number. You can also use
9161
``--show-ids`` to display the original revision ids, rather than
9162
revision numbers and committer names. (John Arbash Meinel, #75637)
9164
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
9165
(Alexander Belchenko, #57869)
9167
* Win32-specific: output of cat, bundle and diff commands don't mangle
9168
line-endings (Alexander Belchenko, #55276)
9170
* Replace broken fnmatch based ignore pattern matching with custom pattern
9172
(Kent Gibson, Jan Hudec #57637)
9174
* pycurl and urllib can detect short reads at different places. Update
9175
the test suite to test more cases. Also detect http error code 416
9176
which was raised for that specific bug. Also enhance the urllib
9177
robustness by detecting invalid ranges (and pycurl's one by detecting
9178
short reads during the initial GET). (Vincent Ladeuil, #73948)
9180
* The urllib connection sharing interacts badly with urllib2
9181
proxy setting (the connections didn't go thru the proxy
9182
anymore). Defining a proper ProxyHandler solves the
9183
problem. (Vincent Ladeuil, #74759)
9185
* Use urlutils to generate relative URLs, not osutils
9186
(Aaron Bentley, #76229)
9188
* ``bzr status`` in a readonly directory should work without giving
9189
lots of errors. (John Arbash Meinel, #76299)
9191
* Mention the revisionspec topic for the revision option help.
9192
(Wouter van Heyst, #31663)
9194
* Allow plugins import from zip archives.
9195
(Alexander Belchenko, #68124)
9201
:Released: 2006-12-05
9203
No changes from 0.13rc
9209
:Released: 2006-11-27
9214
* New command ``bzr remove-tree`` allows the removal of the working
9216
(Daniel Silverstone)
9218
* urllib uses shared keep-alive connections, so http
9219
operations are substantially faster.
9220
(Vincent Ladeuil, #53654)
9222
* ``bzr export`` allows an optional branch parameter, to export a bzr
9223
tree from some other url. For example:
9224
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
9225
(Daniel Silverstone)
9227
* Added ``bzr help topics`` to the bzr help system. This gives a
9228
location for general information, outside of a specific command.
9229
This includes updates for ``bzr help revisionspec`` the first topic
9230
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
9232
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
9235
* Knit files will now cache full texts only when the size of the
9236
deltas is as large as the size of the fulltext. (Or after 200
9237
deltas, whichever comes first). This has the most benefit on large
9238
files with small changes, such as the inventory for a large project.
9239
(eg For a project with 2500 files, and 7500 revisions, it changes
9240
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
9245
* New -D option given before the command line turns on debugging output
9246
for particular areas. -Derror shows tracebacks on all errors.
9249
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
9250
and remove benchmarks that take longer than 10min to run.
9251
(John Arbash Meinel)
9253
* Use ``time.time()`` instead of ``time.clock()`` to decide on
9254
progress throttling. Because ``time.clock()`` is actually CPU time,
9255
so over a high-latency connection, too many updates get throttled.
9256
(John Arbash Meinel)
9258
* ``MemoryTransport.list_dir()`` would strip the first character for
9259
files or directories in root directory. (John Arbash Meinel)
9261
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
9262
branch references - which the smart server component needs.
9264
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
9265
prefix. It disallows any access to locations above a set URL. (Andrew
9271
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
9272
And optimize the knit index parsing code.
9273
(Dmitry Vasiliev, John Arbash Meinel)
9275
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
9276
without importing it. This prevented ``bzr upgrade`` from working
9277
unless a plugin already imported ``bzrlib.workingtree``
9278
(John Arbash Meinel, #70716)
9280
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
9282
* Give nicer error message when an http server returns a 403
9283
error code. (Vincent Ladeuil, #57644).
9285
* When a multi-range http GET request fails, try a single
9286
range one. If it fails too, forget about ranges. Remember that until
9287
the death of the transport and propagates that to the clones.
9288
(Vincent Ladeuil, #62276, #62029).
9290
* Handles user/passwords supplied in url from command
9291
line (for the urllib implementation). Don't request already
9292
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
9294
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
9295
are added. This fixes bug where fetching remote revisions records
9296
them as full references rather than integers.
9297
(John Arbash Meinel, #64789)
9299
* ``bzr ignore`` strips trailing slashes in patterns.
9300
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
9302
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
9304
* mv correctly handles paths that traverse symlinks.
9305
(Aaron Bentley, #66964)
9307
* Give nicer looking error messages when failing to connect over ssh.
9308
(John Arbash Meinel, #49172)
9310
* Pushing to a remote branch does not currently update the remote working
9311
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
9312
machine now show that the working tree is out of date.
9313
(Cheuksan Edward Wang #48136)
9315
* Use patiencediff instead of difflib for determining deltas to insert
9316
into knits. This avoids the O(N^3) behavior of difflib. Patience
9317
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
9319
* Running ``bzr log`` on nonexistent file gives an error instead of the
9320
entire log history. (Cheuksan Edward Wang #50793)
9322
* ``bzr cat`` can look up contents of removed or renamed files. If the
9323
pathname is ambiguous, i.e. the files in the old and new trees have
9324
different id's, the default is the file in the new tree. The user can
9325
use "--name-from-revision" to select the file in the old tree.
9326
(Cheuksan Edward Wang, #30190)
9331
* TestingHTTPRequestHandler really handles the Range header
9332
(previously it was ignoring it and returning the whole file,).
9337
:Released: 2006-10-30
9342
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
9343
and remove benchmarks that take longer than 10min to run.
9344
(John Arbash Meinel)
9349
:Released: 2006-10-23
9354
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
9355
rather than just showing a decimal revision number for revisions on the
9356
mainline. These revision numbers are not yet accepted as input into bzr
9357
commands such as log, diff etc. (Robert Collins)
9359
* revisions can now be specified using dotted-decimal revision numbers.
9360
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
9362
* ``bzr help commands`` output is now shorter (Aaron Bentley)
9364
* ``bzr`` now uses lazy importing to reduce the startup time. This has
9365
a moderate effect on lots of actions, especially ones that have
9366
little to do. For example ``bzr rocks`` time is down to 116ms from
9367
283ms. (John Arbash Meinel)
9369
* New Registry class to provide name-to-object registry-like support,
9370
for example for schemes where plugins can register new classes to
9371
do certain tasks (e.g. log formatters). Also provides lazy registration
9372
to allow modules to be loaded on request.
9373
(John Arbash Meinel, Adeodato Simó)
9378
* LogFormatter subclasses show now expect the 'revno' parameter to
9379
show() to be a string rather than an int. (Robert Collins)
9384
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
9385
can take a ``working_dir='foo'`` parameter, which will change directory
9386
for the command. (John Arbash Meinel)
9388
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
9389
around a regex, which defers compilation until first use.
9390
(John Arbash Meinel)
9392
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
9393
``--no-plugins`` parameter to ensure test reproducability, and avoid
9394
problems with system-wide installed plugins. (John Arbash Meinel)
9396
* Unique tree root ids are now supported. Newly created trees still
9397
use the common root id for compatibility with bzr versions before 0.12.
9400
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
9401
pass in ``inventory.ROOT_ID`` if you want the default root id value.
9402
(Robert Collins, John Arbash Meinel)
9404
* New method ``WorkingTree.flush()`` which will write the current memory
9405
inventory out to disk. At the same time, ``read_working_inventory`` will
9406
no longer trash the current tree inventory if it has been modified within
9407
the current lock, and the tree will now ``flush()`` automatically on
9408
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
9409
advantage of this functionality. (Robert Collins, John Arbash Meinel)
9411
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
9412
parameter will cause it to add another column to its output, which
9413
contains the dotted-decimal revno for each revision, as a tuple.
9416
* ``LogFormatter.show_merge`` is deprecated in favour of
9417
``LogFormatter.show_merge_revno``. (Robert Collins)
9422
* Avoid circular imports by creating a deprecated function for
9423
``bzrlib.tree.RevisionTree``. Callers should have been using
9424
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
9427
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
9428
platforms. (Martin Pool, #66356)
9430
* Don't require ``Content-Type`` in range responses. Assume they are a
9431
single range if ``Content-Type`` does not exist.
9432
(John Arbash Meinel, #62473)
9434
* bzr branch/pull no longer complain about progress bar cleanup when
9435
interrupted during fetch. (Aaron Bentley, #54000)
9437
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
9438
the basis inventory, rather than going through the repository. This
9439
allows us to have 1 inventory read, and 2 inventory writes when
9440
committing a new tree. (John Arbash Meinel)
9442
* When reverting, files that are not locally modified that do not exist
9443
in the target are deleted, not just unversioned (Aaron Bentley)
9445
* When trying to acquire a lock, don't fail immediately. Instead, try
9446
a few times (up to 1 hour) before timing out. Also, report why the
9447
lock is unavailable (John Arbash Meinel, #43521, #49556)
9449
* Leave HttpTransportBase daughter classes decides how they
9450
implement cloning. (Vincent Ladeuil, #61606)
9452
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
9454
* If a commit fails, the commit message is stored in a file at the root of
9455
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
9461
* New test base class TestCaseWithMemoryTransport offers memory-only
9462
testing facilities: its not suitable for tests that need to mutate disk
9463
state, but most tests should not need that and should be converted to
9464
TestCaseWithMemoryTransport. (Robert Collins)
9466
* ``TestCase.make_branch_and_memory_tree`` now takes a format
9467
option to set the BzrDir, Repository and Branch formats of the
9468
created objects. (Robert Collins, John Arbash Meinel)
9473
:Released: 2006-10-02
9475
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
9480
:Released: 2006-09-27
9485
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
9487
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
9493
:Released: 2006-09-25
9498
* Knit files now wait to create their contents until the first data is
9499
added. The old code used to create an empty .knit and a .kndx with just
9500
the header. However, this caused a lot of extra round trips over sftp.
9501
This can change the time for ``bzr push`` to create a new remote branch
9502
from 160s down to 100s. This also affects ``bzr commit`` performance when
9503
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
9504
down to 40s (John Arbash Meinel, #44692)
9506
* When an entire subtree has been deleted, commit will now report that
9507
just the top of the subtree has been deleted, rather than reporting
9508
all the individual items. (Robert Collins)
9510
* Commit performs one less XML parse. (Robert Collins)
9512
* ``bzr checkout`` now operates on readonly branches as well
9513
as readwrite branches. This fixes bug #39542. (Robert Collins)
9515
* ``bzr bind`` no longer synchronises history with the master branch.
9516
Binding should be followed by an update or push to synchronise the
9517
two branches. This is closely related to the fix for bug #39542.
9520
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
9521
objects. This allows all imports to stay at the global scope, but
9522
modules will not actually be imported if they are not used.
9523
(John Arbash Meinel)
9525
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
9526
transport which will be used with the upcoming high-performance smart
9527
server. The new command ``bzr serve`` will invoke bzr in server mode,
9528
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
9531
* New command ``bzr version-info`` which can be used to get a summary
9532
of the current state of the tree. This is especially useful as part
9533
of a build commands. See ``doc/version_info.txt`` for more information
9534
(John Arbash Meinel)
9539
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
9540
specific set of files. (John Arbash Meinel, #3631)
9542
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
9544
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
9545
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
9546
reading a nested Stanza. (John Arbash Meinel)
9548
* Transform._set_mode() needs to stat the right file.
9549
(John Arbash Meinel, #56549)
9551
* Raise WeaveFormatError rather than StopIteration when trying to read
9552
an empty Weave file. (John Arbash Meinel, #46871)
9554
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
9555
(Vincent Ladeuil, #59835)
9557
* Handle boundary="" lines properly to allow access through a Squid proxy.
9558
(John Arbash Meinel, #57723)
9560
* revert now removes newly-added directories (Aaron Bentley, #54172)
9562
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
9563
isn't a working tree. (David Allouche, #40679)
9565
* Give nicer error messages when a user supplies an invalid --revision
9566
parameter. (John Arbash Meinel, #55420)
9568
* Handle when LANG is not recognized by python. Emit a warning, but
9569
just revert to using 'ascii'. (John Arbash Meinel, #35392)
9571
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
9572
(John Arbash Meinel)
9574
* Skip specific tests when the dependencies aren't met. This includes
9575
some ``setup.py`` tests when ``python-dev`` is not available, and
9576
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
9578
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
9579
the system. (Andrew Bennetts, John Arbash Meinel)
9581
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
9582
other branch, and will not push or pull between the two branches.
9583
API users will need to perform a push or pull or update operation if they
9584
require branch synchronisation to take place. (Robert Collins, #47344)
9586
* When creating a tarball or zipfile export, export unicode names as utf-8
9587
paths. This may not work perfectly on all platforms, but has the best
9588
chance of working in the common case. (John Arbash Meinel, #56816)
9590
* When committing, only files that exist in working tree or basis tree
9591
may be specified (Aaron Bentley, #50793)
9596
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
9601
* TestCaseInTempDir now creates a separate directory for HOME, rather
9602
than having HOME set to the same location as the working directory.
9603
(John Arbash Meinel)
9605
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
9606
which will update os.environ inside the spawned child. It also can
9607
take a ``universal_newlines=True``, which helps when checking the output
9608
of the command. (John Arbash Meinel)
9610
* Refactor SFTP vendors to allow easier re-use when ssh is used.
9613
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
9614
return urlescaped paths. This is now tested (there were bugs in a few
9615
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
9617
* New utility function ``symbol_versioning.deprecation_string``. Returns the
9618
formatted string for a callable, deprecation format pair. (Robert Collins)
9620
* New TestCase helper applyDeprecated. This allows you to call a callable
9621
which is deprecated without it spewing to the screen, just by supplying
9622
the deprecation format string issued for it. (Robert Collins)
9624
* Transport.append and Transport.put have been deprecated in favor of
9625
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
9626
``.put_file``. This removes the ambiguity in what type of object the
9627
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
9628
been added. Which works similarly to ``Transport.append()`` except for
9629
SFTP, it doesn't have a round trip when opening the file. Also, it
9630
provides functionality for creating a parent directory when trying
9631
to create a file, rather than raise NoSuchFile and forcing the
9632
caller to repeat their request.
9633
(John Arbash Meinel)
9635
* WorkingTree has a new api ``unversion`` which allow the unversioning of
9636
entries by their file id. (Robert Collins)
9638
* ``WorkingTree.pending_merges`` is deprecated. Please use the
9639
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
9641
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
9642
read rather than write. This is appropriate for actions which only need
9643
the branch data for reference rather than mutation. A new decorator
9644
``needs_tree_write_lock`` is provided in the workingtree module. Like the
9645
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
9646
declaration of the locking requirements of a function to ensure that
9647
a lock is taken out for casual scripts. (Robert Collins, #54107)
9649
* All WorkingTree methods which write to the tree, but not to the branch
9650
have been converted to use ``needs_tree_write_lock`` rather than
9651
``needs_write_lock``. Also converted is the revert, conflicts and tree
9652
transform modules. This provides a modest performance improvement on
9653
metadir style trees, due to the reduce lock-acquisition, and a more
9654
significant performance improvement on lightweight checkouts from
9655
remote branches, where trivial operations used to pay a significant
9656
penalty. It also provides the basis for allowing readonly checkouts.
9659
* Special case importing the standard library 'copy' module. This shaves
9660
off 40ms of startup time, while retaining compatibility. See:
9661
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
9663
* WorkingTree has a new parent class MutableTree which represents the
9664
specialisations of Tree which are able to be altered. (Robert Collins)
9666
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
9667
mutate the tree and its contents. (Robert Collins)
9669
* Transport behaviour at the root of the URL is now defined and tested.
9670
(Andrew Bennetts, Robert Collins)
9675
* New test helper classs MemoryTree. This is typically accessed via
9676
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
9678
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
9679
code to continue running concurrently with a subprocess of bzr.
9680
(Andrew Bennetts, Robert Collins)
9682
* Add a new method ``Transport.get_smart_client()``. This is provided to
9683
allow upgrades to a richer interface than the VFS one provided by
9684
Transport. (Andrew Bennetts, Martin Pool)
9689
:Released: 2006-08-29
9693
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
9694
tree. (Aaron Bentley)
9696
* 'bzr add --file-ids-from' can be used to specify another path to use
9697
for creating file ids, rather than generating all new ones. Internally,
9698
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
9699
will be used, rather than having bzrlib generate new ones.
9700
(John Arbash Meinel, #55781)
9702
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
9703
This will cache some of the intermediate trees, and decrease the
9704
setup time for benchmark tests. (John Arbash Meinel)
9706
* Inverse forms are provided for all boolean options. For example,
9707
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
9709
* Serialize out Inventories directly, rather than using ElementTree.
9710
Writing out a kernel sized inventory drops from 2s down to ~350ms.
9711
(Robert Collins, John Arbash Meinel)
9716
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
9718
* Change LockDir so that if the lock directory doesn't exist when
9719
``lock_write()`` is called, an attempt will be made to create it.
9720
(John Arbash Meinel, #56974)
9722
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
9724
* Active FTP transport now works as intended. (ghozzy, #56472)
9726
* Really fix mutter() so that it won't ever raise a UnicodeError.
9727
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
9728
But it is a debugging log, not a real user file.
9729
(John Arbash Meinel, #56947, #53880)
9731
* Change Command handle to allow Unicode command and options.
9732
At present we cannot register Unicode command names, so we will get
9733
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
9734
But that is better than a UnicodeError + a traceback.
9735
(John Arbash Meinel, #57123)
9737
* Handle TZ=UTC properly when reading/writing revisions.
9738
(John Arbash Meinel, #55783, #56290)
9740
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
9741
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
9743
* External diff does the right thing for binaries even in foreign
9744
languages. (John Arbash Meinel, #56307)
9746
* Testament handles more cases when content is unicode. Specific bug was
9747
in handling of revision properties.
9748
(John Arbash Meinel, Holger Krekel, #54723)
9750
* The bzr selftest was failing on installed versions due to a bug in a new
9751
test helper. (John Arbash Meinel, Robert Collins, #58057)
9756
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
9757
which can be used to cache the conversion between utf8 and Unicode.
9758
Especially helpful for some of the knit annotation code, which has to
9759
convert revision ids to utf8 to annotate lines in storage.
9760
(John Arbash Meinel)
9762
* ``setup.py`` now searches the filesystem to find all packages which
9763
need to be installed. This should help make the life of packagers
9764
easier. (John Arbash Meinel)
9769
:Released: 2006-08-11
9774
* The hard-coded built-in ignore rules have been removed. There are
9775
now two rulesets which are enforced. A user global one in
9776
``~/.bazaar/ignore`` which will apply to every tree, and the tree
9777
specific one '.bzrignore'.
9778
``~/.bazaar/ignore`` will be created if it does not exist, but with
9779
a more conservative list than the old default.
9780
This fixes bugs with default rules being enforced no matter what.
9781
The old list of ignore rules from bzr is available by
9782
running 'bzr ignore --old-default-rules'.
9783
(Robert Collins, Martin Pool, John Arbash Meinel)
9785
* 'branches.conf' has been changed to 'locations.conf', since it can apply
9786
to more locations than just branch locations.
9792
* The revision specifier "revno:" is extended to accept the syntax
9793
revno:N:branch. For example,
9794
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
9795
bzr.dev. (Matthieu Moy)
9797
* Tests updates to ensure proper URL handling, UNICODE support, and
9798
proper printing when the user's terminal encoding cannot display
9799
the path of a file that has been versioned.
9800
``bzr branch`` can take a target URL rather than only a local directory.
9801
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
9802
and normalize the parent based on root, allowing access across
9803
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
9804
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
9807
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
9808
Use terminal width for single-line logs from ``bzr log --line`` and
9809
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
9812
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
9813
(Alexander Belchenko)
9815
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
9817
* Show the correct number of revisions pushed when pushing a new branch.
9820
* 'bzr selftest' now shows a progress bar with the number of tests, and
9821
progress made. 'make check' shows tests in -v mode, to be more useful
9822
for the PQM status window. (Robert Collins).
9823
When using a progress bar, failed tests are printed out, rather than
9824
being overwritten by the progress bar until the suite finishes.
9825
(John Arbash Meinel)
9827
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
9828
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
9829
profile data for the individual profiled calls, allowing for fine
9830
grained analysis of performance.
9831
(Robert Collins, Martin Pool).
9833
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
9834
where commit can take an appreciable time. (Robert Collins)
9836
* 'bzr add' is now less verbose in telling you what ignore globs were
9837
matched by files being ignored. Instead it just tells you how many
9838
were ignored (because you might reasonably be expecting none to be
9839
ignored). 'bzr add -v' is unchanged and will report every ignored
9840
file. (Robert Collins).
9842
* ftp now has a test server if medusa is installed. As part of testing,
9843
ftp support has been improved, including support for supplying a
9844
non-standard port. (John Arbash Meinel).
9846
* 'bzr log --line' shows the revision number, and uses only the
9847
first line of the log message (#5162, Alexander Belchenko;
9850
* 'bzr status' has had the --all option removed. The 'bzr ls' command
9851
should be used to retrieve all versioned files. (Robert Collins)
9853
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
9854
over email, and applied on the other end, while maintaining ancestry.
9855
This bundle can be applied with either 'bzr merge' or 'bzr pull',
9856
the same way you would apply another branch.
9857
(John Arbash Meinel, Aaron Bentley)
9859
* 'bzr whoami' can now be used to set your identity from the command line,
9860
for a branch or globally. (Robey Pointer)
9862
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
9865
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
9868
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
9869
Also updates things like 'http+pycurl://' if pycurl is not present.
9870
(John Arbash Meinel) (Malone #47821, #52204)
9872
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
9873
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
9874
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
9876
* Improve the help text for 'bzr diff' to explain what various options do.
9877
(John Arbash Meinel, #6391)
9879
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
9880
revision 10. This makes -r10 more in line with what other commands do.
9881
'bzr uncommit' also now saves the pending merges of the revisions that
9882
were removed. So it is safe to uncommit after a merge, fix something,
9883
and commit again. (John Arbash Meinel, #32526, #31426)
9885
* 'bzr init' now also works on remote locations.
9886
(Wouter van Heyst, #48904)
9888
* HTTP support has been updated. When using pycurl we now support
9889
connection keep-alive, which reduces dns requests and round trips.
9890
And for both urllib and pycurl we support multi-range requests,
9891
which decreases the number of round-trips. Performance results for
9892
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
9893
http branching is now 2-3x faster, and ``bzr pull`` in an existing
9894
branch is as much as 4x faster.
9895
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
9897
* Performance improvements for sftp. Branching and pulling are now up to
9898
2x faster. Utilize paramiko.readv() support for async requests if it
9899
is available (paramiko > 1.6) (John Arbash Meinel)
9904
* Fix shadowed definition of TestLocationConfig that caused some
9906
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
9908
* Fix unnecessary requirement of sign-my-commits that it be run from
9909
a working directory. (Martin Pool, Robert Collins)
9911
* 'bzr push location' will only remember the push location if it succeeds
9912
in connecting to the remote location. (John Arbash Meinel, #49742)
9914
* 'bzr revert' no longer toggles the executable bit on win32
9915
(John Arbash Meinel, #45010)
9917
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
9919
* sftp tests now work correctly on win32 if you have a newer paramiko
9920
(John Arbash Meinel)
9922
* Cleanup win32 test suite, and general cleanup of places where
9923
file handles were being held open. (John Arbash Meinel)
9925
* When specifying filenames for 'diff -r x..y', the name of the file in the
9926
working directory can be used, even if its name is different in both x
9929
* File-ids containing single- or double-quotes are handled correctly by
9930
push. (Aaron Bentley, #52227)
9932
* Normalize unicode filenames to ensure cross-platform consistency.
9933
(John Arbash Meinel, #43689)
9935
* The argument parser can now handle '-' as an argument. Currently
9936
no code interprets it specially (it is mostly handled as a file named
9937
'-'). But plugins, and future operations can use it.
9938
(John Arbash meinel, #50984)
9940
* Bundles can properly read binary files with a plain '\r' in them.
9941
(John Arbash Meinel, #51927)
9943
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
9945
* Lots of win32 fixes (the test suite passes again).
9946
(John Arbash Meinel, #50155)
9948
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
9950
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
9952
* Removals are only committed if they match the filespec (or if there is
9953
no filespec). (#46635, Aaron Bentley)
9955
* smart-add recurses through all supplied directories
9956
(John Arbash Meinel, #52578)
9958
* Make the bundle reader extra lines before and after the bundle text.
9959
This allows you to parse an email with the bundle inline.
9960
(John Arbash Meinel, #49182)
9962
* Change the file id generator to squash a little bit more. Helps when
9963
working with long filenames on windows. (Also helps for unicode filenames
9964
not generating hidden files). (John Arbash Meinel, #43801)
9966
* Restore terminal mode on C-c while reading sftp password. (#48923,
9967
Nicholas Allen, Martin Pool)
9969
* Timestamps are rounded to 1ms, and revision entries can be recreated
9970
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
9972
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
9973
use local paths, since it is user visible (John Arbash Meinel, #53653)
9975
* ``bzr status foo`` when foo was unversioned used to cause a full delta
9976
to be generated (John Arbash Meinel, #53638)
9978
* When reading revision properties, an empty value should be considered
9979
the empty string, not None (John Arbash Meinel, #47782)
9981
* ``bzr diff --diff-options`` can now handle binary files being changed.
9982
Also, the output is consistent when --diff-options is not supplied.
9983
(John Arbash Meinel, #54651, #52930)
9985
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
9987
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
9988
accessible (John Arbash Meinel, #52976)
9993
* Combine the ignore rules into a single regex rather than looping over
9994
them to reduce the threshold where N^2 behaviour occurs in operations
9995
like status. (Jan Hudec, Robert Collins).
9997
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
9998
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
10000
* 'bzr push' should only push the ancestry of the current revision, not
10001
all of the history in the repository. This is especially important for
10002
shared repositories. (John Arbash Meinel)
10004
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
10005
rather than randomly walking the inventories. (John Arbash Meinel)
10007
* Doctests are now run in temporary directories which are cleaned up when
10008
they finish, rather than using special ScratchDir/ScratchBranch objects.
10011
* Split ``check`` into separate methods on the branch and on the repository,
10012
so that it can be specialized in ways that are useful or efficient for
10013
different formats. (Martin Pool, Robert Collins)
10015
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
10016
the global revision graph but only that part leading up to a particular
10017
revision. (Martin Pool, Robert Collins)
10019
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
10020
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
10021
(Robert Collins, Jelmer Vernooij).
10023
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
10024
Uses subprocess instead of spawnvp.
10025
(James Henstridge, John Arbash Meinel, #4047, #48914)
10027
* New command line option '--profile-imports', which will install a custom
10028
importer to log time to import modules and regex compilation time to
10029
sys.stderr (John Arbash Meinel)
10031
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
10032
instead. (Robert Collins)
10034
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
10039
:Released: 2006-05-17
10044
* setup.py failed to install launchpad plugin. (Martin Pool)
10049
:Released: 2006-05-16
10054
* Fix failure to commit a merge in a checkout. (Martin Pool,
10055
Robert Collins, Erik Bågfors, #43959)
10057
* Nicer messages from 'commit' in the case of renames, and correct
10058
messages when a merge has occured. (Robert Collins, Martin Pool)
10060
* Separate functionality from assert statements as they are skipped in
10061
optimized mode of python. Add the same check to pending merges.
10062
(Olaf Conradi, #44443)
10067
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
10069
* Add info on standalone branches without a working tree.
10070
(Olaf Conradi, #44155)
10072
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
10077
* Make editor invocation comply with Debian Policy. First check
10078
environment variables VISUAL and EDITOR, then try editor from
10079
alternatives system. If that all fails, fall back to the pre-defined
10080
list of editors. (Olaf Conradi, #42904)
10085
* New 'register-branch' command registers a public branch into
10086
Launchpad.net, where it can be associated with bugs, etc.
10087
(Martin Pool, Bjorn Tillenius, Robert Collins)
10092
* New public api in InventoryEntry - ``describe_change(old, new)`` which
10093
provides a human description of the changes between two old and
10094
new. (Robert Collins, Martin Pool)
10099
* Fix test case for bzr info in upgrading a standalone branch to metadir,
10100
uses bzrlib api now. (Olaf Conradi)
10105
:Released: 2006-05-08
10107
Notes When Upgrading
10108
********************
10110
Release 0.8 of bzr introduces a new format for history storage, called
10111
'knit', as an evolution of to the 'weave' format used in 0.7. Local
10112
and remote operations are faster using knits than weaves. Several
10113
operations including 'init', 'init-repo', and 'upgrade' take a
10114
--format option that controls this. Branching from an existing branch
10115
will keep the same format.
10117
It is possible to merge, pull and push between branches of different
10118
formats but this is slower than moving data between homogenous
10119
branches. It is therefore recommended (but not required) that you
10120
upgrade all branches for a project at the same time. Information on
10121
formats is shown by 'bzr info'.
10123
bzr 0.8 now allows creation of 'repositories', which hold the history
10124
of files and revisions for several branches. Previously bzr kept all
10125
the history for a branch within the .bzr directory at the root of the
10126
branch, and this is still the default. To create a repository, use
10127
the new 'bzr init-repo' command. Branches exist as directories under
10128
the repository and contain just a small amount of information
10129
indicating the current revision of the branch.
10131
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
10132
subversion. Checkouts are associated with a branch (optionally in a
10133
repository), which contains all the historical information. The
10134
result is that a checkout can be deleted without losing any
10135
already-committed revisions. A new 'update' command is also available.
10137
Repositories and checkouts are not supported with the 0.7 storage
10138
format. To use them you must upgrad to either knits, or to the
10139
'metaweave' format, which uses weaves but changes the .bzr directory
10146
* sftp paths can now be relative, or local, according to the lftp
10147
convention. Paths now take the form::
10149
sftp://user:pass@host:port/~/relative/path
10151
sftp://user:pass@host:port/absolute/path
10153
* The FTP transport now tries to reconnect after a temporary
10154
failure. ftp put is made atomic. (Matthieu Moy)
10156
* The FTP transport now maintains a pool of connections, and
10157
reuses them to avoid multiple connections to the same host (like
10158
sftp did). (Daniel Silverstone)
10160
* The ``bzr_man.py`` file has been removed. To create the man page now,
10161
use ``./generate_docs.py man``. The new program can also create other files.
10162
Run ``python generate_docs.py --help`` for usage information.
10163
(Hans Ulrich Niedermann & James Blackwell).
10165
* Man Page now gives full help (James Blackwell).
10166
Help also updated to reflect user config now being stored in .bazaar
10167
(Hans Ulrich Niedermann)
10169
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
10171
* Pull now accepts a --revision argument (Erik Bågfors)
10173
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
10174
line. You can now use the following command to sign all of your old
10177
find .bzr/revision-store// -name my@email-* \
10178
| sed 's/.*\/\/..\///' \
10179
| xargs bzr re-sign
10181
* Upgrade can now upgrade over the network. (Robert Collins)
10183
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
10184
behaviour. By default they will cache history in the checkout, but
10185
with --lightweight almost all data is kept in the master branch.
10188
* 'revert' unversions newly-versioned files, instead of deleting them.
10190
* 'merge' is more robust. Conflict messages have changed.
10192
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
10195
* Default log format can be set in configuration and plugins can register
10196
their own formatters. (Erik Bågfors)
10198
* New 'reconcile' command will check branch consistency and repair indexes
10199
that can become out of sync in pre 0.8 formats. (Robert Collins,
10200
Daniel Silverstone)
10202
* New 'bzr init --format' and 'bzr upgrade --format' option to control
10203
what storage format is created or produced. (Robert Collins,
10206
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
10208
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
10210
* New 'init-repository' command, plus support for repositories in 'init'
10211
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
10213
* Improve output of 'info' command. Show all relevant locations related to
10214
working tree, branch and repository. Use kibibytes for binary quantities.
10215
Fix off-by-one error in missing revisions of working tree. Make 'info'
10216
work on branches, repositories and remote locations. Show locations
10217
relative to the shared repository, if applicable. Show locking status
10218
of locations. (Olaf Conradi)
10220
* Diff and merge now safely handle binary files. (Aaron Bentley)
10222
* 'pull' and 'push' now normalise the revision history, so that any two
10223
branches with the same tip revision will have the same output from 'log'.
10226
* 'merge' accepts --remember option to store parent location, like 'push'
10227
and 'pull'. (Olaf Conradi)
10229
* bzr status and diff when files given as arguments do not exist
10230
in the relevant trees. (Martin Pool, #3619)
10232
* Add '.hg' to the default ignore list. (Martin Pool)
10234
* 'knit' is now the default disk format. This improves disk performance and
10235
utilization, increases incremental pull performance, robustness with SFTP
10236
and allows checkouts over SFTP to perform acceptably.
10237
The initial Knit code was contributed by Johan Rydberg based on a
10238
specification by Martin Pool.
10239
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
10241
* New tool to generate all-in-one html version of the manual. (Alexander
10244
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
10245
to be left in the SFTP repository. (Robert Collins, Martin Pool).
10247
* New option 'diff --prefix' to control how files are named in diff
10248
output, with shortcuts '-p0' and '-p1' corresponding to the options for
10249
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
10251
* Add --revision option to 'annotate' command. (Olaf Conradi)
10253
* If bzr shows an unexpected revision-history after pulling (perhaps due
10254
to a reweave) it can now be corrected by 'bzr reconcile'.
10260
* Commit is now verbose by default, and shows changed filenames and the
10261
new revision number. (Robert Collins, Martin Pool)
10263
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
10265
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
10267
* Make 'pull' and 'push' remember location on failure using --remember.
10270
* For compatibility, make old format for using weaves inside metadir
10271
available as 'metaweave' format. Rename format 'metadir' to 'default'.
10272
Clean up help for option --format in commands 'init', 'init-repo' and
10273
'upgrade'. (Olaf Conradi)
10278
* The internal storage of history, and logical branch identity have now
10279
been split into Branch, and Repository. The common locking and file
10280
management routines are now in bzrlib.lockablefiles.
10281
(Aaron Bentley, Robert Collins, Martin Pool)
10283
* Transports can now raise DependencyNotPresent if they need a library
10284
which is not installed, and then another implementation will be
10285
tried. (Martin Pool)
10287
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
10290
* Using Tree Transform for merge, revert, tree-building
10292
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
10293
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
10294
replacement API's. (Robert Collins)
10296
* New BzrDir class represents the .bzr control directory and manages
10297
formatting issues. (Robert Collins)
10299
* New repository.InterRepository class encapsulates Repository to
10300
Repository actions and allows for clean selection of optimised code
10301
paths. (Robert Collins)
10303
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
10304
deprecated, please use ``branch.fetch`` or ``repository.fetch``
10305
depending on your needs. (Robert Collins)
10307
* deprecated methods now have a ``is_deprecated`` flag on them that can
10308
be checked, if you need to determine whether a given callable is
10309
deprecated at runtime. (Robert Collins)
10311
* Progress bars are now nested - see
10312
``bzrlib.ui.ui_factory.nested_progress_bar``.
10313
(Robert Collins, Robey Pointer)
10315
* New API call ``get_format_description()`` for each type of format.
10318
* Changed ``branch.set_parent()`` to accept None to remove parent.
10321
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
10323
* WorkingTree.branch is now a read only property. (Robert Collins)
10325
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
10326
can be None or a factory that will create a progress bar. This is
10327
useful for testing or for overriding the bzrlib.progress heuristic.
10330
* New API method ``get_physical_lock_status()`` to query locks present on a
10331
transport. (Olaf Conradi)
10333
* Repository.reconcile now takes a thorough keyword parameter to allow
10334
requesting an indepth reconciliation, rather than just a data-loss
10335
check. (Robert Collins)
10337
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
10338
the user for yes/no style input. (Robert Collins)
10343
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
10344
for testing SFTP protocol support. (Robey Pointer)
10346
* Branch formats are now tested once per implementation (see ``bzrlib.
10347
tests.branch_implementations``. This is analagous to the transport
10348
interface tests, and has been followed up with working tree,
10349
repository and BzrDir tests. (Robert Collins)
10351
* New test base class TestCaseWithTransport provides a transport aware
10352
test environment, useful for testing any transport-interface using
10353
code. The test suite option --transport controls the transport used
10354
by this class (when its not being used as part of implementation
10355
contract testing). (Robert Collins)
10357
* Close logging handler on disabling the test log. This will remove the
10358
handler from the internal list inside python's logging module,
10359
preventing shutdown from closing it twice. (Olaf Conradi)
10361
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
10363
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
10364
parameter which will provide String("foo") to the command as its stdin.
10369
:Released: 2006-01-09
10374
* .bzrignore is excluded from exports, on the grounds that it's a bzr
10375
internal-use file and may not be wanted. (Jamie Wilkinson)
10377
* The "bzr directories" command were removed in favor of the new
10378
--kind option to the "bzr inventory" command. To list all
10379
versioned directories, now use "bzr inventory --kind directory".
10382
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
10383
by default. (John Arbash Meinel)
10385
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
10386
environment variable. Now the path for it is searched in ``BZR_HOME``,
10387
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
10388
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
10389
``HOME``. (John Arbash Meinel)
10391
* Plugins with the same name in different directories in the bzr plugin
10392
path are no longer loaded: only the first successfully loaded one is
10393
used. (Robert Collins)
10395
* Use systems' external ssh command to open connections if possible.
10396
This gives better integration with user settings such as ProxyCommand.
10399
* Permissions on files underneath .bzr/ are inherited from the .bzr
10400
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
10401
will mean that future file will be created with group write permissions.
10403
* configure.in and config.guess are no longer in the builtin default
10406
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
10407
files. (John Arbash Meinel, Martin Pool)
10412
* "bzr INIT dir" now initializes the specified directory, and creates
10413
it if it does not exist. (John Arbash Meinel)
10415
* New remerge command (Aaron Bentley)
10417
* Better zsh completion script. (Steve Borho)
10419
* 'bzr diff' now returns 1 when there are changes in the working
10420
tree. (Robert Collins)
10422
* 'bzr push' now exists and can push changes to a remote location.
10423
This uses the transport infrastructure, and can store the remote
10424
location in the ~/.bazaar/branches.conf configuration file.
10427
* Test directories are only kept if the test fails and the user requests
10430
* Tweaks to short log printing
10432
* Added branch nicks, new nick command, printing them in log output.
10435
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
10436
occurs. (Martin Pool)
10438
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
10439
the same as Subversion. (Martin Pool)
10441
* New ftp transport support (on ftplib), for ftp:// and aftp://
10442
URLs. (Daniel Silverstone)
10444
* Commit editor temporary files now start with ``bzr_log.``, to allow
10445
text editors to match the file name and set up appropriate modes or
10446
settings. (Magnus Therning)
10448
* Improved performance when integrating changes from a remote weave.
10449
(Goffredo Baroncelli)
10451
* Sftp will attempt to cache the connection, so it is more likely that
10452
a connection will be reused, rather than requiring multiple password
10455
* bzr revno now takes an optional argument indicating the branch whose
10456
revno should be printed. (Michael Ellerman)
10458
* bzr cat defaults to printing the last version of the file.
10459
(Matthieu Moy, #3632)
10461
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
10462
profiler. (Denys Duchier)
10464
* Faster commits by reading only the headers of affected weave files.
10467
* 'bzr add' now takes a --dry-run parameter which shows you what would be
10468
added, but doesn't actually add anything. (Michael Ellerman)
10470
* 'bzr add' now lists how many files were ignored per glob. add --verbose
10471
lists the specific files. (Aaron Bentley)
10473
* 'bzr missing' now supports displaying changes in diverged trees and can
10474
be limited to show what either end of the comparison is missing.
10475
(Aaron Bently, with a little prompting from Daniel Silverstone)
10480
* SFTP can walk up to the root path without index errors. (Robert Collins)
10482
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
10484
* Error when run with -OO
10486
* Fix bug in reporting http errors that don't have an http error code.
10489
* Handle more cases of pipe errors in display commands
10491
* Change status to 3 for all errors
10493
* Files that are added and unlinked before committing are completely
10494
ignored by diff and status
10496
* Stores with some compressed texts and some uncompressed texts are now
10497
able to be used. (John A Meinel)
10499
* Fix for bzr pull failing sometimes under windows
10501
* Fix for sftp transport under windows when using interactive auth
10503
* Show files which are both renamed and modified as such in 'bzr
10504
status' output. (Daniel Silverstone, #4503)
10506
* Make annotate cope better with revisions committed without a valid
10507
email address. (Marien Zwart)
10509
* Fix representation of tab characters in commit messages.
10512
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
10513
now parsed properly under Windows. (Alexander Belchenko)
10515
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
10517
* Keep a cached copy of the basis inventory to speed up operations
10518
that need to refer to it. (Johan Rydberg, Martin Pool)
10520
* Fix bugs in bzr status display of non-ascii characters.
10523
* Remove Makefile.in from default ignore list.
10524
(Tollef Fog Heen, Martin Pool, #6413)
10526
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
10531
* Fix selftest asking for passwords when there are no SFTP keys.
10532
(Robey Pointer, Jelmer Vernooij)
10534
* Fix selftest run with 'python -O'. (Martin Pool)
10536
* Fix HTTP tests under Windows. (John Arbash Meinel)
10538
* Make tests work even if HOME is not set (Aaron Bentley)
10540
* Updated ``build_tree`` to use fixed line-endings for tests which read
10541
the file cotents and compare. Make some tests use this to pass under
10542
Windows. (John Arbash Meinel)
10544
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
10546
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
10547
(John Arbash Meinel)
10549
* Use terminal width to align verbose test output. (Martin Pool)
10551
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
10552
If adding a new test script please add that to
10553
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
10555
* Much better error message if one of the test suites can't be
10556
imported. (Martin Pool)
10558
* Make check now runs the test suite twice - once with the default locale,
10559
and once with all locales forced to C, to expose bugs. This is not
10560
trivially done within python, so for now its only triggered by running
10561
Make check. Integrators and packagers who wish to check for full
10562
platform support should run 'make check' to test the source.
10565
* Tests can now run TestSkipped if they can't execute for any reason.
10566
(Martin Pool) (NB: TestSkipped should only be raised for correctable
10567
reasons - see the wiki spec ImprovingBzrTestSuite).
10569
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
10570
paths for the transport tests. Introduce blackbox remote sftp tests that
10571
test the same permutations. (Robert Collins, Robey Pointer)
10573
* Transport implementation tests are now independent of the local file
10574
system, which allows tests for esoteric transports, and for features
10575
not available in the local file system. They also repeat for variations
10576
on the URL scheme that can introduce issues in the transport code,
10577
see bzrlib.transport.TransportTestProviderAdapter() for this.
10580
* ``TestCase.build_tree`` uses the transport interface to build trees,
10581
pass in a transport parameter to give it an existing connection.
10587
* WorkingTree.pull has been split across Branch and WorkingTree,
10588
to allow Branch only pulls. (Robert Collins)
10590
* ``commands.display_command`` now returns the result of the decorated
10591
function. (Robert Collins)
10593
* LocationConfig now has a ``set_user_option(key, value)`` call to save
10594
a setting in its matching location section (a new one is created
10595
if needed). (Robert Collins)
10597
* Branch has two new methods, ``get_push_location`` and
10598
``set_push_location`` to respectively, get and set the push location.
10601
* ``commands.register_command`` now takes an optional flag to signal that
10602
the registrant is planning to decorate an existing command. When
10603
given multiple plugins registering a command is not an error, and
10604
the original command class (whether built in or a plugin based one) is
10605
returned to the caller. There is a new error 'MustUseDecorated' for
10606
signalling when a wrapping command should switch to the original
10607
version. (Robert Collins)
10609
* Some option parsing errors will raise 'BzrOptionError', allowing
10610
granular detection for decorating commands. (Robert Collins).
10612
* ``Branch.read_working_inventory`` has moved to
10613
``WorkingTree.read_working_inventory``. This necessitated changes to
10614
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
10615
WorkingTree as well. To make it clear that a WorkingTree cannot always
10616
be obtained ``Branch.working_tree()`` will raise
10617
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
10619
* All pending merges operations from Branch are now on WorkingTree.
10622
* The follow operations from Branch have moved to WorkingTree::
10632
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
10634
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
10636
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
10639
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
10640
query method. (Robert Collins)
10642
* New options to read only the table-of-contents of a weave.
10645
* Raise NoSuchFile when someone tries to add a non-existant file.
10648
* Simplify handling of DivergedBranches in ``cmd_pull()``.
10651
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
10652
is exposed as ``Branch().control_files``. Also this has been altered with the
10653
controlfile pre/suffix replaced by simple method names like 'get' and
10654
'put'. (Aaron Bentley, Robert Collins).
10656
* Deprecated functions and methods can now be marked as such using the
10657
``bzrlib.symbol_versioning`` module. Marked method have their docstring
10658
updated and will issue a DeprecationWarning using the warnings module
10659
when they are used. (Robert Collins)
10661
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
10662
for functions that need unicode strings. (Robert Collins)
10667
:Released: 2005-10-28
10672
* pull now takes --verbose to show you what revisions are added or removed
10675
* merge now takes a --show-base option to include the base text in
10679
* The config files are now read using ConfigObj, so '=' should be used as
10680
a separator, not ':'.
10683
* New 'bzr commit --strict' option refuses to commit if there are
10684
any unknown files in the tree. To commit, make sure all files are
10685
either ignored, added, or deleted. (Michael Ellerman)
10687
* The config directory is now ~/.bazaar, and there is a single file
10688
~/.bazaar/bazaar.conf storing email, editor and other preferences.
10691
* 'bzr add' no longer takes a --verbose option, and a --quiet option
10692
has been added that suppresses all output.
10694
* Improved zsh completion support in contrib/zsh, from Clint
10697
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
10698
Goffredo Baroncelli.
10700
* 'bzr check' now accepts -v for verbose reporting, and checks for
10701
ghosts in the branch. (Robert Collins)
10703
* New command 're-sign' which will regenerate the gpg signature for
10704
a revision. (Robert Collins)
10706
* If you set ``check_signatures=require`` for a path in
10707
``~/.bazaar/branches.conf`` then bzr will invoke your
10708
``gpg_signing_command`` (defaults to gpg) and record a digital signature
10709
of your commit. (Robert Collins)
10711
* New sftp transport, based on Paramiko. (Robey Pointer)
10713
* 'bzr pull' now accepts '--clobber' which will discard local changes
10714
and make this branch identical to the source branch. (Robert Collins)
10716
* Just give a quieter warning if a plugin can't be loaded, and
10717
put the details in .bzr.log. (Martin Pool)
10719
* 'bzr branch' will now set the branch-name to the last component of the
10720
output directory, if one was supplied.
10722
* If the option ``post_commit`` is set to one (or more) python function
10723
names (must be in the bzrlib namespace), then they will be invoked
10724
after the commit has completed, with the branch and ``revision_id`` as
10725
parameters. (Robert Collins)
10727
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
10729
* --merge-type weave is now supported for file contents. Tree-shape
10730
changes are still three-way based. (Martin Pool, Aaron Bentley)
10732
* 'bzr check' allows the first revision on revision-history to have
10733
parents - something that is expected for cheap checkouts, and occurs
10734
when conversions from baz do not have all history. (Robert Collins).
10736
* 'bzr merge' can now graft unrelated trees together, if your specify
10737
0 as a base. (Aaron Bentley)
10739
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
10742
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
10744
* 'bzr merge --reprocess' minimizes conflicts
10749
* The 'bzr selftest --pattern' option for has been removed, now
10750
test specifiers on the command line can be simple strings, or
10751
regexps, or both. (Robert Collins)
10753
* Passing -v to selftest will now show the time each test took to
10754
complete, which will aid in analysing performance regressions and
10755
related questions. (Robert Collins)
10757
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
10758
is given. (Martin Pool)
10760
* There is a new method for TestCaseInTempDir, assertFileEqual, which
10761
will check that a given content is equal to the content of the named
10762
file. (Robert Collins)
10764
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
10770
* New 'testament' command and concept for making gpg-signatures
10771
of revisions that are not tied to a particular internal
10772
representation. (Martin Pool).
10774
* Per-revision properties ('revprops') as key-value associated
10775
strings on each revision created when the revision is committed.
10776
Intended mainly for the use of external tools. (Martin Pool).
10778
* Config options have moved from bzrlib.osutils to bzrlib.config.
10781
* Improved command line option definitions allowing explanations
10782
for individual options, among other things. Contributed by
10785
* Config options have moved from bzrlib.osutils to bzrlib.config.
10786
Configuration is now done via the config.Config interface:
10787
Depending on whether you have a Branch, a Location or no information
10788
available, construct a ``*Config``, and use its ``signature_checking``,
10789
``username`` and ``user_email`` methods. (Robert Collins)
10791
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
10792
they are made available for other plugins to use. You should not
10793
import other plugins during the ``__init__`` of your plugin though, as
10794
no ordering is guaranteed, and the plugins directory is not on the
10795
python path. (Robert Collins)
10797
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
10798
no longer takes an inventory, rather it takes an option branch
10799
parameter, and if None is given will open the branch at basedir
10800
implicitly. (Robert Collins)
10802
* Cleaner exception structure and error reporting. Suggested by
10803
Scott James Remnant. (Martin Pool)
10805
* Branch.remove has been moved to WorkingTree, which has also gained
10806
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
10809
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
10810
added to the branch module. Use these to cause a function to run in a
10811
read or write lock respectively. (Robert Collins)
10813
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
10814
which allows direct access to the common case of 'get me this file
10815
from its branch'. (Robert Collins)
10817
* Transports can register using ``register_lazy_transport``, and they
10818
will be loaded when first used. (Martin Pool)
10820
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
10821
A new option to WorkingTree.pull has been added, clobber, which will
10822
ignore diverged history and pull anyway.
10825
* config.Config has a ``get_user_option`` call that accepts an option name.
10826
This will be looked up in branches.conf and bazaar.conf as normal.
10827
It is intended that this be used by plugins to support options -
10828
options of built in programs should have specific methods on the config.
10831
* ``merge.merge_inner`` now has tempdir as an optional parameter.
10834
* Tree.kind is not recorded at the top level of the hierarchy, as it was
10835
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
10838
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
10839
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
10840
about future directions. (Robert Collins/Martin Pool)
10842
* bzrlib.transport.http has been modified so that only 404 urllib errors
10843
are returned as NoSuchFile. Other exceptions will propagate as normal.
10844
This allows debuging of actual errors. (Robert Collins)
10846
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
10847
to apis like 'put', 'get' and 'has'. This is to provide consistent
10848
behaviour - it operates on url's only. (Robert Collins)
10850
* Transports can register using ``register_lazy_transport``, and they
10851
will be loaded when first used. (Martin Pool)
10853
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
10854
is called by ``merge_inner``. This is so that the conflict count can be
10855
retrieved (and potentially manipulated) before returning to the caller
10856
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
10857
caller. (Robert Collins)
10859
* ``revision.revision_graph`` can handle having only partial history for
10860
a revision - that is no revisions in the graph with no parents.
10863
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
10864
produce a branch and a list of paths, relative to that branch
10867
* New TestCase.addCleanup facility.
10869
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
10870
which can be used by programs importing bzrlib.
10875
* Better handling of branches in directories with non-ascii names.
10876
(Joel Rosdahl, Panagiotis Papadakos)
10878
* Upgrades of trees with no commits will not fail due to accessing
10879
[-1] in the revision-history. (Andres Salomon)
10885
:Released: 2005-10-12
10890
* Fix problem in pulling over http from machines that do not
10891
allow directories to be listed.
10893
* Avoid harmless warning about invalid hash cache after
10894
upgrading branch format.
10899
* Avoid some unnecessary http operations in branch and pull.
10905
:Released: 2005-10-11
10910
* 'bzr branch' over http initially gives a very high estimate
10911
of completion time but it should fall as the first few
10912
revisions are pulled in. branch is still slow on
10913
high-latency connections.
10918
* bzr-man.py has been updated to work again. Contributed by
10921
* Locking is now done with fcntl.lockf which works with NFS
10922
file systems. Contributed by Harald Meland.
10924
* When a merge encounters a file that has been deleted on
10925
one side and modified on the other, the old contents are
10926
written out to foo.BASE and foo.SIDE, where SIDE is this
10927
or OTHER. Contributed by Aaron Bentley.
10929
* Export was choosing incorrect file paths for the content of
10930
the tarball, this has been fixed by Aaron Bentley.
10932
* Commit will no longer commit without a log message, an
10933
error is returned instead. Contributed by Jelmer Vernooij.
10935
* If you commit a specific file in a sub directory, any of its
10936
parent directories that are added but not listed will be
10937
automatically included. Suggested by Michael Ellerman.
10939
* bzr commit and upgrade did not correctly record new revisions
10940
for files with only a change to their executable status.
10941
bzr will correct this when it encounters it. Fixed by
10944
* HTTP tests now force off the use of ``http_proxy`` for the duration.
10945
Contributed by Gustavo Niemeyer.
10947
* Fix problems in merging weave-based branches that have
10948
different partial views of history.
10950
* Symlink support: working with symlinks when not in the root of a
10951
bzr tree was broken, patch from Scott James Remnant.
10956
* 'branch' now accepts a --basis parameter which will take advantage
10957
of local history when making a new branch. This allows faster
10958
branching of remote branches. Contributed by Aaron Bentley.
10960
* New tree format based on weave files, called version 5.
10961
Existing branches can be upgraded to this format using
10964
* Symlinks are now versionable. Initial patch by
10965
Erik Toubro Nielsen, updated to head by Robert Collins.
10967
* Executable bits are tracked on files. Patch from Gustavo
10970
* 'bzr status' now shows unknown files inside a selected directory.
10971
Patch from Heikki Paajanen.
10973
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
10974
and 'resolve' have needed added, which list and remove those
10975
merge conflicts respectively. A conflicted tree cannot be committed
10976
in. Contributed by Aaron Bentley.
10978
* 'rm' is now an alias for 'remove'.
10980
* Stores now split out their content in a single byte prefixed hash,
10981
dropping the density of files per directory by 256. Contributed by
10984
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
10985
Contributed by Robert Collins.
10987
* 'bzr log' with the default formatter will show merged revisions,
10988
indented to the right. Initial implementation contributed by Gustavo
10989
Niemeyer, made incremental by Robert Collins.
10995
* Test case failures have the exception printed after the log
10996
for your viewing pleasure.
10998
* InventoryEntry is now an abstract base class, use one of the
10999
concrete InventoryDirectory etc classes instead.
11001
* Branch raises an UnsupportedFormatError when it detects a
11002
bzr branch it cannot understand. This allows for precise
11003
handling of such circumstances.
11005
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
11006
list of their ids and ``parent_sha1s`` is a list of their corresponding
11007
sha1s (for old branches only at the moment.)
11009
* New method-object style interface for Commit() and Fetch().
11011
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
11012
we call them revisions not patches.
11014
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
11015
directory is created if it doesn't exist.
11017
* Inventories now identify the files which were present by
11018
giving the revision *of that file*.
11020
* Inventory and Revision XML contains a version identifier.
11021
This must be consistent with the overall branch version
11022
but allows for more flexibility in future upgrades.
11027
* Removed testsweet module so that tests can be run after
11028
bzr installed by 'bzr selftest'.
11030
* 'bzr selftest' command-line arguments can now be partial ids
11031
of tests to run, e.g. ``bzr selftest test_weave``
11037
:Released: 2005-09-23
11042
* Fixed "branch -r" option.
11044
* Fix remote access to branches containing non-compressed history.
11047
* Better reliability of http server tests. (John Arbash-Meinel)
11049
* Merge graph maximum distance calculation fix. (Aaron Bentley)
11051
* Various minor bug in windows support have been fixed, largely in the
11052
test suite. Contributed by Alexander Belchenko.
11057
* Status now accepts a -r argument to give status between chosen
11058
revisions. Contributed by Heikki Paajanen.
11060
* Revision arguments no longer use +/-/= to control ranges, instead
11061
there is a 'before' namespace, which limits the successive namespace.
11062
For example '$ bzr log -r date:yesterday..before:date:today' will
11063
select everything from yesterday and before today. Contributed by
11066
* There is now a bzr.bat file created by distutils when building on
11067
Windows. Contributed by Alexander Belchenko.
11072
* Removed uuid() as it was unused.
11074
* Improved 'fetch' code for pulling revisions from one branch into
11075
another (used by pull, merged, etc.)
11081
:Released: 2005-09-20
11087
* Adding a file whose parent directory is not versioned will
11088
implicitly add the parent, and so on up to the root. This means
11089
you should never need to explictly add a directory, they'll just
11090
get added when you add a file in the directory. Contributed by
11093
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
11096
* If you set ``BZR_EDITOR`` in the environment, it is checked in
11097
preference to EDITOR and the config file for the interactive commit
11098
editing program. Related to this is a bugfix where a missing program
11099
set in EDITOR would cause editing to fail, now the fallback program
11100
for the operating system is still tried.
11102
* Files that are not directories/symlinks/regular files will no longer
11103
cause bzr to fail, it will just ignore them by default. You cannot add
11104
them to the tree though - they are not versionable.
11110
* Refactor xml packing/unpacking.
11115
* Fixed 'bzr mv' by Ollie Rutherfurd.
11117
* Fixed strange error when trying to access a nonexistent http
11120
* Make sure that the hashcache gets written out if it can't be
11127
* Various Windows fixes from Ollie Rutherfurd.
11129
* Quieten warnings about locking; patch from Matt Lavin.
11135
:Released: 2005-09-02
11140
* ``bzr shell-complete`` command contributed by Clint Adams to
11141
help with intelligent shell completion.
11143
* New expert command ``bzr find-merge-base`` for debugging merges.
11149
* Much better merge support.
11151
* merge3 conflicts are now reported with markers like '<<<<<<<'
11152
(seven characters) which is the same as CVS and pleases things
11159
* ``bzr upgrade`` no longer fails when trying to fix trees that
11160
mention revisions that are not present.
11162
* Fixed bugs in listing plugins from ``bzr plugins``.
11164
* Fix case of $EDITOR containing options for the editor.
11166
* Fix log -r refusing to show the last revision.
11167
(Patch from Goffredo Baroncelli.)
11173
* ``bzr log --show-ids`` shows the revision ids of all parents.
11175
* Externally provided commands on your $BZRPATH no longer need
11176
to recognize --bzr-usage to work properly, and can just handle
11183
* Changed trace messages to go through the standard logging
11184
framework, so that they can more easily be redirected by
11192
:Released: 2005-08-18
11197
* Python plugins, automatically loaded from the directories on
11198
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
11200
* New 'bzr mkdir' command.
11202
* Commit mesage is fetched from an editor if not given on the
11203
command line; patch from Torsten Marek.
11205
* ``bzr log -m FOO`` displays commits whose message matches regexp
11208
* ``bzr add`` with no arguments adds everything under the current directory.
11210
* ``bzr mv`` does move or rename depending on its arguments, like
11213
* ``bzr missing`` command shows a summary of the differences
11214
between two trees. (Merged from John Arbash-Meinel.)
11216
* An email address for commits to a particular tree can be
11217
specified by putting it into .bzr/email within a branch. (Based
11218
on a patch from Heikki Paajanen.)
11224
* Faster working tree operations.
11230
* 3rd-party modules shipped with bzr are copied within the bzrlib
11231
python package, so that they can be installed by the setup
11232
script without clashing with anything already existing on the
11233
system. (Contributed by Gustavo Niemeyer.)
11235
* Moved plugins directory to bzrlib/, so that there's a standard
11236
plugin directory which is not only installed with bzr itself but
11237
is also available when using bzr from the development tree.
11238
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
11239
standard plugins directory.
11241
* When exporting to a tarball with ``bzr export --format tgz``, put
11242
everything under a top directory rather than dumping it into the
11243
current directory. This can be overridden with the ``--root``
11244
option. Patch from William Dodé and John Meinel.
11246
* New ``bzr upgrade`` command to upgrade the format of a branch,
11247
replacing ``bzr check --update``.
11249
* Files within store directories are no longer marked readonly on
11252
* Changed ``bzr log`` output to a more compact form suggested by
11253
John A Meinel. Old format is available with the ``--long`` or
11254
``-l`` option, patched by William Dodé.
11256
* By default the commit command refuses to record a revision with
11257
no changes unless the ``--unchanged`` option is given.
11259
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
11260
line options must come before the command name because they
11261
affect what commands are available; all other options must come
11262
after the command name because their interpretation depends on
11265
* ``branch`` and ``clone`` added as aliases for ``branch``.
11267
* Default log format is back to the long format; the compact one
11268
is available with ``--short``.
11274
* Fix bugs in committing only selected files or within a subdirectory.
11280
:Released: 2005-06-15
11285
* ``bzr`` with no command now shows help rather than giving an
11286
error. Suggested by Michael Ellerman.
11288
* ``bzr status`` output format changed, because svn-style output
11289
doesn't really match the model of bzr. Now files are grouped by
11290
status and can be shown with their IDs. ``bzr status --all``
11291
shows all versioned files and unknown files but not ignored files.
11293
* ``bzr log`` runs from most-recent to least-recent, the reverse
11294
of the previous order. The previous behaviour can be obtained
11295
with the ``--forward`` option.
11297
* ``bzr inventory`` by default shows only filenames, and also ids
11298
if ``--show-ids`` is given, in which case the id is the second
11305
* New 'bzr whoami --email' option shows only the email component
11306
of the user identification, from Jo Vermeulen.
11308
* New ``bzr ignore PATTERN`` command.
11310
* Nicer error message for broken pipe, interrupt and similar
11311
conditions that don't indicate an internal error.
11313
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
11315
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
11316
either read or write mode.
11318
* New option ``bzr log --show-ids`` shows revision and file ids.
11320
* New usage ``bzr log FILENAME`` shows only revisions that
11321
affected that file.
11323
* Changed format for describing changes in ``bzr log -v``.
11325
* New option ``bzr commit --file`` to take a message from a file,
11326
suggested by LarstiQ.
11328
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
11329
Oler. File may be in a branch other than the working directory.
11331
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
11334
* Commands can now be defined by external programs or scripts
11335
in a directory on $BZRPATH.
11337
* New "stat cache" avoids reading the contents of files if they
11338
haven't changed since the previous time.
11340
* If the Python interpreter is too old, try to find a better one
11341
or give an error. Based on a patch from Fredrik Lundh.
11343
* New optional parameter ``bzr info [BRANCH]``.
11345
* New form ``bzr commit SELECTED`` to commit only selected files.
11347
* New form ``bzr log -r FROM:TO`` shows changes in selected
11348
range; contributed by John A Meinel.
11350
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
11351
options through to an external GNU diff.
11353
* New option ``bzr add --no-recurse`` to add a directory but not
11356
* ``bzr --version`` now shows more information if bzr is being run
11363
* Fixed diff format so that added and removed files will be
11364
handled properly by patch. Fix from Lalo Martins.
11366
* Various fixes for files whose names contain spaces or other
11373
* Converted black-box test suites from Bourne shell into Python;
11374
now run using ``./testbzr``. Various structural improvements to
11377
* testbzr by default runs the version of bzr found in the same
11378
directory as the tests, or the one given as the first parameter.
11380
* testbzr also runs the internal tests, so the only command
11381
required to check is just ``./testbzr``.
11383
* testbzr requires python2.4, but can be used to test bzr running
11384
under a different version.
11386
* Tests added for many other changes in this release.
11392
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
11394
* Refactor command functions into Command objects based on HCT by
11395
Scott James Remnant.
11397
* Better help messages for many commands.
11399
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
11400
this is called trace messages are just discarded.
11402
* New internal function ``find_touching_revisions()`` and hidden
11403
command touching-revisions trace the changes to a given file.
11405
* Simpler and faster ``compare_inventories()`` function.
11407
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
11409
* New AtomicFile class.
11411
* New developer commands ``added``, ``modified``.
11417
* Cope on Windows on python2.3 by using the weaker random seed.
11418
2.4 is now only recommended.
11424
:Released: 2005-04-22
11429
* 'bzr diff' optionally takes a list of files to diff. Still a bit
11430
basic. Patch from QuantumG.
11432
* More default ignore patterns.
11434
* New 'bzr log --verbose' shows a list of files changed in the
11435
changeset. Patch from Sebastian Cote.
11437
* Roll over ~/.bzr.log if it gets too large.
11439
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
11442
* New 'bzr help commands' based on a patch from Denys Duchier.
11448
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
11449
or $EMAIL. All are decoded by the locale preferred encoding.
11450
If none of these are present user@hostname is used. The host's
11451
fully-qualified name is not used because that tends to fail when
11452
there are DNS problems.
11454
* New 'bzr whoami' command instead of username user-email.
11460
* Make commit safe for hardlinked bzr trees.
11462
* Some Unicode/locale fixes.
11464
* Partial workaround for ``difflib.unified_diff`` not handling
11465
trailing newlines properly.
11471
* Allow docstrings for help to be in PEP0257 format. Patch from
11474
* More tests in test.sh.
11476
* Write profile data to a temporary file not into working
11477
directory and delete it when done.
11479
* Smaller .bzr.log with process ids.
11485
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
11488
* Some improvements in handling paths on Windows, based on a patch
11495
:Released: 2005-04-06
11500
* New "directories" internal command lists versioned directories
11503
* Can now say "bzr commit --help".
11505
* New "rename" command to rename one file to a different name
11508
* New "move" command to move one or more files into a different
11511
* New "renames" command lists files renamed since base revision.
11513
* New cat command contributed by janmar.
11518
* .bzr.log is placed in $HOME (not pwd) and is always written in
11519
UTF-8. (Probably not a completely good long-term solution, but
11525
* Workaround for difflib bug in Python 2.3 that causes an
11526
exception when comparing empty files. Reported by Erik Toubro
11532
* Refactored inventory storage to insert a root entry at the top.
11537
* Start of shell-based black-box testing in test.sh.
7878
* Win32 fixes from Steve Brown.
7881
bzr-0.0.2 "black cube" 2005-03-31
7882
-----------------------------------
7886
* Default ignore list extended (see bzrlib/__init__.py).
7888
* Patterns in .bzrignore are now added to the default ignore list,
7889
rather than replacing it.
7891
* Ignore list isn't reread for every file.
7895
* Reinstate the 'bzr check' command to check invariants of the
7898
* New 'ignored' command lists which files are ignored and why;
7899
'deleted' lists files deleted in the current working tree.
7901
* Performance improvements.
7903
* New global --profile option.
7905
* Ignore patterns like './config.h' now correctly match files in
7906
the root directory only.
7909
bzr-0.0.1 2005-03-26
7910
---------------------
7914
* More information from info command.
7916
* Can now say "bzr help COMMAND" for more detailed help.
7918
* Less file flushing and faster performance when writing logs and
7919
committing to stores.
7921
* More useful verbose output from some commands.
7925
* Fix inverted display of 'R' and 'M' during 'commit -v'.
7929
* Include a subset of ElementTree-1.2.20040618 to make
7930
installation easier.
7932
* Fix time.localtime call to work with Python 2.3 (the minimum
7936
bzr-0.0.0.69 2005-03-22
7937
------------------------
7941
* First public release.
7943
* Storage of local versions: init, add, remove, rm, info, log,
11546
* Win32 fixes from Steve Brown.
11552
:Codename: "black cube"
11553
:Released: 2005-03-31
11558
* Default ignore list extended (see bzrlib/__init__.py).
11560
* Patterns in .bzrignore are now added to the default ignore list,
11561
rather than replacing it.
11563
* Ignore list isn't reread for every file.
11565
* More help topics.
11567
* Reinstate the 'bzr check' command to check invariants of the
11570
* New 'ignored' command lists which files are ignored and why;
11571
'deleted' lists files deleted in the current working tree.
11573
* Performance improvements.
11575
* New global --profile option.
11577
* Ignore patterns like './config.h' now correctly match files in
11578
the root directory only.
11584
:Released: 2005-03-26
11589
* More information from info command.
11591
* Can now say "bzr help COMMAND" for more detailed help.
11593
* Less file flushing and faster performance when writing logs and
11594
committing to stores.
11596
* More useful verbose output from some commands.
11601
* Fix inverted display of 'R' and 'M' during 'commit -v'.
11606
* Include a subset of ElementTree-1.2.20040618 to make
11607
installation easier.
11609
* Fix time.localtime call to work with Python 2.3 (the minimum
11616
:Released: 2005-03-22
11621
* First public release.
11623
* Storage of local versions: init, add, remove, rm, info, log,
11627
bzr ?.?.? (not released yet)
11628
############################
11630
:Codename: template
11633
Compatibility Breaks
11634
********************
7947
11660
vim: tw=74 ft=rst ff=unix