5
5
.. contents:: List of Releases
11
:2.2b3: NOT RELEASED YET
16
* An API break has been made to the lock_write method of ``Branch`` and
17
``Repository`` objects; they now return ``branch.BranchWriteLockResult``
18
and ``repository.RepositoryWriteLockResult`` objects. This makes
19
changing the API in future easier and permits some cleaner calling code.
20
The lock_read method has also changed from having no defined return
21
value to returning ``LogicalLockResult`` objects.
24
* ``bzr`` does not try to guess the username as ``username@hostname``
25
and requires it to be explictly set. This can be set using ``bzr
27
(Parth Malwankar, #549310)
29
* ``bzrlib.commands.Command`` will now raise ValueError during
30
construction if there is no __doc__ set. (Robert Collins)
35
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
37
(Parth Malwankar, #571467)
39
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
40
the default ignore rules used by bzr. The flag ``--old-default-rules``
41
is no longer supported by ``ignore``.
42
(Parth Malwankar, #538703)
44
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
45
can save disk space by deleting obsolete pack files created during the
47
(Parth Malwankar, #304320)
49
* New command line option ``--authors`` to ``bzr log`` allows users to
50
select which of the apparent authors and committer should be
51
included in the log. Defaults depend on format. (Martin von Gagern, #513322)
53
* Support ``--directory`` option for a number of additional commands:
54
added, annotate, bind, cat, cat-revision, clean-tree, deleted,
55
export, ignore, ignored, lookup-revision, ls, modified, nick,
56
re-sign, unbind, unknowns.
57
(Martin von Gagern, #527878)
62
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
63
group ownership from the containing directory. This allow bzr to work
65
(Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
67
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
68
support of bzr-externals and scmproj plugins.
69
(Alexander Belchenko, bug #572098)
71
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
72
(Gordon Tyler, #572092)
74
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
75
are part of Y ancestry but not part of X ancestry (aka the graph
77
(Vincent Ladeuil, #320119)
79
* ``bzr rm`` should not refuse to delete directories which contained a file
80
which has been moved elsewhere in the tree after the previous commit.
81
(Marius Kruger, Daniel Watkins, #129880)
83
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
84
(Vincent Ladeuil, #566670)
86
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
87
(Vincent Ladeuil, #563997)
89
* CommitBuilder refuses to create revisions whose trees have no root.
92
* Don't mention --no-strict when we just issue the warning about unclean trees.
93
(Vincent Ladeuil, #401599)
95
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
97
(Andrew Bennetts, #528041)
99
* Heavyweight checkout operation now shows a message to the user indicating
100
history is being copied.
101
(Parth Malwankar, #538868)
103
* Reduce peak memory by one copy of compressed text.
104
(John Arbash Meinel, #566940)
106
* Selftest was failing with testtools 0.9.3, which caused an
107
AssertionError raised from a cleanUp to be reported as a Failure, not an
108
Error, breaking on of our test hygiene tests.
109
(Robert Collins, Vincent Ladeuil).
111
* ``set_user_option`` with a dict on remote branches no longer fails with
112
an AttributeError. There is a new ``Branch.set_config_option_dict`` RPC
113
to support this efficiently.
114
(Andrew Bennetts, #430382)
116
* Show the filenames when a file rename fails so that the error will be
118
(Martin Pool, #491763)
120
* Unicode characters in aliases are now handled correctly and do not cause
121
UnicodeEncodeError exception. (Parth Malwankar, #529930)
123
* Unicode commit messages that are the same as a file name no longer cause
124
UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
126
(Parth Malwankar, #563646)
128
* Using bzr with `lp:` urls behind an http proxy should work.
129
(Robert Collins, #558343)
134
* ``append_revisions_only`` will now be interpreted as a boolean and a
135
warning emitted if illegal values are used. Note that for projects
136
that needs to maintain compatibility with previsous bzr versions,
137
only 'True' and 'False' strings must be used (previous versions of
138
bzr will interpret all strings differing from 'True'
139
(case-sensitive) as false.
140
(Brian de Alwis, Vincent Ladeuil)
142
* ``bzr ls`` now supports short options for existing long options.
143
``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
144
(Parth Malwankar, #181124)
146
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
147
be interpreted as a boolean.
156
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
157
some kinds of ``merge_file_content`` hook functions.
160
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
161
`user_transport`, `control_url` and `control_transport` members pointing
162
respectively to the directory containing the ``.bzr`` control directory,
163
and to the directory within ``.bzr`` used for the particular component.
164
All of them inherit from `ControlComponent` which provides default
168
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
169
expected to return an object which can be used to unlock them. This reduces
170
duplicate code when using cleanups. The previous 'tokens's returned by
171
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
172
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
173
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
175
* ``Repository.refresh_data`` may now be called in a write group on
176
pack-based repositories. Older repositories will still raise an error
177
in this case. Subclasses of ``Repository`` can still override
178
``Repository._refresh_data``, but are now responsible for raising
179
``bzrlib.repository.IsInWriteGroupError`` if they do not support
180
``refresh_data`` during a write group.
181
(Andrew Bennetts, #574236)
186
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
187
the (file-id, revision-id) key from a CHKInventory entry. This can
188
potentially shave 5-10% time off during a large fetch. Related to bug
189
#562666. (John Arbash Meinel)
191
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
194
* ``_remember_remote_is_before`` no longer raises AssertionError when
195
suboptimal network behaviour is noticed; instead it just mutters to the
196
log file (and warns the user if they have set the ``hpss`` debug flag).
197
This was causing unnecessary aborts for performance bugs that are minor
199
(Andrew Bennetts, #528041)
201
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
202
files loaded from disk. To ensure docstrings needed for help are never
203
stripped, the prefix ``__doc__ =`` should now be used.
204
(Martin <gzlist@googlemail.com>)
206
* No longer require zlib headers to build extensions, and remove the need
207
for seperate copy of zlib library on windows.
208
(John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
213
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
214
our first in-tree matcher. See the module docstring for details.
217
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
218
(Gordon Tyler, #551332)
220
* Workaround ``Crypto.Random`` check leading to spurious test
221
failures on Lucid, FreeBSD and gentoo.
222
(Vincent Ladeuil, #528436)
11
:2.2b2: NOT RELEASED YET
229
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
230
incompatibility in the 2.2b1 release. It also includes a swag of
231
performance, usability and correctness improvements: test feedback on all
232
of these would be welcome.