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)
31
98
(Parth Malwankar, #304320)
100
* New command line option ``--authors`` to ``bzr log`` allows users to
101
select which of the apparent authors and committer should be
102
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
104
* Support ``--directory`` option for a number of additional commands:
105
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
106
export, ignore, ignored, lookup-revision, ls, modified, nick,
107
re-sign, unbind, unknowns.
108
(Martin von Gagern, #527878)
110
* The bash_completion plugin from the bzr-bash-completion project has
111
been merged into the tree. It provides a bash-completion command and
112
replaces the outdated ``contrib/bash/bzr`` script with a version
113
using the plugin. (Martin von Gagern, #560030)
118
* Alias information shown by ``bzr help`` is now accurate. This
119
was showing an internal object name for some plugin aliases.
120
(Parth Malwankar, #584650)
36
122
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
123
group ownership from the containing directory. This allow bzr to work
39
125
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
127
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
128
support of bzr-externals and scmproj plugins.
129
(Alexander Belchenko, bug #572098)
131
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
132
(Gordon Tyler, #572092)
41
134
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
135
are part of Y ancestry but not part of X ancestry (aka the graph
44
137
(Vincent Ladeuil, #320119)
139
* ``bzr lp-propose`` which was switched to use production Launchpad API
140
servers a few commits ago has been reverted to use edge: there is a
141
problem with using production which isn't trivially obvious, so we've
142
filed a bug to track it, and until thats fixed will be using edge.
143
(Robert Collins, #583667)
145
* ``bzr rm`` should not refuse to delete directories which contained a file
146
which has been moved elsewhere in the tree after the previous commit.
147
(Marius Kruger, Daniel Watkins, #129880)
46
149
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
150
(Vincent Ladeuil, #566670)
49
152
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
153
(Vincent Ladeuil, #563997)
155
* CommitBuilder refuses to create revisions whose trees have no root.
158
* Do not register a SIGWINCH signal handler, instead just poll for the
159
terminal width as needed. This avoids the "Interrupted System Call"
160
problems that occur on POSIX with all currently released versions of
162
(Andrew Bennetts, #583941)
52
164
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
165
(Vincent Ladeuil, #401599)
56
168
versions before 1.6.
57
169
(Andrew Bennetts, #528041)
171
* Improved progress bar for fetch (2a format only). Bazaar now shows an
172
estimate of the number of records to be fetched vs actually fetched.
173
(Parth Malwankar, #374740, #538868)
59
175
* Reduce peak memory by one copy of compressed text.
60
176
(John Arbash Meinel, #566940)
178
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
179
read lock, rather than causing an ``AttributeError``.
180
(Andrew Bennetts, Данило Шеган, #582781)
182
* Selftest was failing with testtools 0.9.3, which caused an
183
AssertionError raised from a cleanUp to be reported as a Failure, not an
184
Error, breaking on of our test hygiene tests.
185
(Robert Collins, Vincent Ladeuil).
187
* ``set_user_option`` with a dict on remote branches no longer fails with
188
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
189
to support this efficiently.
190
(Andrew Bennetts, #430382)
62
192
* Show the filenames when a file rename fails so that the error will be
63
193
more comprehensible.
64
194
(Martin Pool, #491763)
196
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
197
(John Arbash Meinel, #582656)
199
* Unicode characters in aliases are now handled correctly and do not cause
200
UnicodeEncodeError exception. (Parth Malwankar, #529930)
202
* Unicode commit messages that are the same as a file name no longer cause
203
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
205
(Parth Malwankar, #563646)
207
* Using bzr with `lp:` urls behind an http proxy should work.
208
(Robert Collins, #558343)
210
* When passing a file to ``UTF8DirReader`` make sure to close the current
211
directory file handle after the chdir fails. Otherwise when passing many
212
filenames into a command line ``bzr status`` we would leak descriptors.
213
(John Arbash Meinel, #583486)
74
223
(case-sensitive) as false.
75
224
(Brian de Alwis, Vincent Ladeuil)
226
* ``bzr ls`` now supports short options for existing long options.
227
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
228
(Parth Malwankar, #181124)
77
230
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
231
be interpreted as a boolean.
234
* The all-in-one Windows installer will now be built with docstrings stripped
235
from the library zip, reducing the size and slightly improving cold startup
236
time. Bundled plugins are unchanged for the moment, but if adding other new
237
plugins to an all-in-one installation, ensure they are compiled and
238
installed with -O1 or help may not work. (Martin [gz])
258
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
259
expected to return an object which can be used to unlock them. This reduces
260
duplicate code when using cleanups. The previous 'tokens's returned by
261
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
262
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
263
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
265
* ``Repository.refresh_data`` may now be called in a write group on
266
pack-based repositories. Older repositories will still raise an error
267
in this case. Subclasses of ``Repository`` can still override
268
``Repository._refresh_data``, but are now responsible for raising
269
``bzrlib.repository.IsInWriteGroupError`` if they do not support
270
``refresh_data`` during a write group.
271
(Andrew Bennetts, #574236)
276
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
277
the (file-id, revision-id) key from a CHKInventory entry. This can
278
potentially shave 5-10% time off during a large fetch. Related to bug
279
#562666. (John Arbash Meinel)
281
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
102
284
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
285
suboptimal network behaviour is noticed; instead it just mutters to the
104
286
log file (and warns the user if they have set the ``hpss`` debug flag).
533
:2.1.2: NOT RELEASED YET
728
This release fixes two critical networking issues with older servers and
729
with interrupted system call errors when pushing or pulling. We recommend
730
upgrading to anyone running a 2.1.x version of bzr.
735
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
736
support of bzr-externals and scmproj plugins.
737
(Alexander Belchenko, bug #572098)
538
739
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
740
(Aaron Bentley, #559436)
742
* Do not register a SIGWINCH signal handler, instead just poll for the
743
terminal width as needed. This avoids the "Interrupted System Call"
744
problems that occur on POSIX with all currently released versions of
746
(Andrew Bennetts, #583941)
541
748
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
749
versions before 1.6.
543
750
(Andrew Bennetts, #528041)
545
752
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
753
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
754
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
548
errors after two window resizes.
755
errors compared to registering ``signal.signal`` directly.
549
756
(Andrew Bennetts)
758
* Reduce peak memory by one copy of compressed text.
759
(John Arbash Meinel, #566940)
761
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
762
(John Arbash Meinel, #582656)
764
* When passing a file to ``UTF8DirReader`` make sure to close the current
765
directory file handle after the chdir fails. Otherwise when passing many
766
filenames into a command line ``bzr status`` we would leak descriptors.
767
(John Arbash Meinel, #583486)
997
1215
permissions as ``.bzr`` directory on a POSIX OS.
998
1216
(Parth Malwankar, #262450)
1218
* Reduce peak memory by one copy of compressed text.
1219
(John Arbash Meinel, #566940)
1000
1221
* Repositories accessed via a smart server now reject being stacked on a
1001
1222
repository in an incompatible format, as is the case when accessing them
1002
1223
via other methods. This was causing fetches from those repositories via
1003
1224
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1225
(Andrew Bennetts, #562380)
1227
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1228
error. This error was caused by 2.0 not being updated when upstream
1229
python merged the end of run patch, which chose ``stopTestRun`` rather than
1230
``done``. (Robert Collins, #571437)
1232
* When passing a file to ``UTF8DirReader`` make sure to close the current
1233
directory file handle after the chdir fails. Otherwise when passing many
1234
filenames into a command line ``bzr status`` we would leak descriptors.
1235
(John Arbash Meinel, #583486)