/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: Canonical.com Patch Queue Manager
  • Date: 2009-03-25 04:20:12 UTC
  • mfrom: (3468.3.4 controlfiles)
  • Revision ID: pqm@pqm.ubuntu.com-20090325042012-23a6pm0mraw7g2kg
(mbp) better CountedLock handling of tokens,
        and bzrdir takes more responsibility for default file modes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
####################
 
1
====================
2
2
Bazaar Release Notes
3
 
####################
 
3
====================
 
4
 
4
5
 
5
6
.. contents:: List of Releases
6
7
   :depth: 1
7
8
 
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
 
  (Robert Collins)
21
 
 
22
 
New Features
23
 
************
24
 
 
25
 
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
26
 
  ``--show-diff``.
27
 
  (Parth Malwankar, #571467)
28
 
  
29
 
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
30
 
  the default ignore rules used by bzr. The flag ``--old-default-rules``
31
 
  is no longer supported by ``ignore``.
32
 
  (Parth Malwankar, #538703)
33
 
 
34
 
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
35
 
  can save disk space by deleting obsolete pack files created during the
36
 
  pack operation.
37
 
  (Parth Malwankar, #304320)
38
 
 
39
 
Bug Fixes
40
 
*********
41
 
 
42
 
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
43
 
  group ownership from the containing directory. This allow bzr to work
44
 
  better with sudo.
45
 
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
46
 
 
47
 
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
48
 
  are part of Y ancestry but not part of X ancestry (aka the graph
49
 
  difference).
50
 
  (Vincent Ladeuil, #320119)
51
 
 
52
 
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
53
 
  (Vincent Ladeuil, #566670)
54
 
 
55
 
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
56
 
  (Vincent Ladeuil, #563997)
57
 
 
58
 
* Don't mention --no-strict when we just issue the warning about unclean trees.
59
 
  (Vincent Ladeuil, #401599)
60
 
 
61
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
62
 
  versions before 1.6.
63
 
  (Andrew Bennetts, #528041)
64
 
 
65
 
* Reduce peak memory by one copy of compressed text.
66
 
  (John Arbash Meinel, #566940)
67
 
 
68
 
* Show the filenames when a file rename fails so that the error will be
69
 
  more comprehensible.
70
 
  (Martin Pool, #491763)
71
 
 
72
 
Improvements
73
 
************
74
 
 
75
 
* ``append_revisions_only`` will now be interpreted as a boolean and a
76
 
  warning emitted if illegal values are used. Note that for projects
77
 
  that needs to maintain compatibility with previsous bzr versions,
78
 
  only 'True' and 'False' strings must be used (previous versions of
79
 
  bzr will interpret all strings differing from 'True'
80
 
  (case-sensitive) as false.
81
 
  (Brian de Alwis, Vincent Ladeuil)
82
 
 
83
 
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
84
 
  be interpreted as a boolean.
85
 
  (Vincent Ladeuil)
86
 
 
87
 
Documentation
88
 
*************
89
 
 
90
 
API Changes
91
 
***********
92
 
 
93
 
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
94
 
  some kinds of ``merge_file_content`` hook functions.
95
 
  (Andrew Bennetts)
96
 
  
97
 
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
98
 
  `user_transport`, `control_url` and `control_transport` members pointing
99
 
  respectively to the directory containing the ``.bzr`` control directory, 
100
 
  and to the directory within ``.bzr`` used for the particular component.
101
 
  All of them inherit from `ControlComponent` which provides default
102
 
  implementations.
103
 
  (Martin Pool)
104
 
 
105
 
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
106
 
  expected to return an object which can be used to unlock them. This reduces
107
 
  duplicate code when using cleanups. The previous 'tokens's returned by
108
 
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
109
 
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
110
 
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
111
 
 
112
 
Internals
113
 
*********
114
 
 
115
 
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
116
 
  (Robert Collins)
117
 
 
118
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
119
 
  suboptimal network behaviour is noticed; instead it just mutters to the
120
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
121
 
  This was causing unnecessary aborts for performance bugs that are minor
122
 
  at worst.
123
 
  (Andrew Bennetts, #528041)
124
 
 
125
 
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
126
 
  files loaded from disk. To ensure docstrings needed for help are never
127
 
  stripped, the prefix ``__doc__ =`` should now be used.
128
 
  (Martin <gzlist@googlemail.com>)
129
 
 
130
 
Testing
131
 
*******
132
 
 
133
 
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
134
 
  our first in-tree matcher. See the module docstring for details.
135
 
  (Robert Collins)
136
 
 
137
 
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
138
 
   (Gordon Tyler, #551332)
139
 
 
140
 
* Workaround ``Crypto.Random`` check leading to spurious test
141
 
  failures on Lucid, FreeBSD and gentoo.  
142
 
  (Vincent Ladeuil, #528436)
143
 
 
144
 
bzr 2.2b2
145
 
#########
146
 
 
147
 
:2.2b2: 2010-04-16
148
 
 
149
 
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
150
 
incompatibility in the 2.2b1 release.  It also includes a swag of
151
 
performance, usability and correctness improvements: test feedback on all
152
 
of these would be welcome.
153
 
 
154
 
 
155
 
New Features
156
 
************
157
 
 
158
 
* ``bzr diff`` now supports a --format option, which can be used to 
159
 
  select alternative diff formats. (Jelmer Vernooij, #555994)
160
 
 
161
 
Bug Fixes
162
 
*********
163
 
 
164
 
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
165
 
  instead of failing when dirty trees are involved. The corresponding
166
 
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
167
 
  True explicitly to get the previous behaviour.  
168
 
  (Vincent Ladeuil, #519319)
169
 
 
170
 
* ``bzr export`` to tar file does not fail if any parent directory
171
 
  contains unicode characters. This works around upstream Python bug
172
 
  http://bugs.python.org/issue8396 .
173
 
  (Parth Malwankar, #413406)
174
 
 
175
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
176
 
  (Aaron Bentley, #559436)
177
 
 
178
 
* ``bzr update`` when a pending merge in the working tree has been merged
179
 
  into the master branch will no longer claim that old commits have become
180
 
  pending merges. (Robert Collins, #562079)
181
 
 
182
 
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
183
 
  config as in previous versions of bzrlib. (Robert Collins)
184
 
 
185
 
* Fix glitch in the warning about unclean trees display.
186
 
  (Vincent Ladeuil, #562665)
187
 
 
188
 
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
189
 
  (Martin Pool)
190
 
 
191
 
* Help messages generated by ``RegistryOption.from_kwargs`` list the
192
 
  switches in alphabetical order, rather than in an undefined order.
193
 
  (Martin von Gagern, #559409)
194
 
 
195
 
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
196
 
  Apport crash reports, to avoid "This problem report applies to a program
197
 
  which is not installed any more" error.
198
 
  (Martin Pool, James Westby, #528114)
199
 
 
200
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
201
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
202
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
203
 
  errors after two window resizes.
204
 
  (Andrew Bennetts)
205
 
 
206
 
* When invoked with a range revision, ``bzr log`` doesn't show revisions
207
 
  that are not part of the Y revisions ancestry anymore when invoked with
208
 
  -rX..Y.
209
 
  (Vincent Ladeuil, #474807)
210
 
 
211
 
* Properly handle ``param_name`` attribute for ``ListOption``.
212
 
  (Martin von Gagern, 387117)
213
 
 
214
 
Improvements
215
 
************
216
 
 
217
 
* ``bzr commit`` will prompt before using a commit message that was
218
 
  generated by a template and not edited by the user.
219
 
  (Robert Collins, #530265)
220
 
 
221
 
* ``bzr diff`` read-locks the trees and branches only once, saving about
222
 
  10-20ms on ``bzr diff`` in a bzr.dev tree.
223
 
  (Andrew Bennetts)
224
 
 
225
 
* ``bzr missing`` read-locks the branches only once.
226
 
  (Andrew Bennetts)
227
 
  
228
 
* ``bzr pull`` locks the branches and tree only once.
229
 
  (Andrew Bennetts)
230
 
  
231
 
* Index lookups in pack repositories search recently hit pack files first.  
232
 
  In repositories with many pack files this can greatly reduce the
233
 
  number of files accessed, the number of bytes read, and the number of
234
 
  read calls.  An incremental pull via plain HTTP takes half the time and
235
 
  bytes for a moderately large repository.  (Andrew Bennetts)
236
 
 
237
 
* Index lookups only re-order the indexes when the hit files aren't
238
 
  already first. Reduces the cost of reordering
239
 
  (John Arbash Meinel, #562429)
240
 
 
241
 
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
242
 
  less.)
243
 
  (Martin Pool, #553017)
244
 
 
245
 
API Changes
246
 
***********
247
 
 
248
 
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
249
 
  ``get_trees_and_branches_to_diff_locked`` instead.
250
 
  (Andrew Bennetts)
251
 
  
252
 
Internals
253
 
*********
254
 
 
255
 
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
256
 
  2.1 method of calling run() to perform testing or direct use via the API
257
 
  is now possible again. As part of this, the _operation attribute on
258
 
  Command is now transient and only exists for the duration of ``run()``.
259
 
  (Robert Collins)
260
 
 
261
 
bzr 2.2.0b1
262
 
###########
263
 
 
264
 
:2.2.0b1: 2010-04-01
265
 
 
266
 
Compatibility Breaks
267
 
********************
268
 
 
269
 
* BTreeGraphIndex can now take an offset to indicate that the data starts
270
 
  somewhere other than then beginning of the file. (John Arbash Meinel)
271
 
 
272
 
* Deleted very old hidden commands ``versionedfile-list``,
273
 
  ``weave-plan-merge``, ``weave-merge-text``.
274
 
  (Martin Pool)
275
 
 
276
 
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
277
 
  have been removed. (Jelmer Vernooij)
278
 
 
279
 
* ``Repository.get_revision_inventory()`` has been removed in favor of
280
 
  ``Repository.get_inventory()``. (Jelmer Vernooij)
281
 
 
282
 
* All test servers have been moved out of the bzrlib.transport hierarchy to
283
 
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
284
 
  PathFilteringServer. ``bzrlib`` users may encounter test failures that can
285
 
  be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
286
 
  ``bzrlib.tests.test_server``.
287
 
  (Vincent Ladeuil)
288
 
 
289
 
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
290
 
  as its second parameter, for consistency with the initialize() method of
291
 
  other formats. (Jelmer Vernooij)
292
 
 
293
 
New Features
294
 
************
295
 
 
296
 
* Added ``bzr remove-branch`` command that can remove a local or remote 
297
 
  branch. (Jelmer Vernooij, #276295)
298
 
 
299
 
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
300
 
  to set file mtimes to the last timestamp of the last revision in which
301
 
  they were changed rather than the current time. (Jelmer Vernooij)
302
 
 
303
 
* If the Apport crash-reporting tool is available, bzr crashes are now
304
 
  stored into the ``/var/crash`` apport spool directory, and the user is
305
 
  invited to report them to the developers from there, either
306
 
  automatically or by running ``apport-bug``.  No information is sent
307
 
  without specific permission from the user.  (Martin Pool, #515052)
308
 
 
309
 
* Parsing of command lines, for example in ``diff --using``, no longer
310
 
  treats backslash as an escape character on Windows.   (Gordon Tyler,
311
 
  #392248)
312
 
 
313
 
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
314
 
  a list of plugin names separated by ':' (';' on windows).
315
 
  (Vincent Ladeuil, #411413)
316
 
 
317
 
* Plugins can be loaded from arbitrary locations by defining
318
 
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
319
 
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
320
 
  specified plugins. This is targeted at plugin developers for punctual
321
 
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
322
 
  (Vincent Ladeuil, #82693)
323
 
 
324
 
* Tag names can now be determined automatically by ``automatic_tag_name`` 
325
 
  hooks on ``Branch`` if they are not specified on the command line.
326
 
  (Jelmer Vernooij)
327
 
 
328
 
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
329
 
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
330
 
  as resolved is still accessible via the ``--done`` default action.
331
 
  (Vincent Ladeuil)
332
 
 
333
 
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
334
 
  (Aaron Bentley, Jonathan Lange)
335
 
 
336
 
Bug Fixes
337
 
*********
338
 
 
339
 
* Added docstring for ``Tree.iter_changes``
340
 
  (John Arbash Meinel, #304182)
341
 
 
342
 
* Allow additional arguments to
343
 
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
344
 
 
345
 
* Allow exporting a single file using ``bzr export``.
346
 
  (Michal Junák, #511987)
347
 
 
348
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
349
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
350
 
  IO, which are often poorly handled by Python's libraries and parts of
351
 
  bzrlib.  (Andrew Bennetts, #496813)
352
 
 
353
 
* Avoid infinite recursion when probing for apport.
354
 
  (Vincent Ladeuil, #516934)
355
 
 
356
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
357
 
  (Martin Pool, #331095)
358
 
 
359
 
* Avoid truncating svn URLs.
360
 
  (Martin Pool, Martin von Gagern, #545185)
361
 
 
362
 
* ``bzr add`` will not add conflict related files unless explicitly required.
363
 
  (Vincent Ladeuil, #322767, #414589)
364
 
 
365
 
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
366
 
  indices do not have reference lists, so ``dump-btree`` will simply show
367
 
  ``None`` instead.  (Andrew Bennetts, #488607)
368
 
 
369
 
* ``bzr help`` will no longer trigger the get_missing_command hook when
370
 
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
371
 
  did you mean log?') when getting help. In future we may trigger the hook 
372
 
  deliberately when no help topics match from any help index.
373
 
  (Robert Collins, #396261)
374
 
 
375
 
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
376
 
  revspec as representing the first revision of the branch.
377
 
  (Vincent Ladeuil, #519862)
378
 
 
379
 
* ``bzr remove-tree`` can now remove multiple working trees.
380
 
  (Jared Hance, Andrew Bennetts, #253137)
381
 
 
382
 
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
383
 
  the kept file on content conflicts where one side deleted the file.
384
 
  (Vincent Ladeuil, #529968)
385
 
 
386
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
387
 
  permissions as ``.bzr`` directory on a POSIX OS.
388
 
  (Parth Malwankar, #262450)
389
 
 
390
 
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
391
 
  of ``backup.bzr``. This directory is ignored by bzr commands such as
392
 
  ``add``.
393
 
  (Parth Malwankar, #335033, #300001)
394
 
 
395
 
* Cope with non-utf8 characters inside ``.bzrignore``.
396
 
  (Jason Spashett, #183504)
397
 
 
398
 
* Correctly interpret "451 Rename/move failure: Directory not empty" from
399
 
  ftp servers while trying to take a lock.
400
 
  (Martin Pool, #528722)
401
 
 
402
 
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
403
 
  changes occured between the workingtree and one of its parents.
404
 
  (Vincent Ladeuil, #535547)
405
 
 
406
 
* Fix ``log`` to better check ancestors even if merged revisions are involved.
407
 
  (Vincent Ladeuil, #476293)
408
 
 
409
 
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
410
 
  on os.lisdir() order and is now reliable.
411
 
  (Vincent Ladeuil, #552922).
412
 
 
413
 
* Many IO operations that returned ``EINTR`` were retried even if it
414
 
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
415
 
  only retries operations that are safe to retry, and in some cases has
416
 
  switched to operations that can be retried (e.g. ``sock.send`` rather than
417
 
  ``sock.sendall``).
418
 
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
419
 
 
420
 
* Path conflicts now support --take-this and --take-other even when a
421
 
  deletion is involved.
422
 
  (Vincent Ladeuil, #531967)
423
 
 
424
 
* Network transfer amounts and rates are now displayed in SI units according
425
 
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
426
 
  (Gordon Tyler, #514399)
427
 
 
428
 
* Support kind markers for socket and fifo filesystem objects. This
429
 
  prevents ``bzr status --short`` from crashing when those files are
430
 
  present.  (John Arbash Meinel, #303275)
431
 
 
432
 
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
433
 
   directory. (Parth Malwankar, #138600)
434
 
 
435
 
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
436
 
  the debugger won't kill the session.
437
 
  (Martin <gzlist@googlemail.com>, #162502)
438
 
 
439
 
* Tolerate patches with leading noise in ``bzr-handle-patch``.
440
 
  (Toshio Kuratomi, Martin Pool, #502076)
441
 
 
442
 
* ``update -r`` now supports updating to revisions that are not on
443
 
  mainline (i.e. it supports dotted revisions).
444
 
  (Parth Malwankar, #517800)
445
 
 
446
 
* Use first apparent author not committer in GNU Changelog format.
447
 
  (Martin von Gagern, #513322)
448
 
 
449
 
API Changes
450
 
***********
451
 
 
452
 
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
453
 
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
454
 
  (Jelmer Vernooij)
455
 
 
456
 
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
457
 
  branch to create. (Jelmer Vernooij)
458
 
 
459
 
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
460
 
  colocated branch to open. (Jelmer Vernooij)
461
 
 
462
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
463
 
  can set a signal handler and call ``signal.siginterrupt(signum,
464
 
  False)`` for it, if the platform and Python version supports it.
465
 
  (Andrew Bennetts, #496813)
466
 
 
467
 
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
468
 
  run when starting up; it sets up several things that previously needed
469
 
  to be done separately.
470
 
  (Martin Pool, #507710)
471
 
 
472
 
* Exporters now support a ``per_file_timestamps`` argument to write out the 
473
 
  timestamp of the commit in which a file revision was introduced.
474
 
  (Jelmer Vernooij)
475
 
 
476
 
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
477
 
  present in a control directory. (Jelmer Vernooij)
478
 
 
479
 
* New method ``Repository.get_known_graph_ancestry()``. 
480
 
  (Jelmer Vernooij, #495502)
481
 
 
482
 
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
483
 
  (Neil Santos)
484
 
 
485
 
* Remove unused ``CommandFailed`` exception.
486
 
  (Martin Pool)
487
 
 
488
 
Internals
489
 
*********
490
 
 
491
 
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
492
 
  ``message_callback`` in the same way that commit does. (Robert Collins)
493
 
 
494
 
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
495
 
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
496
 
  of date. (Gary van der Merwe)
497
 
 
498
 
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
499
 
  functions to load or disable plugins if they wish to use a different
500
 
  plugin mechanism; the --help, --version and no-command name code paths
501
 
  now use the generic pluggable command lookup infrastructure.
502
 
  (Robert Collins)
503
 
 
504
 
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
505
 
  which can be set to add extra help to the error. (Gary van der Merwe)
506
 
 
507
 
* New method ``Branch.automatic_tag_name`` that can be used to find the
508
 
  tag name for a particular revision automatically. (Jelmer Vernooij)
509
 
 
510
 
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
511
 
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
512
 
  (Jelmer Vernooij)
513
 
 
514
 
Testing
515
 
*******
516
 
 
517
 
* bzr now has a ``.testr.conf`` file in its source tree configured
518
 
  appropriately for running tests with Testrepository
519
 
  (``https://launchpad.net/testrepository``). (Robert Collins)
520
 
 
521
 
* Documentation about testing with ``subunit`` has been tweaked.
522
 
  (Robert Collins)
523
 
 
524
 
* Known failures has been added for resolve --take-other on ParentLoop
525
 
  conflicts. This reflects bug #537956 without fixing it.
526
 
  (Vincent Ladeuil)
527
 
 
528
 
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
529
 
  Python modules are loaded, to guard against startup time or library
530
 
  dependency regressions.
531
 
  (Martin Pool)
532
 
 
533
 
* PQM will now run with subunit output. To analyze a PQM error use
534
 
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
535
 
 
536
 
* Stop sending apport crash files to ``.cache`` in the directory from
537
 
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
538
 
 
539
 
* Tests no longer fail if "close() called during concurrent
540
 
  operation on the same file object" occurs when closing the log file
541
 
  (which can happen if a thread tries to write to the log file at the
542
 
  wrong moment).  An warning will be written to ``stderr`` when this
543
 
  happens, and another warning will be written if the log file could not
544
 
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
545
 
 
546
 
bzr 2.1.2
547
 
#########
548
 
 
549
 
:2.1.2: NOT RELEASED YET
550
 
 
551
 
Bug Fixes
552
 
*********
553
 
 
554
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
555
 
  (Aaron Bentley, #559436)
556
 
 
557
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
558
 
  versions before 1.6.
559
 
  (Andrew Bennetts, #528041)
560
 
 
561
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
562
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
563
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
564
 
  errors after two window resizes.
565
 
  (Andrew Bennetts)
566
 
 
567
 
Internals
568
 
*********
569
 
 
570
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
571
 
  suboptimal network behaviour is noticed; instead it just mutters to the
572
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
573
 
  This was causing unnecessary aborts for performance bugs that are minor
574
 
  at worst.
575
 
  (Andrew Bennetts, #528041)
576
 
 
577
 
 
578
 
bzr 2.1.1
579
 
#########
580
 
 
581
 
:2.1.1: 2010-03-24
582
 
 
583
 
This is a small bugfix release.  Upgrading is recommended for anyone
584
 
running 2.1.0 or earlier.
585
 
 
586
 
Bug Fixes
587
 
*********
588
 
 
589
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
590
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
591
 
  IO, which are often poorly handled by Python's libraries and parts of
592
 
  bzrlib.  (Andrew Bennetts, #496813)
593
 
 
594
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
595
 
  (Martin Pool, #331095)
596
 
 
597
 
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
598
 
 
599
 
* Fix stub sftp test server to call os.getcwdu().
600
 
  (Vincent Ladeuil, #526221, #526353)
601
 
 
602
 
* Fixed CHM generation by moving the NEWS section template into
603
 
  a separate file. (Ian Clatworthy, #524184)
604
 
 
605
 
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
606
 
 
607
 
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
608
 
  problems importing bzrlib from a non-main thread.
609
 
  (Elliot Murphy, #521989)
610
 
 
611
 
* Repositories accessed via a smart server now reject being stacked on a
612
 
  repository in an incompatible format, as is the case when accessing them
613
 
  via other methods.  This was causing fetches from those repositories via
614
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
615
 
  (Andrew Bennetts, #562380)
616
 
 
617
 
* Standardize the error handling when creating a new ``StaticTuple``
618
 
  (problems will raise TypeError). (Matt Nordhoff, #457979)
619
 
 
620
 
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
621
 
  ``StaticTuple`` extensions, rather than having the build fail randomly.
622
 
  (John Arbash Meinel, #449776)
623
 
 
624
 
Documentation
625
 
*************
626
 
 
627
 
* Added a link to the Desktop Guide. (Ian Clatworthy)
628
 
 
629
 
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
630
 
 
631
 
* Drop Google Analytics from the core docs as they caused problems
632
 
  in the CHM files. (Ian Clatworthy, #502010)
633
 
 
634
 
API Changes
635
 
***********
636
 
 
637
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
638
 
  can set a signal handler and call ``signal.siginterrupt(signum,
639
 
  False)`` for it, if the platform and Python version supports it.
640
 
  (Andrew Bennetts, #496813)
641
 
 
642
 
 
643
 
bzr 2.1.0
644
 
#########
645
 
 
646
 
:Codename: Strasbourg
647
 
:2.1.0: 2010-02-11
648
 
 
649
 
This release marks our second long-term-stable series. The Bazaar team
650
 
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
651
 
releases, along with 2.2 development releases. 
652
 
 
653
 
This is a fairly incremental update, focusing on polish and bugfixing.
654
 
There are no changes for supported disk formats. Key updates include
655
 
reduced memory consumption for many operations, a new per-file merge
656
 
hook, ignore patterns can now include '!' to exclude files, globbing
657
 
support for all commands on Windows, and support for addressing home
658
 
directories via ``bzr+ssh://host/~/`` syntax.
659
 
 
660
 
Users are encouraged to upgrade from the 2.0 stable series.
661
 
 
662
 
Bug Fixes
663
 
*********
664
 
 
665
 
* Don't require testtools to use sftp.
666
 
  (Vincent Ladeuil, #516183)
667
 
 
668
 
* Fix "AttributeError in Inter1and2Helper" during fetch.
669
 
  (Martin Pool, #513432)
670
 
 
671
 
* ``bzr update`` performs the two merges in a more logical order and will stop
672
 
  when it encounters conflicts.  
673
 
  (Gerard Krol, #113809)
674
 
 
675
 
* Give a better error message when doing ``bzr bind`` in an already bound
676
 
  branch.  (Neil Martinsen-Burrell, #513063)
677
 
 
678
 
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
679
 
  in a pack repository, which can happen harmlessly if the abort occurs during
680
 
  finishing the write group.  Also use ``bzrlib.cleanup`` so that any
681
 
  other errors that occur while aborting the individual packs won't be
682
 
  hidden by secondary failures when removing the corresponding indices.
683
 
  (Andrew Bennetts, #423015)
684
 
 
685
 
* Set the mtime of files exported to a directory by ``bzr export`` all to
686
 
  the same value to avoid confusing ``make`` and other date-based build
687
 
  systems. (Robert Collins, #515631)
688
 
 
689
 
Improvements
690
 
************
691
 
 
692
 
* Fetching into experimental formats will now print a warning. (Jelmer
693
 
  Vernooij)
694
 
 
695
 
API Changes
696
 
***********
697
 
 
698
 
* ``Repository.deserialise_inventory`` has been renamed to 
699
 
  ``Repository._deserialise_inventory`` to indicate it is private.
700
 
  (Jelmer Vernooij)
701
 
 
702
 
* ``Repository.get_inventory_xml`` has been renamed to 
703
 
  ``Repository._get_inventory_xml`` to indicate it is private. 
704
 
  (Jelmer Vernooij)
705
 
 
706
 
* ``Repository.serialise_inventory`` has been renamed to 
707
 
  ``Repository._serialise_inventory`` to indicate it is private.
708
 
 
709
 
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
710
 
  same time was broken due to race conditions with a module level page
711
 
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
712
 
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
713
 
  the same high level objects such as ``bzrlib.repository.Repository``
714
 
  from different threads. chk_map now uses a thread local cache which may
715
 
  increase memory pressure on processes using threads.
716
 
  (Robert Collins, John Arbash Meinel, #514090)
717
 
 
718
 
* The new ``merge_file_content`` should now be ok with tests to avoid
719
 
  regressions.
720
 
  (Vincent Ladeuil, #515597)
721
 
 
722
 
Internals
723
 
*********
724
 
 
725
 
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
726
 
  blocks in several places in ``bzrlib.merge``.  This avoids masking prior
727
 
  errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
728
 
  in ``do_merge``.
729
 
  (Andrew Bennetts, #517275)
730
 
 
731
 
API Changes
732
 
***********
733
 
 
734
 
* The ``remove_index`` method of
735
 
  ``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
736
 
  argument.  This argument was always ignored.
737
 
  (Andrew Bennetts, #423015)
738
 
 
739
 
bzr 2.1.0rc2
740
 
############
741
 
 
742
 
:Codename: after the bubbles
743
 
:2.1.0rc2: 2010-01-29
744
 
 
745
 
This is a quick-turn-around to update a small issue with our new per-file
746
 
merge hook. We expect no major changes from this to the final 2.1.0.
747
 
 
748
 
API Changes
749
 
***********
750
 
 
751
 
* The new ``merge_file_content`` hook point has been altered to provide a
752
 
  better API where state for extensions can be stored rather than the
753
 
  too-simple function based approach. This fixes a performance regression
754
 
  where branch configuration would be parsed per-file during merge. As
755
 
  part of this the included news_merger has been refactored into a base
756
 
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
757
 
  (Robert Collins, John Arbash Meinel, #513822)
758
 
 
759
 
 
760
 
bzr 2.1.0rc1
761
 
############
762
 
 
763
 
:Codename: the 'new' stable
764
 
:2.1.0rc1: 2009-01-21
765
 
 
766
 
This is the first stable release candidate for Bazaar's 2.1 series. From
767
 
this point onwards, the 2.1 series will be considered stable (as the 2.0
768
 
series) and only bugfixes are expected to be incorporated. The dozen or so
769
 
bugfixes in the 2.0.4 release are also included in this release (along
770
 
with more than 15 more bugfixes). Some of the interesting features are
771
 
support for per-file merge hooks, ``bzr unshelve --preview``, support
772
 
for using ! in ignore files to exclude files from being ignored, a small
773
 
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
774
 
This looks to be a very good start for a new stable series.
775
 
 
776
 
 
777
 
New Features
778
 
************
779
 
 
780
 
* Add bug information to log output when available.
781
 
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
782
 
 
783
 
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
784
 
  to register custom merge logic, e.g. to provide smarter merging for
785
 
  particular files.
786
 
 
787
 
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
788
 
  default, to enable it add a ``news_merge_files`` option to your
789
 
  configuration.  Consult ``bzr help news_merge`` for more information.
790
 
  (Andrew Bennetts)
791
 
  
792
 
* ``bzr branch`` now takes a ``--bind`` option. This lets you
793
 
  branch and bind all in one command. (Ian Clatworthy)
794
 
 
795
 
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
796
 
  a specific revision of a branch. (Daniel Watkins, #183559)
797
 
 
798
 
* ``bzr unshelve --preview`` can now be used to show how a patch on the
799
 
  shelf would be applied to the working tree.
800
 
  (Guilherme Salgado, #308122)
801
 
 
802
 
* ``bzr update`` now takes a ``--revision`` argument. This lets you
803
 
  change the revision of the working tree to any revision in the
804
 
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
805
 
  Martin Pool, #45719)
806
 
 
807
 
* ``-Dbytes`` can now be used to display the total number of bytes
808
 
  transferred for the current command. This information is always logged
809
 
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
810
 
 
811
 
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
812
 
  ignore patterns and take precedence over regular ignores.  Such 
813
 
  exceptions are used to specify files that should be versioned which 
814
 
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
815
 
  ignore patterns, but have highest precedence, even over the '!' 
816
 
  exception patterns. (John Whitley, #428031)
817
 
 
818
 
* The ``supress_warnings`` configuration option has been introduced to disable
819
 
  various warnings (it currently only supports the ``format_deprecation``
820
 
  warning). The new option can be set in any of the following locations:
821
 
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
822
 
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
823
 
 
824
 
Bug Fixes
825
 
*********
826
 
 
827
 
* Always show a message if an OS error occurs while trying to run a
828
 
  user-specified commit message editor.
829
 
  (Martin Pool, #504842)
830
 
 
831
 
* ``bzr diff`` will now use the epoch when it is unable to determine 
832
 
  the timestamp of a file, if the revision it was introduced in is a
833
 
  ghost. (Jelmer Vernooij, #295611)
834
 
 
835
 
* ``bzr switch -b`` can now create branches that are located using directory
836
 
  services such as ``lp:``, even when the branch name doesn't contain a
837
 
  '/'.  (Neil Martinsen-Burrell, #495263)
838
 
 
839
 
* ``bzr unshelve`` has improved messages about what it is doing.
840
 
  (Neil Martinsen-Burrell, #496917)
841
 
 
842
 
* Concurrent autopacking is more resilient to already-renamed pack files.
843
 
  If we find that a file we are about to obsolete is already obsoleted, we
844
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
845
 
  The code is also fault tolerant if a file goes missing, assuming that
846
 
  another process already removed the file.
847
 
  (John Arbash Meinel, Gareth White, #507557)
848
 
 
849
 
* Fix "Too many concurrent requests" in reconcile when network connection
850
 
  fails.  (Andrew Bennetts, #503878)
851
 
 
852
 
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
853
 
  that caused some tests to fail when run in a non-default order.
854
 
  Probably no user impact.  (Martin Pool, #504102)
855
 
 
856
 
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
857
 
  (Andrew Bennetts, #506274)
858
 
 
859
 
* FTP transports support Unicode paths by encoding/decoding them as utf8.
860
 
  (Vincent Ladeuil, #472161)
861
 
 
862
 
* Listen to the SIGWINCH signal to update the terminal width.
863
 
  (Vincent Ladeuil, #316357)
864
 
 
865
 
* Progress bars are now hidden when ``--quiet`` is given.
866
 
  (Martin Pool, #320035)
867
 
 
868
 
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
869
 
  whatever is written to it.  This un-breaks some plugin tests that
870
 
  depended on this behaviour.
871
 
  (Martin Pool, #499757)
872
 
 
873
 
* When operations update the working tree, all affected files should end
874
 
  up with the same mtime. (eg. when versioning a generated file, if you
875
 
  update the source and the generated file together, the generated file
876
 
  should appear up-to-date.)
877
 
  (John Arbash Meinel, Martin <gzlist>, #488724)
878
 
 
879
 
Improvements
880
 
************
881
 
 
882
 
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
883
 
  All the builtin commands now use ``add_cleanup`` rather than
884
 
  ``try``/``finally`` blocks where applicable as it is simpler and more
885
 
  robust.  (Andrew Bennetts)
886
 
 
887
 
* All except a small number of storage formats are now hidden, making
888
 
  the help for numerous commands far more digestible. (Ian Clatworthy)
889
 
 
890
 
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
891
 
  path/to/repo``) will now include "location is a repository" as a hint in
892
 
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
893
 
 
894
 
* Push will now inform the user when they are trying to push to a foreign 
895
 
  VCS for which roundtripping is not supported, and will suggest them to 
896
 
  use dpush. (Jelmer Vernooij)
897
 
 
898
 
* The version of bzr being run is now written to the log file.
899
 
  (__monty__, #257170)
900
 
 
901
 
* Transport network activity indicator is shown more of the time when
902
 
  Bazaar is doing network IO.
903
 
  (Martin Pool)
904
 
 
905
 
Documentation
906
 
*************
907
 
 
908
 
* Add documentation on creating merges with more than one parent.
909
 
  (Neil Martinsen-Burrell, #481526)
910
 
 
911
 
* Better explain the --uncommitted option of merge.
912
 
  (Neil Martinsen-Burrell, #505088)
913
 
 
914
 
* Improve discussion of pending merges in the documentation for
915
 
  ``revert``.  (Neil Martinsen-Burrell, #505093)
916
 
 
917
 
* Improved help for ``bzr send``. 
918
 
  (Martin Pool, Bojan Nikolic)
919
 
 
920
 
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
921
 
  including discussions of installation, relevant plugins, security and 
922
 
  backup. (Neil Martinsen-Burrell)
923
 
 
924
 
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
925
 
  (Ian Clatworthy)
926
 
 
927
 
* The User Reference is now presented as a series of topics.
928
 
  Many of the included topics have link and format tweaks applied.
929
 
  (Ian Clatworthy)
930
 
 
931
 
API Changes
932
 
***********
933
 
 
934
 
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
935
 
  (Andrew Bennetts)
936
 
 
937
 
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
938
 
  to be consistent with instances being lower case and classes being
939
 
  CamelCase. For the features that were more likely to be used, we added a
940
 
  deprecation thunk, but not all. (John Arbash Meinel)
941
 
 
942
 
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
943
 
  parameter in their constructors, and provide ``this_branch`` as an
944
 
  attribute. (Andrew Bennetts)
945
 
  
946
 
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
947
 
  by plugins - the original exceptions are now preserved. (Robert Collins)
948
 
 
949
 
* The Transport ``Server.tearDown`` method is now renamed to
950
 
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
951
 
  our normal naming pattern, and to avoid confusion with Python's
952
 
  ``TestCase.tearDown``.  (Martin Pool)
953
 
 
954
 
* ``WorkingTree.update`` implementations must now accept a ``revision``
955
 
  parameter.
956
 
 
957
 
Internals
958
 
*********
959
 
 
960
 
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
961
 
  a string of details (such as "location is a repository") as part of a
962
 
  ``nobranch`` response.  (Andrew Bennetts, #440952)
963
 
  
964
 
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
965
 
  objects but passes str objects straight through. This is used for
966
 
  selftest but may be useful for diff and other operations that generate
967
 
  mixed output. (Robert Collins)
968
 
 
969
 
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
970
 
  plugins. (Jelmer Vernooij)
971
 
 
972
 
Testing
973
 
*******
974
 
 
975
 
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
976
 
  running all tests in the current module, once against a pure python
977
 
  implementation, and once against an extension (pyrex/C) implementation.
978
 
  It can be used to dramatically simplify the implementation of
979
 
  ``load_tests``.  (John Arbash Meinel)
980
 
 
981
 
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
982
 
  This permits features in testtools such as getUniqueInteger and
983
 
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
984
 
  newer is now a dependency to run bzr selftest. Running with versions of
985
 
  testtools less than 0.9.2 will cause bzr to error while loading the test
986
 
  suite. (Robert Collins)
987
 
 
988
 
* Shell-like tests now support the command "mv" for moving files.  The
989
 
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
990
 
  supported.  (Neil Martinsen-Burrell)
991
 
 
992
 
* The test progress bar no longer distinguishes tests that 'errored' from
993
 
  tests that 'failed' - they're all just failures.
994
 
  (Martin Pool)
995
 
 
996
 
bzr 2.0.6
997
 
#########
998
 
 
999
 
:2.0.6: NOT RELEASED YET
1000
 
 
1001
 
Bug Fixes
1002
 
*********
1003
 
 
1004
 
* Additional merges after an unrelated branch has been merged with its
1005
 
  history no longer crash when deleted files are involved.
1006
 
  (Vincent Ladeuil, John Arbash Meinel, #375898)
1007
 
 
1008
 
* ``bzr revert`` now only takes write lock on working tree, instead of on 
1009
 
  both working tree and branch.
1010
 
  (Danny van Heumen, #498409)
1011
 
 
1012
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1013
 
  permissions as ``.bzr`` directory on a POSIX OS.
1014
 
  (Parth Malwankar, #262450)
1015
 
 
1016
 
* Repositories accessed via a smart server now reject being stacked on a
1017
 
  repository in an incompatible format, as is the case when accessing them
1018
 
  via other methods.  This was causing fetches from those repositories via
1019
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1020
 
  (Andrew Bennetts, #562380)
1021
 
 
1022
 
bzr 2.0.5
1023
 
#########
1024
 
 
1025
 
:2.0.5: 2010-03-23
1026
 
 
1027
 
This fifth release in our 2.0 series addresses several user-inconvenience
1028
 
bugs.  None are critical, but upgrading is recommended for all users on
1029
 
earlier 2.0 releases.
1030
 
 
1031
 
Bug Fixes
1032
 
*********
1033
 
 
1034
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1035
 
  (Martin Pool, #331095)
1036
 
 
1037
 
* Concurrent autopacking is more resilient to already-renamed pack files.
1038
 
  If we find that a file we are about to obsolete is already obsoleted, we
1039
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
1040
 
  The code is also fault tolerant if a file goes missing, assuming that
1041
 
  another process already removed the file.
1042
 
  (John Arbash Meinel, Gareth White, #507557)
1043
 
 
1044
 
* Cope with the lockdir ``held/info`` file being empty, which seems to
1045
 
  happen fairly often if the process is suddenly interrupted while taking
1046
 
  a lock.
1047
 
  (Martin Pool, #185103)
1048
 
 
1049
 
* Give the warning about potentially slow cross-format fetches much
1050
 
  earlier on in the fetch operation.  Don't show this message during
1051
 
  upgrades, and show the correct format indication for remote
1052
 
  repositories.
1053
 
  (Martin Pool, #456077, #515356, #513157)
1054
 
 
1055
 
* Handle renames correctly when there are files or directories that 
1056
 
  differ only in case.  (Chris Jones, Martin Pool, #368931)
1057
 
 
1058
 
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1059
 
  error, report that error rather than failing with an unhelpful
1060
 
  ``UnboundLocalError``.
1061
 
  (Andrew Bennetts, #423563)
1062
 
 
1063
 
* Running ``bzr`` command without any arguments now shows bzr
1064
 
  version number along with rest of the help text.
1065
 
  (Parth Malwankar, #369501)
1066
 
 
1067
 
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1068
 
  errors.
1069
 
  (Inada Naoki, #524560)
1070
 
 
1071
 
Documentation
1072
 
*************
1073
 
 
1074
 
* Added ``location-alias`` help topic.
1075
 
  (Andrew Bennetts, #337834)
1076
 
 
1077
 
* Fixed CHM generation by moving the NEWS section template into
1078
 
  a separate file. (Ian Clatworthy, #524184)
1079
 
 
1080
 
 
1081
 
bzr 2.0.4
1082
 
#########
1083
 
 
1084
 
:Codename: smooth sailing
1085
 
:2.0.4: 2010-01-21
1086
 
 
1087
 
The fourth bugfix-only release in the 2.0 series contains more than a
1088
 
dozen bugfixes relative to 2.0.3. The primary focus is on handling
1089
 
interruptions and concurrent operations more cleanly, there is also a fair
1090
 
improvement to ``bzr export`` when exporting a remote branch.
1091
 
 
1092
 
 
1093
 
Bug Fixes
1094
 
*********
1095
 
 
1096
 
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
1097
 
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
1098
 
 
1099
 
* ``bzr export dir`` now requests all file content as a record stream,
1100
 
  rather than requsting the file content one file-at-a-time. This can make
1101
 
  exporting over the network significantly faster (54min => 9min in one
1102
 
  case). (John Arbash Meinel, #343218)
1103
 
 
1104
 
* ``bzr serve`` no longer slowly leaks memory. The compiled
1105
 
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
1106
 
  free resources, and it should have been using ``__dealloc__``.
1107
 
  This will likely have an impact on any other process that is serving for
1108
 
  an extended period of time.  (John Arbash Meinel, #494406)
1109
 
 
1110
 
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
1111
 
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
1112
 
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
1113
 
 
1114
 
* Concurrent autopacks will no longer lose a newly created pack file.
1115
 
  There was a race condition, where if the reload happened at the right
1116
 
  time, the second packer would forget the name of the newly added pack
1117
 
  file. (John Arbash Meinel, Gareth White, #507566)
1118
 
 
1119
 
* Give a clearer message if the lockdir disappears after being apparently
1120
 
  successfully taken.  (Martin Pool, #498378)
1121
 
 
1122
 
* Give a warning when fetching between repositories (local or remote) with
1123
 
  sufficiently different formats that the content will need to be
1124
 
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
1125
 
  the user has a clue that upgrading could make it faster.
1126
 
  (Martin Pool, #456077)
1127
 
 
1128
 
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
1129
 
  than using ``warning()``. The log file is opened before logging is set
1130
 
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
1131
 
  users, rather than something nicer.
1132
 
  (John Arbash Meinel, Barry Warsaw, #503886)
1133
 
 
1134
 
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
1135
 
  (Martin Pool, John Arbash Meinel, #449372)
1136
 
 
1137
 
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
1138
 
  build. (there is still the distutils bug
1139
 
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
1140
 
 
1141
 
* The 2a format wasn't properly restarting autopacks when something
1142
 
  changed underneath it (like another autopack). Now concurrent
1143
 
  autopackers will properly succeed. (John Arbash Meinel, #495000)
1144
 
 
1145
 
* ``TreeTransform`` can now handle when a delta says that the file id for
1146
 
  the tree root changes. Rather than trying to rename your working
1147
 
  directory, or failing early saying that you can't have multiple
1148
 
  tree roots. This also fixes revert, update, and pull when the root id
1149
 
  changes.  (John Arbash Meinel, #494269, #504390)
1150
 
 
1151
 
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
1152
 
  the right time will get propagated, rather than silently failing to move
1153
 
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
1154
 
 
1155
 
Testing
1156
 
*******
1157
 
 
1158
 
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
1159
 
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
1160
 
  rather than an ``except ?:`` clause.) This should help prevent bugs like
1161
 
  bug #495023. (John Arbash Meinel)
1162
 
 
1163
 
 
1164
 
bzr 2.1.0b4
1165
 
###########
1166
 
 
1167
 
:Codename: san francisco airport
1168
 
:2.1.0b4: 2009-12-14
1169
 
 
1170
 
The fourth beta release in the 2.1 series brings with it a significant
1171
 
number of bugfixes (~20). The test suite is once again (finally) "green"
1172
 
on Windows, and should remain that way for future releases. There are a
1173
 
few performance related updates (faster upgrade and log), and several UI
1174
 
tweaks. There has also been a significant number of tweaks to the runtime
1175
 
documentation. 2.1.0b4 include everything from the 2.0.3 release.
1176
 
 
1177
 
 
1178
 
Compatibility Breaks
1179
 
********************
1180
 
 
1181
 
* The BZR_SSH environmental variable may now be set to the path of a secure
1182
 
  shell client. If currently set to the value ``ssh`` it will now guess the
1183
 
  vendor of the program with that name, to restore the old behaviour that
1184
 
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
1185
 
  string. (Martin <gzlist@googlemail.com>, #176292)
1186
 
 
1187
 
New Features
1188
 
************
1189
 
 
1190
 
* ``bzr commit`` now has a ``--commit-time`` option.
1191
 
  (Alexander Sack, #459276)
1192
 
 
1193
 
* ``-Dhpss`` now increases logging done when run on the bzr server,
1194
 
  similarly to how it works on the client. (John Arbash Meinel)
1195
 
 
1196
 
* New option ``bzr unshelve --keep`` applies the changes and leaves them
1197
 
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
1198
 
 
1199
 
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
1200
 
  respect a given terminal width. This can be useful when output is
1201
 
  redirected or in obscure cases where the default value is not
1202
 
  appropriate. Pagers can use it to get a better control of the line
1203
 
  lengths. 
1204
 
  (Vincent Ladeuil)
1205
 
 
1206
 
* The new command ``bzr lp-mirror`` will request that Launchpad update its
1207
 
  mirror of a local branch. This command will only function if launchpadlib
1208
 
  is installed.
1209
 
  (Jonathan Lange)
1210
 
 
1211
 
 
1212
 
Bug Fixes
1213
 
*********
1214
 
 
1215
 
* After renaming a file, the dirstate could accidentally reference
1216
 
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
1217
 
  source of some dirstate-related failures. (John Arbash Meinel)
1218
 
 
1219
 
* ``bzr commit`` now detects commit messages that looks like file names
1220
 
  and issues a warning.
1221
 
  (Gioele Barabucci, #73073)
1222
 
 
1223
 
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
1224
 
 
1225
 
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
1226
 
  (#325618, #484109, Marius Kruger)
1227
 
 
1228
 
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
1229
 
  files with conflicts (similar to ``--merge3``). The contents of the file
1230
 
  is a synthesis of all bases used for the merge.
1231
 
  (John Arbash Meinel, #40412)
1232
 
 
1233
 
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
1234
 
 
1235
 
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
1236
 
  (Robert Collins, #84659)
1237
 
 
1238
 
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
1239
 
 
1240
 
* Fix bug with redirected URLs over authenticated HTTP.
1241
 
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
1242
 
 
1243
 
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
1244
 
 
1245
 
* Lots of bugfixes for the test suite on Windows. We should once again
1246
 
  have a test suite with no failures on Windows. (John Arbash Meinel)
1247
 
 
1248
 
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
1249
 
  variable but returns None if the terminal is not a tty (when output is
1250
 
  redirected for example). Also fixes its usage under OSes that doesn't
1251
 
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
1252
 
  windows too.
1253
 
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
1254
 
  (John Arbash Meinel, Vincent Ladeuil, #492561)
1255
 
 
1256
 
* Terminate ssh subprocesses when no references to them remain, fixing
1257
 
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
1258
 
  
1259
 
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
1260
 
  works for 2a format trees.  Only files unaffected by content filters
1261
 
  will be hardlinked.  (Andrew Bennetts, #408193)
1262
 
 
1263
 
* The new glob expansion on Windows would replace all ``\`` characters
1264
 
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
1265
 
  etc. Now only change slashes if there is something being glob expanded.
1266
 
  (John Arbash Meinel, #485771)
1267
 
 
1268
 
* Use our faster ``KnownGraph.heads()`` functionality when computing the
1269
 
  new rich-root heads. This can cut a conversion time in half (mysql from
1270
 
  13.5h => 6.2h) (John Arbash Meinel, #487632)
1271
 
 
1272
 
* When launching a external diff tool via bzr diff --using, temporary files
1273
 
  are no longer created, rather, the path to the file in the working tree is
1274
 
  passed to the external diff tool. This allows the file to be edited if the
1275
 
  diff tool provides for this. (Gary van der Merwe, #490738)
1276
 
  
1277
 
* The launchpad-open command can now be used from a subdirectory of a
1278
 
  branch, not just from the root of the branch. 
1279
 
  (Neil Martinsen-Burrell, #489102)
1280
 
 
1281
 
 
1282
 
Improvements
1283
 
************
1284
 
 
1285
 
* ``bzr log`` is now faster. (Ian Clatworthy)
1286
 
 
1287
 
* ``bzr update`` provides feedback on which branch it is up to date with.
1288
 
  (Neil Martinsen-Burrell)
1289
 
 
1290
 
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
1291
 
  For details see the xml8 patch and heads() improvements.
1292
 
  (John Arbash Meinel)
1293
 
 
1294
 
* ``bzrlib.urlutils.local_path_from_url`` now accepts
1295
 
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
1296
 
  Hudson)
1297
 
 
1298
 
* The progress bar now shows only a spinner and per-operation counts,
1299
 
  not an overall progress bar.  The previous bar was often not correlated
1300
 
  with real overall operation progress, either because the operations take
1301
 
  nonlinear time, or because at the start of the operation Bazaar couldn't
1302
 
  estimate how much work there was to do.  (Martin Pool)
1303
 
 
1304
 
Documentation
1305
 
*************
1306
 
 
1307
 
* Lots of documentation tweaks for inline help topics and command help
1308
 
  information.
1309
 
 
1310
 
API Changes
1311
 
***********
1312
 
 
1313
 
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
1314
 
 
1315
 
* The Launchpad plugin now has a function ``login`` which will log in to
1316
 
  Launchpad with launchpadlib, and ``load_branch`` which will return the
1317
 
  Launchpad Branch object corresponding to a given Bazaar Branch object.
1318
 
  (Jonathan Lange)
1319
 
 
1320
 
Internals
1321
 
*********
1322
 
 
1323
 
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
1324
 
  easier to handle what tests you want to run based on what modules can be
1325
 
  imported. (Rather than lots of custom-implemented features that were
1326
 
  basically copy-and-pasted.) (John Arbash Meinel)
1327
 
 
1328
 
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
1329
 
  ``time.clock()`` when you want to do performance timing.
1330
 
  ``time.time()`` is limited to 15ms resolution on Windows, but
1331
 
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
1332
 
  (John Arbash Meinel)
1333
 
 
1334
 
* Several code paths that were calling ``Transport.get().read()`` have
1335
 
  been changed to the equalivent ``Transport.get_bytes()``. The main
1336
 
  difference is that the latter will explicitly call ``file.close()``,
1337
 
  rather than expecting the garbage collector to handle it. This helps
1338
 
  with some race conditions on Windows during the test suite and sftp
1339
 
  tests. (John Arbash Meinel)
1340
 
 
1341
 
Testing
1342
 
*******
1343
 
 
1344
 
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
1345
 
  unicode strings. (Michael Hudson, #464174)
1346
 
 
1347
 
 
1348
 
bzr 2.0.3
1349
 
#########
1350
 
 
1351
 
:Codename: little italy
1352
 
:2.0.3: 2009-12-14
1353
 
 
1354
 
 
1355
 
The third stable release of Bazaar has a small handful of bugfixes. As
1356
 
expected, this has no internal or external compatibility changes versus
1357
 
2.0.2 (or 2.0.0).
1358
 
 
1359
 
Bug Fixes
1360
 
*********
1361
 
 
1362
 
* ``bzr push --use-existing-dir`` no longer crashes if the directory
1363
 
  exists but contains an invalid ``.bzr`` directory.
1364
 
  (Andrew Bennetts, #423563)
1365
 
 
1366
 
* Content filters are now applied correctly after pull, merge and switch.
1367
 
  (Ian Clatworthy, #385879)
1368
 
 
1369
 
* Fix a potential segfault in the groupcompress hash map handling code.
1370
 
  When inserting new entries, if the final hash bucket was empty, we could
1371
 
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
1372
 
  (John Arbash Meinel, #490228)
1373
 
 
1374
 
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
1375
 
 
1376
 
 
1377
 
bzr 2.1.0b3
1378
 
###########
1379
 
 
1380
 
:Codename: after sprint recovery
1381
 
:2.1.0b3: 2009-11-16
1382
 
 
1383
 
This release was pushed up from its normal release cycle due to a
1384
 
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
1385
 
was caught before 2.1.0b2 was officially announced, the full changelog
1386
 
includes both 2.1.0b3 and 2.1.0b2 changes.
1387
 
 
1388
 
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
1389
 
the test suite now conforms to python's trunk enhanced semantics (skip,
1390
 
etc.), and ``bzr info -v`` will now report the correct branch and repo
1391
 
formats for Remote objects.
1392
 
 
1393
 
 
1394
 
New Features
1395
 
************
1396
 
 
1397
 
* Users can define a shelve editor to provide shelf functionality at a
1398
 
  granularity finer than per-patch-hunk. (Aaron Bentley)
1399
 
 
1400
 
Bug Fixes
1401
 
*********
1402
 
 
1403
 
* Fix for shell completion and short options.  (Benoît PIERRE)
1404
 
 
1405
 
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
1406
 
 
1407
 
* Hooks daughter classes should always call the base constructor.
1408
 
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
1409
 
 
1410
 
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
1411
 
 
1412
 
* On Windows, do glob expansion at the command-line level (as is usually
1413
 
  done in bash, etc.) This means that *all* commands get glob expansion
1414
 
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
1415
 
  parser, which allows us to know if a given section was quoted. It means
1416
 
  you can now do ``bzr ignore "*.py"``.
1417
 
  (John Arbash Meinel, #425510, #426410, #194450)
1418
 
 
1419
 
* Sanitize commit messages that come in from the '-m' flag. We translate
1420
 
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
1421
 
  allow those because XML store silently translate it anyway. (The parser
1422
 
  auto-translates \r\n => \n in ways that are hard for us to catch.)
1423
 
 
1424
 
* Show correct branch and repository format descriptions in 
1425
 
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
1426
 
 
1427
 
* The fix for bug #186920 accidentally broke compatibility with python
1428
 
  2.4.  (Vincent Ladeuil, #475585)
1429
 
 
1430
 
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
1431
 
  correctly sets ``self.inv_sha1`` to a sha1 string and
1432
 
  ``self.new_inventory`` to an Inventory instance after calling
1433
 
  ``self.finish_inventory()``. (Previously it accidently set both values
1434
 
  as a tuple on ``self.inv_sha1``. This was missed because
1435
 
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
1436
 
  the sha1 from the repo directly. (John Arbash Meinel)
1437
 
 
1438
 
* Shelve command refuse to run if there is no real terminal.
1439
 
  (Alexander Belchenko)
1440
 
 
1441
 
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
1442
 
  Python level.  (Martin Pool)
1443
 
 
1444
 
Documentation
1445
 
*************
1446
 
 
1447
 
* Include Japanese translations for documentation (Inada Naoki)
1448
 
 
1449
 
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
1450
 
  (rather than user-interaction) data to stdout.  This automatically
1451
 
  coordinates with progress bars or other terminal activity, and can be
1452
 
  overridden by GUIs.
1453
 
  (Martin Pool, 493944)
1454
 
 
1455
 
Internals
1456
 
*********
1457
 
 
1458
 
* Some of the core groupcompress functionality now releases the GIL before
1459
 
  operation. Similar to how zlib and bz2 operate without the GIL in the
1460
 
  core compression and decompression routines. (John Arbash Meinel)
1461
 
 
1462
 
Testing
1463
 
*******
1464
 
 
1465
 
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
1466
 
  more debugging of VFS access triggers. (Robert Collins)
1467
 
 
1468
 
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
1469
 
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
1470
 
 
1471
 
* ``--parallel=fork`` is now compatible with --subunit.
1472
 
  (Robert Collins, Vincent Ladeuil, #419776)
1473
 
 
1474
 
* Reporting of failures shows test ids not descriptions and thus shows
1475
 
  parameterised tests correctly. (Robert Collins)
1476
 
 
1477
 
* TestNotApplicable is now handled within the TestCase.run method rather
1478
 
  than being looked for within ``ExtendedTestResult.addError``. This
1479
 
  provides better handling with other ``TestResult`` objects, degrading to
1480
 
  sucess rather than error. (Robert Collins)
1481
 
 
1482
 
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
1483
 
  removed - it was empty and unused. (Robert Collins)
1484
 
 
1485
 
* UnavailableFeature is now handled within the TestCase.run method rather
1486
 
  than being looked for within addError. If the Result object does not
1487
 
  have an addNotSupported method, addSkip is attempted instead, and
1488
 
  failing that addSuccess. (Robert Collins)
1489
 
 
1490
 
* When a TestResult does not have an addSkip method, skipped tests are now
1491
 
  reported as successful tests, rather than as errors. This change is
1492
 
  to make it possible to get a clean test run with a less capable
1493
 
  TestResult. (Robert Collins)
1494
 
 
1495
 
 
1496
 
 
1497
 
bzr 2.1.0b2
1498
 
###########
1499
 
 
1500
 
:Codename: a load off my mind
1501
 
:2.1.0b2: 2009-11-02
1502
 
 
1503
 
This is our second feature-filled release since 2.0, pushing us down the
1504
 
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
1505
 
 
1506
 
Key highlights in this release are: improved handling of
1507
 
failures-during-cleanup for commit, fixing a long-standing bug with
1508
 
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
1509
 
behind proxies, and a new StaticTuple datatype, allowing us to reduce
1510
 
memory consumption (50%) and garbage collector overhead (40% faster) for
1511
 
many operations.
1512
 
 
1513
 
* A new ``--concurrency`` option has been added as well as an associated
1514
 
  BZR_CONCURRENCY environment variable to specify the number of
1515
 
  processes that can be run concurrently when running ``bzr selftest``. The
1516
 
  command-line option overrides the environment variable if both are
1517
 
  specified. If none is specified. the number of processes is obtained
1518
 
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
1519
 
 
1520
 
Bug Fixes
1521
 
*********
1522
 
 
1523
 
* ``bzr+http`` servers no longer give spurious jail break errors when
1524
 
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
1525
 
 
1526
 
* Errors during commit are handled more robustly so that knock-on errors
1527
 
  are less likely to occur, and will not obscure the original error if
1528
 
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
1529
 
  and similar errors.  (Andrew Bennetts, #429747, #243391)
1530
 
 
1531
 
* Launchpad urls can now be resolved from behind proxies.
1532
 
  (Gordon Tyler, Vincent Ladeuil, #186920)
1533
 
 
1534
 
* Reduce the strictness for StaticTuple, instead add a debug flag
1535
 
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
1536
 
  This way, most users won't see failures, but developers can improve
1537
 
  internals. (John Arbash Meinel, #471193)
1538
 
 
1539
 
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
1540
 
  files.  (Aaron Bentley)
1541
 
 
1542
 
* Unicode paths are now handled correctly and consistently by the smart
1543
 
  server.  (Andrew Bennetts, Michael Hudson, #458762)
1544
 
 
1545
 
Improvements
1546
 
************
1547
 
 
1548
 
* When reading index files, we now use a ``StaticTuple`` rather than a
1549
 
  plain ``tuple`` object. This generally gives a 20% decrease in peak
1550
 
  memory, and can give a performance boost up to 40% on large projects.
1551
 
  (John Arbash Meinel)
1552
 
 
1553
 
* Peak memory under certain operations has been reduced significantly.
1554
 
  (eg, 'bzr branch launchpad standalone' is cut in half)
1555
 
  (John Arbash Meinel)
1556
 
 
1557
 
Documentation
1558
 
*************
1559
 
 
1560
 
* Filtered views user documentation upgraded to refer to format 2a
1561
 
  instead of pre-2.0 formats. (Ian Clatworthy)
1562
 
 
1563
 
API Changes
1564
 
***********
1565
 
 
1566
 
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
1567
 
 
1568
 
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1569
 
  ``show_warning`` methods, which can be hooked by non-text UIs.  
1570
 
  (Martin Pool)
1571
 
 
1572
 
Internals
1573
 
*********
1574
 
 
1575
 
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1576
 
  Dict (it only holds keys, but you can lookup the object located at a
1577
 
  given key). It has significantly reduced memory consumption versus the
1578
 
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1579
 
  used as the interning structure for StaticTuple objects.
1580
 
  (John Arbash Meinel)
1581
 
 
1582
 
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1583
 
  the btree index parser and the chk map parser. This class functions
1584
 
  similarly to ``tuple`` objects. However, it can only point to a limited
1585
 
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
1586
 
  int, long, float, but not subclasses).  This allows us to remove it from
1587
 
  the garbage collector (it cannot be in a cycle), it also allows us to
1588
 
  intern the objects. In testing, this can reduce peak memory by 20-40%,
1589
 
  and significantly improve performance by removing objects from being
1590
 
  inspected by the garbage collector.  (John Arbash Meinel)
1591
 
 
1592
 
* ``GroupCompressBlock._ensure_content()`` will now release the
1593
 
  ``zlib.decompressobj()`` when the first request is for all of the
1594
 
  content. (Previously it would only be released if you made a request for
1595
 
  part of the content, and then all of it later.) This turns out to be a
1596
 
  significant memory savings, as a ``zstream`` carries around approx 260kB
1597
 
  of internal state and buffers. (For branching bzr.dev this drops peak
1598
 
  memory from 382MB => 345MB.) (John Arbash Meinel)
1599
 
 
1600
 
* When streaming content between ``2a`` format repositories, we now clear
1601
 
  caches from earlier versioned files. (So 'revisions' is cleared when we
1602
 
  start reading 'inventories', etc.) This can have a significant impact on
1603
 
  peak memory for initial copies (~200MB). (John Arbash Meinel)
1604
 
 
1605
 
 
1606
 
bzr 2.0.2
1607
 
#########
1608
 
 
1609
 
:Codename: after the scare
1610
 
:2.0.2: 2009-11-02
1611
 
 
1612
 
The second in our "let's keep the stable bugfixes flowing" series. As
1613
 
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
1614
 
changes or features.
1615
 
 
1616
 
Bug Fixes
1617
 
*********
1618
 
 
1619
 
* Avoid "NoneType has no attribute st_mode" error when files disappear
1620
 
  from a directory while it's being read.  (Martin Pool, #446033)
1621
 
 
1622
 
* Content filters are now applied correctly after revert.
1623
 
  (Ian Clatworthy)
1624
 
 
1625
 
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
1626
 
 
1627
 
* Fetching from stacked pre-2a repository via a smart server no longer
1628
 
  fails intermittently with "second push failed to complete".
1629
 
  (Andrew Bennetts, #437626)
1630
 
 
1631
 
* Fix typos left after test_selftest refactoring.
1632
 
  (Vincent Ladeuil, Matt Nordhoff, #461149)
1633
 
 
1634
 
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
1635
 
  (Andrew Bennetts, #445171)
1636
 
  
1637
 
* PreviewTree file names are not limited by the encoding of the temp
1638
 
  directory's filesystem. (Aaron Bentley, #436794)
1639
 
 
1640
 
Improvements
1641
 
************
1642
 
 
1643
 
* ``bzr log`` now read-locks branches exactly once, so makes better use of
1644
 
  data caches.  (Andrew Bennetts)
1645
 
 
1646
 
Documentation
1647
 
*************
1648
 
 
1649
 
* Filtered views user documentation upgraded to refer to format 2a
1650
 
  instead of pre-2.0 formats. (Ian Clatworthy)
1651
 
 
1652
 
 
1653
 
bzr 2.1.0b1
1654
 
###########
1655
 
 
1656
 
:Codename: While the cat is away
1657
 
:2.1.0b1: 2009-10-14
1658
 
 
1659
 
This is the first development release in the new split "stable" and
1660
 
"development" series. As such, the release is a snapshot of bzr.dev
1661
 
without creating a release candidate first. This release includes a
1662
 
fair amount of internal changes, with deprecated code being removed,
1663
 
and several new feature developments. People looking for a stable code
1664
 
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1665
 
present in 2.0.1 are present in 2.1.0b1.
1666
 
 
1667
 
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1668
 
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1669
 
syntax, visible warnings when extension modules fail to load, and improved
1670
 
error handling during unlocking.
1671
 
 
1672
 
 
1673
 
New Features
1674
 
************
1675
 
 
1676
 
* Bazaar can now send mail through Apple OS X Mail.app. 
1677
 
  (Brian de Alwis)
1678
 
 
1679
 
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1680
 
  specified in the URL.  Paths starting with a path segment of ``~`` are
1681
 
  relative to the home directory of the user running the server, and paths
1682
 
  starting with ``~user`` are relative to the home directory of the named
1683
 
  user.  For example, for a user "bob" with a home directory of
1684
 
  ``/home/bob``, these URLs are all equivalent:
1685
 
 
1686
 
  * ``bzr+ssh://bob@host/~/repo``
1687
 
  * ``bzr+ssh://bob@host/~bob/repo``
1688
 
  * ``bzr+ssh://bob@host/home/bob/repo``
1689
 
 
1690
 
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1691
 
  home directories outside that directory will be accessible via this
1692
 
  method.
1693
 
 
1694
 
  This is a feature of ``bzr serve``, so pre-2.1 clients will
1695
 
  automatically benefit from this feature when ``bzr`` on the server is
1696
 
  upgraded.  (Andrew Bennetts, #109143)
1697
 
 
1698
 
* Extensions can now be compiled if either Cython or Pyrex is available.
1699
 
  Currently Pyrex is preferred, but that may change in the future.
1700
 
  (Arkanes)
1701
 
 
1702
 
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1703
 
  disable the user, site and core plugin directories.
1704
 
  (Vincent Ladeuil, #412930, #316192, #145612)
1705
 
 
1706
 
Bug Fixes
1707
 
*********
1708
 
 
1709
 
* Bazaar's native protocol code now correctly handles EINTR, which most
1710
 
  noticeably occurs if you break in to the debugger while connected to a
1711
 
  bzr+ssh server.  You can now can continue from the debugger (by typing
1712
 
  'c') and the process continues.  However, note that pressing C-\ in the
1713
 
  shell may still kill the SSH process, which is bug 162509, so you must
1714
 
  sent a signal to the bzr process specifically, for example by typing
1715
 
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
1716
 
 
1717
 
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1718
 
  filename will issue a warning and skip over those files.
1719
 
  (Robert Collins, #3918)
1720
 
 
1721
 
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1722
 
  are present in the working tree. The configuration option ``dpush_strict``
1723
 
  can be used to set the default for this behavior.
1724
 
  (Vincent Ladeuil, #438158)
1725
 
 
1726
 
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1727
 
  merges are present in the working tree.
1728
 
  (Vincent Ladeuil, #426344)
1729
 
 
1730
 
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1731
 
  traceback.  (Martin Pool, #109115)
1732
 
 
1733
 
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1734
 
  as it is never built. (John Arbash Meinel, #430645)
1735
 
 
1736
 
* Don't restrict the command name used to run the test suite.
1737
 
  (Vincent Ladeuil, #419950)
1738
 
 
1739
 
* ftp transports were built differently when the kerberos python module was
1740
 
  present leading to obscure failures related to ASCII/BINARY modes.
1741
 
  (Vincent Ladeuil, #443041)
1742
 
 
1743
 
* Network streams now decode adjacent records of the same type into a
1744
 
  single stream, reducing layering churn. (Robert Collins)
1745
 
 
1746
 
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1747
 
  file. (Aaron Bentley, #251532)
1748
 
 
1749
 
* Registry objects should not use iteritems() when asked to use items().
1750
 
  (Vincent Ladeuil, #430510)
1751
 
 
1752
 
* Weave based repositories couldn't be cloned when committers were using
1753
 
  domains or user ids embedding '.sig'. Now they can.
1754
 
  (Matthew Fuller, Vincent Ladeuil, #430868)
1755
 
 
1756
 
Improvements
1757
 
************
1758
 
 
1759
 
* Revision specifiers can now be given in a more DWIM form, without
1760
 
  needing explicit prefixes for specifiers like tags or revision id's.
1761
 
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
1762
 
 
1763
 
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
1764
 
  compiled extensions can't be loaded.  This typically indicates a
1765
 
  packaging or installation problem.  In this case Bazaar will keep
1766
 
  running using pure-Python versions, but this may be substantially
1767
 
  slower.  The warning can be disabled by setting
1768
 
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
1769
 
  See also <https://answers.launchpad.net/bzr/+faq/703>.
1770
 
  (Martin Pool, #406113, #430529)
1771
 
 
1772
 
* Secondary errors that occur during Branch.unlock and Repository.unlock
1773
 
  no longer obscure the original error.  These methods now use a new
1774
 
  decorator, ``only_raises``.  This fixes many causes of
1775
 
  ``TooManyConcurrentRequests`` and similar errors.
1776
 
  (Andrew Bennetts, #429747)
1777
 
 
1778
 
Documentation
1779
 
*************
1780
 
 
1781
 
* Describe the new shell-like test feature. (Vincent Ladeuil)
1782
 
 
1783
 
* Help on hooks no longer says 'Not deprecated' for hooks that are
1784
 
  currently supported. (Ian Clatworthy, #422415)
1785
 
 
1786
 
API Changes
1787
 
***********
1788
 
 
1789
 
* ``bzrlib.user_encoding`` has been removed; use
1790
 
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
1791
 
 
1792
 
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
1793
 
  subclasses - the same as python's unittest module. (Robert Collins)
1794
 
  
1795
 
* ``diff._get_trees_to_diff`` has been renamed to 
1796
 
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
1797
 
  returns the old and new branches. (Gary van der Merwe)
1798
 
 
1799
 
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
1800
 
  (Martin Pool)
1801
 
 
1802
 
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
1803
 
  now defaults to comparing to the basis tree. It now checks for pending
1804
 
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
1805
 
  corresponding has_changes() calls. ``Merge.compare_basis``,
1806
 
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
1807
 
  been deprecated.
1808
 
  (Vincent Ladeuil, #440631)
1809
 
 
1810
 
* ``ProgressTask.note`` is deprecated.
1811
 
  (Martin Pool)
1812
 
 
1813
 
Internals
1814
 
*********
1815
 
 
1816
 
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
1817
 
  repository or branch object is unlocked then relocked the same way.
1818
 
  (Andrew Bennetts)
1819
 
  
1820
 
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
1821
 
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
1822
 
  This results in a 10% speedup while reading an index.
1823
 
  (John Arbash Meinel)
1824
 
 
1825
 
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
1826
 
  profiling in some situations like callbacks and generators easier.
1827
 
  (Robert Collins)
1828
 
 
1829
 
Testing
1830
 
*******
1831
 
 
1832
 
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
1833
 
  be output for every test. Note that this is very verbose! (Robert Collins)
1834
 
 
1835
 
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
1836
 
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
1837
 
 
1838
 
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
1839
 
  documentation in ``developers/testing.txt`` for details.
1840
 
  (Vincent Ladeuil)
1841
 
 
1842
 
* Some tests could end up with the same id, that was dormant for
1843
 
  a long time.
1844
 
  (Vincent Ladeuil, #442980)
1845
 
 
1846
 
* Stop showing the number of tests due to missing features in the test
1847
 
  progress bar.  (Martin Pool)
1848
 
 
1849
 
* Test parameterisation now does a shallow copy, not a deep copy of the test
1850
 
  to be parameterised. This is not expected to break external use of test
1851
 
  parameterisation, and is substantially faster. (Robert Collins)
1852
 
 
1853
 
* Tests that try to open a bzr dir on an arbitrary transport will now
1854
 
  fail unless they have explicitly permitted the transport via
1855
 
  ``self.permit_url``. The standard test factories such as ``self.get_url``
1856
 
  will permit the urls they provide automatically, so only exceptional
1857
 
  tests should need to do this. (Robert Collins)
1858
 
 
1859
 
* The break-in test no longer cares about clean shutdown of the child,
1860
 
  instead it is happy if the debugger starts up. (Robert  Collins)
1861
 
 
1862
 
* The full test suite is expected to pass when the C extensions are not
1863
 
  present. (Vincent Ladeuil, #430749)
1864
 
 
1865
 
 
1866
 
bzr 2.0.1
1867
 
#########
1868
 
 
1869
 
:Codename: Stability First
1870
 
:2.0.1: 2009-10-14
1871
 
 
1872
 
The first of our new ongoing bugfix-only stable releases has arrived. It
1873
 
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
1874
 
include any of the feature development in the 2.1.0 series.
1875
 
 
1876
 
 
1877
 
Bug Fixes
1878
 
*********
1879
 
 
1880
 
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1881
 
  filename will issue a warning and skip over those files.
1882
 
  (Robert Collins, #3918)
1883
 
 
1884
 
* bzr will attempt to authenticate with SSH servers that support
1885
 
  ``keyboard-interactive`` auth but not ``password`` auth when using
1886
 
  Paramiko.   (Andrew Bennetts, #433846)
1887
 
 
1888
 
* Fixed fetches from a stacked branch on a smart server that were failing
1889
 
  with some combinations of remote and local formats.  This was causing
1890
 
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
1891
 
 
1892
 
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
1893
 
  on branches via a smart server.  (Andrew Bennetts, #389413)
1894
 
 
1895
 
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
1896
 
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
1897
 
  assumed that ``abspath()`` returned a path that did not have a trailing
1898
 
  ``/``, but that is not true when working at the root of the filesystem.
1899
 
  (John Arbash Meinel, Jason Spashett, #322807)
1900
 
 
1901
 
* Hide deprecation warnings for 'final' releases for python2.6.
1902
 
  (John Arbash Meinel, #440062)
1903
 
 
1904
 
* Improve the time for ``bzr log DIR`` for 2a format repositories.
1905
 
  We had been using the same code path as for <2a formats, which required
1906
 
  iterating over all objects in all revisions.
1907
 
  (John Arbash Meinel, #374730)
1908
 
 
1909
 
* Make sure that we unlock the tree if we fail to create a TreeTransform
1910
 
  object when doing a merge, and there is limbo, or pending-deletions
1911
 
  directory.  (Gary van der Merwe, #427773)
1912
 
 
1913
 
* Occasional IndexError on renamed files have been fixed. Operations that
1914
 
  set a full inventory in the working tree will now go via the
1915
 
  apply_inventory_delta code path which is simpler and easier to
1916
 
  understand than dirstates set_state_from_inventory method. This may
1917
 
  have a small performance impact on operations built on _write_inventory,
1918
 
  but such operations are already doing full tree scans, so no radical
1919
 
  performance change should be observed. (Robert Collins, #403322)
1920
 
 
1921
 
* Retrieving file text or mtime from a _PreviewTree has good performance when
1922
 
  there are many changes.  (Aaron Bentley)
1923
 
 
1924
 
* The CHK index pages now use an unlimited cache size. With a limited
1925
 
  cache and a large project, the random access of chk pages could cause us
1926
 
  to download the entire cix file many times.
1927
 
  (John Arbash Meinel, #402623)
1928
 
 
1929
 
* When a file kind becomes unversionable after being added, a sensible
1930
 
  error will be shown instead of a traceback. (Robert Collins, #438569)
1931
 
 
1932
 
Documentation
1933
 
*************
1934
 
 
1935
 
* Improved README. (Ian Clatworthy)
1936
 
 
1937
 
* Improved upgrade documentation for Launchpad branches.
1938
 
  (Barry Warsaw)
1939
 
 
1940
 
 
1941
 
bzr 2.0.0
1942
 
#########
1943
 
 
1944
 
:2.0.0: 2009-09-22
1945
 
:Codename: Instant Karma
1946
 
 
1947
 
This release of Bazaar makes the 2a (previously 'brisbane-core') format
1948
 
the default when new branches or repositories are created.  This format is
1949
 
substantially smaller and faster for many operations.  Most of the work in
1950
 
this release focuses on bug fixes and stabilization, covering both 2a and
1951
 
previous formats.  (See the Upgrade Guide for information on migrating
1952
 
existing projects.)
1953
 
 
1954
 
This release also improves the documentation content and presentation,
1955
 
including adding Windows HtmlHelp manuals.
1956
 
 
1957
 
The Bazaar team decided that 2.0 will be a long-term supported release,
1958
 
with bugfix-only 2.0.x releases based on it, continuing for at least six
1959
 
months or until the following stable release.
1960
 
 
1961
 
Changes from 2.0.0rc2 to final
1962
 
******************************
1963
 
 
1964
 
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
1965
 
  that "want to happen on the 2.0.x stable series" versus things that want
1966
 
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1967
 
  micro = 0.) (John Arbash Meinel)
1968
 
 
1969
 
 
1970
 
bzr 2.0.0rc2
1971
 
############
1972
 
 
1973
 
:2.0.0rc2: 2009-09-10
1974
 
 
1975
 
New Features
1976
 
************
1977
 
 
1978
 
* Added post_commit hook for mutable trees. This allows the keywords
1979
 
  plugin to expand keywords on files changed by the commit.
1980
 
  (Ian Clatworthy, #408841)
1981
 
 
1982
 
Bug Fixes
1983
 
*********
1984
 
 
1985
 
* Bazaar's native protocol code now correctly handles EINTR, which most
1986
 
  noticeably occurs if you break in to the debugger while connected to a
1987
 
  bzr+ssh server.  You can now can continue from the debugger (by typing
1988
 
  'c') and the process continues.  However, note that pressing C-\ in the
1989
 
  shell may still kill the SSH process, which is bug 162509, so you must
1990
 
  sent a signal to the bzr process specifically, for example by typing
1991
 
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
1992
 
 
1993
 
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
1994
 
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
1995
 
  (Robert Collins, #416732)
1996
 
 
1997
 
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
1998
 
  format" (John Arbash Meinel, #424392)
1999
 
 
2000
 
* ``bzr log stacked-branch`` shows the full log including
2001
 
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
2002
 
  (John Arbash Meinel, #419241)
2003
 
 
2004
 
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
2005
 
  traceback.  (Martin Pool, #109115)
2006
 
 
2007
 
* Conversion to 2a will create a single pack for all the new revisions (as
2008
 
  long as it ran without interruption). This improves both ``bzr upgrade``
2009
 
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
2010
 
  The autopack logic that occurs every 100 revisions during local
2011
 
  conversions was not returning that pack's identifier, which resulted in
2012
 
  the partial packs created during the conversion not being consolidated
2013
 
  at the end of the conversion process. (Robert Collins, #423818)
2014
 
 
2015
 
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
2016
 
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
2017
 
  This means that when the source is fully packed, there is minimal
2018
 
  overhead during the fetch, but if the source is poorly packed the result
2019
 
  is a fairly well packed repository (not as good as 'bzr pack' but
2020
 
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
2021
 
 
2022
 
* Fix a potential segmentation fault when doing 'log' of a branch that had
2023
 
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
2024
 
  (John Arbash Meinel, #419241)
2025
 
 
2026
 
* ``groupcompress`` sort order is now more stable, rather than relying on
2027
 
  ``topo_sort`` ordering. The implementation is now
2028
 
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
2029
 
 
2030
 
* Local data conversion will generate correct deltas. This is a critical
2031
 
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
2032
 
  converting repositories. (Robert Collins, #422849)
2033
 
 
2034
 
* Network streams now decode adjacent records of the same type into a
2035
 
  single stream, reducing layering churn. (Robert Collins)
2036
 
 
2037
 
* Prevent some kinds of incomplete data from being committed to a 2a
2038
 
  repository, such as revisions without inventories, a missing chk_bytes
2039
 
  record for an inventory, or a missing text referenced by an inventory.
2040
 
  (Andrew Bennetts, #423506, #406687)
2041
 
  
2042
 
Documentation
2043
 
*************
2044
 
 
2045
 
* Fix assertion error about "_remember_remote_is_before" when pushing to
2046
 
  older smart servers.
2047
 
  (Andrew Bennetts, #418931)
2048
 
 
2049
 
* Help on hooks no longer says 'Not deprecated' for hooks that are
2050
 
  currently supported. (Ian Clatworthy, #422415)
2051
 
 
2052
 
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
2053
 
  user documentation. The HTML documentation is better broken up into
2054
 
  topics. (Ian Clatworthy)
2055
 
 
2056
 
* The developer and foreign language documents are now separated
2057
 
  out so that searching in the HTML and CHM files produces more
2058
 
  useful results. (Ian Clatworthy)
2059
 
 
2060
 
* The main table of contents now provides links to the new Migration Docs
2061
 
  and Plugins Guide. (Ian Clatworthy)
2062
 
 
2063
 
 
2064
 
bzr 2.0.0rc1
2065
 
############
2066
 
 
2067
 
:Codename: no worries
2068
 
:2.0.0rc1: 2009-08-26
2069
 
 
2070
 
Compatibility Breaks
2071
 
********************
2072
 
 
2073
 
* The default format for bzr is now ``2a``. This format brings many
2074
 
  significant performance and size improvements. bzr can pull from
2075
 
  any existing repository into a ``2a`` one, but can only transfer
2076
 
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
2077
 
  has more information about this change. (Robert Collins)
2078
 
 
2079
 
* On Windows auto-detection of Putty's plink.exe is disabled.
2080
 
  Default SSH client for Windows is paramiko. User still can force
2081
 
  usage of plink if explicitly set environment variable BZR_SSH=plink.
2082
 
  (#414743, Alexander Belchenko)
2083
 
 
2084
 
New Features
2085
 
************
2086
 
 
2087
 
* ``bzr branch --switch`` can now switch the checkout in the current directory
2088
 
  to the newly created branch. (Lukáš Lalinský)
2089
 
 
2090
 
Bug Fixes
2091
 
*********
2092
 
 
2093
 
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2094
 
  (Jason Spashett, #76616)
2095
 
 
2096
 
* Fetches were being requested in 'groupcompress' order, but weren't
2097
 
  recombining the groups. Thus they would 'fragment' to get the correct
2098
 
  order, but not 'recombine' to actually benefit from it. Until we get
2099
 
  recombining to work, switching to 'unordered' fetches avoids the
2100
 
  fragmentation. (John Arbash Meinel, #402645)
2101
 
 
2102
 
* Fix a pycurl related test failure on karmic by recognizing an error
2103
 
  raised by newer versions of pycurl.
2104
 
  (Vincent Ladeuil, #306264)
2105
 
 
2106
 
* Fix a test failure on karmic by making a locale test more robust.
2107
 
  (Vincent Ladeuil, #413514)
2108
 
 
2109
 
* Fix IndexError printing CannotBindAddress errors.
2110
 
  (Martin Pool, #286871)
2111
 
 
2112
 
* Fix "Revision ... not present" errors when upgrading stacked branches,
2113
 
  or when doing fetches from a stacked source to a stacked target.
2114
 
  (Andrew Bennetts, #399140)
2115
 
 
2116
 
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
2117
 
  batches together small fetches from 2a repositories, rather than
2118
 
  fetching only a few hundred bytes at a time.
2119
 
  (Andrew Bennetts, #402657)
2120
 
 
2121
 
Improvements
2122
 
************
2123
 
 
2124
 
* A better description of the platform is shown in crash tracebacks, ``bzr
2125
 
  --version`` and ``bzr selftest``.
2126
 
  (Martin Pool, #409137)
2127
 
 
2128
 
* bzr can now (again) capture crash data through the apport library, 
2129
 
  so that a single human-readable file can be attached to bug reports.
2130
 
  This can be disabled by using ``-Dno_apport`` on the command line, or by
2131
 
  putting ``no_apport`` into the ``debug_flags`` section of
2132
 
  ``bazaar.conf``.
2133
 
  (Martin Pool, Robert Collins, #389328)
2134
 
 
2135
 
* ``bzr push`` locally on windows will no longer give a locking error with
2136
 
  dirstate based formats. (Robert Collins)
2137
 
 
2138
 
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
2139
 
  (Robert Collins, #305006)
2140
 
 
2141
 
* Commit of specific files no longer prevents using the iter_changes
2142
 
  codepath. On 2a repositories, commit of specific files should now be as
2143
 
  fast, or slightly faster, than a full commit. (Robert Collins)
2144
 
 
2145
 
* The internal core code that handles specific file operations like
2146
 
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
2147
 
  include the parent directories if they have altered, and when a
2148
 
  directory stops being a directory its children are always included. This
2149
 
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
2150
 
  faster commit of specific paths. (Robert Collins, #347649)
2151
 
 
2152
 
Documentation
2153
 
*************
2154
 
 
2155
 
* New developer documentation for content filtering.
2156
 
  (Martin Pool)
2157
 
 
2158
 
API Changes
2159
 
***********
2160
 
 
2161
 
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2162
 
  classes changed to manage lock lifetime of the trees they open in a way
2163
 
  consistent with reader-exclusive locks. (Robert Collins, #305006)
2164
 
 
2165
 
Testing
2166
 
*******
2167
 
 
2168
 
bzr 1.18.1
2169
 
##########
2170
 
 
2171
 
:Codename:     nein nein nein!
2172
 
:1.18.1:       2009-09-09
2173
 
 
2174
 
This release fixes two small but worthwhile bugs relevant to users on
2175
 
Microsoft Windows: some commands that failed on with locking errors will
2176
 
now work, and a bug that caused poor performance after committing a file
2177
 
with line-ending conversion has now been fixed.  It also fixes a bug in
2178
 
pushing to older servers.
2179
 
 
2180
 
Bug Fixes
2181
 
*********
2182
 
 
2183
 
* Fixed a problem where using content filtering and especially end-of-line
2184
 
  conversion will commit too many copies a file.
2185
 
  (Martin Pool, #415508)
2186
 
 
2187
 
* Fix assertion error about ``_remember_remote_is_before`` in
2188
 
  ``set_tags_bytes`` when pushing to older smart servers.  
2189
 
  (Andrew Bennetts, Alexander Belchenko, #418931)
2190
 
 
2191
 
Improvements
2192
 
************
2193
 
 
2194
 
* ``bzr push`` locally on Windows will no longer give a locking error with
2195
 
  dirstate based formats. (Robert Collins)
2196
 
 
2197
 
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
2198
 
  (Robert Collins, #305006)
2199
 
 
2200
 
API Changes
2201
 
***********
2202
 
 
2203
 
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2204
 
  classes changed to manage lock lifetime of the trees they open in a way
2205
 
  consistent with reader-exclusive locks. (Robert Collins, #305006)
2206
 
 
2207
 
* ``Tree.path_content_summary`` may return a size of None, when called on
2208
 
  a tree with content filtering where the size of the canonical form
2209
 
  cannot be cheaply determined.  (Martin Pool)
2210
 
 
2211
 
* When manually creating transport servers in test cases, a new helper
2212
 
  ``TestCase.start_server`` that registers a cleanup and starts the server
2213
 
  should be used. (Robert Collins)
2214
 
 
2215
 
bzr 1.18
2216
 
########
2217
 
 
2218
 
Compatibility Breaks
2219
 
********************
2220
 
 
2221
 
* Committing directly to a stacked branch from a lightweight checkout will
2222
 
  no longer work. In previous versions this would appear to work but would
2223
 
  generate repositories with insufficient data to create deltas, leading
2224
 
  to later errors when branching or reading from the repository.
2225
 
  (Robert Collins, bug #375013)
2226
 
 
2227
 
New Features
2228
 
************
2229
 
 
2230
 
Bug Fixes
2231
 
*********
2232
 
 
2233
 
* Fetching from 2a branches from a version-2 bzr protocol would fail to
2234
 
  copy the internal inventory pages from the CHK store. This cannot happen
2235
 
  in normal use as all 2a compatible clients and servers support the
2236
 
  version-3 protocol, but it does cause test suite failures when testing
2237
 
  downlevel protocol behaviour. (Robert Collins)
2238
 
 
2239
 
* Fix a test failure on karmic by making a locale test more robust.
2240
 
  (Vincent Ladeuil, #413514)
2241
 
 
2242
 
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
2243
 
  fully packed 2a repository.  (Andrew Bennetts, #382463)
2244
 
 
2245
 
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2246
 
  (Jason Spashett, #76616)
2247
 
 
2248
 
* Properly handle fetching into a stacked branch while converting the
2249
 
  data, especially when there are also ghosts. The code was filling in
2250
 
  parent inventories incorrectly, and also not handling when one of the
2251
 
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
2252
 
 
2253
 
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
2254
 
  inventory pages when appropriate (by falling back to the vfs stream
2255
 
  source).  (Andrew Bennetts, #406686)
2256
 
 
2257
 
* StreamSource generates rich roots from non-rich root sources correctly
2258
 
  now.  (Andrew Bennetts, #368921)
2259
 
 
2260
 
* When deciding whether a repository was compatible for upgrading or
2261
 
  fetching, we previously incorrectly checked the default repository
2262
 
  format for the bzrdir format, rather than the format that was actually
2263
 
  present on disk.  (Martin Pool, #408824)
2264
 
 
2265
 
Improvements
2266
 
************
2267
 
 
2268
 
* A better description of the platform is shown in crash tracebacks, ``bzr
2269
 
  --version`` and ``bzr selftest``.
2270
 
  (Martin Pool, #409137)
2271
 
 
2272
 
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
2273
 
  smart server are more efficient now.  They send inventory deltas rather
2274
 
  than full inventories.  The smart server has two new requests,
2275
 
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
2276
 
  support this.  (Andrew Bennetts, #374738, #385826)
2277
 
 
2278
 
* Extracting the full ancestry and computing the ``merge_sort`` is now
2279
 
  significantly faster. This effects things like ``bzr log -n0``. (For
2280
 
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
2281
 
  (John Arbash Meinel)
2282
 
 
2283
 
Documentation
2284
 
*************
2285
 
 
2286
 
API Changes
2287
 
***********
2288
 
 
2289
 
Internals
2290
 
*********
2291
 
 
2292
 
* ``-Dstrict_locks`` can now be used to check that read and write locks
2293
 
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
2294
 
  read lock on a file that we already have an OS write lock on.) This is
2295
 
  now set by default for all tests, if you have a test which cannot be
2296
 
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
2297
 
  compatibility knob. (John Arbash Meinel)
2298
 
 
2299
 
* InterDifferingSerializer is now only used locally.  Other fetches that
2300
 
  would have used InterDifferingSerializer now use the more network
2301
 
  friendly StreamSource, which now automatically does the same
2302
 
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
2303
 
 
2304
 
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
2305
 
  are implemented in pyrex and significantly faster. This is exposed along
2306
 
  with ``CombinedGraphIndex.find_ancestry()`` as
2307
 
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
2308
 
  (John Arbash Meinel)
2309
 
 
2310
 
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
2311
 
  protocols. (Robert Collins)
2312
 
 
2313
 
* The index code now has some specialized routines to extract the full
2314
 
  ancestry of a key in a more efficient manner.
2315
 
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
2316
 
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
2317
 
  Arbash Meinel)
2318
 
 
2319
 
Testing
2320
 
*******
2321
 
 
2322
 
* Install the test ssl certificate and key so that installed bzr
2323
 
  can run the https tests. (Denys Duchier, #392401)
2324
 
  
2325
 
 
2326
 
bzr 1.18rc1
2327
 
###########
2328
 
 
2329
 
:Codename: little traveller
2330
 
:1.18:    2009-08-20
2331
 
:1.18rc1: 2009-08-10
2332
 
 
2333
 
This release of Bazaar marches on towards the 2.0 release in which the 2a
2334
 
'brisbane-core' format becomes generally recommended.  Most of the work in
2335
 
this release now focusses on bug fixes and stabilization, covering both 2a
2336
 
and previous formats.  There is a new text-mode interactive merge feature,
2337
 
a new guide to migration to 2a format in the user documentation, and
2338
 
pushing branches to a smart server is now much faster.  
2339
 
 
2340
 
The Bazaar team decided that 2.0 will be a long-term supported release,
2341
 
with bugfix-only releases based on it continuing for at least six months
2342
 
or until the following stable release.
2343
 
 
2344
 
There are no changes from 1.18rc1 to 1.18.
2345
 
 
2346
 
New Features
2347
 
************
2348
 
 
2349
 
* ``bzr merge --interactive`` applies a user-selected portion of the
2350
 
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
2351
 
 
2352
 
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
2353
 
  ``--unstacked`` to change stacking of a branch.
2354
 
  (Martin Pool, #391411)
2355
 
 
2356
 
Bug Fixes
2357
 
*********
2358
 
 
2359
 
* Annotating on a stacked branch will now succeed in simple scenarios.
2360
 
  There are still some complex scenarios where it will fail (bug #399884)
2361
 
  (John Arbash Meinel, #393366)
2362
 
 
2363
 
* A progress bar is no longer left dangling when ``bzr selftest``
2364
 
  completes, and the progress bar updates with zero latency so the
2365
 
  displayed test name is always the one that's actually running.
2366
 
  (Martin Pool, #123688)
2367
 
 
2368
 
* Authenticating against an ssh server now uses ``auth_none`` to determine
2369
 
  if password authentication is even supported. This fixes a bug where
2370
 
  users would be prompted for a launchpad password, even though launchpad
2371
 
  only supports publickey authentication. (John Arbash Meinel, #375867)
2372
 
 
2373
 
* BranchBuilder now accepts timezone to avoid test failures in countries far
2374
 
  from GMT. (Vincent Ladeuil, #397716)
2375
 
 
2376
 
* ``bzr commit`` no longer saves the unversioning of missing files until
2377
 
  the commit has completed on the branch. This means that aborting a
2378
 
  commit that found a missing file will leave the tree unedited.
2379
 
  (Robert Collins, #282402)
2380
 
 
2381
 
* ``bzr mv`` no longer takes out branch locks, which allows it to work
2382
 
  when the branch is readonly. (Robert Collins, #216541)
2383
 
 
2384
 
* ``bzr revert .`` no longer generates an InconsistentDelta error when
2385
 
  there are missing subtrees. (Robert Collins, #367632)
2386
 
 
2387
 
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
2388
 
  do to internal changes necessary to support this, older clients will
2389
 
  fail when trying to insert them. For newer clients, the bundle can be
2390
 
  used to apply the changes to any rich-root compatible format.
2391
 
  (John Arbash Meinel, #393349)
2392
 
 
2393
 
* Cope with FTP servers that don't support restart/append by falling back
2394
 
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
2395
 
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
2396
 
 
2397
 
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
2398
 
  external diff client. This at least allows supporting filenames that are
2399
 
  not ascii, but are present in the current locale. Ideally we would be
2400
 
  able to pass the Unicode path, but that would be client dependent.
2401
 
  (John Arbash Meinel, #382709)
2402
 
 
2403
 
* Fix a compile bug on Solaris having to do with const and
2404
 
  pointer-to-pointers. (John Arbash Meinel, #408441)
2405
 
 
2406
 
* Fixed a NameError that occurs when merging or pulling from a URL that
2407
 
  causes a redirection loop when bzr tries to read a URL as a bundle.
2408
 
  (Andrew Bennetts, #400847)
2409
 
 
2410
 
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
2411
 
  running send and similar commands on 2a formats.
2412
 
  (Martin Pool, #408201)
2413
 
  
2414
 
* Fix crash in some invocations of ``bzr status`` in format 2a.
2415
 
  (Martin Pool, #403523)
2416
 
 
2417
 
* Fixed export to existing directory: if directory is empty then export 
2418
 
  will succeed, otherwise it fails with error.
2419
 
  (Alexander Belchenko, #406174)
2420
 
 
2421
 
* Fixed spurious "Source branch does not support stacking" warning when
2422
 
  pushing. (Andrew Bennetts, #388908)
2423
 
 
2424
 
* Fixed spurious transport activity indicator appearing while tests are
2425
 
  running.  (Martin Pool, #343532)
2426
 
 
2427
 
* Merge now correctly handles empty right-hand revision specs.
2428
 
  (Aaron Bentley, #333961)
2429
 
 
2430
 
* Renames to lexographically lower basenames in trees that have never been
2431
 
  committed to will no longer corrupt the dirstate. This was caused by an
2432
 
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
2433
 
 
2434
 
* Requests for unknown methods no longer cause the smart server to log
2435
 
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
2436
 
  ``do_end``.  (Andrew Bennetts, #338561)
2437
 
 
2438
 
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
2439
 
 
2440
 
* Streaming from bzr servers where there is a chain of stacked branches
2441
 
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
2442
 
 
2443
 
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
2444
 
  always forces progress bars either on or off respectively.  Otherwise,
2445
 
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
2446
 
  bzr always uses the 'text' user interface when run as a command, so
2447
 
  ``BZR_USE_TEXT_UI`` is no longer needed.
2448
 
  (Martin Pool, #339385, #387717)
2449
 
 
2450
 
* The optional ``_knit_load_data_pyx`` C extension was never being
2451
 
  imported.  This caused significant slowdowns when reading data from
2452
 
  repositories.  (Andrew Bennetts, #405653)
2453
 
  
2454
 
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
2455
 
  supported at the moment on workingtree formats that can do content
2456
 
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
2457
 
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
2458
 
 
2459
 
* There was a bug in ``osutils.relpath`` that was only triggered on
2460
 
  Windows. Essentially if you were at the root of a drive, and did
2461
 
  something to a branch/repo on another drive, we would go into an
2462
 
  infinite loop while trying to find a 'relative path'.
2463
 
  (John Arbash Meinel, #394227)
2464
 
 
2465
 
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
2466
 
  were present in a parent tree but renamed in the working tree.
2467
 
  (Robert Collins, #187207)
2468
 
 
2469
 
Improvements
2470
 
************
2471
 
 
2472
 
* Can now rename/move files even if they have been removed from the inventory.
2473
 
  (Marius Kruger)
2474
 
 
2475
 
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
2476
 
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
2477
 
  than VFS methods.  For example, pushes of small branches with tags take
2478
 
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
2479
 
 
2480
 
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
2481
 
  the same way that sending Ctrl-\\ does on other platforms.
2482
 
  (John Arbash Meinel)
2483
 
 
2484
 
Documentation
2485
 
*************
2486
 
 
2487
 
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
2488
 
 
2489
 
API Changes
2490
 
***********
2491
 
 
2492
 
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
2493
 
  need to subclass or create a specific class, or better yet the existing
2494
 
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
2495
 
  user interaction at all, rather than trying to read from stdin but not
2496
 
  writing any output, which would be strange if reading prompts or
2497
 
  passwords.  (Martin Pool)
2498
 
 
2499
 
* New TransformPreview.commit() allows committing without a working tree.
2500
 
  (Aaron Bentley)
2501
 
 
2502
 
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
2503
 
  (Martin Pool)
2504
 
 
2505
 
* ProgressTasks now prefer to talk direct to their ProgressView not to the
2506
 
  UIFactory. 
2507
 
  (Martin Pool)
2508
 
 
2509
 
* ``WorkingTree._check`` now requires a references dict with keys matching
2510
 
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
2511
 
 
2512
 
Internals
2513
 
*********
2514
 
 
2515
 
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
2516
 
  reading the entries along the path, reducing work to lookup ids from
2517
 
  paths. (Robert Collins)
2518
 
 
2519
 
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
2520
 
  as new a key which was already mapped. (Robert Collins)
2521
 
 
2522
 
* Inventory delta application catches more cases of corruption and can
2523
 
  prevent corrupt deltas from affecting consistency of data structures on
2524
 
  disk. (Robert Collins)
2525
 
 
2526
 
* --subunit support now adds timestamps if the subunit version supports
2527
 
  it. (Robert Collins)
2528
 
 
2529
 
* The Windows all-in-one installer now bundles the PyQt image format
2530
 
  plugins, which allows previewing more images as part of 'qdiff'.
2531
 
  (Alexander Belchenko)
2532
 
 
2533
 
 
2534
 
Testing
2535
 
*******
2536
 
 
2537
 
* Merge directive cherrypick tests must use the same root id.
2538
 
  (Martin Pool, #409684)
2539
 
 
2540
 
* Spurious failure in ``check`` tests on rich-root formats fixed.
2541
 
  (Martin Pool, #408199)
2542
 
 
2543
 
* The ``bzrlib.tests.TextTestRunner`` will no longer call
2544
 
  ``countTestsCases`` on the test being run. Progress information is
2545
 
  instead handled by having the test passed in call ``result.progress``
2546
 
  before running its contents. This improves the behaviour when using
2547
 
  ``TextTestRunner`` with test suites that don't support
2548
 
  ``countTestsCases``. (Robert Collins)
2549
 
 
2550
 
 
2551
 
bzr 1.17.1 (unreleased)
2552
 
#######################
2553
 
 
2554
 
Bug Fixes
2555
 
*********
2556
 
 
2557
 
* The optional ``_knit_load_data_pyx`` C extension was never being
2558
 
  imported.  This caused significant slowdowns when reading data from
2559
 
  knit format repositories.  (Andrew Bennetts, #405653)
2560
 
  
2561
 
 
2562
 
bzr 1.17
2563
 
########
2564
 
:Codename: so-late-its-brunch
2565
 
:1.17rc1: 2009-07-13
2566
 
:1.17: 2009-07-20
2567
 
 
2568
 
 
2569
 
Bazaar continues to blaze a straight and shining path to the 2.0 release and
2570
 
the elevation of the ``2a`` beta format to the full glory of "supported and
2571
 
stable".
2572
 
 
2573
 
Highlights in this release include greatly reduced memory consumption during
2574
 
commits, faster ``ls``, faster ``annotate``, faster network operations if
2575
 
you're specifying a revision number and the final destruction of those
2576
 
annoying progress bar artifacts.
2577
 
 
2578
 
 
2579
 
Changes from 1.17rc1 to 1.17final
2580
 
*********************************
2581
 
 
2582
 
* Change an extension to call the python ``frozenset()`` rather than the C
2583
 
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
2584
 
  C api. (John Arbash Meinel, #399366)
2585
 
 
2586
 
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
2587
 
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
2588
 
  (John Arbash Meinel, #399356)
2589
 
 
2590
 
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
2591
 
  directory before serving it. (Andrew Bennetts, #400535)
2592
 
 
2593
 
 
2594
 
Compatibility Breaks
2595
 
********************
2596
 
 
2597
 
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
2598
 
  instead of "product" which is the correct Launchpad terminology.  The
2599
 
  --product option is deprecated and users should switch to using --project.
2600
 
  (Neil Martinsen-Burrell, #238764)
2601
 
 
2602
 
 
2603
 
New Features
2604
 
************
2605
 
 
2606
 
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
2607
 
  are present in the working tree (if one is present) and no revision is
2608
 
  specified. The configuration option ``push_strict`` can be used to set the
2609
 
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
2610
 
 
2611
 
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
2612
 
  show revision info for the working tree instead of the branch.
2613
 
  (Matthew Fuller, John Arbash Meinel)
2614
 
 
2615
 
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
2616
 
  are present in the working tree and no revision is specified. The
2617
 
  configuration option ``send_strict`` can be used to set the default for this
2618
 
  behavior.
2619
 
  (Vincent Ladeuil, #206577)
2620
 
 
2621
 
* ``bzr switch --create-branch/-b`` can now be used to create and switch
2622
 
  to a new branch. Supplying a name without a ``/`` will create the branch
2623
 
  relative to the existing branch. (similar to how ``bzr switch name``
2624
 
  works when the branch already exists.) (John Arbash Meinel)
2625
 
 
2626
 
 
2627
 
Bug Fixes
2628
 
*********
2629
 
 
2630
 
* Accept uppercase "Y/N" to prompts such as from break lock. 
2631
 
  (#335182, Tim Powell, Martin Pool)
2632
 
 
2633
 
* Add documentation about diverged branches and how to fix them in the
2634
 
  centralized workflow with local commits.  Mention ``bzr help
2635
 
  diverged-branches`` when a push fails because the branches have
2636
 
  diverged.  (Neil Martinsen-Burrell, #269477)
2637
 
 
2638
 
* Annotate would sometimes 'latch on' to trivial lines, causing important
2639
 
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
2640
 
 
2641
 
* Automatic format upgrades triggered by default stacking policies on a
2642
 
  1.16rc1 (or later) smart server work again.
2643
 
  (Andrew Bennetts, #388675)
2644
 
 
2645
 
* Avoid progress bar artifacts being left behind on the screen.
2646
 
  (Martin Pool, #321935)
2647
 
 
2648
 
* Better message in ``bzr split`` error suggesting a rich root format.
2649
 
  (Neil Martinsen-Burrell, #220067)
2650
 
 
2651
 
* ``Branch.set_append_revisions_only`` now works with branches on a smart
2652
 
  server. (Andrew Bennetts, #365865)
2653
 
 
2654
 
* By default, ``bzr branch`` will fail if the target directory exists, but
2655
 
  does not already have a control directory.  The flag ``--use-existing-dir``
2656
 
  will allow operation to proceed.  (Alexander Belchenko, #307554)
2657
 
 
2658
 
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
2659
 
  (Ian Clatworthy)
2660
 
 
2661
 
* Fetch between repositories does not error if they have inconsistent data
2662
 
  that should be irrelevant to the fetch operation. (Aaron Bentley)
2663
 
 
2664
 
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
2665
 
  of a remote repository.
2666
 
  (Jelmer Vernooij, #332194)
2667
 
 
2668
 
* Fix bug in decoding v3 smart server messages when receiving multiple
2669
 
  lots of excess bytes after an end-of-message.
2670
 
  (Andrew Bennetts)
2671
 
 
2672
 
* Force deletion of readonly files during merge, update and other tree
2673
 
  transforms.
2674
 
  (Craig Hewetson, Martin Pool, #218206)
2675
 
 
2676
 
* Force socket shutdown in threaded http test servers to avoid client hangs
2677
 
  (pycurl).  (Vincent Ladeuil, #383920).
2678
 
 
2679
 
* ``LRUCache`` will maintain the linked list pointers even if a nodes
2680
 
  cleanup function raises an exception. (John Arbash Meinel, #396838)
2681
 
 
2682
 
* Progress bars are now suppressed again when the environment variable
2683
 
  ``BZR_PROGRESS_BAR`` is set to ``none``.
2684
 
  (Martin Pool, #339385)
2685
 
 
2686
 
* Reduced memory consumption during ``bzr commit`` of large files. For
2687
 
  pre 2a formats, should be down to ~3x the size of a file.
2688
 
  For ``--2a`` format repositories, it is down to the size of the file
2689
 
  content plus the size of the compressed text.  Related to bug #109114.
2690
 
  (John Arbash Meinel)
2691
 
 
2692
 
* Set hidden attribute on .bzr directory below unicode path should never
2693
 
  fail with error. The operation should succeed even if bzr unable to set 
2694
 
  the attribute.  (Alexander Belchenko, related to bug #335362).
2695
 
  
2696
 
* Stacking will no longer accept requests to stack on the same
2697
 
  branch/repository. Existing branches that incorrectly reference the same
2698
 
  repository in a stacking configuration will now raise
2699
 
  UnstackableLocationError when the branch is opened. This can be fixed by
2700
 
  removing the stacking location inside ``.bzr/branch``.
2701
 
  (Robert Collins, #376243)
2702
 
 
2703
 
* The ``log+`` decorator, useful in debugging or profiling, could cause
2704
 
  "AttributeError: 'list' object has no attribute 'next'".  This is now
2705
 
  fixed.  The log decorator no longer shows the elapsed time or transfer
2706
 
  rate because they're available in the log prefixes and the transport
2707
 
  activity display respectively.
2708
 
  (Martin Pool, #340347)
2709
 
 
2710
 
* Unshelve works correctly when multiple zero-length files are present on
2711
 
  the shelf. (Aaron Bentley, #363444)
2712
 
 
2713
 
* Progress bars no longer show the network transport scheme or direction.
2714
 
  (Martin Pool)
2715
 
 
2716
 
* launchpad-login now respects the 'verbose' option.
2717
 
  (Jonathan Lange, #217031)
2718
 
 
2719
 
 
2720
 
Internals
2721
 
*********
2722
 
 
2723
 
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
2724
 
  possible to write a deprecation wrapper, but the variable will be
2725
 
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
2726
 
  instead. (Alexander Belchenko)
2727
 
 
2728
 
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
2729
 
  three new hook points: ``get_command``, ``get_missing_command`` and
2730
 
  ``list_commands``, which allow just-in-time command name provision
2731
 
  rather than requiring all command names be known a-priori.
2732
 
  (Robert Collins)
2733
 
 
2734
 
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
2735
 
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
2736
 
 
2737
 
* ``graph.KnownGraph`` has been added. This is a class that can give
2738
 
  answers to ``heads()`` very quickly. However, it has the assumption that
2739
 
  the whole graph has already been loaded. This is true during
2740
 
  ``annotate`` so it is used there with good success (as much as 2x faster
2741
 
  for files with long ancestry and 'cherrypicked' changes.)
2742
 
  (John Arbash Meinel, Vincent Ladeuil)
2743
 
 
2744
 
* OS file locks are now taken out using ``CreateFile`` rather than
2745
 
  ``LockFileEx`` on Windows. The locking remains exclusive with
2746
 
  ``LockFileEx`` but now it also works on older versions of Windows (such
2747
 
  as Win98). (Martin <gzlist>)
2748
 
 
2749
 
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
2750
 
  than the ``Packer`` code. The user visible change is that we now
2751
 
  properly fetch the minimum number of texts for non-smart fetching.
2752
 
  (John Arbash Meinel)
2753
 
 
2754
 
 
2755
 
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
2756
 
  the repository as a single string, rather than a list of lines. This can
2757
 
  improve memory overhead and performance of committing large files.
2758
 
  (Currently a private api, used only by commit). (John Arbash Meinel)
2759
 
 
2760
 
 
2761
 
Improvements
2762
 
************
2763
 
 
2764
 
* ``bzr annotate`` can now be significantly faster. The time for
2765
 
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
2766
 
  histories and lots of 'duplicate insertions' will be improved more than
2767
 
  others. (John Arbash Meinel, Vincent Ladeuil)
2768
 
 
2769
 
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
2770
 
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
2771
 
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
2772
 
 
2773
 
* Improve "Path(s) are not versioned" error reporting for some commands.
2774
 
  (Benoît PIERRE)
2775
 
 
2776
 
* Initial commit performance in ``--2a`` repositories has been improved by
2777
 
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
2778
 
 
2779
 
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
2780
 
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
2781
 
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
2782
 
 
2783
 
* ``revision-info`` now properly aligns the revnos/revids in the output
2784
 
  and doesn't traceback when given revisions not in the current branch.
2785
 
  Performance is also significantly improved when requesting multiple revs
2786
 
  at once.  (Matthew Fuller, John Arbash Meinel)
2787
 
 
2788
 
* Tildes are no longer escaped by Transports. (Andy Kilner)
2789
 
 
2790
 
 
2791
 
Documentation
2792
 
*************
2793
 
 
2794
 
* Avoid bad text wrapping in generated documentation.  Slightly better
2795
 
  formatting in the user reference.
2796
 
  (Martin Pool, #249908)
2797
 
 
2798
 
* Minor clarifications to the help for End-Of-Line conversions.
2799
 
  (Ian Clatworthy)
2800
 
 
2801
 
API Changes
2802
 
***********
2803
 
 
2804
 
* Removed overspecific error class ``InvalidProgressBarType``.
2805
 
  (Martin Pool)
2806
 
 
2807
 
* The method ``ProgressView._show_transport_activity`` is now
2808
 
  ``show_transport_activity`` because it's part of the contract between
2809
 
  this class and the UI.  (Martin Pool)
2810
 
 
2811
 
 
2812
 
bzr 1.16.1
2813
 
##########
2814
 
 
2815
 
:Released: 2009-06-26
2816
 
 
2817
 
End user testing of the 2a format revealed two serious bugs. The first,
2818
 
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
2819
 
This meant that commits or pushes to 2a-format repositories failed
2820
 
intermittently.
2821
 
 
2822
 
The second bug, #390563, caused the smart server to raise AbsentContentFactory
2823
 
when streaming 2a stacked 2a-format branches. This particularly affected
2824
 
branches stored on Launchpad in the 2a format.
2825
 
 
2826
 
Both of these bugs cause command failures only, neither of them cause data
2827
 
corruption or data loss. And, of course, both of these bugs are now fixed.
2828
 
 
2829
 
Bug Fixes
2830
 
*********
2831
 
 
2832
 
* We now properly request a more minimal set of file texts when fetching
2833
 
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
2834
 
 
2835
 
* Repositories using CHK pages (which includes the new 2a format) will no
2836
 
  longer error during commit or push operations when an autopack operation
2837
 
  is triggered. (Robert Collins, #365615)
2838
 
 
2839
 
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
2840
 
  of referenced nodes rather than the *union* to determine what
2841
 
  uninteresting pages we still need to look at. Prior to this,
2842
 
  incrementally pushing to stacked branch would push the minimal data, but
2843
 
  fetching everything would request extra texts. There are some unhandled
2844
 
  cases wrt trees of different depths, but this fixes the common cases.
2845
 
  (Robert Collins, John Arbash Meinel, #390563)
2846
 
 
2847
 
* ``GroupCompress`` repositories now take advantage of the pack hints
2848
 
  parameter to permit cross-format fetching to incrementally pack the
2849
 
  converted data. (Robert Collins)
2850
 
 
2851
 
* ``Repository.commit_write_group`` now returns opaque data about what
2852
 
  was committed, for passing to the ``Repository.pack``. Repositories
2853
 
  without atomic commits will still return None. (Robert Collins)
2854
 
 
2855
 
* ``Repository.pack`` now takes an optional ``hint`` parameter
2856
 
  which will support doing partial packs for repositories that can do
2857
 
  that. (Robert Collins)
2858
 
 
2859
 
* RepositoryFormat has a new attribute 'pack_compresses' which is True
2860
 
  when doing a pack operation changes the compression of content in the
2861
 
  repository. (Robert Collins)
2862
 
 
2863
 
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
2864
 
  ``Repository.pack`` with the hint returned by
2865
 
  ``Repository.commit_write_group`` if the formats were different and the
2866
 
  repository can increase compression by doing a pack operation.
2867
 
  (Robert Collins, #376748)
2868
 
 
2869
 
 
2870
 
bzr 1.16
2871
 
########
2872
 
:Codename: yesterday-in-california
2873
 
:1.16rc1: 2009-06-11
2874
 
:1.16: 2009-06-18
2875
 
 
2876
 
This version of Bazaar contains the beta release of the new ``2a`` repository
2877
 
format, suitable for testing by fearless, advanced users. This format or an
2878
 
updated version of it will become the default format in Bazaar 2.0. Please
2879
 
read the NEWS entry before even thinking about upgrading to the new format.
2880
 
 
2881
 
Also included are speedups for many operations on huge projects, a bug fix for
2882
 
pushing stacked new stacked branches to smart servers and the usual bevy of
2883
 
bug fixes and improvements.
2884
 
 
2885
 
 
2886
 
Changes from 1.16rc1 to 1.16final
2887
 
*********************************
2888
 
 
2889
 
* Fix the nested tree flag check so that upgrade from development formats to
2890
 
  2a can work correctly.
2891
 
  (Jelmer Vernooij, #388727)
2892
 
 
2893
 
* Automatic format upgrades triggered by default stacking policies on a
2894
 
  1.16rc1 (or later) smart server work again.
2895
 
  (Andrew Bennetts, #388675)
2896
 
 
2897
 
 
2898
 
Compatibility Breaks
2899
 
********************
2900
 
 
2901
 
* Display prompt on stderr (instead of stdout) when querying users so
2902
 
  that the output of commands can be safely redirected.
2903
 
  (Vincent Ladeuil, #376582)
2904
 
 
2905
 
 
2906
 
New Features
2907
 
************
2908
 
 
2909
 
* A new repository format ``2a`` has been added.  This is a beta release
2910
 
  of the brisbane-core (aka group-compress) project.  This format now
2911
 
  suitable for wider testing by advanced users willing to deal with some
2912
 
  bugs.  We would appreciate test reports, either positive or negative.
2913
 
  Format 2a is substantially smaller and faster for many operations on
2914
 
  many trees.  This format or an updated version will become the default
2915
 
  in bzr 2.0.
2916
 
 
2917
 
  This is a rich-root format, so this repository format can be used with
2918
 
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
2919
 
  converted (including by merge, push and pull) to format 2a, but not vice
2920
 
  versa.  We recommend upgrading previous development formats to 2a.
2921
 
 
2922
 
  Upgrading to this format can take considerable time because it expands
2923
 
  and more concisely repacks the full history.
2924
 
 
2925
 
  If you use stacked branches, you must upgrade the stacked branches
2926
 
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
2927
 
 
2928
 
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
2929
 
  but using a Revision serializer using bencode rather than XML.
2930
 
  (Jelmer Vernooij, John Arbash Meinel)
2931
 
 
2932
 
* mail_client=claws now supports --body (and message body hooks).  Also uses
2933
 
  configured from address.  (Barry Warsaw)
2934
 
 
2935
 
Improvements
2936
 
************
2937
 
 
2938
 
 
2939
 
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
2940
 
  bugs with stacking and non default formats.)
2941
 
  (John Arbash Meinel, #373455)
2942
 
 
2943
 
* ``--development6-rich-root`` delays generating a delta index for the
2944
 
  first object inserted into a group. This has a beneficial impact on
2945
 
  ``bzr commit`` since each committed texts goes to its own group. For
2946
 
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
2947
 
  up commit from 7s => 4s. (John Arbash Meinel)
2948
 
 
2949
 
* Numerous operations are now faster for huge projects, i.e. those
2950
 
  with a large number of files and/or a large number of revisions,
2951
 
  particularly when the latest development format is used. These
2952
 
  operations (and improvements on OpenOffice.org) include:
2953
 
 
2954
 
  * branch in a shared repository (2X faster)
2955
 
  * branch --no-tree (100X faster)
2956
 
  * diff (2X faster)
2957
 
  * tags (70X faster)
2958
 
 
2959
 
  (Ian Clatworthy)
2960
 
 
2961
 
* Pyrex version of ``bencode`` support. This provides optimized support
2962
 
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
2963
 
  ``bzrlib.utils.bencode`` is now deprecated.
2964
 
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
2965
 
 
2966
 
 
2967
 
Bug Fixes
2968
 
*********
2969
 
 
2970
 
* Bazaar can now pass attachment files to the mutt email client.
2971
 
  (Edwin Grubbs, #384158)
2972
 
 
2973
 
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
2974
 
  see which files can also be added.  (Jason Spashett, #76616)
2975
 
 
2976
 
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
2977
 
  Also, the ``Branch.revision_history()`` API now works in the same
2978
 
  situation.  (Andrew Bennetts, #380314)
2979
 
  
2980
 
* ``bzr serve`` on Windows no longer displays a traceback simply because a
2981
 
  TCP client disconnected. (Andrew Bennetts)
2982
 
 
2983
 
* Clarify the rules for locking and fallback repositories. Fix bugs in how
2984
 
  ``RemoteRepository`` was handling fallbacks along with the
2985
 
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
2986
 
 
2987
 
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
2988
 
  branch. Not often triggered, because it required ghosts to be part of
2989
 
  the fetched revisions, not in the stacked-on ancestry.
2990
 
  (John Arbash Meinel)
2991
 
 
2992
 
* Fix status and commit to work with content filtered trees, addressing
2993
 
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
2994
 
 
2995
 
* Fix problem of "directory not empty" when contending for a lock over
2996
 
  sftp.  (Martin Pool, #340352)
2997
 
 
2998
 
* Fix rule handling so that eol is optional, not mandatory.
2999
 
  (Ian Clatworthy, #379370)
3000
 
 
3001
 
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
3002
 
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
3003
 
  1.16, but required changes to the network protocol, so the
3004
 
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
3005
 
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
3006
 
  still work with a 1.16 server as they will fallback to slower (and
3007
 
  bug-free) methods.
3008
 
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
3009
 
 
3010
 
* Reconcile can now deal with text revisions that originated in revisions 
3011
 
  that are ghosts. (Jelmer Vernooij, #336749)
3012
 
 
3013
 
* Support cloning of branches with ghosts in the left hand side history.
3014
 
  (Jelmer Vernooij, #248540)
3015
 
 
3016
 
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
3017
 
  helpful message to the trace file, unless the temp directory really was
3018
 
  removed (which would be very strange).  Since the diff operation has
3019
 
  succeeded from the user's perspective, no output is written to stderr 
3020
 
  or stdout.  (Maritza Mendez, #363837)
3021
 
 
3022
 
* Translate errors received from a smart server in response to a
3023
 
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
3024
 
  This was causing tracebacks even for mundane errors like
3025
 
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
3026
 
 
3027
 
Documentation
3028
 
*************
3029
 
 
3030
 
* Added directory structure and started translation of docs in Russian.
3031
 
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
3032
 
  Volodymyr Kotulskyi)
3033
 
 
3034
 
API Changes
3035
 
***********
3036
 
 
3037
 
* Added osutils.parent_directories(). (Ian Clatworthy)
3038
 
 
3039
 
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
3040
 
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
3041
 
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
3042
 
 
3043
 
* ``graph.StackedParentsProvider`` is now a public API, replacing
3044
 
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
3045
 
  for external users. (Gary van der Merwe)
3046
 
 
3047
 
* ``bzrlib.user_encoding`` is deprecated in favor of
3048
 
  ``get_user_encoding``.  (Alexander Belchenko)
3049
 
 
3050
 
* TreeTransformBase no longer assumes that limbo is provided via disk.
3051
 
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
3052
 
 
3053
 
Internals
3054
 
*********
3055
 
 
3056
 
* Remove ``weave.py`` script for accessing internals of old weave-format
3057
 
  repositories.  (Martin Pool)
3058
 
 
3059
 
Testing
3060
 
*******
3061
 
 
3062
 
* ``make check`` no longer repeats the test run in ``LANG=C``.
3063
 
  (Martin Pool, #386180)
3064
 
 
3065
 
* The number of cores is now correctly detected on OSX. (John Szakmeister)
3066
 
 
3067
 
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
3068
 
 
3069
 
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
3070
 
 
3071
 
 
3072
 
bzr 1.15
3073
 
########
3074
 
:1.15rc1: 2009-05-16
3075
 
:1.15: 2009-05-22
3076
 
:1.15.1: 2009-06-09
3077
 
 
3078
 
The smart server will no longer raise 'NoSuchRevision' when streaming content
3079
 
with a size mismatch in a reconstructed graph search. New command ``bzr
3080
 
dpush``. Plugins can now define their own annotation tie-breaker when two
3081
 
revisions introduce the exact same line.
3082
 
 
3083
 
Changes from 1.15.1 to 1.15.2
3084
 
*****************************
3085
 
 
3086
 
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
3087
 
  (Alexander Belchenko)
3088
 
 
3089
 
Changes from 1.15final to 1.15.1
3090
 
*********************************
3091
 
 
3092
 
* Translate errors received from a smart server in response to a
3093
 
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
3094
 
  This was causing tracebacks even for mundane errors like
3095
 
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
3096
 
 
3097
 
Changes from 1.15rc1 to 1.15final
3098
 
*********************************
3099
 
 
3100
 
* No changes
3101
 
 
3102
 
Compatibility Breaks
3103
 
********************
3104
 
 
3105
 
* ``bzr ls`` is no longer recursive by default. To recurse, use the
3106
 
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
3107
 
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
3108
 
  ``--no-recursive`` instead.  (Ian Clatworthy)
3109
 
 
3110
 
New Features
3111
 
************
3112
 
 
3113
 
* New command ``bzr dpush`` that can push changes to foreign 
3114
 
  branches (svn, git) without setting custom bzr-specific metadata.
3115
 
  (Jelmer Vernooij)
3116
 
 
3117
 
* The new development format ``--development6-rich-root`` now supports
3118
 
  stacking. We chose not to use a new format marker, since old clients
3119
 
  will just fail to open stacked branches, the same as if we used a new
3120
 
  format flag. (John Arbash Meinel, #373455)
3121
 
 
3122
 
* Plugins can now define their own annotation tie-breaker when two revisions
3123
 
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
3124
 
  Be aware though that this is temporary, private (as indicated by the leading
3125
 
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
3126
 
 
3127
 
* New command ``bzr dpush`` that can push changes to foreign 
3128
 
  branches (svn, git) without setting custom bzr-specific metadata.
3129
 
  (Jelmer Vernooij)
3130
 
 
3131
 
* ``bzr send`` will now check the ``child_submit_format`` setting in
3132
 
  the submit branch to determine what format to use, if none was 
3133
 
  specified on the command-line.  (Jelmer Vernooij)
3134
 
 
3135
 
Improvements
3136
 
************
3137
 
 
3138
 
* -Dhpss output now includes the number of VFS calls made to the remote
3139
 
  server. (Jonathan Lange)
3140
 
 
3141
 
* ``--coverage`` works for code running in threads too.
3142
 
  (Andrew Bennets, Vincent Ladeuil)
3143
 
 
3144
 
* ``bzr pull`` now has a ``--local`` option to only make changes to the
3145
 
  local branch, and not the bound master branch.
3146
 
  (Gary van der Merwe, #194716)
3147
 
 
3148
 
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
3149
 
 
3150
 
Bug Fixes
3151
 
*********
3152
 
 
3153
 
* Adding now works properly when path contains a symbolic link.
3154
 
  (Geoff Bache, #183831)
3155
 
 
3156
 
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
3157
 
 
3158
 
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
3159
 
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
3160
 
 
3161
 
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
3162
 
  (Martin von Gagern, #248932)
3163
 
 
3164
 
* ``bzr send`` works to send emails again using MAPI.
3165
 
  (Neil Martinsen-Burrell, #346998)
3166
 
 
3167
 
* Check for missing parent inventories in StreamSink.  This prevents
3168
 
  incomplete stacked branches being created by 1.13 bzr:// and
3169
 
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
3170
 
  causes those clients to send the missing records.  (Andrew Bennetts)
3171
 
 
3172
 
* Correctly handle http servers proposing multiple authentication schemes.
3173
 
  (Vincent Ladeuil, #366107)
3174
 
 
3175
 
* End-Of-Line content filters are now loaded correctly.
3176
 
  (Ian Clatworthy, Brian de Alwis, #355280)
3177
 
 
3178
 
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3179
 
  longer than 64KiB. (John Arbash Meinel, #364900)
3180
 
 
3181
 
* Fix TypeError in running ``bzr break-lock`` on some URLs.
3182
 
  (Alexander Belchenko, Martin Pool, #365891)
3183
 
 
3184
 
* Non-recursive ``bzr ls`` now works properly when a path is specified.
3185
 
  (Jelmer Vernooij, #357863)
3186
 
 
3187
 
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
3188
 
  (Vincent Ladeuil, #367726)
3189
 
 
3190
 
* Several bugs related to unicode symlinks have been fixed and the test suite
3191
 
  enhanced to better catch regressions for them. (Vincent Ladeuil)
3192
 
 
3193
 
* The smart server will no longer raise 'NoSuchRevision' when streaming
3194
 
  content with a size mismatch in a reconstructed graph search: it assumes
3195
 
  that the client will make sure it is happy with what it got, and this
3196
 
  sort of mismatch is normal for stacked environments.
3197
 
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
3198
 
  getting all the content expected would be a bug. However the graph
3199
 
  search is how we figured out what we wanted, so a mismatch is both odd
3200
 
  and unrecoverable without starting over, and starting over will end up
3201
 
  with the same data as if we just permitted the mismatch. If data is
3202
 
  gc'd, doing a new search will find only the truncated data, so sending
3203
 
  only the truncated data seems reasonable. bzr versions newer than this
3204
 
  will stream from stacked branches and check the stream to find missing
3205
 
  content in the stacked-on branch, and thus will handle the situation
3206
 
  implicitly.  (Robert Collins, #360791)
3207
 
 
3208
 
* Upgrading to, or fetching into a 'rich-root' format will now correctly
3209
 
  set the root data the same way that reconcile does.
3210
 
  (Robert Collins, #368921)
3211
 
 
3212
 
* Using unicode Windows API to obtain command-line arguments.
3213
 
  (Alexander Belchenko, #375934)
3214
 
 
3215
 
Documentation
3216
 
*************
3217
 
 
3218
 
API Changes
3219
 
***********
3220
 
 
3221
 
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
3222
 
  instead of ``InstallFailed`` when they detect a missing revision.
3223
 
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
3224
 
 
3225
 
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
3226
 
  arguments from ``osutils.get_unicode_argv()`` which has proper support
3227
 
  for unicode arguments on windows. Further, the supplied arguments are now 
3228
 
  required to be unicode strings, rather than user_encoded strings.
3229
 
  (Alexander Belchenko)
3230
 
 
3231
 
Internals
3232
 
*********
3233
 
 
3234
 
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
3235
 
  class and will call ``_set_parent_location`` after doing unicode 
3236
 
  encoding. (Robert Collins)
3237
 
 
3238
 
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
3239
 
  ``Branch.set_parent_location`` removing further VFS operations.
3240
 
  (Robert Collins)
3241
 
 
3242
 
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
3243
 
  or similar when the dir supports configuration settings. The base class
3244
 
  defaults to None. There is a matching new server verb
3245
 
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
3246
 
  configuration. (Robert Collins)
3247
 
 
3248
 
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
3249
 
  called before the first test is started, ``done`` called after the last
3250
 
  test completes, and a new parameter ``strict``. (Robert Collins)
3251
 
 
3252
 
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
3253
 
  VFS operations are started on a smart server repository. This should not
3254
 
  occur on regular push and pull operations, and is a key indicator for
3255
 
  performance regressions. (Robert Collins)
3256
 
 
3257
 
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
3258
 
  cause mismatched physical locks to cause test errors rather than just
3259
 
  reporting to the screen. (Robert Collins)
3260
 
 
3261
 
* -Dprogress will cause pdb to start up if a progress view jumps
3262
 
  backwards. (Robert Collins)
3263
 
 
3264
 
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
3265
 
  are now be able to provide credentials if obtaining credentials 
3266
 
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
3267
 
  Vincent Ladeuil, #321918)
3268
 
 
3269
 
* New hook ``Lock.lock_broken`` which runs when a lock is
3270
 
  broken. This is mainly for testing that lock/unlock are
3271
 
  balanced in tests. (Vincent Ladeuil)
3272
 
 
3273
 
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
3274
 
  alter a body for the message produced by ``bzr send``.
3275
 
 
3276
 
* New smart server verb ``BzrDir.initialize_ex`` which implements a
3277
 
  refactoring to the core of clone allowing less round trips on new
3278
 
  branches. (Robert Collins)
3279
 
 
3280
 
* New method ``Tags.rename_revisions`` that can rename revision ids tags
3281
 
  are pointing at. (Jelmer Vernooij)
3282
 
 
3283
 
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
3284
 
 
3285
 
Testing
3286
 
*******
3287
 
 
3288
 
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
3289
 
  tests. Using ``-Dlock`` will turn the related failures into warnings.
3290
 
  (Vincent Ladeuil, Robert Collins)
3291
 
 
3292
 
bzr 1.14
3293
 
########
3294
 
:Codename: brisbane-core
3295
 
:1.14rc1: 2009-04-06
3296
 
:1.14rc2: 2009-04-19
3297
 
:1.14: 2009-04-28
3298
 
:1.14.1: 2009-05-01
3299
 
 
3300
 
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
3301
 
keyword templating (via the bzr-keywords plugin) and generic content filtering.
3302
 
End-of-line conversion is now supported for formats supporting content
3303
 
filtering.
3304
 
 
3305
 
Changes from 1.14final to 1.14.1
3306
 
********************************
3307
 
 
3308
 
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
3309
 
 
3310
 
Changes from 1.14rc2 to 1.14final
3311
 
*********************************
3312
 
 
3313
 
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3314
 
  longer than 64KiB. (John Arbash Meinel, #364900)
3315
 
 
3316
 
Changes from 1.14rc1 to 1.14rc2
3317
 
*******************************
3318
 
 
3319
 
* Fix for bug 358037 Revision not in
3320
 
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
3321
 
  John A Meinel)
3322
 
 
3323
 
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3324
 
  attribute 'get_bytes_as' exception while pulling from Launchpad 
3325
 
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3326
 
 
3327
 
* Fix for bug 355280 eol content filters are never loaded and thus never
3328
 
  applied (Brian de Alwis, Ian Clatworthy)
3329
 
 
3330
 
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
3331
 
  write a better fix. (John Arbash Meinel, Robert Collins)
3332
 
 
3333
 
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
3334
 
  (Marius Kruger, Ian Clatworthy)
3335
 
 
3336
 
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
3337
 
  (Andrew Bennetts, Robert Collins)
3338
 
 
3339
 
Compatibility Breaks
3340
 
********************
3341
 
 
3342
 
* A previously disabled code path to accelerate getting configuration
3343
 
  settings from a smart server has been reinstated. We think this *may*
3344
 
  cause a incompatibility with servers older than bzr 0.15. We intend
3345
 
  to issue a point release to address this if it turns out to be a
3346
 
  problem. (Robert Collins, Andrew Bennetts)
 
9
In Development
 
10
##############
 
11
 
 
12
Compatibility Breaks
 
13
********************
3347
14
 
3348
15
* bzr no longer autodetects nested trees as 'tree-references'.  They
3349
16
  must now be explicitly added tree references.  At the commandline, use
3350
17
  join --reference instead of add.  (Aaron Bentley)
3351
18
 
3352
 
* The ``--long`` log format (the default) no longer shows merged
3353
 
  revisions implicitly, making it consistent with the ``short`` and
3354
 
  ``line`` log formats.  To see merged revisions for just a given
3355
 
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
3356
 
  use ``bzr log -n0``.  (Ian Clatworthy)
3357
 
 
3358
19
New Features
3359
20
************
3360
21
 
3361
 
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
3362
 
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
3363
 
  and generic content filtering. These formats replace the experimental
3364
 
  ``development-wt5`` and ``development-wt5-rich-root`` formats
3365
 
  respectively, but have support for filtered views disabled.
3366
 
  (Ian Clatworthy)
3367
 
 
3368
 
* New ``mv --auto`` option recognizes renames after they occur.
 
22
* New ``guess-renames`` command recognizes renames after they occur.
3369
23
  (Aaron Bentley)
3370
24
 
3371
 
* ``bzr`` can now get passwords from stdin without requiring a controlling
3372
 
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
3373
 
 
3374
 
* ``bzr log`` now supports filtering of multiple files and directories
3375
 
  and will show changes that touch any of them. Furthermore,
3376
 
  directory filtering now shows the changes to any children of that
3377
 
  directory, not just the directory object itself.
3378
 
  (Ian Clatworthy, #97715)
3379
 
 
3380
25
* ``bzr shelve`` can now apply changes without storing anything on the
3381
26
  shelf, via the new --destroy option.  (Aaron Bentley)
3382
27
 
3395
40
  trees). See ``bzr help content-filters`` for further details.
3396
41
  (Ian Clatworthy, Alexander Belchenko)
3397
42
 
3398
 
* End-of-line conversion is now supported for formats supporting
3399
 
  content filtering. See ``bzr help eol`` for details.
3400
 
  (Ian Clatworthy)
3401
 
 
3402
 
* Newly-blessed `join` command allows combining two trees into one.
3403
 
  (Aaron Bentley)
3404
 
 
3405
43
Improvements
3406
44
************
3407
45
 
3423
61
  version controlled files match the ignore pattern. (Neil
3424
62
  Martinsen-Burrell, #248895)
3425
63
 
3426
 
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
3427
 
  (Ian Clatworthy)
3428
 
 
3429
64
* ``bzr send`` is faster on repositories with deep histories.
3430
65
  (Ian Clatworthy)
3431
66
 
3432
 
* IPv6 literals are accepted in URLs.
3433
 
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
3434
 
 
3435
67
* Progress bars now show the rate of network activity for
3436
68
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
3437
69
 
3438
 
* Prompt for user names if they are not in the configuration. 
3439
 
  (Jelmer Vernooij, #256612)
3440
 
 
3441
70
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
3442
71
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
3443
72
  #294479)
3446
75
  implemented using a new ``Repository.insert_stream_locked`` RPC.
3447
76
  (Andrew Bennetts, Robert Collins)
3448
77
 
3449
 
* The "ignoring files outside view: .." message has been re-worded
3450
 
  to "Ignoring files outside view. View is .." to reduce confusion
3451
 
  about what was being considered and what was being ignored.
3452
 
  (Ian Clatworthy)
3453
 
 
3454
 
* The ``long`` log formatter now shows [merge] indicators. If
3455
 
  only one level of revisions is displayed and merges are found,
3456
 
  the ``long`` and ``short`` log formatters now tell the user
3457
 
  how to see the hidden merged revisions.  (Ian Clatworthy)
3458
 
 
3459
 
* The ``brisbane-core`` project has delivered its beta format
3460
 
  ``development6-rich-root``. This format is suitable for judicious
3461
 
  testing by early adopters. In particular if you are benchmarking bzr
3462
 
  performance please be sure to test using this format. At this stage
3463
 
  more information is best obtained by contacting the Bazaar mailing list
3464
 
  or IRC channel if you are interested in using this format. We will make
3465
 
  end user documentation available closer to blessing the format as
3466
 
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
3467
 
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
3468
 
 
3469
78
* Tildes are no longer escaped. No more %7Euser/project/branch!
3470
79
  (Jonathan Lange)
3471
80
 
3472
81
Bug Fixes
3473
82
*********
3474
83
 
3475
 
* Pushing a new stacked branch will also push the parent inventories for
3476
 
  revisions at the stacking boundary.  This makes sure that the stacked
3477
 
  branch has enough data to calculate inventory deltas for all of its
3478
 
  revisions (without requiring the fallback branch).  This avoids
3479
 
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3480
 
  when fetching the stacked branch from a 1.13 (or later) smart server.
3481
 
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
3482
 
 
3483
 
* End-Of-Line content filters are now loaded correctly.
3484
 
  (Ian Clatworthy, Brian de Alwis, #355280)
3485
 
 
3486
84
* Authentication plugins now receive all the parameters from the request
3487
85
  itself (aka host, port, realm, path, etc). Previously, only the 
3488
86
  authentication section name, username and encoded password were 
3491
89
* bzr gives a better message if an invalid regexp is passed to ``bzr log
3492
90
  -m``.  (Anne Mohsen, Martin Pool)
3493
91
 
3494
 
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
3495
 
 
3496
 
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
3497
 
  #313028)
3498
 
 
3499
92
* Fix "is not a stackable format" error when pushing a
3500
93
  stackable-format branch with an unstackable-format repository to a
3501
94
  destination with a default stacking policy.  (Andrew Bennetts)
3503
96
* Fixed incorrect "Source format does not support stacking" warning
3504
97
  when pushing to a smart server.  (Andrew Bennetts, #334114)
3505
98
 
3506
 
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
3507
 
  needed. (Vincent Ladeuil, #355454)
3508
 
 
3509
99
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
3510
 
  on ``bzr add x/y/z`` in formats supporting views when no view is
3511
 
  defined.  (Ian Clatworthy, #344708)
 
100
  on ``bzr add x/y/z`` in WorkingTree5 formats (e.g. ``development-wt5``)
 
101
  when no view is defined.  (Ian Clatworthy, #344708)
3512
102
 
3513
103
* It is no longer possible to fetch between repositories while the
3514
104
  target repository is in a write group. This prevents race conditions
3526
116
  both branches, we know that the trunk for the project can be read too,
3527
117
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
3528
118
 
3529
 
* Pushing a new stacked branch will also push the parent inventories for
3530
 
  revisions at the stacking boundary.  This makes sure that the stacked
3531
 
  branch has enough data to calculate inventory deltas for all of its
3532
 
  revisions (without requiring the fallback branch).  This avoids
3533
 
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3534
 
  when fetching the stacked branch from a 1.13 (or later) smart server.
3535
 
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
3536
 
 
3537
 
* The full test suite is passing again on OSX. Several minor issues (mostly
3538
 
  test related) have been fixed. (Vincent Ladeuil, #355273).
3539
 
 
3540
119
* The GNU Changelog formatter is slightly improved in the case where
3541
120
  the delta is empty, and now correctly claims not to support tags.
3542
121
  (Andrea Bolognani)
3544
123
* Shelve can now shelve changes to a symlink target.
3545
124
  (James Westby, #341558)
3546
125
 
3547
 
* The help for the ``info`` command has been corrected.
3548
 
  (Ian Clatworthy, #351931)
3549
 
 
3550
 
* Upgrade will now use a sensible default format if the source repository
3551
 
  uses rich roots.  (Jelmer Vernooij, #252908)
3552
 
 
3553
126
Documentation
3554
127
*************
3555
128
 
3556
 
* Expanded the index of the developer documentation. (Eric Siegerman)
3557
 
 
3558
129
* New topic `bzr help debug-flags`.  (Martin Pool)
3559
130
 
3560
131
* The generated manpage now explicitly lists aliases as commands.
3563
134
API Changes
3564
135
***********
3565
136
 
3566
 
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
137
* APIs deprecated in 1.6 and previous verisons of bzr are now removed.
3567
138
  (Martin Pool)
3568
139
 
3569
 
* ``CommitReporter`` is no longer called with ``unchanged`` status during
3570
 
  commit - this was a full-tree overhead that bzr no longer performs.
3571
 
  (Robert Collins)
3572
 
 
3573
 
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
3574
 
  obtain the username to use when connecting to remote machines. 
3575
 
  (Jelmer Vernooij)
3576
 
 
3577
140
* New API ``Inventory.filter()`` added that filters an inventory by
3578
141
  a set of file-ids so that only those fileids, their parents and
3579
142
  their children are included.  (Ian Clatworthy)
3595
158
* The ``pb`` argument to ``fetch()`` is deprecated.
3596
159
  (Martin Pool)
3597
160
 
3598
 
* The ``Serializer`` class and the serializer ``format registry`` have moved
3599
 
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
3600
 
 
3601
161
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
3602
162
  that is not inside the backing transport from being opened.  See the
3603
163
  module documentation for ``bzrlib.smart.request`` for details.
3604
164
  (Andrew Bennetts, Robert Collins)
3605
165
 
3606
 
* ``Tree.get_symlink_target`` now always returns a unicode string result
3607
 
  or None. Previously it would return the bytes from reading the link
3608
 
  which could be in any arbitrary encoding. (Robert Collins)
3609
 
 
3610
166
Testing
3611
167
*******
3612
168
 
3628
184
Internals
3629
185
*********
3630
186
 
3631
 
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
3632
 
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3633
 
 
3634
 
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
3635
 
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3636
 
 
3637
 
* Added ``bzrlib.inventory_delta`` module.  This will be used for
3638
 
  serializing and deserializing inventory deltas for more efficient
3639
 
  streaming on the network.  (Robert Collins, Andrew Bennetts)
3640
 
 
3641
 
* ``Branch._get_config`` has been added, which splits out access to the
3642
 
  specific config file from the branch. This is used to let RemoteBranch
3643
 
  avoid constructing real branch objects to access configuration settings.
3644
 
  (Robert Collins, Andrew Bennetts)
3645
 
 
3646
 
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
3647
 
  the implementation is generic and should impact foreign formats. This
3648
 
  helps performance for ``RemoteBranch`` push operations to new stacked
3649
 
  branches. (Robert Collins, Andrew Bennetts)
3650
 
 
3651
187
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
3652
188
  optmizations turned off. This only has effect when processing > 100,000
3653
189
  keys during something like ``bzr pack``. (John Arbash Meinel)
3675
211
  objects, allowing better enforcement of the smart server jail when
3676
212
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
3677
213
 
3678
 
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
3679
 
  to be added to the stanza that is printed for a particular revision.
3680
 
  (Jelmer Vernooij)
3681
 
 
3682
214
* New repository method ``refresh_data`` to cause any repository to
3683
215
  make visible data inserted into the repository by a smart server
3684
216
  fetch operation. (Robert Collins, Andrew Bennetts)
3685
217
 
3686
 
* ``register_filter_stack_map`` now takes an optional fallback parameter,
3687
 
  a callable to invoke if a preference has a value not in the map
3688
 
  of filter stacks. This enhancement allows, for example,  bzr-svn to
3689
 
  handle existing svn properties that define a list of keywords to be
3690
 
  expanded.  (Ian Clatworthy)
3691
 
 
3692
 
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
3693
 
  to write config settings to smart servers that support this, saving
3694
 
  5 round trips on the stacked streaming acceptance test.
3695
 
  (Robert Collins, Andrew Bennetts)
3696
 
 
3697
 
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
3698
 
  branch specific configuration from a remote server, which uses the 
3699
 
  already existing ``Branch.get_config_file`` smart verb.
3700
 
  (Robert Collins, Andrew Bennetts)
3701
 
 
3702
218
* ``RemoteRepository`` will now negatively cache missing revisions during
3703
219
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
3704
220
  (Robert Collins, Andrew Bennetts)
3711
227
  whether the repository can efficiently generate deltas between trees
3712
228
  regardless of tree size. (Robert Collins)
3713
229
 
3714
 
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
3715
 
  byte strings" (aka 'chunked') for the content. It previously was
3716
 
  returning a plain string, which worked, but performed very poorly when
3717
 
  building a working tree (file.writelines(str) is very inefficient). This
3718
 
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3719
 
 
3720
 
* selftest now supports a --parallel option, with values of 'fork' or
3721
 
  'subprocess' to run the test suite in parallel. Currently only linux
3722
 
  machine work, other platforms need patches submitted. (Robert Collins,
3723
 
  Vincent Ladeuil)
3724
 
 
3725
 
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
3726
 
  callables to use to decorate the test suite. Such decorators can add or
3727
 
  remove tests, or even remote the test suite to another machine if
3728
 
  desired. (Robert Collins)
3729
 
 
3730
230
* The smart server verb ``Repository.get_parent_map`` can now include
3731
231
  information about ghosts when the special revision ``include-missing:``
3732
232
  is in the requested parents map list. With this flag, ghosts are
3744
244
:1.13: 2009-03-14
3745
245
:1.13rc1: 2009-03-10
3746
246
:1.13.1: 2009-03-23
3747
 
:1.13.2: 2009-04-27
3748
247
 
3749
248
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
3750
249
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
3751
250
stacked branches should both be much faster over remote connections.  
3752
251
 
3753
 
Changes From 1.13.1 to 1.13.2
3754
 
*****************************
3755
 
 
3756
 
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
3757
 
a stacked branch they do not take care to push all the parent inventories for
3758
 
the transferred revisions. This means that a smart server serving that branch
3759
 
often cannot calculate inventory deltas for the branch (because smart server
3760
 
does not/cannot open fallback repositories). Prior to 1.13 the server did not
3761
 
have a verb to stream revisions out of a repository, so that's why this bug has
3762
 
appeared now.
3763
 
 
3764
 
Bug Fixes
3765
 
*********
3766
 
 
3767
 
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3768
 
  attribute 'get_bytes_as' exception while pulling from Launchpad 
3769
 
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3770
 
 
3771
 
Changes From 1.13final to 1.13.1
3772
 
********************************
3773
 
 
 
252
Changes From 1.13 to 1.13.1
 
253
***************************
3774
254
A couple regessions where found in the 1.13 release. The pyrex-generated C
3775
255
extensions are missing from the .tar.gz and .zip files.  Documentation on how
3776
256
to generate GNU ChangeLogs is wrong.
3789
269
 
3790
270
* ``merge --force`` works again. (Robert Collins, #342105)
3791
271
 
3792
 
Changes From 1.13rc1 to 1.13final
3793
 
*********************************
 
272
Changes From RC1 to Final
 
273
*************************
3794
274
 
3795
275
* Fix "is not a stackable format" error when pushing a
3796
276
  stackable-format branch with an unstackable-format repository to a
3831
311
* Multiple authors for a commit can now be recorded by using the "--author"
3832
312
  option multiple times. (James Westby, #185772)
3833
313
 
3834
 
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
 
314
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
3835
315
 
3836
316
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
3837
317
  branch in your web browser, as long as the branch is on Launchpad at all.
3942
422
  reoccuring. (Robert Collins, Andrew Bennetts)
3943
423
 
3944
424
* Restore the progress bar on Windows. We were disabling it when TERM
3945
 
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
3946
 
  #334808)
 
425
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko)
3947
426
 
3948
427
* ``setup.py build_ext`` now gives a proper error when an extension
3949
428
  fails to build. (John Arbash Meinel)
4345
824
  (Vincent Ladeuil)
4346
825
 
4347
826
 
4348
 
bzr 1.11
4349
 
########
4350
 
 
4351
 
:Codename: "Eyes up!"
4352
 
:Released: 2009-01-19
 
827
bzr 1.11 "Eyes up!" 2009-01-19
 
828
##############################
4353
829
 
4354
830
This first monthly release of Bazaar for 2009 improves Bazaar's operation
4355
831
in Windows, Mac OS X, and other situations where file names are matched
4375
851
 
4376
852
 
4377
853
 
4378
 
bzr 1.11rc1
4379
 
###########
4380
 
 
4381
 
:Codename: "Eyes up!"
4382
 
:Released: 2009-01-09
 
854
bzr 1.11rc1 "Eyes up!" 2009-01-09
 
855
#################################
4383
856
 
4384
857
Changes
4385
858
*******
4615
1088
 
4616
1089
 
4617
1090
 
4618
 
bzr 1.10
4619
 
########
4620
 
 
4621
 
:Released: 2008-12-05
 
1091
bzr 1.10 2008-12-05
 
1092
###################
4622
1093
 
4623
1094
Bazaar 1.10 has several performance improvements for copying revisions
4624
1095
(especially for small updates to large projects).  There has also been a
4643
1114
  topologically. (John Arbash Meinel, #304841)
4644
1115
 
4645
1116
 
4646
 
bzr 1.10rc1
4647
 
###########
4648
 
 
4649
 
:Released: 2008-11-28
 
1117
bzr 1.10rc1 2008-11-28
 
1118
######################
4650
1119
 
4651
1120
This release of Bazaar focuses on performance improvements when pushing
4652
1121
and pulling revisions, both locally and to remote networks.  The popular
4766
1235
* Doctests now only report the first failure.  (Martin Pool)
4767
1236
 
4768
1237
 
4769
 
bzr 1.9
4770
 
#######
4771
 
 
4772
 
:Released: 2008-11-07
 
1238
bzr 1.9 2008-11-07
 
1239
##################
4773
1240
 
4774
1241
This release of Bazaar adds a new repository format, ``1.9``, with smaller
4775
1242
and more efficient index files.  This format can be specified when
4791
1258
  (John Arbash Meinel, #293746)
4792
1259
 
4793
1260
 
4794
 
bzr 1.9rc1
4795
 
##########
4796
 
 
4797
 
:Released: 2008-10-31
 
1261
bzr 1.9rc1 2008-10-31
 
1262
#####################
4798
1263
 
4799
1264
New Features
4800
1265
************
4911
1376
  configuration of authetication credentials.
4912
1377
 
4913
1378
 
4914
 
bzr 1.8
4915
 
#######
4916
 
 
4917
 
:Released: 2008-10-16
 
1379
bzr 1.8 2008-10-16
 
1380
##################
4918
1381
 
4919
1382
Bazaar 1.8 includes several fixes that improve working tree performance,
4920
1383
display of revision logs, and merges.  The bzr testsuite now passes on OS
4935
1398
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
4936
1399
 
4937
1400
 
4938
 
bzr 1.8rc1
4939
 
##########
4940
 
 
4941
 
:Released: 2008-10-07
 
1401
bzr 1.8rc1 2008-10-07
 
1402
#####################
4942
1403
 
4943
1404
Changes
4944
1405
*******
5136
1597
  (Vincent Ladeuil)
5137
1598
 
5138
1599
 
5139
 
bzr 1.7.1
5140
 
#########
5141
 
 
5142
 
:Released:  2008-10-01
 
1600
bzr 1.7.1 2008-10-01
 
1601
####################
5143
1602
 
5144
1603
No changes from 1.7.1rc1.
5145
1604
 
5146
1605
 
5147
 
bzr 1.7.1rc1
5148
 
############
5149
 
 
5150
 
:Released: 2008-09-24
 
1606
bzr 1.7.1rc1 2008-09-24
 
1607
#######################
5151
1608
 
5152
1609
This release just includes an update to how the merge algorithm handles
5153
1610
file paths when we encounter complex history.
5162
1619
  (John Arbash Meinel)
5163
1620
 
5164
1621
 
5165
 
bzr 1.7
5166
 
#######
5167
 
 
5168
 
:Released: 2008-09-23
 
1622
bzr 1.7 2008-09-23
 
1623
##################
5169
1624
 
5170
1625
This release includes many bug fixes and a few performance and feature
5171
1626
improvements.  ``bzr rm`` will now scan for missing files and remove them,
5182
1637
  packaging qbzr. (Mark Hammond)
5183
1638
 
5184
1639
 
5185
 
bzr 1.7rc2
5186
 
##########
5187
 
 
5188
 
:Released: 2008-09-17
 
1640
bzr 1.7rc2 2008-09-17
 
1641
#####################
5189
1642
 
5190
1643
A few bug fixes from 1.7rc1. The biggest change is a new
5191
1644
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
5209
1662
  (Andrew Bennetts)
5210
1663
 
5211
1664
 
5212
 
bzr 1.7rc1
5213
 
##########
5214
 
 
5215
 
:Released: 2008-09-09
 
1665
bzr 1.7rc1 2008-09-09
 
1666
#####################
5216
1667
 
5217
1668
This release candidate for bzr 1.7 has several bug fixes and a few
5218
1669
performance and feature improvements.  ``bzr rm`` will now scan for
5409
1860
  clients now use this mechanism.  (Neil Martinsen-Burrell)
5410
1861
 
5411
1862
 
5412
 
bzr 1.6.1
5413
 
#########
5414
 
 
5415
 
:Released: 2008-09-05
 
1863
bzr 1.6.1 2008-09-05
 
1864
####################
5416
1865
 
5417
1866
A couple regressions were found in the 1.6 release. There was a
5418
1867
performance issue when using ``bzr+ssh`` to branch large repositories,
5419
1868
and some problems with stacking and ``rich-root`` capable repositories.
5420
1869
 
5421
1870
 
5422
 
bzr 1.6.1rc2
5423
 
############
5424
 
 
5425
 
:Released: 2008-09-03
 
1871
bzr 1.6.1rc2 2008-09-03
 
1872
#######################
5426
1873
 
5427
1874
Bug Fixes
5428
1875
*********
5433
1880
  (John Arbash Meinel, #264321)
5434
1881
 
5435
1882
 
5436
 
bzr 1.6.1rc1
5437
 
############
5438
 
 
5439
 
:Released: 2008-08-29
 
1883
bzr 1.6.1rc1 2008-08-29
 
1884
#######################
5440
1885
 
5441
1886
This release fixes a few regressions found in the 1.6 client. Fetching
5442
1887
changes was using an O(N^2) buffering algorithm, so for large projects it
5476
1921
  (John Arbash Meinel, #262333)
5477
1922
 
5478
1923
 
5479
 
bzr 1.6
5480
 
#######
5481
 
 
5482
 
:Released: 2008-08-25
 
1924
bzr 1.6 2008-08-25
 
1925
##################
5483
1926
 
5484
1927
Finally, the long awaited bzr 1.6 has been released. This release includes
5485
1928
new features like Stacked Branches, improved weave merge, and an updated
5492
1935
TortoiseBzr in the standalone Windows installer.
5493
1936
 
5494
1937
 
5495
 
bzr 1.6rc5
5496
 
##########
5497
 
 
5498
 
:Released: 2008-08-19
 
1938
bzr 1.6rc5 2008-08-19
 
1939
#####################
5499
1940
 
5500
1941
Bug Fixes
5501
1942
*********
5507
1948
  (This change was reverted when merged to bzr.dev)
5508
1949
 
5509
1950
 
5510
 
bzr 1.6rc4
5511
 
##########
5512
 
 
5513
 
:Released: 2008-08-18
 
1951
bzr 1.6rc4 2008-08-18
 
1952
#####################
5514
1953
 
5515
1954
Bug Fixes
5516
1955
*********
5520
1959
  rather than preserving deltas.  (John Arbash Meinel, #256757)
5521
1960
 
5522
1961
 
5523
 
bzr 1.6rc3
5524
 
##########
5525
 
 
5526
 
:Released: 2008-08-14
 
1962
bzr 1.6rc3 2008-08-14
 
1963
#####################
5527
1964
 
5528
1965
Changes
5529
1966
*******
5556
1993
  development which is substantially faster. (Robert Collins)
5557
1994
 
5558
1995
 
5559
 
bzr 1.6rc2
5560
 
##########
5561
 
 
5562
 
:Released: 2008-08-13
 
1996
bzr 1.6rc2 2008-08-13
 
1997
#####################
5563
1998
 
5564
1999
This release candidate has a few minor bug fixes, and some regression
5565
2000
fixes for Windows.
5597
2032
  will get the same results.  (John Arbash Meinel, #232188)
5598
2033
 
5599
2034
 
5600
 
bzr 1.6rc1
5601
 
##########
5602
 
 
5603
 
:Released: 2008-08-06
 
2035
bzr 1.6rc1 2008-08-06
 
2036
#####################
5604
2037
 
5605
2038
This release candidate for bzr 1.6 solidifies the new branch stacking
5606
2039
feature.  Bazaar now recommends that users upgrade all knit repositories,
5736
2169
  (Ian Clatworthy)
5737
2170
 
5738
2171
 
5739
 
bzr 1.6beta3
5740
 
############
5741
 
 
5742
 
:Released: 2008-07-17
 
2172
bzr 1.6beta3 2008-07-17
 
2173
#######################
5743
2174
 
5744
2175
This release adds a new 'stacked branches' feature allowing branches to
5745
2176
share storage without being in the same repository or on the same machine.
5911
2342
  (Robert Collins)
5912
2343
 
5913
2344
 
5914
 
bzr 1.6beta2
5915
 
############
5916
 
 
5917
 
:Released: 2008-06-10
 
2345
bzr 1.6beta2 2008-06-10
 
2346
#######################
5918
2347
 
5919
2348
This release contains further progress towards our 1.6 goals of shallow
5920
2349
repositories, and contains a fix for some user-affecting bugs in the
5997
2426
* Knit record serialisation is now stricter on what it will accept, to
5998
2427
  guard against potential internal bugs, or broken input. (Robert Collins)
5999
2428
 
6000
 
bzr 1.6beta1
6001
 
############
 
2429
bzr 1.6beta1 2008-06-02
 
2430
#######################
6002
2431
 
6003
 
:Released: 2008-06-02
6004
2432
 
6005
2433
Commands that work on the revision history such as push, pull, missing,
6006
2434
uncommit and log are now substantially faster.  This release adds a
6218
2646
  (Martin Pool)
6219
2647
 
6220
2648
 
6221
 
bzr 1.5
6222
 
#######
6223
 
 
6224
 
:Released: 2008-05-16
 
2649
bzr 1.5 2008-05-16
 
2650
##################
6225
2651
 
6226
2652
This release of Bazaar includes several updates to the documentation, and fixes
6227
2653
to prepare for making rich root support the default format. Many bugs have been
6242
2668
  (Ian Clatworthy)
6243
2669
 
6244
2670
 
6245
 
bzr 1.5rc1
6246
 
##########
6247
 
 
6248
 
:Released: 2008-05-09
 
2671
bzr 1.5rc1 2008-05-09
 
2672
#####################
6249
2673
 
6250
2674
Changes
6251
2675
*******
6360
2784
  exception. (Andrew Bennetts)
6361
2785
 
6362
2786
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
6363
 
  options for debugging tests, these are complementary to the -D
 
2787
  options for debugging tests, these are complementary to the the -D
6364
2788
  options.  The ``-Dselftest_debug`` global option has been replaced by the
6365
2789
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
6366
2790
 
6415
2839
  (Martin Pool)
6416
2840
 
6417
2841
 
6418
 
bzr 1.4 
6419
 
#######
6420
 
 
6421
 
:Released: 2008-04-28
 
2842
bzr 1.4 2008-04-28
 
2843
##################
6422
2844
 
6423
2845
This release of Bazaar includes handy improvements to the speed of log and
6424
2846
status, new options for several commands, improved documentation, and better
6437
2859
  (John Arbash Meinel, Andrew Bennetts, #214894)
6438
2860
 
6439
2861
 
6440
 
bzr 1.4rc2
6441
 
##########
6442
 
 
6443
 
:Released: 2008-04-21
 
2862
bzr 1.4rc2 2008-04-21
 
2863
#####################
6444
2864
 
6445
2865
Bug Fixes
6446
2866
*********
6463
2883
  (Robert Collins, John Arbash Meinel)
6464
2884
 
6465
2885
 
6466
 
bzr 1.4rc1
6467
 
##########
6468
 
 
6469
 
:Released: 2008-04-11
 
2886
bzr 1.4rc1 2008-04-11
 
2887
#####################
6470
2888
 
6471
2889
Changes
6472
2890
*******
6753
3171
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
6754
3172
 
6755
3173
 
6756
 
bzr 1.3.1
6757
 
#########
6758
 
 
6759
 
:Released: 2008-04-09
 
3174
bzr 1.3.1 2008-04-09
 
3175
####################
6760
3176
 
6761
3177
No changes from 1.3.1rc1.
6762
3178
 
6763
3179
 
6764
 
bzr 1.3.1rc1
6765
 
############
6766
 
 
6767
 
:Released: 2008-04-04
 
3180
bzr 1.3.1rc1 2008-04-04
 
3181
#######################
6768
3182
 
6769
3183
Bug Fixes
6770
3184
*********
6775
3189
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
6776
3190
 
6777
3191
 
6778
 
bzr 1.3
6779
 
#######
6780
 
 
6781
 
:Released: 2008-03-20
 
3192
bzr 1.3 2008-03-20
 
3193
##################
6782
3194
 
6783
3195
Bazaar has become part of the GNU project <http://www.gnu.org>
6784
3196
 
6794
3206
  (#202778, Martin Pool)
6795
3207
 
6796
3208
 
6797
 
bzr 1.3rc1
6798
 
##########
6799
 
 
6800
 
:Released: 2008-03-16
 
3209
bzr 1.3rc1 2008-03-16
 
3210
#####################
6801
3211
 
6802
3212
Notes When Upgrading
6803
3213
********************
6983
3393
  format. (Robert Collins)
6984
3394
 
6985
3395
 
6986
 
bzr 1.2
6987
 
#######
6988
 
 
6989
 
:Released: 2008-02-15
 
3396
bzr 1.2 2008-02-15
 
3397
##################
6990
3398
 
6991
3399
Bug Fixes
6992
3400
*********
6994
3402
* Fix failing test in Launchpad plugin. (Martin Pool)
6995
3403
 
6996
3404
 
6997
 
bzr 1.2rc1
6998
 
##########
6999
 
 
7000
 
:Released: 2008-02-13
 
3405
bzr 1.2rc1 2008-02-13
 
3406
#####################
7001
3407
 
7002
3408
Notes When Upgrading
7003
3409
********************
7115
3521
  checkouts.  (Aaron Bentley, #182040)
7116
3522
 
7117
3523
* Stop polluting /tmp when running selftest.
7118
 
  (Vincent Ladeuil, #123363)
 
3524
  (Vincent Ladeuil, #123623)
7119
3525
 
7120
3526
* Switch from NFKC => NFC for normalization checks. NFC allows a few
7121
3527
  more characters which should be considered valid.
7198
3604
  revision names etc. (Robert Collins)
7199
3605
 
7200
3606
 
7201
 
bzr 1.1
7202
 
#######
7203
 
 
7204
 
:Released: 2008-01-15
 
3607
bzr 1.1 2008-01-15
 
3608
##################
7205
3609
 
7206
3610
(no changes from 1.1rc1)
7207
3611
 
7208
 
bzr 1.1rc1
7209
 
##########
7210
 
 
7211
 
:Released: 2008-01-05
 
3612
bzr 1.1rc1 2008-01-05
 
3613
#####################
7212
3614
 
7213
3615
Changes
7214
3616
*******
7418
3820
  replaced by the new helper methods added in this release. (Robert Collins)
7419
3821
 
7420
3822
 
7421
 
bzr 1.0
7422
 
#######
7423
 
 
7424
 
:Released: 2007-12-14
 
3823
bzr 1.0 2007-12-14
 
3824
##################
7425
3825
 
7426
3826
Documentation
7427
3827
*************
7438
3838
  (Ian Clatworthy)
7439
3839
 
7440
3840
 
7441
 
bzr 1.0rc3
7442
 
##########
7443
 
 
7444
 
:Released: 2007-12-11
 
3841
bzr 1.0rc3 2007-12-11
 
3842
#####################
7445
3843
 
7446
3844
Changes
7447
3845
*******
7482
3880
  (Vincent Ladeuil)
7483
3881
 
7484
3882
 
7485
 
bzr 1.0rc2
7486
 
##########
7487
 
 
7488
 
:Released: 2007-12-07
 
3883
bzr 1.0rc2 2007-12-07
 
3884
#####################
7489
3885
 
7490
3886
Improvements
7491
3887
************
7559
3955
  ``started`` methods. (Matt Nordhoff)
7560
3956
 
7561
3957
 
7562
 
bzr 1.0rc1
7563
 
##########
7564
 
 
7565
 
:Released: 2007-11-30
 
3958
bzr 1.0rc1 2007-11-30
 
3959
#####################
7566
3960
 
7567
3961
Notes When Upgrading
7568
3962
********************
7838
4232
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
7839
4233
 
7840
4234
 
7841
 
bzr 0.92
7842
 
########
7843
 
 
7844
 
:Released: 2007-11-05
 
4235
bzr 0.92 2007-11-05
 
4236
###################
7845
4237
 
7846
4238
Changes
7847
4239
*******
7849
4241
  * New uninstaller on Win32.  (Alexander Belchenko)
7850
4242
 
7851
4243
 
7852
 
bzr 0.92rc1
7853
 
###########
7854
 
 
7855
 
:Released: 2007-10-29
 
4244
bzr 0.92rc1 2007-10-29
 
4245
######################
7856
4246
 
7857
4247
Changes
7858
4248
*******
8171
4561
  raises a Python warning.  (Martin Pool)
8172
4562
 
8173
4563
 
8174
 
bzr 0.91
8175
 
########
8176
 
 
8177
 
:Released: 2007-09-26
 
4564
bzr 0.91 2007-09-26
 
4565
###################
8178
4566
 
8179
4567
Bug Fixes
8180
4568
*********
8195
4583
  (Andrew Bennetts)
8196
4584
 
8197
4585
 
8198
 
bzr 0.91rc2
8199
 
###########
8200
 
 
8201
 
:Released: 2007-09-11
 
4586
bzr 0.91rc2 2007-09-11
 
4587
######################
8202
4588
 
8203
4589
* Replaced incorrect tarball for previous release; a debug statement was left
8204
4590
  in bzrlib/remote.py.
8205
4591
 
8206
4592
 
8207
 
bzr 0.91rc1
8208
 
###########
8209
 
 
8210
 
:Released: 2007-09-11
 
4593
bzr 0.91rc1 2007-09-11
 
4594
######################
8211
4595
 
8212
4596
Changes
8213
4597
*******
8534
4918
  [] to revert all files is deprecated.  (Aaron Bentley)
8535
4919
 
8536
4920
 
8537
 
bzr 0.90
8538
 
########
8539
 
 
8540
 
:Released: 2007-08-28
 
4921
bzr 0.90 2007-08-28
 
4922
###################
8541
4923
 
8542
4924
Improvements
8543
4925
************
8560
4942
  and call ``create_repository`` on that.  (Martin Pool)
8561
4943
 
8562
4944
 
8563
 
bzr 0.90rc1
8564
 
###########
8565
 
 
8566
 
:Released: 2007-08-14
 
4945
bzr 0.90rc1 2007-08-14
 
4946
######################
8567
4947
 
8568
4948
Bugfixes
8569
4949
********
8835
5215
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
8836
5216
 
8837
5217
 
8838
 
bzr 0.18
8839
 
########
8840
 
 
8841
 
:Released:  2007-07-17
 
5218
bzr 0.18  2007-07-17
 
5219
####################
8842
5220
 
8843
5221
Bugfixes
8844
5222
********
8846
5224
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
8847
5225
 
8848
5226
 
8849
 
bzr 0.18rc1
8850
 
###########
8851
 
 
8852
 
:Released:  2007-07-10
 
5227
bzr 0.18rc1  2007-07-10
 
5228
#######################
8853
5229
 
8854
5230
Bugfixes
8855
5231
********
9100
5476
  (Vincent Ladeuil, #110448)
9101
5477
 
9102
5478
 
9103
 
bzr 0.17
9104
 
########
9105
 
 
9106
 
:Released:  2007-06-18
 
5479
bzr 0.17  2007-06-18
 
5480
####################
9107
5481
 
9108
5482
Bugfixes
9109
5483
********
9115
5489
  (Aaron Bentley, Ian Clatworthy, #120930)
9116
5490
 
9117
5491
 
9118
 
bzr 0.17rc1
9119
 
###########
9120
 
 
9121
 
:Released:  2007-06-12
 
5492
bzr 0.17rc1  2007-06-12
 
5493
#######################
9122
5494
 
9123
5495
Notes When Upgrading
9124
5496
********************
9219
5591
  your repository. (Previously Branch6 only supported revisions in your
9220
5592
  mainline). (John Arbash Meinel, #115343)
9221
5593
 
9222
 
bzr 0.16
9223
 
########
9224
 
 
9225
 
:Released:  2007-05-07
 
5594
bzr 0.16  2007-05-07
 
5595
####################
9226
5596
 
9227
5597
Bugfixes
9228
5598
********
9252
5622
  diff`` and ``bzr status`` significantly improving the speed of
9253
5623
  both. (John Arbash Meinel)
9254
5624
 
9255
 
bzr 0.16rc2
9256
 
###########
9257
 
 
9258
 
:Released:  2007-04-30
 
5625
bzr 0.16rc2  2007-04-30
 
5626
#######################
9259
5627
 
9260
5628
Bugfixes
9261
5629
********
9278
5646
* ``WorkingTree4._iter_changes`` should not descend into unversioned
9279
5647
  directories. (John Arbash Meinel, #110399)
9280
5648
 
9281
 
bzr 0.16rc1
9282
 
###########
9283
 
 
9284
 
:Released:  2007-04-26
 
5649
bzr 0.16rc1  2007-04-26
 
5650
#######################
9285
5651
 
9286
5652
Notes When Upgrading
9287
5653
********************
9588
5954
  implementation of new auth schemes for both http and proxy.
9589
5955
  (Vincent Ladeuil)
9590
5956
 
9591
 
bzr 0.15
9592
 
########
9593
 
 
9594
 
:Released: 2007-04-01
 
5957
bzr 0.15 2007-04-01
 
5958
###################
9595
5959
 
9596
5960
Bugfixes
9597
5961
********
9603
5967
  checking out a branch that contains an old-format working tree.
9604
5968
  (Martin Pool)
9605
5969
 
9606
 
bzr 0.15rc3
9607
 
###########
9608
 
 
9609
 
:Released:  2007-03-26
 
5970
bzr 0.15rc3  2007-03-26
 
5971
#######################
9610
5972
 
9611
5973
Changes
9612
5974
*******
9681
6043
* Correctly handles mutiple permanent http redirections.
9682
6044
  (vila, #88780)
9683
6045
 
9684
 
bzr 0.15rc2
9685
 
###########
9686
 
 
9687
 
:Released:  2007-03-14
 
6046
bzr 0.15rc2  2007-03-14
 
6047
#######################
9688
6048
 
9689
6049
Notes When Upgrading
9690
6050
********************
9737
6097
  (Wouter van Heyst, #53483)
9738
6098
 
9739
6099
 
9740
 
bzr 0.15rc1
9741
 
###########
9742
 
 
9743
 
:Released:  2007-03-07
 
6100
bzr 0.15rc1  2007-03-07
 
6101
#######################
9744
6102
 
9745
6103
Surprises
9746
6104
*********
9970
6328
  before the rest of the suite.  (Martin Pool)
9971
6329
 
9972
6330
 
9973
 
bzr 0.14
9974
 
########
9975
 
 
9976
 
:Released:  2007-01-23
 
6331
bzr 0.14  2007-01-23
 
6332
####################
9977
6333
 
9978
6334
Improvements
9979
6335
************
9992
6348
  it is in is below a repository. (James Westby, #77306)
9993
6349
 
9994
6350
 
9995
 
bzr 0.14rc1
9996
 
###########
9997
 
 
9998
 
:Released:  2007-01-16
 
6351
bzr 0.14rc1  2007-01-16
 
6352
#######################
9999
6353
 
10000
6354
Improvements
10001
6355
************
10129
6483
  (Alexander Belchenko, #68124)
10130
6484
 
10131
6485
 
10132
 
bzr 0.13
10133
 
########
10134
 
 
10135
 
:Released:  2006-12-05
 
6486
bzr 0.13  2006-12-05
 
6487
####################
10136
6488
 
10137
6489
No changes from 0.13rc
10138
6490
 
10139
6491
 
10140
 
bzr 0.13rc1
10141
 
###########
10142
 
 
10143
 
:Released:  2006-11-27
 
6492
bzr 0.13rc1  2006-11-27
 
6493
#######################
10144
6494
 
10145
6495
Improvements
10146
6496
************
10265
6615
* TestingHTTPRequestHandler really handles the Range header
10266
6616
  (previously it was ignoring it and returning the whole file,).
10267
6617
 
10268
 
bzr 0.12
10269
 
########
10270
 
 
10271
 
:Released:  2006-10-30
 
6618
bzr 0.12  2006-10-30
 
6619
####################
10272
6620
 
10273
6621
Internals
10274
6622
*********
10277
6625
  and remove benchmarks that take longer than 10min to run.
10278
6626
  (John Arbash Meinel)
10279
6627
 
10280
 
bzr 0.12rc1
10281
 
###########
10282
 
 
10283
 
:Released:  2006-10-23
 
6628
bzr 0.12rc1  2006-10-23
 
6629
#######################
10284
6630
 
10285
6631
Improvements
10286
6632
************
10356
6702
* Avoid circular imports by creating a deprecated function for
10357
6703
  ``bzrlib.tree.RevisionTree``. Callers should have been using
10358
6704
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
10359
 
  #66349)
 
6705
  #63360, #66349)
10360
6706
 
10361
6707
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
10362
6708
  platforms. (Martin Pool, #66356)
10401
6747
  option to set the BzrDir, Repository and Branch formats of the
10402
6748
  created objects. (Robert Collins, John Arbash Meinel)
10403
6749
 
10404
 
bzr 0.11
10405
 
########
10406
 
 
10407
 
:Released:  2006-10-02
 
6750
bzr 0.11  2006-10-02
 
6751
####################
10408
6752
 
10409
6753
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
10410
6754
 
10411
 
bzr 0.11rc2
10412
 
###########
10413
 
 
10414
 
:Released:  2006-09-27
 
6755
bzr 0.11rc2  2006-09-27
 
6756
#######################
10415
6757
 
10416
6758
Bug Fixes
10417
6759
*********
10421
6763
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
10422
6764
  Arbash Meinel).
10423
6765
 
10424
 
bzr 0.11rc1
10425
 
###########
10426
 
 
10427
 
:Released:  2006-09-25
 
6766
bzr 0.11rc1  2006-09-25
 
6767
#######################
10428
6768
 
10429
6769
Improvements
10430
6770
************
10617
6957
  allow upgrades to a richer interface than the VFS one provided by
10618
6958
  Transport. (Andrew Bennetts, Martin Pool)
10619
6959
 
10620
 
bzr 0.10
10621
 
########
10622
 
 
10623
 
:Released:  2006-08-29
 
6960
bzr 0.10  2006-08-29
 
6961
####################
10624
6962
 
10625
6963
Improvements
10626
6964
************
10697
7035
  need to be installed. This should help make the life of packagers
10698
7036
  easier. (John Arbash Meinel)
10699
7037
 
10700
 
bzr 0.9.0
10701
 
#########
10702
 
 
10703
 
:Released:  2006-08-11
 
7038
bzr 0.9.0  2006-08-11
 
7039
#####################
10704
7040
 
10705
7041
Surprises
10706
7042
*********
10967
7303
 
10968
7304
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
10969
7305
 
10970
 
bzr 0.8.2
10971
 
#########
10972
 
 
10973
 
:Released:  2006-05-17
 
7306
bzr 0.8.2  2006-05-17
 
7307
#####################
10974
7308
 
10975
7309
Bug Fixes
10976
7310
*********
10977
7311
 
10978
7312
* setup.py failed to install launchpad plugin.  (Martin Pool)
10979
7313
 
10980
 
bzr 0.8.1
10981
 
#########
10982
 
 
10983
 
:Released:  2006-05-16
 
7314
bzr 0.8.1  2006-05-16
 
7315
#####################
10984
7316
 
10985
7317
Bug Fixes
10986
7318
*********
11033
7365
* Fix test case for bzr info in upgrading a standalone branch to metadir,
11034
7366
  uses bzrlib api now. (Olaf Conradi)
11035
7367
 
11036
 
bzr 0.8
11037
 
#######
11038
 
 
11039
 
:Released:  2006-05-08
 
7368
bzr 0.8  2006-05-08
 
7369
###################
11040
7370
 
11041
7371
Notes When Upgrading
11042
7372
********************
11297
7627
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
11298
7628
  parameter which will provide String("foo") to the command as its stdin.
11299
7629
 
11300
 
bzr 0.7
11301
 
#######
11302
 
 
11303
 
:Released: 2006-01-09
 
7630
bzr 0.7 2006-01-09
 
7631
##################
11304
7632
 
11305
7633
Changes
11306
7634
*******
11595
7923
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
11596
7924
  for functions that need unicode strings. (Robert Collins)
11597
7925
 
11598
 
bzr 0.6
11599
 
#######
11600
 
 
11601
 
:Released: 2005-10-28
 
7926
bzr 0.6 2005-10-28
 
7927
##################
11602
7928
 
11603
7929
Improvements
11604
7930
************
11774
8100
  about future directions. (Robert Collins/Martin Pool)
11775
8101
 
11776
8102
* bzrlib.transport.http has been modified so that only 404 urllib errors
11777
 
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
8103
  are returned as NoSuchFile. Other exceptions will propogate as normal.
11778
8104
  This allows debuging of actual errors. (Robert Collins)
11779
8105
 
11780
8106
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
11813
8139
  [-1] in the revision-history. (Andres Salomon)
11814
8140
 
11815
8141
 
11816
 
bzr 0.1.1
11817
 
#########
11818
 
 
11819
 
:Released: 2005-10-12
 
8142
bzr 0.1.1 2005-10-12
 
8143
####################
11820
8144
 
11821
8145
Bug Fixes
11822
8146
*********
11833
8157
* Avoid some unnecessary http operations in branch and pull.
11834
8158
 
11835
8159
 
11836
 
bzr 0.1
11837
 
#######
11838
 
 
11839
 
:Released: 2005-10-11
 
8160
bzr 0.1 2005-10-11
 
8161
##################
11840
8162
 
11841
8163
Notes
11842
8164
*****
11965
8287
  of tests to run, e.g. ``bzr selftest test_weave``
11966
8288
 
11967
8289
 
11968
 
bzr 0.0.9
11969
 
#########
11970
 
 
11971
 
:Released: 2005-09-23
 
8290
bzr 0.0.9 2005-09-23
 
8291
####################
11972
8292
 
11973
8293
Bug Fixes
11974
8294
*********
12009
8329
  another (used by pull, merged, etc.)
12010
8330
 
12011
8331
 
12012
 
bzr 0.0.8
12013
 
#########
12014
 
 
12015
 
:Released: 2005-09-20
12016
 
 
 
8332
bzr 0.0.8 2005-09-20
 
8333
####################
12017
8334
 
12018
8335
Improvements
12019
8336
************
12063
8380
* Quieten warnings about locking; patch from Matt Lavin.
12064
8381
 
12065
8382
 
12066
 
bzr-0.0.7
12067
 
#########
12068
 
 
12069
 
:Released: 2005-09-02
 
8383
bzr-0.0.7 2005-09-02
 
8384
####################
12070
8385
 
12071
8386
New Features
12072
8387
************
12120
8435
 
12121
8436
 
12122
8437
 
12123
 
bzr-0.0.6
12124
 
#########
12125
 
 
12126
 
:Released: 2005-08-18
 
8438
bzr-0.0.6 2005-08-18
 
8439
####################
12127
8440
 
12128
8441
New Features
12129
8442
************
12208
8521
* Fix bugs in committing only selected files or within a subdirectory.
12209
8522
 
12210
8523
 
12211
 
bzr-0.0.5
12212
 
#########
12213
 
 
12214
 
:Released:  2005-06-15
 
8524
bzr-0.0.5  2005-06-15
 
8525
#####################
12215
8526
 
12216
8527
Changes
12217
8528
*******
12352
8663
  2.4 is now only recommended.
12353
8664
 
12354
8665
 
12355
 
bzr-0.0.4
12356
 
#########
12357
 
 
12358
 
:Released:  2005-04-22
 
8666
bzr-0.0.4  2005-04-22
 
8667
#####################
12359
8668
 
12360
8669
Enhancements
12361
8670
************
12423
8732
  from QuantumG.
12424
8733
 
12425
8734
 
12426
 
bzr-0.0.3
12427
 
#########
12428
 
 
12429
 
:Released:  2005-04-06
 
8735
bzr-0.0.3  2005-04-06
 
8736
#####################
12430
8737
 
12431
8738
Enhancements
12432
8739
************
12480
8787
* Win32 fixes from Steve Brown.
12481
8788
 
12482
8789
 
12483
 
bzr-0.0.2
12484
 
#########
12485
 
 
12486
 
:Codename: "black cube"
12487
 
:Released: 2005-03-31
 
8790
bzr-0.0.2  "black cube"  2005-03-31
 
8791
###################################
12488
8792
 
12489
8793
Enhancements
12490
8794
************
12512
8816
  the root directory only.
12513
8817
 
12514
8818
 
12515
 
bzr-0.0.1
12516
 
#########
12517
 
 
12518
 
:Released:  2005-03-26
 
8819
bzr-0.0.1  2005-03-26
 
8820
#####################
12519
8821
 
12520
8822
Enhancements
12521
8823
************
12544
8846
  supported).
12545
8847
 
12546
8848
 
12547
 
bzr-0.0.0.69
12548
 
############
12549
 
 
12550
 
:Released:  2005-03-22
 
8849
bzr-0.0.0.69  2005-03-22
 
8850
########################
12551
8851
 
12552
8852
Enhancements
12553
8853
************
12557
8857
* Storage of local versions: init, add, remove, rm, info, log,
12558
8858
  diff, status, etc.
12559
8859
 
12560
 
 
12561
8860
..
12562
 
   vim: tw=74 ft=rst ff=unix encoding=utf-8
 
8861
   vim: tw=74 ft=rst ff=unix