20
* Add bug information to log output when available.
21
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
23
* ``bzr branch`` now takes a ``--bind`` option. This lets you
24
branch and bind all in one command. (Ian Clatworthy)
26
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
27
a specific revision of a branch. (Daniel Watkins, #183559)
29
* ``bzr unshelve --preview`` can now be used to show how a patch on the
30
shelf would be applied to the working tree.
31
(Guilherme Salgado, #308122)
33
* ``bzr update`` now takes a ``--revision`` argument. This lets you
34
change the revision of the working tree to any revision in the
35
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
38
* ``-Dbytes`` can now be used to display the total number of bytes
39
transferred for the current command. This information is always logged
40
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
42
* The ``suppress_warnings`` configuration option has been introduced and
43
accept the ``format_deprecation`` value to disable the corresponding
44
warning for repositories. It can be set to in either ``bazaar.conf``,
45
``locations.conf`` or ``branch.conf``.
46
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
20
* Tree-shape conflicts can be resolved by providing ``--keep-mine`` and
21
``--take-their`` to the ``bzr resolve`` command. Just marking the conflict
22
as resolved is still accessible via the ``--done`` default action.
23
(Vincent Ladeuil, #257297, #232512)
51
* Always show a message if an OS error occurs while trying to run a
52
user-specified commit message editor.
53
(Martin Pool, #504842)
55
* ``bzr export dir`` now requests all file content as a record stream,
56
rather than requsting the file content one file-at-a-time. This can make
57
exporting over the network significantly faster (54min => 9min in one
58
case). (John Arbash Meinel, #343218)
60
* ``bzr serve`` no longer slowly leaks memory. The compiled
61
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
62
free resources, and it should have been using ``__dealloc__``.
63
This will likely have an impact on any other process that is serving for
64
an extended period of time. (John Arbash Meinel, #494406)
66
* ``bzr switch -b`` can now create branches that are located using directory
67
services such as ``lp:``, even when the branch name doesn't contain a
68
'/'. (Neil Martinsen-Burrell, #495263)
70
* ``bzr unshelve`` has improved messages about what it is doing.
71
(Neil Martinsen-Burrell, #496917)
73
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
74
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
75
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
77
* Fix "Too many concurrent requests" in reconcile when network connection
78
fails. (Andrew Bennetts, #503878)
80
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
81
that caused some tests to fail when run in a non-default order.
82
Probably no user impact. (Martin Pool, #504102)
84
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
85
(Andrew Bennetts, #506274)
87
* FTP transports support Unicode paths by encoding/decoding them as utf8.
88
(Vincent Ladeuil, #472161)
90
* Give a clearer message if the lockdir disappears after being apparently
91
successfully taken. (Martin Pool, #498378)
93
* Listen to the SIGWINCH signal to update the terminal width.
94
(Vincent Ladeuil, #316357)
96
* Progress bars are now hidden when ``--quiet`` is given.
97
(Martin Pool, #320035)
99
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
100
whatever is written to it. This un-breaks some plugin tests that
101
depended on this behaviour.
102
(Martin Pool, #499757)
104
* The 2a format wasn't properly restarting autopacks when something
105
changed underneath it (like another autopack). Now concurrent
106
autopackers will properly succeed. (John Arbash Meinel, #495000)
108
* When operations update the working tree, all affected files should end
109
up with the same mtime. (eg. when versioning a generated file, if you
110
update the source and the generated file together, the generated file
111
should appear up-to-date.)
112
(John Arbash Meinel, Martin <gzlist>, #488724)
117
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
118
All the builtin commands now use ``add_cleanup`` rather than
119
``try``/``finally`` blocks where applicable as it is simpler and more
120
robust. (Andrew Bennetts)
122
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
123
path/to/repo``) will now include "location is a repository" as a hint in
124
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
126
* Push will now inform the user when they are trying to push to a foreign
127
VCS for which roundtripping is not supported, and will suggest them to
128
use dpush. (Jelmer Vernooij)
130
* The version of bzr being run is now written to the log file.
133
* Transport network activity indicator is shown more of the time when
134
Bazaar is doing network IO.
140
* Improved help for ``bzr send``.
141
(Martin Pool, Bojan Nikolic)
143
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
144
including discussions of installation, relevant plugins, security and
145
backup. (Neil Martinsen-Burrell)
147
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
150
* The User Reference is now presented as a series of topics.
151
Many of the included topics have link and format tweaks applied.
157
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
158
to be consistent with instances being lower case and classes being
159
CamelCase. For the features that were more likely to be used, we added a
160
deprecation thunk, but not all. (John Arbash Meinel)
162
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
163
by plugins - the original exceptions are now preserved. (Robert Collins)
165
* The Transport ``Server.tearDown`` method is now renamed to
166
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
167
our normal naming pattern, and to avoid confusion with Python's
168
``TestCase.tearDown``. (Martin Pool)
170
* ``WorkingTree.update`` implementations must now accept a ``revision``
176
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
177
a string of details (such as "location is a repository") as part of a
178
``nobranch`` response. (Andrew Bennetts, #440952)
180
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
181
objects but passes str objects straight through. This is used for
182
selftest but may be useful for diff and other operations that generate
183
mixed output. (Robert Collins)
185
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
186
plugins. (Jelmer Vernooij)
191
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
192
running all tests in the current module, once against a pure python
193
implementation, and once against an extension (pyrex/C) implementation.
194
It can be used to dramatically simplify the implementation of
195
``load_tests``. (John Arbash Meinel)
197
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
198
This permits features in testtools such as getUniqueInteger and
199
getUniqueString to be used. Because of this, testtools version 0.9.2 or
200
newer is now a dependency to run bzr selftest. Running with versions of
201
testtools less than 0.9.2 will cause bzr to error while loading the test
202
suite. (Robert Collins)
204
* Shell-like tests now support the command "mv" for moving files. The
205
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
206
supported. (Neil Martinsen-Burrell)
208
* The test progress bar no longer distinguishes tests that 'errored' from
209
tests that 'failed' - they're all just failures.
212
43
bzr 2.0.4 (not released yet)
213
44
############################
216
:2.0.4: smooth sailing
218
49
Compatibility Breaks
219
50
********************
227
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
228
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
230
* ``bzr export dir`` now requests all file content as a record stream,
231
rather than requsting the file content one file-at-a-time. This can make
232
exporting over the network significantly faster (54min => 9min in one
233
case). (John Arbash Meinel, #343218)
235
* ``bzr serve`` no longer slowly leaks memory. The compiled
236
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
237
free resources, and it should have been using ``__dealloc__``.
238
This will likely have an impact on any other process that is serving for
239
an extended period of time. (John Arbash Meinel, #494406)
241
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
242
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
243
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
245
* Concurrent autopacks will no longer lose a newly created pack file.
246
There was a race condition, where if the reload happened at the right
247
time, the second packer would forget the name of the newly added pack
248
file. (John Arbash Meinel, Gareth White, #507566)
250
* Give a clearer message if the lockdir disappears after being apparently
251
successfully taken. (Martin Pool, #498378)
253
* Give a warning when fetching between repositories (local or remote) with
254
sufficiently different formats that the content will need to be
255
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
256
the user has a clue that upgrading could make it faster.
257
(Martin Pool, #456077)
259
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
260
than using ``warning()``. The log file is opened before logging is set
261
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
262
users, rather than something nicer.
263
(John Arbash Meinel, Barry Warsaw, #503886)
265
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
266
(Martin Pool, John Arbash Meinel, #449372)
268
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
269
build. (there is still the distutils bug
270
http://bugs.python.org/issue644744) (Joe Julian, #175839)
272
* The 2a format wasn't properly restarting autopacks when something
273
changed underneath it (like another autopack). Now concurrent
274
autopackers will properly succeed. (John Arbash Meinel, #495000)
276
* ``TreeTransform`` can now handle when a delta says that the file id for
277
the tree root changes. Rather than trying to rename your working
278
directory, or failing early saying that you can't have multiple
279
tree roots. This also fixes revert, update, and pull when the root id
280
changes. (John Arbash Meinel, #494269, #504390)
282
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
283
the right time will get propagated, rather than silently failing to move
284
the block pointer. (John Arbash Meinel, Gareth White, #495023)