5
5
.. contents:: List of Releases
8
bzr 2.1.0b4 (not released yet)
9
##############################
8
bzr 2.1.0rc1 (not released yet)
9
###############################
11
:Codename: the 'new' stable
12
:2.1.0rc1: 2009-01-06 (expected)
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 unshelve --preview`` can now be used to show how a patch on the
27
shelf would be applied to the working tree.
28
(Guilherme Salgado, #308122)
30
* ``bzr update`` now takes a ``--revision`` argument. This lets you
31
change the revision of the working tree to any revision in the
32
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
35
* ``-Dbytes`` can now be used to display the total number of bytes
36
transferred for the current command. This information is always logged
37
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
39
* The ``suppress_warnings`` configuration option has been introduced and
40
accept the ``format_deprecation`` value to disable the corresponding
41
warning for repositories. It can be set to in either ``bazaar.conf``,
42
``locations.conf`` or ``branch.conf``.
43
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
48
* Always show a message if an OS error occurs while trying to run a
49
user-specified commit message editor.
50
(Martin Pool, #504842)
52
* ``bzr export dir`` now requests all file content as a record stream,
53
rather than requsting the file content one file-at-a-time. This can make
54
exporting over the network significantly faster (54min => 9min in one
55
case). (John Arbash Meinel, #343218)
57
* ``bzr serve`` no longer slowly leaks memory. The compiled
58
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
59
free resources, and it should have been using ``__dealloc__``.
60
This will likely have an impact on any other process that is serving for
61
an extended period of time. (John Arbash Meinel, #494406)
63
* ``bzr switch -b`` can now create branches that are located using directory
64
services such as ``lp:``, even when the branch name doesn't contain a
65
'/'. (Neil Martinsen-Burrell, #495263)
67
* ``bzr unshelve`` has improved messages about what it is doing.
68
(Neil Martinsen-Burrell, #496917)
70
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
71
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
72
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
74
* Fix "Too many concurrent requests" in reconcile when network connection
75
fails. (Andrew Bennetts, #503878)
77
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
78
that caused some tests to fail when run in a non-default order.
79
Probably no user impact. (Martin Pool, #504102)
81
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
82
(Andrew Bennetts, #506274)
84
* FTP transports support Unicode paths by encoding/decoding them as utf8.
85
(Vincent Ladeuil, #472161)
87
* Give a clearer message if the lockdir disappears after being apparently
88
successfully taken. (Martin Pool, #498378)
90
* Listen to the SIGWINCH signal to update the terminal width.
91
(Vincent Ladeuil, #316357)
93
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
94
whatever is written to it. This un-breaks some plugin tests that
95
depended on this behaviour.
96
(Martin Pool, #499757)
98
* The 2a format wasn't properly restarting autopacks when something
99
changed underneath it (like another autopack). Now concurrent
100
autopackers will properly succeed. (John Arbash Meinel, #495000)
102
* When operations update the working tree, all affected files should end
103
up with the same mtime. (eg. when versioning a generated file, if you
104
update the source and the generated file together, the generated file
105
should appear up-to-date.)
106
(John Arbash Meinel, Martin <gzlist>, #488724)
111
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
112
All the builtin commands now use ``add_cleanup`` rather than
113
``try``/``finally`` blocks where applicable as it is simpler and more
114
robust. (Andrew Bennetts)
116
* Push will now inform the user when they are trying to push to a foreign
117
VCS for which roundtripping is not supported, and will suggest them to
118
use dpush. (Jelmer Vernooij)
120
* The version of bzr being run is now written to the log file.
123
* Transport network activity indicator is shown more of the time when
124
Bazaar is doing network IO.
130
* Improved help for ``bzr send``.
131
(Martin Pool, Bojan Nikolic)
133
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
134
including discussions of installation, relevant plugins, security and
135
backup. (Neil Martinsen-Burrell)
137
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
140
* The User Reference is now presented as a series of topics.
141
Many of the included topics have link and format tweaks applied.
147
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
148
to be consistent with instances being lower case and classes being
149
CamelCase. For the features that were more likely to be used, we added a
150
deprecation thunk, but not all. (John Arbash Meinel)
152
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
153
by plugins - the original exceptions are now preserved. (Robert Collins)
155
* The Transport ``Server.tearDown`` method is now renamed to
156
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
157
our normal naming pattern, and to avoid confusion with Python's
158
``TestCase.tearDown``. (Martin Pool)
160
* ``WorkingTree.update`` implementations must now accept a ``revision``
166
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
167
objects but passes str objects straight through. This is used for
168
selftest but may be useful for diff and other operations that generate
169
mixed output. (Robert Collins)
171
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
172
plugins. (Jelmer Vernooij)
177
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
178
running all tests in the current module, once against a pure python
179
implementation, and once against an extension (pyrex/C) implementation.
180
It can be used to dramatically simplify the implementation of
181
``load_tests``. (John Arbash Meinel)
183
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
184
This permits features in testtools such as getUniqueInteger and
185
getUniqueString to be used. Because of this, testtools version 0.9.2 or
186
newer is now a dependency to run bzr selftest. Running with versions of
187
testtools less than 0.9.2 will cause bzr to error while loading the test
188
suite. (Robert Collins)
190
* Shell-like tests now support the command "mv" for moving files. The
191
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
192
supported. (Neil Martinsen-Burrell)
194
* The test progress bar no longer distinguishes tests that 'errored' from
195
tests that 'failed' - they're all just failures.
198
bzr 2.0.4 (not released yet)
199
############################
202
:2.0.4: smooth sailing
213
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
214
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
216
* ``bzr export dir`` now requests all file content as a record stream,
217
rather than requsting the file content one file-at-a-time. This can make
218
exporting over the network significantly faster (54min => 9min in one
219
case). (John Arbash Meinel, #343218)
221
* ``bzr serve`` no longer slowly leaks memory. The compiled
222
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
223
free resources, and it should have been using ``__dealloc__``.
224
This will likely have an impact on any other process that is serving for
225
an extended period of time. (John Arbash Meinel, #494406)
227
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
228
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
229
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
231
* Give a clearer message if the lockdir disappears after being apparently
232
successfully taken. (Martin Pool, #498378)
234
* Give a warning when fetching between local repositories with
235
sufficiently different formats that the content will need to be
236
serialized (ie ``InterDifferingSerializer``) so the user has a clue that
237
upgrading could make it faster.
238
(Martin Pool, #456077)
240
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
241
than using ``warning()``. The log file is opened before logging is set
242
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
243
users, rather than something nicer.
244
(John Arbash Meinel, Barry Warsaw, #503886)
246
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
247
(Martin Pool, John Arbash Meinel, #449372)
249
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
250
build. (there is still the distutils bug
251
http://bugs.python.org/issue644744) (Joe Julian, #175839)
253
* The 2a format wasn't properly restarting autopacks when something
254
changed underneath it (like another autopack). Now concurrent
255
autopackers will properly succeed. (John Arbash Meinel, #495000)
257
* ``TreeTransform`` can now handle when a delta says that the file id for
258
the tree root changes. Rather than trying to rename your working
259
directory, or failing early saying that you can't have multiple
260
tree roots. This also fixes revert, update, and pull when the root id
261
changes. (John Arbash Meinel, #494269, #504390)
263
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
264
the right time will get propagated, rather than silently failing to move
265
the block pointer. (John Arbash Meinel, Gareth White, #495023)
282
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
283
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
284
rather than an ``except ?:`` clause.) This should help prevent bugs like
285
bug #495023. (John Arbash Meinel)
11
291
:Codename: san francisco airport
294
The fourth beta release in the 2.1 series brings with it a significant
295
number of bugfixes (~20). The test suite is once again (finally) "green"
296
on Windows, and should remain that way for future releases. There are a
297
few performance related updates (faster upgrade and log), and several UI
298
tweaks. There has also been a significant number of tweaks to the runtime
299
documentation. 2.1.0b4 include everything from the 2.0.3 release.
14
302
Compatibility Breaks
15
303
********************
40
340
``source\\path`` rather than ``source/path`` on Windows. This might be a
41
341
source of some dirstate-related failures. (John Arbash Meinel)
343
* ``bzr commit`` now detects commit messages that looks like file names
344
and issues a warning.
345
(Gioele Barabucci, #73073)
43
347
* ``bzr ignore /`` no longer causes an IndexError. (Gorder Tyler, #456036)
45
349
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
46
350
(#325618, #484109, Marius Kruger)
352
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
353
files with conflicts (similar to ``--merge3``). The contents of the file
354
is a synthesis of all bases used for the merge.
355
(John Arbash Meinel, #40412)
48
357
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
50
359
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
51
360
(Robert Collins, #84659)
362
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
53
364
* Fix bug with redirected URLs over authenticated HTTP.
54
365
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
56
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
367
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
58
369
* Lots of bugfixes for the test suite on Windows. We should once again
59
370
have a test suite with no failures on Windows. (John Arbash Meinel)
61
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS envrionment
372
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
62
373
variable but returns None if the terminal is not a tty (when output is
63
374
redirected for example). Also fixes its usage under OSes that doesn't
64
provide termios.TIOCGWINSZ.
375
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
65
377
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
378
(John Arbash Meinel, Vincent Ladeuil, #492561)
67
380
* Terminate ssh subprocesses when no references to them remain, fixing
68
381
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)