12
* ``bzr log file`` has been changed. It now uses a different method
13
for determining which revisions to show as merging the changes to
14
the file. It now only shows revisions which merged the change
15
towards your mainline. This simplifies the output, makes it faster,
16
and reduces memory consumption. (John Arbash Meinel)
18
* ``bzr+http//`` will now optionally load plugins and write logs on the
19
server. (Marius Kruger)
23
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
24
supported (nor released, tests were conducted with the dev version of
25
python-2.6rc2), but all known problems have been fixed . Feedback
27
(Vincent Ladeuil, #269535)
31
* ``bzr annotate`` will now include uncommitted changes from the local
32
working tree by default. Such uncommitted changes are given the
33
revision number they would get if a commit was done, followed with a
34
? to indicate that its not actually known. (Robert Collins, #3439)
36
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
37
standalone branch regardless of the presence of shared repositories.
40
* ``bzr push`` is faster in the case there are no new revisions to
41
push. It is also faster if there are no tags in the local branch.
44
* File changes during a commit will update the tree stat cache.
47
* Location aliases can now accept a trailing path. (Micheal Hudson)
49
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
50
(Robert Collins, MartinPool)
52
* Switching in heavyweight checkouts uses the master branch's context, not
53
the checkout's context. (Adrian Wilkins)
55
* ``status`` on large trees is now faster, due to optimisations in the
56
walkdirs code. Of particular note, the walkdirs code now performs
57
a temporary ``chdir()`` while reading a single directory; if your
58
platform has non thread-local current working directories (and is
59
not windows which has its own implementation), this may introduce a
60
race condition during concurrent uses of bzrlib. The bzrlib CLI
61
will not encounter this as it is single threaded for working tree
62
operations. (Robert Collins)
64
* The C extensions now build on python 2.4 (Robert Collins, #271939)
68
* Branching from a shared repository on a smart server into a new
69
repository now preserves the repository format.
70
(Andrew Bennetts, #269214)
72
* ``bzr log`` now accepts a ``--change`` option.
73
(Vincent Ladeuil, #248427)
75
* ``bzr missing`` now accepts an ``--include-merges`` option.
76
(Vincent Ladeuil, #233817)
78
* Don't try to filter (internally) '.bzr' from the files to be deleted if
80
(Vincent Ladeuil, #272648)
82
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
85
* Fix TooManyConcurrentRequests errors caused by a connection failure
86
when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
87
(Andrew Bennetts, #246233)
89
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
90
is in a different repository than the current one.
91
(Lukáš Lalinský, #144421)
93
* Make the first line of the manpage preamble a comment again.
94
(David Futcher, #242106)
96
* The autopacking logic will now always create a single new pack from
97
all of the content which it deems is worth moving. This avoids the
98
'repack a single pack' bug and should result in better packing
99
overall. (John Arbash Meinel, #242510, #172644)
101
* Trivial documentation fix.
102
(John Arbash Meinel, #270471)
106
* Explain revision/range identifiers. (Daniel Clemente)
110
* ``CommitBuilder.record_entry_contents`` returns one more element in
111
its result tuple - an optional file system hash for the hash cache
112
to use. (Robert Collins)
114
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
115
of a file if it is likely to be needed in determining the output
116
of iter_changes. (Robert Collins)
118
* The PackRepository, RepositoryPackCollection, NewPack classes have a
119
slightly changed interface to support different index types; as a
120
result other users of these classes need to supply the index types
121
they want. (Robert Collins)
125
* ``bzrlib.tests.repository_implementations`` has been renamed to
126
``bzrlib.tests.per_repository`` so that we have a common structure
127
(and it is shorter). (John Arbash Meinel, #239343)
129
* ``LocalTransport.abspath()`` now returns a drive letter if the
130
transport has one, fixing numerous tests on Windows.
133
* The full test suite is passing again on OSX.
134
(Guillermo Gonzalez, Vincent Ladeuil)
136
* PreviewTree is now tested via intertree_implementations.
141
* A new hook, ``Branch.open``, has been added, which is called when
142
branch objects are opened. (Robert Collins)
144
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
145
tree walking, and modular directory listing code to aid future
146
performance optimisations and refactoring. (Robert Collins)
148
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
149
in the middle of processing. It only reports memory if
150
``/proc/PID/status`` is available. (John Arbash Meinel)
152
* New method ``RevisionSpec.as_tree`` for representing the revision
153
specifier as a revision tree object. (Lukáš Lalinský)
155
* New race-free method on MutableTree ``get_file_with_stat`` for use
156
when generating stat cache results. (Robert Collins)
158
* New win32utils.get_local_appdata_location() provides access to a local
159
directory for storing data. (Mark Hammond)
161
* To be compatible with python-2.6 a few new rules should be
162
observed. 'message' attribute can't be used anymore in exception
163
classes, 'sha' and 'md5' modules have been deprecated (use
164
osutils.[md5|sha]), object__init__ and object.__new__ don't accept
168
bzr 1.7.1rc1 2008-09-24
169
-----------------------
5
.. contents:: List of Releases
11
:2.2b2: NOT RELEASED YET
19
* ``bzr diff`` now supports a --format option, which can be used to
20
select alternative diff formats. (Jelmer Vernooij, #555994)
22
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
23
can save disk space by deleting obsolete pack files created during the
25
(Parth Malwankar, #304320)
30
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
31
instead of failing when dirty trees are involved. The corresponding
32
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
33
True explicitly to get the previous behaviour.
34
(Vincent Ladeuil, #519319)
36
* ``bzr export`` to tar file does not fail if any parent directory
37
contains unicode characters. This works around upstream Python bug
38
http://bugs.python.org/issue8396 .
39
(Parth Malwankar, #413406)
41
* ``bzr update`` when a pending merge in the working tree has been merged
42
into the master branch will no longer claim that old commits have become
43
pending merges. (Robert Collins, #562079)
45
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
46
config as in previous versions of bzrlib. (Robert Collins)
48
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
49
(Vincent Ladeuil, #563997)
51
* Fix glitch in the warning about unclean trees display.
52
(Vincent Ladeuil, #562665)
54
* Help messages generated by ``RegistryOption.from_kwargs`` list the
55
switches in alphabetical order, rather than in an undefined order.
56
(Martin von Gagern, #559409)
58
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
59
Apport crash reports, to avoid "This problem report applies to a program
60
which is not installed any more" error.
61
(Martin Pool, James Westby, #528114)
63
* Repositories accessed via a smart server now reject being stacked on a
64
repository in an incompatible format, as is the case when accessing them
65
via other methods. This was causing fetches from those repositories via
66
a smart server (e.g. using ``bzr branch``) to receive invalid data.
67
(Andrew Bennetts, #562380)
69
* Reset ``siginterrupt`` flag to False every time we handle a signal
70
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
71
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
72
errors after two window resizes.
75
* When invoked with a range revision, ``bzr log`` doesn't show revisions
76
that are not part of the ancestry anymore.
77
(Vincent Ladeuil, #474807)
82
* ``bzr commit`` will prompt before using a commit message that was
83
generated by a template and not edited by the user.
84
(Robert Collins, #530265)
86
* ``bzr diff`` read-locks the trees and branches only once, saving about
87
10-20ms on ``bzr diff`` in a bzr.dev tree.
90
* ``bzr missing`` read-locks the branches only once.
93
* ``bzr pull`` locks the branches and tree only once.
96
* Index lookups in pack repositories search recently hit pack files first.
97
In repositories with many pack files this can greatly reduce the
98
number of files accessed, the number of bytes read, and the number of
99
read calls. An incremental pull via plain HTTP takes half the time and
100
bytes for a moderately large repository. (Andrew Bennetts)
102
* Index lookups only re-order the indexes when the hit files aren't
103
already first. Reduces the cost of reordering
104
(John Arbash Meinel, #562429)
106
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
108
(Martin Pool, #553017)
116
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
117
``get_trees_and_branches_to_diff_locked`` instead.
123
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
124
2.1 method of calling run() to perform testing or direct use via the API
125
is now possible again. As part of this, the _operation attribute on
126
Command is now transient and only exists for the duration of ``run()``.
136
:2.2.0b1: Not released yet
141
* BTreeGraphIndex can now take an offset to indicate that the data starts
142
somewhere other than then beginning of the file. (John Arbash Meinel)
144
* Deleted very old hidden commands ``versionedfile-list``,
145
``weave-plan-merge``, ``weave-merge-text``.
148
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
149
have been removed. (Jelmer Vernooij)
151
* ``Repository.get_revision_inventory()`` has been removed in favor of
152
``Repository.get_inventory()``. (Jelmer Vernooij)
154
* All test servers have been moved out of the bzrlib.transport hierarchy to
155
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
156
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
157
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
158
``bzrlib.tests.test_server``.
161
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
162
as its second parameter, for consistency with the initialize() method of
163
other formats. (Jelmer Vernooij)
168
* Added ``bzr remove-branch`` command that can remove a local or remote
169
branch. (Jelmer Vernooij, #276295)
171
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
172
to set file mtimes to the last timestamp of the last revision in which
173
they were changed rather than the current time. (Jelmer Vernooij)
175
* If the Apport crash-reporting tool is available, bzr crashes are now
176
stored into the ``/var/crash`` apport spool directory, and the user is
177
invited to report them to the developers from there, either
178
automatically or by running ``apport-bug``. No information is sent
179
without specific permission from the user. (Martin Pool, #515052)
181
* Parsing of command lines, for example in ``diff --using``, no longer
182
treats backslash as an escape character on Windows. (Gordon Tyler,
185
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
186
a list of plugin names separated by ':' (';' on windows).
187
(Vincent Ladeuil, #411413)
189
* Plugins can be loaded from arbitrary locations by defining
190
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
191
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
192
specified plugins. This is targeted at plugin developers for punctual
193
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
194
(Vincent Ladeuil, #82693)
196
* Tag names can now be determined automatically by ``automatic_tag_name``
197
hooks on ``Branch`` if they are not specified on the command line.
200
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
201
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
202
as resolved is still accessible via the ``--done`` default action.
205
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
206
(Aaron Bentley, Jonathan Lange)
211
* Added docstring for ``Tree.iter_changes``
212
(John Arbash Meinel, #304182)
214
* Allow additional arguments to
215
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
217
* Allow exporting a single file using ``bzr export``.
218
(Michal Junák, #511987)
220
* Allow syscalls to automatically restart when ``TextUIFactory``'s
221
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
222
IO, which are often poorly handled by Python's libraries and parts of
223
bzrlib. (Andrew Bennetts, #496813)
225
* Avoid infinite recursion when probing for apport.
226
(Vincent Ladeuil, #516934)
228
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
229
(Martin Pool, #331095)
231
* Avoid truncating svn URLs.
232
(Martin Pool, Martin von Gagern, #545185)
234
* ``bzr add`` will not add conflict related files unless explicitly required.
235
(Vincent Ladeuil, #322767, #414589)
237
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
238
indices do not have reference lists, so ``dump-btree`` will simply show
239
``None`` instead. (Andrew Bennetts, #488607)
241
* ``bzr help`` will no longer trigger the get_missing_command hook when
242
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
243
did you mean log?') when getting help. In future we may trigger the hook
244
deliberately when no help topics match from any help index.
245
(Robert Collins, #396261)
247
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
248
revspec as representing the first revision of the branch.
249
(Vincent Ladeuil, #519862)
251
* ``bzr remove-tree`` can now remove multiple working trees.
252
(Jared Hance, Andrew Bennetts, #253137)
254
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
255
the kept file on content conflicts where one side deleted the file.
256
(Vincent Ladeuil, #529968)
258
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
259
permissions as ``.bzr`` directory on a POSIX OS.
260
(Parth Malwankar, #262450)
262
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
263
of ``backup.bzr``. This directory is ignored by bzr commands such as
265
(Parth Malwankar, #335033, #300001)
267
* Cope with non-utf8 characters inside ``.bzrignore``.
268
(Jason Spashett, #183504)
270
* Correctly interpret "451 Rename/move failure: Directory not empty" from
271
ftp servers while trying to take a lock.
272
(Martin Pool, #528722)
274
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
275
changes occured between the workingtree and one of its parents.
276
(Vincent Ladeuil, #535547)
278
* Fix ``log`` to better check ancestors even if merged revisions are involved.
279
(Vincent Ladeuil, #476293)
281
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
282
on os.lisdir() order and is now reliable.
283
(Vincent Ladeuil, #552922).
285
* Many IO operations that returned ``EINTR`` were retried even if it
286
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
287
only retries operations that are safe to retry, and in some cases has
288
switched to operations that can be retried (e.g. ``sock.send`` rather than
290
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
292
* Path conflicts now support --take-this and --take-other even when a
293
deletion is involved.
294
(Vincent Ladeuil, #531967)
296
* Network transfer amounts and rates are now displayed in SI units according
297
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
298
(Gordon Tyler, #514399)
300
* Support kind markers for socket and fifo filesystem objects. This
301
prevents ``bzr status --short`` from crashing when those files are
302
present. (John Arbash Meinel, #303275)
304
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
305
directory. (Parth Malwankar, #138600)
307
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
308
the debugger won't kill the session.
309
(Martin <gzlist@googlemail.com>, #162502)
311
* Tolerate patches with leading noise in ``bzr-handle-patch``.
312
(Toshio Kuratomi, Martin Pool, #502076)
314
* ``update -r`` now supports updating to revisions that are not on
315
mainline (i.e. it supports dotted revisions).
316
(Parth Malwankar, #517800)
318
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
319
group ownership from the containing directory. This allow bzr to work
321
(Parth Malwankar, #376388)
323
* Use first apparent author not committer in GNU Changelog format.
324
(Martin von Gagern, #513322)
329
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
330
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
333
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
334
branch to create. (Jelmer Vernooij)
336
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
337
colocated branch to open. (Jelmer Vernooij)
339
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
340
can set a signal handler and call ``signal.siginterrupt(signum,
341
False)`` for it, if the platform and Python version supports it.
342
(Andrew Bennetts, #496813)
344
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
345
run when starting up; it sets up several things that previously needed
346
to be done separately.
347
(Martin Pool, #507710)
349
* Exporters now support a ``per_file_timestamps`` argument to write out the
350
timestamp of the commit in which a file revision was introduced.
353
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
354
present in a control directory. (Jelmer Vernooij)
356
* New method ``Repository.get_known_graph_ancestry()``.
357
(Jelmer Vernooij, #495502)
359
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
362
* Remove unused ``CommandFailed`` exception.
368
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
369
``message_callback`` in the same way that commit does. (Robert Collins)
371
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
372
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
373
of date. (Gary van der Merwe)
375
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
376
functions to load or disable plugins if they wish to use a different
377
plugin mechanism; the --help, --version and no-command name code paths
378
now use the generic pluggable command lookup infrastructure.
381
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
382
which can be set to add extra help to the error. (Gary van der Merwe)
384
* New method ``Branch.automatic_tag_name`` that can be used to find the
385
tag name for a particular revision automatically. (Jelmer Vernooij)
387
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
388
``BzrDir.open_branch()`` now take an optional ``name`` argument.
394
* bzr now has a ``.testr.conf`` file in its source tree configured
395
appropriately for running tests with Testrepository
396
(``https://launchpad.net/testrepository``). (Robert Collins)
398
* Documentation about testing with ``subunit`` has been tweaked.
401
* Known failures has been added for resolve --take-other on ParentLoop
402
conflicts. This reflects bug #537956 without fixing it.
405
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
406
Python modules are loaded, to guard against startup time or library
407
dependency regressions.
410
* PQM will now run with subunit output. To analyze a PQM error use
411
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
413
* Stop sending apport crash files to ``.cache`` in the directory from
414
which ``bzr selftest`` was run. (Martin Pool, #422350)
416
* Tests no longer fail if "close() called during concurrent
417
operation on the same file object" occurs when closing the log file
418
(which can happen if a thread tries to write to the log file at the
419
wrong moment). An warning will be written to ``stderr`` when this
420
happens, and another warning will be written if the log file could not
421
be closed after retrying 100 times. (Andrew Bennetts, #531746)
428
This is a small bugfix release. Upgrading is recommended for anyone
429
running 2.1.0 or earlier.
434
* Allow syscalls to automatically restart when ``TextUIFactory``'s
435
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
436
IO, which are often poorly handled by Python's libraries and parts of
437
bzrlib. (Andrew Bennetts, #496813)
439
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
440
(Martin Pool, #331095)
442
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
444
* Fix stub sftp test server to call os.getcwdu().
445
(Vincent Ladeuil, #526221, #526353)
447
* Fixed CHM generation by moving the NEWS section template into
448
a separate file. (Ian Clatworthy, #524184)
450
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
452
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
453
problems importing bzrlib from a non-main thread.
454
(Elliot Murphy, #521989)
456
* Standardize the error handling when creating a new ``StaticTuple``
457
(problems will raise TypeError). (Matt Nordhoff, #457979)
459
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
460
``StaticTuple`` extensions, rather than having the build fail randomly.
461
(John Arbash Meinel, #449776)
466
* Added a link to the Desktop Guide. (Ian Clatworthy)
468
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
470
* Drop Google Analytics from the core docs as they caused problems
471
in the CHM files. (Ian Clatworthy, #502010)
476
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
477
can set a signal handler and call ``signal.siginterrupt(signum,
478
False)`` for it, if the platform and Python version supports it.
479
(Andrew Bennetts, #496813)
485
:Codename: Strasbourg
488
This release marks our second long-term-stable series. The Bazaar team
489
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
490
releases, along with 2.2 development releases.
492
This is a fairly incremental update, focusing on polish and bugfixing.
493
There are no changes for supported disk formats. Key updates include
494
reduced memory consumption for many operations, a new per-file merge
495
hook, ignore patterns can now include '!' to exclude files, globbing
496
support for all commands on Windows, and support for addressing home
497
directories via ``bzr+ssh://host/~/`` syntax.
499
Users are encouraged to upgrade from the 2.0 stable series.
504
* Don't require testtools to use sftp.
505
(Vincent Ladeuil, #516183)
507
* Fix "AttributeError in Inter1and2Helper" during fetch.
508
(Martin Pool, #513432)
510
* ``bzr update`` performs the two merges in a more logical order and will stop
511
when it encounters conflicts.
512
(Gerard Krol, #113809)
514
* Give a better error message when doing ``bzr bind`` in an already bound
515
branch. (Neil Martinsen-Burrell, #513063)
517
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
518
in a pack repository, which can happen harmlessly if the abort occurs during
519
finishing the write group. Also use ``bzrlib.cleanup`` so that any
520
other errors that occur while aborting the individual packs won't be
521
hidden by secondary failures when removing the corresponding indices.
522
(Andrew Bennetts, #423015)
524
* Set the mtime of files exported to a directory by ``bzr export`` all to
525
the same value to avoid confusing ``make`` and other date-based build
526
systems. (Robert Collins, #515631)
531
* Fetching into experimental formats will now print a warning. (Jelmer
537
* ``Repository.deserialise_inventory`` has been renamed to
538
``Repository._deserialise_inventory`` to indicate it is private.
541
* ``Repository.get_inventory_xml`` has been renamed to
542
``Repository._get_inventory_xml`` to indicate it is private.
545
* ``Repository.serialise_inventory`` has been renamed to
546
``Repository._serialise_inventory`` to indicate it is private.
548
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
549
same time was broken due to race conditions with a module level page
550
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
551
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
552
the same high level objects such as ``bzrlib.repository.Repository``
553
from different threads. chk_map now uses a thread local cache which may
554
increase memory pressure on processes using threads.
555
(Robert Collins, John Arbash Meinel, #514090)
557
* The new ``merge_file_content`` should now be ok with tests to avoid
559
(Vincent Ladeuil, #515597)
564
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
565
blocks in several places in ``bzrlib.merge``. This avoids masking prior
566
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
568
(Andrew Bennetts, #517275)
573
* The ``remove_index`` method of
574
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
575
argument. This argument was always ignored.
576
(Andrew Bennetts, #423015)
581
:Codename: after the bubbles
582
:2.1.0rc2: 2010-01-29
584
This is a quick-turn-around to update a small issue with our new per-file
585
merge hook. We expect no major changes from this to the final 2.1.0.
590
* The new ``merge_file_content`` hook point has been altered to provide a
591
better API where state for extensions can be stored rather than the
592
too-simple function based approach. This fixes a performance regression
593
where branch configuration would be parsed per-file during merge. As
594
part of this the included news_merger has been refactored into a base
595
helper class ``bzrlib.merge.ConfigurableFileMerger``.
596
(Robert Collins, John Arbash Meinel, #513822)
602
:Codename: the 'new' stable
603
:2.1.0rc1: 2009-01-21
605
This is the first stable release candidate for Bazaar's 2.1 series. From
606
this point onwards, the 2.1 series will be considered stable (as the 2.0
607
series) and only bugfixes are expected to be incorporated. The dozen or so
608
bugfixes in the 2.0.4 release are also included in this release (along
609
with more than 15 more bugfixes). Some of the interesting features are
610
support for per-file merge hooks, ``bzr unshelve --preview``, support
611
for using ! in ignore files to exclude files from being ignored, a small
612
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
613
This looks to be a very good start for a new stable series.
619
* Add bug information to log output when available.
620
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
622
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
623
to register custom merge logic, e.g. to provide smarter merging for
626
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
627
default, to enable it add a ``news_merge_files`` option to your
628
configuration. Consult ``bzr help news_merge`` for more information.
631
* ``bzr branch`` now takes a ``--bind`` option. This lets you
632
branch and bind all in one command. (Ian Clatworthy)
634
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
635
a specific revision of a branch. (Daniel Watkins, #183559)
637
* ``bzr unshelve --preview`` can now be used to show how a patch on the
638
shelf would be applied to the working tree.
639
(Guilherme Salgado, #308122)
641
* ``bzr update`` now takes a ``--revision`` argument. This lets you
642
change the revision of the working tree to any revision in the
643
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
646
* ``-Dbytes`` can now be used to display the total number of bytes
647
transferred for the current command. This information is always logged
648
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
650
* New ignore patterns. Patterns prefixed with '!' are exceptions to
651
ignore patterns and take precedence over regular ignores. Such
652
exceptions are used to specify files that should be versioned which
653
would otherwise be ignored. Patterns prefixed with '!!' act as regular
654
ignore patterns, but have highest precedence, even over the '!'
655
exception patterns. (John Whitley, #428031)
657
* The ``supress_warnings`` configuration option has been introduced to disable
658
various warnings (it currently only supports the ``format_deprecation``
659
warning). The new option can be set in any of the following locations:
660
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
661
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
666
* Always show a message if an OS error occurs while trying to run a
667
user-specified commit message editor.
668
(Martin Pool, #504842)
670
* ``bzr diff`` will now use the epoch when it is unable to determine
671
the timestamp of a file, if the revision it was introduced in is a
672
ghost. (Jelmer Vernooij, #295611)
674
* ``bzr switch -b`` can now create branches that are located using directory
675
services such as ``lp:``, even when the branch name doesn't contain a
676
'/'. (Neil Martinsen-Burrell, #495263)
678
* ``bzr unshelve`` has improved messages about what it is doing.
679
(Neil Martinsen-Burrell, #496917)
681
* Concurrent autopacking is more resilient to already-renamed pack files.
682
If we find that a file we are about to obsolete is already obsoleted, we
683
do not try to rename it, and we leave the file in ``obsolete_packs``.
684
The code is also fault tolerant if a file goes missing, assuming that
685
another process already removed the file.
686
(John Arbash Meinel, Gareth White, #507557)
688
* Fix "Too many concurrent requests" in reconcile when network connection
689
fails. (Andrew Bennetts, #503878)
691
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
692
that caused some tests to fail when run in a non-default order.
693
Probably no user impact. (Martin Pool, #504102)
695
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
696
(Andrew Bennetts, #506274)
698
* FTP transports support Unicode paths by encoding/decoding them as utf8.
699
(Vincent Ladeuil, #472161)
701
* Listen to the SIGWINCH signal to update the terminal width.
702
(Vincent Ladeuil, #316357)
704
* Progress bars are now hidden when ``--quiet`` is given.
705
(Martin Pool, #320035)
707
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
708
whatever is written to it. This un-breaks some plugin tests that
709
depended on this behaviour.
710
(Martin Pool, #499757)
712
* When operations update the working tree, all affected files should end
713
up with the same mtime. (eg. when versioning a generated file, if you
714
update the source and the generated file together, the generated file
715
should appear up-to-date.)
716
(John Arbash Meinel, Martin <gzlist>, #488724)
721
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
722
All the builtin commands now use ``add_cleanup`` rather than
723
``try``/``finally`` blocks where applicable as it is simpler and more
724
robust. (Andrew Bennetts)
726
* All except a small number of storage formats are now hidden, making
727
the help for numerous commands far more digestible. (Ian Clatworthy)
729
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
730
path/to/repo``) will now include "location is a repository" as a hint in
731
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
733
* Push will now inform the user when they are trying to push to a foreign
734
VCS for which roundtripping is not supported, and will suggest them to
735
use dpush. (Jelmer Vernooij)
737
* The version of bzr being run is now written to the log file.
740
* Transport network activity indicator is shown more of the time when
741
Bazaar is doing network IO.
747
* Add documentation on creating merges with more than one parent.
748
(Neil Martinsen-Burrell, #481526)
750
* Better explain the --uncommitted option of merge.
751
(Neil Martinsen-Burrell, #505088)
753
* Improve discussion of pending merges in the documentation for
754
``revert``. (Neil Martinsen-Burrell, #505093)
756
* Improved help for ``bzr send``.
757
(Martin Pool, Bojan Nikolic)
759
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
760
including discussions of installation, relevant plugins, security and
761
backup. (Neil Martinsen-Burrell)
763
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
766
* The User Reference is now presented as a series of topics.
767
Many of the included topics have link and format tweaks applied.
773
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
776
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
777
to be consistent with instances being lower case and classes being
778
CamelCase. For the features that were more likely to be used, we added a
779
deprecation thunk, but not all. (John Arbash Meinel)
781
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
782
parameter in their constructors, and provide ``this_branch`` as an
783
attribute. (Andrew Bennetts)
785
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
786
by plugins - the original exceptions are now preserved. (Robert Collins)
788
* The Transport ``Server.tearDown`` method is now renamed to
789
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
790
our normal naming pattern, and to avoid confusion with Python's
791
``TestCase.tearDown``. (Martin Pool)
793
* ``WorkingTree.update`` implementations must now accept a ``revision``
799
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
800
a string of details (such as "location is a repository") as part of a
801
``nobranch`` response. (Andrew Bennetts, #440952)
803
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
804
objects but passes str objects straight through. This is used for
805
selftest but may be useful for diff and other operations that generate
806
mixed output. (Robert Collins)
808
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
809
plugins. (Jelmer Vernooij)
814
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
815
running all tests in the current module, once against a pure python
816
implementation, and once against an extension (pyrex/C) implementation.
817
It can be used to dramatically simplify the implementation of
818
``load_tests``. (John Arbash Meinel)
820
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
821
This permits features in testtools such as getUniqueInteger and
822
getUniqueString to be used. Because of this, testtools version 0.9.2 or
823
newer is now a dependency to run bzr selftest. Running with versions of
824
testtools less than 0.9.2 will cause bzr to error while loading the test
825
suite. (Robert Collins)
827
* Shell-like tests now support the command "mv" for moving files. The
828
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
829
supported. (Neil Martinsen-Burrell)
831
* The test progress bar no longer distinguishes tests that 'errored' from
832
tests that 'failed' - they're all just failures.
838
:2.0.6: NOT RELEASED YET
843
* ``bzr revert`` now only takes write lock on working tree, instead of on
844
both working tree and branch.
845
(Danny van Heumen, #498409)
847
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
848
permissions as ``.bzr`` directory on a POSIX OS.
849
(Parth Malwankar, #262450)
851
* Additional merges after an unrelated branch has been merged with its
852
history no longer crash when deleted files are involved.
853
(Vincent Ladeuil, John Arbash Meinel, #375898)
860
This fifth release in our 2.0 series addresses several user-inconvenience
861
bugs. None are critical, but upgrading is recommended for all users on
862
earlier 2.0 releases.
867
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
868
(Martin Pool, #331095)
870
* Concurrent autopacking is more resilient to already-renamed pack files.
871
If we find that a file we are about to obsolete is already obsoleted, we
872
do not try to rename it, and we leave the file in ``obsolete_packs``.
873
The code is also fault tolerant if a file goes missing, assuming that
874
another process already removed the file.
875
(John Arbash Meinel, Gareth White, #507557)
877
* Cope with the lockdir ``held/info`` file being empty, which seems to
878
happen fairly often if the process is suddenly interrupted while taking
880
(Martin Pool, #185103)
882
* Give the warning about potentially slow cross-format fetches much
883
earlier on in the fetch operation. Don't show this message during
884
upgrades, and show the correct format indication for remote
886
(Martin Pool, #456077, #515356, #513157)
888
* Handle renames correctly when there are files or directories that
889
differ only in case. (Chris Jones, Martin Pool, #368931)
891
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
892
error, report that error rather than failing with an unhelpful
893
``UnboundLocalError``.
894
(Andrew Bennetts, #423563)
896
* Running ``bzr`` command without any arguments now shows bzr
897
version number along with rest of the help text.
898
(Parth Malwankar, #369501)
900
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
902
(Inada Naoki, #524560)
907
* Added ``location-alias`` help topic.
908
(Andrew Bennetts, #337834)
910
* Fixed CHM generation by moving the NEWS section template into
911
a separate file. (Ian Clatworthy, #524184)
917
:Codename: smooth sailing
920
The fourth bugfix-only release in the 2.0 series contains more than a
921
dozen bugfixes relative to 2.0.3. The primary focus is on handling
922
interruptions and concurrent operations more cleanly, there is also a fair
923
improvement to ``bzr export`` when exporting a remote branch.
929
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
930
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
932
* ``bzr export dir`` now requests all file content as a record stream,
933
rather than requsting the file content one file-at-a-time. This can make
934
exporting over the network significantly faster (54min => 9min in one
935
case). (John Arbash Meinel, #343218)
937
* ``bzr serve`` no longer slowly leaks memory. The compiled
938
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
939
free resources, and it should have been using ``__dealloc__``.
940
This will likely have an impact on any other process that is serving for
941
an extended period of time. (John Arbash Meinel, #494406)
943
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
944
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
945
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
947
* Concurrent autopacks will no longer lose a newly created pack file.
948
There was a race condition, where if the reload happened at the right
949
time, the second packer would forget the name of the newly added pack
950
file. (John Arbash Meinel, Gareth White, #507566)
952
* Give a clearer message if the lockdir disappears after being apparently
953
successfully taken. (Martin Pool, #498378)
955
* Give a warning when fetching between repositories (local or remote) with
956
sufficiently different formats that the content will need to be
957
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
958
the user has a clue that upgrading could make it faster.
959
(Martin Pool, #456077)
961
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
962
than using ``warning()``. The log file is opened before logging is set
963
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
964
users, rather than something nicer.
965
(John Arbash Meinel, Barry Warsaw, #503886)
967
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
968
(Martin Pool, John Arbash Meinel, #449372)
970
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
971
build. (there is still the distutils bug
972
http://bugs.python.org/issue644744) (Joe Julian, #175839)
974
* The 2a format wasn't properly restarting autopacks when something
975
changed underneath it (like another autopack). Now concurrent
976
autopackers will properly succeed. (John Arbash Meinel, #495000)
978
* ``TreeTransform`` can now handle when a delta says that the file id for
979
the tree root changes. Rather than trying to rename your working
980
directory, or failing early saying that you can't have multiple
981
tree roots. This also fixes revert, update, and pull when the root id
982
changes. (John Arbash Meinel, #494269, #504390)
984
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
985
the right time will get propagated, rather than silently failing to move
986
the block pointer. (John Arbash Meinel, Gareth White, #495023)
991
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
992
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
993
rather than an ``except ?:`` clause.) This should help prevent bugs like
994
bug #495023. (John Arbash Meinel)
1000
:Codename: san francisco airport
1001
:2.1.0b4: 2009-12-14
1003
The fourth beta release in the 2.1 series brings with it a significant
1004
number of bugfixes (~20). The test suite is once again (finally) "green"
1005
on Windows, and should remain that way for future releases. There are a
1006
few performance related updates (faster upgrade and log), and several UI
1007
tweaks. There has also been a significant number of tweaks to the runtime
1008
documentation. 2.1.0b4 include everything from the 2.0.3 release.
1011
Compatibility Breaks
1012
********************
1014
* The BZR_SSH environmental variable may now be set to the path of a secure
1015
shell client. If currently set to the value ``ssh`` it will now guess the
1016
vendor of the program with that name, to restore the old behaviour that
1017
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
1018
string. (Martin <gzlist@googlemail.com>, #176292)
1023
* ``bzr commit`` now has a ``--commit-time`` option.
1024
(Alexander Sack, #459276)
1026
* ``-Dhpss`` now increases logging done when run on the bzr server,
1027
similarly to how it works on the client. (John Arbash Meinel)
1029
* New option ``bzr unshelve --keep`` applies the changes and leaves them
1030
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
1032
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
1033
respect a given terminal width. This can be useful when output is
1034
redirected or in obscure cases where the default value is not
1035
appropriate. Pagers can use it to get a better control of the line
1039
* The new command ``bzr lp-mirror`` will request that Launchpad update its
1040
mirror of a local branch. This command will only function if launchpadlib
1048
* After renaming a file, the dirstate could accidentally reference
1049
``source\\path`` rather than ``source/path`` on Windows. This might be a
1050
source of some dirstate-related failures. (John Arbash Meinel)
1052
* ``bzr commit`` now detects commit messages that looks like file names
1053
and issues a warning.
1054
(Gioele Barabucci, #73073)
1056
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
1058
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
1059
(#325618, #484109, Marius Kruger)
1061
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
1062
files with conflicts (similar to ``--merge3``). The contents of the file
1063
is a synthesis of all bases used for the merge.
1064
(John Arbash Meinel, #40412)
1066
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
1068
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
1069
(Robert Collins, #84659)
1071
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
1073
* Fix bug with redirected URLs over authenticated HTTP.
1074
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
1076
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
1078
* Lots of bugfixes for the test suite on Windows. We should once again
1079
have a test suite with no failures on Windows. (John Arbash Meinel)
1081
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
1082
variable but returns None if the terminal is not a tty (when output is
1083
redirected for example). Also fixes its usage under OSes that doesn't
1084
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
1086
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
1087
(John Arbash Meinel, Vincent Ladeuil, #492561)
1089
* Terminate ssh subprocesses when no references to them remain, fixing
1090
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
1092
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
1093
works for 2a format trees. Only files unaffected by content filters
1094
will be hardlinked. (Andrew Bennetts, #408193)
1096
* The new glob expansion on Windows would replace all ``\`` characters
1097
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
1098
etc. Now only change slashes if there is something being glob expanded.
1099
(John Arbash Meinel, #485771)
1101
* Use our faster ``KnownGraph.heads()`` functionality when computing the
1102
new rich-root heads. This can cut a conversion time in half (mysql from
1103
13.5h => 6.2h) (John Arbash Meinel, #487632)
1105
* When launching a external diff tool via bzr diff --using, temporary files
1106
are no longer created, rather, the path to the file in the working tree is
1107
passed to the external diff tool. This allows the file to be edited if the
1108
diff tool provides for this. (Gary van der Merwe, #490738)
1110
* The launchpad-open command can now be used from a subdirectory of a
1111
branch, not just from the root of the branch.
1112
(Neil Martinsen-Burrell, #489102)
1118
* ``bzr log`` is now faster. (Ian Clatworthy)
1120
* ``bzr update`` provides feedback on which branch it is up to date with.
1121
(Neil Martinsen-Burrell)
1123
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
1124
For details see the xml8 patch and heads() improvements.
1125
(John Arbash Meinel)
1127
* ``bzrlib.urlutils.local_path_from_url`` now accepts
1128
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
1131
* The progress bar now shows only a spinner and per-operation counts,
1132
not an overall progress bar. The previous bar was often not correlated
1133
with real overall operation progress, either because the operations take
1134
nonlinear time, or because at the start of the operation Bazaar couldn't
1135
estimate how much work there was to do. (Martin Pool)
1140
* Lots of documentation tweaks for inline help topics and command help
1146
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
1148
* The Launchpad plugin now has a function ``login`` which will log in to
1149
Launchpad with launchpadlib, and ``load_branch`` which will return the
1150
Launchpad Branch object corresponding to a given Bazaar Branch object.
1156
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
1157
easier to handle what tests you want to run based on what modules can be
1158
imported. (Rather than lots of custom-implemented features that were
1159
basically copy-and-pasted.) (John Arbash Meinel)
1161
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
1162
``time.clock()`` when you want to do performance timing.
1163
``time.time()`` is limited to 15ms resolution on Windows, but
1164
``time.clock()`` gives CPU and not wall-clock time on other platforms.
1165
(John Arbash Meinel)
1167
* Several code paths that were calling ``Transport.get().read()`` have
1168
been changed to the equalivent ``Transport.get_bytes()``. The main
1169
difference is that the latter will explicitly call ``file.close()``,
1170
rather than expecting the garbage collector to handle it. This helps
1171
with some race conditions on Windows during the test suite and sftp
1172
tests. (John Arbash Meinel)
1177
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
1178
unicode strings. (Michael Hudson, #464174)
1184
:Codename: little italy
1188
The third stable release of Bazaar has a small handful of bugfixes. As
1189
expected, this has no internal or external compatibility changes versus
1195
* ``bzr push --use-existing-dir`` no longer crashes if the directory
1196
exists but contains an invalid ``.bzr`` directory.
1197
(Andrew Bennetts, #423563)
1199
* Content filters are now applied correctly after pull, merge and switch.
1200
(Ian Clatworthy, #385879)
1202
* Fix a potential segfault in the groupcompress hash map handling code.
1203
When inserting new entries, if the final hash bucket was empty, we could
1204
end up trying to access if ``(last_entry+1)->ptr == NULL``.
1205
(John Arbash Meinel, #490228)
1207
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1213
:Codename: after sprint recovery
1214
:2.1.0b3: 2009-11-16
1216
This release was pushed up from its normal release cycle due to a
1217
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
1218
was caught before 2.1.0b2 was officially announced, the full changelog
1219
includes both 2.1.0b3 and 2.1.0b2 changes.
1221
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
1222
the test suite now conforms to python's trunk enhanced semantics (skip,
1223
etc.), and ``bzr info -v`` will now report the correct branch and repo
1224
formats for Remote objects.
1230
* Users can define a shelve editor to provide shelf functionality at a
1231
granularity finer than per-patch-hunk. (Aaron Bentley)
1236
* Fix for shell completion and short options. (Benoît PIERRE)
1238
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
1240
* Hooks daughter classes should always call the base constructor.
1241
(Alexander Belchenko, Vincent Ladeuil, #389648)
1243
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1245
* On Windows, do glob expansion at the command-line level (as is usually
1246
done in bash, etc.) This means that *all* commands get glob expansion
1247
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
1248
parser, which allows us to know if a given section was quoted. It means
1249
you can now do ``bzr ignore "*.py"``.
1250
(John Arbash Meinel, #425510, #426410, #194450)
1252
* Sanitize commit messages that come in from the '-m' flag. We translate
1253
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
1254
allow those because XML store silently translate it anyway. (The parser
1255
auto-translates \r\n => \n in ways that are hard for us to catch.)
1257
* Show correct branch and repository format descriptions in
1258
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
1260
* The fix for bug #186920 accidentally broke compatibility with python
1261
2.4. (Vincent Ladeuil, #475585)
1263
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
1264
correctly sets ``self.inv_sha1`` to a sha1 string and
1265
``self.new_inventory`` to an Inventory instance after calling
1266
``self.finish_inventory()``. (Previously it accidently set both values
1267
as a tuple on ``self.inv_sha1``. This was missed because
1268
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
1269
the sha1 from the repo directly. (John Arbash Meinel)
1271
* Shelve command refuse to run if there is no real terminal.
1272
(Alexander Belchenko)
1274
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
1275
Python level. (Martin Pool)
1280
* Include Japanese translations for documentation (Inada Naoki)
1282
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
1283
(rather than user-interaction) data to stdout. This automatically
1284
coordinates with progress bars or other terminal activity, and can be
1286
(Martin Pool, 493944)
1291
* Some of the core groupcompress functionality now releases the GIL before
1292
operation. Similar to how zlib and bz2 operate without the GIL in the
1293
core compression and decompression routines. (John Arbash Meinel)
1298
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
1299
more debugging of VFS access triggers. (Robert Collins)
1301
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
1302
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
1304
* ``--parallel=fork`` is now compatible with --subunit.
1305
(Robert Collins, Vincent Ladeuil, #419776)
1307
* Reporting of failures shows test ids not descriptions and thus shows
1308
parameterised tests correctly. (Robert Collins)
1310
* TestNotApplicable is now handled within the TestCase.run method rather
1311
than being looked for within ``ExtendedTestResult.addError``. This
1312
provides better handling with other ``TestResult`` objects, degrading to
1313
sucess rather than error. (Robert Collins)
1315
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
1316
removed - it was empty and unused. (Robert Collins)
1318
* UnavailableFeature is now handled within the TestCase.run method rather
1319
than being looked for within addError. If the Result object does not
1320
have an addNotSupported method, addSkip is attempted instead, and
1321
failing that addSuccess. (Robert Collins)
1323
* When a TestResult does not have an addSkip method, skipped tests are now
1324
reported as successful tests, rather than as errors. This change is
1325
to make it possible to get a clean test run with a less capable
1326
TestResult. (Robert Collins)
1333
:Codename: a load off my mind
1334
:2.1.0b2: 2009-11-02
1336
This is our second feature-filled release since 2.0, pushing us down the
1337
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
1339
Key highlights in this release are: improved handling of
1340
failures-during-cleanup for commit, fixing a long-standing bug with
1341
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
1342
behind proxies, and a new StaticTuple datatype, allowing us to reduce
1343
memory consumption (50%) and garbage collector overhead (40% faster) for
1346
* A new ``--concurrency`` option has been added as well as an associated
1347
BZR_CONCURRENCY environment variable to specify the number of
1348
processes that can be run concurrently when running ``bzr selftest``. The
1349
command-line option overrides the environment variable if both are
1350
specified. If none is specified. the number of processes is obtained
1351
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
1356
* ``bzr+http`` servers no longer give spurious jail break errors when
1357
serving branches inside a shared repository. (Andrew Bennetts, #348308)
1359
* Errors during commit are handled more robustly so that knock-on errors
1360
are less likely to occur, and will not obscure the original error if
1361
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
1362
and similar errors. (Andrew Bennetts, #429747, #243391)
1364
* Launchpad urls can now be resolved from behind proxies.
1365
(Gordon Tyler, Vincent Ladeuil, #186920)
1367
* Reduce the strictness for StaticTuple, instead add a debug flag
1368
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
1369
This way, most users won't see failures, but developers can improve
1370
internals. (John Arbash Meinel, #471193)
1372
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
1373
files. (Aaron Bentley)
1375
* Unicode paths are now handled correctly and consistently by the smart
1376
server. (Andrew Bennetts, Michael Hudson, #458762)
1381
* When reading index files, we now use a ``StaticTuple`` rather than a
1382
plain ``tuple`` object. This generally gives a 20% decrease in peak
1383
memory, and can give a performance boost up to 40% on large projects.
1384
(John Arbash Meinel)
1386
* Peak memory under certain operations has been reduced significantly.
1387
(eg, 'bzr branch launchpad standalone' is cut in half)
1388
(John Arbash Meinel)
1393
* Filtered views user documentation upgraded to refer to format 2a
1394
instead of pre-2.0 formats. (Ian Clatworthy)
1399
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
1401
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1402
``show_warning`` methods, which can be hooked by non-text UIs.
1408
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1409
Dict (it only holds keys, but you can lookup the object located at a
1410
given key). It has significantly reduced memory consumption versus the
1411
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1412
used as the interning structure for StaticTuple objects.
1413
(John Arbash Meinel)
1415
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1416
the btree index parser and the chk map parser. This class functions
1417
similarly to ``tuple`` objects. However, it can only point to a limited
1418
collection of types. (Currently StaticTuple, str, unicode, None, bool,
1419
int, long, float, but not subclasses). This allows us to remove it from
1420
the garbage collector (it cannot be in a cycle), it also allows us to
1421
intern the objects. In testing, this can reduce peak memory by 20-40%,
1422
and significantly improve performance by removing objects from being
1423
inspected by the garbage collector. (John Arbash Meinel)
1425
* ``GroupCompressBlock._ensure_content()`` will now release the
1426
``zlib.decompressobj()`` when the first request is for all of the
1427
content. (Previously it would only be released if you made a request for
1428
part of the content, and then all of it later.) This turns out to be a
1429
significant memory savings, as a ``zstream`` carries around approx 260kB
1430
of internal state and buffers. (For branching bzr.dev this drops peak
1431
memory from 382MB => 345MB.) (John Arbash Meinel)
1433
* When streaming content between ``2a`` format repositories, we now clear
1434
caches from earlier versioned files. (So 'revisions' is cleared when we
1435
start reading 'inventories', etc.) This can have a significant impact on
1436
peak memory for initial copies (~200MB). (John Arbash Meinel)
1442
:Codename: after the scare
1445
The second in our "let's keep the stable bugfixes flowing" series. As
1446
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
1447
changes or features.
1452
* Avoid "NoneType has no attribute st_mode" error when files disappear
1453
from a directory while it's being read. (Martin Pool, #446033)
1455
* Content filters are now applied correctly after revert.
1458
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
1460
* Fetching from stacked pre-2a repository via a smart server no longer
1461
fails intermittently with "second push failed to complete".
1462
(Andrew Bennetts, #437626)
1464
* Fix typos left after test_selftest refactoring.
1465
(Vincent Ladeuil, Matt Nordhoff, #461149)
1467
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
1468
(Andrew Bennetts, #445171)
1470
* PreviewTree file names are not limited by the encoding of the temp
1471
directory's filesystem. (Aaron Bentley, #436794)
1476
* ``bzr log`` now read-locks branches exactly once, so makes better use of
1477
data caches. (Andrew Bennetts)
1482
* Filtered views user documentation upgraded to refer to format 2a
1483
instead of pre-2.0 formats. (Ian Clatworthy)
1489
:Codename: While the cat is away
1490
:2.1.0b1: 2009-10-14
1492
This is the first development release in the new split "stable" and
1493
"development" series. As such, the release is a snapshot of bzr.dev
1494
without creating a release candidate first. This release includes a
1495
fair amount of internal changes, with deprecated code being removed,
1496
and several new feature developments. People looking for a stable code
1497
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1498
present in 2.0.1 are present in 2.1.0b1.
1500
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1501
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1502
syntax, visible warnings when extension modules fail to load, and improved
1503
error handling during unlocking.
1509
* Bazaar can now send mail through Apple OS X Mail.app.
1512
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1513
specified in the URL. Paths starting with a path segment of ``~`` are
1514
relative to the home directory of the user running the server, and paths
1515
starting with ``~user`` are relative to the home directory of the named
1516
user. For example, for a user "bob" with a home directory of
1517
``/home/bob``, these URLs are all equivalent:
1519
* ``bzr+ssh://bob@host/~/repo``
1520
* ``bzr+ssh://bob@host/~bob/repo``
1521
* ``bzr+ssh://bob@host/home/bob/repo``
1523
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1524
home directories outside that directory will be accessible via this
1527
This is a feature of ``bzr serve``, so pre-2.1 clients will
1528
automatically benefit from this feature when ``bzr`` on the server is
1529
upgraded. (Andrew Bennetts, #109143)
1531
* Extensions can now be compiled if either Cython or Pyrex is available.
1532
Currently Pyrex is preferred, but that may change in the future.
1535
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1536
disable the user, site and core plugin directories.
1537
(Vincent Ladeuil, #412930, #316192, #145612)
1542
* Bazaar's native protocol code now correctly handles EINTR, which most
1543
noticeably occurs if you break in to the debugger while connected to a
1544
bzr+ssh server. You can now can continue from the debugger (by typing
1545
'c') and the process continues. However, note that pressing C-\ in the
1546
shell may still kill the SSH process, which is bug 162509, so you must
1547
sent a signal to the bzr process specifically, for example by typing
1548
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1550
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1551
filename will issue a warning and skip over those files.
1552
(Robert Collins, #3918)
1554
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1555
are present in the working tree. The configuration option ``dpush_strict``
1556
can be used to set the default for this behavior.
1557
(Vincent Ladeuil, #438158)
1559
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1560
merges are present in the working tree.
1561
(Vincent Ladeuil, #426344)
1563
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1564
traceback. (Martin Pool, #109115)
1566
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1567
as it is never built. (John Arbash Meinel, #430645)
1569
* Don't restrict the command name used to run the test suite.
1570
(Vincent Ladeuil, #419950)
1572
* ftp transports were built differently when the kerberos python module was
1573
present leading to obscure failures related to ASCII/BINARY modes.
1574
(Vincent Ladeuil, #443041)
1576
* Network streams now decode adjacent records of the same type into a
1577
single stream, reducing layering churn. (Robert Collins)
1579
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1580
file. (Aaron Bentley, #251532)
1582
* Registry objects should not use iteritems() when asked to use items().
1583
(Vincent Ladeuil, #430510)
1585
* Weave based repositories couldn't be cloned when committers were using
1586
domains or user ids embedding '.sig'. Now they can.
1587
(Matthew Fuller, Vincent Ladeuil, #430868)
1592
* Revision specifiers can now be given in a more DWIM form, without
1593
needing explicit prefixes for specifiers like tags or revision id's.
1594
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
1596
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
1597
compiled extensions can't be loaded. This typically indicates a
1598
packaging or installation problem. In this case Bazaar will keep
1599
running using pure-Python versions, but this may be substantially
1600
slower. The warning can be disabled by setting
1601
``ignore_missing_extensions = True`` in ``bazaar.conf``.
1602
See also <https://answers.launchpad.net/bzr/+faq/703>.
1603
(Martin Pool, #406113, #430529)
1605
* Secondary errors that occur during Branch.unlock and Repository.unlock
1606
no longer obscure the original error. These methods now use a new
1607
decorator, ``only_raises``. This fixes many causes of
1608
``TooManyConcurrentRequests`` and similar errors.
1609
(Andrew Bennetts, #429747)
1614
* Describe the new shell-like test feature. (Vincent Ladeuil)
1616
* Help on hooks no longer says 'Not deprecated' for hooks that are
1617
currently supported. (Ian Clatworthy, #422415)
1622
* ``bzrlib.user_encoding`` has been removed; use
1623
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
1625
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
1626
subclasses - the same as python's unittest module. (Robert Collins)
1628
* ``diff._get_trees_to_diff`` has been renamed to
1629
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
1630
returns the old and new branches. (Gary van der Merwe)
1632
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
1635
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
1636
now defaults to comparing to the basis tree. It now checks for pending
1637
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
1638
corresponding has_changes() calls. ``Merge.compare_basis``,
1639
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
1641
(Vincent Ladeuil, #440631)
1643
* ``ProgressTask.note`` is deprecated.
1649
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
1650
repository or branch object is unlocked then relocked the same way.
1653
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
1654
mallocs while parsing the index (approx 3=>1 mallocs per key read).
1655
This results in a 10% speedup while reading an index.
1656
(John Arbash Meinel)
1658
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
1659
profiling in some situations like callbacks and generators easier.
1665
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
1666
be output for every test. Note that this is very verbose! (Robert Collins)
1668
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
1669
post_mortem to be triggered when a test failure occurs. (Robert Collins)
1671
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
1672
documentation in ``developers/testing.txt`` for details.
1675
* Some tests could end up with the same id, that was dormant for
1677
(Vincent Ladeuil, #442980)
1679
* Stop showing the number of tests due to missing features in the test
1680
progress bar. (Martin Pool)
1682
* Test parameterisation now does a shallow copy, not a deep copy of the test
1683
to be parameterised. This is not expected to break external use of test
1684
parameterisation, and is substantially faster. (Robert Collins)
1686
* Tests that try to open a bzr dir on an arbitrary transport will now
1687
fail unless they have explicitly permitted the transport via
1688
``self.permit_url``. The standard test factories such as ``self.get_url``
1689
will permit the urls they provide automatically, so only exceptional
1690
tests should need to do this. (Robert Collins)
1692
* The break-in test no longer cares about clean shutdown of the child,
1693
instead it is happy if the debugger starts up. (Robert Collins)
1695
* The full test suite is expected to pass when the C extensions are not
1696
present. (Vincent Ladeuil, #430749)
1702
:Codename: Stability First
1705
The first of our new ongoing bugfix-only stable releases has arrived. It
1706
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
1707
include any of the feature development in the 2.1.0 series.
1713
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1714
filename will issue a warning and skip over those files.
1715
(Robert Collins, #3918)
1717
* bzr will attempt to authenticate with SSH servers that support
1718
``keyboard-interactive`` auth but not ``password`` auth when using
1719
Paramiko. (Andrew Bennetts, #433846)
1721
* Fixed fetches from a stacked branch on a smart server that were failing
1722
with some combinations of remote and local formats. This was causing
1723
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
1725
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
1726
on branches via a smart server. (Andrew Bennetts, #389413)
1728
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
1729
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
1730
assumed that ``abspath()`` returned a path that did not have a trailing
1731
``/``, but that is not true when working at the root of the filesystem.
1732
(John Arbash Meinel, Jason Spashett, #322807)
1734
* Hide deprecation warnings for 'final' releases for python2.6.
1735
(John Arbash Meinel, #440062)
1737
* Improve the time for ``bzr log DIR`` for 2a format repositories.
1738
We had been using the same code path as for <2a formats, which required
1739
iterating over all objects in all revisions.
1740
(John Arbash Meinel, #374730)
1742
* Make sure that we unlock the tree if we fail to create a TreeTransform
1743
object when doing a merge, and there is limbo, or pending-deletions
1744
directory. (Gary van der Merwe, #427773)
1746
* Occasional IndexError on renamed files have been fixed. Operations that
1747
set a full inventory in the working tree will now go via the
1748
apply_inventory_delta code path which is simpler and easier to
1749
understand than dirstates set_state_from_inventory method. This may
1750
have a small performance impact on operations built on _write_inventory,
1751
but such operations are already doing full tree scans, so no radical
1752
performance change should be observed. (Robert Collins, #403322)
1754
* Retrieving file text or mtime from a _PreviewTree has good performance when
1755
there are many changes. (Aaron Bentley)
1757
* The CHK index pages now use an unlimited cache size. With a limited
1758
cache and a large project, the random access of chk pages could cause us
1759
to download the entire cix file many times.
1760
(John Arbash Meinel, #402623)
1762
* When a file kind becomes unversionable after being added, a sensible
1763
error will be shown instead of a traceback. (Robert Collins, #438569)
1768
* Improved README. (Ian Clatworthy)
1770
* Improved upgrade documentation for Launchpad branches.
1778
:Codename: Instant Karma
1780
This release of Bazaar makes the 2a (previously 'brisbane-core') format
1781
the default when new branches or repositories are created. This format is
1782
substantially smaller and faster for many operations. Most of the work in
1783
this release focuses on bug fixes and stabilization, covering both 2a and
1784
previous formats. (See the Upgrade Guide for information on migrating
1787
This release also improves the documentation content and presentation,
1788
including adding Windows HtmlHelp manuals.
1790
The Bazaar team decided that 2.0 will be a long-term supported release,
1791
with bugfix-only 2.0.x releases based on it, continuing for at least six
1792
months or until the following stable release.
1794
Changes from 2.0.0rc2 to final
1795
******************************
1797
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
1798
that "want to happen on the 2.0.x stable series" versus things that want
1799
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1800
micro = 0.) (John Arbash Meinel)
1806
:2.0.0rc2: 2009-09-10
1811
* Added post_commit hook for mutable trees. This allows the keywords
1812
plugin to expand keywords on files changed by the commit.
1813
(Ian Clatworthy, #408841)
1818
* Bazaar's native protocol code now correctly handles EINTR, which most
1819
noticeably occurs if you break in to the debugger while connected to a
1820
bzr+ssh server. You can now can continue from the debugger (by typing
1821
'c') and the process continues. However, note that pressing C-\ in the
1822
shell may still kill the SSH process, which is bug 162509, so you must
1823
sent a signal to the bzr process specifically, for example by typing
1824
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1826
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
1827
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
1828
(Robert Collins, #416732)
1830
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
1831
format" (John Arbash Meinel, #424392)
1833
* ``bzr log stacked-branch`` shows the full log including
1834
revisions that are in the fallback repository. (Regressed in 2.0rc1).
1835
(John Arbash Meinel, #419241)
1837
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1838
traceback. (Martin Pool, #109115)
1840
* Conversion to 2a will create a single pack for all the new revisions (as
1841
long as it ran without interruption). This improves both ``bzr upgrade``
1842
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
1843
The autopack logic that occurs every 100 revisions during local
1844
conversions was not returning that pack's identifier, which resulted in
1845
the partial packs created during the conversion not being consolidated
1846
at the end of the conversion process. (Robert Collins, #423818)
1848
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
1849
Groups that are seen as 'underutilized' will be repacked on-the-fly.
1850
This means that when the source is fully packed, there is minimal
1851
overhead during the fetch, but if the source is poorly packed the result
1852
is a fairly well packed repository (not as good as 'bzr pack' but
1853
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
1855
* Fix a potential segmentation fault when doing 'log' of a branch that had
1856
ghosts in its mainline. (Evaluating None as a tuple is bad.)
1857
(John Arbash Meinel, #419241)
1859
* ``groupcompress`` sort order is now more stable, rather than relying on
1860
``topo_sort`` ordering. The implementation is now
1861
``KnownGraph.gc_sort``. (John Arbash Meinel)
1863
* Local data conversion will generate correct deltas. This is a critical
1864
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
1865
converting repositories. (Robert Collins, #422849)
1867
* Network streams now decode adjacent records of the same type into a
1868
single stream, reducing layering churn. (Robert Collins)
1870
* Prevent some kinds of incomplete data from being committed to a 2a
1871
repository, such as revisions without inventories, a missing chk_bytes
1872
record for an inventory, or a missing text referenced by an inventory.
1873
(Andrew Bennetts, #423506, #406687)
1878
* Fix assertion error about "_remember_remote_is_before" when pushing to
1879
older smart servers.
1880
(Andrew Bennetts, #418931)
1882
* Help on hooks no longer says 'Not deprecated' for hooks that are
1883
currently supported. (Ian Clatworthy, #422415)
1885
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
1886
user documentation. The HTML documentation is better broken up into
1887
topics. (Ian Clatworthy)
1889
* The developer and foreign language documents are now separated
1890
out so that searching in the HTML and CHM files produces more
1891
useful results. (Ian Clatworthy)
1893
* The main table of contents now provides links to the new Migration Docs
1894
and Plugins Guide. (Ian Clatworthy)
1900
:Codename: no worries
1901
:2.0.0rc1: 2009-08-26
1903
Compatibility Breaks
1904
********************
1906
* The default format for bzr is now ``2a``. This format brings many
1907
significant performance and size improvements. bzr can pull from
1908
any existing repository into a ``2a`` one, but can only transfer
1909
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
1910
has more information about this change. (Robert Collins)
1912
* On Windows auto-detection of Putty's plink.exe is disabled.
1913
Default SSH client for Windows is paramiko. User still can force
1914
usage of plink if explicitly set environment variable BZR_SSH=plink.
1915
(#414743, Alexander Belchenko)
1920
* ``bzr branch --switch`` can now switch the checkout in the current directory
1921
to the newly created branch. (Lukáš Lalinský)
1926
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1927
(Jason Spashett, #76616)
1929
* Fetches were being requested in 'groupcompress' order, but weren't
1930
recombining the groups. Thus they would 'fragment' to get the correct
1931
order, but not 'recombine' to actually benefit from it. Until we get
1932
recombining to work, switching to 'unordered' fetches avoids the
1933
fragmentation. (John Arbash Meinel, #402645)
1935
* Fix a pycurl related test failure on karmic by recognizing an error
1936
raised by newer versions of pycurl.
1937
(Vincent Ladeuil, #306264)
1939
* Fix a test failure on karmic by making a locale test more robust.
1940
(Vincent Ladeuil, #413514)
1942
* Fix IndexError printing CannotBindAddress errors.
1943
(Martin Pool, #286871)
1945
* Fix "Revision ... not present" errors when upgrading stacked branches,
1946
or when doing fetches from a stacked source to a stacked target.
1947
(Andrew Bennetts, #399140)
1949
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
1950
batches together small fetches from 2a repositories, rather than
1951
fetching only a few hundred bytes at a time.
1952
(Andrew Bennetts, #402657)
1957
* A better description of the platform is shown in crash tracebacks, ``bzr
1958
--version`` and ``bzr selftest``.
1959
(Martin Pool, #409137)
1961
* bzr can now (again) capture crash data through the apport library,
1962
so that a single human-readable file can be attached to bug reports.
1963
This can be disabled by using ``-Dno_apport`` on the command line, or by
1964
putting ``no_apport`` into the ``debug_flags`` section of
1966
(Martin Pool, Robert Collins, #389328)
1968
* ``bzr push`` locally on windows will no longer give a locking error with
1969
dirstate based formats. (Robert Collins)
1971
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
1972
(Robert Collins, #305006)
1974
* Commit of specific files no longer prevents using the iter_changes
1975
codepath. On 2a repositories, commit of specific files should now be as
1976
fast, or slightly faster, than a full commit. (Robert Collins)
1978
* The internal core code that handles specific file operations like
1979
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
1980
include the parent directories if they have altered, and when a
1981
directory stops being a directory its children are always included. This
1982
fixes a number of causes for ``InconsistentDelta`` errors, and permits
1983
faster commit of specific paths. (Robert Collins, #347649)
1988
* New developer documentation for content filtering.
1994
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
1995
classes changed to manage lock lifetime of the trees they open in a way
1996
consistent with reader-exclusive locks. (Robert Collins, #305006)
2004
:Codename: nein nein nein!
2007
This release fixes two small but worthwhile bugs relevant to users on
2008
Microsoft Windows: some commands that failed on with locking errors will
2009
now work, and a bug that caused poor performance after committing a file
2010
with line-ending conversion has now been fixed. It also fixes a bug in
2011
pushing to older servers.
2016
* Fixed a problem where using content filtering and especially end-of-line
2017
conversion will commit too many copies a file.
2018
(Martin Pool, #415508)
2020
* Fix assertion error about ``_remember_remote_is_before`` in
2021
``set_tags_bytes`` when pushing to older smart servers.
2022
(Andrew Bennetts, Alexander Belchenko, #418931)
2027
* ``bzr push`` locally on Windows will no longer give a locking error with
2028
dirstate based formats. (Robert Collins)
2030
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
2031
(Robert Collins, #305006)
2036
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2037
classes changed to manage lock lifetime of the trees they open in a way
2038
consistent with reader-exclusive locks. (Robert Collins, #305006)
2040
* ``Tree.path_content_summary`` may return a size of None, when called on
2041
a tree with content filtering where the size of the canonical form
2042
cannot be cheaply determined. (Martin Pool)
2044
* When manually creating transport servers in test cases, a new helper
2045
``TestCase.start_server`` that registers a cleanup and starts the server
2046
should be used. (Robert Collins)
2051
Compatibility Breaks
2052
********************
2054
* Committing directly to a stacked branch from a lightweight checkout will
2055
no longer work. In previous versions this would appear to work but would
2056
generate repositories with insufficient data to create deltas, leading
2057
to later errors when branching or reading from the repository.
2058
(Robert Collins, bug #375013)
2066
* Fetching from 2a branches from a version-2 bzr protocol would fail to
2067
copy the internal inventory pages from the CHK store. This cannot happen
2068
in normal use as all 2a compatible clients and servers support the
2069
version-3 protocol, but it does cause test suite failures when testing
2070
downlevel protocol behaviour. (Robert Collins)
2072
* Fix a test failure on karmic by making a locale test more robust.
2073
(Vincent Ladeuil, #413514)
2075
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
2076
fully packed 2a repository. (Andrew Bennetts, #382463)
2078
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2079
(Jason Spashett, #76616)
2081
* Properly handle fetching into a stacked branch while converting the
2082
data, especially when there are also ghosts. The code was filling in
2083
parent inventories incorrectly, and also not handling when one of the
2084
parents was a ghost. (John Arbash Meinel, #402778, #412198)
2086
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
2087
inventory pages when appropriate (by falling back to the vfs stream
2088
source). (Andrew Bennetts, #406686)
2090
* StreamSource generates rich roots from non-rich root sources correctly
2091
now. (Andrew Bennetts, #368921)
2093
* When deciding whether a repository was compatible for upgrading or
2094
fetching, we previously incorrectly checked the default repository
2095
format for the bzrdir format, rather than the format that was actually
2096
present on disk. (Martin Pool, #408824)
2101
* A better description of the platform is shown in crash tracebacks, ``bzr
2102
--version`` and ``bzr selftest``.
2103
(Martin Pool, #409137)
2105
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
2106
smart server are more efficient now. They send inventory deltas rather
2107
than full inventories. The smart server has two new requests,
2108
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
2109
support this. (Andrew Bennetts, #374738, #385826)
2111
* Extracting the full ancestry and computing the ``merge_sort`` is now
2112
significantly faster. This effects things like ``bzr log -n0``. (For
2113
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
2114
(John Arbash Meinel)
2125
* ``-Dstrict_locks`` can now be used to check that read and write locks
2126
are treated properly w.r.t. exclusivity. (We don't try to take an OS
2127
read lock on a file that we already have an OS write lock on.) This is
2128
now set by default for all tests, if you have a test which cannot be
2129
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
2130
compatibility knob. (John Arbash Meinel)
2132
* InterDifferingSerializer is now only used locally. Other fetches that
2133
would have used InterDifferingSerializer now use the more network
2134
friendly StreamSource, which now automatically does the same
2135
transformations as InterDifferingSerializer. (Andrew Bennetts)
2137
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
2138
are implemented in pyrex and significantly faster. This is exposed along
2139
with ``CombinedGraphIndex.find_ancestry()`` as
2140
``VersionedFiles.get_known_graph_ancestry(keys)``.
2141
(John Arbash Meinel)
2143
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
2144
protocols. (Robert Collins)
2146
* The index code now has some specialized routines to extract the full
2147
ancestry of a key in a more efficient manner.
2148
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
2149
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
2155
* Install the test ssl certificate and key so that installed bzr
2156
can run the https tests. (Denys Duchier, #392401)
2162
:Codename: little traveller
2164
:1.18rc1: 2009-08-10
2166
This release of Bazaar marches on towards the 2.0 release in which the 2a
2167
'brisbane-core' format becomes generally recommended. Most of the work in
2168
this release now focusses on bug fixes and stabilization, covering both 2a
2169
and previous formats. There is a new text-mode interactive merge feature,
2170
a new guide to migration to 2a format in the user documentation, and
2171
pushing branches to a smart server is now much faster.
2173
The Bazaar team decided that 2.0 will be a long-term supported release,
2174
with bugfix-only releases based on it continuing for at least six months
2175
or until the following stable release.
2177
There are no changes from 1.18rc1 to 1.18.
2182
* ``bzr merge --interactive`` applies a user-selected portion of the
2183
merge. The UI is similar to ``shelve``. (Aaron Bentley)
2185
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
2186
``--unstacked`` to change stacking of a branch.
2187
(Martin Pool, #391411)
2192
* Annotating on a stacked branch will now succeed in simple scenarios.
2193
There are still some complex scenarios where it will fail (bug #399884)
2194
(John Arbash Meinel, #393366)
2196
* A progress bar is no longer left dangling when ``bzr selftest``
2197
completes, and the progress bar updates with zero latency so the
2198
displayed test name is always the one that's actually running.
2199
(Martin Pool, #123688)
2201
* Authenticating against an ssh server now uses ``auth_none`` to determine
2202
if password authentication is even supported. This fixes a bug where
2203
users would be prompted for a launchpad password, even though launchpad
2204
only supports publickey authentication. (John Arbash Meinel, #375867)
2206
* BranchBuilder now accepts timezone to avoid test failures in countries far
2207
from GMT. (Vincent Ladeuil, #397716)
2209
* ``bzr commit`` no longer saves the unversioning of missing files until
2210
the commit has completed on the branch. This means that aborting a
2211
commit that found a missing file will leave the tree unedited.
2212
(Robert Collins, #282402)
2214
* ``bzr mv`` no longer takes out branch locks, which allows it to work
2215
when the branch is readonly. (Robert Collins, #216541)
2217
* ``bzr revert .`` no longer generates an InconsistentDelta error when
2218
there are missing subtrees. (Robert Collins, #367632)
2220
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
2221
do to internal changes necessary to support this, older clients will
2222
fail when trying to insert them. For newer clients, the bundle can be
2223
used to apply the changes to any rich-root compatible format.
2224
(John Arbash Meinel, #393349)
2226
* Cope with FTP servers that don't support restart/append by falling back
2227
to reading and then rewriting the whole file, such as TahoeLAFS. (This
2228
fallback may be slow for some access patterns.) (Nils Durner, #294709)
2230
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
2231
external diff client. This at least allows supporting filenames that are
2232
not ascii, but are present in the current locale. Ideally we would be
2233
able to pass the Unicode path, but that would be client dependent.
2234
(John Arbash Meinel, #382709)
2236
* Fix a compile bug on Solaris having to do with const and
2237
pointer-to-pointers. (John Arbash Meinel, #408441)
2239
* Fixed a NameError that occurs when merging or pulling from a URL that
2240
causes a redirection loop when bzr tries to read a URL as a bundle.
2241
(Andrew Bennetts, #400847)
2243
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
2244
running send and similar commands on 2a formats.
2245
(Martin Pool, #408201)
2247
* Fix crash in some invocations of ``bzr status`` in format 2a.
2248
(Martin Pool, #403523)
2250
* Fixed export to existing directory: if directory is empty then export
2251
will succeed, otherwise it fails with error.
2252
(Alexander Belchenko, #406174)
2254
* Fixed spurious "Source branch does not support stacking" warning when
2255
pushing. (Andrew Bennetts, #388908)
2257
* Fixed spurious transport activity indicator appearing while tests are
2258
running. (Martin Pool, #343532)
2260
* Merge now correctly handles empty right-hand revision specs.
2261
(Aaron Bentley, #333961)
2263
* Renames to lexographically lower basenames in trees that have never been
2264
committed to will no longer corrupt the dirstate. This was caused by an
2265
bug in the dirstate update_minimal method. (Robert Collins, #395556)
2267
* Requests for unknown methods no longer cause the smart server to log
2268
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
2269
``do_end``. (Andrew Bennetts, #338561)
2271
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
2273
* Streaming from bzr servers where there is a chain of stacked branches
2274
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
2276
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
2277
always forces progress bars either on or off respectively. Otherwise,
2278
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
2279
bzr always uses the 'text' user interface when run as a command, so
2280
``BZR_USE_TEXT_UI`` is no longer needed.
2281
(Martin Pool, #339385, #387717)
2283
* The optional ``_knit_load_data_pyx`` C extension was never being
2284
imported. This caused significant slowdowns when reading data from
2285
repositories. (Andrew Bennetts, #405653)
2287
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
2288
supported at the moment on workingtree formats that can do content
2289
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
2290
bzr now says so, rather than just ignoring the option. (Martin Pool)
2292
* There was a bug in ``osutils.relpath`` that was only triggered on
2293
Windows. Essentially if you were at the root of a drive, and did
2294
something to a branch/repo on another drive, we would go into an
2295
infinite loop while trying to find a 'relative path'.
2296
(John Arbash Meinel, #394227)
2298
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
2299
were present in a parent tree but renamed in the working tree.
2300
(Robert Collins, #187207)
2305
* Can now rename/move files even if they have been removed from the inventory.
2308
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
2309
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
2310
than VFS methods. For example, pushes of small branches with tags take
2311
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
2313
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
2314
the same way that sending Ctrl-\\ does on other platforms.
2315
(John Arbash Meinel)
2320
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
2325
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
2326
need to subclass or create a specific class, or better yet the existing
2327
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
2328
user interaction at all, rather than trying to read from stdin but not
2329
writing any output, which would be strange if reading prompts or
2330
passwords. (Martin Pool)
2332
* New TransformPreview.commit() allows committing without a working tree.
2335
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
2338
* ProgressTasks now prefer to talk direct to their ProgressView not to the
2342
* ``WorkingTree._check`` now requires a references dict with keys matching
2343
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
2348
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
2349
reading the entries along the path, reducing work to lookup ids from
2350
paths. (Robert Collins)
2352
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
2353
as new a key which was already mapped. (Robert Collins)
2355
* Inventory delta application catches more cases of corruption and can
2356
prevent corrupt deltas from affecting consistency of data structures on
2357
disk. (Robert Collins)
2359
* --subunit support now adds timestamps if the subunit version supports
2360
it. (Robert Collins)
2362
* The Windows all-in-one installer now bundles the PyQt image format
2363
plugins, which allows previewing more images as part of 'qdiff'.
2364
(Alexander Belchenko)
2370
* Merge directive cherrypick tests must use the same root id.
2371
(Martin Pool, #409684)
2373
* Spurious failure in ``check`` tests on rich-root formats fixed.
2374
(Martin Pool, #408199)
2376
* The ``bzrlib.tests.TextTestRunner`` will no longer call
2377
``countTestsCases`` on the test being run. Progress information is
2378
instead handled by having the test passed in call ``result.progress``
2379
before running its contents. This improves the behaviour when using
2380
``TextTestRunner`` with test suites that don't support
2381
``countTestsCases``. (Robert Collins)
2384
bzr 1.17.1 (unreleased)
2385
#######################
2390
* The optional ``_knit_load_data_pyx`` C extension was never being
2391
imported. This caused significant slowdowns when reading data from
2392
knit format repositories. (Andrew Bennetts, #405653)
2397
:Codename: so-late-its-brunch
2398
:1.17rc1: 2009-07-13
2402
Bazaar continues to blaze a straight and shining path to the 2.0 release and
2403
the elevation of the ``2a`` beta format to the full glory of "supported and
2406
Highlights in this release include greatly reduced memory consumption during
2407
commits, faster ``ls``, faster ``annotate``, faster network operations if
2408
you're specifying a revision number and the final destruction of those
2409
annoying progress bar artifacts.
2412
Changes from 1.17rc1 to 1.17final
2413
*********************************
2415
* Change an extension to call the python ``frozenset()`` rather than the C
2416
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
2417
C api. (John Arbash Meinel, #399366)
2419
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
2420
``tools/generate_docs.py`` to allow everything to be built on Windows.
2421
(John Arbash Meinel, #399356)
2423
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
2424
directory before serving it. (Andrew Bennetts, #400535)
2427
Compatibility Breaks
2428
********************
2430
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
2431
instead of "product" which is the correct Launchpad terminology. The
2432
--product option is deprecated and users should switch to using --project.
2433
(Neil Martinsen-Burrell, #238764)
2439
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
2440
are present in the working tree (if one is present) and no revision is
2441
specified. The configuration option ``push_strict`` can be used to set the
2442
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
2444
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
2445
show revision info for the working tree instead of the branch.
2446
(Matthew Fuller, John Arbash Meinel)
2448
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
2449
are present in the working tree and no revision is specified. The
2450
configuration option ``send_strict`` can be used to set the default for this
2452
(Vincent Ladeuil, #206577)
2454
* ``bzr switch --create-branch/-b`` can now be used to create and switch
2455
to a new branch. Supplying a name without a ``/`` will create the branch
2456
relative to the existing branch. (similar to how ``bzr switch name``
2457
works when the branch already exists.) (John Arbash Meinel)
2463
* Accept uppercase "Y/N" to prompts such as from break lock.
2464
(#335182, Tim Powell, Martin Pool)
2466
* Add documentation about diverged branches and how to fix them in the
2467
centralized workflow with local commits. Mention ``bzr help
2468
diverged-branches`` when a push fails because the branches have
2469
diverged. (Neil Martinsen-Burrell, #269477)
2471
* Annotate would sometimes 'latch on' to trivial lines, causing important
2472
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
2474
* Automatic format upgrades triggered by default stacking policies on a
2475
1.16rc1 (or later) smart server work again.
2476
(Andrew Bennetts, #388675)
2478
* Avoid progress bar artifacts being left behind on the screen.
2479
(Martin Pool, #321935)
2481
* Better message in ``bzr split`` error suggesting a rich root format.
2482
(Neil Martinsen-Burrell, #220067)
2484
* ``Branch.set_append_revisions_only`` now works with branches on a smart
2485
server. (Andrew Bennetts, #365865)
2487
* By default, ``bzr branch`` will fail if the target directory exists, but
2488
does not already have a control directory. The flag ``--use-existing-dir``
2489
will allow operation to proceed. (Alexander Belchenko, #307554)
2491
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
2494
* Fetch between repositories does not error if they have inconsistent data
2495
that should be irrelevant to the fetch operation. (Aaron Bentley)
2497
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
2498
of a remote repository.
2499
(Jelmer Vernooij, #332194)
2501
* Fix bug in decoding v3 smart server messages when receiving multiple
2502
lots of excess bytes after an end-of-message.
2505
* Force deletion of readonly files during merge, update and other tree
2507
(Craig Hewetson, Martin Pool, #218206)
2509
* Force socket shutdown in threaded http test servers to avoid client hangs
2510
(pycurl). (Vincent Ladeuil, #383920).
2512
* ``LRUCache`` will maintain the linked list pointers even if a nodes
2513
cleanup function raises an exception. (John Arbash Meinel, #396838)
2515
* Progress bars are now suppressed again when the environment variable
2516
``BZR_PROGRESS_BAR`` is set to ``none``.
2517
(Martin Pool, #339385)
2519
* Reduced memory consumption during ``bzr commit`` of large files. For
2520
pre 2a formats, should be down to ~3x the size of a file.
2521
For ``--2a`` format repositories, it is down to the size of the file
2522
content plus the size of the compressed text. Related to bug #109114.
2523
(John Arbash Meinel)
2525
* Set hidden attribute on .bzr directory below unicode path should never
2526
fail with error. The operation should succeed even if bzr unable to set
2527
the attribute. (Alexander Belchenko, related to bug #335362).
2529
* Stacking will no longer accept requests to stack on the same
2530
branch/repository. Existing branches that incorrectly reference the same
2531
repository in a stacking configuration will now raise
2532
UnstackableLocationError when the branch is opened. This can be fixed by
2533
removing the stacking location inside ``.bzr/branch``.
2534
(Robert Collins, #376243)
2536
* The ``log+`` decorator, useful in debugging or profiling, could cause
2537
"AttributeError: 'list' object has no attribute 'next'". This is now
2538
fixed. The log decorator no longer shows the elapsed time or transfer
2539
rate because they're available in the log prefixes and the transport
2540
activity display respectively.
2541
(Martin Pool, #340347)
2543
* Unshelve works correctly when multiple zero-length files are present on
2544
the shelf. (Aaron Bentley, #363444)
2546
* Progress bars no longer show the network transport scheme or direction.
2549
* launchpad-login now respects the 'verbose' option.
2550
(Jonathan Lange, #217031)
2556
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
2557
possible to write a deprecation wrapper, but the variable will be
2558
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
2559
instead. (Alexander Belchenko)
2561
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
2562
three new hook points: ``get_command``, ``get_missing_command`` and
2563
``list_commands``, which allow just-in-time command name provision
2564
rather than requiring all command names be known a-priori.
2567
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
2568
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
2570
* ``graph.KnownGraph`` has been added. This is a class that can give
2571
answers to ``heads()`` very quickly. However, it has the assumption that
2572
the whole graph has already been loaded. This is true during
2573
``annotate`` so it is used there with good success (as much as 2x faster
2574
for files with long ancestry and 'cherrypicked' changes.)
2575
(John Arbash Meinel, Vincent Ladeuil)
2577
* OS file locks are now taken out using ``CreateFile`` rather than
2578
``LockFileEx`` on Windows. The locking remains exclusive with
2579
``LockFileEx`` but now it also works on older versions of Windows (such
2580
as Win98). (Martin <gzlist>)
2582
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
2583
than the ``Packer`` code. The user visible change is that we now
2584
properly fetch the minimum number of texts for non-smart fetching.
2585
(John Arbash Meinel)
2588
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
2589
the repository as a single string, rather than a list of lines. This can
2590
improve memory overhead and performance of committing large files.
2591
(Currently a private api, used only by commit). (John Arbash Meinel)
2597
* ``bzr annotate`` can now be significantly faster. The time for
2598
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
2599
histories and lots of 'duplicate insertions' will be improved more than
2600
others. (John Arbash Meinel, Vincent Ladeuil)
2602
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
2603
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
2604
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
2606
* Improve "Path(s) are not versioned" error reporting for some commands.
2609
* Initial commit performance in ``--2a`` repositories has been improved by
2610
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
2612
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
2613
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
2614
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
2616
* ``revision-info`` now properly aligns the revnos/revids in the output
2617
and doesn't traceback when given revisions not in the current branch.
2618
Performance is also significantly improved when requesting multiple revs
2619
at once. (Matthew Fuller, John Arbash Meinel)
2621
* Tildes are no longer escaped by Transports. (Andy Kilner)
2627
* Avoid bad text wrapping in generated documentation. Slightly better
2628
formatting in the user reference.
2629
(Martin Pool, #249908)
2631
* Minor clarifications to the help for End-Of-Line conversions.
2637
* Removed overspecific error class ``InvalidProgressBarType``.
2640
* The method ``ProgressView._show_transport_activity`` is now
2641
``show_transport_activity`` because it's part of the contract between
2642
this class and the UI. (Martin Pool)
2648
:Released: 2009-06-26
2650
End user testing of the 2a format revealed two serious bugs. The first,
2651
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
2652
This meant that commits or pushes to 2a-format repositories failed
2655
The second bug, #390563, caused the smart server to raise AbsentContentFactory
2656
when streaming 2a stacked 2a-format branches. This particularly affected
2657
branches stored on Launchpad in the 2a format.
2659
Both of these bugs cause command failures only, neither of them cause data
2660
corruption or data loss. And, of course, both of these bugs are now fixed.
2665
* We now properly request a more minimal set of file texts when fetching
2666
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
2668
* Repositories using CHK pages (which includes the new 2a format) will no
2669
longer error during commit or push operations when an autopack operation
2670
is triggered. (Robert Collins, #365615)
2672
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
2673
of referenced nodes rather than the *union* to determine what
2674
uninteresting pages we still need to look at. Prior to this,
2675
incrementally pushing to stacked branch would push the minimal data, but
2676
fetching everything would request extra texts. There are some unhandled
2677
cases wrt trees of different depths, but this fixes the common cases.
2678
(Robert Collins, John Arbash Meinel, #390563)
2680
* ``GroupCompress`` repositories now take advantage of the pack hints
2681
parameter to permit cross-format fetching to incrementally pack the
2682
converted data. (Robert Collins)
2684
* ``Repository.commit_write_group`` now returns opaque data about what
2685
was committed, for passing to the ``Repository.pack``. Repositories
2686
without atomic commits will still return None. (Robert Collins)
2688
* ``Repository.pack`` now takes an optional ``hint`` parameter
2689
which will support doing partial packs for repositories that can do
2690
that. (Robert Collins)
2692
* RepositoryFormat has a new attribute 'pack_compresses' which is True
2693
when doing a pack operation changes the compression of content in the
2694
repository. (Robert Collins)
2696
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
2697
``Repository.pack`` with the hint returned by
2698
``Repository.commit_write_group`` if the formats were different and the
2699
repository can increase compression by doing a pack operation.
2700
(Robert Collins, #376748)
2705
:Codename: yesterday-in-california
2706
:1.16rc1: 2009-06-11
2709
This version of Bazaar contains the beta release of the new ``2a`` repository
2710
format, suitable for testing by fearless, advanced users. This format or an
2711
updated version of it will become the default format in Bazaar 2.0. Please
2712
read the NEWS entry before even thinking about upgrading to the new format.
2714
Also included are speedups for many operations on huge projects, a bug fix for
2715
pushing stacked new stacked branches to smart servers and the usual bevy of
2716
bug fixes and improvements.
2719
Changes from 1.16rc1 to 1.16final
2720
*********************************
2722
* Fix the nested tree flag check so that upgrade from development formats to
2723
2a can work correctly.
2724
(Jelmer Vernooij, #388727)
2726
* Automatic format upgrades triggered by default stacking policies on a
2727
1.16rc1 (or later) smart server work again.
2728
(Andrew Bennetts, #388675)
2731
Compatibility Breaks
2732
********************
2734
* Display prompt on stderr (instead of stdout) when querying users so
2735
that the output of commands can be safely redirected.
2736
(Vincent Ladeuil, #376582)
2742
* A new repository format ``2a`` has been added. This is a beta release
2743
of the brisbane-core (aka group-compress) project. This format now
2744
suitable for wider testing by advanced users willing to deal with some
2745
bugs. We would appreciate test reports, either positive or negative.
2746
Format 2a is substantially smaller and faster for many operations on
2747
many trees. This format or an updated version will become the default
2750
This is a rich-root format, so this repository format can be used with
2751
bzr-svn. Bazaar branches in previous non-rich-root formats can be
2752
converted (including by merge, push and pull) to format 2a, but not vice
2753
versa. We recommend upgrading previous development formats to 2a.
2755
Upgrading to this format can take considerable time because it expands
2756
and more concisely repacks the full history.
2758
If you use stacked branches, you must upgrade the stacked branches
2759
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
2761
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
2762
but using a Revision serializer using bencode rather than XML.
2763
(Jelmer Vernooij, John Arbash Meinel)
2765
* mail_client=claws now supports --body (and message body hooks). Also uses
2766
configured from address. (Barry Warsaw)
2772
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
2773
bugs with stacking and non default formats.)
2774
(John Arbash Meinel, #373455)
2776
* ``--development6-rich-root`` delays generating a delta index for the
2777
first object inserted into a group. This has a beneficial impact on
2778
``bzr commit`` since each committed texts goes to its own group. For
2779
committing a 90MB file, it drops peak memory by about 200MB, and speeds
2780
up commit from 7s => 4s. (John Arbash Meinel)
2782
* Numerous operations are now faster for huge projects, i.e. those
2783
with a large number of files and/or a large number of revisions,
2784
particularly when the latest development format is used. These
2785
operations (and improvements on OpenOffice.org) include:
2787
* branch in a shared repository (2X faster)
2788
* branch --no-tree (100X faster)
2794
* Pyrex version of ``bencode`` support. This provides optimized support
2795
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
2796
``bzrlib.utils.bencode`` is now deprecated.
2797
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
2803
* Bazaar can now pass attachment files to the mutt email client.
2804
(Edwin Grubbs, #384158)
2806
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
2807
see which files can also be added. (Jason Spashett, #76616)
2809
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
2810
Also, the ``Branch.revision_history()`` API now works in the same
2811
situation. (Andrew Bennetts, #380314)
2813
* ``bzr serve`` on Windows no longer displays a traceback simply because a
2814
TCP client disconnected. (Andrew Bennetts)
2816
* Clarify the rules for locking and fallback repositories. Fix bugs in how
2817
``RemoteRepository`` was handling fallbacks along with the
2818
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
2820
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
2821
branch. Not often triggered, because it required ghosts to be part of
2822
the fetched revisions, not in the stacked-on ancestry.
2823
(John Arbash Meinel)
2825
* Fix status and commit to work with content filtered trees, addressing
2826
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
2828
* Fix problem of "directory not empty" when contending for a lock over
2829
sftp. (Martin Pool, #340352)
2831
* Fix rule handling so that eol is optional, not mandatory.
2832
(Ian Clatworthy, #379370)
2834
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
2835
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
2836
1.16, but required changes to the network protocol, so the
2837
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
2838
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
2839
still work with a 1.16 server as they will fallback to slower (and
2841
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
2843
* Reconcile can now deal with text revisions that originated in revisions
2844
that are ghosts. (Jelmer Vernooij, #336749)
2846
* Support cloning of branches with ghosts in the left hand side history.
2847
(Jelmer Vernooij, #248540)
2849
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
2850
helpful message to the trace file, unless the temp directory really was
2851
removed (which would be very strange). Since the diff operation has
2852
succeeded from the user's perspective, no output is written to stderr
2853
or stdout. (Maritza Mendez, #363837)
2855
* Translate errors received from a smart server in response to a
2856
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2857
This was causing tracebacks even for mundane errors like
2858
``PermissionDenied``. (Andrew Bennetts, #381329)
2863
* Added directory structure and started translation of docs in Russian.
2864
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
2865
Volodymyr Kotulskyi)
2870
* Added osutils.parent_directories(). (Ian Clatworthy)
2872
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
2873
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
2874
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
2876
* ``graph.StackedParentsProvider`` is now a public API, replacing
2877
``graph._StackedParentsProvider``. The api is now considered stable and ready
2878
for external users. (Gary van der Merwe)
2880
* ``bzrlib.user_encoding`` is deprecated in favor of
2881
``get_user_encoding``. (Alexander Belchenko)
2883
* TreeTransformBase no longer assumes that limbo is provided via disk.
2884
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
2889
* Remove ``weave.py`` script for accessing internals of old weave-format
2890
repositories. (Martin Pool)
2895
* ``make check`` no longer repeats the test run in ``LANG=C``.
2896
(Martin Pool, #386180)
2898
* The number of cores is now correctly detected on OSX. (John Szakmeister)
2900
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
2902
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
2907
:1.15rc1: 2009-05-16
2911
The smart server will no longer raise 'NoSuchRevision' when streaming content
2912
with a size mismatch in a reconstructed graph search. New command ``bzr
2913
dpush``. Plugins can now define their own annotation tie-breaker when two
2914
revisions introduce the exact same line.
2916
Changes from 1.15.1 to 1.15.2
2917
*****************************
2919
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
2920
(Alexander Belchenko)
2922
Changes from 1.15final to 1.15.1
2923
*********************************
2925
* Translate errors received from a smart server in response to a
2926
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2927
This was causing tracebacks even for mundane errors like
2928
``PermissionDenied``. (Andrew Bennetts, #381329)
2930
Changes from 1.15rc1 to 1.15final
2931
*********************************
2935
Compatibility Breaks
2936
********************
2938
* ``bzr ls`` is no longer recursive by default. To recurse, use the
2939
new ``-R`` option. The old ``--non-recursive`` option has been removed.
2940
If you alias ``ls`` to ``ls -R``, you can disable recursion using
2941
``--no-recursive`` instead. (Ian Clatworthy)
2946
* New command ``bzr dpush`` that can push changes to foreign
2947
branches (svn, git) without setting custom bzr-specific metadata.
2950
* The new development format ``--development6-rich-root`` now supports
2951
stacking. We chose not to use a new format marker, since old clients
2952
will just fail to open stacked branches, the same as if we used a new
2953
format flag. (John Arbash Meinel, #373455)
2955
* Plugins can now define their own annotation tie-breaker when two revisions
2956
introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
2957
Be aware though that this is temporary, private (as indicated by the leading
2958
'_') and a first step to address the problem. (Vincent Ladeuil, #348459)
2960
* New command ``bzr dpush`` that can push changes to foreign
2961
branches (svn, git) without setting custom bzr-specific metadata.
2964
* ``bzr send`` will now check the ``child_submit_format`` setting in
2965
the submit branch to determine what format to use, if none was
2966
specified on the command-line. (Jelmer Vernooij)
2971
* -Dhpss output now includes the number of VFS calls made to the remote
2972
server. (Jonathan Lange)
2974
* ``--coverage`` works for code running in threads too.
2975
(Andrew Bennets, Vincent Ladeuil)
2977
* ``bzr pull`` now has a ``--local`` option to only make changes to the
2978
local branch, and not the bound master branch.
2979
(Gary van der Merwe, #194716)
2981
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
2986
* Adding now works properly when path contains a symbolic link.
2987
(Geoff Bache, #183831)
2989
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
2991
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
2992
line, and the other side modifies the line. (John Arbash Meinel, #328171)
2994
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
2995
(Martin von Gagern, #248932)
2997
* ``bzr send`` works to send emails again using MAPI.
2998
(Neil Martinsen-Burrell, #346998)
3000
* Check for missing parent inventories in StreamSink. This prevents
3001
incomplete stacked branches being created by 1.13 bzr:// and
3002
bzr+ssh:// clients (which have bug #354036). Instead, the server now
3003
causes those clients to send the missing records. (Andrew Bennetts)
3005
* Correctly handle http servers proposing multiple authentication schemes.
3006
(Vincent Ladeuil, #366107)
3008
* End-Of-Line content filters are now loaded correctly.
3009
(Ian Clatworthy, Brian de Alwis, #355280)
3011
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3012
longer than 64KiB. (John Arbash Meinel, #364900)
3014
* Fix TypeError in running ``bzr break-lock`` on some URLs.
3015
(Alexander Belchenko, Martin Pool, #365891)
3017
* Non-recursive ``bzr ls`` now works properly when a path is specified.
3018
(Jelmer Vernooij, #357863)
3020
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
3021
(Vincent Ladeuil, #367726)
3023
* Several bugs related to unicode symlinks have been fixed and the test suite
3024
enhanced to better catch regressions for them. (Vincent Ladeuil)
3026
* The smart server will no longer raise 'NoSuchRevision' when streaming
3027
content with a size mismatch in a reconstructed graph search: it assumes
3028
that the client will make sure it is happy with what it got, and this
3029
sort of mismatch is normal for stacked environments.
3030
bzr 1.13.0/1 will stream from unstacked branches only - in that case not
3031
getting all the content expected would be a bug. However the graph
3032
search is how we figured out what we wanted, so a mismatch is both odd
3033
and unrecoverable without starting over, and starting over will end up
3034
with the same data as if we just permitted the mismatch. If data is
3035
gc'd, doing a new search will find only the truncated data, so sending
3036
only the truncated data seems reasonable. bzr versions newer than this
3037
will stream from stacked branches and check the stream to find missing
3038
content in the stacked-on branch, and thus will handle the situation
3039
implicitly. (Robert Collins, #360791)
3041
* Upgrading to, or fetching into a 'rich-root' format will now correctly
3042
set the root data the same way that reconcile does.
3043
(Robert Collins, #368921)
3045
* Using unicode Windows API to obtain command-line arguments.
3046
(Alexander Belchenko, #375934)
3054
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
3055
instead of ``InstallFailed`` when they detect a missing revision.
3056
``InstallFailed`` itself has been deleted. (Jonathan Lange)
3058
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
3059
arguments from ``osutils.get_unicode_argv()`` which has proper support
3060
for unicode arguments on windows. Further, the supplied arguments are now
3061
required to be unicode strings, rather than user_encoded strings.
3062
(Alexander Belchenko)
3067
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
3068
class and will call ``_set_parent_location`` after doing unicode
3069
encoding. (Robert Collins)
3071
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
3072
``Branch.set_parent_location`` removing further VFS operations.
3075
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
3076
or similar when the dir supports configuration settings. The base class
3077
defaults to None. There is a matching new server verb
3078
``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
3079
configuration. (Robert Collins)
3081
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
3082
called before the first test is started, ``done`` called after the last
3083
test completes, and a new parameter ``strict``. (Robert Collins)
3085
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
3086
VFS operations are started on a smart server repository. This should not
3087
occur on regular push and pull operations, and is a key indicator for
3088
performance regressions. (Robert Collins)
3090
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
3091
cause mismatched physical locks to cause test errors rather than just
3092
reporting to the screen. (Robert Collins)
3094
* -Dprogress will cause pdb to start up if a progress view jumps
3095
backwards. (Robert Collins)
3097
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
3098
are now be able to provide credentials if obtaining credentials
3099
via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij,
3100
Vincent Ladeuil, #321918)
3102
* New hook ``Lock.lock_broken`` which runs when a lock is
3103
broken. This is mainly for testing that lock/unlock are
3104
balanced in tests. (Vincent Ladeuil)
3106
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
3107
alter a body for the message produced by ``bzr send``.
3109
* New smart server verb ``BzrDir.initialize_ex`` which implements a
3110
refactoring to the core of clone allowing less round trips on new
3111
branches. (Robert Collins)
3113
* New method ``Tags.rename_revisions`` that can rename revision ids tags
3114
are pointing at. (Jelmer Vernooij)
3116
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
3121
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
3122
tests. Using ``-Dlock`` will turn the related failures into warnings.
3123
(Vincent Ladeuil, Robert Collins)
3127
:Codename: brisbane-core
3128
:1.14rc1: 2009-04-06
3129
:1.14rc2: 2009-04-19
3133
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
3134
keyword templating (via the bzr-keywords plugin) and generic content filtering.
3135
End-of-line conversion is now supported for formats supporting content
3138
Changes from 1.14final to 1.14.1
3139
********************************
3141
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
3143
Changes from 1.14rc2 to 1.14final
3144
*********************************
3146
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3147
longer than 64KiB. (John Arbash Meinel, #364900)
3149
Changes from 1.14rc1 to 1.14rc2
3150
*******************************
3152
* Fix for bug 358037 Revision not in
3153
bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis,
3156
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3157
attribute 'get_bytes_as' exception while pulling from Launchpad
3158
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3160
* Fix for bug 355280 eol content filters are never loaded and thus never
3161
applied (Brian de Alwis, Ian Clatworthy)
3163
* bzr.dev -r4280 Change _fetch_uses_deltas = False for CHK repos until we can
3164
write a better fix. (John Arbash Meinel, Robert Collins)
3166
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
3167
(Marius Kruger, Ian Clatworthy)
3169
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14
3170
(Andrew Bennetts, Robert Collins)
3172
Compatibility Breaks
3173
********************
3175
* A previously disabled code path to accelerate getting configuration
3176
settings from a smart server has been reinstated. We think this *may*
3177
cause a incompatibility with servers older than bzr 0.15. We intend
3178
to issue a point release to address this if it turns out to be a
3179
problem. (Robert Collins, Andrew Bennetts)
3181
* bzr no longer autodetects nested trees as 'tree-references'. They
3182
must now be explicitly added tree references. At the commandline, use
3183
join --reference instead of add. (Aaron Bentley)
3185
* The ``--long`` log format (the default) no longer shows merged
3186
revisions implicitly, making it consistent with the ``short`` and
3187
``line`` log formats. To see merged revisions for just a given
3188
revision, use ``bzr log -n0 -rX``. To see every merged revision,
3189
use ``bzr log -n0``. (Ian Clatworthy)
3194
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
3195
(EOL) conversions, keyword templating (via the bzr-keywords plugin)
3196
and generic content filtering. These formats replace the experimental
3197
``development-wt5`` and ``development-wt5-rich-root`` formats
3198
respectively, but have support for filtered views disabled.
3201
* New ``mv --auto`` option recognizes renames after they occur.
3204
* ``bzr`` can now get passwords from stdin without requiring a controlling
3205
terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
3207
* ``bzr log`` now supports filtering of multiple files and directories
3208
and will show changes that touch any of them. Furthermore,
3209
directory filtering now shows the changes to any children of that
3210
directory, not just the directory object itself.
3211
(Ian Clatworthy, #97715)
3213
* ``bzr shelve`` can now apply changes without storing anything on the
3214
shelf, via the new --destroy option. (Aaron Bentley)
3216
* ``bzr send`` now accepts --body to specify an initial message body.
3219
* ``bzr xxx --usage`` where xxx is a command now shows a usage
3220
message and the options without the descriptive help sections
3221
(like Description and Examples). A message is also given
3222
explaining how to see the complete help, i.e. ``bzr help xxx``.
3225
* Content filters can now be used to provide custom conversion
3226
between the canonical format of content (i.e. as stored) and
3227
the convenience format of content (i.e. as created in working
3228
trees). See ``bzr help content-filters`` for further details.
3229
(Ian Clatworthy, Alexander Belchenko)
3231
* End-of-line conversion is now supported for formats supporting
3232
content filtering. See ``bzr help eol`` for details.
3235
* Newly-blessed `join` command allows combining two trees into one.
3241
* A new format name alias ``default-rich-root`` has been added and
3242
points at the closest relative of the default format that supports
3243
rich roots. (Jelmer Vernooij, #338061)
3245
* Branching from a stacked branch using ``bzr*://`` will now stream
3246
the data when the target repository does not need topological
3247
ordering, reducing round trips and network overhead. This uses the
3248
existing smart server methods added in 1.13, so will work on any
3249
1.13 or newer server. (Robert Collins, Andrew Bennetts)
3251
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
3252
that displays/saves the content after content filters are applied.
3255
* ``bzr ignore`` gives a more informative message when existing
3256
version controlled files match the ignore pattern. (Neil
3257
Martinsen-Burrell, #248895)
3259
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
3262
* ``bzr send`` is faster on repositories with deep histories.
3265
* IPv6 literals are accepted in URLs.
3266
(stlman, Martin Pool, Jelmer Vernooij, #165014)
3268
* Progress bars now show the rate of network activity for
3269
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
3271
* Prompt for user names if they are not in the configuration.
3272
(Jelmer Vernooij, #256612)
3274
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
3275
now takes many less round trips. (Andrew Bennetts, Robert Collins,
3278
* Streaming push can be done to older repository formats. This is
3279
implemented using a new ``Repository.insert_stream_locked`` RPC.
3280
(Andrew Bennetts, Robert Collins)
3282
* The "ignoring files outside view: .." message has been re-worded
3283
to "Ignoring files outside view. View is .." to reduce confusion
3284
about what was being considered and what was being ignored.
3287
* The ``long`` log formatter now shows [merge] indicators. If
3288
only one level of revisions is displayed and merges are found,
3289
the ``long`` and ``short`` log formatters now tell the user
3290
how to see the hidden merged revisions. (Ian Clatworthy)
3292
* The ``brisbane-core`` project has delivered its beta format
3293
``development6-rich-root``. This format is suitable for judicious
3294
testing by early adopters. In particular if you are benchmarking bzr
3295
performance please be sure to test using this format. At this stage
3296
more information is best obtained by contacting the Bazaar mailing list
3297
or IRC channel if you are interested in using this format. We will make
3298
end user documentation available closer to blessing the format as
3299
production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
3300
Vincent Ladeuil, Andrew Bennetts, Martin Pool)
3302
* Tildes are no longer escaped. No more %7Euser/project/branch!
3308
* Pushing a new stacked branch will also push the parent inventories for
3309
revisions at the stacking boundary. This makes sure that the stacked
3310
branch has enough data to calculate inventory deltas for all of its
3311
revisions (without requiring the fallback branch). This avoids
3312
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3313
when fetching the stacked branch from a 1.13 (or later) smart server.
3314
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
3316
* End-Of-Line content filters are now loaded correctly.
3317
(Ian Clatworthy, Brian de Alwis, #355280)
3319
* Authentication plugins now receive all the parameters from the request
3320
itself (aka host, port, realm, path, etc). Previously, only the
3321
authentication section name, username and encoded password were
3322
provided. (Jean-Francois Roy)
3324
* bzr gives a better message if an invalid regexp is passed to ``bzr log
3325
-m``. (Anne Mohsen, Martin Pool)
3327
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
3329
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
3332
* Fix "is not a stackable format" error when pushing a
3333
stackable-format branch with an unstackable-format repository to a
3334
destination with a default stacking policy. (Andrew Bennetts)
3336
* Fixed incorrect "Source format does not support stacking" warning
3337
when pushing to a smart server. (Andrew Bennetts, #334114)
3339
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
3340
needed. (Vincent Ladeuil, #355454)
3342
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
3343
on ``bzr add x/y/z`` in formats supporting views when no view is
3344
defined. (Ian Clatworthy, #344708)
3346
* It is no longer possible to fetch between repositories while the
3347
target repository is in a write group. This prevents race conditions
3348
that prevent the use of RPC's to perform fetch, and thus allows
3349
optimising more operations. (Robert Collins, Andrew Bennetts)
3351
* ``merge --force`` works again. (Robert Collins, #342105)
3353
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
3354
(Vincent Ladeuil, #346593)
3356
* Pushing a new branch to a server that has a stacking policy will now
3357
upgrade from the local branch format when the stacking policy points at
3358
a branch which is itself stackable, because we know the client can read
3359
both branches, we know that the trunk for the project can be read too,
3360
so the upgrade will not inconvenience users. (Robert Collins, #345169)
3362
* Pushing a new stacked branch will also push the parent inventories for
3363
revisions at the stacking boundary. This makes sure that the stacked
3364
branch has enough data to calculate inventory deltas for all of its
3365
revisions (without requiring the fallback branch). This avoids
3366
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3367
when fetching the stacked branch from a 1.13 (or later) smart server.
3368
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
3370
* The full test suite is passing again on OSX. Several minor issues (mostly
3371
test related) have been fixed. (Vincent Ladeuil, #355273).
3373
* The GNU Changelog formatter is slightly improved in the case where
3374
the delta is empty, and now correctly claims not to support tags.
3377
* Shelve can now shelve changes to a symlink target.
3378
(James Westby, #341558)
3380
* The help for the ``info`` command has been corrected.
3381
(Ian Clatworthy, #351931)
3383
* Upgrade will now use a sensible default format if the source repository
3384
uses rich roots. (Jelmer Vernooij, #252908)
3389
* Expanded the index of the developer documentation. (Eric Siegerman)
3391
* New topic `bzr help debug-flags`. (Martin Pool)
3393
* The generated manpage now explicitly lists aliases as commands.
3394
(James Westby, #336998)
3399
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
3402
* ``CommitReporter`` is no longer called with ``unchanged`` status during
3403
commit - this was a full-tree overhead that bzr no longer performs.
3406
* New abstract ``UIFactory`` method ``get_username`` which will be called to
3407
obtain the username to use when connecting to remote machines.
3410
* New API ``Inventory.filter()`` added that filters an inventory by
3411
a set of file-ids so that only those fileids, their parents and
3412
their children are included. (Ian Clatworthy)
3414
* New sort order for ``get_record_stream`` ``groupcompress`` which
3415
sorts optimally for use with groupcompress compressors. (John Arbash
3416
Meinel, Robert Collins)
3418
* Repository APIs ``get_deltas_for_revisions()`` and
3419
``get_revision_delta()`` now support an optional ``specific_fileids``
3420
parameter. If provided, the deltas are filtered so that only those
3421
file-ids, their parents and their children are included.
3424
* The ``get_credentials`` and ``set_credentials`` methods of
3425
``AuthenticationConfig`` now accept an optional realm argument.
3428
* The ``pb`` argument to ``fetch()`` is deprecated.
3431
* The ``Serializer`` class and the serializer ``format registry`` have moved
3432
from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
3434
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
3435
that is not inside the backing transport from being opened. See the
3436
module documentation for ``bzrlib.smart.request`` for details.
3437
(Andrew Bennetts, Robert Collins)
3439
* ``Tree.get_symlink_target`` now always returns a unicode string result
3440
or None. Previously it would return the bytes from reading the link
3441
which could be in any arbitrary encoding. (Robert Collins)
3446
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
3447
and ``tearDown`` weren't called. This catches faulty tests that
3448
forget to upcall when overriding ``setUp`` and ``tearDown``. Those
3449
faulty tests were not properly isolated.
3450
(Andrew Bennetts, Robert Collins)
3452
* Fix test_msgeditor.MsgEditorTest test isolation.
3453
(Vincent Ladeuil, #347130)
3455
* ``medusa`` is not used anymore as an FTP test server starting with
3456
python2.6. A new FTP test server based on ``pyftplib`` can be used
3457
instead. This new server is a soft dependency as medusa which is still
3458
preferred if both are available (modulo python version).
3464
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
3465
(Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3467
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
3468
maps. (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3470
* Added ``bzrlib.inventory_delta`` module. This will be used for
3471
serializing and deserializing inventory deltas for more efficient
3472
streaming on the network. (Robert Collins, Andrew Bennetts)
3474
* ``Branch._get_config`` has been added, which splits out access to the
3475
specific config file from the branch. This is used to let RemoteBranch
3476
avoid constructing real branch objects to access configuration settings.
3477
(Robert Collins, Andrew Bennetts)
3479
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
3480
the implementation is generic and should impact foreign formats. This
3481
helps performance for ``RemoteBranch`` push operations to new stacked
3482
branches. (Robert Collins, Andrew Bennetts)
3484
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
3485
optmizations turned off. This only has effect when processing > 100,000
3486
keys during something like ``bzr pack``. (John Arbash Meinel)
3488
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
3489
mode. Requires ``lp:subunit`` installed to work, but is not a hard
3490
dependency. (Robert Collins)
3492
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
3493
parameter for controlling opening of stacked branches.
3494
(Andrew Bennetts, Robert Collins)
3496
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
3497
in terms of an iter_changes iterator rather than full tree scanning.
3500
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
3501
enabling it to store the SHA1 and stat of the canonical (post
3502
content filtered) form. (Ian Clatworthy)
3504
* New ``assertLength`` method based on one Martin has squirreled away
3505
somewhere. (Robert Collins, Martin Pool)
3507
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
3508
objects, allowing better enforcement of the smart server jail when
3509
dealing with stacked branches. (Robert Collins, Andrew Bennetts)
3511
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries
3512
to be added to the stanza that is printed for a particular revision.
3515
* New repository method ``refresh_data`` to cause any repository to
3516
make visible data inserted into the repository by a smart server
3517
fetch operation. (Robert Collins, Andrew Bennetts)
3519
* ``register_filter_stack_map`` now takes an optional fallback parameter,
3520
a callable to invoke if a preference has a value not in the map
3521
of filter stacks. This enhancement allows, for example, bzr-svn to
3522
handle existing svn properties that define a list of keywords to be
3523
expanded. (Ian Clatworthy)
3525
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
3526
to write config settings to smart servers that support this, saving
3527
5 round trips on the stacked streaming acceptance test.
3528
(Robert Collins, Andrew Bennetts)
3530
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
3531
branch specific configuration from a remote server, which uses the
3532
already existing ``Branch.get_config_file`` smart verb.
3533
(Robert Collins, Andrew Bennetts)
3535
* ``RemoteRepository`` will now negatively cache missing revisions during
3536
``get_parent_map`` while read-locked. Write-locks are unaffected.
3537
(Robert Collins, Andrew Bennetts)
3539
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
3540
``InterPackToRemotePack`` classes, as they are now unnecessary.
3543
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
3544
whether the repository can efficiently generate deltas between trees
3545
regardless of tree size. (Robert Collins)
3547
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
3548
byte strings" (aka 'chunked') for the content. It previously was
3549
returning a plain string, which worked, but performed very poorly when
3550
building a working tree (file.writelines(str) is very inefficient). This
3551
can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3553
* selftest now supports a --parallel option, with values of 'fork' or
3554
'subprocess' to run the test suite in parallel. Currently only linux
3555
machine work, other platforms need patches submitted. (Robert Collins,
3558
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of
3559
callables to use to decorate the test suite. Such decorators can add or
3560
remove tests, or even remote the test suite to another machine if
3561
desired. (Robert Collins)
3563
* The smart server verb ``Repository.get_parent_map`` can now include
3564
information about ghosts when the special revision ``include-missing:``
3565
is in the requested parents map list. With this flag, ghosts are
3566
included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
3568
* ``_walk_to_common_revisions`` will now batch up at least 50
3569
revisions before calling ``get_parent_map`` on the target,
3570
regardless of ``InterRepository``.
3571
(Andrew Bennetts, Robert Collins)
3576
:Codename: paraskavedekatriaphobia
3578
:1.13rc1: 2009-03-10
3582
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``. Debug
3583
flags can now be set in ``~/.bazaar/bazaar.conf``. Lightweight checkouts and
3584
stacked branches should both be much faster over remote connections.
3586
Changes From 1.13.1 to 1.13.2
3587
*****************************
3589
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
3590
a stacked branch they do not take care to push all the parent inventories for
3591
the transferred revisions. This means that a smart server serving that branch
3592
often cannot calculate inventory deltas for the branch (because smart server
3593
does not/cannot open fallback repositories). Prior to 1.13 the server did not
3594
have a verb to stream revisions out of a repository, so that's why this bug has
3600
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3601
attribute 'get_bytes_as' exception while pulling from Launchpad
3602
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3604
Changes From 1.13final to 1.13.1
3605
********************************
3607
A couple regessions where found in the 1.13 release. The pyrex-generated C
3608
extensions are missing from the .tar.gz and .zip files. Documentation on how
3609
to generate GNU ChangeLogs is wrong.
3614
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
3615
version_info. (Bob Tanner, Martin Pool, #345232)
3617
* Distribution archives for 1.13 do not contain generated C extension modules
3618
(Jean-Francois Roy, Bob Tanner, #344465)
3620
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
3621
incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
3623
* ``merge --force`` works again. (Robert Collins, #342105)
3625
Changes From 1.13rc1 to 1.13final
3626
*********************************
3628
* Fix "is not a stackable format" error when pushing a
3629
stackable-format branch with an unstackable-format repository to a
3630
destination with a default stacking policy. (Andrew Bennetts)
3632
* Progress bars now show the rate of network activity for
3633
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
3635
Compatibility Breaks
3636
********************
3638
* ``bzr log --line`` now indicates which revisions are merges with
3639
`[merge]` after the date. Scripts which parse the output of this
3640
command may need to be adjusted.
3641
(Neil Martinsen-Burrell)
3646
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
3647
options to change the default tree-creation policy of shared
3648
repositories. (Matthew Fuller, Marius Kruger, #145033)
3650
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
3653
* Filtered views provide a mask over the tree so that users can focus
3654
on a subset of a tree when doing their work. See ``Filtered views``
3655
in chapter 7 of the User Guide and ``bzr help view`` for details.
3658
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
3659
(Andrea Bolognani, Martin Pool)
3661
* The ``-Dmemory`` flag now gives memory information on Windows.
3662
(John Arbash Meinel)
3664
* Multiple authors for a commit can now be recorded by using the "--author"
3665
option multiple times. (James Westby, #185772)
3667
* New clean-tree command, from bzrtools. (Aaron Bentley, Jelmer Vernooij)
3669
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
3670
branch in your web browser, as long as the branch is on Launchpad at all.
3673
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
3679
* All bzr ``Hooks`` classes are now registered in
3680
``bzrlib.hooks.known_hooks``. This removes the separate list from
3681
``bzrlib.tests`` and ensures that all hooks registered there are
3682
correctly isolated by the test suite (previously
3683
``MutableTreeHooks`` were not being isolated correctly). Further,
3684
documentation for hooks is now dynamically generated from the
3685
present HookPoints. ``bzr hooks`` will now also report on all the
3686
hooks present in the ``bzrlib.hooks.known_hooks`` registry.
3689
* ``bzr add`` no longer prints ``add completed`` on success. Failure
3690
still prints an error message. (Robert Collins)
3692
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
3693
generation of a working tree in the new branch.
3694
(Daniel Watkins, John Klinger, #273993)
3696
* Bazaar will now point out ``bzr+ssh://`` to the user when they
3697
use ssh://. (Jelmer Vernooij, #330535)
3699
* ``bzr -v info`` now omits the number of committers branch statistic,
3700
making it many times faster for large projects. To include that
3701
statistic in the output, use ``bzr -vv info``.
3704
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
3705
stream if the server is version 1.13 or greater, reducing roundtrips
3706
significantly. (Andrew Bennetts, Robert Collins)
3708
* Lightweight Checkouts and Stacked Branches should both be much
3709
faster over remote connections. Building the working tree now
3710
batches up requests into approx 5MB requests, rather than a separate
3711
request for each file. (John Arbash Meinel)
3713
* Support for GSSAPI authentication when using HTTP or HTTPS.
3716
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
3717
short options better. (Daniel Watkins, #327429)
3719
* ``bzr lp-open`` now falls back to the push location if it cannot find a
3720
public location. (Jonathan Lange, #332372)
3722
* ``bzr lp-open`` will try to find the Launchpad URL for the location
3723
passed on the command line. This makes ``bzr lp-open lp:foo`` work as
3724
expected. (Jonathan Lange, #332705)
3726
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
3731
* Allows ``bzr log <FILE>`` to be called in an empty branch without
3732
backtracing. (Vincent Ladeuil, #346431)
3734
* Bazaar now gives a better message including the filename if it's
3735
unable to read a file in the working directory, for example because
3736
of a permission error. (Martin Pool, #338653)
3738
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
3739
file id in the working tree different from the one in revision <old>.
3740
(Vincent Ladeuil, #341517, #253806)
3742
* ``bzr send`` help is more specific about how to apply merge
3743
directives. (Neil Martinsen-Burrell, #253470)
3745
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
3746
than fetching trees and determining a delta itself. (Jelmer
3749
* ``bzr push`` to a smart server no longer causes "Revision
3750
{set([('null:',)])} not present ..." errors when the branch has
3751
multiple root revisions. (Andrew Bennetts, #317654)
3753
* ``bzr shelve`` now properly handle patches with no terminating newline.
3754
(Benoît PIERRE, #303569)
3756
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
3757
shelf id. (Daniel Watkins)
3759
* Export now handles files that are not present in the tree.
3760
(James Westby, #174539)
3762
* Fixed incorrect "Source format does not support stacking" warning
3763
when pushing to a smart server. (Andrew Bennetts, #334114)
3765
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
3766
error branching from old repositories.
3767
(Martin Pool, #321695)
3769
* Make ``bzr push --quiet <non-local location>`` less chatty.
3770
(Kent Gibson, #221461)
3772
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
3773
branches, and this was not noticed due to a bug in the test logic
3774
for branches. This is now fixed and a test added to prevent it
3775
reoccuring. (Robert Collins, Andrew Bennetts)
3777
* Restore the progress bar on Windows. We were disabling it when TERM
3778
wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
3781
* ``setup.py build_ext`` now gives a proper error when an extension
3782
fails to build. (John Arbash Meinel)
3784
* Symlinks to non ascii file names are now supported.
3785
(Robert Collins, Vincent Ladeuil, #339055, #272444)
3787
* Under rare circumstances (aka nobody reported a bug about it), the ftp
3788
transport could revert to ascii mode. It now stays in binary mode except
3789
when needed. (Vincent Ladeuil)
3791
* Unshelve does not generate warnings about progress bars.
3792
(Aaron Bentley, #328148)
3794
* shelve cleans up properly when unversioned files are specified.
3795
(Benoît Pierre, Aaron Bentley)
3800
* Added ``Organizing your workspace`` to the User Guide appendices,
3801
summarizing some common ways of organizing trees, branches and
3802
repositories and the processes/workflows implied/enabled by each.
3805
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
3806
is the entry point for this feature. (Robert Collins)
3808
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
3809
(Daniel Watkins, #327421, #327425)
3814
* ``bzr selftest`` now fails if the bazaar sources contain trailing
3815
whitespace, non-unix style line endings and files not ending in a
3816
newline. About 372 files and 3243 lines with trailing whitespace was
3817
updated to comply with this. The code already complied with the other
3818
criteria, but now it is enforced. (Marius Kruger)
3820
* ``bzrlib.branch.PushResult`` was renamed to
3821
``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
3823
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
3824
than a count of copied revisions and failed revisions. A while back
3825
we stopped ever reporting failed revisions because we started
3826
erroring instead, and the copied revisions count is not used in the
3827
UI at all - indeed it only reflects the repository status not
3828
changes to the branch itself. (Robert Collins)
3830
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
3831
appears multiple times within the delta. (Ian Clatworthy)
3833
* MutableTree.commit now favours the "authors" argument, with the old
3834
"author" argument being deprecated.
3836
* Remove deprecated EmptyTree. (Martin Pool)
3838
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
3839
parameter. A ``SearchResult`` or ``MiniSearchResult`` may be passed
3840
to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
3841
which revisions to fetch. (Andrew Bennetts)
3843
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
3844
tuple of ``(repository, is_new_flag)``, rather than just the
3845
repository. (Andrew Bennetts)
3847
* Revision.get_apparent_author() is now deprecated, replaced by
3848
Revision.get_apparent_authors(), which returns a list. The former
3849
now returns the first item that would be returned from the second.
3851
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
3852
parameter to ``build_commit`` and ``build_snapshot``. (Martin Pool)
3854
* The ``_fetch_*`` attributes on ``Repository`` are now on
3855
``RepositoryFormat``, more accurately reflecting their intent (they
3856
describe a disk format capability, not state of a particular
3857
repository of that format). (Robert Collins)
3862
* Branching from a non-stacked branch on a smart protocol is now
3863
free of virtual file system methods.
3864
(Robert Collins, Andrew Bennetts)
3866
* Branch and Repository creation on a bzr+ssh://server are now done
3867
via RPC calls rather than VFS calls, reducing round trips for
3868
pushing new branches substantially. (Robert Collins)
3870
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
3871
inside ``BzrDir.clone_on_transport``, allowing stacking to be
3872
configured before the branch tags and revision tip are set. This
3873
fixes a race condition cloning stacked branches that would cause
3874
plugins to have hooks called on non-stacked instances.
3875
(Robert Collins, #334187)
3877
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
3879
* ``BzrDirFormat.__str__`` now uses the human readable description
3880
rather than the sometimes-absent disk label. (Robert Collins)
3882
* ``bzrlib.fetch`` is now composed of a sender and a sink component
3883
allowing for decoupling over a network connection. Fetching from
3884
or into a RemoteRepository with a 1.13 server will use this to
3885
stream the operation.
3886
(Andrew Bennetts, Robert Collins)
3888
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
3889
supporting the use of different runners. (Robert Collins)
3891
* Change how file_ids and revision_ids are interned as part of
3892
inventory deserialization. Now we use the real ``intern()``, rather
3893
than our own workaround that would also cache a Unicode copy of the
3894
string, and never emptied the cache. This should slightly reduce
3895
memory consumption. (John Arbash Meinel)
3897
* New branch method ``create_clone_on_transport`` that returns a
3898
branch object. (Robert Collins)
3900
* New hook Commands['extend_command'] to allow plugins to access a
3901
command object before the command is run (or help generated from
3902
it), without overriding the command. (Robert Collins)
3904
* New version of the ``BzrDir.find_repository`` verb supporting
3905
``_network_name`` to support removing more _ensure_real calls.
3908
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
3911
* ``Repository`` objects now have ``suspend_write_group`` and
3912
``resume_write_group`` methods. These are currently only useful
3913
with pack repositories. (Andrew Bennetts, Robert Collins)
3915
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
3916
now have a ``network_name`` for passing the format across RPC calls.
3917
(Robert Collins, Andrew Bennetts)
3919
* ``RepositoryFormat`` objects now all have a new attribute
3920
``_serializer`` used by fetch when reserialising is required.
3921
(Robert Collins, Andrew Bennetts)
3923
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
3924
to aid branch types that are not bzr branch objects (like
3925
RemoteBranch). (Robert Collins, Andrew Bennetts)
3927
* Test adaptation has been made consistent throughout the built in
3928
tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
3929
``adapt_tests``, ``adapt_modules`` have all been deleted. Please
3930
use ``multiply_tests``, or for lower level needs ``apply_scenarios``
3931
and ``apply_scenario``. (Robert Collins)
3933
* ``TestSkipped`` is now detected by TestCase and passed to the
3934
``TestResult`` by calling ``addSkip``. For older TestResult objects,
3935
where ``addSkip`` is not available, ``addError`` is still called.
3936
This permits test filtering in subunit to strip out skipped tests
3937
resulting in a faster fix-shrink-list-run cycle. This is compatible
3938
with the testtools protocol for skips. (Robert Collins)
3940
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
3941
to scan an underlying index that is going to be incorporated into
3942
the ``KnitVersionedFiles`` object, to determine if it has missing
3943
delta references. The method is ``scan_unvalidated_index``.
3944
(Andrew Bennetts, Robert Collins)
3946
* There is a RemoteSink object which handles pushing to smart servers.
3947
(Andrew Bennetts, Robert Collins)
3949
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
3950
``rmdir`` calls. (Robert Collins)
3952
* ``VersionedFiles`` record adapters have had their signature change
3953
from ``(record, record.get_bytes_as(record.storage_kind))`` to
3954
``(record)`` reducing excess duplication and allowing adapters
3955
to access private data in record to obtain content more
3956
efficiently. (Robert Collins)
3958
* We no longer probe to see if we should create a working tree during
3959
clone if we cannot get a local_abspath for the new bzrdir.
3966
:Codename: 1234567890
3968
:1.12rc1: 2009-02-10
3970
This release of Bazaar contains many improvements to the speed,
3971
documentation and functionality of ``bzr log`` and the display of logged
3972
revisions by ``bzr status``. bzr now also gives a better indication of
3973
progress, both in the way operations are drawn onto a text terminal, and
3974
by showing the rate of network IO.
3976
Changes from RC1 to Final
3977
*************************
3979
* ``bzr init --development-wt5[-rich-root]`` would fail because of
3980
circular import errors. (John Arbash Meinel, #328135)
3982
* Expanded the help for log and added a new help topic called
3983
``log-formats``. (Ian Clatworthy)
3985
Compatibility Breaks
3986
********************
3988
* By default, ``bzr status`` after a merge now shows just the pending
3989
merge tip revisions. This improves the signal-to-noise ratio after
3990
merging from trunk and completes much faster. To see all merged
3991
revisions, use the new ``-v`` flag. (Ian Clatworthy)
3993
* ``bzr log --line`` now shows any tags after the date and before
3994
the commit message. If you have scripts which parse the output
3995
from this command, you may need to adjust them accordingly.
3998
* ``bzr log --short`` now shows any additional revision properties
3999
after the date and before the commit message. Scripts that parse
4000
output of the log command in this situation may need to adjust.
4001
(Neil Martinsen-Burrell)
4003
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
4004
have been renamed ``development-wt5`` and ``development-wt5-rich-root``
4005
respectively, given they are not ready for release in 1.12.
4008
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
4013
* Add support for filtering ``bzr missing`` on revisions. Remote revisions
4014
can be filtered using ``bzr missing -r -20..-10`` and local revisions can
4015
be filtered using ``bzr missing --my-revision -20..-10``.
4018
* ``bzr log -p`` displays the patch diff for each revision.
4019
When logging a file, the diff only includes changes to that file.
4020
(Ian Clatworthy, #202331, #227335)
4022
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
4023
A value of 0 (zero) means "show all nested merge revisions" while
4024
a value of 1 (one) means "show just the top level". Values above
4025
1 can be used to see a limited amount of nesting. That can be
4026
useful for seeing the level or two below PQM submits for example.
4027
To force the ``--short`` and ``--line`` formats to display all nested
4028
merge revisions just like ``--long`` does by default, use a command
4029
like ``bzr log --short -n0``. To display just the mainline using
4030
``--long`` format, ``bzr log --long -n1``.
4036
* ``bzr add`` more clearly communicates success vs failure.
4039
* ``bzr init`` will now print a little less verbose output.
4042
* ``bzr log`` is now much faster in many use cases, particularly
4043
at incrementally displaying results and filtering by a
4044
revision range. (Ian Clatworthy)
4046
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
4047
for each revision. The tags are shown comma-separated inside
4048
``{}``. For short format, the tags appear at the end of line
4049
before the optional ``[merge]`` indicator. For line format,
4050
the tags appear after the date. (Ian Clatworthy)
4052
* Progress bars now show the rate of activity for some sftp
4053
operations, and they are drawn different. (Martin Pool, #172741)
4055
* Progress bars now show the rate of activity for urllib and pycurl based
4056
http client implementations. The operations are tracked at the socket
4057
level for better precision.
4060
* Rule-based preferences can now accept multiple patterns for a set of
4061
rules. (Marius Kruger)
4063
* The ``ancestor:`` revision spec will now default to referring to the
4064
parent of the branch if no other location is given.
4065
(Daniel Watkins, #198417)
4067
* The debugger started as a result of setting ``$BZR_PDB`` works
4068
around a bug in ``pdb``, http://bugs.python.org/issue4150. The bug
4069
can cause truncated tracebacks in Python versions before 2.6.
4072
* VirtualVersionedFiles now implements
4073
``iter_lines_added_or_present_in_keys``. This allows the creation of
4074
new branches based on stacked bzr-svn branches. (#311997)
4079
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
4081
(Anne Mohsen, Vincent Ladeuil, #314525)
4083
* ``bzr log FILE`` now correctly shows mainline revisions merging
4084
a change to FILE when the ``--short`` and ``--line`` log formats
4085
are used. (Ian Clatworthy, #317417)
4087
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
4088
it existed in Y or X, even if the file has since been deleted or
4089
renamed. If no range is given, the current/basis tree and
4090
initial tree are searched in that order. More generally, log
4091
now interprets filenames in their historical context.
4092
(Ian Clatworthy, #175520)
4094
* ``bzr status`` now reports nonexistent files and continues, then
4095
errors (with code 3) at the end. (Karl Fogel, #306394)
4097
* Don't require the present compression base in knits to be the same
4098
when adding records in knits. (Jelmer Vernooij, #307394)
4100
* Fix a problem with CIFS client/server lag on Windows colliding with
4101
an invariant-per-process algorithm for generating AtomicFile names
4102
(Adrian Wilkins, #304023)
4104
* Many socket operations now handle EINTR by retrying the operation.
4105
Previously EINTR was treated as an unrecoverable failure. There is
4106
a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
4109
* Support symlinks with non-ascii characters in the symlink filename.
4110
(Jelmer Vernooij, #319323)
4112
* There was a bug in how we handled resolving when a file is deleted
4113
in one branch, and modified in the other. If there was a criss-cross
4114
merge, we would cause the deletion to conflict a second time.
4115
(Vincent Ladeuil, John Arbash Meinel)
4117
* There was another bug in how we chose the correct intermediate LCA in
4118
criss-cross merges leading to several kind of changes be incorrectly
4120
(John Arbash Meinel, Vincent Ladeuil)
4122
* Unshelve now handles deleted paths without crashing. (Robert Collins)
4127
* Improved plugin developer documentation. (Martin Pool)
4132
* ``ProgressBarStack`` is deprecated; instead use
4133
``ui_factory.nested_progress_bar`` to create new progress bars.
4136
* ForeignVcsMapping() now requires a ForeignVcs object as first
4137
argument. (Jelmer Vernooij)
4139
* ForeignVcsMapping.show_foreign_revid() has been moved to
4140
ForeignVcs. (Jelmer Vernooij)
4142
* ``read_bundle_from_url`` is deprecated in favor of
4143
``read_mergeable_from_url``. (Vincent Ladeuil)
4145
* Revision specifiers are now registered in
4146
``bzrlib.revisionspec.revspec_registry``, and the old list of
4147
revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
4148
deprecated. (Jelmer Vernooij, #321183)
4150
* The progress and UI classes have changed; the main APIs remain the
4151
same but code that provides a new UI or progress bar class may
4152
need to be updated. (Martin Pool)
4157
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
4158
terminal. It is sometimes desirable do override this default by forcing
4159
bzr to use TextUIFactory. This can be achieved by setting the
4160
BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
4161
compile buffers, are such an example).
4164
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
4165
``(revision_id, depth, revno, end_of_merge)`` tuples.
4168
* New ``Branch.dotted_revno_to_revision_id()`` and
4169
``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
4170
efficient way of doing the mapping.
4173
* Refactor cmd_serve so that it's a little easier to build commands that
4174
extend it, and perhaps even a bit easier to read. (Jonathan Lange)
4176
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
4177
formatters to retrict the output.
4184
:Codename: "Eyes up!"
4185
:Released: 2009-01-19
4187
This first monthly release of Bazaar for 2009 improves Bazaar's operation
4188
in Windows, Mac OS X, and other situations where file names are matched
4189
without regard to capitalization: Bazaar tries to match the case of an
4190
existing file. This release of Bazaar also improves the efficiency of
4191
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
4193
The UI through which Bazaar supports historic formats has been improved,
4194
so 'bzr help formats' now gives a simpler and shorter list, with clear
4197
This release also fixes a number of bugs, particularly a glitch that can
4198
occur when there are concurrent writes to a pack repository.
4203
* Fix failing test when CompiledChunksToLines is not available.
4206
* Stacked branches don't repeatedly open their transport connection.
4207
(John Arbash Meinel)
4214
:Codename: "Eyes up!"
4215
:Released: 2009-01-09
4220
* Formats using Knit-based repository formats are now explicitly
4221
marked as deprecated. (Ian Clatworthy)
4226
* Add support for `bzr tags -r 1..2`, that is we now support showing
4227
tags applicable for a specified revision range. (Marius Kruger)
4229
* ``authentication.conf`` now accepts pluggable read-only credential
4230
stores. Such a plugin (``netrc_credential_store``) is now included,
4231
handles the ``$HOME/.netrc`` file and can server as an example to
4232
implement other plugins.
4235
* ``shelve --list`` can now be used to list shelved changes.
4241
* Add trailing slash to directories in all output of ``bzr ls``, except
4242
``bzr ls --null``. (Gordon P. Hemsley, #306424)
4244
* ``bzr revision-info`` now supports a -d option to specify an
4245
alternative branch. (Michael Hudson)
4247
* Add connection to a C++ implementation of the Windows Shell Extension
4248
which is able to fully replace the current Python implemented one.
4249
Advantages include 64bit support and reduction in overhead for
4250
processes which drag in shell extensions.
4253
* Support the Claws mail client directly, rather than via
4254
xdg-email. This prevents the display of an unnecessary modal
4255
dialog in Claws, informing the user that a file has been
4256
attached to the message, and works around bug #291847 in
4257
xdg-utils which corrupts the destination address.
4259
* When working on a case-insensitive case-preserving file-system, as
4260
commonly found with Windows, bzr will often ignore the case of the
4261
arguments specified by the user in preference to the case of an existing
4262
item on the file-system or in the inventory to help prevent
4263
counter-intuitive behaviour on Windows. (Mark Hammond)
4268
* Allow BzrDir implementation to implement backing up of
4269
control directory. (#139691)
4271
* ``bzr push`` creating a new stacked branch will now only open a
4272
single connection to the target machine. (John Arbash Meinel)
4274
* Don't call iteritems on transport_list_registry, because it may
4275
change during iteration. (Martin Pool, #277048)
4277
* Don't make a broken branch when pushing an unstackable-format branch
4278
that's in a stackable shared repository to a location with default
4279
stack-on location. (Andrew Bennetts, #291046)
4281
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
4282
(Ben Jansen, Vincent Ladeuil, #300347)
4284
* Fix a problem with CIFS client/server lag on windows colliding with
4285
an invariant-per-process algorithm for generating AtomicFile names
4286
(Adrian Wilkins, #304023)
4288
* Fix bogus setUp signature in UnavailableFTPServer.
4289
(Gary van der Merwe, #313498)
4291
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
4294
* Fix SystemError in ``_patiencediff_c`` module by calling
4295
PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
4296
(Andrew Bennetts, #303206)
4298
* Give proper error message for diff with non-existent dotted revno.
4299
(Marius Kruger, #301969)
4301
* Handle EACCES (permission denied) errors when launching a message
4302
editor, and emit warnings when a configured editor cannot be
4303
started. (Andrew Bennetts)
4305
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
4306
if configured in ``authentication.conf`` with 'password_encoding=netrc'
4307
in the appropriate sections.
4308
(Vincent Ladeuil, #103029)
4310
* Opening a stacked branch now properly shares the connection, rather
4311
than opening a new connection for the stacked-on branch.
4312
(John Arbash meinel)
4314
* Preserve transport decorators while following redirections.
4315
(Vincent Ladeuil, #245964, #270863)
4317
* Provides a finer and more robust filter for accepted redirections.
4318
(Vincent Ladeuil, #303959, #265070)
4320
* ``shelve`` paths are now interpreted relative to the current working
4321
tree. (Aaron Bentley)
4323
* ``Transport.readv()`` defaults to not reading more than 100MB in a
4324
single array. Further ``RemoteTransport.readv`` sets this to 5MB to
4325
work better with how it splits its requests.
4326
(John Arbash Meinel, #303538)
4328
* Pack repositories are now able to reload the pack listing and retry
4329
the current operation if another action causes the data to be
4330
repacked. (John Arbash Meinel, #153786)
4332
* ``pull -v`` now respects the log_format configuration variable.
4335
* ``push -v`` now works on non-initial pushes. (Aaron Bentley)
4337
* Use the short status format when the short format is used for log.
4338
(Vincent Ladeuil, #87179)
4340
* Allow files to be renamed or moved via remove + add-by-id. (Charles
4346
* Improved the formats help topic to explain why multiple formats
4347
exist and to provide guidelines in selecting one. Introduced
4348
two new supporting help topics: current-formats and other-formats.
4354
* ``LRUCache(after_cleanup_size)`` was renamed to
4355
``after_cleanup_count`` and the old name deprecated. The new name is
4356
used for clarity, and to avoid confusion with
4357
``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
4359
* New ``ForeignRepository`` base class, to help with foreign branch
4360
support (e.g. svn). (Jelmer Vernooij)
4362
* ``node_distances`` and ``select_farthest`` can no longer be imported
4363
from ``bzrlib.graph``. They can still be imported from
4364
``bzrlib.deprecated_graph``, which has been the preferred way to
4365
import them since before 1.0. (Andrew Bennetts)
4367
* The logic in commit now delegates inventory basis calculations to
4368
the ``CommitBuilder`` object; this requires that the commit builder
4369
in use has been updated to support the new ``recording_deletes`` and
4370
``record_delete`` methods. (Robert Collins)
4375
* An HTTPS server is now available (it requires python-2.6). Future bzr
4376
versions will allow the use of the python-2.6 ssl module that can be
4377
installed for 2.5 and 2.4.
4379
* ``bzr selftest`` now fails if new trailing white space is added to
4380
the bazaar sources. It only checks changes not committed yet. This
4381
means that PQM will now reject changes that introduce new trailing
4382
whitespace. (Marius Kruger)
4384
* Introduced new experimental formats called ``1.12-preview`` and
4385
``1.12-preview-rich-root`` to enable testing of related pending
4386
features, namely content filtering and filtered views.
4392
* Added an ``InventoryEntry`` cache when deserializing inventories.
4393
Can cut the time to iterate over multiple RevisionsTrees in half.
4394
(John Arbash Meinel)
4396
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
4397
minimal overhead versus using a plain dict for cache hits, at the
4398
cost of not preserving the 'active' set as well as an ``LRUCache``.
4399
(John Arbash Meinel)
4401
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
4402
character to separate the filename from the date stamp, and doesn't
4403
add trailing whitespace when a date stamp is not supplied.
4404
(Adeodato Simó, John Arbash Meinel)
4406
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
4407
as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
4408
respectively. (Ian Clatworthy)
4410
* ``KnitVersionedFiles._check_should_delta()`` now uses the
4411
``get_build_details`` api to avoid multiple hits to the index, and
4412
to properly follow the ``compression_parent`` rather than assuming
4413
it is the left-hand parent. (John Arbash Meinel)
4415
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
4416
more optimal ordering when the keys are requested 'unordered'.
4417
Previously the order was fully random, now the records should be
4418
returned from each pack in turn, in forward I/O order.
4419
(John Arbash Meinel)
4421
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
4422
than 2s since the last time it flushed. (John Arbash Meinel)
4424
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
4425
allows adding an inventory via an inventory delta, which can be
4426
more efficient for some repository types. (Robert Collins)
4428
* Repository ``CommitBuilder`` objects can now accumulate an inventory
4429
delta. To enable this functionality call ``builder.recording_deletes``
4430
and additionally call ``builder.record_delete`` when a delete
4431
against the basis occurs. (Robert Collins)
4433
* The default http handler has been changed from pycurl to urllib.
4434
The default is still pycurl for https connections. (The only
4435
advantage of pycurl is that it checks ssl certificates.)
4436
(John Arbash Meinel)
4438
* ``VersionedFiles.get_record_stream()`` can now return objects with a
4439
storage_kind of ``chunked``. This is a collection (list/tuple) of
4440
strings. You can use ``osutils.chunks_to_lines()`` to turn them into
4441
guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
4442
into a fulltext. This allows for some very good memory savings when
4443
asking for many texts that share ancestry, as the individual chunks
4444
can be shared between versions of the file. (John Arbash Meinel)
4446
* ``pull -v`` and ``push -v`` use new function
4447
``bzrlib.log.show_branch_change`` (Aaron Bentley)
4454
:Released: 2008-12-05
4456
Bazaar 1.10 has several performance improvements for copying revisions
4457
(especially for small updates to large projects). There has also been a
4458
significant amount of effort in polishing stacked branches. The commands
4459
``shelve`` and ``unshelve`` have become core commands, with an improved
4462
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
4467
* Don't set a pack write cache size from RepoFetcher, because the
4468
cache is not coherent with reads and causes ShortReadvErrors.
4469
This reverses the change that fixed #294479.
4470
(Martin Pool, #303856)
4472
* Properly handle when a revision can be inserted as a delta versus
4473
when it needs to be expanded to a fulltext for stacked branches.
4474
There was a bug involving merge revisions. As a method to help
4475
prevent future difficulties, also make stacked fetches sort
4476
topologically. (John Arbash Meinel, #304841)
4482
:Released: 2008-11-28
4484
This release of Bazaar focuses on performance improvements when pushing
4485
and pulling revisions, both locally and to remote networks. The popular
4486
``shelve`` and ``unshelve`` commands, used to interactively revert and
4487
restore work in progress, have been merged from bzrtools into the bzr
4488
core. There are also bug fixes for portability, and for stacked branches.
4493
* New ``commit_message_template`` hook that is called by the commit
4494
code to generate a template commit message. (Jelmer Vernooij)
4496
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
4502
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
4503
history just to set the last revision info.
4504
(Andrew Bennetts, John Arbash Meinel)
4506
* Fetches between formats with different serializers (such as
4507
pack-0.92-subtree and 1.9-rich-root) are faster now. This is due to
4508
operating on batches of 100 revisions at time rather than
4509
one-by-one. (Andrew Bennetts, John Arbash Meinel)
4511
* Search index files corresponding to pack files we've already used
4512
before searching others, because they are more likely to have the
4513
keys we're looking for. This reduces the number of iix and tix
4514
files accessed when pushing 1 new revision, for instance.
4515
(John Arbash Meinel)
4517
* Signatures to transfer are calculated more efficiently in
4518
``item_keys_introduced_by``. (Andrew Bennetts, John Arbash Meinel)
4520
* The generic fetch code can once again copy revisions and signatures
4521
without extracting them completely to fulltexts and then serializing
4522
them back down into byte strings. This is a significant performance
4523
improvement when fetching from a stacked branch.
4524
(John Arbash Meinel, #300289)
4526
* When making a large readv() request over ``bzr+ssh``, break up the
4527
request into more manageable chunks. Because the RPC is not yet able
4528
to stream, this helps keep us from buffering too much information at
4529
once. (John Arbash Meinel)
4534
* Better message when the user needs to set their Launchpad ID.
4535
(Martin Pool, #289148)
4537
* ``bzr commit --local`` doesn't access the master branch anymore.
4538
This fixes a regression introduced in 1.9. (Marius Kruger, #299313)
4540
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
4541
to give an error in that case. Also, don't count on ``getcwd()``
4542
being able to allocate a new buffer, which is a gnu extension.
4543
(John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
4545
* Don't crash when requesting log --forward <file> for a revision range
4546
starting with a dotted revno.
4547
(Vincent Ladeuil, #300055)
4549
* Don't create text deltas spanning stacked repositories; this could
4550
cause "Revision X not present in Y" when later accessing them.
4551
(Martin Pool, #288751)
4553
* Pack repositories are now able to reload the pack listing and retry
4554
the current operation if another action causes the data to be
4555
repacked. (John Arbash Meinel, #153786)
4557
* PermissionDenied errors from smart servers no longer cause
4558
"PermissionDenied: "None"" on the client.
4559
(Andrew Bennetts, #299254)
4561
* Pushing to a stacked pack repository now batches writes, the same
4562
way writes are batched to ordinary pack repository. This makes
4563
pushing to a stacked branch over the network much faster.
4564
(Andrew Bennetts, #294479)
4566
* TooManyConcurrentRequests no longer occur when a fetch fails and
4567
tries to abort a write group. This allows the root cause (e.g. a
4568
network interruption) to be reported. (Andrew Bennetts, #297014)
4570
* RemoteRepository.get_parent_map now uses fallback repositories.
4571
(Aaron Bentley, #297991?, #293679?)
4576
* ``CommitBuilder`` now validates the strings it will be committing,
4577
to ensure that they do not have characters that will not be properly
4578
round-tripped. For now, it just checks for characters that are
4579
invalid in the XML form. (John Arbash Meinel, #295161)
4581
* Constructor parameters for NewPack (internal to pack repositories)
4582
have changed incompatibly.
4584
* ``Repository.abort_write_group`` now accepts an optional
4585
``suppress_errors`` flag. Repository implementations that override
4586
``abort_write_group`` will need to be updated to accept the new
4587
argument. Subclasses that only override ``_abort_write_group``
4588
don't need to change.
4590
* Transport implementations must provide copy_tree_to_transport. A default
4591
implementation is provided for Transport subclasses.
4596
* ``bzr selftest`` now fails if no doctests are found in a module
4597
that's expected to have them. (Martin Pool)
4599
* Doctests now only report the first failure. (Martin Pool)
4605
:Released: 2008-11-07
4607
This release of Bazaar adds a new repository format, ``1.9``, with smaller
4608
and more efficient index files. This format can be specified when
4609
creating a new repository, or used to losslessly upgrade an existing
4610
repository. bzr 1.9 also speeds most operations over the smart server
4611
protocol, makes annotate faster, and uses less memory when making
4612
checkouts or pulling large amounts of data.
4617
* Fix "invalid property value 'branch-nick' for None" regression with
4618
branches bound to svn branches. (Martin Pool, #293440)
4620
* Fix SSL/https on Python2.6. (Vincent Ladeuil, #293054)
4622
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
4623
This only triggers some-of-the-time on Knit format repositories.
4624
(John Arbash Meinel, #293746)
4630
:Released: 2008-10-31
4635
* New Branch hook ``transform_fallback_location`` allows a function to
4636
be called when looking up the stacked source. (Michael Hudson)
4638
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
4639
the functionality of ``1.6``, but use the new btree indexes.
4640
These indexes are both smaller and faster for access to historical
4641
information. (John Arbash Meinel)
4646
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
4647
the tradeoff between bandwidth and latency. Should be tuned
4648
appropriately to not impact commands which need minimal information,
4649
but provide a significant boost to ones that need more context. Only
4650
has a direct impact on the ``--development2`` format which uses
4651
btree's for the indexes. (John Arbash Meinel)
4653
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
4654
the contents of a compressed btree file. (John Arbash Meinel)
4656
* ``bzr pack`` now tells the index builders to optimize for size. For
4657
btree index repositories, this can save 25% of the index size
4658
(mostly in the text indexes). (John Arbash Meinel)
4660
* ``bzr push`` to an existing branch or repository on a smart server
4661
is faster, due to Bazaar making more use of the ``get_parent_map``
4662
RPC when querying the remote branch's revision graph.
4665
* default username for bzr+ssh and sftp can be configured in
4666
authentication.conf. (Aaron Bentley)
4668
* launchpad-login now provides a default username for bzr+ssh and sftp
4669
URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
4671
* ``lp:`` lookups no longer include usernames, making them shareable and
4672
shorter. (Aaron Bentley)
4674
* New ``PackRepository.autopack`` smart server RPC, which does
4675
autopacking entirely on the server. This is much faster than
4676
autopacking via plain file methods, which downloads a large amount
4677
of pack data and then re-uploads the same pack data into a single
4678
file. This fixes a major (although infrequent) cause of lengthy
4679
delays when using a smart server. For example, pushing the 10th
4680
revision to a repository with 9 packs now takes 44 RPCs rather than
4681
179, and much less bandwidth too. This requires Bazaar 1.9 on both
4682
the client and the server, otherwise the client will fallback to the
4683
slower method. (Andrew Bennetts)
4688
* A failure to load a plugin due to an IncompatibleAPI exception is
4689
now correctly reported. (Robert Collins, #279451)
4691
* API versioning support now has a multiple-version checking api
4692
``require_any_api``. (Robert Collins, #279447)
4694
* ``bzr branch --stacked`` from a smart server to a standalone branch
4695
works again. This fixes a regression in 1.7 and 1.8.
4696
(Andrew Bennetts, #270397)
4698
* ``bzr co`` uses less memory. It used to unpack the entire WT into
4699
memory before writing it to disk. This was a little bit faster, but
4700
consumed lots of memory. (John Arbash Meinel, #269456)
4702
* ``bzr missing --quiet`` no longer prints messages about whether
4703
there are missing revisions. The exit code indicates whether there
4704
were or not. (Martin Pool, #284748)
4706
* Fixes to the ``annotate`` code. The fast-path which re-used the
4707
stored deltas was accidentally disabled all the time, instead of
4708
only when a branch was stacked. Second, the code would accidentally
4709
re-use a delta even if it wasn't against the left-parent, this
4710
could only happen if ``bzr reconcile`` decided that the parent
4711
ordering was incorrect in the file graph. (John Arbash Meinel)
4713
* "Permission denied" errors that occur when pushing a new branch to a
4714
smart server no longer cause tracebacks. (Andrew Bennetts, #278673)
4716
* Some compatibility fixes for building the extensions with MSVC and
4717
for python2.4. (John Arbash Meinel, #277484)
4719
* The index logic is now able to reload the list of pack files if and
4720
index ends up disappearing. We still don't reload if the pack data
4721
itself goes missing after checking the index. This bug appears as a
4722
transient failure (file not found) when another process is writing
4723
to the repository. (John Arbash Meinel, #153786)
4725
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
4726
it was previously set. All checkouts will now refer to the bound branch
4727
for a nickname if one was not explicitly set.
4728
(Marius Kruger, #230903)
4733
* Improved hook documentation. (Michael Ernst)
4738
* commands.plugins_cmds is now a CommandRegistry, not a dict.
4743
* New AuthenticationConfig.set_credentials method allows easy programmatic
4744
configuration of authetication credentials.
4750
:Released: 2008-10-16
4752
Bazaar 1.8 includes several fixes that improve working tree performance,
4753
display of revision logs, and merges. The bzr testsuite now passes on OS
4754
X and Python 2.6, and almost completely passes on Windows. The
4755
smartserver code has gained several bug fixes and performance
4756
improvements, and can now run server-side hooks within an http server.
4761
* Fix "Must end write group" error when another error occurs during
4762
``bzr push``. (Andrew Bennetts, #230902)
4767
* Some Pyrex versions require the WIN32 macro defined to compile on
4768
that platform. (Alexander Belchenko, Martin Pool, #277481)
4774
:Released: 2008-10-07
4779
* ``bzr log file`` has been changed. It now uses a different method
4780
for determining which revisions to show as merging the changes to
4781
the file. It now only shows revisions which merged the change
4782
towards your mainline. This simplifies the output, makes it faster,
4783
and reduces memory consumption. (John Arbash Meinel)
4785
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
4786
``--show-base`` is not supplied. (John Arbash Meinel)
4788
* ``bzr+http//`` will now optionally load plugins and write logs on the
4789
server. (Marius Kruger)
4791
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
4792
Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
4793
explicitly blacklist that version of the compiler for that
4794
extension. Packaged versions will include .c files created with
4795
pyrex >= 0.9.6 so it doesn't effect releases, only users running
4796
from the source tree. (John Arbash Meinel, #276868)
4801
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
4802
supported (nor released, tests were conducted with the dev version of
4803
python-2.6rc2), but all known problems have been fixed. Feedback
4805
(Vincent Ladeuil, #269535)
4810
* ``bzr annotate`` will now include uncommitted changes from the local
4811
working tree by default. Such uncommitted changes are given the
4812
revision number they would get if a commit was done, followed with a
4813
? to indicate that its not actually known. (Robert Collins, #3439)
4815
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
4816
standalone branch regardless of the presence of shared repositories.
4819
* ``bzr push`` is faster in the case there are no new revisions to
4820
push. It is also faster if there are no tags in the local branch.
4823
* File changes during a commit will update the tree stat cache.
4826
* Location aliases can now accept a trailing path. (Micheal Hudson)
4828
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
4829
(Robert Collins, MartinPool)
4831
* Switching in heavyweight checkouts uses the master branch's context, not
4832
the checkout's context. (Adrian Wilkins)
4834
* ``status`` on large trees is now faster, due to optimisations in the
4835
walkdirs code. Of particular note, the walkdirs code now performs
4836
a temporary ``chdir()`` while reading a single directory; if your
4837
platform has non thread-local current working directories (and is
4838
not windows which has its own implementation), this may introduce a
4839
race condition during concurrent uses of bzrlib. The bzrlib CLI
4840
will not encounter this as it is single threaded for working tree
4841
operations. (Robert Collins)
4843
* The C extensions now build on python 2.4 (Robert Collins, #271939)
4845
* The ``-Dhpss`` debug flag now reports the number of smart server
4846
calls per medium to stderr. This is in addition to the existing
4847
detailed logging to the .bzr.log trace file. (Andrew Bennetts)
4852
* Avoid random failures arising from misinterpreted ``errno`` values
4853
in ``_readdir_pyx.read_dir``.
4854
(Martin Pool, #279381)
4856
* Branching from a shared repository on a smart server into a new
4857
repository now preserves the repository format.
4858
(Andrew Bennetts, #269214)
4860
* ``bzr log`` now accepts a ``--change`` option.
4861
(Vincent Ladeuil, #248427)
4863
* ``bzr missing`` now accepts an ``--include-merges`` option.
4864
(Vincent Ladeuil, #233817)
4866
* Don't try to filter (internally) '.bzr' from the files to be deleted if
4868
(Vincent Ladeuil, #272648)
4870
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
4873
* Fix TooManyConcurrentRequests errors caused by a connection failure
4874
when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
4875
(Andrew Bennetts, #246233)
4877
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
4878
is in a different repository than the current one.
4879
(Lukáš Lalinský, #144421)
4881
* Make the first line of the manpage preamble a comment again.
4882
(David Futcher, #242106)
4884
* Remove use of optional parameter in GSSAPI FTP support, since
4885
it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
4887
* The autopacking logic will now always create a single new pack from
4888
all of the content which it deems is worth moving. This avoids the
4889
'repack a single pack' bug and should result in better packing
4890
overall. (John Arbash Meinel, #242510, #172644)
4892
* Trivial documentation fix.
4893
(John Arbash Meinel, #270471)
4895
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
4896
it was previously set. All checkouts will now refer to the bound branch
4897
for a nickname if one was not explicitly set.
4898
(Marius Kruger, #230903)
4903
* Explain revision/range identifiers. (Daniel Clemente)
4908
* ``CommitBuilder.record_entry_contents`` returns one more element in
4909
its result tuple - an optional file system hash for the hash cache
4910
to use. (Robert Collins)
4912
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
4913
of a file if it is likely to be needed in determining the output
4914
of iter_changes. (Robert Collins)
4916
* The PackRepository, RepositoryPackCollection, NewPack classes have a
4917
slightly changed interface to support different index types; as a
4918
result other users of these classes need to supply the index types
4919
they want. (Robert Collins)
4924
* ``bzrlib.tests.repository_implementations`` has been renamed to
4925
``bzrlib.tests.per_repository`` so that we have a common structure
4926
(and it is shorter). (John Arbash Meinel, #239343)
4928
* ``LocalTransport.abspath()`` now returns a drive letter if the
4929
transport has one, fixing numerous tests on Windows.
4932
* PreviewTree is now tested via intertree_implementations.
4935
* The full test suite is passing again on OSX.
4936
(Guillermo Gonzalez, Vincent Ladeuil)
4938
* The full test suite passes when run with ``-Eallow_debug``.
4944
* A new hook, ``Branch.open``, has been added, which is called when
4945
branch objects are opened. (Robert Collins)
4947
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
4948
tree walking, and modular directory listing code to aid future
4949
performance optimisations and refactoring. (Robert Collins)
4951
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
4952
in the middle of processing. It only reports memory if
4953
``/proc/PID/status`` is available. (John Arbash Meinel)
4955
* New method ``RevisionSpec.as_tree`` for representing the revision
4956
specifier as a revision tree object. (Lukáš Lalinský)
4958
* New race-free method on MutableTree ``get_file_with_stat`` for use
4959
when generating stat cache results. (Robert Collins)
4961
* New win32utils.get_local_appdata_location() provides access to a local
4962
directory for storing data. (Mark Hammond)
4964
* To be compatible with python-2.6 a few new rules should be
4965
observed. 'message' attribute can't be used anymore in exception
4966
classes, 'sha' and 'md5' modules have been deprecated (use
4967
osutils.[md5|sha]), object__init__ and object.__new__ don't accept
4975
:Released: 2008-10-01
4977
No changes from 1.7.1rc1.
4983
:Released: 2008-09-24
171
4985
This release just includes an update to how the merge algorithm handles
172
4986
file paths when we encounter complex history.
176
* If we encounter a criss-cross in history, use information from
177
direct Least Common Ancestors to resolve inventory shape (locations
178
of files, adds, deletes, etc). This is similar in concept to using
179
``--lca`` for merging file texts, only applied to paths.
4991
* If we encounter a criss-cross in history, use information from
4992
direct Least Common Ancestors to resolve inventory shape (locations
4993
of files, adds, deletes, etc). This is similar in concept to using
4994
``--lca`` for merging file texts, only applied to paths.
4995
(John Arbash Meinel)
5001
:Released: 2008-09-23
186
5003
This release includes many bug fixes and a few performance and feature
187
5004
improvements. ``bzr rm`` will now scan for missing files and remove them,
1699
6619
substantially faster. Several bugs have been fixed and several new options and
1700
6620
features have been added.
1704
* Avoid spurious failure of ``TestVersion.test_version`` matching
1706
(#202778, Martin Pool)
1709
bzr 1.3rc1 2008-03-16
1710
---------------------
1712
NOTES WHEN UPGRADING:
1714
* The backup directory created by ``upgrade`` is now called
1715
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
1719
* A new repository format 'development' has been added. This format will
1720
represent the latest 'in-progress' format that the bzr developers are
1721
interested in getting early-adopter testing and feedback on.
1722
``doc/developers/development-repo.txt`` has detailed information.
1725
* BZR_LOG environment variable controls location of .bzr.log trace file.
1726
User can suppress writing messages to .bzr.log by using '/dev/null'
1727
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
1728
is not defined but BZR_HOME is defined then default location
1729
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
1730
(Alexander Belchenko)
1732
* ``launchpad`` builtin plugin now shipped as separate part in standalone
1733
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
1734
and standalone installer allows user to skip installation of this plugin.
1735
(Alexander Belchenko)
1737
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
1739
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
1740
missing final fields. (Martin Pool)
1744
* ``branch`` and ``checkout`` can hard-link working tree files, which is
1745
faster and saves space. (Aaron Bentley)
1747
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
1748
the submit branch to determine the email address to send to.
1753
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
1755
* Branch6.generate_revision_history is faster. (Aaron Bentley)
1757
* Directory services can now be registered, allowing special URLs to be
1758
dereferenced into real URLs. This is a generalization and cleanup of
1759
the lp: transport lookup. (Aaron Bentley)
1761
* Merge directives that are automatically attached to emails have nicer
1762
filenames, based on branch-nick + revno. (Aaron Bentley)
1764
* ``push`` has a ``--revision`` option, to specify what revision to push up
1765
to. (Daniel Watkins)
1767
* Significantly reducing execution time and network traffic for trivial
1768
case of running ``bzr missing`` command for two identical branches.
1769
(Alexander Belchenko)
1771
* Speed up operations that look at the revision graph (such as 'bzr log').
1772
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
1773
extract the revision history. This allows filtering ghosts while
1774
stepping instead of needing to peek ahead. (John Arbash Meinel)
1776
* The ``hooks`` command lists installed hooks, to assist in debugging.
1779
* Updates to how ``annotate`` work. Should see a measurable improvement in
1780
performance and memory consumption for file with a lot of merges.
1781
Also, correctly handle when a line is introduced by both parents (it
1782
should be attributed to the first merge which notices this, and not
1783
to all subsequent merges.) (John Arbash Meinel)
1787
* Autopacking no longer holds the full set of inventory lines in
1788
memory while copying. For large repositories, this can amount to
1789
hundreds of MB of ram consumption.
1790
(Ian Clatworthy, John Arbash Meinel)
1792
* Cherrypicking when using ``--format=merge3`` now explictly excludes
1793
BASE lines. (John Arbash Meinel, #151731)
1795
* Disable plink's interactive prompt for password.
1796
(#107593, Dmitry Vasiliev)
1798
* Encode command line arguments from unicode to user_encoding before
1799
invoking external mail client in `bzr send` command.
1800
(#139318, Alexander Belchenko)
1802
* Fixed problem connecting to ``bzr+https://`` servers.
1803
(#198793, John Ferlito)
1805
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
1808
* Include quick-start-summary.svg file to python-based installer(s)
1809
for Windows. (#192924, Alexander Belchenko)
1811
* lca merge now respects specified files. (Aaron Bentley)
1813
* Make version-info --custom imply --all. (#195560, James Westby)
1815
* ``merge --preview`` now works for merges that add or modify
1816
symlinks (James Henstridge)
1818
* Redirecting the output from ``bzr merge`` (when the remembered
1819
location is used) now works. (John Arbash Meinel)
1821
* setup.py script explicitly checks for Python version.
1822
(Jari Aalto, Alexander Belchenko, #200569)
1824
* UnknownFormatErrors no longer refer to branches regardless of kind of
1825
unknown format. (Daniel Watkins, #173980)
1827
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
1828
signs, among other small improvements. (Matt Nordhoff, #86838)
1830
* Use correct indices when emitting LCA conflicts. This fixes IndexError
1831
errors. (Aaron Bentley, #196780)
1835
* Explained how to use ``version-info --custom`` in the User Guide.
1836
(Neil Martinsen-Burrell)
1840
* Support for loading plugins from zip files and
1841
``bzrlib.plugin.load_from_zip()`` function are deprecated.
1842
(Alexander Belchenko)
1846
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
1848
* The branch interface tests were invalid for branches using rich-root
1849
repositories because the empty string is not a valid file-id.
1854
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
1855
``Repository.get_revision_graph()`` except it includes ghosts and you can
1856
stop part-way through. (John Arbash Meinel)
1858
* New module ``tools/package_mf.py`` provide custom module finder for
1859
python packages (improves standard python library's modulefinder.py)
1860
used by ``setup.py`` script while building standalone bzr.exe.
1861
(Alexander Belchenko)
1863
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
1864
detecting external lookup support on remote repositories. This method is
1865
now attempted first when lookup up repositories, leading to an extra
1866
round trip on older bzr smart servers. (Robert Collins)
1868
* Repository formats have a new supported-feature attribute
1869
``supports_external_lookups`` used to indicate repositories which support
1870
falling back to other repositories when they have partial data.
1873
* ``Repository.get_revision_graph_with_ghosts`` and
1874
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
1875
have been deprecated. (John Arbash Meinel)
1877
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
1878
``Tree._iter_changes``. The api is now considered stable and ready for
1879
external users. (Aaron Bentley)
1881
* The bzrdir format registry now accepts an ``alias`` keyword to
1882
register_metadir, used to indicate that a format name is an alias for
1883
some other format and thus should not be reported when describing the
1884
format. (Robert Collins)
1892
* Fix failing test in Launchpad plugin. (Martin Pool)
1895
bzr 1.2rc1 2008-02-13
1896
---------------------
1898
NOTES WHEN UPGRADING:
1900
* Fetching via the smart protocol may need to reconnect once during a fetch
1901
if the remote server is running Bazaar 1.1 or earlier, because the client
1902
attempts to use more efficient requests that confuse older servers. You
1903
may be required to re-enter a password or passphrase when this happens.
1904
This won't happen if the server is upgraded to Bazaar 1.2.
1909
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
1910
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
1912
* Formatting of ``bzr plugins`` output is changed to be more human-
1913
friendly. Full path of plugins locations will be shown only with
1914
``--verbose`` command-line option. (Alexander Belchenko)
1916
* ``merge`` now prefers to use the submit branch, but will fall back to
1917
parent branch. For many users, this has no effect. But some users who
1918
pull and merge on the same branch will notice a change. This change
1919
makes it easier to work on a branch on two different machines, pulling
1920
between the machines, while merging from the upstream.
1921
``merge --remember`` can now be used to set the submit_branch.
1926
* ``merge --preview`` produces a diff of the changes merge would make,
1927
but does not actually perform the merge. (Aaron Bentley)
1929
* New smart method ``Repository.get_parent_map`` for getting revision
1930
parent data. This returns additional parent information topologically
1931
adjacent to the requested data to reduce round trip latency impacts.
1934
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
1935
revision data that streams revision data via a chunked encoding. This
1936
avoids buffering large amounts of revision data on the server and on the
1937
client, and sends less data to the server to request the revisions.
1938
(Andrew Bennetts, Robert Collins, #178353)
1940
* The launchpad plugin now handles lp urls of the form
1941
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
1942
launchpad instance to do the resolution of the branch identities.
1943
This is primarily of use to Launchpad developers, but can also
1944
be used by other users who want to try out Launchpad as
1945
a branch location without messing up their public Launchpad
1946
account. Branches that are pushed to the staging environment
1947
have an expected lifetime of one day. (Tim Penhey)
1951
* Creating a new branch no longer tries to read the entire revision-history
1952
unnecessarily over smart server operations. (Robert Collins)
1954
* Fetching between different repository formats with compatible models now
1955
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
1957
* The ``--coverage`` option is now global, rather specific to ``bzr
1958
selftest``. (Andrew Bennetts)
1960
* The ``register-branch`` command will now use the public url of the branch
1961
containing the current directory, if one has been set and no explicit
1962
branch is provided. (Robert Collins)
1964
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
1965
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
1966
(John Arbash Meinel)
1970
* Calculate remote path relative to the shared medium in _SmartClient. This
1971
is related to the problem in bug #124089. (Andrew Bennetts)
1973
* Cleanly handle connection errors in smart protocol version two, the same
1974
way as they are handled by version one. (Andrew Bennetts)
1976
* Clearer error when ``version-info --custom`` is used without
1977
``--template`` (Lukáš Lalinský)
1979
* Don't raise UnavailableFeature during test setup when medusa is not
1980
available or tearDown is never called leading to nasty side effects.
1981
(#137823, Vincent Ladeuil)
1983
* If a plugin's test suite cannot be loaded, for example because of a syntax
1984
error in the tests, then ``selftest`` fails, rather than just printing
1985
a warning. (Martin Pool, #189771)
1987
* List possible values for BZR_SSH environment variable in env-variables
1988
help topic. (Alexander Belchenko, #181842)
1990
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
1991
popping the log redirection now precisely restores the previous state,
1992
which makes it easier to use bzr log output from other programs.
1993
TestCaseInTempDir no longer depends on a log redirection being established
1994
by the test framework, which lets bzr tests cleanly run from a normal
1996
(#124153, #124849, Martin Pool, Jonathan Lange)
1998
* ``pull --quiet`` is now more quiet, in particular a message is no longer
1999
printed when the remembered pull location is used. (James Westby,
2002
* ``reconfigure`` can safely be interrupted while fetching.
2003
(Aaron Bentley, #179316)
2005
* ``reconfigure`` preserves tags when converting to and from lightweight
2006
checkouts. (Aaron Bentley, #182040)
2008
* Stop polluting /tmp when running selftest.
2009
(Vincent Ladeuil, #123623)
2011
* Switch from NFKC => NFC for normalization checks. NFC allows a few
2012
more characters which should be considered valid.
2013
(John Arbash Meinel, #185458)
2015
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
2016
interacting badly with a bug on the launchpad side. (Robert Collins)
2018
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
2019
tracebacks. (Andrew Bennetts, #182849)
2023
* Classes implementing Merge types like Merge3Merger must now accept (and
2024
honour) a do_merge flag in their constructor. (Aaron Bentley)
2026
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
2027
to previously take a write lock (and start a write group.)
2032
* selftest now accepts --load-list <file> to load a test id list. This
2033
speeds up running the test suite on a limited set of tests.
2038
* Add a new method ``get_result`` to graph search objects. The resulting
2039
``SearchResult`` can be used to recreate the search later, which will
2040
be useful in reducing network traffic. (Robert Collins)
2042
* Use convenience function to check whether two repository handles
2043
are referring to the same repository in ``Repository.get_graph``.
2044
(Jelmer Vernooij, #187162)
2046
* Fetching now passes the find_ghosts flag through to the
2047
``InterRepository.missing_revision_ids`` call consistently for all
2048
repository types. This will enable faster missing revision discovery with
2049
bzr+ssh. (Robert Collins)
2051
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
2053
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
2054
``InterRepository.search_missing_revision_ids`` which returns a
2055
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
2056
server. (Robert Collins)
2058
* New error ``NoPublicBranch`` for commands that need a public branch to
2059
operate. (Robert Collins)
2061
* New method ``iter_inventories`` on Repository for access to many
2062
inventories. This is primarily used by the ``revision_trees`` method, as
2063
direct access to inventories is discouraged. (Robert Collins)
2065
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
2066
which will split out ghosts and present parents into two separate sets,
2067
useful for code which needs to be aware of ghosts (e.g. fetching data
2068
cares about ghosts during revision selection). (Robert Collins)
2070
* Record a timestamp against each mutter to the trace file, relative to the
2071
first import of bzrlib. (Andrew Bennetts)
2073
* ``Repository.get_data_stream`` is now deprecated in favour of
2074
``Repository.get_data_stream_for_search`` which allows less network
2075
traffic when requesting data streams over a smart server. (Robert Collins)
2077
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
2078
removing one round trip on many network operations. (Robert Collins)
2080
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
2081
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
2083
* Repository has a new method ``has_revisions`` which signals the presence
2084
of many revisions by returning a set of the revisions listed which are
2085
present. This can be done by index queries without reading data for parent
2086
revision names etc. (Robert Collins)
6625
* Avoid spurious failure of ``TestVersion.test_version`` matching
6627
(#202778, Martin Pool)
6633
:Released: 2008-03-16
6635
Notes When Upgrading
6636
********************
6638
* The backup directory created by ``upgrade`` is now called
6639
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
6644
* A new repository format 'development' has been added. This format will
6645
represent the latest 'in-progress' format that the bzr developers are
6646
interested in getting early-adopter testing and feedback on.
6647
``doc/developers/development-repo.txt`` has detailed information.
6650
* BZR_LOG environment variable controls location of .bzr.log trace file.
6651
User can suppress writing messages to .bzr.log by using '/dev/null'
6652
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
6653
is not defined but BZR_HOME is defined then default location
6654
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6655
(Alexander Belchenko, #106117)
6657
* ``launchpad`` builtin plugin now shipped as separate part in standalone
6658
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
6659
and standalone installer allows user to skip installation of this plugin.
6660
(Alexander Belchenko)
6662
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
6664
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
6665
missing final fields. (Martin Pool)
6670
* ``branch`` and ``checkout`` can hard-link working tree files, which is
6671
faster and saves space. (Aaron Bentley)
6673
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
6674
the submit branch to determine the email address to send to.
6680
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
6682
* Branch6.generate_revision_history is faster. (Aaron Bentley)
6684
* Directory services can now be registered, allowing special URLs to be
6685
dereferenced into real URLs. This is a generalization and cleanup of
6686
the lp: transport lookup. (Aaron Bentley)
6688
* Merge directives that are automatically attached to emails have nicer
6689
filenames, based on branch-nick + revno. (Aaron Bentley)
6691
* ``push`` has a ``--revision`` option, to specify what revision to push up
6692
to. (Daniel Watkins)
6694
* Significantly reducing execution time and network traffic for trivial
6695
case of running ``bzr missing`` command for two identical branches.
6696
(Alexander Belchenko)
6698
* Speed up operations that look at the revision graph (such as 'bzr log').
6699
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
6700
extract the revision history. This allows filtering ghosts while
6701
stepping instead of needing to peek ahead. (John Arbash Meinel)
6703
* The ``hooks`` command lists installed hooks, to assist in debugging.
6706
* Updates to how ``annotate`` work. Should see a measurable improvement in
6707
performance and memory consumption for file with a lot of merges.
6708
Also, correctly handle when a line is introduced by both parents (it
6709
should be attributed to the first merge which notices this, and not
6710
to all subsequent merges.) (John Arbash Meinel)
6715
* Autopacking no longer holds the full set of inventory lines in
6716
memory while copying. For large repositories, this can amount to
6717
hundreds of MB of ram consumption.
6718
(Ian Clatworthy, John Arbash Meinel)
6720
* Cherrypicking when using ``--format=merge3`` now explictly excludes
6721
BASE lines. (John Arbash Meinel, #151731)
6723
* Disable plink's interactive prompt for password.
6724
(#107593, Dmitry Vasiliev)
6726
* Encode command line arguments from unicode to user_encoding before
6727
invoking external mail client in `bzr send` command.
6728
(#139318, Alexander Belchenko)
6730
* Fixed problem connecting to ``bzr+https://`` servers.
6731
(#198793, John Ferlito)
6733
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
6736
* Include quick-start-summary.svg file to python-based installer(s)
6737
for Windows. (#192924, Alexander Belchenko)
6739
* lca merge now respects specified files. (Aaron Bentley)
6741
* Make version-info --custom imply --all. (#195560, James Westby)
6743
* ``merge --preview`` now works for merges that add or modify
6744
symlinks (James Henstridge)
6746
* Redirecting the output from ``bzr merge`` (when the remembered
6747
location is used) now works. (John Arbash Meinel)
6749
* setup.py script explicitly checks for Python version.
6750
(Jari Aalto, Alexander Belchenko, #200569)
6752
* UnknownFormatErrors no longer refer to branches regardless of kind of
6753
unknown format. (Daniel Watkins, #173980)
6755
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
6756
signs, among other small improvements. (Matt Nordhoff, #86838)
6758
* Use correct indices when emitting LCA conflicts. This fixes IndexError
6759
errors. (Aaron Bentley, #196780)
6764
* Explained how to use ``version-info --custom`` in the User Guide.
6765
(Neil Martinsen-Burrell)
6770
* Support for loading plugins from zip files and
6771
``bzrlib.plugin.load_from_zip()`` function are deprecated.
6772
(Alexander Belchenko)
6777
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
6779
* The branch interface tests were invalid for branches using rich-root
6780
repositories because the empty string is not a valid file-id.
6786
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
6787
``Repository.get_revision_graph()`` except it includes ghosts and you can
6788
stop part-way through. (John Arbash Meinel)
6790
* New module ``tools/package_mf.py`` provide custom module finder for
6791
python packages (improves standard python library's modulefinder.py)
6792
used by ``setup.py`` script while building standalone bzr.exe.
6793
(Alexander Belchenko)
6795
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
6796
detecting external lookup support on remote repositories. This method is
6797
now attempted first when lookup up repositories, leading to an extra
6798
round trip on older bzr smart servers. (Robert Collins)
6800
* Repository formats have a new supported-feature attribute
6801
``supports_external_lookups`` used to indicate repositories which support
6802
falling back to other repositories when they have partial data.
6805
* ``Repository.get_revision_graph_with_ghosts`` and
6806
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
6807
have been deprecated. (John Arbash Meinel)
6809
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
6810
``Tree._iter_changes``. The api is now considered stable and ready for
6811
external users. (Aaron Bentley)
6813
* The bzrdir format registry now accepts an ``alias`` keyword to
6814
register_metadir, used to indicate that a format name is an alias for
6815
some other format and thus should not be reported when describing the
6816
format. (Robert Collins)
6822
:Released: 2008-02-15
6827
* Fix failing test in Launchpad plugin. (Martin Pool)
6833
:Released: 2008-02-13
6835
Notes When Upgrading
6836
********************
6838
* Fetching via the smart protocol may need to reconnect once during a fetch
6839
if the remote server is running Bazaar 1.1 or earlier, because the client
6840
attempts to use more efficient requests that confuse older servers. You
6841
may be required to re-enter a password or passphrase when this happens.
6842
This won't happen if the server is upgraded to Bazaar 1.2.
6848
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
6849
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
6851
* Formatting of ``bzr plugins`` output is changed to be more human-
6852
friendly. Full path of plugins locations will be shown only with
6853
``--verbose`` command-line option. (Alexander Belchenko)
6855
* ``merge`` now prefers to use the submit branch, but will fall back to
6856
parent branch. For many users, this has no effect. But some users who
6857
pull and merge on the same branch will notice a change. This change
6858
makes it easier to work on a branch on two different machines, pulling
6859
between the machines, while merging from the upstream.
6860
``merge --remember`` can now be used to set the submit_branch.
6866
* ``merge --preview`` produces a diff of the changes merge would make,
6867
but does not actually perform the merge. (Aaron Bentley)
6869
* New smart method ``Repository.get_parent_map`` for getting revision
6870
parent data. This returns additional parent information topologically
6871
adjacent to the requested data to reduce round trip latency impacts.
6874
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
6875
revision data that streams revision data via a chunked encoding. This
6876
avoids buffering large amounts of revision data on the server and on the
6877
client, and sends less data to the server to request the revisions.
6878
(Andrew Bennetts, Robert Collins, #178353)
6880
* The launchpad plugin now handles lp urls of the form
6881
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
6882
launchpad instance to do the resolution of the branch identities.
6883
This is primarily of use to Launchpad developers, but can also
6884
be used by other users who want to try out Launchpad as
6885
a branch location without messing up their public Launchpad
6886
account. Branches that are pushed to the staging environment
6887
have an expected lifetime of one day. (Tim Penhey)
6892
* Creating a new branch no longer tries to read the entire revision-history
6893
unnecessarily over smart server operations. (Robert Collins)
6895
* Fetching between different repository formats with compatible models now
6896
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
6898
* The ``--coverage`` option is now global, rather specific to ``bzr
6899
selftest``. (Andrew Bennetts)
6901
* The ``register-branch`` command will now use the public url of the branch
6902
containing the current directory, if one has been set and no explicit
6903
branch is provided. (Robert Collins)
6905
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
6906
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
6907
(John Arbash Meinel)
6912
* Calculate remote path relative to the shared medium in _SmartClient. This
6913
is related to the problem in bug #124089. (Andrew Bennetts)
6915
* Cleanly handle connection errors in smart protocol version two, the same
6916
way as they are handled by version one. (Andrew Bennetts)
6918
* Clearer error when ``version-info --custom`` is used without
6919
``--template`` (Lukáš Lalinský)
6921
* Don't raise UnavailableFeature during test setup when medusa is not
6922
available or tearDown is never called leading to nasty side effects.
6923
(#137823, Vincent Ladeuil)
6925
* If a plugin's test suite cannot be loaded, for example because of a syntax
6926
error in the tests, then ``selftest`` fails, rather than just printing
6927
a warning. (Martin Pool, #189771)
6929
* List possible values for BZR_SSH environment variable in env-variables
6930
help topic. (Alexander Belchenko, #181842)
6932
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
6933
popping the log redirection now precisely restores the previous state,
6934
which makes it easier to use bzr log output from other programs.
6935
TestCaseInTempDir no longer depends on a log redirection being established
6936
by the test framework, which lets bzr tests cleanly run from a normal
6938
(#124153, #124849, Martin Pool, Jonathan Lange)
6940
* ``pull --quiet`` is now more quiet, in particular a message is no longer
6941
printed when the remembered pull location is used. (James Westby,
6944
* ``reconfigure`` can safely be interrupted while fetching.
6945
(Aaron Bentley, #179316)
6947
* ``reconfigure`` preserves tags when converting to and from lightweight
6948
checkouts. (Aaron Bentley, #182040)
6950
* Stop polluting /tmp when running selftest.
6951
(Vincent Ladeuil, #123363)
6953
* Switch from NFKC => NFC for normalization checks. NFC allows a few
6954
more characters which should be considered valid.
6955
(John Arbash Meinel, #185458)
6957
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
6958
interacting badly with a bug on the launchpad side. (Robert Collins)
6960
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
6961
tracebacks. (Andrew Bennetts, #182849)
6966
* Classes implementing Merge types like Merge3Merger must now accept (and
6967
honour) a do_merge flag in their constructor. (Aaron Bentley)
6969
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
6970
to previously take a write lock (and start a write group.)
6976
* selftest now accepts --load-list <file> to load a test id list. This
6977
speeds up running the test suite on a limited set of tests.
6983
* Add a new method ``get_result`` to graph search objects. The resulting
6984
``SearchResult`` can be used to recreate the search later, which will
6985
be useful in reducing network traffic. (Robert Collins)
6987
* Use convenience function to check whether two repository handles
6988
are referring to the same repository in ``Repository.get_graph``.
6989
(Jelmer Vernooij, #187162)
6991
* Fetching now passes the find_ghosts flag through to the
6992
``InterRepository.missing_revision_ids`` call consistently for all
6993
repository types. This will enable faster missing revision discovery with
6994
bzr+ssh. (Robert Collins)
6996
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
6998
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
6999
``InterRepository.search_missing_revision_ids`` which returns a
7000
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
7001
server. (Robert Collins)
7003
* New error ``NoPublicBranch`` for commands that need a public branch to
7004
operate. (Robert Collins)
7006
* New method ``iter_inventories`` on Repository for access to many
7007
inventories. This is primarily used by the ``revision_trees`` method, as
7008
direct access to inventories is discouraged. (Robert Collins)
7010
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
7011
which will split out ghosts and present parents into two separate sets,
7012
useful for code which needs to be aware of ghosts (e.g. fetching data
7013
cares about ghosts during revision selection). (Robert Collins)
7015
* Record a timestamp against each mutter to the trace file, relative to the
7016
first import of bzrlib. (Andrew Bennetts)
7018
* ``Repository.get_data_stream`` is now deprecated in favour of
7019
``Repository.get_data_stream_for_search`` which allows less network
7020
traffic when requesting data streams over a smart server. (Robert Collins)
7022
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
7023
removing one round trip on many network operations. (Robert Collins)
7025
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
7026
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
7028
* Repository has a new method ``has_revisions`` which signals the presence
7029
of many revisions by returning a set of the revisions listed which are
7030
present. This can be done by index queries without reading data for parent
7031
revision names etc. (Robert Collins)
7037
:Released: 2008-01-15
2092
7039
(no changes from 1.1rc1)
2094
bzr 1.1rc1 2008-01-05
2095
---------------------
2099
* Dotted revision numbers have been revised. Instead of growing longer with
2100
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
2101
we now report 1.2.1.) This helps scale long lived branches which have many
2102
feature branches merged between them. (John Arbash Meinel)
2104
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
2105
Use ``bzr diff branch1 --new branch2`` instead. This change has
2106
been made to remove the ambiguity where ``branch2`` is in fact a
2107
specific file to diff within ``branch1``.
2111
* New option to use custom template-based formats in ``bzr version-info``.
2114
* diff '--using' allows an external diff tool to be used for files.
2117
* New "lca" merge-type for fast everyday merging that also supports
2118
criss-cross merges. (Aaron Bentley)
2122
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
2125
* ``branch`` and ``checkout`` can now use files from a working tree to
2126
to speed up the process. For checkout, this requires the new
2127
--files-from flag. (Aaron Bentley)
2129
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
2131
* ``bzr diff`` now works on branches without working trees. Tree-less
2132
branches can also be compared to each other and to working trees using
2133
the new diff options ``--old`` and ``--new``. Diffing between branches,
2134
with or without trees, now supports specific file filtering as well.
2135
(Ian Clatworthy, #6700)
2137
* ``bzr pack`` now orders revision texts in topological order, with newest
2138
at the start of the file, promoting linear reads for ``bzr log`` and the
2139
like. This partially fixes #154129. (Robert Collins)
2141
* Merge directives now fetch prerequisites from the target branch if
2142
needed. (Aaron Bentley)
2144
* pycurl now handles digest authentication.
2147
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
2149
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
2151
* ``merge`` now warns when merge directives cause cherrypicks.
2154
* ``split`` now supported, to enable splitting large trees into smaller
2155
pieces. (Aaron Bentley)
2159
* Avoid AttributeError when unlocking a pack repository when an error occurs.
2160
(Martin Pool, #180208)
2162
* Better handle short reads when processing multiple range requests.
2163
(Vincent Ladeuil, #179368)
2165
* build_tree acceleration uses the correct path when a file has been moved.
2168
* ``commit`` now succeeds when a checkout and its master branch share a
2169
repository. (Aaron Bentley, #177592)
2171
* Fixed error reporting of unsupported timezone format in
2172
``log --timezone``. (Lukáš Lalinský, #178722)
2174
* Fixed Unicode encoding error in ``ignored`` when the output is
2175
redirected to a pipe. (Lukáš Lalinský)
2177
* Fix traceback when sending large response bodies over the smart protocol
2178
on Windows. (Andrew Bennetts, #115781)
2180
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
2181
pointed to different logical drives on Windows.
2182
(Alexander Belchenko, #90847)
2184
* HTTP test servers are now compatible with the http protocol version 1.1.
2185
(Vincent Ladeuil, #175524)
2187
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
2188
correctly, instead of erroring or attributing incorrect parents to ghosts.
2191
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
2193
* pycurl authentication handling was broken and incomplete. Fix handling of
2194
user:pass embedded in the urls.
2195
(Vincent Ladeuil, #177643)
2197
* Files inside non-directories are now handled like other conflict types.
2198
(Aaron Bentley, #177390)
2200
* ``reconfigure`` is able to convert trees into lightweight checkouts.
2203
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
2206
* Test that the old ``version_info_format`` functions still work, even
2207
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
2209
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
2212
* ``uncommit`` works even when the commit messages of revisions to be
2213
removed use characters not supported in the terminal encoding.
2216
* When dumb http servers return whole files instead of the requested ranges,
2217
read the remaining bytes by chunks to avoid overflowing network buffers.
2218
(Vincent Ladeuil, #175886)
2222
* Minor tweaks made to the bug tracker integration documentation.
2225
* Reference material has now be moved out of the User Guide and added
2226
to the User Reference. The User Reference has gained 4 sections as
2227
a result: Authenication Settings, Configuration Settings, Conflicts
2228
and Hooks. All help topics are now dumped into text format in the
2229
doc/en/user-reference directory for those who like browsing that
2230
information in their editor. (Ian Clatworthy)
2232
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
2236
* find_* methods available for BzrDirs, Branches and WorkingTrees.
2239
* Help topics can now be loaded from files.
2240
(Ian Clatworthy, Alexander Belchenko)
2242
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
2244
* Parent Providers should now implement ``get_parent_map`` returning a
2245
dictionary instead of ``get_parents`` returning a list.
2246
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
2249
* Patience Diff now supports arbitrary python objects, as long as they
2250
support ``hash()``. (John Arbash Meinel)
2252
* Reduce selftest overhead to establish test names by memoization.
2259
* Modules can now customise their tests by defining a ``load_tests``
2260
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
2261
for the documentation on this attribute. (Robert Collins)
2263
* New helper function ``bzrlib.tests.condition_id_re`` which helps
2264
filter tests based on a regular expression search on the tests id.
2267
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
2268
filter tests based on class. (Robert Collins)
2270
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
2271
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
2273
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
2274
generalises the ``filter_suite_by_re`` function. (Robert Collins)
2276
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
2277
TestSuite that does not contain tests from the input that matched a
2278
regular expression. (Robert Collins)
2280
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
2281
randomized copy of the input suite. (Robert Collins)
2283
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
2284
suite into two according to a regular expression. (Robert Collins)
2286
* Parametrize all http tests for the transport implementations, the http
2287
protocol versions (1.0 and 1.1) and the authentication schemes.
2290
* The ``exclude_pattern`` and ``random_order`` parameters to the function
2291
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
2293
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
2294
replaced by the new helper methods added in this release. (Robert Collins)
2302
* More improvements and fixes to the User Guide. (Ian Clatworthy)
2304
* Add information on cherrypicking/rebasing to the User Guide.
2307
* Improve bug tracker integration documentation. (Ian Clatworthy)
2309
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
2310
to the rebasing section of the User Guide from Aaron Bentley.
2314
bzr 1.0rc3 2007-12-11
2315
---------------------
2319
* If a traceback occurs, users are now asked to report the bug
2320
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
2321
by mail to the mailing list.
2326
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
2328
* Give more feedback during long http downloads by making readv deliver data
2329
as it arrives for urllib, and issue more requests for pycurl. High latency
2330
networks are better handled by urllib, the pycurl implementation give more
2331
feedback but also incur more latency.
2332
(Vincent Ladeuil, #173010)
2334
* Implement _make_parents_provider on RemoteRepository, allowing generating
2335
bundles against branches on a smart server. (Andrew Bennetts, #147836)
2339
* Improved user guide. (Ian Clatworthy)
2341
* The single-page quick reference guide is now available as a PDF.
2346
* readv urllib http implementation is now a real iterator above the
2347
underlying socket and deliver data as soon as it arrives. 'get' still
2348
wraps its output in a StringIO.
2352
bzr 1.0rc2 2007-12-07
2353
---------------------
2357
* Added a --coverage option to selftest. (Andrew Bennetts)
2359
* Annotate merge (merge-type=weave) now supports cherrypicking.
2362
* ``bzr commit`` now doesn't print the revision number twice. (Matt
2365
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
2366
define locations of bug trackers that are not directly supported by
2367
bzr or a plugin. The URL will be treated as a template and ``{id}``
2368
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
2370
* Support logging single merge revisions with short and line log formatters.
2373
* User Guide enhanced with suggested readability improvements from
2374
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
2376
* Quick Start Guide renamed to Quick Start Card, moved down in
2377
the catalog, provided in pdf and png format and updated to refer
2378
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
2380
* ``switch`` can now be used on heavyweight checkouts as well as
2381
lightweight ones. After switching a heavyweight checkout, the
2382
local branch is a mirror/cache of the new bound branch and
2383
uncommitted changes in the working tree are merged. As a safety
2384
check, if there are local commits in a checkout which have not
2385
been committed to the previously bound branch, then ``switch``
2386
fails unless the ``--force`` option is given. This option is
2387
now also required if the branch a lightweight checkout is pointing
2388
to has been moved. (Ian Clatworthy)
2392
* New -Dhttp debug option reports http connections, requests and responses.
2395
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
2399
* Better error message when running ``bzr cat`` on a non-existant branch.
2400
(Lukáš Lalinský, #133782)
2402
* Catch OSError 17 (file exists) in final phase of tree transform and show
2404
(Alexander Belchenko, #111758)
2406
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
2407
allowing multiple GET requests to be issued if too many ranges are
2409
(Vincent Ladeuil, #172701)
2411
* Check for missing basis texts when fetching from packs to packs.
2412
(John Arbash Meinel, #165290)
2414
* Fall back to showing e-mail in ``log --short/--line`` if the
2415
committer/author has only e-mail. (Lukáš Lalinský, #157026)
2419
* Deprecate not passing a ``location`` argument to commit reporters'
2420
``started`` methods. (Matt Nordhoff)
2423
bzr 1.0rc1 2007-11-30
2424
---------------------
2426
NOTES WHEN UPGRADING:
2428
* The default repository format is now ``pack-0.92``. This
2429
default is used when creating new repositories with ``init`` and
2430
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
2431
(See https://bugs.launchpad.net/bugs/164626)
2433
This format can be read and written by Bazaar 0.92 and later, and
2434
data can be transferred to and from older formats.
2436
To upgrade, please reconcile your repository (``bzr reconcile``), and then
2437
upgrade (``bzr upgrade``).
2439
``pack-0.92`` offers substantially better scaling and performance than the
2440
previous knits format. Some operations are slower where the code already
2441
had bad scaling characteristics under knits, the pack format makes such
2442
operations more visible as part of being more scalable overall. We will
2443
correct such operations over the coming releases and encourage the filing
2444
of bugs on any operation which you observe to be slower in a packs
2445
repository. One particular case that we do not intend to fix is pulling
2446
data from a pack repository into a knit repository over a high latency
2447
link; downgrading such data requires reinsertion of the file texts, and
2448
this is a classic space/time tradeoff. The current implementation is
2449
conservative on memory usage because we need to support converting data
2450
from any tree without problems.
2451
(Robert Collins, Martin Pool, #164476)
2455
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
2456
still available if user selects it explicitly with BZR_SSH environment
2457
variable. (Alexander Belchenko, workaround for bug #107593)
2459
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
2460
to enable the subtree functions (for example, for bzr-svn).
2461
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
2466
* New ``authentication.conf`` file holding the password or other credentials
2467
for remote servers. This can be used for ssh, sftp, smtp and other
2468
supported transports.
2471
* New rich-root and rich-root-pack formats, recording the same data about
2472
tree roots that's recorded for all other directories.
2473
(Aaron Bentley, #164639)
2475
* ``pack-0.92`` repositories can now be reconciled.
2476
(Robert Collins, #154173)
2478
* ``switch`` command added for changing the branch a lightweight checkout
2479
is associated with and updating the tree to reflect the latest content
2480
accordingly. This command was previously part of the BzrTools plug-in.
2481
(Ian Clatworthy, Aaron Bentley, David Allouche)
2483
* ``reconfigure`` command can now convert branches, trees, or checkouts to
2484
lightweight checkouts. (Aaron Bentley)
2488
* Commit updates the state of the working tree via a delta rather than
2489
supplying entirely new basis trees. For commit of a single specified file
2490
this reduces the wall clock time for commit by roughly a 30%.
2491
(Robert Collins, Martin Pool)
2493
* Commit with many automatically found deleted paths no longer performs
2494
linear scanning for the children of those paths during inventory
2495
iteration. This should fix commit performance blowing out when many such
2496
paths occur during commit. (Robert Collins, #156491)
2498
* Fetch with pack repositories will no longer read the entire history graph.
2499
(Robert Collins, #88319)
2501
* Revert takes out an appropriate lock when reverting to a basis tree, and
2502
does not read the basis inventory twice. (Robert Collins)
2504
* Diff does not require an inventory to be generated on dirstate trees.
2505
(Aaron Bentley, #149254)
2507
* New annotate merge (--merge-type=weave) implementation is fast on
2508
versionedfiles withough cached annotations, e.g. pack-0.92.
2513
* ``bzr merge`` now warns when it encounters a criss-cross merge.
2516
* ``bzr send`` now doesn't require the target e-mail address to be
2517
specified on the command line if an interactive e-mail client is used.
2520
* ``bzr tags`` now prints the revision number for each tag, instead of
2521
the revision id, unless --show-ids is passed. In addition, tags can be
2522
sorted chronologically instead of lexicographically with --sort=time.
2523
(Adeodato Simó, #120231)
2525
* Windows standalone version of bzr is able to load system-wide plugins from
2526
"plugins" subdirectory in installation directory. In addition standalone
2527
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
2528
about paths and bzr version. (Alexander Belchenko, #129298)
2534
* A progress bar has been added for knitpack -> knitpack fetching.
2535
(Robert Collins, #157789, #159147)
2537
* Branching from a branch via smart server now preserves the repository
2538
format. (Andrew Bennetts, #164626)
2540
* ``commit`` is now able to invoke an external editor in a non-ascii
2541
directory. (Daniel Watkins, #84043)
2543
* Catch connection errors for ftp.
2544
(Vincent Ladeuil, #164567)
2546
* ``check`` no longer reports spurious unreferenced text versions.
2547
(Robert Collins, John A Meinel, #162931, #165071)
2549
* Conflicts are now resolved recursively by ``revert``.
2550
(Aaron Bentley, #102739)
2552
* Detect invalid transport reuse attempts by catching invalid URLs.
2553
(Vincent Ladeuil, #161819)
2555
* Deleting a file without removing it shows a correct diff, not a traceback.
2558
* Do no use timeout in HttpServer anymore.
2559
(Vincent Ladeuil, #158972).
2561
* Don't catch the exceptions related to the http pipeline status before
2562
retrying an http request or some programming errors may be masked.
2563
(Vincent Ladeuil, #160012)
2565
* Fix ``bzr rm`` to not delete modified and ignored files.
2566
(Lukáš Lalinský, #172598)
2568
* Fix exception when revisionspec contains merge revisons but log
2569
formatter doesn't support merge revisions. (Kent Gibson, #148908)
2571
* Fix exception when ScopeReplacer is assigned to before any members have
2572
been retrieved. (Aaron Bentley)
2574
* Fix multiple connections during checkout --lightweight.
2575
(Vincent Ladeuil, #159150)
2577
* Fix possible error in insert_data_stream when copying between
2578
pack repositories over bzr+ssh or bzr+http.
2579
KnitVersionedFile.get_data_stream now makes sure that requested
2580
compression parents are sent before any delta hunks that depend
2582
(Martin Pool, #164637)
2584
* Fix typo in limiting offsets coalescing for http, leading to
2585
whole files being downloaded instead of parts.
2586
(Vincent Ladeuil, #165061)
2588
* FTP server errors don't error in the error handling code.
2589
(Robert Collins, #161240)
2591
* Give a clearer message when a pull fails because the source needs
2593
(Martin Pool, #164443)
2595
* It is clearer when a plugin cannot be loaded because of its name, and a
2596
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
2598
* Leave port as None in transport objects if user doesn't
2599
specify a port in urls.
2600
(vincent Ladeuil, #150860)
2602
* Make sure Repository.fetch(self) is properly a no-op for all
2603
Repository implementations. (John Arbash Meinel, #158333)
2605
* Mark .bzr directories as "hidden" on Windows.
2606
(Alexander Belchenko, #71147)
2608
* ``merge --uncommitted`` can now operate on a single file.
2609
(Aaron Bentley, Lukáš Lalinský, #136890)
2611
* Obsolete packs are now cleaned up by pack and autopack operations.
2612
(Robert Collins, #153789)
2614
* Operations pulling data from a smart server where the underlying
2615
repositories are not both annotated/both unannotated will now work.
2616
(Robert Collins, #165304).
2618
* Reconcile now shows progress bars. (Robert Collins, #159351)
2620
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
2621
properly. (John Arbash Meinel, #162486)
2623
* Removing an already-removed file reports the file does not exist. (Daniel
2626
* Rename on Windows is able to change filename case.
2627
(Alexander Belchenko, #77740)
2629
* Return error instead of a traceback for ``bzr log -r0``.
2630
(Kent Gibson, #133751)
2632
* Return error instead of a traceback when bzr is unable to create
2633
symlink on some platforms (e.g. on Windows).
2634
(Alexander Belchenko, workaround for #81689)
2636
* Revert doesn't crash when restoring a single file from a deleted
2637
directory. (Aaron Bentley)
2639
* Stderr output via logging mechanism now goes through encoded wrapper
2640
and no more uses utf-8, but terminal encoding instead. So all unicode
2641
strings now should be readable in non-utf-8 terminal.
2642
(Alexander Belchenko, #54173)
2644
* The error message when ``move --after`` should be used makes how to do so
2645
clearer. (Daniel Watkins, #85237)
2647
* Unicode-safe output from ``bzr info``. The output will be encoded
2648
using the terminal encoding and unrepresentable characters will be
2649
replaced by '?'. (Lukáš Lalinský, #151844)
2651
* Working trees are no longer created when pushing into a local no-trees
2652
repo. (Daniel Watkins, #50582)
2654
* Upgrade util/configobj to version 4.4.0.
2655
(Vincent Ladeuil, #151208).
2657
* Wrap medusa ftp test server as an FTPServer feature.
2658
(Vincent Ladeuil, #157752)
2662
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
2663
during very long time. (Alexander Belchenko)
2665
* The return value of
2666
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
2667
changed. Previously it was an iterator of lines, now it is an iterator of
2668
(line, version_id) tuples. This change has been made to aid reconcile and
2669
fetch operations. (Robert Collins)
2671
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
2674
* The Repository format registry default has been removed; it was previously
2675
obsoleted by the bzrdir format default, which implies a default repository
2681
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
2682
``bzrlib.pack``. These classes provide more convenient APIs for generating
2683
and parsing containers from streams rather than from files. (Andrew
2686
* New module ``lru_cache`` providing a cache for use by tasks that need
2687
semi-random access to large amounts of data. (John A Meinel)
2689
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
7044
:Released: 2008-01-05
7049
* Dotted revision numbers have been revised. Instead of growing longer with
7050
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
7051
we now report 1.2.1.) This helps scale long lived branches which have many
7052
feature branches merged between them. (John Arbash Meinel)
7054
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
7055
Use ``bzr diff branch1 --new branch2`` instead. This change has
7056
been made to remove the ambiguity where ``branch2`` is in fact a
7057
specific file to diff within ``branch1``.
7062
* New option to use custom template-based formats in ``bzr version-info``.
7065
* diff '--using' allows an external diff tool to be used for files.
7068
* New "lca" merge-type for fast everyday merging that also supports
7069
criss-cross merges. (Aaron Bentley)
7074
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
7077
* ``branch`` and ``checkout`` can now use files from a working tree to
7078
to speed up the process. For checkout, this requires the new
7079
--files-from flag. (Aaron Bentley)
7081
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
7083
* ``bzr diff`` now works on branches without working trees. Tree-less
7084
branches can also be compared to each other and to working trees using
7085
the new diff options ``--old`` and ``--new``. Diffing between branches,
7086
with or without trees, now supports specific file filtering as well.
7087
(Ian Clatworthy, #6700)
7089
* ``bzr pack`` now orders revision texts in topological order, with newest
7090
at the start of the file, promoting linear reads for ``bzr log`` and the
7091
like. This partially fixes #154129. (Robert Collins)
7093
* Merge directives now fetch prerequisites from the target branch if
7094
needed. (Aaron Bentley)
7096
* pycurl now handles digest authentication.
7099
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
7101
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
7103
* ``merge`` now warns when merge directives cause cherrypicks.
7106
* ``split`` now supported, to enable splitting large trees into smaller
7107
pieces. (Aaron Bentley)
7112
* Avoid AttributeError when unlocking a pack repository when an error occurs.
7113
(Martin Pool, #180208)
7115
* Better handle short reads when processing multiple range requests.
7116
(Vincent Ladeuil, #179368)
7118
* build_tree acceleration uses the correct path when a file has been moved.
7121
* ``commit`` now succeeds when a checkout and its master branch share a
7122
repository. (Aaron Bentley, #177592)
7124
* Fixed error reporting of unsupported timezone format in
7125
``log --timezone``. (Lukáš Lalinský, #178722)
7127
* Fixed Unicode encoding error in ``ignored`` when the output is
7128
redirected to a pipe. (Lukáš Lalinský)
7130
* Fix traceback when sending large response bodies over the smart protocol
7131
on Windows. (Andrew Bennetts, #115781)
7133
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
7134
pointed to different logical drives on Windows.
7135
(Alexander Belchenko, #90847)
7137
* HTTP test servers are now compatible with the http protocol version 1.1.
7138
(Vincent Ladeuil, #175524)
7140
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
7141
correctly, instead of erroring or attributing incorrect parents to ghosts.
7144
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
7146
* pycurl authentication handling was broken and incomplete. Fix handling of
7147
user:pass embedded in the urls.
7148
(Vincent Ladeuil, #177643)
7150
* Files inside non-directories are now handled like other conflict types.
7151
(Aaron Bentley, #177390)
7153
* ``reconfigure`` is able to convert trees into lightweight checkouts.
7156
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
7159
* Test that the old ``version_info_format`` functions still work, even
7160
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
7162
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
7165
* ``uncommit`` works even when the commit messages of revisions to be
7166
removed use characters not supported in the terminal encoding.
7169
* When dumb http servers return whole files instead of the requested ranges,
7170
read the remaining bytes by chunks to avoid overflowing network buffers.
7171
(Vincent Ladeuil, #175886)
7176
* Minor tweaks made to the bug tracker integration documentation.
7179
* Reference material has now be moved out of the User Guide and added
7180
to the User Reference. The User Reference has gained 4 sections as
7181
a result: Authenication Settings, Configuration Settings, Conflicts
7182
and Hooks. All help topics are now dumped into text format in the
7183
doc/en/user-reference directory for those who like browsing that
7184
information in their editor. (Ian Clatworthy)
7186
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
7191
* find_* methods available for BzrDirs, Branches and WorkingTrees.
7194
* Help topics can now be loaded from files.
7195
(Ian Clatworthy, Alexander Belchenko)
7197
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
7199
* Parent Providers should now implement ``get_parent_map`` returning a
7200
dictionary instead of ``get_parents`` returning a list.
7201
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
7204
* Patience Diff now supports arbitrary python objects, as long as they
7205
support ``hash()``. (John Arbash Meinel)
7207
* Reduce selftest overhead to establish test names by memoization.
7216
* Modules can now customise their tests by defining a ``load_tests``
7217
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
7218
for the documentation on this attribute. (Robert Collins)
7220
* New helper function ``bzrlib.tests.condition_id_re`` which helps
7221
filter tests based on a regular expression search on the tests id.
7224
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
7225
filter tests based on class. (Robert Collins)
7227
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
7228
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
7230
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
7231
generalises the ``filter_suite_by_re`` function. (Robert Collins)
7233
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
7234
TestSuite that does not contain tests from the input that matched a
7235
regular expression. (Robert Collins)
7237
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
7238
randomized copy of the input suite. (Robert Collins)
7240
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
7241
suite into two according to a regular expression. (Robert Collins)
7243
* Parametrize all http tests for the transport implementations, the http
7244
protocol versions (1.0 and 1.1) and the authentication schemes.
7247
* The ``exclude_pattern`` and ``random_order`` parameters to the function
7248
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
7250
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
7251
replaced by the new helper methods added in this release. (Robert Collins)
7257
:Released: 2007-12-14
7262
* More improvements and fixes to the User Guide. (Ian Clatworthy)
7264
* Add information on cherrypicking/rebasing to the User Guide.
7267
* Improve bug tracker integration documentation. (Ian Clatworthy)
7269
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
7270
to the rebasing section of the User Guide from Aaron Bentley.
7277
:Released: 2007-12-11
7282
* If a traceback occurs, users are now asked to report the bug
7283
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
7284
by mail to the mailing list.
7290
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
7292
* Give more feedback during long http downloads by making readv deliver data
7293
as it arrives for urllib, and issue more requests for pycurl. High latency
7294
networks are better handled by urllib, the pycurl implementation give more
7295
feedback but also incur more latency.
7296
(Vincent Ladeuil, #173010)
7298
* Implement _make_parents_provider on RemoteRepository, allowing generating
7299
bundles against branches on a smart server. (Andrew Bennetts, #147836)
7304
* Improved user guide. (Ian Clatworthy)
7306
* The single-page quick reference guide is now available as a PDF.
7312
* readv urllib http implementation is now a real iterator above the
7313
underlying socket and deliver data as soon as it arrives. 'get' still
7314
wraps its output in a StringIO.
7321
:Released: 2007-12-07
7326
* Added a --coverage option to selftest. (Andrew Bennetts)
7328
* Annotate merge (merge-type=weave) now supports cherrypicking.
7331
* ``bzr commit`` now doesn't print the revision number twice. (Matt
7334
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
7335
define locations of bug trackers that are not directly supported by
7336
bzr or a plugin. The URL will be treated as a template and ``{id}``
7337
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
7339
* Support logging single merge revisions with short and line log formatters.
7342
* User Guide enhanced with suggested readability improvements from
7343
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
7345
* Quick Start Guide renamed to Quick Start Card, moved down in
7346
the catalog, provided in pdf and png format and updated to refer
7347
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
7349
* ``switch`` can now be used on heavyweight checkouts as well as
7350
lightweight ones. After switching a heavyweight checkout, the
7351
local branch is a mirror/cache of the new bound branch and
7352
uncommitted changes in the working tree are merged. As a safety
7353
check, if there are local commits in a checkout which have not
7354
been committed to the previously bound branch, then ``switch``
7355
fails unless the ``--force`` option is given. This option is
7356
now also required if the branch a lightweight checkout is pointing
7357
to has been moved. (Ian Clatworthy)
7362
* New -Dhttp debug option reports http connections, requests and responses.
7365
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
7370
* Better error message when running ``bzr cat`` on a non-existant branch.
7371
(Lukáš Lalinský, #133782)
7373
* Catch OSError 17 (file exists) in final phase of tree transform and show
7375
(Alexander Belchenko, #111758)
7377
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
7378
allowing multiple GET requests to be issued if too many ranges are
7380
(Vincent Ladeuil, #172701)
7382
* Check for missing basis texts when fetching from packs to packs.
7383
(John Arbash Meinel, #165290)
7385
* Fall back to showing e-mail in ``log --short/--line`` if the
7386
committer/author has only e-mail. (Lukáš Lalinský, #157026)
7391
* Deprecate not passing a ``location`` argument to commit reporters'
7392
``started`` methods. (Matt Nordhoff)
7398
:Released: 2007-11-30
7400
Notes When Upgrading
7401
********************
7403
* The default repository format is now ``pack-0.92``. This
7404
default is used when creating new repositories with ``init`` and
7405
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
7406
(See https://bugs.launchpad.net/bugs/164626)
7408
This format can be read and written by Bazaar 0.92 and later, and
7409
data can be transferred to and from older formats.
7411
To upgrade, please reconcile your repository (``bzr reconcile``), and then
7412
upgrade (``bzr upgrade``).
7414
``pack-0.92`` offers substantially better scaling and performance than the
7415
previous knits format. Some operations are slower where the code already
7416
had bad scaling characteristics under knits, the pack format makes such
7417
operations more visible as part of being more scalable overall. We will
7418
correct such operations over the coming releases and encourage the filing
7419
of bugs on any operation which you observe to be slower in a packs
7420
repository. One particular case that we do not intend to fix is pulling
7421
data from a pack repository into a knit repository over a high latency
7422
link; downgrading such data requires reinsertion of the file texts, and
7423
this is a classic space/time tradeoff. The current implementation is
7424
conservative on memory usage because we need to support converting data
7425
from any tree without problems.
7426
(Robert Collins, Martin Pool, #164476)
7431
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
7432
still available if user selects it explicitly with BZR_SSH environment
7433
variable. (Alexander Belchenko, workaround for bug #107593)
7435
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
7436
to enable the subtree functions (for example, for bzr-svn).
7442
* New ``authentication.conf`` file holding the password or other credentials
7443
for remote servers. This can be used for ssh, sftp, smtp and other
7444
supported transports.
7447
* New rich-root and rich-root-pack formats, recording the same data about
7448
tree roots that's recorded for all other directories.
7449
(Aaron Bentley, #164639)
7451
* ``pack-0.92`` repositories can now be reconciled.
7452
(Robert Collins, #154173)
7454
* ``switch`` command added for changing the branch a lightweight checkout
7455
is associated with and updating the tree to reflect the latest content
7456
accordingly. This command was previously part of the BzrTools plug-in.
7457
(Ian Clatworthy, Aaron Bentley, David Allouche)
7459
* ``reconfigure`` command can now convert branches, trees, or checkouts to
7460
lightweight checkouts. (Aaron Bentley)
7465
* Commit updates the state of the working tree via a delta rather than
7466
supplying entirely new basis trees. For commit of a single specified file
7467
this reduces the wall clock time for commit by roughly a 30%.
7468
(Robert Collins, Martin Pool)
7470
* Commit with many automatically found deleted paths no longer performs
7471
linear scanning for the children of those paths during inventory
7472
iteration. This should fix commit performance blowing out when many such
7473
paths occur during commit. (Robert Collins, #156491)
7475
* Fetch with pack repositories will no longer read the entire history graph.
7476
(Robert Collins, #88319)
7478
* Revert takes out an appropriate lock when reverting to a basis tree, and
7479
does not read the basis inventory twice. (Robert Collins)
7481
* Diff does not require an inventory to be generated on dirstate trees.
7482
(Aaron Bentley, #149254)
7484
* New annotate merge (--merge-type=weave) implementation is fast on
7485
versionedfiles withough cached annotations, e.g. pack-0.92.
7491
* ``bzr merge`` now warns when it encounters a criss-cross merge.
7494
* ``bzr send`` now doesn't require the target e-mail address to be
7495
specified on the command line if an interactive e-mail client is used.
7498
* ``bzr tags`` now prints the revision number for each tag, instead of
7499
the revision id, unless --show-ids is passed. In addition, tags can be
7500
sorted chronologically instead of lexicographically with --sort=time.
7501
(Adeodato Simó, #120231)
7503
* Windows standalone version of bzr is able to load system-wide plugins from
7504
"plugins" subdirectory in installation directory. In addition standalone
7505
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
7506
about paths and bzr version. (Alexander Belchenko, #129298)
7514
* A progress bar has been added for knitpack -> knitpack fetching.
7515
(Robert Collins, #157789, #159147)
7517
* Branching from a branch via smart server now preserves the repository
7518
format. (Andrew Bennetts, #164626)
7520
* ``commit`` is now able to invoke an external editor in a non-ascii
7521
directory. (Daniel Watkins, #84043)
7523
* Catch connection errors for ftp.
7524
(Vincent Ladeuil, #164567)
7526
* ``check`` no longer reports spurious unreferenced text versions.
7527
(Robert Collins, John A Meinel, #162931, #165071)
7529
* Conflicts are now resolved recursively by ``revert``.
7530
(Aaron Bentley, #102739)
7532
* Detect invalid transport reuse attempts by catching invalid URLs.
7533
(Vincent Ladeuil, #161819)
7535
* Deleting a file without removing it shows a correct diff, not a traceback.
7538
* Do no use timeout in HttpServer anymore.
7539
(Vincent Ladeuil, #158972).
7541
* Don't catch the exceptions related to the http pipeline status before
7542
retrying an http request or some programming errors may be masked.
7543
(Vincent Ladeuil, #160012)
7545
* Fix ``bzr rm`` to not delete modified and ignored files.
7546
(Lukáš Lalinský, #172598)
7548
* Fix exception when revisionspec contains merge revisons but log
7549
formatter doesn't support merge revisions. (Kent Gibson, #148908)
7551
* Fix exception when ScopeReplacer is assigned to before any members have
7552
been retrieved. (Aaron Bentley)
7554
* Fix multiple connections during checkout --lightweight.
7555
(Vincent Ladeuil, #159150)
7557
* Fix possible error in insert_data_stream when copying between
7558
pack repositories over bzr+ssh or bzr+http.
7559
KnitVersionedFile.get_data_stream now makes sure that requested
7560
compression parents are sent before any delta hunks that depend
7562
(Martin Pool, #164637)
7564
* Fix typo in limiting offsets coalescing for http, leading to
7565
whole files being downloaded instead of parts.
7566
(Vincent Ladeuil, #165061)
7568
* FTP server errors don't error in the error handling code.
7569
(Robert Collins, #161240)
7571
* Give a clearer message when a pull fails because the source needs
7573
(Martin Pool, #164443)
7575
* It is clearer when a plugin cannot be loaded because of its name, and a
7576
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
7578
* Leave port as None in transport objects if user doesn't
7579
specify a port in urls.
7580
(vincent Ladeuil, #150860)
7582
* Make sure Repository.fetch(self) is properly a no-op for all
7583
Repository implementations. (John Arbash Meinel, #158333)
7585
* Mark .bzr directories as "hidden" on Windows.
7586
(Alexander Belchenko, #71147)
7588
* ``merge --uncommitted`` can now operate on a single file.
7589
(Aaron Bentley, Lukáš Lalinský, #136890)
7591
* Obsolete packs are now cleaned up by pack and autopack operations.
7592
(Robert Collins, #153789)
7594
* Operations pulling data from a smart server where the underlying
7595
repositories are not both annotated/both unannotated will now work.
7596
(Robert Collins, #165304).
7598
* Reconcile now shows progress bars. (Robert Collins, #159351)
7600
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
7601
properly. (John Arbash Meinel, #162486)
7603
* Removing an already-removed file reports the file does not exist. (Daniel
7606
* Rename on Windows is able to change filename case.
7607
(Alexander Belchenko, #77740)
7609
* Return error instead of a traceback for ``bzr log -r0``.
7610
(Kent Gibson, #133751)
7612
* Return error instead of a traceback when bzr is unable to create
7613
symlink on some platforms (e.g. on Windows).
7614
(Alexander Belchenko, workaround for #81689)
7616
* Revert doesn't crash when restoring a single file from a deleted
7617
directory. (Aaron Bentley)
7619
* Stderr output via logging mechanism now goes through encoded wrapper
7620
and no more uses utf-8, but terminal encoding instead. So all unicode
7621
strings now should be readable in non-utf-8 terminal.
7622
(Alexander Belchenko, #54173)
7624
* The error message when ``move --after`` should be used makes how to do so
7625
clearer. (Daniel Watkins, #85237)
7627
* Unicode-safe output from ``bzr info``. The output will be encoded
7628
using the terminal encoding and unrepresentable characters will be
7629
replaced by '?'. (Lukáš Lalinský, #151844)
7631
* Working trees are no longer created when pushing into a local no-trees
7632
repo. (Daniel Watkins, #50582)
7634
* Upgrade util/configobj to version 4.4.0.
7635
(Vincent Ladeuil, #151208).
7637
* Wrap medusa ftp test server as an FTPServer feature.
7638
(Vincent Ladeuil, #157752)
7643
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
7644
during very long time. (Alexander Belchenko)
7646
* The return value of
7647
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
7648
changed. Previously it was an iterator of lines, now it is an iterator of
7649
(line, version_id) tuples. This change has been made to aid reconcile and
7650
fetch operations. (Robert Collins)
7652
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
7655
* The Repository format registry default has been removed; it was previously
7656
obsoleted by the bzrdir format default, which implies a default repository
7663
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
7664
``bzrlib.pack``. These classes provide more convenient APIs for generating
7665
and parsing containers from streams rather than from files. (Andrew
7668
* New module ``lru_cache`` providing a cache for use by tasks that need
7669
semi-random access to large amounts of data. (John A Meinel)
7671
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
7677
:Released: 2007-11-05
2699
7682
* New uninstaller on Win32. (Alexander Belchenko)
2702
bzr 0.92rc1 2007-10-29
2703
----------------------
2705
NOTES WHEN UPGRADING:
2709
* ``bzr`` now returns exit code 4 if an internal error occurred, and
2710
3 if a normal error occurred. (Martin Pool)
2712
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
2713
repository index errors that occured as a result of the Weave disk format.
2714
Instead the ``reconcile`` command needs to be run to correct those
2715
problems if they exist (and it has been able to fix most such problems
2716
since bzr 0.8). Some new problems have been identified during this release
2717
and you should run ``bzr check`` once on every repository to see if you
2718
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
2719
repository due to mismatched parent errors - a symptom of index errors -
2720
you should simply take a full copy of that remote repository to a clean
2721
directory outside any local repositories, then run reconcile on it, and
2722
finally pull from it locally. (And naturally email the repositories owner
2723
to ask them to upgrade and run reconcile).
2728
* New ``knitpack-experimental`` repository format. This is interoperable with
2729
the ``dirstate-tags`` format but uses a smarter storage design that greatly
2730
speeds up many operations, both local and remote. This new format can be
2731
used as an option to the ``init``, ``init-repository`` and ``upgrade``
2732
commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
2733
for further details. (Robert Collins)
2735
* For users of bzr-svn (and those testing the prototype subtree support) that
2736
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
2737
been added. This is interoperable with the ``dirstate-subtrees`` format.
2740
* New ``reconfigure`` command. (Aaron Bentley)
2742
* New ``revert --forget-merges`` command, which removes the record of a pending
2743
merge without affecting the working tree contents. (Martin Pool)
2745
* New ``bzr_remote_path`` configuration variable allows finer control of
2746
remote bzr locations than BZR_REMOTE_PATH environment variable.
2749
* New ``launchpad-login`` command to tell Bazaar your Launchpad
2750
user ID. This can then be used by other functions of the
2751
Launchpad plugin. (James Henstridge)
2755
* Commit in quiet mode is now slightly faster as the information to
2756
output is no longer calculated. (Ian Clatworthy)
2758
* Commit no longer checks for new text keys during insertion when the
2759
revision id was deterministically unique. (Robert Collins)
2761
* Committing a change which is not a merge and does not change the number of
2762
files in the tree is faster by utilising the data about whether files are
2763
changed to determine if the tree is unchanged rather than recalculating
2764
it at the end of the commit process. (Robert Collins)
2766
* Inventory serialisation no longer double-sha's the content.
2769
* Knit text reconstruction now avoids making copies of the lines list for
2770
interim texts when building a single text. The new ``apply_delta`` method
2771
on ``KnitContent`` aids this by allowing modification of the revision id
2772
such objects represent. (Robert Collins)
2774
* Pack indices are now partially parsed for specific key lookup using a
2775
bisection approach. (Robert Collins)
2777
* Partial commits are now approximately 40% faster by walking over the
2778
unselected current tree more efficiently. (Robert Collins)
2780
* XML inventory serialisation takes 20% less time while being stricter about
2781
the contents. (Robert Collins)
2783
* Graph ``heads()`` queries have been fixed to no longer access all history
2784
unnecessarily. (Robert Collins)
2788
* ``bzr+https://`` smart server across https now supported.
2789
(John Ferlito, Martin Pool, #128456)
2791
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
2792
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
2794
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
2795
changes from one revision. (Alexander Belchenko, #141368)
2797
* Show encodings, locale and list of plugins in the traceback message.
2798
(Martin Pool, #63894)
2800
* Experimental directory formats can now be marked with
2801
``experimental = True`` during registration. (Ian Clatworthy)
2805
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
2807
* The hooks reference documentation is now converted to html as expected.
2812
* Connection error reporting for the smart server has been fixed to
2813
display a user friendly message instead of a traceback.
2814
(Ian Clatworthy, #115601)
2816
* Make sure to use ``O_BINARY`` when opening files to check their
2817
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
2819
* Fix a problem with Win32 handling of the executable bit.
2820
(John Arbash Meinel, #149113)
2822
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
2823
no longer assume that means port 22. This allows people using OpenSSH to
2824
override the default port in their ``~/.ssh/config`` if they wish. This
2825
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
2827
* Commands reporting exceptions can now be profiled and still have their
2828
data correctly dumped to a file. For example, a ``bzr commit`` with
2829
no changes still reports the operation as pointless but doing so no
2830
longer throws away the profiling data if this command is run with
2831
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
2833
* Fallback to ftp when paramiko is not installed and sftp can't be used for
2834
``tests/commands`` so that the test suite is still usable without
2836
(Vincent Ladeuil, #59150)
2838
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
2840
* Fix long standing bug in partial commit when there are renames
2841
left in tree. (Robert Collins, #140419)
2843
* Fix selftest semi-random noise during http related tests.
2844
(Vincent Ladeuil, #140614)
2846
* Fix typo in ftp.py making the reconnection fail on temporary errors.
2847
(Vincent Ladeuil, #154259)
2849
* Fix failing test by comparing real paths to cover the case where the TMPDIR
2850
contains a symbolic link.
2851
(Vincent Ladeuil, #141382).
2853
* Fix log against smart server branches that don't support tags.
2854
(James Westby, #140615)
2856
* Fix pycurl http implementation by defining error codes from
2857
pycurl instead of relying on an old curl definition.
2858
(Vincent Ladeuil, #147530)
2860
* Fix 'unprintable error' message when displaying BzrCheckError and
2861
some other exceptions on Python 2.5.
2862
(Martin Pool, #144633)
2864
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
2866
* Handles default value for ListOption in cmd_commit.
2867
(Vincent Ladeuil, #140432)
2869
* HttpServer and FtpServer need to be closed properly or a listening socket
2871
(Vincent Ladeuil, #140055)
2873
* Monitor the .bzr directory created in the top level test
2874
directory to detect leaking tests.
2875
(Vincent Ladeuil, #147986)
2877
* The basename, not the full path, is now used when checking whether
2878
the profiling dump file begins with ``callgrind.out`` or not. This
2879
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
2881
* Trivial fix for invoking command ``reconfigure`` without arguments.
2884
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
2885
new path causes bzr to be unable to access the file. (Robert Collins)
2887
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
2892
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
2893
constructor, for enabling bisection searches. (Robert Collins)
2895
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
2896
tree be supplied to it, previously failing to do so would trigger a
2897
deprecation warning. (Robert Collins)
2899
* ``KnitVersionedFile.add*`` will no longer cache added records even when
2900
enable_cache() has been called - the caching feature is now exclusively for
2901
reading existing data. (Robert Collins)
2903
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
2904
appropriate. (Martin Pool)
2906
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
2907
``trace+`` transport instead. (Robert Collins)
2909
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
2910
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
2913
* Removed previous deprecated ``basis_knit`` parameter to the
2914
``KnitVersionedFile`` constructor. (Robert Collins)
2916
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
2917
class that needs it.
2920
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
2921
``KnitRepository`` by parameters to the constructor. (Robert Collins)
2923
* The ``VersionedFile`` interface now allows content checks to be bypassed
2924
by supplying check_content=False. This saves nearly 30% of the minimum
2925
cost to store a version of a file. (Robert Collins)
2927
* Tree's with bad state such as files with no length or sha will no longer
2928
be silently accepted by the repository XML serialiser. To serialise
2929
inventories without such data, pass working=True to write_inventory.
2932
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
2933
``VersionedFile.join`` will no longer accept different parents on either
2934
side of a join - it will either ignore them, or error, depending on the
2935
implementation. See notes when upgrading for more information.
2940
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
2941
put by the method call, to allow avoiding stat-after-write or
2942
housekeeping in callers. (Robert Collins)
2944
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
2945
mandatory attributes are present on serialisation and deserialisation.
2946
This fixes some holes in API usage and allows better separation between
2947
physical storage and object serialisation. (Robert Collins)
2949
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
2950
shorthand for deriving from BzrError and setting internal_error = True.
2953
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
2954
moving the state of a parent tree to a new version via a delta rather than
2955
a complete replacement tree. (Robert Collins)
2957
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
2958
duplication from user input, when a user mentions both a path and an item
2959
contained within that path. (Robert Collins)
2961
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
2962
determining if a repository is write locked. (Robert Collins)
2964
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
2965
tuple containing the key information about a path for commit processing
2966
to complete. (Robert Collins)
2968
* New method on xml serialisers, write_inventory_to_lines, which matches the
2969
API used by knits for adding content. (Robert Collins)
2971
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
2972
logic, currently only available for byte-based lookup
2973
(``bisect_multi_bytes``). (Robert Collins)
2975
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
2976
and returns a gzipped version of the same. This is used to avoid a bunch
2977
of api friction during adding of knit hunks. (Robert Collins)
2979
* New parameter on ``bzrlib.transport.Transport.readv``
2980
``adjust_for_latency`` which changes readv from returning strictly the
2981
requested data to inserted return larger ranges and in forward read order
2982
to reduce the effect of network latency. (Robert Collins)
2984
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
2985
causes the parents of a selected id to be returned recursively, so all the
2986
paths from the root down to each element of selected_file_ids are
2987
returned. (Robert Collins)
2989
* Knit joining has been enhanced to support plain to annotated conversion
2990
and annotated to plain conversion. (Ian Clatworthy)
2992
* The CommitBuilder method ``record_entry_contents`` now returns summary
2993
information about the effect of the commit on the repository. This tuple
2994
contains an inventory delta item if the entry changed from the basis, and a
2995
boolean indicating whether a new file graph node was recorded.
2998
* The python path used in the Makefile can now be overridden.
2999
(Andrew Bennetts, Ian Clatworthy)
3003
* New transport implementation ``trace+`` which is useful for testing,
3004
logging activity taken to its _activity attribute. (Robert Collins)
3006
* When running bzr commands within the test suite, internal exceptions are
3007
not caught and reported in the usual way, but rather allowed to propagate
3008
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
3009
makes this behavior available to other users.
3012
* New method ``TestCase.call_catch_warnings`` for testing methods that
3013
raises a Python warning. (Martin Pool)
3021
* Print a warning instead of aborting the ``python setup.py install``
3022
process if building of a C extension is not possible.
3023
(Lukáš Lalinský, Alexander Belchenko)
3025
* Fix commit ordering in corner case (Aaron Bentley, #94975)
3027
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
3028
an implicit port. We were incorrectly raising PathNotChild due to
3029
inconsistent treatment of the ''_port'' attribute on the Transport object.
3030
(Andrew Bennetts, #133965)
3032
* Make RemoteRepository.sprout cope gracefully with servers that don't
3033
support the ``Repository.tarball`` request.
3037
bzr 0.91rc2 2007-09-11
3038
----------------------
3040
* Replaced incorrect tarball for previous release; a debug statement was left
3041
in bzrlib/remote.py.
3044
bzr 0.91rc1 2007-09-11
3045
----------------------
3049
* The default branch and repository format has changed to
3050
``dirstate-tags``, so tag commands are active by default.
3051
This format is compatible with Bazaar 0.15 and later.
3052
This incidentally fixes bug #126141.
3055
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
3056
must now appear after the command name. Scripts doing things like
3057
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
3062
* New option ``--author`` in ``bzr commit`` to specify the author of the
3063
change, if it's different from the committer. ``bzr log`` and
3064
``bzr annotate`` display the author instead of the committer.
3067
* In addition to global options and command specific options, a set of
3068
standard options are now supported. Standard options are legal for
3069
all commands. The initial set of standard options are:
3071
* ``--help`` or ``-h`` - display help message
3072
* ``--verbose`` or ``-v`` - display additional information
3073
* ``--quiet`` or ``-q`` - only output warnings and errors.
3075
Unlike global options, standard options can be used in aliases and
3076
may have command-specific help. (Ian Clatworthy)
3078
* Verbosity level processing has now been unified. If ``--verbose``
3079
or ``-v`` is specified on the command line multiple times, the
3080
verbosity level is made positive the first time then increased.
3081
If ``--quiet`` or ``-q`` is specified on the command line
3082
multiple times, the verbosity level is made negative the first
3083
time then decreased. To get the default verbosity level of zero,
3084
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
3085
Note that most commands currently ignore the magnitude of the
3086
verbosity level but do respect *quiet vs normal vs verbose* when
3087
generating output. (Ian Clatworthy)
3089
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
3090
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
3092
* New ``Repository.stream_knit_data_for_revisions`` request added to the
3093
network protocol for greatly reduced roundtrips when retrieving a set of
3094
revisions. (Andrew Bennetts)
3098
* ``bzr plugins`` now lists the version number for each plugin in square
3099
brackets after the path. (Robert Collins, #125421)
3101
* Pushing, pulling and branching branches with subtree references was not
3102
copying the subtree weave, preventing the file graph from being accessed
3103
and causing errors in commits in clones. (Robert Collins)
3105
* Suppress warning "integer argument expected, got float" from Paramiko,
3106
which sometimes caused false test failures. (Martin Pool)
3108
* Fix bug in bundle 4 that could cause attempts to write data to wrong
3109
versionedfile. (Aaron Bentley)
3111
* Diffs generated using "diff -p" no longer break the patch parser.
3114
* get_transport treats an empty possible_transports list the same as a non-
3115
empty one. (Aaron Bentley)
3117
* patch verification for merge directives is reactivated, and works with
3118
CRLF and CR files. (Aaron Bentley)
3120
* Accept ..\ as a path in revision specifiers. This fixes for example
3121
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
3123
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
3124
(Blake Winton, #129299)
3126
* man page no longer lists hidden options (#131667, Aaron Bentley)
3128
* ``uncommit --help`` now explains the -r option adequately. (Daniel
3131
* Error messages are now better formatted with parameters (such as
3132
filenames) quoted when necessary. This avoids confusion when directory
3133
names ending in a '.' at the end of messages were confused with a
3134
full stop that may or not have been there. (Daniel Watkins, #129791)
3136
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
3138
* If a particular command is an alias, ``help`` will show the alias
3139
instead of claiming there is no help for said alias. (Daniel Watkins,
3142
* TreeTransform-based operations, like pull, merge, revert, and branch,
3143
now roll back if they encounter an error. (Aaron Bentley, #67699)
3145
* ``bzr commit`` now exits cleanly if a character unsupported by the
3146
current encoding is used in the commit message. (Daniel Watkins,
3149
* bzr send uses default values for ranges when only half of an elipsis
3150
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
3152
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
3153
binary is present. (Martin Albisetti, #107155)
3155
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
3156
needing ``--force``) subtrees that contain no files with text changes or
3157
modified files. With ``--force`` it removes the subtree regardless of
3158
text changes or unknown files. Directories with renames in or out (but
3159
not changed otherwise) will now be removed without needing ``--force``.
3160
Unknown ignored files will be deleted without needing ``--force``.
3161
(Marius Kruger, #111665)
3163
* When two plugins conflict, the source of both the losing and now the
3164
winning definition is shown. (Konstantin Mikhaylov, #5454)
3166
* When committing to a branch, the location being committed to is
3167
displayed. (Daniel Watkins, #52479)
3169
* ``bzr --version`` takes care about encoding of stdout, especially
3170
when output is redirected. (Alexander Belchenko, #131100)
3172
* Prompt for an ftp password if none is provided.
3173
(Vincent Ladeuil, #137044)
3175
* Reuse bound branch associated transport to avoid multiple
3177
(Vincent Ladeuil, #128076, #131396)
3179
* Overwrite conflicting tags by ``push`` and ``pull`` if the
3180
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
3182
* In checkouts, tags are copied into the master branch when created,
3183
changed or deleted, and are copied into the checkout when it is
3184
updated. (Martin Pool, #93856, #93860)
3186
* Print a warning instead of aborting the ``python setup.py install``
3187
process if building of a C extension is not possible.
3188
(Lukáš Lalinský, Alexander Belchenko)
3192
* Add the option "--show-diff" to the commit command in order to display
3193
the diff during the commit log creation. (Goffredo Baroncelli)
3195
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
3198
* ``pull -v`` no longer includes deltas, making it much faster.
3201
* ``send`` now sends the directive as an attachment by default.
3202
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
3204
* Documentation updates (Martin Albisetti)
3206
* Help on debug flags is now included in ``help global-options``.
3207
(Daniel Watkins, #124853)
3209
* Parameters passed on the command line are checked to ensure they are
3210
supported by the encoding in use. (Daniel Watkins)
3212
* The compression used within the bzr repository has changed from zlib
3213
level 9 to the zlib default level. This improves commit performance with
3214
only a small increase in space used (and in some cases a reduction in
3215
space). (Robert Collins)
3217
* Initial commit no longer SHAs files twice and now reuses the path
3218
rather than looking it up again, making it faster.
3221
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
3222
changes in one revision. (Lukáš Lalinský)
3224
* If versioned files match a given ignore pattern, a warning is now
3225
given. (Daniel Watkins, #48623)
3227
* ``bzr status`` now has -S as a short name for --short and -V as a
3228
short name for --versioned. These have been added to assist users
3229
migrating from Subversion: ``bzr status -SV`` is now like
3230
``svn status -q``. (Daniel Watkins, #115990)
3232
* Added C implementation of ``PatienceSequenceMatcher``, which is about
3233
10x faster than the Python version. This speeds up commands that
3234
need file diffing, such as ``bzr commit`` or ``bzr diff``.
3237
* HACKING has been extended with a large section on core developer tasks.
3240
* Add ``branches`` and ``standalone-trees`` as online help topics and
3241
include them as Concepts within the User Reference.
3242
(Paul Moore, Ian Clatworthy)
3244
* ``check`` can detect versionedfile parent references that are
3245
inconsistent with revision and inventory info, and ``reconcile`` can fix
3246
them. These faulty references were generated by 0.8-era releases,
3247
so repositories which were manipulated by old bzrs should be
3248
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
3252
* ``Branch.append_revision`` is removed altogether; please use
3253
``Branch.set_last_revision_info`` instead. (Martin Pool)
3255
* CommitBuilder now advertises itself as requiring the root entry to be
3256
supplied. This only affects foreign repository implementations which reuse
3257
CommitBuilder directly and have changed record_entry_contents to require
3258
that the root not be supplied. This should be precisely zero plugins
3259
affected. (Robert Collins)
3261
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
3262
its return value to include the sha1 and length of the inserted text. This
3263
allows the avoidance of double-sha1 calculations during commit.
3266
* ``Transport.should_cache`` has been removed. It was not called in the
3267
previous release. (Martin Pool)
3271
* Tests may now raise TestNotApplicable to indicate they shouldn't be
3272
run in a particular scenario. (Martin Pool)
3274
* New function multiply_tests_from_modules to give a simpler interface
3275
to test parameterization. (Martin Pool, Robert Collins)
3277
* ``Transport.should_cache`` has been removed. It was not called in the
3278
previous release. (Martin Pool)
3280
* NULL_REVISION is returned to indicate the null revision, not None.
3283
* Use UTF-8 encoded StringIO for log tests to avoid failures on
3284
non-ASCII committer names. (Lukáš Lalinský)
3288
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
3289
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
3290
useful functionality for determining the path of a plugin, its tests, and
3291
its version information. (Robert Collins)
3293
* Add the option user_encoding to the function 'show_diff_trees()'
3294
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
3296
* Add the function make_commit_message_template_encoded() and the function
3297
edit_commit_message_encoded() which handle encoded strings.
3298
This is done in order to mix the commit messages (which is a unicode
3299
string), and the diff which is a raw string. (Goffredo Baroncelli)
3301
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
3302
overhead on non-weave repositories which don't require all parents to be
3303
present. (Robert Collins)
3305
* Deprecated method ``find_previous_heads`` on
3306
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
3307
of ``parent_candidates`` and a separate heads check via the repository
3308
API. (Robert Collins)
3310
* New trace function ``mutter_callsite`` will print out a subset of the
3311
stack to the log, which can be useful for gathering debug details.
3314
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
3315
added via a public attribute records_written. (Robert Collins)
3317
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
3318
This provides a hint to users of transports as to the reasonable
3319
minimum data to read. In principle this can take latency and
3320
bandwidth into account on a per-connection basis, but for now it
3321
just has hard coded values based on the url. (e.g. http:// has a large
3322
page size, file:// has a small one.) (Robert Collins)
3324
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
3325
incremental addition of data to a file without requiring that all the
3326
data be buffered in memory. (Robert Collins)
3328
* New methods on ``bzrlib.knit.KnitVersionedFile``:
3329
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
3330
``get_format_signature()``. These provide some infrastructure for
3331
efficiently streaming the knit data for a set of versions over the smart
3334
* Knits with no annotation cache still produce correct annotations.
3337
* Three new methods have been added to ``bzrlib.trace``:
3338
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
3339
``set_verbosity_level`` expects a numeric value: negative for quiet,
3340
zero for normal, positive for verbose. The size of the number can be
3341
used to determine just how quiet or verbose the application should be.
3342
The existing ``be_quiet`` and ``is_quiet`` routines have been
3343
integrated into this new scheme. (Ian Clatworthy)
3345
* Options can now be delcared with a ``custom_callback`` parameter. If
3346
set, this routine is called after the option is processed. This feature
3347
is now used by the standard options ``verbose`` and ``quiet`` so that
3348
setting one implicitly resets the other. (Ian Clatworthy)
3350
* Rather than declaring a new option from scratch in order to provide
3351
custom help, a centrally registered option can be decorated using the
3352
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
3353
is useful when declaring better help for the ``verbose`` and ``quiet``
3354
standard options as the base definition of these is now more complex
3355
than before thanks to their use of a custom callback. (Ian Clatworthy)
3357
* Tree._iter_changes(specific_file=[]) now iterates through no files,
3358
instead of iterating through all files. None is used to iterate through
3359
all files. (Aaron Bentley)
3361
* WorkingTree.revert() now accepts None to revert all files. The use of
3362
[] to revert all files is deprecated. (Aaron Bentley)
3370
* Documentation is now organized into multiple directories with a level
3371
added for different languages or locales. Added the Mini Tutorial
3372
and Quick Start Summary (en) documents from the Wiki, improving the
3373
content and readability of the former. Formatted NEWS as Release Notes
3374
complete with a Table of Conents, one heading per release. Moved the
3375
Developer Guide into the main document catalog and provided a link
3376
from the developer document catalog back to the main one.
3377
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
3382
* The static convenience method ``BzrDir.create_repository``
3383
is deprecated. Callers should instead create a ``BzrDir`` instance
3384
and call ``create_repository`` on that. (Martin Pool)
3387
bzr 0.90rc1 2007-08-14
3388
----------------------
3392
* ``bzr init`` should connect to the remote location one time only. We
3393
have been connecting several times because we forget to pass around the
3394
Transport object. This modifies ``BzrDir.create_branch_convenience``,
3395
so that we can give it the Transport we already have.
3396
(John Arbash Meinel, Vincent Ladeuil, #111702)
3398
* Get rid of sftp connection cache (get rid of the FTP one too).
3399
(Vincent Ladeuil, #43731)
3401
* bzr branch {local|remote} remote don't try to create a working tree
3403
(Vincent Ladeuil, #112173)
3405
* All identified multiple connections for a single bzr command have been
3406
fixed. See bzrlib/tests/commands directory.
3409
* ``bzr rm`` now does not insist on ``--force`` to delete files that
3410
have been renamed but not otherwise modified. (Marius Kruger,
3413
* ``bzr selftest --bench`` no longer emits deprecation warnings
3416
* ``bzr status`` now honours FILE parameters for conflict lists
3417
(Aaron Bentley, #127606)
3419
* ``bzr checkout`` now honours -r when reconstituting a working tree.
3420
It also honours -r 0. (Aaron Bentley, #127708)
3422
* ``bzr add *`` no more fails on Windows if working tree contains
3423
non-ascii file names. (Kuno Meyer, #127361)
3425
* allow ``easy_install bzr`` runs without fatal errors.
3426
(Alexander Belchenko, #125521)
3428
* Graph._filter_candidate_lca does not raise KeyError if a candidate
3429
is eliminated just before it would normally be examined. (Aaron Bentley)
3431
* SMTP connection failures produce a nice message, not a traceback.
3436
* Don't show "dots" progress indicators when run non-interactively, such
3437
as from cron. (Martin Pool)
3439
* ``info`` now formats locations more nicely and lists "submit" and
3440
"public" branches (Aaron Bentley)
3442
* New ``pack`` command that will trigger database compression within
3443
the repository (Robert Collins)
3445
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
3446
version is approximately 2-3x faster at parsing a ``.kndx`` file.
3447
Which yields a measurable improvement for commands which have to
3448
read from the repository, such as a 1s => 0.75s improvement in
3449
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
3451
* Merge is now faster. Depending on the scenario, it can be more than 2x
3452
faster. (Aaron Bentley)
3454
* Give a clearer warning, and allow ``python setup.py install`` to
3455
succeed even if pyrex is not available.
3456
(John Arbash Meinel)
3458
* ``DirState._read_dirblocks`` now has an optional Pyrex
3459
implementation. This improves the speed of any command that has to
3460
read the entire DirState. (``diff``, ``status``, etc, improve by
3462
``bisect_dirblocks`` has also been improved, which helps all
3463
``_get_entry`` type calls (whenever we are searching for a
3464
particular entry in the in-memory DirState).
3465
(John Arbash Meinel)
3467
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
3468
branch revision history for ui display unless -v is supplied.
3471
* ``bzr log -rA..B`` output shifted to the left margin if the log only
3472
contains merge revisions. (Kent Gibson)
3474
* The ``plugins`` command is now public with improved help.
3477
* New bundle and merge directive formats are faster to generate, and
3479
* Annotate merge now works when there are local changes. (Aaron Bentley)
3481
* Commit now only shows the progress in terms of directories instead of
3482
entries. (Ian Clatworthy)
3484
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
3485
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
3488
* Fix ``VersionedFile.get_graph()`` to avoid using
3489
``set.difference_update(other)``, which has bad scaling when
3490
``other`` is large. This improves ``VF.get_graph([version_id])`` for
3491
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
3493
* The ``--lsprof-file`` option now generates output for KCacheGrind if
3494
the file starts with ``callgrind.out``. This matches the default file
3495
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
3497
* Fix ``bzr update`` to avoid an unnecessary
3498
``branch.get_master_branch`` call, which avoids 1 extra connection
3499
to the remote server. (Partial fix for #128076, John Arbash Meinel)
3501
* Log errors from the smart server in the trace file, to make debugging
3502
test failures (and live failures!) easier. (Andrew Bennetts)
3504
* The HTML version of the man page has been superceded by a more
3505
comprehensive manual called the Bazaar User Reference. This manual
3506
is completed generated from the online help topics. As part of this
3507
change, limited reStructuredText is now explicitly supported in help
3508
topics and command help with 'unnatural' markup being removed prior
3509
to display by the online help or inclusion in the man page.
3512
* HTML documentation now use files extension ``*.html``
3513
(Alexander Belchenko)
3515
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
3516
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
3518
* ``bzr selftest --strict`` fails if there are any missing features or
3519
expected test failures. (Daniel Watkins, #111914)
3521
* Link to registration survey added to README. (Ian Clatworthy)
3523
* Windows standalone installer show link to registration survey
3524
when installation finished. (Alexander Belchenko)
3528
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
3529
Options are now required to provide a help string and it must
3530
comply with the style guide by being one or more sentences with an
3531
initial capital and final period. (Martin Pool)
3533
* KnitIndex.get_parents now returns tuples. (Robert Collins)
3535
* Ancient unused ``Repository.text_store`` attribute has been removed.
3538
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
3539
rather than just bytestrings, making it easier to represent multiple
3540
element names. As this interface was not used by any internal facilities
3541
since it was introduced in 0.18 no API compatibility is being preserved.
3542
The serialised form of these packs is identical with 0.18 when a single
3543
element tuple is in use. (Robert Collins)
3547
* merge now uses ``iter_changes`` to calculate changes, which makes room for
3548
future performance increases. It is also more consistent with other
3549
operations that perform comparisons, and reduces reliance on
3550
Tree.inventory. (Aaron Bentley)
3552
* Refactoring of transport classes connected to a remote server.
3553
ConnectedTransport is a new class that serves as a basis for all
3554
transports needing to connect to a remote server. transport.split_url
3555
have been deprecated, use the static method on the object instead. URL
3556
tests have been refactored too.
3559
* Better connection sharing for ConnectedTransport objects.
3560
transport.get_transport() now accepts a 'possible_transports' parameter.
3561
If a newly requested transport can share a connection with one of the
3565
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
3566
the null revision, and consider using ``None`` for this purpose
3567
deprecated. (Aaron Bentley)
3569
* New ``index`` module with abstract index functionality. This will be
3570
used during the planned changes in the repository layer. Currently the
3571
index layer provides a graph aware immutable index, a builder for the
3572
same index type to allow creating them, and finally a composer for
3573
such indices to allow the use of many indices in a single query. The
3574
index performance is not optimised, however the API is stable to allow
3575
development on top of the index. (Robert Collins)
3577
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
3578
their directory sections. This is equivalent to comparing
3579
``path.split('/')``, only without having to split the paths.
3580
This has a Pyrex implementation available.
3581
(John Arbash Meinel)
3583
* New transport decorator 'unlistable+' which disables the list_dir
3584
functionality for testing.
3586
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
3588
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
3589
for performing annotate-merge. (Aaron Bentley)
3591
* New EmailMessage class to create email messages. (Adeodato Simó)
3593
* Unused functions on the private interface KnitIndex have been removed.
3596
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
3597
of a ``index.GraphIndex``. (Robert Collins)
3599
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
3600
the parents of many knit nodes at once, reducing round trips to the
3601
underlying index. (Robert Collins)
3603
* Graph now has an is_ancestor method, various bits use it.
3606
* The ``-Dhpss`` flag now includes timing information. As well as
3607
logging when a new connection is opened. (John Arbash Meinel)
3609
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
3610
callers when inserting data, allowing generation of readv style access
3611
during pack creation, without needing a separate pass across the output
3612
pack to gather such details. (Robert Collins)
3614
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
3615
files that are stored on a transport. (Robert Collins)
3617
* New ``Repository.has_same_location`` method that reports if two
3618
repository objects refer to the same repository (although with some risk
3619
of false negatives). (Andrew Bennetts)
3621
* InterTree.compare now passes require_versioned on correctly.
3624
* New methods on Repository - ``start_write_group``,
3625
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
3626
which provide a clean hook point for transactional Repositories - ones
3627
where all the data for a fetch or commit needs to be made atomically
3628
available in one step. This allows the write lock to remain while making
3629
a series of data insertions. (e.g. data conversion). (Robert Collins)
3631
* In ``bzrlib.knit`` the internal interface has been altered to use
3632
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
3633
describe where data in a knit is, allowing knits to be split into
3634
many files. (Robert Collins)
3636
* ``bzrlib.knit._KnitData`` split into cache management and physical access
3637
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
3638
The former provides access into a .pack file, and the latter provides the
3639
current production repository form of .knit files. (Robert Collins)
3643
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
3644
``--keep-output`` options, which are obsolete now that tests
3645
are done within directories in $TMPDIR. (Martin Pool)
3647
* The SSH_AUTH_SOCK environment variable is now reset to avoid
3648
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
3650
* run_bzr_subprocess handles parameters the same way as run_bzr:
3651
either a string or a list of strings should be passed as the first
3652
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
3656
--------------------
3660
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
3663
bzr 0.18rc1 2007-07-10
3664
-----------------------
3668
* Do not suppress pipe errors, etc. in non-display commands
3669
(Alexander Belchenko, #87178)
3671
* Display a useful error message when the user requests to annotate
3672
a file that is not present in the specified revision.
3673
(James Westby, #122656)
3675
* Commands that use status flags now have a reference to 'help
3676
status-flags'. (Daniel Watkins, #113436)
3678
* Work around python-2.4.1 inhability to correctly parse the
3679
authentication header.
3680
(Vincent Ladeuil, #121889)
3682
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
3684
* Fix tempfile permissions error in smart server tar bundling under
3685
Windows. (Martin _, #119330)
3687
* Fix detection of directory entries in the inventory. (James Westby)
3689
* Fix handling of http code 400: Bad Request When issuing too many ranges.
3690
(Vincent Ladeuil, #115209)
3692
* Issue a CONNECT request when connecting to an https server
3693
via a proxy to enable SSL tunneling.
3694
(Vincent Ladeuil, #120678)
3696
* Fix ``bzr log -r`` to support selecting merge revisions, both
3697
individually and as part of revision ranges.
3698
(Kent Gibson, #4663)
3700
* Don't leave cruft behind when failing to acquire a lockdir.
3701
(Martin Pool, #109169)
3703
* Don't use the '-f' strace option during tests.
3704
(Vincent Ladeuil, #102019).
3706
* Warn when setting ``push_location`` to a value that will be masked by
3707
locations.conf. (Aaron Bentley, #122286)
3709
* Fix commit ordering in corner case (Aaron Bentley, #94975)
3711
* Make annotate behave in a non-ASCII world (Adeodato Simó).
3715
* The --lsprof-file option now dumps a text rendering of the profiling
3716
information if the filename ends in ".txt". It will also convert the
3717
profiling information to a format suitable for KCacheGrind if the
3718
output filename ends in ".callgrind". Fixes to the lsprofcalltree
3719
conversion process by Jean Paul Calderone and Itamar were also merged.
3720
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
3722
* ``info`` now defaults to non-verbose mode, displaying only paths and
3723
abbreviated format info. ``info -v`` displays all the information
3724
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
3726
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
3729
* The internal ``weave-list`` command has become ``versionedfile-list``,
3730
and now lists knits as well as weaves. (Aaron Bentley)
3732
* Automatic merge base selection uses a faster algorithm that chooses
3733
better bases in criss-cross merge situations (Aaron Bentley)
3735
* Progress reporting in ``commit`` has been improved. The various logical
3736
stages are now reported on as follows, namely:
3738
* Collecting changes [Entry x/y] - Stage n/m
3739
* Saving data locally - Stage n/m
3740
* Uploading data to master branch - Stage n/m
3741
* Updating the working tree - Stage n/m
3742
* Running post commit hooks - Stage n/m
3744
If there is no master branch, the 3rd stage is omitted and the total
3745
number of stages is adjusted accordingly.
3747
Each hook that is run after commit is listed with a name (as hooks
3748
can be slow it is useful feedback).
3749
(Ian Clatworthy, Robert Collins)
3751
* Various operations that are now faster due to avoiding unnecessary
3752
topological sorts. (Aaron Bentley)
3754
* Make merge directives robust against broken bundles. (Aaron Bentley)
3756
* The lsprof filename note is emitted via trace.note(), not standard
3757
output. (Aaron Bentley)
3759
* ``bzrlib`` now exports explicit API compatibility information to assist
3760
library users and plugins. See the ``bzrlib.api`` module for details.
3763
* Remove unnecessary lock probes when acquiring a lockdir.
3766
* ``bzr --version`` now shows the location of the bzr log file, which
3767
is especially useful on Windows. (Martin Pool)
3769
* -D now supports hooks to get debug tracing of hooks (though its currently
3770
minimal in nature). (Robert Collins)
3772
* Long log format reports deltas on merge revisions.
3773
(John Arbash Meinel, Kent Gibson)
3775
* Make initial push over ftp more resilient. (John Arbash Meinel)
3777
* Print a summary of changes for update just like pull does.
3778
(Daniel Watkins, #113990)
3780
* Add a -Dhpss option to trace smart protocol requests and responses.
3785
* Testing cleanups -
3786
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
3787
to ``bzrlib.tests.repository_implementations``;
3788
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
3789
to ``bzrlib.tests.interrepository_implementations``;
3790
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
3791
``bzrlib.tests.test_transport_implementations``.
3792
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
3793
``bzrlib.tests.branch_implementations``.
3794
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
3795
``bzrlib.tests.bzrdir_implementations``.
3796
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
3797
to ``bzrlib.tests.interversionedfile_implementations``.
3798
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
3799
``bzrlib.tests.revisionstore_implementations``.
3800
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
3801
``bzrlib.tests.workingtree_implementations``.
3802
These changes are an API break in the testing infrastructure only.
3805
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
3807
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
3808
win32. Callers of the function should do this and use the new
3809
``MutableTree.smart_add`` method instead. (Robert Collins)
3811
* ``bzrlib.add.glob_expand_for_win32`` is now
3812
``bzrlib.win32utils.glob_expand``. (Robert Collins)
3814
* ``bzrlib.add.FastPath`` is now private and moved to
3815
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
3817
* ``LockDir.wait`` removed. (Martin Pool)
3819
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
3820
``server_stopped`` hooks. The first parameter is now an iterable of
3821
backing URLs rather than a single URL. This is to reflect that many
3822
URLs may map to the external URL of the server. E.g. the server interally
3823
may have a chrooted URL but also the local file:// URL will be at the
3824
same location. (Robert Collins)
3828
* New SMTPConnection class to unify email handling. (Adeodato Simó)
3830
* Fix documentation of BzrError. (Adeodato Simó)
3832
* Make BzrBadParameter an internal error. (Adeodato Simó)
3834
* Remove use of 'assert False' to raise an exception unconditionally.
3837
* Give a cleaner error when failing to decode knit index entry.
3840
* TreeConfig would mistakenly search the top level when asked for options
3841
from a section. It now respects the section argument and only
3842
searches the specified section. (James Westby)
3844
* Improve ``make api-docs`` output. (John Arbash Meinel)
3846
* Use os.lstat rather than os.stat for osutils.make_readonly and
3847
osutils.make_writeable. This makes the difftools plugin more
3848
robust when dangling symlinks are found. (Elliot Murphy)
3850
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
3851
lockdirs are taken or released. (Martin Pool)
3853
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
3854
allows a nicer UI when hooks are running as the current hook can
3855
be displayed. (Robert Collins)
3857
* ``Transport.get`` has had its interface made more clear for ease of use.
3858
Retrieval of a directory must now fail with either 'PathError' at open
3859
time, or raise 'ReadError' on a read. (Robert Collins)
3861
* New method ``_maybe_expand_globs`` on the ``Command`` class for
3862
dealing with unexpanded glob lists - e.g. on the win32 platform. This
3863
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
3865
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
3866
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
3869
* New method ``external_url`` on Transport for obtaining the url to
3870
hand to external processes. (Robert Collins)
3872
* Teach windows installers to build pyrex/C extensions.
3873
(Alexander Belchenko)
3877
* Removed the ``--keep-output`` option from selftest and clean up test
3878
directories as they're used. This reduces the IO load from
3879
running the test suite and cuts the time by about half.
3880
(Andrew Bennetts, Martin Pool)
3882
* Add scenarios as a public attribute on the TestAdapter classes to allow
3883
modification of the generated scenarios before adaption and easier
3884
testing. (Robert Collins)
3886
* New testing support class ``TestScenarioApplier`` which multiplies
3887
out a single teste by a list of supplied scenarios. (RobertCollins)
3889
* Setting ``repository_to_test_repository`` on a repository_implementations
3890
test will cause it to be called during repository creation, allowing the
3891
testing of repository classes which are not based around the Format
3892
concept. For example a repository adapter can be tested in this manner,
3893
by altering the repository scenarios to include a scenario that sets this
3894
attribute during the test parameterisation in
3895
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
3897
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
3898
interface is now self.run_bzr. The command to run can be passed as
3899
either a list of parameters, a string containing the command line, or
3900
(deprecated) varargs parameters. (Martin Pool)
3902
* The base TestCase now isolates tests from -D parameters by clearing
3903
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
3905
* Add a relpath parameter to get_transport methods in test framework to
3906
avoid useless cloning.
3907
(Vincent Ladeuil, #110448)
3911
--------------------
3915
* Fix crash of commit due to wrong lookup of filesystem encoding.
3916
(Colin Watson, #120647)
3918
* Revert logging just to stderr in commit as broke unicode filenames.
3919
(Aaron Bentley, Ian Clatworthy, #120930)
3922
bzr 0.17rc1 2007-06-12
3923
-----------------------
3925
NOTES WHEN UPGRADING:
3927
* The kind() and is_executable() APIs on the WorkingTree interface no
3928
longer implicitly (read) locks and unlocks the tree. This *might*
3929
impact some plug-ins and tools using this part of the API. If you find
3930
an issue that may be caused by this change, please let us know,
3931
particularly the plug-in/tool maintainer. If encountered, the API
3932
fix is to surround kind() and is_executable() calls with lock_read()
3933
and unlock() like so::
3935
work_tree.lock_read()
3937
kind = work_tree.kind(...)
3942
* Rework of LogFormatter API to provide beginning/end of log hooks and to
3943
encapsulate the details of the revision to be logged in a LogRevision
3945
In long log formats, merge revision ids are only shown when --show-ids
3946
is specified, and are labelled "revision-id:", as per mainline
3947
revisions, instead of "merged:". (Kent Gibson)
3949
* New ``BranchBuilder`` API which allows the construction of particular
3950
histories quickly. Useful for testing and potentially other applications
3951
too. (Robert Collins)
3955
* There are two new help topics, working-trees and repositories that
3956
attempt to explain these concepts. (James Westby, John Arbash Meinel,
3959
* Added ``bzr log --limit`` to report a limited number of revisions.
3960
(Kent Gibson, #3659)
3962
* Revert does not try to preserve file contents that were originally
3963
produced by reverting to a historical revision. (Aaron Bentley)
3965
* ``bzr log --short`` now includes ``[merge]`` for revisions which
3966
have more than one parent. This is a small improvement to help
3967
understanding what changes have occurred
3968
(John Arbash Meinel, #83887)
3970
* TreeTransform avoids many renames when contructing large trees,
3971
improving speed. 3.25x speedups have been observed for construction of
3972
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
3974
* Commit on large trees is now faster. In my environment, a commit of
3975
a small change to the Mozilla tree (55k files) has dropped from
3976
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
3977
small change is 33% faster. (Ian Clatworthy)
3979
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
3984
* ``bzr push`` should only connect to the remote location one time.
3985
We have been connecting 3 times because we forget to pass around
3986
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
3987
that we can pass in the Transport that we already have.
3988
(John Arbash Meinel, #75721)
3990
* ``DirState.set_state_from_inventory()`` needs to properly order
3991
based on split paths, not just string paths.
3992
(John Arbash Meinel, #115947)
3994
* Let TestUIFactoy encode the password prompt with its own stdout.
3995
(Vincent Ladeuil, #110204)
3997
* pycurl should take use the range header that takes the range hint
3999
(Vincent Ladeuil, #112719)
4001
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
4002
on a missing file. (Aaron Bentley, #118186)
4004
* WorkingTree.remove works correctly with tree references, and when pwd is
4005
not the tree root. (Aaron Bentley)
4007
* Merge no longer fails when a file is renamed in one tree and deleted
4008
in the other. (Aaron Bentley, #110279)
4010
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
4011
and defaults to the last revision (Matthew Fuller, #90048)
4013
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
4014
(Daniel Watkins, #111958)
4016
* ``bzr branch -r revid:foo`` can be used to branch any revision in
4017
your repository. (Previously Branch6 only supported revisions in your
4018
mainline). (John Arbash Meinel, #115343)
4021
--------------------
4025
* Handle when you have 2 directories with similar names, but one has a
4026
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
4027
iterator was using direct comparison and ``'abc/a'`` sorts after
4028
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
4029
(John Arbash Meinel, #111227)
4031
* Handle when someone renames a file on disk without telling bzr.
4032
Previously we would report the first file as missing, but not show
4033
the new unknown file. (John Arbash Meinel, #111288)
4035
* Avoid error when running hooks after pulling into or pushing from
4036
a branch bound to a smartserver branch. (Martin Pool, #111968)
4040
* Move developer documentation to doc/developers/. This reduces clutter in
4041
the root of the source tree and allows HACKING to be split into multiple
4042
files. (Robert Collins, Alexander Belchenko)
4044
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
4045
``DirState.update_entry()``. This optimizes the core logic for ``bzr
4046
diff`` and ``bzr status`` significantly improving the speed of
4047
both. (John Arbash Meinel)
4049
bzr 0.16rc2 2007-04-30
4050
-----------------------
4054
* Handle the case when you delete a file, and then rename another file
4055
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
4056
status`` should show the removed file and an unknown file in its
4057
place. (John Arbash Meinel, #109993)
4059
* Bundles properly read and write revision properties that have an
4060
empty value. And when the value is not ASCII.
4061
(John Arbash Meinel, #109613)
4063
* Fix the bzr commit message to be in text mode.
4064
(Alexander Belchenko, #110901)
4066
* Also handle when you rename a file and create a file where it used
4067
to be. (John Arbash Meinel, #110256)
4069
* ``WorkingTree4._iter_changes`` should not descend into unversioned
4070
directories. (John Arbash Meinel, #110399)
4072
bzr 0.16rc1 2007-04-26
4073
-----------------------
4075
NOTES WHEN UPGRADING:
4077
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
4078
it could be recovered again.
4079
This has been done for consistency with svn and the unix rm command.
4080
The old ``remove`` behaviour has been retained in the new option
4081
``bzr remove --keep``, which will just stop versioning the file,
4083
``bzr remove --force`` have been added which will always delete the
4085
``bzr remove`` is also more verbose.
4086
(Marius Kruger, #82602)
4090
* Merge directives can now be supplied as input to `merge` and `pull`,
4091
like bundles can. (Aaron Bentley)
4093
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
4094
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
4095
to continue. This can be disabled by setting the environment variable
4096
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
4098
* selftest now supports --list-only to list tests instead of running
4099
them. (Ian Clatworthy)
4101
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
4102
tests with names that match that regular expression.
4103
(Ian Clatworthy, #102679)
4105
* selftest now supports --randomize SEED to run tests in a random order.
4106
SEED is typically the value 'now' meaning 'use the current time'.
4107
(Ian Clatworthy, #102686)
4109
* New option ``--fixes`` to commit, which stores bug fixing annotations as
4110
revision properties. Built-in support for Launchpad, Debian, Trac and
4111
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
4113
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
4114
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
4117
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
4120
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
4121
into using local variables instead of going through ``self._var``.
4122
Improves the time to ``merge_sort`` a 10k revision graph by
4123
approximately 40% (~700->400ms). (John Arbash Meinel)
4125
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
4128
* ``bzr help`` now provides cross references to other help topics using
4129
the _see_also facility on command classes. Likewise the bzr_man
4130
documentation, and the bzr.1 man page also include this information.
4133
* Tags are now included in logs, that use the long log formatter.
4134
(Erik Bågfors, Alexander Belchenko)
4136
* ``bzr help`` provides a clearer message when a help topic cannot be
4137
found. (Robert Collins, #107656)
4139
* ``bzr help`` now accepts optional prefixes for command help. The help
4140
for all commands can now be found at ``bzr help commands/COMMANDNAME``
4141
as well as ``bzr help COMMANDNAME`` (which only works for commands
4142
where the name is not the same as a more general help topic).
4145
* ``bzr help PLUGINNAME`` will now return the module docstring from the
4146
plugin PLUGINNAME. (Robert Collins, #50408)
4148
* New help topic ``urlspec`` which lists the availables transports.
4149
(Goffredo Baroncelli)
4151
* doc/server.txt updated to document the default bzr:// port
4152
and also update the blurb about the hpss' current status.
4153
(Robert Collins, #107125).
4155
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
4156
serve out to the local LAN (and anyone in the world that can reach the
4157
machine running ``bzr serve``. (Robert Collins, #98918)
4159
* A new smart server protocol version has been added. It prefixes requests
4160
and responses with an explicit version identifier so that future protocol
4161
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
4163
* The bzr protocol version 2 indicates success or failure in every response
4164
without depending on particular commands encoding that consistently,
4165
allowing future client refactorings to be much more robust about error
4166
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
4168
* The smart protocol over HTTP client has been changed to always post to the
4169
same ``.bzr/smart`` URL under the original location when it can. This allows
4170
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
4171
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
4173
* digest authentication is now supported for proxies and HTTP by the urllib
4174
based http implementation. Tested against Apache 2.0.55 and Squid
4175
2.6.5. Basic and digest authentication are handled coherently for HTTP
4176
and proxy: if the user is provided in the url (bzr command line for HTTP,
4177
proxy environment variables for proxies), the password is prompted for
4178
(only once). If the password is provided, it is taken into account. Once
4179
the first authentication is successful, all further authentication
4180
roundtrips are avoided by preventively setting the right authentication
4186
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
4187
code paths. (Robert Collins)
4189
* Change the format of chroot urls so that they can be safely manipulated
4190
by generic url utilities without causing the resulting urls to have
4191
escaped the chroot. A side effect of this is that creating a chroot
4192
requires an explicit action using a ChrootServer.
4193
(Robert Collins, Andrew Bennetts)
4195
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
4196
rather than fixing bug #96847. (Aaron Bentley)
4198
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
4199
``WorkingTree._write_inventory``. (Aaron Bentley)
4201
* Convenience method ``TestCase.expectFailure`` ensures that known failures
4202
do not silently pass. (Aaron Bentley)
4204
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
4205
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
4207
* New SmartServer hooks facility. There are two initial hooks documented
4208
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
4209
plugins to execute code upon server startup and shutdown.
4212
* SmartServer in standalone mode will now close its listening socket
4213
when it stops, rather than waiting for garbage collection. This primarily
4214
fixes test suite hangs when a test tries to connect to a shutdown server.
4215
It may also help improve behaviour when dealing with a server running
4216
on a specific port (rather than dynamically assigned ports).
4219
* Move most SmartServer code into a new package, bzrlib/smart.
4220
bzrlib/transport/remote.py contains just the Transport classes that used
4221
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
4223
* urllib http implementation avoid roundtrips associated with
4224
401 (and 407) errors once the authentication succeeds.
4227
* urlib http now supports querying the user for a proxy password if
4228
needed. Realm is shown in the prompt for both HTTP and proxy
4229
authentication when the user is required to type a password.
4232
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
4233
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
4234
consistent with its new home in ``bzrlib/transport/remote.py``, and because
4235
it's not really a "smart" transport, just one that does file operations
4236
via remote procedure calls. (Andrew Bennetts)
4238
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
4239
``Branch`` now accept a ``token`` keyword argument, so that separate
4240
instances of those objects can share a lock if it has the right token.
4241
(Andrew Bennetts, Robert Collins)
4243
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
4244
branch references - which the smart server component needs.
4246
* The Repository API ``make_working_trees`` is now permitted to return
4247
False when ``set_make_working_trees`` is not implemented - previously
4248
an unimplemented ``set_make_working_trees`` implied the result True
4249
from ``make_working_trees``. This has been changed to accomodate the
4250
smart server, where it does not make sense (at this point) to ever
4251
make working trees by default. (Robert Collins)
4253
* Command objects can now declare related help topics by having _see_also
4254
set to a list of related topic. (Robert Collins)
4256
* ``bzrlib.help`` now delegates to the Command class for Command specific
4257
help. (Robert Collins)
4259
* New class ``TransportListRegistry``, derived from the Registry class, which
4260
simplifies tracking the available Transports. (Goffredo Baroncelli)
4262
* New function ``Branch.get_revision_id_to_revno_map`` which will
4263
return a dictionary mapping revision ids to dotted revnos. Since
4264
dotted revnos are defined in the context of the branch tip, it makes
4265
sense to generate them from a ``Branch`` object.
4266
(John Arbash Meinel)
4268
* Fix the 'Unprintable error' message display to use the repr of the
4269
exception that prevented printing the error because the str value
4270
for it is often not useful in debugging (e.g. KeyError('foo') has a
4271
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
4272
useful. (Robert Collins)
4274
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
4279
* Don't fail bundle selftest if email has 'two' embedded.
4280
(Ian Clatworthy, #98510)
4282
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
4283
(Robert Widhopf-Fenk, #98591)
4285
* Remove ``--basis`` from the checkout/branch commands - it didn't work
4286
properly and is no longer beneficial.
4287
(Robert Collins, #53675, #43486)
4289
* Don't produce encoding error when adding duplicate files.
4292
* Fix ``bzr log <file>`` so it only logs the revisions that changed
4293
the file, and does it faster.
4294
(Kent Gibson, John Arbash Meinel, #51980, #69477)
4296
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
4297
an empty versioned directory, which now has files in it.
4298
(John Arbash Meinel, #104257)
4300
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
4301
inside the ancestry of the other. Saves a lot of graph processing
4302
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
4303
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
4305
* Fix ``show_diff_trees`` to handle the case when a file is modified,
4306
and the containing directory is renamed. (The file path is different
4307
in this versus base, but it isn't marked as a rename).
4308
(John Arbash Meinel, #103870)
4310
* FTP now works even when the FTP server does not support atomic rename.
4311
(Aaron Bentley, #89436)
4313
* Correct handling in bundles and merge directives of timezones with
4314
that are not an integer number of hours offset from UTC. Always
4315
represent the epoch time in UTC to avoid problems with formatting
4316
earlier times on win32. (Martin Pool, Alexander Belchenko, John
4319
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
4321
* "dirstate" and "dirstate-tags" formats now produce branches compatible
4322
with old versions of bzr. (Aaron Bentley, #107168))
4324
* Handle moving a directory when children have been added, removed,
4325
and renamed. (John Arbash Meinel, #105479)
4327
* Don't preventively use basic authentication for proxy before receiving a
4328
407 error. Otherwise people willing to use other authentication schemes
4329
may expose their password in the clear (or nearly). This add one
4330
roundtrip in case basic authentication should be used, but plug the
4334
* Handle http and proxy digest authentication.
4335
(Vincent Ladeuil, #94034).
4339
* Added ``bzrlib.strace.strace`` which will strace a single callable and
4340
return a StraceResult object which contains just the syscalls involved
4341
in running it. (Robert Collins)
4343
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
4344
default time down to one suitable for tests. (Andrew Bennetts)
4346
* Add new ``vfs_transport_factory`` attribute on tests which provides the
4347
common vfs backing for both the readonly and readwrite transports.
4348
This allows the RemoteObject tests to back onto local disk or memory,
4349
and use the existing ``transport_server`` attribute all tests know about
4350
to be the smart server transport. This in turn allows tests to
4351
differentiate between 'transport to access the branch', and
4352
'transport which is a VFS' - which matters in Remote* tests.
4353
(Robert Collins, Andrew Bennetts)
4355
* The ``make_branch_and_tree`` method for tests will now create a
4356
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
4357
a LocalURLServer. (Robert Collins, Andrew Bennetts)
4359
* Branch implementation tests have been audited to ensure that all urls
4360
passed to Branch APIs use proper urls, except when local-disk paths
4361
are intended. This is so that tests correctly access the test transport
4362
which is often not equivalent to local disk in Remote* tests. As part
4363
of this many tests were adjusted to remove dependencies on local disk
4365
(Robert Collins, Andrew Bennetts)
4367
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
4368
functions by adding a ``__unittest`` global attribute. (Robert Collins,
4369
Andrew Bennetts, Martin Pool, Jonathan Lange)
4371
* Refactored proxy and authentication handling to simplify the
4372
implementation of new auth schemes for both http and proxy.
4380
* Handle incompatible repositories as a user issue when fetching.
4383
* Don't give a recommendation to upgrade when branching or
4384
checking out a branch that contains an old-format working tree.
4387
bzr 0.15rc3 2007-03-26
4388
-----------------------
4392
* A warning is now displayed when opening working trees in older
4393
formats, to encourage people to upgrade to WorkingTreeFormat4.
4398
* HTTP redirections are now taken into account when a branch (or a
4399
bundle) is accessed for the first time. A message is issued at each
4400
redirection to inform the user. In the past, http redirections were
4401
silently followed for each request which significantly degraded the
4402
performances. The http redirections are not followed anymore by
4403
default, instead a RedirectRequested exception is raised. For bzrlib
4404
users needing to follow http redirections anyway,
4405
``bzrlib.transport.do_catching_redirections`` provide an easy transition
4410
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
4411
lock to an OS write lock. Linux can do this without unlocking, Win32
4412
needs to unlock in between. (John Arbash Meinel)
4414
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
4415
to silence (when false) warnings about opening old formats.
4418
* Fix minor performance regression with bzr-0.15 on pre-dirstate
4419
trees. (We were reading the working inventory too many times).
4420
(John Arbash Meinel)
4422
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
4423
``revision_history``. Branch subclasses should override
4424
``_gen_revision_history`` rather than ``revision_history`` to make use of
4425
this cache, and call ``_clear_revision_history_cache`` and
4426
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
4430
* Take ``smtp_server`` from user config into account.
4433
* Restore Unicode filename handling for versioned and unversioned files.
4434
(John Arbash Meinel, #92608)
4436
* Don't fail during ``bzr commit`` if a file is marked removed, and
4437
the containing directory is auto-removed. (John Arbash Meinel, #93681)
4439
* ``bzr status FILENAME`` failed on Windows because of an uncommon
4440
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
4441
(Wouter van Heyst, John Arbash Meinel, #90819)
4443
* ``bzr checkout source`` should create a local branch in the same
4444
format as source. (John Arbash Meinel, #93854)
4446
* ``bzr commit`` with a kind change was failing to update the
4447
last-changed-revision for directories. The
4448
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
4449
ignoring the fact that the kind could have changed, too.
4450
(John Arbash Meinel, #90111)
4452
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
4453
the directory. So that there was a chance it would break commit,
4454
etc. (John Arbash Meinel, #94037)
4456
* Correctly handles mutiple permanent http redirections.
4459
bzr 0.15rc2 2007-03-14
4460
-----------------------
4462
NOTES WHEN UPGRADING:
4464
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
4465
default to ``--trees`` instead of ``--no-trees``.
4466
Existing shared repositories are not affected.
4470
* New ``merge-directive`` command to generate machine- and human-readable
4471
merge requests. (Aaron Bentley)
4473
* New ``submit:`` revision specifier makes it easy to diff against the
4474
common ancestor with the submit location (Aaron Bentley)
4476
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
4478
* Added ``bzr status --versioned`` to report only versioned files,
4479
not unknowns. (Kent Gibson)
4481
* Merge now autodetects the correct line-ending style for its conflict
4482
markers. (Aaron Bentley)
4486
* Refactored SSH vendor registration into SSHVendorManager class.
4491
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
4492
numbered dirs for TestCaseInTempDir. This is default behavior
4493
on Windows. Anyone can force named dirs on Windows
4494
with ``--no-numbered-dirs``. (Alexander Belchenko)
4496
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
4497
from the command line. (Marien Zwart, #90501)
4499
* Fix ``TreeTransform._iter_changes`` when both the source and
4500
destination are missing. (Aaron Bentley, #88842)
4502
* Fix commit of merges with symlinks in dirstate trees.
4505
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
4506
(Wouter van Heyst, #53483)
4509
bzr 0.15rc1 2007-03-07
4510
-----------------------
4514
* The default disk format has changed. Please run 'bzr upgrade' in your
4515
working trees to upgrade. This new default is compatible for network
4516
operations, but not for local operations. That is, if you have two
4517
versions of bzr installed locally, after upgrading you can only use the
4518
bzr 0.15 version. This new default does not enable tags or nested-trees
4519
as they are incompatible with bzr versions before 0.15 over the network.
4521
* For users of bzrlib: Two major changes have been made to the working tree
4522
api in bzrlib. The first is that many methods and attributes, including
4523
the inventory attribute, are no longer valid for use until one of
4524
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
4525
and become invalid again after unlock is called. This has been done
4526
to improve performance and correctness as part of the dirstate
4528
(Robert Collins, John A Meinel, Martin Pool, and others).
4530
* For users of bzrlib: The attribute 'tree.inventory' should be considered
4531
readonly. Previously it was possible to directly alter this attribute, or
4532
its contents, and have the tree notice this. This has been made
4533
unsupported - it may work in some tree formats, but in the newer dirstate
4534
format such actions will have no effect and will be ignored, or even
4535
cause assertions. All operations possible can still be carried out by a
4536
combination of the tree API, and the bzrlib.transform API. (Robert
4537
Collins, John A Meinel, Martin Pool, and others).
4541
* Support for OS Windows 98. Also .bzr.log on any windows system
4542
saved in My Documents folder. (Alexander Belchenko)
4544
* ``bzr mv`` enhanced to support already moved files.
4545
In the past the mv command would have failed if the source file doesn't
4546
exist. In this situation ``bzr mv`` would now detect that the file has
4547
already moved and update the repository accordingly, if the target file
4549
A new option ``--after`` has been added so that if two files already
4550
exist, you could notify Bazaar that you have moved a (versioned) file
4551
and replaced it with another. Thus in this case ``bzr move --after``
4552
will only update the Bazaar identifier.
4553
(Steffen Eichenberg, Marius Kruger)
4555
* ``ls`` now works on treeless branches and remote branches.
4558
* ``bzr help global-options`` describes the global options.
4561
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
4564
* Files are now allowed to change kind (e.g. from file to symlink).
4565
Supported by ``commit``, ``revert`` and ``status``
4568
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
4571
* ``bzr help checkouts`` descibes what checkouts are and some possible
4572
uses of them. (James Westby, Aaron Bentley)
4574
* A new ``-d`` option to push, pull and merge overrides the default
4575
directory. (Martin Pool)
4577
* Branch format 6: smaller, and potentially faster than format 5. Supports
4578
``append_history_only`` mode, where the log view and revnos do not change,
4579
except by being added to. Stores policy settings in
4580
".bzr/branch/branch.conf".
4582
* ``append_only`` branches: Format 6 branches may be configured so that log
4583
view and revnos are always consistent. Either create the branch using
4584
"bzr init --append-revisions-only" or edit the config file as descriped
4585
in docs/configuration.txt.
4587
* rebind: Format 6 branches retain the last-used bind location, so if you
4588
"bzr unbind", you can "bzr bind" to bind to the previously-selected
4591
* Builtin tags support, created and deleted by the ``tag`` command and
4592
stored in the branch. Tags can be accessed with the revisionspec
4593
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
4594
at present. Tags require a network incompatible upgrade. To perform this
4595
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
4596
repositories. (Martin Pool)
4598
* The ``bzr://`` transport now has a well-known port number, 4155,
4599
which it will use by default. (Andrew Bennetts, Martin Pool)
4601
* Bazaar now looks for user-installed plugins before looking for site-wide
4602
plugins. (Jonathan Lange)
4604
* ``bzr resolve`` now detects and marks resolved text conflicts.
4609
* Internally revision ids and file ids are now passed around as utf-8
4610
bytestrings, rather than treating them as Unicode strings. This has
4611
performance benefits for Knits, since we no longer need to decode the
4612
revision id for each line of content, nor for each entry in the index.
4613
This will also help with the future dirstate format.
4614
(John Arbash Meinel)
4616
* Reserved ids (any revision-id ending in a colon) are rejected by
4617
versionedfiles, repositories, branches, and working trees
4620
* Minor performance improvement by not creating a ProgressBar for
4621
every KnitIndex we create. (about 90ms for a bzr.dev tree)
4622
(John Arbash Meinel)
4624
* New easier to use Branch hooks facility. There are five initial hooks,
4625
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
4626
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
4627
``'post_uncommit'``. These hooks fire after the matching operation
4628
on a branch has taken place, and were originally added for the
4629
branchrss plugin. (Robert Collins)
4631
* New method ``Branch.push()`` which should be used when pushing from a
4632
branch as it makes performance and policy decisions to match the UI
4633
level command ``push``. (Robert Collins).
4635
* Add a new method ``Tree.revision_tree`` which allows access to cached
4636
trees for arbitrary revisions. This allows the in development dirstate
4637
tree format to provide access to the callers to cached copies of
4638
inventory data which are cheaper to access than inventories from the
4640
(Robert Collins, Martin Pool)
4642
* New ``Branch.last_revision_info`` method, this is being done to allow
4643
optimization of requests for both the number of revisions and the last
4644
revision of a branch with smartservers and potentially future branch
4645
formats. (Wouter van Heyst, Robert Collins)
4647
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
4648
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
4649
other for code reuse without requiring users to perform file-renaming
4650
gymnastics. (Robert Collins)
4652
* New Repository method ``'gather_stats'`` for statistic data collection.
4653
This is expected to grow to cover a number of related uses mainly
4654
related to bzr info. (Robert Collins)
4656
* Log formatters are now managed with a registry.
4657
``log.register_formatter`` continues to work, but callers accessing
4658
the FORMATTERS dictionary directly will not.
4660
* Allow a start message to be passed to the ``edit_commit_message``
4661
function. This will be placed in the message offered to the user
4662
for editing above the separator. It allows a template commit message
4663
to be used more easily. (James Westby)
4665
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
4666
you pass a Unicode string rather than an 8-bit string. Callers need
4667
to be updated to encode first. (John Arbash Meinel)
4669
* Branch.push, pull, merge now return Result objects with information
4670
about what happened, rather than a scattering of various methods. These
4671
are also passed to the post hooks. (Martin Pool)
4673
* File formats and architecture is in place for managing a forest of trees
4674
in bzr, and splitting up existing trees into smaller subtrees, and
4675
finally joining trees to make a larger tree. This is the first iteration
4676
of this support, and the user-facing aspects still require substantial
4677
work. If you wish to experiment with it, use ``bzr upgrade
4678
--dirstate-with-subtree`` in your working trees and repositories.
4679
You can use the hidden commands ``split`` and ``join`` and to create
4680
and manipulate nested trees, but please consider using the nested-trees
4681
branch, which contains substantial UI improvements, instead.
4682
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
4683
(Aaron Bentley, Martin Pool, Robert Collins).
4687
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
4688
branch, rather than the last changed revision of the file.
4689
(John Arbash Meinel, #82158)
4691
* Lock operations no longer hang if they encounter a permission problem.
4694
* ``bzr push`` can resume a push that was canceled before it finished.
4695
Also, it can push even if the target directory exists if you supply
4696
the ``--use-existing-dir`` flag.
4697
(John Arbash Meinel, #30576, #45504)
4699
* Fix http proxy authentication when user and an optional
4700
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
4703
* ``bzr log branch/file`` works for local treeless branches
4704
(Aaron Bentley, #84247)
4706
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
4708
* Searching location of CA bundle for PyCurl in env variable
4709
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
4710
(Alexander Belchenko, #82086)
4712
* ``bzr init`` works with unicode argument LOCATION.
4713
(Alexander Belchenko, #85599)
4715
* Raise ``DependencyNotPresent`` if pycurl do not support https.
4716
(Vincent Ladeuil, #85305)
4718
* Invalid proxy env variables should not cause a traceback.
4719
(Vincent Ladeuil, #87765)
4721
* Ignore patterns normalised to use '/' path separator.
4722
(Kent Gibson, #86451)
4724
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
4726
* Fix bzrtools shelve command for removed lines beginning with "--"
4727
(Johan Dahlberg, #75577)
4731
* New ``--first`` option to ``bzr selftest`` to run specified tests
4732
before the rest of the suite. (Martin Pool)
4736
--------------------
4740
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
4744
* Skip documentation generation tests if the tools to do so are not
4745
available. Fixes running selftest for installled copies of bzr.
4746
(John Arbash Meinel, #80330)
4748
* Fix the code that discovers whether bzr is being run from it's
4749
working tree to handle the case when it isn't but the directory
4750
it is in is below a repository. (James Westby, #77306)
4753
bzr 0.14rc1 2007-01-16
4754
-----------------------
4758
* New connection: ``bzr+http://`` which supports tunnelling the smart
4759
protocol over an HTTP connection. If writing is enabled on the bzr
4760
server, then you can write over the http connection.
4761
(Andrew Bennetts, John Arbash Meinel)
4763
* Aliases now support quotation marks, so they can contain whitespace
4766
* PyCurlTransport now use a single curl object. By specifying explicitly
4767
the 'Range' header, we avoid the need to use two different curl objects
4768
(and two connections to the same server). (Vincent Ladeuil)
4770
* ``bzr commit`` does not prompt for a message until it is very likely to
4771
succeed. (Aaron Bentley)
4773
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
4776
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
4777
of a list while checking if a revision id was requested. Takes 10s
4778
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
4779
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
4780
filtering lines with a regex rather than multiple ``str.find()``
4781
calls. (saves another 300ms) (John Arbash Meinel)
4783
* Policy can be set for each configuration key. This allows keys to be
4784
inherited properly across configuration entries. For example, this
4785
should enable you to do::
4787
[/home/user/project]
4788
push_location = sftp://host/srv/project/
4789
push_location:policy = appendpath
4791
And then a branch like ``/home/user/project/mybranch`` should get an
4792
automatic push location of ``sftp://host/srv/project/mybranch``.
4795
* Added ``bzr status --short`` to make status report svn style flags
4796
for each file. For example::
4798
$ bzr status --short
4804
* 'bzr selftest --clean-output' allows easily clean temporary tests
4805
directories without running tests. (Alexander Belchenko)
4807
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
4809
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
4810
local is fully merged into remote. (Jan Hudec)
4812
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
4816
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
4817
help speed up processing, as well allowing to extract unannotated
4818
lines. Between the two ``fileids_affected_by_revision_ids`` is
4819
improved by approx 10%. (John Arbash Meinel)
4821
* Change Revision serialization to only write out millisecond
4822
resolution. Rather than expecting floating point serialization to
4823
preserve more resolution than we need. (Henri Weichers, Martin Pool)
4825
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
4827
* When ``encoding_type`` attribute of class Command is equal to 'exact',
4828
force sys.stdout to be a binary stream on Windows, and therefore
4829
keep exact line-endings (without LF -> CRLF conversion).
4830
(Alexander Belchenko)
4832
* Single-letter short options are no longer globally declared. (Martin
4835
* Before using detected user/terminal encoding bzr should check
4836
that Python has corresponding codec. (Alexander Belchenko)
4838
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
4842
* ``bzr missing --verbose`` was showing adds/removals in the wrong
4843
direction. (John Arbash Meinel)
4845
* ``bzr annotate`` now defaults to showing dotted revnos for merged
4846
revisions. It cuts them off at a depth of 12 characters, but you can
4847
supply ``--long`` to see the full number. You can also use
4848
``--show-ids`` to display the original revision ids, rather than
4849
revision numbers and committer names. (John Arbash Meinel, #75637)
4851
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
4852
(Alexander Belchenko, #57869)
4854
* Win32-specific: output of cat, bundle and diff commands don't mangle
4855
line-endings (Alexander Belchenko, #55276)
4857
* Replace broken fnmatch based ignore pattern matching with custom pattern
4859
(Kent Gibson, Jan Hudec #57637)
4861
* pycurl and urllib can detect short reads at different places. Update
4862
the test suite to test more cases. Also detect http error code 416
4863
which was raised for that specific bug. Also enhance the urllib
4864
robustness by detecting invalid ranges (and pycurl's one by detecting
4865
short reads during the initial GET). (Vincent Ladeuil, #73948)
4867
* The urllib connection sharing interacts badly with urllib2
4868
proxy setting (the connections didn't go thru the proxy
4869
anymore). Defining a proper ProxyHandler solves the
4870
problem. (Vincent Ladeuil, #74759)
4872
* Use urlutils to generate relative URLs, not osutils
4873
(Aaron Bentley, #76229)
4875
* ``bzr status`` in a readonly directory should work without giving
4876
lots of errors. (John Arbash Meinel, #76299)
4878
* Mention the revisionspec topic for the revision option help.
4879
(Wouter van Heyst, #31663)
4881
* Allow plugins import from zip archives.
4882
(Alexander Belchenko, #68124)
4886
--------------------
4888
No changes from 0.13rc1
4890
bzr 0.13rc1 2006-11-27
4891
-----------------------
4895
* New command ``bzr remove-tree`` allows the removal of the working
4897
(Daniel Silverstone)
4899
* urllib uses shared keep-alive connections, so http
4900
operations are substantially faster.
4901
(Vincent Ladeuil, #53654)
4903
* ``bzr export`` allows an optional branch parameter, to export a bzr
4904
tree from some other url. For example:
4905
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
4906
(Daniel Silverstone)
4908
* Added ``bzr help topics`` to the bzr help system. This gives a
4909
location for general information, outside of a specific command.
4910
This includes updates for ``bzr help revisionspec`` the first topic
4911
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
4913
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
4916
* Knit files will now cache full texts only when the size of the
4917
deltas is as large as the size of the fulltext. (Or after 200
4918
deltas, whichever comes first). This has the most benefit on large
4919
files with small changes, such as the inventory for a large project.
4920
(eg For a project with 2500 files, and 7500 revisions, it changes
4921
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
4925
* New -D option given before the command line turns on debugging output
4926
for particular areas. -Derror shows tracebacks on all errors.
4929
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
4930
and remove benchmarks that take longer than 10min to run.
4931
(John Arbash Meinel)
4933
* Use ``time.time()`` instead of ``time.clock()`` to decide on
4934
progress throttling. Because ``time.clock()`` is actually CPU time,
4935
so over a high-latency connection, too many updates get throttled.
4936
(John Arbash Meinel)
4938
* ``MemoryTransport.list_dir()`` would strip the first character for
4939
files or directories in root directory. (John Arbash Meinel)
4941
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
4942
branch references - which the smart server component needs.
4944
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
4945
prefix. It disallows any access to locations above a set URL. (Andrew
4950
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
4951
And optimize the knit index parsing code.
4952
(Dmitry Vasiliev, John Arbash Meinel)
4954
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
4955
without importing it. This prevented ``bzr upgrade`` from working
4956
unless a plugin already imported ``bzrlib.workingtree``
4957
(John Arbash Meinel, #70716)
4959
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
4961
* Give nicer error message when an http server returns a 403
4962
error code. (Vincent Ladeuil, #57644).
4964
* When a multi-range http GET request fails, try a single
4965
range one. If it fails too, forget about ranges. Remember that until
4966
the death of the transport and propagates that to the clones.
4967
(Vincent Ladeuil, #62276, #62029).
4969
* Handles user/passwords supplied in url from command
4970
line (for the urllib implementation). Don't request already
4971
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
4973
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
4974
are added. This fixes bug where fetching remote revisions records
4975
them as full references rather than integers.
4976
(John Arbash Meinel, #64789)
4978
* ``bzr ignore`` strips trailing slashes in patterns.
4979
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
4981
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
4983
* mv correctly handles paths that traverse symlinks.
4984
(Aaron Bentley, #66964)
4986
* Give nicer looking error messages when failing to connect over ssh.
4987
(John Arbash Meinel, #49172)
4989
* Pushing to a remote branch does not currently update the remote working
4990
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
4991
machine now show that the working tree is out of date.
4992
(Cheuksan Edward Wang #48136)
4994
* Use patiencediff instead of difflib for determining deltas to insert
4995
into knits. This avoids the O(N^3) behavior of difflib. Patience
4996
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
4998
* Running ``bzr log`` on nonexistent file gives an error instead of the
4999
entire log history. (Cheuksan Edward Wang #50793)
5001
* ``bzr cat`` can look up contents of removed or renamed files. If the
5002
pathname is ambiguous, i.e. the files in the old and new trees have
5003
different id's, the default is the file in the new tree. The user can
5004
use "--name-from-revision" to select the file in the old tree.
5005
(Cheuksan Edward Wang, #30190)
5009
* TestingHTTPRequestHandler really handles the Range header
5010
(previously it was ignoring it and returning the whole file,).
5013
--------------------
5017
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5018
and remove benchmarks that take longer than 10min to run.
5019
(John Arbash Meinel)
5021
bzr 0.12rc1 2006-10-23
5022
-----------------------
5026
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
5027
rather than just showing a decimal revision number for revisions on the
5028
mainline. These revision numbers are not yet accepted as input into bzr
5029
commands such as log, diff etc. (Robert Collins)
5031
* revisions can now be specified using dotted-decimal revision numbers.
5032
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
5034
* ``bzr help commands`` output is now shorter (Aaron Bentley)
5036
* ``bzr`` now uses lazy importing to reduce the startup time. This has
5037
a moderate effect on lots of actions, especially ones that have
5038
little to do. For example ``bzr rocks`` time is down to 116ms from
5039
283ms. (John Arbash Meinel)
5041
* New Registry class to provide name-to-object registry-like support,
5042
for example for schemes where plugins can register new classes to
5043
do certain tasks (e.g. log formatters). Also provides lazy registration
5044
to allow modules to be loaded on request.
5045
(John Arbash Meinel, Adeodato Simó)
5047
API INCOMPATABILITY:
5049
* LogFormatter subclasses show now expect the 'revno' parameter to
5050
show() to be a string rather than an int. (Robert Collins)
5054
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
5055
can take a ``working_dir='foo'`` parameter, which will change directory
5056
for the command. (John Arbash Meinel)
5058
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
5059
around a regex, which defers compilation until first use.
5060
(John Arbash Meinel)
5062
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
5063
``--no-plugins`` parameter to ensure test reproducability, and avoid
5064
problems with system-wide installed plugins. (John Arbash Meinel)
5066
* Unique tree root ids are now supported. Newly created trees still
5067
use the common root id for compatibility with bzr versions before 0.12.
5070
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
5071
pass in ``inventory.ROOT_ID`` if you want the default root id value.
5072
(Robert Collins, John Arbash Meinel)
5074
* New method ``WorkingTree.flush()`` which will write the current memory
5075
inventory out to disk. At the same time, ``read_working_inventory`` will
5076
no longer trash the current tree inventory if it has been modified within
5077
the current lock, and the tree will now ``flush()`` automatically on
5078
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
5079
advantage of this functionality. (Robert Collins, John Arbash Meinel)
5081
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
5082
parameter will cause it to add another column to its output, which
5083
contains the dotted-decimal revno for each revision, as a tuple.
5086
* ``LogFormatter.show_merge`` is deprecated in favour of
5087
``LogFormatter.show_merge_revno``. (Robert Collins)
5091
* Avoid circular imports by creating a deprecated function for
5092
``bzrlib.tree.RevisionTree``. Callers should have been using
5093
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
5096
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
5097
platforms. (Martin Pool, #66356)
5099
* Don't require ``Content-Type`` in range responses. Assume they are a
5100
single range if ``Content-Type`` does not exist.
5101
(John Arbash Meinel, #62473)
5103
* bzr branch/pull no longer complain about progress bar cleanup when
5104
interrupted during fetch. (Aaron Bentley, #54000)
5106
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
5107
the basis inventory, rather than going through the repository. This
5108
allows us to have 1 inventory read, and 2 inventory writes when
5109
committing a new tree. (John Arbash Meinel)
5111
* When reverting, files that are not locally modified that do not exist
5112
in the target are deleted, not just unversioned (Aaron Bentley)
5114
* When trying to acquire a lock, don't fail immediately. Instead, try
5115
a few times (up to 1 hour) before timing out. Also, report why the
5116
lock is unavailable (John Arbash Meinel, #43521, #49556)
5118
* Leave HttpTransportBase daughter classes decides how they
5119
implement cloning. (Vincent Ladeuil, #61606)
5121
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
5123
* If a commit fails, the commit message is stored in a file at the root of
5124
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
5129
* New test base class TestCaseWithMemoryTransport offers memory-only
5130
testing facilities: its not suitable for tests that need to mutate disk
5131
state, but most tests should not need that and should be converted to
5132
TestCaseWithMemoryTransport. (Robert Collins)
5134
* ``TestCase.make_branch_and_memory_tree`` now takes a format
5135
option to set the BzrDir, Repository and Branch formats of the
5136
created objects. (Robert Collins, John Arbash Meinel)
5139
--------------------
5141
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
5143
bzr 0.11rc2 2006-09-27
5144
-----------------------
5148
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
5150
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
5153
bzr 0.11rc1 2006-09-25
5154
-----------------------
5158
* Knit files now wait to create their contents until the first data is
5159
added. The old code used to create an empty .knit and a .kndx with just
5160
the header. However, this caused a lot of extra round trips over sftp.
5161
This can change the time for ``bzr push`` to create a new remote branch
5162
from 160s down to 100s. This also affects ``bzr commit`` performance when
5163
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
5164
down to 40s (John Arbash Meinel, #44692)
5166
* When an entire subtree has been deleted, commit will now report that
5167
just the top of the subtree has been deleted, rather than reporting
5168
all the individual items. (Robert Collins)
5170
* Commit performs one less XML parse. (Robert Collins)
5172
* ``bzr checkout`` now operates on readonly branches as well
5173
as readwrite branches. This fixes bug #39542. (Robert Collins)
5175
* ``bzr bind`` no longer synchronises history with the master branch.
5176
Binding should be followed by an update or push to synchronise the
5177
two branches. This is closely related to the fix for bug #39542.
5180
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
5181
objects. This allows all imports to stay at the global scope, but
5182
modules will not actually be imported if they are not used.
5183
(John Arbash Meinel)
5185
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
5186
transport which will be used with the upcoming high-performance smart
5187
server. The new command ``bzr serve`` will invoke bzr in server mode,
5188
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
5191
* New command ``bzr version-info`` which can be used to get a summary
5192
of the current state of the tree. This is especially useful as part
5193
of a build commands. See ``doc/version_info.txt`` for more information
5194
(John Arbash Meinel)
5198
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
5199
specific set of files. (John Arbash Meinel, #3631)
5201
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
5203
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
5204
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
5205
reading a nested Stanza. (John Arbash Meinel)
5207
* Transform._set_mode() needs to stat the right file.
5208
(John Arbash Meinel, #56549)
5210
* Raise WeaveFormatError rather than StopIteration when trying to read
5211
an empty Weave file. (John Arbash Meinel, #46871)
5213
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
5214
(Vincent Ladeuil, #59835)
5216
* Handle boundary="" lines properly to allow access through a Squid proxy.
5217
(John Arbash Meinel, #57723)
5219
* revert now removes newly-added directories (Aaron Bentley, #54172)
5221
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
5222
isn't a working tree. (David Allouche, #40679)
5224
* Give nicer error messages when a user supplies an invalid --revision
5225
parameter. (John Arbash Meinel, #55420)
5227
* Handle when LANG is not recognized by python. Emit a warning, but
5228
just revert to using 'ascii'. (John Arbash Meinel, #35392)
5230
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
5231
(John Arbash Meinel)
5233
* Skip specific tests when the dependencies aren't met. This includes
5234
some ``setup.py`` tests when ``python-dev`` is not available, and
5235
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
5237
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
5238
the system. (Andrew Bennetts, John Arbash Meinel)
5240
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
5241
other branch, and will not push or pull between the two branches.
5242
API users will need to perform a push or pull or update operation if they
5243
require branch synchronisation to take place. (Robert Collins, #47344)
5245
* When creating a tarball or zipfile export, export unicode names as utf-8
5246
paths. This may not work perfectly on all platforms, but has the best
5247
chance of working in the common case. (John Arbash Meinel, #56816)
5249
* When committing, only files that exist in working tree or basis tree
5250
may be specified (Aaron Bentley, #50793)
5254
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
5258
* TestCaseInTempDir now creates a separate directory for HOME, rather
5259
than having HOME set to the same location as the working directory.
5260
(John Arbash Meinel)
5262
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
5263
which will update os.environ inside the spawned child. It also can
5264
take a ``universal_newlines=True``, which helps when checking the output
5265
of the command. (John Arbash Meinel)
5267
* Refactor SFTP vendors to allow easier re-use when ssh is used.
5270
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
5271
return urlescaped paths. This is now tested (there were bugs in a few
5272
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
5274
* New utility function ``symbol_versioning.deprecation_string``. Returns the
5275
formatted string for a callable, deprecation format pair. (Robert Collins)
5277
* New TestCase helper applyDeprecated. This allows you to call a callable
5278
which is deprecated without it spewing to the screen, just by supplying
5279
the deprecation format string issued for it. (Robert Collins)
5281
* Transport.append and Transport.put have been deprecated in favor of
5282
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
5283
``.put_file``. This removes the ambiguity in what type of object the
5284
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
5285
been added. Which works similarly to ``Transport.append()`` except for
5286
SFTP, it doesn't have a round trip when opening the file. Also, it
5287
provides functionality for creating a parent directory when trying
5288
to create a file, rather than raise NoSuchFile and forcing the
5289
caller to repeat their request.
5290
(John Arbash Meinel)
5292
* WorkingTree has a new api ``unversion`` which allow the unversioning of
5293
entries by their file id. (Robert Collins)
5295
* ``WorkingTree.pending_merges`` is deprecated. Please use the
5296
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
5298
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
5299
read rather than write. This is appropriate for actions which only need
5300
the branch data for reference rather than mutation. A new decorator
5301
``needs_tree_write_lock`` is provided in the workingtree module. Like the
5302
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
5303
declaration of the locking requirements of a function to ensure that
5304
a lock is taken out for casual scripts. (Robert Collins, #54107)
5306
* All WorkingTree methods which write to the tree, but not to the branch
5307
have been converted to use ``needs_tree_write_lock`` rather than
5308
``needs_write_lock``. Also converted is the revert, conflicts and tree
5309
transform modules. This provides a modest performance improvement on
5310
metadir style trees, due to the reduce lock-acquisition, and a more
5311
significant performance improvement on lightweight checkouts from
5312
remote branches, where trivial operations used to pay a significant
5313
penalty. It also provides the basis for allowing readonly checkouts.
5316
* Special case importing the standard library 'copy' module. This shaves
5317
off 40ms of startup time, while retaining compatibility. See:
5318
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
5320
* WorkingTree has a new parent class MutableTree which represents the
5321
specialisations of Tree which are able to be altered. (Robert Collins)
5323
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
5324
mutate the tree and its contents. (Robert Collins)
5326
* Transport behaviour at the root of the URL is now defined and tested.
5327
(Andrew Bennetts, Robert Collins)
5331
* New test helper classs MemoryTree. This is typically accessed via
5332
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
5334
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
5335
code to continue running concurrently with a subprocess of bzr.
5336
(Andrew Bennetts, Robert Collins)
5338
* Add a new method ``Transport.get_smart_client()``. This is provided to
5339
allow upgrades to a richer interface than the VFS one provided by
5340
Transport. (Andrew Bennetts, Martin Pool)
5343
--------------------
5346
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
5347
tree. (Aaron Bentley)
5349
* 'bzr add --file-ids-from' can be used to specify another path to use
5350
for creating file ids, rather than generating all new ones. Internally,
5351
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
5352
will be used, rather than having bzrlib generate new ones.
5353
(John Arbash Meinel, #55781)
5355
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
5356
This will cache some of the intermediate trees, and decrease the
5357
setup time for benchmark tests. (John Arbash Meinel)
5359
* Inverse forms are provided for all boolean options. For example,
5360
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
5362
* Serialize out Inventories directly, rather than using ElementTree.
5363
Writing out a kernel sized inventory drops from 2s down to ~350ms.
5364
(Robert Collins, John Arbash Meinel)
5368
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
5370
* Change LockDir so that if the lock directory doesn't exist when
5371
``lock_write()`` is called, an attempt will be made to create it.
5372
(John Arbash Meinel, #56974)
5374
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
5376
* Active FTP transport now works as intended. (ghozzy, #56472)
5378
* Really fix mutter() so that it won't ever raise a UnicodeError.
5379
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
5380
But it is a debugging log, not a real user file.
5381
(John Arbash Meinel, #56947, #53880)
5383
* Change Command handle to allow Unicode command and options.
5384
At present we cannot register Unicode command names, so we will get
5385
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
5386
But that is better than a UnicodeError + a traceback.
5387
(John Arbash Meinel, #57123)
5389
* Handle TZ=UTC properly when reading/writing revisions.
5390
(John Arbash Meinel, #55783, #56290)
5392
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
5393
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
5395
* External diff does the right thing for binaries even in foreign
5396
languages. (John Arbash Meinel, #56307)
5398
* Testament handles more cases when content is unicode. Specific bug was
5399
in handling of revision properties.
5400
(John Arbash Meinel, Holger Krekel, #54723)
5402
* The bzr selftest was failing on installed versions due to a bug in a new
5403
test helper. (John Arbash Meinel, Robert Collins, #58057)
5407
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
5408
which can be used to cache the conversion between utf8 and Unicode.
5409
Especially helpful for some of the knit annotation code, which has to
5410
convert revision ids to utf8 to annotate lines in storage.
5411
(John Arbash Meinel)
5413
* ``setup.py`` now searches the filesystem to find all packages which
5414
need to be installed. This should help make the life of packagers
5415
easier. (John Arbash Meinel)
5417
bzr 0.9.0 2006-08-11
5418
---------------------
5422
* The hard-coded built-in ignore rules have been removed. There are
5423
now two rulesets which are enforced. A user global one in
5424
``~/.bazaar/ignore`` which will apply to every tree, and the tree
5425
specific one '.bzrignore'.
5426
``~/.bazaar/ignore`` will be created if it does not exist, but with
5427
a more conservative list than the old default.
5428
This fixes bugs with default rules being enforced no matter what.
5429
The old list of ignore rules from bzr is available by
5430
running 'bzr ignore --old-default-rules'.
5431
(Robert Collins, Martin Pool, John Arbash Meinel)
5433
* 'branches.conf' has been changed to 'locations.conf', since it can apply
5434
to more locations than just branch locations.
5439
* The revision specifier "revno:" is extended to accept the syntax
5440
revno:N:branch. For example,
5441
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
5442
bzr.dev. (Matthieu Moy)
5444
* Tests updates to ensure proper URL handling, UNICODE support, and
5445
proper printing when the user's terminal encoding cannot display
5446
the path of a file that has been versioned.
5447
``bzr branch`` can take a target URL rather than only a local directory.
5448
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
5449
and normalize the parent based on root, allowing access across
5450
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
5451
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
5454
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
5455
Use terminal width for single-line logs from ``bzr log --line`` and
5456
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
5459
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
5460
(Alexander Belchenko)
5462
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
5464
* Show the correct number of revisions pushed when pushing a new branch.
5467
* 'bzr selftest' now shows a progress bar with the number of tests, and
5468
progress made. 'make check' shows tests in -v mode, to be more useful
5469
for the PQM status window. (Robert Collins).
5470
When using a progress bar, failed tests are printed out, rather than
5471
being overwritten by the progress bar until the suite finishes.
5472
(John Arbash Meinel)
5474
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
5475
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
5476
profile data for the individual profiled calls, allowing for fine
5477
grained analysis of performance.
5478
(Robert Collins, Martin Pool).
5480
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
5481
where commit can take an appreciable time. (Robert Collins)
5483
* 'bzr add' is now less verbose in telling you what ignore globs were
5484
matched by files being ignored. Instead it just tells you how many
5485
were ignored (because you might reasonably be expecting none to be
5486
ignored). 'bzr add -v' is unchanged and will report every ignored
5487
file. (Robert Collins).
5489
* ftp now has a test server if medusa is installed. As part of testing,
5490
ftp support has been improved, including support for supplying a
5491
non-standard port. (John Arbash Meinel).
5493
* 'bzr log --line' shows the revision number, and uses only the
5494
first line of the log message (#5162, Alexander Belchenko;
5497
* 'bzr status' has had the --all option removed. The 'bzr ls' command
5498
should be used to retrieve all versioned files. (Robert Collins)
5500
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
5501
over email, and applied on the other end, while maintaining ancestry.
5502
This bundle can be applied with either 'bzr merge' or 'bzr pull',
5503
the same way you would apply another branch.
5504
(John Arbash Meinel, Aaron Bentley)
5506
* 'bzr whoami' can now be used to set your identity from the command line,
5507
for a branch or globally. (Robey Pointer)
5509
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
5512
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
5515
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
5516
Also updates things like 'http+pycurl://' if pycurl is not present.
5517
(John Arbash Meinel) (Malone #47821, #52204)
5519
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
5520
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
5521
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
5523
* Improve the help text for 'bzr diff' to explain what various options do.
5524
(John Arbash Meinel, #6391)
5526
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
5527
revision 10. This makes -r10 more in line with what other commands do.
5528
'bzr uncommit' also now saves the pending merges of the revisions that
5529
were removed. So it is safe to uncommit after a merge, fix something,
5530
and commit again. (John Arbash Meinel, #32526, #31426)
5532
* 'bzr init' now also works on remote locations.
5533
(Wouter van Heyst, #48904)
5535
* HTTP support has been updated. When using pycurl we now support
5536
connection keep-alive, which reduces dns requests and round trips.
5537
And for both urllib and pycurl we support multi-range requests,
5538
which decreases the number of round-trips. Performance results for
5539
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
5540
http branching is now 2-3x faster, and ``bzr pull`` in an existing
5541
branch is as much as 4x faster.
5542
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
5544
* Performance improvements for sftp. Branching and pulling are now up to
5545
2x faster. Utilize paramiko.readv() support for async requests if it
5546
is available (paramiko > 1.6) (John Arbash Meinel)
5550
* Fix shadowed definition of TestLocationConfig that caused some
5552
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
5554
* Fix unnecessary requirement of sign-my-commits that it be run from
5555
a working directory. (Martin Pool, Robert Collins)
5557
* 'bzr push location' will only remember the push location if it succeeds
5558
in connecting to the remote location. (John Arbash Meinel, #49742)
5560
* 'bzr revert' no longer toggles the executable bit on win32
5561
(John Arbash Meinel, #45010)
5563
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
5565
* sftp tests now work correctly on win32 if you have a newer paramiko
5566
(John Arbash Meinel)
5568
* Cleanup win32 test suite, and general cleanup of places where
5569
file handles were being held open. (John Arbash Meinel)
5571
* When specifying filenames for 'diff -r x..y', the name of the file in the
5572
working directory can be used, even if its name is different in both x
5575
* File-ids containing single- or double-quotes are handled correctly by
5576
push. (Aaron Bentley, #52227)
5578
* Normalize unicode filenames to ensure cross-platform consistency.
5579
(John Arbash Meinel, #43689)
5581
* The argument parser can now handle '-' as an argument. Currently
5582
no code interprets it specially (it is mostly handled as a file named
5583
'-'). But plugins, and future operations can use it.
5584
(John Arbash meinel, #50984)
5586
* Bundles can properly read binary files with a plain '\r' in them.
5587
(John Arbash Meinel, #51927)
5589
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
5591
* Lots of win32 fixes (the test suite passes again).
5592
(John Arbash Meinel, #50155)
5594
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
5596
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
5598
* Removals are only committed if they match the filespec (or if there is
5599
no filespec). (#46635, Aaron Bentley)
5601
* smart-add recurses through all supplied directories
5602
(John Arbash Meinel, #52578)
5604
* Make the bundle reader extra lines before and after the bundle text.
5605
This allows you to parse an email with the bundle inline.
5606
(John Arbash Meinel, #49182)
5608
* Change the file id generator to squash a little bit more. Helps when
5609
working with long filenames on windows. (Also helps for unicode filenames
5610
not generating hidden files). (John Arbash Meinel, #43801)
5612
* Restore terminal mode on C-c while reading sftp password. (#48923,
5613
Nicholas Allen, Martin Pool)
5615
* Timestamps are rounded to 1ms, and revision entries can be recreated
5616
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
5618
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
5619
use local paths, since it is user visible (John Arbash Meinel, #53653)
5621
* ``bzr status foo`` when foo was unversioned used to cause a full delta
5622
to be generated (John Arbash Meinel, #53638)
5624
* When reading revision properties, an empty value should be considered
5625
the empty string, not None (John Arbash Meinel, #47782)
5627
* ``bzr diff --diff-options`` can now handle binary files being changed.
5628
Also, the output is consistent when --diff-options is not supplied.
5629
(John Arbash Meinel, #54651, #52930)
5631
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
5633
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
5634
accessible (John Arbash Meinel, #52976)
5638
* Combine the ignore rules into a single regex rather than looping over
5639
them to reduce the threshold where N^2 behaviour occurs in operations
5640
like status. (Jan Hudec, Robert Collins).
5642
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
5643
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
5645
* 'bzr push' should only push the ancestry of the current revision, not
5646
all of the history in the repository. This is especially important for
5647
shared repositories. (John Arbash Meinel)
5649
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
5650
rather than randomly walking the inventories. (John Arbash Meinel)
5652
* Doctests are now run in temporary directories which are cleaned up when
5653
they finish, rather than using special ScratchDir/ScratchBranch objects.
5656
* Split ``check`` into separate methods on the branch and on the repository,
5657
so that it can be specialized in ways that are useful or efficient for
5658
different formats. (Martin Pool, Robert Collins)
5660
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
5661
the global revision graph but only that part leading up to a particular
5662
revision. (Martin Pool, Robert Collins)
5664
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
5665
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
5666
(Robert Collins, Jelmer Vernooij).
5668
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
5669
Uses subprocess instead of spawnvp.
5670
(James Henstridge, John Arbash Meinel, #4047, #48914)
5672
* New command line option '--profile-imports', which will install a custom
5673
importer to log time to import modules and regex compilation time to
5674
sys.stderr (John Arbash Meinel)
5676
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
5677
instead. (Robert Collins)
5679
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
5681
bzr 0.8.2 2006-05-17
5682
---------------------
5686
* setup.py failed to install launchpad plugin. (Martin Pool)
5688
bzr 0.8.1 2006-05-16
5689
---------------------
5693
* Fix failure to commit a merge in a checkout. (Martin Pool,
5694
Robert Collins, Erik Bågfors, #43959)
5696
* Nicer messages from 'commit' in the case of renames, and correct
5697
messages when a merge has occured. (Robert Collins, Martin Pool)
5699
* Separate functionality from assert statements as they are skipped in
5700
optimized mode of python. Add the same check to pending merges.
5701
(Olaf Conradi, #44443)
5705
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
5707
* Add info on standalone branches without a working tree.
5708
(Olaf Conradi, #44155)
5710
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
5714
* Make editor invocation comply with Debian Policy. First check
5715
environment variables VISUAL and EDITOR, then try editor from
5716
alternatives system. If that all fails, fall back to the pre-defined
5717
list of editors. (Olaf Conradi, #42904)
5721
* New 'register-branch' command registers a public branch into
5722
Launchpad.net, where it can be associated with bugs, etc.
5723
(Martin Pool, Bjorn Tillenius, Robert Collins)
5727
* New public api in InventoryEntry - ``describe_change(old, new)`` which
5728
provides a human description of the changes between two old and
5729
new. (Robert Collins, Martin Pool)
5733
* Fix test case for bzr info in upgrading a standalone branch to metadir,
5734
uses bzrlib api now. (Olaf Conradi)
5739
NOTES WHEN UPGRADING:
5741
Release 0.8 of bzr introduces a new format for history storage, called
5742
'knit', as an evolution of to the 'weave' format used in 0.7. Local
5743
and remote operations are faster using knits than weaves. Several
5744
operations including 'init', 'init-repo', and 'upgrade' take a
5745
--format option that controls this. Branching from an existing branch
5746
will keep the same format.
5748
It is possible to merge, pull and push between branches of different
5749
formats but this is slower than moving data between homogenous
5750
branches. It is therefore recommended (but not required) that you
5751
upgrade all branches for a project at the same time. Information on
5752
formats is shown by 'bzr info'.
5754
bzr 0.8 now allows creation of 'repositories', which hold the history
5755
of files and revisions for several branches. Previously bzr kept all
5756
the history for a branch within the .bzr directory at the root of the
5757
branch, and this is still the default. To create a repository, use
5758
the new 'bzr init-repo' command. Branches exist as directories under
5759
the repository and contain just a small amount of information
5760
indicating the current revision of the branch.
5762
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
5763
subversion. Checkouts are associated with a branch (optionally in a
5764
repository), which contains all the historical information. The
5765
result is that a checkout can be deleted without losing any
5766
already-committed revisions. A new 'update' command is also available.
5768
Repositories and checkouts are not supported with the 0.7 storage
5769
format. To use them you must upgrad to either knits, or to the
5770
'metaweave' format, which uses weaves but changes the .bzr directory
5776
* Sftp paths can now be relative, or local, according to the lftp
5777
convention. Paths now take the form::
5779
sftp://user:pass@host:port/~/relative/path
5781
sftp://user:pass@host:port/absolute/path
5783
* The FTP transport now tries to reconnect after a temporary
5784
failure. ftp put is made atomic. (Matthieu Moy)
5786
* The FTP transport now maintains a pool of connections, and
5787
reuses them to avoid multiple connections to the same host (like
5788
sftp did). (Daniel Silverstone)
5790
* The ``bzr_man.py`` file has been removed. To create the man page now,
5791
use ``./generate_docs.py man``. The new program can also create other files.
5792
Run ``python generate_docs.py --help`` for usage information.
5793
(Hans Ulrich Niedermann & James Blackwell).
5795
* Man Page now gives full help (James Blackwell).
5796
Help also updated to reflect user config now being stored in .bazaar
5797
(Hans Ulrich Niedermann)
5799
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
5801
* Pull now accepts a --revision argument (Erik Bågfors)
5803
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
5804
line. You can now use the following command to sign all of your old
5807
find .bzr/revision-store// -name my@email-* \
5808
| sed 's/.*\/\/..\///' \
5811
* Upgrade can now upgrade over the network. (Robert Collins)
5813
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
5814
behaviour. By default they will cache history in the checkout, but
5815
with --lightweight almost all data is kept in the master branch.
5818
* 'revert' unversions newly-versioned files, instead of deleting them.
5820
* 'merge' is more robust. Conflict messages have changed.
5822
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
5825
* Default log format can be set in configuration and plugins can register
5826
their own formatters. (Erik Bågfors)
5828
* New 'reconcile' command will check branch consistency and repair indexes
5829
that can become out of sync in pre 0.8 formats. (Robert Collins,
5832
* New 'bzr init --format' and 'bzr upgrade --format' option to control
5833
what storage format is created or produced. (Robert Collins,
5836
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
5838
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
5840
* New 'init-repository' command, plus support for repositories in 'init'
5841
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
5843
* Improve output of 'info' command. Show all relevant locations related to
5844
working tree, branch and repository. Use kibibytes for binary quantities.
5845
Fix off-by-one error in missing revisions of working tree. Make 'info'
5846
work on branches, repositories and remote locations. Show locations
5847
relative to the shared repository, if applicable. Show locking status
5848
of locations. (Olaf Conradi)
5850
* Diff and merge now safely handle binary files. (Aaron Bentley)
5852
* 'pull' and 'push' now normalise the revision history, so that any two
5853
branches with the same tip revision will have the same output from 'log'.
5856
* 'merge' accepts --remember option to store parent location, like 'push'
5857
and 'pull'. (Olaf Conradi)
5859
* bzr status and diff when files given as arguments do not exist
5860
in the relevant trees. (Martin Pool, #3619)
5862
* Add '.hg' to the default ignore list. (Martin Pool)
5864
* 'knit' is now the default disk format. This improves disk performance and
5865
utilization, increases incremental pull performance, robustness with SFTP
5866
and allows checkouts over SFTP to perform acceptably.
5867
The initial Knit code was contributed by Johan Rydberg based on a
5868
specification by Martin Pool.
5869
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
5871
* New tool to generate all-in-one html version of the manual. (Alexander
5874
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
5875
to be left in the SFTP repository. (Robert Collins, Martin Pool).
5877
* New option 'diff --prefix' to control how files are named in diff
5878
output, with shortcuts '-p0' and '-p1' corresponding to the options for
5879
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
5881
* Add --revision option to 'annotate' command. (Olaf Conradi)
5883
* If bzr shows an unexpected revision-history after pulling (perhaps due
5884
to a reweave) it can now be corrected by 'bzr reconcile'.
5889
* Commit is now verbose by default, and shows changed filenames and the
5890
new revision number. (Robert Collins, Martin Pool)
5892
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
5894
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
5896
* Make 'pull' and 'push' remember location on failure using --remember.
5899
* For compatibility, make old format for using weaves inside metadir
5900
available as 'metaweave' format. Rename format 'metadir' to 'default'.
5901
Clean up help for option --format in commands 'init', 'init-repo' and
5902
'upgrade'. (Olaf Conradi)
5906
* The internal storage of history, and logical branch identity have now
5907
been split into Branch, and Repository. The common locking and file
5908
management routines are now in bzrlib.lockablefiles.
5909
(Aaron Bentley, Robert Collins, Martin Pool)
5911
* Transports can now raise DependencyNotPresent if they need a library
5912
which is not installed, and then another implementation will be
5913
tried. (Martin Pool)
5915
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
5918
* Using Tree Transform for merge, revert, tree-building
5920
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
5921
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
5922
replacement API's. (Robert Collins)
5924
* New BzrDir class represents the .bzr control directory and manages
5925
formatting issues. (Robert Collins)
5927
* New repository.InterRepository class encapsulates Repository to
5928
Repository actions and allows for clean selection of optimised code
5929
paths. (Robert Collins)
5931
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
5932
deprecated, please use ``branch.fetch`` or ``repository.fetch``
5933
depending on your needs. (Robert Collins)
5935
* deprecated methods now have a ``is_deprecated`` flag on them that can
5936
be checked, if you need to determine whether a given callable is
5937
deprecated at runtime. (Robert Collins)
5939
* Progress bars are now nested - see
5940
``bzrlib.ui.ui_factory.nested_progress_bar``.
5941
(Robert Collins, Robey Pointer)
5943
* New API call ``get_format_description()`` for each type of format.
5946
* Changed ``branch.set_parent()`` to accept None to remove parent.
5949
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
5951
* WorkingTree.branch is now a read only property. (Robert Collins)
5953
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
5954
can be None or a factory that will create a progress bar. This is
5955
useful for testing or for overriding the bzrlib.progress heuristic.
5958
* New API method ``get_physical_lock_status()`` to query locks present on a
5959
transport. (Olaf Conradi)
5961
* Repository.reconcile now takes a thorough keyword parameter to allow
5962
requesting an indepth reconciliation, rather than just a data-loss
5963
check. (Robert Collins)
5965
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
5966
the user for yes/no style input. (Robert Collins)
5970
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
5971
for testing SFTP protocol support. (Robey Pointer)
5973
* Branch formats are now tested once per implementation (see ``bzrlib.
5974
tests.branch_implementations``. This is analagous to the transport
5975
interface tests, and has been followed up with working tree,
5976
repository and BzrDir tests. (Robert Collins)
5978
* New test base class TestCaseWithTransport provides a transport aware
5979
test environment, useful for testing any transport-interface using
5980
code. The test suite option --transport controls the transport used
5981
by this class (when its not being used as part of implementation
5982
contract testing). (Robert Collins)
5984
* Close logging handler on disabling the test log. This will remove the
5985
handler from the internal list inside python's logging module,
5986
preventing shutdown from closing it twice. (Olaf Conradi)
5988
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
5990
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
5991
parameter which will provide String("foo") to the command as its stdin.
5998
* .bzrignore is excluded from exports, on the grounds that it's a bzr
5999
internal-use file and may not be wanted. (Jamie Wilkinson)
6001
* The "bzr directories" command were removed in favor of the new
6002
--kind option to the "bzr inventory" command. To list all
6003
versioned directories, now use "bzr inventory --kind directory".
6006
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
6007
by default. (John Arbash Meinel)
6009
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
6010
environment variable. Now the path for it is searched in ``BZR_HOME``,
6011
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
6012
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
6013
``HOME``. (John Arbash Meinel)
6015
* Plugins with the same name in different directories in the bzr plugin
6016
path are no longer loaded: only the first successfully loaded one is
6017
used. (Robert Collins)
6019
* Use systems' external ssh command to open connections if possible.
6020
This gives better integration with user settings such as ProxyCommand.
6023
* Permissions on files underneath .bzr/ are inherited from the .bzr
6024
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
6025
will mean that future file will be created with group write permissions.
6027
* configure.in and config.guess are no longer in the builtin default
6030
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
6031
files. (John Arbash Meinel, Martin Pool)
6035
* "bzr INIT dir" now initializes the specified directory, and creates
6036
it if it does not exist. (John Arbash Meinel)
6038
* New remerge command (Aaron Bentley)
6040
* Better zsh completion script. (Steve Borho)
6042
* 'bzr diff' now returns 1 when there are changes in the working
6043
tree. (Robert Collins)
6045
* 'bzr push' now exists and can push changes to a remote location.
6046
This uses the transport infrastructure, and can store the remote
6047
location in the ~/.bazaar/branches.conf configuration file.
6050
* Test directories are only kept if the test fails and the user requests
6053
* Tweaks to short log printing
6055
* Added branch nicks, new nick command, printing them in log output.
6058
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
6059
occurs. (Martin Pool)
6061
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
6062
the same as Subversion. (Martin Pool)
6064
* New ftp transport support (on ftplib), for ftp:// and aftp://
6065
URLs. (Daniel Silverstone)
6067
* Commit editor temporary files now start with ``bzr_log.``, to allow
6068
text editors to match the file name and set up appropriate modes or
6069
settings. (Magnus Therning)
6071
* Improved performance when integrating changes from a remote weave.
6072
(Goffredo Baroncelli)
6074
* Sftp will attempt to cache the connection, so it is more likely that
6075
a connection will be reused, rather than requiring multiple password
6078
* bzr revno now takes an optional argument indicating the branch whose
6079
revno should be printed. (Michael Ellerman)
6081
* bzr cat defaults to printing the last version of the file.
6082
(Matthieu Moy, #3632)
6084
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
6085
profiler. (Denys Duchier)
6087
* Faster commits by reading only the headers of affected weave files.
6090
* 'bzr add' now takes a --dry-run parameter which shows you what would be
6091
added, but doesn't actually add anything. (Michael Ellerman)
6093
* 'bzr add' now lists how many files were ignored per glob. add --verbose
6094
lists the specific files. (Aaron Bentley)
6096
* 'bzr missing' now supports displaying changes in diverged trees and can
6097
be limited to show what either end of the comparison is missing.
6098
(Aaron Bently, with a little prompting from Daniel Silverstone)
6102
* SFTP can walk up to the root path without index errors. (Robert Collins)
6104
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
6106
* Error when run with -OO
6108
* Fix bug in reporting http errors that don't have an http error code.
6111
* Handle more cases of pipe errors in display commands
6113
* Change status to 3 for all errors
6115
* Files that are added and unlinked before committing are completely
6116
ignored by diff and status
6118
* Stores with some compressed texts and some uncompressed texts are now
6119
able to be used. (John A Meinel)
6121
* Fix for bzr pull failing sometimes under windows
6123
* Fix for sftp transport under windows when using interactive auth
6125
* Show files which are both renamed and modified as such in 'bzr
6126
status' output. (Daniel Silverstone, #4503)
6128
* Make annotate cope better with revisions committed without a valid
6129
email address. (Marien Zwart)
6131
* Fix representation of tab characters in commit messages.
6134
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
6135
now parsed properly under Windows. (Alexander Belchenko)
6137
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
6139
* Keep a cached copy of the basis inventory to speed up operations
6140
that need to refer to it. (Johan Rydberg, Martin Pool)
6142
* Fix bugs in bzr status display of non-ascii characters.
6145
* Remove Makefile.in from default ignore list.
6146
(Tollef Fog Heen, Martin Pool, #6413)
6148
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
6152
* Fix selftest asking for passwords when there are no SFTP keys.
6153
(Robey Pointer, Jelmer Vernooij)
6155
* Fix selftest run with 'python -O'. (Martin Pool)
6157
* Fix HTTP tests under Windows. (John Arbash Meinel)
6159
* Make tests work even if HOME is not set (Aaron Bentley)
6161
* Updated ``build_tree`` to use fixed line-endings for tests which read
6162
the file cotents and compare. Make some tests use this to pass under
6163
Windows. (John Arbash Meinel)
6165
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
6167
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
6168
(John Arbash Meinel)
6170
* Use terminal width to align verbose test output. (Martin Pool)
6172
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
6173
If adding a new test script please add that to
6174
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
6176
* Much better error message if one of the test suites can't be
6177
imported. (Martin Pool)
6179
* Make check now runs the test suite twice - once with the default locale,
6180
and once with all locales forced to C, to expose bugs. This is not
6181
trivially done within python, so for now its only triggered by running
6182
Make check. Integrators and packagers who wish to check for full
6183
platform support should run 'make check' to test the source.
6186
* Tests can now run TestSkipped if they can't execute for any reason.
6187
(Martin Pool) (NB: TestSkipped should only be raised for correctable
6188
reasons - see the wiki spec ImprovingBzrTestSuite).
6190
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
6191
paths for the transport tests. Introduce blackbox remote sftp tests that
6192
test the same permutations. (Robert Collins, Robey Pointer)
6194
* Transport implementation tests are now independent of the local file
6195
system, which allows tests for esoteric transports, and for features
6196
not available in the local file system. They also repeat for variations
6197
on the URL scheme that can introduce issues in the transport code,
6198
see bzrlib.transport.TransportTestProviderAdapter() for this.
6201
* ``TestCase.build_tree`` uses the transport interface to build trees,
6202
pass in a transport parameter to give it an existing connection.
6207
* WorkingTree.pull has been split across Branch and WorkingTree,
6208
to allow Branch only pulls. (Robert Collins)
6210
* ``commands.display_command`` now returns the result of the decorated
6211
function. (Robert Collins)
6213
* LocationConfig now has a ``set_user_option(key, value)`` call to save
6214
a setting in its matching location section (a new one is created
6215
if needed). (Robert Collins)
6217
* Branch has two new methods, ``get_push_location`` and
6218
``set_push_location`` to respectively, get and set the push location.
6221
* ``commands.register_command`` now takes an optional flag to signal that
6222
the registrant is planning to decorate an existing command. When
6223
given multiple plugins registering a command is not an error, and
6224
the original command class (whether built in or a plugin based one) is
6225
returned to the caller. There is a new error 'MustUseDecorated' for
6226
signalling when a wrapping command should switch to the original
6227
version. (Robert Collins)
6229
* Some option parsing errors will raise 'BzrOptionError', allowing
6230
granular detection for decorating commands. (Robert Collins).
6232
* ``Branch.read_working_inventory`` has moved to
6233
``WorkingTree.read_working_inventory``. This necessitated changes to
6234
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
6235
WorkingTree as well. To make it clear that a WorkingTree cannot always
6236
be obtained ``Branch.working_tree()`` will raise
6237
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
6239
* All pending merges operations from Branch are now on WorkingTree.
6242
* The follow operations from Branch have moved to WorkingTree::
6252
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
6254
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
6256
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
6259
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
6260
query method. (Robert Collins)
6262
* New options to read only the table-of-contents of a weave.
6265
* Raise NoSuchFile when someone tries to add a non-existant file.
6268
* Simplify handling of DivergedBranches in ``cmd_pull()``.
6271
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
6272
is exposed as ``Branch().control_files``. Also this has been altered with the
6273
controlfile pre/suffix replaced by simple method names like 'get' and
6274
'put'. (Aaron Bentley, Robert Collins).
6276
* Deprecated functions and methods can now be marked as such using the
6277
``bzrlib.symbol_versioning`` module. Marked method have their docstring
6278
updated and will issue a DeprecationWarning using the warnings module
6279
when they are used. (Robert Collins)
6281
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
6282
for functions that need unicode strings. (Robert Collins)
6289
* pull now takes --verbose to show you what revisions are added or removed
6292
* merge now takes a --show-base option to include the base text in
6296
* The config files are now read using ConfigObj, so '=' should be used as
6297
a separator, not ':'.
6300
* New 'bzr commit --strict' option refuses to commit if there are
6301
any unknown files in the tree. To commit, make sure all files are
6302
either ignored, added, or deleted. (Michael Ellerman)
6304
* The config directory is now ~/.bazaar, and there is a single file
6305
~/.bazaar/bazaar.conf storing email, editor and other preferences.
6308
* 'bzr add' no longer takes a --verbose option, and a --quiet option
6309
has been added that suppresses all output.
6311
* Improved zsh completion support in contrib/zsh, from Clint
6314
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
6315
Goffredo Baroncelli.
6317
* 'bzr check' now accepts -v for verbose reporting, and checks for
6318
ghosts in the branch. (Robert Collins)
6320
* New command 're-sign' which will regenerate the gpg signature for
6321
a revision. (Robert Collins)
6323
* If you set ``check_signatures=require`` for a path in
6324
``~/.bazaar/branches.conf`` then bzr will invoke your
6325
``gpg_signing_command`` (defaults to gpg) and record a digital signature
6326
of your commit. (Robert Collins)
6328
* New sftp transport, based on Paramiko. (Robey Pointer)
6330
* 'bzr pull' now accepts '--clobber' which will discard local changes
6331
and make this branch identical to the source branch. (Robert Collins)
6333
* Just give a quieter warning if a plugin can't be loaded, and
6334
put the details in .bzr.log. (Martin Pool)
6336
* 'bzr branch' will now set the branch-name to the last component of the
6337
output directory, if one was supplied.
6339
* If the option ``post_commit`` is set to one (or more) python function
6340
names (must be in the bzrlib namespace), then they will be invoked
6341
after the commit has completed, with the branch and ``revision_id`` as
6342
parameters. (Robert Collins)
6344
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
6346
* --merge-type weave is now supported for file contents. Tree-shape
6347
changes are still three-way based. (Martin Pool, Aaron Bentley)
6349
* 'bzr check' allows the first revision on revision-history to have
6350
parents - something that is expected for cheap checkouts, and occurs
6351
when conversions from baz do not have all history. (Robert Collins).
6353
* 'bzr merge' can now graft unrelated trees together, if your specify
6354
0 as a base. (Aaron Bentley)
6356
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
6359
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
6361
* 'bzr merge --reprocess' minimizes conflicts
6365
* The 'bzr selftest --pattern' option for has been removed, now
6366
test specifiers on the command line can be simple strings, or
6367
regexps, or both. (Robert Collins)
6369
* Passing -v to selftest will now show the time each test took to
6370
complete, which will aid in analysing performance regressions and
6371
related questions. (Robert Collins)
6373
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
6374
is given. (Martin Pool)
6376
* There is a new method for TestCaseInTempDir, assertFileEqual, which
6377
will check that a given content is equal to the content of the named
6378
file. (Robert Collins)
6380
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
6385
* New 'testament' command and concept for making gpg-signatures
6386
of revisions that are not tied to a particular internal
6387
representation. (Martin Pool).
6389
* Per-revision properties ('revprops') as key-value associated
6390
strings on each revision created when the revision is committed.
6391
Intended mainly for the use of external tools. (Martin Pool).
6393
* Config options have moved from bzrlib.osutils to bzrlib.config.
6396
* Improved command line option definitions allowing explanations
6397
for individual options, among other things. Contributed by
6400
* Config options have moved from bzrlib.osutils to bzrlib.config.
6401
Configuration is now done via the config.Config interface:
6402
Depending on whether you have a Branch, a Location or no information
6403
available, construct a ``*Config``, and use its ``signature_checking``,
6404
``username`` and ``user_email`` methods. (Robert Collins)
6406
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
6407
they are made available for other plugins to use. You should not
6408
import other plugins during the ``__init__`` of your plugin though, as
6409
no ordering is guaranteed, and the plugins directory is not on the
6410
python path. (Robert Collins)
6412
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
6413
no longer takes an inventory, rather it takes an option branch
6414
parameter, and if None is given will open the branch at basedir
6415
implicitly. (Robert Collins)
6417
* Cleaner exception structure and error reporting. Suggested by
6418
Scott James Remnant. (Martin Pool)
6420
* Branch.remove has been moved to WorkingTree, which has also gained
6421
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
6424
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
6425
added to the branch module. Use these to cause a function to run in a
6426
read or write lock respectively. (Robert Collins)
6428
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
6429
which allows direct access to the common case of 'get me this file
6430
from its branch'. (Robert Collins)
6432
* Transports can register using ``register_lazy_transport``, and they
6433
will be loaded when first used. (Martin Pool)
6435
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
6436
A new option to WorkingTree.pull has been added, clobber, which will
6437
ignore diverged history and pull anyway.
6440
* config.Config has a ``get_user_option`` call that accepts an option name.
6441
This will be looked up in branches.conf and bazaar.conf as normal.
6442
It is intended that this be used by plugins to support options -
6443
options of built in programs should have specific methods on the config.
6446
* ``merge.merge_inner`` now has tempdir as an optional parameter.
6449
* Tree.kind is not recorded at the top level of the hierarchy, as it was
6450
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
6453
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
6454
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
6455
about future directions. (Robert Collins/Martin Pool)
6457
* bzrlib.transport.http has been modified so that only 404 urllib errors
6458
are returned as NoSuchFile. Other exceptions will propogate as normal.
6459
This allows debuging of actual errors. (Robert Collins)
6461
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
6462
to apis like 'put', 'get' and 'has'. This is to provide consistent
6463
behaviour - it operates on url's only. (Robert Collins)
6465
* Transports can register using ``register_lazy_transport``, and they
6466
will be loaded when first used. (Martin Pool)
6468
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
6469
is called by ``merge_inner``. This is so that the conflict count can be
6470
retrieved (and potentially manipulated) before returning to the caller
6471
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
6472
caller. (Robert Collins)
6474
* ``revision.revision_graph`` can handle having only partial history for
6475
a revision - that is no revisions in the graph with no parents.
6478
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
6479
produce a branch and a list of paths, relative to that branch
6482
* New TestCase.addCleanup facility.
6484
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
6485
which can be used by programs importing bzrlib.
6489
* Better handling of branches in directories with non-ascii names.
6490
(Joel Rosdahl, Panagiotis Papadakos)
6492
* Upgrades of trees with no commits will not fail due to accessing
6493
[-1] in the revision-history. (Andres Salomon)
6496
bzr 0.1.1 2005-10-12
6497
--------------------
6501
* Fix problem in pulling over http from machines that do not
6502
allow directories to be listed.
6504
* Avoid harmless warning about invalid hash cache after
6505
upgrading branch format.
6509
* Avoid some unnecessary http operations in branch and pull.
6517
* 'bzr branch' over http initially gives a very high estimate
6518
of completion time but it should fall as the first few
6519
revisions are pulled in. branch is still slow on
6520
high-latency connections.
6524
* bzr-man.py has been updated to work again. Contributed by
6527
* Locking is now done with fcntl.lockf which works with NFS
6528
file systems. Contributed by Harald Meland.
6530
* When a merge encounters a file that has been deleted on
6531
one side and modified on the other, the old contents are
6532
written out to foo.BASE and foo.SIDE, where SIDE is this
6533
or OTHER. Contributed by Aaron Bentley.
6535
* Export was choosing incorrect file paths for the content of
6536
the tarball, this has been fixed by Aaron Bentley.
6538
* Commit will no longer commit without a log message, an
6539
error is returned instead. Contributed by Jelmer Vernooij.
6541
* If you commit a specific file in a sub directory, any of its
6542
parent directories that are added but not listed will be
6543
automatically included. Suggested by Michael Ellerman.
6545
* bzr commit and upgrade did not correctly record new revisions
6546
for files with only a change to their executable status.
6547
bzr will correct this when it encounters it. Fixed by
6550
* HTTP tests now force off the use of ``http_proxy`` for the duration.
6551
Contributed by Gustavo Niemeyer.
6553
* Fix problems in merging weave-based branches that have
6554
different partial views of history.
6556
* Symlink support: working with symlinks when not in the root of a
6557
bzr tree was broken, patch from Scott James Remnant.
6561
* 'branch' now accepts a --basis parameter which will take advantage
6562
of local history when making a new branch. This allows faster
6563
branching of remote branches. Contributed by Aaron Bentley.
6565
* New tree format based on weave files, called version 5.
6566
Existing branches can be upgraded to this format using
6569
* Symlinks are now versionable. Initial patch by
6570
Erik Toubro Nielsen, updated to head by Robert Collins.
6572
* Executable bits are tracked on files. Patch from Gustavo
6575
* 'bzr status' now shows unknown files inside a selected directory.
6576
Patch from Heikki Paajanen.
6578
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
6579
and 'resolve' have needed added, which list and remove those
6580
merge conflicts respectively. A conflicted tree cannot be committed
6581
in. Contributed by Aaron Bentley.
6583
* 'rm' is now an alias for 'remove'.
6585
* Stores now split out their content in a single byte prefixed hash,
6586
dropping the density of files per directory by 256. Contributed by
6589
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
6590
Contributed by Robert Collins.
6592
* 'bzr log' with the default formatter will show merged revisions,
6593
indented to the right. Initial implementation contributed by Gustavo
6594
Niemeyer, made incremental by Robert Collins.
6599
* Test case failures have the exception printed after the log
6600
for your viewing pleasure.
6602
* InventoryEntry is now an abstract base class, use one of the
6603
concrete InventoryDirectory etc classes instead.
6605
* Branch raises an UnsupportedFormatError when it detects a
6606
bzr branch it cannot understand. This allows for precise
6607
handling of such circumstances.
6609
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
6610
list of their ids and ``parent_sha1s`` is a list of their corresponding
6611
sha1s (for old branches only at the moment.)
6613
* New method-object style interface for Commit() and Fetch().
6615
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
6616
we call them revisions not patches.
6618
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
6619
directory is created if it doesn't exist.
6621
* Inventories now identify the files which were present by
6622
giving the revision *of that file*.
6624
* Inventory and Revision XML contains a version identifier.
6625
This must be consistent with the overall branch version
6626
but allows for more flexibility in future upgrades.
6630
* Removed testsweet module so that tests can be run after
6631
bzr installed by 'bzr selftest'.
6633
* 'bzr selftest' command-line arguments can now be partial ids
6634
of tests to run, e.g. ``bzr selftest test_weave``
6637
bzr 0.0.9 2005-09-23
6638
--------------------
6642
* Fixed "branch -r" option.
6644
* Fix remote access to branches containing non-compressed history.
6647
* Better reliability of http server tests. (John Arbash-Meinel)
6649
* Merge graph maximum distance calculation fix. (Aaron Bentley)
6651
* Various minor bug in windows support have been fixed, largely in the
6652
test suite. Contributed by Alexander Belchenko.
6656
* Status now accepts a -r argument to give status between chosen
6657
revisions. Contributed by Heikki Paajanen.
6659
* Revision arguments no longer use +/-/= to control ranges, instead
6660
there is a 'before' namespace, which limits the successive namespace.
6661
For example '$ bzr log -r date:yesterday..before:date:today' will
6662
select everything from yesterday and before today. Contributed by
6665
* There is now a bzr.bat file created by distutils when building on
6666
Windows. Contributed by Alexander Belchenko.
6670
* Removed uuid() as it was unused.
6672
* Improved 'fetch' code for pulling revisions from one branch into
6673
another (used by pull, merged, etc.)
6676
bzr 0.0.8 2005-09-20
6677
--------------------
6681
* Adding a file whose parent directory is not versioned will
6682
implicitly add the parent, and so on up to the root. This means
6683
you should never need to explictly add a directory, they'll just
6684
get added when you add a file in the directory. Contributed by
6687
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
6690
* If you set ``BZR_EDITOR`` in the environment, it is checked in
6691
preference to EDITOR and the config file for the interactive commit
6692
editing program. Related to this is a bugfix where a missing program
6693
set in EDITOR would cause editing to fail, now the fallback program
6694
for the operating system is still tried.
6696
* Files that are not directories/symlinks/regular files will no longer
6697
cause bzr to fail, it will just ignore them by default. You cannot add
6698
them to the tree though - they are not versionable.
6703
* Refactor xml packing/unpacking.
6707
* Fixed 'bzr mv' by Ollie Rutherfurd.
6709
* Fixed strange error when trying to access a nonexistent http
6712
* Make sure that the hashcache gets written out if it can't be
6718
* Various Windows fixes from Ollie Rutherfurd.
6720
* Quieten warnings about locking; patch from Matt Lavin.
6723
bzr-0.0.7 2005-09-02
6724
--------------------
6728
* ``bzr shell-complete`` command contributed by Clint Adams to
6729
help with intelligent shell completion.
6731
* New expert command ``bzr find-merge-base`` for debugging merges.
6736
* Much better merge support.
6738
* merge3 conflicts are now reported with markers like '<<<<<<<'
6739
(seven characters) which is the same as CVS and pleases things
6745
* ``bzr upgrade`` no longer fails when trying to fix trees that
6746
mention revisions that are not present.
6748
* Fixed bugs in listing plugins from ``bzr plugins``.
6750
* Fix case of $EDITOR containing options for the editor.
6752
* Fix log -r refusing to show the last revision.
6753
(Patch from Goffredo Baroncelli.)
6758
* ``bzr log --show-ids`` shows the revision ids of all parents.
6760
* Externally provided commands on your $BZRPATH no longer need
6761
to recognize --bzr-usage to work properly, and can just handle
6767
* Changed trace messages to go through the standard logging
6768
framework, so that they can more easily be redirected by
6773
bzr-0.0.6 2005-08-18
6774
--------------------
6778
* Python plugins, automatically loaded from the directories on
6779
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
6781
* New 'bzr mkdir' command.
6783
* Commit mesage is fetched from an editor if not given on the
6784
command line; patch from Torsten Marek.
6786
* ``bzr log -m FOO`` displays commits whose message matches regexp
6789
* ``bzr add`` with no arguments adds everything under the current directory.
6791
* ``bzr mv`` does move or rename depending on its arguments, like
6794
* ``bzr missing`` command shows a summary of the differences
6795
between two trees. (Merged from John Arbash-Meinel.)
6797
* An email address for commits to a particular tree can be
6798
specified by putting it into .bzr/email within a branch. (Based
6799
on a patch from Heikki Paajanen.)
6804
* Faster working tree operations.
6809
* 3rd-party modules shipped with bzr are copied within the bzrlib
6810
python package, so that they can be installed by the setup
6811
script without clashing with anything already existing on the
6812
system. (Contributed by Gustavo Niemeyer.)
6814
* Moved plugins directory to bzrlib/, so that there's a standard
6815
plugin directory which is not only installed with bzr itself but
6816
is also available when using bzr from the development tree.
6817
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
6818
standard plugins directory.
6820
* When exporting to a tarball with ``bzr export --format tgz``, put
6821
everything under a top directory rather than dumping it into the
6822
current directory. This can be overridden with the ``--root``
6823
option. Patch from William Dodé and John Meinel.
6825
* New ``bzr upgrade`` command to upgrade the format of a branch,
6826
replacing ``bzr check --update``.
6828
* Files within store directories are no longer marked readonly on
6831
* Changed ``bzr log`` output to a more compact form suggested by
6832
John A Meinel. Old format is available with the ``--long`` or
6833
``-l`` option, patched by William Dodé.
6835
* By default the commit command refuses to record a revision with
6836
no changes unless the ``--unchanged`` option is given.
6838
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
6839
line options must come before the command name because they
6840
affect what commands are available; all other options must come
6841
after the command name because their interpretation depends on
6844
* ``branch`` and ``clone`` added as aliases for ``branch``.
6846
* Default log format is back to the long format; the compact one
6847
is available with ``--short``.
6852
* Fix bugs in committing only selected files or within a subdirectory.
6855
bzr-0.0.5 2005-06-15
6856
---------------------
6860
* ``bzr`` with no command now shows help rather than giving an
6861
error. Suggested by Michael Ellerman.
6863
* ``bzr status`` output format changed, because svn-style output
6864
doesn't really match the model of bzr. Now files are grouped by
6865
status and can be shown with their IDs. ``bzr status --all``
6866
shows all versioned files and unknown files but not ignored files.
6868
* ``bzr log`` runs from most-recent to least-recent, the reverse
6869
of the previous order. The previous behaviour can be obtained
6870
with the ``--forward`` option.
6872
* ``bzr inventory`` by default shows only filenames, and also ids
6873
if ``--show-ids`` is given, in which case the id is the second
6879
* New 'bzr whoami --email' option shows only the email component
6880
of the user identification, from Jo Vermeulen.
6882
* New ``bzr ignore PATTERN`` command.
6884
* Nicer error message for broken pipe, interrupt and similar
6885
conditions that don't indicate an internal error.
6887
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
6889
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
6890
either read or write mode.
6892
* New option ``bzr log --show-ids`` shows revision and file ids.
6894
* New usage ``bzr log FILENAME`` shows only revisions that
6897
* Changed format for describing changes in ``bzr log -v``.
6899
* New option ``bzr commit --file`` to take a message from a file,
6900
suggested by LarstiQ.
6902
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
6903
Oler. File may be in a branch other than the working directory.
6905
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
6908
* Commands can now be defined by external programs or scripts
6909
in a directory on $BZRPATH.
6911
* New "stat cache" avoids reading the contents of files if they
6912
haven't changed since the previous time.
6914
* If the Python interpreter is too old, try to find a better one
6915
or give an error. Based on a patch from Fredrik Lundh.
6917
* New optional parameter ``bzr info [BRANCH]``.
6919
* New form ``bzr commit SELECTED`` to commit only selected files.
6921
* New form ``bzr log -r FROM:TO`` shows changes in selected
6922
range; contributed by John A Meinel.
6924
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
6925
options through to an external GNU diff.
6927
* New option ``bzr add --no-recurse`` to add a directory but not
6930
* ``bzr --version`` now shows more information if bzr is being run
6936
* Fixed diff format so that added and removed files will be
6937
handled properly by patch. Fix from Lalo Martins.
6939
* Various fixes for files whose names contain spaces or other
6945
* Converted black-box test suites from Bourne shell into Python;
6946
now run using ``./testbzr``. Various structural improvements to
6949
* testbzr by default runs the version of bzr found in the same
6950
directory as the tests, or the one given as the first parameter.
6952
* testbzr also runs the internal tests, so the only command
6953
required to check is just ``./testbzr``.
6955
* testbzr requires python2.4, but can be used to test bzr running
6956
under a different version.
6958
* Tests added for many other changes in this release.
6963
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
6965
* Refactor command functions into Command objects based on HCT by
6966
Scott James Remnant.
6968
* Better help messages for many commands.
6970
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
6971
this is called trace messages are just discarded.
6973
* New internal function ``find_touching_revisions()`` and hidden
6974
command touching-revisions trace the changes to a given file.
6976
* Simpler and faster ``compare_inventories()`` function.
6978
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
6980
* New AtomicFile class.
6982
* New developer commands ``added``, ``modified``.
6987
* Cope on Windows on python2.3 by using the weaker random seed.
6988
2.4 is now only recommended.
6991
bzr-0.0.4 2005-04-22
6992
---------------------
6996
* 'bzr diff' optionally takes a list of files to diff. Still a bit
6997
basic. Patch from QuantumG.
6999
* More default ignore patterns.
7001
* New 'bzr log --verbose' shows a list of files changed in the
7002
changeset. Patch from Sebastian Cote.
7004
* Roll over ~/.bzr.log if it gets too large.
7006
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
7009
* New 'bzr help commands' based on a patch from Denys Duchier.
7014
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
7015
or $EMAIL. All are decoded by the locale preferred encoding.
7016
If none of these are present user@hostname is used. The host's
7017
fully-qualified name is not used because that tends to fail when
7018
there are DNS problems.
7020
* New 'bzr whoami' command instead of username user-email.
7025
* Make commit safe for hardlinked bzr trees.
7027
* Some Unicode/locale fixes.
7029
* Partial workaround for ``difflib.unified_diff`` not handling
7030
trailing newlines properly.
7035
* Allow docstrings for help to be in PEP0257 format. Patch from
7038
* More tests in test.sh.
7040
* Write profile data to a temporary file not into working
7041
directory and delete it when done.
7043
* Smaller .bzr.log with process ids.
7048
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
7051
* Some improvements in handling paths on Windows, based on a patch
7055
bzr-0.0.3 2005-04-06
7056
---------------------
7060
* New "directories" internal command lists versioned directories
7063
* Can now say "bzr commit --help".
7065
* New "rename" command to rename one file to a different name
7068
* New "move" command to move one or more files into a different
7071
* New "renames" command lists files renamed since base revision.
7073
* New cat command contributed by janmar.
7077
* .bzr.log is placed in $HOME (not pwd) and is always written in
7078
UTF-8. (Probably not a completely good long-term solution, but
7083
* Workaround for difflib bug in Python 2.3 that causes an
7084
exception when comparing empty files. Reported by Erik Toubro
7089
* Refactored inventory storage to insert a root entry at the top.
7093
* Start of shell-based black-box testing in test.sh.
7688
:Released: 2007-10-29
7693
* ``bzr`` now returns exit code 4 if an internal error occurred, and
7694
3 if a normal error occurred. (Martin Pool)
7696
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
7697
repository index errors that occured as a result of the Weave disk format.
7698
Instead the ``reconcile`` command needs to be run to correct those
7699
problems if they exist (and it has been able to fix most such problems
7700
since bzr 0.8). Some new problems have been identified during this release
7701
and you should run ``bzr check`` once on every repository to see if you
7702
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
7703
repository due to mismatched parent errors - a symptom of index errors -
7704
you should simply take a full copy of that remote repository to a clean
7705
directory outside any local repositories, then run reconcile on it, and
7706
finally pull from it locally. (And naturally email the repositories owner
7707
to ask them to upgrade and run reconcile).
7713
* New ``knitpack-experimental`` repository format. This is interoperable with
7714
the ``dirstate-tags`` format but uses a smarter storage design that greatly
7715
speeds up many operations, both local and remote. This new format can be
7716
used as an option to the ``init``, ``init-repository`` and ``upgrade``
7717
commands. (Robert Collins)
7719
* For users of bzr-svn (and those testing the prototype subtree support) that
7720
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
7721
been added. This is interoperable with the ``dirstate-subtrees`` format.
7724
* New ``reconfigure`` command. (Aaron Bentley)
7726
* New ``revert --forget-merges`` command, which removes the record of a pending
7727
merge without affecting the working tree contents. (Martin Pool)
7729
* New ``bzr_remote_path`` configuration variable allows finer control of
7730
remote bzr locations than BZR_REMOTE_PATH environment variable.
7733
* New ``launchpad-login`` command to tell Bazaar your Launchpad
7734
user ID. This can then be used by other functions of the
7735
Launchpad plugin. (James Henstridge)
7740
* Commit in quiet mode is now slightly faster as the information to
7741
output is no longer calculated. (Ian Clatworthy)
7743
* Commit no longer checks for new text keys during insertion when the
7744
revision id was deterministically unique. (Robert Collins)
7746
* Committing a change which is not a merge and does not change the number of
7747
files in the tree is faster by utilising the data about whether files are
7748
changed to determine if the tree is unchanged rather than recalculating
7749
it at the end of the commit process. (Robert Collins)
7751
* Inventory serialisation no longer double-sha's the content.
7754
* Knit text reconstruction now avoids making copies of the lines list for
7755
interim texts when building a single text. The new ``apply_delta`` method
7756
on ``KnitContent`` aids this by allowing modification of the revision id
7757
such objects represent. (Robert Collins)
7759
* Pack indices are now partially parsed for specific key lookup using a
7760
bisection approach. (Robert Collins)
7762
* Partial commits are now approximately 40% faster by walking over the
7763
unselected current tree more efficiently. (Robert Collins)
7765
* XML inventory serialisation takes 20% less time while being stricter about
7766
the contents. (Robert Collins)
7768
* Graph ``heads()`` queries have been fixed to no longer access all history
7769
unnecessarily. (Robert Collins)
7774
* ``bzr+https://`` smart server across https now supported.
7775
(John Ferlito, Martin Pool, #128456)
7777
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
7778
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
7780
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
7781
changes from one revision. (Alexander Belchenko, #141368)
7783
* Show encodings, locale and list of plugins in the traceback message.
7784
(Martin Pool, #63894)
7786
* Experimental directory formats can now be marked with
7787
``experimental = True`` during registration. (Ian Clatworthy)
7792
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
7794
* The hooks reference documentation is now converted to html as expected.
7800
* Connection error reporting for the smart server has been fixed to
7801
display a user friendly message instead of a traceback.
7802
(Ian Clatworthy, #115601)
7804
* Make sure to use ``O_BINARY`` when opening files to check their
7805
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
7807
* Fix a problem with Win32 handling of the executable bit.
7808
(John Arbash Meinel, #149113)
7810
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
7811
no longer assume that means port 22. This allows people using OpenSSH to
7812
override the default port in their ``~/.ssh/config`` if they wish. This
7813
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
7815
* Commands reporting exceptions can now be profiled and still have their
7816
data correctly dumped to a file. For example, a ``bzr commit`` with
7817
no changes still reports the operation as pointless but doing so no
7818
longer throws away the profiling data if this command is run with
7819
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
7821
* Fallback to ftp when paramiko is not installed and sftp can't be used for
7822
``tests/commands`` so that the test suite is still usable without
7824
(Vincent Ladeuil, #59150)
7826
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
7828
* Fix long standing bug in partial commit when there are renames
7829
left in tree. (Robert Collins, #140419)
7831
* Fix selftest semi-random noise during http related tests.
7832
(Vincent Ladeuil, #140614)
7834
* Fix typo in ftp.py making the reconnection fail on temporary errors.
7835
(Vincent Ladeuil, #154259)
7837
* Fix failing test by comparing real paths to cover the case where the TMPDIR
7838
contains a symbolic link.
7839
(Vincent Ladeuil, #141382).
7841
* Fix log against smart server branches that don't support tags.
7842
(James Westby, #140615)
7844
* Fix pycurl http implementation by defining error codes from
7845
pycurl instead of relying on an old curl definition.
7846
(Vincent Ladeuil, #147530)
7848
* Fix 'unprintable error' message when displaying BzrCheckError and
7849
some other exceptions on Python 2.5.
7850
(Martin Pool, #144633)
7852
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
7854
* Handles default value for ListOption in cmd_commit.
7855
(Vincent Ladeuil, #140432)
7857
* HttpServer and FtpServer need to be closed properly or a listening socket
7859
(Vincent Ladeuil, #140055)
7861
* Monitor the .bzr directory created in the top level test
7862
directory to detect leaking tests.
7863
(Vincent Ladeuil, #147986)
7865
* The basename, not the full path, is now used when checking whether
7866
the profiling dump file begins with ``callgrind.out`` or not. This
7867
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
7869
* Trivial fix for invoking command ``reconfigure`` without arguments.
7872
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
7873
new path causes bzr to be unable to access the file. (Robert Collins)
7875
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
7881
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
7882
constructor, for enabling bisection searches. (Robert Collins)
7884
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
7885
tree be supplied to it, previously failing to do so would trigger a
7886
deprecation warning. (Robert Collins)
7888
* ``KnitVersionedFile.add*`` will no longer cache added records even when
7889
enable_cache() has been called - the caching feature is now exclusively for
7890
reading existing data. (Robert Collins)
7892
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
7893
appropriate. (Martin Pool)
7895
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
7896
``trace+`` transport instead. (Robert Collins)
7898
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
7899
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
7902
* Removed previous deprecated ``basis_knit`` parameter to the
7903
``KnitVersionedFile`` constructor. (Robert Collins)
7905
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
7906
class that needs it.
7909
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
7910
``KnitRepository`` by parameters to the constructor. (Robert Collins)
7912
* The ``VersionedFile`` interface now allows content checks to be bypassed
7913
by supplying check_content=False. This saves nearly 30% of the minimum
7914
cost to store a version of a file. (Robert Collins)
7916
* Tree's with bad state such as files with no length or sha will no longer
7917
be silently accepted by the repository XML serialiser. To serialise
7918
inventories without such data, pass working=True to write_inventory.
7921
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
7922
``VersionedFile.join`` will no longer accept different parents on either
7923
side of a join - it will either ignore them, or error, depending on the
7924
implementation. See notes when upgrading for more information.
7930
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
7931
put by the method call, to allow avoiding stat-after-write or
7932
housekeeping in callers. (Robert Collins)
7934
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
7935
mandatory attributes are present on serialisation and deserialisation.
7936
This fixes some holes in API usage and allows better separation between
7937
physical storage and object serialisation. (Robert Collins)
7939
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
7940
shorthand for deriving from BzrError and setting internal_error = True.
7943
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
7944
moving the state of a parent tree to a new version via a delta rather than
7945
a complete replacement tree. (Robert Collins)
7947
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
7948
duplication from user input, when a user mentions both a path and an item
7949
contained within that path. (Robert Collins)
7951
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
7952
determining if a repository is write locked. (Robert Collins)
7954
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
7955
tuple containing the key information about a path for commit processing
7956
to complete. (Robert Collins)
7958
* New method on xml serialisers, write_inventory_to_lines, which matches the
7959
API used by knits for adding content. (Robert Collins)
7961
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
7962
logic, currently only available for byte-based lookup
7963
(``bisect_multi_bytes``). (Robert Collins)
7965
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
7966
and returns a gzipped version of the same. This is used to avoid a bunch
7967
of api friction during adding of knit hunks. (Robert Collins)
7969
* New parameter on ``bzrlib.transport.Transport.readv``
7970
``adjust_for_latency`` which changes readv from returning strictly the
7971
requested data to inserted return larger ranges and in forward read order
7972
to reduce the effect of network latency. (Robert Collins)
7974
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
7975
causes the parents of a selected id to be returned recursively, so all the
7976
paths from the root down to each element of selected_file_ids are
7977
returned. (Robert Collins)
7979
* Knit joining has been enhanced to support plain to annotated conversion
7980
and annotated to plain conversion. (Ian Clatworthy)
7982
* The CommitBuilder method ``record_entry_contents`` now returns summary
7983
information about the effect of the commit on the repository. This tuple
7984
contains an inventory delta item if the entry changed from the basis, and a
7985
boolean indicating whether a new file graph node was recorded.
7988
* The python path used in the Makefile can now be overridden.
7989
(Andrew Bennetts, Ian Clatworthy)
7994
* New transport implementation ``trace+`` which is useful for testing,
7995
logging activity taken to its _activity attribute. (Robert Collins)
7997
* When running bzr commands within the test suite, internal exceptions are
7998
not caught and reported in the usual way, but rather allowed to propagate
7999
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
8000
makes this behavior available to other users.
8003
* New method ``TestCase.call_catch_warnings`` for testing methods that
8004
raises a Python warning. (Martin Pool)
8010
:Released: 2007-09-26
8015
* Print a warning instead of aborting the ``python setup.py install``
8016
process if building of a C extension is not possible.
8017
(Lukáš Lalinský, Alexander Belchenko)
8019
* Fix commit ordering in corner case (Aaron Bentley, #94975)
8021
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
8022
an implicit port. We were incorrectly raising PathNotChild due to
8023
inconsistent treatment of the ''_port'' attribute on the Transport object.
8024
(Andrew Bennetts, #133965)
8026
* Make RemoteRepository.sprout cope gracefully with servers that don't
8027
support the ``Repository.tarball`` request.
8034
:Released: 2007-09-11
8036
* Replaced incorrect tarball for previous release; a debug statement was left
8037
in bzrlib/remote.py.
8043
:Released: 2007-09-11
8048
* The default branch and repository format has changed to
8049
``dirstate-tags``, so tag commands are active by default.
8050
This format is compatible with Bazaar 0.15 and later.
8051
This incidentally fixes bug #126141.
8054
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
8055
must now appear after the command name. Scripts doing things like
8056
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
8062
* New option ``--author`` in ``bzr commit`` to specify the author of the
8063
change, if it's different from the committer. ``bzr log`` and
8064
``bzr annotate`` display the author instead of the committer.
8067
* In addition to global options and command specific options, a set of
8068
standard options are now supported. Standard options are legal for
8069
all commands. The initial set of standard options are:
8071
* ``--help`` or ``-h`` - display help message
8072
* ``--verbose`` or ``-v`` - display additional information
8073
* ``--quiet`` or ``-q`` - only output warnings and errors.
8075
Unlike global options, standard options can be used in aliases and
8076
may have command-specific help. (Ian Clatworthy)
8078
* Verbosity level processing has now been unified. If ``--verbose``
8079
or ``-v`` is specified on the command line multiple times, the
8080
verbosity level is made positive the first time then increased.
8081
If ``--quiet`` or ``-q`` is specified on the command line
8082
multiple times, the verbosity level is made negative the first
8083
time then decreased. To get the default verbosity level of zero,
8084
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
8085
Note that most commands currently ignore the magnitude of the
8086
verbosity level but do respect *quiet vs normal vs verbose* when
8087
generating output. (Ian Clatworthy)
8089
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
8090
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
8092
* New ``Repository.stream_knit_data_for_revisions`` request added to the
8093
network protocol for greatly reduced roundtrips when retrieving a set of
8094
revisions. (Andrew Bennetts)
8099
* ``bzr plugins`` now lists the version number for each plugin in square
8100
brackets after the path. (Robert Collins, #125421)
8102
* Pushing, pulling and branching branches with subtree references was not
8103
copying the subtree weave, preventing the file graph from being accessed
8104
and causing errors in commits in clones. (Robert Collins)
8106
* Suppress warning "integer argument expected, got float" from Paramiko,
8107
which sometimes caused false test failures. (Martin Pool)
8109
* Fix bug in bundle 4 that could cause attempts to write data to wrong
8110
versionedfile. (Aaron Bentley)
8112
* Diffs generated using "diff -p" no longer break the patch parser.
8115
* get_transport treats an empty possible_transports list the same as a non-
8116
empty one. (Aaron Bentley)
8118
* patch verification for merge directives is reactivated, and works with
8119
CRLF and CR files. (Aaron Bentley)
8121
* Accept ..\ as a path in revision specifiers. This fixes for example
8122
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
8124
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
8125
(Blake Winton, #129299)
8127
* man page no longer lists hidden options (#131667, Aaron Bentley)
8129
* ``uncommit --help`` now explains the -r option adequately. (Daniel
8132
* Error messages are now better formatted with parameters (such as
8133
filenames) quoted when necessary. This avoids confusion when directory
8134
names ending in a '.' at the end of messages were confused with a
8135
full stop that may or not have been there. (Daniel Watkins, #129791)
8137
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
8139
* If a particular command is an alias, ``help`` will show the alias
8140
instead of claiming there is no help for said alias. (Daniel Watkins,
8143
* TreeTransform-based operations, like pull, merge, revert, and branch,
8144
now roll back if they encounter an error. (Aaron Bentley, #67699)
8146
* ``bzr commit`` now exits cleanly if a character unsupported by the
8147
current encoding is used in the commit message. (Daniel Watkins,
8150
* bzr send uses default values for ranges when only half of an elipsis
8151
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
8153
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
8154
binary is present. (Martin Albisetti, #107155)
8156
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
8157
needing ``--force``) subtrees that contain no files with text changes or
8158
modified files. With ``--force`` it removes the subtree regardless of
8159
text changes or unknown files. Directories with renames in or out (but
8160
not changed otherwise) will now be removed without needing ``--force``.
8161
Unknown ignored files will be deleted without needing ``--force``.
8162
(Marius Kruger, #111665)
8164
* When two plugins conflict, the source of both the losing and now the
8165
winning definition is shown. (Konstantin Mikhaylov, #5454)
8167
* When committing to a branch, the location being committed to is
8168
displayed. (Daniel Watkins, #52479)
8170
* ``bzr --version`` takes care about encoding of stdout, especially
8171
when output is redirected. (Alexander Belchenko, #131100)
8173
* Prompt for an ftp password if none is provided.
8174
(Vincent Ladeuil, #137044)
8176
* Reuse bound branch associated transport to avoid multiple
8178
(Vincent Ladeuil, #128076, #131396)
8180
* Overwrite conflicting tags by ``push`` and ``pull`` if the
8181
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
8183
* In checkouts, tags are copied into the master branch when created,
8184
changed or deleted, and are copied into the checkout when it is
8185
updated. (Martin Pool, #93856, #93860)
8187
* Print a warning instead of aborting the ``python setup.py install``
8188
process if building of a C extension is not possible.
8189
(Lukáš Lalinský, Alexander Belchenko)
8194
* Add the option "--show-diff" to the commit command in order to display
8195
the diff during the commit log creation. (Goffredo Baroncelli)
8197
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
8200
* ``pull -v`` no longer includes deltas, making it much faster.
8203
* ``send`` now sends the directive as an attachment by default.
8204
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
8206
* Documentation updates (Martin Albisetti)
8208
* Help on debug flags is now included in ``help global-options``.
8209
(Daniel Watkins, #124853)
8211
* Parameters passed on the command line are checked to ensure they are
8212
supported by the encoding in use. (Daniel Watkins)
8214
* The compression used within the bzr repository has changed from zlib
8215
level 9 to the zlib default level. This improves commit performance with
8216
only a small increase in space used (and in some cases a reduction in
8217
space). (Robert Collins)
8219
* Initial commit no longer SHAs files twice and now reuses the path
8220
rather than looking it up again, making it faster.
8223
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
8224
changes in one revision. (Lukáš Lalinský)
8226
* If versioned files match a given ignore pattern, a warning is now
8227
given. (Daniel Watkins, #48623)
8229
* ``bzr status`` now has -S as a short name for --short and -V as a
8230
short name for --versioned. These have been added to assist users
8231
migrating from Subversion: ``bzr status -SV`` is now like
8232
``svn status -q``. (Daniel Watkins, #115990)
8234
* Added C implementation of ``PatienceSequenceMatcher``, which is about
8235
10x faster than the Python version. This speeds up commands that
8236
need file diffing, such as ``bzr commit`` or ``bzr diff``.
8239
* HACKING has been extended with a large section on core developer tasks.
8242
* Add ``branches`` and ``standalone-trees`` as online help topics and
8243
include them as Concepts within the User Reference.
8244
(Paul Moore, Ian Clatworthy)
8246
* ``check`` can detect versionedfile parent references that are
8247
inconsistent with revision and inventory info, and ``reconcile`` can fix
8248
them. These faulty references were generated by 0.8-era releases,
8249
so repositories which were manipulated by old bzrs should be
8250
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
8255
* ``Branch.append_revision`` is removed altogether; please use
8256
``Branch.set_last_revision_info`` instead. (Martin Pool)
8258
* CommitBuilder now advertises itself as requiring the root entry to be
8259
supplied. This only affects foreign repository implementations which reuse
8260
CommitBuilder directly and have changed record_entry_contents to require
8261
that the root not be supplied. This should be precisely zero plugins
8262
affected. (Robert Collins)
8264
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
8265
its return value to include the sha1 and length of the inserted text. This
8266
allows the avoidance of double-sha1 calculations during commit.
8269
* ``Transport.should_cache`` has been removed. It was not called in the
8270
previous release. (Martin Pool)
8275
* Tests may now raise TestNotApplicable to indicate they shouldn't be
8276
run in a particular scenario. (Martin Pool)
8278
* New function multiply_tests_from_modules to give a simpler interface
8279
to test parameterization. (Martin Pool, Robert Collins)
8281
* ``Transport.should_cache`` has been removed. It was not called in the
8282
previous release. (Martin Pool)
8284
* NULL_REVISION is returned to indicate the null revision, not None.
8287
* Use UTF-8 encoded StringIO for log tests to avoid failures on
8288
non-ASCII committer names. (Lukáš Lalinský)
8293
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
8294
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
8295
useful functionality for determining the path of a plugin, its tests, and
8296
its version information. (Robert Collins)
8298
* Add the option user_encoding to the function 'show_diff_trees()'
8299
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
8301
* Add the function make_commit_message_template_encoded() and the function
8302
edit_commit_message_encoded() which handle encoded strings.
8303
This is done in order to mix the commit messages (which is a unicode
8304
string), and the diff which is a raw string. (Goffredo Baroncelli)
8306
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
8307
overhead on non-weave repositories which don't require all parents to be
8308
present. (Robert Collins)
8310
* Deprecated method ``find_previous_heads`` on
8311
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
8312
of ``parent_candidates`` and a separate heads check via the repository
8313
API. (Robert Collins)
8315
* New trace function ``mutter_callsite`` will print out a subset of the
8316
stack to the log, which can be useful for gathering debug details.
8319
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
8320
added via a public attribute records_written. (Robert Collins)
8322
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
8323
This provides a hint to users of transports as to the reasonable
8324
minimum data to read. In principle this can take latency and
8325
bandwidth into account on a per-connection basis, but for now it
8326
just has hard coded values based on the url. (e.g. http:// has a large
8327
page size, file:// has a small one.) (Robert Collins)
8329
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
8330
incremental addition of data to a file without requiring that all the
8331
data be buffered in memory. (Robert Collins)
8333
* New methods on ``bzrlib.knit.KnitVersionedFile``:
8334
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
8335
``get_format_signature()``. These provide some infrastructure for
8336
efficiently streaming the knit data for a set of versions over the smart
8339
* Knits with no annotation cache still produce correct annotations.
8342
* Three new methods have been added to ``bzrlib.trace``:
8343
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
8344
``set_verbosity_level`` expects a numeric value: negative for quiet,
8345
zero for normal, positive for verbose. The size of the number can be
8346
used to determine just how quiet or verbose the application should be.
8347
The existing ``be_quiet`` and ``is_quiet`` routines have been
8348
integrated into this new scheme. (Ian Clatworthy)
8350
* Options can now be delcared with a ``custom_callback`` parameter. If
8351
set, this routine is called after the option is processed. This feature
8352
is now used by the standard options ``verbose`` and ``quiet`` so that
8353
setting one implicitly resets the other. (Ian Clatworthy)
8355
* Rather than declaring a new option from scratch in order to provide
8356
custom help, a centrally registered option can be decorated using the
8357
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
8358
is useful when declaring better help for the ``verbose`` and ``quiet``
8359
standard options as the base definition of these is now more complex
8360
than before thanks to their use of a custom callback. (Ian Clatworthy)
8362
* Tree._iter_changes(specific_file=[]) now iterates through no files,
8363
instead of iterating through all files. None is used to iterate through
8364
all files. (Aaron Bentley)
8366
* WorkingTree.revert() now accepts None to revert all files. The use of
8367
[] to revert all files is deprecated. (Aaron Bentley)
8373
:Released: 2007-08-28
8378
* Documentation is now organized into multiple directories with a level
8379
added for different languages or locales. Added the Mini Tutorial
8380
and Quick Start Summary (en) documents from the Wiki, improving the
8381
content and readability of the former. Formatted NEWS as Release Notes
8382
complete with a Table of Conents, one heading per release. Moved the
8383
Developer Guide into the main document catalog and provided a link
8384
from the developer document catalog back to the main one.
8385
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
8391
* The static convenience method ``BzrDir.create_repository``
8392
is deprecated. Callers should instead create a ``BzrDir`` instance
8393
and call ``create_repository`` on that. (Martin Pool)
8399
:Released: 2007-08-14
8404
* ``bzr init`` should connect to the remote location one time only. We
8405
have been connecting several times because we forget to pass around the
8406
Transport object. This modifies ``BzrDir.create_branch_convenience``,
8407
so that we can give it the Transport we already have.
8408
(John Arbash Meinel, Vincent Ladeuil, #111702)
8410
* Get rid of sftp connection cache (get rid of the FTP one too).
8411
(Vincent Ladeuil, #43731)
8413
* bzr branch {local|remote} remote don't try to create a working tree
8415
(Vincent Ladeuil, #112173)
8417
* All identified multiple connections for a single bzr command have been
8418
fixed. See bzrlib/tests/commands directory.
8421
* ``bzr rm`` now does not insist on ``--force`` to delete files that
8422
have been renamed but not otherwise modified. (Marius Kruger,
8425
* ``bzr selftest --bench`` no longer emits deprecation warnings
8428
* ``bzr status`` now honours FILE parameters for conflict lists
8429
(Aaron Bentley, #127606)
8431
* ``bzr checkout`` now honours -r when reconstituting a working tree.
8432
It also honours -r 0. (Aaron Bentley, #127708)
8434
* ``bzr add *`` no more fails on Windows if working tree contains
8435
non-ascii file names. (Kuno Meyer, #127361)
8437
* allow ``easy_install bzr`` runs without fatal errors.
8438
(Alexander Belchenko, #125521)
8440
* Graph._filter_candidate_lca does not raise KeyError if a candidate
8441
is eliminated just before it would normally be examined. (Aaron Bentley)
8443
* SMTP connection failures produce a nice message, not a traceback.
8449
* Don't show "dots" progress indicators when run non-interactively, such
8450
as from cron. (Martin Pool)
8452
* ``info`` now formats locations more nicely and lists "submit" and
8453
"public" branches (Aaron Bentley)
8455
* New ``pack`` command that will trigger database compression within
8456
the repository (Robert Collins)
8458
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
8459
version is approximately 2-3x faster at parsing a ``.kndx`` file.
8460
Which yields a measurable improvement for commands which have to
8461
read from the repository, such as a 1s => 0.75s improvement in
8462
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
8464
* Merge is now faster. Depending on the scenario, it can be more than 2x
8465
faster. (Aaron Bentley)
8467
* Give a clearer warning, and allow ``python setup.py install`` to
8468
succeed even if pyrex is not available.
8469
(John Arbash Meinel)
8471
* ``DirState._read_dirblocks`` now has an optional Pyrex
8472
implementation. This improves the speed of any command that has to
8473
read the entire DirState. (``diff``, ``status``, etc, improve by
8475
``bisect_dirblocks`` has also been improved, which helps all
8476
``_get_entry`` type calls (whenever we are searching for a
8477
particular entry in the in-memory DirState).
8478
(John Arbash Meinel)
8480
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
8481
branch revision history for ui display unless -v is supplied.
8484
* ``bzr log -rA..B`` output shifted to the left margin if the log only
8485
contains merge revisions. (Kent Gibson)
8487
* The ``plugins`` command is now public with improved help.
8490
* New bundle and merge directive formats are faster to generate, and
8492
* Annotate merge now works when there are local changes. (Aaron Bentley)
8494
* Commit now only shows the progress in terms of directories instead of
8495
entries. (Ian Clatworthy)
8497
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
8498
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
8501
* Fix ``VersionedFile.get_graph()`` to avoid using
8502
``set.difference_update(other)``, which has bad scaling when
8503
``other`` is large. This improves ``VF.get_graph([version_id])`` for
8504
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
8506
* The ``--lsprof-file`` option now generates output for KCacheGrind if
8507
the file starts with ``callgrind.out``. This matches the default file
8508
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
8510
* Fix ``bzr update`` to avoid an unnecessary
8511
``branch.get_master_branch`` call, which avoids 1 extra connection
8512
to the remote server. (Partial fix for #128076, John Arbash Meinel)
8514
* Log errors from the smart server in the trace file, to make debugging
8515
test failures (and live failures!) easier. (Andrew Bennetts)
8517
* The HTML version of the man page has been superceded by a more
8518
comprehensive manual called the Bazaar User Reference. This manual
8519
is completed generated from the online help topics. As part of this
8520
change, limited reStructuredText is now explicitly supported in help
8521
topics and command help with 'unnatural' markup being removed prior
8522
to display by the online help or inclusion in the man page.
8525
* HTML documentation now use files extension ``*.html``
8526
(Alexander Belchenko)
8528
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
8529
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
8531
* ``bzr selftest --strict`` fails if there are any missing features or
8532
expected test failures. (Daniel Watkins, #111914)
8534
* Link to registration survey added to README. (Ian Clatworthy)
8536
* Windows standalone installer show link to registration survey
8537
when installation finished. (Alexander Belchenko)
8542
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
8543
Options are now required to provide a help string and it must
8544
comply with the style guide by being one or more sentences with an
8545
initial capital and final period. (Martin Pool)
8547
* KnitIndex.get_parents now returns tuples. (Robert Collins)
8549
* Ancient unused ``Repository.text_store`` attribute has been removed.
8552
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
8553
rather than just bytestrings, making it easier to represent multiple
8554
element names. As this interface was not used by any internal facilities
8555
since it was introduced in 0.18 no API compatibility is being preserved.
8556
The serialised form of these packs is identical with 0.18 when a single
8557
element tuple is in use. (Robert Collins)
8562
* merge now uses ``iter_changes`` to calculate changes, which makes room for
8563
future performance increases. It is also more consistent with other
8564
operations that perform comparisons, and reduces reliance on
8565
Tree.inventory. (Aaron Bentley)
8567
* Refactoring of transport classes connected to a remote server.
8568
ConnectedTransport is a new class that serves as a basis for all
8569
transports needing to connect to a remote server. transport.split_url
8570
have been deprecated, use the static method on the object instead. URL
8571
tests have been refactored too.
8574
* Better connection sharing for ConnectedTransport objects.
8575
transport.get_transport() now accepts a 'possible_transports' parameter.
8576
If a newly requested transport can share a connection with one of the
8580
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
8581
the null revision, and consider using ``None`` for this purpose
8582
deprecated. (Aaron Bentley)
8584
* New ``index`` module with abstract index functionality. This will be
8585
used during the planned changes in the repository layer. Currently the
8586
index layer provides a graph aware immutable index, a builder for the
8587
same index type to allow creating them, and finally a composer for
8588
such indices to allow the use of many indices in a single query. The
8589
index performance is not optimised, however the API is stable to allow
8590
development on top of the index. (Robert Collins)
8592
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
8593
their directory sections. This is equivalent to comparing
8594
``path.split('/')``, only without having to split the paths.
8595
This has a Pyrex implementation available.
8596
(John Arbash Meinel)
8598
* New transport decorator 'unlistable+' which disables the list_dir
8599
functionality for testing.
8601
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
8603
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
8604
for performing annotate-merge. (Aaron Bentley)
8606
* New EmailMessage class to create email messages. (Adeodato Simó)
8608
* Unused functions on the private interface KnitIndex have been removed.
8611
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
8612
of a ``index.GraphIndex``. (Robert Collins)
8614
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
8615
the parents of many knit nodes at once, reducing round trips to the
8616
underlying index. (Robert Collins)
8618
* Graph now has an is_ancestor method, various bits use it.
8621
* The ``-Dhpss`` flag now includes timing information. As well as
8622
logging when a new connection is opened. (John Arbash Meinel)
8624
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
8625
callers when inserting data, allowing generation of readv style access
8626
during pack creation, without needing a separate pass across the output
8627
pack to gather such details. (Robert Collins)
8629
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
8630
files that are stored on a transport. (Robert Collins)
8632
* New ``Repository.has_same_location`` method that reports if two
8633
repository objects refer to the same repository (although with some risk
8634
of false negatives). (Andrew Bennetts)
8636
* InterTree.compare now passes require_versioned on correctly.
8639
* New methods on Repository - ``start_write_group``,
8640
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
8641
which provide a clean hook point for transactional Repositories - ones
8642
where all the data for a fetch or commit needs to be made atomically
8643
available in one step. This allows the write lock to remain while making
8644
a series of data insertions. (e.g. data conversion). (Robert Collins)
8646
* In ``bzrlib.knit`` the internal interface has been altered to use
8647
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
8648
describe where data in a knit is, allowing knits to be split into
8649
many files. (Robert Collins)
8651
* ``bzrlib.knit._KnitData`` split into cache management and physical access
8652
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
8653
The former provides access into a .pack file, and the latter provides the
8654
current production repository form of .knit files. (Robert Collins)
8659
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
8660
``--keep-output`` options, which are obsolete now that tests
8661
are done within directories in $TMPDIR. (Martin Pool)
8663
* The SSH_AUTH_SOCK environment variable is now reset to avoid
8664
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
8666
* run_bzr_subprocess handles parameters the same way as run_bzr:
8667
either a string or a list of strings should be passed as the first
8668
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
8674
:Released: 2007-07-17
8679
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
8685
:Released: 2007-07-10
8690
* Do not suppress pipe errors, etc. in non-display commands
8691
(Alexander Belchenko, #87178)
8693
* Display a useful error message when the user requests to annotate
8694
a file that is not present in the specified revision.
8695
(James Westby, #122656)
8697
* Commands that use status flags now have a reference to 'help
8698
status-flags'. (Daniel Watkins, #113436)
8700
* Work around python-2.4.1 inhability to correctly parse the
8701
authentication header.
8702
(Vincent Ladeuil, #121889)
8704
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
8706
* Fix tempfile permissions error in smart server tar bundling under
8707
Windows. (Martin _, #119330)
8709
* Fix detection of directory entries in the inventory. (James Westby)
8711
* Fix handling of http code 400: Bad Request When issuing too many ranges.
8712
(Vincent Ladeuil, #115209)
8714
* Issue a CONNECT request when connecting to an https server
8715
via a proxy to enable SSL tunneling.
8716
(Vincent Ladeuil, #120678)
8718
* Fix ``bzr log -r`` to support selecting merge revisions, both
8719
individually and as part of revision ranges.
8720
(Kent Gibson, #4663)
8722
* Don't leave cruft behind when failing to acquire a lockdir.
8723
(Martin Pool, #109169)
8725
* Don't use the '-f' strace option during tests.
8726
(Vincent Ladeuil, #102019).
8728
* Warn when setting ``push_location`` to a value that will be masked by
8729
locations.conf. (Aaron Bentley, #122286)
8731
* Fix commit ordering in corner case (Aaron Bentley, #94975)
8733
* Make annotate behave in a non-ASCII world (Adeodato Simó).
8738
* The --lsprof-file option now dumps a text rendering of the profiling
8739
information if the filename ends in ".txt". It will also convert the
8740
profiling information to a format suitable for KCacheGrind if the
8741
output filename ends in ".callgrind". Fixes to the lsprofcalltree
8742
conversion process by Jean Paul Calderone and Itamar were also merged.
8743
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
8745
* ``info`` now defaults to non-verbose mode, displaying only paths and
8746
abbreviated format info. ``info -v`` displays all the information
8747
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
8749
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
8752
* The internal ``weave-list`` command has become ``versionedfile-list``,
8753
and now lists knits as well as weaves. (Aaron Bentley)
8755
* Automatic merge base selection uses a faster algorithm that chooses
8756
better bases in criss-cross merge situations (Aaron Bentley)
8758
* Progress reporting in ``commit`` has been improved. The various logical
8759
stages are now reported on as follows, namely:
8761
* Collecting changes [Entry x/y] - Stage n/m
8762
* Saving data locally - Stage n/m
8763
* Uploading data to master branch - Stage n/m
8764
* Updating the working tree - Stage n/m
8765
* Running post commit hooks - Stage n/m
8767
If there is no master branch, the 3rd stage is omitted and the total
8768
number of stages is adjusted accordingly.
8770
Each hook that is run after commit is listed with a name (as hooks
8771
can be slow it is useful feedback).
8772
(Ian Clatworthy, Robert Collins)
8774
* Various operations that are now faster due to avoiding unnecessary
8775
topological sorts. (Aaron Bentley)
8777
* Make merge directives robust against broken bundles. (Aaron Bentley)
8779
* The lsprof filename note is emitted via trace.note(), not standard
8780
output. (Aaron Bentley)
8782
* ``bzrlib`` now exports explicit API compatibility information to assist
8783
library users and plugins. See the ``bzrlib.api`` module for details.
8786
* Remove unnecessary lock probes when acquiring a lockdir.
8789
* ``bzr --version`` now shows the location of the bzr log file, which
8790
is especially useful on Windows. (Martin Pool)
8792
* -D now supports hooks to get debug tracing of hooks (though its currently
8793
minimal in nature). (Robert Collins)
8795
* Long log format reports deltas on merge revisions.
8796
(John Arbash Meinel, Kent Gibson)
8798
* Make initial push over ftp more resilient. (John Arbash Meinel)
8800
* Print a summary of changes for update just like pull does.
8801
(Daniel Watkins, #113990)
8803
* Add a -Dhpss option to trace smart protocol requests and responses.
8809
* Testing cleanups -
8810
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
8811
to ``bzrlib.tests.repository_implementations``;
8812
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
8813
to ``bzrlib.tests.interrepository_implementations``;
8814
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
8815
``bzrlib.tests.test_transport_implementations``.
8816
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
8817
``bzrlib.tests.branch_implementations``.
8818
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
8819
``bzrlib.tests.bzrdir_implementations``.
8820
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
8821
to ``bzrlib.tests.interversionedfile_implementations``.
8822
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
8823
``bzrlib.tests.revisionstore_implementations``.
8824
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
8825
``bzrlib.tests.workingtree_implementations``.
8826
These changes are an API break in the testing infrastructure only.
8829
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
8831
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
8832
win32. Callers of the function should do this and use the new
8833
``MutableTree.smart_add`` method instead. (Robert Collins)
8835
* ``bzrlib.add.glob_expand_for_win32`` is now
8836
``bzrlib.win32utils.glob_expand``. (Robert Collins)
8838
* ``bzrlib.add.FastPath`` is now private and moved to
8839
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
8841
* ``LockDir.wait`` removed. (Martin Pool)
8843
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
8844
``server_stopped`` hooks. The first parameter is now an iterable of
8845
backing URLs rather than a single URL. This is to reflect that many
8846
URLs may map to the external URL of the server. E.g. the server interally
8847
may have a chrooted URL but also the local file:// URL will be at the
8848
same location. (Robert Collins)
8853
* New SMTPConnection class to unify email handling. (Adeodato Simó)
8855
* Fix documentation of BzrError. (Adeodato Simó)
8857
* Make BzrBadParameter an internal error. (Adeodato Simó)
8859
* Remove use of 'assert False' to raise an exception unconditionally.
8862
* Give a cleaner error when failing to decode knit index entry.
8865
* TreeConfig would mistakenly search the top level when asked for options
8866
from a section. It now respects the section argument and only
8867
searches the specified section. (James Westby)
8869
* Improve ``make api-docs`` output. (John Arbash Meinel)
8871
* Use os.lstat rather than os.stat for osutils.make_readonly and
8872
osutils.make_writeable. This makes the difftools plugin more
8873
robust when dangling symlinks are found. (Elliot Murphy)
8875
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
8876
lockdirs are taken or released. (Martin Pool)
8878
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
8879
allows a nicer UI when hooks are running as the current hook can
8880
be displayed. (Robert Collins)
8882
* ``Transport.get`` has had its interface made more clear for ease of use.
8883
Retrieval of a directory must now fail with either 'PathError' at open
8884
time, or raise 'ReadError' on a read. (Robert Collins)
8886
* New method ``_maybe_expand_globs`` on the ``Command`` class for
8887
dealing with unexpanded glob lists - e.g. on the win32 platform. This
8888
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
8890
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
8891
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
8894
* New method ``external_url`` on Transport for obtaining the url to
8895
hand to external processes. (Robert Collins)
8897
* Teach windows installers to build pyrex/C extensions.
8898
(Alexander Belchenko)
8903
* Removed the ``--keep-output`` option from selftest and clean up test
8904
directories as they're used. This reduces the IO load from
8905
running the test suite and cuts the time by about half.
8906
(Andrew Bennetts, Martin Pool)
8908
* Add scenarios as a public attribute on the TestAdapter classes to allow
8909
modification of the generated scenarios before adaption and easier
8910
testing. (Robert Collins)
8912
* New testing support class ``TestScenarioApplier`` which multiplies
8913
out a single teste by a list of supplied scenarios. (RobertCollins)
8915
* Setting ``repository_to_test_repository`` on a repository_implementations
8916
test will cause it to be called during repository creation, allowing the
8917
testing of repository classes which are not based around the Format
8918
concept. For example a repository adapter can be tested in this manner,
8919
by altering the repository scenarios to include a scenario that sets this
8920
attribute during the test parameterisation in
8921
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
8923
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
8924
interface is now self.run_bzr. The command to run can be passed as
8925
either a list of parameters, a string containing the command line, or
8926
(deprecated) varargs parameters. (Martin Pool)
8928
* The base TestCase now isolates tests from -D parameters by clearing
8929
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
8931
* Add a relpath parameter to get_transport methods in test framework to
8932
avoid useless cloning.
8933
(Vincent Ladeuil, #110448)
8939
:Released: 2007-06-18
8944
* Fix crash of commit due to wrong lookup of filesystem encoding.
8945
(Colin Watson, #120647)
8947
* Revert logging just to stderr in commit as broke unicode filenames.
8948
(Aaron Bentley, Ian Clatworthy, #120930)
8954
:Released: 2007-06-12
8956
Notes When Upgrading
8957
********************
8959
* The kind() and is_executable() APIs on the WorkingTree interface no
8960
longer implicitly (read) locks and unlocks the tree. This *might*
8961
impact some plug-ins and tools using this part of the API. If you find
8962
an issue that may be caused by this change, please let us know,
8963
particularly the plug-in/tool maintainer. If encountered, the API
8964
fix is to surround kind() and is_executable() calls with lock_read()
8965
and unlock() like so::
8967
work_tree.lock_read()
8969
kind = work_tree.kind(...)
8975
* Rework of LogFormatter API to provide beginning/end of log hooks and to
8976
encapsulate the details of the revision to be logged in a LogRevision
8978
In long log formats, merge revision ids are only shown when --show-ids
8979
is specified, and are labelled "revision-id:", as per mainline
8980
revisions, instead of "merged:". (Kent Gibson)
8982
* New ``BranchBuilder`` API which allows the construction of particular
8983
histories quickly. Useful for testing and potentially other applications
8984
too. (Robert Collins)
8989
* There are two new help topics, working-trees and repositories that
8990
attempt to explain these concepts. (James Westby, John Arbash Meinel,
8993
* Added ``bzr log --limit`` to report a limited number of revisions.
8994
(Kent Gibson, #3659)
8996
* Revert does not try to preserve file contents that were originally
8997
produced by reverting to a historical revision. (Aaron Bentley)
8999
* ``bzr log --short`` now includes ``[merge]`` for revisions which
9000
have more than one parent. This is a small improvement to help
9001
understanding what changes have occurred
9002
(John Arbash Meinel, #83887)
9004
* TreeTransform avoids many renames when contructing large trees,
9005
improving speed. 3.25x speedups have been observed for construction of
9006
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
9008
* Commit on large trees is now faster. In my environment, a commit of
9009
a small change to the Mozilla tree (55k files) has dropped from
9010
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
9011
small change is 33% faster. (Ian Clatworthy)
9013
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
9019
* ``bzr push`` should only connect to the remote location one time.
9020
We have been connecting 3 times because we forget to pass around
9021
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
9022
that we can pass in the Transport that we already have.
9023
(John Arbash Meinel, #75721)
9025
* ``DirState.set_state_from_inventory()`` needs to properly order
9026
based on split paths, not just string paths.
9027
(John Arbash Meinel, #115947)
9029
* Let TestUIFactoy encode the password prompt with its own stdout.
9030
(Vincent Ladeuil, #110204)
9032
* pycurl should take use the range header that takes the range hint
9034
(Vincent Ladeuil, #112719)
9036
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
9037
on a missing file. (Aaron Bentley, #118186)
9039
* WorkingTree.remove works correctly with tree references, and when pwd is
9040
not the tree root. (Aaron Bentley)
9042
* Merge no longer fails when a file is renamed in one tree and deleted
9043
in the other. (Aaron Bentley, #110279)
9045
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
9046
and defaults to the last revision (Matthew Fuller, #90048)
9048
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
9049
(Daniel Watkins, #111958)
9051
* ``bzr branch -r revid:foo`` can be used to branch any revision in
9052
your repository. (Previously Branch6 only supported revisions in your
9053
mainline). (John Arbash Meinel, #115343)
9058
:Released: 2007-05-07
9063
* Handle when you have 2 directories with similar names, but one has a
9064
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
9065
iterator was using direct comparison and ``'abc/a'`` sorts after
9066
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
9067
(John Arbash Meinel, #111227)
9069
* Handle when someone renames a file on disk without telling bzr.
9070
Previously we would report the first file as missing, but not show
9071
the new unknown file. (John Arbash Meinel, #111288)
9073
* Avoid error when running hooks after pulling into or pushing from
9074
a branch bound to a smartserver branch. (Martin Pool, #111968)
9079
* Move developer documentation to doc/developers/. This reduces clutter in
9080
the root of the source tree and allows HACKING to be split into multiple
9081
files. (Robert Collins, Alexander Belchenko)
9083
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
9084
``DirState.update_entry()``. This optimizes the core logic for ``bzr
9085
diff`` and ``bzr status`` significantly improving the speed of
9086
both. (John Arbash Meinel)
9091
:Released: 2007-04-30
9096
* Handle the case when you delete a file, and then rename another file
9097
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
9098
status`` should show the removed file and an unknown file in its
9099
place. (John Arbash Meinel, #109993)
9101
* Bundles properly read and write revision properties that have an
9102
empty value. And when the value is not ASCII.
9103
(John Arbash Meinel, #109613)
9105
* Fix the bzr commit message to be in text mode.
9106
(Alexander Belchenko, #110901)
9108
* Also handle when you rename a file and create a file where it used
9109
to be. (John Arbash Meinel, #110256)
9111
* ``WorkingTree4._iter_changes`` should not descend into unversioned
9112
directories. (John Arbash Meinel, #110399)
9117
:Released: 2007-04-26
9119
Notes When Upgrading
9120
********************
9122
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
9123
it could be recovered again.
9124
This has been done for consistency with svn and the unix rm command.
9125
The old ``remove`` behaviour has been retained in the new option
9126
``bzr remove --keep``, which will just stop versioning the file,
9128
``bzr remove --force`` have been added which will always delete the
9130
``bzr remove`` is also more verbose.
9131
(Marius Kruger, #82602)
9136
* Merge directives can now be supplied as input to `merge` and `pull`,
9137
like bundles can. (Aaron Bentley)
9139
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
9140
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
9141
to continue. This can be disabled by setting the environment variable
9142
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
9144
* selftest now supports --list-only to list tests instead of running
9145
them. (Ian Clatworthy)
9147
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
9148
tests with names that match that regular expression.
9149
(Ian Clatworthy, #102679)
9151
* selftest now supports --randomize SEED to run tests in a random order.
9152
SEED is typically the value 'now' meaning 'use the current time'.
9153
(Ian Clatworthy, #102686)
9155
* New option ``--fixes`` to commit, which stores bug fixing annotations as
9156
revision properties. Built-in support for Launchpad, Debian, Trac and
9157
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
9159
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
9160
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
9163
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
9166
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
9167
into using local variables instead of going through ``self._var``.
9168
Improves the time to ``merge_sort`` a 10k revision graph by
9169
approximately 40% (~700->400ms). (John Arbash Meinel)
9171
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
9174
* ``bzr help`` now provides cross references to other help topics using
9175
the _see_also facility on command classes. Likewise the bzr_man
9176
documentation, and the bzr.1 man page also include this information.
9179
* Tags are now included in logs, that use the long log formatter.
9180
(Erik Bågfors, Alexander Belchenko)
9182
* ``bzr help`` provides a clearer message when a help topic cannot be
9183
found. (Robert Collins, #107656)
9185
* ``bzr help`` now accepts optional prefixes for command help. The help
9186
for all commands can now be found at ``bzr help commands/COMMANDNAME``
9187
as well as ``bzr help COMMANDNAME`` (which only works for commands
9188
where the name is not the same as a more general help topic).
9191
* ``bzr help PLUGINNAME`` will now return the module docstring from the
9192
plugin PLUGINNAME. (Robert Collins, #50408)
9194
* New help topic ``urlspec`` which lists the availables transports.
9195
(Goffredo Baroncelli)
9197
* doc/server.txt updated to document the default bzr:// port
9198
and also update the blurb about the hpss' current status.
9199
(Robert Collins, #107125).
9201
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
9202
serve out to the local LAN (and anyone in the world that can reach the
9203
machine running ``bzr serve``. (Robert Collins, #98918)
9205
* A new smart server protocol version has been added. It prefixes requests
9206
and responses with an explicit version identifier so that future protocol
9207
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
9209
* The bzr protocol version 2 indicates success or failure in every response
9210
without depending on particular commands encoding that consistently,
9211
allowing future client refactorings to be much more robust about error
9212
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
9214
* The smart protocol over HTTP client has been changed to always post to the
9215
same ``.bzr/smart`` URL under the original location when it can. This allows
9216
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
9217
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
9219
* digest authentication is now supported for proxies and HTTP by the urllib
9220
based http implementation. Tested against Apache 2.0.55 and Squid
9221
2.6.5. Basic and digest authentication are handled coherently for HTTP
9222
and proxy: if the user is provided in the url (bzr command line for HTTP,
9223
proxy environment variables for proxies), the password is prompted for
9224
(only once). If the password is provided, it is taken into account. Once
9225
the first authentication is successful, all further authentication
9226
roundtrips are avoided by preventively setting the right authentication
9233
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
9234
code paths. (Robert Collins)
9236
* Change the format of chroot urls so that they can be safely manipulated
9237
by generic url utilities without causing the resulting urls to have
9238
escaped the chroot. A side effect of this is that creating a chroot
9239
requires an explicit action using a ChrootServer.
9240
(Robert Collins, Andrew Bennetts)
9242
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
9243
rather than fixing bug #96847. (Aaron Bentley)
9245
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
9246
``WorkingTree._write_inventory``. (Aaron Bentley)
9248
* Convenience method ``TestCase.expectFailure`` ensures that known failures
9249
do not silently pass. (Aaron Bentley)
9251
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
9252
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
9254
* New SmartServer hooks facility. There are two initial hooks documented
9255
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
9256
plugins to execute code upon server startup and shutdown.
9259
* SmartServer in standalone mode will now close its listening socket
9260
when it stops, rather than waiting for garbage collection. This primarily
9261
fixes test suite hangs when a test tries to connect to a shutdown server.
9262
It may also help improve behaviour when dealing with a server running
9263
on a specific port (rather than dynamically assigned ports).
9266
* Move most SmartServer code into a new package, bzrlib/smart.
9267
bzrlib/transport/remote.py contains just the Transport classes that used
9268
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
9270
* urllib http implementation avoid roundtrips associated with
9271
401 (and 407) errors once the authentication succeeds.
9274
* urlib http now supports querying the user for a proxy password if
9275
needed. Realm is shown in the prompt for both HTTP and proxy
9276
authentication when the user is required to type a password.
9279
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
9280
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
9281
consistent with its new home in ``bzrlib/transport/remote.py``, and because
9282
it's not really a "smart" transport, just one that does file operations
9283
via remote procedure calls. (Andrew Bennetts)
9285
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
9286
``Branch`` now accept a ``token`` keyword argument, so that separate
9287
instances of those objects can share a lock if it has the right token.
9288
(Andrew Bennetts, Robert Collins)
9290
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
9291
branch references - which the smart server component needs.
9293
* The Repository API ``make_working_trees`` is now permitted to return
9294
False when ``set_make_working_trees`` is not implemented - previously
9295
an unimplemented ``set_make_working_trees`` implied the result True
9296
from ``make_working_trees``. This has been changed to accomodate the
9297
smart server, where it does not make sense (at this point) to ever
9298
make working trees by default. (Robert Collins)
9300
* Command objects can now declare related help topics by having _see_also
9301
set to a list of related topic. (Robert Collins)
9303
* ``bzrlib.help`` now delegates to the Command class for Command specific
9304
help. (Robert Collins)
9306
* New class ``TransportListRegistry``, derived from the Registry class, which
9307
simplifies tracking the available Transports. (Goffredo Baroncelli)
9309
* New function ``Branch.get_revision_id_to_revno_map`` which will
9310
return a dictionary mapping revision ids to dotted revnos. Since
9311
dotted revnos are defined in the context of the branch tip, it makes
9312
sense to generate them from a ``Branch`` object.
9313
(John Arbash Meinel)
9315
* Fix the 'Unprintable error' message display to use the repr of the
9316
exception that prevented printing the error because the str value
9317
for it is often not useful in debugging (e.g. KeyError('foo') has a
9318
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
9319
useful. (Robert Collins)
9321
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
9327
* Don't fail bundle selftest if email has 'two' embedded.
9328
(Ian Clatworthy, #98510)
9330
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
9331
(Robert Widhopf-Fenk, #98591)
9333
* Remove ``--basis`` from the checkout/branch commands - it didn't work
9334
properly and is no longer beneficial.
9335
(Robert Collins, #53675, #43486)
9337
* Don't produce encoding error when adding duplicate files.
9340
* Fix ``bzr log <file>`` so it only logs the revisions that changed
9341
the file, and does it faster.
9342
(Kent Gibson, John Arbash Meinel, #51980, #69477)
9344
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
9345
an empty versioned directory, which now has files in it.
9346
(John Arbash Meinel, #104257)
9348
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
9349
inside the ancestry of the other. Saves a lot of graph processing
9350
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
9351
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
9353
* Fix ``show_diff_trees`` to handle the case when a file is modified,
9354
and the containing directory is renamed. (The file path is different
9355
in this versus base, but it isn't marked as a rename).
9356
(John Arbash Meinel, #103870)
9358
* FTP now works even when the FTP server does not support atomic rename.
9359
(Aaron Bentley, #89436)
9361
* Correct handling in bundles and merge directives of timezones with
9362
that are not an integer number of hours offset from UTC. Always
9363
represent the epoch time in UTC to avoid problems with formatting
9364
earlier times on win32. (Martin Pool, Alexander Belchenko, John
9367
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
9369
* "dirstate" and "dirstate-tags" formats now produce branches compatible
9370
with old versions of bzr. (Aaron Bentley, #107168))
9372
* Handle moving a directory when children have been added, removed,
9373
and renamed. (John Arbash Meinel, #105479)
9375
* Don't preventively use basic authentication for proxy before receiving a
9376
407 error. Otherwise people willing to use other authentication schemes
9377
may expose their password in the clear (or nearly). This add one
9378
roundtrip in case basic authentication should be used, but plug the
9382
* Handle http and proxy digest authentication.
9383
(Vincent Ladeuil, #94034).
9388
* Added ``bzrlib.strace.strace`` which will strace a single callable and
9389
return a StraceResult object which contains just the syscalls involved
9390
in running it. (Robert Collins)
9392
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
9393
default time down to one suitable for tests. (Andrew Bennetts)
9395
* Add new ``vfs_transport_factory`` attribute on tests which provides the
9396
common vfs backing for both the readonly and readwrite transports.
9397
This allows the RemoteObject tests to back onto local disk or memory,
9398
and use the existing ``transport_server`` attribute all tests know about
9399
to be the smart server transport. This in turn allows tests to
9400
differentiate between 'transport to access the branch', and
9401
'transport which is a VFS' - which matters in Remote* tests.
9402
(Robert Collins, Andrew Bennetts)
9404
* The ``make_branch_and_tree`` method for tests will now create a
9405
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
9406
a LocalURLServer. (Robert Collins, Andrew Bennetts)
9408
* Branch implementation tests have been audited to ensure that all urls
9409
passed to Branch APIs use proper urls, except when local-disk paths
9410
are intended. This is so that tests correctly access the test transport
9411
which is often not equivalent to local disk in Remote* tests. As part
9412
of this many tests were adjusted to remove dependencies on local disk
9414
(Robert Collins, Andrew Bennetts)
9416
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
9417
functions by adding a ``__unittest`` global attribute. (Robert Collins,
9418
Andrew Bennetts, Martin Pool, Jonathan Lange)
9420
* Refactored proxy and authentication handling to simplify the
9421
implementation of new auth schemes for both http and proxy.
9427
:Released: 2007-04-01
9432
* Handle incompatible repositories as a user issue when fetching.
9435
* Don't give a recommendation to upgrade when branching or
9436
checking out a branch that contains an old-format working tree.
9442
:Released: 2007-03-26
9447
* A warning is now displayed when opening working trees in older
9448
formats, to encourage people to upgrade to WorkingTreeFormat4.
9454
* HTTP redirections are now taken into account when a branch (or a
9455
bundle) is accessed for the first time. A message is issued at each
9456
redirection to inform the user. In the past, http redirections were
9457
silently followed for each request which significantly degraded the
9458
performances. The http redirections are not followed anymore by
9459
default, instead a RedirectRequested exception is raised. For bzrlib
9460
users needing to follow http redirections anyway,
9461
``bzrlib.transport.do_catching_redirections`` provide an easy transition
9467
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
9468
lock to an OS write lock. Linux can do this without unlocking, Win32
9469
needs to unlock in between. (John Arbash Meinel)
9471
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
9472
to silence (when false) warnings about opening old formats.
9475
* Fix minor performance regression with bzr-0.15 on pre-dirstate
9476
trees. (We were reading the working inventory too many times).
9477
(John Arbash Meinel)
9479
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
9480
``revision_history``. Branch subclasses should override
9481
``_gen_revision_history`` rather than ``revision_history`` to make use of
9482
this cache, and call ``_clear_revision_history_cache`` and
9483
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
9488
* Take ``smtp_server`` from user config into account.
9491
* Restore Unicode filename handling for versioned and unversioned files.
9492
(John Arbash Meinel, #92608)
9494
* Don't fail during ``bzr commit`` if a file is marked removed, and
9495
the containing directory is auto-removed. (John Arbash Meinel, #93681)
9497
* ``bzr status FILENAME`` failed on Windows because of an uncommon
9498
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
9499
(Wouter van Heyst, John Arbash Meinel, #90819)
9501
* ``bzr checkout source`` should create a local branch in the same
9502
format as source. (John Arbash Meinel, #93854)
9504
* ``bzr commit`` with a kind change was failing to update the
9505
last-changed-revision for directories. The
9506
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
9507
ignoring the fact that the kind could have changed, too.
9508
(John Arbash Meinel, #90111)
9510
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
9511
the directory. So that there was a chance it would break commit,
9512
etc. (John Arbash Meinel, #94037)
9514
* Correctly handles mutiple permanent http redirections.
9520
:Released: 2007-03-14
9522
Notes When Upgrading
9523
********************
9525
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
9526
default to ``--trees`` instead of ``--no-trees``.
9527
Existing shared repositories are not affected.
9532
* New ``merge-directive`` command to generate machine- and human-readable
9533
merge requests. (Aaron Bentley)
9535
* New ``submit:`` revision specifier makes it easy to diff against the
9536
common ancestor with the submit location (Aaron Bentley)
9538
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
9540
* Added ``bzr status --versioned`` to report only versioned files,
9541
not unknowns. (Kent Gibson)
9543
* Merge now autodetects the correct line-ending style for its conflict
9544
markers. (Aaron Bentley)
9549
* Refactored SSH vendor registration into SSHVendorManager class.
9555
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
9556
numbered dirs for TestCaseInTempDir. This is default behavior
9557
on Windows. Anyone can force named dirs on Windows
9558
with ``--no-numbered-dirs``. (Alexander Belchenko)
9560
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
9561
from the command line. (Marien Zwart, #90501)
9563
* Fix ``TreeTransform._iter_changes`` when both the source and
9564
destination are missing. (Aaron Bentley, #88842)
9566
* Fix commit of merges with symlinks in dirstate trees.
9569
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
9570
(Wouter van Heyst, #53483)
9576
:Released: 2007-03-07
9581
* The default disk format has changed. Please run 'bzr upgrade' in your
9582
working trees to upgrade. This new default is compatible for network
9583
operations, but not for local operations. That is, if you have two
9584
versions of bzr installed locally, after upgrading you can only use the
9585
bzr 0.15 version. This new default does not enable tags or nested-trees
9586
as they are incompatible with bzr versions before 0.15 over the network.
9588
* For users of bzrlib: Two major changes have been made to the working tree
9589
api in bzrlib. The first is that many methods and attributes, including
9590
the inventory attribute, are no longer valid for use until one of
9591
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
9592
and become invalid again after unlock is called. This has been done
9593
to improve performance and correctness as part of the dirstate
9595
(Robert Collins, John A Meinel, Martin Pool, and others).
9597
* For users of bzrlib: The attribute 'tree.inventory' should be considered
9598
readonly. Previously it was possible to directly alter this attribute, or
9599
its contents, and have the tree notice this. This has been made
9600
unsupported - it may work in some tree formats, but in the newer dirstate
9601
format such actions will have no effect and will be ignored, or even
9602
cause assertions. All operations possible can still be carried out by a
9603
combination of the tree API, and the bzrlib.transform API. (Robert
9604
Collins, John A Meinel, Martin Pool, and others).
9609
* Support for OS Windows 98. Also .bzr.log on any windows system
9610
saved in My Documents folder. (Alexander Belchenko)
9612
* ``bzr mv`` enhanced to support already moved files.
9613
In the past the mv command would have failed if the source file doesn't
9614
exist. In this situation ``bzr mv`` would now detect that the file has
9615
already moved and update the repository accordingly, if the target file
9617
A new option ``--after`` has been added so that if two files already
9618
exist, you could notify Bazaar that you have moved a (versioned) file
9619
and replaced it with another. Thus in this case ``bzr move --after``
9620
will only update the Bazaar identifier.
9621
(Steffen Eichenberg, Marius Kruger)
9623
* ``ls`` now works on treeless branches and remote branches.
9626
* ``bzr help global-options`` describes the global options.
9629
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
9632
* Files are now allowed to change kind (e.g. from file to symlink).
9633
Supported by ``commit``, ``revert`` and ``status``
9636
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
9639
* ``bzr help checkouts`` descibes what checkouts are and some possible
9640
uses of them. (James Westby, Aaron Bentley)
9642
* A new ``-d`` option to push, pull and merge overrides the default
9643
directory. (Martin Pool)
9645
* Branch format 6: smaller, and potentially faster than format 5. Supports
9646
``append_history_only`` mode, where the log view and revnos do not change,
9647
except by being added to. Stores policy settings in
9648
".bzr/branch/branch.conf".
9650
* ``append_only`` branches: Format 6 branches may be configured so that log
9651
view and revnos are always consistent. Either create the branch using
9652
"bzr init --append-revisions-only" or edit the config file as descriped
9653
in docs/configuration.txt.
9655
* rebind: Format 6 branches retain the last-used bind location, so if you
9656
"bzr unbind", you can "bzr bind" to bind to the previously-selected
9659
* Builtin tags support, created and deleted by the ``tag`` command and
9660
stored in the branch. Tags can be accessed with the revisionspec
9661
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
9662
at present. Tags require a network incompatible upgrade. To perform this
9663
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
9664
repositories. (Martin Pool)
9666
* The ``bzr://`` transport now has a well-known port number, 4155,
9667
which it will use by default. (Andrew Bennetts, Martin Pool)
9669
* Bazaar now looks for user-installed plugins before looking for site-wide
9670
plugins. (Jonathan Lange)
9672
* ``bzr resolve`` now detects and marks resolved text conflicts.
9678
* Internally revision ids and file ids are now passed around as utf-8
9679
bytestrings, rather than treating them as Unicode strings. This has
9680
performance benefits for Knits, since we no longer need to decode the
9681
revision id for each line of content, nor for each entry in the index.
9682
This will also help with the future dirstate format.
9683
(John Arbash Meinel)
9685
* Reserved ids (any revision-id ending in a colon) are rejected by
9686
versionedfiles, repositories, branches, and working trees
9689
* Minor performance improvement by not creating a ProgressBar for
9690
every KnitIndex we create. (about 90ms for a bzr.dev tree)
9691
(John Arbash Meinel)
9693
* New easier to use Branch hooks facility. There are five initial hooks,
9694
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
9695
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
9696
``'post_uncommit'``. These hooks fire after the matching operation
9697
on a branch has taken place, and were originally added for the
9698
branchrss plugin. (Robert Collins)
9700
* New method ``Branch.push()`` which should be used when pushing from a
9701
branch as it makes performance and policy decisions to match the UI
9702
level command ``push``. (Robert Collins).
9704
* Add a new method ``Tree.revision_tree`` which allows access to cached
9705
trees for arbitrary revisions. This allows the in development dirstate
9706
tree format to provide access to the callers to cached copies of
9707
inventory data which are cheaper to access than inventories from the
9709
(Robert Collins, Martin Pool)
9711
* New ``Branch.last_revision_info`` method, this is being done to allow
9712
optimization of requests for both the number of revisions and the last
9713
revision of a branch with smartservers and potentially future branch
9714
formats. (Wouter van Heyst, Robert Collins)
9716
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
9717
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
9718
other for code reuse without requiring users to perform file-renaming
9719
gymnastics. (Robert Collins)
9721
* New Repository method ``'gather_stats'`` for statistic data collection.
9722
This is expected to grow to cover a number of related uses mainly
9723
related to bzr info. (Robert Collins)
9725
* Log formatters are now managed with a registry.
9726
``log.register_formatter`` continues to work, but callers accessing
9727
the FORMATTERS dictionary directly will not.
9729
* Allow a start message to be passed to the ``edit_commit_message``
9730
function. This will be placed in the message offered to the user
9731
for editing above the separator. It allows a template commit message
9732
to be used more easily. (James Westby)
9734
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
9735
you pass a Unicode string rather than an 8-bit string. Callers need
9736
to be updated to encode first. (John Arbash Meinel)
9738
* Branch.push, pull, merge now return Result objects with information
9739
about what happened, rather than a scattering of various methods. These
9740
are also passed to the post hooks. (Martin Pool)
9742
* File formats and architecture is in place for managing a forest of trees
9743
in bzr, and splitting up existing trees into smaller subtrees, and
9744
finally joining trees to make a larger tree. This is the first iteration
9745
of this support, and the user-facing aspects still require substantial
9746
work. If you wish to experiment with it, use ``bzr upgrade
9747
--dirstate-with-subtree`` in your working trees and repositories.
9748
You can use the hidden commands ``split`` and ``join`` and to create
9749
and manipulate nested trees, but please consider using the nested-trees
9750
branch, which contains substantial UI improvements, instead.
9751
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
9752
(Aaron Bentley, Martin Pool, Robert Collins).
9757
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
9758
branch, rather than the last changed revision of the file.
9759
(John Arbash Meinel, #82158)
9761
* Lock operations no longer hang if they encounter a permission problem.
9764
* ``bzr push`` can resume a push that was canceled before it finished.
9765
Also, it can push even if the target directory exists if you supply
9766
the ``--use-existing-dir`` flag.
9767
(John Arbash Meinel, #30576, #45504)
9769
* Fix http proxy authentication when user and an optional
9770
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
9773
* ``bzr log branch/file`` works for local treeless branches
9774
(Aaron Bentley, #84247)
9776
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
9778
* Searching location of CA bundle for PyCurl in env variable
9779
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
9780
(Alexander Belchenko, #82086)
9782
* ``bzr init`` works with unicode argument LOCATION.
9783
(Alexander Belchenko, #85599)
9785
* Raise ``DependencyNotPresent`` if pycurl do not support https.
9786
(Vincent Ladeuil, #85305)
9788
* Invalid proxy env variables should not cause a traceback.
9789
(Vincent Ladeuil, #87765)
9791
* Ignore patterns normalised to use '/' path separator.
9792
(Kent Gibson, #86451)
9794
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
9796
* Fix bzrtools shelve command for removed lines beginning with "--"
9797
(Johan Dahlberg, #75577)
9802
* New ``--first`` option to ``bzr selftest`` to run specified tests
9803
before the rest of the suite. (Martin Pool)
9809
:Released: 2007-01-23
9814
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
9819
* Skip documentation generation tests if the tools to do so are not
9820
available. Fixes running selftest for installled copies of bzr.
9821
(John Arbash Meinel, #80330)
9823
* Fix the code that discovers whether bzr is being run from it's
9824
working tree to handle the case when it isn't but the directory
9825
it is in is below a repository. (James Westby, #77306)
9831
:Released: 2007-01-16
9836
* New connection: ``bzr+http://`` which supports tunnelling the smart
9837
protocol over an HTTP connection. If writing is enabled on the bzr
9838
server, then you can write over the http connection.
9839
(Andrew Bennetts, John Arbash Meinel)
9841
* Aliases now support quotation marks, so they can contain whitespace
9844
* PyCurlTransport now use a single curl object. By specifying explicitly
9845
the 'Range' header, we avoid the need to use two different curl objects
9846
(and two connections to the same server). (Vincent Ladeuil)
9848
* ``bzr commit`` does not prompt for a message until it is very likely to
9849
succeed. (Aaron Bentley)
9851
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
9854
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
9855
of a list while checking if a revision id was requested. Takes 10s
9856
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
9857
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
9858
filtering lines with a regex rather than multiple ``str.find()``
9859
calls. (saves another 300ms) (John Arbash Meinel)
9861
* Policy can be set for each configuration key. This allows keys to be
9862
inherited properly across configuration entries. For example, this
9863
should enable you to do::
9865
[/home/user/project]
9866
push_location = sftp://host/srv/project/
9867
push_location:policy = appendpath
9869
And then a branch like ``/home/user/project/mybranch`` should get an
9870
automatic push location of ``sftp://host/srv/project/mybranch``.
9873
* Added ``bzr status --short`` to make status report svn style flags
9874
for each file. For example::
9876
$ bzr status --short
9882
* 'bzr selftest --clean-output' allows easily clean temporary tests
9883
directories without running tests. (Alexander Belchenko)
9885
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
9887
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
9888
local is fully merged into remote. (Jan Hudec)
9890
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
9895
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
9896
help speed up processing, as well allowing to extract unannotated
9897
lines. Between the two ``fileids_affected_by_revision_ids`` is
9898
improved by approx 10%. (John Arbash Meinel)
9900
* Change Revision serialization to only write out millisecond
9901
resolution. Rather than expecting floating point serialization to
9902
preserve more resolution than we need. (Henri Weichers, Martin Pool)
9904
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
9906
* When ``encoding_type`` attribute of class Command is equal to 'exact',
9907
force sys.stdout to be a binary stream on Windows, and therefore
9908
keep exact line-endings (without LF -> CRLF conversion).
9909
(Alexander Belchenko)
9911
* Single-letter short options are no longer globally declared. (Martin
9914
* Before using detected user/terminal encoding bzr should check
9915
that Python has corresponding codec. (Alexander Belchenko)
9917
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
9922
* ``bzr missing --verbose`` was showing adds/removals in the wrong
9923
direction. (John Arbash Meinel)
9925
* ``bzr annotate`` now defaults to showing dotted revnos for merged
9926
revisions. It cuts them off at a depth of 12 characters, but you can
9927
supply ``--long`` to see the full number. You can also use
9928
``--show-ids`` to display the original revision ids, rather than
9929
revision numbers and committer names. (John Arbash Meinel, #75637)
9931
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
9932
(Alexander Belchenko, #57869)
9934
* Win32-specific: output of cat, bundle and diff commands don't mangle
9935
line-endings (Alexander Belchenko, #55276)
9937
* Replace broken fnmatch based ignore pattern matching with custom pattern
9939
(Kent Gibson, Jan Hudec #57637)
9941
* pycurl and urllib can detect short reads at different places. Update
9942
the test suite to test more cases. Also detect http error code 416
9943
which was raised for that specific bug. Also enhance the urllib
9944
robustness by detecting invalid ranges (and pycurl's one by detecting
9945
short reads during the initial GET). (Vincent Ladeuil, #73948)
9947
* The urllib connection sharing interacts badly with urllib2
9948
proxy setting (the connections didn't go thru the proxy
9949
anymore). Defining a proper ProxyHandler solves the
9950
problem. (Vincent Ladeuil, #74759)
9952
* Use urlutils to generate relative URLs, not osutils
9953
(Aaron Bentley, #76229)
9955
* ``bzr status`` in a readonly directory should work without giving
9956
lots of errors. (John Arbash Meinel, #76299)
9958
* Mention the revisionspec topic for the revision option help.
9959
(Wouter van Heyst, #31663)
9961
* Allow plugins import from zip archives.
9962
(Alexander Belchenko, #68124)
9968
:Released: 2006-12-05
9970
No changes from 0.13rc
9976
:Released: 2006-11-27
9981
* New command ``bzr remove-tree`` allows the removal of the working
9983
(Daniel Silverstone)
9985
* urllib uses shared keep-alive connections, so http
9986
operations are substantially faster.
9987
(Vincent Ladeuil, #53654)
9989
* ``bzr export`` allows an optional branch parameter, to export a bzr
9990
tree from some other url. For example:
9991
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
9992
(Daniel Silverstone)
9994
* Added ``bzr help topics`` to the bzr help system. This gives a
9995
location for general information, outside of a specific command.
9996
This includes updates for ``bzr help revisionspec`` the first topic
9997
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
9999
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
10002
* Knit files will now cache full texts only when the size of the
10003
deltas is as large as the size of the fulltext. (Or after 200
10004
deltas, whichever comes first). This has the most benefit on large
10005
files with small changes, such as the inventory for a large project.
10006
(eg For a project with 2500 files, and 7500 revisions, it changes
10007
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
10012
* New -D option given before the command line turns on debugging output
10013
for particular areas. -Derror shows tracebacks on all errors.
10016
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
10017
and remove benchmarks that take longer than 10min to run.
10018
(John Arbash Meinel)
10020
* Use ``time.time()`` instead of ``time.clock()`` to decide on
10021
progress throttling. Because ``time.clock()`` is actually CPU time,
10022
so over a high-latency connection, too many updates get throttled.
10023
(John Arbash Meinel)
10025
* ``MemoryTransport.list_dir()`` would strip the first character for
10026
files or directories in root directory. (John Arbash Meinel)
10028
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
10029
branch references - which the smart server component needs.
10031
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
10032
prefix. It disallows any access to locations above a set URL. (Andrew
10038
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
10039
And optimize the knit index parsing code.
10040
(Dmitry Vasiliev, John Arbash Meinel)
10042
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
10043
without importing it. This prevented ``bzr upgrade`` from working
10044
unless a plugin already imported ``bzrlib.workingtree``
10045
(John Arbash Meinel, #70716)
10047
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
10049
* Give nicer error message when an http server returns a 403
10050
error code. (Vincent Ladeuil, #57644).
10052
* When a multi-range http GET request fails, try a single
10053
range one. If it fails too, forget about ranges. Remember that until
10054
the death of the transport and propagates that to the clones.
10055
(Vincent Ladeuil, #62276, #62029).
10057
* Handles user/passwords supplied in url from command
10058
line (for the urllib implementation). Don't request already
10059
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
10061
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
10062
are added. This fixes bug where fetching remote revisions records
10063
them as full references rather than integers.
10064
(John Arbash Meinel, #64789)
10066
* ``bzr ignore`` strips trailing slashes in patterns.
10067
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
10069
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
10071
* mv correctly handles paths that traverse symlinks.
10072
(Aaron Bentley, #66964)
10074
* Give nicer looking error messages when failing to connect over ssh.
10075
(John Arbash Meinel, #49172)
10077
* Pushing to a remote branch does not currently update the remote working
10078
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
10079
machine now show that the working tree is out of date.
10080
(Cheuksan Edward Wang #48136)
10082
* Use patiencediff instead of difflib for determining deltas to insert
10083
into knits. This avoids the O(N^3) behavior of difflib. Patience
10084
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
10086
* Running ``bzr log`` on nonexistent file gives an error instead of the
10087
entire log history. (Cheuksan Edward Wang #50793)
10089
* ``bzr cat`` can look up contents of removed or renamed files. If the
10090
pathname is ambiguous, i.e. the files in the old and new trees have
10091
different id's, the default is the file in the new tree. The user can
10092
use "--name-from-revision" to select the file in the old tree.
10093
(Cheuksan Edward Wang, #30190)
10098
* TestingHTTPRequestHandler really handles the Range header
10099
(previously it was ignoring it and returning the whole file,).
10104
:Released: 2006-10-30
10109
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
10110
and remove benchmarks that take longer than 10min to run.
10111
(John Arbash Meinel)
10116
:Released: 2006-10-23
10121
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
10122
rather than just showing a decimal revision number for revisions on the
10123
mainline. These revision numbers are not yet accepted as input into bzr
10124
commands such as log, diff etc. (Robert Collins)
10126
* revisions can now be specified using dotted-decimal revision numbers.
10127
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
10129
* ``bzr help commands`` output is now shorter (Aaron Bentley)
10131
* ``bzr`` now uses lazy importing to reduce the startup time. This has
10132
a moderate effect on lots of actions, especially ones that have
10133
little to do. For example ``bzr rocks`` time is down to 116ms from
10134
283ms. (John Arbash Meinel)
10136
* New Registry class to provide name-to-object registry-like support,
10137
for example for schemes where plugins can register new classes to
10138
do certain tasks (e.g. log formatters). Also provides lazy registration
10139
to allow modules to be loaded on request.
10140
(John Arbash Meinel, Adeodato Simó)
10142
API Incompatability
10143
*******************
10145
* LogFormatter subclasses show now expect the 'revno' parameter to
10146
show() to be a string rather than an int. (Robert Collins)
10151
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
10152
can take a ``working_dir='foo'`` parameter, which will change directory
10153
for the command. (John Arbash Meinel)
10155
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
10156
around a regex, which defers compilation until first use.
10157
(John Arbash Meinel)
10159
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
10160
``--no-plugins`` parameter to ensure test reproducability, and avoid
10161
problems with system-wide installed plugins. (John Arbash Meinel)
10163
* Unique tree root ids are now supported. Newly created trees still
10164
use the common root id for compatibility with bzr versions before 0.12.
10167
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
10168
pass in ``inventory.ROOT_ID`` if you want the default root id value.
10169
(Robert Collins, John Arbash Meinel)
10171
* New method ``WorkingTree.flush()`` which will write the current memory
10172
inventory out to disk. At the same time, ``read_working_inventory`` will
10173
no longer trash the current tree inventory if it has been modified within
10174
the current lock, and the tree will now ``flush()`` automatically on
10175
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
10176
advantage of this functionality. (Robert Collins, John Arbash Meinel)
10178
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
10179
parameter will cause it to add another column to its output, which
10180
contains the dotted-decimal revno for each revision, as a tuple.
10183
* ``LogFormatter.show_merge`` is deprecated in favour of
10184
``LogFormatter.show_merge_revno``. (Robert Collins)
10189
* Avoid circular imports by creating a deprecated function for
10190
``bzrlib.tree.RevisionTree``. Callers should have been using
10191
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
10194
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
10195
platforms. (Martin Pool, #66356)
10197
* Don't require ``Content-Type`` in range responses. Assume they are a
10198
single range if ``Content-Type`` does not exist.
10199
(John Arbash Meinel, #62473)
10201
* bzr branch/pull no longer complain about progress bar cleanup when
10202
interrupted during fetch. (Aaron Bentley, #54000)
10204
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
10205
the basis inventory, rather than going through the repository. This
10206
allows us to have 1 inventory read, and 2 inventory writes when
10207
committing a new tree. (John Arbash Meinel)
10209
* When reverting, files that are not locally modified that do not exist
10210
in the target are deleted, not just unversioned (Aaron Bentley)
10212
* When trying to acquire a lock, don't fail immediately. Instead, try
10213
a few times (up to 1 hour) before timing out. Also, report why the
10214
lock is unavailable (John Arbash Meinel, #43521, #49556)
10216
* Leave HttpTransportBase daughter classes decides how they
10217
implement cloning. (Vincent Ladeuil, #61606)
10219
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
10221
* If a commit fails, the commit message is stored in a file at the root of
10222
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
10228
* New test base class TestCaseWithMemoryTransport offers memory-only
10229
testing facilities: its not suitable for tests that need to mutate disk
10230
state, but most tests should not need that and should be converted to
10231
TestCaseWithMemoryTransport. (Robert Collins)
10233
* ``TestCase.make_branch_and_memory_tree`` now takes a format
10234
option to set the BzrDir, Repository and Branch formats of the
10235
created objects. (Robert Collins, John Arbash Meinel)
10240
:Released: 2006-10-02
10242
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
10247
:Released: 2006-09-27
10252
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
10254
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
10260
:Released: 2006-09-25
10265
* Knit files now wait to create their contents until the first data is
10266
added. The old code used to create an empty .knit and a .kndx with just
10267
the header. However, this caused a lot of extra round trips over sftp.
10268
This can change the time for ``bzr push`` to create a new remote branch
10269
from 160s down to 100s. This also affects ``bzr commit`` performance when
10270
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
10271
down to 40s (John Arbash Meinel, #44692)
10273
* When an entire subtree has been deleted, commit will now report that
10274
just the top of the subtree has been deleted, rather than reporting
10275
all the individual items. (Robert Collins)
10277
* Commit performs one less XML parse. (Robert Collins)
10279
* ``bzr checkout`` now operates on readonly branches as well
10280
as readwrite branches. This fixes bug #39542. (Robert Collins)
10282
* ``bzr bind`` no longer synchronises history with the master branch.
10283
Binding should be followed by an update or push to synchronise the
10284
two branches. This is closely related to the fix for bug #39542.
10287
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
10288
objects. This allows all imports to stay at the global scope, but
10289
modules will not actually be imported if they are not used.
10290
(John Arbash Meinel)
10292
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
10293
transport which will be used with the upcoming high-performance smart
10294
server. The new command ``bzr serve`` will invoke bzr in server mode,
10295
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
10298
* New command ``bzr version-info`` which can be used to get a summary
10299
of the current state of the tree. This is especially useful as part
10300
of a build commands. See ``doc/version_info.txt`` for more information
10301
(John Arbash Meinel)
10306
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
10307
specific set of files. (John Arbash Meinel, #3631)
10309
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
10311
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
10312
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
10313
reading a nested Stanza. (John Arbash Meinel)
10315
* Transform._set_mode() needs to stat the right file.
10316
(John Arbash Meinel, #56549)
10318
* Raise WeaveFormatError rather than StopIteration when trying to read
10319
an empty Weave file. (John Arbash Meinel, #46871)
10321
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
10322
(Vincent Ladeuil, #59835)
10324
* Handle boundary="" lines properly to allow access through a Squid proxy.
10325
(John Arbash Meinel, #57723)
10327
* revert now removes newly-added directories (Aaron Bentley, #54172)
10329
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
10330
isn't a working tree. (David Allouche, #40679)
10332
* Give nicer error messages when a user supplies an invalid --revision
10333
parameter. (John Arbash Meinel, #55420)
10335
* Handle when LANG is not recognized by python. Emit a warning, but
10336
just revert to using 'ascii'. (John Arbash Meinel, #35392)
10338
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
10339
(John Arbash Meinel)
10341
* Skip specific tests when the dependencies aren't met. This includes
10342
some ``setup.py`` tests when ``python-dev`` is not available, and
10343
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
10345
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
10346
the system. (Andrew Bennetts, John Arbash Meinel)
10348
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
10349
other branch, and will not push or pull between the two branches.
10350
API users will need to perform a push or pull or update operation if they
10351
require branch synchronisation to take place. (Robert Collins, #47344)
10353
* When creating a tarball or zipfile export, export unicode names as utf-8
10354
paths. This may not work perfectly on all platforms, but has the best
10355
chance of working in the common case. (John Arbash Meinel, #56816)
10357
* When committing, only files that exist in working tree or basis tree
10358
may be specified (Aaron Bentley, #50793)
10363
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
10368
* TestCaseInTempDir now creates a separate directory for HOME, rather
10369
than having HOME set to the same location as the working directory.
10370
(John Arbash Meinel)
10372
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
10373
which will update os.environ inside the spawned child. It also can
10374
take a ``universal_newlines=True``, which helps when checking the output
10375
of the command. (John Arbash Meinel)
10377
* Refactor SFTP vendors to allow easier re-use when ssh is used.
10380
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
10381
return urlescaped paths. This is now tested (there were bugs in a few
10382
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
10384
* New utility function ``symbol_versioning.deprecation_string``. Returns the
10385
formatted string for a callable, deprecation format pair. (Robert Collins)
10387
* New TestCase helper applyDeprecated. This allows you to call a callable
10388
which is deprecated without it spewing to the screen, just by supplying
10389
the deprecation format string issued for it. (Robert Collins)
10391
* Transport.append and Transport.put have been deprecated in favor of
10392
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
10393
``.put_file``. This removes the ambiguity in what type of object the
10394
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
10395
been added. Which works similarly to ``Transport.append()`` except for
10396
SFTP, it doesn't have a round trip when opening the file. Also, it
10397
provides functionality for creating a parent directory when trying
10398
to create a file, rather than raise NoSuchFile and forcing the
10399
caller to repeat their request.
10400
(John Arbash Meinel)
10402
* WorkingTree has a new api ``unversion`` which allow the unversioning of
10403
entries by their file id. (Robert Collins)
10405
* ``WorkingTree.pending_merges`` is deprecated. Please use the
10406
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
10408
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
10409
read rather than write. This is appropriate for actions which only need
10410
the branch data for reference rather than mutation. A new decorator
10411
``needs_tree_write_lock`` is provided in the workingtree module. Like the
10412
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
10413
declaration of the locking requirements of a function to ensure that
10414
a lock is taken out for casual scripts. (Robert Collins, #54107)
10416
* All WorkingTree methods which write to the tree, but not to the branch
10417
have been converted to use ``needs_tree_write_lock`` rather than
10418
``needs_write_lock``. Also converted is the revert, conflicts and tree
10419
transform modules. This provides a modest performance improvement on
10420
metadir style trees, due to the reduce lock-acquisition, and a more
10421
significant performance improvement on lightweight checkouts from
10422
remote branches, where trivial operations used to pay a significant
10423
penalty. It also provides the basis for allowing readonly checkouts.
10426
* Special case importing the standard library 'copy' module. This shaves
10427
off 40ms of startup time, while retaining compatibility. See:
10428
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
10430
* WorkingTree has a new parent class MutableTree which represents the
10431
specialisations of Tree which are able to be altered. (Robert Collins)
10433
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
10434
mutate the tree and its contents. (Robert Collins)
10436
* Transport behaviour at the root of the URL is now defined and tested.
10437
(Andrew Bennetts, Robert Collins)
10442
* New test helper classs MemoryTree. This is typically accessed via
10443
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
10445
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
10446
code to continue running concurrently with a subprocess of bzr.
10447
(Andrew Bennetts, Robert Collins)
10449
* Add a new method ``Transport.get_smart_client()``. This is provided to
10450
allow upgrades to a richer interface than the VFS one provided by
10451
Transport. (Andrew Bennetts, Martin Pool)
10456
:Released: 2006-08-29
10460
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
10461
tree. (Aaron Bentley)
10463
* 'bzr add --file-ids-from' can be used to specify another path to use
10464
for creating file ids, rather than generating all new ones. Internally,
10465
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
10466
will be used, rather than having bzrlib generate new ones.
10467
(John Arbash Meinel, #55781)
10469
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
10470
This will cache some of the intermediate trees, and decrease the
10471
setup time for benchmark tests. (John Arbash Meinel)
10473
* Inverse forms are provided for all boolean options. For example,
10474
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
10476
* Serialize out Inventories directly, rather than using ElementTree.
10477
Writing out a kernel sized inventory drops from 2s down to ~350ms.
10478
(Robert Collins, John Arbash Meinel)
10483
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
10485
* Change LockDir so that if the lock directory doesn't exist when
10486
``lock_write()`` is called, an attempt will be made to create it.
10487
(John Arbash Meinel, #56974)
10489
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
10491
* Active FTP transport now works as intended. (ghozzy, #56472)
10493
* Really fix mutter() so that it won't ever raise a UnicodeError.
10494
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
10495
But it is a debugging log, not a real user file.
10496
(John Arbash Meinel, #56947, #53880)
10498
* Change Command handle to allow Unicode command and options.
10499
At present we cannot register Unicode command names, so we will get
10500
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
10501
But that is better than a UnicodeError + a traceback.
10502
(John Arbash Meinel, #57123)
10504
* Handle TZ=UTC properly when reading/writing revisions.
10505
(John Arbash Meinel, #55783, #56290)
10507
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
10508
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
10510
* External diff does the right thing for binaries even in foreign
10511
languages. (John Arbash Meinel, #56307)
10513
* Testament handles more cases when content is unicode. Specific bug was
10514
in handling of revision properties.
10515
(John Arbash Meinel, Holger Krekel, #54723)
10517
* The bzr selftest was failing on installed versions due to a bug in a new
10518
test helper. (John Arbash Meinel, Robert Collins, #58057)
10523
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
10524
which can be used to cache the conversion between utf8 and Unicode.
10525
Especially helpful for some of the knit annotation code, which has to
10526
convert revision ids to utf8 to annotate lines in storage.
10527
(John Arbash Meinel)
10529
* ``setup.py`` now searches the filesystem to find all packages which
10530
need to be installed. This should help make the life of packagers
10531
easier. (John Arbash Meinel)
10536
:Released: 2006-08-11
10541
* The hard-coded built-in ignore rules have been removed. There are
10542
now two rulesets which are enforced. A user global one in
10543
``~/.bazaar/ignore`` which will apply to every tree, and the tree
10544
specific one '.bzrignore'.
10545
``~/.bazaar/ignore`` will be created if it does not exist, but with
10546
a more conservative list than the old default.
10547
This fixes bugs with default rules being enforced no matter what.
10548
The old list of ignore rules from bzr is available by
10549
running 'bzr ignore --old-default-rules'.
10550
(Robert Collins, Martin Pool, John Arbash Meinel)
10552
* 'branches.conf' has been changed to 'locations.conf', since it can apply
10553
to more locations than just branch locations.
10559
* The revision specifier "revno:" is extended to accept the syntax
10560
revno:N:branch. For example,
10561
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
10562
bzr.dev. (Matthieu Moy)
10564
* Tests updates to ensure proper URL handling, UNICODE support, and
10565
proper printing when the user's terminal encoding cannot display
10566
the path of a file that has been versioned.
10567
``bzr branch`` can take a target URL rather than only a local directory.
10568
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
10569
and normalize the parent based on root, allowing access across
10570
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
10571
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
10574
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
10575
Use terminal width for single-line logs from ``bzr log --line`` and
10576
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
10579
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
10580
(Alexander Belchenko)
10582
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
10584
* Show the correct number of revisions pushed when pushing a new branch.
10587
* 'bzr selftest' now shows a progress bar with the number of tests, and
10588
progress made. 'make check' shows tests in -v mode, to be more useful
10589
for the PQM status window. (Robert Collins).
10590
When using a progress bar, failed tests are printed out, rather than
10591
being overwritten by the progress bar until the suite finishes.
10592
(John Arbash Meinel)
10594
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
10595
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
10596
profile data for the individual profiled calls, allowing for fine
10597
grained analysis of performance.
10598
(Robert Collins, Martin Pool).
10600
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
10601
where commit can take an appreciable time. (Robert Collins)
10603
* 'bzr add' is now less verbose in telling you what ignore globs were
10604
matched by files being ignored. Instead it just tells you how many
10605
were ignored (because you might reasonably be expecting none to be
10606
ignored). 'bzr add -v' is unchanged and will report every ignored
10607
file. (Robert Collins).
10609
* ftp now has a test server if medusa is installed. As part of testing,
10610
ftp support has been improved, including support for supplying a
10611
non-standard port. (John Arbash Meinel).
10613
* 'bzr log --line' shows the revision number, and uses only the
10614
first line of the log message (#5162, Alexander Belchenko;
10617
* 'bzr status' has had the --all option removed. The 'bzr ls' command
10618
should be used to retrieve all versioned files. (Robert Collins)
10620
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
10621
over email, and applied on the other end, while maintaining ancestry.
10622
This bundle can be applied with either 'bzr merge' or 'bzr pull',
10623
the same way you would apply another branch.
10624
(John Arbash Meinel, Aaron Bentley)
10626
* 'bzr whoami' can now be used to set your identity from the command line,
10627
for a branch or globally. (Robey Pointer)
10629
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
10632
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
10635
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
10636
Also updates things like 'http+pycurl://' if pycurl is not present.
10637
(John Arbash Meinel) (Malone #47821, #52204)
10639
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
10640
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
10641
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
10643
* Improve the help text for 'bzr diff' to explain what various options do.
10644
(John Arbash Meinel, #6391)
10646
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
10647
revision 10. This makes -r10 more in line with what other commands do.
10648
'bzr uncommit' also now saves the pending merges of the revisions that
10649
were removed. So it is safe to uncommit after a merge, fix something,
10650
and commit again. (John Arbash Meinel, #32526, #31426)
10652
* 'bzr init' now also works on remote locations.
10653
(Wouter van Heyst, #48904)
10655
* HTTP support has been updated. When using pycurl we now support
10656
connection keep-alive, which reduces dns requests and round trips.
10657
And for both urllib and pycurl we support multi-range requests,
10658
which decreases the number of round-trips. Performance results for
10659
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
10660
http branching is now 2-3x faster, and ``bzr pull`` in an existing
10661
branch is as much as 4x faster.
10662
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
10664
* Performance improvements for sftp. Branching and pulling are now up to
10665
2x faster. Utilize paramiko.readv() support for async requests if it
10666
is available (paramiko > 1.6) (John Arbash Meinel)
10671
* Fix shadowed definition of TestLocationConfig that caused some
10673
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
10675
* Fix unnecessary requirement of sign-my-commits that it be run from
10676
a working directory. (Martin Pool, Robert Collins)
10678
* 'bzr push location' will only remember the push location if it succeeds
10679
in connecting to the remote location. (John Arbash Meinel, #49742)
10681
* 'bzr revert' no longer toggles the executable bit on win32
10682
(John Arbash Meinel, #45010)
10684
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
10686
* sftp tests now work correctly on win32 if you have a newer paramiko
10687
(John Arbash Meinel)
10689
* Cleanup win32 test suite, and general cleanup of places where
10690
file handles were being held open. (John Arbash Meinel)
10692
* When specifying filenames for 'diff -r x..y', the name of the file in the
10693
working directory can be used, even if its name is different in both x
10696
* File-ids containing single- or double-quotes are handled correctly by
10697
push. (Aaron Bentley, #52227)
10699
* Normalize unicode filenames to ensure cross-platform consistency.
10700
(John Arbash Meinel, #43689)
10702
* The argument parser can now handle '-' as an argument. Currently
10703
no code interprets it specially (it is mostly handled as a file named
10704
'-'). But plugins, and future operations can use it.
10705
(John Arbash meinel, #50984)
10707
* Bundles can properly read binary files with a plain '\r' in them.
10708
(John Arbash Meinel, #51927)
10710
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
10712
* Lots of win32 fixes (the test suite passes again).
10713
(John Arbash Meinel, #50155)
10715
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
10717
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
10719
* Removals are only committed if they match the filespec (or if there is
10720
no filespec). (#46635, Aaron Bentley)
10722
* smart-add recurses through all supplied directories
10723
(John Arbash Meinel, #52578)
10725
* Make the bundle reader extra lines before and after the bundle text.
10726
This allows you to parse an email with the bundle inline.
10727
(John Arbash Meinel, #49182)
10729
* Change the file id generator to squash a little bit more. Helps when
10730
working with long filenames on windows. (Also helps for unicode filenames
10731
not generating hidden files). (John Arbash Meinel, #43801)
10733
* Restore terminal mode on C-c while reading sftp password. (#48923,
10734
Nicholas Allen, Martin Pool)
10736
* Timestamps are rounded to 1ms, and revision entries can be recreated
10737
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
10739
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
10740
use local paths, since it is user visible (John Arbash Meinel, #53653)
10742
* ``bzr status foo`` when foo was unversioned used to cause a full delta
10743
to be generated (John Arbash Meinel, #53638)
10745
* When reading revision properties, an empty value should be considered
10746
the empty string, not None (John Arbash Meinel, #47782)
10748
* ``bzr diff --diff-options`` can now handle binary files being changed.
10749
Also, the output is consistent when --diff-options is not supplied.
10750
(John Arbash Meinel, #54651, #52930)
10752
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
10754
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
10755
accessible (John Arbash Meinel, #52976)
10760
* Combine the ignore rules into a single regex rather than looping over
10761
them to reduce the threshold where N^2 behaviour occurs in operations
10762
like status. (Jan Hudec, Robert Collins).
10764
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
10765
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
10767
* 'bzr push' should only push the ancestry of the current revision, not
10768
all of the history in the repository. This is especially important for
10769
shared repositories. (John Arbash Meinel)
10771
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
10772
rather than randomly walking the inventories. (John Arbash Meinel)
10774
* Doctests are now run in temporary directories which are cleaned up when
10775
they finish, rather than using special ScratchDir/ScratchBranch objects.
10778
* Split ``check`` into separate methods on the branch and on the repository,
10779
so that it can be specialized in ways that are useful or efficient for
10780
different formats. (Martin Pool, Robert Collins)
10782
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
10783
the global revision graph but only that part leading up to a particular
10784
revision. (Martin Pool, Robert Collins)
10786
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
10787
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
10788
(Robert Collins, Jelmer Vernooij).
10790
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
10791
Uses subprocess instead of spawnvp.
10792
(James Henstridge, John Arbash Meinel, #4047, #48914)
10794
* New command line option '--profile-imports', which will install a custom
10795
importer to log time to import modules and regex compilation time to
10796
sys.stderr (John Arbash Meinel)
10798
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
10799
instead. (Robert Collins)
10801
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
10806
:Released: 2006-05-17
10811
* setup.py failed to install launchpad plugin. (Martin Pool)
10816
:Released: 2006-05-16
10821
* Fix failure to commit a merge in a checkout. (Martin Pool,
10822
Robert Collins, Erik Bågfors, #43959)
10824
* Nicer messages from 'commit' in the case of renames, and correct
10825
messages when a merge has occured. (Robert Collins, Martin Pool)
10827
* Separate functionality from assert statements as they are skipped in
10828
optimized mode of python. Add the same check to pending merges.
10829
(Olaf Conradi, #44443)
10834
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
10836
* Add info on standalone branches without a working tree.
10837
(Olaf Conradi, #44155)
10839
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
10844
* Make editor invocation comply with Debian Policy. First check
10845
environment variables VISUAL and EDITOR, then try editor from
10846
alternatives system. If that all fails, fall back to the pre-defined
10847
list of editors. (Olaf Conradi, #42904)
10852
* New 'register-branch' command registers a public branch into
10853
Launchpad.net, where it can be associated with bugs, etc.
10854
(Martin Pool, Bjorn Tillenius, Robert Collins)
10859
* New public api in InventoryEntry - ``describe_change(old, new)`` which
10860
provides a human description of the changes between two old and
10861
new. (Robert Collins, Martin Pool)
10866
* Fix test case for bzr info in upgrading a standalone branch to metadir,
10867
uses bzrlib api now. (Olaf Conradi)
10872
:Released: 2006-05-08
10874
Notes When Upgrading
10875
********************
10877
Release 0.8 of bzr introduces a new format for history storage, called
10878
'knit', as an evolution of to the 'weave' format used in 0.7. Local
10879
and remote operations are faster using knits than weaves. Several
10880
operations including 'init', 'init-repo', and 'upgrade' take a
10881
--format option that controls this. Branching from an existing branch
10882
will keep the same format.
10884
It is possible to merge, pull and push between branches of different
10885
formats but this is slower than moving data between homogenous
10886
branches. It is therefore recommended (but not required) that you
10887
upgrade all branches for a project at the same time. Information on
10888
formats is shown by 'bzr info'.
10890
bzr 0.8 now allows creation of 'repositories', which hold the history
10891
of files and revisions for several branches. Previously bzr kept all
10892
the history for a branch within the .bzr directory at the root of the
10893
branch, and this is still the default. To create a repository, use
10894
the new 'bzr init-repo' command. Branches exist as directories under
10895
the repository and contain just a small amount of information
10896
indicating the current revision of the branch.
10898
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
10899
subversion. Checkouts are associated with a branch (optionally in a
10900
repository), which contains all the historical information. The
10901
result is that a checkout can be deleted without losing any
10902
already-committed revisions. A new 'update' command is also available.
10904
Repositories and checkouts are not supported with the 0.7 storage
10905
format. To use them you must upgrad to either knits, or to the
10906
'metaweave' format, which uses weaves but changes the .bzr directory
10913
* sftp paths can now be relative, or local, according to the lftp
10914
convention. Paths now take the form::
10916
sftp://user:pass@host:port/~/relative/path
10918
sftp://user:pass@host:port/absolute/path
10920
* The FTP transport now tries to reconnect after a temporary
10921
failure. ftp put is made atomic. (Matthieu Moy)
10923
* The FTP transport now maintains a pool of connections, and
10924
reuses them to avoid multiple connections to the same host (like
10925
sftp did). (Daniel Silverstone)
10927
* The ``bzr_man.py`` file has been removed. To create the man page now,
10928
use ``./generate_docs.py man``. The new program can also create other files.
10929
Run ``python generate_docs.py --help`` for usage information.
10930
(Hans Ulrich Niedermann & James Blackwell).
10932
* Man Page now gives full help (James Blackwell).
10933
Help also updated to reflect user config now being stored in .bazaar
10934
(Hans Ulrich Niedermann)
10936
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
10938
* Pull now accepts a --revision argument (Erik Bågfors)
10940
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
10941
line. You can now use the following command to sign all of your old
10944
find .bzr/revision-store// -name my@email-* \
10945
| sed 's/.*\/\/..\///' \
10946
| xargs bzr re-sign
10948
* Upgrade can now upgrade over the network. (Robert Collins)
10950
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
10951
behaviour. By default they will cache history in the checkout, but
10952
with --lightweight almost all data is kept in the master branch.
10955
* 'revert' unversions newly-versioned files, instead of deleting them.
10957
* 'merge' is more robust. Conflict messages have changed.
10959
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
10962
* Default log format can be set in configuration and plugins can register
10963
their own formatters. (Erik Bågfors)
10965
* New 'reconcile' command will check branch consistency and repair indexes
10966
that can become out of sync in pre 0.8 formats. (Robert Collins,
10967
Daniel Silverstone)
10969
* New 'bzr init --format' and 'bzr upgrade --format' option to control
10970
what storage format is created or produced. (Robert Collins,
10973
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
10975
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
10977
* New 'init-repository' command, plus support for repositories in 'init'
10978
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
10980
* Improve output of 'info' command. Show all relevant locations related to
10981
working tree, branch and repository. Use kibibytes for binary quantities.
10982
Fix off-by-one error in missing revisions of working tree. Make 'info'
10983
work on branches, repositories and remote locations. Show locations
10984
relative to the shared repository, if applicable. Show locking status
10985
of locations. (Olaf Conradi)
10987
* Diff and merge now safely handle binary files. (Aaron Bentley)
10989
* 'pull' and 'push' now normalise the revision history, so that any two
10990
branches with the same tip revision will have the same output from 'log'.
10993
* 'merge' accepts --remember option to store parent location, like 'push'
10994
and 'pull'. (Olaf Conradi)
10996
* bzr status and diff when files given as arguments do not exist
10997
in the relevant trees. (Martin Pool, #3619)
10999
* Add '.hg' to the default ignore list. (Martin Pool)
11001
* 'knit' is now the default disk format. This improves disk performance and
11002
utilization, increases incremental pull performance, robustness with SFTP
11003
and allows checkouts over SFTP to perform acceptably.
11004
The initial Knit code was contributed by Johan Rydberg based on a
11005
specification by Martin Pool.
11006
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
11008
* New tool to generate all-in-one html version of the manual. (Alexander
11011
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
11012
to be left in the SFTP repository. (Robert Collins, Martin Pool).
11014
* New option 'diff --prefix' to control how files are named in diff
11015
output, with shortcuts '-p0' and '-p1' corresponding to the options for
11016
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
11018
* Add --revision option to 'annotate' command. (Olaf Conradi)
11020
* If bzr shows an unexpected revision-history after pulling (perhaps due
11021
to a reweave) it can now be corrected by 'bzr reconcile'.
11027
* Commit is now verbose by default, and shows changed filenames and the
11028
new revision number. (Robert Collins, Martin Pool)
11030
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
11032
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
11034
* Make 'pull' and 'push' remember location on failure using --remember.
11037
* For compatibility, make old format for using weaves inside metadir
11038
available as 'metaweave' format. Rename format 'metadir' to 'default'.
11039
Clean up help for option --format in commands 'init', 'init-repo' and
11040
'upgrade'. (Olaf Conradi)
11045
* The internal storage of history, and logical branch identity have now
11046
been split into Branch, and Repository. The common locking and file
11047
management routines are now in bzrlib.lockablefiles.
11048
(Aaron Bentley, Robert Collins, Martin Pool)
11050
* Transports can now raise DependencyNotPresent if they need a library
11051
which is not installed, and then another implementation will be
11052
tried. (Martin Pool)
11054
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
11057
* Using Tree Transform for merge, revert, tree-building
11059
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
11060
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
11061
replacement API's. (Robert Collins)
11063
* New BzrDir class represents the .bzr control directory and manages
11064
formatting issues. (Robert Collins)
11066
* New repository.InterRepository class encapsulates Repository to
11067
Repository actions and allows for clean selection of optimised code
11068
paths. (Robert Collins)
11070
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
11071
deprecated, please use ``branch.fetch`` or ``repository.fetch``
11072
depending on your needs. (Robert Collins)
11074
* deprecated methods now have a ``is_deprecated`` flag on them that can
11075
be checked, if you need to determine whether a given callable is
11076
deprecated at runtime. (Robert Collins)
11078
* Progress bars are now nested - see
11079
``bzrlib.ui.ui_factory.nested_progress_bar``.
11080
(Robert Collins, Robey Pointer)
11082
* New API call ``get_format_description()`` for each type of format.
11085
* Changed ``branch.set_parent()`` to accept None to remove parent.
11088
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
11090
* WorkingTree.branch is now a read only property. (Robert Collins)
11092
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
11093
can be None or a factory that will create a progress bar. This is
11094
useful for testing or for overriding the bzrlib.progress heuristic.
11097
* New API method ``get_physical_lock_status()`` to query locks present on a
11098
transport. (Olaf Conradi)
11100
* Repository.reconcile now takes a thorough keyword parameter to allow
11101
requesting an indepth reconciliation, rather than just a data-loss
11102
check. (Robert Collins)
11104
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
11105
the user for yes/no style input. (Robert Collins)
11110
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
11111
for testing SFTP protocol support. (Robey Pointer)
11113
* Branch formats are now tested once per implementation (see ``bzrlib.
11114
tests.branch_implementations``. This is analagous to the transport
11115
interface tests, and has been followed up with working tree,
11116
repository and BzrDir tests. (Robert Collins)
11118
* New test base class TestCaseWithTransport provides a transport aware
11119
test environment, useful for testing any transport-interface using
11120
code. The test suite option --transport controls the transport used
11121
by this class (when its not being used as part of implementation
11122
contract testing). (Robert Collins)
11124
* Close logging handler on disabling the test log. This will remove the
11125
handler from the internal list inside python's logging module,
11126
preventing shutdown from closing it twice. (Olaf Conradi)
11128
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
11130
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
11131
parameter which will provide String("foo") to the command as its stdin.
11136
:Released: 2006-01-09
11141
* .bzrignore is excluded from exports, on the grounds that it's a bzr
11142
internal-use file and may not be wanted. (Jamie Wilkinson)
11144
* The "bzr directories" command were removed in favor of the new
11145
--kind option to the "bzr inventory" command. To list all
11146
versioned directories, now use "bzr inventory --kind directory".
11149
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
11150
by default. (John Arbash Meinel)
11152
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
11153
environment variable. Now the path for it is searched in ``BZR_HOME``,
11154
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
11155
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
11156
``HOME``. (John Arbash Meinel)
11158
* Plugins with the same name in different directories in the bzr plugin
11159
path are no longer loaded: only the first successfully loaded one is
11160
used. (Robert Collins)
11162
* Use systems' external ssh command to open connections if possible.
11163
This gives better integration with user settings such as ProxyCommand.
11166
* Permissions on files underneath .bzr/ are inherited from the .bzr
11167
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
11168
will mean that future file will be created with group write permissions.
11170
* configure.in and config.guess are no longer in the builtin default
11173
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
11174
files. (John Arbash Meinel, Martin Pool)
11179
* "bzr INIT dir" now initializes the specified directory, and creates
11180
it if it does not exist. (John Arbash Meinel)
11182
* New remerge command (Aaron Bentley)
11184
* Better zsh completion script. (Steve Borho)
11186
* 'bzr diff' now returns 1 when there are changes in the working
11187
tree. (Robert Collins)
11189
* 'bzr push' now exists and can push changes to a remote location.
11190
This uses the transport infrastructure, and can store the remote
11191
location in the ~/.bazaar/branches.conf configuration file.
11194
* Test directories are only kept if the test fails and the user requests
11197
* Tweaks to short log printing
11199
* Added branch nicks, new nick command, printing them in log output.
11202
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
11203
occurs. (Martin Pool)
11205
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
11206
the same as Subversion. (Martin Pool)
11208
* New ftp transport support (on ftplib), for ftp:// and aftp://
11209
URLs. (Daniel Silverstone)
11211
* Commit editor temporary files now start with ``bzr_log.``, to allow
11212
text editors to match the file name and set up appropriate modes or
11213
settings. (Magnus Therning)
11215
* Improved performance when integrating changes from a remote weave.
11216
(Goffredo Baroncelli)
11218
* Sftp will attempt to cache the connection, so it is more likely that
11219
a connection will be reused, rather than requiring multiple password
11222
* bzr revno now takes an optional argument indicating the branch whose
11223
revno should be printed. (Michael Ellerman)
11225
* bzr cat defaults to printing the last version of the file.
11226
(Matthieu Moy, #3632)
11228
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
11229
profiler. (Denys Duchier)
11231
* Faster commits by reading only the headers of affected weave files.
11234
* 'bzr add' now takes a --dry-run parameter which shows you what would be
11235
added, but doesn't actually add anything. (Michael Ellerman)
11237
* 'bzr add' now lists how many files were ignored per glob. add --verbose
11238
lists the specific files. (Aaron Bentley)
11240
* 'bzr missing' now supports displaying changes in diverged trees and can
11241
be limited to show what either end of the comparison is missing.
11242
(Aaron Bently, with a little prompting from Daniel Silverstone)
11247
* SFTP can walk up to the root path without index errors. (Robert Collins)
11249
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
11251
* Error when run with -OO
11253
* Fix bug in reporting http errors that don't have an http error code.
11256
* Handle more cases of pipe errors in display commands
11258
* Change status to 3 for all errors
11260
* Files that are added and unlinked before committing are completely
11261
ignored by diff and status
11263
* Stores with some compressed texts and some uncompressed texts are now
11264
able to be used. (John A Meinel)
11266
* Fix for bzr pull failing sometimes under windows
11268
* Fix for sftp transport under windows when using interactive auth
11270
* Show files which are both renamed and modified as such in 'bzr
11271
status' output. (Daniel Silverstone, #4503)
11273
* Make annotate cope better with revisions committed without a valid
11274
email address. (Marien Zwart)
11276
* Fix representation of tab characters in commit messages.
11279
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
11280
now parsed properly under Windows. (Alexander Belchenko)
11282
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
11284
* Keep a cached copy of the basis inventory to speed up operations
11285
that need to refer to it. (Johan Rydberg, Martin Pool)
11287
* Fix bugs in bzr status display of non-ascii characters.
11290
* Remove Makefile.in from default ignore list.
11291
(Tollef Fog Heen, Martin Pool, #6413)
11293
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
11298
* Fix selftest asking for passwords when there are no SFTP keys.
11299
(Robey Pointer, Jelmer Vernooij)
11301
* Fix selftest run with 'python -O'. (Martin Pool)
11303
* Fix HTTP tests under Windows. (John Arbash Meinel)
11305
* Make tests work even if HOME is not set (Aaron Bentley)
11307
* Updated ``build_tree`` to use fixed line-endings for tests which read
11308
the file cotents and compare. Make some tests use this to pass under
11309
Windows. (John Arbash Meinel)
11311
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
11313
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
11314
(John Arbash Meinel)
11316
* Use terminal width to align verbose test output. (Martin Pool)
11318
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
11319
If adding a new test script please add that to
11320
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
11322
* Much better error message if one of the test suites can't be
11323
imported. (Martin Pool)
11325
* Make check now runs the test suite twice - once with the default locale,
11326
and once with all locales forced to C, to expose bugs. This is not
11327
trivially done within python, so for now its only triggered by running
11328
Make check. Integrators and packagers who wish to check for full
11329
platform support should run 'make check' to test the source.
11332
* Tests can now run TestSkipped if they can't execute for any reason.
11333
(Martin Pool) (NB: TestSkipped should only be raised for correctable
11334
reasons - see the wiki spec ImprovingBzrTestSuite).
11336
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
11337
paths for the transport tests. Introduce blackbox remote sftp tests that
11338
test the same permutations. (Robert Collins, Robey Pointer)
11340
* Transport implementation tests are now independent of the local file
11341
system, which allows tests for esoteric transports, and for features
11342
not available in the local file system. They also repeat for variations
11343
on the URL scheme that can introduce issues in the transport code,
11344
see bzrlib.transport.TransportTestProviderAdapter() for this.
11347
* ``TestCase.build_tree`` uses the transport interface to build trees,
11348
pass in a transport parameter to give it an existing connection.
11354
* WorkingTree.pull has been split across Branch and WorkingTree,
11355
to allow Branch only pulls. (Robert Collins)
11357
* ``commands.display_command`` now returns the result of the decorated
11358
function. (Robert Collins)
11360
* LocationConfig now has a ``set_user_option(key, value)`` call to save
11361
a setting in its matching location section (a new one is created
11362
if needed). (Robert Collins)
11364
* Branch has two new methods, ``get_push_location`` and
11365
``set_push_location`` to respectively, get and set the push location.
11368
* ``commands.register_command`` now takes an optional flag to signal that
11369
the registrant is planning to decorate an existing command. When
11370
given multiple plugins registering a command is not an error, and
11371
the original command class (whether built in or a plugin based one) is
11372
returned to the caller. There is a new error 'MustUseDecorated' for
11373
signalling when a wrapping command should switch to the original
11374
version. (Robert Collins)
11376
* Some option parsing errors will raise 'BzrOptionError', allowing
11377
granular detection for decorating commands. (Robert Collins).
11379
* ``Branch.read_working_inventory`` has moved to
11380
``WorkingTree.read_working_inventory``. This necessitated changes to
11381
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
11382
WorkingTree as well. To make it clear that a WorkingTree cannot always
11383
be obtained ``Branch.working_tree()`` will raise
11384
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
11386
* All pending merges operations from Branch are now on WorkingTree.
11389
* The follow operations from Branch have moved to WorkingTree::
11399
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
11401
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
11403
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
11406
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
11407
query method. (Robert Collins)
11409
* New options to read only the table-of-contents of a weave.
11412
* Raise NoSuchFile when someone tries to add a non-existant file.
11415
* Simplify handling of DivergedBranches in ``cmd_pull()``.
11418
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
11419
is exposed as ``Branch().control_files``. Also this has been altered with the
11420
controlfile pre/suffix replaced by simple method names like 'get' and
11421
'put'. (Aaron Bentley, Robert Collins).
11423
* Deprecated functions and methods can now be marked as such using the
11424
``bzrlib.symbol_versioning`` module. Marked method have their docstring
11425
updated and will issue a DeprecationWarning using the warnings module
11426
when they are used. (Robert Collins)
11428
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
11429
for functions that need unicode strings. (Robert Collins)
11434
:Released: 2005-10-28
11439
* pull now takes --verbose to show you what revisions are added or removed
11442
* merge now takes a --show-base option to include the base text in
11446
* The config files are now read using ConfigObj, so '=' should be used as
11447
a separator, not ':'.
11450
* New 'bzr commit --strict' option refuses to commit if there are
11451
any unknown files in the tree. To commit, make sure all files are
11452
either ignored, added, or deleted. (Michael Ellerman)
11454
* The config directory is now ~/.bazaar, and there is a single file
11455
~/.bazaar/bazaar.conf storing email, editor and other preferences.
11458
* 'bzr add' no longer takes a --verbose option, and a --quiet option
11459
has been added that suppresses all output.
11461
* Improved zsh completion support in contrib/zsh, from Clint
11464
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
11465
Goffredo Baroncelli.
11467
* 'bzr check' now accepts -v for verbose reporting, and checks for
11468
ghosts in the branch. (Robert Collins)
11470
* New command 're-sign' which will regenerate the gpg signature for
11471
a revision. (Robert Collins)
11473
* If you set ``check_signatures=require`` for a path in
11474
``~/.bazaar/branches.conf`` then bzr will invoke your
11475
``gpg_signing_command`` (defaults to gpg) and record a digital signature
11476
of your commit. (Robert Collins)
11478
* New sftp transport, based on Paramiko. (Robey Pointer)
11480
* 'bzr pull' now accepts '--clobber' which will discard local changes
11481
and make this branch identical to the source branch. (Robert Collins)
11483
* Just give a quieter warning if a plugin can't be loaded, and
11484
put the details in .bzr.log. (Martin Pool)
11486
* 'bzr branch' will now set the branch-name to the last component of the
11487
output directory, if one was supplied.
11489
* If the option ``post_commit`` is set to one (or more) python function
11490
names (must be in the bzrlib namespace), then they will be invoked
11491
after the commit has completed, with the branch and ``revision_id`` as
11492
parameters. (Robert Collins)
11494
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
11496
* --merge-type weave is now supported for file contents. Tree-shape
11497
changes are still three-way based. (Martin Pool, Aaron Bentley)
11499
* 'bzr check' allows the first revision on revision-history to have
11500
parents - something that is expected for cheap checkouts, and occurs
11501
when conversions from baz do not have all history. (Robert Collins).
11503
* 'bzr merge' can now graft unrelated trees together, if your specify
11504
0 as a base. (Aaron Bentley)
11506
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
11509
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
11511
* 'bzr merge --reprocess' minimizes conflicts
11516
* The 'bzr selftest --pattern' option for has been removed, now
11517
test specifiers on the command line can be simple strings, or
11518
regexps, or both. (Robert Collins)
11520
* Passing -v to selftest will now show the time each test took to
11521
complete, which will aid in analysing performance regressions and
11522
related questions. (Robert Collins)
11524
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
11525
is given. (Martin Pool)
11527
* There is a new method for TestCaseInTempDir, assertFileEqual, which
11528
will check that a given content is equal to the content of the named
11529
file. (Robert Collins)
11531
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
11537
* New 'testament' command and concept for making gpg-signatures
11538
of revisions that are not tied to a particular internal
11539
representation. (Martin Pool).
11541
* Per-revision properties ('revprops') as key-value associated
11542
strings on each revision created when the revision is committed.
11543
Intended mainly for the use of external tools. (Martin Pool).
11545
* Config options have moved from bzrlib.osutils to bzrlib.config.
11548
* Improved command line option definitions allowing explanations
11549
for individual options, among other things. Contributed by
11552
* Config options have moved from bzrlib.osutils to bzrlib.config.
11553
Configuration is now done via the config.Config interface:
11554
Depending on whether you have a Branch, a Location or no information
11555
available, construct a ``*Config``, and use its ``signature_checking``,
11556
``username`` and ``user_email`` methods. (Robert Collins)
11558
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
11559
they are made available for other plugins to use. You should not
11560
import other plugins during the ``__init__`` of your plugin though, as
11561
no ordering is guaranteed, and the plugins directory is not on the
11562
python path. (Robert Collins)
11564
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
11565
no longer takes an inventory, rather it takes an option branch
11566
parameter, and if None is given will open the branch at basedir
11567
implicitly. (Robert Collins)
11569
* Cleaner exception structure and error reporting. Suggested by
11570
Scott James Remnant. (Martin Pool)
11572
* Branch.remove has been moved to WorkingTree, which has also gained
11573
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
11576
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
11577
added to the branch module. Use these to cause a function to run in a
11578
read or write lock respectively. (Robert Collins)
11580
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
11581
which allows direct access to the common case of 'get me this file
11582
from its branch'. (Robert Collins)
11584
* Transports can register using ``register_lazy_transport``, and they
11585
will be loaded when first used. (Martin Pool)
11587
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
11588
A new option to WorkingTree.pull has been added, clobber, which will
11589
ignore diverged history and pull anyway.
11592
* config.Config has a ``get_user_option`` call that accepts an option name.
11593
This will be looked up in branches.conf and bazaar.conf as normal.
11594
It is intended that this be used by plugins to support options -
11595
options of built in programs should have specific methods on the config.
11598
* ``merge.merge_inner`` now has tempdir as an optional parameter.
11601
* Tree.kind is not recorded at the top level of the hierarchy, as it was
11602
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
11605
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
11606
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
11607
about future directions. (Robert Collins/Martin Pool)
11609
* bzrlib.transport.http has been modified so that only 404 urllib errors
11610
are returned as NoSuchFile. Other exceptions will propagate as normal.
11611
This allows debuging of actual errors. (Robert Collins)
11613
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
11614
to apis like 'put', 'get' and 'has'. This is to provide consistent
11615
behaviour - it operates on url's only. (Robert Collins)
11617
* Transports can register using ``register_lazy_transport``, and they
11618
will be loaded when first used. (Martin Pool)
11620
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
11621
is called by ``merge_inner``. This is so that the conflict count can be
11622
retrieved (and potentially manipulated) before returning to the caller
11623
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
11624
caller. (Robert Collins)
11626
* ``revision.revision_graph`` can handle having only partial history for
11627
a revision - that is no revisions in the graph with no parents.
11630
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
11631
produce a branch and a list of paths, relative to that branch
11634
* New TestCase.addCleanup facility.
11636
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
11637
which can be used by programs importing bzrlib.
11642
* Better handling of branches in directories with non-ascii names.
11643
(Joel Rosdahl, Panagiotis Papadakos)
11645
* Upgrades of trees with no commits will not fail due to accessing
11646
[-1] in the revision-history. (Andres Salomon)
11652
:Released: 2005-10-12
11657
* Fix problem in pulling over http from machines that do not
11658
allow directories to be listed.
11660
* Avoid harmless warning about invalid hash cache after
11661
upgrading branch format.
11666
* Avoid some unnecessary http operations in branch and pull.
11672
:Released: 2005-10-11
11677
* 'bzr branch' over http initially gives a very high estimate
11678
of completion time but it should fall as the first few
11679
revisions are pulled in. branch is still slow on
11680
high-latency connections.
11685
* bzr-man.py has been updated to work again. Contributed by
11688
* Locking is now done with fcntl.lockf which works with NFS
11689
file systems. Contributed by Harald Meland.
11691
* When a merge encounters a file that has been deleted on
11692
one side and modified on the other, the old contents are
11693
written out to foo.BASE and foo.SIDE, where SIDE is this
11694
or OTHER. Contributed by Aaron Bentley.
11696
* Export was choosing incorrect file paths for the content of
11697
the tarball, this has been fixed by Aaron Bentley.
11699
* Commit will no longer commit without a log message, an
11700
error is returned instead. Contributed by Jelmer Vernooij.
11702
* If you commit a specific file in a sub directory, any of its
11703
parent directories that are added but not listed will be
11704
automatically included. Suggested by Michael Ellerman.
11706
* bzr commit and upgrade did not correctly record new revisions
11707
for files with only a change to their executable status.
11708
bzr will correct this when it encounters it. Fixed by
11711
* HTTP tests now force off the use of ``http_proxy`` for the duration.
11712
Contributed by Gustavo Niemeyer.
11714
* Fix problems in merging weave-based branches that have
11715
different partial views of history.
11717
* Symlink support: working with symlinks when not in the root of a
11718
bzr tree was broken, patch from Scott James Remnant.
11723
* 'branch' now accepts a --basis parameter which will take advantage
11724
of local history when making a new branch. This allows faster
11725
branching of remote branches. Contributed by Aaron Bentley.
11727
* New tree format based on weave files, called version 5.
11728
Existing branches can be upgraded to this format using
11731
* Symlinks are now versionable. Initial patch by
11732
Erik Toubro Nielsen, updated to head by Robert Collins.
11734
* Executable bits are tracked on files. Patch from Gustavo
11737
* 'bzr status' now shows unknown files inside a selected directory.
11738
Patch from Heikki Paajanen.
11740
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
11741
and 'resolve' have needed added, which list and remove those
11742
merge conflicts respectively. A conflicted tree cannot be committed
11743
in. Contributed by Aaron Bentley.
11745
* 'rm' is now an alias for 'remove'.
11747
* Stores now split out their content in a single byte prefixed hash,
11748
dropping the density of files per directory by 256. Contributed by
11751
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
11752
Contributed by Robert Collins.
11754
* 'bzr log' with the default formatter will show merged revisions,
11755
indented to the right. Initial implementation contributed by Gustavo
11756
Niemeyer, made incremental by Robert Collins.
11762
* Test case failures have the exception printed after the log
11763
for your viewing pleasure.
11765
* InventoryEntry is now an abstract base class, use one of the
11766
concrete InventoryDirectory etc classes instead.
11768
* Branch raises an UnsupportedFormatError when it detects a
11769
bzr branch it cannot understand. This allows for precise
11770
handling of such circumstances.
11772
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
11773
list of their ids and ``parent_sha1s`` is a list of their corresponding
11774
sha1s (for old branches only at the moment.)
11776
* New method-object style interface for Commit() and Fetch().
11778
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
11779
we call them revisions not patches.
11781
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
11782
directory is created if it doesn't exist.
11784
* Inventories now identify the files which were present by
11785
giving the revision *of that file*.
11787
* Inventory and Revision XML contains a version identifier.
11788
This must be consistent with the overall branch version
11789
but allows for more flexibility in future upgrades.
11794
* Removed testsweet module so that tests can be run after
11795
bzr installed by 'bzr selftest'.
11797
* 'bzr selftest' command-line arguments can now be partial ids
11798
of tests to run, e.g. ``bzr selftest test_weave``
11804
:Released: 2005-09-23
11809
* Fixed "branch -r" option.
11811
* Fix remote access to branches containing non-compressed history.
11814
* Better reliability of http server tests. (John Arbash-Meinel)
11816
* Merge graph maximum distance calculation fix. (Aaron Bentley)
11818
* Various minor bug in windows support have been fixed, largely in the
11819
test suite. Contributed by Alexander Belchenko.
11824
* Status now accepts a -r argument to give status between chosen
11825
revisions. Contributed by Heikki Paajanen.
11827
* Revision arguments no longer use +/-/= to control ranges, instead
11828
there is a 'before' namespace, which limits the successive namespace.
11829
For example '$ bzr log -r date:yesterday..before:date:today' will
11830
select everything from yesterday and before today. Contributed by
11833
* There is now a bzr.bat file created by distutils when building on
11834
Windows. Contributed by Alexander Belchenko.
11839
* Removed uuid() as it was unused.
11841
* Improved 'fetch' code for pulling revisions from one branch into
11842
another (used by pull, merged, etc.)
11848
:Released: 2005-09-20
11854
* Adding a file whose parent directory is not versioned will
11855
implicitly add the parent, and so on up to the root. This means
11856
you should never need to explictly add a directory, they'll just
11857
get added when you add a file in the directory. Contributed by
11860
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
11863
* If you set ``BZR_EDITOR`` in the environment, it is checked in
11864
preference to EDITOR and the config file for the interactive commit
11865
editing program. Related to this is a bugfix where a missing program
11866
set in EDITOR would cause editing to fail, now the fallback program
11867
for the operating system is still tried.
11869
* Files that are not directories/symlinks/regular files will no longer
11870
cause bzr to fail, it will just ignore them by default. You cannot add
11871
them to the tree though - they are not versionable.
11877
* Refactor xml packing/unpacking.
11882
* Fixed 'bzr mv' by Ollie Rutherfurd.
11884
* Fixed strange error when trying to access a nonexistent http
11887
* Make sure that the hashcache gets written out if it can't be
11894
* Various Windows fixes from Ollie Rutherfurd.
11896
* Quieten warnings about locking; patch from Matt Lavin.
11902
:Released: 2005-09-02
11907
* ``bzr shell-complete`` command contributed by Clint Adams to
11908
help with intelligent shell completion.
11910
* New expert command ``bzr find-merge-base`` for debugging merges.
11916
* Much better merge support.
11918
* merge3 conflicts are now reported with markers like '<<<<<<<'
11919
(seven characters) which is the same as CVS and pleases things
11926
* ``bzr upgrade`` no longer fails when trying to fix trees that
11927
mention revisions that are not present.
11929
* Fixed bugs in listing plugins from ``bzr plugins``.
11931
* Fix case of $EDITOR containing options for the editor.
11933
* Fix log -r refusing to show the last revision.
11934
(Patch from Goffredo Baroncelli.)
11940
* ``bzr log --show-ids`` shows the revision ids of all parents.
11942
* Externally provided commands on your $BZRPATH no longer need
11943
to recognize --bzr-usage to work properly, and can just handle
11950
* Changed trace messages to go through the standard logging
11951
framework, so that they can more easily be redirected by
11959
:Released: 2005-08-18
11964
* Python plugins, automatically loaded from the directories on
11965
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
11967
* New 'bzr mkdir' command.
11969
* Commit mesage is fetched from an editor if not given on the
11970
command line; patch from Torsten Marek.
11972
* ``bzr log -m FOO`` displays commits whose message matches regexp
11975
* ``bzr add`` with no arguments adds everything under the current directory.
11977
* ``bzr mv`` does move or rename depending on its arguments, like
11980
* ``bzr missing`` command shows a summary of the differences
11981
between two trees. (Merged from John Arbash-Meinel.)
11983
* An email address for commits to a particular tree can be
11984
specified by putting it into .bzr/email within a branch. (Based
11985
on a patch from Heikki Paajanen.)
11991
* Faster working tree operations.
11997
* 3rd-party modules shipped with bzr are copied within the bzrlib
11998
python package, so that they can be installed by the setup
11999
script without clashing with anything already existing on the
12000
system. (Contributed by Gustavo Niemeyer.)
12002
* Moved plugins directory to bzrlib/, so that there's a standard
12003
plugin directory which is not only installed with bzr itself but
12004
is also available when using bzr from the development tree.
12005
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
12006
standard plugins directory.
12008
* When exporting to a tarball with ``bzr export --format tgz``, put
12009
everything under a top directory rather than dumping it into the
12010
current directory. This can be overridden with the ``--root``
12011
option. Patch from William Dodé and John Meinel.
12013
* New ``bzr upgrade`` command to upgrade the format of a branch,
12014
replacing ``bzr check --update``.
12016
* Files within store directories are no longer marked readonly on
12019
* Changed ``bzr log`` output to a more compact form suggested by
12020
John A Meinel. Old format is available with the ``--long`` or
12021
``-l`` option, patched by William Dodé.
12023
* By default the commit command refuses to record a revision with
12024
no changes unless the ``--unchanged`` option is given.
12026
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
12027
line options must come before the command name because they
12028
affect what commands are available; all other options must come
12029
after the command name because their interpretation depends on
12032
* ``branch`` and ``clone`` added as aliases for ``branch``.
12034
* Default log format is back to the long format; the compact one
12035
is available with ``--short``.
12041
* Fix bugs in committing only selected files or within a subdirectory.
12047
:Released: 2005-06-15
12052
* ``bzr`` with no command now shows help rather than giving an
12053
error. Suggested by Michael Ellerman.
12055
* ``bzr status`` output format changed, because svn-style output
12056
doesn't really match the model of bzr. Now files are grouped by
12057
status and can be shown with their IDs. ``bzr status --all``
12058
shows all versioned files and unknown files but not ignored files.
12060
* ``bzr log`` runs from most-recent to least-recent, the reverse
12061
of the previous order. The previous behaviour can be obtained
12062
with the ``--forward`` option.
12064
* ``bzr inventory`` by default shows only filenames, and also ids
12065
if ``--show-ids`` is given, in which case the id is the second
12072
* New 'bzr whoami --email' option shows only the email component
12073
of the user identification, from Jo Vermeulen.
12075
* New ``bzr ignore PATTERN`` command.
12077
* Nicer error message for broken pipe, interrupt and similar
12078
conditions that don't indicate an internal error.
12080
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
12082
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
12083
either read or write mode.
12085
* New option ``bzr log --show-ids`` shows revision and file ids.
12087
* New usage ``bzr log FILENAME`` shows only revisions that
12088
affected that file.
12090
* Changed format for describing changes in ``bzr log -v``.
12092
* New option ``bzr commit --file`` to take a message from a file,
12093
suggested by LarstiQ.
12095
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
12096
Oler. File may be in a branch other than the working directory.
12098
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
12101
* Commands can now be defined by external programs or scripts
12102
in a directory on $BZRPATH.
12104
* New "stat cache" avoids reading the contents of files if they
12105
haven't changed since the previous time.
12107
* If the Python interpreter is too old, try to find a better one
12108
or give an error. Based on a patch from Fredrik Lundh.
12110
* New optional parameter ``bzr info [BRANCH]``.
12112
* New form ``bzr commit SELECTED`` to commit only selected files.
12114
* New form ``bzr log -r FROM:TO`` shows changes in selected
12115
range; contributed by John A Meinel.
12117
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
12118
options through to an external GNU diff.
12120
* New option ``bzr add --no-recurse`` to add a directory but not
12123
* ``bzr --version`` now shows more information if bzr is being run
12130
* Fixed diff format so that added and removed files will be
12131
handled properly by patch. Fix from Lalo Martins.
12133
* Various fixes for files whose names contain spaces or other
12140
* Converted black-box test suites from Bourne shell into Python;
12141
now run using ``./testbzr``. Various structural improvements to
12144
* testbzr by default runs the version of bzr found in the same
12145
directory as the tests, or the one given as the first parameter.
12147
* testbzr also runs the internal tests, so the only command
12148
required to check is just ``./testbzr``.
12150
* testbzr requires python2.4, but can be used to test bzr running
12151
under a different version.
12153
* Tests added for many other changes in this release.
12159
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
12161
* Refactor command functions into Command objects based on HCT by
12162
Scott James Remnant.
12164
* Better help messages for many commands.
12166
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
12167
this is called trace messages are just discarded.
12169
* New internal function ``find_touching_revisions()`` and hidden
12170
command touching-revisions trace the changes to a given file.
12172
* Simpler and faster ``compare_inventories()`` function.
12174
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
12176
* New AtomicFile class.
12178
* New developer commands ``added``, ``modified``.
12184
* Cope on Windows on python2.3 by using the weaker random seed.
12185
2.4 is now only recommended.
12191
:Released: 2005-04-22
12196
* 'bzr diff' optionally takes a list of files to diff. Still a bit
12197
basic. Patch from QuantumG.
12199
* More default ignore patterns.
12201
* New 'bzr log --verbose' shows a list of files changed in the
12202
changeset. Patch from Sebastian Cote.
12204
* Roll over ~/.bzr.log if it gets too large.
12206
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
12209
* New 'bzr help commands' based on a patch from Denys Duchier.
12215
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
12216
or $EMAIL. All are decoded by the locale preferred encoding.
12217
If none of these are present user@hostname is used. The host's
12218
fully-qualified name is not used because that tends to fail when
12219
there are DNS problems.
12221
* New 'bzr whoami' command instead of username user-email.
12227
* Make commit safe for hardlinked bzr trees.
12229
* Some Unicode/locale fixes.
12231
* Partial workaround for ``difflib.unified_diff`` not handling
12232
trailing newlines properly.
12238
* Allow docstrings for help to be in PEP0257 format. Patch from
12241
* More tests in test.sh.
12243
* Write profile data to a temporary file not into working
12244
directory and delete it when done.
12246
* Smaller .bzr.log with process ids.
12252
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
12255
* Some improvements in handling paths on Windows, based on a patch
12262
:Released: 2005-04-06
12267
* New "directories" internal command lists versioned directories
12270
* Can now say "bzr commit --help".
12272
* New "rename" command to rename one file to a different name
12275
* New "move" command to move one or more files into a different
12278
* New "renames" command lists files renamed since base revision.
12280
* New cat command contributed by janmar.
12285
* .bzr.log is placed in $HOME (not pwd) and is always written in
12286
UTF-8. (Probably not a completely good long-term solution, but
12292
* Workaround for difflib bug in Python 2.3 that causes an
12293
exception when comparing empty files. Reported by Erik Toubro
12299
* Refactored inventory storage to insert a root entry at the top.
12304
* Start of shell-based black-box testing in test.sh.
7101
* Win32 fixes from Steve Brown.
7104
bzr-0.0.2 "black cube" 2005-03-31
7105
-----------------------------------
7109
* Default ignore list extended (see bzrlib/__init__.py).
7111
* Patterns in .bzrignore are now added to the default ignore list,
7112
rather than replacing it.
7114
* Ignore list isn't reread for every file.
7118
* Reinstate the 'bzr check' command to check invariants of the
7121
* New 'ignored' command lists which files are ignored and why;
7122
'deleted' lists files deleted in the current working tree.
7124
* Performance improvements.
7126
* New global --profile option.
7128
* Ignore patterns like './config.h' now correctly match files in
7129
the root directory only.
7132
bzr-0.0.1 2005-03-26
7133
---------------------
7137
* More information from info command.
7139
* Can now say "bzr help COMMAND" for more detailed help.
7141
* Less file flushing and faster performance when writing logs and
7142
committing to stores.
7144
* More useful verbose output from some commands.
7148
* Fix inverted display of 'R' and 'M' during 'commit -v'.
7152
* Include a subset of ElementTree-1.2.20040618 to make
7153
installation easier.
7155
* Fix time.localtime call to work with Python 2.3 (the minimum
7159
bzr-0.0.0.69 2005-03-22
7160
------------------------
7164
* First public release.
7166
* Storage of local versions: init, add, remove, rm, info, log,
12313
* Win32 fixes from Steve Brown.
12319
:Codename: "black cube"
12320
:Released: 2005-03-31
12325
* Default ignore list extended (see bzrlib/__init__.py).
12327
* Patterns in .bzrignore are now added to the default ignore list,
12328
rather than replacing it.
12330
* Ignore list isn't reread for every file.
12332
* More help topics.
12334
* Reinstate the 'bzr check' command to check invariants of the
12337
* New 'ignored' command lists which files are ignored and why;
12338
'deleted' lists files deleted in the current working tree.
12340
* Performance improvements.
12342
* New global --profile option.
12344
* Ignore patterns like './config.h' now correctly match files in
12345
the root directory only.
12351
:Released: 2005-03-26
12356
* More information from info command.
12358
* Can now say "bzr help COMMAND" for more detailed help.
12360
* Less file flushing and faster performance when writing logs and
12361
committing to stores.
12363
* More useful verbose output from some commands.
12368
* Fix inverted display of 'R' and 'M' during 'commit -v'.
12373
* Include a subset of ElementTree-1.2.20040618 to make
12374
installation easier.
12376
* Fix time.localtime call to work with Python 2.3 (the minimum
12383
:Released: 2005-03-22
12388
* First public release.
12390
* Storage of local versions: init, add, remove, rm, info, log,
7170
vim: tw=74 ft=rst ff=unix
12395
vim: tw=74 ft=rst ff=unix encoding=utf-8