/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-09-14 01:48:19 UTC
  • mfrom: (4634.6.30 remove-args_received)
  • Revision ID: pqm@pqm.ubuntu.com-20090914014819-4yshlf6ooeeqznfs
(andrew) Remove SmartServerRequest.dispatch_command,
        fix SmartServerRequest.args_received.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
Bazaar Release Notes
 
3
####################
 
4
 
 
5
 
 
6
.. contents:: List of Releases
 
7
   :depth: 1
 
8
 
 
9
In Development
 
10
##############
 
11
 
 
12
Compatibility Breaks
 
13
********************
 
14
 
 
15
New Features
 
16
************
 
17
 
 
18
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
 
19
  disable the user, site and core plugin directories.
 
20
  (Vincent Ladeuil, #412930, #316192, #145612)
 
21
 
 
22
Bug Fixes
 
23
*********
 
24
 
 
25
* Bazaar's native protocol code now correctly handles EINTR, which most
 
26
  noticeably occurs if you break in to the debugger while connected to a
 
27
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
28
  'c') and the process continues.  However, note that pressing C-\ in the
 
29
  shell may still kill the SSH process, which is bug 162509, so you must
 
30
  sent a signal to the bzr process specifically, for example by typing
 
31
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
32
 
 
33
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
34
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
35
  (Robert Collins, #416732)
 
36
 
 
37
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
38
  format" (John Arbash Meinel, #424392)
 
39
 
 
40
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
 
41
  merges are present in the working tree.
 
42
  (Vincent Ladeuil, #426344)
 
43
 
 
44
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
45
  traceback.  (Martin Pool, #109115)
 
46
 
 
47
* Conversion to 2a will create a single pack for all the new revisions (as
 
48
  long as it ran without interruption). This improves both ``bzr upgrade``
 
49
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
50
  The autopack logic that occurs every 100 revisions during local
 
51
  conversions was not returning that pack's identifier, which resulted in
 
52
  the partial packs created during the conversion not being consolidated
 
53
  at the end of the conversion process. (Robert Collins, #423818)
 
54
 
 
55
* Don't restrict the command name used to run the test suite.
 
56
  (Vincent Ladeuil, #419950)
 
57
 
 
58
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
59
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
60
  This means that when the source is fully packed, there is minimal
 
61
  overhead during the fetch, but if the source is poorly packed the result
 
62
  is a fairly well packed repository (not as good as 'bzr pack' but
 
63
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
64
 
 
65
* Network streams now decode adjacent records of the same type into a
 
66
  single stream, reducing layering churn. (Robert Collins)
 
67
 
 
68
* Prevent some kinds of incomplete data from being committed to a 2a
 
69
  repository, such as revisions without inventories or inventories without
 
70
  chk_bytes root records.
 
71
  (Andrew Bennetts, #423506)
 
72
 
 
73
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
74
  object when doing a merge, and there is limbo, or pending-deletions
 
75
  directory.  (Gary van der Merwe, #427773)
 
76
  
 
77
Improvements
 
78
************
 
79
 
 
80
Documentation
 
81
*************
 
82
 
 
83
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
84
  currently supported. (Ian Clatworthy, #422415)
 
85
 
 
86
API Changes
 
87
***********
 
88
 
 
89
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
90
  subclasses - the same as python's unittest module. (Robert Collins)
 
91
 
 
92
Internals
 
93
*********
 
94
 
 
95
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
96
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
97
  This results in a 10% speedup while reading an index.
 
98
  (John Arbash Meinel)
 
99
 
 
100
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
101
  profiling in some situations like callbacks and generators easier.
 
102
  (Robert Collins)
 
103
 
 
104
Testing
 
105
*******
 
106
 
 
107
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
108
  be output for every test. Note that this is very verbose! (Robert Collins)
 
109
 
 
110
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
111
  to be parameterised. This is not expected to break external use of test
 
112
  parameterisation, and is substantially faster. (Robert Collins)
 
113
 
 
114
 
 
115
bzr 2.0rc2 (not released yet)
 
116
#############################
 
117
 
 
118
New Features
 
119
************
 
120
 
 
121
* Added post_commit hook for mutable trees. This allows the keywords
 
122
  plugin to expand keywords on files changed by the commit.
 
123
  (Ian Clatworthy, #408841)
 
124
 
 
125
Bug Fixes
 
126
*********
 
127
 
 
128
* Bazaar's native protocol code now correctly handles EINTR, which most
 
129
  noticeably occurs if you break in to the debugger while connected to a
 
130
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
131
  'c') and the process continues.  However, note that pressing C-\ in the
 
132
  shell may still kill the SSH process, which is bug 162509, so you must
 
133
  sent a signal to the bzr process specifically, for example by typing
 
134
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
135
 
 
136
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
137
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
138
  (Robert Collins, #416732)
 
139
 
 
140
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
141
  format" (John Arbash Meinel, #424392)
 
142
 
 
143
* ``bzr log stacked-branch`` shows the full log including
 
144
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
145
  (John Arbash Meinel, #419241)
 
146
 
 
147
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
148
  traceback.  (Martin Pool, #109115)
 
149
 
 
150
* Conversion to 2a will create a single pack for all the new revisions (as
 
151
  long as it ran without interruption). This improves both ``bzr upgrade``
 
152
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
153
  The autopack logic that occurs every 100 revisions during local
 
154
  conversions was not returning that pack's identifier, which resulted in
 
155
  the partial packs created during the conversion not being consolidated
 
156
  at the end of the conversion process. (Robert Collins, #423818)
 
157
 
 
158
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
159
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
160
  This means that when the source is fully packed, there is minimal
 
161
  overhead during the fetch, but if the source is poorly packed the result
 
162
  is a fairly well packed repository (not as good as 'bzr pack' but
 
163
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
164
 
 
165
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
166
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
167
  (John Arbash Meinel, #419241)
 
168
 
 
169
* ``groupcompress`` sort order is now more stable, rather than relying on
 
170
  ``topo_sort`` ordering. The implementation is now
 
171
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
172
 
 
173
* Local data conversion will generate correct deltas. This is a critical
 
174
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
175
  converting repositories. (Robert Collins, #422849)
 
176
 
 
177
* Network streams now decode adjacent records of the same type into a
 
178
  single stream, reducing layering churn. (Robert Collins)
 
179
 
 
180
* Prevent some kinds of incomplete data from being committed to a 2a
 
181
  repository, such as revisions without inventories, a missing chk_bytes
 
182
  record for an inventory, or a missing text referenced by an inventory.
 
183
  (Andrew Bennetts, #423506, #406687)
 
184
  
 
185
Documentation
 
186
*************
 
187
 
 
188
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
189
  older smart servers.
 
190
  (Andrew Bennetts, #418931)
 
191
 
 
192
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
193
  currently supported. (Ian Clatworthy, #422415)
 
194
 
 
195
* The main table of contents now provides links to the new Migration Docs
 
196
  and Plugins Guide. (Ian Clatworthy)
 
197
 
 
198
 
 
199
bzr 2.0rc1
 
200
##########
 
201
 
 
202
 
 
203
:Codename: no worries
 
204
:2.0rc1: 2009-08-26
 
205
 
 
206
This release of Bazaar makes 2a 'brisbane-core' format the
 
207
default.  Most of the work in this release now focuses on bug
 
208
fixes and stabilization, covering both 2a and previous formats.
 
209
 
 
210
The Bazaar team decided that 2.0 will be a long-term supported
 
211
release, with bugfix-only releases based on it continuing for at
 
212
least six months or until the following stable release (we said
 
213
that previously, but that's worth repeating).
 
214
 
 
215
Compatibility Breaks
 
216
********************
 
217
 
 
218
* The default format for bzr is now ``2a``. This format brings many
 
219
  significant performance and size improvements. bzr can pull from
 
220
  any existing repository into a ``2a`` one, but can only transfer
 
221
  into ``rich-root`` repositories from ``2a``. The Upgrade guide
 
222
  has more information about this change. (Robert Collins)
 
223
 
 
224
* On Windows auto-detection of Putty's plink.exe is disabled.
 
225
  Default SSH client for Windows is paramiko. User still can force
 
226
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
227
  (#414743, Alexander Belchenko)
 
228
 
 
229
New Features
 
230
************
 
231
 
 
232
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
233
  to the newly created branch. (Lukáš Lalinský)
 
234
 
 
235
Bug Fixes
 
236
*********
 
237
 
 
238
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
239
  (Jason Spashett, #76616)
 
240
 
 
241
* Fetches were being requested in 'groupcompress' order, but weren't
 
242
  recombining the groups. Thus they would 'fragment' to get the correct
 
243
  order, but not 'recombine' to actually benefit from it. Until we get
 
244
  recombining to work, switching to 'unordered' fetches avoids the
 
245
  fragmentation. (John Arbash Meinel, #402645)
 
246
 
 
247
* Fix a pycurl related test failure on karmic by recognizing an error
 
248
  raised by newer versions of pycurl.
 
249
  (Vincent Ladeuil, #306264)
 
250
 
 
251
* Fix a test failure on karmic by making a locale test more robust.
 
252
  (Vincent Ladeuil, #413514)
 
253
 
 
254
* Fix IndexError printing CannotBindAddress errors.
 
255
  (Martin Pool, #286871)
 
256
 
 
257
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
258
  or when doing fetches from a stacked source to a stacked target.
 
259
  (Andrew Bennetts, #399140)
 
260
 
 
261
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
262
  batches together small fetches from 2a repositories, rather than
 
263
  fetching only a few hundred bytes at a time.
 
264
  (Andrew Bennetts, #402657)
 
265
 
 
266
Improvements
 
267
************
 
268
 
 
269
* A better description of the platform is shown in crash tracebacks, ``bzr
 
270
  --version`` and ``bzr selftest``.
 
271
  (Martin Pool, #409137)
 
272
 
 
273
* bzr can now (again) capture crash data through the apport library, 
 
274
  so that a single human-readable file can be attached to bug reports.
 
275
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
276
  putting ``no_apport`` into the ``debug_flags`` section of
 
277
  ``bazaar.conf``.
 
278
  (Martin Pool, Robert Collins, #389328)
 
279
 
 
280
* ``bzr push`` locally on windows will no longer give a locking error with
 
281
  dirstate based formats. (Robert Collins)
 
282
 
 
283
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
284
  (Robert Collins, #305006)
 
285
 
 
286
* Commit of specific files no longer prevents using the the iter_changes
 
287
  codepath. On 2a repositories, commit of specific files should now be as
 
288
  fast, or slightly faster, than a full commit. (Robert Collins)
 
289
 
 
290
* The internal core code that handles specific file operations like
 
291
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
292
  include the parent directories if they have altered, and when a
 
293
  directory stops being a directory its children are always included. This
 
294
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
295
  faster commit of specific paths. (Robert Collins, #347649)
 
296
 
 
297
Documentation
 
298
*************
 
299
 
 
300
* New developer documentation for content filtering.
 
301
  (Martin Pool)
 
302
 
 
303
API Changes
 
304
***********
 
305
 
 
306
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
307
  classes changed to manage lock lifetime of the trees they open in a way
 
308
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
309
 
 
310
Testing
 
311
*******
 
312
 
 
313
bzr 1.18.1 NOT RELEASED YET
 
314
###########################
 
315
 
 
316
Bug Fixes
 
317
*********
 
318
 
 
319
* Fixed a problem where using content filtering and especially end-of-line
 
320
  conversion will commit too many copies a file.
 
321
  (Martin Pool, #415508)
 
322
 
 
323
Improvements
 
324
************
 
325
 
 
326
* ``bzr push`` locally on windows will no longer give a locking error with
 
327
  dirstate based formats. (Robert Collins)
 
328
 
 
329
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
330
  (Robert Collins, #305006)
 
331
 
 
332
API Changes
 
333
***********
 
334
 
 
335
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
336
  classes changed to manage lock lifetime of the trees they open in a way
 
337
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
338
 
 
339
* ``Tree.path_content_summary`` may return a size of None, when called on
 
340
  a tree with content filtering where the size of the canonical form
 
341
  cannot be cheaply determined.  (Martin Pool)
 
342
 
 
343
* When manually creating transport servers in test cases, a new helper
 
344
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
345
  should be used. (Robert Collins)
 
346
 
 
347
bzr 1.18
 
348
########
 
349
 
 
350
Compatibility Breaks
 
351
********************
 
352
 
 
353
* Committing directly to a stacked branch from a lightweight checkout will
 
354
  no longer work. In previous versions this would appear to work but would
 
355
  generate repositories with insufficient data to create deltas, leading
 
356
  to later errors when branching or reading from the repository.
 
357
  (Robert Collins, bug #375013)
 
358
 
 
359
New Features
 
360
************
 
361
 
 
362
Bug Fixes
 
363
*********
 
364
 
 
365
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
366
  copy the internal inventory pages from the CHK store. This cannot happen
 
367
  in normal use as all 2a compatible clients and servers support the
 
368
  version-3 protocol, but it does cause test suite failures when testing
 
369
  downlevel protocol behaviour. (Robert Collins)
 
370
 
 
371
* Fix a test failure on karmic by making a locale test more robust.
 
372
  (Vincent Ladeuil, #413514)
 
373
 
 
374
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
375
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
376
 
 
377
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
378
  (Jason Spashett, #76616)
 
379
 
 
380
* Properly handle fetching into a stacked branch while converting the
 
381
  data, especially when there are also ghosts. The code was filling in
 
382
  parent inventories incorrectly, and also not handling when one of the
 
383
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
384
 
 
385
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
386
  inventory pages when appropriate (by falling back to the vfs stream
 
387
  source).  (Andrew Bennetts, #406686)
 
388
 
 
389
* StreamSource generates rich roots from non-rich root sources correctly
 
390
  now.  (Andrew Bennetts, #368921)
 
391
 
 
392
* When deciding whether a repository was compatible for upgrading or
 
393
  fetching, we previously incorrectly checked the default repository
 
394
  format for the bzrdir format, rather than the format that was actually
 
395
  present on disk.  (Martin Pool, #408824)
 
396
 
 
397
Improvements
 
398
************
 
399
 
 
400
* A better description of the platform is shown in crash tracebacks, ``bzr
 
401
  --version`` and ``bzr selftest``.
 
402
  (Martin Pool, #409137)
 
403
 
 
404
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
405
  smart server are more efficient now.  They send inventory deltas rather
 
406
  than full inventories.  The smart server has two new requests,
 
407
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
408
  support this.  (Andrew Bennetts, #374738, #385826)
 
409
 
 
410
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
411
  significantly faster. This effects things like ``bzr log -n0``. (For
 
412
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
413
  (John Arbash Meinel)
 
414
 
 
415
Documentation
 
416
*************
 
417
 
 
418
API Changes
 
419
***********
 
420
 
 
421
Internals
 
422
*********
 
423
 
 
424
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
425
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
426
  read lock on a file that we already have an OS write lock on.) This is
 
427
  now set by default for all tests, if you have a test which cannot be
 
428
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
429
  compatibility knob. (John Arbash Meinel)
 
430
 
 
431
* InterDifferingSerializer is now only used locally.  Other fetches that
 
432
  would have used InterDifferingSerializer now use the more network
 
433
  friendly StreamSource, which now automatically does the same
 
434
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
435
 
 
436
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
437
  are implemented in pyrex and significantly faster. This is exposed along
 
438
  with ``CombinedGraphIndex.find_ancestry()`` as
 
439
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
440
  (John Arbash Meinel)
 
441
 
 
442
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
443
  protocols. (Robert Collins)
 
444
 
 
445
* The index code now has some specialized routines to extract the full
 
446
  ancestry of a key in a more efficient manner.
 
447
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
448
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
449
  Arbash Meinel)
 
450
 
 
451
Testing
 
452
*******
 
453
 
 
454
* Install the test ssl certificate and key so that installed bzr
 
455
  can run the https tests. (Denys Duchier, #392401)
 
456
  
 
457
 
 
458
bzr 1.18rc1
 
459
###########
 
460
 
 
461
:Codename: little traveller
 
462
:1.18:    2009-08-20
 
463
:1.18rc1: 2009-08-10
 
464
 
 
465
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
466
'brisbane-core' format becomes generally recommended.  Most of the work in
 
467
this release now focusses on bug fixes and stabilization, covering both 2a
 
468
and previous formats.  There is a new text-mode interactive merge feature,
 
469
a new guide to migration to 2a format in the user documentation, and
 
470
pushing branches to a smart server is now much faster.  
 
471
 
 
472
The Bazaar team decided that 2.0 will be a long-term supported release,
 
473
with bugfix-only releases based on it continuing for at least six months
 
474
or until the following stable release.
 
475
 
 
476
There are no changes from 1.18rc1 to 1.18.
 
477
 
 
478
New Features
 
479
************
 
480
 
 
481
* ``bzr merge --interactive`` applies a user-selected portion of the
 
482
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
483
 
 
484
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
485
  ``--unstacked`` to change stacking of a branch.
 
486
  (Martin Pool, #391411)
 
487
 
 
488
Bug Fixes
 
489
*********
 
490
 
 
491
* Annotating on a stacked branch will now succeed in simple scenarios.
 
492
  There are still some complex scenarios where it will fail (bug #399884)
 
493
  (John Arbash Meinel, #393366)
 
494
 
 
495
* A progress bar is no longer left dangling when ``bzr selftest``
 
496
  completes, and the progress bar updates with zero latency so the
 
497
  displayed test name is always the one that's actually running.
 
498
  (Martin Pool, #123688)
 
499
 
 
500
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
501
  if password authentication is even supported. This fixes a bug where
 
502
  users would be prompted for a launchpad password, even though launchpad
 
503
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
504
 
 
505
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
506
  from GMT. (Vincent Ladeuil, #397716)
 
507
 
 
508
* ``bzr commit`` no longer saves the unversioning of missing files until
 
509
  the commit has completed on the branch. This means that aborting a
 
510
  commit that found a missing file will leave the tree unedited.
 
511
  (Robert Collins, #282402)
 
512
 
 
513
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
514
  when the branch is readonly. (Robert Collins, #216541)
 
515
 
 
516
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
517
  there are missing subtrees. (Robert Collins, #367632)
 
518
 
 
519
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
520
  do to internal changes necessary to support this, older clients will
 
521
  fail when trying to insert them. For newer clients, the bundle can be
 
522
  used to apply the changes to any rich-root compatible format.
 
523
  (John Arbash Meinel, #393349)
 
524
 
 
525
* Cope with FTP servers that don't support restart/append by falling back
 
526
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
527
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
528
 
 
529
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
530
  external diff client. This at least allows supporting filenames that are
 
531
  not ascii, but are present in the current locale. Ideally we would be
 
532
  able to pass the Unicode path, but that would be client dependent.
 
533
  (John Arbash Meinel, #382709)
 
534
 
 
535
* Fix a compile bug on Solaris having to do with const and
 
536
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
537
 
 
538
* Fixed a NameError that occurs when merging or pulling from a URL that
 
539
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
540
  (Andrew Bennetts, #400847)
 
541
 
 
542
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
543
  running send and similar commands on 2a formats.
 
544
  (Martin Pool, #408201)
 
545
  
 
546
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
547
  (Martin Pool, #403523)
 
548
 
 
549
* Fixed export to existing directory: if directory is empty then export 
 
550
  will succeed, otherwise it fails with error.
 
551
  (Alexander Belchenko, #406174)
 
552
 
 
553
* Fixed spurious "Source branch does not support stacking" warning when
 
554
  pushing. (Andrew Bennetts, #388908)
 
555
 
 
556
* Fixed spurious transport activity indicator appearing while tests are
 
557
  running.  (Martin Pool, #343532)
 
558
 
 
559
* Merge now correctly handles empty right-hand revision specs.
 
560
  (Aaron Bentley, #333961)
 
561
 
 
562
* Renames to lexographically lower basenames in trees that have never been
 
563
  committed to will no longer corrupt the dirstate. This was caused by an
 
564
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
565
 
 
566
* Requests for unknown methods no longer cause the smart server to log
 
567
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
568
  ``do_end``.  (Andrew Bennetts, #338561)
 
569
 
 
570
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
571
 
 
572
* Streaming from bzr servers where there is a chain of stacked branches
 
573
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
574
 
 
575
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
576
  always forces progress bars either on or off respectively.  Otherwise,
 
577
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
578
  bzr always uses the 'text' user interface when run as a command, so
 
579
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
580
  (Martin Pool, #339385, #387717)
 
581
 
 
582
* The optional ``_knit_load_data_pyx`` C extension was never being
 
583
  imported.  This caused significant slowdowns when reading data from
 
584
  repositories.  (Andrew Bennetts, #405653)
 
585
  
 
586
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
587
  supported at the moment on workingtree formats that can do content
 
588
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
589
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
590
 
 
591
* There was a bug in ``osutils.relpath`` that was only triggered on
 
592
  Windows. Essentially if you were at the root of a drive, and did
 
593
  something to a branch/repo on another drive, we would go into an
 
594
  infinite loop while trying to find a 'relative path'.
 
595
  (John Arbash Meinel, #394227)
 
596
 
 
597
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
598
  were present in a parent tree but renamed in the working tree.
 
599
  (Robert Collins, #187207)
 
600
 
 
601
Improvements
 
602
************
 
603
 
 
604
* Can now rename/move files even if they have been removed from the inventory.
 
605
  (Marius Kruger)
 
606
 
 
607
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
608
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
609
  than VFS methods.  For example, pushes of small branches with tags take
 
610
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
611
 
 
612
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
613
  the same way that sending Ctrl-\\ does on other platforms.
 
614
  (John Arbash Meinel)
 
615
 
 
616
Documentation
 
617
*************
 
618
 
 
619
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
620
 
 
621
API Changes
 
622
***********
 
623
 
 
624
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
625
  need to subclass or create a specific class, or better yet the existing
 
626
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
627
  user interaction at all, rather than trying to read from stdin but not
 
628
  writing any output, which would be strange if reading prompts or
 
629
  passwords.  (Martin Pool)
 
630
 
 
631
* New TransformPreview.commit() allows committing without a working tree.
 
632
  (Aaron Bentley)
 
633
 
 
634
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
635
  (Martin Pool)
 
636
 
 
637
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
638
  UIFactory. 
 
639
  (Martin Pool)
 
640
 
 
641
* ``WorkingTree._check`` now requires a references dict with keys matching
 
642
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
643
 
 
644
Internals
 
645
*********
 
646
 
 
647
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
648
  reading the entries along the path, reducing work to lookup ids from
 
649
  paths. (Robert Collins)
 
650
 
 
651
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
652
  as new a key which was already mapped. (Robert Collins)
 
653
 
 
654
* Inventory delta application catches more cases of corruption and can
 
655
  prevent corrupt deltas from affecting consistency of data structures on
 
656
  disk. (Robert Collins)
 
657
 
 
658
* --subunit support now adds timestamps if the subunit version supports
 
659
  it. (Robert Collins)
 
660
 
 
661
* The Windows all-in-one installer now bundles the PyQt image format
 
662
  plugins, which allows previewing more images as part of 'qdiff'.
 
663
  (Alexander Belchenko)
 
664
 
 
665
 
 
666
Testing
 
667
*******
 
668
 
 
669
* Merge directive cherrypick tests must use the same root id.
 
670
  (Martin Pool, #409684)
 
671
 
 
672
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
673
  (Martin Pool, #408199)
 
674
 
 
675
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
676
  ``countTestsCases`` on the test being run. Progress information is
 
677
  instead handled by having the test passed in call ``result.progress``
 
678
  before running its contents. This improves the behaviour when using
 
679
  ``TextTestRunner`` with test suites that don't support
 
680
  ``countTestsCases``. (Robert Collins)
 
681
 
 
682
 
 
683
bzr 1.17.1 (unreleased)
 
684
#######################
 
685
 
 
686
Bug Fixes
 
687
*********
 
688
 
 
689
* The optional ``_knit_load_data_pyx`` C extension was never being
 
690
  imported.  This caused significant slowdowns when reading data from
 
691
  knit format repositories.  (Andrew Bennetts, #405653)
 
692
  
 
693
 
 
694
bzr 1.17 "So late it's brunch" 2009-07-20
 
695
#########################################
 
696
:Codename: so-late-its-brunch
 
697
:1.17rc1: 2009-07-13
 
698
:1.17: 2009-07-20
 
699
 
 
700
 
 
701
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
702
the elevation of the ``2a`` beta format to the full glory of "supported and
 
703
stable".
 
704
 
 
705
Highlights in this release include greatly reduced memory consumption during
 
706
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
707
you're specifying a revision number and the final destruction of those
 
708
annoying progress bar artifacts.
 
709
 
 
710
 
 
711
Changes from 1.17rc1 to 1.17final
 
712
*********************************
 
713
 
 
714
* Change an extension to call the python ``frozenset()`` rather than the C
 
715
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
716
  C api. (John Arbash Meinel, #399366)
 
717
 
 
718
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
719
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
720
  (John Arbash Meinel, #399356)
 
721
 
 
722
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
723
  directory before serving it. (Andrew Bennetts, #400535)
 
724
 
 
725
 
 
726
Compatibility Breaks
 
727
********************
 
728
 
 
729
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
730
  instead of "product" which is the correct Launchpad terminology.  The
 
731
  --product option is deprecated and users should switch to using --project.
 
732
  (Neil Martinsen-Burrell, #238764)
 
733
 
 
734
 
 
735
New Features
 
736
************
 
737
 
 
738
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
739
  are present in the working tree (if one is present) and no revision is
 
740
  specified. The configuration option ``push_strict`` can be used to set the
 
741
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
742
 
 
743
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
744
  show revision info for the working tree instead of the branch.
 
745
  (Matthew Fuller, John Arbash Meinel)
 
746
 
 
747
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
748
  are present in the working tree and no revision is specified. The
 
749
  configuration option ``send_strict`` can be used to set the default for this
 
750
  behavior.
 
751
  (Vincent Ladeuil, #206577)
 
752
 
 
753
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
754
  to a new branch. Supplying a name without a ``/`` will create the branch
 
755
  relative to the existing branch. (similar to how ``bzr switch name``
 
756
  works when the branch already exists.) (John Arbash Meinel)
 
757
 
 
758
 
 
759
Bug Fixes
 
760
*********
 
761
 
 
762
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
763
  (#335182, Tim Powell, Martin Pool)
 
764
 
 
765
* Add documentation about diverged branches and how to fix them in the
 
766
  centralized workflow with local commits.  Mention ``bzr help
 
767
  diverged-branches`` when a push fails because the branches have
 
768
  diverged.  (Neil Martinsen-Burrell, #269477)
 
769
 
 
770
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
771
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
772
 
 
773
* Automatic format upgrades triggered by default stacking policies on a
 
774
  1.16rc1 (or later) smart server work again.
 
775
  (Andrew Bennetts, #388675)
 
776
 
 
777
* Avoid progress bar artifacts being left behind on the screen.
 
778
  (Martin Pool, #321935)
 
779
 
 
780
* Better message in ``bzr split`` error suggesting a rich root format.
 
781
  (Neil Martinsen-Burrell, #220067)
 
782
 
 
783
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
784
  server. (Andrew Bennetts, #365865)
 
785
 
 
786
* By default, ``bzr branch`` will fail if the target directory exists, but
 
787
  does not already have a control directory.  The flag ``--use-existing-dir``
 
788
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
789
 
 
790
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
791
  (Ian Clatworthy)
 
792
 
 
793
* Fetch between repositories does not error if they have inconsistent data
 
794
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
795
 
 
796
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
797
  of a remote repository.
 
798
  (Jelmer Vernooij, #332194)
 
799
 
 
800
* Fix bug in decoding v3 smart server messages when receiving multiple
 
801
  lots of excess bytes after an end-of-message.
 
802
  (Andrew Bennetts)
 
803
 
 
804
* Force deletion of readonly files during merge, update and other tree
 
805
  transforms.
 
806
  (Craig Hewetson, Martin Pool, #218206)
 
807
 
 
808
* Force socket shutdown in threaded http test servers to avoid client hangs
 
809
  (pycurl).  (Vincent Ladeuil, #383920).
 
810
 
 
811
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
812
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
813
 
 
814
* Progress bars are now suppressed again when the environment variable
 
815
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
816
  (Martin Pool, #339385)
 
817
 
 
818
* Reduced memory consumption during ``bzr commit`` of large files. For
 
819
  pre 2a formats, should be down to ~3x the size of a file.
 
820
  For ``--2a`` format repositories, it is down to the size of the file
 
821
  content plus the size of the compressed text.  Related to bug #109114.
 
822
  (John Arbash Meinel)
 
823
 
 
824
* Set hidden attribute on .bzr directory below unicode path should never
 
825
  fail with error. The operation should succeed even if bzr unable to set 
 
826
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
827
  
 
828
* Stacking will no longer accept requests to stack on the same
 
829
  branch/repository. Existing branches that incorrectly reference the same
 
830
  repository in a stacking configuration will now raise
 
831
  UnstackableLocationError when the branch is opened. This can be fixed by
 
832
  removing the stacking location inside ``.bzr/branch``.
 
833
  (Robert Collins, #376243)
 
834
 
 
835
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
836
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
837
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
838
  rate because they're available in the log prefixes and the transport
 
839
  activity display respectively.
 
840
  (Martin Pool, #340347)
 
841
 
 
842
* Unshelve works correctly when multiple zero-length files are present on
 
843
  the shelf. (Aaron Bentley, #363444)
 
844
 
 
845
* Progress bars no longer show the network transport scheme or direction.
 
846
  (Martin Pool)
 
847
 
 
848
* launchpad-login now respects the 'verbose' option.
 
849
  (Jonathan Lange, #217031)
 
850
 
 
851
 
 
852
Internals
 
853
*********
 
854
 
 
855
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
856
  possible to write a deprecation wrapper, but the variable will be
 
857
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
858
  instead. (Alexander Belchenko)
 
859
 
 
860
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
861
  three new hook points: ``get_command``, ``get_missing_command`` and
 
862
  ``list_commands``, which allow just-in-time command name provision
 
863
  rather than requiring all command names be known a-priori.
 
864
  (Robert Collins)
 
865
 
 
866
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
867
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
868
 
 
869
* ``graph.KnownGraph`` has been added. This is a class that can give
 
870
  answers to ``heads()`` very quickly. However, it has the assumption that
 
871
  the whole graph has already been loaded. This is true during
 
872
  ``annotate`` so it is used there with good success (as much as 2x faster
 
873
  for files with long ancestry and 'cherrypicked' changes.)
 
874
  (John Arbash Meinel, Vincent Ladeuil)
 
875
 
 
876
* OS file locks are now taken out using ``CreateFile`` rather than
 
877
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
878
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
879
  as Win98). (Martin <gzlist>)
 
880
 
 
881
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
882
  than the ``Packer`` code. The user visible change is that we now
 
883
  properly fetch the minimum number of texts for non-smart fetching.
 
884
  (John Arbash Meinel)
 
885
 
 
886
 
 
887
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
888
  the repository as a single string, rather than a list of lines. This can
 
889
  improve memory overhead and performance of committing large files.
 
890
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
891
 
 
892
 
 
893
Improvements
 
894
************
 
895
 
 
896
* ``bzr annotate`` can now be significantly faster. The time for
 
897
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
898
  histories and lots of 'duplicate insertions' will be improved more than
 
899
  others. (John Arbash Meinel, Vincent Ladeuil)
 
900
 
 
901
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
902
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
903
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
904
 
 
905
* Improve "Path(s) are not versioned" error reporting for some commands.
 
906
  (Benoît PIERRE)
 
907
 
 
908
* Initial commit performance in ``--2a`` repositories has been improved by
 
909
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
910
 
 
911
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
912
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
913
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
914
 
 
915
* ``revision-info`` now properly aligns the revnos/revids in the output
 
916
  and doesn't traceback when given revisions not in the current branch.
 
917
  Performance is also significantly improved when requesting multiple revs
 
918
  at once.  (Matthew Fuller, John Arbash Meinel)
 
919
 
 
920
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
921
 
 
922
 
 
923
Documentation
 
924
*************
 
925
 
 
926
* Avoid bad text wrapping in generated documentation.  Slightly better
 
927
  formatting in the user reference.
 
928
  (Martin Pool, #249908)
 
929
 
 
930
* Minor clarifications to the help for End-Of-Line conversions.
 
931
  (Ian Clatworthy)
 
932
 
 
933
API Changes
 
934
***********
 
935
 
 
936
* Removed overspecific error class ``InvalidProgressBarType``.
 
937
  (Martin Pool)
 
938
 
 
939
* The method ``ProgressView._show_transport_activity`` is now
 
940
  ``show_transport_activity`` because it's part of the contract between
 
941
  this class and the UI.  (Martin Pool)
 
942
 
 
943
 
 
944
bzr 1.16.1 2009-06-26
 
945
#####################
 
946
 
 
947
End user testing of the 2a format revealed two serious bugs. The first,
 
948
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
949
This meant that commits or pushes to 2a-format repositories failed
 
950
intermittently.
 
951
 
 
952
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
953
when streaming 2a stacked 2a-format branches. This particularly affected
 
954
branches stored on Launchpad in the 2a format.
 
955
 
 
956
Both of these bugs cause command failures only, neither of them cause data
 
957
corruption or data loss. And, of course, both of these bugs are now fixed.
 
958
 
 
959
Bug Fixes
 
960
*********
 
961
 
 
962
* We now properly request a more minimal set of file texts when fetching
 
963
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
964
 
 
965
* Repositories using CHK pages (which includes the new 2a format) will no
 
966
  longer error during commit or push operations when an autopack operation
 
967
  is triggered. (Robert Collins, #365615)
 
968
 
 
969
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
970
  of referenced nodes rather than the *union* to determine what
 
971
  uninteresting pages we still need to look at. Prior to this,
 
972
  incrementally pushing to stacked branch would push the minimal data, but
 
973
  fetching everything would request extra texts. There are some unhandled
 
974
  cases wrt trees of different depths, but this fixes the common cases.
 
975
  (Robert Collins, John Arbash Meinel, #390563)
 
976
 
 
977
* ``GroupCompress`` repositories now take advantage of the pack hints
 
978
  parameter to permit cross-format fetching to incrementally pack the
 
979
  converted data. (Robert Collins)
 
980
 
 
981
* ``Repository.commit_write_group`` now returns opaque data about what
 
982
  was committed, for passing to the ``Repository.pack``. Repositories
 
983
  without atomic commits will still return None. (Robert Collins)
 
984
 
 
985
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
986
  which will support doing partial packs for repositories that can do
 
987
  that. (Robert Collins)
 
988
 
 
989
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
990
  when doing a pack operation changes the compression of content in the
 
991
  repository. (Robert Collins)
 
992
 
 
993
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
994
  ``Repository.pack`` with the hint returned by
 
995
  ``Repository.commit_write_group`` if the formats were different and the
 
996
  repository can increase compression by doing a pack operation.
 
997
  (Robert Collins, #376748)
 
998
 
 
999
 
 
1000
bzr 1.16 "It's yesterday in California" 2009-06-18
 
1001
##################################################
 
1002
:Codename: yesterday-in-california
 
1003
:1.16rc1: 2009-06-11
 
1004
:1.16: 2009-06-18
 
1005
 
 
1006
This version of Bazaar contains the beta release of the new ``2a`` repository
 
1007
format, suitable for testing by fearless, advanced users. This format or an
 
1008
updated version of it will become the default format in Bazaar 2.0. Please
 
1009
read the NEWS entry before even thinking about upgrading to the new format.
 
1010
 
 
1011
Also included are speedups for many operations on huge projects, a bug fix for
 
1012
pushing stacked new stacked branches to smart servers and the usual bevy of
 
1013
bug fixes and improvements.
 
1014
 
 
1015
 
 
1016
Changes from 1.16rc1 to 1.16final
 
1017
*********************************
 
1018
 
 
1019
* Fix the nested tree flag check so that upgrade from development formats to
 
1020
  2a can work correctly.
 
1021
  (Jelmer Vernooij, #388727)
 
1022
 
 
1023
* Automatic format upgrades triggered by default stacking policies on a
 
1024
  1.16rc1 (or later) smart server work again.
 
1025
  (Andrew Bennetts, #388675)
 
1026
 
 
1027
 
 
1028
Compatibility Breaks
 
1029
********************
 
1030
 
 
1031
* Display prompt on stderr (instead of stdout) when querying users so
 
1032
  that the output of commands can be safely redirected.
 
1033
  (Vincent Ladeuil, #376582)
 
1034
 
 
1035
 
 
1036
New Features
 
1037
************
 
1038
 
 
1039
* A new repository format ``2a`` has been added.  This is a beta release
 
1040
  of the the brisbane-core (aka group-compress) project.  This format now
 
1041
  suitable for wider testing by advanced users willing to deal with some
 
1042
  bugs.  We would appreciate test reports, either positive or negative.
 
1043
  Format 2a is substantially smaller and faster for many operations on
 
1044
  many trees.  This format or an updated version will become the default
 
1045
  in bzr 2.0.
 
1046
 
 
1047
  This is a rich-root format, so this repository format can be used with
 
1048
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
1049
  converted (including by merge, push and pull) to format 2a, but not vice
 
1050
  versa.  We recommend upgrading previous development formats to 2a.
 
1051
 
 
1052
  Upgrading to this format can take considerable time because it expands
 
1053
  and more concisely repacks the full history.
 
1054
 
 
1055
  If you use stacked branches, you must upgrade the stacked branches
 
1056
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
1057
 
 
1058
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
1059
  but using a Revision serializer using bencode rather than XML.
 
1060
  (Jelmer Vernooij, John Arbash Meinel)
 
1061
 
 
1062
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
1063
  configured from address.  (Barry Warsaw)
 
1064
 
 
1065
Improvements
 
1066
************
 
1067
 
 
1068
 
 
1069
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
1070
  bugs with stacking and non default formats.)
 
1071
  (John Arbash Meinel, #373455)
 
1072
 
 
1073
* ``--development6-rich-root`` delays generating a delta index for the
 
1074
  first object inserted into a group. This has a beneficial impact on
 
1075
  ``bzr commit`` since each committed texts goes to its own group. For
 
1076
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
1077
  up commit from 7s => 4s. (John Arbash Meinel)
 
1078
 
 
1079
* Numerous operations are now faster for huge projects, i.e. those
 
1080
  with a large number of files and/or a large number of revisions,
 
1081
  particularly when the latest development format is used. These
 
1082
  operations (and improvements on OpenOffice.org) include:
 
1083
 
 
1084
  * branch in a shared repository (2X faster)
 
1085
  * branch --no-tree (100X faster)
 
1086
  * diff (2X faster)
 
1087
  * tags (70X faster)
 
1088
 
 
1089
  (Ian Clatworthy)
 
1090
 
 
1091
* Pyrex version of ``bencode`` support. This provides optimized support
 
1092
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
1093
  ``bzrlib.utils.bencode`` is now deprecated.
 
1094
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
1095
 
 
1096
 
 
1097
Bug Fixes
 
1098
*********
 
1099
 
 
1100
* Bazaar can now pass attachment files to the mutt email client.
 
1101
  (Edwin Grubbs, #384158)
 
1102
 
 
1103
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
1104
  see which files can also be added.  (Jason Spashett, #76616)
 
1105
 
 
1106
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
1107
  Also, the ``Branch.revision_history()`` API now works in the same
 
1108
  situation.  (Andrew Bennetts, #380314)
 
1109
  
 
1110
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
1111
  TCP client disconnected. (Andrew Bennetts)
 
1112
 
 
1113
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
1114
  ``RemoteRepository`` was handling fallbacks along with the
 
1115
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
1116
 
 
1117
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
1118
  branch. Not often triggered, because it required ghosts to be part of
 
1119
  the fetched revisions, not in the stacked-on ancestry.
 
1120
  (John Arbash Meinel)
 
1121
 
 
1122
* Fix status and commit to work with content filtered trees, addressing
 
1123
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
1124
 
 
1125
* Fix problem of "directory not empty" when contending for a lock over
 
1126
  sftp.  (Martin Pool, #340352)
 
1127
 
 
1128
* Fix rule handling so that eol is optional, not mandatory.
 
1129
  (Ian Clatworthy, #379370)
 
1130
 
 
1131
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
1132
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
1133
  1.16, but required changes to the network protocol, so the
 
1134
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
1135
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
1136
  still work with a 1.16 server as they will fallback to slower (and
 
1137
  bug-free) methods.
 
1138
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
1139
 
 
1140
* Reconcile can now deal with text revisions that originated in revisions 
 
1141
  that are ghosts. (Jelmer Vernooij, #336749)
 
1142
 
 
1143
* Support cloning of branches with ghosts in the left hand side history.
 
1144
  (Jelmer Vernooij, #248540)
 
1145
 
 
1146
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
1147
  helpful message to the trace file, unless the temp directory really was
 
1148
  removed (which would be very strange).  Since the diff operation has
 
1149
  succeeded from the user's perspective, no output is written to stderr 
 
1150
  or stdout.  (Maritza Mendez, #363837)
 
1151
 
 
1152
* Translate errors received from a smart server in response to a
 
1153
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
1154
  This was causing tracebacks even for mundane errors like
 
1155
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
1156
 
 
1157
Documentation
 
1158
*************
 
1159
 
 
1160
* Added directory structure and started translation of docs in Russian.
 
1161
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
1162
  Volodymyr Kotulskyi)
 
1163
 
 
1164
API Changes
 
1165
***********
 
1166
 
 
1167
* Added osutils.parent_directories(). (Ian Clatworthy)
 
1168
 
 
1169
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
1170
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
1171
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
1172
 
 
1173
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
1174
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
1175
  for external users. (Gary van der Merwe)
 
1176
 
 
1177
* ``bzrlib.user_encoding`` is deprecated in favor of
 
1178
  ``get_user_encoding``.  (Alexander Belchenko)
 
1179
 
 
1180
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
1181
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
1182
 
 
1183
Internals
 
1184
*********
 
1185
 
 
1186
* Remove ``weave.py`` script for accessing internals of old weave-format
 
1187
  repositories.  (Martin Pool)
 
1188
 
 
1189
Testing
 
1190
*******
 
1191
 
 
1192
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
1193
  (Martin Pool, #386180)
 
1194
 
 
1195
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
1196
 
 
1197
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
1198
 
 
1199
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
1200
 
 
1201
 
 
1202
bzr 1.15
 
1203
########
 
1204
:1.15rc1: 2009-05-16
 
1205
:1.15: 2009-05-22
 
1206
:1.15.1: 2009-06-09
 
1207
 
 
1208
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
1209
with a size mismatch in a reconstructed graph search. New command ``bzr
 
1210
dpush``. Plugins can now define their own annotation tie-breaker when two
 
1211
revisions introduce the exact same line.
 
1212
 
 
1213
Changes from 1.15.1 to 1.15.2
 
1214
*****************************
 
1215
 
 
1216
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
1217
  (Alexander Belchenko)
 
1218
 
 
1219
Changes from 1.15final to 1.15.1
 
1220
*********************************
 
1221
 
 
1222
* Translate errors received from a smart server in response to a
 
1223
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
1224
  This was causing tracebacks even for mundane errors like
 
1225
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
1226
 
 
1227
Changes from 1.15rc1 to 1.15final
 
1228
*********************************
 
1229
 
 
1230
* No changes
 
1231
 
 
1232
Compatibility Breaks
 
1233
********************
 
1234
 
 
1235
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
1236
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
1237
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
1238
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
1239
 
 
1240
New Features
 
1241
************
 
1242
 
 
1243
* New command ``bzr dpush`` that can push changes to foreign 
 
1244
  branches (svn, git) without setting custom bzr-specific metadata.
 
1245
  (Jelmer Vernooij)
 
1246
 
 
1247
* The new development format ``--development6-rich-root`` now supports
 
1248
  stacking. We chose not to use a new format marker, since old clients
 
1249
  will just fail to open stacked branches, the same as if we used a new
 
1250
  format flag. (John Arbash Meinel, #373455)
 
1251
 
 
1252
* Plugins can now define their own annotation tie-breaker when two revisions
 
1253
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
1254
  Be aware though that this is temporary, private (as indicated by the leading
 
1255
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
1256
 
 
1257
* New command ``bzr dpush`` that can push changes to foreign 
 
1258
  branches (svn, git) without setting custom bzr-specific metadata.
 
1259
  (Jelmer Vernooij)
 
1260
 
 
1261
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
1262
  the submit branch to determine what format to use, if none was 
 
1263
  specified on the command-line.  (Jelmer Vernooij)
 
1264
 
 
1265
Improvements
 
1266
************
 
1267
 
 
1268
* -Dhpss output now includes the number of VFS calls made to the remote
 
1269
  server. (Jonathan Lange)
 
1270
 
 
1271
* ``--coverage`` works for code running in threads too.
 
1272
  (Andrew Bennets, Vincent Ladeuil)
 
1273
 
 
1274
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
1275
  local branch, and not the bound master branch.
 
1276
  (Gary van der Merwe, #194716)
 
1277
 
 
1278
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
1279
 
 
1280
Bug Fixes
 
1281
*********
 
1282
 
 
1283
* Adding now works properly when path contains a symbolic link.
 
1284
  (Geoff Bache, #183831)
 
1285
 
 
1286
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
1287
 
 
1288
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
1289
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
1290
 
 
1291
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
1292
  (Martin von Gagern, #248932)
 
1293
 
 
1294
* ``bzr send`` works to send emails again using MAPI.
 
1295
  (Neil Martinsen-Burrell, #346998)
 
1296
 
 
1297
* Check for missing parent inventories in StreamSink.  This prevents
 
1298
  incomplete stacked branches being created by 1.13 bzr:// and
 
1299
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
1300
  causes those clients to send the missing records.  (Andrew Bennetts)
 
1301
 
 
1302
* Correctly handle http servers proposing multiple authentication schemes.
 
1303
  (Vincent Ladeuil, #366107)
 
1304
 
 
1305
* End-Of-Line content filters are now loaded correctly.
 
1306
  (Ian Clatworthy, Brian de Alwis, #355280)
 
1307
 
 
1308
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
1309
  longer than 64KiB. (John Arbash Meinel, #364900)
 
1310
 
 
1311
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
1312
  (Alexander Belchenko, Martin Pool, #365891)
 
1313
 
 
1314
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
1315
  (Jelmer Vernooij, #357863)
 
1316
 
 
1317
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
1318
  (Vincent Ladeuil, #367726)
 
1319
 
 
1320
* Several bugs related to unicode symlinks have been fixed and the test suite
 
1321
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
1322
 
 
1323
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
1324
  content with a size mismatch in a reconstructed graph search: it assumes
 
1325
  that the client will make sure it is happy with what it got, and this
 
1326
  sort of mismatch is normal for stacked environments.
 
1327
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
1328
  getting all the content expected would be a bug. However the graph
 
1329
  search is how we figured out what we wanted, so a mismatch is both odd
 
1330
  and unrecoverable without starting over, and starting over will end up
 
1331
  with the same data as if we just permitted the mismatch. If data is
 
1332
  gc'd, doing a new search will find only the truncated data, so sending
 
1333
  only the truncated data seems reasonable. bzr versions newer than this
 
1334
  will stream from stacked branches and check the stream to find missing
 
1335
  content in the stacked-on branch, and thus will handle the situation
 
1336
  implicitly.  (Robert Collins, #360791)
 
1337
 
 
1338
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
1339
  set the root data the same way that reconcile does.
 
1340
  (Robert Collins, #368921)
 
1341
 
 
1342
* Using unicode Windows API to obtain command-line arguments.
 
1343
  (Alexander Belchenko, #375934)
 
1344
 
 
1345
Documentation
 
1346
*************
 
1347
 
 
1348
API Changes
 
1349
***********
 
1350
 
 
1351
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
1352
  instead of ``InstallFailed`` when they detect a missing revision.
 
1353
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
1354
 
 
1355
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
1356
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
1357
  for unicode arguments on windows. Further, the supplied arguments are now 
 
1358
  required to be unicode strings, rather than user_encoded strings.
 
1359
  (Alexander Belchenko)
 
1360
 
 
1361
Internals
 
1362
*********
 
1363
 
 
1364
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
1365
  class and will call ``_set_parent_location`` after doing unicode 
 
1366
  encoding. (Robert Collins)
 
1367
 
 
1368
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
1369
  ``Branch.set_parent_location`` removing further VFS operations.
 
1370
  (Robert Collins)
 
1371
 
 
1372
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
1373
  or similar when the dir supports configuration settings. The base class
 
1374
  defaults to None. There is a matching new server verb
 
1375
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
1376
  configuration. (Robert Collins)
 
1377
 
 
1378
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
1379
  called before the first test is started, ``done`` called after the last
 
1380
  test completes, and a new parameter ``strict``. (Robert Collins)
 
1381
 
 
1382
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
1383
  VFS operations are started on a smart server repository. This should not
 
1384
  occur on regular push and pull operations, and is a key indicator for
 
1385
  performance regressions. (Robert Collins)
 
1386
 
 
1387
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
1388
  cause mismatched physical locks to cause test errors rather than just
 
1389
  reporting to the screen. (Robert Collins)
 
1390
 
 
1391
* -Dprogress will cause pdb to start up if a progress view jumps
 
1392
  backwards. (Robert Collins)
 
1393
 
 
1394
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
1395
  are now be able to provide credentials if obtaining credentials 
 
1396
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
1397
  Vincent Ladeuil, #321918)
 
1398
 
 
1399
* New hook ``Lock.lock_broken`` which runs when a lock is
 
1400
  broken. This is mainly for testing that lock/unlock are
 
1401
  balanced in tests. (Vincent Ladeuil)
 
1402
 
 
1403
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
1404
  alter a body for the message produced by ``bzr send``.
 
1405
 
 
1406
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
1407
  refactoring to the core of clone allowing less round trips on new
 
1408
  branches. (Robert Collins)
 
1409
 
 
1410
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
1411
  are pointing at. (Jelmer Vernooij)
 
1412
 
 
1413
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
1414
 
 
1415
Testing
 
1416
*******
 
1417
 
 
1418
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
1419
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
1420
  (Vincent Ladeuil, Robert Collins)
 
1421
 
 
1422
bzr 1.14
 
1423
########
 
1424
:Codename: brisbane-core
 
1425
:1.14rc1: 2009-04-06
 
1426
:1.14rc2: 2009-04-19
 
1427
:1.14: 2009-04-28
 
1428
:1.14.1: 2009-05-01
 
1429
 
 
1430
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
1431
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
1432
End-of-line conversion is now supported for formats supporting content
 
1433
filtering.
 
1434
 
 
1435
Changes from 1.14final to 1.14.1
 
1436
********************************
 
1437
 
 
1438
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
1439
 
 
1440
Changes from 1.14rc2 to 1.14final
 
1441
*********************************
 
1442
 
 
1443
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
1444
  longer than 64KiB. (John Arbash Meinel, #364900)
 
1445
 
 
1446
Changes from 1.14rc1 to 1.14rc2
 
1447
*******************************
 
1448
 
 
1449
* Fix for bug 358037 Revision not in
 
1450
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
1451
  John A Meinel)
 
1452
 
 
1453
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
1454
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
1455
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
1456
 
 
1457
* Fix for bug 355280 eol content filters are never loaded and thus never
 
1458
  applied (Brian de Alwis, Ian Clatworthy)
 
1459
 
 
1460
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
1461
  write a better fix. (John Arbash Meinel, Robert Collins)
 
1462
 
 
1463
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
1464
  (Marius Kruger, Ian Clatworthy)
 
1465
 
 
1466
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
1467
  (Andrew Bennetts, Robert Collins)
 
1468
 
 
1469
Compatibility Breaks
 
1470
********************
 
1471
 
 
1472
* A previously disabled code path to accelerate getting configuration
 
1473
  settings from a smart server has been reinstated. We think this *may*
 
1474
  cause a incompatibility with servers older than bzr 0.15. We intend
 
1475
  to issue a point release to address this if it turns out to be a
 
1476
  problem. (Robert Collins, Andrew Bennetts)
 
1477
 
 
1478
* bzr no longer autodetects nested trees as 'tree-references'.  They
 
1479
  must now be explicitly added tree references.  At the commandline, use
 
1480
  join --reference instead of add.  (Aaron Bentley)
 
1481
 
 
1482
* The ``--long`` log format (the default) no longer shows merged
 
1483
  revisions implicitly, making it consistent with the ``short`` and
 
1484
  ``line`` log formats.  To see merged revisions for just a given
 
1485
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
1486
  use ``bzr log -n0``.  (Ian Clatworthy)
 
1487
 
 
1488
New Features
 
1489
************
 
1490
 
 
1491
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
1492
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
1493
  and generic content filtering. These formats replace the experimental
 
1494
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
1495
  respectively, but have support for filtered views disabled.
 
1496
  (Ian Clatworthy)
 
1497
 
 
1498
* New ``mv --auto`` option recognizes renames after they occur.
 
1499
  (Aaron Bentley)
 
1500
 
 
1501
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
1502
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
1503
 
 
1504
* ``bzr log`` now supports filtering of multiple files and directories
 
1505
  and will show changes that touch any of them. Furthermore,
 
1506
  directory filtering now shows the changes to any children of that
 
1507
  directory, not just the directory object itself.
 
1508
  (Ian Clatworthy, #97715)
 
1509
 
 
1510
* ``bzr shelve`` can now apply changes without storing anything on the
 
1511
  shelf, via the new --destroy option.  (Aaron Bentley)
 
1512
 
 
1513
* ``bzr send`` now accepts --body to specify an initial message body.
 
1514
  (Aaron bentley)
 
1515
 
 
1516
* ``bzr xxx --usage`` where xxx is a command now shows a usage
 
1517
  message and the options without the descriptive help sections
 
1518
  (like Description and Examples). A message is also given
 
1519
  explaining how to see the complete help, i.e. ``bzr help xxx``.
 
1520
  (Ian Clatworthy)
 
1521
 
 
1522
* Content filters can now be used to provide custom conversion
 
1523
  between the canonical format of content (i.e. as stored) and
 
1524
  the convenience format of content (i.e. as created in working
 
1525
  trees). See ``bzr help content-filters`` for further details.
 
1526
  (Ian Clatworthy, Alexander Belchenko)
 
1527
 
 
1528
* End-of-line conversion is now supported for formats supporting
 
1529
  content filtering. See ``bzr help eol`` for details.
 
1530
  (Ian Clatworthy)
 
1531
 
 
1532
* Newly-blessed `join` command allows combining two trees into one.
 
1533
  (Aaron Bentley)
 
1534
 
 
1535
Improvements
 
1536
************
 
1537
 
 
1538
* A new format name alias ``default-rich-root`` has been added and
 
1539
  points at the closest relative of the default format that supports 
 
1540
  rich roots. (Jelmer Vernooij, #338061)
 
1541
 
 
1542
* Branching from a stacked branch using ``bzr*://`` will now stream
 
1543
  the data when the target repository does not need topological
 
1544
  ordering, reducing round trips and network overhead. This uses the
 
1545
  existing smart server methods added in 1.13, so will work on any
 
1546
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
 
1547
 
 
1548
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
 
1549
  that displays/saves the content after content filters are applied.
 
1550
  (Ian Clatworthy)
 
1551
 
 
1552
* ``bzr ignore`` gives a more informative message when existing
 
1553
  version controlled files match the ignore pattern. (Neil
 
1554
  Martinsen-Burrell, #248895)
 
1555
 
 
1556
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
1557
  (Ian Clatworthy)
 
1558
 
 
1559
* ``bzr send`` is faster on repositories with deep histories.
 
1560
  (Ian Clatworthy)
 
1561
 
 
1562
* IPv6 literals are accepted in URLs.
 
1563
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
1564
 
 
1565
* Progress bars now show the rate of network activity for
 
1566
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
1567
 
 
1568
* Prompt for user names if they are not in the configuration. 
 
1569
  (Jelmer Vernooij, #256612)
 
1570
 
 
1571
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
 
1572
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
 
1573
  #294479)
 
1574
  
 
1575
* Streaming push can be done to older repository formats.  This is
 
1576
  implemented using a new ``Repository.insert_stream_locked`` RPC.
 
1577
  (Andrew Bennetts, Robert Collins)
 
1578
 
 
1579
* The "ignoring files outside view: .." message has been re-worded
 
1580
  to "Ignoring files outside view. View is .." to reduce confusion
 
1581
  about what was being considered and what was being ignored.
 
1582
  (Ian Clatworthy)
 
1583
 
 
1584
* The ``long`` log formatter now shows [merge] indicators. If
 
1585
  only one level of revisions is displayed and merges are found,
 
1586
  the ``long`` and ``short`` log formatters now tell the user
 
1587
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
1588
 
 
1589
* The ``brisbane-core`` project has delivered its beta format
 
1590
  ``development6-rich-root``. This format is suitable for judicious
 
1591
  testing by early adopters. In particular if you are benchmarking bzr
 
1592
  performance please be sure to test using this format. At this stage
 
1593
  more information is best obtained by contacting the Bazaar mailing list
 
1594
  or IRC channel if you are interested in using this format. We will make
 
1595
  end user documentation available closer to blessing the format as
 
1596
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
1597
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
1598
 
 
1599
* Tildes are no longer escaped. No more %7Euser/project/branch!
 
1600
  (Jonathan Lange)
 
1601
 
 
1602
Bug Fixes
 
1603
*********
 
1604
 
 
1605
* Pushing a new stacked branch will also push the parent inventories for
 
1606
  revisions at the stacking boundary.  This makes sure that the stacked
 
1607
  branch has enough data to calculate inventory deltas for all of its
 
1608
  revisions (without requiring the fallback branch).  This avoids
 
1609
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
1610
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
1611
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
1612
 
 
1613
* End-Of-Line content filters are now loaded correctly.
 
1614
  (Ian Clatworthy, Brian de Alwis, #355280)
 
1615
 
 
1616
* Authentication plugins now receive all the parameters from the request
 
1617
  itself (aka host, port, realm, path, etc). Previously, only the 
 
1618
  authentication section name, username and encoded password were 
 
1619
  provided. (Jean-Francois Roy)
 
1620
 
 
1621
* bzr gives a better message if an invalid regexp is passed to ``bzr log
 
1622
  -m``.  (Anne Mohsen, Martin Pool)
 
1623
 
 
1624
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
1625
 
 
1626
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
1627
  #313028)
 
1628
 
 
1629
* Fix "is not a stackable format" error when pushing a
 
1630
  stackable-format branch with an unstackable-format repository to a
 
1631
  destination with a default stacking policy.  (Andrew Bennetts)
 
1632
 
 
1633
* Fixed incorrect "Source format does not support stacking" warning
 
1634
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
1635
 
 
1636
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
1637
  needed. (Vincent Ladeuil, #355454)
 
1638
 
 
1639
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
 
1640
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
1641
  defined.  (Ian Clatworthy, #344708)
 
1642
 
 
1643
* It is no longer possible to fetch between repositories while the
 
1644
  target repository is in a write group. This prevents race conditions
 
1645
  that prevent the use of RPC's to perform fetch, and thus allows
 
1646
  optimising more operations. (Robert Collins, Andrew Bennetts)
 
1647
 
 
1648
* ``merge --force`` works again. (Robert Collins, #342105)
 
1649
 
 
1650
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
 
1651
  (Vincent Ladeuil, #346593)
 
1652
 
 
1653
* Pushing a new branch to a server that has a stacking policy will now
 
1654
  upgrade from the local branch format when the stacking policy points at
 
1655
  a branch which is itself stackable, because we know the client can read
 
1656
  both branches, we know that the trunk for the project can be read too,
 
1657
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
 
1658
 
 
1659
* Pushing a new stacked branch will also push the parent inventories for
 
1660
  revisions at the stacking boundary.  This makes sure that the stacked
 
1661
  branch has enough data to calculate inventory deltas for all of its
 
1662
  revisions (without requiring the fallback branch).  This avoids
 
1663
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
1664
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
1665
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
1666
 
 
1667
* The full test suite is passing again on OSX. Several minor issues (mostly
 
1668
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
1669
 
 
1670
* The GNU Changelog formatter is slightly improved in the case where
 
1671
  the delta is empty, and now correctly claims not to support tags.
 
1672
  (Andrea Bolognani)
 
1673
 
 
1674
* Shelve can now shelve changes to a symlink target.
 
1675
  (James Westby, #341558)
 
1676
 
 
1677
* The help for the ``info`` command has been corrected.
 
1678
  (Ian Clatworthy, #351931)
 
1679
 
 
1680
* Upgrade will now use a sensible default format if the source repository
 
1681
  uses rich roots.  (Jelmer Vernooij, #252908)
 
1682
 
 
1683
Documentation
 
1684
*************
 
1685
 
 
1686
* Expanded the index of the developer documentation. (Eric Siegerman)
 
1687
 
 
1688
* New topic `bzr help debug-flags`.  (Martin Pool)
 
1689
 
 
1690
* The generated manpage now explicitly lists aliases as commands.
 
1691
  (James Westby, #336998)
 
1692
 
 
1693
API Changes
 
1694
***********
 
1695
 
 
1696
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
1697
  (Martin Pool)
 
1698
 
 
1699
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
1700
  commit - this was a full-tree overhead that bzr no longer performs.
 
1701
  (Robert Collins)
 
1702
 
 
1703
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
1704
  obtain the username to use when connecting to remote machines. 
 
1705
  (Jelmer Vernooij)
 
1706
 
 
1707
* New API ``Inventory.filter()`` added that filters an inventory by
 
1708
  a set of file-ids so that only those fileids, their parents and
 
1709
  their children are included.  (Ian Clatworthy)
 
1710
 
 
1711
* New sort order for ``get_record_stream`` ``groupcompress`` which
 
1712
  sorts optimally for use with groupcompress compressors. (John Arbash
 
1713
  Meinel, Robert Collins)
 
1714
 
 
1715
* Repository APIs ``get_deltas_for_revisions()`` and
 
1716
  ``get_revision_delta()`` now support an optional ``specific_fileids``
 
1717
  parameter. If provided, the deltas are filtered so that only those
 
1718
  file-ids, their parents and their children are included.
 
1719
  (Ian Clatworthy)
 
1720
 
 
1721
* The ``get_credentials`` and ``set_credentials`` methods of 
 
1722
  ``AuthenticationConfig`` now accept an optional realm argument.
 
1723
  (Jean-Francois Roy)
 
1724
 
 
1725
* The ``pb`` argument to ``fetch()`` is deprecated.
 
1726
  (Martin Pool)
 
1727
 
 
1728
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
1729
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
1730
 
 
1731
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
 
1732
  that is not inside the backing transport from being opened.  See the
 
1733
  module documentation for ``bzrlib.smart.request`` for details.
 
1734
  (Andrew Bennetts, Robert Collins)
 
1735
 
 
1736
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
1737
  or None. Previously it would return the bytes from reading the link
 
1738
  which could be in any arbitrary encoding. (Robert Collins)
 
1739
 
 
1740
Testing
 
1741
*******
 
1742
 
 
1743
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
 
1744
  and ``tearDown`` weren't called.  This catches faulty tests that
 
1745
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
 
1746
  faulty tests were not properly isolated.
 
1747
  (Andrew Bennetts, Robert Collins)
 
1748
 
 
1749
* Fix test_msgeditor.MsgEditorTest test isolation.
 
1750
  (Vincent Ladeuil, #347130)
 
1751
 
 
1752
* ``medusa`` is not used anymore as an FTP test server starting with
 
1753
  python2.6. A new FTP test server based on ``pyftplib`` can be used
 
1754
  instead. This new server is a soft dependency as medusa which is still
 
1755
  preferred if both are available (modulo python version).
 
1756
  (Vincent Ladeuil)
 
1757
 
 
1758
Internals
 
1759
*********
 
1760
 
 
1761
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
1762
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
1763
 
 
1764
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
1765
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
1766
 
 
1767
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
1768
  serializing and deserializing inventory deltas for more efficient
 
1769
  streaming on the the network.  (Robert Collins, Andrew Bennetts)
 
1770
 
 
1771
* ``Branch._get_config`` has been added, which splits out access to the
 
1772
  specific config file from the branch. This is used to let RemoteBranch
 
1773
  avoid constructing real branch objects to access configuration settings.
 
1774
  (Robert Collins, Andrew Bennetts)
 
1775
 
 
1776
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
1777
  the implementation is generic and should impact foreign formats. This
 
1778
  helps performance for ``RemoteBranch`` push operations to new stacked
 
1779
  branches. (Robert Collins, Andrew Bennetts)
 
1780
 
 
1781
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
 
1782
  optmizations turned off. This only has effect when processing > 100,000
 
1783
  keys during something like ``bzr pack``. (John Arbash Meinel)
 
1784
 
 
1785
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
 
1786
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
 
1787
  dependency. (Robert Collins)
 
1788
 
 
1789
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
 
1790
  parameter for controlling opening of stacked branches.
 
1791
  (Andrew Bennetts, Robert Collins)
 
1792
  
 
1793
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
 
1794
  in terms of an iter_changes iterator rather than full tree scanning.
 
1795
  (Robert Collins)
 
1796
 
 
1797
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
 
1798
  enabling it to store the SHA1 and stat of the canonical (post
 
1799
  content filtered) form. (Ian Clatworthy)
 
1800
 
 
1801
* New ``assertLength`` method based on one Martin has squirreled away
 
1802
  somewhere. (Robert Collins, Martin Pool)
 
1803
 
 
1804
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
 
1805
  objects, allowing better enforcement of the smart server jail when
 
1806
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
 
1807
 
 
1808
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
1809
  to be added to the stanza that is printed for a particular revision.
 
1810
  (Jelmer Vernooij)
 
1811
 
 
1812
* New repository method ``refresh_data`` to cause any repository to
 
1813
  make visible data inserted into the repository by a smart server
 
1814
  fetch operation. (Robert Collins, Andrew Bennetts)
 
1815
 
 
1816
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
1817
  a callable to invoke if a preference has a value not in the map
 
1818
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
1819
  handle existing svn properties that define a list of keywords to be
 
1820
  expanded.  (Ian Clatworthy)
 
1821
 
 
1822
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
1823
  to write config settings to smart servers that support this, saving
 
1824
  5 round trips on the stacked streaming acceptance test.
 
1825
  (Robert Collins, Andrew Bennetts)
 
1826
 
 
1827
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
1828
  branch specific configuration from a remote server, which uses the 
 
1829
  already existing ``Branch.get_config_file`` smart verb.
 
1830
  (Robert Collins, Andrew Bennetts)
 
1831
 
 
1832
* ``RemoteRepository`` will now negatively cache missing revisions during
 
1833
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
 
1834
  (Robert Collins, Andrew Bennetts)
 
1835
 
 
1836
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
 
1837
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
 
1838
  (Andrew Bennetts)
 
1839
 
 
1840
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
 
1841
  whether the repository can efficiently generate deltas between trees
 
1842
  regardless of tree size. (Robert Collins)
 
1843
 
 
1844
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
 
1845
  byte strings" (aka 'chunked') for the content. It previously was
 
1846
  returning a plain string, which worked, but performed very poorly when
 
1847
  building a working tree (file.writelines(str) is very inefficient). This
 
1848
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
 
1849
 
 
1850
* selftest now supports a --parallel option, with values of 'fork' or
 
1851
  'subprocess' to run the test suite in parallel. Currently only linux
 
1852
  machine work, other platforms need patches submitted. (Robert Collins,
 
1853
  Vincent Ladeuil)
 
1854
 
 
1855
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
 
1856
  callables to use to decorate the test suite. Such decorators can add or
 
1857
  remove tests, or even remote the test suite to another machine if
 
1858
  desired. (Robert Collins)
 
1859
 
 
1860
* The smart server verb ``Repository.get_parent_map`` can now include
 
1861
  information about ghosts when the special revision ``include-missing:``
 
1862
  is in the requested parents map list. With this flag, ghosts are
 
1863
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
 
1864
 
 
1865
* ``_walk_to_common_revisions`` will now batch up at least 50
 
1866
  revisions before calling ``get_parent_map`` on the target,
 
1867
  regardless of ``InterRepository``.
 
1868
  (Andrew Bennetts, Robert Collins)
 
1869
 
 
1870
bzr 1.13
 
1871
########
 
1872
 
 
1873
:Codename: paraskavedekatriaphobia
 
1874
:1.13: 2009-03-14
 
1875
:1.13rc1: 2009-03-10
 
1876
:1.13.1: 2009-03-23
 
1877
:1.13.2: 2009-04-27
 
1878
 
 
1879
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
 
1880
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
 
1881
stacked branches should both be much faster over remote connections.  
 
1882
 
 
1883
Changes From 1.13.1 to 1.13.2
 
1884
*****************************
 
1885
 
 
1886
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
1887
a stacked branch they do not take care to push all the parent inventories for
 
1888
the transferred revisions. This means that a smart server serving that branch
 
1889
often cannot calculate inventory deltas for the branch (because smart server
 
1890
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
1891
have a verb to stream revisions out of a repository, so that's why this bug has
 
1892
appeared now.
 
1893
 
 
1894
Bug Fixes
 
1895
*********
 
1896
 
 
1897
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
1898
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
1899
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
1900
 
 
1901
Changes From 1.13final to 1.13.1
 
1902
********************************
 
1903
 
 
1904
A couple regessions where found in the 1.13 release. The pyrex-generated C
 
1905
extensions are missing from the .tar.gz and .zip files.  Documentation on how
 
1906
to generate GNU ChangeLogs is wrong.
 
1907
 
 
1908
Bug Fixes
 
1909
*********
 
1910
 
 
1911
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
 
1912
  version_info. (Bob Tanner, Martin Pool, #345232)
 
1913
 
 
1914
* Distribution archives for 1.13 do not contain generated C extension modules
 
1915
  (Jean-Francois Roy, Bob Tanner, #344465)
 
1916
 
 
1917
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
 
1918
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
 
1919
 
 
1920
* ``merge --force`` works again. (Robert Collins, #342105)
 
1921
 
 
1922
Changes From 1.13rc1 to 1.13final
 
1923
*********************************
 
1924
 
 
1925
* Fix "is not a stackable format" error when pushing a
 
1926
  stackable-format branch with an unstackable-format repository to a
 
1927
  destination with a default stacking policy.  (Andrew Bennetts)
 
1928
 
 
1929
* Progress bars now show the rate of network activity for
 
1930
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
1931
 
 
1932
Compatibility Breaks
 
1933
********************
 
1934
 
 
1935
* ``bzr log --line`` now indicates which revisions are merges with
 
1936
  `[merge]` after the date.  Scripts which parse the output of this
 
1937
  command may need to be adjusted.
 
1938
  (Neil Martinsen-Burrell)
 
1939
 
 
1940
New Features
 
1941
************
 
1942
 
 
1943
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
 
1944
  options to change the default tree-creation policy of shared
 
1945
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
 
1946
 
 
1947
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
 
1948
  (Martin Pool)
 
1949
 
 
1950
* Filtered views provide a mask over the tree so that users can focus
 
1951
  on a subset of a tree when doing their work. See ``Filtered views``
 
1952
  in chapter 7 of the User Guide and ``bzr help view`` for details.
 
1953
  (Ian Clatworthy)
 
1954
 
 
1955
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
 
1956
  (Andrea Bolognani, Martin Pool)
 
1957
 
 
1958
* The ``-Dmemory`` flag now gives memory information on Windows.
 
1959
  (John Arbash Meinel)
 
1960
 
 
1961
* Multiple authors for a commit can now be recorded by using the "--author"
 
1962
  option multiple times. (James Westby, #185772)
 
1963
 
 
1964
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
 
1965
 
 
1966
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
 
1967
  branch in your web browser, as long as the branch is on Launchpad at all.
 
1968
  (Jonathan Lange)
 
1969
 
 
1970
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
 
1971
  (Jonathan Lange)
 
1972
 
 
1973
Improvements
 
1974
************
 
1975
 
 
1976
* All bzr ``Hooks`` classes are now registered in
 
1977
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
 
1978
  ``bzrlib.tests`` and ensures that all hooks registered there are
 
1979
  correctly isolated by the test suite (previously
 
1980
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
 
1981
  documentation for hooks is now dynamically generated from the
 
1982
  present HookPoints. ``bzr hooks`` will now also report on all the
 
1983
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
 
1984
  (Robert Collins)
 
1985
 
 
1986
* ``bzr add`` no longer prints ``add completed`` on success. Failure
 
1987
  still prints an error message. (Robert Collins)
 
1988
 
 
1989
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
 
1990
  generation of a working tree in the new branch.
 
1991
  (Daniel Watkins, John Klinger, #273993)
 
1992
 
 
1993
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
 
1994
  use ssh://. (Jelmer Vernooij, #330535)
 
1995
 
 
1996
* ``bzr -v info`` now omits the number of committers branch statistic,
 
1997
  making it many times faster for large projects. To include that
 
1998
  statistic in the output, use ``bzr -vv info``.
 
1999
  (Ian Clatworthy)
 
2000
 
 
2001
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
 
2002
  stream if the server is version 1.13 or greater, reducing roundtrips
 
2003
  significantly. (Andrew Bennetts, Robert Collins)
 
2004
 
 
2005
* Lightweight Checkouts and Stacked Branches should both be much
 
2006
  faster over remote connections. Building the working tree now
 
2007
  batches up requests into approx 5MB requests, rather than a separate
 
2008
  request for each file. (John Arbash Meinel)
 
2009
 
 
2010
* Support for GSSAPI authentication when using HTTP or HTTPS. 
 
2011
  (Jelmer Vernooij)
 
2012
 
 
2013
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
 
2014
  short options better. (Daniel Watkins, #327429)
 
2015
 
 
2016
* ``bzr lp-open`` now falls back to the push location if it cannot find a
 
2017
  public location. (Jonathan Lange, #332372)
 
2018
 
 
2019
* ``bzr lp-open`` will try to find the Launchpad URL for the location
 
2020
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
 
2021
  expected. (Jonathan Lange, #332705)
 
2022
 
 
2023
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
 
2024
 
 
2025
Bug Fixes
 
2026
*********
 
2027
 
 
2028
* Allows ``bzr log <FILE>`` to be called in an empty branch without
 
2029
  backtracing. (Vincent Ladeuil, #346431)
 
2030
 
 
2031
* Bazaar now gives a better message including the filename if it's
 
2032
  unable to read a file in the working directory, for example because
 
2033
  of a permission error.  (Martin Pool, #338653)
 
2034
 
 
2035
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
 
2036
  file id in the working tree different from the one in revision <old>.
 
2037
  (Vincent Ladeuil, #341517, #253806)
 
2038
 
 
2039
* ``bzr send`` help is more specific about how to apply merge
 
2040
  directives.  (Neil Martinsen-Burrell, #253470)
 
2041
 
 
2042
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
 
2043
  than fetching trees and determining a delta itself. (Jelmer
 
2044
  Vernooij, #315048)
 
2045
 
 
2046
* ``bzr push`` to a smart server no longer causes "Revision
 
2047
  {set([('null:',)])} not present ..." errors when the branch has
 
2048
  multiple root revisions. (Andrew Bennetts, #317654)
 
2049
 
 
2050
* ``bzr shelve`` now properly handle patches with no terminating newline.
 
2051
  (Benoît PIERRE, #303569)
 
2052
 
 
2053
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
 
2054
  shelf id. (Daniel Watkins)
 
2055
 
 
2056
* Export now handles files that are not present in the tree.
 
2057
  (James Westby, #174539)
 
2058
 
 
2059
* Fixed incorrect "Source format does not support stacking" warning
 
2060
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
2061
  
 
2062
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
 
2063
  error branching from old repositories.
 
2064
  (Martin Pool, #321695)
 
2065
 
 
2066
* Make ``bzr push --quiet <non-local location>`` less chatty.
 
2067
  (Kent Gibson, #221461)
 
2068
 
 
2069
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
 
2070
  branches, and this was not noticed due to a bug in the test logic
 
2071
  for branches. This is now fixed and a test added to prevent it
 
2072
  reoccuring. (Robert Collins, Andrew Bennetts)
 
2073
 
 
2074
* Restore the progress bar on Windows. We were disabling it when TERM
 
2075
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
2076
  #334808)
 
2077
 
 
2078
* ``setup.py build_ext`` now gives a proper error when an extension
 
2079
  fails to build. (John Arbash Meinel)
 
2080
 
 
2081
* Symlinks to non ascii file names are now supported.
 
2082
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
 
2083
 
 
2084
* Under rare circumstances (aka nobody reported a bug about it), the ftp
 
2085
  transport could revert to ascii mode. It now stays in binary mode except
 
2086
  when needed.  (Vincent Ladeuil)
 
2087
 
 
2088
* Unshelve does not generate warnings about progress bars.
 
2089
  (Aaron Bentley, #328148)
 
2090
 
 
2091
* shelve cleans up properly when unversioned files are specified.
 
2092
  (Benoît Pierre, Aaron Bentley)
 
2093
 
 
2094
Documentation
 
2095
*************
 
2096
 
 
2097
* Added ``Organizing your workspace`` to the User Guide appendices,
 
2098
  summarizing some common ways of organizing trees, branches and
 
2099
  repositories and the processes/workflows implied/enabled by each.
 
2100
  (Ian Clatworthy)
 
2101
 
 
2102
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
 
2103
  is the entry point for this feature. (Robert Collins)
 
2104
 
 
2105
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
 
2106
  (Daniel Watkins, #327421, #327425)
 
2107
 
 
2108
API Changes
 
2109
***********
 
2110
 
 
2111
* ``bzr selftest`` now fails if the bazaar sources contain trailing
 
2112
  whitespace, non-unix style line endings and files not ending in a
 
2113
  newline. About 372 files and 3243 lines with trailing whitespace was
 
2114
  updated to comply with this. The code already complied with the other
 
2115
  criteria, but now it is enforced. (Marius Kruger)
 
2116
 
 
2117
* ``bzrlib.branch.PushResult`` was renamed to 
 
2118
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
 
2119
 
 
2120
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
 
2121
  than a count of copied revisions and failed revisions. A while back
 
2122
  we stopped ever reporting failed revisions because we started
 
2123
  erroring instead, and the copied revisions count is not used in the
 
2124
  UI at all - indeed it only reflects the repository status not
 
2125
  changes to the branch itself. (Robert Collins)
 
2126
 
 
2127
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
 
2128
  appears multiple times within the delta. (Ian Clatworthy)
 
2129
 
 
2130
* MutableTree.commit now favours the "authors" argument, with the old
 
2131
  "author" argument being deprecated.
 
2132
 
 
2133
* Remove deprecated EmptyTree.  (Martin Pool)
 
2134
 
 
2135
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
 
2136
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
 
2137
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
 
2138
  which revisions to fetch. (Andrew Bennetts)
 
2139
 
 
2140
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
 
2141
  tuple of ``(repository, is_new_flag)``, rather than just the
 
2142
  repository.  (Andrew Bennetts)
 
2143
 
 
2144
* Revision.get_apparent_author() is now deprecated, replaced by
 
2145
  Revision.get_apparent_authors(), which returns a list. The former
 
2146
  now returns the first item that would be returned from the second.
 
2147
 
 
2148
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
 
2149
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
 
2150
 
 
2151
* The ``_fetch_*`` attributes on ``Repository`` are now on
 
2152
  ``RepositoryFormat``, more accurately reflecting their intent (they
 
2153
  describe a disk format capability, not state of a particular
 
2154
  repository of that format). (Robert Collins)
 
2155
 
 
2156
Internals
 
2157
*********
 
2158
 
 
2159
* Branching from a non-stacked branch on a smart protocol is now
 
2160
  free of virtual file system methods.
 
2161
  (Robert Collins, Andrew Bennetts)
 
2162
 
 
2163
* Branch and Repository creation on a bzr+ssh://server are now done
 
2164
  via RPC calls rather than VFS calls, reducing round trips for
 
2165
  pushing new branches substantially. (Robert Collins)
 
2166
 
 
2167
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
 
2168
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
 
2169
  configured before the branch tags and revision tip are set. This
 
2170
  fixes a race condition cloning stacked branches that would cause
 
2171
  plugins to have hooks called on non-stacked instances.
 
2172
  (Robert Collins, #334187)
 
2173
 
 
2174
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
 
2175
 
 
2176
* ``BzrDirFormat.__str__`` now uses the human readable description
 
2177
  rather than the sometimes-absent disk label. (Robert Collins)
 
2178
 
 
2179
* ``bzrlib.fetch`` is now composed of a sender and a sink component
 
2180
  allowing for decoupling over a network connection. Fetching from
 
2181
  or into a RemoteRepository with a 1.13 server will use this to
 
2182
  stream the operation.
 
2183
  (Andrew Bennetts, Robert Collins)
 
2184
 
 
2185
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
 
2186
  supporting the use of different runners. (Robert Collins)
 
2187
 
 
2188
* Change how file_ids and revision_ids are interned as part of
 
2189
  inventory deserialization. Now we use the real ``intern()``, rather
 
2190
  than our own workaround that would also cache a Unicode copy of the
 
2191
  string, and never emptied the cache. This should slightly reduce
 
2192
  memory consumption. (John Arbash Meinel)
 
2193
 
 
2194
* New branch method ``create_clone_on_transport`` that returns a
 
2195
  branch object. (Robert Collins)
 
2196
 
 
2197
* New hook Commands['extend_command'] to allow plugins to access a
 
2198
  command object before the command is run (or help generated from
 
2199
  it), without overriding the command. (Robert Collins)
 
2200
 
 
2201
* New version of the ``BzrDir.find_repository`` verb supporting
 
2202
  ``_network_name`` to support removing more _ensure_real calls.
 
2203
  (Robert Collins)
 
2204
 
 
2205
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
 
2206
  (Robert Collins)
 
2207
 
 
2208
* ``Repository`` objects now have ``suspend_write_group`` and
 
2209
  ``resume_write_group`` methods.  These are currently only useful
 
2210
  with pack repositories. (Andrew Bennetts, Robert Collins)
 
2211
 
 
2212
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
 
2213
  now have a ``network_name`` for passing the format across RPC calls.
 
2214
  (Robert Collins, Andrew Bennetts)
 
2215
 
 
2216
* ``RepositoryFormat`` objects now all have a new attribute
 
2217
  ``_serializer`` used by fetch when reserialising is required.
 
2218
  (Robert Collins, Andrew Bennetts)
 
2219
 
 
2220
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
 
2221
  to aid branch types that are not bzr branch objects (like
 
2222
  RemoteBranch). (Robert Collins, Andrew Bennetts)
 
2223
 
 
2224
* Test adaptation has been made consistent throughout the built in
 
2225
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
 
2226
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
 
2227
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
 
2228
  and ``apply_scenario``. (Robert Collins)
 
2229
 
 
2230
* ``TestSkipped`` is now detected by TestCase and passed to the
 
2231
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
 
2232
  where ``addSkip`` is not available, ``addError`` is still called.
 
2233
  This permits test filtering in subunit to strip out skipped tests
 
2234
  resulting in a faster fix-shrink-list-run cycle. This is compatible
 
2235
  with the testtools protocol for skips. (Robert Collins)
 
2236
 
 
2237
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
 
2238
  to scan an underlying index that is going to be incorporated into
 
2239
  the ``KnitVersionedFiles`` object, to determine if it has missing
 
2240
  delta references. The method is ``scan_unvalidated_index``.
 
2241
  (Andrew Bennetts, Robert Collins)
 
2242
 
 
2243
* There is a RemoteSink object which handles pushing to smart servers.
 
2244
  (Andrew Bennetts, Robert Collins)
 
2245
 
 
2246
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
 
2247
  ``rmdir`` calls. (Robert Collins)
 
2248
 
 
2249
* ``VersionedFiles`` record adapters have had their signature change
 
2250
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
 
2251
  ``(record)`` reducing excess duplication and allowing adapters
 
2252
  to access private data in record to obtain content more
 
2253
  efficiently. (Robert Collins)
 
2254
 
 
2255
* We no longer probe to see if we should create a working tree during
 
2256
  clone if we cannot get a local_abspath for the new bzrdir.
 
2257
  (Robert Collins)
 
2258
 
 
2259
 
 
2260
bzr 1.12
 
2261
########
 
2262
 
 
2263
:Codename: 1234567890
 
2264
:1.12: 2009-02-13
 
2265
:1.12rc1: 2009-02-10
 
2266
 
 
2267
This release of Bazaar contains many improvements to the speed,
 
2268
documentation and functionality of ``bzr log`` and the display of logged
 
2269
revisions by ``bzr status``.  bzr now also gives a better indication of
 
2270
progress, both in the way operations are drawn onto a text terminal, and
 
2271
by showing the rate of network IO.
 
2272
 
 
2273
Changes from RC1 to Final
 
2274
*************************
 
2275
 
 
2276
* ``bzr init --development-wt5[-rich-root]`` would fail because of
 
2277
  circular import errors. (John Arbash Meinel, #328135)
 
2278
 
 
2279
* Expanded the help for log and added a new help topic called
 
2280
  ``log-formats``.  (Ian Clatworthy)
 
2281
 
 
2282
Compatibility Breaks
 
2283
********************
 
2284
 
 
2285
* By default, ``bzr status`` after a merge now shows just the pending
 
2286
  merge tip revisions. This improves the signal-to-noise ratio after
 
2287
  merging from trunk and completes much faster. To see all merged
 
2288
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
 
2289
 
 
2290
* ``bzr log --line`` now shows any tags after the date and before
 
2291
  the commit message. If you have scripts which parse the output
 
2292
  from this command, you may need to adjust them accordingly.
 
2293
  (Ian Clatworthy)
 
2294
 
 
2295
* ``bzr log --short`` now shows any additional revision properties
 
2296
  after the date and before the commit message.  Scripts that parse 
 
2297
  output of the log command in this situation may need to adjust.
 
2298
  (Neil Martinsen-Burrell)
 
2299
 
 
2300
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
 
2301
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
 
2302
  respectively, given they are not ready for release in 1.12.
 
2303
  (Ian Clatworthy)
 
2304
 
 
2305
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
 
2306
 
 
2307
New Features
 
2308
************
 
2309
 
 
2310
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
 
2311
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
 
2312
  be filtered using ``bzr missing --my-revision -20..-10``.
 
2313
  (Marius Kruger)
 
2314
 
 
2315
* ``bzr log -p`` displays the patch diff for each revision.
 
2316
  When logging a file, the diff only includes changes to that file.
 
2317
  (Ian Clatworthy, #202331, #227335)
 
2318
 
 
2319
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
 
2320
  A value of 0 (zero) means "show all nested merge revisions" while
 
2321
  a value of 1 (one) means "show just the top level". Values above
 
2322
  1 can be used to see a limited amount of nesting. That can be
 
2323
  useful for seeing the level or two below PQM submits for example.
 
2324
  To force the ``--short`` and ``--line`` formats to display all nested
 
2325
  merge revisions just like ``--long`` does by default, use a command
 
2326
  like ``bzr log --short -n0``. To display just the mainline using
 
2327
  ``--long`` format, ``bzr log --long -n1``.
 
2328
  (Ian Clatworthy)
 
2329
 
 
2330
Improvements
 
2331
************
 
2332
 
 
2333
* ``bzr add`` more clearly communicates success vs failure.
 
2334
  (Daniel Watkins)
 
2335
 
 
2336
* ``bzr init`` will now print a little less verbose output.
 
2337
  (Marius Kruger)
 
2338
 
 
2339
* ``bzr log`` is now much faster in many use cases, particularly
 
2340
  at incrementally displaying results and filtering by a
 
2341
  revision range. (Ian Clatworthy)
 
2342
 
 
2343
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
 
2344
  for each revision. The tags are shown comma-separated inside
 
2345
  ``{}``. For short format, the tags appear at the end of line
 
2346
  before the optional ``[merge]`` indicator. For line format,
 
2347
  the tags appear after the date. (Ian Clatworthy)
 
2348
 
 
2349
* Progress bars now show the rate of activity for some sftp 
 
2350
  operations, and they are drawn different.  (Martin Pool, #172741)
 
2351
 
 
2352
* Progress bars now show the rate of activity for urllib and pycurl based
 
2353
  http client implementations. The operations are tracked at the socket
 
2354
  level for better precision.
 
2355
  (Vincent Ladeuil)
 
2356
 
 
2357
* Rule-based preferences can now accept multiple patterns for a set of
 
2358
  rules.  (Marius Kruger)
 
2359
 
 
2360
* The ``ancestor:`` revision spec will now default to referring to the
 
2361
  parent of the branch if no other location is given.
 
2362
  (Daniel Watkins, #198417)
 
2363
 
 
2364
* The debugger started as a result of setting ``$BZR_PDB`` works
 
2365
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
 
2366
  can cause truncated tracebacks in Python versions before 2.6.
 
2367
  (Andrew Bennetts)
 
2368
 
 
2369
* VirtualVersionedFiles now implements
 
2370
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
 
2371
  new branches based on stacked bzr-svn branches. (#311997)
 
2372
 
 
2373
Bug Fixes
 
2374
*********
 
2375
 
 
2376
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
 
2377
  anymore.
 
2378
  (Anne Mohsen, Vincent Ladeuil, #314525)
 
2379
 
 
2380
* ``bzr log FILE`` now correctly shows mainline revisions merging
 
2381
  a change to FILE when the ``--short`` and ``--line`` log formats
 
2382
  are used. (Ian Clatworthy, #317417)
 
2383
 
 
2384
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
 
2385
  it existed in Y or X, even if the file has since been deleted or
 
2386
  renamed. If no range is given, the current/basis tree and
 
2387
  initial tree are searched in that order. More generally, log
 
2388
  now interprets filenames in their historical context.
 
2389
  (Ian Clatworthy, #175520)
 
2390
 
 
2391
* ``bzr status`` now reports nonexistent files and continues, then
 
2392
  errors (with code 3) at the end.  (Karl Fogel, #306394)
 
2393
 
 
2394
* Don't require the present compression base in knits to be the same
 
2395
  when adding records in knits. (Jelmer Vernooij, #307394)
 
2396
 
 
2397
* Fix a problem with CIFS client/server lag on Windows colliding with
 
2398
  an invariant-per-process algorithm for generating AtomicFile names
 
2399
  (Adrian Wilkins, #304023)
 
2400
 
 
2401
* Many socket operations now handle EINTR by retrying the operation.
 
2402
  Previously EINTR was treated as an unrecoverable failure.  There is
 
2403
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
 
2404
  (Andrew Bennetts)
 
2405
 
 
2406
* Support symlinks with non-ascii characters in the symlink filename.
 
2407
  (Jelmer Vernooij, #319323)
 
2408
 
 
2409
* There was a bug in how we handled resolving when a file is deleted
 
2410
  in one branch, and modified in the other. If there was a criss-cross
 
2411
  merge, we would cause the deletion to conflict a second time.
 
2412
  (Vincent Ladeuil, John Arbash Meinel)
 
2413
 
 
2414
* There was another bug in how we chose the correct intermediate LCA in
 
2415
  criss-cross merges leading to several kind of changes be incorrectly
 
2416
  handled.
 
2417
  (John Arbash Meinel, Vincent Ladeuil)
 
2418
 
 
2419
* Unshelve now handles deleted paths without crashing. (Robert Collins)
 
2420
 
 
2421
Documentation
 
2422
*************
 
2423
 
 
2424
* Improved plugin developer documentation.  (Martin Pool)
 
2425
 
 
2426
API Changes
 
2427
***********
 
2428
 
 
2429
* ``ProgressBarStack`` is deprecated; instead use
 
2430
  ``ui_factory.nested_progress_bar`` to create new progress bars.
 
2431
  (Martin Pool)
 
2432
 
 
2433
* ForeignVcsMapping() now requires a ForeignVcs object as first
 
2434
  argument. (Jelmer Vernooij)
 
2435
 
 
2436
* ForeignVcsMapping.show_foreign_revid() has been moved to
 
2437
  ForeignVcs. (Jelmer Vernooij)
 
2438
 
 
2439
* ``read_bundle_from_url`` is deprecated in favor of
 
2440
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
 
2441
 
 
2442
* Revision specifiers are now registered in
 
2443
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
 
2444
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
 
2445
  deprecated. (Jelmer Vernooij, #321183)
 
2446
 
 
2447
* The progress and UI classes have changed; the main APIs remain the
 
2448
  same but code that provides a new UI or progress bar class may
 
2449
  need to be updated.  (Martin Pool)
 
2450
 
 
2451
Internals
 
2452
*********
 
2453
 
 
2454
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
 
2455
  terminal. It is sometimes desirable do override this default by forcing
 
2456
  bzr to use TextUIFactory. This can be achieved by setting the
 
2457
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
 
2458
  compile buffers, are such an example).
 
2459
  (Vincent Ladeuil)
 
2460
 
 
2461
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
 
2462
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
 
2463
  (Ian Clatworthy)
 
2464
 
 
2465
* New ``Branch.dotted_revno_to_revision_id()`` and
 
2466
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
 
2467
  efficient way of doing the mapping.
 
2468
  (Ian Clatworthy)
 
2469
 
 
2470
* Refactor cmd_serve so that it's a little easier to build commands that
 
2471
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
 
2472
 
 
2473
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
 
2474
  formatters to retrict the output.
 
2475
  (Vincent Ladeuil)
 
2476
 
 
2477
 
 
2478
bzr 1.11 "Eyes up!" 2009-01-19
 
2479
##############################
 
2480
 
 
2481
This first monthly release of Bazaar for 2009 improves Bazaar's operation
 
2482
in Windows, Mac OS X, and other situations where file names are matched
 
2483
without regard to capitalization: Bazaar tries to match the case of an
 
2484
existing file.  This release of Bazaar also improves the efficiency of
 
2485
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
 
2486
 
 
2487
The UI through which Bazaar supports historic formats has been improved,
 
2488
so 'bzr help formats' now gives a simpler and shorter list, with clear
 
2489
advice.
 
2490
 
 
2491
This release also fixes a number of bugs, particularly a glitch that can
 
2492
occur when there are concurrent writes to a pack repository.
 
2493
 
 
2494
Bug Fixes
 
2495
*********
 
2496
 
 
2497
* Fix failing test when CompiledChunksToLines is not available.
 
2498
  (Vincent Ladeuil)
 
2499
 
 
2500
* Stacked branches don't repeatedly open their transport connection.
 
2501
  (John Arbash Meinel)
 
2502
 
 
2503
 
 
2504
 
 
2505
bzr 1.11rc1 "Eyes up!" 2009-01-09
 
2506
#################################
 
2507
 
 
2508
Changes
 
2509
*******
 
2510
 
 
2511
* Formats using Knit-based repository formats are now explicitly
 
2512
  marked as deprecated. (Ian Clatworthy)
 
2513
 
 
2514
New Features
 
2515
************
 
2516
 
 
2517
* Add support for `bzr tags -r 1..2`, that is we now support showing
 
2518
  tags applicable for a specified revision range. (Marius Kruger)
 
2519
 
 
2520
* ``authentication.conf`` now accepts pluggable read-only credential
 
2521
  stores. Such a plugin (``netrc_credential_store``) is now included,
 
2522
  handles the ``$HOME/.netrc`` file and can server as an example to
 
2523
  implement other plugins.
 
2524
  (Vincent Ladeuil)
 
2525
 
 
2526
* ``shelve --list`` can now be used to list shelved changes.
 
2527
  (Aaron Bentley)
 
2528
 
 
2529
Improvements
 
2530
************
 
2531
 
 
2532
* Add trailing slash to directories in all output of ``bzr ls``, except
 
2533
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
 
2534
 
 
2535
* ``bzr revision-info`` now supports a -d option to specify an
 
2536
  alternative branch. (Michael Hudson)
 
2537
 
 
2538
* Add connection to a C++ implementation of the Windows Shell Extension
 
2539
  which is able to fully replace the current Python implemented one.
 
2540
  Advantages include 64bit support and reduction in overhead for
 
2541
  processes which drag in shell extensions.
 
2542
  (Mark Hammond)
 
2543
 
 
2544
* Support the Claws mail client directly, rather than via
 
2545
  xdg-email. This prevents the display of an unnecessary modal
 
2546
  dialog in Claws, informing the user that a file has been
 
2547
  attached to the message, and works around bug #291847 in
 
2548
  xdg-utils which corrupts the destination address.
 
2549
 
 
2550
* When working on a case-insensitive case-preserving file-system, as
 
2551
  commonly found with Windows, bzr will often ignore the case of the
 
2552
  arguments specified by the user in preference to the case of an existing
 
2553
  item on the file-system or in the inventory to help prevent
 
2554
  counter-intuitive behaviour on Windows. (Mark Hammond)
 
2555
 
 
2556
Bug Fixes
 
2557
*********
 
2558
  
 
2559
* Allow BzrDir implementation to implement backing up of 
 
2560
  control directory. (#139691)
 
2561
 
 
2562
* ``bzr push`` creating a new stacked branch will now only open a
 
2563
  single connection to the target machine. (John Arbash Meinel)
 
2564
 
 
2565
* Don't call iteritems on transport_list_registry, because it may
 
2566
  change during iteration.  (Martin Pool, #277048)
 
2567
 
 
2568
* Don't make a broken branch when pushing an unstackable-format branch
 
2569
  that's in a stackable shared repository to a location with default
 
2570
  stack-on location.  (Andrew Bennetts, #291046)
 
2571
 
 
2572
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
 
2573
  (Ben Jansen, Vincent Ladeuil, #300347)
 
2574
 
 
2575
* Fix a problem with CIFS client/server lag on windows colliding with
 
2576
  an invariant-per-process algorithm for generating AtomicFile names
 
2577
  (Adrian Wilkins, #304023)
 
2578
 
 
2579
* Fix bogus setUp signature in UnavailableFTPServer.
 
2580
  (Gary van der Merwe, #313498)
 
2581
 
 
2582
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
 
2583
  (Jari Aalto)
 
2584
 
 
2585
* Fix SystemError in ``_patiencediff_c`` module by calling
 
2586
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
 
2587
  (Andrew Bennetts, #303206)
 
2588
 
 
2589
* Give proper error message for diff with non-existent dotted revno.
 
2590
  (Marius Kruger, #301969)
 
2591
 
 
2592
* Handle EACCES (permission denied) errors when launching a message
 
2593
  editor, and emit warnings when a configured editor cannot be
 
2594
  started. (Andrew Bennetts)
 
2595
 
 
2596
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
 
2597
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
 
2598
  in the appropriate sections.
 
2599
  (Vincent Ladeuil, #103029)
 
2600
 
 
2601
* Opening a stacked branch now properly shares the connection, rather
 
2602
  than opening a new connection for the stacked-on branch.
 
2603
  (John Arbash meinel)
 
2604
 
 
2605
* Preserve transport decorators while following redirections.
 
2606
  (Vincent Ladeuil, #245964, #270863)
 
2607
 
 
2608
* Provides a finer and more robust filter for accepted redirections.
 
2609
  (Vincent Ladeuil, #303959, #265070)
 
2610
 
 
2611
* ``shelve`` paths are now interpreted relative to the current working
 
2612
  tree.  (Aaron Bentley)
 
2613
 
 
2614
* ``Transport.readv()`` defaults to not reading more than 100MB in a
 
2615
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
 
2616
  work better with how it splits its requests.
 
2617
  (John Arbash Meinel, #303538)
 
2618
 
 
2619
* Pack repositories are now able to reload the pack listing and retry
 
2620
  the current operation if another action causes the data to be
 
2621
  repacked.  (John Arbash Meinel, #153786)
 
2622
 
 
2623
* ``pull -v`` now respects the log_format configuration variable.
 
2624
  (Aaron Bentley)
 
2625
 
 
2626
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
 
2627
 
 
2628
* Use the short status format when the short format is used for log.
 
2629
  (Vincent Ladeuil, #87179)
 
2630
 
 
2631
* Allow files to be renamed or moved via remove + add-by-id. (Charles
 
2632
  Duffy, #314251)
 
2633
 
 
2634
Documentation
 
2635
*************
 
2636
 
 
2637
* Improved the formats help topic to explain why multiple formats
 
2638
  exist and to provide guidelines in selecting one. Introduced
 
2639
  two new supporting help topics: current-formats and other-formats.
 
2640
  (Ian Clatworthy)
 
2641
 
 
2642
API Changes
 
2643
***********
 
2644
 
 
2645
* ``LRUCache(after_cleanup_size)`` was renamed to
 
2646
  ``after_cleanup_count`` and the old name deprecated. The new name is
 
2647
  used for clarity, and to avoid confusion with
 
2648
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
 
2649
 
 
2650
* New ``ForeignRepository`` base class, to help with foreign branch 
 
2651
  support (e.g. svn).  (Jelmer Vernooij)
 
2652
 
 
2653
* ``node_distances`` and ``select_farthest`` can no longer be imported
 
2654
  from ``bzrlib.graph``.  They can still be imported from
 
2655
  ``bzrlib.deprecated_graph``, which has been the preferred way to
 
2656
  import them since before 1.0.  (Andrew Bennetts)
 
2657
  
 
2658
* The logic in commit now delegates inventory basis calculations to
 
2659
  the ``CommitBuilder`` object; this requires that the commit builder
 
2660
  in use has been updated to support the new ``recording_deletes`` and
 
2661
  ``record_delete`` methods. (Robert Collins)
 
2662
 
 
2663
Testing
 
2664
*******
 
2665
 
 
2666
* An HTTPS server is now available (it requires python-2.6). Future bzr
 
2667
  versions will allow the use of the python-2.6 ssl module that can be
 
2668
  installed for 2.5 and 2.4.
 
2669
 
 
2670
* ``bzr selftest`` now fails if new trailing white space is added to
 
2671
  the bazaar sources. It only checks changes not committed yet. This
 
2672
  means that PQM will now reject changes that introduce new trailing
 
2673
  whitespace. (Marius Kruger)
 
2674
 
 
2675
* Introduced new experimental formats called ``1.12-preview`` and
 
2676
  ``1.12-preview-rich-root`` to enable testing of related pending
 
2677
  features, namely content filtering and filtered views.
 
2678
  (Ian Clatworthy)
 
2679
 
 
2680
Internals
 
2681
*********
 
2682
 
 
2683
* Added an ``InventoryEntry`` cache when deserializing inventories.
 
2684
  Can cut the time to iterate over multiple RevisionsTrees in half.
 
2685
  (John Arbash Meinel)
 
2686
 
 
2687
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
 
2688
  minimal overhead versus using a plain dict for cache hits, at the
 
2689
  cost of not preserving the 'active' set as well as an ``LRUCache``.
 
2690
  (John Arbash Meinel)
 
2691
 
 
2692
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
 
2693
  character to separate the filename from the date stamp, and doesn't
 
2694
  add trailing whitespace when a date stamp is not supplied.
 
2695
  (Adeodato Simó, John Arbash Meinel)
 
2696
 
 
2697
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
 
2698
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
 
2699
  respectively. (Ian Clatworthy)
 
2700
 
 
2701
* ``KnitVersionedFiles._check_should_delta()`` now uses the
 
2702
  ``get_build_details`` api to avoid multiple hits to the index, and
 
2703
  to properly follow the ``compression_parent`` rather than assuming
 
2704
  it is the left-hand parent. (John Arbash Meinel)
 
2705
 
 
2706
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
 
2707
  more optimal ordering when the keys are requested 'unordered'.
 
2708
  Previously the order was fully random, now the records should be
 
2709
  returned from each pack in turn, in forward I/O order.
 
2710
  (John Arbash Meinel)
 
2711
    
 
2712
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
 
2713
  than 2s since the last time it flushed. (John Arbash Meinel)
 
2714
 
 
2715
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
 
2716
  allows adding an inventory via an inventory delta, which can be
 
2717
  more efficient for some repository types. (Robert Collins)
 
2718
 
 
2719
* Repository ``CommitBuilder`` objects can now accumulate an inventory
 
2720
  delta. To enable this functionality call ``builder.recording_deletes``
 
2721
  and additionally call ``builder.record_delete`` when a delete
 
2722
  against the basis occurs. (Robert Collins)
 
2723
 
 
2724
* The default http handler has been changed from pycurl to urllib.
 
2725
  The default is still pycurl for https connections. (The only
 
2726
  advantage of pycurl is that it checks ssl certificates.)
 
2727
  (John Arbash Meinel)
 
2728
 
 
2729
* ``VersionedFiles.get_record_stream()`` can now return objects with a
 
2730
  storage_kind of ``chunked``. This is a collection (list/tuple) of
 
2731
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
 
2732
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
 
2733
  into a fulltext. This allows for some very good memory savings when
 
2734
  asking for many texts that share ancestry, as the individual chunks
 
2735
  can be shared between versions of the file. (John Arbash Meinel)
 
2736
 
 
2737
* ``pull -v`` and ``push -v`` use new function
 
2738
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
 
2739
 
 
2740
 
 
2741
 
 
2742
bzr 1.10 2008-12-05
 
2743
###################
 
2744
 
 
2745
Bazaar 1.10 has several performance improvements for copying revisions
 
2746
(especially for small updates to large projects).  There has also been a
 
2747
significant amount of effort in polishing stacked branches.  The commands
 
2748
``shelve`` and ``unshelve`` have become core commands, with an improved
 
2749
implementation.
 
2750
 
 
2751
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
 
2752
 
 
2753
bug Fixes
 
2754
*********
 
2755
 
 
2756
* Don't set a pack write cache size from RepoFetcher, because the
 
2757
  cache is not coherent with reads and causes ShortReadvErrors.
 
2758
  This reverses the change that fixed #294479.
 
2759
  (Martin Pool, #303856)
 
2760
 
 
2761
* Properly handle when a revision can be inserted as a delta versus
 
2762
  when it needs to be expanded to a fulltext for stacked branches.
 
2763
  There was a bug involving merge revisions. As a method to help
 
2764
  prevent future difficulties, also make stacked fetches sort
 
2765
  topologically. (John Arbash Meinel, #304841)
 
2766
 
 
2767
 
 
2768
bzr 1.10rc1 2008-11-28
 
2769
######################
 
2770
 
 
2771
This release of Bazaar focuses on performance improvements when pushing
 
2772
and pulling revisions, both locally and to remote networks.  The popular
 
2773
``shelve`` and ``unshelve`` commands, used to interactively revert and
 
2774
restore work in progress, have been merged from bzrtools into the bzr
 
2775
core.  There are also bug fixes for portability, and for stacked branches.
 
2776
 
 
2777
New Features
 
2778
************
 
2779
 
 
2780
* New ``commit_message_template`` hook that is called by the commit
 
2781
  code to generate a template commit message. (Jelmer Vernooij)
 
2782
 
 
2783
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
 
2784
  (Aaron Bentley)
 
2785
 
 
2786
Improvements
 
2787
************
 
2788
 
 
2789
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
 
2790
  history just to set the last revision info.
 
2791
  (Andrew Bennetts, John Arbash Meinel)
 
2792
 
 
2793
* Fetches between formats with different serializers (such as
 
2794
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
 
2795
  operating on batches of 100 revisions at time rather than
 
2796
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
 
2797
 
 
2798
* Search index files corresponding to pack files we've already used
 
2799
  before searching others, because they are more likely to have the
 
2800
  keys we're looking for.  This reduces the number of iix and tix
 
2801
  files accessed when pushing 1 new revision, for instance.
 
2802
  (John Arbash Meinel)
 
2803
 
 
2804
* Signatures to transfer are calculated more efficiently in
 
2805
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
 
2806
 
 
2807
* The generic fetch code can once again copy revisions and signatures
 
2808
  without extracting them completely to fulltexts and then serializing
 
2809
  them back down into byte strings. This is a significant performance
 
2810
  improvement when fetching from a stacked branch.
 
2811
  (John Arbash Meinel, #300289)
 
2812
 
 
2813
* When making a large readv() request over ``bzr+ssh``, break up the
 
2814
  request into more manageable chunks. Because the RPC is not yet able
 
2815
  to stream, this helps keep us from buffering too much information at
 
2816
  once. (John Arbash Meinel)
 
2817
 
 
2818
Bug Fixes
 
2819
*********
 
2820
 
 
2821
* Better message when the user needs to set their Launchpad ID.
 
2822
  (Martin Pool, #289148)
 
2823
 
 
2824
* ``bzr commit --local`` doesn't access the master branch anymore.
 
2825
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
 
2826
 
 
2827
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
 
2828
  to give an error in that case.  Also, don't count on ``getcwd()``
 
2829
  being able to allocate a new buffer, which is a gnu extension.
 
2830
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
 
2831
 
 
2832
* Don't crash when requesting log --forward <file> for a revision range
 
2833
  starting with a dotted revno.
 
2834
  (Vincent Ladeuil, #300055)
 
2835
 
 
2836
* Don't create text deltas spanning stacked repositories; this could
 
2837
  cause "Revision X not present in Y" when later accessing them.
 
2838
  (Martin Pool, #288751)
 
2839
 
 
2840
* Pack repositories are now able to reload the pack listing and retry
 
2841
  the current operation if another action causes the data to be
 
2842
  repacked.  (John Arbash Meinel, #153786)
 
2843
 
 
2844
* PermissionDenied errors from smart servers no longer cause
 
2845
  "PermissionDenied: "None"" on the client.
 
2846
  (Andrew Bennetts, #299254)
 
2847
 
 
2848
* Pushing to a stacked pack repository now batches writes, the same
 
2849
  way writes are batched to ordinary pack repository.  This makes
 
2850
  pushing to a stacked branch over the network much faster.
 
2851
  (Andrew Bennetts, #294479)
 
2852
 
 
2853
* TooManyConcurrentRequests no longer occur when a fetch fails and
 
2854
  tries to abort a write group.  This allows the root cause (e.g. a
 
2855
  network interruption) to be reported.  (Andrew Bennetts, #297014)
 
2856
 
 
2857
* RemoteRepository.get_parent_map now uses fallback repositories.
 
2858
  (Aaron Bentley, #297991?, #293679?)
 
2859
 
 
2860
API Changes
 
2861
***********
 
2862
 
 
2863
* ``CommitBuilder`` now validates the strings it will be committing,
 
2864
  to ensure that they do not have characters that will not be properly
 
2865
  round-tripped. For now, it just checks for characters that are
 
2866
  invalid in the XML form. (John Arbash Meinel, #295161)
 
2867
 
 
2868
* Constructor parameters for NewPack (internal to pack repositories)
 
2869
  have changed incompatibly.
 
2870
 
 
2871
* ``Repository.abort_write_group`` now accepts an optional
 
2872
  ``suppress_errors`` flag.  Repository implementations that override
 
2873
  ``abort_write_group`` will need to be updated to accept the new
 
2874
  argument.  Subclasses that only override ``_abort_write_group``
 
2875
  don't need to change.
 
2876
 
 
2877
* Transport implementations must provide copy_tree_to_transport.  A default
 
2878
  implementation is provided for Transport subclasses.
 
2879
 
 
2880
Testing
 
2881
*******
 
2882
 
 
2883
* ``bzr selftest`` now fails if no doctests are found in a module
 
2884
  that's expected to have them.  (Martin Pool)
 
2885
 
 
2886
* Doctests now only report the first failure.  (Martin Pool)
 
2887
 
 
2888
 
 
2889
bzr 1.9 2008-11-07
 
2890
##################
 
2891
 
 
2892
This release of Bazaar adds a new repository format, ``1.9``, with smaller
 
2893
and more efficient index files.  This format can be specified when
 
2894
creating a new repository, or used to losslessly upgrade an existing
 
2895
repository.  bzr 1.9 also speeds most operations over the smart server
 
2896
protocol, makes annotate faster, and uses less memory when making
 
2897
checkouts or pulling large amounts of data.
 
2898
 
 
2899
Bug Fixes
 
2900
*********
 
2901
 
 
2902
* Fix "invalid property value 'branch-nick' for None" regression with
 
2903
  branches bound to svn branches.  (Martin Pool, #293440)
 
2904
 
 
2905
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
 
2906
 
 
2907
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
 
2908
  This only triggers some-of-the-time on Knit format repositories.
 
2909
  (John Arbash Meinel, #293746)
 
2910
 
 
2911
 
 
2912
bzr 1.9rc1 2008-10-31
 
2913
#####################
 
2914
 
 
2915
New Features
 
2916
************
 
2917
 
 
2918
* New Branch hook ``transform_fallback_location`` allows a function to
 
2919
  be called when looking up the stacked source. (Michael Hudson)
 
2920
 
 
2921
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
 
2922
  the functionality of ``1.6``, but use the new btree indexes.
 
2923
  These indexes are both smaller and faster for access to historical
 
2924
  information.  (John Arbash Meinel)
 
2925
 
 
2926
Improvements
 
2927
************
 
2928
 
 
2929
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
 
2930
  the tradeoff between bandwidth and latency. Should be tuned
 
2931
  appropriately to not impact commands which need minimal information,
 
2932
  but provide a significant boost to ones that need more context. Only
 
2933
  has a direct impact on the ``--development2`` format which uses
 
2934
  btree's for the indexes. (John Arbash Meinel)
 
2935
 
 
2936
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
 
2937
  the contents of a compressed btree file.  (John Arbash Meinel)
 
2938
 
 
2939
* ``bzr pack`` now tells the index builders to optimize for size. For
 
2940
  btree index repositories, this can save 25% of the index size
 
2941
  (mostly in the text indexes). (John Arbash Meinel)
 
2942
 
 
2943
* ``bzr push`` to an existing branch or repository on a smart server
 
2944
  is faster, due to Bazaar making more use of the ``get_parent_map``
 
2945
  RPC when querying the remote branch's revision graph.
 
2946
  (Andrew Bennetts)
 
2947
 
 
2948
* default username for bzr+ssh and sftp can be configured in
 
2949
  authentication.conf. (Aaron Bentley)
 
2950
 
 
2951
* launchpad-login now provides a default username for bzr+ssh and sftp
 
2952
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
 
2953
 
 
2954
* ``lp:`` lookups no longer include usernames, making them shareable and
 
2955
  shorter. (Aaron Bentley)
 
2956
 
 
2957
* New ``PackRepository.autopack`` smart server RPC, which does
 
2958
  autopacking entirely on the server.  This is much faster than
 
2959
  autopacking via plain file methods, which downloads a large amount
 
2960
  of pack data and then re-uploads the same pack data into a single
 
2961
  file.  This fixes a major (although infrequent) cause of lengthy
 
2962
  delays when using a smart server.  For example, pushing the 10th
 
2963
  revision to a repository with 9 packs now takes 44 RPCs rather than
 
2964
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
 
2965
  the client and the server, otherwise the client will fallback to the
 
2966
  slower method.  (Andrew Bennetts)
 
2967
 
 
2968
Bug Fixes
 
2969
*********
 
2970
 
 
2971
* A failure to load a plugin due to an IncompatibleAPI exception is
 
2972
  now correctly reported. (Robert Collins, #279451)
 
2973
 
 
2974
* API versioning support now has a multiple-version checking api
 
2975
  ``require_any_api``. (Robert Collins, #279447)
 
2976
 
 
2977
* ``bzr branch --stacked`` from a smart server to a standalone branch
 
2978
  works again.  This fixes a regression in 1.7 and 1.8.
 
2979
  (Andrew Bennetts, #270397)
 
2980
 
 
2981
* ``bzr co`` uses less memory. It used to unpack the entire WT into
 
2982
  memory before writing it to disk. This was a little bit faster, but
 
2983
  consumed lots of memory. (John Arbash Meinel, #269456)
 
2984
 
 
2985
* ``bzr missing --quiet`` no longer prints messages about whether
 
2986
  there are missing revisions.  The exit code indicates whether there
 
2987
  were or not.  (Martin Pool, #284748)
 
2988
 
 
2989
* Fixes to the ``annotate`` code. The fast-path which re-used the
 
2990
  stored deltas was accidentally disabled all the time, instead of
 
2991
  only when a branch was stacked. Second, the code would accidentally
 
2992
  re-use a delta even if it wasn't against the left-parent, this
 
2993
  could only happen if ``bzr reconcile`` decided that the parent
 
2994
  ordering was incorrect in the file graph.  (John Arbash Meinel)
 
2995
 
 
2996
* "Permission denied" errors that occur when pushing a new branch to a
 
2997
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
 
2998
 
 
2999
* Some compatibility fixes for building the extensions with MSVC and
 
3000
  for python2.4. (John Arbash Meinel, #277484)
 
3001
 
 
3002
* The index logic is now able to reload the list of pack files if and
 
3003
  index ends up disappearing. We still don't reload if the pack data
 
3004
  itself goes missing after checking the index. This bug appears as a
 
3005
  transient failure (file not found) when another process is writing
 
3006
  to the repository.  (John Arbash Meinel, #153786)
 
3007
 
 
3008
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
3009
  it was previously set. All checkouts will now refer to the bound branch
 
3010
  for a nickname if one was not explicitly set.
 
3011
  (Marius Kruger, #230903)
 
3012
 
 
3013
Documentation
 
3014
*************
 
3015
 
 
3016
* Improved hook documentation. (Michael Ernst)
 
3017
 
 
3018
API Changes
 
3019
***********
 
3020
 
 
3021
* commands.plugins_cmds is now a CommandRegistry, not a dict.
 
3022
 
 
3023
Internals
 
3024
*********
 
3025
 
 
3026
* New AuthenticationConfig.set_credentials method allows easy programmatic
 
3027
  configuration of authetication credentials.
 
3028
 
 
3029
 
 
3030
bzr 1.8 2008-10-16
 
3031
##################
 
3032
 
 
3033
Bazaar 1.8 includes several fixes that improve working tree performance,
 
3034
display of revision logs, and merges.  The bzr testsuite now passes on OS
 
3035
X and Python 2.6, and almost completely passes on Windows.  The
 
3036
smartserver code has gained several bug fixes and performance
 
3037
improvements, and can now run server-side hooks within an http server.
 
3038
 
 
3039
Bug Fixes
 
3040
*********
 
3041
 
 
3042
* Fix "Must end write group" error when another error occurs during
 
3043
  ``bzr push``.  (Andrew Bennetts, #230902)
 
3044
 
 
3045
Portability
 
3046
***********
 
3047
 
 
3048
* Some Pyrex versions require the WIN32 macro defined to compile on
 
3049
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
 
3050
 
 
3051
 
 
3052
bzr 1.8rc1 2008-10-07
 
3053
#####################
 
3054
 
 
3055
Changes
 
3056
*******
 
3057
 
 
3058
* ``bzr log file`` has been changed. It now uses a different method
 
3059
  for determining which revisions to show as merging the changes to
 
3060
  the file. It now only shows revisions which merged the change
 
3061
  towards your mainline. This simplifies the output, makes it faster,
 
3062
  and reduces memory consumption.  (John Arbash Meinel)
 
3063
 
 
3064
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
 
3065
  ``--show-base`` is not supplied.  (John Arbash Meinel)
 
3066
 
 
3067
* ``bzr+http//`` will now optionally load plugins and write logs on the
 
3068
  server. (Marius Kruger)
 
3069
 
 
3070
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
 
3071
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
 
3072
  explicitly blacklist that version of the compiler for that
 
3073
  extension. Packaged versions will include .c files created with
 
3074
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
 
3075
  from the source tree. (John Arbash Meinel, #276868)
 
3076
 
 
3077
Features
 
3078
********
 
3079
 
 
3080
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
 
3081
  supported (nor released, tests were conducted with the dev version of
 
3082
  python-2.6rc2), but all known problems have been fixed.  Feedback
 
3083
  welcome.
 
3084
  (Vincent Ladeuil, #269535)
 
3085
 
 
3086
Improvements
 
3087
************
 
3088
 
 
3089
* ``bzr annotate`` will now include uncommitted changes from the local
 
3090
  working tree by default. Such uncommitted changes are given the
 
3091
  revision number they would get if a commit was done, followed with a
 
3092
  ? to indicate that its not actually known. (Robert Collins, #3439)
 
3093
 
 
3094
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
 
3095
  standalone branch regardless of the presence of shared repositories.
 
3096
  (Daniel Watkins)
 
3097
 
 
3098
* ``bzr push`` is faster in the case there are no new revisions to
 
3099
  push.  It is also faster if there are no tags in the local branch.
 
3100
  (Andrew Bennetts)
 
3101
 
 
3102
* File changes during a commit will update the tree stat cache.
 
3103
  (Robert Collins)
 
3104
 
 
3105
* Location aliases can now accept a trailing path.  (Micheal Hudson)
 
3106
 
 
3107
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
 
3108
  (Robert Collins, MartinPool)
 
3109
 
 
3110
* Switching in heavyweight checkouts uses the master branch's context, not
 
3111
  the checkout's context.  (Adrian Wilkins)
 
3112
 
 
3113
* ``status`` on large trees is now faster, due to optimisations in the
 
3114
  walkdirs code. Of particular note, the walkdirs code now performs
 
3115
  a temporary ``chdir()`` while reading a single directory; if your
 
3116
  platform has non thread-local current working directories (and is
 
3117
  not windows which has its own implementation), this may introduce a
 
3118
  race condition during concurrent uses of bzrlib. The bzrlib CLI
 
3119
  will not encounter this as it is single threaded for working tree
 
3120
  operations. (Robert Collins)
 
3121
 
 
3122
* The C extensions now build on python 2.4 (Robert Collins, #271939)
 
3123
 
 
3124
* The ``-Dhpss`` debug flag now reports the number of smart server
 
3125
  calls per medium to stderr.  This is in addition to the existing
 
3126
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
 
3127
 
 
3128
Bug Fixes
 
3129
*********
 
3130
 
 
3131
* Avoid random failures arising from misinterpreted ``errno`` values
 
3132
  in ``_readdir_pyx.read_dir``.
 
3133
  (Martin Pool, #279381)
 
3134
 
 
3135
* Branching from a shared repository on a smart server into a new
 
3136
  repository now preserves the repository format.
 
3137
  (Andrew Bennetts, #269214)
 
3138
 
 
3139
* ``bzr log`` now accepts a ``--change`` option.
 
3140
  (Vincent Ladeuil, #248427)
 
3141
 
 
3142
* ``bzr missing`` now accepts an ``--include-merges`` option.
 
3143
  (Vincent Ladeuil, #233817)
 
3144
 
 
3145
* Don't try to filter (internally) '.bzr' from the files to be deleted if
 
3146
  it's not there.
 
3147
  (Vincent Ladeuil, #272648)
 
3148
 
 
3149
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
3150
  (Andrew Bennetts)
 
3151
 
 
3152
* Fix TooManyConcurrentRequests errors caused by a connection failure
 
3153
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
 
3154
  (Andrew Bennetts, #246233)
 
3155
 
 
3156
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
 
3157
  is in a different repository than the current one.
 
3158
  (Lukáš Lalinský, #144421)
 
3159
 
 
3160
* Make the first line of the manpage preamble a comment again.
 
3161
  (David Futcher, #242106)
 
3162
 
 
3163
* Remove use of optional parameter in GSSAPI FTP support, since
 
3164
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
 
3165
 
 
3166
* The autopacking logic will now always create a single new pack from
 
3167
  all of the content which it deems is worth moving. This avoids the
 
3168
  'repack a single pack' bug and should result in better packing
 
3169
  overall.  (John Arbash Meinel, #242510, #172644)
 
3170
 
 
3171
* Trivial documentation fix.
 
3172
  (John Arbash Meinel, #270471)
 
3173
 
 
3174
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
3175
  it was previously set. All checkouts will now refer to the bound branch
 
3176
  for a nickname if one was not explicitly set.
 
3177
  (Marius Kruger, #230903)
 
3178
 
 
3179
Documentation
 
3180
*************
 
3181
 
 
3182
* Explain revision/range identifiers. (Daniel Clemente)
 
3183
 
 
3184
API Changes
 
3185
***********
 
3186
 
 
3187
* ``CommitBuilder.record_entry_contents`` returns one more element in
 
3188
  its result tuple - an optional file system hash for the hash cache
 
3189
  to use. (Robert Collins)
 
3190
 
 
3191
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
 
3192
  of a file if it is likely to be needed in determining the output
 
3193
  of iter_changes. (Robert Collins)
 
3194
 
 
3195
* The PackRepository, RepositoryPackCollection, NewPack classes have a
 
3196
  slightly changed interface to support different index types; as a
 
3197
  result other users of these classes need to supply the index types
 
3198
  they want. (Robert Collins)
 
3199
 
 
3200
Testing
 
3201
*******
 
3202
 
 
3203
* ``bzrlib.tests.repository_implementations`` has been renamed to
 
3204
  ``bzrlib.tests.per_repository`` so that we have a common structure
 
3205
  (and it is shorter). (John Arbash Meinel, #239343)
 
3206
 
 
3207
* ``LocalTransport.abspath()`` now returns a drive letter if the
 
3208
  transport has one, fixing numerous tests on Windows.
 
3209
  (Mark Hammond)
 
3210
 
 
3211
* PreviewTree is now tested via intertree_implementations.
 
3212
  (Aaron Bentley)
 
3213
 
 
3214
* The full test suite is passing again on OSX.
 
3215
  (Guillermo Gonzalez, Vincent Ladeuil)
 
3216
 
 
3217
* The full test suite passes when run with ``-Eallow_debug``.
 
3218
  (Andrew Bennetts)
 
3219
 
 
3220
Internals
 
3221
*********
 
3222
 
 
3223
* A new hook, ``Branch.open``, has been added, which is called when
 
3224
  branch objects are opened. (Robert Collins)
 
3225
 
 
3226
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
 
3227
  tree walking, and modular directory listing code to aid future
 
3228
  performance optimisations and refactoring. (Robert Collins)
 
3229
 
 
3230
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
 
3231
  in the middle of processing. It only reports memory if
 
3232
  ``/proc/PID/status`` is available. (John Arbash Meinel)
 
3233
 
 
3234
* New method ``RevisionSpec.as_tree`` for representing the revision
 
3235
  specifier as a revision tree object. (Lukáš Lalinský)
 
3236
 
 
3237
* New race-free method on MutableTree ``get_file_with_stat`` for use
 
3238
  when generating stat cache results. (Robert Collins)
 
3239
 
 
3240
* New win32utils.get_local_appdata_location() provides access to a local
 
3241
  directory for storing data.  (Mark Hammond)
 
3242
 
 
3243
* To be compatible with python-2.6 a few new rules should be
 
3244
  observed. 'message' attribute can't be used anymore in exception
 
3245
  classes, 'sha' and 'md5' modules have been deprecated (use
 
3246
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
 
3247
  parameters anymore.
 
3248
  (Vincent Ladeuil)
 
3249
 
 
3250
 
 
3251
bzr 1.7.1 2008-10-01
 
3252
####################
 
3253
 
 
3254
No changes from 1.7.1rc1.
 
3255
 
 
3256
 
 
3257
bzr 1.7.1rc1 2008-09-24
 
3258
#######################
 
3259
 
 
3260
This release just includes an update to how the merge algorithm handles
 
3261
file paths when we encounter complex history.
 
3262
 
 
3263
Features
 
3264
********
 
3265
 
 
3266
* If we encounter a criss-cross in history, use information from
 
3267
  direct Least Common Ancestors to resolve inventory shape (locations
 
3268
  of files, adds, deletes, etc). This is similar in concept to using
 
3269
  ``--lca`` for merging file texts, only applied to paths.
 
3270
  (John Arbash Meinel)
 
3271
 
 
3272
 
 
3273
bzr 1.7 2008-09-23
 
3274
##################
 
3275
 
 
3276
This release includes many bug fixes and a few performance and feature
 
3277
improvements.  ``bzr rm`` will now scan for missing files and remove them,
 
3278
like how ``bzr add`` scans for unknown files and adds them. A bit more
 
3279
polish has been applied to the stacking code. The b-tree indexing code has
 
3280
been brought in, with an eye on using it in a future repository format.
 
3281
There are only minor installer changes since bzr-1.7rc2.
 
3282
 
 
3283
Features
 
3284
********
 
3285
 
 
3286
* Some small updates to the win32 installer. Include localization
 
3287
  files found in plugins, and include the builtin distutils as part of
 
3288
  packaging qbzr. (Mark Hammond)
 
3289
 
 
3290
 
 
3291
bzr 1.7rc2 2008-09-17
 
3292
#####################
 
3293
 
 
3294
A few bug fixes from 1.7rc1. The biggest change is a new
 
3295
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
 
3296
trying to access a Stacked branch over the smart protocol, to properly
 
3297
connect to the stacked-on location.
 
3298
 
 
3299
Bug Fixes
 
3300
*********
 
3301
 
 
3302
* Branching from a shared repository on a smart server into a new
 
3303
  repository now preserves the repository format.
 
3304
  (Andrew Bennetts, #269214)
 
3305
 
 
3306
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
 
3307
  to the stacked-on branch.  (Martin Pool, #261315)
 
3308
 
 
3309
* ``bzr init`` no longer re-opens the BzrDir multiple times.
 
3310
  (Vincent Ladeuil)
 
3311
 
 
3312
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
3313
  (Andrew Bennetts)
 
3314
 
 
3315
 
 
3316
bzr 1.7rc1 2008-09-09
 
3317
#####################
 
3318
 
 
3319
This release candidate for bzr 1.7 has several bug fixes and a few
 
3320
performance and feature improvements.  ``bzr rm`` will now scan for
 
3321
missing files and remove them, like how ``bzr add`` scans for unknown
 
3322
files and adds them. A bit more polish has been applied to the stacking
 
3323
code. The b-tree indexing code has been brought in, with an eye on using
 
3324
it in a future repository format.
 
3325
 
 
3326
 
 
3327
Changes
 
3328
*******
 
3329
 
 
3330
* ``bzr export`` can now export a subdirectory of a project.
 
3331
  (Robert Collins)
 
3332
 
 
3333
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
 
3334
  changes, unless the ``--force`` option is specified.
 
3335
  (Lukáš Lalinský, #74101)
 
3336
 
 
3337
* ``bzr rm`` will now scan for files that are missing and remove just
 
3338
  them automatically, much as ``bzr add`` scans for new files that
 
3339
  are not ignored and adds them automatically. (Robert Collins)
 
3340
 
 
3341
Features
 
3342
********
 
3343
 
 
3344
* Support for GSSAPI authentication when using FTP as documented in
 
3345
  RFC2228. (Jelmer Vernooij, #49623)
 
3346
 
 
3347
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
 
3348
 
 
3349
Improvements
 
3350
************
 
3351
 
 
3352
* A url like ``log+file:///tmp`` will log all access to that Transport
 
3353
  to ``.bzr.log``, which may help in debugging or profiling.
 
3354
  (Martin Pool)
 
3355
 
 
3356
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
 
3357
  branch format supports it. (Aaron Bentley)
 
3358
 
 
3359
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
 
3360
  ``bzr info`` if it completed successfully.
 
3361
  (Marius Kruger)
 
3362
 
 
3363
* ``bzr uncommit`` logs the old tip revision id, and displays how to
 
3364
  restore the branch to that tip using ``bzr pull``.  This allows you
 
3365
  to recover if you realize you uncommitted the wrong thing.
 
3366
  (John Arbash Meinel)
 
3367
 
 
3368
* Fix problems in accessing stacked repositories over ``bzr://``.
 
3369
  (Martin Pool, #261315)
 
3370
 
 
3371
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
 
3372
  which 'works', but adds each character separately to the list,
 
3373
  rather than using ``list.append(string)``. Fixing this makes the
 
3374
  SFTP transport a little bit faster (~20%) and use a bit less memory.
 
3375
  (John Arbash Meinel)
 
3376
 
 
3377
* When reading index files, if we happen to read the whole file in a
 
3378
  single request treat it as a ``_buffer_all`` request. This happens
 
3379
  most often on small indexes over remote transports, where we default
 
3380
  to reading 64kB. It saves a round trip for each small index during
 
3381
  fetch operations. Also, if we have read more than 50% of an index
 
3382
  file, trigger a ``_buffer_all`` on the next request. This works
 
3383
  around some inefficiencies because reads don't fall neatly on page
 
3384
  boundaries, so we would ignore those bytes, but request them again
 
3385
  later. This could trigger a total read size of more than the whole
 
3386
  file. (John Arbash Meinel)
 
3387
 
 
3388
Bug Fixes
 
3389
*********
 
3390
 
 
3391
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
 
3392
  users. (Robert Collins, #205416)
 
3393
 
 
3394
* Catch the infamous "select/poll returned error" which occurs when
 
3395
  pycurl try to send a body request to an HTTP/1.0 server which has
 
3396
  already refused to handle the request. (Vincent Ladeuil, #225020)
 
3397
 
 
3398
* Fix ``ObjectNotLocked`` errors when using various commands
 
3399
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
 
3400
  smart server URL.  (Andrew Bennetts, #237067)
 
3401
 
 
3402
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
 
3403
  for the containing ``.bzr/`` directory (it does not implement
 
3404
  permissions). This would cause us to set all subdirectories to
 
3405
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
 
3406
  Now we ignore ``0000`` as the permissions and assume they are
 
3407
  invalid. (John Arbash Meinel, #259855)
 
3408
 
 
3409
* Merging from a previously joined branch will no longer cause
 
3410
  a traceback. (Jelmer Vernooij, #203376)
 
3411
 
 
3412
* Pack operations on windows network shares will work even with large
 
3413
  files. (Robert Collins, #255656)
 
3414
 
 
3415
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
 
3416
  status. Status is also about 7% faster on mozilla sized trees
 
3417
  when the path to the root of the tree has been given. Users of
 
3418
  the internal ``show_tree_status`` function should be aware that
 
3419
  the show_pending flag is now authoritative for showing pending
 
3420
  merges, as it was originally. (Robert Collins, #225204)
 
3421
 
 
3422
* Set valid default _param_name for Option so that ListOption can embed
 
3423
  '-' in names. (Vincent Ladeuil, #263249)
 
3424
 
 
3425
* Show proper error rather than traceback when an unknown revision
 
3426
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
 
3427
 
 
3428
* Trailing text in the dirstate file could cause the C dirstate parser
 
3429
  to try to allocate an invalid amount of memory. We now properly
 
3430
  check and test for parsing a dirstate with invalid trailing data.
 
3431
  (John Arbash Meinel, #186014)
 
3432
 
 
3433
* Unexpected error responses from a smart server no longer cause the
 
3434
  client to traceback.  (Andrew Bennetts, #263527)
 
3435
 
 
3436
* Use a Windows api function to get a Unicode host name, rather than
 
3437
  assuming the host name is ascii.
 
3438
  (Mark Hammond, John Arbash Meinel, #256550)
 
3439
 
 
3440
* ``WorkingTree4`` trees will now correctly report missing-and-new
 
3441
  paths in the output of ``iter_changes``. (Robert Collins)
 
3442
 
 
3443
Documentation
 
3444
*************
 
3445
 
 
3446
* Updated developer documentation.  (Martin Pool)
 
3447
 
 
3448
API Changes
 
3449
***********
 
3450
 
 
3451
* Exporters now take 4 parameters. (Robert Collins)
 
3452
 
 
3453
* ``Tree.iter_changes`` will now return False for the content change
 
3454
  field when a file is missing in the basis tree and not present in
 
3455
  the target tree. Previously it returned True unconditionally.
 
3456
  (Robert Collins)
 
3457
 
 
3458
* The deprecated ``Branch.abspath`` and unimplemented
 
3459
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
 
3460
 
 
3461
* BzrDir.clone_on_transport implementations must now accept a stacked_on
 
3462
  parameter.  (Aaron Bentley)
 
3463
 
 
3464
* BzrDir.cloning_metadir implementations must now take a require_stacking
 
3465
  parameter.  (Aaron Bentley)
 
3466
 
 
3467
Testing
 
3468
*******
 
3469
 
 
3470
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
 
3471
  which are then passed to the cleanup callable as it is run. In
 
3472
  addition, addCleanup no longer requires that the callables passed to
 
3473
  it be unique. (Jonathan Lange)
 
3474
 
 
3475
* Fix some tests that fail on Windows because files are deleted while
 
3476
  still in use.
 
3477
  (Mark Hammond)
 
3478
 
 
3479
* ``selftest``'s ``--starting-with`` option can now use predefined
 
3480
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
 
3481
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
 
3482
 
 
3483
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
 
3484
  (Vincent Ladeuil)
 
3485
 
 
3486
Internals
 
3487
*********
 
3488
 
 
3489
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
 
3490
  This allows dynamic log output filtering by plugins.
 
3491
  (Robert Collins)
 
3492
 
 
3493
* ``bzrlib.btree_index`` is now available, providing a b-tree index
 
3494
  layer. The design is memory conservative (limited memory cache),
 
3495
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
 
3496
  and stores compressed pages allowing more keys per page.
 
3497
  (Robert Collins, John Arbash Meinel)
 
3498
 
 
3499
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
 
3500
  is unknown in both source and target.
 
3501
  (Robert Collins, Aaron Bentley)
 
3502
 
 
3503
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
 
3504
  streamlined a bit. This should make creating large indexes faster.
 
3505
  (In benchmarking, it now takes less time to create a BTree index than
 
3506
  it takes to read the GraphIndex one.) (John Arbash Meinel)
 
3507
 
 
3508
* Mail clients for `bzr send` are now listed in a registry.  This
 
3509
  allows plugins to add new clients by registering them with
 
3510
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
 
3511
  clients now use this mechanism.  (Neil Martinsen-Burrell)
 
3512
 
 
3513
 
 
3514
bzr 1.6.1 2008-09-05
 
3515
####################
 
3516
 
 
3517
A couple regressions were found in the 1.6 release. There was a
 
3518
performance issue when using ``bzr+ssh`` to branch large repositories,
 
3519
and some problems with stacking and ``rich-root`` capable repositories.
 
3520
 
 
3521
 
 
3522
bzr 1.6.1rc2 2008-09-03
 
3523
#######################
 
3524
 
 
3525
Bug Fixes
 
3526
*********
 
3527
 
 
3528
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
 
3529
  versa) was accidentally using the inter-model fetcher, instead of
 
3530
  recognizing that both were 'rich root' formats.
 
3531
  (John Arbash Meinel, #264321)
 
3532
 
 
3533
 
 
3534
bzr 1.6.1rc1 2008-08-29
 
3535
#######################
 
3536
 
 
3537
This release fixes a few regressions found in the 1.6 client. Fetching
 
3538
changes was using an O(N^2) buffering algorithm, so for large projects it
 
3539
would cause memory thrashing. There is also a specific problem with the
 
3540
``--1.6-rich-root`` format, which prevented stacking on top of
 
3541
``--rich-root-pack`` repositories, and could allow users to accidentally
 
3542
fetch experimental data (``-subtree``) without representing it properly.
 
3543
The ``--1.6-rich-root`` format has been deprecated and users are
 
3544
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
 
3545
re-introduced a workaround for users who have repositories with incorrect
 
3546
nodes (not possible if you only used official releases).
 
3547
I should also clarify that none of this is data loss level issues, but
 
3548
still sufficient enough to warrant an updated release.
 
3549
 
 
3550
Bug Fixes
 
3551
*********
 
3552
 
 
3553
* ``RemoteTransport.readv()`` was being inefficient about how it
 
3554
  buffered the readv data and processed it. It would keep appending to
 
3555
  the same string (causing many copies) and then pop bytes out of the
 
3556
  start of the string (causing more copies).
 
3557
  With this patch "bzr+ssh://local" can improve dramatically,
 
3558
  especially for projects with large files.
 
3559
  (John Arbash Meinel)
 
3560
 
 
3561
* Revision texts were always meant to be stored as fulltexts. There
 
3562
  was a bug in a bzr.dev version that would accidentally create deltas
 
3563
  when copying from a Pack repo to a Knit repo. This has been fixed,
 
3564
  but to support those repositories, we know always request full texts
 
3565
  for Revision texts. (John Arbash Meinel, #261339)
 
3566
 
 
3567
* The previous ``--1.6-rich-root`` format used an incorrect xml
 
3568
  serializer, which would accidentally support fetching from a
 
3569
  repository that supported subtrees, even though the local one would
 
3570
  not. We deprecated that format, and introduced a new one that uses
 
3571
  the correct serializer ``--1.6.1-rich-root``.
 
3572
  (John Arbash Meinel, #262333)
 
3573
 
 
3574
 
 
3575
bzr 1.6 2008-08-25
 
3576
##################
 
3577
 
 
3578
Finally, the long awaited bzr 1.6 has been released. This release includes
 
3579
new features like Stacked Branches, improved weave merge, and an updated
 
3580
server protocol (now on v3) which will allow for better cross version
 
3581
compatibility. With this release we have deprecated Knit format
 
3582
repositories, and recommend that users upgrade them, we will continue to
 
3583
support reading and writing them for the forseeable future, but we will
 
3584
not be tuning them for performance as pack repositories have proven to be
 
3585
better at scaling. This will also be the first release to bundle
 
3586
TortoiseBzr in the standalone Windows installer.
 
3587
 
 
3588
 
 
3589
bzr 1.6rc5 2008-08-19
 
3590
#####################
 
3591
 
 
3592
Bug Fixes
 
3593
*********
 
3594
 
 
3595
* Disable automatic detection of stacking based on a containing
 
3596
  directory of the target. It interacted badly with push, and needs a
 
3597
  bit more work to get the edges polished before it should happen
 
3598
  automatically. (John Arbash Meinel, #259275)
 
3599
  (This change was reverted when merged to bzr.dev)
 
3600
 
 
3601
 
 
3602
bzr 1.6rc4 2008-08-18
 
3603
#####################
 
3604
 
 
3605
Bug Fixes
 
3606
*********
 
3607
 
 
3608
* Fix a regression in knit => pack fetching.  We had a logic
 
3609
  inversion, causing the fetch to insert fulltexts in random order,
 
3610
  rather than preserving deltas.  (John Arbash Meinel, #256757)
 
3611
 
 
3612
 
 
3613
bzr 1.6rc3 2008-08-14
 
3614
#####################
 
3615
 
 
3616
Changes
 
3617
*******
 
3618
 
 
3619
* Disable reading ``.bzrrules`` as a per-branch rule preferences
 
3620
  file. The feature was not quite ready for a full release.
 
3621
  (Robert Collins)
 
3622
 
 
3623
Improvements
 
3624
************
 
3625
 
 
3626
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
 
3627
  into the standalone installer. This will be the first official
 
3628
  windows release that installs Tortoise by default.
 
3629
  (Mark Hammond)
 
3630
 
 
3631
Bug Fixes
 
3632
*********
 
3633
 
 
3634
* Fix a regression in ``bzr+http`` support. There was a missing
 
3635
  function (``_read_line``) that needed to be carried over from
 
3636
  ``bzr+ssh`` support. (Andrew Bennetts)
 
3637
 
 
3638
* ``GraphIndex`` objects will internally read an entire index if more
 
3639
  than 1/20th of their keyspace is requested in a single operation.
 
3640
  This largely mitigates a performance regression in ``bzr log FILE``
 
3641
  and completely corrects the performance regression in ``bzr log``.
 
3642
  The regression was caused by removing an accomodation which had been
 
3643
  supporting the index format in use. A newer index format is in
 
3644
  development which is substantially faster. (Robert Collins)
 
3645
 
 
3646
 
 
3647
bzr 1.6rc2 2008-08-13
 
3648
#####################
 
3649
 
 
3650
This release candidate has a few minor bug fixes, and some regression
 
3651
fixes for Windows.
 
3652
 
 
3653
Bug Fixes
 
3654
*********
 
3655
 
 
3656
* ``bzr upgrade`` on remote branches accessed via bzr:// and
 
3657
  bzr+ssh:// now works.  (Andrew Bennetts)
 
3658
 
 
3659
* Change the ``get_format_description()`` strings for
 
3660
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
 
3661
  (Aaron Bentley)
 
3662
 
 
3663
* Fix for a regression on Win32 where we would try to call
 
3664
  ``os.listdir()`` on a file and not catch the exception properly.
 
3665
  (Windows raises a different exception.) This would manifest in
 
3666
  places like ``bzr rm file`` or ``bzr switch``.
 
3667
  (Mark Hammond, John Arbash Meinel)
 
3668
 
 
3669
* ``Inventory.copy()`` was failing to set the revision property for
 
3670
  the root entry. (Jelmer Vernooij)
 
3671
 
 
3672
* sftp transport: added missing ``FileExists`` case to
 
3673
  ``_translate_io_exception`` (Christophe Troestler, #123475)
 
3674
 
 
3675
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
 
3676
  scripting use. (Robert Collins, #3834)
 
3677
 
 
3678
* The default ``annotate`` logic will now always assign the
 
3679
  last-modified value of a line to one of the revisions that modified
 
3680
  it, rather than a merge revision. This would happen when both sides
 
3681
  claimed to have modified the line resulting in the same text. The
 
3682
  choice is arbitrary but stable, so merges in different directions
 
3683
  will get the same results.  (John Arbash Meinel, #232188)
 
3684
 
 
3685
 
 
3686
bzr 1.6rc1 2008-08-06
 
3687
#####################
 
3688
 
 
3689
This release candidate for bzr 1.6 solidifies the new branch stacking
 
3690
feature.  Bazaar now recommends that users upgrade all knit repositories,
 
3691
because later formats are much faster.  However, we plan to continue read/write and
 
3692
upgrade support for knit repostories for the forseeable future.  Several
 
3693
other bugs and performance issues were fixed.
 
3694
 
 
3695
Changes
 
3696
*******
 
3697
 
 
3698
* Knit format repositories are deprecated and bzr will now emit
 
3699
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
 
3700
  knit repositories to pack format.  (Andrew Bennetts)
 
3701
 
 
3702
Improvements
 
3703
************
 
3704
 
 
3705
* ``bzr check`` can now be told which elements at a location it should
 
3706
  check.  (Daniel Watkins)
 
3707
 
 
3708
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
 
3709
  from the commit. (Robert Collins, #3117)
 
3710
 
 
3711
* Fetching data between repositories that have the same model but no
 
3712
  optimised fetcher will not reserialise all the revisions, increasing
 
3713
  performance. (Robert Collins, John Arbash Meinel)
 
3714
 
 
3715
* Give a more specific error when target branch is not reachable.
 
3716
  (James Westby)
 
3717
 
 
3718
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
 
3719
  This uses a pyrex extension to get direct access to the
 
3720
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
 
3721
  ``lstat``. Shows a very strong improvement in commands like
 
3722
  ``status`` and ``diff`` which have to iterate the working tree.
 
3723
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
 
3724
  trees, bigger benefit.) (John Arbash Meinel)
 
3725
 
 
3726
* New registry for log properties handles  and the method in
 
3727
  LongLogFormatter to display the custom properties returned by the
 
3728
  registered handlers. (Guillermo Gonzalez, #162469)
 
3729
 
 
3730
Bug Fixes
 
3731
*********
 
3732
 
 
3733
* Add more tests that stacking does not create deltas spanning
 
3734
  physical repository boundaries.
 
3735
  (Martin Pool, #252428)
 
3736
 
 
3737
* Better message about incompatible repositories.
 
3738
  (Martin Pool, #206258)
 
3739
 
 
3740
* ``bzr branch --stacked`` ensures the destination branch format can
 
3741
  support stacking, even if the origin does not.
 
3742
  (Martin Pool)
 
3743
 
 
3744
* ``bzr export`` no longer exports ``.bzrrules``.
 
3745
  (Ian Clatworthy)
 
3746
 
 
3747
* ``bzr serve --directory=/`` now correctly allows the whole
 
3748
  filesystem to be accessed on Windows, not just the root of the drive
 
3749
  that Python is running from.
 
3750
  (Adrian Wilkins, #240910)
 
3751
 
 
3752
* Deleting directories by hand before running ``bzr rm`` will not
 
3753
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
 
3754
  (Robert Collins, #150438)
 
3755
 
 
3756
* Fix a test case that was failing if encoding wasn't UTF-8.
 
3757
  (John Arbash Meinel, #247585)
 
3758
 
 
3759
* Fix "no buffer space available" error when branching with the new
 
3760
  smart server protocol to or from Windows.
 
3761
  (Andrew Bennetts, #246180)
 
3762
 
 
3763
* Fixed problem in branching from smart server.
 
3764
  (#249256, Michael Hudson, Martin Pool)
 
3765
 
 
3766
* Handle a file turning in to a directory in TreeTransform.
 
3767
  (James Westby, #248448)
 
3768
 
 
3769
API Changes
 
3770
***********
 
3771
 
 
3772
* ``MutableTree.commit`` has an extra optional keywork parameter
 
3773
  ``exclude`` that will be unconditionally supplied by the command
 
3774
  line UI - plugins that add tree formats may need an update.
 
3775
  (Robert Collins)
 
3776
 
 
3777
* The API minimum version for plugin compatibility has been raised to
 
3778
  1.6 - there are significant changes throughout the code base.
 
3779
  (Robert Collins)
 
3780
 
 
3781
* The generic fetch code now uses three attributes on Repository objects
 
3782
  to control fetch. The streams requested are controlled via :
 
3783
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
 
3784
  appropriately allows different repository implementations to recieve
 
3785
  data in their optimial form. If the ``_fetch_reconcile`` is set then
 
3786
  a reconcile operation is triggered at the end of the fetch.
 
3787
  (Robert Collins)
 
3788
 
 
3789
* The ``put_on_disk`` and ``get_tar_item`` methods in
 
3790
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
 
3791
 
 
3792
* ``Repository.is_shared`` doesn't take a read lock. It didn't
 
3793
  need one in the first place (nobody cached the value, and
 
3794
  ``RemoteRepository`` wasn't taking one either). This saves a round
 
3795
  trip when probing Pack repositories, as they read the ``pack-names``
 
3796
  file when locked. And during probe, locking the repo isn't very
 
3797
  useful. (John Arbash Meinel)
 
3798
 
 
3799
Internals
 
3800
*********
 
3801
 
 
3802
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
 
3803
  putting together a real history without having to create a full
 
3804
  WorkingTree. It is recommended that tests that are not directly
 
3805
  testing the WorkingTree use BranchBuilder instead.  See
 
3806
  ``BranchBuilder.build_snapshot`` or
 
3807
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
 
3808
 
 
3809
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
 
3810
  helper ``safe_relpath_files`` - used by the new ``exclude``
 
3811
  parameter to commit. (Robert Collins)
 
3812
 
 
3813
* Make it easier to introduce new WorkingTree formats.
 
3814
  (Ian Clatworthy)
 
3815
 
 
3816
* The code for exporting trees was refactored not to use the
 
3817
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
 
3818
 
 
3819
* RuleSearchers return () instead of [] now when there are no matches.
 
3820
  (Ian Clatworthy)
 
3821
 
 
3822
 
 
3823
bzr 1.6beta3 2008-07-17
 
3824
#######################
 
3825
 
 
3826
This release adds a new 'stacked branches' feature allowing branches to
 
3827
share storage without being in the same repository or on the same machine.
 
3828
(See the user guide for more details.)  It also adds a new hook, improved
 
3829
weaves, aliases for related locations, faster bzr+ssh push, and several
 
3830
bug fixes.
 
3831
 
 
3832
Features
 
3833
********
 
3834
 
 
3835
* New ``pre_change_branch_tip`` hook that is called before the
 
3836
  branch tip is moved, while the branch is write-locked.  See the User
 
3837
  Reference for signature details.  (Andrew Bennetts)
 
3838
 
 
3839
* Rule-based preferences can now be defined for selected files in
 
3840
  selected branches, allowing commands and plugins to provide
 
3841
  custom behaviour for files matching defined patterns.
 
3842
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
 
3843
  in the User Guide and ``bzr help rules`` for more information.
 
3844
  (Ian Clatworthy)
 
3845
 
 
3846
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
 
3847
 
 
3848
* Stacked branches are now supported. See ``bzr help branch`` and
 
3849
  ``bzr help push``.  Branches must be in the ``development1`` format
 
3850
  to stack, though the stacked-on branch can be of any format.
 
3851
  (Robert Collins)
 
3852
 
 
3853
Improvements
 
3854
************
 
3855
 
 
3856
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
 
3857
  to stdout; also ``tar`` and ``tbz2``.
 
3858
  (Martin Pool)
 
3859
 
 
3860
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
 
3861
  rather than the annotation-based merge it was using. It does so by
 
3862
  building up a Weave of the important texts, without needing to build
 
3863
  the full ancestry. (John Arbash Meinel, #238895)
 
3864
 
 
3865
* ``bzr send`` documents and better supports ``emacsclient`` (proper
 
3866
  escaping of mail headers and handling of the MUA Mew).
 
3867
  (Christophe Troestler)
 
3868
 
 
3869
* Remembered locations can be specified by aliases, e.g. :parent, :public,
 
3870
  :submit.  (Aaron Bentley)
 
3871
 
 
3872
* The smart protocol now has improved support for setting branches'
 
3873
  revision info directly.  This makes operations like push
 
3874
  faster.  The new request method name is
 
3875
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
 
3876
 
 
3877
Bug Fixes
 
3878
*********
 
3879
 
 
3880
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
 
3881
  The broken implementations of RFC822 in Python and RFC2046 in IIS
 
3882
  combined with boundary-line checking in Bazaar previously made this
 
3883
  impossible. (NB, IIS 5 does not suffer from this problem).
 
3884
  (Adrian Wilkins, #247585)
 
3885
 
 
3886
* ``bzr log --long`` with a ghost in your mainline now handles that
 
3887
  ghost properly. (John Arbash Meinel, #243536)
 
3888
 
 
3889
* ``check`` handles the split-up .bzr layout correctly, so no longer
 
3890
  requires a branch to be present.
 
3891
  (Daniel Watkins, #64783)
 
3892
 
 
3893
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
 
3894
  loaded.
 
3895
  (Martin Pool, #205230)
 
3896
 
 
3897
* Errors about missing libraries are now shown without a traceback,
 
3898
  and with a suggestion to install the library.  The full traceback is
 
3899
  still in ``.bzr.log`` and can be shown with ``-Derror``.
 
3900
  (Martin Pool, #240161)
 
3901
 
 
3902
* Fetch from a stacked branch copies all required data.
 
3903
  (Aaron Bentley, #248506)
 
3904
 
 
3905
* Handle urls such as ftp://user@host.com@www.host.com where the user
 
3906
  name contains an @.
 
3907
  (Neil Martinsen-Burrell, #228058)
 
3908
 
 
3909
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
 
3910
  ``unlock`` if there was an error in the original function. This helps
 
3911
  most when there is a failure with a smart server action, since often the
 
3912
  connection closes and we cannot unlock.
 
3913
  (Andrew Bennetts, John Arbash Meinel, #125784)
 
3914
 
 
3915
* Obsolete hidden command ``bzr fetch`` removed.
 
3916
  (Martin Pool, #172870)
 
3917
 
 
3918
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
 
3919
  (John Arbash Meinel, #239933)
 
3920
 
 
3921
* You can now compare file revisions in Windows diff programs from
 
3922
  Cygwin Bazaar.
 
3923
  (Matt McClure, #209281)
 
3924
 
 
3925
* revision_history now tolerates mainline ghosts for Branch format 6.
 
3926
  (Aaron Bentley, #235055)
 
3927
 
 
3928
* Set locale from environment for third party libs.
 
3929
  (Martin von Gagern, #128496)
 
3930
 
 
3931
Documentation
 
3932
*************
 
3933
 
 
3934
* Added *Using stacked branches* to the User Guide.
 
3935
  (Ian Clatworthy)
 
3936
 
 
3937
* Updated developer documentation.
 
3938
  (Martin Pool)
 
3939
 
 
3940
Testing
 
3941
*******
 
3942
 
 
3943
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
 
3944
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
 
3945
 
 
3946
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
 
3947
  a tree with a ``branch`` attribute of the right format.  This was
 
3948
  preventing some ``RemoteBranch`` tests from actually running with
 
3949
  ``RemoteBranch`` instances.  (Andrew Bennetts)
 
3950
 
 
3951
API Changes
 
3952
***********
 
3953
 
 
3954
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
 
3955
  there are new attributes ``texts, inventories, revisions,
 
3956
  signatures``, each of which is a ``VersionedFiles``.  See the
 
3957
  Repository docstring for more details.
 
3958
  (Robert Collins)
 
3959
 
 
3960
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
 
3961
  parameter.  If you have a subclass of ``Branch`` that overrides
 
3962
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
 
3963
 
 
3964
* ``bzrlib.check.check()`` has been deprecated in favour of the more
 
3965
  aptly-named ``bzrlib.check.check_branch()``.
 
3966
  (Daniel Watkins)
 
3967
 
 
3968
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
 
3969
  These methods are bad APIs because they write directly to sys.stdout.
 
3970
  bzrlib does not use them internally, and there are no direct tests
 
3971
  for them. (Alexander Belchenko)
 
3972
 
 
3973
Internals
 
3974
*********
 
3975
 
 
3976
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
 
3977
  (Alexander Belchenko)
 
3978
 
 
3979
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
 
3980
  which eases the discovery of the tree, the branch and the repository
 
3981
  containing a given location.
 
3982
  (Daniel Watkins)
 
3983
 
 
3984
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
 
3985
  underlying .knit/.kndx etc files in repositories with partitioned
 
3986
  storage. (Robert Collins)
 
3987
 
 
3988
* Obsolete developer-use command ``weave-join`` has been removed.
 
3989
  (Robert Collins)
 
3990
 
 
3991
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
 
3992
  to support new ``VersionedFiles`` layering.
 
3993
  (Robert Collins)
 
3994
 
 
3995
 
 
3996
bzr 1.6beta2 2008-06-10
 
3997
#######################
 
3998
 
 
3999
This release contains further progress towards our 1.6 goals of shallow
 
4000
repositories, and contains a fix for some user-affecting bugs in the
 
4001
repository layer.  Building working trees during checkout and branch is
 
4002
now faster.
 
4003
 
 
4004
Bug Fixes
 
4005
*********
 
4006
 
 
4007
* Avoid KnitCorrupt error extracting inventories from some repositories.
 
4008
  (The data is not corrupt; an internal check is detecting a problem
 
4009
  reading from the repository.)
 
4010
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
 
4011
 
 
4012
* ``bzr status`` was breaking if you merged the same revision twice.
 
4013
  (John Arbash Meinel, #235407)
 
4014
 
 
4015
* Fix infinite loop consuming 100% CPU when a connection is lost while
 
4016
  reading a response body via the smart protocol v1 or v2.
 
4017
  (Andrew Bennetts)
 
4018
 
 
4019
* Inserting a bundle which changes the contents of a file with no trailing
 
4020
  end of line, causing a knit snapshot in a 'knits' repository will no longer
 
4021
  cause KnitCorrupt. (Robert Collins)
 
4022
 
 
4023
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
 
4024
  pull result. It was instead just returning None, which breaks ``bzr
 
4025
  pull``. (John Arbash Meinel, #238149)
 
4026
 
 
4027
* Sanitize branch nick before using it as an attachment filename in
 
4028
  ``bzr send``. (Lukáš Lalinský, #210218)
 
4029
 
 
4030
* Squash ``inv_entry.symlink_target`` to a plain string when
 
4031
  generating DirState details. This prevents from getting a
 
4032
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
 
4033
  (John Arbash Meinel, #135320)
 
4034
 
 
4035
Improvements
 
4036
************
 
4037
 
 
4038
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
 
4039
 
 
4040
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
 
4041
  now quote paths where required). Added ``--null`` option to ``added`` and
 
4042
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
 
4043
  (Adrian Wilkins)
 
4044
 
 
4045
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
 
4046
  (Ian Clatworthy, Aaron Bentley)
 
4047
 
 
4048
Documentation
 
4049
*************
 
4050
 
 
4051
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
 
4052
 
 
4053
Testing
 
4054
*******
 
4055
 
 
4056
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
4057
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
4058
 
 
4059
API Changes
 
4060
***********
 
4061
 
 
4062
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
4063
  which are in the ancestry of other revisions. So if you merge the same
 
4064
  tree twice, or merge an ancestor of an existing merge, it will only
 
4065
  record the newest. (If you merge a descendent, it will replace its
 
4066
  ancestor). (John Arbash Meinel, #235407)
 
4067
 
 
4068
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
 
4069
  through the derived classes do not.  (Aaron Bentley)
 
4070
 
 
4071
Internals
 
4072
*********
 
4073
 
 
4074
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
 
4075
  creating stacked branches. (Robert Collins)
 
4076
 
 
4077
* Knit record serialisation is now stricter on what it will accept, to
 
4078
  guard against potential internal bugs, or broken input. (Robert Collins)
 
4079
 
 
4080
bzr 1.6beta1 2008-06-02
 
4081
#######################
 
4082
 
 
4083
 
 
4084
Commands that work on the revision history such as push, pull, missing,
 
4085
uncommit and log are now substantially faster.  This release adds a
 
4086
translation of some of the user documentation into Spanish.  (Contributions of
 
4087
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
 
4088
protocol which is used by default and which allows for more efficient transfers
 
4089
and future extensions.
 
4090
 
 
4091
 
 
4092
Notes When Upgrading
 
4093
********************
 
4094
 
 
4095
* There is a new version of the network protocol used for bzr://, bzr+ssh://
 
4096
  and bzr+http:// connections.  This will allow more efficient requests and
 
4097
  responses, and more graceful fallback when a server is too old to
 
4098
  recognise a request from a more recent client.  Bazaar 1.6 will
 
4099
  interoperate with 0.16 and later versions, but servers should be upgraded
 
4100
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
4101
  these protocols.  Use alternatives like SFTP or upgrade those servers.
 
4102
  (Andrew Bennetts, #83935)
 
4103
 
 
4104
Changes
 
4105
*******
 
4106
 
 
4107
* Deprecation warnings will not be suppressed when running ``bzr selftest``
 
4108
  so that developers can see if their code is using deprecated functions.
 
4109
  (John Arbash Meinel)
 
4110
 
 
4111
Features
 
4112
********
 
4113
 
 
4114
* Adding ``-Derror`` will now display a traceback when a plugin fails to
 
4115
  load. (James Westby)
 
4116
 
 
4117
Improvements
 
4118
************
 
4119
 
 
4120
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
 
4121
  the revno of the new revision (``Graph.find_distance_to_null``). This
 
4122
  should make something like ``bzr branch -r -100`` in a shared, no-trees
 
4123
  repository much snappier. (John Arbash Meinel)
 
4124
 
 
4125
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
 
4126
  history. This makes it noticeably faster when logging the last few
 
4127
  revisions. (John Arbash Meinel)
 
4128
 
 
4129
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
 
4130
  (Jerad Cramp, #165086)
 
4131
 
 
4132
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
4133
  ``Graph.find_differences`` to determine missing revisions without having
 
4134
  to search the whole ancestry. (John Arbash Meinel, #174625)
 
4135
 
 
4136
* ``bzr uncommit`` now uses partial history access, rather than always
 
4137
  extracting the full revision history for a branch. This makes it
 
4138
  resolve the appropriate revisions much faster (in testing it drops
 
4139
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
 
4140
  step closer to not using full revision history.
 
4141
  (John Arbash Meinel, #172649)
 
4142
 
 
4143
Bugfixes
 
4144
********
 
4145
 
 
4146
* ``bzr merge --lca`` should handle when two revisions have no common
 
4147
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
 
4148
 
 
4149
* ``bzr status`` was breaking if you merged the same revision twice.
 
4150
  (John Arbash Meinel, #235407)
 
4151
 
 
4152
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
4153
  fails.  (Andrew Bennetts, #234229)
 
4154
 
 
4155
* Correctly track the base URL of a smart medium when using bzr+http://
 
4156
  URLs, which was causing spurious "No repository present" errors with
 
4157
  branches in shared repositories accessed over bzr+http.
 
4158
  (Andrew Bennetts, #230550)
 
4159
 
 
4160
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
4161
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
4162
  attribute '_remote_is_at_least_1_2' attribute errors.
 
4163
  (Andrew Bennetts, #220806)
 
4164
 
 
4165
* Failure to delete an obsolete pack file should just give a warning
 
4166
  message, not a fatal error.  It may for example fail if the file is still
 
4167
  in use by another process.
 
4168
  (Martin Pool)
 
4169
 
 
4170
* Fix MemoryError during large fetches over HTTP by limiting the amount of
 
4171
  data we try to read per ``recv`` call.  The problem was observed with
 
4172
  Windows and a proxy, but might affect other environments as well.
 
4173
  (Eric Holmberg, #215426)
 
4174
 
 
4175
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
4176
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
4177
 
 
4178
* Issue a warning and ignore passwords declared in authentication.conf when
 
4179
  used for an ssh scheme (sftp or bzr+ssh).
 
4180
  (Vincent Ladeuil, #203186)
 
4181
 
 
4182
* Make both http implementations raise appropriate exceptions on 403
 
4183
  Forbidden when POSTing smart requests.
 
4184
  (Vincent Ladeuil, #230223)
 
4185
 
 
4186
* Properly *title* header names in http requests instead of capitalizing
 
4187
  them.
 
4188
  (Vincent Ladeuil, #229076)
 
4189
 
 
4190
* The "Unable to obtain lock" error message now also suggests using
 
4191
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
 
4192
 
 
4193
* Treat an encoding of '' as ascii; this can happen when bzr is run
 
4194
  under vim on Mac OS X.
 
4195
  (Neil Martinsen-Burrell)
 
4196
 
 
4197
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
 
4198
  scope. (Daniel Fischer #235687)
 
4199
 
 
4200
Documentation
 
4201
*************
 
4202
 
 
4203
* Added directory structure and started translation of docs in spanish.
 
4204
  (Martin Albisetti, Lucio Albenga)
 
4205
 
 
4206
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
4207
  on the plugin and integration chapters of the User Guide.
 
4208
  (Ian Clatworthy)
 
4209
 
 
4210
* More Bazaar developer documentation about packaging and release process,
 
4211
  and about use of Python reprs.
 
4212
  (Martin Pool, Martin Albisetti)
 
4213
 
 
4214
* Updated Tortise strategy document. (Mark Hammond)
 
4215
 
 
4216
Testing
 
4217
*******
 
4218
 
 
4219
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
 
4220
  (Robert Collins)
 
4221
 
 
4222
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
4223
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
4224
 
 
4225
* New helper function for splitting test suites
 
4226
  ``split_suite_by_condition``. (Robert Collins)
 
4227
 
 
4228
Internals
 
4229
*********
 
4230
 
 
4231
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
 
4232
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
 
4233
  fairly broken, and the function was unused, so we are getting rid of it.
 
4234
  (John Arbash Meinel)
 
4235
 
 
4236
API Changes
 
4237
***********
 
4238
 
 
4239
* ``Branch.abspath`` is deprecated; use the Tree or Transport
 
4240
  instead.  (Martin Pool)
 
4241
 
 
4242
* ``Branch.update_revisions`` now takes an optional ``Graph``
 
4243
  object. This can be used by ``update_revisions`` when it is
 
4244
  checking ancestry, and allows callers to prefer request to go to a
 
4245
  local branch.  (John Arbash Meinel)
 
4246
 
 
4247
* Branch, Repository, Tree and BzrDir should expose a Transport as an
 
4248
  attribute if they have one, rather than having it indirectly accessible
 
4249
  as ``.control_files._transport``.  This doesn't add a requirement
 
4250
  to support a Transport in cases where it was not needed before;
 
4251
  it just simplifies the way it is reached.  (Martin Pool)
 
4252
 
 
4253
* ``bzr missing --mine-only`` will return status code 0 if you have no
 
4254
  new revisions, but the remote does. Similarly for ``--theirs-only``.
 
4255
  The new code only checks one side, so it doesn't know if the other
 
4256
  side has changes. This seems more accurate with the request anyway.
 
4257
  It also changes the output to print '[This|Other] branch is up to
 
4258
  date.' rather than displaying nothing.  (John Arbash Meinel)
 
4259
 
 
4260
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
4261
  are now deprecated in favor of using Transport operations.
 
4262
  (Martin Pool)
 
4263
 
 
4264
* Many methods on ``VersionedFile``, ``Repository`` and in
 
4265
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
4266
  (Robert Collins)
 
4267
 
 
4268
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
 
4269
  ``RevisionSpec``. This will disable the existing behavior of passing in
 
4270
  the full revision history to ``self._match_on``. Useful for specs that
 
4271
  don't actually need access to the full history. (John Arbash Meinel)
 
4272
 
 
4273
* The constructors of ``SmartClientMedium`` and its subclasses now require a
 
4274
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
4275
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
4276
 
 
4277
* The default permissions for creating new files and directories
 
4278
  should now be obtained from ``BzrDir._get_file_mode()`` and
 
4279
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
4280
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
4281
  as a way for plugins to control this are no longer consulted.
 
4282
  (Martin Pool)
 
4283
 
 
4284
* ``VersionedFile.join`` is deprecated. This method required local
 
4285
  instances of both versioned file objects and was thus hostile to being
 
4286
  used for streaming from a smart server. The new get_record_stream and
 
4287
  insert_record_stream are meant to efficiently replace this method.
 
4288
  (Robert Collins)
 
4289
 
 
4290
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
4291
  which are in the ancestry of other revisions. So if you merge the same
 
4292
  tree twice, or merge an ancestor of an existing merge, it will only
 
4293
  record the newest. (If you merge a descendent, it will replace its
 
4294
  ancestor). (John Arbash Meinel, #235407)
 
4295
 
 
4296
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
4297
  (Martin Pool)
 
4298
 
 
4299
 
 
4300
bzr 1.5 2008-05-16
 
4301
##################
 
4302
 
 
4303
This release of Bazaar includes several updates to the documentation, and fixes
 
4304
to prepare for making rich root support the default format. Many bugs have been
 
4305
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
 
4306
 
 
4307
Changes
 
4308
*******
 
4309
 
 
4310
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
4311
  users of packaged software won't be bothered with DeprecationWarnings,
 
4312
  but developers and testers will still see them. (John Arbash Meinel)
 
4313
 
 
4314
Documentation
 
4315
*************
 
4316
 
 
4317
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
4318
  on the plugin and integration chapters of the User Guide.
 
4319
  (Ian Clatworthy)
 
4320
 
 
4321
 
 
4322
bzr 1.5rc1 2008-05-09
 
4323
#####################
 
4324
 
 
4325
Changes
 
4326
*******
 
4327
 
 
4328
* Broader support of GNU Emacs mail clients. Set
 
4329
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
4330
  bundle in a mail buffer according to the value of ``mail-user-agent``
 
4331
  variable. (Xavier Maillard)
 
4332
 
 
4333
Improvements
 
4334
************
 
4335
 
 
4336
* Diff now handles revision specs like "branch:" and "submit:" more
 
4337
  efficiently.  (Aaron Bentley, #202928)
 
4338
 
 
4339
* More friendly error given when attempt to start the smart server
 
4340
  on an address already in use. (Andrea Corbellini, #200575)
 
4341
 
 
4342
* Pull completes much faster when there is nothing to pull.
 
4343
  (Aaron Bentley)
 
4344
 
 
4345
Bugfixes
 
4346
********
 
4347
 
 
4348
* Authentication.conf can define sections without password.
 
4349
  (Vincent Ladeuil, #199440)
 
4350
 
 
4351
* Avoid muttering every time a child update does not cause a progress bar
 
4352
  update. (John Arbash Meinel, #213771)
 
4353
 
 
4354
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
4355
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
4356
  also detects this condition. (John Arbash Meinel, #177855)
 
4357
 
 
4358
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
4359
  for ``revision_id=None`` which was not a string.
 
4360
  (John Arbash Meinel, #211661)
 
4361
 
 
4362
* ``bzr commit`` now works with Microsoft's FTP service.
 
4363
  (Andreas Deininger)
 
4364
 
 
4365
* Catch definitions outside sections in authentication.conf.
 
4366
  (Vincent Ladeuil, #217650)
 
4367
 
 
4368
* Conversion from non-rich-root to rich-root(-pack) updates inventory
 
4369
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
4370
 
 
4371
* Conversion from non-rich-root to rich-root(-pack) works correctly even
 
4372
  though search keys are not topologically sorted.  (Aaron Bentley)
 
4373
 
 
4374
* Conversion from non-rich-root to rich-root(-pack) works even when a
 
4375
  parent revision has a different root id.  (Aaron Bentley, #177874)
 
4376
 
 
4377
* Disable strace testing until strace is fixed (see bug #103133) and emit a
 
4378
  warning when selftest ends to remind us of leaking tests.
 
4379
  (Vincent Ladeuil, #226769)
 
4380
 
 
4381
* Fetching all revisions from a repository does not cause pack collisions.
 
4382
  (Robert Collins, Aaron Bentley, #212908)
 
4383
 
 
4384
* Fix error about "attempt to add line-delta in non-delta knit".
 
4385
  (Andrew Bennetts, #217701)
 
4386
 
 
4387
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
4388
  if the remote server was < version 1.2. This was due to a bug in the
 
4389
  RemoteRepository.get_parent_map() fallback code.
 
4390
  (John Arbash Meinel, #214894)
 
4391
 
 
4392
* Remove leftover code in ``bzr_branch`` that inappropriately creates
 
4393
  a ``branch-name`` file in the branch control directory.
 
4394
  (Martin Pool)
 
4395
 
 
4396
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
4397
  rebinding the socket when starting the server a second time.
 
4398
  (John Arbash Meinel, Martin Pool, #164288)
 
4399
 
 
4400
* Severe performance degradation in fetching from knit repositories to
 
4401
  knits and packs due to parsing the entire revisions.kndx on every graph
 
4402
  walk iteration fixed by using the Repository.get_graph API.  There was
 
4403
  another regression in knit => knit fetching which re-read the index for
 
4404
  every revision each side had in common.
 
4405
  (Robert Collins, John Arbash Meinel)
 
4406
 
 
4407
* When logging the changes to a particular file, there was a bug if there
 
4408
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
4409
 
 
4410
* xs4all's ftp server returns a temporary error when trying to list an
 
4411
  empty directory, rather than returning an empty list. Adding a
 
4412
  workaround so that we don't get spurious failures.
 
4413
  (John Arbash Meinel, #215522)
 
4414
 
 
4415
Documentation
 
4416
*************
 
4417
 
 
4418
* Expanded the User Guide to include new chapters on popular plugins and
 
4419
  integrating Bazaar into your environment. The *Best practices* chapter
 
4420
  was renamed to *Miscellaneous topics* as suggested by community
 
4421
  feedback as well. (Ian Clatworthy)
 
4422
 
 
4423
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
4424
 
 
4425
* Improved the documentation on hooks. (Ian Clatworthy)
 
4426
 
 
4427
* Update authentication docs regarding ssh agents.
 
4428
  (Vincent Ladeuil, #183705)
 
4429
 
 
4430
Testing
 
4431
*******
 
4432
 
 
4433
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
4434
  make it easy to identify which test spawned a thread with an unhandled
 
4435
  exception. (Andrew Bennetts)
 
4436
 
 
4437
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
4438
  options for debugging tests, these are complementary to the the -D
 
4439
  options.  The ``-Dselftest_debug`` global option has been replaced by the
 
4440
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
4441
 
 
4442
* Parameterised test ids are preserved correctly to aid diagnosis of test
 
4443
  failures. (Robert Collins, Andrew Bennetts)
 
4444
 
 
4445
* selftest now accepts --starting-with <id> to load only the tests whose id
 
4446
  starts with the one specified. This greatly speeds up running the test
 
4447
  suite on a limited set of tests and can be used to run the tests for a
 
4448
  single module, a single class or even a single test.  (Vincent Ladeuil)
 
4449
 
 
4450
* The test suite modules have been modified to define load_tests() instead
 
4451
  of test_suite(). That speeds up selective loading (via --load-list)
 
4452
  significantly and provides many examples on how to migrate (grep for
 
4453
  load_tests).  (Vincent Ladeuil)
 
4454
 
 
4455
Internals
 
4456
*********
 
4457
 
 
4458
* ``Hooks.install_hook`` is now deprecated in favour of
 
4459
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
4460
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
4461
 
 
4462
* Implement xml8 serializer.  (Aaron Bentley)
 
4463
 
 
4464
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
 
4465
  deprecation wrappers.  (Martin Pool)
 
4466
 
 
4467
* ``Repository.revision_parents`` is now deprecated in favour of
 
4468
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
4469
 
 
4470
* The Python ``assert`` statement is no longer used in Bazaar source, and
 
4471
  a test checks this.  (Martin Pool)
 
4472
 
 
4473
API Changes
 
4474
***********
 
4475
 
 
4476
* ``bzrlib.status.show_pending_merges`` requires the repository to be
 
4477
  locked by the caller. Callers should have been doing it anyway, but it
 
4478
  will now raise an exception if they do not. (John Arbash Meinel)
 
4479
 
 
4480
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
4481
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
4482
  Repository.item_keys_introduced_by() no longer take read locks.
 
4483
  (Aaron Bentley)
 
4484
 
 
4485
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
4486
  towards removing LockableFiles and ``.control_files`` entirely.
 
4487
  (Martin Pool)
 
4488
 
 
4489
* Methods deprecated prior to 1.1 have been removed.
 
4490
  (Martin Pool)
 
4491
 
 
4492
 
 
4493
bzr 1.4 2008-04-28
 
4494
##################
 
4495
 
 
4496
This release of Bazaar includes handy improvements to the speed of log and
 
4497
status, new options for several commands, improved documentation, and better
 
4498
hooks, including initial code for server-side hooks.  A number of bugs have
 
4499
been fixed, particularly in interoperability between different formats or
 
4500
different releases of Bazaar over there network.  There's been substantial
 
4501
internal work in both the repository and network code to enable new features
 
4502
and faster performance.
 
4503
 
 
4504
Bug Fixes
 
4505
*********
 
4506
 
 
4507
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
4508
  if the remote server was < version 1.2.  This was due to a bug in the
 
4509
  RemoteRepository.get_parent_map() fallback code.
 
4510
  (John Arbash Meinel, Andrew Bennetts, #214894)
 
4511
 
 
4512
 
 
4513
bzr 1.4rc2 2008-04-21
 
4514
#####################
 
4515
 
 
4516
Bug Fixes
 
4517
*********
 
4518
 
 
4519
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
4520
  for ``revision_id=None`` which was not a string.
 
4521
  (John Arbash Meinel, #211661)
 
4522
 
 
4523
* Fixed a bug in handling ghost revisions when logging changes in a
 
4524
  particular file.  (John Arbash Meinel, #209948)
 
4525
 
 
4526
* Fix error about "attempt to add line-delta in non-delta knit".
 
4527
  (Andrew Bennetts, #205156)
 
4528
 
 
4529
* Fixed performance degradation in fetching from knit repositories to
 
4530
  knits and packs due to parsing the entire revisions.kndx on every graph
 
4531
  walk iteration fixed by using the Repository.get_graph API.  There was
 
4532
  another regression in knit => knit fetching which re-read the index for
 
4533
  every revision each side had in common.
 
4534
  (Robert Collins, John Arbash Meinel)
 
4535
 
 
4536
 
 
4537
bzr 1.4rc1 2008-04-11
 
4538
#####################
 
4539
 
 
4540
Changes
 
4541
*******
 
4542
 
 
4543
* bzr main script cannot be imported (Benjamin Peterson)
 
4544
 
 
4545
* On Linux bzr additionally looks for plugins in arch-independent site
 
4546
  directory. (Toshio Kuratomi)
 
4547
 
 
4548
* The ``set_rh`` branch hook is now deprecated. Please migrate
 
4549
  any plugins using this hook to use an alternative, e.g.
 
4550
  ``post_change_branch_tip``. (Ian Clatworthy)
 
4551
 
 
4552
* When a plugin cannot be loaded as the file path is not a valid
 
4553
  python module name bzr will now strip a ``bzr_`` prefix from the
 
4554
  front of the suggested name, as many plugins (e.g. bzr-svn)
 
4555
  want to be installed without this prefix. It is a common mistake
 
4556
  to have a folder named "bzr-svn" for that plugin, especially
 
4557
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
4558
  Andrew Cowie)
 
4559
 
 
4560
* UniqueIntegerBugTracker now appends bug-ids instead of joining
 
4561
  them to the base URL. Plugins that register bug trackers may
 
4562
  need a trailing / added to the base URL if one is not already there.
 
4563
  (James Wesby, Andrew Cowie)
 
4564
 
 
4565
Features
 
4566
********
 
4567
 
 
4568
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
4569
 
 
4570
* ``status`` now accepts ``--no-pending`` to show the status without
 
4571
  listing pending merges, which speeds up the command a lot on large
 
4572
  histories.  (James Westby, #202830)
 
4573
 
 
4574
* New ``post_change_branch_tip`` hook that is called after the
 
4575
  branch tip is moved but while the branch is still write-locked.
 
4576
  See the User Reference for signature details.
 
4577
  (Ian Clatworthy, James Henstridge)
 
4578
 
 
4579
* Reconfigure can convert a branch to be standalone or to use a shared
 
4580
  repository.  (Aaron Bentley)
 
4581
 
 
4582
Improvements
 
4583
************
 
4584
 
 
4585
* The smart protocol now has support for setting branches' revision info
 
4586
  directly.  This should make operations like push slightly faster, and is a
 
4587
  step towards server-side hooks.  The new request method name is
 
4588
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
4589
 
 
4590
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
4591
  (James Westby, Andrew Cowie)
 
4592
 
 
4593
* ``bzr switch`` will attempt to find branches to switch to relative to the
 
4594
  current branch. E.g. ``bzr switch branchname`` will look for
 
4595
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
4596
  Wouter van Heyst)
 
4597
 
 
4598
* Diff is now more specific about execute-bit changes it describes
 
4599
  (Chad Miller)
 
4600
 
 
4601
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
4602
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
4603
  rather than just 1 byte at a time.  (Andrew Bennetts)
 
4604
 
 
4605
* Log --short and --line are much faster when -r is not specified.
 
4606
  (Aaron Bentley)
 
4607
 
 
4608
* Merge is faster.  We no longer check a file's existence unnecessarily
 
4609
  when merging the execute bit.  (Aaron Bentley)
 
4610
 
 
4611
* ``bzr status`` on an explicit list of files no longer shows pending
 
4612
  merges, making it much faster on large trees. (John Arbash Meinel)
 
4613
 
 
4614
* The launchpad directory service now warns the user if they have not set
 
4615
  their launchpad login and are trying to resolve a URL using it, just
 
4616
  in case they want to do a write operation with it.  (James Westby)
 
4617
 
 
4618
* The smart protocol client is slightly faster, because it now only queries
 
4619
  the server for the protocol version once per connection.  Also, the HTTP
 
4620
  transport will now automatically probe for and use a smart server if
 
4621
  one is present.  You can use the new ``nosmart+`` transport decorator
 
4622
  to get the old behaviour.  (Andrew Bennetts)
 
4623
 
 
4624
* The ``version`` command takes a ``--short`` option to print just the
 
4625
  version number, for easier use in scripts.  (Martin Pool)
 
4626
 
 
4627
* Various operations with revision specs and commands that calculate
 
4628
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
4629
 
 
4630
Bugfixes
 
4631
********
 
4632
 
 
4633
* Add ``root_client_path`` parameter to SmartWSGIApp and
 
4634
  SmartServerRequest.  This makes it possible to publish filesystem
 
4635
  locations that don't exactly match URL paths. SmartServerRequest
 
4636
  subclasses should use the new ``translate_client_path`` and
 
4637
  ``transport_from_client_path`` methods when dealing with paths received
 
4638
  from a client to take this into account.  (Andrew Bennetts, #124089)
 
4639
 
 
4640
* ``bzr mv a b`` can be now used also to rename previously renamed
 
4641
  directories, not only files. (Lukáš Lalinský, #107967)
 
4642
 
 
4643
* ``bzr uncommit --local`` can now remove revisions from the local
 
4644
  branch to be symmetric with ``bzr commit --local``.
 
4645
  (John Arbash Meinel, #93412)
 
4646
 
 
4647
* Don't ask for a password if there is no real terminal.
 
4648
  (Alexander Belchenko, #69851)
 
4649
 
 
4650
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
4651
  fetching revisions from a knit to pack repository or vice versa using
 
4652
  bzr:// (including over http or ssh).
 
4653
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
4654
 
 
4655
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
4656
  fixed ``_get_bytes`` in the same module to use the push back buffer.
 
4657
  These bugs had no known impact in normal use, but were problematic for
 
4658
  developers working on the code, and were likely to cause real bugs sooner
 
4659
  or later.  (Andrew Bennetts)
 
4660
 
 
4661
* Implement handling of basename parameter for DefaultMail.  (James Westby)
 
4662
 
 
4663
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
4664
  (Andrew Bennetts, #213425)
 
4665
 
 
4666
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
4667
 
 
4668
* Merges that add files to deleted root directories complete.  They
 
4669
  do create conflicts.  (Aaron Bentley, #210092)
 
4670
 
 
4671
* vsftp's return ``550 RNFR command failed.`` supported.
 
4672
  (Marcus Trautwig, #129786)
 
4673
 
 
4674
Documentation
 
4675
*************
 
4676
 
 
4677
* Improved documentation on send/merge relationship. (Peter Schuller)
 
4678
 
 
4679
* Minor fixes to the User Guide. (Matthew Fuller)
 
4680
 
 
4681
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
4682
 
 
4683
* Added Integrating with Bazaar document for developers (Martin Albisetti)
 
4684
 
 
4685
API Breaks
 
4686
**********
 
4687
 
 
4688
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
4689
  non-ghost aware repository such as weaves will now fail if there are
 
4690
  ghosts.  (Robert Collins)
 
4691
 
 
4692
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
4693
  now requires the ``index`` and ``access_method`` parameters to be
 
4694
  supplied. A compatible shim has been kept in the new function
 
4695
  ``knit.make_file_knit``. (Robert Collins)
 
4696
 
 
4697
* Log formatters must now provide log_revision instead of show and
 
4698
  show_merge_revno methods. The latter had been deprecated since the 0.17
 
4699
  release. (James Westby)
 
4700
 
 
4701
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
4702
  (Andrew Bennetts)
 
4703
 
 
4704
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
4705
 
 
4706
* ``Repository.get_revision_graph`` is deprecated, with no replacement
 
4707
  method. The method was size(history) and not desirable. (Robert Collins)
 
4708
 
 
4709
* ``revision.revision_graph`` is deprecated, with no replacement function.
 
4710
  The function was size(history) and not desirable. (Robert Collins)
 
4711
 
 
4712
* ``Transport.get_shared_medium`` is deprecated.  Use
 
4713
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
4714
 
 
4715
* ``VersionedFile`` factories now accept a get_scope parameter rather
 
4716
  than using a call to ``transaction_finished``, allowing the removal of
 
4717
  the fixed list of versioned files per repository. (Robert Collins)
 
4718
 
 
4719
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
4720
  allowed lower memory use, all users of annotations wanted full file
 
4721
  annotations, and there is no storage format suitable for incremental
 
4722
  line-by-line annotation. (Robert Collins)
 
4723
 
 
4724
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
4725
  is no longer used - reading the content of a file that is undergoing a
 
4726
  file level merge to identical state on two branches is rare enough, and
 
4727
  not expensive enough to special case. (Robert Collins)
 
4728
 
 
4729
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
4730
  These methods added significant complexity to the ``VersionedFile``
 
4731
  implementation, but were only used for optimising fetches from knits -
 
4732
  which can be done from outside the knit layer, or via a caching
 
4733
  decorator. As knits are not the default format, the complexity is no
 
4734
  longer worth paying. (Robert Collins)
 
4735
 
 
4736
* ``VersionedFile.create_empty`` is removed. This method presupposed a
 
4737
  sensible mapping to a transport for individual files, but pack backed
 
4738
  versioned files have no such mapping. (Robert Collins)
 
4739
 
 
4740
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
4741
  The method was size(history) and not desirable. (Robert Collins)
 
4742
 
 
4743
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
4744
  replacement method.  The method was size(history) and not desirable.
 
4745
  (Robert Collins)
 
4746
 
 
4747
* ``VersionedFile.get_parents`` is deprecated, please use
 
4748
  ``VersionedFile.get_parent_map``. (Robert Collins)
 
4749
 
 
4750
* ``VersionedFile.get_sha1`` is deprecated, please use
 
4751
  ``VersionedFile.get_sha1s``. (Robert Collins)
 
4752
 
 
4753
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
4754
  and unused outside of a single test. (Robert Collins)
 
4755
 
 
4756
* ``VersionedFile.iter_parents`` is now deprecated in favour of
 
4757
  ``get_parent_map`` which can be used to instantiate a Graph on a
 
4758
  VersionedFile. (Robert Collins)
 
4759
 
 
4760
* ``VersionedFileStore`` no longer uses the transaction parameter given
 
4761
  to most methods; amongst other things this means that the
 
4762
  get_weave_or_empty method no longer guarantees errors on a missing weave
 
4763
  in a readonly transaction, and no longer caches versioned file instances
 
4764
  which reduces memory pressure (but requires more careful management by
 
4765
  callers to preserve performance). (Robert Collins)
 
4766
 
 
4767
Testing
 
4768
*******
 
4769
 
 
4770
* New -Dselftest_debug flag disables clearing of the debug flags during
 
4771
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
4772
  failing test.  Be aware that using this feature is likely to cause
 
4773
  spurious test failures if used with the full suite. (Andrew Bennetts)
 
4774
 
 
4775
* selftest --load-list now uses a new more agressive test loader that will
 
4776
  avoid loading unneeded modules and building their tests. Plugins can use
 
4777
  this new loader by defining a load_tests function instead of a test_suite
 
4778
  function. (a forthcoming patch will provide many examples on how to
 
4779
  implement this).
 
4780
  (Vincent Ladeuil)
 
4781
 
 
4782
* selftest --load-list now does some sanity checks regarding duplicate test
 
4783
  IDs and tests present in the list but not found in the actual test suite.
 
4784
  (Vincent Ladeuil)
 
4785
 
 
4786
* Slightly more concise format for the selftest progress bar, so there's
 
4787
  more space to show the test name.  (Martin Pool) ::
 
4788
 
 
4789
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
4790
 
 
4791
* The test suite takes much less memory to run, and is a bit faster.  This
 
4792
  is done by clearing most attributes of TestCases after running them, if
 
4793
  they succeeded.  (Andrew Bennetts)
 
4794
 
 
4795
Internals
 
4796
*********
 
4797
 
 
4798
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
4799
 
 
4800
* Added basic infrastructure for automatic plugin suggestion.
 
4801
  (Martin Albisetti)
 
4802
 
 
4803
* If a ``LockableFiles`` object is not explicitly unlocked (for example
 
4804
  because of a missing ``try/finally`` block, it will give a warning but
 
4805
  not automatically unlock itself.  (Previously they did.)  This
 
4806
  sometimes caused knock-on errors if for example the network connection
 
4807
  had already failed, and should not be relied upon by code.
 
4808
  (Martin Pool, #109520)
 
4809
 
 
4810
* ``make dist`` target to build a release tarball, and also
 
4811
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
4812
 
 
4813
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
4814
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
4815
  callers don't need to try distinguish unknown request errors from other
 
4816
  errors.  (Andrew Bennetts)
 
4817
 
 
4818
* ``set_make_working_trees`` is now implemented provided on all repository
 
4819
  implementations (Aaron Bentley)
 
4820
 
 
4821
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
4822
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
4823
 
 
4824
 
 
4825
bzr 1.3.1 2008-04-09
 
4826
####################
 
4827
 
 
4828
No changes from 1.3.1rc1.
 
4829
 
 
4830
 
 
4831
bzr 1.3.1rc1 2008-04-04
 
4832
#######################
 
4833
 
 
4834
Bug Fixes
 
4835
*********
 
4836
 
 
4837
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
4838
  fetching revisions from a knit to pack repository or vice versa using
 
4839
  bzr:// (including over http or ssh).
 
4840
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
4841
 
 
4842
 
 
4843
bzr 1.3 2008-03-20
 
4844
##################
 
4845
 
 
4846
Bazaar has become part of the GNU project <http://www.gnu.org>
 
4847
 
 
4848
Many operations that act on history, including ``log`` and ``annotate`` are now
 
4849
substantially faster.  Several bugs have been fixed and several new options and
 
4850
features have been added.
 
4851
 
 
4852
Testing
 
4853
*******
 
4854
 
 
4855
* Avoid spurious failure of ``TestVersion.test_version`` matching
 
4856
  directory names.
 
4857
  (#202778, Martin Pool)
 
4858
 
 
4859
 
 
4860
bzr 1.3rc1 2008-03-16
 
4861
#####################
 
4862
 
 
4863
Notes When Upgrading
 
4864
********************
 
4865
 
 
4866
* The backup directory created by ``upgrade`` is now called
 
4867
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
4868
 
 
4869
Changes
 
4870
*******
 
4871
 
 
4872
* A new repository format 'development' has been added. This format will
 
4873
  represent the latest 'in-progress' format that the bzr developers are
 
4874
  interested in getting early-adopter testing and feedback on.
 
4875
  ``doc/developers/development-repo.txt`` has detailed information.
 
4876
  (Robert Collins)
 
4877
 
 
4878
* BZR_LOG environment variable controls location of .bzr.log trace file.
 
4879
  User can suppress writing messages to .bzr.log by using '/dev/null'
 
4880
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
4881
  is not defined but BZR_HOME is defined then default location
 
4882
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
4883
  (Alexander Belchenko, #106117)
 
4884
 
 
4885
* ``launchpad`` builtin plugin now shipped as separate part in standalone
 
4886
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
 
4887
  and standalone installer allows user to skip installation of this plugin.
 
4888
  (Alexander Belchenko)
 
4889
 
 
4890
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
4891
 
 
4892
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
4893
  missing final fields.  (Martin Pool)
 
4894
 
 
4895
Features
 
4896
********
 
4897
 
 
4898
* ``branch`` and ``checkout`` can hard-link working tree files, which is
 
4899
  faster and saves space.  (Aaron Bentley)
 
4900
 
 
4901
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
4902
  the submit branch to determine the email address to send to.
 
4903
  (Jelmer Vernooij)
 
4904
 
 
4905
Improvements
 
4906
************
 
4907
 
 
4908
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
4909
 
 
4910
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
4911
 
 
4912
* Directory services can now be registered, allowing special URLs to be
 
4913
  dereferenced into real URLs.  This is a generalization and cleanup of
 
4914
  the lp: transport lookup.  (Aaron Bentley)
 
4915
 
 
4916
* Merge directives that are automatically attached to emails have nicer
 
4917
  filenames, based on branch-nick + revno. (Aaron Bentley)
 
4918
 
 
4919
* ``push`` has a ``--revision`` option, to specify what revision to push up
 
4920
  to.  (Daniel Watkins)
 
4921
 
 
4922
* Significantly reducing execution time and network traffic for trivial
 
4923
  case of running ``bzr missing`` command for two identical branches.
 
4924
  (Alexander Belchenko)
 
4925
 
 
4926
* Speed up operations that look at the revision graph (such as 'bzr log').
 
4927
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
4928
  extract the revision history. This allows filtering ghosts while
 
4929
  stepping instead of needing to peek ahead. (John Arbash Meinel)
 
4930
 
 
4931
* The ``hooks`` command lists installed hooks, to assist in debugging.
 
4932
  (Daniel Watkins)
 
4933
 
 
4934
* Updates to how ``annotate`` work. Should see a measurable improvement in
 
4935
  performance and memory consumption for file with a lot of merges.
 
4936
  Also, correctly handle when a line is introduced by both parents (it
 
4937
  should be attributed to the first merge which notices this, and not
 
4938
  to all subsequent merges.) (John Arbash Meinel)
 
4939
 
 
4940
Bugfixes
 
4941
********
 
4942
 
 
4943
* Autopacking no longer holds the full set of inventory lines in
 
4944
  memory while copying. For large repositories, this can amount to
 
4945
  hundreds of MB of ram consumption.
 
4946
  (Ian Clatworthy, John Arbash Meinel)
 
4947
 
 
4948
* Cherrypicking when using ``--format=merge3`` now explictly excludes
 
4949
  BASE lines. (John Arbash Meinel, #151731)
 
4950
 
 
4951
* Disable plink's interactive prompt for password.
 
4952
  (#107593, Dmitry Vasiliev)
 
4953
 
 
4954
* Encode command line arguments from unicode to user_encoding before
 
4955
  invoking external mail client in `bzr send` command.
 
4956
  (#139318, Alexander Belchenko)
 
4957
 
 
4958
* Fixed problem connecting to ``bzr+https://`` servers.
 
4959
  (#198793, John Ferlito)
 
4960
 
 
4961
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
4962
  #196618)
 
4963
 
 
4964
* Include quick-start-summary.svg file to python-based installer(s)
 
4965
  for Windows. (#192924, Alexander Belchenko)
 
4966
 
 
4967
* lca merge now respects specified files. (Aaron Bentley)
 
4968
 
 
4969
* Make version-info --custom imply --all. (#195560, James Westby)
 
4970
 
 
4971
* ``merge --preview`` now works for merges that add or modify
 
4972
  symlinks (James Henstridge)
 
4973
 
 
4974
* Redirecting the output from ``bzr merge`` (when the remembered
 
4975
  location is used) now works. (John Arbash Meinel)
 
4976
 
 
4977
* setup.py script explicitly checks for Python version.
 
4978
  (Jari Aalto, Alexander Belchenko, #200569)
 
4979
 
 
4980
* UnknownFormatErrors no longer refer to branches regardless of kind of
 
4981
  unknown format. (Daniel Watkins, #173980)
 
4982
 
 
4983
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
4984
  signs, among other small improvements. (Matt Nordhoff, #86838)
 
4985
 
 
4986
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
4987
  errors.  (Aaron Bentley, #196780)
 
4988
 
 
4989
Documentation
 
4990
*************
 
4991
 
 
4992
* Explained how to use ``version-info --custom`` in the User Guide.
 
4993
  (Neil Martinsen-Burrell)
 
4994
 
 
4995
API Breaks
 
4996
**********
 
4997
 
 
4998
* Support for loading plugins from zip files and
 
4999
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
5000
  (Alexander Belchenko)
 
5001
 
 
5002
Testing
 
5003
*******
 
5004
 
 
5005
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
 
5006
 
 
5007
* The branch interface tests were invalid for branches using rich-root
 
5008
  repositories because the empty string is not a valid file-id.
 
5009
  (Robert Collins)
 
5010
 
 
5011
Internals
 
5012
*********
 
5013
 
 
5014
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
5015
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
5016
  stop part-way through. (John Arbash Meinel)
 
5017
 
 
5018
* New module ``tools/package_mf.py`` provide custom module finder for
 
5019
  python packages (improves standard python library's modulefinder.py)
 
5020
  used by ``setup.py`` script while building standalone bzr.exe.
 
5021
  (Alexander Belchenko)
 
5022
 
 
5023
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
5024
  detecting external lookup support on remote repositories. This method is
 
5025
  now attempted first when lookup up repositories, leading to an extra
 
5026
  round trip on older bzr smart servers. (Robert Collins)
 
5027
 
 
5028
* Repository formats have a new supported-feature attribute
 
5029
  ``supports_external_lookups`` used to indicate repositories which support
 
5030
  falling back to other repositories when they have partial data.
 
5031
  (Robert Collins)
 
5032
 
 
5033
* ``Repository.get_revision_graph_with_ghosts`` and
 
5034
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
5035
  have been deprecated.  (John Arbash Meinel)
 
5036
 
 
5037
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
5038
  ``Tree._iter_changes``. The api is now considered stable and ready for
 
5039
  external users.  (Aaron Bentley)
 
5040
 
 
5041
* The bzrdir format registry now accepts an ``alias`` keyword to
 
5042
  register_metadir, used to indicate that a format name is an alias for
 
5043
  some other format and thus should not be reported when describing the
 
5044
  format. (Robert Collins)
 
5045
 
 
5046
 
 
5047
bzr 1.2 2008-02-15
 
5048
##################
 
5049
 
 
5050
Bug Fixes
 
5051
*********
 
5052
 
 
5053
* Fix failing test in Launchpad plugin. (Martin Pool)
 
5054
 
 
5055
 
 
5056
bzr 1.2rc1 2008-02-13
 
5057
#####################
 
5058
 
 
5059
Notes When Upgrading
 
5060
********************
 
5061
 
 
5062
* Fetching via the smart protocol may need to reconnect once during a fetch
 
5063
  if the remote server is running Bazaar 1.1 or earlier, because the client
 
5064
  attempts to use more efficient requests that confuse older servers.  You
 
5065
  may be required to re-enter a password or passphrase when this happens.
 
5066
  This won't happen if the server is upgraded to Bazaar 1.2.
 
5067
  (Andrew Bennetts)
 
5068
 
 
5069
Changes
 
5070
*******
 
5071
 
 
5072
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
5073
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
5074
 
 
5075
* Formatting of ``bzr plugins`` output is changed to be more human-
 
5076
  friendly. Full path of plugins locations will be shown only with
 
5077
  ``--verbose`` command-line option. (Alexander Belchenko)
 
5078
 
 
5079
* ``merge`` now prefers to use the submit branch, but will fall back to
 
5080
  parent branch.  For many users, this has no effect.  But some users who
 
5081
  pull and merge on the same branch will notice a change.  This change
 
5082
  makes it easier to work on a branch on two different machines, pulling
 
5083
  between the machines, while merging from the upstream.
 
5084
  ``merge --remember`` can now be used to set the submit_branch.
 
5085
  (Aaron Bentley)
 
5086
 
 
5087
Features
 
5088
********
 
5089
 
 
5090
* ``merge --preview`` produces a diff of the changes merge would make,
 
5091
  but does not actually perform the merge.  (Aaron Bentley)
 
5092
 
 
5093
* New smart method ``Repository.get_parent_map`` for getting revision
 
5094
  parent data. This returns additional parent information topologically
 
5095
  adjacent to the requested data to reduce round trip latency impacts.
 
5096
  (Robert Collins)
 
5097
 
 
5098
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
5099
  revision data that streams revision data via a chunked encoding.  This
 
5100
  avoids buffering large amounts of revision data on the server and on the
 
5101
  client, and sends less data to the server to request the revisions.
 
5102
  (Andrew Bennetts, Robert Collins, #178353)
 
5103
 
 
5104
* The launchpad plugin now handles lp urls of the form
 
5105
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
5106
  launchpad instance to do the resolution of the branch identities.
 
5107
  This is primarily of use to Launchpad developers, but can also
 
5108
  be used by other users who want to try out Launchpad as
 
5109
  a branch location without messing up their public Launchpad
 
5110
  account.  Branches that are pushed to the staging environment
 
5111
  have an expected lifetime of one day. (Tim Penhey)
 
5112
 
 
5113
Improvements
 
5114
************
 
5115
 
 
5116
* Creating a new branch no longer tries to read the entire revision-history
 
5117
  unnecessarily over smart server operations. (Robert Collins)
 
5118
 
 
5119
* Fetching between different repository formats with compatible models now
 
5120
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
5121
 
 
5122
* The ``--coverage`` option is now global, rather specific to ``bzr
 
5123
  selftest``.  (Andrew Bennetts)
 
5124
 
 
5125
* The ``register-branch`` command will now use the public url of the branch
 
5126
  containing the current directory, if one has been set and no explicit
 
5127
  branch is provided.  (Robert Collins)
 
5128
 
 
5129
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
5130
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
5131
  (John Arbash Meinel)
 
5132
 
 
5133
Bugfixes
 
5134
********
 
5135
 
 
5136
* Calculate remote path relative to the shared medium in _SmartClient.  This
 
5137
  is related to the problem in bug #124089.  (Andrew Bennetts)
 
5138
 
 
5139
* Cleanly handle connection errors in smart protocol version two, the same
 
5140
  way as they are handled by version one.  (Andrew Bennetts)
 
5141
 
 
5142
* Clearer error when ``version-info --custom`` is used without
 
5143
  ``--template`` (Lukáš Lalinský)
 
5144
 
 
5145
* Don't raise UnavailableFeature during test setup when medusa is not
 
5146
  available or tearDown is never called leading to nasty side effects.
 
5147
  (#137823, Vincent Ladeuil)
 
5148
 
 
5149
* If a plugin's test suite cannot be loaded, for example because of a syntax
 
5150
  error in the tests, then ``selftest`` fails, rather than just printing
 
5151
  a warning.  (Martin Pool, #189771)
 
5152
 
 
5153
* List possible values for BZR_SSH environment variable in env-variables
 
5154
  help topic. (Alexander Belchenko, #181842)
 
5155
 
 
5156
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
5157
  popping the log redirection now precisely restores the previous state,
 
5158
  which makes it easier to use bzr log output from other programs.
 
5159
  TestCaseInTempDir no longer depends on a log redirection being established
 
5160
  by the test framework, which lets bzr tests cleanly run from a normal
 
5161
  unittest runner.
 
5162
  (#124153, #124849, Martin Pool, Jonathan Lange)
 
5163
 
 
5164
* ``pull --quiet`` is now more quiet, in particular a message is no longer
 
5165
  printed when the remembered pull location is used. (James Westby,
 
5166
  #185907)
 
5167
 
 
5168
* ``reconfigure`` can safely be interrupted while fetching.
 
5169
  (Aaron Bentley, #179316)
 
5170
 
 
5171
* ``reconfigure`` preserves tags when converting to and from lightweight
 
5172
  checkouts.  (Aaron Bentley, #182040)
 
5173
 
 
5174
* Stop polluting /tmp when running selftest.
 
5175
  (Vincent Ladeuil, #123363)
 
5176
 
 
5177
* Switch from NFKC => NFC for normalization checks. NFC allows a few
 
5178
  more characters which should be considered valid.
 
5179
  (John Arbash Meinel, #185458)
 
5180
 
 
5181
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
5182
  interacting badly with a bug on the launchpad side. (Robert Collins)
 
5183
 
 
5184
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
5185
  tracebacks.  (Andrew Bennetts, #182849)
 
5186
 
 
5187
API Breaks
 
5188
**********
 
5189
 
 
5190
* Classes implementing Merge types like Merge3Merger must now accept (and
 
5191
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
5192
 
 
5193
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
5194
  to previously take a write lock (and start a write group.)
 
5195
  (Martin Pool)
 
5196
 
 
5197
Testing
 
5198
*******
 
5199
 
 
5200
* selftest now accepts --load-list <file> to load a test id list. This
 
5201
  speeds up running the test suite on a limited set of tests.
 
5202
  (Vincent Ladeuil)
 
5203
 
 
5204
Internals
 
5205
*********
 
5206
 
 
5207
* Add a new method ``get_result`` to graph search objects. The resulting
 
5208
  ``SearchResult`` can be used to recreate the search later, which will
 
5209
  be useful in reducing network traffic. (Robert Collins)
 
5210
 
 
5211
* Use convenience function to check whether two repository handles
 
5212
  are referring to the same repository in ``Repository.get_graph``.
 
5213
  (Jelmer Vernooij, #187162)
 
5214
 
 
5215
* Fetching now passes the find_ghosts flag through to the
 
5216
  ``InterRepository.missing_revision_ids`` call consistently for all
 
5217
  repository types. This will enable faster missing revision discovery with
 
5218
  bzr+ssh. (Robert Collins)
 
5219
 
 
5220
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
5221
 
 
5222
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
5223
  ``InterRepository.search_missing_revision_ids`` which returns a
 
5224
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
5225
  server. (Robert Collins)
 
5226
 
 
5227
* New error ``NoPublicBranch`` for commands that need a public branch to
 
5228
  operate. (Robert Collins)
 
5229
 
 
5230
* New method ``iter_inventories`` on Repository for access to many
 
5231
  inventories. This is primarily used by the ``revision_trees`` method, as
 
5232
  direct access to inventories is discouraged. (Robert Collins)
 
5233
 
 
5234
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
5235
  which will split out ghosts and present parents into two separate sets,
 
5236
  useful for code which needs to be aware of ghosts (e.g. fetching data
 
5237
  cares about ghosts during revision selection). (Robert Collins)
 
5238
 
 
5239
* Record a timestamp against each mutter to the trace file, relative to the
 
5240
  first import of bzrlib.  (Andrew Bennetts)
 
5241
 
 
5242
* ``Repository.get_data_stream`` is now deprecated in favour of
 
5243
  ``Repository.get_data_stream_for_search`` which allows less network
 
5244
  traffic when requesting data streams over a smart server. (Robert Collins)
 
5245
 
 
5246
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
5247
  removing one round trip on many network operations. (Robert Collins)
 
5248
 
 
5249
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
5250
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
5251
 
 
5252
* Repository has a new method ``has_revisions`` which signals the presence
 
5253
  of many revisions by returning a set of the revisions listed which are
 
5254
  present. This can be done by index queries without reading data for parent
 
5255
  revision names etc. (Robert Collins)
 
5256
 
 
5257
 
 
5258
bzr 1.1 2008-01-15
 
5259
##################
 
5260
 
 
5261
(no changes from 1.1rc1)
 
5262
 
 
5263
bzr 1.1rc1 2008-01-05
 
5264
#####################
 
5265
 
 
5266
Changes
 
5267
*******
 
5268
 
 
5269
* Dotted revision numbers have been revised. Instead of growing longer with
 
5270
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
5271
  we now report 1.2.1.) This helps scale long lived branches which have many
 
5272
  feature branches merged between them. (John Arbash Meinel)
 
5273
 
 
5274
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
5275
  Use ``bzr diff branch1 --new branch2`` instead. This change has
 
5276
  been made to remove the ambiguity where ``branch2`` is in fact a
 
5277
  specific file to diff within ``branch1``.
 
5278
 
 
5279
Features
 
5280
********
 
5281
 
 
5282
* New option to use custom template-based formats in  ``bzr version-info``.
 
5283
  (Lukáš Lalinský)
 
5284
 
 
5285
* diff '--using' allows an external diff tool to be used for files.
 
5286
  (Aaron Bentley)
 
5287
 
 
5288
* New "lca" merge-type for fast everyday merging that also supports
 
5289
  criss-cross merges.  (Aaron Bentley)
 
5290
 
 
5291
Improvements
 
5292
************
 
5293
 
 
5294
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
5295
  #90049)
 
5296
 
 
5297
* ``branch`` and ``checkout`` can now use files from a working tree to
 
5298
  to speed up the process.  For checkout, this requires the new
 
5299
  --files-from flag.  (Aaron Bentley)
 
5300
 
 
5301
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
5302
 
 
5303
* ``bzr diff`` now works on branches without working trees. Tree-less
 
5304
  branches can also be compared to each other and to working trees using
 
5305
  the new diff options ``--old`` and ``--new``. Diffing between branches,
 
5306
  with or without trees, now supports specific file filtering as well.
 
5307
  (Ian Clatworthy, #6700)
 
5308
 
 
5309
* ``bzr pack`` now orders revision texts in topological order, with newest
 
5310
  at the start of the file, promoting linear reads for ``bzr log`` and the
 
5311
  like. This partially fixes #154129. (Robert Collins)
 
5312
 
 
5313
* Merge directives now fetch prerequisites from the target branch if
 
5314
  needed.  (Aaron Bentley)
 
5315
 
 
5316
* pycurl now handles digest authentication.
 
5317
  (Vincent Ladeuil)
 
5318
 
 
5319
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
5320
 
 
5321
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
5322
 
 
5323
* ``merge`` now warns when merge directives cause cherrypicks.
 
5324
  (Aaron Bentley)
 
5325
 
 
5326
* ``split`` now supported, to enable splitting large trees into smaller
 
5327
  pieces.  (Aaron Bentley)
 
5328
 
 
5329
Bugfixes
 
5330
********
 
5331
 
 
5332
* Avoid AttributeError when unlocking a pack repository when an error occurs.
 
5333
  (Martin Pool, #180208)
 
5334
 
 
5335
* Better handle short reads when processing multiple range requests.
 
5336
  (Vincent Ladeuil, #179368)
 
5337
 
 
5338
* build_tree acceleration uses the correct path when a file has been moved.
 
5339
  (Aaron Bentley)
 
5340
 
 
5341
* ``commit`` now succeeds when a checkout and its master branch share a
 
5342
  repository.  (Aaron Bentley, #177592)
 
5343
 
 
5344
* Fixed error reporting of unsupported timezone format in
 
5345
  ``log --timezone``. (Lukáš Lalinský, #178722)
 
5346
 
 
5347
* Fixed Unicode encoding error in ``ignored`` when the output is
 
5348
  redirected to a pipe. (Lukáš Lalinský)
 
5349
 
 
5350
* Fix traceback when sending large response bodies over the smart protocol
 
5351
  on Windows. (Andrew Bennetts, #115781)
 
5352
 
 
5353
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
5354
  pointed to different logical drives on Windows.
 
5355
  (Alexander Belchenko, #90847)
 
5356
 
 
5357
* HTTP test servers are now compatible with the http protocol version 1.1.
 
5358
  (Vincent Ladeuil, #175524)
 
5359
 
 
5360
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
5361
  correctly, instead of erroring or attributing incorrect parents to ghosts.
 
5362
  (Aaron Bentley)
 
5363
 
 
5364
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
5365
 
 
5366
* pycurl authentication handling was broken and incomplete. Fix handling of
 
5367
  user:pass embedded in the urls.
 
5368
  (Vincent Ladeuil, #177643)
 
5369
 
 
5370
* Files inside non-directories are now handled like other conflict types.
 
5371
  (Aaron Bentley, #177390)
 
5372
 
 
5373
* ``reconfigure`` is able to convert trees into lightweight checkouts.
 
5374
  (Aaron Bentley)
 
5375
 
 
5376
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
5377
  #148087)
 
5378
 
 
5379
* Test that the old ``version_info_format`` functions still work, even
 
5380
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
5381
 
 
5382
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
5383
  #137681)
 
5384
 
 
5385
* ``uncommit`` works even when the commit messages of revisions to be
 
5386
  removed use characters not supported in the terminal encoding.
 
5387
  (Aaron Bentley)
 
5388
 
 
5389
* When dumb http servers return whole files instead of the requested ranges,
 
5390
  read the remaining bytes by chunks to avoid overflowing network buffers.
 
5391
  (Vincent Ladeuil, #175886)
 
5392
 
 
5393
Documentation
 
5394
*************
 
5395
 
 
5396
* Minor tweaks made to the bug tracker integration documentation.
 
5397
  (Ian Clatworthy)
 
5398
 
 
5399
* Reference material has now be moved out of the User Guide and added
 
5400
  to the User Reference. The User Reference has gained 4 sections as
 
5401
  a result: Authenication Settings, Configuration Settings, Conflicts
 
5402
  and Hooks. All help topics are now dumped into text format in the
 
5403
  doc/en/user-reference directory for those who like browsing that
 
5404
  information in their editor. (Ian Clatworthy)
 
5405
 
 
5406
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
5407
 
 
5408
Internals
 
5409
*********
 
5410
 
 
5411
* find_* methods available for BzrDirs, Branches and WorkingTrees.
 
5412
  (Aaron Bentley)
 
5413
 
 
5414
* Help topics can now be loaded from files.
 
5415
  (Ian Clatworthy, Alexander Belchenko)
 
5416
 
 
5417
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
5418
 
 
5419
* Parent Providers should now implement ``get_parent_map`` returning a
 
5420
  dictionary instead of ``get_parents`` returning a list.
 
5421
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
5422
  Robert Collins)
 
5423
 
 
5424
* Patience Diff now supports arbitrary python objects, as long as they
 
5425
  support ``hash()``. (John Arbash Meinel)
 
5426
 
 
5427
* Reduce selftest overhead to establish test names by memoization.
 
5428
  (Vincent Ladeuil)
 
5429
 
 
5430
API Breaks
 
5431
**********
 
5432
 
 
5433
Testing
 
5434
*******
 
5435
 
 
5436
* Modules can now customise their tests by defining a ``load_tests``
 
5437
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
5438
  for the documentation on this attribute. (Robert Collins)
 
5439
 
 
5440
* New helper function ``bzrlib.tests.condition_id_re`` which helps
 
5441
  filter tests based on a regular expression search on the tests id.
 
5442
  (Robert Collins)
 
5443
 
 
5444
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
5445
  filter tests based on class. (Robert Collins)
 
5446
 
 
5447
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
5448
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
5449
 
 
5450
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
5451
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
5452
 
 
5453
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
5454
  TestSuite that does not contain tests from the input that matched a
 
5455
  regular expression. (Robert Collins)
 
5456
 
 
5457
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
5458
  randomized copy of the input suite. (Robert Collins)
 
5459
 
 
5460
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
5461
  suite into two according to a regular expression. (Robert Collins)
 
5462
 
 
5463
* Parametrize all http tests for the transport implementations, the http
 
5464
  protocol versions (1.0 and 1.1) and the authentication schemes.
 
5465
  (Vincent Ladeuil)
 
5466
 
 
5467
* The ``exclude_pattern`` and ``random_order`` parameters to the function
 
5468
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
5469
 
 
5470
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
 
5471
  replaced by the new helper methods added in this release. (Robert Collins)
 
5472
 
 
5473
 
 
5474
bzr 1.0 2007-12-14
 
5475
##################
 
5476
 
 
5477
Documentation
 
5478
*************
 
5479
 
 
5480
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
5481
 
 
5482
* Add information on cherrypicking/rebasing to the User Guide.
 
5483
  (Ian Clatworthy)
 
5484
 
 
5485
* Improve bug tracker integration documentation. (Ian Clatworthy)
 
5486
 
 
5487
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
5488
  to the rebasing section of the User Guide from Aaron Bentley.
 
5489
  (Ian Clatworthy)
 
5490
 
 
5491
 
 
5492
bzr 1.0rc3 2007-12-11
 
5493
#####################
 
5494
 
 
5495
Changes
 
5496
*******
 
5497
 
 
5498
* If a traceback occurs, users are now asked to report the bug
 
5499
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
 
5500
  by mail to the mailing list.
 
5501
  (Martin Pool)
 
5502
 
 
5503
Bugfixes
 
5504
********
 
5505
 
 
5506
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
5507
 
 
5508
* Give more feedback during long http downloads by making readv deliver data
 
5509
  as it arrives for urllib, and issue more requests for pycurl. High latency
 
5510
  networks are better handled by urllib, the pycurl implementation give more
 
5511
  feedback but also incur more latency.
 
5512
  (Vincent Ladeuil, #173010)
 
5513
 
 
5514
* Implement _make_parents_provider on RemoteRepository, allowing generating
 
5515
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
5516
 
 
5517
Documentation
 
5518
*************
 
5519
 
 
5520
* Improved user guide.  (Ian Clatworthy)
 
5521
 
 
5522
* The single-page quick reference guide is now available as a PDF.
 
5523
  (Ian Clatworthy)
 
5524
 
 
5525
Internals
 
5526
*********
 
5527
 
 
5528
* readv urllib http implementation is now a real iterator above the
 
5529
  underlying socket and deliver data as soon as it arrives. 'get' still
 
5530
  wraps its output in a StringIO.
 
5531
  (Vincent Ladeuil)
 
5532
 
 
5533
 
 
5534
bzr 1.0rc2 2007-12-07
 
5535
#####################
 
5536
 
 
5537
Improvements
 
5538
************
 
5539
 
 
5540
* Added a --coverage option to selftest. (Andrew Bennetts)
 
5541
 
 
5542
* Annotate merge (merge-type=weave) now supports cherrypicking.
 
5543
  (Aaron Bentley)
 
5544
 
 
5545
* ``bzr commit`` now doesn't print the revision number twice. (Matt
 
5546
  Nordhoff, #172612)
 
5547
 
 
5548
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
5549
  define locations of bug trackers that are not directly supported by
 
5550
  bzr or a plugin. The URL will be treated as a template and ``{id}``
 
5551
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
5552
 
 
5553
* Support logging single merge revisions with short and line log formatters.
 
5554
  (Kent Gibson)
 
5555
 
 
5556
* User Guide enhanced with suggested readability improvements from
 
5557
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
5558
 
 
5559
* Quick Start Guide renamed to Quick Start Card, moved down in
 
5560
  the catalog, provided in pdf and png format and updated to refer
 
5561
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
5562
 
 
5563
* ``switch`` can now be used on heavyweight checkouts as well as
 
5564
  lightweight ones. After switching a heavyweight checkout, the
 
5565
  local branch is a mirror/cache of the new bound branch and
 
5566
  uncommitted changes in the working tree are merged. As a safety
 
5567
  check, if there are local commits in a checkout which have not
 
5568
  been committed to the previously bound branch, then ``switch``
 
5569
  fails unless the ``--force`` option is given. This option is
 
5570
  now also required if the branch a lightweight checkout is pointing
 
5571
  to has been moved. (Ian Clatworthy)
 
5572
 
 
5573
Internals
 
5574
*********
 
5575
 
 
5576
* New -Dhttp debug option reports http connections, requests and responses.
 
5577
  (Vincent Ladeuil)
 
5578
 
 
5579
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
5580
 
 
5581
Bugfixes
 
5582
********
 
5583
 
 
5584
* Better error message when running ``bzr cat`` on a non-existant branch.
 
5585
  (Lukáš Lalinský, #133782)
 
5586
 
 
5587
* Catch OSError 17 (file exists) in final phase of tree transform and show
 
5588
  filename to user.
 
5589
  (Alexander Belchenko, #111758)
 
5590
 
 
5591
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
5592
  allowing multiple GET requests to be issued if too many ranges are
 
5593
  required.
 
5594
  (Vincent Ladeuil, #172701)
 
5595
 
 
5596
* Check for missing basis texts when fetching from packs to packs.
 
5597
  (John Arbash Meinel, #165290)
 
5598
 
 
5599
* Fall back to showing e-mail in ``log --short/--line`` if the
 
5600
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
5601
 
 
5602
API Breaks
 
5603
**********
 
5604
 
 
5605
* Deprecate not passing a ``location`` argument to commit reporters'
 
5606
  ``started`` methods. (Matt Nordhoff)
 
5607
 
 
5608
 
 
5609
bzr 1.0rc1 2007-11-30
 
5610
#####################
 
5611
 
 
5612
Notes When Upgrading
 
5613
********************
 
5614
 
 
5615
* The default repository format is now ``pack-0.92``.  This
 
5616
  default is used when creating new repositories with ``init`` and
 
5617
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
 
5618
  (See https://bugs.launchpad.net/bugs/164626)
 
5619
 
 
5620
  This format can be read and written by Bazaar 0.92 and later, and
 
5621
  data can be transferred to and from older formats.
 
5622
 
 
5623
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
5624
  upgrade (``bzr upgrade``).
 
5625
 
 
5626
  ``pack-0.92`` offers substantially better scaling and performance than the
 
5627
  previous knits format. Some operations are slower where the code already
 
5628
  had bad scaling characteristics under knits, the pack format makes such
 
5629
  operations more visible as part of being more scalable overall. We will
 
5630
  correct such operations over the coming releases and encourage the filing
 
5631
  of bugs on any operation which you observe to be slower in a packs
 
5632
  repository. One particular case that we do not intend to fix is pulling
 
5633
  data from a pack repository into a knit repository over a high latency
 
5634
  link;  downgrading such data requires reinsertion of the file texts, and
 
5635
  this is a classic space/time tradeoff. The current implementation is
 
5636
  conservative on memory usage because we need to support converting data
 
5637
  from any tree without problems.
 
5638
  (Robert Collins, Martin Pool, #164476)
 
5639
 
 
5640
Changes
 
5641
*******
 
5642
 
 
5643
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
5644
  still available if user selects it explicitly with BZR_SSH environment
 
5645
  variable. (Alexander Belchenko, workaround for bug #107593)
 
5646
 
 
5647
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
 
5648
  to enable the subtree functions (for example, for bzr-svn).
 
5649
  (Martin Pool)
 
5650
 
 
5651
Features
 
5652
********
 
5653
 
 
5654
* New ``authentication.conf`` file holding the password or other credentials
 
5655
  for remote servers. This can be used for ssh, sftp, smtp and other
 
5656
  supported transports.
 
5657
  (Vincent Ladeuil)
 
5658
 
 
5659
* New rich-root and rich-root-pack formats, recording the same data about
 
5660
  tree roots that's recorded for all other directories.
 
5661
  (Aaron Bentley, #164639)
 
5662
 
 
5663
* ``pack-0.92`` repositories can now be reconciled.
 
5664
  (Robert Collins, #154173)
 
5665
 
 
5666
* ``switch`` command added for changing the branch a lightweight checkout
 
5667
  is associated with and updating the tree to reflect the latest content
 
5668
  accordingly. This command was previously part of the BzrTools plug-in.
 
5669
  (Ian Clatworthy, Aaron Bentley, David Allouche)
 
5670
 
 
5671
* ``reconfigure`` command can now convert branches, trees, or checkouts to
 
5672
  lightweight checkouts.  (Aaron Bentley)
 
5673
 
 
5674
Performance
 
5675
***********
 
5676
 
 
5677
* Commit updates the state of the working tree via a delta rather than
 
5678
  supplying entirely new basis trees. For commit of a single specified file
 
5679
  this reduces the wall clock time for commit by roughly a 30%.
 
5680
  (Robert Collins, Martin Pool)
 
5681
 
 
5682
* Commit with many automatically found deleted paths no longer performs
 
5683
  linear scanning for the children of those paths during inventory
 
5684
  iteration. This should fix commit performance blowing out when many such
 
5685
  paths occur during commit. (Robert Collins, #156491)
 
5686
 
 
5687
* Fetch with pack repositories will no longer read the entire history graph.
 
5688
  (Robert Collins, #88319)
 
5689
 
 
5690
* Revert takes out an appropriate lock when reverting to a basis tree, and
 
5691
  does not read the basis inventory twice. (Robert Collins)
 
5692
 
 
5693
* Diff does not require an inventory to be generated on dirstate trees.
 
5694
  (Aaron Bentley, #149254)
 
5695
 
 
5696
* New annotate merge (--merge-type=weave) implementation is fast on
 
5697
  versionedfiles withough cached annotations, e.g. pack-0.92.
 
5698
  (Aaron Bentley)
 
5699
 
 
5700
Improvements
 
5701
************
 
5702
 
 
5703
* ``bzr merge`` now warns when it encounters a criss-cross merge.
 
5704
  (Aaron Bentley)
 
5705
 
 
5706
* ``bzr send`` now doesn't require the target e-mail address to be
 
5707
  specified on the command line if an interactive e-mail client is used.
 
5708
  (Lukáš Lalinský)
 
5709
 
 
5710
* ``bzr tags`` now prints the revision number for each tag, instead of
 
5711
  the revision id, unless --show-ids is passed. In addition, tags can be
 
5712
  sorted chronologically instead of lexicographically with --sort=time.
 
5713
  (Adeodato Simó, #120231)
 
5714
 
 
5715
* Windows standalone version of bzr is able to load system-wide plugins from
 
5716
  "plugins" subdirectory in installation directory. In addition standalone
 
5717
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
 
5718
  about paths and bzr version. (Alexander Belchenko, #129298)
 
5719
 
 
5720
Documentation
 
5721
*************
 
5722
 
 
5723
Bug Fixes
 
5724
*********
 
5725
 
 
5726
* A progress bar has been added for knitpack -> knitpack fetching.
 
5727
  (Robert Collins, #157789, #159147)
 
5728
 
 
5729
* Branching from a branch via smart server now preserves the repository
 
5730
  format. (Andrew Bennetts,  #164626)
 
5731
 
 
5732
* ``commit`` is now able to invoke an external editor in a non-ascii
 
5733
  directory. (Daniel Watkins, #84043)
 
5734
 
 
5735
* Catch connection errors for ftp.
 
5736
  (Vincent Ladeuil, #164567)
 
5737
 
 
5738
* ``check`` no longer reports spurious unreferenced text versions.
 
5739
  (Robert Collins, John A Meinel, #162931, #165071)
 
5740
 
 
5741
* Conflicts are now resolved recursively by ``revert``.
 
5742
  (Aaron Bentley, #102739)
 
5743
 
 
5744
* Detect invalid transport reuse attempts by catching invalid URLs.
 
5745
  (Vincent Ladeuil, #161819)
 
5746
 
 
5747
* Deleting a file without removing it shows a correct diff, not a traceback.
 
5748
  (Aaron Bentley)
 
5749
 
 
5750
* Do no use timeout in HttpServer anymore.
 
5751
  (Vincent Ladeuil, #158972).
 
5752
 
 
5753
* Don't catch the exceptions related to the http pipeline status before
 
5754
  retrying an http request or some programming errors may be masked.
 
5755
  (Vincent Ladeuil, #160012)
 
5756
 
 
5757
* Fix ``bzr rm`` to not delete modified and ignored files.
 
5758
  (Lukáš Lalinský, #172598)
 
5759
 
 
5760
* Fix exception when revisionspec contains merge revisons but log
 
5761
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
5762
 
 
5763
* Fix exception when ScopeReplacer is assigned to before any members have
 
5764
  been retrieved.  (Aaron Bentley)
 
5765
 
 
5766
* Fix multiple connections during checkout --lightweight.
 
5767
  (Vincent Ladeuil, #159150)
 
5768
 
 
5769
* Fix possible error in insert_data_stream when copying between
 
5770
  pack repositories over bzr+ssh or bzr+http.
 
5771
  KnitVersionedFile.get_data_stream now makes sure that requested
 
5772
  compression parents are sent before any delta hunks that depend
 
5773
  on them.
 
5774
  (Martin Pool, #164637)
 
5775
 
 
5776
* Fix typo in limiting offsets coalescing for http, leading to
 
5777
  whole files being downloaded instead of parts.
 
5778
  (Vincent Ladeuil, #165061)
 
5779
 
 
5780
* FTP server errors don't error in the error handling code.
 
5781
  (Robert Collins, #161240)
 
5782
 
 
5783
* Give a clearer message when a pull fails because the source needs
 
5784
  to be reconciled.
 
5785
  (Martin Pool, #164443)
 
5786
 
 
5787
* It is clearer when a plugin cannot be loaded because of its name, and a
 
5788
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
5789
 
 
5790
* Leave port as None in transport objects if user doesn't
 
5791
  specify a port in urls.
 
5792
  (vincent Ladeuil, #150860)
 
5793
 
 
5794
* Make sure Repository.fetch(self) is properly a no-op for all
 
5795
  Repository implementations. (John Arbash Meinel, #158333)
 
5796
 
 
5797
* Mark .bzr directories as "hidden" on Windows.
 
5798
  (Alexander Belchenko, #71147)
 
5799
 
 
5800
* ``merge --uncommitted`` can now operate on a single file.
 
5801
  (Aaron Bentley, Lukáš Lalinský, #136890)
 
5802
 
 
5803
* Obsolete packs are now cleaned up by pack and autopack operations.
 
5804
  (Robert Collins, #153789)
 
5805
 
 
5806
* Operations pulling data from a smart server where the underlying
 
5807
  repositories are not both annotated/both unannotated will now work.
 
5808
  (Robert Collins, #165304).
 
5809
 
 
5810
* Reconcile now shows progress bars. (Robert Collins, #159351)
 
5811
 
 
5812
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
5813
  properly. (John Arbash Meinel, #162486)
 
5814
 
 
5815
* Removing an already-removed file reports the file does not exist. (Daniel
 
5816
  Watkins, #152811)
 
5817
 
 
5818
* Rename on Windows is able to change filename case.
 
5819
  (Alexander Belchenko, #77740)
 
5820
 
 
5821
* Return error instead of a traceback for ``bzr log -r0``.
 
5822
  (Kent Gibson, #133751)
 
5823
 
 
5824
* Return error instead of a traceback when bzr is unable to create
 
5825
  symlink on some platforms (e.g. on Windows).
 
5826
  (Alexander Belchenko, workaround for #81689)
 
5827
 
 
5828
* Revert doesn't crash when restoring a single file from a deleted
 
5829
  directory. (Aaron Bentley)
 
5830
 
 
5831
* Stderr output via logging mechanism now goes through encoded wrapper
 
5832
  and no more uses utf-8, but terminal encoding instead. So all unicode
 
5833
  strings now should be readable in non-utf-8 terminal.
 
5834
  (Alexander Belchenko, #54173)
 
5835
 
 
5836
* The error message when ``move --after`` should be used makes how to do so
 
5837
  clearer. (Daniel Watkins, #85237)
 
5838
 
 
5839
* Unicode-safe output from ``bzr info``. The output will be encoded
 
5840
  using the terminal encoding and unrepresentable characters will be
 
5841
  replaced by '?'. (Lukáš Lalinský, #151844)
 
5842
 
 
5843
* Working trees are no longer created when pushing into a local no-trees
 
5844
  repo. (Daniel Watkins, #50582)
 
5845
 
 
5846
* Upgrade util/configobj to version 4.4.0.
 
5847
  (Vincent Ladeuil, #151208).
 
5848
 
 
5849
* Wrap medusa ftp test server as an FTPServer feature.
 
5850
  (Vincent Ladeuil, #157752)
 
5851
 
 
5852
API Breaks
 
5853
**********
 
5854
 
 
5855
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
5856
  during very long time. (Alexander Belchenko)
 
5857
 
 
5858
* The return value of
 
5859
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
5860
  changed. Previously it was an iterator of lines, now it is an iterator of
 
5861
  (line, version_id) tuples. This change has been made to aid reconcile and
 
5862
  fetch operations. (Robert Collins)
 
5863
 
 
5864
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
5865
  (Robert Collins)
 
5866
 
 
5867
* The Repository format registry default has been removed; it was previously
 
5868
  obsoleted by the bzrdir format default, which implies a default repository
 
5869
  format.
 
5870
  (Martin Pool)
 
5871
 
 
5872
Internals
 
5873
*********
 
5874
 
 
5875
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
5876
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
5877
  and parsing containers from streams rather than from files.  (Andrew
 
5878
  Bennetts)
 
5879
 
 
5880
* New module ``lru_cache`` providing a cache for use by tasks that need
 
5881
  semi-random access to large amounts of data. (John A Meinel)
 
5882
 
 
5883
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
5884
 
 
5885
 
 
5886
bzr 0.92 2007-11-05
 
5887
###################
 
5888
 
 
5889
Changes
 
5890
*******
 
5891
 
 
5892
  * New uninstaller on Win32.  (Alexander Belchenko)
 
5893
 
 
5894
 
 
5895
bzr 0.92rc1 2007-10-29
 
5896
######################
 
5897
 
 
5898
Changes
 
5899
*******
 
5900
 
 
5901
* ``bzr`` now returns exit code 4 if an internal error occurred, and
 
5902
  3 if a normal error occurred.  (Martin Pool)
 
5903
 
 
5904
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
5905
  repository index errors that occured as a result of the Weave disk format.
 
5906
  Instead the ``reconcile`` command needs to be run to correct those
 
5907
  problems if they exist (and it has been able to fix most such problems
 
5908
  since bzr 0.8). Some new problems have been identified during this release
 
5909
  and you should run ``bzr check`` once on every repository to see if you
 
5910
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
5911
  repository due to mismatched parent errors - a symptom of index errors -
 
5912
  you should simply take a full copy of that remote repository to a clean
 
5913
  directory outside any local repositories, then run reconcile on it, and
 
5914
  finally pull from it locally. (And naturally email the repositories owner
 
5915
  to ask them to upgrade and run reconcile).
 
5916
  (Robert Collins)
 
5917
 
 
5918
Features
 
5919
********
 
5920
 
 
5921
* New ``knitpack-experimental`` repository format. This is interoperable with
 
5922
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
5923
  speeds up many operations, both local and remote. This new format can be
 
5924
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
5925
  commands. (Robert Collins)
 
5926
 
 
5927
* For users of bzr-svn (and those testing the prototype subtree support) that
 
5928
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
5929
  been added. This is interoperable with the ``dirstate-subtrees`` format.
 
5930
  (Robert Collins)
 
5931
 
 
5932
* New ``reconfigure`` command. (Aaron Bentley)
 
5933
 
 
5934
* New ``revert --forget-merges`` command, which removes the record of a pending
 
5935
  merge without affecting the working tree contents.  (Martin Pool)
 
5936
 
 
5937
* New ``bzr_remote_path`` configuration variable allows finer control of
 
5938
  remote bzr locations than BZR_REMOTE_PATH environment variable.
 
5939
  (Aaron Bentley)
 
5940
 
 
5941
* New ``launchpad-login`` command to tell Bazaar your Launchpad
 
5942
  user ID.  This can then be used by other functions of the
 
5943
  Launchpad plugin. (James Henstridge)
 
5944
 
 
5945
Performance
 
5946
***********
 
5947
 
 
5948
* Commit in quiet mode is now slightly faster as the information to
 
5949
  output is no longer calculated. (Ian Clatworthy)
 
5950
 
 
5951
* Commit no longer checks for new text keys during insertion when the
 
5952
  revision id was deterministically unique. (Robert Collins)
 
5953
 
 
5954
* Committing a change which is not a merge and does not change the number of
 
5955
  files in the tree is faster by utilising the data about whether files are
 
5956
  changed to determine if the tree is unchanged rather than recalculating
 
5957
  it at the end of the commit process. (Robert Collins)
 
5958
 
 
5959
* Inventory serialisation no longer double-sha's the content.
 
5960
  (Robert Collins)
 
5961
 
 
5962
* Knit text reconstruction now avoids making copies of the lines list for
 
5963
  interim texts when building a single text. The new ``apply_delta`` method
 
5964
  on ``KnitContent`` aids this by allowing modification of the revision id
 
5965
  such objects represent. (Robert Collins)
 
5966
 
 
5967
* Pack indices are now partially parsed for specific key lookup using a
 
5968
  bisection approach. (Robert Collins)
 
5969
 
 
5970
* Partial commits are now approximately 40% faster by walking over the
 
5971
  unselected current tree more efficiently. (Robert Collins)
 
5972
 
 
5973
* XML inventory serialisation takes 20% less time while being stricter about
 
5974
  the contents. (Robert Collins)
 
5975
 
 
5976
* Graph ``heads()`` queries have been fixed to no longer access all history
 
5977
  unnecessarily. (Robert Collins)
 
5978
 
 
5979
Improvements
 
5980
************
 
5981
 
 
5982
* ``bzr+https://`` smart server across https now supported.
 
5983
  (John Ferlito, Martin Pool, #128456)
 
5984
 
 
5985
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
5986
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
5987
 
 
5988
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
 
5989
  changes from one revision. (Alexander Belchenko, #141368)
 
5990
 
 
5991
* Show encodings, locale and list of plugins in the traceback message.
 
5992
  (Martin Pool, #63894)
 
5993
 
 
5994
* Experimental directory formats can now be marked with
 
5995
  ``experimental = True`` during registration. (Ian Clatworthy)
 
5996
 
 
5997
Documentation
 
5998
*************
 
5999
 
 
6000
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
6001
 
 
6002
* The hooks reference documentation is now converted to html as expected.
 
6003
  (Ian Clatworthy)
 
6004
 
 
6005
Bug Fixes
 
6006
*********
 
6007
 
 
6008
* Connection error reporting for the smart server has been fixed to
 
6009
  display a user friendly message instead of a traceback.
 
6010
  (Ian Clatworthy, #115601)
 
6011
 
 
6012
* Make sure to use ``O_BINARY`` when opening files to check their
 
6013
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
6014
 
 
6015
* Fix a problem with Win32 handling of the executable bit.
 
6016
  (John Arbash Meinel, #149113)
 
6017
 
 
6018
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
6019
  no longer assume that means port 22.  This allows people using OpenSSH to
 
6020
  override the default port in their ``~/.ssh/config`` if they wish.  This
 
6021
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
6022
 
 
6023
* Commands reporting exceptions can now be profiled and still have their
 
6024
  data correctly dumped to a file. For example, a ``bzr commit`` with
 
6025
  no changes still reports the operation as pointless but doing so no
 
6026
  longer throws away the profiling data if this command is run with
 
6027
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
6028
 
 
6029
* Fallback to ftp when paramiko is not installed and sftp can't be used for
 
6030
  ``tests/commands`` so that the test suite is still usable without
 
6031
  paramiko.
 
6032
  (Vincent Ladeuil, #59150)
 
6033
 
 
6034
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
6035
 
 
6036
* Fix long standing bug in partial commit when there are renames
 
6037
  left in tree. (Robert Collins, #140419)
 
6038
 
 
6039
* Fix selftest semi-random noise during http related tests.
 
6040
  (Vincent Ladeuil, #140614)
 
6041
 
 
6042
* Fix typo in ftp.py making the reconnection fail on temporary errors.
 
6043
  (Vincent Ladeuil, #154259)
 
6044
 
 
6045
* Fix failing test by comparing real paths to cover the case where the TMPDIR
 
6046
  contains a symbolic link.
 
6047
  (Vincent Ladeuil, #141382).
 
6048
 
 
6049
* Fix log against smart server branches that don't support tags.
 
6050
  (James Westby, #140615)
 
6051
 
 
6052
* Fix pycurl http implementation by defining error codes from
 
6053
  pycurl instead of relying on an old curl definition.
 
6054
  (Vincent Ladeuil, #147530)
 
6055
 
 
6056
* Fix 'unprintable error' message when displaying BzrCheckError and
 
6057
  some other exceptions on Python 2.5.
 
6058
  (Martin Pool, #144633)
 
6059
 
 
6060
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
6061
 
 
6062
* Handles default value for ListOption in cmd_commit.
 
6063
  (Vincent Ladeuil, #140432)
 
6064
 
 
6065
* HttpServer and FtpServer need to be closed properly or a listening socket
 
6066
  will remain opened.
 
6067
  (Vincent Ladeuil, #140055)
 
6068
 
 
6069
* Monitor the .bzr directory created in the top level test
 
6070
  directory to detect leaking tests.
 
6071
  (Vincent Ladeuil, #147986)
 
6072
 
 
6073
* The basename, not the full path, is now used when checking whether
 
6074
  the profiling dump file begins with ``callgrind.out`` or not. This
 
6075
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
6076
 
 
6077
* Trivial fix for invoking command ``reconfigure`` without arguments.
 
6078
  (Rob Weir, #141629)
 
6079
 
 
6080
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
6081
  new path causes bzr to be unable to access the file. (Robert Collins)
 
6082
 
 
6083
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
6084
  Merwe)
 
6085
 
 
6086
API Breaks
 
6087
**********
 
6088
 
 
6089
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
6090
  constructor, for enabling bisection searches. (Robert Collins)
 
6091
 
 
6092
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
6093
  tree be supplied to it, previously failing to do so would trigger a
 
6094
  deprecation warning. (Robert Collins)
 
6095
 
 
6096
* ``KnitVersionedFile.add*`` will no longer cache added records even when
 
6097
  enable_cache() has been called - the caching feature is now exclusively for
 
6098
  reading existing data. (Robert Collins)
 
6099
 
 
6100
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
 
6101
  appropriate.  (Martin Pool)
 
6102
 
 
6103
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
6104
  ``trace+`` transport instead. (Robert Collins)
 
6105
 
 
6106
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
6107
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
6108
  (Martin Pool)
 
6109
 
 
6110
* Removed previous deprecated ``basis_knit`` parameter to the
 
6111
  ``KnitVersionedFile`` constructor. (Robert Collins)
 
6112
 
 
6113
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
 
6114
  class that needs it.
 
6115
  (Martin Pool)
 
6116
 
 
6117
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
6118
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
6119
 
 
6120
* The ``VersionedFile`` interface now allows content checks to be bypassed
 
6121
  by supplying check_content=False.  This saves nearly 30% of the minimum
 
6122
  cost to store a version of a file. (Robert Collins)
 
6123
 
 
6124
* Tree's with bad state such as files with no length or sha will no longer
 
6125
  be silently accepted by the repository XML serialiser. To serialise
 
6126
  inventories without such data, pass working=True to write_inventory.
 
6127
  (Robert Collins)
 
6128
 
 
6129
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
6130
  ``VersionedFile.join`` will no longer accept different parents on either
 
6131
  side of a join - it will either ignore them, or error, depending on the
 
6132
  implementation. See notes when upgrading for more information.
 
6133
  (Robert Collins)
 
6134
 
 
6135
Internals
 
6136
*********
 
6137
 
 
6138
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
6139
  put by the method call, to allow avoiding stat-after-write or
 
6140
  housekeeping in callers. (Robert Collins)
 
6141
 
 
6142
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
6143
  mandatory attributes are present on serialisation and deserialisation.
 
6144
  This fixes some holes in API usage and allows better separation between
 
6145
  physical storage and object serialisation. (Robert Collins)
 
6146
 
 
6147
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
6148
  shorthand for deriving from BzrError and setting internal_error = True.
 
6149
  (Robert Collins)
 
6150
 
 
6151
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
6152
  moving the state of a parent tree to a new version via a delta rather than
 
6153
  a complete replacement tree. (Robert Collins)
 
6154
 
 
6155
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
6156
  duplication from user input, when a user mentions both a path and an item
 
6157
  contained within that path. (Robert Collins)
 
6158
 
 
6159
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
6160
  determining if a repository is write locked. (Robert Collins)
 
6161
 
 
6162
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
6163
  tuple containing the key information about a path for commit processing
 
6164
  to complete. (Robert Collins)
 
6165
 
 
6166
* New method on xml serialisers, write_inventory_to_lines, which matches the
 
6167
  API used by knits for adding content. (Robert Collins)
 
6168
 
 
6169
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
6170
  logic, currently only available for byte-based lookup
 
6171
  (``bisect_multi_bytes``). (Robert Collins)
 
6172
 
 
6173
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
6174
  and returns a gzipped version of the same. This is used to avoid a bunch
 
6175
  of api friction during adding of knit hunks. (Robert Collins)
 
6176
 
 
6177
* New parameter on ``bzrlib.transport.Transport.readv``
 
6178
  ``adjust_for_latency`` which changes readv from returning strictly the
 
6179
  requested data to inserted return larger ranges and in forward read order
 
6180
  to reduce the effect of network latency. (Robert Collins)
 
6181
 
 
6182
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
6183
  causes the parents of a selected id to be returned recursively, so all the
 
6184
  paths from the root down to each element of selected_file_ids are
 
6185
  returned. (Robert Collins)
 
6186
 
 
6187
* Knit joining has been enhanced to support plain to annotated conversion
 
6188
  and annotated to plain conversion. (Ian Clatworthy)
 
6189
 
 
6190
* The CommitBuilder method ``record_entry_contents`` now returns summary
 
6191
  information about the effect of the commit on the repository. This tuple
 
6192
  contains an inventory delta item if the entry changed from the basis, and a
 
6193
  boolean indicating whether a new file graph node was recorded.
 
6194
  (Robert Collins)
 
6195
 
 
6196
* The python path used in the Makefile can now be overridden.
 
6197
  (Andrew Bennetts, Ian Clatworthy)
 
6198
 
 
6199
Testing
 
6200
*******
 
6201
 
 
6202
* New transport implementation ``trace+`` which is useful for testing,
 
6203
  logging activity taken to its _activity attribute. (Robert Collins)
 
6204
 
 
6205
* When running bzr commands within the test suite, internal exceptions are
 
6206
  not caught and reported in the usual way, but rather allowed to propagate
 
6207
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
6208
  makes this behavior available to other users.
 
6209
  (Martin Pool)
 
6210
 
 
6211
* New method ``TestCase.call_catch_warnings`` for testing methods that
 
6212
  raises a Python warning.  (Martin Pool)
 
6213
 
 
6214
 
 
6215
bzr 0.91 2007-09-26
 
6216
###################
 
6217
 
 
6218
Bug Fixes
 
6219
*********
 
6220
 
 
6221
* Print a warning instead of aborting the ``python setup.py install``
 
6222
  process if building of a C extension is not possible.
 
6223
  (Lukáš Lalinský, Alexander Belchenko)
 
6224
 
 
6225
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
6226
 
 
6227
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
6228
  an implicit port.  We were incorrectly raising PathNotChild due to
 
6229
  inconsistent treatment of the ''_port'' attribute on the Transport object.
 
6230
  (Andrew Bennetts, #133965)
 
6231
 
 
6232
* Make RemoteRepository.sprout cope gracefully with servers that don't
 
6233
  support the ``Repository.tarball`` request.
 
6234
  (Andrew Bennetts)
 
6235
 
 
6236
 
 
6237
bzr 0.91rc2 2007-09-11
 
6238
######################
 
6239
 
 
6240
* Replaced incorrect tarball for previous release; a debug statement was left
 
6241
  in bzrlib/remote.py.
 
6242
 
 
6243
 
 
6244
bzr 0.91rc1 2007-09-11
 
6245
######################
 
6246
 
 
6247
Changes
 
6248
*******
 
6249
 
 
6250
* The default branch and repository format has changed to
 
6251
  ``dirstate-tags``, so tag commands are active by default.
 
6252
  This format is compatible with Bazaar 0.15 and later.
 
6253
  This incidentally fixes bug #126141.
 
6254
  (Martin Pool)
 
6255
 
 
6256
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
6257
  must now appear after the command name. Scripts doing things like
 
6258
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
6259
  (Ian Clatworthy)
 
6260
 
 
6261
Features
 
6262
********
 
6263
 
 
6264
* New option ``--author`` in ``bzr commit`` to specify the author of the
 
6265
  change, if it's different from the committer. ``bzr log`` and
 
6266
  ``bzr annotate`` display the author instead of the committer.
 
6267
  (Lukáš Lalinský)
 
6268
 
 
6269
* In addition to global options and command specific options, a set of
 
6270
  standard options are now supported. Standard options are legal for
 
6271
  all commands. The initial set of standard options are:
 
6272
 
 
6273
  * ``--help`` or ``-h`` - display help message
 
6274
  * ``--verbose`` or ``-v`` - display additional information
 
6275
  * ``--quiet``  or ``-q`` - only output warnings and errors.
 
6276
 
 
6277
  Unlike global options, standard options can be used in aliases and
 
6278
  may have command-specific help. (Ian Clatworthy)
 
6279
 
 
6280
* Verbosity level processing has now been unified. If ``--verbose``
 
6281
  or ``-v`` is specified on the command line multiple times, the
 
6282
  verbosity level is made positive the first time then increased.
 
6283
  If ``--quiet`` or ``-q`` is specified on the command line
 
6284
  multiple times, the verbosity level is made negative the first
 
6285
  time then decreased. To get the default verbosity level of zero,
 
6286
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
6287
  Note that most commands currently ignore the magnitude of the
 
6288
  verbosity level but do respect *quiet vs normal vs verbose* when
 
6289
  generating output. (Ian Clatworthy)
 
6290
 
 
6291
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
6292
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
6293
 
 
6294
* New ``Repository.stream_knit_data_for_revisions`` request added to the
 
6295
  network protocol for greatly reduced roundtrips when retrieving a set of
 
6296
  revisions. (Andrew Bennetts)
 
6297
 
 
6298
Bug Fixes
 
6299
*********
 
6300
 
 
6301
* ``bzr plugins`` now lists the version number for each plugin in square
 
6302
  brackets after the path. (Robert Collins, #125421)
 
6303
 
 
6304
* Pushing, pulling and branching branches with subtree references was not
 
6305
  copying the subtree weave, preventing the file graph from being accessed
 
6306
  and causing errors in commits in clones. (Robert Collins)
 
6307
 
 
6308
* Suppress warning "integer argument expected, got float" from Paramiko,
 
6309
  which sometimes caused false test failures.  (Martin Pool)
 
6310
 
 
6311
* Fix bug in bundle 4 that could cause attempts to write data to wrong
 
6312
  versionedfile.  (Aaron Bentley)
 
6313
 
 
6314
* Diffs generated using "diff -p" no longer break the patch parser.
 
6315
  (Aaron Bentley)
 
6316
 
 
6317
* get_transport treats an empty possible_transports list the same as a non-
 
6318
  empty one.  (Aaron Bentley)
 
6319
 
 
6320
* patch verification for merge directives is reactivated, and works with
 
6321
  CRLF and CR files.  (Aaron Bentley)
 
6322
 
 
6323
* Accept ..\ as a path in revision specifiers. This fixes for example
 
6324
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
 
6325
 
 
6326
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
6327
  (Blake Winton, #129299)
 
6328
 
 
6329
* man page no longer lists hidden options (#131667, Aaron Bentley)
 
6330
 
 
6331
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
6332
  Watkins, #106726)
 
6333
 
 
6334
* Error messages are now better formatted with parameters (such as
 
6335
  filenames) quoted when necessary. This avoids confusion when directory
 
6336
  names ending in a '.' at the end of messages were confused with a
 
6337
  full stop that may or not have been there. (Daniel Watkins, #129791)
 
6338
 
 
6339
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
6340
 
 
6341
* If a particular command is an alias, ``help`` will show the alias
 
6342
  instead of claiming there is no help for said alias. (Daniel Watkins,
 
6343
  #133548)
 
6344
 
 
6345
* TreeTransform-based operations, like pull, merge, revert, and branch,
 
6346
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
6347
 
 
6348
* ``bzr commit`` now exits cleanly if a character unsupported by the
 
6349
  current encoding is used in the commit message.  (Daniel Watkins,
 
6350
  #116143)
 
6351
 
 
6352
* bzr send uses default values for ranges when only half of an elipsis
 
6353
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
6354
 
 
6355
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
6356
  binary is present.  (Martin Albisetti, #107155)
 
6357
 
 
6358
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
6359
  needing ``--force``) subtrees that contain no files with text changes or
 
6360
  modified files.  With ``--force`` it removes the subtree regardless of
 
6361
  text changes or unknown files. Directories with renames in or out (but
 
6362
  not changed otherwise) will now be removed without needing ``--force``.
 
6363
  Unknown ignored files will be deleted without needing ``--force``.
 
6364
  (Marius Kruger, #111665)
 
6365
 
 
6366
* When two plugins conflict, the source of both the losing and now the
 
6367
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
6368
 
 
6369
* When committing to a branch, the location being committed to is
 
6370
  displayed.  (Daniel Watkins, #52479)
 
6371
 
 
6372
* ``bzr --version`` takes care about encoding of stdout, especially
 
6373
  when output is redirected. (Alexander Belchenko, #131100)
 
6374
 
 
6375
* Prompt for an ftp password if none is provided.
 
6376
  (Vincent Ladeuil, #137044)
 
6377
 
 
6378
* Reuse bound branch associated transport to avoid multiple
 
6379
  connections.
 
6380
  (Vincent Ladeuil, #128076, #131396)
 
6381
 
 
6382
* Overwrite conflicting tags by ``push`` and ``pull`` if the
 
6383
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
6384
 
 
6385
* In checkouts, tags are copied into the master branch when created,
 
6386
  changed or deleted, and are copied into the checkout when it is
 
6387
  updated.  (Martin Pool, #93856, #93860)
 
6388
 
 
6389
* Print a warning instead of aborting the ``python setup.py install``
 
6390
  process if building of a C extension is not possible.
 
6391
  (Lukáš Lalinský, Alexander Belchenko)
 
6392
 
 
6393
Improvements
 
6394
************
 
6395
 
 
6396
* Add the option "--show-diff" to the commit command in order to display
 
6397
  the diff during the commit log creation. (Goffredo Baroncelli)
 
6398
 
 
6399
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
6400
  (Aaron Bentley)
 
6401
 
 
6402
* ``pull -v`` no longer includes deltas, making it much faster.
 
6403
  (Aaron Bentley)
 
6404
 
 
6405
* ``send`` now sends the directive as an attachment by default.
 
6406
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
6407
 
 
6408
* Documentation updates (Martin Albisetti)
 
6409
 
 
6410
* Help on debug flags is now included in ``help global-options``.
 
6411
  (Daniel Watkins, #124853)
 
6412
 
 
6413
* Parameters passed on the command line are checked to ensure they are
 
6414
  supported by the encoding in use. (Daniel Watkins)
 
6415
 
 
6416
* The compression used within the bzr repository has changed from zlib
 
6417
  level 9 to the zlib default level. This improves commit performance with
 
6418
  only a small increase in space used (and in some cases a reduction in
 
6419
  space). (Robert Collins)
 
6420
 
 
6421
* Initial commit no longer SHAs files twice and now reuses the path
 
6422
  rather than looking it up again, making it faster.
 
6423
  (Ian Clatworthy)
 
6424
 
 
6425
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
6426
  changes in one revision.  (Lukáš Lalinský)
 
6427
 
 
6428
* If versioned files match a given ignore pattern, a warning is now
 
6429
  given. (Daniel Watkins, #48623)
 
6430
 
 
6431
* ``bzr status`` now has -S as a short name for --short and -V as a
 
6432
  short name for --versioned. These have been added to assist users
 
6433
  migrating from Subversion: ``bzr status -SV`` is now like
 
6434
  ``svn status -q``.  (Daniel Watkins, #115990)
 
6435
 
 
6436
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
6437
  10x faster than the Python version. This speeds up commands that
 
6438
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
6439
  (Lukáš Lalinský)
 
6440
 
 
6441
* HACKING has been extended with a large section on core developer tasks.
 
6442
  (Ian Clatworthy)
 
6443
 
 
6444
* Add ``branches`` and ``standalone-trees`` as online help topics and
 
6445
  include them as Concepts within the User Reference.
 
6446
  (Paul Moore, Ian Clatworthy)
 
6447
 
 
6448
* ``check`` can detect versionedfile parent references that are
 
6449
  inconsistent with revision and inventory info, and ``reconcile`` can fix
 
6450
  them.  These faulty references were generated by 0.8-era releases,
 
6451
  so repositories which were manipulated by old bzrs should be
 
6452
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
6453
 
 
6454
API Breaks
 
6455
**********
 
6456
 
 
6457
* ``Branch.append_revision`` is removed altogether; please use
 
6458
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
6459
 
 
6460
* CommitBuilder now advertises itself as requiring the root entry to be
 
6461
  supplied. This only affects foreign repository implementations which reuse
 
6462
  CommitBuilder directly and have changed record_entry_contents to require
 
6463
  that the root not be supplied. This should be precisely zero plugins
 
6464
  affected. (Robert Collins)
 
6465
 
 
6466
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
6467
  its return value to include the sha1 and length of the inserted text. This
 
6468
  allows the avoidance of double-sha1 calculations during commit.
 
6469
  (Robert Collins)
 
6470
 
 
6471
* ``Transport.should_cache`` has been removed.  It was not called in the
 
6472
  previous release.  (Martin Pool)
 
6473
 
 
6474
Testing
 
6475
*******
 
6476
 
 
6477
* Tests may now raise TestNotApplicable to indicate they shouldn't be
 
6478
  run in a particular scenario.  (Martin Pool)
 
6479
 
 
6480
* New function multiply_tests_from_modules to give a simpler interface
 
6481
  to test parameterization.  (Martin Pool, Robert Collins)
 
6482
 
 
6483
* ``Transport.should_cache`` has been removed.  It was not called in the
 
6484
  previous release.  (Martin Pool)
 
6485
 
 
6486
* NULL_REVISION is returned to indicate the null revision, not None.
 
6487
  (Aaron Bentley)
 
6488
 
 
6489
* Use UTF-8 encoded StringIO for log tests to avoid failures on
 
6490
  non-ASCII committer names.  (Lukáš Lalinský)
 
6491
 
 
6492
Internals
 
6493
*********
 
6494
 
 
6495
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
6496
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
6497
  useful functionality for determining the path of a plugin, its tests, and
 
6498
  its version information. (Robert Collins)
 
6499
 
 
6500
* Add the option user_encoding to the function 'show_diff_trees()'
 
6501
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
6502
 
 
6503
* Add the function make_commit_message_template_encoded() and the function
 
6504
  edit_commit_message_encoded() which handle encoded strings.
 
6505
  This is done in order to mix the commit messages (which is a unicode
 
6506
  string), and the diff which is a raw string. (Goffredo Baroncelli)
 
6507
 
 
6508
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
6509
  overhead on non-weave repositories which don't require all parents to be
 
6510
  present. (Robert Collins)
 
6511
 
 
6512
* Deprecated method ``find_previous_heads`` on
 
6513
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
6514
  of ``parent_candidates`` and a separate heads check via the repository
 
6515
  API. (Robert Collins)
 
6516
 
 
6517
* New trace function ``mutter_callsite`` will print out a subset of the
 
6518
  stack to the log, which can be useful for gathering debug details.
 
6519
  (Robert Collins)
 
6520
 
 
6521
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
6522
  added via a public attribute records_written. (Robert Collins)
 
6523
 
 
6524
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
6525
  This provides a hint to users of transports as to the reasonable
 
6526
  minimum data to read. In principle this can take latency and
 
6527
  bandwidth into account on a per-connection basis, but for now it
 
6528
  just has hard coded values based on the url. (e.g. http:// has a large
 
6529
  page size, file:// has a small one.) (Robert Collins)
 
6530
 
 
6531
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
6532
  incremental addition of data to a file without requiring that all the
 
6533
  data be buffered in memory. (Robert Collins)
 
6534
 
 
6535
* New methods on ``bzrlib.knit.KnitVersionedFile``:
 
6536
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
6537
  ``get_format_signature()``.  These provide some infrastructure for
 
6538
  efficiently streaming the knit data for a set of versions over the smart
 
6539
  protocol.
 
6540
 
 
6541
* Knits with no annotation cache still produce correct annotations.
 
6542
  (Aaron Bentley)
 
6543
 
 
6544
* Three new methods have been added to ``bzrlib.trace``:
 
6545
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
6546
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
6547
  zero for normal, positive for verbose. The size of the number can be
 
6548
  used to determine just how quiet or verbose the application should be.
 
6549
  The existing ``be_quiet`` and ``is_quiet`` routines have been
 
6550
  integrated into this new scheme. (Ian Clatworthy)
 
6551
 
 
6552
* Options can now be delcared with a ``custom_callback`` parameter. If
 
6553
  set, this routine is called after the option is processed. This feature
 
6554
  is now used by the standard options ``verbose`` and ``quiet`` so that
 
6555
  setting one implicitly resets the other. (Ian Clatworthy)
 
6556
 
 
6557
* Rather than declaring a new option from scratch in order to provide
 
6558
  custom help, a centrally registered option can be decorated using the
 
6559
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
6560
  is useful when declaring better help for the ``verbose`` and ``quiet``
 
6561
  standard options as the base definition of these is now more complex
 
6562
  than before thanks to their use of a custom callback. (Ian Clatworthy)
 
6563
 
 
6564
* Tree._iter_changes(specific_file=[]) now iterates through no files,
 
6565
  instead of iterating through all files.  None is used to iterate through
 
6566
  all files.  (Aaron Bentley)
 
6567
 
 
6568
* WorkingTree.revert() now accepts None to revert all files.  The use of
 
6569
  [] to revert all files is deprecated.  (Aaron Bentley)
 
6570
 
 
6571
 
 
6572
bzr 0.90 2007-08-28
 
6573
###################
 
6574
 
 
6575
Improvements
 
6576
************
 
6577
 
 
6578
* Documentation is now organized into multiple directories with a level
 
6579
  added for different languages or locales. Added the Mini Tutorial
 
6580
  and Quick Start Summary (en) documents from the Wiki, improving the
 
6581
  content and readability of the former. Formatted NEWS as Release Notes
 
6582
  complete with a Table of Conents, one heading per release. Moved the
 
6583
  Developer Guide into the main document catalog and provided a link
 
6584
  from the developer document catalog back to the main one.
 
6585
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
6586
 
 
6587
 
 
6588
API Changes
 
6589
***********
 
6590
 
 
6591
* The static convenience method ``BzrDir.create_repository``
 
6592
  is deprecated.  Callers should instead create a ``BzrDir`` instance
 
6593
  and call ``create_repository`` on that.  (Martin Pool)
 
6594
 
 
6595
 
 
6596
bzr 0.90rc1 2007-08-14
 
6597
######################
 
6598
 
 
6599
Bugfixes
 
6600
********
 
6601
 
 
6602
* ``bzr init`` should connect to the remote location one time only.  We
 
6603
  have been connecting several times because we forget to pass around the
 
6604
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
6605
  so that we can give it the Transport we already have.
 
6606
  (John Arbash Meinel, Vincent Ladeuil, #111702)
 
6607
 
 
6608
* Get rid of sftp connection cache (get rid of the FTP one too).
 
6609
  (Vincent Ladeuil, #43731)
 
6610
 
 
6611
* bzr branch {local|remote} remote don't try to create a working tree
 
6612
  anymore.
 
6613
  (Vincent Ladeuil, #112173)
 
6614
 
 
6615
* All identified multiple connections for a single bzr command have been
 
6616
  fixed. See bzrlib/tests/commands directory.
 
6617
  (Vincent Ladeuil)
 
6618
 
 
6619
* ``bzr rm`` now does not insist on ``--force`` to delete files that
 
6620
  have been renamed but not otherwise modified.  (Marius Kruger,
 
6621
  #111664)
 
6622
 
 
6623
* ``bzr selftest --bench`` no longer emits deprecation warnings
 
6624
  (Lukáš Lalinský)
 
6625
 
 
6626
* ``bzr status`` now honours FILE parameters for conflict lists
 
6627
  (Aaron Bentley, #127606)
 
6628
 
 
6629
* ``bzr checkout`` now honours -r when reconstituting a working tree.
 
6630
  It also honours -r 0.  (Aaron Bentley, #127708)
 
6631
 
 
6632
* ``bzr add *`` no more fails on Windows if working tree contains
 
6633
  non-ascii file names. (Kuno Meyer, #127361)
 
6634
 
 
6635
* allow ``easy_install bzr`` runs without fatal errors.
 
6636
  (Alexander Belchenko, #125521)
 
6637
 
 
6638
* Graph._filter_candidate_lca does not raise KeyError if a candidate
 
6639
  is eliminated just before it would normally be examined.  (Aaron Bentley)
 
6640
 
 
6641
* SMTP connection failures produce a nice message, not a traceback.
 
6642
  (Aaron Bentley)
 
6643
 
 
6644
Improvements
 
6645
************
 
6646
 
 
6647
* Don't show "dots" progress indicators when run non-interactively, such
 
6648
  as from cron.  (Martin Pool)
 
6649
 
 
6650
* ``info`` now formats locations more nicely and lists "submit" and
 
6651
  "public" branches (Aaron Bentley)
 
6652
 
 
6653
* New ``pack`` command that will trigger database compression within
 
6654
  the repository (Robert Collins)
 
6655
 
 
6656
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
6657
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
6658
  Which yields a measurable improvement for commands which have to
 
6659
  read from the repository, such as a 1s => 0.75s improvement in
 
6660
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
6661
 
 
6662
* Merge is now faster.  Depending on the scenario, it can be more than 2x
 
6663
  faster. (Aaron Bentley)
 
6664
 
 
6665
* Give a clearer warning, and allow ``python setup.py install`` to
 
6666
  succeed even if pyrex is not available.
 
6667
  (John Arbash Meinel)
 
6668
 
 
6669
* ``DirState._read_dirblocks`` now has an optional Pyrex
 
6670
  implementation. This improves the speed of any command that has to
 
6671
  read the entire DirState. (``diff``, ``status``, etc, improve by
 
6672
  about 10%).
 
6673
  ``bisect_dirblocks`` has also been improved, which helps all
 
6674
  ``_get_entry`` type calls (whenever we are searching for a
 
6675
  particular entry in the in-memory DirState).
 
6676
  (John Arbash Meinel)
 
6677
 
 
6678
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
 
6679
  branch revision history for ui display unless -v is supplied.
 
6680
  (Robert Collins)
 
6681
 
 
6682
* ``bzr log -rA..B`` output shifted to the left margin if the log only
 
6683
  contains merge revisions. (Kent Gibson)
 
6684
 
 
6685
* The ``plugins`` command is now public with improved help.
 
6686
  (Ian Clatworthy)
 
6687
 
 
6688
* New bundle and merge directive formats are faster to generate, and
 
6689
 
 
6690
* Annotate merge now works when there are local changes. (Aaron Bentley)
 
6691
 
 
6692
* Commit now only shows the progress in terms of directories instead of
 
6693
  entries. (Ian Clatworthy)
 
6694
 
 
6695
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
6696
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
6697
  Meinel)
 
6698
 
 
6699
* Fix ``VersionedFile.get_graph()`` to avoid using
 
6700
  ``set.difference_update(other)``, which has bad scaling when
 
6701
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
6702
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
6703
 
 
6704
* The ``--lsprof-file`` option now generates output for KCacheGrind if
 
6705
  the file starts with ``callgrind.out``. This matches the default file
 
6706
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
6707
 
 
6708
* Fix ``bzr update`` to avoid an unnecessary
 
6709
  ``branch.get_master_branch`` call, which avoids 1 extra connection
 
6710
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
6711
 
 
6712
* Log errors from the smart server in the trace file, to make debugging
 
6713
  test failures (and live failures!) easier.  (Andrew Bennetts)
 
6714
 
 
6715
* The HTML version of the man page has been superceded by a more
 
6716
  comprehensive manual called the Bazaar User Reference. This manual
 
6717
  is completed generated from the online help topics. As part of this
 
6718
  change, limited reStructuredText is now explicitly supported in help
 
6719
  topics and command help with 'unnatural' markup being removed prior
 
6720
  to display by the online help or inclusion in the man page.
 
6721
  (Ian Clatworthy)
 
6722
 
 
6723
* HTML documentation now use files extension ``*.html``
 
6724
  (Alexander Belchenko)
 
6725
 
 
6726
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
6727
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
6728
 
 
6729
* ``bzr selftest --strict`` fails if there are any missing features or
 
6730
  expected test failures. (Daniel Watkins, #111914)
 
6731
 
 
6732
* Link to registration survey added to README. (Ian Clatworthy)
 
6733
 
 
6734
* Windows standalone installer show link to registration survey
 
6735
  when installation finished. (Alexander Belchenko)
 
6736
 
 
6737
Library API Breaks
 
6738
******************
 
6739
 
 
6740
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
6741
  Options are now required to provide a help string and it must
 
6742
  comply with the style guide by being one or more sentences with an
 
6743
  initial capital and final period. (Martin Pool)
 
6744
 
 
6745
* KnitIndex.get_parents now returns tuples. (Robert Collins)
 
6746
 
 
6747
* Ancient unused ``Repository.text_store`` attribute has been removed.
 
6748
  (Robert Collins)
 
6749
 
 
6750
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
6751
  rather than just bytestrings, making it easier to represent multiple
 
6752
  element names. As this interface was not used by any internal facilities
 
6753
  since it was introduced in 0.18 no API compatibility is being preserved.
 
6754
  The serialised form of these packs is identical with 0.18 when a single
 
6755
  element tuple is in use. (Robert Collins)
 
6756
 
 
6757
Internals
 
6758
*********
 
6759
 
 
6760
* merge now uses ``iter_changes`` to calculate changes, which makes room for
 
6761
  future performance increases.  It is also more consistent with other
 
6762
  operations that perform comparisons, and reduces reliance on
 
6763
  Tree.inventory.  (Aaron Bentley)
 
6764
 
 
6765
* Refactoring of transport classes connected to a remote server.
 
6766
  ConnectedTransport is a new class that serves as a basis for all
 
6767
  transports needing to connect to a remote server.  transport.split_url
 
6768
  have been deprecated, use the static method on the object instead. URL
 
6769
  tests have been refactored too.
 
6770
  (Vincent Ladeuil)
 
6771
 
 
6772
* Better connection sharing for ConnectedTransport objects.
 
6773
  transport.get_transport() now accepts a 'possible_transports' parameter.
 
6774
  If a newly requested transport can share a connection with one of the
 
6775
  list, it will.
 
6776
  (Vincent Ladeuil)
 
6777
 
 
6778
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
6779
  the null revision, and consider using ``None`` for this purpose
 
6780
  deprecated.  (Aaron Bentley)
 
6781
 
 
6782
* New ``index`` module with abstract index functionality. This will be
 
6783
  used during the planned changes in the repository layer. Currently the
 
6784
  index layer provides a graph aware immutable index, a builder for the
 
6785
  same index type to allow creating them, and finally a composer for
 
6786
  such indices to allow the use of many indices in a single query. The
 
6787
  index performance is not optimised, however the API is stable to allow
 
6788
  development on top of the index. (Robert Collins)
 
6789
 
 
6790
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
6791
  their directory sections. This is equivalent to comparing
 
6792
  ``path.split('/')``, only without having to split the paths.
 
6793
  This has a Pyrex implementation available.
 
6794
  (John Arbash Meinel)
 
6795
 
 
6796
* New transport decorator 'unlistable+' which disables the list_dir
 
6797
  functionality for testing.
 
6798
 
 
6799
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
6800
 
 
6801
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
6802
  for performing annotate-merge.  (Aaron Bentley)
 
6803
 
 
6804
* New EmailMessage class to create email messages. (Adeodato Simó)
 
6805
 
 
6806
* Unused functions on the private interface KnitIndex have been removed.
 
6807
  (Robert Collins)
 
6808
 
 
6809
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
6810
  of a ``index.GraphIndex``. (Robert Collins)
 
6811
 
 
6812
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
6813
  the parents of many knit nodes at once, reducing round trips to the
 
6814
  underlying index. (Robert Collins)
 
6815
 
 
6816
* Graph now has an is_ancestor method, various bits use it.
 
6817
  (Aaron Bentley)
 
6818
 
 
6819
* The ``-Dhpss`` flag now includes timing information. As well as
 
6820
  logging when a new connection is opened. (John Arbash Meinel)
 
6821
 
 
6822
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
6823
  callers when inserting data, allowing generation of readv style access
 
6824
  during pack creation, without needing a separate pass across the output
 
6825
  pack to gather such details. (Robert Collins)
 
6826
 
 
6827
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
6828
  files that are stored on a transport. (Robert Collins)
 
6829
 
 
6830
* New ``Repository.has_same_location`` method that reports if two
 
6831
  repository objects refer to the same repository (although with some risk
 
6832
  of false negatives).  (Andrew Bennetts)
 
6833
 
 
6834
* InterTree.compare now passes require_versioned on correctly.
 
6835
  (Marius Kruger)
 
6836
 
 
6837
* New methods on Repository - ``start_write_group``,
 
6838
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
6839
  which provide a clean hook point for transactional Repositories - ones
 
6840
  where all the data for a fetch or commit needs to be made atomically
 
6841
  available in one step. This allows the write lock to remain while making
 
6842
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
6843
 
 
6844
* In ``bzrlib.knit`` the internal interface has been altered to use
 
6845
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
6846
  describe where data in a knit is, allowing knits to be split into
 
6847
  many files. (Robert Collins)
 
6848
 
 
6849
* ``bzrlib.knit._KnitData`` split into cache management and physical access
 
6850
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
6851
  The former provides access into a .pack file, and the latter provides the
 
6852
  current production repository form of .knit files. (Robert Collins)
 
6853
 
 
6854
Testing
 
6855
*******
 
6856
 
 
6857
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
6858
  ``--keep-output`` options, which are obsolete now that tests
 
6859
  are done within directories in $TMPDIR.  (Martin Pool)
 
6860
 
 
6861
* The SSH_AUTH_SOCK environment variable is now reset to avoid
 
6862
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
6863
 
 
6864
* run_bzr_subprocess handles parameters the same way as run_bzr:
 
6865
  either a string or a list of strings should be passed as the first
 
6866
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
6867
 
 
6868
 
 
6869
bzr 0.18  2007-07-17
 
6870
####################
 
6871
 
 
6872
Bugfixes
 
6873
********
 
6874
 
 
6875
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
6876
 
 
6877
 
 
6878
bzr 0.18rc1  2007-07-10
 
6879
#######################
 
6880
 
 
6881
Bugfixes
 
6882
********
 
6883
 
 
6884
* Do not suppress pipe errors, etc. in non-display commands
 
6885
  (Alexander Belchenko, #87178)
 
6886
 
 
6887
* Display a useful error message when the user requests to annotate
 
6888
  a file that is not present in the specified revision.
 
6889
  (James Westby, #122656)
 
6890
 
 
6891
* Commands that use status flags now have a reference to 'help
 
6892
  status-flags'.  (Daniel Watkins, #113436)
 
6893
 
 
6894
* Work around python-2.4.1 inhability to correctly parse the
 
6895
  authentication header.
 
6896
  (Vincent Ladeuil, #121889)
 
6897
 
 
6898
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
6899
 
 
6900
* Fix tempfile permissions error in smart server tar bundling under
 
6901
  Windows. (Martin _, #119330)
 
6902
 
 
6903
* Fix detection of directory entries in the inventory. (James Westby)
 
6904
 
 
6905
* Fix handling of http code 400: Bad Request When issuing too many ranges.
 
6906
  (Vincent Ladeuil, #115209)
 
6907
 
 
6908
* Issue a CONNECT request when connecting to an https server
 
6909
  via a proxy to enable SSL tunneling.
 
6910
  (Vincent Ladeuil, #120678)
 
6911
 
 
6912
* Fix ``bzr log -r`` to support selecting merge revisions, both
 
6913
  individually and as part of revision ranges.
 
6914
  (Kent Gibson, #4663)
 
6915
 
 
6916
* Don't leave cruft behind when failing to acquire a lockdir.
 
6917
  (Martin Pool, #109169)
 
6918
 
 
6919
* Don't use the '-f' strace option during tests.
 
6920
  (Vincent Ladeuil, #102019).
 
6921
 
 
6922
* Warn when setting ``push_location`` to a value that will be masked by
 
6923
  locations.conf.  (Aaron Bentley, #122286)
 
6924
 
 
6925
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
6926
 
 
6927
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
6928
 
 
6929
Improvements
 
6930
************
 
6931
 
 
6932
* The --lsprof-file option now dumps a text rendering of the profiling
 
6933
  information if the filename ends in ".txt". It will also convert the
 
6934
  profiling information to a format suitable for KCacheGrind if the
 
6935
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
6936
  conversion process by Jean Paul Calderone and Itamar were also merged.
 
6937
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
6938
 
 
6939
* ``info`` now defaults to non-verbose mode, displaying only paths and
 
6940
  abbreviated format info.  ``info -v`` displays all the information
 
6941
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
6942
 
 
6943
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
6944
  (Elliot Murphy)
 
6945
 
 
6946
* The internal ``weave-list`` command has become ``versionedfile-list``,
 
6947
  and now lists knits as well as weaves.  (Aaron Bentley)
 
6948
 
 
6949
* Automatic merge base selection uses a faster algorithm that chooses
 
6950
  better bases in criss-cross merge situations (Aaron Bentley)
 
6951
 
 
6952
* Progress reporting in ``commit`` has been improved. The various logical
 
6953
  stages are now reported on as follows, namely:
 
6954
 
 
6955
  * Collecting changes [Entry x/y] - Stage n/m
 
6956
  * Saving data locally - Stage n/m
 
6957
  * Uploading data to master branch - Stage n/m
 
6958
  * Updating the working tree - Stage n/m
 
6959
  * Running post commit hooks - Stage n/m
 
6960
 
 
6961
  If there is no master branch, the 3rd stage is omitted and the total
 
6962
  number of stages is adjusted accordingly.
 
6963
 
 
6964
  Each hook that is run after commit is listed with a name (as hooks
 
6965
  can be slow it is useful feedback).
 
6966
  (Ian Clatworthy, Robert Collins)
 
6967
 
 
6968
* Various operations that are now faster due to avoiding unnecessary
 
6969
  topological sorts. (Aaron Bentley)
 
6970
 
 
6971
* Make merge directives robust against broken bundles. (Aaron Bentley)
 
6972
 
 
6973
* The lsprof filename note is emitted via trace.note(), not standard
 
6974
  output.  (Aaron Bentley)
 
6975
 
 
6976
* ``bzrlib`` now exports explicit API compatibility information to assist
 
6977
  library users and plugins. See the ``bzrlib.api`` module for details.
 
6978
  (Robert Collins)
 
6979
 
 
6980
* Remove unnecessary lock probes when acquiring a lockdir.
 
6981
  (Martin Pool)
 
6982
 
 
6983
* ``bzr --version`` now shows the location of the bzr log file, which
 
6984
  is especially useful on Windows.  (Martin Pool)
 
6985
 
 
6986
* -D now supports hooks to get debug tracing of hooks (though its currently
 
6987
  minimal in nature). (Robert Collins)
 
6988
 
 
6989
* Long log format reports deltas on merge revisions.
 
6990
  (John Arbash Meinel, Kent Gibson)
 
6991
 
 
6992
* Make initial push over ftp more resilient. (John Arbash Meinel)
 
6993
 
 
6994
* Print a summary of changes for update just like pull does.
 
6995
  (Daniel Watkins, #113990)
 
6996
 
 
6997
* Add a -Dhpss option to trace smart protocol requests and responses.
 
6998
  (Andrew Bennetts)
 
6999
 
 
7000
Library API Breaks
 
7001
******************
 
7002
 
 
7003
* Testing cleanups -
 
7004
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
7005
  to ``bzrlib.tests.repository_implementations``;
 
7006
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
7007
  to ``bzrlib.tests.interrepository_implementations``;
 
7008
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
 
7009
  ``bzrlib.tests.test_transport_implementations``.
 
7010
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
7011
  ``bzrlib.tests.branch_implementations``.
 
7012
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
 
7013
  ``bzrlib.tests.bzrdir_implementations``.
 
7014
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
7015
  to ``bzrlib.tests.interversionedfile_implementations``.
 
7016
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
7017
  ``bzrlib.tests.revisionstore_implementations``.
 
7018
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
7019
  ``bzrlib.tests.workingtree_implementations``.
 
7020
  These changes are an API break in the testing infrastructure only.
 
7021
  (Robert Collins)
 
7022
 
 
7023
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
7024
 
 
7025
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
7026
  win32. Callers of the function should do this and use the new
 
7027
  ``MutableTree.smart_add`` method instead. (Robert Collins)
 
7028
 
 
7029
* ``bzrlib.add.glob_expand_for_win32`` is now
 
7030
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
7031
 
 
7032
* ``bzrlib.add.FastPath`` is now private and moved to
 
7033
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
7034
 
 
7035
* ``LockDir.wait`` removed.  (Martin Pool)
 
7036
 
 
7037
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
7038
  ``server_stopped`` hooks. The first parameter is now an iterable of
 
7039
  backing URLs rather than a single URL. This is to reflect that many
 
7040
  URLs may map to the external URL of the server. E.g. the server interally
 
7041
  may have a chrooted URL but also the local file:// URL will be at the
 
7042
  same location. (Robert Collins)
 
7043
 
 
7044
Internals
 
7045
*********
 
7046
 
 
7047
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
7048
 
 
7049
* Fix documentation of BzrError. (Adeodato Simó)
 
7050
 
 
7051
* Make BzrBadParameter an internal error. (Adeodato Simó)
 
7052
 
 
7053
* Remove use of 'assert False' to raise an exception unconditionally.
 
7054
  (Martin Pool)
 
7055
 
 
7056
* Give a cleaner error when failing to decode knit index entry.
 
7057
  (Martin Pool)
 
7058
 
 
7059
* TreeConfig would mistakenly search the top level when asked for options
 
7060
  from a section. It now respects the section argument and only
 
7061
  searches the specified section. (James Westby)
 
7062
 
 
7063
* Improve ``make api-docs`` output. (John Arbash Meinel)
 
7064
 
 
7065
* Use os.lstat rather than os.stat for osutils.make_readonly and
 
7066
  osutils.make_writeable. This makes the difftools plugin more
 
7067
  robust when dangling symlinks are found. (Elliot Murphy)
 
7068
 
 
7069
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
 
7070
  lockdirs are taken or released.  (Martin Pool)
 
7071
 
 
7072
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
 
7073
  allows a nicer UI when hooks are running as the current hook can
 
7074
  be displayed. (Robert Collins)
 
7075
 
 
7076
* ``Transport.get`` has had its interface made more clear for ease of use.
 
7077
  Retrieval of a directory must now fail with either 'PathError' at open
 
7078
  time, or raise 'ReadError' on a read. (Robert Collins)
 
7079
 
 
7080
* New method ``_maybe_expand_globs`` on the ``Command`` class for
 
7081
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
7082
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
7083
 
 
7084
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
7085
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
7086
  Martin Pool)
 
7087
 
 
7088
* New method ``external_url`` on Transport for obtaining the url to
 
7089
  hand to external processes. (Robert Collins)
 
7090
 
 
7091
* Teach windows installers to build pyrex/C extensions.
 
7092
  (Alexander Belchenko)
 
7093
 
 
7094
Testing
 
7095
*******
 
7096
 
 
7097
* Removed the ``--keep-output`` option from selftest and clean up test
 
7098
  directories as they're used.  This reduces the IO load from
 
7099
  running the test suite and cuts the time by about half.
 
7100
  (Andrew Bennetts, Martin Pool)
 
7101
 
 
7102
* Add scenarios as a public attribute on the TestAdapter classes to allow
 
7103
  modification of the generated scenarios before adaption and easier
 
7104
  testing. (Robert Collins)
 
7105
 
 
7106
* New testing support class ``TestScenarioApplier`` which multiplies
 
7107
  out a single teste by a list of supplied scenarios. (RobertCollins)
 
7108
 
 
7109
* Setting ``repository_to_test_repository`` on a repository_implementations
 
7110
  test will cause it to be called during repository creation, allowing the
 
7111
  testing of repository classes which are not based around the Format
 
7112
  concept. For example a repository adapter can be tested in this manner,
 
7113
  by altering the repository scenarios to include a scenario that sets this
 
7114
  attribute during the test parameterisation in
 
7115
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
7116
 
 
7117
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
 
7118
  interface is now self.run_bzr.  The command to run can be passed as
 
7119
  either a list of parameters, a string containing the command line, or
 
7120
  (deprecated) varargs parameters.  (Martin Pool)
 
7121
 
 
7122
* The base TestCase now isolates tests from -D parameters by clearing
 
7123
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
7124
 
 
7125
* Add a relpath parameter to get_transport methods in test framework to
 
7126
  avoid useless cloning.
 
7127
  (Vincent Ladeuil, #110448)
 
7128
 
 
7129
 
 
7130
bzr 0.17  2007-06-18
 
7131
####################
 
7132
 
 
7133
Bugfixes
 
7134
********
 
7135
 
 
7136
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
7137
  (Colin Watson, #120647)
 
7138
 
 
7139
* Revert logging just to stderr in commit as broke unicode filenames.
 
7140
  (Aaron Bentley, Ian Clatworthy, #120930)
 
7141
 
 
7142
 
 
7143
bzr 0.17rc1  2007-06-12
 
7144
#######################
 
7145
 
 
7146
Notes When Upgrading
 
7147
********************
 
7148
 
 
7149
* The kind() and is_executable() APIs on the WorkingTree interface no
 
7150
  longer implicitly (read) locks and unlocks the tree. This *might*
 
7151
  impact some plug-ins and tools using this part of the API. If you find
 
7152
  an issue that may be caused by this change, please let us know,
 
7153
  particularly the plug-in/tool maintainer. If encountered, the API
 
7154
  fix is to surround kind() and is_executable() calls with lock_read()
 
7155
  and unlock() like so::
 
7156
 
 
7157
    work_tree.lock_read()
 
7158
    try:
 
7159
        kind = work_tree.kind(...)
 
7160
    finally:
 
7161
        work_tree.unlock()
 
7162
 
 
7163
Internals
 
7164
*********
 
7165
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
7166
  encapsulate the details of the revision to be logged in a LogRevision
 
7167
  object.
 
7168
  In long log formats, merge revision ids are only shown when --show-ids
 
7169
  is specified, and are labelled "revision-id:", as per mainline
 
7170
  revisions, instead of "merged:". (Kent Gibson)
 
7171
 
 
7172
* New ``BranchBuilder`` API which allows the construction of particular
 
7173
  histories quickly. Useful for testing and potentially other applications
 
7174
  too. (Robert Collins)
 
7175
 
 
7176
Improvements
 
7177
************
 
7178
 
 
7179
* There are two new help topics, working-trees and repositories that
 
7180
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
7181
  Aaron Bentley)
 
7182
 
 
7183
* Added ``bzr log --limit`` to report a limited number of revisions.
 
7184
  (Kent Gibson, #3659)
 
7185
 
 
7186
* Revert does not try to preserve file contents that were originally
 
7187
  produced by reverting to a historical revision.  (Aaron Bentley)
 
7188
 
 
7189
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
7190
  have more than one parent. This is a small improvement to help
 
7191
  understanding what changes have occurred
 
7192
  (John Arbash Meinel, #83887)
 
7193
 
 
7194
* TreeTransform avoids many renames when contructing large trees,
 
7195
  improving speed.  3.25x speedups have been observed for construction of
 
7196
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
7197
 
 
7198
* Commit on large trees is now faster. In my environment, a commit of
 
7199
  a small change to the Mozilla tree (55k files) has dropped from
 
7200
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
7201
  small change is 33% faster. (Ian Clatworthy)
 
7202
 
 
7203
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
7204
  #56322)
 
7205
 
 
7206
Bugfixes
 
7207
********
 
7208
 
 
7209
* ``bzr push`` should only connect to the remote location one time.
 
7210
  We have been connecting 3 times because we forget to pass around
 
7211
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
7212
  that we can pass in the Transport that we already have.
 
7213
  (John Arbash Meinel, #75721)
 
7214
 
 
7215
* ``DirState.set_state_from_inventory()`` needs to properly order
 
7216
  based on split paths, not just string paths.
 
7217
  (John Arbash Meinel, #115947)
 
7218
 
 
7219
* Let TestUIFactoy encode the password prompt with its own stdout.
 
7220
  (Vincent Ladeuil, #110204)
 
7221
 
 
7222
* pycurl should take use the range header that takes the range hint
 
7223
  into account.
 
7224
  (Vincent Ladeuil, #112719)
 
7225
 
 
7226
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
7227
  on a missing file.  (Aaron Bentley, #118186)
 
7228
 
 
7229
* WorkingTree.remove works correctly with tree references, and when pwd is
 
7230
  not the tree root. (Aaron Bentley)
 
7231
 
 
7232
* Merge no longer fails when a file is renamed in one tree and deleted
 
7233
  in the other. (Aaron Bentley, #110279)
 
7234
 
 
7235
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
7236
  and defaults to the last revision (Matthew Fuller, #90048)
 
7237
 
 
7238
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
7239
  (Daniel Watkins, #111958)
 
7240
 
 
7241
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
7242
  your repository. (Previously Branch6 only supported revisions in your
 
7243
  mainline). (John Arbash Meinel, #115343)
 
7244
 
 
7245
bzr 0.16  2007-05-07
 
7246
####################
 
7247
 
 
7248
Bugfixes
 
7249
********
 
7250
 
 
7251
* Handle when you have 2 directories with similar names, but one has a
 
7252
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
7253
  iterator was using direct comparison and ``'abc/a'`` sorts after
 
7254
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
7255
  (John Arbash Meinel, #111227)
 
7256
 
 
7257
* Handle when someone renames a file on disk without telling bzr.
 
7258
  Previously we would report the first file as missing, but not show
 
7259
  the new unknown file. (John Arbash Meinel, #111288)
 
7260
 
 
7261
* Avoid error when running hooks after pulling into or pushing from
 
7262
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
7263
 
 
7264
Improvements
 
7265
************
 
7266
 
 
7267
* Move developer documentation to doc/developers/. This reduces clutter in
 
7268
  the root of the source tree and allows HACKING to be split into multiple
 
7269
  files. (Robert Collins, Alexander Belchenko)
 
7270
 
 
7271
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
7272
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
7273
  diff`` and ``bzr status`` significantly improving the speed of
 
7274
  both. (John Arbash Meinel)
 
7275
 
 
7276
bzr 0.16rc2  2007-04-30
 
7277
#######################
 
7278
 
 
7279
Bugfixes
 
7280
********
 
7281
 
 
7282
* Handle the case when you delete a file, and then rename another file
 
7283
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
7284
  status`` should show the removed file and an unknown file in its
 
7285
  place. (John Arbash Meinel, #109993)
 
7286
 
 
7287
* Bundles properly read and write revision properties that have an
 
7288
  empty value. And when the value is not ASCII.
 
7289
  (John Arbash Meinel, #109613)
 
7290
 
 
7291
* Fix the bzr commit message to be in text mode.
 
7292
  (Alexander Belchenko, #110901)
 
7293
 
 
7294
* Also handle when you rename a file and create a file where it used
 
7295
  to be. (John Arbash Meinel, #110256)
 
7296
 
 
7297
* ``WorkingTree4._iter_changes`` should not descend into unversioned
 
7298
  directories. (John Arbash Meinel, #110399)
 
7299
 
 
7300
bzr 0.16rc1  2007-04-26
 
7301
#######################
 
7302
 
 
7303
Notes When Upgrading
 
7304
********************
 
7305
 
 
7306
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
7307
  it could be recovered again.
 
7308
  This has been done for consistency with svn and the unix rm command.
 
7309
  The old ``remove`` behaviour has been retained in the new option
 
7310
  ``bzr remove --keep``, which will just stop versioning the file,
 
7311
  but not delete it.
 
7312
  ``bzr remove --force`` have been added which will always delete the
 
7313
  files.
 
7314
  ``bzr remove`` is also more verbose.
 
7315
  (Marius Kruger, #82602)
 
7316
 
 
7317
Improvements
 
7318
************
 
7319
 
 
7320
* Merge directives can now be supplied as input to `merge` and `pull`,
 
7321
  like bundles can.  (Aaron Bentley)
 
7322
 
 
7323
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
7324
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
7325
  to continue.  This can be disabled by setting the environment variable
 
7326
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
7327
 
 
7328
* selftest now supports --list-only to list tests instead of running
 
7329
  them. (Ian Clatworthy)
 
7330
 
 
7331
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
7332
  tests with names that match that regular expression.
 
7333
  (Ian Clatworthy, #102679)
 
7334
 
 
7335
* selftest now supports --randomize SEED to run tests in a random order.
 
7336
  SEED is typically the value 'now' meaning 'use the current time'.
 
7337
  (Ian Clatworthy, #102686)
 
7338
 
 
7339
* New option ``--fixes`` to commit, which stores bug fixing annotations as
 
7340
  revision properties. Built-in support for Launchpad, Debian, Trac and
 
7341
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
7342
 
 
7343
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
7344
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
7345
  Robert Collins)
 
7346
 
 
7347
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
7348
  Pool)
 
7349
 
 
7350
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
7351
  into using local variables instead of going through ``self._var``.
 
7352
  Improves the time to ``merge_sort`` a 10k revision graph by
 
7353
  approximately 40% (~700->400ms).  (John Arbash Meinel)
 
7354
 
 
7355
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
7356
  (Robert Collins)
 
7357
 
 
7358
* ``bzr help`` now provides cross references to other help topics using
 
7359
  the _see_also facility on command classes. Likewise the bzr_man
 
7360
  documentation, and the bzr.1 man page also include this information.
 
7361
  (Robert Collins)
 
7362
 
 
7363
* Tags are now included in logs, that use the long log formatter.
 
7364
  (Erik Bågfors, Alexander Belchenko)
 
7365
 
 
7366
* ``bzr help`` provides a clearer message when a help topic cannot be
 
7367
  found. (Robert Collins, #107656)
 
7368
 
 
7369
* ``bzr help`` now accepts optional prefixes for command help. The help
 
7370
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
7371
  as well as ``bzr help COMMANDNAME`` (which only works for commands
 
7372
  where the name is not the same as a more general help topic).
 
7373
  (Robert Collins)
 
7374
 
 
7375
* ``bzr help PLUGINNAME`` will now return the module docstring from the
 
7376
  plugin PLUGINNAME. (Robert Collins, #50408)
 
7377
 
 
7378
* New help topic ``urlspec`` which lists the availables transports.
 
7379
  (Goffredo Baroncelli)
 
7380
 
 
7381
* doc/server.txt updated to document the default bzr:// port
 
7382
  and also update the blurb about the hpss' current status.
 
7383
  (Robert Collins, #107125).
 
7384
 
 
7385
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
7386
  serve out to the local LAN (and anyone in the world that can reach the
 
7387
  machine running ``bzr serve``. (Robert Collins, #98918)
 
7388
 
 
7389
* A new smart server protocol version has been added.  It prefixes requests
 
7390
  and responses with an explicit version identifier so that future protocol
 
7391
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
7392
 
 
7393
* The bzr protocol version 2 indicates success or failure in every response
 
7394
  without depending on particular commands encoding that consistently,
 
7395
  allowing future client refactorings to be much more robust about error
 
7396
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
7397
 
 
7398
* The smart protocol over HTTP client has been changed to always post to the
 
7399
  same ``.bzr/smart`` URL under the original location when it can.  This allows
 
7400
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
7401
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
7402
 
 
7403
* digest authentication is now supported for proxies and HTTP by the urllib
 
7404
  based http implementation. Tested against Apache 2.0.55 and Squid
 
7405
  2.6.5. Basic and digest authentication are handled coherently for HTTP
 
7406
  and proxy: if the user is provided in the url (bzr command line for HTTP,
 
7407
  proxy environment variables for proxies), the password is prompted for
 
7408
  (only once). If the password is provided, it is taken into account. Once
 
7409
  the first authentication is successful, all further authentication
 
7410
  roundtrips are avoided by preventively setting the right authentication
 
7411
  header(s).
 
7412
  (Vincent Ladeuil).
 
7413
 
 
7414
Internals
 
7415
*********
 
7416
 
 
7417
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
7418
  code paths. (Robert Collins)
 
7419
 
 
7420
* Change the format of chroot urls so that they can be safely manipulated
 
7421
  by generic url utilities without causing the resulting urls to have
 
7422
  escaped the chroot. A side effect of this is that creating a chroot
 
7423
  requires an explicit action using a ChrootServer.
 
7424
  (Robert Collins, Andrew Bennetts)
 
7425
 
 
7426
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
7427
  rather than fixing bug #96847.  (Aaron Bentley)
 
7428
 
 
7429
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
7430
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
7431
 
 
7432
* Convenience method ``TestCase.expectFailure`` ensures that known failures
 
7433
  do not silently pass.  (Aaron Bentley)
 
7434
 
 
7435
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
 
7436
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
7437
 
 
7438
* New SmartServer hooks facility. There are two initial hooks documented
 
7439
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
7440
  plugins to execute code upon server startup and shutdown.
 
7441
  (Robert Collins).
 
7442
 
 
7443
* SmartServer in standalone mode will now close its listening socket
 
7444
  when it stops, rather than waiting for garbage collection. This primarily
 
7445
  fixes test suite hangs when a test tries to connect to a shutdown server.
 
7446
  It may also help improve behaviour when dealing with a server running
 
7447
  on a specific port (rather than dynamically assigned ports).
 
7448
  (Robert Collins)
 
7449
 
 
7450
* Move most SmartServer code into a new package, bzrlib/smart.
 
7451
  bzrlib/transport/remote.py contains just the Transport classes that used
 
7452
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
7453
 
 
7454
* urllib http implementation avoid roundtrips associated with
 
7455
  401 (and 407) errors once the authentication succeeds.
 
7456
  (Vincent Ladeuil).
 
7457
 
 
7458
* urlib http now supports querying the user for a proxy password if
 
7459
  needed. Realm is shown in the prompt for both HTTP and proxy
 
7460
  authentication when the user is required to type a password.
 
7461
  (Vincent Ladeuil).
 
7462
 
 
7463
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
7464
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
7465
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
7466
  it's not really a "smart" transport, just one that does file operations
 
7467
  via remote procedure calls.  (Andrew Bennetts)
 
7468
 
 
7469
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
7470
  ``Branch`` now accept a ``token`` keyword argument, so that separate
 
7471
  instances of those objects can share a lock if it has the right token.
 
7472
  (Andrew Bennetts, Robert Collins)
 
7473
 
 
7474
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
7475
  branch references - which the smart server component needs.
 
7476
 
 
7477
* The Repository API ``make_working_trees`` is now permitted to return
 
7478
  False when ``set_make_working_trees`` is not implemented - previously
 
7479
  an unimplemented ``set_make_working_trees`` implied the result True
 
7480
  from ``make_working_trees``. This has been changed to accomodate the
 
7481
  smart server, where it does not make sense (at this point) to ever
 
7482
  make working trees by default. (Robert Collins)
 
7483
 
 
7484
* Command objects can now declare related help topics by having _see_also
 
7485
  set to a list of related topic. (Robert Collins)
 
7486
 
 
7487
* ``bzrlib.help`` now delegates to the Command class for Command specific
 
7488
  help. (Robert Collins)
 
7489
 
 
7490
* New class ``TransportListRegistry``, derived from the Registry class, which
 
7491
  simplifies tracking the available Transports. (Goffredo Baroncelli)
 
7492
 
 
7493
* New function ``Branch.get_revision_id_to_revno_map`` which will
 
7494
  return a dictionary mapping revision ids to dotted revnos. Since
 
7495
  dotted revnos are defined in the context of the branch tip, it makes
 
7496
  sense to generate them from a ``Branch`` object.
 
7497
  (John Arbash Meinel)
 
7498
 
 
7499
* Fix the 'Unprintable error' message display to use the repr of the
 
7500
  exception that prevented printing the error because the str value
 
7501
  for it is often not useful in debugging (e.g. KeyError('foo') has a
 
7502
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
7503
  useful. (Robert Collins)
 
7504
 
 
7505
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
7506
  (Andrew Bennetts)
 
7507
 
 
7508
Bugfixes
 
7509
********
 
7510
 
 
7511
* Don't fail bundle selftest if email has 'two' embedded.
 
7512
  (Ian Clatworthy, #98510)
 
7513
 
 
7514
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
7515
  (Robert Widhopf-Fenk, #98591)
 
7516
 
 
7517
* Remove ``--basis`` from the checkout/branch commands - it didn't work
 
7518
  properly and is no longer beneficial.
 
7519
  (Robert Collins, #53675, #43486)
 
7520
 
 
7521
* Don't produce encoding error when adding duplicate files.
 
7522
  (Aaron Bentley)
 
7523
 
 
7524
* Fix ``bzr log <file>`` so it only logs the revisions that changed
 
7525
  the file, and does it faster.
 
7526
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
7527
 
 
7528
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
7529
  an empty versioned directory, which now has files in it.
 
7530
  (John Arbash Meinel, #104257)
 
7531
 
 
7532
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
7533
  inside the ancestry of the other. Saves a lot of graph processing
 
7534
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
7535
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
7536
 
 
7537
* Fix ``show_diff_trees`` to handle the case when a file is modified,
 
7538
  and the containing directory is renamed. (The file path is different
 
7539
  in this versus base, but it isn't marked as a rename).
 
7540
  (John Arbash Meinel, #103870)
 
7541
 
 
7542
* FTP now works even when the FTP server does not support atomic rename.
 
7543
  (Aaron Bentley, #89436)
 
7544
 
 
7545
* Correct handling in bundles and merge directives of timezones with
 
7546
  that are not an integer number of hours offset from UTC.  Always
 
7547
  represent the epoch time in UTC to avoid problems with formatting
 
7548
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
7549
  Arbash Meinel)
 
7550
 
 
7551
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
7552
 
 
7553
* "dirstate" and "dirstate-tags" formats now produce branches compatible
 
7554
  with old versions of bzr. (Aaron Bentley, #107168))
 
7555
 
 
7556
* Handle moving a directory when children have been added, removed,
 
7557
  and renamed. (John Arbash Meinel, #105479)
 
7558
 
 
7559
* Don't preventively use basic authentication for proxy before receiving a
 
7560
  407 error. Otherwise people willing to use other authentication schemes
 
7561
  may expose their password in the clear (or nearly). This add one
 
7562
  roundtrip in case basic authentication should be used, but plug the
 
7563
  security hole.
 
7564
  (Vincent Ladeuil)
 
7565
 
 
7566
* Handle http and proxy digest authentication.
 
7567
  (Vincent Ladeuil, #94034).
 
7568
 
 
7569
Testing
 
7570
*******
 
7571
 
 
7572
* Added ``bzrlib.strace.strace`` which will strace a single callable and
 
7573
  return a StraceResult object which contains just the syscalls involved
 
7574
  in running it. (Robert Collins)
 
7575
 
 
7576
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
7577
  default time down to one suitable for tests. (Andrew Bennetts)
 
7578
 
 
7579
* Add new ``vfs_transport_factory`` attribute on tests which provides the
 
7580
  common vfs backing for both the readonly and readwrite transports.
 
7581
  This allows the RemoteObject tests to back onto local disk or memory,
 
7582
  and use the existing ``transport_server`` attribute all tests know about
 
7583
  to be the smart server transport. This in turn allows tests to
 
7584
  differentiate between 'transport to access the branch', and
 
7585
  'transport which is a VFS' - which matters in Remote* tests.
 
7586
  (Robert Collins, Andrew Bennetts)
 
7587
 
 
7588
* The ``make_branch_and_tree`` method for tests will now create a
 
7589
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
7590
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
7591
 
 
7592
* Branch implementation tests have been audited to ensure that all urls
 
7593
  passed to Branch APIs use proper urls, except when local-disk paths
 
7594
  are intended. This is so that tests correctly access the test transport
 
7595
  which is often not equivalent to local disk in Remote* tests. As part
 
7596
  of this many tests were adjusted to remove dependencies on local disk
 
7597
  access.
 
7598
  (Robert Collins, Andrew Bennetts)
 
7599
 
 
7600
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
7601
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
7602
  Andrew Bennetts, Martin Pool, Jonathan Lange)
 
7603
 
 
7604
* Refactored proxy and authentication handling to simplify the
 
7605
  implementation of new auth schemes for both http and proxy.
 
7606
  (Vincent Ladeuil)
 
7607
 
 
7608
bzr 0.15 2007-04-01
 
7609
###################
 
7610
 
 
7611
Bugfixes
 
7612
********
 
7613
 
 
7614
* Handle incompatible repositories as a user issue when fetching.
 
7615
  (Aaron Bentley)
 
7616
 
 
7617
* Don't give a recommendation to upgrade when branching or
 
7618
  checking out a branch that contains an old-format working tree.
 
7619
  (Martin Pool)
 
7620
 
 
7621
bzr 0.15rc3  2007-03-26
 
7622
#######################
 
7623
 
 
7624
Changes
 
7625
*******
 
7626
 
 
7627
* A warning is now displayed when opening working trees in older
 
7628
  formats, to encourage people to upgrade to WorkingTreeFormat4.
 
7629
  (Martin Pool)
 
7630
 
 
7631
Improvements
 
7632
************
 
7633
 
 
7634
* HTTP redirections are now taken into account when a branch (or a
 
7635
  bundle) is accessed for the first time. A message is issued at each
 
7636
  redirection to inform the user. In the past, http redirections were
 
7637
  silently followed for each request which significantly degraded the
 
7638
  performances. The http redirections are not followed anymore by
 
7639
  default, instead a RedirectRequested exception is raised. For bzrlib
 
7640
  users needing to follow http redirections anyway,
 
7641
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
7642
  path.  (vila)
 
7643
 
 
7644
Internals
 
7645
*********
 
7646
 
 
7647
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
7648
  lock to an OS write lock. Linux can do this without unlocking, Win32
 
7649
  needs to unlock in between. (John Arbash Meinel)
 
7650
 
 
7651
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
7652
  to silence (when false) warnings about opening old formats.
 
7653
  (Martin Pool)
 
7654
 
 
7655
* Fix minor performance regression with bzr-0.15 on pre-dirstate
 
7656
  trees. (We were reading the working inventory too many times).
 
7657
  (John Arbash Meinel)
 
7658
 
 
7659
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
7660
  ``revision_history``.  Branch subclasses should override
 
7661
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
7662
  this cache, and call ``_clear_revision_history_cache`` and
 
7663
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
7664
 
 
7665
Bugfixes
 
7666
********
 
7667
 
 
7668
* Take ``smtp_server`` from user config into account.
 
7669
  (vila, #92195)
 
7670
 
 
7671
* Restore Unicode filename handling for versioned and unversioned files.
 
7672
  (John Arbash Meinel, #92608)
 
7673
 
 
7674
* Don't fail during ``bzr commit`` if a file is marked removed, and
 
7675
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
7676
 
 
7677
* ``bzr status FILENAME`` failed on Windows because of an uncommon
 
7678
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
7679
  (Wouter van Heyst, John Arbash Meinel, #90819)
 
7680
 
 
7681
* ``bzr checkout source`` should create a local branch in the same
 
7682
  format as source. (John Arbash Meinel, #93854)
 
7683
 
 
7684
* ``bzr commit`` with a kind change was failing to update the
 
7685
  last-changed-revision for directories.  The
 
7686
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
7687
  ignoring the fact that the kind could have changed, too.
 
7688
  (John Arbash Meinel, #90111)
 
7689
 
 
7690
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
7691
  the directory. So that there was a chance it would break commit,
 
7692
  etc. (John Arbash Meinel, #94037)
 
7693
 
 
7694
* Correctly handles mutiple permanent http redirections.
 
7695
  (vila, #88780)
 
7696
 
 
7697
bzr 0.15rc2  2007-03-14
 
7698
#######################
 
7699
 
 
7700
Notes When Upgrading
 
7701
********************
 
7702
 
 
7703
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
7704
  default to ``--trees`` instead of ``--no-trees``.
 
7705
  Existing shared repositories are not affected.
 
7706
 
 
7707
Improvements
 
7708
************
 
7709
 
 
7710
* New ``merge-directive`` command to generate machine- and human-readable
 
7711
  merge requests.  (Aaron Bentley)
 
7712
 
 
7713
* New ``submit:`` revision specifier makes it easy to diff against the
 
7714
  common ancestor with the submit location (Aaron Bentley)
 
7715
 
 
7716
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
7717
 
 
7718
* Added ``bzr status --versioned`` to report only versioned files,
 
7719
  not unknowns. (Kent Gibson)
 
7720
 
 
7721
* Merge now autodetects the correct line-ending style for its conflict
 
7722
  markers.  (Aaron Bentley)
 
7723
 
 
7724
Internals
 
7725
*********
 
7726
 
 
7727
* Refactored SSH vendor registration into SSHVendorManager class.
 
7728
  (Dmitry Vasiliev)
 
7729
 
 
7730
Bugfixes
 
7731
********
 
7732
 
 
7733
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
7734
  numbered dirs for TestCaseInTempDir. This is default behavior
 
7735
  on Windows. Anyone can force named dirs on Windows
 
7736
  with ``--no-numbered-dirs``. (Alexander Belchenko)
 
7737
 
 
7738
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
7739
  from the command line. (Marien Zwart, #90501)
 
7740
 
 
7741
* Fix ``TreeTransform._iter_changes`` when both the source and
 
7742
  destination are missing. (Aaron Bentley, #88842)
 
7743
 
 
7744
* Fix commit of merges with symlinks in dirstate trees.
 
7745
  (Marien Zwart)
 
7746
 
 
7747
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
 
7748
  (Wouter van Heyst, #53483)
 
7749
 
 
7750
 
 
7751
bzr 0.15rc1  2007-03-07
 
7752
#######################
 
7753
 
 
7754
Surprises
 
7755
*********
 
7756
 
 
7757
* The default disk format has changed. Please run 'bzr upgrade' in your
 
7758
  working trees to upgrade. This new default is compatible for network
 
7759
  operations, but not for local operations. That is, if you have two
 
7760
  versions of bzr installed locally, after upgrading you can only use the
 
7761
  bzr 0.15 version. This new default does not enable tags or nested-trees
 
7762
  as they are incompatible with bzr versions before 0.15 over the network.
 
7763
 
 
7764
* For users of bzrlib: Two major changes have been made to the working tree
 
7765
  api in bzrlib. The first is that many methods and attributes, including
 
7766
  the inventory attribute, are no longer valid for use until one of
 
7767
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
7768
  and become invalid again after unlock is called. This has been done
 
7769
  to improve performance and correctness as part of the dirstate
 
7770
  development.
 
7771
  (Robert Collins, John A Meinel, Martin Pool, and others).
 
7772
 
 
7773
* For users of bzrlib: The attribute 'tree.inventory' should be considered
 
7774
  readonly. Previously it was possible to directly alter this attribute, or
 
7775
  its contents, and have the tree notice this. This has been made
 
7776
  unsupported - it may work in some tree formats, but in the newer dirstate
 
7777
  format such actions will have no effect and will be ignored, or even
 
7778
  cause assertions. All operations possible can still be carried out by a
 
7779
  combination of the tree API, and the bzrlib.transform API. (Robert
 
7780
  Collins, John A Meinel, Martin Pool, and others).
 
7781
 
 
7782
Improvements
 
7783
************
 
7784
 
 
7785
* Support for OS Windows 98. Also .bzr.log on any windows system
 
7786
  saved in My Documents folder. (Alexander Belchenko)
 
7787
 
 
7788
* ``bzr mv`` enhanced to support already moved files.
 
7789
  In the past the mv command would have failed if the source file doesn't
 
7790
  exist. In this situation ``bzr mv`` would now detect that the file has
 
7791
  already moved and update the repository accordingly, if the target file
 
7792
  does exist.
 
7793
  A new option ``--after`` has been added so that if two files already
 
7794
  exist, you could notify Bazaar that you have moved a (versioned) file
 
7795
  and replaced it with another. Thus in this case ``bzr move --after``
 
7796
  will only update the Bazaar identifier.
 
7797
  (Steffen Eichenberg, Marius Kruger)
 
7798
 
 
7799
* ``ls`` now works on treeless branches and remote branches.
 
7800
  (Aaron Bentley)
 
7801
 
 
7802
* ``bzr help global-options`` describes the global options.
 
7803
  (Aaron Bentley)
 
7804
 
 
7805
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
7806
  (Robert Collins)
 
7807
 
 
7808
* Files are now allowed to change kind (e.g. from file to symlink).
 
7809
  Supported by ``commit``, ``revert`` and ``status``
 
7810
  (Aaron Bentley)
 
7811
 
 
7812
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
7813
  (Aaron Bentley)
 
7814
 
 
7815
* ``bzr help checkouts`` descibes what checkouts are and some possible
 
7816
  uses of them. (James Westby, Aaron Bentley)
 
7817
 
 
7818
* A new ``-d`` option to push, pull and merge overrides the default
 
7819
  directory.  (Martin Pool)
 
7820
 
 
7821
* Branch format 6: smaller, and potentially faster than format 5.  Supports
 
7822
  ``append_history_only`` mode, where the log view and revnos do not change,
 
7823
  except by being added to.  Stores policy settings in
 
7824
  ".bzr/branch/branch.conf".
 
7825
 
 
7826
* ``append_only`` branches:  Format 6 branches may be configured so that log
 
7827
  view and revnos are always consistent.  Either create the branch using
 
7828
  "bzr init --append-revisions-only" or edit the config file as descriped
 
7829
  in docs/configuration.txt.
 
7830
 
 
7831
* rebind: Format 6 branches retain the last-used bind location, so if you
 
7832
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
7833
  bind location.
 
7834
 
 
7835
* Builtin tags support, created and deleted by the ``tag`` command and
 
7836
  stored in the branch.  Tags can be accessed with the revisionspec
 
7837
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
 
7838
  at present. Tags require a network incompatible upgrade. To perform this
 
7839
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
7840
  repositories. (Martin Pool)
 
7841
 
 
7842
* The ``bzr://`` transport now has a well-known port number, 4155,
 
7843
  which it will use by default.  (Andrew Bennetts, Martin Pool)
 
7844
 
 
7845
* Bazaar now looks for user-installed plugins before looking for site-wide
 
7846
  plugins. (Jonathan Lange)
 
7847
 
 
7848
* ``bzr resolve`` now detects and marks resolved text conflicts.
 
7849
  (Aaron Bentley)
 
7850
 
 
7851
Internals
 
7852
*********
 
7853
 
 
7854
* Internally revision ids and file ids are now passed around as utf-8
 
7855
  bytestrings, rather than treating them as Unicode strings. This has
 
7856
  performance benefits for Knits, since we no longer need to decode the
 
7857
  revision id for each line of content, nor for each entry in the index.
 
7858
  This will also help with the future dirstate format.
 
7859
  (John Arbash Meinel)
 
7860
 
 
7861
* Reserved ids (any revision-id ending in a colon) are rejected by
 
7862
  versionedfiles, repositories, branches, and working trees
 
7863
  (Aaron Bentley)
 
7864
 
 
7865
* Minor performance improvement by not creating a ProgressBar for
 
7866
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
7867
  (John Arbash Meinel)
 
7868
 
 
7869
* New easier to use Branch hooks facility. There are five initial hooks,
 
7870
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
7871
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
7872
  ``'post_uncommit'``. These hooks fire after the matching operation
 
7873
  on a branch has taken place, and were originally added for the
 
7874
  branchrss plugin. (Robert Collins)
 
7875
 
 
7876
* New method ``Branch.push()`` which should be used when pushing from a
 
7877
  branch as it makes performance and policy decisions to match the UI
 
7878
  level command ``push``. (Robert Collins).
 
7879
 
 
7880
* Add a new method ``Tree.revision_tree`` which allows access to cached
 
7881
  trees for arbitrary revisions. This allows the in development dirstate
 
7882
  tree format to provide access to the callers to cached copies of
 
7883
  inventory data which are cheaper to access than inventories from the
 
7884
  repository.
 
7885
  (Robert Collins, Martin Pool)
 
7886
 
 
7887
* New ``Branch.last_revision_info`` method, this is being done to allow
 
7888
  optimization of requests for both the number of revisions and the last
 
7889
  revision of a branch with smartservers and potentially future branch
 
7890
  formats. (Wouter van Heyst, Robert Collins)
 
7891
 
 
7892
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
7893
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
7894
  other for code reuse without requiring users to perform file-renaming
 
7895
  gymnastics. (Robert Collins)
 
7896
 
 
7897
* New Repository method ``'gather_stats'`` for statistic data collection.
 
7898
  This is expected to grow to cover a number of related uses mainly
 
7899
  related to bzr info. (Robert Collins)
 
7900
 
 
7901
* Log formatters are now managed with a registry.
 
7902
  ``log.register_formatter`` continues to work, but callers accessing
 
7903
  the FORMATTERS dictionary directly will not.
 
7904
 
 
7905
* Allow a start message to be passed to the ``edit_commit_message``
 
7906
  function.  This will be placed in the message offered to the user
 
7907
  for editing above the separator. It allows a template commit message
 
7908
  to be used more easily. (James Westby)
 
7909
 
 
7910
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
7911
  you pass a Unicode string rather than an 8-bit string. Callers need
 
7912
  to be updated to encode first. (John Arbash Meinel)
 
7913
 
 
7914
* Branch.push, pull, merge now return Result objects with information
 
7915
  about what happened, rather than a scattering of various methods.  These
 
7916
  are also passed to the post hooks.  (Martin Pool)
 
7917
 
 
7918
* File formats and architecture is in place for managing a forest of trees
 
7919
  in bzr, and splitting up existing trees into smaller subtrees, and
 
7920
  finally joining trees to make a larger tree. This is the first iteration
 
7921
  of this support, and the user-facing aspects still require substantial
 
7922
  work.  If you wish to experiment with it, use ``bzr upgrade
 
7923
  --dirstate-with-subtree`` in your working trees and repositories.
 
7924
  You can use the hidden commands ``split`` and ``join`` and to create
 
7925
  and manipulate nested trees, but please consider using the nested-trees
 
7926
  branch, which contains substantial UI improvements, instead.
 
7927
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
7928
  (Aaron Bentley, Martin Pool, Robert Collins).
 
7929
 
 
7930
Bugfixes
 
7931
********
 
7932
 
 
7933
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
7934
  branch, rather than the last changed revision of the file.
 
7935
  (John Arbash Meinel, #82158)
 
7936
 
 
7937
* Lock operations no longer hang if they encounter a permission problem.
 
7938
  (Aaron Bentley)
 
7939
 
 
7940
* ``bzr push`` can resume a push that was canceled before it finished.
 
7941
  Also, it can push even if the target directory exists if you supply
 
7942
  the ``--use-existing-dir`` flag.
 
7943
  (John Arbash Meinel, #30576, #45504)
 
7944
 
 
7945
* Fix http proxy authentication when user and an optional
 
7946
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
7947
  #83954).
 
7948
 
 
7949
* ``bzr log branch/file`` works for local treeless branches
 
7950
  (Aaron Bentley, #84247)
 
7951
 
 
7952
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
7953
 
 
7954
* Searching location of CA bundle for PyCurl in env variable
 
7955
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
7956
  (Alexander Belchenko, #82086)
 
7957
 
 
7958
* ``bzr init`` works with unicode argument LOCATION.
 
7959
  (Alexander Belchenko, #85599)
 
7960
 
 
7961
* Raise ``DependencyNotPresent`` if pycurl do not support https.
 
7962
  (Vincent Ladeuil, #85305)
 
7963
 
 
7964
* Invalid proxy env variables should not cause a traceback.
 
7965
  (Vincent Ladeuil, #87765)
 
7966
 
 
7967
* Ignore patterns normalised to use '/' path separator.
 
7968
  (Kent Gibson, #86451)
 
7969
 
 
7970
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
7971
 
 
7972
* Fix bzrtools shelve command for removed lines beginning with "--"
 
7973
  (Johan Dahlberg, #75577)
 
7974
 
 
7975
Testing
 
7976
*******
 
7977
 
 
7978
* New ``--first`` option to ``bzr selftest`` to run specified tests
 
7979
  before the rest of the suite.  (Martin Pool)
 
7980
 
 
7981
 
 
7982
bzr 0.14  2007-01-23
 
7983
####################
 
7984
 
 
7985
Improvements
 
7986
************
 
7987
 
 
7988
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
7989
 
 
7990
Bug Fixes
 
7991
*********
 
7992
 
 
7993
* Skip documentation generation tests if the tools to do so are not
 
7994
  available. Fixes running selftest for installled copies of bzr.
 
7995
  (John Arbash Meinel, #80330)
 
7996
 
 
7997
* Fix the code that discovers whether bzr is being run from it's
 
7998
  working tree to handle the case when it isn't but the directory
 
7999
  it is in is below a repository. (James Westby, #77306)
 
8000
 
 
8001
 
 
8002
bzr 0.14rc1  2007-01-16
 
8003
#######################
 
8004
 
 
8005
Improvements
 
8006
************
 
8007
 
 
8008
* New connection: ``bzr+http://`` which supports tunnelling the smart
 
8009
  protocol over an HTTP connection. If writing is enabled on the bzr
 
8010
  server, then you can write over the http connection.
 
8011
  (Andrew Bennetts, John Arbash Meinel)
 
8012
 
 
8013
* Aliases now support quotation marks, so they can contain whitespace
 
8014
  (Marius Kruger)
 
8015
 
 
8016
* PyCurlTransport now use a single curl object. By specifying explicitly
 
8017
  the 'Range' header, we avoid the need to use two different curl objects
 
8018
  (and two connections to the same server). (Vincent Ladeuil)
 
8019
 
 
8020
* ``bzr commit`` does not prompt for a message until it is very likely to
 
8021
  succeed.  (Aaron Bentley)
 
8022
 
 
8023
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
8024
  (Aaron Bentley)
 
8025
 
 
8026
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
8027
  of a list while checking if a revision id was requested. Takes 10s
 
8028
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
8029
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
8030
  filtering lines with a regex rather than multiple ``str.find()``
 
8031
  calls. (saves another 300ms) (John Arbash Meinel)
 
8032
 
 
8033
* Policy can be set for each configuration key. This allows keys to be
 
8034
  inherited properly across configuration entries. For example, this
 
8035
  should enable you to do::
 
8036
 
 
8037
    [/home/user/project]
 
8038
    push_location = sftp://host/srv/project/
 
8039
    push_location:policy = appendpath
 
8040
 
 
8041
  And then a branch like ``/home/user/project/mybranch`` should get an
 
8042
  automatic push location of ``sftp://host/srv/project/mybranch``.
 
8043
  (James Henstridge)
 
8044
 
 
8045
* Added ``bzr status --short`` to make status report svn style flags
 
8046
  for each file.  For example::
 
8047
 
 
8048
    $ bzr status --short
 
8049
    A  foo
 
8050
    A  bar
 
8051
    D  baz
 
8052
    ?  wooley
 
8053
 
 
8054
* 'bzr selftest --clean-output' allows easily clean temporary tests
 
8055
  directories without running tests. (Alexander Belchenko)
 
8056
 
 
8057
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
8058
 
 
8059
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
8060
  local is fully merged into remote. (Jan Hudec)
 
8061
 
 
8062
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
8063
 
 
8064
Internals
 
8065
*********
 
8066
 
 
8067
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
8068
  help speed up processing, as well allowing to extract unannotated
 
8069
  lines. Between the two ``fileids_affected_by_revision_ids`` is
 
8070
  improved by approx 10%. (John Arbash Meinel)
 
8071
 
 
8072
* Change Revision serialization to only write out millisecond
 
8073
  resolution. Rather than expecting floating point serialization to
 
8074
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
8075
 
 
8076
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
8077
 
 
8078
* When ``encoding_type`` attribute of class Command is equal to 'exact',
 
8079
  force sys.stdout to be a binary stream on Windows, and therefore
 
8080
  keep exact line-endings (without LF -> CRLF conversion).
 
8081
  (Alexander Belchenko)
 
8082
 
 
8083
* Single-letter short options are no longer globally declared.  (Martin
 
8084
  Pool)
 
8085
 
 
8086
* Before using detected user/terminal encoding bzr should check
 
8087
  that Python has corresponding codec. (Alexander Belchenko)
 
8088
 
 
8089
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
8090
 
 
8091
Bug Fixes
 
8092
*********
 
8093
 
 
8094
* ``bzr missing --verbose`` was showing adds/removals in the wrong
 
8095
  direction. (John Arbash Meinel)
 
8096
 
 
8097
* ``bzr annotate`` now defaults to showing dotted revnos for merged
 
8098
  revisions. It cuts them off at a depth of 12 characters, but you can
 
8099
  supply ``--long`` to see the full number. You can also use
 
8100
  ``--show-ids`` to display the original revision ids, rather than
 
8101
  revision numbers and committer names. (John Arbash Meinel, #75637)
 
8102
 
 
8103
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
 
8104
  (Alexander Belchenko, #57869)
 
8105
 
 
8106
* Win32-specific: output of cat, bundle and diff commands don't mangle
 
8107
  line-endings (Alexander Belchenko, #55276)
 
8108
 
 
8109
* Replace broken fnmatch based ignore pattern matching with custom pattern
 
8110
  matcher.
 
8111
  (Kent Gibson, Jan Hudec #57637)
 
8112
 
 
8113
* pycurl and urllib can detect short reads at different places. Update
 
8114
  the test suite to test more cases. Also detect http error code 416
 
8115
  which was raised for that specific bug. Also enhance the urllib
 
8116
  robustness by detecting invalid ranges (and pycurl's one by detecting
 
8117
  short reads during the initial GET). (Vincent Ladeuil, #73948)
 
8118
 
 
8119
* The urllib connection sharing interacts badly with urllib2
 
8120
  proxy setting (the connections didn't go thru the proxy
 
8121
  anymore). Defining a proper ProxyHandler solves the
 
8122
  problem.  (Vincent Ladeuil, #74759)
 
8123
 
 
8124
* Use urlutils to generate relative URLs, not osutils
 
8125
  (Aaron Bentley, #76229)
 
8126
 
 
8127
* ``bzr status`` in a readonly directory should work without giving
 
8128
  lots of errors. (John Arbash Meinel, #76299)
 
8129
 
 
8130
* Mention the revisionspec topic for the revision option help.
 
8131
  (Wouter van Heyst, #31663)
 
8132
 
 
8133
* Allow plugins import from zip archives.
 
8134
  (Alexander Belchenko, #68124)
 
8135
 
 
8136
 
 
8137
bzr 0.13  2006-12-05
 
8138
####################
 
8139
 
 
8140
No changes from 0.13rc
 
8141
 
 
8142
 
 
8143
bzr 0.13rc1  2006-11-27
 
8144
#######################
 
8145
 
 
8146
Improvements
 
8147
************
 
8148
 
 
8149
* New command ``bzr remove-tree`` allows the removal of the working
 
8150
  tree from a branch.
 
8151
  (Daniel Silverstone)
 
8152
 
 
8153
* urllib uses shared keep-alive connections, so http
 
8154
  operations are substantially faster.
 
8155
  (Vincent Ladeuil, #53654)
 
8156
 
 
8157
* ``bzr export`` allows an optional branch parameter, to export a bzr
 
8158
  tree from some other url. For example:
 
8159
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
8160
  (Daniel Silverstone)
 
8161
 
 
8162
* Added ``bzr help topics`` to the bzr help system. This gives a
 
8163
  location for general information, outside of a specific command.
 
8164
  This includes updates for ``bzr help revisionspec`` the first topic
 
8165
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
8166
 
 
8167
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
8168
  (Andrew Bennetts)
 
8169
 
 
8170
* Knit files will now cache full texts only when the size of the
 
8171
  deltas is as large as the size of the fulltext. (Or after 200
 
8172
  deltas, whichever comes first). This has the most benefit on large
 
8173
  files with small changes, such as the inventory for a large project.
 
8174
  (eg For a project with 2500 files, and 7500 revisions, it changes
 
8175
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
8176
 
 
8177
Internals
 
8178
*********
 
8179
 
 
8180
* New -D option given before the command line turns on debugging output
 
8181
  for particular areas.  -Derror shows tracebacks on all errors.
 
8182
  (Martin Pool)
 
8183
 
 
8184
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
8185
  and remove benchmarks that take longer than 10min to run.
 
8186
  (John Arbash Meinel)
 
8187
 
 
8188
* Use ``time.time()`` instead of ``time.clock()`` to decide on
 
8189
  progress throttling. Because ``time.clock()`` is actually CPU time,
 
8190
  so over a high-latency connection, too many updates get throttled.
 
8191
  (John Arbash Meinel)
 
8192
 
 
8193
* ``MemoryTransport.list_dir()`` would strip the first character for
 
8194
  files or directories in root directory. (John Arbash Meinel)
 
8195
 
 
8196
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
 
8197
  branch references - which the smart server component needs.
 
8198
 
 
8199
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
8200
  prefix.  It disallows any access to locations above a set URL.  (Andrew
 
8201
  Bennetts)
 
8202
 
 
8203
Bug Fixes
 
8204
*********
 
8205
 
 
8206
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
8207
  And optimize the knit index parsing code.
 
8208
  (Dmitry Vasiliev, John Arbash Meinel)
 
8209
 
 
8210
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
8211
  without importing it. This prevented ``bzr upgrade`` from working
 
8212
  unless a plugin already imported ``bzrlib.workingtree``
 
8213
  (John Arbash Meinel, #70716)
 
8214
 
 
8215
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
8216
 
 
8217
* Give nicer error message when an http server returns a 403
 
8218
  error code. (Vincent Ladeuil, #57644).
 
8219
 
 
8220
* When a multi-range http GET request fails, try a single
 
8221
  range one. If it fails too, forget about ranges. Remember that until
 
8222
  the death of the transport and propagates that to the clones.
 
8223
  (Vincent Ladeuil, #62276, #62029).
 
8224
 
 
8225
* Handles user/passwords supplied in url from command
 
8226
  line (for the urllib implementation). Don't request already
 
8227
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
8228
 
 
8229
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
8230
  are added. This fixes bug where fetching remote revisions records
 
8231
  them as full references rather than integers.
 
8232
  (John Arbash Meinel, #64789)
 
8233
 
 
8234
* ``bzr ignore`` strips trailing slashes in patterns.
 
8235
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
8236
 
 
8237
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
8238
 
 
8239
* mv correctly handles paths that traverse symlinks.
 
8240
  (Aaron Bentley, #66964)
 
8241
 
 
8242
* Give nicer looking error messages when failing to connect over ssh.
 
8243
  (John Arbash Meinel, #49172)
 
8244
 
 
8245
* Pushing to a remote branch does not currently update the remote working
 
8246
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
8247
  machine now show that the working tree is out of date.
 
8248
  (Cheuksan Edward Wang #48136)
 
8249
 
 
8250
* Use patiencediff instead of difflib for determining deltas to insert
 
8251
  into knits. This avoids the O(N^3) behavior of difflib. Patience
 
8252
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
8253
 
 
8254
* Running ``bzr log`` on nonexistent file gives an error instead of the
 
8255
  entire log history. (Cheuksan Edward Wang #50793)
 
8256
 
 
8257
* ``bzr cat`` can look up contents of removed or renamed files. If the
 
8258
  pathname is ambiguous, i.e. the files in the old and new trees have
 
8259
  different id's, the default is the file in the new tree. The user can
 
8260
  use "--name-from-revision" to select the file in the old tree.
 
8261
  (Cheuksan Edward Wang, #30190)
 
8262
 
 
8263
Testing
 
8264
*******
 
8265
 
 
8266
* TestingHTTPRequestHandler really handles the Range header
 
8267
  (previously it was ignoring it and returning the whole file,).
 
8268
 
 
8269
bzr 0.12  2006-10-30
 
8270
####################
 
8271
 
 
8272
Internals
 
8273
*********
 
8274
 
 
8275
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
8276
  and remove benchmarks that take longer than 10min to run.
 
8277
  (John Arbash Meinel)
 
8278
 
 
8279
bzr 0.12rc1  2006-10-23
 
8280
#######################
 
8281
 
 
8282
Improvements
 
8283
************
 
8284
 
 
8285
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
8286
  rather than just showing a decimal revision number for revisions on the
 
8287
  mainline. These revision numbers are not yet accepted as input into bzr
 
8288
  commands such as log, diff etc. (Robert Collins)
 
8289
 
 
8290
* revisions can now be specified using dotted-decimal revision numbers.
 
8291
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
8292
 
 
8293
* ``bzr help commands`` output is now shorter (Aaron Bentley)
 
8294
 
 
8295
* ``bzr`` now uses lazy importing to reduce the startup time. This has
 
8296
  a moderate effect on lots of actions, especially ones that have
 
8297
  little to do. For example ``bzr rocks`` time is down to 116ms from
 
8298
  283ms. (John Arbash Meinel)
 
8299
 
 
8300
* New Registry class to provide name-to-object registry-like support,
 
8301
  for example for schemes where plugins can register new classes to
 
8302
  do certain tasks (e.g. log formatters). Also provides lazy registration
 
8303
  to allow modules to be loaded on request.
 
8304
  (John Arbash Meinel, Adeodato Simó)
 
8305
 
 
8306
API Incompatability
 
8307
*******************
 
8308
 
 
8309
* LogFormatter subclasses show now expect the 'revno' parameter to
 
8310
  show() to be a string rather than an int. (Robert Collins)
 
8311
 
 
8312
Internals
 
8313
*********
 
8314
 
 
8315
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
8316
  can take a ``working_dir='foo'`` parameter, which will change directory
 
8317
  for the command. (John Arbash Meinel)
 
8318
 
 
8319
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
8320
  around a regex, which defers compilation until first use.
 
8321
  (John Arbash Meinel)
 
8322
 
 
8323
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
8324
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
8325
  problems with system-wide installed plugins. (John Arbash Meinel)
 
8326
 
 
8327
* Unique tree root ids are now supported. Newly created trees still
 
8328
  use the common root id for compatibility with bzr versions before 0.12.
 
8329
  (Aaron Bentley)
 
8330
 
 
8331
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
8332
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
8333
  (Robert Collins, John Arbash Meinel)
 
8334
 
 
8335
* New method ``WorkingTree.flush()`` which will write the current memory
 
8336
  inventory out to disk. At the same time, ``read_working_inventory`` will
 
8337
  no longer trash the current tree inventory if it has been modified within
 
8338
  the current lock, and the tree will now ``flush()`` automatically on
 
8339
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
8340
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
8341
 
 
8342
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
8343
  parameter will cause it to add another column to its output, which
 
8344
  contains the dotted-decimal revno for each revision, as a tuple.
 
8345
  (Robert Collins)
 
8346
 
 
8347
* ``LogFormatter.show_merge`` is deprecated in favour of
 
8348
  ``LogFormatter.show_merge_revno``. (Robert Collins)
 
8349
 
 
8350
Bug Fixes
 
8351
*********
 
8352
 
 
8353
* Avoid circular imports by creating a deprecated function for
 
8354
  ``bzrlib.tree.RevisionTree``. Callers should have been using
 
8355
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
8356
  #66349)
 
8357
 
 
8358
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
8359
  platforms. (Martin Pool, #66356)
 
8360
 
 
8361
* Don't require ``Content-Type`` in range responses. Assume they are a
 
8362
  single range if ``Content-Type`` does not exist.
 
8363
  (John Arbash Meinel, #62473)
 
8364
 
 
8365
* bzr branch/pull no longer complain about progress bar cleanup when
 
8366
  interrupted during fetch.  (Aaron Bentley, #54000)
 
8367
 
 
8368
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
8369
  the basis inventory, rather than going through the repository. This
 
8370
  allows us to have 1 inventory read, and 2 inventory writes when
 
8371
  committing a new tree. (John Arbash Meinel)
 
8372
 
 
8373
* When reverting, files that are not locally modified that do not exist
 
8374
  in the target are deleted, not just unversioned (Aaron Bentley)
 
8375
 
 
8376
* When trying to acquire a lock, don't fail immediately. Instead, try
 
8377
  a few times (up to 1 hour) before timing out. Also, report why the
 
8378
  lock is unavailable (John Arbash Meinel, #43521, #49556)
 
8379
 
 
8380
* Leave HttpTransportBase daughter classes decides how they
 
8381
  implement cloning. (Vincent Ladeuil, #61606)
 
8382
 
 
8383
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
8384
 
 
8385
* If a commit fails, the commit message is stored in a file at the root of
 
8386
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
8387
  #32054)
 
8388
 
 
8389
Testing
 
8390
*******
 
8391
 
 
8392
* New test base class TestCaseWithMemoryTransport offers memory-only
 
8393
  testing facilities: its not suitable for tests that need to mutate disk
 
8394
  state, but most tests should not need that and should be converted to
 
8395
  TestCaseWithMemoryTransport. (Robert Collins)
 
8396
 
 
8397
* ``TestCase.make_branch_and_memory_tree`` now takes a format
 
8398
  option to set the BzrDir, Repository and Branch formats of the
 
8399
  created objects. (Robert Collins, John Arbash Meinel)
 
8400
 
 
8401
bzr 0.11  2006-10-02
 
8402
####################
 
8403
 
 
8404
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
8405
 
 
8406
bzr 0.11rc2  2006-09-27
 
8407
#######################
 
8408
 
 
8409
Bug Fixes
 
8410
*********
 
8411
 
 
8412
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
8413
 
 
8414
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
8415
  Arbash Meinel).
 
8416
 
 
8417
bzr 0.11rc1  2006-09-25
 
8418
#######################
 
8419
 
 
8420
Improvements
 
8421
************
 
8422
 
 
8423
* Knit files now wait to create their contents until the first data is
 
8424
  added. The old code used to create an empty .knit and a .kndx with just
 
8425
  the header. However, this caused a lot of extra round trips over sftp.
 
8426
  This can change the time for ``bzr push`` to create a new remote branch
 
8427
  from 160s down to 100s. This also affects ``bzr commit`` performance when
 
8428
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
8429
  down to 40s (John Arbash Meinel, #44692)
 
8430
 
 
8431
* When an entire subtree has been deleted, commit will now report that
 
8432
  just the top of the subtree has been deleted, rather than reporting
 
8433
  all the individual items. (Robert Collins)
 
8434
 
 
8435
* Commit performs one less XML parse. (Robert Collins)
 
8436
 
 
8437
* ``bzr checkout`` now operates on readonly branches as well
 
8438
  as readwrite branches. This fixes bug #39542. (Robert Collins)
 
8439
 
 
8440
* ``bzr bind`` no longer synchronises history with the master branch.
 
8441
  Binding should be followed by an update or push to synchronise the
 
8442
  two branches. This is closely related to the fix for bug #39542.
 
8443
  (Robert Collins)
 
8444
 
 
8445
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
 
8446
  objects.  This allows all imports to stay at the global scope, but
 
8447
  modules will not actually be imported if they are not used.
 
8448
  (John Arbash Meinel)
 
8449
 
 
8450
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
8451
  transport which will be used with the upcoming high-performance smart
 
8452
  server. The new command ``bzr serve`` will invoke bzr in server mode,
 
8453
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
8454
  Pool)
 
8455
 
 
8456
* New command ``bzr version-info`` which can be used to get a summary
 
8457
  of the current state of the tree. This is especially useful as part
 
8458
  of a build commands. See ``doc/version_info.txt`` for more information
 
8459
  (John Arbash Meinel)
 
8460
 
 
8461
Bug Fixes
 
8462
*********
 
8463
 
 
8464
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
8465
  specific set of files. (John Arbash Meinel, #3631)
 
8466
 
 
8467
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
8468
 
 
8469
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
8470
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
8471
  reading a nested Stanza. (John Arbash Meinel)
 
8472
 
 
8473
* Transform._set_mode() needs to stat the right file.
 
8474
  (John Arbash Meinel, #56549)
 
8475
 
 
8476
* Raise WeaveFormatError rather than StopIteration when trying to read
 
8477
  an empty Weave file. (John Arbash Meinel, #46871)
 
8478
 
 
8479
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
8480
  (Vincent Ladeuil, #59835)
 
8481
 
 
8482
* Handle boundary="" lines properly to allow access through a Squid proxy.
 
8483
  (John Arbash Meinel, #57723)
 
8484
 
 
8485
* revert now removes newly-added directories (Aaron Bentley, #54172)
 
8486
 
 
8487
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
 
8488
  isn't a working tree. (David Allouche, #40679)
 
8489
 
 
8490
* Give nicer error messages when a user supplies an invalid --revision
 
8491
  parameter. (John Arbash Meinel, #55420)
 
8492
 
 
8493
* Handle when LANG is not recognized by python. Emit a warning, but
 
8494
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
8495
 
 
8496
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
8497
  (John Arbash Meinel)
 
8498
 
 
8499
* Skip specific tests when the dependencies aren't met. This includes
 
8500
  some ``setup.py`` tests when ``python-dev`` is not available, and
 
8501
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
8502
 
 
8503
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
8504
  the system. (Andrew Bennetts, John Arbash Meinel)
 
8505
 
 
8506
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
8507
  other branch, and will not push or pull between the two branches.
 
8508
  API users will need to perform a push or pull or update operation if they
 
8509
  require branch synchronisation to take place. (Robert Collins, #47344)
 
8510
 
 
8511
* When creating a tarball or zipfile export, export unicode names as utf-8
 
8512
  paths. This may not work perfectly on all platforms, but has the best
 
8513
  chance of working in the common case. (John Arbash Meinel, #56816)
 
8514
 
 
8515
* When committing, only files that exist in working tree or basis tree
 
8516
  may be specified (Aaron Bentley, #50793)
 
8517
 
 
8518
Portability
 
8519
***********
 
8520
 
 
8521
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
8522
 
 
8523
Internals
 
8524
*********
 
8525
 
 
8526
* TestCaseInTempDir now creates a separate directory for HOME, rather
 
8527
  than having HOME set to the same location as the working directory.
 
8528
  (John Arbash Meinel)
 
8529
 
 
8530
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
8531
  which will update os.environ inside the spawned child. It also can
 
8532
  take a ``universal_newlines=True``, which helps when checking the output
 
8533
  of the command. (John Arbash Meinel)
 
8534
 
 
8535
* Refactor SFTP vendors to allow easier re-use when ssh is used.
 
8536
  (Andrew Bennetts)
 
8537
 
 
8538
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
8539
  return urlescaped paths. This is now tested (there were bugs in a few
 
8540
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
8541
 
 
8542
* New utility function ``symbol_versioning.deprecation_string``. Returns the
 
8543
  formatted string for a callable, deprecation format pair. (Robert Collins)
 
8544
 
 
8545
* New TestCase helper applyDeprecated. This allows you to call a callable
 
8546
  which is deprecated without it spewing to the screen, just by supplying
 
8547
  the deprecation format string issued for it. (Robert Collins)
 
8548
 
 
8549
* Transport.append and Transport.put have been deprecated in favor of
 
8550
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
8551
  ``.put_file``. This removes the ambiguity in what type of object the
 
8552
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
8553
  been added. Which works similarly to ``Transport.append()`` except for
 
8554
  SFTP, it doesn't have a round trip when opening the file. Also, it
 
8555
  provides functionality for creating a parent directory when trying
 
8556
  to create a file, rather than raise NoSuchFile and forcing the
 
8557
  caller to repeat their request.
 
8558
  (John Arbash Meinel)
 
8559
 
 
8560
* WorkingTree has a new api ``unversion`` which allow the unversioning of
 
8561
  entries by their file id. (Robert Collins)
 
8562
 
 
8563
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
8564
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
8565
 
 
8566
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
8567
  read rather than write. This is appropriate for actions which only need
 
8568
  the branch data for reference rather than mutation. A new decorator
 
8569
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
8570
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
 
8571
  declaration of the locking requirements of a function to ensure that
 
8572
  a lock is taken out for casual scripts. (Robert Collins, #54107)
 
8573
 
 
8574
* All WorkingTree methods which write to the tree, but not to the branch
 
8575
  have been converted to use ``needs_tree_write_lock`` rather than
 
8576
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
8577
  transform modules. This provides a modest performance improvement on
 
8578
  metadir style trees, due to the reduce lock-acquisition, and a more
 
8579
  significant performance improvement on lightweight checkouts from
 
8580
  remote branches, where trivial operations used to pay a significant
 
8581
  penalty. It also provides the basis for allowing readonly checkouts.
 
8582
  (Robert Collins)
 
8583
 
 
8584
* Special case importing the standard library 'copy' module. This shaves
 
8585
  off 40ms of startup time, while retaining compatibility. See:
 
8586
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
8587
 
 
8588
* WorkingTree has a new parent class MutableTree which represents the
 
8589
  specialisations of Tree which are able to be altered. (Robert Collins)
 
8590
 
 
8591
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
8592
  mutate the tree and its contents. (Robert Collins)
 
8593
 
 
8594
* Transport behaviour at the root of the URL is now defined and tested.
 
8595
  (Andrew Bennetts, Robert Collins)
 
8596
 
 
8597
Testing
 
8598
*******
 
8599
 
 
8600
* New test helper classs MemoryTree. This is typically accessed via
 
8601
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
8602
 
 
8603
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
8604
  code to continue running concurrently with a subprocess of bzr.
 
8605
  (Andrew Bennetts, Robert Collins)
 
8606
 
 
8607
* Add a new method ``Transport.get_smart_client()``. This is provided to
 
8608
  allow upgrades to a richer interface than the VFS one provided by
 
8609
  Transport. (Andrew Bennetts, Martin Pool)
 
8610
 
 
8611
bzr 0.10  2006-08-29
 
8612
####################
 
8613
 
 
8614
Improvements
 
8615
************
 
8616
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
8617
  tree.  (Aaron Bentley)
 
8618
 
 
8619
* 'bzr add --file-ids-from' can be used to specify another path to use
 
8620
  for creating file ids, rather than generating all new ones. Internally,
 
8621
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
8622
  will be used, rather than having bzrlib generate new ones.
 
8623
  (John Arbash Meinel, #55781)
 
8624
 
 
8625
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
8626
  This will cache some of the intermediate trees, and decrease the
 
8627
  setup time for benchmark tests. (John Arbash Meinel)
 
8628
 
 
8629
* Inverse forms are provided for all boolean options.  For example,
 
8630
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
8631
 
 
8632
* Serialize out Inventories directly, rather than using ElementTree.
 
8633
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
8634
  (Robert Collins, John Arbash Meinel)
 
8635
 
 
8636
Bug Fixes
 
8637
*********
 
8638
 
 
8639
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
8640
 
 
8641
* Change LockDir so that if the lock directory doesn't exist when
 
8642
  ``lock_write()`` is called, an attempt will be made to create it.
 
8643
  (John Arbash Meinel, #56974)
 
8644
 
 
8645
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
8646
 
 
8647
* Active FTP transport now works as intended. (ghozzy, #56472)
 
8648
 
 
8649
* Really fix mutter() so that it won't ever raise a UnicodeError.
 
8650
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
8651
  But it is a debugging log, not a real user file.
 
8652
  (John Arbash Meinel, #56947, #53880)
 
8653
 
 
8654
* Change Command handle to allow Unicode command and options.
 
8655
  At present we cannot register Unicode command names, so we will get
 
8656
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
8657
  But that is better than a UnicodeError + a traceback.
 
8658
  (John Arbash Meinel, #57123)
 
8659
 
 
8660
* Handle TZ=UTC properly when reading/writing revisions.
 
8661
  (John Arbash Meinel, #55783, #56290)
 
8662
 
 
8663
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
8664
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
8665
 
 
8666
* External diff does the right thing for binaries even in foreign
 
8667
  languages. (John Arbash Meinel, #56307)
 
8668
 
 
8669
* Testament handles more cases when content is unicode. Specific bug was
 
8670
  in handling of revision properties.
 
8671
  (John Arbash Meinel, Holger Krekel, #54723)
 
8672
 
 
8673
* The bzr selftest was failing on installed versions due to a bug in a new
 
8674
  test helper. (John Arbash Meinel, Robert Collins, #58057)
 
8675
 
 
8676
Internals
 
8677
*********
 
8678
 
 
8679
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
8680
  which can be used to cache the conversion between utf8 and Unicode.
 
8681
  Especially helpful for some of the knit annotation code, which has to
 
8682
  convert revision ids to utf8 to annotate lines in storage.
 
8683
  (John Arbash Meinel)
 
8684
 
 
8685
* ``setup.py`` now searches the filesystem to find all packages which
 
8686
  need to be installed. This should help make the life of packagers
 
8687
  easier. (John Arbash Meinel)
 
8688
 
 
8689
bzr 0.9.0  2006-08-11
 
8690
#####################
 
8691
 
 
8692
Surprises
 
8693
*********
 
8694
 
 
8695
* The hard-coded built-in ignore rules have been removed. There are
 
8696
  now two rulesets which are enforced. A user global one in
 
8697
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
8698
  specific one '.bzrignore'.
 
8699
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
8700
  a more conservative list than the old default.
 
8701
  This fixes bugs with default rules being enforced no matter what.
 
8702
  The old list of ignore rules from bzr is available by
 
8703
  running 'bzr ignore --old-default-rules'.
 
8704
  (Robert Collins, Martin Pool, John Arbash Meinel)
 
8705
 
 
8706
* 'branches.conf' has been changed to 'locations.conf', since it can apply
 
8707
  to more locations than just branch locations.
 
8708
  (Aaron Bentley)
 
8709
 
 
8710
Improvements
 
8711
************
 
8712
 
 
8713
* The revision specifier "revno:" is extended to accept the syntax
 
8714
  revno:N:branch. For example,
 
8715
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
8716
  bzr.dev.  (Matthieu Moy)
 
8717
 
 
8718
* Tests updates to ensure proper URL handling, UNICODE support, and
 
8719
  proper printing when the user's terminal encoding cannot display
 
8720
  the path of a file that has been versioned.
 
8721
  ``bzr branch`` can take a target URL rather than only a local directory.
 
8722
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
8723
  and normalize the parent based on root, allowing access across
 
8724
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
8725
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
8726
  #42517, #42514)
 
8727
 
 
8728
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
8729
  Use terminal width for single-line logs from ``bzr log --line`` and
 
8730
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
8731
  (Malone #3507)
 
8732
 
 
8733
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
8734
  (Alexander Belchenko)
 
8735
 
 
8736
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
8737
 
 
8738
* Show the correct number of revisions pushed when pushing a new branch.
 
8739
  (Robert Collins).
 
8740
 
 
8741
* 'bzr selftest' now shows a progress bar with the number of tests, and
 
8742
  progress made. 'make check' shows tests in -v mode, to be more useful
 
8743
  for the PQM status window. (Robert Collins).
 
8744
  When using a progress bar, failed tests are printed out, rather than
 
8745
  being overwritten by the progress bar until the suite finishes.
 
8746
  (John Arbash Meinel)
 
8747
 
 
8748
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
8749
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
8750
  profile data for the individual profiled calls, allowing for fine
 
8751
  grained analysis of performance.
 
8752
  (Robert Collins, Martin Pool).
 
8753
 
 
8754
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
8755
  where commit can take an appreciable time. (Robert Collins)
 
8756
 
 
8757
* 'bzr add' is now less verbose in telling you what ignore globs were
 
8758
  matched by files being ignored. Instead it just tells you how many
 
8759
  were ignored (because you might reasonably be expecting none to be
 
8760
  ignored). 'bzr add -v' is unchanged and will report every ignored
 
8761
  file. (Robert Collins).
 
8762
 
 
8763
* ftp now has a test server if medusa is installed. As part of testing,
 
8764
  ftp support has been improved, including support for supplying a
 
8765
  non-standard port. (John Arbash Meinel).
 
8766
 
 
8767
* 'bzr log --line' shows the revision number, and uses only the
 
8768
  first line of the log message (#5162, Alexander Belchenko;
 
8769
  Matthieu Moy)
 
8770
 
 
8771
* 'bzr status' has had the --all option removed. The 'bzr ls' command
 
8772
  should be used to retrieve all versioned files. (Robert Collins)
 
8773
 
 
8774
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
8775
  over email, and applied on the other end, while maintaining ancestry.
 
8776
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
8777
  the same way you would apply another branch.
 
8778
  (John Arbash Meinel, Aaron Bentley)
 
8779
 
 
8780
* 'bzr whoami' can now be used to set your identity from the command line,
 
8781
  for a branch or globally.  (Robey Pointer)
 
8782
 
 
8783
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
8784
  (Michael Ellerman)
 
8785
 
 
8786
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
8787
  (Aaron Bentley)
 
8788
 
 
8789
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
8790
  Also updates things like 'http+pycurl://' if pycurl is not present.
 
8791
  (John Arbash Meinel) (Malone #47821, #52204)
 
8792
 
 
8793
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
8794
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
 
8795
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
8796
 
 
8797
* Improve the help text for 'bzr diff' to explain what various options do.
 
8798
  (John Arbash Meinel, #6391)
 
8799
 
 
8800
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
8801
  revision 10. This makes -r10 more in line with what other commands do.
 
8802
  'bzr uncommit' also now saves the pending merges of the revisions that
 
8803
  were removed. So it is safe to uncommit after a merge, fix something,
 
8804
  and commit again. (John Arbash Meinel, #32526, #31426)
 
8805
 
 
8806
* 'bzr init' now also works on remote locations.
 
8807
  (Wouter van Heyst, #48904)
 
8808
 
 
8809
* HTTP support has been updated. When using pycurl we now support
 
8810
  connection keep-alive, which reduces dns requests and round trips.
 
8811
  And for both urllib and pycurl we support multi-range requests,
 
8812
  which decreases the number of round-trips. Performance results for
 
8813
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
8814
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
 
8815
  branch is as much as 4x faster.
 
8816
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
8817
 
 
8818
* Performance improvements for sftp. Branching and pulling are now up to
 
8819
  2x faster. Utilize paramiko.readv() support for async requests if it
 
8820
  is available (paramiko > 1.6) (John Arbash Meinel)
 
8821
 
 
8822
Bug Fixes
 
8823
*********
 
8824
 
 
8825
* Fix shadowed definition of TestLocationConfig that caused some
 
8826
  tests not to run.
 
8827
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
8828
 
 
8829
* Fix unnecessary requirement of sign-my-commits that it be run from
 
8830
  a working directory.  (Martin Pool, Robert Collins)
 
8831
 
 
8832
* 'bzr push location' will only remember the push location if it succeeds
 
8833
  in connecting to the remote location. (John Arbash Meinel, #49742)
 
8834
 
 
8835
* 'bzr revert' no longer toggles the executable bit on win32
 
8836
  (John Arbash Meinel, #45010)
 
8837
 
 
8838
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
8839
 
 
8840
* sftp tests now work correctly on win32 if you have a newer paramiko
 
8841
  (John Arbash Meinel)
 
8842
 
 
8843
* Cleanup win32 test suite, and general cleanup of places where
 
8844
  file handles were being held open. (John Arbash Meinel)
 
8845
 
 
8846
* When specifying filenames for 'diff -r x..y', the name of the file in the
 
8847
  working directory can be used, even if its name is different in both x
 
8848
  and y.
 
8849
 
 
8850
* File-ids containing single- or double-quotes are handled correctly by
 
8851
  push. (Aaron Bentley, #52227)
 
8852
 
 
8853
* Normalize unicode filenames to ensure cross-platform consistency.
 
8854
  (John Arbash Meinel, #43689)
 
8855
 
 
8856
* The argument parser can now handle '-' as an argument. Currently
 
8857
  no code interprets it specially (it is mostly handled as a file named
 
8858
  '-'). But plugins, and future operations can use it.
 
8859
  (John Arbash meinel, #50984)
 
8860
 
 
8861
* Bundles can properly read binary files with a plain '\r' in them.
 
8862
  (John Arbash Meinel, #51927)
 
8863
 
 
8864
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
8865
 
 
8866
* Lots of win32 fixes (the test suite passes again).
 
8867
  (John Arbash Meinel, #50155)
 
8868
 
 
8869
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
 
8870
 
 
8871
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
8872
 
 
8873
* Removals are only committed if they match the filespec (or if there is
 
8874
  no filespec).  (#46635, Aaron Bentley)
 
8875
 
 
8876
* smart-add recurses through all supplied directories
 
8877
  (John Arbash Meinel, #52578)
 
8878
 
 
8879
* Make the bundle reader extra lines before and after the bundle text.
 
8880
  This allows you to parse an email with the bundle inline.
 
8881
  (John Arbash Meinel, #49182)
 
8882
 
 
8883
* Change the file id generator to squash a little bit more. Helps when
 
8884
  working with long filenames on windows. (Also helps for unicode filenames
 
8885
  not generating hidden files). (John Arbash Meinel, #43801)
 
8886
 
 
8887
* Restore terminal mode on C-c while reading sftp password.  (#48923,
 
8888
  Nicholas Allen, Martin Pool)
 
8889
 
 
8890
* Timestamps are rounded to 1ms, and revision entries can be recreated
 
8891
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
8892
 
 
8893
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
8894
  use local paths, since it is user visible (John Arbash Meinel, #53653)
 
8895
 
 
8896
* ``bzr status foo`` when foo was unversioned used to cause a full delta
 
8897
  to be generated (John Arbash Meinel, #53638)
 
8898
 
 
8899
* When reading revision properties, an empty value should be considered
 
8900
  the empty string, not None (John Arbash Meinel, #47782)
 
8901
 
 
8902
* ``bzr diff --diff-options`` can now handle binary files being changed.
 
8903
  Also, the output is consistent when --diff-options is not supplied.
 
8904
  (John Arbash Meinel, #54651, #52930)
 
8905
 
 
8906
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
8907
 
 
8908
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
 
8909
  accessible (John Arbash Meinel, #52976)
 
8910
 
 
8911
Internals
 
8912
*********
 
8913
 
 
8914
* Combine the ignore rules into a single regex rather than looping over
 
8915
  them to reduce the threshold where  N^2 behaviour occurs in operations
 
8916
  like status. (Jan Hudec, Robert Collins).
 
8917
 
 
8918
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
8919
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
8920
 
 
8921
* 'bzr push' should only push the ancestry of the current revision, not
 
8922
  all of the history in the repository. This is especially important for
 
8923
  shared repositories. (John Arbash Meinel)
 
8924
 
 
8925
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
8926
  rather than randomly walking the inventories. (John Arbash Meinel)
 
8927
 
 
8928
* Doctests are now run in temporary directories which are cleaned up when
 
8929
  they finish, rather than using special ScratchDir/ScratchBranch objects.
 
8930
  (Martin Pool)
 
8931
 
 
8932
* Split ``check`` into separate methods on the branch and on the repository,
 
8933
  so that it can be specialized in ways that are useful or efficient for
 
8934
  different formats.  (Martin Pool, Robert Collins)
 
8935
 
 
8936
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
8937
  the global revision graph but only that part leading up to a particular
 
8938
  revision.  (Martin Pool, Robert Collins)
 
8939
 
 
8940
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
8941
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
8942
  (Robert Collins, Jelmer Vernooij).
 
8943
 
 
8944
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
8945
  Uses subprocess instead of spawnvp.
 
8946
  (James Henstridge, John Arbash Meinel, #4047, #48914)
 
8947
 
 
8948
* New command line option '--profile-imports', which will install a custom
 
8949
  importer to log time to import modules and regex compilation time to
 
8950
  sys.stderr (John Arbash Meinel)
 
8951
 
 
8952
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
8953
  instead. (Robert Collins)
 
8954
 
 
8955
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
8956
 
 
8957
bzr 0.8.2  2006-05-17
 
8958
#####################
 
8959
 
 
8960
Bug Fixes
 
8961
*********
 
8962
 
 
8963
* setup.py failed to install launchpad plugin.  (Martin Pool)
 
8964
 
 
8965
bzr 0.8.1  2006-05-16
 
8966
#####################
 
8967
 
 
8968
Bug Fixes
 
8969
*********
 
8970
 
 
8971
* Fix failure to commit a merge in a checkout.  (Martin Pool,
 
8972
  Robert Collins, Erik Bågfors, #43959)
 
8973
 
 
8974
* Nicer messages from 'commit' in the case of renames, and correct
 
8975
  messages when a merge has occured. (Robert Collins, Martin Pool)
 
8976
 
 
8977
* Separate functionality from assert statements as they are skipped in
 
8978
  optimized mode of python. Add the same check to pending merges.
 
8979
  (Olaf Conradi, #44443)
 
8980
 
 
8981
Changes
 
8982
*******
 
8983
 
 
8984
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
8985
 
 
8986
* Add info on standalone branches without a working tree.
 
8987
  (Olaf Conradi, #44155)
 
8988
 
 
8989
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
8990
 
 
8991
Changes
 
8992
*******
 
8993
 
 
8994
* Make editor invocation comply with Debian Policy. First check
 
8995
  environment variables VISUAL and EDITOR, then try editor from
 
8996
  alternatives system. If that all fails, fall back to the pre-defined
 
8997
  list of editors. (Olaf Conradi, #42904)
 
8998
 
 
8999
New Features
 
9000
************
 
9001
 
 
9002
* New 'register-branch' command registers a public branch into
 
9003
  Launchpad.net, where it can be associated with bugs, etc.
 
9004
  (Martin Pool, Bjorn Tillenius, Robert Collins)
 
9005
 
 
9006
Internals
 
9007
*********
 
9008
 
 
9009
* New public api in InventoryEntry - ``describe_change(old, new)`` which
 
9010
  provides a human description of the changes between two old and
 
9011
  new. (Robert Collins, Martin Pool)
 
9012
 
 
9013
Testing
 
9014
*******
 
9015
 
 
9016
* Fix test case for bzr info in upgrading a standalone branch to metadir,
 
9017
  uses bzrlib api now. (Olaf Conradi)
 
9018
 
 
9019
bzr 0.8  2006-05-08
 
9020
###################
 
9021
 
 
9022
Notes When Upgrading
 
9023
********************
 
9024
 
 
9025
Release 0.8 of bzr introduces a new format for history storage, called
 
9026
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
 
9027
and remote operations are faster using knits than weaves.  Several
 
9028
operations including 'init', 'init-repo', and 'upgrade' take a
 
9029
--format option that controls this.  Branching from an existing branch
 
9030
will keep the same format.
 
9031
 
 
9032
It is possible to merge, pull and push between branches of different
 
9033
formats but this is slower than moving data between homogenous
 
9034
branches.  It is therefore recommended (but not required) that you
 
9035
upgrade all branches for a project at the same time.  Information on
 
9036
formats is shown by 'bzr info'.
 
9037
 
 
9038
bzr 0.8 now allows creation of 'repositories', which hold the history
 
9039
of files and revisions for several branches.  Previously bzr kept all
 
9040
the history for a branch within the .bzr directory at the root of the
 
9041
branch, and this is still the default.  To create a repository, use
 
9042
the new 'bzr init-repo' command.  Branches exist as directories under
 
9043
the repository and contain just a small amount of information
 
9044
indicating the current revision of the branch.
 
9045
 
 
9046
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
9047
subversion.  Checkouts are associated with a branch (optionally in a
 
9048
repository), which contains all the historical information.  The
 
9049
result is that a checkout can be deleted without losing any
 
9050
already-committed revisions.  A new 'update' command is also available.
 
9051
 
 
9052
Repositories and checkouts are not supported with the 0.7 storage
 
9053
format.  To use them you must upgrad to either knits, or to the
 
9054
'metaweave' format, which uses weaves but changes the .bzr directory
 
9055
arrangement.
 
9056
 
 
9057
 
 
9058
Improvements
 
9059
************
 
9060
 
 
9061
* sftp paths can now be relative, or local, according to the lftp
 
9062
  convention. Paths now take the form::
 
9063
 
 
9064
      sftp://user:pass@host:port/~/relative/path
 
9065
      or
 
9066
      sftp://user:pass@host:port/absolute/path
 
9067
 
 
9068
* The FTP transport now tries to reconnect after a temporary
 
9069
  failure. ftp put is made atomic. (Matthieu Moy)
 
9070
 
 
9071
* The FTP transport now maintains a pool of connections, and
 
9072
  reuses them to avoid multiple connections to the same host (like
 
9073
  sftp did). (Daniel Silverstone)
 
9074
 
 
9075
* The ``bzr_man.py`` file has been removed. To create the man page now,
 
9076
  use ``./generate_docs.py man``. The new program can also create other files.
 
9077
  Run ``python generate_docs.py --help`` for usage information.
 
9078
  (Hans Ulrich Niedermann & James Blackwell).
 
9079
 
 
9080
* Man Page now gives full help (James Blackwell).
 
9081
  Help also updated to reflect user config now being stored in .bazaar
 
9082
  (Hans Ulrich Niedermann)
 
9083
 
 
9084
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
9085
 
 
9086
* Pull now accepts a --revision argument (Erik Bågfors)
 
9087
 
 
9088
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
9089
  line. You can now use the following command to sign all of your old
 
9090
  commits::
 
9091
 
 
9092
    find .bzr/revision-store// -name my@email-* \
 
9093
      | sed 's/.*\/\/..\///' \
 
9094
      | xargs bzr re-sign
 
9095
 
 
9096
* Upgrade can now upgrade over the network. (Robert Collins)
 
9097
 
 
9098
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
9099
  behaviour.  By default they will cache history in the checkout, but
 
9100
  with --lightweight almost all data is kept in the master branch.
 
9101
  (Robert Collins)
 
9102
 
 
9103
* 'revert' unversions newly-versioned files, instead of deleting them.
 
9104
 
 
9105
* 'merge' is more robust.  Conflict messages have changed.
 
9106
 
 
9107
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
9108
  '.moved'.
 
9109
 
 
9110
* Default log format can be set in configuration and plugins can register
 
9111
  their own formatters. (Erik Bågfors)
 
9112
 
 
9113
* New 'reconcile' command will check branch consistency and repair indexes
 
9114
  that can become out of sync in pre 0.8 formats. (Robert Collins,
 
9115
  Daniel Silverstone)
 
9116
 
 
9117
* New 'bzr init --format' and 'bzr upgrade --format' option to control
 
9118
  what storage format is created or produced.  (Robert Collins,
 
9119
  Martin Pool)
 
9120
 
 
9121
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
9122
 
 
9123
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
9124
 
 
9125
* New 'init-repository' command, plus support for repositories in 'init'
 
9126
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
9127
 
 
9128
* Improve output of 'info' command. Show all relevant locations related to
 
9129
  working tree, branch and repository. Use kibibytes for binary quantities.
 
9130
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
9131
  work on branches, repositories and remote locations.  Show locations
 
9132
  relative to the shared repository, if applicable.  Show locking status
 
9133
  of locations.  (Olaf Conradi)
 
9134
 
 
9135
* Diff and merge now safely handle binary files. (Aaron Bentley)
 
9136
 
 
9137
* 'pull' and 'push' now normalise the revision history, so that any two
 
9138
  branches with the same tip revision will have the same output from 'log'.
 
9139
  (Robert Collins)
 
9140
 
 
9141
* 'merge' accepts --remember option to store parent location, like 'push'
 
9142
  and 'pull'. (Olaf Conradi)
 
9143
 
 
9144
* bzr status and diff when files given as arguments do not exist
 
9145
  in the relevant trees.  (Martin Pool, #3619)
 
9146
 
 
9147
* Add '.hg' to the default ignore list.  (Martin Pool)
 
9148
 
 
9149
* 'knit' is now the default disk format. This improves disk performance and
 
9150
  utilization, increases incremental pull performance, robustness with SFTP
 
9151
  and allows checkouts over SFTP to perform acceptably.
 
9152
  The initial Knit code was contributed by Johan Rydberg based on a
 
9153
  specification by Martin Pool.
 
9154
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
9155
 
 
9156
* New tool to generate all-in-one html version of the manual.  (Alexander
 
9157
  Belchenko)
 
9158
 
 
9159
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
9160
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
9161
 
 
9162
* New option 'diff --prefix' to control how files are named in diff
 
9163
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
 
9164
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
9165
 
 
9166
* Add --revision option to 'annotate' command.  (Olaf Conradi)
 
9167
 
 
9168
* If bzr shows an unexpected revision-history after pulling (perhaps due
 
9169
  to a reweave) it can now be corrected by 'bzr reconcile'.
 
9170
  (Robert Collins)
 
9171
 
 
9172
Changes
 
9173
*******
 
9174
 
 
9175
* Commit is now verbose by default, and shows changed filenames and the
 
9176
  new revision number.  (Robert Collins, Martin Pool)
 
9177
 
 
9178
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
9179
 
 
9180
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
9181
 
 
9182
* Make 'pull' and 'push' remember location on failure using --remember.
 
9183
  (Olaf Conradi)
 
9184
 
 
9185
* For compatibility, make old format for using weaves inside metadir
 
9186
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
9187
  Clean up help for option --format in commands 'init', 'init-repo' and
 
9188
  'upgrade'.  (Olaf Conradi)
 
9189
 
 
9190
Internals
 
9191
*********
 
9192
 
 
9193
* The internal storage of history, and logical branch identity have now
 
9194
  been split into Branch, and Repository. The common locking and file
 
9195
  management routines are now in bzrlib.lockablefiles.
 
9196
  (Aaron Bentley, Robert Collins, Martin Pool)
 
9197
 
 
9198
* Transports can now raise DependencyNotPresent if they need a library
 
9199
  which is not installed, and then another implementation will be
 
9200
  tried.  (Martin Pool)
 
9201
 
 
9202
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
 
9203
  (Martin Pool)
 
9204
 
 
9205
* Using Tree Transform for merge, revert, tree-building
 
9206
 
 
9207
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
9208
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
9209
  replacement API's. (Robert Collins)
 
9210
 
 
9211
* New BzrDir class represents the .bzr control directory and manages
 
9212
  formatting issues. (Robert Collins)
 
9213
 
 
9214
* New repository.InterRepository class encapsulates Repository to
 
9215
  Repository actions and allows for clean selection of optimised code
 
9216
  paths. (Robert Collins)
 
9217
 
 
9218
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
9219
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
9220
  depending on your needs. (Robert Collins)
 
9221
 
 
9222
* deprecated methods now have a ``is_deprecated`` flag on them that can
 
9223
  be checked, if you need to determine whether a given callable is
 
9224
  deprecated at runtime. (Robert Collins)
 
9225
 
 
9226
* Progress bars are now nested - see
 
9227
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
9228
  (Robert Collins, Robey Pointer)
 
9229
 
 
9230
* New API call ``get_format_description()`` for each type of format.
 
9231
  (Olaf Conradi)
 
9232
 
 
9233
* Changed ``branch.set_parent()`` to accept None to remove parent.
 
9234
  (Olaf Conradi)
 
9235
 
 
9236
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
9237
 
 
9238
* WorkingTree.branch is now a read only property.  (Robert Collins)
 
9239
 
 
9240
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
9241
  can be None or a factory that will create a progress bar. This is
 
9242
  useful for testing or for overriding the bzrlib.progress heuristic.
 
9243
  (Robert Collins)
 
9244
 
 
9245
* New API method ``get_physical_lock_status()`` to query locks present on a
 
9246
  transport.  (Olaf Conradi)
 
9247
 
 
9248
* Repository.reconcile now takes a thorough keyword parameter to allow
 
9249
  requesting an indepth reconciliation, rather than just a data-loss
 
9250
  check. (Robert Collins)
 
9251
 
 
9252
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
9253
  the user for yes/no style input. (Robert Collins)
 
9254
 
 
9255
Testing
 
9256
*******
 
9257
 
 
9258
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
9259
  for testing SFTP protocol support. (Robey Pointer)
 
9260
 
 
9261
* Branch formats are now tested once per implementation (see ``bzrlib.
 
9262
  tests.branch_implementations``. This is analagous to the transport
 
9263
  interface tests, and has been followed up with working tree,
 
9264
  repository and BzrDir tests. (Robert Collins)
 
9265
 
 
9266
* New test base class TestCaseWithTransport provides a transport aware
 
9267
  test environment, useful for testing any transport-interface using
 
9268
  code. The test suite option --transport controls the transport used
 
9269
  by this class (when its not being used as part of implementation
 
9270
  contract testing). (Robert Collins)
 
9271
 
 
9272
* Close logging handler on disabling the test log. This will remove the
 
9273
  handler from the internal list inside python's logging module,
 
9274
  preventing shutdown from closing it twice.  (Olaf Conradi)
 
9275
 
 
9276
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
9277
 
 
9278
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
9279
  parameter which will provide String("foo") to the command as its stdin.
 
9280
 
 
9281
bzr 0.7 2006-01-09
 
9282
##################
 
9283
 
 
9284
Changes
 
9285
*******
 
9286
 
 
9287
* .bzrignore is excluded from exports, on the grounds that it's a bzr
 
9288
  internal-use file and may not be wanted.  (Jamie Wilkinson)
 
9289
 
 
9290
* The "bzr directories" command were removed in favor of the new
 
9291
  --kind option to the "bzr inventory" command.  To list all
 
9292
  versioned directories, now use "bzr inventory --kind directory".
 
9293
  (Johan Rydberg)
 
9294
 
 
9295
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
9296
  by default. (John Arbash Meinel)
 
9297
 
 
9298
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
9299
  environment variable. Now the path for it is searched in ``BZR_HOME``,
 
9300
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
9301
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
9302
  ``HOME``. (John Arbash Meinel)
 
9303
 
 
9304
* Plugins with the same name in different directories in the bzr plugin
 
9305
  path are no longer loaded: only the first successfully loaded one is
 
9306
  used. (Robert Collins)
 
9307
 
 
9308
* Use systems' external ssh command to open connections if possible.
 
9309
  This gives better integration with user settings such as ProxyCommand.
 
9310
  (James Henstridge)
 
9311
 
 
9312
* Permissions on files underneath .bzr/ are inherited from the .bzr
 
9313
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
9314
  will mean that future file will be created with group write permissions.
 
9315
 
 
9316
* configure.in and config.guess are no longer in the builtin default
 
9317
  ignore list.
 
9318
 
 
9319
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
9320
  files.  (John Arbash Meinel, Martin Pool)
 
9321
 
 
9322
Improvements
 
9323
************
 
9324
 
 
9325
* "bzr INIT dir" now initializes the specified directory, and creates
 
9326
  it if it does not exist.  (John Arbash Meinel)
 
9327
 
 
9328
* New remerge command (Aaron Bentley)
 
9329
 
 
9330
* Better zsh completion script.  (Steve Borho)
 
9331
 
 
9332
* 'bzr diff' now returns 1 when there are changes in the working
 
9333
  tree. (Robert Collins)
 
9334
 
 
9335
* 'bzr push' now exists and can push changes to a remote location.
 
9336
  This uses the transport infrastructure, and can store the remote
 
9337
  location in the ~/.bazaar/branches.conf configuration file.
 
9338
  (Robert Collins)
 
9339
 
 
9340
* Test directories are only kept if the test fails and the user requests
 
9341
  that they be kept.
 
9342
 
 
9343
* Tweaks to short log printing
 
9344
 
 
9345
* Added branch nicks, new nick command, printing them in log output.
 
9346
  (Aaron Bentley)
 
9347
 
 
9348
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
 
9349
  occurs.  (Martin Pool)
 
9350
 
 
9351
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
9352
  the same as Subversion.  (Martin Pool)
 
9353
 
 
9354
* New ftp transport support (on ftplib), for ftp:// and aftp://
 
9355
  URLs.  (Daniel Silverstone)
 
9356
 
 
9357
* Commit editor temporary files now start with ``bzr_log.``, to allow
 
9358
  text editors to match the file name and set up appropriate modes or
 
9359
  settings.  (Magnus Therning)
 
9360
 
 
9361
* Improved performance when integrating changes from a remote weave.
 
9362
  (Goffredo Baroncelli)
 
9363
 
 
9364
* Sftp will attempt to cache the connection, so it is more likely that
 
9365
  a connection will be reused, rather than requiring multiple password
 
9366
  requests.
 
9367
 
 
9368
* bzr revno now takes an optional argument indicating the branch whose
 
9369
  revno should be printed.  (Michael Ellerman)
 
9370
 
 
9371
* bzr cat defaults to printing the last version of the file.
 
9372
  (Matthieu Moy, #3632)
 
9373
 
 
9374
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
 
9375
  profiler.  (Denys Duchier)
 
9376
 
 
9377
* Faster commits by reading only the headers of affected weave files.
 
9378
  (Denys Duchier)
 
9379
 
 
9380
* 'bzr add' now takes a --dry-run parameter which shows you what would be
 
9381
  added, but doesn't actually add anything. (Michael Ellerman)
 
9382
 
 
9383
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
9384
  lists the specific files.  (Aaron Bentley)
 
9385
 
 
9386
* 'bzr missing' now supports displaying changes in diverged trees and can
 
9387
  be limited to show what either end of the comparison is missing.
 
9388
  (Aaron Bently, with a little prompting from Daniel Silverstone)
 
9389
 
 
9390
Bug Fixes
 
9391
*********
 
9392
 
 
9393
* SFTP can walk up to the root path without index errors. (Robert Collins)
 
9394
 
 
9395
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
9396
 
 
9397
* Error when run with -OO
 
9398
 
 
9399
* Fix bug in reporting http errors that don't have an http error code.
 
9400
  (Martin Pool)
 
9401
 
 
9402
* Handle more cases of pipe errors in display commands
 
9403
 
 
9404
* Change status to 3 for all errors
 
9405
 
 
9406
* Files that are added and unlinked before committing are completely
 
9407
  ignored by diff and status
 
9408
 
 
9409
* Stores with some compressed texts and some uncompressed texts are now
 
9410
  able to be used. (John A Meinel)
 
9411
 
 
9412
* Fix for bzr pull failing sometimes under windows
 
9413
 
 
9414
* Fix for sftp transport under windows when using interactive auth
 
9415
 
 
9416
* Show files which are both renamed and modified as such in 'bzr
 
9417
  status' output.  (Daniel Silverstone, #4503)
 
9418
 
 
9419
* Make annotate cope better with revisions committed without a valid
 
9420
  email address.  (Marien Zwart)
 
9421
 
 
9422
* Fix representation of tab characters in commit messages.
 
9423
  (Harald Meland)
 
9424
 
 
9425
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
9426
  now parsed properly under Windows. (Alexander Belchenko)
 
9427
 
 
9428
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
9429
 
 
9430
* Keep a cached copy of the basis inventory to speed up operations
 
9431
  that need to refer to it.  (Johan Rydberg, Martin Pool)
 
9432
 
 
9433
* Fix bugs in bzr status display of non-ascii characters.
 
9434
  (Martin Pool)
 
9435
 
 
9436
* Remove Makefile.in from default ignore list.
 
9437
  (Tollef Fog Heen, Martin Pool, #6413)
 
9438
 
 
9439
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
9440
 
 
9441
Testing
 
9442
*******
 
9443
 
 
9444
* Fix selftest asking for passwords when there are no SFTP keys.
 
9445
  (Robey Pointer, Jelmer Vernooij)
 
9446
 
 
9447
* Fix selftest run with 'python -O'.  (Martin Pool)
 
9448
 
 
9449
* Fix HTTP tests under Windows. (John Arbash Meinel)
 
9450
 
 
9451
* Make tests work even if HOME is not set (Aaron Bentley)
 
9452
 
 
9453
* Updated ``build_tree`` to use fixed line-endings for tests which read
 
9454
  the file cotents and compare. Make some tests use this to pass under
 
9455
  Windows. (John Arbash Meinel)
 
9456
 
 
9457
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
9458
 
 
9459
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
9460
  (John Arbash Meinel)
 
9461
 
 
9462
* Use terminal width to align verbose test output.  (Martin Pool)
 
9463
 
 
9464
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
9465
  If adding a new test script please add that to
 
9466
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
9467
 
 
9468
* Much better error message if one of the test suites can't be
 
9469
  imported.  (Martin Pool)
 
9470
 
 
9471
* Make check now runs the test suite twice - once with the default locale,
 
9472
  and once with all locales forced to C, to expose bugs. This is not
 
9473
  trivially done within python, so for now its only triggered by running
 
9474
  Make check. Integrators and packagers who wish to check for full
 
9475
  platform support should run 'make check' to test the source.
 
9476
  (Robert Collins)
 
9477
 
 
9478
* Tests can now run TestSkipped if they can't execute for any reason.
 
9479
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
9480
  reasons - see the wiki spec ImprovingBzrTestSuite).
 
9481
 
 
9482
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
9483
  paths for the transport tests. Introduce blackbox remote sftp tests that
 
9484
  test the same permutations. (Robert Collins, Robey Pointer)
 
9485
 
 
9486
* Transport implementation tests are now independent of the local file
 
9487
  system, which allows tests for esoteric transports, and for features
 
9488
  not available in the local file system. They also repeat for variations
 
9489
  on the URL scheme that can introduce issues in the transport code,
 
9490
  see bzrlib.transport.TransportTestProviderAdapter() for this.
 
9491
  (Robert Collins).
 
9492
 
 
9493
* ``TestCase.build_tree`` uses the transport interface to build trees,
 
9494
  pass in a transport parameter to give it an existing connection.
 
9495
  (Robert Collins).
 
9496
 
 
9497
Internals
 
9498
*********
 
9499
 
 
9500
* WorkingTree.pull has been split across Branch and WorkingTree,
 
9501
  to allow Branch only pulls. (Robert Collins)
 
9502
 
 
9503
* ``commands.display_command`` now returns the result of the decorated
 
9504
  function. (Robert Collins)
 
9505
 
 
9506
* LocationConfig now has a ``set_user_option(key, value)`` call to save
 
9507
  a setting in its matching location section (a new one is created
 
9508
  if needed). (Robert Collins)
 
9509
 
 
9510
* Branch has two new methods, ``get_push_location`` and
 
9511
  ``set_push_location`` to respectively, get and set the push location.
 
9512
  (Robert Collins)
 
9513
 
 
9514
* ``commands.register_command`` now takes an optional flag to signal that
 
9515
  the registrant is planning to decorate an existing command. When
 
9516
  given multiple plugins registering a command is not an error, and
 
9517
  the original command class (whether built in or a plugin based one) is
 
9518
  returned to the caller. There is a new error 'MustUseDecorated' for
 
9519
  signalling when a wrapping command should switch to the original
 
9520
  version. (Robert Collins)
 
9521
 
 
9522
* Some option parsing errors will raise 'BzrOptionError', allowing
 
9523
  granular detection for decorating commands. (Robert Collins).
 
9524
 
 
9525
* ``Branch.read_working_inventory`` has moved to
 
9526
  ``WorkingTree.read_working_inventory``. This necessitated changes to
 
9527
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
9528
  WorkingTree as well. To make it clear that a WorkingTree cannot always
 
9529
  be obtained ``Branch.working_tree()`` will raise
 
9530
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
9531
 
 
9532
* All pending merges operations from Branch are now on WorkingTree.
 
9533
  (Robert Collins)
 
9534
 
 
9535
* The follow operations from Branch have moved to WorkingTree::
 
9536
 
 
9537
      add()
 
9538
      commit()
 
9539
      move()
 
9540
      rename_one()
 
9541
      unknowns()
 
9542
 
 
9543
  (Robert Collins)
 
9544
 
 
9545
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
9546
 
 
9547
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
9548
 
 
9549
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
 
9550
  Pool)
 
9551
 
 
9552
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
 
9553
  query method. (Robert Collins)
 
9554
 
 
9555
* New options to read only the table-of-contents of a weave.
 
9556
  (Denys Duchier)
 
9557
 
 
9558
* Raise NoSuchFile when someone tries to add a non-existant file.
 
9559
  (Michael Ellerman)
 
9560
 
 
9561
* Simplify handling of DivergedBranches in ``cmd_pull()``.
 
9562
  (Michael Ellerman)
 
9563
 
 
9564
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
9565
  is exposed as ``Branch().control_files``. Also this has been altered with the
 
9566
  controlfile pre/suffix replaced by simple method names like 'get' and
 
9567
  'put'. (Aaron Bentley, Robert Collins).
 
9568
 
 
9569
* Deprecated functions and methods can now be marked as such using the
 
9570
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
9571
  updated and will issue a DeprecationWarning using the warnings module
 
9572
  when they are used. (Robert Collins)
 
9573
 
 
9574
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
9575
  for functions that need unicode strings. (Robert Collins)
 
9576
 
 
9577
bzr 0.6 2005-10-28
 
9578
##################
 
9579
 
 
9580
Improvements
 
9581
************
 
9582
 
 
9583
* pull now takes --verbose to show you what revisions are added or removed
 
9584
  (John A Meinel)
 
9585
 
 
9586
* merge now takes a --show-base option to include the base text in
 
9587
  conflicts.
 
9588
  (Aaron Bentley)
 
9589
 
 
9590
* The config files are now read using ConfigObj, so '=' should be used as
 
9591
  a separator, not ':'.
 
9592
  (Aaron Bentley)
 
9593
 
 
9594
* New 'bzr commit --strict' option refuses to commit if there are
 
9595
  any unknown files in the tree.  To commit, make sure all files are
 
9596
  either ignored, added, or deleted.  (Michael Ellerman)
 
9597
 
 
9598
* The config directory is now ~/.bazaar, and there is a single file
 
9599
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
9600
  (Robert Collins)
 
9601
 
 
9602
* 'bzr add' no longer takes a --verbose option, and a --quiet option
 
9603
  has been added that suppresses all output.
 
9604
 
 
9605
* Improved zsh completion support in contrib/zsh, from Clint
 
9606
  Adams.
 
9607
 
 
9608
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
 
9609
  Goffredo Baroncelli.
 
9610
 
 
9611
* 'bzr check' now accepts -v for verbose reporting, and checks for
 
9612
  ghosts in the branch. (Robert Collins)
 
9613
 
 
9614
* New command 're-sign' which will regenerate the gpg signature for
 
9615
  a revision. (Robert Collins)
 
9616
 
 
9617
* If you set ``check_signatures=require`` for a path in
 
9618
  ``~/.bazaar/branches.conf`` then bzr will invoke your
 
9619
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
9620
  of your commit. (Robert Collins)
 
9621
 
 
9622
* New sftp transport, based on Paramiko.  (Robey Pointer)
 
9623
 
 
9624
* 'bzr pull' now accepts '--clobber' which will discard local changes
 
9625
  and make this branch identical to the source branch. (Robert Collins)
 
9626
 
 
9627
* Just give a quieter warning if a plugin can't be loaded, and
 
9628
  put the details in .bzr.log.  (Martin Pool)
 
9629
 
 
9630
* 'bzr branch' will now set the branch-name to the last component of the
 
9631
  output directory, if one was supplied.
 
9632
 
 
9633
* If the option ``post_commit`` is set to one (or more) python function
 
9634
  names (must be in the bzrlib namespace), then they will be invoked
 
9635
  after the commit has completed, with the branch and ``revision_id`` as
 
9636
  parameters. (Robert Collins)
 
9637
 
 
9638
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
9639
 
 
9640
* --merge-type weave is now supported for file contents.  Tree-shape
 
9641
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
9642
 
 
9643
* 'bzr check' allows the first revision on revision-history to have
 
9644
  parents - something that is expected for cheap checkouts, and occurs
 
9645
  when conversions from baz do not have all history.  (Robert Collins).
 
9646
 
 
9647
* 'bzr merge' can now graft unrelated trees together, if your specify
 
9648
  0 as a base. (Aaron Bentley)
 
9649
 
 
9650
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
9651
  (Aaron Bentley)
 
9652
 
 
9653
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
9654
 
 
9655
* 'bzr merge --reprocess' minimizes conflicts
 
9656
 
 
9657
Testing
 
9658
*******
 
9659
 
 
9660
* The 'bzr selftest --pattern' option for has been removed, now
 
9661
  test specifiers on the command line can be simple strings, or
 
9662
  regexps, or both. (Robert Collins)
 
9663
 
 
9664
* Passing -v to selftest will now show the time each test took to
 
9665
  complete, which will aid in analysing performance regressions and
 
9666
  related questions. (Robert Collins)
 
9667
 
 
9668
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
9669
  is given. (Martin Pool)
 
9670
 
 
9671
* There is a new method for TestCaseInTempDir, assertFileEqual, which
 
9672
  will check that a given content is equal to the content of the named
 
9673
  file. (Robert Collins)
 
9674
 
 
9675
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
9676
  (Martin Pool)
 
9677
 
 
9678
Internals
 
9679
*********
 
9680
 
 
9681
* New 'testament' command and concept for making gpg-signatures
 
9682
  of revisions that are not tied to a particular internal
 
9683
  representation.  (Martin Pool).
 
9684
 
 
9685
* Per-revision properties ('revprops') as key-value associated
 
9686
  strings on each revision created when the revision is committed.
 
9687
  Intended mainly for the use of external tools.  (Martin Pool).
 
9688
 
 
9689
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
9690
  (Robert Collins)
 
9691
 
 
9692
* Improved command line option definitions allowing explanations
 
9693
  for individual options, among other things.  Contributed by
 
9694
  Magnus Therning.
 
9695
 
 
9696
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
9697
  Configuration is now done via the config.Config interface:
 
9698
  Depending on whether you have a Branch, a Location or no information
 
9699
  available, construct a ``*Config``, and use its ``signature_checking``,
 
9700
  ``username`` and ``user_email`` methods. (Robert Collins)
 
9701
 
 
9702
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
9703
  they are made available for other plugins to use. You should not
 
9704
  import other plugins during the ``__init__`` of your plugin though, as
 
9705
  no ordering is guaranteed, and the plugins directory is not on the
 
9706
  python path. (Robert Collins)
 
9707
 
 
9708
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
9709
  no longer takes an inventory, rather it takes an option branch
 
9710
  parameter, and if None is given will open the branch at basedir
 
9711
  implicitly. (Robert Collins)
 
9712
 
 
9713
* Cleaner exception structure and error reporting.  Suggested by
 
9714
  Scott James Remnant.  (Martin Pool)
 
9715
 
 
9716
* Branch.remove has been moved to WorkingTree, which has also gained
 
9717
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
9718
  (Robert Collins)
 
9719
 
 
9720
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
9721
  added to the branch module. Use these to cause a function to run in a
 
9722
  read or write lock respectively. (Robert Collins)
 
9723
 
 
9724
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
9725
  which allows direct access to the common case of 'get me this file
 
9726
  from its branch'. (Robert Collins)
 
9727
 
 
9728
* Transports can register using ``register_lazy_transport``, and they
 
9729
  will be loaded when first used.  (Martin Pool)
 
9730
 
 
9731
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
9732
  A new option to WorkingTree.pull has been added, clobber, which will
 
9733
  ignore diverged history and pull anyway.
 
9734
  (Robert Collins)
 
9735
 
 
9736
* config.Config has a ``get_user_option`` call that accepts an option name.
 
9737
  This will be looked up in branches.conf and bazaar.conf as normal.
 
9738
  It is intended that this be used by plugins to support options -
 
9739
  options of built in programs should have specific methods on the config.
 
9740
  (Robert Collins)
 
9741
 
 
9742
* ``merge.merge_inner`` now has tempdir as an optional parameter.
 
9743
  (Robert Collins)
 
9744
 
 
9745
* Tree.kind is not recorded at the top level of the hierarchy, as it was
 
9746
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
9747
  (Robert Collins)
 
9748
 
 
9749
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
 
9750
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
9751
  about future directions. (Robert Collins/Martin Pool)
 
9752
 
 
9753
* bzrlib.transport.http has been modified so that only 404 urllib errors
 
9754
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
9755
  This allows debuging of actual errors. (Robert Collins)
 
9756
 
 
9757
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
9758
  to apis like 'put', 'get' and 'has'. This is to provide consistent
 
9759
  behaviour - it operates on url's only. (Robert Collins)
 
9760
 
 
9761
* Transports can register using ``register_lazy_transport``, and they
 
9762
  will be loaded when first used.  (Martin Pool)
 
9763
 
 
9764
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
9765
  is called by ``merge_inner``. This is so that the conflict count can be
 
9766
  retrieved (and potentially manipulated) before returning to the caller
 
9767
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
9768
  caller. (Robert Collins)
 
9769
 
 
9770
* ``revision.revision_graph`` can handle having only partial history for
 
9771
  a revision - that is no revisions in the graph with no parents.
 
9772
  (Robert Collins).
 
9773
 
 
9774
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
9775
  produce a branch and a list of paths, relative to that branch
 
9776
  (Aaron Bentley)
 
9777
 
 
9778
* New TestCase.addCleanup facility.
 
9779
 
 
9780
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
9781
  which can be used by programs importing bzrlib.
 
9782
 
 
9783
Bug Fixes
 
9784
*********
 
9785
 
 
9786
* Better handling of branches in directories with non-ascii names.
 
9787
  (Joel Rosdahl, Panagiotis Papadakos)
 
9788
 
 
9789
* Upgrades of trees with no commits will not fail due to accessing
 
9790
  [-1] in the revision-history. (Andres Salomon)
 
9791
 
 
9792
 
 
9793
bzr 0.1.1 2005-10-12
 
9794
####################
 
9795
 
 
9796
Bug Fixes
 
9797
*********
 
9798
 
 
9799
* Fix problem in pulling over http from machines that do not
 
9800
  allow directories to be listed.
 
9801
 
 
9802
* Avoid harmless warning about invalid hash cache after
 
9803
  upgrading branch format.
 
9804
 
 
9805
Performance
 
9806
***********
 
9807
 
 
9808
* Avoid some unnecessary http operations in branch and pull.
 
9809
 
 
9810
 
 
9811
bzr 0.1 2005-10-11
 
9812
##################
 
9813
 
 
9814
Notes
 
9815
*****
 
9816
 
 
9817
* 'bzr branch' over http initially gives a very high estimate
 
9818
  of completion time but it should fall as the first few
 
9819
  revisions are pulled in.  branch is still slow on
 
9820
  high-latency connections.
 
9821
 
 
9822
Bug Fixes
 
9823
*********
 
9824
 
 
9825
* bzr-man.py has been updated to work again. Contributed by
 
9826
  Rob Weir.
 
9827
 
 
9828
* Locking is now done with fcntl.lockf which works with NFS
 
9829
  file systems. Contributed by Harald Meland.
 
9830
 
 
9831
* When a merge encounters a file that has been deleted on
 
9832
  one side and modified on the other, the old contents are
 
9833
  written out to foo.BASE and foo.SIDE, where SIDE is this
 
9834
  or OTHER. Contributed by Aaron Bentley.
 
9835
 
 
9836
* Export was choosing incorrect file paths for the content of
 
9837
  the tarball, this has been fixed by Aaron Bentley.
 
9838
 
 
9839
* Commit will no longer commit without a log message, an
 
9840
  error is returned instead. Contributed by Jelmer Vernooij.
 
9841
 
 
9842
* If you commit a specific file in a sub directory, any of its
 
9843
  parent directories that are added but not listed will be
 
9844
  automatically included. Suggested by Michael Ellerman.
 
9845
 
 
9846
* bzr commit and upgrade did not correctly record new revisions
 
9847
  for files with only a change to their executable status.
 
9848
  bzr will correct this when it encounters it. Fixed by
 
9849
  Robert Collins
 
9850
 
 
9851
* HTTP tests now force off the use of ``http_proxy`` for the duration.
 
9852
  Contributed by Gustavo Niemeyer.
 
9853
 
 
9854
* Fix problems in merging weave-based branches that have
 
9855
  different partial views of history.
 
9856
 
 
9857
* Symlink support: working with symlinks when not in the root of a
 
9858
  bzr tree was broken, patch from Scott James Remnant.
 
9859
 
 
9860
Improvements
 
9861
************
 
9862
 
 
9863
* 'branch' now accepts a --basis parameter which will take advantage
 
9864
  of local history when making a new branch. This allows faster
 
9865
  branching of remote branches. Contributed by Aaron Bentley.
 
9866
 
 
9867
* New tree format based on weave files, called version 5.
 
9868
  Existing branches can be upgraded to this format using
 
9869
  'bzr upgrade'.
 
9870
 
 
9871
* Symlinks are now versionable. Initial patch by
 
9872
  Erik Toubro Nielsen, updated to head by Robert Collins.
 
9873
 
 
9874
* Executable bits are tracked on files. Patch from Gustavo
 
9875
  Niemeyer.
 
9876
 
 
9877
* 'bzr status' now shows unknown files inside a selected directory.
 
9878
  Patch from Heikki Paajanen.
 
9879
 
 
9880
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
9881
  and 'resolve' have needed added, which list and remove those
 
9882
  merge conflicts respectively. A conflicted tree cannot be committed
 
9883
  in. Contributed by Aaron Bentley.
 
9884
 
 
9885
* 'rm' is now an alias for 'remove'.
 
9886
 
 
9887
* Stores now split out their content in a single byte prefixed hash,
 
9888
  dropping the density of files per directory by 256. Contributed by
 
9889
  Gustavo Niemeyer.
 
9890
 
 
9891
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
9892
  Contributed by Robert Collins.
 
9893
 
 
9894
* 'bzr log' with the default formatter will show merged revisions,
 
9895
  indented to the right. Initial implementation contributed by Gustavo
 
9896
  Niemeyer, made incremental by Robert Collins.
 
9897
 
 
9898
 
 
9899
Internals
 
9900
*********
 
9901
 
 
9902
* Test case failures have the exception printed after the log
 
9903
  for your viewing pleasure.
 
9904
 
 
9905
* InventoryEntry is now an abstract base class, use one of the
 
9906
  concrete InventoryDirectory etc classes instead.
 
9907
 
 
9908
* Branch raises an UnsupportedFormatError when it detects a
 
9909
  bzr branch it cannot understand. This allows for precise
 
9910
  handling of such circumstances.
 
9911
 
 
9912
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
9913
  list of their ids and ``parent_sha1s`` is a list of their corresponding
 
9914
  sha1s (for old branches only at the moment.)
 
9915
 
 
9916
* New method-object style interface for Commit() and Fetch().
 
9917
 
 
9918
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
9919
  we call them revisions not patches.
 
9920
 
 
9921
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
9922
  directory is created if it doesn't exist.
 
9923
 
 
9924
* Inventories now identify the files which were present by
 
9925
  giving the revision *of that file*.
 
9926
 
 
9927
* Inventory and Revision XML contains a version identifier.
 
9928
  This must be consistent with the overall branch version
 
9929
  but allows for more flexibility in future upgrades.
 
9930
 
 
9931
Testing
 
9932
*******
 
9933
 
 
9934
* Removed testsweet module so that tests can be run after
 
9935
  bzr installed by 'bzr selftest'.
 
9936
 
 
9937
* 'bzr selftest' command-line arguments can now be partial ids
 
9938
  of tests to run, e.g. ``bzr selftest test_weave``
 
9939
 
 
9940
 
 
9941
bzr 0.0.9 2005-09-23
 
9942
####################
 
9943
 
 
9944
Bug Fixes
 
9945
*********
 
9946
 
 
9947
* Fixed "branch -r" option.
 
9948
 
 
9949
* Fix remote access to branches containing non-compressed history.
 
9950
  (Robert Collins).
 
9951
 
 
9952
* Better reliability of http server tests.  (John Arbash-Meinel)
 
9953
 
 
9954
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
9955
 
 
9956
* Various minor bug in windows support have been fixed, largely in the
 
9957
  test suite. Contributed by Alexander Belchenko.
 
9958
 
 
9959
Improvements
 
9960
************
 
9961
 
 
9962
* Status now accepts a -r argument to give status between chosen
 
9963
  revisions. Contributed by Heikki Paajanen.
 
9964
 
 
9965
* Revision arguments no longer use +/-/= to control ranges, instead
 
9966
  there is a 'before' namespace, which limits the successive namespace.
 
9967
  For example '$ bzr log -r date:yesterday..before:date:today' will
 
9968
  select everything from yesterday and before today. Contributed by
 
9969
  Robey Pointer
 
9970
 
 
9971
* There is now a bzr.bat file created by distutils when building on
 
9972
  Windows. Contributed by Alexander Belchenko.
 
9973
 
 
9974
Internals
 
9975
*********
 
9976
 
 
9977
* Removed uuid() as it was unused.
 
9978
 
 
9979
* Improved 'fetch' code for pulling revisions from one branch into
 
9980
  another (used by pull, merged, etc.)
 
9981
 
 
9982
 
 
9983
bzr 0.0.8 2005-09-20
 
9984
####################
 
9985
 
 
9986
Improvements
 
9987
************
 
9988
 
 
9989
* Adding a file whose parent directory is not versioned will
 
9990
  implicitly add the parent, and so on up to the root. This means
 
9991
  you should never need to explictly add a directory, they'll just
 
9992
  get added when you add a file in the directory.  Contributed by
 
9993
  Michael Ellerman.
 
9994
 
 
9995
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
9996
  (Nir Soffer)
 
9997
 
 
9998
* If you set ``BZR_EDITOR`` in the environment, it is checked in
 
9999
  preference to EDITOR and the config file for the interactive commit
 
10000
  editing program. Related to this is a bugfix where a missing program
 
10001
  set in EDITOR would cause editing to fail, now the fallback program
 
10002
  for the operating system is still tried.
 
10003
 
 
10004
* Files that are not directories/symlinks/regular files will no longer
 
10005
  cause bzr to fail, it will just ignore them by default. You cannot add
 
10006
  them to the tree though - they are not versionable.
 
10007
 
 
10008
 
 
10009
Internals
 
10010
*********
 
10011
 
 
10012
* Refactor xml packing/unpacking.
 
10013
 
 
10014
Bug Fixes
 
10015
*********
 
10016
 
 
10017
* Fixed 'bzr mv' by Ollie Rutherfurd.
 
10018
 
 
10019
* Fixed strange error when trying to access a nonexistent http
 
10020
  branch.
 
10021
 
 
10022
* Make sure that the hashcache gets written out if it can't be
 
10023
  read.
 
10024
 
 
10025
 
 
10026
Portability
 
10027
***********
 
10028
 
 
10029
* Various Windows fixes from Ollie Rutherfurd.
 
10030
 
 
10031
* Quieten warnings about locking; patch from Matt Lavin.
 
10032
 
 
10033
 
 
10034
bzr-0.0.7 2005-09-02
 
10035
####################
 
10036
 
 
10037
New Features
 
10038
************
 
10039
 
 
10040
* ``bzr shell-complete`` command contributed by Clint Adams to
 
10041
  help with intelligent shell completion.
 
10042
 
 
10043
* New expert command ``bzr find-merge-base`` for debugging merges.
 
10044
 
 
10045
 
 
10046
Enhancements
 
10047
************
 
10048
 
 
10049
* Much better merge support.
 
10050
 
 
10051
* merge3 conflicts are now reported with markers like '<<<<<<<'
 
10052
  (seven characters) which is the same as CVS and pleases things
 
10053
  like emacs smerge.
 
10054
 
 
10055
 
 
10056
Bug Fixes
 
10057
*********
 
10058
 
 
10059
* ``bzr upgrade`` no longer fails when trying to fix trees that
 
10060
  mention revisions that are not present.
 
10061
 
 
10062
* Fixed bugs in listing plugins from ``bzr plugins``.
 
10063
 
 
10064
* Fix case of $EDITOR containing options for the editor.
 
10065
 
 
10066
* Fix log -r refusing to show the last revision.
 
10067
  (Patch from Goffredo Baroncelli.)
 
10068
 
 
10069
 
 
10070
Changes
 
10071
*******
 
10072
 
 
10073
* ``bzr log --show-ids`` shows the revision ids of all parents.
 
10074
 
 
10075
* Externally provided commands on your $BZRPATH no longer need
 
10076
  to recognize --bzr-usage to work properly, and can just handle
 
10077
  --help themselves.
 
10078
 
 
10079
 
 
10080
Library
 
10081
*******
 
10082
 
 
10083
* Changed trace messages to go through the standard logging
 
10084
  framework, so that they can more easily be redirected by
 
10085
  libraries.
 
10086
 
 
10087
 
 
10088
 
 
10089
bzr-0.0.6 2005-08-18
 
10090
####################
 
10091
 
 
10092
New Features
 
10093
************
 
10094
 
 
10095
* Python plugins, automatically loaded from the directories on
 
10096
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
10097
 
 
10098
* New 'bzr mkdir' command.
 
10099
 
 
10100
* Commit mesage is fetched from an editor if not given on the
 
10101
  command line; patch from Torsten Marek.
 
10102
 
 
10103
* ``bzr log -m FOO`` displays commits whose message matches regexp
 
10104
  FOO.
 
10105
 
 
10106
* ``bzr add`` with no arguments adds everything under the current directory.
 
10107
 
 
10108
* ``bzr mv`` does move or rename depending on its arguments, like
 
10109
  the Unix command.
 
10110
 
 
10111
* ``bzr missing`` command shows a summary of the differences
 
10112
  between two trees.  (Merged from John Arbash-Meinel.)
 
10113
 
 
10114
* An email address for commits to a particular tree can be
 
10115
  specified by putting it into .bzr/email within a branch.  (Based
 
10116
  on a patch from Heikki Paajanen.)
 
10117
 
 
10118
 
 
10119
Enhancements
 
10120
************
 
10121
 
 
10122
* Faster working tree operations.
 
10123
 
 
10124
 
 
10125
Changes
 
10126
*******
 
10127
 
 
10128
* 3rd-party modules shipped with bzr are copied within the bzrlib
 
10129
  python package, so that they can be installed by the setup
 
10130
  script without clashing with anything already existing on the
 
10131
  system.  (Contributed by Gustavo Niemeyer.)
 
10132
 
 
10133
* Moved plugins directory to bzrlib/, so that there's a standard
 
10134
  plugin directory which is not only installed with bzr itself but
 
10135
  is also available when using bzr from the development tree.
 
10136
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
10137
  standard plugins directory.
 
10138
 
 
10139
* When exporting to a tarball with ``bzr export --format tgz``, put
 
10140
  everything under a top directory rather than dumping it into the
 
10141
  current directory.   This can be overridden with the ``--root``
 
10142
  option.  Patch from William Dodé and John Meinel.
 
10143
 
 
10144
* New ``bzr upgrade`` command to upgrade the format of a branch,
 
10145
  replacing ``bzr check --update``.
 
10146
 
 
10147
* Files within store directories are no longer marked readonly on
 
10148
  disk.
 
10149
 
 
10150
* Changed ``bzr log`` output to a more compact form suggested by
 
10151
  John A Meinel.  Old format is available with the ``--long`` or
 
10152
  ``-l`` option, patched by William Dodé.
 
10153
 
 
10154
* By default the commit command refuses to record a revision with
 
10155
  no changes unless the ``--unchanged`` option is given.
 
10156
 
 
10157
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
10158
  line options must come before the command name because they
 
10159
  affect what commands are available; all other options must come
 
10160
  after the command name because their interpretation depends on
 
10161
  it.
 
10162
 
 
10163
* ``branch`` and ``clone`` added as aliases for ``branch``.
 
10164
 
 
10165
* Default log format is back to the long format; the compact one
 
10166
  is available with ``--short``.
 
10167
 
 
10168
 
 
10169
Bug Fixes
 
10170
*********
 
10171
 
 
10172
* Fix bugs in committing only selected files or within a subdirectory.
 
10173
 
 
10174
 
 
10175
bzr-0.0.5  2005-06-15
 
10176
#####################
 
10177
 
 
10178
Changes
 
10179
*******
 
10180
 
 
10181
* ``bzr`` with no command now shows help rather than giving an
 
10182
  error.  Suggested by Michael Ellerman.
 
10183
 
 
10184
* ``bzr status`` output format changed, because svn-style output
 
10185
  doesn't really match the model of bzr.  Now files are grouped by
 
10186
  status and can be shown with their IDs.  ``bzr status --all``
 
10187
  shows all versioned files and unknown files but not ignored files.
 
10188
 
 
10189
* ``bzr log`` runs from most-recent to least-recent, the reverse
 
10190
  of the previous order.  The previous behaviour can be obtained
 
10191
  with the ``--forward`` option.
 
10192
 
 
10193
* ``bzr inventory`` by default shows only filenames, and also ids
 
10194
  if ``--show-ids`` is given, in which case the id is the second
 
10195
  field.
 
10196
 
 
10197
 
 
10198
Enhancements
 
10199
************
 
10200
 
 
10201
* New 'bzr whoami --email' option shows only the email component
 
10202
  of the user identification, from Jo Vermeulen.
 
10203
 
 
10204
* New ``bzr ignore PATTERN`` command.
 
10205
 
 
10206
* Nicer error message for broken pipe, interrupt and similar
 
10207
  conditions that don't indicate an internal error.
 
10208
 
 
10209
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
10210
 
 
10211
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
10212
  either read or write mode.
 
10213
 
 
10214
* New option ``bzr log --show-ids`` shows revision and file ids.
 
10215
 
 
10216
* New usage ``bzr log FILENAME`` shows only revisions that
 
10217
  affected that file.
 
10218
 
 
10219
* Changed format for describing changes in ``bzr log -v``.
 
10220
 
 
10221
* New option ``bzr commit --file`` to take a message from a file,
 
10222
  suggested by LarstiQ.
 
10223
 
 
10224
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
10225
  Oler.  File may be in a branch other than the working directory.
 
10226
 
 
10227
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
10228
  a filename.
 
10229
 
 
10230
* Commands can now be defined by external programs or scripts
 
10231
  in a directory on $BZRPATH.
 
10232
 
 
10233
* New "stat cache" avoids reading the contents of files if they
 
10234
  haven't changed since the previous time.
 
10235
 
 
10236
* If the Python interpreter is too old, try to find a better one
 
10237
  or give an error.  Based on a patch from Fredrik Lundh.
 
10238
 
 
10239
* New optional parameter ``bzr info [BRANCH]``.
 
10240
 
 
10241
* New form ``bzr commit SELECTED`` to commit only selected files.
 
10242
 
 
10243
* New form ``bzr log -r FROM:TO`` shows changes in selected
 
10244
  range; contributed by John A Meinel.
 
10245
 
 
10246
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
10247
  options through to an external GNU diff.
 
10248
 
 
10249
* New option ``bzr add --no-recurse`` to add a directory but not
 
10250
  their contents.
 
10251
 
 
10252
* ``bzr --version`` now shows more information if bzr is being run
 
10253
  from a branch.
 
10254
 
 
10255
 
 
10256
Bug Fixes
 
10257
*********
 
10258
 
 
10259
* Fixed diff format so that added and removed files will be
 
10260
  handled properly by patch.  Fix from Lalo Martins.
 
10261
 
 
10262
* Various fixes for files whose names contain spaces or other
 
10263
  metacharacters.
 
10264
 
 
10265
 
 
10266
Testing
 
10267
*******
 
10268
 
 
10269
* Converted black-box test suites from Bourne shell into Python;
 
10270
  now run using ``./testbzr``.  Various structural improvements to
 
10271
  the tests.
 
10272
 
 
10273
* testbzr by default runs the version of bzr found in the same
 
10274
  directory as the tests, or the one given as the first parameter.
 
10275
 
 
10276
* testbzr also runs the internal tests, so the only command
 
10277
  required to check is just ``./testbzr``.
 
10278
 
 
10279
* testbzr requires python2.4, but can be used to test bzr running
 
10280
  under a different version.
 
10281
 
 
10282
* Tests added for many other changes in this release.
 
10283
 
 
10284
 
 
10285
Internal
 
10286
********
 
10287
 
 
10288
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
10289
 
 
10290
* Refactor command functions into Command objects based on HCT by
 
10291
  Scott James Remnant.
 
10292
 
 
10293
* Better help messages for many commands.
 
10294
 
 
10295
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
10296
  this is called trace messages are just discarded.
 
10297
 
 
10298
* New internal function ``find_touching_revisions()`` and hidden
 
10299
  command touching-revisions trace the changes to a given file.
 
10300
 
 
10301
* Simpler and faster ``compare_inventories()`` function.
 
10302
 
 
10303
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
10304
 
 
10305
* New AtomicFile class.
 
10306
 
 
10307
* New developer commands ``added``, ``modified``.
 
10308
 
 
10309
 
 
10310
Portability
 
10311
***********
 
10312
 
 
10313
* Cope on Windows on python2.3 by using the weaker random seed.
 
10314
  2.4 is now only recommended.
 
10315
 
 
10316
 
 
10317
bzr-0.0.4  2005-04-22
 
10318
#####################
 
10319
 
 
10320
Enhancements
 
10321
************
 
10322
 
 
10323
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
10324
  basic.  Patch from QuantumG.
 
10325
 
 
10326
* More default ignore patterns.
 
10327
 
 
10328
* New 'bzr log --verbose' shows a list of files changed in the
 
10329
  changeset.  Patch from Sebastian Cote.
 
10330
 
 
10331
* Roll over ~/.bzr.log if it gets too large.
 
10332
 
 
10333
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
10334
  by Jason Diamon.
 
10335
 
 
10336
* New 'bzr help commands' based on a patch from Denys Duchier.
 
10337
 
 
10338
 
 
10339
Changes
 
10340
*******
 
10341
 
 
10342
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
10343
  or $EMAIL.  All are decoded by the locale preferred encoding.
 
10344
  If none of these are present user@hostname is used.  The host's
 
10345
  fully-qualified name is not used because that tends to fail when
 
10346
  there are DNS problems.
 
10347
 
 
10348
* New 'bzr whoami' command instead of username user-email.
 
10349
 
 
10350
 
 
10351
Bug Fixes
 
10352
*********
 
10353
 
 
10354
* Make commit safe for hardlinked bzr trees.
 
10355
 
 
10356
* Some Unicode/locale fixes.
 
10357
 
 
10358
* Partial workaround for ``difflib.unified_diff`` not handling
 
10359
  trailing newlines properly.
 
10360
 
 
10361
 
 
10362
Internal
 
10363
********
 
10364
 
 
10365
* Allow docstrings for help to be in PEP0257 format.  Patch from
 
10366
  Matt Brubeck.
 
10367
 
 
10368
* More tests in test.sh.
 
10369
 
 
10370
* Write profile data to a temporary file not into working
 
10371
  directory and delete it when done.
 
10372
 
 
10373
* Smaller .bzr.log with process ids.
 
10374
 
 
10375
 
 
10376
Portability
 
10377
***********
 
10378
 
 
10379
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
10380
  Bennetts.
 
10381
 
 
10382
* Some improvements in handling paths on Windows, based on a patch
 
10383
  from QuantumG.
 
10384
 
 
10385
 
 
10386
bzr-0.0.3  2005-04-06
 
10387
#####################
 
10388
 
 
10389
Enhancements
 
10390
************
 
10391
 
 
10392
* New "directories" internal command lists versioned directories
 
10393
  in the tree.
 
10394
 
 
10395
* Can now say "bzr commit --help".
 
10396
 
 
10397
* New "rename" command to rename one file to a different name
 
10398
  and/or directory.
 
10399
 
 
10400
* New "move" command to move one or more files into a different
 
10401
  directory.
 
10402
 
 
10403
* New "renames" command lists files renamed since base revision.
 
10404
 
 
10405
* New cat command contributed by janmar.
 
10406
 
 
10407
Changes
 
10408
*******
 
10409
 
 
10410
* .bzr.log is placed in $HOME (not pwd) and is always written in
 
10411
  UTF-8.  (Probably not a completely good long-term solution, but
 
10412
  will do for now.)
 
10413
 
 
10414
Portability
 
10415
***********
 
10416
 
 
10417
* Workaround for difflib bug in Python 2.3 that causes an
 
10418
  exception when comparing empty files.  Reported by Erik Toubro
 
10419
  Nielsen.
 
10420
 
 
10421
Internal
 
10422
********
 
10423
 
 
10424
* Refactored inventory storage to insert a root entry at the top.
 
10425
 
 
10426
Testing
 
10427
*******
 
10428
 
 
10429
* Start of shell-based black-box testing in test.sh.
 
10430
 
 
10431
 
 
10432
bzr-0.0.2.1
 
10433
###########
 
10434
 
 
10435
Portability
 
10436
***********
 
10437
 
 
10438
* Win32 fixes from Steve Brown.
 
10439
 
 
10440
 
 
10441
bzr-0.0.2  "black cube"  2005-03-31
 
10442
###################################
 
10443
 
 
10444
Enhancements
 
10445
************
 
10446
 
 
10447
* Default ignore list extended (see bzrlib/__init__.py).
 
10448
 
 
10449
* Patterns in .bzrignore are now added to the default ignore list,
 
10450
  rather than replacing it.
 
10451
 
 
10452
* Ignore list isn't reread for every file.
 
10453
 
 
10454
* More help topics.
 
10455
 
 
10456
* Reinstate the 'bzr check' command to check invariants of the
 
10457
  branch.
 
10458
 
 
10459
* New 'ignored' command lists which files are ignored and why;
 
10460
  'deleted' lists files deleted in the current working tree.
 
10461
 
 
10462
* Performance improvements.
 
10463
 
 
10464
* New global --profile option.
 
10465
 
 
10466
* Ignore patterns like './config.h' now correctly match files in
 
10467
  the root directory only.
 
10468
 
 
10469
 
 
10470
bzr-0.0.1  2005-03-26
 
10471
#####################
 
10472
 
 
10473
Enhancements
 
10474
************
 
10475
 
 
10476
* More information from info command.
 
10477
 
 
10478
* Can now say "bzr help COMMAND" for more detailed help.
 
10479
 
 
10480
* Less file flushing and faster performance when writing logs and
 
10481
  committing to stores.
 
10482
 
 
10483
* More useful verbose output from some commands.
 
10484
 
 
10485
Bug Fixes
 
10486
*********
 
10487
 
 
10488
* Fix inverted display of 'R' and 'M' during 'commit -v'.
 
10489
 
 
10490
Portability
 
10491
***********
 
10492
 
 
10493
* Include a subset of ElementTree-1.2.20040618 to make
 
10494
  installation easier.
 
10495
 
 
10496
* Fix time.localtime call to work with Python 2.3 (the minimum
 
10497
  supported).
 
10498
 
 
10499
 
 
10500
bzr-0.0.0.69  2005-03-22
 
10501
########################
 
10502
 
 
10503
Enhancements
 
10504
************
 
10505
 
 
10506
* First public release.
 
10507
 
 
10508
* Storage of local versions: init, add, remove, rm, info, log,
 
10509
  diff, status, etc.
 
10510
 
 
10511
..
 
10512
   vim: tw=74 ft=rst ff=unix