/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: Vincent Ladeuil
  • Date: 2010-03-05 08:55:12 UTC
  • mfrom: (4797.2.27 2.1-integration)
  • mto: This revision was merged to the branch mainline in revision 5075.
  • Revision ID: v.ladeuil+lp@free.fr-20100305085512-rsguvvb02fbyx7zj
Merge 2.1 into bzr.dev including fixes for #524560 and #449776

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
 
* An API break has been made to the lock_write method of ``Branch`` and
17
 
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
18
 
  and ``repository.RepositoryWriteLockResult`` objects. This makes
19
 
  changing the API in future easier and permits some cleaner calling code.
20
 
  The lock_read method has also changed from having no defined return
21
 
  value to returning ``LogicalLockResult`` objects.
22
 
  (Robert Collins)
23
 
 
24
 
* ``bzr`` does not try to guess the username as ``username@hostname``
25
 
  and requires it to be explictly set. This can be set using ``bzr
26
 
  whoami``.
27
 
  (Parth Malwankar, #549310)
28
 
 
29
 
New Features
30
 
************
31
 
 
32
 
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
33
 
  ``--show-diff``.
34
 
  (Parth Malwankar, #571467)
35
 
  
36
 
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
37
 
  the default ignore rules used by bzr. The flag ``--old-default-rules``
38
 
  is no longer supported by ``ignore``.
39
 
  (Parth Malwankar, #538703)
40
 
 
41
 
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
42
 
  can save disk space by deleting obsolete pack files created during the
43
 
  pack operation.
44
 
  (Parth Malwankar, #304320)
45
 
 
46
 
* New command line option ``--authors`` to ``bzr log`` allows users to
47
 
  select which of the apparent authors and committer should be
48
 
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
49
 
 
50
 
* Support ``--directory`` option for a number of additional commands:
51
 
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
52
 
  export, ignore, ignored, lookup-revision, ls, modified, nick,
53
 
  re-sign, unbind, unknowns.
54
 
  (Martin von Gagern, #527878)
55
 
 
56
 
Bug Fixes
57
 
*********
58
 
 
59
 
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
60
 
  group ownership from the containing directory. This allow bzr to work
61
 
  better with sudo.
62
 
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
63
 
 
64
 
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
65
 
  support of bzr-externals and scmproj plugins.
66
 
  (Alexander Belchenko, bug #572098)
67
 
 
68
 
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
69
 
  (Gordon Tyler, #572092)
70
 
 
71
 
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
72
 
  are part of Y ancestry but not part of X ancestry (aka the graph
73
 
  difference).
74
 
  (Vincent Ladeuil, #320119)
75
 
 
76
 
* ``bzr rm`` should not refuse to delete directories which contained a file
77
 
  which has been moved elsewhere in the tree after the previous commit.
78
 
  (Marius Kruger, Daniel Watkins, #129880)
79
 
 
80
 
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
81
 
  (Vincent Ladeuil, #566670)
82
 
 
83
 
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
84
 
  (Vincent Ladeuil, #563997)
85
 
 
86
 
* Don't mention --no-strict when we just issue the warning about unclean trees.
87
 
  (Vincent Ladeuil, #401599)
88
 
 
89
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
90
 
  versions before 1.6.
91
 
  (Andrew Bennetts, #528041)
92
 
 
93
 
* Heavyweight checkout operation now shows a message to the user indicating
94
 
  history is being copied.
95
 
  (Parth Malwankar, #538868)
96
 
 
97
 
* Reduce peak memory by one copy of compressed text.
98
 
  (John Arbash Meinel, #566940)
99
 
 
100
 
* Show the filenames when a file rename fails so that the error will be
101
 
  more comprehensible.
102
 
  (Martin Pool, #491763)
103
 
 
104
 
* Unicode characters in aliases are now handled correctly and do not cause
105
 
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
106
 
 
107
 
* Unicode commit messages that are the same as a file name no longer cause
108
 
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
109
 
  messages.
110
 
  (Parth Malwankar, #563646)
111
 
 
112
 
* Using bzr with `lp:` urls behind an http proxy should work.
113
 
  (Robert Collins, #558343)
114
 
 
115
 
Improvements
116
 
************
117
 
 
118
 
* ``append_revisions_only`` will now be interpreted as a boolean and a
119
 
  warning emitted if illegal values are used. Note that for projects
120
 
  that needs to maintain compatibility with previsous bzr versions,
121
 
  only 'True' and 'False' strings must be used (previous versions of
122
 
  bzr will interpret all strings differing from 'True'
123
 
  (case-sensitive) as false.
124
 
  (Brian de Alwis, Vincent Ladeuil)
125
 
 
126
 
* ``bzr ls`` now supports short options for existing long options.
127
 
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
128
 
  (Parth Malwankar, #181124)
129
 
 
130
 
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
131
 
  be interpreted as a boolean.
132
 
  (Vincent Ladeuil)
133
 
 
134
 
Documentation
135
 
*************
136
 
 
137
 
API Changes
138
 
***********
139
 
 
140
 
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
141
 
  some kinds of ``merge_file_content`` hook functions.
142
 
  (Andrew Bennetts)
143
 
  
144
 
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
145
 
  `user_transport`, `control_url` and `control_transport` members pointing
146
 
  respectively to the directory containing the ``.bzr`` control directory, 
147
 
  and to the directory within ``.bzr`` used for the particular component.
148
 
  All of them inherit from `ControlComponent` which provides default
149
 
  implementations.
150
 
  (Martin Pool)
151
 
 
152
 
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
153
 
  expected to return an object which can be used to unlock them. This reduces
154
 
  duplicate code when using cleanups. The previous 'tokens's returned by
155
 
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
156
 
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
157
 
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
158
 
 
159
 
* ``Repository.refresh_data`` may now be called in a write group on
160
 
  pack-based repositories.  Older repositories will still raise an error
161
 
  in this case.  Subclasses of ``Repository`` can still override
162
 
  ``Repository._refresh_data``, but are now responsible for raising
163
 
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
164
 
  ``refresh_data`` during a write group.
165
 
  (Andrew Bennetts, #574236)
166
 
 
167
 
Internals
168
 
*********
169
 
 
170
 
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
171
 
  (Robert Collins)
172
 
 
173
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
174
 
  suboptimal network behaviour is noticed; instead it just mutters to the
175
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
176
 
  This was causing unnecessary aborts for performance bugs that are minor
177
 
  at worst.
178
 
  (Andrew Bennetts, #528041)
179
 
 
180
 
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
181
 
  files loaded from disk. To ensure docstrings needed for help are never
182
 
  stripped, the prefix ``__doc__ =`` should now be used.
183
 
  (Martin <gzlist@googlemail.com>)
184
 
 
185
 
Testing
186
 
*******
187
 
 
188
 
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
189
 
  our first in-tree matcher. See the module docstring for details.
190
 
  (Robert Collins)
191
 
 
192
 
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
193
 
   (Gordon Tyler, #551332)
194
 
 
195
 
* Workaround ``Crypto.Random`` check leading to spurious test
196
 
  failures on Lucid, FreeBSD and gentoo.  
197
 
  (Vincent Ladeuil, #528436)
198
 
 
199
 
bzr 2.2b2
200
 
#########
201
 
 
202
 
:2.2b2: 2010-04-16
203
 
 
204
 
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
205
 
incompatibility in the 2.2b1 release.  It also includes a swag of
206
 
performance, usability and correctness improvements: test feedback on all
207
 
of these would be welcome.
208
 
 
209
 
 
210
 
New Features
211
 
************
212
 
 
213
 
* ``bzr diff`` now supports a --format option, which can be used to 
214
 
  select alternative diff formats. (Jelmer Vernooij, #555994)
215
 
 
216
 
Bug Fixes
217
 
*********
218
 
 
219
 
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
220
 
  instead of failing when dirty trees are involved. The corresponding
221
 
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
222
 
  True explicitly to get the previous behaviour.  
223
 
  (Vincent Ladeuil, #519319)
224
 
 
225
 
* ``bzr export`` to tar file does not fail if any parent directory
226
 
  contains unicode characters. This works around upstream Python bug
227
 
  http://bugs.python.org/issue8396 .
228
 
  (Parth Malwankar, #413406)
229
 
 
230
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
231
 
  (Aaron Bentley, #559436)
232
 
 
233
 
* ``bzr update`` when a pending merge in the working tree has been merged
234
 
  into the master branch will no longer claim that old commits have become
235
 
  pending merges. (Robert Collins, #562079)
236
 
 
237
 
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
238
 
  config as in previous versions of bzrlib. (Robert Collins)
239
 
 
240
 
* Fix glitch in the warning about unclean trees display.
241
 
  (Vincent Ladeuil, #562665)
242
 
 
243
 
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
244
 
  (Martin Pool)
245
 
 
246
 
* Help messages generated by ``RegistryOption.from_kwargs`` list the
247
 
  switches in alphabetical order, rather than in an undefined order.
248
 
  (Martin von Gagern, #559409)
249
 
 
250
 
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
251
 
  Apport crash reports, to avoid "This problem report applies to a program
252
 
  which is not installed any more" error.
253
 
  (Martin Pool, James Westby, #528114)
254
 
 
255
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
256
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
257
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
258
 
  errors after two window resizes.
259
 
  (Andrew Bennetts)
260
 
 
261
 
* When invoked with a range revision, ``bzr log`` doesn't show revisions
262
 
  that are not part of the Y revisions ancestry anymore when invoked with
263
 
  -rX..Y.
264
 
  (Vincent Ladeuil, #474807)
265
 
 
266
 
* Properly handle ``param_name`` attribute for ``ListOption``.
267
 
  (Martin von Gagern, 387117)
268
 
 
269
 
Improvements
270
 
************
271
 
 
272
 
* ``bzr commit`` will prompt before using a commit message that was
273
 
  generated by a template and not edited by the user.
274
 
  (Robert Collins, #530265)
275
 
 
276
 
* ``bzr diff`` read-locks the trees and branches only once, saving about
277
 
  10-20ms on ``bzr diff`` in a bzr.dev tree.
278
 
  (Andrew Bennetts)
279
 
 
280
 
* ``bzr missing`` read-locks the branches only once.
281
 
  (Andrew Bennetts)
282
 
  
283
 
* ``bzr pull`` locks the branches and tree only once.
284
 
  (Andrew Bennetts)
285
 
  
286
 
* Index lookups in pack repositories search recently hit pack files first.  
287
 
  In repositories with many pack files this can greatly reduce the
288
 
  number of files accessed, the number of bytes read, and the number of
289
 
  read calls.  An incremental pull via plain HTTP takes half the time and
290
 
  bytes for a moderately large repository.  (Andrew Bennetts)
291
 
 
292
 
* Index lookups only re-order the indexes when the hit files aren't
293
 
  already first. Reduces the cost of reordering
294
 
  (John Arbash Meinel, #562429)
295
 
 
296
 
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
297
 
  less.)
298
 
  (Martin Pool, #553017)
299
 
 
300
 
API Changes
301
 
***********
302
 
 
303
 
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
304
 
  ``get_trees_and_branches_to_diff_locked`` instead.
305
 
  (Andrew Bennetts)
306
 
 
307
 
* ``TreeTransform.commit`` supports the full set of commit parameters, and
308
 
  auto-determines branch nick if not supplied.  (Aaron Bentley)
309
 
  
310
 
Internals
311
 
*********
312
 
 
313
 
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
314
 
  2.1 method of calling run() to perform testing or direct use via the API
315
 
  is now possible again. As part of this, the _operation attribute on
316
 
  Command is now transient and only exists for the duration of ``run()``.
317
 
  (Robert Collins)
318
 
 
319
8
bzr 2.2.0b1
320
9
###########
321
10
 
322
 
:2.2.0b1: 2010-04-01
 
11
:Codename: ???
 
12
:2.2.0b1: Not released yet
323
13
 
324
14
Compatibility Breaks
325
15
********************
326
16
 
327
 
* BTreeGraphIndex can now take an offset to indicate that the data starts
328
 
  somewhere other than then beginning of the file. (John Arbash Meinel)
329
 
 
330
17
* Deleted very old hidden commands ``versionedfile-list``,
331
18
  ``weave-plan-merge``, ``weave-merge-text``.
332
19
  (Martin Pool)
344
31
  ``bzrlib.tests.test_server``.
345
32
  (Vincent Ladeuil)
346
33
 
347
 
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
348
 
  as its second parameter, for consistency with the initialize() method of
349
 
  other formats. (Jelmer Vernooij)
350
 
 
351
34
New Features
352
35
************
353
36
 
354
 
* Added ``bzr remove-branch`` command that can remove a local or remote 
355
 
  branch. (Jelmer Vernooij, #276295)
356
 
 
357
 
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
358
 
  to set file mtimes to the last timestamp of the last revision in which
359
 
  they were changed rather than the current time. (Jelmer Vernooij)
360
 
 
361
37
* If the Apport crash-reporting tool is available, bzr crashes are now
362
38
  stored into the ``/var/crash`` apport spool directory, and the user is
363
39
  invited to report them to the developers from there, either
368
44
  treats backslash as an escape character on Windows.   (Gordon Tyler,
369
45
  #392248)
370
46
 
371
 
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
372
 
  a list of plugin names separated by ':' (';' on windows).
373
 
  (Vincent Ladeuil, #411413)
374
 
 
375
 
* Plugins can be loaded from arbitrary locations by defining
376
 
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
377
 
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
378
 
  specified plugins. This is targeted at plugin developers for punctual
379
 
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
380
 
  (Vincent Ladeuil, #82693)
381
 
 
382
 
* Tag names can now be determined automatically by ``automatic_tag_name`` 
383
 
  hooks on ``Branch`` if they are not specified on the command line.
384
 
  (Jelmer Vernooij)
385
 
 
386
47
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
387
48
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
388
49
  as resolved is still accessible via the ``--done`` default action.
397
58
* Added docstring for ``Tree.iter_changes``
398
59
  (John Arbash Meinel, #304182)
399
60
 
400
 
* Allow additional arguments to
401
 
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
402
 
 
403
61
* Allow exporting a single file using ``bzr export``.
404
62
  (Michal Junák, #511987)
405
63
 
406
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
407
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
408
 
  IO, which are often poorly handled by Python's libraries and parts of
409
 
  bzrlib.  (Andrew Bennetts, #496813)
410
 
 
411
64
* Avoid infinite recursion when probing for apport.
412
65
  (Vincent Ladeuil, #516934)
413
66
 
414
67
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
415
68
  (Martin Pool, #331095)
416
69
 
417
 
* Avoid truncating svn URLs.
418
 
  (Martin Pool, Martin von Gagern, #545185)
419
 
 
420
70
* ``bzr add`` will not add conflict related files unless explicitly required.
421
71
  (Vincent Ladeuil, #322767, #414589)
422
72
 
423
 
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
424
 
  indices do not have reference lists, so ``dump-btree`` will simply show
425
 
  ``None`` instead.  (Andrew Bennetts, #488607)
426
 
 
427
73
* ``bzr help`` will no longer trigger the get_missing_command hook when
428
74
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
429
75
  did you mean log?') when getting help. In future we may trigger the hook 
430
76
  deliberately when no help topics match from any help index.
431
77
  (Robert Collins, #396261)
432
78
 
433
 
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
434
 
  revspec as representing the first revision of the branch.
435
 
  (Vincent Ladeuil, #519862)
436
 
 
437
79
* ``bzr remove-tree`` can now remove multiple working trees.
438
80
  (Jared Hance, Andrew Bennetts, #253137)
439
81
 
441
83
  the kept file on content conflicts where one side deleted the file.
442
84
  (Vincent Ladeuil, #529968)
443
85
 
444
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
445
 
  permissions as ``.bzr`` directory on a POSIX OS.
446
 
  (Parth Malwankar, #262450)
447
 
 
448
86
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
449
87
  of ``backup.bzr``. This directory is ignored by bzr commands such as
450
88
  ``add``.
451
89
  (Parth Malwankar, #335033, #300001)
452
90
 
453
 
* Cope with non-utf8 characters inside ``.bzrignore``.
454
 
  (Jason Spashett, #183504)
455
 
 
456
91
* Correctly interpret "451 Rename/move failure: Directory not empty" from
457
92
  ftp servers while trying to take a lock.
458
93
  (Martin Pool, #528722)
459
94
 
460
 
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
461
 
  changes occured between the workingtree and one of its parents.
462
 
  (Vincent Ladeuil, #535547)
463
 
 
464
 
* Fix ``log`` to better check ancestors even if merged revisions are involved.
465
 
  (Vincent Ladeuil, #476293)
466
 
 
467
 
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
468
 
  on os.lisdir() order and is now reliable.
469
 
  (Vincent Ladeuil, #552922).
470
 
 
471
 
* Many IO operations that returned ``EINTR`` were retried even if it
472
 
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
473
 
  only retries operations that are safe to retry, and in some cases has
474
 
  switched to operations that can be retried (e.g. ``sock.send`` rather than
475
 
  ``sock.sendall``).
476
 
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
477
 
 
478
 
* Path conflicts now support --take-this and --take-other even when a
479
 
  deletion is involved.
480
 
  (Vincent Ladeuil, #531967)
481
 
 
482
95
* Network transfer amounts and rates are now displayed in SI units according
483
96
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
484
97
  (Gordon Tyler, #514399)
497
110
* Tolerate patches with leading noise in ``bzr-handle-patch``.
498
111
  (Toshio Kuratomi, Martin Pool, #502076)
499
112
 
500
 
* ``update -r`` now supports updating to revisions that are not on
501
 
  mainline (i.e. it supports dotted revisions).
502
 
  (Parth Malwankar, #517800)
503
 
 
504
 
* Use first apparent author not committer in GNU Changelog format.
505
 
  (Martin von Gagern, #513322)
506
 
 
507
113
API Changes
508
114
***********
509
115
 
510
 
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
511
 
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
512
 
  (Jelmer Vernooij)
513
 
 
514
 
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
515
 
  branch to create. (Jelmer Vernooij)
516
 
 
517
 
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
518
 
  colocated branch to open. (Jelmer Vernooij)
519
 
 
520
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
521
 
  can set a signal handler and call ``signal.siginterrupt(signum,
522
 
  False)`` for it, if the platform and Python version supports it.
523
 
  (Andrew Bennetts, #496813)
524
 
 
525
116
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
526
117
  run when starting up; it sets up several things that previously needed
527
118
  to be done separately.
528
119
  (Martin Pool, #507710)
529
120
 
530
 
* Exporters now support a ``per_file_timestamps`` argument to write out the 
531
 
  timestamp of the commit in which a file revision was introduced.
532
 
  (Jelmer Vernooij)
533
 
 
534
121
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
535
122
  present in a control directory. (Jelmer Vernooij)
536
123
 
537
 
* New method ``Repository.get_known_graph_ancestry()``. 
538
 
  (Jelmer Vernooij, #495502)
539
 
 
540
 
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
541
 
  (Neil Santos)
542
 
 
543
124
* Remove unused ``CommandFailed`` exception.
544
125
  (Martin Pool)
545
126
 
562
143
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
563
144
  which can be set to add extra help to the error. (Gary van der Merwe)
564
145
 
565
 
* New method ``Branch.automatic_tag_name`` that can be used to find the
566
 
  tag name for a particular revision automatically. (Jelmer Vernooij)
567
 
 
568
146
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
569
147
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
570
148
  (Jelmer Vernooij)
579
157
* Documentation about testing with ``subunit`` has been tweaked.
580
158
  (Robert Collins)
581
159
 
582
 
* Known failures has been added for resolve --take-other on ParentLoop
583
 
  conflicts. This reflects bug #537956 without fixing it.
584
 
  (Vincent Ladeuil)
585
 
 
586
160
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
587
161
  Python modules are loaded, to guard against startup time or library
588
162
  dependency regressions.
589
163
  (Martin Pool)
590
164
 
591
 
* PQM will now run with subunit output. To analyze a PQM error use
592
 
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
593
 
 
594
165
* Stop sending apport crash files to ``.cache`` in the directory from
595
166
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
596
167
 
597
 
* Tests no longer fail if "close() called during concurrent
598
 
  operation on the same file object" occurs when closing the log file
599
 
  (which can happen if a thread tries to write to the log file at the
600
 
  wrong moment).  An warning will be written to ``stderr`` when this
601
 
  happens, and another warning will be written if the log file could not
602
 
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
603
 
 
604
 
bzr 2.1.2
605
 
#########
606
 
 
607
 
:2.1.2: NOT RELEASED YET
608
 
 
609
 
Bug Fixes
610
 
*********
611
 
 
612
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
613
 
  (Aaron Bentley, #559436)
614
 
 
615
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
616
 
  versions before 1.6.
617
 
  (Andrew Bennetts, #528041)
618
 
 
619
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
620
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
621
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
622
 
  errors after two window resizes.
623
 
  (Andrew Bennetts)
624
 
 
625
 
Internals
626
 
*********
627
 
 
628
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
629
 
  suboptimal network behaviour is noticed; instead it just mutters to the
630
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
631
 
  This was causing unnecessary aborts for performance bugs that are minor
632
 
  at worst.
633
 
  (Andrew Bennetts, #528041)
634
 
 
635
 
 
636
168
bzr 2.1.1
637
169
#########
638
170
 
639
 
:2.1.1: 2010-03-24
640
 
 
641
 
This is a small bugfix release.  Upgrading is recommended for anyone
642
 
running 2.1.0 or earlier.
 
171
:2.1.1: not released yet
643
172
 
644
173
Bug Fixes
645
174
*********
646
175
 
647
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
648
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
649
 
  IO, which are often poorly handled by Python's libraries and parts of
650
 
  bzrlib.  (Andrew Bennetts, #496813)
651
 
 
652
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
653
 
  (Martin Pool, #331095)
654
 
 
655
 
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
656
 
 
657
 
* Fix stub sftp test server to call os.getcwdu().
658
 
  (Vincent Ladeuil, #526221, #526353)
659
 
 
660
 
* Fixed CHM generation by moving the NEWS section template into
661
 
  a separate file. (Ian Clatworthy, #524184)
662
 
 
663
176
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
664
177
 
665
178
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
666
179
  problems importing bzrlib from a non-main thread.
667
180
  (Elliot Murphy, #521989)
668
181
 
669
 
* Repositories accessed via a smart server now reject being stacked on a
670
 
  repository in an incompatible format, as is the case when accessing them
671
 
  via other methods.  This was causing fetches from those repositories via
672
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
673
 
  (Andrew Bennetts, #562380)
674
 
 
675
182
* Standardize the error handling when creating a new ``StaticTuple``
676
183
  (problems will raise TypeError). (Matt Nordhoff, #457979)
677
184
 
679
186
  ``StaticTuple`` extensions, rather than having the build fail randomly.
680
187
  (John Arbash Meinel, #449776)
681
188
 
 
189
 
682
190
Documentation
683
191
*************
684
192
 
689
197
* Drop Google Analytics from the core docs as they caused problems
690
198
  in the CHM files. (Ian Clatworthy, #502010)
691
199
 
692
 
API Changes
693
 
***********
694
 
 
695
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
696
 
  can set a signal handler and call ``signal.siginterrupt(signum,
697
 
  False)`` for it, if the platform and Python version supports it.
698
 
  (Andrew Bennetts, #496813)
699
 
 
700
200
 
701
201
bzr 2.1.0
702
202
#########
730
230
  when it encounters conflicts.  
731
231
  (Gerard Krol, #113809)
732
232
 
 
233
* Fix ``log`` to better check ancestors even if merged revisions are involved.
 
234
  (Vincent Ladeuil, #476293)
 
235
 
733
236
* Give a better error message when doing ``bzr bind`` in an already bound
734
237
  branch.  (Neil Martinsen-Burrell, #513063)
735
238
 
1051
554
  tests that 'failed' - they're all just failures.
1052
555
  (Martin Pool)
1053
556
 
1054
 
bzr 2.0.6
1055
 
#########
1056
 
 
1057
 
:2.0.6: NOT RELEASED YET
1058
 
 
1059
 
Bug Fixes
1060
 
*********
1061
 
 
1062
 
* Additional merges after an unrelated branch has been merged with its
1063
 
  history no longer crash when deleted files are involved.
1064
 
  (Vincent Ladeuil, John Arbash Meinel, #375898)
1065
 
 
1066
 
* ``bzr revert`` now only takes write lock on working tree, instead of on 
1067
 
  both working tree and branch.
1068
 
  (Danny van Heumen, #498409)
1069
 
 
1070
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1071
 
  permissions as ``.bzr`` directory on a POSIX OS.
1072
 
  (Parth Malwankar, #262450)
1073
 
 
1074
 
* Repositories accessed via a smart server now reject being stacked on a
1075
 
  repository in an incompatible format, as is the case when accessing them
1076
 
  via other methods.  This was causing fetches from those repositories via
1077
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1078
 
  (Andrew Bennetts, #562380)
1079
 
 
1080
 
bzr 2.0.5
1081
 
#########
1082
 
 
1083
 
:2.0.5: 2010-03-23
1084
 
 
1085
 
This fifth release in our 2.0 series addresses several user-inconvenience
1086
 
bugs.  None are critical, but upgrading is recommended for all users on
1087
 
earlier 2.0 releases.
 
557
 
 
558
bzr 2.0.5 (not released yet)
 
559
############################
 
560
 
 
561
:Codename:
 
562
:2.0.5: NOT RELEASED YET
1088
563
 
1089
564
Bug Fixes
1090
565
*********
1104
579
  a lock.
1105
580
  (Martin Pool, #185103)
1106
581
 
1107
 
* Give the warning about potentially slow cross-format fetches much
1108
 
  earlier on in the fetch operation.  Don't show this message during
1109
 
  upgrades, and show the correct format indication for remote
1110
 
  repositories.
1111
 
  (Martin Pool, #456077, #515356, #513157)
1112
 
 
1113
582
* Handle renames correctly when there are files or directories that 
1114
583
  differ only in case.  (Chris Jones, Martin Pool, #368931)
1115
584
 
 
585
* Fixed CHM generation by moving the NEWS section template into
 
586
  a separate file. (Ian Clatworthy, #524184)
 
587
 
1116
588
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1117
589
  error, report that error rather than failing with an unhelpful
1118
590
  ``UnboundLocalError``.
1132
604
* Added ``location-alias`` help topic.
1133
605
  (Andrew Bennetts, #337834)
1134
606
 
1135
 
* Fixed CHM generation by moving the NEWS section template into
1136
 
  a separate file. (Ian Clatworthy, #524184)
1137
 
 
1138
 
 
1139
607
bzr 2.0.4
1140
608
#########
1141
609