5
5
.. contents:: List of Releases
11
:Codename: Monkey Magic
12
:2.2b4: NOT RELEASED YET
17
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
18
context manager in the Python 2.5 and above sense. The bzrlib base class
19
is such a manager, but third party UI factories which do not derive from
20
``bzrlib.ui.UIFactory`` will be incompatible with the command line front
21
end. (Robert Collins, Aaron Bentley)
23
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
24
and path "bar/baz", even if bzr does not recognize "foo" as a known URL
25
scheme. Previously these URLs would be treated as local paths.
32
* Support ``--directory`` option for a number of additional commands:
33
conflicts, merge-directive, missing, resolve, shelve, switch,
34
unshelve, whoami. (Martin von Gagern, #527878)
39
* ``bzr init`` does not recursively scan directory contents anymore
40
leading to faster init for directories with existing content.
41
(Martin [gz], Parth Malwankar, #501307)
43
* ``bzr log --exclude-common-ancestry`` is now taken into account for
44
linear ancetries. (Vincent Ladeuil, #575631)
46
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
47
or pull location in locations.conf or branch.conf.
48
(Gordon Tyler, #534787)
50
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
51
proper error messages. (Vincent Ladeuil, #591215)
53
* Explicitly removing ``--profile-imports`` option from parsed command-line
54
arguments on Windows, because bzr script does the same.
55
(Alexander Belchenko, #588277)
57
* Fetching was slightly confused about the best code to use and was
58
using a new code path for all branches, resulting in more lookups than
59
necessary on old branches. (Robert Collins, #593515)
61
* Final fix for 'no help for command' issue. We now show a clean message
62
when a command has no help, document how to set help more clearly, and
63
test that all commands available to the test suite have help.
64
(Robert Collins, #177500)
66
* Progress output is cleaned up when exiting. (Aaron Bentley)
68
* Raise ValueError instead of a string exception.
69
(John Arbash Meinel, #586926)
71
* Relative imports in plugins are now handled correctly when using
72
BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
74
* ``ScriptRunner`` now strips off leading indentation from test scripts,
75
which previously caused "SyntaxError: No command for line".
78
* Show unicode filenames in diff headers using terminal encoding.
79
(Alexander Belchenko, Bug #382699)
80
NOTE for Windows users: If user need to save diff to file then user need to
81
change encoding of the terminal to ANSI encoding with command ``chcp XXX``
82
(e.g. ``chcp 1251`` for Russian Windows).
84
* URL displayed for use with ``break-lock`` when smart server sees lock
85
contention are now valid. Default timeout for lock contention retry is
86
now 30 seconds instead of 300 seconds.
87
(Parth Malwankar, #250451)
89
* ``walkdirs`` now raises a useful message when the filenames are not using
90
the filesystem encoding. (Eric Moritz, #488519)
95
* Bazaar now reads data from SSH connections more efficiently on platforms
96
that provide the ``socketpair`` function, and when using paramiko.
97
(Andrew Bennetts, #590637)
99
* ``Branch.copy_content_into`` is now a convenience method dispatching to
100
a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
101
plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
102
(Robert Collins, #201613)
104
* ``Branch`` formats can now be loaded lazily by registering a
105
``MetaDirBranchFormatFactory`` rather than an actual format. This will
106
cause the named format class to be loaded only when an enumeration of
107
formats is needed or when the format string for the object is
108
encountered. (Robert Collins, Jelmer Vernooij)
110
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
111
do not cause modules to be loaded unnecessarily just because the plugin
112
registers a merge hook. This improves ``bzr rocks`` time by about 25%
113
in a default installation (with just the core plugins).
119
* Added ``regression`` tag to our tags list. (Robert Collins)
121
* Improved our release checklist to have a bit less churn and leave things
122
ready-to-go for the next action (including other people doing
123
development). (Robert Collins)
125
* Remove obsolete discussion of PQM in documentation about how to
126
contribute to Bazaar. (Martin Pool, #588444)
131
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
132
an iterable of format pairs, rather than just a single pair, permitting
133
InterBranch objects that work with multiple permutations to be
134
comprehensively tested. (Robert Collins)
136
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
137
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
138
``bzrlib.patiencediff`` instead. (Andrew Bennetts)
140
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated. It provided only
141
one method ``check_output``, and we now recommend checking command
142
output using ``run_script``. (Martin Pool)
144
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
145
that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
146
Third-party implementations of ``SSHVendor`` may need to be updated
147
accordingly. Similarly, any code using ``SSHConnection`` directly will
148
need to be updated. (Andrew Bennetts)
150
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
151
changed to take an ``SSHParams`` instance (replacing many individual
152
values). (Andrew Bennetts)
157
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
162
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
163
(Vincent Ladeuil, #595587)
11
:2.2b3: NOT RELEASED YET
170
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
171
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
172
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
173
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
174
bash completion script and bzr will no longer guess at identity details -
175
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
176
For developers we have some API changes which may impact plugins as well
177
as a bunch of our regular improvements to internal clarity and test
13
180
Compatibility Breaks
14
181
********************
183
* An API break has been made to the lock_write method of ``Branch`` and
184
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
185
and ``repository.RepositoryWriteLockResult`` objects. This makes
186
changing the API in future easier and permits some cleaner calling code.
187
The lock_read method has also changed from having no defined return
188
value to returning ``LogicalLockResult`` objects.
191
* ``bzr`` does not try to guess the username as ``username@hostname``
192
and requires it to be explictly set. This can be set using ``bzr
193
whoami``. (Parth Malwankar, #549310)
195
* ``bzrlib.commands.Command`` will now raise ValueError during
196
construction if there is no __doc__ set. (Note, this will be reverted in
197
2.2b4) (Robert Collins)
199
* The source tree no longer contains a contrib/zsh/_bzr completion
200
script. The new file contrib/zsh/README suggests alternatives.
201
(Martin von Gagern, #560030)
31
218
(Parth Malwankar, #304320)
220
* New command line option ``--authors`` to ``bzr log`` allows users to
221
select which of the apparent authors and committer should be
222
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
224
* Support ``--directory`` option for a number of additional commands:
225
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
226
export, ignore, ignored, lookup-revision, ls, modified, nick,
227
re-sign, unbind, unknowns.
228
(Martin von Gagern, #527878)
230
* The bash_completion plugin from the bzr-bash-completion project has
231
been merged into the tree. It provides a bash-completion command and
232
replaces the outdated ``contrib/bash/bzr`` script with a version
233
using the plugin. (Martin von Gagern, #560030)
235
* A new transport based on GIO (the gnome i/o library) provides access to
236
samba shares, webdav using gio+smb and gio+dav. It is also possible to
237
use gio for some already existing transport methods as gio+file,
244
* Alias information shown by ``bzr help`` is now accurate. This
245
was showing an internal object name for some plugin aliases.
246
(Parth Malwankar, #584650)
36
248
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
249
group ownership from the containing directory. This allow bzr to work
39
251
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
253
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
254
support of bzr-externals and scmproj plugins.
255
(Alexander Belchenko, bug #572098)
257
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
258
(Gordon Tyler, #572092)
41
260
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
261
are part of Y ancestry but not part of X ancestry (aka the graph
44
263
(Vincent Ladeuil, #320119)
265
* ``bzr lp-propose`` which was switched to use production Launchpad API
266
servers a few commits ago has been reverted to use edge: there is a
267
problem with using production which isn't trivially obvious, so we've
268
filed a bug to track it, and until thats fixed will be using edge.
269
(Robert Collins, #583667)
271
* ``bzr rm`` should not refuse to delete directories which contained a file
272
which has been moved elsewhere in the tree after the previous commit.
273
(Marius Kruger, Daniel Watkins, #129880)
46
275
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
276
(Vincent Ladeuil, #566670)
49
278
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
279
(Vincent Ladeuil, #563997)
281
* CommitBuilder refuses to create revisions whose trees have no root.
284
* Do not register a SIGWINCH signal handler, instead just poll for the
285
terminal width as needed. This avoids the "Interrupted System Call"
286
problems that occur on POSIX with all currently released versions of
288
(Andrew Bennetts, #583941)
52
290
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
291
(Vincent Ladeuil, #401599)
56
294
versions before 1.6.
57
295
(Andrew Bennetts, #528041)
297
* Improved progress bar for fetch (2a format only). Bazaar now shows an
298
estimate of the number of records to be fetched vs actually fetched.
299
(Parth Malwankar, #374740, #538868)
59
301
* Reduce peak memory by one copy of compressed text.
60
302
(John Arbash Meinel, #566940)
304
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
305
read lock, rather than causing an ``AttributeError``.
306
(Andrew Bennetts, Данило Шеган, #582781)
308
* Selftest was failing with testtools 0.9.3, which caused an
309
AssertionError raised from a cleanUp to be reported as a Failure, not an
310
Error, breaking on of our test hygiene tests.
311
(Robert Collins, Vincent Ladeuil).
313
* ``set_user_option`` with a dict on remote branches no longer fails with
314
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
315
to support this efficiently.
316
(Andrew Bennetts, #430382)
62
318
* Show the filenames when a file rename fails so that the error will be
63
319
more comprehensible.
64
320
(Martin Pool, #491763)
322
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
323
(John Arbash Meinel, #582656)
325
* Unicode characters in aliases are now handled correctly and do not cause
326
UnicodeEncodeError exception. (Parth Malwankar, #529930)
328
* Unicode commit messages that are the same as a file name no longer cause
329
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
331
(Parth Malwankar, #563646)
333
* Using bzr with `lp:` urls behind an http proxy should work.
334
(Robert Collins, #558343)
336
* When passing a file to ``UTF8DirReader`` make sure to close the current
337
directory file handle after the chdir fails. Otherwise when passing many
338
filenames into a command line ``bzr status`` we would leak descriptors.
339
(John Arbash Meinel, #583486)