5
6
.. contents:: List of Releases
11
:Codename: Monkey Magic
12
:2.2b4: NOT RELEASED YET
23
* Final fix for 'no help for command' issue. We now show a clean message
24
when a command has no help, document how to set help more clearly, and
25
test that all commands available to the test suite have help.
26
(Robert Collins, #177500)
28
* Explicitly removing ``--profile-imports`` option from parsed command-line
29
arguments on Windows, because bzr script does the same.
30
(Alexander Belchenko, #588277)
35
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
36
do not cause modules to be loaded unnecessarily just because the plugin
37
registers a merge hook. This improves ``bzr rocks`` time by about 25%
38
in a default installation (with just the core plugins).
44
* Added ``regression`` tag to our tags list. (Robert Collins)
46
* Improved our release checklist to have a bit less churn and leave things
47
ready-to-go for the next action (including other people doing
48
development). (Robert Collins)
53
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
54
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
55
``bzrlib.patiencediff`` instead.
70
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
71
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
72
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
73
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
74
bash completion script and bzr will no longer guess at identity details -
75
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
76
For developers we have some API changes which may impact plugins as well
77
as a bunch of our regular improvements to internal clarity and test
83
* An API break has been made to the lock_write method of ``Branch`` and
84
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
85
and ``repository.RepositoryWriteLockResult`` objects. This makes
86
changing the API in future easier and permits some cleaner calling code.
87
The lock_read method has also changed from having no defined return
88
value to returning ``LogicalLockResult`` objects.
91
* ``bzr`` does not try to guess the username as ``username@hostname``
92
and requires it to be explictly set. This can be set using ``bzr
94
(Parth Malwankar, #549310)
96
* ``bzrlib.commands.Command`` will now raise ValueError during
97
construction if there is no __doc__ set. (Note, this will be reverted in
98
2.2b4) (Robert Collins)
100
* The source tree no longer contains a contrib/zsh/_bzr completion
101
script. The new file contrib/zsh/README suggests alternatives.
102
(Martin von Gagern, #560030)
107
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
109
(Parth Malwankar, #571467)
111
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
112
the default ignore rules used by bzr. The flag ``--old-default-rules``
113
is no longer supported by ``ignore``.
114
(Parth Malwankar, #538703)
116
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
117
can save disk space by deleting obsolete pack files created during the
119
(Parth Malwankar, #304320)
121
* New command line option ``--authors`` to ``bzr log`` allows users to
122
select which of the apparent authors and committer should be
123
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
125
* Support ``--directory`` option for a number of additional commands:
126
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
127
export, ignore, ignored, lookup-revision, ls, modified, nick,
128
re-sign, unbind, unknowns.
129
(Martin von Gagern, #527878)
131
* The bash_completion plugin from the bzr-bash-completion project has
132
been merged into the tree. It provides a bash-completion command and
133
replaces the outdated ``contrib/bash/bzr`` script with a version
134
using the plugin. (Martin von Gagern, #560030)
136
* A new transport based on GIO (the gnome i/o library) provides access to
137
samba shares, webdav using gio+smb and gio+dav. It is also possible to
138
use gio for some already existing transport methods as gio+file,
145
* Alias information shown by ``bzr help`` is now accurate. This
146
was showing an internal object name for some plugin aliases.
147
(Parth Malwankar, #584650)
149
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
150
group ownership from the containing directory. This allow bzr to work
152
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
154
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
155
support of bzr-externals and scmproj plugins.
156
(Alexander Belchenko, bug #572098)
158
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
159
(Gordon Tyler, #572092)
161
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
162
are part of Y ancestry but not part of X ancestry (aka the graph
164
(Vincent Ladeuil, #320119)
166
* ``bzr lp-propose`` which was switched to use production Launchpad API
167
servers a few commits ago has been reverted to use edge: there is a
168
problem with using production which isn't trivially obvious, so we've
169
filed a bug to track it, and until thats fixed will be using edge.
170
(Robert Collins, #583667)
172
* ``bzr rm`` should not refuse to delete directories which contained a file
173
which has been moved elsewhere in the tree after the previous commit.
174
(Marius Kruger, Daniel Watkins, #129880)
176
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
177
(Vincent Ladeuil, #566670)
179
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
180
(Vincent Ladeuil, #563997)
182
* CommitBuilder refuses to create revisions whose trees have no root.
185
* Do not register a SIGWINCH signal handler, instead just poll for the
186
terminal width as needed. This avoids the "Interrupted System Call"
187
problems that occur on POSIX with all currently released versions of
189
(Andrew Bennetts, #583941)
191
* Don't mention --no-strict when we just issue the warning about unclean trees.
192
(Vincent Ladeuil, #401599)
194
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
196
(Andrew Bennetts, #528041)
198
* Improved progress bar for fetch (2a format only). Bazaar now shows an
199
estimate of the number of records to be fetched vs actually fetched.
200
(Parth Malwankar, #374740, #538868)
202
* Reduce peak memory by one copy of compressed text.
203
(John Arbash Meinel, #566940)
205
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
206
read lock, rather than causing an ``AttributeError``.
207
(Andrew Bennetts, Данило Шеган, #582781)
209
* Selftest was failing with testtools 0.9.3, which caused an
210
AssertionError raised from a cleanUp to be reported as a Failure, not an
211
Error, breaking on of our test hygiene tests.
212
(Robert Collins, Vincent Ladeuil).
214
* ``set_user_option`` with a dict on remote branches no longer fails with
215
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
216
to support this efficiently.
217
(Andrew Bennetts, #430382)
219
* Show the filenames when a file rename fails so that the error will be
221
(Martin Pool, #491763)
223
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
224
(John Arbash Meinel, #582656)
226
* Unicode characters in aliases are now handled correctly and do not cause
227
UnicodeEncodeError exception. (Parth Malwankar, #529930)
229
* Unicode commit messages that are the same as a file name no longer cause
230
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
232
(Parth Malwankar, #563646)
234
* Using bzr with `lp:` urls behind an http proxy should work.
235
(Robert Collins, #558343)
237
* When passing a file to ``UTF8DirReader`` make sure to close the current
238
directory file handle after the chdir fails. Otherwise when passing many
239
filenames into a command line ``bzr status`` we would leak descriptors.
240
(John Arbash Meinel, #583486)
245
* ``append_revisions_only`` will now be interpreted as a boolean and a
246
warning emitted if illegal values are used. Note that for projects
247
that needs to maintain compatibility with previsous bzr versions,
248
only 'True' and 'False' strings must be used (previous versions of
249
bzr will interpret all strings differing from 'True'
250
(case-sensitive) as false.
251
(Brian de Alwis, Vincent Ladeuil)
253
* ``bzr ls`` now supports short options for existing long options.
254
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
255
(Parth Malwankar, #181124)
257
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
258
be interpreted as a boolean.
261
* The all-in-one Windows installer will now be built with docstrings stripped
262
from the library zip, reducing the size and slightly improving cold startup
263
time. Bundled plugins are unchanged for the moment, but if adding other new
264
plugins to an all-in-one installation, ensure they are compiled and
265
installed with -O1 or help may not work. (Martin [gz])
273
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
274
some kinds of ``merge_file_content`` hook functions.
277
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
278
`user_transport`, `control_url` and `control_transport` members pointing
279
respectively to the directory containing the ``.bzr`` control directory,
280
and to the directory within ``.bzr`` used for the particular component.
281
All of them inherit from `ControlComponent` which provides default
285
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
286
expected to return an object which can be used to unlock them. This reduces
287
duplicate code when using cleanups. The previous 'tokens's returned by
288
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
289
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
290
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
292
* ``Repository.refresh_data`` may now be called in a write group on
293
pack-based repositories. Older repositories will still raise an error
294
in this case. Subclasses of ``Repository`` can still override
295
``Repository._refresh_data``, but are now responsible for raising
296
``bzrlib.repository.IsInWriteGroupError`` if they do not support
297
``refresh_data`` during a write group.
298
(Andrew Bennetts, #574236)
303
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
304
the (file-id, revision-id) key from a CHKInventory entry. This can
305
potentially shave 5-10% time off during a large fetch. Related to bug
306
#562666. (John Arbash Meinel)
308
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
311
* ``_remember_remote_is_before`` no longer raises AssertionError when
312
suboptimal network behaviour is noticed; instead it just mutters to the
313
log file (and warns the user if they have set the ``hpss`` debug flag).
314
This was causing unnecessary aborts for performance bugs that are minor
316
(Andrew Bennetts, #528041)
318
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
319
files loaded from disk. To ensure docstrings needed for help are never
320
stripped, the prefix ``__doc__ =`` should now be used.
321
(Martin <gzlist@googlemail.com>)
323
* No longer require zlib headers to build extensions, and remove the need
324
for seperate copy of zlib library on windows.
325
(John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
330
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
331
our first in-tree matcher. See the module docstring for details.
334
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
335
(Gordon Tyler, #551332)
337
* Workaround ``Crypto.Random`` check leading to spurious test
338
failures on Lucid, FreeBSD and gentoo.
339
(Vincent Ladeuil, #528436)
341
* New class ``ExecutableFeature`` for checking the availability of
342
executables on the ``PATH``. Migrated from bash_completion plugin.
350
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
351
incompatibility in the 2.2b1 release. It also includes a swag of
352
performance, usability and correctness improvements: test feedback on all
353
of these would be welcome.
359
* ``bzr diff`` now supports a --format option, which can be used to
360
select alternative diff formats. (Jelmer Vernooij, #555994)
365
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
366
instead of failing when dirty trees are involved. The corresponding
367
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
368
True explicitly to get the previous behaviour.
369
(Vincent Ladeuil, #519319)
371
* ``bzr export`` to tar file does not fail if any parent directory
372
contains unicode characters. This works around upstream Python bug
373
http://bugs.python.org/issue8396 .
374
(Parth Malwankar, #413406)
376
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
377
(Aaron Bentley, #559436)
379
* ``bzr update`` when a pending merge in the working tree has been merged
380
into the master branch will no longer claim that old commits have become
381
pending merges. (Robert Collins, #562079)
383
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
384
config as in previous versions of bzrlib. (Robert Collins)
386
* Fix glitch in the warning about unclean trees display.
387
(Vincent Ladeuil, #562665)
389
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
392
* Help messages generated by ``RegistryOption.from_kwargs`` list the
393
switches in alphabetical order, rather than in an undefined order.
394
(Martin von Gagern, #559409)
396
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
397
Apport crash reports, to avoid "This problem report applies to a program
398
which is not installed any more" error.
399
(Martin Pool, James Westby, #528114)
401
* Reset ``siginterrupt`` flag to False every time we handle a signal
402
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
403
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
404
errors compared to registering ``signal.signal`` directly.
407
* When invoked with a range revision, ``bzr log`` doesn't show revisions
408
that are not part of the Y revisions ancestry anymore when invoked with
410
(Vincent Ladeuil, #474807)
412
* Properly handle ``param_name`` attribute for ``ListOption``.
413
(Martin von Gagern, 387117)
418
* ``bzr commit`` will prompt before using a commit message that was
419
generated by a template and not edited by the user.
420
(Robert Collins, #530265)
422
* ``bzr diff`` read-locks the trees and branches only once, saving about
423
10-20ms on ``bzr diff`` in a bzr.dev tree.
426
* ``bzr missing`` read-locks the branches only once.
429
* ``bzr pull`` locks the branches and tree only once.
432
* Index lookups in pack repositories search recently hit pack files first.
433
In repositories with many pack files this can greatly reduce the
434
number of files accessed, the number of bytes read, and the number of
435
read calls. An incremental pull via plain HTTP takes half the time and
436
bytes for a moderately large repository. (Andrew Bennetts)
438
* Index lookups only re-order the indexes when the hit files aren't
439
already first. Reduces the cost of reordering
440
(John Arbash Meinel, #562429)
442
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
444
(Martin Pool, #553017)
449
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
450
``get_trees_and_branches_to_diff_locked`` instead.
453
* ``TreeTransform.commit`` supports the full set of commit parameters, and
454
auto-determines branch nick if not supplied. (Aaron Bentley)
459
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
460
2.1 method of calling run() to perform testing or direct use via the API
461
is now possible again. As part of this, the _operation attribute on
462
Command is now transient and only exists for the duration of ``run()``.
473
* BTreeGraphIndex can now take an offset to indicate that the data starts
474
somewhere other than then beginning of the file. (John Arbash Meinel)
476
* Deleted very old hidden commands ``versionedfile-list``,
477
``weave-plan-merge``, ``weave-merge-text``.
480
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
481
have been removed. (Jelmer Vernooij)
483
* ``Repository.get_revision_inventory()`` has been removed in favor of
484
``Repository.get_inventory()``. (Jelmer Vernooij)
486
* All test servers have been moved out of the bzrlib.transport hierarchy to
487
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
488
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
489
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
490
``bzrlib.tests.test_server``.
493
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
494
as its second parameter, for consistency with the initialize() method of
495
other formats. (Jelmer Vernooij)
500
* Added ``bzr remove-branch`` command that can remove a local or remote
501
branch. (Jelmer Vernooij, #276295)
503
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
504
to set file mtimes to the last timestamp of the last revision in which
505
they were changed rather than the current time. (Jelmer Vernooij)
507
* If the Apport crash-reporting tool is available, bzr crashes are now
508
stored into the ``/var/crash`` apport spool directory, and the user is
509
invited to report them to the developers from there, either
510
automatically or by running ``apport-bug``. No information is sent
511
without specific permission from the user. (Martin Pool, #515052)
513
* Parsing of command lines, for example in ``diff --using``, no longer
514
treats backslash as an escape character on Windows. (Gordon Tyler,
517
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
518
a list of plugin names separated by ':' (';' on windows).
519
(Vincent Ladeuil, #411413)
521
* Plugins can be loaded from arbitrary locations by defining
522
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
523
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
524
specified plugins. This is targeted at plugin developers for punctual
525
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
526
(Vincent Ladeuil, #82693)
528
* Tag names can now be determined automatically by ``automatic_tag_name``
529
hooks on ``Branch`` if they are not specified on the command line.
532
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
533
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
534
as resolved is still accessible via the ``--done`` default action.
537
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
538
(Aaron Bentley, Jonathan Lange)
543
* Added docstring for ``Tree.iter_changes``
544
(John Arbash Meinel, #304182)
546
* Allow additional arguments to
547
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
549
* Allow exporting a single file using ``bzr export``.
550
(Michal Junák, #511987)
552
* Allow syscalls to automatically restart when ``TextUIFactory``'s
553
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
554
IO, which are often poorly handled by Python's libraries and parts of
555
bzrlib. (Andrew Bennetts, #496813)
557
* Avoid infinite recursion when probing for apport.
558
(Vincent Ladeuil, #516934)
560
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
561
(Martin Pool, #331095)
563
* Avoid truncating svn URLs.
564
(Martin Pool, Martin von Gagern, #545185)
566
* ``bzr add`` will not add conflict related files unless explicitly required.
567
(Vincent Ladeuil, #322767, #414589)
569
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
570
indices do not have reference lists, so ``dump-btree`` will simply show
571
``None`` instead. (Andrew Bennetts, #488607)
573
* ``bzr help`` will no longer trigger the get_missing_command hook when
574
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
575
did you mean log?') when getting help. In future we may trigger the hook
576
deliberately when no help topics match from any help index.
577
(Robert Collins, #396261)
579
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
580
revspec as representing the first revision of the branch.
581
(Vincent Ladeuil, #519862)
583
* ``bzr remove-tree`` can now remove multiple working trees.
584
(Jared Hance, Andrew Bennetts, #253137)
586
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
587
the kept file on content conflicts where one side deleted the file.
588
(Vincent Ladeuil, #529968)
590
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
591
permissions as ``.bzr`` directory on a POSIX OS.
592
(Parth Malwankar, #262450)
594
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
595
of ``backup.bzr``. This directory is ignored by bzr commands such as
597
(Parth Malwankar, #335033, #300001)
599
* Cope with non-utf8 characters inside ``.bzrignore``.
600
(Jason Spashett, #183504)
602
* Correctly interpret "451 Rename/move failure: Directory not empty" from
603
ftp servers while trying to take a lock.
604
(Martin Pool, #528722)
606
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
607
changes occured between the workingtree and one of its parents.
608
(Vincent Ladeuil, #535547)
610
* Fix ``log`` to better check ancestors even if merged revisions are involved.
611
(Vincent Ladeuil, #476293)
613
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
614
on os.lisdir() order and is now reliable.
615
(Vincent Ladeuil, #552922).
617
* Many IO operations that returned ``EINTR`` were retried even if it
618
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
619
only retries operations that are safe to retry, and in some cases has
620
switched to operations that can be retried (e.g. ``sock.send`` rather than
622
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
624
* Path conflicts now support --take-this and --take-other even when a
625
deletion is involved.
626
(Vincent Ladeuil, #531967)
628
* Network transfer amounts and rates are now displayed in SI units according
629
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
630
(Gordon Tyler, #514399)
632
* Support kind markers for socket and fifo filesystem objects. This
633
prevents ``bzr status --short`` from crashing when those files are
634
present. (John Arbash Meinel, #303275)
636
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
637
directory. (Parth Malwankar, #138600)
639
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
640
the debugger won't kill the session.
641
(Martin <gzlist@googlemail.com>, #162502)
643
* Tolerate patches with leading noise in ``bzr-handle-patch``.
644
(Toshio Kuratomi, Martin Pool, #502076)
646
* ``update -r`` now supports updating to revisions that are not on
647
mainline (i.e. it supports dotted revisions).
648
(Parth Malwankar, #517800)
650
* Use first apparent author not committer in GNU Changelog format.
651
(Martin von Gagern, #513322)
656
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
657
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
660
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
661
branch to create. (Jelmer Vernooij)
663
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
664
colocated branch to open. (Jelmer Vernooij)
666
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
667
can set a signal handler and call ``signal.siginterrupt(signum,
668
False)`` for it, if the platform and Python version supports it.
669
(Andrew Bennetts, #496813)
671
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
672
run when starting up; it sets up several things that previously needed
673
to be done separately.
674
(Martin Pool, #507710)
676
* Exporters now support a ``per_file_timestamps`` argument to write out the
677
timestamp of the commit in which a file revision was introduced.
680
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
681
present in a control directory. (Jelmer Vernooij)
683
* New method ``Repository.get_known_graph_ancestry()``.
684
(Jelmer Vernooij, #495502)
686
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
689
* Remove unused ``CommandFailed`` exception.
695
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
696
``message_callback`` in the same way that commit does. (Robert Collins)
698
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
699
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
700
of date. (Gary van der Merwe)
702
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
703
functions to load or disable plugins if they wish to use a different
704
plugin mechanism; the --help, --version and no-command name code paths
705
now use the generic pluggable command lookup infrastructure.
708
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
709
which can be set to add extra help to the error. (Gary van der Merwe)
711
* New method ``Branch.automatic_tag_name`` that can be used to find the
712
tag name for a particular revision automatically. (Jelmer Vernooij)
714
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
715
``BzrDir.open_branch()`` now take an optional ``name`` argument.
721
* bzr now has a ``.testr.conf`` file in its source tree configured
722
appropriately for running tests with Testrepository
723
(``https://launchpad.net/testrepository``). (Robert Collins)
725
* Documentation about testing with ``subunit`` has been tweaked.
728
* Known failures has been added for resolve --take-other on ParentLoop
729
conflicts. This reflects bug #537956 without fixing it.
732
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
733
Python modules are loaded, to guard against startup time or library
734
dependency regressions.
737
* PQM will now run with subunit output. To analyze a PQM error use
738
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
740
* Stop sending apport crash files to ``.cache`` in the directory from
741
which ``bzr selftest`` was run. (Martin Pool, #422350)
743
* Tests no longer fail if "close() called during concurrent
744
operation on the same file object" occurs when closing the log file
745
(which can happen if a thread tries to write to the log file at the
746
wrong moment). An warning will be written to ``stderr`` when this
747
happens, and another warning will be written if the log file could not
748
be closed after retrying 100 times. (Andrew Bennetts, #531746)
755
This release fixes two critical networking issues with older servers and
756
with interrupted system call errors when pushing or pulling. We recommend
757
upgrading to anyone running a 2.1.x version of bzr.
762
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
763
support of bzr-externals and scmproj plugins.
764
(Alexander Belchenko, bug #572098)
766
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
767
(Aaron Bentley, #559436)
769
* Do not register a SIGWINCH signal handler, instead just poll for the
770
terminal width as needed. This avoids the "Interrupted System Call"
771
problems that occur on POSIX with all currently released versions of
773
(Andrew Bennetts, #583941)
775
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
777
(Andrew Bennetts, #528041)
779
* Reset ``siginterrupt`` flag to False every time we handle a signal
780
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
781
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
782
errors compared to registering ``signal.signal`` directly.
785
* Reduce peak memory by one copy of compressed text.
786
(John Arbash Meinel, #566940)
788
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
789
(John Arbash Meinel, #582656)
791
* When passing a file to ``UTF8DirReader`` make sure to close the current
792
directory file handle after the chdir fails. Otherwise when passing many
793
filenames into a command line ``bzr status`` we would leak descriptors.
794
(John Arbash Meinel, #583486)
799
* ``_remember_remote_is_before`` no longer raises AssertionError when
800
suboptimal network behaviour is noticed; instead it just mutters to the
801
log file (and warns the user if they have set the ``hpss`` debug flag).
802
This was causing unnecessary aborts for performance bugs that are minor
804
(Andrew Bennetts, #528041)
812
This is a small bugfix release. Upgrading is recommended for anyone
813
running 2.1.0 or earlier.
818
* Allow syscalls to automatically restart when ``TextUIFactory``'s
819
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
820
IO, which are often poorly handled by Python's libraries and parts of
821
bzrlib. (Andrew Bennetts, #496813)
823
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
824
(Martin Pool, #331095)
826
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
828
* Fix stub sftp test server to call os.getcwdu().
829
(Vincent Ladeuil, #526221, #526353)
831
* Fixed CHM generation by moving the NEWS section template into
832
a separate file. (Ian Clatworthy, #524184)
834
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
836
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
837
problems importing bzrlib from a non-main thread.
838
(Elliot Murphy, #521989)
840
* Repositories accessed via a smart server now reject being stacked on a
841
repository in an incompatible format, as is the case when accessing them
842
via other methods. This was causing fetches from those repositories via
843
a smart server (e.g. using ``bzr branch``) to receive invalid data.
844
(Andrew Bennetts, #562380)
846
* Standardize the error handling when creating a new ``StaticTuple``
847
(problems will raise TypeError). (Matt Nordhoff, #457979)
849
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
850
``StaticTuple`` extensions, rather than having the build fail randomly.
851
(John Arbash Meinel, #449776)
856
* Added a link to the Desktop Guide. (Ian Clatworthy)
858
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
860
* Drop Google Analytics from the core docs as they caused problems
861
in the CHM files. (Ian Clatworthy, #502010)
866
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
867
can set a signal handler and call ``signal.siginterrupt(signum,
868
False)`` for it, if the platform and Python version supports it.
869
(Andrew Bennetts, #496813)
875
:Codename: Strasbourg
878
This release marks our second long-term-stable series. The Bazaar team
879
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
880
releases, along with 2.2 development releases.
882
This is a fairly incremental update, focusing on polish and bugfixing.
883
There are no changes for supported disk formats. Key updates include
884
reduced memory consumption for many operations, a new per-file merge
885
hook, ignore patterns can now include '!' to exclude files, globbing
886
support for all commands on Windows, and support for addressing home
887
directories via ``bzr+ssh://host/~/`` syntax.
889
Users are encouraged to upgrade from the 2.0 stable series.
894
* Don't require testtools to use sftp.
895
(Vincent Ladeuil, #516183)
897
* Fix "AttributeError in Inter1and2Helper" during fetch.
898
(Martin Pool, #513432)
900
* ``bzr update`` performs the two merges in a more logical order and will stop
901
when it encounters conflicts.
902
(Gerard Krol, #113809)
904
* Give a better error message when doing ``bzr bind`` in an already bound
905
branch. (Neil Martinsen-Burrell, #513063)
907
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
908
in a pack repository, which can happen harmlessly if the abort occurs during
909
finishing the write group. Also use ``bzrlib.cleanup`` so that any
910
other errors that occur while aborting the individual packs won't be
911
hidden by secondary failures when removing the corresponding indices.
912
(Andrew Bennetts, #423015)
914
* Set the mtime of files exported to a directory by ``bzr export`` all to
915
the same value to avoid confusing ``make`` and other date-based build
916
systems. (Robert Collins, #515631)
921
* Fetching into experimental formats will now print a warning. (Jelmer
927
* ``Repository.deserialise_inventory`` has been renamed to
928
``Repository._deserialise_inventory`` to indicate it is private.
931
* ``Repository.get_inventory_xml`` has been renamed to
932
``Repository._get_inventory_xml`` to indicate it is private.
935
* ``Repository.serialise_inventory`` has been renamed to
936
``Repository._serialise_inventory`` to indicate it is private.
938
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
939
same time was broken due to race conditions with a module level page
940
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
941
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
942
the same high level objects such as ``bzrlib.repository.Repository``
943
from different threads. chk_map now uses a thread local cache which may
944
increase memory pressure on processes using threads.
945
(Robert Collins, John Arbash Meinel, #514090)
947
* The new ``merge_file_content`` should now be ok with tests to avoid
949
(Vincent Ladeuil, #515597)
954
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
955
blocks in several places in ``bzrlib.merge``. This avoids masking prior
956
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
958
(Andrew Bennetts, #517275)
963
* The ``remove_index`` method of
964
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
965
argument. This argument was always ignored.
966
(Andrew Bennetts, #423015)
971
:Codename: after the bubbles
972
:2.1.0rc2: 2010-01-29
974
This is a quick-turn-around to update a small issue with our new per-file
975
merge hook. We expect no major changes from this to the final 2.1.0.
980
* The new ``merge_file_content`` hook point has been altered to provide a
981
better API where state for extensions can be stored rather than the
982
too-simple function based approach. This fixes a performance regression
983
where branch configuration would be parsed per-file during merge. As
984
part of this the included news_merger has been refactored into a base
985
helper class ``bzrlib.merge.ConfigurableFileMerger``.
986
(Robert Collins, John Arbash Meinel, #513822)
992
:Codename: the 'new' stable
993
:2.1.0rc1: 2009-01-21
995
This is the first stable release candidate for Bazaar's 2.1 series. From
996
this point onwards, the 2.1 series will be considered stable (as the 2.0
997
series) and only bugfixes are expected to be incorporated. The dozen or so
998
bugfixes in the 2.0.4 release are also included in this release (along
999
with more than 15 more bugfixes). Some of the interesting features are
1000
support for per-file merge hooks, ``bzr unshelve --preview``, support
1001
for using ! in ignore files to exclude files from being ignored, a small
1002
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
1003
This looks to be a very good start for a new stable series.
1009
* Add bug information to log output when available.
1010
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
1012
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
1013
to register custom merge logic, e.g. to provide smarter merging for
1016
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
1017
default, to enable it add a ``news_merge_files`` option to your
1018
configuration. Consult ``bzr help news_merge`` for more information.
1021
* ``bzr branch`` now takes a ``--bind`` option. This lets you
1022
branch and bind all in one command. (Ian Clatworthy)
1024
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
1025
a specific revision of a branch. (Daniel Watkins, #183559)
1027
* ``bzr unshelve --preview`` can now be used to show how a patch on the
1028
shelf would be applied to the working tree.
1029
(Guilherme Salgado, #308122)
1031
* ``bzr update`` now takes a ``--revision`` argument. This lets you
1032
change the revision of the working tree to any revision in the
1033
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
1034
Martin Pool, #45719)
1036
* ``-Dbytes`` can now be used to display the total number of bytes
1037
transferred for the current command. This information is always logged
1038
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
1040
* New ignore patterns. Patterns prefixed with '!' are exceptions to
1041
ignore patterns and take precedence over regular ignores. Such
1042
exceptions are used to specify files that should be versioned which
1043
would otherwise be ignored. Patterns prefixed with '!!' act as regular
1044
ignore patterns, but have highest precedence, even over the '!'
1045
exception patterns. (John Whitley, #428031)
1047
* The ``supress_warnings`` configuration option has been introduced to disable
1048
various warnings (it currently only supports the ``format_deprecation``
1049
warning). The new option can be set in any of the following locations:
1050
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
1051
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
1056
* Always show a message if an OS error occurs while trying to run a
1057
user-specified commit message editor.
1058
(Martin Pool, #504842)
1060
* ``bzr diff`` will now use the epoch when it is unable to determine
1061
the timestamp of a file, if the revision it was introduced in is a
1062
ghost. (Jelmer Vernooij, #295611)
1064
* ``bzr switch -b`` can now create branches that are located using directory
1065
services such as ``lp:``, even when the branch name doesn't contain a
1066
'/'. (Neil Martinsen-Burrell, #495263)
1068
* ``bzr unshelve`` has improved messages about what it is doing.
1069
(Neil Martinsen-Burrell, #496917)
1071
* Concurrent autopacking is more resilient to already-renamed pack files.
1072
If we find that a file we are about to obsolete is already obsoleted, we
1073
do not try to rename it, and we leave the file in ``obsolete_packs``.
1074
The code is also fault tolerant if a file goes missing, assuming that
1075
another process already removed the file.
1076
(John Arbash Meinel, Gareth White, #507557)
1078
* Fix "Too many concurrent requests" in reconcile when network connection
1079
fails. (Andrew Bennetts, #503878)
1081
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
1082
that caused some tests to fail when run in a non-default order.
1083
Probably no user impact. (Martin Pool, #504102)
1085
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
1086
(Andrew Bennetts, #506274)
1088
* FTP transports support Unicode paths by encoding/decoding them as utf8.
1089
(Vincent Ladeuil, #472161)
1091
* Listen to the SIGWINCH signal to update the terminal width.
1092
(Vincent Ladeuil, #316357)
1094
* Progress bars are now hidden when ``--quiet`` is given.
1095
(Martin Pool, #320035)
1097
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
1098
whatever is written to it. This un-breaks some plugin tests that
1099
depended on this behaviour.
1100
(Martin Pool, #499757)
1102
* When operations update the working tree, all affected files should end
1103
up with the same mtime. (eg. when versioning a generated file, if you
1104
update the source and the generated file together, the generated file
1105
should appear up-to-date.)
1106
(John Arbash Meinel, Martin <gzlist>, #488724)
1111
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
1112
All the builtin commands now use ``add_cleanup`` rather than
1113
``try``/``finally`` blocks where applicable as it is simpler and more
1114
robust. (Andrew Bennetts)
1116
* All except a small number of storage formats are now hidden, making
1117
the help for numerous commands far more digestible. (Ian Clatworthy)
1119
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
1120
path/to/repo``) will now include "location is a repository" as a hint in
1121
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
1123
* Push will now inform the user when they are trying to push to a foreign
1124
VCS for which roundtripping is not supported, and will suggest them to
1125
use dpush. (Jelmer Vernooij)
1127
* The version of bzr being run is now written to the log file.
1128
(__monty__, #257170)
1130
* Transport network activity indicator is shown more of the time when
1131
Bazaar is doing network IO.
1137
* Add documentation on creating merges with more than one parent.
1138
(Neil Martinsen-Burrell, #481526)
1140
* Better explain the --uncommitted option of merge.
1141
(Neil Martinsen-Burrell, #505088)
1143
* Improve discussion of pending merges in the documentation for
1144
``revert``. (Neil Martinsen-Burrell, #505093)
1146
* Improved help for ``bzr send``.
1147
(Martin Pool, Bojan Nikolic)
1149
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
1150
including discussions of installation, relevant plugins, security and
1151
backup. (Neil Martinsen-Burrell)
1153
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
1156
* The User Reference is now presented as a series of topics.
1157
Many of the included topics have link and format tweaks applied.
1163
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
1166
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
1167
to be consistent with instances being lower case and classes being
1168
CamelCase. For the features that were more likely to be used, we added a
1169
deprecation thunk, but not all. (John Arbash Meinel)
1171
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
1172
parameter in their constructors, and provide ``this_branch`` as an
1173
attribute. (Andrew Bennetts)
1175
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
1176
by plugins - the original exceptions are now preserved. (Robert Collins)
1178
* The Transport ``Server.tearDown`` method is now renamed to
1179
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
1180
our normal naming pattern, and to avoid confusion with Python's
1181
``TestCase.tearDown``. (Martin Pool)
1183
* ``WorkingTree.update`` implementations must now accept a ``revision``
1189
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
1190
a string of details (such as "location is a repository") as part of a
1191
``nobranch`` response. (Andrew Bennetts, #440952)
1193
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
1194
objects but passes str objects straight through. This is used for
1195
selftest but may be useful for diff and other operations that generate
1196
mixed output. (Robert Collins)
1198
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
1199
plugins. (Jelmer Vernooij)
1204
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
1205
running all tests in the current module, once against a pure python
1206
implementation, and once against an extension (pyrex/C) implementation.
1207
It can be used to dramatically simplify the implementation of
1208
``load_tests``. (John Arbash Meinel)
1210
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
1211
This permits features in testtools such as getUniqueInteger and
1212
getUniqueString to be used. Because of this, testtools version 0.9.2 or
1213
newer is now a dependency to run bzr selftest. Running with versions of
1214
testtools less than 0.9.2 will cause bzr to error while loading the test
1215
suite. (Robert Collins)
1217
* Shell-like tests now support the command "mv" for moving files. The
1218
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
1219
supported. (Neil Martinsen-Burrell)
1221
* The test progress bar no longer distinguishes tests that 'errored' from
1222
tests that 'failed' - they're all just failures.
1228
:2.0.6: NOT RELEASED YET
1233
* Additional merges after an unrelated branch has been merged with its
1234
history no longer crash when deleted files are involved.
1235
(Vincent Ladeuil, John Arbash Meinel, #375898)
1237
* ``bzr revert`` now only takes write lock on working tree, instead of on
1238
both working tree and branch.
1239
(Danny van Heumen, #498409)
1241
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1242
permissions as ``.bzr`` directory on a POSIX OS.
1243
(Parth Malwankar, #262450)
1245
* Reduce peak memory by one copy of compressed text.
1246
(John Arbash Meinel, #566940)
1248
* Repositories accessed via a smart server now reject being stacked on a
1249
repository in an incompatible format, as is the case when accessing them
1250
via other methods. This was causing fetches from those repositories via
1251
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1252
(Andrew Bennetts, #562380)
1254
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1255
error. This error was caused by 2.0 not being updated when upstream
1256
python merged the end of run patch, which chose ``stopTestRun`` rather than
1257
``done``. (Robert Collins, #571437)
1259
* When passing a file to ``UTF8DirReader`` make sure to close the current
1260
directory file handle after the chdir fails. Otherwise when passing many
1261
filenames into a command line ``bzr status`` we would leak descriptors.
1262
(John Arbash Meinel, #583486)
1270
This fifth release in our 2.0 series addresses several user-inconvenience
1271
bugs. None are critical, but upgrading is recommended for all users on
1272
earlier 2.0 releases.
1277
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1278
(Martin Pool, #331095)
1280
* Concurrent autopacking is more resilient to already-renamed pack files.
1281
If we find that a file we are about to obsolete is already obsoleted, we
1282
do not try to rename it, and we leave the file in ``obsolete_packs``.
1283
The code is also fault tolerant if a file goes missing, assuming that
1284
another process already removed the file.
1285
(John Arbash Meinel, Gareth White, #507557)
1287
* Cope with the lockdir ``held/info`` file being empty, which seems to
1288
happen fairly often if the process is suddenly interrupted while taking
1290
(Martin Pool, #185103)
1292
* Give the warning about potentially slow cross-format fetches much
1293
earlier on in the fetch operation. Don't show this message during
1294
upgrades, and show the correct format indication for remote
1296
(Martin Pool, #456077, #515356, #513157)
1298
* Handle renames correctly when there are files or directories that
1299
differ only in case. (Chris Jones, Martin Pool, #368931)
1301
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1302
error, report that error rather than failing with an unhelpful
1303
``UnboundLocalError``.
1304
(Andrew Bennetts, #423563)
1306
* Running ``bzr`` command without any arguments now shows bzr
1307
version number along with rest of the help text.
1308
(Parth Malwankar, #369501)
1310
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1312
(Inada Naoki, #524560)
1317
* Added ``location-alias`` help topic.
1318
(Andrew Bennetts, #337834)
1320
* Fixed CHM generation by moving the NEWS section template into
1321
a separate file. (Ian Clatworthy, #524184)
1327
:Codename: smooth sailing
1330
The fourth bugfix-only release in the 2.0 series contains more than a
1331
dozen bugfixes relative to 2.0.3. The primary focus is on handling
1332
interruptions and concurrent operations more cleanly, there is also a fair
1333
improvement to ``bzr export`` when exporting a remote branch.
1339
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
1340
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
1342
* ``bzr export dir`` now requests all file content as a record stream,
1343
rather than requsting the file content one file-at-a-time. This can make
1344
exporting over the network significantly faster (54min => 9min in one
1345
case). (John Arbash Meinel, #343218)
1347
* ``bzr serve`` no longer slowly leaks memory. The compiled
1348
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
1349
free resources, and it should have been using ``__dealloc__``.
1350
This will likely have an impact on any other process that is serving for
1351
an extended period of time. (John Arbash Meinel, #494406)
1353
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
1354
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
1355
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
1357
* Concurrent autopacks will no longer lose a newly created pack file.
1358
There was a race condition, where if the reload happened at the right
1359
time, the second packer would forget the name of the newly added pack
1360
file. (John Arbash Meinel, Gareth White, #507566)
1362
* Give a clearer message if the lockdir disappears after being apparently
1363
successfully taken. (Martin Pool, #498378)
1365
* Give a warning when fetching between repositories (local or remote) with
1366
sufficiently different formats that the content will need to be
1367
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
1368
the user has a clue that upgrading could make it faster.
1369
(Martin Pool, #456077)
1371
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
1372
than using ``warning()``. The log file is opened before logging is set
1373
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
1374
users, rather than something nicer.
1375
(John Arbash Meinel, Barry Warsaw, #503886)
1377
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
1378
(Martin Pool, John Arbash Meinel, #449372)
1380
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
1381
build. (there is still the distutils bug
1382
http://bugs.python.org/issue644744) (Joe Julian, #175839)
1384
* The 2a format wasn't properly restarting autopacks when something
1385
changed underneath it (like another autopack). Now concurrent
1386
autopackers will properly succeed. (John Arbash Meinel, #495000)
1388
* ``TreeTransform`` can now handle when a delta says that the file id for
1389
the tree root changes. Rather than trying to rename your working
1390
directory, or failing early saying that you can't have multiple
1391
tree roots. This also fixes revert, update, and pull when the root id
1392
changes. (John Arbash Meinel, #494269, #504390)
1394
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
1395
the right time will get propagated, rather than silently failing to move
1396
the block pointer. (John Arbash Meinel, Gareth White, #495023)
1401
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
1402
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
1403
rather than an ``except ?:`` clause.) This should help prevent bugs like
1404
bug #495023. (John Arbash Meinel)
1410
:Codename: san francisco airport
1411
:2.1.0b4: 2009-12-14
1413
The fourth beta release in the 2.1 series brings with it a significant
1414
number of bugfixes (~20). The test suite is once again (finally) "green"
1415
on Windows, and should remain that way for future releases. There are a
1416
few performance related updates (faster upgrade and log), and several UI
1417
tweaks. There has also been a significant number of tweaks to the runtime
1418
documentation. 2.1.0b4 include everything from the 2.0.3 release.
1421
Compatibility Breaks
1422
********************
1424
* The BZR_SSH environmental variable may now be set to the path of a secure
1425
shell client. If currently set to the value ``ssh`` it will now guess the
1426
vendor of the program with that name, to restore the old behaviour that
1427
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
1428
string. (Martin <gzlist@googlemail.com>, #176292)
1433
* ``bzr commit`` now has a ``--commit-time`` option.
1434
(Alexander Sack, #459276)
1436
* ``-Dhpss`` now increases logging done when run on the bzr server,
1437
similarly to how it works on the client. (John Arbash Meinel)
1439
* New option ``bzr unshelve --keep`` applies the changes and leaves them
1440
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
1442
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
1443
respect a given terminal width. This can be useful when output is
1444
redirected or in obscure cases where the default value is not
1445
appropriate. Pagers can use it to get a better control of the line
1449
* The new command ``bzr lp-mirror`` will request that Launchpad update its
1450
mirror of a local branch. This command will only function if launchpadlib
1458
* After renaming a file, the dirstate could accidentally reference
1459
``source\\path`` rather than ``source/path`` on Windows. This might be a
1460
source of some dirstate-related failures. (John Arbash Meinel)
1462
* ``bzr commit`` now detects commit messages that looks like file names
1463
and issues a warning.
1464
(Gioele Barabucci, #73073)
1466
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
1468
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
1469
(#325618, #484109, Marius Kruger)
1471
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
1472
files with conflicts (similar to ``--merge3``). The contents of the file
1473
is a synthesis of all bases used for the merge.
1474
(John Arbash Meinel, #40412)
1476
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
1478
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
1479
(Robert Collins, #84659)
1481
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
1483
* Fix bug with redirected URLs over authenticated HTTP.
1484
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
1486
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
1488
* Lots of bugfixes for the test suite on Windows. We should once again
1489
have a test suite with no failures on Windows. (John Arbash Meinel)
1491
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
1492
variable but returns None if the terminal is not a tty (when output is
1493
redirected for example). Also fixes its usage under OSes that doesn't
1494
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
1496
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
1497
(John Arbash Meinel, Vincent Ladeuil, #492561)
1499
* Terminate ssh subprocesses when no references to them remain, fixing
1500
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
1502
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
1503
works for 2a format trees. Only files unaffected by content filters
1504
will be hardlinked. (Andrew Bennetts, #408193)
1506
* The new glob expansion on Windows would replace all ``\`` characters
1507
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
1508
etc. Now only change slashes if there is something being glob expanded.
1509
(John Arbash Meinel, #485771)
1511
* Use our faster ``KnownGraph.heads()`` functionality when computing the
1512
new rich-root heads. This can cut a conversion time in half (mysql from
1513
13.5h => 6.2h) (John Arbash Meinel, #487632)
1515
* When launching a external diff tool via bzr diff --using, temporary files
1516
are no longer created, rather, the path to the file in the working tree is
1517
passed to the external diff tool. This allows the file to be edited if the
1518
diff tool provides for this. (Gary van der Merwe, #490738)
1520
* The launchpad-open command can now be used from a subdirectory of a
1521
branch, not just from the root of the branch.
1522
(Neil Martinsen-Burrell, #489102)
1528
* ``bzr log`` is now faster. (Ian Clatworthy)
1530
* ``bzr update`` provides feedback on which branch it is up to date with.
1531
(Neil Martinsen-Burrell)
1533
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
1534
For details see the xml8 patch and heads() improvements.
1535
(John Arbash Meinel)
1537
* ``bzrlib.urlutils.local_path_from_url`` now accepts
1538
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
1541
* The progress bar now shows only a spinner and per-operation counts,
1542
not an overall progress bar. The previous bar was often not correlated
1543
with real overall operation progress, either because the operations take
1544
nonlinear time, or because at the start of the operation Bazaar couldn't
1545
estimate how much work there was to do. (Martin Pool)
1550
* Lots of documentation tweaks for inline help topics and command help
1556
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
1558
* The Launchpad plugin now has a function ``login`` which will log in to
1559
Launchpad with launchpadlib, and ``load_branch`` which will return the
1560
Launchpad Branch object corresponding to a given Bazaar Branch object.
1566
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
1567
easier to handle what tests you want to run based on what modules can be
1568
imported. (Rather than lots of custom-implemented features that were
1569
basically copy-and-pasted.) (John Arbash Meinel)
1571
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
1572
``time.clock()`` when you want to do performance timing.
1573
``time.time()`` is limited to 15ms resolution on Windows, but
1574
``time.clock()`` gives CPU and not wall-clock time on other platforms.
1575
(John Arbash Meinel)
1577
* Several code paths that were calling ``Transport.get().read()`` have
1578
been changed to the equalivent ``Transport.get_bytes()``. The main
1579
difference is that the latter will explicitly call ``file.close()``,
1580
rather than expecting the garbage collector to handle it. This helps
1581
with some race conditions on Windows during the test suite and sftp
1582
tests. (John Arbash Meinel)
1587
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
1588
unicode strings. (Michael Hudson, #464174)
1594
:Codename: little italy
1598
The third stable release of Bazaar has a small handful of bugfixes. As
1599
expected, this has no internal or external compatibility changes versus
1605
* ``bzr push --use-existing-dir`` no longer crashes if the directory
1606
exists but contains an invalid ``.bzr`` directory.
1607
(Andrew Bennetts, #423563)
1609
* Content filters are now applied correctly after pull, merge and switch.
1610
(Ian Clatworthy, #385879)
1612
* Fix a potential segfault in the groupcompress hash map handling code.
1613
When inserting new entries, if the final hash bucket was empty, we could
1614
end up trying to access if ``(last_entry+1)->ptr == NULL``.
1615
(John Arbash Meinel, #490228)
1617
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1623
:Codename: after sprint recovery
1624
:2.1.0b3: 2009-11-16
1626
This release was pushed up from its normal release cycle due to a
1627
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
1628
was caught before 2.1.0b2 was officially announced, the full changelog
1629
includes both 2.1.0b3 and 2.1.0b2 changes.
1631
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
1632
the test suite now conforms to python's trunk enhanced semantics (skip,
1633
etc.), and ``bzr info -v`` will now report the correct branch and repo
1634
formats for Remote objects.
1640
* Users can define a shelve editor to provide shelf functionality at a
1641
granularity finer than per-patch-hunk. (Aaron Bentley)
1646
* Fix for shell completion and short options. (Benoît PIERRE)
1648
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
1650
* Hooks daughter classes should always call the base constructor.
1651
(Alexander Belchenko, Vincent Ladeuil, #389648)
1653
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1655
* On Windows, do glob expansion at the command-line level (as is usually
1656
done in bash, etc.) This means that *all* commands get glob expansion
1657
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
1658
parser, which allows us to know if a given section was quoted. It means
1659
you can now do ``bzr ignore "*.py"``.
1660
(John Arbash Meinel, #425510, #426410, #194450)
1662
* Sanitize commit messages that come in from the '-m' flag. We translate
1663
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
1664
allow those because XML store silently translate it anyway. (The parser
1665
auto-translates \r\n => \n in ways that are hard for us to catch.)
1667
* Show correct branch and repository format descriptions in
1668
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
1670
* The fix for bug #186920 accidentally broke compatibility with python
1671
2.4. (Vincent Ladeuil, #475585)
1673
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
1674
correctly sets ``self.inv_sha1`` to a sha1 string and
1675
``self.new_inventory`` to an Inventory instance after calling
1676
``self.finish_inventory()``. (Previously it accidently set both values
1677
as a tuple on ``self.inv_sha1``. This was missed because
1678
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
1679
the sha1 from the repo directly. (John Arbash Meinel)
1681
* Shelve command refuse to run if there is no real terminal.
1682
(Alexander Belchenko)
1684
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
1685
Python level. (Martin Pool)
1690
* Include Japanese translations for documentation (Inada Naoki)
1692
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
1693
(rather than user-interaction) data to stdout. This automatically
1694
coordinates with progress bars or other terminal activity, and can be
1696
(Martin Pool, 493944)
1701
* Some of the core groupcompress functionality now releases the GIL before
1702
operation. Similar to how zlib and bz2 operate without the GIL in the
1703
core compression and decompression routines. (John Arbash Meinel)
1708
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
1709
more debugging of VFS access triggers. (Robert Collins)
1711
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
1712
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
1714
* ``--parallel=fork`` is now compatible with --subunit.
1715
(Robert Collins, Vincent Ladeuil, #419776)
1717
* Reporting of failures shows test ids not descriptions and thus shows
1718
parameterised tests correctly. (Robert Collins)
1720
* TestNotApplicable is now handled within the TestCase.run method rather
1721
than being looked for within ``ExtendedTestResult.addError``. This
1722
provides better handling with other ``TestResult`` objects, degrading to
1723
sucess rather than error. (Robert Collins)
1725
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
1726
removed - it was empty and unused. (Robert Collins)
1728
* UnavailableFeature is now handled within the TestCase.run method rather
1729
than being looked for within addError. If the Result object does not
1730
have an addNotSupported method, addSkip is attempted instead, and
1731
failing that addSuccess. (Robert Collins)
1733
* When a TestResult does not have an addSkip method, skipped tests are now
1734
reported as successful tests, rather than as errors. This change is
1735
to make it possible to get a clean test run with a less capable
1736
TestResult. (Robert Collins)
1743
:Codename: a load off my mind
1744
:2.1.0b2: 2009-11-02
1746
This is our second feature-filled release since 2.0, pushing us down the
1747
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
1749
Key highlights in this release are: improved handling of
1750
failures-during-cleanup for commit, fixing a long-standing bug with
1751
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
1752
behind proxies, and a new StaticTuple datatype, allowing us to reduce
1753
memory consumption (50%) and garbage collector overhead (40% faster) for
1756
* A new ``--concurrency`` option has been added as well as an associated
1757
BZR_CONCURRENCY environment variable to specify the number of
1758
processes that can be run concurrently when running ``bzr selftest``. The
1759
command-line option overrides the environment variable if both are
1760
specified. If none is specified. the number of processes is obtained
1761
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
1766
* ``bzr+http`` servers no longer give spurious jail break errors when
1767
serving branches inside a shared repository. (Andrew Bennetts, #348308)
1769
* Errors during commit are handled more robustly so that knock-on errors
1770
are less likely to occur, and will not obscure the original error if
1771
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
1772
and similar errors. (Andrew Bennetts, #429747, #243391)
1774
* Launchpad urls can now be resolved from behind proxies.
1775
(Gordon Tyler, Vincent Ladeuil, #186920)
1777
* Reduce the strictness for StaticTuple, instead add a debug flag
1778
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
1779
This way, most users won't see failures, but developers can improve
1780
internals. (John Arbash Meinel, #471193)
1782
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
1783
files. (Aaron Bentley)
1785
* Unicode paths are now handled correctly and consistently by the smart
1786
server. (Andrew Bennetts, Michael Hudson, #458762)
1791
* When reading index files, we now use a ``StaticTuple`` rather than a
1792
plain ``tuple`` object. This generally gives a 20% decrease in peak
1793
memory, and can give a performance boost up to 40% on large projects.
1794
(John Arbash Meinel)
1796
* Peak memory under certain operations has been reduced significantly.
1797
(eg, 'bzr branch launchpad standalone' is cut in half)
1798
(John Arbash Meinel)
1803
* Filtered views user documentation upgraded to refer to format 2a
1804
instead of pre-2.0 formats. (Ian Clatworthy)
1809
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
1811
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1812
``show_warning`` methods, which can be hooked by non-text UIs.
1818
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1819
Dict (it only holds keys, but you can lookup the object located at a
1820
given key). It has significantly reduced memory consumption versus the
1821
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1822
used as the interning structure for StaticTuple objects.
1823
(John Arbash Meinel)
1825
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1826
the btree index parser and the chk map parser. This class functions
1827
similarly to ``tuple`` objects. However, it can only point to a limited
1828
collection of types. (Currently StaticTuple, str, unicode, None, bool,
1829
int, long, float, but not subclasses). This allows us to remove it from
1830
the garbage collector (it cannot be in a cycle), it also allows us to
1831
intern the objects. In testing, this can reduce peak memory by 20-40%,
1832
and significantly improve performance by removing objects from being
1833
inspected by the garbage collector. (John Arbash Meinel)
1835
* ``GroupCompressBlock._ensure_content()`` will now release the
1836
``zlib.decompressobj()`` when the first request is for all of the
1837
content. (Previously it would only be released if you made a request for
1838
part of the content, and then all of it later.) This turns out to be a
1839
significant memory savings, as a ``zstream`` carries around approx 260kB
1840
of internal state and buffers. (For branching bzr.dev this drops peak
1841
memory from 382MB => 345MB.) (John Arbash Meinel)
1843
* When streaming content between ``2a`` format repositories, we now clear
1844
caches from earlier versioned files. (So 'revisions' is cleared when we
1845
start reading 'inventories', etc.) This can have a significant impact on
1846
peak memory for initial copies (~200MB). (John Arbash Meinel)
1852
:Codename: after the scare
1855
The second in our "let's keep the stable bugfixes flowing" series. As
1856
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
1857
changes or features.
1862
* Avoid "NoneType has no attribute st_mode" error when files disappear
1863
from a directory while it's being read. (Martin Pool, #446033)
1865
* Content filters are now applied correctly after revert.
1868
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
1870
* Fetching from stacked pre-2a repository via a smart server no longer
1871
fails intermittently with "second push failed to complete".
1872
(Andrew Bennetts, #437626)
1874
* Fix typos left after test_selftest refactoring.
1875
(Vincent Ladeuil, Matt Nordhoff, #461149)
1877
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
1878
(Andrew Bennetts, #445171)
1880
* PreviewTree file names are not limited by the encoding of the temp
1881
directory's filesystem. (Aaron Bentley, #436794)
1886
* ``bzr log`` now read-locks branches exactly once, so makes better use of
1887
data caches. (Andrew Bennetts)
1892
* Filtered views user documentation upgraded to refer to format 2a
1893
instead of pre-2.0 formats. (Ian Clatworthy)
1899
:Codename: While the cat is away
1900
:2.1.0b1: 2009-10-14
1902
This is the first development release in the new split "stable" and
1903
"development" series. As such, the release is a snapshot of bzr.dev
1904
without creating a release candidate first. This release includes a
1905
fair amount of internal changes, with deprecated code being removed,
1906
and several new feature developments. People looking for a stable code
1907
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1908
present in 2.0.1 are present in 2.1.0b1.
1910
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1911
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1912
syntax, visible warnings when extension modules fail to load, and improved
1913
error handling during unlocking.
1919
* Bazaar can now send mail through Apple OS X Mail.app.
1922
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1923
specified in the URL. Paths starting with a path segment of ``~`` are
1924
relative to the home directory of the user running the server, and paths
1925
starting with ``~user`` are relative to the home directory of the named
1926
user. For example, for a user "bob" with a home directory of
1927
``/home/bob``, these URLs are all equivalent:
1929
* ``bzr+ssh://bob@host/~/repo``
1930
* ``bzr+ssh://bob@host/~bob/repo``
1931
* ``bzr+ssh://bob@host/home/bob/repo``
1933
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1934
home directories outside that directory will be accessible via this
1937
This is a feature of ``bzr serve``, so pre-2.1 clients will
1938
automatically benefit from this feature when ``bzr`` on the server is
1939
upgraded. (Andrew Bennetts, #109143)
1941
* Extensions can now be compiled if either Cython or Pyrex is available.
1942
Currently Pyrex is preferred, but that may change in the future.
1945
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1946
disable the user, site and core plugin directories.
1947
(Vincent Ladeuil, #412930, #316192, #145612)
1952
* Bazaar's native protocol code now correctly handles EINTR, which most
1953
noticeably occurs if you break in to the debugger while connected to a
1954
bzr+ssh server. You can now can continue from the debugger (by typing
1955
'c') and the process continues. However, note that pressing C-\ in the
1956
shell may still kill the SSH process, which is bug 162509, so you must
1957
sent a signal to the bzr process specifically, for example by typing
1958
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1960
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1961
filename will issue a warning and skip over those files.
1962
(Robert Collins, #3918)
1964
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1965
are present in the working tree. The configuration option ``dpush_strict``
1966
can be used to set the default for this behavior.
1967
(Vincent Ladeuil, #438158)
1969
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1970
merges are present in the working tree.
1971
(Vincent Ladeuil, #426344)
1973
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1974
traceback. (Martin Pool, #109115)
1976
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1977
as it is never built. (John Arbash Meinel, #430645)
1979
* Don't restrict the command name used to run the test suite.
1980
(Vincent Ladeuil, #419950)
1982
* ftp transports were built differently when the kerberos python module was
1983
present leading to obscure failures related to ASCII/BINARY modes.
1984
(Vincent Ladeuil, #443041)
1986
* Network streams now decode adjacent records of the same type into a
1987
single stream, reducing layering churn. (Robert Collins)
1989
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1990
file. (Aaron Bentley, #251532)
1992
* Registry objects should not use iteritems() when asked to use items().
1993
(Vincent Ladeuil, #430510)
1995
* Weave based repositories couldn't be cloned when committers were using
1996
domains or user ids embedding '.sig'. Now they can.
1997
(Matthew Fuller, Vincent Ladeuil, #430868)
2002
* Revision specifiers can now be given in a more DWIM form, without
2003
needing explicit prefixes for specifiers like tags or revision id's.
2004
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
2006
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
2007
compiled extensions can't be loaded. This typically indicates a
2008
packaging or installation problem. In this case Bazaar will keep
2009
running using pure-Python versions, but this may be substantially
2010
slower. The warning can be disabled by setting
2011
``ignore_missing_extensions = True`` in ``bazaar.conf``.
2012
See also <https://answers.launchpad.net/bzr/+faq/703>.
2013
(Martin Pool, #406113, #430529)
2015
* Secondary errors that occur during Branch.unlock and Repository.unlock
2016
no longer obscure the original error. These methods now use a new
2017
decorator, ``only_raises``. This fixes many causes of
2018
``TooManyConcurrentRequests`` and similar errors.
2019
(Andrew Bennetts, #429747)
2024
* Describe the new shell-like test feature. (Vincent Ladeuil)
2026
* Help on hooks no longer says 'Not deprecated' for hooks that are
2027
currently supported. (Ian Clatworthy, #422415)
2032
* ``bzrlib.user_encoding`` has been removed; use
2033
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
2035
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
2036
subclasses - the same as python's unittest module. (Robert Collins)
2038
* ``diff._get_trees_to_diff`` has been renamed to
2039
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
2040
returns the old and new branches. (Gary van der Merwe)
2042
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
2045
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
2046
now defaults to comparing to the basis tree. It now checks for pending
2047
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
2048
corresponding has_changes() calls. ``Merge.compare_basis``,
2049
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
2051
(Vincent Ladeuil, #440631)
2053
* ``ProgressTask.note`` is deprecated.
2059
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
2060
repository or branch object is unlocked then relocked the same way.
2063
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
2064
mallocs while parsing the index (approx 3=>1 mallocs per key read).
2065
This results in a 10% speedup while reading an index.
2066
(John Arbash Meinel)
2068
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
2069
profiling in some situations like callbacks and generators easier.
2075
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
2076
be output for every test. Note that this is very verbose! (Robert Collins)
2078
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
2079
post_mortem to be triggered when a test failure occurs. (Robert Collins)
2081
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
2082
documentation in ``developers/testing.txt`` for details.
2085
* Some tests could end up with the same id, that was dormant for
2087
(Vincent Ladeuil, #442980)
2089
* Stop showing the number of tests due to missing features in the test
2090
progress bar. (Martin Pool)
2092
* Test parameterisation now does a shallow copy, not a deep copy of the test
2093
to be parameterised. This is not expected to break external use of test
2094
parameterisation, and is substantially faster. (Robert Collins)
2096
* Tests that try to open a bzr dir on an arbitrary transport will now
2097
fail unless they have explicitly permitted the transport via
2098
``self.permit_url``. The standard test factories such as ``self.get_url``
2099
will permit the urls they provide automatically, so only exceptional
2100
tests should need to do this. (Robert Collins)
2102
* The break-in test no longer cares about clean shutdown of the child,
2103
instead it is happy if the debugger starts up. (Robert Collins)
2105
* The full test suite is expected to pass when the C extensions are not
2106
present. (Vincent Ladeuil, #430749)
2112
:Codename: Stability First
2115
The first of our new ongoing bugfix-only stable releases has arrived. It
2116
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
2117
include any of the feature development in the 2.1.0 series.
2123
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
2124
filename will issue a warning and skip over those files.
2125
(Robert Collins, #3918)
2127
* bzr will attempt to authenticate with SSH servers that support
2128
``keyboard-interactive`` auth but not ``password`` auth when using
2129
Paramiko. (Andrew Bennetts, #433846)
2131
* Fixed fetches from a stacked branch on a smart server that were failing
2132
with some combinations of remote and local formats. This was causing
2133
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
2135
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
2136
on branches via a smart server. (Andrew Bennetts, #389413)
2138
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
2139
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
2140
assumed that ``abspath()`` returned a path that did not have a trailing
2141
``/``, but that is not true when working at the root of the filesystem.
2142
(John Arbash Meinel, Jason Spashett, #322807)
2144
* Hide deprecation warnings for 'final' releases for python2.6.
2145
(John Arbash Meinel, #440062)
2147
* Improve the time for ``bzr log DIR`` for 2a format repositories.
2148
We had been using the same code path as for <2a formats, which required
2149
iterating over all objects in all revisions.
2150
(John Arbash Meinel, #374730)
2152
* Make sure that we unlock the tree if we fail to create a TreeTransform
2153
object when doing a merge, and there is limbo, or pending-deletions
2154
directory. (Gary van der Merwe, #427773)
2156
* Occasional IndexError on renamed files have been fixed. Operations that
2157
set a full inventory in the working tree will now go via the
2158
apply_inventory_delta code path which is simpler and easier to
2159
understand than dirstates set_state_from_inventory method. This may
2160
have a small performance impact on operations built on _write_inventory,
2161
but such operations are already doing full tree scans, so no radical
2162
performance change should be observed. (Robert Collins, #403322)
2164
* Retrieving file text or mtime from a _PreviewTree has good performance when
2165
there are many changes. (Aaron Bentley)
2167
* The CHK index pages now use an unlimited cache size. With a limited
2168
cache and a large project, the random access of chk pages could cause us
2169
to download the entire cix file many times.
2170
(John Arbash Meinel, #402623)
2172
* When a file kind becomes unversionable after being added, a sensible
2173
error will be shown instead of a traceback. (Robert Collins, #438569)
2178
* Improved README. (Ian Clatworthy)
2180
* Improved upgrade documentation for Launchpad branches.
2188
:Codename: Instant Karma
2190
This release of Bazaar makes the 2a (previously 'brisbane-core') format
2191
the default when new branches or repositories are created. This format is
2192
substantially smaller and faster for many operations. Most of the work in
2193
this release focuses on bug fixes and stabilization, covering both 2a and
2194
previous formats. (See the Upgrade Guide for information on migrating
2197
This release also improves the documentation content and presentation,
2198
including adding Windows HtmlHelp manuals.
2200
The Bazaar team decided that 2.0 will be a long-term supported release,
2201
with bugfix-only 2.0.x releases based on it, continuing for at least six
2202
months or until the following stable release.
2204
Changes from 2.0.0rc2 to final
2205
******************************
2207
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
2208
that "want to happen on the 2.0.x stable series" versus things that want
2209
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
2210
micro = 0.) (John Arbash Meinel)
2216
:2.0.0rc2: 2009-09-10
2221
* Added post_commit hook for mutable trees. This allows the keywords
2222
plugin to expand keywords on files changed by the commit.
2223
(Ian Clatworthy, #408841)
2228
* Bazaar's native protocol code now correctly handles EINTR, which most
2229
noticeably occurs if you break in to the debugger while connected to a
2230
bzr+ssh server. You can now can continue from the debugger (by typing
2231
'c') and the process continues. However, note that pressing C-\ in the
2232
shell may still kill the SSH process, which is bug 162509, so you must
2233
sent a signal to the bzr process specifically, for example by typing
2234
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
2236
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
2237
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
2238
(Robert Collins, #416732)
2240
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
2241
format" (John Arbash Meinel, #424392)
2243
* ``bzr log stacked-branch`` shows the full log including
2244
revisions that are in the fallback repository. (Regressed in 2.0rc1).
2245
(John Arbash Meinel, #419241)
2247
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
2248
traceback. (Martin Pool, #109115)
2250
* Conversion to 2a will create a single pack for all the new revisions (as
2251
long as it ran without interruption). This improves both ``bzr upgrade``
2252
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
2253
The autopack logic that occurs every 100 revisions during local
2254
conversions was not returning that pack's identifier, which resulted in
2255
the partial packs created during the conversion not being consolidated
2256
at the end of the conversion process. (Robert Collins, #423818)
2258
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
2259
Groups that are seen as 'underutilized' will be repacked on-the-fly.
2260
This means that when the source is fully packed, there is minimal
2261
overhead during the fetch, but if the source is poorly packed the result
2262
is a fairly well packed repository (not as good as 'bzr pack' but
2263
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
2265
* Fix a potential segmentation fault when doing 'log' of a branch that had
2266
ghosts in its mainline. (Evaluating None as a tuple is bad.)
2267
(John Arbash Meinel, #419241)
2269
* ``groupcompress`` sort order is now more stable, rather than relying on
2270
``topo_sort`` ordering. The implementation is now
2271
``KnownGraph.gc_sort``. (John Arbash Meinel)
2273
* Local data conversion will generate correct deltas. This is a critical
2274
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
2275
converting repositories. (Robert Collins, #422849)
2277
* Network streams now decode adjacent records of the same type into a
2278
single stream, reducing layering churn. (Robert Collins)
2280
* Prevent some kinds of incomplete data from being committed to a 2a
2281
repository, such as revisions without inventories, a missing chk_bytes
2282
record for an inventory, or a missing text referenced by an inventory.
2283
(Andrew Bennetts, #423506, #406687)
2288
* Fix assertion error about "_remember_remote_is_before" when pushing to
2289
older smart servers.
2290
(Andrew Bennetts, #418931)
2292
* Help on hooks no longer says 'Not deprecated' for hooks that are
2293
currently supported. (Ian Clatworthy, #422415)
2295
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
2296
user documentation. The HTML documentation is better broken up into
2297
topics. (Ian Clatworthy)
2299
* The developer and foreign language documents are now separated
2300
out so that searching in the HTML and CHM files produces more
2301
useful results. (Ian Clatworthy)
2303
* The main table of contents now provides links to the new Migration Docs
2304
and Plugins Guide. (Ian Clatworthy)
2310
:Codename: no worries
2311
:2.0.0rc1: 2009-08-26
2313
Compatibility Breaks
2314
********************
2316
* The default format for bzr is now ``2a``. This format brings many
2317
significant performance and size improvements. bzr can pull from
2318
any existing repository into a ``2a`` one, but can only transfer
2319
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
2320
has more information about this change. (Robert Collins)
2322
* On Windows auto-detection of Putty's plink.exe is disabled.
2323
Default SSH client for Windows is paramiko. User still can force
2324
usage of plink if explicitly set environment variable BZR_SSH=plink.
2325
(#414743, Alexander Belchenko)
2330
* ``bzr branch --switch`` can now switch the checkout in the current directory
2331
to the newly created branch. (Lukáš Lalinský)
2336
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2337
(Jason Spashett, #76616)
2339
* Fetches were being requested in 'groupcompress' order, but weren't
2340
recombining the groups. Thus they would 'fragment' to get the correct
2341
order, but not 'recombine' to actually benefit from it. Until we get
2342
recombining to work, switching to 'unordered' fetches avoids the
2343
fragmentation. (John Arbash Meinel, #402645)
2345
* Fix a pycurl related test failure on karmic by recognizing an error
2346
raised by newer versions of pycurl.
2347
(Vincent Ladeuil, #306264)
2349
* Fix a test failure on karmic by making a locale test more robust.
2350
(Vincent Ladeuil, #413514)
2352
* Fix IndexError printing CannotBindAddress errors.
2353
(Martin Pool, #286871)
2355
* Fix "Revision ... not present" errors when upgrading stacked branches,
2356
or when doing fetches from a stacked source to a stacked target.
2357
(Andrew Bennetts, #399140)
2359
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
2360
batches together small fetches from 2a repositories, rather than
2361
fetching only a few hundred bytes at a time.
2362
(Andrew Bennetts, #402657)
2367
* A better description of the platform is shown in crash tracebacks, ``bzr
2368
--version`` and ``bzr selftest``.
2369
(Martin Pool, #409137)
2371
* bzr can now (again) capture crash data through the apport library,
2372
so that a single human-readable file can be attached to bug reports.
2373
This can be disabled by using ``-Dno_apport`` on the command line, or by
2374
putting ``no_apport`` into the ``debug_flags`` section of
2376
(Martin Pool, Robert Collins, #389328)
2378
* ``bzr push`` locally on windows will no longer give a locking error with
2379
dirstate based formats. (Robert Collins)
2381
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
2382
(Robert Collins, #305006)
2384
* Commit of specific files no longer prevents using the iter_changes
2385
codepath. On 2a repositories, commit of specific files should now be as
2386
fast, or slightly faster, than a full commit. (Robert Collins)
2388
* The internal core code that handles specific file operations like
2389
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
2390
include the parent directories if they have altered, and when a
2391
directory stops being a directory its children are always included. This
2392
fixes a number of causes for ``InconsistentDelta`` errors, and permits
2393
faster commit of specific paths. (Robert Collins, #347649)
2398
* New developer documentation for content filtering.
2404
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2405
classes changed to manage lock lifetime of the trees they open in a way
2406
consistent with reader-exclusive locks. (Robert Collins, #305006)
2414
:Codename: nein nein nein!
2417
This release fixes two small but worthwhile bugs relevant to users on
2418
Microsoft Windows: some commands that failed on with locking errors will
2419
now work, and a bug that caused poor performance after committing a file
2420
with line-ending conversion has now been fixed. It also fixes a bug in
2421
pushing to older servers.
2426
* Fixed a problem where using content filtering and especially end-of-line
2427
conversion will commit too many copies a file.
2428
(Martin Pool, #415508)
2430
* Fix assertion error about ``_remember_remote_is_before`` in
2431
``set_tags_bytes`` when pushing to older smart servers.
2432
(Andrew Bennetts, Alexander Belchenko, #418931)
2437
* ``bzr push`` locally on Windows will no longer give a locking error with
2438
dirstate based formats. (Robert Collins)
2440
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
2441
(Robert Collins, #305006)
2446
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2447
classes changed to manage lock lifetime of the trees they open in a way
2448
consistent with reader-exclusive locks. (Robert Collins, #305006)
2450
* ``Tree.path_content_summary`` may return a size of None, when called on
2451
a tree with content filtering where the size of the canonical form
2452
cannot be cheaply determined. (Martin Pool)
2454
* When manually creating transport servers in test cases, a new helper
2455
``TestCase.start_server`` that registers a cleanup and starts the server
2456
should be used. (Robert Collins)
2461
Compatibility Breaks
2462
********************
2464
* Committing directly to a stacked branch from a lightweight checkout will
2465
no longer work. In previous versions this would appear to work but would
2466
generate repositories with insufficient data to create deltas, leading
2467
to later errors when branching or reading from the repository.
2468
(Robert Collins, bug #375013)
2476
* Fetching from 2a branches from a version-2 bzr protocol would fail to
2477
copy the internal inventory pages from the CHK store. This cannot happen
2478
in normal use as all 2a compatible clients and servers support the
2479
version-3 protocol, but it does cause test suite failures when testing
2480
downlevel protocol behaviour. (Robert Collins)
2482
* Fix a test failure on karmic by making a locale test more robust.
2483
(Vincent Ladeuil, #413514)
2485
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
2486
fully packed 2a repository. (Andrew Bennetts, #382463)
2488
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2489
(Jason Spashett, #76616)
2491
* Properly handle fetching into a stacked branch while converting the
2492
data, especially when there are also ghosts. The code was filling in
2493
parent inventories incorrectly, and also not handling when one of the
2494
parents was a ghost. (John Arbash Meinel, #402778, #412198)
2496
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
2497
inventory pages when appropriate (by falling back to the vfs stream
2498
source). (Andrew Bennetts, #406686)
2500
* StreamSource generates rich roots from non-rich root sources correctly
2501
now. (Andrew Bennetts, #368921)
2503
* When deciding whether a repository was compatible for upgrading or
2504
fetching, we previously incorrectly checked the default repository
2505
format for the bzrdir format, rather than the format that was actually
2506
present on disk. (Martin Pool, #408824)
2511
* A better description of the platform is shown in crash tracebacks, ``bzr
2512
--version`` and ``bzr selftest``.
2513
(Martin Pool, #409137)
2515
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
2516
smart server are more efficient now. They send inventory deltas rather
2517
than full inventories. The smart server has two new requests,
2518
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
2519
support this. (Andrew Bennetts, #374738, #385826)
2521
* Extracting the full ancestry and computing the ``merge_sort`` is now
2522
significantly faster. This effects things like ``bzr log -n0``. (For
2523
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
2524
(John Arbash Meinel)
2535
* ``-Dstrict_locks`` can now be used to check that read and write locks
2536
are treated properly w.r.t. exclusivity. (We don't try to take an OS
2537
read lock on a file that we already have an OS write lock on.) This is
2538
now set by default for all tests, if you have a test which cannot be
2539
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
2540
compatibility knob. (John Arbash Meinel)
2542
* InterDifferingSerializer is now only used locally. Other fetches that
2543
would have used InterDifferingSerializer now use the more network
2544
friendly StreamSource, which now automatically does the same
2545
transformations as InterDifferingSerializer. (Andrew Bennetts)
2547
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
2548
are implemented in pyrex and significantly faster. This is exposed along
2549
with ``CombinedGraphIndex.find_ancestry()`` as
2550
``VersionedFiles.get_known_graph_ancestry(keys)``.
2551
(John Arbash Meinel)
2553
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
2554
protocols. (Robert Collins)
2556
* The index code now has some specialized routines to extract the full
2557
ancestry of a key in a more efficient manner.
2558
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
2559
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
2565
* Install the test ssl certificate and key so that installed bzr
2566
can run the https tests. (Denys Duchier, #392401)
2572
:Codename: little traveller
2574
:1.18rc1: 2009-08-10
2576
This release of Bazaar marches on towards the 2.0 release in which the 2a
2577
'brisbane-core' format becomes generally recommended. Most of the work in
2578
this release now focusses on bug fixes and stabilization, covering both 2a
2579
and previous formats. There is a new text-mode interactive merge feature,
2580
a new guide to migration to 2a format in the user documentation, and
2581
pushing branches to a smart server is now much faster.
2583
The Bazaar team decided that 2.0 will be a long-term supported release,
2584
with bugfix-only releases based on it continuing for at least six months
2585
or until the following stable release.
2587
There are no changes from 1.18rc1 to 1.18.
2592
* ``bzr merge --interactive`` applies a user-selected portion of the
2593
merge. The UI is similar to ``shelve``. (Aaron Bentley)
2595
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
2596
``--unstacked`` to change stacking of a branch.
2597
(Martin Pool, #391411)
2602
* Annotating on a stacked branch will now succeed in simple scenarios.
2603
There are still some complex scenarios where it will fail (bug #399884)
2604
(John Arbash Meinel, #393366)
2606
* A progress bar is no longer left dangling when ``bzr selftest``
2607
completes, and the progress bar updates with zero latency so the
2608
displayed test name is always the one that's actually running.
2609
(Martin Pool, #123688)
2611
* Authenticating against an ssh server now uses ``auth_none`` to determine
2612
if password authentication is even supported. This fixes a bug where
2613
users would be prompted for a launchpad password, even though launchpad
2614
only supports publickey authentication. (John Arbash Meinel, #375867)
2616
* BranchBuilder now accepts timezone to avoid test failures in countries far
2617
from GMT. (Vincent Ladeuil, #397716)
2619
* ``bzr commit`` no longer saves the unversioning of missing files until
2620
the commit has completed on the branch. This means that aborting a
2621
commit that found a missing file will leave the tree unedited.
2622
(Robert Collins, #282402)
2624
* ``bzr mv`` no longer takes out branch locks, which allows it to work
2625
when the branch is readonly. (Robert Collins, #216541)
2627
* ``bzr revert .`` no longer generates an InconsistentDelta error when
2628
there are missing subtrees. (Robert Collins, #367632)
2630
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
2631
do to internal changes necessary to support this, older clients will
2632
fail when trying to insert them. For newer clients, the bundle can be
2633
used to apply the changes to any rich-root compatible format.
2634
(John Arbash Meinel, #393349)
2636
* Cope with FTP servers that don't support restart/append by falling back
2637
to reading and then rewriting the whole file, such as TahoeLAFS. (This
2638
fallback may be slow for some access patterns.) (Nils Durner, #294709)
2640
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
2641
external diff client. This at least allows supporting filenames that are
2642
not ascii, but are present in the current locale. Ideally we would be
2643
able to pass the Unicode path, but that would be client dependent.
2644
(John Arbash Meinel, #382709)
2646
* Fix a compile bug on Solaris having to do with const and
2647
pointer-to-pointers. (John Arbash Meinel, #408441)
2649
* Fixed a NameError that occurs when merging or pulling from a URL that
2650
causes a redirection loop when bzr tries to read a URL as a bundle.
2651
(Andrew Bennetts, #400847)
2653
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
2654
running send and similar commands on 2a formats.
2655
(Martin Pool, #408201)
2657
* Fix crash in some invocations of ``bzr status`` in format 2a.
2658
(Martin Pool, #403523)
2660
* Fixed export to existing directory: if directory is empty then export
2661
will succeed, otherwise it fails with error.
2662
(Alexander Belchenko, #406174)
2664
* Fixed spurious "Source branch does not support stacking" warning when
2665
pushing. (Andrew Bennetts, #388908)
2667
* Fixed spurious transport activity indicator appearing while tests are
2668
running. (Martin Pool, #343532)
2670
* Merge now correctly handles empty right-hand revision specs.
2671
(Aaron Bentley, #333961)
2673
* Renames to lexographically lower basenames in trees that have never been
2674
committed to will no longer corrupt the dirstate. This was caused by an
2675
bug in the dirstate update_minimal method. (Robert Collins, #395556)
2677
* Requests for unknown methods no longer cause the smart server to log
2678
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
2679
``do_end``. (Andrew Bennetts, #338561)
2681
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
2683
* Streaming from bzr servers where there is a chain of stacked branches
2684
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
2686
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
2687
always forces progress bars either on or off respectively. Otherwise,
2688
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
2689
bzr always uses the 'text' user interface when run as a command, so
2690
``BZR_USE_TEXT_UI`` is no longer needed.
2691
(Martin Pool, #339385, #387717)
2693
* The optional ``_knit_load_data_pyx`` C extension was never being
2694
imported. This caused significant slowdowns when reading data from
2695
repositories. (Andrew Bennetts, #405653)
2697
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
2698
supported at the moment on workingtree formats that can do content
2699
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
2700
bzr now says so, rather than just ignoring the option. (Martin Pool)
2702
* There was a bug in ``osutils.relpath`` that was only triggered on
2703
Windows. Essentially if you were at the root of a drive, and did
2704
something to a branch/repo on another drive, we would go into an
2705
infinite loop while trying to find a 'relative path'.
2706
(John Arbash Meinel, #394227)
2708
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
2709
were present in a parent tree but renamed in the working tree.
2710
(Robert Collins, #187207)
2715
* Can now rename/move files even if they have been removed from the inventory.
2718
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
2719
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
2720
than VFS methods. For example, pushes of small branches with tags take
2721
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
2723
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
2724
the same way that sending Ctrl-\\ does on other platforms.
2725
(John Arbash Meinel)
2730
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
2735
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
2736
need to subclass or create a specific class, or better yet the existing
2737
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
2738
user interaction at all, rather than trying to read from stdin but not
2739
writing any output, which would be strange if reading prompts or
2740
passwords. (Martin Pool)
2742
* New TransformPreview.commit() allows committing without a working tree.
2745
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
2748
* ProgressTasks now prefer to talk direct to their ProgressView not to the
2752
* ``WorkingTree._check`` now requires a references dict with keys matching
2753
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
2758
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
2759
reading the entries along the path, reducing work to lookup ids from
2760
paths. (Robert Collins)
2762
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
2763
as new a key which was already mapped. (Robert Collins)
2765
* Inventory delta application catches more cases of corruption and can
2766
prevent corrupt deltas from affecting consistency of data structures on
2767
disk. (Robert Collins)
2769
* --subunit support now adds timestamps if the subunit version supports
2770
it. (Robert Collins)
2772
* The Windows all-in-one installer now bundles the PyQt image format
2773
plugins, which allows previewing more images as part of 'qdiff'.
2774
(Alexander Belchenko)
2780
* Merge directive cherrypick tests must use the same root id.
2781
(Martin Pool, #409684)
2783
* Spurious failure in ``check`` tests on rich-root formats fixed.
2784
(Martin Pool, #408199)
2786
* The ``bzrlib.tests.TextTestRunner`` will no longer call
2787
``countTestsCases`` on the test being run. Progress information is
2788
instead handled by having the test passed in call ``result.progress``
2789
before running its contents. This improves the behaviour when using
2790
``TextTestRunner`` with test suites that don't support
2791
``countTestsCases``. (Robert Collins)
2794
bzr 1.17.1 (unreleased)
2795
#######################
2800
* The optional ``_knit_load_data_pyx`` C extension was never being
2801
imported. This caused significant slowdowns when reading data from
2802
knit format repositories. (Andrew Bennetts, #405653)
2807
:Codename: so-late-its-brunch
2808
:1.17rc1: 2009-07-13
2812
Bazaar continues to blaze a straight and shining path to the 2.0 release and
2813
the elevation of the ``2a`` beta format to the full glory of "supported and
2816
Highlights in this release include greatly reduced memory consumption during
2817
commits, faster ``ls``, faster ``annotate``, faster network operations if
2818
you're specifying a revision number and the final destruction of those
2819
annoying progress bar artifacts.
2822
Changes from 1.17rc1 to 1.17final
2823
*********************************
2825
* Change an extension to call the python ``frozenset()`` rather than the C
2826
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
2827
C api. (John Arbash Meinel, #399366)
2829
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
2830
``tools/generate_docs.py`` to allow everything to be built on Windows.
2831
(John Arbash Meinel, #399356)
2833
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
2834
directory before serving it. (Andrew Bennetts, #400535)
2837
12
Compatibility Breaks
2838
13
********************