5
5
.. contents:: List of Releases
11
:Codename: Monkey Magic
12
:2.2b4: NOT RELEASED YET
20
* Support ``--directory`` option for a number of additional commands:
21
conflicts, merge-directive, missing, resolve, shelve, switch,
22
unshelve, whoami. (Martin von Gagern, #527878)
27
* ``bzr init`` does not recursively scan directory contents anymore
28
leading to faster init for directories with existing content.
29
(Martin [gz], Parth Malwankar, #501307)
31
* Final fix for 'no help for command' issue. We now show a clean message
32
when a command has no help, document how to set help more clearly, and
33
test that all commands available to the test suite have help.
34
(Robert Collins, #177500)
36
* Explicitly removing ``--profile-imports`` option from parsed command-line
37
arguments on Windows, because bzr script does the same.
38
(Alexander Belchenko, #588277)
43
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
44
do not cause modules to be loaded unnecessarily just because the plugin
45
registers a merge hook. This improves ``bzr rocks`` time by about 25%
46
in a default installation (with just the core plugins).
52
* Added ``regression`` tag to our tags list. (Robert Collins)
54
* Improved our release checklist to have a bit less churn and leave things
55
ready-to-go for the next action (including other people doing
56
development). (Robert Collins)
61
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
62
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
63
``bzrlib.patiencediff`` instead.
11
:2.2b3: NOT RELEASED YET
78
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
79
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
80
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
81
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
82
bash completion script and bzr will no longer guess at identity details -
83
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
84
For developers we have some API changes which may impact plugins as well
85
as a bunch of our regular improvements to internal clarity and test
13
88
Compatibility Breaks
14
89
********************
91
* An API break has been made to the lock_write method of ``Branch`` and
92
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
93
and ``repository.RepositoryWriteLockResult`` objects. This makes
94
changing the API in future easier and permits some cleaner calling code.
95
The lock_read method has also changed from having no defined return
96
value to returning ``LogicalLockResult`` objects.
99
* ``bzr`` does not try to guess the username as ``username@hostname``
100
and requires it to be explictly set. This can be set using ``bzr
102
(Parth Malwankar, #549310)
104
* ``bzrlib.commands.Command`` will now raise ValueError during
105
construction if there is no __doc__ set. (Note, this will be reverted in
106
2.2b4) (Robert Collins)
108
* The source tree no longer contains a contrib/zsh/_bzr completion
109
script. The new file contrib/zsh/README suggests alternatives.
110
(Martin von Gagern, #560030)
31
127
(Parth Malwankar, #304320)
129
* New command line option ``--authors`` to ``bzr log`` allows users to
130
select which of the apparent authors and committer should be
131
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
133
* Support ``--directory`` option for a number of additional commands:
134
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
135
export, ignore, ignored, lookup-revision, ls, modified, nick,
136
re-sign, unbind, unknowns.
137
(Martin von Gagern, #527878)
139
* The bash_completion plugin from the bzr-bash-completion project has
140
been merged into the tree. It provides a bash-completion command and
141
replaces the outdated ``contrib/bash/bzr`` script with a version
142
using the plugin. (Martin von Gagern, #560030)
144
* A new transport based on GIO (the gnome i/o library) provides access to
145
samba shares, webdav using gio+smb and gio+dav. It is also possible to
146
use gio for some already existing transport methods as gio+file,
153
* Alias information shown by ``bzr help`` is now accurate. This
154
was showing an internal object name for some plugin aliases.
155
(Parth Malwankar, #584650)
36
157
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
158
group ownership from the containing directory. This allow bzr to work
39
160
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
162
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
163
support of bzr-externals and scmproj plugins.
164
(Alexander Belchenko, bug #572098)
166
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
167
(Gordon Tyler, #572092)
41
169
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
170
are part of Y ancestry but not part of X ancestry (aka the graph
44
172
(Vincent Ladeuil, #320119)
174
* ``bzr lp-propose`` which was switched to use production Launchpad API
175
servers a few commits ago has been reverted to use edge: there is a
176
problem with using production which isn't trivially obvious, so we've
177
filed a bug to track it, and until thats fixed will be using edge.
178
(Robert Collins, #583667)
180
* ``bzr rm`` should not refuse to delete directories which contained a file
181
which has been moved elsewhere in the tree after the previous commit.
182
(Marius Kruger, Daniel Watkins, #129880)
46
184
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
185
(Vincent Ladeuil, #566670)
49
187
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
188
(Vincent Ladeuil, #563997)
190
* CommitBuilder refuses to create revisions whose trees have no root.
193
* Do not register a SIGWINCH signal handler, instead just poll for the
194
terminal width as needed. This avoids the "Interrupted System Call"
195
problems that occur on POSIX with all currently released versions of
197
(Andrew Bennetts, #583941)
52
199
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
200
(Vincent Ladeuil, #401599)
56
203
versions before 1.6.
57
204
(Andrew Bennetts, #528041)
206
* Improved progress bar for fetch (2a format only). Bazaar now shows an
207
estimate of the number of records to be fetched vs actually fetched.
208
(Parth Malwankar, #374740, #538868)
59
210
* Reduce peak memory by one copy of compressed text.
60
211
(John Arbash Meinel, #566940)
213
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
214
read lock, rather than causing an ``AttributeError``.
215
(Andrew Bennetts, Данило Шеган, #582781)
217
* Selftest was failing with testtools 0.9.3, which caused an
218
AssertionError raised from a cleanUp to be reported as a Failure, not an
219
Error, breaking on of our test hygiene tests.
220
(Robert Collins, Vincent Ladeuil).
222
* ``set_user_option`` with a dict on remote branches no longer fails with
223
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
224
to support this efficiently.
225
(Andrew Bennetts, #430382)
62
227
* Show the filenames when a file rename fails so that the error will be
63
228
more comprehensible.
64
229
(Martin Pool, #491763)
231
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
232
(John Arbash Meinel, #582656)
234
* Unicode characters in aliases are now handled correctly and do not cause
235
UnicodeEncodeError exception. (Parth Malwankar, #529930)
237
* Unicode commit messages that are the same as a file name no longer cause
238
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
240
(Parth Malwankar, #563646)
242
* Using bzr with `lp:` urls behind an http proxy should work.
243
(Robert Collins, #558343)
245
* When passing a file to ``UTF8DirReader`` make sure to close the current
246
directory file handle after the chdir fails. Otherwise when passing many
247
filenames into a command line ``bzr status`` we would leak descriptors.
248
(John Arbash Meinel, #583486)
74
258
(case-sensitive) as false.
75
259
(Brian de Alwis, Vincent Ladeuil)
261
* ``bzr ls`` now supports short options for existing long options.
262
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
263
(Parth Malwankar, #181124)
77
265
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
266
be interpreted as a boolean.
269
* The all-in-one Windows installer will now be built with docstrings stripped
270
from the library zip, reducing the size and slightly improving cold startup
271
time. Bundled plugins are unchanged for the moment, but if adding other new
272
plugins to an all-in-one installation, ensure they are compiled and
273
installed with -O1 or help may not work. (Martin [gz])
293
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
294
expected to return an object which can be used to unlock them. This reduces
295
duplicate code when using cleanups. The previous 'tokens's returned by
296
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
297
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
298
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
300
* ``Repository.refresh_data`` may now be called in a write group on
301
pack-based repositories. Older repositories will still raise an error
302
in this case. Subclasses of ``Repository`` can still override
303
``Repository._refresh_data``, but are now responsible for raising
304
``bzrlib.repository.IsInWriteGroupError`` if they do not support
305
``refresh_data`` during a write group.
306
(Andrew Bennetts, #574236)
311
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
312
the (file-id, revision-id) key from a CHKInventory entry. This can
313
potentially shave 5-10% time off during a large fetch. Related to bug
314
#562666. (John Arbash Meinel)
316
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
102
319
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
320
suboptimal network behaviour is noticed; instead it just mutters to the
104
321
log file (and warns the user if they have set the ``hpss`` debug flag).
242
470
Command is now transient and only exists for the duration of ``run()``.
478
This is the first beta of the 2.2 series, leading up to a 2.2.0
479
release in July or August. Beta releases are suitable for everyday use
480
but may cause some incompatibilities with plugins. Some plugins may need
481
small updates to work with 2.2b1.
483
2.2b1 includes some changes to make merge conflicts easier to understand
484
and resolve. It also removes some old unnecessary code, and loads
485
somewhat less code at startup. It starts adding a common infrastructure
486
for dealing with colocated named branches, which can be implemented in
487
various ways in either bzr native or foreign formats. On Ubuntu and
488
other platforms with the apport bug-reporting library, there's an easier
489
path to report problems with bzr. We plan to continue with these themes
490
through the 2.2 series.
492
Over thirty bugs have been fixed, including in the log command, exporting
493
to tarballs, restarting interrupted system calls, portability of compiled
494
extensions, making backups during upgrade, and locking on ftp.
250
496
Compatibility Breaks
251
497
********************
533
:2.1.2: NOT RELEASED YET
781
This release fixes two critical networking issues with older servers and
782
with interrupted system call errors when pushing or pulling. We recommend
783
upgrading to anyone running a 2.1.x version of bzr.
788
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
789
support of bzr-externals and scmproj plugins.
790
(Alexander Belchenko, bug #572098)
538
792
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
793
(Aaron Bentley, #559436)
795
* Do not register a SIGWINCH signal handler, instead just poll for the
796
terminal width as needed. This avoids the "Interrupted System Call"
797
problems that occur on POSIX with all currently released versions of
799
(Andrew Bennetts, #583941)
541
801
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
802
versions before 1.6.
543
803
(Andrew Bennetts, #528041)
545
805
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
806
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
807
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
548
errors after two window resizes.
808
errors compared to registering ``signal.signal`` directly.
549
809
(Andrew Bennetts)
811
* Reduce peak memory by one copy of compressed text.
812
(John Arbash Meinel, #566940)
814
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
815
(John Arbash Meinel, #582656)
817
* When passing a file to ``UTF8DirReader`` make sure to close the current
818
directory file handle after the chdir fails. Otherwise when passing many
819
filenames into a command line ``bzr status`` we would leak descriptors.
820
(John Arbash Meinel, #583486)
997
1268
permissions as ``.bzr`` directory on a POSIX OS.
998
1269
(Parth Malwankar, #262450)
1271
* Reduce peak memory by one copy of compressed text.
1272
(John Arbash Meinel, #566940)
1000
1274
* Repositories accessed via a smart server now reject being stacked on a
1001
1275
repository in an incompatible format, as is the case when accessing them
1002
1276
via other methods. This was causing fetches from those repositories via
1003
1277
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1278
(Andrew Bennetts, #562380)
1280
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1281
error. This error was caused by 2.0 not being updated when upstream
1282
python merged the end of run patch, which chose ``stopTestRun`` rather than
1283
``done``. (Robert Collins, #571437)
1285
* When passing a file to ``UTF8DirReader`` make sure to close the current
1286
directory file handle after the chdir fails. Otherwise when passing many
1287
filenames into a command line ``bzr status`` we would leak descriptors.
1288
(John Arbash Meinel, #583486)
3702
3987
can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3704
3989
* selftest now supports a --parallel option, with values of 'fork' or
3705
'subprocess' to run the test suite in parallel. Currently only linux
3706
machine work, other platforms need patches submitted. (Robert Collins,
3990
'subprocess' to run the test suite in parallel. Currently only Linux
3991
machines work, other platforms need patches submitted. (Robert Collins,
3707
3992
Vincent Ladeuil)
3709
3994
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of