/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: Ian Clatworthy
  • Date: 2007-11-23 05:52:03 UTC
  • mto: (3054.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3055.
  • Revision ID: ian.clatworthy@internode.on.net-20071123055203-r2t2r27amhzllubr
first cut at Central development chapter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
####################
 
1
====================
2
2
Bazaar Release Notes
3
 
####################
4
 
 
5
 
.. contents:: List of Releases
6
 
   :depth: 1
7
 
 
8
 
bzr 2.2b3
9
 
#########
10
 
 
11
 
:2.2b3: NOT RELEASED YET
12
 
 
13
 
Compatibility Breaks
14
 
********************
15
 
 
16
 
* An API break has been made to the lock_write method of ``Branch`` and
17
 
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
18
 
  and ``repository.RepositoryWriteLockResult`` objects. This makes
19
 
  changing the API in future easier and permits some cleaner calling code.
20
 
  The lock_read method has also changed from having no defined return
21
 
  value to returning ``LogicalLockResult`` objects.
22
 
  (Robert Collins)
23
 
 
24
 
* ``bzr`` does not try to guess the username as ``username@hostname``
25
 
  and requires it to be explictly set. This can be set using ``bzr
26
 
  whoami``.
27
 
  (Parth Malwankar, #549310)
28
 
 
29
 
New Features
30
 
************
31
 
 
32
 
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
33
 
  ``--show-diff``.
34
 
  (Parth Malwankar, #571467)
35
 
  
36
 
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
37
 
  the default ignore rules used by bzr. The flag ``--old-default-rules``
38
 
  is no longer supported by ``ignore``.
39
 
  (Parth Malwankar, #538703)
40
 
 
41
 
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
42
 
  can save disk space by deleting obsolete pack files created during the
43
 
  pack operation.
44
 
  (Parth Malwankar, #304320)
45
 
 
46
 
* New command line option ``--authors`` to ``bzr log`` allows users to
47
 
  select which of the apparent authors and committer should be
48
 
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
49
 
 
50
 
* Support ``--directory`` option for a number of additional commands:
51
 
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
52
 
  export, ignore, ignored, lookup-revision, ls, modified, nick,
53
 
  re-sign, unbind, unknowns.
54
 
  (Martin von Gagern, #527878)
55
 
 
56
 
Bug Fixes
57
 
*********
58
 
 
59
 
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
60
 
  group ownership from the containing directory. This allow bzr to work
61
 
  better with sudo.
62
 
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
63
 
 
64
 
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
65
 
  support of bzr-externals and scmproj plugins.
66
 
  (Alexander Belchenko, bug #572098)
67
 
 
68
 
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
69
 
  (Gordon Tyler, #572092)
70
 
 
71
 
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
72
 
  are part of Y ancestry but not part of X ancestry (aka the graph
73
 
  difference).
74
 
  (Vincent Ladeuil, #320119)
75
 
 
76
 
* ``bzr rm`` should not refuse to delete directories which contained a file
77
 
  which has been moved elsewhere in the tree after the previous commit.
78
 
  (Marius Kruger, Daniel Watkins, #129880)
79
 
 
80
 
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
81
 
  (Vincent Ladeuil, #566670)
82
 
 
83
 
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
84
 
  (Vincent Ladeuil, #563997)
85
 
 
86
 
* Don't mention --no-strict when we just issue the warning about unclean trees.
87
 
  (Vincent Ladeuil, #401599)
88
 
 
89
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
90
 
  versions before 1.6.
91
 
  (Andrew Bennetts, #528041)
92
 
 
93
 
* Heavyweight checkout operation now shows a message to the user indicating
94
 
  history is being copied.
95
 
  (Parth Malwankar, #538868)
96
 
 
97
 
* Reduce peak memory by one copy of compressed text.
98
 
  (John Arbash Meinel, #566940)
99
 
 
100
 
* Show the filenames when a file rename fails so that the error will be
101
 
  more comprehensible.
102
 
  (Martin Pool, #491763)
103
 
 
104
 
* Unicode characters in aliases are now handled correctly and do not cause
105
 
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
106
 
 
107
 
* Unicode commit messages that are the same as a file name no longer cause
108
 
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
109
 
  messages.
110
 
  (Parth Malwankar, #563646)
111
 
 
112
 
* Using bzr with `lp:` urls behind an http proxy should work.
113
 
  (Robert Collins, #558343)
114
 
 
115
 
Improvements
116
 
************
117
 
 
118
 
* ``append_revisions_only`` will now be interpreted as a boolean and a
119
 
  warning emitted if illegal values are used. Note that for projects
120
 
  that needs to maintain compatibility with previsous bzr versions,
121
 
  only 'True' and 'False' strings must be used (previous versions of
122
 
  bzr will interpret all strings differing from 'True'
123
 
  (case-sensitive) as false.
124
 
  (Brian de Alwis, Vincent Ladeuil)
125
 
 
126
 
* ``bzr ls`` now supports short options for existing long options.
127
 
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
128
 
  (Parth Malwankar, #181124)
129
 
 
130
 
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
131
 
  be interpreted as a boolean.
132
 
  (Vincent Ladeuil)
133
 
 
134
 
Documentation
135
 
*************
136
 
 
137
 
API Changes
138
 
***********
139
 
 
140
 
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
141
 
  some kinds of ``merge_file_content`` hook functions.
142
 
  (Andrew Bennetts)
143
 
  
144
 
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
145
 
  `user_transport`, `control_url` and `control_transport` members pointing
146
 
  respectively to the directory containing the ``.bzr`` control directory, 
147
 
  and to the directory within ``.bzr`` used for the particular component.
148
 
  All of them inherit from `ControlComponent` which provides default
149
 
  implementations.
150
 
  (Martin Pool)
151
 
 
152
 
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
153
 
  expected to return an object which can be used to unlock them. This reduces
154
 
  duplicate code when using cleanups. The previous 'tokens's returned by
155
 
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
156
 
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
157
 
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
158
 
 
159
 
* ``Repository.refresh_data`` may now be called in a write group on
160
 
  pack-based repositories.  Older repositories will still raise an error
161
 
  in this case.  Subclasses of ``Repository`` can still override
162
 
  ``Repository._refresh_data``, but are now responsible for raising
163
 
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
164
 
  ``refresh_data`` during a write group.
165
 
  (Andrew Bennetts, #574236)
166
 
 
167
 
Internals
168
 
*********
169
 
 
170
 
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
171
 
  (Robert Collins)
172
 
 
173
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
174
 
  suboptimal network behaviour is noticed; instead it just mutters to the
175
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
176
 
  This was causing unnecessary aborts for performance bugs that are minor
177
 
  at worst.
178
 
  (Andrew Bennetts, #528041)
179
 
 
180
 
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
181
 
  files loaded from disk. To ensure docstrings needed for help are never
182
 
  stripped, the prefix ``__doc__ =`` should now be used.
183
 
  (Martin <gzlist@googlemail.com>)
184
 
 
185
 
Testing
186
 
*******
187
 
 
188
 
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
189
 
  our first in-tree matcher. See the module docstring for details.
190
 
  (Robert Collins)
191
 
 
192
 
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
193
 
   (Gordon Tyler, #551332)
194
 
 
195
 
* Workaround ``Crypto.Random`` check leading to spurious test
196
 
  failures on Lucid, FreeBSD and gentoo.  
197
 
  (Vincent Ladeuil, #528436)
198
 
 
199
 
bzr 2.2b2
200
 
#########
201
 
 
202
 
:2.2b2: 2010-04-16
203
 
 
204
 
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
205
 
incompatibility in the 2.2b1 release.  It also includes a swag of
206
 
performance, usability and correctness improvements: test feedback on all
207
 
of these would be welcome.
208
 
 
209
 
 
210
 
New Features
211
 
************
212
 
 
213
 
* ``bzr diff`` now supports a --format option, which can be used to 
214
 
  select alternative diff formats. (Jelmer Vernooij, #555994)
215
 
 
216
 
Bug Fixes
217
 
*********
218
 
 
219
 
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
220
 
  instead of failing when dirty trees are involved. The corresponding
221
 
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
222
 
  True explicitly to get the previous behaviour.  
223
 
  (Vincent Ladeuil, #519319)
224
 
 
225
 
* ``bzr export`` to tar file does not fail if any parent directory
226
 
  contains unicode characters. This works around upstream Python bug
227
 
  http://bugs.python.org/issue8396 .
228
 
  (Parth Malwankar, #413406)
229
 
 
230
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
231
 
  (Aaron Bentley, #559436)
232
 
 
233
 
* ``bzr update`` when a pending merge in the working tree has been merged
234
 
  into the master branch will no longer claim that old commits have become
235
 
  pending merges. (Robert Collins, #562079)
236
 
 
237
 
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
238
 
  config as in previous versions of bzrlib. (Robert Collins)
239
 
 
240
 
* Fix glitch in the warning about unclean trees display.
241
 
  (Vincent Ladeuil, #562665)
242
 
 
243
 
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
244
 
  (Martin Pool)
245
 
 
246
 
* Help messages generated by ``RegistryOption.from_kwargs`` list the
247
 
  switches in alphabetical order, rather than in an undefined order.
248
 
  (Martin von Gagern, #559409)
249
 
 
250
 
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
251
 
  Apport crash reports, to avoid "This problem report applies to a program
252
 
  which is not installed any more" error.
253
 
  (Martin Pool, James Westby, #528114)
254
 
 
255
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
256
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
257
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
258
 
  errors after two window resizes.
259
 
  (Andrew Bennetts)
260
 
 
261
 
* When invoked with a range revision, ``bzr log`` doesn't show revisions
262
 
  that are not part of the Y revisions ancestry anymore when invoked with
263
 
  -rX..Y.
264
 
  (Vincent Ladeuil, #474807)
265
 
 
266
 
* Properly handle ``param_name`` attribute for ``ListOption``.
267
 
  (Martin von Gagern, 387117)
268
 
 
269
 
Improvements
270
 
************
271
 
 
272
 
* ``bzr commit`` will prompt before using a commit message that was
273
 
  generated by a template and not edited by the user.
274
 
  (Robert Collins, #530265)
275
 
 
276
 
* ``bzr diff`` read-locks the trees and branches only once, saving about
277
 
  10-20ms on ``bzr diff`` in a bzr.dev tree.
278
 
  (Andrew Bennetts)
279
 
 
280
 
* ``bzr missing`` read-locks the branches only once.
281
 
  (Andrew Bennetts)
282
 
  
283
 
* ``bzr pull`` locks the branches and tree only once.
284
 
  (Andrew Bennetts)
285
 
  
286
 
* Index lookups in pack repositories search recently hit pack files first.  
287
 
  In repositories with many pack files this can greatly reduce the
288
 
  number of files accessed, the number of bytes read, and the number of
289
 
  read calls.  An incremental pull via plain HTTP takes half the time and
290
 
  bytes for a moderately large repository.  (Andrew Bennetts)
291
 
 
292
 
* Index lookups only re-order the indexes when the hit files aren't
293
 
  already first. Reduces the cost of reordering
294
 
  (John Arbash Meinel, #562429)
295
 
 
296
 
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
297
 
  less.)
298
 
  (Martin Pool, #553017)
299
 
 
300
 
API Changes
301
 
***********
302
 
 
303
 
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
304
 
  ``get_trees_and_branches_to_diff_locked`` instead.
305
 
  (Andrew Bennetts)
306
 
 
307
 
* ``TreeTransform.commit`` supports the full set of commit parameters, and
308
 
  auto-determines branch nick if not supplied.  (Aaron Bentley)
309
 
  
310
 
Internals
311
 
*********
312
 
 
313
 
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
314
 
  2.1 method of calling run() to perform testing or direct use via the API
315
 
  is now possible again. As part of this, the _operation attribute on
316
 
  Command is now transient and only exists for the duration of ``run()``.
317
 
  (Robert Collins)
318
 
 
319
 
bzr 2.2.0b1
320
 
###########
321
 
 
322
 
:2.2.0b1: 2010-04-01
323
 
 
324
 
Compatibility Breaks
325
 
********************
326
 
 
327
 
* BTreeGraphIndex can now take an offset to indicate that the data starts
328
 
  somewhere other than then beginning of the file. (John Arbash Meinel)
329
 
 
330
 
* Deleted very old hidden commands ``versionedfile-list``,
331
 
  ``weave-plan-merge``, ``weave-merge-text``.
332
 
  (Martin Pool)
333
 
 
334
 
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
335
 
  have been removed. (Jelmer Vernooij)
336
 
 
337
 
* ``Repository.get_revision_inventory()`` has been removed in favor of
338
 
  ``Repository.get_inventory()``. (Jelmer Vernooij)
339
 
 
340
 
* All test servers have been moved out of the bzrlib.transport hierarchy to
341
 
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
342
 
  PathFilteringServer. ``bzrlib`` users may encounter test failures that can
343
 
  be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
344
 
  ``bzrlib.tests.test_server``.
345
 
  (Vincent Ladeuil)
346
 
 
347
 
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
348
 
  as its second parameter, for consistency with the initialize() method of
349
 
  other formats. (Jelmer Vernooij)
350
 
 
351
 
New Features
352
 
************
353
 
 
354
 
* Added ``bzr remove-branch`` command that can remove a local or remote 
355
 
  branch. (Jelmer Vernooij, #276295)
356
 
 
357
 
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
358
 
  to set file mtimes to the last timestamp of the last revision in which
359
 
  they were changed rather than the current time. (Jelmer Vernooij)
360
 
 
361
 
* If the Apport crash-reporting tool is available, bzr crashes are now
362
 
  stored into the ``/var/crash`` apport spool directory, and the user is
363
 
  invited to report them to the developers from there, either
364
 
  automatically or by running ``apport-bug``.  No information is sent
365
 
  without specific permission from the user.  (Martin Pool, #515052)
366
 
 
367
 
* Parsing of command lines, for example in ``diff --using``, no longer
368
 
  treats backslash as an escape character on Windows.   (Gordon Tyler,
369
 
  #392248)
370
 
 
371
 
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
372
 
  a list of plugin names separated by ':' (';' on windows).
373
 
  (Vincent Ladeuil, #411413)
374
 
 
375
 
* Plugins can be loaded from arbitrary locations by defining
376
 
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
377
 
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
378
 
  specified plugins. This is targeted at plugin developers for punctual
379
 
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
380
 
  (Vincent Ladeuil, #82693)
381
 
 
382
 
* Tag names can now be determined automatically by ``automatic_tag_name`` 
383
 
  hooks on ``Branch`` if they are not specified on the command line.
384
 
  (Jelmer Vernooij)
385
 
 
386
 
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
387
 
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
388
 
  as resolved is still accessible via the ``--done`` default action.
389
 
  (Vincent Ladeuil)
390
 
 
391
 
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
392
 
  (Aaron Bentley, Jonathan Lange)
393
 
 
394
 
Bug Fixes
395
 
*********
396
 
 
397
 
* Added docstring for ``Tree.iter_changes``
398
 
  (John Arbash Meinel, #304182)
399
 
 
400
 
* Allow additional arguments to
401
 
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
402
 
 
403
 
* Allow exporting a single file using ``bzr export``.
404
 
  (Michal Junák, #511987)
405
 
 
406
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
407
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
408
 
  IO, which are often poorly handled by Python's libraries and parts of
409
 
  bzrlib.  (Andrew Bennetts, #496813)
410
 
 
411
 
* Avoid infinite recursion when probing for apport.
412
 
  (Vincent Ladeuil, #516934)
413
 
 
414
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
415
 
  (Martin Pool, #331095)
416
 
 
417
 
* Avoid truncating svn URLs.
418
 
  (Martin Pool, Martin von Gagern, #545185)
419
 
 
420
 
* ``bzr add`` will not add conflict related files unless explicitly required.
421
 
  (Vincent Ladeuil, #322767, #414589)
422
 
 
423
 
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
424
 
  indices do not have reference lists, so ``dump-btree`` will simply show
425
 
  ``None`` instead.  (Andrew Bennetts, #488607)
426
 
 
427
 
* ``bzr help`` will no longer trigger the get_missing_command hook when
428
 
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
429
 
  did you mean log?') when getting help. In future we may trigger the hook 
430
 
  deliberately when no help topics match from any help index.
431
 
  (Robert Collins, #396261)
432
 
 
433
 
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
434
 
  revspec as representing the first revision of the branch.
435
 
  (Vincent Ladeuil, #519862)
436
 
 
437
 
* ``bzr remove-tree`` can now remove multiple working trees.
438
 
  (Jared Hance, Andrew Bennetts, #253137)
439
 
 
440
 
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
441
 
  the kept file on content conflicts where one side deleted the file.
442
 
  (Vincent Ladeuil, #529968)
443
 
 
444
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
445
 
  permissions as ``.bzr`` directory on a POSIX OS.
446
 
  (Parth Malwankar, #262450)
447
 
 
448
 
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
449
 
  of ``backup.bzr``. This directory is ignored by bzr commands such as
450
 
  ``add``.
451
 
  (Parth Malwankar, #335033, #300001)
452
 
 
453
 
* Cope with non-utf8 characters inside ``.bzrignore``.
454
 
  (Jason Spashett, #183504)
455
 
 
456
 
* Correctly interpret "451 Rename/move failure: Directory not empty" from
457
 
  ftp servers while trying to take a lock.
458
 
  (Martin Pool, #528722)
459
 
 
460
 
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
461
 
  changes occured between the workingtree and one of its parents.
462
 
  (Vincent Ladeuil, #535547)
463
 
 
464
 
* Fix ``log`` to better check ancestors even if merged revisions are involved.
465
 
  (Vincent Ladeuil, #476293)
466
 
 
467
 
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
468
 
  on os.lisdir() order and is now reliable.
469
 
  (Vincent Ladeuil, #552922).
470
 
 
471
 
* Many IO operations that returned ``EINTR`` were retried even if it
472
 
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
473
 
  only retries operations that are safe to retry, and in some cases has
474
 
  switched to operations that can be retried (e.g. ``sock.send`` rather than
475
 
  ``sock.sendall``).
476
 
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
477
 
 
478
 
* Path conflicts now support --take-this and --take-other even when a
479
 
  deletion is involved.
480
 
  (Vincent Ladeuil, #531967)
481
 
 
482
 
* Network transfer amounts and rates are now displayed in SI units according
483
 
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
484
 
  (Gordon Tyler, #514399)
485
 
 
486
 
* Support kind markers for socket and fifo filesystem objects. This
487
 
  prevents ``bzr status --short`` from crashing when those files are
488
 
  present.  (John Arbash Meinel, #303275)
489
 
 
490
 
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
491
 
   directory. (Parth Malwankar, #138600)
492
 
 
493
 
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
494
 
  the debugger won't kill the session.
495
 
  (Martin <gzlist@googlemail.com>, #162502)
496
 
 
497
 
* Tolerate patches with leading noise in ``bzr-handle-patch``.
498
 
  (Toshio Kuratomi, Martin Pool, #502076)
499
 
 
500
 
* ``update -r`` now supports updating to revisions that are not on
501
 
  mainline (i.e. it supports dotted revisions).
502
 
  (Parth Malwankar, #517800)
503
 
 
504
 
* Use first apparent author not committer in GNU Changelog format.
505
 
  (Martin von Gagern, #513322)
506
 
 
507
 
API Changes
508
 
***********
509
 
 
510
 
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
511
 
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
512
 
  (Jelmer Vernooij)
513
 
 
514
 
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
515
 
  branch to create. (Jelmer Vernooij)
516
 
 
517
 
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
518
 
  colocated branch to open. (Jelmer Vernooij)
519
 
 
520
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
521
 
  can set a signal handler and call ``signal.siginterrupt(signum,
522
 
  False)`` for it, if the platform and Python version supports it.
523
 
  (Andrew Bennetts, #496813)
524
 
 
525
 
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
526
 
  run when starting up; it sets up several things that previously needed
527
 
  to be done separately.
528
 
  (Martin Pool, #507710)
529
 
 
530
 
* Exporters now support a ``per_file_timestamps`` argument to write out the 
531
 
  timestamp of the commit in which a file revision was introduced.
532
 
  (Jelmer Vernooij)
533
 
 
534
 
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
535
 
  present in a control directory. (Jelmer Vernooij)
536
 
 
537
 
* New method ``Repository.get_known_graph_ancestry()``. 
538
 
  (Jelmer Vernooij, #495502)
539
 
 
540
 
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
541
 
  (Neil Santos)
542
 
 
543
 
* Remove unused ``CommandFailed`` exception.
544
 
  (Martin Pool)
545
 
 
546
 
Internals
547
 
*********
548
 
 
549
 
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
550
 
  ``message_callback`` in the same way that commit does. (Robert Collins)
551
 
 
552
 
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
553
 
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
554
 
  of date. (Gary van der Merwe)
555
 
 
556
 
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
557
 
  functions to load or disable plugins if they wish to use a different
558
 
  plugin mechanism; the --help, --version and no-command name code paths
559
 
  now use the generic pluggable command lookup infrastructure.
560
 
  (Robert Collins)
561
 
 
562
 
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
563
 
  which can be set to add extra help to the error. (Gary van der Merwe)
564
 
 
565
 
* New method ``Branch.automatic_tag_name`` that can be used to find the
566
 
  tag name for a particular revision automatically. (Jelmer Vernooij)
567
 
 
568
 
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
569
 
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
570
 
  (Jelmer Vernooij)
571
 
 
572
 
Testing
573
 
*******
574
 
 
575
 
* bzr now has a ``.testr.conf`` file in its source tree configured
576
 
  appropriately for running tests with Testrepository
577
 
  (``https://launchpad.net/testrepository``). (Robert Collins)
578
 
 
579
 
* Documentation about testing with ``subunit`` has been tweaked.
580
 
  (Robert Collins)
581
 
 
582
 
* Known failures has been added for resolve --take-other on ParentLoop
583
 
  conflicts. This reflects bug #537956 without fixing it.
584
 
  (Vincent Ladeuil)
585
 
 
586
 
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
587
 
  Python modules are loaded, to guard against startup time or library
588
 
  dependency regressions.
589
 
  (Martin Pool)
590
 
 
591
 
* PQM will now run with subunit output. To analyze a PQM error use
592
 
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
593
 
 
594
 
* Stop sending apport crash files to ``.cache`` in the directory from
595
 
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
596
 
 
597
 
* Tests no longer fail if "close() called during concurrent
598
 
  operation on the same file object" occurs when closing the log file
599
 
  (which can happen if a thread tries to write to the log file at the
600
 
  wrong moment).  An warning will be written to ``stderr`` when this
601
 
  happens, and another warning will be written if the log file could not
602
 
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
603
 
 
604
 
bzr 2.1.2
605
 
#########
606
 
 
607
 
:2.1.2: NOT RELEASED YET
608
 
 
609
 
Bug Fixes
610
 
*********
611
 
 
612
 
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
613
 
  (Aaron Bentley, #559436)
614
 
 
615
 
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
616
 
  versions before 1.6.
617
 
  (Andrew Bennetts, #528041)
618
 
 
619
 
* Reset ``siginterrupt`` flag to False every time we handle a signal
620
 
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
621
 
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
622
 
  errors after two window resizes.
623
 
  (Andrew Bennetts)
624
 
 
625
 
Internals
626
 
*********
627
 
 
628
 
* ``_remember_remote_is_before`` no longer raises AssertionError when
629
 
  suboptimal network behaviour is noticed; instead it just mutters to the
630
 
  log file (and warns the user if they have set the ``hpss`` debug flag).
631
 
  This was causing unnecessary aborts for performance bugs that are minor
632
 
  at worst.
633
 
  (Andrew Bennetts, #528041)
634
 
 
635
 
 
636
 
bzr 2.1.1
637
 
#########
638
 
 
639
 
:2.1.1: 2010-03-24
640
 
 
641
 
This is a small bugfix release.  Upgrading is recommended for anyone
642
 
running 2.1.0 or earlier.
643
 
 
644
 
Bug Fixes
645
 
*********
646
 
 
647
 
* Allow syscalls to automatically restart when ``TextUIFactory``'s
648
 
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
649
 
  IO, which are often poorly handled by Python's libraries and parts of
650
 
  bzrlib.  (Andrew Bennetts, #496813)
651
 
 
652
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
653
 
  (Martin Pool, #331095)
654
 
 
655
 
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
656
 
 
657
 
* Fix stub sftp test server to call os.getcwdu().
658
 
  (Vincent Ladeuil, #526221, #526353)
659
 
 
660
 
* Fixed CHM generation by moving the NEWS section template into
661
 
  a separate file. (Ian Clatworthy, #524184)
662
 
 
663
 
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
664
 
 
665
 
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
666
 
  problems importing bzrlib from a non-main thread.
667
 
  (Elliot Murphy, #521989)
668
 
 
669
 
* Repositories accessed via a smart server now reject being stacked on a
670
 
  repository in an incompatible format, as is the case when accessing them
671
 
  via other methods.  This was causing fetches from those repositories via
672
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
673
 
  (Andrew Bennetts, #562380)
674
 
 
675
 
* Standardize the error handling when creating a new ``StaticTuple``
676
 
  (problems will raise TypeError). (Matt Nordhoff, #457979)
677
 
 
678
 
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
679
 
  ``StaticTuple`` extensions, rather than having the build fail randomly.
680
 
  (John Arbash Meinel, #449776)
681
 
 
682
 
Documentation
683
 
*************
684
 
 
685
 
* Added a link to the Desktop Guide. (Ian Clatworthy)
686
 
 
687
 
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
688
 
 
689
 
* Drop Google Analytics from the core docs as they caused problems
690
 
  in the CHM files. (Ian Clatworthy, #502010)
691
 
 
692
 
API Changes
693
 
***********
694
 
 
695
 
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
696
 
  can set a signal handler and call ``signal.siginterrupt(signum,
697
 
  False)`` for it, if the platform and Python version supports it.
698
 
  (Andrew Bennetts, #496813)
699
 
 
700
 
 
701
 
bzr 2.1.0
702
 
#########
703
 
 
704
 
:Codename: Strasbourg
705
 
:2.1.0: 2010-02-11
706
 
 
707
 
This release marks our second long-term-stable series. The Bazaar team
708
 
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
709
 
releases, along with 2.2 development releases. 
710
 
 
711
 
This is a fairly incremental update, focusing on polish and bugfixing.
712
 
There are no changes for supported disk formats. Key updates include
713
 
reduced memory consumption for many operations, a new per-file merge
714
 
hook, ignore patterns can now include '!' to exclude files, globbing
715
 
support for all commands on Windows, and support for addressing home
716
 
directories via ``bzr+ssh://host/~/`` syntax.
717
 
 
718
 
Users are encouraged to upgrade from the 2.0 stable series.
719
 
 
720
 
Bug Fixes
721
 
*********
722
 
 
723
 
* Don't require testtools to use sftp.
724
 
  (Vincent Ladeuil, #516183)
725
 
 
726
 
* Fix "AttributeError in Inter1and2Helper" during fetch.
727
 
  (Martin Pool, #513432)
728
 
 
729
 
* ``bzr update`` performs the two merges in a more logical order and will stop
730
 
  when it encounters conflicts.  
731
 
  (Gerard Krol, #113809)
732
 
 
733
 
* Give a better error message when doing ``bzr bind`` in an already bound
734
 
  branch.  (Neil Martinsen-Burrell, #513063)
735
 
 
736
 
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
737
 
  in a pack repository, which can happen harmlessly if the abort occurs during
738
 
  finishing the write group.  Also use ``bzrlib.cleanup`` so that any
739
 
  other errors that occur while aborting the individual packs won't be
740
 
  hidden by secondary failures when removing the corresponding indices.
741
 
  (Andrew Bennetts, #423015)
742
 
 
743
 
* Set the mtime of files exported to a directory by ``bzr export`` all to
744
 
  the same value to avoid confusing ``make`` and other date-based build
745
 
  systems. (Robert Collins, #515631)
746
 
 
747
 
Improvements
748
 
************
749
 
 
750
 
* Fetching into experimental formats will now print a warning. (Jelmer
751
 
  Vernooij)
752
 
 
753
 
API Changes
754
 
***********
755
 
 
756
 
* ``Repository.deserialise_inventory`` has been renamed to 
757
 
  ``Repository._deserialise_inventory`` to indicate it is private.
758
 
  (Jelmer Vernooij)
759
 
 
760
 
* ``Repository.get_inventory_xml`` has been renamed to 
761
 
  ``Repository._get_inventory_xml`` to indicate it is private. 
762
 
  (Jelmer Vernooij)
763
 
 
764
 
* ``Repository.serialise_inventory`` has been renamed to 
765
 
  ``Repository._serialise_inventory`` to indicate it is private.
766
 
 
767
 
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
768
 
  same time was broken due to race conditions with a module level page
769
 
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
770
 
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
771
 
  the same high level objects such as ``bzrlib.repository.Repository``
772
 
  from different threads. chk_map now uses a thread local cache which may
773
 
  increase memory pressure on processes using threads.
774
 
  (Robert Collins, John Arbash Meinel, #514090)
775
 
 
776
 
* The new ``merge_file_content`` should now be ok with tests to avoid
777
 
  regressions.
778
 
  (Vincent Ladeuil, #515597)
779
 
 
780
 
Internals
781
 
*********
782
 
 
783
 
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
784
 
  blocks in several places in ``bzrlib.merge``.  This avoids masking prior
785
 
  errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
786
 
  in ``do_merge``.
787
 
  (Andrew Bennetts, #517275)
788
 
 
789
 
API Changes
790
 
***********
791
 
 
792
 
* The ``remove_index`` method of
793
 
  ``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
794
 
  argument.  This argument was always ignored.
795
 
  (Andrew Bennetts, #423015)
796
 
 
797
 
bzr 2.1.0rc2
798
 
############
799
 
 
800
 
:Codename: after the bubbles
801
 
:2.1.0rc2: 2010-01-29
802
 
 
803
 
This is a quick-turn-around to update a small issue with our new per-file
804
 
merge hook. We expect no major changes from this to the final 2.1.0.
805
 
 
806
 
API Changes
807
 
***********
808
 
 
809
 
* The new ``merge_file_content`` hook point has been altered to provide a
810
 
  better API where state for extensions can be stored rather than the
811
 
  too-simple function based approach. This fixes a performance regression
812
 
  where branch configuration would be parsed per-file during merge. As
813
 
  part of this the included news_merger has been refactored into a base
814
 
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
815
 
  (Robert Collins, John Arbash Meinel, #513822)
816
 
 
817
 
 
818
 
bzr 2.1.0rc1
819
 
############
820
 
 
821
 
:Codename: the 'new' stable
822
 
:2.1.0rc1: 2009-01-21
823
 
 
824
 
This is the first stable release candidate for Bazaar's 2.1 series. From
825
 
this point onwards, the 2.1 series will be considered stable (as the 2.0
826
 
series) and only bugfixes are expected to be incorporated. The dozen or so
827
 
bugfixes in the 2.0.4 release are also included in this release (along
828
 
with more than 15 more bugfixes). Some of the interesting features are
829
 
support for per-file merge hooks, ``bzr unshelve --preview``, support
830
 
for using ! in ignore files to exclude files from being ignored, a small
831
 
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
832
 
This looks to be a very good start for a new stable series.
833
 
 
834
 
 
835
 
New Features
836
 
************
837
 
 
838
 
* Add bug information to log output when available.
839
 
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
840
 
 
841
 
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
842
 
  to register custom merge logic, e.g. to provide smarter merging for
843
 
  particular files.
844
 
 
845
 
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
846
 
  default, to enable it add a ``news_merge_files`` option to your
847
 
  configuration.  Consult ``bzr help news_merge`` for more information.
848
 
  (Andrew Bennetts)
849
 
  
850
 
* ``bzr branch`` now takes a ``--bind`` option. This lets you
851
 
  branch and bind all in one command. (Ian Clatworthy)
852
 
 
853
 
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
854
 
  a specific revision of a branch. (Daniel Watkins, #183559)
855
 
 
856
 
* ``bzr unshelve --preview`` can now be used to show how a patch on the
857
 
  shelf would be applied to the working tree.
858
 
  (Guilherme Salgado, #308122)
859
 
 
860
 
* ``bzr update`` now takes a ``--revision`` argument. This lets you
861
 
  change the revision of the working tree to any revision in the
862
 
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
863
 
  Martin Pool, #45719)
864
 
 
865
 
* ``-Dbytes`` can now be used to display the total number of bytes
866
 
  transferred for the current command. This information is always logged
867
 
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
868
 
 
869
 
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
870
 
  ignore patterns and take precedence over regular ignores.  Such 
871
 
  exceptions are used to specify files that should be versioned which 
872
 
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
873
 
  ignore patterns, but have highest precedence, even over the '!' 
874
 
  exception patterns. (John Whitley, #428031)
875
 
 
876
 
* The ``supress_warnings`` configuration option has been introduced to disable
877
 
  various warnings (it currently only supports the ``format_deprecation``
878
 
  warning). The new option can be set in any of the following locations:
879
 
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
880
 
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
881
 
 
882
 
Bug Fixes
883
 
*********
884
 
 
885
 
* Always show a message if an OS error occurs while trying to run a
886
 
  user-specified commit message editor.
887
 
  (Martin Pool, #504842)
888
 
 
889
 
* ``bzr diff`` will now use the epoch when it is unable to determine 
890
 
  the timestamp of a file, if the revision it was introduced in is a
891
 
  ghost. (Jelmer Vernooij, #295611)
892
 
 
893
 
* ``bzr switch -b`` can now create branches that are located using directory
894
 
  services such as ``lp:``, even when the branch name doesn't contain a
895
 
  '/'.  (Neil Martinsen-Burrell, #495263)
896
 
 
897
 
* ``bzr unshelve`` has improved messages about what it is doing.
898
 
  (Neil Martinsen-Burrell, #496917)
899
 
 
900
 
* Concurrent autopacking is more resilient to already-renamed pack files.
901
 
  If we find that a file we are about to obsolete is already obsoleted, we
902
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
903
 
  The code is also fault tolerant if a file goes missing, assuming that
904
 
  another process already removed the file.
905
 
  (John Arbash Meinel, Gareth White, #507557)
906
 
 
907
 
* Fix "Too many concurrent requests" in reconcile when network connection
908
 
  fails.  (Andrew Bennetts, #503878)
909
 
 
910
 
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
911
 
  that caused some tests to fail when run in a non-default order.
912
 
  Probably no user impact.  (Martin Pool, #504102)
913
 
 
914
 
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
915
 
  (Andrew Bennetts, #506274)
916
 
 
917
 
* FTP transports support Unicode paths by encoding/decoding them as utf8.
918
 
  (Vincent Ladeuil, #472161)
919
 
 
920
 
* Listen to the SIGWINCH signal to update the terminal width.
921
 
  (Vincent Ladeuil, #316357)
922
 
 
923
 
* Progress bars are now hidden when ``--quiet`` is given.
924
 
  (Martin Pool, #320035)
925
 
 
926
 
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
927
 
  whatever is written to it.  This un-breaks some plugin tests that
928
 
  depended on this behaviour.
929
 
  (Martin Pool, #499757)
930
 
 
931
 
* When operations update the working tree, all affected files should end
932
 
  up with the same mtime. (eg. when versioning a generated file, if you
933
 
  update the source and the generated file together, the generated file
934
 
  should appear up-to-date.)
935
 
  (John Arbash Meinel, Martin <gzlist>, #488724)
936
 
 
937
 
Improvements
938
 
************
939
 
 
940
 
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
941
 
  All the builtin commands now use ``add_cleanup`` rather than
942
 
  ``try``/``finally`` blocks where applicable as it is simpler and more
943
 
  robust.  (Andrew Bennetts)
944
 
 
945
 
* All except a small number of storage formats are now hidden, making
946
 
  the help for numerous commands far more digestible. (Ian Clatworthy)
947
 
 
948
 
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
949
 
  path/to/repo``) will now include "location is a repository" as a hint in
950
 
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
951
 
 
952
 
* Push will now inform the user when they are trying to push to a foreign 
953
 
  VCS for which roundtripping is not supported, and will suggest them to 
954
 
  use dpush. (Jelmer Vernooij)
955
 
 
956
 
* The version of bzr being run is now written to the log file.
957
 
  (__monty__, #257170)
958
 
 
959
 
* Transport network activity indicator is shown more of the time when
960
 
  Bazaar is doing network IO.
961
 
  (Martin Pool)
962
 
 
963
 
Documentation
964
 
*************
965
 
 
966
 
* Add documentation on creating merges with more than one parent.
967
 
  (Neil Martinsen-Burrell, #481526)
968
 
 
969
 
* Better explain the --uncommitted option of merge.
970
 
  (Neil Martinsen-Burrell, #505088)
971
 
 
972
 
* Improve discussion of pending merges in the documentation for
973
 
  ``revert``.  (Neil Martinsen-Burrell, #505093)
974
 
 
975
 
* Improved help for ``bzr send``. 
976
 
  (Martin Pool, Bojan Nikolic)
977
 
 
978
 
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
979
 
  including discussions of installation, relevant plugins, security and 
980
 
  backup. (Neil Martinsen-Burrell)
981
 
 
982
 
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
983
 
  (Ian Clatworthy)
984
 
 
985
 
* The User Reference is now presented as a series of topics.
986
 
  Many of the included topics have link and format tweaks applied.
987
 
  (Ian Clatworthy)
988
 
 
989
 
API Changes
990
 
***********
991
 
 
992
 
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
993
 
  (Andrew Bennetts)
994
 
 
995
 
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
996
 
  to be consistent with instances being lower case and classes being
997
 
  CamelCase. For the features that were more likely to be used, we added a
998
 
  deprecation thunk, but not all. (John Arbash Meinel)
999
 
 
1000
 
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
1001
 
  parameter in their constructors, and provide ``this_branch`` as an
1002
 
  attribute. (Andrew Bennetts)
1003
 
  
1004
 
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
1005
 
  by plugins - the original exceptions are now preserved. (Robert Collins)
1006
 
 
1007
 
* The Transport ``Server.tearDown`` method is now renamed to
1008
 
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
1009
 
  our normal naming pattern, and to avoid confusion with Python's
1010
 
  ``TestCase.tearDown``.  (Martin Pool)
1011
 
 
1012
 
* ``WorkingTree.update`` implementations must now accept a ``revision``
1013
 
  parameter.
1014
 
 
1015
 
Internals
1016
 
*********
1017
 
 
1018
 
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
1019
 
  a string of details (such as "location is a repository") as part of a
1020
 
  ``nobranch`` response.  (Andrew Bennetts, #440952)
1021
 
  
1022
 
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
1023
 
  objects but passes str objects straight through. This is used for
1024
 
  selftest but may be useful for diff and other operations that generate
1025
 
  mixed output. (Robert Collins)
1026
 
 
1027
 
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
1028
 
  plugins. (Jelmer Vernooij)
1029
 
 
1030
 
Testing
1031
 
*******
1032
 
 
1033
 
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
1034
 
  running all tests in the current module, once against a pure python
1035
 
  implementation, and once against an extension (pyrex/C) implementation.
1036
 
  It can be used to dramatically simplify the implementation of
1037
 
  ``load_tests``.  (John Arbash Meinel)
1038
 
 
1039
 
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
1040
 
  This permits features in testtools such as getUniqueInteger and
1041
 
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
1042
 
  newer is now a dependency to run bzr selftest. Running with versions of
1043
 
  testtools less than 0.9.2 will cause bzr to error while loading the test
1044
 
  suite. (Robert Collins)
1045
 
 
1046
 
* Shell-like tests now support the command "mv" for moving files.  The
1047
 
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
1048
 
  supported.  (Neil Martinsen-Burrell)
1049
 
 
1050
 
* The test progress bar no longer distinguishes tests that 'errored' from
1051
 
  tests that 'failed' - they're all just failures.
1052
 
  (Martin Pool)
1053
 
 
1054
 
bzr 2.0.6
1055
 
#########
1056
 
 
1057
 
:2.0.6: NOT RELEASED YET
1058
 
 
1059
 
Bug Fixes
1060
 
*********
1061
 
 
1062
 
* Additional merges after an unrelated branch has been merged with its
1063
 
  history no longer crash when deleted files are involved.
1064
 
  (Vincent Ladeuil, John Arbash Meinel, #375898)
1065
 
 
1066
 
* ``bzr revert`` now only takes write lock on working tree, instead of on 
1067
 
  both working tree and branch.
1068
 
  (Danny van Heumen, #498409)
1069
 
 
1070
 
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1071
 
  permissions as ``.bzr`` directory on a POSIX OS.
1072
 
  (Parth Malwankar, #262450)
1073
 
 
1074
 
* Repositories accessed via a smart server now reject being stacked on a
1075
 
  repository in an incompatible format, as is the case when accessing them
1076
 
  via other methods.  This was causing fetches from those repositories via
1077
 
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1078
 
  (Andrew Bennetts, #562380)
1079
 
 
1080
 
bzr 2.0.5
1081
 
#########
1082
 
 
1083
 
:2.0.5: 2010-03-23
1084
 
 
1085
 
This fifth release in our 2.0 series addresses several user-inconvenience
1086
 
bugs.  None are critical, but upgrading is recommended for all users on
1087
 
earlier 2.0 releases.
1088
 
 
1089
 
Bug Fixes
1090
 
*********
1091
 
 
1092
 
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
1093
 
  (Martin Pool, #331095)
1094
 
 
1095
 
* Concurrent autopacking is more resilient to already-renamed pack files.
1096
 
  If we find that a file we are about to obsolete is already obsoleted, we
1097
 
  do not try to rename it, and we leave the file in ``obsolete_packs``.
1098
 
  The code is also fault tolerant if a file goes missing, assuming that
1099
 
  another process already removed the file.
1100
 
  (John Arbash Meinel, Gareth White, #507557)
1101
 
 
1102
 
* Cope with the lockdir ``held/info`` file being empty, which seems to
1103
 
  happen fairly often if the process is suddenly interrupted while taking
1104
 
  a lock.
1105
 
  (Martin Pool, #185103)
1106
 
 
1107
 
* Give the warning about potentially slow cross-format fetches much
1108
 
  earlier on in the fetch operation.  Don't show this message during
1109
 
  upgrades, and show the correct format indication for remote
1110
 
  repositories.
1111
 
  (Martin Pool, #456077, #515356, #513157)
1112
 
 
1113
 
* Handle renames correctly when there are files or directories that 
1114
 
  differ only in case.  (Chris Jones, Martin Pool, #368931)
1115
 
 
1116
 
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
1117
 
  error, report that error rather than failing with an unhelpful
1118
 
  ``UnboundLocalError``.
1119
 
  (Andrew Bennetts, #423563)
1120
 
 
1121
 
* Running ``bzr`` command without any arguments now shows bzr
1122
 
  version number along with rest of the help text.
1123
 
  (Parth Malwankar, #369501)
1124
 
 
1125
 
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
1126
 
  errors.
1127
 
  (Inada Naoki, #524560)
1128
 
 
1129
 
Documentation
1130
 
*************
1131
 
 
1132
 
* Added ``location-alias`` help topic.
1133
 
  (Andrew Bennetts, #337834)
1134
 
 
1135
 
* Fixed CHM generation by moving the NEWS section template into
1136
 
  a separate file. (Ian Clatworthy, #524184)
1137
 
 
1138
 
 
1139
 
bzr 2.0.4
1140
 
#########
1141
 
 
1142
 
:Codename: smooth sailing
1143
 
:2.0.4: 2010-01-21
1144
 
 
1145
 
The fourth bugfix-only release in the 2.0 series contains more than a
1146
 
dozen bugfixes relative to 2.0.3. The primary focus is on handling
1147
 
interruptions and concurrent operations more cleanly, there is also a fair
1148
 
improvement to ``bzr export`` when exporting a remote branch.
1149
 
 
1150
 
 
1151
 
Bug Fixes
1152
 
*********
1153
 
 
1154
 
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
1155
 
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
1156
 
 
1157
 
* ``bzr export dir`` now requests all file content as a record stream,
1158
 
  rather than requsting the file content one file-at-a-time. This can make
1159
 
  exporting over the network significantly faster (54min => 9min in one
1160
 
  case). (John Arbash Meinel, #343218)
1161
 
 
1162
 
* ``bzr serve`` no longer slowly leaks memory. The compiled
1163
 
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
1164
 
  free resources, and it should have been using ``__dealloc__``.
1165
 
  This will likely have an impact on any other process that is serving for
1166
 
  an extended period of time.  (John Arbash Meinel, #494406)
1167
 
 
1168
 
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
1169
 
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
1170
 
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
1171
 
 
1172
 
* Concurrent autopacks will no longer lose a newly created pack file.
1173
 
  There was a race condition, where if the reload happened at the right
1174
 
  time, the second packer would forget the name of the newly added pack
1175
 
  file. (John Arbash Meinel, Gareth White, #507566)
1176
 
 
1177
 
* Give a clearer message if the lockdir disappears after being apparently
1178
 
  successfully taken.  (Martin Pool, #498378)
1179
 
 
1180
 
* Give a warning when fetching between repositories (local or remote) with
1181
 
  sufficiently different formats that the content will need to be
1182
 
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
1183
 
  the user has a clue that upgrading could make it faster.
1184
 
  (Martin Pool, #456077)
1185
 
 
1186
 
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
1187
 
  than using ``warning()``. The log file is opened before logging is set
1188
 
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
1189
 
  users, rather than something nicer.
1190
 
  (John Arbash Meinel, Barry Warsaw, #503886)
1191
 
 
1192
 
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
1193
 
  (Martin Pool, John Arbash Meinel, #449372)
1194
 
 
1195
 
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
1196
 
  build. (there is still the distutils bug
1197
 
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
1198
 
 
1199
 
* The 2a format wasn't properly restarting autopacks when something
1200
 
  changed underneath it (like another autopack). Now concurrent
1201
 
  autopackers will properly succeed. (John Arbash Meinel, #495000)
1202
 
 
1203
 
* ``TreeTransform`` can now handle when a delta says that the file id for
1204
 
  the tree root changes. Rather than trying to rename your working
1205
 
  directory, or failing early saying that you can't have multiple
1206
 
  tree roots. This also fixes revert, update, and pull when the root id
1207
 
  changes.  (John Arbash Meinel, #494269, #504390)
1208
 
 
1209
 
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
1210
 
  the right time will get propagated, rather than silently failing to move
1211
 
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
1212
 
 
1213
 
Testing
1214
 
*******
1215
 
 
1216
 
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
1217
 
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
1218
 
  rather than an ``except ?:`` clause.) This should help prevent bugs like
1219
 
  bug #495023. (John Arbash Meinel)
1220
 
 
1221
 
 
1222
 
bzr 2.1.0b4
1223
 
###########
1224
 
 
1225
 
:Codename: san francisco airport
1226
 
:2.1.0b4: 2009-12-14
1227
 
 
1228
 
The fourth beta release in the 2.1 series brings with it a significant
1229
 
number of bugfixes (~20). The test suite is once again (finally) "green"
1230
 
on Windows, and should remain that way for future releases. There are a
1231
 
few performance related updates (faster upgrade and log), and several UI
1232
 
tweaks. There has also been a significant number of tweaks to the runtime
1233
 
documentation. 2.1.0b4 include everything from the 2.0.3 release.
1234
 
 
1235
 
 
1236
 
Compatibility Breaks
1237
 
********************
1238
 
 
1239
 
* The BZR_SSH environmental variable may now be set to the path of a secure
1240
 
  shell client. If currently set to the value ``ssh`` it will now guess the
1241
 
  vendor of the program with that name, to restore the old behaviour that
1242
 
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
1243
 
  string. (Martin <gzlist@googlemail.com>, #176292)
1244
 
 
1245
 
New Features
1246
 
************
1247
 
 
1248
 
* ``bzr commit`` now has a ``--commit-time`` option.
1249
 
  (Alexander Sack, #459276)
1250
 
 
1251
 
* ``-Dhpss`` now increases logging done when run on the bzr server,
1252
 
  similarly to how it works on the client. (John Arbash Meinel)
1253
 
 
1254
 
* New option ``bzr unshelve --keep`` applies the changes and leaves them
1255
 
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
1256
 
 
1257
 
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
1258
 
  respect a given terminal width. This can be useful when output is
1259
 
  redirected or in obscure cases where the default value is not
1260
 
  appropriate. Pagers can use it to get a better control of the line
1261
 
  lengths. 
1262
 
  (Vincent Ladeuil)
1263
 
 
1264
 
* The new command ``bzr lp-mirror`` will request that Launchpad update its
1265
 
  mirror of a local branch. This command will only function if launchpadlib
1266
 
  is installed.
1267
 
  (Jonathan Lange)
1268
 
 
1269
 
 
1270
 
Bug Fixes
1271
 
*********
1272
 
 
1273
 
* After renaming a file, the dirstate could accidentally reference
1274
 
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
1275
 
  source of some dirstate-related failures. (John Arbash Meinel)
1276
 
 
1277
 
* ``bzr commit`` now detects commit messages that looks like file names
1278
 
  and issues a warning.
1279
 
  (Gioele Barabucci, #73073)
1280
 
 
1281
 
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
1282
 
 
1283
 
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
1284
 
  (#325618, #484109, Marius Kruger)
1285
 
 
1286
 
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
1287
 
  files with conflicts (similar to ``--merge3``). The contents of the file
1288
 
  is a synthesis of all bases used for the merge.
1289
 
  (John Arbash Meinel, #40412)
1290
 
 
1291
 
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
1292
 
 
1293
 
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
1294
 
  (Robert Collins, #84659)
1295
 
 
1296
 
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
1297
 
 
1298
 
* Fix bug with redirected URLs over authenticated HTTP.
1299
 
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
1300
 
 
1301
 
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
1302
 
 
1303
 
* Lots of bugfixes for the test suite on Windows. We should once again
1304
 
  have a test suite with no failures on Windows. (John Arbash Meinel)
1305
 
 
1306
 
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
1307
 
  variable but returns None if the terminal is not a tty (when output is
1308
 
  redirected for example). Also fixes its usage under OSes that doesn't
1309
 
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
1310
 
  windows too.
1311
 
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
1312
 
  (John Arbash Meinel, Vincent Ladeuil, #492561)
1313
 
 
1314
 
* Terminate ssh subprocesses when no references to them remain, fixing
1315
 
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
1316
 
  
1317
 
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
1318
 
  works for 2a format trees.  Only files unaffected by content filters
1319
 
  will be hardlinked.  (Andrew Bennetts, #408193)
1320
 
 
1321
 
* The new glob expansion on Windows would replace all ``\`` characters
1322
 
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
1323
 
  etc. Now only change slashes if there is something being glob expanded.
1324
 
  (John Arbash Meinel, #485771)
1325
 
 
1326
 
* Use our faster ``KnownGraph.heads()`` functionality when computing the
1327
 
  new rich-root heads. This can cut a conversion time in half (mysql from
1328
 
  13.5h => 6.2h) (John Arbash Meinel, #487632)
1329
 
 
1330
 
* When launching a external diff tool via bzr diff --using, temporary files
1331
 
  are no longer created, rather, the path to the file in the working tree is
1332
 
  passed to the external diff tool. This allows the file to be edited if the
1333
 
  diff tool provides for this. (Gary van der Merwe, #490738)
1334
 
  
1335
 
* The launchpad-open command can now be used from a subdirectory of a
1336
 
  branch, not just from the root of the branch. 
1337
 
  (Neil Martinsen-Burrell, #489102)
1338
 
 
1339
 
 
1340
 
Improvements
1341
 
************
1342
 
 
1343
 
* ``bzr log`` is now faster. (Ian Clatworthy)
1344
 
 
1345
 
* ``bzr update`` provides feedback on which branch it is up to date with.
1346
 
  (Neil Martinsen-Burrell)
1347
 
 
1348
 
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
1349
 
  For details see the xml8 patch and heads() improvements.
1350
 
  (John Arbash Meinel)
1351
 
 
1352
 
* ``bzrlib.urlutils.local_path_from_url`` now accepts
1353
 
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
1354
 
  Hudson)
1355
 
 
1356
 
* The progress bar now shows only a spinner and per-operation counts,
1357
 
  not an overall progress bar.  The previous bar was often not correlated
1358
 
  with real overall operation progress, either because the operations take
1359
 
  nonlinear time, or because at the start of the operation Bazaar couldn't
1360
 
  estimate how much work there was to do.  (Martin Pool)
1361
 
 
1362
 
Documentation
1363
 
*************
1364
 
 
1365
 
* Lots of documentation tweaks for inline help topics and command help
1366
 
  information.
1367
 
 
1368
 
API Changes
1369
 
***********
1370
 
 
1371
 
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
1372
 
 
1373
 
* The Launchpad plugin now has a function ``login`` which will log in to
1374
 
  Launchpad with launchpadlib, and ``load_branch`` which will return the
1375
 
  Launchpad Branch object corresponding to a given Bazaar Branch object.
1376
 
  (Jonathan Lange)
1377
 
 
1378
 
Internals
1379
 
*********
1380
 
 
1381
 
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
1382
 
  easier to handle what tests you want to run based on what modules can be
1383
 
  imported. (Rather than lots of custom-implemented features that were
1384
 
  basically copy-and-pasted.) (John Arbash Meinel)
1385
 
 
1386
 
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
1387
 
  ``time.clock()`` when you want to do performance timing.
1388
 
  ``time.time()`` is limited to 15ms resolution on Windows, but
1389
 
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
1390
 
  (John Arbash Meinel)
1391
 
 
1392
 
* Several code paths that were calling ``Transport.get().read()`` have
1393
 
  been changed to the equalivent ``Transport.get_bytes()``. The main
1394
 
  difference is that the latter will explicitly call ``file.close()``,
1395
 
  rather than expecting the garbage collector to handle it. This helps
1396
 
  with some race conditions on Windows during the test suite and sftp
1397
 
  tests. (John Arbash Meinel)
1398
 
 
1399
 
Testing
1400
 
*******
1401
 
 
1402
 
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
1403
 
  unicode strings. (Michael Hudson, #464174)
1404
 
 
1405
 
 
1406
 
bzr 2.0.3
1407
 
#########
1408
 
 
1409
 
:Codename: little italy
1410
 
:2.0.3: 2009-12-14
1411
 
 
1412
 
 
1413
 
The third stable release of Bazaar has a small handful of bugfixes. As
1414
 
expected, this has no internal or external compatibility changes versus
1415
 
2.0.2 (or 2.0.0).
1416
 
 
1417
 
Bug Fixes
1418
 
*********
1419
 
 
1420
 
* ``bzr push --use-existing-dir`` no longer crashes if the directory
1421
 
  exists but contains an invalid ``.bzr`` directory.
1422
 
  (Andrew Bennetts, #423563)
1423
 
 
1424
 
* Content filters are now applied correctly after pull, merge and switch.
1425
 
  (Ian Clatworthy, #385879)
1426
 
 
1427
 
* Fix a potential segfault in the groupcompress hash map handling code.
1428
 
  When inserting new entries, if the final hash bucket was empty, we could
1429
 
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
1430
 
  (John Arbash Meinel, #490228)
1431
 
 
1432
 
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
1433
 
 
1434
 
 
1435
 
bzr 2.1.0b3
1436
 
###########
1437
 
 
1438
 
:Codename: after sprint recovery
1439
 
:2.1.0b3: 2009-11-16
1440
 
 
1441
 
This release was pushed up from its normal release cycle due to a
1442
 
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
1443
 
was caught before 2.1.0b2 was officially announced, the full changelog
1444
 
includes both 2.1.0b3 and 2.1.0b2 changes.
1445
 
 
1446
 
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
1447
 
the test suite now conforms to python's trunk enhanced semantics (skip,
1448
 
etc.), and ``bzr info -v`` will now report the correct branch and repo
1449
 
formats for Remote objects.
1450
 
 
1451
 
 
1452
 
New Features
1453
 
************
1454
 
 
1455
 
* Users can define a shelve editor to provide shelf functionality at a
1456
 
  granularity finer than per-patch-hunk. (Aaron Bentley)
1457
 
 
1458
 
Bug Fixes
1459
 
*********
1460
 
 
1461
 
* Fix for shell completion and short options.  (Benoît PIERRE)
1462
 
 
1463
 
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
1464
 
 
1465
 
* Hooks daughter classes should always call the base constructor.
1466
 
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
1467
 
 
1468
 
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
1469
 
 
1470
 
* On Windows, do glob expansion at the command-line level (as is usually
1471
 
  done in bash, etc.) This means that *all* commands get glob expansion
1472
 
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
1473
 
  parser, which allows us to know if a given section was quoted. It means
1474
 
  you can now do ``bzr ignore "*.py"``.
1475
 
  (John Arbash Meinel, #425510, #426410, #194450)
1476
 
 
1477
 
* Sanitize commit messages that come in from the '-m' flag. We translate
1478
 
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
1479
 
  allow those because XML store silently translate it anyway. (The parser
1480
 
  auto-translates \r\n => \n in ways that are hard for us to catch.)
1481
 
 
1482
 
* Show correct branch and repository format descriptions in 
1483
 
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
1484
 
 
1485
 
* The fix for bug #186920 accidentally broke compatibility with python
1486
 
  2.4.  (Vincent Ladeuil, #475585)
1487
 
 
1488
 
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
1489
 
  correctly sets ``self.inv_sha1`` to a sha1 string and
1490
 
  ``self.new_inventory`` to an Inventory instance after calling
1491
 
  ``self.finish_inventory()``. (Previously it accidently set both values
1492
 
  as a tuple on ``self.inv_sha1``. This was missed because
1493
 
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
1494
 
  the sha1 from the repo directly. (John Arbash Meinel)
1495
 
 
1496
 
* Shelve command refuse to run if there is no real terminal.
1497
 
  (Alexander Belchenko)
1498
 
 
1499
 
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
1500
 
  Python level.  (Martin Pool)
1501
 
 
1502
 
Documentation
1503
 
*************
1504
 
 
1505
 
* Include Japanese translations for documentation (Inada Naoki)
1506
 
 
1507
 
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
1508
 
  (rather than user-interaction) data to stdout.  This automatically
1509
 
  coordinates with progress bars or other terminal activity, and can be
1510
 
  overridden by GUIs.
1511
 
  (Martin Pool, 493944)
1512
 
 
1513
 
Internals
1514
 
*********
1515
 
 
1516
 
* Some of the core groupcompress functionality now releases the GIL before
1517
 
  operation. Similar to how zlib and bz2 operate without the GIL in the
1518
 
  core compression and decompression routines. (John Arbash Meinel)
1519
 
 
1520
 
Testing
1521
 
*******
1522
 
 
1523
 
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
1524
 
  more debugging of VFS access triggers. (Robert Collins)
1525
 
 
1526
 
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
1527
 
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
1528
 
 
1529
 
* ``--parallel=fork`` is now compatible with --subunit.
1530
 
  (Robert Collins, Vincent Ladeuil, #419776)
1531
 
 
1532
 
* Reporting of failures shows test ids not descriptions and thus shows
1533
 
  parameterised tests correctly. (Robert Collins)
1534
 
 
1535
 
* TestNotApplicable is now handled within the TestCase.run method rather
1536
 
  than being looked for within ``ExtendedTestResult.addError``. This
1537
 
  provides better handling with other ``TestResult`` objects, degrading to
1538
 
  sucess rather than error. (Robert Collins)
1539
 
 
1540
 
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
1541
 
  removed - it was empty and unused. (Robert Collins)
1542
 
 
1543
 
* UnavailableFeature is now handled within the TestCase.run method rather
1544
 
  than being looked for within addError. If the Result object does not
1545
 
  have an addNotSupported method, addSkip is attempted instead, and
1546
 
  failing that addSuccess. (Robert Collins)
1547
 
 
1548
 
* When a TestResult does not have an addSkip method, skipped tests are now
1549
 
  reported as successful tests, rather than as errors. This change is
1550
 
  to make it possible to get a clean test run with a less capable
1551
 
  TestResult. (Robert Collins)
1552
 
 
1553
 
 
1554
 
 
1555
 
bzr 2.1.0b2
1556
 
###########
1557
 
 
1558
 
:Codename: a load off my mind
1559
 
:2.1.0b2: 2009-11-02
1560
 
 
1561
 
This is our second feature-filled release since 2.0, pushing us down the
1562
 
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
1563
 
 
1564
 
Key highlights in this release are: improved handling of
1565
 
failures-during-cleanup for commit, fixing a long-standing bug with
1566
 
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
1567
 
behind proxies, and a new StaticTuple datatype, allowing us to reduce
1568
 
memory consumption (50%) and garbage collector overhead (40% faster) for
1569
 
many operations.
1570
 
 
1571
 
* A new ``--concurrency`` option has been added as well as an associated
1572
 
  BZR_CONCURRENCY environment variable to specify the number of
1573
 
  processes that can be run concurrently when running ``bzr selftest``. The
1574
 
  command-line option overrides the environment variable if both are
1575
 
  specified. If none is specified. the number of processes is obtained
1576
 
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
1577
 
 
1578
 
Bug Fixes
1579
 
*********
1580
 
 
1581
 
* ``bzr+http`` servers no longer give spurious jail break errors when
1582
 
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
1583
 
 
1584
 
* Errors during commit are handled more robustly so that knock-on errors
1585
 
  are less likely to occur, and will not obscure the original error if
1586
 
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
1587
 
  and similar errors.  (Andrew Bennetts, #429747, #243391)
1588
 
 
1589
 
* Launchpad urls can now be resolved from behind proxies.
1590
 
  (Gordon Tyler, Vincent Ladeuil, #186920)
1591
 
 
1592
 
* Reduce the strictness for StaticTuple, instead add a debug flag
1593
 
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
1594
 
  This way, most users won't see failures, but developers can improve
1595
 
  internals. (John Arbash Meinel, #471193)
1596
 
 
1597
 
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
1598
 
  files.  (Aaron Bentley)
1599
 
 
1600
 
* Unicode paths are now handled correctly and consistently by the smart
1601
 
  server.  (Andrew Bennetts, Michael Hudson, #458762)
1602
 
 
1603
 
Improvements
1604
 
************
1605
 
 
1606
 
* When reading index files, we now use a ``StaticTuple`` rather than a
1607
 
  plain ``tuple`` object. This generally gives a 20% decrease in peak
1608
 
  memory, and can give a performance boost up to 40% on large projects.
1609
 
  (John Arbash Meinel)
1610
 
 
1611
 
* Peak memory under certain operations has been reduced significantly.
1612
 
  (eg, 'bzr branch launchpad standalone' is cut in half)
1613
 
  (John Arbash Meinel)
1614
 
 
1615
 
Documentation
1616
 
*************
1617
 
 
1618
 
* Filtered views user documentation upgraded to refer to format 2a
1619
 
  instead of pre-2.0 formats. (Ian Clatworthy)
1620
 
 
1621
 
API Changes
1622
 
***********
1623
 
 
1624
 
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
1625
 
 
1626
 
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1627
 
  ``show_warning`` methods, which can be hooked by non-text UIs.  
1628
 
  (Martin Pool)
1629
 
 
1630
 
Internals
1631
 
*********
1632
 
 
1633
 
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1634
 
  Dict (it only holds keys, but you can lookup the object located at a
1635
 
  given key). It has significantly reduced memory consumption versus the
1636
 
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1637
 
  used as the interning structure for StaticTuple objects.
1638
 
  (John Arbash Meinel)
1639
 
 
1640
 
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1641
 
  the btree index parser and the chk map parser. This class functions
1642
 
  similarly to ``tuple`` objects. However, it can only point to a limited
1643
 
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
1644
 
  int, long, float, but not subclasses).  This allows us to remove it from
1645
 
  the garbage collector (it cannot be in a cycle), it also allows us to
1646
 
  intern the objects. In testing, this can reduce peak memory by 20-40%,
1647
 
  and significantly improve performance by removing objects from being
1648
 
  inspected by the garbage collector.  (John Arbash Meinel)
1649
 
 
1650
 
* ``GroupCompressBlock._ensure_content()`` will now release the
1651
 
  ``zlib.decompressobj()`` when the first request is for all of the
1652
 
  content. (Previously it would only be released if you made a request for
1653
 
  part of the content, and then all of it later.) This turns out to be a
1654
 
  significant memory savings, as a ``zstream`` carries around approx 260kB
1655
 
  of internal state and buffers. (For branching bzr.dev this drops peak
1656
 
  memory from 382MB => 345MB.) (John Arbash Meinel)
1657
 
 
1658
 
* When streaming content between ``2a`` format repositories, we now clear
1659
 
  caches from earlier versioned files. (So 'revisions' is cleared when we
1660
 
  start reading 'inventories', etc.) This can have a significant impact on
1661
 
  peak memory for initial copies (~200MB). (John Arbash Meinel)
1662
 
 
1663
 
 
1664
 
bzr 2.0.2
1665
 
#########
1666
 
 
1667
 
:Codename: after the scare
1668
 
:2.0.2: 2009-11-02
1669
 
 
1670
 
The second in our "let's keep the stable bugfixes flowing" series. As
1671
 
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
1672
 
changes or features.
1673
 
 
1674
 
Bug Fixes
1675
 
*********
1676
 
 
1677
 
* Avoid "NoneType has no attribute st_mode" error when files disappear
1678
 
  from a directory while it's being read.  (Martin Pool, #446033)
1679
 
 
1680
 
* Content filters are now applied correctly after revert.
1681
 
  (Ian Clatworthy)
1682
 
 
1683
 
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
1684
 
 
1685
 
* Fetching from stacked pre-2a repository via a smart server no longer
1686
 
  fails intermittently with "second push failed to complete".
1687
 
  (Andrew Bennetts, #437626)
1688
 
 
1689
 
* Fix typos left after test_selftest refactoring.
1690
 
  (Vincent Ladeuil, Matt Nordhoff, #461149)
1691
 
 
1692
 
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
1693
 
  (Andrew Bennetts, #445171)
1694
 
  
1695
 
* PreviewTree file names are not limited by the encoding of the temp
1696
 
  directory's filesystem. (Aaron Bentley, #436794)
1697
 
 
1698
 
Improvements
1699
 
************
1700
 
 
1701
 
* ``bzr log`` now read-locks branches exactly once, so makes better use of
1702
 
  data caches.  (Andrew Bennetts)
1703
 
 
1704
 
Documentation
1705
 
*************
1706
 
 
1707
 
* Filtered views user documentation upgraded to refer to format 2a
1708
 
  instead of pre-2.0 formats. (Ian Clatworthy)
1709
 
 
1710
 
 
1711
 
bzr 2.1.0b1
1712
 
###########
1713
 
 
1714
 
:Codename: While the cat is away
1715
 
:2.1.0b1: 2009-10-14
1716
 
 
1717
 
This is the first development release in the new split "stable" and
1718
 
"development" series. As such, the release is a snapshot of bzr.dev
1719
 
without creating a release candidate first. This release includes a
1720
 
fair amount of internal changes, with deprecated code being removed,
1721
 
and several new feature developments. People looking for a stable code
1722
 
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1723
 
present in 2.0.1 are present in 2.1.0b1.
1724
 
 
1725
 
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1726
 
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1727
 
syntax, visible warnings when extension modules fail to load, and improved
1728
 
error handling during unlocking.
1729
 
 
1730
 
 
1731
 
New Features
1732
 
************
1733
 
 
1734
 
* Bazaar can now send mail through Apple OS X Mail.app. 
1735
 
  (Brian de Alwis)
1736
 
 
1737
 
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1738
 
  specified in the URL.  Paths starting with a path segment of ``~`` are
1739
 
  relative to the home directory of the user running the server, and paths
1740
 
  starting with ``~user`` are relative to the home directory of the named
1741
 
  user.  For example, for a user "bob" with a home directory of
1742
 
  ``/home/bob``, these URLs are all equivalent:
1743
 
 
1744
 
  * ``bzr+ssh://bob@host/~/repo``
1745
 
  * ``bzr+ssh://bob@host/~bob/repo``
1746
 
  * ``bzr+ssh://bob@host/home/bob/repo``
1747
 
 
1748
 
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1749
 
  home directories outside that directory will be accessible via this
1750
 
  method.
1751
 
 
1752
 
  This is a feature of ``bzr serve``, so pre-2.1 clients will
1753
 
  automatically benefit from this feature when ``bzr`` on the server is
1754
 
  upgraded.  (Andrew Bennetts, #109143)
1755
 
 
1756
 
* Extensions can now be compiled if either Cython or Pyrex is available.
1757
 
  Currently Pyrex is preferred, but that may change in the future.
1758
 
  (Arkanes)
1759
 
 
1760
 
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1761
 
  disable the user, site and core plugin directories.
1762
 
  (Vincent Ladeuil, #412930, #316192, #145612)
1763
 
 
1764
 
Bug Fixes
1765
 
*********
1766
 
 
1767
 
* Bazaar's native protocol code now correctly handles EINTR, which most
1768
 
  noticeably occurs if you break in to the debugger while connected to a
1769
 
  bzr+ssh server.  You can now can continue from the debugger (by typing
1770
 
  'c') and the process continues.  However, note that pressing C-\ in the
1771
 
  shell may still kill the SSH process, which is bug 162509, so you must
1772
 
  sent a signal to the bzr process specifically, for example by typing
1773
 
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
1774
 
 
1775
 
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1776
 
  filename will issue a warning and skip over those files.
1777
 
  (Robert Collins, #3918)
1778
 
 
1779
 
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1780
 
  are present in the working tree. The configuration option ``dpush_strict``
1781
 
  can be used to set the default for this behavior.
1782
 
  (Vincent Ladeuil, #438158)
1783
 
 
1784
 
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1785
 
  merges are present in the working tree.
1786
 
  (Vincent Ladeuil, #426344)
1787
 
 
1788
 
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1789
 
  traceback.  (Martin Pool, #109115)
1790
 
 
1791
 
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1792
 
  as it is never built. (John Arbash Meinel, #430645)
1793
 
 
1794
 
* Don't restrict the command name used to run the test suite.
1795
 
  (Vincent Ladeuil, #419950)
1796
 
 
1797
 
* ftp transports were built differently when the kerberos python module was
1798
 
  present leading to obscure failures related to ASCII/BINARY modes.
1799
 
  (Vincent Ladeuil, #443041)
1800
 
 
1801
 
* Network streams now decode adjacent records of the same type into a
1802
 
  single stream, reducing layering churn. (Robert Collins)
1803
 
 
1804
 
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1805
 
  file. (Aaron Bentley, #251532)
1806
 
 
1807
 
* Registry objects should not use iteritems() when asked to use items().
1808
 
  (Vincent Ladeuil, #430510)
1809
 
 
1810
 
* Weave based repositories couldn't be cloned when committers were using
1811
 
  domains or user ids embedding '.sig'. Now they can.
1812
 
  (Matthew Fuller, Vincent Ladeuil, #430868)
1813
 
 
1814
 
Improvements
1815
 
************
1816
 
 
1817
 
* Revision specifiers can now be given in a more DWIM form, without
1818
 
  needing explicit prefixes for specifiers like tags or revision id's.
1819
 
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
1820
 
 
1821
 
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
1822
 
  compiled extensions can't be loaded.  This typically indicates a
1823
 
  packaging or installation problem.  In this case Bazaar will keep
1824
 
  running using pure-Python versions, but this may be substantially
1825
 
  slower.  The warning can be disabled by setting
1826
 
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
1827
 
  See also <https://answers.launchpad.net/bzr/+faq/703>.
1828
 
  (Martin Pool, #406113, #430529)
1829
 
 
1830
 
* Secondary errors that occur during Branch.unlock and Repository.unlock
1831
 
  no longer obscure the original error.  These methods now use a new
1832
 
  decorator, ``only_raises``.  This fixes many causes of
1833
 
  ``TooManyConcurrentRequests`` and similar errors.
1834
 
  (Andrew Bennetts, #429747)
1835
 
 
1836
 
Documentation
1837
 
*************
1838
 
 
1839
 
* Describe the new shell-like test feature. (Vincent Ladeuil)
1840
 
 
1841
 
* Help on hooks no longer says 'Not deprecated' for hooks that are
1842
 
  currently supported. (Ian Clatworthy, #422415)
1843
 
 
1844
 
API Changes
1845
 
***********
1846
 
 
1847
 
* ``bzrlib.user_encoding`` has been removed; use
1848
 
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
1849
 
 
1850
 
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
1851
 
  subclasses - the same as python's unittest module. (Robert Collins)
1852
 
  
1853
 
* ``diff._get_trees_to_diff`` has been renamed to 
1854
 
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
1855
 
  returns the old and new branches. (Gary van der Merwe)
1856
 
 
1857
 
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
1858
 
  (Martin Pool)
1859
 
 
1860
 
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
1861
 
  now defaults to comparing to the basis tree. It now checks for pending
1862
 
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
1863
 
  corresponding has_changes() calls. ``Merge.compare_basis``,
1864
 
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
1865
 
  been deprecated.
1866
 
  (Vincent Ladeuil, #440631)
1867
 
 
1868
 
* ``ProgressTask.note`` is deprecated.
1869
 
  (Martin Pool)
1870
 
 
1871
 
Internals
1872
 
*********
1873
 
 
1874
 
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
1875
 
  repository or branch object is unlocked then relocked the same way.
1876
 
  (Andrew Bennetts)
1877
 
  
1878
 
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
1879
 
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
1880
 
  This results in a 10% speedup while reading an index.
1881
 
  (John Arbash Meinel)
1882
 
 
1883
 
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
1884
 
  profiling in some situations like callbacks and generators easier.
1885
 
  (Robert Collins)
1886
 
 
1887
 
Testing
1888
 
*******
1889
 
 
1890
 
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
1891
 
  be output for every test. Note that this is very verbose! (Robert Collins)
1892
 
 
1893
 
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
1894
 
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
1895
 
 
1896
 
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
1897
 
  documentation in ``developers/testing.txt`` for details.
1898
 
  (Vincent Ladeuil)
1899
 
 
1900
 
* Some tests could end up with the same id, that was dormant for
1901
 
  a long time.
1902
 
  (Vincent Ladeuil, #442980)
1903
 
 
1904
 
* Stop showing the number of tests due to missing features in the test
1905
 
  progress bar.  (Martin Pool)
1906
 
 
1907
 
* Test parameterisation now does a shallow copy, not a deep copy of the test
1908
 
  to be parameterised. This is not expected to break external use of test
1909
 
  parameterisation, and is substantially faster. (Robert Collins)
1910
 
 
1911
 
* Tests that try to open a bzr dir on an arbitrary transport will now
1912
 
  fail unless they have explicitly permitted the transport via
1913
 
  ``self.permit_url``. The standard test factories such as ``self.get_url``
1914
 
  will permit the urls they provide automatically, so only exceptional
1915
 
  tests should need to do this. (Robert Collins)
1916
 
 
1917
 
* The break-in test no longer cares about clean shutdown of the child,
1918
 
  instead it is happy if the debugger starts up. (Robert  Collins)
1919
 
 
1920
 
* The full test suite is expected to pass when the C extensions are not
1921
 
  present. (Vincent Ladeuil, #430749)
1922
 
 
1923
 
 
1924
 
bzr 2.0.1
1925
 
#########
1926
 
 
1927
 
:Codename: Stability First
1928
 
:2.0.1: 2009-10-14
1929
 
 
1930
 
The first of our new ongoing bugfix-only stable releases has arrived. It
1931
 
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
1932
 
include any of the feature development in the 2.1.0 series.
1933
 
 
1934
 
 
1935
 
Bug Fixes
1936
 
*********
1937
 
 
1938
 
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1939
 
  filename will issue a warning and skip over those files.
1940
 
  (Robert Collins, #3918)
1941
 
 
1942
 
* bzr will attempt to authenticate with SSH servers that support
1943
 
  ``keyboard-interactive`` auth but not ``password`` auth when using
1944
 
  Paramiko.   (Andrew Bennetts, #433846)
1945
 
 
1946
 
* Fixed fetches from a stacked branch on a smart server that were failing
1947
 
  with some combinations of remote and local formats.  This was causing
1948
 
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
1949
 
 
1950
 
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
1951
 
  on branches via a smart server.  (Andrew Bennetts, #389413)
1952
 
 
1953
 
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
1954
 
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
1955
 
  assumed that ``abspath()`` returned a path that did not have a trailing
1956
 
  ``/``, but that is not true when working at the root of the filesystem.
1957
 
  (John Arbash Meinel, Jason Spashett, #322807)
1958
 
 
1959
 
* Hide deprecation warnings for 'final' releases for python2.6.
1960
 
  (John Arbash Meinel, #440062)
1961
 
 
1962
 
* Improve the time for ``bzr log DIR`` for 2a format repositories.
1963
 
  We had been using the same code path as for <2a formats, which required
1964
 
  iterating over all objects in all revisions.
1965
 
  (John Arbash Meinel, #374730)
1966
 
 
1967
 
* Make sure that we unlock the tree if we fail to create a TreeTransform
1968
 
  object when doing a merge, and there is limbo, or pending-deletions
1969
 
  directory.  (Gary van der Merwe, #427773)
1970
 
 
1971
 
* Occasional IndexError on renamed files have been fixed. Operations that
1972
 
  set a full inventory in the working tree will now go via the
1973
 
  apply_inventory_delta code path which is simpler and easier to
1974
 
  understand than dirstates set_state_from_inventory method. This may
1975
 
  have a small performance impact on operations built on _write_inventory,
1976
 
  but such operations are already doing full tree scans, so no radical
1977
 
  performance change should be observed. (Robert Collins, #403322)
1978
 
 
1979
 
* Retrieving file text or mtime from a _PreviewTree has good performance when
1980
 
  there are many changes.  (Aaron Bentley)
1981
 
 
1982
 
* The CHK index pages now use an unlimited cache size. With a limited
1983
 
  cache and a large project, the random access of chk pages could cause us
1984
 
  to download the entire cix file many times.
1985
 
  (John Arbash Meinel, #402623)
1986
 
 
1987
 
* When a file kind becomes unversionable after being added, a sensible
1988
 
  error will be shown instead of a traceback. (Robert Collins, #438569)
1989
 
 
1990
 
Documentation
1991
 
*************
1992
 
 
1993
 
* Improved README. (Ian Clatworthy)
1994
 
 
1995
 
* Improved upgrade documentation for Launchpad branches.
1996
 
  (Barry Warsaw)
1997
 
 
1998
 
 
1999
 
bzr 2.0.0
2000
 
#########
2001
 
 
2002
 
:2.0.0: 2009-09-22
2003
 
:Codename: Instant Karma
2004
 
 
2005
 
This release of Bazaar makes the 2a (previously 'brisbane-core') format
2006
 
the default when new branches or repositories are created.  This format is
2007
 
substantially smaller and faster for many operations.  Most of the work in
2008
 
this release focuses on bug fixes and stabilization, covering both 2a and
2009
 
previous formats.  (See the Upgrade Guide for information on migrating
2010
 
existing projects.)
2011
 
 
2012
 
This release also improves the documentation content and presentation,
2013
 
including adding Windows HtmlHelp manuals.
2014
 
 
2015
 
The Bazaar team decided that 2.0 will be a long-term supported release,
2016
 
with bugfix-only 2.0.x releases based on it, continuing for at least six
2017
 
months or until the following stable release.
2018
 
 
2019
 
Changes from 2.0.0rc2 to final
2020
 
******************************
2021
 
 
2022
 
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
2023
 
  that "want to happen on the 2.0.x stable series" versus things that want
2024
 
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
2025
 
  micro = 0.) (John Arbash Meinel)
2026
 
 
2027
 
 
2028
 
bzr 2.0.0rc2
2029
 
############
2030
 
 
2031
 
:2.0.0rc2: 2009-09-10
2032
 
 
2033
 
New Features
2034
 
************
2035
 
 
2036
 
* Added post_commit hook for mutable trees. This allows the keywords
2037
 
  plugin to expand keywords on files changed by the commit.
2038
 
  (Ian Clatworthy, #408841)
2039
 
 
2040
 
Bug Fixes
2041
 
*********
2042
 
 
2043
 
* Bazaar's native protocol code now correctly handles EINTR, which most
2044
 
  noticeably occurs if you break in to the debugger while connected to a
2045
 
  bzr+ssh server.  You can now can continue from the debugger (by typing
2046
 
  'c') and the process continues.  However, note that pressing C-\ in the
2047
 
  shell may still kill the SSH process, which is bug 162509, so you must
2048
 
  sent a signal to the bzr process specifically, for example by typing
2049
 
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
2050
 
 
2051
 
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
2052
 
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
2053
 
  (Robert Collins, #416732)
2054
 
 
2055
 
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
2056
 
  format" (John Arbash Meinel, #424392)
2057
 
 
2058
 
* ``bzr log stacked-branch`` shows the full log including
2059
 
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
2060
 
  (John Arbash Meinel, #419241)
2061
 
 
2062
 
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
2063
 
  traceback.  (Martin Pool, #109115)
2064
 
 
2065
 
* Conversion to 2a will create a single pack for all the new revisions (as
2066
 
  long as it ran without interruption). This improves both ``bzr upgrade``
2067
 
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
2068
 
  The autopack logic that occurs every 100 revisions during local
2069
 
  conversions was not returning that pack's identifier, which resulted in
2070
 
  the partial packs created during the conversion not being consolidated
2071
 
  at the end of the conversion process. (Robert Collins, #423818)
2072
 
 
2073
 
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
2074
 
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
2075
 
  This means that when the source is fully packed, there is minimal
2076
 
  overhead during the fetch, but if the source is poorly packed the result
2077
 
  is a fairly well packed repository (not as good as 'bzr pack' but
2078
 
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
2079
 
 
2080
 
* Fix a potential segmentation fault when doing 'log' of a branch that had
2081
 
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
2082
 
  (John Arbash Meinel, #419241)
2083
 
 
2084
 
* ``groupcompress`` sort order is now more stable, rather than relying on
2085
 
  ``topo_sort`` ordering. The implementation is now
2086
 
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
2087
 
 
2088
 
* Local data conversion will generate correct deltas. This is a critical
2089
 
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
2090
 
  converting repositories. (Robert Collins, #422849)
2091
 
 
2092
 
* Network streams now decode adjacent records of the same type into a
2093
 
  single stream, reducing layering churn. (Robert Collins)
2094
 
 
2095
 
* Prevent some kinds of incomplete data from being committed to a 2a
2096
 
  repository, such as revisions without inventories, a missing chk_bytes
2097
 
  record for an inventory, or a missing text referenced by an inventory.
2098
 
  (Andrew Bennetts, #423506, #406687)
2099
 
  
2100
 
Documentation
2101
 
*************
2102
 
 
2103
 
* Fix assertion error about "_remember_remote_is_before" when pushing to
2104
 
  older smart servers.
2105
 
  (Andrew Bennetts, #418931)
2106
 
 
2107
 
* Help on hooks no longer says 'Not deprecated' for hooks that are
2108
 
  currently supported. (Ian Clatworthy, #422415)
2109
 
 
2110
 
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
2111
 
  user documentation. The HTML documentation is better broken up into
2112
 
  topics. (Ian Clatworthy)
2113
 
 
2114
 
* The developer and foreign language documents are now separated
2115
 
  out so that searching in the HTML and CHM files produces more
2116
 
  useful results. (Ian Clatworthy)
2117
 
 
2118
 
* The main table of contents now provides links to the new Migration Docs
2119
 
  and Plugins Guide. (Ian Clatworthy)
2120
 
 
2121
 
 
2122
 
bzr 2.0.0rc1
2123
 
############
2124
 
 
2125
 
:Codename: no worries
2126
 
:2.0.0rc1: 2009-08-26
2127
 
 
2128
 
Compatibility Breaks
2129
 
********************
2130
 
 
2131
 
* The default format for bzr is now ``2a``. This format brings many
2132
 
  significant performance and size improvements. bzr can pull from
2133
 
  any existing repository into a ``2a`` one, but can only transfer
2134
 
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
2135
 
  has more information about this change. (Robert Collins)
2136
 
 
2137
 
* On Windows auto-detection of Putty's plink.exe is disabled.
2138
 
  Default SSH client for Windows is paramiko. User still can force
2139
 
  usage of plink if explicitly set environment variable BZR_SSH=plink.
2140
 
  (#414743, Alexander Belchenko)
2141
 
 
2142
 
New Features
2143
 
************
2144
 
 
2145
 
* ``bzr branch --switch`` can now switch the checkout in the current directory
2146
 
  to the newly created branch. (Lukáš Lalinský)
2147
 
 
2148
 
Bug Fixes
2149
 
*********
2150
 
 
2151
 
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2152
 
  (Jason Spashett, #76616)
2153
 
 
2154
 
* Fetches were being requested in 'groupcompress' order, but weren't
2155
 
  recombining the groups. Thus they would 'fragment' to get the correct
2156
 
  order, but not 'recombine' to actually benefit from it. Until we get
2157
 
  recombining to work, switching to 'unordered' fetches avoids the
2158
 
  fragmentation. (John Arbash Meinel, #402645)
2159
 
 
2160
 
* Fix a pycurl related test failure on karmic by recognizing an error
2161
 
  raised by newer versions of pycurl.
2162
 
  (Vincent Ladeuil, #306264)
2163
 
 
2164
 
* Fix a test failure on karmic by making a locale test more robust.
2165
 
  (Vincent Ladeuil, #413514)
2166
 
 
2167
 
* Fix IndexError printing CannotBindAddress errors.
2168
 
  (Martin Pool, #286871)
2169
 
 
2170
 
* Fix "Revision ... not present" errors when upgrading stacked branches,
2171
 
  or when doing fetches from a stacked source to a stacked target.
2172
 
  (Andrew Bennetts, #399140)
2173
 
 
2174
 
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
2175
 
  batches together small fetches from 2a repositories, rather than
2176
 
  fetching only a few hundred bytes at a time.
2177
 
  (Andrew Bennetts, #402657)
2178
 
 
2179
 
Improvements
2180
 
************
2181
 
 
2182
 
* A better description of the platform is shown in crash tracebacks, ``bzr
2183
 
  --version`` and ``bzr selftest``.
2184
 
  (Martin Pool, #409137)
2185
 
 
2186
 
* bzr can now (again) capture crash data through the apport library, 
2187
 
  so that a single human-readable file can be attached to bug reports.
2188
 
  This can be disabled by using ``-Dno_apport`` on the command line, or by
2189
 
  putting ``no_apport`` into the ``debug_flags`` section of
2190
 
  ``bazaar.conf``.
2191
 
  (Martin Pool, Robert Collins, #389328)
2192
 
 
2193
 
* ``bzr push`` locally on windows will no longer give a locking error with
2194
 
  dirstate based formats. (Robert Collins)
2195
 
 
2196
 
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
2197
 
  (Robert Collins, #305006)
2198
 
 
2199
 
* Commit of specific files no longer prevents using the iter_changes
2200
 
  codepath. On 2a repositories, commit of specific files should now be as
2201
 
  fast, or slightly faster, than a full commit. (Robert Collins)
2202
 
 
2203
 
* The internal core code that handles specific file operations like
2204
 
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
2205
 
  include the parent directories if they have altered, and when a
2206
 
  directory stops being a directory its children are always included. This
2207
 
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
2208
 
  faster commit of specific paths. (Robert Collins, #347649)
2209
 
 
2210
 
Documentation
2211
 
*************
2212
 
 
2213
 
* New developer documentation for content filtering.
2214
 
  (Martin Pool)
2215
 
 
2216
 
API Changes
2217
 
***********
2218
 
 
2219
 
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2220
 
  classes changed to manage lock lifetime of the trees they open in a way
2221
 
  consistent with reader-exclusive locks. (Robert Collins, #305006)
2222
 
 
2223
 
Testing
2224
 
*******
2225
 
 
2226
 
bzr 1.18.1
2227
 
##########
2228
 
 
2229
 
:Codename:     nein nein nein!
2230
 
:1.18.1:       2009-09-09
2231
 
 
2232
 
This release fixes two small but worthwhile bugs relevant to users on
2233
 
Microsoft Windows: some commands that failed on with locking errors will
2234
 
now work, and a bug that caused poor performance after committing a file
2235
 
with line-ending conversion has now been fixed.  It also fixes a bug in
2236
 
pushing to older servers.
2237
 
 
2238
 
Bug Fixes
2239
 
*********
2240
 
 
2241
 
* Fixed a problem where using content filtering and especially end-of-line
2242
 
  conversion will commit too many copies a file.
2243
 
  (Martin Pool, #415508)
2244
 
 
2245
 
* Fix assertion error about ``_remember_remote_is_before`` in
2246
 
  ``set_tags_bytes`` when pushing to older smart servers.  
2247
 
  (Andrew Bennetts, Alexander Belchenko, #418931)
2248
 
 
2249
 
Improvements
2250
 
************
2251
 
 
2252
 
* ``bzr push`` locally on Windows will no longer give a locking error with
2253
 
  dirstate based formats. (Robert Collins)
2254
 
 
2255
 
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
2256
 
  (Robert Collins, #305006)
2257
 
 
2258
 
API Changes
2259
 
***********
2260
 
 
2261
 
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
2262
 
  classes changed to manage lock lifetime of the trees they open in a way
2263
 
  consistent with reader-exclusive locks. (Robert Collins, #305006)
2264
 
 
2265
 
* ``Tree.path_content_summary`` may return a size of None, when called on
2266
 
  a tree with content filtering where the size of the canonical form
2267
 
  cannot be cheaply determined.  (Martin Pool)
2268
 
 
2269
 
* When manually creating transport servers in test cases, a new helper
2270
 
  ``TestCase.start_server`` that registers a cleanup and starts the server
2271
 
  should be used. (Robert Collins)
2272
 
 
2273
 
bzr 1.18
2274
 
########
2275
 
 
2276
 
Compatibility Breaks
2277
 
********************
2278
 
 
2279
 
* Committing directly to a stacked branch from a lightweight checkout will
2280
 
  no longer work. In previous versions this would appear to work but would
2281
 
  generate repositories with insufficient data to create deltas, leading
2282
 
  to later errors when branching or reading from the repository.
2283
 
  (Robert Collins, bug #375013)
2284
 
 
2285
 
New Features
2286
 
************
2287
 
 
2288
 
Bug Fixes
2289
 
*********
2290
 
 
2291
 
* Fetching from 2a branches from a version-2 bzr protocol would fail to
2292
 
  copy the internal inventory pages from the CHK store. This cannot happen
2293
 
  in normal use as all 2a compatible clients and servers support the
2294
 
  version-3 protocol, but it does cause test suite failures when testing
2295
 
  downlevel protocol behaviour. (Robert Collins)
2296
 
 
2297
 
* Fix a test failure on karmic by making a locale test more robust.
2298
 
  (Vincent Ladeuil, #413514)
2299
 
 
2300
 
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
2301
 
  fully packed 2a repository.  (Andrew Bennetts, #382463)
2302
 
 
2303
 
* Further tweaks to handling of ``bzr add`` messages about ignored files.
2304
 
  (Jason Spashett, #76616)
2305
 
 
2306
 
* Properly handle fetching into a stacked branch while converting the
2307
 
  data, especially when there are also ghosts. The code was filling in
2308
 
  parent inventories incorrectly, and also not handling when one of the
2309
 
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
2310
 
 
2311
 
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
2312
 
  inventory pages when appropriate (by falling back to the vfs stream
2313
 
  source).  (Andrew Bennetts, #406686)
2314
 
 
2315
 
* StreamSource generates rich roots from non-rich root sources correctly
2316
 
  now.  (Andrew Bennetts, #368921)
2317
 
 
2318
 
* When deciding whether a repository was compatible for upgrading or
2319
 
  fetching, we previously incorrectly checked the default repository
2320
 
  format for the bzrdir format, rather than the format that was actually
2321
 
  present on disk.  (Martin Pool, #408824)
2322
 
 
2323
 
Improvements
2324
 
************
2325
 
 
2326
 
* A better description of the platform is shown in crash tracebacks, ``bzr
2327
 
  --version`` and ``bzr selftest``.
2328
 
  (Martin Pool, #409137)
2329
 
 
2330
 
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
2331
 
  smart server are more efficient now.  They send inventory deltas rather
2332
 
  than full inventories.  The smart server has two new requests,
2333
 
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
2334
 
  support this.  (Andrew Bennetts, #374738, #385826)
2335
 
 
2336
 
* Extracting the full ancestry and computing the ``merge_sort`` is now
2337
 
  significantly faster. This effects things like ``bzr log -n0``. (For
2338
 
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
2339
 
  (John Arbash Meinel)
2340
 
 
2341
 
Documentation
2342
 
*************
2343
 
 
2344
 
API Changes
2345
 
***********
2346
 
 
2347
 
Internals
2348
 
*********
2349
 
 
2350
 
* ``-Dstrict_locks`` can now be used to check that read and write locks
2351
 
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
2352
 
  read lock on a file that we already have an OS write lock on.) This is
2353
 
  now set by default for all tests, if you have a test which cannot be
2354
 
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
2355
 
  compatibility knob. (John Arbash Meinel)
2356
 
 
2357
 
* InterDifferingSerializer is now only used locally.  Other fetches that
2358
 
  would have used InterDifferingSerializer now use the more network
2359
 
  friendly StreamSource, which now automatically does the same
2360
 
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
2361
 
 
2362
 
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
2363
 
  are implemented in pyrex and significantly faster. This is exposed along
2364
 
  with ``CombinedGraphIndex.find_ancestry()`` as
2365
 
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
2366
 
  (John Arbash Meinel)
2367
 
 
2368
 
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
2369
 
  protocols. (Robert Collins)
2370
 
 
2371
 
* The index code now has some specialized routines to extract the full
2372
 
  ancestry of a key in a more efficient manner.
2373
 
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
2374
 
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
2375
 
  Arbash Meinel)
2376
 
 
2377
 
Testing
2378
 
*******
2379
 
 
2380
 
* Install the test ssl certificate and key so that installed bzr
2381
 
  can run the https tests. (Denys Duchier, #392401)
2382
 
  
2383
 
 
2384
 
bzr 1.18rc1
2385
 
###########
2386
 
 
2387
 
:Codename: little traveller
2388
 
:1.18:    2009-08-20
2389
 
:1.18rc1: 2009-08-10
2390
 
 
2391
 
This release of Bazaar marches on towards the 2.0 release in which the 2a
2392
 
'brisbane-core' format becomes generally recommended.  Most of the work in
2393
 
this release now focusses on bug fixes and stabilization, covering both 2a
2394
 
and previous formats.  There is a new text-mode interactive merge feature,
2395
 
a new guide to migration to 2a format in the user documentation, and
2396
 
pushing branches to a smart server is now much faster.  
2397
 
 
2398
 
The Bazaar team decided that 2.0 will be a long-term supported release,
2399
 
with bugfix-only releases based on it continuing for at least six months
2400
 
or until the following stable release.
2401
 
 
2402
 
There are no changes from 1.18rc1 to 1.18.
2403
 
 
2404
 
New Features
2405
 
************
2406
 
 
2407
 
* ``bzr merge --interactive`` applies a user-selected portion of the
2408
 
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
2409
 
 
2410
 
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
2411
 
  ``--unstacked`` to change stacking of a branch.
2412
 
  (Martin Pool, #391411)
2413
 
 
2414
 
Bug Fixes
2415
 
*********
2416
 
 
2417
 
* Annotating on a stacked branch will now succeed in simple scenarios.
2418
 
  There are still some complex scenarios where it will fail (bug #399884)
2419
 
  (John Arbash Meinel, #393366)
2420
 
 
2421
 
* A progress bar is no longer left dangling when ``bzr selftest``
2422
 
  completes, and the progress bar updates with zero latency so the
2423
 
  displayed test name is always the one that's actually running.
2424
 
  (Martin Pool, #123688)
2425
 
 
2426
 
* Authenticating against an ssh server now uses ``auth_none`` to determine
2427
 
  if password authentication is even supported. This fixes a bug where
2428
 
  users would be prompted for a launchpad password, even though launchpad
2429
 
  only supports publickey authentication. (John Arbash Meinel, #375867)
2430
 
 
2431
 
* BranchBuilder now accepts timezone to avoid test failures in countries far
2432
 
  from GMT. (Vincent Ladeuil, #397716)
2433
 
 
2434
 
* ``bzr commit`` no longer saves the unversioning of missing files until
2435
 
  the commit has completed on the branch. This means that aborting a
2436
 
  commit that found a missing file will leave the tree unedited.
2437
 
  (Robert Collins, #282402)
2438
 
 
2439
 
* ``bzr mv`` no longer takes out branch locks, which allows it to work
2440
 
  when the branch is readonly. (Robert Collins, #216541)
2441
 
 
2442
 
* ``bzr revert .`` no longer generates an InconsistentDelta error when
2443
 
  there are missing subtrees. (Robert Collins, #367632)
2444
 
 
2445
 
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
2446
 
  do to internal changes necessary to support this, older clients will
2447
 
  fail when trying to insert them. For newer clients, the bundle can be
2448
 
  used to apply the changes to any rich-root compatible format.
2449
 
  (John Arbash Meinel, #393349)
2450
 
 
2451
 
* Cope with FTP servers that don't support restart/append by falling back
2452
 
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
2453
 
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
2454
 
 
2455
 
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
2456
 
  external diff client. This at least allows supporting filenames that are
2457
 
  not ascii, but are present in the current locale. Ideally we would be
2458
 
  able to pass the Unicode path, but that would be client dependent.
2459
 
  (John Arbash Meinel, #382709)
2460
 
 
2461
 
* Fix a compile bug on Solaris having to do with const and
2462
 
  pointer-to-pointers. (John Arbash Meinel, #408441)
2463
 
 
2464
 
* Fixed a NameError that occurs when merging or pulling from a URL that
2465
 
  causes a redirection loop when bzr tries to read a URL as a bundle.
2466
 
  (Andrew Bennetts, #400847)
2467
 
 
2468
 
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
2469
 
  running send and similar commands on 2a formats.
2470
 
  (Martin Pool, #408201)
2471
 
  
2472
 
* Fix crash in some invocations of ``bzr status`` in format 2a.
2473
 
  (Martin Pool, #403523)
2474
 
 
2475
 
* Fixed export to existing directory: if directory is empty then export 
2476
 
  will succeed, otherwise it fails with error.
2477
 
  (Alexander Belchenko, #406174)
2478
 
 
2479
 
* Fixed spurious "Source branch does not support stacking" warning when
2480
 
  pushing. (Andrew Bennetts, #388908)
2481
 
 
2482
 
* Fixed spurious transport activity indicator appearing while tests are
2483
 
  running.  (Martin Pool, #343532)
2484
 
 
2485
 
* Merge now correctly handles empty right-hand revision specs.
2486
 
  (Aaron Bentley, #333961)
2487
 
 
2488
 
* Renames to lexographically lower basenames in trees that have never been
2489
 
  committed to will no longer corrupt the dirstate. This was caused by an
2490
 
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
2491
 
 
2492
 
* Requests for unknown methods no longer cause the smart server to log
2493
 
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
2494
 
  ``do_end``.  (Andrew Bennetts, #338561)
2495
 
 
2496
 
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
2497
 
 
2498
 
* Streaming from bzr servers where there is a chain of stacked branches
2499
 
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
2500
 
 
2501
 
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
2502
 
  always forces progress bars either on or off respectively.  Otherwise,
2503
 
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
2504
 
  bzr always uses the 'text' user interface when run as a command, so
2505
 
  ``BZR_USE_TEXT_UI`` is no longer needed.
2506
 
  (Martin Pool, #339385, #387717)
2507
 
 
2508
 
* The optional ``_knit_load_data_pyx`` C extension was never being
2509
 
  imported.  This caused significant slowdowns when reading data from
2510
 
  repositories.  (Andrew Bennetts, #405653)
2511
 
  
2512
 
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
2513
 
  supported at the moment on workingtree formats that can do content
2514
 
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
2515
 
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
2516
 
 
2517
 
* There was a bug in ``osutils.relpath`` that was only triggered on
2518
 
  Windows. Essentially if you were at the root of a drive, and did
2519
 
  something to a branch/repo on another drive, we would go into an
2520
 
  infinite loop while trying to find a 'relative path'.
2521
 
  (John Arbash Meinel, #394227)
2522
 
 
2523
 
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
2524
 
  were present in a parent tree but renamed in the working tree.
2525
 
  (Robert Collins, #187207)
2526
 
 
2527
 
Improvements
2528
 
************
2529
 
 
2530
 
* Can now rename/move files even if they have been removed from the inventory.
2531
 
  (Marius Kruger)
2532
 
 
2533
 
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
2534
 
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
2535
 
  than VFS methods.  For example, pushes of small branches with tags take
2536
 
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
2537
 
 
2538
 
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
2539
 
  the same way that sending Ctrl-\\ does on other platforms.
2540
 
  (John Arbash Meinel)
2541
 
 
2542
 
Documentation
2543
 
*************
2544
 
 
2545
 
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
2546
 
 
2547
 
API Changes
2548
 
***********
2549
 
 
2550
 
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
2551
 
  need to subclass or create a specific class, or better yet the existing
2552
 
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
2553
 
  user interaction at all, rather than trying to read from stdin but not
2554
 
  writing any output, which would be strange if reading prompts or
2555
 
  passwords.  (Martin Pool)
2556
 
 
2557
 
* New TransformPreview.commit() allows committing without a working tree.
2558
 
  (Aaron Bentley)
2559
 
 
2560
 
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
2561
 
  (Martin Pool)
2562
 
 
2563
 
* ProgressTasks now prefer to talk direct to their ProgressView not to the
2564
 
  UIFactory. 
2565
 
  (Martin Pool)
2566
 
 
2567
 
* ``WorkingTree._check`` now requires a references dict with keys matching
2568
 
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
2569
 
 
2570
 
Internals
2571
 
*********
2572
 
 
2573
 
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
2574
 
  reading the entries along the path, reducing work to lookup ids from
2575
 
  paths. (Robert Collins)
2576
 
 
2577
 
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
2578
 
  as new a key which was already mapped. (Robert Collins)
2579
 
 
2580
 
* Inventory delta application catches more cases of corruption and can
2581
 
  prevent corrupt deltas from affecting consistency of data structures on
2582
 
  disk. (Robert Collins)
2583
 
 
2584
 
* --subunit support now adds timestamps if the subunit version supports
2585
 
  it. (Robert Collins)
2586
 
 
2587
 
* The Windows all-in-one installer now bundles the PyQt image format
2588
 
  plugins, which allows previewing more images as part of 'qdiff'.
2589
 
  (Alexander Belchenko)
2590
 
 
2591
 
 
2592
 
Testing
2593
 
*******
2594
 
 
2595
 
* Merge directive cherrypick tests must use the same root id.
2596
 
  (Martin Pool, #409684)
2597
 
 
2598
 
* Spurious failure in ``check`` tests on rich-root formats fixed.
2599
 
  (Martin Pool, #408199)
2600
 
 
2601
 
* The ``bzrlib.tests.TextTestRunner`` will no longer call
2602
 
  ``countTestsCases`` on the test being run. Progress information is
2603
 
  instead handled by having the test passed in call ``result.progress``
2604
 
  before running its contents. This improves the behaviour when using
2605
 
  ``TextTestRunner`` with test suites that don't support
2606
 
  ``countTestsCases``. (Robert Collins)
2607
 
 
2608
 
 
2609
 
bzr 1.17.1 (unreleased)
2610
 
#######################
2611
 
 
2612
 
Bug Fixes
2613
 
*********
2614
 
 
2615
 
* The optional ``_knit_load_data_pyx`` C extension was never being
2616
 
  imported.  This caused significant slowdowns when reading data from
2617
 
  knit format repositories.  (Andrew Bennetts, #405653)
2618
 
  
2619
 
 
2620
 
bzr 1.17
2621
 
########
2622
 
:Codename: so-late-its-brunch
2623
 
:1.17rc1: 2009-07-13
2624
 
:1.17: 2009-07-20
2625
 
 
2626
 
 
2627
 
Bazaar continues to blaze a straight and shining path to the 2.0 release and
2628
 
the elevation of the ``2a`` beta format to the full glory of "supported and
2629
 
stable".
2630
 
 
2631
 
Highlights in this release include greatly reduced memory consumption during
2632
 
commits, faster ``ls``, faster ``annotate``, faster network operations if
2633
 
you're specifying a revision number and the final destruction of those
2634
 
annoying progress bar artifacts.
2635
 
 
2636
 
 
2637
 
Changes from 1.17rc1 to 1.17final
2638
 
*********************************
2639
 
 
2640
 
* Change an extension to call the python ``frozenset()`` rather than the C
2641
 
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
2642
 
  C api. (John Arbash Meinel, #399366)
2643
 
 
2644
 
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
2645
 
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
2646
 
  (John Arbash Meinel, #399356)
2647
 
 
2648
 
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
2649
 
  directory before serving it. (Andrew Bennetts, #400535)
2650
 
 
2651
 
 
2652
 
Compatibility Breaks
2653
 
********************
2654
 
 
2655
 
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
2656
 
  instead of "product" which is the correct Launchpad terminology.  The
2657
 
  --product option is deprecated and users should switch to using --project.
2658
 
  (Neil Martinsen-Burrell, #238764)
2659
 
 
2660
 
 
2661
 
New Features
2662
 
************
2663
 
 
2664
 
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
2665
 
  are present in the working tree (if one is present) and no revision is
2666
 
  specified. The configuration option ``push_strict`` can be used to set the
2667
 
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
2668
 
 
2669
 
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
2670
 
  show revision info for the working tree instead of the branch.
2671
 
  (Matthew Fuller, John Arbash Meinel)
2672
 
 
2673
 
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
2674
 
  are present in the working tree and no revision is specified. The
2675
 
  configuration option ``send_strict`` can be used to set the default for this
2676
 
  behavior.
2677
 
  (Vincent Ladeuil, #206577)
2678
 
 
2679
 
* ``bzr switch --create-branch/-b`` can now be used to create and switch
2680
 
  to a new branch. Supplying a name without a ``/`` will create the branch
2681
 
  relative to the existing branch. (similar to how ``bzr switch name``
2682
 
  works when the branch already exists.) (John Arbash Meinel)
2683
 
 
2684
 
 
2685
 
Bug Fixes
2686
 
*********
2687
 
 
2688
 
* Accept uppercase "Y/N" to prompts such as from break lock. 
2689
 
  (#335182, Tim Powell, Martin Pool)
2690
 
 
2691
 
* Add documentation about diverged branches and how to fix them in the
2692
 
  centralized workflow with local commits.  Mention ``bzr help
2693
 
  diverged-branches`` when a push fails because the branches have
2694
 
  diverged.  (Neil Martinsen-Burrell, #269477)
2695
 
 
2696
 
* Annotate would sometimes 'latch on' to trivial lines, causing important
2697
 
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
2698
 
 
2699
 
* Automatic format upgrades triggered by default stacking policies on a
2700
 
  1.16rc1 (or later) smart server work again.
2701
 
  (Andrew Bennetts, #388675)
2702
 
 
2703
 
* Avoid progress bar artifacts being left behind on the screen.
2704
 
  (Martin Pool, #321935)
2705
 
 
2706
 
* Better message in ``bzr split`` error suggesting a rich root format.
2707
 
  (Neil Martinsen-Burrell, #220067)
2708
 
 
2709
 
* ``Branch.set_append_revisions_only`` now works with branches on a smart
2710
 
  server. (Andrew Bennetts, #365865)
2711
 
 
2712
 
* By default, ``bzr branch`` will fail if the target directory exists, but
2713
 
  does not already have a control directory.  The flag ``--use-existing-dir``
2714
 
  will allow operation to proceed.  (Alexander Belchenko, #307554)
2715
 
 
2716
 
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
2717
 
  (Ian Clatworthy)
2718
 
 
2719
 
* Fetch between repositories does not error if they have inconsistent data
2720
 
  that should be irrelevant to the fetch operation. (Aaron Bentley)
2721
 
 
2722
 
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
2723
 
  of a remote repository.
2724
 
  (Jelmer Vernooij, #332194)
2725
 
 
2726
 
* Fix bug in decoding v3 smart server messages when receiving multiple
2727
 
  lots of excess bytes after an end-of-message.
2728
 
  (Andrew Bennetts)
2729
 
 
2730
 
* Force deletion of readonly files during merge, update and other tree
2731
 
  transforms.
2732
 
  (Craig Hewetson, Martin Pool, #218206)
2733
 
 
2734
 
* Force socket shutdown in threaded http test servers to avoid client hangs
2735
 
  (pycurl).  (Vincent Ladeuil, #383920).
2736
 
 
2737
 
* ``LRUCache`` will maintain the linked list pointers even if a nodes
2738
 
  cleanup function raises an exception. (John Arbash Meinel, #396838)
2739
 
 
2740
 
* Progress bars are now suppressed again when the environment variable
2741
 
  ``BZR_PROGRESS_BAR`` is set to ``none``.
2742
 
  (Martin Pool, #339385)
2743
 
 
2744
 
* Reduced memory consumption during ``bzr commit`` of large files. For
2745
 
  pre 2a formats, should be down to ~3x the size of a file.
2746
 
  For ``--2a`` format repositories, it is down to the size of the file
2747
 
  content plus the size of the compressed text.  Related to bug #109114.
2748
 
  (John Arbash Meinel)
2749
 
 
2750
 
* Set hidden attribute on .bzr directory below unicode path should never
2751
 
  fail with error. The operation should succeed even if bzr unable to set 
2752
 
  the attribute.  (Alexander Belchenko, related to bug #335362).
2753
 
  
2754
 
* Stacking will no longer accept requests to stack on the same
2755
 
  branch/repository. Existing branches that incorrectly reference the same
2756
 
  repository in a stacking configuration will now raise
2757
 
  UnstackableLocationError when the branch is opened. This can be fixed by
2758
 
  removing the stacking location inside ``.bzr/branch``.
2759
 
  (Robert Collins, #376243)
2760
 
 
2761
 
* The ``log+`` decorator, useful in debugging or profiling, could cause
2762
 
  "AttributeError: 'list' object has no attribute 'next'".  This is now
2763
 
  fixed.  The log decorator no longer shows the elapsed time or transfer
2764
 
  rate because they're available in the log prefixes and the transport
2765
 
  activity display respectively.
2766
 
  (Martin Pool, #340347)
2767
 
 
2768
 
* Unshelve works correctly when multiple zero-length files are present on
2769
 
  the shelf. (Aaron Bentley, #363444)
2770
 
 
2771
 
* Progress bars no longer show the network transport scheme or direction.
2772
 
  (Martin Pool)
2773
 
 
2774
 
* launchpad-login now respects the 'verbose' option.
2775
 
  (Jonathan Lange, #217031)
2776
 
 
2777
 
 
2778
 
Internals
2779
 
*********
2780
 
 
2781
 
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
2782
 
  possible to write a deprecation wrapper, but the variable will be
2783
 
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
2784
 
  instead. (Alexander Belchenko)
2785
 
 
2786
 
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
2787
 
  three new hook points: ``get_command``, ``get_missing_command`` and
2788
 
  ``list_commands``, which allow just-in-time command name provision
2789
 
  rather than requiring all command names be known a-priori.
2790
 
  (Robert Collins)
2791
 
 
2792
 
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
2793
 
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
2794
 
 
2795
 
* ``graph.KnownGraph`` has been added. This is a class that can give
2796
 
  answers to ``heads()`` very quickly. However, it has the assumption that
2797
 
  the whole graph has already been loaded. This is true during
2798
 
  ``annotate`` so it is used there with good success (as much as 2x faster
2799
 
  for files with long ancestry and 'cherrypicked' changes.)
2800
 
  (John Arbash Meinel, Vincent Ladeuil)
2801
 
 
2802
 
* OS file locks are now taken out using ``CreateFile`` rather than
2803
 
  ``LockFileEx`` on Windows. The locking remains exclusive with
2804
 
  ``LockFileEx`` but now it also works on older versions of Windows (such
2805
 
  as Win98). (Martin <gzlist>)
2806
 
 
2807
 
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
2808
 
  than the ``Packer`` code. The user visible change is that we now
2809
 
  properly fetch the minimum number of texts for non-smart fetching.
2810
 
  (John Arbash Meinel)
2811
 
 
2812
 
 
2813
 
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
2814
 
  the repository as a single string, rather than a list of lines. This can
2815
 
  improve memory overhead and performance of committing large files.
2816
 
  (Currently a private api, used only by commit). (John Arbash Meinel)
2817
 
 
2818
 
 
2819
 
Improvements
2820
 
************
2821
 
 
2822
 
* ``bzr annotate`` can now be significantly faster. The time for
2823
 
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
2824
 
  histories and lots of 'duplicate insertions' will be improved more than
2825
 
  others. (John Arbash Meinel, Vincent Ladeuil)
2826
 
 
2827
 
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
2828
 
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
2829
 
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
2830
 
 
2831
 
* Improve "Path(s) are not versioned" error reporting for some commands.
2832
 
  (Benoît PIERRE)
2833
 
 
2834
 
* Initial commit performance in ``--2a`` repositories has been improved by
2835
 
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
2836
 
 
2837
 
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
2838
 
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
2839
 
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
2840
 
 
2841
 
* ``revision-info`` now properly aligns the revnos/revids in the output
2842
 
  and doesn't traceback when given revisions not in the current branch.
2843
 
  Performance is also significantly improved when requesting multiple revs
2844
 
  at once.  (Matthew Fuller, John Arbash Meinel)
2845
 
 
2846
 
* Tildes are no longer escaped by Transports. (Andy Kilner)
2847
 
 
2848
 
 
2849
 
Documentation
2850
 
*************
2851
 
 
2852
 
* Avoid bad text wrapping in generated documentation.  Slightly better
2853
 
  formatting in the user reference.
2854
 
  (Martin Pool, #249908)
2855
 
 
2856
 
* Minor clarifications to the help for End-Of-Line conversions.
2857
 
  (Ian Clatworthy)
2858
 
 
2859
 
API Changes
2860
 
***********
2861
 
 
2862
 
* Removed overspecific error class ``InvalidProgressBarType``.
2863
 
  (Martin Pool)
2864
 
 
2865
 
* The method ``ProgressView._show_transport_activity`` is now
2866
 
  ``show_transport_activity`` because it's part of the contract between
2867
 
  this class and the UI.  (Martin Pool)
2868
 
 
2869
 
 
2870
 
bzr 1.16.1
2871
 
##########
2872
 
 
2873
 
:Released: 2009-06-26
2874
 
 
2875
 
End user testing of the 2a format revealed two serious bugs. The first,
2876
 
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
2877
 
This meant that commits or pushes to 2a-format repositories failed
2878
 
intermittently.
2879
 
 
2880
 
The second bug, #390563, caused the smart server to raise AbsentContentFactory
2881
 
when streaming 2a stacked 2a-format branches. This particularly affected
2882
 
branches stored on Launchpad in the 2a format.
2883
 
 
2884
 
Both of these bugs cause command failures only, neither of them cause data
2885
 
corruption or data loss. And, of course, both of these bugs are now fixed.
2886
 
 
2887
 
Bug Fixes
2888
 
*********
2889
 
 
2890
 
* We now properly request a more minimal set of file texts when fetching
2891
 
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
2892
 
 
2893
 
* Repositories using CHK pages (which includes the new 2a format) will no
2894
 
  longer error during commit or push operations when an autopack operation
2895
 
  is triggered. (Robert Collins, #365615)
2896
 
 
2897
 
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
2898
 
  of referenced nodes rather than the *union* to determine what
2899
 
  uninteresting pages we still need to look at. Prior to this,
2900
 
  incrementally pushing to stacked branch would push the minimal data, but
2901
 
  fetching everything would request extra texts. There are some unhandled
2902
 
  cases wrt trees of different depths, but this fixes the common cases.
2903
 
  (Robert Collins, John Arbash Meinel, #390563)
2904
 
 
2905
 
* ``GroupCompress`` repositories now take advantage of the pack hints
2906
 
  parameter to permit cross-format fetching to incrementally pack the
2907
 
  converted data. (Robert Collins)
2908
 
 
2909
 
* ``Repository.commit_write_group`` now returns opaque data about what
2910
 
  was committed, for passing to the ``Repository.pack``. Repositories
2911
 
  without atomic commits will still return None. (Robert Collins)
2912
 
 
2913
 
* ``Repository.pack`` now takes an optional ``hint`` parameter
2914
 
  which will support doing partial packs for repositories that can do
2915
 
  that. (Robert Collins)
2916
 
 
2917
 
* RepositoryFormat has a new attribute 'pack_compresses' which is True
2918
 
  when doing a pack operation changes the compression of content in the
2919
 
  repository. (Robert Collins)
2920
 
 
2921
 
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
2922
 
  ``Repository.pack`` with the hint returned by
2923
 
  ``Repository.commit_write_group`` if the formats were different and the
2924
 
  repository can increase compression by doing a pack operation.
2925
 
  (Robert Collins, #376748)
2926
 
 
2927
 
 
2928
 
bzr 1.16
2929
 
########
2930
 
:Codename: yesterday-in-california
2931
 
:1.16rc1: 2009-06-11
2932
 
:1.16: 2009-06-18
2933
 
 
2934
 
This version of Bazaar contains the beta release of the new ``2a`` repository
2935
 
format, suitable for testing by fearless, advanced users. This format or an
2936
 
updated version of it will become the default format in Bazaar 2.0. Please
2937
 
read the NEWS entry before even thinking about upgrading to the new format.
2938
 
 
2939
 
Also included are speedups for many operations on huge projects, a bug fix for
2940
 
pushing stacked new stacked branches to smart servers and the usual bevy of
2941
 
bug fixes and improvements.
2942
 
 
2943
 
 
2944
 
Changes from 1.16rc1 to 1.16final
2945
 
*********************************
2946
 
 
2947
 
* Fix the nested tree flag check so that upgrade from development formats to
2948
 
  2a can work correctly.
2949
 
  (Jelmer Vernooij, #388727)
2950
 
 
2951
 
* Automatic format upgrades triggered by default stacking policies on a
2952
 
  1.16rc1 (or later) smart server work again.
2953
 
  (Andrew Bennetts, #388675)
2954
 
 
2955
 
 
2956
 
Compatibility Breaks
2957
 
********************
2958
 
 
2959
 
* Display prompt on stderr (instead of stdout) when querying users so
2960
 
  that the output of commands can be safely redirected.
2961
 
  (Vincent Ladeuil, #376582)
2962
 
 
2963
 
 
2964
 
New Features
2965
 
************
2966
 
 
2967
 
* A new repository format ``2a`` has been added.  This is a beta release
2968
 
  of the brisbane-core (aka group-compress) project.  This format now
2969
 
  suitable for wider testing by advanced users willing to deal with some
2970
 
  bugs.  We would appreciate test reports, either positive or negative.
2971
 
  Format 2a is substantially smaller and faster for many operations on
2972
 
  many trees.  This format or an updated version will become the default
2973
 
  in bzr 2.0.
2974
 
 
2975
 
  This is a rich-root format, so this repository format can be used with
2976
 
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
2977
 
  converted (including by merge, push and pull) to format 2a, but not vice
2978
 
  versa.  We recommend upgrading previous development formats to 2a.
2979
 
 
2980
 
  Upgrading to this format can take considerable time because it expands
2981
 
  and more concisely repacks the full history.
2982
 
 
2983
 
  If you use stacked branches, you must upgrade the stacked branches
2984
 
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
2985
 
 
2986
 
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
2987
 
  but using a Revision serializer using bencode rather than XML.
2988
 
  (Jelmer Vernooij, John Arbash Meinel)
2989
 
 
2990
 
* mail_client=claws now supports --body (and message body hooks).  Also uses
2991
 
  configured from address.  (Barry Warsaw)
2992
 
 
2993
 
Improvements
2994
 
************
2995
 
 
2996
 
 
2997
 
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
2998
 
  bugs with stacking and non default formats.)
2999
 
  (John Arbash Meinel, #373455)
3000
 
 
3001
 
* ``--development6-rich-root`` delays generating a delta index for the
3002
 
  first object inserted into a group. This has a beneficial impact on
3003
 
  ``bzr commit`` since each committed texts goes to its own group. For
3004
 
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
3005
 
  up commit from 7s => 4s. (John Arbash Meinel)
3006
 
 
3007
 
* Numerous operations are now faster for huge projects, i.e. those
3008
 
  with a large number of files and/or a large number of revisions,
3009
 
  particularly when the latest development format is used. These
3010
 
  operations (and improvements on OpenOffice.org) include:
3011
 
 
3012
 
  * branch in a shared repository (2X faster)
3013
 
  * branch --no-tree (100X faster)
3014
 
  * diff (2X faster)
3015
 
  * tags (70X faster)
3016
 
 
3017
 
  (Ian Clatworthy)
3018
 
 
3019
 
* Pyrex version of ``bencode`` support. This provides optimized support
3020
 
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
3021
 
  ``bzrlib.utils.bencode`` is now deprecated.
3022
 
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
3023
 
 
3024
 
 
3025
 
Bug Fixes
3026
 
*********
3027
 
 
3028
 
* Bazaar can now pass attachment files to the mutt email client.
3029
 
  (Edwin Grubbs, #384158)
3030
 
 
3031
 
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
3032
 
  see which files can also be added.  (Jason Spashett, #76616)
3033
 
 
3034
 
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
3035
 
  Also, the ``Branch.revision_history()`` API now works in the same
3036
 
  situation.  (Andrew Bennetts, #380314)
3037
 
  
3038
 
* ``bzr serve`` on Windows no longer displays a traceback simply because a
3039
 
  TCP client disconnected. (Andrew Bennetts)
3040
 
 
3041
 
* Clarify the rules for locking and fallback repositories. Fix bugs in how
3042
 
  ``RemoteRepository`` was handling fallbacks along with the
3043
 
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
3044
 
 
3045
 
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
3046
 
  branch. Not often triggered, because it required ghosts to be part of
3047
 
  the fetched revisions, not in the stacked-on ancestry.
3048
 
  (John Arbash Meinel)
3049
 
 
3050
 
* Fix status and commit to work with content filtered trees, addressing
3051
 
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
3052
 
 
3053
 
* Fix problem of "directory not empty" when contending for a lock over
3054
 
  sftp.  (Martin Pool, #340352)
3055
 
 
3056
 
* Fix rule handling so that eol is optional, not mandatory.
3057
 
  (Ian Clatworthy, #379370)
3058
 
 
3059
 
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
3060
 
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
3061
 
  1.16, but required changes to the network protocol, so the
3062
 
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
3063
 
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
3064
 
  still work with a 1.16 server as they will fallback to slower (and
3065
 
  bug-free) methods.
3066
 
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
3067
 
 
3068
 
* Reconcile can now deal with text revisions that originated in revisions 
3069
 
  that are ghosts. (Jelmer Vernooij, #336749)
3070
 
 
3071
 
* Support cloning of branches with ghosts in the left hand side history.
3072
 
  (Jelmer Vernooij, #248540)
3073
 
 
3074
 
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
3075
 
  helpful message to the trace file, unless the temp directory really was
3076
 
  removed (which would be very strange).  Since the diff operation has
3077
 
  succeeded from the user's perspective, no output is written to stderr 
3078
 
  or stdout.  (Maritza Mendez, #363837)
3079
 
 
3080
 
* Translate errors received from a smart server in response to a
3081
 
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
3082
 
  This was causing tracebacks even for mundane errors like
3083
 
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
3084
 
 
3085
 
Documentation
3086
 
*************
3087
 
 
3088
 
* Added directory structure and started translation of docs in Russian.
3089
 
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
3090
 
  Volodymyr Kotulskyi)
3091
 
 
3092
 
API Changes
3093
 
***********
3094
 
 
3095
 
* Added osutils.parent_directories(). (Ian Clatworthy)
3096
 
 
3097
 
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
3098
 
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
3099
 
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
3100
 
 
3101
 
* ``graph.StackedParentsProvider`` is now a public API, replacing
3102
 
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
3103
 
  for external users. (Gary van der Merwe)
3104
 
 
3105
 
* ``bzrlib.user_encoding`` is deprecated in favor of
3106
 
  ``get_user_encoding``.  (Alexander Belchenko)
3107
 
 
3108
 
* TreeTransformBase no longer assumes that limbo is provided via disk.
3109
 
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
3110
 
 
3111
 
Internals
3112
 
*********
3113
 
 
3114
 
* Remove ``weave.py`` script for accessing internals of old weave-format
3115
 
  repositories.  (Martin Pool)
3116
 
 
3117
 
Testing
3118
 
*******
3119
 
 
3120
 
* ``make check`` no longer repeats the test run in ``LANG=C``.
3121
 
  (Martin Pool, #386180)
3122
 
 
3123
 
* The number of cores is now correctly detected on OSX. (John Szakmeister)
3124
 
 
3125
 
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
3126
 
 
3127
 
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
3128
 
 
3129
 
 
3130
 
bzr 1.15
3131
 
########
3132
 
:1.15rc1: 2009-05-16
3133
 
:1.15: 2009-05-22
3134
 
:1.15.1: 2009-06-09
3135
 
 
3136
 
The smart server will no longer raise 'NoSuchRevision' when streaming content
3137
 
with a size mismatch in a reconstructed graph search. New command ``bzr
3138
 
dpush``. Plugins can now define their own annotation tie-breaker when two
3139
 
revisions introduce the exact same line.
3140
 
 
3141
 
Changes from 1.15.1 to 1.15.2
3142
 
*****************************
3143
 
 
3144
 
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
3145
 
  (Alexander Belchenko)
3146
 
 
3147
 
Changes from 1.15final to 1.15.1
3148
 
*********************************
3149
 
 
3150
 
* Translate errors received from a smart server in response to a
3151
 
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
3152
 
  This was causing tracebacks even for mundane errors like
3153
 
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
3154
 
 
3155
 
Changes from 1.15rc1 to 1.15final
3156
 
*********************************
3157
 
 
3158
 
* No changes
3159
 
 
3160
 
Compatibility Breaks
3161
 
********************
3162
 
 
3163
 
* ``bzr ls`` is no longer recursive by default. To recurse, use the
3164
 
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
3165
 
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
3166
 
  ``--no-recursive`` instead.  (Ian Clatworthy)
3167
 
 
3168
 
New Features
3169
 
************
3170
 
 
3171
 
* New command ``bzr dpush`` that can push changes to foreign 
3172
 
  branches (svn, git) without setting custom bzr-specific metadata.
3173
 
  (Jelmer Vernooij)
3174
 
 
3175
 
* The new development format ``--development6-rich-root`` now supports
3176
 
  stacking. We chose not to use a new format marker, since old clients
3177
 
  will just fail to open stacked branches, the same as if we used a new
3178
 
  format flag. (John Arbash Meinel, #373455)
3179
 
 
3180
 
* Plugins can now define their own annotation tie-breaker when two revisions
3181
 
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
3182
 
  Be aware though that this is temporary, private (as indicated by the leading
3183
 
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
3184
 
 
3185
 
* New command ``bzr dpush`` that can push changes to foreign 
3186
 
  branches (svn, git) without setting custom bzr-specific metadata.
3187
 
  (Jelmer Vernooij)
3188
 
 
3189
 
* ``bzr send`` will now check the ``child_submit_format`` setting in
3190
 
  the submit branch to determine what format to use, if none was 
3191
 
  specified on the command-line.  (Jelmer Vernooij)
3192
 
 
3193
 
Improvements
3194
 
************
3195
 
 
3196
 
* -Dhpss output now includes the number of VFS calls made to the remote
3197
 
  server. (Jonathan Lange)
3198
 
 
3199
 
* ``--coverage`` works for code running in threads too.
3200
 
  (Andrew Bennets, Vincent Ladeuil)
3201
 
 
3202
 
* ``bzr pull`` now has a ``--local`` option to only make changes to the
3203
 
  local branch, and not the bound master branch.
3204
 
  (Gary van der Merwe, #194716)
3205
 
 
3206
 
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
3207
 
 
3208
 
Bug Fixes
3209
 
*********
3210
 
 
3211
 
* Adding now works properly when path contains a symbolic link.
3212
 
  (Geoff Bache, #183831)
3213
 
 
3214
 
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
3215
 
 
3216
 
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
3217
 
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
3218
 
 
3219
 
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
3220
 
  (Martin von Gagern, #248932)
3221
 
 
3222
 
* ``bzr send`` works to send emails again using MAPI.
3223
 
  (Neil Martinsen-Burrell, #346998)
3224
 
 
3225
 
* Check for missing parent inventories in StreamSink.  This prevents
3226
 
  incomplete stacked branches being created by 1.13 bzr:// and
3227
 
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
3228
 
  causes those clients to send the missing records.  (Andrew Bennetts)
3229
 
 
3230
 
* Correctly handle http servers proposing multiple authentication schemes.
3231
 
  (Vincent Ladeuil, #366107)
3232
 
 
3233
 
* End-Of-Line content filters are now loaded correctly.
3234
 
  (Ian Clatworthy, Brian de Alwis, #355280)
3235
 
 
3236
 
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3237
 
  longer than 64KiB. (John Arbash Meinel, #364900)
3238
 
 
3239
 
* Fix TypeError in running ``bzr break-lock`` on some URLs.
3240
 
  (Alexander Belchenko, Martin Pool, #365891)
3241
 
 
3242
 
* Non-recursive ``bzr ls`` now works properly when a path is specified.
3243
 
  (Jelmer Vernooij, #357863)
3244
 
 
3245
 
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
3246
 
  (Vincent Ladeuil, #367726)
3247
 
 
3248
 
* Several bugs related to unicode symlinks have been fixed and the test suite
3249
 
  enhanced to better catch regressions for them. (Vincent Ladeuil)
3250
 
 
3251
 
* The smart server will no longer raise 'NoSuchRevision' when streaming
3252
 
  content with a size mismatch in a reconstructed graph search: it assumes
3253
 
  that the client will make sure it is happy with what it got, and this
3254
 
  sort of mismatch is normal for stacked environments.
3255
 
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
3256
 
  getting all the content expected would be a bug. However the graph
3257
 
  search is how we figured out what we wanted, so a mismatch is both odd
3258
 
  and unrecoverable without starting over, and starting over will end up
3259
 
  with the same data as if we just permitted the mismatch. If data is
3260
 
  gc'd, doing a new search will find only the truncated data, so sending
3261
 
  only the truncated data seems reasonable. bzr versions newer than this
3262
 
  will stream from stacked branches and check the stream to find missing
3263
 
  content in the stacked-on branch, and thus will handle the situation
3264
 
  implicitly.  (Robert Collins, #360791)
3265
 
 
3266
 
* Upgrading to, or fetching into a 'rich-root' format will now correctly
3267
 
  set the root data the same way that reconcile does.
3268
 
  (Robert Collins, #368921)
3269
 
 
3270
 
* Using unicode Windows API to obtain command-line arguments.
3271
 
  (Alexander Belchenko, #375934)
3272
 
 
3273
 
Documentation
3274
 
*************
3275
 
 
3276
 
API Changes
3277
 
***********
3278
 
 
3279
 
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
3280
 
  instead of ``InstallFailed`` when they detect a missing revision.
3281
 
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
3282
 
 
3283
 
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
3284
 
  arguments from ``osutils.get_unicode_argv()`` which has proper support
3285
 
  for unicode arguments on windows. Further, the supplied arguments are now 
3286
 
  required to be unicode strings, rather than user_encoded strings.
3287
 
  (Alexander Belchenko)
3288
 
 
3289
 
Internals
3290
 
*********
3291
 
 
3292
 
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
3293
 
  class and will call ``_set_parent_location`` after doing unicode 
3294
 
  encoding. (Robert Collins)
3295
 
 
3296
 
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
3297
 
  ``Branch.set_parent_location`` removing further VFS operations.
3298
 
  (Robert Collins)
3299
 
 
3300
 
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
3301
 
  or similar when the dir supports configuration settings. The base class
3302
 
  defaults to None. There is a matching new server verb
3303
 
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
3304
 
  configuration. (Robert Collins)
3305
 
 
3306
 
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
3307
 
  called before the first test is started, ``done`` called after the last
3308
 
  test completes, and a new parameter ``strict``. (Robert Collins)
3309
 
 
3310
 
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
3311
 
  VFS operations are started on a smart server repository. This should not
3312
 
  occur on regular push and pull operations, and is a key indicator for
3313
 
  performance regressions. (Robert Collins)
3314
 
 
3315
 
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
3316
 
  cause mismatched physical locks to cause test errors rather than just
3317
 
  reporting to the screen. (Robert Collins)
3318
 
 
3319
 
* -Dprogress will cause pdb to start up if a progress view jumps
3320
 
  backwards. (Robert Collins)
3321
 
 
3322
 
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
3323
 
  are now be able to provide credentials if obtaining credentials 
3324
 
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
3325
 
  Vincent Ladeuil, #321918)
3326
 
 
3327
 
* New hook ``Lock.lock_broken`` which runs when a lock is
3328
 
  broken. This is mainly for testing that lock/unlock are
3329
 
  balanced in tests. (Vincent Ladeuil)
3330
 
 
3331
 
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
3332
 
  alter a body for the message produced by ``bzr send``.
3333
 
 
3334
 
* New smart server verb ``BzrDir.initialize_ex`` which implements a
3335
 
  refactoring to the core of clone allowing less round trips on new
3336
 
  branches. (Robert Collins)
3337
 
 
3338
 
* New method ``Tags.rename_revisions`` that can rename revision ids tags
3339
 
  are pointing at. (Jelmer Vernooij)
3340
 
 
3341
 
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
3342
 
 
3343
 
Testing
3344
 
*******
3345
 
 
3346
 
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
3347
 
  tests. Using ``-Dlock`` will turn the related failures into warnings.
3348
 
  (Vincent Ladeuil, Robert Collins)
3349
 
 
3350
 
bzr 1.14
3351
 
########
3352
 
:Codename: brisbane-core
3353
 
:1.14rc1: 2009-04-06
3354
 
:1.14rc2: 2009-04-19
3355
 
:1.14: 2009-04-28
3356
 
:1.14.1: 2009-05-01
3357
 
 
3358
 
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
3359
 
keyword templating (via the bzr-keywords plugin) and generic content filtering.
3360
 
End-of-line conversion is now supported for formats supporting content
3361
 
filtering.
3362
 
 
3363
 
Changes from 1.14final to 1.14.1
3364
 
********************************
3365
 
 
3366
 
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
3367
 
 
3368
 
Changes from 1.14rc2 to 1.14final
3369
 
*********************************
3370
 
 
3371
 
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3372
 
  longer than 64KiB. (John Arbash Meinel, #364900)
3373
 
 
3374
 
Changes from 1.14rc1 to 1.14rc2
3375
 
*******************************
3376
 
 
3377
 
* Fix for bug 358037 Revision not in
3378
 
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
3379
 
  John A Meinel)
3380
 
 
3381
 
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3382
 
  attribute 'get_bytes_as' exception while pulling from Launchpad 
3383
 
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3384
 
 
3385
 
* Fix for bug 355280 eol content filters are never loaded and thus never
3386
 
  applied (Brian de Alwis, Ian Clatworthy)
3387
 
 
3388
 
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
3389
 
  write a better fix. (John Arbash Meinel, Robert Collins)
3390
 
 
3391
 
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
3392
 
  (Marius Kruger, Ian Clatworthy)
3393
 
 
3394
 
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
3395
 
  (Andrew Bennetts, Robert Collins)
3396
 
 
3397
 
Compatibility Breaks
3398
 
********************
3399
 
 
3400
 
* A previously disabled code path to accelerate getting configuration
3401
 
  settings from a smart server has been reinstated. We think this *may*
3402
 
  cause a incompatibility with servers older than bzr 0.15. We intend
3403
 
  to issue a point release to address this if it turns out to be a
3404
 
  problem. (Robert Collins, Andrew Bennetts)
3405
 
 
3406
 
* bzr no longer autodetects nested trees as 'tree-references'.  They
3407
 
  must now be explicitly added tree references.  At the commandline, use
3408
 
  join --reference instead of add.  (Aaron Bentley)
3409
 
 
3410
 
* The ``--long`` log format (the default) no longer shows merged
3411
 
  revisions implicitly, making it consistent with the ``short`` and
3412
 
  ``line`` log formats.  To see merged revisions for just a given
3413
 
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
3414
 
  use ``bzr log -n0``.  (Ian Clatworthy)
3415
 
 
3416
 
New Features
3417
 
************
3418
 
 
3419
 
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
3420
 
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
3421
 
  and generic content filtering. These formats replace the experimental
3422
 
  ``development-wt5`` and ``development-wt5-rich-root`` formats
3423
 
  respectively, but have support for filtered views disabled.
3424
 
  (Ian Clatworthy)
3425
 
 
3426
 
* New ``mv --auto`` option recognizes renames after they occur.
3427
 
  (Aaron Bentley)
3428
 
 
3429
 
* ``bzr`` can now get passwords from stdin without requiring a controlling
3430
 
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
3431
 
 
3432
 
* ``bzr log`` now supports filtering of multiple files and directories
3433
 
  and will show changes that touch any of them. Furthermore,
3434
 
  directory filtering now shows the changes to any children of that
3435
 
  directory, not just the directory object itself.
3436
 
  (Ian Clatworthy, #97715)
3437
 
 
3438
 
* ``bzr shelve`` can now apply changes without storing anything on the
3439
 
  shelf, via the new --destroy option.  (Aaron Bentley)
3440
 
 
3441
 
* ``bzr send`` now accepts --body to specify an initial message body.
3442
 
  (Aaron bentley)
3443
 
 
3444
 
* ``bzr xxx --usage`` where xxx is a command now shows a usage
3445
 
  message and the options without the descriptive help sections
3446
 
  (like Description and Examples). A message is also given
3447
 
  explaining how to see the complete help, i.e. ``bzr help xxx``.
3448
 
  (Ian Clatworthy)
3449
 
 
3450
 
* Content filters can now be used to provide custom conversion
3451
 
  between the canonical format of content (i.e. as stored) and
3452
 
  the convenience format of content (i.e. as created in working
3453
 
  trees). See ``bzr help content-filters`` for further details.
3454
 
  (Ian Clatworthy, Alexander Belchenko)
3455
 
 
3456
 
* End-of-line conversion is now supported for formats supporting
3457
 
  content filtering. See ``bzr help eol`` for details.
3458
 
  (Ian Clatworthy)
3459
 
 
3460
 
* Newly-blessed `join` command allows combining two trees into one.
3461
 
  (Aaron Bentley)
3462
 
 
3463
 
Improvements
3464
 
************
3465
 
 
3466
 
* A new format name alias ``default-rich-root`` has been added and
3467
 
  points at the closest relative of the default format that supports 
3468
 
  rich roots. (Jelmer Vernooij, #338061)
3469
 
 
3470
 
* Branching from a stacked branch using ``bzr*://`` will now stream
3471
 
  the data when the target repository does not need topological
3472
 
  ordering, reducing round trips and network overhead. This uses the
3473
 
  existing smart server methods added in 1.13, so will work on any
3474
 
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
3475
 
 
3476
 
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
3477
 
  that displays/saves the content after content filters are applied.
3478
 
  (Ian Clatworthy)
3479
 
 
3480
 
* ``bzr ignore`` gives a more informative message when existing
3481
 
  version controlled files match the ignore pattern. (Neil
3482
 
  Martinsen-Burrell, #248895)
3483
 
 
3484
 
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
3485
 
  (Ian Clatworthy)
3486
 
 
3487
 
* ``bzr send`` is faster on repositories with deep histories.
3488
 
  (Ian Clatworthy)
3489
 
 
3490
 
* IPv6 literals are accepted in URLs.
3491
 
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
3492
 
 
3493
 
* Progress bars now show the rate of network activity for
3494
 
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
3495
 
 
3496
 
* Prompt for user names if they are not in the configuration. 
3497
 
  (Jelmer Vernooij, #256612)
3498
 
 
3499
 
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
3500
 
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
3501
 
  #294479)
3502
 
  
3503
 
* Streaming push can be done to older repository formats.  This is
3504
 
  implemented using a new ``Repository.insert_stream_locked`` RPC.
3505
 
  (Andrew Bennetts, Robert Collins)
3506
 
 
3507
 
* The "ignoring files outside view: .." message has been re-worded
3508
 
  to "Ignoring files outside view. View is .." to reduce confusion
3509
 
  about what was being considered and what was being ignored.
3510
 
  (Ian Clatworthy)
3511
 
 
3512
 
* The ``long`` log formatter now shows [merge] indicators. If
3513
 
  only one level of revisions is displayed and merges are found,
3514
 
  the ``long`` and ``short`` log formatters now tell the user
3515
 
  how to see the hidden merged revisions.  (Ian Clatworthy)
3516
 
 
3517
 
* The ``brisbane-core`` project has delivered its beta format
3518
 
  ``development6-rich-root``. This format is suitable for judicious
3519
 
  testing by early adopters. In particular if you are benchmarking bzr
3520
 
  performance please be sure to test using this format. At this stage
3521
 
  more information is best obtained by contacting the Bazaar mailing list
3522
 
  or IRC channel if you are interested in using this format. We will make
3523
 
  end user documentation available closer to blessing the format as
3524
 
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
3525
 
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
3526
 
 
3527
 
* Tildes are no longer escaped. No more %7Euser/project/branch!
3528
 
  (Jonathan Lange)
3529
 
 
3530
 
Bug Fixes
3531
 
*********
3532
 
 
3533
 
* Pushing a new stacked branch will also push the parent inventories for
3534
 
  revisions at the stacking boundary.  This makes sure that the stacked
3535
 
  branch has enough data to calculate inventory deltas for all of its
3536
 
  revisions (without requiring the fallback branch).  This avoids
3537
 
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3538
 
  when fetching the stacked branch from a 1.13 (or later) smart server.
3539
 
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
3540
 
 
3541
 
* End-Of-Line content filters are now loaded correctly.
3542
 
  (Ian Clatworthy, Brian de Alwis, #355280)
3543
 
 
3544
 
* Authentication plugins now receive all the parameters from the request
3545
 
  itself (aka host, port, realm, path, etc). Previously, only the 
3546
 
  authentication section name, username and encoded password were 
3547
 
  provided. (Jean-Francois Roy)
3548
 
 
3549
 
* bzr gives a better message if an invalid regexp is passed to ``bzr log
3550
 
  -m``.  (Anne Mohsen, Martin Pool)
3551
 
 
3552
 
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
3553
 
 
3554
 
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
3555
 
  #313028)
3556
 
 
3557
 
* Fix "is not a stackable format" error when pushing a
3558
 
  stackable-format branch with an unstackable-format repository to a
3559
 
  destination with a default stacking policy.  (Andrew Bennetts)
3560
 
 
3561
 
* Fixed incorrect "Source format does not support stacking" warning
3562
 
  when pushing to a smart server.  (Andrew Bennetts, #334114)
3563
 
 
3564
 
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
3565
 
  needed. (Vincent Ladeuil, #355454)
3566
 
 
3567
 
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
3568
 
  on ``bzr add x/y/z`` in formats supporting views when no view is
3569
 
  defined.  (Ian Clatworthy, #344708)
3570
 
 
3571
 
* It is no longer possible to fetch between repositories while the
3572
 
  target repository is in a write group. This prevents race conditions
3573
 
  that prevent the use of RPC's to perform fetch, and thus allows
3574
 
  optimising more operations. (Robert Collins, Andrew Bennetts)
3575
 
 
3576
 
* ``merge --force`` works again. (Robert Collins, #342105)
3577
 
 
3578
 
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
3579
 
  (Vincent Ladeuil, #346593)
3580
 
 
3581
 
* Pushing a new branch to a server that has a stacking policy will now
3582
 
  upgrade from the local branch format when the stacking policy points at
3583
 
  a branch which is itself stackable, because we know the client can read
3584
 
  both branches, we know that the trunk for the project can be read too,
3585
 
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
3586
 
 
3587
 
* Pushing a new stacked branch will also push the parent inventories for
3588
 
  revisions at the stacking boundary.  This makes sure that the stacked
3589
 
  branch has enough data to calculate inventory deltas for all of its
3590
 
  revisions (without requiring the fallback branch).  This avoids
3591
 
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3592
 
  when fetching the stacked branch from a 1.13 (or later) smart server.
3593
 
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
3594
 
 
3595
 
* The full test suite is passing again on OSX. Several minor issues (mostly
3596
 
  test related) have been fixed. (Vincent Ladeuil, #355273).
3597
 
 
3598
 
* The GNU Changelog formatter is slightly improved in the case where
3599
 
  the delta is empty, and now correctly claims not to support tags.
3600
 
  (Andrea Bolognani)
3601
 
 
3602
 
* Shelve can now shelve changes to a symlink target.
3603
 
  (James Westby, #341558)
3604
 
 
3605
 
* The help for the ``info`` command has been corrected.
3606
 
  (Ian Clatworthy, #351931)
3607
 
 
3608
 
* Upgrade will now use a sensible default format if the source repository
3609
 
  uses rich roots.  (Jelmer Vernooij, #252908)
3610
 
 
3611
 
Documentation
3612
 
*************
3613
 
 
3614
 
* Expanded the index of the developer documentation. (Eric Siegerman)
3615
 
 
3616
 
* New topic `bzr help debug-flags`.  (Martin Pool)
3617
 
 
3618
 
* The generated manpage now explicitly lists aliases as commands.
3619
 
  (James Westby, #336998)
3620
 
 
3621
 
API Changes
3622
 
***********
3623
 
 
3624
 
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
3625
 
  (Martin Pool)
3626
 
 
3627
 
* ``CommitReporter`` is no longer called with ``unchanged`` status during
3628
 
  commit - this was a full-tree overhead that bzr no longer performs.
3629
 
  (Robert Collins)
3630
 
 
3631
 
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
3632
 
  obtain the username to use when connecting to remote machines. 
3633
 
  (Jelmer Vernooij)
3634
 
 
3635
 
* New API ``Inventory.filter()`` added that filters an inventory by
3636
 
  a set of file-ids so that only those fileids, their parents and
3637
 
  their children are included.  (Ian Clatworthy)
3638
 
 
3639
 
* New sort order for ``get_record_stream`` ``groupcompress`` which
3640
 
  sorts optimally for use with groupcompress compressors. (John Arbash
3641
 
  Meinel, Robert Collins)
3642
 
 
3643
 
* Repository APIs ``get_deltas_for_revisions()`` and
3644
 
  ``get_revision_delta()`` now support an optional ``specific_fileids``
3645
 
  parameter. If provided, the deltas are filtered so that only those
3646
 
  file-ids, their parents and their children are included.
3647
 
  (Ian Clatworthy)
3648
 
 
3649
 
* The ``get_credentials`` and ``set_credentials`` methods of 
3650
 
  ``AuthenticationConfig`` now accept an optional realm argument.
3651
 
  (Jean-Francois Roy)
3652
 
 
3653
 
* The ``pb`` argument to ``fetch()`` is deprecated.
3654
 
  (Martin Pool)
3655
 
 
3656
 
* The ``Serializer`` class and the serializer ``format registry`` have moved
3657
 
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
3658
 
 
3659
 
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
3660
 
  that is not inside the backing transport from being opened.  See the
3661
 
  module documentation for ``bzrlib.smart.request`` for details.
3662
 
  (Andrew Bennetts, Robert Collins)
3663
 
 
3664
 
* ``Tree.get_symlink_target`` now always returns a unicode string result
3665
 
  or None. Previously it would return the bytes from reading the link
3666
 
  which could be in any arbitrary encoding. (Robert Collins)
3667
 
 
3668
 
Testing
3669
 
*******
3670
 
 
3671
 
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
3672
 
  and ``tearDown`` weren't called.  This catches faulty tests that
3673
 
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
3674
 
  faulty tests were not properly isolated.
3675
 
  (Andrew Bennetts, Robert Collins)
3676
 
 
3677
 
* Fix test_msgeditor.MsgEditorTest test isolation.
3678
 
  (Vincent Ladeuil, #347130)
3679
 
 
3680
 
* ``medusa`` is not used anymore as an FTP test server starting with
3681
 
  python2.6. A new FTP test server based on ``pyftplib`` can be used
3682
 
  instead. This new server is a soft dependency as medusa which is still
3683
 
  preferred if both are available (modulo python version).
3684
 
  (Vincent Ladeuil)
3685
 
 
3686
 
Internals
3687
 
*********
3688
 
 
3689
 
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
3690
 
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3691
 
 
3692
 
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
3693
 
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3694
 
 
3695
 
* Added ``bzrlib.inventory_delta`` module.  This will be used for
3696
 
  serializing and deserializing inventory deltas for more efficient
3697
 
  streaming on the network.  (Robert Collins, Andrew Bennetts)
3698
 
 
3699
 
* ``Branch._get_config`` has been added, which splits out access to the
3700
 
  specific config file from the branch. This is used to let RemoteBranch
3701
 
  avoid constructing real branch objects to access configuration settings.
3702
 
  (Robert Collins, Andrew Bennetts)
3703
 
 
3704
 
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
3705
 
  the implementation is generic and should impact foreign formats. This
3706
 
  helps performance for ``RemoteBranch`` push operations to new stacked
3707
 
  branches. (Robert Collins, Andrew Bennetts)
3708
 
 
3709
 
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
3710
 
  optmizations turned off. This only has effect when processing > 100,000
3711
 
  keys during something like ``bzr pack``. (John Arbash Meinel)
3712
 
 
3713
 
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
3714
 
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
3715
 
  dependency. (Robert Collins)
3716
 
 
3717
 
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
3718
 
  parameter for controlling opening of stacked branches.
3719
 
  (Andrew Bennetts, Robert Collins)
3720
 
  
3721
 
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
3722
 
  in terms of an iter_changes iterator rather than full tree scanning.
3723
 
  (Robert Collins)
3724
 
 
3725
 
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
3726
 
  enabling it to store the SHA1 and stat of the canonical (post
3727
 
  content filtered) form. (Ian Clatworthy)
3728
 
 
3729
 
* New ``assertLength`` method based on one Martin has squirreled away
3730
 
  somewhere. (Robert Collins, Martin Pool)
3731
 
 
3732
 
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
3733
 
  objects, allowing better enforcement of the smart server jail when
3734
 
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
3735
 
 
3736
 
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
3737
 
  to be added to the stanza that is printed for a particular revision.
3738
 
  (Jelmer Vernooij)
3739
 
 
3740
 
* New repository method ``refresh_data`` to cause any repository to
3741
 
  make visible data inserted into the repository by a smart server
3742
 
  fetch operation. (Robert Collins, Andrew Bennetts)
3743
 
 
3744
 
* ``register_filter_stack_map`` now takes an optional fallback parameter,
3745
 
  a callable to invoke if a preference has a value not in the map
3746
 
  of filter stacks. This enhancement allows, for example,  bzr-svn to
3747
 
  handle existing svn properties that define a list of keywords to be
3748
 
  expanded.  (Ian Clatworthy)
3749
 
 
3750
 
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
3751
 
  to write config settings to smart servers that support this, saving
3752
 
  5 round trips on the stacked streaming acceptance test.
3753
 
  (Robert Collins, Andrew Bennetts)
3754
 
 
3755
 
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
3756
 
  branch specific configuration from a remote server, which uses the 
3757
 
  already existing ``Branch.get_config_file`` smart verb.
3758
 
  (Robert Collins, Andrew Bennetts)
3759
 
 
3760
 
* ``RemoteRepository`` will now negatively cache missing revisions during
3761
 
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
3762
 
  (Robert Collins, Andrew Bennetts)
3763
 
 
3764
 
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
3765
 
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
3766
 
  (Andrew Bennetts)
3767
 
 
3768
 
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
3769
 
  whether the repository can efficiently generate deltas between trees
3770
 
  regardless of tree size. (Robert Collins)
3771
 
 
3772
 
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
3773
 
  byte strings" (aka 'chunked') for the content. It previously was
3774
 
  returning a plain string, which worked, but performed very poorly when
3775
 
  building a working tree (file.writelines(str) is very inefficient). This
3776
 
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3777
 
 
3778
 
* selftest now supports a --parallel option, with values of 'fork' or
3779
 
  'subprocess' to run the test suite in parallel. Currently only linux
3780
 
  machine work, other platforms need patches submitted. (Robert Collins,
3781
 
  Vincent Ladeuil)
3782
 
 
3783
 
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
3784
 
  callables to use to decorate the test suite. Such decorators can add or
3785
 
  remove tests, or even remote the test suite to another machine if
3786
 
  desired. (Robert Collins)
3787
 
 
3788
 
* The smart server verb ``Repository.get_parent_map`` can now include
3789
 
  information about ghosts when the special revision ``include-missing:``
3790
 
  is in the requested parents map list. With this flag, ghosts are
3791
 
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
3792
 
 
3793
 
* ``_walk_to_common_revisions`` will now batch up at least 50
3794
 
  revisions before calling ``get_parent_map`` on the target,
3795
 
  regardless of ``InterRepository``.
3796
 
  (Andrew Bennetts, Robert Collins)
3797
 
 
3798
 
bzr 1.13
3799
 
########
3800
 
 
3801
 
:Codename: paraskavedekatriaphobia
3802
 
:1.13: 2009-03-14
3803
 
:1.13rc1: 2009-03-10
3804
 
:1.13.1: 2009-03-23
3805
 
:1.13.2: 2009-04-27
3806
 
 
3807
 
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
3808
 
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
3809
 
stacked branches should both be much faster over remote connections.  
3810
 
 
3811
 
Changes From 1.13.1 to 1.13.2
3812
 
*****************************
3813
 
 
3814
 
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
3815
 
a stacked branch they do not take care to push all the parent inventories for
3816
 
the transferred revisions. This means that a smart server serving that branch
3817
 
often cannot calculate inventory deltas for the branch (because smart server
3818
 
does not/cannot open fallback repositories). Prior to 1.13 the server did not
3819
 
have a verb to stream revisions out of a repository, so that's why this bug has
3820
 
appeared now.
3821
 
 
3822
 
Bug Fixes
3823
 
*********
3824
 
 
3825
 
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3826
 
  attribute 'get_bytes_as' exception while pulling from Launchpad 
3827
 
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3828
 
 
3829
 
Changes From 1.13final to 1.13.1
3830
 
********************************
3831
 
 
3832
 
A couple regessions where found in the 1.13 release. The pyrex-generated C
3833
 
extensions are missing from the .tar.gz and .zip files.  Documentation on how
3834
 
to generate GNU ChangeLogs is wrong.
3835
 
 
3836
 
Bug Fixes
3837
 
*********
3838
 
 
3839
 
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
3840
 
  version_info. (Bob Tanner, Martin Pool, #345232)
3841
 
 
3842
 
* Distribution archives for 1.13 do not contain generated C extension modules
3843
 
  (Jean-Francois Roy, Bob Tanner, #344465)
3844
 
 
3845
 
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
3846
 
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
3847
 
 
3848
 
* ``merge --force`` works again. (Robert Collins, #342105)
3849
 
 
3850
 
Changes From 1.13rc1 to 1.13final
3851
 
*********************************
3852
 
 
3853
 
* Fix "is not a stackable format" error when pushing a
3854
 
  stackable-format branch with an unstackable-format repository to a
3855
 
  destination with a default stacking policy.  (Andrew Bennetts)
3856
 
 
3857
 
* Progress bars now show the rate of network activity for
3858
 
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
3859
 
 
3860
 
Compatibility Breaks
3861
 
********************
3862
 
 
3863
 
* ``bzr log --line`` now indicates which revisions are merges with
3864
 
  `[merge]` after the date.  Scripts which parse the output of this
3865
 
  command may need to be adjusted.
3866
 
  (Neil Martinsen-Burrell)
3867
 
 
3868
 
New Features
3869
 
************
3870
 
 
3871
 
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
3872
 
  options to change the default tree-creation policy of shared
3873
 
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
3874
 
 
3875
 
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
3876
 
  (Martin Pool)
3877
 
 
3878
 
* Filtered views provide a mask over the tree so that users can focus
3879
 
  on a subset of a tree when doing their work. See ``Filtered views``
3880
 
  in chapter 7 of the User Guide and ``bzr help view`` for details.
3881
 
  (Ian Clatworthy)
3882
 
 
3883
 
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
3884
 
  (Andrea Bolognani, Martin Pool)
3885
 
 
3886
 
* The ``-Dmemory`` flag now gives memory information on Windows.
3887
 
  (John Arbash Meinel)
3888
 
 
3889
 
* Multiple authors for a commit can now be recorded by using the "--author"
3890
 
  option multiple times. (James Westby, #185772)
3891
 
 
3892
 
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
3893
 
 
3894
 
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
3895
 
  branch in your web browser, as long as the branch is on Launchpad at all.
3896
 
  (Jonathan Lange)
3897
 
 
3898
 
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
3899
 
  (Jonathan Lange)
3900
 
 
3901
 
Improvements
3902
 
************
3903
 
 
3904
 
* All bzr ``Hooks`` classes are now registered in
3905
 
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
3906
 
  ``bzrlib.tests`` and ensures that all hooks registered there are
3907
 
  correctly isolated by the test suite (previously
3908
 
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
3909
 
  documentation for hooks is now dynamically generated from the
3910
 
  present HookPoints. ``bzr hooks`` will now also report on all the
3911
 
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
3912
 
  (Robert Collins)
3913
 
 
3914
 
* ``bzr add`` no longer prints ``add completed`` on success. Failure
3915
 
  still prints an error message. (Robert Collins)
3916
 
 
3917
 
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
3918
 
  generation of a working tree in the new branch.
3919
 
  (Daniel Watkins, John Klinger, #273993)
3920
 
 
3921
 
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
3922
 
  use ssh://. (Jelmer Vernooij, #330535)
3923
 
 
3924
 
* ``bzr -v info`` now omits the number of committers branch statistic,
3925
 
  making it many times faster for large projects. To include that
3926
 
  statistic in the output, use ``bzr -vv info``.
3927
 
  (Ian Clatworthy)
3928
 
 
3929
 
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
3930
 
  stream if the server is version 1.13 or greater, reducing roundtrips
3931
 
  significantly. (Andrew Bennetts, Robert Collins)
3932
 
 
3933
 
* Lightweight Checkouts and Stacked Branches should both be much
3934
 
  faster over remote connections. Building the working tree now
3935
 
  batches up requests into approx 5MB requests, rather than a separate
3936
 
  request for each file. (John Arbash Meinel)
3937
 
 
3938
 
* Support for GSSAPI authentication when using HTTP or HTTPS. 
3939
 
  (Jelmer Vernooij)
3940
 
 
3941
 
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
3942
 
  short options better. (Daniel Watkins, #327429)
3943
 
 
3944
 
* ``bzr lp-open`` now falls back to the push location if it cannot find a
3945
 
  public location. (Jonathan Lange, #332372)
3946
 
 
3947
 
* ``bzr lp-open`` will try to find the Launchpad URL for the location
3948
 
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
3949
 
  expected. (Jonathan Lange, #332705)
3950
 
 
3951
 
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
3952
 
 
3953
 
Bug Fixes
3954
 
*********
3955
 
 
3956
 
* Allows ``bzr log <FILE>`` to be called in an empty branch without
3957
 
  backtracing. (Vincent Ladeuil, #346431)
3958
 
 
3959
 
* Bazaar now gives a better message including the filename if it's
3960
 
  unable to read a file in the working directory, for example because
3961
 
  of a permission error.  (Martin Pool, #338653)
3962
 
 
3963
 
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
3964
 
  file id in the working tree different from the one in revision <old>.
3965
 
  (Vincent Ladeuil, #341517, #253806)
3966
 
 
3967
 
* ``bzr send`` help is more specific about how to apply merge
3968
 
  directives.  (Neil Martinsen-Burrell, #253470)
3969
 
 
3970
 
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
3971
 
  than fetching trees and determining a delta itself. (Jelmer
3972
 
  Vernooij, #315048)
3973
 
 
3974
 
* ``bzr push`` to a smart server no longer causes "Revision
3975
 
  {set([('null:',)])} not present ..." errors when the branch has
3976
 
  multiple root revisions. (Andrew Bennetts, #317654)
3977
 
 
3978
 
* ``bzr shelve`` now properly handle patches with no terminating newline.
3979
 
  (Benoît PIERRE, #303569)
3980
 
 
3981
 
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
3982
 
  shelf id. (Daniel Watkins)
3983
 
 
3984
 
* Export now handles files that are not present in the tree.
3985
 
  (James Westby, #174539)
3986
 
 
3987
 
* Fixed incorrect "Source format does not support stacking" warning
3988
 
  when pushing to a smart server.  (Andrew Bennetts, #334114)
3989
 
  
3990
 
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
3991
 
  error branching from old repositories.
3992
 
  (Martin Pool, #321695)
3993
 
 
3994
 
* Make ``bzr push --quiet <non-local location>`` less chatty.
3995
 
  (Kent Gibson, #221461)
3996
 
 
3997
 
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
3998
 
  branches, and this was not noticed due to a bug in the test logic
3999
 
  for branches. This is now fixed and a test added to prevent it
4000
 
  reoccuring. (Robert Collins, Andrew Bennetts)
4001
 
 
4002
 
* Restore the progress bar on Windows. We were disabling it when TERM
4003
 
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
4004
 
  #334808)
4005
 
 
4006
 
* ``setup.py build_ext`` now gives a proper error when an extension
4007
 
  fails to build. (John Arbash Meinel)
4008
 
 
4009
 
* Symlinks to non ascii file names are now supported.
4010
 
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
4011
 
 
4012
 
* Under rare circumstances (aka nobody reported a bug about it), the ftp
4013
 
  transport could revert to ascii mode. It now stays in binary mode except
4014
 
  when needed.  (Vincent Ladeuil)
4015
 
 
4016
 
* Unshelve does not generate warnings about progress bars.
4017
 
  (Aaron Bentley, #328148)
4018
 
 
4019
 
* shelve cleans up properly when unversioned files are specified.
4020
 
  (Benoît Pierre, Aaron Bentley)
4021
 
 
4022
 
Documentation
4023
 
*************
4024
 
 
4025
 
* Added ``Organizing your workspace`` to the User Guide appendices,
4026
 
  summarizing some common ways of organizing trees, branches and
4027
 
  repositories and the processes/workflows implied/enabled by each.
4028
 
  (Ian Clatworthy)
4029
 
 
4030
 
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
4031
 
  is the entry point for this feature. (Robert Collins)
4032
 
 
4033
 
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
4034
 
  (Daniel Watkins, #327421, #327425)
4035
 
 
4036
 
API Changes
4037
 
***********
4038
 
 
4039
 
* ``bzr selftest`` now fails if the bazaar sources contain trailing
4040
 
  whitespace, non-unix style line endings and files not ending in a
4041
 
  newline. About 372 files and 3243 lines with trailing whitespace was
4042
 
  updated to comply with this. The code already complied with the other
4043
 
  criteria, but now it is enforced. (Marius Kruger)
4044
 
 
4045
 
* ``bzrlib.branch.PushResult`` was renamed to 
4046
 
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
4047
 
 
4048
 
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
4049
 
  than a count of copied revisions and failed revisions. A while back
4050
 
  we stopped ever reporting failed revisions because we started
4051
 
  erroring instead, and the copied revisions count is not used in the
4052
 
  UI at all - indeed it only reflects the repository status not
4053
 
  changes to the branch itself. (Robert Collins)
4054
 
 
4055
 
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
4056
 
  appears multiple times within the delta. (Ian Clatworthy)
4057
 
 
4058
 
* MutableTree.commit now favours the "authors" argument, with the old
4059
 
  "author" argument being deprecated.
4060
 
 
4061
 
* Remove deprecated EmptyTree.  (Martin Pool)
4062
 
 
4063
 
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
4064
 
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
4065
 
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
4066
 
  which revisions to fetch. (Andrew Bennetts)
4067
 
 
4068
 
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
4069
 
  tuple of ``(repository, is_new_flag)``, rather than just the
4070
 
  repository.  (Andrew Bennetts)
4071
 
 
4072
 
* Revision.get_apparent_author() is now deprecated, replaced by
4073
 
  Revision.get_apparent_authors(), which returns a list. The former
4074
 
  now returns the first item that would be returned from the second.
4075
 
 
4076
 
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
4077
 
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
4078
 
 
4079
 
* The ``_fetch_*`` attributes on ``Repository`` are now on
4080
 
  ``RepositoryFormat``, more accurately reflecting their intent (they
4081
 
  describe a disk format capability, not state of a particular
4082
 
  repository of that format). (Robert Collins)
4083
 
 
4084
 
Internals
4085
 
*********
4086
 
 
4087
 
* Branching from a non-stacked branch on a smart protocol is now
4088
 
  free of virtual file system methods.
4089
 
  (Robert Collins, Andrew Bennetts)
4090
 
 
4091
 
* Branch and Repository creation on a bzr+ssh://server are now done
4092
 
  via RPC calls rather than VFS calls, reducing round trips for
4093
 
  pushing new branches substantially. (Robert Collins)
4094
 
 
4095
 
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
4096
 
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
4097
 
  configured before the branch tags and revision tip are set. This
4098
 
  fixes a race condition cloning stacked branches that would cause
4099
 
  plugins to have hooks called on non-stacked instances.
4100
 
  (Robert Collins, #334187)
4101
 
 
4102
 
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
4103
 
 
4104
 
* ``BzrDirFormat.__str__`` now uses the human readable description
4105
 
  rather than the sometimes-absent disk label. (Robert Collins)
4106
 
 
4107
 
* ``bzrlib.fetch`` is now composed of a sender and a sink component
4108
 
  allowing for decoupling over a network connection. Fetching from
4109
 
  or into a RemoteRepository with a 1.13 server will use this to
4110
 
  stream the operation.
4111
 
  (Andrew Bennetts, Robert Collins)
4112
 
 
4113
 
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
4114
 
  supporting the use of different runners. (Robert Collins)
4115
 
 
4116
 
* Change how file_ids and revision_ids are interned as part of
4117
 
  inventory deserialization. Now we use the real ``intern()``, rather
4118
 
  than our own workaround that would also cache a Unicode copy of the
4119
 
  string, and never emptied the cache. This should slightly reduce
4120
 
  memory consumption. (John Arbash Meinel)
4121
 
 
4122
 
* New branch method ``create_clone_on_transport`` that returns a
4123
 
  branch object. (Robert Collins)
4124
 
 
4125
 
* New hook Commands['extend_command'] to allow plugins to access a
4126
 
  command object before the command is run (or help generated from
4127
 
  it), without overriding the command. (Robert Collins)
4128
 
 
4129
 
* New version of the ``BzrDir.find_repository`` verb supporting
4130
 
  ``_network_name`` to support removing more _ensure_real calls.
4131
 
  (Robert Collins)
4132
 
 
4133
 
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
4134
 
  (Robert Collins)
4135
 
 
4136
 
* ``Repository`` objects now have ``suspend_write_group`` and
4137
 
  ``resume_write_group`` methods.  These are currently only useful
4138
 
  with pack repositories. (Andrew Bennetts, Robert Collins)
4139
 
 
4140
 
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
4141
 
  now have a ``network_name`` for passing the format across RPC calls.
4142
 
  (Robert Collins, Andrew Bennetts)
4143
 
 
4144
 
* ``RepositoryFormat`` objects now all have a new attribute
4145
 
  ``_serializer`` used by fetch when reserialising is required.
4146
 
  (Robert Collins, Andrew Bennetts)
4147
 
 
4148
 
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
4149
 
  to aid branch types that are not bzr branch objects (like
4150
 
  RemoteBranch). (Robert Collins, Andrew Bennetts)
4151
 
 
4152
 
* Test adaptation has been made consistent throughout the built in
4153
 
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
4154
 
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
4155
 
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
4156
 
  and ``apply_scenario``. (Robert Collins)
4157
 
 
4158
 
* ``TestSkipped`` is now detected by TestCase and passed to the
4159
 
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
4160
 
  where ``addSkip`` is not available, ``addError`` is still called.
4161
 
  This permits test filtering in subunit to strip out skipped tests
4162
 
  resulting in a faster fix-shrink-list-run cycle. This is compatible
4163
 
  with the testtools protocol for skips. (Robert Collins)
4164
 
 
4165
 
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
4166
 
  to scan an underlying index that is going to be incorporated into
4167
 
  the ``KnitVersionedFiles`` object, to determine if it has missing
4168
 
  delta references. The method is ``scan_unvalidated_index``.
4169
 
  (Andrew Bennetts, Robert Collins)
4170
 
 
4171
 
* There is a RemoteSink object which handles pushing to smart servers.
4172
 
  (Andrew Bennetts, Robert Collins)
4173
 
 
4174
 
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
4175
 
  ``rmdir`` calls. (Robert Collins)
4176
 
 
4177
 
* ``VersionedFiles`` record adapters have had their signature change
4178
 
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
4179
 
  ``(record)`` reducing excess duplication and allowing adapters
4180
 
  to access private data in record to obtain content more
4181
 
  efficiently. (Robert Collins)
4182
 
 
4183
 
* We no longer probe to see if we should create a working tree during
4184
 
  clone if we cannot get a local_abspath for the new bzrdir.
4185
 
  (Robert Collins)
4186
 
 
4187
 
 
4188
 
bzr 1.12
4189
 
########
4190
 
 
4191
 
:Codename: 1234567890
4192
 
:1.12: 2009-02-13
4193
 
:1.12rc1: 2009-02-10
4194
 
 
4195
 
This release of Bazaar contains many improvements to the speed,
4196
 
documentation and functionality of ``bzr log`` and the display of logged
4197
 
revisions by ``bzr status``.  bzr now also gives a better indication of
4198
 
progress, both in the way operations are drawn onto a text terminal, and
4199
 
by showing the rate of network IO.
4200
 
 
4201
 
Changes from RC1 to Final
4202
 
*************************
4203
 
 
4204
 
* ``bzr init --development-wt5[-rich-root]`` would fail because of
4205
 
  circular import errors. (John Arbash Meinel, #328135)
4206
 
 
4207
 
* Expanded the help for log and added a new help topic called
4208
 
  ``log-formats``.  (Ian Clatworthy)
4209
 
 
4210
 
Compatibility Breaks
4211
 
********************
4212
 
 
4213
 
* By default, ``bzr status`` after a merge now shows just the pending
4214
 
  merge tip revisions. This improves the signal-to-noise ratio after
4215
 
  merging from trunk and completes much faster. To see all merged
4216
 
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
4217
 
 
4218
 
* ``bzr log --line`` now shows any tags after the date and before
4219
 
  the commit message. If you have scripts which parse the output
4220
 
  from this command, you may need to adjust them accordingly.
4221
 
  (Ian Clatworthy)
4222
 
 
4223
 
* ``bzr log --short`` now shows any additional revision properties
4224
 
  after the date and before the commit message.  Scripts that parse 
4225
 
  output of the log command in this situation may need to adjust.
4226
 
  (Neil Martinsen-Burrell)
4227
 
 
4228
 
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
4229
 
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
4230
 
  respectively, given they are not ready for release in 1.12.
4231
 
  (Ian Clatworthy)
4232
 
 
4233
 
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
4234
 
 
4235
 
New Features
4236
 
************
4237
 
 
4238
 
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
4239
 
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
4240
 
  be filtered using ``bzr missing --my-revision -20..-10``.
4241
 
  (Marius Kruger)
4242
 
 
4243
 
* ``bzr log -p`` displays the patch diff for each revision.
4244
 
  When logging a file, the diff only includes changes to that file.
4245
 
  (Ian Clatworthy, #202331, #227335)
4246
 
 
4247
 
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
4248
 
  A value of 0 (zero) means "show all nested merge revisions" while
4249
 
  a value of 1 (one) means "show just the top level". Values above
4250
 
  1 can be used to see a limited amount of nesting. That can be
4251
 
  useful for seeing the level or two below PQM submits for example.
4252
 
  To force the ``--short`` and ``--line`` formats to display all nested
4253
 
  merge revisions just like ``--long`` does by default, use a command
4254
 
  like ``bzr log --short -n0``. To display just the mainline using
4255
 
  ``--long`` format, ``bzr log --long -n1``.
4256
 
  (Ian Clatworthy)
4257
 
 
4258
 
Improvements
4259
 
************
4260
 
 
4261
 
* ``bzr add`` more clearly communicates success vs failure.
4262
 
  (Daniel Watkins)
4263
 
 
4264
 
* ``bzr init`` will now print a little less verbose output.
4265
 
  (Marius Kruger)
4266
 
 
4267
 
* ``bzr log`` is now much faster in many use cases, particularly
4268
 
  at incrementally displaying results and filtering by a
4269
 
  revision range. (Ian Clatworthy)
4270
 
 
4271
 
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
4272
 
  for each revision. The tags are shown comma-separated inside
4273
 
  ``{}``. For short format, the tags appear at the end of line
4274
 
  before the optional ``[merge]`` indicator. For line format,
4275
 
  the tags appear after the date. (Ian Clatworthy)
4276
 
 
4277
 
* Progress bars now show the rate of activity for some sftp 
4278
 
  operations, and they are drawn different.  (Martin Pool, #172741)
4279
 
 
4280
 
* Progress bars now show the rate of activity for urllib and pycurl based
4281
 
  http client implementations. The operations are tracked at the socket
4282
 
  level for better precision.
4283
 
  (Vincent Ladeuil)
4284
 
 
4285
 
* Rule-based preferences can now accept multiple patterns for a set of
4286
 
  rules.  (Marius Kruger)
4287
 
 
4288
 
* The ``ancestor:`` revision spec will now default to referring to the
4289
 
  parent of the branch if no other location is given.
4290
 
  (Daniel Watkins, #198417)
4291
 
 
4292
 
* The debugger started as a result of setting ``$BZR_PDB`` works
4293
 
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
4294
 
  can cause truncated tracebacks in Python versions before 2.6.
4295
 
  (Andrew Bennetts)
4296
 
 
4297
 
* VirtualVersionedFiles now implements
4298
 
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
4299
 
  new branches based on stacked bzr-svn branches. (#311997)
4300
 
 
4301
 
Bug Fixes
4302
 
*********
4303
 
 
4304
 
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
4305
 
  anymore.
4306
 
  (Anne Mohsen, Vincent Ladeuil, #314525)
4307
 
 
4308
 
* ``bzr log FILE`` now correctly shows mainline revisions merging
4309
 
  a change to FILE when the ``--short`` and ``--line`` log formats
4310
 
  are used. (Ian Clatworthy, #317417)
4311
 
 
4312
 
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
4313
 
  it existed in Y or X, even if the file has since been deleted or
4314
 
  renamed. If no range is given, the current/basis tree and
4315
 
  initial tree are searched in that order. More generally, log
4316
 
  now interprets filenames in their historical context.
4317
 
  (Ian Clatworthy, #175520)
4318
 
 
4319
 
* ``bzr status`` now reports nonexistent files and continues, then
4320
 
  errors (with code 3) at the end.  (Karl Fogel, #306394)
4321
 
 
4322
 
* Don't require the present compression base in knits to be the same
4323
 
  when adding records in knits. (Jelmer Vernooij, #307394)
4324
 
 
4325
 
* Fix a problem with CIFS client/server lag on Windows colliding with
4326
 
  an invariant-per-process algorithm for generating AtomicFile names
4327
 
  (Adrian Wilkins, #304023)
4328
 
 
4329
 
* Many socket operations now handle EINTR by retrying the operation.
4330
 
  Previously EINTR was treated as an unrecoverable failure.  There is
4331
 
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
4332
 
  (Andrew Bennetts)
4333
 
 
4334
 
* Support symlinks with non-ascii characters in the symlink filename.
4335
 
  (Jelmer Vernooij, #319323)
4336
 
 
4337
 
* There was a bug in how we handled resolving when a file is deleted
4338
 
  in one branch, and modified in the other. If there was a criss-cross
4339
 
  merge, we would cause the deletion to conflict a second time.
4340
 
  (Vincent Ladeuil, John Arbash Meinel)
4341
 
 
4342
 
* There was another bug in how we chose the correct intermediate LCA in
4343
 
  criss-cross merges leading to several kind of changes be incorrectly
4344
 
  handled.
4345
 
  (John Arbash Meinel, Vincent Ladeuil)
4346
 
 
4347
 
* Unshelve now handles deleted paths without crashing. (Robert Collins)
4348
 
 
4349
 
Documentation
4350
 
*************
4351
 
 
4352
 
* Improved plugin developer documentation.  (Martin Pool)
4353
 
 
4354
 
API Changes
4355
 
***********
4356
 
 
4357
 
* ``ProgressBarStack`` is deprecated; instead use
4358
 
  ``ui_factory.nested_progress_bar`` to create new progress bars.
4359
 
  (Martin Pool)
4360
 
 
4361
 
* ForeignVcsMapping() now requires a ForeignVcs object as first
4362
 
  argument. (Jelmer Vernooij)
4363
 
 
4364
 
* ForeignVcsMapping.show_foreign_revid() has been moved to
4365
 
  ForeignVcs. (Jelmer Vernooij)
4366
 
 
4367
 
* ``read_bundle_from_url`` is deprecated in favor of
4368
 
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
4369
 
 
4370
 
* Revision specifiers are now registered in
4371
 
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
4372
 
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
4373
 
  deprecated. (Jelmer Vernooij, #321183)
4374
 
 
4375
 
* The progress and UI classes have changed; the main APIs remain the
4376
 
  same but code that provides a new UI or progress bar class may
4377
 
  need to be updated.  (Martin Pool)
4378
 
 
4379
 
Internals
4380
 
*********
4381
 
 
4382
 
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
4383
 
  terminal. It is sometimes desirable do override this default by forcing
4384
 
  bzr to use TextUIFactory. This can be achieved by setting the
4385
 
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
4386
 
  compile buffers, are such an example).
4387
 
  (Vincent Ladeuil)
4388
 
 
4389
 
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
4390
 
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
4391
 
  (Ian Clatworthy)
4392
 
 
4393
 
* New ``Branch.dotted_revno_to_revision_id()`` and
4394
 
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
4395
 
  efficient way of doing the mapping.
4396
 
  (Ian Clatworthy)
4397
 
 
4398
 
* Refactor cmd_serve so that it's a little easier to build commands that
4399
 
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
4400
 
 
4401
 
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
4402
 
  formatters to retrict the output.
4403
 
  (Vincent Ladeuil)
4404
 
 
4405
 
 
4406
 
bzr 1.11
4407
 
########
4408
 
 
4409
 
:Codename: "Eyes up!"
4410
 
:Released: 2009-01-19
4411
 
 
4412
 
This first monthly release of Bazaar for 2009 improves Bazaar's operation
4413
 
in Windows, Mac OS X, and other situations where file names are matched
4414
 
without regard to capitalization: Bazaar tries to match the case of an
4415
 
existing file.  This release of Bazaar also improves the efficiency of
4416
 
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
4417
 
 
4418
 
The UI through which Bazaar supports historic formats has been improved,
4419
 
so 'bzr help formats' now gives a simpler and shorter list, with clear
4420
 
advice.
4421
 
 
4422
 
This release also fixes a number of bugs, particularly a glitch that can
4423
 
occur when there are concurrent writes to a pack repository.
4424
 
 
4425
 
Bug Fixes
4426
 
*********
4427
 
 
4428
 
* Fix failing test when CompiledChunksToLines is not available.
4429
 
  (Vincent Ladeuil)
4430
 
 
4431
 
* Stacked branches don't repeatedly open their transport connection.
4432
 
  (John Arbash Meinel)
4433
 
 
4434
 
 
4435
 
 
4436
 
bzr 1.11rc1
4437
 
###########
4438
 
 
4439
 
:Codename: "Eyes up!"
4440
 
:Released: 2009-01-09
4441
 
 
4442
 
Changes
4443
 
*******
4444
 
 
4445
 
* Formats using Knit-based repository formats are now explicitly
4446
 
  marked as deprecated. (Ian Clatworthy)
4447
 
 
4448
 
New Features
4449
 
************
4450
 
 
4451
 
* Add support for `bzr tags -r 1..2`, that is we now support showing
4452
 
  tags applicable for a specified revision range. (Marius Kruger)
4453
 
 
4454
 
* ``authentication.conf`` now accepts pluggable read-only credential
4455
 
  stores. Such a plugin (``netrc_credential_store``) is now included,
4456
 
  handles the ``$HOME/.netrc`` file and can server as an example to
4457
 
  implement other plugins.
4458
 
  (Vincent Ladeuil)
4459
 
 
4460
 
* ``shelve --list`` can now be used to list shelved changes.
4461
 
  (Aaron Bentley)
4462
 
 
4463
 
Improvements
4464
 
************
4465
 
 
4466
 
* Add trailing slash to directories in all output of ``bzr ls``, except
4467
 
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
4468
 
 
4469
 
* ``bzr revision-info`` now supports a -d option to specify an
4470
 
  alternative branch. (Michael Hudson)
4471
 
 
4472
 
* Add connection to a C++ implementation of the Windows Shell Extension
4473
 
  which is able to fully replace the current Python implemented one.
4474
 
  Advantages include 64bit support and reduction in overhead for
4475
 
  processes which drag in shell extensions.
4476
 
  (Mark Hammond)
4477
 
 
4478
 
* Support the Claws mail client directly, rather than via
4479
 
  xdg-email. This prevents the display of an unnecessary modal
4480
 
  dialog in Claws, informing the user that a file has been
4481
 
  attached to the message, and works around bug #291847 in
4482
 
  xdg-utils which corrupts the destination address.
4483
 
 
4484
 
* When working on a case-insensitive case-preserving file-system, as
4485
 
  commonly found with Windows, bzr will often ignore the case of the
4486
 
  arguments specified by the user in preference to the case of an existing
4487
 
  item on the file-system or in the inventory to help prevent
4488
 
  counter-intuitive behaviour on Windows. (Mark Hammond)
4489
 
 
4490
 
Bug Fixes
4491
 
*********
4492
 
  
4493
 
* Allow BzrDir implementation to implement backing up of 
4494
 
  control directory. (#139691)
4495
 
 
4496
 
* ``bzr push`` creating a new stacked branch will now only open a
4497
 
  single connection to the target machine. (John Arbash Meinel)
4498
 
 
4499
 
* Don't call iteritems on transport_list_registry, because it may
4500
 
  change during iteration.  (Martin Pool, #277048)
4501
 
 
4502
 
* Don't make a broken branch when pushing an unstackable-format branch
4503
 
  that's in a stackable shared repository to a location with default
4504
 
  stack-on location.  (Andrew Bennetts, #291046)
4505
 
 
4506
 
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
4507
 
  (Ben Jansen, Vincent Ladeuil, #300347)
4508
 
 
4509
 
* Fix a problem with CIFS client/server lag on windows colliding with
4510
 
  an invariant-per-process algorithm for generating AtomicFile names
4511
 
  (Adrian Wilkins, #304023)
4512
 
 
4513
 
* Fix bogus setUp signature in UnavailableFTPServer.
4514
 
  (Gary van der Merwe, #313498)
4515
 
 
4516
 
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
4517
 
  (Jari Aalto)
4518
 
 
4519
 
* Fix SystemError in ``_patiencediff_c`` module by calling
4520
 
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
4521
 
  (Andrew Bennetts, #303206)
4522
 
 
4523
 
* Give proper error message for diff with non-existent dotted revno.
4524
 
  (Marius Kruger, #301969)
4525
 
 
4526
 
* Handle EACCES (permission denied) errors when launching a message
4527
 
  editor, and emit warnings when a configured editor cannot be
4528
 
  started. (Andrew Bennetts)
4529
 
 
4530
 
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
4531
 
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
4532
 
  in the appropriate sections.
4533
 
  (Vincent Ladeuil, #103029)
4534
 
 
4535
 
* Opening a stacked branch now properly shares the connection, rather
4536
 
  than opening a new connection for the stacked-on branch.
4537
 
  (John Arbash meinel)
4538
 
 
4539
 
* Preserve transport decorators while following redirections.
4540
 
  (Vincent Ladeuil, #245964, #270863)
4541
 
 
4542
 
* Provides a finer and more robust filter for accepted redirections.
4543
 
  (Vincent Ladeuil, #303959, #265070)
4544
 
 
4545
 
* ``shelve`` paths are now interpreted relative to the current working
4546
 
  tree.  (Aaron Bentley)
4547
 
 
4548
 
* ``Transport.readv()`` defaults to not reading more than 100MB in a
4549
 
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
4550
 
  work better with how it splits its requests.
4551
 
  (John Arbash Meinel, #303538)
4552
 
 
4553
 
* Pack repositories are now able to reload the pack listing and retry
4554
 
  the current operation if another action causes the data to be
4555
 
  repacked.  (John Arbash Meinel, #153786)
4556
 
 
4557
 
* ``pull -v`` now respects the log_format configuration variable.
4558
 
  (Aaron Bentley)
4559
 
 
4560
 
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
4561
 
 
4562
 
* Use the short status format when the short format is used for log.
4563
 
  (Vincent Ladeuil, #87179)
4564
 
 
4565
 
* Allow files to be renamed or moved via remove + add-by-id. (Charles
4566
 
  Duffy, #314251)
4567
 
 
4568
 
Documentation
4569
 
*************
4570
 
 
4571
 
* Improved the formats help topic to explain why multiple formats
4572
 
  exist and to provide guidelines in selecting one. Introduced
4573
 
  two new supporting help topics: current-formats and other-formats.
4574
 
  (Ian Clatworthy)
4575
 
 
4576
 
API Changes
4577
 
***********
4578
 
 
4579
 
* ``LRUCache(after_cleanup_size)`` was renamed to
4580
 
  ``after_cleanup_count`` and the old name deprecated. The new name is
4581
 
  used for clarity, and to avoid confusion with
4582
 
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
4583
 
 
4584
 
* New ``ForeignRepository`` base class, to help with foreign branch 
4585
 
  support (e.g. svn).  (Jelmer Vernooij)
4586
 
 
4587
 
* ``node_distances`` and ``select_farthest`` can no longer be imported
4588
 
  from ``bzrlib.graph``.  They can still be imported from
4589
 
  ``bzrlib.deprecated_graph``, which has been the preferred way to
4590
 
  import them since before 1.0.  (Andrew Bennetts)
4591
 
  
4592
 
* The logic in commit now delegates inventory basis calculations to
4593
 
  the ``CommitBuilder`` object; this requires that the commit builder
4594
 
  in use has been updated to support the new ``recording_deletes`` and
4595
 
  ``record_delete`` methods. (Robert Collins)
4596
 
 
4597
 
Testing
4598
 
*******
4599
 
 
4600
 
* An HTTPS server is now available (it requires python-2.6). Future bzr
4601
 
  versions will allow the use of the python-2.6 ssl module that can be
4602
 
  installed for 2.5 and 2.4.
4603
 
 
4604
 
* ``bzr selftest`` now fails if new trailing white space is added to
4605
 
  the bazaar sources. It only checks changes not committed yet. This
4606
 
  means that PQM will now reject changes that introduce new trailing
4607
 
  whitespace. (Marius Kruger)
4608
 
 
4609
 
* Introduced new experimental formats called ``1.12-preview`` and
4610
 
  ``1.12-preview-rich-root`` to enable testing of related pending
4611
 
  features, namely content filtering and filtered views.
4612
 
  (Ian Clatworthy)
4613
 
 
4614
 
Internals
4615
 
*********
4616
 
 
4617
 
* Added an ``InventoryEntry`` cache when deserializing inventories.
4618
 
  Can cut the time to iterate over multiple RevisionsTrees in half.
4619
 
  (John Arbash Meinel)
4620
 
 
4621
 
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
4622
 
  minimal overhead versus using a plain dict for cache hits, at the
4623
 
  cost of not preserving the 'active' set as well as an ``LRUCache``.
4624
 
  (John Arbash Meinel)
4625
 
 
4626
 
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
4627
 
  character to separate the filename from the date stamp, and doesn't
4628
 
  add trailing whitespace when a date stamp is not supplied.
4629
 
  (Adeodato Simó, John Arbash Meinel)
4630
 
 
4631
 
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
4632
 
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
4633
 
  respectively. (Ian Clatworthy)
4634
 
 
4635
 
* ``KnitVersionedFiles._check_should_delta()`` now uses the
4636
 
  ``get_build_details`` api to avoid multiple hits to the index, and
4637
 
  to properly follow the ``compression_parent`` rather than assuming
4638
 
  it is the left-hand parent. (John Arbash Meinel)
4639
 
 
4640
 
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
4641
 
  more optimal ordering when the keys are requested 'unordered'.
4642
 
  Previously the order was fully random, now the records should be
4643
 
  returned from each pack in turn, in forward I/O order.
4644
 
  (John Arbash Meinel)
4645
 
    
4646
 
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
4647
 
  than 2s since the last time it flushed. (John Arbash Meinel)
4648
 
 
4649
 
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
4650
 
  allows adding an inventory via an inventory delta, which can be
4651
 
  more efficient for some repository types. (Robert Collins)
4652
 
 
4653
 
* Repository ``CommitBuilder`` objects can now accumulate an inventory
4654
 
  delta. To enable this functionality call ``builder.recording_deletes``
4655
 
  and additionally call ``builder.record_delete`` when a delete
4656
 
  against the basis occurs. (Robert Collins)
4657
 
 
4658
 
* The default http handler has been changed from pycurl to urllib.
4659
 
  The default is still pycurl for https connections. (The only
4660
 
  advantage of pycurl is that it checks ssl certificates.)
4661
 
  (John Arbash Meinel)
4662
 
 
4663
 
* ``VersionedFiles.get_record_stream()`` can now return objects with a
4664
 
  storage_kind of ``chunked``. This is a collection (list/tuple) of
4665
 
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
4666
 
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
4667
 
  into a fulltext. This allows for some very good memory savings when
4668
 
  asking for many texts that share ancestry, as the individual chunks
4669
 
  can be shared between versions of the file. (John Arbash Meinel)
4670
 
 
4671
 
* ``pull -v`` and ``push -v`` use new function
4672
 
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
4673
 
 
4674
 
 
4675
 
 
4676
 
bzr 1.10
4677
 
########
4678
 
 
4679
 
:Released: 2008-12-05
4680
 
 
4681
 
Bazaar 1.10 has several performance improvements for copying revisions
4682
 
(especially for small updates to large projects).  There has also been a
4683
 
significant amount of effort in polishing stacked branches.  The commands
4684
 
``shelve`` and ``unshelve`` have become core commands, with an improved
4685
 
implementation.
4686
 
 
4687
 
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
4688
 
 
4689
 
bug Fixes
4690
 
*********
4691
 
 
4692
 
* Don't set a pack write cache size from RepoFetcher, because the
4693
 
  cache is not coherent with reads and causes ShortReadvErrors.
4694
 
  This reverses the change that fixed #294479.
4695
 
  (Martin Pool, #303856)
4696
 
 
4697
 
* Properly handle when a revision can be inserted as a delta versus
4698
 
  when it needs to be expanded to a fulltext for stacked branches.
4699
 
  There was a bug involving merge revisions. As a method to help
4700
 
  prevent future difficulties, also make stacked fetches sort
4701
 
  topologically. (John Arbash Meinel, #304841)
4702
 
 
4703
 
 
4704
 
bzr 1.10rc1
4705
 
###########
4706
 
 
4707
 
:Released: 2008-11-28
4708
 
 
4709
 
This release of Bazaar focuses on performance improvements when pushing
4710
 
and pulling revisions, both locally and to remote networks.  The popular
4711
 
``shelve`` and ``unshelve`` commands, used to interactively revert and
4712
 
restore work in progress, have been merged from bzrtools into the bzr
4713
 
core.  There are also bug fixes for portability, and for stacked branches.
4714
 
 
4715
 
New Features
4716
 
************
4717
 
 
4718
 
* New ``commit_message_template`` hook that is called by the commit
4719
 
  code to generate a template commit message. (Jelmer Vernooij)
4720
 
 
4721
 
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
4722
 
  (Aaron Bentley)
4723
 
 
4724
 
Improvements
4725
 
************
4726
 
 
4727
 
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
4728
 
  history just to set the last revision info.
4729
 
  (Andrew Bennetts, John Arbash Meinel)
4730
 
 
4731
 
* Fetches between formats with different serializers (such as
4732
 
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
4733
 
  operating on batches of 100 revisions at time rather than
4734
 
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
4735
 
 
4736
 
* Search index files corresponding to pack files we've already used
4737
 
  before searching others, because they are more likely to have the
4738
 
  keys we're looking for.  This reduces the number of iix and tix
4739
 
  files accessed when pushing 1 new revision, for instance.
4740
 
  (John Arbash Meinel)
4741
 
 
4742
 
* Signatures to transfer are calculated more efficiently in
4743
 
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
4744
 
 
4745
 
* The generic fetch code can once again copy revisions and signatures
4746
 
  without extracting them completely to fulltexts and then serializing
4747
 
  them back down into byte strings. This is a significant performance
4748
 
  improvement when fetching from a stacked branch.
4749
 
  (John Arbash Meinel, #300289)
4750
 
 
4751
 
* When making a large readv() request over ``bzr+ssh``, break up the
4752
 
  request into more manageable chunks. Because the RPC is not yet able
4753
 
  to stream, this helps keep us from buffering too much information at
4754
 
  once. (John Arbash Meinel)
4755
 
 
4756
 
Bug Fixes
4757
 
*********
4758
 
 
4759
 
* Better message when the user needs to set their Launchpad ID.
4760
 
  (Martin Pool, #289148)
4761
 
 
4762
 
* ``bzr commit --local`` doesn't access the master branch anymore.
4763
 
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
4764
 
 
4765
 
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
4766
 
  to give an error in that case.  Also, don't count on ``getcwd()``
4767
 
  being able to allocate a new buffer, which is a gnu extension.
4768
 
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
4769
 
 
4770
 
* Don't crash when requesting log --forward <file> for a revision range
4771
 
  starting with a dotted revno.
4772
 
  (Vincent Ladeuil, #300055)
4773
 
 
4774
 
* Don't create text deltas spanning stacked repositories; this could
4775
 
  cause "Revision X not present in Y" when later accessing them.
4776
 
  (Martin Pool, #288751)
4777
 
 
4778
 
* Pack repositories are now able to reload the pack listing and retry
4779
 
  the current operation if another action causes the data to be
4780
 
  repacked.  (John Arbash Meinel, #153786)
4781
 
 
4782
 
* PermissionDenied errors from smart servers no longer cause
4783
 
  "PermissionDenied: "None"" on the client.
4784
 
  (Andrew Bennetts, #299254)
4785
 
 
4786
 
* Pushing to a stacked pack repository now batches writes, the same
4787
 
  way writes are batched to ordinary pack repository.  This makes
4788
 
  pushing to a stacked branch over the network much faster.
4789
 
  (Andrew Bennetts, #294479)
4790
 
 
4791
 
* TooManyConcurrentRequests no longer occur when a fetch fails and
4792
 
  tries to abort a write group.  This allows the root cause (e.g. a
4793
 
  network interruption) to be reported.  (Andrew Bennetts, #297014)
4794
 
 
4795
 
* RemoteRepository.get_parent_map now uses fallback repositories.
4796
 
  (Aaron Bentley, #297991?, #293679?)
4797
 
 
4798
 
API Changes
4799
 
***********
4800
 
 
4801
 
* ``CommitBuilder`` now validates the strings it will be committing,
4802
 
  to ensure that they do not have characters that will not be properly
4803
 
  round-tripped. For now, it just checks for characters that are
4804
 
  invalid in the XML form. (John Arbash Meinel, #295161)
4805
 
 
4806
 
* Constructor parameters for NewPack (internal to pack repositories)
4807
 
  have changed incompatibly.
4808
 
 
4809
 
* ``Repository.abort_write_group`` now accepts an optional
4810
 
  ``suppress_errors`` flag.  Repository implementations that override
4811
 
  ``abort_write_group`` will need to be updated to accept the new
4812
 
  argument.  Subclasses that only override ``_abort_write_group``
4813
 
  don't need to change.
4814
 
 
4815
 
* Transport implementations must provide copy_tree_to_transport.  A default
4816
 
  implementation is provided for Transport subclasses.
4817
 
 
4818
 
Testing
4819
 
*******
4820
 
 
4821
 
* ``bzr selftest`` now fails if no doctests are found in a module
4822
 
  that's expected to have them.  (Martin Pool)
4823
 
 
4824
 
* Doctests now only report the first failure.  (Martin Pool)
4825
 
 
4826
 
 
4827
 
bzr 1.9
4828
 
#######
4829
 
 
4830
 
:Released: 2008-11-07
4831
 
 
4832
 
This release of Bazaar adds a new repository format, ``1.9``, with smaller
4833
 
and more efficient index files.  This format can be specified when
4834
 
creating a new repository, or used to losslessly upgrade an existing
4835
 
repository.  bzr 1.9 also speeds most operations over the smart server
4836
 
protocol, makes annotate faster, and uses less memory when making
4837
 
checkouts or pulling large amounts of data.
4838
 
 
4839
 
Bug Fixes
4840
 
*********
4841
 
 
4842
 
* Fix "invalid property value 'branch-nick' for None" regression with
4843
 
  branches bound to svn branches.  (Martin Pool, #293440)
4844
 
 
4845
 
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
4846
 
 
4847
 
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
4848
 
  This only triggers some-of-the-time on Knit format repositories.
4849
 
  (John Arbash Meinel, #293746)
4850
 
 
4851
 
 
4852
 
bzr 1.9rc1
4853
 
##########
4854
 
 
4855
 
:Released: 2008-10-31
4856
 
 
4857
 
New Features
4858
 
************
4859
 
 
4860
 
* New Branch hook ``transform_fallback_location`` allows a function to
4861
 
  be called when looking up the stacked source. (Michael Hudson)
4862
 
 
4863
 
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
4864
 
  the functionality of ``1.6``, but use the new btree indexes.
4865
 
  These indexes are both smaller and faster for access to historical
4866
 
  information.  (John Arbash Meinel)
4867
 
 
4868
 
Improvements
4869
 
************
4870
 
 
4871
 
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
4872
 
  the tradeoff between bandwidth and latency. Should be tuned
4873
 
  appropriately to not impact commands which need minimal information,
4874
 
  but provide a significant boost to ones that need more context. Only
4875
 
  has a direct impact on the ``--development2`` format which uses
4876
 
  btree's for the indexes. (John Arbash Meinel)
4877
 
 
4878
 
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
4879
 
  the contents of a compressed btree file.  (John Arbash Meinel)
4880
 
 
4881
 
* ``bzr pack`` now tells the index builders to optimize for size. For
4882
 
  btree index repositories, this can save 25% of the index size
4883
 
  (mostly in the text indexes). (John Arbash Meinel)
4884
 
 
4885
 
* ``bzr push`` to an existing branch or repository on a smart server
4886
 
  is faster, due to Bazaar making more use of the ``get_parent_map``
4887
 
  RPC when querying the remote branch's revision graph.
4888
 
  (Andrew Bennetts)
4889
 
 
4890
 
* default username for bzr+ssh and sftp can be configured in
4891
 
  authentication.conf. (Aaron Bentley)
4892
 
 
4893
 
* launchpad-login now provides a default username for bzr+ssh and sftp
4894
 
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
4895
 
 
4896
 
* ``lp:`` lookups no longer include usernames, making them shareable and
4897
 
  shorter. (Aaron Bentley)
4898
 
 
4899
 
* New ``PackRepository.autopack`` smart server RPC, which does
4900
 
  autopacking entirely on the server.  This is much faster than
4901
 
  autopacking via plain file methods, which downloads a large amount
4902
 
  of pack data and then re-uploads the same pack data into a single
4903
 
  file.  This fixes a major (although infrequent) cause of lengthy
4904
 
  delays when using a smart server.  For example, pushing the 10th
4905
 
  revision to a repository with 9 packs now takes 44 RPCs rather than
4906
 
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
4907
 
  the client and the server, otherwise the client will fallback to the
4908
 
  slower method.  (Andrew Bennetts)
4909
 
 
4910
 
Bug Fixes
4911
 
*********
4912
 
 
4913
 
* A failure to load a plugin due to an IncompatibleAPI exception is
4914
 
  now correctly reported. (Robert Collins, #279451)
4915
 
 
4916
 
* API versioning support now has a multiple-version checking api
4917
 
  ``require_any_api``. (Robert Collins, #279447)
4918
 
 
4919
 
* ``bzr branch --stacked`` from a smart server to a standalone branch
4920
 
  works again.  This fixes a regression in 1.7 and 1.8.
4921
 
  (Andrew Bennetts, #270397)
4922
 
 
4923
 
* ``bzr co`` uses less memory. It used to unpack the entire WT into
4924
 
  memory before writing it to disk. This was a little bit faster, but
4925
 
  consumed lots of memory. (John Arbash Meinel, #269456)
4926
 
 
4927
 
* ``bzr missing --quiet`` no longer prints messages about whether
4928
 
  there are missing revisions.  The exit code indicates whether there
4929
 
  were or not.  (Martin Pool, #284748)
4930
 
 
4931
 
* Fixes to the ``annotate`` code. The fast-path which re-used the
4932
 
  stored deltas was accidentally disabled all the time, instead of
4933
 
  only when a branch was stacked. Second, the code would accidentally
4934
 
  re-use a delta even if it wasn't against the left-parent, this
4935
 
  could only happen if ``bzr reconcile`` decided that the parent
4936
 
  ordering was incorrect in the file graph.  (John Arbash Meinel)
4937
 
 
4938
 
* "Permission denied" errors that occur when pushing a new branch to a
4939
 
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
4940
 
 
4941
 
* Some compatibility fixes for building the extensions with MSVC and
4942
 
  for python2.4. (John Arbash Meinel, #277484)
4943
 
 
4944
 
* The index logic is now able to reload the list of pack files if and
4945
 
  index ends up disappearing. We still don't reload if the pack data
4946
 
  itself goes missing after checking the index. This bug appears as a
4947
 
  transient failure (file not found) when another process is writing
4948
 
  to the repository.  (John Arbash Meinel, #153786)
4949
 
 
4950
 
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
4951
 
  it was previously set. All checkouts will now refer to the bound branch
4952
 
  for a nickname if one was not explicitly set.
4953
 
  (Marius Kruger, #230903)
4954
 
 
4955
 
Documentation
4956
 
*************
4957
 
 
4958
 
* Improved hook documentation. (Michael Ernst)
4959
 
 
4960
 
API Changes
4961
 
***********
4962
 
 
4963
 
* commands.plugins_cmds is now a CommandRegistry, not a dict.
4964
 
 
4965
 
Internals
4966
 
*********
4967
 
 
4968
 
* New AuthenticationConfig.set_credentials method allows easy programmatic
4969
 
  configuration of authetication credentials.
4970
 
 
4971
 
 
4972
 
bzr 1.8
4973
 
#######
4974
 
 
4975
 
:Released: 2008-10-16
4976
 
 
4977
 
Bazaar 1.8 includes several fixes that improve working tree performance,
4978
 
display of revision logs, and merges.  The bzr testsuite now passes on OS
4979
 
X and Python 2.6, and almost completely passes on Windows.  The
4980
 
smartserver code has gained several bug fixes and performance
4981
 
improvements, and can now run server-side hooks within an http server.
4982
 
 
4983
 
Bug Fixes
4984
 
*********
4985
 
 
4986
 
* Fix "Must end write group" error when another error occurs during
4987
 
  ``bzr push``.  (Andrew Bennetts, #230902)
4988
 
 
4989
 
Portability
4990
 
***********
4991
 
 
4992
 
* Some Pyrex versions require the WIN32 macro defined to compile on
4993
 
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
4994
 
 
4995
 
 
4996
 
bzr 1.8rc1
4997
 
##########
4998
 
 
4999
 
:Released: 2008-10-07
5000
 
 
5001
 
Changes
5002
 
*******
5003
 
 
5004
 
* ``bzr log file`` has been changed. It now uses a different method
5005
 
  for determining which revisions to show as merging the changes to
5006
 
  the file. It now only shows revisions which merged the change
5007
 
  towards your mainline. This simplifies the output, makes it faster,
5008
 
  and reduces memory consumption.  (John Arbash Meinel)
5009
 
 
5010
 
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
5011
 
  ``--show-base`` is not supplied.  (John Arbash Meinel)
5012
 
 
5013
 
* ``bzr+http//`` will now optionally load plugins and write logs on the
5014
 
  server. (Marius Kruger)
5015
 
 
5016
 
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
5017
 
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
5018
 
  explicitly blacklist that version of the compiler for that
5019
 
  extension. Packaged versions will include .c files created with
5020
 
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
5021
 
  from the source tree. (John Arbash Meinel, #276868)
5022
 
 
5023
 
Features
5024
 
********
5025
 
 
5026
 
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
5027
 
  supported (nor released, tests were conducted with the dev version of
5028
 
  python-2.6rc2), but all known problems have been fixed.  Feedback
5029
 
  welcome.
5030
 
  (Vincent Ladeuil, #269535)
5031
 
 
5032
 
Improvements
5033
 
************
5034
 
 
5035
 
* ``bzr annotate`` will now include uncommitted changes from the local
5036
 
  working tree by default. Such uncommitted changes are given the
5037
 
  revision number they would get if a commit was done, followed with a
5038
 
  ? to indicate that its not actually known. (Robert Collins, #3439)
5039
 
 
5040
 
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
5041
 
  standalone branch regardless of the presence of shared repositories.
5042
 
  (Daniel Watkins)
5043
 
 
5044
 
* ``bzr push`` is faster in the case there are no new revisions to
5045
 
  push.  It is also faster if there are no tags in the local branch.
5046
 
  (Andrew Bennetts)
5047
 
 
5048
 
* File changes during a commit will update the tree stat cache.
5049
 
  (Robert Collins)
5050
 
 
5051
 
* Location aliases can now accept a trailing path.  (Micheal Hudson)
5052
 
 
5053
 
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
5054
 
  (Robert Collins, MartinPool)
5055
 
 
5056
 
* Switching in heavyweight checkouts uses the master branch's context, not
5057
 
  the checkout's context.  (Adrian Wilkins)
5058
 
 
5059
 
* ``status`` on large trees is now faster, due to optimisations in the
5060
 
  walkdirs code. Of particular note, the walkdirs code now performs
5061
 
  a temporary ``chdir()`` while reading a single directory; if your
5062
 
  platform has non thread-local current working directories (and is
5063
 
  not windows which has its own implementation), this may introduce a
5064
 
  race condition during concurrent uses of bzrlib. The bzrlib CLI
5065
 
  will not encounter this as it is single threaded for working tree
5066
 
  operations. (Robert Collins)
5067
 
 
5068
 
* The C extensions now build on python 2.4 (Robert Collins, #271939)
5069
 
 
5070
 
* The ``-Dhpss`` debug flag now reports the number of smart server
5071
 
  calls per medium to stderr.  This is in addition to the existing
5072
 
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
5073
 
 
5074
 
Bug Fixes
5075
 
*********
5076
 
 
5077
 
* Avoid random failures arising from misinterpreted ``errno`` values
5078
 
  in ``_readdir_pyx.read_dir``.
5079
 
  (Martin Pool, #279381)
5080
 
 
5081
 
* Branching from a shared repository on a smart server into a new
5082
 
  repository now preserves the repository format.
5083
 
  (Andrew Bennetts, #269214)
5084
 
 
5085
 
* ``bzr log`` now accepts a ``--change`` option.
5086
 
  (Vincent Ladeuil, #248427)
5087
 
 
5088
 
* ``bzr missing`` now accepts an ``--include-merges`` option.
5089
 
  (Vincent Ladeuil, #233817)
5090
 
 
5091
 
* Don't try to filter (internally) '.bzr' from the files to be deleted if
5092
 
  it's not there.
5093
 
  (Vincent Ladeuil, #272648)
5094
 
 
5095
 
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
5096
 
  (Andrew Bennetts)
5097
 
 
5098
 
* Fix TooManyConcurrentRequests errors caused by a connection failure
5099
 
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
5100
 
  (Andrew Bennetts, #246233)
5101
 
 
5102
 
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
5103
 
  is in a different repository than the current one.
5104
 
  (Lukáš Lalinský, #144421)
5105
 
 
5106
 
* Make the first line of the manpage preamble a comment again.
5107
 
  (David Futcher, #242106)
5108
 
 
5109
 
* Remove use of optional parameter in GSSAPI FTP support, since
5110
 
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
5111
 
 
5112
 
* The autopacking logic will now always create a single new pack from
5113
 
  all of the content which it deems is worth moving. This avoids the
5114
 
  'repack a single pack' bug and should result in better packing
5115
 
  overall.  (John Arbash Meinel, #242510, #172644)
5116
 
 
5117
 
* Trivial documentation fix.
5118
 
  (John Arbash Meinel, #270471)
5119
 
 
5120
 
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
5121
 
  it was previously set. All checkouts will now refer to the bound branch
5122
 
  for a nickname if one was not explicitly set.
5123
 
  (Marius Kruger, #230903)
5124
 
 
5125
 
Documentation
5126
 
*************
5127
 
 
5128
 
* Explain revision/range identifiers. (Daniel Clemente)
5129
 
 
5130
 
API Changes
5131
 
***********
5132
 
 
5133
 
* ``CommitBuilder.record_entry_contents`` returns one more element in
5134
 
  its result tuple - an optional file system hash for the hash cache
5135
 
  to use. (Robert Collins)
5136
 
 
5137
 
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
5138
 
  of a file if it is likely to be needed in determining the output
5139
 
  of iter_changes. (Robert Collins)
5140
 
 
5141
 
* The PackRepository, RepositoryPackCollection, NewPack classes have a
5142
 
  slightly changed interface to support different index types; as a
5143
 
  result other users of these classes need to supply the index types
5144
 
  they want. (Robert Collins)
5145
 
 
5146
 
Testing
5147
 
*******
5148
 
 
5149
 
* ``bzrlib.tests.repository_implementations`` has been renamed to
5150
 
  ``bzrlib.tests.per_repository`` so that we have a common structure
5151
 
  (and it is shorter). (John Arbash Meinel, #239343)
5152
 
 
5153
 
* ``LocalTransport.abspath()`` now returns a drive letter if the
5154
 
  transport has one, fixing numerous tests on Windows.
5155
 
  (Mark Hammond)
5156
 
 
5157
 
* PreviewTree is now tested via intertree_implementations.
5158
 
  (Aaron Bentley)
5159
 
 
5160
 
* The full test suite is passing again on OSX.
5161
 
  (Guillermo Gonzalez, Vincent Ladeuil)
5162
 
 
5163
 
* The full test suite passes when run with ``-Eallow_debug``.
5164
 
  (Andrew Bennetts)
5165
 
 
5166
 
Internals
5167
 
*********
5168
 
 
5169
 
* A new hook, ``Branch.open``, has been added, which is called when
5170
 
  branch objects are opened. (Robert Collins)
5171
 
 
5172
 
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
5173
 
  tree walking, and modular directory listing code to aid future
5174
 
  performance optimisations and refactoring. (Robert Collins)
5175
 
 
5176
 
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
5177
 
  in the middle of processing. It only reports memory if
5178
 
  ``/proc/PID/status`` is available. (John Arbash Meinel)
5179
 
 
5180
 
* New method ``RevisionSpec.as_tree`` for representing the revision
5181
 
  specifier as a revision tree object. (Lukáš Lalinský)
5182
 
 
5183
 
* New race-free method on MutableTree ``get_file_with_stat`` for use
5184
 
  when generating stat cache results. (Robert Collins)
5185
 
 
5186
 
* New win32utils.get_local_appdata_location() provides access to a local
5187
 
  directory for storing data.  (Mark Hammond)
5188
 
 
5189
 
* To be compatible with python-2.6 a few new rules should be
5190
 
  observed. 'message' attribute can't be used anymore in exception
5191
 
  classes, 'sha' and 'md5' modules have been deprecated (use
5192
 
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
5193
 
  parameters anymore.
5194
 
  (Vincent Ladeuil)
5195
 
 
5196
 
 
5197
 
bzr 1.7.1
5198
 
#########
5199
 
 
5200
 
:Released:  2008-10-01
5201
 
 
5202
 
No changes from 1.7.1rc1.
5203
 
 
5204
 
 
5205
 
bzr 1.7.1rc1
5206
 
############
5207
 
 
5208
 
:Released: 2008-09-24
5209
 
 
5210
 
This release just includes an update to how the merge algorithm handles
5211
 
file paths when we encounter complex history.
5212
 
 
5213
 
Features
5214
 
********
5215
 
 
5216
 
* If we encounter a criss-cross in history, use information from
5217
 
  direct Least Common Ancestors to resolve inventory shape (locations
5218
 
  of files, adds, deletes, etc). This is similar in concept to using
5219
 
  ``--lca`` for merging file texts, only applied to paths.
5220
 
  (John Arbash Meinel)
5221
 
 
5222
 
 
5223
 
bzr 1.7
5224
 
#######
5225
 
 
5226
 
:Released: 2008-09-23
5227
 
 
5228
 
This release includes many bug fixes and a few performance and feature
5229
 
improvements.  ``bzr rm`` will now scan for missing files and remove them,
5230
 
like how ``bzr add`` scans for unknown files and adds them. A bit more
5231
 
polish has been applied to the stacking code. The b-tree indexing code has
5232
 
been brought in, with an eye on using it in a future repository format.
5233
 
There are only minor installer changes since bzr-1.7rc2.
5234
 
 
5235
 
Features
5236
 
********
5237
 
 
5238
 
* Some small updates to the win32 installer. Include localization
5239
 
  files found in plugins, and include the builtin distutils as part of
5240
 
  packaging qbzr. (Mark Hammond)
5241
 
 
5242
 
 
5243
 
bzr 1.7rc2
5244
 
##########
5245
 
 
5246
 
:Released: 2008-09-17
5247
 
 
5248
 
A few bug fixes from 1.7rc1. The biggest change is a new
5249
 
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
5250
 
trying to access a Stacked branch over the smart protocol, to properly
5251
 
connect to the stacked-on location.
5252
 
 
5253
 
Bug Fixes
5254
 
*********
5255
 
 
5256
 
* Branching from a shared repository on a smart server into a new
5257
 
  repository now preserves the repository format.
5258
 
  (Andrew Bennetts, #269214)
5259
 
 
5260
 
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
5261
 
  to the stacked-on branch.  (Martin Pool, #261315)
5262
 
 
5263
 
* ``bzr init`` no longer re-opens the BzrDir multiple times.
5264
 
  (Vincent Ladeuil)
5265
 
 
5266
 
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
5267
 
  (Andrew Bennetts)
5268
 
 
5269
 
 
5270
 
bzr 1.7rc1
5271
 
##########
5272
 
 
5273
 
:Released: 2008-09-09
5274
 
 
5275
 
This release candidate for bzr 1.7 has several bug fixes and a few
5276
 
performance and feature improvements.  ``bzr rm`` will now scan for
5277
 
missing files and remove them, like how ``bzr add`` scans for unknown
5278
 
files and adds them. A bit more polish has been applied to the stacking
5279
 
code. The b-tree indexing code has been brought in, with an eye on using
5280
 
it in a future repository format.
5281
 
 
5282
 
 
5283
 
Changes
5284
 
*******
5285
 
 
5286
 
* ``bzr export`` can now export a subdirectory of a project.
5287
 
  (Robert Collins)
5288
 
 
5289
 
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
5290
 
  changes, unless the ``--force`` option is specified.
5291
 
  (Lukáš Lalinský, #74101)
5292
 
 
5293
 
* ``bzr rm`` will now scan for files that are missing and remove just
5294
 
  them automatically, much as ``bzr add`` scans for new files that
5295
 
  are not ignored and adds them automatically. (Robert Collins)
5296
 
 
5297
 
Features
5298
 
********
5299
 
 
5300
 
* Support for GSSAPI authentication when using FTP as documented in
5301
 
  RFC2228. (Jelmer Vernooij, #49623)
5302
 
 
5303
 
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
5304
 
 
5305
 
Improvements
5306
 
************
5307
 
 
5308
 
* A url like ``log+file:///tmp`` will log all access to that Transport
5309
 
  to ``.bzr.log``, which may help in debugging or profiling.
5310
 
  (Martin Pool)
5311
 
 
5312
 
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
5313
 
  branch format supports it. (Aaron Bentley)
5314
 
 
5315
 
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
5316
 
  ``bzr info`` if it completed successfully.
5317
 
  (Marius Kruger)
5318
 
 
5319
 
* ``bzr uncommit`` logs the old tip revision id, and displays how to
5320
 
  restore the branch to that tip using ``bzr pull``.  This allows you
5321
 
  to recover if you realize you uncommitted the wrong thing.
5322
 
  (John Arbash Meinel)
5323
 
 
5324
 
* Fix problems in accessing stacked repositories over ``bzr://``.
5325
 
  (Martin Pool, #261315)
5326
 
 
5327
 
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
5328
 
  which 'works', but adds each character separately to the list,
5329
 
  rather than using ``list.append(string)``. Fixing this makes the
5330
 
  SFTP transport a little bit faster (~20%) and use a bit less memory.
5331
 
  (John Arbash Meinel)
5332
 
 
5333
 
* When reading index files, if we happen to read the whole file in a
5334
 
  single request treat it as a ``_buffer_all`` request. This happens
5335
 
  most often on small indexes over remote transports, where we default
5336
 
  to reading 64kB. It saves a round trip for each small index during
5337
 
  fetch operations. Also, if we have read more than 50% of an index
5338
 
  file, trigger a ``_buffer_all`` on the next request. This works
5339
 
  around some inefficiencies because reads don't fall neatly on page
5340
 
  boundaries, so we would ignore those bytes, but request them again
5341
 
  later. This could trigger a total read size of more than the whole
5342
 
  file. (John Arbash Meinel)
5343
 
 
5344
 
Bug Fixes
5345
 
*********
5346
 
 
5347
 
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
5348
 
  users. (Robert Collins, #205416)
5349
 
 
5350
 
* Catch the infamous "select/poll returned error" which occurs when
5351
 
  pycurl try to send a body request to an HTTP/1.0 server which has
5352
 
  already refused to handle the request. (Vincent Ladeuil, #225020)
5353
 
 
5354
 
* Fix ``ObjectNotLocked`` errors when using various commands
5355
 
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
5356
 
  smart server URL.  (Andrew Bennetts, #237067)
5357
 
 
5358
 
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
5359
 
  for the containing ``.bzr/`` directory (it does not implement
5360
 
  permissions). This would cause us to set all subdirectories to
5361
 
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
5362
 
  Now we ignore ``0000`` as the permissions and assume they are
5363
 
  invalid. (John Arbash Meinel, #259855)
5364
 
 
5365
 
* Merging from a previously joined branch will no longer cause
5366
 
  a traceback. (Jelmer Vernooij, #203376)
5367
 
 
5368
 
* Pack operations on windows network shares will work even with large
5369
 
  files. (Robert Collins, #255656)
5370
 
 
5371
 
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
5372
 
  status. Status is also about 7% faster on mozilla sized trees
5373
 
  when the path to the root of the tree has been given. Users of
5374
 
  the internal ``show_tree_status`` function should be aware that
5375
 
  the show_pending flag is now authoritative for showing pending
5376
 
  merges, as it was originally. (Robert Collins, #225204)
5377
 
 
5378
 
* Set valid default _param_name for Option so that ListOption can embed
5379
 
  '-' in names. (Vincent Ladeuil, #263249)
5380
 
 
5381
 
* Show proper error rather than traceback when an unknown revision
5382
 
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
5383
 
 
5384
 
* Trailing text in the dirstate file could cause the C dirstate parser
5385
 
  to try to allocate an invalid amount of memory. We now properly
5386
 
  check and test for parsing a dirstate with invalid trailing data.
5387
 
  (John Arbash Meinel, #186014)
5388
 
 
5389
 
* Unexpected error responses from a smart server no longer cause the
5390
 
  client to traceback.  (Andrew Bennetts, #263527)
5391
 
 
5392
 
* Use a Windows api function to get a Unicode host name, rather than
5393
 
  assuming the host name is ascii.
5394
 
  (Mark Hammond, John Arbash Meinel, #256550)
5395
 
 
5396
 
* ``WorkingTree4`` trees will now correctly report missing-and-new
5397
 
  paths in the output of ``iter_changes``. (Robert Collins)
5398
 
 
5399
 
Documentation
5400
 
*************
5401
 
 
5402
 
* Updated developer documentation.  (Martin Pool)
5403
 
 
5404
 
API Changes
5405
 
***********
5406
 
 
5407
 
* Exporters now take 4 parameters. (Robert Collins)
5408
 
 
5409
 
* ``Tree.iter_changes`` will now return False for the content change
5410
 
  field when a file is missing in the basis tree and not present in
5411
 
  the target tree. Previously it returned True unconditionally.
5412
 
  (Robert Collins)
5413
 
 
5414
 
* The deprecated ``Branch.abspath`` and unimplemented
5415
 
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
5416
 
 
5417
 
* BzrDir.clone_on_transport implementations must now accept a stacked_on
5418
 
  parameter.  (Aaron Bentley)
5419
 
 
5420
 
* BzrDir.cloning_metadir implementations must now take a require_stacking
5421
 
  parameter.  (Aaron Bentley)
5422
 
 
5423
 
Testing
5424
 
*******
5425
 
 
5426
 
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
5427
 
  which are then passed to the cleanup callable as it is run. In
5428
 
  addition, addCleanup no longer requires that the callables passed to
5429
 
  it be unique. (Jonathan Lange)
5430
 
 
5431
 
* Fix some tests that fail on Windows because files are deleted while
5432
 
  still in use.
5433
 
  (Mark Hammond)
5434
 
 
5435
 
* ``selftest``'s ``--starting-with`` option can now use predefined
5436
 
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
5437
 
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
5438
 
 
5439
 
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
5440
 
  (Vincent Ladeuil)
5441
 
 
5442
 
Internals
5443
 
*********
5444
 
 
5445
 
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
5446
 
  This allows dynamic log output filtering by plugins.
5447
 
  (Robert Collins)
5448
 
 
5449
 
* ``bzrlib.btree_index`` is now available, providing a b-tree index
5450
 
  layer. The design is memory conservative (limited memory cache),
5451
 
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
5452
 
  and stores compressed pages allowing more keys per page.
5453
 
  (Robert Collins, John Arbash Meinel)
5454
 
 
5455
 
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
5456
 
  is unknown in both source and target.
5457
 
  (Robert Collins, Aaron Bentley)
5458
 
 
5459
 
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
5460
 
  streamlined a bit. This should make creating large indexes faster.
5461
 
  (In benchmarking, it now takes less time to create a BTree index than
5462
 
  it takes to read the GraphIndex one.) (John Arbash Meinel)
5463
 
 
5464
 
* Mail clients for `bzr send` are now listed in a registry.  This
5465
 
  allows plugins to add new clients by registering them with
5466
 
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
5467
 
  clients now use this mechanism.  (Neil Martinsen-Burrell)
5468
 
 
5469
 
 
5470
 
bzr 1.6.1
5471
 
#########
5472
 
 
5473
 
:Released: 2008-09-05
5474
 
 
5475
 
A couple regressions were found in the 1.6 release. There was a
5476
 
performance issue when using ``bzr+ssh`` to branch large repositories,
5477
 
and some problems with stacking and ``rich-root`` capable repositories.
5478
 
 
5479
 
 
5480
 
bzr 1.6.1rc2
5481
 
############
5482
 
 
5483
 
:Released: 2008-09-03
5484
 
 
5485
 
Bug Fixes
5486
 
*********
5487
 
 
5488
 
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
5489
 
  versa) was accidentally using the inter-model fetcher, instead of
5490
 
  recognizing that both were 'rich root' formats.
5491
 
  (John Arbash Meinel, #264321)
5492
 
 
5493
 
 
5494
 
bzr 1.6.1rc1
5495
 
############
5496
 
 
5497
 
:Released: 2008-08-29
5498
 
 
5499
 
This release fixes a few regressions found in the 1.6 client. Fetching
5500
 
changes was using an O(N^2) buffering algorithm, so for large projects it
5501
 
would cause memory thrashing. There is also a specific problem with the
5502
 
``--1.6-rich-root`` format, which prevented stacking on top of
5503
 
``--rich-root-pack`` repositories, and could allow users to accidentally
5504
 
fetch experimental data (``-subtree``) without representing it properly.
5505
 
The ``--1.6-rich-root`` format has been deprecated and users are
5506
 
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
5507
 
re-introduced a workaround for users who have repositories with incorrect
5508
 
nodes (not possible if you only used official releases).
5509
 
I should also clarify that none of this is data loss level issues, but
5510
 
still sufficient enough to warrant an updated release.
5511
 
 
5512
 
Bug Fixes
5513
 
*********
5514
 
 
5515
 
* ``RemoteTransport.readv()`` was being inefficient about how it
5516
 
  buffered the readv data and processed it. It would keep appending to
5517
 
  the same string (causing many copies) and then pop bytes out of the
5518
 
  start of the string (causing more copies).
5519
 
  With this patch "bzr+ssh://local" can improve dramatically,
5520
 
  especially for projects with large files.
5521
 
  (John Arbash Meinel)
5522
 
 
5523
 
* Revision texts were always meant to be stored as fulltexts. There
5524
 
  was a bug in a bzr.dev version that would accidentally create deltas
5525
 
  when copying from a Pack repo to a Knit repo. This has been fixed,
5526
 
  but to support those repositories, we know always request full texts
5527
 
  for Revision texts. (John Arbash Meinel, #261339)
5528
 
 
5529
 
* The previous ``--1.6-rich-root`` format used an incorrect xml
5530
 
  serializer, which would accidentally support fetching from a
5531
 
  repository that supported subtrees, even though the local one would
5532
 
  not. We deprecated that format, and introduced a new one that uses
5533
 
  the correct serializer ``--1.6.1-rich-root``.
5534
 
  (John Arbash Meinel, #262333)
5535
 
 
5536
 
 
5537
 
bzr 1.6
5538
 
#######
5539
 
 
5540
 
:Released: 2008-08-25
5541
 
 
5542
 
Finally, the long awaited bzr 1.6 has been released. This release includes
5543
 
new features like Stacked Branches, improved weave merge, and an updated
5544
 
server protocol (now on v3) which will allow for better cross version
5545
 
compatibility. With this release we have deprecated Knit format
5546
 
repositories, and recommend that users upgrade them, we will continue to
5547
 
support reading and writing them for the forseeable future, but we will
5548
 
not be tuning them for performance as pack repositories have proven to be
5549
 
better at scaling. This will also be the first release to bundle
5550
 
TortoiseBzr in the standalone Windows installer.
5551
 
 
5552
 
 
5553
 
bzr 1.6rc5
5554
 
##########
5555
 
 
5556
 
:Released: 2008-08-19
5557
 
 
5558
 
Bug Fixes
5559
 
*********
5560
 
 
5561
 
* Disable automatic detection of stacking based on a containing
5562
 
  directory of the target. It interacted badly with push, and needs a
5563
 
  bit more work to get the edges polished before it should happen
5564
 
  automatically. (John Arbash Meinel, #259275)
5565
 
  (This change was reverted when merged to bzr.dev)
5566
 
 
5567
 
 
5568
 
bzr 1.6rc4
5569
 
##########
5570
 
 
5571
 
:Released: 2008-08-18
5572
 
 
5573
 
Bug Fixes
5574
 
*********
5575
 
 
5576
 
* Fix a regression in knit => pack fetching.  We had a logic
5577
 
  inversion, causing the fetch to insert fulltexts in random order,
5578
 
  rather than preserving deltas.  (John Arbash Meinel, #256757)
5579
 
 
5580
 
 
5581
 
bzr 1.6rc3
5582
 
##########
5583
 
 
5584
 
:Released: 2008-08-14
5585
 
 
5586
 
Changes
5587
 
*******
5588
 
 
5589
 
* Disable reading ``.bzrrules`` as a per-branch rule preferences
5590
 
  file. The feature was not quite ready for a full release.
5591
 
  (Robert Collins)
5592
 
 
5593
 
Improvements
5594
 
************
5595
 
 
5596
 
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
5597
 
  into the standalone installer. This will be the first official
5598
 
  windows release that installs Tortoise by default.
5599
 
  (Mark Hammond)
5600
 
 
5601
 
Bug Fixes
5602
 
*********
5603
 
 
5604
 
* Fix a regression in ``bzr+http`` support. There was a missing
5605
 
  function (``_read_line``) that needed to be carried over from
5606
 
  ``bzr+ssh`` support. (Andrew Bennetts)
5607
 
 
5608
 
* ``GraphIndex`` objects will internally read an entire index if more
5609
 
  than 1/20th of their keyspace is requested in a single operation.
5610
 
  This largely mitigates a performance regression in ``bzr log FILE``
5611
 
  and completely corrects the performance regression in ``bzr log``.
5612
 
  The regression was caused by removing an accomodation which had been
5613
 
  supporting the index format in use. A newer index format is in
5614
 
  development which is substantially faster. (Robert Collins)
5615
 
 
5616
 
 
5617
 
bzr 1.6rc2
5618
 
##########
5619
 
 
5620
 
:Released: 2008-08-13
5621
 
 
5622
 
This release candidate has a few minor bug fixes, and some regression
5623
 
fixes for Windows.
5624
 
 
5625
 
Bug Fixes
5626
 
*********
5627
 
 
5628
 
* ``bzr upgrade`` on remote branches accessed via bzr:// and
5629
 
  bzr+ssh:// now works.  (Andrew Bennetts)
5630
 
 
5631
 
* Change the ``get_format_description()`` strings for
5632
 
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
5633
 
  (Aaron Bentley)
5634
 
 
5635
 
* Fix for a regression on Win32 where we would try to call
5636
 
  ``os.listdir()`` on a file and not catch the exception properly.
5637
 
  (Windows raises a different exception.) This would manifest in
5638
 
  places like ``bzr rm file`` or ``bzr switch``.
5639
 
  (Mark Hammond, John Arbash Meinel)
5640
 
 
5641
 
* ``Inventory.copy()`` was failing to set the revision property for
5642
 
  the root entry. (Jelmer Vernooij)
5643
 
 
5644
 
* sftp transport: added missing ``FileExists`` case to
5645
 
  ``_translate_io_exception`` (Christophe Troestler, #123475)
5646
 
 
5647
 
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
5648
 
  scripting use. (Robert Collins, #3834)
5649
 
 
5650
 
* The default ``annotate`` logic will now always assign the
5651
 
  last-modified value of a line to one of the revisions that modified
5652
 
  it, rather than a merge revision. This would happen when both sides
5653
 
  claimed to have modified the line resulting in the same text. The
5654
 
  choice is arbitrary but stable, so merges in different directions
5655
 
  will get the same results.  (John Arbash Meinel, #232188)
5656
 
 
5657
 
 
5658
 
bzr 1.6rc1
5659
 
##########
5660
 
 
5661
 
:Released: 2008-08-06
5662
 
 
5663
 
This release candidate for bzr 1.6 solidifies the new branch stacking
5664
 
feature.  Bazaar now recommends that users upgrade all knit repositories,
5665
 
because later formats are much faster.  However, we plan to continue read/write and
5666
 
upgrade support for knit repostories for the forseeable future.  Several
5667
 
other bugs and performance issues were fixed.
5668
 
 
5669
 
Changes
5670
 
*******
5671
 
 
5672
 
* Knit format repositories are deprecated and bzr will now emit
5673
 
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
5674
 
  knit repositories to pack format.  (Andrew Bennetts)
5675
 
 
5676
 
Improvements
5677
 
************
5678
 
 
5679
 
* ``bzr check`` can now be told which elements at a location it should
5680
 
  check.  (Daniel Watkins)
5681
 
 
5682
 
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
5683
 
  from the commit. (Robert Collins, #3117)
5684
 
 
5685
 
* Fetching data between repositories that have the same model but no
5686
 
  optimised fetcher will not reserialise all the revisions, increasing
5687
 
  performance. (Robert Collins, John Arbash Meinel)
5688
 
 
5689
 
* Give a more specific error when target branch is not reachable.
5690
 
  (James Westby)
5691
 
 
5692
 
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
5693
 
  This uses a pyrex extension to get direct access to the
5694
 
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
5695
 
  ``lstat``. Shows a very strong improvement in commands like
5696
 
  ``status`` and ``diff`` which have to iterate the working tree.
5697
 
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
5698
 
  trees, bigger benefit.) (John Arbash Meinel)
5699
 
 
5700
 
* New registry for log properties handles  and the method in
5701
 
  LongLogFormatter to display the custom properties returned by the
5702
 
  registered handlers. (Guillermo Gonzalez, #162469)
5703
 
 
5704
 
Bug Fixes
5705
 
*********
5706
 
 
5707
 
* Add more tests that stacking does not create deltas spanning
5708
 
  physical repository boundaries.
5709
 
  (Martin Pool, #252428)
5710
 
 
5711
 
* Better message about incompatible repositories.
5712
 
  (Martin Pool, #206258)
5713
 
 
5714
 
* ``bzr branch --stacked`` ensures the destination branch format can
5715
 
  support stacking, even if the origin does not.
5716
 
  (Martin Pool)
5717
 
 
5718
 
* ``bzr export`` no longer exports ``.bzrrules``.
5719
 
  (Ian Clatworthy)
5720
 
 
5721
 
* ``bzr serve --directory=/`` now correctly allows the whole
5722
 
  filesystem to be accessed on Windows, not just the root of the drive
5723
 
  that Python is running from.
5724
 
  (Adrian Wilkins, #240910)
5725
 
 
5726
 
* Deleting directories by hand before running ``bzr rm`` will not
5727
 
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
5728
 
  (Robert Collins, #150438)
5729
 
 
5730
 
* Fix a test case that was failing if encoding wasn't UTF-8.
5731
 
  (John Arbash Meinel, #247585)
5732
 
 
5733
 
* Fix "no buffer space available" error when branching with the new
5734
 
  smart server protocol to or from Windows.
5735
 
  (Andrew Bennetts, #246180)
5736
 
 
5737
 
* Fixed problem in branching from smart server.
5738
 
  (#249256, Michael Hudson, Martin Pool)
5739
 
 
5740
 
* Handle a file turning in to a directory in TreeTransform.
5741
 
  (James Westby, #248448)
5742
 
 
5743
 
API Changes
5744
 
***********
5745
 
 
5746
 
* ``MutableTree.commit`` has an extra optional keywork parameter
5747
 
  ``exclude`` that will be unconditionally supplied by the command
5748
 
  line UI - plugins that add tree formats may need an update.
5749
 
  (Robert Collins)
5750
 
 
5751
 
* The API minimum version for plugin compatibility has been raised to
5752
 
  1.6 - there are significant changes throughout the code base.
5753
 
  (Robert Collins)
5754
 
 
5755
 
* The generic fetch code now uses three attributes on Repository objects
5756
 
  to control fetch. The streams requested are controlled via :
5757
 
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
5758
 
  appropriately allows different repository implementations to recieve
5759
 
  data in their optimial form. If the ``_fetch_reconcile`` is set then
5760
 
  a reconcile operation is triggered at the end of the fetch.
5761
 
  (Robert Collins)
5762
 
 
5763
 
* The ``put_on_disk`` and ``get_tar_item`` methods in
5764
 
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
5765
 
 
5766
 
* ``Repository.is_shared`` doesn't take a read lock. It didn't
5767
 
  need one in the first place (nobody cached the value, and
5768
 
  ``RemoteRepository`` wasn't taking one either). This saves a round
5769
 
  trip when probing Pack repositories, as they read the ``pack-names``
5770
 
  file when locked. And during probe, locking the repo isn't very
5771
 
  useful. (John Arbash Meinel)
5772
 
 
5773
 
Internals
5774
 
*********
5775
 
 
5776
 
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
5777
 
  putting together a real history without having to create a full
5778
 
  WorkingTree. It is recommended that tests that are not directly
5779
 
  testing the WorkingTree use BranchBuilder instead.  See
5780
 
  ``BranchBuilder.build_snapshot`` or
5781
 
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
5782
 
 
5783
 
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
5784
 
  helper ``safe_relpath_files`` - used by the new ``exclude``
5785
 
  parameter to commit. (Robert Collins)
5786
 
 
5787
 
* Make it easier to introduce new WorkingTree formats.
5788
 
  (Ian Clatworthy)
5789
 
 
5790
 
* The code for exporting trees was refactored not to use the
5791
 
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
5792
 
 
5793
 
* RuleSearchers return () instead of [] now when there are no matches.
5794
 
  (Ian Clatworthy)
5795
 
 
5796
 
 
5797
 
bzr 1.6beta3
5798
 
############
5799
 
 
5800
 
:Released: 2008-07-17
5801
 
 
5802
 
This release adds a new 'stacked branches' feature allowing branches to
5803
 
share storage without being in the same repository or on the same machine.
5804
 
(See the user guide for more details.)  It also adds a new hook, improved
5805
 
weaves, aliases for related locations, faster bzr+ssh push, and several
5806
 
bug fixes.
5807
 
 
5808
 
Features
5809
 
********
5810
 
 
5811
 
* New ``pre_change_branch_tip`` hook that is called before the
5812
 
  branch tip is moved, while the branch is write-locked.  See the User
5813
 
  Reference for signature details.  (Andrew Bennetts)
5814
 
 
5815
 
* Rule-based preferences can now be defined for selected files in
5816
 
  selected branches, allowing commands and plugins to provide
5817
 
  custom behaviour for files matching defined patterns.
5818
 
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
5819
 
  in the User Guide and ``bzr help rules`` for more information.
5820
 
  (Ian Clatworthy)
5821
 
 
5822
 
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
5823
 
 
5824
 
* Stacked branches are now supported. See ``bzr help branch`` and
5825
 
  ``bzr help push``.  Branches must be in the ``development1`` format
5826
 
  to stack, though the stacked-on branch can be of any format.
5827
 
  (Robert Collins)
5828
 
 
5829
 
Improvements
5830
 
************
5831
 
 
5832
 
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
5833
 
  to stdout; also ``tar`` and ``tbz2``.
5834
 
  (Martin Pool)
5835
 
 
5836
 
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
5837
 
  rather than the annotation-based merge it was using. It does so by
5838
 
  building up a Weave of the important texts, without needing to build
5839
 
  the full ancestry. (John Arbash Meinel, #238895)
5840
 
 
5841
 
* ``bzr send`` documents and better supports ``emacsclient`` (proper
5842
 
  escaping of mail headers and handling of the MUA Mew).
5843
 
  (Christophe Troestler)
5844
 
 
5845
 
* Remembered locations can be specified by aliases, e.g. :parent, :public,
5846
 
  :submit.  (Aaron Bentley)
5847
 
 
5848
 
* The smart protocol now has improved support for setting branches'
5849
 
  revision info directly.  This makes operations like push
5850
 
  faster.  The new request method name is
5851
 
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
5852
 
 
5853
 
Bug Fixes
5854
 
*********
5855
 
 
5856
 
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
5857
 
  The broken implementations of RFC822 in Python and RFC2046 in IIS
5858
 
  combined with boundary-line checking in Bazaar previously made this
5859
 
  impossible. (NB, IIS 5 does not suffer from this problem).
5860
 
  (Adrian Wilkins, #247585)
5861
 
 
5862
 
* ``bzr log --long`` with a ghost in your mainline now handles that
5863
 
  ghost properly. (John Arbash Meinel, #243536)
5864
 
 
5865
 
* ``check`` handles the split-up .bzr layout correctly, so no longer
5866
 
  requires a branch to be present.
5867
 
  (Daniel Watkins, #64783)
5868
 
 
5869
 
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
5870
 
  loaded.
5871
 
  (Martin Pool, #205230)
5872
 
 
5873
 
* Errors about missing libraries are now shown without a traceback,
5874
 
  and with a suggestion to install the library.  The full traceback is
5875
 
  still in ``.bzr.log`` and can be shown with ``-Derror``.
5876
 
  (Martin Pool, #240161)
5877
 
 
5878
 
* Fetch from a stacked branch copies all required data.
5879
 
  (Aaron Bentley, #248506)
5880
 
 
5881
 
* Handle urls such as ftp://user@host.com@www.host.com where the user
5882
 
  name contains an @.
5883
 
  (Neil Martinsen-Burrell, #228058)
5884
 
 
5885
 
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
5886
 
  ``unlock`` if there was an error in the original function. This helps
5887
 
  most when there is a failure with a smart server action, since often the
5888
 
  connection closes and we cannot unlock.
5889
 
  (Andrew Bennetts, John Arbash Meinel, #125784)
5890
 
 
5891
 
* Obsolete hidden command ``bzr fetch`` removed.
5892
 
  (Martin Pool, #172870)
5893
 
 
5894
 
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
5895
 
  (John Arbash Meinel, #239933)
5896
 
 
5897
 
* You can now compare file revisions in Windows diff programs from
5898
 
  Cygwin Bazaar.
5899
 
  (Matt McClure, #209281)
5900
 
 
5901
 
* revision_history now tolerates mainline ghosts for Branch format 6.
5902
 
  (Aaron Bentley, #235055)
5903
 
 
5904
 
* Set locale from environment for third party libs.
5905
 
  (Martin von Gagern, #128496)
5906
 
 
5907
 
Documentation
5908
 
*************
5909
 
 
5910
 
* Added *Using stacked branches* to the User Guide.
5911
 
  (Ian Clatworthy)
5912
 
 
5913
 
* Updated developer documentation.
5914
 
  (Martin Pool)
5915
 
 
5916
 
Testing
5917
 
*******
5918
 
 
5919
 
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
5920
 
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
5921
 
 
5922
 
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
5923
 
  a tree with a ``branch`` attribute of the right format.  This was
5924
 
  preventing some ``RemoteBranch`` tests from actually running with
5925
 
  ``RemoteBranch`` instances.  (Andrew Bennetts)
5926
 
 
5927
 
API Changes
5928
 
***********
5929
 
 
5930
 
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
5931
 
  there are new attributes ``texts, inventories, revisions,
5932
 
  signatures``, each of which is a ``VersionedFiles``.  See the
5933
 
  Repository docstring for more details.
5934
 
  (Robert Collins)
5935
 
 
5936
 
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
5937
 
  parameter.  If you have a subclass of ``Branch`` that overrides
5938
 
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
5939
 
 
5940
 
* ``bzrlib.check.check()`` has been deprecated in favour of the more
5941
 
  aptly-named ``bzrlib.check.check_branch()``.
5942
 
  (Daniel Watkins)
5943
 
 
5944
 
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
5945
 
  These methods are bad APIs because they write directly to sys.stdout.
5946
 
  bzrlib does not use them internally, and there are no direct tests
5947
 
  for them. (Alexander Belchenko)
5948
 
 
5949
 
Internals
5950
 
*********
5951
 
 
5952
 
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
5953
 
  (Alexander Belchenko)
5954
 
 
5955
 
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
5956
 
  which eases the discovery of the tree, the branch and the repository
5957
 
  containing a given location.
5958
 
  (Daniel Watkins)
5959
 
 
5960
 
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
5961
 
  underlying .knit/.kndx etc files in repositories with partitioned
5962
 
  storage. (Robert Collins)
5963
 
 
5964
 
* Obsolete developer-use command ``weave-join`` has been removed.
5965
 
  (Robert Collins)
5966
 
 
5967
 
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
5968
 
  to support new ``VersionedFiles`` layering.
5969
 
  (Robert Collins)
5970
 
 
5971
 
 
5972
 
bzr 1.6beta2
5973
 
############
5974
 
 
5975
 
:Released: 2008-06-10
5976
 
 
5977
 
This release contains further progress towards our 1.6 goals of shallow
5978
 
repositories, and contains a fix for some user-affecting bugs in the
5979
 
repository layer.  Building working trees during checkout and branch is
5980
 
now faster.
5981
 
 
5982
 
Bug Fixes
5983
 
*********
5984
 
 
5985
 
* Avoid KnitCorrupt error extracting inventories from some repositories.
5986
 
  (The data is not corrupt; an internal check is detecting a problem
5987
 
  reading from the repository.)
5988
 
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
5989
 
 
5990
 
* ``bzr status`` was breaking if you merged the same revision twice.
5991
 
  (John Arbash Meinel, #235407)
5992
 
 
5993
 
* Fix infinite loop consuming 100% CPU when a connection is lost while
5994
 
  reading a response body via the smart protocol v1 or v2.
5995
 
  (Andrew Bennetts)
5996
 
 
5997
 
* Inserting a bundle which changes the contents of a file with no trailing
5998
 
  end of line, causing a knit snapshot in a 'knits' repository will no longer
5999
 
  cause KnitCorrupt. (Robert Collins)
6000
 
 
6001
 
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
6002
 
  pull result. It was instead just returning None, which breaks ``bzr
6003
 
  pull``. (John Arbash Meinel, #238149)
6004
 
 
6005
 
* Sanitize branch nick before using it as an attachment filename in
6006
 
  ``bzr send``. (Lukáš Lalinský, #210218)
6007
 
 
6008
 
* Squash ``inv_entry.symlink_target`` to a plain string when
6009
 
  generating DirState details. This prevents from getting a
6010
 
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
6011
 
  (John Arbash Meinel, #135320)
6012
 
 
6013
 
Improvements
6014
 
************
6015
 
 
6016
 
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
6017
 
 
6018
 
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
6019
 
  now quote paths where required). Added ``--null`` option to ``added`` and
6020
 
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
6021
 
  (Adrian Wilkins)
6022
 
 
6023
 
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
6024
 
  (Ian Clatworthy, Aaron Bentley)
6025
 
 
6026
 
Documentation
6027
 
*************
6028
 
 
6029
 
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
6030
 
 
6031
 
Testing
6032
 
*******
6033
 
 
6034
 
* Fix the test HTTPServer to be isolated from chdir calls made while it is
6035
 
  running, allowing it to be used in blackbox tests. (Robert Collins)
6036
 
 
6037
 
API Changes
6038
 
***********
6039
 
 
6040
 
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
6041
 
  which are in the ancestry of other revisions. So if you merge the same
6042
 
  tree twice, or merge an ancestor of an existing merge, it will only
6043
 
  record the newest. (If you merge a descendent, it will replace its
6044
 
  ancestor). (John Arbash Meinel, #235407)
6045
 
 
6046
 
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
6047
 
  through the derived classes do not.  (Aaron Bentley)
6048
 
 
6049
 
Internals
6050
 
*********
6051
 
 
6052
 
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
6053
 
  creating stacked branches. (Robert Collins)
6054
 
 
6055
 
* Knit record serialisation is now stricter on what it will accept, to
6056
 
  guard against potential internal bugs, or broken input. (Robert Collins)
6057
 
 
6058
 
bzr 1.6beta1
6059
 
############
6060
 
 
6061
 
:Released: 2008-06-02
6062
 
 
6063
 
Commands that work on the revision history such as push, pull, missing,
6064
 
uncommit and log are now substantially faster.  This release adds a
6065
 
translation of some of the user documentation into Spanish.  (Contributions of
6066
 
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
6067
 
protocol which is used by default and which allows for more efficient transfers
6068
 
and future extensions.
6069
 
 
6070
 
 
6071
 
Notes When Upgrading
6072
 
********************
6073
 
 
6074
 
* There is a new version of the network protocol used for bzr://, bzr+ssh://
6075
 
  and bzr+http:// connections.  This will allow more efficient requests and
6076
 
  responses, and more graceful fallback when a server is too old to
6077
 
  recognise a request from a more recent client.  Bazaar 1.6 will
6078
 
  interoperate with 0.16 and later versions, but servers should be upgraded
6079
 
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
6080
 
  these protocols.  Use alternatives like SFTP or upgrade those servers.
6081
 
  (Andrew Bennetts, #83935)
6082
 
 
6083
 
Changes
6084
 
*******
6085
 
 
6086
 
* Deprecation warnings will not be suppressed when running ``bzr selftest``
6087
 
  so that developers can see if their code is using deprecated functions.
6088
 
  (John Arbash Meinel)
6089
 
 
6090
 
Features
6091
 
********
6092
 
 
6093
 
* Adding ``-Derror`` will now display a traceback when a plugin fails to
6094
 
  load. (James Westby)
6095
 
 
6096
 
Improvements
6097
 
************
6098
 
 
6099
 
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
6100
 
  the revno of the new revision (``Graph.find_distance_to_null``). This
6101
 
  should make something like ``bzr branch -r -100`` in a shared, no-trees
6102
 
  repository much snappier. (John Arbash Meinel)
6103
 
 
6104
 
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
6105
 
  history. This makes it noticeably faster when logging the last few
6106
 
  revisions. (John Arbash Meinel)
6107
 
 
6108
 
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
6109
 
  (Jerad Cramp, #165086)
6110
 
 
6111
 
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
6112
 
  ``Graph.find_differences`` to determine missing revisions without having
6113
 
  to search the whole ancestry. (John Arbash Meinel, #174625)
6114
 
 
6115
 
* ``bzr uncommit`` now uses partial history access, rather than always
6116
 
  extracting the full revision history for a branch. This makes it
6117
 
  resolve the appropriate revisions much faster (in testing it drops
6118
 
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
6119
 
  step closer to not using full revision history.
6120
 
  (John Arbash Meinel, #172649)
6121
 
 
6122
 
Bugfixes
6123
 
********
6124
 
 
6125
 
* ``bzr merge --lca`` should handle when two revisions have no common
6126
 
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
6127
 
 
6128
 
* ``bzr status`` was breaking if you merged the same revision twice.
6129
 
  (John Arbash Meinel, #235407)
6130
 
 
6131
 
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
6132
 
  fails.  (Andrew Bennetts, #234229)
6133
 
 
6134
 
* Correctly track the base URL of a smart medium when using bzr+http://
6135
 
  URLs, which was causing spurious "No repository present" errors with
6136
 
  branches in shared repositories accessed over bzr+http.
6137
 
  (Andrew Bennetts, #230550)
6138
 
 
6139
 
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
6140
 
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
6141
 
  attribute '_remote_is_at_least_1_2' attribute errors.
6142
 
  (Andrew Bennetts, #220806)
6143
 
 
6144
 
* Failure to delete an obsolete pack file should just give a warning
6145
 
  message, not a fatal error.  It may for example fail if the file is still
6146
 
  in use by another process.
6147
 
  (Martin Pool)
6148
 
 
6149
 
* Fix MemoryError during large fetches over HTTP by limiting the amount of
6150
 
  data we try to read per ``recv`` call.  The problem was observed with
6151
 
  Windows and a proxy, but might affect other environments as well.
6152
 
  (Eric Holmberg, #215426)
6153
 
 
6154
 
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
6155
 
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
6156
 
 
6157
 
* Issue a warning and ignore passwords declared in authentication.conf when
6158
 
  used for an ssh scheme (sftp or bzr+ssh).
6159
 
  (Vincent Ladeuil, #203186)
6160
 
 
6161
 
* Make both http implementations raise appropriate exceptions on 403
6162
 
  Forbidden when POSTing smart requests.
6163
 
  (Vincent Ladeuil, #230223)
6164
 
 
6165
 
* Properly *title* header names in http requests instead of capitalizing
6166
 
  them.
6167
 
  (Vincent Ladeuil, #229076)
6168
 
 
6169
 
* The "Unable to obtain lock" error message now also suggests using
6170
 
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
6171
 
 
6172
 
* Treat an encoding of '' as ascii; this can happen when bzr is run
6173
 
  under vim on Mac OS X.
6174
 
  (Neil Martinsen-Burrell)
6175
 
 
6176
 
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
6177
 
  scope. (Daniel Fischer #235687)
6178
 
 
6179
 
Documentation
6180
 
*************
6181
 
 
6182
 
* Added directory structure and started translation of docs in spanish.
6183
 
  (Martin Albisetti, Lucio Albenga)
6184
 
 
6185
 
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
6186
 
  on the plugin and integration chapters of the User Guide.
6187
 
  (Ian Clatworthy)
6188
 
 
6189
 
* More Bazaar developer documentation about packaging and release process,
6190
 
  and about use of Python reprs.
6191
 
  (Martin Pool, Martin Albisetti)
6192
 
 
6193
 
* Updated Tortise strategy document. (Mark Hammond)
6194
 
 
6195
 
Testing
6196
 
*******
6197
 
 
6198
 
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
6199
 
  (Robert Collins)
6200
 
 
6201
 
* Fix the test HTTPServer to be isolated from chdir calls made while it is
6202
 
  running, allowing it to be used in blackbox tests. (Robert Collins)
6203
 
 
6204
 
* New helper function for splitting test suites
6205
 
  ``split_suite_by_condition``. (Robert Collins)
6206
 
 
6207
 
Internals
6208
 
*********
6209
 
 
6210
 
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
6211
 
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
6212
 
  fairly broken, and the function was unused, so we are getting rid of it.
6213
 
  (John Arbash Meinel)
6214
 
 
6215
 
API Changes
6216
 
***********
6217
 
 
6218
 
* ``Branch.abspath`` is deprecated; use the Tree or Transport
6219
 
  instead.  (Martin Pool)
6220
 
 
6221
 
* ``Branch.update_revisions`` now takes an optional ``Graph``
6222
 
  object. This can be used by ``update_revisions`` when it is
6223
 
  checking ancestry, and allows callers to prefer request to go to a
6224
 
  local branch.  (John Arbash Meinel)
6225
 
 
6226
 
* Branch, Repository, Tree and BzrDir should expose a Transport as an
6227
 
  attribute if they have one, rather than having it indirectly accessible
6228
 
  as ``.control_files._transport``.  This doesn't add a requirement
6229
 
  to support a Transport in cases where it was not needed before;
6230
 
  it just simplifies the way it is reached.  (Martin Pool)
6231
 
 
6232
 
* ``bzr missing --mine-only`` will return status code 0 if you have no
6233
 
  new revisions, but the remote does. Similarly for ``--theirs-only``.
6234
 
  The new code only checks one side, so it doesn't know if the other
6235
 
  side has changes. This seems more accurate with the request anyway.
6236
 
  It also changes the output to print '[This|Other] branch is up to
6237
 
  date.' rather than displaying nothing.  (John Arbash Meinel)
6238
 
 
6239
 
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
6240
 
  are now deprecated in favor of using Transport operations.
6241
 
  (Martin Pool)
6242
 
 
6243
 
* Many methods on ``VersionedFile``, ``Repository`` and in
6244
 
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
6245
 
  (Robert Collins)
6246
 
 
6247
 
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
6248
 
  ``RevisionSpec``. This will disable the existing behavior of passing in
6249
 
  the full revision history to ``self._match_on``. Useful for specs that
6250
 
  don't actually need access to the full history. (John Arbash Meinel)
6251
 
 
6252
 
* The constructors of ``SmartClientMedium`` and its subclasses now require a
6253
 
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
6254
 
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
6255
 
 
6256
 
* The default permissions for creating new files and directories
6257
 
  should now be obtained from ``BzrDir._get_file_mode()`` and
6258
 
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
6259
 
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
6260
 
  as a way for plugins to control this are no longer consulted.
6261
 
  (Martin Pool)
6262
 
 
6263
 
* ``VersionedFile.join`` is deprecated. This method required local
6264
 
  instances of both versioned file objects and was thus hostile to being
6265
 
  used for streaming from a smart server. The new get_record_stream and
6266
 
  insert_record_stream are meant to efficiently replace this method.
6267
 
  (Robert Collins)
6268
 
 
6269
 
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
6270
 
  which are in the ancestry of other revisions. So if you merge the same
6271
 
  tree twice, or merge an ancestor of an existing merge, it will only
6272
 
  record the newest. (If you merge a descendent, it will replace its
6273
 
  ancestor). (John Arbash Meinel, #235407)
6274
 
 
6275
 
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
6276
 
  (Martin Pool)
6277
 
 
6278
 
 
6279
 
bzr 1.5
6280
 
#######
6281
 
 
6282
 
:Released: 2008-05-16
6283
 
 
6284
 
This release of Bazaar includes several updates to the documentation, and fixes
6285
 
to prepare for making rich root support the default format. Many bugs have been
6286
 
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
6287
 
 
6288
 
Changes
6289
 
*******
6290
 
 
6291
 
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
6292
 
  users of packaged software won't be bothered with DeprecationWarnings,
6293
 
  but developers and testers will still see them. (John Arbash Meinel)
6294
 
 
6295
 
Documentation
6296
 
*************
6297
 
 
6298
 
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
6299
 
  on the plugin and integration chapters of the User Guide.
6300
 
  (Ian Clatworthy)
6301
 
 
6302
 
 
6303
 
bzr 1.5rc1
6304
 
##########
6305
 
 
6306
 
:Released: 2008-05-09
6307
 
 
6308
 
Changes
6309
 
*******
6310
 
 
6311
 
* Broader support of GNU Emacs mail clients. Set
6312
 
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
6313
 
  bundle in a mail buffer according to the value of ``mail-user-agent``
6314
 
  variable. (Xavier Maillard)
6315
 
 
6316
 
Improvements
6317
 
************
6318
 
 
6319
 
* Diff now handles revision specs like "branch:" and "submit:" more
6320
 
  efficiently.  (Aaron Bentley, #202928)
6321
 
 
6322
 
* More friendly error given when attempt to start the smart server
6323
 
  on an address already in use. (Andrea Corbellini, #200575)
6324
 
 
6325
 
* Pull completes much faster when there is nothing to pull.
6326
 
  (Aaron Bentley)
6327
 
 
6328
 
Bugfixes
6329
 
********
6330
 
 
6331
 
* Authentication.conf can define sections without password.
6332
 
  (Vincent Ladeuil, #199440)
6333
 
 
6334
 
* Avoid muttering every time a child update does not cause a progress bar
6335
 
  update. (John Arbash Meinel, #213771)
6336
 
 
6337
 
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
6338
 
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
6339
 
  also detects this condition. (John Arbash Meinel, #177855)
6340
 
 
6341
 
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
6342
 
  for ``revision_id=None`` which was not a string.
6343
 
  (John Arbash Meinel, #211661)
6344
 
 
6345
 
* ``bzr commit`` now works with Microsoft's FTP service.
6346
 
  (Andreas Deininger)
6347
 
 
6348
 
* Catch definitions outside sections in authentication.conf.
6349
 
  (Vincent Ladeuil, #217650)
6350
 
 
6351
 
* Conversion from non-rich-root to rich-root(-pack) updates inventory
6352
 
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
6353
 
 
6354
 
* Conversion from non-rich-root to rich-root(-pack) works correctly even
6355
 
  though search keys are not topologically sorted.  (Aaron Bentley)
6356
 
 
6357
 
* Conversion from non-rich-root to rich-root(-pack) works even when a
6358
 
  parent revision has a different root id.  (Aaron Bentley, #177874)
6359
 
 
6360
 
* Disable strace testing until strace is fixed (see bug #103133) and emit a
6361
 
  warning when selftest ends to remind us of leaking tests.
6362
 
  (Vincent Ladeuil, #226769)
6363
 
 
6364
 
* Fetching all revisions from a repository does not cause pack collisions.
6365
 
  (Robert Collins, Aaron Bentley, #212908)
6366
 
 
6367
 
* Fix error about "attempt to add line-delta in non-delta knit".
6368
 
  (Andrew Bennetts, #217701)
6369
 
 
6370
 
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
6371
 
  if the remote server was < version 1.2. This was due to a bug in the
6372
 
  RemoteRepository.get_parent_map() fallback code.
6373
 
  (John Arbash Meinel, #214894)
6374
 
 
6375
 
* Remove leftover code in ``bzr_branch`` that inappropriately creates
6376
 
  a ``branch-name`` file in the branch control directory.
6377
 
  (Martin Pool)
6378
 
 
6379
 
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
6380
 
  rebinding the socket when starting the server a second time.
6381
 
  (John Arbash Meinel, Martin Pool, #164288)
6382
 
 
6383
 
* Severe performance degradation in fetching from knit repositories to
6384
 
  knits and packs due to parsing the entire revisions.kndx on every graph
6385
 
  walk iteration fixed by using the Repository.get_graph API.  There was
6386
 
  another regression in knit => knit fetching which re-read the index for
6387
 
  every revision each side had in common.
6388
 
  (Robert Collins, John Arbash Meinel)
6389
 
 
6390
 
* When logging the changes to a particular file, there was a bug if there
6391
 
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
6392
 
 
6393
 
* xs4all's ftp server returns a temporary error when trying to list an
6394
 
  empty directory, rather than returning an empty list. Adding a
6395
 
  workaround so that we don't get spurious failures.
6396
 
  (John Arbash Meinel, #215522)
6397
 
 
6398
 
Documentation
6399
 
*************
6400
 
 
6401
 
* Expanded the User Guide to include new chapters on popular plugins and
6402
 
  integrating Bazaar into your environment. The *Best practices* chapter
6403
 
  was renamed to *Miscellaneous topics* as suggested by community
6404
 
  feedback as well. (Ian Clatworthy)
6405
 
 
6406
 
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
6407
 
 
6408
 
* Improved the documentation on hooks. (Ian Clatworthy)
6409
 
 
6410
 
* Update authentication docs regarding ssh agents.
6411
 
  (Vincent Ladeuil, #183705)
6412
 
 
6413
 
Testing
6414
 
*******
6415
 
 
6416
 
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
6417
 
  make it easy to identify which test spawned a thread with an unhandled
6418
 
  exception. (Andrew Bennetts)
6419
 
 
6420
 
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
6421
 
  options for debugging tests, these are complementary to the -D
6422
 
  options.  The ``-Dselftest_debug`` global option has been replaced by the
6423
 
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
6424
 
 
6425
 
* Parameterised test ids are preserved correctly to aid diagnosis of test
6426
 
  failures. (Robert Collins, Andrew Bennetts)
6427
 
 
6428
 
* selftest now accepts --starting-with <id> to load only the tests whose id
6429
 
  starts with the one specified. This greatly speeds up running the test
6430
 
  suite on a limited set of tests and can be used to run the tests for a
6431
 
  single module, a single class or even a single test.  (Vincent Ladeuil)
6432
 
 
6433
 
* The test suite modules have been modified to define load_tests() instead
6434
 
  of test_suite(). That speeds up selective loading (via --load-list)
6435
 
  significantly and provides many examples on how to migrate (grep for
6436
 
  load_tests).  (Vincent Ladeuil)
6437
 
 
6438
 
Internals
6439
 
*********
6440
 
 
6441
 
* ``Hooks.install_hook`` is now deprecated in favour of
6442
 
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
6443
 
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
6444
 
 
6445
 
* Implement xml8 serializer.  (Aaron Bentley)
6446
 
 
6447
 
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
6448
 
  deprecation wrappers.  (Martin Pool)
6449
 
 
6450
 
* ``Repository.revision_parents`` is now deprecated in favour of
6451
 
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
6452
 
 
6453
 
* The Python ``assert`` statement is no longer used in Bazaar source, and
6454
 
  a test checks this.  (Martin Pool)
6455
 
 
6456
 
API Changes
6457
 
***********
6458
 
 
6459
 
* ``bzrlib.status.show_pending_merges`` requires the repository to be
6460
 
  locked by the caller. Callers should have been doing it anyway, but it
6461
 
  will now raise an exception if they do not. (John Arbash Meinel)
6462
 
 
6463
 
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
6464
 
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
6465
 
  Repository.item_keys_introduced_by() no longer take read locks.
6466
 
  (Aaron Bentley)
6467
 
 
6468
 
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
6469
 
  towards removing LockableFiles and ``.control_files`` entirely.
6470
 
  (Martin Pool)
6471
 
 
6472
 
* Methods deprecated prior to 1.1 have been removed.
6473
 
  (Martin Pool)
6474
 
 
6475
 
 
6476
 
bzr 1.4 
6477
 
#######
6478
 
 
6479
 
:Released: 2008-04-28
6480
 
 
6481
 
This release of Bazaar includes handy improvements to the speed of log and
6482
 
status, new options for several commands, improved documentation, and better
6483
 
hooks, including initial code for server-side hooks.  A number of bugs have
6484
 
been fixed, particularly in interoperability between different formats or
6485
 
different releases of Bazaar over there network.  There's been substantial
6486
 
internal work in both the repository and network code to enable new features
6487
 
and faster performance.
6488
 
 
6489
 
Bug Fixes
6490
 
*********
6491
 
 
6492
 
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
6493
 
  if the remote server was < version 1.2.  This was due to a bug in the
6494
 
  RemoteRepository.get_parent_map() fallback code.
6495
 
  (John Arbash Meinel, Andrew Bennetts, #214894)
6496
 
 
6497
 
 
6498
 
bzr 1.4rc2
6499
 
##########
6500
 
 
6501
 
:Released: 2008-04-21
6502
 
 
6503
 
Bug Fixes
6504
 
*********
6505
 
 
6506
 
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
6507
 
  for ``revision_id=None`` which was not a string.
6508
 
  (John Arbash Meinel, #211661)
6509
 
 
6510
 
* Fixed a bug in handling ghost revisions when logging changes in a
6511
 
  particular file.  (John Arbash Meinel, #209948)
6512
 
 
6513
 
* Fix error about "attempt to add line-delta in non-delta knit".
6514
 
  (Andrew Bennetts, #205156)
6515
 
 
6516
 
* Fixed performance degradation in fetching from knit repositories to
6517
 
  knits and packs due to parsing the entire revisions.kndx on every graph
6518
 
  walk iteration fixed by using the Repository.get_graph API.  There was
6519
 
  another regression in knit => knit fetching which re-read the index for
6520
 
  every revision each side had in common.
6521
 
  (Robert Collins, John Arbash Meinel)
6522
 
 
6523
 
 
6524
 
bzr 1.4rc1
6525
 
##########
6526
 
 
6527
 
:Released: 2008-04-11
6528
 
 
6529
 
Changes
6530
 
*******
6531
 
 
6532
 
* bzr main script cannot be imported (Benjamin Peterson)
6533
 
 
6534
 
* On Linux bzr additionally looks for plugins in arch-independent site
6535
 
  directory. (Toshio Kuratomi)
6536
 
 
6537
 
* The ``set_rh`` branch hook is now deprecated. Please migrate
6538
 
  any plugins using this hook to use an alternative, e.g.
6539
 
  ``post_change_branch_tip``. (Ian Clatworthy)
6540
 
 
6541
 
* When a plugin cannot be loaded as the file path is not a valid
6542
 
  python module name bzr will now strip a ``bzr_`` prefix from the
6543
 
  front of the suggested name, as many plugins (e.g. bzr-svn)
6544
 
  want to be installed without this prefix. It is a common mistake
6545
 
  to have a folder named "bzr-svn" for that plugin, especially
6546
 
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
6547
 
  Andrew Cowie)
6548
 
 
6549
 
* UniqueIntegerBugTracker now appends bug-ids instead of joining
6550
 
  them to the base URL. Plugins that register bug trackers may
6551
 
  need a trailing / added to the base URL if one is not already there.
6552
 
  (James Wesby, Andrew Cowie)
6553
 
 
6554
 
Features
6555
 
********
6556
 
 
6557
 
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
6558
 
 
6559
 
* ``status`` now accepts ``--no-pending`` to show the status without
6560
 
  listing pending merges, which speeds up the command a lot on large
6561
 
  histories.  (James Westby, #202830)
6562
 
 
6563
 
* New ``post_change_branch_tip`` hook that is called after the
6564
 
  branch tip is moved but while the branch is still write-locked.
6565
 
  See the User Reference for signature details.
6566
 
  (Ian Clatworthy, James Henstridge)
6567
 
 
6568
 
* Reconfigure can convert a branch to be standalone or to use a shared
6569
 
  repository.  (Aaron Bentley)
6570
 
 
6571
 
Improvements
6572
 
************
6573
 
 
6574
 
* The smart protocol now has support for setting branches' revision info
6575
 
  directly.  This should make operations like push slightly faster, and is a
6576
 
  step towards server-side hooks.  The new request method name is
6577
 
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
6578
 
 
6579
 
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
6580
 
  (James Westby, Andrew Cowie)
6581
 
 
6582
 
* ``bzr switch`` will attempt to find branches to switch to relative to the
6583
 
  current branch. E.g. ``bzr switch branchname`` will look for
6584
 
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
6585
 
  Wouter van Heyst)
6586
 
 
6587
 
* Diff is now more specific about execute-bit changes it describes
6588
 
  (Chad Miller)
6589
 
 
6590
 
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
6591
 
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
6592
 
  rather than just 1 byte at a time.  (Andrew Bennetts)
6593
 
 
6594
 
* Log --short and --line are much faster when -r is not specified.
6595
 
  (Aaron Bentley)
6596
 
 
6597
 
* Merge is faster.  We no longer check a file's existence unnecessarily
6598
 
  when merging the execute bit.  (Aaron Bentley)
6599
 
 
6600
 
* ``bzr status`` on an explicit list of files no longer shows pending
6601
 
  merges, making it much faster on large trees. (John Arbash Meinel)
6602
 
 
6603
 
* The launchpad directory service now warns the user if they have not set
6604
 
  their launchpad login and are trying to resolve a URL using it, just
6605
 
  in case they want to do a write operation with it.  (James Westby)
6606
 
 
6607
 
* The smart protocol client is slightly faster, because it now only queries
6608
 
  the server for the protocol version once per connection.  Also, the HTTP
6609
 
  transport will now automatically probe for and use a smart server if
6610
 
  one is present.  You can use the new ``nosmart+`` transport decorator
6611
 
  to get the old behaviour.  (Andrew Bennetts)
6612
 
 
6613
 
* The ``version`` command takes a ``--short`` option to print just the
6614
 
  version number, for easier use in scripts.  (Martin Pool)
6615
 
 
6616
 
* Various operations with revision specs and commands that calculate
6617
 
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
6618
 
 
6619
 
Bugfixes
6620
 
********
6621
 
 
6622
 
* Add ``root_client_path`` parameter to SmartWSGIApp and
6623
 
  SmartServerRequest.  This makes it possible to publish filesystem
6624
 
  locations that don't exactly match URL paths. SmartServerRequest
6625
 
  subclasses should use the new ``translate_client_path`` and
6626
 
  ``transport_from_client_path`` methods when dealing with paths received
6627
 
  from a client to take this into account.  (Andrew Bennetts, #124089)
6628
 
 
6629
 
* ``bzr mv a b`` can be now used also to rename previously renamed
6630
 
  directories, not only files. (Lukáš Lalinský, #107967)
6631
 
 
6632
 
* ``bzr uncommit --local`` can now remove revisions from the local
6633
 
  branch to be symmetric with ``bzr commit --local``.
6634
 
  (John Arbash Meinel, #93412)
6635
 
 
6636
 
* Don't ask for a password if there is no real terminal.
6637
 
  (Alexander Belchenko, #69851)
6638
 
 
6639
 
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
6640
 
  fetching revisions from a knit to pack repository or vice versa using
6641
 
  bzr:// (including over http or ssh).
6642
 
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
6643
 
 
6644
 
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
6645
 
  fixed ``_get_bytes`` in the same module to use the push back buffer.
6646
 
  These bugs had no known impact in normal use, but were problematic for
6647
 
  developers working on the code, and were likely to cause real bugs sooner
6648
 
  or later.  (Andrew Bennetts)
6649
 
 
6650
 
* Implement handling of basename parameter for DefaultMail.  (James Westby)
6651
 
 
6652
 
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
6653
 
  (Andrew Bennetts, #213425)
6654
 
 
6655
 
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
6656
 
 
6657
 
* Merges that add files to deleted root directories complete.  They
6658
 
  do create conflicts.  (Aaron Bentley, #210092)
6659
 
 
6660
 
* vsftp's return ``550 RNFR command failed.`` supported.
6661
 
  (Marcus Trautwig, #129786)
6662
 
 
6663
 
Documentation
6664
 
*************
6665
 
 
6666
 
* Improved documentation on send/merge relationship. (Peter Schuller)
6667
 
 
6668
 
* Minor fixes to the User Guide. (Matthew Fuller)
6669
 
 
6670
 
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
6671
 
 
6672
 
* Added Integrating with Bazaar document for developers (Martin Albisetti)
6673
 
 
6674
 
API Breaks
6675
 
**********
6676
 
 
6677
 
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
6678
 
  non-ghost aware repository such as weaves will now fail if there are
6679
 
  ghosts.  (Robert Collins)
6680
 
 
6681
 
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
6682
 
  now requires the ``index`` and ``access_method`` parameters to be
6683
 
  supplied. A compatible shim has been kept in the new function
6684
 
  ``knit.make_file_knit``. (Robert Collins)
6685
 
 
6686
 
* Log formatters must now provide log_revision instead of show and
6687
 
  show_merge_revno methods. The latter had been deprecated since the 0.17
6688
 
  release. (James Westby)
6689
 
 
6690
 
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
6691
 
  (Andrew Bennetts)
6692
 
 
6693
 
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
6694
 
 
6695
 
* ``Repository.get_revision_graph`` is deprecated, with no replacement
6696
 
  method. The method was size(history) and not desirable. (Robert Collins)
6697
 
 
6698
 
* ``revision.revision_graph`` is deprecated, with no replacement function.
6699
 
  The function was size(history) and not desirable. (Robert Collins)
6700
 
 
6701
 
* ``Transport.get_shared_medium`` is deprecated.  Use
6702
 
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
6703
 
 
6704
 
* ``VersionedFile`` factories now accept a get_scope parameter rather
6705
 
  than using a call to ``transaction_finished``, allowing the removal of
6706
 
  the fixed list of versioned files per repository. (Robert Collins)
6707
 
 
6708
 
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
6709
 
  allowed lower memory use, all users of annotations wanted full file
6710
 
  annotations, and there is no storage format suitable for incremental
6711
 
  line-by-line annotation. (Robert Collins)
6712
 
 
6713
 
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
6714
 
  is no longer used - reading the content of a file that is undergoing a
6715
 
  file level merge to identical state on two branches is rare enough, and
6716
 
  not expensive enough to special case. (Robert Collins)
6717
 
 
6718
 
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
6719
 
  These methods added significant complexity to the ``VersionedFile``
6720
 
  implementation, but were only used for optimising fetches from knits -
6721
 
  which can be done from outside the knit layer, or via a caching
6722
 
  decorator. As knits are not the default format, the complexity is no
6723
 
  longer worth paying. (Robert Collins)
6724
 
 
6725
 
* ``VersionedFile.create_empty`` is removed. This method presupposed a
6726
 
  sensible mapping to a transport for individual files, but pack backed
6727
 
  versioned files have no such mapping. (Robert Collins)
6728
 
 
6729
 
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
6730
 
  The method was size(history) and not desirable. (Robert Collins)
6731
 
 
6732
 
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
6733
 
  replacement method.  The method was size(history) and not desirable.
6734
 
  (Robert Collins)
6735
 
 
6736
 
* ``VersionedFile.get_parents`` is deprecated, please use
6737
 
  ``VersionedFile.get_parent_map``. (Robert Collins)
6738
 
 
6739
 
* ``VersionedFile.get_sha1`` is deprecated, please use
6740
 
  ``VersionedFile.get_sha1s``. (Robert Collins)
6741
 
 
6742
 
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
6743
 
  and unused outside of a single test. (Robert Collins)
6744
 
 
6745
 
* ``VersionedFile.iter_parents`` is now deprecated in favour of
6746
 
  ``get_parent_map`` which can be used to instantiate a Graph on a
6747
 
  VersionedFile. (Robert Collins)
6748
 
 
6749
 
* ``VersionedFileStore`` no longer uses the transaction parameter given
6750
 
  to most methods; amongst other things this means that the
6751
 
  get_weave_or_empty method no longer guarantees errors on a missing weave
6752
 
  in a readonly transaction, and no longer caches versioned file instances
6753
 
  which reduces memory pressure (but requires more careful management by
6754
 
  callers to preserve performance). (Robert Collins)
6755
 
 
6756
 
Testing
6757
 
*******
6758
 
 
6759
 
* New -Dselftest_debug flag disables clearing of the debug flags during
6760
 
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
6761
 
  failing test.  Be aware that using this feature is likely to cause
6762
 
  spurious test failures if used with the full suite. (Andrew Bennetts)
6763
 
 
6764
 
* selftest --load-list now uses a new more agressive test loader that will
6765
 
  avoid loading unneeded modules and building their tests. Plugins can use
6766
 
  this new loader by defining a load_tests function instead of a test_suite
6767
 
  function. (a forthcoming patch will provide many examples on how to
6768
 
  implement this).
6769
 
  (Vincent Ladeuil)
6770
 
 
6771
 
* selftest --load-list now does some sanity checks regarding duplicate test
6772
 
  IDs and tests present in the list but not found in the actual test suite.
6773
 
  (Vincent Ladeuil)
6774
 
 
6775
 
* Slightly more concise format for the selftest progress bar, so there's
6776
 
  more space to show the test name.  (Martin Pool) ::
6777
 
 
6778
 
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
6779
 
 
6780
 
* The test suite takes much less memory to run, and is a bit faster.  This
6781
 
  is done by clearing most attributes of TestCases after running them, if
6782
 
  they succeeded.  (Andrew Bennetts)
6783
 
 
6784
 
Internals
6785
 
*********
6786
 
 
6787
 
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
6788
 
 
6789
 
* Added basic infrastructure for automatic plugin suggestion.
6790
 
  (Martin Albisetti)
6791
 
 
6792
 
* If a ``LockableFiles`` object is not explicitly unlocked (for example
6793
 
  because of a missing ``try/finally`` block, it will give a warning but
6794
 
  not automatically unlock itself.  (Previously they did.)  This
6795
 
  sometimes caused knock-on errors if for example the network connection
6796
 
  had already failed, and should not be relied upon by code.
6797
 
  (Martin Pool, #109520)
6798
 
 
6799
 
* ``make dist`` target to build a release tarball, and also
6800
 
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
6801
 
 
6802
 
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
6803
 
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
6804
 
  callers don't need to try distinguish unknown request errors from other
6805
 
  errors.  (Andrew Bennetts)
6806
 
 
6807
 
* ``set_make_working_trees`` is now implemented provided on all repository
6808
 
  implementations (Aaron Bentley)
6809
 
 
6810
 
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
6811
 
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
6812
 
 
6813
 
 
6814
 
bzr 1.3.1
6815
 
#########
6816
 
 
6817
 
:Released: 2008-04-09
6818
 
 
6819
 
No changes from 1.3.1rc1.
6820
 
 
6821
 
 
6822
 
bzr 1.3.1rc1
6823
 
############
6824
 
 
6825
 
:Released: 2008-04-04
6826
 
 
6827
 
Bug Fixes
6828
 
*********
6829
 
 
6830
 
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
6831
 
  fetching revisions from a knit to pack repository or vice versa using
6832
 
  bzr:// (including over http or ssh).
6833
 
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
6834
 
 
6835
 
 
6836
 
bzr 1.3
6837
 
#######
6838
 
 
6839
 
:Released: 2008-03-20
6840
 
 
6841
 
Bazaar has become part of the GNU project <http://www.gnu.org>
6842
 
 
6843
 
Many operations that act on history, including ``log`` and ``annotate`` are now
6844
 
substantially faster.  Several bugs have been fixed and several new options and
6845
 
features have been added.
6846
 
 
6847
 
Testing
6848
 
*******
6849
 
 
6850
 
* Avoid spurious failure of ``TestVersion.test_version`` matching
6851
 
  directory names.
6852
 
  (#202778, Martin Pool)
6853
 
 
6854
 
 
6855
 
bzr 1.3rc1
6856
 
##########
6857
 
 
6858
 
:Released: 2008-03-16
6859
 
 
6860
 
Notes When Upgrading
6861
 
********************
6862
 
 
6863
 
* The backup directory created by ``upgrade`` is now called
6864
 
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
6865
 
 
6866
 
Changes
6867
 
*******
6868
 
 
6869
 
* A new repository format 'development' has been added. This format will
6870
 
  represent the latest 'in-progress' format that the bzr developers are
6871
 
  interested in getting early-adopter testing and feedback on.
6872
 
  ``doc/developers/development-repo.txt`` has detailed information.
6873
 
  (Robert Collins)
6874
 
 
6875
 
* BZR_LOG environment variable controls location of .bzr.log trace file.
6876
 
  User can suppress writing messages to .bzr.log by using '/dev/null'
6877
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
6878
 
  is not defined but BZR_HOME is defined then default location
6879
 
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6880
 
  (Alexander Belchenko, #106117)
6881
 
 
6882
 
* ``launchpad`` builtin plugin now shipped as separate part in standalone
6883
 
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
6884
 
  and standalone installer allows user to skip installation of this plugin.
6885
 
  (Alexander Belchenko)
6886
 
 
6887
 
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
6888
 
 
6889
 
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
6890
 
  missing final fields.  (Martin Pool)
6891
 
 
6892
 
Features
6893
 
********
6894
 
 
6895
 
* ``branch`` and ``checkout`` can hard-link working tree files, which is
6896
 
  faster and saves space.  (Aaron Bentley)
6897
 
 
6898
 
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
6899
 
  the submit branch to determine the email address to send to.
6900
 
  (Jelmer Vernooij)
6901
 
 
6902
 
Improvements
6903
 
************
6904
 
 
6905
 
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
6906
 
 
6907
 
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
6908
 
 
6909
 
* Directory services can now be registered, allowing special URLs to be
6910
 
  dereferenced into real URLs.  This is a generalization and cleanup of
6911
 
  the lp: transport lookup.  (Aaron Bentley)
6912
 
 
6913
 
* Merge directives that are automatically attached to emails have nicer
6914
 
  filenames, based on branch-nick + revno. (Aaron Bentley)
6915
 
 
6916
 
* ``push`` has a ``--revision`` option, to specify what revision to push up
6917
 
  to.  (Daniel Watkins)
6918
 
 
6919
 
* Significantly reducing execution time and network traffic for trivial
6920
 
  case of running ``bzr missing`` command for two identical branches.
6921
 
  (Alexander Belchenko)
6922
 
 
6923
 
* Speed up operations that look at the revision graph (such as 'bzr log').
6924
 
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
6925
 
  extract the revision history. This allows filtering ghosts while
6926
 
  stepping instead of needing to peek ahead. (John Arbash Meinel)
6927
 
 
6928
 
* The ``hooks`` command lists installed hooks, to assist in debugging.
6929
 
  (Daniel Watkins)
6930
 
 
6931
 
* Updates to how ``annotate`` work. Should see a measurable improvement in
6932
 
  performance and memory consumption for file with a lot of merges.
6933
 
  Also, correctly handle when a line is introduced by both parents (it
6934
 
  should be attributed to the first merge which notices this, and not
6935
 
  to all subsequent merges.) (John Arbash Meinel)
6936
 
 
6937
 
Bugfixes
6938
 
********
6939
 
 
6940
 
* Autopacking no longer holds the full set of inventory lines in
6941
 
  memory while copying. For large repositories, this can amount to
6942
 
  hundreds of MB of ram consumption.
6943
 
  (Ian Clatworthy, John Arbash Meinel)
6944
 
 
6945
 
* Cherrypicking when using ``--format=merge3`` now explictly excludes
6946
 
  BASE lines. (John Arbash Meinel, #151731)
6947
 
 
6948
 
* Disable plink's interactive prompt for password.
6949
 
  (#107593, Dmitry Vasiliev)
6950
 
 
6951
 
* Encode command line arguments from unicode to user_encoding before
6952
 
  invoking external mail client in `bzr send` command.
6953
 
  (#139318, Alexander Belchenko)
6954
 
 
6955
 
* Fixed problem connecting to ``bzr+https://`` servers.
6956
 
  (#198793, John Ferlito)
6957
 
 
6958
 
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
6959
 
  #196618)
6960
 
 
6961
 
* Include quick-start-summary.svg file to python-based installer(s)
6962
 
  for Windows. (#192924, Alexander Belchenko)
6963
 
 
6964
 
* lca merge now respects specified files. (Aaron Bentley)
6965
 
 
6966
 
* Make version-info --custom imply --all. (#195560, James Westby)
6967
 
 
6968
 
* ``merge --preview`` now works for merges that add or modify
6969
 
  symlinks (James Henstridge)
6970
 
 
6971
 
* Redirecting the output from ``bzr merge`` (when the remembered
6972
 
  location is used) now works. (John Arbash Meinel)
6973
 
 
6974
 
* setup.py script explicitly checks for Python version.
6975
 
  (Jari Aalto, Alexander Belchenko, #200569)
6976
 
 
6977
 
* UnknownFormatErrors no longer refer to branches regardless of kind of
6978
 
  unknown format. (Daniel Watkins, #173980)
6979
 
 
6980
 
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
6981
 
  signs, among other small improvements. (Matt Nordhoff, #86838)
6982
 
 
6983
 
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
6984
 
  errors.  (Aaron Bentley, #196780)
6985
 
 
6986
 
Documentation
6987
 
*************
6988
 
 
6989
 
* Explained how to use ``version-info --custom`` in the User Guide.
6990
 
  (Neil Martinsen-Burrell)
6991
 
 
6992
 
API Breaks
6993
 
**********
6994
 
 
6995
 
* Support for loading plugins from zip files and
6996
 
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
6997
 
  (Alexander Belchenko)
6998
 
 
6999
 
Testing
7000
 
*******
7001
 
 
7002
 
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
7003
 
 
7004
 
* The branch interface tests were invalid for branches using rich-root
7005
 
  repositories because the empty string is not a valid file-id.
7006
 
  (Robert Collins)
7007
 
 
7008
 
Internals
7009
 
*********
7010
 
 
7011
 
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
7012
 
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
7013
 
  stop part-way through. (John Arbash Meinel)
7014
 
 
7015
 
* New module ``tools/package_mf.py`` provide custom module finder for
7016
 
  python packages (improves standard python library's modulefinder.py)
7017
 
  used by ``setup.py`` script while building standalone bzr.exe.
7018
 
  (Alexander Belchenko)
7019
 
 
7020
 
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
7021
 
  detecting external lookup support on remote repositories. This method is
7022
 
  now attempted first when lookup up repositories, leading to an extra
7023
 
  round trip on older bzr smart servers. (Robert Collins)
7024
 
 
7025
 
* Repository formats have a new supported-feature attribute
7026
 
  ``supports_external_lookups`` used to indicate repositories which support
7027
 
  falling back to other repositories when they have partial data.
7028
 
  (Robert Collins)
7029
 
 
7030
 
* ``Repository.get_revision_graph_with_ghosts`` and
7031
 
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
7032
 
  have been deprecated.  (John Arbash Meinel)
7033
 
 
7034
 
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
7035
 
  ``Tree._iter_changes``. The api is now considered stable and ready for
7036
 
  external users.  (Aaron Bentley)
7037
 
 
7038
 
* The bzrdir format registry now accepts an ``alias`` keyword to
7039
 
  register_metadir, used to indicate that a format name is an alias for
7040
 
  some other format and thus should not be reported when describing the
7041
 
  format. (Robert Collins)
7042
 
 
7043
 
 
7044
 
bzr 1.2
7045
 
#######
7046
 
 
7047
 
:Released: 2008-02-15
7048
 
 
7049
 
Bug Fixes
7050
 
*********
7051
 
 
7052
 
* Fix failing test in Launchpad plugin. (Martin Pool)
7053
 
 
7054
 
 
7055
 
bzr 1.2rc1
7056
 
##########
7057
 
 
7058
 
:Released: 2008-02-13
7059
 
 
7060
 
Notes When Upgrading
7061
 
********************
7062
 
 
7063
 
* Fetching via the smart protocol may need to reconnect once during a fetch
7064
 
  if the remote server is running Bazaar 1.1 or earlier, because the client
7065
 
  attempts to use more efficient requests that confuse older servers.  You
7066
 
  may be required to re-enter a password or passphrase when this happens.
7067
 
  This won't happen if the server is upgraded to Bazaar 1.2.
7068
 
  (Andrew Bennetts)
7069
 
 
7070
 
Changes
7071
 
*******
7072
 
 
7073
 
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
7074
 
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
7075
 
 
7076
 
* Formatting of ``bzr plugins`` output is changed to be more human-
7077
 
  friendly. Full path of plugins locations will be shown only with
7078
 
  ``--verbose`` command-line option. (Alexander Belchenko)
7079
 
 
7080
 
* ``merge`` now prefers to use the submit branch, but will fall back to
7081
 
  parent branch.  For many users, this has no effect.  But some users who
7082
 
  pull and merge on the same branch will notice a change.  This change
7083
 
  makes it easier to work on a branch on two different machines, pulling
7084
 
  between the machines, while merging from the upstream.
7085
 
  ``merge --remember`` can now be used to set the submit_branch.
7086
 
  (Aaron Bentley)
7087
 
 
7088
 
Features
7089
 
********
7090
 
 
7091
 
* ``merge --preview`` produces a diff of the changes merge would make,
7092
 
  but does not actually perform the merge.  (Aaron Bentley)
7093
 
 
7094
 
* New smart method ``Repository.get_parent_map`` for getting revision
7095
 
  parent data. This returns additional parent information topologically
7096
 
  adjacent to the requested data to reduce round trip latency impacts.
7097
 
  (Robert Collins)
7098
 
 
7099
 
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
7100
 
  revision data that streams revision data via a chunked encoding.  This
7101
 
  avoids buffering large amounts of revision data on the server and on the
7102
 
  client, and sends less data to the server to request the revisions.
7103
 
  (Andrew Bennetts, Robert Collins, #178353)
7104
 
 
7105
 
* The launchpad plugin now handles lp urls of the form
7106
 
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
7107
 
  launchpad instance to do the resolution of the branch identities.
7108
 
  This is primarily of use to Launchpad developers, but can also
7109
 
  be used by other users who want to try out Launchpad as
7110
 
  a branch location without messing up their public Launchpad
7111
 
  account.  Branches that are pushed to the staging environment
7112
 
  have an expected lifetime of one day. (Tim Penhey)
7113
 
 
7114
 
Improvements
7115
 
************
7116
 
 
7117
 
* Creating a new branch no longer tries to read the entire revision-history
7118
 
  unnecessarily over smart server operations. (Robert Collins)
7119
 
 
7120
 
* Fetching between different repository formats with compatible models now
7121
 
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
7122
 
 
7123
 
* The ``--coverage`` option is now global, rather specific to ``bzr
7124
 
  selftest``.  (Andrew Bennetts)
7125
 
 
7126
 
* The ``register-branch`` command will now use the public url of the branch
7127
 
  containing the current directory, if one has been set and no explicit
7128
 
  branch is provided.  (Robert Collins)
7129
 
 
7130
 
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
7131
 
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
7132
 
  (John Arbash Meinel)
7133
 
 
7134
 
Bugfixes
7135
 
********
7136
 
 
7137
 
* Calculate remote path relative to the shared medium in _SmartClient.  This
7138
 
  is related to the problem in bug #124089.  (Andrew Bennetts)
7139
 
 
7140
 
* Cleanly handle connection errors in smart protocol version two, the same
7141
 
  way as they are handled by version one.  (Andrew Bennetts)
7142
 
 
7143
 
* Clearer error when ``version-info --custom`` is used without
7144
 
  ``--template`` (Lukáš Lalinský)
7145
 
 
7146
 
* Don't raise UnavailableFeature during test setup when medusa is not
7147
 
  available or tearDown is never called leading to nasty side effects.
7148
 
  (#137823, Vincent Ladeuil)
7149
 
 
7150
 
* If a plugin's test suite cannot be loaded, for example because of a syntax
7151
 
  error in the tests, then ``selftest`` fails, rather than just printing
7152
 
  a warning.  (Martin Pool, #189771)
7153
 
 
7154
 
* List possible values for BZR_SSH environment variable in env-variables
7155
 
  help topic. (Alexander Belchenko, #181842)
7156
 
 
7157
 
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
7158
 
  popping the log redirection now precisely restores the previous state,
7159
 
  which makes it easier to use bzr log output from other programs.
7160
 
  TestCaseInTempDir no longer depends on a log redirection being established
7161
 
  by the test framework, which lets bzr tests cleanly run from a normal
7162
 
  unittest runner.
7163
 
  (#124153, #124849, Martin Pool, Jonathan Lange)
7164
 
 
7165
 
* ``pull --quiet`` is now more quiet, in particular a message is no longer
7166
 
  printed when the remembered pull location is used. (James Westby,
7167
 
  #185907)
7168
 
 
7169
 
* ``reconfigure`` can safely be interrupted while fetching.
7170
 
  (Aaron Bentley, #179316)
7171
 
 
7172
 
* ``reconfigure`` preserves tags when converting to and from lightweight
7173
 
  checkouts.  (Aaron Bentley, #182040)
7174
 
 
7175
 
* Stop polluting /tmp when running selftest.
7176
 
  (Vincent Ladeuil, #123363)
7177
 
 
7178
 
* Switch from NFKC => NFC for normalization checks. NFC allows a few
7179
 
  more characters which should be considered valid.
7180
 
  (John Arbash Meinel, #185458)
7181
 
 
7182
 
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
7183
 
  interacting badly with a bug on the launchpad side. (Robert Collins)
7184
 
 
7185
 
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
7186
 
  tracebacks.  (Andrew Bennetts, #182849)
7187
 
 
7188
 
API Breaks
7189
 
**********
7190
 
 
7191
 
* Classes implementing Merge types like Merge3Merger must now accept (and
7192
 
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
7193
 
 
7194
 
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
7195
 
  to previously take a write lock (and start a write group.)
7196
 
  (Martin Pool)
7197
 
 
7198
 
Testing
7199
 
*******
7200
 
 
7201
 
* selftest now accepts --load-list <file> to load a test id list. This
7202
 
  speeds up running the test suite on a limited set of tests.
7203
 
  (Vincent Ladeuil)
7204
 
 
7205
 
Internals
7206
 
*********
7207
 
 
7208
 
* Add a new method ``get_result`` to graph search objects. The resulting
7209
 
  ``SearchResult`` can be used to recreate the search later, which will
7210
 
  be useful in reducing network traffic. (Robert Collins)
7211
 
 
7212
 
* Use convenience function to check whether two repository handles
7213
 
  are referring to the same repository in ``Repository.get_graph``.
7214
 
  (Jelmer Vernooij, #187162)
7215
 
 
7216
 
* Fetching now passes the find_ghosts flag through to the
7217
 
  ``InterRepository.missing_revision_ids`` call consistently for all
7218
 
  repository types. This will enable faster missing revision discovery with
7219
 
  bzr+ssh. (Robert Collins)
7220
 
 
7221
 
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
7222
 
 
7223
 
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
7224
 
  ``InterRepository.search_missing_revision_ids`` which returns a
7225
 
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
7226
 
  server. (Robert Collins)
7227
 
 
7228
 
* New error ``NoPublicBranch`` for commands that need a public branch to
7229
 
  operate. (Robert Collins)
7230
 
 
7231
 
* New method ``iter_inventories`` on Repository for access to many
7232
 
  inventories. This is primarily used by the ``revision_trees`` method, as
7233
 
  direct access to inventories is discouraged. (Robert Collins)
7234
 
 
7235
 
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
7236
 
  which will split out ghosts and present parents into two separate sets,
7237
 
  useful for code which needs to be aware of ghosts (e.g. fetching data
7238
 
  cares about ghosts during revision selection). (Robert Collins)
7239
 
 
7240
 
* Record a timestamp against each mutter to the trace file, relative to the
7241
 
  first import of bzrlib.  (Andrew Bennetts)
7242
 
 
7243
 
* ``Repository.get_data_stream`` is now deprecated in favour of
7244
 
  ``Repository.get_data_stream_for_search`` which allows less network
7245
 
  traffic when requesting data streams over a smart server. (Robert Collins)
7246
 
 
7247
 
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
7248
 
  removing one round trip on many network operations. (Robert Collins)
7249
 
 
7250
 
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
7251
 
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
7252
 
 
7253
 
* Repository has a new method ``has_revisions`` which signals the presence
7254
 
  of many revisions by returning a set of the revisions listed which are
7255
 
  present. This can be done by index queries without reading data for parent
7256
 
  revision names etc. (Robert Collins)
7257
 
 
7258
 
 
7259
 
bzr 1.1
7260
 
#######
7261
 
 
7262
 
:Released: 2008-01-15
7263
 
 
7264
 
(no changes from 1.1rc1)
7265
 
 
7266
 
bzr 1.1rc1
7267
 
##########
7268
 
 
7269
 
:Released: 2008-01-05
7270
 
 
7271
 
Changes
7272
 
*******
7273
 
 
7274
 
* Dotted revision numbers have been revised. Instead of growing longer with
7275
 
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
7276
 
  we now report 1.2.1.) This helps scale long lived branches which have many
7277
 
  feature branches merged between them. (John Arbash Meinel)
7278
 
 
7279
 
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
7280
 
  Use ``bzr diff branch1 --new branch2`` instead. This change has
7281
 
  been made to remove the ambiguity where ``branch2`` is in fact a
7282
 
  specific file to diff within ``branch1``.
7283
 
 
7284
 
Features
7285
 
********
7286
 
 
7287
 
* New option to use custom template-based formats in  ``bzr version-info``.
7288
 
  (Lukáš Lalinský)
7289
 
 
7290
 
* diff '--using' allows an external diff tool to be used for files.
7291
 
  (Aaron Bentley)
7292
 
 
7293
 
* New "lca" merge-type for fast everyday merging that also supports
7294
 
  criss-cross merges.  (Aaron Bentley)
7295
 
 
7296
 
Improvements
7297
 
************
7298
 
 
7299
 
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
7300
 
  #90049)
7301
 
 
7302
 
* ``branch`` and ``checkout`` can now use files from a working tree to
7303
 
  to speed up the process.  For checkout, this requires the new
7304
 
  --files-from flag.  (Aaron Bentley)
7305
 
 
7306
 
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
7307
 
 
7308
 
* ``bzr diff`` now works on branches without working trees. Tree-less
7309
 
  branches can also be compared to each other and to working trees using
7310
 
  the new diff options ``--old`` and ``--new``. Diffing between branches,
7311
 
  with or without trees, now supports specific file filtering as well.
7312
 
  (Ian Clatworthy, #6700)
7313
 
 
7314
 
* ``bzr pack`` now orders revision texts in topological order, with newest
7315
 
  at the start of the file, promoting linear reads for ``bzr log`` and the
7316
 
  like. This partially fixes #154129. (Robert Collins)
7317
 
 
7318
 
* Merge directives now fetch prerequisites from the target branch if
7319
 
  needed.  (Aaron Bentley)
7320
 
 
7321
 
* pycurl now handles digest authentication.
7322
 
  (Vincent Ladeuil)
7323
 
 
7324
 
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
7325
 
 
7326
 
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
7327
 
 
7328
 
* ``merge`` now warns when merge directives cause cherrypicks.
7329
 
  (Aaron Bentley)
7330
 
 
7331
 
* ``split`` now supported, to enable splitting large trees into smaller
7332
 
  pieces.  (Aaron Bentley)
7333
 
 
7334
 
Bugfixes
7335
 
********
7336
 
 
7337
 
* Avoid AttributeError when unlocking a pack repository when an error occurs.
7338
 
  (Martin Pool, #180208)
7339
 
 
7340
 
* Better handle short reads when processing multiple range requests.
7341
 
  (Vincent Ladeuil, #179368)
7342
 
 
7343
 
* build_tree acceleration uses the correct path when a file has been moved.
7344
 
  (Aaron Bentley)
7345
 
 
7346
 
* ``commit`` now succeeds when a checkout and its master branch share a
7347
 
  repository.  (Aaron Bentley, #177592)
7348
 
 
7349
 
* Fixed error reporting of unsupported timezone format in
7350
 
  ``log --timezone``. (Lukáš Lalinský, #178722)
7351
 
 
7352
 
* Fixed Unicode encoding error in ``ignored`` when the output is
7353
 
  redirected to a pipe. (Lukáš Lalinský)
7354
 
 
7355
 
* Fix traceback when sending large response bodies over the smart protocol
7356
 
  on Windows. (Andrew Bennetts, #115781)
7357
 
 
7358
 
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
7359
 
  pointed to different logical drives on Windows.
7360
 
  (Alexander Belchenko, #90847)
7361
 
 
7362
 
* HTTP test servers are now compatible with the http protocol version 1.1.
7363
 
  (Vincent Ladeuil, #175524)
7364
 
 
7365
 
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
7366
 
  correctly, instead of erroring or attributing incorrect parents to ghosts.
7367
 
  (Aaron Bentley)
7368
 
 
7369
 
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
7370
 
 
7371
 
* pycurl authentication handling was broken and incomplete. Fix handling of
7372
 
  user:pass embedded in the urls.
7373
 
  (Vincent Ladeuil, #177643)
7374
 
 
7375
 
* Files inside non-directories are now handled like other conflict types.
7376
 
  (Aaron Bentley, #177390)
7377
 
 
7378
 
* ``reconfigure`` is able to convert trees into lightweight checkouts.
7379
 
  (Aaron Bentley)
7380
 
 
7381
 
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
7382
 
  #148087)
7383
 
 
7384
 
* Test that the old ``version_info_format`` functions still work, even
7385
 
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
7386
 
 
7387
 
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
7388
 
  #137681)
7389
 
 
7390
 
* ``uncommit`` works even when the commit messages of revisions to be
7391
 
  removed use characters not supported in the terminal encoding.
7392
 
  (Aaron Bentley)
7393
 
 
7394
 
* When dumb http servers return whole files instead of the requested ranges,
7395
 
  read the remaining bytes by chunks to avoid overflowing network buffers.
7396
 
  (Vincent Ladeuil, #175886)
7397
 
 
7398
 
Documentation
7399
 
*************
7400
 
 
7401
 
* Minor tweaks made to the bug tracker integration documentation.
7402
 
  (Ian Clatworthy)
7403
 
 
7404
 
* Reference material has now be moved out of the User Guide and added
7405
 
  to the User Reference. The User Reference has gained 4 sections as
7406
 
  a result: Authenication Settings, Configuration Settings, Conflicts
7407
 
  and Hooks. All help topics are now dumped into text format in the
7408
 
  doc/en/user-reference directory for those who like browsing that
7409
 
  information in their editor. (Ian Clatworthy)
7410
 
 
7411
 
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
7412
 
 
7413
 
Internals
7414
 
*********
7415
 
 
7416
 
* find_* methods available for BzrDirs, Branches and WorkingTrees.
7417
 
  (Aaron Bentley)
7418
 
 
7419
 
* Help topics can now be loaded from files.
7420
 
  (Ian Clatworthy, Alexander Belchenko)
7421
 
 
7422
 
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
7423
 
 
7424
 
* Parent Providers should now implement ``get_parent_map`` returning a
7425
 
  dictionary instead of ``get_parents`` returning a list.
7426
 
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
7427
 
  Robert Collins)
7428
 
 
7429
 
* Patience Diff now supports arbitrary python objects, as long as they
7430
 
  support ``hash()``. (John Arbash Meinel)
7431
 
 
7432
 
* Reduce selftest overhead to establish test names by memoization.
7433
 
  (Vincent Ladeuil)
7434
 
 
7435
 
API Breaks
7436
 
**********
7437
 
 
7438
 
Testing
7439
 
*******
7440
 
 
7441
 
* Modules can now customise their tests by defining a ``load_tests``
7442
 
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
7443
 
  for the documentation on this attribute. (Robert Collins)
7444
 
 
7445
 
* New helper function ``bzrlib.tests.condition_id_re`` which helps
7446
 
  filter tests based on a regular expression search on the tests id.
7447
 
  (Robert Collins)
7448
 
 
7449
 
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
7450
 
  filter tests based on class. (Robert Collins)
7451
 
 
7452
 
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
7453
 
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
7454
 
 
7455
 
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
7456
 
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
7457
 
 
7458
 
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
7459
 
  TestSuite that does not contain tests from the input that matched a
7460
 
  regular expression. (Robert Collins)
7461
 
 
7462
 
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
7463
 
  randomized copy of the input suite. (Robert Collins)
7464
 
 
7465
 
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
7466
 
  suite into two according to a regular expression. (Robert Collins)
7467
 
 
7468
 
* Parametrize all http tests for the transport implementations, the http
7469
 
  protocol versions (1.0 and 1.1) and the authentication schemes.
7470
 
  (Vincent Ladeuil)
7471
 
 
7472
 
* The ``exclude_pattern`` and ``random_order`` parameters to the function
7473
 
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
7474
 
 
7475
 
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
7476
 
  replaced by the new helper methods added in this release. (Robert Collins)
7477
 
 
7478
 
 
7479
 
bzr 1.0
7480
 
#######
7481
 
 
7482
 
:Released: 2007-12-14
7483
 
 
7484
 
Documentation
7485
 
*************
7486
 
 
7487
 
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
7488
 
 
7489
 
* Add information on cherrypicking/rebasing to the User Guide.
7490
 
  (Ian Clatworthy)
7491
 
 
7492
 
* Improve bug tracker integration documentation. (Ian Clatworthy)
7493
 
 
7494
 
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
7495
 
  to the rebasing section of the User Guide from Aaron Bentley.
7496
 
  (Ian Clatworthy)
7497
 
 
7498
 
 
7499
 
bzr 1.0rc3
7500
 
##########
7501
 
 
7502
 
:Released: 2007-12-11
7503
 
 
7504
 
Changes
7505
 
*******
7506
 
 
7507
 
* If a traceback occurs, users are now asked to report the bug
7508
 
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
7509
 
  by mail to the mailing list.
7510
 
  (Martin Pool)
7511
 
 
7512
 
Bugfixes
7513
 
********
7514
 
 
7515
 
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
7516
 
 
7517
 
* Give more feedback during long http downloads by making readv deliver data
7518
 
  as it arrives for urllib, and issue more requests for pycurl. High latency
7519
 
  networks are better handled by urllib, the pycurl implementation give more
7520
 
  feedback but also incur more latency.
7521
 
  (Vincent Ladeuil, #173010)
7522
 
 
7523
 
* Implement _make_parents_provider on RemoteRepository, allowing generating
7524
 
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
7525
 
 
7526
 
Documentation
7527
 
*************
7528
 
 
7529
 
* Improved user guide.  (Ian Clatworthy)
7530
 
 
7531
 
* The single-page quick reference guide is now available as a PDF.
7532
 
  (Ian Clatworthy)
7533
 
 
7534
 
Internals
7535
 
*********
7536
 
 
7537
 
* readv urllib http implementation is now a real iterator above the
7538
 
  underlying socket and deliver data as soon as it arrives. 'get' still
7539
 
  wraps its output in a StringIO.
7540
 
  (Vincent Ladeuil)
7541
 
 
7542
 
 
7543
 
bzr 1.0rc2
7544
 
##########
7545
 
 
7546
 
:Released: 2007-12-07
7547
 
 
7548
 
Improvements
7549
 
************
7550
 
 
7551
 
* Added a --coverage option to selftest. (Andrew Bennetts)
7552
 
 
7553
 
* Annotate merge (merge-type=weave) now supports cherrypicking.
7554
 
  (Aaron Bentley)
7555
 
 
7556
 
* ``bzr commit`` now doesn't print the revision number twice. (Matt
7557
 
  Nordhoff, #172612)
7558
 
 
7559
 
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
7560
 
  define locations of bug trackers that are not directly supported by
7561
 
  bzr or a plugin. The URL will be treated as a template and ``{id}``
7562
 
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
7563
 
 
7564
 
* Support logging single merge revisions with short and line log formatters.
7565
 
  (Kent Gibson)
7566
 
 
7567
 
* User Guide enhanced with suggested readability improvements from
7568
 
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
7569
 
 
7570
 
* Quick Start Guide renamed to Quick Start Card, moved down in
7571
 
  the catalog, provided in pdf and png format and updated to refer
7572
 
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
7573
 
 
7574
 
* ``switch`` can now be used on heavyweight checkouts as well as
7575
 
  lightweight ones. After switching a heavyweight checkout, the
7576
 
  local branch is a mirror/cache of the new bound branch and
7577
 
  uncommitted changes in the working tree are merged. As a safety
7578
 
  check, if there are local commits in a checkout which have not
7579
 
  been committed to the previously bound branch, then ``switch``
7580
 
  fails unless the ``--force`` option is given. This option is
7581
 
  now also required if the branch a lightweight checkout is pointing
7582
 
  to has been moved. (Ian Clatworthy)
7583
 
 
7584
 
Internals
7585
 
*********
7586
 
 
7587
 
* New -Dhttp debug option reports http connections, requests and responses.
7588
 
  (Vincent Ladeuil)
7589
 
 
7590
 
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
7591
 
 
7592
 
Bugfixes
7593
 
********
7594
 
 
7595
 
* Better error message when running ``bzr cat`` on a non-existant branch.
7596
 
  (Lukáš Lalinský, #133782)
7597
 
 
7598
 
* Catch OSError 17 (file exists) in final phase of tree transform and show
7599
 
  filename to user.
7600
 
  (Alexander Belchenko, #111758)
7601
 
 
7602
 
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
7603
 
  allowing multiple GET requests to be issued if too many ranges are
7604
 
  required.
7605
 
  (Vincent Ladeuil, #172701)
7606
 
 
7607
 
* Check for missing basis texts when fetching from packs to packs.
7608
 
  (John Arbash Meinel, #165290)
7609
 
 
7610
 
* Fall back to showing e-mail in ``log --short/--line`` if the
7611
 
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
7612
 
 
7613
 
API Breaks
7614
 
**********
7615
 
 
7616
 
* Deprecate not passing a ``location`` argument to commit reporters'
7617
 
  ``started`` methods. (Matt Nordhoff)
7618
 
 
7619
 
 
7620
 
bzr 1.0rc1
7621
 
##########
7622
 
 
7623
 
:Released: 2007-11-30
7624
 
 
7625
 
Notes When Upgrading
7626
 
********************
7627
 
 
7628
 
* The default repository format is now ``pack-0.92``.  This
7629
 
  default is used when creating new repositories with ``init`` and
7630
 
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
7631
 
  (See https://bugs.launchpad.net/bugs/164626)
7632
 
 
7633
 
  This format can be read and written by Bazaar 0.92 and later, and
7634
 
  data can be transferred to and from older formats.
7635
 
 
7636
 
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
7637
 
  upgrade (``bzr upgrade``).
7638
 
 
7639
 
  ``pack-0.92`` offers substantially better scaling and performance than the
7640
 
  previous knits format. Some operations are slower where the code already
7641
 
  had bad scaling characteristics under knits, the pack format makes such
7642
 
  operations more visible as part of being more scalable overall. We will
7643
 
  correct such operations over the coming releases and encourage the filing
7644
 
  of bugs on any operation which you observe to be slower in a packs
7645
 
  repository. One particular case that we do not intend to fix is pulling
7646
 
  data from a pack repository into a knit repository over a high latency
7647
 
  link;  downgrading such data requires reinsertion of the file texts, and
7648
 
  this is a classic space/time tradeoff. The current implementation is
7649
 
  conservative on memory usage because we need to support converting data
7650
 
  from any tree without problems.
7651
 
  (Robert Collins, Martin Pool, #164476)
7652
 
 
7653
 
Changes
7654
 
*******
7655
 
 
7656
 
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
7657
 
  still available if user selects it explicitly with BZR_SSH environment
7658
 
  variable. (Alexander Belchenko, workaround for bug #107593)
7659
 
 
7660
 
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
7661
 
  to enable the subtree functions (for example, for bzr-svn).
7662
 
  (Martin Pool)
7663
 
 
7664
 
Features
7665
 
********
7666
 
 
7667
 
* New ``authentication.conf`` file holding the password or other credentials
7668
 
  for remote servers. This can be used for ssh, sftp, smtp and other
7669
 
  supported transports.
7670
 
  (Vincent Ladeuil)
7671
 
 
7672
 
* New rich-root and rich-root-pack formats, recording the same data about
7673
 
  tree roots that's recorded for all other directories.
7674
 
  (Aaron Bentley, #164639)
7675
 
 
7676
 
* ``pack-0.92`` repositories can now be reconciled.
7677
 
  (Robert Collins, #154173)
7678
 
 
7679
 
* ``switch`` command added for changing the branch a lightweight checkout
7680
 
  is associated with and updating the tree to reflect the latest content
7681
 
  accordingly. This command was previously part of the BzrTools plug-in.
7682
 
  (Ian Clatworthy, Aaron Bentley, David Allouche)
7683
 
 
7684
 
* ``reconfigure`` command can now convert branches, trees, or checkouts to
7685
 
  lightweight checkouts.  (Aaron Bentley)
7686
 
 
7687
 
Performance
7688
 
***********
7689
 
 
7690
 
* Commit updates the state of the working tree via a delta rather than
7691
 
  supplying entirely new basis trees. For commit of a single specified file
7692
 
  this reduces the wall clock time for commit by roughly a 30%.
7693
 
  (Robert Collins, Martin Pool)
7694
 
 
7695
 
* Commit with many automatically found deleted paths no longer performs
7696
 
  linear scanning for the children of those paths during inventory
7697
 
  iteration. This should fix commit performance blowing out when many such
7698
 
  paths occur during commit. (Robert Collins, #156491)
7699
 
 
7700
 
* Fetch with pack repositories will no longer read the entire history graph.
7701
 
  (Robert Collins, #88319)
7702
 
 
7703
 
* Revert takes out an appropriate lock when reverting to a basis tree, and
7704
 
  does not read the basis inventory twice. (Robert Collins)
7705
 
 
7706
 
* Diff does not require an inventory to be generated on dirstate trees.
7707
 
  (Aaron Bentley, #149254)
7708
 
 
7709
 
* New annotate merge (--merge-type=weave) implementation is fast on
7710
 
  versionedfiles withough cached annotations, e.g. pack-0.92.
7711
 
  (Aaron Bentley)
7712
 
 
7713
 
Improvements
7714
 
************
7715
 
 
7716
 
* ``bzr merge`` now warns when it encounters a criss-cross merge.
7717
 
  (Aaron Bentley)
7718
 
 
7719
 
* ``bzr send`` now doesn't require the target e-mail address to be
7720
 
  specified on the command line if an interactive e-mail client is used.
7721
 
  (Lukáš Lalinský)
7722
 
 
7723
 
* ``bzr tags`` now prints the revision number for each tag, instead of
7724
 
  the revision id, unless --show-ids is passed. In addition, tags can be
7725
 
  sorted chronologically instead of lexicographically with --sort=time.
7726
 
  (Adeodato Simó, #120231)
7727
 
 
7728
 
* Windows standalone version of bzr is able to load system-wide plugins from
7729
 
  "plugins" subdirectory in installation directory. In addition standalone
7730
 
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
7731
 
  about paths and bzr version. (Alexander Belchenko, #129298)
7732
 
 
7733
 
Documentation
7734
 
*************
7735
 
 
7736
 
Bug Fixes
7737
 
*********
7738
 
 
7739
 
* A progress bar has been added for knitpack -> knitpack fetching.
7740
 
  (Robert Collins, #157789, #159147)
7741
 
 
7742
 
* Branching from a branch via smart server now preserves the repository
7743
 
  format. (Andrew Bennetts,  #164626)
7744
 
 
7745
 
* ``commit`` is now able to invoke an external editor in a non-ascii
7746
 
  directory. (Daniel Watkins, #84043)
7747
 
 
7748
 
* Catch connection errors for ftp.
7749
 
  (Vincent Ladeuil, #164567)
7750
 
 
7751
 
* ``check`` no longer reports spurious unreferenced text versions.
7752
 
  (Robert Collins, John A Meinel, #162931, #165071)
7753
 
 
7754
 
* Conflicts are now resolved recursively by ``revert``.
7755
 
  (Aaron Bentley, #102739)
7756
 
 
7757
 
* Detect invalid transport reuse attempts by catching invalid URLs.
7758
 
  (Vincent Ladeuil, #161819)
7759
 
 
7760
 
* Deleting a file without removing it shows a correct diff, not a traceback.
7761
 
  (Aaron Bentley)
7762
 
 
7763
 
* Do no use timeout in HttpServer anymore.
7764
 
  (Vincent Ladeuil, #158972).
7765
 
 
7766
 
* Don't catch the exceptions related to the http pipeline status before
7767
 
  retrying an http request or some programming errors may be masked.
7768
 
  (Vincent Ladeuil, #160012)
7769
 
 
7770
 
* Fix ``bzr rm`` to not delete modified and ignored files.
7771
 
  (Lukáš Lalinský, #172598)
7772
 
 
7773
 
* Fix exception when revisionspec contains merge revisons but log
7774
 
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
7775
 
 
7776
 
* Fix exception when ScopeReplacer is assigned to before any members have
7777
 
  been retrieved.  (Aaron Bentley)
7778
 
 
7779
 
* Fix multiple connections during checkout --lightweight.
7780
 
  (Vincent Ladeuil, #159150)
7781
 
 
7782
 
* Fix possible error in insert_data_stream when copying between
7783
 
  pack repositories over bzr+ssh or bzr+http.
7784
 
  KnitVersionedFile.get_data_stream now makes sure that requested
7785
 
  compression parents are sent before any delta hunks that depend
7786
 
  on them.
7787
 
  (Martin Pool, #164637)
7788
 
 
7789
 
* Fix typo in limiting offsets coalescing for http, leading to
7790
 
  whole files being downloaded instead of parts.
7791
 
  (Vincent Ladeuil, #165061)
7792
 
 
7793
 
* FTP server errors don't error in the error handling code.
7794
 
  (Robert Collins, #161240)
7795
 
 
7796
 
* Give a clearer message when a pull fails because the source needs
7797
 
  to be reconciled.
7798
 
  (Martin Pool, #164443)
7799
 
 
7800
 
* It is clearer when a plugin cannot be loaded because of its name, and a
7801
 
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
7802
 
 
7803
 
* Leave port as None in transport objects if user doesn't
7804
 
  specify a port in urls.
7805
 
  (vincent Ladeuil, #150860)
7806
 
 
7807
 
* Make sure Repository.fetch(self) is properly a no-op for all
7808
 
  Repository implementations. (John Arbash Meinel, #158333)
7809
 
 
7810
 
* Mark .bzr directories as "hidden" on Windows.
7811
 
  (Alexander Belchenko, #71147)
7812
 
 
7813
 
* ``merge --uncommitted`` can now operate on a single file.
7814
 
  (Aaron Bentley, Lukáš Lalinský, #136890)
7815
 
 
7816
 
* Obsolete packs are now cleaned up by pack and autopack operations.
7817
 
  (Robert Collins, #153789)
7818
 
 
7819
 
* Operations pulling data from a smart server where the underlying
7820
 
  repositories are not both annotated/both unannotated will now work.
7821
 
  (Robert Collins, #165304).
7822
 
 
7823
 
* Reconcile now shows progress bars. (Robert Collins, #159351)
7824
 
 
7825
 
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
7826
 
  properly. (John Arbash Meinel, #162486)
7827
 
 
7828
 
* Removing an already-removed file reports the file does not exist. (Daniel
7829
 
  Watkins, #152811)
7830
 
 
7831
 
* Rename on Windows is able to change filename case.
7832
 
  (Alexander Belchenko, #77740)
7833
 
 
7834
 
* Return error instead of a traceback for ``bzr log -r0``.
7835
 
  (Kent Gibson, #133751)
7836
 
 
7837
 
* Return error instead of a traceback when bzr is unable to create
7838
 
  symlink on some platforms (e.g. on Windows).
7839
 
  (Alexander Belchenko, workaround for #81689)
7840
 
 
7841
 
* Revert doesn't crash when restoring a single file from a deleted
7842
 
  directory. (Aaron Bentley)
7843
 
 
7844
 
* Stderr output via logging mechanism now goes through encoded wrapper
7845
 
  and no more uses utf-8, but terminal encoding instead. So all unicode
7846
 
  strings now should be readable in non-utf-8 terminal.
7847
 
  (Alexander Belchenko, #54173)
7848
 
 
7849
 
* The error message when ``move --after`` should be used makes how to do so
7850
 
  clearer. (Daniel Watkins, #85237)
7851
 
 
7852
 
* Unicode-safe output from ``bzr info``. The output will be encoded
7853
 
  using the terminal encoding and unrepresentable characters will be
7854
 
  replaced by '?'. (Lukáš Lalinský, #151844)
7855
 
 
7856
 
* Working trees are no longer created when pushing into a local no-trees
7857
 
  repo. (Daniel Watkins, #50582)
7858
 
 
7859
 
* Upgrade util/configobj to version 4.4.0.
7860
 
  (Vincent Ladeuil, #151208).
7861
 
 
7862
 
* Wrap medusa ftp test server as an FTPServer feature.
7863
 
  (Vincent Ladeuil, #157752)
7864
 
 
7865
 
API Breaks
7866
 
**********
7867
 
 
7868
 
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
7869
 
  during very long time. (Alexander Belchenko)
7870
 
 
7871
 
* The return value of
7872
 
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
7873
 
  changed. Previously it was an iterator of lines, now it is an iterator of
7874
 
  (line, version_id) tuples. This change has been made to aid reconcile and
7875
 
  fetch operations. (Robert Collins)
7876
 
 
7877
 
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
7878
 
  (Robert Collins)
7879
 
 
7880
 
* The Repository format registry default has been removed; it was previously
7881
 
  obsoleted by the bzrdir format default, which implies a default repository
7882
 
  format.
7883
 
  (Martin Pool)
7884
 
 
7885
 
Internals
7886
 
*********
7887
 
 
7888
 
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
7889
 
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
7890
 
  and parsing containers from streams rather than from files.  (Andrew
7891
 
  Bennetts)
7892
 
 
7893
 
* New module ``lru_cache`` providing a cache for use by tasks that need
7894
 
  semi-random access to large amounts of data. (John A Meinel)
7895
 
 
7896
 
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
7897
 
 
7898
 
 
7899
 
bzr 0.92
7900
 
########
7901
 
 
7902
 
:Released: 2007-11-05
7903
 
 
7904
 
Changes
7905
 
*******
7906
 
 
7907
 
  * New uninstaller on Win32.  (Alexander Belchenko)
7908
 
 
7909
 
 
7910
 
bzr 0.92rc1
7911
 
###########
7912
 
 
7913
 
:Released: 2007-10-29
7914
 
 
7915
 
Changes
7916
 
*******
7917
 
 
7918
 
* ``bzr`` now returns exit code 4 if an internal error occurred, and
7919
 
  3 if a normal error occurred.  (Martin Pool)
7920
 
 
7921
 
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
7922
 
  repository index errors that occured as a result of the Weave disk format.
7923
 
  Instead the ``reconcile`` command needs to be run to correct those
7924
 
  problems if they exist (and it has been able to fix most such problems
7925
 
  since bzr 0.8). Some new problems have been identified during this release
7926
 
  and you should run ``bzr check`` once on every repository to see if you
7927
 
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
7928
 
  repository due to mismatched parent errors - a symptom of index errors -
7929
 
  you should simply take a full copy of that remote repository to a clean
7930
 
  directory outside any local repositories, then run reconcile on it, and
7931
 
  finally pull from it locally. (And naturally email the repositories owner
7932
 
  to ask them to upgrade and run reconcile).
7933
 
  (Robert Collins)
7934
 
 
7935
 
Features
7936
 
********
7937
 
 
7938
 
* New ``knitpack-experimental`` repository format. This is interoperable with
7939
 
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
7940
 
  speeds up many operations, both local and remote. This new format can be
7941
 
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
7942
 
  commands. (Robert Collins)
7943
 
 
7944
 
* For users of bzr-svn (and those testing the prototype subtree support) that
7945
 
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
7946
 
  been added. This is interoperable with the ``dirstate-subtrees`` format.
7947
 
  (Robert Collins)
7948
 
 
7949
 
* New ``reconfigure`` command. (Aaron Bentley)
7950
 
 
7951
 
* New ``revert --forget-merges`` command, which removes the record of a pending
7952
 
  merge without affecting the working tree contents.  (Martin Pool)
7953
 
 
7954
 
* New ``bzr_remote_path`` configuration variable allows finer control of
7955
 
  remote bzr locations than BZR_REMOTE_PATH environment variable.
7956
 
  (Aaron Bentley)
7957
 
 
7958
 
* New ``launchpad-login`` command to tell Bazaar your Launchpad
7959
 
  user ID.  This can then be used by other functions of the
7960
 
  Launchpad plugin. (James Henstridge)
7961
 
 
7962
 
Performance
7963
 
***********
7964
 
 
7965
 
* Commit in quiet mode is now slightly faster as the information to
7966
 
  output is no longer calculated. (Ian Clatworthy)
7967
 
 
7968
 
* Commit no longer checks for new text keys during insertion when the
7969
 
  revision id was deterministically unique. (Robert Collins)
7970
 
 
7971
 
* Committing a change which is not a merge and does not change the number of
7972
 
  files in the tree is faster by utilising the data about whether files are
7973
 
  changed to determine if the tree is unchanged rather than recalculating
7974
 
  it at the end of the commit process. (Robert Collins)
7975
 
 
7976
 
* Inventory serialisation no longer double-sha's the content.
7977
 
  (Robert Collins)
7978
 
 
7979
 
* Knit text reconstruction now avoids making copies of the lines list for
7980
 
  interim texts when building a single text. The new ``apply_delta`` method
7981
 
  on ``KnitContent`` aids this by allowing modification of the revision id
7982
 
  such objects represent. (Robert Collins)
7983
 
 
7984
 
* Pack indices are now partially parsed for specific key lookup using a
7985
 
  bisection approach. (Robert Collins)
7986
 
 
7987
 
* Partial commits are now approximately 40% faster by walking over the
7988
 
  unselected current tree more efficiently. (Robert Collins)
7989
 
 
7990
 
* XML inventory serialisation takes 20% less time while being stricter about
7991
 
  the contents. (Robert Collins)
7992
 
 
7993
 
* Graph ``heads()`` queries have been fixed to no longer access all history
7994
 
  unnecessarily. (Robert Collins)
7995
 
 
7996
 
Improvements
7997
 
************
7998
 
 
7999
 
* ``bzr+https://`` smart server across https now supported.
8000
 
  (John Ferlito, Martin Pool, #128456)
8001
 
 
8002
 
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
8003
 
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
8004
 
 
8005
 
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
8006
 
  changes from one revision. (Alexander Belchenko, #141368)
8007
 
 
8008
 
* Show encodings, locale and list of plugins in the traceback message.
8009
 
  (Martin Pool, #63894)
8010
 
 
8011
 
* Experimental directory formats can now be marked with
8012
 
  ``experimental = True`` during registration. (Ian Clatworthy)
8013
 
 
8014
 
Documentation
8015
 
*************
8016
 
 
8017
 
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
8018
 
 
8019
 
* The hooks reference documentation is now converted to html as expected.
8020
 
  (Ian Clatworthy)
8021
 
 
8022
 
Bug Fixes
8023
 
*********
8024
 
 
8025
 
* Connection error reporting for the smart server has been fixed to
8026
 
  display a user friendly message instead of a traceback.
8027
 
  (Ian Clatworthy, #115601)
8028
 
 
8029
 
* Make sure to use ``O_BINARY`` when opening files to check their
8030
 
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
8031
 
 
8032
 
* Fix a problem with Win32 handling of the executable bit.
8033
 
  (John Arbash Meinel, #149113)
8034
 
 
8035
 
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
8036
 
  no longer assume that means port 22.  This allows people using OpenSSH to
8037
 
  override the default port in their ``~/.ssh/config`` if they wish.  This
8038
 
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
8039
 
 
8040
 
* Commands reporting exceptions can now be profiled and still have their
8041
 
  data correctly dumped to a file. For example, a ``bzr commit`` with
8042
 
  no changes still reports the operation as pointless but doing so no
8043
 
  longer throws away the profiling data if this command is run with
8044
 
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
8045
 
 
8046
 
* Fallback to ftp when paramiko is not installed and sftp can't be used for
8047
 
  ``tests/commands`` so that the test suite is still usable without
8048
 
  paramiko.
8049
 
  (Vincent Ladeuil, #59150)
8050
 
 
8051
 
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
8052
 
 
8053
 
* Fix long standing bug in partial commit when there are renames
8054
 
  left in tree. (Robert Collins, #140419)
8055
 
 
8056
 
* Fix selftest semi-random noise during http related tests.
8057
 
  (Vincent Ladeuil, #140614)
8058
 
 
8059
 
* Fix typo in ftp.py making the reconnection fail on temporary errors.
8060
 
  (Vincent Ladeuil, #154259)
8061
 
 
8062
 
* Fix failing test by comparing real paths to cover the case where the TMPDIR
8063
 
  contains a symbolic link.
8064
 
  (Vincent Ladeuil, #141382).
8065
 
 
8066
 
* Fix log against smart server branches that don't support tags.
8067
 
  (James Westby, #140615)
8068
 
 
8069
 
* Fix pycurl http implementation by defining error codes from
8070
 
  pycurl instead of relying on an old curl definition.
8071
 
  (Vincent Ladeuil, #147530)
8072
 
 
8073
 
* Fix 'unprintable error' message when displaying BzrCheckError and
8074
 
  some other exceptions on Python 2.5.
8075
 
  (Martin Pool, #144633)
8076
 
 
8077
 
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
8078
 
 
8079
 
* Handles default value for ListOption in cmd_commit.
8080
 
  (Vincent Ladeuil, #140432)
8081
 
 
8082
 
* HttpServer and FtpServer need to be closed properly or a listening socket
8083
 
  will remain opened.
8084
 
  (Vincent Ladeuil, #140055)
8085
 
 
8086
 
* Monitor the .bzr directory created in the top level test
8087
 
  directory to detect leaking tests.
8088
 
  (Vincent Ladeuil, #147986)
8089
 
 
8090
 
* The basename, not the full path, is now used when checking whether
8091
 
  the profiling dump file begins with ``callgrind.out`` or not. This
8092
 
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
8093
 
 
8094
 
* Trivial fix for invoking command ``reconfigure`` without arguments.
8095
 
  (Rob Weir, #141629)
8096
 
 
8097
 
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
8098
 
  new path causes bzr to be unable to access the file. (Robert Collins)
8099
 
 
8100
 
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
8101
 
  Merwe)
8102
 
 
8103
 
API Breaks
8104
 
**********
8105
 
 
8106
 
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
8107
 
  constructor, for enabling bisection searches. (Robert Collins)
8108
 
 
8109
 
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
8110
 
  tree be supplied to it, previously failing to do so would trigger a
8111
 
  deprecation warning. (Robert Collins)
8112
 
 
8113
 
* ``KnitVersionedFile.add*`` will no longer cache added records even when
8114
 
  enable_cache() has been called - the caching feature is now exclusively for
8115
 
  reading existing data. (Robert Collins)
8116
 
 
8117
 
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
8118
 
  appropriate.  (Martin Pool)
8119
 
 
8120
 
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
8121
 
  ``trace+`` transport instead. (Robert Collins)
8122
 
 
8123
 
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
8124
 
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
8125
 
  (Martin Pool)
8126
 
 
8127
 
* Removed previous deprecated ``basis_knit`` parameter to the
8128
 
  ``KnitVersionedFile`` constructor. (Robert Collins)
8129
 
 
8130
 
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
8131
 
  class that needs it.
8132
 
  (Martin Pool)
8133
 
 
8134
 
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
8135
 
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
8136
 
 
8137
 
* The ``VersionedFile`` interface now allows content checks to be bypassed
8138
 
  by supplying check_content=False.  This saves nearly 30% of the minimum
8139
 
  cost to store a version of a file. (Robert Collins)
8140
 
 
8141
 
* Tree's with bad state such as files with no length or sha will no longer
8142
 
  be silently accepted by the repository XML serialiser. To serialise
8143
 
  inventories without such data, pass working=True to write_inventory.
8144
 
  (Robert Collins)
8145
 
 
8146
 
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
8147
 
  ``VersionedFile.join`` will no longer accept different parents on either
8148
 
  side of a join - it will either ignore them, or error, depending on the
8149
 
  implementation. See notes when upgrading for more information.
8150
 
  (Robert Collins)
8151
 
 
8152
 
Internals
8153
 
*********
8154
 
 
8155
 
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
8156
 
  put by the method call, to allow avoiding stat-after-write or
8157
 
  housekeeping in callers. (Robert Collins)
8158
 
 
8159
 
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
8160
 
  mandatory attributes are present on serialisation and deserialisation.
8161
 
  This fixes some holes in API usage and allows better separation between
8162
 
  physical storage and object serialisation. (Robert Collins)
8163
 
 
8164
 
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
8165
 
  shorthand for deriving from BzrError and setting internal_error = True.
8166
 
  (Robert Collins)
8167
 
 
8168
 
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
8169
 
  moving the state of a parent tree to a new version via a delta rather than
8170
 
  a complete replacement tree. (Robert Collins)
8171
 
 
8172
 
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
8173
 
  duplication from user input, when a user mentions both a path and an item
8174
 
  contained within that path. (Robert Collins)
8175
 
 
8176
 
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
8177
 
  determining if a repository is write locked. (Robert Collins)
8178
 
 
8179
 
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
8180
 
  tuple containing the key information about a path for commit processing
8181
 
  to complete. (Robert Collins)
8182
 
 
8183
 
* New method on xml serialisers, write_inventory_to_lines, which matches the
8184
 
  API used by knits for adding content. (Robert Collins)
8185
 
 
8186
 
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
8187
 
  logic, currently only available for byte-based lookup
8188
 
  (``bisect_multi_bytes``). (Robert Collins)
8189
 
 
8190
 
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
8191
 
  and returns a gzipped version of the same. This is used to avoid a bunch
8192
 
  of api friction during adding of knit hunks. (Robert Collins)
8193
 
 
8194
 
* New parameter on ``bzrlib.transport.Transport.readv``
8195
 
  ``adjust_for_latency`` which changes readv from returning strictly the
8196
 
  requested data to inserted return larger ranges and in forward read order
8197
 
  to reduce the effect of network latency. (Robert Collins)
8198
 
 
8199
 
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
8200
 
  causes the parents of a selected id to be returned recursively, so all the
8201
 
  paths from the root down to each element of selected_file_ids are
8202
 
  returned. (Robert Collins)
8203
 
 
8204
 
* Knit joining has been enhanced to support plain to annotated conversion
8205
 
  and annotated to plain conversion. (Ian Clatworthy)
8206
 
 
8207
 
* The CommitBuilder method ``record_entry_contents`` now returns summary
8208
 
  information about the effect of the commit on the repository. This tuple
8209
 
  contains an inventory delta item if the entry changed from the basis, and a
8210
 
  boolean indicating whether a new file graph node was recorded.
8211
 
  (Robert Collins)
8212
 
 
8213
 
* The python path used in the Makefile can now be overridden.
8214
 
  (Andrew Bennetts, Ian Clatworthy)
8215
 
 
8216
 
Testing
8217
 
*******
8218
 
 
8219
 
* New transport implementation ``trace+`` which is useful for testing,
8220
 
  logging activity taken to its _activity attribute. (Robert Collins)
8221
 
 
8222
 
* When running bzr commands within the test suite, internal exceptions are
8223
 
  not caught and reported in the usual way, but rather allowed to propagate
8224
 
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
8225
 
  makes this behavior available to other users.
8226
 
  (Martin Pool)
8227
 
 
8228
 
* New method ``TestCase.call_catch_warnings`` for testing methods that
8229
 
  raises a Python warning.  (Martin Pool)
8230
 
 
8231
 
 
8232
 
bzr 0.91
8233
 
########
8234
 
 
8235
 
:Released: 2007-09-26
8236
 
 
8237
 
Bug Fixes
8238
 
*********
8239
 
 
8240
 
* Print a warning instead of aborting the ``python setup.py install``
8241
 
  process if building of a C extension is not possible.
8242
 
  (Lukáš Lalinský, Alexander Belchenko)
8243
 
 
8244
 
* Fix commit ordering in corner case (Aaron Bentley, #94975)
8245
 
 
8246
 
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
8247
 
  an implicit port.  We were incorrectly raising PathNotChild due to
8248
 
  inconsistent treatment of the ''_port'' attribute on the Transport object.
8249
 
  (Andrew Bennetts, #133965)
8250
 
 
8251
 
* Make RemoteRepository.sprout cope gracefully with servers that don't
8252
 
  support the ``Repository.tarball`` request.
8253
 
  (Andrew Bennetts)
8254
 
 
8255
 
 
8256
 
bzr 0.91rc2
8257
 
###########
8258
 
 
8259
 
:Released: 2007-09-11
8260
 
 
8261
 
* Replaced incorrect tarball for previous release; a debug statement was left
8262
 
  in bzrlib/remote.py.
8263
 
 
8264
 
 
8265
 
bzr 0.91rc1
8266
 
###########
8267
 
 
8268
 
:Released: 2007-09-11
8269
 
 
8270
 
Changes
8271
 
*******
8272
 
 
8273
 
* The default branch and repository format has changed to
8274
 
  ``dirstate-tags``, so tag commands are active by default.
8275
 
  This format is compatible with Bazaar 0.15 and later.
8276
 
  This incidentally fixes bug #126141.
8277
 
  (Martin Pool)
8278
 
 
8279
 
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
8280
 
  must now appear after the command name. Scripts doing things like
8281
 
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
8282
 
  (Ian Clatworthy)
8283
 
 
8284
 
Features
8285
 
********
8286
 
 
8287
 
* New option ``--author`` in ``bzr commit`` to specify the author of the
8288
 
  change, if it's different from the committer. ``bzr log`` and
8289
 
  ``bzr annotate`` display the author instead of the committer.
8290
 
  (Lukáš Lalinský)
8291
 
 
8292
 
* In addition to global options and command specific options, a set of
8293
 
  standard options are now supported. Standard options are legal for
8294
 
  all commands. The initial set of standard options are:
8295
 
 
8296
 
  * ``--help`` or ``-h`` - display help message
8297
 
  * ``--verbose`` or ``-v`` - display additional information
8298
 
  * ``--quiet``  or ``-q`` - only output warnings and errors.
8299
 
 
8300
 
  Unlike global options, standard options can be used in aliases and
8301
 
  may have command-specific help. (Ian Clatworthy)
8302
 
 
8303
 
* Verbosity level processing has now been unified. If ``--verbose``
8304
 
  or ``-v`` is specified on the command line multiple times, the
8305
 
  verbosity level is made positive the first time then increased.
8306
 
  If ``--quiet`` or ``-q`` is specified on the command line
8307
 
  multiple times, the verbosity level is made negative the first
8308
 
  time then decreased. To get the default verbosity level of zero,
8309
 
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
8310
 
  Note that most commands currently ignore the magnitude of the
8311
 
  verbosity level but do respect *quiet vs normal vs verbose* when
8312
 
  generating output. (Ian Clatworthy)
8313
 
 
8314
 
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
8315
 
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
8316
 
 
8317
 
* New ``Repository.stream_knit_data_for_revisions`` request added to the
8318
 
  network protocol for greatly reduced roundtrips when retrieving a set of
8319
 
  revisions. (Andrew Bennetts)
8320
 
 
8321
 
Bug Fixes
8322
 
*********
8323
 
 
8324
 
* ``bzr plugins`` now lists the version number for each plugin in square
8325
 
  brackets after the path. (Robert Collins, #125421)
8326
 
 
8327
 
* Pushing, pulling and branching branches with subtree references was not
8328
 
  copying the subtree weave, preventing the file graph from being accessed
8329
 
  and causing errors in commits in clones. (Robert Collins)
8330
 
 
8331
 
* Suppress warning "integer argument expected, got float" from Paramiko,
8332
 
  which sometimes caused false test failures.  (Martin Pool)
8333
 
 
8334
 
* Fix bug in bundle 4 that could cause attempts to write data to wrong
8335
 
  versionedfile.  (Aaron Bentley)
8336
 
 
8337
 
* Diffs generated using "diff -p" no longer break the patch parser.
8338
 
  (Aaron Bentley)
8339
 
 
8340
 
* get_transport treats an empty possible_transports list the same as a non-
8341
 
  empty one.  (Aaron Bentley)
8342
 
 
8343
 
* patch verification for merge directives is reactivated, and works with
8344
 
  CRLF and CR files.  (Aaron Bentley)
8345
 
 
8346
 
* Accept ..\ as a path in revision specifiers. This fixes for example
8347
 
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
8348
 
 
8349
 
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
8350
 
  (Blake Winton, #129299)
8351
 
 
8352
 
* man page no longer lists hidden options (#131667, Aaron Bentley)
8353
 
 
8354
 
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
8355
 
  Watkins, #106726)
8356
 
 
8357
 
* Error messages are now better formatted with parameters (such as
8358
 
  filenames) quoted when necessary. This avoids confusion when directory
8359
 
  names ending in a '.' at the end of messages were confused with a
8360
 
  full stop that may or not have been there. (Daniel Watkins, #129791)
8361
 
 
8362
 
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
8363
 
 
8364
 
* If a particular command is an alias, ``help`` will show the alias
8365
 
  instead of claiming there is no help for said alias. (Daniel Watkins,
8366
 
  #133548)
8367
 
 
8368
 
* TreeTransform-based operations, like pull, merge, revert, and branch,
8369
 
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
8370
 
 
8371
 
* ``bzr commit`` now exits cleanly if a character unsupported by the
8372
 
  current encoding is used in the commit message.  (Daniel Watkins,
8373
 
  #116143)
8374
 
 
8375
 
* bzr send uses default values for ranges when only half of an elipsis
8376
 
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
8377
 
 
8378
 
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
8379
 
  binary is present.  (Martin Albisetti, #107155)
8380
 
 
8381
 
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
8382
 
  needing ``--force``) subtrees that contain no files with text changes or
8383
 
  modified files.  With ``--force`` it removes the subtree regardless of
8384
 
  text changes or unknown files. Directories with renames in or out (but
8385
 
  not changed otherwise) will now be removed without needing ``--force``.
8386
 
  Unknown ignored files will be deleted without needing ``--force``.
8387
 
  (Marius Kruger, #111665)
8388
 
 
8389
 
* When two plugins conflict, the source of both the losing and now the
8390
 
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
8391
 
 
8392
 
* When committing to a branch, the location being committed to is
8393
 
  displayed.  (Daniel Watkins, #52479)
8394
 
 
8395
 
* ``bzr --version`` takes care about encoding of stdout, especially
8396
 
  when output is redirected. (Alexander Belchenko, #131100)
8397
 
 
8398
 
* Prompt for an ftp password if none is provided.
8399
 
  (Vincent Ladeuil, #137044)
8400
 
 
8401
 
* Reuse bound branch associated transport to avoid multiple
8402
 
  connections.
8403
 
  (Vincent Ladeuil, #128076, #131396)
8404
 
 
8405
 
* Overwrite conflicting tags by ``push`` and ``pull`` if the
8406
 
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
8407
 
 
8408
 
* In checkouts, tags are copied into the master branch when created,
8409
 
  changed or deleted, and are copied into the checkout when it is
8410
 
  updated.  (Martin Pool, #93856, #93860)
8411
 
 
8412
 
* Print a warning instead of aborting the ``python setup.py install``
8413
 
  process if building of a C extension is not possible.
8414
 
  (Lukáš Lalinský, Alexander Belchenko)
8415
 
 
8416
 
Improvements
8417
 
************
8418
 
 
8419
 
* Add the option "--show-diff" to the commit command in order to display
8420
 
  the diff during the commit log creation. (Goffredo Baroncelli)
8421
 
 
8422
 
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
8423
 
  (Aaron Bentley)
8424
 
 
8425
 
* ``pull -v`` no longer includes deltas, making it much faster.
8426
 
  (Aaron Bentley)
8427
 
 
8428
 
* ``send`` now sends the directive as an attachment by default.
8429
 
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
8430
 
 
8431
 
* Documentation updates (Martin Albisetti)
8432
 
 
8433
 
* Help on debug flags is now included in ``help global-options``.
8434
 
  (Daniel Watkins, #124853)
8435
 
 
8436
 
* Parameters passed on the command line are checked to ensure they are
8437
 
  supported by the encoding in use. (Daniel Watkins)
8438
 
 
8439
 
* The compression used within the bzr repository has changed from zlib
8440
 
  level 9 to the zlib default level. This improves commit performance with
8441
 
  only a small increase in space used (and in some cases a reduction in
8442
 
  space). (Robert Collins)
8443
 
 
8444
 
* Initial commit no longer SHAs files twice and now reuses the path
8445
 
  rather than looking it up again, making it faster.
8446
 
  (Ian Clatworthy)
8447
 
 
8448
 
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
8449
 
  changes in one revision.  (Lukáš Lalinský)
8450
 
 
8451
 
* If versioned files match a given ignore pattern, a warning is now
8452
 
  given. (Daniel Watkins, #48623)
8453
 
 
8454
 
* ``bzr status`` now has -S as a short name for --short and -V as a
8455
 
  short name for --versioned. These have been added to assist users
8456
 
  migrating from Subversion: ``bzr status -SV`` is now like
8457
 
  ``svn status -q``.  (Daniel Watkins, #115990)
8458
 
 
8459
 
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
8460
 
  10x faster than the Python version. This speeds up commands that
8461
 
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
8462
 
  (Lukáš Lalinský)
8463
 
 
8464
 
* HACKING has been extended with a large section on core developer tasks.
8465
 
  (Ian Clatworthy)
8466
 
 
8467
 
* Add ``branches`` and ``standalone-trees`` as online help topics and
8468
 
  include them as Concepts within the User Reference.
8469
 
  (Paul Moore, Ian Clatworthy)
8470
 
 
8471
 
* ``check`` can detect versionedfile parent references that are
8472
 
  inconsistent with revision and inventory info, and ``reconcile`` can fix
8473
 
  them.  These faulty references were generated by 0.8-era releases,
8474
 
  so repositories which were manipulated by old bzrs should be
8475
 
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
8476
 
 
8477
 
API Breaks
8478
 
**********
8479
 
 
8480
 
* ``Branch.append_revision`` is removed altogether; please use
8481
 
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
8482
 
 
8483
 
* CommitBuilder now advertises itself as requiring the root entry to be
8484
 
  supplied. This only affects foreign repository implementations which reuse
8485
 
  CommitBuilder directly and have changed record_entry_contents to require
8486
 
  that the root not be supplied. This should be precisely zero plugins
8487
 
  affected. (Robert Collins)
8488
 
 
8489
 
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
8490
 
  its return value to include the sha1 and length of the inserted text. This
8491
 
  allows the avoidance of double-sha1 calculations during commit.
8492
 
  (Robert Collins)
8493
 
 
8494
 
* ``Transport.should_cache`` has been removed.  It was not called in the
8495
 
  previous release.  (Martin Pool)
8496
 
 
8497
 
Testing
8498
 
*******
8499
 
 
8500
 
* Tests may now raise TestNotApplicable to indicate they shouldn't be
8501
 
  run in a particular scenario.  (Martin Pool)
8502
 
 
8503
 
* New function multiply_tests_from_modules to give a simpler interface
8504
 
  to test parameterization.  (Martin Pool, Robert Collins)
8505
 
 
8506
 
* ``Transport.should_cache`` has been removed.  It was not called in the
8507
 
  previous release.  (Martin Pool)
8508
 
 
8509
 
* NULL_REVISION is returned to indicate the null revision, not None.
8510
 
  (Aaron Bentley)
8511
 
 
8512
 
* Use UTF-8 encoded StringIO for log tests to avoid failures on
8513
 
  non-ASCII committer names.  (Lukáš Lalinský)
8514
 
 
8515
 
Internals
8516
 
*********
8517
 
 
8518
 
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
8519
 
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
8520
 
  useful functionality for determining the path of a plugin, its tests, and
8521
 
  its version information. (Robert Collins)
8522
 
 
8523
 
* Add the option user_encoding to the function 'show_diff_trees()'
8524
 
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
8525
 
 
8526
 
* Add the function make_commit_message_template_encoded() and the function
8527
 
  edit_commit_message_encoded() which handle encoded strings.
8528
 
  This is done in order to mix the commit messages (which is a unicode
8529
 
  string), and the diff which is a raw string. (Goffredo Baroncelli)
8530
 
 
8531
 
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
8532
 
  overhead on non-weave repositories which don't require all parents to be
8533
 
  present. (Robert Collins)
8534
 
 
8535
 
* Deprecated method ``find_previous_heads`` on
8536
 
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
8537
 
  of ``parent_candidates`` and a separate heads check via the repository
8538
 
  API. (Robert Collins)
8539
 
 
8540
 
* New trace function ``mutter_callsite`` will print out a subset of the
8541
 
  stack to the log, which can be useful for gathering debug details.
8542
 
  (Robert Collins)
8543
 
 
8544
 
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
8545
 
  added via a public attribute records_written. (Robert Collins)
8546
 
 
8547
 
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
8548
 
  This provides a hint to users of transports as to the reasonable
8549
 
  minimum data to read. In principle this can take latency and
8550
 
  bandwidth into account on a per-connection basis, but for now it
8551
 
  just has hard coded values based on the url. (e.g. http:// has a large
8552
 
  page size, file:// has a small one.) (Robert Collins)
8553
 
 
8554
 
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
8555
 
  incremental addition of data to a file without requiring that all the
8556
 
  data be buffered in memory. (Robert Collins)
8557
 
 
8558
 
* New methods on ``bzrlib.knit.KnitVersionedFile``:
8559
 
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
8560
 
  ``get_format_signature()``.  These provide some infrastructure for
8561
 
  efficiently streaming the knit data for a set of versions over the smart
8562
 
  protocol.
8563
 
 
8564
 
* Knits with no annotation cache still produce correct annotations.
8565
 
  (Aaron Bentley)
8566
 
 
8567
 
* Three new methods have been added to ``bzrlib.trace``:
8568
 
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
8569
 
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
8570
 
  zero for normal, positive for verbose. The size of the number can be
8571
 
  used to determine just how quiet or verbose the application should be.
8572
 
  The existing ``be_quiet`` and ``is_quiet`` routines have been
8573
 
  integrated into this new scheme. (Ian Clatworthy)
8574
 
 
8575
 
* Options can now be delcared with a ``custom_callback`` parameter. If
8576
 
  set, this routine is called after the option is processed. This feature
8577
 
  is now used by the standard options ``verbose`` and ``quiet`` so that
8578
 
  setting one implicitly resets the other. (Ian Clatworthy)
8579
 
 
8580
 
* Rather than declaring a new option from scratch in order to provide
8581
 
  custom help, a centrally registered option can be decorated using the
8582
 
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
8583
 
  is useful when declaring better help for the ``verbose`` and ``quiet``
8584
 
  standard options as the base definition of these is now more complex
8585
 
  than before thanks to their use of a custom callback. (Ian Clatworthy)
8586
 
 
8587
 
* Tree._iter_changes(specific_file=[]) now iterates through no files,
8588
 
  instead of iterating through all files.  None is used to iterate through
8589
 
  all files.  (Aaron Bentley)
8590
 
 
8591
 
* WorkingTree.revert() now accepts None to revert all files.  The use of
8592
 
  [] to revert all files is deprecated.  (Aaron Bentley)
8593
 
 
8594
 
 
8595
 
bzr 0.90
8596
 
########
8597
 
 
8598
 
:Released: 2007-08-28
8599
 
 
8600
 
Improvements
8601
 
************
8602
 
 
8603
 
* Documentation is now organized into multiple directories with a level
8604
 
  added for different languages or locales. Added the Mini Tutorial
8605
 
  and Quick Start Summary (en) documents from the Wiki, improving the
8606
 
  content and readability of the former. Formatted NEWS as Release Notes
8607
 
  complete with a Table of Conents, one heading per release. Moved the
8608
 
  Developer Guide into the main document catalog and provided a link
8609
 
  from the developer document catalog back to the main one.
8610
 
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
8611
 
 
8612
 
 
8613
 
API Changes
8614
 
***********
8615
 
 
8616
 
* The static convenience method ``BzrDir.create_repository``
8617
 
  is deprecated.  Callers should instead create a ``BzrDir`` instance
8618
 
  and call ``create_repository`` on that.  (Martin Pool)
8619
 
 
8620
 
 
8621
 
bzr 0.90rc1
8622
 
###########
8623
 
 
8624
 
:Released: 2007-08-14
8625
 
 
8626
 
Bugfixes
8627
 
********
8628
 
 
8629
 
* ``bzr init`` should connect to the remote location one time only.  We
8630
 
  have been connecting several times because we forget to pass around the
8631
 
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
8632
 
  so that we can give it the Transport we already have.
8633
 
  (John Arbash Meinel, Vincent Ladeuil, #111702)
8634
 
 
8635
 
* Get rid of sftp connection cache (get rid of the FTP one too).
8636
 
  (Vincent Ladeuil, #43731)
8637
 
 
8638
 
* bzr branch {local|remote} remote don't try to create a working tree
8639
 
  anymore.
8640
 
  (Vincent Ladeuil, #112173)
8641
 
 
8642
 
* All identified multiple connections for a single bzr command have been
8643
 
  fixed. See bzrlib/tests/commands directory.
8644
 
  (Vincent Ladeuil)
8645
 
 
8646
 
* ``bzr rm`` now does not insist on ``--force`` to delete files that
8647
 
  have been renamed but not otherwise modified.  (Marius Kruger,
8648
 
  #111664)
8649
 
 
8650
 
* ``bzr selftest --bench`` no longer emits deprecation warnings
8651
 
  (Lukáš Lalinský)
8652
 
 
8653
 
* ``bzr status`` now honours FILE parameters for conflict lists
8654
 
  (Aaron Bentley, #127606)
8655
 
 
8656
 
* ``bzr checkout`` now honours -r when reconstituting a working tree.
8657
 
  It also honours -r 0.  (Aaron Bentley, #127708)
8658
 
 
8659
 
* ``bzr add *`` no more fails on Windows if working tree contains
8660
 
  non-ascii file names. (Kuno Meyer, #127361)
8661
 
 
8662
 
* allow ``easy_install bzr`` runs without fatal errors.
8663
 
  (Alexander Belchenko, #125521)
8664
 
 
8665
 
* Graph._filter_candidate_lca does not raise KeyError if a candidate
8666
 
  is eliminated just before it would normally be examined.  (Aaron Bentley)
8667
 
 
8668
 
* SMTP connection failures produce a nice message, not a traceback.
8669
 
  (Aaron Bentley)
8670
 
 
8671
 
Improvements
8672
 
************
8673
 
 
8674
 
* Don't show "dots" progress indicators when run non-interactively, such
8675
 
  as from cron.  (Martin Pool)
8676
 
 
8677
 
* ``info`` now formats locations more nicely and lists "submit" and
8678
 
  "public" branches (Aaron Bentley)
8679
 
 
8680
 
* New ``pack`` command that will trigger database compression within
8681
 
  the repository (Robert Collins)
8682
 
 
8683
 
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
8684
 
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
8685
 
  Which yields a measurable improvement for commands which have to
8686
 
  read from the repository, such as a 1s => 0.75s improvement in
8687
 
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
8688
 
 
8689
 
* Merge is now faster.  Depending on the scenario, it can be more than 2x
8690
 
  faster. (Aaron Bentley)
8691
 
 
8692
 
* Give a clearer warning, and allow ``python setup.py install`` to
8693
 
  succeed even if pyrex is not available.
8694
 
  (John Arbash Meinel)
8695
 
 
8696
 
* ``DirState._read_dirblocks`` now has an optional Pyrex
8697
 
  implementation. This improves the speed of any command that has to
8698
 
  read the entire DirState. (``diff``, ``status``, etc, improve by
8699
 
  about 10%).
8700
 
  ``bisect_dirblocks`` has also been improved, which helps all
8701
 
  ``_get_entry`` type calls (whenever we are searching for a
8702
 
  particular entry in the in-memory DirState).
8703
 
  (John Arbash Meinel)
8704
 
 
8705
 
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
8706
 
  branch revision history for ui display unless -v is supplied.
8707
 
  (Robert Collins)
8708
 
 
8709
 
* ``bzr log -rA..B`` output shifted to the left margin if the log only
8710
 
  contains merge revisions. (Kent Gibson)
8711
 
 
8712
 
* The ``plugins`` command is now public with improved help.
8713
 
  (Ian Clatworthy)
8714
 
 
8715
 
* New bundle and merge directive formats are faster to generate, and
8716
 
 
8717
 
* Annotate merge now works when there are local changes. (Aaron Bentley)
8718
 
 
8719
 
* Commit now only shows the progress in terms of directories instead of
8720
 
  entries. (Ian Clatworthy)
8721
 
 
8722
 
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
8723
 
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
8724
 
  Meinel)
8725
 
 
8726
 
* Fix ``VersionedFile.get_graph()`` to avoid using
8727
 
  ``set.difference_update(other)``, which has bad scaling when
8728
 
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
8729
 
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
8730
 
 
8731
 
* The ``--lsprof-file`` option now generates output for KCacheGrind if
8732
 
  the file starts with ``callgrind.out``. This matches the default file
8733
 
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
8734
 
 
8735
 
* Fix ``bzr update`` to avoid an unnecessary
8736
 
  ``branch.get_master_branch`` call, which avoids 1 extra connection
8737
 
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
8738
 
 
8739
 
* Log errors from the smart server in the trace file, to make debugging
8740
 
  test failures (and live failures!) easier.  (Andrew Bennetts)
8741
 
 
8742
 
* The HTML version of the man page has been superceded by a more
8743
 
  comprehensive manual called the Bazaar User Reference. This manual
8744
 
  is completed generated from the online help topics. As part of this
8745
 
  change, limited reStructuredText is now explicitly supported in help
8746
 
  topics and command help with 'unnatural' markup being removed prior
8747
 
  to display by the online help or inclusion in the man page.
8748
 
  (Ian Clatworthy)
8749
 
 
8750
 
* HTML documentation now use files extension ``*.html``
8751
 
  (Alexander Belchenko)
8752
 
 
8753
 
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
8754
 
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
8755
 
 
8756
 
* ``bzr selftest --strict`` fails if there are any missing features or
8757
 
  expected test failures. (Daniel Watkins, #111914)
8758
 
 
8759
 
* Link to registration survey added to README. (Ian Clatworthy)
8760
 
 
8761
 
* Windows standalone installer show link to registration survey
8762
 
  when installation finished. (Alexander Belchenko)
8763
 
 
8764
 
Library API Breaks
8765
 
******************
8766
 
 
8767
 
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
8768
 
  Options are now required to provide a help string and it must
8769
 
  comply with the style guide by being one or more sentences with an
8770
 
  initial capital and final period. (Martin Pool)
8771
 
 
8772
 
* KnitIndex.get_parents now returns tuples. (Robert Collins)
8773
 
 
8774
 
* Ancient unused ``Repository.text_store`` attribute has been removed.
8775
 
  (Robert Collins)
8776
 
 
8777
 
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
8778
 
  rather than just bytestrings, making it easier to represent multiple
8779
 
  element names. As this interface was not used by any internal facilities
8780
 
  since it was introduced in 0.18 no API compatibility is being preserved.
8781
 
  The serialised form of these packs is identical with 0.18 when a single
8782
 
  element tuple is in use. (Robert Collins)
8783
 
 
8784
 
Internals
8785
 
*********
8786
 
 
8787
 
* merge now uses ``iter_changes`` to calculate changes, which makes room for
8788
 
  future performance increases.  It is also more consistent with other
8789
 
  operations that perform comparisons, and reduces reliance on
8790
 
  Tree.inventory.  (Aaron Bentley)
8791
 
 
8792
 
* Refactoring of transport classes connected to a remote server.
8793
 
  ConnectedTransport is a new class that serves as a basis for all
8794
 
  transports needing to connect to a remote server.  transport.split_url
8795
 
  have been deprecated, use the static method on the object instead. URL
8796
 
  tests have been refactored too.
8797
 
  (Vincent Ladeuil)
8798
 
 
8799
 
* Better connection sharing for ConnectedTransport objects.
8800
 
  transport.get_transport() now accepts a 'possible_transports' parameter.
8801
 
  If a newly requested transport can share a connection with one of the
8802
 
  list, it will.
8803
 
  (Vincent Ladeuil)
8804
 
 
8805
 
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
8806
 
  the null revision, and consider using ``None`` for this purpose
8807
 
  deprecated.  (Aaron Bentley)
8808
 
 
8809
 
* New ``index`` module with abstract index functionality. This will be
8810
 
  used during the planned changes in the repository layer. Currently the
8811
 
  index layer provides a graph aware immutable index, a builder for the
8812
 
  same index type to allow creating them, and finally a composer for
8813
 
  such indices to allow the use of many indices in a single query. The
8814
 
  index performance is not optimised, however the API is stable to allow
8815
 
  development on top of the index. (Robert Collins)
8816
 
 
8817
 
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
8818
 
  their directory sections. This is equivalent to comparing
8819
 
  ``path.split('/')``, only without having to split the paths.
8820
 
  This has a Pyrex implementation available.
8821
 
  (John Arbash Meinel)
8822
 
 
8823
 
* New transport decorator 'unlistable+' which disables the list_dir
8824
 
  functionality for testing.
8825
 
 
8826
 
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
8827
 
 
8828
 
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
8829
 
  for performing annotate-merge.  (Aaron Bentley)
8830
 
 
8831
 
* New EmailMessage class to create email messages. (Adeodato Simó)
8832
 
 
8833
 
* Unused functions on the private interface KnitIndex have been removed.
8834
 
  (Robert Collins)
8835
 
 
8836
 
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
8837
 
  of a ``index.GraphIndex``. (Robert Collins)
8838
 
 
8839
 
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
8840
 
  the parents of many knit nodes at once, reducing round trips to the
8841
 
  underlying index. (Robert Collins)
8842
 
 
8843
 
* Graph now has an is_ancestor method, various bits use it.
8844
 
  (Aaron Bentley)
8845
 
 
8846
 
* The ``-Dhpss`` flag now includes timing information. As well as
8847
 
  logging when a new connection is opened. (John Arbash Meinel)
8848
 
 
8849
 
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
8850
 
  callers when inserting data, allowing generation of readv style access
8851
 
  during pack creation, without needing a separate pass across the output
8852
 
  pack to gather such details. (Robert Collins)
8853
 
 
8854
 
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
8855
 
  files that are stored on a transport. (Robert Collins)
8856
 
 
8857
 
* New ``Repository.has_same_location`` method that reports if two
8858
 
  repository objects refer to the same repository (although with some risk
8859
 
  of false negatives).  (Andrew Bennetts)
8860
 
 
8861
 
* InterTree.compare now passes require_versioned on correctly.
8862
 
  (Marius Kruger)
8863
 
 
8864
 
* New methods on Repository - ``start_write_group``,
8865
 
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
8866
 
  which provide a clean hook point for transactional Repositories - ones
8867
 
  where all the data for a fetch or commit needs to be made atomically
8868
 
  available in one step. This allows the write lock to remain while making
8869
 
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
8870
 
 
8871
 
* In ``bzrlib.knit`` the internal interface has been altered to use
8872
 
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
8873
 
  describe where data in a knit is, allowing knits to be split into
8874
 
  many files. (Robert Collins)
8875
 
 
8876
 
* ``bzrlib.knit._KnitData`` split into cache management and physical access
8877
 
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
8878
 
  The former provides access into a .pack file, and the latter provides the
8879
 
  current production repository form of .knit files. (Robert Collins)
8880
 
 
8881
 
Testing
8882
 
*******
8883
 
 
8884
 
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
8885
 
  ``--keep-output`` options, which are obsolete now that tests
8886
 
  are done within directories in $TMPDIR.  (Martin Pool)
8887
 
 
8888
 
* The SSH_AUTH_SOCK environment variable is now reset to avoid
8889
 
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
8890
 
 
8891
 
* run_bzr_subprocess handles parameters the same way as run_bzr:
8892
 
  either a string or a list of strings should be passed as the first
8893
 
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
8894
 
 
8895
 
 
8896
 
bzr 0.18
8897
 
########
8898
 
 
8899
 
:Released:  2007-07-17
8900
 
 
8901
 
Bugfixes
8902
 
********
8903
 
 
8904
 
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
8905
 
 
8906
 
 
8907
 
bzr 0.18rc1
8908
 
###########
8909
 
 
8910
 
:Released:  2007-07-10
8911
 
 
8912
 
Bugfixes
8913
 
********
8914
 
 
8915
 
* Do not suppress pipe errors, etc. in non-display commands
8916
 
  (Alexander Belchenko, #87178)
8917
 
 
8918
 
* Display a useful error message when the user requests to annotate
8919
 
  a file that is not present in the specified revision.
8920
 
  (James Westby, #122656)
8921
 
 
8922
 
* Commands that use status flags now have a reference to 'help
8923
 
  status-flags'.  (Daniel Watkins, #113436)
8924
 
 
8925
 
* Work around python-2.4.1 inhability to correctly parse the
8926
 
  authentication header.
8927
 
  (Vincent Ladeuil, #121889)
8928
 
 
8929
 
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
8930
 
 
8931
 
* Fix tempfile permissions error in smart server tar bundling under
8932
 
  Windows. (Martin _, #119330)
8933
 
 
8934
 
* Fix detection of directory entries in the inventory. (James Westby)
8935
 
 
8936
 
* Fix handling of http code 400: Bad Request When issuing too many ranges.
8937
 
  (Vincent Ladeuil, #115209)
8938
 
 
8939
 
* Issue a CONNECT request when connecting to an https server
8940
 
  via a proxy to enable SSL tunneling.
8941
 
  (Vincent Ladeuil, #120678)
8942
 
 
8943
 
* Fix ``bzr log -r`` to support selecting merge revisions, both
8944
 
  individually and as part of revision ranges.
8945
 
  (Kent Gibson, #4663)
8946
 
 
8947
 
* Don't leave cruft behind when failing to acquire a lockdir.
8948
 
  (Martin Pool, #109169)
8949
 
 
8950
 
* Don't use the '-f' strace option during tests.
8951
 
  (Vincent Ladeuil, #102019).
8952
 
 
8953
 
* Warn when setting ``push_location`` to a value that will be masked by
8954
 
  locations.conf.  (Aaron Bentley, #122286)
8955
 
 
8956
 
* Fix commit ordering in corner case (Aaron Bentley, #94975)
8957
 
 
8958
 
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
8959
 
 
8960
 
Improvements
8961
 
************
8962
 
 
8963
 
* The --lsprof-file option now dumps a text rendering of the profiling
8964
 
  information if the filename ends in ".txt". It will also convert the
8965
 
  profiling information to a format suitable for KCacheGrind if the
8966
 
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
8967
 
  conversion process by Jean Paul Calderone and Itamar were also merged.
8968
 
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
8969
 
 
8970
 
* ``info`` now defaults to non-verbose mode, displaying only paths and
8971
 
  abbreviated format info.  ``info -v`` displays all the information
8972
 
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
8973
 
 
8974
 
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
8975
 
  (Elliot Murphy)
8976
 
 
8977
 
* The internal ``weave-list`` command has become ``versionedfile-list``,
8978
 
  and now lists knits as well as weaves.  (Aaron Bentley)
8979
 
 
8980
 
* Automatic merge base selection uses a faster algorithm that chooses
8981
 
  better bases in criss-cross merge situations (Aaron Bentley)
8982
 
 
8983
 
* Progress reporting in ``commit`` has been improved. The various logical
8984
 
  stages are now reported on as follows, namely:
8985
 
 
8986
 
  * Collecting changes [Entry x/y] - Stage n/m
8987
 
  * Saving data locally - Stage n/m
8988
 
  * Uploading data to master branch - Stage n/m
8989
 
  * Updating the working tree - Stage n/m
8990
 
  * Running post commit hooks - Stage n/m
8991
 
 
8992
 
  If there is no master branch, the 3rd stage is omitted and the total
8993
 
  number of stages is adjusted accordingly.
8994
 
 
8995
 
  Each hook that is run after commit is listed with a name (as hooks
8996
 
  can be slow it is useful feedback).
8997
 
  (Ian Clatworthy, Robert Collins)
8998
 
 
8999
 
* Various operations that are now faster due to avoiding unnecessary
9000
 
  topological sorts. (Aaron Bentley)
9001
 
 
9002
 
* Make merge directives robust against broken bundles. (Aaron Bentley)
9003
 
 
9004
 
* The lsprof filename note is emitted via trace.note(), not standard
9005
 
  output.  (Aaron Bentley)
9006
 
 
9007
 
* ``bzrlib`` now exports explicit API compatibility information to assist
9008
 
  library users and plugins. See the ``bzrlib.api`` module for details.
9009
 
  (Robert Collins)
9010
 
 
9011
 
* Remove unnecessary lock probes when acquiring a lockdir.
9012
 
  (Martin Pool)
9013
 
 
9014
 
* ``bzr --version`` now shows the location of the bzr log file, which
9015
 
  is especially useful on Windows.  (Martin Pool)
9016
 
 
9017
 
* -D now supports hooks to get debug tracing of hooks (though its currently
9018
 
  minimal in nature). (Robert Collins)
9019
 
 
9020
 
* Long log format reports deltas on merge revisions.
9021
 
  (John Arbash Meinel, Kent Gibson)
9022
 
 
9023
 
* Make initial push over ftp more resilient. (John Arbash Meinel)
9024
 
 
9025
 
* Print a summary of changes for update just like pull does.
9026
 
  (Daniel Watkins, #113990)
9027
 
 
9028
 
* Add a -Dhpss option to trace smart protocol requests and responses.
9029
 
  (Andrew Bennetts)
9030
 
 
9031
 
Library API Breaks
9032
 
******************
9033
 
 
9034
 
* Testing cleanups -
9035
 
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
9036
 
  to ``bzrlib.tests.repository_implementations``;
9037
 
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
9038
 
  to ``bzrlib.tests.interrepository_implementations``;
9039
 
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
9040
 
  ``bzrlib.tests.test_transport_implementations``.
9041
 
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
9042
 
  ``bzrlib.tests.branch_implementations``.
9043
 
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
9044
 
  ``bzrlib.tests.bzrdir_implementations``.
9045
 
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
9046
 
  to ``bzrlib.tests.interversionedfile_implementations``.
9047
 
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
9048
 
  ``bzrlib.tests.revisionstore_implementations``.
9049
 
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
9050
 
  ``bzrlib.tests.workingtree_implementations``.
9051
 
  These changes are an API break in the testing infrastructure only.
9052
 
  (Robert Collins)
9053
 
 
9054
 
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
9055
 
 
9056
 
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
9057
 
  win32. Callers of the function should do this and use the new
9058
 
  ``MutableTree.smart_add`` method instead. (Robert Collins)
9059
 
 
9060
 
* ``bzrlib.add.glob_expand_for_win32`` is now
9061
 
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
9062
 
 
9063
 
* ``bzrlib.add.FastPath`` is now private and moved to
9064
 
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
9065
 
 
9066
 
* ``LockDir.wait`` removed.  (Martin Pool)
9067
 
 
9068
 
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
9069
 
  ``server_stopped`` hooks. The first parameter is now an iterable of
9070
 
  backing URLs rather than a single URL. This is to reflect that many
9071
 
  URLs may map to the external URL of the server. E.g. the server interally
9072
 
  may have a chrooted URL but also the local file:// URL will be at the
9073
 
  same location. (Robert Collins)
9074
 
 
9075
 
Internals
9076
 
*********
9077
 
 
9078
 
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
9079
 
 
9080
 
* Fix documentation of BzrError. (Adeodato Simó)
9081
 
 
9082
 
* Make BzrBadParameter an internal error. (Adeodato Simó)
9083
 
 
9084
 
* Remove use of 'assert False' to raise an exception unconditionally.
9085
 
  (Martin Pool)
9086
 
 
9087
 
* Give a cleaner error when failing to decode knit index entry.
9088
 
  (Martin Pool)
9089
 
 
9090
 
* TreeConfig would mistakenly search the top level when asked for options
9091
 
  from a section. It now respects the section argument and only
9092
 
  searches the specified section. (James Westby)
9093
 
 
9094
 
* Improve ``make api-docs`` output. (John Arbash Meinel)
9095
 
 
9096
 
* Use os.lstat rather than os.stat for osutils.make_readonly and
9097
 
  osutils.make_writeable. This makes the difftools plugin more
9098
 
  robust when dangling symlinks are found. (Elliot Murphy)
9099
 
 
9100
 
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
9101
 
  lockdirs are taken or released.  (Martin Pool)
9102
 
 
9103
 
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
9104
 
  allows a nicer UI when hooks are running as the current hook can
9105
 
  be displayed. (Robert Collins)
9106
 
 
9107
 
* ``Transport.get`` has had its interface made more clear for ease of use.
9108
 
  Retrieval of a directory must now fail with either 'PathError' at open
9109
 
  time, or raise 'ReadError' on a read. (Robert Collins)
9110
 
 
9111
 
* New method ``_maybe_expand_globs`` on the ``Command`` class for
9112
 
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
9113
 
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
9114
 
 
9115
 
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
9116
 
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
9117
 
  Martin Pool)
9118
 
 
9119
 
* New method ``external_url`` on Transport for obtaining the url to
9120
 
  hand to external processes. (Robert Collins)
9121
 
 
9122
 
* Teach windows installers to build pyrex/C extensions.
9123
 
  (Alexander Belchenko)
9124
 
 
9125
 
Testing
9126
 
*******
9127
 
 
9128
 
* Removed the ``--keep-output`` option from selftest and clean up test
9129
 
  directories as they're used.  This reduces the IO load from
9130
 
  running the test suite and cuts the time by about half.
9131
 
  (Andrew Bennetts, Martin Pool)
9132
 
 
9133
 
* Add scenarios as a public attribute on the TestAdapter classes to allow
9134
 
  modification of the generated scenarios before adaption and easier
9135
 
  testing. (Robert Collins)
9136
 
 
9137
 
* New testing support class ``TestScenarioApplier`` which multiplies
9138
 
  out a single teste by a list of supplied scenarios. (RobertCollins)
9139
 
 
9140
 
* Setting ``repository_to_test_repository`` on a repository_implementations
9141
 
  test will cause it to be called during repository creation, allowing the
9142
 
  testing of repository classes which are not based around the Format
9143
 
  concept. For example a repository adapter can be tested in this manner,
9144
 
  by altering the repository scenarios to include a scenario that sets this
9145
 
  attribute during the test parameterisation in
9146
 
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
9147
 
 
9148
 
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
9149
 
  interface is now self.run_bzr.  The command to run can be passed as
9150
 
  either a list of parameters, a string containing the command line, or
9151
 
  (deprecated) varargs parameters.  (Martin Pool)
9152
 
 
9153
 
* The base TestCase now isolates tests from -D parameters by clearing
9154
 
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
9155
 
 
9156
 
* Add a relpath parameter to get_transport methods in test framework to
9157
 
  avoid useless cloning.
9158
 
  (Vincent Ladeuil, #110448)
9159
 
 
9160
 
 
9161
 
bzr 0.17
9162
 
########
9163
 
 
9164
 
:Released:  2007-06-18
9165
 
 
9166
 
Bugfixes
9167
 
********
9168
 
 
9169
 
* Fix crash of commit due to wrong lookup of filesystem encoding.
9170
 
  (Colin Watson, #120647)
9171
 
 
9172
 
* Revert logging just to stderr in commit as broke unicode filenames.
9173
 
  (Aaron Bentley, Ian Clatworthy, #120930)
9174
 
 
9175
 
 
9176
 
bzr 0.17rc1
9177
 
###########
9178
 
 
9179
 
:Released:  2007-06-12
9180
 
 
9181
 
Notes When Upgrading
9182
 
********************
9183
 
 
9184
 
* The kind() and is_executable() APIs on the WorkingTree interface no
9185
 
  longer implicitly (read) locks and unlocks the tree. This *might*
9186
 
  impact some plug-ins and tools using this part of the API. If you find
9187
 
  an issue that may be caused by this change, please let us know,
9188
 
  particularly the plug-in/tool maintainer. If encountered, the API
9189
 
  fix is to surround kind() and is_executable() calls with lock_read()
9190
 
  and unlock() like so::
9191
 
 
9192
 
    work_tree.lock_read()
9193
 
    try:
9194
 
        kind = work_tree.kind(...)
9195
 
    finally:
9196
 
        work_tree.unlock()
9197
 
 
9198
 
Internals
9199
 
*********
9200
 
* Rework of LogFormatter API to provide beginning/end of log hooks and to
9201
 
  encapsulate the details of the revision to be logged in a LogRevision
9202
 
  object.
9203
 
  In long log formats, merge revision ids are only shown when --show-ids
9204
 
  is specified, and are labelled "revision-id:", as per mainline
9205
 
  revisions, instead of "merged:". (Kent Gibson)
9206
 
 
9207
 
* New ``BranchBuilder`` API which allows the construction of particular
9208
 
  histories quickly. Useful for testing and potentially other applications
9209
 
  too. (Robert Collins)
9210
 
 
9211
 
Improvements
9212
 
************
9213
 
 
9214
 
* There are two new help topics, working-trees and repositories that
9215
 
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
9216
 
  Aaron Bentley)
9217
 
 
9218
 
* Added ``bzr log --limit`` to report a limited number of revisions.
9219
 
  (Kent Gibson, #3659)
9220
 
 
9221
 
* Revert does not try to preserve file contents that were originally
9222
 
  produced by reverting to a historical revision.  (Aaron Bentley)
9223
 
 
9224
 
* ``bzr log --short`` now includes ``[merge]`` for revisions which
9225
 
  have more than one parent. This is a small improvement to help
9226
 
  understanding what changes have occurred
9227
 
  (John Arbash Meinel, #83887)
9228
 
 
9229
 
* TreeTransform avoids many renames when contructing large trees,
9230
 
  improving speed.  3.25x speedups have been observed for construction of
9231
 
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
9232
 
 
9233
 
* Commit on large trees is now faster. In my environment, a commit of
9234
 
  a small change to the Mozilla tree (55k files) has dropped from
9235
 
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
9236
 
  small change is 33% faster. (Ian Clatworthy)
9237
 
 
9238
 
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
9239
 
  #56322)
9240
 
 
9241
 
Bugfixes
9242
 
********
9243
 
 
9244
 
* ``bzr push`` should only connect to the remote location one time.
9245
 
  We have been connecting 3 times because we forget to pass around
9246
 
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
9247
 
  that we can pass in the Transport that we already have.
9248
 
  (John Arbash Meinel, #75721)
9249
 
 
9250
 
* ``DirState.set_state_from_inventory()`` needs to properly order
9251
 
  based on split paths, not just string paths.
9252
 
  (John Arbash Meinel, #115947)
9253
 
 
9254
 
* Let TestUIFactoy encode the password prompt with its own stdout.
9255
 
  (Vincent Ladeuil, #110204)
9256
 
 
9257
 
* pycurl should take use the range header that takes the range hint
9258
 
  into account.
9259
 
  (Vincent Ladeuil, #112719)
9260
 
 
9261
 
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
9262
 
  on a missing file.  (Aaron Bentley, #118186)
9263
 
 
9264
 
* WorkingTree.remove works correctly with tree references, and when pwd is
9265
 
  not the tree root. (Aaron Bentley)
9266
 
 
9267
 
* Merge no longer fails when a file is renamed in one tree and deleted
9268
 
  in the other. (Aaron Bentley, #110279)
9269
 
 
9270
 
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
9271
 
  and defaults to the last revision (Matthew Fuller, #90048)
9272
 
 
9273
 
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
9274
 
  (Daniel Watkins, #111958)
9275
 
 
9276
 
* ``bzr branch -r revid:foo`` can be used to branch any revision in
9277
 
  your repository. (Previously Branch6 only supported revisions in your
9278
 
  mainline). (John Arbash Meinel, #115343)
9279
 
 
9280
 
bzr 0.16
9281
 
########
9282
 
 
9283
 
:Released:  2007-05-07
9284
 
 
9285
 
Bugfixes
9286
 
********
9287
 
 
9288
 
* Handle when you have 2 directories with similar names, but one has a
9289
 
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
9290
 
  iterator was using direct comparison and ``'abc/a'`` sorts after
9291
 
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
9292
 
  (John Arbash Meinel, #111227)
9293
 
 
9294
 
* Handle when someone renames a file on disk without telling bzr.
9295
 
  Previously we would report the first file as missing, but not show
9296
 
  the new unknown file. (John Arbash Meinel, #111288)
9297
 
 
9298
 
* Avoid error when running hooks after pulling into or pushing from
9299
 
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
9300
 
 
9301
 
Improvements
9302
 
************
9303
 
 
9304
 
* Move developer documentation to doc/developers/. This reduces clutter in
9305
 
  the root of the source tree and allows HACKING to be split into multiple
9306
 
  files. (Robert Collins, Alexander Belchenko)
9307
 
 
9308
 
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
9309
 
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
9310
 
  diff`` and ``bzr status`` significantly improving the speed of
9311
 
  both. (John Arbash Meinel)
9312
 
 
9313
 
bzr 0.16rc2
9314
 
###########
9315
 
 
9316
 
:Released:  2007-04-30
9317
 
 
9318
 
Bugfixes
9319
 
********
9320
 
 
9321
 
* Handle the case when you delete a file, and then rename another file
9322
 
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
9323
 
  status`` should show the removed file and an unknown file in its
9324
 
  place. (John Arbash Meinel, #109993)
9325
 
 
9326
 
* Bundles properly read and write revision properties that have an
9327
 
  empty value. And when the value is not ASCII.
9328
 
  (John Arbash Meinel, #109613)
9329
 
 
9330
 
* Fix the bzr commit message to be in text mode.
9331
 
  (Alexander Belchenko, #110901)
9332
 
 
9333
 
* Also handle when you rename a file and create a file where it used
9334
 
  to be. (John Arbash Meinel, #110256)
9335
 
 
9336
 
* ``WorkingTree4._iter_changes`` should not descend into unversioned
9337
 
  directories. (John Arbash Meinel, #110399)
9338
 
 
9339
 
bzr 0.16rc1
9340
 
###########
9341
 
 
9342
 
:Released:  2007-04-26
9343
 
 
9344
 
Notes When Upgrading
9345
 
********************
9346
 
 
9347
 
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
9348
 
  it could be recovered again.
9349
 
  This has been done for consistency with svn and the unix rm command.
9350
 
  The old ``remove`` behaviour has been retained in the new option
9351
 
  ``bzr remove --keep``, which will just stop versioning the file,
9352
 
  but not delete it.
9353
 
  ``bzr remove --force`` have been added which will always delete the
9354
 
  files.
9355
 
  ``bzr remove`` is also more verbose.
9356
 
  (Marius Kruger, #82602)
9357
 
 
9358
 
Improvements
9359
 
************
9360
 
 
9361
 
* Merge directives can now be supplied as input to `merge` and `pull`,
9362
 
  like bundles can.  (Aaron Bentley)
9363
 
 
9364
 
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
9365
 
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
9366
 
  to continue.  This can be disabled by setting the environment variable
9367
 
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
9368
 
 
9369
 
* selftest now supports --list-only to list tests instead of running
9370
 
  them. (Ian Clatworthy)
9371
 
 
9372
 
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
9373
 
  tests with names that match that regular expression.
9374
 
  (Ian Clatworthy, #102679)
9375
 
 
9376
 
* selftest now supports --randomize SEED to run tests in a random order.
9377
 
  SEED is typically the value 'now' meaning 'use the current time'.
9378
 
  (Ian Clatworthy, #102686)
9379
 
 
9380
 
* New option ``--fixes`` to commit, which stores bug fixing annotations as
9381
 
  revision properties. Built-in support for Launchpad, Debian, Trac and
9382
 
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
9383
 
 
9384
 
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
9385
 
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
9386
 
  Robert Collins)
9387
 
 
9388
 
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
9389
 
  Pool)
9390
 
 
9391
 
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
9392
 
  into using local variables instead of going through ``self._var``.
9393
 
  Improves the time to ``merge_sort`` a 10k revision graph by
9394
 
  approximately 40% (~700->400ms).  (John Arbash Meinel)
9395
 
 
9396
 
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
9397
 
  (Robert Collins)
9398
 
 
9399
 
* ``bzr help`` now provides cross references to other help topics using
9400
 
  the _see_also facility on command classes. Likewise the bzr_man
9401
 
  documentation, and the bzr.1 man page also include this information.
9402
 
  (Robert Collins)
9403
 
 
9404
 
* Tags are now included in logs, that use the long log formatter.
9405
 
  (Erik Bågfors, Alexander Belchenko)
9406
 
 
9407
 
* ``bzr help`` provides a clearer message when a help topic cannot be
9408
 
  found. (Robert Collins, #107656)
9409
 
 
9410
 
* ``bzr help`` now accepts optional prefixes for command help. The help
9411
 
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
9412
 
  as well as ``bzr help COMMANDNAME`` (which only works for commands
9413
 
  where the name is not the same as a more general help topic).
9414
 
  (Robert Collins)
9415
 
 
9416
 
* ``bzr help PLUGINNAME`` will now return the module docstring from the
9417
 
  plugin PLUGINNAME. (Robert Collins, #50408)
9418
 
 
9419
 
* New help topic ``urlspec`` which lists the availables transports.
9420
 
  (Goffredo Baroncelli)
9421
 
 
9422
 
* doc/server.txt updated to document the default bzr:// port
9423
 
  and also update the blurb about the hpss' current status.
9424
 
  (Robert Collins, #107125).
9425
 
 
9426
 
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
9427
 
  serve out to the local LAN (and anyone in the world that can reach the
9428
 
  machine running ``bzr serve``. (Robert Collins, #98918)
9429
 
 
9430
 
* A new smart server protocol version has been added.  It prefixes requests
9431
 
  and responses with an explicit version identifier so that future protocol
9432
 
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
9433
 
 
9434
 
* The bzr protocol version 2 indicates success or failure in every response
9435
 
  without depending on particular commands encoding that consistently,
9436
 
  allowing future client refactorings to be much more robust about error
9437
 
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
9438
 
 
9439
 
* The smart protocol over HTTP client has been changed to always post to the
9440
 
  same ``.bzr/smart`` URL under the original location when it can.  This allows
9441
 
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
9442
 
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
9443
 
 
9444
 
* digest authentication is now supported for proxies and HTTP by the urllib
9445
 
  based http implementation. Tested against Apache 2.0.55 and Squid
9446
 
  2.6.5. Basic and digest authentication are handled coherently for HTTP
9447
 
  and proxy: if the user is provided in the url (bzr command line for HTTP,
9448
 
  proxy environment variables for proxies), the password is prompted for
9449
 
  (only once). If the password is provided, it is taken into account. Once
9450
 
  the first authentication is successful, all further authentication
9451
 
  roundtrips are avoided by preventively setting the right authentication
9452
 
  header(s).
9453
 
  (Vincent Ladeuil).
9454
 
 
9455
 
Internals
9456
 
*********
9457
 
 
9458
 
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
9459
 
  code paths. (Robert Collins)
9460
 
 
9461
 
* Change the format of chroot urls so that they can be safely manipulated
9462
 
  by generic url utilities without causing the resulting urls to have
9463
 
  escaped the chroot. A side effect of this is that creating a chroot
9464
 
  requires an explicit action using a ChrootServer.
9465
 
  (Robert Collins, Andrew Bennetts)
9466
 
 
9467
 
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
9468
 
  rather than fixing bug #96847.  (Aaron Bentley)
9469
 
 
9470
 
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
9471
 
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
9472
 
 
9473
 
* Convenience method ``TestCase.expectFailure`` ensures that known failures
9474
 
  do not silently pass.  (Aaron Bentley)
9475
 
 
9476
 
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
9477
 
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
9478
 
 
9479
 
* New SmartServer hooks facility. There are two initial hooks documented
9480
 
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
9481
 
  plugins to execute code upon server startup and shutdown.
9482
 
  (Robert Collins).
9483
 
 
9484
 
* SmartServer in standalone mode will now close its listening socket
9485
 
  when it stops, rather than waiting for garbage collection. This primarily
9486
 
  fixes test suite hangs when a test tries to connect to a shutdown server.
9487
 
  It may also help improve behaviour when dealing with a server running
9488
 
  on a specific port (rather than dynamically assigned ports).
9489
 
  (Robert Collins)
9490
 
 
9491
 
* Move most SmartServer code into a new package, bzrlib/smart.
9492
 
  bzrlib/transport/remote.py contains just the Transport classes that used
9493
 
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
9494
 
 
9495
 
* urllib http implementation avoid roundtrips associated with
9496
 
  401 (and 407) errors once the authentication succeeds.
9497
 
  (Vincent Ladeuil).
9498
 
 
9499
 
* urlib http now supports querying the user for a proxy password if
9500
 
  needed. Realm is shown in the prompt for both HTTP and proxy
9501
 
  authentication when the user is required to type a password.
9502
 
  (Vincent Ladeuil).
9503
 
 
9504
 
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
9505
 
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
9506
 
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
9507
 
  it's not really a "smart" transport, just one that does file operations
9508
 
  via remote procedure calls.  (Andrew Bennetts)
9509
 
 
9510
 
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
9511
 
  ``Branch`` now accept a ``token`` keyword argument, so that separate
9512
 
  instances of those objects can share a lock if it has the right token.
9513
 
  (Andrew Bennetts, Robert Collins)
9514
 
 
9515
 
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
9516
 
  branch references - which the smart server component needs.
9517
 
 
9518
 
* The Repository API ``make_working_trees`` is now permitted to return
9519
 
  False when ``set_make_working_trees`` is not implemented - previously
9520
 
  an unimplemented ``set_make_working_trees`` implied the result True
9521
 
  from ``make_working_trees``. This has been changed to accomodate the
9522
 
  smart server, where it does not make sense (at this point) to ever
9523
 
  make working trees by default. (Robert Collins)
9524
 
 
9525
 
* Command objects can now declare related help topics by having _see_also
9526
 
  set to a list of related topic. (Robert Collins)
9527
 
 
9528
 
* ``bzrlib.help`` now delegates to the Command class for Command specific
9529
 
  help. (Robert Collins)
9530
 
 
9531
 
* New class ``TransportListRegistry``, derived from the Registry class, which
9532
 
  simplifies tracking the available Transports. (Goffredo Baroncelli)
9533
 
 
9534
 
* New function ``Branch.get_revision_id_to_revno_map`` which will
9535
 
  return a dictionary mapping revision ids to dotted revnos. Since
9536
 
  dotted revnos are defined in the context of the branch tip, it makes
9537
 
  sense to generate them from a ``Branch`` object.
9538
 
  (John Arbash Meinel)
9539
 
 
9540
 
* Fix the 'Unprintable error' message display to use the repr of the
9541
 
  exception that prevented printing the error because the str value
9542
 
  for it is often not useful in debugging (e.g. KeyError('foo') has a
9543
 
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
9544
 
  useful. (Robert Collins)
9545
 
 
9546
 
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
9547
 
  (Andrew Bennetts)
9548
 
 
9549
 
Bugfixes
9550
 
********
9551
 
 
9552
 
* Don't fail bundle selftest if email has 'two' embedded.
9553
 
  (Ian Clatworthy, #98510)
9554
 
 
9555
 
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
9556
 
  (Robert Widhopf-Fenk, #98591)
9557
 
 
9558
 
* Remove ``--basis`` from the checkout/branch commands - it didn't work
9559
 
  properly and is no longer beneficial.
9560
 
  (Robert Collins, #53675, #43486)
9561
 
 
9562
 
* Don't produce encoding error when adding duplicate files.
9563
 
  (Aaron Bentley)
9564
 
 
9565
 
* Fix ``bzr log <file>`` so it only logs the revisions that changed
9566
 
  the file, and does it faster.
9567
 
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
9568
 
 
9569
 
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
9570
 
  an empty versioned directory, which now has files in it.
9571
 
  (John Arbash Meinel, #104257)
9572
 
 
9573
 
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
9574
 
  inside the ancestry of the other. Saves a lot of graph processing
9575
 
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
9576
 
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
9577
 
 
9578
 
* Fix ``show_diff_trees`` to handle the case when a file is modified,
9579
 
  and the containing directory is renamed. (The file path is different
9580
 
  in this versus base, but it isn't marked as a rename).
9581
 
  (John Arbash Meinel, #103870)
9582
 
 
9583
 
* FTP now works even when the FTP server does not support atomic rename.
9584
 
  (Aaron Bentley, #89436)
9585
 
 
9586
 
* Correct handling in bundles and merge directives of timezones with
9587
 
  that are not an integer number of hours offset from UTC.  Always
9588
 
  represent the epoch time in UTC to avoid problems with formatting
9589
 
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
9590
 
  Arbash Meinel)
9591
 
 
9592
 
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
9593
 
 
9594
 
* "dirstate" and "dirstate-tags" formats now produce branches compatible
9595
 
  with old versions of bzr. (Aaron Bentley, #107168))
9596
 
 
9597
 
* Handle moving a directory when children have been added, removed,
9598
 
  and renamed. (John Arbash Meinel, #105479)
9599
 
 
9600
 
* Don't preventively use basic authentication for proxy before receiving a
9601
 
  407 error. Otherwise people willing to use other authentication schemes
9602
 
  may expose their password in the clear (or nearly). This add one
9603
 
  roundtrip in case basic authentication should be used, but plug the
9604
 
  security hole.
9605
 
  (Vincent Ladeuil)
9606
 
 
9607
 
* Handle http and proxy digest authentication.
9608
 
  (Vincent Ladeuil, #94034).
9609
 
 
9610
 
Testing
9611
 
*******
9612
 
 
9613
 
* Added ``bzrlib.strace.strace`` which will strace a single callable and
9614
 
  return a StraceResult object which contains just the syscalls involved
9615
 
  in running it. (Robert Collins)
9616
 
 
9617
 
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
9618
 
  default time down to one suitable for tests. (Andrew Bennetts)
9619
 
 
9620
 
* Add new ``vfs_transport_factory`` attribute on tests which provides the
9621
 
  common vfs backing for both the readonly and readwrite transports.
9622
 
  This allows the RemoteObject tests to back onto local disk or memory,
9623
 
  and use the existing ``transport_server`` attribute all tests know about
9624
 
  to be the smart server transport. This in turn allows tests to
9625
 
  differentiate between 'transport to access the branch', and
9626
 
  'transport which is a VFS' - which matters in Remote* tests.
9627
 
  (Robert Collins, Andrew Bennetts)
9628
 
 
9629
 
* The ``make_branch_and_tree`` method for tests will now create a
9630
 
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
9631
 
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
9632
 
 
9633
 
* Branch implementation tests have been audited to ensure that all urls
9634
 
  passed to Branch APIs use proper urls, except when local-disk paths
9635
 
  are intended. This is so that tests correctly access the test transport
9636
 
  which is often not equivalent to local disk in Remote* tests. As part
9637
 
  of this many tests were adjusted to remove dependencies on local disk
9638
 
  access.
9639
 
  (Robert Collins, Andrew Bennetts)
9640
 
 
9641
 
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
9642
 
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
9643
 
  Andrew Bennetts, Martin Pool, Jonathan Lange)
9644
 
 
9645
 
* Refactored proxy and authentication handling to simplify the
9646
 
  implementation of new auth schemes for both http and proxy.
9647
 
  (Vincent Ladeuil)
9648
 
 
9649
 
bzr 0.15
9650
 
########
9651
 
 
9652
 
:Released: 2007-04-01
9653
 
 
9654
 
Bugfixes
9655
 
********
9656
 
 
9657
 
* Handle incompatible repositories as a user issue when fetching.
9658
 
  (Aaron Bentley)
9659
 
 
9660
 
* Don't give a recommendation to upgrade when branching or
9661
 
  checking out a branch that contains an old-format working tree.
9662
 
  (Martin Pool)
9663
 
 
9664
 
bzr 0.15rc3
9665
 
###########
9666
 
 
9667
 
:Released:  2007-03-26
9668
 
 
9669
 
Changes
9670
 
*******
9671
 
 
9672
 
* A warning is now displayed when opening working trees in older
9673
 
  formats, to encourage people to upgrade to WorkingTreeFormat4.
9674
 
  (Martin Pool)
9675
 
 
9676
 
Improvements
9677
 
************
9678
 
 
9679
 
* HTTP redirections are now taken into account when a branch (or a
9680
 
  bundle) is accessed for the first time. A message is issued at each
9681
 
  redirection to inform the user. In the past, http redirections were
9682
 
  silently followed for each request which significantly degraded the
9683
 
  performances. The http redirections are not followed anymore by
9684
 
  default, instead a RedirectRequested exception is raised. For bzrlib
9685
 
  users needing to follow http redirections anyway,
9686
 
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
9687
 
  path.  (vila)
9688
 
 
9689
 
Internals
9690
 
*********
9691
 
 
9692
 
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
9693
 
  lock to an OS write lock. Linux can do this without unlocking, Win32
9694
 
  needs to unlock in between. (John Arbash Meinel)
9695
 
 
9696
 
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
9697
 
  to silence (when false) warnings about opening old formats.
9698
 
  (Martin Pool)
9699
 
 
9700
 
* Fix minor performance regression with bzr-0.15 on pre-dirstate
9701
 
  trees. (We were reading the working inventory too many times).
9702
 
  (John Arbash Meinel)
9703
 
 
9704
 
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
9705
 
  ``revision_history``.  Branch subclasses should override
9706
 
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
9707
 
  this cache, and call ``_clear_revision_history_cache`` and
9708
 
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
9709
 
 
9710
 
Bugfixes
9711
 
********
9712
 
 
9713
 
* Take ``smtp_server`` from user config into account.
9714
 
  (vila, #92195)
9715
 
 
9716
 
* Restore Unicode filename handling for versioned and unversioned files.
9717
 
  (John Arbash Meinel, #92608)
9718
 
 
9719
 
* Don't fail during ``bzr commit`` if a file is marked removed, and
9720
 
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
9721
 
 
9722
 
* ``bzr status FILENAME`` failed on Windows because of an uncommon
9723
 
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
9724
 
  (Wouter van Heyst, John Arbash Meinel, #90819)
9725
 
 
9726
 
* ``bzr checkout source`` should create a local branch in the same
9727
 
  format as source. (John Arbash Meinel, #93854)
9728
 
 
9729
 
* ``bzr commit`` with a kind change was failing to update the
9730
 
  last-changed-revision for directories.  The
9731
 
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
9732
 
  ignoring the fact that the kind could have changed, too.
9733
 
  (John Arbash Meinel, #90111)
9734
 
 
9735
 
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
9736
 
  the directory. So that there was a chance it would break commit,
9737
 
  etc. (John Arbash Meinel, #94037)
9738
 
 
9739
 
* Correctly handles mutiple permanent http redirections.
9740
 
  (vila, #88780)
9741
 
 
9742
 
bzr 0.15rc2
9743
 
###########
9744
 
 
9745
 
:Released:  2007-03-14
9746
 
 
9747
 
Notes When Upgrading
9748
 
********************
9749
 
 
9750
 
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
9751
 
  default to ``--trees`` instead of ``--no-trees``.
9752
 
  Existing shared repositories are not affected.
9753
 
 
9754
 
Improvements
9755
 
************
9756
 
 
9757
 
* New ``merge-directive`` command to generate machine- and human-readable
9758
 
  merge requests.  (Aaron Bentley)
9759
 
 
9760
 
* New ``submit:`` revision specifier makes it easy to diff against the
9761
 
  common ancestor with the submit location (Aaron Bentley)
9762
 
 
9763
 
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
9764
 
 
9765
 
* Added ``bzr status --versioned`` to report only versioned files,
9766
 
  not unknowns. (Kent Gibson)
9767
 
 
9768
 
* Merge now autodetects the correct line-ending style for its conflict
9769
 
  markers.  (Aaron Bentley)
9770
 
 
9771
 
Internals
9772
 
*********
9773
 
 
9774
 
* Refactored SSH vendor registration into SSHVendorManager class.
9775
 
  (Dmitry Vasiliev)
9776
 
 
9777
 
Bugfixes
9778
 
********
9779
 
 
9780
 
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
9781
 
  numbered dirs for TestCaseInTempDir. This is default behavior
9782
 
  on Windows. Anyone can force named dirs on Windows
9783
 
  with ``--no-numbered-dirs``. (Alexander Belchenko)
9784
 
 
9785
 
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
9786
 
  from the command line. (Marien Zwart, #90501)
9787
 
 
9788
 
* Fix ``TreeTransform._iter_changes`` when both the source and
9789
 
  destination are missing. (Aaron Bentley, #88842)
9790
 
 
9791
 
* Fix commit of merges with symlinks in dirstate trees.
9792
 
  (Marien Zwart)
9793
 
 
9794
 
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
9795
 
  (Wouter van Heyst, #53483)
9796
 
 
9797
 
 
9798
 
bzr 0.15rc1
9799
 
###########
9800
 
 
9801
 
:Released:  2007-03-07
9802
 
 
9803
 
Surprises
9804
 
*********
9805
 
 
9806
 
* The default disk format has changed. Please run 'bzr upgrade' in your
9807
 
  working trees to upgrade. This new default is compatible for network
9808
 
  operations, but not for local operations. That is, if you have two
9809
 
  versions of bzr installed locally, after upgrading you can only use the
9810
 
  bzr 0.15 version. This new default does not enable tags or nested-trees
9811
 
  as they are incompatible with bzr versions before 0.15 over the network.
9812
 
 
9813
 
* For users of bzrlib: Two major changes have been made to the working tree
9814
 
  api in bzrlib. The first is that many methods and attributes, including
9815
 
  the inventory attribute, are no longer valid for use until one of
9816
 
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
9817
 
  and become invalid again after unlock is called. This has been done
9818
 
  to improve performance and correctness as part of the dirstate
9819
 
  development.
9820
 
  (Robert Collins, John A Meinel, Martin Pool, and others).
9821
 
 
9822
 
* For users of bzrlib: The attribute 'tree.inventory' should be considered
9823
 
  readonly. Previously it was possible to directly alter this attribute, or
9824
 
  its contents, and have the tree notice this. This has been made
9825
 
  unsupported - it may work in some tree formats, but in the newer dirstate
9826
 
  format such actions will have no effect and will be ignored, or even
9827
 
  cause assertions. All operations possible can still be carried out by a
9828
 
  combination of the tree API, and the bzrlib.transform API. (Robert
9829
 
  Collins, John A Meinel, Martin Pool, and others).
9830
 
 
9831
 
Improvements
9832
 
************
9833
 
 
9834
 
* Support for OS Windows 98. Also .bzr.log on any windows system
9835
 
  saved in My Documents folder. (Alexander Belchenko)
9836
 
 
9837
 
* ``bzr mv`` enhanced to support already moved files.
9838
 
  In the past the mv command would have failed if the source file doesn't
9839
 
  exist. In this situation ``bzr mv`` would now detect that the file has
9840
 
  already moved and update the repository accordingly, if the target file
9841
 
  does exist.
9842
 
  A new option ``--after`` has been added so that if two files already
9843
 
  exist, you could notify Bazaar that you have moved a (versioned) file
9844
 
  and replaced it with another. Thus in this case ``bzr move --after``
9845
 
  will only update the Bazaar identifier.
9846
 
  (Steffen Eichenberg, Marius Kruger)
9847
 
 
9848
 
* ``ls`` now works on treeless branches and remote branches.
9849
 
  (Aaron Bentley)
9850
 
 
9851
 
* ``bzr help global-options`` describes the global options.
9852
 
  (Aaron Bentley)
9853
 
 
9854
 
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
9855
 
  (Robert Collins)
9856
 
 
9857
 
* Files are now allowed to change kind (e.g. from file to symlink).
9858
 
  Supported by ``commit``, ``revert`` and ``status``
9859
 
  (Aaron Bentley)
9860
 
 
9861
 
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
9862
 
  (Aaron Bentley)
9863
 
 
9864
 
* ``bzr help checkouts`` descibes what checkouts are and some possible
9865
 
  uses of them. (James Westby, Aaron Bentley)
9866
 
 
9867
 
* A new ``-d`` option to push, pull and merge overrides the default
9868
 
  directory.  (Martin Pool)
9869
 
 
9870
 
* Branch format 6: smaller, and potentially faster than format 5.  Supports
9871
 
  ``append_history_only`` mode, where the log view and revnos do not change,
9872
 
  except by being added to.  Stores policy settings in
9873
 
  ".bzr/branch/branch.conf".
9874
 
 
9875
 
* ``append_only`` branches:  Format 6 branches may be configured so that log
9876
 
  view and revnos are always consistent.  Either create the branch using
9877
 
  "bzr init --append-revisions-only" or edit the config file as descriped
9878
 
  in docs/configuration.txt.
9879
 
 
9880
 
* rebind: Format 6 branches retain the last-used bind location, so if you
9881
 
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
9882
 
  bind location.
9883
 
 
9884
 
* Builtin tags support, created and deleted by the ``tag`` command and
9885
 
  stored in the branch.  Tags can be accessed with the revisionspec
9886
 
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
9887
 
  at present. Tags require a network incompatible upgrade. To perform this
9888
 
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
9889
 
  repositories. (Martin Pool)
9890
 
 
9891
 
* The ``bzr://`` transport now has a well-known port number, 4155,
9892
 
  which it will use by default.  (Andrew Bennetts, Martin Pool)
9893
 
 
9894
 
* Bazaar now looks for user-installed plugins before looking for site-wide
9895
 
  plugins. (Jonathan Lange)
9896
 
 
9897
 
* ``bzr resolve`` now detects and marks resolved text conflicts.
9898
 
  (Aaron Bentley)
9899
 
 
9900
 
Internals
9901
 
*********
9902
 
 
9903
 
* Internally revision ids and file ids are now passed around as utf-8
9904
 
  bytestrings, rather than treating them as Unicode strings. This has
9905
 
  performance benefits for Knits, since we no longer need to decode the
9906
 
  revision id for each line of content, nor for each entry in the index.
9907
 
  This will also help with the future dirstate format.
9908
 
  (John Arbash Meinel)
9909
 
 
9910
 
* Reserved ids (any revision-id ending in a colon) are rejected by
9911
 
  versionedfiles, repositories, branches, and working trees
9912
 
  (Aaron Bentley)
9913
 
 
9914
 
* Minor performance improvement by not creating a ProgressBar for
9915
 
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
9916
 
  (John Arbash Meinel)
9917
 
 
9918
 
* New easier to use Branch hooks facility. There are five initial hooks,
9919
 
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
9920
 
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
9921
 
  ``'post_uncommit'``. These hooks fire after the matching operation
9922
 
  on a branch has taken place, and were originally added for the
9923
 
  branchrss plugin. (Robert Collins)
9924
 
 
9925
 
* New method ``Branch.push()`` which should be used when pushing from a
9926
 
  branch as it makes performance and policy decisions to match the UI
9927
 
  level command ``push``. (Robert Collins).
9928
 
 
9929
 
* Add a new method ``Tree.revision_tree`` which allows access to cached
9930
 
  trees for arbitrary revisions. This allows the in development dirstate
9931
 
  tree format to provide access to the callers to cached copies of
9932
 
  inventory data which are cheaper to access than inventories from the
9933
 
  repository.
9934
 
  (Robert Collins, Martin Pool)
9935
 
 
9936
 
* New ``Branch.last_revision_info`` method, this is being done to allow
9937
 
  optimization of requests for both the number of revisions and the last
9938
 
  revision of a branch with smartservers and potentially future branch
9939
 
  formats. (Wouter van Heyst, Robert Collins)
9940
 
 
9941
 
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
9942
 
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
9943
 
  other for code reuse without requiring users to perform file-renaming
9944
 
  gymnastics. (Robert Collins)
9945
 
 
9946
 
* New Repository method ``'gather_stats'`` for statistic data collection.
9947
 
  This is expected to grow to cover a number of related uses mainly
9948
 
  related to bzr info. (Robert Collins)
9949
 
 
9950
 
* Log formatters are now managed with a registry.
9951
 
  ``log.register_formatter`` continues to work, but callers accessing
9952
 
  the FORMATTERS dictionary directly will not.
9953
 
 
9954
 
* Allow a start message to be passed to the ``edit_commit_message``
9955
 
  function.  This will be placed in the message offered to the user
9956
 
  for editing above the separator. It allows a template commit message
9957
 
  to be used more easily. (James Westby)
9958
 
 
9959
 
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
9960
 
  you pass a Unicode string rather than an 8-bit string. Callers need
9961
 
  to be updated to encode first. (John Arbash Meinel)
9962
 
 
9963
 
* Branch.push, pull, merge now return Result objects with information
9964
 
  about what happened, rather than a scattering of various methods.  These
9965
 
  are also passed to the post hooks.  (Martin Pool)
9966
 
 
9967
 
* File formats and architecture is in place for managing a forest of trees
9968
 
  in bzr, and splitting up existing trees into smaller subtrees, and
9969
 
  finally joining trees to make a larger tree. This is the first iteration
9970
 
  of this support, and the user-facing aspects still require substantial
9971
 
  work.  If you wish to experiment with it, use ``bzr upgrade
9972
 
  --dirstate-with-subtree`` in your working trees and repositories.
9973
 
  You can use the hidden commands ``split`` and ``join`` and to create
9974
 
  and manipulate nested trees, but please consider using the nested-trees
9975
 
  branch, which contains substantial UI improvements, instead.
9976
 
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
9977
 
  (Aaron Bentley, Martin Pool, Robert Collins).
9978
 
 
9979
 
Bugfixes
9980
 
********
9981
 
 
9982
 
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
9983
 
  branch, rather than the last changed revision of the file.
9984
 
  (John Arbash Meinel, #82158)
9985
 
 
9986
 
* Lock operations no longer hang if they encounter a permission problem.
9987
 
  (Aaron Bentley)
9988
 
 
9989
 
* ``bzr push`` can resume a push that was canceled before it finished.
9990
 
  Also, it can push even if the target directory exists if you supply
9991
 
  the ``--use-existing-dir`` flag.
9992
 
  (John Arbash Meinel, #30576, #45504)
9993
 
 
9994
 
* Fix http proxy authentication when user and an optional
9995
 
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
9996
 
  #83954).
9997
 
 
9998
 
* ``bzr log branch/file`` works for local treeless branches
9999
 
  (Aaron Bentley, #84247)
10000
 
 
10001
 
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
10002
 
 
10003
 
* Searching location of CA bundle for PyCurl in env variable
10004
 
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
10005
 
  (Alexander Belchenko, #82086)
10006
 
 
10007
 
* ``bzr init`` works with unicode argument LOCATION.
10008
 
  (Alexander Belchenko, #85599)
10009
 
 
10010
 
* Raise ``DependencyNotPresent`` if pycurl do not support https.
10011
 
  (Vincent Ladeuil, #85305)
10012
 
 
10013
 
* Invalid proxy env variables should not cause a traceback.
10014
 
  (Vincent Ladeuil, #87765)
10015
 
 
10016
 
* Ignore patterns normalised to use '/' path separator.
10017
 
  (Kent Gibson, #86451)
10018
 
 
10019
 
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
10020
 
 
10021
 
* Fix bzrtools shelve command for removed lines beginning with "--"
10022
 
  (Johan Dahlberg, #75577)
10023
 
 
10024
 
Testing
10025
 
*******
10026
 
 
10027
 
* New ``--first`` option to ``bzr selftest`` to run specified tests
10028
 
  before the rest of the suite.  (Martin Pool)
10029
 
 
10030
 
 
10031
 
bzr 0.14
10032
 
########
10033
 
 
10034
 
:Released:  2007-01-23
10035
 
 
10036
 
Improvements
10037
 
************
10038
 
 
10039
 
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
10040
 
 
10041
 
Bug Fixes
10042
 
*********
10043
 
 
10044
 
* Skip documentation generation tests if the tools to do so are not
10045
 
  available. Fixes running selftest for installled copies of bzr.
10046
 
  (John Arbash Meinel, #80330)
10047
 
 
10048
 
* Fix the code that discovers whether bzr is being run from it's
10049
 
  working tree to handle the case when it isn't but the directory
10050
 
  it is in is below a repository. (James Westby, #77306)
10051
 
 
10052
 
 
10053
 
bzr 0.14rc1
10054
 
###########
10055
 
 
10056
 
:Released:  2007-01-16
10057
 
 
10058
 
Improvements
10059
 
************
10060
 
 
10061
 
* New connection: ``bzr+http://`` which supports tunnelling the smart
10062
 
  protocol over an HTTP connection. If writing is enabled on the bzr
10063
 
  server, then you can write over the http connection.
10064
 
  (Andrew Bennetts, John Arbash Meinel)
10065
 
 
10066
 
* Aliases now support quotation marks, so they can contain whitespace
10067
 
  (Marius Kruger)
10068
 
 
10069
 
* PyCurlTransport now use a single curl object. By specifying explicitly
10070
 
  the 'Range' header, we avoid the need to use two different curl objects
10071
 
  (and two connections to the same server). (Vincent Ladeuil)
10072
 
 
10073
 
* ``bzr commit`` does not prompt for a message until it is very likely to
10074
 
  succeed.  (Aaron Bentley)
10075
 
 
10076
 
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
10077
 
  (Aaron Bentley)
10078
 
 
10079
 
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
10080
 
  of a list while checking if a revision id was requested. Takes 10s
10081
 
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
10082
 
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
10083
 
  filtering lines with a regex rather than multiple ``str.find()``
10084
 
  calls. (saves another 300ms) (John Arbash Meinel)
10085
 
 
10086
 
* Policy can be set for each configuration key. This allows keys to be
10087
 
  inherited properly across configuration entries. For example, this
10088
 
  should enable you to do::
10089
 
 
10090
 
    [/home/user/project]
10091
 
    push_location = sftp://host/srv/project/
10092
 
    push_location:policy = appendpath
10093
 
 
10094
 
  And then a branch like ``/home/user/project/mybranch`` should get an
10095
 
  automatic push location of ``sftp://host/srv/project/mybranch``.
10096
 
  (James Henstridge)
10097
 
 
10098
 
* Added ``bzr status --short`` to make status report svn style flags
10099
 
  for each file.  For example::
10100
 
 
10101
 
    $ bzr status --short
10102
 
    A  foo
10103
 
    A  bar
10104
 
    D  baz
10105
 
    ?  wooley
10106
 
 
10107
 
* 'bzr selftest --clean-output' allows easily clean temporary tests
10108
 
  directories without running tests. (Alexander Belchenko)
10109
 
 
10110
 
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
10111
 
 
10112
 
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
10113
 
  local is fully merged into remote. (Jan Hudec)
10114
 
 
10115
 
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
10116
 
 
10117
 
Internals
10118
 
*********
10119
 
 
10120
 
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
10121
 
  help speed up processing, as well allowing to extract unannotated
10122
 
  lines. Between the two ``fileids_affected_by_revision_ids`` is
10123
 
  improved by approx 10%. (John Arbash Meinel)
10124
 
 
10125
 
* Change Revision serialization to only write out millisecond
10126
 
  resolution. Rather than expecting floating point serialization to
10127
 
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
10128
 
 
10129
 
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
10130
 
 
10131
 
* When ``encoding_type`` attribute of class Command is equal to 'exact',
10132
 
  force sys.stdout to be a binary stream on Windows, and therefore
10133
 
  keep exact line-endings (without LF -> CRLF conversion).
10134
 
  (Alexander Belchenko)
10135
 
 
10136
 
* Single-letter short options are no longer globally declared.  (Martin
10137
 
  Pool)
10138
 
 
10139
 
* Before using detected user/terminal encoding bzr should check
10140
 
  that Python has corresponding codec. (Alexander Belchenko)
10141
 
 
10142
 
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
10143
 
 
10144
 
Bug Fixes
10145
 
*********
10146
 
 
10147
 
* ``bzr missing --verbose`` was showing adds/removals in the wrong
10148
 
  direction. (John Arbash Meinel)
10149
 
 
10150
 
* ``bzr annotate`` now defaults to showing dotted revnos for merged
10151
 
  revisions. It cuts them off at a depth of 12 characters, but you can
10152
 
  supply ``--long`` to see the full number. You can also use
10153
 
  ``--show-ids`` to display the original revision ids, rather than
10154
 
  revision numbers and committer names. (John Arbash Meinel, #75637)
10155
 
 
10156
 
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
10157
 
  (Alexander Belchenko, #57869)
10158
 
 
10159
 
* Win32-specific: output of cat, bundle and diff commands don't mangle
10160
 
  line-endings (Alexander Belchenko, #55276)
10161
 
 
10162
 
* Replace broken fnmatch based ignore pattern matching with custom pattern
10163
 
  matcher.
10164
 
  (Kent Gibson, Jan Hudec #57637)
10165
 
 
10166
 
* pycurl and urllib can detect short reads at different places. Update
10167
 
  the test suite to test more cases. Also detect http error code 416
10168
 
  which was raised for that specific bug. Also enhance the urllib
10169
 
  robustness by detecting invalid ranges (and pycurl's one by detecting
10170
 
  short reads during the initial GET). (Vincent Ladeuil, #73948)
10171
 
 
10172
 
* The urllib connection sharing interacts badly with urllib2
10173
 
  proxy setting (the connections didn't go thru the proxy
10174
 
  anymore). Defining a proper ProxyHandler solves the
10175
 
  problem.  (Vincent Ladeuil, #74759)
10176
 
 
10177
 
* Use urlutils to generate relative URLs, not osutils
10178
 
  (Aaron Bentley, #76229)
10179
 
 
10180
 
* ``bzr status`` in a readonly directory should work without giving
10181
 
  lots of errors. (John Arbash Meinel, #76299)
10182
 
 
10183
 
* Mention the revisionspec topic for the revision option help.
10184
 
  (Wouter van Heyst, #31663)
10185
 
 
10186
 
* Allow plugins import from zip archives.
10187
 
  (Alexander Belchenko, #68124)
10188
 
 
10189
 
 
10190
 
bzr 0.13
10191
 
########
10192
 
 
10193
 
:Released:  2006-12-05
10194
 
 
10195
 
No changes from 0.13rc
10196
 
 
10197
 
 
10198
 
bzr 0.13rc1
10199
 
###########
10200
 
 
10201
 
:Released:  2006-11-27
10202
 
 
10203
 
Improvements
10204
 
************
10205
 
 
10206
 
* New command ``bzr remove-tree`` allows the removal of the working
10207
 
  tree from a branch.
10208
 
  (Daniel Silverstone)
10209
 
 
10210
 
* urllib uses shared keep-alive connections, so http
10211
 
  operations are substantially faster.
10212
 
  (Vincent Ladeuil, #53654)
10213
 
 
10214
 
* ``bzr export`` allows an optional branch parameter, to export a bzr
10215
 
  tree from some other url. For example:
10216
 
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
10217
 
  (Daniel Silverstone)
10218
 
 
10219
 
* Added ``bzr help topics`` to the bzr help system. This gives a
10220
 
  location for general information, outside of a specific command.
10221
 
  This includes updates for ``bzr help revisionspec`` the first topic
10222
 
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
10223
 
 
10224
 
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
10225
 
  (Andrew Bennetts)
10226
 
 
10227
 
* Knit files will now cache full texts only when the size of the
10228
 
  deltas is as large as the size of the fulltext. (Or after 200
10229
 
  deltas, whichever comes first). This has the most benefit on large
10230
 
  files with small changes, such as the inventory for a large project.
10231
 
  (eg For a project with 2500 files, and 7500 revisions, it changes
10232
 
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
10233
 
 
10234
 
Internals
10235
 
*********
10236
 
 
10237
 
* New -D option given before the command line turns on debugging output
10238
 
  for particular areas.  -Derror shows tracebacks on all errors.
10239
 
  (Martin Pool)
10240
 
 
10241
 
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
10242
 
  and remove benchmarks that take longer than 10min to run.
10243
 
  (John Arbash Meinel)
10244
 
 
10245
 
* Use ``time.time()`` instead of ``time.clock()`` to decide on
10246
 
  progress throttling. Because ``time.clock()`` is actually CPU time,
10247
 
  so over a high-latency connection, too many updates get throttled.
10248
 
  (John Arbash Meinel)
10249
 
 
10250
 
* ``MemoryTransport.list_dir()`` would strip the first character for
10251
 
  files or directories in root directory. (John Arbash Meinel)
10252
 
 
10253
 
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
10254
 
  branch references - which the smart server component needs.
10255
 
 
10256
 
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
10257
 
  prefix.  It disallows any access to locations above a set URL.  (Andrew
10258
 
  Bennetts)
10259
 
 
10260
 
Bug Fixes
10261
 
*********
10262
 
 
10263
 
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
10264
 
  And optimize the knit index parsing code.
10265
 
  (Dmitry Vasiliev, John Arbash Meinel)
10266
 
 
10267
 
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
10268
 
  without importing it. This prevented ``bzr upgrade`` from working
10269
 
  unless a plugin already imported ``bzrlib.workingtree``
10270
 
  (John Arbash Meinel, #70716)
10271
 
 
10272
 
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
10273
 
 
10274
 
* Give nicer error message when an http server returns a 403
10275
 
  error code. (Vincent Ladeuil, #57644).
10276
 
 
10277
 
* When a multi-range http GET request fails, try a single
10278
 
  range one. If it fails too, forget about ranges. Remember that until
10279
 
  the death of the transport and propagates that to the clones.
10280
 
  (Vincent Ladeuil, #62276, #62029).
10281
 
 
10282
 
* Handles user/passwords supplied in url from command
10283
 
  line (for the urllib implementation). Don't request already
10284
 
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
10285
 
 
10286
 
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
10287
 
  are added. This fixes bug where fetching remote revisions records
10288
 
  them as full references rather than integers.
10289
 
  (John Arbash Meinel, #64789)
10290
 
 
10291
 
* ``bzr ignore`` strips trailing slashes in patterns.
10292
 
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
10293
 
 
10294
 
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
10295
 
 
10296
 
* mv correctly handles paths that traverse symlinks.
10297
 
  (Aaron Bentley, #66964)
10298
 
 
10299
 
* Give nicer looking error messages when failing to connect over ssh.
10300
 
  (John Arbash Meinel, #49172)
10301
 
 
10302
 
* Pushing to a remote branch does not currently update the remote working
10303
 
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
10304
 
  machine now show that the working tree is out of date.
10305
 
  (Cheuksan Edward Wang #48136)
10306
 
 
10307
 
* Use patiencediff instead of difflib for determining deltas to insert
10308
 
  into knits. This avoids the O(N^3) behavior of difflib. Patience
10309
 
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
10310
 
 
10311
 
* Running ``bzr log`` on nonexistent file gives an error instead of the
10312
 
  entire log history. (Cheuksan Edward Wang #50793)
10313
 
 
10314
 
* ``bzr cat`` can look up contents of removed or renamed files. If the
10315
 
  pathname is ambiguous, i.e. the files in the old and new trees have
10316
 
  different id's, the default is the file in the new tree. The user can
10317
 
  use "--name-from-revision" to select the file in the old tree.
10318
 
  (Cheuksan Edward Wang, #30190)
10319
 
 
10320
 
Testing
10321
 
*******
10322
 
 
10323
 
* TestingHTTPRequestHandler really handles the Range header
10324
 
  (previously it was ignoring it and returning the whole file,).
10325
 
 
10326
 
bzr 0.12
10327
 
########
10328
 
 
10329
 
:Released:  2006-10-30
10330
 
 
10331
 
Internals
10332
 
*********
10333
 
 
10334
 
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
10335
 
  and remove benchmarks that take longer than 10min to run.
10336
 
  (John Arbash Meinel)
10337
 
 
10338
 
bzr 0.12rc1
10339
 
###########
10340
 
 
10341
 
:Released:  2006-10-23
10342
 
 
10343
 
Improvements
10344
 
************
10345
 
 
10346
 
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
10347
 
  rather than just showing a decimal revision number for revisions on the
10348
 
  mainline. These revision numbers are not yet accepted as input into bzr
10349
 
  commands such as log, diff etc. (Robert Collins)
10350
 
 
10351
 
* revisions can now be specified using dotted-decimal revision numbers.
10352
 
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
10353
 
 
10354
 
* ``bzr help commands`` output is now shorter (Aaron Bentley)
10355
 
 
10356
 
* ``bzr`` now uses lazy importing to reduce the startup time. This has
10357
 
  a moderate effect on lots of actions, especially ones that have
10358
 
  little to do. For example ``bzr rocks`` time is down to 116ms from
10359
 
  283ms. (John Arbash Meinel)
10360
 
 
10361
 
* New Registry class to provide name-to-object registry-like support,
10362
 
  for example for schemes where plugins can register new classes to
10363
 
  do certain tasks (e.g. log formatters). Also provides lazy registration
10364
 
  to allow modules to be loaded on request.
10365
 
  (John Arbash Meinel, Adeodato Simó)
10366
 
 
10367
 
API Incompatability
10368
 
*******************
10369
 
 
10370
 
* LogFormatter subclasses show now expect the 'revno' parameter to
10371
 
  show() to be a string rather than an int. (Robert Collins)
10372
 
 
10373
 
Internals
10374
 
*********
10375
 
 
10376
 
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
10377
 
  can take a ``working_dir='foo'`` parameter, which will change directory
10378
 
  for the command. (John Arbash Meinel)
10379
 
 
10380
 
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
10381
 
  around a regex, which defers compilation until first use.
10382
 
  (John Arbash Meinel)
10383
 
 
10384
 
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
10385
 
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
10386
 
  problems with system-wide installed plugins. (John Arbash Meinel)
10387
 
 
10388
 
* Unique tree root ids are now supported. Newly created trees still
10389
 
  use the common root id for compatibility with bzr versions before 0.12.
10390
 
  (Aaron Bentley)
10391
 
 
10392
 
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
10393
 
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
10394
 
  (Robert Collins, John Arbash Meinel)
10395
 
 
10396
 
* New method ``WorkingTree.flush()`` which will write the current memory
10397
 
  inventory out to disk. At the same time, ``read_working_inventory`` will
10398
 
  no longer trash the current tree inventory if it has been modified within
10399
 
  the current lock, and the tree will now ``flush()`` automatically on
10400
 
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
10401
 
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
10402
 
 
10403
 
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
10404
 
  parameter will cause it to add another column to its output, which
10405
 
  contains the dotted-decimal revno for each revision, as a tuple.
10406
 
  (Robert Collins)
10407
 
 
10408
 
* ``LogFormatter.show_merge`` is deprecated in favour of
10409
 
  ``LogFormatter.show_merge_revno``. (Robert Collins)
10410
 
 
10411
 
Bug Fixes
10412
 
*********
10413
 
 
10414
 
* Avoid circular imports by creating a deprecated function for
10415
 
  ``bzrlib.tree.RevisionTree``. Callers should have been using
10416
 
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
10417
 
  #66349)
10418
 
 
10419
 
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
10420
 
  platforms. (Martin Pool, #66356)
10421
 
 
10422
 
* Don't require ``Content-Type`` in range responses. Assume they are a
10423
 
  single range if ``Content-Type`` does not exist.
10424
 
  (John Arbash Meinel, #62473)
10425
 
 
10426
 
* bzr branch/pull no longer complain about progress bar cleanup when
10427
 
  interrupted during fetch.  (Aaron Bentley, #54000)
10428
 
 
10429
 
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
10430
 
  the basis inventory, rather than going through the repository. This
10431
 
  allows us to have 1 inventory read, and 2 inventory writes when
10432
 
  committing a new tree. (John Arbash Meinel)
10433
 
 
10434
 
* When reverting, files that are not locally modified that do not exist
10435
 
  in the target are deleted, not just unversioned (Aaron Bentley)
10436
 
 
10437
 
* When trying to acquire a lock, don't fail immediately. Instead, try
10438
 
  a few times (up to 1 hour) before timing out. Also, report why the
10439
 
  lock is unavailable (John Arbash Meinel, #43521, #49556)
10440
 
 
10441
 
* Leave HttpTransportBase daughter classes decides how they
10442
 
  implement cloning. (Vincent Ladeuil, #61606)
10443
 
 
10444
 
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
10445
 
 
10446
 
* If a commit fails, the commit message is stored in a file at the root of
10447
 
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
10448
 
  #32054)
10449
 
 
10450
 
Testing
10451
 
*******
10452
 
 
10453
 
* New test base class TestCaseWithMemoryTransport offers memory-only
10454
 
  testing facilities: its not suitable for tests that need to mutate disk
10455
 
  state, but most tests should not need that and should be converted to
10456
 
  TestCaseWithMemoryTransport. (Robert Collins)
10457
 
 
10458
 
* ``TestCase.make_branch_and_memory_tree`` now takes a format
10459
 
  option to set the BzrDir, Repository and Branch formats of the
10460
 
  created objects. (Robert Collins, John Arbash Meinel)
10461
 
 
10462
 
bzr 0.11
10463
 
########
10464
 
 
10465
 
:Released:  2006-10-02
10466
 
 
10467
 
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
10468
 
 
10469
 
bzr 0.11rc2
10470
 
###########
10471
 
 
10472
 
:Released:  2006-09-27
10473
 
 
10474
 
Bug Fixes
10475
 
*********
10476
 
 
10477
 
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
10478
 
 
10479
 
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
10480
 
  Arbash Meinel).
10481
 
 
10482
 
bzr 0.11rc1
10483
 
###########
10484
 
 
10485
 
:Released:  2006-09-25
10486
 
 
10487
 
Improvements
10488
 
************
10489
 
 
10490
 
* Knit files now wait to create their contents until the first data is
10491
 
  added. The old code used to create an empty .knit and a .kndx with just
10492
 
  the header. However, this caused a lot of extra round trips over sftp.
10493
 
  This can change the time for ``bzr push`` to create a new remote branch
10494
 
  from 160s down to 100s. This also affects ``bzr commit`` performance when
10495
 
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
10496
 
  down to 40s (John Arbash Meinel, #44692)
10497
 
 
10498
 
* When an entire subtree has been deleted, commit will now report that
10499
 
  just the top of the subtree has been deleted, rather than reporting
10500
 
  all the individual items. (Robert Collins)
10501
 
 
10502
 
* Commit performs one less XML parse. (Robert Collins)
10503
 
 
10504
 
* ``bzr checkout`` now operates on readonly branches as well
10505
 
  as readwrite branches. This fixes bug #39542. (Robert Collins)
10506
 
 
10507
 
* ``bzr bind`` no longer synchronises history with the master branch.
10508
 
  Binding should be followed by an update or push to synchronise the
10509
 
  two branches. This is closely related to the fix for bug #39542.
10510
 
  (Robert Collins)
10511
 
 
10512
 
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
10513
 
  objects.  This allows all imports to stay at the global scope, but
10514
 
  modules will not actually be imported if they are not used.
10515
 
  (John Arbash Meinel)
10516
 
 
10517
 
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
10518
 
  transport which will be used with the upcoming high-performance smart
10519
 
  server. The new command ``bzr serve`` will invoke bzr in server mode,
10520
 
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
10521
 
  Pool)
10522
 
 
10523
 
* New command ``bzr version-info`` which can be used to get a summary
10524
 
  of the current state of the tree. This is especially useful as part
10525
 
  of a build commands. See ``doc/version_info.txt`` for more information
10526
 
  (John Arbash Meinel)
10527
 
 
10528
 
Bug Fixes
10529
 
*********
10530
 
 
10531
 
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
10532
 
  specific set of files. (John Arbash Meinel, #3631)
10533
 
 
10534
 
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
10535
 
 
10536
 
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
10537
 
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
10538
 
  reading a nested Stanza. (John Arbash Meinel)
10539
 
 
10540
 
* Transform._set_mode() needs to stat the right file.
10541
 
  (John Arbash Meinel, #56549)
10542
 
 
10543
 
* Raise WeaveFormatError rather than StopIteration when trying to read
10544
 
  an empty Weave file. (John Arbash Meinel, #46871)
10545
 
 
10546
 
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
10547
 
  (Vincent Ladeuil, #59835)
10548
 
 
10549
 
* Handle boundary="" lines properly to allow access through a Squid proxy.
10550
 
  (John Arbash Meinel, #57723)
10551
 
 
10552
 
* revert now removes newly-added directories (Aaron Bentley, #54172)
10553
 
 
10554
 
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
10555
 
  isn't a working tree. (David Allouche, #40679)
10556
 
 
10557
 
* Give nicer error messages when a user supplies an invalid --revision
10558
 
  parameter. (John Arbash Meinel, #55420)
10559
 
 
10560
 
* Handle when LANG is not recognized by python. Emit a warning, but
10561
 
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
10562
 
 
10563
 
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
10564
 
  (John Arbash Meinel)
10565
 
 
10566
 
* Skip specific tests when the dependencies aren't met. This includes
10567
 
  some ``setup.py`` tests when ``python-dev`` is not available, and
10568
 
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
10569
 
 
10570
 
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
10571
 
  the system. (Andrew Bennetts, John Arbash Meinel)
10572
 
 
10573
 
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
10574
 
  other branch, and will not push or pull between the two branches.
10575
 
  API users will need to perform a push or pull or update operation if they
10576
 
  require branch synchronisation to take place. (Robert Collins, #47344)
10577
 
 
10578
 
* When creating a tarball or zipfile export, export unicode names as utf-8
10579
 
  paths. This may not work perfectly on all platforms, but has the best
10580
 
  chance of working in the common case. (John Arbash Meinel, #56816)
10581
 
 
10582
 
* When committing, only files that exist in working tree or basis tree
10583
 
  may be specified (Aaron Bentley, #50793)
10584
 
 
10585
 
Portability
10586
 
***********
10587
 
 
10588
 
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
10589
 
 
10590
 
Internals
10591
 
*********
10592
 
 
10593
 
* TestCaseInTempDir now creates a separate directory for HOME, rather
10594
 
  than having HOME set to the same location as the working directory.
10595
 
  (John Arbash Meinel)
10596
 
 
10597
 
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
10598
 
  which will update os.environ inside the spawned child. It also can
10599
 
  take a ``universal_newlines=True``, which helps when checking the output
10600
 
  of the command. (John Arbash Meinel)
10601
 
 
10602
 
* Refactor SFTP vendors to allow easier re-use when ssh is used.
10603
 
  (Andrew Bennetts)
10604
 
 
10605
 
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
10606
 
  return urlescaped paths. This is now tested (there were bugs in a few
10607
 
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
10608
 
 
10609
 
* New utility function ``symbol_versioning.deprecation_string``. Returns the
10610
 
  formatted string for a callable, deprecation format pair. (Robert Collins)
10611
 
 
10612
 
* New TestCase helper applyDeprecated. This allows you to call a callable
10613
 
  which is deprecated without it spewing to the screen, just by supplying
10614
 
  the deprecation format string issued for it. (Robert Collins)
10615
 
 
10616
 
* Transport.append and Transport.put have been deprecated in favor of
10617
 
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
10618
 
  ``.put_file``. This removes the ambiguity in what type of object the
10619
 
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
10620
 
  been added. Which works similarly to ``Transport.append()`` except for
10621
 
  SFTP, it doesn't have a round trip when opening the file. Also, it
10622
 
  provides functionality for creating a parent directory when trying
10623
 
  to create a file, rather than raise NoSuchFile and forcing the
10624
 
  caller to repeat their request.
10625
 
  (John Arbash Meinel)
10626
 
 
10627
 
* WorkingTree has a new api ``unversion`` which allow the unversioning of
10628
 
  entries by their file id. (Robert Collins)
10629
 
 
10630
 
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
10631
 
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
10632
 
 
10633
 
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
10634
 
  read rather than write. This is appropriate for actions which only need
10635
 
  the branch data for reference rather than mutation. A new decorator
10636
 
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
10637
 
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
10638
 
  declaration of the locking requirements of a function to ensure that
10639
 
  a lock is taken out for casual scripts. (Robert Collins, #54107)
10640
 
 
10641
 
* All WorkingTree methods which write to the tree, but not to the branch
10642
 
  have been converted to use ``needs_tree_write_lock`` rather than
10643
 
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
10644
 
  transform modules. This provides a modest performance improvement on
10645
 
  metadir style trees, due to the reduce lock-acquisition, and a more
10646
 
  significant performance improvement on lightweight checkouts from
10647
 
  remote branches, where trivial operations used to pay a significant
10648
 
  penalty. It also provides the basis for allowing readonly checkouts.
10649
 
  (Robert Collins)
10650
 
 
10651
 
* Special case importing the standard library 'copy' module. This shaves
10652
 
  off 40ms of startup time, while retaining compatibility. See:
10653
 
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
10654
 
 
10655
 
* WorkingTree has a new parent class MutableTree which represents the
10656
 
  specialisations of Tree which are able to be altered. (Robert Collins)
10657
 
 
10658
 
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
10659
 
  mutate the tree and its contents. (Robert Collins)
10660
 
 
10661
 
* Transport behaviour at the root of the URL is now defined and tested.
10662
 
  (Andrew Bennetts, Robert Collins)
10663
 
 
10664
 
Testing
10665
 
*******
10666
 
 
10667
 
* New test helper classs MemoryTree. This is typically accessed via
10668
 
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
10669
 
 
10670
 
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
10671
 
  code to continue running concurrently with a subprocess of bzr.
10672
 
  (Andrew Bennetts, Robert Collins)
10673
 
 
10674
 
* Add a new method ``Transport.get_smart_client()``. This is provided to
10675
 
  allow upgrades to a richer interface than the VFS one provided by
10676
 
  Transport. (Andrew Bennetts, Martin Pool)
10677
 
 
10678
 
bzr 0.10
10679
 
########
10680
 
 
10681
 
:Released:  2006-08-29
10682
 
 
10683
 
Improvements
10684
 
************
10685
 
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
10686
 
  tree.  (Aaron Bentley)
10687
 
 
10688
 
* 'bzr add --file-ids-from' can be used to specify another path to use
10689
 
  for creating file ids, rather than generating all new ones. Internally,
10690
 
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
10691
 
  will be used, rather than having bzrlib generate new ones.
10692
 
  (John Arbash Meinel, #55781)
10693
 
 
10694
 
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
10695
 
  This will cache some of the intermediate trees, and decrease the
10696
 
  setup time for benchmark tests. (John Arbash Meinel)
10697
 
 
10698
 
* Inverse forms are provided for all boolean options.  For example,
10699
 
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
10700
 
 
10701
 
* Serialize out Inventories directly, rather than using ElementTree.
10702
 
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
10703
 
  (Robert Collins, John Arbash Meinel)
10704
 
 
10705
 
Bug Fixes
10706
 
*********
10707
 
 
10708
 
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
10709
 
 
10710
 
* Change LockDir so that if the lock directory doesn't exist when
10711
 
  ``lock_write()`` is called, an attempt will be made to create it.
10712
 
  (John Arbash Meinel, #56974)
10713
 
 
10714
 
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
10715
 
 
10716
 
* Active FTP transport now works as intended. (ghozzy, #56472)
10717
 
 
10718
 
* Really fix mutter() so that it won't ever raise a UnicodeError.
10719
 
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
10720
 
  But it is a debugging log, not a real user file.
10721
 
  (John Arbash Meinel, #56947, #53880)
10722
 
 
10723
 
* Change Command handle to allow Unicode command and options.
10724
 
  At present we cannot register Unicode command names, so we will get
10725
 
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
10726
 
  But that is better than a UnicodeError + a traceback.
10727
 
  (John Arbash Meinel, #57123)
10728
 
 
10729
 
* Handle TZ=UTC properly when reading/writing revisions.
10730
 
  (John Arbash Meinel, #55783, #56290)
10731
 
 
10732
 
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
10733
 
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
10734
 
 
10735
 
* External diff does the right thing for binaries even in foreign
10736
 
  languages. (John Arbash Meinel, #56307)
10737
 
 
10738
 
* Testament handles more cases when content is unicode. Specific bug was
10739
 
  in handling of revision properties.
10740
 
  (John Arbash Meinel, Holger Krekel, #54723)
10741
 
 
10742
 
* The bzr selftest was failing on installed versions due to a bug in a new
10743
 
  test helper. (John Arbash Meinel, Robert Collins, #58057)
10744
 
 
10745
 
Internals
10746
 
*********
10747
 
 
10748
 
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
10749
 
  which can be used to cache the conversion between utf8 and Unicode.
10750
 
  Especially helpful for some of the knit annotation code, which has to
10751
 
  convert revision ids to utf8 to annotate lines in storage.
10752
 
  (John Arbash Meinel)
10753
 
 
10754
 
* ``setup.py`` now searches the filesystem to find all packages which
10755
 
  need to be installed. This should help make the life of packagers
10756
 
  easier. (John Arbash Meinel)
10757
 
 
10758
 
bzr 0.9.0
10759
 
#########
10760
 
 
10761
 
:Released:  2006-08-11
10762
 
 
10763
 
Surprises
10764
 
*********
10765
 
 
10766
 
* The hard-coded built-in ignore rules have been removed. There are
10767
 
  now two rulesets which are enforced. A user global one in
10768
 
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
10769
 
  specific one '.bzrignore'.
10770
 
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
10771
 
  a more conservative list than the old default.
10772
 
  This fixes bugs with default rules being enforced no matter what.
10773
 
  The old list of ignore rules from bzr is available by
10774
 
  running 'bzr ignore --old-default-rules'.
10775
 
  (Robert Collins, Martin Pool, John Arbash Meinel)
10776
 
 
10777
 
* 'branches.conf' has been changed to 'locations.conf', since it can apply
10778
 
  to more locations than just branch locations.
10779
 
  (Aaron Bentley)
10780
 
 
10781
 
Improvements
10782
 
************
10783
 
 
10784
 
* The revision specifier "revno:" is extended to accept the syntax
10785
 
  revno:N:branch. For example,
10786
 
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
10787
 
  bzr.dev.  (Matthieu Moy)
10788
 
 
10789
 
* Tests updates to ensure proper URL handling, UNICODE support, and
10790
 
  proper printing when the user's terminal encoding cannot display
10791
 
  the path of a file that has been versioned.
10792
 
  ``bzr branch`` can take a target URL rather than only a local directory.
10793
 
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
10794
 
  and normalize the parent based on root, allowing access across
10795
 
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
10796
 
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
10797
 
  #42517, #42514)
10798
 
 
10799
 
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
10800
 
  Use terminal width for single-line logs from ``bzr log --line`` and
10801
 
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
10802
 
  (Malone #3507)
10803
 
 
10804
 
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
10805
 
  (Alexander Belchenko)
10806
 
 
10807
 
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
10808
 
 
10809
 
* Show the correct number of revisions pushed when pushing a new branch.
10810
 
  (Robert Collins).
10811
 
 
10812
 
* 'bzr selftest' now shows a progress bar with the number of tests, and
10813
 
  progress made. 'make check' shows tests in -v mode, to be more useful
10814
 
  for the PQM status window. (Robert Collins).
10815
 
  When using a progress bar, failed tests are printed out, rather than
10816
 
  being overwritten by the progress bar until the suite finishes.
10817
 
  (John Arbash Meinel)
10818
 
 
10819
 
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
10820
 
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
10821
 
  profile data for the individual profiled calls, allowing for fine
10822
 
  grained analysis of performance.
10823
 
  (Robert Collins, Martin Pool).
10824
 
 
10825
 
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
10826
 
  where commit can take an appreciable time. (Robert Collins)
10827
 
 
10828
 
* 'bzr add' is now less verbose in telling you what ignore globs were
10829
 
  matched by files being ignored. Instead it just tells you how many
10830
 
  were ignored (because you might reasonably be expecting none to be
10831
 
  ignored). 'bzr add -v' is unchanged and will report every ignored
10832
 
  file. (Robert Collins).
10833
 
 
10834
 
* ftp now has a test server if medusa is installed. As part of testing,
10835
 
  ftp support has been improved, including support for supplying a
10836
 
  non-standard port. (John Arbash Meinel).
10837
 
 
10838
 
* 'bzr log --line' shows the revision number, and uses only the
10839
 
  first line of the log message (#5162, Alexander Belchenko;
10840
 
  Matthieu Moy)
10841
 
 
10842
 
* 'bzr status' has had the --all option removed. The 'bzr ls' command
10843
 
  should be used to retrieve all versioned files. (Robert Collins)
10844
 
 
10845
 
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
10846
 
  over email, and applied on the other end, while maintaining ancestry.
10847
 
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
10848
 
  the same way you would apply another branch.
10849
 
  (John Arbash Meinel, Aaron Bentley)
10850
 
 
10851
 
* 'bzr whoami' can now be used to set your identity from the command line,
10852
 
  for a branch or globally.  (Robey Pointer)
10853
 
 
10854
 
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
10855
 
  (Michael Ellerman)
10856
 
 
10857
 
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
10858
 
  (Aaron Bentley)
10859
 
 
10860
 
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
10861
 
  Also updates things like 'http+pycurl://' if pycurl is not present.
10862
 
  (John Arbash Meinel) (Malone #47821, #52204)
10863
 
 
10864
 
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
10865
 
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
10866
 
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
10867
 
 
10868
 
* Improve the help text for 'bzr diff' to explain what various options do.
10869
 
  (John Arbash Meinel, #6391)
10870
 
 
10871
 
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
10872
 
  revision 10. This makes -r10 more in line with what other commands do.
10873
 
  'bzr uncommit' also now saves the pending merges of the revisions that
10874
 
  were removed. So it is safe to uncommit after a merge, fix something,
10875
 
  and commit again. (John Arbash Meinel, #32526, #31426)
10876
 
 
10877
 
* 'bzr init' now also works on remote locations.
10878
 
  (Wouter van Heyst, #48904)
10879
 
 
10880
 
* HTTP support has been updated. When using pycurl we now support
10881
 
  connection keep-alive, which reduces dns requests and round trips.
10882
 
  And for both urllib and pycurl we support multi-range requests,
10883
 
  which decreases the number of round-trips. Performance results for
10884
 
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
10885
 
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
10886
 
  branch is as much as 4x faster.
10887
 
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
10888
 
 
10889
 
* Performance improvements for sftp. Branching and pulling are now up to
10890
 
  2x faster. Utilize paramiko.readv() support for async requests if it
10891
 
  is available (paramiko > 1.6) (John Arbash Meinel)
10892
 
 
10893
 
Bug Fixes
10894
 
*********
10895
 
 
10896
 
* Fix shadowed definition of TestLocationConfig that caused some
10897
 
  tests not to run.
10898
 
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
10899
 
 
10900
 
* Fix unnecessary requirement of sign-my-commits that it be run from
10901
 
  a working directory.  (Martin Pool, Robert Collins)
10902
 
 
10903
 
* 'bzr push location' will only remember the push location if it succeeds
10904
 
  in connecting to the remote location. (John Arbash Meinel, #49742)
10905
 
 
10906
 
* 'bzr revert' no longer toggles the executable bit on win32
10907
 
  (John Arbash Meinel, #45010)
10908
 
 
10909
 
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
10910
 
 
10911
 
* sftp tests now work correctly on win32 if you have a newer paramiko
10912
 
  (John Arbash Meinel)
10913
 
 
10914
 
* Cleanup win32 test suite, and general cleanup of places where
10915
 
  file handles were being held open. (John Arbash Meinel)
10916
 
 
10917
 
* When specifying filenames for 'diff -r x..y', the name of the file in the
10918
 
  working directory can be used, even if its name is different in both x
10919
 
  and y.
10920
 
 
10921
 
* File-ids containing single- or double-quotes are handled correctly by
10922
 
  push. (Aaron Bentley, #52227)
10923
 
 
10924
 
* Normalize unicode filenames to ensure cross-platform consistency.
10925
 
  (John Arbash Meinel, #43689)
10926
 
 
10927
 
* The argument parser can now handle '-' as an argument. Currently
10928
 
  no code interprets it specially (it is mostly handled as a file named
10929
 
  '-'). But plugins, and future operations can use it.
10930
 
  (John Arbash meinel, #50984)
10931
 
 
10932
 
* Bundles can properly read binary files with a plain '\r' in them.
10933
 
  (John Arbash Meinel, #51927)
10934
 
 
10935
 
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
10936
 
 
10937
 
* Lots of win32 fixes (the test suite passes again).
10938
 
  (John Arbash Meinel, #50155)
10939
 
 
10940
 
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
10941
 
 
10942
 
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
10943
 
 
10944
 
* Removals are only committed if they match the filespec (or if there is
10945
 
  no filespec).  (#46635, Aaron Bentley)
10946
 
 
10947
 
* smart-add recurses through all supplied directories
10948
 
  (John Arbash Meinel, #52578)
10949
 
 
10950
 
* Make the bundle reader extra lines before and after the bundle text.
10951
 
  This allows you to parse an email with the bundle inline.
10952
 
  (John Arbash Meinel, #49182)
10953
 
 
10954
 
* Change the file id generator to squash a little bit more. Helps when
10955
 
  working with long filenames on windows. (Also helps for unicode filenames
10956
 
  not generating hidden files). (John Arbash Meinel, #43801)
10957
 
 
10958
 
* Restore terminal mode on C-c while reading sftp password.  (#48923,
10959
 
  Nicholas Allen, Martin Pool)
10960
 
 
10961
 
* Timestamps are rounded to 1ms, and revision entries can be recreated
10962
 
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
10963
 
 
10964
 
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
10965
 
  use local paths, since it is user visible (John Arbash Meinel, #53653)
10966
 
 
10967
 
* ``bzr status foo`` when foo was unversioned used to cause a full delta
10968
 
  to be generated (John Arbash Meinel, #53638)
10969
 
 
10970
 
* When reading revision properties, an empty value should be considered
10971
 
  the empty string, not None (John Arbash Meinel, #47782)
10972
 
 
10973
 
* ``bzr diff --diff-options`` can now handle binary files being changed.
10974
 
  Also, the output is consistent when --diff-options is not supplied.
10975
 
  (John Arbash Meinel, #54651, #52930)
10976
 
 
10977
 
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
10978
 
 
10979
 
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
10980
 
  accessible (John Arbash Meinel, #52976)
10981
 
 
10982
 
Internals
10983
 
*********
10984
 
 
10985
 
* Combine the ignore rules into a single regex rather than looping over
10986
 
  them to reduce the threshold where  N^2 behaviour occurs in operations
10987
 
  like status. (Jan Hudec, Robert Collins).
10988
 
 
10989
 
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
10990
 
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
10991
 
 
10992
 
* 'bzr push' should only push the ancestry of the current revision, not
10993
 
  all of the history in the repository. This is especially important for
10994
 
  shared repositories. (John Arbash Meinel)
10995
 
 
10996
 
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
10997
 
  rather than randomly walking the inventories. (John Arbash Meinel)
10998
 
 
10999
 
* Doctests are now run in temporary directories which are cleaned up when
11000
 
  they finish, rather than using special ScratchDir/ScratchBranch objects.
11001
 
  (Martin Pool)
11002
 
 
11003
 
* Split ``check`` into separate methods on the branch and on the repository,
11004
 
  so that it can be specialized in ways that are useful or efficient for
11005
 
  different formats.  (Martin Pool, Robert Collins)
11006
 
 
11007
 
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
11008
 
  the global revision graph but only that part leading up to a particular
11009
 
  revision.  (Martin Pool, Robert Collins)
11010
 
 
11011
 
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
11012
 
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
11013
 
  (Robert Collins, Jelmer Vernooij).
11014
 
 
11015
 
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
11016
 
  Uses subprocess instead of spawnvp.
11017
 
  (James Henstridge, John Arbash Meinel, #4047, #48914)
11018
 
 
11019
 
* New command line option '--profile-imports', which will install a custom
11020
 
  importer to log time to import modules and regex compilation time to
11021
 
  sys.stderr (John Arbash Meinel)
11022
 
 
11023
 
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
11024
 
  instead. (Robert Collins)
11025
 
 
11026
 
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
11027
 
 
11028
 
bzr 0.8.2
11029
 
#########
11030
 
 
11031
 
:Released:  2006-05-17
11032
 
 
11033
 
Bug Fixes
11034
 
*********
11035
 
 
11036
 
* setup.py failed to install launchpad plugin.  (Martin Pool)
11037
 
 
11038
 
bzr 0.8.1
11039
 
#########
11040
 
 
11041
 
:Released:  2006-05-16
11042
 
 
11043
 
Bug Fixes
11044
 
*********
11045
 
 
11046
 
* Fix failure to commit a merge in a checkout.  (Martin Pool,
11047
 
  Robert Collins, Erik Bågfors, #43959)
11048
 
 
11049
 
* Nicer messages from 'commit' in the case of renames, and correct
11050
 
  messages when a merge has occured. (Robert Collins, Martin Pool)
11051
 
 
11052
 
* Separate functionality from assert statements as they are skipped in
11053
 
  optimized mode of python. Add the same check to pending merges.
11054
 
  (Olaf Conradi, #44443)
11055
 
 
11056
 
Changes
11057
 
*******
11058
 
 
11059
 
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
11060
 
 
11061
 
* Add info on standalone branches without a working tree.
11062
 
  (Olaf Conradi, #44155)
11063
 
 
11064
 
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
11065
 
 
11066
 
Changes
11067
 
*******
11068
 
 
11069
 
* Make editor invocation comply with Debian Policy. First check
11070
 
  environment variables VISUAL and EDITOR, then try editor from
11071
 
  alternatives system. If that all fails, fall back to the pre-defined
11072
 
  list of editors. (Olaf Conradi, #42904)
11073
 
 
11074
 
New Features
11075
 
************
11076
 
 
11077
 
* New 'register-branch' command registers a public branch into
11078
 
  Launchpad.net, where it can be associated with bugs, etc.
11079
 
  (Martin Pool, Bjorn Tillenius, Robert Collins)
11080
 
 
11081
 
Internals
11082
 
*********
11083
 
 
11084
 
* New public api in InventoryEntry - ``describe_change(old, new)`` which
11085
 
  provides a human description of the changes between two old and
11086
 
  new. (Robert Collins, Martin Pool)
11087
 
 
11088
 
Testing
11089
 
*******
11090
 
 
11091
 
* Fix test case for bzr info in upgrading a standalone branch to metadir,
11092
 
  uses bzrlib api now. (Olaf Conradi)
11093
 
 
11094
 
bzr 0.8
11095
 
#######
11096
 
 
11097
 
:Released:  2006-05-08
11098
 
 
11099
 
Notes When Upgrading
11100
 
********************
11101
 
 
11102
 
Release 0.8 of bzr introduces a new format for history storage, called
11103
 
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
11104
 
and remote operations are faster using knits than weaves.  Several
11105
 
operations including 'init', 'init-repo', and 'upgrade' take a
11106
 
--format option that controls this.  Branching from an existing branch
11107
 
will keep the same format.
11108
 
 
11109
 
It is possible to merge, pull and push between branches of different
11110
 
formats but this is slower than moving data between homogenous
11111
 
branches.  It is therefore recommended (but not required) that you
11112
 
upgrade all branches for a project at the same time.  Information on
11113
 
formats is shown by 'bzr info'.
11114
 
 
11115
 
bzr 0.8 now allows creation of 'repositories', which hold the history
11116
 
of files and revisions for several branches.  Previously bzr kept all
11117
 
the history for a branch within the .bzr directory at the root of the
11118
 
branch, and this is still the default.  To create a repository, use
11119
 
the new 'bzr init-repo' command.  Branches exist as directories under
11120
 
the repository and contain just a small amount of information
11121
 
indicating the current revision of the branch.
11122
 
 
11123
 
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
11124
 
subversion.  Checkouts are associated with a branch (optionally in a
11125
 
repository), which contains all the historical information.  The
11126
 
result is that a checkout can be deleted without losing any
11127
 
already-committed revisions.  A new 'update' command is also available.
11128
 
 
11129
 
Repositories and checkouts are not supported with the 0.7 storage
11130
 
format.  To use them you must upgrad to either knits, or to the
11131
 
'metaweave' format, which uses weaves but changes the .bzr directory
11132
 
arrangement.
11133
 
 
11134
 
 
11135
 
Improvements
11136
 
************
11137
 
 
11138
 
* sftp paths can now be relative, or local, according to the lftp
11139
 
  convention. Paths now take the form::
11140
 
 
11141
 
      sftp://user:pass@host:port/~/relative/path
11142
 
      or
11143
 
      sftp://user:pass@host:port/absolute/path
11144
 
 
11145
 
* The FTP transport now tries to reconnect after a temporary
11146
 
  failure. ftp put is made atomic. (Matthieu Moy)
11147
 
 
11148
 
* The FTP transport now maintains a pool of connections, and
11149
 
  reuses them to avoid multiple connections to the same host (like
11150
 
  sftp did). (Daniel Silverstone)
11151
 
 
11152
 
* The ``bzr_man.py`` file has been removed. To create the man page now,
11153
 
  use ``./generate_docs.py man``. The new program can also create other files.
11154
 
  Run ``python generate_docs.py --help`` for usage information.
11155
 
  (Hans Ulrich Niedermann & James Blackwell).
11156
 
 
11157
 
* Man Page now gives full help (James Blackwell).
11158
 
  Help also updated to reflect user config now being stored in .bazaar
11159
 
  (Hans Ulrich Niedermann)
11160
 
 
11161
 
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
11162
 
 
11163
 
* Pull now accepts a --revision argument (Erik Bågfors)
11164
 
 
11165
 
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
11166
 
  line. You can now use the following command to sign all of your old
11167
 
  commits::
11168
 
 
11169
 
    find .bzr/revision-store// -name my@email-* \
11170
 
      | sed 's/.*\/\/..\///' \
11171
 
      | xargs bzr re-sign
11172
 
 
11173
 
* Upgrade can now upgrade over the network. (Robert Collins)
11174
 
 
11175
 
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
11176
 
  behaviour.  By default they will cache history in the checkout, but
11177
 
  with --lightweight almost all data is kept in the master branch.
11178
 
  (Robert Collins)
11179
 
 
11180
 
* 'revert' unversions newly-versioned files, instead of deleting them.
11181
 
 
11182
 
* 'merge' is more robust.  Conflict messages have changed.
11183
 
 
11184
 
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
11185
 
  '.moved'.
11186
 
 
11187
 
* Default log format can be set in configuration and plugins can register
11188
 
  their own formatters. (Erik Bågfors)
11189
 
 
11190
 
* New 'reconcile' command will check branch consistency and repair indexes
11191
 
  that can become out of sync in pre 0.8 formats. (Robert Collins,
11192
 
  Daniel Silverstone)
11193
 
 
11194
 
* New 'bzr init --format' and 'bzr upgrade --format' option to control
11195
 
  what storage format is created or produced.  (Robert Collins,
11196
 
  Martin Pool)
11197
 
 
11198
 
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
11199
 
 
11200
 
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
11201
 
 
11202
 
* New 'init-repository' command, plus support for repositories in 'init'
11203
 
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
11204
 
 
11205
 
* Improve output of 'info' command. Show all relevant locations related to
11206
 
  working tree, branch and repository. Use kibibytes for binary quantities.
11207
 
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
11208
 
  work on branches, repositories and remote locations.  Show locations
11209
 
  relative to the shared repository, if applicable.  Show locking status
11210
 
  of locations.  (Olaf Conradi)
11211
 
 
11212
 
* Diff and merge now safely handle binary files. (Aaron Bentley)
11213
 
 
11214
 
* 'pull' and 'push' now normalise the revision history, so that any two
11215
 
  branches with the same tip revision will have the same output from 'log'.
11216
 
  (Robert Collins)
11217
 
 
11218
 
* 'merge' accepts --remember option to store parent location, like 'push'
11219
 
  and 'pull'. (Olaf Conradi)
11220
 
 
11221
 
* bzr status and diff when files given as arguments do not exist
11222
 
  in the relevant trees.  (Martin Pool, #3619)
11223
 
 
11224
 
* Add '.hg' to the default ignore list.  (Martin Pool)
11225
 
 
11226
 
* 'knit' is now the default disk format. This improves disk performance and
11227
 
  utilization, increases incremental pull performance, robustness with SFTP
11228
 
  and allows checkouts over SFTP to perform acceptably.
11229
 
  The initial Knit code was contributed by Johan Rydberg based on a
11230
 
  specification by Martin Pool.
11231
 
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
11232
 
 
11233
 
* New tool to generate all-in-one html version of the manual.  (Alexander
11234
 
  Belchenko)
11235
 
 
11236
 
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
11237
 
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
11238
 
 
11239
 
* New option 'diff --prefix' to control how files are named in diff
11240
 
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
11241
 
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
11242
 
 
11243
 
* Add --revision option to 'annotate' command.  (Olaf Conradi)
11244
 
 
11245
 
* If bzr shows an unexpected revision-history after pulling (perhaps due
11246
 
  to a reweave) it can now be corrected by 'bzr reconcile'.
11247
 
  (Robert Collins)
11248
 
 
11249
 
Changes
11250
 
*******
11251
 
 
11252
 
* Commit is now verbose by default, and shows changed filenames and the
11253
 
  new revision number.  (Robert Collins, Martin Pool)
11254
 
 
11255
 
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
11256
 
 
11257
 
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
11258
 
 
11259
 
* Make 'pull' and 'push' remember location on failure using --remember.
11260
 
  (Olaf Conradi)
11261
 
 
11262
 
* For compatibility, make old format for using weaves inside metadir
11263
 
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
11264
 
  Clean up help for option --format in commands 'init', 'init-repo' and
11265
 
  'upgrade'.  (Olaf Conradi)
11266
 
 
11267
 
Internals
11268
 
*********
11269
 
 
11270
 
* The internal storage of history, and logical branch identity have now
11271
 
  been split into Branch, and Repository. The common locking and file
11272
 
  management routines are now in bzrlib.lockablefiles.
11273
 
  (Aaron Bentley, Robert Collins, Martin Pool)
11274
 
 
11275
 
* Transports can now raise DependencyNotPresent if they need a library
11276
 
  which is not installed, and then another implementation will be
11277
 
  tried.  (Martin Pool)
11278
 
 
11279
 
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
11280
 
  (Martin Pool)
11281
 
 
11282
 
* Using Tree Transform for merge, revert, tree-building
11283
 
 
11284
 
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
11285
 
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
11286
 
  replacement API's. (Robert Collins)
11287
 
 
11288
 
* New BzrDir class represents the .bzr control directory and manages
11289
 
  formatting issues. (Robert Collins)
11290
 
 
11291
 
* New repository.InterRepository class encapsulates Repository to
11292
 
  Repository actions and allows for clean selection of optimised code
11293
 
  paths. (Robert Collins)
11294
 
 
11295
 
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
11296
 
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
11297
 
  depending on your needs. (Robert Collins)
11298
 
 
11299
 
* deprecated methods now have a ``is_deprecated`` flag on them that can
11300
 
  be checked, if you need to determine whether a given callable is
11301
 
  deprecated at runtime. (Robert Collins)
11302
 
 
11303
 
* Progress bars are now nested - see
11304
 
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
11305
 
  (Robert Collins, Robey Pointer)
11306
 
 
11307
 
* New API call ``get_format_description()`` for each type of format.
11308
 
  (Olaf Conradi)
11309
 
 
11310
 
* Changed ``branch.set_parent()`` to accept None to remove parent.
11311
 
  (Olaf Conradi)
11312
 
 
11313
 
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
11314
 
 
11315
 
* WorkingTree.branch is now a read only property.  (Robert Collins)
11316
 
 
11317
 
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
11318
 
  can be None or a factory that will create a progress bar. This is
11319
 
  useful for testing or for overriding the bzrlib.progress heuristic.
11320
 
  (Robert Collins)
11321
 
 
11322
 
* New API method ``get_physical_lock_status()`` to query locks present on a
11323
 
  transport.  (Olaf Conradi)
11324
 
 
11325
 
* Repository.reconcile now takes a thorough keyword parameter to allow
11326
 
  requesting an indepth reconciliation, rather than just a data-loss
11327
 
  check. (Robert Collins)
11328
 
 
11329
 
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
11330
 
  the user for yes/no style input. (Robert Collins)
11331
 
 
11332
 
Testing
11333
 
*******
11334
 
 
11335
 
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
11336
 
  for testing SFTP protocol support. (Robey Pointer)
11337
 
 
11338
 
* Branch formats are now tested once per implementation (see ``bzrlib.
11339
 
  tests.branch_implementations``. This is analagous to the transport
11340
 
  interface tests, and has been followed up with working tree,
11341
 
  repository and BzrDir tests. (Robert Collins)
11342
 
 
11343
 
* New test base class TestCaseWithTransport provides a transport aware
11344
 
  test environment, useful for testing any transport-interface using
11345
 
  code. The test suite option --transport controls the transport used
11346
 
  by this class (when its not being used as part of implementation
11347
 
  contract testing). (Robert Collins)
11348
 
 
11349
 
* Close logging handler on disabling the test log. This will remove the
11350
 
  handler from the internal list inside python's logging module,
11351
 
  preventing shutdown from closing it twice.  (Olaf Conradi)
11352
 
 
11353
 
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
11354
 
 
11355
 
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
11356
 
  parameter which will provide String("foo") to the command as its stdin.
11357
 
 
11358
 
bzr 0.7
11359
 
#######
11360
 
 
11361
 
:Released: 2006-01-09
11362
 
 
11363
 
Changes
11364
 
*******
11365
 
 
11366
 
* .bzrignore is excluded from exports, on the grounds that it's a bzr
11367
 
  internal-use file and may not be wanted.  (Jamie Wilkinson)
11368
 
 
11369
 
* The "bzr directories" command were removed in favor of the new
11370
 
  --kind option to the "bzr inventory" command.  To list all
11371
 
  versioned directories, now use "bzr inventory --kind directory".
11372
 
  (Johan Rydberg)
11373
 
 
11374
 
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
11375
 
  by default. (John Arbash Meinel)
11376
 
 
11377
 
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
11378
 
  environment variable. Now the path for it is searched in ``BZR_HOME``,
11379
 
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
11380
 
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
11381
 
  ``HOME``. (John Arbash Meinel)
11382
 
 
11383
 
* Plugins with the same name in different directories in the bzr plugin
11384
 
  path are no longer loaded: only the first successfully loaded one is
11385
 
  used. (Robert Collins)
11386
 
 
11387
 
* Use systems' external ssh command to open connections if possible.
11388
 
  This gives better integration with user settings such as ProxyCommand.
11389
 
  (James Henstridge)
11390
 
 
11391
 
* Permissions on files underneath .bzr/ are inherited from the .bzr
11392
 
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
11393
 
  will mean that future file will be created with group write permissions.
11394
 
 
11395
 
* configure.in and config.guess are no longer in the builtin default
11396
 
  ignore list.
11397
 
 
11398
 
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
11399
 
  files.  (John Arbash Meinel, Martin Pool)
11400
 
 
11401
 
Improvements
11402
 
************
11403
 
 
11404
 
* "bzr INIT dir" now initializes the specified directory, and creates
11405
 
  it if it does not exist.  (John Arbash Meinel)
11406
 
 
11407
 
* New remerge command (Aaron Bentley)
11408
 
 
11409
 
* Better zsh completion script.  (Steve Borho)
11410
 
 
11411
 
* 'bzr diff' now returns 1 when there are changes in the working
11412
 
  tree. (Robert Collins)
11413
 
 
11414
 
* 'bzr push' now exists and can push changes to a remote location.
11415
 
  This uses the transport infrastructure, and can store the remote
11416
 
  location in the ~/.bazaar/branches.conf configuration file.
11417
 
  (Robert Collins)
11418
 
 
11419
 
* Test directories are only kept if the test fails and the user requests
11420
 
  that they be kept.
11421
 
 
11422
 
* Tweaks to short log printing
11423
 
 
11424
 
* Added branch nicks, new nick command, printing them in log output.
11425
 
  (Aaron Bentley)
11426
 
 
11427
 
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
11428
 
  occurs.  (Martin Pool)
11429
 
 
11430
 
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
11431
 
  the same as Subversion.  (Martin Pool)
11432
 
 
11433
 
* New ftp transport support (on ftplib), for ftp:// and aftp://
11434
 
  URLs.  (Daniel Silverstone)
11435
 
 
11436
 
* Commit editor temporary files now start with ``bzr_log.``, to allow
11437
 
  text editors to match the file name and set up appropriate modes or
11438
 
  settings.  (Magnus Therning)
11439
 
 
11440
 
* Improved performance when integrating changes from a remote weave.
11441
 
  (Goffredo Baroncelli)
11442
 
 
11443
 
* Sftp will attempt to cache the connection, so it is more likely that
11444
 
  a connection will be reused, rather than requiring multiple password
11445
 
  requests.
11446
 
 
11447
 
* bzr revno now takes an optional argument indicating the branch whose
11448
 
  revno should be printed.  (Michael Ellerman)
11449
 
 
11450
 
* bzr cat defaults to printing the last version of the file.
11451
 
  (Matthieu Moy, #3632)
11452
 
 
11453
 
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
11454
 
  profiler.  (Denys Duchier)
11455
 
 
11456
 
* Faster commits by reading only the headers of affected weave files.
11457
 
  (Denys Duchier)
11458
 
 
11459
 
* 'bzr add' now takes a --dry-run parameter which shows you what would be
11460
 
  added, but doesn't actually add anything. (Michael Ellerman)
11461
 
 
11462
 
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
11463
 
  lists the specific files.  (Aaron Bentley)
11464
 
 
11465
 
* 'bzr missing' now supports displaying changes in diverged trees and can
11466
 
  be limited to show what either end of the comparison is missing.
11467
 
  (Aaron Bently, with a little prompting from Daniel Silverstone)
11468
 
 
11469
 
Bug Fixes
11470
 
*********
11471
 
 
11472
 
* SFTP can walk up to the root path without index errors. (Robert Collins)
11473
 
 
11474
 
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
11475
 
 
11476
 
* Error when run with -OO
11477
 
 
11478
 
* Fix bug in reporting http errors that don't have an http error code.
11479
 
  (Martin Pool)
11480
 
 
11481
 
* Handle more cases of pipe errors in display commands
11482
 
 
11483
 
* Change status to 3 for all errors
11484
 
 
11485
 
* Files that are added and unlinked before committing are completely
11486
 
  ignored by diff and status
11487
 
 
11488
 
* Stores with some compressed texts and some uncompressed texts are now
11489
 
  able to be used. (John A Meinel)
11490
 
 
11491
 
* Fix for bzr pull failing sometimes under windows
11492
 
 
11493
 
* Fix for sftp transport under windows when using interactive auth
11494
 
 
11495
 
* Show files which are both renamed and modified as such in 'bzr
11496
 
  status' output.  (Daniel Silverstone, #4503)
11497
 
 
11498
 
* Make annotate cope better with revisions committed without a valid
11499
 
  email address.  (Marien Zwart)
11500
 
 
11501
 
* Fix representation of tab characters in commit messages.
11502
 
  (Harald Meland)
11503
 
 
11504
 
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
11505
 
  now parsed properly under Windows. (Alexander Belchenko)
11506
 
 
11507
 
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
11508
 
 
11509
 
* Keep a cached copy of the basis inventory to speed up operations
11510
 
  that need to refer to it.  (Johan Rydberg, Martin Pool)
11511
 
 
11512
 
* Fix bugs in bzr status display of non-ascii characters.
11513
 
  (Martin Pool)
11514
 
 
11515
 
* Remove Makefile.in from default ignore list.
11516
 
  (Tollef Fog Heen, Martin Pool, #6413)
11517
 
 
11518
 
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
11519
 
 
11520
 
Testing
11521
 
*******
11522
 
 
11523
 
* Fix selftest asking for passwords when there are no SFTP keys.
11524
 
  (Robey Pointer, Jelmer Vernooij)
11525
 
 
11526
 
* Fix selftest run with 'python -O'.  (Martin Pool)
11527
 
 
11528
 
* Fix HTTP tests under Windows. (John Arbash Meinel)
11529
 
 
11530
 
* Make tests work even if HOME is not set (Aaron Bentley)
11531
 
 
11532
 
* Updated ``build_tree`` to use fixed line-endings for tests which read
11533
 
  the file cotents and compare. Make some tests use this to pass under
11534
 
  Windows. (John Arbash Meinel)
11535
 
 
11536
 
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
11537
 
 
11538
 
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
11539
 
  (John Arbash Meinel)
11540
 
 
11541
 
* Use terminal width to align verbose test output.  (Martin Pool)
11542
 
 
11543
 
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
11544
 
  If adding a new test script please add that to
11545
 
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
11546
 
 
11547
 
* Much better error message if one of the test suites can't be
11548
 
  imported.  (Martin Pool)
11549
 
 
11550
 
* Make check now runs the test suite twice - once with the default locale,
11551
 
  and once with all locales forced to C, to expose bugs. This is not
11552
 
  trivially done within python, so for now its only triggered by running
11553
 
  Make check. Integrators and packagers who wish to check for full
11554
 
  platform support should run 'make check' to test the source.
11555
 
  (Robert Collins)
11556
 
 
11557
 
* Tests can now run TestSkipped if they can't execute for any reason.
11558
 
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
11559
 
  reasons - see the wiki spec ImprovingBzrTestSuite).
11560
 
 
11561
 
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
11562
 
  paths for the transport tests. Introduce blackbox remote sftp tests that
11563
 
  test the same permutations. (Robert Collins, Robey Pointer)
11564
 
 
11565
 
* Transport implementation tests are now independent of the local file
11566
 
  system, which allows tests for esoteric transports, and for features
11567
 
  not available in the local file system. They also repeat for variations
11568
 
  on the URL scheme that can introduce issues in the transport code,
11569
 
  see bzrlib.transport.TransportTestProviderAdapter() for this.
11570
 
  (Robert Collins).
11571
 
 
11572
 
* ``TestCase.build_tree`` uses the transport interface to build trees,
11573
 
  pass in a transport parameter to give it an existing connection.
11574
 
  (Robert Collins).
11575
 
 
11576
 
Internals
11577
 
*********
11578
 
 
11579
 
* WorkingTree.pull has been split across Branch and WorkingTree,
11580
 
  to allow Branch only pulls. (Robert Collins)
11581
 
 
11582
 
* ``commands.display_command`` now returns the result of the decorated
11583
 
  function. (Robert Collins)
11584
 
 
11585
 
* LocationConfig now has a ``set_user_option(key, value)`` call to save
11586
 
  a setting in its matching location section (a new one is created
11587
 
  if needed). (Robert Collins)
11588
 
 
11589
 
* Branch has two new methods, ``get_push_location`` and
11590
 
  ``set_push_location`` to respectively, get and set the push location.
11591
 
  (Robert Collins)
11592
 
 
11593
 
* ``commands.register_command`` now takes an optional flag to signal that
11594
 
  the registrant is planning to decorate an existing command. When
11595
 
  given multiple plugins registering a command is not an error, and
11596
 
  the original command class (whether built in or a plugin based one) is
11597
 
  returned to the caller. There is a new error 'MustUseDecorated' for
11598
 
  signalling when a wrapping command should switch to the original
11599
 
  version. (Robert Collins)
11600
 
 
11601
 
* Some option parsing errors will raise 'BzrOptionError', allowing
11602
 
  granular detection for decorating commands. (Robert Collins).
11603
 
 
11604
 
* ``Branch.read_working_inventory`` has moved to
11605
 
  ``WorkingTree.read_working_inventory``. This necessitated changes to
11606
 
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
11607
 
  WorkingTree as well. To make it clear that a WorkingTree cannot always
11608
 
  be obtained ``Branch.working_tree()`` will raise
11609
 
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
11610
 
 
11611
 
* All pending merges operations from Branch are now on WorkingTree.
11612
 
  (Robert Collins)
11613
 
 
11614
 
* The follow operations from Branch have moved to WorkingTree::
11615
 
 
11616
 
      add()
11617
 
      commit()
11618
 
      move()
11619
 
      rename_one()
11620
 
      unknowns()
11621
 
 
11622
 
  (Robert Collins)
11623
 
 
11624
 
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
11625
 
 
11626
 
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
11627
 
 
11628
 
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
11629
 
  Pool)
11630
 
 
11631
 
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
11632
 
  query method. (Robert Collins)
11633
 
 
11634
 
* New options to read only the table-of-contents of a weave.
11635
 
  (Denys Duchier)
11636
 
 
11637
 
* Raise NoSuchFile when someone tries to add a non-existant file.
11638
 
  (Michael Ellerman)
11639
 
 
11640
 
* Simplify handling of DivergedBranches in ``cmd_pull()``.
11641
 
  (Michael Ellerman)
11642
 
 
11643
 
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
11644
 
  is exposed as ``Branch().control_files``. Also this has been altered with the
11645
 
  controlfile pre/suffix replaced by simple method names like 'get' and
11646
 
  'put'. (Aaron Bentley, Robert Collins).
11647
 
 
11648
 
* Deprecated functions and methods can now be marked as such using the
11649
 
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
11650
 
  updated and will issue a DeprecationWarning using the warnings module
11651
 
  when they are used. (Robert Collins)
11652
 
 
11653
 
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
11654
 
  for functions that need unicode strings. (Robert Collins)
11655
 
 
11656
 
bzr 0.6
11657
 
#######
11658
 
 
11659
 
:Released: 2005-10-28
11660
 
 
11661
 
Improvements
11662
 
************
11663
 
 
11664
 
* pull now takes --verbose to show you what revisions are added or removed
11665
 
  (John A Meinel)
11666
 
 
11667
 
* merge now takes a --show-base option to include the base text in
11668
 
  conflicts.
11669
 
  (Aaron Bentley)
11670
 
 
11671
 
* The config files are now read using ConfigObj, so '=' should be used as
11672
 
  a separator, not ':'.
11673
 
  (Aaron Bentley)
11674
 
 
11675
 
* New 'bzr commit --strict' option refuses to commit if there are
11676
 
  any unknown files in the tree.  To commit, make sure all files are
11677
 
  either ignored, added, or deleted.  (Michael Ellerman)
11678
 
 
11679
 
* The config directory is now ~/.bazaar, and there is a single file
11680
 
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
11681
 
  (Robert Collins)
11682
 
 
11683
 
* 'bzr add' no longer takes a --verbose option, and a --quiet option
11684
 
  has been added that suppresses all output.
11685
 
 
11686
 
* Improved zsh completion support in contrib/zsh, from Clint
11687
 
  Adams.
11688
 
 
11689
 
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
11690
 
  Goffredo Baroncelli.
11691
 
 
11692
 
* 'bzr check' now accepts -v for verbose reporting, and checks for
11693
 
  ghosts in the branch. (Robert Collins)
11694
 
 
11695
 
* New command 're-sign' which will regenerate the gpg signature for
11696
 
  a revision. (Robert Collins)
11697
 
 
11698
 
* If you set ``check_signatures=require`` for a path in
11699
 
  ``~/.bazaar/branches.conf`` then bzr will invoke your
11700
 
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
11701
 
  of your commit. (Robert Collins)
11702
 
 
11703
 
* New sftp transport, based on Paramiko.  (Robey Pointer)
11704
 
 
11705
 
* 'bzr pull' now accepts '--clobber' which will discard local changes
11706
 
  and make this branch identical to the source branch. (Robert Collins)
11707
 
 
11708
 
* Just give a quieter warning if a plugin can't be loaded, and
11709
 
  put the details in .bzr.log.  (Martin Pool)
11710
 
 
11711
 
* 'bzr branch' will now set the branch-name to the last component of the
11712
 
  output directory, if one was supplied.
11713
 
 
11714
 
* If the option ``post_commit`` is set to one (or more) python function
11715
 
  names (must be in the bzrlib namespace), then they will be invoked
11716
 
  after the commit has completed, with the branch and ``revision_id`` as
11717
 
  parameters. (Robert Collins)
11718
 
 
11719
 
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
11720
 
 
11721
 
* --merge-type weave is now supported for file contents.  Tree-shape
11722
 
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
11723
 
 
11724
 
* 'bzr check' allows the first revision on revision-history to have
11725
 
  parents - something that is expected for cheap checkouts, and occurs
11726
 
  when conversions from baz do not have all history.  (Robert Collins).
11727
 
 
11728
 
* 'bzr merge' can now graft unrelated trees together, if your specify
11729
 
  0 as a base. (Aaron Bentley)
11730
 
 
11731
 
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
11732
 
  (Aaron Bentley)
11733
 
 
11734
 
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
11735
 
 
11736
 
* 'bzr merge --reprocess' minimizes conflicts
11737
 
 
11738
 
Testing
11739
 
*******
11740
 
 
11741
 
* The 'bzr selftest --pattern' option for has been removed, now
11742
 
  test specifiers on the command line can be simple strings, or
11743
 
  regexps, or both. (Robert Collins)
11744
 
 
11745
 
* Passing -v to selftest will now show the time each test took to
11746
 
  complete, which will aid in analysing performance regressions and
11747
 
  related questions. (Robert Collins)
11748
 
 
11749
 
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
11750
 
  is given. (Martin Pool)
11751
 
 
11752
 
* There is a new method for TestCaseInTempDir, assertFileEqual, which
11753
 
  will check that a given content is equal to the content of the named
11754
 
  file. (Robert Collins)
11755
 
 
11756
 
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
11757
 
  (Martin Pool)
11758
 
 
11759
 
Internals
11760
 
*********
11761
 
 
11762
 
* New 'testament' command and concept for making gpg-signatures
11763
 
  of revisions that are not tied to a particular internal
11764
 
  representation.  (Martin Pool).
11765
 
 
11766
 
* Per-revision properties ('revprops') as key-value associated
11767
 
  strings on each revision created when the revision is committed.
11768
 
  Intended mainly for the use of external tools.  (Martin Pool).
11769
 
 
11770
 
* Config options have moved from bzrlib.osutils to bzrlib.config.
11771
 
  (Robert Collins)
11772
 
 
11773
 
* Improved command line option definitions allowing explanations
11774
 
  for individual options, among other things.  Contributed by
11775
 
  Magnus Therning.
11776
 
 
11777
 
* Config options have moved from bzrlib.osutils to bzrlib.config.
11778
 
  Configuration is now done via the config.Config interface:
11779
 
  Depending on whether you have a Branch, a Location or no information
11780
 
  available, construct a ``*Config``, and use its ``signature_checking``,
11781
 
  ``username`` and ``user_email`` methods. (Robert Collins)
11782
 
 
11783
 
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
11784
 
  they are made available for other plugins to use. You should not
11785
 
  import other plugins during the ``__init__`` of your plugin though, as
11786
 
  no ordering is guaranteed, and the plugins directory is not on the
11787
 
  python path. (Robert Collins)
11788
 
 
11789
 
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
11790
 
  no longer takes an inventory, rather it takes an option branch
11791
 
  parameter, and if None is given will open the branch at basedir
11792
 
  implicitly. (Robert Collins)
11793
 
 
11794
 
* Cleaner exception structure and error reporting.  Suggested by
11795
 
  Scott James Remnant.  (Martin Pool)
11796
 
 
11797
 
* Branch.remove has been moved to WorkingTree, which has also gained
11798
 
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
11799
 
  (Robert Collins)
11800
 
 
11801
 
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
11802
 
  added to the branch module. Use these to cause a function to run in a
11803
 
  read or write lock respectively. (Robert Collins)
11804
 
 
11805
 
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
11806
 
  which allows direct access to the common case of 'get me this file
11807
 
  from its branch'. (Robert Collins)
11808
 
 
11809
 
* Transports can register using ``register_lazy_transport``, and they
11810
 
  will be loaded when first used.  (Martin Pool)
11811
 
 
11812
 
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
11813
 
  A new option to WorkingTree.pull has been added, clobber, which will
11814
 
  ignore diverged history and pull anyway.
11815
 
  (Robert Collins)
11816
 
 
11817
 
* config.Config has a ``get_user_option`` call that accepts an option name.
11818
 
  This will be looked up in branches.conf and bazaar.conf as normal.
11819
 
  It is intended that this be used by plugins to support options -
11820
 
  options of built in programs should have specific methods on the config.
11821
 
  (Robert Collins)
11822
 
 
11823
 
* ``merge.merge_inner`` now has tempdir as an optional parameter.
11824
 
  (Robert Collins)
11825
 
 
11826
 
* Tree.kind is not recorded at the top level of the hierarchy, as it was
11827
 
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
11828
 
  (Robert Collins)
11829
 
 
11830
 
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
11831
 
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
11832
 
  about future directions. (Robert Collins/Martin Pool)
11833
 
 
11834
 
* bzrlib.transport.http has been modified so that only 404 urllib errors
11835
 
  are returned as NoSuchFile. Other exceptions will propagate as normal.
11836
 
  This allows debuging of actual errors. (Robert Collins)
11837
 
 
11838
 
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
11839
 
  to apis like 'put', 'get' and 'has'. This is to provide consistent
11840
 
  behaviour - it operates on url's only. (Robert Collins)
11841
 
 
11842
 
* Transports can register using ``register_lazy_transport``, and they
11843
 
  will be loaded when first used.  (Martin Pool)
11844
 
 
11845
 
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
11846
 
  is called by ``merge_inner``. This is so that the conflict count can be
11847
 
  retrieved (and potentially manipulated) before returning to the caller
11848
 
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
11849
 
  caller. (Robert Collins)
11850
 
 
11851
 
* ``revision.revision_graph`` can handle having only partial history for
11852
 
  a revision - that is no revisions in the graph with no parents.
11853
 
  (Robert Collins).
11854
 
 
11855
 
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
11856
 
  produce a branch and a list of paths, relative to that branch
11857
 
  (Aaron Bentley)
11858
 
 
11859
 
* New TestCase.addCleanup facility.
11860
 
 
11861
 
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
11862
 
  which can be used by programs importing bzrlib.
11863
 
 
11864
 
Bug Fixes
11865
 
*********
11866
 
 
11867
 
* Better handling of branches in directories with non-ascii names.
11868
 
  (Joel Rosdahl, Panagiotis Papadakos)
11869
 
 
11870
 
* Upgrades of trees with no commits will not fail due to accessing
11871
 
  [-1] in the revision-history. (Andres Salomon)
11872
 
 
11873
 
 
11874
 
bzr 0.1.1
11875
 
#########
11876
 
 
11877
 
:Released: 2005-10-12
11878
 
 
11879
 
Bug Fixes
11880
 
*********
11881
 
 
11882
 
* Fix problem in pulling over http from machines that do not
11883
 
  allow directories to be listed.
11884
 
 
11885
 
* Avoid harmless warning about invalid hash cache after
11886
 
  upgrading branch format.
11887
 
 
11888
 
Performance
11889
 
***********
11890
 
 
11891
 
* Avoid some unnecessary http operations in branch and pull.
11892
 
 
11893
 
 
11894
 
bzr 0.1
11895
 
#######
11896
 
 
11897
 
:Released: 2005-10-11
11898
 
 
11899
 
Notes
11900
 
*****
11901
 
 
11902
 
* 'bzr branch' over http initially gives a very high estimate
11903
 
  of completion time but it should fall as the first few
11904
 
  revisions are pulled in.  branch is still slow on
11905
 
  high-latency connections.
11906
 
 
11907
 
Bug Fixes
11908
 
*********
11909
 
 
11910
 
* bzr-man.py has been updated to work again. Contributed by
11911
 
  Rob Weir.
11912
 
 
11913
 
* Locking is now done with fcntl.lockf which works with NFS
11914
 
  file systems. Contributed by Harald Meland.
11915
 
 
11916
 
* When a merge encounters a file that has been deleted on
11917
 
  one side and modified on the other, the old contents are
11918
 
  written out to foo.BASE and foo.SIDE, where SIDE is this
11919
 
  or OTHER. Contributed by Aaron Bentley.
11920
 
 
11921
 
* Export was choosing incorrect file paths for the content of
11922
 
  the tarball, this has been fixed by Aaron Bentley.
11923
 
 
11924
 
* Commit will no longer commit without a log message, an
11925
 
  error is returned instead. Contributed by Jelmer Vernooij.
11926
 
 
11927
 
* If you commit a specific file in a sub directory, any of its
11928
 
  parent directories that are added but not listed will be
11929
 
  automatically included. Suggested by Michael Ellerman.
11930
 
 
11931
 
* bzr commit and upgrade did not correctly record new revisions
11932
 
  for files with only a change to their executable status.
11933
 
  bzr will correct this when it encounters it. Fixed by
11934
 
  Robert Collins
11935
 
 
11936
 
* HTTP tests now force off the use of ``http_proxy`` for the duration.
11937
 
  Contributed by Gustavo Niemeyer.
11938
 
 
11939
 
* Fix problems in merging weave-based branches that have
11940
 
  different partial views of history.
11941
 
 
11942
 
* Symlink support: working with symlinks when not in the root of a
11943
 
  bzr tree was broken, patch from Scott James Remnant.
11944
 
 
11945
 
Improvements
11946
 
************
11947
 
 
11948
 
* 'branch' now accepts a --basis parameter which will take advantage
11949
 
  of local history when making a new branch. This allows faster
11950
 
  branching of remote branches. Contributed by Aaron Bentley.
11951
 
 
11952
 
* New tree format based on weave files, called version 5.
11953
 
  Existing branches can be upgraded to this format using
11954
 
  'bzr upgrade'.
11955
 
 
11956
 
* Symlinks are now versionable. Initial patch by
11957
 
  Erik Toubro Nielsen, updated to head by Robert Collins.
11958
 
 
11959
 
* Executable bits are tracked on files. Patch from Gustavo
11960
 
  Niemeyer.
11961
 
 
11962
 
* 'bzr status' now shows unknown files inside a selected directory.
11963
 
  Patch from Heikki Paajanen.
11964
 
 
11965
 
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
11966
 
  and 'resolve' have needed added, which list and remove those
11967
 
  merge conflicts respectively. A conflicted tree cannot be committed
11968
 
  in. Contributed by Aaron Bentley.
11969
 
 
11970
 
* 'rm' is now an alias for 'remove'.
11971
 
 
11972
 
* Stores now split out their content in a single byte prefixed hash,
11973
 
  dropping the density of files per directory by 256. Contributed by
11974
 
  Gustavo Niemeyer.
11975
 
 
11976
 
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
11977
 
  Contributed by Robert Collins.
11978
 
 
11979
 
* 'bzr log' with the default formatter will show merged revisions,
11980
 
  indented to the right. Initial implementation contributed by Gustavo
11981
 
  Niemeyer, made incremental by Robert Collins.
11982
 
 
11983
 
 
11984
 
Internals
11985
 
*********
11986
 
 
11987
 
* Test case failures have the exception printed after the log
11988
 
  for your viewing pleasure.
11989
 
 
11990
 
* InventoryEntry is now an abstract base class, use one of the
11991
 
  concrete InventoryDirectory etc classes instead.
11992
 
 
11993
 
* Branch raises an UnsupportedFormatError when it detects a
11994
 
  bzr branch it cannot understand. This allows for precise
11995
 
  handling of such circumstances.
11996
 
 
11997
 
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
11998
 
  list of their ids and ``parent_sha1s`` is a list of their corresponding
11999
 
  sha1s (for old branches only at the moment.)
12000
 
 
12001
 
* New method-object style interface for Commit() and Fetch().
12002
 
 
12003
 
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
12004
 
  we call them revisions not patches.
12005
 
 
12006
 
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
12007
 
  directory is created if it doesn't exist.
12008
 
 
12009
 
* Inventories now identify the files which were present by
12010
 
  giving the revision *of that file*.
12011
 
 
12012
 
* Inventory and Revision XML contains a version identifier.
12013
 
  This must be consistent with the overall branch version
12014
 
  but allows for more flexibility in future upgrades.
12015
 
 
12016
 
Testing
12017
 
*******
12018
 
 
12019
 
* Removed testsweet module so that tests can be run after
12020
 
  bzr installed by 'bzr selftest'.
12021
 
 
12022
 
* 'bzr selftest' command-line arguments can now be partial ids
12023
 
  of tests to run, e.g. ``bzr selftest test_weave``
12024
 
 
12025
 
 
12026
 
bzr 0.0.9
12027
 
#########
12028
 
 
12029
 
:Released: 2005-09-23
12030
 
 
12031
 
Bug Fixes
12032
 
*********
12033
 
 
12034
 
* Fixed "branch -r" option.
12035
 
 
12036
 
* Fix remote access to branches containing non-compressed history.
12037
 
  (Robert Collins).
12038
 
 
12039
 
* Better reliability of http server tests.  (John Arbash-Meinel)
12040
 
 
12041
 
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
12042
 
 
12043
 
* Various minor bug in windows support have been fixed, largely in the
12044
 
  test suite. Contributed by Alexander Belchenko.
12045
 
 
12046
 
Improvements
12047
 
************
12048
 
 
12049
 
* Status now accepts a -r argument to give status between chosen
12050
 
  revisions. Contributed by Heikki Paajanen.
12051
 
 
12052
 
* Revision arguments no longer use +/-/= to control ranges, instead
12053
 
  there is a 'before' namespace, which limits the successive namespace.
12054
 
  For example '$ bzr log -r date:yesterday..before:date:today' will
12055
 
  select everything from yesterday and before today. Contributed by
12056
 
  Robey Pointer
12057
 
 
12058
 
* There is now a bzr.bat file created by distutils when building on
12059
 
  Windows. Contributed by Alexander Belchenko.
12060
 
 
12061
 
Internals
12062
 
*********
12063
 
 
12064
 
* Removed uuid() as it was unused.
12065
 
 
12066
 
* Improved 'fetch' code for pulling revisions from one branch into
12067
 
  another (used by pull, merged, etc.)
12068
 
 
12069
 
 
12070
 
bzr 0.0.8
12071
 
#########
12072
 
 
12073
 
:Released: 2005-09-20
12074
 
 
12075
 
 
12076
 
Improvements
12077
 
************
12078
 
 
12079
 
* Adding a file whose parent directory is not versioned will
12080
 
  implicitly add the parent, and so on up to the root. This means
12081
 
  you should never need to explictly add a directory, they'll just
12082
 
  get added when you add a file in the directory.  Contributed by
12083
 
  Michael Ellerman.
12084
 
 
12085
 
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
12086
 
  (Nir Soffer)
12087
 
 
12088
 
* If you set ``BZR_EDITOR`` in the environment, it is checked in
12089
 
  preference to EDITOR and the config file for the interactive commit
12090
 
  editing program. Related to this is a bugfix where a missing program
12091
 
  set in EDITOR would cause editing to fail, now the fallback program
12092
 
  for the operating system is still tried.
12093
 
 
12094
 
* Files that are not directories/symlinks/regular files will no longer
12095
 
  cause bzr to fail, it will just ignore them by default. You cannot add
12096
 
  them to the tree though - they are not versionable.
12097
 
 
12098
 
 
12099
 
Internals
12100
 
*********
12101
 
 
12102
 
* Refactor xml packing/unpacking.
12103
 
 
12104
 
Bug Fixes
12105
 
*********
12106
 
 
12107
 
* Fixed 'bzr mv' by Ollie Rutherfurd.
12108
 
 
12109
 
* Fixed strange error when trying to access a nonexistent http
12110
 
  branch.
12111
 
 
12112
 
* Make sure that the hashcache gets written out if it can't be
12113
 
  read.
12114
 
 
12115
 
 
12116
 
Portability
12117
 
***********
12118
 
 
12119
 
* Various Windows fixes from Ollie Rutherfurd.
12120
 
 
12121
 
* Quieten warnings about locking; patch from Matt Lavin.
12122
 
 
12123
 
 
12124
 
bzr-0.0.7
12125
 
#########
12126
 
 
12127
 
:Released: 2005-09-02
12128
 
 
12129
 
New Features
12130
 
************
12131
 
 
12132
 
* ``bzr shell-complete`` command contributed by Clint Adams to
12133
 
  help with intelligent shell completion.
12134
 
 
12135
 
* New expert command ``bzr find-merge-base`` for debugging merges.
12136
 
 
12137
 
 
12138
 
Enhancements
12139
 
************
12140
 
 
12141
 
* Much better merge support.
12142
 
 
12143
 
* merge3 conflicts are now reported with markers like '<<<<<<<'
12144
 
  (seven characters) which is the same as CVS and pleases things
12145
 
  like emacs smerge.
12146
 
 
12147
 
 
12148
 
Bug Fixes
12149
 
*********
12150
 
 
12151
 
* ``bzr upgrade`` no longer fails when trying to fix trees that
12152
 
  mention revisions that are not present.
12153
 
 
12154
 
* Fixed bugs in listing plugins from ``bzr plugins``.
12155
 
 
12156
 
* Fix case of $EDITOR containing options for the editor.
12157
 
 
12158
 
* Fix log -r refusing to show the last revision.
12159
 
  (Patch from Goffredo Baroncelli.)
12160
 
 
12161
 
 
12162
 
Changes
12163
 
*******
12164
 
 
12165
 
* ``bzr log --show-ids`` shows the revision ids of all parents.
12166
 
 
12167
 
* Externally provided commands on your $BZRPATH no longer need
12168
 
  to recognize --bzr-usage to work properly, and can just handle
12169
 
  --help themselves.
12170
 
 
12171
 
 
12172
 
Library
12173
 
*******
12174
 
 
12175
 
* Changed trace messages to go through the standard logging
12176
 
  framework, so that they can more easily be redirected by
12177
 
  libraries.
12178
 
 
12179
 
 
12180
 
 
12181
 
bzr-0.0.6
12182
 
#########
12183
 
 
12184
 
:Released: 2005-08-18
12185
 
 
12186
 
New Features
12187
 
************
12188
 
 
12189
 
* Python plugins, automatically loaded from the directories on
12190
 
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
12191
 
 
12192
 
* New 'bzr mkdir' command.
12193
 
 
12194
 
* Commit mesage is fetched from an editor if not given on the
12195
 
  command line; patch from Torsten Marek.
12196
 
 
12197
 
* ``bzr log -m FOO`` displays commits whose message matches regexp
12198
 
  FOO.
12199
 
 
12200
 
* ``bzr add`` with no arguments adds everything under the current directory.
12201
 
 
12202
 
* ``bzr mv`` does move or rename depending on its arguments, like
12203
 
  the Unix command.
12204
 
 
12205
 
* ``bzr missing`` command shows a summary of the differences
12206
 
  between two trees.  (Merged from John Arbash-Meinel.)
12207
 
 
12208
 
* An email address for commits to a particular tree can be
12209
 
  specified by putting it into .bzr/email within a branch.  (Based
12210
 
  on a patch from Heikki Paajanen.)
12211
 
 
12212
 
 
12213
 
Enhancements
12214
 
************
12215
 
 
12216
 
* Faster working tree operations.
12217
 
 
12218
 
 
12219
 
Changes
12220
 
*******
12221
 
 
12222
 
* 3rd-party modules shipped with bzr are copied within the bzrlib
12223
 
  python package, so that they can be installed by the setup
12224
 
  script without clashing with anything already existing on the
12225
 
  system.  (Contributed by Gustavo Niemeyer.)
12226
 
 
12227
 
* Moved plugins directory to bzrlib/, so that there's a standard
12228
 
  plugin directory which is not only installed with bzr itself but
12229
 
  is also available when using bzr from the development tree.
12230
 
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
12231
 
  standard plugins directory.
12232
 
 
12233
 
* When exporting to a tarball with ``bzr export --format tgz``, put
12234
 
  everything under a top directory rather than dumping it into the
12235
 
  current directory.   This can be overridden with the ``--root``
12236
 
  option.  Patch from William Dodé and John Meinel.
12237
 
 
12238
 
* New ``bzr upgrade`` command to upgrade the format of a branch,
12239
 
  replacing ``bzr check --update``.
12240
 
 
12241
 
* Files within store directories are no longer marked readonly on
12242
 
  disk.
12243
 
 
12244
 
* Changed ``bzr log`` output to a more compact form suggested by
12245
 
  John A Meinel.  Old format is available with the ``--long`` or
12246
 
  ``-l`` option, patched by William Dodé.
12247
 
 
12248
 
* By default the commit command refuses to record a revision with
12249
 
  no changes unless the ``--unchanged`` option is given.
12250
 
 
12251
 
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
12252
 
  line options must come before the command name because they
12253
 
  affect what commands are available; all other options must come
12254
 
  after the command name because their interpretation depends on
12255
 
  it.
12256
 
 
12257
 
* ``branch`` and ``clone`` added as aliases for ``branch``.
12258
 
 
12259
 
* Default log format is back to the long format; the compact one
12260
 
  is available with ``--short``.
12261
 
 
12262
 
 
12263
 
Bug Fixes
12264
 
*********
12265
 
 
12266
 
* Fix bugs in committing only selected files or within a subdirectory.
12267
 
 
12268
 
 
12269
 
bzr-0.0.5
12270
 
#########
12271
 
 
12272
 
:Released:  2005-06-15
12273
 
 
12274
 
Changes
12275
 
*******
12276
 
 
12277
 
* ``bzr`` with no command now shows help rather than giving an
12278
 
  error.  Suggested by Michael Ellerman.
12279
 
 
12280
 
* ``bzr status`` output format changed, because svn-style output
12281
 
  doesn't really match the model of bzr.  Now files are grouped by
12282
 
  status and can be shown with their IDs.  ``bzr status --all``
12283
 
  shows all versioned files and unknown files but not ignored files.
12284
 
 
12285
 
* ``bzr log`` runs from most-recent to least-recent, the reverse
12286
 
  of the previous order.  The previous behaviour can be obtained
12287
 
  with the ``--forward`` option.
12288
 
 
12289
 
* ``bzr inventory`` by default shows only filenames, and also ids
12290
 
  if ``--show-ids`` is given, in which case the id is the second
12291
 
  field.
12292
 
 
12293
 
 
12294
 
Enhancements
12295
 
************
12296
 
 
12297
 
* New 'bzr whoami --email' option shows only the email component
12298
 
  of the user identification, from Jo Vermeulen.
12299
 
 
12300
 
* New ``bzr ignore PATTERN`` command.
12301
 
 
12302
 
* Nicer error message for broken pipe, interrupt and similar
12303
 
  conditions that don't indicate an internal error.
12304
 
 
12305
 
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
12306
 
 
12307
 
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
12308
 
  either read or write mode.
12309
 
 
12310
 
* New option ``bzr log --show-ids`` shows revision and file ids.
12311
 
 
12312
 
* New usage ``bzr log FILENAME`` shows only revisions that
12313
 
  affected that file.
12314
 
 
12315
 
* Changed format for describing changes in ``bzr log -v``.
12316
 
 
12317
 
* New option ``bzr commit --file`` to take a message from a file,
12318
 
  suggested by LarstiQ.
12319
 
 
12320
 
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
12321
 
  Oler.  File may be in a branch other than the working directory.
12322
 
 
12323
 
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
12324
 
  a filename.
12325
 
 
12326
 
* Commands can now be defined by external programs or scripts
12327
 
  in a directory on $BZRPATH.
12328
 
 
12329
 
* New "stat cache" avoids reading the contents of files if they
12330
 
  haven't changed since the previous time.
12331
 
 
12332
 
* If the Python interpreter is too old, try to find a better one
12333
 
  or give an error.  Based on a patch from Fredrik Lundh.
12334
 
 
12335
 
* New optional parameter ``bzr info [BRANCH]``.
12336
 
 
12337
 
* New form ``bzr commit SELECTED`` to commit only selected files.
12338
 
 
12339
 
* New form ``bzr log -r FROM:TO`` shows changes in selected
12340
 
  range; contributed by John A Meinel.
12341
 
 
12342
 
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
12343
 
  options through to an external GNU diff.
12344
 
 
12345
 
* New option ``bzr add --no-recurse`` to add a directory but not
12346
 
  their contents.
12347
 
 
12348
 
* ``bzr --version`` now shows more information if bzr is being run
12349
 
  from a branch.
12350
 
 
12351
 
 
12352
 
Bug Fixes
12353
 
*********
12354
 
 
12355
 
* Fixed diff format so that added and removed files will be
12356
 
  handled properly by patch.  Fix from Lalo Martins.
12357
 
 
12358
 
* Various fixes for files whose names contain spaces or other
12359
 
  metacharacters.
12360
 
 
12361
 
 
12362
 
Testing
12363
 
*******
12364
 
 
12365
 
* Converted black-box test suites from Bourne shell into Python;
12366
 
  now run using ``./testbzr``.  Various structural improvements to
12367
 
  the tests.
12368
 
 
12369
 
* testbzr by default runs the version of bzr found in the same
12370
 
  directory as the tests, or the one given as the first parameter.
12371
 
 
12372
 
* testbzr also runs the internal tests, so the only command
12373
 
  required to check is just ``./testbzr``.
12374
 
 
12375
 
* testbzr requires python2.4, but can be used to test bzr running
12376
 
  under a different version.
12377
 
 
12378
 
* Tests added for many other changes in this release.
12379
 
 
12380
 
 
12381
 
Internal
12382
 
********
12383
 
 
12384
 
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
12385
 
 
12386
 
* Refactor command functions into Command objects based on HCT by
12387
 
  Scott James Remnant.
12388
 
 
12389
 
* Better help messages for many commands.
12390
 
 
12391
 
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
12392
 
  this is called trace messages are just discarded.
12393
 
 
12394
 
* New internal function ``find_touching_revisions()`` and hidden
12395
 
  command touching-revisions trace the changes to a given file.
12396
 
 
12397
 
* Simpler and faster ``compare_inventories()`` function.
12398
 
 
12399
 
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
12400
 
 
12401
 
* New AtomicFile class.
12402
 
 
12403
 
* New developer commands ``added``, ``modified``.
12404
 
 
12405
 
 
12406
 
Portability
12407
 
***********
12408
 
 
12409
 
* Cope on Windows on python2.3 by using the weaker random seed.
12410
 
  2.4 is now only recommended.
12411
 
 
12412
 
 
12413
 
bzr-0.0.4
12414
 
#########
12415
 
 
12416
 
:Released:  2005-04-22
12417
 
 
12418
 
Enhancements
12419
 
************
12420
 
 
12421
 
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
12422
 
  basic.  Patch from QuantumG.
12423
 
 
12424
 
* More default ignore patterns.
12425
 
 
12426
 
* New 'bzr log --verbose' shows a list of files changed in the
12427
 
  changeset.  Patch from Sebastian Cote.
12428
 
 
12429
 
* Roll over ~/.bzr.log if it gets too large.
12430
 
 
12431
 
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
12432
 
  by Jason Diamon.
12433
 
 
12434
 
* New 'bzr help commands' based on a patch from Denys Duchier.
12435
 
 
12436
 
 
12437
 
Changes
12438
 
*******
12439
 
 
12440
 
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
12441
 
  or $EMAIL.  All are decoded by the locale preferred encoding.
12442
 
  If none of these are present user@hostname is used.  The host's
12443
 
  fully-qualified name is not used because that tends to fail when
12444
 
  there are DNS problems.
12445
 
 
12446
 
* New 'bzr whoami' command instead of username user-email.
12447
 
 
12448
 
 
12449
 
Bug Fixes
12450
 
*********
12451
 
 
12452
 
* Make commit safe for hardlinked bzr trees.
12453
 
 
12454
 
* Some Unicode/locale fixes.
12455
 
 
12456
 
* Partial workaround for ``difflib.unified_diff`` not handling
12457
 
  trailing newlines properly.
12458
 
 
12459
 
 
12460
 
Internal
12461
 
********
12462
 
 
12463
 
* Allow docstrings for help to be in PEP0257 format.  Patch from
12464
 
  Matt Brubeck.
12465
 
 
12466
 
* More tests in test.sh.
12467
 
 
12468
 
* Write profile data to a temporary file not into working
12469
 
  directory and delete it when done.
12470
 
 
12471
 
* Smaller .bzr.log with process ids.
12472
 
 
12473
 
 
12474
 
Portability
12475
 
***********
12476
 
 
12477
 
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
12478
 
  Bennetts.
12479
 
 
12480
 
* Some improvements in handling paths on Windows, based on a patch
12481
 
  from QuantumG.
12482
 
 
12483
 
 
12484
 
bzr-0.0.3
12485
 
#########
12486
 
 
12487
 
:Released:  2005-04-06
12488
 
 
12489
 
Enhancements
12490
 
************
12491
 
 
12492
 
* New "directories" internal command lists versioned directories
12493
 
  in the tree.
12494
 
 
12495
 
* Can now say "bzr commit --help".
12496
 
 
12497
 
* New "rename" command to rename one file to a different name
12498
 
  and/or directory.
12499
 
 
12500
 
* New "move" command to move one or more files into a different
12501
 
  directory.
12502
 
 
12503
 
* New "renames" command lists files renamed since base revision.
12504
 
 
12505
 
* New cat command contributed by janmar.
12506
 
 
12507
 
Changes
12508
 
*******
12509
 
 
12510
 
* .bzr.log is placed in $HOME (not pwd) and is always written in
12511
 
  UTF-8.  (Probably not a completely good long-term solution, but
12512
 
  will do for now.)
12513
 
 
12514
 
Portability
12515
 
***********
12516
 
 
12517
 
* Workaround for difflib bug in Python 2.3 that causes an
12518
 
  exception when comparing empty files.  Reported by Erik Toubro
12519
 
  Nielsen.
12520
 
 
12521
 
Internal
12522
 
********
12523
 
 
12524
 
* Refactored inventory storage to insert a root entry at the top.
12525
 
 
12526
 
Testing
12527
 
*******
12528
 
 
12529
 
* Start of shell-based black-box testing in test.sh.
 
3
====================
 
4
 
 
5
.. contents::
 
6
 
 
7
IN DEVELOPMENT
 
8
==============
 
9
 
 
10
  NOTES WHEN UPGRADING:
 
11
 
 
12
  CHANGES:
 
13
 
 
14
  FEATURES:
 
15
 
 
16
   * New ``authentication.conf`` file holding the password or other credentials
 
17
     for remote servers. This can be used for ssh, sftp, smtp and other 
 
18
     supported transports.
 
19
     (Vincent Ladeuil)
 
20
 
 
21
  PERFORMANCE:
 
22
 
 
23
   * Commit updates the state of the working tree via a delta rather than
 
24
     supplying entirely new basis trees. For commit of a single specified file
 
25
     this reduces the wall clock time for commit by roughly a 30%.
 
26
     (Robert Collins, Martin Pool)
 
27
 
 
28
   * Fetch with pack repositories will no longer read the entire history graph.
 
29
     (Robert Collins, #88319)
 
30
 
 
31
   * Revert takes out an appropriate lock when reverting to a basis tree, and
 
32
     does not read the basis inventory twice. (Robert Collins)
 
33
 
 
34
  IMPROVEMENTS:
 
35
 
 
36
   * ``bzr tags`` now prints the revision number for each tag, instead of
 
37
     the revision id, unless --show-ids is passed. In addition, tags can be
 
38
     sorted chronologically instead of lexicographically with --sort=time.
 
39
     (Adeodato Simó, #120231)
 
40
 
 
41
  DOCUMENTATION:
 
42
 
 
43
  BUG FIXES:
 
44
 
 
45
   * A progress bar has been added for knitpack -> knitpack fetching.
 
46
     (Robert Collins, #157789)
 
47
 
 
48
   * Do no use timeout in HttpServer anymore.
 
49
     (Vincent Ladeuil, #158972).
 
50
 
 
51
   * Don't catch the exceptions related to the http pipeline status before
 
52
     retrying an http request or some programming errors may be masked.
 
53
     (Vincent Ladeuil, #160012)
 
54
 
 
55
   * Don't use timeout in HttpServer anymore.
 
56
     (Vincent Ladeuil, #158972).
 
57
 
 
58
   * Obsolete packs are now cleaned up by pack and autopack operations.
 
59
     (Robert Collins, #153789)
 
60
 
 
61
   * Reconcile now shows progress bars. (Robert Collins, #159351)
 
62
 
 
63
   * Unicode-safe output from ``bzr info``. The output will be encoded
 
64
     using the terminal encoding and unrepresentable characters will be
 
65
     replaced by '?'. (Lukáš Lalinský, #151844)
 
66
 
 
67
   * Wrap medusa ftp test server as an FTPServer feature.
 
68
     (Vincent Ladeuil, #157752)
 
69
 
 
70
   * Fix exception when ScopeReplacer is assigned to before any members have
 
71
     been retrieved.  (Aaron Bentley)
 
72
 
 
73
  API BREAKS:
 
74
 
 
75
   * ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
76
     during very long time. (Alexander Belchenko)
 
77
 
 
78
  INTERNALS:
 
79
 
 
80
  TESTING:
 
81
 
 
82
 
 
83
bzr 0.92rc1 2007-10-29
 
84
======================
 
85
 
 
86
  NOTES WHEN UPGRADING:
 
87
 
 
88
  CHANGES:
 
89
  
 
90
   * ``bzr`` now returns exit code 4 if an internal error occurred, and 
 
91
     3 if a normal error occurred.  (Martin Pool)
 
92
 
 
93
   * ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
94
     repository index errors that occured as a result of the Weave disk format.
 
95
     Instead the ``reconcile`` command needs to be run to correct those
 
96
     problems if they exist (and it has been able to fix most such problems
 
97
     since bzr 0.8). Some new problems have been identified during this release
 
98
     and you should run ``bzr check`` once on every repository to see if you
 
99
     need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
100
     repository due to mismatched parent errors - a symptom of index errors -
 
101
     you should simply take a full copy of that remote repository to a clean
 
102
     directory outside any local repositories, then run reconcile on it, and
 
103
     finally pull from it locally. (And naturally email the repositories owner
 
104
     to ask them to upgrade and run reconcile).
 
105
     (Robert Collins)
 
106
 
 
107
  FEATURES:
 
108
 
 
109
   * New ``knitpack-experimental`` repository format. This is interoperable with
 
110
     the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
111
     speeds up many operations, both local and remote. This new format can be
 
112
     used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
113
     commands. See http://doc.bazaar-vcs.org/latest/developers/knitpack.html
 
114
     for further details. (Robert Collins)
 
115
 
 
116
   * For users of bzr-svn (and those testing the prototype subtree support) that
 
117
     wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
118
     been added. This is interoperable with the ``dirstate-subtrees`` format.
 
119
     (Robert Collins)
 
120
 
 
121
   * New ``reconfigure`` command. (Aaron Bentley)
 
122
 
 
123
   * New ``revert --forget-merges`` command, which removes the record of a pending 
 
124
     merge without affecting the working tree contents.  (Martin Pool)
 
125
 
 
126
   * New ``bzr_remote_path`` configuration variable allows finer control of
 
127
     remote bzr locations than BZR_REMOTE_PATH environment variable.
 
128
     (Aaron Bentley)
 
129
 
 
130
   * New ``launchpad-login`` command to tell Bazaar your Launchpad
 
131
     user ID.  This can then be used by other functions of the
 
132
     Launchpad plugin. (James Henstridge)
 
133
 
 
134
  PERFORMANCE:
 
135
 
 
136
   * Commit in quiet mode is now slightly faster as the information to
 
137
     output is no longer calculated. (Ian Clatworthy)
 
138
 
 
139
   * Commit no longer checks for new text keys during insertion when the
 
140
     revision id was deterministically unique. (Robert Collins)
 
141
 
 
142
   * Committing a change which is not a merge and does not change the number of
 
143
     files in the tree is faster by utilising the data about whether files are
 
144
     changed to determine if the tree is unchanged rather than recalculating
 
145
     it at the end of the commit process. (Robert Collins)
 
146
 
 
147
   * Inventory serialisation no longer double-sha's the content.
 
148
     (Robert Collins)
 
149
 
 
150
   * Knit text reconstruction now avoids making copies of the lines list for
 
151
     interim texts when building a single text. The new ``apply_delta`` method
 
152
     on ``KnitContent`` aids this by allowing modification of the revision id
 
153
     such objects represent. (Robert Collins)
 
154
 
 
155
   * Pack indices are now partially parsed for specific key lookup using a
 
156
     bisection approach. (Robert Collins)
 
157
 
 
158
   * Partial commits are now approximately 40% faster by walking over the
 
159
     unselected current tree more efficiently. (Robert Collins)
 
160
 
 
161
   * XML inventory serialisation takes 20% less time while being stricter about
 
162
     the contents. (Robert Collins)
 
163
 
 
164
   * Graph ``heads()`` queries have been fixed to no longer access all history
 
165
     unnecessarily. (Robert Collins)
 
166
 
 
167
  IMPROVEMENTS:
 
168
 
 
169
   * ``bzr+https://`` smart server across https now supported. 
 
170
     (John Ferlito, Martin Pool, #128456)
 
171
 
 
172
   * Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
173
     bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
174
 
 
175
   * New option ``-c``/``--change`` for ``merge`` command for cherrypicking 
 
176
     changes from one revision. (Alexander Belchenko, #141368)
 
177
 
 
178
   * Show encodings, locale and list of plugins in the traceback message.
 
179
     (Martin Pool, #63894)
 
180
 
 
181
   * Experimental directory formats can now be marked with
 
182
     ``experimental = True`` during registration. (Ian Clatworthy)
 
183
 
 
184
  DOCUMENTATION:
 
185
 
 
186
   * New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
187
 
 
188
   * The hooks reference documentation is now converted to html as expected.
 
189
     (Ian Clatworthy)
 
190
 
 
191
  BUG FIXES:
 
192
 
 
193
   * Connection error reporting for the smart server has been fixed to
 
194
     display a user friendly message instead of a traceback.
 
195
     (Ian Clatworthy, #115601)
 
196
 
 
197
   * Make sure to use ``O_BINARY`` when opening files to check their
 
198
     sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
199
 
 
200
   * Fix a problem with Win32 handling of the executable bit.
 
201
     (John Arbash Meinel, #149113)
 
202
 
 
203
   * ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
204
     no longer assume that means port 22.  This allows people using OpenSSH to
 
205
     override the default port in their ``~/.ssh/config`` if they wish.  This
 
206
     fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
207
 
 
208
   * Commands reporting exceptions can now be profiled and still have their
 
209
     data correctly dumped to a file. For example, a ``bzr commit`` with
 
210
     no changes still reports the operation as pointless but doing so no
 
211
     longer throws away the profiling data if this command is run with
 
212
     ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
213
 
 
214
   * Fallback to ftp when paramiko is not installed and sftp can't be used for
 
215
     ``tests/commands`` so that the test suite is still usable without
 
216
     paramiko.
 
217
     (Vincent Ladeuil, #59150)
 
218
 
 
219
   * Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
220
 
 
221
   * Fix long standing bug in partial commit when there are renames 
 
222
     left in tree. (Robert Collins, #140419)
 
223
 
 
224
   * Fix selftest semi-random noise during http related tests.
 
225
     (Vincent Ladeuil, #140614)
 
226
 
 
227
   * Fix typo in ftp.py making the reconnection fail on temporary errors.
 
228
     (Vincent Ladeuil, #154259)
 
229
 
 
230
   * Fix failing test by comparing real paths to cover the case where the TMPDIR
 
231
     contains a symbolic link.
 
232
     (Vincent Ladeuil, #141382).
 
233
 
 
234
   * Fix log against smart server branches that don't support tags.
 
235
     (James Westby, #140615)
 
236
 
 
237
   * Fix pycurl http implementation by defining error codes from
 
238
     pycurl instead of relying on an old curl definition.
 
239
     (Vincent Ladeuil, #147530)
 
240
 
 
241
   * Fix 'unprintable error' message when displaying BzrCheckError and 
 
242
     some other exceptions on Python 2.5.
 
243
     (Martin Pool, #144633)
 
244
 
 
245
   * Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
246
 
 
247
   * Handles default value for ListOption in cmd_commit.
 
248
     (Vincent Ladeuil, #140432)
 
249
 
 
250
   * HttpServer and FtpServer need to be closed properly or a listening socket
 
251
     will remain opened.
 
252
     (Vincent Ladeuil, #140055)
 
253
 
 
254
   * Monitor the .bzr directory created in the top level test
 
255
     directory to detect leaking tests.
 
256
     (Vincent Ladeuil, #147986)
 
257
 
 
258
   * The basename, not the full path, is now used when checking whether
 
259
     the profiling dump file begins with ``callgrind.out`` or not. This
 
260
     fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
261
 
 
262
   * Trivial fix for invoking command ``reconfigure`` without arguments.
 
263
     (Rob Weir, #141629)
 
264
 
 
265
   * ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
266
     new path causes bzr to be unable to access the file. (Robert Collins)
 
267
 
 
268
   * Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
269
     Merwe)
 
270
 
 
271
  API BREAKS:
 
272
 
 
273
   * ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
274
     constructor, for enabling bisection searches. (Robert Collins)
 
275
 
 
276
   * ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
277
     tree be supplied to it, previously failing to do so would trigger a
 
278
     deprecation warning. (Robert Collins)
 
279
 
 
280
   * ``KnitVersionedFile.add*`` will no longer cache added records even when
 
281
     enable_cache() has been called - the caching feature is now exclusively for
 
282
     reading existing data. (Robert Collins)
 
283
 
 
284
   * ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more 
 
285
     appropriate.  (Martin Pool)
 
286
 
 
287
   * Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
288
     ``trace+`` transport instead. (Robert Collins)
 
289
 
 
290
   * Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
291
     deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
292
     (Martin Pool)
 
293
 
 
294
   * Removed previous deprecated ``basis_knit`` parameter to the
 
295
     ``KnitVersionedFile`` constructor. (Robert Collins)
 
296
 
 
297
   * Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii 
 
298
     class that needs it.
 
299
     (Martin Pool)
 
300
 
 
301
   * The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
302
     ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
303
 
 
304
   * The ``VersionedFile`` interface now allows content checks to be bypassed
 
305
     by supplying check_content=False.  This saves nearly 30% of the minimum
 
306
     cost to store a version of a file. (Robert Collins)
 
307
 
 
308
   * Tree's with bad state such as files with no length or sha will no longer
 
309
     be silently accepted by the repository XML serialiser. To serialise
 
310
     inventories without such data, pass working=True to write_inventory.
 
311
     (Robert Collins)
 
312
 
 
313
   * ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
314
     ``VersionedFile.join`` will no longer accept different parents on either
 
315
     side of a join - it will either ignore them, or error, depending on the
 
316
     implementation. See notes when upgrading for more information.
 
317
     (Robert Collins)
 
318
 
 
319
  INTERNALS:
 
320
 
 
321
   * ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
322
     put by the method call, to allow avoiding stat-after-write or
 
323
     housekeeping in callers. (Robert Collins)
 
324
 
 
325
   * ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
326
     mandatory attributes are present on serialisation and deserialisation.
 
327
     This fixes some holes in API usage and allows better separation between
 
328
     physical storage and object serialisation. (Robert Collins)
 
329
 
 
330
   * New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
331
     shorthand for deriving from BzrError and setting internal_error = True.
 
332
     (Robert Collins)
 
333
 
 
334
   * New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
335
     moving the state of a parent tree to a new version via a delta rather than
 
336
     a complete replacement tree. (Robert Collins)
 
337
 
 
338
   * New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
339
     duplication from user input, when a user mentions both a path and an item
 
340
     contained within that path. (Robert Collins)
 
341
 
 
342
   * New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
343
     determining if a repository is write locked. (Robert Collins)
 
344
 
 
345
   * New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
346
     tuple containing the key information about a path for commit processing
 
347
     to complete. (Robert Collins)
 
348
 
 
349
   * New method on xml serialisers, write_inventory_to_lines, which matches the
 
350
     API used by knits for adding content. (Robert Collins)
 
351
 
 
352
   * New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
353
     logic, currently only available for byte-based lookup
 
354
     (``bisect_multi_bytes``). (Robert Collins)
 
355
 
 
356
   * New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
357
     and returns a gzipped version of the same. This is used to avoid a bunch
 
358
     of api friction during adding of knit hunks. (Robert Collins)
 
359
 
 
360
   * New parameter on ``bzrlib.transport.Transport.readv``
 
361
     ``adjust_for_latency`` which changes readv from returning strictly the
 
362
     requested data to inserted return larger ranges and in forward read order
 
363
     to reduce the effect of network latency. (Robert Collins)
 
364
 
 
365
   * New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
366
     causes the parents of a selected id to be returned recursively, so all the
 
367
     paths from the root down to each element of selected_file_ids are
 
368
     returned. (Robert Collins)
 
369
 
 
370
   * Knit joining has been enhanced to support plain to annotated conversion
 
371
     and annotated to plain conversion. (Ian Clatworthy)
 
372
 
 
373
   * The CommitBuilder method ``record_entry_contents`` now returns summary
 
374
     information about the effect of the commit on the repository. This tuple
 
375
     contains an inventory delta item if the entry changed from the basis, and a
 
376
     boolean indicating whether a new file graph node was recorded.
 
377
     (Robert Collins)
 
378
 
 
379
   * The python path used in the Makefile can now be overridden.
 
380
     (Andrew Bennetts, Ian Clatworthy)
 
381
 
 
382
  TESTING:
 
383
 
 
384
   * New transport implementation ``trace+`` which is useful for testing,
 
385
     logging activity taken to its _activity attribute. (Robert Collins)
 
386
 
 
387
   * When running bzr commands within the test suite, internal exceptions are
 
388
     not caught and reported in the usual way, but rather allowed to propagate
 
389
     up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
390
     makes this behavior available to other users.
 
391
     (Martin Pool)
 
392
 
 
393
   * New method ``TestCase.call_catch_warnings`` for testing methods that 
 
394
     raises a Python warning.  (Martin Pool)
 
395
 
 
396
 
 
397
bzr 0.91 2007-09-26
 
398
===================
 
399
 
 
400
  BUG FIXES:
 
401
 
 
402
   * Print a warning instead of aborting the ``python setup.py install``
 
403
     process if building of a C extension is not possible.
 
404
     (Lukáš Lalinský, Alexander Belchenko)
 
405
 
 
406
   * Fix commit ordering in corner case (Aaron Bentley, #94975)
 
407
 
 
408
   * Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
409
     an implicit port.  We were incorrectly raising PathNotChild due to
 
410
     inconsistent treatment of the ''_port'' attribute on the Transport object.
 
411
     (Andrew Bennetts, #133965)
 
412
 
 
413
   * Make RemoteRepository.sprout cope gracefully with servers that don't
 
414
     support the ``Repository.tarball`` request.
 
415
     (Andrew Bennetts)
 
416
 
 
417
 
 
418
bzr 0.91rc2 2007-09-11
 
419
======================
 
420
 
 
421
   * Replaced incorrect tarball for previous release; a debug statement was left 
 
422
     in bzrlib/remote.py.
 
423
 
 
424
 
 
425
bzr 0.91rc1 2007-09-11
 
426
======================
 
427
 
 
428
  CHANGES:
 
429
 
 
430
   * The default branch and repository format has changed to 
 
431
     ``dirstate-tags``, so tag commands are active by default.
 
432
     This format is compatible with Bazaar 0.15 and later.
 
433
     This incidentally fixes bug #126141.
 
434
     (Martin Pool)
 
435
 
 
436
   * ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
437
     must now appear after the command name. Scripts doing things like
 
438
     ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
439
     (Ian Clatworthy)
 
440
 
 
441
  FEATURES:
 
442
 
 
443
   * New option ``--author`` in ``bzr commit`` to specify the author of the
 
444
     change, if it's different from the committer. ``bzr log`` and
 
445
     ``bzr annotate`` display the author instead of the committer.
 
446
     (Lukáš Lalinský)
 
447
 
 
448
   * In addition to global options and command specific options, a set of
 
449
     standard options are now supported. Standard options are legal for
 
450
     all commands. The initial set of standard options are:
 
451
     
 
452
     * ``--help`` or ``-h`` - display help message
 
453
     * ``--verbose`` or ``-v`` - display additional information
 
454
     * ``--quiet``  or ``-q`` - only output warnings and errors.
 
455
 
 
456
     Unlike global options, standard options can be used in aliases and
 
457
     may have command-specific help. (Ian Clatworthy)
 
458
 
 
459
   * Verbosity level processing has now been unified. If ``--verbose``
 
460
     or ``-v`` is specified on the command line multiple times, the
 
461
     verbosity level is made positive the first time then increased.
 
462
     If ``--quiet`` or ``-q`` is specified on the command line
 
463
     multiple times, the verbosity level is made negative the first
 
464
     time then decreased. To get the default verbosity level of zero,
 
465
     either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
466
     Note that most commands currently ignore the magnitude of the
 
467
     verbosity level but do respect *quiet vs normal vs verbose* when
 
468
     generating output. (Ian Clatworthy)
 
469
 
 
470
   * ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
471
     is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
472
 
 
473
   * New ``Repository.stream_knit_data_for_revisions`` request added to the
 
474
     network protocol for greatly reduced roundtrips when retrieving a set of
 
475
     revisions. (Andrew Bennetts)
 
476
 
 
477
  BUG FIXES:
 
478
 
 
479
   * ``bzr plugins`` now lists the version number for each plugin in square
 
480
     brackets after the path. (Robert Collins, #125421)
 
481
 
 
482
   * Pushing, pulling and branching branches with subtree references was not
 
483
     copying the subtree weave, preventing the file graph from being accessed
 
484
     and causing errors in commits in clones. (Robert Collins)
 
485
 
 
486
   * Suppress warning "integer argument expected, got float" from Paramiko,
 
487
     which sometimes caused false test failures.  (Martin Pool)
 
488
 
 
489
   * Fix bug in bundle 4 that could cause attempts to write data to wrong
 
490
     versionedfile.  (Aaron Bentley)
 
491
 
 
492
   * Diffs generated using "diff -p" no longer break the patch parser.
 
493
     (Aaron Bentley)
 
494
 
 
495
   * get_transport treats an empty possible_transports list the same as a non-
 
496
     empty one.  (Aaron Bentley)
 
497
 
 
498
   * patch verification for merge directives is reactivated, and works with
 
499
     CRLF and CR files.  (Aaron Bentley)
 
500
 
 
501
   * Accept ..\ as a path in revision specifiers. This fixes for example
 
502
     "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský) 
 
503
 
 
504
   * ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
505
     (Blake Winton, #129299)
 
506
 
 
507
   * man page no longer lists hidden options (#131667, Aaron Bentley)
 
508
 
 
509
   * ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
510
     Watkins, #106726)
 
511
 
 
512
   * Error messages are now better formatted with parameters (such as
 
513
     filenames) quoted when necessary. This avoids confusion when directory
 
514
     names ending in a '.' at the end of messages were confused with a
 
515
     full stop that may or not have been there. (Daniel Watkins, #129791)
 
516
 
 
517
   * Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
518
 
 
519
   * If a particular command is an alias, ``help`` will show the alias
 
520
     instead of claiming there is no help for said alias. (Daniel Watkins,
 
521
     #133548)
 
522
 
 
523
   * TreeTransform-based operations, like pull, merge, revert, and branch,
 
524
     now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
525
 
 
526
   * ``bzr commit`` now exits cleanly if a character unsupported by the
 
527
     current encoding is used in the commit message.  (Daniel Watkins,
 
528
     #116143)
 
529
 
 
530
   * bzr send uses default values for ranges when only half of an elipsis
 
531
     is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
532
 
 
533
   * Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
534
     binary is present.  (Martin Albisetti, #107155)
 
535
 
 
536
   * ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
537
     needing ``--force``) subtrees that contain no files with text changes or
 
538
     modified files.  With ``--force`` it removes the subtree regardless of
 
539
     text changes or unknown files. Directories with renames in or out (but
 
540
     not changed otherwise) will now be removed without needing ``--force``.
 
541
     Unknown ignored files will be deleted without needing ``--force``.
 
542
     (Marius Kruger, #111665)
 
543
 
 
544
   * When two plugins conflict, the source of both the losing and now the
 
545
     winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
546
 
 
547
   * When committing to a branch, the location being committed to is
 
548
     displayed.  (Daniel Watkins, #52479)
 
549
 
 
550
   * ``bzr --version`` takes care about encoding of stdout, especially
 
551
     when output is redirected. (Alexander Belchenko, #131100)
 
552
 
 
553
   * Prompt for an ftp password if none is provided.
 
554
     (Vincent Ladeuil, #137044)
 
555
 
 
556
   * Reuse bound branch associated transport to avoid multiple
 
557
     connections.
 
558
     (Vincent Ladeuil, #128076, #131396)
 
559
 
 
560
   * Overwrite conflicting tags by ``push`` and ``pull`` if the
 
561
     ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
562
 
 
563
   * In checkouts, tags are copied into the master branch when created,
 
564
     changed or deleted, and are copied into the checkout when it is 
 
565
     updated.  (Martin Pool, #93856, #93860)
 
566
 
 
567
   * Print a warning instead of aborting the ``python setup.py install``
 
568
     process if building of a C extension is not possible.
 
569
     (Lukáš Lalinský, Alexander Belchenko)
 
570
 
 
571
  IMPROVEMENTS:
 
572
 
 
573
   * Add the option "--show-diff" to the commit command in order to display
 
574
     the diff during the commit log creation. (Goffredo Baroncelli)
 
575
 
 
576
   * ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
577
     (Aaron Bentley)
 
578
 
 
579
   * ``pull -v`` no longer includes deltas, making it much faster.
 
580
     (Aaron Bentley)
 
581
 
 
582
   * ``send`` now sends the directive as an attachment by default.
 
583
     (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
584
 
 
585
   * Documentation updates (Martin Albisetti)
 
586
 
 
587
   * Help on debug flags is now included in ``help global-options``.
 
588
     (Daniel Watkins, #124853)
 
589
 
 
590
   * Parameters passed on the command line are checked to ensure they are
 
591
     supported by the encoding in use. (Daniel Watkins)
 
592
 
 
593
   * The compression used within the bzr repository has changed from zlib
 
594
     level 9 to the zlib default level. This improves commit performance with
 
595
     only a small increase in space used (and in some cases a reduction in
 
596
     space). (Robert Collins)
 
597
 
 
598
   * Initial commit no longer SHAs files twice and now reuses the path
 
599
     rather than looking it up again, making it faster.
 
600
     (Ian Clatworthy)
 
601
 
 
602
   * New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
603
     changes in one revision.  (Lukáš Lalinský)
 
604
 
 
605
   * If versioned files match a given ignore pattern, a warning is now
 
606
     given. (Daniel Watkins, #48623)
 
607
 
 
608
   * ``bzr status`` now has -S as a short name for --short and -V as a
 
609
     short name for --versioned. These have been added to assist users
 
610
     migrating from Subversion: ``bzr status -SV`` is now like
 
611
     ``svn status -q``.  (Daniel Watkins, #115990)
 
612
 
 
613
   * Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
614
     10x faster than the Python version. This speeds up commands that
 
615
     need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
616
     (Lukáš Lalinský)
 
617
 
 
618
   * HACKING has been extended with a large section on core developer tasks.
 
619
     (Ian Clatworthy)
 
620
 
 
621
   * Add ``branches`` and ``standalone-trees`` as online help topics and
 
622
     include them as Concepts within the User Reference.
 
623
     (Paul Moore, Ian Clatworthy)
 
624
 
 
625
    * ``check`` can detect versionedfile parent references that are
 
626
      inconsistent with revision and inventory info, and ``reconcile`` can fix
 
627
      them.  These faulty references were generated by 0.8-era releases,
 
628
      so repositories which were manipulated by old bzrs should be
 
629
      checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
630
 
 
631
  API BREAKS:
 
632
 
 
633
   * ``Branch.append_revision`` is removed altogether; please use 
 
634
     ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
635
 
 
636
   * CommitBuilder now advertises itself as requiring the root entry to be
 
637
     supplied. This only affects foreign repository implementations which reuse
 
638
     CommitBuilder directly and have changed record_entry_contents to require
 
639
     that the root not be supplied. This should be precisely zero plugins
 
640
     affected. (Robert Collins)
 
641
 
 
642
   * The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
643
     its return value to include the sha1 and length of the inserted text. This
 
644
     allows the avoidance of double-sha1 calculations during commit.
 
645
     (Robert Collins)
 
646
 
 
647
   * ``Transport.should_cache`` has been removed.  It was not called in the
 
648
     previous release.  (Martin Pool)
 
649
 
 
650
  TESTING:
 
651
 
 
652
   * Tests may now raise TestNotApplicable to indicate they shouldn't be 
 
653
     run in a particular scenario.  (Martin Pool)
 
654
 
 
655
   * New function multiply_tests_from_modules to give a simpler interface
 
656
     to test parameterization.  (Martin Pool, Robert Collins)
 
657
 
 
658
   * ``Transport.should_cache`` has been removed.  It was not called in the
 
659
     previous release.  (Martin Pool)
 
660
 
 
661
   * NULL_REVISION is returned to indicate the null revision, not None.
 
662
     (Aaron Bentley)
 
663
 
 
664
   * Use UTF-8 encoded StringIO for log tests to avoid failures on
 
665
     non-ASCII committer names.  (Lukáš Lalinský)
 
666
 
 
667
  INTERNALS:
 
668
 
 
669
   * ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
670
     ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
671
     useful functionality for determining the path of a plugin, its tests, and
 
672
     its version information. (Robert Collins)
 
673
 
 
674
   * Add the option user_encoding to the function 'show_diff_trees()'
 
675
     in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
676
 
 
677
   * Add the function make_commit_message_template_encoded() and the function
 
678
     edit_commit_message_encoded() which handle encoded strings.
 
679
     This is done in order to mix the commit messages (which is a unicode
 
680
     string), and the diff which is a raw string. (Goffredo Baroncelli)
 
681
 
 
682
   * CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
683
     overhead on non-weave repositories which don't require all parents to be
 
684
     present. (Robert Collins)
 
685
 
 
686
   * Deprecated method ``find_previous_heads`` on
 
687
     ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
688
     of ``parent_candidates`` and a separate heads check via the repository
 
689
     API. (Robert Collins)
 
690
 
 
691
   * New trace function ``mutter_callsite`` will print out a subset of the
 
692
     stack to the log, which can be useful for gathering debug details.
 
693
     (Robert Collins)
 
694
 
 
695
   * ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
696
     added via a public attribute records_written. (Robert Collins)
 
697
 
 
698
   * New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
699
     This provides a hint to users of transports as to the reasonable
 
700
     minimum data to read. In principle this can take latency and
 
701
     bandwidth into account on a per-connection basis, but for now it
 
702
     just has hard coded values based on the url. (e.g. http:// has a large
 
703
     page size, file:// has a small one.) (Robert Collins)
 
704
 
 
705
   * New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
706
     incremental addition of data to a file without requiring that all the
 
707
     data be buffered in memory. (Robert Collins)
 
708
 
 
709
   * New methods on ``bzrlib.knit.KnitVersionedFile``:
 
710
     ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
711
     ``get_format_signature()``.  These provide some infrastructure for
 
712
     efficiently streaming the knit data for a set of versions over the smart
 
713
     protocol.
 
714
 
 
715
   * Knits with no annotation cache still produce correct annotations.
 
716
     (Aaron Bentley)
 
717
 
 
718
   * Three new methods have been added to ``bzrlib.trace``:
 
719
     ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
720
     ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
721
     zero for normal, positive for verbose. The size of the number can be
 
722
     used to determine just how quiet or verbose the application should be.
 
723
     The existing ``be_quiet`` and ``is_quiet`` routines have been
 
724
     integrated into this new scheme. (Ian Clatworthy)
 
725
 
 
726
   * Options can now be delcared with a ``custom_callback`` parameter. If
 
727
     set, this routine is called after the option is processed. This feature
 
728
     is now used by the standard options ``verbose`` and ``quiet`` so that
 
729
     setting one implicitly resets the other. (Ian Clatworthy)
 
730
 
 
731
   * Rather than declaring a new option from scratch in order to provide
 
732
     custom help, a centrally registered option can be decorated using the
 
733
     new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
734
     is useful when declaring better help for the ``verbose`` and ``quiet``
 
735
     standard options as the base definition of these is now more complex
 
736
     than before thanks to their use of a custom callback. (Ian Clatworthy)
 
737
      
 
738
    * Tree._iter_changes(specific_file=[]) now iterates through no files,
 
739
      instead of iterating through all files.  None is used to iterate through
 
740
      all files.  (Aaron Bentley)
 
741
 
 
742
    * WorkingTree.revert() now accepts None to revert all files.  The use of
 
743
      [] to revert all files is deprecated.  (Aaron Bentley)
 
744
 
 
745
 
 
746
bzr 0.90 2007-08-28
 
747
===================
 
748
 
 
749
  IMPROVEMENTS:
 
750
 
 
751
    * Documentation is now organized into multiple directories with a level
 
752
      added for different languages or locales. Added the Mini Tutorial
 
753
      and Quick Start Summary (en) documents from the Wiki, improving the
 
754
      content and readability of the former. Formatted NEWS as Release Notes
 
755
      complete with a Table of Conents, one heading per release. Moved the
 
756
      Developer Guide into the main document catalog and provided a link
 
757
      from the developer document catalog back to the main one.
 
758
      (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
759
 
 
760
 
 
761
  API CHANGES:
 
762
 
 
763
    * The static convenience method ``BzrDir.create_repository``
 
764
      is deprecated.  Callers should instead create a ``BzrDir`` instance
 
765
      and call ``create_repository`` on that.  (Martin Pool)
 
766
 
 
767
 
 
768
bzr 0.90rc1 2007-08-14
 
769
======================
 
770
 
 
771
  BUGFIXES:
 
772
 
 
773
    * ``bzr init`` should connect to the remote location one time only.  We
 
774
      have been connecting several times because we forget to pass around the
 
775
      Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
776
      so that we can give it the Transport we already have.
 
777
      (John Arbash Meinel, Vincent Ladeuil, #111702)
 
778
 
 
779
    * Get rid of sftp connection cache (get rid of the FTP one too).
 
780
      (Vincent Ladeuil, #43731)
 
781
 
 
782
    * bzr branch {local|remote} remote don't try to create a working tree
 
783
      anymore.
 
784
      (Vincent Ladeuil, #112173)
 
785
 
 
786
    * All identified multiple connections for a single bzr command have been
 
787
      fixed. See bzrlib/tests/commands directory.
 
788
      (Vincent Ladeuil)
 
789
 
 
790
    * ``bzr rm`` now does not insist on ``--force`` to delete files that
 
791
      have been renamed but not otherwise modified.  (Marius Kruger,
 
792
      #111664)
 
793
 
 
794
    * ``bzr selftest --bench`` no longer emits deprecation warnings
 
795
      (Lukáš Lalinský)
 
796
 
 
797
    * ``bzr status`` now honours FILE parameters for conflict lists
 
798
      (Aaron Bentley, #127606)
 
799
 
 
800
    * ``bzr checkout`` now honours -r when reconstituting a working tree.
 
801
      It also honours -r 0.  (Aaron Bentley, #127708)
 
802
 
 
803
    * ``bzr add *`` no more fails on Windows if working tree contains
 
804
      non-ascii file names. (Kuno Meyer, #127361)
 
805
 
 
806
    * allow ``easy_install bzr`` runs without fatal errors. 
 
807
      (Alexander Belchenko, #125521)
 
808
 
 
809
    * Graph._filter_candidate_lca does not raise KeyError if a candidate
 
810
      is eliminated just before it would normally be examined.  (Aaron Bentley)
 
811
 
 
812
    * SMTP connection failures produce a nice message, not a traceback.
 
813
      (Aaron Bentley)
 
814
 
 
815
  IMPROVEMENTS:
 
816
 
 
817
    * Don't show "dots" progress indicators when run non-interactively, such
 
818
      as from cron.  (Martin Pool)
 
819
 
 
820
    * ``info`` now formats locations more nicely and lists "submit" and
 
821
      "public" branches (Aaron Bentley)
 
822
 
 
823
    * New ``pack`` command that will trigger database compression within
 
824
      the repository (Robert Collins)
 
825
 
 
826
    * Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
827
      version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
828
      Which yields a measurable improvement for commands which have to
 
829
      read from the repository, such as a 1s => 0.75s improvement in
 
830
      ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
831
 
 
832
    * Merge is now faster.  Depending on the scenario, it can be more than 2x
 
833
      faster. (Aaron Bentley)
 
834
 
 
835
    * Give a clearer warning, and allow ``python setup.py install`` to
 
836
      succeed even if pyrex is not available.
 
837
      (John Arbash Meinel)
 
838
 
 
839
    * ``DirState._read_dirblocks`` now has an optional Pyrex
 
840
      implementation. This improves the speed of any command that has to
 
841
      read the entire DirState. (``diff``, ``status``, etc, improve by
 
842
      about 10%).
 
843
      ``bisect_dirblocks`` has also been improved, which helps all
 
844
      ``_get_entry`` type calls (whenever we are searching for a
 
845
      particular entry in the in-memory DirState).
 
846
      (John Arbash Meinel)
 
847
 
 
848
    * ``bzr pull`` and ``bzr push`` no longer do a complete walk of the 
 
849
      branch revision history for ui display unless -v is supplied.
 
850
      (Robert Collins)
 
851
 
 
852
    * ``bzr log -rA..B`` output shifted to the left margin if the log only 
 
853
      contains merge revisions. (Kent Gibson) 
 
854
 
 
855
    * The ``plugins`` command is now public with improved help.
 
856
      (Ian Clatworthy)
 
857
 
 
858
    * New bundle and merge directive formats are faster to generate, and
 
859
 
 
860
    * Annotate merge now works when there are local changes. (Aaron Bentley)
 
861
 
 
862
    * Commit now only shows the progress in terms of directories instead of
 
863
      entries. (Ian Clatworthy)
 
864
 
 
865
    * Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
866
      times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
867
      Meinel)
 
868
 
 
869
    * Fix ``VersionedFile.get_graph()`` to avoid using
 
870
      ``set.difference_update(other)``, which has bad scaling when
 
871
      ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
872
      a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
873
 
 
874
    * The ``--lsprof-file`` option now generates output for KCacheGrind if
 
875
      the file starts with ``callgrind.out``. This matches the default file
 
876
      filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
877
 
 
878
    * Fix ``bzr update`` to avoid an unnecessary
 
879
      ``branch.get_master_branch`` call, which avoids 1 extra connection
 
880
      to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
881
 
 
882
    * Log errors from the smart server in the trace file, to make debugging 
 
883
      test failures (and live failures!) easier.  (Andrew Bennetts)
 
884
 
 
885
    * The HTML version of the man page has been superceded by a more
 
886
      comprehensive manual called the Bazaar User Reference. This manual
 
887
      is completed generated from the online help topics. As part of this
 
888
      change, limited reStructuredText is now explicitly supported in help
 
889
      topics and command help with 'unnatural' markup being removed prior
 
890
      to display by the online help or inclusion in the man page.
 
891
      (Ian Clatworthy)
 
892
 
 
893
    * HTML documentation now use files extension ``*.html``
 
894
      (Alexander Belchenko)
 
895
 
 
896
    * The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
897
      so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
898
 
 
899
    * ``bzr selftest --strict`` fails if there are any missing features or
 
900
      expected test failures. (Daniel Watkins, #111914)
 
901
 
 
902
    * Link to registration survey added to README. (Ian Clatworthy)
 
903
 
 
904
    * Windows standalone installer show link to registration survey
 
905
      when installation finished. (Alexander Belchenko)
 
906
 
 
907
  LIBRARY API BREAKS:
 
908
 
 
909
    * Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
910
      Options are now required to provide a help string and it must
 
911
      comply with the style guide by being one or more sentences with an
 
912
      initial capital and final period. (Martin Pool)
 
913
 
 
914
    * KnitIndex.get_parents now returns tuples. (Robert Collins)
 
915
 
 
916
    * Ancient unused ``Repository.text_store`` attribute has been removed.
 
917
      (Robert Collins)
 
918
 
 
919
    * The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
920
      rather than just bytestrings, making it easier to represent multiple
 
921
      element names. As this interface was not used by any internal facilities
 
922
      since it was introduced in 0.18 no API compatibility is being preserved.
 
923
      The serialised form of these packs is identical with 0.18 when a single
 
924
      element tuple is in use. (Robert Collins)
 
925
 
 
926
  INTERNALS:
 
927
 
 
928
    * merge now uses ``iter_changes`` to calculate changes, which makes room for
 
929
      future performance increases.  It is also more consistent with other
 
930
      operations that perform comparisons, and reduces reliance on
 
931
      Tree.inventory.  (Aaron Bentley)
 
932
 
 
933
    * Refactoring of transport classes connected to a remote server.
 
934
      ConnectedTransport is a new class that serves as a basis for all
 
935
      transports needing to connect to a remote server.  transport.split_url
 
936
      have been deprecated, use the static method on the object instead. URL
 
937
      tests have been refactored too.
 
938
      (Vincent Ladeuil)
 
939
 
 
940
    * Better connection sharing for ConnectedTransport objects.
 
941
      transport.get_transport() now accepts a 'possible_transports' parameter.
 
942
      If a newly requested transport can share a connection with one of the
 
943
      list, it will.
 
944
      (Vincent Ladeuil)
 
945
 
 
946
    * Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
947
      the null revision, and consider using ``None`` for this purpose
 
948
      deprecated.  (Aaron Bentley)
 
949
 
 
950
    * New ``index`` module with abstract index functionality. This will be
 
951
      used during the planned changes in the repository layer. Currently the
 
952
      index layer provides a graph aware immutable index, a builder for the
 
953
      same index type to allow creating them, and finally a composer for
 
954
      such indices to allow the use of many indices in a single query. The
 
955
      index performance is not optimised, however the API is stable to allow
 
956
      development on top of the index. (Robert Collins)
 
957
 
 
958
    * ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
959
      their directory sections. This is equivalent to comparing
 
960
      ``path.split('/')``, only without having to split the paths.
 
961
      This has a Pyrex implementation available.
 
962
      (John Arbash Meinel)
 
963
 
 
964
    * New transport decorator 'unlistable+' which disables the list_dir
 
965
      functionality for testing.
 
966
 
 
967
    * Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
968
 
 
969
    * RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
970
      for performing annotate-merge.  (Aaron Bentley)
 
971
 
 
972
    * New EmailMessage class to create email messages. (Adeodato Simó)
 
973
 
 
974
    * Unused functions on the private interface KnitIndex have been removed.
 
975
      (Robert Collins)
 
976
 
 
977
    * New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
978
      of a ``index.GraphIndex``. (Robert Collins)
 
979
 
 
980
    * New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
981
      the parents of many knit nodes at once, reducing round trips to the 
 
982
      underlying index. (Robert Collins)
 
983
 
 
984
    * Graph now has an is_ancestor method, various bits use it.
 
985
      (Aaron Bentley)
 
986
 
 
987
    * The ``-Dhpss`` flag now includes timing information. As well as
 
988
      logging when a new connection is opened. (John Arbash Meinel)
 
989
 
 
990
    * ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
991
      callers when inserting data, allowing generation of readv style access
 
992
      during pack creation, without needing a separate pass across the output
 
993
      pack to gather such details. (Robert Collins)
 
994
 
 
995
    * ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
996
      files that are stored on a transport. (Robert Collins)
 
997
 
 
998
    * New ``Repository.has_same_location`` method that reports if two
 
999
      repository objects refer to the same repository (although with some risk
 
1000
      of false negatives).  (Andrew Bennetts)
 
1001
 
 
1002
    * InterTree.compare now passes require_versioned on correctly.
 
1003
      (Marius Kruger)
 
1004
 
 
1005
    * New methods on Repository - ``start_write_group``,
 
1006
      ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
1007
      which provide a clean hook point for transactional Repositories - ones
 
1008
      where all the data for a fetch or commit needs to be made atomically
 
1009
      available in one step. This allows the write lock to remain while making
 
1010
      a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
1011
 
 
1012
    * In ``bzrlib.knit`` the internal interface has been altered to use
 
1013
      3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
1014
      describe where data in a knit is, allowing knits to be split into 
 
1015
      many files. (Robert Collins)
 
1016
 
 
1017
    * ``bzrlib.knit._KnitData`` split into cache management and physical access
 
1018
      with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
1019
      The former provides access into a .pack file, and the latter provides the
 
1020
      current production repository form of .knit files. (Robert Collins)
 
1021
 
 
1022
  TESTING:
 
1023
 
 
1024
    * Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
1025
      ``--keep-output`` options, which are obsolete now that tests
 
1026
      are done within directories in $TMPDIR.  (Martin Pool)
 
1027
 
 
1028
    * The SSH_AUTH_SOCK environment variable is now reset to avoid 
 
1029
      interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
1030
 
 
1031
    * run_bzr_subprocess handles parameters the same way as run_bzr:
 
1032
      either a string or a list of strings should be passed as the first
 
1033
      parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
1034
 
 
1035
 
 
1036
bzr 0.18  2007-07-17
 
1037
====================
 
1038
 
 
1039
  BUGFIXES:
 
1040
 
 
1041
    * Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
1042
 
 
1043
 
 
1044
bzr 0.18rc1  2007-07-10
 
1045
=======================
 
1046
 
 
1047
  BUGFIXES:
 
1048
 
 
1049
    * Do not suppress pipe errors, etc. in non-display commands
 
1050
      (Alexander Belchenko, #87178)
 
1051
 
 
1052
    * Display a useful error message when the user requests to annotate
 
1053
      a file that is not present in the specified revision.
 
1054
      (James Westby, #122656)
 
1055
 
 
1056
    * Commands that use status flags now have a reference to 'help
 
1057
      status-flags'.  (Daniel Watkins, #113436)
 
1058
 
 
1059
    * Work around python-2.4.1 inhability to correctly parse the
 
1060
      authentication header.
 
1061
      (Vincent Ladeuil, #121889)
 
1062
 
 
1063
    * Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
1064
 
 
1065
    * Fix tempfile permissions error in smart server tar bundling under
 
1066
      Windows. (Martin _, #119330)
 
1067
 
 
1068
    * Fix detection of directory entries in the inventory. (James Westby)
 
1069
 
 
1070
    * Fix handling of http code 400: Bad Request When issuing too many ranges.
 
1071
      (Vincent Ladeuil, #115209)
 
1072
 
 
1073
    * Issue a CONNECT request when connecting to an https server
 
1074
      via a proxy to enable SSL tunneling.
 
1075
      (Vincent Ladeuil, #120678)
 
1076
 
 
1077
    * Fix ``bzr log -r`` to support selecting merge revisions, both 
 
1078
      individually and as part of revision ranges.
 
1079
      (Kent Gibson, #4663)
 
1080
 
 
1081
    * Don't leave cruft behind when failing to acquire a lockdir.
 
1082
      (Martin Pool, #109169)
 
1083
 
 
1084
    * Don't use the '-f' strace option during tests.
 
1085
      (Vincent Ladeuil, #102019).
 
1086
 
 
1087
    * Warn when setting ``push_location`` to a value that will be masked by
 
1088
      locations.conf.  (Aaron Bentley, #122286)
 
1089
 
 
1090
    * Fix commit ordering in corner case (Aaron Bentley, #94975)
 
1091
 
 
1092
    *  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
1093
 
 
1094
  IMPROVEMENTS:
 
1095
 
 
1096
    * The --lsprof-file option now dumps a text rendering of the profiling
 
1097
      information if the filename ends in ".txt". It will also convert the
 
1098
      profiling information to a format suitable for KCacheGrind if the
 
1099
      output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
1100
      conversion process by Jean Paul Calderone and Itamar were also merged.
 
1101
      See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
1102
 
 
1103
    * ``info`` now defaults to non-verbose mode, displaying only paths and
 
1104
      abbreviated format info.  ``info -v`` displays all the information
 
1105
      formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
1106
 
 
1107
    * ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
1108
      (Elliot Murphy)
 
1109
 
 
1110
    * The internal ``weave-list`` command has become ``versionedfile-list``,
 
1111
      and now lists knits as well as weaves.  (Aaron Bentley)
 
1112
 
 
1113
    * Automatic merge base selection uses a faster algorithm that chooses
 
1114
      better bases in criss-cross merge situations (Aaron Bentley)
 
1115
 
 
1116
    * Progress reporting in ``commit`` has been improved. The various logical
 
1117
      stages are now reported on as follows, namely:
 
1118
 
 
1119
      * Collecting changes [Entry x/y] - Stage n/m
 
1120
      * Saving data locally - Stage n/m
 
1121
      * Uploading data to master branch - Stage n/m
 
1122
      * Updating the working tree - Stage n/m
 
1123
      * Running post commit hooks - Stage n/m
 
1124
      
 
1125
      If there is no master branch, the 3rd stage is omitted and the total
 
1126
      number of stages is adjusted accordingly.
 
1127
 
 
1128
      Each hook that is run after commit is listed with a name (as hooks
 
1129
      can be slow it is useful feedback).
 
1130
      (Ian Clatworthy, Robert Collins)
 
1131
 
 
1132
    * Various operations that are now faster due to avoiding unnecessary
 
1133
      topological sorts. (Aaron Bentley)
 
1134
 
 
1135
    * Make merge directives robust against broken bundles. (Aaron Bentley)
 
1136
 
 
1137
    * The lsprof filename note is emitted via trace.note(), not standard
 
1138
      output.  (Aaron Bentley)
 
1139
 
 
1140
    * ``bzrlib`` now exports explicit API compatibility information to assist
 
1141
      library users and plugins. See the ``bzrlib.api`` module for details.
 
1142
      (Robert Collins)
 
1143
 
 
1144
    * Remove unnecessary lock probes when acquiring a lockdir.
 
1145
      (Martin Pool)
 
1146
 
 
1147
    * ``bzr --version`` now shows the location of the bzr log file, which
 
1148
      is especially useful on Windows.  (Martin Pool)
 
1149
 
 
1150
    * -D now supports hooks to get debug tracing of hooks (though its currently
 
1151
      minimal in nature). (Robert Collins)
 
1152
 
 
1153
    * Long log format reports deltas on merge revisions. 
 
1154
      (John Arbash Meinel, Kent Gibson)
 
1155
 
 
1156
    * Make initial push over ftp more resilient. (John Arbash Meinel)
 
1157
 
 
1158
    * Print a summary of changes for update just like pull does.
 
1159
      (Daniel Watkins, #113990)
 
1160
 
 
1161
    * Add a -Dhpss option to trace smart protocol requests and responses.
 
1162
      (Andrew Bennetts)
 
1163
 
 
1164
  LIBRARY API BREAKS:
 
1165
 
 
1166
    * Testing cleanups - 
 
1167
      ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
1168
      to ``bzrlib.tests.repository_implementations``;
 
1169
      ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
1170
      to ``bzrlib.tests.interrepository_implementations``;
 
1171
      ``bzrlib.transport.TransportTestProviderAdapter`` has moved to 
 
1172
      ``bzrlib.tests.test_transport_implementations``.
 
1173
      ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
1174
      ``bzrlib.tests.branch_implementations``.
 
1175
      ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to 
 
1176
      ``bzrlib.tests.bzrdir_implementations``.
 
1177
      ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
1178
      to ``bzrlib.tests.interversionedfile_implementations``.
 
1179
      ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
1180
      ``bzrlib.tests.revisionstore_implementations``.
 
1181
      ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
1182
      ``bzrlib.tests.workingtree_implementations``.
 
1183
      These changes are an API break in the testing infrastructure only.
 
1184
      (Robert Collins)
 
1185
 
 
1186
    * Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
1187
 
 
1188
    * ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
1189
      win32. Callers of the function should do this and use the new
 
1190
      ``MutableTree.smart_add`` method instead. (Robert Collins)
 
1191
 
 
1192
    * ``bzrlib.add.glob_expand_for_win32`` is now
 
1193
      ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
1194
 
 
1195
    * ``bzrlib.add.FastPath`` is now private and moved to 
 
1196
      ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
1197
 
 
1198
    * ``LockDir.wait`` removed.  (Martin Pool)
 
1199
 
 
1200
    * The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
1201
      ``server_stopped`` hooks. The first parameter is now an iterable of
 
1202
      backing URLs rather than a single URL. This is to reflect that many
 
1203
      URLs may map to the external URL of the server. E.g. the server interally
 
1204
      may have a chrooted URL but also the local file:// URL will be at the 
 
1205
      same location. (Robert Collins)
 
1206
 
 
1207
  INTERNALS:
 
1208
 
 
1209
    * New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
1210
 
 
1211
    * Fix documentation of BzrError. (Adeodato Simó)
 
1212
 
 
1213
    * Make BzrBadParameter an internal error. (Adeodato Simó)
 
1214
 
 
1215
    * Remove use of 'assert False' to raise an exception unconditionally.
 
1216
      (Martin Pool)
 
1217
 
 
1218
    * Give a cleaner error when failing to decode knit index entry.
 
1219
      (Martin Pool)
 
1220
 
 
1221
    * TreeConfig would mistakenly search the top level when asked for options
 
1222
      from a section. It now respects the section argument and only
 
1223
      searches the specified section. (James Westby)
 
1224
 
 
1225
    * Improve ``make api-docs`` output. (John Arbash Meinel)
 
1226
 
 
1227
    * Use os.lstat rather than os.stat for osutils.make_readonly and
 
1228
      osutils.make_writeable. This makes the difftools plugin more
 
1229
      robust when dangling symlinks are found. (Elliot Murphy)
 
1230
 
 
1231
    * New ``-Dlock`` option to log (to ~/.bzr.log) information on when 
 
1232
      lockdirs are taken or released.  (Martin Pool)
 
1233
 
 
1234
    * ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This 
 
1235
      allows a nicer UI when hooks are running as the current hook can
 
1236
      be displayed. (Robert Collins)
 
1237
 
 
1238
    * ``Transport.get`` has had its interface made more clear for ease of use.
 
1239
      Retrieval of a directory must now fail with either 'PathError' at open
 
1240
      time, or raise 'ReadError' on a read. (Robert Collins)
 
1241
 
 
1242
    * New method ``_maybe_expand_globs`` on the ``Command`` class for 
 
1243
      dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
1244
      was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
1245
 
 
1246
    * ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
1247
      deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
1248
      Martin Pool)
 
1249
 
 
1250
    * New method ``external_url`` on Transport for obtaining the url to
 
1251
      hand to external processes. (Robert Collins)
 
1252
 
 
1253
    * Teach windows installers to build pyrex/C extensions.
 
1254
      (Alexander Belchenko)
 
1255
 
 
1256
  TESTING:
 
1257
 
 
1258
    * Removed the ``--keep-output`` option from selftest and clean up test
 
1259
      directories as they're used.  This reduces the IO load from 
 
1260
      running the test suite and cuts the time by about half.
 
1261
      (Andrew Bennetts, Martin Pool)
 
1262
 
 
1263
    * Add scenarios as a public attribute on the TestAdapter classes to allow
 
1264
      modification of the generated scenarios before adaption and easier
 
1265
      testing. (Robert Collins)
 
1266
 
 
1267
    * New testing support class ``TestScenarioApplier`` which multiplies
 
1268
      out a single teste by a list of supplied scenarios. (RobertCollins)
 
1269
 
 
1270
    * Setting ``repository_to_test_repository`` on a repository_implementations
 
1271
      test will cause it to be called during repository creation, allowing the
 
1272
      testing of repository classes which are not based around the Format
 
1273
      concept. For example a repository adapter can be tested in this manner,
 
1274
      by altering the repository scenarios to include a scenario that sets this
 
1275
      attribute during the test parameterisation in
 
1276
      ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
1277
 
 
1278
    * Clean up many of the APIs for blackbox testing of Bazaar.  The standard 
 
1279
      interface is now self.run_bzr.  The command to run can be passed as
 
1280
      either a list of parameters, a string containing the command line, or
 
1281
      (deprecated) varargs parameters.  (Martin Pool)
 
1282
 
 
1283
    * The base TestCase now isolates tests from -D parameters by clearing
 
1284
      ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
1285
 
 
1286
    * Add a relpath parameter to get_transport methods in test framework to
 
1287
      avoid useless cloning.
 
1288
      (Vincent Ladeuil, #110448)
 
1289
 
 
1290
 
 
1291
bzr 0.17  2007-06-18
 
1292
====================
 
1293
 
 
1294
  BUGFIXES:
 
1295
 
 
1296
    * Fix crash of commit due to wrong lookup of filesystem encoding.
 
1297
      (Colin Watson, #120647)
 
1298
 
 
1299
    * Revert logging just to stderr in commit as broke unicode filenames.
 
1300
      (Aaron Bentley, Ian Clatworthy, #120930)
 
1301
 
 
1302
 
 
1303
bzr 0.17rc1  2007-06-12
 
1304
=======================
 
1305
 
 
1306
  NOTES WHEN UPGRADING:
 
1307
 
 
1308
    * The kind() and is_executable() APIs on the WorkingTree interface no
 
1309
      longer implicitly (read) locks and unlocks the tree. This *might*
 
1310
      impact some plug-ins and tools using this part of the API. If you find
 
1311
      an issue that may be caused by this change, please let us know,
 
1312
      particularly the plug-in/tool maintainer. If encountered, the API
 
1313
      fix is to surround kind() and is_executable() calls with lock_read()
 
1314
      and unlock() like so::
 
1315
 
 
1316
        work_tree.lock_read()
 
1317
        try:
 
1318
            kind = work_tree.kind(...)
 
1319
        finally:
 
1320
            work_tree.unlock()
 
1321
 
 
1322
  INTERNALS:
 
1323
    * Rework of LogFormatter API to provide beginning/end of log hooks and to
 
1324
      encapsulate the details of the revision to be logged in a LogRevision
 
1325
      object.
 
1326
      In long log formats, merge revision ids are only shown when --show-ids
 
1327
      is specified, and are labelled "revision-id:", as per mainline
 
1328
      revisions, instead of "merged:". (Kent Gibson)
 
1329
 
 
1330
    * New ``BranchBuilder`` API which allows the construction of particular
 
1331
      histories quickly. Useful for testing and potentially other applications
 
1332
      too. (Robert Collins)
 
1333
 
 
1334
  IMPROVEMENTS:
 
1335
  
 
1336
    * There are two new help topics, working-trees and repositories that
 
1337
      attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
1338
      Aaron Bentley)
 
1339
 
 
1340
    * Added ``bzr log --limit`` to report a limited number of revisions.
 
1341
      (Kent Gibson, #3659)
 
1342
 
 
1343
    * Revert does not try to preserve file contents that were originally
 
1344
      produced by reverting to a historical revision.  (Aaron Bentley)
 
1345
 
 
1346
    * ``bzr log --short`` now includes ``[merge]`` for revisions which
 
1347
      have more than one parent. This is a small improvement to help
 
1348
      understanding what changes have occurred
 
1349
      (John Arbash Meinel, #83887)
 
1350
 
 
1351
    * TreeTransform avoids many renames when contructing large trees,
 
1352
      improving speed.  3.25x speedups have been observed for construction of
 
1353
      kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
1354
 
 
1355
    * Commit on large trees is now faster. In my environment, a commit of
 
1356
      a small change to the Mozilla tree (55k files) has dropped from
 
1357
      66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
1358
      small change is 33% faster. (Ian Clatworthy)
 
1359
 
 
1360
    * New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
1361
      #56322)
 
1362
 
 
1363
  BUGFIXES:
 
1364
 
 
1365
    * ``bzr push`` should only connect to the remote location one time.
 
1366
      We have been connecting 3 times because we forget to pass around
 
1367
      the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
1368
      that we can pass in the Transport that we already have.
 
1369
      (John Arbash Meinel, #75721)
 
1370
 
 
1371
    * ``DirState.set_state_from_inventory()`` needs to properly order
 
1372
      based on split paths, not just string paths.
 
1373
      (John Arbash Meinel, #115947)
 
1374
 
 
1375
    * Let TestUIFactoy encode the password prompt with its own stdout.
 
1376
      (Vincent Ladeuil, #110204)
 
1377
 
 
1378
    * pycurl should take use the range header that takes the range hint
 
1379
      into account.
 
1380
      (Vincent Ladeuil, #112719)
 
1381
 
 
1382
    * WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
1383
      on a missing file.  (Aaron Bentley, #118186)
 
1384
 
 
1385
    * WorkingTree.remove works correctly with tree references, and when pwd is
 
1386
      not the tree root. (Aaron Bentley)
 
1387
 
 
1388
    * Merge no longer fails when a file is renamed in one tree and deleted
 
1389
      in the other. (Aaron Bentley, #110279)
 
1390
 
 
1391
    * ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
1392
      and defaults to the last revision (Matthew Fuller, #90048)
 
1393
 
 
1394
    * Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
1395
      (Daniel Watkins, #111958)
 
1396
 
 
1397
    * ``bzr branch -r revid:foo`` can be used to branch any revision in
 
1398
      your repository. (Previously Branch6 only supported revisions in your
 
1399
      mainline). (John Arbash Meinel, #115343)
 
1400
 
 
1401
bzr 0.16  2007-05-07
 
1402
====================
 
1403
  
 
1404
  BUGFIXES:
 
1405
 
 
1406
    * Handle when you have 2 directories with similar names, but one has a
 
1407
      hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
1408
      iterator was using direct comparison and ``'abc/a'`` sorts after
 
1409
      ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
1410
      (John Arbash Meinel, #111227)
 
1411
 
 
1412
    * Handle when someone renames a file on disk without telling bzr.
 
1413
      Previously we would report the first file as missing, but not show
 
1414
      the new unknown file. (John Arbash Meinel, #111288)
 
1415
 
 
1416
    * Avoid error when running hooks after pulling into or pushing from
 
1417
      a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
1418
 
 
1419
  IMPROVEMENTS:
 
1420
 
 
1421
    * Move developer documentation to doc/developers/. This reduces clutter in
 
1422
      the root of the source tree and allows HACKING to be split into multiple
 
1423
      files. (Robert Collins, Alexander Belchenko)
 
1424
 
 
1425
    * Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
1426
      ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
1427
      diff`` and ``bzr status`` significantly improving the speed of
 
1428
      both. (John Arbash Meinel)
 
1429
 
 
1430
bzr 0.16rc2  2007-04-30
 
1431
=======================
 
1432
 
 
1433
  BUGFIXES:
 
1434
 
 
1435
    * Handle the case when you delete a file, and then rename another file
 
1436
      on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
1437
      status`` should show the removed file and an unknown file in its
 
1438
      place. (John Arbash Meinel, #109993)
 
1439
 
 
1440
    * Bundles properly read and write revision properties that have an
 
1441
      empty value. And when the value is not ASCII.
 
1442
      (John Arbash Meinel, #109613)
 
1443
 
 
1444
    * Fix the bzr commit message to be in text mode.
 
1445
      (Alexander Belchenko, #110901)
 
1446
 
 
1447
    * Also handle when you rename a file and create a file where it used
 
1448
      to be. (John Arbash Meinel, #110256)
 
1449
 
 
1450
    * ``WorkingTree4._iter_changes`` should not descend into unversioned
 
1451
      directories. (John Arbash Meinel, #110399)
 
1452
 
 
1453
bzr 0.16rc1  2007-04-26
 
1454
=======================
 
1455
 
 
1456
  NOTES WHEN UPGRADING:
 
1457
 
 
1458
    * ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
1459
      it could be recovered again.
 
1460
      This has been done for consistency with svn and the unix rm command.
 
1461
      The old ``remove`` behaviour has been retained in the new option
 
1462
      ``bzr remove --keep``, which will just stop versioning the file,
 
1463
      but not delete it.
 
1464
      ``bzr remove --force`` have been added which will always delete the
 
1465
      files.
 
1466
      ``bzr remove`` is also more verbose.
 
1467
      (Marius Kruger, #82602)
 
1468
 
 
1469
  IMPROVEMENTS:
 
1470
 
 
1471
    * Merge directives can now be supplied as input to `merge` and `pull`,
 
1472
      like bundles can.  (Aaron Bentley)
 
1473
 
 
1474
    * Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
1475
      pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
1476
      to continue.  This can be disabled by setting the environment variable
 
1477
      ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
1478
 
 
1479
    * selftest now supports --list-only to list tests instead of running
 
1480
      them. (Ian Clatworthy)
 
1481
 
 
1482
    * selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
1483
      tests with names that match that regular expression.
 
1484
      (Ian Clatworthy, #102679)
 
1485
 
 
1486
    * selftest now supports --randomize SEED to run tests in a random order.
 
1487
      SEED is typically the value 'now' meaning 'use the current time'.
 
1488
      (Ian Clatworthy, #102686)
 
1489
 
 
1490
    * New option ``--fixes`` to commit, which stores bug fixing annotations as
 
1491
      revision properties. Built-in support for Launchpad, Debian, Trac and
 
1492
      Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
1493
 
 
1494
    * New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
1495
      other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
1496
      Robert Collins)
 
1497
 
 
1498
    * ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
1499
      Pool)
 
1500
 
 
1501
    * ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
1502
      into using local variables instead of going through ``self._var``.
 
1503
      Improves the time to ``merge_sort`` a 10k revision graph by
 
1504
      approximately 40% (~700->400ms).  (John Arbash Meinel)
 
1505
 
 
1506
    * ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
1507
      (Robert Collins)
 
1508
 
 
1509
    * ``bzr help`` now provides cross references to other help topics using
 
1510
      the _see_also facility on command classes. Likewise the bzr_man
 
1511
      documentation, and the bzr.1 man page also include this information.
 
1512
      (Robert Collins)
 
1513
 
 
1514
    * Tags are now included in logs, that use the long log formatter. 
 
1515
      (Erik Bågfors, Alexander Belchenko)
 
1516
 
 
1517
    * ``bzr help`` provides a clearer message when a help topic cannot be
 
1518
      found. (Robert Collins, #107656)
 
1519
 
 
1520
    * ``bzr help`` now accepts optional prefixes for command help. The help
 
1521
      for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
1522
      as well as ``bzr help COMMANDNAME`` (which only works for commands 
 
1523
      where the name is not the same as a more general help topic). 
 
1524
      (Robert Collins)
 
1525
 
 
1526
    * ``bzr help PLUGINNAME`` will now return the module docstring from the
 
1527
      plugin PLUGINNAME. (Robert Collins, #50408)
 
1528
 
 
1529
    * New help topic ``urlspec`` which lists the availables transports.
 
1530
      (Goffredo Baroncelli)
 
1531
 
 
1532
    * doc/server.txt updated to document the default bzr:// port
 
1533
      and also update the blurb about the hpss' current status.
 
1534
      (Robert Collins, #107125).
 
1535
 
 
1536
    * ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
1537
      serve out to the local LAN (and anyone in the world that can reach the
 
1538
      machine running ``bzr serve``. (Robert Collins, #98918)
 
1539
 
 
1540
    * A new smart server protocol version has been added.  It prefixes requests
 
1541
      and responses with an explicit version identifier so that future protocol
 
1542
      revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
1543
 
 
1544
    * The bzr protocol version 2 indicates success or failure in every response
 
1545
      without depending on particular commands encoding that consistently,
 
1546
      allowing future client refactorings to be much more robust about error
 
1547
      handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
1548
 
 
1549
    * The smart protocol over HTTP client has been changed to always post to the
 
1550
      same ``.bzr/smart`` URL under the original location when it can.  This allows
 
1551
      HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
1552
      server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
1553
 
 
1554
    * digest authentication is now supported for proxies and HTTP by the urllib
 
1555
      based http implementation. Tested against Apache 2.0.55 and Squid
 
1556
      2.6.5. Basic and digest authentication are handled coherently for HTTP
 
1557
      and proxy: if the user is provided in the url (bzr command line for HTTP,
 
1558
      proxy environment variables for proxies), the password is prompted for
 
1559
      (only once). If the password is provided, it is taken into account. Once
 
1560
      the first authentication is successful, all further authentication
 
1561
      roundtrips are avoided by preventively setting the right authentication
 
1562
      header(s).
 
1563
      (Vincent Ladeuil).
 
1564
 
 
1565
  INTERNALS:
 
1566
 
 
1567
    * bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
1568
      code paths. (Robert Collins)
 
1569
 
 
1570
    * Change the format of chroot urls so that they can be safely manipulated
 
1571
      by generic url utilities without causing the resulting urls to have
 
1572
      escaped the chroot. A side effect of this is that creating a chroot
 
1573
      requires an explicit action using a ChrootServer.
 
1574
      (Robert Collins, Andrew Bennetts)
 
1575
 
 
1576
    * Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
1577
      rather than fixing bug #96847.  (Aaron Bentley)
 
1578
 
 
1579
    * ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
1580
      ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
1581
 
 
1582
    * Convenience method ``TestCase.expectFailure`` ensures that known failures
 
1583
      do not silently pass.  (Aaron Bentley)
 
1584
 
 
1585
    * ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than 
 
1586
      ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
1587
 
 
1588
    * New SmartServer hooks facility. There are two initial hooks documented
 
1589
      in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
1590
      plugins to execute code upon server startup and shutdown.
 
1591
      (Robert Collins).
 
1592
 
 
1593
    * SmartServer in standalone mode will now close its listening socket
 
1594
      when it stops, rather than waiting for garbage collection. This primarily
 
1595
      fixes test suite hangs when a test tries to connect to a shutdown server.
 
1596
      It may also help improve behaviour when dealing with a server running
 
1597
      on a specific port (rather than dynamically assigned ports).
 
1598
      (Robert Collins)
 
1599
 
 
1600
    * Move most SmartServer code into a new package, bzrlib/smart.
 
1601
      bzrlib/transport/remote.py contains just the Transport classes that used
 
1602
      to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
1603
 
 
1604
    * urllib http implementation avoid roundtrips associated with
 
1605
      401 (and 407) errors once the authentication succeeds.
 
1606
      (Vincent Ladeuil).
 
1607
 
 
1608
    * urlib http now supports querying the user for a proxy password if
 
1609
      needed. Realm is shown in the prompt for both HTTP and proxy
 
1610
      authentication when the user is required to type a password. 
 
1611
      (Vincent Ladeuil).
 
1612
 
 
1613
    * Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
1614
      RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
1615
      consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
1616
      it's not really a "smart" transport, just one that does file operations
 
1617
      via remote procedure calls.  (Andrew Bennetts)
 
1618
 
 
1619
    * The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
1620
      ``Branch`` now accept a ``token`` keyword argument, so that separate
 
1621
      instances of those objects can share a lock if it has the right token.
 
1622
      (Andrew Bennetts, Robert Collins)
 
1623
 
 
1624
    * New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
1625
      branch references - which the smart server component needs.
 
1626
 
 
1627
    * The Repository API ``make_working_trees`` is now permitted to return
 
1628
      False when ``set_make_working_trees`` is not implemented - previously
 
1629
      an unimplemented ``set_make_working_trees`` implied the result True
 
1630
      from ``make_working_trees``. This has been changed to accomodate the
 
1631
      smart server, where it does not make sense (at this point) to ever
 
1632
      make working trees by default. (Robert Collins)
 
1633
 
 
1634
    * Command objects can now declare related help topics by having _see_also
 
1635
      set to a list of related topic. (Robert Collins)
 
1636
 
 
1637
    * ``bzrlib.help`` now delegates to the Command class for Command specific
 
1638
      help. (Robert Collins)
 
1639
 
 
1640
    * New class ``TransportListRegistry``, derived from the Registry class, which 
 
1641
      simplifies tracking the available Transports. (Goffredo Baroncelli)
 
1642
 
 
1643
    * New function ``Branch.get_revision_id_to_revno_map`` which will
 
1644
      return a dictionary mapping revision ids to dotted revnos. Since
 
1645
      dotted revnos are defined in the context of the branch tip, it makes
 
1646
      sense to generate them from a ``Branch`` object.
 
1647
      (John Arbash Meinel)
 
1648
 
 
1649
    * Fix the 'Unprintable error' message display to use the repr of the 
 
1650
      exception that prevented printing the error because the str value
 
1651
      for it is often not useful in debugging (e.g. KeyError('foo') has a
 
1652
      str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
1653
      useful. (Robert Collins)
 
1654
 
 
1655
    * ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
1656
      (Andrew Bennetts)
 
1657
 
 
1658
  BUGFIXES:
 
1659
 
 
1660
    * Don't fail bundle selftest if email has 'two' embedded.  
 
1661
      (Ian Clatworthy, #98510)
 
1662
 
 
1663
    * Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
1664
      (Robert Widhopf-Fenk, #98591)
 
1665
 
 
1666
    * Remove ``--basis`` from the checkout/branch commands - it didn't work
 
1667
      properly and is no longer beneficial.
 
1668
      (Robert Collins, #53675, #43486)
 
1669
 
 
1670
    * Don't produce encoding error when adding duplicate files.
 
1671
      (Aaron Bentley)
 
1672
 
 
1673
    * Fix ``bzr log <file>`` so it only logs the revisions that changed
 
1674
      the file, and does it faster.
 
1675
      (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
1676
 
 
1677
    * Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
1678
      an empty versioned directory, which now has files in it.
 
1679
      (John Arbash Meinel, #104257)
 
1680
 
 
1681
    * Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
1682
      inside the ancestry of the other. Saves a lot of graph processing
 
1683
      (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
1684
      changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
1685
 
 
1686
    * Fix ``show_diff_trees`` to handle the case when a file is modified,
 
1687
      and the containing directory is renamed. (The file path is different
 
1688
      in this versus base, but it isn't marked as a rename).
 
1689
      (John Arbash Meinel, #103870)
 
1690
 
 
1691
    * FTP now works even when the FTP server does not support atomic rename.
 
1692
      (Aaron Bentley, #89436)
 
1693
 
 
1694
    * Correct handling in bundles and merge directives of timezones with
 
1695
      that are not an integer number of hours offset from UTC.  Always 
 
1696
      represent the epoch time in UTC to avoid problems with formatting 
 
1697
      earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
1698
      Arbash Meinel)
 
1699
 
 
1700
    * Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
1701
 
 
1702
    * "dirstate" and "dirstate-tags" formats now produce branches compatible
 
1703
      with old versions of bzr. (Aaron Bentley, #107168))
 
1704
 
 
1705
    * Handle moving a directory when children have been added, removed,
 
1706
      and renamed. (John Arbash Meinel, #105479)
 
1707
 
 
1708
    * Don't preventively use basic authentication for proxy before receiving a
 
1709
      407 error. Otherwise people willing to use other authentication schemes
 
1710
      may expose their password in the clear (or nearly). This add one
 
1711
      roundtrip in case basic authentication should be used, but plug the
 
1712
      security hole.
 
1713
      (Vincent Ladeuil)
 
1714
 
 
1715
    * Handle http and proxy digest authentication.
 
1716
      (Vincent Ladeuil, #94034).
 
1717
 
 
1718
  TESTING:
 
1719
 
 
1720
    * Added ``bzrlib.strace.strace`` which will strace a single callable and
 
1721
      return a StraceResult object which contains just the syscalls involved
 
1722
      in running it. (Robert Collins)
 
1723
 
 
1724
    * New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
1725
      default time down to one suitable for tests. (Andrew Bennetts)
 
1726
 
 
1727
    * Add new ``vfs_transport_factory`` attribute on tests which provides the 
 
1728
      common vfs backing for both the readonly and readwrite transports.
 
1729
      This allows the RemoteObject tests to back onto local disk or memory,
 
1730
      and use the existing ``transport_server`` attribute all tests know about
 
1731
      to be the smart server transport. This in turn allows tests to 
 
1732
      differentiate between 'transport to access the branch', and 
 
1733
      'transport which is a VFS' - which matters in Remote* tests.
 
1734
      (Robert Collins, Andrew Bennetts)
 
1735
 
 
1736
    * The ``make_branch_and_tree`` method for tests will now create a 
 
1737
      lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
1738
      a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
1739
 
 
1740
    * Branch implementation tests have been audited to ensure that all urls 
 
1741
      passed to Branch APIs use proper urls, except when local-disk paths
 
1742
      are intended. This is so that tests correctly access the test transport
 
1743
      which is often not equivalent to local disk in Remote* tests. As part
 
1744
      of this many tests were adjusted to remove dependencies on local disk
 
1745
      access.
 
1746
      (Robert Collins, Andrew Bennetts)
 
1747
 
 
1748
    * Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
1749
      functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
1750
      Andrew Bennetts, Martin Pool, Jonathan Lange)
 
1751
 
 
1752
    * Refactored proxy and authentication handling to simplify the
 
1753
      implementation of new auth schemes for both http and proxy. 
 
1754
      (Vincent Ladeuil)
 
1755
 
 
1756
bzr 0.15 2007-04-01
 
1757
===================
 
1758
 
 
1759
  BUGFIXES:
 
1760
 
 
1761
    * Handle incompatible repositories as a user issue when fetching.
 
1762
      (Aaron Bentley)
 
1763
 
 
1764
    * Don't give a recommendation to upgrade when branching or 
 
1765
      checking out a branch that contains an old-format working tree.
 
1766
      (Martin Pool)
 
1767
 
 
1768
bzr 0.15rc3  2007-03-26
 
1769
=======================
 
1770
 
 
1771
  CHANGES:
 
1772
 
 
1773
    * A warning is now displayed when opening working trees in older 
 
1774
      formats, to encourage people to upgrade to WorkingTreeFormat4.
 
1775
      (Martin Pool)
 
1776
 
 
1777
  IMPROVEMENTS:
 
1778
 
 
1779
    * HTTP redirections are now taken into account when a branch (or a
 
1780
      bundle) is accessed for the first time. A message is issued at each
 
1781
      redirection to inform the user. In the past, http redirections were
 
1782
      silently followed for each request which significantly degraded the
 
1783
      performances. The http redirections are not followed anymore by
 
1784
      default, instead a RedirectRequested exception is raised. For bzrlib
 
1785
      users needing to follow http redirections anyway,
 
1786
      ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
1787
      path.  (vila)
 
1788
 
 
1789
  INTERNALS:
 
1790
 
 
1791
    * Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
1792
      lock to an OS write lock. Linux can do this without unlocking, Win32
 
1793
      needs to unlock in between. (John Arbash Meinel)
 
1794
 
 
1795
    * New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
1796
      to silence (when false) warnings about opening old formats.
 
1797
      (Martin Pool)
 
1798
 
 
1799
    * Fix minor performance regression with bzr-0.15 on pre-dirstate
 
1800
      trees. (We were reading the working inventory too many times).
 
1801
      (John Arbash Meinel)
 
1802
 
 
1803
    * Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
1804
      ``revision_history``.  Branch subclasses should override
 
1805
      ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
1806
      this cache, and call ``_clear_revision_history_cache`` and
 
1807
      ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
1808
 
 
1809
  BUGFIXES:
 
1810
 
 
1811
    * Take ``smtp_server`` from user config into account.
 
1812
      (vila, #92195)
 
1813
 
 
1814
    * Restore Unicode filename handling for versioned and unversioned files.
 
1815
      (John Arbash Meinel, #92608)
 
1816
 
 
1817
    * Don't fail during ``bzr commit`` if a file is marked removed, and
 
1818
      the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
1819
 
 
1820
    * ``bzr status FILENAME`` failed on Windows because of an uncommon
 
1821
      errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
1822
      (Wouter van Heyst, John Arbash Meinel, #90819)
 
1823
 
 
1824
    * ``bzr checkout source`` should create a local branch in the same
 
1825
      format as source. (John Arbash Meinel, #93854)
 
1826
 
 
1827
    * ``bzr commit`` with a kind change was failing to update the
 
1828
      last-changed-revision for directories.  The
 
1829
      InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
1830
      ignoring the fact that the kind could have changed, too.
 
1831
      (John Arbash Meinel, #90111)
 
1832
 
 
1833
    * ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
1834
      the directory. So that there was a chance it would break commit,
 
1835
      etc. (John Arbash Meinel, #94037)
 
1836
 
 
1837
    * Correctly handles mutiple permanent http redirections.
 
1838
      (vila, #88780)
 
1839
 
 
1840
bzr 0.15rc2  2007-03-14
 
1841
=======================
 
1842
 
 
1843
  NOTES WHEN UPGRADING:
 
1844
        
 
1845
    * Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
1846
      default to ``--trees`` instead of ``--no-trees``.
 
1847
      Existing shared repositories are not affected.
 
1848
 
 
1849
  IMPROVEMENTS:
 
1850
 
 
1851
    * New ``merge-directive`` command to generate machine- and human-readable
 
1852
      merge requests.  (Aaron Bentley)
 
1853
 
 
1854
    * New ``submit:`` revision specifier makes it easy to diff against the
 
1855
      common ancestor with the submit location (Aaron Bentley)
 
1856
 
 
1857
    * Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
1858
 
 
1859
    * Added ``bzr status --versioned`` to report only versioned files, 
 
1860
      not unknowns. (Kent Gibson)
 
1861
 
 
1862
    * Merge now autodetects the correct line-ending style for its conflict
 
1863
      markers.  (Aaron Bentley)
 
1864
 
 
1865
  INTERNALS:
 
1866
 
 
1867
    * Refactored SSH vendor registration into SSHVendorManager class.
 
1868
      (Dmitry Vasiliev)
 
1869
 
 
1870
  BUGFIXES:
 
1871
 
 
1872
    * New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
1873
      numbered dirs for TestCaseInTempDir. This is default behavior
 
1874
      on Windows. Anyone can force named dirs on Windows
 
1875
      with ``--no-numbered-dirs``. (Alexander Belchenko)
 
1876
 
 
1877
    * Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
1878
      from the command line. (Marien Zwart, #90501)
 
1879
 
 
1880
    * Fix ``TreeTransform._iter_changes`` when both the source and
 
1881
      destination are missing. (Aaron Bentley, #88842)
 
1882
 
 
1883
    * Fix commit of merges with symlinks in dirstate trees.
 
1884
      (Marien Zwart)
 
1885
    
 
1886
    * Switch the ``bzr init-repo`` default from --no-trees to --trees. 
 
1887
      (Wouter van Heyst, #53483)
 
1888
 
 
1889
 
 
1890
bzr 0.15rc1  2007-03-07
 
1891
=======================
 
1892
 
 
1893
  SURPRISES:
 
1894
 
 
1895
    * The default disk format has changed. Please run 'bzr upgrade' in your
 
1896
      working trees to upgrade. This new default is compatible for network
 
1897
      operations, but not for local operations. That is, if you have two
 
1898
      versions of bzr installed locally, after upgrading you can only use the
 
1899
      bzr 0.15 version. This new default does not enable tags or nested-trees
 
1900
      as they are incompatible with bzr versions before 0.15 over the network.
 
1901
 
 
1902
    * For users of bzrlib: Two major changes have been made to the working tree
 
1903
      api in bzrlib. The first is that many methods and attributes, including
 
1904
      the inventory attribute, are no longer valid for use until one of
 
1905
      ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
1906
      and become invalid again after unlock is called. This has been done
 
1907
      to improve performance and correctness as part of the dirstate
 
1908
      development.
 
1909
      (Robert Collins, John A Meinel, Martin Pool, and others).
 
1910
 
 
1911
    * For users of bzrlib: The attribute 'tree.inventory' should be considered
 
1912
      readonly. Previously it was possible to directly alter this attribute, or
 
1913
      its contents, and have the tree notice this. This has been made
 
1914
      unsupported - it may work in some tree formats, but in the newer dirstate
 
1915
      format such actions will have no effect and will be ignored, or even
 
1916
      cause assertions. All operations possible can still be carried out by a
 
1917
      combination of the tree API, and the bzrlib.transform API. (Robert
 
1918
      Collins, John A Meinel, Martin Pool, and others).
 
1919
 
 
1920
  IMPROVEMENTS:
 
1921
 
 
1922
    * Support for OS Windows 98. Also .bzr.log on any windows system
 
1923
      saved in My Documents folder. (Alexander Belchenko)
 
1924
 
 
1925
    * ``bzr mv`` enhanced to support already moved files.
 
1926
      In the past the mv command would have failed if the source file doesn't
 
1927
      exist. In this situation ``bzr mv`` would now detect that the file has
 
1928
      already moved and update the repository accordingly, if the target file
 
1929
      does exist.
 
1930
      A new option ``--after`` has been added so that if two files already
 
1931
      exist, you could notify Bazaar that you have moved a (versioned) file
 
1932
      and replaced it with another. Thus in this case ``bzr move --after``
 
1933
      will only update the Bazaar identifier.
 
1934
      (Steffen Eichenberg, Marius Kruger)
 
1935
 
 
1936
    * ``ls`` now works on treeless branches and remote branches.
 
1937
      (Aaron Bentley)
 
1938
 
 
1939
    * ``bzr help global-options`` describes the global options.
 
1940
      (Aaron Bentley)
 
1941
 
 
1942
    * ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
1943
      (Robert Collins)
 
1944
 
 
1945
    * Files are now allowed to change kind (e.g. from file to symlink).
 
1946
      Supported by ``commit``, ``revert`` and ``status``
 
1947
      (Aaron Bentley)
 
1948
 
 
1949
    * ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
1950
      (Aaron Bentley)
 
1951
 
 
1952
    * ``bzr help checkouts`` descibes what checkouts are and some possible
 
1953
      uses of them. (James Westby, Aaron Bentley)
 
1954
 
 
1955
    * A new ``-d`` option to push, pull and merge overrides the default 
 
1956
      directory.  (Martin Pool)
 
1957
 
 
1958
    * Branch format 6: smaller, and potentially faster than format 5.  Supports
 
1959
      ``append_history_only`` mode, where the log view and revnos do not change,
 
1960
      except by being added to.  Stores policy settings in
 
1961
      ".bzr/branch/branch.conf".
 
1962
 
 
1963
    * ``append_only`` branches:  Format 6 branches may be configured so that log
 
1964
      view and revnos are always consistent.  Either create the branch using
 
1965
      "bzr init --append-revisions-only" or edit the config file as descriped
 
1966
      in docs/configuration.txt.
 
1967
 
 
1968
    * rebind: Format 6 branches retain the last-used bind location, so if you
 
1969
      "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
1970
      bind location.
 
1971
 
 
1972
    * Builtin tags support, created and deleted by the ``tag`` command and
 
1973
      stored in the branch.  Tags can be accessed with the revisionspec
 
1974
      ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned 
 
1975
      at present. Tags require a network incompatible upgrade. To perform this
 
1976
      upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
1977
      repositories. (Martin Pool)
 
1978
 
 
1979
    * The ``bzr://`` transport now has a well-known port number, 4155,
 
1980
      which it will use by default.  (Andrew Bennetts, Martin Pool)
 
1981
 
 
1982
    * Bazaar now looks for user-installed plugins before looking for site-wide
 
1983
      plugins. (Jonathan Lange)
 
1984
 
 
1985
    * ``bzr resolve`` now detects and marks resolved text conflicts.
 
1986
      (Aaron Bentley)
 
1987
 
 
1988
  INTERNALS:
 
1989
 
 
1990
    * Internally revision ids and file ids are now passed around as utf-8
 
1991
      bytestrings, rather than treating them as Unicode strings. This has
 
1992
      performance benefits for Knits, since we no longer need to decode the
 
1993
      revision id for each line of content, nor for each entry in the index.
 
1994
      This will also help with the future dirstate format.
 
1995
      (John Arbash Meinel)
 
1996
 
 
1997
    * Reserved ids (any revision-id ending in a colon) are rejected by
 
1998
      versionedfiles, repositories, branches, and working trees
 
1999
      (Aaron Bentley)
 
2000
 
 
2001
    * Minor performance improvement by not creating a ProgressBar for
 
2002
      every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
2003
      (John Arbash Meinel)
 
2004
 
 
2005
    * New easier to use Branch hooks facility. There are five initial hooks,
 
2006
      all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
2007
      ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
2008
      ``'post_uncommit'``. These hooks fire after the matching operation
 
2009
      on a branch has taken place, and were originally added for the
 
2010
      branchrss plugin. (Robert Collins)
 
2011
 
 
2012
    * New method ``Branch.push()`` which should be used when pushing from a
 
2013
      branch as it makes performance and policy decisions to match the UI
 
2014
      level command ``push``. (Robert Collins).
 
2015
 
 
2016
    * Add a new method ``Tree.revision_tree`` which allows access to cached
 
2017
      trees for arbitrary revisions. This allows the in development dirstate
 
2018
      tree format to provide access to the callers to cached copies of 
 
2019
      inventory data which are cheaper to access than inventories from the
 
2020
      repository.
 
2021
      (Robert Collins, Martin Pool)
 
2022
 
 
2023
    * New ``Branch.last_revision_info`` method, this is being done to allow
 
2024
      optimization of requests for both the number of revisions and the last
 
2025
      revision of a branch with smartservers and potentially future branch
 
2026
      formats. (Wouter van Heyst, Robert Collins)
 
2027
 
 
2028
    * Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
2029
      yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
2030
      other for code reuse without requiring users to perform file-renaming
 
2031
      gymnastics. (Robert Collins)
 
2032
 
 
2033
    * New Repository method ``'gather_stats'`` for statistic data collection.
 
2034
      This is expected to grow to cover a number of related uses mainly
 
2035
      related to bzr info. (Robert Collins)
 
2036
 
 
2037
    * Log formatters are now managed with a registry.
 
2038
      ``log.register_formatter`` continues to work, but callers accessing
 
2039
      the FORMATTERS dictionary directly will not.
 
2040
 
 
2041
    * Allow a start message to be passed to the ``edit_commit_message``
 
2042
      function.  This will be placed in the message offered to the user
 
2043
      for editing above the separator. It allows a template commit message
 
2044
      to be used more easily. (James Westby)
 
2045
 
 
2046
    * ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
2047
      you pass a Unicode string rather than an 8-bit string. Callers need
 
2048
      to be updated to encode first. (John Arbash Meinel)
 
2049
 
 
2050
    * Branch.push, pull, merge now return Result objects with information
 
2051
      about what happened, rather than a scattering of various methods.  These
 
2052
      are also passed to the post hooks.  (Martin Pool)
 
2053
 
 
2054
    * File formats and architecture is in place for managing a forest of trees
 
2055
      in bzr, and splitting up existing trees into smaller subtrees, and
 
2056
      finally joining trees to make a larger tree. This is the first iteration
 
2057
      of this support, and the user-facing aspects still require substantial
 
2058
      work.  If you wish to experiment with it, use ``bzr upgrade
 
2059
      --dirstate-with-subtree`` in your working trees and repositories.
 
2060
      You can use the hidden commands ``split`` and ``join`` and to create
 
2061
      and manipulate nested trees, but please consider using the nested-trees
 
2062
      branch, which contains substantial UI improvements, instead.
 
2063
      http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
2064
      (Aaron Bentley, Martin Pool, Robert Collins).
 
2065
 
 
2066
  BUGFIXES:
 
2067
 
 
2068
    * ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
2069
      branch, rather than the last changed revision of the file.
 
2070
      (John Arbash Meinel, #82158)
 
2071
 
 
2072
    * Lock operations no longer hang if they encounter a permission problem.
 
2073
      (Aaron Bentley)
 
2074
 
 
2075
    * ``bzr push`` can resume a push that was canceled before it finished.
 
2076
      Also, it can push even if the target directory exists if you supply
 
2077
      the ``--use-existing-dir`` flag.
 
2078
      (John Arbash Meinel, #30576, #45504)
 
2079
 
 
2080
    * Fix http proxy authentication when user and an optional
 
2081
      password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
2082
      #83954).
 
2083
 
 
2084
    * ``bzr log branch/file`` works for local treeless branches
 
2085
      (Aaron Bentley, #84247)
 
2086
 
 
2087
    * Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
2088
 
 
2089
    * Searching location of CA bundle for PyCurl in env variable
 
2090
      (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
2091
      (Alexander Belchenko, #82086)
 
2092
 
 
2093
    * ``bzr init`` works with unicode argument LOCATION.
 
2094
      (Alexander Belchenko, #85599)
 
2095
 
 
2096
    * Raise ``DependencyNotPresent`` if pycurl do not support https. 
 
2097
      (Vincent Ladeuil, #85305)
 
2098
 
 
2099
    * Invalid proxy env variables should not cause a traceback.
 
2100
      (Vincent Ladeuil, #87765)
 
2101
 
 
2102
    * Ignore patterns normalised to use '/' path separator.
 
2103
      (Kent Gibson, #86451)
 
2104
 
 
2105
    * bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
2106
 
 
2107
    * Fix bzrtools shelve command for removed lines beginning with "--"
 
2108
      (Johan Dahlberg, #75577)
 
2109
 
 
2110
  TESTING:
 
2111
 
 
2112
    * New ``--first`` option to ``bzr selftest`` to run specified tests
 
2113
      before the rest of the suite.  (Martin Pool)
 
2114
 
 
2115
 
 
2116
bzr 0.14  2007-01-23
 
2117
====================
 
2118
 
 
2119
  IMPROVEMENTS:
 
2120
 
 
2121
    * ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
2122
 
 
2123
  BUG FIXES:
 
2124
    
 
2125
    * Skip documentation generation tests if the tools to do so are not
 
2126
      available. Fixes running selftest for installled copies of bzr. 
 
2127
      (John Arbash Meinel, #80330)
 
2128
 
 
2129
    * Fix the code that discovers whether bzr is being run from it's
 
2130
      working tree to handle the case when it isn't but the directory
 
2131
      it is in is below a repository. (James Westby, #77306)
 
2132
 
 
2133
 
 
2134
bzr 0.14rc1  2007-01-16
 
2135
=======================
 
2136
 
 
2137
  IMPROVEMENTS:
 
2138
 
 
2139
    * New connection: ``bzr+http://`` which supports tunnelling the smart
 
2140
      protocol over an HTTP connection. If writing is enabled on the bzr
 
2141
      server, then you can write over the http connection.
 
2142
      (Andrew Bennetts, John Arbash Meinel)
 
2143
 
 
2144
    * Aliases now support quotation marks, so they can contain whitespace
 
2145
      (Marius Kruger)
 
2146
 
 
2147
    * PyCurlTransport now use a single curl object. By specifying explicitly
 
2148
      the 'Range' header, we avoid the need to use two different curl objects
 
2149
      (and two connections to the same server). (Vincent Ladeuil)
 
2150
 
 
2151
    * ``bzr commit`` does not prompt for a message until it is very likely to
 
2152
      succeed.  (Aaron Bentley)
 
2153
 
 
2154
    * ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
2155
      (Aaron Bentley)
 
2156
 
 
2157
    * Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
2158
      of a list while checking if a revision id was requested. Takes 10s
 
2159
      off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
2160
      of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
2161
      filtering lines with a regex rather than multiple ``str.find()``
 
2162
      calls. (saves another 300ms) (John Arbash Meinel)
 
2163
 
 
2164
    * Policy can be set for each configuration key. This allows keys to be
 
2165
      inherited properly across configuration entries. For example, this
 
2166
      should enable you to do::
 
2167
        
 
2168
        [/home/user/project]
 
2169
        push_location = sftp://host/srv/project/
 
2170
        push_location:policy = appendpath
 
2171
 
 
2172
      And then a branch like ``/home/user/project/mybranch`` should get an
 
2173
      automatic push location of ``sftp://host/srv/project/mybranch``.
 
2174
      (James Henstridge)
 
2175
 
 
2176
    * Added ``bzr status --short`` to make status report svn style flags
 
2177
      for each file.  For example::
 
2178
 
 
2179
        $ bzr status --short
 
2180
        A  foo
 
2181
        A  bar
 
2182
        D  baz
 
2183
        ?  wooley
 
2184
 
 
2185
    * 'bzr selftest --clean-output' allows easily clean temporary tests 
 
2186
      directories without running tests. (Alexander Belchenko)
 
2187
 
 
2188
    * ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
2189
 
 
2190
    * ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
2191
      local is fully merged into remote. (Jan Hudec)
 
2192
 
 
2193
    * ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
2194
 
 
2195
  INTERNALS:
 
2196
 
 
2197
    * A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
2198
      help speed up processing, as well allowing to extract unannotated
 
2199
      lines. Between the two ``fileids_affected_by_revision_ids`` is
 
2200
      improved by approx 10%. (John Arbash Meinel)
 
2201
 
 
2202
    * Change Revision serialization to only write out millisecond
 
2203
      resolution. Rather than expecting floating point serialization to
 
2204
      preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
2205
 
 
2206
    * Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
2207
 
 
2208
    * When ``encoding_type`` attribute of class Command is equal to 'exact', 
 
2209
      force sys.stdout to be a binary stream on Windows, and therefore
 
2210
      keep exact line-endings (without LF -> CRLF conversion).
 
2211
      (Alexander Belchenko)
 
2212
 
 
2213
    * Single-letter short options are no longer globally declared.  (Martin
 
2214
      Pool)
 
2215
 
 
2216
    * Before using detected user/terminal encoding bzr should check
 
2217
      that Python has corresponding codec. (Alexander Belchenko)
 
2218
 
 
2219
    * Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
2220
 
 
2221
  BUG FIXES:
 
2222
 
 
2223
    * ``bzr missing --verbose`` was showing adds/removals in the wrong
 
2224
      direction. (John Arbash Meinel)
 
2225
 
 
2226
    * ``bzr annotate`` now defaults to showing dotted revnos for merged
 
2227
      revisions. It cuts them off at a depth of 12 characters, but you can
 
2228
      supply ``--long`` to see the full number. You can also use
 
2229
      ``--show-ids`` to display the original revision ids, rather than
 
2230
      revision numbers and committer names. (John Arbash Meinel, #75637)
 
2231
 
 
2232
    * bzr now supports Win32 UNC path (e.g. ``\HOST\path``. 
 
2233
      (Alexander Belchenko, #57869)
 
2234
 
 
2235
    * Win32-specific: output of cat, bundle and diff commands don't mangle
 
2236
      line-endings (Alexander Belchenko, #55276)
 
2237
 
 
2238
    * Replace broken fnmatch based ignore pattern matching with custom pattern
 
2239
      matcher.
 
2240
      (Kent Gibson, Jan Hudec #57637)
 
2241
 
 
2242
    * pycurl and urllib can detect short reads at different places. Update
 
2243
      the test suite to test more cases. Also detect http error code 416
 
2244
      which was raised for that specific bug. Also enhance the urllib
 
2245
      robustness by detecting invalid ranges (and pycurl's one by detecting
 
2246
      short reads during the initial GET). (Vincent Ladeuil, #73948)
 
2247
 
 
2248
    * The urllib connection sharing interacts badly with urllib2
 
2249
      proxy setting (the connections didn't go thru the proxy
 
2250
      anymore). Defining a proper ProxyHandler solves the
 
2251
      problem.  (Vincent Ladeuil, #74759)
 
2252
 
 
2253
    * Use urlutils to generate relative URLs, not osutils 
 
2254
      (Aaron Bentley, #76229)
 
2255
 
 
2256
    * ``bzr status`` in a readonly directory should work without giving
 
2257
      lots of errors. (John Arbash Meinel, #76299)
 
2258
 
 
2259
    * Mention the revisionspec topic for the revision option help.
 
2260
      (Wouter van Heyst, #31663)
 
2261
 
 
2262
    * Allow plugins import from zip archives.
 
2263
      (Alexander Belchenko, #68124)
 
2264
 
 
2265
 
 
2266
bzr 0.13  2006-12-05
 
2267
====================
 
2268
    
 
2269
  No changes from 0.13rc1
 
2270
    
 
2271
bzr 0.13rc1  2006-11-27
 
2272
=======================
 
2273
 
 
2274
  IMPROVEMENTS:
 
2275
 
 
2276
    * New command ``bzr remove-tree`` allows the removal of the working
 
2277
      tree from a branch.
 
2278
      (Daniel Silverstone)
 
2279
 
 
2280
    * urllib uses shared keep-alive connections, so http 
 
2281
      operations are substantially faster.
 
2282
      (Vincent Ladeuil, #53654)
 
2283
 
 
2284
    * ``bzr export`` allows an optional branch parameter, to export a bzr
 
2285
      tree from some other url. For example:
 
2286
      ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
2287
      (Daniel Silverstone)
 
2288
 
 
2289
    * Added ``bzr help topics`` to the bzr help system. This gives a
 
2290
      location for general information, outside of a specific command.
 
2291
      This includes updates for ``bzr help revisionspec`` the first topic
 
2292
      included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
2293
 
 
2294
    * WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
2295
      (Andrew Bennetts)
 
2296
 
 
2297
    * Knit files will now cache full texts only when the size of the
 
2298
      deltas is as large as the size of the fulltext. (Or after 200
 
2299
      deltas, whichever comes first). This has the most benefit on large
 
2300
      files with small changes, such as the inventory for a large project.
 
2301
      (eg For a project with 2500 files, and 7500 revisions, it changes
 
2302
      the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
2303
 
 
2304
  INTERNALS:
 
2305
 
 
2306
    * New -D option given before the command line turns on debugging output
 
2307
      for particular areas.  -Derror shows tracebacks on all errors.
 
2308
      (Martin Pool)
 
2309
 
 
2310
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
2311
      and remove benchmarks that take longer than 10min to run.
 
2312
      (John Arbash Meinel)
 
2313
 
 
2314
    * Use ``time.time()`` instead of ``time.clock()`` to decide on
 
2315
      progress throttling. Because ``time.clock()`` is actually CPU time,
 
2316
      so over a high-latency connection, too many updates get throttled.
 
2317
      (John Arbash Meinel)
 
2318
 
 
2319
    * ``MemoryTransport.list_dir()`` would strip the first character for
 
2320
      files or directories in root directory. (John Arbash Meinel)
 
2321
 
 
2322
    * New method ``get_branch_reference`` on 'BzrDir' allows the detection of 
 
2323
      branch references - which the smart server component needs.
 
2324
  
 
2325
    * New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
2326
      prefix.  It disallows any access to locations above a set URL.  (Andrew
 
2327
      Bennetts)
 
2328
 
 
2329
  BUG FIXES:
 
2330
 
 
2331
    * Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
2332
      And optimize the knit index parsing code. 
 
2333
      (Dmitry Vasiliev, John Arbash Meinel)
 
2334
 
 
2335
    * ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
2336
      without importing it. This prevented ``bzr upgrade`` from working
 
2337
      unless a plugin already imported ``bzrlib.workingtree``
 
2338
      (John Arbash Meinel, #70716)
 
2339
 
 
2340
    * Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
2341
 
 
2342
    * Give nicer error message when an http server returns a 403
 
2343
      error code. (Vincent Ladeuil, #57644).
 
2344
 
 
2345
    * When a multi-range http GET request fails, try a single
 
2346
      range one. If it fails too, forget about ranges. Remember that until 
 
2347
      the death of the transport and propagates that to the clones.
 
2348
      (Vincent Ladeuil, #62276, #62029).
 
2349
 
 
2350
    * Handles user/passwords supplied in url from command
 
2351
      line (for the urllib implementation). Don't request already
 
2352
      known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
2353
 
 
2354
    * ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
2355
      are added. This fixes bug where fetching remote revisions records
 
2356
      them as full references rather than integers.
 
2357
      (John Arbash Meinel, #64789)
 
2358
 
 
2359
    * ``bzr ignore`` strips trailing slashes in patterns.
 
2360
      Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
2361
 
 
2362
    * ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
2363
 
 
2364
    * mv correctly handles paths that traverse symlinks. 
 
2365
      (Aaron Bentley, #66964)
 
2366
 
 
2367
    * Give nicer looking error messages when failing to connect over ssh.
 
2368
      (John Arbash Meinel, #49172)
 
2369
 
 
2370
    * Pushing to a remote branch does not currently update the remote working
 
2371
      tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
2372
      machine now show that the working tree is out of date.
 
2373
      (Cheuksan Edward Wang #48136)
 
2374
 
 
2375
    * Use patiencediff instead of difflib for determining deltas to insert
 
2376
      into knits. This avoids the O(N^3) behavior of difflib. Patience
 
2377
      diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
2378
 
 
2379
    * Running ``bzr log`` on nonexistent file gives an error instead of the
 
2380
      entire log history. (Cheuksan Edward Wang #50793)
 
2381
 
 
2382
    * ``bzr cat`` can look up contents of removed or renamed files. If the
 
2383
      pathname is ambiguous, i.e. the files in the old and new trees have
 
2384
      different id's, the default is the file in the new tree. The user can
 
2385
      use "--name-from-revision" to select the file in the old tree.
 
2386
      (Cheuksan Edward Wang, #30190)
 
2387
 
 
2388
  TESTING:
 
2389
 
 
2390
    * TestingHTTPRequestHandler really handles the Range header
 
2391
      (previously it was ignoring it and returning the whole file,).
 
2392
 
 
2393
bzr 0.12  2006-10-30
 
2394
====================
 
2395
 
 
2396
  INTERNALS:
 
2397
 
 
2398
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
2399
      and remove benchmarks that take longer than 10min to run.
 
2400
      (John Arbash Meinel)
 
2401
  
 
2402
bzr 0.12rc1  2006-10-23
 
2403
=======================
 
2404
 
 
2405
  IMPROVEMENTS:
 
2406
 
 
2407
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
2408
      rather than just showing a decimal revision number for revisions on the
 
2409
      mainline. These revision numbers are not yet accepted as input into bzr
 
2410
      commands such as log, diff etc. (Robert Collins)
 
2411
 
 
2412
    * revisions can now be specified using dotted-decimal revision numbers.
 
2413
      For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
2414
 
 
2415
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
 
2416
 
 
2417
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
 
2418
      a moderate effect on lots of actions, especially ones that have
 
2419
      little to do. For example ``bzr rocks`` time is down to 116ms from
 
2420
      283ms. (John Arbash Meinel)
 
2421
 
 
2422
    * New Registry class to provide name-to-object registry-like support,
 
2423
      for example for schemes where plugins can register new classes to
 
2424
      do certain tasks (e.g. log formatters). Also provides lazy registration
 
2425
      to allow modules to be loaded on request.
 
2426
      (John Arbash Meinel, Adeodato Simó)
 
2427
 
 
2428
  API INCOMPATABILITY:
 
2429
  
 
2430
    * LogFormatter subclasses show now expect the 'revno' parameter to 
 
2431
      show() to be a string rather than an int. (Robert Collins)
 
2432
 
 
2433
  INTERNALS:
 
2434
 
 
2435
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
2436
      can take a ``working_dir='foo'`` parameter, which will change directory 
 
2437
      for the command. (John Arbash Meinel)
 
2438
 
 
2439
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
2440
      around a regex, which defers compilation until first use. 
 
2441
      (John Arbash Meinel)
 
2442
 
 
2443
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
2444
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
2445
      problems with system-wide installed plugins. (John Arbash Meinel)
 
2446
 
 
2447
    * Unique tree root ids are now supported. Newly created trees still
 
2448
      use the common root id for compatibility with bzr versions before 0.12.
 
2449
      (Aaron Bentley)
 
2450
 
 
2451
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
2452
      pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
2453
      (Robert Collins, John Arbash Meinel)
 
2454
 
 
2455
    * New method ``WorkingTree.flush()`` which will write the current memory
 
2456
      inventory out to disk. At the same time, ``read_working_inventory`` will
 
2457
      no longer trash the current tree inventory if it has been modified within
 
2458
      the current lock, and the tree will now ``flush()`` automatically on
 
2459
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
2460
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
2461
 
 
2462
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
2463
      parameter will cause it to add another column to its output, which
 
2464
      contains the dotted-decimal revno for each revision, as a tuple.
 
2465
      (Robert Collins)
 
2466
 
 
2467
    * ``LogFormatter.show_merge`` is deprecated in favour of
 
2468
      ``LogFormatter.show_merge_revno``. (Robert Collins)
 
2469
 
 
2470
  BUG FIXES:
 
2471
 
 
2472
    * Avoid circular imports by creating a deprecated function for
 
2473
      ``bzrlib.tree.RevisionTree``. Callers should have been using
 
2474
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
2475
      #63360, #66349)
 
2476
 
 
2477
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
2478
      platforms. (Martin Pool, #66356)
 
2479
 
 
2480
    * Don't require ``Content-Type`` in range responses. Assume they are a
 
2481
      single range if ``Content-Type`` does not exist.
 
2482
      (John Arbash Meinel, #62473)
 
2483
 
 
2484
    * bzr branch/pull no longer complain about progress bar cleanup when
 
2485
      interrupted during fetch.  (Aaron Bentley, #54000)
 
2486
 
 
2487
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
2488
      the basis inventory, rather than going through the repository. This
 
2489
      allows us to have 1 inventory read, and 2 inventory writes when
 
2490
      committing a new tree. (John Arbash Meinel)
 
2491
 
 
2492
    * When reverting, files that are not locally modified that do not exist
 
2493
      in the target are deleted, not just unversioned (Aaron Bentley)
 
2494
 
 
2495
    * When trying to acquire a lock, don't fail immediately. Instead, try
 
2496
      a few times (up to 1 hour) before timing out. Also, report why the
 
2497
      lock is unavailable (John Arbash Meinel, #43521, #49556)
 
2498
 
 
2499
    * Leave HttpTransportBase daughter classes decides how they
 
2500
      implement cloning. (Vincent Ladeuil, #61606)
 
2501
 
 
2502
    * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
2503
 
 
2504
    * If a commit fails, the commit message is stored in a file at the root of
 
2505
      the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
2506
      #32054)
 
2507
 
 
2508
  TESTING:
 
2509
 
 
2510
    * New test base class TestCaseWithMemoryTransport offers memory-only
 
2511
      testing facilities: its not suitable for tests that need to mutate disk
 
2512
      state, but most tests should not need that and should be converted to
 
2513
      TestCaseWithMemoryTransport. (Robert Collins)
 
2514
 
 
2515
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
 
2516
      option to set the BzrDir, Repository and Branch formats of the
 
2517
      created objects. (Robert Collins, John Arbash Meinel)
 
2518
 
 
2519
bzr 0.11  2006-10-02
 
2520
====================
 
2521
 
 
2522
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
2523
 
 
2524
bzr 0.11rc2  2006-09-27
 
2525
=======================
 
2526
 
 
2527
  BUG FIXES:
 
2528
 
 
2529
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
2530
    
 
2531
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
2532
      Arbash Meinel).
 
2533
 
 
2534
bzr 0.11rc1  2006-09-25
 
2535
=======================
 
2536
 
 
2537
  IMPROVEMENTS:
 
2538
 
 
2539
    * Knit files now wait to create their contents until the first data is
 
2540
      added. The old code used to create an empty .knit and a .kndx with just
 
2541
      the header. However, this caused a lot of extra round trips over sftp.
 
2542
      This can change the time for ``bzr push`` to create a new remote branch
 
2543
      from 160s down to 100s. This also affects ``bzr commit`` performance when
 
2544
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
2545
      down to 40s (John Arbash Meinel, #44692)
 
2546
 
 
2547
    * When an entire subtree has been deleted, commit will now report that
 
2548
      just the top of the subtree has been deleted, rather than reporting
 
2549
      all the individual items. (Robert Collins)
 
2550
 
 
2551
    * Commit performs one less XML parse. (Robert Collins)
 
2552
 
 
2553
    * ``bzr checkout`` now operates on readonly branches as well
 
2554
      as readwrite branches. This fixes bug #39542. (Robert Collins)
 
2555
 
 
2556
    * ``bzr bind`` no longer synchronises history with the master branch.
 
2557
      Binding should be followed by an update or push to synchronise the 
 
2558
      two branches. This is closely related to the fix for bug #39542.
 
2559
      (Robert Collins)
 
2560
 
 
2561
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
 
2562
      objects.  This allows all imports to stay at the global scope, but
 
2563
      modules will not actually be imported if they are not used.
 
2564
      (John Arbash Meinel)
 
2565
 
 
2566
    * Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
2567
      transport which will be used with the upcoming high-performance smart
 
2568
      server. The new command ``bzr serve`` will invoke bzr in server mode,
 
2569
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
2570
      Pool)
 
2571
 
 
2572
    * New command ``bzr version-info`` which can be used to get a summary
 
2573
      of the current state of the tree. This is especially useful as part
 
2574
      of a build commands. See ``doc/version_info.txt`` for more information 
 
2575
      (John Arbash Meinel)
 
2576
 
 
2577
  BUG FIXES:
 
2578
 
 
2579
    * ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
2580
      specific set of files. (John Arbash Meinel, #3631)
 
2581
 
 
2582
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
2583
 
 
2584
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
2585
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
2586
      reading a nested Stanza. (John Arbash Meinel)
 
2587
 
 
2588
    * Transform._set_mode() needs to stat the right file. 
 
2589
      (John Arbash Meinel, #56549)
 
2590
 
 
2591
    * Raise WeaveFormatError rather than StopIteration when trying to read
 
2592
      an empty Weave file. (John Arbash Meinel, #46871)
 
2593
 
 
2594
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
2595
      (Vincent Ladeuil, #59835)
 
2596
 
 
2597
    * Handle boundary="" lines properly to allow access through a Squid proxy.
 
2598
      (John Arbash Meinel, #57723)
 
2599
 
 
2600
    * revert now removes newly-added directories (Aaron Bentley, #54172)
 
2601
 
 
2602
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
 
2603
      isn't a working tree. (David Allouche, #40679)
 
2604
 
 
2605
    * Give nicer error messages when a user supplies an invalid --revision
 
2606
      parameter. (John Arbash Meinel, #55420)
 
2607
 
 
2608
    * Handle when LANG is not recognized by python. Emit a warning, but
 
2609
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
2610
 
 
2611
    * Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
2612
      (John Arbash Meinel)
 
2613
 
 
2614
    * Skip specific tests when the dependencies aren't met. This includes
 
2615
      some ``setup.py`` tests when ``python-dev`` is not available, and
 
2616
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
2617
 
 
2618
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
2619
      the system. (Andrew Bennetts, John Arbash Meinel)
 
2620
 
 
2621
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
2622
      other branch, and will not push or pull between the two branches.
 
2623
      API users will need to perform a push or pull or update operation if they
 
2624
      require branch synchronisation to take place. (Robert Collins, #47344)
 
2625
 
 
2626
    * When creating a tarball or zipfile export, export unicode names as utf-8
 
2627
      paths. This may not work perfectly on all platforms, but has the best
 
2628
      chance of working in the common case. (John Arbash Meinel, #56816)
 
2629
 
 
2630
    * When committing, only files that exist in working tree or basis tree
 
2631
      may be specified (Aaron Bentley, #50793)
 
2632
 
 
2633
  PORTABILITY:
 
2634
 
 
2635
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
2636
 
 
2637
  INTERNALS:
 
2638
 
 
2639
    * TestCaseInTempDir now creates a separate directory for HOME, rather
 
2640
      than having HOME set to the same location as the working directory.
 
2641
      (John Arbash Meinel)
 
2642
 
 
2643
    * ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
2644
      which will update os.environ inside the spawned child. It also can
 
2645
      take a ``universal_newlines=True``, which helps when checking the output
 
2646
      of the command. (John Arbash Meinel)
 
2647
 
 
2648
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
 
2649
      (Andrew Bennetts)
 
2650
 
 
2651
    * ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
2652
      return urlescaped paths. This is now tested (there were bugs in a few
 
2653
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
2654
 
 
2655
    * New utility function ``symbol_versioning.deprecation_string``. Returns the
 
2656
      formatted string for a callable, deprecation format pair. (Robert Collins)
 
2657
 
 
2658
    * New TestCase helper applyDeprecated. This allows you to call a callable
 
2659
      which is deprecated without it spewing to the screen, just by supplying
 
2660
      the deprecation format string issued for it. (Robert Collins)
 
2661
 
 
2662
    * Transport.append and Transport.put have been deprecated in favor of
 
2663
      ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
2664
      ``.put_file``. This removes the ambiguity in what type of object the
 
2665
      functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
2666
      been added. Which works similarly to ``Transport.append()`` except for
 
2667
      SFTP, it doesn't have a round trip when opening the file. Also, it
 
2668
      provides functionality for creating a parent directory when trying
 
2669
      to create a file, rather than raise NoSuchFile and forcing the
 
2670
      caller to repeat their request.
 
2671
      (John Arbash Meinel)
 
2672
 
 
2673
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
 
2674
      entries by their file id. (Robert Collins)
 
2675
 
 
2676
    * ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
2677
      ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
2678
 
 
2679
    * WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
2680
      read rather than write. This is appropriate for actions which only need
 
2681
      the branch data for reference rather than mutation. A new decorator
 
2682
      ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
2683
      ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static 
 
2684
      declaration of the locking requirements of a function to ensure that
 
2685
      a lock is taken out for casual scripts. (Robert Collins, #54107)
 
2686
 
 
2687
    * All WorkingTree methods which write to the tree, but not to the branch
 
2688
      have been converted to use ``needs_tree_write_lock`` rather than 
 
2689
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
2690
      transform modules. This provides a modest performance improvement on 
 
2691
      metadir style trees, due to the reduce lock-acquisition, and a more
 
2692
      significant performance improvement on lightweight checkouts from 
 
2693
      remote branches, where trivial operations used to pay a significant 
 
2694
      penalty. It also provides the basis for allowing readonly checkouts.
 
2695
      (Robert Collins)
 
2696
 
 
2697
    * Special case importing the standard library 'copy' module. This shaves
 
2698
      off 40ms of startup time, while retaining compatibility. See:
 
2699
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
2700
 
 
2701
    * WorkingTree has a new parent class MutableTree which represents the 
 
2702
      specialisations of Tree which are able to be altered. (Robert Collins)
 
2703
 
 
2704
    * New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
2705
      mutate the tree and its contents. (Robert Collins)
 
2706
 
 
2707
    * Transport behaviour at the root of the URL is now defined and tested.
 
2708
      (Andrew Bennetts, Robert Collins)
 
2709
 
 
2710
  TESTING:
 
2711
 
 
2712
    * New test helper classs MemoryTree. This is typically accessed via
 
2713
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
2714
      
 
2715
    * Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
2716
      code to continue running concurrently with a subprocess of bzr.
 
2717
      (Andrew Bennetts, Robert Collins)
 
2718
 
 
2719
    * Add a new method ``Transport.get_smart_client()``. This is provided to
 
2720
      allow upgrades to a richer interface than the VFS one provided by
 
2721
      Transport. (Andrew Bennetts, Martin Pool)
 
2722
 
 
2723
bzr 0.10  2006-08-29
 
2724
====================
 
2725
  
 
2726
  IMPROVEMENTS:
 
2727
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
2728
      tree.  (Aaron Bentley)
 
2729
  
 
2730
    * 'bzr add --file-ids-from' can be used to specify another path to use
 
2731
      for creating file ids, rather than generating all new ones. Internally,
 
2732
      the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
2733
      will be used, rather than having bzrlib generate new ones.
 
2734
      (John Arbash Meinel, #55781)
 
2735
 
 
2736
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
2737
      This will cache some of the intermediate trees, and decrease the
 
2738
      setup time for benchmark tests. (John Arbash Meinel)
 
2739
 
 
2740
    * Inverse forms are provided for all boolean options.  For example,
 
2741
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
2742
 
 
2743
    * Serialize out Inventories directly, rather than using ElementTree.
 
2744
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
2745
      (Robert Collins, John Arbash Meinel)
 
2746
 
 
2747
  BUG FIXES:
 
2748
 
 
2749
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
2750
 
 
2751
    * Change LockDir so that if the lock directory doesn't exist when
 
2752
      ``lock_write()`` is called, an attempt will be made to create it.
 
2753
      (John Arbash Meinel, #56974)
 
2754
 
 
2755
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
2756
 
 
2757
    * Active FTP transport now works as intended. (ghozzy, #56472)
 
2758
 
 
2759
    * Really fix mutter() so that it won't ever raise a UnicodeError.
 
2760
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
2761
      But it is a debugging log, not a real user file.
 
2762
      (John Arbash Meinel, #56947, #53880)
 
2763
 
 
2764
    * Change Command handle to allow Unicode command and options.
 
2765
      At present we cannot register Unicode command names, so we will get
 
2766
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
2767
      But that is better than a UnicodeError + a traceback.
 
2768
      (John Arbash Meinel, #57123)
 
2769
 
 
2770
    * Handle TZ=UTC properly when reading/writing revisions.
 
2771
      (John Arbash Meinel, #55783, #56290)
 
2772
 
 
2773
    * Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
2774
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
2775
 
 
2776
    * External diff does the right thing for binaries even in foreign 
 
2777
      languages. (John Arbash Meinel, #56307)
 
2778
 
 
2779
    * Testament handles more cases when content is unicode. Specific bug was
 
2780
      in handling of revision properties.
 
2781
      (John Arbash Meinel, Holger Krekel, #54723)
 
2782
 
 
2783
    * The bzr selftest was failing on installed versions due to a bug in a new
 
2784
      test helper. (John Arbash Meinel, Robert Collins, #58057)
 
2785
 
 
2786
  INTERNALS:
 
2787
 
 
2788
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
2789
      which can be used to cache the conversion between utf8 and Unicode.
 
2790
      Especially helpful for some of the knit annotation code, which has to
 
2791
      convert revision ids to utf8 to annotate lines in storage.
 
2792
      (John Arbash Meinel)
 
2793
 
 
2794
    * ``setup.py`` now searches the filesystem to find all packages which
 
2795
      need to be installed. This should help make the life of packagers
 
2796
      easier. (John Arbash Meinel)
 
2797
 
 
2798
bzr 0.9.0  2006-08-11
 
2799
=====================
 
2800
 
 
2801
  SURPRISES:
 
2802
 
 
2803
   * The hard-coded built-in ignore rules have been removed. There are
 
2804
     now two rulesets which are enforced. A user global one in 
 
2805
     ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
2806
     specific one '.bzrignore'.
 
2807
     ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
2808
     a more conservative list than the old default.
 
2809
     This fixes bugs with default rules being enforced no matter what. 
 
2810
     The old list of ignore rules from bzr is available by
 
2811
     running 'bzr ignore --old-default-rules'.
 
2812
     (Robert Collins, Martin Pool, John Arbash Meinel)
 
2813
 
 
2814
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
 
2815
     to more locations than just branch locations.
 
2816
     (Aaron Bentley)
 
2817
   
 
2818
  IMPROVEMENTS:
 
2819
 
 
2820
   * The revision specifier "revno:" is extended to accept the syntax
 
2821
     revno:N:branch. For example,
 
2822
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
2823
     bzr.dev.  (Matthieu Moy)
 
2824
 
 
2825
   * Tests updates to ensure proper URL handling, UNICODE support, and
 
2826
     proper printing when the user's terminal encoding cannot display 
 
2827
     the path of a file that has been versioned.
 
2828
     ``bzr branch`` can take a target URL rather than only a local directory.
 
2829
     ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
2830
     and normalize the parent based on root, allowing access across
 
2831
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
2832
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
2833
     #42517, #42514)
 
2834
 
 
2835
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
2836
     Use terminal width for single-line logs from ``bzr log --line`` and
 
2837
     pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
2838
     (Malone #3507)
 
2839
 
 
2840
   * On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
2841
     (Alexander Belchenko)
 
2842
 
 
2843
   * Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
2844
 
 
2845
   * Show the correct number of revisions pushed when pushing a new branch.
 
2846
     (Robert Collins).
 
2847
 
 
2848
   * 'bzr selftest' now shows a progress bar with the number of tests, and 
 
2849
     progress made. 'make check' shows tests in -v mode, to be more useful
 
2850
     for the PQM status window. (Robert Collins).
 
2851
     When using a progress bar, failed tests are printed out, rather than
 
2852
     being overwritten by the progress bar until the suite finishes.
 
2853
     (John Arbash Meinel)
 
2854
 
 
2855
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
2856
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
2857
     profile data for the individual profiled calls, allowing for fine
 
2858
     grained analysis of performance.
 
2859
     (Robert Collins, Martin Pool).
 
2860
 
 
2861
   * 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
2862
     where commit can take an appreciable time. (Robert Collins)
 
2863
 
 
2864
   * 'bzr add' is now less verbose in telling you what ignore globs were
 
2865
     matched by files being ignored. Instead it just tells you how many 
 
2866
     were ignored (because you might reasonably be expecting none to be
 
2867
     ignored). 'bzr add -v' is unchanged and will report every ignored
 
2868
     file. (Robert Collins).
 
2869
 
 
2870
   * ftp now has a test server if medusa is installed. As part of testing,
 
2871
     ftp support has been improved, including support for supplying a
 
2872
     non-standard port. (John Arbash Meinel).
 
2873
 
 
2874
   * 'bzr log --line' shows the revision number, and uses only the
 
2875
     first line of the log message (#5162, Alexander Belchenko;
 
2876
     Matthieu Moy)
 
2877
 
 
2878
   * 'bzr status' has had the --all option removed. The 'bzr ls' command
 
2879
     should be used to retrieve all versioned files. (Robert Collins)
 
2880
 
 
2881
   * 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
2882
     over email, and applied on the other end, while maintaining ancestry.
 
2883
     This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
2884
     the same way you would apply another branch.
 
2885
     (John Arbash Meinel, Aaron Bentley)
 
2886
  
 
2887
   * 'bzr whoami' can now be used to set your identity from the command line,
 
2888
     for a branch or globally.  (Robey Pointer)
 
2889
 
 
2890
   * 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
2891
     (Michael Ellerman)
 
2892
 
 
2893
   * 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
2894
     (Aaron Bentley)
 
2895
 
 
2896
   * 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
2897
     Also updates things like 'http+pycurl://' if pycurl is not present.
 
2898
     (John Arbash Meinel) (Malone #47821, #52204)
 
2899
 
 
2900
   * New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
2901
     Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or 
 
2902
     'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
2903
 
 
2904
   * Improve the help text for 'bzr diff' to explain what various options do.
 
2905
     (John Arbash Meinel, #6391)
 
2906
 
 
2907
   * 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
2908
     revision 10. This makes -r10 more in line with what other commands do.
 
2909
     'bzr uncommit' also now saves the pending merges of the revisions that
 
2910
     were removed. So it is safe to uncommit after a merge, fix something,
 
2911
     and commit again. (John Arbash Meinel, #32526, #31426)
 
2912
 
 
2913
   * 'bzr init' now also works on remote locations.
 
2914
     (Wouter van Heyst, #48904)
 
2915
 
 
2916
   * HTTP support has been updated. When using pycurl we now support 
 
2917
     connection keep-alive, which reduces dns requests and round trips.
 
2918
     And for both urllib and pycurl we support multi-range requests, 
 
2919
     which decreases the number of round-trips. Performance results for
 
2920
     ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
2921
     http branching is now 2-3x faster, and ``bzr pull`` in an existing 
 
2922
     branch is as much as 4x faster.
 
2923
     (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
2924
 
 
2925
   * Performance improvements for sftp. Branching and pulling are now up to
 
2926
     2x faster. Utilize paramiko.readv() support for async requests if it
 
2927
     is available (paramiko > 1.6) (John Arbash Meinel)
 
2928
 
 
2929
  BUG FIXES:
 
2930
 
 
2931
    * Fix shadowed definition of TestLocationConfig that caused some 
 
2932
      tests not to run.
 
2933
      (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
2934
 
 
2935
    * Fix unnecessary requirement of sign-my-commits that it be run from
 
2936
      a working directory.  (Martin Pool, Robert Collins)
 
2937
 
 
2938
    * 'bzr push location' will only remember the push location if it succeeds
 
2939
      in connecting to the remote location. (John Arbash Meinel, #49742)
 
2940
 
 
2941
    * 'bzr revert' no longer toggles the executable bit on win32
 
2942
      (John Arbash Meinel, #45010)
 
2943
 
 
2944
    * Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
2945
    
 
2946
    * sftp tests now work correctly on win32 if you have a newer paramiko
 
2947
      (John Arbash Meinel)
 
2948
 
 
2949
    * Cleanup win32 test suite, and general cleanup of places where
 
2950
      file handles were being held open. (John Arbash Meinel)
 
2951
 
 
2952
    * When specifying filenames for 'diff -r x..y', the name of the file in the
 
2953
      working directory can be used, even if its name is different in both x
 
2954
      and y.
 
2955
 
 
2956
    * File-ids containing single- or double-quotes are handled correctly by
 
2957
      push. (Aaron Bentley, #52227)
 
2958
 
 
2959
    * Normalize unicode filenames to ensure cross-platform consistency.
 
2960
      (John Arbash Meinel, #43689)
 
2961
 
 
2962
    * The argument parser can now handle '-' as an argument. Currently
 
2963
      no code interprets it specially (it is mostly handled as a file named 
 
2964
      '-'). But plugins, and future operations can use it.
 
2965
      (John Arbash meinel, #50984)
 
2966
 
 
2967
    * Bundles can properly read binary files with a plain '\r' in them.
 
2968
      (John Arbash Meinel, #51927)
 
2969
 
 
2970
    * Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
2971
 
 
2972
    * Lots of win32 fixes (the test suite passes again).
 
2973
      (John Arbash Meinel, #50155)
 
2974
 
 
2975
    * Handle openbsd returning None for sys.getfilesystemencoding() (#41183) 
 
2976
 
 
2977
    * Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
2978
 
 
2979
    * Removals are only committed if they match the filespec (or if there is
 
2980
      no filespec).  (#46635, Aaron Bentley)
 
2981
 
 
2982
    * smart-add recurses through all supplied directories 
 
2983
      (John Arbash Meinel, #52578)
 
2984
 
 
2985
    * Make the bundle reader extra lines before and after the bundle text.
 
2986
      This allows you to parse an email with the bundle inline.
 
2987
      (John Arbash Meinel, #49182)
 
2988
 
 
2989
    * Change the file id generator to squash a little bit more. Helps when
 
2990
      working with long filenames on windows. (Also helps for unicode filenames
 
2991
      not generating hidden files). (John Arbash Meinel, #43801)
 
2992
 
 
2993
    * Restore terminal mode on C-c while reading sftp password.  (#48923, 
 
2994
      Nicholas Allen, Martin Pool)
 
2995
 
 
2996
    * Timestamps are rounded to 1ms, and revision entries can be recreated
 
2997
      exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
2998
 
 
2999
    * Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
3000
      use local paths, since it is user visible (John Arbash Meinel, #53653)
 
3001
 
 
3002
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
 
3003
      to be generated (John Arbash Meinel, #53638)
 
3004
 
 
3005
    * When reading revision properties, an empty value should be considered
 
3006
      the empty string, not None (John Arbash Meinel, #47782)
 
3007
 
 
3008
    * ``bzr diff --diff-options`` can now handle binary files being changed.
 
3009
      Also, the output is consistent when --diff-options is not supplied.
 
3010
      (John Arbash Meinel, #54651, #52930)
 
3011
 
 
3012
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
3013
 
 
3014
    * Fix ``Branch.get_parent()`` to handle the case when the parent is not 
 
3015
      accessible (John Arbash Meinel, #52976)
 
3016
 
 
3017
  INTERNALS:
 
3018
 
 
3019
    * Combine the ignore rules into a single regex rather than looping over
 
3020
      them to reduce the threshold where  N^2 behaviour occurs in operations
 
3021
      like status. (Jan Hudec, Robert Collins).
 
3022
 
 
3023
    * Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
3024
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
3025
 
 
3026
    * 'bzr push' should only push the ancestry of the current revision, not
 
3027
      all of the history in the repository. This is especially important for
 
3028
      shared repositories. (John Arbash Meinel)
 
3029
 
 
3030
    * ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
3031
      rather than randomly walking the inventories. (John Arbash Meinel)
 
3032
 
 
3033
    * Doctests are now run in temporary directories which are cleaned up when
 
3034
      they finish, rather than using special ScratchDir/ScratchBranch objects.
 
3035
      (Martin Pool)
 
3036
 
 
3037
    * Split ``check`` into separate methods on the branch and on the repository,
 
3038
      so that it can be specialized in ways that are useful or efficient for
 
3039
      different formats.  (Martin Pool, Robert Collins)
 
3040
 
 
3041
    * Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
3042
      the global revision graph but only that part leading up to a particular
 
3043
      revision.  (Martin Pool, Robert Collins)
 
3044
 
 
3045
    * Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
3046
      that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
3047
      (Robert Collins, Jelmer Vernooij).
 
3048
 
 
3049
    * ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
3050
      Uses subprocess instead of spawnvp.
 
3051
      (James Henstridge, John Arbash Meinel, #4047, #48914)
 
3052
 
 
3053
    * New command line option '--profile-imports', which will install a custom
 
3054
      importer to log time to import modules and regex compilation time to 
 
3055
      sys.stderr (John Arbash Meinel)
 
3056
 
 
3057
    * 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
3058
      instead. (Robert Collins)
 
3059
 
 
3060
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
3061
 
 
3062
bzr 0.8.2  2006-05-17
 
3063
=====================
 
3064
  
 
3065
  BUG FIXES:
 
3066
   
 
3067
    * setup.py failed to install launchpad plugin.  (Martin Pool)
 
3068
 
 
3069
bzr 0.8.1  2006-05-16
 
3070
=====================
 
3071
 
 
3072
  BUG FIXES:
 
3073
 
 
3074
    * Fix failure to commit a merge in a checkout.  (Martin Pool, 
 
3075
      Robert Collins, Erik Bågfors, #43959)
 
3076
 
 
3077
    * Nicer messages from 'commit' in the case of renames, and correct
 
3078
      messages when a merge has occured. (Robert Collins, Martin Pool)
 
3079
 
 
3080
    * Separate functionality from assert statements as they are skipped in
 
3081
      optimized mode of python. Add the same check to pending merges.
 
3082
      (Olaf Conradi, #44443)
 
3083
 
 
3084
  CHANGES:
 
3085
 
 
3086
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
3087
 
 
3088
    * Add info on standalone branches without a working tree.
 
3089
      (Olaf Conradi, #44155)
 
3090
 
 
3091
    * Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
3092
 
 
3093
  CHANGES:
 
3094
 
 
3095
    * Make editor invocation comply with Debian Policy. First check
 
3096
      environment variables VISUAL and EDITOR, then try editor from
 
3097
      alternatives system. If that all fails, fall back to the pre-defined
 
3098
      list of editors. (Olaf Conradi, #42904)
 
3099
 
 
3100
  NEW FEATURES:
 
3101
 
 
3102
    * New 'register-branch' command registers a public branch into 
 
3103
      Launchpad.net, where it can be associated with bugs, etc.
 
3104
      (Martin Pool, Bjorn Tillenius, Robert Collins)
 
3105
 
 
3106
  INTERNALS:
 
3107
 
 
3108
    * New public api in InventoryEntry - ``describe_change(old, new)`` which
 
3109
      provides a human description of the changes between two old and
 
3110
      new. (Robert Collins, Martin Pool)
 
3111
 
 
3112
  TESTING:
 
3113
 
 
3114
    * Fix test case for bzr info in upgrading a standalone branch to metadir,
 
3115
      uses bzrlib api now. (Olaf Conradi)
 
3116
 
 
3117
bzr 0.8  2006-05-08
 
3118
===================
 
3119
 
 
3120
  NOTES WHEN UPGRADING:
 
3121
 
 
3122
    Release 0.8 of bzr introduces a new format for history storage, called
 
3123
    'knit', as an evolution of to the 'weave' format used in 0.7.  Local 
 
3124
    and remote operations are faster using knits than weaves.  Several
 
3125
    operations including 'init', 'init-repo', and 'upgrade' take a 
 
3126
    --format option that controls this.  Branching from an existing branch
 
3127
    will keep the same format.
 
3128
 
 
3129
    It is possible to merge, pull and push between branches of different
 
3130
    formats but this is slower than moving data between homogenous
 
3131
    branches.  It is therefore recommended (but not required) that you
 
3132
    upgrade all branches for a project at the same time.  Information on
 
3133
    formats is shown by 'bzr info'.
 
3134
 
 
3135
    bzr 0.8 now allows creation of 'repositories', which hold the history 
 
3136
    of files and revisions for several branches.  Previously bzr kept all
 
3137
    the history for a branch within the .bzr directory at the root of the
 
3138
    branch, and this is still the default.  To create a repository, use
 
3139
    the new 'bzr init-repo' command.  Branches exist as directories under
 
3140
    the repository and contain just a small amount of information
 
3141
    indicating the current revision of the branch.
 
3142
 
 
3143
    bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
3144
    subversion.  Checkouts are associated with a branch (optionally in a
 
3145
    repository), which contains all the historical information.  The
 
3146
    result is that a checkout can be deleted without losing any
 
3147
    already-committed revisions.  A new 'update' command is also available. 
 
3148
 
 
3149
    Repositories and checkouts are not supported with the 0.7 storage
 
3150
    format.  To use them you must upgrad to either knits, or to the
 
3151
    'metaweave' format, which uses weaves but changes the .bzr directory
 
3152
    arrangement.
 
3153
    
 
3154
 
 
3155
  IMPROVEMENTS:
 
3156
 
 
3157
    * Sftp paths can now be relative, or local, according to the lftp
 
3158
      convention. Paths now take the form::
 
3159
 
 
3160
          sftp://user:pass@host:port/~/relative/path
 
3161
          or
 
3162
          sftp://user:pass@host:port/absolute/path
 
3163
 
 
3164
    * The FTP transport now tries to reconnect after a temporary
 
3165
      failure. ftp put is made atomic. (Matthieu Moy)
 
3166
 
 
3167
    * The FTP transport now maintains a pool of connections, and
 
3168
      reuses them to avoid multiple connections to the same host (like
 
3169
      sftp did). (Daniel Silverstone)
 
3170
 
 
3171
    * The ``bzr_man.py`` file has been removed. To create the man page now,
 
3172
      use ``./generate_docs.py man``. The new program can also create other files.
 
3173
      Run ``python generate_docs.py --help`` for usage information.
 
3174
      (Hans Ulrich Niedermann & James Blackwell).
 
3175
 
 
3176
    * Man Page now gives full help (James Blackwell).
 
3177
      Help also updated to reflect user config now being stored in .bazaar
 
3178
      (Hans Ulrich Niedermann)
 
3179
 
 
3180
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
3181
 
 
3182
    * Pull now accepts a --revision argument (Erik Bågfors)
 
3183
 
 
3184
    * ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
3185
      line. You can now use the following command to sign all of your old
 
3186
      commits::
 
3187
 
 
3188
        find .bzr/revision-store// -name my@email-* \
 
3189
          | sed 's/.*\/\/..\///' \
 
3190
          | xargs bzr re-sign
 
3191
 
 
3192
    * Upgrade can now upgrade over the network. (Robert Collins)
 
3193
 
 
3194
    * Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
3195
      behaviour.  By default they will cache history in the checkout, but
 
3196
      with --lightweight almost all data is kept in the master branch.
 
3197
      (Robert Collins)
 
3198
 
 
3199
    * 'revert' unversions newly-versioned files, instead of deleting them.
 
3200
 
 
3201
    * 'merge' is more robust.  Conflict messages have changed.
 
3202
 
 
3203
    * 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
3204
      '.moved'.
 
3205
 
 
3206
    * Default log format can be set in configuration and plugins can register
 
3207
      their own formatters. (Erik Bågfors)
 
3208
 
 
3209
    * New 'reconcile' command will check branch consistency and repair indexes
 
3210
      that can become out of sync in pre 0.8 formats. (Robert Collins,
 
3211
      Daniel Silverstone)
 
3212
 
 
3213
    * New 'bzr init --format' and 'bzr upgrade --format' option to control 
 
3214
      what storage format is created or produced.  (Robert Collins, 
 
3215
      Martin Pool)
 
3216
 
 
3217
    * Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
3218
 
 
3219
    * New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
3220
 
 
3221
    * New 'init-repository' command, plus support for repositories in 'init'
 
3222
      and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
3223
 
 
3224
    * Improve output of 'info' command. Show all relevant locations related to
 
3225
      working tree, branch and repository. Use kibibytes for binary quantities.
 
3226
      Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
3227
      work on branches, repositories and remote locations.  Show locations
 
3228
      relative to the shared repository, if applicable.  Show locking status
 
3229
      of locations.  (Olaf Conradi)
 
3230
 
 
3231
    * Diff and merge now safely handle binary files. (Aaron Bentley)
 
3232
 
 
3233
    * 'pull' and 'push' now normalise the revision history, so that any two
 
3234
      branches with the same tip revision will have the same output from 'log'.
 
3235
      (Robert Collins)
 
3236
 
 
3237
    * 'merge' accepts --remember option to store parent location, like 'push'
 
3238
      and 'pull'. (Olaf Conradi)
 
3239
 
 
3240
    * bzr status and diff when files given as arguments do not exist
 
3241
      in the relevant trees.  (Martin Pool, #3619)
 
3242
 
 
3243
    * Add '.hg' to the default ignore list.  (Martin Pool)
 
3244
 
 
3245
    * 'knit' is now the default disk format. This improves disk performance and
 
3246
      utilization, increases incremental pull performance, robustness with SFTP
 
3247
      and allows checkouts over SFTP to perform acceptably. 
 
3248
      The initial Knit code was contributed by Johan Rydberg based on a
 
3249
      specification by Martin Pool.
 
3250
      (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
3251
 
 
3252
    * New tool to generate all-in-one html version of the manual.  (Alexander
 
3253
      Belchenko)
 
3254
 
 
3255
    * Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
3256
      to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
3257
 
 
3258
    * New option 'diff --prefix' to control how files are named in diff
 
3259
      output, with shortcuts '-p0' and '-p1' corresponding to the options for 
 
3260
      GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
3261
 
 
3262
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
 
3263
 
 
3264
    * If bzr shows an unexpected revision-history after pulling (perhaps due
 
3265
      to a reweave) it can now be corrected by 'bzr reconcile'.
 
3266
      (Robert Collins)
 
3267
 
 
3268
  CHANGES:
 
3269
 
 
3270
    * Commit is now verbose by default, and shows changed filenames and the 
 
3271
      new revision number.  (Robert Collins, Martin Pool)
 
3272
 
 
3273
    * Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
3274
 
 
3275
    * 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
3276
 
 
3277
    * Make 'pull' and 'push' remember location on failure using --remember.
 
3278
      (Olaf Conradi)
 
3279
 
 
3280
    * For compatibility, make old format for using weaves inside metadir
 
3281
      available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
3282
      Clean up help for option --format in commands 'init', 'init-repo' and
 
3283
      'upgrade'.  (Olaf Conradi)
 
3284
 
 
3285
  INTERNALS:
 
3286
  
 
3287
    * The internal storage of history, and logical branch identity have now
 
3288
      been split into Branch, and Repository. The common locking and file 
 
3289
      management routines are now in bzrlib.lockablefiles. 
 
3290
      (Aaron Bentley, Robert Collins, Martin Pool)
 
3291
 
 
3292
    * Transports can now raise DependencyNotPresent if they need a library
 
3293
      which is not installed, and then another implementation will be 
 
3294
      tried.  (Martin Pool)
 
3295
 
 
3296
    * Remove obsolete (and no-op) `decode` parameter to `Transport.get`.  
 
3297
      (Martin Pool)
 
3298
 
 
3299
    * Using Tree Transform for merge, revert, tree-building
 
3300
 
 
3301
    * WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
3302
      Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
3303
      replacement API's. (Robert Collins)
 
3304
 
 
3305
    * New BzrDir class represents the .bzr control directory and manages
 
3306
      formatting issues. (Robert Collins)
 
3307
 
 
3308
    * New repository.InterRepository class encapsulates Repository to 
 
3309
      Repository actions and allows for clean selection of optimised code
 
3310
      paths. (Robert Collins)
 
3311
 
 
3312
    * ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
3313
      deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
3314
      depending on your needs. (Robert Collins)
 
3315
 
 
3316
    * deprecated methods now have a ``is_deprecated`` flag on them that can
 
3317
      be checked, if you need to determine whether a given callable is 
 
3318
      deprecated at runtime. (Robert Collins)
 
3319
 
 
3320
    * Progress bars are now nested - see
 
3321
      ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
3322
      (Robert Collins, Robey Pointer)
 
3323
 
 
3324
    * New API call ``get_format_description()`` for each type of format.
 
3325
      (Olaf Conradi)
 
3326
 
 
3327
    * Changed ``branch.set_parent()`` to accept None to remove parent.
 
3328
      (Olaf Conradi)
 
3329
 
 
3330
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
3331
 
 
3332
    * WorkingTree.branch is now a read only property.  (Robert Collins)
 
3333
 
 
3334
    * bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
3335
      can be None or a factory that will create a progress bar. This is
 
3336
      useful for testing or for overriding the bzrlib.progress heuristic.
 
3337
      (Robert Collins)
 
3338
 
 
3339
    * New API method ``get_physical_lock_status()`` to query locks present on a
 
3340
      transport.  (Olaf Conradi)
 
3341
 
 
3342
    * Repository.reconcile now takes a thorough keyword parameter to allow
 
3343
      requesting an indepth reconciliation, rather than just a data-loss 
 
3344
      check. (Robert Collins)
 
3345
 
 
3346
    * ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
3347
      the user for yes/no style input. (Robert Collins)
 
3348
 
 
3349
  TESTING:
 
3350
 
 
3351
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
3352
      for testing SFTP protocol support. (Robey Pointer)
 
3353
 
 
3354
    * Branch formats are now tested once per implementation (see ``bzrlib.
 
3355
      tests.branch_implementations``. This is analagous to the transport
 
3356
      interface tests, and has been followed up with working tree,
 
3357
      repository and BzrDir tests. (Robert Collins)
 
3358
 
 
3359
    * New test base class TestCaseWithTransport provides a transport aware
 
3360
      test environment, useful for testing any transport-interface using
 
3361
      code. The test suite option --transport controls the transport used
 
3362
      by this class (when its not being used as part of implementation
 
3363
      contract testing). (Robert Collins)
 
3364
 
 
3365
    * Close logging handler on disabling the test log. This will remove the
 
3366
      handler from the internal list inside python's logging module,
 
3367
      preventing shutdown from closing it twice.  (Olaf Conradi)
 
3368
 
 
3369
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
3370
 
 
3371
    * ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
3372
      parameter which will provide String("foo") to the command as its stdin.
 
3373
 
 
3374
bzr 0.7 2006-01-09
 
3375
==================
 
3376
 
 
3377
  CHANGES:
 
3378
 
 
3379
    * .bzrignore is excluded from exports, on the grounds that it's a bzr 
 
3380
      internal-use file and may not be wanted.  (Jamie Wilkinson)
 
3381
 
 
3382
    * The "bzr directories" command were removed in favor of the new
 
3383
      --kind option to the "bzr inventory" command.  To list all 
 
3384
      versioned directories, now use "bzr inventory --kind directory".  
 
3385
      (Johan Rydberg)
 
3386
 
 
3387
    * Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
3388
      by default. (John Arbash Meinel)
 
3389
 
 
3390
    * The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
3391
      environment variable. Now the path for it is searched in ``BZR_HOME``,
 
3392
      then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
3393
      (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
3394
      ``HOME``. (John Arbash Meinel)
 
3395
 
 
3396
    * Plugins with the same name in different directories in the bzr plugin
 
3397
      path are no longer loaded: only the first successfully loaded one is
 
3398
      used. (Robert Collins)
 
3399
 
 
3400
    * Use systems' external ssh command to open connections if possible.  
 
3401
      This gives better integration with user settings such as ProxyCommand.
 
3402
      (James Henstridge)
 
3403
 
 
3404
    * Permissions on files underneath .bzr/ are inherited from the .bzr 
 
3405
      directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
3406
      will mean that future file will be created with group write permissions.
 
3407
 
 
3408
    * configure.in and config.guess are no longer in the builtin default 
 
3409
      ignore list.
 
3410
 
 
3411
    * '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
3412
      files.  (John Arbash Meinel, Martin Pool)
 
3413
 
 
3414
  IMPROVEMENTS:
 
3415
 
 
3416
    * "bzr INIT dir" now initializes the specified directory, and creates 
 
3417
      it if it does not exist.  (John Arbash Meinel)
 
3418
 
 
3419
    * New remerge command (Aaron Bentley)
 
3420
 
 
3421
    * Better zsh completion script.  (Steve Borho)
 
3422
 
 
3423
    * 'bzr diff' now returns 1 when there are changes in the working 
 
3424
      tree. (Robert Collins)
 
3425
 
 
3426
    * 'bzr push' now exists and can push changes to a remote location. 
 
3427
      This uses the transport infrastructure, and can store the remote
 
3428
      location in the ~/.bazaar/branches.conf configuration file.
 
3429
      (Robert Collins)
 
3430
 
 
3431
    * Test directories are only kept if the test fails and the user requests
 
3432
      that they be kept.
 
3433
 
 
3434
    * Tweaks to short log printing
 
3435
 
 
3436
    * Added branch nicks, new nick command, printing them in log output. 
 
3437
      (Aaron Bentley)
 
3438
 
 
3439
    * If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception 
 
3440
      occurs.  (Martin Pool)
 
3441
 
 
3442
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
3443
      the same as Subversion.  (Martin Pool)
 
3444
 
 
3445
    * New ftp transport support (on ftplib), for ftp:// and aftp:// 
 
3446
      URLs.  (Daniel Silverstone)
 
3447
 
 
3448
    * Commit editor temporary files now start with ``bzr_log.``, to allow 
 
3449
      text editors to match the file name and set up appropriate modes or 
 
3450
      settings.  (Magnus Therning)
 
3451
 
 
3452
    * Improved performance when integrating changes from a remote weave.  
 
3453
      (Goffredo Baroncelli)
 
3454
 
 
3455
    * Sftp will attempt to cache the connection, so it is more likely that
 
3456
      a connection will be reused, rather than requiring multiple password
 
3457
      requests.
 
3458
 
 
3459
    * bzr revno now takes an optional argument indicating the branch whose
 
3460
      revno should be printed.  (Michael Ellerman)
 
3461
 
 
3462
    * bzr cat defaults to printing the last version of the file.  
 
3463
      (Matthieu Moy, #3632)
 
3464
 
 
3465
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof 
 
3466
      profiler.  (Denys Duchier)
 
3467
 
 
3468
    * Faster commits by reading only the headers of affected weave files. 
 
3469
      (Denys Duchier)
 
3470
 
 
3471
    * 'bzr add' now takes a --dry-run parameter which shows you what would be
 
3472
      added, but doesn't actually add anything. (Michael Ellerman)
 
3473
 
 
3474
    * 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
3475
      lists the specific files.  (Aaron Bentley)
 
3476
 
 
3477
    * 'bzr missing' now supports displaying changes in diverged trees and can
 
3478
      be limited to show what either end of the comparison is missing.
 
3479
      (Aaron Bently, with a little prompting from Daniel Silverstone)
 
3480
 
 
3481
  BUG FIXES:
 
3482
 
 
3483
    * SFTP can walk up to the root path without index errors. (Robert Collins)
 
3484
 
 
3485
    * Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
3486
 
 
3487
    * Error when run with -OO
 
3488
 
 
3489
    * Fix bug in reporting http errors that don't have an http error code.
 
3490
      (Martin Pool)
 
3491
 
 
3492
    * Handle more cases of pipe errors in display commands
 
3493
 
 
3494
    * Change status to 3 for all errors
 
3495
 
 
3496
    * Files that are added and unlinked before committing are completely
 
3497
      ignored by diff and status
 
3498
 
 
3499
    * Stores with some compressed texts and some uncompressed texts are now
 
3500
      able to be used. (John A Meinel)
 
3501
 
 
3502
    * Fix for bzr pull failing sometimes under windows
 
3503
 
 
3504
    * Fix for sftp transport under windows when using interactive auth
 
3505
 
 
3506
    * Show files which are both renamed and modified as such in 'bzr 
 
3507
      status' output.  (Daniel Silverstone, #4503)
 
3508
 
 
3509
    * Make annotate cope better with revisions committed without a valid 
 
3510
      email address.  (Marien Zwart)
 
3511
 
 
3512
    * Fix representation of tab characters in commit messages.
 
3513
      (Harald Meland)
 
3514
 
 
3515
    * List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
3516
      now parsed properly under Windows. (Alexander Belchenko)
 
3517
 
 
3518
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
3519
 
 
3520
    * Keep a cached copy of the basis inventory to speed up operations 
 
3521
      that need to refer to it.  (Johan Rydberg, Martin Pool)
 
3522
 
 
3523
    * Fix bugs in bzr status display of non-ascii characters.
 
3524
      (Martin Pool)
 
3525
 
 
3526
    * Remove Makefile.in from default ignore list.
 
3527
      (Tollef Fog Heen, Martin Pool, #6413)
 
3528
 
 
3529
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
3530
 
 
3531
  TESTING:
 
3532
 
 
3533
    * Fix selftest asking for passwords when there are no SFTP keys.  
 
3534
      (Robey Pointer, Jelmer Vernooij) 
 
3535
 
 
3536
    * Fix selftest run with 'python -O'.  (Martin Pool)
 
3537
 
 
3538
    * Fix HTTP tests under Windows. (John Arbash Meinel)
 
3539
 
 
3540
    * Make tests work even if HOME is not set (Aaron Bentley)
 
3541
 
 
3542
    * Updated ``build_tree`` to use fixed line-endings for tests which read 
 
3543
      the file cotents and compare. Make some tests use this to pass under
 
3544
      Windows. (John Arbash Meinel)
 
3545
 
 
3546
    * Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
3547
 
 
3548
    * Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
3549
      (John Arbash Meinel)
 
3550
 
 
3551
    * Use terminal width to align verbose test output.  (Martin Pool)
 
3552
 
 
3553
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
3554
      If adding a new test script please add that to
 
3555
      ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
3556
 
 
3557
    * Much better error message if one of the test suites can't be 
 
3558
      imported.  (Martin Pool)
 
3559
 
 
3560
    * Make check now runs the test suite twice - once with the default locale,
 
3561
      and once with all locales forced to C, to expose bugs. This is not 
 
3562
      trivially done within python, so for now its only triggered by running
 
3563
      Make check. Integrators and packagers who wish to check for full 
 
3564
      platform support should run 'make check' to test the source.
 
3565
      (Robert Collins)
 
3566
 
 
3567
    * Tests can now run TestSkipped if they can't execute for any reason.
 
3568
      (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
3569
      reasons - see the wiki spec ImprovingBzrTestSuite).
 
3570
 
 
3571
    * Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
3572
      paths for the transport tests. Introduce blackbox remote sftp tests that
 
3573
      test the same permutations. (Robert Collins, Robey Pointer)
 
3574
 
 
3575
    * Transport implementation tests are now independent of the local file
 
3576
      system, which allows tests for esoteric transports, and for features
 
3577
      not available in the local file system. They also repeat for variations
 
3578
      on the URL scheme that can introduce issues in the transport code,
 
3579
      see bzrlib.transport.TransportTestProviderAdapter() for this.
 
3580
      (Robert Collins).
 
3581
 
 
3582
    * ``TestCase.build_tree`` uses the transport interface to build trees,
 
3583
      pass in a transport parameter to give it an existing connection.
 
3584
      (Robert Collins).
 
3585
 
 
3586
  INTERNALS:
 
3587
 
 
3588
    * WorkingTree.pull has been split across Branch and WorkingTree,
 
3589
      to allow Branch only pulls. (Robert Collins)
 
3590
 
 
3591
    * ``commands.display_command`` now returns the result of the decorated 
 
3592
      function. (Robert Collins)
 
3593
 
 
3594
    * LocationConfig now has a ``set_user_option(key, value)`` call to save
 
3595
      a setting in its matching location section (a new one is created
 
3596
      if needed). (Robert Collins)
 
3597
 
 
3598
    * Branch has two new methods, ``get_push_location`` and
 
3599
      ``set_push_location`` to respectively, get and set the push location.
 
3600
      (Robert Collins)
 
3601
 
 
3602
    * ``commands.register_command`` now takes an optional flag to signal that
 
3603
      the registrant is planning to decorate an existing command. When 
 
3604
      given multiple plugins registering a command is not an error, and
 
3605
      the original command class (whether built in or a plugin based one) is
 
3606
      returned to the caller. There is a new error 'MustUseDecorated' for
 
3607
      signalling when a wrapping command should switch to the original
 
3608
      version. (Robert Collins)
 
3609
 
 
3610
    * Some option parsing errors will raise 'BzrOptionError', allowing 
 
3611
      granular detection for decorating commands. (Robert Collins).
 
3612
 
 
3613
    * ``Branch.read_working_inventory`` has moved to
 
3614
      ``WorkingTree.read_working_inventory``. This necessitated changes to
 
3615
      ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
3616
      WorkingTree as well. To make it clear that a WorkingTree cannot always
 
3617
      be obtained ``Branch.working_tree()`` will raise
 
3618
      ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
3619
 
 
3620
    * All pending merges operations from Branch are now on WorkingTree.
 
3621
      (Robert Collins)
 
3622
 
 
3623
    * The follow operations from Branch have moved to WorkingTree::
 
3624
 
 
3625
          add()
 
3626
          commit()
 
3627
          move()
 
3628
          rename_one()
 
3629
          unknowns()
 
3630
 
 
3631
      (Robert Collins)
 
3632
 
 
3633
    * ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
3634
 
 
3635
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
3636
 
 
3637
    * Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin 
 
3638
      Pool)
 
3639
 
 
3640
    * ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a 
 
3641
      query method. (Robert Collins)
 
3642
 
 
3643
    * New options to read only the table-of-contents of a weave.  
 
3644
      (Denys Duchier)
 
3645
 
 
3646
    * Raise NoSuchFile when someone tries to add a non-existant file.
 
3647
      (Michael Ellerman)
 
3648
 
 
3649
    * Simplify handling of DivergedBranches in ``cmd_pull()``.
 
3650
      (Michael Ellerman)
 
3651
   
 
3652
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
3653
      is exposed as ``Branch().control_files``. Also this has been altered with the
 
3654
      controlfile pre/suffix replaced by simple method names like 'get' and
 
3655
      'put'. (Aaron Bentley, Robert Collins).
 
3656
 
 
3657
    * Deprecated functions and methods can now be marked as such using the 
 
3658
      ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
3659
      updated and will issue a DeprecationWarning using the warnings module
 
3660
      when they are used. (Robert Collins)
 
3661
 
 
3662
    * ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
3663
      for functions that need unicode strings. (Robert Collins)
 
3664
 
 
3665
bzr 0.6 2005-10-28
 
3666
==================
 
3667
 
 
3668
  IMPROVEMENTS:
 
3669
  
 
3670
    * pull now takes --verbose to show you what revisions are added or removed
 
3671
      (John A Meinel)
 
3672
 
 
3673
    * merge now takes a --show-base option to include the base text in
 
3674
      conflicts.
 
3675
      (Aaron Bentley)
 
3676
 
 
3677
    * The config files are now read using ConfigObj, so '=' should be used as
 
3678
      a separator, not ':'.
 
3679
      (Aaron Bentley)
 
3680
 
 
3681
    * New 'bzr commit --strict' option refuses to commit if there are 
 
3682
      any unknown files in the tree.  To commit, make sure all files are 
 
3683
      either ignored, added, or deleted.  (Michael Ellerman)
 
3684
 
 
3685
    * The config directory is now ~/.bazaar, and there is a single file 
 
3686
      ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
3687
      (Robert Collins)
 
3688
 
 
3689
    * 'bzr add' no longer takes a --verbose option, and a --quiet option
 
3690
      has been added that suppresses all output.
 
3691
 
 
3692
    * Improved zsh completion support in contrib/zsh, from Clint
 
3693
      Adams.
 
3694
 
 
3695
    * Builtin 'bzr annotate' command, by Martin Pool with improvements from 
 
3696
      Goffredo Baroncelli.
 
3697
    
 
3698
    * 'bzr check' now accepts -v for verbose reporting, and checks for
 
3699
      ghosts in the branch. (Robert Collins)
 
3700
 
 
3701
    * New command 're-sign' which will regenerate the gpg signature for 
 
3702
      a revision. (Robert Collins)
 
3703
 
 
3704
    * If you set ``check_signatures=require`` for a path in 
 
3705
      ``~/.bazaar/branches.conf`` then bzr will invoke your
 
3706
      ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
3707
      of your commit. (Robert Collins)
 
3708
 
 
3709
    * New sftp transport, based on Paramiko.  (Robey Pointer)
 
3710
 
 
3711
    * 'bzr pull' now accepts '--clobber' which will discard local changes
 
3712
      and make this branch identical to the source branch. (Robert Collins)
 
3713
 
 
3714
    * Just give a quieter warning if a plugin can't be loaded, and 
 
3715
      put the details in .bzr.log.  (Martin Pool)
 
3716
 
 
3717
    * 'bzr branch' will now set the branch-name to the last component of the
 
3718
      output directory, if one was supplied.
 
3719
 
 
3720
    * If the option ``post_commit`` is set to one (or more) python function
 
3721
      names (must be in the bzrlib namespace), then they will be invoked
 
3722
      after the commit has completed, with the branch and ``revision_id`` as
 
3723
      parameters. (Robert Collins)
 
3724
 
 
3725
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
3726
 
 
3727
    * --merge-type weave is now supported for file contents.  Tree-shape
 
3728
      changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
3729
 
 
3730
    * 'bzr check' allows the first revision on revision-history to have
 
3731
      parents - something that is expected for cheap checkouts, and occurs
 
3732
      when conversions from baz do not have all history.  (Robert Collins).
 
3733
 
 
3734
   * 'bzr merge' can now graft unrelated trees together, if your specify
 
3735
     0 as a base. (Aaron Bentley)
 
3736
 
 
3737
   * 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
3738
     (Aaron Bentley)
 
3739
 
 
3740
    * Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
3741
 
 
3742
   * 'bzr merge --reprocess' minimizes conflicts
 
3743
 
 
3744
  TESTING:
 
3745
 
 
3746
    * The 'bzr selftest --pattern' option for has been removed, now 
 
3747
      test specifiers on the command line can be simple strings, or 
 
3748
      regexps, or both. (Robert Collins)
 
3749
 
 
3750
    * Passing -v to selftest will now show the time each test took to 
 
3751
      complete, which will aid in analysing performance regressions and
 
3752
      related questions. (Robert Collins)
 
3753
 
 
3754
    * 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
3755
      is given. (Martin Pool)
 
3756
 
 
3757
    * There is a new method for TestCaseInTempDir, assertFileEqual, which
 
3758
      will check that a given content is equal to the content of the named
 
3759
      file. (Robert Collins)
 
3760
 
 
3761
    * Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
3762
      (Martin Pool)
 
3763
 
 
3764
  INTERNALS:
 
3765
 
 
3766
    * New 'testament' command and concept for making gpg-signatures 
 
3767
      of revisions that are not tied to a particular internal
 
3768
      representation.  (Martin Pool).
 
3769
 
 
3770
    * Per-revision properties ('revprops') as key-value associated 
 
3771
      strings on each revision created when the revision is committed.
 
3772
      Intended mainly for the use of external tools.  (Martin Pool).
 
3773
 
 
3774
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
3775
      (Robert Collins)
 
3776
 
 
3777
    * Improved command line option definitions allowing explanations
 
3778
      for individual options, among other things.  Contributed by 
 
3779
      Magnus Therning.
 
3780
 
 
3781
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
3782
      Configuration is now done via the config.Config interface:
 
3783
      Depending on whether you have a Branch, a Location or no information
 
3784
      available, construct a ``*Config``, and use its ``signature_checking``,
 
3785
      ``username`` and ``user_email`` methods. (Robert Collins)
 
3786
 
 
3787
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
3788
      they are made available for other plugins to use. You should not 
 
3789
      import other plugins during the ``__init__`` of your plugin though, as 
 
3790
      no ordering is guaranteed, and the plugins directory is not on the
 
3791
      python path. (Robert Collins)
 
3792
 
 
3793
    * Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
3794
      no longer takes an inventory, rather it takes an option branch
 
3795
      parameter, and if None is given will open the branch at basedir 
 
3796
      implicitly. (Robert Collins)
 
3797
 
 
3798
    * Cleaner exception structure and error reporting.  Suggested by 
 
3799
      Scott James Remnant.  (Martin Pool)
 
3800
 
 
3801
    * Branch.remove has been moved to WorkingTree, which has also gained
 
3802
      ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
3803
      (Robert Collins)
 
3804
 
 
3805
    * Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
3806
      added to the branch module. Use these to cause a function to run in a
 
3807
      read or write lock respectively. (Robert Collins)
 
3808
 
 
3809
    * ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
3810
      which allows direct access to the common case of 'get me this file
 
3811
      from its branch'. (Robert Collins)
 
3812
 
 
3813
    * Transports can register using ``register_lazy_transport``, and they 
 
3814
      will be loaded when first used.  (Martin Pool)
 
3815
 
 
3816
    * 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
3817
      A new option to WorkingTree.pull has been added, clobber, which will
 
3818
      ignore diverged history and pull anyway.
 
3819
      (Robert Collins)
 
3820
 
 
3821
    * config.Config has a ``get_user_option`` call that accepts an option name.
 
3822
      This will be looked up in branches.conf and bazaar.conf as normal.
 
3823
      It is intended that this be used by plugins to support options - 
 
3824
      options of built in programs should have specific methods on the config.
 
3825
      (Robert Collins)
 
3826
 
 
3827
    * ``merge.merge_inner`` now has tempdir as an optional parameter.
 
3828
      (Robert Collins)
 
3829
 
 
3830
    * Tree.kind is not recorded at the top level of the hierarchy, as it was
 
3831
      missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
3832
      (Robert Collins)
 
3833
 
 
3834
    * ``WorkingTree.__del__`` has been removed, it was non deterministic and not 
 
3835
      doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
3836
      about future directions. (Robert Collins/Martin Pool)
 
3837
 
 
3838
    * bzrlib.transport.http has been modified so that only 404 urllib errors
 
3839
      are returned as NoSuchFile. Other exceptions will propogate as normal.
 
3840
      This allows debuging of actual errors. (Robert Collins)
 
3841
 
 
3842
    * bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
3843
      to apis like 'put', 'get' and 'has'. This is to provide consistent
 
3844
      behaviour - it operates on url's only. (Robert Collins)
 
3845
 
 
3846
    * Transports can register using ``register_lazy_transport``, and they 
 
3847
      will be loaded when first used.  (Martin Pool)
 
3848
 
 
3849
    * ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
3850
      is called by ``merge_inner``. This is so that the conflict count can be 
 
3851
      retrieved (and potentially manipulated) before returning to the caller
 
3852
      of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
3853
      caller. (Robert Collins)
 
3854
 
 
3855
    * ``revision.revision_graph`` can handle having only partial history for
 
3856
      a revision - that is no revisions in the graph with no parents.
 
3857
      (Robert Collins).
 
3858
 
 
3859
    * New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
3860
      produce a branch and a list of paths, relative to that branch
 
3861
      (Aaron Bentley)
 
3862
 
 
3863
    * New TestCase.addCleanup facility.
 
3864
 
 
3865
    * New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
3866
      which can be used by programs importing bzrlib.
 
3867
 
 
3868
  BUG FIXES:
 
3869
 
 
3870
    * Better handling of branches in directories with non-ascii names. 
 
3871
      (Joel Rosdahl, Panagiotis Papadakos)
 
3872
 
 
3873
    * Upgrades of trees with no commits will not fail due to accessing
 
3874
      [-1] in the revision-history. (Andres Salomon)
 
3875
 
 
3876
 
 
3877
bzr 0.1.1 2005-10-12
 
3878
====================
 
3879
 
 
3880
  BUG FIXES:
 
3881
 
 
3882
    * Fix problem in pulling over http from machines that do not 
 
3883
      allow directories to be listed.
 
3884
 
 
3885
    * Avoid harmless warning about invalid hash cache after 
 
3886
      upgrading branch format.
 
3887
 
 
3888
  PERFORMANCE: 
 
3889
  
 
3890
    * Avoid some unnecessary http operations in branch and pull.
 
3891
 
 
3892
 
 
3893
bzr 0.1 2005-10-11
 
3894
==================
 
3895
 
 
3896
  NOTES:
 
3897
 
 
3898
    * 'bzr branch' over http initially gives a very high estimate
 
3899
      of completion time but it should fall as the first few 
 
3900
      revisions are pulled in.  branch is still slow on 
 
3901
      high-latency connections.
 
3902
 
 
3903
  BUG FIXES:
 
3904
  
 
3905
    * bzr-man.py has been updated to work again. Contributed by
 
3906
      Rob Weir.
 
3907
 
 
3908
    * Locking is now done with fcntl.lockf which works with NFS
 
3909
      file systems. Contributed by Harald Meland.
 
3910
 
 
3911
    * When a merge encounters a file that has been deleted on
 
3912
      one side and modified on the other, the old contents are
 
3913
      written out to foo.BASE and foo.SIDE, where SIDE is this
 
3914
      or OTHER. Contributed by Aaron Bentley.
 
3915
 
 
3916
    * Export was choosing incorrect file paths for the content of
 
3917
      the tarball, this has been fixed by Aaron Bentley.
 
3918
 
 
3919
    * Commit will no longer commit without a log message, an 
 
3920
      error is returned instead. Contributed by Jelmer Vernooij.
 
3921
 
 
3922
    * If you commit a specific file in a sub directory, any of its
 
3923
      parent directories that are added but not listed will be 
 
3924
      automatically included. Suggested by Michael Ellerman.
 
3925
 
 
3926
    * bzr commit and upgrade did not correctly record new revisions
 
3927
      for files with only a change to their executable status.
 
3928
      bzr will correct this when it encounters it. Fixed by
 
3929
      Robert Collins
 
3930
 
 
3931
    * HTTP tests now force off the use of ``http_proxy`` for the duration.
 
3932
      Contributed by Gustavo Niemeyer.
 
3933
 
 
3934
    * Fix problems in merging weave-based branches that have 
 
3935
      different partial views of history.
 
3936
 
 
3937
    * Symlink support: working with symlinks when not in the root of a 
 
3938
      bzr tree was broken, patch from Scott James Remnant.
 
3939
 
 
3940
  IMPROVEMENTS:
 
3941
 
 
3942
    * 'branch' now accepts a --basis parameter which will take advantage
 
3943
      of local history when making a new branch. This allows faster 
 
3944
      branching of remote branches. Contributed by Aaron Bentley.
 
3945
 
 
3946
    * New tree format based on weave files, called version 5.
 
3947
      Existing branches can be upgraded to this format using 
 
3948
      'bzr upgrade'.
 
3949
 
 
3950
    * Symlinks are now versionable. Initial patch by 
 
3951
      Erik Toubro Nielsen, updated to head by Robert Collins.
 
3952
 
 
3953
    * Executable bits are tracked on files. Patch from Gustavo
 
3954
      Niemeyer.
 
3955
 
 
3956
    * 'bzr status' now shows unknown files inside a selected directory.
 
3957
      Patch from Heikki Paajanen.
 
3958
 
 
3959
    * Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
3960
      and 'resolve' have needed added, which list and remove those 
 
3961
      merge conflicts respectively. A conflicted tree cannot be committed
 
3962
      in. Contributed by Aaron Bentley.
 
3963
 
 
3964
    * 'rm' is now an alias for 'remove'.
 
3965
 
 
3966
    * Stores now split out their content in a single byte prefixed hash,
 
3967
      dropping the density of files per directory by 256. Contributed by
 
3968
      Gustavo Niemeyer.
 
3969
 
 
3970
    * 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
3971
      Contributed by Robert Collins.
 
3972
 
 
3973
    * 'bzr log' with the default formatter will show merged revisions,
 
3974
      indented to the right. Initial implementation contributed by Gustavo
 
3975
      Niemeyer, made incremental by Robert Collins.
 
3976
 
 
3977
 
 
3978
  INTERNALS:
 
3979
 
 
3980
    * Test case failures have the exception printed after the log 
 
3981
      for your viewing pleasure.
 
3982
 
 
3983
    * InventoryEntry is now an abstract base class, use one of the
 
3984
      concrete InventoryDirectory etc classes instead.
 
3985
 
 
3986
    * Branch raises an UnsupportedFormatError when it detects a 
 
3987
      bzr branch it cannot understand. This allows for precise
 
3988
      handling of such circumstances.
 
3989
 
 
3990
    * Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
3991
      list of their ids and ``parent_sha1s`` is a list of their corresponding
 
3992
      sha1s (for old branches only at the moment.)
 
3993
 
 
3994
    * New method-object style interface for Commit() and Fetch().
 
3995
 
 
3996
    * Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
3997
      we call them revisions not patches.
 
3998
 
 
3999
    * Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
4000
      directory is created if it doesn't exist.
 
4001
 
 
4002
    * Inventories now identify the files which were present by 
 
4003
      giving the revision *of that file*.
 
4004
 
 
4005
    * Inventory and Revision XML contains a version identifier.  
 
4006
      This must be consistent with the overall branch version
 
4007
      but allows for more flexibility in future upgrades.
 
4008
 
 
4009
  TESTING:
 
4010
 
 
4011
    * Removed testsweet module so that tests can be run after 
 
4012
      bzr installed by 'bzr selftest'.
 
4013
 
 
4014
    * 'bzr selftest' command-line arguments can now be partial ids
 
4015
      of tests to run, e.g. ``bzr selftest test_weave``
 
4016
 
 
4017
      
 
4018
bzr 0.0.9 2005-09-23
 
4019
====================
 
4020
 
 
4021
  BUG FIXES:
 
4022
 
 
4023
    * Fixed "branch -r" option.
 
4024
 
 
4025
    * Fix remote access to branches containing non-compressed history.
 
4026
      (Robert Collins).
 
4027
 
 
4028
    * Better reliability of http server tests.  (John Arbash-Meinel)
 
4029
 
 
4030
    * Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
4031
   
 
4032
    * Various minor bug in windows support have been fixed, largely in the
 
4033
      test suite. Contributed by Alexander Belchenko.
 
4034
 
 
4035
  IMPROVEMENTS:
 
4036
 
 
4037
    * Status now accepts a -r argument to give status between chosen
 
4038
      revisions. Contributed by Heikki Paajanen.
 
4039
 
 
4040
    * Revision arguments no longer use +/-/= to control ranges, instead
 
4041
      there is a 'before' namespace, which limits the successive namespace.
 
4042
      For example '$ bzr log -r date:yesterday..before:date:today' will
 
4043
      select everything from yesterday and before today. Contributed by
 
4044
      Robey Pointer
 
4045
 
 
4046
    * There is now a bzr.bat file created by distutils when building on 
 
4047
      Windows. Contributed by Alexander Belchenko.
 
4048
 
 
4049
  INTERNALS:
 
4050
 
 
4051
    * Removed uuid() as it was unused.
 
4052
 
 
4053
    * Improved 'fetch' code for pulling revisions from one branch into
 
4054
      another (used by pull, merged, etc.)
 
4055
 
 
4056
 
 
4057
bzr 0.0.8 2005-09-20
 
4058
====================
 
4059
 
 
4060
  IMPROVEMENTS:
 
4061
 
 
4062
    * Adding a file whose parent directory is not versioned will
 
4063
      implicitly add the parent, and so on up to the root. This means
 
4064
      you should never need to explictly add a directory, they'll just
 
4065
      get added when you add a file in the directory.  Contributed by
 
4066
      Michael Ellerman.
 
4067
 
 
4068
    * Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
4069
      (Nir Soffer)
 
4070
 
 
4071
    * If you set ``BZR_EDITOR`` in the environment, it is checked in
 
4072
      preference to EDITOR and the config file for the interactive commit
 
4073
      editing program. Related to this is a bugfix where a missing program
 
4074
      set in EDITOR would cause editing to fail, now the fallback program
 
4075
      for the operating system is still tried.
 
4076
 
 
4077
    * Files that are not directories/symlinks/regular files will no longer
 
4078
      cause bzr to fail, it will just ignore them by default. You cannot add
 
4079
      them to the tree though - they are not versionable.
 
4080
 
 
4081
 
 
4082
  INTERNALS:
 
4083
 
 
4084
    * Refactor xml packing/unpacking.
 
4085
 
 
4086
  BUG FIXES: 
 
4087
 
 
4088
    * Fixed 'bzr mv' by Ollie Rutherfurd.
 
4089
 
 
4090
    * Fixed strange error when trying to access a nonexistent http
 
4091
      branch.
 
4092
 
 
4093
    * Make sure that the hashcache gets written out if it can't be
 
4094
      read.
 
4095
 
 
4096
 
 
4097
  PORTABILITY:
 
4098
 
 
4099
    * Various Windows fixes from Ollie Rutherfurd.
 
4100
 
 
4101
    * Quieten warnings about locking; patch from Matt Lavin.
 
4102
 
 
4103
 
 
4104
bzr-0.0.7 2005-09-02
 
4105
====================
 
4106
 
 
4107
  NEW FEATURES:
 
4108
 
 
4109
    * ``bzr shell-complete`` command contributed by Clint Adams to
 
4110
      help with intelligent shell completion.
 
4111
 
 
4112
    * New expert command ``bzr find-merge-base`` for debugging merges.
 
4113
 
 
4114
 
 
4115
  ENHANCEMENTS:
 
4116
 
 
4117
    * Much better merge support.
 
4118
 
 
4119
    * merge3 conflicts are now reported with markers like '<<<<<<<'
 
4120
      (seven characters) which is the same as CVS and pleases things
 
4121
      like emacs smerge.
 
4122
 
 
4123
 
 
4124
  BUG FIXES:
 
4125
 
 
4126
    * ``bzr upgrade`` no longer fails when trying to fix trees that
 
4127
      mention revisions that are not present.
 
4128
 
 
4129
    * Fixed bugs in listing plugins from ``bzr plugins``.
 
4130
 
 
4131
    * Fix case of $EDITOR containing options for the editor.
 
4132
 
 
4133
    * Fix log -r refusing to show the last revision.
 
4134
      (Patch from Goffredo Baroncelli.)
 
4135
 
 
4136
 
 
4137
  CHANGES:
 
4138
 
 
4139
    * ``bzr log --show-ids`` shows the revision ids of all parents.
 
4140
 
 
4141
    * Externally provided commands on your $BZRPATH no longer need
 
4142
      to recognize --bzr-usage to work properly, and can just handle
 
4143
      --help themselves.
 
4144
 
 
4145
 
 
4146
  LIBRARY:
 
4147
 
 
4148
    * Changed trace messages to go through the standard logging
 
4149
      framework, so that they can more easily be redirected by
 
4150
      libraries.
 
4151
 
 
4152
 
 
4153
 
 
4154
bzr-0.0.6 2005-08-18
 
4155
====================
 
4156
 
 
4157
  NEW FEATURES:
 
4158
 
 
4159
    * Python plugins, automatically loaded from the directories on
 
4160
      ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
4161
 
 
4162
    * New 'bzr mkdir' command.
 
4163
 
 
4164
    * Commit mesage is fetched from an editor if not given on the
 
4165
      command line; patch from Torsten Marek.
 
4166
 
 
4167
    * ``bzr log -m FOO`` displays commits whose message matches regexp 
 
4168
      FOO.
 
4169
      
 
4170
    * ``bzr add`` with no arguments adds everything under the current directory.
 
4171
 
 
4172
    * ``bzr mv`` does move or rename depending on its arguments, like
 
4173
      the Unix command.
 
4174
 
 
4175
    * ``bzr missing`` command shows a summary of the differences
 
4176
      between two trees.  (Merged from John Arbash-Meinel.)
 
4177
 
 
4178
    * An email address for commits to a particular tree can be
 
4179
      specified by putting it into .bzr/email within a branch.  (Based
 
4180
      on a patch from Heikki Paajanen.)
 
4181
 
 
4182
 
 
4183
  ENHANCEMENTS:
 
4184
 
 
4185
    * Faster working tree operations.
 
4186
 
 
4187
 
 
4188
  CHANGES:
 
4189
 
 
4190
    * 3rd-party modules shipped with bzr are copied within the bzrlib
 
4191
      python package, so that they can be installed by the setup
 
4192
      script without clashing with anything already existing on the
 
4193
      system.  (Contributed by Gustavo Niemeyer.)
 
4194
 
 
4195
    * Moved plugins directory to bzrlib/, so that there's a standard
 
4196
      plugin directory which is not only installed with bzr itself but
 
4197
      is also available when using bzr from the development tree.
 
4198
      ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
4199
      standard plugins directory.
 
4200
 
 
4201
    * When exporting to a tarball with ``bzr export --format tgz``, put 
 
4202
      everything under a top directory rather than dumping it into the
 
4203
      current directory.   This can be overridden with the ``--root`` 
 
4204
      option.  Patch from William Dodé and John Meinel.
 
4205
 
 
4206
    * New ``bzr upgrade`` command to upgrade the format of a branch,
 
4207
      replacing ``bzr check --update``.
 
4208
 
 
4209
    * Files within store directories are no longer marked readonly on
 
4210
      disk.
 
4211
 
 
4212
    * Changed ``bzr log`` output to a more compact form suggested by
 
4213
      John A Meinel.  Old format is available with the ``--long`` or
 
4214
      ``-l`` option, patched by William Dodé.
 
4215
 
 
4216
    * By default the commit command refuses to record a revision with
 
4217
      no changes unless the ``--unchanged`` option is given.
 
4218
 
 
4219
    * The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
4220
      line options must come before the command name because they 
 
4221
      affect what commands are available; all other options must come 
 
4222
      after the command name because their interpretation depends on
 
4223
      it.
 
4224
 
 
4225
    * ``branch`` and ``clone`` added as aliases for ``branch``.
 
4226
 
 
4227
    * Default log format is back to the long format; the compact one
 
4228
      is available with ``--short``.
 
4229
      
 
4230
      
 
4231
  BUG FIXES:
 
4232
  
 
4233
    * Fix bugs in committing only selected files or within a subdirectory.
 
4234
 
 
4235
 
 
4236
bzr-0.0.5  2005-06-15
 
4237
=====================
 
4238
  
 
4239
  CHANGES:
 
4240
 
 
4241
    * ``bzr`` with no command now shows help rather than giving an
 
4242
      error.  Suggested by Michael Ellerman.
 
4243
 
 
4244
    * ``bzr status`` output format changed, because svn-style output
 
4245
      doesn't really match the model of bzr.  Now files are grouped by
 
4246
      status and can be shown with their IDs.  ``bzr status --all``
 
4247
      shows all versioned files and unknown files but not ignored files.
 
4248
 
 
4249
    * ``bzr log`` runs from most-recent to least-recent, the reverse
 
4250
      of the previous order.  The previous behaviour can be obtained
 
4251
      with the ``--forward`` option.
 
4252
        
 
4253
    * ``bzr inventory`` by default shows only filenames, and also ids
 
4254
      if ``--show-ids`` is given, in which case the id is the second
 
4255
      field.
 
4256
 
 
4257
 
 
4258
  ENHANCEMENTS:
 
4259
 
 
4260
    * New 'bzr whoami --email' option shows only the email component
 
4261
      of the user identification, from Jo Vermeulen.
 
4262
 
 
4263
    * New ``bzr ignore PATTERN`` command.
 
4264
 
 
4265
    * Nicer error message for broken pipe, interrupt and similar
 
4266
      conditions that don't indicate an internal error.
 
4267
 
 
4268
    * Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
4269
 
 
4270
    * Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
4271
      either read or write mode.
 
4272
 
 
4273
    * New option ``bzr log --show-ids`` shows revision and file ids.
 
4274
 
 
4275
    * New usage ``bzr log FILENAME`` shows only revisions that
 
4276
      affected that file.
 
4277
 
 
4278
    * Changed format for describing changes in ``bzr log -v``.
 
4279
 
 
4280
    * New option ``bzr commit --file`` to take a message from a file,
 
4281
      suggested by LarstiQ.
 
4282
 
 
4283
    * New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
4284
      Oler.  File may be in a branch other than the working directory.
 
4285
 
 
4286
    * ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
4287
      a filename.
 
4288
 
 
4289
    * Commands can now be defined by external programs or scripts
 
4290
      in a directory on $BZRPATH.
 
4291
 
 
4292
    * New "stat cache" avoids reading the contents of files if they 
 
4293
      haven't changed since the previous time.
 
4294
 
 
4295
    * If the Python interpreter is too old, try to find a better one
 
4296
      or give an error.  Based on a patch from Fredrik Lundh.
 
4297
 
 
4298
    * New optional parameter ``bzr info [BRANCH]``.
 
4299
 
 
4300
    * New form ``bzr commit SELECTED`` to commit only selected files.
 
4301
 
 
4302
    * New form ``bzr log -r FROM:TO`` shows changes in selected
 
4303
      range; contributed by John A Meinel.
 
4304
 
 
4305
    * New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
4306
      options through to an external GNU diff.
 
4307
 
 
4308
    * New option ``bzr add --no-recurse`` to add a directory but not
 
4309
      their contents.
 
4310
 
 
4311
    * ``bzr --version`` now shows more information if bzr is being run
 
4312
      from a branch.
 
4313
 
 
4314
  
 
4315
  BUG FIXES:
 
4316
 
 
4317
    * Fixed diff format so that added and removed files will be
 
4318
      handled properly by patch.  Fix from Lalo Martins.
 
4319
 
 
4320
    * Various fixes for files whose names contain spaces or other
 
4321
      metacharacters.
 
4322
 
 
4323
 
 
4324
  TESTING:
 
4325
 
 
4326
    * Converted black-box test suites from Bourne shell into Python;
 
4327
      now run using ``./testbzr``.  Various structural improvements to
 
4328
      the tests.
 
4329
 
 
4330
    * testbzr by default runs the version of bzr found in the same
 
4331
      directory as the tests, or the one given as the first parameter.
 
4332
 
 
4333
    * testbzr also runs the internal tests, so the only command
 
4334
      required to check is just ``./testbzr``.
 
4335
 
 
4336
    * testbzr requires python2.4, but can be used to test bzr running
 
4337
      under a different version.
 
4338
 
 
4339
    * Tests added for many other changes in this release.
 
4340
 
 
4341
 
 
4342
  INTERNAL:
 
4343
 
 
4344
    * Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
4345
 
 
4346
    * Refactor command functions into Command objects based on HCT by
 
4347
      Scott James Remnant.
 
4348
 
 
4349
    * Better help messages for many commands.
 
4350
 
 
4351
    * Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
4352
      this is called trace messages are just discarded.
 
4353
 
 
4354
    * New internal function ``find_touching_revisions()`` and hidden
 
4355
      command touching-revisions trace the changes to a given file.
 
4356
 
 
4357
    * Simpler and faster ``compare_inventories()`` function.
 
4358
 
 
4359
    * ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
4360
 
 
4361
    * New AtomicFile class.
 
4362
 
 
4363
    * New developer commands ``added``, ``modified``.
 
4364
 
 
4365
 
 
4366
  PORTABILITY:
 
4367
 
 
4368
    * Cope on Windows on python2.3 by using the weaker random seed.
 
4369
      2.4 is now only recommended.
 
4370
 
 
4371
 
 
4372
bzr-0.0.4  2005-04-22
 
4373
=====================
 
4374
 
 
4375
  ENHANCEMENTS:
 
4376
 
 
4377
    * 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
4378
      basic.  Patch from QuantumG.
 
4379
 
 
4380
    * More default ignore patterns.
 
4381
 
 
4382
    * New 'bzr log --verbose' shows a list of files changed in the
 
4383
      changeset.  Patch from Sebastian Cote.
 
4384
 
 
4385
    * Roll over ~/.bzr.log if it gets too large.
 
4386
 
 
4387
    * Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
4388
      by Jason Diamon.
 
4389
 
 
4390
    * New 'bzr help commands' based on a patch from Denys Duchier.
 
4391
 
 
4392
 
 
4393
  CHANGES:
 
4394
 
 
4395
    * User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
4396
      or $EMAIL.  All are decoded by the locale preferred encoding.
 
4397
      If none of these are present user@hostname is used.  The host's
 
4398
      fully-qualified name is not used because that tends to fail when
 
4399
      there are DNS problems.
 
4400
 
 
4401
    * New 'bzr whoami' command instead of username user-email.
 
4402
 
 
4403
 
 
4404
  BUG FIXES: 
 
4405
 
 
4406
    * Make commit safe for hardlinked bzr trees.
 
4407
 
 
4408
    * Some Unicode/locale fixes.
 
4409
 
 
4410
    * Partial workaround for ``difflib.unified_diff`` not handling
 
4411
      trailing newlines properly.
 
4412
 
 
4413
 
 
4414
  INTERNAL:
 
4415
 
 
4416
    * Allow docstrings for help to be in PEP0257 format.  Patch from
 
4417
      Matt Brubeck.
 
4418
 
 
4419
    * More tests in test.sh.
 
4420
 
 
4421
    * Write profile data to a temporary file not into working
 
4422
      directory and delete it when done.
 
4423
 
 
4424
    * Smaller .bzr.log with process ids.
 
4425
 
 
4426
 
 
4427
  PORTABILITY:
 
4428
 
 
4429
    * Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
4430
      Bennetts.
 
4431
 
 
4432
    * Some improvements in handling paths on Windows, based on a patch
 
4433
      from QuantumG.
 
4434
 
 
4435
 
 
4436
bzr-0.0.3  2005-04-06
 
4437
=====================
 
4438
 
 
4439
  ENHANCEMENTS:
 
4440
 
 
4441
    * New "directories" internal command lists versioned directories
 
4442
      in the tree.
 
4443
 
 
4444
    * Can now say "bzr commit --help".
 
4445
 
 
4446
    * New "rename" command to rename one file to a different name
 
4447
      and/or directory.
 
4448
 
 
4449
    * New "move" command to move one or more files into a different
 
4450
      directory.
 
4451
 
 
4452
    * New "renames" command lists files renamed since base revision.
 
4453
 
 
4454
    * New cat command contributed by janmar.
 
4455
 
 
4456
  CHANGES:
 
4457
 
 
4458
    * .bzr.log is placed in $HOME (not pwd) and is always written in
 
4459
      UTF-8.  (Probably not a completely good long-term solution, but
 
4460
      will do for now.)
 
4461
 
 
4462
  PORTABILITY:
 
4463
 
 
4464
    * Workaround for difflib bug in Python 2.3 that causes an
 
4465
      exception when comparing empty files.  Reported by Erik Toubro
 
4466
      Nielsen.
 
4467
 
 
4468
  INTERNAL:
 
4469
 
 
4470
    * Refactored inventory storage to insert a root entry at the top.
 
4471
 
 
4472
  TESTING:
 
4473
 
 
4474
    * Start of shell-based black-box testing in test.sh.
12530
4475
 
12531
4476
 
12532
4477
bzr-0.0.2.1
12533
 
###########
12534
 
 
12535
 
Portability
12536
 
***********
12537
 
 
12538
 
* Win32 fixes from Steve Brown.
12539
 
 
12540
 
 
12541
 
bzr-0.0.2
12542
 
#########
12543
 
 
12544
 
:Codename: "black cube"
12545
 
:Released: 2005-03-31
12546
 
 
12547
 
Enhancements
12548
 
************
12549
 
 
12550
 
* Default ignore list extended (see bzrlib/__init__.py).
12551
 
 
12552
 
* Patterns in .bzrignore are now added to the default ignore list,
12553
 
  rather than replacing it.
12554
 
 
12555
 
* Ignore list isn't reread for every file.
12556
 
 
12557
 
* More help topics.
12558
 
 
12559
 
* Reinstate the 'bzr check' command to check invariants of the
12560
 
  branch.
12561
 
 
12562
 
* New 'ignored' command lists which files are ignored and why;
12563
 
  'deleted' lists files deleted in the current working tree.
12564
 
 
12565
 
* Performance improvements.
12566
 
 
12567
 
* New global --profile option.
12568
 
 
12569
 
* Ignore patterns like './config.h' now correctly match files in
12570
 
  the root directory only.
12571
 
 
12572
 
 
12573
 
bzr-0.0.1
12574
 
#########
12575
 
 
12576
 
:Released:  2005-03-26
12577
 
 
12578
 
Enhancements
12579
 
************
12580
 
 
12581
 
* More information from info command.
12582
 
 
12583
 
* Can now say "bzr help COMMAND" for more detailed help.
12584
 
 
12585
 
* Less file flushing and faster performance when writing logs and
12586
 
  committing to stores.
12587
 
 
12588
 
* More useful verbose output from some commands.
12589
 
 
12590
 
Bug Fixes
12591
 
*********
12592
 
 
12593
 
* Fix inverted display of 'R' and 'M' during 'commit -v'.
12594
 
 
12595
 
Portability
12596
 
***********
12597
 
 
12598
 
* Include a subset of ElementTree-1.2.20040618 to make
12599
 
  installation easier.
12600
 
 
12601
 
* Fix time.localtime call to work with Python 2.3 (the minimum
12602
 
  supported).
12603
 
 
12604
 
 
12605
 
bzr-0.0.0.69
12606
 
############
12607
 
 
12608
 
:Released:  2005-03-22
12609
 
 
12610
 
Enhancements
12611
 
************
12612
 
 
12613
 
* First public release.
12614
 
 
12615
 
* Storage of local versions: init, add, remove, rm, info, log,
12616
 
  diff, status, etc.
12617
 
 
12618
 
 
12619
 
..
12620
 
   vim: tw=74 ft=rst ff=unix encoding=utf-8
 
4478
===========
 
4479
 
 
4480
  PORTABILITY:
 
4481
 
 
4482
    * Win32 fixes from Steve Brown.
 
4483
 
 
4484
 
 
4485
bzr-0.0.2  "black cube"  2005-03-31
 
4486
===================================
 
4487
 
 
4488
  ENHANCEMENTS:
 
4489
 
 
4490
    * Default ignore list extended (see bzrlib/__init__.py).
 
4491
 
 
4492
    * Patterns in .bzrignore are now added to the default ignore list,
 
4493
      rather than replacing it.
 
4494
 
 
4495
    * Ignore list isn't reread for every file.
 
4496
 
 
4497
    * More help topics.
 
4498
 
 
4499
    * Reinstate the 'bzr check' command to check invariants of the
 
4500
      branch.
 
4501
 
 
4502
    * New 'ignored' command lists which files are ignored and why;
 
4503
      'deleted' lists files deleted in the current working tree.
 
4504
 
 
4505
    * Performance improvements.
 
4506
 
 
4507
    * New global --profile option.
 
4508
    
 
4509
    * Ignore patterns like './config.h' now correctly match files in
 
4510
      the root directory only.
 
4511
 
 
4512
 
 
4513
bzr-0.0.1  2005-03-26
 
4514
=====================
 
4515
 
 
4516
  ENHANCEMENTS:
 
4517
 
 
4518
    * More information from info command.
 
4519
 
 
4520
    * Can now say "bzr help COMMAND" for more detailed help.
 
4521
 
 
4522
    * Less file flushing and faster performance when writing logs and
 
4523
      committing to stores.
 
4524
 
 
4525
    * More useful verbose output from some commands.
 
4526
 
 
4527
  BUG FIXES:
 
4528
 
 
4529
    * Fix inverted display of 'R' and 'M' during 'commit -v'.
 
4530
 
 
4531
  PORTABILITY:
 
4532
 
 
4533
    * Include a subset of ElementTree-1.2.20040618 to make
 
4534
      installation easier.
 
4535
 
 
4536
    * Fix time.localtime call to work with Python 2.3 (the minimum
 
4537
      supported).
 
4538
 
 
4539
 
 
4540
bzr-0.0.0.69  2005-03-22
 
4541
========================
 
4542
 
 
4543
  ENHANCEMENTS:
 
4544
 
 
4545
    * First public release.
 
4546
 
 
4547
    * Storage of local versions: init, add, remove, rm, info, log,
 
4548
      diff, status, etc.