5
5
.. contents:: List of Releases
11
:Codename: Monkey Magic
12
:2.2b4: NOT RELEASED YET
17
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
18
and path "bar/baz", even if bzr does not recognize "foo" as a known URL
19
scheme. Previously these URLs would be treated as local paths.
25
* Support ``--directory`` option for a number of additional commands:
26
conflicts, merge-directive, missing, resolve, shelve, switch,
27
unshelve, whoami. (Martin von Gagern, #527878)
32
* ``bzr init`` does not recursively scan directory contents anymore
33
leading to faster init for directories with existing content.
34
(Martin [gz], Parth Malwankar, #501307)
36
* ``bzr log --exclude-common-ancestry`` is now taken into account for
37
linear ancetries. (Vincent Ladeuil, #575631)
39
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
40
proper error messages. (Vincent Ladeuil, #591215)
42
* Explicitly removing ``--profile-imports`` option from parsed command-line
43
arguments on Windows, because bzr script does the same.
44
(Alexander Belchenko, #588277)
46
* Fetching was slightly confused about the best code to use and was
47
using a new code path for all branches, resulting in more lookups than
48
necessary on old branches. (Robert Collins, #593515)
50
* Final fix for 'no help for command' issue. We now show a clean message
51
when a command has no help, document how to set help more clearly, and
52
test that all commands available to the test suite have help.
53
(Robert Collins, #177500)
55
* Relative imports in plugins are now handled correctly when using
56
BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
58
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
59
or pull location in locations.conf or branch.conf.
60
(Gordon Tyler, #534787)
65
* ``Branch.copy_content_into`` is now a convenience method dispatching to
66
a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
67
plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
68
(Robert Collins, #201613)
70
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
71
do not cause modules to be loaded unnecessarily just because the plugin
72
registers a merge hook. This improves ``bzr rocks`` time by about 25%
73
in a default installation (with just the core plugins).
79
* Added ``regression`` tag to our tags list. (Robert Collins)
81
* Improved our release checklist to have a bit less churn and leave things
82
ready-to-go for the next action (including other people doing
83
development). (Robert Collins)
88
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
89
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
90
``bzrlib.patiencediff`` instead.
96
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
11
:2.2b3: NOT RELEASED YET
107
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
108
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
109
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
110
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
111
bash completion script and bzr will no longer guess at identity details -
112
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
113
For developers we have some API changes which may impact plugins as well
114
as a bunch of our regular improvements to internal clarity and test
13
117
Compatibility Breaks
14
118
********************
120
* An API break has been made to the lock_write method of ``Branch`` and
121
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
122
and ``repository.RepositoryWriteLockResult`` objects. This makes
123
changing the API in future easier and permits some cleaner calling code.
124
The lock_read method has also changed from having no defined return
125
value to returning ``LogicalLockResult`` objects.
128
* ``bzr`` does not try to guess the username as ``username@hostname``
129
and requires it to be explictly set. This can be set using ``bzr
131
(Parth Malwankar, #549310)
133
* ``bzrlib.commands.Command`` will now raise ValueError during
134
construction if there is no __doc__ set. (Note, this will be reverted in
135
2.2b4) (Robert Collins)
137
* The source tree no longer contains a contrib/zsh/_bzr completion
138
script. The new file contrib/zsh/README suggests alternatives.
139
(Martin von Gagern, #560030)
31
156
(Parth Malwankar, #304320)
158
* New command line option ``--authors`` to ``bzr log`` allows users to
159
select which of the apparent authors and committer should be
160
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
162
* Support ``--directory`` option for a number of additional commands:
163
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
164
export, ignore, ignored, lookup-revision, ls, modified, nick,
165
re-sign, unbind, unknowns.
166
(Martin von Gagern, #527878)
168
* The bash_completion plugin from the bzr-bash-completion project has
169
been merged into the tree. It provides a bash-completion command and
170
replaces the outdated ``contrib/bash/bzr`` script with a version
171
using the plugin. (Martin von Gagern, #560030)
173
* A new transport based on GIO (the gnome i/o library) provides access to
174
samba shares, webdav using gio+smb and gio+dav. It is also possible to
175
use gio for some already existing transport methods as gio+file,
182
* Alias information shown by ``bzr help`` is now accurate. This
183
was showing an internal object name for some plugin aliases.
184
(Parth Malwankar, #584650)
36
186
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
187
group ownership from the containing directory. This allow bzr to work
39
189
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
191
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
192
support of bzr-externals and scmproj plugins.
193
(Alexander Belchenko, bug #572098)
195
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
196
(Gordon Tyler, #572092)
41
198
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
199
are part of Y ancestry but not part of X ancestry (aka the graph
44
201
(Vincent Ladeuil, #320119)
203
* ``bzr lp-propose`` which was switched to use production Launchpad API
204
servers a few commits ago has been reverted to use edge: there is a
205
problem with using production which isn't trivially obvious, so we've
206
filed a bug to track it, and until thats fixed will be using edge.
207
(Robert Collins, #583667)
209
* ``bzr rm`` should not refuse to delete directories which contained a file
210
which has been moved elsewhere in the tree after the previous commit.
211
(Marius Kruger, Daniel Watkins, #129880)
46
213
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
214
(Vincent Ladeuil, #566670)
49
216
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
217
(Vincent Ladeuil, #563997)
219
* CommitBuilder refuses to create revisions whose trees have no root.
222
* Do not register a SIGWINCH signal handler, instead just poll for the
223
terminal width as needed. This avoids the "Interrupted System Call"
224
problems that occur on POSIX with all currently released versions of
226
(Andrew Bennetts, #583941)
52
228
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
229
(Vincent Ladeuil, #401599)
56
232
versions before 1.6.
57
233
(Andrew Bennetts, #528041)
235
* Improved progress bar for fetch (2a format only). Bazaar now shows an
236
estimate of the number of records to be fetched vs actually fetched.
237
(Parth Malwankar, #374740, #538868)
59
239
* Reduce peak memory by one copy of compressed text.
60
240
(John Arbash Meinel, #566940)
242
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
243
read lock, rather than causing an ``AttributeError``.
244
(Andrew Bennetts, Данило Шеган, #582781)
246
* Selftest was failing with testtools 0.9.3, which caused an
247
AssertionError raised from a cleanUp to be reported as a Failure, not an
248
Error, breaking on of our test hygiene tests.
249
(Robert Collins, Vincent Ladeuil).
251
* ``set_user_option`` with a dict on remote branches no longer fails with
252
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
253
to support this efficiently.
254
(Andrew Bennetts, #430382)
62
256
* Show the filenames when a file rename fails so that the error will be
63
257
more comprehensible.
64
258
(Martin Pool, #491763)
260
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
261
(John Arbash Meinel, #582656)
263
* Unicode characters in aliases are now handled correctly and do not cause
264
UnicodeEncodeError exception. (Parth Malwankar, #529930)
266
* Unicode commit messages that are the same as a file name no longer cause
267
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
269
(Parth Malwankar, #563646)
271
* Using bzr with `lp:` urls behind an http proxy should work.
272
(Robert Collins, #558343)
274
* When passing a file to ``UTF8DirReader`` make sure to close the current
275
directory file handle after the chdir fails. Otherwise when passing many
276
filenames into a command line ``bzr status`` we would leak descriptors.
277
(John Arbash Meinel, #583486)
74
287
(case-sensitive) as false.
75
288
(Brian de Alwis, Vincent Ladeuil)
290
* ``bzr ls`` now supports short options for existing long options.
291
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
292
(Parth Malwankar, #181124)
77
294
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
295
be interpreted as a boolean.
298
* The all-in-one Windows installer will now be built with docstrings stripped
299
from the library zip, reducing the size and slightly improving cold startup
300
time. Bundled plugins are unchanged for the moment, but if adding other new
301
plugins to an all-in-one installation, ensure they are compiled and
302
installed with -O1 or help may not work. (Martin [gz])
322
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
323
expected to return an object which can be used to unlock them. This reduces
324
duplicate code when using cleanups. The previous 'tokens's returned by
325
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
326
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
327
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
329
* ``Repository.refresh_data`` may now be called in a write group on
330
pack-based repositories. Older repositories will still raise an error
331
in this case. Subclasses of ``Repository`` can still override
332
``Repository._refresh_data``, but are now responsible for raising
333
``bzrlib.repository.IsInWriteGroupError`` if they do not support
334
``refresh_data`` during a write group.
335
(Andrew Bennetts, #574236)
340
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
341
the (file-id, revision-id) key from a CHKInventory entry. This can
342
potentially shave 5-10% time off during a large fetch. Related to bug
343
#562666. (John Arbash Meinel)
345
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
102
348
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
349
suboptimal network behaviour is noticed; instead it just mutters to the
104
350
log file (and warns the user if they have set the ``hpss`` debug flag).
238
499
Command is now transient and only exists for the duration of ``run()``.
507
This is the first beta of the 2.2 series, leading up to a 2.2.0
508
release in July or August. Beta releases are suitable for everyday use
509
but may cause some incompatibilities with plugins. Some plugins may need
510
small updates to work with 2.2b1.
512
2.2b1 includes some changes to make merge conflicts easier to understand
513
and resolve. It also removes some old unnecessary code, and loads
514
somewhat less code at startup. It starts adding a common infrastructure
515
for dealing with colocated named branches, which can be implemented in
516
various ways in either bzr native or foreign formats. On Ubuntu and
517
other platforms with the apport bug-reporting library, there's an easier
518
path to report problems with bzr. We plan to continue with these themes
519
through the 2.2 series.
521
Over thirty bugs have been fixed, including in the log command, exporting
522
to tarballs, restarting interrupted system calls, portability of compiled
523
extensions, making backups during upgrade, and locking on ftp.
246
525
Compatibility Breaks
247
526
********************
529
:2.1.2: NOT RELEASED YET
810
This release fixes two critical networking issues with older servers and
811
with interrupted system call errors when pushing or pulling. We recommend
812
upgrading to anyone running a 2.1.x version of bzr.
817
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
818
support of bzr-externals and scmproj plugins.
819
(Alexander Belchenko, bug #572098)
534
821
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
535
822
(Aaron Bentley, #559436)
824
* Do not register a SIGWINCH signal handler, instead just poll for the
825
terminal width as needed. This avoids the "Interrupted System Call"
826
problems that occur on POSIX with all currently released versions of
828
(Andrew Bennetts, #583941)
537
830
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
538
831
versions before 1.6.
539
832
(Andrew Bennetts, #528041)
541
834
* Reset ``siginterrupt`` flag to False every time we handle a signal
542
835
installed with ``set_signal_handler(..., restart_syscall=True)`` (from
543
836
``bzrlib.osutils``. Reduces the likelihood of "Interrupted System Call"
544
errors after two window resizes.
837
errors compared to registering ``signal.signal`` directly.
545
838
(Andrew Bennetts)
840
* Reduce peak memory by one copy of compressed text.
841
(John Arbash Meinel, #566940)
843
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
844
(John Arbash Meinel, #582656)
846
* When passing a file to ``UTF8DirReader`` make sure to close the current
847
directory file handle after the chdir fails. Otherwise when passing many
848
filenames into a command line ``bzr status`` we would leak descriptors.
849
(John Arbash Meinel, #583486)
993
1297
permissions as ``.bzr`` directory on a POSIX OS.
994
1298
(Parth Malwankar, #262450)
1300
* Reduce peak memory by one copy of compressed text.
1301
(John Arbash Meinel, #566940)
996
1303
* Repositories accessed via a smart server now reject being stacked on a
997
1304
repository in an incompatible format, as is the case when accessing them
998
1305
via other methods. This was causing fetches from those repositories via
999
1306
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1000
1307
(Andrew Bennetts, #562380)
1309
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1310
error. This error was caused by 2.0 not being updated when upstream
1311
python merged the end of run patch, which chose ``stopTestRun`` rather than
1312
``done``. (Robert Collins, #571437)
1314
* When passing a file to ``UTF8DirReader`` make sure to close the current
1315
directory file handle after the chdir fails. Otherwise when passing many
1316
filenames into a command line ``bzr status`` we would leak descriptors.
1317
(John Arbash Meinel, #583486)