5
5
.. contents:: List of Releases
8
bzr 2.1.0rc1 (not released yet)
9
###############################
11
:Codename: the 'new' stable
12
:2.1.0rc1: 2009-01-06 (expected)
20
* ``bzr update`` now takes a ``--revision`` argument. This lets you
21
change the revision of the working tree to any revision in the
22
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
25
* ``-Dbytes`` can now be used to display the total number of bytes
26
transferred for the current command. This information is always logged
27
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
29
* The ``suppress_warnings`` configuration option has been introduced and
30
accept the ``format_deprecation`` value to disable the corresponding
31
warning for repositories. It can be set to in either ``bazaar.conf``,
32
``locations.conf`` or ``branch.conf``.
33
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
39
* ``bzr export dir`` now requests all file content as a record stream,
40
rather than requsting the file content one file-at-a-time. This can make
41
exporting over the network significantly faster (54min => 9min in one
42
case). (John Arbash Meinel, #343218)
44
* ``bzr serve`` no longer slowly leaks memory. The compiled
45
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
46
free resources, and it should have been using ``__dealloc__``.
47
This will likely have an impact on any other process that is serving for
48
an extended period of time. (John Arbash Meinel, #494406)
50
* ``bzr switch -b`` can now create branches that are located using directory
51
services such as ``lp:``, even when the branch name doesn't contain a
52
'/'. (Neil Martinsen-Burrell, #495263)
54
* ``bzr unshelve`` has improved messages about what it is doing.
55
(Neil Martinsen-Burrell, #496917)
57
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
58
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
59
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
61
* Give a clearer message if the lockdir disappears after being apparently
62
successfully taken. (Martin Pool, #498378)
64
* Listen to the SIGWINCH signal to update the terminal width.
65
(Vincent Ladeuil, #316357)
67
* The 2a format wasn't properly restarting autopacks when something
68
changed underneath it (like another autopack). Now concurrent
69
autopackers will properly succeed. (John Arbash Meinel, #495000)
74
* Push will now inform the user when they are trying to push to a foreign
75
VCS for which roundtripping is not supported, and will suggest them to
76
use dpush. (Jelmer Vernooij)
78
* Transport network activity indicator is shown more of the time when
79
Bazaar is doing network IO.
85
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
86
including discussions of installation, relevant plugins, security and
92
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
93
to be consistent with instances being lower case and classes being
94
CamelCase. For the features that were more likely to be used, we added a
95
deprecation thunk, but not all. (John Arbash Meinel)
97
* ``WorkingTree.update`` implementations must now accept a ``revision``
103
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
104
objects but passes str objects straight through. This is used for
105
selftest but may be useful for diff and other operations that generate
106
mixed output. (Robert Collins)
108
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
109
plugins. (Jelmer Vernooij)
114
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
115
running all tests in the current module, once against a pure python
116
implementation, and once against an extension (pyrex/C) implementation.
117
It can be used to dramatically simplify the implementation of
118
``load_tests``. (John Arbash Meinel)
120
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
121
This permits features in testtools such as getUniqueInteger and
122
getUniqueString to be used. Because of this, testtools version 0.9.2 or
123
newer is now a dependency to run bzr selftest. Running with versions of
124
testtools less than 0.9.2 will cause bzr to error while loading the test
125
suite. (Robert Collins)
127
* The test progress bar no longer distinguishes tests that 'errored' from
128
tests that 'failed' - they're all just failures.
131
bzr 2.0.4 (not released yet)
132
############################
135
:2.0.4: smooth sailing
146
* ``bzr export dir`` now requests all file content as a record stream,
147
rather than requsting the file content one file-at-a-time. This can make
148
exporting over the network significantly faster (54min => 9min in one
149
case). (John Arbash Meinel, #343218)
151
* ``bzr serve`` no longer slowly leaks memory. The compiled
152
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
153
free resources, and it should have been using ``__dealloc__``.
154
This will likely have an impact on any other process that is serving for
155
an extended period of time. (John Arbash Meinel, #494406)
157
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
158
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
159
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
161
* Give a clearer message if the lockdir disappears after being apparently
162
successfully taken. (Martin Pool, #498378)
164
* The 2a format wasn't properly restarting autopacks when something
165
changed underneath it (like another autopack). Now concurrent
166
autopackers will properly succeed. (John Arbash Meinel, #495000)
168
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
169
the right time will get propagated, rather than silently failing to move
170
the block pointer. (John Arbash Meinel, Gareth White, #495023)
187
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
188
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
189
rather than an ``except ?:`` clause.) This should help prevent bugs like
190
bug #495023. (John Arbash Meinel)
8
bzr 2.1.0b4 (not released yet)
9
##############################
196
11
:Codename: san francisco airport
199
The fourth beta release in the 2.1 series brings with it a significant
200
number of bugfixes (~20). The test suite is once again (finally) "green"
201
on Windows, and should remain that way for future releases. There are a
202
few performance related updates (faster upgrade and log), and several UI
203
tweaks. There has also been a significant number of tweaks to the runtime
204
documentation. 2.1.0b4 include everything from the 2.0.3 release.
207
14
Compatibility Breaks
208
15
********************
245
33
``source\\path`` rather than ``source/path`` on Windows. This might be a
246
34
source of some dirstate-related failures. (John Arbash Meinel)
248
* ``bzr commit`` now detects commit messages that looks like file names
249
and issues a warning.
250
(Gioele Barabucci, #73073)
252
36
* ``bzr ignore /`` no longer causes an IndexError. (Gorder Tyler, #456036)
254
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
255
(#325618, #484109, Marius Kruger)
257
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
258
files with conflicts (similar to ``--merge3``). The contents of the file
259
is a synthesis of all bases used for the merge.
260
(John Arbash Meinel, #40412)
262
38
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
264
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
265
(Robert Collins, #84659)
267
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
269
* Fix bug with redirected URLs over authenticated HTTP.
270
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
272
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
274
40
* Lots of bugfixes for the test suite on Windows. We should once again
275
41
have a test suite with no failures on Windows. (John Arbash Meinel)
277
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
278
variable but returns None if the terminal is not a tty (when output is
279
redirected for example). Also fixes its usage under OSes that doesn't
280
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
282
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
283
(John Arbash Meinel, Vincent Ladeuil, #492561)
285
* Terminate ssh subprocesses when no references to them remain, fixing
286
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
288
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
289
works for 2a format trees. Only files unaffected by content filters
290
will be hardlinked. (Andrew Bennetts, #408193)
292
43
* The new glob expansion on Windows would replace all ``\`` characters
293
44
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
294
45
etc. Now only change slashes if there is something being glob expanded.
295
46
(John Arbash Meinel, #485771)
297
* Use our faster ``KnownGraph.heads()`` functionality when computing the
298
new rich-root heads. This can cut a conversion time in half (mysql from
299
13.5h => 6.2h) (John Arbash Meinel, #487632)
301
* When launching a external diff tool via bzr diff --using, temporary files
302
are no longer created, rather, the path to the file in the working tree is
303
passed to the external diff tool. This allows the file to be edited if the
304
diff tool provides for this. (Gary van der Merwe, #490738)
306
* The launchpad-open command can now be used from a subdirectory of a
307
branch, not just from the root of the branch.
308
(Neil Martinsen-Burrell, #489102)
314
* ``bzr log`` is now faster. (Ian Clatworthy)
316
* ``bzr update`` provides feedback on which branch it is up to date with.
317
(Neil Martinsen-Burrell)
319
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
320
For details see the xml8 patch and heads() improvements.
323
* ``bzrlib.urlutils.local_path_from_url`` now accepts
324
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
327
* The progress bar now shows only a spinner and per-operation counts,
328
not an overall progress bar. The previous bar was often not correlated
329
with real overall operation progress, either because the operations take
330
nonlinear time, or because at the start of the operation Bazaar couldn't
331
estimate how much work there was to do. (Martin Pool)
336
* Lots of documentation tweaks for inline help topics and command help
342
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
344
* The Launchpad plugin now has a function ``login`` which will log in to
345
Launchpad with launchpadlib, and ``load_branch`` which will return the
346
Launchpad Branch object corresponding to a given Bazaar Branch object.
352
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
353
easier to handle what tests you want to run based on what modules can be
354
imported. (Rather than lots of custom-implemented features that were
355
basically copy-and-pasted.) (John Arbash Meinel)
357
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
358
``time.clock()`` when you want to do performance timing.
359
``time.time()`` is limited to 15ms resolution on Windows, but
360
``time.clock()`` gives CPU and not wall-clock time on other platforms.
363
* Several code paths that were calling ``Transport.get().read()`` have
364
been changed to the equalivent ``Transport.get_bytes()``. The main
365
difference is that the latter will explicitly call ``file.close()``,
366
rather than expecting the garbage collector to handle it. This helps
367
with some race conditions on Windows during the test suite and sftp
368
tests. (John Arbash Meinel)
373
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
374
unicode strings. (Michael Hudson, #464174)
380
:Codename: little italy
384
The third stable release of Bazaar has a small handful of bugfixes. As
385
expected, this has no internal or external compatibility changes versus
64
bzr 2.0.3 (not released yet)
65
############################
391
* ``bzr push --use-existing-dir`` no longer crashes if the directory
392
exists but contains an invalid ``.bzr`` directory.
393
(Andrew Bennetts, #423563)
395
* Content filters are now applied correctly after pull, merge and switch.
396
(Ian Clatworthy, #385879)
398
* Fix a potential segfault in the groupcompress hash map handling code.
399
When inserting new entries, if the final hash bucket was empty, we could
400
end up trying to access if ``(last_entry+1)->ptr == NULL``.
401
(John Arbash Meinel, #490228)
78
* Fix for shell completion and short options. (Benoît PIERRE)
403
80
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
87
* Include Japanese translations for documentation (Inada Naoki)