/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: John Arbash Meinel
  • Date: 2010-01-12 22:51:31 UTC
  • mto: This revision was merged to the branch mainline in revision 4955.
  • Revision ID: john@arbash-meinel.com-20100112225131-he8h411p6aeeb947
Delay grabbing an output stream until we actually go to show a diff.

This makes the test suite happy, but it also seems to be reasonable.
If we aren't going to write anything, we don't need to hold an
output stream open.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. contents:: List of Releases
6
6
   :depth: 1
7
7
 
8
 
bzr 2.2b3
9
 
#########
10
 
 
11
 
:2.2b3: NOT RELEASED YET
12
 
 
13
 
Compatibility Breaks
14
 
********************
15
 
 
16
 
New Features
17
 
************
18
 
 
19
 
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
20
 
  ``--show-diff``.
21
 
  (Parth Malwankar, #571467)
22
 
  
23
 
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
24
 
  the default ignore rules used by bzr. The flag ``--old-default-rules``
25
 
  is no longer supported by ``ignore``.
26
 
  (Parth Malwankar, #538703)
27
 
 
28
 
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
29
 
  can save disk space by deleting obsolete pack files created during the
30
 
  pack operation.
31
 
  (Parth Malwankar, #304320)
32
 
 
33
 
Bug Fixes
34
 
*********
35
 
 
36
 
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
 
  group ownership from the containing directory. This allow bzr to work
38
 
  better with sudo.
39
 
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
 
 
41
 
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
 
  are part of Y ancestry but not part of X ancestry (aka the graph
43
 
  difference).
44
 
  (Vincent Ladeuil, #320119)
45
 
 
46
 
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
 
  (Vincent Ladeuil, #566670)
48
 
 
49
 
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
 
  (Vincent Ladeuil, #563997)
51
 
 
52
 
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
 
  (Vincent Ladeuil, #401599)
54
 
 
55
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
56
 
  versions before 1.6.
57
 
  (Andrew Bennetts, #528041)
58
 
 
59
 
* Reduce peak memory by one copy of compressed text.
60
 
  (John Arbash Meinel, #566940)
61
 
 
62
 
* Show the filenames when a file rename fails so that the error will be
63
 
  more comprehensible.
64
 
  (Martin Pool, #491763)
65
 
 
66
 
Improvements
67
 
************
68
 
 
69
 
* ``append_revisions_only`` will now be interpreted as a boolean and a
70
 
  warning emitted if illegal values are used. Note that for projects
71
 
  that needs to maintain compatibility with previsous bzr versions,
72
 
  only 'True' and 'False' strings must be used (previous versions of
73
 
  bzr will interpret all strings differing from 'True'
74
 
  (case-sensitive) as false.
75
 
  (Brian de Alwis, Vincent Ladeuil)
76
 
 
77
 
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
 
  be interpreted as a boolean.
79
 
  (Vincent Ladeuil)
80
 
 
81
 
Documentation
82
 
*************
83
 
 
84
 
API Changes
85
 
***********
86
 
 
87
 
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
88
 
  some kinds of ``merge_file_content`` hook functions.
89
 
  (Andrew Bennetts)
90
 
  
91
 
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
92
 
  `user_transport`, `control_url` and `control_transport` members pointing
93
 
  respectively to the directory containing the ``.bzr`` control directory, 
94
 
  and to the directory within ``.bzr`` used for the particular component.
95
 
  All of them inherit from `ControlComponent` which provides default
96
 
  implementations.
97
 
  (Martin Pool)
98
 
 
99
 
Internals
100
 
*********
101
 
 
102
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
 
  suboptimal network behaviour is noticed; instead it just mutters to the
104
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
105
 
  This was causing unnecessary aborts for performance bugs that are minor
106
 
  at worst.
107
 
  (Andrew Bennetts, #528041)
108
 
 
109
 
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
110
 
  files loaded from disk. To ensure docstrings needed for help are never
111
 
  stripped, the prefix ``__doc__ =`` should now be used.
112
 
  (Martin <gzlist@googlemail.com>)
113
 
 
114
 
Testing
115
 
*******
116
 
 
117
 
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
118
 
  our first in-tree matcher. See the module docstring for details.
119
 
  (Robert Collins)
120
 
 
121
 
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
122
 
   (Gordon Tyler, #551332)
123
 
 
124
 
* Workaround ``Crypto.Random`` check leading to spurious test
125
 
  failures on Lucid, FreeBSD and gentoo.  
126
 
  (Vincent Ladeuil, #528436)
127
 
 
128
 
bzr 2.2b2
129
 
#########
130
 
 
131
 
:2.2b2: 2010-04-16
132
 
 
133
 
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
134
 
incompatibility in the 2.2b1 release.  It also includes a swag of
135
 
performance, usability and correctness improvements: test feedback on all
136
 
of these would be welcome.
137
 
 
138
 
 
139
 
New Features
140
 
************
141
 
 
142
 
* ``bzr diff`` now supports a --format option, which can be used to 
143
 
  select alternative diff formats. (Jelmer Vernooij, #555994)
144
 
 
145
 
Bug Fixes
146
 
*********
147
 
 
148
 
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
149
 
  instead of failing when dirty trees are involved. The corresponding
150
 
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
151
 
  True explicitly to get the previous behaviour.  
152
 
  (Vincent Ladeuil, #519319)
153
 
 
154
 
* ``bzr export`` to tar file does not fail if any parent directory
155
 
  contains unicode characters. This works around upstream Python bug
156
 
  http://bugs.python.org/issue8396 .
157
 
  (Parth Malwankar, #413406)
158
 
 
159
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
160
 
  (Aaron Bentley, #559436)
161
 
 
162
 
* ``bzr update`` when a pending merge in the working tree has been merged
163
 
  into the master branch will no longer claim that old commits have become
164
 
  pending merges. (Robert Collins, #562079)
165
 
 
166
 
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
167
 
  config as in previous versions of bzrlib. (Robert Collins)
168
 
 
169
 
* Fix glitch in the warning about unclean trees display.
170
 
  (Vincent Ladeuil, #562665)
171
 
 
172
 
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
173
 
  (Martin Pool)
174
 
 
175
 
* Help messages generated by ``RegistryOption.from_kwargs`` list the
176
 
  switches in alphabetical order, rather than in an undefined order.
177
 
  (Martin von Gagern, #559409)
178
 
 
179
 
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
180
 
  Apport crash reports, to avoid "This problem report applies to a program
181
 
  which is not installed any more" error.
182
 
  (Martin Pool, James Westby, #528114)
183
 
 
184
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
188
 
  (Andrew Bennetts)
189
 
 
190
 
* When invoked with a range revision, ``bzr log`` doesn't show revisions
191
 
  that are not part of the Y revisions ancestry anymore when invoked with
192
 
  -rX..Y.
193
 
  (Vincent Ladeuil, #474807)
194
 
 
195
 
* Properly handle ``param_name`` attribute for ``ListOption``.
196
 
  (Martin von Gagern, 387117)
197
 
 
198
 
Improvements
199
 
************
200
 
 
201
 
* ``bzr commit`` will prompt before using a commit message that was
202
 
  generated by a template and not edited by the user.
203
 
  (Robert Collins, #530265)
204
 
 
205
 
* ``bzr diff`` read-locks the trees and branches only once, saving about
206
 
  10-20ms on ``bzr diff`` in a bzr.dev tree.
207
 
  (Andrew Bennetts)
208
 
 
209
 
* ``bzr missing`` read-locks the branches only once.
210
 
  (Andrew Bennetts)
211
 
  
212
 
* ``bzr pull`` locks the branches and tree only once.
213
 
  (Andrew Bennetts)
214
 
  
215
 
* Index lookups in pack repositories search recently hit pack files first.  
216
 
  In repositories with many pack files this can greatly reduce the
217
 
  number of files accessed, the number of bytes read, and the number of
218
 
  read calls.  An incremental pull via plain HTTP takes half the time and
219
 
  bytes for a moderately large repository.  (Andrew Bennetts)
220
 
 
221
 
* Index lookups only re-order the indexes when the hit files aren't
222
 
  already first. Reduces the cost of reordering
223
 
  (John Arbash Meinel, #562429)
224
 
 
225
 
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
226
 
  less.)
227
 
  (Martin Pool, #553017)
228
 
 
229
 
API Changes
230
 
***********
231
 
 
232
 
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
 
  ``get_trees_and_branches_to_diff_locked`` instead.
234
 
  (Andrew Bennetts)
235
 
  
236
 
Internals
237
 
*********
238
 
 
239
 
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
240
 
  2.1 method of calling run() to perform testing or direct use via the API
241
 
  is now possible again. As part of this, the _operation attribute on
242
 
  Command is now transient and only exists for the duration of ``run()``.
243
 
  (Robert Collins)
244
 
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
249
 
 
250
 
Compatibility Breaks
251
 
********************
252
 
 
253
 
* BTreeGraphIndex can now take an offset to indicate that the data starts
254
 
  somewhere other than then beginning of the file. (John Arbash Meinel)
255
 
 
256
 
* Deleted very old hidden commands ``versionedfile-list``,
257
 
  ``weave-plan-merge``, ``weave-merge-text``.
258
 
  (Martin Pool)
259
 
 
260
 
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
261
 
  have been removed. (Jelmer Vernooij)
262
 
 
263
 
* ``Repository.get_revision_inventory()`` has been removed in favor of
264
 
  ``Repository.get_inventory()``. (Jelmer Vernooij)
265
 
 
266
 
* All test servers have been moved out of the bzrlib.transport hierarchy to
267
 
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
268
 
  PathFilteringServer. ``bzrlib`` users may encounter test failures that can
269
 
  be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
270
 
  ``bzrlib.tests.test_server``.
271
 
  (Vincent Ladeuil)
272
 
 
273
 
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
274
 
  as its second parameter, for consistency with the initialize() method of
275
 
  other formats. (Jelmer Vernooij)
276
 
 
277
 
New Features
278
 
************
279
 
 
280
 
* Added ``bzr remove-branch`` command that can remove a local or remote 
281
 
  branch. (Jelmer Vernooij, #276295)
282
 
 
283
 
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
284
 
  to set file mtimes to the last timestamp of the last revision in which
285
 
  they were changed rather than the current time. (Jelmer Vernooij)
286
 
 
287
 
* If the Apport crash-reporting tool is available, bzr crashes are now
288
 
  stored into the ``/var/crash`` apport spool directory, and the user is
289
 
  invited to report them to the developers from there, either
290
 
  automatically or by running ``apport-bug``.  No information is sent
291
 
  without specific permission from the user.  (Martin Pool, #515052)
292
 
 
293
 
* Parsing of command lines, for example in ``diff --using``, no longer
294
 
  treats backslash as an escape character on Windows.   (Gordon Tyler,
295
 
  #392248)
296
 
 
297
 
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
298
 
  a list of plugin names separated by ':' (';' on windows).
299
 
  (Vincent Ladeuil, #411413)
300
 
 
301
 
* Plugins can be loaded from arbitrary locations by defining
302
 
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
303
 
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
304
 
  specified plugins. This is targeted at plugin developers for punctual
305
 
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
306
 
  (Vincent Ladeuil, #82693)
307
 
 
308
 
* Tag names can now be determined automatically by ``automatic_tag_name`` 
309
 
  hooks on ``Branch`` if they are not specified on the command line.
310
 
  (Jelmer Vernooij)
311
 
 
312
 
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
313
 
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
314
 
  as resolved is still accessible via the ``--done`` default action.
315
 
  (Vincent Ladeuil)
316
 
 
317
 
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
318
 
  (Aaron Bentley, Jonathan Lange)
319
 
 
320
 
Bug Fixes
321
 
*********
322
 
 
323
 
* Added docstring for ``Tree.iter_changes``
324
 
  (John Arbash Meinel, #304182)
325
 
 
326
 
* Allow additional arguments to
327
 
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
328
 
 
329
 
* Allow exporting a single file using ``bzr export``.
330
 
  (Michal Junák, #511987)
331
 
 
332
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
333
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
334
 
  IO, which are often poorly handled by Python's libraries and parts of
335
 
  bzrlib.  (Andrew Bennetts, #496813)
336
 
 
337
 
* Avoid infinite recursion when probing for apport.
338
 
  (Vincent Ladeuil, #516934)
339
 
 
340
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
341
 
  (Martin Pool, #331095)
342
 
 
343
 
* Avoid truncating svn URLs.
344
 
  (Martin Pool, Martin von Gagern, #545185)
345
 
 
346
 
* ``bzr add`` will not add conflict related files unless explicitly required.
347
 
  (Vincent Ladeuil, #322767, #414589)
348
 
 
349
 
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
350
 
  indices do not have reference lists, so ``dump-btree`` will simply show
351
 
  ``None`` instead.  (Andrew Bennetts, #488607)
352
 
 
353
 
* ``bzr help`` will no longer trigger the get_missing_command hook when
354
 
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
355
 
  did you mean log?') when getting help. In future we may trigger the hook 
356
 
  deliberately when no help topics match from any help index.
357
 
  (Robert Collins, #396261)
358
 
 
359
 
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
360
 
  revspec as representing the first revision of the branch.
361
 
  (Vincent Ladeuil, #519862)
362
 
 
363
 
* ``bzr remove-tree`` can now remove multiple working trees.
364
 
  (Jared Hance, Andrew Bennetts, #253137)
365
 
 
366
 
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
367
 
  the kept file on content conflicts where one side deleted the file.
368
 
  (Vincent Ladeuil, #529968)
369
 
 
370
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
371
 
  permissions as ``.bzr`` directory on a POSIX OS.
372
 
  (Parth Malwankar, #262450)
373
 
 
374
 
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
375
 
  of ``backup.bzr``. This directory is ignored by bzr commands such as
376
 
  ``add``.
377
 
  (Parth Malwankar, #335033, #300001)
378
 
 
379
 
* Cope with non-utf8 characters inside ``.bzrignore``.
380
 
  (Jason Spashett, #183504)
381
 
 
382
 
* Correctly interpret "451 Rename/move failure: Directory not empty" from
383
 
  ftp servers while trying to take a lock.
384
 
  (Martin Pool, #528722)
385
 
 
386
 
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
387
 
  changes occured between the workingtree and one of its parents.
388
 
  (Vincent Ladeuil, #535547)
389
 
 
390
 
* Fix ``log`` to better check ancestors even if merged revisions are involved.
391
 
  (Vincent Ladeuil, #476293)
392
 
 
393
 
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
394
 
  on os.lisdir() order and is now reliable.
395
 
  (Vincent Ladeuil, #552922).
396
 
 
397
 
* Many IO operations that returned ``EINTR`` were retried even if it
398
 
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
399
 
  only retries operations that are safe to retry, and in some cases has
400
 
  switched to operations that can be retried (e.g. ``sock.send`` rather than
401
 
  ``sock.sendall``).
402
 
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
403
 
 
404
 
* Path conflicts now support --take-this and --take-other even when a
405
 
  deletion is involved.
406
 
  (Vincent Ladeuil, #531967)
407
 
 
408
 
* Network transfer amounts and rates are now displayed in SI units according
409
 
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
410
 
  (Gordon Tyler, #514399)
411
 
 
412
 
* Support kind markers for socket and fifo filesystem objects. This
413
 
  prevents ``bzr status --short`` from crashing when those files are
414
 
  present.  (John Arbash Meinel, #303275)
415
 
 
416
 
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
417
 
   directory. (Parth Malwankar, #138600)
418
 
 
419
 
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
420
 
  the debugger won't kill the session.
421
 
  (Martin <gzlist@googlemail.com>, #162502)
422
 
 
423
 
* Tolerate patches with leading noise in ``bzr-handle-patch``.
424
 
  (Toshio Kuratomi, Martin Pool, #502076)
425
 
 
426
 
* ``update -r`` now supports updating to revisions that are not on
427
 
  mainline (i.e. it supports dotted revisions).
428
 
  (Parth Malwankar, #517800)
429
 
 
430
 
* Use first apparent author not committer in GNU Changelog format.
431
 
  (Martin von Gagern, #513322)
432
 
 
433
 
API Changes
434
 
***********
435
 
 
436
 
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
437
 
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
438
 
  (Jelmer Vernooij)
439
 
 
440
 
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
441
 
  branch to create. (Jelmer Vernooij)
442
 
 
443
 
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
444
 
  colocated branch to open. (Jelmer Vernooij)
445
 
 
446
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
447
 
  can set a signal handler and call ``signal.siginterrupt(signum,
448
 
  False)`` for it, if the platform and Python version supports it.
449
 
  (Andrew Bennetts, #496813)
450
 
 
451
 
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
452
 
  run when starting up; it sets up several things that previously needed
453
 
  to be done separately.
454
 
  (Martin Pool, #507710)
455
 
 
456
 
* Exporters now support a ``per_file_timestamps`` argument to write out the 
457
 
  timestamp of the commit in which a file revision was introduced.
458
 
  (Jelmer Vernooij)
459
 
 
460
 
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
461
 
  present in a control directory. (Jelmer Vernooij)
462
 
 
463
 
* New method ``Repository.get_known_graph_ancestry()``. 
464
 
  (Jelmer Vernooij, #495502)
465
 
 
466
 
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
467
 
  (Neil Santos)
468
 
 
469
 
* Remove unused ``CommandFailed`` exception.
470
 
  (Martin Pool)
471
 
 
472
 
Internals
473
 
*********
474
 
 
475
 
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
476
 
  ``message_callback`` in the same way that commit does. (Robert Collins)
477
 
 
478
 
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
479
 
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
480
 
  of date. (Gary van der Merwe)
481
 
 
482
 
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
483
 
  functions to load or disable plugins if they wish to use a different
484
 
  plugin mechanism; the --help, --version and no-command name code paths
485
 
  now use the generic pluggable command lookup infrastructure.
486
 
  (Robert Collins)
487
 
 
488
 
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
489
 
  which can be set to add extra help to the error. (Gary van der Merwe)
490
 
 
491
 
* New method ``Branch.automatic_tag_name`` that can be used to find the
492
 
  tag name for a particular revision automatically. (Jelmer Vernooij)
493
 
 
494
 
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
495
 
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
496
 
  (Jelmer Vernooij)
497
 
 
498
 
Testing
499
 
*******
500
 
 
501
 
* bzr now has a ``.testr.conf`` file in its source tree configured
502
 
  appropriately for running tests with Testrepository
503
 
  (``https://launchpad.net/testrepository``). (Robert Collins)
504
 
 
505
 
* Documentation about testing with ``subunit`` has been tweaked.
506
 
  (Robert Collins)
507
 
 
508
 
* Known failures has been added for resolve --take-other on ParentLoop
509
 
  conflicts. This reflects bug #537956 without fixing it.
510
 
  (Vincent Ladeuil)
511
 
 
512
 
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
513
 
  Python modules are loaded, to guard against startup time or library
514
 
  dependency regressions.
515
 
  (Martin Pool)
516
 
 
517
 
* PQM will now run with subunit output. To analyze a PQM error use
518
 
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
519
 
 
520
 
* Stop sending apport crash files to ``.cache`` in the directory from
521
 
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
522
 
 
523
 
* Tests no longer fail if "close() called during concurrent
524
 
  operation on the same file object" occurs when closing the log file
525
 
  (which can happen if a thread tries to write to the log file at the
526
 
  wrong moment).  An warning will be written to ``stderr`` when this
527
 
  happens, and another warning will be written if the log file could not
528
 
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
529
 
 
530
 
bzr 2.1.2
531
 
#########
532
 
 
533
 
:2.1.2: NOT RELEASED YET
534
 
 
535
 
Bug Fixes
536
 
*********
537
 
 
538
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
 
  (Aaron Bentley, #559436)
540
 
 
541
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
 
  versions before 1.6.
543
 
  (Andrew Bennetts, #528041)
544
 
 
545
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
549
 
  (Andrew Bennetts)
550
 
 
551
 
Internals
552
 
*********
553
 
 
554
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
555
 
  suboptimal network behaviour is noticed; instead it just mutters to the
556
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
557
 
  This was causing unnecessary aborts for performance bugs that are minor
558
 
  at worst.
559
 
  (Andrew Bennetts, #528041)
560
 
 
561
 
 
562
 
bzr 2.1.1
563
 
#########
564
 
 
565
 
:2.1.1: 2010-03-24
566
 
 
567
 
This is a small bugfix release.  Upgrading is recommended for anyone
568
 
running 2.1.0 or earlier.
569
 
 
570
 
Bug Fixes
571
 
*********
572
 
 
573
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
574
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
575
 
  IO, which are often poorly handled by Python's libraries and parts of
576
 
  bzrlib.  (Andrew Bennetts, #496813)
577
 
 
578
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
579
 
  (Martin Pool, #331095)
580
 
 
581
 
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
582
 
 
583
 
* Fix stub sftp test server to call os.getcwdu().
584
 
  (Vincent Ladeuil, #526221, #526353)
585
 
 
586
 
* Fixed CHM generation by moving the NEWS section template into
587
 
  a separate file. (Ian Clatworthy, #524184)
588
 
 
589
 
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
590
 
 
591
 
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
592
 
  problems importing bzrlib from a non-main thread.
593
 
  (Elliot Murphy, #521989)
594
 
 
595
 
* Repositories accessed via a smart server now reject being stacked on a
596
 
  repository in an incompatible format, as is the case when accessing them
597
 
  via other methods.  This was causing fetches from those repositories via
598
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
599
 
  (Andrew Bennetts, #562380)
600
 
 
601
 
* Standardize the error handling when creating a new ``StaticTuple``
602
 
  (problems will raise TypeError). (Matt Nordhoff, #457979)
603
 
 
604
 
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
605
 
  ``StaticTuple`` extensions, rather than having the build fail randomly.
606
 
  (John Arbash Meinel, #449776)
607
 
 
608
 
Documentation
609
 
*************
610
 
 
611
 
* Added a link to the Desktop Guide. (Ian Clatworthy)
612
 
 
613
 
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
614
 
 
615
 
* Drop Google Analytics from the core docs as they caused problems
616
 
  in the CHM files. (Ian Clatworthy, #502010)
617
 
 
618
 
API Changes
619
 
***********
620
 
 
621
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
622
 
  can set a signal handler and call ``signal.siginterrupt(signum,
623
 
  False)`` for it, if the platform and Python version supports it.
624
 
  (Andrew Bennetts, #496813)
625
 
 
626
 
 
627
 
bzr 2.1.0
628
 
#########
629
 
 
630
 
:Codename: Strasbourg
631
 
:2.1.0: 2010-02-11
632
 
 
633
 
This release marks our second long-term-stable series. The Bazaar team
634
 
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
635
 
releases, along with 2.2 development releases. 
636
 
 
637
 
This is a fairly incremental update, focusing on polish and bugfixing.
638
 
There are no changes for supported disk formats. Key updates include
639
 
reduced memory consumption for many operations, a new per-file merge
640
 
hook, ignore patterns can now include '!' to exclude files, globbing
641
 
support for all commands on Windows, and support for addressing home
642
 
directories via ``bzr+ssh://host/~/`` syntax.
643
 
 
644
 
Users are encouraged to upgrade from the 2.0 stable series.
645
 
 
646
 
Bug Fixes
647
 
*********
648
 
 
649
 
* Don't require testtools to use sftp.
650
 
  (Vincent Ladeuil, #516183)
651
 
 
652
 
* Fix "AttributeError in Inter1and2Helper" during fetch.
653
 
  (Martin Pool, #513432)
654
 
 
655
 
* ``bzr update`` performs the two merges in a more logical order and will stop
656
 
  when it encounters conflicts.  
657
 
  (Gerard Krol, #113809)
658
 
 
659
 
* Give a better error message when doing ``bzr bind`` in an already bound
660
 
  branch.  (Neil Martinsen-Burrell, #513063)
661
 
 
662
 
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
663
 
  in a pack repository, which can happen harmlessly if the abort occurs during
664
 
  finishing the write group.  Also use ``bzrlib.cleanup`` so that any
665
 
  other errors that occur while aborting the individual packs won't be
666
 
  hidden by secondary failures when removing the corresponding indices.
667
 
  (Andrew Bennetts, #423015)
668
 
 
669
 
* Set the mtime of files exported to a directory by ``bzr export`` all to
670
 
  the same value to avoid confusing ``make`` and other date-based build
671
 
  systems. (Robert Collins, #515631)
672
 
 
673
 
Improvements
674
 
************
675
 
 
676
 
* Fetching into experimental formats will now print a warning. (Jelmer
677
 
  Vernooij)
678
 
 
679
 
API Changes
680
 
***********
681
 
 
682
 
* ``Repository.deserialise_inventory`` has been renamed to 
683
 
  ``Repository._deserialise_inventory`` to indicate it is private.
684
 
  (Jelmer Vernooij)
685
 
 
686
 
* ``Repository.get_inventory_xml`` has been renamed to 
687
 
  ``Repository._get_inventory_xml`` to indicate it is private. 
688
 
  (Jelmer Vernooij)
689
 
 
690
 
* ``Repository.serialise_inventory`` has been renamed to 
691
 
  ``Repository._serialise_inventory`` to indicate it is private.
692
 
 
693
 
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
694
 
  same time was broken due to race conditions with a module level page
695
 
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
696
 
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
697
 
  the same high level objects such as ``bzrlib.repository.Repository``
698
 
  from different threads. chk_map now uses a thread local cache which may
699
 
  increase memory pressure on processes using threads.
700
 
  (Robert Collins, John Arbash Meinel, #514090)
701
 
 
702
 
* The new ``merge_file_content`` should now be ok with tests to avoid
703
 
  regressions.
704
 
  (Vincent Ladeuil, #515597)
705
 
 
706
 
Internals
707
 
*********
708
 
 
709
 
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
710
 
  blocks in several places in ``bzrlib.merge``.  This avoids masking prior
711
 
  errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
712
 
  in ``do_merge``.
713
 
  (Andrew Bennetts, #517275)
714
 
 
715
 
API Changes
716
 
***********
717
 
 
718
 
* The ``remove_index`` method of
719
 
  ``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
720
 
  argument.  This argument was always ignored.
721
 
  (Andrew Bennetts, #423015)
722
 
 
723
 
bzr 2.1.0rc2
724
 
############
725
 
 
726
 
:Codename: after the bubbles
727
 
:2.1.0rc2: 2010-01-29
728
 
 
729
 
This is a quick-turn-around to update a small issue with our new per-file
730
 
merge hook. We expect no major changes from this to the final 2.1.0.
731
 
 
732
 
API Changes
733
 
***********
734
 
 
735
 
* The new ``merge_file_content`` hook point has been altered to provide a
736
 
  better API where state for extensions can be stored rather than the
737
 
  too-simple function based approach. This fixes a performance regression
738
 
  where branch configuration would be parsed per-file during merge. As
739
 
  part of this the included news_merger has been refactored into a base
740
 
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
741
 
  (Robert Collins, John Arbash Meinel, #513822)
742
 
 
743
 
 
744
 
bzr 2.1.0rc1
745
 
############
 
8
bzr 2.1.0rc1 (not released yet)
 
9
###############################
746
10
 
747
11
:Codename: the 'new' stable
748
 
:2.1.0rc1: 2009-01-21
749
 
 
750
 
This is the first stable release candidate for Bazaar's 2.1 series. From
751
 
this point onwards, the 2.1 series will be considered stable (as the 2.0
752
 
series) and only bugfixes are expected to be incorporated. The dozen or so
753
 
bugfixes in the 2.0.4 release are also included in this release (along
754
 
with more than 15 more bugfixes). Some of the interesting features are
755
 
support for per-file merge hooks, ``bzr unshelve --preview``, support
756
 
for using ! in ignore files to exclude files from being ignored, a small
757
 
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
758
 
This looks to be a very good start for a new stable series.
759
 
 
 
12
:2.1.0rc1: 2009-01-06 (expected)
 
13
 
 
14
Compatibility Breaks
 
15
********************
760
16
 
761
17
New Features
762
18
************
764
20
* Add bug information to log output when available.
765
21
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
766
22
 
767
 
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
768
 
  to register custom merge logic, e.g. to provide smarter merging for
769
 
  particular files.
770
 
 
771
 
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
772
 
  default, to enable it add a ``news_merge_files`` option to your
773
 
  configuration.  Consult ``bzr help news_merge`` for more information.
774
 
  (Andrew Bennetts)
775
 
  
776
23
* ``bzr branch`` now takes a ``--bind`` option. This lets you
777
24
  branch and bind all in one command. (Ian Clatworthy)
778
25
 
779
 
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
780
 
  a specific revision of a branch. (Daniel Watkins, #183559)
781
 
 
782
 
* ``bzr unshelve --preview`` can now be used to show how a patch on the
783
 
  shelf would be applied to the working tree.
784
 
  (Guilherme Salgado, #308122)
785
 
 
786
26
* ``bzr update`` now takes a ``--revision`` argument. This lets you
787
27
  change the revision of the working tree to any revision in the
788
28
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
792
32
  transferred for the current command. This information is always logged
793
33
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
794
34
 
795
 
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
796
 
  ignore patterns and take precedence over regular ignores.  Such 
797
 
  exceptions are used to specify files that should be versioned which 
798
 
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
799
 
  ignore patterns, but have highest precedence, even over the '!' 
800
 
  exception patterns. (John Whitley, #428031)
801
 
 
802
 
* The ``supress_warnings`` configuration option has been introduced to disable
803
 
  various warnings (it currently only supports the ``format_deprecation``
804
 
  warning). The new option can be set in any of the following locations:
805
 
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
 
35
* The ``suppress_warnings`` configuration option has been introduced and
 
36
  accept the ``format_deprecation`` value to disable the corresponding
 
37
  warning for repositories. It can be set to in either ``bazaar.conf``,
 
38
  ``locations.conf`` or ``branch.conf``.
806
39
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
807
40
 
808
41
Bug Fixes
812
45
  user-specified commit message editor.
813
46
  (Martin Pool, #504842)
814
47
 
815
 
* ``bzr diff`` will now use the epoch when it is unable to determine 
816
 
  the timestamp of a file, if the revision it was introduced in is a
817
 
  ghost. (Jelmer Vernooij, #295611)
 
48
* ``bzr export dir`` now requests all file content as a record stream,
 
49
  rather than requsting the file content one file-at-a-time. This can make
 
50
  exporting over the network significantly faster (54min => 9min in one
 
51
  case). (John Arbash Meinel, #343218)
 
52
 
 
53
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
54
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
55
  free resources, and it should have been using ``__dealloc__``.
 
56
  This will likely have an impact on any other process that is serving for
 
57
  an extended period of time.  (John Arbash Meinel, #494406)
818
58
 
819
59
* ``bzr switch -b`` can now create branches that are located using directory
820
60
  services such as ``lp:``, even when the branch name doesn't contain a
823
63
* ``bzr unshelve`` has improved messages about what it is doing.
824
64
  (Neil Martinsen-Burrell, #496917)
825
65
 
826
 
* Concurrent autopacking is more resilient to already-renamed pack files.
827
 
  If we find that a file we are about to obsolete is already obsoleted, we
828
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
829
 
  The code is also fault tolerant if a file goes missing, assuming that
830
 
  another process already removed the file.
831
 
  (John Arbash Meinel, Gareth White, #507557)
832
 
 
833
 
* Fix "Too many concurrent requests" in reconcile when network connection
834
 
  fails.  (Andrew Bennetts, #503878)
 
66
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
67
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
68
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
835
69
 
836
70
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
837
71
  that caused some tests to fail when run in a non-default order.
843
77
* FTP transports support Unicode paths by encoding/decoding them as utf8.
844
78
  (Vincent Ladeuil, #472161)
845
79
 
 
80
* Give a clearer message if the lockdir disappears after being apparently
 
81
  successfully taken.  (Martin Pool, #498378)
 
82
 
846
83
* Listen to the SIGWINCH signal to update the terminal width.
847
84
  (Vincent Ladeuil, #316357)
848
85
 
849
 
* Progress bars are now hidden when ``--quiet`` is given.
850
 
  (Martin Pool, #320035)
851
 
 
852
 
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
853
 
  whatever is written to it.  This un-breaks some plugin tests that
854
 
  depended on this behaviour.
855
 
  (Martin Pool, #499757)
 
86
* The 2a format wasn't properly restarting autopacks when something
 
87
  changed underneath it (like another autopack). Now concurrent
 
88
  autopackers will properly succeed. (John Arbash Meinel, #495000)
856
89
 
857
90
* When operations update the working tree, all affected files should end
858
91
  up with the same mtime. (eg. when versioning a generated file, if you
868
101
  ``try``/``finally`` blocks where applicable as it is simpler and more
869
102
  robust.  (Andrew Bennetts)
870
103
 
871
 
* All except a small number of storage formats are now hidden, making
872
 
  the help for numerous commands far more digestible. (Ian Clatworthy)
873
 
 
874
 
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
875
 
  path/to/repo``) will now include "location is a repository" as a hint in
876
 
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
877
 
 
878
104
* Push will now inform the user when they are trying to push to a foreign 
879
105
  VCS for which roundtripping is not supported, and will suggest them to 
880
106
  use dpush. (Jelmer Vernooij)
889
115
Documentation
890
116
*************
891
117
 
892
 
* Add documentation on creating merges with more than one parent.
893
 
  (Neil Martinsen-Burrell, #481526)
894
 
 
895
 
* Better explain the --uncommitted option of merge.
896
 
  (Neil Martinsen-Burrell, #505088)
897
 
 
898
 
* Improve discussion of pending merges in the documentation for
899
 
  ``revert``.  (Neil Martinsen-Burrell, #505093)
900
 
 
901
 
* Improved help for ``bzr send``. 
902
 
  (Martin Pool, Bojan Nikolic)
903
 
 
904
118
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
905
119
  including discussions of installation, relevant plugins, security and 
906
120
  backup. (Neil Martinsen-Burrell)
915
129
API Changes
916
130
***********
917
131
 
918
 
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
919
 
  (Andrew Bennetts)
920
 
 
921
132
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
922
133
  to be consistent with instances being lower case and classes being
923
134
  CamelCase. For the features that were more likely to be used, we added a
924
135
  deprecation thunk, but not all. (John Arbash Meinel)
925
136
 
926
 
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
927
 
  parameter in their constructors, and provide ``this_branch`` as an
928
 
  attribute. (Andrew Bennetts)
929
 
  
930
137
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
931
138
  by plugins - the original exceptions are now preserved. (Robert Collins)
932
139
 
941
148
Internals
942
149
*********
943
150
 
944
 
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
945
 
  a string of details (such as "location is a repository") as part of a
946
 
  ``nobranch`` response.  (Andrew Bennetts, #440952)
947
 
  
948
151
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
949
152
  objects but passes str objects straight through. This is used for
950
153
  selftest but may be useful for diff and other operations that generate
969
172
  testtools less than 0.9.2 will cause bzr to error while loading the test
970
173
  suite. (Robert Collins)
971
174
 
972
 
* Shell-like tests now support the command "mv" for moving files.  The
973
 
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
974
 
  supported.  (Neil Martinsen-Burrell)
975
 
 
976
175
* The test progress bar no longer distinguishes tests that 'errored' from
977
176
  tests that 'failed' - they're all just failures.
978
177
  (Martin Pool)
979
178
 
980
 
bzr 2.0.6
981
 
#########
982
 
 
983
 
:2.0.6: NOT RELEASED YET
984
 
 
985
 
Bug Fixes
986
 
*********
987
 
 
988
 
* Additional merges after an unrelated branch has been merged with its
989
 
  history no longer crash when deleted files are involved.
990
 
  (Vincent Ladeuil, John Arbash Meinel, #375898)
991
 
 
992
 
* ``bzr revert`` now only takes write lock on working tree, instead of on 
993
 
  both working tree and branch.
994
 
  (Danny van Heumen, #498409)
995
 
 
996
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
997
 
  permissions as ``.bzr`` directory on a POSIX OS.
998
 
  (Parth Malwankar, #262450)
999
 
 
1000
 
* Repositories accessed via a smart server now reject being stacked on a
1001
 
  repository in an incompatible format, as is the case when accessing them
1002
 
  via other methods.  This was causing fetches from those repositories via
1003
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
 
  (Andrew Bennetts, #562380)
1005
 
 
1006
 
bzr 2.0.5
1007
 
#########
1008
 
 
1009
 
:2.0.5: 2010-03-23
1010
 
 
1011
 
This fifth release in our 2.0 series addresses several user-inconvenience
1012
 
bugs.  None are critical, but upgrading is recommended for all users on
1013
 
earlier 2.0 releases.
1014
 
 
1015
 
Bug Fixes
1016
 
*********
1017
 
 
1018
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1019
 
  (Martin Pool, #331095)
1020
 
 
1021
 
* Concurrent autopacking is more resilient to already-renamed pack files.
1022
 
  If we find that a file we are about to obsolete is already obsoleted, we
1023
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
1024
 
  The code is also fault tolerant if a file goes missing, assuming that
1025
 
  another process already removed the file.
1026
 
  (John Arbash Meinel, Gareth White, #507557)
1027
 
 
1028
 
* Cope with the lockdir ``held/info`` file being empty, which seems to
1029
 
  happen fairly often if the process is suddenly interrupted while taking
1030
 
  a lock.
1031
 
  (Martin Pool, #185103)
1032
 
 
1033
 
* Give the warning about potentially slow cross-format fetches much
1034
 
  earlier on in the fetch operation.  Don't show this message during
1035
 
  upgrades, and show the correct format indication for remote
1036
 
  repositories.
1037
 
  (Martin Pool, #456077, #515356, #513157)
1038
 
 
1039
 
* Handle renames correctly when there are files or directories that 
1040
 
  differ only in case.  (Chris Jones, Martin Pool, #368931)
1041
 
 
1042
 
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1043
 
  error, report that error rather than failing with an unhelpful
1044
 
  ``UnboundLocalError``.
1045
 
  (Andrew Bennetts, #423563)
1046
 
 
1047
 
* Running ``bzr`` command without any arguments now shows bzr
1048
 
  version number along with rest of the help text.
1049
 
  (Parth Malwankar, #369501)
1050
 
 
1051
 
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1052
 
  errors.
1053
 
  (Inada Naoki, #524560)
1054
 
 
1055
 
Documentation
1056
 
*************
1057
 
 
1058
 
* Added ``location-alias`` help topic.
1059
 
  (Andrew Bennetts, #337834)
1060
 
 
1061
 
* Fixed CHM generation by moving the NEWS section template into
1062
 
  a separate file. (Ian Clatworthy, #524184)
1063
 
 
1064
 
 
1065
 
bzr 2.0.4
1066
 
#########
1067
 
 
1068
 
:Codename: smooth sailing
1069
 
:2.0.4: 2010-01-21
1070
 
 
1071
 
The fourth bugfix-only release in the 2.0 series contains more than a
1072
 
dozen bugfixes relative to 2.0.3. The primary focus is on handling
1073
 
interruptions and concurrent operations more cleanly, there is also a fair
1074
 
improvement to ``bzr export`` when exporting a remote branch.
1075
 
 
 
179
bzr 2.0.4 (not released yet)
 
180
############################
 
181
 
 
182
:Codename:
 
183
:2.0.4: smooth sailing
 
184
 
 
185
Compatibility Breaks
 
186
********************
 
187
 
 
188
New Features
 
189
************
1076
190
 
1077
191
Bug Fixes
1078
192
*********
1095
209
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
1096
210
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
1097
211
 
1098
 
* Concurrent autopacks will no longer lose a newly created pack file.
1099
 
  There was a race condition, where if the reload happened at the right
1100
 
  time, the second packer would forget the name of the newly added pack
1101
 
  file. (John Arbash Meinel, Gareth White, #507566)
1102
 
 
1103
212
* Give a clearer message if the lockdir disappears after being apparently
1104
213
  successfully taken.  (Martin Pool, #498378)
1105
214
 
1106
 
* Give a warning when fetching between repositories (local or remote) with
1107
 
  sufficiently different formats that the content will need to be
1108
 
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
1109
 
  the user has a clue that upgrading could make it faster.
1110
 
  (Martin Pool, #456077)
1111
 
 
1112
215
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
1113
216
  than using ``warning()``. The log file is opened before logging is set
1114
217
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
1118
221
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
1119
222
  (Martin Pool, John Arbash Meinel, #449372)
1120
223
 
1121
 
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
1122
 
  build. (there is still the distutils bug
1123
 
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
1124
 
 
1125
224
* The 2a format wasn't properly restarting autopacks when something
1126
225
  changed underneath it (like another autopack). Now concurrent
1127
226
  autopackers will properly succeed. (John Arbash Meinel, #495000)
1128
227
 
1129
 
* ``TreeTransform`` can now handle when a delta says that the file id for
1130
 
  the tree root changes. Rather than trying to rename your working
1131
 
  directory, or failing early saying that you can't have multiple
1132
 
  tree roots. This also fixes revert, update, and pull when the root id
1133
 
  changes.  (John Arbash Meinel, #494269, #504390)
1134
 
 
1135
228
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
1136
229
  the right time will get propagated, rather than silently failing to move
1137
230
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
1138
231
 
 
232
Improvements
 
233
************
 
234
 
 
235
Documentation
 
236
*************
 
237
 
 
238
API Changes
 
239
***********
 
240
 
 
241
Internals
 
242
*********
 
243
 
1139
244
Testing
1140
245
*******
1141
246
 
1204
309
  and issues a warning.
1205
310
  (Gioele Barabucci, #73073)
1206
311
 
1207
 
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
 
312
* ``bzr ignore /`` no longer causes an IndexError. (Gorder Tyler, #456036)
1208
313
 
1209
314
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
1210
315
  (#325618, #484109, Marius Kruger)
1386
491
 
1387
492
* Fix for shell completion and short options.  (Benoît PIERRE)
1388
493
 
1389
 
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
1390
 
 
1391
494
* Hooks daughter classes should always call the base constructor.
1392
495
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
1393
496
 
1455
558
* ``--parallel=fork`` is now compatible with --subunit.
1456
559
  (Robert Collins, Vincent Ladeuil, #419776)
1457
560
 
1458
 
* Reporting of failures shows test ids not descriptions and thus shows
1459
 
  parameterised tests correctly. (Robert Collins)
1460
 
 
1461
561
* TestNotApplicable is now handled within the TestCase.run method rather
1462
562
  than being looked for within ``ExtendedTestResult.addError``. This
1463
563
  provides better handling with other ``TestResult`` objects, degrading to
12542
11642
  diff, status, etc.
12543
11643
 
12544
11644
 
 
11645
bzr ?.?.? (not released yet)
 
11646
############################
 
11647
 
 
11648
:Codename: template
 
11649
:2.0.2: ???
 
11650
 
 
11651
Compatibility Breaks
 
11652
********************
 
11653
 
 
11654
New Features
 
11655
************
 
11656
 
 
11657
Bug Fixes
 
11658
*********
 
11659
 
 
11660
Improvements
 
11661
************
 
11662
 
 
11663
Documentation
 
11664
*************
 
11665
 
 
11666
API Changes
 
11667
***********
 
11668
 
 
11669
Internals
 
11670
*********
 
11671
 
 
11672
Testing
 
11673
*******
 
11674
 
 
11675
 
 
11676
 
12545
11677
..
12546
 
   vim: tw=74 ft=rst ff=unix encoding=utf-8
 
11678
   vim: tw=74 ft=rst ff=unix