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)
34
* Improved our release checklist to have a bit less churn and leave things
35
ready-to-go for the next action (including other people doing
36
development). (Robert Collins)
11
:2.2b3: NOT RELEASED YET
53
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
54
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
55
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
56
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
57
bash completion script and bzr will no longer guess at identity details -
58
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
59
For developers we have some API changes which may impact plugins as well
60
as a bunch of our regular improvements to internal clarity and test
13
63
Compatibility Breaks
14
64
********************
66
* An API break has been made to the lock_write method of ``Branch`` and
67
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
68
and ``repository.RepositoryWriteLockResult`` objects. This makes
69
changing the API in future easier and permits some cleaner calling code.
70
The lock_read method has also changed from having no defined return
71
value to returning ``LogicalLockResult`` objects.
74
* ``bzr`` does not try to guess the username as ``username@hostname``
75
and requires it to be explictly set. This can be set using ``bzr
77
(Parth Malwankar, #549310)
79
* ``bzrlib.commands.Command`` will now raise ValueError during
80
construction if there is no __doc__ set. (Note, this will be reverted in
81
2.2b4) (Robert Collins)
83
* The source tree no longer contains a contrib/zsh/_bzr completion
84
script. The new file contrib/zsh/README suggests alternatives.
85
(Martin von Gagern, #560030)
31
102
(Parth Malwankar, #304320)
104
* New command line option ``--authors`` to ``bzr log`` allows users to
105
select which of the apparent authors and committer should be
106
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
108
* Support ``--directory`` option for a number of additional commands:
109
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
110
export, ignore, ignored, lookup-revision, ls, modified, nick,
111
re-sign, unbind, unknowns.
112
(Martin von Gagern, #527878)
114
* The bash_completion plugin from the bzr-bash-completion project has
115
been merged into the tree. It provides a bash-completion command and
116
replaces the outdated ``contrib/bash/bzr`` script with a version
117
using the plugin. (Martin von Gagern, #560030)
119
* A new transport based on GIO (the gnome i/o library) provides access to
120
samba shares, webdav using gio+smb and gio+dav. It is also possible to
121
use gio for some already existing transport methods as gio+file,
128
* Alias information shown by ``bzr help`` is now accurate. This
129
was showing an internal object name for some plugin aliases.
130
(Parth Malwankar, #584650)
36
132
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
133
group ownership from the containing directory. This allow bzr to work
39
135
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
137
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
138
support of bzr-externals and scmproj plugins.
139
(Alexander Belchenko, bug #572098)
141
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
142
(Gordon Tyler, #572092)
41
144
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
145
are part of Y ancestry but not part of X ancestry (aka the graph
44
147
(Vincent Ladeuil, #320119)
149
* ``bzr lp-propose`` which was switched to use production Launchpad API
150
servers a few commits ago has been reverted to use edge: there is a
151
problem with using production which isn't trivially obvious, so we've
152
filed a bug to track it, and until thats fixed will be using edge.
153
(Robert Collins, #583667)
155
* ``bzr rm`` should not refuse to delete directories which contained a file
156
which has been moved elsewhere in the tree after the previous commit.
157
(Marius Kruger, Daniel Watkins, #129880)
46
159
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
160
(Vincent Ladeuil, #566670)
49
162
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
163
(Vincent Ladeuil, #563997)
165
* CommitBuilder refuses to create revisions whose trees have no root.
168
* Do not register a SIGWINCH signal handler, instead just poll for the
169
terminal width as needed. This avoids the "Interrupted System Call"
170
problems that occur on POSIX with all currently released versions of
172
(Andrew Bennetts, #583941)
52
174
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
175
(Vincent Ladeuil, #401599)
56
178
versions before 1.6.
57
179
(Andrew Bennetts, #528041)
181
* Improved progress bar for fetch (2a format only). Bazaar now shows an
182
estimate of the number of records to be fetched vs actually fetched.
183
(Parth Malwankar, #374740, #538868)
185
* Most of the leaked threads during selftest are now fixed, allowing the
186
full test suite to pass on gentoo.
187
(Vincent Ladeuil, #392127)
59
189
* Reduce peak memory by one copy of compressed text.
60
190
(John Arbash Meinel, #566940)
192
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
193
read lock, rather than causing an ``AttributeError``.
194
(Andrew Bennetts, Данило Шеган, #582781)
196
* Selftest was failing with testtools 0.9.3, which caused an
197
AssertionError raised from a cleanUp to be reported as a Failure, not an
198
Error, breaking on of our test hygiene tests.
199
(Robert Collins, Vincent Ladeuil).
201
* ``set_user_option`` with a dict on remote branches no longer fails with
202
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
203
to support this efficiently.
204
(Andrew Bennetts, #430382)
62
206
* Show the filenames when a file rename fails so that the error will be
63
207
more comprehensible.
64
208
(Martin Pool, #491763)
210
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
211
(John Arbash Meinel, #582656)
213
* Unicode characters in aliases are now handled correctly and do not cause
214
UnicodeEncodeError exception. (Parth Malwankar, #529930)
216
* Unicode commit messages that are the same as a file name no longer cause
217
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
219
(Parth Malwankar, #563646)
221
* Using bzr with `lp:` urls behind an http proxy should work.
222
(Robert Collins, #558343)
224
* When passing a file to ``UTF8DirReader`` make sure to close the current
225
directory file handle after the chdir fails. Otherwise when passing many
226
filenames into a command line ``bzr status`` we would leak descriptors.
227
(John Arbash Meinel, #583486)
74
237
(case-sensitive) as false.
75
238
(Brian de Alwis, Vincent Ladeuil)
240
* ``bzr ls`` now supports short options for existing long options.
241
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
242
(Parth Malwankar, #181124)
77
244
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
245
be interpreted as a boolean.
248
* The all-in-one Windows installer will now be built with docstrings stripped
249
from the library zip, reducing the size and slightly improving cold startup
250
time. Bundled plugins are unchanged for the moment, but if adding other new
251
plugins to an all-in-one installation, ensure they are compiled and
252
installed with -O1 or help may not work. (Martin [gz])
272
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
273
expected to return an object which can be used to unlock them. This reduces
274
duplicate code when using cleanups. The previous 'tokens's returned by
275
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
276
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
277
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
279
* ``Repository.refresh_data`` may now be called in a write group on
280
pack-based repositories. Older repositories will still raise an error
281
in this case. Subclasses of ``Repository`` can still override
282
``Repository._refresh_data``, but are now responsible for raising
283
``bzrlib.repository.IsInWriteGroupError`` if they do not support
284
``refresh_data`` during a write group.
285
(Andrew Bennetts, #574236)
290
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
291
the (file-id, revision-id) key from a CHKInventory entry. This can
292
potentially shave 5-10% time off during a large fetch. Related to bug
293
#562666. (John Arbash Meinel)
295
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
102
298
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
299
suboptimal network behaviour is noticed; instead it just mutters to the
104
300
log file (and warns the user if they have set the ``hpss`` debug flag).
533
:2.1.2: NOT RELEASED YET
745
This release fixes two critical networking issues with older servers and
746
with interrupted system call errors when pushing or pulling. We recommend
747
upgrading to anyone running a 2.1.x version of bzr.
752
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
753
support of bzr-externals and scmproj plugins.
754
(Alexander Belchenko, bug #572098)
538
756
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
757
(Aaron Bentley, #559436)
759
* Do not register a SIGWINCH signal handler, instead just poll for the
760
terminal width as needed. This avoids the "Interrupted System Call"
761
problems that occur on POSIX with all currently released versions of
763
(Andrew Bennetts, #583941)
541
765
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
766
versions before 1.6.
543
767
(Andrew Bennetts, #528041)
545
769
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
770
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
771
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
548
errors after two window resizes.
772
errors compared to registering ``signal.signal`` directly.
549
773
(Andrew Bennetts)
775
* Reduce peak memory by one copy of compressed text.
776
(John Arbash Meinel, #566940)
778
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
779
(John Arbash Meinel, #582656)
781
* When passing a file to ``UTF8DirReader`` make sure to close the current
782
directory file handle after the chdir fails. Otherwise when passing many
783
filenames into a command line ``bzr status`` we would leak descriptors.
784
(John Arbash Meinel, #583486)
997
1232
permissions as ``.bzr`` directory on a POSIX OS.
998
1233
(Parth Malwankar, #262450)
1235
* Reduce peak memory by one copy of compressed text.
1236
(John Arbash Meinel, #566940)
1000
1238
* Repositories accessed via a smart server now reject being stacked on a
1001
1239
repository in an incompatible format, as is the case when accessing them
1002
1240
via other methods. This was causing fetches from those repositories via
1003
1241
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1242
(Andrew Bennetts, #562380)
1244
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1245
error. This error was caused by 2.0 not being updated when upstream
1246
python merged the end of run patch, which chose ``stopTestRun`` rather than
1247
``done``. (Robert Collins, #571437)
1249
* When passing a file to ``UTF8DirReader`` make sure to close the current
1250
directory file handle after the chdir fails. Otherwise when passing many
1251
filenames into a command line ``bzr status`` we would leak descriptors.
1252
(John Arbash Meinel, #583486)