6
5
.. contents:: List of Releases
12
:2.3b1: NOT RELEASED YET
17
* BzrError subclasses no longer support the name "message" to be used
18
as an argument for __init__ or in _fmt format specification as this
19
breaks in some Python versions. errors.LockError.__init__ argument
20
is now named "msg" instead of earlier "message".
21
(Parth Malwankar, #603461)
23
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
27
* `tree_files` and `internal_tree_files` are now deprecated in favor of
28
`WorkingTree.open_containing_paths`.
31
* `ControlDirFormat` and `ControlDir` have been split out of `BzrDirFormat`
32
and `BzrDir`, respectively. `ControlDirFormat`
33
and `ControlDir` should be used as the base classes for new non-.bzr
36
`BzrDirFormat.register_control_format` has been renamed to
37
`ControlDirFormat.register_format`.
39
`BzrDirFormat.register_server_control_format` has been removed.
41
Probing for control directories is now done by separate objects derived
42
from `bzrlib.controldir.Prober` and registered using
43
`bzrlib.controldir.ControlDirFormat.register_prober` or
44
`bzrlib.controldir.ControlDirFormat.register_server_prober`.
45
`BzrDirFormat.probe_transport` has been moved onto `Prober`.
47
`BzrDirFormat.register_format` has been renamed to
48
`BzrProber.register_bzrdir_format`.
51
* The old ``bzr selftest --benchmark`` option has been removed.
52
<https://launchpad.net/bzr-usertest> is an actively-maintained
59
* The ``lp:`` prefix will now use your known username (from
60
``bzr launchpad-login``) to expand ``~`` to your username. For example:
61
``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
62
push to ``lp:~user/project/branch``. (John Arbash Meinel)
67
* Allow using both --using and --diff-options.
68
(Matthäus G. Chajdas, #234708)
70
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
71
previously-unversioned directory within the tree: the directory is
73
(Martin Pool, #192859)
75
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
76
``InvalidPattern`` exception error message now shows faulting
78
(Parth Malwankar #300062)
80
* CommitBuilder now uses the committer instead of _config.username to generate
81
the revision-id. (Aaron Bentley, #614404)
83
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
84
Directory created' when mkdir succeeds. (Martin Pool, #224373)
86
* Decrease peak memory during ``bzr send``. The old code was caching all
87
text content and all inventory strings for all revisions before
88
computing the diffs. Now we only cache as long as there is a child that
89
will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
90
256MB peak. (John Arbash Meinel, #614576)
92
* Don't print internal object name when print an invalid revision spec
93
error. (Neil Martinsen-Burrell, #598701)
95
* Fix ``AttributeError on parent.children`` when adding a file under a
96
directory that was a symlink in the previous commit.
97
(Martin Pool, #192859)
99
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
100
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
102
* `PathNotChild` should not give a traceback.
103
(Martin Pool, #98735)
105
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
106
which can result in "missing referenced chk root keys" errors when
107
fetching from repositories with affected revisions.
108
(Andrew Bennetts, #522637)
110
* ``Transport.stat`` on a symlink, including a transport pointing directly
111
to a symlink, now returns information about the symlink.
117
* ``bzr remove`` now just backs up changed files instead of exiting,
118
forcing you to choose to either keep or delete them. Bazaar will now delete
119
the files if they can easily be recovered using revert, otherwise they
120
will be backed up (adding an extention of the form .~#~).
121
(Marius Kruger, #400554)
123
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
124
have dropped from 68 bytes to 40, and directory entries from 120 bytes
125
to 48). (Andrew Bennetts)
127
* When building new working trees, default to reading from the repository
128
rather than the source tree unless explicitly requested. (via
129
``--files-from`` and ``--hardlink`` for ``bzr branch`` and
130
``bzr checkout``. Generally, 2a format repositories extract
131
content faster than seeking and reading content from another tree,
132
especially in cold-cache situations. (John Arbash Meinel, #607298)
137
* Added a builder/writer sphinx extension that can generate texinfo files. The
138
generated files are syntactically correct but the info navigation nodes
139
needs more work. (Vincent Ladeuil, #219334)
141
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
142
to make the tests conditional.
145
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
146
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
147
(John Arbash Meinel, #617503)
152
* InventoryEntry instances now raise AttributeError if you try to assign
153
to attributes that are irrelevant to that kind of entry. e.g. setting
154
``symlink_target`` on an InventoryFile will fail. It is still okay to
155
read those attributes on any kind of InventoryEntry. The complete list
156
of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
157
``text_size`` (only valid for kind == file); ``symlink_target`` (only
158
valid for kind == link); and ``reference_revision`` (only valid for kind
159
== tree-reference). (Andrew Bennetts)
161
* InventoryEntry objects no longer have ``_put_in_tar`` or
162
``_put_on_disk`` methods. (Andrew Bennetts)
167
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
173
* The way ``bzr selftest --parallel`` generates N partitions of tests to
174
run in parallel has changed. Instead of splitting the list of tests at
175
N-1 points, it distributes the tests one-by-one into the partitions in a
176
round robin fashion. This reduces the total time to run the tests in
177
parallel because a series of slow tests in the test suite will be
178
distributed evenly among the parallel test suites, rather than slowing
179
down just one suite. (Andrew Bennetts)
186
:2.2.1: NOT RELEASED YET
191
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
192
previously-unversioned directory within the tree: the directory is
193
marked versioned too.
194
(Martin Pool, #192859)
196
* CommitBuilder now uses the committer instead of _config.username to generate
197
the revision-id. (Aaron Bentley, #614404)
199
* Cope with Microsoft FTP server that returns reply '250 Directory
200
created' when mkdir succeeds. (Martin Pool, #224373)
202
* Fix ``AttributeError on parent.children`` when adding a file under a
203
directory that was a symlink in the previous commit.
204
(Martin Pool, #192859)
209
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
210
the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
211
(John Arbash Meinel, #617503)
216
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
226
This release marks the start of another long-term-stable series. From
227
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
228
while 2.3 will become our new development series. The 2.0 and 2.1 series
229
will also continue to get bugfixes. (Currently 2.0 is planned to be
230
supported for another 6 months.)
232
This is primarily a bugfix and polish release over the 2.1 series, with
233
a large number of bugs fixed (>120), and some performance improvements.
235
There are some compatibility changes in this release. For users of bzrlib
236
as a library, we now request that they call ``bzrlib.initialize`` and use
237
the returned context manager appropriately. For commandline users we no
238
longer guess user identity for ``bzr commit``, users must specify their
239
identity using ``bzr whoami`` (you don't need to specify your identity for
240
readonly operations).
242
Users are encouraged to upgrade from the other stable series.
247
* BzrError subclasses no longer support the name "message" to be used
248
as an argument for __init__ or in _fmt format specification as this
249
breaks in some Python versions. errors.LockError.__init__ argument
250
is now named "msg" instead of earlier "message".
251
(Parth Malwankar, #603461)
253
* The old ``bzr selftest --benchmark`` option has been removed.
254
<https://launchpad.net/bzr-usertest> is an actively-maintained
255
macrobenchmark suite.
261
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
262
``InvalidPattern`` exception error message now shows faulting
264
(Parth Malwankar #300062)
266
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
267
way which should help avoid problems with concurrent writers.
268
(Vincent Ladeuil, #525571)
270
* Don't traceback trying to unversion children files of an already
271
unversioned directory. (Vincent Ladeuil, #494221)
273
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
274
with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
276
* Progress bars prefer to truncate the text message rather than the
277
counters. The spinner is shown between the network transfer indicator
278
and the progress message. Progress bars are correctly cleared off when
279
they finish. (Martin Pool, #611127)
281
* Recursive binding for checkouts is now detected by bzr. A clear error
282
message is shown to the user. (Parth Malwankar, #405192)
287
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
288
tree, and works with unrelated branches. (Andrew Bennetts)
290
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
291
GUI with out have a console open in the background.
292
(Gary van der Merwe, #433781)
297
* ``bzr help patterns`` now explains case insensitive patterns and
298
points to Python regular expression documentation.
299
(Parth Malwankar, #594386)
304
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
309
* Unit test added to ensure that "message" is not uses as a format variable
310
name in BzrError subclasses as this conflicts with some Python versions.
311
(Parth Malwankar, #603461)
316
:Codename: Monkey Magic
320
This fourth and final beta in the 2.2 series now stabilizes the internal
321
APIs. Plugin authors are recommended to ensure their releases are
322
compatible, so that 2.2rc1 can be a true release candidate, containing
323
stable and compatible plugin versions.
325
For users of bzrlib as a library, one of the primary changes is to request
326
that they call ``bzrlib.initialize`` and use the returned context manager
329
Better interaction with ``bzr-loom`` to make sure branching from a loom
330
even over a smart server still yields a local loom. Not to mention lots of
336
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
337
the result of ``bzrlib.initialize``. This change was made when fixing
338
the bad habit recent bzr versions have had of leaving progress bars
339
behind on the screen. That required calling another function before
340
exiting the program, and it made sense to provide a full context
341
manager at the same time. (Robert Collins)
343
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
344
context manager in the Python 2.5 and above sense. The bzrlib base class
345
is such a manager, but third party UI factories which do not derive from
346
``bzrlib.ui.UIFactory`` will be incompatible with the command line front
349
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
350
and path "bar/baz", even if bzr does not recognize "foo" as a known URL
351
scheme. Previously these URLs would be treated as local paths.
358
* Support ``--directory`` option for a number of additional commands:
359
conflicts, merge-directive, missing, resolve, shelve, switch,
360
unshelve, whoami. (Martin von Gagern, #527878)
365
* ``bzr branch`` to a new repository with a default stacking policy no
366
longer transfers the full history unnecessarily.
367
(Andrew Bennetts, #597942)
369
* ``bzr init`` does not recursively scan directory contents anymore
370
leading to faster init for directories with existing content.
371
(Martin [gz], Parth Malwankar, #501307)
373
* ``bzr log --exclude-common-ancestry`` is now taken into account for
374
linear ancetries. (Vincent Ladeuil, #575631)
376
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
377
rather than trying to fetch the data locally and failing because of a
378
readonly error. (Martin von Gagern, #149270)
380
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
381
or pull location in locations.conf or branch.conf.
382
(Gordon Tyler, #534787)
384
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
385
smart server. (Andrew Bennetts, #551525)
387
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
388
(Marius Kruger, Robert Collins)
390
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
391
(Marius Kruger, Robert Collins)
393
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
394
proper error messages. (Vincent Ladeuil, #591215)
396
* Explicitly removing ``--profile-imports`` option from parsed command-line
397
arguments on Windows, because bzr script does the same.
398
(Alexander Belchenko, #588277)
400
* Fetching was slightly confused about the best code to use and was
401
using a new code path for all branches, resulting in more lookups than
402
necessary on old branches. (Robert Collins, #593515)
404
* Final fix for 'no help for command' issue. We now show a clean message
405
when a command has no help, document how to set help more clearly, and
406
test that all commands available to the test suite have help.
407
(Robert Collins, #177500)
409
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
410
``InvalidPattern`` exception showing clear error message to the user.
411
(Parth Malwankar #300062)
413
* Progress output is cleaned up when exiting. (Aaron Bentley)
415
* Raise ValueError instead of a string exception.
416
(John Arbash Meinel, #586926)
418
* Relative imports in plugins are now handled correctly when using
419
BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
421
* ``ScriptRunner`` now strips off leading indentation from test scripts,
422
which previously caused "SyntaxError: No command for line".
425
* Show unicode filenames in diff headers using terminal encoding.
426
(Alexander Belchenko, Bug #382699)
427
NOTE for Windows users: If user need to save diff to file then user need to
428
change encoding of the terminal to ANSI encoding with command ``chcp XXX``
429
(e.g. ``chcp 1251`` for Russian Windows).
431
* URL displayed for use with ``break-lock`` when smart server sees lock
432
contention are now valid. Default timeout for lock contention retry is
433
now 30 seconds instead of 300 seconds.
434
(Parth Malwankar, #250451)
436
* ``walkdirs`` now raises a useful message when the filenames are not using
437
the filesystem encoding. (Eric Moritz, #488519)
439
* Enable debugging of bzr on windows with pdb and other tools. This was
440
broken because we call GetCommandLineW on windows. The fix adjusts the
441
command line we get to be the same length as sys.argv.
442
(Jason Spashett, Alexander Belchenko, #587868)
447
* Bazaar now reads data from SSH connections more efficiently on platforms
448
that provide the ``socketpair`` function, and when using paramiko.
449
(Andrew Bennetts, #590637)
451
* ``Branch.copy_content_into`` is now a convenience method dispatching to
452
a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
453
plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
454
(Robert Collins, #201613)
456
* ``Branch`` formats can now be loaded lazily by registering a
457
``MetaDirBranchFormatFactory`` rather than an actual format. This will
458
cause the named format class to be loaded only when an enumeration of
459
formats is needed or when the format string for the object is
460
encountered. (Robert Collins, Jelmer Vernooij)
462
* The encoding that bzr uses to output things other than file content can
463
now be overridden via the output_encoding configuration option.
464
(Martin Pool, #340394)
466
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
467
do not cause modules to be loaded unnecessarily just because the plugin
468
registers a merge hook. This improves ``bzr rocks`` time by about 25%
469
in a default installation (with just the core plugins).
475
* Added ``regression`` tag to our tags list. (Robert Collins)
477
* Improved our release checklist to have a bit less churn and leave things
478
ready-to-go for the next action (including other people doing
479
development). (Robert Collins)
481
* Remove obsolete discussion of PQM in documentation about how to
482
contribute to Bazaar. (Martin Pool, #588444)
487
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
488
an iterable of format pairs, rather than just a single pair, permitting
489
InterBranch objects that work with multiple permutations to be
490
comprehensively tested. (Robert Collins)
492
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
493
profiles when concurrent profile requests are made. Instead the profile
494
requests will be serialised. Reentrant requests will now deadlock.
497
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
498
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
499
``bzrlib.patiencediff`` instead. (Andrew Bennetts)
501
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
502
``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
503
case the default error message not suitable for the use case.
506
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated. It provided only
507
one method ``check_output``, and we now recommend checking command
508
output using ``run_script``. (Martin Pool)
510
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
511
that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
512
Third-party implementations of ``SSHVendor`` may need to be updated
513
accordingly. Similarly, any code using ``SSHConnection`` directly will
514
need to be updated. (Andrew Bennetts)
516
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
517
changed to take an ``SSHParams`` instance (replacing many individual
518
values). (Andrew Bennetts)
523
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
524
selection when explicitly requested; this avoids many duplicate calls
525
being logged when helpers, wrappers and older code that manually calls
526
it are executed it is now logged deliberately by the ui setup code.
529
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
531
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
532
that ``sys.getsizeof`` and other memory analysis tools will report more
533
accurate results. (Andrew Bennetts)
535
* The symbol_versioning module can now cleanup after itself -
536
``suppress_deprecation_warnings`` now returns a cleanup function.
542
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
543
to test. (Martin Pool)
545
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
546
(Vincent Ladeuil, #595587)
553
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
554
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
555
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
556
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
557
bash completion script and bzr will no longer guess at identity details -
558
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
559
For developers we have some API changes which may impact plugins as well
560
as a bunch of our regular improvements to internal clarity and test
566
* An API break has been made to the lock_write method of ``Branch`` and
567
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
568
and ``repository.RepositoryWriteLockResult`` objects. This makes
569
changing the API in future easier and permits some cleaner calling code.
570
The lock_read method has also changed from having no defined return
571
value to returning ``LogicalLockResult`` objects.
574
* ``bzr`` does not try to guess the username as ``username@hostname``
575
and requires it to be explictly set. This can be set using ``bzr
576
whoami``. (Parth Malwankar, #549310)
578
* ``bzrlib.commands.Command`` will now raise ValueError during
579
construction if there is no __doc__ set. (Note, this will be reverted in
580
2.2b4) (Robert Collins)
582
* The source tree no longer contains a contrib/zsh/_bzr completion
583
script. The new file contrib/zsh/README suggests alternatives.
584
(Martin von Gagern, #560030)
589
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
591
(Parth Malwankar, #571467)
593
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
594
the default ignore rules used by bzr. The flag ``--old-default-rules``
595
is no longer supported by ``ignore``.
596
(Parth Malwankar, #538703)
598
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
599
can save disk space by deleting obsolete pack files created during the
601
(Parth Malwankar, #304320)
603
* New command line option ``--authors`` to ``bzr log`` allows users to
604
select which of the apparent authors and committer should be
605
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
607
* Support ``--directory`` option for a number of additional commands:
608
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
609
export, ignore, ignored, lookup-revision, ls, modified, nick,
610
re-sign, unbind, unknowns.
611
(Martin von Gagern, #527878)
613
* The bash_completion plugin from the bzr-bash-completion project has
614
been merged into the tree. It provides a bash-completion command and
615
replaces the outdated ``contrib/bash/bzr`` script with a version
616
using the plugin. (Martin von Gagern, #560030)
618
* A new transport based on GIO (the gnome i/o library) provides access to
619
samba shares, webdav using gio+smb and gio+dav. It is also possible to
620
use gio for some already existing transport methods as gio+file,
627
* Alias information shown by ``bzr help`` is now accurate. This
628
was showing an internal object name for some plugin aliases.
629
(Parth Malwankar, #584650)
631
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
632
group ownership from the containing directory. This allow bzr to work
634
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
636
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
637
support of bzr-externals and scmproj plugins.
638
(Alexander Belchenko, bug #572098)
640
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
641
(Gordon Tyler, #572092)
643
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
644
are part of Y ancestry but not part of X ancestry (aka the graph
646
(Vincent Ladeuil, #320119)
648
* ``bzr lp-propose`` which was switched to use production Launchpad API
649
servers a few commits ago has been reverted to use edge: there is a
650
problem with using production which isn't trivially obvious, so we've
651
filed a bug to track it, and until thats fixed will be using edge.
652
(Robert Collins, #583667)
654
* ``bzr rm`` should not refuse to delete directories which contained a file
655
which has been moved elsewhere in the tree after the previous commit.
656
(Marius Kruger, Daniel Watkins, #129880)
658
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
659
(Vincent Ladeuil, #566670)
661
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
662
(Vincent Ladeuil, #563997)
664
* CommitBuilder refuses to create revisions whose trees have no root.
667
* Do not register a SIGWINCH signal handler, instead just poll for the
668
terminal width as needed. This avoids the "Interrupted System Call"
669
problems that occur on POSIX with all currently released versions of
671
(Andrew Bennetts, #583941)
673
* Don't mention --no-strict when we just issue the warning about unclean trees.
674
(Vincent Ladeuil, #401599)
676
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
678
(Andrew Bennetts, #528041)
680
* Improved progress bar for fetch (2a format only). Bazaar now shows an
681
estimate of the number of records to be fetched vs actually fetched.
682
(Parth Malwankar, #374740, #538868)
684
* Reduce peak memory by one copy of compressed text.
685
(John Arbash Meinel, #566940)
687
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
688
read lock, rather than causing an ``AttributeError``.
689
(Andrew Bennetts, Данило Шеган, #582781)
691
* Selftest was failing with testtools 0.9.3, which caused an
692
AssertionError raised from a cleanUp to be reported as a Failure, not an
693
Error, breaking on of our test hygiene tests.
694
(Robert Collins, Vincent Ladeuil).
696
* ``set_user_option`` with a dict on remote branches no longer fails with
697
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
698
to support this efficiently.
699
(Andrew Bennetts, #430382)
701
* Show the filenames when a file rename fails so that the error will be
703
(Martin Pool, #491763)
705
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
706
(John Arbash Meinel, #582656)
708
* Unicode characters in aliases are now handled correctly and do not cause
709
UnicodeEncodeError exception. (Parth Malwankar, #529930)
711
* Unicode commit messages that are the same as a file name no longer cause
712
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
714
(Parth Malwankar, #563646)
716
* Using bzr with `lp:` urls behind an http proxy should work.
717
(Robert Collins, #558343)
719
* When passing a file to ``UTF8DirReader`` make sure to close the current
720
directory file handle after the chdir fails. Otherwise when passing many
721
filenames into a command line ``bzr status`` we would leak descriptors.
722
(John Arbash Meinel, #583486)
727
* ``append_revisions_only`` will now be interpreted as a boolean and a
728
warning emitted if illegal values are used. Note that for projects
729
that needs to maintain compatibility with previsous bzr versions,
730
only 'True' and 'False' strings must be used (previous versions of
731
bzr will interpret all strings differing from 'True'
732
(case-sensitive) as false.
733
(Brian de Alwis, Vincent Ladeuil)
735
* ``bzr ls`` now supports short options for existing long options.
736
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
737
(Parth Malwankar, #181124)
739
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
740
be interpreted as a boolean.
743
* The all-in-one Windows installer will now be built with docstrings stripped
744
from the library zip, reducing the size and slightly improving cold startup
745
time. Bundled plugins are unchanged for the moment, but if adding other new
746
plugins to an all-in-one installation, ensure they are compiled and
747
installed with -O1 or help may not work. (Martin [gz])
752
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
753
some kinds of ``merge_file_content`` hook functions.
756
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
757
`user_transport`, `control_url` and `control_transport` members pointing
758
respectively to the directory containing the ``.bzr`` control directory,
759
and to the directory within ``.bzr`` used for the particular component.
760
All of them inherit from `ControlComponent` which provides default
764
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
765
expected to return an object which can be used to unlock them. This reduces
766
duplicate code when using cleanups. The previous 'tokens's returned by
767
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
768
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
769
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
771
* ``Repository.refresh_data`` may now be called in a write group on
772
pack-based repositories. Older repositories will still raise an error
773
in this case. Subclasses of ``Repository`` can still override
774
``Repository._refresh_data``, but are now responsible for raising
775
``bzrlib.repository.IsInWriteGroupError`` if they do not support
776
``refresh_data`` during a write group.
777
(Andrew Bennetts, #574236)
782
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
783
the (file-id, revision-id) key from a CHKInventory entry. This can
784
potentially shave 5-10% time off during a large fetch. Related to bug
785
#562666. (John Arbash Meinel)
787
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
790
* ``_remember_remote_is_before`` no longer raises AssertionError when
791
suboptimal network behaviour is noticed; instead it just mutters to the
792
log file (and warns the user if they have set the ``hpss`` debug flag).
793
This was causing unnecessary aborts for performance bugs that are minor
795
(Andrew Bennetts, #528041)
797
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
798
files loaded from disk. To ensure docstrings needed for help are never
799
stripped, the prefix ``__doc__ =`` should now be used.
800
(Martin <gzlist@googlemail.com>)
802
* No longer require zlib headers to build extensions, and remove the need
803
for seperate copy of zlib library on windows.
804
(John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
809
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
810
our first in-tree matcher. See the module docstring for details.
813
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
814
(Gordon Tyler, #551332)
816
* Workaround ``Crypto.Random`` check leading to spurious test
817
failures on Lucid, FreeBSD and gentoo.
818
(Vincent Ladeuil, #528436)
820
* New class ``ExecutableFeature`` for checking the availability of
821
executables on the ``PATH``. Migrated from bash_completion plugin.
829
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
830
incompatibility in the 2.2b1 release. It also includes a swag of
831
performance, usability and correctness improvements: test feedback on all
832
of these would be welcome.
838
* ``bzr diff`` now supports a --format option, which can be used to
839
select alternative diff formats. (Jelmer Vernooij, #555994)
844
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
845
instead of failing when dirty trees are involved. The corresponding
846
``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
847
True explicitly to get the previous behaviour.
848
(Vincent Ladeuil, #519319)
850
* ``bzr export`` to tar file does not fail if any parent directory
851
contains unicode characters. This works around upstream Python bug
852
http://bugs.python.org/issue8396 .
853
(Parth Malwankar, #413406)
855
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
856
(Aaron Bentley, #559436)
858
* ``bzr update`` when a pending merge in the working tree has been merged
859
into the master branch will no longer claim that old commits have become
860
pending merges. (Robert Collins, #562079)
862
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
863
config as in previous versions of bzrlib. (Robert Collins)
865
* Fix glitch in the warning about unclean trees display.
866
(Vincent Ladeuil, #562665)
868
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
871
* Help messages generated by ``RegistryOption.from_kwargs`` list the
872
switches in alphabetical order, rather than in an undefined order.
873
(Martin von Gagern, #559409)
875
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
876
Apport crash reports, to avoid "This problem report applies to a program
877
which is not installed any more" error.
878
(Martin Pool, James Westby, #528114)
880
* Reset ``siginterrupt`` flag to False every time we handle a signal
881
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
882
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
883
errors compared to registering ``signal.signal`` directly.
886
* When invoked with a range revision, ``bzr log`` doesn't show revisions
887
that are not part of the Y revisions ancestry anymore when invoked with
889
(Vincent Ladeuil, #474807)
891
* Properly handle ``param_name`` attribute for ``ListOption``.
892
(Martin von Gagern, #387117)
897
* ``bzr commit`` will prompt before using a commit message that was
898
generated by a template and not edited by the user.
899
(Robert Collins, #530265)
901
* ``bzr diff`` read-locks the trees and branches only once, saving about
902
10-20ms on ``bzr diff`` in a bzr.dev tree.
905
* ``bzr missing`` read-locks the branches only once.
908
* ``bzr pull`` locks the branches and tree only once.
911
* Index lookups in pack repositories search recently hit pack files first.
912
In repositories with many pack files this can greatly reduce the
913
number of files accessed, the number of bytes read, and the number of
914
read calls. An incremental pull via plain HTTP takes half the time and
915
bytes for a moderately large repository. (Andrew Bennetts)
917
* Index lookups only re-order the indexes when the hit files aren't
918
already first. Reduces the cost of reordering
919
(John Arbash Meinel, #562429)
921
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
923
(Martin Pool, #553017)
928
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated. Use
929
``get_trees_and_branches_to_diff_locked`` instead.
932
* ``TreeTransform.commit`` supports the full set of commit parameters, and
933
auto-determines branch nick if not supplied. (Aaron Bentley)
938
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
939
2.1 method of calling run() to perform testing or direct use via the API
940
is now possible again. As part of this, the _operation attribute on
941
Command is now transient and only exists for the duration of ``run()``.
949
This is the first beta of the 2.2 series, leading up to a 2.2.0
950
release in July or August. Beta releases are suitable for everyday use
951
but may cause some incompatibilities with plugins. Some plugins may need
952
small updates to work with 2.2b1.
954
2.2b1 includes some changes to make merge conflicts easier to understand
955
and resolve. It also removes some old unnecessary code, and loads
956
somewhat less code at startup. It starts adding a common infrastructure
957
for dealing with colocated named branches, which can be implemented in
958
various ways in either bzr native or foreign formats. On Ubuntu and
959
other platforms with the apport bug-reporting library, there's an easier
960
path to report problems with bzr. We plan to continue with these themes
961
through the 2.2 series.
963
Over thirty bugs have been fixed, including in the log command, exporting
964
to tarballs, restarting interrupted system calls, portability of compiled
965
extensions, making backups during upgrade, and locking on ftp.
970
* BTreeGraphIndex can now take an offset to indicate that the data starts
971
somewhere other than then beginning of the file. (John Arbash Meinel)
973
* Deleted very old hidden commands ``versionedfile-list``,
974
``weave-plan-merge``, ``weave-merge-text``.
977
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
978
have been removed. (Jelmer Vernooij)
980
* ``Repository.get_revision_inventory()`` has been removed in favor of
981
``Repository.get_inventory()``. (Jelmer Vernooij)
983
* All test servers have been moved out of the bzrlib.transport hierarchy to
984
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
985
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
986
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
987
``bzrlib.tests.test_server``.
990
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
991
as its second parameter, for consistency with the initialize() method of
992
other formats. (Jelmer Vernooij)
997
* Added ``bzr remove-branch`` command that can remove a local or remote
998
branch. (Jelmer Vernooij, #276295)
1000
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
1001
to set file mtimes to the last timestamp of the last revision in which
1002
they were changed rather than the current time. (Jelmer Vernooij)
1004
* If the Apport crash-reporting tool is available, bzr crashes are now
1005
stored into the ``/var/crash`` apport spool directory, and the user is
1006
invited to report them to the developers from there, either
1007
automatically or by running ``apport-bug``. No information is sent
1008
without specific permission from the user. (Martin Pool, #515052)
1010
* Parsing of command lines, for example in ``diff --using``, no longer
1011
treats backslash as an escape character on Windows. (Gordon Tyler,
1014
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
1015
a list of plugin names separated by ':' (';' on windows).
1016
(Vincent Ladeuil, #411413)
1018
* Plugins can be loaded from arbitrary locations by defining
1019
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
1020
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
1021
specified plugins. This is targeted at plugin developers for punctual
1022
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
1023
(Vincent Ladeuil, #82693)
1025
* Tag names can now be determined automatically by ``automatic_tag_name``
1026
hooks on ``Branch`` if they are not specified on the command line.
1029
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
1030
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
1031
as resolved is still accessible via the ``--done`` default action.
1034
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
1035
(Aaron Bentley, Jonathan Lange)
1040
* Added docstring for ``Tree.iter_changes``
1041
(John Arbash Meinel, #304182)
1043
* Allow additional arguments to
1044
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
1046
* Allow exporting a single file using ``bzr export``.
1047
(Michal Junák, #511987)
1049
* Allow syscalls to automatically restart when ``TextUIFactory``'s
1050
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
1051
IO, which are often poorly handled by Python's libraries and parts of
1052
bzrlib. (Andrew Bennetts, #496813)
1054
* Avoid infinite recursion when probing for apport.
1055
(Vincent Ladeuil, #516934)
1057
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1058
(Martin Pool, #331095)
1060
* Avoid truncating svn URLs.
1061
(Martin Pool, Martin von Gagern, #545185)
1063
* ``bzr add`` will not add conflict related files unless explicitly required.
1064
(Vincent Ladeuil, #322767, #414589)
1066
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
1067
indices do not have reference lists, so ``dump-btree`` will simply show
1068
``None`` instead. (Andrew Bennetts, #488607)
1070
* ``bzr help`` will no longer trigger the get_missing_command hook when
1071
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
1072
did you mean log?') when getting help. In future we may trigger the hook
1073
deliberately when no help topics match from any help index.
1074
(Robert Collins, #396261)
1076
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
1077
revspec as representing the first revision of the branch.
1078
(Vincent Ladeuil, #519862)
1080
* ``bzr remove-tree`` can now remove multiple working trees.
1081
(Jared Hance, Andrew Bennetts, #253137)
1083
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
1084
the kept file on content conflicts where one side deleted the file.
1085
(Vincent Ladeuil, #529968)
1087
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1088
permissions as ``.bzr`` directory on a POSIX OS.
1089
(Parth Malwankar, #262450)
1091
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
1092
of ``backup.bzr``. This directory is ignored by bzr commands such as
1094
(Parth Malwankar, #335033, #300001)
1096
* Cope with non-utf8 characters inside ``.bzrignore``.
1097
(Jason Spashett, #183504)
1099
* Correctly interpret "451 Rename/move failure: Directory not empty" from
1100
ftp servers while trying to take a lock.
1101
(Martin Pool, #528722)
1103
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
1104
changes occured between the workingtree and one of its parents.
1105
(Vincent Ladeuil, #535547)
1107
* Fix ``log`` to better check ancestors even if merged revisions are involved.
1108
(Vincent Ladeuil, #476293)
1110
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
1111
on os.lisdir() order and is now reliable.
1112
(Vincent Ladeuil, #552922).
1114
* Many IO operations that returned ``EINTR`` were retried even if it
1115
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
1116
only retries operations that are safe to retry, and in some cases has
1117
switched to operations that can be retried (e.g. ``sock.send`` rather than
1119
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
1121
* Path conflicts now support --take-this and --take-other even when a
1122
deletion is involved.
1123
(Vincent Ladeuil, #531967)
1125
* Network transfer amounts and rates are now displayed in SI units according
1126
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
1127
(Gordon Tyler, #514399)
1129
* Support kind markers for socket and fifo filesystem objects. This
1130
prevents ``bzr status --short`` from crashing when those files are
1131
present. (John Arbash Meinel, #303275)
1133
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
1134
directory. (Parth Malwankar, #138600)
1136
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
1137
the debugger won't kill the session.
1138
(Martin <gzlist@googlemail.com>, #162502)
1140
* Tolerate patches with leading noise in ``bzr-handle-patch``.
1141
(Toshio Kuratomi, Martin Pool, #502076)
1143
* ``update -r`` now supports updating to revisions that are not on
1144
mainline (i.e. it supports dotted revisions).
1145
(Parth Malwankar, #517800)
1147
* Use first apparent author not committer in GNU Changelog format.
1148
(Martin von Gagern, #513322)
1153
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
1154
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
1157
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
1158
branch to create. (Jelmer Vernooij)
1160
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
1161
colocated branch to open. (Jelmer Vernooij)
1163
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
1164
can set a signal handler and call ``signal.siginterrupt(signum,
1165
False)`` for it, if the platform and Python version supports it.
1166
(Andrew Bennetts, #496813)
1168
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
1169
run when starting up; it sets up several things that previously needed
1170
to be done separately.
1171
(Martin Pool, #507710)
1173
* Exporters now support a ``per_file_timestamps`` argument to write out the
1174
timestamp of the commit in which a file revision was introduced.
1177
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
1178
present in a control directory. (Jelmer Vernooij)
1180
* New method ``Repository.get_known_graph_ancestry()``.
1181
(Jelmer Vernooij, #495502)
1183
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
1186
* Remove unused ``CommandFailed`` exception.
1192
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
1193
``message_callback`` in the same way that commit does. (Robert Collins)
1195
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
1196
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
1197
of date. (Gary van der Merwe)
1199
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
1200
functions to load or disable plugins if they wish to use a different
1201
plugin mechanism; the --help, --version and no-command name code paths
1202
now use the generic pluggable command lookup infrastructure.
1205
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
1206
which can be set to add extra help to the error. (Gary van der Merwe)
1208
* New method ``Branch.automatic_tag_name`` that can be used to find the
1209
tag name for a particular revision automatically. (Jelmer Vernooij)
1211
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
1212
``BzrDir.open_branch()`` now take an optional ``name`` argument.
1218
* bzr now has a ``.testr.conf`` file in its source tree configured
1219
appropriately for running tests with Testrepository
1220
(``https://launchpad.net/testrepository``). (Robert Collins)
1222
* Documentation about testing with ``subunit`` has been tweaked.
1225
* Known failures has been added for resolve --take-other on ParentLoop
1226
conflicts. This reflects bug #537956 without fixing it.
1229
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
1230
Python modules are loaded, to guard against startup time or library
1231
dependency regressions.
1234
* PQM will now run with subunit output. To analyze a PQM error use
1235
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
1237
* Stop sending apport crash files to ``.cache`` in the directory from
1238
which ``bzr selftest`` was run. (Martin Pool, #422350)
1240
* Tests no longer fail if "close() called during concurrent
1241
operation on the same file object" occurs when closing the log file
1242
(which can happen if a thread tries to write to the log file at the
1243
wrong moment). An warning will be written to ``stderr`` when this
1244
happens, and another warning will be written if the log file could not
1245
be closed after retrying 100 times. (Andrew Bennetts, #531746)
1250
:Codename: Do run run
1251
:2.1.3: NOT RELEASED YET
1253
Compatibility Breaks
1254
********************
1262
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
1263
previously-unversioned directory within the tree: the directory is
1264
marked versioned too.
1265
(Martin Pool, #192859)
1267
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
1268
way which should help avoid problems with concurrent writers.
1269
(Vincent Ladeuil, #525571)
1271
* Don't traceback trying to unversion children files of an already
1272
unversioned directory. (Vincent Ladeuil, #494221)
1274
* Fix ``AttributeError on parent.children`` when adding a file under a
1275
directory that was a symlink in the previous commit.
1276
(Martin Pool, #192859)
1278
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
1279
which can result in "missing referenced chk root keys" errors when
1280
fetching from repositories with affected revisions.
1281
(Andrew Bennetts, #522637)
1283
* Progress bars prefer to truncate the text message rather than the
1284
counters. The spinner is shown between the network transfer indicator
1285
and the progress message. (Martin Pool)
1287
* Raise ValueError instead of a string exception.
1288
(John Arbash Meinel, #586926)
1290
* Recursive binding for checkouts is now detected by bzr. A clear error
1291
message is shown to the user. (Parth Malwankar, #405192)
1296
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
1297
tree, and works with unrelated branches. (Andrew Bennetts)
1302
* ``bzr help patterns`` now explains case insensitive patterns and
1303
points to Python regular expression documentation.
1304
(Parth Malwankar, #594386)
1309
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
1317
* Unit test added to ensure that "message" is not uses as a format variable
1318
name in BzrError subclasses as this conflicts with some Python versions.
1319
(Parth Malwankar, #603461)
1326
This release fixes two critical networking issues with older servers and
1327
with interrupted system call errors when pushing or pulling. We recommend
1328
upgrading to anyone running a 2.1.x version of bzr.
1333
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
1334
support of bzr-externals and scmproj plugins.
1335
(Alexander Belchenko, bug #572098)
1337
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
1338
(Aaron Bentley, #559436)
1340
* Do not register a SIGWINCH signal handler, instead just poll for the
1341
terminal width as needed. This avoids the "Interrupted System Call"
1342
problems that occur on POSIX with all currently released versions of
1344
(Andrew Bennetts, #583941)
1346
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
1347
versions before 1.6.
1348
(Andrew Bennetts, #528041)
1350
* Reset ``siginterrupt`` flag to False every time we handle a signal
1351
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
1352
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
1353
errors compared to registering ``signal.signal`` directly.
1356
* Reduce peak memory by one copy of compressed text.
1357
(John Arbash Meinel, #566940)
1359
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
1360
(John Arbash Meinel, #582656)
1362
* When passing a file to ``UTF8DirReader`` make sure to close the current
1363
directory file handle after the chdir fails. Otherwise when passing many
1364
filenames into a command line ``bzr status`` we would leak descriptors.
1365
(John Arbash Meinel, #583486)
1370
* ``_remember_remote_is_before`` no longer raises AssertionError when
1371
suboptimal network behaviour is noticed; instead it just mutters to the
1372
log file (and warns the user if they have set the ``hpss`` debug flag).
1373
This was causing unnecessary aborts for performance bugs that are minor
1375
(Andrew Bennetts, #528041)
1383
This is a small bugfix release. Upgrading is recommended for anyone
1384
running 2.1.0 or earlier.
1389
* Allow syscalls to automatically restart when ``TextUIFactory``'s
1390
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
1391
IO, which are often poorly handled by Python's libraries and parts of
1392
bzrlib. (Andrew Bennetts, #496813)
1394
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1395
(Martin Pool, #331095)
1397
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
1399
* Fix stub sftp test server to call os.getcwdu().
1400
(Vincent Ladeuil, #526221, #526353)
1402
* Fixed CHM generation by moving the NEWS section template into
1403
a separate file. (Ian Clatworthy, #524184)
1405
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
1407
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
1408
problems importing bzrlib from a non-main thread.
1409
(Elliot Murphy, #521989)
1411
* Repositories accessed via a smart server now reject being stacked on a
1412
repository in an incompatible format, as is the case when accessing them
1413
via other methods. This was causing fetches from those repositories via
1414
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1415
(Andrew Bennetts, #562380)
1417
* Standardize the error handling when creating a new ``StaticTuple``
1418
(problems will raise TypeError). (Matt Nordhoff, #457979)
1420
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
1421
``StaticTuple`` extensions, rather than having the build fail randomly.
1422
(John Arbash Meinel, #449776)
1427
* Added a link to the Desktop Guide. (Ian Clatworthy)
1429
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
1431
* Drop Google Analytics from the core docs as they caused problems
1432
in the CHM files. (Ian Clatworthy, #502010)
1437
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
1438
can set a signal handler and call ``signal.siginterrupt(signum,
1439
False)`` for it, if the platform and Python version supports it.
1440
(Andrew Bennetts, #496813)
1446
:Codename: Strasbourg
1449
This release marks our second long-term-stable series. The Bazaar team
1450
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
1451
releases, along with 2.2 development releases.
1453
This is a fairly incremental update, focusing on polish and bugfixing.
1454
There are no changes for supported disk formats. Key updates include
1455
reduced memory consumption for many operations, a new per-file merge
1456
hook, ignore patterns can now include '!' to exclude files, globbing
1457
support for all commands on Windows, and support for addressing home
1458
directories via ``bzr+ssh://host/~/`` syntax.
1460
Users are encouraged to upgrade from the 2.0 stable series.
1465
* Don't require testtools to use sftp.
1466
(Vincent Ladeuil, #516183)
1468
* Fix "AttributeError in Inter1and2Helper" during fetch.
1469
(Martin Pool, #513432)
1471
* ``bzr update`` performs the two merges in a more logical order and will stop
1472
when it encounters conflicts.
1473
(Gerard Krol, #113809)
1475
* Give a better error message when doing ``bzr bind`` in an already bound
1476
branch. (Neil Martinsen-Burrell, #513063)
1478
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
1479
in a pack repository, which can happen harmlessly if the abort occurs during
1480
finishing the write group. Also use ``bzrlib.cleanup`` so that any
1481
other errors that occur while aborting the individual packs won't be
1482
hidden by secondary failures when removing the corresponding indices.
1483
(Andrew Bennetts, #423015)
1485
* Set the mtime of files exported to a directory by ``bzr export`` all to
1486
the same value to avoid confusing ``make`` and other date-based build
1487
systems. (Robert Collins, #515631)
1492
* Fetching into experimental formats will now print a warning. (Jelmer
1498
* ``Repository.deserialise_inventory`` has been renamed to
1499
``Repository._deserialise_inventory`` to indicate it is private.
1502
* ``Repository.get_inventory_xml`` has been renamed to
1503
``Repository._get_inventory_xml`` to indicate it is private.
1506
* ``Repository.serialise_inventory`` has been renamed to
1507
``Repository._serialise_inventory`` to indicate it is private.
1509
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
1510
same time was broken due to race conditions with a module level page
1511
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
1512
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
1513
the same high level objects such as ``bzrlib.repository.Repository``
1514
from different threads. chk_map now uses a thread local cache which may
1515
increase memory pressure on processes using threads.
1516
(Robert Collins, John Arbash Meinel, #514090)
1518
* The new ``merge_file_content`` should now be ok with tests to avoid
1520
(Vincent Ladeuil, #515597)
1525
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
1526
blocks in several places in ``bzrlib.merge``. This avoids masking prior
1527
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
1529
(Andrew Bennetts, #517275)
1534
* The ``remove_index`` method of
1535
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
1536
argument. This argument was always ignored.
1537
(Andrew Bennetts, #423015)
1542
:Codename: after the bubbles
1543
:2.1.0rc2: 2010-01-29
1545
This is a quick-turn-around to update a small issue with our new per-file
1546
merge hook. We expect no major changes from this to the final 2.1.0.
1551
* The new ``merge_file_content`` hook point has been altered to provide a
1552
better API where state for extensions can be stored rather than the
1553
too-simple function based approach. This fixes a performance regression
1554
where branch configuration would be parsed per-file during merge. As
1555
part of this the included news_merger has been refactored into a base
1556
helper class ``bzrlib.merge.ConfigurableFileMerger``.
1557
(Robert Collins, John Arbash Meinel, #513822)
1563
:Codename: the 'new' stable
1564
:2.1.0rc1: 2009-01-21
1566
This is the first stable release candidate for Bazaar's 2.1 series. From
1567
this point onwards, the 2.1 series will be considered stable (as the 2.0
1568
series) and only bugfixes are expected to be incorporated. The dozen or so
1569
bugfixes in the 2.0.4 release are also included in this release (along
1570
with more than 15 more bugfixes). Some of the interesting features are
1571
support for per-file merge hooks, ``bzr unshelve --preview``, support
1572
for using ! in ignore files to exclude files from being ignored, a small
1573
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
1574
This looks to be a very good start for a new stable series.
1580
* Add bug information to log output when available.
1581
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
1583
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
1584
to register custom merge logic, e.g. to provide smarter merging for
1587
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
1588
default, to enable it add a ``news_merge_files`` option to your
1589
configuration. Consult ``bzr help news_merge`` for more information.
1592
* ``bzr branch`` now takes a ``--bind`` option. This lets you
1593
branch and bind all in one command. (Ian Clatworthy)
1595
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
1596
a specific revision of a branch. (Daniel Watkins, #183559)
1598
* ``bzr unshelve --preview`` can now be used to show how a patch on the
1599
shelf would be applied to the working tree.
1600
(Guilherme Salgado, #308122)
1602
* ``bzr update`` now takes a ``--revision`` argument. This lets you
1603
change the revision of the working tree to any revision in the
1604
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
1605
Martin Pool, #45719)
1607
* ``-Dbytes`` can now be used to display the total number of bytes
1608
transferred for the current command. This information is always logged
1609
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
1611
* New ignore patterns. Patterns prefixed with '!' are exceptions to
1612
ignore patterns and take precedence over regular ignores. Such
1613
exceptions are used to specify files that should be versioned which
1614
would otherwise be ignored. Patterns prefixed with '!!' act as regular
1615
ignore patterns, but have highest precedence, even over the '!'
1616
exception patterns. (John Whitley, #428031)
1618
* The ``supress_warnings`` configuration option has been introduced to disable
1619
various warnings (it currently only supports the ``format_deprecation``
1620
warning). The new option can be set in any of the following locations:
1621
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
1622
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
1627
* Always show a message if an OS error occurs while trying to run a
1628
user-specified commit message editor.
1629
(Martin Pool, #504842)
1631
* ``bzr diff`` will now use the epoch when it is unable to determine
1632
the timestamp of a file, if the revision it was introduced in is a
1633
ghost. (Jelmer Vernooij, #295611)
1635
* ``bzr switch -b`` can now create branches that are located using directory
1636
services such as ``lp:``, even when the branch name doesn't contain a
1637
'/'. (Neil Martinsen-Burrell, #495263)
1639
* ``bzr unshelve`` has improved messages about what it is doing.
1640
(Neil Martinsen-Burrell, #496917)
1642
* Concurrent autopacking is more resilient to already-renamed pack files.
1643
If we find that a file we are about to obsolete is already obsoleted, we
1644
do not try to rename it, and we leave the file in ``obsolete_packs``.
1645
The code is also fault tolerant if a file goes missing, assuming that
1646
another process already removed the file.
1647
(John Arbash Meinel, Gareth White, #507557)
1649
* Fix "Too many concurrent requests" in reconcile when network connection
1650
fails. (Andrew Bennetts, #503878)
1652
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
1653
that caused some tests to fail when run in a non-default order.
1654
Probably no user impact. (Martin Pool, #504102)
1656
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
1657
(Andrew Bennetts, #506274)
1659
* FTP transports support Unicode paths by encoding/decoding them as utf8.
1660
(Vincent Ladeuil, #472161)
1662
* Listen to the SIGWINCH signal to update the terminal width.
1663
(Vincent Ladeuil, #316357)
1665
* Progress bars are now hidden when ``--quiet`` is given.
1666
(Martin Pool, #320035)
1668
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
1669
whatever is written to it. This un-breaks some plugin tests that
1670
depended on this behaviour.
1671
(Martin Pool, #499757)
1673
* When operations update the working tree, all affected files should end
1674
up with the same mtime. (eg. when versioning a generated file, if you
1675
update the source and the generated file together, the generated file
1676
should appear up-to-date.)
1677
(John Arbash Meinel, Martin <gzlist>, #488724)
1682
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
1683
All the builtin commands now use ``add_cleanup`` rather than
1684
``try``/``finally`` blocks where applicable as it is simpler and more
1685
robust. (Andrew Bennetts)
1687
* All except a small number of storage formats are now hidden, making
1688
the help for numerous commands far more digestible. (Ian Clatworthy)
1690
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
1691
path/to/repo``) will now include "location is a repository" as a hint in
1692
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
1694
* Push will now inform the user when they are trying to push to a foreign
1695
VCS for which roundtripping is not supported, and will suggest them to
1696
use dpush. (Jelmer Vernooij)
1698
* The version of bzr being run is now written to the log file.
1699
(__monty__, #257170)
1701
* Transport network activity indicator is shown more of the time when
1702
Bazaar is doing network IO.
1708
* Add documentation on creating merges with more than one parent.
1709
(Neil Martinsen-Burrell, #481526)
1711
* Better explain the --uncommitted option of merge.
1712
(Neil Martinsen-Burrell, #505088)
1714
* Improve discussion of pending merges in the documentation for
1715
``revert``. (Neil Martinsen-Burrell, #505093)
1717
* Improved help for ``bzr send``.
1718
(Martin Pool, Bojan Nikolic)
1720
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
1721
including discussions of installation, relevant plugins, security and
1722
backup. (Neil Martinsen-Burrell)
1724
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
1727
* The User Reference is now presented as a series of topics.
1728
Many of the included topics have link and format tweaks applied.
1734
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
1737
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
1738
to be consistent with instances being lower case and classes being
1739
CamelCase. For the features that were more likely to be used, we added a
1740
deprecation thunk, but not all. (John Arbash Meinel)
1742
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
1743
parameter in their constructors, and provide ``this_branch`` as an
1744
attribute. (Andrew Bennetts)
1746
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
1747
by plugins - the original exceptions are now preserved. (Robert Collins)
1749
* The Transport ``Server.tearDown`` method is now renamed to
1750
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
1751
our normal naming pattern, and to avoid confusion with Python's
1752
``TestCase.tearDown``. (Martin Pool)
1754
* ``WorkingTree.update`` implementations must now accept a ``revision``
1760
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
1761
a string of details (such as "location is a repository") as part of a
1762
``nobranch`` response. (Andrew Bennetts, #440952)
1764
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
1765
objects but passes str objects straight through. This is used for
1766
selftest but may be useful for diff and other operations that generate
1767
mixed output. (Robert Collins)
1769
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
1770
plugins. (Jelmer Vernooij)
1775
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
1776
running all tests in the current module, once against a pure python
1777
implementation, and once against an extension (pyrex/C) implementation.
1778
It can be used to dramatically simplify the implementation of
1779
``load_tests``. (John Arbash Meinel)
1781
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
1782
This permits features in testtools such as getUniqueInteger and
1783
getUniqueString to be used. Because of this, testtools version 0.9.2 or
1784
newer is now a dependency to run bzr selftest. Running with versions of
1785
testtools less than 0.9.2 will cause bzr to error while loading the test
1786
suite. (Robert Collins)
1788
* Shell-like tests now support the command "mv" for moving files. The
1789
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
1790
supported. (Neil Martinsen-Burrell)
1792
* The test progress bar no longer distinguishes tests that 'errored' from
1793
tests that 'failed' - they're all just failures.
1799
:2.0.6: NOT RELEASED YET
1804
* Additional merges after an unrelated branch has been merged with its
1805
history no longer crash when deleted files are involved.
1806
(Vincent Ladeuil, John Arbash Meinel, #375898)
1808
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
1809
previously-unversioned directory within the tree: the directory is
1810
marked versioned too.
1811
(Martin Pool, #192859)
1813
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
1814
target of the symlink.
1815
(Martin Pool, John Arbash Meinel, #128562)
1817
* ``bzr revert`` now only takes write lock on working tree, instead of on
1818
both working tree and branch.
1819
(Danny van Heumen, #498409)
1821
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1822
permissions as ``.bzr`` directory on a POSIX OS.
1823
(Parth Malwankar, #262450)
1825
* Don't traceback trying to unversion children files of an already
1826
unversioned directory. (Vincent Ladeuil, #494221)
1828
* Fix ``AttributeError on parent.children`` when adding a file under a
1829
directory that was a symlink in the previous commit.
1830
(Martin Pool, #192859)
1832
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
1833
which can result in "missing referenced chk root keys" errors when
1834
fetching from repositories with affected revisions.
1835
(Andrew Bennetts, #522637)
1837
* Raise ValueError instead of a string exception.
1838
(John Arbash Meinel, #586926)
1840
* Reduce peak memory by one copy of compressed text.
1841
(John Arbash Meinel, #566940)
1843
* Repositories accessed via a smart server now reject being stacked on a
1844
repository in an incompatible format, as is the case when accessing them
1845
via other methods. This was causing fetches from those repositories via
1846
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1847
(Andrew Bennetts, #562380)
1849
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1850
error. This error was caused by 2.0 not being updated when upstream
1851
python merged the end of run patch, which chose ``stopTestRun`` rather than
1852
``done``. (Robert Collins, #571437)
1854
* When passing a file to ``UTF8DirReader`` make sure to close the current
1855
directory file handle after the chdir fails. Otherwise when passing many
1856
filenames into a command line ``bzr status`` we would leak descriptors.
1857
(John Arbash Meinel, #583486)
1863
* ``build_tree_contents`` can create symlinks.
1864
(Martin Pool, John Arbash Meinel)
1872
This fifth release in our 2.0 series addresses several user-inconvenience
1873
bugs. None are critical, but upgrading is recommended for all users on
1874
earlier 2.0 releases.
1879
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1880
(Martin Pool, #331095)
1882
* Concurrent autopacking is more resilient to already-renamed pack files.
1883
If we find that a file we are about to obsolete is already obsoleted, we
1884
do not try to rename it, and we leave the file in ``obsolete_packs``.
1885
The code is also fault tolerant if a file goes missing, assuming that
1886
another process already removed the file.
1887
(John Arbash Meinel, Gareth White, #507557)
1889
* Cope with the lockdir ``held/info`` file being empty, which seems to
1890
happen fairly often if the process is suddenly interrupted while taking
1892
(Martin Pool, #185103)
1894
* Give the warning about potentially slow cross-format fetches much
1895
earlier on in the fetch operation. Don't show this message during
1896
upgrades, and show the correct format indication for remote
1898
(Martin Pool, #456077, #515356, #513157)
1900
* Handle renames correctly when there are files or directories that
1901
differ only in case. (Chris Jones, Martin Pool, #368931)
1903
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1904
error, report that error rather than failing with an unhelpful
1905
``UnboundLocalError``.
1906
(Andrew Bennetts, #423563)
1908
* Running ``bzr`` command without any arguments now shows bzr
1909
version number along with rest of the help text.
1910
(Parth Malwankar, #369501)
1912
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1914
(Inada Naoki, #524560)
1919
* Added ``location-alias`` help topic.
1920
(Andrew Bennetts, #337834)
1922
* Fixed CHM generation by moving the NEWS section template into
1923
a separate file. (Ian Clatworthy, #524184)
1929
:Codename: smooth sailing
1932
The fourth bugfix-only release in the 2.0 series contains more than a
1933
dozen bugfixes relative to 2.0.3. The primary focus is on handling
1934
interruptions and concurrent operations more cleanly, there is also a fair
1935
improvement to ``bzr export`` when exporting a remote branch.
1941
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
1942
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
1944
* ``bzr export dir`` now requests all file content as a record stream,
1945
rather than requsting the file content one file-at-a-time. This can make
1946
exporting over the network significantly faster (54min => 9min in one
1947
case). (John Arbash Meinel, #343218)
1949
* ``bzr serve`` no longer slowly leaks memory. The compiled
1950
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
1951
free resources, and it should have been using ``__dealloc__``.
1952
This will likely have an impact on any other process that is serving for
1953
an extended period of time. (John Arbash Meinel, #494406)
1955
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
1956
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
1957
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
1959
* Concurrent autopacks will no longer lose a newly created pack file.
1960
There was a race condition, where if the reload happened at the right
1961
time, the second packer would forget the name of the newly added pack
1962
file. (John Arbash Meinel, Gareth White, #507566)
1964
* Give a clearer message if the lockdir disappears after being apparently
1965
successfully taken. (Martin Pool, #498378)
1967
* Give a warning when fetching between repositories (local or remote) with
1968
sufficiently different formats that the content will need to be
1969
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
1970
the user has a clue that upgrading could make it faster.
1971
(Martin Pool, #456077)
1973
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
1974
than using ``warning()``. The log file is opened before logging is set
1975
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
1976
users, rather than something nicer.
1977
(John Arbash Meinel, Barry Warsaw, #503886)
1979
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
1980
(Martin Pool, John Arbash Meinel, #449372)
1982
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
1983
build. (there is still the distutils bug
1984
http://bugs.python.org/issue644744) (Joe Julian, #175839)
1986
* The 2a format wasn't properly restarting autopacks when something
1987
changed underneath it (like another autopack). Now concurrent
1988
autopackers will properly succeed. (John Arbash Meinel, #495000)
1990
* ``TreeTransform`` can now handle when a delta says that the file id for
1991
the tree root changes. Rather than trying to rename your working
1992
directory, or failing early saying that you can't have multiple
1993
tree roots. This also fixes revert, update, and pull when the root id
1994
changes. (John Arbash Meinel, #494269, #504390)
1996
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
1997
the right time will get propagated, rather than silently failing to move
1998
the block pointer. (John Arbash Meinel, Gareth White, #495023)
2003
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
2004
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
2005
rather than an ``except ?:`` clause.) This should help prevent bugs like
2006
bug #495023. (John Arbash Meinel)
2012
:Codename: san francisco airport
2013
:2.1.0b4: 2009-12-14
2015
The fourth beta release in the 2.1 series brings with it a significant
2016
number of bugfixes (~20). The test suite is once again (finally) "green"
2017
on Windows, and should remain that way for future releases. There are a
2018
few performance related updates (faster upgrade and log), and several UI
2019
tweaks. There has also been a significant number of tweaks to the runtime
2020
documentation. 2.1.0b4 include everything from the 2.0.3 release.
2023
Compatibility Breaks
2024
********************
2026
* The BZR_SSH environmental variable may now be set to the path of a secure
2027
shell client. If currently set to the value ``ssh`` it will now guess the
2028
vendor of the program with that name, to restore the old behaviour that
2029
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
2030
string. (Martin <gzlist@googlemail.com>, #176292)
2035
* ``bzr commit`` now has a ``--commit-time`` option.
2036
(Alexander Sack, #459276)
2038
* ``-Dhpss`` now increases logging done when run on the bzr server,
2039
similarly to how it works on the client. (John Arbash Meinel)
2041
* New option ``bzr unshelve --keep`` applies the changes and leaves them
2042
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
2044
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
2045
respect a given terminal width. This can be useful when output is
2046
redirected or in obscure cases where the default value is not
2047
appropriate. Pagers can use it to get a better control of the line
2051
* The new command ``bzr lp-mirror`` will request that Launchpad update its
2052
mirror of a local branch. This command will only function if launchpadlib
2060
* After renaming a file, the dirstate could accidentally reference
2061
``source\\path`` rather than ``source/path`` on Windows. This might be a
2062
source of some dirstate-related failures. (John Arbash Meinel)
2064
* ``bzr commit`` now detects commit messages that looks like file names
2065
and issues a warning.
2066
(Gioele Barabucci, #73073)
2068
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
2070
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
2071
(#325618, #484109, Marius Kruger)
2073
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
2074
files with conflicts (similar to ``--merge3``). The contents of the file
2075
is a synthesis of all bases used for the merge.
2076
(John Arbash Meinel, #40412)
2078
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
2080
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
2081
(Robert Collins, #84659)
2083
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
2085
* Fix bug with redirected URLs over authenticated HTTP.
2086
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
2088
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
2090
* Lots of bugfixes for the test suite on Windows. We should once again
2091
have a test suite with no failures on Windows. (John Arbash Meinel)
2093
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
2094
variable but returns None if the terminal is not a tty (when output is
2095
redirected for example). Also fixes its usage under OSes that doesn't
2096
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
2098
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
2099
(John Arbash Meinel, Vincent Ladeuil, #492561)
2101
* Terminate ssh subprocesses when no references to them remain, fixing
2102
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
2104
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
2105
works for 2a format trees. Only files unaffected by content filters
2106
will be hardlinked. (Andrew Bennetts, #408193)
2108
* The new glob expansion on Windows would replace all ``\`` characters
2109
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
2110
etc. Now only change slashes if there is something being glob expanded.
2111
(John Arbash Meinel, #485771)
2113
* Use our faster ``KnownGraph.heads()`` functionality when computing the
2114
new rich-root heads. This can cut a conversion time in half (mysql from
2115
13.5h => 6.2h) (John Arbash Meinel, #487632)
2117
* When launching a external diff tool via bzr diff --using, temporary files
2118
are no longer created, rather, the path to the file in the working tree is
2119
passed to the external diff tool. This allows the file to be edited if the
2120
diff tool provides for this. (Gary van der Merwe, #490738)
2122
* The launchpad-open command can now be used from a subdirectory of a
2123
branch, not just from the root of the branch.
2124
(Neil Martinsen-Burrell, #489102)
2130
* ``bzr log`` is now faster. (Ian Clatworthy)
2132
* ``bzr update`` provides feedback on which branch it is up to date with.
2133
(Neil Martinsen-Burrell)
2135
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
2136
For details see the xml8 patch and heads() improvements.
2137
(John Arbash Meinel)
2139
* ``bzrlib.urlutils.local_path_from_url`` now accepts
2140
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
2143
* The progress bar now shows only a spinner and per-operation counts,
2144
not an overall progress bar. The previous bar was often not correlated
2145
with real overall operation progress, either because the operations take
2146
nonlinear time, or because at the start of the operation Bazaar couldn't
2147
estimate how much work there was to do. (Martin Pool)
2152
* Lots of documentation tweaks for inline help topics and command help
2158
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
2160
* The Launchpad plugin now has a function ``login`` which will log in to
2161
Launchpad with launchpadlib, and ``load_branch`` which will return the
2162
Launchpad Branch object corresponding to a given Bazaar Branch object.
2168
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
2169
easier to handle what tests you want to run based on what modules can be
2170
imported. (Rather than lots of custom-implemented features that were
2171
basically copy-and-pasted.) (John Arbash Meinel)
2173
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
2174
``time.clock()`` when you want to do performance timing.
2175
``time.time()`` is limited to 15ms resolution on Windows, but
2176
``time.clock()`` gives CPU and not wall-clock time on other platforms.
2177
(John Arbash Meinel)
2179
* Several code paths that were calling ``Transport.get().read()`` have
2180
been changed to the equalivent ``Transport.get_bytes()``. The main
2181
difference is that the latter will explicitly call ``file.close()``,
2182
rather than expecting the garbage collector to handle it. This helps
2183
with some race conditions on Windows during the test suite and sftp
2184
tests. (John Arbash Meinel)
2189
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
2190
unicode strings. (Michael Hudson, #464174)
2196
:Codename: little italy
2200
The third stable release of Bazaar has a small handful of bugfixes. As
2201
expected, this has no internal or external compatibility changes versus
2207
* ``bzr push --use-existing-dir`` no longer crashes if the directory
2208
exists but contains an invalid ``.bzr`` directory.
2209
(Andrew Bennetts, #423563)
2211
* Content filters are now applied correctly after pull, merge and switch.
2212
(Ian Clatworthy, #385879)
2214
* Fix a potential segfault in the groupcompress hash map handling code.
2215
When inserting new entries, if the final hash bucket was empty, we could
2216
end up trying to access if ``(last_entry+1)->ptr == NULL``.
2217
(John Arbash Meinel, #490228)
2219
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
2225
:Codename: after sprint recovery
2226
:2.1.0b3: 2009-11-16
2228
This release was pushed up from its normal release cycle due to a
2229
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
2230
was caught before 2.1.0b2 was officially announced, the full changelog
2231
includes both 2.1.0b3 and 2.1.0b2 changes.
2233
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
2234
the test suite now conforms to python's trunk enhanced semantics (skip,
2235
etc.), and ``bzr info -v`` will now report the correct branch and repo
2236
formats for Remote objects.
2242
* Users can define a shelve editor to provide shelf functionality at a
2243
granularity finer than per-patch-hunk. (Aaron Bentley)
2248
* Fix for shell completion and short options. (Benoît PIERRE)
2250
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
2252
* Hooks daughter classes should always call the base constructor.
2253
(Alexander Belchenko, Vincent Ladeuil, #389648)
2255
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
2257
* On Windows, do glob expansion at the command-line level (as is usually
2258
done in bash, etc.) This means that *all* commands get glob expansion
2259
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
2260
parser, which allows us to know if a given section was quoted. It means
2261
you can now do ``bzr ignore "*.py"``.
2262
(John Arbash Meinel, #425510, #426410, #194450)
2264
* Sanitize commit messages that come in from the '-m' flag. We translate
2265
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
2266
allow those because XML store silently translate it anyway. (The parser
2267
auto-translates \r\n => \n in ways that are hard for us to catch.)
2269
* Show correct branch and repository format descriptions in
2270
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
2272
* The fix for bug #186920 accidentally broke compatibility with python
2273
2.4. (Vincent Ladeuil, #475585)
2275
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
2276
correctly sets ``self.inv_sha1`` to a sha1 string and
2277
``self.new_inventory`` to an Inventory instance after calling
2278
``self.finish_inventory()``. (Previously it accidently set both values
2279
as a tuple on ``self.inv_sha1``. This was missed because
2280
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
2281
the sha1 from the repo directly. (John Arbash Meinel)
2283
* Shelve command refuse to run if there is no real terminal.
2284
(Alexander Belchenko)
2286
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
2287
Python level. (Martin Pool)
2292
* Include Japanese translations for documentation (Inada Naoki)
2294
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
2295
(rather than user-interaction) data to stdout. This automatically
2296
coordinates with progress bars or other terminal activity, and can be
2298
(Martin Pool, 493944)
2303
* Some of the core groupcompress functionality now releases the GIL before
2304
operation. Similar to how zlib and bz2 operate without the GIL in the
2305
core compression and decompression routines. (John Arbash Meinel)
2310
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
2311
more debugging of VFS access triggers. (Robert Collins)
2313
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
2314
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
2316
* ``--parallel=fork`` is now compatible with --subunit.
2317
(Robert Collins, Vincent Ladeuil, #419776)
2319
* Reporting of failures shows test ids not descriptions and thus shows
2320
parameterised tests correctly. (Robert Collins)
2322
* TestNotApplicable is now handled within the TestCase.run method rather
2323
than being looked for within ``ExtendedTestResult.addError``. This
2324
provides better handling with other ``TestResult`` objects, degrading to
2325
sucess rather than error. (Robert Collins)
2327
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
2328
removed - it was empty and unused. (Robert Collins)
2330
* UnavailableFeature is now handled within the TestCase.run method rather
2331
than being looked for within addError. If the Result object does not
2332
have an addNotSupported method, addSkip is attempted instead, and
2333
failing that addSuccess. (Robert Collins)
2335
* When a TestResult does not have an addSkip method, skipped tests are now
2336
reported as successful tests, rather than as errors. This change is
2337
to make it possible to get a clean test run with a less capable
2338
TestResult. (Robert Collins)
2345
:Codename: a load off my mind
2346
:2.1.0b2: 2009-11-02
2348
This is our second feature-filled release since 2.0, pushing us down the
2349
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
2351
Key highlights in this release are: improved handling of
2352
failures-during-cleanup for commit, fixing a long-standing bug with
2353
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
2354
behind proxies, and a new StaticTuple datatype, allowing us to reduce
2355
memory consumption (50%) and garbage collector overhead (40% faster) for
2358
* A new ``--concurrency`` option has been added as well as an associated
2359
BZR_CONCURRENCY environment variable to specify the number of
2360
processes that can be run concurrently when running ``bzr selftest``. The
2361
command-line option overrides the environment variable if both are
2362
specified. If none is specified. the number of processes is obtained
2363
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
2368
* ``bzr+http`` servers no longer give spurious jail break errors when
2369
serving branches inside a shared repository. (Andrew Bennetts, #348308)
2371
* Errors during commit are handled more robustly so that knock-on errors
2372
are less likely to occur, and will not obscure the original error if
2373
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
2374
and similar errors. (Andrew Bennetts, #429747, #243391)
2376
* Launchpad urls can now be resolved from behind proxies.
2377
(Gordon Tyler, Vincent Ladeuil, #186920)
2379
* Reduce the strictness for StaticTuple, instead add a debug flag
2380
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
2381
This way, most users won't see failures, but developers can improve
2382
internals. (John Arbash Meinel, #471193)
2384
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
2385
files. (Aaron Bentley)
2387
* Unicode paths are now handled correctly and consistently by the smart
2388
server. (Andrew Bennetts, Michael Hudson, #458762)
2393
* When reading index files, we now use a ``StaticTuple`` rather than a
2394
plain ``tuple`` object. This generally gives a 20% decrease in peak
2395
memory, and can give a performance boost up to 40% on large projects.
2396
(John Arbash Meinel)
2398
* Peak memory under certain operations has been reduced significantly.
2399
(eg, 'bzr branch launchpad standalone' is cut in half)
2400
(John Arbash Meinel)
2405
* Filtered views user documentation upgraded to refer to format 2a
2406
instead of pre-2.0 formats. (Ian Clatworthy)
2411
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
2413
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
2414
``show_warning`` methods, which can be hooked by non-text UIs.
2420
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
2421
Dict (it only holds keys, but you can lookup the object located at a
2422
given key). It has significantly reduced memory consumption versus the
2423
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
2424
used as the interning structure for StaticTuple objects.
2425
(John Arbash Meinel)
2427
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
2428
the btree index parser and the chk map parser. This class functions
2429
similarly to ``tuple`` objects. However, it can only point to a limited
2430
collection of types. (Currently StaticTuple, str, unicode, None, bool,
2431
int, long, float, but not subclasses). This allows us to remove it from
2432
the garbage collector (it cannot be in a cycle), it also allows us to
2433
intern the objects. In testing, this can reduce peak memory by 20-40%,
2434
and significantly improve performance by removing objects from being
2435
inspected by the garbage collector. (John Arbash Meinel)
2437
* ``GroupCompressBlock._ensure_content()`` will now release the
2438
``zlib.decompressobj()`` when the first request is for all of the
2439
content. (Previously it would only be released if you made a request for
2440
part of the content, and then all of it later.) This turns out to be a
2441
significant memory savings, as a ``zstream`` carries around approx 260kB
2442
of internal state and buffers. (For branching bzr.dev this drops peak
2443
memory from 382MB => 345MB.) (John Arbash Meinel)
2445
* When streaming content between ``2a`` format repositories, we now clear
2446
caches from earlier versioned files. (So 'revisions' is cleared when we
2447
start reading 'inventories', etc.) This can have a significant impact on
2448
peak memory for initial copies (~200MB). (John Arbash Meinel)
2454
:Codename: after the scare
2457
The second in our "let's keep the stable bugfixes flowing" series. As
2458
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
2459
changes or features.
2464
* Avoid "NoneType has no attribute st_mode" error when files disappear
2465
from a directory while it's being read. (Martin Pool, #446033)
2467
* Content filters are now applied correctly after revert.
2470
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
2472
* Fetching from stacked pre-2a repository via a smart server no longer
2473
fails intermittently with "second push failed to complete".
2474
(Andrew Bennetts, #437626)
2476
* Fix typos left after test_selftest refactoring.
2477
(Vincent Ladeuil, Matt Nordhoff, #461149)
2479
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
2480
(Andrew Bennetts, #445171)
2482
* PreviewTree file names are not limited by the encoding of the temp
2483
directory's filesystem. (Aaron Bentley, #436794)
2488
* ``bzr log`` now read-locks branches exactly once, so makes better use of
2489
data caches. (Andrew Bennetts)
2494
* Filtered views user documentation upgraded to refer to format 2a
2495
instead of pre-2.0 formats. (Ian Clatworthy)
2501
:Codename: While the cat is away
2502
:2.1.0b1: 2009-10-14
2504
This is the first development release in the new split "stable" and
2505
"development" series. As such, the release is a snapshot of bzr.dev
2506
without creating a release candidate first. This release includes a
2507
fair amount of internal changes, with deprecated code being removed,
2508
and several new feature developments. People looking for a stable code
2509
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
2510
present in 2.0.1 are present in 2.1.0b1.
2512
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
2513
finer control over the plugin search path via extended BZR_PLUGIN_PATH
2514
syntax, visible warnings when extension modules fail to load, and improved
2515
error handling during unlocking.
2521
* Bazaar can now send mail through Apple OS X Mail.app.
2524
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
2525
specified in the URL. Paths starting with a path segment of ``~`` are
2526
relative to the home directory of the user running the server, and paths
2527
starting with ``~user`` are relative to the home directory of the named
2528
user. For example, for a user "bob" with a home directory of
2529
``/home/bob``, these URLs are all equivalent:
2531
* ``bzr+ssh://bob@host/~/repo``
2532
* ``bzr+ssh://bob@host/~bob/repo``
2533
* ``bzr+ssh://bob@host/home/bob/repo``
2535
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
2536
home directories outside that directory will be accessible via this
2539
This is a feature of ``bzr serve``, so pre-2.1 clients will
2540
automatically benefit from this feature when ``bzr`` on the server is
2541
upgraded. (Andrew Bennetts, #109143)
2543
* Extensions can now be compiled if either Cython or Pyrex is available.
2544
Currently Pyrex is preferred, but that may change in the future.
2547
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
2548
disable the user, site and core plugin directories.
2549
(Vincent Ladeuil, #412930, #316192, #145612)
2554
* Bazaar's native protocol code now correctly handles EINTR, which most
2555
noticeably occurs if you break in to the debugger while connected to a
2556
bzr+ssh server. You can now can continue from the debugger (by typing
2557
'c') and the process continues. However, note that pressing C-\ in the
2558
shell may still kill the SSH process, which is bug 162509, so you must
2559
sent a signal to the bzr process specifically, for example by typing
2560
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
2562
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
2563
filename will issue a warning and skip over those files.
2564
(Robert Collins, #3918)
2566
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
2567
are present in the working tree. The configuration option ``dpush_strict``
2568
can be used to set the default for this behavior.
2569
(Vincent Ladeuil, #438158)
2571
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
2572
merges are present in the working tree.
2573
(Vincent Ladeuil, #426344)
2575
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
2576
traceback. (Martin Pool, #109115)
2578
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
2579
as it is never built. (John Arbash Meinel, #430645)
2581
* Don't restrict the command name used to run the test suite.
2582
(Vincent Ladeuil, #419950)
2584
* ftp transports were built differently when the kerberos python module was
2585
present leading to obscure failures related to ASCII/BINARY modes.
2586
(Vincent Ladeuil, #443041)
2588
* Network streams now decode adjacent records of the same type into a
2589
single stream, reducing layering churn. (Robert Collins)
2591
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
2592
file. (Aaron Bentley, #251532)
2594
* Registry objects should not use iteritems() when asked to use items().
2595
(Vincent Ladeuil, #430510)
2597
* Weave based repositories couldn't be cloned when committers were using
2598
domains or user ids embedding '.sig'. Now they can.
2599
(Matthew Fuller, Vincent Ladeuil, #430868)
2604
* Revision specifiers can now be given in a more DWIM form, without
2605
needing explicit prefixes for specifiers like tags or revision id's.
2606
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
2608
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
2609
compiled extensions can't be loaded. This typically indicates a
2610
packaging or installation problem. In this case Bazaar will keep
2611
running using pure-Python versions, but this may be substantially
2612
slower. The warning can be disabled by setting
2613
``ignore_missing_extensions = True`` in ``bazaar.conf``.
2614
See also <https://answers.launchpad.net/bzr/+faq/703>.
2615
(Martin Pool, #406113, #430529)
2617
* Secondary errors that occur during Branch.unlock and Repository.unlock
2618
no longer obscure the original error. These methods now use a new
2619
decorator, ``only_raises``. This fixes many causes of
2620
``TooManyConcurrentRequests`` and similar errors.
2621
(Andrew Bennetts, #429747)
2626
* Describe the new shell-like test feature. (Vincent Ladeuil)
2628
* Help on hooks no longer says 'Not deprecated' for hooks that are
2629
currently supported. (Ian Clatworthy, #422415)
2634
* ``bzrlib.user_encoding`` has been removed; use
2635
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
2637
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
2638
subclasses - the same as python's unittest module. (Robert Collins)
2640
* ``diff._get_trees_to_diff`` has been renamed to
2641
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
2642
returns the old and new branches. (Gary van der Merwe)
2644
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
2647
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
2648
now defaults to comparing to the basis tree. It now checks for pending
2649
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
2650
corresponding has_changes() calls. ``Merge.compare_basis``,
2651
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
2653
(Vincent Ladeuil, #440631)
2655
* ``ProgressTask.note`` is deprecated.
2661
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
2662
repository or branch object is unlocked then relocked the same way.
2665
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
2666
mallocs while parsing the index (approx 3=>1 mallocs per key read).
2667
This results in a 10% speedup while reading an index.
2668
(John Arbash Meinel)
2670
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
2671
profiling in some situations like callbacks and generators easier.
2677
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
2678
be output for every test. Note that this is very verbose! (Robert Collins)
2680
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
2681
post_mortem to be triggered when a test failure occurs. (Robert Collins)
2683
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
2684
documentation in ``developers/testing.txt`` for details.
2687
* Some tests could end up with the same id, that was dormant for
2689
(Vincent Ladeuil, #442980)
2691
* Stop showing the number of tests due to missing features in the test
2692
progress bar. (Martin Pool)
2694
* Test parameterisation now does a shallow copy, not a deep copy of the test
2695
to be parameterised. This is not expected to break external use of test
2696
parameterisation, and is substantially faster. (Robert Collins)
2698
* Tests that try to open a bzr dir on an arbitrary transport will now
2699
fail unless they have explicitly permitted the transport via
2700
``self.permit_url``. The standard test factories such as ``self.get_url``
2701
will permit the urls they provide automatically, so only exceptional
2702
tests should need to do this. (Robert Collins)
2704
* The break-in test no longer cares about clean shutdown of the child,
2705
instead it is happy if the debugger starts up. (Robert Collins)
2707
* The full test suite is expected to pass when the C extensions are not
2708
present. (Vincent Ladeuil, #430749)
2714
:Codename: Stability First
2717
The first of our new ongoing bugfix-only stable releases has arrived. It
2718
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
2719
include any of the feature development in the 2.1.0 series.
2725
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
2726
filename will issue a warning and skip over those files.
2727
(Robert Collins, #3918)
2729
* bzr will attempt to authenticate with SSH servers that support
2730
``keyboard-interactive`` auth but not ``password`` auth when using
2731
Paramiko. (Andrew Bennetts, #433846)
2733
* Fixed fetches from a stacked branch on a smart server that were failing
2734
with some combinations of remote and local formats. This was causing
2735
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
2737
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
2738
on branches via a smart server. (Andrew Bennetts, #389413)
2740
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
2741
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
2742
assumed that ``abspath()`` returned a path that did not have a trailing
2743
``/``, but that is not true when working at the root of the filesystem.
2744
(John Arbash Meinel, Jason Spashett, #322807)
2746
* Hide deprecation warnings for 'final' releases for python2.6.
2747
(John Arbash Meinel, #440062)
2749
* Improve the time for ``bzr log DIR`` for 2a format repositories.
2750
We had been using the same code path as for <2a formats, which required
2751
iterating over all objects in all revisions.
2752
(John Arbash Meinel, #374730)
2754
* Make sure that we unlock the tree if we fail to create a TreeTransform
2755
object when doing a merge, and there is limbo, or pending-deletions
2756
directory. (Gary van der Merwe, #427773)
2758
* Occasional IndexError on renamed files have been fixed. Operations that
2759
set a full inventory in the working tree will now go via the
2760
apply_inventory_delta code path which is simpler and easier to
2761
understand than dirstates set_state_from_inventory method. This may
2762
have a small performance impact on operations built on _write_inventory,
2763
but such operations are already doing full tree scans, so no radical
2764
performance change should be observed. (Robert Collins, #403322)
2766
* Retrieving file text or mtime from a _PreviewTree has good performance when
2767
there are many changes. (Aaron Bentley)
2769
* The CHK index pages now use an unlimited cache size. With a limited
2770
cache and a large project, the random access of chk pages could cause us
2771
to download the entire cix file many times.
2772
(John Arbash Meinel, #402623)
2774
* When a file kind becomes unversionable after being added, a sensible
2775
error will be shown instead of a traceback. (Robert Collins, #438569)
2780
* Improved README. (Ian Clatworthy)
2782
* Improved upgrade documentation for Launchpad branches.
2790
:Codename: Instant Karma
2792
This release of Bazaar makes the 2a (previously 'brisbane-core') format
2793
the default when new branches or repositories are created. This format is
2794
substantially smaller and faster for many operations. Most of the work in
2795
this release focuses on bug fixes and stabilization, covering both 2a and
2796
previous formats. (See the Upgrade Guide for information on migrating
2799
This release also improves the documentation content and presentation,
2800
including adding Windows HtmlHelp manuals.
2802
The Bazaar team decided that 2.0 will be a long-term supported release,
2803
with bugfix-only 2.0.x releases based on it, continuing for at least six
2804
months or until the following stable release.
2806
Changes from 2.0.0rc2 to final
2807
******************************
2809
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
2810
that "want to happen on the 2.0.x stable series" versus things that want
2811
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
2812
micro = 0.) (John Arbash Meinel)
2818
:2.0.0rc2: 2009-09-10
2823
* Added post_commit hook for mutable trees. This allows the keywords
2824
plugin to expand keywords on files changed by the commit.
2825
(Ian Clatworthy, #408841)
2830
* Bazaar's native protocol code now correctly handles EINTR, which most
2831
noticeably occurs if you break in to the debugger while connected to a
2832
bzr+ssh server. You can now can continue from the debugger (by typing
2833
'c') and the process continues. However, note that pressing C-\ in the
2834
shell may still kill the SSH process, which is bug 162509, so you must
2835
sent a signal to the bzr process specifically, for example by typing
2836
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
2838
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
2839
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
2840
(Robert Collins, #416732)
2842
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
2843
format" (John Arbash Meinel, #424392)
2845
* ``bzr log stacked-branch`` shows the full log including
2846
revisions that are in the fallback repository. (Regressed in 2.0rc1).
2847
(John Arbash Meinel, #419241)
2849
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
2850
traceback. (Martin Pool, #109115)
2852
* Conversion to 2a will create a single pack for all the new revisions (as
2853
long as it ran without interruption). This improves both ``bzr upgrade``
2854
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
2855
The autopack logic that occurs every 100 revisions during local
2856
conversions was not returning that pack's identifier, which resulted in
2857
the partial packs created during the conversion not being consolidated
2858
at the end of the conversion process. (Robert Collins, #423818)
2860
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
2861
Groups that are seen as 'underutilized' will be repacked on-the-fly.
2862
This means that when the source is fully packed, there is minimal
2863
overhead during the fetch, but if the source is poorly packed the result
2864
is a fairly well packed repository (not as good as 'bzr pack' but
2865
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
2867
* Fix a potential segmentation fault when doing 'log' of a branch that had
2868
ghosts in its mainline. (Evaluating None as a tuple is bad.)
2869
(John Arbash Meinel, #419241)
2871
* ``groupcompress`` sort order is now more stable, rather than relying on
2872
``topo_sort`` ordering. The implementation is now
2873
``KnownGraph.gc_sort``. (John Arbash Meinel)
2875
* Local data conversion will generate correct deltas. This is a critical
2876
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
2877
converting repositories. (Robert Collins, #422849)
2879
* Network streams now decode adjacent records of the same type into a
2880
single stream, reducing layering churn. (Robert Collins)
2882
* Prevent some kinds of incomplete data from being committed to a 2a
2883
repository, such as revisions without inventories, a missing chk_bytes
2884
record for an inventory, or a missing text referenced by an inventory.
2885
(Andrew Bennetts, #423506, #406687)
2890
* Fix assertion error about "_remember_remote_is_before" when pushing to
2891
older smart servers.
2892
(Andrew Bennetts, #418931)
2894
* Help on hooks no longer says 'Not deprecated' for hooks that are
2895
currently supported. (Ian Clatworthy, #422415)
2897
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
2898
user documentation. The HTML documentation is better broken up into
2899
topics. (Ian Clatworthy)
2901
* The developer and foreign language documents are now separated
2902
out so that searching in the HTML and CHM files produces more
2903
useful results. (Ian Clatworthy)
2905
* The main table of contents now provides links to the new Migration Docs
2906
and Plugins Guide. (Ian Clatworthy)
2912
:Codename: no worries
2913
:2.0.0rc1: 2009-08-26
2915
Compatibility Breaks
2916
********************
2918
* The default format for bzr is now ``2a``. This format brings many
2919
significant performance and size improvements. bzr can pull from
2920
any existing repository into a ``2a`` one, but can only transfer
2921
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
2922
has more information about this change. (Robert Collins)
2924
* On Windows auto-detection of Putty's plink.exe is disabled.
2925
Default SSH client for Windows is paramiko. User still can force
2926
usage of plink if explicitly set environment variable BZR_SSH=plink.
2927
(#414743, Alexander Belchenko)
2932
* ``bzr branch --switch`` can now switch the checkout in the current directory
2933
to the newly created branch. (Lukáš Lalinský)
2938
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2939
(Jason Spashett, #76616)
2941
* Fetches were being requested in 'groupcompress' order, but weren't
2942
recombining the groups. Thus they would 'fragment' to get the correct
2943
order, but not 'recombine' to actually benefit from it. Until we get
2944
recombining to work, switching to 'unordered' fetches avoids the
2945
fragmentation. (John Arbash Meinel, #402645)
2947
* Fix a pycurl related test failure on karmic by recognizing an error
2948
raised by newer versions of pycurl.
2949
(Vincent Ladeuil, #306264)
2951
* Fix a test failure on karmic by making a locale test more robust.
2952
(Vincent Ladeuil, #413514)
2954
* Fix IndexError printing CannotBindAddress errors.
2955
(Martin Pool, #286871)
2957
* Fix "Revision ... not present" errors when upgrading stacked branches,
2958
or when doing fetches from a stacked source to a stacked target.
2959
(Andrew Bennetts, #399140)
2961
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
2962
batches together small fetches from 2a repositories, rather than
2963
fetching only a few hundred bytes at a time.
2964
(Andrew Bennetts, #402657)
2969
* A better description of the platform is shown in crash tracebacks, ``bzr
2970
--version`` and ``bzr selftest``.
2971
(Martin Pool, #409137)
2973
* bzr can now (again) capture crash data through the apport library,
2974
so that a single human-readable file can be attached to bug reports.
2975
This can be disabled by using ``-Dno_apport`` on the command line, or by
2976
putting ``no_apport`` into the ``debug_flags`` section of
2978
(Martin Pool, Robert Collins, #389328)
2980
* ``bzr push`` locally on windows will no longer give a locking error with
2981
dirstate based formats. (Robert Collins)
2983
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
2984
(Robert Collins, #305006)
2986
* Commit of specific files no longer prevents using the iter_changes
2987
codepath. On 2a repositories, commit of specific files should now be as
2988
fast, or slightly faster, than a full commit. (Robert Collins)
2990
* The internal core code that handles specific file operations like
2991
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
2992
include the parent directories if they have altered, and when a
2993
directory stops being a directory its children are always included. This
2994
fixes a number of causes for ``InconsistentDelta`` errors, and permits
2995
faster commit of specific paths. (Robert Collins, #347649)
3000
* New developer documentation for content filtering.
3006
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
3007
classes changed to manage lock lifetime of the trees they open in a way
3008
consistent with reader-exclusive locks. (Robert Collins, #305006)
3016
:Codename: nein nein nein!
3019
This release fixes two small but worthwhile bugs relevant to users on
3020
Microsoft Windows: some commands that failed on with locking errors will
3021
now work, and a bug that caused poor performance after committing a file
3022
with line-ending conversion has now been fixed. It also fixes a bug in
3023
pushing to older servers.
3028
* Fixed a problem where using content filtering and especially end-of-line
3029
conversion will commit too many copies a file.
3030
(Martin Pool, #415508)
3032
* Fix assertion error about ``_remember_remote_is_before`` in
3033
``set_tags_bytes`` when pushing to older smart servers.
3034
(Andrew Bennetts, Alexander Belchenko, #418931)
3039
* ``bzr push`` locally on Windows will no longer give a locking error with
3040
dirstate based formats. (Robert Collins)
3042
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
3043
(Robert Collins, #305006)
3048
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
3049
classes changed to manage lock lifetime of the trees they open in a way
3050
consistent with reader-exclusive locks. (Robert Collins, #305006)
3052
* ``Tree.path_content_summary`` may return a size of None, when called on
3053
a tree with content filtering where the size of the canonical form
3054
cannot be cheaply determined. (Martin Pool)
3056
* When manually creating transport servers in test cases, a new helper
3057
``TestCase.start_server`` that registers a cleanup and starts the server
3058
should be used. (Robert Collins)
3063
Compatibility Breaks
3064
********************
3066
* Committing directly to a stacked branch from a lightweight checkout will
3067
no longer work. In previous versions this would appear to work but would
3068
generate repositories with insufficient data to create deltas, leading
3069
to later errors when branching or reading from the repository.
3070
(Robert Collins, bug #375013)
3078
* Fetching from 2a branches from a version-2 bzr protocol would fail to
3079
copy the internal inventory pages from the CHK store. This cannot happen
3080
in normal use as all 2a compatible clients and servers support the
3081
version-3 protocol, but it does cause test suite failures when testing
3082
downlevel protocol behaviour. (Robert Collins)
3084
* Fix a test failure on karmic by making a locale test more robust.
3085
(Vincent Ladeuil, #413514)
3087
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
3088
fully packed 2a repository. (Andrew Bennetts, #382463)
3090
* Further tweaks to handling of ``bzr add`` messages about ignored files.
3091
(Jason Spashett, #76616)
3093
* Properly handle fetching into a stacked branch while converting the
3094
data, especially when there are also ghosts. The code was filling in
3095
parent inventories incorrectly, and also not handling when one of the
3096
parents was a ghost. (John Arbash Meinel, #402778, #412198)
3098
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
3099
inventory pages when appropriate (by falling back to the vfs stream
3100
source). (Andrew Bennetts, #406686)
3102
* StreamSource generates rich roots from non-rich root sources correctly
3103
now. (Andrew Bennetts, #368921)
3105
* When deciding whether a repository was compatible for upgrading or
3106
fetching, we previously incorrectly checked the default repository
3107
format for the bzrdir format, rather than the format that was actually
3108
present on disk. (Martin Pool, #408824)
3113
* A better description of the platform is shown in crash tracebacks, ``bzr
3114
--version`` and ``bzr selftest``.
3115
(Martin Pool, #409137)
3117
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
3118
smart server are more efficient now. They send inventory deltas rather
3119
than full inventories. The smart server has two new requests,
3120
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
3121
support this. (Andrew Bennetts, #374738, #385826)
3123
* Extracting the full ancestry and computing the ``merge_sort`` is now
3124
significantly faster. This effects things like ``bzr log -n0``. (For
3125
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
3126
(John Arbash Meinel)
3137
* ``-Dstrict_locks`` can now be used to check that read and write locks
3138
are treated properly w.r.t. exclusivity. (We don't try to take an OS
3139
read lock on a file that we already have an OS write lock on.) This is
3140
now set by default for all tests, if you have a test which cannot be
3141
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
3142
compatibility knob. (John Arbash Meinel)
3144
* InterDifferingSerializer is now only used locally. Other fetches that
3145
would have used InterDifferingSerializer now use the more network
3146
friendly StreamSource, which now automatically does the same
3147
transformations as InterDifferingSerializer. (Andrew Bennetts)
3149
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
3150
are implemented in pyrex and significantly faster. This is exposed along
3151
with ``CombinedGraphIndex.find_ancestry()`` as
3152
``VersionedFiles.get_known_graph_ancestry(keys)``.
3153
(John Arbash Meinel)
3155
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
3156
protocols. (Robert Collins)
3158
* The index code now has some specialized routines to extract the full
3159
ancestry of a key in a more efficient manner.
3160
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
3161
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
3167
* Install the test ssl certificate and key so that installed bzr
3168
can run the https tests. (Denys Duchier, #392401)
3174
:Codename: little traveller
3176
:1.18rc1: 2009-08-10
3178
This release of Bazaar marches on towards the 2.0 release in which the 2a
3179
'brisbane-core' format becomes generally recommended. Most of the work in
3180
this release now focusses on bug fixes and stabilization, covering both 2a
3181
and previous formats. There is a new text-mode interactive merge feature,
3182
a new guide to migration to 2a format in the user documentation, and
3183
pushing branches to a smart server is now much faster.
3185
The Bazaar team decided that 2.0 will be a long-term supported release,
3186
with bugfix-only releases based on it continuing for at least six months
3187
or until the following stable release.
3189
There are no changes from 1.18rc1 to 1.18.
3194
* ``bzr merge --interactive`` applies a user-selected portion of the
3195
merge. The UI is similar to ``shelve``. (Aaron Bentley)
3197
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
3198
``--unstacked`` to change stacking of a branch.
3199
(Martin Pool, #391411)
3204
* Annotating on a stacked branch will now succeed in simple scenarios.
3205
There are still some complex scenarios where it will fail (bug #399884)
3206
(John Arbash Meinel, #393366)
3208
* A progress bar is no longer left dangling when ``bzr selftest``
3209
completes, and the progress bar updates with zero latency so the
3210
displayed test name is always the one that's actually running.
3211
(Martin Pool, #123688)
3213
* Authenticating against an ssh server now uses ``auth_none`` to determine
3214
if password authentication is even supported. This fixes a bug where
3215
users would be prompted for a launchpad password, even though launchpad
3216
only supports publickey authentication. (John Arbash Meinel, #375867)
3218
* BranchBuilder now accepts timezone to avoid test failures in countries far
3219
from GMT. (Vincent Ladeuil, #397716)
3221
* ``bzr commit`` no longer saves the unversioning of missing files until
3222
the commit has completed on the branch. This means that aborting a
3223
commit that found a missing file will leave the tree unedited.
3224
(Robert Collins, #282402)
3226
* ``bzr mv`` no longer takes out branch locks, which allows it to work
3227
when the branch is readonly. (Robert Collins, #216541)
3229
* ``bzr revert .`` no longer generates an InconsistentDelta error when
3230
there are missing subtrees. (Robert Collins, #367632)
3232
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
3233
do to internal changes necessary to support this, older clients will
3234
fail when trying to insert them. For newer clients, the bundle can be
3235
used to apply the changes to any rich-root compatible format.
3236
(John Arbash Meinel, #393349)
3238
* Cope with FTP servers that don't support restart/append by falling back
3239
to reading and then rewriting the whole file, such as TahoeLAFS. (This
3240
fallback may be slow for some access patterns.) (Nils Durner, #294709)
3242
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
3243
external diff client. This at least allows supporting filenames that are
3244
not ascii, but are present in the current locale. Ideally we would be
3245
able to pass the Unicode path, but that would be client dependent.
3246
(John Arbash Meinel, #382709)
3248
* Fix a compile bug on Solaris having to do with const and
3249
pointer-to-pointers. (John Arbash Meinel, #408441)
3251
* Fixed a NameError that occurs when merging or pulling from a URL that
3252
causes a redirection loop when bzr tries to read a URL as a bundle.
3253
(Andrew Bennetts, #400847)
3255
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
3256
running send and similar commands on 2a formats.
3257
(Martin Pool, #408201)
3259
* Fix crash in some invocations of ``bzr status`` in format 2a.
3260
(Martin Pool, #403523)
3262
* Fixed export to existing directory: if directory is empty then export
3263
will succeed, otherwise it fails with error.
3264
(Alexander Belchenko, #406174)
3266
* Fixed spurious "Source branch does not support stacking" warning when
3267
pushing. (Andrew Bennetts, #388908)
3269
* Fixed spurious transport activity indicator appearing while tests are
3270
running. (Martin Pool, #343532)
3272
* Merge now correctly handles empty right-hand revision specs.
3273
(Aaron Bentley, #333961)
3275
* Renames to lexographically lower basenames in trees that have never been
3276
committed to will no longer corrupt the dirstate. This was caused by an
3277
bug in the dirstate update_minimal method. (Robert Collins, #395556)
3279
* Requests for unknown methods no longer cause the smart server to log
3280
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
3281
``do_end``. (Andrew Bennetts, #338561)
3283
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
3285
* Streaming from bzr servers where there is a chain of stacked branches
3286
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
3288
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
3289
always forces progress bars either on or off respectively. Otherwise,
3290
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
3291
bzr always uses the 'text' user interface when run as a command, so
3292
``BZR_USE_TEXT_UI`` is no longer needed.
3293
(Martin Pool, #339385, #387717)
3295
* The optional ``_knit_load_data_pyx`` C extension was never being
3296
imported. This caused significant slowdowns when reading data from
3297
repositories. (Andrew Bennetts, #405653)
3299
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
3300
supported at the moment on workingtree formats that can do content
3301
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
3302
bzr now says so, rather than just ignoring the option. (Martin Pool)
3304
* There was a bug in ``osutils.relpath`` that was only triggered on
3305
Windows. Essentially if you were at the root of a drive, and did
3306
something to a branch/repo on another drive, we would go into an
3307
infinite loop while trying to find a 'relative path'.
3308
(John Arbash Meinel, #394227)
3310
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
3311
were present in a parent tree but renamed in the working tree.
3312
(Robert Collins, #187207)
3317
* Can now rename/move files even if they have been removed from the inventory.
3320
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
3321
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
3322
than VFS methods. For example, pushes of small branches with tags take
3323
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
3325
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
3326
the same way that sending Ctrl-\\ does on other platforms.
3327
(John Arbash Meinel)
3332
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
3337
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
3338
need to subclass or create a specific class, or better yet the existing
3339
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
3340
user interaction at all, rather than trying to read from stdin but not
3341
writing any output, which would be strange if reading prompts or
3342
passwords. (Martin Pool)
3344
* New TransformPreview.commit() allows committing without a working tree.
3347
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
3350
* ProgressTasks now prefer to talk direct to their ProgressView not to the
3354
* ``WorkingTree._check`` now requires a references dict with keys matching
3355
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
3360
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
3361
reading the entries along the path, reducing work to lookup ids from
3362
paths. (Robert Collins)
3364
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
3365
as new a key which was already mapped. (Robert Collins)
3367
* Inventory delta application catches more cases of corruption and can
3368
prevent corrupt deltas from affecting consistency of data structures on
3369
disk. (Robert Collins)
3371
* --subunit support now adds timestamps if the subunit version supports
3372
it. (Robert Collins)
3374
* The Windows all-in-one installer now bundles the PyQt image format
3375
plugins, which allows previewing more images as part of 'qdiff'.
3376
(Alexander Belchenko)
3382
* Merge directive cherrypick tests must use the same root id.
3383
(Martin Pool, #409684)
3385
* Spurious failure in ``check`` tests on rich-root formats fixed.
3386
(Martin Pool, #408199)
3388
* The ``bzrlib.tests.TextTestRunner`` will no longer call
3389
``countTestsCases`` on the test being run. Progress information is
3390
instead handled by having the test passed in call ``result.progress``
3391
before running its contents. This improves the behaviour when using
3392
``TextTestRunner`` with test suites that don't support
3393
``countTestsCases``. (Robert Collins)
3396
bzr 1.17.1 (unreleased)
3397
#######################
3402
* The optional ``_knit_load_data_pyx`` C extension was never being
3403
imported. This caused significant slowdowns when reading data from
3404
knit format repositories. (Andrew Bennetts, #405653)
3409
:Codename: so-late-its-brunch
3410
:1.17rc1: 2009-07-13
3414
Bazaar continues to blaze a straight and shining path to the 2.0 release and
3415
the elevation of the ``2a`` beta format to the full glory of "supported and
3418
Highlights in this release include greatly reduced memory consumption during
3419
commits, faster ``ls``, faster ``annotate``, faster network operations if
3420
you're specifying a revision number and the final destruction of those
3421
annoying progress bar artifacts.
3424
Changes from 1.17rc1 to 1.17final
3425
*********************************
3427
* Change an extension to call the python ``frozenset()`` rather than the C
3428
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
3429
C api. (John Arbash Meinel, #399366)
3431
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
3432
``tools/generate_docs.py`` to allow everything to be built on Windows.
3433
(John Arbash Meinel, #399356)
3435
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
3436
directory before serving it. (Andrew Bennetts, #400535)
3439
Compatibility Breaks
3440
********************
3442
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
3443
instead of "product" which is the correct Launchpad terminology. The
3444
--product option is deprecated and users should switch to using --project.
3445
(Neil Martinsen-Burrell, #238764)
3451
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
3452
are present in the working tree (if one is present) and no revision is
3453
specified. The configuration option ``push_strict`` can be used to set the
3454
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
3456
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
3457
show revision info for the working tree instead of the branch.
3458
(Matthew Fuller, John Arbash Meinel)
3460
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
3461
are present in the working tree and no revision is specified. The
3462
configuration option ``send_strict`` can be used to set the default for this
3464
(Vincent Ladeuil, #206577)
3466
* ``bzr switch --create-branch/-b`` can now be used to create and switch
3467
to a new branch. Supplying a name without a ``/`` will create the branch
3468
relative to the existing branch. (similar to how ``bzr switch name``
3469
works when the branch already exists.) (John Arbash Meinel)
3475
* Accept uppercase "Y/N" to prompts such as from break lock.
3476
(#335182, Tim Powell, Martin Pool)
3478
* Add documentation about diverged branches and how to fix them in the
3479
centralized workflow with local commits. Mention ``bzr help
3480
diverged-branches`` when a push fails because the branches have
3481
diverged. (Neil Martinsen-Burrell, #269477)
3483
* Annotate would sometimes 'latch on' to trivial lines, causing important
3484
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
3486
* Automatic format upgrades triggered by default stacking policies on a
3487
1.16rc1 (or later) smart server work again.
3488
(Andrew Bennetts, #388675)
3490
* Avoid progress bar artifacts being left behind on the screen.
3491
(Martin Pool, #321935)
3493
* Better message in ``bzr split`` error suggesting a rich root format.
3494
(Neil Martinsen-Burrell, #220067)
3496
* ``Branch.set_append_revisions_only`` now works with branches on a smart
3497
server. (Andrew Bennetts, #365865)
3499
* By default, ``bzr branch`` will fail if the target directory exists, but
3500
does not already have a control directory. The flag ``--use-existing-dir``
3501
will allow operation to proceed. (Alexander Belchenko, #307554)
3503
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
3506
* Fetch between repositories does not error if they have inconsistent data
3507
that should be irrelevant to the fetch operation. (Aaron Bentley)
3509
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
3510
of a remote repository.
3511
(Jelmer Vernooij, #332194)
3513
* Fix bug in decoding v3 smart server messages when receiving multiple
3514
lots of excess bytes after an end-of-message.
3517
* Force deletion of readonly files during merge, update and other tree
3519
(Craig Hewetson, Martin Pool, #218206)
3521
* Force socket shutdown in threaded http test servers to avoid client hangs
3522
(pycurl). (Vincent Ladeuil, #383920).
3524
* ``LRUCache`` will maintain the linked list pointers even if a nodes
3525
cleanup function raises an exception. (John Arbash Meinel, #396838)
3527
* Progress bars are now suppressed again when the environment variable
3528
``BZR_PROGRESS_BAR`` is set to ``none``.
3529
(Martin Pool, #339385)
3531
* Reduced memory consumption during ``bzr commit`` of large files. For
3532
pre 2a formats, should be down to ~3x the size of a file.
3533
For ``--2a`` format repositories, it is down to the size of the file
3534
content plus the size of the compressed text. Related to bug #109114.
3535
(John Arbash Meinel)
3537
* Set hidden attribute on .bzr directory below unicode path should never
3538
fail with error. The operation should succeed even if bzr unable to set
3539
the attribute. (Alexander Belchenko, related to bug #335362).
3541
* Stacking will no longer accept requests to stack on the same
3542
branch/repository. Existing branches that incorrectly reference the same
3543
repository in a stacking configuration will now raise
3544
UnstackableLocationError when the branch is opened. This can be fixed by
3545
removing the stacking location inside ``.bzr/branch``.
3546
(Robert Collins, #376243)
3548
* The ``log+`` decorator, useful in debugging or profiling, could cause
3549
"AttributeError: 'list' object has no attribute 'next'". This is now
3550
fixed. The log decorator no longer shows the elapsed time or transfer
3551
rate because they're available in the log prefixes and the transport
3552
activity display respectively.
3553
(Martin Pool, #340347)
3555
* Unshelve works correctly when multiple zero-length files are present on
3556
the shelf. (Aaron Bentley, #363444)
3558
* Progress bars no longer show the network transport scheme or direction.
3561
* launchpad-login now respects the 'verbose' option.
3562
(Jonathan Lange, #217031)
3568
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
3569
possible to write a deprecation wrapper, but the variable will be
3570
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
3571
instead. (Alexander Belchenko)
3573
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
3574
three new hook points: ``get_command``, ``get_missing_command`` and
3575
``list_commands``, which allow just-in-time command name provision
3576
rather than requiring all command names be known a-priori.
3579
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
3580
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
3582
* ``graph.KnownGraph`` has been added. This is a class that can give
3583
answers to ``heads()`` very quickly. However, it has the assumption that
3584
the whole graph has already been loaded. This is true during
3585
``annotate`` so it is used there with good success (as much as 2x faster
3586
for files with long ancestry and 'cherrypicked' changes.)
3587
(John Arbash Meinel, Vincent Ladeuil)
3589
* OS file locks are now taken out using ``CreateFile`` rather than
3590
``LockFileEx`` on Windows. The locking remains exclusive with
3591
``LockFileEx`` but now it also works on older versions of Windows (such
3592
as Win98). (Martin <gzlist>)
3594
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
3595
than the ``Packer`` code. The user visible change is that we now
3596
properly fetch the minimum number of texts for non-smart fetching.
3597
(John Arbash Meinel)
3600
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
3601
the repository as a single string, rather than a list of lines. This can
3602
improve memory overhead and performance of committing large files.
3603
(Currently a private api, used only by commit). (John Arbash Meinel)
3609
* ``bzr annotate`` can now be significantly faster. The time for
3610
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
3611
histories and lots of 'duplicate insertions' will be improved more than
3612
others. (John Arbash Meinel, Vincent Ladeuil)
3614
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
3615
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
3616
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
3618
* Improve "Path(s) are not versioned" error reporting for some commands.
3621
* Initial commit performance in ``--2a`` repositories has been improved by
3622
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
3624
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
3625
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
3626
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
3628
* ``revision-info`` now properly aligns the revnos/revids in the output
3629
and doesn't traceback when given revisions not in the current branch.
3630
Performance is also significantly improved when requesting multiple revs
3631
at once. (Matthew Fuller, John Arbash Meinel)
3633
* Tildes are no longer escaped by Transports. (Andy Kilner)
3639
* Avoid bad text wrapping in generated documentation. Slightly better
3640
formatting in the user reference.
3641
(Martin Pool, #249908)
3643
* Minor clarifications to the help for End-Of-Line conversions.
3649
* Removed overspecific error class ``InvalidProgressBarType``.
3652
* The method ``ProgressView._show_transport_activity`` is now
3653
``show_transport_activity`` because it's part of the contract between
3654
this class and the UI. (Martin Pool)
3660
:Released: 2009-06-26
3662
End user testing of the 2a format revealed two serious bugs. The first,
3663
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
3664
This meant that commits or pushes to 2a-format repositories failed
3667
The second bug, #390563, caused the smart server to raise AbsentContentFactory
3668
when streaming 2a stacked 2a-format branches. This particularly affected
3669
branches stored on Launchpad in the 2a format.
3671
Both of these bugs cause command failures only, neither of them cause data
3672
corruption or data loss. And, of course, both of these bugs are now fixed.
3677
* We now properly request a more minimal set of file texts when fetching
3678
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
3680
* Repositories using CHK pages (which includes the new 2a format) will no
3681
longer error during commit or push operations when an autopack operation
3682
is triggered. (Robert Collins, #365615)
3684
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
3685
of referenced nodes rather than the *union* to determine what
3686
uninteresting pages we still need to look at. Prior to this,
3687
incrementally pushing to stacked branch would push the minimal data, but
3688
fetching everything would request extra texts. There are some unhandled
3689
cases wrt trees of different depths, but this fixes the common cases.
3690
(Robert Collins, John Arbash Meinel, #390563)
3692
* ``GroupCompress`` repositories now take advantage of the pack hints
3693
parameter to permit cross-format fetching to incrementally pack the
3694
converted data. (Robert Collins)
3696
* ``Repository.commit_write_group`` now returns opaque data about what
3697
was committed, for passing to the ``Repository.pack``. Repositories
3698
without atomic commits will still return None. (Robert Collins)
3700
* ``Repository.pack`` now takes an optional ``hint`` parameter
3701
which will support doing partial packs for repositories that can do
3702
that. (Robert Collins)
3704
* RepositoryFormat has a new attribute 'pack_compresses' which is True
3705
when doing a pack operation changes the compression of content in the
3706
repository. (Robert Collins)
3708
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
3709
``Repository.pack`` with the hint returned by
3710
``Repository.commit_write_group`` if the formats were different and the
3711
repository can increase compression by doing a pack operation.
3712
(Robert Collins, #376748)
3717
:Codename: yesterday-in-california
3718
:1.16rc1: 2009-06-11
3721
This version of Bazaar contains the beta release of the new ``2a`` repository
3722
format, suitable for testing by fearless, advanced users. This format or an
3723
updated version of it will become the default format in Bazaar 2.0. Please
3724
read the NEWS entry before even thinking about upgrading to the new format.
3726
Also included are speedups for many operations on huge projects, a bug fix for
3727
pushing stacked new stacked branches to smart servers and the usual bevy of
3728
bug fixes and improvements.
3731
Changes from 1.16rc1 to 1.16final
3732
*********************************
3734
* Fix the nested tree flag check so that upgrade from development formats to
3735
2a can work correctly.
3736
(Jelmer Vernooij, #388727)
3738
* Automatic format upgrades triggered by default stacking policies on a
3739
1.16rc1 (or later) smart server work again.
3740
(Andrew Bennetts, #388675)
3743
Compatibility Breaks
3744
********************
3746
* Display prompt on stderr (instead of stdout) when querying users so
3747
that the output of commands can be safely redirected.
3748
(Vincent Ladeuil, #376582)
3754
* A new repository format ``2a`` has been added. This is a beta release
3755
of the brisbane-core (aka group-compress) project. This format now
3756
suitable for wider testing by advanced users willing to deal with some
3757
bugs. We would appreciate test reports, either positive or negative.
3758
Format 2a is substantially smaller and faster for many operations on
3759
many trees. This format or an updated version will become the default
3762
This is a rich-root format, so this repository format can be used with
3763
bzr-svn. Bazaar branches in previous non-rich-root formats can be
3764
converted (including by merge, push and pull) to format 2a, but not vice
3765
versa. We recommend upgrading previous development formats to 2a.
3767
Upgrading to this format can take considerable time because it expands
3768
and more concisely repacks the full history.
3770
If you use stacked branches, you must upgrade the stacked branches
3771
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
3773
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
3774
but using a Revision serializer using bencode rather than XML.
3775
(Jelmer Vernooij, John Arbash Meinel)
3777
* mail_client=claws now supports --body (and message body hooks). Also uses
3778
configured from address. (Barry Warsaw)
3784
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
3785
bugs with stacking and non default formats.)
3786
(John Arbash Meinel, #373455)
3788
* ``--development6-rich-root`` delays generating a delta index for the
3789
first object inserted into a group. This has a beneficial impact on
3790
``bzr commit`` since each committed texts goes to its own group. For
3791
committing a 90MB file, it drops peak memory by about 200MB, and speeds
3792
up commit from 7s => 4s. (John Arbash Meinel)
3794
* Numerous operations are now faster for huge projects, i.e. those
3795
with a large number of files and/or a large number of revisions,
3796
particularly when the latest development format is used. These
3797
operations (and improvements on OpenOffice.org) include:
3799
* branch in a shared repository (2X faster)
3800
* branch --no-tree (100X faster)
3806
* Pyrex version of ``bencode`` support. This provides optimized support
3807
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
3808
``bzrlib.utils.bencode`` is now deprecated.
3809
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
3815
* Bazaar can now pass attachment files to the mutt email client.
3816
(Edwin Grubbs, #384158)
3818
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
3819
see which files can also be added. (Jason Spashett, #76616)
3821
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
3822
Also, the ``Branch.revision_history()`` API now works in the same
3823
situation. (Andrew Bennetts, #380314)
3825
* ``bzr serve`` on Windows no longer displays a traceback simply because a
3826
TCP client disconnected. (Andrew Bennetts)
3828
* Clarify the rules for locking and fallback repositories. Fix bugs in how
3829
``RemoteRepository`` was handling fallbacks along with the
3830
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
3832
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
3833
branch. Not often triggered, because it required ghosts to be part of
3834
the fetched revisions, not in the stacked-on ancestry.
3835
(John Arbash Meinel)
3837
* Fix status and commit to work with content filtered trees, addressing
3838
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
3840
* Fix problem of "directory not empty" when contending for a lock over
3841
sftp. (Martin Pool, #340352)
3843
* Fix rule handling so that eol is optional, not mandatory.
3844
(Ian Clatworthy, #379370)
3846
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
3847
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
3848
1.16, but required changes to the network protocol, so the
3849
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
3850
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
3851
still work with a 1.16 server as they will fallback to slower (and
3853
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
3855
* Reconcile can now deal with text revisions that originated in revisions
3856
that are ghosts. (Jelmer Vernooij, #336749)
3858
* Support cloning of branches with ghosts in the left hand side history.
3859
(Jelmer Vernooij, #248540)
3861
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
3862
helpful message to the trace file, unless the temp directory really was
3863
removed (which would be very strange). Since the diff operation has
3864
succeeded from the user's perspective, no output is written to stderr
3865
or stdout. (Maritza Mendez, #363837)
3867
* Translate errors received from a smart server in response to a
3868
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
3869
This was causing tracebacks even for mundane errors like
3870
``PermissionDenied``. (Andrew Bennetts, #381329)
3875
* Added directory structure and started translation of docs in Russian.
3876
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
3877
Volodymyr Kotulskyi)
3882
* Added osutils.parent_directories(). (Ian Clatworthy)
3884
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
3885
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
3886
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
3888
* ``graph.StackedParentsProvider`` is now a public API, replacing
3889
``graph._StackedParentsProvider``. The api is now considered stable and ready
3890
for external users. (Gary van der Merwe)
3892
* ``bzrlib.user_encoding`` is deprecated in favor of
3893
``get_user_encoding``. (Alexander Belchenko)
3895
* TreeTransformBase no longer assumes that limbo is provided via disk.
3896
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
3901
* Remove ``weave.py`` script for accessing internals of old weave-format
3902
repositories. (Martin Pool)
3907
* ``make check`` no longer repeats the test run in ``LANG=C``.
3908
(Martin Pool, #386180)
3910
* The number of cores is now correctly detected on OSX. (John Szakmeister)
3912
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
3914
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
3919
:1.15rc1: 2009-05-16
3923
The smart server will no longer raise 'NoSuchRevision' when streaming content
3924
with a size mismatch in a reconstructed graph search. New command ``bzr
3925
dpush``. Plugins can now define their own annotation tie-breaker when two
3926
revisions introduce the exact same line.
3928
Changes from 1.15.1 to 1.15.2
3929
*****************************
3931
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
3932
(Alexander Belchenko)
3934
Changes from 1.15final to 1.15.1
3935
*********************************
3937
* Translate errors received from a smart server in response to a
3938
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
3939
This was causing tracebacks even for mundane errors like
3940
``PermissionDenied``. (Andrew Bennetts, #381329)
3942
Changes from 1.15rc1 to 1.15final
3943
*********************************
3947
Compatibility Breaks
3948
********************
3950
* ``bzr ls`` is no longer recursive by default. To recurse, use the
3951
new ``-R`` option. The old ``--non-recursive`` option has been removed.
3952
If you alias ``ls`` to ``ls -R``, you can disable recursion using
3953
``--no-recursive`` instead. (Ian Clatworthy)
3958
* New command ``bzr dpush`` that can push changes to foreign
3959
branches (svn, git) without setting custom bzr-specific metadata.
3962
* The new development format ``--development6-rich-root`` now supports
3963
stacking. We chose not to use a new format marker, since old clients
3964
will just fail to open stacked branches, the same as if we used a new
3965
format flag. (John Arbash Meinel, #373455)
3967
* Plugins can now define their own annotation tie-breaker when two revisions
3968
introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
3969
Be aware though that this is temporary, private (as indicated by the leading
3970
'_') and a first step to address the problem. (Vincent Ladeuil, #348459)
3972
* New command ``bzr dpush`` that can push changes to foreign
3973
branches (svn, git) without setting custom bzr-specific metadata.
3976
* ``bzr send`` will now check the ``child_submit_format`` setting in
3977
the submit branch to determine what format to use, if none was
3978
specified on the command-line. (Jelmer Vernooij)
3983
* -Dhpss output now includes the number of VFS calls made to the remote
3984
server. (Jonathan Lange)
3986
* ``--coverage`` works for code running in threads too.
3987
(Andrew Bennets, Vincent Ladeuil)
3989
* ``bzr pull`` now has a ``--local`` option to only make changes to the
3990
local branch, and not the bound master branch.
3991
(Gary van der Merwe, #194716)
3993
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
3998
* Adding now works properly when path contains a symbolic link.
3999
(Geoff Bache, #183831)
4001
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
4003
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
4004
line, and the other side modifies the line. (John Arbash Meinel, #328171)
4006
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
4007
(Martin von Gagern, #248932)
4009
* ``bzr send`` works to send emails again using MAPI.
4010
(Neil Martinsen-Burrell, #346998)
4012
* Check for missing parent inventories in StreamSink. This prevents
4013
incomplete stacked branches being created by 1.13 bzr:// and
4014
bzr+ssh:// clients (which have bug #354036). Instead, the server now
4015
causes those clients to send the missing records. (Andrew Bennetts)
4017
* Correctly handle http servers proposing multiple authentication schemes.
4018
(Vincent Ladeuil, #366107)
4020
* End-Of-Line content filters are now loaded correctly.
4021
(Ian Clatworthy, Brian de Alwis, #355280)
4023
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
4024
longer than 64KiB. (John Arbash Meinel, #364900)
4026
* Fix TypeError in running ``bzr break-lock`` on some URLs.
4027
(Alexander Belchenko, Martin Pool, #365891)
4029
* Non-recursive ``bzr ls`` now works properly when a path is specified.
4030
(Jelmer Vernooij, #357863)
4032
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
4033
(Vincent Ladeuil, #367726)
4035
* Several bugs related to unicode symlinks have been fixed and the test suite
4036
enhanced to better catch regressions for them. (Vincent Ladeuil)
4038
* The smart server will no longer raise 'NoSuchRevision' when streaming
4039
content with a size mismatch in a reconstructed graph search: it assumes
4040
that the client will make sure it is happy with what it got, and this
4041
sort of mismatch is normal for stacked environments.
4042
bzr 1.13.0/1 will stream from unstacked branches only - in that case not
4043
getting all the content expected would be a bug. However the graph
4044
search is how we figured out what we wanted, so a mismatch is both odd
4045
and unrecoverable without starting over, and starting over will end up
4046
with the same data as if we just permitted the mismatch. If data is
4047
gc'd, doing a new search will find only the truncated data, so sending
4048
only the truncated data seems reasonable. bzr versions newer than this
4049
will stream from stacked branches and check the stream to find missing
4050
content in the stacked-on branch, and thus will handle the situation
4051
implicitly. (Robert Collins, #360791)
4053
* Upgrading to, or fetching into a 'rich-root' format will now correctly
4054
set the root data the same way that reconcile does.
4055
(Robert Collins, #368921)
4057
* Using unicode Windows API to obtain command-line arguments.
4058
(Alexander Belchenko, #375934)
4066
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
4067
instead of ``InstallFailed`` when they detect a missing revision.
4068
``InstallFailed`` itself has been deleted. (Jonathan Lange)
4070
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
4071
arguments from ``osutils.get_unicode_argv()`` which has proper support
4072
for unicode arguments on windows. Further, the supplied arguments are now
4073
required to be unicode strings, rather than user_encoded strings.
4074
(Alexander Belchenko)
4079
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
4080
class and will call ``_set_parent_location`` after doing unicode
4081
encoding. (Robert Collins)
4083
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
4084
``Branch.set_parent_location`` removing further VFS operations.
4087
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
4088
or similar when the dir supports configuration settings. The base class
4089
defaults to None. There is a matching new server verb
4090
``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
4091
configuration. (Robert Collins)
4093
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
4094
called before the first test is started, ``done`` called after the last
4095
test completes, and a new parameter ``strict``. (Robert Collins)
4097
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
4098
VFS operations are started on a smart server repository. This should not
4099
occur on regular push and pull operations, and is a key indicator for
4100
performance regressions. (Robert Collins)
4102
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
4103
cause mismatched physical locks to cause test errors rather than just
4104
reporting to the screen. (Robert Collins)
4106
* -Dprogress will cause pdb to start up if a progress view jumps
4107
backwards. (Robert Collins)
4109
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
4110
are now be able to provide credentials if obtaining credentials
4111
via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij,
4112
Vincent Ladeuil, #321918)
4114
* New hook ``Lock.lock_broken`` which runs when a lock is
4115
broken. This is mainly for testing that lock/unlock are
4116
balanced in tests. (Vincent Ladeuil)
4118
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
4119
alter a body for the message produced by ``bzr send``.
4121
* New smart server verb ``BzrDir.initialize_ex`` which implements a
4122
refactoring to the core of clone allowing less round trips on new
4123
branches. (Robert Collins)
4125
* New method ``Tags.rename_revisions`` that can rename revision ids tags
4126
are pointing at. (Jelmer Vernooij)
4128
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
4133
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
4134
tests. Using ``-Dlock`` will turn the related failures into warnings.
4135
(Vincent Ladeuil, Robert Collins)
4139
:Codename: brisbane-core
4140
:1.14rc1: 2009-04-06
4141
:1.14rc2: 2009-04-19
4145
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
4146
keyword templating (via the bzr-keywords plugin) and generic content filtering.
4147
End-of-line conversion is now supported for formats supporting content
4150
Changes from 1.14final to 1.14.1
4151
********************************
4153
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
4155
Changes from 1.14rc2 to 1.14final
4156
*********************************
4158
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
4159
longer than 64KiB. (John Arbash Meinel, #364900)
4161
Changes from 1.14rc1 to 1.14rc2
4162
*******************************
4164
* Fix for bug 358037 Revision not in
4165
bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis,
4168
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
4169
attribute 'get_bytes_as' exception while pulling from Launchpad
4170
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
4172
* Fix for bug 355280 eol content filters are never loaded and thus never
4173
applied (Brian de Alwis, Ian Clatworthy)
4175
* bzr.dev -r4280 Change _fetch_uses_deltas = False for CHK repos until we can
4176
write a better fix. (John Arbash Meinel, Robert Collins)
4178
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
4179
(Marius Kruger, Ian Clatworthy)
4181
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14
4182
(Andrew Bennetts, Robert Collins)
4184
Compatibility Breaks
4185
********************
4187
* A previously disabled code path to accelerate getting configuration
4188
settings from a smart server has been reinstated. We think this *may*
4189
cause a incompatibility with servers older than bzr 0.15. We intend
4190
to issue a point release to address this if it turns out to be a
4191
problem. (Robert Collins, Andrew Bennetts)
15
4193
* bzr no longer autodetects nested trees as 'tree-references'. They
16
4194
must now be explicitly added tree references. At the commandline, use
17
4195
join --reference instead of add. (Aaron Bentley)
4197
* The ``--long`` log format (the default) no longer shows merged
4198
revisions implicitly, making it consistent with the ``short`` and
4199
``line`` log formats. To see merged revisions for just a given
4200
revision, use ``bzr log -n0 -rX``. To see every merged revision,
4201
use ``bzr log -n0``. (Ian Clatworthy)
22
* New ``guess-renames`` command recognizes renames after they occur.
4206
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
4207
(EOL) conversions, keyword templating (via the bzr-keywords plugin)
4208
and generic content filtering. These formats replace the experimental
4209
``development-wt5`` and ``development-wt5-rich-root`` formats
4210
respectively, but have support for filtered views disabled.
4213
* New ``mv --auto`` option recognizes renames after they occur.
4216
* ``bzr`` can now get passwords from stdin without requiring a controlling
4217
terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
25
4219
* ``bzr log`` now supports filtering of multiple files and directories
26
4220
and will show changes that touch any of them. Furthermore,
27
4221
directory filtering now shows the changes to any children of that