5
5
.. contents:: List of Releases
11
:Codename: Monkey Magic
12
:2.2b4: NOT RELEASED YET
23
* Final fix for 'no help for command' issue. We now show a clean message
24
when a command has no help, document how to set help more clearly, and
25
test that all commands available to the test suite have help.
26
(Robert Collins, #177500)
28
* Explicitly removing ``--profile-imports`` option from parsed command-line
29
arguments on Windows, because bzr script does the same.
30
(Alexander Belchenko, #588277)
35
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
36
do not cause modules to be loaded unnecessarily just because the plugin
37
registers a merge hook. This improves ``bzr rocks`` time by about 25%
38
in a default installation (with just the core plugins).
44
* Added ``regression`` tag to our tags list. (Robert Collins)
46
* Improved our release checklist to have a bit less churn and leave things
47
ready-to-go for the next action (including other people doing
48
development). (Robert Collins)
53
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
54
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
55
``bzrlib.patiencediff`` instead.
11
:2.2b3: NOT RELEASED YET
70
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
71
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
72
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
73
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
74
bash completion script and bzr will no longer guess at identity details -
75
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
76
For developers we have some API changes which may impact plugins as well
77
as a bunch of our regular improvements to internal clarity and test
13
80
Compatibility Breaks
14
81
********************
83
* An API break has been made to the lock_write method of ``Branch`` and
84
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
85
and ``repository.RepositoryWriteLockResult`` objects. This makes
86
changing the API in future easier and permits some cleaner calling code.
87
The lock_read method has also changed from having no defined return
88
value to returning ``LogicalLockResult`` objects.
91
* ``bzr`` does not try to guess the username as ``username@hostname``
92
and requires it to be explictly set. This can be set using ``bzr
94
(Parth Malwankar, #549310)
96
* ``bzrlib.commands.Command`` will now raise ValueError during
97
construction if there is no __doc__ set. (Note, this will be reverted in
98
2.2b4) (Robert Collins)
100
* The source tree no longer contains a contrib/zsh/_bzr completion
101
script. The new file contrib/zsh/README suggests alternatives.
102
(Martin von Gagern, #560030)
31
119
(Parth Malwankar, #304320)
121
* New command line option ``--authors`` to ``bzr log`` allows users to
122
select which of the apparent authors and committer should be
123
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
125
* Support ``--directory`` option for a number of additional commands:
126
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
127
export, ignore, ignored, lookup-revision, ls, modified, nick,
128
re-sign, unbind, unknowns.
129
(Martin von Gagern, #527878)
131
* The bash_completion plugin from the bzr-bash-completion project has
132
been merged into the tree. It provides a bash-completion command and
133
replaces the outdated ``contrib/bash/bzr`` script with a version
134
using the plugin. (Martin von Gagern, #560030)
136
* A new transport based on GIO (the gnome i/o library) provides access to
137
samba shares, webdav using gio+smb and gio+dav. It is also possible to
138
use gio for some already existing transport methods as gio+file,
145
* Alias information shown by ``bzr help`` is now accurate. This
146
was showing an internal object name for some plugin aliases.
147
(Parth Malwankar, #584650)
36
149
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
150
group ownership from the containing directory. This allow bzr to work
39
152
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
154
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
155
support of bzr-externals and scmproj plugins.
156
(Alexander Belchenko, bug #572098)
158
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
159
(Gordon Tyler, #572092)
41
161
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
162
are part of Y ancestry but not part of X ancestry (aka the graph
44
164
(Vincent Ladeuil, #320119)
166
* ``bzr lp-propose`` which was switched to use production Launchpad API
167
servers a few commits ago has been reverted to use edge: there is a
168
problem with using production which isn't trivially obvious, so we've
169
filed a bug to track it, and until thats fixed will be using edge.
170
(Robert Collins, #583667)
172
* ``bzr rm`` should not refuse to delete directories which contained a file
173
which has been moved elsewhere in the tree after the previous commit.
174
(Marius Kruger, Daniel Watkins, #129880)
46
176
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
177
(Vincent Ladeuil, #566670)
49
179
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
180
(Vincent Ladeuil, #563997)
182
* CommitBuilder refuses to create revisions whose trees have no root.
185
* Do not register a SIGWINCH signal handler, instead just poll for the
186
terminal width as needed. This avoids the "Interrupted System Call"
187
problems that occur on POSIX with all currently released versions of
189
(Andrew Bennetts, #583941)
52
191
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
192
(Vincent Ladeuil, #401599)
56
195
versions before 1.6.
57
196
(Andrew Bennetts, #528041)
198
* Improved progress bar for fetch (2a format only). Bazaar now shows an
199
estimate of the number of records to be fetched vs actually fetched.
200
(Parth Malwankar, #374740, #538868)
59
202
* Reduce peak memory by one copy of compressed text.
60
203
(John Arbash Meinel, #566940)
205
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
206
read lock, rather than causing an ``AttributeError``.
207
(Andrew Bennetts, Данило Шеган, #582781)
209
* Selftest was failing with testtools 0.9.3, which caused an
210
AssertionError raised from a cleanUp to be reported as a Failure, not an
211
Error, breaking on of our test hygiene tests.
212
(Robert Collins, Vincent Ladeuil).
214
* ``set_user_option`` with a dict on remote branches no longer fails with
215
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
216
to support this efficiently.
217
(Andrew Bennetts, #430382)
62
219
* Show the filenames when a file rename fails so that the error will be
63
220
more comprehensible.
64
221
(Martin Pool, #491763)
223
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
224
(John Arbash Meinel, #582656)
226
* Unicode characters in aliases are now handled correctly and do not cause
227
UnicodeEncodeError exception. (Parth Malwankar, #529930)
229
* Unicode commit messages that are the same as a file name no longer cause
230
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
232
(Parth Malwankar, #563646)
234
* Using bzr with `lp:` urls behind an http proxy should work.
235
(Robert Collins, #558343)
237
* When passing a file to ``UTF8DirReader`` make sure to close the current
238
directory file handle after the chdir fails. Otherwise when passing many
239
filenames into a command line ``bzr status`` we would leak descriptors.
240
(John Arbash Meinel, #583486)
74
250
(case-sensitive) as false.
75
251
(Brian de Alwis, Vincent Ladeuil)
253
* ``bzr ls`` now supports short options for existing long options.
254
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
255
(Parth Malwankar, #181124)
77
257
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
258
be interpreted as a boolean.
261
* The all-in-one Windows installer will now be built with docstrings stripped
262
from the library zip, reducing the size and slightly improving cold startup
263
time. Bundled plugins are unchanged for the moment, but if adding other new
264
plugins to an all-in-one installation, ensure they are compiled and
265
installed with -O1 or help may not work. (Martin [gz])
285
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
286
expected to return an object which can be used to unlock them. This reduces
287
duplicate code when using cleanups. The previous 'tokens's returned by
288
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
289
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
290
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
292
* ``Repository.refresh_data`` may now be called in a write group on
293
pack-based repositories. Older repositories will still raise an error
294
in this case. Subclasses of ``Repository`` can still override
295
``Repository._refresh_data``, but are now responsible for raising
296
``bzrlib.repository.IsInWriteGroupError`` if they do not support
297
``refresh_data`` during a write group.
298
(Andrew Bennetts, #574236)
303
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
304
the (file-id, revision-id) key from a CHKInventory entry. This can
305
potentially shave 5-10% time off during a large fetch. Related to bug
306
#562666. (John Arbash Meinel)
308
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
102
311
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
312
suboptimal network behaviour is noticed; instead it just mutters to the
104
313
log file (and warns the user if they have set the ``hpss`` debug flag).
533
:2.1.2: NOT RELEASED YET
755
This release fixes two critical networking issues with older servers and
756
with interrupted system call errors when pushing or pulling. We recommend
757
upgrading to anyone running a 2.1.x version of bzr.
762
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
763
support of bzr-externals and scmproj plugins.
764
(Alexander Belchenko, bug #572098)
538
766
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
767
(Aaron Bentley, #559436)
769
* Do not register a SIGWINCH signal handler, instead just poll for the
770
terminal width as needed. This avoids the "Interrupted System Call"
771
problems that occur on POSIX with all currently released versions of
773
(Andrew Bennetts, #583941)
541
775
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
776
versions before 1.6.
543
777
(Andrew Bennetts, #528041)
545
779
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
780
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
781
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
548
errors after two window resizes.
782
errors compared to registering ``signal.signal`` directly.
549
783
(Andrew Bennetts)
785
* Reduce peak memory by one copy of compressed text.
786
(John Arbash Meinel, #566940)
788
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
789
(John Arbash Meinel, #582656)
791
* When passing a file to ``UTF8DirReader`` make sure to close the current
792
directory file handle after the chdir fails. Otherwise when passing many
793
filenames into a command line ``bzr status`` we would leak descriptors.
794
(John Arbash Meinel, #583486)
997
1242
permissions as ``.bzr`` directory on a POSIX OS.
998
1243
(Parth Malwankar, #262450)
1245
* Reduce peak memory by one copy of compressed text.
1246
(John Arbash Meinel, #566940)
1000
1248
* Repositories accessed via a smart server now reject being stacked on a
1001
1249
repository in an incompatible format, as is the case when accessing them
1002
1250
via other methods. This was causing fetches from those repositories via
1003
1251
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1252
(Andrew Bennetts, #562380)
1254
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1255
error. This error was caused by 2.0 not being updated when upstream
1256
python merged the end of run patch, which chose ``stopTestRun`` rather than
1257
``done``. (Robert Collins, #571437)
1259
* When passing a file to ``UTF8DirReader`` make sure to close the current
1260
directory file handle after the chdir fails. Otherwise when passing many
1261
filenames into a command line ``bzr status`` we would leak descriptors.
1262
(John Arbash Meinel, #583486)
3702
3961
can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3704
3963
* 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,
3964
'subprocess' to run the test suite in parallel. Currently only Linux
3965
machines work, other platforms need patches submitted. (Robert Collins,
3707
3966
Vincent Ladeuil)
3709
3968
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of