5
.. contents:: List of Releases
11
:2.2b3: NOT RELEASED YET
19
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
21
(Parth Malwankar, #571467)
23
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
24
the default ignore rules used by bzr. The flag ``--old-default-rules``
25
is no longer supported by ``ignore``.
26
(Parth Malwankar, #538703)
28
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
29
can save disk space by deleting obsolete pack files created during the
31
(Parth Malwankar, #304320)
36
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
group ownership from the containing directory. This allow bzr to work
39
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
41
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
are part of Y ancestry but not part of X ancestry (aka the graph
44
(Vincent Ladeuil, #320119)
46
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
(Vincent Ladeuil, #566670)
49
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
(Vincent Ladeuil, #563997)
52
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
(Vincent Ladeuil, #401599)
55
* Reduce peak memory by one copy of compressed text.
56
(John Arbash Meinel, #566940)
58
* Show the filenames when a file rename fails so that the error will be
60
(Martin Pool, #491763)
65
* ``append_revisions_only`` will now be interpreted as a boolean and a
66
warning emitted if illegal values are used. Note that for projects
67
that needs to maintain compatibility with previsous bzr versions,
68
only 'True' and 'False' strings must be used (previous versions of
69
bzr will interpret all strings differing from 'True'
70
(case-sensitive) as false.
71
(Brian de Alwis, Vincent Ladeuil)
73
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
74
be interpreted as a boolean.
83
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
84
some kinds of ``merge_file_content`` hook functions.
87
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
88
`user_transport`, `control_url` and `control_transport` members pointing
89
respectively to the directory containing the ``.bzr`` control directory,
90
and to the directory within ``.bzr`` used for the particular component.
91
All of them inherit from `ControlComponent` which provides default
98
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
99
files loaded from disk. To ensure docstrings needed for help are never
100
stripped, the prefix ``__doc__ =`` should now be used.
101
(Martin <gzlist@googlemail.com>)
106
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
107
(Gordon Tyler, #551332)
109
* Workaround ``Crypto.Random`` check leading to spurious test
110
failures on Lucid, FreeBSD and gentoo.
111
(Vincent Ladeuil, #528436)
118
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
119
incompatibility in the 2.2b1 release. It also includes a swag of
120
performance, usability and correctness improvements: test feedback on all
121
of these would be welcome.
127
* ``bzr diff`` now supports a --format option, which can be used to
128
select alternative diff formats. (Jelmer Vernooij, #555994)
133
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
134
instead of failing when dirty trees are involved. The corresponding
135
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
136
True explicitly to get the previous behaviour.
137
(Vincent Ladeuil, #519319)
139
* ``bzr export`` to tar file does not fail if any parent directory
140
contains unicode characters. This works around upstream Python bug
141
http://bugs.python.org/issue8396 .
142
(Parth Malwankar, #413406)
144
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
145
(Aaron Bentley, #559436)
147
* ``bzr update`` when a pending merge in the working tree has been merged
148
into the master branch will no longer claim that old commits have become
149
pending merges. (Robert Collins, #562079)
151
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
152
config as in previous versions of bzrlib. (Robert Collins)
154
* Fix glitch in the warning about unclean trees display.
155
(Vincent Ladeuil, #562665)
157
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
160
* Help messages generated by ``RegistryOption.from_kwargs`` list the
161
switches in alphabetical order, rather than in an undefined order.
162
(Martin von Gagern, #559409)
164
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
165
Apport crash reports, to avoid "This problem report applies to a program
166
which is not installed any more" error.
167
(Martin Pool, James Westby, #528114)
169
* Reset ``siginterrupt`` flag to False every time we handle a signal
170
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
171
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
172
errors after two window resizes.
175
* When invoked with a range revision, ``bzr log`` doesn't show revisions
176
that are not part of the Y revisions ancestry anymore when invoked with
178
(Vincent Ladeuil, #474807)
180
* Properly handle ``param_name`` attribute for ``ListOption``.
181
(Martin von Gagern, 387117)
186
* ``bzr commit`` will prompt before using a commit message that was
187
generated by a template and not edited by the user.
188
(Robert Collins, #530265)
190
* ``bzr diff`` read-locks the trees and branches only once, saving about
191
10-20ms on ``bzr diff`` in a bzr.dev tree.
194
* ``bzr missing`` read-locks the branches only once.
197
* ``bzr pull`` locks the branches and tree only once.
200
* Index lookups in pack repositories search recently hit pack files first.
201
In repositories with many pack files this can greatly reduce the
202
number of files accessed, the number of bytes read, and the number of
203
read calls. An incremental pull via plain HTTP takes half the time and
204
bytes for a moderately large repository. (Andrew Bennetts)
206
* Index lookups only re-order the indexes when the hit files aren't
207
already first. Reduces the cost of reordering
208
(John Arbash Meinel, #562429)
210
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
212
(Martin Pool, #553017)
217
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
218
``get_trees_and_branches_to_diff_locked`` instead.
224
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
225
2.1 method of calling run() to perform testing or direct use via the API
226
is now possible again. As part of this, the _operation attribute on
227
Command is now transient and only exists for the duration of ``run()``.
238
* BTreeGraphIndex can now take an offset to indicate that the data starts
239
somewhere other than then beginning of the file. (John Arbash Meinel)
241
* Deleted very old hidden commands ``versionedfile-list``,
242
``weave-plan-merge``, ``weave-merge-text``.
245
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
246
have been removed. (Jelmer Vernooij)
248
* ``Repository.get_revision_inventory()`` has been removed in favor of
249
``Repository.get_inventory()``. (Jelmer Vernooij)
251
* All test servers have been moved out of the bzrlib.transport hierarchy to
252
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
253
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
254
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
255
``bzrlib.tests.test_server``.
258
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
259
as its second parameter, for consistency with the initialize() method of
260
other formats. (Jelmer Vernooij)
265
* Added ``bzr remove-branch`` command that can remove a local or remote
266
branch. (Jelmer Vernooij, #276295)
268
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
269
to set file mtimes to the last timestamp of the last revision in which
270
they were changed rather than the current time. (Jelmer Vernooij)
272
* If the Apport crash-reporting tool is available, bzr crashes are now
273
stored into the ``/var/crash`` apport spool directory, and the user is
274
invited to report them to the developers from there, either
275
automatically or by running ``apport-bug``. No information is sent
276
without specific permission from the user. (Martin Pool, #515052)
278
* Parsing of command lines, for example in ``diff --using``, no longer
279
treats backslash as an escape character on Windows. (Gordon Tyler,
282
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
283
a list of plugin names separated by ':' (';' on windows).
284
(Vincent Ladeuil, #411413)
286
* Plugins can be loaded from arbitrary locations by defining
287
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
288
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
289
specified plugins. This is targeted at plugin developers for punctual
290
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
291
(Vincent Ladeuil, #82693)
293
* Tag names can now be determined automatically by ``automatic_tag_name``
294
hooks on ``Branch`` if they are not specified on the command line.
297
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
298
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
299
as resolved is still accessible via the ``--done`` default action.
302
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
303
(Aaron Bentley, Jonathan Lange)
308
* Added docstring for ``Tree.iter_changes``
309
(John Arbash Meinel, #304182)
311
* Allow additional arguments to
312
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
314
* Allow exporting a single file using ``bzr export``.
315
(Michal Junák, #511987)
317
* Allow syscalls to automatically restart when ``TextUIFactory``'s
318
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
319
IO, which are often poorly handled by Python's libraries and parts of
320
bzrlib. (Andrew Bennetts, #496813)
322
* Avoid infinite recursion when probing for apport.
323
(Vincent Ladeuil, #516934)
325
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
326
(Martin Pool, #331095)
328
* Avoid truncating svn URLs.
329
(Martin Pool, Martin von Gagern, #545185)
331
* ``bzr add`` will not add conflict related files unless explicitly required.
332
(Vincent Ladeuil, #322767, #414589)
334
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
335
indices do not have reference lists, so ``dump-btree`` will simply show
336
``None`` instead. (Andrew Bennetts, #488607)
338
* ``bzr help`` will no longer trigger the get_missing_command hook when
339
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
340
did you mean log?') when getting help. In future we may trigger the hook
341
deliberately when no help topics match from any help index.
342
(Robert Collins, #396261)
344
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
345
revspec as representing the first revision of the branch.
346
(Vincent Ladeuil, #519862)
348
* ``bzr remove-tree`` can now remove multiple working trees.
349
(Jared Hance, Andrew Bennetts, #253137)
351
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
352
the kept file on content conflicts where one side deleted the file.
353
(Vincent Ladeuil, #529968)
355
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
356
permissions as ``.bzr`` directory on a POSIX OS.
357
(Parth Malwankar, #262450)
359
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
360
of ``backup.bzr``. This directory is ignored by bzr commands such as
362
(Parth Malwankar, #335033, #300001)
364
* Cope with non-utf8 characters inside ``.bzrignore``.
365
(Jason Spashett, #183504)
367
* Correctly interpret "451 Rename/move failure: Directory not empty" from
368
ftp servers while trying to take a lock.
369
(Martin Pool, #528722)
371
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
372
changes occured between the workingtree and one of its parents.
373
(Vincent Ladeuil, #535547)
375
* Fix ``log`` to better check ancestors even if merged revisions are involved.
376
(Vincent Ladeuil, #476293)
378
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
379
on os.lisdir() order and is now reliable.
380
(Vincent Ladeuil, #552922).
382
* Many IO operations that returned ``EINTR`` were retried even if it
383
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
384
only retries operations that are safe to retry, and in some cases has
385
switched to operations that can be retried (e.g. ``sock.send`` rather than
387
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
389
* Path conflicts now support --take-this and --take-other even when a
390
deletion is involved.
391
(Vincent Ladeuil, #531967)
393
* Network transfer amounts and rates are now displayed in SI units according
394
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
395
(Gordon Tyler, #514399)
397
* Support kind markers for socket and fifo filesystem objects. This
398
prevents ``bzr status --short`` from crashing when those files are
399
present. (John Arbash Meinel, #303275)
401
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
402
directory. (Parth Malwankar, #138600)
404
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
405
the debugger won't kill the session.
406
(Martin <gzlist@googlemail.com>, #162502)
408
* Tolerate patches with leading noise in ``bzr-handle-patch``.
409
(Toshio Kuratomi, Martin Pool, #502076)
411
* ``update -r`` now supports updating to revisions that are not on
412
mainline (i.e. it supports dotted revisions).
413
(Parth Malwankar, #517800)
415
* Use first apparent author not committer in GNU Changelog format.
416
(Martin von Gagern, #513322)
421
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
422
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
425
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
426
branch to create. (Jelmer Vernooij)
428
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
429
colocated branch to open. (Jelmer Vernooij)
431
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
432
can set a signal handler and call ``signal.siginterrupt(signum,
433
False)`` for it, if the platform and Python version supports it.
434
(Andrew Bennetts, #496813)
436
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
437
run when starting up; it sets up several things that previously needed
438
to be done separately.
439
(Martin Pool, #507710)
441
* Exporters now support a ``per_file_timestamps`` argument to write out the
442
timestamp of the commit in which a file revision was introduced.
445
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
446
present in a control directory. (Jelmer Vernooij)
448
* New method ``Repository.get_known_graph_ancestry()``.
449
(Jelmer Vernooij, #495502)
451
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
454
* Remove unused ``CommandFailed`` exception.
460
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
461
``message_callback`` in the same way that commit does. (Robert Collins)
463
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
464
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
465
of date. (Gary van der Merwe)
467
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
468
functions to load or disable plugins if they wish to use a different
469
plugin mechanism; the --help, --version and no-command name code paths
470
now use the generic pluggable command lookup infrastructure.
473
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
474
which can be set to add extra help to the error. (Gary van der Merwe)
476
* New method ``Branch.automatic_tag_name`` that can be used to find the
477
tag name for a particular revision automatically. (Jelmer Vernooij)
479
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
480
``BzrDir.open_branch()`` now take an optional ``name`` argument.
486
* bzr now has a ``.testr.conf`` file in its source tree configured
487
appropriately for running tests with Testrepository
488
(``https://launchpad.net/testrepository``). (Robert Collins)
490
* Documentation about testing with ``subunit`` has been tweaked.
493
* Known failures has been added for resolve --take-other on ParentLoop
494
conflicts. This reflects bug #537956 without fixing it.
497
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
498
Python modules are loaded, to guard against startup time or library
499
dependency regressions.
502
* PQM will now run with subunit output. To analyze a PQM error use
503
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
505
* Stop sending apport crash files to ``.cache`` in the directory from
506
which ``bzr selftest`` was run. (Martin Pool, #422350)
508
* Tests no longer fail if "close() called during concurrent
509
operation on the same file object" occurs when closing the log file
510
(which can happen if a thread tries to write to the log file at the
511
wrong moment). An warning will be written to ``stderr`` when this
512
happens, and another warning will be written if the log file could not
513
be closed after retrying 100 times. (Andrew Bennetts, #531746)
520
This is a small bugfix release. Upgrading is recommended for anyone
521
running 2.1.0 or earlier.
526
* Allow syscalls to automatically restart when ``TextUIFactory``'s
527
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
528
IO, which are often poorly handled by Python's libraries and parts of
529
bzrlib. (Andrew Bennetts, #496813)
531
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
532
(Martin Pool, #331095)
534
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
536
* Fix stub sftp test server to call os.getcwdu().
537
(Vincent Ladeuil, #526221, #526353)
539
* Fixed CHM generation by moving the NEWS section template into
540
a separate file. (Ian Clatworthy, #524184)
542
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
544
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
545
problems importing bzrlib from a non-main thread.
546
(Elliot Murphy, #521989)
548
* Standardize the error handling when creating a new ``StaticTuple``
549
(problems will raise TypeError). (Matt Nordhoff, #457979)
551
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
552
``StaticTuple`` extensions, rather than having the build fail randomly.
553
(John Arbash Meinel, #449776)
558
* Added a link to the Desktop Guide. (Ian Clatworthy)
560
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
562
* Drop Google Analytics from the core docs as they caused problems
563
in the CHM files. (Ian Clatworthy, #502010)
568
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
569
can set a signal handler and call ``signal.siginterrupt(signum,
570
False)`` for it, if the platform and Python version supports it.
571
(Andrew Bennetts, #496813)
577
:Codename: Strasbourg
580
This release marks our second long-term-stable series. The Bazaar team
581
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
582
releases, along with 2.2 development releases.
584
This is a fairly incremental update, focusing on polish and bugfixing.
585
There are no changes for supported disk formats. Key updates include
586
reduced memory consumption for many operations, a new per-file merge
587
hook, ignore patterns can now include '!' to exclude files, globbing
588
support for all commands on Windows, and support for addressing home
589
directories via ``bzr+ssh://host/~/`` syntax.
591
Users are encouraged to upgrade from the 2.0 stable series.
596
* Don't require testtools to use sftp.
597
(Vincent Ladeuil, #516183)
599
* Fix "AttributeError in Inter1and2Helper" during fetch.
600
(Martin Pool, #513432)
602
* ``bzr update`` performs the two merges in a more logical order and will stop
603
when it encounters conflicts.
604
(Gerard Krol, #113809)
606
* Give a better error message when doing ``bzr bind`` in an already bound
607
branch. (Neil Martinsen-Burrell, #513063)
609
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
610
in a pack repository, which can happen harmlessly if the abort occurs during
611
finishing the write group. Also use ``bzrlib.cleanup`` so that any
612
other errors that occur while aborting the individual packs won't be
613
hidden by secondary failures when removing the corresponding indices.
614
(Andrew Bennetts, #423015)
616
* Set the mtime of files exported to a directory by ``bzr export`` all to
617
the same value to avoid confusing ``make`` and other date-based build
618
systems. (Robert Collins, #515631)
623
* Fetching into experimental formats will now print a warning. (Jelmer
629
* ``Repository.deserialise_inventory`` has been renamed to
630
``Repository._deserialise_inventory`` to indicate it is private.
633
* ``Repository.get_inventory_xml`` has been renamed to
634
``Repository._get_inventory_xml`` to indicate it is private.
637
* ``Repository.serialise_inventory`` has been renamed to
638
``Repository._serialise_inventory`` to indicate it is private.
640
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
641
same time was broken due to race conditions with a module level page
642
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
643
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
644
the same high level objects such as ``bzrlib.repository.Repository``
645
from different threads. chk_map now uses a thread local cache which may
646
increase memory pressure on processes using threads.
647
(Robert Collins, John Arbash Meinel, #514090)
649
* The new ``merge_file_content`` should now be ok with tests to avoid
651
(Vincent Ladeuil, #515597)
656
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
657
blocks in several places in ``bzrlib.merge``. This avoids masking prior
658
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
660
(Andrew Bennetts, #517275)
665
* The ``remove_index`` method of
666
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
667
argument. This argument was always ignored.
668
(Andrew Bennetts, #423015)
673
:Codename: after the bubbles
674
:2.1.0rc2: 2010-01-29
676
This is a quick-turn-around to update a small issue with our new per-file
677
merge hook. We expect no major changes from this to the final 2.1.0.
682
* The new ``merge_file_content`` hook point has been altered to provide a
683
better API where state for extensions can be stored rather than the
684
too-simple function based approach. This fixes a performance regression
685
where branch configuration would be parsed per-file during merge. As
686
part of this the included news_merger has been refactored into a base
687
helper class ``bzrlib.merge.ConfigurableFileMerger``.
688
(Robert Collins, John Arbash Meinel, #513822)
694
:Codename: the 'new' stable
695
:2.1.0rc1: 2009-01-21
697
This is the first stable release candidate for Bazaar's 2.1 series. From
698
this point onwards, the 2.1 series will be considered stable (as the 2.0
699
series) and only bugfixes are expected to be incorporated. The dozen or so
700
bugfixes in the 2.0.4 release are also included in this release (along
701
with more than 15 more bugfixes). Some of the interesting features are
702
support for per-file merge hooks, ``bzr unshelve --preview``, support
703
for using ! in ignore files to exclude files from being ignored, a small
704
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
705
This looks to be a very good start for a new stable series.
711
* Add bug information to log output when available.
712
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
714
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
715
to register custom merge logic, e.g. to provide smarter merging for
718
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
719
default, to enable it add a ``news_merge_files`` option to your
720
configuration. Consult ``bzr help news_merge`` for more information.
723
* ``bzr branch`` now takes a ``--bind`` option. This lets you
724
branch and bind all in one command. (Ian Clatworthy)
726
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
727
a specific revision of a branch. (Daniel Watkins, #183559)
729
* ``bzr unshelve --preview`` can now be used to show how a patch on the
730
shelf would be applied to the working tree.
731
(Guilherme Salgado, #308122)
733
* ``bzr update`` now takes a ``--revision`` argument. This lets you
734
change the revision of the working tree to any revision in the
735
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
738
* ``-Dbytes`` can now be used to display the total number of bytes
739
transferred for the current command. This information is always logged
740
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
742
* New ignore patterns. Patterns prefixed with '!' are exceptions to
743
ignore patterns and take precedence over regular ignores. Such
744
exceptions are used to specify files that should be versioned which
745
would otherwise be ignored. Patterns prefixed with '!!' act as regular
746
ignore patterns, but have highest precedence, even over the '!'
747
exception patterns. (John Whitley, #428031)
749
* The ``supress_warnings`` configuration option has been introduced to disable
750
various warnings (it currently only supports the ``format_deprecation``
751
warning). The new option can be set in any of the following locations:
752
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
753
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
758
* Always show a message if an OS error occurs while trying to run a
759
user-specified commit message editor.
760
(Martin Pool, #504842)
762
* ``bzr diff`` will now use the epoch when it is unable to determine
763
the timestamp of a file, if the revision it was introduced in is a
764
ghost. (Jelmer Vernooij, #295611)
766
* ``bzr switch -b`` can now create branches that are located using directory
767
services such as ``lp:``, even when the branch name doesn't contain a
768
'/'. (Neil Martinsen-Burrell, #495263)
770
* ``bzr unshelve`` has improved messages about what it is doing.
771
(Neil Martinsen-Burrell, #496917)
773
* Concurrent autopacking is more resilient to already-renamed pack files.
774
If we find that a file we are about to obsolete is already obsoleted, we
775
do not try to rename it, and we leave the file in ``obsolete_packs``.
776
The code is also fault tolerant if a file goes missing, assuming that
777
another process already removed the file.
778
(John Arbash Meinel, Gareth White, #507557)
780
* Fix "Too many concurrent requests" in reconcile when network connection
781
fails. (Andrew Bennetts, #503878)
783
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
784
that caused some tests to fail when run in a non-default order.
785
Probably no user impact. (Martin Pool, #504102)
787
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
788
(Andrew Bennetts, #506274)
790
* FTP transports support Unicode paths by encoding/decoding them as utf8.
791
(Vincent Ladeuil, #472161)
793
* Listen to the SIGWINCH signal to update the terminal width.
794
(Vincent Ladeuil, #316357)
796
* Progress bars are now hidden when ``--quiet`` is given.
797
(Martin Pool, #320035)
799
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
800
whatever is written to it. This un-breaks some plugin tests that
801
depended on this behaviour.
802
(Martin Pool, #499757)
804
* When operations update the working tree, all affected files should end
805
up with the same mtime. (eg. when versioning a generated file, if you
806
update the source and the generated file together, the generated file
807
should appear up-to-date.)
808
(John Arbash Meinel, Martin <gzlist>, #488724)
813
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
814
All the builtin commands now use ``add_cleanup`` rather than
815
``try``/``finally`` blocks where applicable as it is simpler and more
816
robust. (Andrew Bennetts)
818
* All except a small number of storage formats are now hidden, making
819
the help for numerous commands far more digestible. (Ian Clatworthy)
821
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
822
path/to/repo``) will now include "location is a repository" as a hint in
823
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
825
* Push will now inform the user when they are trying to push to a foreign
826
VCS for which roundtripping is not supported, and will suggest them to
827
use dpush. (Jelmer Vernooij)
829
* The version of bzr being run is now written to the log file.
832
* Transport network activity indicator is shown more of the time when
833
Bazaar is doing network IO.
839
* Add documentation on creating merges with more than one parent.
840
(Neil Martinsen-Burrell, #481526)
842
* Better explain the --uncommitted option of merge.
843
(Neil Martinsen-Burrell, #505088)
845
* Improve discussion of pending merges in the documentation for
846
``revert``. (Neil Martinsen-Burrell, #505093)
848
* Improved help for ``bzr send``.
849
(Martin Pool, Bojan Nikolic)
851
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
852
including discussions of installation, relevant plugins, security and
853
backup. (Neil Martinsen-Burrell)
855
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
858
* The User Reference is now presented as a series of topics.
859
Many of the included topics have link and format tweaks applied.
865
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
868
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
869
to be consistent with instances being lower case and classes being
870
CamelCase. For the features that were more likely to be used, we added a
871
deprecation thunk, but not all. (John Arbash Meinel)
873
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
874
parameter in their constructors, and provide ``this_branch`` as an
875
attribute. (Andrew Bennetts)
877
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
878
by plugins - the original exceptions are now preserved. (Robert Collins)
880
* The Transport ``Server.tearDown`` method is now renamed to
881
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
882
our normal naming pattern, and to avoid confusion with Python's
883
``TestCase.tearDown``. (Martin Pool)
885
* ``WorkingTree.update`` implementations must now accept a ``revision``
891
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
892
a string of details (such as "location is a repository") as part of a
893
``nobranch`` response. (Andrew Bennetts, #440952)
895
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
896
objects but passes str objects straight through. This is used for
897
selftest but may be useful for diff and other operations that generate
898
mixed output. (Robert Collins)
900
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
901
plugins. (Jelmer Vernooij)
906
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
907
running all tests in the current module, once against a pure python
908
implementation, and once against an extension (pyrex/C) implementation.
909
It can be used to dramatically simplify the implementation of
910
``load_tests``. (John Arbash Meinel)
912
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
913
This permits features in testtools such as getUniqueInteger and
914
getUniqueString to be used. Because of this, testtools version 0.9.2 or
915
newer is now a dependency to run bzr selftest. Running with versions of
916
testtools less than 0.9.2 will cause bzr to error while loading the test
917
suite. (Robert Collins)
919
* Shell-like tests now support the command "mv" for moving files. The
920
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
921
supported. (Neil Martinsen-Burrell)
923
* The test progress bar no longer distinguishes tests that 'errored' from
924
tests that 'failed' - they're all just failures.
930
:2.0.6: NOT RELEASED YET
935
* Additional merges after an unrelated branch has been merged with its
936
history no longer crash when deleted files are involved.
937
(Vincent Ladeuil, John Arbash Meinel, #375898)
939
* ``bzr revert`` now only takes write lock on working tree, instead of on
940
both working tree and branch.
941
(Danny van Heumen, #498409)
943
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
944
permissions as ``.bzr`` directory on a POSIX OS.
945
(Parth Malwankar, #262450)
947
* Repositories accessed via a smart server now reject being stacked on a
948
repository in an incompatible format, as is the case when accessing them
949
via other methods. This was causing fetches from those repositories via
950
a smart server (e.g. using ``bzr branch``) to receive invalid data.
951
(Andrew Bennetts, #562380)
958
This fifth release in our 2.0 series addresses several user-inconvenience
959
bugs. None are critical, but upgrading is recommended for all users on
960
earlier 2.0 releases.
965
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
966
(Martin Pool, #331095)
968
* Concurrent autopacking is more resilient to already-renamed pack files.
969
If we find that a file we are about to obsolete is already obsoleted, we
970
do not try to rename it, and we leave the file in ``obsolete_packs``.
971
The code is also fault tolerant if a file goes missing, assuming that
972
another process already removed the file.
973
(John Arbash Meinel, Gareth White, #507557)
975
* Cope with the lockdir ``held/info`` file being empty, which seems to
976
happen fairly often if the process is suddenly interrupted while taking
978
(Martin Pool, #185103)
980
* Give the warning about potentially slow cross-format fetches much
981
earlier on in the fetch operation. Don't show this message during
982
upgrades, and show the correct format indication for remote
984
(Martin Pool, #456077, #515356, #513157)
986
* Handle renames correctly when there are files or directories that
987
differ only in case. (Chris Jones, Martin Pool, #368931)
989
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
990
error, report that error rather than failing with an unhelpful
991
``UnboundLocalError``.
992
(Andrew Bennetts, #423563)
994
* Running ``bzr`` command without any arguments now shows bzr
995
version number along with rest of the help text.
996
(Parth Malwankar, #369501)
998
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1000
(Inada Naoki, #524560)
1005
* Added ``location-alias`` help topic.
1006
(Andrew Bennetts, #337834)
1008
* Fixed CHM generation by moving the NEWS section template into
1009
a separate file. (Ian Clatworthy, #524184)
1015
:Codename: smooth sailing
1018
The fourth bugfix-only release in the 2.0 series contains more than a
1019
dozen bugfixes relative to 2.0.3. The primary focus is on handling
1020
interruptions and concurrent operations more cleanly, there is also a fair
1021
improvement to ``bzr export`` when exporting a remote branch.
1027
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
1028
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
1030
* ``bzr export dir`` now requests all file content as a record stream,
1031
rather than requsting the file content one file-at-a-time. This can make
1032
exporting over the network significantly faster (54min => 9min in one
1033
case). (John Arbash Meinel, #343218)
1035
* ``bzr serve`` no longer slowly leaks memory. The compiled
1036
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
1037
free resources, and it should have been using ``__dealloc__``.
1038
This will likely have an impact on any other process that is serving for
1039
an extended period of time. (John Arbash Meinel, #494406)
1041
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
1042
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
1043
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
1045
* Concurrent autopacks will no longer lose a newly created pack file.
1046
There was a race condition, where if the reload happened at the right
1047
time, the second packer would forget the name of the newly added pack
1048
file. (John Arbash Meinel, Gareth White, #507566)
1050
* Give a clearer message if the lockdir disappears after being apparently
1051
successfully taken. (Martin Pool, #498378)
1053
* Give a warning when fetching between repositories (local or remote) with
1054
sufficiently different formats that the content will need to be
1055
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
1056
the user has a clue that upgrading could make it faster.
1057
(Martin Pool, #456077)
1059
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
1060
than using ``warning()``. The log file is opened before logging is set
1061
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
1062
users, rather than something nicer.
1063
(John Arbash Meinel, Barry Warsaw, #503886)
1065
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
1066
(Martin Pool, John Arbash Meinel, #449372)
1068
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
1069
build. (there is still the distutils bug
1070
http://bugs.python.org/issue644744) (Joe Julian, #175839)
1072
* The 2a format wasn't properly restarting autopacks when something
1073
changed underneath it (like another autopack). Now concurrent
1074
autopackers will properly succeed. (John Arbash Meinel, #495000)
1076
* ``TreeTransform`` can now handle when a delta says that the file id for
1077
the tree root changes. Rather than trying to rename your working
1078
directory, or failing early saying that you can't have multiple
1079
tree roots. This also fixes revert, update, and pull when the root id
1080
changes. (John Arbash Meinel, #494269, #504390)
1082
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
1083
the right time will get propagated, rather than silently failing to move
1084
the block pointer. (John Arbash Meinel, Gareth White, #495023)
1089
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
1090
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
1091
rather than an ``except ?:`` clause.) This should help prevent bugs like
1092
bug #495023. (John Arbash Meinel)
1098
:Codename: san francisco airport
1099
:2.1.0b4: 2009-12-14
1101
The fourth beta release in the 2.1 series brings with it a significant
1102
number of bugfixes (~20). The test suite is once again (finally) "green"
1103
on Windows, and should remain that way for future releases. There are a
1104
few performance related updates (faster upgrade and log), and several UI
1105
tweaks. There has also been a significant number of tweaks to the runtime
1106
documentation. 2.1.0b4 include everything from the 2.0.3 release.
1109
Compatibility Breaks
1110
********************
1112
* The BZR_SSH environmental variable may now be set to the path of a secure
1113
shell client. If currently set to the value ``ssh`` it will now guess the
1114
vendor of the program with that name, to restore the old behaviour that
1115
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
1116
string. (Martin <gzlist@googlemail.com>, #176292)
1121
* ``bzr commit`` now has a ``--commit-time`` option.
1122
(Alexander Sack, #459276)
1124
* ``-Dhpss`` now increases logging done when run on the bzr server,
1125
similarly to how it works on the client. (John Arbash Meinel)
1127
* New option ``bzr unshelve --keep`` applies the changes and leaves them
1128
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
1130
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
1131
respect a given terminal width. This can be useful when output is
1132
redirected or in obscure cases where the default value is not
1133
appropriate. Pagers can use it to get a better control of the line
1137
* The new command ``bzr lp-mirror`` will request that Launchpad update its
1138
mirror of a local branch. This command will only function if launchpadlib
1146
* After renaming a file, the dirstate could accidentally reference
1147
``source\\path`` rather than ``source/path`` on Windows. This might be a
1148
source of some dirstate-related failures. (John Arbash Meinel)
1150
* ``bzr commit`` now detects commit messages that looks like file names
1151
and issues a warning.
1152
(Gioele Barabucci, #73073)
1154
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
1156
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
1157
(#325618, #484109, Marius Kruger)
1159
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
1160
files with conflicts (similar to ``--merge3``). The contents of the file
1161
is a synthesis of all bases used for the merge.
1162
(John Arbash Meinel, #40412)
1164
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
1166
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
1167
(Robert Collins, #84659)
1169
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
1171
* Fix bug with redirected URLs over authenticated HTTP.
1172
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
1174
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
1176
* Lots of bugfixes for the test suite on Windows. We should once again
1177
have a test suite with no failures on Windows. (John Arbash Meinel)
1179
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
1180
variable but returns None if the terminal is not a tty (when output is
1181
redirected for example). Also fixes its usage under OSes that doesn't
1182
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
1184
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
1185
(John Arbash Meinel, Vincent Ladeuil, #492561)
1187
* Terminate ssh subprocesses when no references to them remain, fixing
1188
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
1190
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
1191
works for 2a format trees. Only files unaffected by content filters
1192
will be hardlinked. (Andrew Bennetts, #408193)
1194
* The new glob expansion on Windows would replace all ``\`` characters
1195
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
1196
etc. Now only change slashes if there is something being glob expanded.
1197
(John Arbash Meinel, #485771)
1199
* Use our faster ``KnownGraph.heads()`` functionality when computing the
1200
new rich-root heads. This can cut a conversion time in half (mysql from
1201
13.5h => 6.2h) (John Arbash Meinel, #487632)
1203
* When launching a external diff tool via bzr diff --using, temporary files
1204
are no longer created, rather, the path to the file in the working tree is
1205
passed to the external diff tool. This allows the file to be edited if the
1206
diff tool provides for this. (Gary van der Merwe, #490738)
1208
* The launchpad-open command can now be used from a subdirectory of a
1209
branch, not just from the root of the branch.
1210
(Neil Martinsen-Burrell, #489102)
1216
* ``bzr log`` is now faster. (Ian Clatworthy)
1218
* ``bzr update`` provides feedback on which branch it is up to date with.
1219
(Neil Martinsen-Burrell)
1221
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
1222
For details see the xml8 patch and heads() improvements.
1223
(John Arbash Meinel)
1225
* ``bzrlib.urlutils.local_path_from_url`` now accepts
1226
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
1229
* The progress bar now shows only a spinner and per-operation counts,
1230
not an overall progress bar. The previous bar was often not correlated
1231
with real overall operation progress, either because the operations take
1232
nonlinear time, or because at the start of the operation Bazaar couldn't
1233
estimate how much work there was to do. (Martin Pool)
1238
* Lots of documentation tweaks for inline help topics and command help
1244
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
1246
* The Launchpad plugin now has a function ``login`` which will log in to
1247
Launchpad with launchpadlib, and ``load_branch`` which will return the
1248
Launchpad Branch object corresponding to a given Bazaar Branch object.
1254
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
1255
easier to handle what tests you want to run based on what modules can be
1256
imported. (Rather than lots of custom-implemented features that were
1257
basically copy-and-pasted.) (John Arbash Meinel)
1259
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
1260
``time.clock()`` when you want to do performance timing.
1261
``time.time()`` is limited to 15ms resolution on Windows, but
1262
``time.clock()`` gives CPU and not wall-clock time on other platforms.
1263
(John Arbash Meinel)
1265
* Several code paths that were calling ``Transport.get().read()`` have
1266
been changed to the equalivent ``Transport.get_bytes()``. The main
1267
difference is that the latter will explicitly call ``file.close()``,
1268
rather than expecting the garbage collector to handle it. This helps
1269
with some race conditions on Windows during the test suite and sftp
1270
tests. (John Arbash Meinel)
1275
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
1276
unicode strings. (Michael Hudson, #464174)
1282
:Codename: little italy
1286
The third stable release of Bazaar has a small handful of bugfixes. As
1287
expected, this has no internal or external compatibility changes versus
1293
* ``bzr push --use-existing-dir`` no longer crashes if the directory
1294
exists but contains an invalid ``.bzr`` directory.
1295
(Andrew Bennetts, #423563)
1297
* Content filters are now applied correctly after pull, merge and switch.
1298
(Ian Clatworthy, #385879)
1300
* Fix a potential segfault in the groupcompress hash map handling code.
1301
When inserting new entries, if the final hash bucket was empty, we could
1302
end up trying to access if ``(last_entry+1)->ptr == NULL``.
1303
(John Arbash Meinel, #490228)
1305
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1311
:Codename: after sprint recovery
1312
:2.1.0b3: 2009-11-16
1314
This release was pushed up from its normal release cycle due to a
1315
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
1316
was caught before 2.1.0b2 was officially announced, the full changelog
1317
includes both 2.1.0b3 and 2.1.0b2 changes.
1319
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
1320
the test suite now conforms to python's trunk enhanced semantics (skip,
1321
etc.), and ``bzr info -v`` will now report the correct branch and repo
1322
formats for Remote objects.
1328
* Users can define a shelve editor to provide shelf functionality at a
1329
granularity finer than per-patch-hunk. (Aaron Bentley)
1334
* Fix for shell completion and short options. (Benoît PIERRE)
1336
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
1338
* Hooks daughter classes should always call the base constructor.
1339
(Alexander Belchenko, Vincent Ladeuil, #389648)
1341
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1343
* On Windows, do glob expansion at the command-line level (as is usually
1344
done in bash, etc.) This means that *all* commands get glob expansion
1345
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
1346
parser, which allows us to know if a given section was quoted. It means
1347
you can now do ``bzr ignore "*.py"``.
1348
(John Arbash Meinel, #425510, #426410, #194450)
1350
* Sanitize commit messages that come in from the '-m' flag. We translate
1351
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
1352
allow those because XML store silently translate it anyway. (The parser
1353
auto-translates \r\n => \n in ways that are hard for us to catch.)
1355
* Show correct branch and repository format descriptions in
1356
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
1358
* The fix for bug #186920 accidentally broke compatibility with python
1359
2.4. (Vincent Ladeuil, #475585)
1361
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
1362
correctly sets ``self.inv_sha1`` to a sha1 string and
1363
``self.new_inventory`` to an Inventory instance after calling
1364
``self.finish_inventory()``. (Previously it accidently set both values
1365
as a tuple on ``self.inv_sha1``. This was missed because
1366
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
1367
the sha1 from the repo directly. (John Arbash Meinel)
1369
* Shelve command refuse to run if there is no real terminal.
1370
(Alexander Belchenko)
1372
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
1373
Python level. (Martin Pool)
1378
* Include Japanese translations for documentation (Inada Naoki)
1380
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
1381
(rather than user-interaction) data to stdout. This automatically
1382
coordinates with progress bars or other terminal activity, and can be
1384
(Martin Pool, 493944)
1389
* Some of the core groupcompress functionality now releases the GIL before
1390
operation. Similar to how zlib and bz2 operate without the GIL in the
1391
core compression and decompression routines. (John Arbash Meinel)
1396
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
1397
more debugging of VFS access triggers. (Robert Collins)
1399
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
1400
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
1402
* ``--parallel=fork`` is now compatible with --subunit.
1403
(Robert Collins, Vincent Ladeuil, #419776)
1405
* Reporting of failures shows test ids not descriptions and thus shows
1406
parameterised tests correctly. (Robert Collins)
1408
* TestNotApplicable is now handled within the TestCase.run method rather
1409
than being looked for within ``ExtendedTestResult.addError``. This
1410
provides better handling with other ``TestResult`` objects, degrading to
1411
sucess rather than error. (Robert Collins)
1413
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
1414
removed - it was empty and unused. (Robert Collins)
1416
* UnavailableFeature is now handled within the TestCase.run method rather
1417
than being looked for within addError. If the Result object does not
1418
have an addNotSupported method, addSkip is attempted instead, and
1419
failing that addSuccess. (Robert Collins)
1421
* When a TestResult does not have an addSkip method, skipped tests are now
1422
reported as successful tests, rather than as errors. This change is
1423
to make it possible to get a clean test run with a less capable
1424
TestResult. (Robert Collins)
1431
:Codename: a load off my mind
1432
:2.1.0b2: 2009-11-02
1434
This is our second feature-filled release since 2.0, pushing us down the
1435
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
1437
Key highlights in this release are: improved handling of
1438
failures-during-cleanup for commit, fixing a long-standing bug with
1439
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
1440
behind proxies, and a new StaticTuple datatype, allowing us to reduce
1441
memory consumption (50%) and garbage collector overhead (40% faster) for
1444
* A new ``--concurrency`` option has been added as well as an associated
1445
BZR_CONCURRENCY environment variable to specify the number of
1446
processes that can be run concurrently when running ``bzr selftest``. The
1447
command-line option overrides the environment variable if both are
1448
specified. If none is specified. the number of processes is obtained
1449
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
1454
* ``bzr+http`` servers no longer give spurious jail break errors when
1455
serving branches inside a shared repository. (Andrew Bennetts, #348308)
1457
* Errors during commit are handled more robustly so that knock-on errors
1458
are less likely to occur, and will not obscure the original error if
1459
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
1460
and similar errors. (Andrew Bennetts, #429747, #243391)
1462
* Launchpad urls can now be resolved from behind proxies.
1463
(Gordon Tyler, Vincent Ladeuil, #186920)
1465
* Reduce the strictness for StaticTuple, instead add a debug flag
1466
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
1467
This way, most users won't see failures, but developers can improve
1468
internals. (John Arbash Meinel, #471193)
1470
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
1471
files. (Aaron Bentley)
1473
* Unicode paths are now handled correctly and consistently by the smart
1474
server. (Andrew Bennetts, Michael Hudson, #458762)
1479
* When reading index files, we now use a ``StaticTuple`` rather than a
1480
plain ``tuple`` object. This generally gives a 20% decrease in peak
1481
memory, and can give a performance boost up to 40% on large projects.
1482
(John Arbash Meinel)
1484
* Peak memory under certain operations has been reduced significantly.
1485
(eg, 'bzr branch launchpad standalone' is cut in half)
1486
(John Arbash Meinel)
1491
* Filtered views user documentation upgraded to refer to format 2a
1492
instead of pre-2.0 formats. (Ian Clatworthy)
1497
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
1499
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1500
``show_warning`` methods, which can be hooked by non-text UIs.
1506
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1507
Dict (it only holds keys, but you can lookup the object located at a
1508
given key). It has significantly reduced memory consumption versus the
1509
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1510
used as the interning structure for StaticTuple objects.
1511
(John Arbash Meinel)
1513
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1514
the btree index parser and the chk map parser. This class functions
1515
similarly to ``tuple`` objects. However, it can only point to a limited
1516
collection of types. (Currently StaticTuple, str, unicode, None, bool,
1517
int, long, float, but not subclasses). This allows us to remove it from
1518
the garbage collector (it cannot be in a cycle), it also allows us to
1519
intern the objects. In testing, this can reduce peak memory by 20-40%,
1520
and significantly improve performance by removing objects from being
1521
inspected by the garbage collector. (John Arbash Meinel)
1523
* ``GroupCompressBlock._ensure_content()`` will now release the
1524
``zlib.decompressobj()`` when the first request is for all of the
1525
content. (Previously it would only be released if you made a request for
1526
part of the content, and then all of it later.) This turns out to be a
1527
significant memory savings, as a ``zstream`` carries around approx 260kB
1528
of internal state and buffers. (For branching bzr.dev this drops peak
1529
memory from 382MB => 345MB.) (John Arbash Meinel)
1531
* When streaming content between ``2a`` format repositories, we now clear
1532
caches from earlier versioned files. (So 'revisions' is cleared when we
1533
start reading 'inventories', etc.) This can have a significant impact on
1534
peak memory for initial copies (~200MB). (John Arbash Meinel)
1540
:Codename: after the scare
1543
The second in our "let's keep the stable bugfixes flowing" series. As
1544
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
1545
changes or features.
1550
* Avoid "NoneType has no attribute st_mode" error when files disappear
1551
from a directory while it's being read. (Martin Pool, #446033)
1553
* Content filters are now applied correctly after revert.
1556
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
1558
* Fetching from stacked pre-2a repository via a smart server no longer
1559
fails intermittently with "second push failed to complete".
1560
(Andrew Bennetts, #437626)
1562
* Fix typos left after test_selftest refactoring.
1563
(Vincent Ladeuil, Matt Nordhoff, #461149)
1565
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
1566
(Andrew Bennetts, #445171)
1568
* PreviewTree file names are not limited by the encoding of the temp
1569
directory's filesystem. (Aaron Bentley, #436794)
1574
* ``bzr log`` now read-locks branches exactly once, so makes better use of
1575
data caches. (Andrew Bennetts)
1580
* Filtered views user documentation upgraded to refer to format 2a
1581
instead of pre-2.0 formats. (Ian Clatworthy)
1587
:Codename: While the cat is away
1588
:2.1.0b1: 2009-10-14
1590
This is the first development release in the new split "stable" and
1591
"development" series. As such, the release is a snapshot of bzr.dev
1592
without creating a release candidate first. This release includes a
1593
fair amount of internal changes, with deprecated code being removed,
1594
and several new feature developments. People looking for a stable code
1595
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1596
present in 2.0.1 are present in 2.1.0b1.
1598
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1599
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1600
syntax, visible warnings when extension modules fail to load, and improved
1601
error handling during unlocking.
1607
* Bazaar can now send mail through Apple OS X Mail.app.
1610
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1611
specified in the URL. Paths starting with a path segment of ``~`` are
1612
relative to the home directory of the user running the server, and paths
1613
starting with ``~user`` are relative to the home directory of the named
1614
user. For example, for a user "bob" with a home directory of
1615
``/home/bob``, these URLs are all equivalent:
1617
* ``bzr+ssh://bob@host/~/repo``
1618
* ``bzr+ssh://bob@host/~bob/repo``
1619
* ``bzr+ssh://bob@host/home/bob/repo``
1621
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1622
home directories outside that directory will be accessible via this
1625
This is a feature of ``bzr serve``, so pre-2.1 clients will
1626
automatically benefit from this feature when ``bzr`` on the server is
1627
upgraded. (Andrew Bennetts, #109143)
1629
* Extensions can now be compiled if either Cython or Pyrex is available.
1630
Currently Pyrex is preferred, but that may change in the future.
1633
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1634
disable the user, site and core plugin directories.
1635
(Vincent Ladeuil, #412930, #316192, #145612)
1640
* Bazaar's native protocol code now correctly handles EINTR, which most
1641
noticeably occurs if you break in to the debugger while connected to a
1642
bzr+ssh server. You can now can continue from the debugger (by typing
1643
'c') and the process continues. However, note that pressing C-\ in the
1644
shell may still kill the SSH process, which is bug 162509, so you must
1645
sent a signal to the bzr process specifically, for example by typing
1646
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1648
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1649
filename will issue a warning and skip over those files.
1650
(Robert Collins, #3918)
1652
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1653
are present in the working tree. The configuration option ``dpush_strict``
1654
can be used to set the default for this behavior.
1655
(Vincent Ladeuil, #438158)
1657
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1658
merges are present in the working tree.
1659
(Vincent Ladeuil, #426344)
1661
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1662
traceback. (Martin Pool, #109115)
1664
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1665
as it is never built. (John Arbash Meinel, #430645)
1667
* Don't restrict the command name used to run the test suite.
1668
(Vincent Ladeuil, #419950)
1670
* ftp transports were built differently when the kerberos python module was
1671
present leading to obscure failures related to ASCII/BINARY modes.
1672
(Vincent Ladeuil, #443041)
1674
* Network streams now decode adjacent records of the same type into a
1675
single stream, reducing layering churn. (Robert Collins)
1677
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1678
file. (Aaron Bentley, #251532)
1680
* Registry objects should not use iteritems() when asked to use items().
1681
(Vincent Ladeuil, #430510)
1683
* Weave based repositories couldn't be cloned when committers were using
1684
domains or user ids embedding '.sig'. Now they can.
1685
(Matthew Fuller, Vincent Ladeuil, #430868)
1690
* Revision specifiers can now be given in a more DWIM form, without
1691
needing explicit prefixes for specifiers like tags or revision id's.
1692
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
1694
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
1695
compiled extensions can't be loaded. This typically indicates a
1696
packaging or installation problem. In this case Bazaar will keep
1697
running using pure-Python versions, but this may be substantially
1698
slower. The warning can be disabled by setting
1699
``ignore_missing_extensions = True`` in ``bazaar.conf``.
1700
See also <https://answers.launchpad.net/bzr/+faq/703>.
1701
(Martin Pool, #406113, #430529)
1703
* Secondary errors that occur during Branch.unlock and Repository.unlock
1704
no longer obscure the original error. These methods now use a new
1705
decorator, ``only_raises``. This fixes many causes of
1706
``TooManyConcurrentRequests`` and similar errors.
1707
(Andrew Bennetts, #429747)
1712
* Describe the new shell-like test feature. (Vincent Ladeuil)
1714
* Help on hooks no longer says 'Not deprecated' for hooks that are
1715
currently supported. (Ian Clatworthy, #422415)
1720
* ``bzrlib.user_encoding`` has been removed; use
1721
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
1723
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
1724
subclasses - the same as python's unittest module. (Robert Collins)
1726
* ``diff._get_trees_to_diff`` has been renamed to
1727
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
1728
returns the old and new branches. (Gary van der Merwe)
1730
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
1733
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
1734
now defaults to comparing to the basis tree. It now checks for pending
1735
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
1736
corresponding has_changes() calls. ``Merge.compare_basis``,
1737
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
1739
(Vincent Ladeuil, #440631)
1741
* ``ProgressTask.note`` is deprecated.
1747
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
1748
repository or branch object is unlocked then relocked the same way.
1751
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
1752
mallocs while parsing the index (approx 3=>1 mallocs per key read).
1753
This results in a 10% speedup while reading an index.
1754
(John Arbash Meinel)
1756
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
1757
profiling in some situations like callbacks and generators easier.
1763
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
1764
be output for every test. Note that this is very verbose! (Robert Collins)
1766
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
1767
post_mortem to be triggered when a test failure occurs. (Robert Collins)
1769
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
1770
documentation in ``developers/testing.txt`` for details.
1773
* Some tests could end up with the same id, that was dormant for
1775
(Vincent Ladeuil, #442980)
1777
* Stop showing the number of tests due to missing features in the test
1778
progress bar. (Martin Pool)
1780
* Test parameterisation now does a shallow copy, not a deep copy of the test
1781
to be parameterised. This is not expected to break external use of test
1782
parameterisation, and is substantially faster. (Robert Collins)
1784
* Tests that try to open a bzr dir on an arbitrary transport will now
1785
fail unless they have explicitly permitted the transport via
1786
``self.permit_url``. The standard test factories such as ``self.get_url``
1787
will permit the urls they provide automatically, so only exceptional
1788
tests should need to do this. (Robert Collins)
1790
* The break-in test no longer cares about clean shutdown of the child,
1791
instead it is happy if the debugger starts up. (Robert Collins)
1793
* The full test suite is expected to pass when the C extensions are not
1794
present. (Vincent Ladeuil, #430749)
1800
:Codename: Stability First
1803
The first of our new ongoing bugfix-only stable releases has arrived. It
1804
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
1805
include any of the feature development in the 2.1.0 series.
1811
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1812
filename will issue a warning and skip over those files.
1813
(Robert Collins, #3918)
1815
* bzr will attempt to authenticate with SSH servers that support
1816
``keyboard-interactive`` auth but not ``password`` auth when using
1817
Paramiko. (Andrew Bennetts, #433846)
1819
* Fixed fetches from a stacked branch on a smart server that were failing
1820
with some combinations of remote and local formats. This was causing
1821
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
1823
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
1824
on branches via a smart server. (Andrew Bennetts, #389413)
1826
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
1827
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
1828
assumed that ``abspath()`` returned a path that did not have a trailing
1829
``/``, but that is not true when working at the root of the filesystem.
1830
(John Arbash Meinel, Jason Spashett, #322807)
1832
* Hide deprecation warnings for 'final' releases for python2.6.
1833
(John Arbash Meinel, #440062)
1835
* Improve the time for ``bzr log DIR`` for 2a format repositories.
1836
We had been using the same code path as for <2a formats, which required
1837
iterating over all objects in all revisions.
1838
(John Arbash Meinel, #374730)
1840
* Make sure that we unlock the tree if we fail to create a TreeTransform
1841
object when doing a merge, and there is limbo, or pending-deletions
1842
directory. (Gary van der Merwe, #427773)
1844
* Occasional IndexError on renamed files have been fixed. Operations that
1845
set a full inventory in the working tree will now go via the
1846
apply_inventory_delta code path which is simpler and easier to
1847
understand than dirstates set_state_from_inventory method. This may
1848
have a small performance impact on operations built on _write_inventory,
1849
but such operations are already doing full tree scans, so no radical
1850
performance change should be observed. (Robert Collins, #403322)
1852
* Retrieving file text or mtime from a _PreviewTree has good performance when
1853
there are many changes. (Aaron Bentley)
1855
* The CHK index pages now use an unlimited cache size. With a limited
1856
cache and a large project, the random access of chk pages could cause us
1857
to download the entire cix file many times.
1858
(John Arbash Meinel, #402623)
1860
* When a file kind becomes unversionable after being added, a sensible
1861
error will be shown instead of a traceback. (Robert Collins, #438569)
1866
* Improved README. (Ian Clatworthy)
1868
* Improved upgrade documentation for Launchpad branches.
1876
:Codename: Instant Karma
1878
This release of Bazaar makes the 2a (previously 'brisbane-core') format
1879
the default when new branches or repositories are created. This format is
1880
substantially smaller and faster for many operations. Most of the work in
1881
this release focuses on bug fixes and stabilization, covering both 2a and
1882
previous formats. (See the Upgrade Guide for information on migrating
1885
This release also improves the documentation content and presentation,
1886
including adding Windows HtmlHelp manuals.
1888
The Bazaar team decided that 2.0 will be a long-term supported release,
1889
with bugfix-only 2.0.x releases based on it, continuing for at least six
1890
months or until the following stable release.
1892
Changes from 2.0.0rc2 to final
1893
******************************
1895
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
1896
that "want to happen on the 2.0.x stable series" versus things that want
1897
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1898
micro = 0.) (John Arbash Meinel)
1904
:2.0.0rc2: 2009-09-10
1909
* Added post_commit hook for mutable trees. This allows the keywords
1910
plugin to expand keywords on files changed by the commit.
1911
(Ian Clatworthy, #408841)
1916
* Bazaar's native protocol code now correctly handles EINTR, which most
1917
noticeably occurs if you break in to the debugger while connected to a
1918
bzr+ssh server. You can now can continue from the debugger (by typing
1919
'c') and the process continues. However, note that pressing C-\ in the
1920
shell may still kill the SSH process, which is bug 162509, so you must
1921
sent a signal to the bzr process specifically, for example by typing
1922
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1924
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
1925
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
1926
(Robert Collins, #416732)
1928
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
1929
format" (John Arbash Meinel, #424392)
1931
* ``bzr log stacked-branch`` shows the full log including
1932
revisions that are in the fallback repository. (Regressed in 2.0rc1).
1933
(John Arbash Meinel, #419241)
1935
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1936
traceback. (Martin Pool, #109115)
1938
* Conversion to 2a will create a single pack for all the new revisions (as
1939
long as it ran without interruption). This improves both ``bzr upgrade``
1940
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
1941
The autopack logic that occurs every 100 revisions during local
1942
conversions was not returning that pack's identifier, which resulted in
1943
the partial packs created during the conversion not being consolidated
1944
at the end of the conversion process. (Robert Collins, #423818)
1946
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
1947
Groups that are seen as 'underutilized' will be repacked on-the-fly.
1948
This means that when the source is fully packed, there is minimal
1949
overhead during the fetch, but if the source is poorly packed the result
1950
is a fairly well packed repository (not as good as 'bzr pack' but
1951
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
1953
* Fix a potential segmentation fault when doing 'log' of a branch that had
1954
ghosts in its mainline. (Evaluating None as a tuple is bad.)
1955
(John Arbash Meinel, #419241)
1957
* ``groupcompress`` sort order is now more stable, rather than relying on
1958
``topo_sort`` ordering. The implementation is now
1959
``KnownGraph.gc_sort``. (John Arbash Meinel)
1961
* Local data conversion will generate correct deltas. This is a critical
1962
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
1963
converting repositories. (Robert Collins, #422849)
1965
* Network streams now decode adjacent records of the same type into a
1966
single stream, reducing layering churn. (Robert Collins)
1968
* Prevent some kinds of incomplete data from being committed to a 2a
1969
repository, such as revisions without inventories, a missing chk_bytes
1970
record for an inventory, or a missing text referenced by an inventory.
1971
(Andrew Bennetts, #423506, #406687)
1976
* Fix assertion error about "_remember_remote_is_before" when pushing to
1977
older smart servers.
1978
(Andrew Bennetts, #418931)
1980
* Help on hooks no longer says 'Not deprecated' for hooks that are
1981
currently supported. (Ian Clatworthy, #422415)
1983
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
1984
user documentation. The HTML documentation is better broken up into
1985
topics. (Ian Clatworthy)
1987
* The developer and foreign language documents are now separated
1988
out so that searching in the HTML and CHM files produces more
1989
useful results. (Ian Clatworthy)
1991
* The main table of contents now provides links to the new Migration Docs
1992
and Plugins Guide. (Ian Clatworthy)
1998
:Codename: no worries
1999
:2.0.0rc1: 2009-08-26
2001
Compatibility Breaks
2002
********************
2004
* The default format for bzr is now ``2a``. This format brings many
2005
significant performance and size improvements. bzr can pull from
2006
any existing repository into a ``2a`` one, but can only transfer
2007
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
2008
has more information about this change. (Robert Collins)
2010
* On Windows auto-detection of Putty's plink.exe is disabled.
2011
Default SSH client for Windows is paramiko. User still can force
2012
usage of plink if explicitly set environment variable BZR_SSH=plink.
2013
(#414743, Alexander Belchenko)
2018
* ``bzr branch --switch`` can now switch the checkout in the current directory
2019
to the newly created branch. (Lukáš Lalinský)
2024
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2025
(Jason Spashett, #76616)
2027
* Fetches were being requested in 'groupcompress' order, but weren't
2028
recombining the groups. Thus they would 'fragment' to get the correct
2029
order, but not 'recombine' to actually benefit from it. Until we get
2030
recombining to work, switching to 'unordered' fetches avoids the
2031
fragmentation. (John Arbash Meinel, #402645)
2033
* Fix a pycurl related test failure on karmic by recognizing an error
2034
raised by newer versions of pycurl.
2035
(Vincent Ladeuil, #306264)
2037
* Fix a test failure on karmic by making a locale test more robust.
2038
(Vincent Ladeuil, #413514)
2040
* Fix IndexError printing CannotBindAddress errors.
2041
(Martin Pool, #286871)
2043
* Fix "Revision ... not present" errors when upgrading stacked branches,
2044
or when doing fetches from a stacked source to a stacked target.
2045
(Andrew Bennetts, #399140)
2047
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
2048
batches together small fetches from 2a repositories, rather than
2049
fetching only a few hundred bytes at a time.
2050
(Andrew Bennetts, #402657)
2055
* A better description of the platform is shown in crash tracebacks, ``bzr
2056
--version`` and ``bzr selftest``.
2057
(Martin Pool, #409137)
2059
* bzr can now (again) capture crash data through the apport library,
2060
so that a single human-readable file can be attached to bug reports.
2061
This can be disabled by using ``-Dno_apport`` on the command line, or by
2062
putting ``no_apport`` into the ``debug_flags`` section of
2064
(Martin Pool, Robert Collins, #389328)
2066
* ``bzr push`` locally on windows will no longer give a locking error with
2067
dirstate based formats. (Robert Collins)
2069
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
2070
(Robert Collins, #305006)
2072
* Commit of specific files no longer prevents using the iter_changes
2073
codepath. On 2a repositories, commit of specific files should now be as
2074
fast, or slightly faster, than a full commit. (Robert Collins)
2076
* The internal core code that handles specific file operations like
2077
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
2078
include the parent directories if they have altered, and when a
2079
directory stops being a directory its children are always included. This
2080
fixes a number of causes for ``InconsistentDelta`` errors, and permits
2081
faster commit of specific paths. (Robert Collins, #347649)
2086
* New developer documentation for content filtering.
2092
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2093
classes changed to manage lock lifetime of the trees they open in a way
2094
consistent with reader-exclusive locks. (Robert Collins, #305006)
2102
:Codename: nein nein nein!
2105
This release fixes two small but worthwhile bugs relevant to users on
2106
Microsoft Windows: some commands that failed on with locking errors will
2107
now work, and a bug that caused poor performance after committing a file
2108
with line-ending conversion has now been fixed. It also fixes a bug in
2109
pushing to older servers.
2114
* Fixed a problem where using content filtering and especially end-of-line
2115
conversion will commit too many copies a file.
2116
(Martin Pool, #415508)
2118
* Fix assertion error about ``_remember_remote_is_before`` in
2119
``set_tags_bytes`` when pushing to older smart servers.
2120
(Andrew Bennetts, Alexander Belchenko, #418931)
2125
* ``bzr push`` locally on Windows will no longer give a locking error with
2126
dirstate based formats. (Robert Collins)
2128
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
2129
(Robert Collins, #305006)
2134
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2135
classes changed to manage lock lifetime of the trees they open in a way
2136
consistent with reader-exclusive locks. (Robert Collins, #305006)
2138
* ``Tree.path_content_summary`` may return a size of None, when called on
2139
a tree with content filtering where the size of the canonical form
2140
cannot be cheaply determined. (Martin Pool)
2142
* When manually creating transport servers in test cases, a new helper
2143
``TestCase.start_server`` that registers a cleanup and starts the server
2144
should be used. (Robert Collins)
2149
Compatibility Breaks
2150
********************
2152
* Committing directly to a stacked branch from a lightweight checkout will
2153
no longer work. In previous versions this would appear to work but would
2154
generate repositories with insufficient data to create deltas, leading
2155
to later errors when branching or reading from the repository.
2156
(Robert Collins, bug #375013)
2164
* Fetching from 2a branches from a version-2 bzr protocol would fail to
2165
copy the internal inventory pages from the CHK store. This cannot happen
2166
in normal use as all 2a compatible clients and servers support the
2167
version-3 protocol, but it does cause test suite failures when testing
2168
downlevel protocol behaviour. (Robert Collins)
2170
* Fix a test failure on karmic by making a locale test more robust.
2171
(Vincent Ladeuil, #413514)
2173
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
2174
fully packed 2a repository. (Andrew Bennetts, #382463)
2176
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2177
(Jason Spashett, #76616)
2179
* Properly handle fetching into a stacked branch while converting the
2180
data, especially when there are also ghosts. The code was filling in
2181
parent inventories incorrectly, and also not handling when one of the
2182
parents was a ghost. (John Arbash Meinel, #402778, #412198)
2184
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
2185
inventory pages when appropriate (by falling back to the vfs stream
2186
source). (Andrew Bennetts, #406686)
2188
* StreamSource generates rich roots from non-rich root sources correctly
2189
now. (Andrew Bennetts, #368921)
2191
* When deciding whether a repository was compatible for upgrading or
2192
fetching, we previously incorrectly checked the default repository
2193
format for the bzrdir format, rather than the format that was actually
2194
present on disk. (Martin Pool, #408824)
2199
* A better description of the platform is shown in crash tracebacks, ``bzr
2200
--version`` and ``bzr selftest``.
2201
(Martin Pool, #409137)
2203
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
2204
smart server are more efficient now. They send inventory deltas rather
2205
than full inventories. The smart server has two new requests,
2206
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
2207
support this. (Andrew Bennetts, #374738, #385826)
2209
* Extracting the full ancestry and computing the ``merge_sort`` is now
2210
significantly faster. This effects things like ``bzr log -n0``. (For
2211
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
2212
(John Arbash Meinel)
2223
* ``-Dstrict_locks`` can now be used to check that read and write locks
2224
are treated properly w.r.t. exclusivity. (We don't try to take an OS
2225
read lock on a file that we already have an OS write lock on.) This is
2226
now set by default for all tests, if you have a test which cannot be
2227
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
2228
compatibility knob. (John Arbash Meinel)
2230
* InterDifferingSerializer is now only used locally. Other fetches that
2231
would have used InterDifferingSerializer now use the more network
2232
friendly StreamSource, which now automatically does the same
2233
transformations as InterDifferingSerializer. (Andrew Bennetts)
2235
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
2236
are implemented in pyrex and significantly faster. This is exposed along
2237
with ``CombinedGraphIndex.find_ancestry()`` as
2238
``VersionedFiles.get_known_graph_ancestry(keys)``.
2239
(John Arbash Meinel)
2241
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
2242
protocols. (Robert Collins)
2244
* The index code now has some specialized routines to extract the full
2245
ancestry of a key in a more efficient manner.
2246
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
2247
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
2253
* Install the test ssl certificate and key so that installed bzr
2254
can run the https tests. (Denys Duchier, #392401)
2260
:Codename: little traveller
2262
:1.18rc1: 2009-08-10
2264
This release of Bazaar marches on towards the 2.0 release in which the 2a
2265
'brisbane-core' format becomes generally recommended. Most of the work in
2266
this release now focusses on bug fixes and stabilization, covering both 2a
2267
and previous formats. There is a new text-mode interactive merge feature,
2268
a new guide to migration to 2a format in the user documentation, and
2269
pushing branches to a smart server is now much faster.
2271
The Bazaar team decided that 2.0 will be a long-term supported release,
2272
with bugfix-only releases based on it continuing for at least six months
2273
or until the following stable release.
2275
There are no changes from 1.18rc1 to 1.18.
2280
* ``bzr merge --interactive`` applies a user-selected portion of the
2281
merge. The UI is similar to ``shelve``. (Aaron Bentley)
2283
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
2284
``--unstacked`` to change stacking of a branch.
2285
(Martin Pool, #391411)
2290
* Annotating on a stacked branch will now succeed in simple scenarios.
2291
There are still some complex scenarios where it will fail (bug #399884)
2292
(John Arbash Meinel, #393366)
2294
* A progress bar is no longer left dangling when ``bzr selftest``
2295
completes, and the progress bar updates with zero latency so the
2296
displayed test name is always the one that's actually running.
2297
(Martin Pool, #123688)
2299
* Authenticating against an ssh server now uses ``auth_none`` to determine
2300
if password authentication is even supported. This fixes a bug where
2301
users would be prompted for a launchpad password, even though launchpad
2302
only supports publickey authentication. (John Arbash Meinel, #375867)
2304
* BranchBuilder now accepts timezone to avoid test failures in countries far
2305
from GMT. (Vincent Ladeuil, #397716)
2307
* ``bzr commit`` no longer saves the unversioning of missing files until
2308
the commit has completed on the branch. This means that aborting a
2309
commit that found a missing file will leave the tree unedited.
2310
(Robert Collins, #282402)
2312
* ``bzr mv`` no longer takes out branch locks, which allows it to work
2313
when the branch is readonly. (Robert Collins, #216541)
2315
* ``bzr revert .`` no longer generates an InconsistentDelta error when
2316
there are missing subtrees. (Robert Collins, #367632)
2318
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
2319
do to internal changes necessary to support this, older clients will
2320
fail when trying to insert them. For newer clients, the bundle can be
2321
used to apply the changes to any rich-root compatible format.
2322
(John Arbash Meinel, #393349)
2324
* Cope with FTP servers that don't support restart/append by falling back
2325
to reading and then rewriting the whole file, such as TahoeLAFS. (This
2326
fallback may be slow for some access patterns.) (Nils Durner, #294709)
2328
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
2329
external diff client. This at least allows supporting filenames that are
2330
not ascii, but are present in the current locale. Ideally we would be
2331
able to pass the Unicode path, but that would be client dependent.
2332
(John Arbash Meinel, #382709)
2334
* Fix a compile bug on Solaris having to do with const and
2335
pointer-to-pointers. (John Arbash Meinel, #408441)
2337
* Fixed a NameError that occurs when merging or pulling from a URL that
2338
causes a redirection loop when bzr tries to read a URL as a bundle.
2339
(Andrew Bennetts, #400847)
2341
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
2342
running send and similar commands on 2a formats.
2343
(Martin Pool, #408201)
2345
* Fix crash in some invocations of ``bzr status`` in format 2a.
2346
(Martin Pool, #403523)
2348
* Fixed export to existing directory: if directory is empty then export
2349
will succeed, otherwise it fails with error.
2350
(Alexander Belchenko, #406174)
2352
* Fixed spurious "Source branch does not support stacking" warning when
2353
pushing. (Andrew Bennetts, #388908)
2355
* Fixed spurious transport activity indicator appearing while tests are
2356
running. (Martin Pool, #343532)
2358
* Merge now correctly handles empty right-hand revision specs.
2359
(Aaron Bentley, #333961)
2361
* Renames to lexographically lower basenames in trees that have never been
2362
committed to will no longer corrupt the dirstate. This was caused by an
2363
bug in the dirstate update_minimal method. (Robert Collins, #395556)
2365
* Requests for unknown methods no longer cause the smart server to log
2366
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
2367
``do_end``. (Andrew Bennetts, #338561)
2369
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
2371
* Streaming from bzr servers where there is a chain of stacked branches
2372
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
2374
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
2375
always forces progress bars either on or off respectively. Otherwise,
2376
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
2377
bzr always uses the 'text' user interface when run as a command, so
2378
``BZR_USE_TEXT_UI`` is no longer needed.
2379
(Martin Pool, #339385, #387717)
2381
* The optional ``_knit_load_data_pyx`` C extension was never being
2382
imported. This caused significant slowdowns when reading data from
2383
repositories. (Andrew Bennetts, #405653)
2385
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
2386
supported at the moment on workingtree formats that can do content
2387
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
2388
bzr now says so, rather than just ignoring the option. (Martin Pool)
2390
* There was a bug in ``osutils.relpath`` that was only triggered on
2391
Windows. Essentially if you were at the root of a drive, and did
2392
something to a branch/repo on another drive, we would go into an
2393
infinite loop while trying to find a 'relative path'.
2394
(John Arbash Meinel, #394227)
2396
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
2397
were present in a parent tree but renamed in the working tree.
2398
(Robert Collins, #187207)
2403
* Can now rename/move files even if they have been removed from the inventory.
2406
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
2407
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
2408
than VFS methods. For example, pushes of small branches with tags take
2409
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
2411
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
2412
the same way that sending Ctrl-\\ does on other platforms.
2413
(John Arbash Meinel)
2418
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
2423
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
2424
need to subclass or create a specific class, or better yet the existing
2425
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
2426
user interaction at all, rather than trying to read from stdin but not
2427
writing any output, which would be strange if reading prompts or
2428
passwords. (Martin Pool)
2430
* New TransformPreview.commit() allows committing without a working tree.
2433
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
2436
* ProgressTasks now prefer to talk direct to their ProgressView not to the
2440
* ``WorkingTree._check`` now requires a references dict with keys matching
2441
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
2446
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
2447
reading the entries along the path, reducing work to lookup ids from
2448
paths. (Robert Collins)
2450
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
2451
as new a key which was already mapped. (Robert Collins)
2453
* Inventory delta application catches more cases of corruption and can
2454
prevent corrupt deltas from affecting consistency of data structures on
2455
disk. (Robert Collins)
2457
* --subunit support now adds timestamps if the subunit version supports
2458
it. (Robert Collins)
2460
* The Windows all-in-one installer now bundles the PyQt image format
2461
plugins, which allows previewing more images as part of 'qdiff'.
2462
(Alexander Belchenko)
2468
* Merge directive cherrypick tests must use the same root id.
2469
(Martin Pool, #409684)
2471
* Spurious failure in ``check`` tests on rich-root formats fixed.
2472
(Martin Pool, #408199)
2474
* The ``bzrlib.tests.TextTestRunner`` will no longer call
2475
``countTestsCases`` on the test being run. Progress information is
2476
instead handled by having the test passed in call ``result.progress``
2477
before running its contents. This improves the behaviour when using
2478
``TextTestRunner`` with test suites that don't support
2479
``countTestsCases``. (Robert Collins)
2482
bzr 1.17.1 (unreleased)
2483
#######################
2488
* The optional ``_knit_load_data_pyx`` C extension was never being
2489
imported. This caused significant slowdowns when reading data from
2490
knit format repositories. (Andrew Bennetts, #405653)
2495
:Codename: so-late-its-brunch
2496
:1.17rc1: 2009-07-13
2500
Bazaar continues to blaze a straight and shining path to the 2.0 release and
2501
the elevation of the ``2a`` beta format to the full glory of "supported and
2504
Highlights in this release include greatly reduced memory consumption during
2505
commits, faster ``ls``, faster ``annotate``, faster network operations if
2506
you're specifying a revision number and the final destruction of those
2507
annoying progress bar artifacts.
2510
Changes from 1.17rc1 to 1.17final
2511
*********************************
2513
* Change an extension to call the python ``frozenset()`` rather than the C
2514
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
2515
C api. (John Arbash Meinel, #399366)
2517
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
2518
``tools/generate_docs.py`` to allow everything to be built on Windows.
2519
(John Arbash Meinel, #399356)
2521
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
2522
directory before serving it. (Andrew Bennetts, #400535)
2525
Compatibility Breaks
2526
********************
2528
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
2529
instead of "product" which is the correct Launchpad terminology. The
2530
--product option is deprecated and users should switch to using --project.
2531
(Neil Martinsen-Burrell, #238764)
2537
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
2538
are present in the working tree (if one is present) and no revision is
2539
specified. The configuration option ``push_strict`` can be used to set the
2540
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
2542
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
2543
show revision info for the working tree instead of the branch.
2544
(Matthew Fuller, John Arbash Meinel)
2546
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
2547
are present in the working tree and no revision is specified. The
2548
configuration option ``send_strict`` can be used to set the default for this
2550
(Vincent Ladeuil, #206577)
2552
* ``bzr switch --create-branch/-b`` can now be used to create and switch
2553
to a new branch. Supplying a name without a ``/`` will create the branch
2554
relative to the existing branch. (similar to how ``bzr switch name``
2555
works when the branch already exists.) (John Arbash Meinel)
2561
* Accept uppercase "Y/N" to prompts such as from break lock.
2562
(#335182, Tim Powell, Martin Pool)
2564
* Add documentation about diverged branches and how to fix them in the
2565
centralized workflow with local commits. Mention ``bzr help
2566
diverged-branches`` when a push fails because the branches have
2567
diverged. (Neil Martinsen-Burrell, #269477)
2569
* Annotate would sometimes 'latch on' to trivial lines, causing important
2570
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
2572
* Automatic format upgrades triggered by default stacking policies on a
2573
1.16rc1 (or later) smart server work again.
2574
(Andrew Bennetts, #388675)
2576
* Avoid progress bar artifacts being left behind on the screen.
2577
(Martin Pool, #321935)
2579
* Better message in ``bzr split`` error suggesting a rich root format.
2580
(Neil Martinsen-Burrell, #220067)
2582
* ``Branch.set_append_revisions_only`` now works with branches on a smart
2583
server. (Andrew Bennetts, #365865)
2585
* By default, ``bzr branch`` will fail if the target directory exists, but
2586
does not already have a control directory. The flag ``--use-existing-dir``
2587
will allow operation to proceed. (Alexander Belchenko, #307554)
2589
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
2592
* Fetch between repositories does not error if they have inconsistent data
2593
that should be irrelevant to the fetch operation. (Aaron Bentley)
2595
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
2596
of a remote repository.
2597
(Jelmer Vernooij, #332194)
2599
* Fix bug in decoding v3 smart server messages when receiving multiple
2600
lots of excess bytes after an end-of-message.
2603
* Force deletion of readonly files during merge, update and other tree
2605
(Craig Hewetson, Martin Pool, #218206)
2607
* Force socket shutdown in threaded http test servers to avoid client hangs
2608
(pycurl). (Vincent Ladeuil, #383920).
2610
* ``LRUCache`` will maintain the linked list pointers even if a nodes
2611
cleanup function raises an exception. (John Arbash Meinel, #396838)
2613
* Progress bars are now suppressed again when the environment variable
2614
``BZR_PROGRESS_BAR`` is set to ``none``.
2615
(Martin Pool, #339385)
2617
* Reduced memory consumption during ``bzr commit`` of large files. For
2618
pre 2a formats, should be down to ~3x the size of a file.
2619
For ``--2a`` format repositories, it is down to the size of the file
2620
content plus the size of the compressed text. Related to bug #109114.
2621
(John Arbash Meinel)
2623
* Set hidden attribute on .bzr directory below unicode path should never
2624
fail with error. The operation should succeed even if bzr unable to set
2625
the attribute. (Alexander Belchenko, related to bug #335362).
2627
* Stacking will no longer accept requests to stack on the same
2628
branch/repository. Existing branches that incorrectly reference the same
2629
repository in a stacking configuration will now raise
2630
UnstackableLocationError when the branch is opened. This can be fixed by
2631
removing the stacking location inside ``.bzr/branch``.
2632
(Robert Collins, #376243)
2634
* The ``log+`` decorator, useful in debugging or profiling, could cause
2635
"AttributeError: 'list' object has no attribute 'next'". This is now
2636
fixed. The log decorator no longer shows the elapsed time or transfer
2637
rate because they're available in the log prefixes and the transport
2638
activity display respectively.
2639
(Martin Pool, #340347)
2641
* Unshelve works correctly when multiple zero-length files are present on
2642
the shelf. (Aaron Bentley, #363444)
2644
* Progress bars no longer show the network transport scheme or direction.
2647
* launchpad-login now respects the 'verbose' option.
2648
(Jonathan Lange, #217031)
2654
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
2655
possible to write a deprecation wrapper, but the variable will be
2656
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
2657
instead. (Alexander Belchenko)
2659
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
2660
three new hook points: ``get_command``, ``get_missing_command`` and
2661
``list_commands``, which allow just-in-time command name provision
2662
rather than requiring all command names be known a-priori.
2665
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
2666
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
2668
* ``graph.KnownGraph`` has been added. This is a class that can give
2669
answers to ``heads()`` very quickly. However, it has the assumption that
2670
the whole graph has already been loaded. This is true during
2671
``annotate`` so it is used there with good success (as much as 2x faster
2672
for files with long ancestry and 'cherrypicked' changes.)
2673
(John Arbash Meinel, Vincent Ladeuil)
2675
* OS file locks are now taken out using ``CreateFile`` rather than
2676
``LockFileEx`` on Windows. The locking remains exclusive with
2677
``LockFileEx`` but now it also works on older versions of Windows (such
2678
as Win98). (Martin <gzlist>)
2680
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
2681
than the ``Packer`` code. The user visible change is that we now
2682
properly fetch the minimum number of texts for non-smart fetching.
2683
(John Arbash Meinel)
2686
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
2687
the repository as a single string, rather than a list of lines. This can
2688
improve memory overhead and performance of committing large files.
2689
(Currently a private api, used only by commit). (John Arbash Meinel)
2695
* ``bzr annotate`` can now be significantly faster. The time for
2696
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
2697
histories and lots of 'duplicate insertions' will be improved more than
2698
others. (John Arbash Meinel, Vincent Ladeuil)
2700
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
2701
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
2702
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
2704
* Improve "Path(s) are not versioned" error reporting for some commands.
2707
* Initial commit performance in ``--2a`` repositories has been improved by
2708
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
2710
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
2711
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
2712
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
2714
* ``revision-info`` now properly aligns the revnos/revids in the output
2715
and doesn't traceback when given revisions not in the current branch.
2716
Performance is also significantly improved when requesting multiple revs
2717
at once. (Matthew Fuller, John Arbash Meinel)
2719
* Tildes are no longer escaped by Transports. (Andy Kilner)
2725
* Avoid bad text wrapping in generated documentation. Slightly better
2726
formatting in the user reference.
2727
(Martin Pool, #249908)
2729
* Minor clarifications to the help for End-Of-Line conversions.
2735
* Removed overspecific error class ``InvalidProgressBarType``.
2738
* The method ``ProgressView._show_transport_activity`` is now
2739
``show_transport_activity`` because it's part of the contract between
2740
this class and the UI. (Martin Pool)
2746
:Released: 2009-06-26
2748
End user testing of the 2a format revealed two serious bugs. The first,
2749
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
2750
This meant that commits or pushes to 2a-format repositories failed
2753
The second bug, #390563, caused the smart server to raise AbsentContentFactory
2754
when streaming 2a stacked 2a-format branches. This particularly affected
2755
branches stored on Launchpad in the 2a format.
2757
Both of these bugs cause command failures only, neither of them cause data
2758
corruption or data loss. And, of course, both of these bugs are now fixed.
2763
* We now properly request a more minimal set of file texts when fetching
2764
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
2766
* Repositories using CHK pages (which includes the new 2a format) will no
2767
longer error during commit or push operations when an autopack operation
2768
is triggered. (Robert Collins, #365615)
2770
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
2771
of referenced nodes rather than the *union* to determine what
2772
uninteresting pages we still need to look at. Prior to this,
2773
incrementally pushing to stacked branch would push the minimal data, but
2774
fetching everything would request extra texts. There are some unhandled
2775
cases wrt trees of different depths, but this fixes the common cases.
2776
(Robert Collins, John Arbash Meinel, #390563)
2778
* ``GroupCompress`` repositories now take advantage of the pack hints
2779
parameter to permit cross-format fetching to incrementally pack the
2780
converted data. (Robert Collins)
2782
* ``Repository.commit_write_group`` now returns opaque data about what
2783
was committed, for passing to the ``Repository.pack``. Repositories
2784
without atomic commits will still return None. (Robert Collins)
2786
* ``Repository.pack`` now takes an optional ``hint`` parameter
2787
which will support doing partial packs for repositories that can do
2788
that. (Robert Collins)
2790
* RepositoryFormat has a new attribute 'pack_compresses' which is True
2791
when doing a pack operation changes the compression of content in the
2792
repository. (Robert Collins)
2794
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
2795
``Repository.pack`` with the hint returned by
2796
``Repository.commit_write_group`` if the formats were different and the
2797
repository can increase compression by doing a pack operation.
2798
(Robert Collins, #376748)
2803
:Codename: yesterday-in-california
2804
:1.16rc1: 2009-06-11
2807
This version of Bazaar contains the beta release of the new ``2a`` repository
2808
format, suitable for testing by fearless, advanced users. This format or an
2809
updated version of it will become the default format in Bazaar 2.0. Please
2810
read the NEWS entry before even thinking about upgrading to the new format.
2812
Also included are speedups for many operations on huge projects, a bug fix for
2813
pushing stacked new stacked branches to smart servers and the usual bevy of
2814
bug fixes and improvements.
2817
Changes from 1.16rc1 to 1.16final
2818
*********************************
2820
* Fix the nested tree flag check so that upgrade from development formats to
2821
2a can work correctly.
2822
(Jelmer Vernooij, #388727)
2824
* Automatic format upgrades triggered by default stacking policies on a
2825
1.16rc1 (or later) smart server work again.
2826
(Andrew Bennetts, #388675)
2829
Compatibility Breaks
2830
********************
2832
* Display prompt on stderr (instead of stdout) when querying users so
2833
that the output of commands can be safely redirected.
2834
(Vincent Ladeuil, #376582)
2840
* A new repository format ``2a`` has been added. This is a beta release
2841
of the brisbane-core (aka group-compress) project. This format now
2842
suitable for wider testing by advanced users willing to deal with some
2843
bugs. We would appreciate test reports, either positive or negative.
2844
Format 2a is substantially smaller and faster for many operations on
2845
many trees. This format or an updated version will become the default
2848
This is a rich-root format, so this repository format can be used with
2849
bzr-svn. Bazaar branches in previous non-rich-root formats can be
2850
converted (including by merge, push and pull) to format 2a, but not vice
2851
versa. We recommend upgrading previous development formats to 2a.
2853
Upgrading to this format can take considerable time because it expands
2854
and more concisely repacks the full history.
2856
If you use stacked branches, you must upgrade the stacked branches
2857
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
2859
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
2860
but using a Revision serializer using bencode rather than XML.
2861
(Jelmer Vernooij, John Arbash Meinel)
2863
* mail_client=claws now supports --body (and message body hooks). Also uses
2864
configured from address. (Barry Warsaw)
2870
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
2871
bugs with stacking and non default formats.)
2872
(John Arbash Meinel, #373455)
2874
* ``--development6-rich-root`` delays generating a delta index for the
2875
first object inserted into a group. This has a beneficial impact on
2876
``bzr commit`` since each committed texts goes to its own group. For
2877
committing a 90MB file, it drops peak memory by about 200MB, and speeds
2878
up commit from 7s => 4s. (John Arbash Meinel)
2880
* Numerous operations are now faster for huge projects, i.e. those
2881
with a large number of files and/or a large number of revisions,
2882
particularly when the latest development format is used. These
2883
operations (and improvements on OpenOffice.org) include:
2885
* branch in a shared repository (2X faster)
2886
* branch --no-tree (100X faster)
2892
* Pyrex version of ``bencode`` support. This provides optimized support
2893
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
2894
``bzrlib.utils.bencode`` is now deprecated.
2895
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
2901
* Bazaar can now pass attachment files to the mutt email client.
2902
(Edwin Grubbs, #384158)
2904
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
2905
see which files can also be added. (Jason Spashett, #76616)
2907
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
2908
Also, the ``Branch.revision_history()`` API now works in the same
2909
situation. (Andrew Bennetts, #380314)
2911
* ``bzr serve`` on Windows no longer displays a traceback simply because a
2912
TCP client disconnected. (Andrew Bennetts)
2914
* Clarify the rules for locking and fallback repositories. Fix bugs in how
2915
``RemoteRepository`` was handling fallbacks along with the
2916
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
2918
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
2919
branch. Not often triggered, because it required ghosts to be part of
2920
the fetched revisions, not in the stacked-on ancestry.
2921
(John Arbash Meinel)
2923
* Fix status and commit to work with content filtered trees, addressing
2924
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
2926
* Fix problem of "directory not empty" when contending for a lock over
2927
sftp. (Martin Pool, #340352)
2929
* Fix rule handling so that eol is optional, not mandatory.
2930
(Ian Clatworthy, #379370)
2932
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
2933
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
2934
1.16, but required changes to the network protocol, so the
2935
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
2936
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
2937
still work with a 1.16 server as they will fallback to slower (and
2939
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
2941
* Reconcile can now deal with text revisions that originated in revisions
2942
that are ghosts. (Jelmer Vernooij, #336749)
2944
* Support cloning of branches with ghosts in the left hand side history.
2945
(Jelmer Vernooij, #248540)
2947
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
2948
helpful message to the trace file, unless the temp directory really was
2949
removed (which would be very strange). Since the diff operation has
2950
succeeded from the user's perspective, no output is written to stderr
2951
or stdout. (Maritza Mendez, #363837)
2953
* Translate errors received from a smart server in response to a
2954
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2955
This was causing tracebacks even for mundane errors like
2956
``PermissionDenied``. (Andrew Bennetts, #381329)
2961
* Added directory structure and started translation of docs in Russian.
2962
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
2963
Volodymyr Kotulskyi)
2968
* Added osutils.parent_directories(). (Ian Clatworthy)
2970
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
2971
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
2972
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
2974
* ``graph.StackedParentsProvider`` is now a public API, replacing
2975
``graph._StackedParentsProvider``. The api is now considered stable and ready
2976
for external users. (Gary van der Merwe)
2978
* ``bzrlib.user_encoding`` is deprecated in favor of
2979
``get_user_encoding``. (Alexander Belchenko)
2981
* TreeTransformBase no longer assumes that limbo is provided via disk.
2982
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
2987
* Remove ``weave.py`` script for accessing internals of old weave-format
2988
repositories. (Martin Pool)
2993
* ``make check`` no longer repeats the test run in ``LANG=C``.
2994
(Martin Pool, #386180)
2996
* The number of cores is now correctly detected on OSX. (John Szakmeister)
2998
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
3000
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
3005
:1.15rc1: 2009-05-16
3009
The smart server will no longer raise 'NoSuchRevision' when streaming content
3010
with a size mismatch in a reconstructed graph search. New command ``bzr
3011
dpush``. Plugins can now define their own annotation tie-breaker when two
3012
revisions introduce the exact same line.
3014
Changes from 1.15.1 to 1.15.2
3015
*****************************
3017
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
3018
(Alexander Belchenko)
3020
Changes from 1.15final to 1.15.1
3021
*********************************
3023
* Translate errors received from a smart server in response to a
3024
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
3025
This was causing tracebacks even for mundane errors like
3026
``PermissionDenied``. (Andrew Bennetts, #381329)
3028
Changes from 1.15rc1 to 1.15final
3029
*********************************
3033
Compatibility Breaks
3034
********************
3036
* ``bzr ls`` is no longer recursive by default. To recurse, use the
3037
new ``-R`` option. The old ``--non-recursive`` option has been removed.
3038
If you alias ``ls`` to ``ls -R``, you can disable recursion using
3039
``--no-recursive`` instead. (Ian Clatworthy)
3044
* New command ``bzr dpush`` that can push changes to foreign
3045
branches (svn, git) without setting custom bzr-specific metadata.
3048
* The new development format ``--development6-rich-root`` now supports
3049
stacking. We chose not to use a new format marker, since old clients
3050
will just fail to open stacked branches, the same as if we used a new
3051
format flag. (John Arbash Meinel, #373455)
3053
* Plugins can now define their own annotation tie-breaker when two revisions
3054
introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
3055
Be aware though that this is temporary, private (as indicated by the leading
3056
'_') and a first step to address the problem. (Vincent Ladeuil, #348459)
3058
* New command ``bzr dpush`` that can push changes to foreign
3059
branches (svn, git) without setting custom bzr-specific metadata.
3062
* ``bzr send`` will now check the ``child_submit_format`` setting in
3063
the submit branch to determine what format to use, if none was
3064
specified on the command-line. (Jelmer Vernooij)
3069
* -Dhpss output now includes the number of VFS calls made to the remote
3070
server. (Jonathan Lange)
3072
* ``--coverage`` works for code running in threads too.
3073
(Andrew Bennets, Vincent Ladeuil)
3075
* ``bzr pull`` now has a ``--local`` option to only make changes to the
3076
local branch, and not the bound master branch.
3077
(Gary van der Merwe, #194716)
3079
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
3084
* Adding now works properly when path contains a symbolic link.
3085
(Geoff Bache, #183831)
3087
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
3089
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
3090
line, and the other side modifies the line. (John Arbash Meinel, #328171)
3092
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
3093
(Martin von Gagern, #248932)
3095
* ``bzr send`` works to send emails again using MAPI.
3096
(Neil Martinsen-Burrell, #346998)
3098
* Check for missing parent inventories in StreamSink. This prevents
3099
incomplete stacked branches being created by 1.13 bzr:// and
3100
bzr+ssh:// clients (which have bug #354036). Instead, the server now
3101
causes those clients to send the missing records. (Andrew Bennetts)
3103
* Correctly handle http servers proposing multiple authentication schemes.
3104
(Vincent Ladeuil, #366107)
3106
* End-Of-Line content filters are now loaded correctly.
3107
(Ian Clatworthy, Brian de Alwis, #355280)
3109
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3110
longer than 64KiB. (John Arbash Meinel, #364900)
3112
* Fix TypeError in running ``bzr break-lock`` on some URLs.
3113
(Alexander Belchenko, Martin Pool, #365891)
3115
* Non-recursive ``bzr ls`` now works properly when a path is specified.
3116
(Jelmer Vernooij, #357863)
3118
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
3119
(Vincent Ladeuil, #367726)
3121
* Several bugs related to unicode symlinks have been fixed and the test suite
3122
enhanced to better catch regressions for them. (Vincent Ladeuil)
3124
* The smart server will no longer raise 'NoSuchRevision' when streaming
3125
content with a size mismatch in a reconstructed graph search: it assumes
3126
that the client will make sure it is happy with what it got, and this
3127
sort of mismatch is normal for stacked environments.
3128
bzr 1.13.0/1 will stream from unstacked branches only - in that case not
3129
getting all the content expected would be a bug. However the graph
3130
search is how we figured out what we wanted, so a mismatch is both odd
3131
and unrecoverable without starting over, and starting over will end up
3132
with the same data as if we just permitted the mismatch. If data is
3133
gc'd, doing a new search will find only the truncated data, so sending
3134
only the truncated data seems reasonable. bzr versions newer than this
3135
will stream from stacked branches and check the stream to find missing
3136
content in the stacked-on branch, and thus will handle the situation
3137
implicitly. (Robert Collins, #360791)
3139
* Upgrading to, or fetching into a 'rich-root' format will now correctly
3140
set the root data the same way that reconcile does.
3141
(Robert Collins, #368921)
3143
* Using unicode Windows API to obtain command-line arguments.
3144
(Alexander Belchenko, #375934)
3152
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
3153
instead of ``InstallFailed`` when they detect a missing revision.
3154
``InstallFailed`` itself has been deleted. (Jonathan Lange)
3156
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
3157
arguments from ``osutils.get_unicode_argv()`` which has proper support
3158
for unicode arguments on windows. Further, the supplied arguments are now
3159
required to be unicode strings, rather than user_encoded strings.
3160
(Alexander Belchenko)
3165
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
3166
class and will call ``_set_parent_location`` after doing unicode
3167
encoding. (Robert Collins)
3169
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
3170
``Branch.set_parent_location`` removing further VFS operations.
3173
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
3174
or similar when the dir supports configuration settings. The base class
3175
defaults to None. There is a matching new server verb
3176
``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
3177
configuration. (Robert Collins)
3179
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
3180
called before the first test is started, ``done`` called after the last
3181
test completes, and a new parameter ``strict``. (Robert Collins)
3183
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
3184
VFS operations are started on a smart server repository. This should not
3185
occur on regular push and pull operations, and is a key indicator for
3186
performance regressions. (Robert Collins)
3188
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
3189
cause mismatched physical locks to cause test errors rather than just
3190
reporting to the screen. (Robert Collins)
3192
* -Dprogress will cause pdb to start up if a progress view jumps
3193
backwards. (Robert Collins)
3195
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
3196
are now be able to provide credentials if obtaining credentials
3197
via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij,
3198
Vincent Ladeuil, #321918)
3200
* New hook ``Lock.lock_broken`` which runs when a lock is
3201
broken. This is mainly for testing that lock/unlock are
3202
balanced in tests. (Vincent Ladeuil)
3204
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
3205
alter a body for the message produced by ``bzr send``.
3207
* New smart server verb ``BzrDir.initialize_ex`` which implements a
3208
refactoring to the core of clone allowing less round trips on new
3209
branches. (Robert Collins)
3211
* New method ``Tags.rename_revisions`` that can rename revision ids tags
3212
are pointing at. (Jelmer Vernooij)
3214
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
3219
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
3220
tests. Using ``-Dlock`` will turn the related failures into warnings.
3221
(Vincent Ladeuil, Robert Collins)
3225
:Codename: brisbane-core
3226
:1.14rc1: 2009-04-06
3227
:1.14rc2: 2009-04-19
3231
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
3232
keyword templating (via the bzr-keywords plugin) and generic content filtering.
3233
End-of-line conversion is now supported for formats supporting content
3236
Changes from 1.14final to 1.14.1
3237
********************************
3239
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
3241
Changes from 1.14rc2 to 1.14final
3242
*********************************
3244
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3245
longer than 64KiB. (John Arbash Meinel, #364900)
3247
Changes from 1.14rc1 to 1.14rc2
3248
*******************************
3250
* Fix for bug 358037 Revision not in
3251
bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis,
3254
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3255
attribute 'get_bytes_as' exception while pulling from Launchpad
3256
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3258
* Fix for bug 355280 eol content filters are never loaded and thus never
3259
applied (Brian de Alwis, Ian Clatworthy)
3261
* bzr.dev -r4280 Change _fetch_uses_deltas = False for CHK repos until we can
3262
write a better fix. (John Arbash Meinel, Robert Collins)
3264
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
3265
(Marius Kruger, Ian Clatworthy)
3267
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14
3268
(Andrew Bennetts, Robert Collins)
3270
Compatibility Breaks
3271
********************
3273
* A previously disabled code path to accelerate getting configuration
3274
settings from a smart server has been reinstated. We think this *may*
3275
cause a incompatibility with servers older than bzr 0.15. We intend
3276
to issue a point release to address this if it turns out to be a
3277
problem. (Robert Collins, Andrew Bennetts)
3279
* bzr no longer autodetects nested trees as 'tree-references'. They
3280
must now be explicitly added tree references. At the commandline, use
3281
join --reference instead of add. (Aaron Bentley)
3283
* The ``--long`` log format (the default) no longer shows merged
3284
revisions implicitly, making it consistent with the ``short`` and
3285
``line`` log formats. To see merged revisions for just a given
3286
revision, use ``bzr log -n0 -rX``. To see every merged revision,
3287
use ``bzr log -n0``. (Ian Clatworthy)
3292
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
3293
(EOL) conversions, keyword templating (via the bzr-keywords plugin)
3294
and generic content filtering. These formats replace the experimental
3295
``development-wt5`` and ``development-wt5-rich-root`` formats
3296
respectively, but have support for filtered views disabled.
3299
* New ``mv --auto`` option recognizes renames after they occur.
3302
* ``bzr`` can now get passwords from stdin without requiring a controlling
3303
terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
3305
* ``bzr log`` now supports filtering of multiple files and directories
3306
and will show changes that touch any of them. Furthermore,
3307
directory filtering now shows the changes to any children of that
3308
directory, not just the directory object itself.
3309
(Ian Clatworthy, #97715)
3311
* ``bzr shelve`` can now apply changes without storing anything on the
3312
shelf, via the new --destroy option. (Aaron Bentley)
3314
* ``bzr send`` now accepts --body to specify an initial message body.
3317
* ``bzr xxx --usage`` where xxx is a command now shows a usage
3318
message and the options without the descriptive help sections
3319
(like Description and Examples). A message is also given
3320
explaining how to see the complete help, i.e. ``bzr help xxx``.
3323
* Content filters can now be used to provide custom conversion
3324
between the canonical format of content (i.e. as stored) and
3325
the convenience format of content (i.e. as created in working
3326
trees). See ``bzr help content-filters`` for further details.
3327
(Ian Clatworthy, Alexander Belchenko)
3329
* End-of-line conversion is now supported for formats supporting
3330
content filtering. See ``bzr help eol`` for details.
3333
* Newly-blessed `join` command allows combining two trees into one.
3339
* A new format name alias ``default-rich-root`` has been added and
3340
points at the closest relative of the default format that supports
3341
rich roots. (Jelmer Vernooij, #338061)
3343
* Branching from a stacked branch using ``bzr*://`` will now stream
3344
the data when the target repository does not need topological
3345
ordering, reducing round trips and network overhead. This uses the
3346
existing smart server methods added in 1.13, so will work on any
3347
1.13 or newer server. (Robert Collins, Andrew Bennetts)
3349
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
3350
that displays/saves the content after content filters are applied.
3353
* ``bzr ignore`` gives a more informative message when existing
3354
version controlled files match the ignore pattern. (Neil
3355
Martinsen-Burrell, #248895)
3357
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
3360
* ``bzr send`` is faster on repositories with deep histories.
3363
* IPv6 literals are accepted in URLs.
3364
(stlman, Martin Pool, Jelmer Vernooij, #165014)
3366
* Progress bars now show the rate of network activity for
3367
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
3369
* Prompt for user names if they are not in the configuration.
3370
(Jelmer Vernooij, #256612)
3372
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
3373
now takes many less round trips. (Andrew Bennetts, Robert Collins,
3376
* Streaming push can be done to older repository formats. This is
3377
implemented using a new ``Repository.insert_stream_locked`` RPC.
3378
(Andrew Bennetts, Robert Collins)
3380
* The "ignoring files outside view: .." message has been re-worded
3381
to "Ignoring files outside view. View is .." to reduce confusion
3382
about what was being considered and what was being ignored.
3385
* The ``long`` log formatter now shows [merge] indicators. If
3386
only one level of revisions is displayed and merges are found,
3387
the ``long`` and ``short`` log formatters now tell the user
3388
how to see the hidden merged revisions. (Ian Clatworthy)
3390
* The ``brisbane-core`` project has delivered its beta format
3391
``development6-rich-root``. This format is suitable for judicious
3392
testing by early adopters. In particular if you are benchmarking bzr
3393
performance please be sure to test using this format. At this stage
3394
more information is best obtained by contacting the Bazaar mailing list
3395
or IRC channel if you are interested in using this format. We will make
3396
end user documentation available closer to blessing the format as
3397
production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
3398
Vincent Ladeuil, Andrew Bennetts, Martin Pool)
3400
* Tildes are no longer escaped. No more %7Euser/project/branch!
3406
* Pushing a new stacked branch will also push the parent inventories for
3407
revisions at the stacking boundary. This makes sure that the stacked
3408
branch has enough data to calculate inventory deltas for all of its
3409
revisions (without requiring the fallback branch). This avoids
3410
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3411
when fetching the stacked branch from a 1.13 (or later) smart server.
3412
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
3414
* End-Of-Line content filters are now loaded correctly.
3415
(Ian Clatworthy, Brian de Alwis, #355280)
3417
* Authentication plugins now receive all the parameters from the request
3418
itself (aka host, port, realm, path, etc). Previously, only the
3419
authentication section name, username and encoded password were
3420
provided. (Jean-Francois Roy)
3422
* bzr gives a better message if an invalid regexp is passed to ``bzr log
3423
-m``. (Anne Mohsen, Martin Pool)
3425
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
3427
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
3430
* Fix "is not a stackable format" error when pushing a
3431
stackable-format branch with an unstackable-format repository to a
3432
destination with a default stacking policy. (Andrew Bennetts)
3434
* Fixed incorrect "Source format does not support stacking" warning
3435
when pushing to a smart server. (Andrew Bennetts, #334114)
3437
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
3438
needed. (Vincent Ladeuil, #355454)
3440
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
3441
on ``bzr add x/y/z`` in formats supporting views when no view is
3442
defined. (Ian Clatworthy, #344708)
3444
* It is no longer possible to fetch between repositories while the
3445
target repository is in a write group. This prevents race conditions
3446
that prevent the use of RPC's to perform fetch, and thus allows
3447
optimising more operations. (Robert Collins, Andrew Bennetts)
3449
* ``merge --force`` works again. (Robert Collins, #342105)
3451
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
3452
(Vincent Ladeuil, #346593)
3454
* Pushing a new branch to a server that has a stacking policy will now
3455
upgrade from the local branch format when the stacking policy points at
3456
a branch which is itself stackable, because we know the client can read
3457
both branches, we know that the trunk for the project can be read too,
3458
so the upgrade will not inconvenience users. (Robert Collins, #345169)
3460
* Pushing a new stacked branch will also push the parent inventories for
3461
revisions at the stacking boundary. This makes sure that the stacked
3462
branch has enough data to calculate inventory deltas for all of its
3463
revisions (without requiring the fallback branch). This avoids
3464
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3465
when fetching the stacked branch from a 1.13 (or later) smart server.
3466
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
3468
* The full test suite is passing again on OSX. Several minor issues (mostly
3469
test related) have been fixed. (Vincent Ladeuil, #355273).
3471
* The GNU Changelog formatter is slightly improved in the case where
3472
the delta is empty, and now correctly claims not to support tags.
3475
* Shelve can now shelve changes to a symlink target.
3476
(James Westby, #341558)
3478
* The help for the ``info`` command has been corrected.
3479
(Ian Clatworthy, #351931)
3481
* Upgrade will now use a sensible default format if the source repository
3482
uses rich roots. (Jelmer Vernooij, #252908)
3487
* Expanded the index of the developer documentation. (Eric Siegerman)
3489
* New topic `bzr help debug-flags`. (Martin Pool)
3491
* The generated manpage now explicitly lists aliases as commands.
3492
(James Westby, #336998)
3497
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
3500
* ``CommitReporter`` is no longer called with ``unchanged`` status during
3501
commit - this was a full-tree overhead that bzr no longer performs.
3504
* New abstract ``UIFactory`` method ``get_username`` which will be called to
3505
obtain the username to use when connecting to remote machines.
3508
* New API ``Inventory.filter()`` added that filters an inventory by
3509
a set of file-ids so that only those fileids, their parents and
3510
their children are included. (Ian Clatworthy)
3512
* New sort order for ``get_record_stream`` ``groupcompress`` which
3513
sorts optimally for use with groupcompress compressors. (John Arbash
3514
Meinel, Robert Collins)
3516
* Repository APIs ``get_deltas_for_revisions()`` and
3517
``get_revision_delta()`` now support an optional ``specific_fileids``
3518
parameter. If provided, the deltas are filtered so that only those
3519
file-ids, their parents and their children are included.
3522
* The ``get_credentials`` and ``set_credentials`` methods of
3523
``AuthenticationConfig`` now accept an optional realm argument.
3526
* The ``pb`` argument to ``fetch()`` is deprecated.
3529
* The ``Serializer`` class and the serializer ``format registry`` have moved
3530
from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
3532
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
3533
that is not inside the backing transport from being opened. See the
3534
module documentation for ``bzrlib.smart.request`` for details.
3535
(Andrew Bennetts, Robert Collins)
3537
* ``Tree.get_symlink_target`` now always returns a unicode string result
3538
or None. Previously it would return the bytes from reading the link
3539
which could be in any arbitrary encoding. (Robert Collins)
3544
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
3545
and ``tearDown`` weren't called. This catches faulty tests that
3546
forget to upcall when overriding ``setUp`` and ``tearDown``. Those
3547
faulty tests were not properly isolated.
3548
(Andrew Bennetts, Robert Collins)
3550
* Fix test_msgeditor.MsgEditorTest test isolation.
3551
(Vincent Ladeuil, #347130)
3553
* ``medusa`` is not used anymore as an FTP test server starting with
3554
python2.6. A new FTP test server based on ``pyftplib`` can be used
3555
instead. This new server is a soft dependency as medusa which is still
3556
preferred if both are available (modulo python version).
3562
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
3563
(Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3565
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
3566
maps. (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3568
* Added ``bzrlib.inventory_delta`` module. This will be used for
3569
serializing and deserializing inventory deltas for more efficient
3570
streaming on the network. (Robert Collins, Andrew Bennetts)
3572
* ``Branch._get_config`` has been added, which splits out access to the
3573
specific config file from the branch. This is used to let RemoteBranch
3574
avoid constructing real branch objects to access configuration settings.
3575
(Robert Collins, Andrew Bennetts)
3577
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
3578
the implementation is generic and should impact foreign formats. This
3579
helps performance for ``RemoteBranch`` push operations to new stacked
3580
branches. (Robert Collins, Andrew Bennetts)
3582
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
3583
optmizations turned off. This only has effect when processing > 100,000
3584
keys during something like ``bzr pack``. (John Arbash Meinel)
3586
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
3587
mode. Requires ``lp:subunit`` installed to work, but is not a hard
3588
dependency. (Robert Collins)
3590
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
3591
parameter for controlling opening of stacked branches.
3592
(Andrew Bennetts, Robert Collins)
3594
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
3595
in terms of an iter_changes iterator rather than full tree scanning.
3598
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
3599
enabling it to store the SHA1 and stat of the canonical (post
3600
content filtered) form. (Ian Clatworthy)
3602
* New ``assertLength`` method based on one Martin has squirreled away
3603
somewhere. (Robert Collins, Martin Pool)
3605
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
3606
objects, allowing better enforcement of the smart server jail when
3607
dealing with stacked branches. (Robert Collins, Andrew Bennetts)
3609
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries
3610
to be added to the stanza that is printed for a particular revision.
3613
* New repository method ``refresh_data`` to cause any repository to
3614
make visible data inserted into the repository by a smart server
3615
fetch operation. (Robert Collins, Andrew Bennetts)
3617
* ``register_filter_stack_map`` now takes an optional fallback parameter,
3618
a callable to invoke if a preference has a value not in the map
3619
of filter stacks. This enhancement allows, for example, bzr-svn to
3620
handle existing svn properties that define a list of keywords to be
3621
expanded. (Ian Clatworthy)
3623
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
3624
to write config settings to smart servers that support this, saving
3625
5 round trips on the stacked streaming acceptance test.
3626
(Robert Collins, Andrew Bennetts)
3628
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
3629
branch specific configuration from a remote server, which uses the
3630
already existing ``Branch.get_config_file`` smart verb.
3631
(Robert Collins, Andrew Bennetts)
3633
* ``RemoteRepository`` will now negatively cache missing revisions during
3634
``get_parent_map`` while read-locked. Write-locks are unaffected.
3635
(Robert Collins, Andrew Bennetts)
3637
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
3638
``InterPackToRemotePack`` classes, as they are now unnecessary.
3641
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
3642
whether the repository can efficiently generate deltas between trees
3643
regardless of tree size. (Robert Collins)
3645
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
3646
byte strings" (aka 'chunked') for the content. It previously was
3647
returning a plain string, which worked, but performed very poorly when
3648
building a working tree (file.writelines(str) is very inefficient). This
3649
can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3651
* selftest now supports a --parallel option, with values of 'fork' or
3652
'subprocess' to run the test suite in parallel. Currently only linux
3653
machine work, other platforms need patches submitted. (Robert Collins,
3656
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of
3657
callables to use to decorate the test suite. Such decorators can add or
3658
remove tests, or even remote the test suite to another machine if
3659
desired. (Robert Collins)
3661
* The smart server verb ``Repository.get_parent_map`` can now include
3662
information about ghosts when the special revision ``include-missing:``
3663
is in the requested parents map list. With this flag, ghosts are
3664
included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
3666
* ``_walk_to_common_revisions`` will now batch up at least 50
3667
revisions before calling ``get_parent_map`` on the target,
3668
regardless of ``InterRepository``.
3669
(Andrew Bennetts, Robert Collins)
3674
:Codename: paraskavedekatriaphobia
3676
:1.13rc1: 2009-03-10
3680
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``. Debug
3681
flags can now be set in ``~/.bazaar/bazaar.conf``. Lightweight checkouts and
3682
stacked branches should both be much faster over remote connections.
3684
Changes From 1.13.1 to 1.13.2
3685
*****************************
3687
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
3688
a stacked branch they do not take care to push all the parent inventories for
3689
the transferred revisions. This means that a smart server serving that branch
3690
often cannot calculate inventory deltas for the branch (because smart server
3691
does not/cannot open fallback repositories). Prior to 1.13 the server did not
3692
have a verb to stream revisions out of a repository, so that's why this bug has
3698
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3699
attribute 'get_bytes_as' exception while pulling from Launchpad
3700
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3702
Changes From 1.13final to 1.13.1
3703
********************************
3705
A couple regessions where found in the 1.13 release. The pyrex-generated C
3706
extensions are missing from the .tar.gz and .zip files. Documentation on how
3707
to generate GNU ChangeLogs is wrong.
3712
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
3713
version_info. (Bob Tanner, Martin Pool, #345232)
3715
* Distribution archives for 1.13 do not contain generated C extension modules
3716
(Jean-Francois Roy, Bob Tanner, #344465)
3718
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
3719
incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
3721
* ``merge --force`` works again. (Robert Collins, #342105)
3723
Changes From 1.13rc1 to 1.13final
3724
*********************************
3726
* Fix "is not a stackable format" error when pushing a
3727
stackable-format branch with an unstackable-format repository to a
3728
destination with a default stacking policy. (Andrew Bennetts)
3730
* Progress bars now show the rate of network activity for
3731
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
3733
Compatibility Breaks
3734
********************
3736
* ``bzr log --line`` now indicates which revisions are merges with
3737
`[merge]` after the date. Scripts which parse the output of this
3738
command may need to be adjusted.
3739
(Neil Martinsen-Burrell)
3744
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
3745
options to change the default tree-creation policy of shared
3746
repositories. (Matthew Fuller, Marius Kruger, #145033)
3748
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
3751
* Filtered views provide a mask over the tree so that users can focus
3752
on a subset of a tree when doing their work. See ``Filtered views``
3753
in chapter 7 of the User Guide and ``bzr help view`` for details.
3756
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
3757
(Andrea Bolognani, Martin Pool)
3759
* The ``-Dmemory`` flag now gives memory information on Windows.
3760
(John Arbash Meinel)
3762
* Multiple authors for a commit can now be recorded by using the "--author"
3763
option multiple times. (James Westby, #185772)
3765
* New clean-tree command, from bzrtools. (Aaron Bentley, Jelmer Vernooij)
3767
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
3768
branch in your web browser, as long as the branch is on Launchpad at all.
3771
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
3777
* All bzr ``Hooks`` classes are now registered in
3778
``bzrlib.hooks.known_hooks``. This removes the separate list from
3779
``bzrlib.tests`` and ensures that all hooks registered there are
3780
correctly isolated by the test suite (previously
3781
``MutableTreeHooks`` were not being isolated correctly). Further,
3782
documentation for hooks is now dynamically generated from the
3783
present HookPoints. ``bzr hooks`` will now also report on all the
3784
hooks present in the ``bzrlib.hooks.known_hooks`` registry.
3787
* ``bzr add`` no longer prints ``add completed`` on success. Failure
3788
still prints an error message. (Robert Collins)
3790
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
3791
generation of a working tree in the new branch.
3792
(Daniel Watkins, John Klinger, #273993)
3794
* Bazaar will now point out ``bzr+ssh://`` to the user when they
3795
use ssh://. (Jelmer Vernooij, #330535)
3797
* ``bzr -v info`` now omits the number of committers branch statistic,
3798
making it many times faster for large projects. To include that
3799
statistic in the output, use ``bzr -vv info``.
3802
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
3803
stream if the server is version 1.13 or greater, reducing roundtrips
3804
significantly. (Andrew Bennetts, Robert Collins)
3806
* Lightweight Checkouts and Stacked Branches should both be much
3807
faster over remote connections. Building the working tree now
3808
batches up requests into approx 5MB requests, rather than a separate
3809
request for each file. (John Arbash Meinel)
3811
* Support for GSSAPI authentication when using HTTP or HTTPS.
3814
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
3815
short options better. (Daniel Watkins, #327429)
3817
* ``bzr lp-open`` now falls back to the push location if it cannot find a
3818
public location. (Jonathan Lange, #332372)
3820
* ``bzr lp-open`` will try to find the Launchpad URL for the location
3821
passed on the command line. This makes ``bzr lp-open lp:foo`` work as
3822
expected. (Jonathan Lange, #332705)
3824
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
3829
* Allows ``bzr log <FILE>`` to be called in an empty branch without
3830
backtracing. (Vincent Ladeuil, #346431)
3832
* Bazaar now gives a better message including the filename if it's
3833
unable to read a file in the working directory, for example because
3834
of a permission error. (Martin Pool, #338653)
3836
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
3837
file id in the working tree different from the one in revision <old>.
3838
(Vincent Ladeuil, #341517, #253806)
3840
* ``bzr send`` help is more specific about how to apply merge
3841
directives. (Neil Martinsen-Burrell, #253470)
3843
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
3844
than fetching trees and determining a delta itself. (Jelmer
3847
* ``bzr push`` to a smart server no longer causes "Revision
3848
{set([('null:',)])} not present ..." errors when the branch has
3849
multiple root revisions. (Andrew Bennetts, #317654)
3851
* ``bzr shelve`` now properly handle patches with no terminating newline.
3852
(Benoît PIERRE, #303569)
3854
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
3855
shelf id. (Daniel Watkins)
3857
* Export now handles files that are not present in the tree.
3858
(James Westby, #174539)
3860
* Fixed incorrect "Source format does not support stacking" warning
3861
when pushing to a smart server. (Andrew Bennetts, #334114)
3863
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
3864
error branching from old repositories.
3865
(Martin Pool, #321695)
3867
* Make ``bzr push --quiet <non-local location>`` less chatty.
3868
(Kent Gibson, #221461)
3870
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
3871
branches, and this was not noticed due to a bug in the test logic
3872
for branches. This is now fixed and a test added to prevent it
3873
reoccuring. (Robert Collins, Andrew Bennetts)
3875
* Restore the progress bar on Windows. We were disabling it when TERM
3876
wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
3879
* ``setup.py build_ext`` now gives a proper error when an extension
3880
fails to build. (John Arbash Meinel)
3882
* Symlinks to non ascii file names are now supported.
3883
(Robert Collins, Vincent Ladeuil, #339055, #272444)
3885
* Under rare circumstances (aka nobody reported a bug about it), the ftp
3886
transport could revert to ascii mode. It now stays in binary mode except
3887
when needed. (Vincent Ladeuil)
3889
* Unshelve does not generate warnings about progress bars.
3890
(Aaron Bentley, #328148)
3892
* shelve cleans up properly when unversioned files are specified.
3893
(Benoît Pierre, Aaron Bentley)
3898
* Added ``Organizing your workspace`` to the User Guide appendices,
3899
summarizing some common ways of organizing trees, branches and
3900
repositories and the processes/workflows implied/enabled by each.
3903
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
3904
is the entry point for this feature. (Robert Collins)
3906
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
3907
(Daniel Watkins, #327421, #327425)
3912
* ``bzr selftest`` now fails if the bazaar sources contain trailing
3913
whitespace, non-unix style line endings and files not ending in a
3914
newline. About 372 files and 3243 lines with trailing whitespace was
3915
updated to comply with this. The code already complied with the other
3916
criteria, but now it is enforced. (Marius Kruger)
3918
* ``bzrlib.branch.PushResult`` was renamed to
3919
``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
3921
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
3922
than a count of copied revisions and failed revisions. A while back
3923
we stopped ever reporting failed revisions because we started
3924
erroring instead, and the copied revisions count is not used in the
3925
UI at all - indeed it only reflects the repository status not
3926
changes to the branch itself. (Robert Collins)
3928
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
3929
appears multiple times within the delta. (Ian Clatworthy)
3931
* MutableTree.commit now favours the "authors" argument, with the old
3932
"author" argument being deprecated.
3934
* Remove deprecated EmptyTree. (Martin Pool)
3936
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
3937
parameter. A ``SearchResult`` or ``MiniSearchResult`` may be passed
3938
to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
3939
which revisions to fetch. (Andrew Bennetts)
3941
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
3942
tuple of ``(repository, is_new_flag)``, rather than just the
3943
repository. (Andrew Bennetts)
3945
* Revision.get_apparent_author() is now deprecated, replaced by
3946
Revision.get_apparent_authors(), which returns a list. The former
3947
now returns the first item that would be returned from the second.
3949
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
3950
parameter to ``build_commit`` and ``build_snapshot``. (Martin Pool)
3952
* The ``_fetch_*`` attributes on ``Repository`` are now on
3953
``RepositoryFormat``, more accurately reflecting their intent (they
3954
describe a disk format capability, not state of a particular
3955
repository of that format). (Robert Collins)
3960
* Branching from a non-stacked branch on a smart protocol is now
3961
free of virtual file system methods.
3962
(Robert Collins, Andrew Bennetts)
3964
* Branch and Repository creation on a bzr+ssh://server are now done
3965
via RPC calls rather than VFS calls, reducing round trips for
3966
pushing new branches substantially. (Robert Collins)
3968
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
3969
inside ``BzrDir.clone_on_transport``, allowing stacking to be
3970
configured before the branch tags and revision tip are set. This
3971
fixes a race condition cloning stacked branches that would cause
3972
plugins to have hooks called on non-stacked instances.
3973
(Robert Collins, #334187)
3975
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
3977
* ``BzrDirFormat.__str__`` now uses the human readable description
3978
rather than the sometimes-absent disk label. (Robert Collins)
3980
* ``bzrlib.fetch`` is now composed of a sender and a sink component
3981
allowing for decoupling over a network connection. Fetching from
3982
or into a RemoteRepository with a 1.13 server will use this to
3983
stream the operation.
3984
(Andrew Bennetts, Robert Collins)
3986
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
3987
supporting the use of different runners. (Robert Collins)
3989
* Change how file_ids and revision_ids are interned as part of
3990
inventory deserialization. Now we use the real ``intern()``, rather
3991
than our own workaround that would also cache a Unicode copy of the
3992
string, and never emptied the cache. This should slightly reduce
3993
memory consumption. (John Arbash Meinel)
3995
* New branch method ``create_clone_on_transport`` that returns a
3996
branch object. (Robert Collins)
3998
* New hook Commands['extend_command'] to allow plugins to access a
3999
command object before the command is run (or help generated from
4000
it), without overriding the command. (Robert Collins)
4002
* New version of the ``BzrDir.find_repository`` verb supporting
4003
``_network_name`` to support removing more _ensure_real calls.
4006
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
4009
* ``Repository`` objects now have ``suspend_write_group`` and
4010
``resume_write_group`` methods. These are currently only useful
4011
with pack repositories. (Andrew Bennetts, Robert Collins)
4013
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
4014
now have a ``network_name`` for passing the format across RPC calls.
4015
(Robert Collins, Andrew Bennetts)
4017
* ``RepositoryFormat`` objects now all have a new attribute
4018
``_serializer`` used by fetch when reserialising is required.
4019
(Robert Collins, Andrew Bennetts)
4021
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
4022
to aid branch types that are not bzr branch objects (like
4023
RemoteBranch). (Robert Collins, Andrew Bennetts)
4025
* Test adaptation has been made consistent throughout the built in
4026
tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
4027
``adapt_tests``, ``adapt_modules`` have all been deleted. Please
4028
use ``multiply_tests``, or for lower level needs ``apply_scenarios``
4029
and ``apply_scenario``. (Robert Collins)
4031
* ``TestSkipped`` is now detected by TestCase and passed to the
4032
``TestResult`` by calling ``addSkip``. For older TestResult objects,
4033
where ``addSkip`` is not available, ``addError`` is still called.
4034
This permits test filtering in subunit to strip out skipped tests
4035
resulting in a faster fix-shrink-list-run cycle. This is compatible
4036
with the testtools protocol for skips. (Robert Collins)
4038
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
4039
to scan an underlying index that is going to be incorporated into
4040
the ``KnitVersionedFiles`` object, to determine if it has missing
4041
delta references. The method is ``scan_unvalidated_index``.
4042
(Andrew Bennetts, Robert Collins)
4044
* There is a RemoteSink object which handles pushing to smart servers.
4045
(Andrew Bennetts, Robert Collins)
4047
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
4048
``rmdir`` calls. (Robert Collins)
4050
* ``VersionedFiles`` record adapters have had their signature change
4051
from ``(record, record.get_bytes_as(record.storage_kind))`` to
4052
``(record)`` reducing excess duplication and allowing adapters
4053
to access private data in record to obtain content more
4054
efficiently. (Robert Collins)
4056
* We no longer probe to see if we should create a working tree during
4057
clone if we cannot get a local_abspath for the new bzrdir.
4064
:Codename: 1234567890
4066
:1.12rc1: 2009-02-10
4068
This release of Bazaar contains many improvements to the speed,
4069
documentation and functionality of ``bzr log`` and the display of logged
4070
revisions by ``bzr status``. bzr now also gives a better indication of
4071
progress, both in the way operations are drawn onto a text terminal, and
4072
by showing the rate of network IO.
4074
Changes from RC1 to Final
4075
*************************
4077
* ``bzr init --development-wt5[-rich-root]`` would fail because of
4078
circular import errors. (John Arbash Meinel, #328135)
4080
* Expanded the help for log and added a new help topic called
4081
``log-formats``. (Ian Clatworthy)
4083
Compatibility Breaks
4084
********************
4086
* By default, ``bzr status`` after a merge now shows just the pending
4087
merge tip revisions. This improves the signal-to-noise ratio after
4088
merging from trunk and completes much faster. To see all merged
4089
revisions, use the new ``-v`` flag. (Ian Clatworthy)
4091
* ``bzr log --line`` now shows any tags after the date and before
4092
the commit message. If you have scripts which parse the output
4093
from this command, you may need to adjust them accordingly.
4096
* ``bzr log --short`` now shows any additional revision properties
4097
after the date and before the commit message. Scripts that parse
4098
output of the log command in this situation may need to adjust.
4099
(Neil Martinsen-Burrell)
4101
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
4102
have been renamed ``development-wt5`` and ``development-wt5-rich-root``
4103
respectively, given they are not ready for release in 1.12.
4106
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
4111
* Add support for filtering ``bzr missing`` on revisions. Remote revisions
4112
can be filtered using ``bzr missing -r -20..-10`` and local revisions can
4113
be filtered using ``bzr missing --my-revision -20..-10``.
4116
* ``bzr log -p`` displays the patch diff for each revision.
4117
When logging a file, the diff only includes changes to that file.
4118
(Ian Clatworthy, #202331, #227335)
4120
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
4121
A value of 0 (zero) means "show all nested merge revisions" while
4122
a value of 1 (one) means "show just the top level". Values above
4123
1 can be used to see a limited amount of nesting. That can be
4124
useful for seeing the level or two below PQM submits for example.
4125
To force the ``--short`` and ``--line`` formats to display all nested
4126
merge revisions just like ``--long`` does by default, use a command
4127
like ``bzr log --short -n0``. To display just the mainline using
4128
``--long`` format, ``bzr log --long -n1``.
4134
* ``bzr add`` more clearly communicates success vs failure.
4137
* ``bzr init`` will now print a little less verbose output.
4140
* ``bzr log`` is now much faster in many use cases, particularly
4141
at incrementally displaying results and filtering by a
4142
revision range. (Ian Clatworthy)
4144
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
4145
for each revision. The tags are shown comma-separated inside
4146
``{}``. For short format, the tags appear at the end of line
4147
before the optional ``[merge]`` indicator. For line format,
4148
the tags appear after the date. (Ian Clatworthy)
4150
* Progress bars now show the rate of activity for some sftp
4151
operations, and they are drawn different. (Martin Pool, #172741)
4153
* Progress bars now show the rate of activity for urllib and pycurl based
4154
http client implementations. The operations are tracked at the socket
4155
level for better precision.
4158
* Rule-based preferences can now accept multiple patterns for a set of
4159
rules. (Marius Kruger)
4161
* The ``ancestor:`` revision spec will now default to referring to the
4162
parent of the branch if no other location is given.
4163
(Daniel Watkins, #198417)
4165
* The debugger started as a result of setting ``$BZR_PDB`` works
4166
around a bug in ``pdb``, http://bugs.python.org/issue4150. The bug
4167
can cause truncated tracebacks in Python versions before 2.6.
4170
* VirtualVersionedFiles now implements
4171
``iter_lines_added_or_present_in_keys``. This allows the creation of
4172
new branches based on stacked bzr-svn branches. (#311997)
4177
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
4179
(Anne Mohsen, Vincent Ladeuil, #314525)
4181
* ``bzr log FILE`` now correctly shows mainline revisions merging
4182
a change to FILE when the ``--short`` and ``--line`` log formats
4183
are used. (Ian Clatworthy, #317417)
4185
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
4186
it existed in Y or X, even if the file has since been deleted or
4187
renamed. If no range is given, the current/basis tree and
4188
initial tree are searched in that order. More generally, log
4189
now interprets filenames in their historical context.
4190
(Ian Clatworthy, #175520)
4192
* ``bzr status`` now reports nonexistent files and continues, then
4193
errors (with code 3) at the end. (Karl Fogel, #306394)
4195
* Don't require the present compression base in knits to be the same
4196
when adding records in knits. (Jelmer Vernooij, #307394)
4198
* Fix a problem with CIFS client/server lag on Windows colliding with
4199
an invariant-per-process algorithm for generating AtomicFile names
4200
(Adrian Wilkins, #304023)
4202
* Many socket operations now handle EINTR by retrying the operation.
4203
Previously EINTR was treated as an unrecoverable failure. There is
4204
a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
4207
* Support symlinks with non-ascii characters in the symlink filename.
4208
(Jelmer Vernooij, #319323)
4210
* There was a bug in how we handled resolving when a file is deleted
4211
in one branch, and modified in the other. If there was a criss-cross
4212
merge, we would cause the deletion to conflict a second time.
4213
(Vincent Ladeuil, John Arbash Meinel)
4215
* There was another bug in how we chose the correct intermediate LCA in
4216
criss-cross merges leading to several kind of changes be incorrectly
4218
(John Arbash Meinel, Vincent Ladeuil)
4220
* Unshelve now handles deleted paths without crashing. (Robert Collins)
4225
* Improved plugin developer documentation. (Martin Pool)
4230
* ``ProgressBarStack`` is deprecated; instead use
4231
``ui_factory.nested_progress_bar`` to create new progress bars.
4234
* ForeignVcsMapping() now requires a ForeignVcs object as first
4235
argument. (Jelmer Vernooij)
4237
* ForeignVcsMapping.show_foreign_revid() has been moved to
4238
ForeignVcs. (Jelmer Vernooij)
4240
* ``read_bundle_from_url`` is deprecated in favor of
4241
``read_mergeable_from_url``. (Vincent Ladeuil)
4243
* Revision specifiers are now registered in
4244
``bzrlib.revisionspec.revspec_registry``, and the old list of
4245
revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
4246
deprecated. (Jelmer Vernooij, #321183)
4248
* The progress and UI classes have changed; the main APIs remain the
4249
same but code that provides a new UI or progress bar class may
4250
need to be updated. (Martin Pool)
4255
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
4256
terminal. It is sometimes desirable do override this default by forcing
4257
bzr to use TextUIFactory. This can be achieved by setting the
4258
BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
4259
compile buffers, are such an example).
4262
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
4263
``(revision_id, depth, revno, end_of_merge)`` tuples.
4266
* New ``Branch.dotted_revno_to_revision_id()`` and
4267
``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
4268
efficient way of doing the mapping.
4271
* Refactor cmd_serve so that it's a little easier to build commands that
4272
extend it, and perhaps even a bit easier to read. (Jonathan Lange)
4274
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
4275
formatters to retrict the output.
4282
:Codename: "Eyes up!"
4283
:Released: 2009-01-19
4285
This first monthly release of Bazaar for 2009 improves Bazaar's operation
4286
in Windows, Mac OS X, and other situations where file names are matched
4287
without regard to capitalization: Bazaar tries to match the case of an
4288
existing file. This release of Bazaar also improves the efficiency of
4289
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
4291
The UI through which Bazaar supports historic formats has been improved,
4292
so 'bzr help formats' now gives a simpler and shorter list, with clear
4295
This release also fixes a number of bugs, particularly a glitch that can
4296
occur when there are concurrent writes to a pack repository.
4301
* Fix failing test when CompiledChunksToLines is not available.
4304
* Stacked branches don't repeatedly open their transport connection.
4305
(John Arbash Meinel)
4312
:Codename: "Eyes up!"
4313
:Released: 2009-01-09
4318
* Formats using Knit-based repository formats are now explicitly
4319
marked as deprecated. (Ian Clatworthy)
4324
* Add support for `bzr tags -r 1..2`, that is we now support showing
4325
tags applicable for a specified revision range. (Marius Kruger)
4327
* ``authentication.conf`` now accepts pluggable read-only credential
4328
stores. Such a plugin (``netrc_credential_store``) is now included,
4329
handles the ``$HOME/.netrc`` file and can server as an example to
4330
implement other plugins.
4333
* ``shelve --list`` can now be used to list shelved changes.
4339
* Add trailing slash to directories in all output of ``bzr ls``, except
4340
``bzr ls --null``. (Gordon P. Hemsley, #306424)
4342
* ``bzr revision-info`` now supports a -d option to specify an
4343
alternative branch. (Michael Hudson)
4345
* Add connection to a C++ implementation of the Windows Shell Extension
4346
which is able to fully replace the current Python implemented one.
4347
Advantages include 64bit support and reduction in overhead for
4348
processes which drag in shell extensions.
4351
* Support the Claws mail client directly, rather than via
4352
xdg-email. This prevents the display of an unnecessary modal
4353
dialog in Claws, informing the user that a file has been
4354
attached to the message, and works around bug #291847 in
4355
xdg-utils which corrupts the destination address.
4357
* When working on a case-insensitive case-preserving file-system, as
4358
commonly found with Windows, bzr will often ignore the case of the
4359
arguments specified by the user in preference to the case of an existing
4360
item on the file-system or in the inventory to help prevent
4361
counter-intuitive behaviour on Windows. (Mark Hammond)
4366
* Allow BzrDir implementation to implement backing up of
4367
control directory. (#139691)
4369
* ``bzr push`` creating a new stacked branch will now only open a
4370
single connection to the target machine. (John Arbash Meinel)
4372
* Don't call iteritems on transport_list_registry, because it may
4373
change during iteration. (Martin Pool, #277048)
4375
* Don't make a broken branch when pushing an unstackable-format branch
4376
that's in a stackable shared repository to a location with default
4377
stack-on location. (Andrew Bennetts, #291046)
4379
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
4380
(Ben Jansen, Vincent Ladeuil, #300347)
4382
* Fix a problem with CIFS client/server lag on windows colliding with
4383
an invariant-per-process algorithm for generating AtomicFile names
4384
(Adrian Wilkins, #304023)
4386
* Fix bogus setUp signature in UnavailableFTPServer.
4387
(Gary van der Merwe, #313498)
4389
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
4392
* Fix SystemError in ``_patiencediff_c`` module by calling
4393
PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
4394
(Andrew Bennetts, #303206)
4396
* Give proper error message for diff with non-existent dotted revno.
4397
(Marius Kruger, #301969)
4399
* Handle EACCES (permission denied) errors when launching a message
4400
editor, and emit warnings when a configured editor cannot be
4401
started. (Andrew Bennetts)
4403
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
4404
if configured in ``authentication.conf`` with 'password_encoding=netrc'
4405
in the appropriate sections.
4406
(Vincent Ladeuil, #103029)
4408
* Opening a stacked branch now properly shares the connection, rather
4409
than opening a new connection for the stacked-on branch.
4410
(John Arbash meinel)
4412
* Preserve transport decorators while following redirections.
4413
(Vincent Ladeuil, #245964, #270863)
4415
* Provides a finer and more robust filter for accepted redirections.
4416
(Vincent Ladeuil, #303959, #265070)
4418
* ``shelve`` paths are now interpreted relative to the current working
4419
tree. (Aaron Bentley)
4421
* ``Transport.readv()`` defaults to not reading more than 100MB in a
4422
single array. Further ``RemoteTransport.readv`` sets this to 5MB to
4423
work better with how it splits its requests.
4424
(John Arbash Meinel, #303538)
4426
* Pack repositories are now able to reload the pack listing and retry
4427
the current operation if another action causes the data to be
4428
repacked. (John Arbash Meinel, #153786)
4430
* ``pull -v`` now respects the log_format configuration variable.
4433
* ``push -v`` now works on non-initial pushes. (Aaron Bentley)
4435
* Use the short status format when the short format is used for log.
4436
(Vincent Ladeuil, #87179)
4438
* Allow files to be renamed or moved via remove + add-by-id. (Charles
4444
* Improved the formats help topic to explain why multiple formats
4445
exist and to provide guidelines in selecting one. Introduced
4446
two new supporting help topics: current-formats and other-formats.
4452
* ``LRUCache(after_cleanup_size)`` was renamed to
4453
``after_cleanup_count`` and the old name deprecated. The new name is
4454
used for clarity, and to avoid confusion with
4455
``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
4457
* New ``ForeignRepository`` base class, to help with foreign branch
4458
support (e.g. svn). (Jelmer Vernooij)
4460
* ``node_distances`` and ``select_farthest`` can no longer be imported
4461
from ``bzrlib.graph``. They can still be imported from
4462
``bzrlib.deprecated_graph``, which has been the preferred way to
4463
import them since before 1.0. (Andrew Bennetts)
4465
* The logic in commit now delegates inventory basis calculations to
4466
the ``CommitBuilder`` object; this requires that the commit builder
4467
in use has been updated to support the new ``recording_deletes`` and
4468
``record_delete`` methods. (Robert Collins)
4473
* An HTTPS server is now available (it requires python-2.6). Future bzr
4474
versions will allow the use of the python-2.6 ssl module that can be
4475
installed for 2.5 and 2.4.
4477
* ``bzr selftest`` now fails if new trailing white space is added to
4478
the bazaar sources. It only checks changes not committed yet. This
4479
means that PQM will now reject changes that introduce new trailing
4480
whitespace. (Marius Kruger)
4482
* Introduced new experimental formats called ``1.12-preview`` and
4483
``1.12-preview-rich-root`` to enable testing of related pending
4484
features, namely content filtering and filtered views.
4490
* Added an ``InventoryEntry`` cache when deserializing inventories.
4491
Can cut the time to iterate over multiple RevisionsTrees in half.
4492
(John Arbash Meinel)
4494
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
4495
minimal overhead versus using a plain dict for cache hits, at the
4496
cost of not preserving the 'active' set as well as an ``LRUCache``.
4497
(John Arbash Meinel)
4499
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
4500
character to separate the filename from the date stamp, and doesn't
4501
add trailing whitespace when a date stamp is not supplied.
4502
(Adeodato Simó, John Arbash Meinel)
4504
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
4505
as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
4506
respectively. (Ian Clatworthy)
4508
* ``KnitVersionedFiles._check_should_delta()`` now uses the
4509
``get_build_details`` api to avoid multiple hits to the index, and
4510
to properly follow the ``compression_parent`` rather than assuming
4511
it is the left-hand parent. (John Arbash Meinel)
4513
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
4514
more optimal ordering when the keys are requested 'unordered'.
4515
Previously the order was fully random, now the records should be
4516
returned from each pack in turn, in forward I/O order.
4517
(John Arbash Meinel)
4519
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
4520
than 2s since the last time it flushed. (John Arbash Meinel)
4522
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
4523
allows adding an inventory via an inventory delta, which can be
4524
more efficient for some repository types. (Robert Collins)
4526
* Repository ``CommitBuilder`` objects can now accumulate an inventory
4527
delta. To enable this functionality call ``builder.recording_deletes``
4528
and additionally call ``builder.record_delete`` when a delete
4529
against the basis occurs. (Robert Collins)
4531
* The default http handler has been changed from pycurl to urllib.
4532
The default is still pycurl for https connections. (The only
4533
advantage of pycurl is that it checks ssl certificates.)
4534
(John Arbash Meinel)
4536
* ``VersionedFiles.get_record_stream()`` can now return objects with a
4537
storage_kind of ``chunked``. This is a collection (list/tuple) of
4538
strings. You can use ``osutils.chunks_to_lines()`` to turn them into
4539
guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
4540
into a fulltext. This allows for some very good memory savings when
4541
asking for many texts that share ancestry, as the individual chunks
4542
can be shared between versions of the file. (John Arbash Meinel)
4544
* ``pull -v`` and ``push -v`` use new function
4545
``bzrlib.log.show_branch_change`` (Aaron Bentley)
4552
:Released: 2008-12-05
4554
Bazaar 1.10 has several performance improvements for copying revisions
4555
(especially for small updates to large projects). There has also been a
4556
significant amount of effort in polishing stacked branches. The commands
4557
``shelve`` and ``unshelve`` have become core commands, with an improved
4560
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
4565
* Don't set a pack write cache size from RepoFetcher, because the
4566
cache is not coherent with reads and causes ShortReadvErrors.
4567
This reverses the change that fixed #294479.
4568
(Martin Pool, #303856)
4570
* Properly handle when a revision can be inserted as a delta versus
4571
when it needs to be expanded to a fulltext for stacked branches.
4572
There was a bug involving merge revisions. As a method to help
4573
prevent future difficulties, also make stacked fetches sort
4574
topologically. (John Arbash Meinel, #304841)
4580
:Released: 2008-11-28
4582
This release of Bazaar focuses on performance improvements when pushing
4583
and pulling revisions, both locally and to remote networks. The popular
4584
``shelve`` and ``unshelve`` commands, used to interactively revert and
4585
restore work in progress, have been merged from bzrtools into the bzr
4586
core. There are also bug fixes for portability, and for stacked branches.
4591
* New ``commit_message_template`` hook that is called by the commit
4592
code to generate a template commit message. (Jelmer Vernooij)
4594
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
4600
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
4601
history just to set the last revision info.
4602
(Andrew Bennetts, John Arbash Meinel)
4604
* Fetches between formats with different serializers (such as
4605
pack-0.92-subtree and 1.9-rich-root) are faster now. This is due to
4606
operating on batches of 100 revisions at time rather than
4607
one-by-one. (Andrew Bennetts, John Arbash Meinel)
4609
* Search index files corresponding to pack files we've already used
4610
before searching others, because they are more likely to have the
4611
keys we're looking for. This reduces the number of iix and tix
4612
files accessed when pushing 1 new revision, for instance.
4613
(John Arbash Meinel)
4615
* Signatures to transfer are calculated more efficiently in
4616
``item_keys_introduced_by``. (Andrew Bennetts, John Arbash Meinel)
4618
* The generic fetch code can once again copy revisions and signatures
4619
without extracting them completely to fulltexts and then serializing
4620
them back down into byte strings. This is a significant performance
4621
improvement when fetching from a stacked branch.
4622
(John Arbash Meinel, #300289)
4624
* When making a large readv() request over ``bzr+ssh``, break up the
4625
request into more manageable chunks. Because the RPC is not yet able
4626
to stream, this helps keep us from buffering too much information at
4627
once. (John Arbash Meinel)
4632
* Better message when the user needs to set their Launchpad ID.
4633
(Martin Pool, #289148)
4635
* ``bzr commit --local`` doesn't access the master branch anymore.
4636
This fixes a regression introduced in 1.9. (Marius Kruger, #299313)
4638
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
4639
to give an error in that case. Also, don't count on ``getcwd()``
4640
being able to allocate a new buffer, which is a gnu extension.
4641
(John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
4643
* Don't crash when requesting log --forward <file> for a revision range
4644
starting with a dotted revno.
4645
(Vincent Ladeuil, #300055)
4647
* Don't create text deltas spanning stacked repositories; this could
4648
cause "Revision X not present in Y" when later accessing them.
4649
(Martin Pool, #288751)
4651
* Pack repositories are now able to reload the pack listing and retry
4652
the current operation if another action causes the data to be
4653
repacked. (John Arbash Meinel, #153786)
4655
* PermissionDenied errors from smart servers no longer cause
4656
"PermissionDenied: "None"" on the client.
4657
(Andrew Bennetts, #299254)
4659
* Pushing to a stacked pack repository now batches writes, the same
4660
way writes are batched to ordinary pack repository. This makes
4661
pushing to a stacked branch over the network much faster.
4662
(Andrew Bennetts, #294479)
4664
* TooManyConcurrentRequests no longer occur when a fetch fails and
4665
tries to abort a write group. This allows the root cause (e.g. a
4666
network interruption) to be reported. (Andrew Bennetts, #297014)
4668
* RemoteRepository.get_parent_map now uses fallback repositories.
4669
(Aaron Bentley, #297991?, #293679?)
4674
* ``CommitBuilder`` now validates the strings it will be committing,
4675
to ensure that they do not have characters that will not be properly
4676
round-tripped. For now, it just checks for characters that are
4677
invalid in the XML form. (John Arbash Meinel, #295161)
4679
* Constructor parameters for NewPack (internal to pack repositories)
4680
have changed incompatibly.
4682
* ``Repository.abort_write_group`` now accepts an optional
4683
``suppress_errors`` flag. Repository implementations that override
4684
``abort_write_group`` will need to be updated to accept the new
4685
argument. Subclasses that only override ``_abort_write_group``
4686
don't need to change.
4688
* Transport implementations must provide copy_tree_to_transport. A default
4689
implementation is provided for Transport subclasses.
4694
* ``bzr selftest`` now fails if no doctests are found in a module
4695
that's expected to have them. (Martin Pool)
4697
* Doctests now only report the first failure. (Martin Pool)
4703
:Released: 2008-11-07
4705
This release of Bazaar adds a new repository format, ``1.9``, with smaller
4706
and more efficient index files. This format can be specified when
4707
creating a new repository, or used to losslessly upgrade an existing
4708
repository. bzr 1.9 also speeds most operations over the smart server
4709
protocol, makes annotate faster, and uses less memory when making
4710
checkouts or pulling large amounts of data.
4715
* Fix "invalid property value 'branch-nick' for None" regression with
4716
branches bound to svn branches. (Martin Pool, #293440)
4718
* Fix SSL/https on Python2.6. (Vincent Ladeuil, #293054)
4720
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
4721
This only triggers some-of-the-time on Knit format repositories.
4722
(John Arbash Meinel, #293746)
4728
:Released: 2008-10-31
4733
* New Branch hook ``transform_fallback_location`` allows a function to
4734
be called when looking up the stacked source. (Michael Hudson)
4736
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
4737
the functionality of ``1.6``, but use the new btree indexes.
4738
These indexes are both smaller and faster for access to historical
4739
information. (John Arbash Meinel)
4744
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
4745
the tradeoff between bandwidth and latency. Should be tuned
4746
appropriately to not impact commands which need minimal information,
4747
but provide a significant boost to ones that need more context. Only
4748
has a direct impact on the ``--development2`` format which uses
4749
btree's for the indexes. (John Arbash Meinel)
4751
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
4752
the contents of a compressed btree file. (John Arbash Meinel)
4754
* ``bzr pack`` now tells the index builders to optimize for size. For
4755
btree index repositories, this can save 25% of the index size
4756
(mostly in the text indexes). (John Arbash Meinel)
4758
* ``bzr push`` to an existing branch or repository on a smart server
4759
is faster, due to Bazaar making more use of the ``get_parent_map``
4760
RPC when querying the remote branch's revision graph.
4763
* default username for bzr+ssh and sftp can be configured in
4764
authentication.conf. (Aaron Bentley)
4766
* launchpad-login now provides a default username for bzr+ssh and sftp
4767
URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
4769
* ``lp:`` lookups no longer include usernames, making them shareable and
4770
shorter. (Aaron Bentley)
4772
* New ``PackRepository.autopack`` smart server RPC, which does
4773
autopacking entirely on the server. This is much faster than
4774
autopacking via plain file methods, which downloads a large amount
4775
of pack data and then re-uploads the same pack data into a single
4776
file. This fixes a major (although infrequent) cause of lengthy
4777
delays when using a smart server. For example, pushing the 10th
4778
revision to a repository with 9 packs now takes 44 RPCs rather than
4779
179, and much less bandwidth too. This requires Bazaar 1.9 on both
4780
the client and the server, otherwise the client will fallback to the
4781
slower method. (Andrew Bennetts)
4786
* A failure to load a plugin due to an IncompatibleAPI exception is
4787
now correctly reported. (Robert Collins, #279451)
4789
* API versioning support now has a multiple-version checking api
4790
``require_any_api``. (Robert Collins, #279447)
4792
* ``bzr branch --stacked`` from a smart server to a standalone branch
4793
works again. This fixes a regression in 1.7 and 1.8.
4794
(Andrew Bennetts, #270397)
4796
* ``bzr co`` uses less memory. It used to unpack the entire WT into
4797
memory before writing it to disk. This was a little bit faster, but
4798
consumed lots of memory. (John Arbash Meinel, #269456)
4800
* ``bzr missing --quiet`` no longer prints messages about whether
4801
there are missing revisions. The exit code indicates whether there
4802
were or not. (Martin Pool, #284748)
4804
* Fixes to the ``annotate`` code. The fast-path which re-used the
4805
stored deltas was accidentally disabled all the time, instead of
4806
only when a branch was stacked. Second, the code would accidentally
4807
re-use a delta even if it wasn't against the left-parent, this
4808
could only happen if ``bzr reconcile`` decided that the parent
4809
ordering was incorrect in the file graph. (John Arbash Meinel)
4811
* "Permission denied" errors that occur when pushing a new branch to a
4812
smart server no longer cause tracebacks. (Andrew Bennetts, #278673)
4814
* Some compatibility fixes for building the extensions with MSVC and
4815
for python2.4. (John Arbash Meinel, #277484)
4817
* The index logic is now able to reload the list of pack files if and
4818
index ends up disappearing. We still don't reload if the pack data
4819
itself goes missing after checking the index. This bug appears as a
4820
transient failure (file not found) when another process is writing
4821
to the repository. (John Arbash Meinel, #153786)
4823
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
4824
it was previously set. All checkouts will now refer to the bound branch
4825
for a nickname if one was not explicitly set.
4826
(Marius Kruger, #230903)
4831
* Improved hook documentation. (Michael Ernst)
4836
* commands.plugins_cmds is now a CommandRegistry, not a dict.
4841
* New AuthenticationConfig.set_credentials method allows easy programmatic
4842
configuration of authetication credentials.
4848
:Released: 2008-10-16
4850
Bazaar 1.8 includes several fixes that improve working tree performance,
4851
display of revision logs, and merges. The bzr testsuite now passes on OS
4852
X and Python 2.6, and almost completely passes on Windows. The
4853
smartserver code has gained several bug fixes and performance
4854
improvements, and can now run server-side hooks within an http server.
4859
* Fix "Must end write group" error when another error occurs during
4860
``bzr push``. (Andrew Bennetts, #230902)
4865
* Some Pyrex versions require the WIN32 macro defined to compile on
4866
that platform. (Alexander Belchenko, Martin Pool, #277481)
4872
:Released: 2008-10-07
4877
* ``bzr log file`` has been changed. It now uses a different method
4878
for determining which revisions to show as merging the changes to
4879
the file. It now only shows revisions which merged the change
4880
towards your mainline. This simplifies the output, makes it faster,
4881
and reduces memory consumption. (John Arbash Meinel)
4883
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
4884
``--show-base`` is not supplied. (John Arbash Meinel)
4886
* ``bzr+http//`` will now optionally load plugins and write logs on the
4887
server. (Marius Kruger)
4889
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
4890
Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
4891
explicitly blacklist that version of the compiler for that
4892
extension. Packaged versions will include .c files created with
4893
pyrex >= 0.9.6 so it doesn't effect releases, only users running
4894
from the source tree. (John Arbash Meinel, #276868)
4899
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
4900
supported (nor released, tests were conducted with the dev version of
4901
python-2.6rc2), but all known problems have been fixed. Feedback
4903
(Vincent Ladeuil, #269535)
4908
* ``bzr annotate`` will now include uncommitted changes from the local
4909
working tree by default. Such uncommitted changes are given the
4910
revision number they would get if a commit was done, followed with a
4911
? to indicate that its not actually known. (Robert Collins, #3439)
4913
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
4914
standalone branch regardless of the presence of shared repositories.
4917
* ``bzr push`` is faster in the case there are no new revisions to
4918
push. It is also faster if there are no tags in the local branch.
4921
* File changes during a commit will update the tree stat cache.
4924
* Location aliases can now accept a trailing path. (Micheal Hudson)
4926
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
4927
(Robert Collins, MartinPool)
4929
* Switching in heavyweight checkouts uses the master branch's context, not
4930
the checkout's context. (Adrian Wilkins)
4932
* ``status`` on large trees is now faster, due to optimisations in the
4933
walkdirs code. Of particular note, the walkdirs code now performs
4934
a temporary ``chdir()`` while reading a single directory; if your
4935
platform has non thread-local current working directories (and is
4936
not windows which has its own implementation), this may introduce a
4937
race condition during concurrent uses of bzrlib. The bzrlib CLI
4938
will not encounter this as it is single threaded for working tree
4939
operations. (Robert Collins)
4941
* The C extensions now build on python 2.4 (Robert Collins, #271939)
4943
* The ``-Dhpss`` debug flag now reports the number of smart server
4944
calls per medium to stderr. This is in addition to the existing
4945
detailed logging to the .bzr.log trace file. (Andrew Bennetts)
4950
* Avoid random failures arising from misinterpreted ``errno`` values
4951
in ``_readdir_pyx.read_dir``.
4952
(Martin Pool, #279381)
4954
* Branching from a shared repository on a smart server into a new
4955
repository now preserves the repository format.
4956
(Andrew Bennetts, #269214)
4958
* ``bzr log`` now accepts a ``--change`` option.
4959
(Vincent Ladeuil, #248427)
4961
* ``bzr missing`` now accepts an ``--include-merges`` option.
4962
(Vincent Ladeuil, #233817)
4964
* Don't try to filter (internally) '.bzr' from the files to be deleted if
4966
(Vincent Ladeuil, #272648)
4968
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
4971
* Fix TooManyConcurrentRequests errors caused by a connection failure
4972
when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
4973
(Andrew Bennetts, #246233)
4975
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
4976
is in a different repository than the current one.
4977
(Lukáš Lalinský, #144421)
4979
* Make the first line of the manpage preamble a comment again.
4980
(David Futcher, #242106)
4982
* Remove use of optional parameter in GSSAPI FTP support, since
4983
it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
4985
* The autopacking logic will now always create a single new pack from
4986
all of the content which it deems is worth moving. This avoids the
4987
'repack a single pack' bug and should result in better packing
4988
overall. (John Arbash Meinel, #242510, #172644)
4990
* Trivial documentation fix.
4991
(John Arbash Meinel, #270471)
4993
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
4994
it was previously set. All checkouts will now refer to the bound branch
4995
for a nickname if one was not explicitly set.
4996
(Marius Kruger, #230903)
5001
* Explain revision/range identifiers. (Daniel Clemente)
5006
* ``CommitBuilder.record_entry_contents`` returns one more element in
5007
its result tuple - an optional file system hash for the hash cache
5008
to use. (Robert Collins)
5010
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
5011
of a file if it is likely to be needed in determining the output
5012
of iter_changes. (Robert Collins)
5014
* The PackRepository, RepositoryPackCollection, NewPack classes have a
5015
slightly changed interface to support different index types; as a
5016
result other users of these classes need to supply the index types
5017
they want. (Robert Collins)
5022
* ``bzrlib.tests.repository_implementations`` has been renamed to
5023
``bzrlib.tests.per_repository`` so that we have a common structure
5024
(and it is shorter). (John Arbash Meinel, #239343)
5026
* ``LocalTransport.abspath()`` now returns a drive letter if the
5027
transport has one, fixing numerous tests on Windows.
5030
* PreviewTree is now tested via intertree_implementations.
5033
* The full test suite is passing again on OSX.
5034
(Guillermo Gonzalez, Vincent Ladeuil)
5036
* The full test suite passes when run with ``-Eallow_debug``.
5042
* A new hook, ``Branch.open``, has been added, which is called when
5043
branch objects are opened. (Robert Collins)
5045
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
5046
tree walking, and modular directory listing code to aid future
5047
performance optimisations and refactoring. (Robert Collins)
5049
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
5050
in the middle of processing. It only reports memory if
5051
``/proc/PID/status`` is available. (John Arbash Meinel)
5053
* New method ``RevisionSpec.as_tree`` for representing the revision
5054
specifier as a revision tree object. (Lukáš Lalinský)
5056
* New race-free method on MutableTree ``get_file_with_stat`` for use
5057
when generating stat cache results. (Robert Collins)
5059
* New win32utils.get_local_appdata_location() provides access to a local
5060
directory for storing data. (Mark Hammond)
5062
* To be compatible with python-2.6 a few new rules should be
5063
observed. 'message' attribute can't be used anymore in exception
5064
classes, 'sha' and 'md5' modules have been deprecated (use
5065
osutils.[md5|sha]), object__init__ and object.__new__ don't accept
5073
:Released: 2008-10-01
5075
No changes from 1.7.1rc1.
5081
:Released: 2008-09-24
5083
This release just includes an update to how the merge algorithm handles
5084
file paths when we encounter complex history.
5089
* If we encounter a criss-cross in history, use information from
5090
direct Least Common Ancestors to resolve inventory shape (locations
5091
of files, adds, deletes, etc). This is similar in concept to using
5092
``--lca`` for merging file texts, only applied to paths.
5093
(John Arbash Meinel)
5099
:Released: 2008-09-23
5101
This release includes many bug fixes and a few performance and feature
5102
improvements. ``bzr rm`` will now scan for missing files and remove them,
5103
like how ``bzr add`` scans for unknown files and adds them. A bit more
5104
polish has been applied to the stacking code. The b-tree indexing code has
5105
been brought in, with an eye on using it in a future repository format.
5106
There are only minor installer changes since bzr-1.7rc2.
5111
* Some small updates to the win32 installer. Include localization
5112
files found in plugins, and include the builtin distutils as part of
5113
packaging qbzr. (Mark Hammond)
5119
:Released: 2008-09-17
5121
A few bug fixes from 1.7rc1. The biggest change is a new
5122
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
5123
trying to access a Stacked branch over the smart protocol, to properly
5124
connect to the stacked-on location.
5129
* Branching from a shared repository on a smart server into a new
5130
repository now preserves the repository format.
5131
(Andrew Bennetts, #269214)
5133
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
5134
to the stacked-on branch. (Martin Pool, #261315)
5136
* ``bzr init`` no longer re-opens the BzrDir multiple times.
5139
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
5146
:Released: 2008-09-09
5148
This release candidate for bzr 1.7 has several bug fixes and a few
5149
performance and feature improvements. ``bzr rm`` will now scan for
5150
missing files and remove them, like how ``bzr add`` scans for unknown
5151
files and adds them. A bit more polish has been applied to the stacking
5152
code. The b-tree indexing code has been brought in, with an eye on using
5153
it in a future repository format.
5159
* ``bzr export`` can now export a subdirectory of a project.
5162
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
5163
changes, unless the ``--force`` option is specified.
5164
(Lukáš Lalinský, #74101)
5166
* ``bzr rm`` will now scan for files that are missing and remove just
5167
them automatically, much as ``bzr add`` scans for new files that
5168
are not ignored and adds them automatically. (Robert Collins)
5173
* Support for GSSAPI authentication when using FTP as documented in
5174
RFC2228. (Jelmer Vernooij, #49623)
5176
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
5181
* A url like ``log+file:///tmp`` will log all access to that Transport
5182
to ``.bzr.log``, which may help in debugging or profiling.
5185
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
5186
branch format supports it. (Aaron Bentley)
5188
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
5189
``bzr info`` if it completed successfully.
5192
* ``bzr uncommit`` logs the old tip revision id, and displays how to
5193
restore the branch to that tip using ``bzr pull``. This allows you
5194
to recover if you realize you uncommitted the wrong thing.
5195
(John Arbash Meinel)
5197
* Fix problems in accessing stacked repositories over ``bzr://``.
5198
(Martin Pool, #261315)
5200
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
5201
which 'works', but adds each character separately to the list,
5202
rather than using ``list.append(string)``. Fixing this makes the
5203
SFTP transport a little bit faster (~20%) and use a bit less memory.
5204
(John Arbash Meinel)
5206
* When reading index files, if we happen to read the whole file in a
5207
single request treat it as a ``_buffer_all`` request. This happens
5208
most often on small indexes over remote transports, where we default
5209
to reading 64kB. It saves a round trip for each small index during
5210
fetch operations. Also, if we have read more than 50% of an index
5211
file, trigger a ``_buffer_all`` on the next request. This works
5212
around some inefficiencies because reads don't fall neatly on page
5213
boundaries, so we would ignore those bytes, but request them again
5214
later. This could trigger a total read size of more than the whole
5215
file. (John Arbash Meinel)
5220
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
5221
users. (Robert Collins, #205416)
5223
* Catch the infamous "select/poll returned error" which occurs when
5224
pycurl try to send a body request to an HTTP/1.0 server which has
5225
already refused to handle the request. (Vincent Ladeuil, #225020)
5227
* Fix ``ObjectNotLocked`` errors when using various commands
5228
(including ``bzr cat`` and ``bzr annotate``) in combination with a
5229
smart server URL. (Andrew Bennetts, #237067)
5231
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
5232
for the containing ``.bzr/`` directory (it does not implement
5233
permissions). This would cause us to set all subdirectories to
5234
``0700`` and files to ``0600`` rather than leaving them unmodified.
5235
Now we ignore ``0000`` as the permissions and assume they are
5236
invalid. (John Arbash Meinel, #259855)
5238
* Merging from a previously joined branch will no longer cause
5239
a traceback. (Jelmer Vernooij, #203376)
5241
* Pack operations on windows network shares will work even with large
5242
files. (Robert Collins, #255656)
5244
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
5245
status. Status is also about 7% faster on mozilla sized trees
5246
when the path to the root of the tree has been given. Users of
5247
the internal ``show_tree_status`` function should be aware that
5248
the show_pending flag is now authoritative for showing pending
5249
merges, as it was originally. (Robert Collins, #225204)
5251
* Set valid default _param_name for Option so that ListOption can embed
5252
'-' in names. (Vincent Ladeuil, #263249)
5254
* Show proper error rather than traceback when an unknown revision
5255
id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
5257
* Trailing text in the dirstate file could cause the C dirstate parser
5258
to try to allocate an invalid amount of memory. We now properly
5259
check and test for parsing a dirstate with invalid trailing data.
5260
(John Arbash Meinel, #186014)
5262
* Unexpected error responses from a smart server no longer cause the
5263
client to traceback. (Andrew Bennetts, #263527)
5265
* Use a Windows api function to get a Unicode host name, rather than
5266
assuming the host name is ascii.
5267
(Mark Hammond, John Arbash Meinel, #256550)
5269
* ``WorkingTree4`` trees will now correctly report missing-and-new
5270
paths in the output of ``iter_changes``. (Robert Collins)
5275
* Updated developer documentation. (Martin Pool)
5280
* Exporters now take 4 parameters. (Robert Collins)
5282
* ``Tree.iter_changes`` will now return False for the content change
5283
field when a file is missing in the basis tree and not present in
5284
the target tree. Previously it returned True unconditionally.
5287
* The deprecated ``Branch.abspath`` and unimplemented
5288
``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
5290
* BzrDir.clone_on_transport implementations must now accept a stacked_on
5291
parameter. (Aaron Bentley)
5293
* BzrDir.cloning_metadir implementations must now take a require_stacking
5294
parameter. (Aaron Bentley)
5299
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
5300
which are then passed to the cleanup callable as it is run. In
5301
addition, addCleanup no longer requires that the callables passed to
5302
it be unique. (Jonathan Lange)
5304
* Fix some tests that fail on Windows because files are deleted while
5308
* ``selftest``'s ``--starting-with`` option can now use predefined
5309
prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
5310
``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
5312
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
5318
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
5319
This allows dynamic log output filtering by plugins.
5322
* ``bzrlib.btree_index`` is now available, providing a b-tree index
5323
layer. The design is memory conservative (limited memory cache),
5324
faster to seek (approx 100 nodes per page, gives 100-way fan out),
5325
and stores compressed pages allowing more keys per page.
5326
(Robert Collins, John Arbash Meinel)
5328
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
5329
is unknown in both source and target.
5330
(Robert Collins, Aaron Bentley)
5332
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
5333
streamlined a bit. This should make creating large indexes faster.
5334
(In benchmarking, it now takes less time to create a BTree index than
5335
it takes to read the GraphIndex one.) (John Arbash Meinel)
5337
* Mail clients for `bzr send` are now listed in a registry. This
5338
allows plugins to add new clients by registering them with
5339
``bzrlib.mail_client.mail_client_registry``. All of the built-in
5340
clients now use this mechanism. (Neil Martinsen-Burrell)
5346
:Released: 2008-09-05
5348
A couple regressions were found in the 1.6 release. There was a
5349
performance issue when using ``bzr+ssh`` to branch large repositories,
5350
and some problems with stacking and ``rich-root`` capable repositories.
5356
:Released: 2008-09-03
5361
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
5362
versa) was accidentally using the inter-model fetcher, instead of
5363
recognizing that both were 'rich root' formats.
5364
(John Arbash Meinel, #264321)
5370
:Released: 2008-08-29
5372
This release fixes a few regressions found in the 1.6 client. Fetching
5373
changes was using an O(N^2) buffering algorithm, so for large projects it
5374
would cause memory thrashing. There is also a specific problem with the
5375
``--1.6-rich-root`` format, which prevented stacking on top of
5376
``--rich-root-pack`` repositories, and could allow users to accidentally
5377
fetch experimental data (``-subtree``) without representing it properly.
5378
The ``--1.6-rich-root`` format has been deprecated and users are
5379
recommended to upgrade to ``--1.6.1-rich-root`` immediately. Also we
5380
re-introduced a workaround for users who have repositories with incorrect
5381
nodes (not possible if you only used official releases).
5382
I should also clarify that none of this is data loss level issues, but
5383
still sufficient enough to warrant an updated release.
5388
* ``RemoteTransport.readv()`` was being inefficient about how it
5389
buffered the readv data and processed it. It would keep appending to
5390
the same string (causing many copies) and then pop bytes out of the
5391
start of the string (causing more copies).
5392
With this patch "bzr+ssh://local" can improve dramatically,
5393
especially for projects with large files.
5394
(John Arbash Meinel)
5396
* Revision texts were always meant to be stored as fulltexts. There
5397
was a bug in a bzr.dev version that would accidentally create deltas
5398
when copying from a Pack repo to a Knit repo. This has been fixed,
5399
but to support those repositories, we know always request full texts
5400
for Revision texts. (John Arbash Meinel, #261339)
5402
* The previous ``--1.6-rich-root`` format used an incorrect xml
5403
serializer, which would accidentally support fetching from a
5404
repository that supported subtrees, even though the local one would
5405
not. We deprecated that format, and introduced a new one that uses
5406
the correct serializer ``--1.6.1-rich-root``.
5407
(John Arbash Meinel, #262333)
5413
:Released: 2008-08-25
5415
Finally, the long awaited bzr 1.6 has been released. This release includes
5416
new features like Stacked Branches, improved weave merge, and an updated
5417
server protocol (now on v3) which will allow for better cross version
5418
compatibility. With this release we have deprecated Knit format
5419
repositories, and recommend that users upgrade them, we will continue to
5420
support reading and writing them for the forseeable future, but we will
5421
not be tuning them for performance as pack repositories have proven to be
5422
better at scaling. This will also be the first release to bundle
5423
TortoiseBzr in the standalone Windows installer.
5429
:Released: 2008-08-19
5434
* Disable automatic detection of stacking based on a containing
5435
directory of the target. It interacted badly with push, and needs a
5436
bit more work to get the edges polished before it should happen
5437
automatically. (John Arbash Meinel, #259275)
5438
(This change was reverted when merged to bzr.dev)
5444
:Released: 2008-08-18
5449
* Fix a regression in knit => pack fetching. We had a logic
5450
inversion, causing the fetch to insert fulltexts in random order,
5451
rather than preserving deltas. (John Arbash Meinel, #256757)
5457
:Released: 2008-08-14
5462
* Disable reading ``.bzrrules`` as a per-branch rule preferences
5463
file. The feature was not quite ready for a full release.
5469
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
5470
into the standalone installer. This will be the first official
5471
windows release that installs Tortoise by default.
5477
* Fix a regression in ``bzr+http`` support. There was a missing
5478
function (``_read_line``) that needed to be carried over from
5479
``bzr+ssh`` support. (Andrew Bennetts)
5481
* ``GraphIndex`` objects will internally read an entire index if more
5482
than 1/20th of their keyspace is requested in a single operation.
5483
This largely mitigates a performance regression in ``bzr log FILE``
5484
and completely corrects the performance regression in ``bzr log``.
5485
The regression was caused by removing an accomodation which had been
5486
supporting the index format in use. A newer index format is in
5487
development which is substantially faster. (Robert Collins)
5493
:Released: 2008-08-13
5495
This release candidate has a few minor bug fixes, and some regression
5501
* ``bzr upgrade`` on remote branches accessed via bzr:// and
5502
bzr+ssh:// now works. (Andrew Bennetts)
5504
* Change the ``get_format_description()`` strings for
5505
``RepositoryFormatKnitPack5`` et al to be single line messages.
5508
* Fix for a regression on Win32 where we would try to call
5509
``os.listdir()`` on a file and not catch the exception properly.
5510
(Windows raises a different exception.) This would manifest in
5511
places like ``bzr rm file`` or ``bzr switch``.
5512
(Mark Hammond, John Arbash Meinel)
5514
* ``Inventory.copy()`` was failing to set the revision property for
5515
the root entry. (Jelmer Vernooij)
5517
* sftp transport: added missing ``FileExists`` case to
5518
``_translate_io_exception`` (Christophe Troestler, #123475)
5520
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
5521
scripting use. (Robert Collins, #3834)
5523
* The default ``annotate`` logic will now always assign the
5524
last-modified value of a line to one of the revisions that modified
5525
it, rather than a merge revision. This would happen when both sides
5526
claimed to have modified the line resulting in the same text. The
5527
choice is arbitrary but stable, so merges in different directions
5528
will get the same results. (John Arbash Meinel, #232188)
5534
:Released: 2008-08-06
5536
This release candidate for bzr 1.6 solidifies the new branch stacking
5537
feature. Bazaar now recommends that users upgrade all knit repositories,
5538
because later formats are much faster. However, we plan to continue read/write and
5539
upgrade support for knit repostories for the forseeable future. Several
5540
other bugs and performance issues were fixed.
5545
* Knit format repositories are deprecated and bzr will now emit
5546
warnings whenever it encounters one. Use ``bzr upgrade`` to upgrade
5547
knit repositories to pack format. (Andrew Bennetts)
5552
* ``bzr check`` can now be told which elements at a location it should
5553
check. (Daniel Watkins)
5555
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
5556
from the commit. (Robert Collins, #3117)
5558
* Fetching data between repositories that have the same model but no
5559
optimised fetcher will not reserialise all the revisions, increasing
5560
performance. (Robert Collins, John Arbash Meinel)
5562
* Give a more specific error when target branch is not reachable.
5565
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
5566
This uses a pyrex extension to get direct access to the
5567
``FindFirstFileW`` style apis, rather than using ``listdir`` +
5568
``lstat``. Shows a very strong improvement in commands like
5569
``status`` and ``diff`` which have to iterate the working tree.
5570
Anywhere from 2x-6x faster depending on the size of the tree (bigger
5571
trees, bigger benefit.) (John Arbash Meinel)
5573
* New registry for log properties handles and the method in
5574
LongLogFormatter to display the custom properties returned by the
5575
registered handlers. (Guillermo Gonzalez, #162469)
5580
* Add more tests that stacking does not create deltas spanning
5581
physical repository boundaries.
5582
(Martin Pool, #252428)
5584
* Better message about incompatible repositories.
5585
(Martin Pool, #206258)
5587
* ``bzr branch --stacked`` ensures the destination branch format can
5588
support stacking, even if the origin does not.
5591
* ``bzr export`` no longer exports ``.bzrrules``.
5594
* ``bzr serve --directory=/`` now correctly allows the whole
5595
filesystem to be accessed on Windows, not just the root of the drive
5596
that Python is running from.
5597
(Adrian Wilkins, #240910)
5599
* Deleting directories by hand before running ``bzr rm`` will not
5600
cause subsequent errors in ``bzr st`` and ``bzr commit``.
5601
(Robert Collins, #150438)
5603
* Fix a test case that was failing if encoding wasn't UTF-8.
5604
(John Arbash Meinel, #247585)
5606
* Fix "no buffer space available" error when branching with the new
5607
smart server protocol to or from Windows.
5608
(Andrew Bennetts, #246180)
5610
* Fixed problem in branching from smart server.
5611
(#249256, Michael Hudson, Martin Pool)
5613
* Handle a file turning in to a directory in TreeTransform.
5614
(James Westby, #248448)
5619
* ``MutableTree.commit`` has an extra optional keywork parameter
5620
``exclude`` that will be unconditionally supplied by the command
5621
line UI - plugins that add tree formats may need an update.
5624
* The API minimum version for plugin compatibility has been raised to
5625
1.6 - there are significant changes throughout the code base.
5628
* The generic fetch code now uses three attributes on Repository objects
5629
to control fetch. The streams requested are controlled via :
5630
``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
5631
appropriately allows different repository implementations to recieve
5632
data in their optimial form. If the ``_fetch_reconcile`` is set then
5633
a reconcile operation is triggered at the end of the fetch.
5636
* The ``put_on_disk`` and ``get_tar_item`` methods in
5637
``InventoryEntry`` were deprecated. (Ian Clatworthy)
5639
* ``Repository.is_shared`` doesn't take a read lock. It didn't
5640
need one in the first place (nobody cached the value, and
5641
``RemoteRepository`` wasn't taking one either). This saves a round
5642
trip when probing Pack repositories, as they read the ``pack-names``
5643
file when locked. And during probe, locking the repo isn't very
5644
useful. (John Arbash Meinel)
5649
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
5650
putting together a real history without having to create a full
5651
WorkingTree. It is recommended that tests that are not directly
5652
testing the WorkingTree use BranchBuilder instead. See
5653
``BranchBuilder.build_snapshot`` or
5654
``TestCaseWithMemoryTree.make_branch_builder``. (John Arbash Meinel)
5656
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
5657
helper ``safe_relpath_files`` - used by the new ``exclude``
5658
parameter to commit. (Robert Collins)
5660
* Make it easier to introduce new WorkingTree formats.
5663
* The code for exporting trees was refactored not to use the
5664
deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
5666
* RuleSearchers return () instead of [] now when there are no matches.
5673
:Released: 2008-07-17
5675
This release adds a new 'stacked branches' feature allowing branches to
5676
share storage without being in the same repository or on the same machine.
5677
(See the user guide for more details.) It also adds a new hook, improved
5678
weaves, aliases for related locations, faster bzr+ssh push, and several
5684
* New ``pre_change_branch_tip`` hook that is called before the
5685
branch tip is moved, while the branch is write-locked. See the User
5686
Reference for signature details. (Andrew Bennetts)
5688
* Rule-based preferences can now be defined for selected files in
5689
selected branches, allowing commands and plugins to provide
5690
custom behaviour for files matching defined patterns.
5691
See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
5692
in the User Guide and ``bzr help rules`` for more information.
5695
* Sites may suggest a branch to stack new branches on. (Aaron Bentley)
5697
* Stacked branches are now supported. See ``bzr help branch`` and
5698
``bzr help push``. Branches must be in the ``development1`` format
5699
to stack, though the stacked-on branch can be of any format.
5705
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
5706
to stdout; also ``tar`` and ``tbz2``.
5709
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
5710
rather than the annotation-based merge it was using. It does so by
5711
building up a Weave of the important texts, without needing to build
5712
the full ancestry. (John Arbash Meinel, #238895)
5714
* ``bzr send`` documents and better supports ``emacsclient`` (proper
5715
escaping of mail headers and handling of the MUA Mew).
5716
(Christophe Troestler)
5718
* Remembered locations can be specified by aliases, e.g. :parent, :public,
5719
:submit. (Aaron Bentley)
5721
* The smart protocol now has improved support for setting branches'
5722
revision info directly. This makes operations like push
5723
faster. The new request method name is
5724
``Branch.set_last_revision_ex``. (Andrew Bennetts)
5729
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
5730
The broken implementations of RFC822 in Python and RFC2046 in IIS
5731
combined with boundary-line checking in Bazaar previously made this
5732
impossible. (NB, IIS 5 does not suffer from this problem).
5733
(Adrian Wilkins, #247585)
5735
* ``bzr log --long`` with a ghost in your mainline now handles that
5736
ghost properly. (John Arbash Meinel, #243536)
5738
* ``check`` handles the split-up .bzr layout correctly, so no longer
5739
requires a branch to be present.
5740
(Daniel Watkins, #64783)
5742
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
5744
(Martin Pool, #205230)
5746
* Errors about missing libraries are now shown without a traceback,
5747
and with a suggestion to install the library. The full traceback is
5748
still in ``.bzr.log`` and can be shown with ``-Derror``.
5749
(Martin Pool, #240161)
5751
* Fetch from a stacked branch copies all required data.
5752
(Aaron Bentley, #248506)
5754
* Handle urls such as ftp://user@host.com@www.host.com where the user
5756
(Neil Martinsen-Burrell, #228058)
5758
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
5759
``unlock`` if there was an error in the original function. This helps
5760
most when there is a failure with a smart server action, since often the
5761
connection closes and we cannot unlock.
5762
(Andrew Bennetts, John Arbash Meinel, #125784)
5764
* Obsolete hidden command ``bzr fetch`` removed.
5765
(Martin Pool, #172870)
5767
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
5768
(John Arbash Meinel, #239933)
5770
* You can now compare file revisions in Windows diff programs from
5772
(Matt McClure, #209281)
5774
* revision_history now tolerates mainline ghosts for Branch format 6.
5775
(Aaron Bentley, #235055)
5777
* Set locale from environment for third party libs.
5778
(Martin von Gagern, #128496)
5783
* Added *Using stacked branches* to the User Guide.
5786
* Updated developer documentation.
5792
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
5793
exits, allowing low-key analysis of peak memory use. (Robert Collins)
5795
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
5796
a tree with a ``branch`` attribute of the right format. This was
5797
preventing some ``RemoteBranch`` tests from actually running with
5798
``RemoteBranch`` instances. (Andrew Bennetts)
5803
* Removed ``Repository.text_store``, ``control_store``, etc. Instead,
5804
there are new attributes ``texts, inventories, revisions,
5805
signatures``, each of which is a ``VersionedFiles``. See the
5806
Repository docstring for more details.
5809
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
5810
parameter. If you have a subclass of ``Branch`` that overrides
5811
``pull`` then you should add this parameter. (Andrew Bennetts)
5813
* ``bzrlib.check.check()`` has been deprecated in favour of the more
5814
aptly-named ``bzrlib.check.check_branch()``.
5817
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
5818
These methods are bad APIs because they write directly to sys.stdout.
5819
bzrlib does not use them internally, and there are no direct tests
5820
for them. (Alexander Belchenko)
5825
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
5826
(Alexander Belchenko)
5828
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
5829
which eases the discovery of the tree, the branch and the repository
5830
containing a given location.
5833
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
5834
underlying .knit/.kndx etc files in repositories with partitioned
5835
storage. (Robert Collins)
5837
* Obsolete developer-use command ``weave-join`` has been removed.
5840
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
5841
to support new ``VersionedFiles`` layering.
5848
:Released: 2008-06-10
5850
This release contains further progress towards our 1.6 goals of shallow
5851
repositories, and contains a fix for some user-affecting bugs in the
5852
repository layer. Building working trees during checkout and branch is
5858
* Avoid KnitCorrupt error extracting inventories from some repositories.
5859
(The data is not corrupt; an internal check is detecting a problem
5860
reading from the repository.)
5861
(Martin Pool, Andrew Bennetts, Robert Collins, #234748)
5863
* ``bzr status`` was breaking if you merged the same revision twice.
5864
(John Arbash Meinel, #235407)
5866
* Fix infinite loop consuming 100% CPU when a connection is lost while
5867
reading a response body via the smart protocol v1 or v2.
5870
* Inserting a bundle which changes the contents of a file with no trailing
5871
end of line, causing a knit snapshot in a 'knits' repository will no longer
5872
cause KnitCorrupt. (Robert Collins)
5874
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
5875
pull result. It was instead just returning None, which breaks ``bzr
5876
pull``. (John Arbash Meinel, #238149)
5878
* Sanitize branch nick before using it as an attachment filename in
5879
``bzr send``. (Lukáš Lalinský, #210218)
5881
* Squash ``inv_entry.symlink_target`` to a plain string when
5882
generating DirState details. This prevents from getting a
5883
``UnicodeError`` when you have symlinks and non-ascii filenames.
5884
(John Arbash Meinel, #135320)
5889
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
5891
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
5892
now quote paths where required). Added ``--null`` option to ``added`` and
5893
``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
5896
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
5897
(Ian Clatworthy, Aaron Bentley)
5902
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
5907
* Fix the test HTTPServer to be isolated from chdir calls made while it is
5908
running, allowing it to be used in blackbox tests. (Robert Collins)
5913
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
5914
which are in the ancestry of other revisions. So if you merge the same
5915
tree twice, or merge an ancestor of an existing merge, it will only
5916
record the newest. (If you merge a descendent, it will replace its
5917
ancestor). (John Arbash Meinel, #235407)
5919
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
5920
through the derived classes do not. (Aaron Bentley)
5925
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
5926
creating stacked branches. (Robert Collins)
5928
* Knit record serialisation is now stricter on what it will accept, to
5929
guard against potential internal bugs, or broken input. (Robert Collins)
5934
:Released: 2008-06-02
5936
Commands that work on the revision history such as push, pull, missing,
5937
uncommit and log are now substantially faster. This release adds a
5938
translation of some of the user documentation into Spanish. (Contributions of
5939
other translations would be very welcome.) Bazaar 1.6beta1 adds a new network
5940
protocol which is used by default and which allows for more efficient transfers
5941
and future extensions.
5944
Notes When Upgrading
5945
********************
5947
* There is a new version of the network protocol used for bzr://, bzr+ssh://
5948
and bzr+http:// connections. This will allow more efficient requests and
5949
responses, and more graceful fallback when a server is too old to
5950
recognise a request from a more recent client. Bazaar 1.6 will
5951
interoperate with 0.16 and later versions, but servers should be upgraded
5952
when possible. Bazaar 1.6 no longer interoperates with 0.15 and earlier via
5953
these protocols. Use alternatives like SFTP or upgrade those servers.
5954
(Andrew Bennetts, #83935)
5959
* Deprecation warnings will not be suppressed when running ``bzr selftest``
5960
so that developers can see if their code is using deprecated functions.
5961
(John Arbash Meinel)
5966
* Adding ``-Derror`` will now display a traceback when a plugin fails to
5967
load. (James Westby)
5972
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
5973
the revno of the new revision (``Graph.find_distance_to_null``). This
5974
should make something like ``bzr branch -r -100`` in a shared, no-trees
5975
repository much snappier. (John Arbash Meinel)
5977
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
5978
history. This makes it noticeably faster when logging the last few
5979
revisions. (John Arbash Meinel)
5981
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
5982
(Jerad Cramp, #165086)
5984
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
5985
``Graph.find_differences`` to determine missing revisions without having
5986
to search the whole ancestry. (John Arbash Meinel, #174625)
5988
* ``bzr uncommit`` now uses partial history access, rather than always
5989
extracting the full revision history for a branch. This makes it
5990
resolve the appropriate revisions much faster (in testing it drops
5991
uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
5992
step closer to not using full revision history.
5993
(John Arbash Meinel, #172649)
5998
* ``bzr merge --lca`` should handle when two revisions have no common
5999
ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
6001
* ``bzr status`` was breaking if you merged the same revision twice.
6002
(John Arbash Meinel, #235407)
6004
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
6005
fails. (Andrew Bennetts, #234229)
6007
* Correctly track the base URL of a smart medium when using bzr+http://
6008
URLs, which was causing spurious "No repository present" errors with
6009
branches in shared repositories accessed over bzr+http.
6010
(Andrew Bennetts, #230550)
6012
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
6013
implementations have the attribute. Fixes 'PyCurlTransport' object has no
6014
attribute '_remote_is_at_least_1_2' attribute errors.
6015
(Andrew Bennetts, #220806)
6017
* Failure to delete an obsolete pack file should just give a warning
6018
message, not a fatal error. It may for example fail if the file is still
6019
in use by another process.
6022
* Fix MemoryError during large fetches over HTTP by limiting the amount of
6023
data we try to read per ``recv`` call. The problem was observed with
6024
Windows and a proxy, but might affect other environments as well.
6025
(Eric Holmberg, #215426)
6027
* Handle old merge directives correctly in Merger.from_mergeable. Stricter
6028
get_parent_map requirements exposed a latent bug here. (Aaron Bentley)
6030
* Issue a warning and ignore passwords declared in authentication.conf when
6031
used for an ssh scheme (sftp or bzr+ssh).
6032
(Vincent Ladeuil, #203186)
6034
* Make both http implementations raise appropriate exceptions on 403
6035
Forbidden when POSTing smart requests.
6036
(Vincent Ladeuil, #230223)
6038
* Properly *title* header names in http requests instead of capitalizing
6040
(Vincent Ladeuil, #229076)
6042
* The "Unable to obtain lock" error message now also suggests using
6043
``bzr break-lock`` to fix it. (Martin Albisetti, #139202)
6045
* Treat an encoding of '' as ascii; this can happen when bzr is run
6046
under vim on Mac OS X.
6047
(Neil Martinsen-Burrell)
6049
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
6050
scope. (Daniel Fischer #235687)
6055
* Added directory structure and started translation of docs in spanish.
6056
(Martin Albisetti, Lucio Albenga)
6058
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
6059
on the plugin and integration chapters of the User Guide.
6062
* More Bazaar developer documentation about packaging and release process,
6063
and about use of Python reprs.
6064
(Martin Pool, Martin Albisetti)
6066
* Updated Tortise strategy document. (Mark Hammond)
6071
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
6074
* Fix the test HTTPServer to be isolated from chdir calls made while it is
6075
running, allowing it to be used in blackbox tests. (Robert Collins)
6077
* New helper function for splitting test suites
6078
``split_suite_by_condition``. (Robert Collins)
6083
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
6084
can be obtained using ``bzrlib.missing.find_unmerged``. The api was
6085
fairly broken, and the function was unused, so we are getting rid of it.
6086
(John Arbash Meinel)
6091
* ``Branch.abspath`` is deprecated; use the Tree or Transport
6092
instead. (Martin Pool)
6094
* ``Branch.update_revisions`` now takes an optional ``Graph``
6095
object. This can be used by ``update_revisions`` when it is
6096
checking ancestry, and allows callers to prefer request to go to a
6097
local branch. (John Arbash Meinel)
6099
* Branch, Repository, Tree and BzrDir should expose a Transport as an
6100
attribute if they have one, rather than having it indirectly accessible
6101
as ``.control_files._transport``. This doesn't add a requirement
6102
to support a Transport in cases where it was not needed before;
6103
it just simplifies the way it is reached. (Martin Pool)
6105
* ``bzr missing --mine-only`` will return status code 0 if you have no
6106
new revisions, but the remote does. Similarly for ``--theirs-only``.
6107
The new code only checks one side, so it doesn't know if the other
6108
side has changes. This seems more accurate with the request anyway.
6109
It also changes the output to print '[This|Other] branch is up to
6110
date.' rather than displaying nothing. (John Arbash Meinel)
6112
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
6113
are now deprecated in favor of using Transport operations.
6116
* Many methods on ``VersionedFile``, ``Repository`` and in
6117
``bzrlib.revision`` deprecated before bzrlib 1.5 have been removed.
6120
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
6121
``RevisionSpec``. This will disable the existing behavior of passing in
6122
the full revision history to ``self._match_on``. Useful for specs that
6123
don't actually need access to the full history. (John Arbash Meinel)
6125
* The constructors of ``SmartClientMedium`` and its subclasses now require a
6126
``base`` parameter. ``SmartClientMedium`` implementations now also need
6127
to provide a ``remote_path_from_transport`` method. (Andrew Bennetts)
6129
* The default permissions for creating new files and directories
6130
should now be obtained from ``BzrDir._get_file_mode()`` and
6131
``_get_dir_mode()``, rather than from LockableFiles. The ``_set_file_mode``
6132
and ``_set_dir_mode`` variables on LockableFiles which were advertised
6133
as a way for plugins to control this are no longer consulted.
6136
* ``VersionedFile.join`` is deprecated. This method required local
6137
instances of both versioned file objects and was thus hostile to being
6138
used for streaming from a smart server. The new get_record_stream and
6139
insert_record_stream are meant to efficiently replace this method.
6142
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
6143
which are in the ancestry of other revisions. So if you merge the same
6144
tree twice, or merge an ancestor of an existing merge, it will only
6145
record the newest. (If you merge a descendent, it will replace its
6146
ancestor). (John Arbash Meinel, #235407)
6148
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
6155
:Released: 2008-05-16
6157
This release of Bazaar includes several updates to the documentation, and fixes
6158
to prepare for making rich root support the default format. Many bugs have been
6159
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
6164
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
6165
users of packaged software won't be bothered with DeprecationWarnings,
6166
but developers and testers will still see them. (John Arbash Meinel)
6171
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
6172
on the plugin and integration chapters of the User Guide.
6179
:Released: 2008-05-09
6184
* Broader support of GNU Emacs mail clients. Set
6185
``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
6186
bundle in a mail buffer according to the value of ``mail-user-agent``
6187
variable. (Xavier Maillard)
6192
* Diff now handles revision specs like "branch:" and "submit:" more
6193
efficiently. (Aaron Bentley, #202928)
6195
* More friendly error given when attempt to start the smart server
6196
on an address already in use. (Andrea Corbellini, #200575)
6198
* Pull completes much faster when there is nothing to pull.
6204
* Authentication.conf can define sections without password.
6205
(Vincent Ladeuil, #199440)
6207
* Avoid muttering every time a child update does not cause a progress bar
6208
update. (John Arbash Meinel, #213771)
6210
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
6211
to fix when a Branch has a non-canonical mainline history. ``bzr check``
6212
also detects this condition. (John Arbash Meinel, #177855)
6214
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
6215
for ``revision_id=None`` which was not a string.
6216
(John Arbash Meinel, #211661)
6218
* ``bzr commit`` now works with Microsoft's FTP service.
6221
* Catch definitions outside sections in authentication.conf.
6222
(Vincent Ladeuil, #217650)
6224
* Conversion from non-rich-root to rich-root(-pack) updates inventory
6225
sha1s, even when bundles are used. (Aaron Bentley, #181391)
6227
* Conversion from non-rich-root to rich-root(-pack) works correctly even
6228
though search keys are not topologically sorted. (Aaron Bentley)
6230
* Conversion from non-rich-root to rich-root(-pack) works even when a
6231
parent revision has a different root id. (Aaron Bentley, #177874)
6233
* Disable strace testing until strace is fixed (see bug #103133) and emit a
6234
warning when selftest ends to remind us of leaking tests.
6235
(Vincent Ladeuil, #226769)
6237
* Fetching all revisions from a repository does not cause pack collisions.
6238
(Robert Collins, Aaron Bentley, #212908)
6240
* Fix error about "attempt to add line-delta in non-delta knit".
6241
(Andrew Bennetts, #217701)
6243
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
6244
if the remote server was < version 1.2. This was due to a bug in the
6245
RemoteRepository.get_parent_map() fallback code.
6246
(John Arbash Meinel, #214894)
6248
* Remove leftover code in ``bzr_branch`` that inappropriately creates
6249
a ``branch-name`` file in the branch control directory.
6252
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
6253
rebinding the socket when starting the server a second time.
6254
(John Arbash Meinel, Martin Pool, #164288)
6256
* Severe performance degradation in fetching from knit repositories to
6257
knits and packs due to parsing the entire revisions.kndx on every graph
6258
walk iteration fixed by using the Repository.get_graph API. There was
6259
another regression in knit => knit fetching which re-read the index for
6260
every revision each side had in common.
6261
(Robert Collins, John Arbash Meinel)
6263
* When logging the changes to a particular file, there was a bug if there
6264
were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
6266
* xs4all's ftp server returns a temporary error when trying to list an
6267
empty directory, rather than returning an empty list. Adding a
6268
workaround so that we don't get spurious failures.
6269
(John Arbash Meinel, #215522)
6274
* Expanded the User Guide to include new chapters on popular plugins and
6275
integrating Bazaar into your environment. The *Best practices* chapter
6276
was renamed to *Miscellaneous topics* as suggested by community
6277
feedback as well. (Ian Clatworthy)
6279
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
6281
* Improved the documentation on hooks. (Ian Clatworthy)
6283
* Update authentication docs regarding ssh agents.
6284
(Vincent Ladeuil, #183705)
6289
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
6290
make it easy to identify which test spawned a thread with an unhandled
6291
exception. (Andrew Bennetts)
6293
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
6294
options for debugging tests, these are complementary to the -D
6295
options. The ``-Dselftest_debug`` global option has been replaced by the
6296
``-E=allow_debug`` option for selftest. (Andrew Bennetts)
6298
* Parameterised test ids are preserved correctly to aid diagnosis of test
6299
failures. (Robert Collins, Andrew Bennetts)
6301
* selftest now accepts --starting-with <id> to load only the tests whose id
6302
starts with the one specified. This greatly speeds up running the test
6303
suite on a limited set of tests and can be used to run the tests for a
6304
single module, a single class or even a single test. (Vincent Ladeuil)
6306
* The test suite modules have been modified to define load_tests() instead
6307
of test_suite(). That speeds up selective loading (via --load-list)
6308
significantly and provides many examples on how to migrate (grep for
6309
load_tests). (Vincent Ladeuil)
6314
* ``Hooks.install_hook`` is now deprecated in favour of
6315
``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
6316
avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
6318
* Implement xml8 serializer. (Aaron Bentley)
6320
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
6321
deprecation wrappers. (Martin Pool)
6323
* ``Repository.revision_parents`` is now deprecated in favour of
6324
``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
6326
* The Python ``assert`` statement is no longer used in Bazaar source, and
6327
a test checks this. (Martin Pool)
6332
* ``bzrlib.status.show_pending_merges`` requires the repository to be
6333
locked by the caller. Callers should have been doing it anyway, but it
6334
will now raise an exception if they do not. (John Arbash Meinel)
6336
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
6337
Repository.get_deltas_for_revsions(), Repository.revision_trees(),
6338
Repository.item_keys_introduced_by() no longer take read locks.
6341
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
6342
towards removing LockableFiles and ``.control_files`` entirely.
6345
* Methods deprecated prior to 1.1 have been removed.
6352
:Released: 2008-04-28
6354
This release of Bazaar includes handy improvements to the speed of log and
6355
status, new options for several commands, improved documentation, and better
6356
hooks, including initial code for server-side hooks. A number of bugs have
6357
been fixed, particularly in interoperability between different formats or
6358
different releases of Bazaar over there network. There's been substantial
6359
internal work in both the repository and network code to enable new features
6360
and faster performance.
6365
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
6366
if the remote server was < version 1.2. This was due to a bug in the
6367
RemoteRepository.get_parent_map() fallback code.
6368
(John Arbash Meinel, Andrew Bennetts, #214894)
6374
:Released: 2008-04-21
6379
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
6380
for ``revision_id=None`` which was not a string.
6381
(John Arbash Meinel, #211661)
6383
* Fixed a bug in handling ghost revisions when logging changes in a
6384
particular file. (John Arbash Meinel, #209948)
6386
* Fix error about "attempt to add line-delta in non-delta knit".
6387
(Andrew Bennetts, #205156)
6389
* Fixed performance degradation in fetching from knit repositories to
6390
knits and packs due to parsing the entire revisions.kndx on every graph
6391
walk iteration fixed by using the Repository.get_graph API. There was
6392
another regression in knit => knit fetching which re-read the index for
6393
every revision each side had in common.
6394
(Robert Collins, John Arbash Meinel)
6400
:Released: 2008-04-11
6405
* bzr main script cannot be imported (Benjamin Peterson)
6407
* On Linux bzr additionally looks for plugins in arch-independent site
6408
directory. (Toshio Kuratomi)
6410
* The ``set_rh`` branch hook is now deprecated. Please migrate
6411
any plugins using this hook to use an alternative, e.g.
6412
``post_change_branch_tip``. (Ian Clatworthy)
6414
* When a plugin cannot be loaded as the file path is not a valid
6415
python module name bzr will now strip a ``bzr_`` prefix from the
6416
front of the suggested name, as many plugins (e.g. bzr-svn)
6417
want to be installed without this prefix. It is a common mistake
6418
to have a folder named "bzr-svn" for that plugin, especially
6419
as this is what bzr branch lp:bzr-svn will give you. (James Westby,
6422
* UniqueIntegerBugTracker now appends bug-ids instead of joining
6423
them to the base URL. Plugins that register bug trackers may
6424
need a trailing / added to the base URL if one is not already there.
6425
(James Wesby, Andrew Cowie)
6430
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
6432
* ``status`` now accepts ``--no-pending`` to show the status without
6433
listing pending merges, which speeds up the command a lot on large
6434
histories. (James Westby, #202830)
6436
* New ``post_change_branch_tip`` hook that is called after the
6437
branch tip is moved but while the branch is still write-locked.
6438
See the User Reference for signature details.
6439
(Ian Clatworthy, James Henstridge)
6441
* Reconfigure can convert a branch to be standalone or to use a shared
6442
repository. (Aaron Bentley)
6447
* The smart protocol now has support for setting branches' revision info
6448
directly. This should make operations like push slightly faster, and is a
6449
step towards server-side hooks. The new request method name is
6450
``Branch.set_last_revision_info``. (Andrew Bennetts)
6452
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
6453
(James Westby, Andrew Cowie)
6455
* ``bzr switch`` will attempt to find branches to switch to relative to the
6456
current branch. E.g. ``bzr switch branchname`` will look for
6457
``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
6460
* Diff is now more specific about execute-bit changes it describes
6463
* Fetching data over HTTP is a bit faster when urllib is used. This is done
6464
by forcing it to recv 64k at a time when reading lines in HTTP headers,
6465
rather than just 1 byte at a time. (Andrew Bennetts)
6467
* Log --short and --line are much faster when -r is not specified.
6470
* Merge is faster. We no longer check a file's existence unnecessarily
6471
when merging the execute bit. (Aaron Bentley)
6473
* ``bzr status`` on an explicit list of files no longer shows pending
6474
merges, making it much faster on large trees. (John Arbash Meinel)
6476
* The launchpad directory service now warns the user if they have not set
6477
their launchpad login and are trying to resolve a URL using it, just
6478
in case they want to do a write operation with it. (James Westby)
6480
* The smart protocol client is slightly faster, because it now only queries
6481
the server for the protocol version once per connection. Also, the HTTP
6482
transport will now automatically probe for and use a smart server if
6483
one is present. You can use the new ``nosmart+`` transport decorator
6484
to get the old behaviour. (Andrew Bennetts)
6486
* The ``version`` command takes a ``--short`` option to print just the
6487
version number, for easier use in scripts. (Martin Pool)
6489
* Various operations with revision specs and commands that calculate
6490
revnos and revision ids are faster. (John A. Meinel, Aaron Bentley)
6495
* Add ``root_client_path`` parameter to SmartWSGIApp and
6496
SmartServerRequest. This makes it possible to publish filesystem
6497
locations that don't exactly match URL paths. SmartServerRequest
6498
subclasses should use the new ``translate_client_path`` and
6499
``transport_from_client_path`` methods when dealing with paths received
6500
from a client to take this into account. (Andrew Bennetts, #124089)
6502
* ``bzr mv a b`` can be now used also to rename previously renamed
6503
directories, not only files. (Lukáš Lalinský, #107967)
6505
* ``bzr uncommit --local`` can now remove revisions from the local
6506
branch to be symmetric with ``bzr commit --local``.
6507
(John Arbash Meinel, #93412)
6509
* Don't ask for a password if there is no real terminal.
6510
(Alexander Belchenko, #69851)
6512
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
6513
fetching revisions from a knit to pack repository or vice versa using
6514
bzr:// (including over http or ssh).
6515
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
6517
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy. Also
6518
fixed ``_get_bytes`` in the same module to use the push back buffer.
6519
These bugs had no known impact in normal use, but were problematic for
6520
developers working on the code, and were likely to cause real bugs sooner
6521
or later. (Andrew Bennetts)
6523
* Implement handling of basename parameter for DefaultMail. (James Westby)
6525
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
6526
(Andrew Bennetts, #213425)
6528
* Launchpad locations (lp: URLs) can be pulled. (Aaron Bentley, #181945)
6530
* Merges that add files to deleted root directories complete. They
6531
do create conflicts. (Aaron Bentley, #210092)
6533
* vsftp's return ``550 RNFR command failed.`` supported.
6534
(Marcus Trautwig, #129786)
6539
* Improved documentation on send/merge relationship. (Peter Schuller)
6541
* Minor fixes to the User Guide. (Matthew Fuller)
6543
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
6545
* Added Integrating with Bazaar document for developers (Martin Albisetti)
6550
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
6551
non-ghost aware repository such as weaves will now fail if there are
6552
ghosts. (Robert Collins)
6554
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
6555
now requires the ``index`` and ``access_method`` parameters to be
6556
supplied. A compatible shim has been kept in the new function
6557
``knit.make_file_knit``. (Robert Collins)
6559
* Log formatters must now provide log_revision instead of show and
6560
show_merge_revno methods. The latter had been deprecated since the 0.17
6561
release. (James Westby)
6563
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
6566
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
6568
* ``Repository.get_revision_graph`` is deprecated, with no replacement
6569
method. The method was size(history) and not desirable. (Robert Collins)
6571
* ``revision.revision_graph`` is deprecated, with no replacement function.
6572
The function was size(history) and not desirable. (Robert Collins)
6574
* ``Transport.get_shared_medium`` is deprecated. Use
6575
``Transport.get_smart_medium`` instead. (Andrew Bennetts)
6577
* ``VersionedFile`` factories now accept a get_scope parameter rather
6578
than using a call to ``transaction_finished``, allowing the removal of
6579
the fixed list of versioned files per repository. (Robert Collins)
6581
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
6582
allowed lower memory use, all users of annotations wanted full file
6583
annotations, and there is no storage format suitable for incremental
6584
line-by-line annotation. (Robert Collins)
6586
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
6587
is no longer used - reading the content of a file that is undergoing a
6588
file level merge to identical state on two branches is rare enough, and
6589
not expensive enough to special case. (Robert Collins)
6591
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
6592
These methods added significant complexity to the ``VersionedFile``
6593
implementation, but were only used for optimising fetches from knits -
6594
which can be done from outside the knit layer, or via a caching
6595
decorator. As knits are not the default format, the complexity is no
6596
longer worth paying. (Robert Collins)
6598
* ``VersionedFile.create_empty`` is removed. This method presupposed a
6599
sensible mapping to a transport for individual files, but pack backed
6600
versioned files have no such mapping. (Robert Collins)
6602
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
6603
The method was size(history) and not desirable. (Robert Collins)
6605
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
6606
replacement method. The method was size(history) and not desirable.
6609
* ``VersionedFile.get_parents`` is deprecated, please use
6610
``VersionedFile.get_parent_map``. (Robert Collins)
6612
* ``VersionedFile.get_sha1`` is deprecated, please use
6613
``VersionedFile.get_sha1s``. (Robert Collins)
6615
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
6616
and unused outside of a single test. (Robert Collins)
6618
* ``VersionedFile.iter_parents`` is now deprecated in favour of
6619
``get_parent_map`` which can be used to instantiate a Graph on a
6620
VersionedFile. (Robert Collins)
6622
* ``VersionedFileStore`` no longer uses the transaction parameter given
6623
to most methods; amongst other things this means that the
6624
get_weave_or_empty method no longer guarantees errors on a missing weave
6625
in a readonly transaction, and no longer caches versioned file instances
6626
which reduces memory pressure (but requires more careful management by
6627
callers to preserve performance). (Robert Collins)
6632
* New -Dselftest_debug flag disables clearing of the debug flags during
6633
tests. This is useful if you want to use e.g. -Dhpss to help debug a
6634
failing test. Be aware that using this feature is likely to cause
6635
spurious test failures if used with the full suite. (Andrew Bennetts)
6637
* selftest --load-list now uses a new more agressive test loader that will
6638
avoid loading unneeded modules and building their tests. Plugins can use
6639
this new loader by defining a load_tests function instead of a test_suite
6640
function. (a forthcoming patch will provide many examples on how to
6644
* selftest --load-list now does some sanity checks regarding duplicate test
6645
IDs and tests present in the list but not found in the actual test suite.
6648
* Slightly more concise format for the selftest progress bar, so there's
6649
more space to show the test name. (Martin Pool) ::
6651
[2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
6653
* The test suite takes much less memory to run, and is a bit faster. This
6654
is done by clearing most attributes of TestCases after running them, if
6655
they succeeded. (Andrew Bennetts)
6660
* Added ``_build_client_protocol`` to ``_SmartClient``. (Andrew Bennetts)
6662
* Added basic infrastructure for automatic plugin suggestion.
6665
* If a ``LockableFiles`` object is not explicitly unlocked (for example
6666
because of a missing ``try/finally`` block, it will give a warning but
6667
not automatically unlock itself. (Previously they did.) This
6668
sometimes caused knock-on errors if for example the network connection
6669
had already failed, and should not be relied upon by code.
6670
(Martin Pool, #109520)
6672
* ``make dist`` target to build a release tarball, and also
6673
``check-dist-tarball`` and ``dist-upload-escudero``. (Martin Pool)
6675
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
6676
classes will now raise ``UnknownSmartMethod`` when appropriate, so that
6677
callers don't need to try distinguish unknown request errors from other
6678
errors. (Andrew Bennetts)
6680
* ``set_make_working_trees`` is now implemented provided on all repository
6681
implementations (Aaron Bentley)
6683
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
6684
``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
6690
:Released: 2008-04-09
6692
No changes from 1.3.1rc1.
6698
:Released: 2008-04-04
6703
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
6704
fetching revisions from a knit to pack repository or vice versa using
6705
bzr:// (including over http or ssh).
6706
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
6712
:Released: 2008-03-20
6714
Bazaar has become part of the GNU project <http://www.gnu.org>
6716
Many operations that act on history, including ``log`` and ``annotate`` are now
6717
substantially faster. Several bugs have been fixed and several new options and
6718
features have been added.
6723
* Avoid spurious failure of ``TestVersion.test_version`` matching
6725
(#202778, Martin Pool)
6731
:Released: 2008-03-16
6733
Notes When Upgrading
6734
********************
6736
* The backup directory created by ``upgrade`` is now called
6737
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
6742
* A new repository format 'development' has been added. This format will
6743
represent the latest 'in-progress' format that the bzr developers are
6744
interested in getting early-adopter testing and feedback on.
6745
``doc/developers/development-repo.txt`` has detailed information.
6748
* BZR_LOG environment variable controls location of .bzr.log trace file.
6749
User can suppress writing messages to .bzr.log by using '/dev/null'
6750
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
6751
is not defined but BZR_HOME is defined then default location
6752
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6753
(Alexander Belchenko, #106117)
6755
* ``launchpad`` builtin plugin now shipped as separate part in standalone
6756
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
6757
and standalone installer allows user to skip installation of this plugin.
6758
(Alexander Belchenko)
6760
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
6762
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
6763
missing final fields. (Martin Pool)
6768
* ``branch`` and ``checkout`` can hard-link working tree files, which is
6769
faster and saves space. (Aaron Bentley)
6771
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
6772
the submit branch to determine the email address to send to.
6778
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
6780
* Branch6.generate_revision_history is faster. (Aaron Bentley)
6782
* Directory services can now be registered, allowing special URLs to be
6783
dereferenced into real URLs. This is a generalization and cleanup of
6784
the lp: transport lookup. (Aaron Bentley)
6786
* Merge directives that are automatically attached to emails have nicer
6787
filenames, based on branch-nick + revno. (Aaron Bentley)
6789
* ``push`` has a ``--revision`` option, to specify what revision to push up
6790
to. (Daniel Watkins)
6792
* Significantly reducing execution time and network traffic for trivial
6793
case of running ``bzr missing`` command for two identical branches.
6794
(Alexander Belchenko)
6796
* Speed up operations that look at the revision graph (such as 'bzr log').
6797
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
6798
extract the revision history. This allows filtering ghosts while
6799
stepping instead of needing to peek ahead. (John Arbash Meinel)
6801
* The ``hooks`` command lists installed hooks, to assist in debugging.
6804
* Updates to how ``annotate`` work. Should see a measurable improvement in
6805
performance and memory consumption for file with a lot of merges.
6806
Also, correctly handle when a line is introduced by both parents (it
6807
should be attributed to the first merge which notices this, and not
6808
to all subsequent merges.) (John Arbash Meinel)
6813
* Autopacking no longer holds the full set of inventory lines in
6814
memory while copying. For large repositories, this can amount to
6815
hundreds of MB of ram consumption.
6816
(Ian Clatworthy, John Arbash Meinel)
6818
* Cherrypicking when using ``--format=merge3`` now explictly excludes
6819
BASE lines. (John Arbash Meinel, #151731)
6821
* Disable plink's interactive prompt for password.
6822
(#107593, Dmitry Vasiliev)
6824
* Encode command line arguments from unicode to user_encoding before
6825
invoking external mail client in `bzr send` command.
6826
(#139318, Alexander Belchenko)
6828
* Fixed problem connecting to ``bzr+https://`` servers.
6829
(#198793, John Ferlito)
6831
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
6834
* Include quick-start-summary.svg file to python-based installer(s)
6835
for Windows. (#192924, Alexander Belchenko)
6837
* lca merge now respects specified files. (Aaron Bentley)
6839
* Make version-info --custom imply --all. (#195560, James Westby)
6841
* ``merge --preview`` now works for merges that add or modify
6842
symlinks (James Henstridge)
6844
* Redirecting the output from ``bzr merge`` (when the remembered
6845
location is used) now works. (John Arbash Meinel)
6847
* setup.py script explicitly checks for Python version.
6848
(Jari Aalto, Alexander Belchenko, #200569)
6850
* UnknownFormatErrors no longer refer to branches regardless of kind of
6851
unknown format. (Daniel Watkins, #173980)
6853
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
6854
signs, among other small improvements. (Matt Nordhoff, #86838)
6856
* Use correct indices when emitting LCA conflicts. This fixes IndexError
6857
errors. (Aaron Bentley, #196780)
6862
* Explained how to use ``version-info --custom`` in the User Guide.
6863
(Neil Martinsen-Burrell)
6868
* Support for loading plugins from zip files and
6869
``bzrlib.plugin.load_from_zip()`` function are deprecated.
6870
(Alexander Belchenko)
6875
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
6877
* The branch interface tests were invalid for branches using rich-root
6878
repositories because the empty string is not a valid file-id.
6884
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
6885
``Repository.get_revision_graph()`` except it includes ghosts and you can
6886
stop part-way through. (John Arbash Meinel)
6888
* New module ``tools/package_mf.py`` provide custom module finder for
6889
python packages (improves standard python library's modulefinder.py)
6890
used by ``setup.py`` script while building standalone bzr.exe.
6891
(Alexander Belchenko)
6893
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
6894
detecting external lookup support on remote repositories. This method is
6895
now attempted first when lookup up repositories, leading to an extra
6896
round trip on older bzr smart servers. (Robert Collins)
6898
* Repository formats have a new supported-feature attribute
6899
``supports_external_lookups`` used to indicate repositories which support
6900
falling back to other repositories when they have partial data.
6903
* ``Repository.get_revision_graph_with_ghosts`` and
6904
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
6905
have been deprecated. (John Arbash Meinel)
6907
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
6908
``Tree._iter_changes``. The api is now considered stable and ready for
6909
external users. (Aaron Bentley)
6911
* The bzrdir format registry now accepts an ``alias`` keyword to
6912
register_metadir, used to indicate that a format name is an alias for
6913
some other format and thus should not be reported when describing the
6914
format. (Robert Collins)
6920
:Released: 2008-02-15
6925
* Fix failing test in Launchpad plugin. (Martin Pool)
6931
:Released: 2008-02-13
6933
Notes When Upgrading
6934
********************
6936
* Fetching via the smart protocol may need to reconnect once during a fetch
6937
if the remote server is running Bazaar 1.1 or earlier, because the client
6938
attempts to use more efficient requests that confuse older servers. You
6939
may be required to re-enter a password or passphrase when this happens.
6940
This won't happen if the server is upgraded to Bazaar 1.2.
6946
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
6947
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
6949
* Formatting of ``bzr plugins`` output is changed to be more human-
6950
friendly. Full path of plugins locations will be shown only with
6951
``--verbose`` command-line option. (Alexander Belchenko)
6953
* ``merge`` now prefers to use the submit branch, but will fall back to
6954
parent branch. For many users, this has no effect. But some users who
6955
pull and merge on the same branch will notice a change. This change
6956
makes it easier to work on a branch on two different machines, pulling
6957
between the machines, while merging from the upstream.
6958
``merge --remember`` can now be used to set the submit_branch.
6964
* ``merge --preview`` produces a diff of the changes merge would make,
6965
but does not actually perform the merge. (Aaron Bentley)
6967
* New smart method ``Repository.get_parent_map`` for getting revision
6968
parent data. This returns additional parent information topologically
6969
adjacent to the requested data to reduce round trip latency impacts.
6972
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
6973
revision data that streams revision data via a chunked encoding. This
6974
avoids buffering large amounts of revision data on the server and on the
6975
client, and sends less data to the server to request the revisions.
6976
(Andrew Bennetts, Robert Collins, #178353)
6978
* The launchpad plugin now handles lp urls of the form
6979
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
6980
launchpad instance to do the resolution of the branch identities.
6981
This is primarily of use to Launchpad developers, but can also
6982
be used by other users who want to try out Launchpad as
6983
a branch location without messing up their public Launchpad
6984
account. Branches that are pushed to the staging environment
6985
have an expected lifetime of one day. (Tim Penhey)
6990
* Creating a new branch no longer tries to read the entire revision-history
6991
unnecessarily over smart server operations. (Robert Collins)
6993
* Fetching between different repository formats with compatible models now
6994
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
6996
* The ``--coverage`` option is now global, rather specific to ``bzr
6997
selftest``. (Andrew Bennetts)
6999
* The ``register-branch`` command will now use the public url of the branch
7000
containing the current directory, if one has been set and no explicit
7001
branch is provided. (Robert Collins)
7003
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
7004
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
7005
(John Arbash Meinel)
7010
* Calculate remote path relative to the shared medium in _SmartClient. This
7011
is related to the problem in bug #124089. (Andrew Bennetts)
7013
* Cleanly handle connection errors in smart protocol version two, the same
7014
way as they are handled by version one. (Andrew Bennetts)
7016
* Clearer error when ``version-info --custom`` is used without
7017
``--template`` (Lukáš Lalinský)
7019
* Don't raise UnavailableFeature during test setup when medusa is not
7020
available or tearDown is never called leading to nasty side effects.
7021
(#137823, Vincent Ladeuil)
7023
* If a plugin's test suite cannot be loaded, for example because of a syntax
7024
error in the tests, then ``selftest`` fails, rather than just printing
7025
a warning. (Martin Pool, #189771)
7027
* List possible values for BZR_SSH environment variable in env-variables
7028
help topic. (Alexander Belchenko, #181842)
7030
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
7031
popping the log redirection now precisely restores the previous state,
7032
which makes it easier to use bzr log output from other programs.
7033
TestCaseInTempDir no longer depends on a log redirection being established
7034
by the test framework, which lets bzr tests cleanly run from a normal
7036
(#124153, #124849, Martin Pool, Jonathan Lange)
7038
* ``pull --quiet`` is now more quiet, in particular a message is no longer
7039
printed when the remembered pull location is used. (James Westby,
7042
* ``reconfigure`` can safely be interrupted while fetching.
7043
(Aaron Bentley, #179316)
7045
* ``reconfigure`` preserves tags when converting to and from lightweight
7046
checkouts. (Aaron Bentley, #182040)
7048
* Stop polluting /tmp when running selftest.
7049
(Vincent Ladeuil, #123363)
7051
* Switch from NFKC => NFC for normalization checks. NFC allows a few
7052
more characters which should be considered valid.
7053
(John Arbash Meinel, #185458)
7055
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
7056
interacting badly with a bug on the launchpad side. (Robert Collins)
7058
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
7059
tracebacks. (Andrew Bennetts, #182849)
7064
* Classes implementing Merge types like Merge3Merger must now accept (and
7065
honour) a do_merge flag in their constructor. (Aaron Bentley)
7067
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
7068
to previously take a write lock (and start a write group.)
7074
* selftest now accepts --load-list <file> to load a test id list. This
7075
speeds up running the test suite on a limited set of tests.
7081
* Add a new method ``get_result`` to graph search objects. The resulting
7082
``SearchResult`` can be used to recreate the search later, which will
7083
be useful in reducing network traffic. (Robert Collins)
7085
* Use convenience function to check whether two repository handles
7086
are referring to the same repository in ``Repository.get_graph``.
7087
(Jelmer Vernooij, #187162)
7089
* Fetching now passes the find_ghosts flag through to the
7090
``InterRepository.missing_revision_ids`` call consistently for all
7091
repository types. This will enable faster missing revision discovery with
7092
bzr+ssh. (Robert Collins)
7094
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
7096
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
7097
``InterRepository.search_missing_revision_ids`` which returns a
7098
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
7099
server. (Robert Collins)
7101
* New error ``NoPublicBranch`` for commands that need a public branch to
7102
operate. (Robert Collins)
7104
* New method ``iter_inventories`` on Repository for access to many
7105
inventories. This is primarily used by the ``revision_trees`` method, as
7106
direct access to inventories is discouraged. (Robert Collins)
7108
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
7109
which will split out ghosts and present parents into two separate sets,
7110
useful for code which needs to be aware of ghosts (e.g. fetching data
7111
cares about ghosts during revision selection). (Robert Collins)
7113
* Record a timestamp against each mutter to the trace file, relative to the
7114
first import of bzrlib. (Andrew Bennetts)
7116
* ``Repository.get_data_stream`` is now deprecated in favour of
7117
``Repository.get_data_stream_for_search`` which allows less network
7118
traffic when requesting data streams over a smart server. (Robert Collins)
7120
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
7121
removing one round trip on many network operations. (Robert Collins)
7123
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
7124
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
7126
* Repository has a new method ``has_revisions`` which signals the presence
7127
of many revisions by returning a set of the revisions listed which are
7128
present. This can be done by index queries without reading data for parent
7129
revision names etc. (Robert Collins)
7135
:Released: 2008-01-15
7137
(no changes from 1.1rc1)
7142
:Released: 2008-01-05
7147
* Dotted revision numbers have been revised. Instead of growing longer with
7148
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
7149
we now report 1.2.1.) This helps scale long lived branches which have many
7150
feature branches merged between them. (John Arbash Meinel)
7152
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
7153
Use ``bzr diff branch1 --new branch2`` instead. This change has
7154
been made to remove the ambiguity where ``branch2`` is in fact a
7155
specific file to diff within ``branch1``.
7160
* New option to use custom template-based formats in ``bzr version-info``.
7163
* diff '--using' allows an external diff tool to be used for files.
7166
* New "lca" merge-type for fast everyday merging that also supports
7167
criss-cross merges. (Aaron Bentley)
7172
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
7175
* ``branch`` and ``checkout`` can now use files from a working tree to
7176
to speed up the process. For checkout, this requires the new
7177
--files-from flag. (Aaron Bentley)
7179
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
7181
* ``bzr diff`` now works on branches without working trees. Tree-less
7182
branches can also be compared to each other and to working trees using
7183
the new diff options ``--old`` and ``--new``. Diffing between branches,
7184
with or without trees, now supports specific file filtering as well.
7185
(Ian Clatworthy, #6700)
7187
* ``bzr pack`` now orders revision texts in topological order, with newest
7188
at the start of the file, promoting linear reads for ``bzr log`` and the
7189
like. This partially fixes #154129. (Robert Collins)
7191
* Merge directives now fetch prerequisites from the target branch if
7192
needed. (Aaron Bentley)
7194
* pycurl now handles digest authentication.
7197
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
7199
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
7201
* ``merge`` now warns when merge directives cause cherrypicks.
7204
* ``split`` now supported, to enable splitting large trees into smaller
7205
pieces. (Aaron Bentley)
7210
* Avoid AttributeError when unlocking a pack repository when an error occurs.
7211
(Martin Pool, #180208)
7213
* Better handle short reads when processing multiple range requests.
7214
(Vincent Ladeuil, #179368)
7216
* build_tree acceleration uses the correct path when a file has been moved.
7219
* ``commit`` now succeeds when a checkout and its master branch share a
7220
repository. (Aaron Bentley, #177592)
7222
* Fixed error reporting of unsupported timezone format in
7223
``log --timezone``. (Lukáš Lalinský, #178722)
7225
* Fixed Unicode encoding error in ``ignored`` when the output is
7226
redirected to a pipe. (Lukáš Lalinský)
7228
* Fix traceback when sending large response bodies over the smart protocol
7229
on Windows. (Andrew Bennetts, #115781)
7231
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
7232
pointed to different logical drives on Windows.
7233
(Alexander Belchenko, #90847)
7235
* HTTP test servers are now compatible with the http protocol version 1.1.
7236
(Vincent Ladeuil, #175524)
7238
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
7239
correctly, instead of erroring or attributing incorrect parents to ghosts.
7242
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
7244
* pycurl authentication handling was broken and incomplete. Fix handling of
7245
user:pass embedded in the urls.
7246
(Vincent Ladeuil, #177643)
7248
* Files inside non-directories are now handled like other conflict types.
7249
(Aaron Bentley, #177390)
7251
* ``reconfigure`` is able to convert trees into lightweight checkouts.
7254
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
7257
* Test that the old ``version_info_format`` functions still work, even
7258
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
7260
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
7263
* ``uncommit`` works even when the commit messages of revisions to be
7264
removed use characters not supported in the terminal encoding.
7267
* When dumb http servers return whole files instead of the requested ranges,
7268
read the remaining bytes by chunks to avoid overflowing network buffers.
7269
(Vincent Ladeuil, #175886)
7274
* Minor tweaks made to the bug tracker integration documentation.
7277
* Reference material has now be moved out of the User Guide and added
7278
to the User Reference. The User Reference has gained 4 sections as
7279
a result: Authenication Settings, Configuration Settings, Conflicts
7280
and Hooks. All help topics are now dumped into text format in the
7281
doc/en/user-reference directory for those who like browsing that
7282
information in their editor. (Ian Clatworthy)
7284
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
7289
* find_* methods available for BzrDirs, Branches and WorkingTrees.
7292
* Help topics can now be loaded from files.
7293
(Ian Clatworthy, Alexander Belchenko)
7295
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
7297
* Parent Providers should now implement ``get_parent_map`` returning a
7298
dictionary instead of ``get_parents`` returning a list.
7299
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
7302
* Patience Diff now supports arbitrary python objects, as long as they
7303
support ``hash()``. (John Arbash Meinel)
7305
* Reduce selftest overhead to establish test names by memoization.
7314
* Modules can now customise their tests by defining a ``load_tests``
7315
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
7316
for the documentation on this attribute. (Robert Collins)
7318
* New helper function ``bzrlib.tests.condition_id_re`` which helps
7319
filter tests based on a regular expression search on the tests id.
7322
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
7323
filter tests based on class. (Robert Collins)
7325
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
7326
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
7328
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
7329
generalises the ``filter_suite_by_re`` function. (Robert Collins)
7331
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
7332
TestSuite that does not contain tests from the input that matched a
7333
regular expression. (Robert Collins)
7335
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
7336
randomized copy of the input suite. (Robert Collins)
7338
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
7339
suite into two according to a regular expression. (Robert Collins)
7341
* Parametrize all http tests for the transport implementations, the http
7342
protocol versions (1.0 and 1.1) and the authentication schemes.
7345
* The ``exclude_pattern`` and ``random_order`` parameters to the function
7346
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
7348
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
7349
replaced by the new helper methods added in this release. (Robert Collins)
7355
:Released: 2007-12-14
7360
* More improvements and fixes to the User Guide. (Ian Clatworthy)
7362
* Add information on cherrypicking/rebasing to the User Guide.
7365
* Improve bug tracker integration documentation. (Ian Clatworthy)
7367
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
7368
to the rebasing section of the User Guide from Aaron Bentley.
7375
:Released: 2007-12-11
7380
* If a traceback occurs, users are now asked to report the bug
7381
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
7382
by mail to the mailing list.
7388
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
7390
* Give more feedback during long http downloads by making readv deliver data
7391
as it arrives for urllib, and issue more requests for pycurl. High latency
7392
networks are better handled by urllib, the pycurl implementation give more
7393
feedback but also incur more latency.
7394
(Vincent Ladeuil, #173010)
7396
* Implement _make_parents_provider on RemoteRepository, allowing generating
7397
bundles against branches on a smart server. (Andrew Bennetts, #147836)
7402
* Improved user guide. (Ian Clatworthy)
7404
* The single-page quick reference guide is now available as a PDF.
7410
* readv urllib http implementation is now a real iterator above the
7411
underlying socket and deliver data as soon as it arrives. 'get' still
7412
wraps its output in a StringIO.
7419
:Released: 2007-12-07
7424
* Added a --coverage option to selftest. (Andrew Bennetts)
7426
* Annotate merge (merge-type=weave) now supports cherrypicking.
7429
* ``bzr commit`` now doesn't print the revision number twice. (Matt
7432
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
7433
define locations of bug trackers that are not directly supported by
7434
bzr or a plugin. The URL will be treated as a template and ``{id}``
7435
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
7437
* Support logging single merge revisions with short and line log formatters.
7440
* User Guide enhanced with suggested readability improvements from
7441
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
7443
* Quick Start Guide renamed to Quick Start Card, moved down in
7444
the catalog, provided in pdf and png format and updated to refer
7445
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
7447
* ``switch`` can now be used on heavyweight checkouts as well as
7448
lightweight ones. After switching a heavyweight checkout, the
7449
local branch is a mirror/cache of the new bound branch and
7450
uncommitted changes in the working tree are merged. As a safety
7451
check, if there are local commits in a checkout which have not
7452
been committed to the previously bound branch, then ``switch``
7453
fails unless the ``--force`` option is given. This option is
7454
now also required if the branch a lightweight checkout is pointing
7455
to has been moved. (Ian Clatworthy)
7460
* New -Dhttp debug option reports http connections, requests and responses.
7463
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
7468
* Better error message when running ``bzr cat`` on a non-existant branch.
7469
(Lukáš Lalinský, #133782)
7471
* Catch OSError 17 (file exists) in final phase of tree transform and show
7473
(Alexander Belchenko, #111758)
7475
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
7476
allowing multiple GET requests to be issued if too many ranges are
7478
(Vincent Ladeuil, #172701)
7480
* Check for missing basis texts when fetching from packs to packs.
7481
(John Arbash Meinel, #165290)
7483
* Fall back to showing e-mail in ``log --short/--line`` if the
7484
committer/author has only e-mail. (Lukáš Lalinský, #157026)
7489
* Deprecate not passing a ``location`` argument to commit reporters'
7490
``started`` methods. (Matt Nordhoff)
7496
:Released: 2007-11-30
7498
Notes When Upgrading
7499
********************
7501
* The default repository format is now ``pack-0.92``. This
7502
default is used when creating new repositories with ``init`` and
7503
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
7504
(See https://bugs.launchpad.net/bugs/164626)
7506
This format can be read and written by Bazaar 0.92 and later, and
7507
data can be transferred to and from older formats.
7509
To upgrade, please reconcile your repository (``bzr reconcile``), and then
7510
upgrade (``bzr upgrade``).
7512
``pack-0.92`` offers substantially better scaling and performance than the
7513
previous knits format. Some operations are slower where the code already
7514
had bad scaling characteristics under knits, the pack format makes such
7515
operations more visible as part of being more scalable overall. We will
7516
correct such operations over the coming releases and encourage the filing
7517
of bugs on any operation which you observe to be slower in a packs
7518
repository. One particular case that we do not intend to fix is pulling
7519
data from a pack repository into a knit repository over a high latency
7520
link; downgrading such data requires reinsertion of the file texts, and
7521
this is a classic space/time tradeoff. The current implementation is
7522
conservative on memory usage because we need to support converting data
7523
from any tree without problems.
7524
(Robert Collins, Martin Pool, #164476)
7529
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
7530
still available if user selects it explicitly with BZR_SSH environment
7531
variable. (Alexander Belchenko, workaround for bug #107593)
7533
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
7534
to enable the subtree functions (for example, for bzr-svn).
7540
* New ``authentication.conf`` file holding the password or other credentials
7541
for remote servers. This can be used for ssh, sftp, smtp and other
7542
supported transports.
7545
* New rich-root and rich-root-pack formats, recording the same data about
7546
tree roots that's recorded for all other directories.
7547
(Aaron Bentley, #164639)
7549
* ``pack-0.92`` repositories can now be reconciled.
7550
(Robert Collins, #154173)
7552
* ``switch`` command added for changing the branch a lightweight checkout
7553
is associated with and updating the tree to reflect the latest content
7554
accordingly. This command was previously part of the BzrTools plug-in.
7555
(Ian Clatworthy, Aaron Bentley, David Allouche)
7557
* ``reconfigure`` command can now convert branches, trees, or checkouts to
7558
lightweight checkouts. (Aaron Bentley)
7563
* Commit updates the state of the working tree via a delta rather than
7564
supplying entirely new basis trees. For commit of a single specified file
7565
this reduces the wall clock time for commit by roughly a 30%.
7566
(Robert Collins, Martin Pool)
7568
* Commit with many automatically found deleted paths no longer performs
7569
linear scanning for the children of those paths during inventory
7570
iteration. This should fix commit performance blowing out when many such
7571
paths occur during commit. (Robert Collins, #156491)
7573
* Fetch with pack repositories will no longer read the entire history graph.
7574
(Robert Collins, #88319)
7576
* Revert takes out an appropriate lock when reverting to a basis tree, and
7577
does not read the basis inventory twice. (Robert Collins)
7579
* Diff does not require an inventory to be generated on dirstate trees.
7580
(Aaron Bentley, #149254)
7582
* New annotate merge (--merge-type=weave) implementation is fast on
7583
versionedfiles withough cached annotations, e.g. pack-0.92.
7589
* ``bzr merge`` now warns when it encounters a criss-cross merge.
7592
* ``bzr send`` now doesn't require the target e-mail address to be
7593
specified on the command line if an interactive e-mail client is used.
7596
* ``bzr tags`` now prints the revision number for each tag, instead of
7597
the revision id, unless --show-ids is passed. In addition, tags can be
7598
sorted chronologically instead of lexicographically with --sort=time.
7599
(Adeodato Simó, #120231)
7601
* Windows standalone version of bzr is able to load system-wide plugins from
7602
"plugins" subdirectory in installation directory. In addition standalone
7603
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
7604
about paths and bzr version. (Alexander Belchenko, #129298)
7612
* A progress bar has been added for knitpack -> knitpack fetching.
7613
(Robert Collins, #157789, #159147)
7615
* Branching from a branch via smart server now preserves the repository
7616
format. (Andrew Bennetts, #164626)
7618
* ``commit`` is now able to invoke an external editor in a non-ascii
7619
directory. (Daniel Watkins, #84043)
7621
* Catch connection errors for ftp.
7622
(Vincent Ladeuil, #164567)
7624
* ``check`` no longer reports spurious unreferenced text versions.
7625
(Robert Collins, John A Meinel, #162931, #165071)
7627
* Conflicts are now resolved recursively by ``revert``.
7628
(Aaron Bentley, #102739)
7630
* Detect invalid transport reuse attempts by catching invalid URLs.
7631
(Vincent Ladeuil, #161819)
7633
* Deleting a file without removing it shows a correct diff, not a traceback.
7636
* Do no use timeout in HttpServer anymore.
7637
(Vincent Ladeuil, #158972).
7639
* Don't catch the exceptions related to the http pipeline status before
7640
retrying an http request or some programming errors may be masked.
7641
(Vincent Ladeuil, #160012)
7643
* Fix ``bzr rm`` to not delete modified and ignored files.
7644
(Lukáš Lalinský, #172598)
7646
* Fix exception when revisionspec contains merge revisons but log
7647
formatter doesn't support merge revisions. (Kent Gibson, #148908)
7649
* Fix exception when ScopeReplacer is assigned to before any members have
7650
been retrieved. (Aaron Bentley)
7652
* Fix multiple connections during checkout --lightweight.
7653
(Vincent Ladeuil, #159150)
7655
* Fix possible error in insert_data_stream when copying between
7656
pack repositories over bzr+ssh or bzr+http.
7657
KnitVersionedFile.get_data_stream now makes sure that requested
7658
compression parents are sent before any delta hunks that depend
7660
(Martin Pool, #164637)
7662
* Fix typo in limiting offsets coalescing for http, leading to
7663
whole files being downloaded instead of parts.
7664
(Vincent Ladeuil, #165061)
7666
* FTP server errors don't error in the error handling code.
7667
(Robert Collins, #161240)
7669
* Give a clearer message when a pull fails because the source needs
7671
(Martin Pool, #164443)
7673
* It is clearer when a plugin cannot be loaded because of its name, and a
7674
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
7676
* Leave port as None in transport objects if user doesn't
7677
specify a port in urls.
7678
(vincent Ladeuil, #150860)
7680
* Make sure Repository.fetch(self) is properly a no-op for all
7681
Repository implementations. (John Arbash Meinel, #158333)
7683
* Mark .bzr directories as "hidden" on Windows.
7684
(Alexander Belchenko, #71147)
7686
* ``merge --uncommitted`` can now operate on a single file.
7687
(Aaron Bentley, Lukáš Lalinský, #136890)
7689
* Obsolete packs are now cleaned up by pack and autopack operations.
7690
(Robert Collins, #153789)
7692
* Operations pulling data from a smart server where the underlying
7693
repositories are not both annotated/both unannotated will now work.
7694
(Robert Collins, #165304).
7696
* Reconcile now shows progress bars. (Robert Collins, #159351)
7698
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
7699
properly. (John Arbash Meinel, #162486)
7701
* Removing an already-removed file reports the file does not exist. (Daniel
7704
* Rename on Windows is able to change filename case.
7705
(Alexander Belchenko, #77740)
7707
* Return error instead of a traceback for ``bzr log -r0``.
7708
(Kent Gibson, #133751)
7710
* Return error instead of a traceback when bzr is unable to create
7711
symlink on some platforms (e.g. on Windows).
7712
(Alexander Belchenko, workaround for #81689)
7714
* Revert doesn't crash when restoring a single file from a deleted
7715
directory. (Aaron Bentley)
7717
* Stderr output via logging mechanism now goes through encoded wrapper
7718
and no more uses utf-8, but terminal encoding instead. So all unicode
7719
strings now should be readable in non-utf-8 terminal.
7720
(Alexander Belchenko, #54173)
7722
* The error message when ``move --after`` should be used makes how to do so
7723
clearer. (Daniel Watkins, #85237)
7725
* Unicode-safe output from ``bzr info``. The output will be encoded
7726
using the terminal encoding and unrepresentable characters will be
7727
replaced by '?'. (Lukáš Lalinský, #151844)
7729
* Working trees are no longer created when pushing into a local no-trees
7730
repo. (Daniel Watkins, #50582)
7732
* Upgrade util/configobj to version 4.4.0.
7733
(Vincent Ladeuil, #151208).
7735
* Wrap medusa ftp test server as an FTPServer feature.
7736
(Vincent Ladeuil, #157752)
7741
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
7742
during very long time. (Alexander Belchenko)
7744
* The return value of
7745
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
7746
changed. Previously it was an iterator of lines, now it is an iterator of
7747
(line, version_id) tuples. This change has been made to aid reconcile and
7748
fetch operations. (Robert Collins)
7750
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
7753
* The Repository format registry default has been removed; it was previously
7754
obsoleted by the bzrdir format default, which implies a default repository
7761
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
7762
``bzrlib.pack``. These classes provide more convenient APIs for generating
7763
and parsing containers from streams rather than from files. (Andrew
7766
* New module ``lru_cache`` providing a cache for use by tasks that need
7767
semi-random access to large amounts of data. (John A Meinel)
7769
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
7775
:Released: 2007-11-05
7780
* New uninstaller on Win32. (Alexander Belchenko)
7786
:Released: 2007-10-29
7791
* ``bzr`` now returns exit code 4 if an internal error occurred, and
7792
3 if a normal error occurred. (Martin Pool)
7794
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
7795
repository index errors that occured as a result of the Weave disk format.
7796
Instead the ``reconcile`` command needs to be run to correct those
7797
problems if they exist (and it has been able to fix most such problems
7798
since bzr 0.8). Some new problems have been identified during this release
7799
and you should run ``bzr check`` once on every repository to see if you
7800
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
7801
repository due to mismatched parent errors - a symptom of index errors -
7802
you should simply take a full copy of that remote repository to a clean
7803
directory outside any local repositories, then run reconcile on it, and
7804
finally pull from it locally. (And naturally email the repositories owner
7805
to ask them to upgrade and run reconcile).
7811
* New ``knitpack-experimental`` repository format. This is interoperable with
7812
the ``dirstate-tags`` format but uses a smarter storage design that greatly
7813
speeds up many operations, both local and remote. This new format can be
7814
used as an option to the ``init``, ``init-repository`` and ``upgrade``
7815
commands. (Robert Collins)
7817
* For users of bzr-svn (and those testing the prototype subtree support) that
7818
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
7819
been added. This is interoperable with the ``dirstate-subtrees`` format.
7822
* New ``reconfigure`` command. (Aaron Bentley)
7824
* New ``revert --forget-merges`` command, which removes the record of a pending
7825
merge without affecting the working tree contents. (Martin Pool)
7827
* New ``bzr_remote_path`` configuration variable allows finer control of
7828
remote bzr locations than BZR_REMOTE_PATH environment variable.
7831
* New ``launchpad-login`` command to tell Bazaar your Launchpad
7832
user ID. This can then be used by other functions of the
7833
Launchpad plugin. (James Henstridge)
7838
* Commit in quiet mode is now slightly faster as the information to
7839
output is no longer calculated. (Ian Clatworthy)
7841
* Commit no longer checks for new text keys during insertion when the
7842
revision id was deterministically unique. (Robert Collins)
7844
* Committing a change which is not a merge and does not change the number of
7845
files in the tree is faster by utilising the data about whether files are
7846
changed to determine if the tree is unchanged rather than recalculating
7847
it at the end of the commit process. (Robert Collins)
7849
* Inventory serialisation no longer double-sha's the content.
7852
* Knit text reconstruction now avoids making copies of the lines list for
7853
interim texts when building a single text. The new ``apply_delta`` method
7854
on ``KnitContent`` aids this by allowing modification of the revision id
7855
such objects represent. (Robert Collins)
7857
* Pack indices are now partially parsed for specific key lookup using a
7858
bisection approach. (Robert Collins)
7860
* Partial commits are now approximately 40% faster by walking over the
7861
unselected current tree more efficiently. (Robert Collins)
7863
* XML inventory serialisation takes 20% less time while being stricter about
7864
the contents. (Robert Collins)
7866
* Graph ``heads()`` queries have been fixed to no longer access all history
7867
unnecessarily. (Robert Collins)
7872
* ``bzr+https://`` smart server across https now supported.
7873
(John Ferlito, Martin Pool, #128456)
7875
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
7876
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
7878
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
7879
changes from one revision. (Alexander Belchenko, #141368)
7881
* Show encodings, locale and list of plugins in the traceback message.
7882
(Martin Pool, #63894)
7884
* Experimental directory formats can now be marked with
7885
``experimental = True`` during registration. (Ian Clatworthy)
7890
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
7892
* The hooks reference documentation is now converted to html as expected.
7898
* Connection error reporting for the smart server has been fixed to
7899
display a user friendly message instead of a traceback.
7900
(Ian Clatworthy, #115601)
7902
* Make sure to use ``O_BINARY`` when opening files to check their
7903
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
7905
* Fix a problem with Win32 handling of the executable bit.
7906
(John Arbash Meinel, #149113)
7908
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
7909
no longer assume that means port 22. This allows people using OpenSSH to
7910
override the default port in their ``~/.ssh/config`` if they wish. This
7911
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
7913
* Commands reporting exceptions can now be profiled and still have their
7914
data correctly dumped to a file. For example, a ``bzr commit`` with
7915
no changes still reports the operation as pointless but doing so no
7916
longer throws away the profiling data if this command is run with
7917
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
7919
* Fallback to ftp when paramiko is not installed and sftp can't be used for
7920
``tests/commands`` so that the test suite is still usable without
7922
(Vincent Ladeuil, #59150)
7924
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
7926
* Fix long standing bug in partial commit when there are renames
7927
left in tree. (Robert Collins, #140419)
7929
* Fix selftest semi-random noise during http related tests.
7930
(Vincent Ladeuil, #140614)
7932
* Fix typo in ftp.py making the reconnection fail on temporary errors.
7933
(Vincent Ladeuil, #154259)
7935
* Fix failing test by comparing real paths to cover the case where the TMPDIR
7936
contains a symbolic link.
7937
(Vincent Ladeuil, #141382).
7939
* Fix log against smart server branches that don't support tags.
7940
(James Westby, #140615)
7942
* Fix pycurl http implementation by defining error codes from
7943
pycurl instead of relying on an old curl definition.
7944
(Vincent Ladeuil, #147530)
7946
* Fix 'unprintable error' message when displaying BzrCheckError and
7947
some other exceptions on Python 2.5.
7948
(Martin Pool, #144633)
7950
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
7952
* Handles default value for ListOption in cmd_commit.
7953
(Vincent Ladeuil, #140432)
7955
* HttpServer and FtpServer need to be closed properly or a listening socket
7957
(Vincent Ladeuil, #140055)
7959
* Monitor the .bzr directory created in the top level test
7960
directory to detect leaking tests.
7961
(Vincent Ladeuil, #147986)
7963
* The basename, not the full path, is now used when checking whether
7964
the profiling dump file begins with ``callgrind.out`` or not. This
7965
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
7967
* Trivial fix for invoking command ``reconfigure`` without arguments.
7970
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
7971
new path causes bzr to be unable to access the file. (Robert Collins)
7973
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
7979
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
7980
constructor, for enabling bisection searches. (Robert Collins)
7982
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
7983
tree be supplied to it, previously failing to do so would trigger a
7984
deprecation warning. (Robert Collins)
7986
* ``KnitVersionedFile.add*`` will no longer cache added records even when
7987
enable_cache() has been called - the caching feature is now exclusively for
7988
reading existing data. (Robert Collins)
7990
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
7991
appropriate. (Martin Pool)
7993
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
7994
``trace+`` transport instead. (Robert Collins)
7996
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
7997
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
8000
* Removed previous deprecated ``basis_knit`` parameter to the
8001
``KnitVersionedFile`` constructor. (Robert Collins)
8003
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
8004
class that needs it.
8007
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
8008
``KnitRepository`` by parameters to the constructor. (Robert Collins)
8010
* The ``VersionedFile`` interface now allows content checks to be bypassed
8011
by supplying check_content=False. This saves nearly 30% of the minimum
8012
cost to store a version of a file. (Robert Collins)
8014
* Tree's with bad state such as files with no length or sha will no longer
8015
be silently accepted by the repository XML serialiser. To serialise
8016
inventories without such data, pass working=True to write_inventory.
8019
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
8020
``VersionedFile.join`` will no longer accept different parents on either
8021
side of a join - it will either ignore them, or error, depending on the
8022
implementation. See notes when upgrading for more information.
8028
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
8029
put by the method call, to allow avoiding stat-after-write or
8030
housekeeping in callers. (Robert Collins)
8032
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
8033
mandatory attributes are present on serialisation and deserialisation.
8034
This fixes some holes in API usage and allows better separation between
8035
physical storage and object serialisation. (Robert Collins)
8037
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
8038
shorthand for deriving from BzrError and setting internal_error = True.
8041
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
8042
moving the state of a parent tree to a new version via a delta rather than
8043
a complete replacement tree. (Robert Collins)
8045
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
8046
duplication from user input, when a user mentions both a path and an item
8047
contained within that path. (Robert Collins)
8049
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
8050
determining if a repository is write locked. (Robert Collins)
8052
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
8053
tuple containing the key information about a path for commit processing
8054
to complete. (Robert Collins)
8056
* New method on xml serialisers, write_inventory_to_lines, which matches the
8057
API used by knits for adding content. (Robert Collins)
8059
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
8060
logic, currently only available for byte-based lookup
8061
(``bisect_multi_bytes``). (Robert Collins)
8063
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
8064
and returns a gzipped version of the same. This is used to avoid a bunch
8065
of api friction during adding of knit hunks. (Robert Collins)
8067
* New parameter on ``bzrlib.transport.Transport.readv``
8068
``adjust_for_latency`` which changes readv from returning strictly the
8069
requested data to inserted return larger ranges and in forward read order
8070
to reduce the effect of network latency. (Robert Collins)
8072
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
8073
causes the parents of a selected id to be returned recursively, so all the
8074
paths from the root down to each element of selected_file_ids are
8075
returned. (Robert Collins)
8077
* Knit joining has been enhanced to support plain to annotated conversion
8078
and annotated to plain conversion. (Ian Clatworthy)
8080
* The CommitBuilder method ``record_entry_contents`` now returns summary
8081
information about the effect of the commit on the repository. This tuple
8082
contains an inventory delta item if the entry changed from the basis, and a
8083
boolean indicating whether a new file graph node was recorded.
8086
* The python path used in the Makefile can now be overridden.
8087
(Andrew Bennetts, Ian Clatworthy)
8092
* New transport implementation ``trace+`` which is useful for testing,
8093
logging activity taken to its _activity attribute. (Robert Collins)
8095
* When running bzr commands within the test suite, internal exceptions are
8096
not caught and reported in the usual way, but rather allowed to propagate
8097
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
8098
makes this behavior available to other users.
8101
* New method ``TestCase.call_catch_warnings`` for testing methods that
8102
raises a Python warning. (Martin Pool)
8108
:Released: 2007-09-26
8113
* Print a warning instead of aborting the ``python setup.py install``
8114
process if building of a C extension is not possible.
8115
(Lukáš Lalinský, Alexander Belchenko)
8117
* Fix commit ordering in corner case (Aaron Bentley, #94975)
8119
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
8120
an implicit port. We were incorrectly raising PathNotChild due to
8121
inconsistent treatment of the ''_port'' attribute on the Transport object.
8122
(Andrew Bennetts, #133965)
8124
* Make RemoteRepository.sprout cope gracefully with servers that don't
8125
support the ``Repository.tarball`` request.
8132
:Released: 2007-09-11
8134
* Replaced incorrect tarball for previous release; a debug statement was left
8135
in bzrlib/remote.py.
8141
:Released: 2007-09-11
8146
* The default branch and repository format has changed to
8147
``dirstate-tags``, so tag commands are active by default.
8148
This format is compatible with Bazaar 0.15 and later.
8149
This incidentally fixes bug #126141.
8152
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
8153
must now appear after the command name. Scripts doing things like
8154
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
8160
* New option ``--author`` in ``bzr commit`` to specify the author of the
8161
change, if it's different from the committer. ``bzr log`` and
8162
``bzr annotate`` display the author instead of the committer.
8165
* In addition to global options and command specific options, a set of
8166
standard options are now supported. Standard options are legal for
8167
all commands. The initial set of standard options are:
8169
* ``--help`` or ``-h`` - display help message
8170
* ``--verbose`` or ``-v`` - display additional information
8171
* ``--quiet`` or ``-q`` - only output warnings and errors.
8173
Unlike global options, standard options can be used in aliases and
8174
may have command-specific help. (Ian Clatworthy)
8176
* Verbosity level processing has now been unified. If ``--verbose``
8177
or ``-v`` is specified on the command line multiple times, the
8178
verbosity level is made positive the first time then increased.
8179
If ``--quiet`` or ``-q`` is specified on the command line
8180
multiple times, the verbosity level is made negative the first
8181
time then decreased. To get the default verbosity level of zero,
8182
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
8183
Note that most commands currently ignore the magnitude of the
8184
verbosity level but do respect *quiet vs normal vs verbose* when
8185
generating output. (Ian Clatworthy)
8187
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
8188
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
8190
* New ``Repository.stream_knit_data_for_revisions`` request added to the
8191
network protocol for greatly reduced roundtrips when retrieving a set of
8192
revisions. (Andrew Bennetts)
8197
* ``bzr plugins`` now lists the version number for each plugin in square
8198
brackets after the path. (Robert Collins, #125421)
8200
* Pushing, pulling and branching branches with subtree references was not
8201
copying the subtree weave, preventing the file graph from being accessed
8202
and causing errors in commits in clones. (Robert Collins)
8204
* Suppress warning "integer argument expected, got float" from Paramiko,
8205
which sometimes caused false test failures. (Martin Pool)
8207
* Fix bug in bundle 4 that could cause attempts to write data to wrong
8208
versionedfile. (Aaron Bentley)
8210
* Diffs generated using "diff -p" no longer break the patch parser.
8213
* get_transport treats an empty possible_transports list the same as a non-
8214
empty one. (Aaron Bentley)
8216
* patch verification for merge directives is reactivated, and works with
8217
CRLF and CR files. (Aaron Bentley)
8219
* Accept ..\ as a path in revision specifiers. This fixes for example
8220
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
8222
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
8223
(Blake Winton, #129299)
8225
* man page no longer lists hidden options (#131667, Aaron Bentley)
8227
* ``uncommit --help`` now explains the -r option adequately. (Daniel
8230
* Error messages are now better formatted with parameters (such as
8231
filenames) quoted when necessary. This avoids confusion when directory
8232
names ending in a '.' at the end of messages were confused with a
8233
full stop that may or not have been there. (Daniel Watkins, #129791)
8235
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
8237
* If a particular command is an alias, ``help`` will show the alias
8238
instead of claiming there is no help for said alias. (Daniel Watkins,
8241
* TreeTransform-based operations, like pull, merge, revert, and branch,
8242
now roll back if they encounter an error. (Aaron Bentley, #67699)
8244
* ``bzr commit`` now exits cleanly if a character unsupported by the
8245
current encoding is used in the commit message. (Daniel Watkins,
8248
* bzr send uses default values for ranges when only half of an elipsis
8249
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
8251
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
8252
binary is present. (Martin Albisetti, #107155)
8254
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
8255
needing ``--force``) subtrees that contain no files with text changes or
8256
modified files. With ``--force`` it removes the subtree regardless of
8257
text changes or unknown files. Directories with renames in or out (but
8258
not changed otherwise) will now be removed without needing ``--force``.
8259
Unknown ignored files will be deleted without needing ``--force``.
8260
(Marius Kruger, #111665)
8262
* When two plugins conflict, the source of both the losing and now the
8263
winning definition is shown. (Konstantin Mikhaylov, #5454)
8265
* When committing to a branch, the location being committed to is
8266
displayed. (Daniel Watkins, #52479)
8268
* ``bzr --version`` takes care about encoding of stdout, especially
8269
when output is redirected. (Alexander Belchenko, #131100)
8271
* Prompt for an ftp password if none is provided.
8272
(Vincent Ladeuil, #137044)
8274
* Reuse bound branch associated transport to avoid multiple
8276
(Vincent Ladeuil, #128076, #131396)
8278
* Overwrite conflicting tags by ``push`` and ``pull`` if the
8279
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
8281
* In checkouts, tags are copied into the master branch when created,
8282
changed or deleted, and are copied into the checkout when it is
8283
updated. (Martin Pool, #93856, #93860)
8285
* Print a warning instead of aborting the ``python setup.py install``
8286
process if building of a C extension is not possible.
8287
(Lukáš Lalinský, Alexander Belchenko)
8292
* Add the option "--show-diff" to the commit command in order to display
8293
the diff during the commit log creation. (Goffredo Baroncelli)
8295
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
8298
* ``pull -v`` no longer includes deltas, making it much faster.
8301
* ``send`` now sends the directive as an attachment by default.
8302
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
8304
* Documentation updates (Martin Albisetti)
8306
* Help on debug flags is now included in ``help global-options``.
8307
(Daniel Watkins, #124853)
8309
* Parameters passed on the command line are checked to ensure they are
8310
supported by the encoding in use. (Daniel Watkins)
8312
* The compression used within the bzr repository has changed from zlib
8313
level 9 to the zlib default level. This improves commit performance with
8314
only a small increase in space used (and in some cases a reduction in
8315
space). (Robert Collins)
8317
* Initial commit no longer SHAs files twice and now reuses the path
8318
rather than looking it up again, making it faster.
8321
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
8322
changes in one revision. (Lukáš Lalinský)
8324
* If versioned files match a given ignore pattern, a warning is now
8325
given. (Daniel Watkins, #48623)
8327
* ``bzr status`` now has -S as a short name for --short and -V as a
8328
short name for --versioned. These have been added to assist users
8329
migrating from Subversion: ``bzr status -SV`` is now like
8330
``svn status -q``. (Daniel Watkins, #115990)
8332
* Added C implementation of ``PatienceSequenceMatcher``, which is about
8333
10x faster than the Python version. This speeds up commands that
8334
need file diffing, such as ``bzr commit`` or ``bzr diff``.
8337
* HACKING has been extended with a large section on core developer tasks.
8340
* Add ``branches`` and ``standalone-trees`` as online help topics and
8341
include them as Concepts within the User Reference.
8342
(Paul Moore, Ian Clatworthy)
8344
* ``check`` can detect versionedfile parent references that are
8345
inconsistent with revision and inventory info, and ``reconcile`` can fix
8346
them. These faulty references were generated by 0.8-era releases,
8347
so repositories which were manipulated by old bzrs should be
8348
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
8353
* ``Branch.append_revision`` is removed altogether; please use
8354
``Branch.set_last_revision_info`` instead. (Martin Pool)
8356
* CommitBuilder now advertises itself as requiring the root entry to be
8357
supplied. This only affects foreign repository implementations which reuse
8358
CommitBuilder directly and have changed record_entry_contents to require
8359
that the root not be supplied. This should be precisely zero plugins
8360
affected. (Robert Collins)
8362
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
8363
its return value to include the sha1 and length of the inserted text. This
8364
allows the avoidance of double-sha1 calculations during commit.
8367
* ``Transport.should_cache`` has been removed. It was not called in the
8368
previous release. (Martin Pool)
8373
* Tests may now raise TestNotApplicable to indicate they shouldn't be
8374
run in a particular scenario. (Martin Pool)
8376
* New function multiply_tests_from_modules to give a simpler interface
8377
to test parameterization. (Martin Pool, Robert Collins)
8379
* ``Transport.should_cache`` has been removed. It was not called in the
8380
previous release. (Martin Pool)
8382
* NULL_REVISION is returned to indicate the null revision, not None.
8385
* Use UTF-8 encoded StringIO for log tests to avoid failures on
8386
non-ASCII committer names. (Lukáš Lalinský)
8391
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
8392
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
8393
useful functionality for determining the path of a plugin, its tests, and
8394
its version information. (Robert Collins)
8396
* Add the option user_encoding to the function 'show_diff_trees()'
8397
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
8399
* Add the function make_commit_message_template_encoded() and the function
8400
edit_commit_message_encoded() which handle encoded strings.
8401
This is done in order to mix the commit messages (which is a unicode
8402
string), and the diff which is a raw string. (Goffredo Baroncelli)
8404
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
8405
overhead on non-weave repositories which don't require all parents to be
8406
present. (Robert Collins)
8408
* Deprecated method ``find_previous_heads`` on
8409
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
8410
of ``parent_candidates`` and a separate heads check via the repository
8411
API. (Robert Collins)
8413
* New trace function ``mutter_callsite`` will print out a subset of the
8414
stack to the log, which can be useful for gathering debug details.
8417
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
8418
added via a public attribute records_written. (Robert Collins)
8420
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
8421
This provides a hint to users of transports as to the reasonable
8422
minimum data to read. In principle this can take latency and
8423
bandwidth into account on a per-connection basis, but for now it
8424
just has hard coded values based on the url. (e.g. http:// has a large
8425
page size, file:// has a small one.) (Robert Collins)
8427
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
8428
incremental addition of data to a file without requiring that all the
8429
data be buffered in memory. (Robert Collins)
8431
* New methods on ``bzrlib.knit.KnitVersionedFile``:
8432
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
8433
``get_format_signature()``. These provide some infrastructure for
8434
efficiently streaming the knit data for a set of versions over the smart
8437
* Knits with no annotation cache still produce correct annotations.
8440
* Three new methods have been added to ``bzrlib.trace``:
8441
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
8442
``set_verbosity_level`` expects a numeric value: negative for quiet,
8443
zero for normal, positive for verbose. The size of the number can be
8444
used to determine just how quiet or verbose the application should be.
8445
The existing ``be_quiet`` and ``is_quiet`` routines have been
8446
integrated into this new scheme. (Ian Clatworthy)
8448
* Options can now be delcared with a ``custom_callback`` parameter. If
8449
set, this routine is called after the option is processed. This feature
8450
is now used by the standard options ``verbose`` and ``quiet`` so that
8451
setting one implicitly resets the other. (Ian Clatworthy)
8453
* Rather than declaring a new option from scratch in order to provide
8454
custom help, a centrally registered option can be decorated using the
8455
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
8456
is useful when declaring better help for the ``verbose`` and ``quiet``
8457
standard options as the base definition of these is now more complex
8458
than before thanks to their use of a custom callback. (Ian Clatworthy)
8460
* Tree._iter_changes(specific_file=[]) now iterates through no files,
8461
instead of iterating through all files. None is used to iterate through
8462
all files. (Aaron Bentley)
8464
* WorkingTree.revert() now accepts None to revert all files. The use of
8465
[] to revert all files is deprecated. (Aaron Bentley)
8471
:Released: 2007-08-28
8476
* Documentation is now organized into multiple directories with a level
8477
added for different languages or locales. Added the Mini Tutorial
8478
and Quick Start Summary (en) documents from the Wiki, improving the
8479
content and readability of the former. Formatted NEWS as Release Notes
8480
complete with a Table of Conents, one heading per release. Moved the
8481
Developer Guide into the main document catalog and provided a link
8482
from the developer document catalog back to the main one.
8483
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
8489
* The static convenience method ``BzrDir.create_repository``
8490
is deprecated. Callers should instead create a ``BzrDir`` instance
8491
and call ``create_repository`` on that. (Martin Pool)
8497
:Released: 2007-08-14
8502
* ``bzr init`` should connect to the remote location one time only. We
8503
have been connecting several times because we forget to pass around the
8504
Transport object. This modifies ``BzrDir.create_branch_convenience``,
8505
so that we can give it the Transport we already have.
8506
(John Arbash Meinel, Vincent Ladeuil, #111702)
8508
* Get rid of sftp connection cache (get rid of the FTP one too).
8509
(Vincent Ladeuil, #43731)
8511
* bzr branch {local|remote} remote don't try to create a working tree
8513
(Vincent Ladeuil, #112173)
8515
* All identified multiple connections for a single bzr command have been
8516
fixed. See bzrlib/tests/commands directory.
8519
* ``bzr rm`` now does not insist on ``--force`` to delete files that
8520
have been renamed but not otherwise modified. (Marius Kruger,
8523
* ``bzr selftest --bench`` no longer emits deprecation warnings
8526
* ``bzr status`` now honours FILE parameters for conflict lists
8527
(Aaron Bentley, #127606)
8529
* ``bzr checkout`` now honours -r when reconstituting a working tree.
8530
It also honours -r 0. (Aaron Bentley, #127708)
8532
* ``bzr add *`` no more fails on Windows if working tree contains
8533
non-ascii file names. (Kuno Meyer, #127361)
8535
* allow ``easy_install bzr`` runs without fatal errors.
8536
(Alexander Belchenko, #125521)
8538
* Graph._filter_candidate_lca does not raise KeyError if a candidate
8539
is eliminated just before it would normally be examined. (Aaron Bentley)
8541
* SMTP connection failures produce a nice message, not a traceback.
8547
* Don't show "dots" progress indicators when run non-interactively, such
8548
as from cron. (Martin Pool)
8550
* ``info`` now formats locations more nicely and lists "submit" and
8551
"public" branches (Aaron Bentley)
8553
* New ``pack`` command that will trigger database compression within
8554
the repository (Robert Collins)
8556
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
8557
version is approximately 2-3x faster at parsing a ``.kndx`` file.
8558
Which yields a measurable improvement for commands which have to
8559
read from the repository, such as a 1s => 0.75s improvement in
8560
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
8562
* Merge is now faster. Depending on the scenario, it can be more than 2x
8563
faster. (Aaron Bentley)
8565
* Give a clearer warning, and allow ``python setup.py install`` to
8566
succeed even if pyrex is not available.
8567
(John Arbash Meinel)
8569
* ``DirState._read_dirblocks`` now has an optional Pyrex
8570
implementation. This improves the speed of any command that has to
8571
read the entire DirState. (``diff``, ``status``, etc, improve by
8573
``bisect_dirblocks`` has also been improved, which helps all
8574
``_get_entry`` type calls (whenever we are searching for a
8575
particular entry in the in-memory DirState).
8576
(John Arbash Meinel)
8578
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
8579
branch revision history for ui display unless -v is supplied.
8582
* ``bzr log -rA..B`` output shifted to the left margin if the log only
8583
contains merge revisions. (Kent Gibson)
8585
* The ``plugins`` command is now public with improved help.
8588
* New bundle and merge directive formats are faster to generate, and
8590
* Annotate merge now works when there are local changes. (Aaron Bentley)
8592
* Commit now only shows the progress in terms of directories instead of
8593
entries. (Ian Clatworthy)
8595
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
8596
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
8599
* Fix ``VersionedFile.get_graph()`` to avoid using
8600
``set.difference_update(other)``, which has bad scaling when
8601
``other`` is large. This improves ``VF.get_graph([version_id])`` for
8602
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
8604
* The ``--lsprof-file`` option now generates output for KCacheGrind if
8605
the file starts with ``callgrind.out``. This matches the default file
8606
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
8608
* Fix ``bzr update`` to avoid an unnecessary
8609
``branch.get_master_branch`` call, which avoids 1 extra connection
8610
to the remote server. (Partial fix for #128076, John Arbash Meinel)
8612
* Log errors from the smart server in the trace file, to make debugging
8613
test failures (and live failures!) easier. (Andrew Bennetts)
8615
* The HTML version of the man page has been superceded by a more
8616
comprehensive manual called the Bazaar User Reference. This manual
8617
is completed generated from the online help topics. As part of this
8618
change, limited reStructuredText is now explicitly supported in help
8619
topics and command help with 'unnatural' markup being removed prior
8620
to display by the online help or inclusion in the man page.
8623
* HTML documentation now use files extension ``*.html``
8624
(Alexander Belchenko)
8626
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
8627
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
8629
* ``bzr selftest --strict`` fails if there are any missing features or
8630
expected test failures. (Daniel Watkins, #111914)
8632
* Link to registration survey added to README. (Ian Clatworthy)
8634
* Windows standalone installer show link to registration survey
8635
when installation finished. (Alexander Belchenko)
8640
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
8641
Options are now required to provide a help string and it must
8642
comply with the style guide by being one or more sentences with an
8643
initial capital and final period. (Martin Pool)
8645
* KnitIndex.get_parents now returns tuples. (Robert Collins)
8647
* Ancient unused ``Repository.text_store`` attribute has been removed.
8650
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
8651
rather than just bytestrings, making it easier to represent multiple
8652
element names. As this interface was not used by any internal facilities
8653
since it was introduced in 0.18 no API compatibility is being preserved.
8654
The serialised form of these packs is identical with 0.18 when a single
8655
element tuple is in use. (Robert Collins)
8660
* merge now uses ``iter_changes`` to calculate changes, which makes room for
8661
future performance increases. It is also more consistent with other
8662
operations that perform comparisons, and reduces reliance on
8663
Tree.inventory. (Aaron Bentley)
8665
* Refactoring of transport classes connected to a remote server.
8666
ConnectedTransport is a new class that serves as a basis for all
8667
transports needing to connect to a remote server. transport.split_url
8668
have been deprecated, use the static method on the object instead. URL
8669
tests have been refactored too.
8672
* Better connection sharing for ConnectedTransport objects.
8673
transport.get_transport() now accepts a 'possible_transports' parameter.
8674
If a newly requested transport can share a connection with one of the
8678
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
8679
the null revision, and consider using ``None`` for this purpose
8680
deprecated. (Aaron Bentley)
8682
* New ``index`` module with abstract index functionality. This will be
8683
used during the planned changes in the repository layer. Currently the
8684
index layer provides a graph aware immutable index, a builder for the
8685
same index type to allow creating them, and finally a composer for
8686
such indices to allow the use of many indices in a single query. The
8687
index performance is not optimised, however the API is stable to allow
8688
development on top of the index. (Robert Collins)
8690
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
8691
their directory sections. This is equivalent to comparing
8692
``path.split('/')``, only without having to split the paths.
8693
This has a Pyrex implementation available.
8694
(John Arbash Meinel)
8696
* New transport decorator 'unlistable+' which disables the list_dir
8697
functionality for testing.
8699
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
8701
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
8702
for performing annotate-merge. (Aaron Bentley)
8704
* New EmailMessage class to create email messages. (Adeodato Simó)
8706
* Unused functions on the private interface KnitIndex have been removed.
8709
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
8710
of a ``index.GraphIndex``. (Robert Collins)
8712
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
8713
the parents of many knit nodes at once, reducing round trips to the
8714
underlying index. (Robert Collins)
8716
* Graph now has an is_ancestor method, various bits use it.
8719
* The ``-Dhpss`` flag now includes timing information. As well as
8720
logging when a new connection is opened. (John Arbash Meinel)
8722
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
8723
callers when inserting data, allowing generation of readv style access
8724
during pack creation, without needing a separate pass across the output
8725
pack to gather such details. (Robert Collins)
8727
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
8728
files that are stored on a transport. (Robert Collins)
8730
* New ``Repository.has_same_location`` method that reports if two
8731
repository objects refer to the same repository (although with some risk
8732
of false negatives). (Andrew Bennetts)
8734
* InterTree.compare now passes require_versioned on correctly.
8737
* New methods on Repository - ``start_write_group``,
8738
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
8739
which provide a clean hook point for transactional Repositories - ones
8740
where all the data for a fetch or commit needs to be made atomically
8741
available in one step. This allows the write lock to remain while making
8742
a series of data insertions. (e.g. data conversion). (Robert Collins)
8744
* In ``bzrlib.knit`` the internal interface has been altered to use
8745
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
8746
describe where data in a knit is, allowing knits to be split into
8747
many files. (Robert Collins)
8749
* ``bzrlib.knit._KnitData`` split into cache management and physical access
8750
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
8751
The former provides access into a .pack file, and the latter provides the
8752
current production repository form of .knit files. (Robert Collins)
8757
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
8758
``--keep-output`` options, which are obsolete now that tests
8759
are done within directories in $TMPDIR. (Martin Pool)
8761
* The SSH_AUTH_SOCK environment variable is now reset to avoid
8762
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
8764
* run_bzr_subprocess handles parameters the same way as run_bzr:
8765
either a string or a list of strings should be passed as the first
8766
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
8772
:Released: 2007-07-17
8777
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
8783
:Released: 2007-07-10
8788
* Do not suppress pipe errors, etc. in non-display commands
8789
(Alexander Belchenko, #87178)
8791
* Display a useful error message when the user requests to annotate
8792
a file that is not present in the specified revision.
8793
(James Westby, #122656)
8795
* Commands that use status flags now have a reference to 'help
8796
status-flags'. (Daniel Watkins, #113436)
8798
* Work around python-2.4.1 inhability to correctly parse the
8799
authentication header.
8800
(Vincent Ladeuil, #121889)
8802
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
8804
* Fix tempfile permissions error in smart server tar bundling under
8805
Windows. (Martin _, #119330)
8807
* Fix detection of directory entries in the inventory. (James Westby)
8809
* Fix handling of http code 400: Bad Request When issuing too many ranges.
8810
(Vincent Ladeuil, #115209)
8812
* Issue a CONNECT request when connecting to an https server
8813
via a proxy to enable SSL tunneling.
8814
(Vincent Ladeuil, #120678)
8816
* Fix ``bzr log -r`` to support selecting merge revisions, both
8817
individually and as part of revision ranges.
8818
(Kent Gibson, #4663)
8820
* Don't leave cruft behind when failing to acquire a lockdir.
8821
(Martin Pool, #109169)
8823
* Don't use the '-f' strace option during tests.
8824
(Vincent Ladeuil, #102019).
8826
* Warn when setting ``push_location`` to a value that will be masked by
8827
locations.conf. (Aaron Bentley, #122286)
8829
* Fix commit ordering in corner case (Aaron Bentley, #94975)
8831
* Make annotate behave in a non-ASCII world (Adeodato Simó).
8836
* The --lsprof-file option now dumps a text rendering of the profiling
8837
information if the filename ends in ".txt". It will also convert the
8838
profiling information to a format suitable for KCacheGrind if the
8839
output filename ends in ".callgrind". Fixes to the lsprofcalltree
8840
conversion process by Jean Paul Calderone and Itamar were also merged.
8841
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
8843
* ``info`` now defaults to non-verbose mode, displaying only paths and
8844
abbreviated format info. ``info -v`` displays all the information
8845
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
8847
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
8850
* The internal ``weave-list`` command has become ``versionedfile-list``,
8851
and now lists knits as well as weaves. (Aaron Bentley)
8853
* Automatic merge base selection uses a faster algorithm that chooses
8854
better bases in criss-cross merge situations (Aaron Bentley)
8856
* Progress reporting in ``commit`` has been improved. The various logical
8857
stages are now reported on as follows, namely:
8859
* Collecting changes [Entry x/y] - Stage n/m
8860
* Saving data locally - Stage n/m
8861
* Uploading data to master branch - Stage n/m
8862
* Updating the working tree - Stage n/m
8863
* Running post commit hooks - Stage n/m
8865
If there is no master branch, the 3rd stage is omitted and the total
8866
number of stages is adjusted accordingly.
8868
Each hook that is run after commit is listed with a name (as hooks
8869
can be slow it is useful feedback).
8870
(Ian Clatworthy, Robert Collins)
8872
* Various operations that are now faster due to avoiding unnecessary
8873
topological sorts. (Aaron Bentley)
8875
* Make merge directives robust against broken bundles. (Aaron Bentley)
8877
* The lsprof filename note is emitted via trace.note(), not standard
8878
output. (Aaron Bentley)
8880
* ``bzrlib`` now exports explicit API compatibility information to assist
8881
library users and plugins. See the ``bzrlib.api`` module for details.
8884
* Remove unnecessary lock probes when acquiring a lockdir.
8887
* ``bzr --version`` now shows the location of the bzr log file, which
8888
is especially useful on Windows. (Martin Pool)
8890
* -D now supports hooks to get debug tracing of hooks (though its currently
8891
minimal in nature). (Robert Collins)
8893
* Long log format reports deltas on merge revisions.
8894
(John Arbash Meinel, Kent Gibson)
8896
* Make initial push over ftp more resilient. (John Arbash Meinel)
8898
* Print a summary of changes for update just like pull does.
8899
(Daniel Watkins, #113990)
8901
* Add a -Dhpss option to trace smart protocol requests and responses.
8907
* Testing cleanups -
8908
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
8909
to ``bzrlib.tests.repository_implementations``;
8910
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
8911
to ``bzrlib.tests.interrepository_implementations``;
8912
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
8913
``bzrlib.tests.test_transport_implementations``.
8914
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
8915
``bzrlib.tests.branch_implementations``.
8916
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
8917
``bzrlib.tests.bzrdir_implementations``.
8918
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
8919
to ``bzrlib.tests.interversionedfile_implementations``.
8920
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
8921
``bzrlib.tests.revisionstore_implementations``.
8922
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
8923
``bzrlib.tests.workingtree_implementations``.
8924
These changes are an API break in the testing infrastructure only.
8927
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
8929
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
8930
win32. Callers of the function should do this and use the new
8931
``MutableTree.smart_add`` method instead. (Robert Collins)
8933
* ``bzrlib.add.glob_expand_for_win32`` is now
8934
``bzrlib.win32utils.glob_expand``. (Robert Collins)
8936
* ``bzrlib.add.FastPath`` is now private and moved to
8937
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
8939
* ``LockDir.wait`` removed. (Martin Pool)
8941
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
8942
``server_stopped`` hooks. The first parameter is now an iterable of
8943
backing URLs rather than a single URL. This is to reflect that many
8944
URLs may map to the external URL of the server. E.g. the server interally
8945
may have a chrooted URL but also the local file:// URL will be at the
8946
same location. (Robert Collins)
8951
* New SMTPConnection class to unify email handling. (Adeodato Simó)
8953
* Fix documentation of BzrError. (Adeodato Simó)
8955
* Make BzrBadParameter an internal error. (Adeodato Simó)
8957
* Remove use of 'assert False' to raise an exception unconditionally.
8960
* Give a cleaner error when failing to decode knit index entry.
8963
* TreeConfig would mistakenly search the top level when asked for options
8964
from a section. It now respects the section argument and only
8965
searches the specified section. (James Westby)
8967
* Improve ``make api-docs`` output. (John Arbash Meinel)
8969
* Use os.lstat rather than os.stat for osutils.make_readonly and
8970
osutils.make_writeable. This makes the difftools plugin more
8971
robust when dangling symlinks are found. (Elliot Murphy)
8973
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
8974
lockdirs are taken or released. (Martin Pool)
8976
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
8977
allows a nicer UI when hooks are running as the current hook can
8978
be displayed. (Robert Collins)
8980
* ``Transport.get`` has had its interface made more clear for ease of use.
8981
Retrieval of a directory must now fail with either 'PathError' at open
8982
time, or raise 'ReadError' on a read. (Robert Collins)
8984
* New method ``_maybe_expand_globs`` on the ``Command`` class for
8985
dealing with unexpanded glob lists - e.g. on the win32 platform. This
8986
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
8988
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
8989
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
8992
* New method ``external_url`` on Transport for obtaining the url to
8993
hand to external processes. (Robert Collins)
8995
* Teach windows installers to build pyrex/C extensions.
8996
(Alexander Belchenko)
9001
* Removed the ``--keep-output`` option from selftest and clean up test
9002
directories as they're used. This reduces the IO load from
9003
running the test suite and cuts the time by about half.
9004
(Andrew Bennetts, Martin Pool)
9006
* Add scenarios as a public attribute on the TestAdapter classes to allow
9007
modification of the generated scenarios before adaption and easier
9008
testing. (Robert Collins)
9010
* New testing support class ``TestScenarioApplier`` which multiplies
9011
out a single teste by a list of supplied scenarios. (RobertCollins)
9013
* Setting ``repository_to_test_repository`` on a repository_implementations
9014
test will cause it to be called during repository creation, allowing the
9015
testing of repository classes which are not based around the Format
9016
concept. For example a repository adapter can be tested in this manner,
9017
by altering the repository scenarios to include a scenario that sets this
9018
attribute during the test parameterisation in
9019
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
9021
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
9022
interface is now self.run_bzr. The command to run can be passed as
9023
either a list of parameters, a string containing the command line, or
9024
(deprecated) varargs parameters. (Martin Pool)
9026
* The base TestCase now isolates tests from -D parameters by clearing
9027
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
9029
* Add a relpath parameter to get_transport methods in test framework to
9030
avoid useless cloning.
9031
(Vincent Ladeuil, #110448)
9037
:Released: 2007-06-18
9042
* Fix crash of commit due to wrong lookup of filesystem encoding.
9043
(Colin Watson, #120647)
9045
* Revert logging just to stderr in commit as broke unicode filenames.
9046
(Aaron Bentley, Ian Clatworthy, #120930)
9052
:Released: 2007-06-12
9054
Notes When Upgrading
9055
********************
9057
* The kind() and is_executable() APIs on the WorkingTree interface no
9058
longer implicitly (read) locks and unlocks the tree. This *might*
9059
impact some plug-ins and tools using this part of the API. If you find
9060
an issue that may be caused by this change, please let us know,
9061
particularly the plug-in/tool maintainer. If encountered, the API
9062
fix is to surround kind() and is_executable() calls with lock_read()
9063
and unlock() like so::
9065
work_tree.lock_read()
9067
kind = work_tree.kind(...)
9073
* Rework of LogFormatter API to provide beginning/end of log hooks and to
9074
encapsulate the details of the revision to be logged in a LogRevision
9076
In long log formats, merge revision ids are only shown when --show-ids
9077
is specified, and are labelled "revision-id:", as per mainline
9078
revisions, instead of "merged:". (Kent Gibson)
9080
* New ``BranchBuilder`` API which allows the construction of particular
9081
histories quickly. Useful for testing and potentially other applications
9082
too. (Robert Collins)
9087
* There are two new help topics, working-trees and repositories that
9088
attempt to explain these concepts. (James Westby, John Arbash Meinel,
9091
* Added ``bzr log --limit`` to report a limited number of revisions.
9092
(Kent Gibson, #3659)
9094
* Revert does not try to preserve file contents that were originally
9095
produced by reverting to a historical revision. (Aaron Bentley)
9097
* ``bzr log --short`` now includes ``[merge]`` for revisions which
9098
have more than one parent. This is a small improvement to help
9099
understanding what changes have occurred
9100
(John Arbash Meinel, #83887)
9102
* TreeTransform avoids many renames when contructing large trees,
9103
improving speed. 3.25x speedups have been observed for construction of
9104
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
9106
* Commit on large trees is now faster. In my environment, a commit of
9107
a small change to the Mozilla tree (55k files) has dropped from
9108
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
9109
small change is 33% faster. (Ian Clatworthy)
9111
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
9117
* ``bzr push`` should only connect to the remote location one time.
9118
We have been connecting 3 times because we forget to pass around
9119
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
9120
that we can pass in the Transport that we already have.
9121
(John Arbash Meinel, #75721)
9123
* ``DirState.set_state_from_inventory()`` needs to properly order
9124
based on split paths, not just string paths.
9125
(John Arbash Meinel, #115947)
9127
* Let TestUIFactoy encode the password prompt with its own stdout.
9128
(Vincent Ladeuil, #110204)
9130
* pycurl should take use the range header that takes the range hint
9132
(Vincent Ladeuil, #112719)
9134
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
9135
on a missing file. (Aaron Bentley, #118186)
9137
* WorkingTree.remove works correctly with tree references, and when pwd is
9138
not the tree root. (Aaron Bentley)
9140
* Merge no longer fails when a file is renamed in one tree and deleted
9141
in the other. (Aaron Bentley, #110279)
9143
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
9144
and defaults to the last revision (Matthew Fuller, #90048)
9146
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
9147
(Daniel Watkins, #111958)
9149
* ``bzr branch -r revid:foo`` can be used to branch any revision in
9150
your repository. (Previously Branch6 only supported revisions in your
9151
mainline). (John Arbash Meinel, #115343)
9156
:Released: 2007-05-07
9161
* Handle when you have 2 directories with similar names, but one has a
9162
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
9163
iterator was using direct comparison and ``'abc/a'`` sorts after
9164
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
9165
(John Arbash Meinel, #111227)
9167
* Handle when someone renames a file on disk without telling bzr.
9168
Previously we would report the first file as missing, but not show
9169
the new unknown file. (John Arbash Meinel, #111288)
9171
* Avoid error when running hooks after pulling into or pushing from
9172
a branch bound to a smartserver branch. (Martin Pool, #111968)
9177
* Move developer documentation to doc/developers/. This reduces clutter in
9178
the root of the source tree and allows HACKING to be split into multiple
9179
files. (Robert Collins, Alexander Belchenko)
9181
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
9182
``DirState.update_entry()``. This optimizes the core logic for ``bzr
9183
diff`` and ``bzr status`` significantly improving the speed of
9184
both. (John Arbash Meinel)
9189
:Released: 2007-04-30
9194
* Handle the case when you delete a file, and then rename another file
9195
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
9196
status`` should show the removed file and an unknown file in its
9197
place. (John Arbash Meinel, #109993)
9199
* Bundles properly read and write revision properties that have an
9200
empty value. And when the value is not ASCII.
9201
(John Arbash Meinel, #109613)
9203
* Fix the bzr commit message to be in text mode.
9204
(Alexander Belchenko, #110901)
9206
* Also handle when you rename a file and create a file where it used
9207
to be. (John Arbash Meinel, #110256)
9209
* ``WorkingTree4._iter_changes`` should not descend into unversioned
9210
directories. (John Arbash Meinel, #110399)
9215
:Released: 2007-04-26
9217
Notes When Upgrading
9218
********************
9220
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
9221
it could be recovered again.
9222
This has been done for consistency with svn and the unix rm command.
9223
The old ``remove`` behaviour has been retained in the new option
9224
``bzr remove --keep``, which will just stop versioning the file,
9226
``bzr remove --force`` have been added which will always delete the
9228
``bzr remove`` is also more verbose.
9229
(Marius Kruger, #82602)
9234
* Merge directives can now be supplied as input to `merge` and `pull`,
9235
like bundles can. (Aaron Bentley)
9237
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
9238
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
9239
to continue. This can be disabled by setting the environment variable
9240
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
9242
* selftest now supports --list-only to list tests instead of running
9243
them. (Ian Clatworthy)
9245
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
9246
tests with names that match that regular expression.
9247
(Ian Clatworthy, #102679)
9249
* selftest now supports --randomize SEED to run tests in a random order.
9250
SEED is typically the value 'now' meaning 'use the current time'.
9251
(Ian Clatworthy, #102686)
9253
* New option ``--fixes`` to commit, which stores bug fixing annotations as
9254
revision properties. Built-in support for Launchpad, Debian, Trac and
9255
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
9257
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
9258
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
9261
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
9264
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
9265
into using local variables instead of going through ``self._var``.
9266
Improves the time to ``merge_sort`` a 10k revision graph by
9267
approximately 40% (~700->400ms). (John Arbash Meinel)
9269
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
9272
* ``bzr help`` now provides cross references to other help topics using
9273
the _see_also facility on command classes. Likewise the bzr_man
9274
documentation, and the bzr.1 man page also include this information.
9277
* Tags are now included in logs, that use the long log formatter.
9278
(Erik Bågfors, Alexander Belchenko)
9280
* ``bzr help`` provides a clearer message when a help topic cannot be
9281
found. (Robert Collins, #107656)
9283
* ``bzr help`` now accepts optional prefixes for command help. The help
9284
for all commands can now be found at ``bzr help commands/COMMANDNAME``
9285
as well as ``bzr help COMMANDNAME`` (which only works for commands
9286
where the name is not the same as a more general help topic).
9289
* ``bzr help PLUGINNAME`` will now return the module docstring from the
9290
plugin PLUGINNAME. (Robert Collins, #50408)
9292
* New help topic ``urlspec`` which lists the availables transports.
9293
(Goffredo Baroncelli)
9295
* doc/server.txt updated to document the default bzr:// port
9296
and also update the blurb about the hpss' current status.
9297
(Robert Collins, #107125).
9299
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
9300
serve out to the local LAN (and anyone in the world that can reach the
9301
machine running ``bzr serve``. (Robert Collins, #98918)
9303
* A new smart server protocol version has been added. It prefixes requests
9304
and responses with an explicit version identifier so that future protocol
9305
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
9307
* The bzr protocol version 2 indicates success or failure in every response
9308
without depending on particular commands encoding that consistently,
9309
allowing future client refactorings to be much more robust about error
9310
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
9312
* The smart protocol over HTTP client has been changed to always post to the
9313
same ``.bzr/smart`` URL under the original location when it can. This allows
9314
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
9315
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
9317
* digest authentication is now supported for proxies and HTTP by the urllib
9318
based http implementation. Tested against Apache 2.0.55 and Squid
9319
2.6.5. Basic and digest authentication are handled coherently for HTTP
9320
and proxy: if the user is provided in the url (bzr command line for HTTP,
9321
proxy environment variables for proxies), the password is prompted for
9322
(only once). If the password is provided, it is taken into account. Once
9323
the first authentication is successful, all further authentication
9324
roundtrips are avoided by preventively setting the right authentication
9331
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
9332
code paths. (Robert Collins)
9334
* Change the format of chroot urls so that they can be safely manipulated
9335
by generic url utilities without causing the resulting urls to have
9336
escaped the chroot. A side effect of this is that creating a chroot
9337
requires an explicit action using a ChrootServer.
9338
(Robert Collins, Andrew Bennetts)
9340
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
9341
rather than fixing bug #96847. (Aaron Bentley)
9343
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
9344
``WorkingTree._write_inventory``. (Aaron Bentley)
9346
* Convenience method ``TestCase.expectFailure`` ensures that known failures
9347
do not silently pass. (Aaron Bentley)
9349
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
9350
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
9352
* New SmartServer hooks facility. There are two initial hooks documented
9353
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
9354
plugins to execute code upon server startup and shutdown.
9357
* SmartServer in standalone mode will now close its listening socket
9358
when it stops, rather than waiting for garbage collection. This primarily
9359
fixes test suite hangs when a test tries to connect to a shutdown server.
9360
It may also help improve behaviour when dealing with a server running
9361
on a specific port (rather than dynamically assigned ports).
9364
* Move most SmartServer code into a new package, bzrlib/smart.
9365
bzrlib/transport/remote.py contains just the Transport classes that used
9366
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
9368
* urllib http implementation avoid roundtrips associated with
9369
401 (and 407) errors once the authentication succeeds.
9372
* urlib http now supports querying the user for a proxy password if
9373
needed. Realm is shown in the prompt for both HTTP and proxy
9374
authentication when the user is required to type a password.
9377
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
9378
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
9379
consistent with its new home in ``bzrlib/transport/remote.py``, and because
9380
it's not really a "smart" transport, just one that does file operations
9381
via remote procedure calls. (Andrew Bennetts)
9383
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
9384
``Branch`` now accept a ``token`` keyword argument, so that separate
9385
instances of those objects can share a lock if it has the right token.
9386
(Andrew Bennetts, Robert Collins)
9388
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
9389
branch references - which the smart server component needs.
9391
* The Repository API ``make_working_trees`` is now permitted to return
9392
False when ``set_make_working_trees`` is not implemented - previously
9393
an unimplemented ``set_make_working_trees`` implied the result True
9394
from ``make_working_trees``. This has been changed to accomodate the
9395
smart server, where it does not make sense (at this point) to ever
9396
make working trees by default. (Robert Collins)
9398
* Command objects can now declare related help topics by having _see_also
9399
set to a list of related topic. (Robert Collins)
9401
* ``bzrlib.help`` now delegates to the Command class for Command specific
9402
help. (Robert Collins)
9404
* New class ``TransportListRegistry``, derived from the Registry class, which
9405
simplifies tracking the available Transports. (Goffredo Baroncelli)
9407
* New function ``Branch.get_revision_id_to_revno_map`` which will
9408
return a dictionary mapping revision ids to dotted revnos. Since
9409
dotted revnos are defined in the context of the branch tip, it makes
9410
sense to generate them from a ``Branch`` object.
9411
(John Arbash Meinel)
9413
* Fix the 'Unprintable error' message display to use the repr of the
9414
exception that prevented printing the error because the str value
9415
for it is often not useful in debugging (e.g. KeyError('foo') has a
9416
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
9417
useful. (Robert Collins)
9419
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
9425
* Don't fail bundle selftest if email has 'two' embedded.
9426
(Ian Clatworthy, #98510)
9428
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
9429
(Robert Widhopf-Fenk, #98591)
9431
* Remove ``--basis`` from the checkout/branch commands - it didn't work
9432
properly and is no longer beneficial.
9433
(Robert Collins, #53675, #43486)
9435
* Don't produce encoding error when adding duplicate files.
9438
* Fix ``bzr log <file>`` so it only logs the revisions that changed
9439
the file, and does it faster.
9440
(Kent Gibson, John Arbash Meinel, #51980, #69477)
9442
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
9443
an empty versioned directory, which now has files in it.
9444
(John Arbash Meinel, #104257)
9446
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
9447
inside the ancestry of the other. Saves a lot of graph processing
9448
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
9449
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
9451
* Fix ``show_diff_trees`` to handle the case when a file is modified,
9452
and the containing directory is renamed. (The file path is different
9453
in this versus base, but it isn't marked as a rename).
9454
(John Arbash Meinel, #103870)
9456
* FTP now works even when the FTP server does not support atomic rename.
9457
(Aaron Bentley, #89436)
9459
* Correct handling in bundles and merge directives of timezones with
9460
that are not an integer number of hours offset from UTC. Always
9461
represent the epoch time in UTC to avoid problems with formatting
9462
earlier times on win32. (Martin Pool, Alexander Belchenko, John
9465
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
9467
* "dirstate" and "dirstate-tags" formats now produce branches compatible
9468
with old versions of bzr. (Aaron Bentley, #107168))
9470
* Handle moving a directory when children have been added, removed,
9471
and renamed. (John Arbash Meinel, #105479)
9473
* Don't preventively use basic authentication for proxy before receiving a
9474
407 error. Otherwise people willing to use other authentication schemes
9475
may expose their password in the clear (or nearly). This add one
9476
roundtrip in case basic authentication should be used, but plug the
9480
* Handle http and proxy digest authentication.
9481
(Vincent Ladeuil, #94034).
9486
* Added ``bzrlib.strace.strace`` which will strace a single callable and
9487
return a StraceResult object which contains just the syscalls involved
9488
in running it. (Robert Collins)
9490
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
9491
default time down to one suitable for tests. (Andrew Bennetts)
9493
* Add new ``vfs_transport_factory`` attribute on tests which provides the
9494
common vfs backing for both the readonly and readwrite transports.
9495
This allows the RemoteObject tests to back onto local disk or memory,
9496
and use the existing ``transport_server`` attribute all tests know about
9497
to be the smart server transport. This in turn allows tests to
9498
differentiate between 'transport to access the branch', and
9499
'transport which is a VFS' - which matters in Remote* tests.
9500
(Robert Collins, Andrew Bennetts)
9502
* The ``make_branch_and_tree`` method for tests will now create a
9503
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
9504
a LocalURLServer. (Robert Collins, Andrew Bennetts)
9506
* Branch implementation tests have been audited to ensure that all urls
9507
passed to Branch APIs use proper urls, except when local-disk paths
9508
are intended. This is so that tests correctly access the test transport
9509
which is often not equivalent to local disk in Remote* tests. As part
9510
of this many tests were adjusted to remove dependencies on local disk
9512
(Robert Collins, Andrew Bennetts)
9514
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
9515
functions by adding a ``__unittest`` global attribute. (Robert Collins,
9516
Andrew Bennetts, Martin Pool, Jonathan Lange)
9518
* Refactored proxy and authentication handling to simplify the
9519
implementation of new auth schemes for both http and proxy.
9525
:Released: 2007-04-01
9530
* Handle incompatible repositories as a user issue when fetching.
9533
* Don't give a recommendation to upgrade when branching or
9534
checking out a branch that contains an old-format working tree.
9540
:Released: 2007-03-26
9545
* A warning is now displayed when opening working trees in older
9546
formats, to encourage people to upgrade to WorkingTreeFormat4.
9552
* HTTP redirections are now taken into account when a branch (or a
9553
bundle) is accessed for the first time. A message is issued at each
9554
redirection to inform the user. In the past, http redirections were
9555
silently followed for each request which significantly degraded the
9556
performances. The http redirections are not followed anymore by
9557
default, instead a RedirectRequested exception is raised. For bzrlib
9558
users needing to follow http redirections anyway,
9559
``bzrlib.transport.do_catching_redirections`` provide an easy transition
9565
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
9566
lock to an OS write lock. Linux can do this without unlocking, Win32
9567
needs to unlock in between. (John Arbash Meinel)
9569
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
9570
to silence (when false) warnings about opening old formats.
9573
* Fix minor performance regression with bzr-0.15 on pre-dirstate
9574
trees. (We were reading the working inventory too many times).
9575
(John Arbash Meinel)
9577
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
9578
``revision_history``. Branch subclasses should override
9579
``_gen_revision_history`` rather than ``revision_history`` to make use of
9580
this cache, and call ``_clear_revision_history_cache`` and
9581
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
9586
* Take ``smtp_server`` from user config into account.
9589
* Restore Unicode filename handling for versioned and unversioned files.
9590
(John Arbash Meinel, #92608)
9592
* Don't fail during ``bzr commit`` if a file is marked removed, and
9593
the containing directory is auto-removed. (John Arbash Meinel, #93681)
9595
* ``bzr status FILENAME`` failed on Windows because of an uncommon
9596
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
9597
(Wouter van Heyst, John Arbash Meinel, #90819)
9599
* ``bzr checkout source`` should create a local branch in the same
9600
format as source. (John Arbash Meinel, #93854)
9602
* ``bzr commit`` with a kind change was failing to update the
9603
last-changed-revision for directories. The
9604
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
9605
ignoring the fact that the kind could have changed, too.
9606
(John Arbash Meinel, #90111)
9608
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
9609
the directory. So that there was a chance it would break commit,
9610
etc. (John Arbash Meinel, #94037)
9612
* Correctly handles mutiple permanent http redirections.
9618
:Released: 2007-03-14
9620
Notes When Upgrading
9621
********************
9623
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
9624
default to ``--trees`` instead of ``--no-trees``.
9625
Existing shared repositories are not affected.
9630
* New ``merge-directive`` command to generate machine- and human-readable
9631
merge requests. (Aaron Bentley)
9633
* New ``submit:`` revision specifier makes it easy to diff against the
9634
common ancestor with the submit location (Aaron Bentley)
9636
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
9638
* Added ``bzr status --versioned`` to report only versioned files,
9639
not unknowns. (Kent Gibson)
9641
* Merge now autodetects the correct line-ending style for its conflict
9642
markers. (Aaron Bentley)
9647
* Refactored SSH vendor registration into SSHVendorManager class.
9653
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
9654
numbered dirs for TestCaseInTempDir. This is default behavior
9655
on Windows. Anyone can force named dirs on Windows
9656
with ``--no-numbered-dirs``. (Alexander Belchenko)
9658
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
9659
from the command line. (Marien Zwart, #90501)
9661
* Fix ``TreeTransform._iter_changes`` when both the source and
9662
destination are missing. (Aaron Bentley, #88842)
9664
* Fix commit of merges with symlinks in dirstate trees.
9667
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
9668
(Wouter van Heyst, #53483)
9674
:Released: 2007-03-07
9679
* The default disk format has changed. Please run 'bzr upgrade' in your
9680
working trees to upgrade. This new default is compatible for network
9681
operations, but not for local operations. That is, if you have two
9682
versions of bzr installed locally, after upgrading you can only use the
9683
bzr 0.15 version. This new default does not enable tags or nested-trees
9684
as they are incompatible with bzr versions before 0.15 over the network.
9686
* For users of bzrlib: Two major changes have been made to the working tree
9687
api in bzrlib. The first is that many methods and attributes, including
9688
the inventory attribute, are no longer valid for use until one of
9689
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
9690
and become invalid again after unlock is called. This has been done
9691
to improve performance and correctness as part of the dirstate
9693
(Robert Collins, John A Meinel, Martin Pool, and others).
9695
* For users of bzrlib: The attribute 'tree.inventory' should be considered
9696
readonly. Previously it was possible to directly alter this attribute, or
9697
its contents, and have the tree notice this. This has been made
9698
unsupported - it may work in some tree formats, but in the newer dirstate
9699
format such actions will have no effect and will be ignored, or even
9700
cause assertions. All operations possible can still be carried out by a
9701
combination of the tree API, and the bzrlib.transform API. (Robert
9702
Collins, John A Meinel, Martin Pool, and others).
9707
* Support for OS Windows 98. Also .bzr.log on any windows system
9708
saved in My Documents folder. (Alexander Belchenko)
9710
* ``bzr mv`` enhanced to support already moved files.
9711
In the past the mv command would have failed if the source file doesn't
9712
exist. In this situation ``bzr mv`` would now detect that the file has
9713
already moved and update the repository accordingly, if the target file
9715
A new option ``--after`` has been added so that if two files already
9716
exist, you could notify Bazaar that you have moved a (versioned) file
9717
and replaced it with another. Thus in this case ``bzr move --after``
9718
will only update the Bazaar identifier.
9719
(Steffen Eichenberg, Marius Kruger)
9721
* ``ls`` now works on treeless branches and remote branches.
9724
* ``bzr help global-options`` describes the global options.
9727
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
9730
* Files are now allowed to change kind (e.g. from file to symlink).
9731
Supported by ``commit``, ``revert`` and ``status``
9734
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
9737
* ``bzr help checkouts`` descibes what checkouts are and some possible
9738
uses of them. (James Westby, Aaron Bentley)
9740
* A new ``-d`` option to push, pull and merge overrides the default
9741
directory. (Martin Pool)
9743
* Branch format 6: smaller, and potentially faster than format 5. Supports
9744
``append_history_only`` mode, where the log view and revnos do not change,
9745
except by being added to. Stores policy settings in
9746
".bzr/branch/branch.conf".
9748
* ``append_only`` branches: Format 6 branches may be configured so that log
9749
view and revnos are always consistent. Either create the branch using
9750
"bzr init --append-revisions-only" or edit the config file as descriped
9751
in docs/configuration.txt.
9753
* rebind: Format 6 branches retain the last-used bind location, so if you
9754
"bzr unbind", you can "bzr bind" to bind to the previously-selected
9757
* Builtin tags support, created and deleted by the ``tag`` command and
9758
stored in the branch. Tags can be accessed with the revisionspec
9759
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
9760
at present. Tags require a network incompatible upgrade. To perform this
9761
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
9762
repositories. (Martin Pool)
9764
* The ``bzr://`` transport now has a well-known port number, 4155,
9765
which it will use by default. (Andrew Bennetts, Martin Pool)
9767
* Bazaar now looks for user-installed plugins before looking for site-wide
9768
plugins. (Jonathan Lange)
9770
* ``bzr resolve`` now detects and marks resolved text conflicts.
9776
* Internally revision ids and file ids are now passed around as utf-8
9777
bytestrings, rather than treating them as Unicode strings. This has
9778
performance benefits for Knits, since we no longer need to decode the
9779
revision id for each line of content, nor for each entry in the index.
9780
This will also help with the future dirstate format.
9781
(John Arbash Meinel)
9783
* Reserved ids (any revision-id ending in a colon) are rejected by
9784
versionedfiles, repositories, branches, and working trees
9787
* Minor performance improvement by not creating a ProgressBar for
9788
every KnitIndex we create. (about 90ms for a bzr.dev tree)
9789
(John Arbash Meinel)
9791
* New easier to use Branch hooks facility. There are five initial hooks,
9792
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
9793
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
9794
``'post_uncommit'``. These hooks fire after the matching operation
9795
on a branch has taken place, and were originally added for the
9796
branchrss plugin. (Robert Collins)
9798
* New method ``Branch.push()`` which should be used when pushing from a
9799
branch as it makes performance and policy decisions to match the UI
9800
level command ``push``. (Robert Collins).
9802
* Add a new method ``Tree.revision_tree`` which allows access to cached
9803
trees for arbitrary revisions. This allows the in development dirstate
9804
tree format to provide access to the callers to cached copies of
9805
inventory data which are cheaper to access than inventories from the
9807
(Robert Collins, Martin Pool)
9809
* New ``Branch.last_revision_info`` method, this is being done to allow
9810
optimization of requests for both the number of revisions and the last
9811
revision of a branch with smartservers and potentially future branch
9812
formats. (Wouter van Heyst, Robert Collins)
9814
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
9815
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
9816
other for code reuse without requiring users to perform file-renaming
9817
gymnastics. (Robert Collins)
9819
* New Repository method ``'gather_stats'`` for statistic data collection.
9820
This is expected to grow to cover a number of related uses mainly
9821
related to bzr info. (Robert Collins)
9823
* Log formatters are now managed with a registry.
9824
``log.register_formatter`` continues to work, but callers accessing
9825
the FORMATTERS dictionary directly will not.
9827
* Allow a start message to be passed to the ``edit_commit_message``
9828
function. This will be placed in the message offered to the user
9829
for editing above the separator. It allows a template commit message
9830
to be used more easily. (James Westby)
9832
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
9833
you pass a Unicode string rather than an 8-bit string. Callers need
9834
to be updated to encode first. (John Arbash Meinel)
9836
* Branch.push, pull, merge now return Result objects with information
9837
about what happened, rather than a scattering of various methods. These
9838
are also passed to the post hooks. (Martin Pool)
9840
* File formats and architecture is in place for managing a forest of trees
9841
in bzr, and splitting up existing trees into smaller subtrees, and
9842
finally joining trees to make a larger tree. This is the first iteration
9843
of this support, and the user-facing aspects still require substantial
9844
work. If you wish to experiment with it, use ``bzr upgrade
9845
--dirstate-with-subtree`` in your working trees and repositories.
9846
You can use the hidden commands ``split`` and ``join`` and to create
9847
and manipulate nested trees, but please consider using the nested-trees
9848
branch, which contains substantial UI improvements, instead.
9849
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
9850
(Aaron Bentley, Martin Pool, Robert Collins).
9855
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
9856
branch, rather than the last changed revision of the file.
9857
(John Arbash Meinel, #82158)
9859
* Lock operations no longer hang if they encounter a permission problem.
9862
* ``bzr push`` can resume a push that was canceled before it finished.
9863
Also, it can push even if the target directory exists if you supply
9864
the ``--use-existing-dir`` flag.
9865
(John Arbash Meinel, #30576, #45504)
9867
* Fix http proxy authentication when user and an optional
9868
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
9871
* ``bzr log branch/file`` works for local treeless branches
9872
(Aaron Bentley, #84247)
9874
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
9876
* Searching location of CA bundle for PyCurl in env variable
9877
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
9878
(Alexander Belchenko, #82086)
9880
* ``bzr init`` works with unicode argument LOCATION.
9881
(Alexander Belchenko, #85599)
9883
* Raise ``DependencyNotPresent`` if pycurl do not support https.
9884
(Vincent Ladeuil, #85305)
9886
* Invalid proxy env variables should not cause a traceback.
9887
(Vincent Ladeuil, #87765)
9889
* Ignore patterns normalised to use '/' path separator.
9890
(Kent Gibson, #86451)
9892
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
9894
* Fix bzrtools shelve command for removed lines beginning with "--"
9895
(Johan Dahlberg, #75577)
9900
* New ``--first`` option to ``bzr selftest`` to run specified tests
9901
before the rest of the suite. (Martin Pool)
9907
:Released: 2007-01-23
9912
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
9917
* Skip documentation generation tests if the tools to do so are not
9918
available. Fixes running selftest for installled copies of bzr.
9919
(John Arbash Meinel, #80330)
9921
* Fix the code that discovers whether bzr is being run from it's
9922
working tree to handle the case when it isn't but the directory
9923
it is in is below a repository. (James Westby, #77306)
9929
:Released: 2007-01-16
9934
* New connection: ``bzr+http://`` which supports tunnelling the smart
9935
protocol over an HTTP connection. If writing is enabled on the bzr
9936
server, then you can write over the http connection.
9937
(Andrew Bennetts, John Arbash Meinel)
9939
* Aliases now support quotation marks, so they can contain whitespace
9942
* PyCurlTransport now use a single curl object. By specifying explicitly
9943
the 'Range' header, we avoid the need to use two different curl objects
9944
(and two connections to the same server). (Vincent Ladeuil)
9946
* ``bzr commit`` does not prompt for a message until it is very likely to
9947
succeed. (Aaron Bentley)
9949
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
9952
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
9953
of a list while checking if a revision id was requested. Takes 10s
9954
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
9955
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
9956
filtering lines with a regex rather than multiple ``str.find()``
9957
calls. (saves another 300ms) (John Arbash Meinel)
9959
* Policy can be set for each configuration key. This allows keys to be
9960
inherited properly across configuration entries. For example, this
9961
should enable you to do::
9963
[/home/user/project]
9964
push_location = sftp://host/srv/project/
9965
push_location:policy = appendpath
9967
And then a branch like ``/home/user/project/mybranch`` should get an
9968
automatic push location of ``sftp://host/srv/project/mybranch``.
9971
* Added ``bzr status --short`` to make status report svn style flags
9972
for each file. For example::
9974
$ bzr status --short
9980
* 'bzr selftest --clean-output' allows easily clean temporary tests
9981
directories without running tests. (Alexander Belchenko)
9983
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
9985
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
9986
local is fully merged into remote. (Jan Hudec)
9988
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
9993
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
9994
help speed up processing, as well allowing to extract unannotated
9995
lines. Between the two ``fileids_affected_by_revision_ids`` is
9996
improved by approx 10%. (John Arbash Meinel)
9998
* Change Revision serialization to only write out millisecond
9999
resolution. Rather than expecting floating point serialization to
10000
preserve more resolution than we need. (Henri Weichers, Martin Pool)
10002
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
10004
* When ``encoding_type`` attribute of class Command is equal to 'exact',
10005
force sys.stdout to be a binary stream on Windows, and therefore
10006
keep exact line-endings (without LF -> CRLF conversion).
10007
(Alexander Belchenko)
10009
* Single-letter short options are no longer globally declared. (Martin
10012
* Before using detected user/terminal encoding bzr should check
10013
that Python has corresponding codec. (Alexander Belchenko)
10015
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
10020
* ``bzr missing --verbose`` was showing adds/removals in the wrong
10021
direction. (John Arbash Meinel)
10023
* ``bzr annotate`` now defaults to showing dotted revnos for merged
10024
revisions. It cuts them off at a depth of 12 characters, but you can
10025
supply ``--long`` to see the full number. You can also use
10026
``--show-ids`` to display the original revision ids, rather than
10027
revision numbers and committer names. (John Arbash Meinel, #75637)
10029
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
10030
(Alexander Belchenko, #57869)
10032
* Win32-specific: output of cat, bundle and diff commands don't mangle
10033
line-endings (Alexander Belchenko, #55276)
10035
* Replace broken fnmatch based ignore pattern matching with custom pattern
10037
(Kent Gibson, Jan Hudec #57637)
10039
* pycurl and urllib can detect short reads at different places. Update
10040
the test suite to test more cases. Also detect http error code 416
10041
which was raised for that specific bug. Also enhance the urllib
10042
robustness by detecting invalid ranges (and pycurl's one by detecting
10043
short reads during the initial GET). (Vincent Ladeuil, #73948)
10045
* The urllib connection sharing interacts badly with urllib2
10046
proxy setting (the connections didn't go thru the proxy
10047
anymore). Defining a proper ProxyHandler solves the
10048
problem. (Vincent Ladeuil, #74759)
10050
* Use urlutils to generate relative URLs, not osutils
10051
(Aaron Bentley, #76229)
10053
* ``bzr status`` in a readonly directory should work without giving
10054
lots of errors. (John Arbash Meinel, #76299)
10056
* Mention the revisionspec topic for the revision option help.
10057
(Wouter van Heyst, #31663)
10059
* Allow plugins import from zip archives.
10060
(Alexander Belchenko, #68124)
10066
:Released: 2006-12-05
10068
No changes from 0.13rc
10074
:Released: 2006-11-27
10079
* New command ``bzr remove-tree`` allows the removal of the working
10080
tree from a branch.
10081
(Daniel Silverstone)
10083
* urllib uses shared keep-alive connections, so http
10084
operations are substantially faster.
10085
(Vincent Ladeuil, #53654)
10087
* ``bzr export`` allows an optional branch parameter, to export a bzr
10088
tree from some other url. For example:
10089
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
10090
(Daniel Silverstone)
10092
* Added ``bzr help topics`` to the bzr help system. This gives a
10093
location for general information, outside of a specific command.
10094
This includes updates for ``bzr help revisionspec`` the first topic
10095
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
10097
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
10100
* Knit files will now cache full texts only when the size of the
10101
deltas is as large as the size of the fulltext. (Or after 200
10102
deltas, whichever comes first). This has the most benefit on large
10103
files with small changes, such as the inventory for a large project.
10104
(eg For a project with 2500 files, and 7500 revisions, it changes
10105
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
10110
* New -D option given before the command line turns on debugging output
10111
for particular areas. -Derror shows tracebacks on all errors.
10114
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
10115
and remove benchmarks that take longer than 10min to run.
10116
(John Arbash Meinel)
10118
* Use ``time.time()`` instead of ``time.clock()`` to decide on
10119
progress throttling. Because ``time.clock()`` is actually CPU time,
10120
so over a high-latency connection, too many updates get throttled.
10121
(John Arbash Meinel)
10123
* ``MemoryTransport.list_dir()`` would strip the first character for
10124
files or directories in root directory. (John Arbash Meinel)
10126
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
10127
branch references - which the smart server component needs.
10129
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
10130
prefix. It disallows any access to locations above a set URL. (Andrew
10136
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
10137
And optimize the knit index parsing code.
10138
(Dmitry Vasiliev, John Arbash Meinel)
10140
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
10141
without importing it. This prevented ``bzr upgrade`` from working
10142
unless a plugin already imported ``bzrlib.workingtree``
10143
(John Arbash Meinel, #70716)
10145
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
10147
* Give nicer error message when an http server returns a 403
10148
error code. (Vincent Ladeuil, #57644).
10150
* When a multi-range http GET request fails, try a single
10151
range one. If it fails too, forget about ranges. Remember that until
10152
the death of the transport and propagates that to the clones.
10153
(Vincent Ladeuil, #62276, #62029).
10155
* Handles user/passwords supplied in url from command
10156
line (for the urllib implementation). Don't request already
10157
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
10159
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
10160
are added. This fixes bug where fetching remote revisions records
10161
them as full references rather than integers.
10162
(John Arbash Meinel, #64789)
10164
* ``bzr ignore`` strips trailing slashes in patterns.
10165
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
10167
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
10169
* mv correctly handles paths that traverse symlinks.
10170
(Aaron Bentley, #66964)
10172
* Give nicer looking error messages when failing to connect over ssh.
10173
(John Arbash Meinel, #49172)
10175
* Pushing to a remote branch does not currently update the remote working
10176
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
10177
machine now show that the working tree is out of date.
10178
(Cheuksan Edward Wang #48136)
10180
* Use patiencediff instead of difflib for determining deltas to insert
10181
into knits. This avoids the O(N^3) behavior of difflib. Patience
10182
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
10184
* Running ``bzr log`` on nonexistent file gives an error instead of the
10185
entire log history. (Cheuksan Edward Wang #50793)
10187
* ``bzr cat`` can look up contents of removed or renamed files. If the
10188
pathname is ambiguous, i.e. the files in the old and new trees have
10189
different id's, the default is the file in the new tree. The user can
10190
use "--name-from-revision" to select the file in the old tree.
10191
(Cheuksan Edward Wang, #30190)
10196
* TestingHTTPRequestHandler really handles the Range header
10197
(previously it was ignoring it and returning the whole file,).
10202
:Released: 2006-10-30
10207
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
10208
and remove benchmarks that take longer than 10min to run.
10209
(John Arbash Meinel)
10214
:Released: 2006-10-23
10219
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
10220
rather than just showing a decimal revision number for revisions on the
10221
mainline. These revision numbers are not yet accepted as input into bzr
10222
commands such as log, diff etc. (Robert Collins)
10224
* revisions can now be specified using dotted-decimal revision numbers.
10225
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
10227
* ``bzr help commands`` output is now shorter (Aaron Bentley)
10229
* ``bzr`` now uses lazy importing to reduce the startup time. This has
10230
a moderate effect on lots of actions, especially ones that have
10231
little to do. For example ``bzr rocks`` time is down to 116ms from
10232
283ms. (John Arbash Meinel)
10234
* New Registry class to provide name-to-object registry-like support,
10235
for example for schemes where plugins can register new classes to
10236
do certain tasks (e.g. log formatters). Also provides lazy registration
10237
to allow modules to be loaded on request.
10238
(John Arbash Meinel, Adeodato Simó)
10240
API Incompatability
10241
*******************
10243
* LogFormatter subclasses show now expect the 'revno' parameter to
10244
show() to be a string rather than an int. (Robert Collins)
10249
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
10250
can take a ``working_dir='foo'`` parameter, which will change directory
10251
for the command. (John Arbash Meinel)
10253
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
10254
around a regex, which defers compilation until first use.
10255
(John Arbash Meinel)
10257
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
10258
``--no-plugins`` parameter to ensure test reproducability, and avoid
10259
problems with system-wide installed plugins. (John Arbash Meinel)
10261
* Unique tree root ids are now supported. Newly created trees still
10262
use the common root id for compatibility with bzr versions before 0.12.
10265
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
10266
pass in ``inventory.ROOT_ID`` if you want the default root id value.
10267
(Robert Collins, John Arbash Meinel)
10269
* New method ``WorkingTree.flush()`` which will write the current memory
10270
inventory out to disk. At the same time, ``read_working_inventory`` will
10271
no longer trash the current tree inventory if it has been modified within
10272
the current lock, and the tree will now ``flush()`` automatically on
10273
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
10274
advantage of this functionality. (Robert Collins, John Arbash Meinel)
10276
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
10277
parameter will cause it to add another column to its output, which
10278
contains the dotted-decimal revno for each revision, as a tuple.
10281
* ``LogFormatter.show_merge`` is deprecated in favour of
10282
``LogFormatter.show_merge_revno``. (Robert Collins)
10287
* Avoid circular imports by creating a deprecated function for
10288
``bzrlib.tree.RevisionTree``. Callers should have been using
10289
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
10292
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
10293
platforms. (Martin Pool, #66356)
10295
* Don't require ``Content-Type`` in range responses. Assume they are a
10296
single range if ``Content-Type`` does not exist.
10297
(John Arbash Meinel, #62473)
10299
* bzr branch/pull no longer complain about progress bar cleanup when
10300
interrupted during fetch. (Aaron Bentley, #54000)
10302
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
10303
the basis inventory, rather than going through the repository. This
10304
allows us to have 1 inventory read, and 2 inventory writes when
10305
committing a new tree. (John Arbash Meinel)
10307
* When reverting, files that are not locally modified that do not exist
10308
in the target are deleted, not just unversioned (Aaron Bentley)
10310
* When trying to acquire a lock, don't fail immediately. Instead, try
10311
a few times (up to 1 hour) before timing out. Also, report why the
10312
lock is unavailable (John Arbash Meinel, #43521, #49556)
10314
* Leave HttpTransportBase daughter classes decides how they
10315
implement cloning. (Vincent Ladeuil, #61606)
10317
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
10319
* If a commit fails, the commit message is stored in a file at the root of
10320
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
10326
* New test base class TestCaseWithMemoryTransport offers memory-only
10327
testing facilities: its not suitable for tests that need to mutate disk
10328
state, but most tests should not need that and should be converted to
10329
TestCaseWithMemoryTransport. (Robert Collins)
10331
* ``TestCase.make_branch_and_memory_tree`` now takes a format
10332
option to set the BzrDir, Repository and Branch formats of the
10333
created objects. (Robert Collins, John Arbash Meinel)
10338
:Released: 2006-10-02
10340
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
10345
:Released: 2006-09-27
10350
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
10352
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
10358
:Released: 2006-09-25
10363
* Knit files now wait to create their contents until the first data is
10364
added. The old code used to create an empty .knit and a .kndx with just
10365
the header. However, this caused a lot of extra round trips over sftp.
10366
This can change the time for ``bzr push`` to create a new remote branch
10367
from 160s down to 100s. This also affects ``bzr commit`` performance when
10368
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
10369
down to 40s (John Arbash Meinel, #44692)
10371
* When an entire subtree has been deleted, commit will now report that
10372
just the top of the subtree has been deleted, rather than reporting
10373
all the individual items. (Robert Collins)
10375
* Commit performs one less XML parse. (Robert Collins)
10377
* ``bzr checkout`` now operates on readonly branches as well
10378
as readwrite branches. This fixes bug #39542. (Robert Collins)
10380
* ``bzr bind`` no longer synchronises history with the master branch.
10381
Binding should be followed by an update or push to synchronise the
10382
two branches. This is closely related to the fix for bug #39542.
10385
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
10386
objects. This allows all imports to stay at the global scope, but
10387
modules will not actually be imported if they are not used.
10388
(John Arbash Meinel)
10390
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
10391
transport which will be used with the upcoming high-performance smart
10392
server. The new command ``bzr serve`` will invoke bzr in server mode,
10393
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
10396
* New command ``bzr version-info`` which can be used to get a summary
10397
of the current state of the tree. This is especially useful as part
10398
of a build commands. See ``doc/version_info.txt`` for more information
10399
(John Arbash Meinel)
10404
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
10405
specific set of files. (John Arbash Meinel, #3631)
10407
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
10409
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
10410
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
10411
reading a nested Stanza. (John Arbash Meinel)
10413
* Transform._set_mode() needs to stat the right file.
10414
(John Arbash Meinel, #56549)
10416
* Raise WeaveFormatError rather than StopIteration when trying to read
10417
an empty Weave file. (John Arbash Meinel, #46871)
10419
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
10420
(Vincent Ladeuil, #59835)
10422
* Handle boundary="" lines properly to allow access through a Squid proxy.
10423
(John Arbash Meinel, #57723)
10425
* revert now removes newly-added directories (Aaron Bentley, #54172)
10427
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
10428
isn't a working tree. (David Allouche, #40679)
10430
* Give nicer error messages when a user supplies an invalid --revision
10431
parameter. (John Arbash Meinel, #55420)
10433
* Handle when LANG is not recognized by python. Emit a warning, but
10434
just revert to using 'ascii'. (John Arbash Meinel, #35392)
10436
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
10437
(John Arbash Meinel)
10439
* Skip specific tests when the dependencies aren't met. This includes
10440
some ``setup.py`` tests when ``python-dev`` is not available, and
10441
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
10443
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
10444
the system. (Andrew Bennetts, John Arbash Meinel)
10446
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
10447
other branch, and will not push or pull between the two branches.
10448
API users will need to perform a push or pull or update operation if they
10449
require branch synchronisation to take place. (Robert Collins, #47344)
10451
* When creating a tarball or zipfile export, export unicode names as utf-8
10452
paths. This may not work perfectly on all platforms, but has the best
10453
chance of working in the common case. (John Arbash Meinel, #56816)
10455
* When committing, only files that exist in working tree or basis tree
10456
may be specified (Aaron Bentley, #50793)
10461
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
10466
* TestCaseInTempDir now creates a separate directory for HOME, rather
10467
than having HOME set to the same location as the working directory.
10468
(John Arbash Meinel)
10470
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
10471
which will update os.environ inside the spawned child. It also can
10472
take a ``universal_newlines=True``, which helps when checking the output
10473
of the command. (John Arbash Meinel)
10475
* Refactor SFTP vendors to allow easier re-use when ssh is used.
10478
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
10479
return urlescaped paths. This is now tested (there were bugs in a few
10480
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
10482
* New utility function ``symbol_versioning.deprecation_string``. Returns the
10483
formatted string for a callable, deprecation format pair. (Robert Collins)
10485
* New TestCase helper applyDeprecated. This allows you to call a callable
10486
which is deprecated without it spewing to the screen, just by supplying
10487
the deprecation format string issued for it. (Robert Collins)
10489
* Transport.append and Transport.put have been deprecated in favor of
10490
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
10491
``.put_file``. This removes the ambiguity in what type of object the
10492
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
10493
been added. Which works similarly to ``Transport.append()`` except for
10494
SFTP, it doesn't have a round trip when opening the file. Also, it
10495
provides functionality for creating a parent directory when trying
10496
to create a file, rather than raise NoSuchFile and forcing the
10497
caller to repeat their request.
10498
(John Arbash Meinel)
10500
* WorkingTree has a new api ``unversion`` which allow the unversioning of
10501
entries by their file id. (Robert Collins)
10503
* ``WorkingTree.pending_merges`` is deprecated. Please use the
10504
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
10506
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
10507
read rather than write. This is appropriate for actions which only need
10508
the branch data for reference rather than mutation. A new decorator
10509
``needs_tree_write_lock`` is provided in the workingtree module. Like the
10510
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
10511
declaration of the locking requirements of a function to ensure that
10512
a lock is taken out for casual scripts. (Robert Collins, #54107)
10514
* All WorkingTree methods which write to the tree, but not to the branch
10515
have been converted to use ``needs_tree_write_lock`` rather than
10516
``needs_write_lock``. Also converted is the revert, conflicts and tree
10517
transform modules. This provides a modest performance improvement on
10518
metadir style trees, due to the reduce lock-acquisition, and a more
10519
significant performance improvement on lightweight checkouts from
10520
remote branches, where trivial operations used to pay a significant
10521
penalty. It also provides the basis for allowing readonly checkouts.
10524
* Special case importing the standard library 'copy' module. This shaves
10525
off 40ms of startup time, while retaining compatibility. See:
10526
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
10528
* WorkingTree has a new parent class MutableTree which represents the
10529
specialisations of Tree which are able to be altered. (Robert Collins)
10531
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
10532
mutate the tree and its contents. (Robert Collins)
10534
* Transport behaviour at the root of the URL is now defined and tested.
10535
(Andrew Bennetts, Robert Collins)
10540
* New test helper classs MemoryTree. This is typically accessed via
10541
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
10543
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
10544
code to continue running concurrently with a subprocess of bzr.
10545
(Andrew Bennetts, Robert Collins)
10547
* Add a new method ``Transport.get_smart_client()``. This is provided to
10548
allow upgrades to a richer interface than the VFS one provided by
10549
Transport. (Andrew Bennetts, Martin Pool)
10554
:Released: 2006-08-29
10558
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
10559
tree. (Aaron Bentley)
10561
* 'bzr add --file-ids-from' can be used to specify another path to use
10562
for creating file ids, rather than generating all new ones. Internally,
10563
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
10564
will be used, rather than having bzrlib generate new ones.
10565
(John Arbash Meinel, #55781)
10567
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
10568
This will cache some of the intermediate trees, and decrease the
10569
setup time for benchmark tests. (John Arbash Meinel)
10571
* Inverse forms are provided for all boolean options. For example,
10572
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
10574
* Serialize out Inventories directly, rather than using ElementTree.
10575
Writing out a kernel sized inventory drops from 2s down to ~350ms.
10576
(Robert Collins, John Arbash Meinel)
10581
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
10583
* Change LockDir so that if the lock directory doesn't exist when
10584
``lock_write()`` is called, an attempt will be made to create it.
10585
(John Arbash Meinel, #56974)
10587
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
10589
* Active FTP transport now works as intended. (ghozzy, #56472)
10591
* Really fix mutter() so that it won't ever raise a UnicodeError.
10592
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
10593
But it is a debugging log, not a real user file.
10594
(John Arbash Meinel, #56947, #53880)
10596
* Change Command handle to allow Unicode command and options.
10597
At present we cannot register Unicode command names, so we will get
10598
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
10599
But that is better than a UnicodeError + a traceback.
10600
(John Arbash Meinel, #57123)
10602
* Handle TZ=UTC properly when reading/writing revisions.
10603
(John Arbash Meinel, #55783, #56290)
10605
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
10606
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
10608
* External diff does the right thing for binaries even in foreign
10609
languages. (John Arbash Meinel, #56307)
10611
* Testament handles more cases when content is unicode. Specific bug was
10612
in handling of revision properties.
10613
(John Arbash Meinel, Holger Krekel, #54723)
10615
* The bzr selftest was failing on installed versions due to a bug in a new
10616
test helper. (John Arbash Meinel, Robert Collins, #58057)
10621
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
10622
which can be used to cache the conversion between utf8 and Unicode.
10623
Especially helpful for some of the knit annotation code, which has to
10624
convert revision ids to utf8 to annotate lines in storage.
10625
(John Arbash Meinel)
10627
* ``setup.py`` now searches the filesystem to find all packages which
10628
need to be installed. This should help make the life of packagers
10629
easier. (John Arbash Meinel)
10634
:Released: 2006-08-11
10639
* The hard-coded built-in ignore rules have been removed. There are
10640
now two rulesets which are enforced. A user global one in
10641
``~/.bazaar/ignore`` which will apply to every tree, and the tree
10642
specific one '.bzrignore'.
10643
``~/.bazaar/ignore`` will be created if it does not exist, but with
10644
a more conservative list than the old default.
10645
This fixes bugs with default rules being enforced no matter what.
10646
The old list of ignore rules from bzr is available by
10647
running 'bzr ignore --old-default-rules'.
10648
(Robert Collins, Martin Pool, John Arbash Meinel)
10650
* 'branches.conf' has been changed to 'locations.conf', since it can apply
10651
to more locations than just branch locations.
10657
* The revision specifier "revno:" is extended to accept the syntax
10658
revno:N:branch. For example,
10659
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
10660
bzr.dev. (Matthieu Moy)
10662
* Tests updates to ensure proper URL handling, UNICODE support, and
10663
proper printing when the user's terminal encoding cannot display
10664
the path of a file that has been versioned.
10665
``bzr branch`` can take a target URL rather than only a local directory.
10666
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
10667
and normalize the parent based on root, allowing access across
10668
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
10669
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
10672
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
10673
Use terminal width for single-line logs from ``bzr log --line`` and
10674
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
10677
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
10678
(Alexander Belchenko)
10680
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
10682
* Show the correct number of revisions pushed when pushing a new branch.
10685
* 'bzr selftest' now shows a progress bar with the number of tests, and
10686
progress made. 'make check' shows tests in -v mode, to be more useful
10687
for the PQM status window. (Robert Collins).
10688
When using a progress bar, failed tests are printed out, rather than
10689
being overwritten by the progress bar until the suite finishes.
10690
(John Arbash Meinel)
10692
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
10693
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
10694
profile data for the individual profiled calls, allowing for fine
10695
grained analysis of performance.
10696
(Robert Collins, Martin Pool).
10698
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
10699
where commit can take an appreciable time. (Robert Collins)
10701
* 'bzr add' is now less verbose in telling you what ignore globs were
10702
matched by files being ignored. Instead it just tells you how many
10703
were ignored (because you might reasonably be expecting none to be
10704
ignored). 'bzr add -v' is unchanged and will report every ignored
10705
file. (Robert Collins).
10707
* ftp now has a test server if medusa is installed. As part of testing,
10708
ftp support has been improved, including support for supplying a
10709
non-standard port. (John Arbash Meinel).
10711
* 'bzr log --line' shows the revision number, and uses only the
10712
first line of the log message (#5162, Alexander Belchenko;
10715
* 'bzr status' has had the --all option removed. The 'bzr ls' command
10716
should be used to retrieve all versioned files. (Robert Collins)
10718
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
10719
over email, and applied on the other end, while maintaining ancestry.
10720
This bundle can be applied with either 'bzr merge' or 'bzr pull',
10721
the same way you would apply another branch.
10722
(John Arbash Meinel, Aaron Bentley)
10724
* 'bzr whoami' can now be used to set your identity from the command line,
10725
for a branch or globally. (Robey Pointer)
10727
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
10730
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
10733
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
10734
Also updates things like 'http+pycurl://' if pycurl is not present.
10735
(John Arbash Meinel) (Malone #47821, #52204)
10737
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
10738
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
10739
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
10741
* Improve the help text for 'bzr diff' to explain what various options do.
10742
(John Arbash Meinel, #6391)
10744
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
10745
revision 10. This makes -r10 more in line with what other commands do.
10746
'bzr uncommit' also now saves the pending merges of the revisions that
10747
were removed. So it is safe to uncommit after a merge, fix something,
10748
and commit again. (John Arbash Meinel, #32526, #31426)
10750
* 'bzr init' now also works on remote locations.
10751
(Wouter van Heyst, #48904)
10753
* HTTP support has been updated. When using pycurl we now support
10754
connection keep-alive, which reduces dns requests and round trips.
10755
And for both urllib and pycurl we support multi-range requests,
10756
which decreases the number of round-trips. Performance results for
10757
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
10758
http branching is now 2-3x faster, and ``bzr pull`` in an existing
10759
branch is as much as 4x faster.
10760
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
10762
* Performance improvements for sftp. Branching and pulling are now up to
10763
2x faster. Utilize paramiko.readv() support for async requests if it
10764
is available (paramiko > 1.6) (John Arbash Meinel)
10769
* Fix shadowed definition of TestLocationConfig that caused some
10771
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
10773
* Fix unnecessary requirement of sign-my-commits that it be run from
10774
a working directory. (Martin Pool, Robert Collins)
10776
* 'bzr push location' will only remember the push location if it succeeds
10777
in connecting to the remote location. (John Arbash Meinel, #49742)
10779
* 'bzr revert' no longer toggles the executable bit on win32
10780
(John Arbash Meinel, #45010)
10782
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
10784
* sftp tests now work correctly on win32 if you have a newer paramiko
10785
(John Arbash Meinel)
10787
* Cleanup win32 test suite, and general cleanup of places where
10788
file handles were being held open. (John Arbash Meinel)
10790
* When specifying filenames for 'diff -r x..y', the name of the file in the
10791
working directory can be used, even if its name is different in both x
10794
* File-ids containing single- or double-quotes are handled correctly by
10795
push. (Aaron Bentley, #52227)
10797
* Normalize unicode filenames to ensure cross-platform consistency.
10798
(John Arbash Meinel, #43689)
10800
* The argument parser can now handle '-' as an argument. Currently
10801
no code interprets it specially (it is mostly handled as a file named
10802
'-'). But plugins, and future operations can use it.
10803
(John Arbash meinel, #50984)
10805
* Bundles can properly read binary files with a plain '\r' in them.
10806
(John Arbash Meinel, #51927)
10808
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
10810
* Lots of win32 fixes (the test suite passes again).
10811
(John Arbash Meinel, #50155)
10813
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
10815
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
10817
* Removals are only committed if they match the filespec (or if there is
10818
no filespec). (#46635, Aaron Bentley)
10820
* smart-add recurses through all supplied directories
10821
(John Arbash Meinel, #52578)
10823
* Make the bundle reader extra lines before and after the bundle text.
10824
This allows you to parse an email with the bundle inline.
10825
(John Arbash Meinel, #49182)
10827
* Change the file id generator to squash a little bit more. Helps when
10828
working with long filenames on windows. (Also helps for unicode filenames
10829
not generating hidden files). (John Arbash Meinel, #43801)
10831
* Restore terminal mode on C-c while reading sftp password. (#48923,
10832
Nicholas Allen, Martin Pool)
10834
* Timestamps are rounded to 1ms, and revision entries can be recreated
10835
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
10837
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
10838
use local paths, since it is user visible (John Arbash Meinel, #53653)
10840
* ``bzr status foo`` when foo was unversioned used to cause a full delta
10841
to be generated (John Arbash Meinel, #53638)
10843
* When reading revision properties, an empty value should be considered
10844
the empty string, not None (John Arbash Meinel, #47782)
10846
* ``bzr diff --diff-options`` can now handle binary files being changed.
10847
Also, the output is consistent when --diff-options is not supplied.
10848
(John Arbash Meinel, #54651, #52930)
10850
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
10852
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
10853
accessible (John Arbash Meinel, #52976)
10858
* Combine the ignore rules into a single regex rather than looping over
10859
them to reduce the threshold where N^2 behaviour occurs in operations
10860
like status. (Jan Hudec, Robert Collins).
10862
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
10863
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
10865
* 'bzr push' should only push the ancestry of the current revision, not
10866
all of the history in the repository. This is especially important for
10867
shared repositories. (John Arbash Meinel)
10869
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
10870
rather than randomly walking the inventories. (John Arbash Meinel)
10872
* Doctests are now run in temporary directories which are cleaned up when
10873
they finish, rather than using special ScratchDir/ScratchBranch objects.
10876
* Split ``check`` into separate methods on the branch and on the repository,
10877
so that it can be specialized in ways that are useful or efficient for
10878
different formats. (Martin Pool, Robert Collins)
10880
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
10881
the global revision graph but only that part leading up to a particular
10882
revision. (Martin Pool, Robert Collins)
10884
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
10885
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
10886
(Robert Collins, Jelmer Vernooij).
10888
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
10889
Uses subprocess instead of spawnvp.
10890
(James Henstridge, John Arbash Meinel, #4047, #48914)
10892
* New command line option '--profile-imports', which will install a custom
10893
importer to log time to import modules and regex compilation time to
10894
sys.stderr (John Arbash Meinel)
10896
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
10897
instead. (Robert Collins)
10899
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
10904
:Released: 2006-05-17
10909
* setup.py failed to install launchpad plugin. (Martin Pool)
10914
:Released: 2006-05-16
10919
* Fix failure to commit a merge in a checkout. (Martin Pool,
10920
Robert Collins, Erik Bågfors, #43959)
10922
* Nicer messages from 'commit' in the case of renames, and correct
10923
messages when a merge has occured. (Robert Collins, Martin Pool)
10925
* Separate functionality from assert statements as they are skipped in
10926
optimized mode of python. Add the same check to pending merges.
10927
(Olaf Conradi, #44443)
10932
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
10934
* Add info on standalone branches without a working tree.
10935
(Olaf Conradi, #44155)
10937
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
10942
* Make editor invocation comply with Debian Policy. First check
10943
environment variables VISUAL and EDITOR, then try editor from
10944
alternatives system. If that all fails, fall back to the pre-defined
10945
list of editors. (Olaf Conradi, #42904)
10950
* New 'register-branch' command registers a public branch into
10951
Launchpad.net, where it can be associated with bugs, etc.
10952
(Martin Pool, Bjorn Tillenius, Robert Collins)
10957
* New public api in InventoryEntry - ``describe_change(old, new)`` which
10958
provides a human description of the changes between two old and
10959
new. (Robert Collins, Martin Pool)
10964
* Fix test case for bzr info in upgrading a standalone branch to metadir,
10965
uses bzrlib api now. (Olaf Conradi)
10970
:Released: 2006-05-08
10972
Notes When Upgrading
10973
********************
10975
Release 0.8 of bzr introduces a new format for history storage, called
10976
'knit', as an evolution of to the 'weave' format used in 0.7. Local
10977
and remote operations are faster using knits than weaves. Several
10978
operations including 'init', 'init-repo', and 'upgrade' take a
10979
--format option that controls this. Branching from an existing branch
10980
will keep the same format.
10982
It is possible to merge, pull and push between branches of different
10983
formats but this is slower than moving data between homogenous
10984
branches. It is therefore recommended (but not required) that you
10985
upgrade all branches for a project at the same time. Information on
10986
formats is shown by 'bzr info'.
10988
bzr 0.8 now allows creation of 'repositories', which hold the history
10989
of files and revisions for several branches. Previously bzr kept all
10990
the history for a branch within the .bzr directory at the root of the
10991
branch, and this is still the default. To create a repository, use
10992
the new 'bzr init-repo' command. Branches exist as directories under
10993
the repository and contain just a small amount of information
10994
indicating the current revision of the branch.
10996
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
10997
subversion. Checkouts are associated with a branch (optionally in a
10998
repository), which contains all the historical information. The
10999
result is that a checkout can be deleted without losing any
11000
already-committed revisions. A new 'update' command is also available.
11002
Repositories and checkouts are not supported with the 0.7 storage
11003
format. To use them you must upgrad to either knits, or to the
11004
'metaweave' format, which uses weaves but changes the .bzr directory
11011
* sftp paths can now be relative, or local, according to the lftp
11012
convention. Paths now take the form::
11014
sftp://user:pass@host:port/~/relative/path
11016
sftp://user:pass@host:port/absolute/path
11018
* The FTP transport now tries to reconnect after a temporary
11019
failure. ftp put is made atomic. (Matthieu Moy)
11021
* The FTP transport now maintains a pool of connections, and
11022
reuses them to avoid multiple connections to the same host (like
11023
sftp did). (Daniel Silverstone)
11025
* The ``bzr_man.py`` file has been removed. To create the man page now,
11026
use ``./generate_docs.py man``. The new program can also create other files.
11027
Run ``python generate_docs.py --help`` for usage information.
11028
(Hans Ulrich Niedermann & James Blackwell).
11030
* Man Page now gives full help (James Blackwell).
11031
Help also updated to reflect user config now being stored in .bazaar
11032
(Hans Ulrich Niedermann)
11034
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
11036
* Pull now accepts a --revision argument (Erik Bågfors)
11038
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
11039
line. You can now use the following command to sign all of your old
11042
find .bzr/revision-store// -name my@email-* \
11043
| sed 's/.*\/\/..\///' \
11044
| xargs bzr re-sign
11046
* Upgrade can now upgrade over the network. (Robert Collins)
11048
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
11049
behaviour. By default they will cache history in the checkout, but
11050
with --lightweight almost all data is kept in the master branch.
11053
* 'revert' unversions newly-versioned files, instead of deleting them.
11055
* 'merge' is more robust. Conflict messages have changed.
11057
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
11060
* Default log format can be set in configuration and plugins can register
11061
their own formatters. (Erik Bågfors)
11063
* New 'reconcile' command will check branch consistency and repair indexes
11064
that can become out of sync in pre 0.8 formats. (Robert Collins,
11065
Daniel Silverstone)
11067
* New 'bzr init --format' and 'bzr upgrade --format' option to control
11068
what storage format is created or produced. (Robert Collins,
11071
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
11073
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
11075
* New 'init-repository' command, plus support for repositories in 'init'
11076
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
11078
* Improve output of 'info' command. Show all relevant locations related to
11079
working tree, branch and repository. Use kibibytes for binary quantities.
11080
Fix off-by-one error in missing revisions of working tree. Make 'info'
11081
work on branches, repositories and remote locations. Show locations
11082
relative to the shared repository, if applicable. Show locking status
11083
of locations. (Olaf Conradi)
11085
* Diff and merge now safely handle binary files. (Aaron Bentley)
11087
* 'pull' and 'push' now normalise the revision history, so that any two
11088
branches with the same tip revision will have the same output from 'log'.
11091
* 'merge' accepts --remember option to store parent location, like 'push'
11092
and 'pull'. (Olaf Conradi)
11094
* bzr status and diff when files given as arguments do not exist
11095
in the relevant trees. (Martin Pool, #3619)
11097
* Add '.hg' to the default ignore list. (Martin Pool)
11099
* 'knit' is now the default disk format. This improves disk performance and
11100
utilization, increases incremental pull performance, robustness with SFTP
11101
and allows checkouts over SFTP to perform acceptably.
11102
The initial Knit code was contributed by Johan Rydberg based on a
11103
specification by Martin Pool.
11104
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
11106
* New tool to generate all-in-one html version of the manual. (Alexander
11109
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
11110
to be left in the SFTP repository. (Robert Collins, Martin Pool).
11112
* New option 'diff --prefix' to control how files are named in diff
11113
output, with shortcuts '-p0' and '-p1' corresponding to the options for
11114
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
11116
* Add --revision option to 'annotate' command. (Olaf Conradi)
11118
* If bzr shows an unexpected revision-history after pulling (perhaps due
11119
to a reweave) it can now be corrected by 'bzr reconcile'.
11125
* Commit is now verbose by default, and shows changed filenames and the
11126
new revision number. (Robert Collins, Martin Pool)
11128
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
11130
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
11132
* Make 'pull' and 'push' remember location on failure using --remember.
11135
* For compatibility, make old format for using weaves inside metadir
11136
available as 'metaweave' format. Rename format 'metadir' to 'default'.
11137
Clean up help for option --format in commands 'init', 'init-repo' and
11138
'upgrade'. (Olaf Conradi)
11143
* The internal storage of history, and logical branch identity have now
11144
been split into Branch, and Repository. The common locking and file
11145
management routines are now in bzrlib.lockablefiles.
11146
(Aaron Bentley, Robert Collins, Martin Pool)
11148
* Transports can now raise DependencyNotPresent if they need a library
11149
which is not installed, and then another implementation will be
11150
tried. (Martin Pool)
11152
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
11155
* Using Tree Transform for merge, revert, tree-building
11157
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
11158
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
11159
replacement API's. (Robert Collins)
11161
* New BzrDir class represents the .bzr control directory and manages
11162
formatting issues. (Robert Collins)
11164
* New repository.InterRepository class encapsulates Repository to
11165
Repository actions and allows for clean selection of optimised code
11166
paths. (Robert Collins)
11168
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
11169
deprecated, please use ``branch.fetch`` or ``repository.fetch``
11170
depending on your needs. (Robert Collins)
11172
* deprecated methods now have a ``is_deprecated`` flag on them that can
11173
be checked, if you need to determine whether a given callable is
11174
deprecated at runtime. (Robert Collins)
11176
* Progress bars are now nested - see
11177
``bzrlib.ui.ui_factory.nested_progress_bar``.
11178
(Robert Collins, Robey Pointer)
11180
* New API call ``get_format_description()`` for each type of format.
11183
* Changed ``branch.set_parent()`` to accept None to remove parent.
11186
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
11188
* WorkingTree.branch is now a read only property. (Robert Collins)
11190
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
11191
can be None or a factory that will create a progress bar. This is
11192
useful for testing or for overriding the bzrlib.progress heuristic.
11195
* New API method ``get_physical_lock_status()`` to query locks present on a
11196
transport. (Olaf Conradi)
11198
* Repository.reconcile now takes a thorough keyword parameter to allow
11199
requesting an indepth reconciliation, rather than just a data-loss
11200
check. (Robert Collins)
11202
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
11203
the user for yes/no style input. (Robert Collins)
11208
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
11209
for testing SFTP protocol support. (Robey Pointer)
11211
* Branch formats are now tested once per implementation (see ``bzrlib.
11212
tests.branch_implementations``. This is analagous to the transport
11213
interface tests, and has been followed up with working tree,
11214
repository and BzrDir tests. (Robert Collins)
11216
* New test base class TestCaseWithTransport provides a transport aware
11217
test environment, useful for testing any transport-interface using
11218
code. The test suite option --transport controls the transport used
11219
by this class (when its not being used as part of implementation
11220
contract testing). (Robert Collins)
11222
* Close logging handler on disabling the test log. This will remove the
11223
handler from the internal list inside python's logging module,
11224
preventing shutdown from closing it twice. (Olaf Conradi)
11226
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
11228
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
11229
parameter which will provide String("foo") to the command as its stdin.
11234
:Released: 2006-01-09
11239
* .bzrignore is excluded from exports, on the grounds that it's a bzr
11240
internal-use file and may not be wanted. (Jamie Wilkinson)
11242
* The "bzr directories" command were removed in favor of the new
11243
--kind option to the "bzr inventory" command. To list all
11244
versioned directories, now use "bzr inventory --kind directory".
11247
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
11248
by default. (John Arbash Meinel)
11250
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
11251
environment variable. Now the path for it is searched in ``BZR_HOME``,
11252
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
11253
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
11254
``HOME``. (John Arbash Meinel)
11256
* Plugins with the same name in different directories in the bzr plugin
11257
path are no longer loaded: only the first successfully loaded one is
11258
used. (Robert Collins)
11260
* Use systems' external ssh command to open connections if possible.
11261
This gives better integration with user settings such as ProxyCommand.
11264
* Permissions on files underneath .bzr/ are inherited from the .bzr
11265
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
11266
will mean that future file will be created with group write permissions.
11268
* configure.in and config.guess are no longer in the builtin default
11271
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
11272
files. (John Arbash Meinel, Martin Pool)
11277
* "bzr INIT dir" now initializes the specified directory, and creates
11278
it if it does not exist. (John Arbash Meinel)
11280
* New remerge command (Aaron Bentley)
11282
* Better zsh completion script. (Steve Borho)
11284
* 'bzr diff' now returns 1 when there are changes in the working
11285
tree. (Robert Collins)
11287
* 'bzr push' now exists and can push changes to a remote location.
11288
This uses the transport infrastructure, and can store the remote
11289
location in the ~/.bazaar/branches.conf configuration file.
11292
* Test directories are only kept if the test fails and the user requests
11295
* Tweaks to short log printing
11297
* Added branch nicks, new nick command, printing them in log output.
11300
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
11301
occurs. (Martin Pool)
11303
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
11304
the same as Subversion. (Martin Pool)
11306
* New ftp transport support (on ftplib), for ftp:// and aftp://
11307
URLs. (Daniel Silverstone)
11309
* Commit editor temporary files now start with ``bzr_log.``, to allow
11310
text editors to match the file name and set up appropriate modes or
11311
settings. (Magnus Therning)
11313
* Improved performance when integrating changes from a remote weave.
11314
(Goffredo Baroncelli)
11316
* Sftp will attempt to cache the connection, so it is more likely that
11317
a connection will be reused, rather than requiring multiple password
11320
* bzr revno now takes an optional argument indicating the branch whose
11321
revno should be printed. (Michael Ellerman)
11323
* bzr cat defaults to printing the last version of the file.
11324
(Matthieu Moy, #3632)
11326
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
11327
profiler. (Denys Duchier)
11329
* Faster commits by reading only the headers of affected weave files.
11332
* 'bzr add' now takes a --dry-run parameter which shows you what would be
11333
added, but doesn't actually add anything. (Michael Ellerman)
11335
* 'bzr add' now lists how many files were ignored per glob. add --verbose
11336
lists the specific files. (Aaron Bentley)
11338
* 'bzr missing' now supports displaying changes in diverged trees and can
11339
be limited to show what either end of the comparison is missing.
11340
(Aaron Bently, with a little prompting from Daniel Silverstone)
11345
* SFTP can walk up to the root path without index errors. (Robert Collins)
11347
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
11349
* Error when run with -OO
11351
* Fix bug in reporting http errors that don't have an http error code.
11354
* Handle more cases of pipe errors in display commands
11356
* Change status to 3 for all errors
11358
* Files that are added and unlinked before committing are completely
11359
ignored by diff and status
11361
* Stores with some compressed texts and some uncompressed texts are now
11362
able to be used. (John A Meinel)
11364
* Fix for bzr pull failing sometimes under windows
11366
* Fix for sftp transport under windows when using interactive auth
11368
* Show files which are both renamed and modified as such in 'bzr
11369
status' output. (Daniel Silverstone, #4503)
11371
* Make annotate cope better with revisions committed without a valid
11372
email address. (Marien Zwart)
11374
* Fix representation of tab characters in commit messages.
11377
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
11378
now parsed properly under Windows. (Alexander Belchenko)
11380
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
11382
* Keep a cached copy of the basis inventory to speed up operations
11383
that need to refer to it. (Johan Rydberg, Martin Pool)
11385
* Fix bugs in bzr status display of non-ascii characters.
11388
* Remove Makefile.in from default ignore list.
11389
(Tollef Fog Heen, Martin Pool, #6413)
11391
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
11396
* Fix selftest asking for passwords when there are no SFTP keys.
11397
(Robey Pointer, Jelmer Vernooij)
11399
* Fix selftest run with 'python -O'. (Martin Pool)
11401
* Fix HTTP tests under Windows. (John Arbash Meinel)
11403
* Make tests work even if HOME is not set (Aaron Bentley)
11405
* Updated ``build_tree`` to use fixed line-endings for tests which read
11406
the file cotents and compare. Make some tests use this to pass under
11407
Windows. (John Arbash Meinel)
11409
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
11411
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
11412
(John Arbash Meinel)
11414
* Use terminal width to align verbose test output. (Martin Pool)
11416
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
11417
If adding a new test script please add that to
11418
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
11420
* Much better error message if one of the test suites can't be
11421
imported. (Martin Pool)
11423
* Make check now runs the test suite twice - once with the default locale,
11424
and once with all locales forced to C, to expose bugs. This is not
11425
trivially done within python, so for now its only triggered by running
11426
Make check. Integrators and packagers who wish to check for full
11427
platform support should run 'make check' to test the source.
11430
* Tests can now run TestSkipped if they can't execute for any reason.
11431
(Martin Pool) (NB: TestSkipped should only be raised for correctable
11432
reasons - see the wiki spec ImprovingBzrTestSuite).
11434
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
11435
paths for the transport tests. Introduce blackbox remote sftp tests that
11436
test the same permutations. (Robert Collins, Robey Pointer)
11438
* Transport implementation tests are now independent of the local file
11439
system, which allows tests for esoteric transports, and for features
11440
not available in the local file system. They also repeat for variations
11441
on the URL scheme that can introduce issues in the transport code,
11442
see bzrlib.transport.TransportTestProviderAdapter() for this.
11445
* ``TestCase.build_tree`` uses the transport interface to build trees,
11446
pass in a transport parameter to give it an existing connection.
11452
* WorkingTree.pull has been split across Branch and WorkingTree,
11453
to allow Branch only pulls. (Robert Collins)
11455
* ``commands.display_command`` now returns the result of the decorated
11456
function. (Robert Collins)
11458
* LocationConfig now has a ``set_user_option(key, value)`` call to save
11459
a setting in its matching location section (a new one is created
11460
if needed). (Robert Collins)
11462
* Branch has two new methods, ``get_push_location`` and
11463
``set_push_location`` to respectively, get and set the push location.
11466
* ``commands.register_command`` now takes an optional flag to signal that
11467
the registrant is planning to decorate an existing command. When
11468
given multiple plugins registering a command is not an error, and
11469
the original command class (whether built in or a plugin based one) is
11470
returned to the caller. There is a new error 'MustUseDecorated' for
11471
signalling when a wrapping command should switch to the original
11472
version. (Robert Collins)
11474
* Some option parsing errors will raise 'BzrOptionError', allowing
11475
granular detection for decorating commands. (Robert Collins).
11477
* ``Branch.read_working_inventory`` has moved to
11478
``WorkingTree.read_working_inventory``. This necessitated changes to
11479
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
11480
WorkingTree as well. To make it clear that a WorkingTree cannot always
11481
be obtained ``Branch.working_tree()`` will raise
11482
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
11484
* All pending merges operations from Branch are now on WorkingTree.
11487
* The follow operations from Branch have moved to WorkingTree::
11497
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
11499
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
11501
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
11504
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
11505
query method. (Robert Collins)
11507
* New options to read only the table-of-contents of a weave.
11510
* Raise NoSuchFile when someone tries to add a non-existant file.
11513
* Simplify handling of DivergedBranches in ``cmd_pull()``.
11516
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
11517
is exposed as ``Branch().control_files``. Also this has been altered with the
11518
controlfile pre/suffix replaced by simple method names like 'get' and
11519
'put'. (Aaron Bentley, Robert Collins).
11521
* Deprecated functions and methods can now be marked as such using the
11522
``bzrlib.symbol_versioning`` module. Marked method have their docstring
11523
updated and will issue a DeprecationWarning using the warnings module
11524
when they are used. (Robert Collins)
11526
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
11527
for functions that need unicode strings. (Robert Collins)
11532
:Released: 2005-10-28
11537
* pull now takes --verbose to show you what revisions are added or removed
11540
* merge now takes a --show-base option to include the base text in
11544
* The config files are now read using ConfigObj, so '=' should be used as
11545
a separator, not ':'.
11548
* New 'bzr commit --strict' option refuses to commit if there are
11549
any unknown files in the tree. To commit, make sure all files are
11550
either ignored, added, or deleted. (Michael Ellerman)
11552
* The config directory is now ~/.bazaar, and there is a single file
11553
~/.bazaar/bazaar.conf storing email, editor and other preferences.
11556
* 'bzr add' no longer takes a --verbose option, and a --quiet option
11557
has been added that suppresses all output.
11559
* Improved zsh completion support in contrib/zsh, from Clint
11562
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
11563
Goffredo Baroncelli.
11565
* 'bzr check' now accepts -v for verbose reporting, and checks for
11566
ghosts in the branch. (Robert Collins)
11568
* New command 're-sign' which will regenerate the gpg signature for
11569
a revision. (Robert Collins)
11571
* If you set ``check_signatures=require`` for a path in
11572
``~/.bazaar/branches.conf`` then bzr will invoke your
11573
``gpg_signing_command`` (defaults to gpg) and record a digital signature
11574
of your commit. (Robert Collins)
11576
* New sftp transport, based on Paramiko. (Robey Pointer)
11578
* 'bzr pull' now accepts '--clobber' which will discard local changes
11579
and make this branch identical to the source branch. (Robert Collins)
11581
* Just give a quieter warning if a plugin can't be loaded, and
11582
put the details in .bzr.log. (Martin Pool)
11584
* 'bzr branch' will now set the branch-name to the last component of the
11585
output directory, if one was supplied.
11587
* If the option ``post_commit`` is set to one (or more) python function
11588
names (must be in the bzrlib namespace), then they will be invoked
11589
after the commit has completed, with the branch and ``revision_id`` as
11590
parameters. (Robert Collins)
11592
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
11594
* --merge-type weave is now supported for file contents. Tree-shape
11595
changes are still three-way based. (Martin Pool, Aaron Bentley)
11597
* 'bzr check' allows the first revision on revision-history to have
11598
parents - something that is expected for cheap checkouts, and occurs
11599
when conversions from baz do not have all history. (Robert Collins).
11601
* 'bzr merge' can now graft unrelated trees together, if your specify
11602
0 as a base. (Aaron Bentley)
11604
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
11607
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
11609
* 'bzr merge --reprocess' minimizes conflicts
11614
* The 'bzr selftest --pattern' option for has been removed, now
11615
test specifiers on the command line can be simple strings, or
11616
regexps, or both. (Robert Collins)
11618
* Passing -v to selftest will now show the time each test took to
11619
complete, which will aid in analysing performance regressions and
11620
related questions. (Robert Collins)
11622
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
11623
is given. (Martin Pool)
11625
* There is a new method for TestCaseInTempDir, assertFileEqual, which
11626
will check that a given content is equal to the content of the named
11627
file. (Robert Collins)
11629
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
11635
* New 'testament' command and concept for making gpg-signatures
11636
of revisions that are not tied to a particular internal
11637
representation. (Martin Pool).
11639
* Per-revision properties ('revprops') as key-value associated
11640
strings on each revision created when the revision is committed.
11641
Intended mainly for the use of external tools. (Martin Pool).
11643
* Config options have moved from bzrlib.osutils to bzrlib.config.
11646
* Improved command line option definitions allowing explanations
11647
for individual options, among other things. Contributed by
11650
* Config options have moved from bzrlib.osutils to bzrlib.config.
11651
Configuration is now done via the config.Config interface:
11652
Depending on whether you have a Branch, a Location or no information
11653
available, construct a ``*Config``, and use its ``signature_checking``,
11654
``username`` and ``user_email`` methods. (Robert Collins)
11656
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
11657
they are made available for other plugins to use. You should not
11658
import other plugins during the ``__init__`` of your plugin though, as
11659
no ordering is guaranteed, and the plugins directory is not on the
11660
python path. (Robert Collins)
11662
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
11663
no longer takes an inventory, rather it takes an option branch
11664
parameter, and if None is given will open the branch at basedir
11665
implicitly. (Robert Collins)
11667
* Cleaner exception structure and error reporting. Suggested by
11668
Scott James Remnant. (Martin Pool)
11670
* Branch.remove has been moved to WorkingTree, which has also gained
11671
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
11674
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
11675
added to the branch module. Use these to cause a function to run in a
11676
read or write lock respectively. (Robert Collins)
11678
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
11679
which allows direct access to the common case of 'get me this file
11680
from its branch'. (Robert Collins)
11682
* Transports can register using ``register_lazy_transport``, and they
11683
will be loaded when first used. (Martin Pool)
11685
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
11686
A new option to WorkingTree.pull has been added, clobber, which will
11687
ignore diverged history and pull anyway.
11690
* config.Config has a ``get_user_option`` call that accepts an option name.
11691
This will be looked up in branches.conf and bazaar.conf as normal.
11692
It is intended that this be used by plugins to support options -
11693
options of built in programs should have specific methods on the config.
11696
* ``merge.merge_inner`` now has tempdir as an optional parameter.
11699
* Tree.kind is not recorded at the top level of the hierarchy, as it was
11700
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
11703
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
11704
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
11705
about future directions. (Robert Collins/Martin Pool)
11707
* bzrlib.transport.http has been modified so that only 404 urllib errors
11708
are returned as NoSuchFile. Other exceptions will propagate as normal.
11709
This allows debuging of actual errors. (Robert Collins)
11711
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
11712
to apis like 'put', 'get' and 'has'. This is to provide consistent
11713
behaviour - it operates on url's only. (Robert Collins)
11715
* Transports can register using ``register_lazy_transport``, and they
11716
will be loaded when first used. (Martin Pool)
11718
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
11719
is called by ``merge_inner``. This is so that the conflict count can be
11720
retrieved (and potentially manipulated) before returning to the caller
11721
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
11722
caller. (Robert Collins)
11724
* ``revision.revision_graph`` can handle having only partial history for
11725
a revision - that is no revisions in the graph with no parents.
11728
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
11729
produce a branch and a list of paths, relative to that branch
11732
* New TestCase.addCleanup facility.
11734
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
11735
which can be used by programs importing bzrlib.
11740
* Better handling of branches in directories with non-ascii names.
11741
(Joel Rosdahl, Panagiotis Papadakos)
11743
* Upgrades of trees with no commits will not fail due to accessing
11744
[-1] in the revision-history. (Andres Salomon)
11750
:Released: 2005-10-12
11755
* Fix problem in pulling over http from machines that do not
11756
allow directories to be listed.
11758
* Avoid harmless warning about invalid hash cache after
11759
upgrading branch format.
11764
* Avoid some unnecessary http operations in branch and pull.
11770
:Released: 2005-10-11
11775
* 'bzr branch' over http initially gives a very high estimate
11776
of completion time but it should fall as the first few
11777
revisions are pulled in. branch is still slow on
11778
high-latency connections.
11783
* bzr-man.py has been updated to work again. Contributed by
11786
* Locking is now done with fcntl.lockf which works with NFS
11787
file systems. Contributed by Harald Meland.
11789
* When a merge encounters a file that has been deleted on
11790
one side and modified on the other, the old contents are
11791
written out to foo.BASE and foo.SIDE, where SIDE is this
11792
or OTHER. Contributed by Aaron Bentley.
11794
* Export was choosing incorrect file paths for the content of
11795
the tarball, this has been fixed by Aaron Bentley.
11797
* Commit will no longer commit without a log message, an
11798
error is returned instead. Contributed by Jelmer Vernooij.
11800
* If you commit a specific file in a sub directory, any of its
11801
parent directories that are added but not listed will be
11802
automatically included. Suggested by Michael Ellerman.
11804
* bzr commit and upgrade did not correctly record new revisions
11805
for files with only a change to their executable status.
11806
bzr will correct this when it encounters it. Fixed by
11809
* HTTP tests now force off the use of ``http_proxy`` for the duration.
11810
Contributed by Gustavo Niemeyer.
11812
* Fix problems in merging weave-based branches that have
11813
different partial views of history.
11815
* Symlink support: working with symlinks when not in the root of a
11816
bzr tree was broken, patch from Scott James Remnant.
11821
* 'branch' now accepts a --basis parameter which will take advantage
11822
of local history when making a new branch. This allows faster
11823
branching of remote branches. Contributed by Aaron Bentley.
11825
* New tree format based on weave files, called version 5.
11826
Existing branches can be upgraded to this format using
11829
* Symlinks are now versionable. Initial patch by
11830
Erik Toubro Nielsen, updated to head by Robert Collins.
11832
* Executable bits are tracked on files. Patch from Gustavo
11835
* 'bzr status' now shows unknown files inside a selected directory.
11836
Patch from Heikki Paajanen.
11838
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
11839
and 'resolve' have needed added, which list and remove those
11840
merge conflicts respectively. A conflicted tree cannot be committed
11841
in. Contributed by Aaron Bentley.
11843
* 'rm' is now an alias for 'remove'.
11845
* Stores now split out their content in a single byte prefixed hash,
11846
dropping the density of files per directory by 256. Contributed by
11849
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
11850
Contributed by Robert Collins.
11852
* 'bzr log' with the default formatter will show merged revisions,
11853
indented to the right. Initial implementation contributed by Gustavo
11854
Niemeyer, made incremental by Robert Collins.
11860
* Test case failures have the exception printed after the log
11861
for your viewing pleasure.
11863
* InventoryEntry is now an abstract base class, use one of the
11864
concrete InventoryDirectory etc classes instead.
11866
* Branch raises an UnsupportedFormatError when it detects a
11867
bzr branch it cannot understand. This allows for precise
11868
handling of such circumstances.
11870
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
11871
list of their ids and ``parent_sha1s`` is a list of their corresponding
11872
sha1s (for old branches only at the moment.)
11874
* New method-object style interface for Commit() and Fetch().
11876
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
11877
we call them revisions not patches.
11879
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
11880
directory is created if it doesn't exist.
11882
* Inventories now identify the files which were present by
11883
giving the revision *of that file*.
11885
* Inventory and Revision XML contains a version identifier.
11886
This must be consistent with the overall branch version
11887
but allows for more flexibility in future upgrades.
11892
* Removed testsweet module so that tests can be run after
11893
bzr installed by 'bzr selftest'.
11895
* 'bzr selftest' command-line arguments can now be partial ids
11896
of tests to run, e.g. ``bzr selftest test_weave``
11902
:Released: 2005-09-23
11907
* Fixed "branch -r" option.
11909
* Fix remote access to branches containing non-compressed history.
11912
* Better reliability of http server tests. (John Arbash-Meinel)
11914
* Merge graph maximum distance calculation fix. (Aaron Bentley)
11916
* Various minor bug in windows support have been fixed, largely in the
11917
test suite. Contributed by Alexander Belchenko.
11922
* Status now accepts a -r argument to give status between chosen
11923
revisions. Contributed by Heikki Paajanen.
11925
* Revision arguments no longer use +/-/= to control ranges, instead
11926
there is a 'before' namespace, which limits the successive namespace.
11927
For example '$ bzr log -r date:yesterday..before:date:today' will
11928
select everything from yesterday and before today. Contributed by
11931
* There is now a bzr.bat file created by distutils when building on
11932
Windows. Contributed by Alexander Belchenko.
11937
* Removed uuid() as it was unused.
11939
* Improved 'fetch' code for pulling revisions from one branch into
11940
another (used by pull, merged, etc.)
11946
:Released: 2005-09-20
11952
* Adding a file whose parent directory is not versioned will
11953
implicitly add the parent, and so on up to the root. This means
11954
you should never need to explictly add a directory, they'll just
11955
get added when you add a file in the directory. Contributed by
11958
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
11961
* If you set ``BZR_EDITOR`` in the environment, it is checked in
11962
preference to EDITOR and the config file for the interactive commit
11963
editing program. Related to this is a bugfix where a missing program
11964
set in EDITOR would cause editing to fail, now the fallback program
11965
for the operating system is still tried.
11967
* Files that are not directories/symlinks/regular files will no longer
11968
cause bzr to fail, it will just ignore them by default. You cannot add
11969
them to the tree though - they are not versionable.
11975
* Refactor xml packing/unpacking.
11980
* Fixed 'bzr mv' by Ollie Rutherfurd.
11982
* Fixed strange error when trying to access a nonexistent http
11985
* Make sure that the hashcache gets written out if it can't be
11992
* Various Windows fixes from Ollie Rutherfurd.
11994
* Quieten warnings about locking; patch from Matt Lavin.
12000
:Released: 2005-09-02
12005
* ``bzr shell-complete`` command contributed by Clint Adams to
12006
help with intelligent shell completion.
12008
* New expert command ``bzr find-merge-base`` for debugging merges.
12014
* Much better merge support.
12016
* merge3 conflicts are now reported with markers like '<<<<<<<'
12017
(seven characters) which is the same as CVS and pleases things
12024
* ``bzr upgrade`` no longer fails when trying to fix trees that
12025
mention revisions that are not present.
12027
* Fixed bugs in listing plugins from ``bzr plugins``.
12029
* Fix case of $EDITOR containing options for the editor.
12031
* Fix log -r refusing to show the last revision.
12032
(Patch from Goffredo Baroncelli.)
12038
* ``bzr log --show-ids`` shows the revision ids of all parents.
12040
* Externally provided commands on your $BZRPATH no longer need
12041
to recognize --bzr-usage to work properly, and can just handle
12048
* Changed trace messages to go through the standard logging
12049
framework, so that they can more easily be redirected by
12057
:Released: 2005-08-18
12062
* Python plugins, automatically loaded from the directories on
12063
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
12065
* New 'bzr mkdir' command.
12067
* Commit mesage is fetched from an editor if not given on the
12068
command line; patch from Torsten Marek.
12070
* ``bzr log -m FOO`` displays commits whose message matches regexp
12073
* ``bzr add`` with no arguments adds everything under the current directory.
12075
* ``bzr mv`` does move or rename depending on its arguments, like
12078
* ``bzr missing`` command shows a summary of the differences
12079
between two trees. (Merged from John Arbash-Meinel.)
12081
* An email address for commits to a particular tree can be
12082
specified by putting it into .bzr/email within a branch. (Based
12083
on a patch from Heikki Paajanen.)
12089
* Faster working tree operations.
12095
* 3rd-party modules shipped with bzr are copied within the bzrlib
12096
python package, so that they can be installed by the setup
12097
script without clashing with anything already existing on the
12098
system. (Contributed by Gustavo Niemeyer.)
12100
* Moved plugins directory to bzrlib/, so that there's a standard
12101
plugin directory which is not only installed with bzr itself but
12102
is also available when using bzr from the development tree.
12103
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
12104
standard plugins directory.
12106
* When exporting to a tarball with ``bzr export --format tgz``, put
12107
everything under a top directory rather than dumping it into the
12108
current directory. This can be overridden with the ``--root``
12109
option. Patch from William Dodé and John Meinel.
12111
* New ``bzr upgrade`` command to upgrade the format of a branch,
12112
replacing ``bzr check --update``.
12114
* Files within store directories are no longer marked readonly on
12117
* Changed ``bzr log`` output to a more compact form suggested by
12118
John A Meinel. Old format is available with the ``--long`` or
12119
``-l`` option, patched by William Dodé.
12121
* By default the commit command refuses to record a revision with
12122
no changes unless the ``--unchanged`` option is given.
12124
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
12125
line options must come before the command name because they
12126
affect what commands are available; all other options must come
12127
after the command name because their interpretation depends on
12130
* ``branch`` and ``clone`` added as aliases for ``branch``.
12132
* Default log format is back to the long format; the compact one
12133
is available with ``--short``.
12139
* Fix bugs in committing only selected files or within a subdirectory.
12145
:Released: 2005-06-15
12150
* ``bzr`` with no command now shows help rather than giving an
12151
error. Suggested by Michael Ellerman.
12153
* ``bzr status`` output format changed, because svn-style output
12154
doesn't really match the model of bzr. Now files are grouped by
12155
status and can be shown with their IDs. ``bzr status --all``
12156
shows all versioned files and unknown files but not ignored files.
12158
* ``bzr log`` runs from most-recent to least-recent, the reverse
12159
of the previous order. The previous behaviour can be obtained
12160
with the ``--forward`` option.
12162
* ``bzr inventory`` by default shows only filenames, and also ids
12163
if ``--show-ids`` is given, in which case the id is the second
12170
* New 'bzr whoami --email' option shows only the email component
12171
of the user identification, from Jo Vermeulen.
12173
* New ``bzr ignore PATTERN`` command.
12175
* Nicer error message for broken pipe, interrupt and similar
12176
conditions that don't indicate an internal error.
12178
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
12180
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
12181
either read or write mode.
12183
* New option ``bzr log --show-ids`` shows revision and file ids.
12185
* New usage ``bzr log FILENAME`` shows only revisions that
12186
affected that file.
12188
* Changed format for describing changes in ``bzr log -v``.
12190
* New option ``bzr commit --file`` to take a message from a file,
12191
suggested by LarstiQ.
12193
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
12194
Oler. File may be in a branch other than the working directory.
12196
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
12199
* Commands can now be defined by external programs or scripts
12200
in a directory on $BZRPATH.
12202
* New "stat cache" avoids reading the contents of files if they
12203
haven't changed since the previous time.
12205
* If the Python interpreter is too old, try to find a better one
12206
or give an error. Based on a patch from Fredrik Lundh.
12208
* New optional parameter ``bzr info [BRANCH]``.
12210
* New form ``bzr commit SELECTED`` to commit only selected files.
12212
* New form ``bzr log -r FROM:TO`` shows changes in selected
12213
range; contributed by John A Meinel.
12215
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
12216
options through to an external GNU diff.
12218
* New option ``bzr add --no-recurse`` to add a directory but not
12221
* ``bzr --version`` now shows more information if bzr is being run
12228
* Fixed diff format so that added and removed files will be
12229
handled properly by patch. Fix from Lalo Martins.
12231
* Various fixes for files whose names contain spaces or other
12238
* Converted black-box test suites from Bourne shell into Python;
12239
now run using ``./testbzr``. Various structural improvements to
12242
* testbzr by default runs the version of bzr found in the same
12243
directory as the tests, or the one given as the first parameter.
12245
* testbzr also runs the internal tests, so the only command
12246
required to check is just ``./testbzr``.
12248
* testbzr requires python2.4, but can be used to test bzr running
12249
under a different version.
12251
* Tests added for many other changes in this release.
12257
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
12259
* Refactor command functions into Command objects based on HCT by
12260
Scott James Remnant.
12262
* Better help messages for many commands.
12264
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
12265
this is called trace messages are just discarded.
12267
* New internal function ``find_touching_revisions()`` and hidden
12268
command touching-revisions trace the changes to a given file.
12270
* Simpler and faster ``compare_inventories()`` function.
12272
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
12274
* New AtomicFile class.
12276
* New developer commands ``added``, ``modified``.
12282
* Cope on Windows on python2.3 by using the weaker random seed.
12283
2.4 is now only recommended.
12289
:Released: 2005-04-22
12294
* 'bzr diff' optionally takes a list of files to diff. Still a bit
12295
basic. Patch from QuantumG.
12297
* More default ignore patterns.
12299
* New 'bzr log --verbose' shows a list of files changed in the
12300
changeset. Patch from Sebastian Cote.
12302
* Roll over ~/.bzr.log if it gets too large.
12304
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
12307
* New 'bzr help commands' based on a patch from Denys Duchier.
12313
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
12314
or $EMAIL. All are decoded by the locale preferred encoding.
12315
If none of these are present user@hostname is used. The host's
12316
fully-qualified name is not used because that tends to fail when
12317
there are DNS problems.
12319
* New 'bzr whoami' command instead of username user-email.
12325
* Make commit safe for hardlinked bzr trees.
12327
* Some Unicode/locale fixes.
12329
* Partial workaround for ``difflib.unified_diff`` not handling
12330
trailing newlines properly.
12336
* Allow docstrings for help to be in PEP0257 format. Patch from
12339
* More tests in test.sh.
12341
* Write profile data to a temporary file not into working
12342
directory and delete it when done.
12344
* Smaller .bzr.log with process ids.
12350
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
12353
* Some improvements in handling paths on Windows, based on a patch
12360
:Released: 2005-04-06
12365
* New "directories" internal command lists versioned directories
12368
* Can now say "bzr commit --help".
12370
* New "rename" command to rename one file to a different name
12373
* New "move" command to move one or more files into a different
12376
* New "renames" command lists files renamed since base revision.
12378
* New cat command contributed by janmar.
12383
* .bzr.log is placed in $HOME (not pwd) and is always written in
12384
UTF-8. (Probably not a completely good long-term solution, but
12390
* Workaround for difflib bug in Python 2.3 that causes an
12391
exception when comparing empty files. Reported by Erik Toubro
12397
* Refactored inventory storage to insert a root entry at the top.
12402
* Start of shell-based black-box testing in test.sh.
12411
* Win32 fixes from Steve Brown.
12417
:Codename: "black cube"
12418
:Released: 2005-03-31
12423
* Default ignore list extended (see bzrlib/__init__.py).
12425
* Patterns in .bzrignore are now added to the default ignore list,
12426
rather than replacing it.
12428
* Ignore list isn't reread for every file.
12430
* More help topics.
12432
* Reinstate the 'bzr check' command to check invariants of the
12435
* New 'ignored' command lists which files are ignored and why;
12436
'deleted' lists files deleted in the current working tree.
12438
* Performance improvements.
12440
* New global --profile option.
12442
* Ignore patterns like './config.h' now correctly match files in
12443
the root directory only.
12449
:Released: 2005-03-26
12454
* More information from info command.
12456
* Can now say "bzr help COMMAND" for more detailed help.
12458
* Less file flushing and faster performance when writing logs and
12459
committing to stores.
12461
* More useful verbose output from some commands.
12466
* Fix inverted display of 'R' and 'M' during 'commit -v'.
12471
* Include a subset of ElementTree-1.2.20040618 to make
12472
installation easier.
12474
* Fix time.localtime call to work with Python 2.3 (the minimum
12481
:Released: 2005-03-22
12486
* First public release.
12488
* Storage of local versions: init, add, remove, rm, info, log,
12493
vim: tw=74 ft=rst ff=unix encoding=utf-8