/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: Gordon Tyler
  • Date: 2010-02-25 13:15:08 UTC
  • mto: This revision was merged to the branch mainline in revision 5070.
  • Revision ID: gordon@doxxx.net-20100225131508-2ntxutul7ibo92wa
Improved test_show_error to check kwargs, dict substitution and exception handling.

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
 
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
100
 
  expected to return an object which can be used to unlock them. This reduces
101
 
  duplicate code when using cleanups. The previous 'tokens's returned by
102
 
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
103
 
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
104
 
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
105
 
 
106
 
Internals
107
 
*********
108
 
 
109
 
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
110
 
  (Robert Collins)
111
 
 
112
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
113
 
  suboptimal network behaviour is noticed; instead it just mutters to the
114
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
115
 
  This was causing unnecessary aborts for performance bugs that are minor
116
 
  at worst.
117
 
  (Andrew Bennetts, #528041)
118
 
 
119
 
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
120
 
  files loaded from disk. To ensure docstrings needed for help are never
121
 
  stripped, the prefix ``__doc__ =`` should now be used.
122
 
  (Martin <gzlist@googlemail.com>)
123
 
 
124
 
Testing
125
 
*******
126
 
 
127
 
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
128
 
  our first in-tree matcher. See the module docstring for details.
129
 
  (Robert Collins)
130
 
 
131
 
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
132
 
   (Gordon Tyler, #551332)
133
 
 
134
 
* Workaround ``Crypto.Random`` check leading to spurious test
135
 
  failures on Lucid, FreeBSD and gentoo.  
136
 
  (Vincent Ladeuil, #528436)
137
 
 
138
 
bzr 2.2b2
139
 
#########
140
 
 
141
 
:2.2b2: 2010-04-16
142
 
 
143
 
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
144
 
incompatibility in the 2.2b1 release.  It also includes a swag of
145
 
performance, usability and correctness improvements: test feedback on all
146
 
of these would be welcome.
147
 
 
148
 
 
149
 
New Features
150
 
************
151
 
 
152
 
* ``bzr diff`` now supports a --format option, which can be used to 
153
 
  select alternative diff formats. (Jelmer Vernooij, #555994)
154
 
 
155
 
Bug Fixes
156
 
*********
157
 
 
158
 
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
159
 
  instead of failing when dirty trees are involved. The corresponding
160
 
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
161
 
  True explicitly to get the previous behaviour.  
162
 
  (Vincent Ladeuil, #519319)
163
 
 
164
 
* ``bzr export`` to tar file does not fail if any parent directory
165
 
  contains unicode characters. This works around upstream Python bug
166
 
  http://bugs.python.org/issue8396 .
167
 
  (Parth Malwankar, #413406)
168
 
 
169
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
170
 
  (Aaron Bentley, #559436)
171
 
 
172
 
* ``bzr update`` when a pending merge in the working tree has been merged
173
 
  into the master branch will no longer claim that old commits have become
174
 
  pending merges. (Robert Collins, #562079)
175
 
 
176
 
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
177
 
  config as in previous versions of bzrlib. (Robert Collins)
178
 
 
179
 
* Fix glitch in the warning about unclean trees display.
180
 
  (Vincent Ladeuil, #562665)
181
 
 
182
 
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
183
 
  (Martin Pool)
184
 
 
185
 
* Help messages generated by ``RegistryOption.from_kwargs`` list the
186
 
  switches in alphabetical order, rather than in an undefined order.
187
 
  (Martin von Gagern, #559409)
188
 
 
189
 
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
190
 
  Apport crash reports, to avoid "This problem report applies to a program
191
 
  which is not installed any more" error.
192
 
  (Martin Pool, James Westby, #528114)
193
 
 
194
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
195
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
196
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
197
 
  errors after two window resizes.
198
 
  (Andrew Bennetts)
199
 
 
200
 
* When invoked with a range revision, ``bzr log`` doesn't show revisions
201
 
  that are not part of the Y revisions ancestry anymore when invoked with
202
 
  -rX..Y.
203
 
  (Vincent Ladeuil, #474807)
204
 
 
205
 
* Properly handle ``param_name`` attribute for ``ListOption``.
206
 
  (Martin von Gagern, 387117)
207
 
 
208
 
Improvements
209
 
************
210
 
 
211
 
* ``bzr commit`` will prompt before using a commit message that was
212
 
  generated by a template and not edited by the user.
213
 
  (Robert Collins, #530265)
214
 
 
215
 
* ``bzr diff`` read-locks the trees and branches only once, saving about
216
 
  10-20ms on ``bzr diff`` in a bzr.dev tree.
217
 
  (Andrew Bennetts)
218
 
 
219
 
* ``bzr missing`` read-locks the branches only once.
220
 
  (Andrew Bennetts)
221
 
  
222
 
* ``bzr pull`` locks the branches and tree only once.
223
 
  (Andrew Bennetts)
224
 
  
225
 
* Index lookups in pack repositories search recently hit pack files first.  
226
 
  In repositories with many pack files this can greatly reduce the
227
 
  number of files accessed, the number of bytes read, and the number of
228
 
  read calls.  An incremental pull via plain HTTP takes half the time and
229
 
  bytes for a moderately large repository.  (Andrew Bennetts)
230
 
 
231
 
* Index lookups only re-order the indexes when the hit files aren't
232
 
  already first. Reduces the cost of reordering
233
 
  (John Arbash Meinel, #562429)
234
 
 
235
 
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
236
 
  less.)
237
 
  (Martin Pool, #553017)
238
 
 
239
 
API Changes
240
 
***********
241
 
 
242
 
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
243
 
  ``get_trees_and_branches_to_diff_locked`` instead.
244
 
  (Andrew Bennetts)
245
 
  
246
 
Internals
247
 
*********
248
 
 
249
 
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
250
 
  2.1 method of calling run() to perform testing or direct use via the API
251
 
  is now possible again. As part of this, the _operation attribute on
252
 
  Command is now transient and only exists for the duration of ``run()``.
253
 
  (Robert Collins)
254
 
 
255
8
bzr 2.2.0b1
256
9
###########
257
10
 
258
 
:2.2.0b1: 2010-04-01
 
11
:Codename: ???
 
12
:2.2.0b1: Not released yet
259
13
 
260
14
Compatibility Breaks
261
15
********************
262
16
 
263
 
* BTreeGraphIndex can now take an offset to indicate that the data starts
264
 
  somewhere other than then beginning of the file. (John Arbash Meinel)
265
 
 
266
17
* Deleted very old hidden commands ``versionedfile-list``,
267
18
  ``weave-plan-merge``, ``weave-merge-text``.
268
19
  (Martin Pool)
280
31
  ``bzrlib.tests.test_server``.
281
32
  (Vincent Ladeuil)
282
33
 
283
 
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
284
 
  as its second parameter, for consistency with the initialize() method of
285
 
  other formats. (Jelmer Vernooij)
286
 
 
287
34
New Features
288
35
************
289
36
 
290
 
* Added ``bzr remove-branch`` command that can remove a local or remote 
291
 
  branch. (Jelmer Vernooij, #276295)
292
 
 
293
 
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
294
 
  to set file mtimes to the last timestamp of the last revision in which
295
 
  they were changed rather than the current time. (Jelmer Vernooij)
296
 
 
297
37
* If the Apport crash-reporting tool is available, bzr crashes are now
298
38
  stored into the ``/var/crash`` apport spool directory, and the user is
299
39
  invited to report them to the developers from there, either
304
44
  treats backslash as an escape character on Windows.   (Gordon Tyler,
305
45
  #392248)
306
46
 
307
 
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
308
 
  a list of plugin names separated by ':' (';' on windows).
309
 
  (Vincent Ladeuil, #411413)
310
 
 
311
 
* Plugins can be loaded from arbitrary locations by defining
312
 
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
313
 
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
314
 
  specified plugins. This is targeted at plugin developers for punctual
315
 
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
316
 
  (Vincent Ladeuil, #82693)
317
 
 
318
 
* Tag names can now be determined automatically by ``automatic_tag_name`` 
319
 
  hooks on ``Branch`` if they are not specified on the command line.
320
 
  (Jelmer Vernooij)
321
 
 
322
47
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
323
48
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
324
49
  as resolved is still accessible via the ``--done`` default action.
333
58
* Added docstring for ``Tree.iter_changes``
334
59
  (John Arbash Meinel, #304182)
335
60
 
336
 
* Allow additional arguments to
337
 
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
338
 
 
339
61
* Allow exporting a single file using ``bzr export``.
340
62
  (Michal Junák, #511987)
341
63
 
342
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
343
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
344
 
  IO, which are often poorly handled by Python's libraries and parts of
345
 
  bzrlib.  (Andrew Bennetts, #496813)
346
 
 
347
64
* Avoid infinite recursion when probing for apport.
348
65
  (Vincent Ladeuil, #516934)
349
66
 
350
67
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
351
68
  (Martin Pool, #331095)
352
69
 
353
 
* Avoid truncating svn URLs.
354
 
  (Martin Pool, Martin von Gagern, #545185)
355
 
 
356
70
* ``bzr add`` will not add conflict related files unless explicitly required.
357
71
  (Vincent Ladeuil, #322767, #414589)
358
72
 
359
 
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
360
 
  indices do not have reference lists, so ``dump-btree`` will simply show
361
 
  ``None`` instead.  (Andrew Bennetts, #488607)
362
 
 
363
 
* ``bzr help`` will no longer trigger the get_missing_command hook when
364
 
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
365
 
  did you mean log?') when getting help. In future we may trigger the hook 
366
 
  deliberately when no help topics match from any help index.
367
 
  (Robert Collins, #396261)
368
 
 
369
 
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
370
 
  revspec as representing the first revision of the branch.
371
 
  (Vincent Ladeuil, #519862)
372
 
 
373
73
* ``bzr remove-tree`` can now remove multiple working trees.
374
74
  (Jared Hance, Andrew Bennetts, #253137)
375
75
 
376
 
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
377
 
  the kept file on content conflicts where one side deleted the file.
378
 
  (Vincent Ladeuil, #529968)
379
 
 
380
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
381
 
  permissions as ``.bzr`` directory on a POSIX OS.
382
 
  (Parth Malwankar, #262450)
383
 
 
384
 
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
385
 
  of ``backup.bzr``. This directory is ignored by bzr commands such as
386
 
  ``add``.
387
 
  (Parth Malwankar, #335033, #300001)
388
 
 
389
 
* Cope with non-utf8 characters inside ``.bzrignore``.
390
 
  (Jason Spashett, #183504)
391
 
 
392
 
* Correctly interpret "451 Rename/move failure: Directory not empty" from
393
 
  ftp servers while trying to take a lock.
394
 
  (Martin Pool, #528722)
395
 
 
396
 
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
397
 
  changes occured between the workingtree and one of its parents.
398
 
  (Vincent Ladeuil, #535547)
399
 
 
400
 
* Fix ``log`` to better check ancestors even if merged revisions are involved.
401
 
  (Vincent Ladeuil, #476293)
402
 
 
403
 
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
404
 
  on os.lisdir() order and is now reliable.
405
 
  (Vincent Ladeuil, #552922).
406
 
 
407
 
* Many IO operations that returned ``EINTR`` were retried even if it
408
 
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
409
 
  only retries operations that are safe to retry, and in some cases has
410
 
  switched to operations that can be retried (e.g. ``sock.send`` rather than
411
 
  ``sock.sendall``).
412
 
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
413
 
 
414
 
* Path conflicts now support --take-this and --take-other even when a
415
 
  deletion is involved.
416
 
  (Vincent Ladeuil, #531967)
417
 
 
418
76
* Network transfer amounts and rates are now displayed in SI units according
419
77
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
420
78
  (Gordon Tyler, #514399)
423
81
  prevents ``bzr status --short`` from crashing when those files are
424
82
  present.  (John Arbash Meinel, #303275)
425
83
 
426
 
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
427
 
   directory. (Parth Malwankar, #138600)
428
 
 
429
 
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
430
 
  the debugger won't kill the session.
431
 
  (Martin <gzlist@googlemail.com>, #162502)
432
 
 
433
 
* Tolerate patches with leading noise in ``bzr-handle-patch``.
434
 
  (Toshio Kuratomi, Martin Pool, #502076)
435
 
 
436
 
* ``update -r`` now supports updating to revisions that are not on
437
 
  mainline (i.e. it supports dotted revisions).
438
 
  (Parth Malwankar, #517800)
439
 
 
440
 
* Use first apparent author not committer in GNU Changelog format.
441
 
  (Martin von Gagern, #513322)
 
84
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
 
85
  of ``backup.bzr``. This directory is ignored by bzr commands such as
 
86
  ``add``.
 
87
  (Parth Malwankar, #335033, #300001)
442
88
 
443
89
API Changes
444
90
***********
445
91
 
446
 
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
447
 
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
448
 
  (Jelmer Vernooij)
449
 
 
450
 
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
451
 
  branch to create. (Jelmer Vernooij)
452
 
 
453
 
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
454
 
  colocated branch to open. (Jelmer Vernooij)
455
 
 
456
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
457
 
  can set a signal handler and call ``signal.siginterrupt(signum,
458
 
  False)`` for it, if the platform and Python version supports it.
459
 
  (Andrew Bennetts, #496813)
460
 
 
461
92
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
462
93
  run when starting up; it sets up several things that previously needed
463
94
  to be done separately.
464
95
  (Martin Pool, #507710)
465
96
 
466
 
* Exporters now support a ``per_file_timestamps`` argument to write out the 
467
 
  timestamp of the commit in which a file revision was introduced.
468
 
  (Jelmer Vernooij)
469
 
 
470
 
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
471
 
  present in a control directory. (Jelmer Vernooij)
472
 
 
473
 
* New method ``Repository.get_known_graph_ancestry()``. 
474
 
  (Jelmer Vernooij, #495502)
475
 
 
476
 
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
477
 
  (Neil Santos)
478
 
 
479
97
* Remove unused ``CommandFailed`` exception.
480
98
  (Martin Pool)
481
99
 
482
100
Internals
483
101
*********
484
102
 
485
 
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
486
 
  ``message_callback`` in the same way that commit does. (Robert Collins)
487
 
 
488
 
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
489
 
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
490
 
  of date. (Gary van der Merwe)
491
 
 
492
103
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
493
104
  functions to load or disable plugins if they wish to use a different
494
105
  plugin mechanism; the --help, --version and no-command name code paths
495
106
  now use the generic pluggable command lookup infrastructure.
496
107
  (Robert Collins)
497
108
 
498
 
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
499
 
  which can be set to add extra help to the error. (Gary van der Merwe)
500
 
 
501
 
* New method ``Branch.automatic_tag_name`` that can be used to find the
502
 
  tag name for a particular revision automatically. (Jelmer Vernooij)
503
 
 
504
 
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
505
 
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
506
 
  (Jelmer Vernooij)
507
 
 
508
109
Testing
509
110
*******
510
111
 
511
 
* bzr now has a ``.testr.conf`` file in its source tree configured
512
 
  appropriately for running tests with Testrepository
513
 
  (``https://launchpad.net/testrepository``). (Robert Collins)
514
 
 
515
 
* Documentation about testing with ``subunit`` has been tweaked.
516
 
  (Robert Collins)
517
 
 
518
 
* Known failures has been added for resolve --take-other on ParentLoop
519
 
  conflicts. This reflects bug #537956 without fixing it.
520
 
  (Vincent Ladeuil)
521
 
 
522
 
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
 
112
* New `bzrlib.tests.test_import_tariff` can make assertions about what
523
113
  Python modules are loaded, to guard against startup time or library
524
114
  dependency regressions.
525
115
  (Martin Pool)
526
116
 
527
 
* PQM will now run with subunit output. To analyze a PQM error use
528
 
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
529
 
 
530
117
* Stop sending apport crash files to ``.cache`` in the directory from
531
118
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
532
119
 
533
 
* Tests no longer fail if "close() called during concurrent
534
 
  operation on the same file object" occurs when closing the log file
535
 
  (which can happen if a thread tries to write to the log file at the
536
 
  wrong moment).  An warning will be written to ``stderr`` when this
537
 
  happens, and another warning will be written if the log file could not
538
 
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
539
 
 
540
 
bzr 2.1.2
541
 
#########
542
 
 
543
 
:2.1.2: NOT RELEASED YET
544
 
 
545
 
Bug Fixes
546
 
*********
547
 
 
548
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
549
 
  (Aaron Bentley, #559436)
550
 
 
551
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
552
 
  versions before 1.6.
553
 
  (Andrew Bennetts, #528041)
554
 
 
555
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
556
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
557
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
558
 
  errors after two window resizes.
559
 
  (Andrew Bennetts)
560
 
 
561
 
Internals
562
 
*********
563
 
 
564
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
565
 
  suboptimal network behaviour is noticed; instead it just mutters to the
566
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
567
 
  This was causing unnecessary aborts for performance bugs that are minor
568
 
  at worst.
569
 
  (Andrew Bennetts, #528041)
570
 
 
571
 
 
572
120
bzr 2.1.1
573
121
#########
574
122
 
575
 
:2.1.1: 2010-03-24
576
 
 
577
 
This is a small bugfix release.  Upgrading is recommended for anyone
578
 
running 2.1.0 or earlier.
 
123
:2.1.1: not released yet
579
124
 
580
125
Bug Fixes
581
126
*********
582
127
 
583
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
584
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
585
 
  IO, which are often poorly handled by Python's libraries and parts of
586
 
  bzrlib.  (Andrew Bennetts, #496813)
587
 
 
588
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
589
 
  (Martin Pool, #331095)
590
 
 
591
 
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
592
 
 
593
 
* Fix stub sftp test server to call os.getcwdu().
594
 
  (Vincent Ladeuil, #526221, #526353)
595
 
 
596
 
* Fixed CHM generation by moving the NEWS section template into
597
 
  a separate file. (Ian Clatworthy, #524184)
598
 
 
599
 
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
600
 
 
601
128
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
602
129
  problems importing bzrlib from a non-main thread.
603
130
  (Elliot Murphy, #521989)
604
131
 
605
 
* Repositories accessed via a smart server now reject being stacked on a
606
 
  repository in an incompatible format, as is the case when accessing them
607
 
  via other methods.  This was causing fetches from those repositories via
608
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
609
 
  (Andrew Bennetts, #562380)
610
 
 
611
132
* Standardize the error handling when creating a new ``StaticTuple``
612
133
  (problems will raise TypeError). (Matt Nordhoff, #457979)
613
134
 
614
 
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
615
 
  ``StaticTuple`` extensions, rather than having the build fail randomly.
616
 
  (John Arbash Meinel, #449776)
 
135
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
617
136
 
618
137
Documentation
619
138
*************
620
139
 
621
 
* Added a link to the Desktop Guide. (Ian Clatworthy)
622
 
 
623
140
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
624
141
 
625
 
* Drop Google Analytics from the core docs as they caused problems
626
 
  in the CHM files. (Ian Clatworthy, #502010)
627
 
 
628
 
API Changes
629
 
***********
630
 
 
631
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
632
 
  can set a signal handler and call ``signal.siginterrupt(signum,
633
 
  False)`` for it, if the platform and Python version supports it.
634
 
  (Andrew Bennetts, #496813)
635
 
 
636
 
 
637
142
bzr 2.1.0
638
143
#########
639
144
 
666
171
  when it encounters conflicts.  
667
172
  (Gerard Krol, #113809)
668
173
 
 
174
* Fix ``log`` to better check ancestors even if merged revisions are involved.
 
175
  (Vincent Ladeuil, #476293)
 
176
 
669
177
* Give a better error message when doing ``bzr bind`` in an already bound
670
178
  branch.  (Neil Martinsen-Burrell, #513063)
671
179
 
987
495
  tests that 'failed' - they're all just failures.
988
496
  (Martin Pool)
989
497
 
990
 
bzr 2.0.6
991
 
#########
992
 
 
993
 
:2.0.6: NOT RELEASED YET
994
 
 
995
 
Bug Fixes
996
 
*********
997
 
 
998
 
* Additional merges after an unrelated branch has been merged with its
999
 
  history no longer crash when deleted files are involved.
1000
 
  (Vincent Ladeuil, John Arbash Meinel, #375898)
1001
 
 
1002
 
* ``bzr revert`` now only takes write lock on working tree, instead of on 
1003
 
  both working tree and branch.
1004
 
  (Danny van Heumen, #498409)
1005
 
 
1006
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1007
 
  permissions as ``.bzr`` directory on a POSIX OS.
1008
 
  (Parth Malwankar, #262450)
1009
 
 
1010
 
* Repositories accessed via a smart server now reject being stacked on a
1011
 
  repository in an incompatible format, as is the case when accessing them
1012
 
  via other methods.  This was causing fetches from those repositories via
1013
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1014
 
  (Andrew Bennetts, #562380)
1015
 
 
1016
 
bzr 2.0.5
1017
 
#########
1018
 
 
1019
 
:2.0.5: 2010-03-23
1020
 
 
1021
 
This fifth release in our 2.0 series addresses several user-inconvenience
1022
 
bugs.  None are critical, but upgrading is recommended for all users on
1023
 
earlier 2.0 releases.
1024
 
 
1025
 
Bug Fixes
1026
 
*********
1027
 
 
1028
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1029
 
  (Martin Pool, #331095)
1030
 
 
1031
 
* Concurrent autopacking is more resilient to already-renamed pack files.
1032
 
  If we find that a file we are about to obsolete is already obsoleted, we
1033
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
1034
 
  The code is also fault tolerant if a file goes missing, assuming that
1035
 
  another process already removed the file.
1036
 
  (John Arbash Meinel, Gareth White, #507557)
1037
 
 
1038
 
* Cope with the lockdir ``held/info`` file being empty, which seems to
1039
 
  happen fairly often if the process is suddenly interrupted while taking
1040
 
  a lock.
1041
 
  (Martin Pool, #185103)
1042
 
 
1043
 
* Give the warning about potentially slow cross-format fetches much
1044
 
  earlier on in the fetch operation.  Don't show this message during
1045
 
  upgrades, and show the correct format indication for remote
1046
 
  repositories.
1047
 
  (Martin Pool, #456077, #515356, #513157)
 
498
 
 
499
bzr 2.0.5 (not released yet)
 
500
############################
 
501
 
 
502
:Codename:
 
503
:2.0.5:
 
504
 
 
505
Bug Fixes
 
506
*********
1048
507
 
1049
508
* Handle renames correctly when there are files or directories that 
1050
509
  differ only in case.  (Chris Jones, Martin Pool, #368931)
1058
517
  version number along with rest of the help text.
1059
518
  (Parth Malwankar, #369501)
1060
519
 
1061
 
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1062
 
  errors.
1063
 
  (Inada Naoki, #524560)
1064
 
 
1065
520
Documentation
1066
521
*************
1067
522
 
1068
523
* Added ``location-alias`` help topic.
1069
524
  (Andrew Bennetts, #337834)
1070
525
 
1071
 
* Fixed CHM generation by moving the NEWS section template into
1072
 
  a separate file. (Ian Clatworthy, #524184)
1073
 
 
1074
 
 
1075
526
bzr 2.0.4
1076
527
#########
1077
528
 
12552
12003
  diff, status, etc.
12553
12004
 
12554
12005
 
 
12006
bzr ?.?.? (not released yet)
 
12007
############################
 
12008
 
 
12009
:Codename: template
 
12010
:2.0.2: ???
 
12011
 
 
12012
Compatibility Breaks
 
12013
********************
 
12014
 
 
12015
New Features
 
12016
************
 
12017
 
 
12018
Bug Fixes
 
12019
*********
 
12020
 
 
12021
Improvements
 
12022
************
 
12023
 
 
12024
Documentation
 
12025
*************
 
12026
 
 
12027
API Changes
 
12028
***********
 
12029
 
 
12030
Internals
 
12031
*********
 
12032
 
 
12033
Testing
 
12034
*******
 
12035
 
 
12036
 
 
12037
 
12555
12038
..
12556
12039
   vim: tw=74 ft=rst ff=unix encoding=utf-8