5
6
.. contents:: List of Releases
11
:2.2b3: NOT RELEASED YET
16
* An API break has been made to the lock_write method of ``Branch`` and
17
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
18
and ``repository.RepositoryWriteLockResult`` objects. This makes
19
changing the API in future easier and permits some cleaner calling code.
20
The lock_read method has also changed from having no defined return
21
value to returning ``LogicalLockResult`` objects.
24
* ``bzr`` does not try to guess the username as ``username@hostname``
25
and requires it to be explictly set. This can be set using ``bzr
27
(Parth Malwankar, #549310)
29
* ``bzrlib.commands.Command`` will now raise ValueError during
30
construction if there is no __doc__ set. (Robert Collins)
35
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
37
(Parth Malwankar, #571467)
39
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
40
the default ignore rules used by bzr. The flag ``--old-default-rules``
41
is no longer supported by ``ignore``.
42
(Parth Malwankar, #538703)
44
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
45
can save disk space by deleting obsolete pack files created during the
47
(Parth Malwankar, #304320)
49
* New command line option ``--authors`` to ``bzr log`` allows users to
50
select which of the apparent authors and committer should be
51
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
53
* Support ``--directory`` option for a number of additional commands:
54
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
55
export, ignore, ignored, lookup-revision, ls, modified, nick,
56
re-sign, unbind, unknowns.
57
(Martin von Gagern, #527878)
59
* The bash_completion plugin from the bzr-bash-completion project has
60
been merged into the tree. It provides a bash-completion command and
61
replaces the outdated ``contrib/bash/bzr`` script with a version
62
using the plugin. (Martin von Gagern, #560030)
67
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
68
group ownership from the containing directory. This allow bzr to work
70
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
72
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
73
support of bzr-externals and scmproj plugins.
74
(Alexander Belchenko, bug #572098)
76
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
77
(Gordon Tyler, #572092)
79
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
80
are part of Y ancestry but not part of X ancestry (aka the graph
82
(Vincent Ladeuil, #320119)
84
* ``bzr lp-propose`` which was switched to use production Launchpad API
85
servers a few commits ago has been reverted to use edge: there is a
86
problem with using production which isn't trivially obvious, so we've
87
filed a bug to track it, and until thats fixed will be using edge.
88
(Robert Collins, #583667)
90
* ``bzr rm`` should not refuse to delete directories which contained a file
91
which has been moved elsewhere in the tree after the previous commit.
92
(Marius Kruger, Daniel Watkins, #129880)
94
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
95
(Vincent Ladeuil, #566670)
97
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
98
(Vincent Ladeuil, #563997)
100
* CommitBuilder refuses to create revisions whose trees have no root.
103
* Don't mention --no-strict when we just issue the warning about unclean trees.
104
(Vincent Ladeuil, #401599)
106
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
108
(Andrew Bennetts, #528041)
110
* Improved progress bar for fetch (2a format only). Bazaar now shows an
111
estimate of the number of records to be fetched vs actually fetched.
112
(Parth Malwankar, #374740, #538868)
114
* Reduce peak memory by one copy of compressed text.
115
(John Arbash Meinel, #566940)
117
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
118
read lock, rather than causing an ``AttributeError``.
119
(Andrew Bennetts, Данило Шеган, #582781)
121
* Selftest was failing with testtools 0.9.3, which caused an
122
AssertionError raised from a cleanUp to be reported as a Failure, not an
123
Error, breaking on of our test hygiene tests.
124
(Robert Collins, Vincent Ladeuil).
126
* ``set_user_option`` with a dict on remote branches no longer fails with
127
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
128
to support this efficiently.
129
(Andrew Bennetts, #430382)
131
* Show the filenames when a file rename fails so that the error will be
133
(Martin Pool, #491763)
135
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
136
(John Arbash Meinel, #582656)
138
* Unicode characters in aliases are now handled correctly and do not cause
139
UnicodeEncodeError exception. (Parth Malwankar, #529930)
141
* Unicode commit messages that are the same as a file name no longer cause
142
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
144
(Parth Malwankar, #563646)
146
* Using bzr with `lp:` urls behind an http proxy should work.
147
(Robert Collins, #558343)
149
* When passing a file to ``UTF8DirReader`` make sure to close the current
150
directory file handle after the chdir fails. Otherwise when passing many
151
filenames into a command line ``bzr status`` we would leak descriptors.
152
(John Arbash Meinel, #583486)
157
* ``append_revisions_only`` will now be interpreted as a boolean and a
158
warning emitted if illegal values are used. Note that for projects
159
that needs to maintain compatibility with previsous bzr versions,
160
only 'True' and 'False' strings must be used (previous versions of
161
bzr will interpret all strings differing from 'True'
162
(case-sensitive) as false.
163
(Brian de Alwis, Vincent Ladeuil)
165
* ``bzr ls`` now supports short options for existing long options.
166
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
167
(Parth Malwankar, #181124)
169
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
170
be interpreted as a boolean.
179
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
180
some kinds of ``merge_file_content`` hook functions.
183
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
184
`user_transport`, `control_url` and `control_transport` members pointing
185
respectively to the directory containing the ``.bzr`` control directory,
186
and to the directory within ``.bzr`` used for the particular component.
187
All of them inherit from `ControlComponent` which provides default
191
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
192
expected to return an object which can be used to unlock them. This reduces
193
duplicate code when using cleanups. The previous 'tokens's returned by
194
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
195
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
196
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
198
* ``Repository.refresh_data`` may now be called in a write group on
199
pack-based repositories. Older repositories will still raise an error
200
in this case. Subclasses of ``Repository`` can still override
201
``Repository._refresh_data``, but are now responsible for raising
202
``bzrlib.repository.IsInWriteGroupError`` if they do not support
203
``refresh_data`` during a write group.
204
(Andrew Bennetts, #574236)
209
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
210
the (file-id, revision-id) key from a CHKInventory entry. This can
211
potentially shave 5-10% time off during a large fetch. Related to bug
212
#562666. (John Arbash Meinel)
214
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
217
* ``_remember_remote_is_before`` no longer raises AssertionError when
218
suboptimal network behaviour is noticed; instead it just mutters to the
219
log file (and warns the user if they have set the ``hpss`` debug flag).
220
This was causing unnecessary aborts for performance bugs that are minor
222
(Andrew Bennetts, #528041)
224
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
225
files loaded from disk. To ensure docstrings needed for help are never
226
stripped, the prefix ``__doc__ =`` should now be used.
227
(Martin <gzlist@googlemail.com>)
229
* No longer require zlib headers to build extensions, and remove the need
230
for seperate copy of zlib library on windows.
231
(John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
236
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
237
our first in-tree matcher. See the module docstring for details.
240
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
241
(Gordon Tyler, #551332)
243
* Workaround ``Crypto.Random`` check leading to spurious test
244
failures on Lucid, FreeBSD and gentoo.
245
(Vincent Ladeuil, #528436)
247
* New class ``ExecutableFeature`` for checking the availability of
248
executables on the ``PATH``. Migrated from bash_completion plugin.
256
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
257
incompatibility in the 2.2b1 release. It also includes a swag of
258
performance, usability and correctness improvements: test feedback on all
259
of these would be welcome.
265
* ``bzr diff`` now supports a --format option, which can be used to
266
select alternative diff formats. (Jelmer Vernooij, #555994)
271
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
272
instead of failing when dirty trees are involved. The corresponding
273
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
274
True explicitly to get the previous behaviour.
275
(Vincent Ladeuil, #519319)
277
* ``bzr export`` to tar file does not fail if any parent directory
278
contains unicode characters. This works around upstream Python bug
279
http://bugs.python.org/issue8396 .
280
(Parth Malwankar, #413406)
282
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
283
(Aaron Bentley, #559436)
285
* ``bzr update`` when a pending merge in the working tree has been merged
286
into the master branch will no longer claim that old commits have become
287
pending merges. (Robert Collins, #562079)
289
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
290
config as in previous versions of bzrlib. (Robert Collins)
292
* Fix glitch in the warning about unclean trees display.
293
(Vincent Ladeuil, #562665)
295
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
298
* Help messages generated by ``RegistryOption.from_kwargs`` list the
299
switches in alphabetical order, rather than in an undefined order.
300
(Martin von Gagern, #559409)
302
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
303
Apport crash reports, to avoid "This problem report applies to a program
304
which is not installed any more" error.
305
(Martin Pool, James Westby, #528114)
307
* Reset ``siginterrupt`` flag to False every time we handle a signal
308
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
309
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
310
errors after two window resizes.
313
* When invoked with a range revision, ``bzr log`` doesn't show revisions
314
that are not part of the Y revisions ancestry anymore when invoked with
316
(Vincent Ladeuil, #474807)
318
* Properly handle ``param_name`` attribute for ``ListOption``.
319
(Martin von Gagern, 387117)
324
* ``bzr commit`` will prompt before using a commit message that was
325
generated by a template and not edited by the user.
326
(Robert Collins, #530265)
328
* ``bzr diff`` read-locks the trees and branches only once, saving about
329
10-20ms on ``bzr diff`` in a bzr.dev tree.
332
* ``bzr missing`` read-locks the branches only once.
335
* ``bzr pull`` locks the branches and tree only once.
338
* Index lookups in pack repositories search recently hit pack files first.
339
In repositories with many pack files this can greatly reduce the
340
number of files accessed, the number of bytes read, and the number of
341
read calls. An incremental pull via plain HTTP takes half the time and
342
bytes for a moderately large repository. (Andrew Bennetts)
344
* Index lookups only re-order the indexes when the hit files aren't
345
already first. Reduces the cost of reordering
346
(John Arbash Meinel, #562429)
348
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
350
(Martin Pool, #553017)
355
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
356
``get_trees_and_branches_to_diff_locked`` instead.
359
* ``TreeTransform.commit`` supports the full set of commit parameters, and
360
auto-determines branch nick if not supplied. (Aaron Bentley)
365
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
366
2.1 method of calling run() to perform testing or direct use via the API
367
is now possible again. As part of this, the _operation attribute on
368
Command is now transient and only exists for the duration of ``run()``.
379
* BTreeGraphIndex can now take an offset to indicate that the data starts
380
somewhere other than then beginning of the file. (John Arbash Meinel)
382
* Deleted very old hidden commands ``versionedfile-list``,
383
``weave-plan-merge``, ``weave-merge-text``.
386
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
387
have been removed. (Jelmer Vernooij)
389
* ``Repository.get_revision_inventory()`` has been removed in favor of
390
``Repository.get_inventory()``. (Jelmer Vernooij)
392
* All test servers have been moved out of the bzrlib.transport hierarchy to
393
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
394
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
395
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
396
``bzrlib.tests.test_server``.
399
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
400
as its second parameter, for consistency with the initialize() method of
401
other formats. (Jelmer Vernooij)
406
* Added ``bzr remove-branch`` command that can remove a local or remote
407
branch. (Jelmer Vernooij, #276295)
409
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
410
to set file mtimes to the last timestamp of the last revision in which
411
they were changed rather than the current time. (Jelmer Vernooij)
413
* If the Apport crash-reporting tool is available, bzr crashes are now
414
stored into the ``/var/crash`` apport spool directory, and the user is
415
invited to report them to the developers from there, either
416
automatically or by running ``apport-bug``. No information is sent
417
without specific permission from the user. (Martin Pool, #515052)
419
* Parsing of command lines, for example in ``diff --using``, no longer
420
treats backslash as an escape character on Windows. (Gordon Tyler,
423
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
424
a list of plugin names separated by ':' (';' on windows).
425
(Vincent Ladeuil, #411413)
427
* Plugins can be loaded from arbitrary locations by defining
428
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
429
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
430
specified plugins. This is targeted at plugin developers for punctual
431
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
432
(Vincent Ladeuil, #82693)
434
* Tag names can now be determined automatically by ``automatic_tag_name``
435
hooks on ``Branch`` if they are not specified on the command line.
438
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
439
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
440
as resolved is still accessible via the ``--done`` default action.
443
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
444
(Aaron Bentley, Jonathan Lange)
449
* Added docstring for ``Tree.iter_changes``
450
(John Arbash Meinel, #304182)
452
* Allow additional arguments to
453
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
455
* Allow exporting a single file using ``bzr export``.
456
(Michal Junák, #511987)
458
* Allow syscalls to automatically restart when ``TextUIFactory``'s
459
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
460
IO, which are often poorly handled by Python's libraries and parts of
461
bzrlib. (Andrew Bennetts, #496813)
463
* Avoid infinite recursion when probing for apport.
464
(Vincent Ladeuil, #516934)
466
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
467
(Martin Pool, #331095)
469
* Avoid truncating svn URLs.
470
(Martin Pool, Martin von Gagern, #545185)
472
* ``bzr add`` will not add conflict related files unless explicitly required.
473
(Vincent Ladeuil, #322767, #414589)
475
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
476
indices do not have reference lists, so ``dump-btree`` will simply show
477
``None`` instead. (Andrew Bennetts, #488607)
479
* ``bzr help`` will no longer trigger the get_missing_command hook when
480
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
481
did you mean log?') when getting help. In future we may trigger the hook
482
deliberately when no help topics match from any help index.
483
(Robert Collins, #396261)
485
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
486
revspec as representing the first revision of the branch.
487
(Vincent Ladeuil, #519862)
489
* ``bzr remove-tree`` can now remove multiple working trees.
490
(Jared Hance, Andrew Bennetts, #253137)
492
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
493
the kept file on content conflicts where one side deleted the file.
494
(Vincent Ladeuil, #529968)
496
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
497
permissions as ``.bzr`` directory on a POSIX OS.
498
(Parth Malwankar, #262450)
500
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
501
of ``backup.bzr``. This directory is ignored by bzr commands such as
503
(Parth Malwankar, #335033, #300001)
505
* Cope with non-utf8 characters inside ``.bzrignore``.
506
(Jason Spashett, #183504)
508
* Correctly interpret "451 Rename/move failure: Directory not empty" from
509
ftp servers while trying to take a lock.
510
(Martin Pool, #528722)
512
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
513
changes occured between the workingtree and one of its parents.
514
(Vincent Ladeuil, #535547)
516
* Fix ``log`` to better check ancestors even if merged revisions are involved.
517
(Vincent Ladeuil, #476293)
519
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
520
on os.lisdir() order and is now reliable.
521
(Vincent Ladeuil, #552922).
523
* Many IO operations that returned ``EINTR`` were retried even if it
524
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
525
only retries operations that are safe to retry, and in some cases has
526
switched to operations that can be retried (e.g. ``sock.send`` rather than
528
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
530
* Path conflicts now support --take-this and --take-other even when a
531
deletion is involved.
532
(Vincent Ladeuil, #531967)
534
* Network transfer amounts and rates are now displayed in SI units according
535
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
536
(Gordon Tyler, #514399)
538
* Support kind markers for socket and fifo filesystem objects. This
539
prevents ``bzr status --short`` from crashing when those files are
540
present. (John Arbash Meinel, #303275)
542
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
543
directory. (Parth Malwankar, #138600)
545
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
546
the debugger won't kill the session.
547
(Martin <gzlist@googlemail.com>, #162502)
549
* Tolerate patches with leading noise in ``bzr-handle-patch``.
550
(Toshio Kuratomi, Martin Pool, #502076)
552
* ``update -r`` now supports updating to revisions that are not on
553
mainline (i.e. it supports dotted revisions).
554
(Parth Malwankar, #517800)
556
* Use first apparent author not committer in GNU Changelog format.
557
(Martin von Gagern, #513322)
562
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
563
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
566
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
567
branch to create. (Jelmer Vernooij)
569
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
570
colocated branch to open. (Jelmer Vernooij)
572
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
573
can set a signal handler and call ``signal.siginterrupt(signum,
574
False)`` for it, if the platform and Python version supports it.
575
(Andrew Bennetts, #496813)
577
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
578
run when starting up; it sets up several things that previously needed
579
to be done separately.
580
(Martin Pool, #507710)
582
* Exporters now support a ``per_file_timestamps`` argument to write out the
583
timestamp of the commit in which a file revision was introduced.
586
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
587
present in a control directory. (Jelmer Vernooij)
589
* New method ``Repository.get_known_graph_ancestry()``.
590
(Jelmer Vernooij, #495502)
592
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
595
* Remove unused ``CommandFailed`` exception.
601
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
602
``message_callback`` in the same way that commit does. (Robert Collins)
604
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
605
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
606
of date. (Gary van der Merwe)
608
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
609
functions to load or disable plugins if they wish to use a different
610
plugin mechanism; the --help, --version and no-command name code paths
611
now use the generic pluggable command lookup infrastructure.
614
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
615
which can be set to add extra help to the error. (Gary van der Merwe)
617
* New method ``Branch.automatic_tag_name`` that can be used to find the
618
tag name for a particular revision automatically. (Jelmer Vernooij)
620
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
621
``BzrDir.open_branch()`` now take an optional ``name`` argument.
627
* bzr now has a ``.testr.conf`` file in its source tree configured
628
appropriately for running tests with Testrepository
629
(``https://launchpad.net/testrepository``). (Robert Collins)
631
* Documentation about testing with ``subunit`` has been tweaked.
634
* Known failures has been added for resolve --take-other on ParentLoop
635
conflicts. This reflects bug #537956 without fixing it.
638
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
639
Python modules are loaded, to guard against startup time or library
640
dependency regressions.
643
* PQM will now run with subunit output. To analyze a PQM error use
644
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
646
* Stop sending apport crash files to ``.cache`` in the directory from
647
which ``bzr selftest`` was run. (Martin Pool, #422350)
649
* Tests no longer fail if "close() called during concurrent
650
operation on the same file object" occurs when closing the log file
651
(which can happen if a thread tries to write to the log file at the
652
wrong moment). An warning will be written to ``stderr`` when this
653
happens, and another warning will be written if the log file could not
654
be closed after retrying 100 times. (Andrew Bennetts, #531746)
659
:2.1.2: NOT RELEASED YET
664
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
665
support of bzr-externals and scmproj plugins.
666
(Alexander Belchenko, bug #572098)
668
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
669
(Aaron Bentley, #559436)
671
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
673
(Andrew Bennetts, #528041)
675
* Reset ``siginterrupt`` flag to False every time we handle a signal
676
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
677
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
678
errors after two window resizes.
681
* Reduce peak memory by one copy of compressed text.
682
(John Arbash Meinel, #566940)
684
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
685
(John Arbash Meinel, #582656)
687
* When passing a file to ``UTF8DirReader`` make sure to close the current
688
directory file handle after the chdir fails. Otherwise when passing many
689
filenames into a command line ``bzr status`` we would leak descriptors.
690
(John Arbash Meinel, #583486)
695
* ``_remember_remote_is_before`` no longer raises AssertionError when
696
suboptimal network behaviour is noticed; instead it just mutters to the
697
log file (and warns the user if they have set the ``hpss`` debug flag).
698
This was causing unnecessary aborts for performance bugs that are minor
700
(Andrew Bennetts, #528041)
708
This is a small bugfix release. Upgrading is recommended for anyone
709
running 2.1.0 or earlier.
714
* Allow syscalls to automatically restart when ``TextUIFactory``'s
715
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
716
IO, which are often poorly handled by Python's libraries and parts of
717
bzrlib. (Andrew Bennetts, #496813)
719
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
720
(Martin Pool, #331095)
722
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
724
* Fix stub sftp test server to call os.getcwdu().
725
(Vincent Ladeuil, #526221, #526353)
727
* Fixed CHM generation by moving the NEWS section template into
728
a separate file. (Ian Clatworthy, #524184)
730
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
732
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
733
problems importing bzrlib from a non-main thread.
734
(Elliot Murphy, #521989)
736
* Repositories accessed via a smart server now reject being stacked on a
737
repository in an incompatible format, as is the case when accessing them
738
via other methods. This was causing fetches from those repositories via
739
a smart server (e.g. using ``bzr branch``) to receive invalid data.
740
(Andrew Bennetts, #562380)
742
* Standardize the error handling when creating a new ``StaticTuple``
743
(problems will raise TypeError). (Matt Nordhoff, #457979)
745
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
746
``StaticTuple`` extensions, rather than having the build fail randomly.
747
(John Arbash Meinel, #449776)
752
* Added a link to the Desktop Guide. (Ian Clatworthy)
754
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
756
* Drop Google Analytics from the core docs as they caused problems
757
in the CHM files. (Ian Clatworthy, #502010)
762
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
763
can set a signal handler and call ``signal.siginterrupt(signum,
764
False)`` for it, if the platform and Python version supports it.
765
(Andrew Bennetts, #496813)
771
:Codename: Strasbourg
774
This release marks our second long-term-stable series. The Bazaar team
775
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
776
releases, along with 2.2 development releases.
778
This is a fairly incremental update, focusing on polish and bugfixing.
779
There are no changes for supported disk formats. Key updates include
780
reduced memory consumption for many operations, a new per-file merge
781
hook, ignore patterns can now include '!' to exclude files, globbing
782
support for all commands on Windows, and support for addressing home
783
directories via ``bzr+ssh://host/~/`` syntax.
785
Users are encouraged to upgrade from the 2.0 stable series.
790
* Don't require testtools to use sftp.
791
(Vincent Ladeuil, #516183)
793
* Fix "AttributeError in Inter1and2Helper" during fetch.
794
(Martin Pool, #513432)
796
* ``bzr update`` performs the two merges in a more logical order and will stop
797
when it encounters conflicts.
798
(Gerard Krol, #113809)
800
* Give a better error message when doing ``bzr bind`` in an already bound
801
branch. (Neil Martinsen-Burrell, #513063)
803
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
804
in a pack repository, which can happen harmlessly if the abort occurs during
805
finishing the write group. Also use ``bzrlib.cleanup`` so that any
806
other errors that occur while aborting the individual packs won't be
807
hidden by secondary failures when removing the corresponding indices.
808
(Andrew Bennetts, #423015)
810
* Set the mtime of files exported to a directory by ``bzr export`` all to
811
the same value to avoid confusing ``make`` and other date-based build
812
systems. (Robert Collins, #515631)
817
* Fetching into experimental formats will now print a warning. (Jelmer
823
* ``Repository.deserialise_inventory`` has been renamed to
824
``Repository._deserialise_inventory`` to indicate it is private.
827
* ``Repository.get_inventory_xml`` has been renamed to
828
``Repository._get_inventory_xml`` to indicate it is private.
831
* ``Repository.serialise_inventory`` has been renamed to
832
``Repository._serialise_inventory`` to indicate it is private.
834
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
835
same time was broken due to race conditions with a module level page
836
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
837
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
838
the same high level objects such as ``bzrlib.repository.Repository``
839
from different threads. chk_map now uses a thread local cache which may
840
increase memory pressure on processes using threads.
841
(Robert Collins, John Arbash Meinel, #514090)
843
* The new ``merge_file_content`` should now be ok with tests to avoid
845
(Vincent Ladeuil, #515597)
850
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
851
blocks in several places in ``bzrlib.merge``. This avoids masking prior
852
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
854
(Andrew Bennetts, #517275)
859
* The ``remove_index`` method of
860
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
861
argument. This argument was always ignored.
862
(Andrew Bennetts, #423015)
867
:Codename: after the bubbles
868
:2.1.0rc2: 2010-01-29
870
This is a quick-turn-around to update a small issue with our new per-file
871
merge hook. We expect no major changes from this to the final 2.1.0.
876
* The new ``merge_file_content`` hook point has been altered to provide a
877
better API where state for extensions can be stored rather than the
878
too-simple function based approach. This fixes a performance regression
879
where branch configuration would be parsed per-file during merge. As
880
part of this the included news_merger has been refactored into a base
881
helper class ``bzrlib.merge.ConfigurableFileMerger``.
882
(Robert Collins, John Arbash Meinel, #513822)
888
:Codename: the 'new' stable
889
:2.1.0rc1: 2009-01-21
891
This is the first stable release candidate for Bazaar's 2.1 series. From
892
this point onwards, the 2.1 series will be considered stable (as the 2.0
893
series) and only bugfixes are expected to be incorporated. The dozen or so
894
bugfixes in the 2.0.4 release are also included in this release (along
895
with more than 15 more bugfixes). Some of the interesting features are
896
support for per-file merge hooks, ``bzr unshelve --preview``, support
897
for using ! in ignore files to exclude files from being ignored, a small
898
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
899
This looks to be a very good start for a new stable series.
905
* Add bug information to log output when available.
906
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
908
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
909
to register custom merge logic, e.g. to provide smarter merging for
912
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
913
default, to enable it add a ``news_merge_files`` option to your
914
configuration. Consult ``bzr help news_merge`` for more information.
917
* ``bzr branch`` now takes a ``--bind`` option. This lets you
918
branch and bind all in one command. (Ian Clatworthy)
920
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
921
a specific revision of a branch. (Daniel Watkins, #183559)
923
* ``bzr unshelve --preview`` can now be used to show how a patch on the
924
shelf would be applied to the working tree.
925
(Guilherme Salgado, #308122)
927
* ``bzr update`` now takes a ``--revision`` argument. This lets you
928
change the revision of the working tree to any revision in the
929
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
932
* ``-Dbytes`` can now be used to display the total number of bytes
933
transferred for the current command. This information is always logged
934
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
936
* New ignore patterns. Patterns prefixed with '!' are exceptions to
937
ignore patterns and take precedence over regular ignores. Such
938
exceptions are used to specify files that should be versioned which
939
would otherwise be ignored. Patterns prefixed with '!!' act as regular
940
ignore patterns, but have highest precedence, even over the '!'
941
exception patterns. (John Whitley, #428031)
943
* The ``supress_warnings`` configuration option has been introduced to disable
944
various warnings (it currently only supports the ``format_deprecation``
945
warning). The new option can be set in any of the following locations:
946
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
947
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
952
* Always show a message if an OS error occurs while trying to run a
953
user-specified commit message editor.
954
(Martin Pool, #504842)
956
* ``bzr diff`` will now use the epoch when it is unable to determine
957
the timestamp of a file, if the revision it was introduced in is a
958
ghost. (Jelmer Vernooij, #295611)
960
* ``bzr switch -b`` can now create branches that are located using directory
961
services such as ``lp:``, even when the branch name doesn't contain a
962
'/'. (Neil Martinsen-Burrell, #495263)
964
* ``bzr unshelve`` has improved messages about what it is doing.
965
(Neil Martinsen-Burrell, #496917)
967
* Concurrent autopacking is more resilient to already-renamed pack files.
968
If we find that a file we are about to obsolete is already obsoleted, we
969
do not try to rename it, and we leave the file in ``obsolete_packs``.
970
The code is also fault tolerant if a file goes missing, assuming that
971
another process already removed the file.
972
(John Arbash Meinel, Gareth White, #507557)
974
* Fix "Too many concurrent requests" in reconcile when network connection
975
fails. (Andrew Bennetts, #503878)
977
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
978
that caused some tests to fail when run in a non-default order.
979
Probably no user impact. (Martin Pool, #504102)
981
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
982
(Andrew Bennetts, #506274)
984
* FTP transports support Unicode paths by encoding/decoding them as utf8.
985
(Vincent Ladeuil, #472161)
987
* Listen to the SIGWINCH signal to update the terminal width.
988
(Vincent Ladeuil, #316357)
990
* Progress bars are now hidden when ``--quiet`` is given.
991
(Martin Pool, #320035)
993
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
994
whatever is written to it. This un-breaks some plugin tests that
995
depended on this behaviour.
996
(Martin Pool, #499757)
998
* When operations update the working tree, all affected files should end
999
up with the same mtime. (eg. when versioning a generated file, if you
1000
update the source and the generated file together, the generated file
1001
should appear up-to-date.)
1002
(John Arbash Meinel, Martin <gzlist>, #488724)
1007
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
1008
All the builtin commands now use ``add_cleanup`` rather than
1009
``try``/``finally`` blocks where applicable as it is simpler and more
1010
robust. (Andrew Bennetts)
1012
* All except a small number of storage formats are now hidden, making
1013
the help for numerous commands far more digestible. (Ian Clatworthy)
1015
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
1016
path/to/repo``) will now include "location is a repository" as a hint in
1017
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
1019
* Push will now inform the user when they are trying to push to a foreign
1020
VCS for which roundtripping is not supported, and will suggest them to
1021
use dpush. (Jelmer Vernooij)
1023
* The version of bzr being run is now written to the log file.
1024
(__monty__, #257170)
1026
* Transport network activity indicator is shown more of the time when
1027
Bazaar is doing network IO.
1033
* Add documentation on creating merges with more than one parent.
1034
(Neil Martinsen-Burrell, #481526)
1036
* Better explain the --uncommitted option of merge.
1037
(Neil Martinsen-Burrell, #505088)
1039
* Improve discussion of pending merges in the documentation for
1040
``revert``. (Neil Martinsen-Burrell, #505093)
1042
* Improved help for ``bzr send``.
1043
(Martin Pool, Bojan Nikolic)
1045
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
1046
including discussions of installation, relevant plugins, security and
1047
backup. (Neil Martinsen-Burrell)
1049
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
1052
* The User Reference is now presented as a series of topics.
1053
Many of the included topics have link and format tweaks applied.
1059
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
1062
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
1063
to be consistent with instances being lower case and classes being
1064
CamelCase. For the features that were more likely to be used, we added a
1065
deprecation thunk, but not all. (John Arbash Meinel)
1067
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
1068
parameter in their constructors, and provide ``this_branch`` as an
1069
attribute. (Andrew Bennetts)
1071
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
1072
by plugins - the original exceptions are now preserved. (Robert Collins)
1074
* The Transport ``Server.tearDown`` method is now renamed to
1075
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
1076
our normal naming pattern, and to avoid confusion with Python's
1077
``TestCase.tearDown``. (Martin Pool)
1079
* ``WorkingTree.update`` implementations must now accept a ``revision``
1085
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
1086
a string of details (such as "location is a repository") as part of a
1087
``nobranch`` response. (Andrew Bennetts, #440952)
1089
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
1090
objects but passes str objects straight through. This is used for
1091
selftest but may be useful for diff and other operations that generate
1092
mixed output. (Robert Collins)
1094
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
1095
plugins. (Jelmer Vernooij)
1100
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
1101
running all tests in the current module, once against a pure python
1102
implementation, and once against an extension (pyrex/C) implementation.
1103
It can be used to dramatically simplify the implementation of
1104
``load_tests``. (John Arbash Meinel)
1106
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
1107
This permits features in testtools such as getUniqueInteger and
1108
getUniqueString to be used. Because of this, testtools version 0.9.2 or
1109
newer is now a dependency to run bzr selftest. Running with versions of
1110
testtools less than 0.9.2 will cause bzr to error while loading the test
1111
suite. (Robert Collins)
1113
* Shell-like tests now support the command "mv" for moving files. The
1114
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
1115
supported. (Neil Martinsen-Burrell)
1117
* The test progress bar no longer distinguishes tests that 'errored' from
1118
tests that 'failed' - they're all just failures.
1124
:2.0.6: NOT RELEASED YET
1129
* Additional merges after an unrelated branch has been merged with its
1130
history no longer crash when deleted files are involved.
1131
(Vincent Ladeuil, John Arbash Meinel, #375898)
1133
* ``bzr revert`` now only takes write lock on working tree, instead of on
1134
both working tree and branch.
1135
(Danny van Heumen, #498409)
1137
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1138
permissions as ``.bzr`` directory on a POSIX OS.
1139
(Parth Malwankar, #262450)
1141
* Reduce peak memory by one copy of compressed text.
1142
(John Arbash Meinel, #566940)
1144
* Repositories accessed via a smart server now reject being stacked on a
1145
repository in an incompatible format, as is the case when accessing them
1146
via other methods. This was causing fetches from those repositories via
1147
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1148
(Andrew Bennetts, #562380)
1150
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1151
error. This error was caused by 2.0 not being updated when upstream
1152
python merged the end of run patch, which chose ``stopTestRun`` rather than
1153
``done``. (Robert Collins, #571437)
1155
* When passing a file to ``UTF8DirReader`` make sure to close the current
1156
directory file handle after the chdir fails. Otherwise when passing many
1157
filenames into a command line ``bzr status`` we would leak descriptors.
1158
(John Arbash Meinel, #583486)
1166
This fifth release in our 2.0 series addresses several user-inconvenience
1167
bugs. None are critical, but upgrading is recommended for all users on
1168
earlier 2.0 releases.
1173
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1174
(Martin Pool, #331095)
1176
* Concurrent autopacking is more resilient to already-renamed pack files.
1177
If we find that a file we are about to obsolete is already obsoleted, we
1178
do not try to rename it, and we leave the file in ``obsolete_packs``.
1179
The code is also fault tolerant if a file goes missing, assuming that
1180
another process already removed the file.
1181
(John Arbash Meinel, Gareth White, #507557)
1183
* Cope with the lockdir ``held/info`` file being empty, which seems to
1184
happen fairly often if the process is suddenly interrupted while taking
1186
(Martin Pool, #185103)
1188
* Give the warning about potentially slow cross-format fetches much
1189
earlier on in the fetch operation. Don't show this message during
1190
upgrades, and show the correct format indication for remote
1192
(Martin Pool, #456077, #515356, #513157)
1194
* Handle renames correctly when there are files or directories that
1195
differ only in case. (Chris Jones, Martin Pool, #368931)
1197
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1198
error, report that error rather than failing with an unhelpful
1199
``UnboundLocalError``.
1200
(Andrew Bennetts, #423563)
1202
* Running ``bzr`` command without any arguments now shows bzr
1203
version number along with rest of the help text.
1204
(Parth Malwankar, #369501)
1206
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1208
(Inada Naoki, #524560)
1213
* Added ``location-alias`` help topic.
1214
(Andrew Bennetts, #337834)
1216
* Fixed CHM generation by moving the NEWS section template into
1217
a separate file. (Ian Clatworthy, #524184)
1223
:Codename: smooth sailing
1226
The fourth bugfix-only release in the 2.0 series contains more than a
1227
dozen bugfixes relative to 2.0.3. The primary focus is on handling
1228
interruptions and concurrent operations more cleanly, there is also a fair
1229
improvement to ``bzr export`` when exporting a remote branch.
1235
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
1236
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
1238
* ``bzr export dir`` now requests all file content as a record stream,
1239
rather than requsting the file content one file-at-a-time. This can make
1240
exporting over the network significantly faster (54min => 9min in one
1241
case). (John Arbash Meinel, #343218)
1243
* ``bzr serve`` no longer slowly leaks memory. The compiled
1244
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
1245
free resources, and it should have been using ``__dealloc__``.
1246
This will likely have an impact on any other process that is serving for
1247
an extended period of time. (John Arbash Meinel, #494406)
1249
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
1250
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
1251
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
1253
* Concurrent autopacks will no longer lose a newly created pack file.
1254
There was a race condition, where if the reload happened at the right
1255
time, the second packer would forget the name of the newly added pack
1256
file. (John Arbash Meinel, Gareth White, #507566)
1258
* Give a clearer message if the lockdir disappears after being apparently
1259
successfully taken. (Martin Pool, #498378)
1261
* Give a warning when fetching between repositories (local or remote) with
1262
sufficiently different formats that the content will need to be
1263
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
1264
the user has a clue that upgrading could make it faster.
1265
(Martin Pool, #456077)
1267
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
1268
than using ``warning()``. The log file is opened before logging is set
1269
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
1270
users, rather than something nicer.
1271
(John Arbash Meinel, Barry Warsaw, #503886)
1273
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
1274
(Martin Pool, John Arbash Meinel, #449372)
1276
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
1277
build. (there is still the distutils bug
1278
http://bugs.python.org/issue644744) (Joe Julian, #175839)
1280
* The 2a format wasn't properly restarting autopacks when something
1281
changed underneath it (like another autopack). Now concurrent
1282
autopackers will properly succeed. (John Arbash Meinel, #495000)
1284
* ``TreeTransform`` can now handle when a delta says that the file id for
1285
the tree root changes. Rather than trying to rename your working
1286
directory, or failing early saying that you can't have multiple
1287
tree roots. This also fixes revert, update, and pull when the root id
1288
changes. (John Arbash Meinel, #494269, #504390)
1290
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
1291
the right time will get propagated, rather than silently failing to move
1292
the block pointer. (John Arbash Meinel, Gareth White, #495023)
1297
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
1298
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
1299
rather than an ``except ?:`` clause.) This should help prevent bugs like
1300
bug #495023. (John Arbash Meinel)
1306
:Codename: san francisco airport
1307
:2.1.0b4: 2009-12-14
1309
The fourth beta release in the 2.1 series brings with it a significant
1310
number of bugfixes (~20). The test suite is once again (finally) "green"
1311
on Windows, and should remain that way for future releases. There are a
1312
few performance related updates (faster upgrade and log), and several UI
1313
tweaks. There has also been a significant number of tweaks to the runtime
1314
documentation. 2.1.0b4 include everything from the 2.0.3 release.
1317
Compatibility Breaks
1318
********************
1320
* The BZR_SSH environmental variable may now be set to the path of a secure
1321
shell client. If currently set to the value ``ssh`` it will now guess the
1322
vendor of the program with that name, to restore the old behaviour that
1323
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
1324
string. (Martin <gzlist@googlemail.com>, #176292)
1329
* ``bzr commit`` now has a ``--commit-time`` option.
1330
(Alexander Sack, #459276)
1332
* ``-Dhpss`` now increases logging done when run on the bzr server,
1333
similarly to how it works on the client. (John Arbash Meinel)
1335
* New option ``bzr unshelve --keep`` applies the changes and leaves them
1336
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
1338
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
1339
respect a given terminal width. This can be useful when output is
1340
redirected or in obscure cases where the default value is not
1341
appropriate. Pagers can use it to get a better control of the line
1345
* The new command ``bzr lp-mirror`` will request that Launchpad update its
1346
mirror of a local branch. This command will only function if launchpadlib
1354
* After renaming a file, the dirstate could accidentally reference
1355
``source\\path`` rather than ``source/path`` on Windows. This might be a
1356
source of some dirstate-related failures. (John Arbash Meinel)
1358
* ``bzr commit`` now detects commit messages that looks like file names
1359
and issues a warning.
1360
(Gioele Barabucci, #73073)
1362
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
1364
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
1365
(#325618, #484109, Marius Kruger)
1367
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
1368
files with conflicts (similar to ``--merge3``). The contents of the file
1369
is a synthesis of all bases used for the merge.
1370
(John Arbash Meinel, #40412)
1372
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
1374
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
1375
(Robert Collins, #84659)
1377
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
1379
* Fix bug with redirected URLs over authenticated HTTP.
1380
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
1382
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
1384
* Lots of bugfixes for the test suite on Windows. We should once again
1385
have a test suite with no failures on Windows. (John Arbash Meinel)
1387
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
1388
variable but returns None if the terminal is not a tty (when output is
1389
redirected for example). Also fixes its usage under OSes that doesn't
1390
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
1392
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
1393
(John Arbash Meinel, Vincent Ladeuil, #492561)
1395
* Terminate ssh subprocesses when no references to them remain, fixing
1396
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
1398
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
1399
works for 2a format trees. Only files unaffected by content filters
1400
will be hardlinked. (Andrew Bennetts, #408193)
1402
* The new glob expansion on Windows would replace all ``\`` characters
1403
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
1404
etc. Now only change slashes if there is something being glob expanded.
1405
(John Arbash Meinel, #485771)
1407
* Use our faster ``KnownGraph.heads()`` functionality when computing the
1408
new rich-root heads. This can cut a conversion time in half (mysql from
1409
13.5h => 6.2h) (John Arbash Meinel, #487632)
1411
* When launching a external diff tool via bzr diff --using, temporary files
1412
are no longer created, rather, the path to the file in the working tree is
1413
passed to the external diff tool. This allows the file to be edited if the
1414
diff tool provides for this. (Gary van der Merwe, #490738)
1416
* The launchpad-open command can now be used from a subdirectory of a
1417
branch, not just from the root of the branch.
1418
(Neil Martinsen-Burrell, #489102)
1424
* ``bzr log`` is now faster. (Ian Clatworthy)
1426
* ``bzr update`` provides feedback on which branch it is up to date with.
1427
(Neil Martinsen-Burrell)
1429
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
1430
For details see the xml8 patch and heads() improvements.
1431
(John Arbash Meinel)
1433
* ``bzrlib.urlutils.local_path_from_url`` now accepts
1434
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
1437
* The progress bar now shows only a spinner and per-operation counts,
1438
not an overall progress bar. The previous bar was often not correlated
1439
with real overall operation progress, either because the operations take
1440
nonlinear time, or because at the start of the operation Bazaar couldn't
1441
estimate how much work there was to do. (Martin Pool)
1446
* Lots of documentation tweaks for inline help topics and command help
1452
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
1454
* The Launchpad plugin now has a function ``login`` which will log in to
1455
Launchpad with launchpadlib, and ``load_branch`` which will return the
1456
Launchpad Branch object corresponding to a given Bazaar Branch object.
1462
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
1463
easier to handle what tests you want to run based on what modules can be
1464
imported. (Rather than lots of custom-implemented features that were
1465
basically copy-and-pasted.) (John Arbash Meinel)
1467
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
1468
``time.clock()`` when you want to do performance timing.
1469
``time.time()`` is limited to 15ms resolution on Windows, but
1470
``time.clock()`` gives CPU and not wall-clock time on other platforms.
1471
(John Arbash Meinel)
1473
* Several code paths that were calling ``Transport.get().read()`` have
1474
been changed to the equalivent ``Transport.get_bytes()``. The main
1475
difference is that the latter will explicitly call ``file.close()``,
1476
rather than expecting the garbage collector to handle it. This helps
1477
with some race conditions on Windows during the test suite and sftp
1478
tests. (John Arbash Meinel)
1483
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
1484
unicode strings. (Michael Hudson, #464174)
1490
:Codename: little italy
1494
The third stable release of Bazaar has a small handful of bugfixes. As
1495
expected, this has no internal or external compatibility changes versus
1501
* ``bzr push --use-existing-dir`` no longer crashes if the directory
1502
exists but contains an invalid ``.bzr`` directory.
1503
(Andrew Bennetts, #423563)
1505
* Content filters are now applied correctly after pull, merge and switch.
1506
(Ian Clatworthy, #385879)
1508
* Fix a potential segfault in the groupcompress hash map handling code.
1509
When inserting new entries, if the final hash bucket was empty, we could
1510
end up trying to access if ``(last_entry+1)->ptr == NULL``.
1511
(John Arbash Meinel, #490228)
1513
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1519
:Codename: after sprint recovery
1520
:2.1.0b3: 2009-11-16
1522
This release was pushed up from its normal release cycle due to a
1523
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
1524
was caught before 2.1.0b2 was officially announced, the full changelog
1525
includes both 2.1.0b3 and 2.1.0b2 changes.
1527
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
1528
the test suite now conforms to python's trunk enhanced semantics (skip,
1529
etc.), and ``bzr info -v`` will now report the correct branch and repo
1530
formats for Remote objects.
1536
* Users can define a shelve editor to provide shelf functionality at a
1537
granularity finer than per-patch-hunk. (Aaron Bentley)
1542
* Fix for shell completion and short options. (Benoît PIERRE)
1544
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
1546
* Hooks daughter classes should always call the base constructor.
1547
(Alexander Belchenko, Vincent Ladeuil, #389648)
1549
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1551
* On Windows, do glob expansion at the command-line level (as is usually
1552
done in bash, etc.) This means that *all* commands get glob expansion
1553
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
1554
parser, which allows us to know if a given section was quoted. It means
1555
you can now do ``bzr ignore "*.py"``.
1556
(John Arbash Meinel, #425510, #426410, #194450)
1558
* Sanitize commit messages that come in from the '-m' flag. We translate
1559
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
1560
allow those because XML store silently translate it anyway. (The parser
1561
auto-translates \r\n => \n in ways that are hard for us to catch.)
1563
* Show correct branch and repository format descriptions in
1564
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
1566
* The fix for bug #186920 accidentally broke compatibility with python
1567
2.4. (Vincent Ladeuil, #475585)
1569
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
1570
correctly sets ``self.inv_sha1`` to a sha1 string and
1571
``self.new_inventory`` to an Inventory instance after calling
1572
``self.finish_inventory()``. (Previously it accidently set both values
1573
as a tuple on ``self.inv_sha1``. This was missed because
1574
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
1575
the sha1 from the repo directly. (John Arbash Meinel)
1577
* Shelve command refuse to run if there is no real terminal.
1578
(Alexander Belchenko)
1580
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
1581
Python level. (Martin Pool)
1586
* Include Japanese translations for documentation (Inada Naoki)
1588
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
1589
(rather than user-interaction) data to stdout. This automatically
1590
coordinates with progress bars or other terminal activity, and can be
1592
(Martin Pool, 493944)
1597
* Some of the core groupcompress functionality now releases the GIL before
1598
operation. Similar to how zlib and bz2 operate without the GIL in the
1599
core compression and decompression routines. (John Arbash Meinel)
1604
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
1605
more debugging of VFS access triggers. (Robert Collins)
1607
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
1608
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
1610
* ``--parallel=fork`` is now compatible with --subunit.
1611
(Robert Collins, Vincent Ladeuil, #419776)
1613
* Reporting of failures shows test ids not descriptions and thus shows
1614
parameterised tests correctly. (Robert Collins)
1616
* TestNotApplicable is now handled within the TestCase.run method rather
1617
than being looked for within ``ExtendedTestResult.addError``. This
1618
provides better handling with other ``TestResult`` objects, degrading to
1619
sucess rather than error. (Robert Collins)
1621
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
1622
removed - it was empty and unused. (Robert Collins)
1624
* UnavailableFeature is now handled within the TestCase.run method rather
1625
than being looked for within addError. If the Result object does not
1626
have an addNotSupported method, addSkip is attempted instead, and
1627
failing that addSuccess. (Robert Collins)
1629
* When a TestResult does not have an addSkip method, skipped tests are now
1630
reported as successful tests, rather than as errors. This change is
1631
to make it possible to get a clean test run with a less capable
1632
TestResult. (Robert Collins)
1639
:Codename: a load off my mind
1640
:2.1.0b2: 2009-11-02
1642
This is our second feature-filled release since 2.0, pushing us down the
1643
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
1645
Key highlights in this release are: improved handling of
1646
failures-during-cleanup for commit, fixing a long-standing bug with
1647
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
1648
behind proxies, and a new StaticTuple datatype, allowing us to reduce
1649
memory consumption (50%) and garbage collector overhead (40% faster) for
1652
* A new ``--concurrency`` option has been added as well as an associated
1653
BZR_CONCURRENCY environment variable to specify the number of
1654
processes that can be run concurrently when running ``bzr selftest``. The
1655
command-line option overrides the environment variable if both are
1656
specified. If none is specified. the number of processes is obtained
1657
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
1662
* ``bzr+http`` servers no longer give spurious jail break errors when
1663
serving branches inside a shared repository. (Andrew Bennetts, #348308)
1665
* Errors during commit are handled more robustly so that knock-on errors
1666
are less likely to occur, and will not obscure the original error if
1667
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
1668
and similar errors. (Andrew Bennetts, #429747, #243391)
1670
* Launchpad urls can now be resolved from behind proxies.
1671
(Gordon Tyler, Vincent Ladeuil, #186920)
1673
* Reduce the strictness for StaticTuple, instead add a debug flag
1674
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
1675
This way, most users won't see failures, but developers can improve
1676
internals. (John Arbash Meinel, #471193)
1678
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
1679
files. (Aaron Bentley)
1681
* Unicode paths are now handled correctly and consistently by the smart
1682
server. (Andrew Bennetts, Michael Hudson, #458762)
1687
* When reading index files, we now use a ``StaticTuple`` rather than a
1688
plain ``tuple`` object. This generally gives a 20% decrease in peak
1689
memory, and can give a performance boost up to 40% on large projects.
1690
(John Arbash Meinel)
1692
* Peak memory under certain operations has been reduced significantly.
1693
(eg, 'bzr branch launchpad standalone' is cut in half)
1694
(John Arbash Meinel)
1699
* Filtered views user documentation upgraded to refer to format 2a
1700
instead of pre-2.0 formats. (Ian Clatworthy)
1705
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
1707
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1708
``show_warning`` methods, which can be hooked by non-text UIs.
1714
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1715
Dict (it only holds keys, but you can lookup the object located at a
1716
given key). It has significantly reduced memory consumption versus the
1717
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1718
used as the interning structure for StaticTuple objects.
1719
(John Arbash Meinel)
1721
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1722
the btree index parser and the chk map parser. This class functions
1723
similarly to ``tuple`` objects. However, it can only point to a limited
1724
collection of types. (Currently StaticTuple, str, unicode, None, bool,
1725
int, long, float, but not subclasses). This allows us to remove it from
1726
the garbage collector (it cannot be in a cycle), it also allows us to
1727
intern the objects. In testing, this can reduce peak memory by 20-40%,
1728
and significantly improve performance by removing objects from being
1729
inspected by the garbage collector. (John Arbash Meinel)
1731
* ``GroupCompressBlock._ensure_content()`` will now release the
1732
``zlib.decompressobj()`` when the first request is for all of the
1733
content. (Previously it would only be released if you made a request for
1734
part of the content, and then all of it later.) This turns out to be a
1735
significant memory savings, as a ``zstream`` carries around approx 260kB
1736
of internal state and buffers. (For branching bzr.dev this drops peak
1737
memory from 382MB => 345MB.) (John Arbash Meinel)
1739
* When streaming content between ``2a`` format repositories, we now clear
1740
caches from earlier versioned files. (So 'revisions' is cleared when we
1741
start reading 'inventories', etc.) This can have a significant impact on
1742
peak memory for initial copies (~200MB). (John Arbash Meinel)
1748
:Codename: after the scare
1751
The second in our "let's keep the stable bugfixes flowing" series. As
1752
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
1753
changes or features.
1758
* Avoid "NoneType has no attribute st_mode" error when files disappear
1759
from a directory while it's being read. (Martin Pool, #446033)
1761
* Content filters are now applied correctly after revert.
1764
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
1766
* Fetching from stacked pre-2a repository via a smart server no longer
1767
fails intermittently with "second push failed to complete".
1768
(Andrew Bennetts, #437626)
1770
* Fix typos left after test_selftest refactoring.
1771
(Vincent Ladeuil, Matt Nordhoff, #461149)
1773
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
1774
(Andrew Bennetts, #445171)
1776
* PreviewTree file names are not limited by the encoding of the temp
1777
directory's filesystem. (Aaron Bentley, #436794)
1782
* ``bzr log`` now read-locks branches exactly once, so makes better use of
1783
data caches. (Andrew Bennetts)
1788
* Filtered views user documentation upgraded to refer to format 2a
1789
instead of pre-2.0 formats. (Ian Clatworthy)
1795
:Codename: While the cat is away
1796
:2.1.0b1: 2009-10-14
1798
This is the first development release in the new split "stable" and
1799
"development" series. As such, the release is a snapshot of bzr.dev
1800
without creating a release candidate first. This release includes a
1801
fair amount of internal changes, with deprecated code being removed,
1802
and several new feature developments. People looking for a stable code
1803
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1804
present in 2.0.1 are present in 2.1.0b1.
1806
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1807
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1808
syntax, visible warnings when extension modules fail to load, and improved
1809
error handling during unlocking.
1815
* Bazaar can now send mail through Apple OS X Mail.app.
1818
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1819
specified in the URL. Paths starting with a path segment of ``~`` are
1820
relative to the home directory of the user running the server, and paths
1821
starting with ``~user`` are relative to the home directory of the named
1822
user. For example, for a user "bob" with a home directory of
1823
``/home/bob``, these URLs are all equivalent:
1825
* ``bzr+ssh://bob@host/~/repo``
1826
* ``bzr+ssh://bob@host/~bob/repo``
1827
* ``bzr+ssh://bob@host/home/bob/repo``
1829
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1830
home directories outside that directory will be accessible via this
1833
This is a feature of ``bzr serve``, so pre-2.1 clients will
1834
automatically benefit from this feature when ``bzr`` on the server is
1835
upgraded. (Andrew Bennetts, #109143)
1837
* Extensions can now be compiled if either Cython or Pyrex is available.
1838
Currently Pyrex is preferred, but that may change in the future.
1841
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1842
disable the user, site and core plugin directories.
1843
(Vincent Ladeuil, #412930, #316192, #145612)
1848
* Bazaar's native protocol code now correctly handles EINTR, which most
1849
noticeably occurs if you break in to the debugger while connected to a
1850
bzr+ssh server. You can now can continue from the debugger (by typing
1851
'c') and the process continues. However, note that pressing C-\ in the
1852
shell may still kill the SSH process, which is bug 162509, so you must
1853
sent a signal to the bzr process specifically, for example by typing
1854
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1856
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1857
filename will issue a warning and skip over those files.
1858
(Robert Collins, #3918)
1860
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1861
are present in the working tree. The configuration option ``dpush_strict``
1862
can be used to set the default for this behavior.
1863
(Vincent Ladeuil, #438158)
1865
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1866
merges are present in the working tree.
1867
(Vincent Ladeuil, #426344)
1869
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1870
traceback. (Martin Pool, #109115)
1872
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1873
as it is never built. (John Arbash Meinel, #430645)
1875
* Don't restrict the command name used to run the test suite.
1876
(Vincent Ladeuil, #419950)
1878
* ftp transports were built differently when the kerberos python module was
1879
present leading to obscure failures related to ASCII/BINARY modes.
1880
(Vincent Ladeuil, #443041)
1882
* Network streams now decode adjacent records of the same type into a
1883
single stream, reducing layering churn. (Robert Collins)
1885
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1886
file. (Aaron Bentley, #251532)
1888
* Registry objects should not use iteritems() when asked to use items().
1889
(Vincent Ladeuil, #430510)
1891
* Weave based repositories couldn't be cloned when committers were using
1892
domains or user ids embedding '.sig'. Now they can.
1893
(Matthew Fuller, Vincent Ladeuil, #430868)
1898
* Revision specifiers can now be given in a more DWIM form, without
1899
needing explicit prefixes for specifiers like tags or revision id's.
1900
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
1902
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
1903
compiled extensions can't be loaded. This typically indicates a
1904
packaging or installation problem. In this case Bazaar will keep
1905
running using pure-Python versions, but this may be substantially
1906
slower. The warning can be disabled by setting
1907
``ignore_missing_extensions = True`` in ``bazaar.conf``.
1908
See also <https://answers.launchpad.net/bzr/+faq/703>.
1909
(Martin Pool, #406113, #430529)
1911
* Secondary errors that occur during Branch.unlock and Repository.unlock
1912
no longer obscure the original error. These methods now use a new
1913
decorator, ``only_raises``. This fixes many causes of
1914
``TooManyConcurrentRequests`` and similar errors.
1915
(Andrew Bennetts, #429747)
1920
* Describe the new shell-like test feature. (Vincent Ladeuil)
1922
* Help on hooks no longer says 'Not deprecated' for hooks that are
1923
currently supported. (Ian Clatworthy, #422415)
1928
* ``bzrlib.user_encoding`` has been removed; use
1929
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
1931
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
1932
subclasses - the same as python's unittest module. (Robert Collins)
1934
* ``diff._get_trees_to_diff`` has been renamed to
1935
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
1936
returns the old and new branches. (Gary van der Merwe)
1938
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
1941
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
1942
now defaults to comparing to the basis tree. It now checks for pending
1943
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
1944
corresponding has_changes() calls. ``Merge.compare_basis``,
1945
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
1947
(Vincent Ladeuil, #440631)
1949
* ``ProgressTask.note`` is deprecated.
1955
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
1956
repository or branch object is unlocked then relocked the same way.
1959
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
1960
mallocs while parsing the index (approx 3=>1 mallocs per key read).
1961
This results in a 10% speedup while reading an index.
1962
(John Arbash Meinel)
1964
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
1965
profiling in some situations like callbacks and generators easier.
1971
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
1972
be output for every test. Note that this is very verbose! (Robert Collins)
1974
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
1975
post_mortem to be triggered when a test failure occurs. (Robert Collins)
1977
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
1978
documentation in ``developers/testing.txt`` for details.
1981
* Some tests could end up with the same id, that was dormant for
1983
(Vincent Ladeuil, #442980)
1985
* Stop showing the number of tests due to missing features in the test
1986
progress bar. (Martin Pool)
1988
* Test parameterisation now does a shallow copy, not a deep copy of the test
1989
to be parameterised. This is not expected to break external use of test
1990
parameterisation, and is substantially faster. (Robert Collins)
1992
* Tests that try to open a bzr dir on an arbitrary transport will now
1993
fail unless they have explicitly permitted the transport via
1994
``self.permit_url``. The standard test factories such as ``self.get_url``
1995
will permit the urls they provide automatically, so only exceptional
1996
tests should need to do this. (Robert Collins)
1998
* The break-in test no longer cares about clean shutdown of the child,
1999
instead it is happy if the debugger starts up. (Robert Collins)
2001
* The full test suite is expected to pass when the C extensions are not
2002
present. (Vincent Ladeuil, #430749)
2008
:Codename: Stability First
2011
The first of our new ongoing bugfix-only stable releases has arrived. It
2012
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
2013
include any of the feature development in the 2.1.0 series.
2019
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
2020
filename will issue a warning and skip over those files.
2021
(Robert Collins, #3918)
2023
* bzr will attempt to authenticate with SSH servers that support
2024
``keyboard-interactive`` auth but not ``password`` auth when using
2025
Paramiko. (Andrew Bennetts, #433846)
2027
* Fixed fetches from a stacked branch on a smart server that were failing
2028
with some combinations of remote and local formats. This was causing
2029
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
2031
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
2032
on branches via a smart server. (Andrew Bennetts, #389413)
2034
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
2035
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
2036
assumed that ``abspath()`` returned a path that did not have a trailing
2037
``/``, but that is not true when working at the root of the filesystem.
2038
(John Arbash Meinel, Jason Spashett, #322807)
2040
* Hide deprecation warnings for 'final' releases for python2.6.
2041
(John Arbash Meinel, #440062)
2043
* Improve the time for ``bzr log DIR`` for 2a format repositories.
2044
We had been using the same code path as for <2a formats, which required
2045
iterating over all objects in all revisions.
2046
(John Arbash Meinel, #374730)
2048
* Make sure that we unlock the tree if we fail to create a TreeTransform
2049
object when doing a merge, and there is limbo, or pending-deletions
2050
directory. (Gary van der Merwe, #427773)
2052
* Occasional IndexError on renamed files have been fixed. Operations that
2053
set a full inventory in the working tree will now go via the
2054
apply_inventory_delta code path which is simpler and easier to
2055
understand than dirstates set_state_from_inventory method. This may
2056
have a small performance impact on operations built on _write_inventory,
2057
but such operations are already doing full tree scans, so no radical
2058
performance change should be observed. (Robert Collins, #403322)
2060
* Retrieving file text or mtime from a _PreviewTree has good performance when
2061
there are many changes. (Aaron Bentley)
2063
* The CHK index pages now use an unlimited cache size. With a limited
2064
cache and a large project, the random access of chk pages could cause us
2065
to download the entire cix file many times.
2066
(John Arbash Meinel, #402623)
2068
* When a file kind becomes unversionable after being added, a sensible
2069
error will be shown instead of a traceback. (Robert Collins, #438569)
2074
* Improved README. (Ian Clatworthy)
2076
* Improved upgrade documentation for Launchpad branches.
2084
:Codename: Instant Karma
2086
This release of Bazaar makes the 2a (previously 'brisbane-core') format
2087
the default when new branches or repositories are created. This format is
2088
substantially smaller and faster for many operations. Most of the work in
2089
this release focuses on bug fixes and stabilization, covering both 2a and
2090
previous formats. (See the Upgrade Guide for information on migrating
2093
This release also improves the documentation content and presentation,
2094
including adding Windows HtmlHelp manuals.
2096
The Bazaar team decided that 2.0 will be a long-term supported release,
2097
with bugfix-only 2.0.x releases based on it, continuing for at least six
2098
months or until the following stable release.
2100
Changes from 2.0.0rc2 to final
2101
******************************
2103
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
2104
that "want to happen on the 2.0.x stable series" versus things that want
2105
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
2106
micro = 0.) (John Arbash Meinel)
2112
:2.0.0rc2: 2009-09-10
2117
* Added post_commit hook for mutable trees. This allows the keywords
2118
plugin to expand keywords on files changed by the commit.
2119
(Ian Clatworthy, #408841)
2124
* Bazaar's native protocol code now correctly handles EINTR, which most
2125
noticeably occurs if you break in to the debugger while connected to a
2126
bzr+ssh server. You can now can continue from the debugger (by typing
2127
'c') and the process continues. However, note that pressing C-\ in the
2128
shell may still kill the SSH process, which is bug 162509, so you must
2129
sent a signal to the bzr process specifically, for example by typing
2130
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
2132
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
2133
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
2134
(Robert Collins, #416732)
2136
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
2137
format" (John Arbash Meinel, #424392)
2139
* ``bzr log stacked-branch`` shows the full log including
2140
revisions that are in the fallback repository. (Regressed in 2.0rc1).
2141
(John Arbash Meinel, #419241)
2143
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
2144
traceback. (Martin Pool, #109115)
2146
* Conversion to 2a will create a single pack for all the new revisions (as
2147
long as it ran without interruption). This improves both ``bzr upgrade``
2148
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
2149
The autopack logic that occurs every 100 revisions during local
2150
conversions was not returning that pack's identifier, which resulted in
2151
the partial packs created during the conversion not being consolidated
2152
at the end of the conversion process. (Robert Collins, #423818)
2154
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
2155
Groups that are seen as 'underutilized' will be repacked on-the-fly.
2156
This means that when the source is fully packed, there is minimal
2157
overhead during the fetch, but if the source is poorly packed the result
2158
is a fairly well packed repository (not as good as 'bzr pack' but
2159
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
2161
* Fix a potential segmentation fault when doing 'log' of a branch that had
2162
ghosts in its mainline. (Evaluating None as a tuple is bad.)
2163
(John Arbash Meinel, #419241)
2165
* ``groupcompress`` sort order is now more stable, rather than relying on
2166
``topo_sort`` ordering. The implementation is now
2167
``KnownGraph.gc_sort``. (John Arbash Meinel)
2169
* Local data conversion will generate correct deltas. This is a critical
2170
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
2171
converting repositories. (Robert Collins, #422849)
2173
* Network streams now decode adjacent records of the same type into a
2174
single stream, reducing layering churn. (Robert Collins)
2176
* Prevent some kinds of incomplete data from being committed to a 2a
2177
repository, such as revisions without inventories, a missing chk_bytes
2178
record for an inventory, or a missing text referenced by an inventory.
2179
(Andrew Bennetts, #423506, #406687)
2184
* Fix assertion error about "_remember_remote_is_before" when pushing to
2185
older smart servers.
2186
(Andrew Bennetts, #418931)
2188
* Help on hooks no longer says 'Not deprecated' for hooks that are
2189
currently supported. (Ian Clatworthy, #422415)
2191
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
2192
user documentation. The HTML documentation is better broken up into
2193
topics. (Ian Clatworthy)
2195
* The developer and foreign language documents are now separated
2196
out so that searching in the HTML and CHM files produces more
2197
useful results. (Ian Clatworthy)
2199
* The main table of contents now provides links to the new Migration Docs
2200
and Plugins Guide. (Ian Clatworthy)
2206
:Codename: no worries
2207
:2.0.0rc1: 2009-08-26
2209
Compatibility Breaks
2210
********************
2212
* The default format for bzr is now ``2a``. This format brings many
2213
significant performance and size improvements. bzr can pull from
2214
any existing repository into a ``2a`` one, but can only transfer
2215
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
2216
has more information about this change. (Robert Collins)
2218
* On Windows auto-detection of Putty's plink.exe is disabled.
2219
Default SSH client for Windows is paramiko. User still can force
2220
usage of plink if explicitly set environment variable BZR_SSH=plink.
2221
(#414743, Alexander Belchenko)
2226
* ``bzr branch --switch`` can now switch the checkout in the current directory
2227
to the newly created branch. (Lukáš Lalinský)
2232
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2233
(Jason Spashett, #76616)
2235
* Fetches were being requested in 'groupcompress' order, but weren't
2236
recombining the groups. Thus they would 'fragment' to get the correct
2237
order, but not 'recombine' to actually benefit from it. Until we get
2238
recombining to work, switching to 'unordered' fetches avoids the
2239
fragmentation. (John Arbash Meinel, #402645)
2241
* Fix a pycurl related test failure on karmic by recognizing an error
2242
raised by newer versions of pycurl.
2243
(Vincent Ladeuil, #306264)
2245
* Fix a test failure on karmic by making a locale test more robust.
2246
(Vincent Ladeuil, #413514)
2248
* Fix IndexError printing CannotBindAddress errors.
2249
(Martin Pool, #286871)
2251
* Fix "Revision ... not present" errors when upgrading stacked branches,
2252
or when doing fetches from a stacked source to a stacked target.
2253
(Andrew Bennetts, #399140)
2255
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
2256
batches together small fetches from 2a repositories, rather than
2257
fetching only a few hundred bytes at a time.
2258
(Andrew Bennetts, #402657)
2263
* A better description of the platform is shown in crash tracebacks, ``bzr
2264
--version`` and ``bzr selftest``.
2265
(Martin Pool, #409137)
2267
* bzr can now (again) capture crash data through the apport library,
2268
so that a single human-readable file can be attached to bug reports.
2269
This can be disabled by using ``-Dno_apport`` on the command line, or by
2270
putting ``no_apport`` into the ``debug_flags`` section of
2272
(Martin Pool, Robert Collins, #389328)
2274
* ``bzr push`` locally on windows will no longer give a locking error with
2275
dirstate based formats. (Robert Collins)
2277
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
2278
(Robert Collins, #305006)
2280
* Commit of specific files no longer prevents using the iter_changes
2281
codepath. On 2a repositories, commit of specific files should now be as
2282
fast, or slightly faster, than a full commit. (Robert Collins)
2284
* The internal core code that handles specific file operations like
2285
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
2286
include the parent directories if they have altered, and when a
2287
directory stops being a directory its children are always included. This
2288
fixes a number of causes for ``InconsistentDelta`` errors, and permits
2289
faster commit of specific paths. (Robert Collins, #347649)
2294
* New developer documentation for content filtering.
2300
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2301
classes changed to manage lock lifetime of the trees they open in a way
2302
consistent with reader-exclusive locks. (Robert Collins, #305006)
2310
:Codename: nein nein nein!
2313
This release fixes two small but worthwhile bugs relevant to users on
2314
Microsoft Windows: some commands that failed on with locking errors will
2315
now work, and a bug that caused poor performance after committing a file
2316
with line-ending conversion has now been fixed. It also fixes a bug in
2317
pushing to older servers.
2322
* Fixed a problem where using content filtering and especially end-of-line
2323
conversion will commit too many copies a file.
2324
(Martin Pool, #415508)
2326
* Fix assertion error about ``_remember_remote_is_before`` in
2327
``set_tags_bytes`` when pushing to older smart servers.
2328
(Andrew Bennetts, Alexander Belchenko, #418931)
2333
* ``bzr push`` locally on Windows will no longer give a locking error with
2334
dirstate based formats. (Robert Collins)
2336
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
2337
(Robert Collins, #305006)
2342
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2343
classes changed to manage lock lifetime of the trees they open in a way
2344
consistent with reader-exclusive locks. (Robert Collins, #305006)
2346
* ``Tree.path_content_summary`` may return a size of None, when called on
2347
a tree with content filtering where the size of the canonical form
2348
cannot be cheaply determined. (Martin Pool)
2350
* When manually creating transport servers in test cases, a new helper
2351
``TestCase.start_server`` that registers a cleanup and starts the server
2352
should be used. (Robert Collins)
2357
Compatibility Breaks
2358
********************
2360
* Committing directly to a stacked branch from a lightweight checkout will
2361
no longer work. In previous versions this would appear to work but would
2362
generate repositories with insufficient data to create deltas, leading
2363
to later errors when branching or reading from the repository.
2364
(Robert Collins, bug #375013)
2372
* Fetching from 2a branches from a version-2 bzr protocol would fail to
2373
copy the internal inventory pages from the CHK store. This cannot happen
2374
in normal use as all 2a compatible clients and servers support the
2375
version-3 protocol, but it does cause test suite failures when testing
2376
downlevel protocol behaviour. (Robert Collins)
2378
* Fix a test failure on karmic by making a locale test more robust.
2379
(Vincent Ladeuil, #413514)
2381
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
2382
fully packed 2a repository. (Andrew Bennetts, #382463)
2384
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2385
(Jason Spashett, #76616)
2387
* Properly handle fetching into a stacked branch while converting the
2388
data, especially when there are also ghosts. The code was filling in
2389
parent inventories incorrectly, and also not handling when one of the
2390
parents was a ghost. (John Arbash Meinel, #402778, #412198)
2392
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
2393
inventory pages when appropriate (by falling back to the vfs stream
2394
source). (Andrew Bennetts, #406686)
2396
* StreamSource generates rich roots from non-rich root sources correctly
2397
now. (Andrew Bennetts, #368921)
2399
* When deciding whether a repository was compatible for upgrading or
2400
fetching, we previously incorrectly checked the default repository
2401
format for the bzrdir format, rather than the format that was actually
2402
present on disk. (Martin Pool, #408824)
2407
* A better description of the platform is shown in crash tracebacks, ``bzr
2408
--version`` and ``bzr selftest``.
2409
(Martin Pool, #409137)
2411
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
2412
smart server are more efficient now. They send inventory deltas rather
2413
than full inventories. The smart server has two new requests,
2414
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
2415
support this. (Andrew Bennetts, #374738, #385826)
2417
* Extracting the full ancestry and computing the ``merge_sort`` is now
2418
significantly faster. This effects things like ``bzr log -n0``. (For
2419
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
2420
(John Arbash Meinel)
2431
* ``-Dstrict_locks`` can now be used to check that read and write locks
2432
are treated properly w.r.t. exclusivity. (We don't try to take an OS
2433
read lock on a file that we already have an OS write lock on.) This is
2434
now set by default for all tests, if you have a test which cannot be
2435
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
2436
compatibility knob. (John Arbash Meinel)
2438
* InterDifferingSerializer is now only used locally. Other fetches that
2439
would have used InterDifferingSerializer now use the more network
2440
friendly StreamSource, which now automatically does the same
2441
transformations as InterDifferingSerializer. (Andrew Bennetts)
2443
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
2444
are implemented in pyrex and significantly faster. This is exposed along
2445
with ``CombinedGraphIndex.find_ancestry()`` as
2446
``VersionedFiles.get_known_graph_ancestry(keys)``.
2447
(John Arbash Meinel)
2449
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
2450
protocols. (Robert Collins)
2452
* The index code now has some specialized routines to extract the full
2453
ancestry of a key in a more efficient manner.
2454
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
2455
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
2461
* Install the test ssl certificate and key so that installed bzr
2462
can run the https tests. (Denys Duchier, #392401)
2468
:Codename: little traveller
2470
:1.18rc1: 2009-08-10
2472
This release of Bazaar marches on towards the 2.0 release in which the 2a
2473
'brisbane-core' format becomes generally recommended. Most of the work in
2474
this release now focusses on bug fixes and stabilization, covering both 2a
2475
and previous formats. There is a new text-mode interactive merge feature,
2476
a new guide to migration to 2a format in the user documentation, and
2477
pushing branches to a smart server is now much faster.
2479
The Bazaar team decided that 2.0 will be a long-term supported release,
2480
with bugfix-only releases based on it continuing for at least six months
2481
or until the following stable release.
2483
There are no changes from 1.18rc1 to 1.18.
2488
* ``bzr merge --interactive`` applies a user-selected portion of the
2489
merge. The UI is similar to ``shelve``. (Aaron Bentley)
2491
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
2492
``--unstacked`` to change stacking of a branch.
2493
(Martin Pool, #391411)
2498
* Annotating on a stacked branch will now succeed in simple scenarios.
2499
There are still some complex scenarios where it will fail (bug #399884)
2500
(John Arbash Meinel, #393366)
2502
* A progress bar is no longer left dangling when ``bzr selftest``
2503
completes, and the progress bar updates with zero latency so the
2504
displayed test name is always the one that's actually running.
2505
(Martin Pool, #123688)
2507
* Authenticating against an ssh server now uses ``auth_none`` to determine
2508
if password authentication is even supported. This fixes a bug where
2509
users would be prompted for a launchpad password, even though launchpad
2510
only supports publickey authentication. (John Arbash Meinel, #375867)
2512
* BranchBuilder now accepts timezone to avoid test failures in countries far
2513
from GMT. (Vincent Ladeuil, #397716)
2515
* ``bzr commit`` no longer saves the unversioning of missing files until
2516
the commit has completed on the branch. This means that aborting a
2517
commit that found a missing file will leave the tree unedited.
2518
(Robert Collins, #282402)
2520
* ``bzr mv`` no longer takes out branch locks, which allows it to work
2521
when the branch is readonly. (Robert Collins, #216541)
2523
* ``bzr revert .`` no longer generates an InconsistentDelta error when
2524
there are missing subtrees. (Robert Collins, #367632)
2526
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
2527
do to internal changes necessary to support this, older clients will
2528
fail when trying to insert them. For newer clients, the bundle can be
2529
used to apply the changes to any rich-root compatible format.
2530
(John Arbash Meinel, #393349)
2532
* Cope with FTP servers that don't support restart/append by falling back
2533
to reading and then rewriting the whole file, such as TahoeLAFS. (This
2534
fallback may be slow for some access patterns.) (Nils Durner, #294709)
2536
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
2537
external diff client. This at least allows supporting filenames that are
2538
not ascii, but are present in the current locale. Ideally we would be
2539
able to pass the Unicode path, but that would be client dependent.
2540
(John Arbash Meinel, #382709)
2542
* Fix a compile bug on Solaris having to do with const and
2543
pointer-to-pointers. (John Arbash Meinel, #408441)
2545
* Fixed a NameError that occurs when merging or pulling from a URL that
2546
causes a redirection loop when bzr tries to read a URL as a bundle.
2547
(Andrew Bennetts, #400847)
2549
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
2550
running send and similar commands on 2a formats.
2551
(Martin Pool, #408201)
2553
* Fix crash in some invocations of ``bzr status`` in format 2a.
2554
(Martin Pool, #403523)
2556
* Fixed export to existing directory: if directory is empty then export
2557
will succeed, otherwise it fails with error.
2558
(Alexander Belchenko, #406174)
2560
* Fixed spurious "Source branch does not support stacking" warning when
2561
pushing. (Andrew Bennetts, #388908)
2563
* Fixed spurious transport activity indicator appearing while tests are
2564
running. (Martin Pool, #343532)
2566
* Merge now correctly handles empty right-hand revision specs.
2567
(Aaron Bentley, #333961)
2569
* Renames to lexographically lower basenames in trees that have never been
2570
committed to will no longer corrupt the dirstate. This was caused by an
2571
bug in the dirstate update_minimal method. (Robert Collins, #395556)
2573
* Requests for unknown methods no longer cause the smart server to log
2574
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
2575
``do_end``. (Andrew Bennetts, #338561)
2577
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
2579
* Streaming from bzr servers where there is a chain of stacked branches
2580
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
2582
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
2583
always forces progress bars either on or off respectively. Otherwise,
2584
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
2585
bzr always uses the 'text' user interface when run as a command, so
2586
``BZR_USE_TEXT_UI`` is no longer needed.
2587
(Martin Pool, #339385, #387717)
2589
* The optional ``_knit_load_data_pyx`` C extension was never being
2590
imported. This caused significant slowdowns when reading data from
2591
repositories. (Andrew Bennetts, #405653)
2593
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
2594
supported at the moment on workingtree formats that can do content
2595
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
2596
bzr now says so, rather than just ignoring the option. (Martin Pool)
2598
* There was a bug in ``osutils.relpath`` that was only triggered on
2599
Windows. Essentially if you were at the root of a drive, and did
2600
something to a branch/repo on another drive, we would go into an
2601
infinite loop while trying to find a 'relative path'.
2602
(John Arbash Meinel, #394227)
2604
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
2605
were present in a parent tree but renamed in the working tree.
2606
(Robert Collins, #187207)
2611
* Can now rename/move files even if they have been removed from the inventory.
2614
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
2615
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
2616
than VFS methods. For example, pushes of small branches with tags take
2617
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
2619
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
2620
the same way that sending Ctrl-\\ does on other platforms.
2621
(John Arbash Meinel)
2626
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
2631
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
2632
need to subclass or create a specific class, or better yet the existing
2633
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
2634
user interaction at all, rather than trying to read from stdin but not
2635
writing any output, which would be strange if reading prompts or
2636
passwords. (Martin Pool)
2638
* New TransformPreview.commit() allows committing without a working tree.
2641
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
2644
* ProgressTasks now prefer to talk direct to their ProgressView not to the
2648
* ``WorkingTree._check`` now requires a references dict with keys matching
2649
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
2654
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
2655
reading the entries along the path, reducing work to lookup ids from
2656
paths. (Robert Collins)
2658
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
2659
as new a key which was already mapped. (Robert Collins)
2661
* Inventory delta application catches more cases of corruption and can
2662
prevent corrupt deltas from affecting consistency of data structures on
2663
disk. (Robert Collins)
2665
* --subunit support now adds timestamps if the subunit version supports
2666
it. (Robert Collins)
2668
* The Windows all-in-one installer now bundles the PyQt image format
2669
plugins, which allows previewing more images as part of 'qdiff'.
2670
(Alexander Belchenko)
2676
* Merge directive cherrypick tests must use the same root id.
2677
(Martin Pool, #409684)
2679
* Spurious failure in ``check`` tests on rich-root formats fixed.
2680
(Martin Pool, #408199)
2682
* The ``bzrlib.tests.TextTestRunner`` will no longer call
2683
``countTestsCases`` on the test being run. Progress information is
2684
instead handled by having the test passed in call ``result.progress``
2685
before running its contents. This improves the behaviour when using
2686
``TextTestRunner`` with test suites that don't support
2687
``countTestsCases``. (Robert Collins)
2690
bzr 1.17.1 (unreleased)
2691
#######################
2696
* The optional ``_knit_load_data_pyx`` C extension was never being
2697
imported. This caused significant slowdowns when reading data from
2698
knit format repositories. (Andrew Bennetts, #405653)
2703
:Codename: so-late-its-brunch
2704
:1.17rc1: 2009-07-13
2708
Bazaar continues to blaze a straight and shining path to the 2.0 release and
2709
the elevation of the ``2a`` beta format to the full glory of "supported and
2712
Highlights in this release include greatly reduced memory consumption during
2713
commits, faster ``ls``, faster ``annotate``, faster network operations if
2714
you're specifying a revision number and the final destruction of those
2715
annoying progress bar artifacts.
2718
Changes from 1.17rc1 to 1.17final
2719
*********************************
2721
* Change an extension to call the python ``frozenset()`` rather than the C
2722
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
2723
C api. (John Arbash Meinel, #399366)
2725
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
2726
``tools/generate_docs.py`` to allow everything to be built on Windows.
2727
(John Arbash Meinel, #399356)
2729
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
2730
directory before serving it. (Andrew Bennetts, #400535)
2733
Compatibility Breaks
2734
********************
2736
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
2737
instead of "product" which is the correct Launchpad terminology. The
2738
--product option is deprecated and users should switch to using --project.
2739
(Neil Martinsen-Burrell, #238764)
2745
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
2746
are present in the working tree (if one is present) and no revision is
2747
specified. The configuration option ``push_strict`` can be used to set the
2748
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
2750
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
2751
show revision info for the working tree instead of the branch.
2752
(Matthew Fuller, John Arbash Meinel)
2754
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
2755
are present in the working tree and no revision is specified. The
2756
configuration option ``send_strict`` can be used to set the default for this
2758
(Vincent Ladeuil, #206577)
2760
* ``bzr switch --create-branch/-b`` can now be used to create and switch
2761
to a new branch. Supplying a name without a ``/`` will create the branch
2762
relative to the existing branch. (similar to how ``bzr switch name``
2763
works when the branch already exists.) (John Arbash Meinel)
2769
* Accept uppercase "Y/N" to prompts such as from break lock.
2770
(#335182, Tim Powell, Martin Pool)
2772
* Add documentation about diverged branches and how to fix them in the
2773
centralized workflow with local commits. Mention ``bzr help
2774
diverged-branches`` when a push fails because the branches have
2775
diverged. (Neil Martinsen-Burrell, #269477)
2777
* Annotate would sometimes 'latch on' to trivial lines, causing important
2778
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
2780
* Automatic format upgrades triggered by default stacking policies on a
2781
1.16rc1 (or later) smart server work again.
2782
(Andrew Bennetts, #388675)
2784
* Avoid progress bar artifacts being left behind on the screen.
2785
(Martin Pool, #321935)
2787
* Better message in ``bzr split`` error suggesting a rich root format.
2788
(Neil Martinsen-Burrell, #220067)
2790
* ``Branch.set_append_revisions_only`` now works with branches on a smart
2791
server. (Andrew Bennetts, #365865)
2793
* By default, ``bzr branch`` will fail if the target directory exists, but
2794
does not already have a control directory. The flag ``--use-existing-dir``
2795
will allow operation to proceed. (Alexander Belchenko, #307554)
2797
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
2800
* Fetch between repositories does not error if they have inconsistent data
2801
that should be irrelevant to the fetch operation. (Aaron Bentley)
2803
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
2804
of a remote repository.
2805
(Jelmer Vernooij, #332194)
2807
* Fix bug in decoding v3 smart server messages when receiving multiple
2808
lots of excess bytes after an end-of-message.
2811
* Force deletion of readonly files during merge, update and other tree
2813
(Craig Hewetson, Martin Pool, #218206)
2815
* Force socket shutdown in threaded http test servers to avoid client hangs
2816
(pycurl). (Vincent Ladeuil, #383920).
2818
* ``LRUCache`` will maintain the linked list pointers even if a nodes
2819
cleanup function raises an exception. (John Arbash Meinel, #396838)
2821
* Progress bars are now suppressed again when the environment variable
2822
``BZR_PROGRESS_BAR`` is set to ``none``.
2823
(Martin Pool, #339385)
2825
* Reduced memory consumption during ``bzr commit`` of large files. For
2826
pre 2a formats, should be down to ~3x the size of a file.
2827
For ``--2a`` format repositories, it is down to the size of the file
2828
content plus the size of the compressed text. Related to bug #109114.
2829
(John Arbash Meinel)
2831
* Set hidden attribute on .bzr directory below unicode path should never
2832
fail with error. The operation should succeed even if bzr unable to set
2833
the attribute. (Alexander Belchenko, related to bug #335362).
2835
* Stacking will no longer accept requests to stack on the same
2836
branch/repository. Existing branches that incorrectly reference the same
2837
repository in a stacking configuration will now raise
2838
UnstackableLocationError when the branch is opened. This can be fixed by
2839
removing the stacking location inside ``.bzr/branch``.
2840
(Robert Collins, #376243)
2842
* The ``log+`` decorator, useful in debugging or profiling, could cause
2843
"AttributeError: 'list' object has no attribute 'next'". This is now
2844
fixed. The log decorator no longer shows the elapsed time or transfer
2845
rate because they're available in the log prefixes and the transport
2846
activity display respectively.
2847
(Martin Pool, #340347)
2849
* Unshelve works correctly when multiple zero-length files are present on
2850
the shelf. (Aaron Bentley, #363444)
2852
* Progress bars no longer show the network transport scheme or direction.
2855
* launchpad-login now respects the 'verbose' option.
2856
(Jonathan Lange, #217031)
2862
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
2863
possible to write a deprecation wrapper, but the variable will be
2864
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
2865
instead. (Alexander Belchenko)
2867
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
2868
three new hook points: ``get_command``, ``get_missing_command`` and
2869
``list_commands``, which allow just-in-time command name provision
2870
rather than requiring all command names be known a-priori.
2873
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
2874
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
2876
* ``graph.KnownGraph`` has been added. This is a class that can give
2877
answers to ``heads()`` very quickly. However, it has the assumption that
2878
the whole graph has already been loaded. This is true during
2879
``annotate`` so it is used there with good success (as much as 2x faster
2880
for files with long ancestry and 'cherrypicked' changes.)
2881
(John Arbash Meinel, Vincent Ladeuil)
2883
* OS file locks are now taken out using ``CreateFile`` rather than
2884
``LockFileEx`` on Windows. The locking remains exclusive with
2885
``LockFileEx`` but now it also works on older versions of Windows (such
2886
as Win98). (Martin <gzlist>)
2888
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
2889
than the ``Packer`` code. The user visible change is that we now
2890
properly fetch the minimum number of texts for non-smart fetching.
2891
(John Arbash Meinel)
2894
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
2895
the repository as a single string, rather than a list of lines. This can
2896
improve memory overhead and performance of committing large files.
2897
(Currently a private api, used only by commit). (John Arbash Meinel)
2903
* ``bzr annotate`` can now be significantly faster. The time for
2904
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
2905
histories and lots of 'duplicate insertions' will be improved more than
2906
others. (John Arbash Meinel, Vincent Ladeuil)
2908
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
2909
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
2910
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
2912
* Improve "Path(s) are not versioned" error reporting for some commands.
2915
* Initial commit performance in ``--2a`` repositories has been improved by
2916
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
2918
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
2919
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
2920
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
2922
* ``revision-info`` now properly aligns the revnos/revids in the output
2923
and doesn't traceback when given revisions not in the current branch.
2924
Performance is also significantly improved when requesting multiple revs
2925
at once. (Matthew Fuller, John Arbash Meinel)
2927
* Tildes are no longer escaped by Transports. (Andy Kilner)
2933
* Avoid bad text wrapping in generated documentation. Slightly better
2934
formatting in the user reference.
2935
(Martin Pool, #249908)
2937
* Minor clarifications to the help for End-Of-Line conversions.
2943
* Removed overspecific error class ``InvalidProgressBarType``.
2946
* The method ``ProgressView._show_transport_activity`` is now
2947
``show_transport_activity`` because it's part of the contract between
2948
this class and the UI. (Martin Pool)
2954
:Released: 2009-06-26
2956
End user testing of the 2a format revealed two serious bugs. The first,
2957
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
2958
This meant that commits or pushes to 2a-format repositories failed
2961
The second bug, #390563, caused the smart server to raise AbsentContentFactory
2962
when streaming 2a stacked 2a-format branches. This particularly affected
2963
branches stored on Launchpad in the 2a format.
2965
Both of these bugs cause command failures only, neither of them cause data
2966
corruption or data loss. And, of course, both of these bugs are now fixed.
2971
* We now properly request a more minimal set of file texts when fetching
2972
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
2974
* Repositories using CHK pages (which includes the new 2a format) will no
2975
longer error during commit or push operations when an autopack operation
2976
is triggered. (Robert Collins, #365615)
2978
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
2979
of referenced nodes rather than the *union* to determine what
2980
uninteresting pages we still need to look at. Prior to this,
2981
incrementally pushing to stacked branch would push the minimal data, but
2982
fetching everything would request extra texts. There are some unhandled
2983
cases wrt trees of different depths, but this fixes the common cases.
2984
(Robert Collins, John Arbash Meinel, #390563)
2986
* ``GroupCompress`` repositories now take advantage of the pack hints
2987
parameter to permit cross-format fetching to incrementally pack the
2988
converted data. (Robert Collins)
2990
* ``Repository.commit_write_group`` now returns opaque data about what
2991
was committed, for passing to the ``Repository.pack``. Repositories
2992
without atomic commits will still return None. (Robert Collins)
2994
* ``Repository.pack`` now takes an optional ``hint`` parameter
2995
which will support doing partial packs for repositories that can do
2996
that. (Robert Collins)
2998
* RepositoryFormat has a new attribute 'pack_compresses' which is True
2999
when doing a pack operation changes the compression of content in the
3000
repository. (Robert Collins)
3002
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
3003
``Repository.pack`` with the hint returned by
3004
``Repository.commit_write_group`` if the formats were different and the
3005
repository can increase compression by doing a pack operation.
3006
(Robert Collins, #376748)
3011
:Codename: yesterday-in-california
3012
:1.16rc1: 2009-06-11
3015
This version of Bazaar contains the beta release of the new ``2a`` repository
3016
format, suitable for testing by fearless, advanced users. This format or an
3017
updated version of it will become the default format in Bazaar 2.0. Please
3018
read the NEWS entry before even thinking about upgrading to the new format.
3020
Also included are speedups for many operations on huge projects, a bug fix for
3021
pushing stacked new stacked branches to smart servers and the usual bevy of
3022
bug fixes and improvements.
3025
Changes from 1.16rc1 to 1.16final
3026
*********************************
3028
* Fix the nested tree flag check so that upgrade from development formats to
3029
2a can work correctly.
3030
(Jelmer Vernooij, #388727)
3032
* Automatic format upgrades triggered by default stacking policies on a
3033
1.16rc1 (or later) smart server work again.
3034
(Andrew Bennetts, #388675)
3037
Compatibility Breaks
3038
********************
3040
* Display prompt on stderr (instead of stdout) when querying users so
3041
that the output of commands can be safely redirected.
3042
(Vincent Ladeuil, #376582)
3048
* A new repository format ``2a`` has been added. This is a beta release
3049
of the brisbane-core (aka group-compress) project. This format now
3050
suitable for wider testing by advanced users willing to deal with some
3051
bugs. We would appreciate test reports, either positive or negative.
3052
Format 2a is substantially smaller and faster for many operations on
3053
many trees. This format or an updated version will become the default
3056
This is a rich-root format, so this repository format can be used with
3057
bzr-svn. Bazaar branches in previous non-rich-root formats can be
3058
converted (including by merge, push and pull) to format 2a, but not vice
3059
versa. We recommend upgrading previous development formats to 2a.
3061
Upgrading to this format can take considerable time because it expands
3062
and more concisely repacks the full history.
3064
If you use stacked branches, you must upgrade the stacked branches
3065
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
3067
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
3068
but using a Revision serializer using bencode rather than XML.
3069
(Jelmer Vernooij, John Arbash Meinel)
3071
* mail_client=claws now supports --body (and message body hooks). Also uses
3072
configured from address. (Barry Warsaw)
3078
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
3079
bugs with stacking and non default formats.)
3080
(John Arbash Meinel, #373455)
3082
* ``--development6-rich-root`` delays generating a delta index for the
3083
first object inserted into a group. This has a beneficial impact on
3084
``bzr commit`` since each committed texts goes to its own group. For
3085
committing a 90MB file, it drops peak memory by about 200MB, and speeds
3086
up commit from 7s => 4s. (John Arbash Meinel)
3088
* Numerous operations are now faster for huge projects, i.e. those
3089
with a large number of files and/or a large number of revisions,
3090
particularly when the latest development format is used. These
3091
operations (and improvements on OpenOffice.org) include:
3093
* branch in a shared repository (2X faster)
3094
* branch --no-tree (100X faster)
3100
* Pyrex version of ``bencode`` support. This provides optimized support
3101
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
3102
``bzrlib.utils.bencode`` is now deprecated.
3103
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
3109
* Bazaar can now pass attachment files to the mutt email client.
3110
(Edwin Grubbs, #384158)
3112
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
3113
see which files can also be added. (Jason Spashett, #76616)
3115
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
3116
Also, the ``Branch.revision_history()`` API now works in the same
3117
situation. (Andrew Bennetts, #380314)
3119
* ``bzr serve`` on Windows no longer displays a traceback simply because a
3120
TCP client disconnected. (Andrew Bennetts)
3122
* Clarify the rules for locking and fallback repositories. Fix bugs in how
3123
``RemoteRepository`` was handling fallbacks along with the
3124
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
3126
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
3127
branch. Not often triggered, because it required ghosts to be part of
3128
the fetched revisions, not in the stacked-on ancestry.
3129
(John Arbash Meinel)
3131
* Fix status and commit to work with content filtered trees, addressing
3132
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
3134
* Fix problem of "directory not empty" when contending for a lock over
3135
sftp. (Martin Pool, #340352)
3137
* Fix rule handling so that eol is optional, not mandatory.
3138
(Ian Clatworthy, #379370)
3140
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
3141
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
3142
1.16, but required changes to the network protocol, so the
3143
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
3144
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
3145
still work with a 1.16 server as they will fallback to slower (and
3147
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
3149
* Reconcile can now deal with text revisions that originated in revisions
3150
that are ghosts. (Jelmer Vernooij, #336749)
3152
* Support cloning of branches with ghosts in the left hand side history.
3153
(Jelmer Vernooij, #248540)
3155
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
3156
helpful message to the trace file, unless the temp directory really was
3157
removed (which would be very strange). Since the diff operation has
3158
succeeded from the user's perspective, no output is written to stderr
3159
or stdout. (Maritza Mendez, #363837)
3161
* Translate errors received from a smart server in response to a
3162
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
3163
This was causing tracebacks even for mundane errors like
3164
``PermissionDenied``. (Andrew Bennetts, #381329)
3169
* Added directory structure and started translation of docs in Russian.
3170
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
3171
Volodymyr Kotulskyi)
3176
* Added osutils.parent_directories(). (Ian Clatworthy)
3178
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
3179
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
3180
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
3182
* ``graph.StackedParentsProvider`` is now a public API, replacing
3183
``graph._StackedParentsProvider``. The api is now considered stable and ready
3184
for external users. (Gary van der Merwe)
3186
* ``bzrlib.user_encoding`` is deprecated in favor of
3187
``get_user_encoding``. (Alexander Belchenko)
3189
* TreeTransformBase no longer assumes that limbo is provided via disk.
3190
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
3195
* Remove ``weave.py`` script for accessing internals of old weave-format
3196
repositories. (Martin Pool)
3201
* ``make check`` no longer repeats the test run in ``LANG=C``.
3202
(Martin Pool, #386180)
3204
* The number of cores is now correctly detected on OSX. (John Szakmeister)
3206
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
3208
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
3213
:1.15rc1: 2009-05-16
3217
The smart server will no longer raise 'NoSuchRevision' when streaming content
3218
with a size mismatch in a reconstructed graph search. New command ``bzr
3219
dpush``. Plugins can now define their own annotation tie-breaker when two
3220
revisions introduce the exact same line.
3222
Changes from 1.15.1 to 1.15.2
3223
*****************************
3225
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
3226
(Alexander Belchenko)
3228
Changes from 1.15final to 1.15.1
3229
*********************************
3231
* Translate errors received from a smart server in response to a
3232
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
3233
This was causing tracebacks even for mundane errors like
3234
``PermissionDenied``. (Andrew Bennetts, #381329)
3236
Changes from 1.15rc1 to 1.15final
3237
*********************************
3241
Compatibility Breaks
3242
********************
3244
* ``bzr ls`` is no longer recursive by default. To recurse, use the
3245
new ``-R`` option. The old ``--non-recursive`` option has been removed.
3246
If you alias ``ls`` to ``ls -R``, you can disable recursion using
3247
``--no-recursive`` instead. (Ian Clatworthy)
3252
* New command ``bzr dpush`` that can push changes to foreign
3253
branches (svn, git) without setting custom bzr-specific metadata.
3256
* The new development format ``--development6-rich-root`` now supports
3257
stacking. We chose not to use a new format marker, since old clients
3258
will just fail to open stacked branches, the same as if we used a new
3259
format flag. (John Arbash Meinel, #373455)
3261
* Plugins can now define their own annotation tie-breaker when two revisions
3262
introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
3263
Be aware though that this is temporary, private (as indicated by the leading
3264
'_') and a first step to address the problem. (Vincent Ladeuil, #348459)
3266
* New command ``bzr dpush`` that can push changes to foreign
3267
branches (svn, git) without setting custom bzr-specific metadata.
3270
* ``bzr send`` will now check the ``child_submit_format`` setting in
3271
the submit branch to determine what format to use, if none was
3272
specified on the command-line. (Jelmer Vernooij)
3277
* -Dhpss output now includes the number of VFS calls made to the remote
3278
server. (Jonathan Lange)
3280
* ``--coverage`` works for code running in threads too.
3281
(Andrew Bennets, Vincent Ladeuil)
3283
* ``bzr pull`` now has a ``--local`` option to only make changes to the
3284
local branch, and not the bound master branch.
3285
(Gary van der Merwe, #194716)
3287
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
3292
* Adding now works properly when path contains a symbolic link.
3293
(Geoff Bache, #183831)
3295
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
3297
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
3298
line, and the other side modifies the line. (John Arbash Meinel, #328171)
3300
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
3301
(Martin von Gagern, #248932)
3303
* ``bzr send`` works to send emails again using MAPI.
3304
(Neil Martinsen-Burrell, #346998)
3306
* Check for missing parent inventories in StreamSink. This prevents
3307
incomplete stacked branches being created by 1.13 bzr:// and
3308
bzr+ssh:// clients (which have bug #354036). Instead, the server now
3309
causes those clients to send the missing records. (Andrew Bennetts)
3311
* Correctly handle http servers proposing multiple authentication schemes.
3312
(Vincent Ladeuil, #366107)
3314
* End-Of-Line content filters are now loaded correctly.
3315
(Ian Clatworthy, Brian de Alwis, #355280)
3317
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3318
longer than 64KiB. (John Arbash Meinel, #364900)
3320
* Fix TypeError in running ``bzr break-lock`` on some URLs.
3321
(Alexander Belchenko, Martin Pool, #365891)
3323
* Non-recursive ``bzr ls`` now works properly when a path is specified.
3324
(Jelmer Vernooij, #357863)
3326
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
3327
(Vincent Ladeuil, #367726)
3329
* Several bugs related to unicode symlinks have been fixed and the test suite
3330
enhanced to better catch regressions for them. (Vincent Ladeuil)
3332
* The smart server will no longer raise 'NoSuchRevision' when streaming
3333
content with a size mismatch in a reconstructed graph search: it assumes
3334
that the client will make sure it is happy with what it got, and this
3335
sort of mismatch is normal for stacked environments.
3336
bzr 1.13.0/1 will stream from unstacked branches only - in that case not
3337
getting all the content expected would be a bug. However the graph
3338
search is how we figured out what we wanted, so a mismatch is both odd
3339
and unrecoverable without starting over, and starting over will end up
3340
with the same data as if we just permitted the mismatch. If data is
3341
gc'd, doing a new search will find only the truncated data, so sending
3342
only the truncated data seems reasonable. bzr versions newer than this
3343
will stream from stacked branches and check the stream to find missing
3344
content in the stacked-on branch, and thus will handle the situation
3345
implicitly. (Robert Collins, #360791)
3347
* Upgrading to, or fetching into a 'rich-root' format will now correctly
3348
set the root data the same way that reconcile does.
3349
(Robert Collins, #368921)
3351
* Using unicode Windows API to obtain command-line arguments.
3352
(Alexander Belchenko, #375934)
3360
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
3361
instead of ``InstallFailed`` when they detect a missing revision.
3362
``InstallFailed`` itself has been deleted. (Jonathan Lange)
3364
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
3365
arguments from ``osutils.get_unicode_argv()`` which has proper support
3366
for unicode arguments on windows. Further, the supplied arguments are now
3367
required to be unicode strings, rather than user_encoded strings.
3368
(Alexander Belchenko)
3373
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
3374
class and will call ``_set_parent_location`` after doing unicode
3375
encoding. (Robert Collins)
3377
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
3378
``Branch.set_parent_location`` removing further VFS operations.
3381
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
3382
or similar when the dir supports configuration settings. The base class
3383
defaults to None. There is a matching new server verb
3384
``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
3385
configuration. (Robert Collins)
3387
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
3388
called before the first test is started, ``done`` called after the last
3389
test completes, and a new parameter ``strict``. (Robert Collins)
3391
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
3392
VFS operations are started on a smart server repository. This should not
3393
occur on regular push and pull operations, and is a key indicator for
3394
performance regressions. (Robert Collins)
3396
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
3397
cause mismatched physical locks to cause test errors rather than just
3398
reporting to the screen. (Robert Collins)
3400
* -Dprogress will cause pdb to start up if a progress view jumps
3401
backwards. (Robert Collins)
3403
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
3404
are now be able to provide credentials if obtaining credentials
3405
via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij,
3406
Vincent Ladeuil, #321918)
3408
* New hook ``Lock.lock_broken`` which runs when a lock is
3409
broken. This is mainly for testing that lock/unlock are
3410
balanced in tests. (Vincent Ladeuil)
3412
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
3413
alter a body for the message produced by ``bzr send``.
3415
* New smart server verb ``BzrDir.initialize_ex`` which implements a
3416
refactoring to the core of clone allowing less round trips on new
3417
branches. (Robert Collins)
3419
* New method ``Tags.rename_revisions`` that can rename revision ids tags
3420
are pointing at. (Jelmer Vernooij)
3422
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
3427
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
3428
tests. Using ``-Dlock`` will turn the related failures into warnings.
3429
(Vincent Ladeuil, Robert Collins)
3433
:Codename: brisbane-core
3434
:1.14rc1: 2009-04-06
3435
:1.14rc2: 2009-04-19
3439
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
3440
keyword templating (via the bzr-keywords plugin) and generic content filtering.
3441
End-of-line conversion is now supported for formats supporting content
3444
Changes from 1.14final to 1.14.1
3445
********************************
3447
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
3449
Changes from 1.14rc2 to 1.14final
3450
*********************************
3452
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3453
longer than 64KiB. (John Arbash Meinel, #364900)
3455
Changes from 1.14rc1 to 1.14rc2
3456
*******************************
3458
* Fix for bug 358037 Revision not in
3459
bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis,
3462
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3463
attribute 'get_bytes_as' exception while pulling from Launchpad
3464
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3466
* Fix for bug 355280 eol content filters are never loaded and thus never
3467
applied (Brian de Alwis, Ian Clatworthy)
3469
* bzr.dev -r4280 Change _fetch_uses_deltas = False for CHK repos until we can
3470
write a better fix. (John Arbash Meinel, Robert Collins)
3472
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
3473
(Marius Kruger, Ian Clatworthy)
3475
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14
3476
(Andrew Bennetts, Robert Collins)
3478
Compatibility Breaks
3479
********************
3481
* A previously disabled code path to accelerate getting configuration
3482
settings from a smart server has been reinstated. We think this *may*
3483
cause a incompatibility with servers older than bzr 0.15. We intend
3484
to issue a point release to address this if it turns out to be a
3485
problem. (Robert Collins, Andrew Bennetts)
3487
15
* bzr no longer autodetects nested trees as 'tree-references'. They
3488
16
must now be explicitly added tree references. At the commandline, use
3489
17
join --reference instead of add. (Aaron Bentley)
3491
* The ``--long`` log format (the default) no longer shows merged
3492
revisions implicitly, making it consistent with the ``short`` and
3493
``line`` log formats. To see merged revisions for just a given
3494
revision, use ``bzr log -n0 -rX``. To see every merged revision,
3495
use ``bzr log -n0``. (Ian Clatworthy)
3500
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
3501
(EOL) conversions, keyword templating (via the bzr-keywords plugin)
3502
and generic content filtering. These formats replace the experimental
3503
``development-wt5`` and ``development-wt5-rich-root`` formats
3504
respectively, but have support for filtered views disabled.
3507
* New ``mv --auto`` option recognizes renames after they occur.
22
* New ``guess-renames`` command recognizes renames after they occur.
3510
* ``bzr`` can now get passwords from stdin without requiring a controlling
3511
terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
3513
25
* ``bzr log`` now supports filtering of multiple files and directories
3514
26
and will show changes that touch any of them. Furthermore,
3515
27
directory filtering now shows the changes to any children of that