/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: Joe Julian
  • Date: 2010-01-10 02:25:31 UTC
  • mto: (4634.119.7 2.0)
  • mto: This revision was merged to the branch mainline in revision 4959.
  • Revision ID: joe@julianfamily.org-20100110022531-wqk61rsagz8xsiga
Added MANIFEST.in to allow bdist_rpm to have all the required include files and tools. bdist_rpm will still fail to build correctly on some distributions due to a disttools bug http://bugs.python.org/issue644744

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
 
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
118
 
   (Gordon Tyler, #551332)
119
 
 
120
 
* Workaround ``Crypto.Random`` check leading to spurious test
121
 
  failures on Lucid, FreeBSD and gentoo.  
122
 
  (Vincent Ladeuil, #528436)
123
 
 
124
 
bzr 2.2b2
125
 
#########
126
 
 
127
 
:2.2b2: 2010-04-16
128
 
 
129
 
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
130
 
incompatibility in the 2.2b1 release.  It also includes a swag of
131
 
performance, usability and correctness improvements: test feedback on all
132
 
of these would be welcome.
133
 
 
134
 
 
135
 
New Features
136
 
************
137
 
 
138
 
* ``bzr diff`` now supports a --format option, which can be used to 
139
 
  select alternative diff formats. (Jelmer Vernooij, #555994)
140
 
 
141
 
Bug Fixes
142
 
*********
143
 
 
144
 
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
145
 
  instead of failing when dirty trees are involved. The corresponding
146
 
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
147
 
  True explicitly to get the previous behaviour.  
148
 
  (Vincent Ladeuil, #519319)
149
 
 
150
 
* ``bzr export`` to tar file does not fail if any parent directory
151
 
  contains unicode characters. This works around upstream Python bug
152
 
  http://bugs.python.org/issue8396 .
153
 
  (Parth Malwankar, #413406)
154
 
 
155
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
156
 
  (Aaron Bentley, #559436)
157
 
 
158
 
* ``bzr update`` when a pending merge in the working tree has been merged
159
 
  into the master branch will no longer claim that old commits have become
160
 
  pending merges. (Robert Collins, #562079)
161
 
 
162
 
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
163
 
  config as in previous versions of bzrlib. (Robert Collins)
164
 
 
165
 
* Fix glitch in the warning about unclean trees display.
166
 
  (Vincent Ladeuil, #562665)
167
 
 
168
 
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
169
 
  (Martin Pool)
170
 
 
171
 
* Help messages generated by ``RegistryOption.from_kwargs`` list the
172
 
  switches in alphabetical order, rather than in an undefined order.
173
 
  (Martin von Gagern, #559409)
174
 
 
175
 
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
176
 
  Apport crash reports, to avoid "This problem report applies to a program
177
 
  which is not installed any more" error.
178
 
  (Martin Pool, James Westby, #528114)
179
 
 
180
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
181
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
182
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
183
 
  errors after two window resizes.
184
 
  (Andrew Bennetts)
185
 
 
186
 
* When invoked with a range revision, ``bzr log`` doesn't show revisions
187
 
  that are not part of the Y revisions ancestry anymore when invoked with
188
 
  -rX..Y.
189
 
  (Vincent Ladeuil, #474807)
190
 
 
191
 
* Properly handle ``param_name`` attribute for ``ListOption``.
192
 
  (Martin von Gagern, 387117)
193
 
 
194
 
Improvements
195
 
************
196
 
 
197
 
* ``bzr commit`` will prompt before using a commit message that was
198
 
  generated by a template and not edited by the user.
199
 
  (Robert Collins, #530265)
200
 
 
201
 
* ``bzr diff`` read-locks the trees and branches only once, saving about
202
 
  10-20ms on ``bzr diff`` in a bzr.dev tree.
203
 
  (Andrew Bennetts)
204
 
 
205
 
* ``bzr missing`` read-locks the branches only once.
206
 
  (Andrew Bennetts)
207
 
  
208
 
* ``bzr pull`` locks the branches and tree only once.
209
 
  (Andrew Bennetts)
210
 
  
211
 
* Index lookups in pack repositories search recently hit pack files first.  
212
 
  In repositories with many pack files this can greatly reduce the
213
 
  number of files accessed, the number of bytes read, and the number of
214
 
  read calls.  An incremental pull via plain HTTP takes half the time and
215
 
  bytes for a moderately large repository.  (Andrew Bennetts)
216
 
 
217
 
* Index lookups only re-order the indexes when the hit files aren't
218
 
  already first. Reduces the cost of reordering
219
 
  (John Arbash Meinel, #562429)
220
 
 
221
 
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
222
 
  less.)
223
 
  (Martin Pool, #553017)
224
 
 
225
 
API Changes
226
 
***********
227
 
 
228
 
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
229
 
  ``get_trees_and_branches_to_diff_locked`` instead.
230
 
  (Andrew Bennetts)
231
 
  
232
 
Internals
233
 
*********
234
 
 
235
 
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
236
 
  2.1 method of calling run() to perform testing or direct use via the API
237
 
  is now possible again. As part of this, the _operation attribute on
238
 
  Command is now transient and only exists for the duration of ``run()``.
239
 
  (Robert Collins)
240
 
 
241
 
bzr 2.2.0b1
242
 
###########
243
 
 
244
 
:2.2.0b1: 2010-04-01
245
 
 
246
 
Compatibility Breaks
247
 
********************
248
 
 
249
 
* BTreeGraphIndex can now take an offset to indicate that the data starts
250
 
  somewhere other than then beginning of the file. (John Arbash Meinel)
251
 
 
252
 
* Deleted very old hidden commands ``versionedfile-list``,
253
 
  ``weave-plan-merge``, ``weave-merge-text``.
254
 
  (Martin Pool)
255
 
 
256
 
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
257
 
  have been removed. (Jelmer Vernooij)
258
 
 
259
 
* ``Repository.get_revision_inventory()`` has been removed in favor of
260
 
  ``Repository.get_inventory()``. (Jelmer Vernooij)
261
 
 
262
 
* All test servers have been moved out of the bzrlib.transport hierarchy to
263
 
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
264
 
  PathFilteringServer. ``bzrlib`` users may encounter test failures that can
265
 
  be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
266
 
  ``bzrlib.tests.test_server``.
267
 
  (Vincent Ladeuil)
268
 
 
269
 
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
270
 
  as its second parameter, for consistency with the initialize() method of
271
 
  other formats. (Jelmer Vernooij)
272
 
 
273
 
New Features
274
 
************
275
 
 
276
 
* Added ``bzr remove-branch`` command that can remove a local or remote 
277
 
  branch. (Jelmer Vernooij, #276295)
278
 
 
279
 
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
280
 
  to set file mtimes to the last timestamp of the last revision in which
281
 
  they were changed rather than the current time. (Jelmer Vernooij)
282
 
 
283
 
* If the Apport crash-reporting tool is available, bzr crashes are now
284
 
  stored into the ``/var/crash`` apport spool directory, and the user is
285
 
  invited to report them to the developers from there, either
286
 
  automatically or by running ``apport-bug``.  No information is sent
287
 
  without specific permission from the user.  (Martin Pool, #515052)
288
 
 
289
 
* Parsing of command lines, for example in ``diff --using``, no longer
290
 
  treats backslash as an escape character on Windows.   (Gordon Tyler,
291
 
  #392248)
292
 
 
293
 
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
294
 
  a list of plugin names separated by ':' (';' on windows).
295
 
  (Vincent Ladeuil, #411413)
296
 
 
297
 
* Plugins can be loaded from arbitrary locations by defining
298
 
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
299
 
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
300
 
  specified plugins. This is targeted at plugin developers for punctual
301
 
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
302
 
  (Vincent Ladeuil, #82693)
303
 
 
304
 
* Tag names can now be determined automatically by ``automatic_tag_name`` 
305
 
  hooks on ``Branch`` if they are not specified on the command line.
306
 
  (Jelmer Vernooij)
307
 
 
308
 
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
309
 
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
310
 
  as resolved is still accessible via the ``--done`` default action.
311
 
  (Vincent Ladeuil)
312
 
 
313
 
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
314
 
  (Aaron Bentley, Jonathan Lange)
315
 
 
316
 
Bug Fixes
317
 
*********
318
 
 
319
 
* Added docstring for ``Tree.iter_changes``
320
 
  (John Arbash Meinel, #304182)
321
 
 
322
 
* Allow additional arguments to
323
 
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
324
 
 
325
 
* Allow exporting a single file using ``bzr export``.
326
 
  (Michal Junák, #511987)
327
 
 
328
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
329
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
330
 
  IO, which are often poorly handled by Python's libraries and parts of
331
 
  bzrlib.  (Andrew Bennetts, #496813)
332
 
 
333
 
* Avoid infinite recursion when probing for apport.
334
 
  (Vincent Ladeuil, #516934)
335
 
 
336
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
337
 
  (Martin Pool, #331095)
338
 
 
339
 
* Avoid truncating svn URLs.
340
 
  (Martin Pool, Martin von Gagern, #545185)
341
 
 
342
 
* ``bzr add`` will not add conflict related files unless explicitly required.
343
 
  (Vincent Ladeuil, #322767, #414589)
344
 
 
345
 
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
346
 
  indices do not have reference lists, so ``dump-btree`` will simply show
347
 
  ``None`` instead.  (Andrew Bennetts, #488607)
348
 
 
349
 
* ``bzr help`` will no longer trigger the get_missing_command hook when
350
 
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
351
 
  did you mean log?') when getting help. In future we may trigger the hook 
352
 
  deliberately when no help topics match from any help index.
353
 
  (Robert Collins, #396261)
354
 
 
355
 
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
356
 
  revspec as representing the first revision of the branch.
357
 
  (Vincent Ladeuil, #519862)
358
 
 
359
 
* ``bzr remove-tree`` can now remove multiple working trees.
360
 
  (Jared Hance, Andrew Bennetts, #253137)
361
 
 
362
 
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
363
 
  the kept file on content conflicts where one side deleted the file.
364
 
  (Vincent Ladeuil, #529968)
365
 
 
366
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
367
 
  permissions as ``.bzr`` directory on a POSIX OS.
368
 
  (Parth Malwankar, #262450)
369
 
 
370
 
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
371
 
  of ``backup.bzr``. This directory is ignored by bzr commands such as
372
 
  ``add``.
373
 
  (Parth Malwankar, #335033, #300001)
374
 
 
375
 
* Cope with non-utf8 characters inside ``.bzrignore``.
376
 
  (Jason Spashett, #183504)
377
 
 
378
 
* Correctly interpret "451 Rename/move failure: Directory not empty" from
379
 
  ftp servers while trying to take a lock.
380
 
  (Martin Pool, #528722)
381
 
 
382
 
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
383
 
  changes occured between the workingtree and one of its parents.
384
 
  (Vincent Ladeuil, #535547)
385
 
 
386
 
* Fix ``log`` to better check ancestors even if merged revisions are involved.
387
 
  (Vincent Ladeuil, #476293)
388
 
 
389
 
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
390
 
  on os.lisdir() order and is now reliable.
391
 
  (Vincent Ladeuil, #552922).
392
 
 
393
 
* Many IO operations that returned ``EINTR`` were retried even if it
394
 
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
395
 
  only retries operations that are safe to retry, and in some cases has
396
 
  switched to operations that can be retried (e.g. ``sock.send`` rather than
397
 
  ``sock.sendall``).
398
 
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
399
 
 
400
 
* Path conflicts now support --take-this and --take-other even when a
401
 
  deletion is involved.
402
 
  (Vincent Ladeuil, #531967)
403
 
 
404
 
* Network transfer amounts and rates are now displayed in SI units according
405
 
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
406
 
  (Gordon Tyler, #514399)
407
 
 
408
 
* Support kind markers for socket and fifo filesystem objects. This
409
 
  prevents ``bzr status --short`` from crashing when those files are
410
 
  present.  (John Arbash Meinel, #303275)
411
 
 
412
 
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
413
 
   directory. (Parth Malwankar, #138600)
414
 
 
415
 
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
416
 
  the debugger won't kill the session.
417
 
  (Martin <gzlist@googlemail.com>, #162502)
418
 
 
419
 
* Tolerate patches with leading noise in ``bzr-handle-patch``.
420
 
  (Toshio Kuratomi, Martin Pool, #502076)
421
 
 
422
 
* ``update -r`` now supports updating to revisions that are not on
423
 
  mainline (i.e. it supports dotted revisions).
424
 
  (Parth Malwankar, #517800)
425
 
 
426
 
* Use first apparent author not committer in GNU Changelog format.
427
 
  (Martin von Gagern, #513322)
428
 
 
429
 
API Changes
430
 
***********
431
 
 
432
 
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
433
 
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
434
 
  (Jelmer Vernooij)
435
 
 
436
 
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
437
 
  branch to create. (Jelmer Vernooij)
438
 
 
439
 
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
440
 
  colocated branch to open. (Jelmer Vernooij)
441
 
 
442
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
443
 
  can set a signal handler and call ``signal.siginterrupt(signum,
444
 
  False)`` for it, if the platform and Python version supports it.
445
 
  (Andrew Bennetts, #496813)
446
 
 
447
 
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
448
 
  run when starting up; it sets up several things that previously needed
449
 
  to be done separately.
450
 
  (Martin Pool, #507710)
451
 
 
452
 
* Exporters now support a ``per_file_timestamps`` argument to write out the 
453
 
  timestamp of the commit in which a file revision was introduced.
454
 
  (Jelmer Vernooij)
455
 
 
456
 
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
457
 
  present in a control directory. (Jelmer Vernooij)
458
 
 
459
 
* New method ``Repository.get_known_graph_ancestry()``. 
460
 
  (Jelmer Vernooij, #495502)
461
 
 
462
 
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
463
 
  (Neil Santos)
464
 
 
465
 
* Remove unused ``CommandFailed`` exception.
466
 
  (Martin Pool)
467
 
 
468
 
Internals
469
 
*********
470
 
 
471
 
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
472
 
  ``message_callback`` in the same way that commit does. (Robert Collins)
473
 
 
474
 
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
475
 
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
476
 
  of date. (Gary van der Merwe)
477
 
 
478
 
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
479
 
  functions to load or disable plugins if they wish to use a different
480
 
  plugin mechanism; the --help, --version and no-command name code paths
481
 
  now use the generic pluggable command lookup infrastructure.
482
 
  (Robert Collins)
483
 
 
484
 
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
485
 
  which can be set to add extra help to the error. (Gary van der Merwe)
486
 
 
487
 
* New method ``Branch.automatic_tag_name`` that can be used to find the
488
 
  tag name for a particular revision automatically. (Jelmer Vernooij)
489
 
 
490
 
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
491
 
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
492
 
  (Jelmer Vernooij)
493
 
 
494
 
Testing
495
 
*******
496
 
 
497
 
* bzr now has a ``.testr.conf`` file in its source tree configured
498
 
  appropriately for running tests with Testrepository
499
 
  (``https://launchpad.net/testrepository``). (Robert Collins)
500
 
 
501
 
* Documentation about testing with ``subunit`` has been tweaked.
502
 
  (Robert Collins)
503
 
 
504
 
* Known failures has been added for resolve --take-other on ParentLoop
505
 
  conflicts. This reflects bug #537956 without fixing it.
506
 
  (Vincent Ladeuil)
507
 
 
508
 
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
509
 
  Python modules are loaded, to guard against startup time or library
510
 
  dependency regressions.
511
 
  (Martin Pool)
512
 
 
513
 
* PQM will now run with subunit output. To analyze a PQM error use
514
 
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
515
 
 
516
 
* Stop sending apport crash files to ``.cache`` in the directory from
517
 
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
518
 
 
519
 
* Tests no longer fail if "close() called during concurrent
520
 
  operation on the same file object" occurs when closing the log file
521
 
  (which can happen if a thread tries to write to the log file at the
522
 
  wrong moment).  An warning will be written to ``stderr`` when this
523
 
  happens, and another warning will be written if the log file could not
524
 
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
525
 
 
526
 
bzr 2.1.2
527
 
#########
528
 
 
529
 
:2.1.2: NOT RELEASED YET
530
 
 
531
 
Bug Fixes
532
 
*********
533
 
 
534
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
535
 
  (Aaron Bentley, #559436)
536
 
 
537
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
538
 
  versions before 1.6.
539
 
  (Andrew Bennetts, #528041)
540
 
 
541
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
542
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
543
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
544
 
  errors after two window resizes.
545
 
  (Andrew Bennetts)
546
 
 
547
 
Internals
548
 
*********
549
 
 
550
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
551
 
  suboptimal network behaviour is noticed; instead it just mutters to the
552
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
553
 
  This was causing unnecessary aborts for performance bugs that are minor
554
 
  at worst.
555
 
  (Andrew Bennetts, #528041)
556
 
 
557
 
 
558
 
bzr 2.1.1
559
 
#########
560
 
 
561
 
:2.1.1: 2010-03-24
562
 
 
563
 
This is a small bugfix release.  Upgrading is recommended for anyone
564
 
running 2.1.0 or earlier.
565
 
 
566
 
Bug Fixes
567
 
*********
568
 
 
569
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
570
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
571
 
  IO, which are often poorly handled by Python's libraries and parts of
572
 
  bzrlib.  (Andrew Bennetts, #496813)
573
 
 
574
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
575
 
  (Martin Pool, #331095)
576
 
 
577
 
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
578
 
 
579
 
* Fix stub sftp test server to call os.getcwdu().
580
 
  (Vincent Ladeuil, #526221, #526353)
581
 
 
582
 
* Fixed CHM generation by moving the NEWS section template into
583
 
  a separate file. (Ian Clatworthy, #524184)
584
 
 
585
 
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
586
 
 
587
 
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
588
 
  problems importing bzrlib from a non-main thread.
589
 
  (Elliot Murphy, #521989)
590
 
 
591
 
* Repositories accessed via a smart server now reject being stacked on a
592
 
  repository in an incompatible format, as is the case when accessing them
593
 
  via other methods.  This was causing fetches from those repositories via
594
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
595
 
  (Andrew Bennetts, #562380)
596
 
 
597
 
* Standardize the error handling when creating a new ``StaticTuple``
598
 
  (problems will raise TypeError). (Matt Nordhoff, #457979)
599
 
 
600
 
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
601
 
  ``StaticTuple`` extensions, rather than having the build fail randomly.
602
 
  (John Arbash Meinel, #449776)
603
 
 
604
 
Documentation
605
 
*************
606
 
 
607
 
* Added a link to the Desktop Guide. (Ian Clatworthy)
608
 
 
609
 
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
610
 
 
611
 
* Drop Google Analytics from the core docs as they caused problems
612
 
  in the CHM files. (Ian Clatworthy, #502010)
613
 
 
614
 
API Changes
615
 
***********
616
 
 
617
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
618
 
  can set a signal handler and call ``signal.siginterrupt(signum,
619
 
  False)`` for it, if the platform and Python version supports it.
620
 
  (Andrew Bennetts, #496813)
621
 
 
622
 
 
623
 
bzr 2.1.0
624
 
#########
625
 
 
626
 
:Codename: Strasbourg
627
 
:2.1.0: 2010-02-11
628
 
 
629
 
This release marks our second long-term-stable series. The Bazaar team
630
 
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
631
 
releases, along with 2.2 development releases. 
632
 
 
633
 
This is a fairly incremental update, focusing on polish and bugfixing.
634
 
There are no changes for supported disk formats. Key updates include
635
 
reduced memory consumption for many operations, a new per-file merge
636
 
hook, ignore patterns can now include '!' to exclude files, globbing
637
 
support for all commands on Windows, and support for addressing home
638
 
directories via ``bzr+ssh://host/~/`` syntax.
639
 
 
640
 
Users are encouraged to upgrade from the 2.0 stable series.
641
 
 
642
 
Bug Fixes
643
 
*********
644
 
 
645
 
* Don't require testtools to use sftp.
646
 
  (Vincent Ladeuil, #516183)
647
 
 
648
 
* Fix "AttributeError in Inter1and2Helper" during fetch.
649
 
  (Martin Pool, #513432)
650
 
 
651
 
* ``bzr update`` performs the two merges in a more logical order and will stop
652
 
  when it encounters conflicts.  
653
 
  (Gerard Krol, #113809)
654
 
 
655
 
* Give a better error message when doing ``bzr bind`` in an already bound
656
 
  branch.  (Neil Martinsen-Burrell, #513063)
657
 
 
658
 
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
659
 
  in a pack repository, which can happen harmlessly if the abort occurs during
660
 
  finishing the write group.  Also use ``bzrlib.cleanup`` so that any
661
 
  other errors that occur while aborting the individual packs won't be
662
 
  hidden by secondary failures when removing the corresponding indices.
663
 
  (Andrew Bennetts, #423015)
664
 
 
665
 
* Set the mtime of files exported to a directory by ``bzr export`` all to
666
 
  the same value to avoid confusing ``make`` and other date-based build
667
 
  systems. (Robert Collins, #515631)
668
 
 
669
 
Improvements
670
 
************
671
 
 
672
 
* Fetching into experimental formats will now print a warning. (Jelmer
673
 
  Vernooij)
674
 
 
675
 
API Changes
676
 
***********
677
 
 
678
 
* ``Repository.deserialise_inventory`` has been renamed to 
679
 
  ``Repository._deserialise_inventory`` to indicate it is private.
680
 
  (Jelmer Vernooij)
681
 
 
682
 
* ``Repository.get_inventory_xml`` has been renamed to 
683
 
  ``Repository._get_inventory_xml`` to indicate it is private. 
684
 
  (Jelmer Vernooij)
685
 
 
686
 
* ``Repository.serialise_inventory`` has been renamed to 
687
 
  ``Repository._serialise_inventory`` to indicate it is private.
688
 
 
689
 
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
690
 
  same time was broken due to race conditions with a module level page
691
 
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
692
 
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
693
 
  the same high level objects such as ``bzrlib.repository.Repository``
694
 
  from different threads. chk_map now uses a thread local cache which may
695
 
  increase memory pressure on processes using threads.
696
 
  (Robert Collins, John Arbash Meinel, #514090)
697
 
 
698
 
* The new ``merge_file_content`` should now be ok with tests to avoid
699
 
  regressions.
700
 
  (Vincent Ladeuil, #515597)
701
 
 
702
 
Internals
703
 
*********
704
 
 
705
 
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
706
 
  blocks in several places in ``bzrlib.merge``.  This avoids masking prior
707
 
  errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
708
 
  in ``do_merge``.
709
 
  (Andrew Bennetts, #517275)
710
 
 
711
 
API Changes
712
 
***********
713
 
 
714
 
* The ``remove_index`` method of
715
 
  ``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
716
 
  argument.  This argument was always ignored.
717
 
  (Andrew Bennetts, #423015)
718
 
 
719
 
bzr 2.1.0rc2
720
 
############
721
 
 
722
 
:Codename: after the bubbles
723
 
:2.1.0rc2: 2010-01-29
724
 
 
725
 
This is a quick-turn-around to update a small issue with our new per-file
726
 
merge hook. We expect no major changes from this to the final 2.1.0.
727
 
 
728
 
API Changes
729
 
***********
730
 
 
731
 
* The new ``merge_file_content`` hook point has been altered to provide a
732
 
  better API where state for extensions can be stored rather than the
733
 
  too-simple function based approach. This fixes a performance regression
734
 
  where branch configuration would be parsed per-file during merge. As
735
 
  part of this the included news_merger has been refactored into a base
736
 
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
737
 
  (Robert Collins, John Arbash Meinel, #513822)
738
 
 
739
 
 
740
 
bzr 2.1.0rc1
741
 
############
742
 
 
743
 
:Codename: the 'new' stable
744
 
:2.1.0rc1: 2009-01-21
745
 
 
746
 
This is the first stable release candidate for Bazaar's 2.1 series. From
747
 
this point onwards, the 2.1 series will be considered stable (as the 2.0
748
 
series) and only bugfixes are expected to be incorporated. The dozen or so
749
 
bugfixes in the 2.0.4 release are also included in this release (along
750
 
with more than 15 more bugfixes). Some of the interesting features are
751
 
support for per-file merge hooks, ``bzr unshelve --preview``, support
752
 
for using ! in ignore files to exclude files from being ignored, a small
753
 
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
754
 
This looks to be a very good start for a new stable series.
755
 
 
756
 
 
757
 
New Features
758
 
************
759
 
 
760
 
* Add bug information to log output when available.
761
 
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
762
 
 
763
 
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
764
 
  to register custom merge logic, e.g. to provide smarter merging for
765
 
  particular files.
766
 
 
767
 
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
768
 
  default, to enable it add a ``news_merge_files`` option to your
769
 
  configuration.  Consult ``bzr help news_merge`` for more information.
770
 
  (Andrew Bennetts)
771
 
  
772
 
* ``bzr branch`` now takes a ``--bind`` option. This lets you
773
 
  branch and bind all in one command. (Ian Clatworthy)
774
 
 
775
 
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
776
 
  a specific revision of a branch. (Daniel Watkins, #183559)
777
 
 
778
 
* ``bzr unshelve --preview`` can now be used to show how a patch on the
779
 
  shelf would be applied to the working tree.
780
 
  (Guilherme Salgado, #308122)
781
 
 
782
 
* ``bzr update`` now takes a ``--revision`` argument. This lets you
783
 
  change the revision of the working tree to any revision in the
784
 
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
785
 
  Martin Pool, #45719)
786
 
 
787
 
* ``-Dbytes`` can now be used to display the total number of bytes
788
 
  transferred for the current command. This information is always logged
789
 
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
790
 
 
791
 
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
792
 
  ignore patterns and take precedence over regular ignores.  Such 
793
 
  exceptions are used to specify files that should be versioned which 
794
 
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
795
 
  ignore patterns, but have highest precedence, even over the '!' 
796
 
  exception patterns. (John Whitley, #428031)
797
 
 
798
 
* The ``supress_warnings`` configuration option has been introduced to disable
799
 
  various warnings (it currently only supports the ``format_deprecation``
800
 
  warning). The new option can be set in any of the following locations:
801
 
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
802
 
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
803
 
 
804
 
Bug Fixes
805
 
*********
806
 
 
807
 
* Always show a message if an OS error occurs while trying to run a
808
 
  user-specified commit message editor.
809
 
  (Martin Pool, #504842)
810
 
 
811
 
* ``bzr diff`` will now use the epoch when it is unable to determine 
812
 
  the timestamp of a file, if the revision it was introduced in is a
813
 
  ghost. (Jelmer Vernooij, #295611)
814
 
 
815
 
* ``bzr switch -b`` can now create branches that are located using directory
816
 
  services such as ``lp:``, even when the branch name doesn't contain a
817
 
  '/'.  (Neil Martinsen-Burrell, #495263)
818
 
 
819
 
* ``bzr unshelve`` has improved messages about what it is doing.
820
 
  (Neil Martinsen-Burrell, #496917)
821
 
 
822
 
* Concurrent autopacking is more resilient to already-renamed pack files.
823
 
  If we find that a file we are about to obsolete is already obsoleted, we
824
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
825
 
  The code is also fault tolerant if a file goes missing, assuming that
826
 
  another process already removed the file.
827
 
  (John Arbash Meinel, Gareth White, #507557)
828
 
 
829
 
* Fix "Too many concurrent requests" in reconcile when network connection
830
 
  fails.  (Andrew Bennetts, #503878)
831
 
 
832
 
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
833
 
  that caused some tests to fail when run in a non-default order.
834
 
  Probably no user impact.  (Martin Pool, #504102)
835
 
 
836
 
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
837
 
  (Andrew Bennetts, #506274)
838
 
 
839
 
* FTP transports support Unicode paths by encoding/decoding them as utf8.
840
 
  (Vincent Ladeuil, #472161)
841
 
 
842
 
* Listen to the SIGWINCH signal to update the terminal width.
843
 
  (Vincent Ladeuil, #316357)
844
 
 
845
 
* Progress bars are now hidden when ``--quiet`` is given.
846
 
  (Martin Pool, #320035)
847
 
 
848
 
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
849
 
  whatever is written to it.  This un-breaks some plugin tests that
850
 
  depended on this behaviour.
851
 
  (Martin Pool, #499757)
852
 
 
853
 
* When operations update the working tree, all affected files should end
854
 
  up with the same mtime. (eg. when versioning a generated file, if you
855
 
  update the source and the generated file together, the generated file
856
 
  should appear up-to-date.)
857
 
  (John Arbash Meinel, Martin <gzlist>, #488724)
858
 
 
859
 
Improvements
860
 
************
861
 
 
862
 
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
863
 
  All the builtin commands now use ``add_cleanup`` rather than
864
 
  ``try``/``finally`` blocks where applicable as it is simpler and more
865
 
  robust.  (Andrew Bennetts)
866
 
 
867
 
* All except a small number of storage formats are now hidden, making
868
 
  the help for numerous commands far more digestible. (Ian Clatworthy)
869
 
 
870
 
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
871
 
  path/to/repo``) will now include "location is a repository" as a hint in
872
 
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
873
 
 
874
 
* Push will now inform the user when they are trying to push to a foreign 
875
 
  VCS for which roundtripping is not supported, and will suggest them to 
876
 
  use dpush. (Jelmer Vernooij)
877
 
 
878
 
* The version of bzr being run is now written to the log file.
879
 
  (__monty__, #257170)
880
 
 
881
 
* Transport network activity indicator is shown more of the time when
882
 
  Bazaar is doing network IO.
883
 
  (Martin Pool)
884
 
 
885
 
Documentation
886
 
*************
887
 
 
888
 
* Add documentation on creating merges with more than one parent.
889
 
  (Neil Martinsen-Burrell, #481526)
890
 
 
891
 
* Better explain the --uncommitted option of merge.
892
 
  (Neil Martinsen-Burrell, #505088)
893
 
 
894
 
* Improve discussion of pending merges in the documentation for
895
 
  ``revert``.  (Neil Martinsen-Burrell, #505093)
896
 
 
897
 
* Improved help for ``bzr send``. 
898
 
  (Martin Pool, Bojan Nikolic)
899
 
 
900
 
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
901
 
  including discussions of installation, relevant plugins, security and 
902
 
  backup. (Neil Martinsen-Burrell)
903
 
 
904
 
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
905
 
  (Ian Clatworthy)
906
 
 
907
 
* The User Reference is now presented as a series of topics.
908
 
  Many of the included topics have link and format tweaks applied.
909
 
  (Ian Clatworthy)
910
 
 
911
 
API Changes
912
 
***********
913
 
 
914
 
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
915
 
  (Andrew Bennetts)
916
 
 
917
 
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
918
 
  to be consistent with instances being lower case and classes being
919
 
  CamelCase. For the features that were more likely to be used, we added a
920
 
  deprecation thunk, but not all. (John Arbash Meinel)
921
 
 
922
 
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
923
 
  parameter in their constructors, and provide ``this_branch`` as an
924
 
  attribute. (Andrew Bennetts)
925
 
  
926
 
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
927
 
  by plugins - the original exceptions are now preserved. (Robert Collins)
928
 
 
929
 
* The Transport ``Server.tearDown`` method is now renamed to
930
 
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
931
 
  our normal naming pattern, and to avoid confusion with Python's
932
 
  ``TestCase.tearDown``.  (Martin Pool)
933
 
 
934
 
* ``WorkingTree.update`` implementations must now accept a ``revision``
935
 
  parameter.
936
 
 
937
 
Internals
938
 
*********
939
 
 
940
 
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
941
 
  a string of details (such as "location is a repository") as part of a
942
 
  ``nobranch`` response.  (Andrew Bennetts, #440952)
943
 
  
944
 
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
945
 
  objects but passes str objects straight through. This is used for
946
 
  selftest but may be useful for diff and other operations that generate
947
 
  mixed output. (Robert Collins)
948
 
 
949
 
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
950
 
  plugins. (Jelmer Vernooij)
951
 
 
952
 
Testing
953
 
*******
954
 
 
955
 
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
956
 
  running all tests in the current module, once against a pure python
957
 
  implementation, and once against an extension (pyrex/C) implementation.
958
 
  It can be used to dramatically simplify the implementation of
959
 
  ``load_tests``.  (John Arbash Meinel)
960
 
 
961
 
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
962
 
  This permits features in testtools such as getUniqueInteger and
963
 
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
964
 
  newer is now a dependency to run bzr selftest. Running with versions of
965
 
  testtools less than 0.9.2 will cause bzr to error while loading the test
966
 
  suite. (Robert Collins)
967
 
 
968
 
* Shell-like tests now support the command "mv" for moving files.  The
969
 
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
970
 
  supported.  (Neil Martinsen-Burrell)
971
 
 
972
 
* The test progress bar no longer distinguishes tests that 'errored' from
973
 
  tests that 'failed' - they're all just failures.
974
 
  (Martin Pool)
975
 
 
976
 
bzr 2.0.6
977
 
#########
978
 
 
979
 
:2.0.6: NOT RELEASED YET
980
 
 
981
 
Bug Fixes
982
 
*********
983
 
 
984
 
* Additional merges after an unrelated branch has been merged with its
985
 
  history no longer crash when deleted files are involved.
986
 
  (Vincent Ladeuil, John Arbash Meinel, #375898)
987
 
 
988
 
* ``bzr revert`` now only takes write lock on working tree, instead of on 
989
 
  both working tree and branch.
990
 
  (Danny van Heumen, #498409)
991
 
 
992
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
993
 
  permissions as ``.bzr`` directory on a POSIX OS.
994
 
  (Parth Malwankar, #262450)
995
 
 
996
 
* Repositories accessed via a smart server now reject being stacked on a
997
 
  repository in an incompatible format, as is the case when accessing them
998
 
  via other methods.  This was causing fetches from those repositories via
999
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1000
 
  (Andrew Bennetts, #562380)
1001
 
 
1002
 
bzr 2.0.5
1003
 
#########
1004
 
 
1005
 
:2.0.5: 2010-03-23
1006
 
 
1007
 
This fifth release in our 2.0 series addresses several user-inconvenience
1008
 
bugs.  None are critical, but upgrading is recommended for all users on
1009
 
earlier 2.0 releases.
1010
 
 
1011
 
Bug Fixes
1012
 
*********
1013
 
 
1014
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1015
 
  (Martin Pool, #331095)
1016
 
 
1017
 
* Concurrent autopacking is more resilient to already-renamed pack files.
1018
 
  If we find that a file we are about to obsolete is already obsoleted, we
1019
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
1020
 
  The code is also fault tolerant if a file goes missing, assuming that
1021
 
  another process already removed the file.
1022
 
  (John Arbash Meinel, Gareth White, #507557)
1023
 
 
1024
 
* Cope with the lockdir ``held/info`` file being empty, which seems to
1025
 
  happen fairly often if the process is suddenly interrupted while taking
1026
 
  a lock.
1027
 
  (Martin Pool, #185103)
1028
 
 
1029
 
* Give the warning about potentially slow cross-format fetches much
1030
 
  earlier on in the fetch operation.  Don't show this message during
1031
 
  upgrades, and show the correct format indication for remote
1032
 
  repositories.
1033
 
  (Martin Pool, #456077, #515356, #513157)
1034
 
 
1035
 
* Handle renames correctly when there are files or directories that 
1036
 
  differ only in case.  (Chris Jones, Martin Pool, #368931)
1037
 
 
1038
 
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1039
 
  error, report that error rather than failing with an unhelpful
1040
 
  ``UnboundLocalError``.
1041
 
  (Andrew Bennetts, #423563)
1042
 
 
1043
 
* Running ``bzr`` command without any arguments now shows bzr
1044
 
  version number along with rest of the help text.
1045
 
  (Parth Malwankar, #369501)
1046
 
 
1047
 
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1048
 
  errors.
1049
 
  (Inada Naoki, #524560)
1050
 
 
1051
 
Documentation
1052
 
*************
1053
 
 
1054
 
* Added ``location-alias`` help topic.
1055
 
  (Andrew Bennetts, #337834)
1056
 
 
1057
 
* Fixed CHM generation by moving the NEWS section template into
1058
 
  a separate file. (Ian Clatworthy, #524184)
1059
 
 
1060
 
 
1061
 
bzr 2.0.4
1062
 
#########
1063
 
 
1064
 
:Codename: smooth sailing
1065
 
:2.0.4: 2010-01-21
1066
 
 
1067
 
The fourth bugfix-only release in the 2.0 series contains more than a
1068
 
dozen bugfixes relative to 2.0.3. The primary focus is on handling
1069
 
interruptions and concurrent operations more cleanly, there is also a fair
1070
 
improvement to ``bzr export`` when exporting a remote branch.
1071
 
 
 
8
bzr 2.0.4 (not released yet)
 
9
############################
 
10
 
 
11
:Codename:
 
12
:2.0.4: smooth sailing
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
New Features
 
18
************
1072
19
 
1073
20
Bug Fixes
1074
21
*********
1091
38
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
1092
39
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
1093
40
 
1094
 
* Concurrent autopacks will no longer lose a newly created pack file.
1095
 
  There was a race condition, where if the reload happened at the right
1096
 
  time, the second packer would forget the name of the newly added pack
1097
 
  file. (John Arbash Meinel, Gareth White, #507566)
1098
 
 
1099
41
* Give a clearer message if the lockdir disappears after being apparently
1100
42
  successfully taken.  (Martin Pool, #498378)
1101
43
 
1102
 
* Give a warning when fetching between repositories (local or remote) with
1103
 
  sufficiently different formats that the content will need to be
1104
 
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
1105
 
  the user has a clue that upgrading could make it faster.
1106
 
  (Martin Pool, #456077)
1107
 
 
1108
44
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
1109
45
  than using ``warning()``. The log file is opened before logging is set
1110
46
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
1111
47
  users, rather than something nicer.
1112
48
  (John Arbash Meinel, Barry Warsaw, #503886)
1113
49
 
1114
 
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
1115
 
  (Martin Pool, John Arbash Meinel, #449372)
1116
 
 
1117
 
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
1118
 
  build. (there is still the distutils bug
1119
 
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
1120
 
 
1121
50
* The 2a format wasn't properly restarting autopacks when something
1122
51
  changed underneath it (like another autopack). Now concurrent
1123
52
  autopackers will properly succeed. (John Arbash Meinel, #495000)
1124
53
 
1125
 
* ``TreeTransform`` can now handle when a delta says that the file id for
1126
 
  the tree root changes. Rather than trying to rename your working
1127
 
  directory, or failing early saying that you can't have multiple
1128
 
  tree roots. This also fixes revert, update, and pull when the root id
1129
 
  changes.  (John Arbash Meinel, #494269, #504390)
1130
 
 
1131
54
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
1132
55
  the right time will get propagated, rather than silently failing to move
1133
56
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
1134
57
 
 
58
Improvements
 
59
************
 
60
 
 
61
Documentation
 
62
*************
 
63
 
 
64
API Changes
 
65
***********
 
66
 
 
67
Internals
 
68
*********
 
69
 
1135
70
Testing
1136
71
*******
1137
72
 
1141
76
  bug #495023. (John Arbash Meinel)
1142
77
 
1143
78
 
1144
 
bzr 2.1.0b4
1145
 
###########
1146
 
 
1147
 
:Codename: san francisco airport
1148
 
:2.1.0b4: 2009-12-14
1149
 
 
1150
 
The fourth beta release in the 2.1 series brings with it a significant
1151
 
number of bugfixes (~20). The test suite is once again (finally) "green"
1152
 
on Windows, and should remain that way for future releases. There are a
1153
 
few performance related updates (faster upgrade and log), and several UI
1154
 
tweaks. There has also been a significant number of tweaks to the runtime
1155
 
documentation. 2.1.0b4 include everything from the 2.0.3 release.
1156
 
 
1157
 
 
1158
 
Compatibility Breaks
1159
 
********************
1160
 
 
1161
 
* The BZR_SSH environmental variable may now be set to the path of a secure
1162
 
  shell client. If currently set to the value ``ssh`` it will now guess the
1163
 
  vendor of the program with that name, to restore the old behaviour that
1164
 
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
1165
 
  string. (Martin <gzlist@googlemail.com>, #176292)
1166
 
 
1167
 
New Features
1168
 
************
1169
 
 
1170
 
* ``bzr commit`` now has a ``--commit-time`` option.
1171
 
  (Alexander Sack, #459276)
1172
 
 
1173
 
* ``-Dhpss`` now increases logging done when run on the bzr server,
1174
 
  similarly to how it works on the client. (John Arbash Meinel)
1175
 
 
1176
 
* New option ``bzr unshelve --keep`` applies the changes and leaves them
1177
 
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
1178
 
 
1179
 
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
1180
 
  respect a given terminal width. This can be useful when output is
1181
 
  redirected or in obscure cases where the default value is not
1182
 
  appropriate. Pagers can use it to get a better control of the line
1183
 
  lengths. 
1184
 
  (Vincent Ladeuil)
1185
 
 
1186
 
* The new command ``bzr lp-mirror`` will request that Launchpad update its
1187
 
  mirror of a local branch. This command will only function if launchpadlib
1188
 
  is installed.
1189
 
  (Jonathan Lange)
1190
 
 
1191
 
 
1192
 
Bug Fixes
1193
 
*********
1194
 
 
1195
 
* After renaming a file, the dirstate could accidentally reference
1196
 
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
1197
 
  source of some dirstate-related failures. (John Arbash Meinel)
1198
 
 
1199
 
* ``bzr commit`` now detects commit messages that looks like file names
1200
 
  and issues a warning.
1201
 
  (Gioele Barabucci, #73073)
1202
 
 
1203
 
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
1204
 
 
1205
 
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
1206
 
  (#325618, #484109, Marius Kruger)
1207
 
 
1208
 
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
1209
 
  files with conflicts (similar to ``--merge3``). The contents of the file
1210
 
  is a synthesis of all bases used for the merge.
1211
 
  (John Arbash Meinel, #40412)
1212
 
 
1213
 
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
1214
 
 
1215
 
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
1216
 
  (Robert Collins, #84659)
1217
 
 
1218
 
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
1219
 
 
1220
 
* Fix bug with redirected URLs over authenticated HTTP.
1221
 
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
1222
 
 
1223
 
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
1224
 
 
1225
 
* Lots of bugfixes for the test suite on Windows. We should once again
1226
 
  have a test suite with no failures on Windows. (John Arbash Meinel)
1227
 
 
1228
 
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
1229
 
  variable but returns None if the terminal is not a tty (when output is
1230
 
  redirected for example). Also fixes its usage under OSes that doesn't
1231
 
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
1232
 
  windows too.
1233
 
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
1234
 
  (John Arbash Meinel, Vincent Ladeuil, #492561)
1235
 
 
1236
 
* Terminate ssh subprocesses when no references to them remain, fixing
1237
 
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
1238
 
  
1239
 
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
1240
 
  works for 2a format trees.  Only files unaffected by content filters
1241
 
  will be hardlinked.  (Andrew Bennetts, #408193)
1242
 
 
1243
 
* The new glob expansion on Windows would replace all ``\`` characters
1244
 
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
1245
 
  etc. Now only change slashes if there is something being glob expanded.
1246
 
  (John Arbash Meinel, #485771)
1247
 
 
1248
 
* Use our faster ``KnownGraph.heads()`` functionality when computing the
1249
 
  new rich-root heads. This can cut a conversion time in half (mysql from
1250
 
  13.5h => 6.2h) (John Arbash Meinel, #487632)
1251
 
 
1252
 
* When launching a external diff tool via bzr diff --using, temporary files
1253
 
  are no longer created, rather, the path to the file in the working tree is
1254
 
  passed to the external diff tool. This allows the file to be edited if the
1255
 
  diff tool provides for this. (Gary van der Merwe, #490738)
1256
 
  
1257
 
* The launchpad-open command can now be used from a subdirectory of a
1258
 
  branch, not just from the root of the branch. 
1259
 
  (Neil Martinsen-Burrell, #489102)
1260
 
 
1261
 
 
1262
 
Improvements
1263
 
************
1264
 
 
1265
 
* ``bzr log`` is now faster. (Ian Clatworthy)
1266
 
 
1267
 
* ``bzr update`` provides feedback on which branch it is up to date with.
1268
 
  (Neil Martinsen-Burrell)
1269
 
 
1270
 
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
1271
 
  For details see the xml8 patch and heads() improvements.
1272
 
  (John Arbash Meinel)
1273
 
 
1274
 
* ``bzrlib.urlutils.local_path_from_url`` now accepts
1275
 
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
1276
 
  Hudson)
1277
 
 
1278
 
* The progress bar now shows only a spinner and per-operation counts,
1279
 
  not an overall progress bar.  The previous bar was often not correlated
1280
 
  with real overall operation progress, either because the operations take
1281
 
  nonlinear time, or because at the start of the operation Bazaar couldn't
1282
 
  estimate how much work there was to do.  (Martin Pool)
1283
 
 
1284
 
Documentation
1285
 
*************
1286
 
 
1287
 
* Lots of documentation tweaks for inline help topics and command help
1288
 
  information.
1289
 
 
1290
 
API Changes
1291
 
***********
1292
 
 
1293
 
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
1294
 
 
1295
 
* The Launchpad plugin now has a function ``login`` which will log in to
1296
 
  Launchpad with launchpadlib, and ``load_branch`` which will return the
1297
 
  Launchpad Branch object corresponding to a given Bazaar Branch object.
1298
 
  (Jonathan Lange)
1299
 
 
1300
 
Internals
1301
 
*********
1302
 
 
1303
 
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
1304
 
  easier to handle what tests you want to run based on what modules can be
1305
 
  imported. (Rather than lots of custom-implemented features that were
1306
 
  basically copy-and-pasted.) (John Arbash Meinel)
1307
 
 
1308
 
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
1309
 
  ``time.clock()`` when you want to do performance timing.
1310
 
  ``time.time()`` is limited to 15ms resolution on Windows, but
1311
 
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
1312
 
  (John Arbash Meinel)
1313
 
 
1314
 
* Several code paths that were calling ``Transport.get().read()`` have
1315
 
  been changed to the equalivent ``Transport.get_bytes()``. The main
1316
 
  difference is that the latter will explicitly call ``file.close()``,
1317
 
  rather than expecting the garbage collector to handle it. This helps
1318
 
  with some race conditions on Windows during the test suite and sftp
1319
 
  tests. (John Arbash Meinel)
1320
 
 
1321
 
Testing
1322
 
*******
1323
 
 
1324
 
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
1325
 
  unicode strings. (Michael Hudson, #464174)
1326
 
 
1327
 
 
1328
79
bzr 2.0.3
1329
80
#########
1330
81
 
1354
105
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
1355
106
 
1356
107
 
1357
 
bzr 2.1.0b3
1358
 
###########
1359
 
 
1360
 
:Codename: after sprint recovery
1361
 
:2.1.0b3: 2009-11-16
1362
 
 
1363
 
This release was pushed up from its normal release cycle due to a
1364
 
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
1365
 
was caught before 2.1.0b2 was officially announced, the full changelog
1366
 
includes both 2.1.0b3 and 2.1.0b2 changes.
1367
 
 
1368
 
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
1369
 
the test suite now conforms to python's trunk enhanced semantics (skip,
1370
 
etc.), and ``bzr info -v`` will now report the correct branch and repo
1371
 
formats for Remote objects.
1372
 
 
1373
 
 
1374
 
New Features
1375
 
************
1376
 
 
1377
 
* Users can define a shelve editor to provide shelf functionality at a
1378
 
  granularity finer than per-patch-hunk. (Aaron Bentley)
1379
 
 
1380
 
Bug Fixes
1381
 
*********
1382
 
 
1383
 
* Fix for shell completion and short options.  (Benoît PIERRE)
1384
 
 
1385
 
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
1386
 
 
1387
 
* Hooks daughter classes should always call the base constructor.
1388
 
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
1389
 
 
1390
 
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
1391
 
 
1392
 
* On Windows, do glob expansion at the command-line level (as is usually
1393
 
  done in bash, etc.) This means that *all* commands get glob expansion
1394
 
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
1395
 
  parser, which allows us to know if a given section was quoted. It means
1396
 
  you can now do ``bzr ignore "*.py"``.
1397
 
  (John Arbash Meinel, #425510, #426410, #194450)
1398
 
 
1399
 
* Sanitize commit messages that come in from the '-m' flag. We translate
1400
 
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
1401
 
  allow those because XML store silently translate it anyway. (The parser
1402
 
  auto-translates \r\n => \n in ways that are hard for us to catch.)
1403
 
 
1404
 
* Show correct branch and repository format descriptions in 
1405
 
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
1406
 
 
1407
 
* The fix for bug #186920 accidentally broke compatibility with python
1408
 
  2.4.  (Vincent Ladeuil, #475585)
1409
 
 
1410
 
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
1411
 
  correctly sets ``self.inv_sha1`` to a sha1 string and
1412
 
  ``self.new_inventory`` to an Inventory instance after calling
1413
 
  ``self.finish_inventory()``. (Previously it accidently set both values
1414
 
  as a tuple on ``self.inv_sha1``. This was missed because
1415
 
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
1416
 
  the sha1 from the repo directly. (John Arbash Meinel)
1417
 
 
1418
 
* Shelve command refuse to run if there is no real terminal.
1419
 
  (Alexander Belchenko)
1420
 
 
1421
 
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
1422
 
  Python level.  (Martin Pool)
1423
 
 
1424
 
Documentation
1425
 
*************
1426
 
 
1427
 
* Include Japanese translations for documentation (Inada Naoki)
1428
 
 
1429
 
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
1430
 
  (rather than user-interaction) data to stdout.  This automatically
1431
 
  coordinates with progress bars or other terminal activity, and can be
1432
 
  overridden by GUIs.
1433
 
  (Martin Pool, 493944)
1434
 
 
1435
 
Internals
1436
 
*********
1437
 
 
1438
 
* Some of the core groupcompress functionality now releases the GIL before
1439
 
  operation. Similar to how zlib and bz2 operate without the GIL in the
1440
 
  core compression and decompression routines. (John Arbash Meinel)
1441
 
 
1442
 
Testing
1443
 
*******
1444
 
 
1445
 
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
1446
 
  more debugging of VFS access triggers. (Robert Collins)
1447
 
 
1448
 
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
1449
 
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
1450
 
 
1451
 
* ``--parallel=fork`` is now compatible with --subunit.
1452
 
  (Robert Collins, Vincent Ladeuil, #419776)
1453
 
 
1454
 
* Reporting of failures shows test ids not descriptions and thus shows
1455
 
  parameterised tests correctly. (Robert Collins)
1456
 
 
1457
 
* TestNotApplicable is now handled within the TestCase.run method rather
1458
 
  than being looked for within ``ExtendedTestResult.addError``. This
1459
 
  provides better handling with other ``TestResult`` objects, degrading to
1460
 
  sucess rather than error. (Robert Collins)
1461
 
 
1462
 
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
1463
 
  removed - it was empty and unused. (Robert Collins)
1464
 
 
1465
 
* UnavailableFeature is now handled within the TestCase.run method rather
1466
 
  than being looked for within addError. If the Result object does not
1467
 
  have an addNotSupported method, addSkip is attempted instead, and
1468
 
  failing that addSuccess. (Robert Collins)
1469
 
 
1470
 
* When a TestResult does not have an addSkip method, skipped tests are now
1471
 
  reported as successful tests, rather than as errors. This change is
1472
 
  to make it possible to get a clean test run with a less capable
1473
 
  TestResult. (Robert Collins)
1474
 
 
1475
 
 
1476
 
 
1477
 
bzr 2.1.0b2
1478
 
###########
1479
 
 
1480
 
:Codename: a load off my mind
1481
 
:2.1.0b2: 2009-11-02
1482
 
 
1483
 
This is our second feature-filled release since 2.0, pushing us down the
1484
 
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
1485
 
 
1486
 
Key highlights in this release are: improved handling of
1487
 
failures-during-cleanup for commit, fixing a long-standing bug with
1488
 
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
1489
 
behind proxies, and a new StaticTuple datatype, allowing us to reduce
1490
 
memory consumption (50%) and garbage collector overhead (40% faster) for
1491
 
many operations.
1492
 
 
1493
 
* A new ``--concurrency`` option has been added as well as an associated
1494
 
  BZR_CONCURRENCY environment variable to specify the number of
1495
 
  processes that can be run concurrently when running ``bzr selftest``. The
1496
 
  command-line option overrides the environment variable if both are
1497
 
  specified. If none is specified. the number of processes is obtained
1498
 
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
1499
 
 
1500
 
Bug Fixes
1501
 
*********
1502
 
 
1503
 
* ``bzr+http`` servers no longer give spurious jail break errors when
1504
 
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
1505
 
 
1506
 
* Errors during commit are handled more robustly so that knock-on errors
1507
 
  are less likely to occur, and will not obscure the original error if
1508
 
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
1509
 
  and similar errors.  (Andrew Bennetts, #429747, #243391)
1510
 
 
1511
 
* Launchpad urls can now be resolved from behind proxies.
1512
 
  (Gordon Tyler, Vincent Ladeuil, #186920)
1513
 
 
1514
 
* Reduce the strictness for StaticTuple, instead add a debug flag
1515
 
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
1516
 
  This way, most users won't see failures, but developers can improve
1517
 
  internals. (John Arbash Meinel, #471193)
1518
 
 
1519
 
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
1520
 
  files.  (Aaron Bentley)
1521
 
 
1522
 
* Unicode paths are now handled correctly and consistently by the smart
1523
 
  server.  (Andrew Bennetts, Michael Hudson, #458762)
1524
 
 
1525
 
Improvements
1526
 
************
1527
 
 
1528
 
* When reading index files, we now use a ``StaticTuple`` rather than a
1529
 
  plain ``tuple`` object. This generally gives a 20% decrease in peak
1530
 
  memory, and can give a performance boost up to 40% on large projects.
1531
 
  (John Arbash Meinel)
1532
 
 
1533
 
* Peak memory under certain operations has been reduced significantly.
1534
 
  (eg, 'bzr branch launchpad standalone' is cut in half)
1535
 
  (John Arbash Meinel)
1536
 
 
1537
 
Documentation
1538
 
*************
1539
 
 
1540
 
* Filtered views user documentation upgraded to refer to format 2a
1541
 
  instead of pre-2.0 formats. (Ian Clatworthy)
1542
 
 
1543
 
API Changes
1544
 
***********
1545
 
 
1546
 
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
1547
 
 
1548
 
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1549
 
  ``show_warning`` methods, which can be hooked by non-text UIs.  
1550
 
  (Martin Pool)
1551
 
 
1552
 
Internals
1553
 
*********
1554
 
 
1555
 
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1556
 
  Dict (it only holds keys, but you can lookup the object located at a
1557
 
  given key). It has significantly reduced memory consumption versus the
1558
 
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1559
 
  used as the interning structure for StaticTuple objects.
1560
 
  (John Arbash Meinel)
1561
 
 
1562
 
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1563
 
  the btree index parser and the chk map parser. This class functions
1564
 
  similarly to ``tuple`` objects. However, it can only point to a limited
1565
 
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
1566
 
  int, long, float, but not subclasses).  This allows us to remove it from
1567
 
  the garbage collector (it cannot be in a cycle), it also allows us to
1568
 
  intern the objects. In testing, this can reduce peak memory by 20-40%,
1569
 
  and significantly improve performance by removing objects from being
1570
 
  inspected by the garbage collector.  (John Arbash Meinel)
1571
 
 
1572
 
* ``GroupCompressBlock._ensure_content()`` will now release the
1573
 
  ``zlib.decompressobj()`` when the first request is for all of the
1574
 
  content. (Previously it would only be released if you made a request for
1575
 
  part of the content, and then all of it later.) This turns out to be a
1576
 
  significant memory savings, as a ``zstream`` carries around approx 260kB
1577
 
  of internal state and buffers. (For branching bzr.dev this drops peak
1578
 
  memory from 382MB => 345MB.) (John Arbash Meinel)
1579
 
 
1580
 
* When streaming content between ``2a`` format repositories, we now clear
1581
 
  caches from earlier versioned files. (So 'revisions' is cleared when we
1582
 
  start reading 'inventories', etc.) This can have a significant impact on
1583
 
  peak memory for initial copies (~200MB). (John Arbash Meinel)
1584
 
 
1585
 
 
1586
108
bzr 2.0.2
1587
109
#########
1588
110
 
1630
152
  instead of pre-2.0 formats. (Ian Clatworthy)
1631
153
 
1632
154
 
1633
 
bzr 2.1.0b1
1634
 
###########
1635
 
 
1636
 
:Codename: While the cat is away
1637
 
:2.1.0b1: 2009-10-14
1638
 
 
1639
 
This is the first development release in the new split "stable" and
1640
 
"development" series. As such, the release is a snapshot of bzr.dev
1641
 
without creating a release candidate first. This release includes a
1642
 
fair amount of internal changes, with deprecated code being removed,
1643
 
and several new feature developments. People looking for a stable code
1644
 
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1645
 
present in 2.0.1 are present in 2.1.0b1.
1646
 
 
1647
 
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1648
 
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1649
 
syntax, visible warnings when extension modules fail to load, and improved
1650
 
error handling during unlocking.
1651
 
 
1652
 
 
1653
 
New Features
1654
 
************
1655
 
 
1656
 
* Bazaar can now send mail through Apple OS X Mail.app. 
1657
 
  (Brian de Alwis)
1658
 
 
1659
 
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1660
 
  specified in the URL.  Paths starting with a path segment of ``~`` are
1661
 
  relative to the home directory of the user running the server, and paths
1662
 
  starting with ``~user`` are relative to the home directory of the named
1663
 
  user.  For example, for a user "bob" with a home directory of
1664
 
  ``/home/bob``, these URLs are all equivalent:
1665
 
 
1666
 
  * ``bzr+ssh://bob@host/~/repo``
1667
 
  * ``bzr+ssh://bob@host/~bob/repo``
1668
 
  * ``bzr+ssh://bob@host/home/bob/repo``
1669
 
 
1670
 
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1671
 
  home directories outside that directory will be accessible via this
1672
 
  method.
1673
 
 
1674
 
  This is a feature of ``bzr serve``, so pre-2.1 clients will
1675
 
  automatically benefit from this feature when ``bzr`` on the server is
1676
 
  upgraded.  (Andrew Bennetts, #109143)
1677
 
 
1678
 
* Extensions can now be compiled if either Cython or Pyrex is available.
1679
 
  Currently Pyrex is preferred, but that may change in the future.
1680
 
  (Arkanes)
1681
 
 
1682
 
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1683
 
  disable the user, site and core plugin directories.
1684
 
  (Vincent Ladeuil, #412930, #316192, #145612)
1685
 
 
1686
 
Bug Fixes
1687
 
*********
1688
 
 
1689
 
* Bazaar's native protocol code now correctly handles EINTR, which most
1690
 
  noticeably occurs if you break in to the debugger while connected to a
1691
 
  bzr+ssh server.  You can now can continue from the debugger (by typing
1692
 
  'c') and the process continues.  However, note that pressing C-\ in the
1693
 
  shell may still kill the SSH process, which is bug 162509, so you must
1694
 
  sent a signal to the bzr process specifically, for example by typing
1695
 
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
1696
 
 
1697
 
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1698
 
  filename will issue a warning and skip over those files.
1699
 
  (Robert Collins, #3918)
1700
 
 
1701
 
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1702
 
  are present in the working tree. The configuration option ``dpush_strict``
1703
 
  can be used to set the default for this behavior.
1704
 
  (Vincent Ladeuil, #438158)
1705
 
 
1706
 
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1707
 
  merges are present in the working tree.
1708
 
  (Vincent Ladeuil, #426344)
1709
 
 
1710
 
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1711
 
  traceback.  (Martin Pool, #109115)
1712
 
 
1713
 
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1714
 
  as it is never built. (John Arbash Meinel, #430645)
1715
 
 
1716
 
* Don't restrict the command name used to run the test suite.
1717
 
  (Vincent Ladeuil, #419950)
1718
 
 
1719
 
* ftp transports were built differently when the kerberos python module was
1720
 
  present leading to obscure failures related to ASCII/BINARY modes.
1721
 
  (Vincent Ladeuil, #443041)
1722
 
 
1723
 
* Network streams now decode adjacent records of the same type into a
1724
 
  single stream, reducing layering churn. (Robert Collins)
1725
 
 
1726
 
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1727
 
  file. (Aaron Bentley, #251532)
1728
 
 
1729
 
* Registry objects should not use iteritems() when asked to use items().
1730
 
  (Vincent Ladeuil, #430510)
1731
 
 
1732
 
* Weave based repositories couldn't be cloned when committers were using
1733
 
  domains or user ids embedding '.sig'. Now they can.
1734
 
  (Matthew Fuller, Vincent Ladeuil, #430868)
1735
 
 
1736
 
Improvements
1737
 
************
1738
 
 
1739
 
* Revision specifiers can now be given in a more DWIM form, without
1740
 
  needing explicit prefixes for specifiers like tags or revision id's.
1741
 
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
1742
 
 
1743
 
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
1744
 
  compiled extensions can't be loaded.  This typically indicates a
1745
 
  packaging or installation problem.  In this case Bazaar will keep
1746
 
  running using pure-Python versions, but this may be substantially
1747
 
  slower.  The warning can be disabled by setting
1748
 
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
1749
 
  See also <https://answers.launchpad.net/bzr/+faq/703>.
1750
 
  (Martin Pool, #406113, #430529)
1751
 
 
1752
 
* Secondary errors that occur during Branch.unlock and Repository.unlock
1753
 
  no longer obscure the original error.  These methods now use a new
1754
 
  decorator, ``only_raises``.  This fixes many causes of
1755
 
  ``TooManyConcurrentRequests`` and similar errors.
1756
 
  (Andrew Bennetts, #429747)
1757
 
 
1758
 
Documentation
1759
 
*************
1760
 
 
1761
 
* Describe the new shell-like test feature. (Vincent Ladeuil)
1762
 
 
1763
 
* Help on hooks no longer says 'Not deprecated' for hooks that are
1764
 
  currently supported. (Ian Clatworthy, #422415)
1765
 
 
1766
 
API Changes
1767
 
***********
1768
 
 
1769
 
* ``bzrlib.user_encoding`` has been removed; use
1770
 
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
1771
 
 
1772
 
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
1773
 
  subclasses - the same as python's unittest module. (Robert Collins)
1774
 
  
1775
 
* ``diff._get_trees_to_diff`` has been renamed to 
1776
 
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
1777
 
  returns the old and new branches. (Gary van der Merwe)
1778
 
 
1779
 
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
1780
 
  (Martin Pool)
1781
 
 
1782
 
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
1783
 
  now defaults to comparing to the basis tree. It now checks for pending
1784
 
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
1785
 
  corresponding has_changes() calls. ``Merge.compare_basis``,
1786
 
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
1787
 
  been deprecated.
1788
 
  (Vincent Ladeuil, #440631)
1789
 
 
1790
 
* ``ProgressTask.note`` is deprecated.
1791
 
  (Martin Pool)
1792
 
 
1793
 
Internals
1794
 
*********
1795
 
 
1796
 
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
1797
 
  repository or branch object is unlocked then relocked the same way.
1798
 
  (Andrew Bennetts)
1799
 
  
1800
 
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
1801
 
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
1802
 
  This results in a 10% speedup while reading an index.
1803
 
  (John Arbash Meinel)
1804
 
 
1805
 
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
1806
 
  profiling in some situations like callbacks and generators easier.
1807
 
  (Robert Collins)
1808
 
 
1809
 
Testing
1810
 
*******
1811
 
 
1812
 
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
1813
 
  be output for every test. Note that this is very verbose! (Robert Collins)
1814
 
 
1815
 
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
1816
 
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
1817
 
 
1818
 
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
1819
 
  documentation in ``developers/testing.txt`` for details.
1820
 
  (Vincent Ladeuil)
1821
 
 
1822
 
* Some tests could end up with the same id, that was dormant for
1823
 
  a long time.
1824
 
  (Vincent Ladeuil, #442980)
1825
 
 
1826
 
* Stop showing the number of tests due to missing features in the test
1827
 
  progress bar.  (Martin Pool)
1828
 
 
1829
 
* Test parameterisation now does a shallow copy, not a deep copy of the test
1830
 
  to be parameterised. This is not expected to break external use of test
1831
 
  parameterisation, and is substantially faster. (Robert Collins)
1832
 
 
1833
 
* Tests that try to open a bzr dir on an arbitrary transport will now
1834
 
  fail unless they have explicitly permitted the transport via
1835
 
  ``self.permit_url``. The standard test factories such as ``self.get_url``
1836
 
  will permit the urls they provide automatically, so only exceptional
1837
 
  tests should need to do this. (Robert Collins)
1838
 
 
1839
 
* The break-in test no longer cares about clean shutdown of the child,
1840
 
  instead it is happy if the debugger starts up. (Robert  Collins)
1841
 
 
1842
 
* The full test suite is expected to pass when the C extensions are not
1843
 
  present. (Vincent Ladeuil, #430749)
1844
 
 
1845
 
 
1846
155
bzr 2.0.1
1847
156
#########
1848
157
 
1946
255
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1947
256
  micro = 0.) (John Arbash Meinel)
1948
257
 
1949
 
 
1950
258
bzr 2.0.0rc2
1951
259
############
1952
260
 
2003
311
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
2004
312
  (John Arbash Meinel, #419241)
2005
313
 
 
314
* Fix a segmentation fault when computing the ``merge_sort`` of a graph
 
315
  that has a ghost in the mainline ancestry.
 
316
  (John Arbash Meinel, #419241)
 
317
 
2006
318
* ``groupcompress`` sort order is now more stable, rather than relying on
2007
319
  ``topo_sort`` ordering. The implementation is now
2008
320
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
2070
382
Bug Fixes
2071
383
*********
2072
384
 
2073
 
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2074
 
  (Jason Spashett, #76616)
2075
 
 
2076
385
* Fetches were being requested in 'groupcompress' order, but weren't
2077
386
  recombining the groups. Thus they would 'fragment' to get the correct
2078
387
  order, but not 'recombine' to actually benefit from it. Until we get
2118
427
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
2119
428
  (Robert Collins, #305006)
2120
429
 
2121
 
* Commit of specific files no longer prevents using the iter_changes
 
430
* Commit of specific files no longer prevents using the the iter_changes
2122
431
  codepath. On 2a repositories, commit of specific files should now be as
2123
432
  fast, or slightly faster, than a full commit. (Robert Collins)
2124
433
 
2142
451
  classes changed to manage lock lifetime of the trees they open in a way
2143
452
  consistent with reader-exclusive locks. (Robert Collins, #305006)
2144
453
 
 
454
Internals
 
455
*********
 
456
 
2145
457
Testing
2146
458
*******
2147
459
 
2188
500
  a tree with content filtering where the size of the canonical form
2189
501
  cannot be cheaply determined.  (Martin Pool)
2190
502
 
2191
 
* When manually creating transport servers in test cases, a new helper
2192
 
  ``TestCase.start_server`` that registers a cleanup and starts the server
2193
 
  should be used. (Robert Collins)
2194
503
 
2195
504
bzr 1.18
2196
505
########
2528
837
  ``countTestsCases``. (Robert Collins)
2529
838
 
2530
839
 
2531
 
bzr 1.17.1 (unreleased)
2532
 
#######################
2533
 
 
2534
 
Bug Fixes
2535
 
*********
2536
 
 
2537
 
* The optional ``_knit_load_data_pyx`` C extension was never being
2538
 
  imported.  This caused significant slowdowns when reading data from
2539
 
  knit format repositories.  (Andrew Bennetts, #405653)
2540
 
  
2541
 
 
2542
840
bzr 1.17
2543
841
########
2544
842
:Codename: so-late-its-brunch
2887
1185
************
2888
1186
 
2889
1187
* A new repository format ``2a`` has been added.  This is a beta release
2890
 
  of the brisbane-core (aka group-compress) project.  This format now
 
1188
  of the the brisbane-core (aka group-compress) project.  This format now
2891
1189
  suitable for wider testing by advanced users willing to deal with some
2892
1190
  bugs.  We would appreciate test reports, either positive or negative.
2893
1191
  Format 2a is substantially smaller and faster for many operations on
3039
1337
Testing
3040
1338
*******
3041
1339
 
3042
 
* ``make check`` no longer repeats the test run in ``LANG=C``.
3043
 
  (Martin Pool, #386180)
3044
 
 
3045
1340
* The number of cores is now correctly detected on OSX. (John Szakmeister)
3046
1341
 
3047
1342
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
3616
1911
 
3617
1912
* Added ``bzrlib.inventory_delta`` module.  This will be used for
3618
1913
  serializing and deserializing inventory deltas for more efficient
3619
 
  streaming on the network.  (Robert Collins, Andrew Bennetts)
 
1914
  streaming on the the network.  (Robert Collins, Andrew Bennetts)
3620
1915
 
3621
1916
* ``Branch._get_config`` has been added, which splits out access to the
3622
1917
  specific config file from the branch. This is used to let RemoteBranch
3811
2106
* Multiple authors for a commit can now be recorded by using the "--author"
3812
2107
  option multiple times. (James Westby, #185772)
3813
2108
 
3814
 
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
 
2109
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
3815
2110
 
3816
2111
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
3817
2112
  branch in your web browser, as long as the branch is on Launchpad at all.
6340
4635
  exception. (Andrew Bennetts)
6341
4636
 
6342
4637
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
6343
 
  options for debugging tests, these are complementary to the -D
 
4638
  options for debugging tests, these are complementary to the the -D
6344
4639
  options.  The ``-Dselftest_debug`` global option has been replaced by the
6345
4640
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
6346
4641
 
7095
5390
  checkouts.  (Aaron Bentley, #182040)
7096
5391
 
7097
5392
* Stop polluting /tmp when running selftest.
7098
 
  (Vincent Ladeuil, #123363)
 
5393
  (Vincent Ladeuil, #123623)
7099
5394
 
7100
5395
* Switch from NFKC => NFC for normalization checks. NFC allows a few
7101
5396
  more characters which should be considered valid.
12538
10833
  diff, status, etc.
12539
10834
 
12540
10835
 
 
10836
bzr ?.?.? (not released yet)
 
10837
############################
 
10838
 
 
10839
:Codename: template
 
10840
:2.0.2: ???
 
10841
 
 
10842
Compatibility Breaks
 
10843
********************
 
10844
 
 
10845
New Features
 
10846
************
 
10847
 
 
10848
Bug Fixes
 
10849
*********
 
10850
 
 
10851
Improvements
 
10852
************
 
10853
 
 
10854
Documentation
 
10855
*************
 
10856
 
 
10857
API Changes
 
10858
***********
 
10859
 
 
10860
Internals
 
10861
*********
 
10862
 
 
10863
Testing
 
10864
*******
 
10865
 
 
10866
 
 
10867
 
12541
10868
..
12542
 
   vim: tw=74 ft=rst ff=unix encoding=utf-8
 
10869
   vim: tw=74 ft=rst ff=unix