/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: Martin Pool
  • Date: 2010-01-31 16:32:34 UTC
  • mto: (4999.3.1 apport)
  • mto: This revision was merged to the branch mainline in revision 5002.
  • Revision ID: mbp@sourcefrog.net-20100131163234-k62100thmvkfjxad
Add sample apport integration glue

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
Bazaar Release Notes
 
3
####################
 
4
 
 
5
.. contents:: List of Releases
 
6
   :depth: 1
 
7
 
 
8
bzr 2.0.4
 
9
#########
 
10
 
 
11
:Codename: smooth sailing
 
12
:2.0.4: 2010-01-21
 
13
 
 
14
The fourth bugfix-only release in the 2.0 series contains more than a
 
15
dozen bugfixes relative to 2.0.3. The primary focus is on handling
 
16
interruptions and concurrent operations more cleanly, there is also a fair
 
17
improvement to ``bzr export`` when exporting a remote branch.
 
18
 
 
19
 
 
20
Bug Fixes
 
21
*********
 
22
 
 
23
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
 
24
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
 
25
 
 
26
* ``bzr export dir`` now requests all file content as a record stream,
 
27
  rather than requsting the file content one file-at-a-time. This can make
 
28
  exporting over the network significantly faster (54min => 9min in one
 
29
  case). (John Arbash Meinel, #343218)
 
30
 
 
31
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
32
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
33
  free resources, and it should have been using ``__dealloc__``.
 
34
  This will likely have an impact on any other process that is serving for
 
35
  an extended period of time.  (John Arbash Meinel, #494406)
 
36
 
 
37
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
38
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
39
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
40
 
 
41
* Concurrent autopacks will no longer lose a newly created pack file.
 
42
  There was a race condition, where if the reload happened at the right
 
43
  time, the second packer would forget the name of the newly added pack
 
44
  file. (John Arbash Meinel, Gareth White, #507566)
 
45
 
 
46
* Give a clearer message if the lockdir disappears after being apparently
 
47
  successfully taken.  (Martin Pool, #498378)
 
48
 
 
49
* Give a warning when fetching between repositories (local or remote) with
 
50
  sufficiently different formats that the content will need to be
 
51
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
 
52
  the user has a clue that upgrading could make it faster.
 
53
  (Martin Pool, #456077)
 
54
 
 
55
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
 
56
  than using ``warning()``. The log file is opened before logging is set
 
57
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
 
58
  users, rather than something nicer.
 
59
  (John Arbash Meinel, Barry Warsaw, #503886)
 
60
 
 
61
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
 
62
  (Martin Pool, John Arbash Meinel, #449372)
 
63
 
 
64
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
 
65
  build. (there is still the distutils bug
 
66
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
 
67
 
 
68
* The 2a format wasn't properly restarting autopacks when something
 
69
  changed underneath it (like another autopack). Now concurrent
 
70
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
71
 
 
72
* ``TreeTransform`` can now handle when a delta says that the file id for
 
73
  the tree root changes. Rather than trying to rename your working
 
74
  directory, or failing early saying that you can't have multiple
 
75
  tree roots. This also fixes revert, update, and pull when the root id
 
76
  changes.  (John Arbash Meinel, #494269, #504390)
 
77
 
 
78
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
 
79
  the right time will get propagated, rather than silently failing to move
 
80
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
 
81
 
 
82
Testing
 
83
*******
 
84
 
 
85
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
 
86
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
 
87
  rather than an ``except ?:`` clause.) This should help prevent bugs like
 
88
  bug #495023. (John Arbash Meinel)
 
89
 
 
90
 
 
91
bzr 2.0.3
 
92
#########
 
93
 
 
94
:Codename: little italy
 
95
:2.0.3: 2009-12-14
 
96
 
 
97
 
 
98
The third stable release of Bazaar has a small handful of bugfixes. As
 
99
expected, this has no internal or external compatibility changes versus
 
100
2.0.2 (or 2.0.0).
 
101
 
 
102
Bug Fixes
 
103
*********
 
104
 
 
105
* ``bzr push --use-existing-dir`` no longer crashes if the directory
 
106
  exists but contains an invalid ``.bzr`` directory.
 
107
  (Andrew Bennetts, #423563)
 
108
 
 
109
* Content filters are now applied correctly after pull, merge and switch.
 
110
  (Ian Clatworthy, #385879)
 
111
 
 
112
* Fix a potential segfault in the groupcompress hash map handling code.
 
113
  When inserting new entries, if the final hash bucket was empty, we could
 
114
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
 
115
  (John Arbash Meinel, #490228)
 
116
 
 
117
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
118
 
 
119
 
 
120
bzr 2.0.2
 
121
#########
 
122
 
 
123
:Codename: after the scare
 
124
:2.0.2: 2009-11-02
 
125
 
 
126
The second in our "let's keep the stable bugfixes flowing" series. As
 
127
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
 
128
changes or features.
 
129
 
 
130
Bug Fixes
 
131
*********
 
132
 
 
133
* Avoid "NoneType has no attribute st_mode" error when files disappear
 
134
  from a directory while it's being read.  (Martin Pool, #446033)
 
135
 
 
136
* Content filters are now applied correctly after revert.
 
137
  (Ian Clatworthy)
 
138
 
 
139
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
 
140
 
 
141
* Fetching from stacked pre-2a repository via a smart server no longer
 
142
  fails intermittently with "second push failed to complete".
 
143
  (Andrew Bennetts, #437626)
 
144
 
 
145
* Fix typos left after test_selftest refactoring.
 
146
  (Vincent Ladeuil, Matt Nordhoff, #461149)
 
147
 
 
148
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
 
149
  (Andrew Bennetts, #445171)
 
150
  
 
151
* PreviewTree file names are not limited by the encoding of the temp
 
152
  directory's filesystem. (Aaron Bentley, #436794)
 
153
 
 
154
Improvements
 
155
************
 
156
 
 
157
* ``bzr log`` now read-locks branches exactly once, so makes better use of
 
158
  data caches.  (Andrew Bennetts)
 
159
 
 
160
Documentation
 
161
*************
 
162
 
 
163
* Filtered views user documentation upgraded to refer to format 2a
 
164
  instead of pre-2.0 formats. (Ian Clatworthy)
 
165
 
 
166
 
 
167
bzr 2.0.1
 
168
#########
 
169
 
 
170
:Codename: Stability First
 
171
:2.0.1: 2009-10-14
 
172
 
 
173
The first of our new ongoing bugfix-only stable releases has arrived. It
 
174
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
 
175
include any of the feature development in the 2.1.0 series.
 
176
 
 
177
 
 
178
Bug Fixes
 
179
*********
 
180
 
 
181
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
182
  filename will issue a warning and skip over those files.
 
183
  (Robert Collins, #3918)
 
184
 
 
185
* bzr will attempt to authenticate with SSH servers that support
 
186
  ``keyboard-interactive`` auth but not ``password`` auth when using
 
187
  Paramiko.   (Andrew Bennetts, #433846)
 
188
 
 
189
* Fixed fetches from a stacked branch on a smart server that were failing
 
190
  with some combinations of remote and local formats.  This was causing
 
191
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
 
192
 
 
193
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
 
194
  on branches via a smart server.  (Andrew Bennetts, #389413)
 
195
 
 
196
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
 
197
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
 
198
  assumed that ``abspath()`` returned a path that did not have a trailing
 
199
  ``/``, but that is not true when working at the root of the filesystem.
 
200
  (John Arbash Meinel, Jason Spashett, #322807)
 
201
 
 
202
* Hide deprecation warnings for 'final' releases for python2.6.
 
203
  (John Arbash Meinel, #440062)
 
204
 
 
205
* Improve the time for ``bzr log DIR`` for 2a format repositories.
 
206
  We had been using the same code path as for <2a formats, which required
 
207
  iterating over all objects in all revisions.
 
208
  (John Arbash Meinel, #374730)
 
209
 
 
210
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
211
  object when doing a merge, and there is limbo, or pending-deletions
 
212
  directory.  (Gary van der Merwe, #427773)
 
213
 
 
214
* Occasional IndexError on renamed files have been fixed. Operations that
 
215
  set a full inventory in the working tree will now go via the
 
216
  apply_inventory_delta code path which is simpler and easier to
 
217
  understand than dirstates set_state_from_inventory method. This may
 
218
  have a small performance impact on operations built on _write_inventory,
 
219
  but such operations are already doing full tree scans, so no radical
 
220
  performance change should be observed. (Robert Collins, #403322)
 
221
 
 
222
* Retrieving file text or mtime from a _PreviewTree has good performance when
 
223
  there are many changes.  (Aaron Bentley)
 
224
 
 
225
* The CHK index pages now use an unlimited cache size. With a limited
 
226
  cache and a large project, the random access of chk pages could cause us
 
227
  to download the entire cix file many times.
 
228
  (John Arbash Meinel, #402623)
 
229
 
 
230
* When a file kind becomes unversionable after being added, a sensible
 
231
  error will be shown instead of a traceback. (Robert Collins, #438569)
 
232
 
 
233
Documentation
 
234
*************
 
235
 
 
236
* Improved README. (Ian Clatworthy)
 
237
 
 
238
* Improved upgrade documentation for Launchpad branches.
 
239
  (Barry Warsaw)
 
240
 
 
241
 
 
242
bzr 2.0.0
 
243
#########
 
244
 
 
245
:2.0.0: 2009-09-22
 
246
:Codename: Instant Karma
 
247
 
 
248
This release of Bazaar makes the 2a (previously 'brisbane-core') format
 
249
the default when new branches or repositories are created.  This format is
 
250
substantially smaller and faster for many operations.  Most of the work in
 
251
this release focuses on bug fixes and stabilization, covering both 2a and
 
252
previous formats.  (See the Upgrade Guide for information on migrating
 
253
existing projects.)
 
254
 
 
255
This release also improves the documentation content and presentation,
 
256
including adding Windows HtmlHelp manuals.
 
257
 
 
258
The Bazaar team decided that 2.0 will be a long-term supported release,
 
259
with bugfix-only 2.0.x releases based on it, continuing for at least six
 
260
months or until the following stable release.
 
261
 
 
262
Changes from 2.0.0rc2 to final
 
263
******************************
 
264
 
 
265
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
266
  that "want to happen on the 2.0.x stable series" versus things that want
 
267
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
268
  micro = 0.) (John Arbash Meinel)
 
269
 
 
270
bzr 2.0.0rc2
 
271
############
 
272
 
 
273
:2.0.0rc2: 2009-09-10
 
274
 
 
275
New Features
 
276
************
 
277
 
 
278
* Added post_commit hook for mutable trees. This allows the keywords
 
279
  plugin to expand keywords on files changed by the commit.
 
280
  (Ian Clatworthy, #408841)
 
281
 
 
282
Bug Fixes
 
283
*********
 
284
 
 
285
* Bazaar's native protocol code now correctly handles EINTR, which most
 
286
  noticeably occurs if you break in to the debugger while connected to a
 
287
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
288
  'c') and the process continues.  However, note that pressing C-\ in the
 
289
  shell may still kill the SSH process, which is bug 162509, so you must
 
290
  sent a signal to the bzr process specifically, for example by typing
 
291
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
292
 
 
293
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
294
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
295
  (Robert Collins, #416732)
 
296
 
 
297
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
298
  format" (John Arbash Meinel, #424392)
 
299
 
 
300
* ``bzr log stacked-branch`` shows the full log including
 
301
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
302
  (John Arbash Meinel, #419241)
 
303
 
 
304
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
305
  traceback.  (Martin Pool, #109115)
 
306
 
 
307
* Conversion to 2a will create a single pack for all the new revisions (as
 
308
  long as it ran without interruption). This improves both ``bzr upgrade``
 
309
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
310
  The autopack logic that occurs every 100 revisions during local
 
311
  conversions was not returning that pack's identifier, which resulted in
 
312
  the partial packs created during the conversion not being consolidated
 
313
  at the end of the conversion process. (Robert Collins, #423818)
 
314
 
 
315
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
316
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
317
  This means that when the source is fully packed, there is minimal
 
318
  overhead during the fetch, but if the source is poorly packed the result
 
319
  is a fairly well packed repository (not as good as 'bzr pack' but
 
320
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
321
 
 
322
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
323
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
324
  (John Arbash Meinel, #419241)
 
325
 
 
326
* Fix a segmentation fault when computing the ``merge_sort`` of a graph
 
327
  that has a ghost in the mainline ancestry.
 
328
  (John Arbash Meinel, #419241)
 
329
 
 
330
* ``groupcompress`` sort order is now more stable, rather than relying on
 
331
  ``topo_sort`` ordering. The implementation is now
 
332
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
333
 
 
334
* Local data conversion will generate correct deltas. This is a critical
 
335
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
336
  converting repositories. (Robert Collins, #422849)
 
337
 
 
338
* Network streams now decode adjacent records of the same type into a
 
339
  single stream, reducing layering churn. (Robert Collins)
 
340
 
 
341
* Prevent some kinds of incomplete data from being committed to a 2a
 
342
  repository, such as revisions without inventories, a missing chk_bytes
 
343
  record for an inventory, or a missing text referenced by an inventory.
 
344
  (Andrew Bennetts, #423506, #406687)
 
345
  
 
346
Documentation
 
347
*************
 
348
 
 
349
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
350
  older smart servers.
 
351
  (Andrew Bennetts, #418931)
 
352
 
 
353
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
354
  currently supported. (Ian Clatworthy, #422415)
 
355
 
 
356
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
357
  user documentation. The HTML documentation is better broken up into
 
358
  topics. (Ian Clatworthy)
 
359
 
 
360
* The developer and foreign language documents are now separated
 
361
  out so that searching in the HTML and CHM files produces more
 
362
  useful results. (Ian Clatworthy)
 
363
 
 
364
* The main table of contents now provides links to the new Migration Docs
 
365
  and Plugins Guide. (Ian Clatworthy)
 
366
 
 
367
 
 
368
bzr 2.0.0rc1
 
369
############
 
370
 
 
371
:Codename: no worries
 
372
:2.0.0rc1: 2009-08-26
 
373
 
 
374
Compatibility Breaks
 
375
********************
 
376
 
 
377
* The default format for bzr is now ``2a``. This format brings many
 
378
  significant performance and size improvements. bzr can pull from
 
379
  any existing repository into a ``2a`` one, but can only transfer
 
380
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
381
  has more information about this change. (Robert Collins)
 
382
 
 
383
* On Windows auto-detection of Putty's plink.exe is disabled.
 
384
  Default SSH client for Windows is paramiko. User still can force
 
385
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
386
  (#414743, Alexander Belchenko)
 
387
 
 
388
New Features
 
389
************
 
390
 
 
391
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
392
  to the newly created branch. (Lukáš Lalinský)
 
393
 
 
394
Bug Fixes
 
395
*********
 
396
 
 
397
* Fetches were being requested in 'groupcompress' order, but weren't
 
398
  recombining the groups. Thus they would 'fragment' to get the correct
 
399
  order, but not 'recombine' to actually benefit from it. Until we get
 
400
  recombining to work, switching to 'unordered' fetches avoids the
 
401
  fragmentation. (John Arbash Meinel, #402645)
 
402
 
 
403
* Fix a pycurl related test failure on karmic by recognizing an error
 
404
  raised by newer versions of pycurl.
 
405
  (Vincent Ladeuil, #306264)
 
406
 
 
407
* Fix a test failure on karmic by making a locale test more robust.
 
408
  (Vincent Ladeuil, #413514)
 
409
 
 
410
* Fix IndexError printing CannotBindAddress errors.
 
411
  (Martin Pool, #286871)
 
412
 
 
413
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
414
  or when doing fetches from a stacked source to a stacked target.
 
415
  (Andrew Bennetts, #399140)
 
416
 
 
417
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
418
  batches together small fetches from 2a repositories, rather than
 
419
  fetching only a few hundred bytes at a time.
 
420
  (Andrew Bennetts, #402657)
 
421
 
 
422
Improvements
 
423
************
 
424
 
 
425
* A better description of the platform is shown in crash tracebacks, ``bzr
 
426
  --version`` and ``bzr selftest``.
 
427
  (Martin Pool, #409137)
 
428
 
 
429
* bzr can now (again) capture crash data through the apport library, 
 
430
  so that a single human-readable file can be attached to bug reports.
 
431
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
432
  putting ``no_apport`` into the ``debug_flags`` section of
 
433
  ``bazaar.conf``.
 
434
  (Martin Pool, Robert Collins, #389328)
 
435
 
 
436
* ``bzr push`` locally on windows will no longer give a locking error with
 
437
  dirstate based formats. (Robert Collins)
 
438
 
 
439
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
440
  (Robert Collins, #305006)
 
441
 
 
442
* Commit of specific files no longer prevents using the the iter_changes
 
443
  codepath. On 2a repositories, commit of specific files should now be as
 
444
  fast, or slightly faster, than a full commit. (Robert Collins)
 
445
 
 
446
* The internal core code that handles specific file operations like
 
447
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
448
  include the parent directories if they have altered, and when a
 
449
  directory stops being a directory its children are always included. This
 
450
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
451
  faster commit of specific paths. (Robert Collins, #347649)
 
452
 
 
453
Documentation
 
454
*************
 
455
 
 
456
* New developer documentation for content filtering.
 
457
  (Martin Pool)
 
458
 
 
459
API Changes
 
460
***********
 
461
 
 
462
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
463
  classes changed to manage lock lifetime of the trees they open in a way
 
464
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
465
 
 
466
Internals
 
467
*********
 
468
 
 
469
Testing
 
470
*******
 
471
 
 
472
bzr 1.18.1
 
473
##########
 
474
 
 
475
:Codename:     nein nein nein!
 
476
:1.18.1:       2009-09-09
 
477
 
 
478
This release fixes two small but worthwhile bugs relevant to users on
 
479
Microsoft Windows: some commands that failed on with locking errors will
 
480
now work, and a bug that caused poor performance after committing a file
 
481
with line-ending conversion has now been fixed.  It also fixes a bug in
 
482
pushing to older servers.
 
483
 
 
484
Bug Fixes
 
485
*********
 
486
 
 
487
* Fixed a problem where using content filtering and especially end-of-line
 
488
  conversion will commit too many copies a file.
 
489
  (Martin Pool, #415508)
 
490
 
 
491
* Fix assertion error about ``_remember_remote_is_before`` in
 
492
  ``set_tags_bytes`` when pushing to older smart servers.  
 
493
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
494
 
 
495
Improvements
 
496
************
 
497
 
 
498
* ``bzr push`` locally on Windows will no longer give a locking error with
 
499
  dirstate based formats. (Robert Collins)
 
500
 
 
501
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
502
  (Robert Collins, #305006)
 
503
 
 
504
API Changes
 
505
***********
 
506
 
 
507
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
508
  classes changed to manage lock lifetime of the trees they open in a way
 
509
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
510
 
 
511
* ``Tree.path_content_summary`` may return a size of None, when called on
 
512
  a tree with content filtering where the size of the canonical form
 
513
  cannot be cheaply determined.  (Martin Pool)
 
514
 
 
515
 
 
516
bzr 1.18
 
517
########
 
518
 
 
519
Compatibility Breaks
 
520
********************
 
521
 
 
522
* Committing directly to a stacked branch from a lightweight checkout will
 
523
  no longer work. In previous versions this would appear to work but would
 
524
  generate repositories with insufficient data to create deltas, leading
 
525
  to later errors when branching or reading from the repository.
 
526
  (Robert Collins, bug #375013)
 
527
 
 
528
New Features
 
529
************
 
530
 
 
531
Bug Fixes
 
532
*********
 
533
 
 
534
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
535
  copy the internal inventory pages from the CHK store. This cannot happen
 
536
  in normal use as all 2a compatible clients and servers support the
 
537
  version-3 protocol, but it does cause test suite failures when testing
 
538
  downlevel protocol behaviour. (Robert Collins)
 
539
 
 
540
* Fix a test failure on karmic by making a locale test more robust.
 
541
  (Vincent Ladeuil, #413514)
 
542
 
 
543
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
544
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
545
 
 
546
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
547
  (Jason Spashett, #76616)
 
548
 
 
549
* Properly handle fetching into a stacked branch while converting the
 
550
  data, especially when there are also ghosts. The code was filling in
 
551
  parent inventories incorrectly, and also not handling when one of the
 
552
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
553
 
 
554
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
555
  inventory pages when appropriate (by falling back to the vfs stream
 
556
  source).  (Andrew Bennetts, #406686)
 
557
 
 
558
* StreamSource generates rich roots from non-rich root sources correctly
 
559
  now.  (Andrew Bennetts, #368921)
 
560
 
 
561
* When deciding whether a repository was compatible for upgrading or
 
562
  fetching, we previously incorrectly checked the default repository
 
563
  format for the bzrdir format, rather than the format that was actually
 
564
  present on disk.  (Martin Pool, #408824)
 
565
 
 
566
Improvements
 
567
************
 
568
 
 
569
* A better description of the platform is shown in crash tracebacks, ``bzr
 
570
  --version`` and ``bzr selftest``.
 
571
  (Martin Pool, #409137)
 
572
 
 
573
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
574
  smart server are more efficient now.  They send inventory deltas rather
 
575
  than full inventories.  The smart server has two new requests,
 
576
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
577
  support this.  (Andrew Bennetts, #374738, #385826)
 
578
 
 
579
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
580
  significantly faster. This effects things like ``bzr log -n0``. (For
 
581
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
582
  (John Arbash Meinel)
 
583
 
 
584
Documentation
 
585
*************
 
586
 
 
587
API Changes
 
588
***********
 
589
 
 
590
Internals
 
591
*********
 
592
 
 
593
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
594
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
595
  read lock on a file that we already have an OS write lock on.) This is
 
596
  now set by default for all tests, if you have a test which cannot be
 
597
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
598
  compatibility knob. (John Arbash Meinel)
 
599
 
 
600
* InterDifferingSerializer is now only used locally.  Other fetches that
 
601
  would have used InterDifferingSerializer now use the more network
 
602
  friendly StreamSource, which now automatically does the same
 
603
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
604
 
 
605
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
606
  are implemented in pyrex and significantly faster. This is exposed along
 
607
  with ``CombinedGraphIndex.find_ancestry()`` as
 
608
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
609
  (John Arbash Meinel)
 
610
 
 
611
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
612
  protocols. (Robert Collins)
 
613
 
 
614
* The index code now has some specialized routines to extract the full
 
615
  ancestry of a key in a more efficient manner.
 
616
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
617
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
618
  Arbash Meinel)
 
619
 
 
620
Testing
 
621
*******
 
622
 
 
623
* Install the test ssl certificate and key so that installed bzr
 
624
  can run the https tests. (Denys Duchier, #392401)
 
625
  
 
626
 
 
627
bzr 1.18rc1
 
628
###########
 
629
 
 
630
:Codename: little traveller
 
631
:1.18:    2009-08-20
 
632
:1.18rc1: 2009-08-10
 
633
 
 
634
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
635
'brisbane-core' format becomes generally recommended.  Most of the work in
 
636
this release now focusses on bug fixes and stabilization, covering both 2a
 
637
and previous formats.  There is a new text-mode interactive merge feature,
 
638
a new guide to migration to 2a format in the user documentation, and
 
639
pushing branches to a smart server is now much faster.  
 
640
 
 
641
The Bazaar team decided that 2.0 will be a long-term supported release,
 
642
with bugfix-only releases based on it continuing for at least six months
 
643
or until the following stable release.
 
644
 
 
645
There are no changes from 1.18rc1 to 1.18.
 
646
 
 
647
New Features
 
648
************
 
649
 
 
650
* ``bzr merge --interactive`` applies a user-selected portion of the
 
651
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
652
 
 
653
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
654
  ``--unstacked`` to change stacking of a branch.
 
655
  (Martin Pool, #391411)
 
656
 
 
657
Bug Fixes
 
658
*********
 
659
 
 
660
* Annotating on a stacked branch will now succeed in simple scenarios.
 
661
  There are still some complex scenarios where it will fail (bug #399884)
 
662
  (John Arbash Meinel, #393366)
 
663
 
 
664
* A progress bar is no longer left dangling when ``bzr selftest``
 
665
  completes, and the progress bar updates with zero latency so the
 
666
  displayed test name is always the one that's actually running.
 
667
  (Martin Pool, #123688)
 
668
 
 
669
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
670
  if password authentication is even supported. This fixes a bug where
 
671
  users would be prompted for a launchpad password, even though launchpad
 
672
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
673
 
 
674
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
675
  from GMT. (Vincent Ladeuil, #397716)
 
676
 
 
677
* ``bzr commit`` no longer saves the unversioning of missing files until
 
678
  the commit has completed on the branch. This means that aborting a
 
679
  commit that found a missing file will leave the tree unedited.
 
680
  (Robert Collins, #282402)
 
681
 
 
682
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
683
  when the branch is readonly. (Robert Collins, #216541)
 
684
 
 
685
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
686
  there are missing subtrees. (Robert Collins, #367632)
 
687
 
 
688
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
689
  do to internal changes necessary to support this, older clients will
 
690
  fail when trying to insert them. For newer clients, the bundle can be
 
691
  used to apply the changes to any rich-root compatible format.
 
692
  (John Arbash Meinel, #393349)
 
693
 
 
694
* Cope with FTP servers that don't support restart/append by falling back
 
695
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
696
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
697
 
 
698
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
699
  external diff client. This at least allows supporting filenames that are
 
700
  not ascii, but are present in the current locale. Ideally we would be
 
701
  able to pass the Unicode path, but that would be client dependent.
 
702
  (John Arbash Meinel, #382709)
 
703
 
 
704
* Fix a compile bug on Solaris having to do with const and
 
705
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
706
 
 
707
* Fixed a NameError that occurs when merging or pulling from a URL that
 
708
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
709
  (Andrew Bennetts, #400847)
 
710
 
 
711
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
712
  running send and similar commands on 2a formats.
 
713
  (Martin Pool, #408201)
 
714
  
 
715
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
716
  (Martin Pool, #403523)
 
717
 
 
718
* Fixed export to existing directory: if directory is empty then export 
 
719
  will succeed, otherwise it fails with error.
 
720
  (Alexander Belchenko, #406174)
 
721
 
 
722
* Fixed spurious "Source branch does not support stacking" warning when
 
723
  pushing. (Andrew Bennetts, #388908)
 
724
 
 
725
* Fixed spurious transport activity indicator appearing while tests are
 
726
  running.  (Martin Pool, #343532)
 
727
 
 
728
* Merge now correctly handles empty right-hand revision specs.
 
729
  (Aaron Bentley, #333961)
 
730
 
 
731
* Renames to lexographically lower basenames in trees that have never been
 
732
  committed to will no longer corrupt the dirstate. This was caused by an
 
733
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
734
 
 
735
* Requests for unknown methods no longer cause the smart server to log
 
736
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
737
  ``do_end``.  (Andrew Bennetts, #338561)
 
738
 
 
739
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
740
 
 
741
* Streaming from bzr servers where there is a chain of stacked branches
 
742
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
743
 
 
744
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
745
  always forces progress bars either on or off respectively.  Otherwise,
 
746
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
747
  bzr always uses the 'text' user interface when run as a command, so
 
748
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
749
  (Martin Pool, #339385, #387717)
 
750
 
 
751
* The optional ``_knit_load_data_pyx`` C extension was never being
 
752
  imported.  This caused significant slowdowns when reading data from
 
753
  repositories.  (Andrew Bennetts, #405653)
 
754
  
 
755
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
756
  supported at the moment on workingtree formats that can do content
 
757
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
758
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
759
 
 
760
* There was a bug in ``osutils.relpath`` that was only triggered on
 
761
  Windows. Essentially if you were at the root of a drive, and did
 
762
  something to a branch/repo on another drive, we would go into an
 
763
  infinite loop while trying to find a 'relative path'.
 
764
  (John Arbash Meinel, #394227)
 
765
 
 
766
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
767
  were present in a parent tree but renamed in the working tree.
 
768
  (Robert Collins, #187207)
 
769
 
 
770
Improvements
 
771
************
 
772
 
 
773
* Can now rename/move files even if they have been removed from the inventory.
 
774
  (Marius Kruger)
 
775
 
 
776
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
777
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
778
  than VFS methods.  For example, pushes of small branches with tags take
 
779
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
780
 
 
781
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
782
  the same way that sending Ctrl-\\ does on other platforms.
 
783
  (John Arbash Meinel)
 
784
 
 
785
Documentation
 
786
*************
 
787
 
 
788
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
789
 
 
790
API Changes
 
791
***********
 
792
 
 
793
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
794
  need to subclass or create a specific class, or better yet the existing
 
795
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
796
  user interaction at all, rather than trying to read from stdin but not
 
797
  writing any output, which would be strange if reading prompts or
 
798
  passwords.  (Martin Pool)
 
799
 
 
800
* New TransformPreview.commit() allows committing without a working tree.
 
801
  (Aaron Bentley)
 
802
 
 
803
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
804
  (Martin Pool)
 
805
 
 
806
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
807
  UIFactory. 
 
808
  (Martin Pool)
 
809
 
 
810
* ``WorkingTree._check`` now requires a references dict with keys matching
 
811
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
812
 
 
813
Internals
 
814
*********
 
815
 
 
816
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
817
  reading the entries along the path, reducing work to lookup ids from
 
818
  paths. (Robert Collins)
 
819
 
 
820
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
821
  as new a key which was already mapped. (Robert Collins)
 
822
 
 
823
* Inventory delta application catches more cases of corruption and can
 
824
  prevent corrupt deltas from affecting consistency of data structures on
 
825
  disk. (Robert Collins)
 
826
 
 
827
* --subunit support now adds timestamps if the subunit version supports
 
828
  it. (Robert Collins)
 
829
 
 
830
* The Windows all-in-one installer now bundles the PyQt image format
 
831
  plugins, which allows previewing more images as part of 'qdiff'.
 
832
  (Alexander Belchenko)
 
833
 
 
834
 
 
835
Testing
 
836
*******
 
837
 
 
838
* Merge directive cherrypick tests must use the same root id.
 
839
  (Martin Pool, #409684)
 
840
 
 
841
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
842
  (Martin Pool, #408199)
 
843
 
 
844
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
845
  ``countTestsCases`` on the test being run. Progress information is
 
846
  instead handled by having the test passed in call ``result.progress``
 
847
  before running its contents. This improves the behaviour when using
 
848
  ``TextTestRunner`` with test suites that don't support
 
849
  ``countTestsCases``. (Robert Collins)
 
850
 
 
851
 
 
852
bzr 1.17
 
853
########
 
854
:Codename: so-late-its-brunch
 
855
:1.17rc1: 2009-07-13
 
856
:1.17: 2009-07-20
 
857
 
 
858
 
 
859
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
860
the elevation of the ``2a`` beta format to the full glory of "supported and
 
861
stable".
 
862
 
 
863
Highlights in this release include greatly reduced memory consumption during
 
864
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
865
you're specifying a revision number and the final destruction of those
 
866
annoying progress bar artifacts.
 
867
 
 
868
 
 
869
Changes from 1.17rc1 to 1.17final
 
870
*********************************
 
871
 
 
872
* Change an extension to call the python ``frozenset()`` rather than the C
 
873
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
874
  C api. (John Arbash Meinel, #399366)
 
875
 
 
876
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
877
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
878
  (John Arbash Meinel, #399356)
 
879
 
 
880
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
881
  directory before serving it. (Andrew Bennetts, #400535)
 
882
 
 
883
 
 
884
Compatibility Breaks
 
885
********************
 
886
 
 
887
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
888
  instead of "product" which is the correct Launchpad terminology.  The
 
889
  --product option is deprecated and users should switch to using --project.
 
890
  (Neil Martinsen-Burrell, #238764)
 
891
 
 
892
 
 
893
New Features
 
894
************
 
895
 
 
896
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
897
  are present in the working tree (if one is present) and no revision is
 
898
  specified. The configuration option ``push_strict`` can be used to set the
 
899
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
900
 
 
901
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
902
  show revision info for the working tree instead of the branch.
 
903
  (Matthew Fuller, John Arbash Meinel)
 
904
 
 
905
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
906
  are present in the working tree and no revision is specified. The
 
907
  configuration option ``send_strict`` can be used to set the default for this
 
908
  behavior.
 
909
  (Vincent Ladeuil, #206577)
 
910
 
 
911
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
912
  to a new branch. Supplying a name without a ``/`` will create the branch
 
913
  relative to the existing branch. (similar to how ``bzr switch name``
 
914
  works when the branch already exists.) (John Arbash Meinel)
 
915
 
 
916
 
 
917
Bug Fixes
 
918
*********
 
919
 
 
920
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
921
  (#335182, Tim Powell, Martin Pool)
 
922
 
 
923
* Add documentation about diverged branches and how to fix them in the
 
924
  centralized workflow with local commits.  Mention ``bzr help
 
925
  diverged-branches`` when a push fails because the branches have
 
926
  diverged.  (Neil Martinsen-Burrell, #269477)
 
927
 
 
928
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
929
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
930
 
 
931
* Automatic format upgrades triggered by default stacking policies on a
 
932
  1.16rc1 (or later) smart server work again.
 
933
  (Andrew Bennetts, #388675)
 
934
 
 
935
* Avoid progress bar artifacts being left behind on the screen.
 
936
  (Martin Pool, #321935)
 
937
 
 
938
* Better message in ``bzr split`` error suggesting a rich root format.
 
939
  (Neil Martinsen-Burrell, #220067)
 
940
 
 
941
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
942
  server. (Andrew Bennetts, #365865)
 
943
 
 
944
* By default, ``bzr branch`` will fail if the target directory exists, but
 
945
  does not already have a control directory.  The flag ``--use-existing-dir``
 
946
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
947
 
 
948
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
949
  (Ian Clatworthy)
 
950
 
 
951
* Fetch between repositories does not error if they have inconsistent data
 
952
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
953
 
 
954
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
955
  of a remote repository.
 
956
  (Jelmer Vernooij, #332194)
 
957
 
 
958
* Fix bug in decoding v3 smart server messages when receiving multiple
 
959
  lots of excess bytes after an end-of-message.
 
960
  (Andrew Bennetts)
 
961
 
 
962
* Force deletion of readonly files during merge, update and other tree
 
963
  transforms.
 
964
  (Craig Hewetson, Martin Pool, #218206)
 
965
 
 
966
* Force socket shutdown in threaded http test servers to avoid client hangs
 
967
  (pycurl).  (Vincent Ladeuil, #383920).
 
968
 
 
969
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
970
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
971
 
 
972
* Progress bars are now suppressed again when the environment variable
 
973
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
974
  (Martin Pool, #339385)
 
975
 
 
976
* Reduced memory consumption during ``bzr commit`` of large files. For
 
977
  pre 2a formats, should be down to ~3x the size of a file.
 
978
  For ``--2a`` format repositories, it is down to the size of the file
 
979
  content plus the size of the compressed text.  Related to bug #109114.
 
980
  (John Arbash Meinel)
 
981
 
 
982
* Set hidden attribute on .bzr directory below unicode path should never
 
983
  fail with error. The operation should succeed even if bzr unable to set 
 
984
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
985
  
 
986
* Stacking will no longer accept requests to stack on the same
 
987
  branch/repository. Existing branches that incorrectly reference the same
 
988
  repository in a stacking configuration will now raise
 
989
  UnstackableLocationError when the branch is opened. This can be fixed by
 
990
  removing the stacking location inside ``.bzr/branch``.
 
991
  (Robert Collins, #376243)
 
992
 
 
993
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
994
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
995
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
996
  rate because they're available in the log prefixes and the transport
 
997
  activity display respectively.
 
998
  (Martin Pool, #340347)
 
999
 
 
1000
* Unshelve works correctly when multiple zero-length files are present on
 
1001
  the shelf. (Aaron Bentley, #363444)
 
1002
 
 
1003
* Progress bars no longer show the network transport scheme or direction.
 
1004
  (Martin Pool)
 
1005
 
 
1006
* launchpad-login now respects the 'verbose' option.
 
1007
  (Jonathan Lange, #217031)
 
1008
 
 
1009
 
 
1010
Internals
 
1011
*********
 
1012
 
 
1013
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
1014
  possible to write a deprecation wrapper, but the variable will be
 
1015
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
1016
  instead. (Alexander Belchenko)
 
1017
 
 
1018
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
1019
  three new hook points: ``get_command``, ``get_missing_command`` and
 
1020
  ``list_commands``, which allow just-in-time command name provision
 
1021
  rather than requiring all command names be known a-priori.
 
1022
  (Robert Collins)
 
1023
 
 
1024
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
1025
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
1026
 
 
1027
* ``graph.KnownGraph`` has been added. This is a class that can give
 
1028
  answers to ``heads()`` very quickly. However, it has the assumption that
 
1029
  the whole graph has already been loaded. This is true during
 
1030
  ``annotate`` so it is used there with good success (as much as 2x faster
 
1031
  for files with long ancestry and 'cherrypicked' changes.)
 
1032
  (John Arbash Meinel, Vincent Ladeuil)
 
1033
 
 
1034
* OS file locks are now taken out using ``CreateFile`` rather than
 
1035
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
1036
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
1037
  as Win98). (Martin <gzlist>)
 
1038
 
 
1039
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
1040
  than the ``Packer`` code. The user visible change is that we now
 
1041
  properly fetch the minimum number of texts for non-smart fetching.
 
1042
  (John Arbash Meinel)
 
1043
 
 
1044
 
 
1045
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
1046
  the repository as a single string, rather than a list of lines. This can
 
1047
  improve memory overhead and performance of committing large files.
 
1048
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
1049
 
 
1050
 
 
1051
Improvements
 
1052
************
 
1053
 
 
1054
* ``bzr annotate`` can now be significantly faster. The time for
 
1055
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
1056
  histories and lots of 'duplicate insertions' will be improved more than
 
1057
  others. (John Arbash Meinel, Vincent Ladeuil)
 
1058
 
 
1059
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
1060
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
1061
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
1062
 
 
1063
* Improve "Path(s) are not versioned" error reporting for some commands.
 
1064
  (Benoît PIERRE)
 
1065
 
 
1066
* Initial commit performance in ``--2a`` repositories has been improved by
 
1067
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
1068
 
 
1069
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
1070
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
1071
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
1072
 
 
1073
* ``revision-info`` now properly aligns the revnos/revids in the output
 
1074
  and doesn't traceback when given revisions not in the current branch.
 
1075
  Performance is also significantly improved when requesting multiple revs
 
1076
  at once.  (Matthew Fuller, John Arbash Meinel)
 
1077
 
 
1078
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
1079
 
 
1080
 
 
1081
Documentation
 
1082
*************
 
1083
 
 
1084
* Avoid bad text wrapping in generated documentation.  Slightly better
 
1085
  formatting in the user reference.
 
1086
  (Martin Pool, #249908)
 
1087
 
 
1088
* Minor clarifications to the help for End-Of-Line conversions.
 
1089
  (Ian Clatworthy)
 
1090
 
 
1091
API Changes
 
1092
***********
 
1093
 
 
1094
* Removed overspecific error class ``InvalidProgressBarType``.
 
1095
  (Martin Pool)
 
1096
 
 
1097
* The method ``ProgressView._show_transport_activity`` is now
 
1098
  ``show_transport_activity`` because it's part of the contract between
 
1099
  this class and the UI.  (Martin Pool)
 
1100
 
 
1101
 
 
1102
bzr 1.16.1
 
1103
##########
 
1104
 
 
1105
:Released: 2009-06-26
 
1106
 
 
1107
End user testing of the 2a format revealed two serious bugs. The first,
 
1108
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
1109
This meant that commits or pushes to 2a-format repositories failed
 
1110
intermittently.
 
1111
 
 
1112
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
1113
when streaming 2a stacked 2a-format branches. This particularly affected
 
1114
branches stored on Launchpad in the 2a format.
 
1115
 
 
1116
Both of these bugs cause command failures only, neither of them cause data
 
1117
corruption or data loss. And, of course, both of these bugs are now fixed.
 
1118
 
 
1119
Bug Fixes
 
1120
*********
 
1121
 
 
1122
* We now properly request a more minimal set of file texts when fetching
 
1123
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
1124
 
 
1125
* Repositories using CHK pages (which includes the new 2a format) will no
 
1126
  longer error during commit or push operations when an autopack operation
 
1127
  is triggered. (Robert Collins, #365615)
 
1128
 
 
1129
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
1130
  of referenced nodes rather than the *union* to determine what
 
1131
  uninteresting pages we still need to look at. Prior to this,
 
1132
  incrementally pushing to stacked branch would push the minimal data, but
 
1133
  fetching everything would request extra texts. There are some unhandled
 
1134
  cases wrt trees of different depths, but this fixes the common cases.
 
1135
  (Robert Collins, John Arbash Meinel, #390563)
 
1136
 
 
1137
* ``GroupCompress`` repositories now take advantage of the pack hints
 
1138
  parameter to permit cross-format fetching to incrementally pack the
 
1139
  converted data. (Robert Collins)
 
1140
 
 
1141
* ``Repository.commit_write_group`` now returns opaque data about what
 
1142
  was committed, for passing to the ``Repository.pack``. Repositories
 
1143
  without atomic commits will still return None. (Robert Collins)
 
1144
 
 
1145
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
1146
  which will support doing partial packs for repositories that can do
 
1147
  that. (Robert Collins)
 
1148
 
 
1149
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
1150
  when doing a pack operation changes the compression of content in the
 
1151
  repository. (Robert Collins)
 
1152
 
 
1153
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
1154
  ``Repository.pack`` with the hint returned by
 
1155
  ``Repository.commit_write_group`` if the formats were different and the
 
1156
  repository can increase compression by doing a pack operation.
 
1157
  (Robert Collins, #376748)
 
1158
 
 
1159
 
 
1160
bzr 1.16
 
1161
########
 
1162
:Codename: yesterday-in-california
 
1163
:1.16rc1: 2009-06-11
 
1164
:1.16: 2009-06-18
 
1165
 
 
1166
This version of Bazaar contains the beta release of the new ``2a`` repository
 
1167
format, suitable for testing by fearless, advanced users. This format or an
 
1168
updated version of it will become the default format in Bazaar 2.0. Please
 
1169
read the NEWS entry before even thinking about upgrading to the new format.
 
1170
 
 
1171
Also included are speedups for many operations on huge projects, a bug fix for
 
1172
pushing stacked new stacked branches to smart servers and the usual bevy of
 
1173
bug fixes and improvements.
 
1174
 
 
1175
 
 
1176
Changes from 1.16rc1 to 1.16final
 
1177
*********************************
 
1178
 
 
1179
* Fix the nested tree flag check so that upgrade from development formats to
 
1180
  2a can work correctly.
 
1181
  (Jelmer Vernooij, #388727)
 
1182
 
 
1183
* Automatic format upgrades triggered by default stacking policies on a
 
1184
  1.16rc1 (or later) smart server work again.
 
1185
  (Andrew Bennetts, #388675)
 
1186
 
 
1187
 
 
1188
Compatibility Breaks
 
1189
********************
 
1190
 
 
1191
* Display prompt on stderr (instead of stdout) when querying users so
 
1192
  that the output of commands can be safely redirected.
 
1193
  (Vincent Ladeuil, #376582)
 
1194
 
 
1195
 
 
1196
New Features
 
1197
************
 
1198
 
 
1199
* A new repository format ``2a`` has been added.  This is a beta release
 
1200
  of the the brisbane-core (aka group-compress) project.  This format now
 
1201
  suitable for wider testing by advanced users willing to deal with some
 
1202
  bugs.  We would appreciate test reports, either positive or negative.
 
1203
  Format 2a is substantially smaller and faster for many operations on
 
1204
  many trees.  This format or an updated version will become the default
 
1205
  in bzr 2.0.
 
1206
 
 
1207
  This is a rich-root format, so this repository format can be used with
 
1208
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
1209
  converted (including by merge, push and pull) to format 2a, but not vice
 
1210
  versa.  We recommend upgrading previous development formats to 2a.
 
1211
 
 
1212
  Upgrading to this format can take considerable time because it expands
 
1213
  and more concisely repacks the full history.
 
1214
 
 
1215
  If you use stacked branches, you must upgrade the stacked branches
 
1216
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
1217
 
 
1218
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
1219
  but using a Revision serializer using bencode rather than XML.
 
1220
  (Jelmer Vernooij, John Arbash Meinel)
 
1221
 
 
1222
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
1223
  configured from address.  (Barry Warsaw)
 
1224
 
 
1225
Improvements
 
1226
************
 
1227
 
 
1228
 
 
1229
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
1230
  bugs with stacking and non default formats.)
 
1231
  (John Arbash Meinel, #373455)
 
1232
 
 
1233
* ``--development6-rich-root`` delays generating a delta index for the
 
1234
  first object inserted into a group. This has a beneficial impact on
 
1235
  ``bzr commit`` since each committed texts goes to its own group. For
 
1236
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
1237
  up commit from 7s => 4s. (John Arbash Meinel)
 
1238
 
 
1239
* Numerous operations are now faster for huge projects, i.e. those
 
1240
  with a large number of files and/or a large number of revisions,
 
1241
  particularly when the latest development format is used. These
 
1242
  operations (and improvements on OpenOffice.org) include:
 
1243
 
 
1244
  * branch in a shared repository (2X faster)
 
1245
  * branch --no-tree (100X faster)
 
1246
  * diff (2X faster)
 
1247
  * tags (70X faster)
 
1248
 
 
1249
  (Ian Clatworthy)
 
1250
 
 
1251
* Pyrex version of ``bencode`` support. This provides optimized support
 
1252
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
1253
  ``bzrlib.utils.bencode`` is now deprecated.
 
1254
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
1255
 
 
1256
 
 
1257
Bug Fixes
 
1258
*********
 
1259
 
 
1260
* Bazaar can now pass attachment files to the mutt email client.
 
1261
  (Edwin Grubbs, #384158)
 
1262
 
 
1263
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
1264
  see which files can also be added.  (Jason Spashett, #76616)
 
1265
 
 
1266
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
1267
  Also, the ``Branch.revision_history()`` API now works in the same
 
1268
  situation.  (Andrew Bennetts, #380314)
 
1269
  
 
1270
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
1271
  TCP client disconnected. (Andrew Bennetts)
 
1272
 
 
1273
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
1274
  ``RemoteRepository`` was handling fallbacks along with the
 
1275
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
1276
 
 
1277
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
1278
  branch. Not often triggered, because it required ghosts to be part of
 
1279
  the fetched revisions, not in the stacked-on ancestry.
 
1280
  (John Arbash Meinel)
 
1281
 
 
1282
* Fix status and commit to work with content filtered trees, addressing
 
1283
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
1284
 
 
1285
* Fix problem of "directory not empty" when contending for a lock over
 
1286
  sftp.  (Martin Pool, #340352)
 
1287
 
 
1288
* Fix rule handling so that eol is optional, not mandatory.
 
1289
  (Ian Clatworthy, #379370)
 
1290
 
 
1291
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
1292
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
1293
  1.16, but required changes to the network protocol, so the
 
1294
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
1295
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
1296
  still work with a 1.16 server as they will fallback to slower (and
 
1297
  bug-free) methods.
 
1298
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
1299
 
 
1300
* Reconcile can now deal with text revisions that originated in revisions 
 
1301
  that are ghosts. (Jelmer Vernooij, #336749)
 
1302
 
 
1303
* Support cloning of branches with ghosts in the left hand side history.
 
1304
  (Jelmer Vernooij, #248540)
 
1305
 
 
1306
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
1307
  helpful message to the trace file, unless the temp directory really was
 
1308
  removed (which would be very strange).  Since the diff operation has
 
1309
  succeeded from the user's perspective, no output is written to stderr 
 
1310
  or stdout.  (Maritza Mendez, #363837)
 
1311
 
 
1312
* Translate errors received from a smart server in response to a
 
1313
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
1314
  This was causing tracebacks even for mundane errors like
 
1315
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
1316
 
 
1317
Documentation
 
1318
*************
 
1319
 
 
1320
* Added directory structure and started translation of docs in Russian.
 
1321
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
1322
  Volodymyr Kotulskyi)
 
1323
 
 
1324
API Changes
 
1325
***********
 
1326
 
 
1327
* Added osutils.parent_directories(). (Ian Clatworthy)
 
1328
 
 
1329
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
1330
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
1331
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
1332
 
 
1333
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
1334
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
1335
  for external users. (Gary van der Merwe)
 
1336
 
 
1337
* ``bzrlib.user_encoding`` is deprecated in favor of
 
1338
  ``get_user_encoding``.  (Alexander Belchenko)
 
1339
 
 
1340
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
1341
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
1342
 
 
1343
Internals
 
1344
*********
 
1345
 
 
1346
* Remove ``weave.py`` script for accessing internals of old weave-format
 
1347
  repositories.  (Martin Pool)
 
1348
 
 
1349
Testing
 
1350
*******
 
1351
 
 
1352
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
1353
 
 
1354
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
1355
 
 
1356
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
1357
 
 
1358
 
 
1359
bzr 1.15
 
1360
########
 
1361
:1.15rc1: 2009-05-16
 
1362
:1.15: 2009-05-22
 
1363
:1.15.1: 2009-06-09
 
1364
 
 
1365
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
1366
with a size mismatch in a reconstructed graph search. New command ``bzr
 
1367
dpush``. Plugins can now define their own annotation tie-breaker when two
 
1368
revisions introduce the exact same line.
 
1369
 
 
1370
Changes from 1.15.1 to 1.15.2
 
1371
*****************************
 
1372
 
 
1373
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
1374
  (Alexander Belchenko)
 
1375
 
 
1376
Changes from 1.15final to 1.15.1
 
1377
*********************************
 
1378
 
 
1379
* Translate errors received from a smart server in response to a
 
1380
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
1381
  This was causing tracebacks even for mundane errors like
 
1382
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
1383
 
 
1384
Changes from 1.15rc1 to 1.15final
 
1385
*********************************
 
1386
 
 
1387
* No changes
 
1388
 
 
1389
Compatibility Breaks
 
1390
********************
 
1391
 
 
1392
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
1393
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
1394
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
1395
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
1396
 
 
1397
New Features
 
1398
************
 
1399
 
 
1400
* New command ``bzr dpush`` that can push changes to foreign 
 
1401
  branches (svn, git) without setting custom bzr-specific metadata.
 
1402
  (Jelmer Vernooij)
 
1403
 
 
1404
* The new development format ``--development6-rich-root`` now supports
 
1405
  stacking. We chose not to use a new format marker, since old clients
 
1406
  will just fail to open stacked branches, the same as if we used a new
 
1407
  format flag. (John Arbash Meinel, #373455)
 
1408
 
 
1409
* Plugins can now define their own annotation tie-breaker when two revisions
 
1410
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
1411
  Be aware though that this is temporary, private (as indicated by the leading
 
1412
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
1413
 
 
1414
* New command ``bzr dpush`` that can push changes to foreign 
 
1415
  branches (svn, git) without setting custom bzr-specific metadata.
 
1416
  (Jelmer Vernooij)
 
1417
 
 
1418
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
1419
  the submit branch to determine what format to use, if none was 
 
1420
  specified on the command-line.  (Jelmer Vernooij)
 
1421
 
 
1422
Improvements
 
1423
************
 
1424
 
 
1425
* -Dhpss output now includes the number of VFS calls made to the remote
 
1426
  server. (Jonathan Lange)
 
1427
 
 
1428
* ``--coverage`` works for code running in threads too.
 
1429
  (Andrew Bennets, Vincent Ladeuil)
 
1430
 
 
1431
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
1432
  local branch, and not the bound master branch.
 
1433
  (Gary van der Merwe, #194716)
 
1434
 
 
1435
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
1436
 
 
1437
Bug Fixes
 
1438
*********
 
1439
 
 
1440
* Adding now works properly when path contains a symbolic link.
 
1441
  (Geoff Bache, #183831)
 
1442
 
 
1443
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
1444
 
 
1445
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
1446
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
1447
 
 
1448
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
1449
  (Martin von Gagern, #248932)
 
1450
 
 
1451
* ``bzr send`` works to send emails again using MAPI.
 
1452
  (Neil Martinsen-Burrell, #346998)
 
1453
 
 
1454
* Check for missing parent inventories in StreamSink.  This prevents
 
1455
  incomplete stacked branches being created by 1.13 bzr:// and
 
1456
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
1457
  causes those clients to send the missing records.  (Andrew Bennetts)
 
1458
 
 
1459
* Correctly handle http servers proposing multiple authentication schemes.
 
1460
  (Vincent Ladeuil, #366107)
 
1461
 
 
1462
* End-Of-Line content filters are now loaded correctly.
 
1463
  (Ian Clatworthy, Brian de Alwis, #355280)
 
1464
 
 
1465
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
1466
  longer than 64KiB. (John Arbash Meinel, #364900)
 
1467
 
 
1468
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
1469
  (Alexander Belchenko, Martin Pool, #365891)
 
1470
 
 
1471
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
1472
  (Jelmer Vernooij, #357863)
 
1473
 
 
1474
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
1475
  (Vincent Ladeuil, #367726)
 
1476
 
 
1477
* Several bugs related to unicode symlinks have been fixed and the test suite
 
1478
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
1479
 
 
1480
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
1481
  content with a size mismatch in a reconstructed graph search: it assumes
 
1482
  that the client will make sure it is happy with what it got, and this
 
1483
  sort of mismatch is normal for stacked environments.
 
1484
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
1485
  getting all the content expected would be a bug. However the graph
 
1486
  search is how we figured out what we wanted, so a mismatch is both odd
 
1487
  and unrecoverable without starting over, and starting over will end up
 
1488
  with the same data as if we just permitted the mismatch. If data is
 
1489
  gc'd, doing a new search will find only the truncated data, so sending
 
1490
  only the truncated data seems reasonable. bzr versions newer than this
 
1491
  will stream from stacked branches and check the stream to find missing
 
1492
  content in the stacked-on branch, and thus will handle the situation
 
1493
  implicitly.  (Robert Collins, #360791)
 
1494
 
 
1495
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
1496
  set the root data the same way that reconcile does.
 
1497
  (Robert Collins, #368921)
 
1498
 
 
1499
* Using unicode Windows API to obtain command-line arguments.
 
1500
  (Alexander Belchenko, #375934)
 
1501
 
 
1502
Documentation
 
1503
*************
 
1504
 
 
1505
API Changes
 
1506
***********
 
1507
 
 
1508
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
1509
  instead of ``InstallFailed`` when they detect a missing revision.
 
1510
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
1511
 
 
1512
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
1513
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
1514
  for unicode arguments on windows. Further, the supplied arguments are now 
 
1515
  required to be unicode strings, rather than user_encoded strings.
 
1516
  (Alexander Belchenko)
 
1517
 
 
1518
Internals
 
1519
*********
 
1520
 
 
1521
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
1522
  class and will call ``_set_parent_location`` after doing unicode 
 
1523
  encoding. (Robert Collins)
 
1524
 
 
1525
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
1526
  ``Branch.set_parent_location`` removing further VFS operations.
 
1527
  (Robert Collins)
 
1528
 
 
1529
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
1530
  or similar when the dir supports configuration settings. The base class
 
1531
  defaults to None. There is a matching new server verb
 
1532
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
1533
  configuration. (Robert Collins)
 
1534
 
 
1535
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
1536
  called before the first test is started, ``done`` called after the last
 
1537
  test completes, and a new parameter ``strict``. (Robert Collins)
 
1538
 
 
1539
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
1540
  VFS operations are started on a smart server repository. This should not
 
1541
  occur on regular push and pull operations, and is a key indicator for
 
1542
  performance regressions. (Robert Collins)
 
1543
 
 
1544
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
1545
  cause mismatched physical locks to cause test errors rather than just
 
1546
  reporting to the screen. (Robert Collins)
 
1547
 
 
1548
* -Dprogress will cause pdb to start up if a progress view jumps
 
1549
  backwards. (Robert Collins)
 
1550
 
 
1551
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
1552
  are now be able to provide credentials if obtaining credentials 
 
1553
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
1554
  Vincent Ladeuil, #321918)
 
1555
 
 
1556
* New hook ``Lock.lock_broken`` which runs when a lock is
 
1557
  broken. This is mainly for testing that lock/unlock are
 
1558
  balanced in tests. (Vincent Ladeuil)
 
1559
 
 
1560
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
1561
  alter a body for the message produced by ``bzr send``.
 
1562
 
 
1563
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
1564
  refactoring to the core of clone allowing less round trips on new
 
1565
  branches. (Robert Collins)
 
1566
 
 
1567
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
1568
  are pointing at. (Jelmer Vernooij)
 
1569
 
 
1570
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
1571
 
 
1572
Testing
 
1573
*******
 
1574
 
 
1575
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
1576
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
1577
  (Vincent Ladeuil, Robert Collins)
 
1578
 
 
1579
bzr 1.14
 
1580
########
 
1581
:Codename: brisbane-core
 
1582
:1.14rc1: 2009-04-06
 
1583
:1.14rc2: 2009-04-19
 
1584
:1.14: 2009-04-28
 
1585
:1.14.1: 2009-05-01
 
1586
 
 
1587
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
1588
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
1589
End-of-line conversion is now supported for formats supporting content
 
1590
filtering.
 
1591
 
 
1592
Changes from 1.14final to 1.14.1
 
1593
********************************
 
1594
 
 
1595
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
1596
 
 
1597
Changes from 1.14rc2 to 1.14final
 
1598
*********************************
 
1599
 
 
1600
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
1601
  longer than 64KiB. (John Arbash Meinel, #364900)
 
1602
 
 
1603
Changes from 1.14rc1 to 1.14rc2
 
1604
*******************************
 
1605
 
 
1606
* Fix for bug 358037 Revision not in
 
1607
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
1608
  John A Meinel)
 
1609
 
 
1610
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
1611
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
1612
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
1613
 
 
1614
* Fix for bug 355280 eol content filters are never loaded and thus never
 
1615
  applied (Brian de Alwis, Ian Clatworthy)
 
1616
 
 
1617
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
1618
  write a better fix. (John Arbash Meinel, Robert Collins)
 
1619
 
 
1620
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
1621
  (Marius Kruger, Ian Clatworthy)
 
1622
 
 
1623
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
1624
  (Andrew Bennetts, Robert Collins)
 
1625
 
 
1626
Compatibility Breaks
 
1627
********************
 
1628
 
 
1629
* A previously disabled code path to accelerate getting configuration
 
1630
  settings from a smart server has been reinstated. We think this *may*
 
1631
  cause a incompatibility with servers older than bzr 0.15. We intend
 
1632
  to issue a point release to address this if it turns out to be a
 
1633
  problem. (Robert Collins, Andrew Bennetts)
 
1634
 
 
1635
* bzr no longer autodetects nested trees as 'tree-references'.  They
 
1636
  must now be explicitly added tree references.  At the commandline, use
 
1637
  join --reference instead of add.  (Aaron Bentley)
 
1638
 
 
1639
* The ``--long`` log format (the default) no longer shows merged
 
1640
  revisions implicitly, making it consistent with the ``short`` and
 
1641
  ``line`` log formats.  To see merged revisions for just a given
 
1642
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
1643
  use ``bzr log -n0``.  (Ian Clatworthy)
 
1644
 
 
1645
New Features
 
1646
************
 
1647
 
 
1648
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
1649
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
1650
  and generic content filtering. These formats replace the experimental
 
1651
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
1652
  respectively, but have support for filtered views disabled.
 
1653
  (Ian Clatworthy)
 
1654
 
 
1655
* New ``mv --auto`` option recognizes renames after they occur.
 
1656
  (Aaron Bentley)
 
1657
 
 
1658
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
1659
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
1660
 
 
1661
* ``bzr log`` now supports filtering of multiple files and directories
 
1662
  and will show changes that touch any of them. Furthermore,
 
1663
  directory filtering now shows the changes to any children of that
 
1664
  directory, not just the directory object itself.
 
1665
  (Ian Clatworthy, #97715)
 
1666
 
 
1667
* ``bzr shelve`` can now apply changes without storing anything on the
 
1668
  shelf, via the new --destroy option.  (Aaron Bentley)
 
1669
 
 
1670
* ``bzr send`` now accepts --body to specify an initial message body.
 
1671
  (Aaron bentley)
 
1672
 
 
1673
* ``bzr xxx --usage`` where xxx is a command now shows a usage
 
1674
  message and the options without the descriptive help sections
 
1675
  (like Description and Examples). A message is also given
 
1676
  explaining how to see the complete help, i.e. ``bzr help xxx``.
 
1677
  (Ian Clatworthy)
 
1678
 
 
1679
* Content filters can now be used to provide custom conversion
 
1680
  between the canonical format of content (i.e. as stored) and
 
1681
  the convenience format of content (i.e. as created in working
 
1682
  trees). See ``bzr help content-filters`` for further details.
 
1683
  (Ian Clatworthy, Alexander Belchenko)
 
1684
 
 
1685
* End-of-line conversion is now supported for formats supporting
 
1686
  content filtering. See ``bzr help eol`` for details.
 
1687
  (Ian Clatworthy)
 
1688
 
 
1689
* Newly-blessed `join` command allows combining two trees into one.
 
1690
  (Aaron Bentley)
 
1691
 
 
1692
Improvements
 
1693
************
 
1694
 
 
1695
* A new format name alias ``default-rich-root`` has been added and
 
1696
  points at the closest relative of the default format that supports 
 
1697
  rich roots. (Jelmer Vernooij, #338061)
 
1698
 
 
1699
* Branching from a stacked branch using ``bzr*://`` will now stream
 
1700
  the data when the target repository does not need topological
 
1701
  ordering, reducing round trips and network overhead. This uses the
 
1702
  existing smart server methods added in 1.13, so will work on any
 
1703
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
 
1704
 
 
1705
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
 
1706
  that displays/saves the content after content filters are applied.
 
1707
  (Ian Clatworthy)
 
1708
 
 
1709
* ``bzr ignore`` gives a more informative message when existing
 
1710
  version controlled files match the ignore pattern. (Neil
 
1711
  Martinsen-Burrell, #248895)
 
1712
 
 
1713
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
1714
  (Ian Clatworthy)
 
1715
 
 
1716
* ``bzr send`` is faster on repositories with deep histories.
 
1717
  (Ian Clatworthy)
 
1718
 
 
1719
* IPv6 literals are accepted in URLs.
 
1720
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
1721
 
 
1722
* Progress bars now show the rate of network activity for
 
1723
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
1724
 
 
1725
* Prompt for user names if they are not in the configuration. 
 
1726
  (Jelmer Vernooij, #256612)
 
1727
 
 
1728
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
 
1729
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
 
1730
  #294479)
 
1731
  
 
1732
* Streaming push can be done to older repository formats.  This is
 
1733
  implemented using a new ``Repository.insert_stream_locked`` RPC.
 
1734
  (Andrew Bennetts, Robert Collins)
 
1735
 
 
1736
* The "ignoring files outside view: .." message has been re-worded
 
1737
  to "Ignoring files outside view. View is .." to reduce confusion
 
1738
  about what was being considered and what was being ignored.
 
1739
  (Ian Clatworthy)
 
1740
 
 
1741
* The ``long`` log formatter now shows [merge] indicators. If
 
1742
  only one level of revisions is displayed and merges are found,
 
1743
  the ``long`` and ``short`` log formatters now tell the user
 
1744
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
1745
 
 
1746
* The ``brisbane-core`` project has delivered its beta format
 
1747
  ``development6-rich-root``. This format is suitable for judicious
 
1748
  testing by early adopters. In particular if you are benchmarking bzr
 
1749
  performance please be sure to test using this format. At this stage
 
1750
  more information is best obtained by contacting the Bazaar mailing list
 
1751
  or IRC channel if you are interested in using this format. We will make
 
1752
  end user documentation available closer to blessing the format as
 
1753
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
1754
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
1755
 
 
1756
* Tildes are no longer escaped. No more %7Euser/project/branch!
 
1757
  (Jonathan Lange)
 
1758
 
 
1759
Bug Fixes
 
1760
*********
 
1761
 
 
1762
* Pushing a new stacked branch will also push the parent inventories for
 
1763
  revisions at the stacking boundary.  This makes sure that the stacked
 
1764
  branch has enough data to calculate inventory deltas for all of its
 
1765
  revisions (without requiring the fallback branch).  This avoids
 
1766
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
1767
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
1768
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
1769
 
 
1770
* End-Of-Line content filters are now loaded correctly.
 
1771
  (Ian Clatworthy, Brian de Alwis, #355280)
 
1772
 
 
1773
* Authentication plugins now receive all the parameters from the request
 
1774
  itself (aka host, port, realm, path, etc). Previously, only the 
 
1775
  authentication section name, username and encoded password were 
 
1776
  provided. (Jean-Francois Roy)
 
1777
 
 
1778
* bzr gives a better message if an invalid regexp is passed to ``bzr log
 
1779
  -m``.  (Anne Mohsen, Martin Pool)
 
1780
 
 
1781
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
1782
 
 
1783
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
1784
  #313028)
 
1785
 
 
1786
* Fix "is not a stackable format" error when pushing a
 
1787
  stackable-format branch with an unstackable-format repository to a
 
1788
  destination with a default stacking policy.  (Andrew Bennetts)
 
1789
 
 
1790
* Fixed incorrect "Source format does not support stacking" warning
 
1791
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
1792
 
 
1793
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
1794
  needed. (Vincent Ladeuil, #355454)
 
1795
 
 
1796
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
 
1797
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
1798
  defined.  (Ian Clatworthy, #344708)
 
1799
 
 
1800
* It is no longer possible to fetch between repositories while the
 
1801
  target repository is in a write group. This prevents race conditions
 
1802
  that prevent the use of RPC's to perform fetch, and thus allows
 
1803
  optimising more operations. (Robert Collins, Andrew Bennetts)
 
1804
 
 
1805
* ``merge --force`` works again. (Robert Collins, #342105)
 
1806
 
 
1807
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
 
1808
  (Vincent Ladeuil, #346593)
 
1809
 
 
1810
* Pushing a new branch to a server that has a stacking policy will now
 
1811
  upgrade from the local branch format when the stacking policy points at
 
1812
  a branch which is itself stackable, because we know the client can read
 
1813
  both branches, we know that the trunk for the project can be read too,
 
1814
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
 
1815
 
 
1816
* Pushing a new stacked branch will also push the parent inventories for
 
1817
  revisions at the stacking boundary.  This makes sure that the stacked
 
1818
  branch has enough data to calculate inventory deltas for all of its
 
1819
  revisions (without requiring the fallback branch).  This avoids
 
1820
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
1821
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
1822
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
1823
 
 
1824
* The full test suite is passing again on OSX. Several minor issues (mostly
 
1825
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
1826
 
 
1827
* The GNU Changelog formatter is slightly improved in the case where
 
1828
  the delta is empty, and now correctly claims not to support tags.
 
1829
  (Andrea Bolognani)
 
1830
 
 
1831
* Shelve can now shelve changes to a symlink target.
 
1832
  (James Westby, #341558)
 
1833
 
 
1834
* The help for the ``info`` command has been corrected.
 
1835
  (Ian Clatworthy, #351931)
 
1836
 
 
1837
* Upgrade will now use a sensible default format if the source repository
 
1838
  uses rich roots.  (Jelmer Vernooij, #252908)
 
1839
 
 
1840
Documentation
 
1841
*************
 
1842
 
 
1843
* Expanded the index of the developer documentation. (Eric Siegerman)
 
1844
 
 
1845
* New topic `bzr help debug-flags`.  (Martin Pool)
 
1846
 
 
1847
* The generated manpage now explicitly lists aliases as commands.
 
1848
  (James Westby, #336998)
 
1849
 
 
1850
API Changes
 
1851
***********
 
1852
 
 
1853
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
1854
  (Martin Pool)
 
1855
 
 
1856
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
1857
  commit - this was a full-tree overhead that bzr no longer performs.
 
1858
  (Robert Collins)
 
1859
 
 
1860
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
1861
  obtain the username to use when connecting to remote machines. 
 
1862
  (Jelmer Vernooij)
 
1863
 
 
1864
* New API ``Inventory.filter()`` added that filters an inventory by
 
1865
  a set of file-ids so that only those fileids, their parents and
 
1866
  their children are included.  (Ian Clatworthy)
 
1867
 
 
1868
* New sort order for ``get_record_stream`` ``groupcompress`` which
 
1869
  sorts optimally for use with groupcompress compressors. (John Arbash
 
1870
  Meinel, Robert Collins)
 
1871
 
 
1872
* Repository APIs ``get_deltas_for_revisions()`` and
 
1873
  ``get_revision_delta()`` now support an optional ``specific_fileids``
 
1874
  parameter. If provided, the deltas are filtered so that only those
 
1875
  file-ids, their parents and their children are included.
 
1876
  (Ian Clatworthy)
 
1877
 
 
1878
* The ``get_credentials`` and ``set_credentials`` methods of 
 
1879
  ``AuthenticationConfig`` now accept an optional realm argument.
 
1880
  (Jean-Francois Roy)
 
1881
 
 
1882
* The ``pb`` argument to ``fetch()`` is deprecated.
 
1883
  (Martin Pool)
 
1884
 
 
1885
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
1886
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
1887
 
 
1888
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
 
1889
  that is not inside the backing transport from being opened.  See the
 
1890
  module documentation for ``bzrlib.smart.request`` for details.
 
1891
  (Andrew Bennetts, Robert Collins)
 
1892
 
 
1893
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
1894
  or None. Previously it would return the bytes from reading the link
 
1895
  which could be in any arbitrary encoding. (Robert Collins)
 
1896
 
 
1897
Testing
 
1898
*******
 
1899
 
 
1900
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
 
1901
  and ``tearDown`` weren't called.  This catches faulty tests that
 
1902
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
 
1903
  faulty tests were not properly isolated.
 
1904
  (Andrew Bennetts, Robert Collins)
 
1905
 
 
1906
* Fix test_msgeditor.MsgEditorTest test isolation.
 
1907
  (Vincent Ladeuil, #347130)
 
1908
 
 
1909
* ``medusa`` is not used anymore as an FTP test server starting with
 
1910
  python2.6. A new FTP test server based on ``pyftplib`` can be used
 
1911
  instead. This new server is a soft dependency as medusa which is still
 
1912
  preferred if both are available (modulo python version).
 
1913
  (Vincent Ladeuil)
 
1914
 
 
1915
Internals
 
1916
*********
 
1917
 
 
1918
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
1919
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
1920
 
 
1921
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
1922
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
1923
 
 
1924
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
1925
  serializing and deserializing inventory deltas for more efficient
 
1926
  streaming on the the network.  (Robert Collins, Andrew Bennetts)
 
1927
 
 
1928
* ``Branch._get_config`` has been added, which splits out access to the
 
1929
  specific config file from the branch. This is used to let RemoteBranch
 
1930
  avoid constructing real branch objects to access configuration settings.
 
1931
  (Robert Collins, Andrew Bennetts)
 
1932
 
 
1933
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
1934
  the implementation is generic and should impact foreign formats. This
 
1935
  helps performance for ``RemoteBranch`` push operations to new stacked
 
1936
  branches. (Robert Collins, Andrew Bennetts)
 
1937
 
 
1938
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
 
1939
  optmizations turned off. This only has effect when processing > 100,000
 
1940
  keys during something like ``bzr pack``. (John Arbash Meinel)
 
1941
 
 
1942
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
 
1943
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
 
1944
  dependency. (Robert Collins)
 
1945
 
 
1946
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
 
1947
  parameter for controlling opening of stacked branches.
 
1948
  (Andrew Bennetts, Robert Collins)
 
1949
  
 
1950
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
 
1951
  in terms of an iter_changes iterator rather than full tree scanning.
 
1952
  (Robert Collins)
 
1953
 
 
1954
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
 
1955
  enabling it to store the SHA1 and stat of the canonical (post
 
1956
  content filtered) form. (Ian Clatworthy)
 
1957
 
 
1958
* New ``assertLength`` method based on one Martin has squirreled away
 
1959
  somewhere. (Robert Collins, Martin Pool)
 
1960
 
 
1961
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
 
1962
  objects, allowing better enforcement of the smart server jail when
 
1963
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
 
1964
 
 
1965
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
1966
  to be added to the stanza that is printed for a particular revision.
 
1967
  (Jelmer Vernooij)
 
1968
 
 
1969
* New repository method ``refresh_data`` to cause any repository to
 
1970
  make visible data inserted into the repository by a smart server
 
1971
  fetch operation. (Robert Collins, Andrew Bennetts)
 
1972
 
 
1973
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
1974
  a callable to invoke if a preference has a value not in the map
 
1975
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
1976
  handle existing svn properties that define a list of keywords to be
 
1977
  expanded.  (Ian Clatworthy)
 
1978
 
 
1979
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
1980
  to write config settings to smart servers that support this, saving
 
1981
  5 round trips on the stacked streaming acceptance test.
 
1982
  (Robert Collins, Andrew Bennetts)
 
1983
 
 
1984
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
1985
  branch specific configuration from a remote server, which uses the 
 
1986
  already existing ``Branch.get_config_file`` smart verb.
 
1987
  (Robert Collins, Andrew Bennetts)
 
1988
 
 
1989
* ``RemoteRepository`` will now negatively cache missing revisions during
 
1990
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
 
1991
  (Robert Collins, Andrew Bennetts)
 
1992
 
 
1993
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
 
1994
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
 
1995
  (Andrew Bennetts)
 
1996
 
 
1997
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
 
1998
  whether the repository can efficiently generate deltas between trees
 
1999
  regardless of tree size. (Robert Collins)
 
2000
 
 
2001
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
 
2002
  byte strings" (aka 'chunked') for the content. It previously was
 
2003
  returning a plain string, which worked, but performed very poorly when
 
2004
  building a working tree (file.writelines(str) is very inefficient). This
 
2005
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
 
2006
 
 
2007
* selftest now supports a --parallel option, with values of 'fork' or
 
2008
  'subprocess' to run the test suite in parallel. Currently only linux
 
2009
  machine work, other platforms need patches submitted. (Robert Collins,
 
2010
  Vincent Ladeuil)
 
2011
 
 
2012
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
 
2013
  callables to use to decorate the test suite. Such decorators can add or
 
2014
  remove tests, or even remote the test suite to another machine if
 
2015
  desired. (Robert Collins)
 
2016
 
 
2017
* The smart server verb ``Repository.get_parent_map`` can now include
 
2018
  information about ghosts when the special revision ``include-missing:``
 
2019
  is in the requested parents map list. With this flag, ghosts are
 
2020
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
 
2021
 
 
2022
* ``_walk_to_common_revisions`` will now batch up at least 50
 
2023
  revisions before calling ``get_parent_map`` on the target,
 
2024
  regardless of ``InterRepository``.
 
2025
  (Andrew Bennetts, Robert Collins)
 
2026
 
 
2027
bzr 1.13
 
2028
########
 
2029
 
 
2030
:Codename: paraskavedekatriaphobia
 
2031
:1.13: 2009-03-14
 
2032
:1.13rc1: 2009-03-10
 
2033
:1.13.1: 2009-03-23
 
2034
:1.13.2: 2009-04-27
 
2035
 
 
2036
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
 
2037
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
 
2038
stacked branches should both be much faster over remote connections.  
 
2039
 
 
2040
Changes From 1.13.1 to 1.13.2
 
2041
*****************************
 
2042
 
 
2043
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
2044
a stacked branch they do not take care to push all the parent inventories for
 
2045
the transferred revisions. This means that a smart server serving that branch
 
2046
often cannot calculate inventory deltas for the branch (because smart server
 
2047
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
2048
have a verb to stream revisions out of a repository, so that's why this bug has
 
2049
appeared now.
 
2050
 
 
2051
Bug Fixes
 
2052
*********
 
2053
 
 
2054
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
2055
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
2056
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
2057
 
 
2058
Changes From 1.13final to 1.13.1
 
2059
********************************
 
2060
 
 
2061
A couple regessions where found in the 1.13 release. The pyrex-generated C
 
2062
extensions are missing from the .tar.gz and .zip files.  Documentation on how
 
2063
to generate GNU ChangeLogs is wrong.
 
2064
 
 
2065
Bug Fixes
 
2066
*********
 
2067
 
 
2068
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
 
2069
  version_info. (Bob Tanner, Martin Pool, #345232)
 
2070
 
 
2071
* Distribution archives for 1.13 do not contain generated C extension modules
 
2072
  (Jean-Francois Roy, Bob Tanner, #344465)
 
2073
 
 
2074
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
 
2075
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
 
2076
 
 
2077
* ``merge --force`` works again. (Robert Collins, #342105)
 
2078
 
 
2079
Changes From 1.13rc1 to 1.13final
 
2080
*********************************
 
2081
 
 
2082
* Fix "is not a stackable format" error when pushing a
 
2083
  stackable-format branch with an unstackable-format repository to a
 
2084
  destination with a default stacking policy.  (Andrew Bennetts)
 
2085
 
 
2086
* Progress bars now show the rate of network activity for
 
2087
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
2088
 
 
2089
Compatibility Breaks
 
2090
********************
 
2091
 
 
2092
* ``bzr log --line`` now indicates which revisions are merges with
 
2093
  `[merge]` after the date.  Scripts which parse the output of this
 
2094
  command may need to be adjusted.
 
2095
  (Neil Martinsen-Burrell)
 
2096
 
 
2097
New Features
 
2098
************
 
2099
 
 
2100
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
 
2101
  options to change the default tree-creation policy of shared
 
2102
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
 
2103
 
 
2104
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
 
2105
  (Martin Pool)
 
2106
 
 
2107
* Filtered views provide a mask over the tree so that users can focus
 
2108
  on a subset of a tree when doing their work. See ``Filtered views``
 
2109
  in chapter 7 of the User Guide and ``bzr help view`` for details.
 
2110
  (Ian Clatworthy)
 
2111
 
 
2112
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
 
2113
  (Andrea Bolognani, Martin Pool)
 
2114
 
 
2115
* The ``-Dmemory`` flag now gives memory information on Windows.
 
2116
  (John Arbash Meinel)
 
2117
 
 
2118
* Multiple authors for a commit can now be recorded by using the "--author"
 
2119
  option multiple times. (James Westby, #185772)
 
2120
 
 
2121
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
 
2122
 
 
2123
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
 
2124
  branch in your web browser, as long as the branch is on Launchpad at all.
 
2125
  (Jonathan Lange)
 
2126
 
 
2127
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
 
2128
  (Jonathan Lange)
 
2129
 
 
2130
Improvements
 
2131
************
 
2132
 
 
2133
* All bzr ``Hooks`` classes are now registered in
 
2134
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
 
2135
  ``bzrlib.tests`` and ensures that all hooks registered there are
 
2136
  correctly isolated by the test suite (previously
 
2137
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
 
2138
  documentation for hooks is now dynamically generated from the
 
2139
  present HookPoints. ``bzr hooks`` will now also report on all the
 
2140
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
 
2141
  (Robert Collins)
 
2142
 
 
2143
* ``bzr add`` no longer prints ``add completed`` on success. Failure
 
2144
  still prints an error message. (Robert Collins)
 
2145
 
 
2146
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
 
2147
  generation of a working tree in the new branch.
 
2148
  (Daniel Watkins, John Klinger, #273993)
 
2149
 
 
2150
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
 
2151
  use ssh://. (Jelmer Vernooij, #330535)
 
2152
 
 
2153
* ``bzr -v info`` now omits the number of committers branch statistic,
 
2154
  making it many times faster for large projects. To include that
 
2155
  statistic in the output, use ``bzr -vv info``.
 
2156
  (Ian Clatworthy)
 
2157
 
 
2158
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
 
2159
  stream if the server is version 1.13 or greater, reducing roundtrips
 
2160
  significantly. (Andrew Bennetts, Robert Collins)
 
2161
 
 
2162
* Lightweight Checkouts and Stacked Branches should both be much
 
2163
  faster over remote connections. Building the working tree now
 
2164
  batches up requests into approx 5MB requests, rather than a separate
 
2165
  request for each file. (John Arbash Meinel)
 
2166
 
 
2167
* Support for GSSAPI authentication when using HTTP or HTTPS. 
 
2168
  (Jelmer Vernooij)
 
2169
 
 
2170
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
 
2171
  short options better. (Daniel Watkins, #327429)
 
2172
 
 
2173
* ``bzr lp-open`` now falls back to the push location if it cannot find a
 
2174
  public location. (Jonathan Lange, #332372)
 
2175
 
 
2176
* ``bzr lp-open`` will try to find the Launchpad URL for the location
 
2177
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
 
2178
  expected. (Jonathan Lange, #332705)
 
2179
 
 
2180
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
 
2181
 
 
2182
Bug Fixes
 
2183
*********
 
2184
 
 
2185
* Allows ``bzr log <FILE>`` to be called in an empty branch without
 
2186
  backtracing. (Vincent Ladeuil, #346431)
 
2187
 
 
2188
* Bazaar now gives a better message including the filename if it's
 
2189
  unable to read a file in the working directory, for example because
 
2190
  of a permission error.  (Martin Pool, #338653)
 
2191
 
 
2192
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
 
2193
  file id in the working tree different from the one in revision <old>.
 
2194
  (Vincent Ladeuil, #341517, #253806)
 
2195
 
 
2196
* ``bzr send`` help is more specific about how to apply merge
 
2197
  directives.  (Neil Martinsen-Burrell, #253470)
 
2198
 
 
2199
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
 
2200
  than fetching trees and determining a delta itself. (Jelmer
 
2201
  Vernooij, #315048)
 
2202
 
 
2203
* ``bzr push`` to a smart server no longer causes "Revision
 
2204
  {set([('null:',)])} not present ..." errors when the branch has
 
2205
  multiple root revisions. (Andrew Bennetts, #317654)
 
2206
 
 
2207
* ``bzr shelve`` now properly handle patches with no terminating newline.
 
2208
  (Benoît PIERRE, #303569)
 
2209
 
 
2210
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
 
2211
  shelf id. (Daniel Watkins)
 
2212
 
 
2213
* Export now handles files that are not present in the tree.
 
2214
  (James Westby, #174539)
 
2215
 
 
2216
* Fixed incorrect "Source format does not support stacking" warning
 
2217
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
2218
  
 
2219
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
 
2220
  error branching from old repositories.
 
2221
  (Martin Pool, #321695)
 
2222
 
 
2223
* Make ``bzr push --quiet <non-local location>`` less chatty.
 
2224
  (Kent Gibson, #221461)
 
2225
 
 
2226
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
 
2227
  branches, and this was not noticed due to a bug in the test logic
 
2228
  for branches. This is now fixed and a test added to prevent it
 
2229
  reoccuring. (Robert Collins, Andrew Bennetts)
 
2230
 
 
2231
* Restore the progress bar on Windows. We were disabling it when TERM
 
2232
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
2233
  #334808)
 
2234
 
 
2235
* ``setup.py build_ext`` now gives a proper error when an extension
 
2236
  fails to build. (John Arbash Meinel)
 
2237
 
 
2238
* Symlinks to non ascii file names are now supported.
 
2239
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
 
2240
 
 
2241
* Under rare circumstances (aka nobody reported a bug about it), the ftp
 
2242
  transport could revert to ascii mode. It now stays in binary mode except
 
2243
  when needed.  (Vincent Ladeuil)
 
2244
 
 
2245
* Unshelve does not generate warnings about progress bars.
 
2246
  (Aaron Bentley, #328148)
 
2247
 
 
2248
* shelve cleans up properly when unversioned files are specified.
 
2249
  (Benoît Pierre, Aaron Bentley)
 
2250
 
 
2251
Documentation
 
2252
*************
 
2253
 
 
2254
* Added ``Organizing your workspace`` to the User Guide appendices,
 
2255
  summarizing some common ways of organizing trees, branches and
 
2256
  repositories and the processes/workflows implied/enabled by each.
 
2257
  (Ian Clatworthy)
 
2258
 
 
2259
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
 
2260
  is the entry point for this feature. (Robert Collins)
 
2261
 
 
2262
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
 
2263
  (Daniel Watkins, #327421, #327425)
 
2264
 
 
2265
API Changes
 
2266
***********
 
2267
 
 
2268
* ``bzr selftest`` now fails if the bazaar sources contain trailing
 
2269
  whitespace, non-unix style line endings and files not ending in a
 
2270
  newline. About 372 files and 3243 lines with trailing whitespace was
 
2271
  updated to comply with this. The code already complied with the other
 
2272
  criteria, but now it is enforced. (Marius Kruger)
 
2273
 
 
2274
* ``bzrlib.branch.PushResult`` was renamed to 
 
2275
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
 
2276
 
 
2277
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
 
2278
  than a count of copied revisions and failed revisions. A while back
 
2279
  we stopped ever reporting failed revisions because we started
 
2280
  erroring instead, and the copied revisions count is not used in the
 
2281
  UI at all - indeed it only reflects the repository status not
 
2282
  changes to the branch itself. (Robert Collins)
 
2283
 
 
2284
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
 
2285
  appears multiple times within the delta. (Ian Clatworthy)
 
2286
 
 
2287
* MutableTree.commit now favours the "authors" argument, with the old
 
2288
  "author" argument being deprecated.
 
2289
 
 
2290
* Remove deprecated EmptyTree.  (Martin Pool)
 
2291
 
 
2292
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
 
2293
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
 
2294
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
 
2295
  which revisions to fetch. (Andrew Bennetts)
 
2296
 
 
2297
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
 
2298
  tuple of ``(repository, is_new_flag)``, rather than just the
 
2299
  repository.  (Andrew Bennetts)
 
2300
 
 
2301
* Revision.get_apparent_author() is now deprecated, replaced by
 
2302
  Revision.get_apparent_authors(), which returns a list. The former
 
2303
  now returns the first item that would be returned from the second.
 
2304
 
 
2305
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
 
2306
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
 
2307
 
 
2308
* The ``_fetch_*`` attributes on ``Repository`` are now on
 
2309
  ``RepositoryFormat``, more accurately reflecting their intent (they
 
2310
  describe a disk format capability, not state of a particular
 
2311
  repository of that format). (Robert Collins)
 
2312
 
 
2313
Internals
 
2314
*********
 
2315
 
 
2316
* Branching from a non-stacked branch on a smart protocol is now
 
2317
  free of virtual file system methods.
 
2318
  (Robert Collins, Andrew Bennetts)
 
2319
 
 
2320
* Branch and Repository creation on a bzr+ssh://server are now done
 
2321
  via RPC calls rather than VFS calls, reducing round trips for
 
2322
  pushing new branches substantially. (Robert Collins)
 
2323
 
 
2324
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
 
2325
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
 
2326
  configured before the branch tags and revision tip are set. This
 
2327
  fixes a race condition cloning stacked branches that would cause
 
2328
  plugins to have hooks called on non-stacked instances.
 
2329
  (Robert Collins, #334187)
 
2330
 
 
2331
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
 
2332
 
 
2333
* ``BzrDirFormat.__str__`` now uses the human readable description
 
2334
  rather than the sometimes-absent disk label. (Robert Collins)
 
2335
 
 
2336
* ``bzrlib.fetch`` is now composed of a sender and a sink component
 
2337
  allowing for decoupling over a network connection. Fetching from
 
2338
  or into a RemoteRepository with a 1.13 server will use this to
 
2339
  stream the operation.
 
2340
  (Andrew Bennetts, Robert Collins)
 
2341
 
 
2342
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
 
2343
  supporting the use of different runners. (Robert Collins)
 
2344
 
 
2345
* Change how file_ids and revision_ids are interned as part of
 
2346
  inventory deserialization. Now we use the real ``intern()``, rather
 
2347
  than our own workaround that would also cache a Unicode copy of the
 
2348
  string, and never emptied the cache. This should slightly reduce
 
2349
  memory consumption. (John Arbash Meinel)
 
2350
 
 
2351
* New branch method ``create_clone_on_transport`` that returns a
 
2352
  branch object. (Robert Collins)
 
2353
 
 
2354
* New hook Commands['extend_command'] to allow plugins to access a
 
2355
  command object before the command is run (or help generated from
 
2356
  it), without overriding the command. (Robert Collins)
 
2357
 
 
2358
* New version of the ``BzrDir.find_repository`` verb supporting
 
2359
  ``_network_name`` to support removing more _ensure_real calls.
 
2360
  (Robert Collins)
 
2361
 
 
2362
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
 
2363
  (Robert Collins)
 
2364
 
 
2365
* ``Repository`` objects now have ``suspend_write_group`` and
 
2366
  ``resume_write_group`` methods.  These are currently only useful
 
2367
  with pack repositories. (Andrew Bennetts, Robert Collins)
 
2368
 
 
2369
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
 
2370
  now have a ``network_name`` for passing the format across RPC calls.
 
2371
  (Robert Collins, Andrew Bennetts)
 
2372
 
 
2373
* ``RepositoryFormat`` objects now all have a new attribute
 
2374
  ``_serializer`` used by fetch when reserialising is required.
 
2375
  (Robert Collins, Andrew Bennetts)
 
2376
 
 
2377
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
 
2378
  to aid branch types that are not bzr branch objects (like
 
2379
  RemoteBranch). (Robert Collins, Andrew Bennetts)
 
2380
 
 
2381
* Test adaptation has been made consistent throughout the built in
 
2382
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
 
2383
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
 
2384
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
 
2385
  and ``apply_scenario``. (Robert Collins)
 
2386
 
 
2387
* ``TestSkipped`` is now detected by TestCase and passed to the
 
2388
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
 
2389
  where ``addSkip`` is not available, ``addError`` is still called.
 
2390
  This permits test filtering in subunit to strip out skipped tests
 
2391
  resulting in a faster fix-shrink-list-run cycle. This is compatible
 
2392
  with the testtools protocol for skips. (Robert Collins)
 
2393
 
 
2394
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
 
2395
  to scan an underlying index that is going to be incorporated into
 
2396
  the ``KnitVersionedFiles`` object, to determine if it has missing
 
2397
  delta references. The method is ``scan_unvalidated_index``.
 
2398
  (Andrew Bennetts, Robert Collins)
 
2399
 
 
2400
* There is a RemoteSink object which handles pushing to smart servers.
 
2401
  (Andrew Bennetts, Robert Collins)
 
2402
 
 
2403
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
 
2404
  ``rmdir`` calls. (Robert Collins)
 
2405
 
 
2406
* ``VersionedFiles`` record adapters have had their signature change
 
2407
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
 
2408
  ``(record)`` reducing excess duplication and allowing adapters
 
2409
  to access private data in record to obtain content more
 
2410
  efficiently. (Robert Collins)
 
2411
 
 
2412
* We no longer probe to see if we should create a working tree during
 
2413
  clone if we cannot get a local_abspath for the new bzrdir.
 
2414
  (Robert Collins)
 
2415
 
 
2416
 
 
2417
bzr 1.12
 
2418
########
 
2419
 
 
2420
:Codename: 1234567890
 
2421
:1.12: 2009-02-13
 
2422
:1.12rc1: 2009-02-10
 
2423
 
 
2424
This release of Bazaar contains many improvements to the speed,
 
2425
documentation and functionality of ``bzr log`` and the display of logged
 
2426
revisions by ``bzr status``.  bzr now also gives a better indication of
 
2427
progress, both in the way operations are drawn onto a text terminal, and
 
2428
by showing the rate of network IO.
 
2429
 
 
2430
Changes from RC1 to Final
 
2431
*************************
 
2432
 
 
2433
* ``bzr init --development-wt5[-rich-root]`` would fail because of
 
2434
  circular import errors. (John Arbash Meinel, #328135)
 
2435
 
 
2436
* Expanded the help for log and added a new help topic called
 
2437
  ``log-formats``.  (Ian Clatworthy)
 
2438
 
 
2439
Compatibility Breaks
 
2440
********************
 
2441
 
 
2442
* By default, ``bzr status`` after a merge now shows just the pending
 
2443
  merge tip revisions. This improves the signal-to-noise ratio after
 
2444
  merging from trunk and completes much faster. To see all merged
 
2445
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
 
2446
 
 
2447
* ``bzr log --line`` now shows any tags after the date and before
 
2448
  the commit message. If you have scripts which parse the output
 
2449
  from this command, you may need to adjust them accordingly.
 
2450
  (Ian Clatworthy)
 
2451
 
 
2452
* ``bzr log --short`` now shows any additional revision properties
 
2453
  after the date and before the commit message.  Scripts that parse 
 
2454
  output of the log command in this situation may need to adjust.
 
2455
  (Neil Martinsen-Burrell)
 
2456
 
 
2457
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
 
2458
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
 
2459
  respectively, given they are not ready for release in 1.12.
 
2460
  (Ian Clatworthy)
 
2461
 
 
2462
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
 
2463
 
 
2464
New Features
 
2465
************
 
2466
 
 
2467
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
 
2468
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
 
2469
  be filtered using ``bzr missing --my-revision -20..-10``.
 
2470
  (Marius Kruger)
 
2471
 
 
2472
* ``bzr log -p`` displays the patch diff for each revision.
 
2473
  When logging a file, the diff only includes changes to that file.
 
2474
  (Ian Clatworthy, #202331, #227335)
 
2475
 
 
2476
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
 
2477
  A value of 0 (zero) means "show all nested merge revisions" while
 
2478
  a value of 1 (one) means "show just the top level". Values above
 
2479
  1 can be used to see a limited amount of nesting. That can be
 
2480
  useful for seeing the level or two below PQM submits for example.
 
2481
  To force the ``--short`` and ``--line`` formats to display all nested
 
2482
  merge revisions just like ``--long`` does by default, use a command
 
2483
  like ``bzr log --short -n0``. To display just the mainline using
 
2484
  ``--long`` format, ``bzr log --long -n1``.
 
2485
  (Ian Clatworthy)
 
2486
 
 
2487
Improvements
 
2488
************
 
2489
 
 
2490
* ``bzr add`` more clearly communicates success vs failure.
 
2491
  (Daniel Watkins)
 
2492
 
 
2493
* ``bzr init`` will now print a little less verbose output.
 
2494
  (Marius Kruger)
 
2495
 
 
2496
* ``bzr log`` is now much faster in many use cases, particularly
 
2497
  at incrementally displaying results and filtering by a
 
2498
  revision range. (Ian Clatworthy)
 
2499
 
 
2500
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
 
2501
  for each revision. The tags are shown comma-separated inside
 
2502
  ``{}``. For short format, the tags appear at the end of line
 
2503
  before the optional ``[merge]`` indicator. For line format,
 
2504
  the tags appear after the date. (Ian Clatworthy)
 
2505
 
 
2506
* Progress bars now show the rate of activity for some sftp 
 
2507
  operations, and they are drawn different.  (Martin Pool, #172741)
 
2508
 
 
2509
* Progress bars now show the rate of activity for urllib and pycurl based
 
2510
  http client implementations. The operations are tracked at the socket
 
2511
  level for better precision.
 
2512
  (Vincent Ladeuil)
 
2513
 
 
2514
* Rule-based preferences can now accept multiple patterns for a set of
 
2515
  rules.  (Marius Kruger)
 
2516
 
 
2517
* The ``ancestor:`` revision spec will now default to referring to the
 
2518
  parent of the branch if no other location is given.
 
2519
  (Daniel Watkins, #198417)
 
2520
 
 
2521
* The debugger started as a result of setting ``$BZR_PDB`` works
 
2522
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
 
2523
  can cause truncated tracebacks in Python versions before 2.6.
 
2524
  (Andrew Bennetts)
 
2525
 
 
2526
* VirtualVersionedFiles now implements
 
2527
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
 
2528
  new branches based on stacked bzr-svn branches. (#311997)
 
2529
 
 
2530
Bug Fixes
 
2531
*********
 
2532
 
 
2533
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
 
2534
  anymore.
 
2535
  (Anne Mohsen, Vincent Ladeuil, #314525)
 
2536
 
 
2537
* ``bzr log FILE`` now correctly shows mainline revisions merging
 
2538
  a change to FILE when the ``--short`` and ``--line`` log formats
 
2539
  are used. (Ian Clatworthy, #317417)
 
2540
 
 
2541
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
 
2542
  it existed in Y or X, even if the file has since been deleted or
 
2543
  renamed. If no range is given, the current/basis tree and
 
2544
  initial tree are searched in that order. More generally, log
 
2545
  now interprets filenames in their historical context.
 
2546
  (Ian Clatworthy, #175520)
 
2547
 
 
2548
* ``bzr status`` now reports nonexistent files and continues, then
 
2549
  errors (with code 3) at the end.  (Karl Fogel, #306394)
 
2550
 
 
2551
* Don't require the present compression base in knits to be the same
 
2552
  when adding records in knits. (Jelmer Vernooij, #307394)
 
2553
 
 
2554
* Fix a problem with CIFS client/server lag on Windows colliding with
 
2555
  an invariant-per-process algorithm for generating AtomicFile names
 
2556
  (Adrian Wilkins, #304023)
 
2557
 
 
2558
* Many socket operations now handle EINTR by retrying the operation.
 
2559
  Previously EINTR was treated as an unrecoverable failure.  There is
 
2560
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
 
2561
  (Andrew Bennetts)
 
2562
 
 
2563
* Support symlinks with non-ascii characters in the symlink filename.
 
2564
  (Jelmer Vernooij, #319323)
 
2565
 
 
2566
* There was a bug in how we handled resolving when a file is deleted
 
2567
  in one branch, and modified in the other. If there was a criss-cross
 
2568
  merge, we would cause the deletion to conflict a second time.
 
2569
  (Vincent Ladeuil, John Arbash Meinel)
 
2570
 
 
2571
* There was another bug in how we chose the correct intermediate LCA in
 
2572
  criss-cross merges leading to several kind of changes be incorrectly
 
2573
  handled.
 
2574
  (John Arbash Meinel, Vincent Ladeuil)
 
2575
 
 
2576
* Unshelve now handles deleted paths without crashing. (Robert Collins)
 
2577
 
 
2578
Documentation
 
2579
*************
 
2580
 
 
2581
* Improved plugin developer documentation.  (Martin Pool)
 
2582
 
 
2583
API Changes
 
2584
***********
 
2585
 
 
2586
* ``ProgressBarStack`` is deprecated; instead use
 
2587
  ``ui_factory.nested_progress_bar`` to create new progress bars.
 
2588
  (Martin Pool)
 
2589
 
 
2590
* ForeignVcsMapping() now requires a ForeignVcs object as first
 
2591
  argument. (Jelmer Vernooij)
 
2592
 
 
2593
* ForeignVcsMapping.show_foreign_revid() has been moved to
 
2594
  ForeignVcs. (Jelmer Vernooij)
 
2595
 
 
2596
* ``read_bundle_from_url`` is deprecated in favor of
 
2597
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
 
2598
 
 
2599
* Revision specifiers are now registered in
 
2600
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
 
2601
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
 
2602
  deprecated. (Jelmer Vernooij, #321183)
 
2603
 
 
2604
* The progress and UI classes have changed; the main APIs remain the
 
2605
  same but code that provides a new UI or progress bar class may
 
2606
  need to be updated.  (Martin Pool)
 
2607
 
 
2608
Internals
 
2609
*********
 
2610
 
 
2611
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
 
2612
  terminal. It is sometimes desirable do override this default by forcing
 
2613
  bzr to use TextUIFactory. This can be achieved by setting the
 
2614
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
 
2615
  compile buffers, are such an example).
 
2616
  (Vincent Ladeuil)
 
2617
 
 
2618
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
 
2619
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
 
2620
  (Ian Clatworthy)
 
2621
 
 
2622
* New ``Branch.dotted_revno_to_revision_id()`` and
 
2623
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
 
2624
  efficient way of doing the mapping.
 
2625
  (Ian Clatworthy)
 
2626
 
 
2627
* Refactor cmd_serve so that it's a little easier to build commands that
 
2628
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
 
2629
 
 
2630
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
 
2631
  formatters to retrict the output.
 
2632
  (Vincent Ladeuil)
 
2633
 
 
2634
 
 
2635
bzr 1.11
 
2636
########
 
2637
 
 
2638
:Codename: "Eyes up!"
 
2639
:Released: 2009-01-19
 
2640
 
 
2641
This first monthly release of Bazaar for 2009 improves Bazaar's operation
 
2642
in Windows, Mac OS X, and other situations where file names are matched
 
2643
without regard to capitalization: Bazaar tries to match the case of an
 
2644
existing file.  This release of Bazaar also improves the efficiency of
 
2645
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
 
2646
 
 
2647
The UI through which Bazaar supports historic formats has been improved,
 
2648
so 'bzr help formats' now gives a simpler and shorter list, with clear
 
2649
advice.
 
2650
 
 
2651
This release also fixes a number of bugs, particularly a glitch that can
 
2652
occur when there are concurrent writes to a pack repository.
 
2653
 
 
2654
Bug Fixes
 
2655
*********
 
2656
 
 
2657
* Fix failing test when CompiledChunksToLines is not available.
 
2658
  (Vincent Ladeuil)
 
2659
 
 
2660
* Stacked branches don't repeatedly open their transport connection.
 
2661
  (John Arbash Meinel)
 
2662
 
 
2663
 
 
2664
 
 
2665
bzr 1.11rc1
 
2666
###########
 
2667
 
 
2668
:Codename: "Eyes up!"
 
2669
:Released: 2009-01-09
 
2670
 
 
2671
Changes
 
2672
*******
 
2673
 
 
2674
* Formats using Knit-based repository formats are now explicitly
 
2675
  marked as deprecated. (Ian Clatworthy)
 
2676
 
 
2677
New Features
 
2678
************
 
2679
 
 
2680
* Add support for `bzr tags -r 1..2`, that is we now support showing
 
2681
  tags applicable for a specified revision range. (Marius Kruger)
 
2682
 
 
2683
* ``authentication.conf`` now accepts pluggable read-only credential
 
2684
  stores. Such a plugin (``netrc_credential_store``) is now included,
 
2685
  handles the ``$HOME/.netrc`` file and can server as an example to
 
2686
  implement other plugins.
 
2687
  (Vincent Ladeuil)
 
2688
 
 
2689
* ``shelve --list`` can now be used to list shelved changes.
 
2690
  (Aaron Bentley)
 
2691
 
 
2692
Improvements
 
2693
************
 
2694
 
 
2695
* Add trailing slash to directories in all output of ``bzr ls``, except
 
2696
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
 
2697
 
 
2698
* ``bzr revision-info`` now supports a -d option to specify an
 
2699
  alternative branch. (Michael Hudson)
 
2700
 
 
2701
* Add connection to a C++ implementation of the Windows Shell Extension
 
2702
  which is able to fully replace the current Python implemented one.
 
2703
  Advantages include 64bit support and reduction in overhead for
 
2704
  processes which drag in shell extensions.
 
2705
  (Mark Hammond)
 
2706
 
 
2707
* Support the Claws mail client directly, rather than via
 
2708
  xdg-email. This prevents the display of an unnecessary modal
 
2709
  dialog in Claws, informing the user that a file has been
 
2710
  attached to the message, and works around bug #291847 in
 
2711
  xdg-utils which corrupts the destination address.
 
2712
 
 
2713
* When working on a case-insensitive case-preserving file-system, as
 
2714
  commonly found with Windows, bzr will often ignore the case of the
 
2715
  arguments specified by the user in preference to the case of an existing
 
2716
  item on the file-system or in the inventory to help prevent
 
2717
  counter-intuitive behaviour on Windows. (Mark Hammond)
 
2718
 
 
2719
Bug Fixes
 
2720
*********
 
2721
  
 
2722
* Allow BzrDir implementation to implement backing up of 
 
2723
  control directory. (#139691)
 
2724
 
 
2725
* ``bzr push`` creating a new stacked branch will now only open a
 
2726
  single connection to the target machine. (John Arbash Meinel)
 
2727
 
 
2728
* Don't call iteritems on transport_list_registry, because it may
 
2729
  change during iteration.  (Martin Pool, #277048)
 
2730
 
 
2731
* Don't make a broken branch when pushing an unstackable-format branch
 
2732
  that's in a stackable shared repository to a location with default
 
2733
  stack-on location.  (Andrew Bennetts, #291046)
 
2734
 
 
2735
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
 
2736
  (Ben Jansen, Vincent Ladeuil, #300347)
 
2737
 
 
2738
* Fix a problem with CIFS client/server lag on windows colliding with
 
2739
  an invariant-per-process algorithm for generating AtomicFile names
 
2740
  (Adrian Wilkins, #304023)
 
2741
 
 
2742
* Fix bogus setUp signature in UnavailableFTPServer.
 
2743
  (Gary van der Merwe, #313498)
 
2744
 
 
2745
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
 
2746
  (Jari Aalto)
 
2747
 
 
2748
* Fix SystemError in ``_patiencediff_c`` module by calling
 
2749
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
 
2750
  (Andrew Bennetts, #303206)
 
2751
 
 
2752
* Give proper error message for diff with non-existent dotted revno.
 
2753
  (Marius Kruger, #301969)
 
2754
 
 
2755
* Handle EACCES (permission denied) errors when launching a message
 
2756
  editor, and emit warnings when a configured editor cannot be
 
2757
  started. (Andrew Bennetts)
 
2758
 
 
2759
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
 
2760
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
 
2761
  in the appropriate sections.
 
2762
  (Vincent Ladeuil, #103029)
 
2763
 
 
2764
* Opening a stacked branch now properly shares the connection, rather
 
2765
  than opening a new connection for the stacked-on branch.
 
2766
  (John Arbash meinel)
 
2767
 
 
2768
* Preserve transport decorators while following redirections.
 
2769
  (Vincent Ladeuil, #245964, #270863)
 
2770
 
 
2771
* Provides a finer and more robust filter for accepted redirections.
 
2772
  (Vincent Ladeuil, #303959, #265070)
 
2773
 
 
2774
* ``shelve`` paths are now interpreted relative to the current working
 
2775
  tree.  (Aaron Bentley)
 
2776
 
 
2777
* ``Transport.readv()`` defaults to not reading more than 100MB in a
 
2778
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
 
2779
  work better with how it splits its requests.
 
2780
  (John Arbash Meinel, #303538)
 
2781
 
 
2782
* Pack repositories are now able to reload the pack listing and retry
 
2783
  the current operation if another action causes the data to be
 
2784
  repacked.  (John Arbash Meinel, #153786)
 
2785
 
 
2786
* ``pull -v`` now respects the log_format configuration variable.
 
2787
  (Aaron Bentley)
 
2788
 
 
2789
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
 
2790
 
 
2791
* Use the short status format when the short format is used for log.
 
2792
  (Vincent Ladeuil, #87179)
 
2793
 
 
2794
* Allow files to be renamed or moved via remove + add-by-id. (Charles
 
2795
  Duffy, #314251)
 
2796
 
 
2797
Documentation
 
2798
*************
 
2799
 
 
2800
* Improved the formats help topic to explain why multiple formats
 
2801
  exist and to provide guidelines in selecting one. Introduced
 
2802
  two new supporting help topics: current-formats and other-formats.
 
2803
  (Ian Clatworthy)
 
2804
 
 
2805
API Changes
 
2806
***********
 
2807
 
 
2808
* ``LRUCache(after_cleanup_size)`` was renamed to
 
2809
  ``after_cleanup_count`` and the old name deprecated. The new name is
 
2810
  used for clarity, and to avoid confusion with
 
2811
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
 
2812
 
 
2813
* New ``ForeignRepository`` base class, to help with foreign branch 
 
2814
  support (e.g. svn).  (Jelmer Vernooij)
 
2815
 
 
2816
* ``node_distances`` and ``select_farthest`` can no longer be imported
 
2817
  from ``bzrlib.graph``.  They can still be imported from
 
2818
  ``bzrlib.deprecated_graph``, which has been the preferred way to
 
2819
  import them since before 1.0.  (Andrew Bennetts)
 
2820
  
 
2821
* The logic in commit now delegates inventory basis calculations to
 
2822
  the ``CommitBuilder`` object; this requires that the commit builder
 
2823
  in use has been updated to support the new ``recording_deletes`` and
 
2824
  ``record_delete`` methods. (Robert Collins)
 
2825
 
 
2826
Testing
 
2827
*******
 
2828
 
 
2829
* An HTTPS server is now available (it requires python-2.6). Future bzr
 
2830
  versions will allow the use of the python-2.6 ssl module that can be
 
2831
  installed for 2.5 and 2.4.
 
2832
 
 
2833
* ``bzr selftest`` now fails if new trailing white space is added to
 
2834
  the bazaar sources. It only checks changes not committed yet. This
 
2835
  means that PQM will now reject changes that introduce new trailing
 
2836
  whitespace. (Marius Kruger)
 
2837
 
 
2838
* Introduced new experimental formats called ``1.12-preview`` and
 
2839
  ``1.12-preview-rich-root`` to enable testing of related pending
 
2840
  features, namely content filtering and filtered views.
 
2841
  (Ian Clatworthy)
 
2842
 
 
2843
Internals
 
2844
*********
 
2845
 
 
2846
* Added an ``InventoryEntry`` cache when deserializing inventories.
 
2847
  Can cut the time to iterate over multiple RevisionsTrees in half.
 
2848
  (John Arbash Meinel)
 
2849
 
 
2850
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
 
2851
  minimal overhead versus using a plain dict for cache hits, at the
 
2852
  cost of not preserving the 'active' set as well as an ``LRUCache``.
 
2853
  (John Arbash Meinel)
 
2854
 
 
2855
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
 
2856
  character to separate the filename from the date stamp, and doesn't
 
2857
  add trailing whitespace when a date stamp is not supplied.
 
2858
  (Adeodato Simó, John Arbash Meinel)
 
2859
 
 
2860
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
 
2861
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
 
2862
  respectively. (Ian Clatworthy)
 
2863
 
 
2864
* ``KnitVersionedFiles._check_should_delta()`` now uses the
 
2865
  ``get_build_details`` api to avoid multiple hits to the index, and
 
2866
  to properly follow the ``compression_parent`` rather than assuming
 
2867
  it is the left-hand parent. (John Arbash Meinel)
 
2868
 
 
2869
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
 
2870
  more optimal ordering when the keys are requested 'unordered'.
 
2871
  Previously the order was fully random, now the records should be
 
2872
  returned from each pack in turn, in forward I/O order.
 
2873
  (John Arbash Meinel)
 
2874
    
 
2875
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
 
2876
  than 2s since the last time it flushed. (John Arbash Meinel)
 
2877
 
 
2878
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
 
2879
  allows adding an inventory via an inventory delta, which can be
 
2880
  more efficient for some repository types. (Robert Collins)
 
2881
 
 
2882
* Repository ``CommitBuilder`` objects can now accumulate an inventory
 
2883
  delta. To enable this functionality call ``builder.recording_deletes``
 
2884
  and additionally call ``builder.record_delete`` when a delete
 
2885
  against the basis occurs. (Robert Collins)
 
2886
 
 
2887
* The default http handler has been changed from pycurl to urllib.
 
2888
  The default is still pycurl for https connections. (The only
 
2889
  advantage of pycurl is that it checks ssl certificates.)
 
2890
  (John Arbash Meinel)
 
2891
 
 
2892
* ``VersionedFiles.get_record_stream()`` can now return objects with a
 
2893
  storage_kind of ``chunked``. This is a collection (list/tuple) of
 
2894
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
 
2895
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
 
2896
  into a fulltext. This allows for some very good memory savings when
 
2897
  asking for many texts that share ancestry, as the individual chunks
 
2898
  can be shared between versions of the file. (John Arbash Meinel)
 
2899
 
 
2900
* ``pull -v`` and ``push -v`` use new function
 
2901
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
 
2902
 
 
2903
 
 
2904
 
 
2905
bzr 1.10
 
2906
########
 
2907
 
 
2908
:Released: 2008-12-05
 
2909
 
 
2910
Bazaar 1.10 has several performance improvements for copying revisions
 
2911
(especially for small updates to large projects).  There has also been a
 
2912
significant amount of effort in polishing stacked branches.  The commands
 
2913
``shelve`` and ``unshelve`` have become core commands, with an improved
 
2914
implementation.
 
2915
 
 
2916
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
 
2917
 
 
2918
bug Fixes
 
2919
*********
 
2920
 
 
2921
* Don't set a pack write cache size from RepoFetcher, because the
 
2922
  cache is not coherent with reads and causes ShortReadvErrors.
 
2923
  This reverses the change that fixed #294479.
 
2924
  (Martin Pool, #303856)
 
2925
 
 
2926
* Properly handle when a revision can be inserted as a delta versus
 
2927
  when it needs to be expanded to a fulltext for stacked branches.
 
2928
  There was a bug involving merge revisions. As a method to help
 
2929
  prevent future difficulties, also make stacked fetches sort
 
2930
  topologically. (John Arbash Meinel, #304841)
 
2931
 
 
2932
 
 
2933
bzr 1.10rc1
 
2934
###########
 
2935
 
 
2936
:Released: 2008-11-28
 
2937
 
 
2938
This release of Bazaar focuses on performance improvements when pushing
 
2939
and pulling revisions, both locally and to remote networks.  The popular
 
2940
``shelve`` and ``unshelve`` commands, used to interactively revert and
 
2941
restore work in progress, have been merged from bzrtools into the bzr
 
2942
core.  There are also bug fixes for portability, and for stacked branches.
 
2943
 
 
2944
New Features
 
2945
************
 
2946
 
 
2947
* New ``commit_message_template`` hook that is called by the commit
 
2948
  code to generate a template commit message. (Jelmer Vernooij)
 
2949
 
 
2950
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
 
2951
  (Aaron Bentley)
 
2952
 
 
2953
Improvements
 
2954
************
 
2955
 
 
2956
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
 
2957
  history just to set the last revision info.
 
2958
  (Andrew Bennetts, John Arbash Meinel)
 
2959
 
 
2960
* Fetches between formats with different serializers (such as
 
2961
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
 
2962
  operating on batches of 100 revisions at time rather than
 
2963
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
 
2964
 
 
2965
* Search index files corresponding to pack files we've already used
 
2966
  before searching others, because they are more likely to have the
 
2967
  keys we're looking for.  This reduces the number of iix and tix
 
2968
  files accessed when pushing 1 new revision, for instance.
 
2969
  (John Arbash Meinel)
 
2970
 
 
2971
* Signatures to transfer are calculated more efficiently in
 
2972
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
 
2973
 
 
2974
* The generic fetch code can once again copy revisions and signatures
 
2975
  without extracting them completely to fulltexts and then serializing
 
2976
  them back down into byte strings. This is a significant performance
 
2977
  improvement when fetching from a stacked branch.
 
2978
  (John Arbash Meinel, #300289)
 
2979
 
 
2980
* When making a large readv() request over ``bzr+ssh``, break up the
 
2981
  request into more manageable chunks. Because the RPC is not yet able
 
2982
  to stream, this helps keep us from buffering too much information at
 
2983
  once. (John Arbash Meinel)
 
2984
 
 
2985
Bug Fixes
 
2986
*********
 
2987
 
 
2988
* Better message when the user needs to set their Launchpad ID.
 
2989
  (Martin Pool, #289148)
 
2990
 
 
2991
* ``bzr commit --local`` doesn't access the master branch anymore.
 
2992
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
 
2993
 
 
2994
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
 
2995
  to give an error in that case.  Also, don't count on ``getcwd()``
 
2996
  being able to allocate a new buffer, which is a gnu extension.
 
2997
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
 
2998
 
 
2999
* Don't crash when requesting log --forward <file> for a revision range
 
3000
  starting with a dotted revno.
 
3001
  (Vincent Ladeuil, #300055)
 
3002
 
 
3003
* Don't create text deltas spanning stacked repositories; this could
 
3004
  cause "Revision X not present in Y" when later accessing them.
 
3005
  (Martin Pool, #288751)
 
3006
 
 
3007
* Pack repositories are now able to reload the pack listing and retry
 
3008
  the current operation if another action causes the data to be
 
3009
  repacked.  (John Arbash Meinel, #153786)
 
3010
 
 
3011
* PermissionDenied errors from smart servers no longer cause
 
3012
  "PermissionDenied: "None"" on the client.
 
3013
  (Andrew Bennetts, #299254)
 
3014
 
 
3015
* Pushing to a stacked pack repository now batches writes, the same
 
3016
  way writes are batched to ordinary pack repository.  This makes
 
3017
  pushing to a stacked branch over the network much faster.
 
3018
  (Andrew Bennetts, #294479)
 
3019
 
 
3020
* TooManyConcurrentRequests no longer occur when a fetch fails and
 
3021
  tries to abort a write group.  This allows the root cause (e.g. a
 
3022
  network interruption) to be reported.  (Andrew Bennetts, #297014)
 
3023
 
 
3024
* RemoteRepository.get_parent_map now uses fallback repositories.
 
3025
  (Aaron Bentley, #297991?, #293679?)
 
3026
 
 
3027
API Changes
 
3028
***********
 
3029
 
 
3030
* ``CommitBuilder`` now validates the strings it will be committing,
 
3031
  to ensure that they do not have characters that will not be properly
 
3032
  round-tripped. For now, it just checks for characters that are
 
3033
  invalid in the XML form. (John Arbash Meinel, #295161)
 
3034
 
 
3035
* Constructor parameters for NewPack (internal to pack repositories)
 
3036
  have changed incompatibly.
 
3037
 
 
3038
* ``Repository.abort_write_group`` now accepts an optional
 
3039
  ``suppress_errors`` flag.  Repository implementations that override
 
3040
  ``abort_write_group`` will need to be updated to accept the new
 
3041
  argument.  Subclasses that only override ``_abort_write_group``
 
3042
  don't need to change.
 
3043
 
 
3044
* Transport implementations must provide copy_tree_to_transport.  A default
 
3045
  implementation is provided for Transport subclasses.
 
3046
 
 
3047
Testing
 
3048
*******
 
3049
 
 
3050
* ``bzr selftest`` now fails if no doctests are found in a module
 
3051
  that's expected to have them.  (Martin Pool)
 
3052
 
 
3053
* Doctests now only report the first failure.  (Martin Pool)
 
3054
 
 
3055
 
 
3056
bzr 1.9
 
3057
#######
 
3058
 
 
3059
:Released: 2008-11-07
 
3060
 
 
3061
This release of Bazaar adds a new repository format, ``1.9``, with smaller
 
3062
and more efficient index files.  This format can be specified when
 
3063
creating a new repository, or used to losslessly upgrade an existing
 
3064
repository.  bzr 1.9 also speeds most operations over the smart server
 
3065
protocol, makes annotate faster, and uses less memory when making
 
3066
checkouts or pulling large amounts of data.
 
3067
 
 
3068
Bug Fixes
 
3069
*********
 
3070
 
 
3071
* Fix "invalid property value 'branch-nick' for None" regression with
 
3072
  branches bound to svn branches.  (Martin Pool, #293440)
 
3073
 
 
3074
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
 
3075
 
 
3076
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
 
3077
  This only triggers some-of-the-time on Knit format repositories.
 
3078
  (John Arbash Meinel, #293746)
 
3079
 
 
3080
 
 
3081
bzr 1.9rc1
 
3082
##########
 
3083
 
 
3084
:Released: 2008-10-31
 
3085
 
 
3086
New Features
 
3087
************
 
3088
 
 
3089
* New Branch hook ``transform_fallback_location`` allows a function to
 
3090
  be called when looking up the stacked source. (Michael Hudson)
 
3091
 
 
3092
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
 
3093
  the functionality of ``1.6``, but use the new btree indexes.
 
3094
  These indexes are both smaller and faster for access to historical
 
3095
  information.  (John Arbash Meinel)
 
3096
 
 
3097
Improvements
 
3098
************
 
3099
 
 
3100
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
 
3101
  the tradeoff between bandwidth and latency. Should be tuned
 
3102
  appropriately to not impact commands which need minimal information,
 
3103
  but provide a significant boost to ones that need more context. Only
 
3104
  has a direct impact on the ``--development2`` format which uses
 
3105
  btree's for the indexes. (John Arbash Meinel)
 
3106
 
 
3107
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
 
3108
  the contents of a compressed btree file.  (John Arbash Meinel)
 
3109
 
 
3110
* ``bzr pack`` now tells the index builders to optimize for size. For
 
3111
  btree index repositories, this can save 25% of the index size
 
3112
  (mostly in the text indexes). (John Arbash Meinel)
 
3113
 
 
3114
* ``bzr push`` to an existing branch or repository on a smart server
 
3115
  is faster, due to Bazaar making more use of the ``get_parent_map``
 
3116
  RPC when querying the remote branch's revision graph.
 
3117
  (Andrew Bennetts)
 
3118
 
 
3119
* default username for bzr+ssh and sftp can be configured in
 
3120
  authentication.conf. (Aaron Bentley)
 
3121
 
 
3122
* launchpad-login now provides a default username for bzr+ssh and sftp
 
3123
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
 
3124
 
 
3125
* ``lp:`` lookups no longer include usernames, making them shareable and
 
3126
  shorter. (Aaron Bentley)
 
3127
 
 
3128
* New ``PackRepository.autopack`` smart server RPC, which does
 
3129
  autopacking entirely on the server.  This is much faster than
 
3130
  autopacking via plain file methods, which downloads a large amount
 
3131
  of pack data and then re-uploads the same pack data into a single
 
3132
  file.  This fixes a major (although infrequent) cause of lengthy
 
3133
  delays when using a smart server.  For example, pushing the 10th
 
3134
  revision to a repository with 9 packs now takes 44 RPCs rather than
 
3135
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
 
3136
  the client and the server, otherwise the client will fallback to the
 
3137
  slower method.  (Andrew Bennetts)
 
3138
 
 
3139
Bug Fixes
 
3140
*********
 
3141
 
 
3142
* A failure to load a plugin due to an IncompatibleAPI exception is
 
3143
  now correctly reported. (Robert Collins, #279451)
 
3144
 
 
3145
* API versioning support now has a multiple-version checking api
 
3146
  ``require_any_api``. (Robert Collins, #279447)
 
3147
 
 
3148
* ``bzr branch --stacked`` from a smart server to a standalone branch
 
3149
  works again.  This fixes a regression in 1.7 and 1.8.
 
3150
  (Andrew Bennetts, #270397)
 
3151
 
 
3152
* ``bzr co`` uses less memory. It used to unpack the entire WT into
 
3153
  memory before writing it to disk. This was a little bit faster, but
 
3154
  consumed lots of memory. (John Arbash Meinel, #269456)
 
3155
 
 
3156
* ``bzr missing --quiet`` no longer prints messages about whether
 
3157
  there are missing revisions.  The exit code indicates whether there
 
3158
  were or not.  (Martin Pool, #284748)
 
3159
 
 
3160
* Fixes to the ``annotate`` code. The fast-path which re-used the
 
3161
  stored deltas was accidentally disabled all the time, instead of
 
3162
  only when a branch was stacked. Second, the code would accidentally
 
3163
  re-use a delta even if it wasn't against the left-parent, this
 
3164
  could only happen if ``bzr reconcile`` decided that the parent
 
3165
  ordering was incorrect in the file graph.  (John Arbash Meinel)
 
3166
 
 
3167
* "Permission denied" errors that occur when pushing a new branch to a
 
3168
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
 
3169
 
 
3170
* Some compatibility fixes for building the extensions with MSVC and
 
3171
  for python2.4. (John Arbash Meinel, #277484)
 
3172
 
 
3173
* The index logic is now able to reload the list of pack files if and
 
3174
  index ends up disappearing. We still don't reload if the pack data
 
3175
  itself goes missing after checking the index. This bug appears as a
 
3176
  transient failure (file not found) when another process is writing
 
3177
  to the repository.  (John Arbash Meinel, #153786)
 
3178
 
 
3179
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
3180
  it was previously set. All checkouts will now refer to the bound branch
 
3181
  for a nickname if one was not explicitly set.
 
3182
  (Marius Kruger, #230903)
 
3183
 
 
3184
Documentation
 
3185
*************
 
3186
 
 
3187
* Improved hook documentation. (Michael Ernst)
 
3188
 
 
3189
API Changes
 
3190
***********
 
3191
 
 
3192
* commands.plugins_cmds is now a CommandRegistry, not a dict.
 
3193
 
 
3194
Internals
 
3195
*********
 
3196
 
 
3197
* New AuthenticationConfig.set_credentials method allows easy programmatic
 
3198
  configuration of authetication credentials.
 
3199
 
 
3200
 
 
3201
bzr 1.8
 
3202
#######
 
3203
 
 
3204
:Released: 2008-10-16
 
3205
 
 
3206
Bazaar 1.8 includes several fixes that improve working tree performance,
 
3207
display of revision logs, and merges.  The bzr testsuite now passes on OS
 
3208
X and Python 2.6, and almost completely passes on Windows.  The
 
3209
smartserver code has gained several bug fixes and performance
 
3210
improvements, and can now run server-side hooks within an http server.
 
3211
 
 
3212
Bug Fixes
 
3213
*********
 
3214
 
 
3215
* Fix "Must end write group" error when another error occurs during
 
3216
  ``bzr push``.  (Andrew Bennetts, #230902)
 
3217
 
 
3218
Portability
 
3219
***********
 
3220
 
 
3221
* Some Pyrex versions require the WIN32 macro defined to compile on
 
3222
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
 
3223
 
 
3224
 
 
3225
bzr 1.8rc1
 
3226
##########
 
3227
 
 
3228
:Released: 2008-10-07
 
3229
 
 
3230
Changes
 
3231
*******
 
3232
 
 
3233
* ``bzr log file`` has been changed. It now uses a different method
 
3234
  for determining which revisions to show as merging the changes to
 
3235
  the file. It now only shows revisions which merged the change
 
3236
  towards your mainline. This simplifies the output, makes it faster,
 
3237
  and reduces memory consumption.  (John Arbash Meinel)
 
3238
 
 
3239
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
 
3240
  ``--show-base`` is not supplied.  (John Arbash Meinel)
 
3241
 
 
3242
* ``bzr+http//`` will now optionally load plugins and write logs on the
 
3243
  server. (Marius Kruger)
 
3244
 
 
3245
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
 
3246
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
 
3247
  explicitly blacklist that version of the compiler for that
 
3248
  extension. Packaged versions will include .c files created with
 
3249
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
 
3250
  from the source tree. (John Arbash Meinel, #276868)
 
3251
 
 
3252
Features
 
3253
********
 
3254
 
 
3255
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
 
3256
  supported (nor released, tests were conducted with the dev version of
 
3257
  python-2.6rc2), but all known problems have been fixed.  Feedback
 
3258
  welcome.
 
3259
  (Vincent Ladeuil, #269535)
 
3260
 
 
3261
Improvements
 
3262
************
 
3263
 
 
3264
* ``bzr annotate`` will now include uncommitted changes from the local
 
3265
  working tree by default. Such uncommitted changes are given the
 
3266
  revision number they would get if a commit was done, followed with a
 
3267
  ? to indicate that its not actually known. (Robert Collins, #3439)
 
3268
 
 
3269
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
 
3270
  standalone branch regardless of the presence of shared repositories.
 
3271
  (Daniel Watkins)
 
3272
 
 
3273
* ``bzr push`` is faster in the case there are no new revisions to
 
3274
  push.  It is also faster if there are no tags in the local branch.
 
3275
  (Andrew Bennetts)
 
3276
 
 
3277
* File changes during a commit will update the tree stat cache.
 
3278
  (Robert Collins)
 
3279
 
 
3280
* Location aliases can now accept a trailing path.  (Micheal Hudson)
 
3281
 
 
3282
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
 
3283
  (Robert Collins, MartinPool)
 
3284
 
 
3285
* Switching in heavyweight checkouts uses the master branch's context, not
 
3286
  the checkout's context.  (Adrian Wilkins)
 
3287
 
 
3288
* ``status`` on large trees is now faster, due to optimisations in the
 
3289
  walkdirs code. Of particular note, the walkdirs code now performs
 
3290
  a temporary ``chdir()`` while reading a single directory; if your
 
3291
  platform has non thread-local current working directories (and is
 
3292
  not windows which has its own implementation), this may introduce a
 
3293
  race condition during concurrent uses of bzrlib. The bzrlib CLI
 
3294
  will not encounter this as it is single threaded for working tree
 
3295
  operations. (Robert Collins)
 
3296
 
 
3297
* The C extensions now build on python 2.4 (Robert Collins, #271939)
 
3298
 
 
3299
* The ``-Dhpss`` debug flag now reports the number of smart server
 
3300
  calls per medium to stderr.  This is in addition to the existing
 
3301
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
 
3302
 
 
3303
Bug Fixes
 
3304
*********
 
3305
 
 
3306
* Avoid random failures arising from misinterpreted ``errno`` values
 
3307
  in ``_readdir_pyx.read_dir``.
 
3308
  (Martin Pool, #279381)
 
3309
 
 
3310
* Branching from a shared repository on a smart server into a new
 
3311
  repository now preserves the repository format.
 
3312
  (Andrew Bennetts, #269214)
 
3313
 
 
3314
* ``bzr log`` now accepts a ``--change`` option.
 
3315
  (Vincent Ladeuil, #248427)
 
3316
 
 
3317
* ``bzr missing`` now accepts an ``--include-merges`` option.
 
3318
  (Vincent Ladeuil, #233817)
 
3319
 
 
3320
* Don't try to filter (internally) '.bzr' from the files to be deleted if
 
3321
  it's not there.
 
3322
  (Vincent Ladeuil, #272648)
 
3323
 
 
3324
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
3325
  (Andrew Bennetts)
 
3326
 
 
3327
* Fix TooManyConcurrentRequests errors caused by a connection failure
 
3328
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
 
3329
  (Andrew Bennetts, #246233)
 
3330
 
 
3331
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
 
3332
  is in a different repository than the current one.
 
3333
  (Lukáš Lalinský, #144421)
 
3334
 
 
3335
* Make the first line of the manpage preamble a comment again.
 
3336
  (David Futcher, #242106)
 
3337
 
 
3338
* Remove use of optional parameter in GSSAPI FTP support, since
 
3339
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
 
3340
 
 
3341
* The autopacking logic will now always create a single new pack from
 
3342
  all of the content which it deems is worth moving. This avoids the
 
3343
  'repack a single pack' bug and should result in better packing
 
3344
  overall.  (John Arbash Meinel, #242510, #172644)
 
3345
 
 
3346
* Trivial documentation fix.
 
3347
  (John Arbash Meinel, #270471)
 
3348
 
 
3349
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
3350
  it was previously set. All checkouts will now refer to the bound branch
 
3351
  for a nickname if one was not explicitly set.
 
3352
  (Marius Kruger, #230903)
 
3353
 
 
3354
Documentation
 
3355
*************
 
3356
 
 
3357
* Explain revision/range identifiers. (Daniel Clemente)
 
3358
 
 
3359
API Changes
 
3360
***********
 
3361
 
 
3362
* ``CommitBuilder.record_entry_contents`` returns one more element in
 
3363
  its result tuple - an optional file system hash for the hash cache
 
3364
  to use. (Robert Collins)
 
3365
 
 
3366
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
 
3367
  of a file if it is likely to be needed in determining the output
 
3368
  of iter_changes. (Robert Collins)
 
3369
 
 
3370
* The PackRepository, RepositoryPackCollection, NewPack classes have a
 
3371
  slightly changed interface to support different index types; as a
 
3372
  result other users of these classes need to supply the index types
 
3373
  they want. (Robert Collins)
 
3374
 
 
3375
Testing
 
3376
*******
 
3377
 
 
3378
* ``bzrlib.tests.repository_implementations`` has been renamed to
 
3379
  ``bzrlib.tests.per_repository`` so that we have a common structure
 
3380
  (and it is shorter). (John Arbash Meinel, #239343)
 
3381
 
 
3382
* ``LocalTransport.abspath()`` now returns a drive letter if the
 
3383
  transport has one, fixing numerous tests on Windows.
 
3384
  (Mark Hammond)
 
3385
 
 
3386
* PreviewTree is now tested via intertree_implementations.
 
3387
  (Aaron Bentley)
 
3388
 
 
3389
* The full test suite is passing again on OSX.
 
3390
  (Guillermo Gonzalez, Vincent Ladeuil)
 
3391
 
 
3392
* The full test suite passes when run with ``-Eallow_debug``.
 
3393
  (Andrew Bennetts)
 
3394
 
 
3395
Internals
 
3396
*********
 
3397
 
 
3398
* A new hook, ``Branch.open``, has been added, which is called when
 
3399
  branch objects are opened. (Robert Collins)
 
3400
 
 
3401
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
 
3402
  tree walking, and modular directory listing code to aid future
 
3403
  performance optimisations and refactoring. (Robert Collins)
 
3404
 
 
3405
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
 
3406
  in the middle of processing. It only reports memory if
 
3407
  ``/proc/PID/status`` is available. (John Arbash Meinel)
 
3408
 
 
3409
* New method ``RevisionSpec.as_tree`` for representing the revision
 
3410
  specifier as a revision tree object. (Lukáš Lalinský)
 
3411
 
 
3412
* New race-free method on MutableTree ``get_file_with_stat`` for use
 
3413
  when generating stat cache results. (Robert Collins)
 
3414
 
 
3415
* New win32utils.get_local_appdata_location() provides access to a local
 
3416
  directory for storing data.  (Mark Hammond)
 
3417
 
 
3418
* To be compatible with python-2.6 a few new rules should be
 
3419
  observed. 'message' attribute can't be used anymore in exception
 
3420
  classes, 'sha' and 'md5' modules have been deprecated (use
 
3421
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
 
3422
  parameters anymore.
 
3423
  (Vincent Ladeuil)
 
3424
 
 
3425
 
 
3426
bzr 1.7.1
 
3427
#########
 
3428
 
 
3429
:Released:  2008-10-01
 
3430
 
 
3431
No changes from 1.7.1rc1.
 
3432
 
 
3433
 
 
3434
bzr 1.7.1rc1
 
3435
############
 
3436
 
 
3437
:Released: 2008-09-24
 
3438
 
 
3439
This release just includes an update to how the merge algorithm handles
 
3440
file paths when we encounter complex history.
 
3441
 
 
3442
Features
 
3443
********
 
3444
 
 
3445
* If we encounter a criss-cross in history, use information from
 
3446
  direct Least Common Ancestors to resolve inventory shape (locations
 
3447
  of files, adds, deletes, etc). This is similar in concept to using
 
3448
  ``--lca`` for merging file texts, only applied to paths.
 
3449
  (John Arbash Meinel)
 
3450
 
 
3451
 
 
3452
bzr 1.7
 
3453
#######
 
3454
 
 
3455
:Released: 2008-09-23
 
3456
 
 
3457
This release includes many bug fixes and a few performance and feature
 
3458
improvements.  ``bzr rm`` will now scan for missing files and remove them,
 
3459
like how ``bzr add`` scans for unknown files and adds them. A bit more
 
3460
polish has been applied to the stacking code. The b-tree indexing code has
 
3461
been brought in, with an eye on using it in a future repository format.
 
3462
There are only minor installer changes since bzr-1.7rc2.
 
3463
 
 
3464
Features
 
3465
********
 
3466
 
 
3467
* Some small updates to the win32 installer. Include localization
 
3468
  files found in plugins, and include the builtin distutils as part of
 
3469
  packaging qbzr. (Mark Hammond)
 
3470
 
 
3471
 
 
3472
bzr 1.7rc2
 
3473
##########
 
3474
 
 
3475
:Released: 2008-09-17
 
3476
 
 
3477
A few bug fixes from 1.7rc1. The biggest change is a new
 
3478
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
 
3479
trying to access a Stacked branch over the smart protocol, to properly
 
3480
connect to the stacked-on location.
 
3481
 
 
3482
Bug Fixes
 
3483
*********
 
3484
 
 
3485
* Branching from a shared repository on a smart server into a new
 
3486
  repository now preserves the repository format.
 
3487
  (Andrew Bennetts, #269214)
 
3488
 
 
3489
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
 
3490
  to the stacked-on branch.  (Martin Pool, #261315)
 
3491
 
 
3492
* ``bzr init`` no longer re-opens the BzrDir multiple times.
 
3493
  (Vincent Ladeuil)
 
3494
 
 
3495
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
3496
  (Andrew Bennetts)
 
3497
 
 
3498
 
 
3499
bzr 1.7rc1
 
3500
##########
 
3501
 
 
3502
:Released: 2008-09-09
 
3503
 
 
3504
This release candidate for bzr 1.7 has several bug fixes and a few
 
3505
performance and feature improvements.  ``bzr rm`` will now scan for
 
3506
missing files and remove them, like how ``bzr add`` scans for unknown
 
3507
files and adds them. A bit more polish has been applied to the stacking
 
3508
code. The b-tree indexing code has been brought in, with an eye on using
 
3509
it in a future repository format.
 
3510
 
 
3511
 
 
3512
Changes
 
3513
*******
 
3514
 
 
3515
* ``bzr export`` can now export a subdirectory of a project.
 
3516
  (Robert Collins)
 
3517
 
 
3518
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
 
3519
  changes, unless the ``--force`` option is specified.
 
3520
  (Lukáš Lalinský, #74101)
 
3521
 
 
3522
* ``bzr rm`` will now scan for files that are missing and remove just
 
3523
  them automatically, much as ``bzr add`` scans for new files that
 
3524
  are not ignored and adds them automatically. (Robert Collins)
 
3525
 
 
3526
Features
 
3527
********
 
3528
 
 
3529
* Support for GSSAPI authentication when using FTP as documented in
 
3530
  RFC2228. (Jelmer Vernooij, #49623)
 
3531
 
 
3532
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
 
3533
 
 
3534
Improvements
 
3535
************
 
3536
 
 
3537
* A url like ``log+file:///tmp`` will log all access to that Transport
 
3538
  to ``.bzr.log``, which may help in debugging or profiling.
 
3539
  (Martin Pool)
 
3540
 
 
3541
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
 
3542
  branch format supports it. (Aaron Bentley)
 
3543
 
 
3544
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
 
3545
  ``bzr info`` if it completed successfully.
 
3546
  (Marius Kruger)
 
3547
 
 
3548
* ``bzr uncommit`` logs the old tip revision id, and displays how to
 
3549
  restore the branch to that tip using ``bzr pull``.  This allows you
 
3550
  to recover if you realize you uncommitted the wrong thing.
 
3551
  (John Arbash Meinel)
 
3552
 
 
3553
* Fix problems in accessing stacked repositories over ``bzr://``.
 
3554
  (Martin Pool, #261315)
 
3555
 
 
3556
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
 
3557
  which 'works', but adds each character separately to the list,
 
3558
  rather than using ``list.append(string)``. Fixing this makes the
 
3559
  SFTP transport a little bit faster (~20%) and use a bit less memory.
 
3560
  (John Arbash Meinel)
 
3561
 
 
3562
* When reading index files, if we happen to read the whole file in a
 
3563
  single request treat it as a ``_buffer_all`` request. This happens
 
3564
  most often on small indexes over remote transports, where we default
 
3565
  to reading 64kB. It saves a round trip for each small index during
 
3566
  fetch operations. Also, if we have read more than 50% of an index
 
3567
  file, trigger a ``_buffer_all`` on the next request. This works
 
3568
  around some inefficiencies because reads don't fall neatly on page
 
3569
  boundaries, so we would ignore those bytes, but request them again
 
3570
  later. This could trigger a total read size of more than the whole
 
3571
  file. (John Arbash Meinel)
 
3572
 
 
3573
Bug Fixes
 
3574
*********
 
3575
 
 
3576
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
 
3577
  users. (Robert Collins, #205416)
 
3578
 
 
3579
* Catch the infamous "select/poll returned error" which occurs when
 
3580
  pycurl try to send a body request to an HTTP/1.0 server which has
 
3581
  already refused to handle the request. (Vincent Ladeuil, #225020)
 
3582
 
 
3583
* Fix ``ObjectNotLocked`` errors when using various commands
 
3584
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
 
3585
  smart server URL.  (Andrew Bennetts, #237067)
 
3586
 
 
3587
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
 
3588
  for the containing ``.bzr/`` directory (it does not implement
 
3589
  permissions). This would cause us to set all subdirectories to
 
3590
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
 
3591
  Now we ignore ``0000`` as the permissions and assume they are
 
3592
  invalid. (John Arbash Meinel, #259855)
 
3593
 
 
3594
* Merging from a previously joined branch will no longer cause
 
3595
  a traceback. (Jelmer Vernooij, #203376)
 
3596
 
 
3597
* Pack operations on windows network shares will work even with large
 
3598
  files. (Robert Collins, #255656)
 
3599
 
 
3600
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
 
3601
  status. Status is also about 7% faster on mozilla sized trees
 
3602
  when the path to the root of the tree has been given. Users of
 
3603
  the internal ``show_tree_status`` function should be aware that
 
3604
  the show_pending flag is now authoritative for showing pending
 
3605
  merges, as it was originally. (Robert Collins, #225204)
 
3606
 
 
3607
* Set valid default _param_name for Option so that ListOption can embed
 
3608
  '-' in names. (Vincent Ladeuil, #263249)
 
3609
 
 
3610
* Show proper error rather than traceback when an unknown revision
 
3611
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
 
3612
 
 
3613
* Trailing text in the dirstate file could cause the C dirstate parser
 
3614
  to try to allocate an invalid amount of memory. We now properly
 
3615
  check and test for parsing a dirstate with invalid trailing data.
 
3616
  (John Arbash Meinel, #186014)
 
3617
 
 
3618
* Unexpected error responses from a smart server no longer cause the
 
3619
  client to traceback.  (Andrew Bennetts, #263527)
 
3620
 
 
3621
* Use a Windows api function to get a Unicode host name, rather than
 
3622
  assuming the host name is ascii.
 
3623
  (Mark Hammond, John Arbash Meinel, #256550)
 
3624
 
 
3625
* ``WorkingTree4`` trees will now correctly report missing-and-new
 
3626
  paths in the output of ``iter_changes``. (Robert Collins)
 
3627
 
 
3628
Documentation
 
3629
*************
 
3630
 
 
3631
* Updated developer documentation.  (Martin Pool)
 
3632
 
 
3633
API Changes
 
3634
***********
 
3635
 
 
3636
* Exporters now take 4 parameters. (Robert Collins)
 
3637
 
 
3638
* ``Tree.iter_changes`` will now return False for the content change
 
3639
  field when a file is missing in the basis tree and not present in
 
3640
  the target tree. Previously it returned True unconditionally.
 
3641
  (Robert Collins)
 
3642
 
 
3643
* The deprecated ``Branch.abspath`` and unimplemented
 
3644
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
 
3645
 
 
3646
* BzrDir.clone_on_transport implementations must now accept a stacked_on
 
3647
  parameter.  (Aaron Bentley)
 
3648
 
 
3649
* BzrDir.cloning_metadir implementations must now take a require_stacking
 
3650
  parameter.  (Aaron Bentley)
 
3651
 
 
3652
Testing
 
3653
*******
 
3654
 
 
3655
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
 
3656
  which are then passed to the cleanup callable as it is run. In
 
3657
  addition, addCleanup no longer requires that the callables passed to
 
3658
  it be unique. (Jonathan Lange)
 
3659
 
 
3660
* Fix some tests that fail on Windows because files are deleted while
 
3661
  still in use.
 
3662
  (Mark Hammond)
 
3663
 
 
3664
* ``selftest``'s ``--starting-with`` option can now use predefined
 
3665
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
 
3666
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
 
3667
 
 
3668
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
 
3669
  (Vincent Ladeuil)
 
3670
 
 
3671
Internals
 
3672
*********
 
3673
 
 
3674
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
 
3675
  This allows dynamic log output filtering by plugins.
 
3676
  (Robert Collins)
 
3677
 
 
3678
* ``bzrlib.btree_index`` is now available, providing a b-tree index
 
3679
  layer. The design is memory conservative (limited memory cache),
 
3680
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
 
3681
  and stores compressed pages allowing more keys per page.
 
3682
  (Robert Collins, John Arbash Meinel)
 
3683
 
 
3684
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
 
3685
  is unknown in both source and target.
 
3686
  (Robert Collins, Aaron Bentley)
 
3687
 
 
3688
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
 
3689
  streamlined a bit. This should make creating large indexes faster.
 
3690
  (In benchmarking, it now takes less time to create a BTree index than
 
3691
  it takes to read the GraphIndex one.) (John Arbash Meinel)
 
3692
 
 
3693
* Mail clients for `bzr send` are now listed in a registry.  This
 
3694
  allows plugins to add new clients by registering them with
 
3695
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
 
3696
  clients now use this mechanism.  (Neil Martinsen-Burrell)
 
3697
 
 
3698
 
 
3699
bzr 1.6.1
 
3700
#########
 
3701
 
 
3702
:Released: 2008-09-05
 
3703
 
 
3704
A couple regressions were found in the 1.6 release. There was a
 
3705
performance issue when using ``bzr+ssh`` to branch large repositories,
 
3706
and some problems with stacking and ``rich-root`` capable repositories.
 
3707
 
 
3708
 
 
3709
bzr 1.6.1rc2
 
3710
############
 
3711
 
 
3712
:Released: 2008-09-03
 
3713
 
 
3714
Bug Fixes
 
3715
*********
 
3716
 
 
3717
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
 
3718
  versa) was accidentally using the inter-model fetcher, instead of
 
3719
  recognizing that both were 'rich root' formats.
 
3720
  (John Arbash Meinel, #264321)
 
3721
 
 
3722
 
 
3723
bzr 1.6.1rc1
 
3724
############
 
3725
 
 
3726
:Released: 2008-08-29
 
3727
 
 
3728
This release fixes a few regressions found in the 1.6 client. Fetching
 
3729
changes was using an O(N^2) buffering algorithm, so for large projects it
 
3730
would cause memory thrashing. There is also a specific problem with the
 
3731
``--1.6-rich-root`` format, which prevented stacking on top of
 
3732
``--rich-root-pack`` repositories, and could allow users to accidentally
 
3733
fetch experimental data (``-subtree``) without representing it properly.
 
3734
The ``--1.6-rich-root`` format has been deprecated and users are
 
3735
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
 
3736
re-introduced a workaround for users who have repositories with incorrect
 
3737
nodes (not possible if you only used official releases).
 
3738
I should also clarify that none of this is data loss level issues, but
 
3739
still sufficient enough to warrant an updated release.
 
3740
 
 
3741
Bug Fixes
 
3742
*********
 
3743
 
 
3744
* ``RemoteTransport.readv()`` was being inefficient about how it
 
3745
  buffered the readv data and processed it. It would keep appending to
 
3746
  the same string (causing many copies) and then pop bytes out of the
 
3747
  start of the string (causing more copies).
 
3748
  With this patch "bzr+ssh://local" can improve dramatically,
 
3749
  especially for projects with large files.
 
3750
  (John Arbash Meinel)
 
3751
 
 
3752
* Revision texts were always meant to be stored as fulltexts. There
 
3753
  was a bug in a bzr.dev version that would accidentally create deltas
 
3754
  when copying from a Pack repo to a Knit repo. This has been fixed,
 
3755
  but to support those repositories, we know always request full texts
 
3756
  for Revision texts. (John Arbash Meinel, #261339)
 
3757
 
 
3758
* The previous ``--1.6-rich-root`` format used an incorrect xml
 
3759
  serializer, which would accidentally support fetching from a
 
3760
  repository that supported subtrees, even though the local one would
 
3761
  not. We deprecated that format, and introduced a new one that uses
 
3762
  the correct serializer ``--1.6.1-rich-root``.
 
3763
  (John Arbash Meinel, #262333)
 
3764
 
 
3765
 
 
3766
bzr 1.6
 
3767
#######
 
3768
 
 
3769
:Released: 2008-08-25
 
3770
 
 
3771
Finally, the long awaited bzr 1.6 has been released. This release includes
 
3772
new features like Stacked Branches, improved weave merge, and an updated
 
3773
server protocol (now on v3) which will allow for better cross version
 
3774
compatibility. With this release we have deprecated Knit format
 
3775
repositories, and recommend that users upgrade them, we will continue to
 
3776
support reading and writing them for the forseeable future, but we will
 
3777
not be tuning them for performance as pack repositories have proven to be
 
3778
better at scaling. This will also be the first release to bundle
 
3779
TortoiseBzr in the standalone Windows installer.
 
3780
 
 
3781
 
 
3782
bzr 1.6rc5
 
3783
##########
 
3784
 
 
3785
:Released: 2008-08-19
 
3786
 
 
3787
Bug Fixes
 
3788
*********
 
3789
 
 
3790
* Disable automatic detection of stacking based on a containing
 
3791
  directory of the target. It interacted badly with push, and needs a
 
3792
  bit more work to get the edges polished before it should happen
 
3793
  automatically. (John Arbash Meinel, #259275)
 
3794
  (This change was reverted when merged to bzr.dev)
 
3795
 
 
3796
 
 
3797
bzr 1.6rc4
 
3798
##########
 
3799
 
 
3800
:Released: 2008-08-18
 
3801
 
 
3802
Bug Fixes
 
3803
*********
 
3804
 
 
3805
* Fix a regression in knit => pack fetching.  We had a logic
 
3806
  inversion, causing the fetch to insert fulltexts in random order,
 
3807
  rather than preserving deltas.  (John Arbash Meinel, #256757)
 
3808
 
 
3809
 
 
3810
bzr 1.6rc3
 
3811
##########
 
3812
 
 
3813
:Released: 2008-08-14
 
3814
 
 
3815
Changes
 
3816
*******
 
3817
 
 
3818
* Disable reading ``.bzrrules`` as a per-branch rule preferences
 
3819
  file. The feature was not quite ready for a full release.
 
3820
  (Robert Collins)
 
3821
 
 
3822
Improvements
 
3823
************
 
3824
 
 
3825
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
 
3826
  into the standalone installer. This will be the first official
 
3827
  windows release that installs Tortoise by default.
 
3828
  (Mark Hammond)
 
3829
 
 
3830
Bug Fixes
 
3831
*********
 
3832
 
 
3833
* Fix a regression in ``bzr+http`` support. There was a missing
 
3834
  function (``_read_line``) that needed to be carried over from
 
3835
  ``bzr+ssh`` support. (Andrew Bennetts)
 
3836
 
 
3837
* ``GraphIndex`` objects will internally read an entire index if more
 
3838
  than 1/20th of their keyspace is requested in a single operation.
 
3839
  This largely mitigates a performance regression in ``bzr log FILE``
 
3840
  and completely corrects the performance regression in ``bzr log``.
 
3841
  The regression was caused by removing an accomodation which had been
 
3842
  supporting the index format in use. A newer index format is in
 
3843
  development which is substantially faster. (Robert Collins)
 
3844
 
 
3845
 
 
3846
bzr 1.6rc2
 
3847
##########
 
3848
 
 
3849
:Released: 2008-08-13
 
3850
 
 
3851
This release candidate has a few minor bug fixes, and some regression
 
3852
fixes for Windows.
 
3853
 
 
3854
Bug Fixes
 
3855
*********
 
3856
 
 
3857
* ``bzr upgrade`` on remote branches accessed via bzr:// and
 
3858
  bzr+ssh:// now works.  (Andrew Bennetts)
 
3859
 
 
3860
* Change the ``get_format_description()`` strings for
 
3861
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
 
3862
  (Aaron Bentley)
 
3863
 
 
3864
* Fix for a regression on Win32 where we would try to call
 
3865
  ``os.listdir()`` on a file and not catch the exception properly.
 
3866
  (Windows raises a different exception.) This would manifest in
 
3867
  places like ``bzr rm file`` or ``bzr switch``.
 
3868
  (Mark Hammond, John Arbash Meinel)
 
3869
 
 
3870
* ``Inventory.copy()`` was failing to set the revision property for
 
3871
  the root entry. (Jelmer Vernooij)
 
3872
 
 
3873
* sftp transport: added missing ``FileExists`` case to
 
3874
  ``_translate_io_exception`` (Christophe Troestler, #123475)
 
3875
 
 
3876
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
 
3877
  scripting use. (Robert Collins, #3834)
 
3878
 
 
3879
* The default ``annotate`` logic will now always assign the
 
3880
  last-modified value of a line to one of the revisions that modified
 
3881
  it, rather than a merge revision. This would happen when both sides
 
3882
  claimed to have modified the line resulting in the same text. The
 
3883
  choice is arbitrary but stable, so merges in different directions
 
3884
  will get the same results.  (John Arbash Meinel, #232188)
 
3885
 
 
3886
 
 
3887
bzr 1.6rc1
 
3888
##########
 
3889
 
 
3890
:Released: 2008-08-06
 
3891
 
 
3892
This release candidate for bzr 1.6 solidifies the new branch stacking
 
3893
feature.  Bazaar now recommends that users upgrade all knit repositories,
 
3894
because later formats are much faster.  However, we plan to continue read/write and
 
3895
upgrade support for knit repostories for the forseeable future.  Several
 
3896
other bugs and performance issues were fixed.
 
3897
 
 
3898
Changes
 
3899
*******
 
3900
 
 
3901
* Knit format repositories are deprecated and bzr will now emit
 
3902
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
 
3903
  knit repositories to pack format.  (Andrew Bennetts)
 
3904
 
 
3905
Improvements
 
3906
************
 
3907
 
 
3908
* ``bzr check`` can now be told which elements at a location it should
 
3909
  check.  (Daniel Watkins)
 
3910
 
 
3911
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
 
3912
  from the commit. (Robert Collins, #3117)
 
3913
 
 
3914
* Fetching data between repositories that have the same model but no
 
3915
  optimised fetcher will not reserialise all the revisions, increasing
 
3916
  performance. (Robert Collins, John Arbash Meinel)
 
3917
 
 
3918
* Give a more specific error when target branch is not reachable.
 
3919
  (James Westby)
 
3920
 
 
3921
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
 
3922
  This uses a pyrex extension to get direct access to the
 
3923
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
 
3924
  ``lstat``. Shows a very strong improvement in commands like
 
3925
  ``status`` and ``diff`` which have to iterate the working tree.
 
3926
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
 
3927
  trees, bigger benefit.) (John Arbash Meinel)
 
3928
 
 
3929
* New registry for log properties handles  and the method in
 
3930
  LongLogFormatter to display the custom properties returned by the
 
3931
  registered handlers. (Guillermo Gonzalez, #162469)
 
3932
 
 
3933
Bug Fixes
 
3934
*********
 
3935
 
 
3936
* Add more tests that stacking does not create deltas spanning
 
3937
  physical repository boundaries.
 
3938
  (Martin Pool, #252428)
 
3939
 
 
3940
* Better message about incompatible repositories.
 
3941
  (Martin Pool, #206258)
 
3942
 
 
3943
* ``bzr branch --stacked`` ensures the destination branch format can
 
3944
  support stacking, even if the origin does not.
 
3945
  (Martin Pool)
 
3946
 
 
3947
* ``bzr export`` no longer exports ``.bzrrules``.
 
3948
  (Ian Clatworthy)
 
3949
 
 
3950
* ``bzr serve --directory=/`` now correctly allows the whole
 
3951
  filesystem to be accessed on Windows, not just the root of the drive
 
3952
  that Python is running from.
 
3953
  (Adrian Wilkins, #240910)
 
3954
 
 
3955
* Deleting directories by hand before running ``bzr rm`` will not
 
3956
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
 
3957
  (Robert Collins, #150438)
 
3958
 
 
3959
* Fix a test case that was failing if encoding wasn't UTF-8.
 
3960
  (John Arbash Meinel, #247585)
 
3961
 
 
3962
* Fix "no buffer space available" error when branching with the new
 
3963
  smart server protocol to or from Windows.
 
3964
  (Andrew Bennetts, #246180)
 
3965
 
 
3966
* Fixed problem in branching from smart server.
 
3967
  (#249256, Michael Hudson, Martin Pool)
 
3968
 
 
3969
* Handle a file turning in to a directory in TreeTransform.
 
3970
  (James Westby, #248448)
 
3971
 
 
3972
API Changes
 
3973
***********
 
3974
 
 
3975
* ``MutableTree.commit`` has an extra optional keywork parameter
 
3976
  ``exclude`` that will be unconditionally supplied by the command
 
3977
  line UI - plugins that add tree formats may need an update.
 
3978
  (Robert Collins)
 
3979
 
 
3980
* The API minimum version for plugin compatibility has been raised to
 
3981
  1.6 - there are significant changes throughout the code base.
 
3982
  (Robert Collins)
 
3983
 
 
3984
* The generic fetch code now uses three attributes on Repository objects
 
3985
  to control fetch. The streams requested are controlled via :
 
3986
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
 
3987
  appropriately allows different repository implementations to recieve
 
3988
  data in their optimial form. If the ``_fetch_reconcile`` is set then
 
3989
  a reconcile operation is triggered at the end of the fetch.
 
3990
  (Robert Collins)
 
3991
 
 
3992
* The ``put_on_disk`` and ``get_tar_item`` methods in
 
3993
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
 
3994
 
 
3995
* ``Repository.is_shared`` doesn't take a read lock. It didn't
 
3996
  need one in the first place (nobody cached the value, and
 
3997
  ``RemoteRepository`` wasn't taking one either). This saves a round
 
3998
  trip when probing Pack repositories, as they read the ``pack-names``
 
3999
  file when locked. And during probe, locking the repo isn't very
 
4000
  useful. (John Arbash Meinel)
 
4001
 
 
4002
Internals
 
4003
*********
 
4004
 
 
4005
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
 
4006
  putting together a real history without having to create a full
 
4007
  WorkingTree. It is recommended that tests that are not directly
 
4008
  testing the WorkingTree use BranchBuilder instead.  See
 
4009
  ``BranchBuilder.build_snapshot`` or
 
4010
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
 
4011
 
 
4012
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
 
4013
  helper ``safe_relpath_files`` - used by the new ``exclude``
 
4014
  parameter to commit. (Robert Collins)
 
4015
 
 
4016
* Make it easier to introduce new WorkingTree formats.
 
4017
  (Ian Clatworthy)
 
4018
 
 
4019
* The code for exporting trees was refactored not to use the
 
4020
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
 
4021
 
 
4022
* RuleSearchers return () instead of [] now when there are no matches.
 
4023
  (Ian Clatworthy)
 
4024
 
 
4025
 
 
4026
bzr 1.6beta3
 
4027
############
 
4028
 
 
4029
:Released: 2008-07-17
 
4030
 
 
4031
This release adds a new 'stacked branches' feature allowing branches to
 
4032
share storage without being in the same repository or on the same machine.
 
4033
(See the user guide for more details.)  It also adds a new hook, improved
 
4034
weaves, aliases for related locations, faster bzr+ssh push, and several
 
4035
bug fixes.
 
4036
 
 
4037
Features
 
4038
********
 
4039
 
 
4040
* New ``pre_change_branch_tip`` hook that is called before the
 
4041
  branch tip is moved, while the branch is write-locked.  See the User
 
4042
  Reference for signature details.  (Andrew Bennetts)
 
4043
 
 
4044
* Rule-based preferences can now be defined for selected files in
 
4045
  selected branches, allowing commands and plugins to provide
 
4046
  custom behaviour for files matching defined patterns.
 
4047
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
 
4048
  in the User Guide and ``bzr help rules`` for more information.
 
4049
  (Ian Clatworthy)
 
4050
 
 
4051
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
 
4052
 
 
4053
* Stacked branches are now supported. See ``bzr help branch`` and
 
4054
  ``bzr help push``.  Branches must be in the ``development1`` format
 
4055
  to stack, though the stacked-on branch can be of any format.
 
4056
  (Robert Collins)
 
4057
 
 
4058
Improvements
 
4059
************
 
4060
 
 
4061
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
 
4062
  to stdout; also ``tar`` and ``tbz2``.
 
4063
  (Martin Pool)
 
4064
 
 
4065
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
 
4066
  rather than the annotation-based merge it was using. It does so by
 
4067
  building up a Weave of the important texts, without needing to build
 
4068
  the full ancestry. (John Arbash Meinel, #238895)
 
4069
 
 
4070
* ``bzr send`` documents and better supports ``emacsclient`` (proper
 
4071
  escaping of mail headers and handling of the MUA Mew).
 
4072
  (Christophe Troestler)
 
4073
 
 
4074
* Remembered locations can be specified by aliases, e.g. :parent, :public,
 
4075
  :submit.  (Aaron Bentley)
 
4076
 
 
4077
* The smart protocol now has improved support for setting branches'
 
4078
  revision info directly.  This makes operations like push
 
4079
  faster.  The new request method name is
 
4080
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
 
4081
 
 
4082
Bug Fixes
 
4083
*********
 
4084
 
 
4085
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
 
4086
  The broken implementations of RFC822 in Python and RFC2046 in IIS
 
4087
  combined with boundary-line checking in Bazaar previously made this
 
4088
  impossible. (NB, IIS 5 does not suffer from this problem).
 
4089
  (Adrian Wilkins, #247585)
 
4090
 
 
4091
* ``bzr log --long`` with a ghost in your mainline now handles that
 
4092
  ghost properly. (John Arbash Meinel, #243536)
 
4093
 
 
4094
* ``check`` handles the split-up .bzr layout correctly, so no longer
 
4095
  requires a branch to be present.
 
4096
  (Daniel Watkins, #64783)
 
4097
 
 
4098
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
 
4099
  loaded.
 
4100
  (Martin Pool, #205230)
 
4101
 
 
4102
* Errors about missing libraries are now shown without a traceback,
 
4103
  and with a suggestion to install the library.  The full traceback is
 
4104
  still in ``.bzr.log`` and can be shown with ``-Derror``.
 
4105
  (Martin Pool, #240161)
 
4106
 
 
4107
* Fetch from a stacked branch copies all required data.
 
4108
  (Aaron Bentley, #248506)
 
4109
 
 
4110
* Handle urls such as ftp://user@host.com@www.host.com where the user
 
4111
  name contains an @.
 
4112
  (Neil Martinsen-Burrell, #228058)
 
4113
 
 
4114
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
 
4115
  ``unlock`` if there was an error in the original function. This helps
 
4116
  most when there is a failure with a smart server action, since often the
 
4117
  connection closes and we cannot unlock.
 
4118
  (Andrew Bennetts, John Arbash Meinel, #125784)
 
4119
 
 
4120
* Obsolete hidden command ``bzr fetch`` removed.
 
4121
  (Martin Pool, #172870)
 
4122
 
 
4123
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
 
4124
  (John Arbash Meinel, #239933)
 
4125
 
 
4126
* You can now compare file revisions in Windows diff programs from
 
4127
  Cygwin Bazaar.
 
4128
  (Matt McClure, #209281)
 
4129
 
 
4130
* revision_history now tolerates mainline ghosts for Branch format 6.
 
4131
  (Aaron Bentley, #235055)
 
4132
 
 
4133
* Set locale from environment for third party libs.
 
4134
  (Martin von Gagern, #128496)
 
4135
 
 
4136
Documentation
 
4137
*************
 
4138
 
 
4139
* Added *Using stacked branches* to the User Guide.
 
4140
  (Ian Clatworthy)
 
4141
 
 
4142
* Updated developer documentation.
 
4143
  (Martin Pool)
 
4144
 
 
4145
Testing
 
4146
*******
 
4147
 
 
4148
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
 
4149
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
 
4150
 
 
4151
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
 
4152
  a tree with a ``branch`` attribute of the right format.  This was
 
4153
  preventing some ``RemoteBranch`` tests from actually running with
 
4154
  ``RemoteBranch`` instances.  (Andrew Bennetts)
 
4155
 
 
4156
API Changes
 
4157
***********
 
4158
 
 
4159
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
 
4160
  there are new attributes ``texts, inventories, revisions,
 
4161
  signatures``, each of which is a ``VersionedFiles``.  See the
 
4162
  Repository docstring for more details.
 
4163
  (Robert Collins)
 
4164
 
 
4165
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
 
4166
  parameter.  If you have a subclass of ``Branch`` that overrides
 
4167
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
 
4168
 
 
4169
* ``bzrlib.check.check()`` has been deprecated in favour of the more
 
4170
  aptly-named ``bzrlib.check.check_branch()``.
 
4171
  (Daniel Watkins)
 
4172
 
 
4173
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
 
4174
  These methods are bad APIs because they write directly to sys.stdout.
 
4175
  bzrlib does not use them internally, and there are no direct tests
 
4176
  for them. (Alexander Belchenko)
 
4177
 
 
4178
Internals
 
4179
*********
 
4180
 
 
4181
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
 
4182
  (Alexander Belchenko)
 
4183
 
 
4184
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
 
4185
  which eases the discovery of the tree, the branch and the repository
 
4186
  containing a given location.
 
4187
  (Daniel Watkins)
 
4188
 
 
4189
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
 
4190
  underlying .knit/.kndx etc files in repositories with partitioned
 
4191
  storage. (Robert Collins)
 
4192
 
 
4193
* Obsolete developer-use command ``weave-join`` has been removed.
 
4194
  (Robert Collins)
 
4195
 
 
4196
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
 
4197
  to support new ``VersionedFiles`` layering.
 
4198
  (Robert Collins)
 
4199
 
 
4200
 
 
4201
bzr 1.6beta2
 
4202
############
 
4203
 
 
4204
:Released: 2008-06-10
 
4205
 
 
4206
This release contains further progress towards our 1.6 goals of shallow
 
4207
repositories, and contains a fix for some user-affecting bugs in the
 
4208
repository layer.  Building working trees during checkout and branch is
 
4209
now faster.
 
4210
 
 
4211
Bug Fixes
 
4212
*********
 
4213
 
 
4214
* Avoid KnitCorrupt error extracting inventories from some repositories.
 
4215
  (The data is not corrupt; an internal check is detecting a problem
 
4216
  reading from the repository.)
 
4217
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
 
4218
 
 
4219
* ``bzr status`` was breaking if you merged the same revision twice.
 
4220
  (John Arbash Meinel, #235407)
 
4221
 
 
4222
* Fix infinite loop consuming 100% CPU when a connection is lost while
 
4223
  reading a response body via the smart protocol v1 or v2.
 
4224
  (Andrew Bennetts)
 
4225
 
 
4226
* Inserting a bundle which changes the contents of a file with no trailing
 
4227
  end of line, causing a knit snapshot in a 'knits' repository will no longer
 
4228
  cause KnitCorrupt. (Robert Collins)
 
4229
 
 
4230
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
 
4231
  pull result. It was instead just returning None, which breaks ``bzr
 
4232
  pull``. (John Arbash Meinel, #238149)
 
4233
 
 
4234
* Sanitize branch nick before using it as an attachment filename in
 
4235
  ``bzr send``. (Lukáš Lalinský, #210218)
 
4236
 
 
4237
* Squash ``inv_entry.symlink_target`` to a plain string when
 
4238
  generating DirState details. This prevents from getting a
 
4239
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
 
4240
  (John Arbash Meinel, #135320)
 
4241
 
 
4242
Improvements
 
4243
************
 
4244
 
 
4245
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
 
4246
 
 
4247
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
 
4248
  now quote paths where required). Added ``--null`` option to ``added`` and
 
4249
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
 
4250
  (Adrian Wilkins)
 
4251
 
 
4252
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
 
4253
  (Ian Clatworthy, Aaron Bentley)
 
4254
 
 
4255
Documentation
 
4256
*************
 
4257
 
 
4258
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
 
4259
 
 
4260
Testing
 
4261
*******
 
4262
 
 
4263
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
4264
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
4265
 
 
4266
API Changes
 
4267
***********
 
4268
 
 
4269
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
4270
  which are in the ancestry of other revisions. So if you merge the same
 
4271
  tree twice, or merge an ancestor of an existing merge, it will only
 
4272
  record the newest. (If you merge a descendent, it will replace its
 
4273
  ancestor). (John Arbash Meinel, #235407)
 
4274
 
 
4275
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
 
4276
  through the derived classes do not.  (Aaron Bentley)
 
4277
 
 
4278
Internals
 
4279
*********
 
4280
 
 
4281
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
 
4282
  creating stacked branches. (Robert Collins)
 
4283
 
 
4284
* Knit record serialisation is now stricter on what it will accept, to
 
4285
  guard against potential internal bugs, or broken input. (Robert Collins)
 
4286
 
 
4287
bzr 1.6beta1
 
4288
############
 
4289
 
 
4290
:Released: 2008-06-02
 
4291
 
 
4292
Commands that work on the revision history such as push, pull, missing,
 
4293
uncommit and log are now substantially faster.  This release adds a
 
4294
translation of some of the user documentation into Spanish.  (Contributions of
 
4295
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
 
4296
protocol which is used by default and which allows for more efficient transfers
 
4297
and future extensions.
 
4298
 
 
4299
 
 
4300
Notes When Upgrading
 
4301
********************
 
4302
 
 
4303
* There is a new version of the network protocol used for bzr://, bzr+ssh://
 
4304
  and bzr+http:// connections.  This will allow more efficient requests and
 
4305
  responses, and more graceful fallback when a server is too old to
 
4306
  recognise a request from a more recent client.  Bazaar 1.6 will
 
4307
  interoperate with 0.16 and later versions, but servers should be upgraded
 
4308
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
4309
  these protocols.  Use alternatives like SFTP or upgrade those servers.
 
4310
  (Andrew Bennetts, #83935)
 
4311
 
 
4312
Changes
 
4313
*******
 
4314
 
 
4315
* Deprecation warnings will not be suppressed when running ``bzr selftest``
 
4316
  so that developers can see if their code is using deprecated functions.
 
4317
  (John Arbash Meinel)
 
4318
 
 
4319
Features
 
4320
********
 
4321
 
 
4322
* Adding ``-Derror`` will now display a traceback when a plugin fails to
 
4323
  load. (James Westby)
 
4324
 
 
4325
Improvements
 
4326
************
 
4327
 
 
4328
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
 
4329
  the revno of the new revision (``Graph.find_distance_to_null``). This
 
4330
  should make something like ``bzr branch -r -100`` in a shared, no-trees
 
4331
  repository much snappier. (John Arbash Meinel)
 
4332
 
 
4333
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
 
4334
  history. This makes it noticeably faster when logging the last few
 
4335
  revisions. (John Arbash Meinel)
 
4336
 
 
4337
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
 
4338
  (Jerad Cramp, #165086)
 
4339
 
 
4340
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
4341
  ``Graph.find_differences`` to determine missing revisions without having
 
4342
  to search the whole ancestry. (John Arbash Meinel, #174625)
 
4343
 
 
4344
* ``bzr uncommit`` now uses partial history access, rather than always
 
4345
  extracting the full revision history for a branch. This makes it
 
4346
  resolve the appropriate revisions much faster (in testing it drops
 
4347
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
 
4348
  step closer to not using full revision history.
 
4349
  (John Arbash Meinel, #172649)
 
4350
 
 
4351
Bugfixes
 
4352
********
 
4353
 
 
4354
* ``bzr merge --lca`` should handle when two revisions have no common
 
4355
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
 
4356
 
 
4357
* ``bzr status`` was breaking if you merged the same revision twice.
 
4358
  (John Arbash Meinel, #235407)
 
4359
 
 
4360
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
4361
  fails.  (Andrew Bennetts, #234229)
 
4362
 
 
4363
* Correctly track the base URL of a smart medium when using bzr+http://
 
4364
  URLs, which was causing spurious "No repository present" errors with
 
4365
  branches in shared repositories accessed over bzr+http.
 
4366
  (Andrew Bennetts, #230550)
 
4367
 
 
4368
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
4369
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
4370
  attribute '_remote_is_at_least_1_2' attribute errors.
 
4371
  (Andrew Bennetts, #220806)
 
4372
 
 
4373
* Failure to delete an obsolete pack file should just give a warning
 
4374
  message, not a fatal error.  It may for example fail if the file is still
 
4375
  in use by another process.
 
4376
  (Martin Pool)
 
4377
 
 
4378
* Fix MemoryError during large fetches over HTTP by limiting the amount of
 
4379
  data we try to read per ``recv`` call.  The problem was observed with
 
4380
  Windows and a proxy, but might affect other environments as well.
 
4381
  (Eric Holmberg, #215426)
 
4382
 
 
4383
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
4384
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
4385
 
 
4386
* Issue a warning and ignore passwords declared in authentication.conf when
 
4387
  used for an ssh scheme (sftp or bzr+ssh).
 
4388
  (Vincent Ladeuil, #203186)
 
4389
 
 
4390
* Make both http implementations raise appropriate exceptions on 403
 
4391
  Forbidden when POSTing smart requests.
 
4392
  (Vincent Ladeuil, #230223)
 
4393
 
 
4394
* Properly *title* header names in http requests instead of capitalizing
 
4395
  them.
 
4396
  (Vincent Ladeuil, #229076)
 
4397
 
 
4398
* The "Unable to obtain lock" error message now also suggests using
 
4399
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
 
4400
 
 
4401
* Treat an encoding of '' as ascii; this can happen when bzr is run
 
4402
  under vim on Mac OS X.
 
4403
  (Neil Martinsen-Burrell)
 
4404
 
 
4405
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
 
4406
  scope. (Daniel Fischer #235687)
 
4407
 
 
4408
Documentation
 
4409
*************
 
4410
 
 
4411
* Added directory structure and started translation of docs in spanish.
 
4412
  (Martin Albisetti, Lucio Albenga)
 
4413
 
 
4414
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
4415
  on the plugin and integration chapters of the User Guide.
 
4416
  (Ian Clatworthy)
 
4417
 
 
4418
* More Bazaar developer documentation about packaging and release process,
 
4419
  and about use of Python reprs.
 
4420
  (Martin Pool, Martin Albisetti)
 
4421
 
 
4422
* Updated Tortise strategy document. (Mark Hammond)
 
4423
 
 
4424
Testing
 
4425
*******
 
4426
 
 
4427
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
 
4428
  (Robert Collins)
 
4429
 
 
4430
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
4431
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
4432
 
 
4433
* New helper function for splitting test suites
 
4434
  ``split_suite_by_condition``. (Robert Collins)
 
4435
 
 
4436
Internals
 
4437
*********
 
4438
 
 
4439
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
 
4440
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
 
4441
  fairly broken, and the function was unused, so we are getting rid of it.
 
4442
  (John Arbash Meinel)
 
4443
 
 
4444
API Changes
 
4445
***********
 
4446
 
 
4447
* ``Branch.abspath`` is deprecated; use the Tree or Transport
 
4448
  instead.  (Martin Pool)
 
4449
 
 
4450
* ``Branch.update_revisions`` now takes an optional ``Graph``
 
4451
  object. This can be used by ``update_revisions`` when it is
 
4452
  checking ancestry, and allows callers to prefer request to go to a
 
4453
  local branch.  (John Arbash Meinel)
 
4454
 
 
4455
* Branch, Repository, Tree and BzrDir should expose a Transport as an
 
4456
  attribute if they have one, rather than having it indirectly accessible
 
4457
  as ``.control_files._transport``.  This doesn't add a requirement
 
4458
  to support a Transport in cases where it was not needed before;
 
4459
  it just simplifies the way it is reached.  (Martin Pool)
 
4460
 
 
4461
* ``bzr missing --mine-only`` will return status code 0 if you have no
 
4462
  new revisions, but the remote does. Similarly for ``--theirs-only``.
 
4463
  The new code only checks one side, so it doesn't know if the other
 
4464
  side has changes. This seems more accurate with the request anyway.
 
4465
  It also changes the output to print '[This|Other] branch is up to
 
4466
  date.' rather than displaying nothing.  (John Arbash Meinel)
 
4467
 
 
4468
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
4469
  are now deprecated in favor of using Transport operations.
 
4470
  (Martin Pool)
 
4471
 
 
4472
* Many methods on ``VersionedFile``, ``Repository`` and in
 
4473
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
4474
  (Robert Collins)
 
4475
 
 
4476
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
 
4477
  ``RevisionSpec``. This will disable the existing behavior of passing in
 
4478
  the full revision history to ``self._match_on``. Useful for specs that
 
4479
  don't actually need access to the full history. (John Arbash Meinel)
 
4480
 
 
4481
* The constructors of ``SmartClientMedium`` and its subclasses now require a
 
4482
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
4483
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
4484
 
 
4485
* The default permissions for creating new files and directories
 
4486
  should now be obtained from ``BzrDir._get_file_mode()`` and
 
4487
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
4488
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
4489
  as a way for plugins to control this are no longer consulted.
 
4490
  (Martin Pool)
 
4491
 
 
4492
* ``VersionedFile.join`` is deprecated. This method required local
 
4493
  instances of both versioned file objects and was thus hostile to being
 
4494
  used for streaming from a smart server. The new get_record_stream and
 
4495
  insert_record_stream are meant to efficiently replace this method.
 
4496
  (Robert Collins)
 
4497
 
 
4498
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
4499
  which are in the ancestry of other revisions. So if you merge the same
 
4500
  tree twice, or merge an ancestor of an existing merge, it will only
 
4501
  record the newest. (If you merge a descendent, it will replace its
 
4502
  ancestor). (John Arbash Meinel, #235407)
 
4503
 
 
4504
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
4505
  (Martin Pool)
 
4506
 
 
4507
 
 
4508
bzr 1.5
 
4509
#######
 
4510
 
 
4511
:Released: 2008-05-16
 
4512
 
 
4513
This release of Bazaar includes several updates to the documentation, and fixes
 
4514
to prepare for making rich root support the default format. Many bugs have been
 
4515
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
 
4516
 
 
4517
Changes
 
4518
*******
 
4519
 
 
4520
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
4521
  users of packaged software won't be bothered with DeprecationWarnings,
 
4522
  but developers and testers will still see them. (John Arbash Meinel)
 
4523
 
 
4524
Documentation
 
4525
*************
 
4526
 
 
4527
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
4528
  on the plugin and integration chapters of the User Guide.
 
4529
  (Ian Clatworthy)
 
4530
 
 
4531
 
 
4532
bzr 1.5rc1
 
4533
##########
 
4534
 
 
4535
:Released: 2008-05-09
 
4536
 
 
4537
Changes
 
4538
*******
 
4539
 
 
4540
* Broader support of GNU Emacs mail clients. Set
 
4541
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
4542
  bundle in a mail buffer according to the value of ``mail-user-agent``
 
4543
  variable. (Xavier Maillard)
 
4544
 
 
4545
Improvements
 
4546
************
 
4547
 
 
4548
* Diff now handles revision specs like "branch:" and "submit:" more
 
4549
  efficiently.  (Aaron Bentley, #202928)
 
4550
 
 
4551
* More friendly error given when attempt to start the smart server
 
4552
  on an address already in use. (Andrea Corbellini, #200575)
 
4553
 
 
4554
* Pull completes much faster when there is nothing to pull.
 
4555
  (Aaron Bentley)
 
4556
 
 
4557
Bugfixes
 
4558
********
 
4559
 
 
4560
* Authentication.conf can define sections without password.
 
4561
  (Vincent Ladeuil, #199440)
 
4562
 
 
4563
* Avoid muttering every time a child update does not cause a progress bar
 
4564
  update. (John Arbash Meinel, #213771)
 
4565
 
 
4566
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
4567
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
4568
  also detects this condition. (John Arbash Meinel, #177855)
 
4569
 
 
4570
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
4571
  for ``revision_id=None`` which was not a string.
 
4572
  (John Arbash Meinel, #211661)
 
4573
 
 
4574
* ``bzr commit`` now works with Microsoft's FTP service.
 
4575
  (Andreas Deininger)
 
4576
 
 
4577
* Catch definitions outside sections in authentication.conf.
 
4578
  (Vincent Ladeuil, #217650)
 
4579
 
 
4580
* Conversion from non-rich-root to rich-root(-pack) updates inventory
 
4581
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
4582
 
 
4583
* Conversion from non-rich-root to rich-root(-pack) works correctly even
 
4584
  though search keys are not topologically sorted.  (Aaron Bentley)
 
4585
 
 
4586
* Conversion from non-rich-root to rich-root(-pack) works even when a
 
4587
  parent revision has a different root id.  (Aaron Bentley, #177874)
 
4588
 
 
4589
* Disable strace testing until strace is fixed (see bug #103133) and emit a
 
4590
  warning when selftest ends to remind us of leaking tests.
 
4591
  (Vincent Ladeuil, #226769)
 
4592
 
 
4593
* Fetching all revisions from a repository does not cause pack collisions.
 
4594
  (Robert Collins, Aaron Bentley, #212908)
 
4595
 
 
4596
* Fix error about "attempt to add line-delta in non-delta knit".
 
4597
  (Andrew Bennetts, #217701)
 
4598
 
 
4599
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
4600
  if the remote server was < version 1.2. This was due to a bug in the
 
4601
  RemoteRepository.get_parent_map() fallback code.
 
4602
  (John Arbash Meinel, #214894)
 
4603
 
 
4604
* Remove leftover code in ``bzr_branch`` that inappropriately creates
 
4605
  a ``branch-name`` file in the branch control directory.
 
4606
  (Martin Pool)
 
4607
 
 
4608
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
4609
  rebinding the socket when starting the server a second time.
 
4610
  (John Arbash Meinel, Martin Pool, #164288)
 
4611
 
 
4612
* Severe performance degradation in fetching from knit repositories to
 
4613
  knits and packs due to parsing the entire revisions.kndx on every graph
 
4614
  walk iteration fixed by using the Repository.get_graph API.  There was
 
4615
  another regression in knit => knit fetching which re-read the index for
 
4616
  every revision each side had in common.
 
4617
  (Robert Collins, John Arbash Meinel)
 
4618
 
 
4619
* When logging the changes to a particular file, there was a bug if there
 
4620
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
4621
 
 
4622
* xs4all's ftp server returns a temporary error when trying to list an
 
4623
  empty directory, rather than returning an empty list. Adding a
 
4624
  workaround so that we don't get spurious failures.
 
4625
  (John Arbash Meinel, #215522)
 
4626
 
 
4627
Documentation
 
4628
*************
 
4629
 
 
4630
* Expanded the User Guide to include new chapters on popular plugins and
 
4631
  integrating Bazaar into your environment. The *Best practices* chapter
 
4632
  was renamed to *Miscellaneous topics* as suggested by community
 
4633
  feedback as well. (Ian Clatworthy)
 
4634
 
 
4635
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
4636
 
 
4637
* Improved the documentation on hooks. (Ian Clatworthy)
 
4638
 
 
4639
* Update authentication docs regarding ssh agents.
 
4640
  (Vincent Ladeuil, #183705)
 
4641
 
 
4642
Testing
 
4643
*******
 
4644
 
 
4645
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
4646
  make it easy to identify which test spawned a thread with an unhandled
 
4647
  exception. (Andrew Bennetts)
 
4648
 
 
4649
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
4650
  options for debugging tests, these are complementary to the the -D
 
4651
  options.  The ``-Dselftest_debug`` global option has been replaced by the
 
4652
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
4653
 
 
4654
* Parameterised test ids are preserved correctly to aid diagnosis of test
 
4655
  failures. (Robert Collins, Andrew Bennetts)
 
4656
 
 
4657
* selftest now accepts --starting-with <id> to load only the tests whose id
 
4658
  starts with the one specified. This greatly speeds up running the test
 
4659
  suite on a limited set of tests and can be used to run the tests for a
 
4660
  single module, a single class or even a single test.  (Vincent Ladeuil)
 
4661
 
 
4662
* The test suite modules have been modified to define load_tests() instead
 
4663
  of test_suite(). That speeds up selective loading (via --load-list)
 
4664
  significantly and provides many examples on how to migrate (grep for
 
4665
  load_tests).  (Vincent Ladeuil)
 
4666
 
 
4667
Internals
 
4668
*********
 
4669
 
 
4670
* ``Hooks.install_hook`` is now deprecated in favour of
 
4671
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
4672
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
4673
 
 
4674
* Implement xml8 serializer.  (Aaron Bentley)
 
4675
 
 
4676
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
 
4677
  deprecation wrappers.  (Martin Pool)
 
4678
 
 
4679
* ``Repository.revision_parents`` is now deprecated in favour of
 
4680
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
4681
 
 
4682
* The Python ``assert`` statement is no longer used in Bazaar source, and
 
4683
  a test checks this.  (Martin Pool)
 
4684
 
 
4685
API Changes
 
4686
***********
 
4687
 
 
4688
* ``bzrlib.status.show_pending_merges`` requires the repository to be
 
4689
  locked by the caller. Callers should have been doing it anyway, but it
 
4690
  will now raise an exception if they do not. (John Arbash Meinel)
 
4691
 
 
4692
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
4693
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
4694
  Repository.item_keys_introduced_by() no longer take read locks.
 
4695
  (Aaron Bentley)
 
4696
 
 
4697
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
4698
  towards removing LockableFiles and ``.control_files`` entirely.
 
4699
  (Martin Pool)
 
4700
 
 
4701
* Methods deprecated prior to 1.1 have been removed.
 
4702
  (Martin Pool)
 
4703
 
 
4704
 
 
4705
bzr 1.4 
 
4706
#######
 
4707
 
 
4708
:Released: 2008-04-28
 
4709
 
 
4710
This release of Bazaar includes handy improvements to the speed of log and
 
4711
status, new options for several commands, improved documentation, and better
 
4712
hooks, including initial code for server-side hooks.  A number of bugs have
 
4713
been fixed, particularly in interoperability between different formats or
 
4714
different releases of Bazaar over there network.  There's been substantial
 
4715
internal work in both the repository and network code to enable new features
 
4716
and faster performance.
 
4717
 
 
4718
Bug Fixes
 
4719
*********
 
4720
 
 
4721
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
4722
  if the remote server was < version 1.2.  This was due to a bug in the
 
4723
  RemoteRepository.get_parent_map() fallback code.
 
4724
  (John Arbash Meinel, Andrew Bennetts, #214894)
 
4725
 
 
4726
 
 
4727
bzr 1.4rc2
 
4728
##########
 
4729
 
 
4730
:Released: 2008-04-21
 
4731
 
 
4732
Bug Fixes
 
4733
*********
 
4734
 
 
4735
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
4736
  for ``revision_id=None`` which was not a string.
 
4737
  (John Arbash Meinel, #211661)
 
4738
 
 
4739
* Fixed a bug in handling ghost revisions when logging changes in a
 
4740
  particular file.  (John Arbash Meinel, #209948)
 
4741
 
 
4742
* Fix error about "attempt to add line-delta in non-delta knit".
 
4743
  (Andrew Bennetts, #205156)
 
4744
 
 
4745
* Fixed performance degradation in fetching from knit repositories to
 
4746
  knits and packs due to parsing the entire revisions.kndx on every graph
 
4747
  walk iteration fixed by using the Repository.get_graph API.  There was
 
4748
  another regression in knit => knit fetching which re-read the index for
 
4749
  every revision each side had in common.
 
4750
  (Robert Collins, John Arbash Meinel)
 
4751
 
 
4752
 
 
4753
bzr 1.4rc1
 
4754
##########
 
4755
 
 
4756
:Released: 2008-04-11
 
4757
 
 
4758
Changes
 
4759
*******
 
4760
 
 
4761
* bzr main script cannot be imported (Benjamin Peterson)
 
4762
 
 
4763
* On Linux bzr additionally looks for plugins in arch-independent site
 
4764
  directory. (Toshio Kuratomi)
 
4765
 
 
4766
* The ``set_rh`` branch hook is now deprecated. Please migrate
 
4767
  any plugins using this hook to use an alternative, e.g.
 
4768
  ``post_change_branch_tip``. (Ian Clatworthy)
 
4769
 
 
4770
* When a plugin cannot be loaded as the file path is not a valid
 
4771
  python module name bzr will now strip a ``bzr_`` prefix from the
 
4772
  front of the suggested name, as many plugins (e.g. bzr-svn)
 
4773
  want to be installed without this prefix. It is a common mistake
 
4774
  to have a folder named "bzr-svn" for that plugin, especially
 
4775
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
4776
  Andrew Cowie)
 
4777
 
 
4778
* UniqueIntegerBugTracker now appends bug-ids instead of joining
 
4779
  them to the base URL. Plugins that register bug trackers may
 
4780
  need a trailing / added to the base URL if one is not already there.
 
4781
  (James Wesby, Andrew Cowie)
 
4782
 
 
4783
Features
 
4784
********
 
4785
 
 
4786
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
4787
 
 
4788
* ``status`` now accepts ``--no-pending`` to show the status without
 
4789
  listing pending merges, which speeds up the command a lot on large
 
4790
  histories.  (James Westby, #202830)
 
4791
 
 
4792
* New ``post_change_branch_tip`` hook that is called after the
 
4793
  branch tip is moved but while the branch is still write-locked.
 
4794
  See the User Reference for signature details.
 
4795
  (Ian Clatworthy, James Henstridge)
 
4796
 
 
4797
* Reconfigure can convert a branch to be standalone or to use a shared
 
4798
  repository.  (Aaron Bentley)
 
4799
 
 
4800
Improvements
 
4801
************
 
4802
 
 
4803
* The smart protocol now has support for setting branches' revision info
 
4804
  directly.  This should make operations like push slightly faster, and is a
 
4805
  step towards server-side hooks.  The new request method name is
 
4806
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
4807
 
 
4808
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
4809
  (James Westby, Andrew Cowie)
 
4810
 
 
4811
* ``bzr switch`` will attempt to find branches to switch to relative to the
 
4812
  current branch. E.g. ``bzr switch branchname`` will look for
 
4813
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
4814
  Wouter van Heyst)
 
4815
 
 
4816
* Diff is now more specific about execute-bit changes it describes
 
4817
  (Chad Miller)
 
4818
 
 
4819
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
4820
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
4821
  rather than just 1 byte at a time.  (Andrew Bennetts)
 
4822
 
 
4823
* Log --short and --line are much faster when -r is not specified.
 
4824
  (Aaron Bentley)
 
4825
 
 
4826
* Merge is faster.  We no longer check a file's existence unnecessarily
 
4827
  when merging the execute bit.  (Aaron Bentley)
 
4828
 
 
4829
* ``bzr status`` on an explicit list of files no longer shows pending
 
4830
  merges, making it much faster on large trees. (John Arbash Meinel)
 
4831
 
 
4832
* The launchpad directory service now warns the user if they have not set
 
4833
  their launchpad login and are trying to resolve a URL using it, just
 
4834
  in case they want to do a write operation with it.  (James Westby)
 
4835
 
 
4836
* The smart protocol client is slightly faster, because it now only queries
 
4837
  the server for the protocol version once per connection.  Also, the HTTP
 
4838
  transport will now automatically probe for and use a smart server if
 
4839
  one is present.  You can use the new ``nosmart+`` transport decorator
 
4840
  to get the old behaviour.  (Andrew Bennetts)
 
4841
 
 
4842
* The ``version`` command takes a ``--short`` option to print just the
 
4843
  version number, for easier use in scripts.  (Martin Pool)
 
4844
 
 
4845
* Various operations with revision specs and commands that calculate
 
4846
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
4847
 
 
4848
Bugfixes
 
4849
********
 
4850
 
 
4851
* Add ``root_client_path`` parameter to SmartWSGIApp and
 
4852
  SmartServerRequest.  This makes it possible to publish filesystem
 
4853
  locations that don't exactly match URL paths. SmartServerRequest
 
4854
  subclasses should use the new ``translate_client_path`` and
 
4855
  ``transport_from_client_path`` methods when dealing with paths received
 
4856
  from a client to take this into account.  (Andrew Bennetts, #124089)
 
4857
 
 
4858
* ``bzr mv a b`` can be now used also to rename previously renamed
 
4859
  directories, not only files. (Lukáš Lalinský, #107967)
 
4860
 
 
4861
* ``bzr uncommit --local`` can now remove revisions from the local
 
4862
  branch to be symmetric with ``bzr commit --local``.
 
4863
  (John Arbash Meinel, #93412)
 
4864
 
 
4865
* Don't ask for a password if there is no real terminal.
 
4866
  (Alexander Belchenko, #69851)
 
4867
 
 
4868
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
4869
  fetching revisions from a knit to pack repository or vice versa using
 
4870
  bzr:// (including over http or ssh).
 
4871
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
4872
 
 
4873
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
4874
  fixed ``_get_bytes`` in the same module to use the push back buffer.
 
4875
  These bugs had no known impact in normal use, but were problematic for
 
4876
  developers working on the code, and were likely to cause real bugs sooner
 
4877
  or later.  (Andrew Bennetts)
 
4878
 
 
4879
* Implement handling of basename parameter for DefaultMail.  (James Westby)
 
4880
 
 
4881
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
4882
  (Andrew Bennetts, #213425)
 
4883
 
 
4884
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
4885
 
 
4886
* Merges that add files to deleted root directories complete.  They
 
4887
  do create conflicts.  (Aaron Bentley, #210092)
 
4888
 
 
4889
* vsftp's return ``550 RNFR command failed.`` supported.
 
4890
  (Marcus Trautwig, #129786)
 
4891
 
 
4892
Documentation
 
4893
*************
 
4894
 
 
4895
* Improved documentation on send/merge relationship. (Peter Schuller)
 
4896
 
 
4897
* Minor fixes to the User Guide. (Matthew Fuller)
 
4898
 
 
4899
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
4900
 
 
4901
* Added Integrating with Bazaar document for developers (Martin Albisetti)
 
4902
 
 
4903
API Breaks
 
4904
**********
 
4905
 
 
4906
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
4907
  non-ghost aware repository such as weaves will now fail if there are
 
4908
  ghosts.  (Robert Collins)
 
4909
 
 
4910
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
4911
  now requires the ``index`` and ``access_method`` parameters to be
 
4912
  supplied. A compatible shim has been kept in the new function
 
4913
  ``knit.make_file_knit``. (Robert Collins)
 
4914
 
 
4915
* Log formatters must now provide log_revision instead of show and
 
4916
  show_merge_revno methods. The latter had been deprecated since the 0.17
 
4917
  release. (James Westby)
 
4918
 
 
4919
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
4920
  (Andrew Bennetts)
 
4921
 
 
4922
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
4923
 
 
4924
* ``Repository.get_revision_graph`` is deprecated, with no replacement
 
4925
  method. The method was size(history) and not desirable. (Robert Collins)
 
4926
 
 
4927
* ``revision.revision_graph`` is deprecated, with no replacement function.
 
4928
  The function was size(history) and not desirable. (Robert Collins)
 
4929
 
 
4930
* ``Transport.get_shared_medium`` is deprecated.  Use
 
4931
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
4932
 
 
4933
* ``VersionedFile`` factories now accept a get_scope parameter rather
 
4934
  than using a call to ``transaction_finished``, allowing the removal of
 
4935
  the fixed list of versioned files per repository. (Robert Collins)
 
4936
 
 
4937
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
4938
  allowed lower memory use, all users of annotations wanted full file
 
4939
  annotations, and there is no storage format suitable for incremental
 
4940
  line-by-line annotation. (Robert Collins)
 
4941
 
 
4942
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
4943
  is no longer used - reading the content of a file that is undergoing a
 
4944
  file level merge to identical state on two branches is rare enough, and
 
4945
  not expensive enough to special case. (Robert Collins)
 
4946
 
 
4947
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
4948
  These methods added significant complexity to the ``VersionedFile``
 
4949
  implementation, but were only used for optimising fetches from knits -
 
4950
  which can be done from outside the knit layer, or via a caching
 
4951
  decorator. As knits are not the default format, the complexity is no
 
4952
  longer worth paying. (Robert Collins)
 
4953
 
 
4954
* ``VersionedFile.create_empty`` is removed. This method presupposed a
 
4955
  sensible mapping to a transport for individual files, but pack backed
 
4956
  versioned files have no such mapping. (Robert Collins)
 
4957
 
 
4958
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
4959
  The method was size(history) and not desirable. (Robert Collins)
 
4960
 
 
4961
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
4962
  replacement method.  The method was size(history) and not desirable.
 
4963
  (Robert Collins)
 
4964
 
 
4965
* ``VersionedFile.get_parents`` is deprecated, please use
 
4966
  ``VersionedFile.get_parent_map``. (Robert Collins)
 
4967
 
 
4968
* ``VersionedFile.get_sha1`` is deprecated, please use
 
4969
  ``VersionedFile.get_sha1s``. (Robert Collins)
 
4970
 
 
4971
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
4972
  and unused outside of a single test. (Robert Collins)
 
4973
 
 
4974
* ``VersionedFile.iter_parents`` is now deprecated in favour of
 
4975
  ``get_parent_map`` which can be used to instantiate a Graph on a
 
4976
  VersionedFile. (Robert Collins)
 
4977
 
 
4978
* ``VersionedFileStore`` no longer uses the transaction parameter given
 
4979
  to most methods; amongst other things this means that the
 
4980
  get_weave_or_empty method no longer guarantees errors on a missing weave
 
4981
  in a readonly transaction, and no longer caches versioned file instances
 
4982
  which reduces memory pressure (but requires more careful management by
 
4983
  callers to preserve performance). (Robert Collins)
 
4984
 
 
4985
Testing
 
4986
*******
 
4987
 
 
4988
* New -Dselftest_debug flag disables clearing of the debug flags during
 
4989
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
4990
  failing test.  Be aware that using this feature is likely to cause
 
4991
  spurious test failures if used with the full suite. (Andrew Bennetts)
 
4992
 
 
4993
* selftest --load-list now uses a new more agressive test loader that will
 
4994
  avoid loading unneeded modules and building their tests. Plugins can use
 
4995
  this new loader by defining a load_tests function instead of a test_suite
 
4996
  function. (a forthcoming patch will provide many examples on how to
 
4997
  implement this).
 
4998
  (Vincent Ladeuil)
 
4999
 
 
5000
* selftest --load-list now does some sanity checks regarding duplicate test
 
5001
  IDs and tests present in the list but not found in the actual test suite.
 
5002
  (Vincent Ladeuil)
 
5003
 
 
5004
* Slightly more concise format for the selftest progress bar, so there's
 
5005
  more space to show the test name.  (Martin Pool) ::
 
5006
 
 
5007
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
5008
 
 
5009
* The test suite takes much less memory to run, and is a bit faster.  This
 
5010
  is done by clearing most attributes of TestCases after running them, if
 
5011
  they succeeded.  (Andrew Bennetts)
 
5012
 
 
5013
Internals
 
5014
*********
 
5015
 
 
5016
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
5017
 
 
5018
* Added basic infrastructure for automatic plugin suggestion.
 
5019
  (Martin Albisetti)
 
5020
 
 
5021
* If a ``LockableFiles`` object is not explicitly unlocked (for example
 
5022
  because of a missing ``try/finally`` block, it will give a warning but
 
5023
  not automatically unlock itself.  (Previously they did.)  This
 
5024
  sometimes caused knock-on errors if for example the network connection
 
5025
  had already failed, and should not be relied upon by code.
 
5026
  (Martin Pool, #109520)
 
5027
 
 
5028
* ``make dist`` target to build a release tarball, and also
 
5029
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
5030
 
 
5031
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
5032
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
5033
  callers don't need to try distinguish unknown request errors from other
 
5034
  errors.  (Andrew Bennetts)
 
5035
 
 
5036
* ``set_make_working_trees`` is now implemented provided on all repository
 
5037
  implementations (Aaron Bentley)
 
5038
 
 
5039
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
5040
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
5041
 
 
5042
 
 
5043
bzr 1.3.1
 
5044
#########
 
5045
 
 
5046
:Released: 2008-04-09
 
5047
 
 
5048
No changes from 1.3.1rc1.
 
5049
 
 
5050
 
 
5051
bzr 1.3.1rc1
 
5052
############
 
5053
 
 
5054
:Released: 2008-04-04
 
5055
 
 
5056
Bug Fixes
 
5057
*********
 
5058
 
 
5059
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
5060
  fetching revisions from a knit to pack repository or vice versa using
 
5061
  bzr:// (including over http or ssh).
 
5062
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
5063
 
 
5064
 
 
5065
bzr 1.3
 
5066
#######
 
5067
 
 
5068
:Released: 2008-03-20
 
5069
 
 
5070
Bazaar has become part of the GNU project <http://www.gnu.org>
 
5071
 
 
5072
Many operations that act on history, including ``log`` and ``annotate`` are now
 
5073
substantially faster.  Several bugs have been fixed and several new options and
 
5074
features have been added.
 
5075
 
 
5076
Testing
 
5077
*******
 
5078
 
 
5079
* Avoid spurious failure of ``TestVersion.test_version`` matching
 
5080
  directory names.
 
5081
  (#202778, Martin Pool)
 
5082
 
 
5083
 
 
5084
bzr 1.3rc1
 
5085
##########
 
5086
 
 
5087
:Released: 2008-03-16
 
5088
 
 
5089
Notes When Upgrading
 
5090
********************
 
5091
 
 
5092
* The backup directory created by ``upgrade`` is now called
 
5093
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
5094
 
 
5095
Changes
 
5096
*******
 
5097
 
 
5098
* A new repository format 'development' has been added. This format will
 
5099
  represent the latest 'in-progress' format that the bzr developers are
 
5100
  interested in getting early-adopter testing and feedback on.
 
5101
  ``doc/developers/development-repo.txt`` has detailed information.
 
5102
  (Robert Collins)
 
5103
 
 
5104
* BZR_LOG environment variable controls location of .bzr.log trace file.
 
5105
  User can suppress writing messages to .bzr.log by using '/dev/null'
 
5106
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
5107
  is not defined but BZR_HOME is defined then default location
 
5108
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
5109
  (Alexander Belchenko, #106117)
 
5110
 
 
5111
* ``launchpad`` builtin plugin now shipped as separate part in standalone
 
5112
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
 
5113
  and standalone installer allows user to skip installation of this plugin.
 
5114
  (Alexander Belchenko)
 
5115
 
 
5116
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
5117
 
 
5118
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
5119
  missing final fields.  (Martin Pool)
 
5120
 
 
5121
Features
 
5122
********
 
5123
 
 
5124
* ``branch`` and ``checkout`` can hard-link working tree files, which is
 
5125
  faster and saves space.  (Aaron Bentley)
 
5126
 
 
5127
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
5128
  the submit branch to determine the email address to send to.
 
5129
  (Jelmer Vernooij)
 
5130
 
 
5131
Improvements
 
5132
************
 
5133
 
 
5134
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
5135
 
 
5136
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
5137
 
 
5138
* Directory services can now be registered, allowing special URLs to be
 
5139
  dereferenced into real URLs.  This is a generalization and cleanup of
 
5140
  the lp: transport lookup.  (Aaron Bentley)
 
5141
 
 
5142
* Merge directives that are automatically attached to emails have nicer
 
5143
  filenames, based on branch-nick + revno. (Aaron Bentley)
 
5144
 
 
5145
* ``push`` has a ``--revision`` option, to specify what revision to push up
 
5146
  to.  (Daniel Watkins)
 
5147
 
 
5148
* Significantly reducing execution time and network traffic for trivial
 
5149
  case of running ``bzr missing`` command for two identical branches.
 
5150
  (Alexander Belchenko)
 
5151
 
 
5152
* Speed up operations that look at the revision graph (such as 'bzr log').
 
5153
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
5154
  extract the revision history. This allows filtering ghosts while
 
5155
  stepping instead of needing to peek ahead. (John Arbash Meinel)
 
5156
 
 
5157
* The ``hooks`` command lists installed hooks, to assist in debugging.
 
5158
  (Daniel Watkins)
 
5159
 
 
5160
* Updates to how ``annotate`` work. Should see a measurable improvement in
 
5161
  performance and memory consumption for file with a lot of merges.
 
5162
  Also, correctly handle when a line is introduced by both parents (it
 
5163
  should be attributed to the first merge which notices this, and not
 
5164
  to all subsequent merges.) (John Arbash Meinel)
 
5165
 
 
5166
Bugfixes
 
5167
********
 
5168
 
 
5169
* Autopacking no longer holds the full set of inventory lines in
 
5170
  memory while copying. For large repositories, this can amount to
 
5171
  hundreds of MB of ram consumption.
 
5172
  (Ian Clatworthy, John Arbash Meinel)
 
5173
 
 
5174
* Cherrypicking when using ``--format=merge3`` now explictly excludes
 
5175
  BASE lines. (John Arbash Meinel, #151731)
 
5176
 
 
5177
* Disable plink's interactive prompt for password.
 
5178
  (#107593, Dmitry Vasiliev)
 
5179
 
 
5180
* Encode command line arguments from unicode to user_encoding before
 
5181
  invoking external mail client in `bzr send` command.
 
5182
  (#139318, Alexander Belchenko)
 
5183
 
 
5184
* Fixed problem connecting to ``bzr+https://`` servers.
 
5185
  (#198793, John Ferlito)
 
5186
 
 
5187
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
5188
  #196618)
 
5189
 
 
5190
* Include quick-start-summary.svg file to python-based installer(s)
 
5191
  for Windows. (#192924, Alexander Belchenko)
 
5192
 
 
5193
* lca merge now respects specified files. (Aaron Bentley)
 
5194
 
 
5195
* Make version-info --custom imply --all. (#195560, James Westby)
 
5196
 
 
5197
* ``merge --preview`` now works for merges that add or modify
 
5198
  symlinks (James Henstridge)
 
5199
 
 
5200
* Redirecting the output from ``bzr merge`` (when the remembered
 
5201
  location is used) now works. (John Arbash Meinel)
 
5202
 
 
5203
* setup.py script explicitly checks for Python version.
 
5204
  (Jari Aalto, Alexander Belchenko, #200569)
 
5205
 
 
5206
* UnknownFormatErrors no longer refer to branches regardless of kind of
 
5207
  unknown format. (Daniel Watkins, #173980)
 
5208
 
 
5209
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
5210
  signs, among other small improvements. (Matt Nordhoff, #86838)
 
5211
 
 
5212
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
5213
  errors.  (Aaron Bentley, #196780)
 
5214
 
 
5215
Documentation
 
5216
*************
 
5217
 
 
5218
* Explained how to use ``version-info --custom`` in the User Guide.
 
5219
  (Neil Martinsen-Burrell)
 
5220
 
 
5221
API Breaks
 
5222
**********
 
5223
 
 
5224
* Support for loading plugins from zip files and
 
5225
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
5226
  (Alexander Belchenko)
 
5227
 
 
5228
Testing
 
5229
*******
 
5230
 
 
5231
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
 
5232
 
 
5233
* The branch interface tests were invalid for branches using rich-root
 
5234
  repositories because the empty string is not a valid file-id.
 
5235
  (Robert Collins)
 
5236
 
 
5237
Internals
 
5238
*********
 
5239
 
 
5240
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
5241
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
5242
  stop part-way through. (John Arbash Meinel)
 
5243
 
 
5244
* New module ``tools/package_mf.py`` provide custom module finder for
 
5245
  python packages (improves standard python library's modulefinder.py)
 
5246
  used by ``setup.py`` script while building standalone bzr.exe.
 
5247
  (Alexander Belchenko)
 
5248
 
 
5249
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
5250
  detecting external lookup support on remote repositories. This method is
 
5251
  now attempted first when lookup up repositories, leading to an extra
 
5252
  round trip on older bzr smart servers. (Robert Collins)
 
5253
 
 
5254
* Repository formats have a new supported-feature attribute
 
5255
  ``supports_external_lookups`` used to indicate repositories which support
 
5256
  falling back to other repositories when they have partial data.
 
5257
  (Robert Collins)
 
5258
 
 
5259
* ``Repository.get_revision_graph_with_ghosts`` and
 
5260
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
5261
  have been deprecated.  (John Arbash Meinel)
 
5262
 
 
5263
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
5264
  ``Tree._iter_changes``. The api is now considered stable and ready for
 
5265
  external users.  (Aaron Bentley)
 
5266
 
 
5267
* The bzrdir format registry now accepts an ``alias`` keyword to
 
5268
  register_metadir, used to indicate that a format name is an alias for
 
5269
  some other format and thus should not be reported when describing the
 
5270
  format. (Robert Collins)
 
5271
 
 
5272
 
 
5273
bzr 1.2
 
5274
#######
 
5275
 
 
5276
:Released: 2008-02-15
 
5277
 
 
5278
Bug Fixes
 
5279
*********
 
5280
 
 
5281
* Fix failing test in Launchpad plugin. (Martin Pool)
 
5282
 
 
5283
 
 
5284
bzr 1.2rc1
 
5285
##########
 
5286
 
 
5287
:Released: 2008-02-13
 
5288
 
 
5289
Notes When Upgrading
 
5290
********************
 
5291
 
 
5292
* Fetching via the smart protocol may need to reconnect once during a fetch
 
5293
  if the remote server is running Bazaar 1.1 or earlier, because the client
 
5294
  attempts to use more efficient requests that confuse older servers.  You
 
5295
  may be required to re-enter a password or passphrase when this happens.
 
5296
  This won't happen if the server is upgraded to Bazaar 1.2.
 
5297
  (Andrew Bennetts)
 
5298
 
 
5299
Changes
 
5300
*******
 
5301
 
 
5302
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
5303
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
5304
 
 
5305
* Formatting of ``bzr plugins`` output is changed to be more human-
 
5306
  friendly. Full path of plugins locations will be shown only with
 
5307
  ``--verbose`` command-line option. (Alexander Belchenko)
 
5308
 
 
5309
* ``merge`` now prefers to use the submit branch, but will fall back to
 
5310
  parent branch.  For many users, this has no effect.  But some users who
 
5311
  pull and merge on the same branch will notice a change.  This change
 
5312
  makes it easier to work on a branch on two different machines, pulling
 
5313
  between the machines, while merging from the upstream.
 
5314
  ``merge --remember`` can now be used to set the submit_branch.
 
5315
  (Aaron Bentley)
 
5316
 
 
5317
Features
 
5318
********
 
5319
 
 
5320
* ``merge --preview`` produces a diff of the changes merge would make,
 
5321
  but does not actually perform the merge.  (Aaron Bentley)
 
5322
 
 
5323
* New smart method ``Repository.get_parent_map`` for getting revision
 
5324
  parent data. This returns additional parent information topologically
 
5325
  adjacent to the requested data to reduce round trip latency impacts.
 
5326
  (Robert Collins)
 
5327
 
 
5328
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
5329
  revision data that streams revision data via a chunked encoding.  This
 
5330
  avoids buffering large amounts of revision data on the server and on the
 
5331
  client, and sends less data to the server to request the revisions.
 
5332
  (Andrew Bennetts, Robert Collins, #178353)
 
5333
 
 
5334
* The launchpad plugin now handles lp urls of the form
 
5335
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
5336
  launchpad instance to do the resolution of the branch identities.
 
5337
  This is primarily of use to Launchpad developers, but can also
 
5338
  be used by other users who want to try out Launchpad as
 
5339
  a branch location without messing up their public Launchpad
 
5340
  account.  Branches that are pushed to the staging environment
 
5341
  have an expected lifetime of one day. (Tim Penhey)
 
5342
 
 
5343
Improvements
 
5344
************
 
5345
 
 
5346
* Creating a new branch no longer tries to read the entire revision-history
 
5347
  unnecessarily over smart server operations. (Robert Collins)
 
5348
 
 
5349
* Fetching between different repository formats with compatible models now
 
5350
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
5351
 
 
5352
* The ``--coverage`` option is now global, rather specific to ``bzr
 
5353
  selftest``.  (Andrew Bennetts)
 
5354
 
 
5355
* The ``register-branch`` command will now use the public url of the branch
 
5356
  containing the current directory, if one has been set and no explicit
 
5357
  branch is provided.  (Robert Collins)
 
5358
 
 
5359
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
5360
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
5361
  (John Arbash Meinel)
 
5362
 
 
5363
Bugfixes
 
5364
********
 
5365
 
 
5366
* Calculate remote path relative to the shared medium in _SmartClient.  This
 
5367
  is related to the problem in bug #124089.  (Andrew Bennetts)
 
5368
 
 
5369
* Cleanly handle connection errors in smart protocol version two, the same
 
5370
  way as they are handled by version one.  (Andrew Bennetts)
 
5371
 
 
5372
* Clearer error when ``version-info --custom`` is used without
 
5373
  ``--template`` (Lukáš Lalinský)
 
5374
 
 
5375
* Don't raise UnavailableFeature during test setup when medusa is not
 
5376
  available or tearDown is never called leading to nasty side effects.
 
5377
  (#137823, Vincent Ladeuil)
 
5378
 
 
5379
* If a plugin's test suite cannot be loaded, for example because of a syntax
 
5380
  error in the tests, then ``selftest`` fails, rather than just printing
 
5381
  a warning.  (Martin Pool, #189771)
 
5382
 
 
5383
* List possible values for BZR_SSH environment variable in env-variables
 
5384
  help topic. (Alexander Belchenko, #181842)
 
5385
 
 
5386
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
5387
  popping the log redirection now precisely restores the previous state,
 
5388
  which makes it easier to use bzr log output from other programs.
 
5389
  TestCaseInTempDir no longer depends on a log redirection being established
 
5390
  by the test framework, which lets bzr tests cleanly run from a normal
 
5391
  unittest runner.
 
5392
  (#124153, #124849, Martin Pool, Jonathan Lange)
 
5393
 
 
5394
* ``pull --quiet`` is now more quiet, in particular a message is no longer
 
5395
  printed when the remembered pull location is used. (James Westby,
 
5396
  #185907)
 
5397
 
 
5398
* ``reconfigure`` can safely be interrupted while fetching.
 
5399
  (Aaron Bentley, #179316)
 
5400
 
 
5401
* ``reconfigure`` preserves tags when converting to and from lightweight
 
5402
  checkouts.  (Aaron Bentley, #182040)
 
5403
 
 
5404
* Stop polluting /tmp when running selftest.
 
5405
  (Vincent Ladeuil, #123623)
 
5406
 
 
5407
* Switch from NFKC => NFC for normalization checks. NFC allows a few
 
5408
  more characters which should be considered valid.
 
5409
  (John Arbash Meinel, #185458)
 
5410
 
 
5411
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
5412
  interacting badly with a bug on the launchpad side. (Robert Collins)
 
5413
 
 
5414
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
5415
  tracebacks.  (Andrew Bennetts, #182849)
 
5416
 
 
5417
API Breaks
 
5418
**********
 
5419
 
 
5420
* Classes implementing Merge types like Merge3Merger must now accept (and
 
5421
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
5422
 
 
5423
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
5424
  to previously take a write lock (and start a write group.)
 
5425
  (Martin Pool)
 
5426
 
 
5427
Testing
 
5428
*******
 
5429
 
 
5430
* selftest now accepts --load-list <file> to load a test id list. This
 
5431
  speeds up running the test suite on a limited set of tests.
 
5432
  (Vincent Ladeuil)
 
5433
 
 
5434
Internals
 
5435
*********
 
5436
 
 
5437
* Add a new method ``get_result`` to graph search objects. The resulting
 
5438
  ``SearchResult`` can be used to recreate the search later, which will
 
5439
  be useful in reducing network traffic. (Robert Collins)
 
5440
 
 
5441
* Use convenience function to check whether two repository handles
 
5442
  are referring to the same repository in ``Repository.get_graph``.
 
5443
  (Jelmer Vernooij, #187162)
 
5444
 
 
5445
* Fetching now passes the find_ghosts flag through to the
 
5446
  ``InterRepository.missing_revision_ids`` call consistently for all
 
5447
  repository types. This will enable faster missing revision discovery with
 
5448
  bzr+ssh. (Robert Collins)
 
5449
 
 
5450
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
5451
 
 
5452
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
5453
  ``InterRepository.search_missing_revision_ids`` which returns a
 
5454
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
5455
  server. (Robert Collins)
 
5456
 
 
5457
* New error ``NoPublicBranch`` for commands that need a public branch to
 
5458
  operate. (Robert Collins)
 
5459
 
 
5460
* New method ``iter_inventories`` on Repository for access to many
 
5461
  inventories. This is primarily used by the ``revision_trees`` method, as
 
5462
  direct access to inventories is discouraged. (Robert Collins)
 
5463
 
 
5464
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
5465
  which will split out ghosts and present parents into two separate sets,
 
5466
  useful for code which needs to be aware of ghosts (e.g. fetching data
 
5467
  cares about ghosts during revision selection). (Robert Collins)
 
5468
 
 
5469
* Record a timestamp against each mutter to the trace file, relative to the
 
5470
  first import of bzrlib.  (Andrew Bennetts)
 
5471
 
 
5472
* ``Repository.get_data_stream`` is now deprecated in favour of
 
5473
  ``Repository.get_data_stream_for_search`` which allows less network
 
5474
  traffic when requesting data streams over a smart server. (Robert Collins)
 
5475
 
 
5476
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
5477
  removing one round trip on many network operations. (Robert Collins)
 
5478
 
 
5479
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
5480
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
5481
 
 
5482
* Repository has a new method ``has_revisions`` which signals the presence
 
5483
  of many revisions by returning a set of the revisions listed which are
 
5484
  present. This can be done by index queries without reading data for parent
 
5485
  revision names etc. (Robert Collins)
 
5486
 
 
5487
 
 
5488
bzr 1.1
 
5489
#######
 
5490
 
 
5491
:Released: 2008-01-15
 
5492
 
 
5493
(no changes from 1.1rc1)
 
5494
 
 
5495
bzr 1.1rc1
 
5496
##########
 
5497
 
 
5498
:Released: 2008-01-05
 
5499
 
 
5500
Changes
 
5501
*******
 
5502
 
 
5503
* Dotted revision numbers have been revised. Instead of growing longer with
 
5504
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
5505
  we now report 1.2.1.) This helps scale long lived branches which have many
 
5506
  feature branches merged between them. (John Arbash Meinel)
 
5507
 
 
5508
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
5509
  Use ``bzr diff branch1 --new branch2`` instead. This change has
 
5510
  been made to remove the ambiguity where ``branch2`` is in fact a
 
5511
  specific file to diff within ``branch1``.
 
5512
 
 
5513
Features
 
5514
********
 
5515
 
 
5516
* New option to use custom template-based formats in  ``bzr version-info``.
 
5517
  (Lukáš Lalinský)
 
5518
 
 
5519
* diff '--using' allows an external diff tool to be used for files.
 
5520
  (Aaron Bentley)
 
5521
 
 
5522
* New "lca" merge-type for fast everyday merging that also supports
 
5523
  criss-cross merges.  (Aaron Bentley)
 
5524
 
 
5525
Improvements
 
5526
************
 
5527
 
 
5528
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
5529
  #90049)
 
5530
 
 
5531
* ``branch`` and ``checkout`` can now use files from a working tree to
 
5532
  to speed up the process.  For checkout, this requires the new
 
5533
  --files-from flag.  (Aaron Bentley)
 
5534
 
 
5535
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
5536
 
 
5537
* ``bzr diff`` now works on branches without working trees. Tree-less
 
5538
  branches can also be compared to each other and to working trees using
 
5539
  the new diff options ``--old`` and ``--new``. Diffing between branches,
 
5540
  with or without trees, now supports specific file filtering as well.
 
5541
  (Ian Clatworthy, #6700)
 
5542
 
 
5543
* ``bzr pack`` now orders revision texts in topological order, with newest
 
5544
  at the start of the file, promoting linear reads for ``bzr log`` and the
 
5545
  like. This partially fixes #154129. (Robert Collins)
 
5546
 
 
5547
* Merge directives now fetch prerequisites from the target branch if
 
5548
  needed.  (Aaron Bentley)
 
5549
 
 
5550
* pycurl now handles digest authentication.
 
5551
  (Vincent Ladeuil)
 
5552
 
 
5553
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
5554
 
 
5555
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
5556
 
 
5557
* ``merge`` now warns when merge directives cause cherrypicks.
 
5558
  (Aaron Bentley)
 
5559
 
 
5560
* ``split`` now supported, to enable splitting large trees into smaller
 
5561
  pieces.  (Aaron Bentley)
 
5562
 
 
5563
Bugfixes
 
5564
********
 
5565
 
 
5566
* Avoid AttributeError when unlocking a pack repository when an error occurs.
 
5567
  (Martin Pool, #180208)
 
5568
 
 
5569
* Better handle short reads when processing multiple range requests.
 
5570
  (Vincent Ladeuil, #179368)
 
5571
 
 
5572
* build_tree acceleration uses the correct path when a file has been moved.
 
5573
  (Aaron Bentley)
 
5574
 
 
5575
* ``commit`` now succeeds when a checkout and its master branch share a
 
5576
  repository.  (Aaron Bentley, #177592)
 
5577
 
 
5578
* Fixed error reporting of unsupported timezone format in
 
5579
  ``log --timezone``. (Lukáš Lalinský, #178722)
 
5580
 
 
5581
* Fixed Unicode encoding error in ``ignored`` when the output is
 
5582
  redirected to a pipe. (Lukáš Lalinský)
 
5583
 
 
5584
* Fix traceback when sending large response bodies over the smart protocol
 
5585
  on Windows. (Andrew Bennetts, #115781)
 
5586
 
 
5587
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
5588
  pointed to different logical drives on Windows.
 
5589
  (Alexander Belchenko, #90847)
 
5590
 
 
5591
* HTTP test servers are now compatible with the http protocol version 1.1.
 
5592
  (Vincent Ladeuil, #175524)
 
5593
 
 
5594
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
5595
  correctly, instead of erroring or attributing incorrect parents to ghosts.
 
5596
  (Aaron Bentley)
 
5597
 
 
5598
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
5599
 
 
5600
* pycurl authentication handling was broken and incomplete. Fix handling of
 
5601
  user:pass embedded in the urls.
 
5602
  (Vincent Ladeuil, #177643)
 
5603
 
 
5604
* Files inside non-directories are now handled like other conflict types.
 
5605
  (Aaron Bentley, #177390)
 
5606
 
 
5607
* ``reconfigure`` is able to convert trees into lightweight checkouts.
 
5608
  (Aaron Bentley)
 
5609
 
 
5610
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
5611
  #148087)
 
5612
 
 
5613
* Test that the old ``version_info_format`` functions still work, even
 
5614
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
5615
 
 
5616
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
5617
  #137681)
 
5618
 
 
5619
* ``uncommit`` works even when the commit messages of revisions to be
 
5620
  removed use characters not supported in the terminal encoding.
 
5621
  (Aaron Bentley)
 
5622
 
 
5623
* When dumb http servers return whole files instead of the requested ranges,
 
5624
  read the remaining bytes by chunks to avoid overflowing network buffers.
 
5625
  (Vincent Ladeuil, #175886)
 
5626
 
 
5627
Documentation
 
5628
*************
 
5629
 
 
5630
* Minor tweaks made to the bug tracker integration documentation.
 
5631
  (Ian Clatworthy)
 
5632
 
 
5633
* Reference material has now be moved out of the User Guide and added
 
5634
  to the User Reference. The User Reference has gained 4 sections as
 
5635
  a result: Authenication Settings, Configuration Settings, Conflicts
 
5636
  and Hooks. All help topics are now dumped into text format in the
 
5637
  doc/en/user-reference directory for those who like browsing that
 
5638
  information in their editor. (Ian Clatworthy)
 
5639
 
 
5640
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
5641
 
 
5642
Internals
 
5643
*********
 
5644
 
 
5645
* find_* methods available for BzrDirs, Branches and WorkingTrees.
 
5646
  (Aaron Bentley)
 
5647
 
 
5648
* Help topics can now be loaded from files.
 
5649
  (Ian Clatworthy, Alexander Belchenko)
 
5650
 
 
5651
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
5652
 
 
5653
* Parent Providers should now implement ``get_parent_map`` returning a
 
5654
  dictionary instead of ``get_parents`` returning a list.
 
5655
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
5656
  Robert Collins)
 
5657
 
 
5658
* Patience Diff now supports arbitrary python objects, as long as they
 
5659
  support ``hash()``. (John Arbash Meinel)
 
5660
 
 
5661
* Reduce selftest overhead to establish test names by memoization.
 
5662
  (Vincent Ladeuil)
 
5663
 
 
5664
API Breaks
 
5665
**********
 
5666
 
 
5667
Testing
 
5668
*******
 
5669
 
 
5670
* Modules can now customise their tests by defining a ``load_tests``
 
5671
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
5672
  for the documentation on this attribute. (Robert Collins)
 
5673
 
 
5674
* New helper function ``bzrlib.tests.condition_id_re`` which helps
 
5675
  filter tests based on a regular expression search on the tests id.
 
5676
  (Robert Collins)
 
5677
 
 
5678
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
5679
  filter tests based on class. (Robert Collins)
 
5680
 
 
5681
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
5682
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
5683
 
 
5684
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
5685
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
5686
 
 
5687
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
5688
  TestSuite that does not contain tests from the input that matched a
 
5689
  regular expression. (Robert Collins)
 
5690
 
 
5691
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
5692
  randomized copy of the input suite. (Robert Collins)
 
5693
 
 
5694
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
5695
  suite into two according to a regular expression. (Robert Collins)
 
5696
 
 
5697
* Parametrize all http tests for the transport implementations, the http
 
5698
  protocol versions (1.0 and 1.1) and the authentication schemes.
 
5699
  (Vincent Ladeuil)
 
5700
 
 
5701
* The ``exclude_pattern`` and ``random_order`` parameters to the function
 
5702
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
5703
 
 
5704
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
 
5705
  replaced by the new helper methods added in this release. (Robert Collins)
 
5706
 
 
5707
 
 
5708
bzr 1.0
 
5709
#######
 
5710
 
 
5711
:Released: 2007-12-14
 
5712
 
 
5713
Documentation
 
5714
*************
 
5715
 
 
5716
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
5717
 
 
5718
* Add information on cherrypicking/rebasing to the User Guide.
 
5719
  (Ian Clatworthy)
 
5720
 
 
5721
* Improve bug tracker integration documentation. (Ian Clatworthy)
 
5722
 
 
5723
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
5724
  to the rebasing section of the User Guide from Aaron Bentley.
 
5725
  (Ian Clatworthy)
 
5726
 
 
5727
 
 
5728
bzr 1.0rc3
 
5729
##########
 
5730
 
 
5731
:Released: 2007-12-11
 
5732
 
 
5733
Changes
 
5734
*******
 
5735
 
 
5736
* If a traceback occurs, users are now asked to report the bug
 
5737
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
 
5738
  by mail to the mailing list.
 
5739
  (Martin Pool)
 
5740
 
 
5741
Bugfixes
 
5742
********
 
5743
 
 
5744
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
5745
 
 
5746
* Give more feedback during long http downloads by making readv deliver data
 
5747
  as it arrives for urllib, and issue more requests for pycurl. High latency
 
5748
  networks are better handled by urllib, the pycurl implementation give more
 
5749
  feedback but also incur more latency.
 
5750
  (Vincent Ladeuil, #173010)
 
5751
 
 
5752
* Implement _make_parents_provider on RemoteRepository, allowing generating
 
5753
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
5754
 
 
5755
Documentation
 
5756
*************
 
5757
 
 
5758
* Improved user guide.  (Ian Clatworthy)
 
5759
 
 
5760
* The single-page quick reference guide is now available as a PDF.
 
5761
  (Ian Clatworthy)
 
5762
 
 
5763
Internals
 
5764
*********
 
5765
 
 
5766
* readv urllib http implementation is now a real iterator above the
 
5767
  underlying socket and deliver data as soon as it arrives. 'get' still
 
5768
  wraps its output in a StringIO.
 
5769
  (Vincent Ladeuil)
 
5770
 
 
5771
 
 
5772
bzr 1.0rc2
 
5773
##########
 
5774
 
 
5775
:Released: 2007-12-07
 
5776
 
 
5777
Improvements
 
5778
************
 
5779
 
 
5780
* Added a --coverage option to selftest. (Andrew Bennetts)
 
5781
 
 
5782
* Annotate merge (merge-type=weave) now supports cherrypicking.
 
5783
  (Aaron Bentley)
 
5784
 
 
5785
* ``bzr commit`` now doesn't print the revision number twice. (Matt
 
5786
  Nordhoff, #172612)
 
5787
 
 
5788
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
5789
  define locations of bug trackers that are not directly supported by
 
5790
  bzr or a plugin. The URL will be treated as a template and ``{id}``
 
5791
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
5792
 
 
5793
* Support logging single merge revisions with short and line log formatters.
 
5794
  (Kent Gibson)
 
5795
 
 
5796
* User Guide enhanced with suggested readability improvements from
 
5797
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
5798
 
 
5799
* Quick Start Guide renamed to Quick Start Card, moved down in
 
5800
  the catalog, provided in pdf and png format and updated to refer
 
5801
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
5802
 
 
5803
* ``switch`` can now be used on heavyweight checkouts as well as
 
5804
  lightweight ones. After switching a heavyweight checkout, the
 
5805
  local branch is a mirror/cache of the new bound branch and
 
5806
  uncommitted changes in the working tree are merged. As a safety
 
5807
  check, if there are local commits in a checkout which have not
 
5808
  been committed to the previously bound branch, then ``switch``
 
5809
  fails unless the ``--force`` option is given. This option is
 
5810
  now also required if the branch a lightweight checkout is pointing
 
5811
  to has been moved. (Ian Clatworthy)
 
5812
 
 
5813
Internals
 
5814
*********
 
5815
 
 
5816
* New -Dhttp debug option reports http connections, requests and responses.
 
5817
  (Vincent Ladeuil)
 
5818
 
 
5819
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
5820
 
 
5821
Bugfixes
 
5822
********
 
5823
 
 
5824
* Better error message when running ``bzr cat`` on a non-existant branch.
 
5825
  (Lukáš Lalinský, #133782)
 
5826
 
 
5827
* Catch OSError 17 (file exists) in final phase of tree transform and show
 
5828
  filename to user.
 
5829
  (Alexander Belchenko, #111758)
 
5830
 
 
5831
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
5832
  allowing multiple GET requests to be issued if too many ranges are
 
5833
  required.
 
5834
  (Vincent Ladeuil, #172701)
 
5835
 
 
5836
* Check for missing basis texts when fetching from packs to packs.
 
5837
  (John Arbash Meinel, #165290)
 
5838
 
 
5839
* Fall back to showing e-mail in ``log --short/--line`` if the
 
5840
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
5841
 
 
5842
API Breaks
 
5843
**********
 
5844
 
 
5845
* Deprecate not passing a ``location`` argument to commit reporters'
 
5846
  ``started`` methods. (Matt Nordhoff)
 
5847
 
 
5848
 
 
5849
bzr 1.0rc1
 
5850
##########
 
5851
 
 
5852
:Released: 2007-11-30
 
5853
 
 
5854
Notes When Upgrading
 
5855
********************
 
5856
 
 
5857
* The default repository format is now ``pack-0.92``.  This
 
5858
  default is used when creating new repositories with ``init`` and
 
5859
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
 
5860
  (See https://bugs.launchpad.net/bugs/164626)
 
5861
 
 
5862
  This format can be read and written by Bazaar 0.92 and later, and
 
5863
  data can be transferred to and from older formats.
 
5864
 
 
5865
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
5866
  upgrade (``bzr upgrade``).
 
5867
 
 
5868
  ``pack-0.92`` offers substantially better scaling and performance than the
 
5869
  previous knits format. Some operations are slower where the code already
 
5870
  had bad scaling characteristics under knits, the pack format makes such
 
5871
  operations more visible as part of being more scalable overall. We will
 
5872
  correct such operations over the coming releases and encourage the filing
 
5873
  of bugs on any operation which you observe to be slower in a packs
 
5874
  repository. One particular case that we do not intend to fix is pulling
 
5875
  data from a pack repository into a knit repository over a high latency
 
5876
  link;  downgrading such data requires reinsertion of the file texts, and
 
5877
  this is a classic space/time tradeoff. The current implementation is
 
5878
  conservative on memory usage because we need to support converting data
 
5879
  from any tree without problems.
 
5880
  (Robert Collins, Martin Pool, #164476)
 
5881
 
 
5882
Changes
 
5883
*******
 
5884
 
 
5885
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
5886
  still available if user selects it explicitly with BZR_SSH environment
 
5887
  variable. (Alexander Belchenko, workaround for bug #107593)
 
5888
 
 
5889
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
 
5890
  to enable the subtree functions (for example, for bzr-svn).
 
5891
  (Martin Pool)
 
5892
 
 
5893
Features
 
5894
********
 
5895
 
 
5896
* New ``authentication.conf`` file holding the password or other credentials
 
5897
  for remote servers. This can be used for ssh, sftp, smtp and other
 
5898
  supported transports.
 
5899
  (Vincent Ladeuil)
 
5900
 
 
5901
* New rich-root and rich-root-pack formats, recording the same data about
 
5902
  tree roots that's recorded for all other directories.
 
5903
  (Aaron Bentley, #164639)
 
5904
 
 
5905
* ``pack-0.92`` repositories can now be reconciled.
 
5906
  (Robert Collins, #154173)
 
5907
 
 
5908
* ``switch`` command added for changing the branch a lightweight checkout
 
5909
  is associated with and updating the tree to reflect the latest content
 
5910
  accordingly. This command was previously part of the BzrTools plug-in.
 
5911
  (Ian Clatworthy, Aaron Bentley, David Allouche)
 
5912
 
 
5913
* ``reconfigure`` command can now convert branches, trees, or checkouts to
 
5914
  lightweight checkouts.  (Aaron Bentley)
 
5915
 
 
5916
Performance
 
5917
***********
 
5918
 
 
5919
* Commit updates the state of the working tree via a delta rather than
 
5920
  supplying entirely new basis trees. For commit of a single specified file
 
5921
  this reduces the wall clock time for commit by roughly a 30%.
 
5922
  (Robert Collins, Martin Pool)
 
5923
 
 
5924
* Commit with many automatically found deleted paths no longer performs
 
5925
  linear scanning for the children of those paths during inventory
 
5926
  iteration. This should fix commit performance blowing out when many such
 
5927
  paths occur during commit. (Robert Collins, #156491)
 
5928
 
 
5929
* Fetch with pack repositories will no longer read the entire history graph.
 
5930
  (Robert Collins, #88319)
 
5931
 
 
5932
* Revert takes out an appropriate lock when reverting to a basis tree, and
 
5933
  does not read the basis inventory twice. (Robert Collins)
 
5934
 
 
5935
* Diff does not require an inventory to be generated on dirstate trees.
 
5936
  (Aaron Bentley, #149254)
 
5937
 
 
5938
* New annotate merge (--merge-type=weave) implementation is fast on
 
5939
  versionedfiles withough cached annotations, e.g. pack-0.92.
 
5940
  (Aaron Bentley)
 
5941
 
 
5942
Improvements
 
5943
************
 
5944
 
 
5945
* ``bzr merge`` now warns when it encounters a criss-cross merge.
 
5946
  (Aaron Bentley)
 
5947
 
 
5948
* ``bzr send`` now doesn't require the target e-mail address to be
 
5949
  specified on the command line if an interactive e-mail client is used.
 
5950
  (Lukáš Lalinský)
 
5951
 
 
5952
* ``bzr tags`` now prints the revision number for each tag, instead of
 
5953
  the revision id, unless --show-ids is passed. In addition, tags can be
 
5954
  sorted chronologically instead of lexicographically with --sort=time.
 
5955
  (Adeodato Simó, #120231)
 
5956
 
 
5957
* Windows standalone version of bzr is able to load system-wide plugins from
 
5958
  "plugins" subdirectory in installation directory. In addition standalone
 
5959
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
 
5960
  about paths and bzr version. (Alexander Belchenko, #129298)
 
5961
 
 
5962
Documentation
 
5963
*************
 
5964
 
 
5965
Bug Fixes
 
5966
*********
 
5967
 
 
5968
* A progress bar has been added for knitpack -> knitpack fetching.
 
5969
  (Robert Collins, #157789, #159147)
 
5970
 
 
5971
* Branching from a branch via smart server now preserves the repository
 
5972
  format. (Andrew Bennetts,  #164626)
 
5973
 
 
5974
* ``commit`` is now able to invoke an external editor in a non-ascii
 
5975
  directory. (Daniel Watkins, #84043)
 
5976
 
 
5977
* Catch connection errors for ftp.
 
5978
  (Vincent Ladeuil, #164567)
 
5979
 
 
5980
* ``check`` no longer reports spurious unreferenced text versions.
 
5981
  (Robert Collins, John A Meinel, #162931, #165071)
 
5982
 
 
5983
* Conflicts are now resolved recursively by ``revert``.
 
5984
  (Aaron Bentley, #102739)
 
5985
 
 
5986
* Detect invalid transport reuse attempts by catching invalid URLs.
 
5987
  (Vincent Ladeuil, #161819)
 
5988
 
 
5989
* Deleting a file without removing it shows a correct diff, not a traceback.
 
5990
  (Aaron Bentley)
 
5991
 
 
5992
* Do no use timeout in HttpServer anymore.
 
5993
  (Vincent Ladeuil, #158972).
 
5994
 
 
5995
* Don't catch the exceptions related to the http pipeline status before
 
5996
  retrying an http request or some programming errors may be masked.
 
5997
  (Vincent Ladeuil, #160012)
 
5998
 
 
5999
* Fix ``bzr rm`` to not delete modified and ignored files.
 
6000
  (Lukáš Lalinský, #172598)
 
6001
 
 
6002
* Fix exception when revisionspec contains merge revisons but log
 
6003
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
6004
 
 
6005
* Fix exception when ScopeReplacer is assigned to before any members have
 
6006
  been retrieved.  (Aaron Bentley)
 
6007
 
 
6008
* Fix multiple connections during checkout --lightweight.
 
6009
  (Vincent Ladeuil, #159150)
 
6010
 
 
6011
* Fix possible error in insert_data_stream when copying between
 
6012
  pack repositories over bzr+ssh or bzr+http.
 
6013
  KnitVersionedFile.get_data_stream now makes sure that requested
 
6014
  compression parents are sent before any delta hunks that depend
 
6015
  on them.
 
6016
  (Martin Pool, #164637)
 
6017
 
 
6018
* Fix typo in limiting offsets coalescing for http, leading to
 
6019
  whole files being downloaded instead of parts.
 
6020
  (Vincent Ladeuil, #165061)
 
6021
 
 
6022
* FTP server errors don't error in the error handling code.
 
6023
  (Robert Collins, #161240)
 
6024
 
 
6025
* Give a clearer message when a pull fails because the source needs
 
6026
  to be reconciled.
 
6027
  (Martin Pool, #164443)
 
6028
 
 
6029
* It is clearer when a plugin cannot be loaded because of its name, and a
 
6030
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
6031
 
 
6032
* Leave port as None in transport objects if user doesn't
 
6033
  specify a port in urls.
 
6034
  (vincent Ladeuil, #150860)
 
6035
 
 
6036
* Make sure Repository.fetch(self) is properly a no-op for all
 
6037
  Repository implementations. (John Arbash Meinel, #158333)
 
6038
 
 
6039
* Mark .bzr directories as "hidden" on Windows.
 
6040
  (Alexander Belchenko, #71147)
 
6041
 
 
6042
* ``merge --uncommitted`` can now operate on a single file.
 
6043
  (Aaron Bentley, Lukáš Lalinský, #136890)
 
6044
 
 
6045
* Obsolete packs are now cleaned up by pack and autopack operations.
 
6046
  (Robert Collins, #153789)
 
6047
 
 
6048
* Operations pulling data from a smart server where the underlying
 
6049
  repositories are not both annotated/both unannotated will now work.
 
6050
  (Robert Collins, #165304).
 
6051
 
 
6052
* Reconcile now shows progress bars. (Robert Collins, #159351)
 
6053
 
 
6054
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
6055
  properly. (John Arbash Meinel, #162486)
 
6056
 
 
6057
* Removing an already-removed file reports the file does not exist. (Daniel
 
6058
  Watkins, #152811)
 
6059
 
 
6060
* Rename on Windows is able to change filename case.
 
6061
  (Alexander Belchenko, #77740)
 
6062
 
 
6063
* Return error instead of a traceback for ``bzr log -r0``.
 
6064
  (Kent Gibson, #133751)
 
6065
 
 
6066
* Return error instead of a traceback when bzr is unable to create
 
6067
  symlink on some platforms (e.g. on Windows).
 
6068
  (Alexander Belchenko, workaround for #81689)
 
6069
 
 
6070
* Revert doesn't crash when restoring a single file from a deleted
 
6071
  directory. (Aaron Bentley)
 
6072
 
 
6073
* Stderr output via logging mechanism now goes through encoded wrapper
 
6074
  and no more uses utf-8, but terminal encoding instead. So all unicode
 
6075
  strings now should be readable in non-utf-8 terminal.
 
6076
  (Alexander Belchenko, #54173)
 
6077
 
 
6078
* The error message when ``move --after`` should be used makes how to do so
 
6079
  clearer. (Daniel Watkins, #85237)
 
6080
 
 
6081
* Unicode-safe output from ``bzr info``. The output will be encoded
 
6082
  using the terminal encoding and unrepresentable characters will be
 
6083
  replaced by '?'. (Lukáš Lalinský, #151844)
 
6084
 
 
6085
* Working trees are no longer created when pushing into a local no-trees
 
6086
  repo. (Daniel Watkins, #50582)
 
6087
 
 
6088
* Upgrade util/configobj to version 4.4.0.
 
6089
  (Vincent Ladeuil, #151208).
 
6090
 
 
6091
* Wrap medusa ftp test server as an FTPServer feature.
 
6092
  (Vincent Ladeuil, #157752)
 
6093
 
 
6094
API Breaks
 
6095
**********
 
6096
 
 
6097
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
6098
  during very long time. (Alexander Belchenko)
 
6099
 
 
6100
* The return value of
 
6101
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
6102
  changed. Previously it was an iterator of lines, now it is an iterator of
 
6103
  (line, version_id) tuples. This change has been made to aid reconcile and
 
6104
  fetch operations. (Robert Collins)
 
6105
 
 
6106
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
6107
  (Robert Collins)
 
6108
 
 
6109
* The Repository format registry default has been removed; it was previously
 
6110
  obsoleted by the bzrdir format default, which implies a default repository
 
6111
  format.
 
6112
  (Martin Pool)
 
6113
 
 
6114
Internals
 
6115
*********
 
6116
 
 
6117
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
6118
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
6119
  and parsing containers from streams rather than from files.  (Andrew
 
6120
  Bennetts)
 
6121
 
 
6122
* New module ``lru_cache`` providing a cache for use by tasks that need
 
6123
  semi-random access to large amounts of data. (John A Meinel)
 
6124
 
 
6125
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
6126
 
 
6127
 
 
6128
bzr 0.92
 
6129
########
 
6130
 
 
6131
:Released: 2007-11-05
 
6132
 
 
6133
Changes
 
6134
*******
 
6135
 
 
6136
  * New uninstaller on Win32.  (Alexander Belchenko)
 
6137
 
 
6138
 
 
6139
bzr 0.92rc1
 
6140
###########
 
6141
 
 
6142
:Released: 2007-10-29
 
6143
 
 
6144
Changes
 
6145
*******
 
6146
 
 
6147
* ``bzr`` now returns exit code 4 if an internal error occurred, and
 
6148
  3 if a normal error occurred.  (Martin Pool)
 
6149
 
 
6150
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
6151
  repository index errors that occured as a result of the Weave disk format.
 
6152
  Instead the ``reconcile`` command needs to be run to correct those
 
6153
  problems if they exist (and it has been able to fix most such problems
 
6154
  since bzr 0.8). Some new problems have been identified during this release
 
6155
  and you should run ``bzr check`` once on every repository to see if you
 
6156
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
6157
  repository due to mismatched parent errors - a symptom of index errors -
 
6158
  you should simply take a full copy of that remote repository to a clean
 
6159
  directory outside any local repositories, then run reconcile on it, and
 
6160
  finally pull from it locally. (And naturally email the repositories owner
 
6161
  to ask them to upgrade and run reconcile).
 
6162
  (Robert Collins)
 
6163
 
 
6164
Features
 
6165
********
 
6166
 
 
6167
* New ``knitpack-experimental`` repository format. This is interoperable with
 
6168
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
6169
  speeds up many operations, both local and remote. This new format can be
 
6170
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
6171
  commands. (Robert Collins)
 
6172
 
 
6173
* For users of bzr-svn (and those testing the prototype subtree support) that
 
6174
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
6175
  been added. This is interoperable with the ``dirstate-subtrees`` format.
 
6176
  (Robert Collins)
 
6177
 
 
6178
* New ``reconfigure`` command. (Aaron Bentley)
 
6179
 
 
6180
* New ``revert --forget-merges`` command, which removes the record of a pending
 
6181
  merge without affecting the working tree contents.  (Martin Pool)
 
6182
 
 
6183
* New ``bzr_remote_path`` configuration variable allows finer control of
 
6184
  remote bzr locations than BZR_REMOTE_PATH environment variable.
 
6185
  (Aaron Bentley)
 
6186
 
 
6187
* New ``launchpad-login`` command to tell Bazaar your Launchpad
 
6188
  user ID.  This can then be used by other functions of the
 
6189
  Launchpad plugin. (James Henstridge)
 
6190
 
 
6191
Performance
 
6192
***********
 
6193
 
 
6194
* Commit in quiet mode is now slightly faster as the information to
 
6195
  output is no longer calculated. (Ian Clatworthy)
 
6196
 
 
6197
* Commit no longer checks for new text keys during insertion when the
 
6198
  revision id was deterministically unique. (Robert Collins)
 
6199
 
 
6200
* Committing a change which is not a merge and does not change the number of
 
6201
  files in the tree is faster by utilising the data about whether files are
 
6202
  changed to determine if the tree is unchanged rather than recalculating
 
6203
  it at the end of the commit process. (Robert Collins)
 
6204
 
 
6205
* Inventory serialisation no longer double-sha's the content.
 
6206
  (Robert Collins)
 
6207
 
 
6208
* Knit text reconstruction now avoids making copies of the lines list for
 
6209
  interim texts when building a single text. The new ``apply_delta`` method
 
6210
  on ``KnitContent`` aids this by allowing modification of the revision id
 
6211
  such objects represent. (Robert Collins)
 
6212
 
 
6213
* Pack indices are now partially parsed for specific key lookup using a
 
6214
  bisection approach. (Robert Collins)
 
6215
 
 
6216
* Partial commits are now approximately 40% faster by walking over the
 
6217
  unselected current tree more efficiently. (Robert Collins)
 
6218
 
 
6219
* XML inventory serialisation takes 20% less time while being stricter about
 
6220
  the contents. (Robert Collins)
 
6221
 
 
6222
* Graph ``heads()`` queries have been fixed to no longer access all history
 
6223
  unnecessarily. (Robert Collins)
 
6224
 
 
6225
Improvements
 
6226
************
 
6227
 
 
6228
* ``bzr+https://`` smart server across https now supported.
 
6229
  (John Ferlito, Martin Pool, #128456)
 
6230
 
 
6231
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
6232
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
6233
 
 
6234
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
 
6235
  changes from one revision. (Alexander Belchenko, #141368)
 
6236
 
 
6237
* Show encodings, locale and list of plugins in the traceback message.
 
6238
  (Martin Pool, #63894)
 
6239
 
 
6240
* Experimental directory formats can now be marked with
 
6241
  ``experimental = True`` during registration. (Ian Clatworthy)
 
6242
 
 
6243
Documentation
 
6244
*************
 
6245
 
 
6246
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
6247
 
 
6248
* The hooks reference documentation is now converted to html as expected.
 
6249
  (Ian Clatworthy)
 
6250
 
 
6251
Bug Fixes
 
6252
*********
 
6253
 
 
6254
* Connection error reporting for the smart server has been fixed to
 
6255
  display a user friendly message instead of a traceback.
 
6256
  (Ian Clatworthy, #115601)
 
6257
 
 
6258
* Make sure to use ``O_BINARY`` when opening files to check their
 
6259
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
6260
 
 
6261
* Fix a problem with Win32 handling of the executable bit.
 
6262
  (John Arbash Meinel, #149113)
 
6263
 
 
6264
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
6265
  no longer assume that means port 22.  This allows people using OpenSSH to
 
6266
  override the default port in their ``~/.ssh/config`` if they wish.  This
 
6267
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
6268
 
 
6269
* Commands reporting exceptions can now be profiled and still have their
 
6270
  data correctly dumped to a file. For example, a ``bzr commit`` with
 
6271
  no changes still reports the operation as pointless but doing so no
 
6272
  longer throws away the profiling data if this command is run with
 
6273
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
6274
 
 
6275
* Fallback to ftp when paramiko is not installed and sftp can't be used for
 
6276
  ``tests/commands`` so that the test suite is still usable without
 
6277
  paramiko.
 
6278
  (Vincent Ladeuil, #59150)
 
6279
 
 
6280
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
6281
 
 
6282
* Fix long standing bug in partial commit when there are renames
 
6283
  left in tree. (Robert Collins, #140419)
 
6284
 
 
6285
* Fix selftest semi-random noise during http related tests.
 
6286
  (Vincent Ladeuil, #140614)
 
6287
 
 
6288
* Fix typo in ftp.py making the reconnection fail on temporary errors.
 
6289
  (Vincent Ladeuil, #154259)
 
6290
 
 
6291
* Fix failing test by comparing real paths to cover the case where the TMPDIR
 
6292
  contains a symbolic link.
 
6293
  (Vincent Ladeuil, #141382).
 
6294
 
 
6295
* Fix log against smart server branches that don't support tags.
 
6296
  (James Westby, #140615)
 
6297
 
 
6298
* Fix pycurl http implementation by defining error codes from
 
6299
  pycurl instead of relying on an old curl definition.
 
6300
  (Vincent Ladeuil, #147530)
 
6301
 
 
6302
* Fix 'unprintable error' message when displaying BzrCheckError and
 
6303
  some other exceptions on Python 2.5.
 
6304
  (Martin Pool, #144633)
 
6305
 
 
6306
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
6307
 
 
6308
* Handles default value for ListOption in cmd_commit.
 
6309
  (Vincent Ladeuil, #140432)
 
6310
 
 
6311
* HttpServer and FtpServer need to be closed properly or a listening socket
 
6312
  will remain opened.
 
6313
  (Vincent Ladeuil, #140055)
 
6314
 
 
6315
* Monitor the .bzr directory created in the top level test
 
6316
  directory to detect leaking tests.
 
6317
  (Vincent Ladeuil, #147986)
 
6318
 
 
6319
* The basename, not the full path, is now used when checking whether
 
6320
  the profiling dump file begins with ``callgrind.out`` or not. This
 
6321
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
6322
 
 
6323
* Trivial fix for invoking command ``reconfigure`` without arguments.
 
6324
  (Rob Weir, #141629)
 
6325
 
 
6326
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
6327
  new path causes bzr to be unable to access the file. (Robert Collins)
 
6328
 
 
6329
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
6330
  Merwe)
 
6331
 
 
6332
API Breaks
 
6333
**********
 
6334
 
 
6335
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
6336
  constructor, for enabling bisection searches. (Robert Collins)
 
6337
 
 
6338
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
6339
  tree be supplied to it, previously failing to do so would trigger a
 
6340
  deprecation warning. (Robert Collins)
 
6341
 
 
6342
* ``KnitVersionedFile.add*`` will no longer cache added records even when
 
6343
  enable_cache() has been called - the caching feature is now exclusively for
 
6344
  reading existing data. (Robert Collins)
 
6345
 
 
6346
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
 
6347
  appropriate.  (Martin Pool)
 
6348
 
 
6349
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
6350
  ``trace+`` transport instead. (Robert Collins)
 
6351
 
 
6352
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
6353
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
6354
  (Martin Pool)
 
6355
 
 
6356
* Removed previous deprecated ``basis_knit`` parameter to the
 
6357
  ``KnitVersionedFile`` constructor. (Robert Collins)
 
6358
 
 
6359
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
 
6360
  class that needs it.
 
6361
  (Martin Pool)
 
6362
 
 
6363
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
6364
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
6365
 
 
6366
* The ``VersionedFile`` interface now allows content checks to be bypassed
 
6367
  by supplying check_content=False.  This saves nearly 30% of the minimum
 
6368
  cost to store a version of a file. (Robert Collins)
 
6369
 
 
6370
* Tree's with bad state such as files with no length or sha will no longer
 
6371
  be silently accepted by the repository XML serialiser. To serialise
 
6372
  inventories without such data, pass working=True to write_inventory.
 
6373
  (Robert Collins)
 
6374
 
 
6375
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
6376
  ``VersionedFile.join`` will no longer accept different parents on either
 
6377
  side of a join - it will either ignore them, or error, depending on the
 
6378
  implementation. See notes when upgrading for more information.
 
6379
  (Robert Collins)
 
6380
 
 
6381
Internals
 
6382
*********
 
6383
 
 
6384
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
6385
  put by the method call, to allow avoiding stat-after-write or
 
6386
  housekeeping in callers. (Robert Collins)
 
6387
 
 
6388
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
6389
  mandatory attributes are present on serialisation and deserialisation.
 
6390
  This fixes some holes in API usage and allows better separation between
 
6391
  physical storage and object serialisation. (Robert Collins)
 
6392
 
 
6393
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
6394
  shorthand for deriving from BzrError and setting internal_error = True.
 
6395
  (Robert Collins)
 
6396
 
 
6397
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
6398
  moving the state of a parent tree to a new version via a delta rather than
 
6399
  a complete replacement tree. (Robert Collins)
 
6400
 
 
6401
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
6402
  duplication from user input, when a user mentions both a path and an item
 
6403
  contained within that path. (Robert Collins)
 
6404
 
 
6405
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
6406
  determining if a repository is write locked. (Robert Collins)
 
6407
 
 
6408
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
6409
  tuple containing the key information about a path for commit processing
 
6410
  to complete. (Robert Collins)
 
6411
 
 
6412
* New method on xml serialisers, write_inventory_to_lines, which matches the
 
6413
  API used by knits for adding content. (Robert Collins)
 
6414
 
 
6415
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
6416
  logic, currently only available for byte-based lookup
 
6417
  (``bisect_multi_bytes``). (Robert Collins)
 
6418
 
 
6419
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
6420
  and returns a gzipped version of the same. This is used to avoid a bunch
 
6421
  of api friction during adding of knit hunks. (Robert Collins)
 
6422
 
 
6423
* New parameter on ``bzrlib.transport.Transport.readv``
 
6424
  ``adjust_for_latency`` which changes readv from returning strictly the
 
6425
  requested data to inserted return larger ranges and in forward read order
 
6426
  to reduce the effect of network latency. (Robert Collins)
 
6427
 
 
6428
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
6429
  causes the parents of a selected id to be returned recursively, so all the
 
6430
  paths from the root down to each element of selected_file_ids are
 
6431
  returned. (Robert Collins)
 
6432
 
 
6433
* Knit joining has been enhanced to support plain to annotated conversion
 
6434
  and annotated to plain conversion. (Ian Clatworthy)
 
6435
 
 
6436
* The CommitBuilder method ``record_entry_contents`` now returns summary
 
6437
  information about the effect of the commit on the repository. This tuple
 
6438
  contains an inventory delta item if the entry changed from the basis, and a
 
6439
  boolean indicating whether a new file graph node was recorded.
 
6440
  (Robert Collins)
 
6441
 
 
6442
* The python path used in the Makefile can now be overridden.
 
6443
  (Andrew Bennetts, Ian Clatworthy)
 
6444
 
 
6445
Testing
 
6446
*******
 
6447
 
 
6448
* New transport implementation ``trace+`` which is useful for testing,
 
6449
  logging activity taken to its _activity attribute. (Robert Collins)
 
6450
 
 
6451
* When running bzr commands within the test suite, internal exceptions are
 
6452
  not caught and reported in the usual way, but rather allowed to propagate
 
6453
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
6454
  makes this behavior available to other users.
 
6455
  (Martin Pool)
 
6456
 
 
6457
* New method ``TestCase.call_catch_warnings`` for testing methods that
 
6458
  raises a Python warning.  (Martin Pool)
 
6459
 
 
6460
 
 
6461
bzr 0.91
 
6462
########
 
6463
 
 
6464
:Released: 2007-09-26
 
6465
 
 
6466
Bug Fixes
 
6467
*********
 
6468
 
 
6469
* Print a warning instead of aborting the ``python setup.py install``
 
6470
  process if building of a C extension is not possible.
 
6471
  (Lukáš Lalinský, Alexander Belchenko)
 
6472
 
 
6473
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
6474
 
 
6475
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
6476
  an implicit port.  We were incorrectly raising PathNotChild due to
 
6477
  inconsistent treatment of the ''_port'' attribute on the Transport object.
 
6478
  (Andrew Bennetts, #133965)
 
6479
 
 
6480
* Make RemoteRepository.sprout cope gracefully with servers that don't
 
6481
  support the ``Repository.tarball`` request.
 
6482
  (Andrew Bennetts)
 
6483
 
 
6484
 
 
6485
bzr 0.91rc2
 
6486
###########
 
6487
 
 
6488
:Released: 2007-09-11
 
6489
 
 
6490
* Replaced incorrect tarball for previous release; a debug statement was left
 
6491
  in bzrlib/remote.py.
 
6492
 
 
6493
 
 
6494
bzr 0.91rc1
 
6495
###########
 
6496
 
 
6497
:Released: 2007-09-11
 
6498
 
 
6499
Changes
 
6500
*******
 
6501
 
 
6502
* The default branch and repository format has changed to
 
6503
  ``dirstate-tags``, so tag commands are active by default.
 
6504
  This format is compatible with Bazaar 0.15 and later.
 
6505
  This incidentally fixes bug #126141.
 
6506
  (Martin Pool)
 
6507
 
 
6508
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
6509
  must now appear after the command name. Scripts doing things like
 
6510
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
6511
  (Ian Clatworthy)
 
6512
 
 
6513
Features
 
6514
********
 
6515
 
 
6516
* New option ``--author`` in ``bzr commit`` to specify the author of the
 
6517
  change, if it's different from the committer. ``bzr log`` and
 
6518
  ``bzr annotate`` display the author instead of the committer.
 
6519
  (Lukáš Lalinský)
 
6520
 
 
6521
* In addition to global options and command specific options, a set of
 
6522
  standard options are now supported. Standard options are legal for
 
6523
  all commands. The initial set of standard options are:
 
6524
 
 
6525
  * ``--help`` or ``-h`` - display help message
 
6526
  * ``--verbose`` or ``-v`` - display additional information
 
6527
  * ``--quiet``  or ``-q`` - only output warnings and errors.
 
6528
 
 
6529
  Unlike global options, standard options can be used in aliases and
 
6530
  may have command-specific help. (Ian Clatworthy)
 
6531
 
 
6532
* Verbosity level processing has now been unified. If ``--verbose``
 
6533
  or ``-v`` is specified on the command line multiple times, the
 
6534
  verbosity level is made positive the first time then increased.
 
6535
  If ``--quiet`` or ``-q`` is specified on the command line
 
6536
  multiple times, the verbosity level is made negative the first
 
6537
  time then decreased. To get the default verbosity level of zero,
 
6538
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
6539
  Note that most commands currently ignore the magnitude of the
 
6540
  verbosity level but do respect *quiet vs normal vs verbose* when
 
6541
  generating output. (Ian Clatworthy)
 
6542
 
 
6543
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
6544
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
6545
 
 
6546
* New ``Repository.stream_knit_data_for_revisions`` request added to the
 
6547
  network protocol for greatly reduced roundtrips when retrieving a set of
 
6548
  revisions. (Andrew Bennetts)
 
6549
 
 
6550
Bug Fixes
 
6551
*********
 
6552
 
 
6553
* ``bzr plugins`` now lists the version number for each plugin in square
 
6554
  brackets after the path. (Robert Collins, #125421)
 
6555
 
 
6556
* Pushing, pulling and branching branches with subtree references was not
 
6557
  copying the subtree weave, preventing the file graph from being accessed
 
6558
  and causing errors in commits in clones. (Robert Collins)
 
6559
 
 
6560
* Suppress warning "integer argument expected, got float" from Paramiko,
 
6561
  which sometimes caused false test failures.  (Martin Pool)
 
6562
 
 
6563
* Fix bug in bundle 4 that could cause attempts to write data to wrong
 
6564
  versionedfile.  (Aaron Bentley)
 
6565
 
 
6566
* Diffs generated using "diff -p" no longer break the patch parser.
 
6567
  (Aaron Bentley)
 
6568
 
 
6569
* get_transport treats an empty possible_transports list the same as a non-
 
6570
  empty one.  (Aaron Bentley)
 
6571
 
 
6572
* patch verification for merge directives is reactivated, and works with
 
6573
  CRLF and CR files.  (Aaron Bentley)
 
6574
 
 
6575
* Accept ..\ as a path in revision specifiers. This fixes for example
 
6576
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
 
6577
 
 
6578
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
6579
  (Blake Winton, #129299)
 
6580
 
 
6581
* man page no longer lists hidden options (#131667, Aaron Bentley)
 
6582
 
 
6583
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
6584
  Watkins, #106726)
 
6585
 
 
6586
* Error messages are now better formatted with parameters (such as
 
6587
  filenames) quoted when necessary. This avoids confusion when directory
 
6588
  names ending in a '.' at the end of messages were confused with a
 
6589
  full stop that may or not have been there. (Daniel Watkins, #129791)
 
6590
 
 
6591
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
6592
 
 
6593
* If a particular command is an alias, ``help`` will show the alias
 
6594
  instead of claiming there is no help for said alias. (Daniel Watkins,
 
6595
  #133548)
 
6596
 
 
6597
* TreeTransform-based operations, like pull, merge, revert, and branch,
 
6598
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
6599
 
 
6600
* ``bzr commit`` now exits cleanly if a character unsupported by the
 
6601
  current encoding is used in the commit message.  (Daniel Watkins,
 
6602
  #116143)
 
6603
 
 
6604
* bzr send uses default values for ranges when only half of an elipsis
 
6605
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
6606
 
 
6607
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
6608
  binary is present.  (Martin Albisetti, #107155)
 
6609
 
 
6610
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
6611
  needing ``--force``) subtrees that contain no files with text changes or
 
6612
  modified files.  With ``--force`` it removes the subtree regardless of
 
6613
  text changes or unknown files. Directories with renames in or out (but
 
6614
  not changed otherwise) will now be removed without needing ``--force``.
 
6615
  Unknown ignored files will be deleted without needing ``--force``.
 
6616
  (Marius Kruger, #111665)
 
6617
 
 
6618
* When two plugins conflict, the source of both the losing and now the
 
6619
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
6620
 
 
6621
* When committing to a branch, the location being committed to is
 
6622
  displayed.  (Daniel Watkins, #52479)
 
6623
 
 
6624
* ``bzr --version`` takes care about encoding of stdout, especially
 
6625
  when output is redirected. (Alexander Belchenko, #131100)
 
6626
 
 
6627
* Prompt for an ftp password if none is provided.
 
6628
  (Vincent Ladeuil, #137044)
 
6629
 
 
6630
* Reuse bound branch associated transport to avoid multiple
 
6631
  connections.
 
6632
  (Vincent Ladeuil, #128076, #131396)
 
6633
 
 
6634
* Overwrite conflicting tags by ``push`` and ``pull`` if the
 
6635
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
6636
 
 
6637
* In checkouts, tags are copied into the master branch when created,
 
6638
  changed or deleted, and are copied into the checkout when it is
 
6639
  updated.  (Martin Pool, #93856, #93860)
 
6640
 
 
6641
* Print a warning instead of aborting the ``python setup.py install``
 
6642
  process if building of a C extension is not possible.
 
6643
  (Lukáš Lalinský, Alexander Belchenko)
 
6644
 
 
6645
Improvements
 
6646
************
 
6647
 
 
6648
* Add the option "--show-diff" to the commit command in order to display
 
6649
  the diff during the commit log creation. (Goffredo Baroncelli)
 
6650
 
 
6651
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
6652
  (Aaron Bentley)
 
6653
 
 
6654
* ``pull -v`` no longer includes deltas, making it much faster.
 
6655
  (Aaron Bentley)
 
6656
 
 
6657
* ``send`` now sends the directive as an attachment by default.
 
6658
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
6659
 
 
6660
* Documentation updates (Martin Albisetti)
 
6661
 
 
6662
* Help on debug flags is now included in ``help global-options``.
 
6663
  (Daniel Watkins, #124853)
 
6664
 
 
6665
* Parameters passed on the command line are checked to ensure they are
 
6666
  supported by the encoding in use. (Daniel Watkins)
 
6667
 
 
6668
* The compression used within the bzr repository has changed from zlib
 
6669
  level 9 to the zlib default level. This improves commit performance with
 
6670
  only a small increase in space used (and in some cases a reduction in
 
6671
  space). (Robert Collins)
 
6672
 
 
6673
* Initial commit no longer SHAs files twice and now reuses the path
 
6674
  rather than looking it up again, making it faster.
 
6675
  (Ian Clatworthy)
 
6676
 
 
6677
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
6678
  changes in one revision.  (Lukáš Lalinský)
 
6679
 
 
6680
* If versioned files match a given ignore pattern, a warning is now
 
6681
  given. (Daniel Watkins, #48623)
 
6682
 
 
6683
* ``bzr status`` now has -S as a short name for --short and -V as a
 
6684
  short name for --versioned. These have been added to assist users
 
6685
  migrating from Subversion: ``bzr status -SV`` is now like
 
6686
  ``svn status -q``.  (Daniel Watkins, #115990)
 
6687
 
 
6688
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
6689
  10x faster than the Python version. This speeds up commands that
 
6690
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
6691
  (Lukáš Lalinský)
 
6692
 
 
6693
* HACKING has been extended with a large section on core developer tasks.
 
6694
  (Ian Clatworthy)
 
6695
 
 
6696
* Add ``branches`` and ``standalone-trees`` as online help topics and
 
6697
  include them as Concepts within the User Reference.
 
6698
  (Paul Moore, Ian Clatworthy)
 
6699
 
 
6700
* ``check`` can detect versionedfile parent references that are
 
6701
  inconsistent with revision and inventory info, and ``reconcile`` can fix
 
6702
  them.  These faulty references were generated by 0.8-era releases,
 
6703
  so repositories which were manipulated by old bzrs should be
 
6704
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
6705
 
 
6706
API Breaks
 
6707
**********
 
6708
 
 
6709
* ``Branch.append_revision`` is removed altogether; please use
 
6710
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
6711
 
 
6712
* CommitBuilder now advertises itself as requiring the root entry to be
 
6713
  supplied. This only affects foreign repository implementations which reuse
 
6714
  CommitBuilder directly and have changed record_entry_contents to require
 
6715
  that the root not be supplied. This should be precisely zero plugins
 
6716
  affected. (Robert Collins)
 
6717
 
 
6718
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
6719
  its return value to include the sha1 and length of the inserted text. This
 
6720
  allows the avoidance of double-sha1 calculations during commit.
 
6721
  (Robert Collins)
 
6722
 
 
6723
* ``Transport.should_cache`` has been removed.  It was not called in the
 
6724
  previous release.  (Martin Pool)
 
6725
 
 
6726
Testing
 
6727
*******
 
6728
 
 
6729
* Tests may now raise TestNotApplicable to indicate they shouldn't be
 
6730
  run in a particular scenario.  (Martin Pool)
 
6731
 
 
6732
* New function multiply_tests_from_modules to give a simpler interface
 
6733
  to test parameterization.  (Martin Pool, Robert Collins)
 
6734
 
 
6735
* ``Transport.should_cache`` has been removed.  It was not called in the
 
6736
  previous release.  (Martin Pool)
 
6737
 
 
6738
* NULL_REVISION is returned to indicate the null revision, not None.
 
6739
  (Aaron Bentley)
 
6740
 
 
6741
* Use UTF-8 encoded StringIO for log tests to avoid failures on
 
6742
  non-ASCII committer names.  (Lukáš Lalinský)
 
6743
 
 
6744
Internals
 
6745
*********
 
6746
 
 
6747
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
6748
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
6749
  useful functionality for determining the path of a plugin, its tests, and
 
6750
  its version information. (Robert Collins)
 
6751
 
 
6752
* Add the option user_encoding to the function 'show_diff_trees()'
 
6753
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
6754
 
 
6755
* Add the function make_commit_message_template_encoded() and the function
 
6756
  edit_commit_message_encoded() which handle encoded strings.
 
6757
  This is done in order to mix the commit messages (which is a unicode
 
6758
  string), and the diff which is a raw string. (Goffredo Baroncelli)
 
6759
 
 
6760
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
6761
  overhead on non-weave repositories which don't require all parents to be
 
6762
  present. (Robert Collins)
 
6763
 
 
6764
* Deprecated method ``find_previous_heads`` on
 
6765
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
6766
  of ``parent_candidates`` and a separate heads check via the repository
 
6767
  API. (Robert Collins)
 
6768
 
 
6769
* New trace function ``mutter_callsite`` will print out a subset of the
 
6770
  stack to the log, which can be useful for gathering debug details.
 
6771
  (Robert Collins)
 
6772
 
 
6773
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
6774
  added via a public attribute records_written. (Robert Collins)
 
6775
 
 
6776
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
6777
  This provides a hint to users of transports as to the reasonable
 
6778
  minimum data to read. In principle this can take latency and
 
6779
  bandwidth into account on a per-connection basis, but for now it
 
6780
  just has hard coded values based on the url. (e.g. http:// has a large
 
6781
  page size, file:// has a small one.) (Robert Collins)
 
6782
 
 
6783
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
6784
  incremental addition of data to a file without requiring that all the
 
6785
  data be buffered in memory. (Robert Collins)
 
6786
 
 
6787
* New methods on ``bzrlib.knit.KnitVersionedFile``:
 
6788
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
6789
  ``get_format_signature()``.  These provide some infrastructure for
 
6790
  efficiently streaming the knit data for a set of versions over the smart
 
6791
  protocol.
 
6792
 
 
6793
* Knits with no annotation cache still produce correct annotations.
 
6794
  (Aaron Bentley)
 
6795
 
 
6796
* Three new methods have been added to ``bzrlib.trace``:
 
6797
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
6798
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
6799
  zero for normal, positive for verbose. The size of the number can be
 
6800
  used to determine just how quiet or verbose the application should be.
 
6801
  The existing ``be_quiet`` and ``is_quiet`` routines have been
 
6802
  integrated into this new scheme. (Ian Clatworthy)
 
6803
 
 
6804
* Options can now be delcared with a ``custom_callback`` parameter. If
 
6805
  set, this routine is called after the option is processed. This feature
 
6806
  is now used by the standard options ``verbose`` and ``quiet`` so that
 
6807
  setting one implicitly resets the other. (Ian Clatworthy)
 
6808
 
 
6809
* Rather than declaring a new option from scratch in order to provide
 
6810
  custom help, a centrally registered option can be decorated using the
 
6811
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
6812
  is useful when declaring better help for the ``verbose`` and ``quiet``
 
6813
  standard options as the base definition of these is now more complex
 
6814
  than before thanks to their use of a custom callback. (Ian Clatworthy)
 
6815
 
 
6816
* Tree._iter_changes(specific_file=[]) now iterates through no files,
 
6817
  instead of iterating through all files.  None is used to iterate through
 
6818
  all files.  (Aaron Bentley)
 
6819
 
 
6820
* WorkingTree.revert() now accepts None to revert all files.  The use of
 
6821
  [] to revert all files is deprecated.  (Aaron Bentley)
 
6822
 
 
6823
 
 
6824
bzr 0.90
 
6825
########
 
6826
 
 
6827
:Released: 2007-08-28
 
6828
 
 
6829
Improvements
 
6830
************
 
6831
 
 
6832
* Documentation is now organized into multiple directories with a level
 
6833
  added for different languages or locales. Added the Mini Tutorial
 
6834
  and Quick Start Summary (en) documents from the Wiki, improving the
 
6835
  content and readability of the former. Formatted NEWS as Release Notes
 
6836
  complete with a Table of Conents, one heading per release. Moved the
 
6837
  Developer Guide into the main document catalog and provided a link
 
6838
  from the developer document catalog back to the main one.
 
6839
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
6840
 
 
6841
 
 
6842
API Changes
 
6843
***********
 
6844
 
 
6845
* The static convenience method ``BzrDir.create_repository``
 
6846
  is deprecated.  Callers should instead create a ``BzrDir`` instance
 
6847
  and call ``create_repository`` on that.  (Martin Pool)
 
6848
 
 
6849
 
 
6850
bzr 0.90rc1
 
6851
###########
 
6852
 
 
6853
:Released: 2007-08-14
 
6854
 
 
6855
Bugfixes
 
6856
********
 
6857
 
 
6858
* ``bzr init`` should connect to the remote location one time only.  We
 
6859
  have been connecting several times because we forget to pass around the
 
6860
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
6861
  so that we can give it the Transport we already have.
 
6862
  (John Arbash Meinel, Vincent Ladeuil, #111702)
 
6863
 
 
6864
* Get rid of sftp connection cache (get rid of the FTP one too).
 
6865
  (Vincent Ladeuil, #43731)
 
6866
 
 
6867
* bzr branch {local|remote} remote don't try to create a working tree
 
6868
  anymore.
 
6869
  (Vincent Ladeuil, #112173)
 
6870
 
 
6871
* All identified multiple connections for a single bzr command have been
 
6872
  fixed. See bzrlib/tests/commands directory.
 
6873
  (Vincent Ladeuil)
 
6874
 
 
6875
* ``bzr rm`` now does not insist on ``--force`` to delete files that
 
6876
  have been renamed but not otherwise modified.  (Marius Kruger,
 
6877
  #111664)
 
6878
 
 
6879
* ``bzr selftest --bench`` no longer emits deprecation warnings
 
6880
  (Lukáš Lalinský)
 
6881
 
 
6882
* ``bzr status`` now honours FILE parameters for conflict lists
 
6883
  (Aaron Bentley, #127606)
 
6884
 
 
6885
* ``bzr checkout`` now honours -r when reconstituting a working tree.
 
6886
  It also honours -r 0.  (Aaron Bentley, #127708)
 
6887
 
 
6888
* ``bzr add *`` no more fails on Windows if working tree contains
 
6889
  non-ascii file names. (Kuno Meyer, #127361)
 
6890
 
 
6891
* allow ``easy_install bzr`` runs without fatal errors.
 
6892
  (Alexander Belchenko, #125521)
 
6893
 
 
6894
* Graph._filter_candidate_lca does not raise KeyError if a candidate
 
6895
  is eliminated just before it would normally be examined.  (Aaron Bentley)
 
6896
 
 
6897
* SMTP connection failures produce a nice message, not a traceback.
 
6898
  (Aaron Bentley)
 
6899
 
 
6900
Improvements
 
6901
************
 
6902
 
 
6903
* Don't show "dots" progress indicators when run non-interactively, such
 
6904
  as from cron.  (Martin Pool)
 
6905
 
 
6906
* ``info`` now formats locations more nicely and lists "submit" and
 
6907
  "public" branches (Aaron Bentley)
 
6908
 
 
6909
* New ``pack`` command that will trigger database compression within
 
6910
  the repository (Robert Collins)
 
6911
 
 
6912
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
6913
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
6914
  Which yields a measurable improvement for commands which have to
 
6915
  read from the repository, such as a 1s => 0.75s improvement in
 
6916
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
6917
 
 
6918
* Merge is now faster.  Depending on the scenario, it can be more than 2x
 
6919
  faster. (Aaron Bentley)
 
6920
 
 
6921
* Give a clearer warning, and allow ``python setup.py install`` to
 
6922
  succeed even if pyrex is not available.
 
6923
  (John Arbash Meinel)
 
6924
 
 
6925
* ``DirState._read_dirblocks`` now has an optional Pyrex
 
6926
  implementation. This improves the speed of any command that has to
 
6927
  read the entire DirState. (``diff``, ``status``, etc, improve by
 
6928
  about 10%).
 
6929
  ``bisect_dirblocks`` has also been improved, which helps all
 
6930
  ``_get_entry`` type calls (whenever we are searching for a
 
6931
  particular entry in the in-memory DirState).
 
6932
  (John Arbash Meinel)
 
6933
 
 
6934
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
 
6935
  branch revision history for ui display unless -v is supplied.
 
6936
  (Robert Collins)
 
6937
 
 
6938
* ``bzr log -rA..B`` output shifted to the left margin if the log only
 
6939
  contains merge revisions. (Kent Gibson)
 
6940
 
 
6941
* The ``plugins`` command is now public with improved help.
 
6942
  (Ian Clatworthy)
 
6943
 
 
6944
* New bundle and merge directive formats are faster to generate, and
 
6945
 
 
6946
* Annotate merge now works when there are local changes. (Aaron Bentley)
 
6947
 
 
6948
* Commit now only shows the progress in terms of directories instead of
 
6949
  entries. (Ian Clatworthy)
 
6950
 
 
6951
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
6952
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
6953
  Meinel)
 
6954
 
 
6955
* Fix ``VersionedFile.get_graph()`` to avoid using
 
6956
  ``set.difference_update(other)``, which has bad scaling when
 
6957
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
6958
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
6959
 
 
6960
* The ``--lsprof-file`` option now generates output for KCacheGrind if
 
6961
  the file starts with ``callgrind.out``. This matches the default file
 
6962
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
6963
 
 
6964
* Fix ``bzr update`` to avoid an unnecessary
 
6965
  ``branch.get_master_branch`` call, which avoids 1 extra connection
 
6966
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
6967
 
 
6968
* Log errors from the smart server in the trace file, to make debugging
 
6969
  test failures (and live failures!) easier.  (Andrew Bennetts)
 
6970
 
 
6971
* The HTML version of the man page has been superceded by a more
 
6972
  comprehensive manual called the Bazaar User Reference. This manual
 
6973
  is completed generated from the online help topics. As part of this
 
6974
  change, limited reStructuredText is now explicitly supported in help
 
6975
  topics and command help with 'unnatural' markup being removed prior
 
6976
  to display by the online help or inclusion in the man page.
 
6977
  (Ian Clatworthy)
 
6978
 
 
6979
* HTML documentation now use files extension ``*.html``
 
6980
  (Alexander Belchenko)
 
6981
 
 
6982
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
6983
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
6984
 
 
6985
* ``bzr selftest --strict`` fails if there are any missing features or
 
6986
  expected test failures. (Daniel Watkins, #111914)
 
6987
 
 
6988
* Link to registration survey added to README. (Ian Clatworthy)
 
6989
 
 
6990
* Windows standalone installer show link to registration survey
 
6991
  when installation finished. (Alexander Belchenko)
 
6992
 
 
6993
Library API Breaks
 
6994
******************
 
6995
 
 
6996
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
6997
  Options are now required to provide a help string and it must
 
6998
  comply with the style guide by being one or more sentences with an
 
6999
  initial capital and final period. (Martin Pool)
 
7000
 
 
7001
* KnitIndex.get_parents now returns tuples. (Robert Collins)
 
7002
 
 
7003
* Ancient unused ``Repository.text_store`` attribute has been removed.
 
7004
  (Robert Collins)
 
7005
 
 
7006
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
7007
  rather than just bytestrings, making it easier to represent multiple
 
7008
  element names. As this interface was not used by any internal facilities
 
7009
  since it was introduced in 0.18 no API compatibility is being preserved.
 
7010
  The serialised form of these packs is identical with 0.18 when a single
 
7011
  element tuple is in use. (Robert Collins)
 
7012
 
 
7013
Internals
 
7014
*********
 
7015
 
 
7016
* merge now uses ``iter_changes`` to calculate changes, which makes room for
 
7017
  future performance increases.  It is also more consistent with other
 
7018
  operations that perform comparisons, and reduces reliance on
 
7019
  Tree.inventory.  (Aaron Bentley)
 
7020
 
 
7021
* Refactoring of transport classes connected to a remote server.
 
7022
  ConnectedTransport is a new class that serves as a basis for all
 
7023
  transports needing to connect to a remote server.  transport.split_url
 
7024
  have been deprecated, use the static method on the object instead. URL
 
7025
  tests have been refactored too.
 
7026
  (Vincent Ladeuil)
 
7027
 
 
7028
* Better connection sharing for ConnectedTransport objects.
 
7029
  transport.get_transport() now accepts a 'possible_transports' parameter.
 
7030
  If a newly requested transport can share a connection with one of the
 
7031
  list, it will.
 
7032
  (Vincent Ladeuil)
 
7033
 
 
7034
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
7035
  the null revision, and consider using ``None`` for this purpose
 
7036
  deprecated.  (Aaron Bentley)
 
7037
 
 
7038
* New ``index`` module with abstract index functionality. This will be
 
7039
  used during the planned changes in the repository layer. Currently the
 
7040
  index layer provides a graph aware immutable index, a builder for the
 
7041
  same index type to allow creating them, and finally a composer for
 
7042
  such indices to allow the use of many indices in a single query. The
 
7043
  index performance is not optimised, however the API is stable to allow
 
7044
  development on top of the index. (Robert Collins)
 
7045
 
 
7046
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
7047
  their directory sections. This is equivalent to comparing
 
7048
  ``path.split('/')``, only without having to split the paths.
 
7049
  This has a Pyrex implementation available.
 
7050
  (John Arbash Meinel)
 
7051
 
 
7052
* New transport decorator 'unlistable+' which disables the list_dir
 
7053
  functionality for testing.
 
7054
 
 
7055
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
7056
 
 
7057
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
7058
  for performing annotate-merge.  (Aaron Bentley)
 
7059
 
 
7060
* New EmailMessage class to create email messages. (Adeodato Simó)
 
7061
 
 
7062
* Unused functions on the private interface KnitIndex have been removed.
 
7063
  (Robert Collins)
 
7064
 
 
7065
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
7066
  of a ``index.GraphIndex``. (Robert Collins)
 
7067
 
 
7068
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
7069
  the parents of many knit nodes at once, reducing round trips to the
 
7070
  underlying index. (Robert Collins)
 
7071
 
 
7072
* Graph now has an is_ancestor method, various bits use it.
 
7073
  (Aaron Bentley)
 
7074
 
 
7075
* The ``-Dhpss`` flag now includes timing information. As well as
 
7076
  logging when a new connection is opened. (John Arbash Meinel)
 
7077
 
 
7078
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
7079
  callers when inserting data, allowing generation of readv style access
 
7080
  during pack creation, without needing a separate pass across the output
 
7081
  pack to gather such details. (Robert Collins)
 
7082
 
 
7083
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
7084
  files that are stored on a transport. (Robert Collins)
 
7085
 
 
7086
* New ``Repository.has_same_location`` method that reports if two
 
7087
  repository objects refer to the same repository (although with some risk
 
7088
  of false negatives).  (Andrew Bennetts)
 
7089
 
 
7090
* InterTree.compare now passes require_versioned on correctly.
 
7091
  (Marius Kruger)
 
7092
 
 
7093
* New methods on Repository - ``start_write_group``,
 
7094
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
7095
  which provide a clean hook point for transactional Repositories - ones
 
7096
  where all the data for a fetch or commit needs to be made atomically
 
7097
  available in one step. This allows the write lock to remain while making
 
7098
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
7099
 
 
7100
* In ``bzrlib.knit`` the internal interface has been altered to use
 
7101
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
7102
  describe where data in a knit is, allowing knits to be split into
 
7103
  many files. (Robert Collins)
 
7104
 
 
7105
* ``bzrlib.knit._KnitData`` split into cache management and physical access
 
7106
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
7107
  The former provides access into a .pack file, and the latter provides the
 
7108
  current production repository form of .knit files. (Robert Collins)
 
7109
 
 
7110
Testing
 
7111
*******
 
7112
 
 
7113
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
7114
  ``--keep-output`` options, which are obsolete now that tests
 
7115
  are done within directories in $TMPDIR.  (Martin Pool)
 
7116
 
 
7117
* The SSH_AUTH_SOCK environment variable is now reset to avoid
 
7118
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
7119
 
 
7120
* run_bzr_subprocess handles parameters the same way as run_bzr:
 
7121
  either a string or a list of strings should be passed as the first
 
7122
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
7123
 
 
7124
 
 
7125
bzr 0.18
 
7126
########
 
7127
 
 
7128
:Released:  2007-07-17
 
7129
 
 
7130
Bugfixes
 
7131
********
 
7132
 
 
7133
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
7134
 
 
7135
 
 
7136
bzr 0.18rc1
 
7137
###########
 
7138
 
 
7139
:Released:  2007-07-10
 
7140
 
 
7141
Bugfixes
 
7142
********
 
7143
 
 
7144
* Do not suppress pipe errors, etc. in non-display commands
 
7145
  (Alexander Belchenko, #87178)
 
7146
 
 
7147
* Display a useful error message when the user requests to annotate
 
7148
  a file that is not present in the specified revision.
 
7149
  (James Westby, #122656)
 
7150
 
 
7151
* Commands that use status flags now have a reference to 'help
 
7152
  status-flags'.  (Daniel Watkins, #113436)
 
7153
 
 
7154
* Work around python-2.4.1 inhability to correctly parse the
 
7155
  authentication header.
 
7156
  (Vincent Ladeuil, #121889)
 
7157
 
 
7158
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
7159
 
 
7160
* Fix tempfile permissions error in smart server tar bundling under
 
7161
  Windows. (Martin _, #119330)
 
7162
 
 
7163
* Fix detection of directory entries in the inventory. (James Westby)
 
7164
 
 
7165
* Fix handling of http code 400: Bad Request When issuing too many ranges.
 
7166
  (Vincent Ladeuil, #115209)
 
7167
 
 
7168
* Issue a CONNECT request when connecting to an https server
 
7169
  via a proxy to enable SSL tunneling.
 
7170
  (Vincent Ladeuil, #120678)
 
7171
 
 
7172
* Fix ``bzr log -r`` to support selecting merge revisions, both
 
7173
  individually and as part of revision ranges.
 
7174
  (Kent Gibson, #4663)
 
7175
 
 
7176
* Don't leave cruft behind when failing to acquire a lockdir.
 
7177
  (Martin Pool, #109169)
 
7178
 
 
7179
* Don't use the '-f' strace option during tests.
 
7180
  (Vincent Ladeuil, #102019).
 
7181
 
 
7182
* Warn when setting ``push_location`` to a value that will be masked by
 
7183
  locations.conf.  (Aaron Bentley, #122286)
 
7184
 
 
7185
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
7186
 
 
7187
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
7188
 
 
7189
Improvements
 
7190
************
 
7191
 
 
7192
* The --lsprof-file option now dumps a text rendering of the profiling
 
7193
  information if the filename ends in ".txt". It will also convert the
 
7194
  profiling information to a format suitable for KCacheGrind if the
 
7195
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
7196
  conversion process by Jean Paul Calderone and Itamar were also merged.
 
7197
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
7198
 
 
7199
* ``info`` now defaults to non-verbose mode, displaying only paths and
 
7200
  abbreviated format info.  ``info -v`` displays all the information
 
7201
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
7202
 
 
7203
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
7204
  (Elliot Murphy)
 
7205
 
 
7206
* The internal ``weave-list`` command has become ``versionedfile-list``,
 
7207
  and now lists knits as well as weaves.  (Aaron Bentley)
 
7208
 
 
7209
* Automatic merge base selection uses a faster algorithm that chooses
 
7210
  better bases in criss-cross merge situations (Aaron Bentley)
 
7211
 
 
7212
* Progress reporting in ``commit`` has been improved. The various logical
 
7213
  stages are now reported on as follows, namely:
 
7214
 
 
7215
  * Collecting changes [Entry x/y] - Stage n/m
 
7216
  * Saving data locally - Stage n/m
 
7217
  * Uploading data to master branch - Stage n/m
 
7218
  * Updating the working tree - Stage n/m
 
7219
  * Running post commit hooks - Stage n/m
 
7220
 
 
7221
  If there is no master branch, the 3rd stage is omitted and the total
 
7222
  number of stages is adjusted accordingly.
 
7223
 
 
7224
  Each hook that is run after commit is listed with a name (as hooks
 
7225
  can be slow it is useful feedback).
 
7226
  (Ian Clatworthy, Robert Collins)
 
7227
 
 
7228
* Various operations that are now faster due to avoiding unnecessary
 
7229
  topological sorts. (Aaron Bentley)
 
7230
 
 
7231
* Make merge directives robust against broken bundles. (Aaron Bentley)
 
7232
 
 
7233
* The lsprof filename note is emitted via trace.note(), not standard
 
7234
  output.  (Aaron Bentley)
 
7235
 
 
7236
* ``bzrlib`` now exports explicit API compatibility information to assist
 
7237
  library users and plugins. See the ``bzrlib.api`` module for details.
 
7238
  (Robert Collins)
 
7239
 
 
7240
* Remove unnecessary lock probes when acquiring a lockdir.
 
7241
  (Martin Pool)
 
7242
 
 
7243
* ``bzr --version`` now shows the location of the bzr log file, which
 
7244
  is especially useful on Windows.  (Martin Pool)
 
7245
 
 
7246
* -D now supports hooks to get debug tracing of hooks (though its currently
 
7247
  minimal in nature). (Robert Collins)
 
7248
 
 
7249
* Long log format reports deltas on merge revisions.
 
7250
  (John Arbash Meinel, Kent Gibson)
 
7251
 
 
7252
* Make initial push over ftp more resilient. (John Arbash Meinel)
 
7253
 
 
7254
* Print a summary of changes for update just like pull does.
 
7255
  (Daniel Watkins, #113990)
 
7256
 
 
7257
* Add a -Dhpss option to trace smart protocol requests and responses.
 
7258
  (Andrew Bennetts)
 
7259
 
 
7260
Library API Breaks
 
7261
******************
 
7262
 
 
7263
* Testing cleanups -
 
7264
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
7265
  to ``bzrlib.tests.repository_implementations``;
 
7266
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
7267
  to ``bzrlib.tests.interrepository_implementations``;
 
7268
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
 
7269
  ``bzrlib.tests.test_transport_implementations``.
 
7270
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
7271
  ``bzrlib.tests.branch_implementations``.
 
7272
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
 
7273
  ``bzrlib.tests.bzrdir_implementations``.
 
7274
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
7275
  to ``bzrlib.tests.interversionedfile_implementations``.
 
7276
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
7277
  ``bzrlib.tests.revisionstore_implementations``.
 
7278
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
7279
  ``bzrlib.tests.workingtree_implementations``.
 
7280
  These changes are an API break in the testing infrastructure only.
 
7281
  (Robert Collins)
 
7282
 
 
7283
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
7284
 
 
7285
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
7286
  win32. Callers of the function should do this and use the new
 
7287
  ``MutableTree.smart_add`` method instead. (Robert Collins)
 
7288
 
 
7289
* ``bzrlib.add.glob_expand_for_win32`` is now
 
7290
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
7291
 
 
7292
* ``bzrlib.add.FastPath`` is now private and moved to
 
7293
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
7294
 
 
7295
* ``LockDir.wait`` removed.  (Martin Pool)
 
7296
 
 
7297
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
7298
  ``server_stopped`` hooks. The first parameter is now an iterable of
 
7299
  backing URLs rather than a single URL. This is to reflect that many
 
7300
  URLs may map to the external URL of the server. E.g. the server interally
 
7301
  may have a chrooted URL but also the local file:// URL will be at the
 
7302
  same location. (Robert Collins)
 
7303
 
 
7304
Internals
 
7305
*********
 
7306
 
 
7307
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
7308
 
 
7309
* Fix documentation of BzrError. (Adeodato Simó)
 
7310
 
 
7311
* Make BzrBadParameter an internal error. (Adeodato Simó)
 
7312
 
 
7313
* Remove use of 'assert False' to raise an exception unconditionally.
 
7314
  (Martin Pool)
 
7315
 
 
7316
* Give a cleaner error when failing to decode knit index entry.
 
7317
  (Martin Pool)
 
7318
 
 
7319
* TreeConfig would mistakenly search the top level when asked for options
 
7320
  from a section. It now respects the section argument and only
 
7321
  searches the specified section. (James Westby)
 
7322
 
 
7323
* Improve ``make api-docs`` output. (John Arbash Meinel)
 
7324
 
 
7325
* Use os.lstat rather than os.stat for osutils.make_readonly and
 
7326
  osutils.make_writeable. This makes the difftools plugin more
 
7327
  robust when dangling symlinks are found. (Elliot Murphy)
 
7328
 
 
7329
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
 
7330
  lockdirs are taken or released.  (Martin Pool)
 
7331
 
 
7332
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
 
7333
  allows a nicer UI when hooks are running as the current hook can
 
7334
  be displayed. (Robert Collins)
 
7335
 
 
7336
* ``Transport.get`` has had its interface made more clear for ease of use.
 
7337
  Retrieval of a directory must now fail with either 'PathError' at open
 
7338
  time, or raise 'ReadError' on a read. (Robert Collins)
 
7339
 
 
7340
* New method ``_maybe_expand_globs`` on the ``Command`` class for
 
7341
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
7342
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
7343
 
 
7344
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
7345
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
7346
  Martin Pool)
 
7347
 
 
7348
* New method ``external_url`` on Transport for obtaining the url to
 
7349
  hand to external processes. (Robert Collins)
 
7350
 
 
7351
* Teach windows installers to build pyrex/C extensions.
 
7352
  (Alexander Belchenko)
 
7353
 
 
7354
Testing
 
7355
*******
 
7356
 
 
7357
* Removed the ``--keep-output`` option from selftest and clean up test
 
7358
  directories as they're used.  This reduces the IO load from
 
7359
  running the test suite and cuts the time by about half.
 
7360
  (Andrew Bennetts, Martin Pool)
 
7361
 
 
7362
* Add scenarios as a public attribute on the TestAdapter classes to allow
 
7363
  modification of the generated scenarios before adaption and easier
 
7364
  testing. (Robert Collins)
 
7365
 
 
7366
* New testing support class ``TestScenarioApplier`` which multiplies
 
7367
  out a single teste by a list of supplied scenarios. (RobertCollins)
 
7368
 
 
7369
* Setting ``repository_to_test_repository`` on a repository_implementations
 
7370
  test will cause it to be called during repository creation, allowing the
 
7371
  testing of repository classes which are not based around the Format
 
7372
  concept. For example a repository adapter can be tested in this manner,
 
7373
  by altering the repository scenarios to include a scenario that sets this
 
7374
  attribute during the test parameterisation in
 
7375
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
7376
 
 
7377
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
 
7378
  interface is now self.run_bzr.  The command to run can be passed as
 
7379
  either a list of parameters, a string containing the command line, or
 
7380
  (deprecated) varargs parameters.  (Martin Pool)
 
7381
 
 
7382
* The base TestCase now isolates tests from -D parameters by clearing
 
7383
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
7384
 
 
7385
* Add a relpath parameter to get_transport methods in test framework to
 
7386
  avoid useless cloning.
 
7387
  (Vincent Ladeuil, #110448)
 
7388
 
 
7389
 
 
7390
bzr 0.17
 
7391
########
 
7392
 
 
7393
:Released:  2007-06-18
 
7394
 
 
7395
Bugfixes
 
7396
********
 
7397
 
 
7398
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
7399
  (Colin Watson, #120647)
 
7400
 
 
7401
* Revert logging just to stderr in commit as broke unicode filenames.
 
7402
  (Aaron Bentley, Ian Clatworthy, #120930)
 
7403
 
 
7404
 
 
7405
bzr 0.17rc1
 
7406
###########
 
7407
 
 
7408
:Released:  2007-06-12
 
7409
 
 
7410
Notes When Upgrading
 
7411
********************
 
7412
 
 
7413
* The kind() and is_executable() APIs on the WorkingTree interface no
 
7414
  longer implicitly (read) locks and unlocks the tree. This *might*
 
7415
  impact some plug-ins and tools using this part of the API. If you find
 
7416
  an issue that may be caused by this change, please let us know,
 
7417
  particularly the plug-in/tool maintainer. If encountered, the API
 
7418
  fix is to surround kind() and is_executable() calls with lock_read()
 
7419
  and unlock() like so::
 
7420
 
 
7421
    work_tree.lock_read()
 
7422
    try:
 
7423
        kind = work_tree.kind(...)
 
7424
    finally:
 
7425
        work_tree.unlock()
 
7426
 
 
7427
Internals
 
7428
*********
 
7429
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
7430
  encapsulate the details of the revision to be logged in a LogRevision
 
7431
  object.
 
7432
  In long log formats, merge revision ids are only shown when --show-ids
 
7433
  is specified, and are labelled "revision-id:", as per mainline
 
7434
  revisions, instead of "merged:". (Kent Gibson)
 
7435
 
 
7436
* New ``BranchBuilder`` API which allows the construction of particular
 
7437
  histories quickly. Useful for testing and potentially other applications
 
7438
  too. (Robert Collins)
 
7439
 
 
7440
Improvements
 
7441
************
 
7442
 
 
7443
* There are two new help topics, working-trees and repositories that
 
7444
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
7445
  Aaron Bentley)
 
7446
 
 
7447
* Added ``bzr log --limit`` to report a limited number of revisions.
 
7448
  (Kent Gibson, #3659)
 
7449
 
 
7450
* Revert does not try to preserve file contents that were originally
 
7451
  produced by reverting to a historical revision.  (Aaron Bentley)
 
7452
 
 
7453
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
7454
  have more than one parent. This is a small improvement to help
 
7455
  understanding what changes have occurred
 
7456
  (John Arbash Meinel, #83887)
 
7457
 
 
7458
* TreeTransform avoids many renames when contructing large trees,
 
7459
  improving speed.  3.25x speedups have been observed for construction of
 
7460
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
7461
 
 
7462
* Commit on large trees is now faster. In my environment, a commit of
 
7463
  a small change to the Mozilla tree (55k files) has dropped from
 
7464
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
7465
  small change is 33% faster. (Ian Clatworthy)
 
7466
 
 
7467
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
7468
  #56322)
 
7469
 
 
7470
Bugfixes
 
7471
********
 
7472
 
 
7473
* ``bzr push`` should only connect to the remote location one time.
 
7474
  We have been connecting 3 times because we forget to pass around
 
7475
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
7476
  that we can pass in the Transport that we already have.
 
7477
  (John Arbash Meinel, #75721)
 
7478
 
 
7479
* ``DirState.set_state_from_inventory()`` needs to properly order
 
7480
  based on split paths, not just string paths.
 
7481
  (John Arbash Meinel, #115947)
 
7482
 
 
7483
* Let TestUIFactoy encode the password prompt with its own stdout.
 
7484
  (Vincent Ladeuil, #110204)
 
7485
 
 
7486
* pycurl should take use the range header that takes the range hint
 
7487
  into account.
 
7488
  (Vincent Ladeuil, #112719)
 
7489
 
 
7490
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
7491
  on a missing file.  (Aaron Bentley, #118186)
 
7492
 
 
7493
* WorkingTree.remove works correctly with tree references, and when pwd is
 
7494
  not the tree root. (Aaron Bentley)
 
7495
 
 
7496
* Merge no longer fails when a file is renamed in one tree and deleted
 
7497
  in the other. (Aaron Bentley, #110279)
 
7498
 
 
7499
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
7500
  and defaults to the last revision (Matthew Fuller, #90048)
 
7501
 
 
7502
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
7503
  (Daniel Watkins, #111958)
 
7504
 
 
7505
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
7506
  your repository. (Previously Branch6 only supported revisions in your
 
7507
  mainline). (John Arbash Meinel, #115343)
 
7508
 
 
7509
bzr 0.16
 
7510
########
 
7511
 
 
7512
:Released:  2007-05-07
 
7513
 
 
7514
Bugfixes
 
7515
********
 
7516
 
 
7517
* Handle when you have 2 directories with similar names, but one has a
 
7518
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
7519
  iterator was using direct comparison and ``'abc/a'`` sorts after
 
7520
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
7521
  (John Arbash Meinel, #111227)
 
7522
 
 
7523
* Handle when someone renames a file on disk without telling bzr.
 
7524
  Previously we would report the first file as missing, but not show
 
7525
  the new unknown file. (John Arbash Meinel, #111288)
 
7526
 
 
7527
* Avoid error when running hooks after pulling into or pushing from
 
7528
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
7529
 
 
7530
Improvements
 
7531
************
 
7532
 
 
7533
* Move developer documentation to doc/developers/. This reduces clutter in
 
7534
  the root of the source tree and allows HACKING to be split into multiple
 
7535
  files. (Robert Collins, Alexander Belchenko)
 
7536
 
 
7537
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
7538
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
7539
  diff`` and ``bzr status`` significantly improving the speed of
 
7540
  both. (John Arbash Meinel)
 
7541
 
 
7542
bzr 0.16rc2
 
7543
###########
 
7544
 
 
7545
:Released:  2007-04-30
 
7546
 
 
7547
Bugfixes
 
7548
********
 
7549
 
 
7550
* Handle the case when you delete a file, and then rename another file
 
7551
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
7552
  status`` should show the removed file and an unknown file in its
 
7553
  place. (John Arbash Meinel, #109993)
 
7554
 
 
7555
* Bundles properly read and write revision properties that have an
 
7556
  empty value. And when the value is not ASCII.
 
7557
  (John Arbash Meinel, #109613)
 
7558
 
 
7559
* Fix the bzr commit message to be in text mode.
 
7560
  (Alexander Belchenko, #110901)
 
7561
 
 
7562
* Also handle when you rename a file and create a file where it used
 
7563
  to be. (John Arbash Meinel, #110256)
 
7564
 
 
7565
* ``WorkingTree4._iter_changes`` should not descend into unversioned
 
7566
  directories. (John Arbash Meinel, #110399)
 
7567
 
 
7568
bzr 0.16rc1
 
7569
###########
 
7570
 
 
7571
:Released:  2007-04-26
 
7572
 
 
7573
Notes When Upgrading
 
7574
********************
 
7575
 
 
7576
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
7577
  it could be recovered again.
 
7578
  This has been done for consistency with svn and the unix rm command.
 
7579
  The old ``remove`` behaviour has been retained in the new option
 
7580
  ``bzr remove --keep``, which will just stop versioning the file,
 
7581
  but not delete it.
 
7582
  ``bzr remove --force`` have been added which will always delete the
 
7583
  files.
 
7584
  ``bzr remove`` is also more verbose.
 
7585
  (Marius Kruger, #82602)
 
7586
 
 
7587
Improvements
 
7588
************
 
7589
 
 
7590
* Merge directives can now be supplied as input to `merge` and `pull`,
 
7591
  like bundles can.  (Aaron Bentley)
 
7592
 
 
7593
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
7594
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
7595
  to continue.  This can be disabled by setting the environment variable
 
7596
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
7597
 
 
7598
* selftest now supports --list-only to list tests instead of running
 
7599
  them. (Ian Clatworthy)
 
7600
 
 
7601
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
7602
  tests with names that match that regular expression.
 
7603
  (Ian Clatworthy, #102679)
 
7604
 
 
7605
* selftest now supports --randomize SEED to run tests in a random order.
 
7606
  SEED is typically the value 'now' meaning 'use the current time'.
 
7607
  (Ian Clatworthy, #102686)
 
7608
 
 
7609
* New option ``--fixes`` to commit, which stores bug fixing annotations as
 
7610
  revision properties. Built-in support for Launchpad, Debian, Trac and
 
7611
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
7612
 
 
7613
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
7614
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
7615
  Robert Collins)
 
7616
 
 
7617
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
7618
  Pool)
 
7619
 
 
7620
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
7621
  into using local variables instead of going through ``self._var``.
 
7622
  Improves the time to ``merge_sort`` a 10k revision graph by
 
7623
  approximately 40% (~700->400ms).  (John Arbash Meinel)
 
7624
 
 
7625
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
7626
  (Robert Collins)
 
7627
 
 
7628
* ``bzr help`` now provides cross references to other help topics using
 
7629
  the _see_also facility on command classes. Likewise the bzr_man
 
7630
  documentation, and the bzr.1 man page also include this information.
 
7631
  (Robert Collins)
 
7632
 
 
7633
* Tags are now included in logs, that use the long log formatter.
 
7634
  (Erik Bågfors, Alexander Belchenko)
 
7635
 
 
7636
* ``bzr help`` provides a clearer message when a help topic cannot be
 
7637
  found. (Robert Collins, #107656)
 
7638
 
 
7639
* ``bzr help`` now accepts optional prefixes for command help. The help
 
7640
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
7641
  as well as ``bzr help COMMANDNAME`` (which only works for commands
 
7642
  where the name is not the same as a more general help topic).
 
7643
  (Robert Collins)
 
7644
 
 
7645
* ``bzr help PLUGINNAME`` will now return the module docstring from the
 
7646
  plugin PLUGINNAME. (Robert Collins, #50408)
 
7647
 
 
7648
* New help topic ``urlspec`` which lists the availables transports.
 
7649
  (Goffredo Baroncelli)
 
7650
 
 
7651
* doc/server.txt updated to document the default bzr:// port
 
7652
  and also update the blurb about the hpss' current status.
 
7653
  (Robert Collins, #107125).
 
7654
 
 
7655
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
7656
  serve out to the local LAN (and anyone in the world that can reach the
 
7657
  machine running ``bzr serve``. (Robert Collins, #98918)
 
7658
 
 
7659
* A new smart server protocol version has been added.  It prefixes requests
 
7660
  and responses with an explicit version identifier so that future protocol
 
7661
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
7662
 
 
7663
* The bzr protocol version 2 indicates success or failure in every response
 
7664
  without depending on particular commands encoding that consistently,
 
7665
  allowing future client refactorings to be much more robust about error
 
7666
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
7667
 
 
7668
* The smart protocol over HTTP client has been changed to always post to the
 
7669
  same ``.bzr/smart`` URL under the original location when it can.  This allows
 
7670
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
7671
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
7672
 
 
7673
* digest authentication is now supported for proxies and HTTP by the urllib
 
7674
  based http implementation. Tested against Apache 2.0.55 and Squid
 
7675
  2.6.5. Basic and digest authentication are handled coherently for HTTP
 
7676
  and proxy: if the user is provided in the url (bzr command line for HTTP,
 
7677
  proxy environment variables for proxies), the password is prompted for
 
7678
  (only once). If the password is provided, it is taken into account. Once
 
7679
  the first authentication is successful, all further authentication
 
7680
  roundtrips are avoided by preventively setting the right authentication
 
7681
  header(s).
 
7682
  (Vincent Ladeuil).
 
7683
 
 
7684
Internals
 
7685
*********
 
7686
 
 
7687
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
7688
  code paths. (Robert Collins)
 
7689
 
 
7690
* Change the format of chroot urls so that they can be safely manipulated
 
7691
  by generic url utilities without causing the resulting urls to have
 
7692
  escaped the chroot. A side effect of this is that creating a chroot
 
7693
  requires an explicit action using a ChrootServer.
 
7694
  (Robert Collins, Andrew Bennetts)
 
7695
 
 
7696
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
7697
  rather than fixing bug #96847.  (Aaron Bentley)
 
7698
 
 
7699
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
7700
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
7701
 
 
7702
* Convenience method ``TestCase.expectFailure`` ensures that known failures
 
7703
  do not silently pass.  (Aaron Bentley)
 
7704
 
 
7705
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
 
7706
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
7707
 
 
7708
* New SmartServer hooks facility. There are two initial hooks documented
 
7709
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
7710
  plugins to execute code upon server startup and shutdown.
 
7711
  (Robert Collins).
 
7712
 
 
7713
* SmartServer in standalone mode will now close its listening socket
 
7714
  when it stops, rather than waiting for garbage collection. This primarily
 
7715
  fixes test suite hangs when a test tries to connect to a shutdown server.
 
7716
  It may also help improve behaviour when dealing with a server running
 
7717
  on a specific port (rather than dynamically assigned ports).
 
7718
  (Robert Collins)
 
7719
 
 
7720
* Move most SmartServer code into a new package, bzrlib/smart.
 
7721
  bzrlib/transport/remote.py contains just the Transport classes that used
 
7722
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
7723
 
 
7724
* urllib http implementation avoid roundtrips associated with
 
7725
  401 (and 407) errors once the authentication succeeds.
 
7726
  (Vincent Ladeuil).
 
7727
 
 
7728
* urlib http now supports querying the user for a proxy password if
 
7729
  needed. Realm is shown in the prompt for both HTTP and proxy
 
7730
  authentication when the user is required to type a password.
 
7731
  (Vincent Ladeuil).
 
7732
 
 
7733
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
7734
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
7735
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
7736
  it's not really a "smart" transport, just one that does file operations
 
7737
  via remote procedure calls.  (Andrew Bennetts)
 
7738
 
 
7739
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
7740
  ``Branch`` now accept a ``token`` keyword argument, so that separate
 
7741
  instances of those objects can share a lock if it has the right token.
 
7742
  (Andrew Bennetts, Robert Collins)
 
7743
 
 
7744
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
7745
  branch references - which the smart server component needs.
 
7746
 
 
7747
* The Repository API ``make_working_trees`` is now permitted to return
 
7748
  False when ``set_make_working_trees`` is not implemented - previously
 
7749
  an unimplemented ``set_make_working_trees`` implied the result True
 
7750
  from ``make_working_trees``. This has been changed to accomodate the
 
7751
  smart server, where it does not make sense (at this point) to ever
 
7752
  make working trees by default. (Robert Collins)
 
7753
 
 
7754
* Command objects can now declare related help topics by having _see_also
 
7755
  set to a list of related topic. (Robert Collins)
 
7756
 
 
7757
* ``bzrlib.help`` now delegates to the Command class for Command specific
 
7758
  help. (Robert Collins)
 
7759
 
 
7760
* New class ``TransportListRegistry``, derived from the Registry class, which
 
7761
  simplifies tracking the available Transports. (Goffredo Baroncelli)
 
7762
 
 
7763
* New function ``Branch.get_revision_id_to_revno_map`` which will
 
7764
  return a dictionary mapping revision ids to dotted revnos. Since
 
7765
  dotted revnos are defined in the context of the branch tip, it makes
 
7766
  sense to generate them from a ``Branch`` object.
 
7767
  (John Arbash Meinel)
 
7768
 
 
7769
* Fix the 'Unprintable error' message display to use the repr of the
 
7770
  exception that prevented printing the error because the str value
 
7771
  for it is often not useful in debugging (e.g. KeyError('foo') has a
 
7772
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
7773
  useful. (Robert Collins)
 
7774
 
 
7775
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
7776
  (Andrew Bennetts)
 
7777
 
 
7778
Bugfixes
 
7779
********
 
7780
 
 
7781
* Don't fail bundle selftest if email has 'two' embedded.
 
7782
  (Ian Clatworthy, #98510)
 
7783
 
 
7784
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
7785
  (Robert Widhopf-Fenk, #98591)
 
7786
 
 
7787
* Remove ``--basis`` from the checkout/branch commands - it didn't work
 
7788
  properly and is no longer beneficial.
 
7789
  (Robert Collins, #53675, #43486)
 
7790
 
 
7791
* Don't produce encoding error when adding duplicate files.
 
7792
  (Aaron Bentley)
 
7793
 
 
7794
* Fix ``bzr log <file>`` so it only logs the revisions that changed
 
7795
  the file, and does it faster.
 
7796
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
7797
 
 
7798
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
7799
  an empty versioned directory, which now has files in it.
 
7800
  (John Arbash Meinel, #104257)
 
7801
 
 
7802
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
7803
  inside the ancestry of the other. Saves a lot of graph processing
 
7804
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
7805
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
7806
 
 
7807
* Fix ``show_diff_trees`` to handle the case when a file is modified,
 
7808
  and the containing directory is renamed. (The file path is different
 
7809
  in this versus base, but it isn't marked as a rename).
 
7810
  (John Arbash Meinel, #103870)
 
7811
 
 
7812
* FTP now works even when the FTP server does not support atomic rename.
 
7813
  (Aaron Bentley, #89436)
 
7814
 
 
7815
* Correct handling in bundles and merge directives of timezones with
 
7816
  that are not an integer number of hours offset from UTC.  Always
 
7817
  represent the epoch time in UTC to avoid problems with formatting
 
7818
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
7819
  Arbash Meinel)
 
7820
 
 
7821
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
7822
 
 
7823
* "dirstate" and "dirstate-tags" formats now produce branches compatible
 
7824
  with old versions of bzr. (Aaron Bentley, #107168))
 
7825
 
 
7826
* Handle moving a directory when children have been added, removed,
 
7827
  and renamed. (John Arbash Meinel, #105479)
 
7828
 
 
7829
* Don't preventively use basic authentication for proxy before receiving a
 
7830
  407 error. Otherwise people willing to use other authentication schemes
 
7831
  may expose their password in the clear (or nearly). This add one
 
7832
  roundtrip in case basic authentication should be used, but plug the
 
7833
  security hole.
 
7834
  (Vincent Ladeuil)
 
7835
 
 
7836
* Handle http and proxy digest authentication.
 
7837
  (Vincent Ladeuil, #94034).
 
7838
 
 
7839
Testing
 
7840
*******
 
7841
 
 
7842
* Added ``bzrlib.strace.strace`` which will strace a single callable and
 
7843
  return a StraceResult object which contains just the syscalls involved
 
7844
  in running it. (Robert Collins)
 
7845
 
 
7846
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
7847
  default time down to one suitable for tests. (Andrew Bennetts)
 
7848
 
 
7849
* Add new ``vfs_transport_factory`` attribute on tests which provides the
 
7850
  common vfs backing for both the readonly and readwrite transports.
 
7851
  This allows the RemoteObject tests to back onto local disk or memory,
 
7852
  and use the existing ``transport_server`` attribute all tests know about
 
7853
  to be the smart server transport. This in turn allows tests to
 
7854
  differentiate between 'transport to access the branch', and
 
7855
  'transport which is a VFS' - which matters in Remote* tests.
 
7856
  (Robert Collins, Andrew Bennetts)
 
7857
 
 
7858
* The ``make_branch_and_tree`` method for tests will now create a
 
7859
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
7860
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
7861
 
 
7862
* Branch implementation tests have been audited to ensure that all urls
 
7863
  passed to Branch APIs use proper urls, except when local-disk paths
 
7864
  are intended. This is so that tests correctly access the test transport
 
7865
  which is often not equivalent to local disk in Remote* tests. As part
 
7866
  of this many tests were adjusted to remove dependencies on local disk
 
7867
  access.
 
7868
  (Robert Collins, Andrew Bennetts)
 
7869
 
 
7870
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
7871
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
7872
  Andrew Bennetts, Martin Pool, Jonathan Lange)
 
7873
 
 
7874
* Refactored proxy and authentication handling to simplify the
 
7875
  implementation of new auth schemes for both http and proxy.
 
7876
  (Vincent Ladeuil)
 
7877
 
 
7878
bzr 0.15
 
7879
########
 
7880
 
 
7881
:Released: 2007-04-01
 
7882
 
 
7883
Bugfixes
 
7884
********
 
7885
 
 
7886
* Handle incompatible repositories as a user issue when fetching.
 
7887
  (Aaron Bentley)
 
7888
 
 
7889
* Don't give a recommendation to upgrade when branching or
 
7890
  checking out a branch that contains an old-format working tree.
 
7891
  (Martin Pool)
 
7892
 
 
7893
bzr 0.15rc3
 
7894
###########
 
7895
 
 
7896
:Released:  2007-03-26
 
7897
 
 
7898
Changes
 
7899
*******
 
7900
 
 
7901
* A warning is now displayed when opening working trees in older
 
7902
  formats, to encourage people to upgrade to WorkingTreeFormat4.
 
7903
  (Martin Pool)
 
7904
 
 
7905
Improvements
 
7906
************
 
7907
 
 
7908
* HTTP redirections are now taken into account when a branch (or a
 
7909
  bundle) is accessed for the first time. A message is issued at each
 
7910
  redirection to inform the user. In the past, http redirections were
 
7911
  silently followed for each request which significantly degraded the
 
7912
  performances. The http redirections are not followed anymore by
 
7913
  default, instead a RedirectRequested exception is raised. For bzrlib
 
7914
  users needing to follow http redirections anyway,
 
7915
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
7916
  path.  (vila)
 
7917
 
 
7918
Internals
 
7919
*********
 
7920
 
 
7921
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
7922
  lock to an OS write lock. Linux can do this without unlocking, Win32
 
7923
  needs to unlock in between. (John Arbash Meinel)
 
7924
 
 
7925
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
7926
  to silence (when false) warnings about opening old formats.
 
7927
  (Martin Pool)
 
7928
 
 
7929
* Fix minor performance regression with bzr-0.15 on pre-dirstate
 
7930
  trees. (We were reading the working inventory too many times).
 
7931
  (John Arbash Meinel)
 
7932
 
 
7933
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
7934
  ``revision_history``.  Branch subclasses should override
 
7935
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
7936
  this cache, and call ``_clear_revision_history_cache`` and
 
7937
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
7938
 
 
7939
Bugfixes
 
7940
********
 
7941
 
 
7942
* Take ``smtp_server`` from user config into account.
 
7943
  (vila, #92195)
 
7944
 
 
7945
* Restore Unicode filename handling for versioned and unversioned files.
 
7946
  (John Arbash Meinel, #92608)
 
7947
 
 
7948
* Don't fail during ``bzr commit`` if a file is marked removed, and
 
7949
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
7950
 
 
7951
* ``bzr status FILENAME`` failed on Windows because of an uncommon
 
7952
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
7953
  (Wouter van Heyst, John Arbash Meinel, #90819)
 
7954
 
 
7955
* ``bzr checkout source`` should create a local branch in the same
 
7956
  format as source. (John Arbash Meinel, #93854)
 
7957
 
 
7958
* ``bzr commit`` with a kind change was failing to update the
 
7959
  last-changed-revision for directories.  The
 
7960
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
7961
  ignoring the fact that the kind could have changed, too.
 
7962
  (John Arbash Meinel, #90111)
 
7963
 
 
7964
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
7965
  the directory. So that there was a chance it would break commit,
 
7966
  etc. (John Arbash Meinel, #94037)
 
7967
 
 
7968
* Correctly handles mutiple permanent http redirections.
 
7969
  (vila, #88780)
 
7970
 
 
7971
bzr 0.15rc2
 
7972
###########
 
7973
 
 
7974
:Released:  2007-03-14
 
7975
 
 
7976
Notes When Upgrading
 
7977
********************
 
7978
 
 
7979
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
7980
  default to ``--trees`` instead of ``--no-trees``.
 
7981
  Existing shared repositories are not affected.
 
7982
 
 
7983
Improvements
 
7984
************
 
7985
 
 
7986
* New ``merge-directive`` command to generate machine- and human-readable
 
7987
  merge requests.  (Aaron Bentley)
 
7988
 
 
7989
* New ``submit:`` revision specifier makes it easy to diff against the
 
7990
  common ancestor with the submit location (Aaron Bentley)
 
7991
 
 
7992
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
7993
 
 
7994
* Added ``bzr status --versioned`` to report only versioned files,
 
7995
  not unknowns. (Kent Gibson)
 
7996
 
 
7997
* Merge now autodetects the correct line-ending style for its conflict
 
7998
  markers.  (Aaron Bentley)
 
7999
 
 
8000
Internals
 
8001
*********
 
8002
 
 
8003
* Refactored SSH vendor registration into SSHVendorManager class.
 
8004
  (Dmitry Vasiliev)
 
8005
 
 
8006
Bugfixes
 
8007
********
 
8008
 
 
8009
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
8010
  numbered dirs for TestCaseInTempDir. This is default behavior
 
8011
  on Windows. Anyone can force named dirs on Windows
 
8012
  with ``--no-numbered-dirs``. (Alexander Belchenko)
 
8013
 
 
8014
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
8015
  from the command line. (Marien Zwart, #90501)
 
8016
 
 
8017
* Fix ``TreeTransform._iter_changes`` when both the source and
 
8018
  destination are missing. (Aaron Bentley, #88842)
 
8019
 
 
8020
* Fix commit of merges with symlinks in dirstate trees.
 
8021
  (Marien Zwart)
 
8022
 
 
8023
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
 
8024
  (Wouter van Heyst, #53483)
 
8025
 
 
8026
 
 
8027
bzr 0.15rc1
 
8028
###########
 
8029
 
 
8030
:Released:  2007-03-07
 
8031
 
 
8032
Surprises
 
8033
*********
 
8034
 
 
8035
* The default disk format has changed. Please run 'bzr upgrade' in your
 
8036
  working trees to upgrade. This new default is compatible for network
 
8037
  operations, but not for local operations. That is, if you have two
 
8038
  versions of bzr installed locally, after upgrading you can only use the
 
8039
  bzr 0.15 version. This new default does not enable tags or nested-trees
 
8040
  as they are incompatible with bzr versions before 0.15 over the network.
 
8041
 
 
8042
* For users of bzrlib: Two major changes have been made to the working tree
 
8043
  api in bzrlib. The first is that many methods and attributes, including
 
8044
  the inventory attribute, are no longer valid for use until one of
 
8045
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
8046
  and become invalid again after unlock is called. This has been done
 
8047
  to improve performance and correctness as part of the dirstate
 
8048
  development.
 
8049
  (Robert Collins, John A Meinel, Martin Pool, and others).
 
8050
 
 
8051
* For users of bzrlib: The attribute 'tree.inventory' should be considered
 
8052
  readonly. Previously it was possible to directly alter this attribute, or
 
8053
  its contents, and have the tree notice this. This has been made
 
8054
  unsupported - it may work in some tree formats, but in the newer dirstate
 
8055
  format such actions will have no effect and will be ignored, or even
 
8056
  cause assertions. All operations possible can still be carried out by a
 
8057
  combination of the tree API, and the bzrlib.transform API. (Robert
 
8058
  Collins, John A Meinel, Martin Pool, and others).
 
8059
 
 
8060
Improvements
 
8061
************
 
8062
 
 
8063
* Support for OS Windows 98. Also .bzr.log on any windows system
 
8064
  saved in My Documents folder. (Alexander Belchenko)
 
8065
 
 
8066
* ``bzr mv`` enhanced to support already moved files.
 
8067
  In the past the mv command would have failed if the source file doesn't
 
8068
  exist. In this situation ``bzr mv`` would now detect that the file has
 
8069
  already moved and update the repository accordingly, if the target file
 
8070
  does exist.
 
8071
  A new option ``--after`` has been added so that if two files already
 
8072
  exist, you could notify Bazaar that you have moved a (versioned) file
 
8073
  and replaced it with another. Thus in this case ``bzr move --after``
 
8074
  will only update the Bazaar identifier.
 
8075
  (Steffen Eichenberg, Marius Kruger)
 
8076
 
 
8077
* ``ls`` now works on treeless branches and remote branches.
 
8078
  (Aaron Bentley)
 
8079
 
 
8080
* ``bzr help global-options`` describes the global options.
 
8081
  (Aaron Bentley)
 
8082
 
 
8083
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
8084
  (Robert Collins)
 
8085
 
 
8086
* Files are now allowed to change kind (e.g. from file to symlink).
 
8087
  Supported by ``commit``, ``revert`` and ``status``
 
8088
  (Aaron Bentley)
 
8089
 
 
8090
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
8091
  (Aaron Bentley)
 
8092
 
 
8093
* ``bzr help checkouts`` descibes what checkouts are and some possible
 
8094
  uses of them. (James Westby, Aaron Bentley)
 
8095
 
 
8096
* A new ``-d`` option to push, pull and merge overrides the default
 
8097
  directory.  (Martin Pool)
 
8098
 
 
8099
* Branch format 6: smaller, and potentially faster than format 5.  Supports
 
8100
  ``append_history_only`` mode, where the log view and revnos do not change,
 
8101
  except by being added to.  Stores policy settings in
 
8102
  ".bzr/branch/branch.conf".
 
8103
 
 
8104
* ``append_only`` branches:  Format 6 branches may be configured so that log
 
8105
  view and revnos are always consistent.  Either create the branch using
 
8106
  "bzr init --append-revisions-only" or edit the config file as descriped
 
8107
  in docs/configuration.txt.
 
8108
 
 
8109
* rebind: Format 6 branches retain the last-used bind location, so if you
 
8110
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
8111
  bind location.
 
8112
 
 
8113
* Builtin tags support, created and deleted by the ``tag`` command and
 
8114
  stored in the branch.  Tags can be accessed with the revisionspec
 
8115
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
 
8116
  at present. Tags require a network incompatible upgrade. To perform this
 
8117
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
8118
  repositories. (Martin Pool)
 
8119
 
 
8120
* The ``bzr://`` transport now has a well-known port number, 4155,
 
8121
  which it will use by default.  (Andrew Bennetts, Martin Pool)
 
8122
 
 
8123
* Bazaar now looks for user-installed plugins before looking for site-wide
 
8124
  plugins. (Jonathan Lange)
 
8125
 
 
8126
* ``bzr resolve`` now detects and marks resolved text conflicts.
 
8127
  (Aaron Bentley)
 
8128
 
 
8129
Internals
 
8130
*********
 
8131
 
 
8132
* Internally revision ids and file ids are now passed around as utf-8
 
8133
  bytestrings, rather than treating them as Unicode strings. This has
 
8134
  performance benefits for Knits, since we no longer need to decode the
 
8135
  revision id for each line of content, nor for each entry in the index.
 
8136
  This will also help with the future dirstate format.
 
8137
  (John Arbash Meinel)
 
8138
 
 
8139
* Reserved ids (any revision-id ending in a colon) are rejected by
 
8140
  versionedfiles, repositories, branches, and working trees
 
8141
  (Aaron Bentley)
 
8142
 
 
8143
* Minor performance improvement by not creating a ProgressBar for
 
8144
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
8145
  (John Arbash Meinel)
 
8146
 
 
8147
* New easier to use Branch hooks facility. There are five initial hooks,
 
8148
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
8149
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
8150
  ``'post_uncommit'``. These hooks fire after the matching operation
 
8151
  on a branch has taken place, and were originally added for the
 
8152
  branchrss plugin. (Robert Collins)
 
8153
 
 
8154
* New method ``Branch.push()`` which should be used when pushing from a
 
8155
  branch as it makes performance and policy decisions to match the UI
 
8156
  level command ``push``. (Robert Collins).
 
8157
 
 
8158
* Add a new method ``Tree.revision_tree`` which allows access to cached
 
8159
  trees for arbitrary revisions. This allows the in development dirstate
 
8160
  tree format to provide access to the callers to cached copies of
 
8161
  inventory data which are cheaper to access than inventories from the
 
8162
  repository.
 
8163
  (Robert Collins, Martin Pool)
 
8164
 
 
8165
* New ``Branch.last_revision_info`` method, this is being done to allow
 
8166
  optimization of requests for both the number of revisions and the last
 
8167
  revision of a branch with smartservers and potentially future branch
 
8168
  formats. (Wouter van Heyst, Robert Collins)
 
8169
 
 
8170
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
8171
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
8172
  other for code reuse without requiring users to perform file-renaming
 
8173
  gymnastics. (Robert Collins)
 
8174
 
 
8175
* New Repository method ``'gather_stats'`` for statistic data collection.
 
8176
  This is expected to grow to cover a number of related uses mainly
 
8177
  related to bzr info. (Robert Collins)
 
8178
 
 
8179
* Log formatters are now managed with a registry.
 
8180
  ``log.register_formatter`` continues to work, but callers accessing
 
8181
  the FORMATTERS dictionary directly will not.
 
8182
 
 
8183
* Allow a start message to be passed to the ``edit_commit_message``
 
8184
  function.  This will be placed in the message offered to the user
 
8185
  for editing above the separator. It allows a template commit message
 
8186
  to be used more easily. (James Westby)
 
8187
 
 
8188
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
8189
  you pass a Unicode string rather than an 8-bit string. Callers need
 
8190
  to be updated to encode first. (John Arbash Meinel)
 
8191
 
 
8192
* Branch.push, pull, merge now return Result objects with information
 
8193
  about what happened, rather than a scattering of various methods.  These
 
8194
  are also passed to the post hooks.  (Martin Pool)
 
8195
 
 
8196
* File formats and architecture is in place for managing a forest of trees
 
8197
  in bzr, and splitting up existing trees into smaller subtrees, and
 
8198
  finally joining trees to make a larger tree. This is the first iteration
 
8199
  of this support, and the user-facing aspects still require substantial
 
8200
  work.  If you wish to experiment with it, use ``bzr upgrade
 
8201
  --dirstate-with-subtree`` in your working trees and repositories.
 
8202
  You can use the hidden commands ``split`` and ``join`` and to create
 
8203
  and manipulate nested trees, but please consider using the nested-trees
 
8204
  branch, which contains substantial UI improvements, instead.
 
8205
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
8206
  (Aaron Bentley, Martin Pool, Robert Collins).
 
8207
 
 
8208
Bugfixes
 
8209
********
 
8210
 
 
8211
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
8212
  branch, rather than the last changed revision of the file.
 
8213
  (John Arbash Meinel, #82158)
 
8214
 
 
8215
* Lock operations no longer hang if they encounter a permission problem.
 
8216
  (Aaron Bentley)
 
8217
 
 
8218
* ``bzr push`` can resume a push that was canceled before it finished.
 
8219
  Also, it can push even if the target directory exists if you supply
 
8220
  the ``--use-existing-dir`` flag.
 
8221
  (John Arbash Meinel, #30576, #45504)
 
8222
 
 
8223
* Fix http proxy authentication when user and an optional
 
8224
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
8225
  #83954).
 
8226
 
 
8227
* ``bzr log branch/file`` works for local treeless branches
 
8228
  (Aaron Bentley, #84247)
 
8229
 
 
8230
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
8231
 
 
8232
* Searching location of CA bundle for PyCurl in env variable
 
8233
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
8234
  (Alexander Belchenko, #82086)
 
8235
 
 
8236
* ``bzr init`` works with unicode argument LOCATION.
 
8237
  (Alexander Belchenko, #85599)
 
8238
 
 
8239
* Raise ``DependencyNotPresent`` if pycurl do not support https.
 
8240
  (Vincent Ladeuil, #85305)
 
8241
 
 
8242
* Invalid proxy env variables should not cause a traceback.
 
8243
  (Vincent Ladeuil, #87765)
 
8244
 
 
8245
* Ignore patterns normalised to use '/' path separator.
 
8246
  (Kent Gibson, #86451)
 
8247
 
 
8248
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
8249
 
 
8250
* Fix bzrtools shelve command for removed lines beginning with "--"
 
8251
  (Johan Dahlberg, #75577)
 
8252
 
 
8253
Testing
 
8254
*******
 
8255
 
 
8256
* New ``--first`` option to ``bzr selftest`` to run specified tests
 
8257
  before the rest of the suite.  (Martin Pool)
 
8258
 
 
8259
 
 
8260
bzr 0.14
 
8261
########
 
8262
 
 
8263
:Released:  2007-01-23
 
8264
 
 
8265
Improvements
 
8266
************
 
8267
 
 
8268
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
8269
 
 
8270
Bug Fixes
 
8271
*********
 
8272
 
 
8273
* Skip documentation generation tests if the tools to do so are not
 
8274
  available. Fixes running selftest for installled copies of bzr.
 
8275
  (John Arbash Meinel, #80330)
 
8276
 
 
8277
* Fix the code that discovers whether bzr is being run from it's
 
8278
  working tree to handle the case when it isn't but the directory
 
8279
  it is in is below a repository. (James Westby, #77306)
 
8280
 
 
8281
 
 
8282
bzr 0.14rc1
 
8283
###########
 
8284
 
 
8285
:Released:  2007-01-16
 
8286
 
 
8287
Improvements
 
8288
************
 
8289
 
 
8290
* New connection: ``bzr+http://`` which supports tunnelling the smart
 
8291
  protocol over an HTTP connection. If writing is enabled on the bzr
 
8292
  server, then you can write over the http connection.
 
8293
  (Andrew Bennetts, John Arbash Meinel)
 
8294
 
 
8295
* Aliases now support quotation marks, so they can contain whitespace
 
8296
  (Marius Kruger)
 
8297
 
 
8298
* PyCurlTransport now use a single curl object. By specifying explicitly
 
8299
  the 'Range' header, we avoid the need to use two different curl objects
 
8300
  (and two connections to the same server). (Vincent Ladeuil)
 
8301
 
 
8302
* ``bzr commit`` does not prompt for a message until it is very likely to
 
8303
  succeed.  (Aaron Bentley)
 
8304
 
 
8305
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
8306
  (Aaron Bentley)
 
8307
 
 
8308
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
8309
  of a list while checking if a revision id was requested. Takes 10s
 
8310
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
8311
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
8312
  filtering lines with a regex rather than multiple ``str.find()``
 
8313
  calls. (saves another 300ms) (John Arbash Meinel)
 
8314
 
 
8315
* Policy can be set for each configuration key. This allows keys to be
 
8316
  inherited properly across configuration entries. For example, this
 
8317
  should enable you to do::
 
8318
 
 
8319
    [/home/user/project]
 
8320
    push_location = sftp://host/srv/project/
 
8321
    push_location:policy = appendpath
 
8322
 
 
8323
  And then a branch like ``/home/user/project/mybranch`` should get an
 
8324
  automatic push location of ``sftp://host/srv/project/mybranch``.
 
8325
  (James Henstridge)
 
8326
 
 
8327
* Added ``bzr status --short`` to make status report svn style flags
 
8328
  for each file.  For example::
 
8329
 
 
8330
    $ bzr status --short
 
8331
    A  foo
 
8332
    A  bar
 
8333
    D  baz
 
8334
    ?  wooley
 
8335
 
 
8336
* 'bzr selftest --clean-output' allows easily clean temporary tests
 
8337
  directories without running tests. (Alexander Belchenko)
 
8338
 
 
8339
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
8340
 
 
8341
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
8342
  local is fully merged into remote. (Jan Hudec)
 
8343
 
 
8344
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
8345
 
 
8346
Internals
 
8347
*********
 
8348
 
 
8349
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
8350
  help speed up processing, as well allowing to extract unannotated
 
8351
  lines. Between the two ``fileids_affected_by_revision_ids`` is
 
8352
  improved by approx 10%. (John Arbash Meinel)
 
8353
 
 
8354
* Change Revision serialization to only write out millisecond
 
8355
  resolution. Rather than expecting floating point serialization to
 
8356
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
8357
 
 
8358
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
8359
 
 
8360
* When ``encoding_type`` attribute of class Command is equal to 'exact',
 
8361
  force sys.stdout to be a binary stream on Windows, and therefore
 
8362
  keep exact line-endings (without LF -> CRLF conversion).
 
8363
  (Alexander Belchenko)
 
8364
 
 
8365
* Single-letter short options are no longer globally declared.  (Martin
 
8366
  Pool)
 
8367
 
 
8368
* Before using detected user/terminal encoding bzr should check
 
8369
  that Python has corresponding codec. (Alexander Belchenko)
 
8370
 
 
8371
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
8372
 
 
8373
Bug Fixes
 
8374
*********
 
8375
 
 
8376
* ``bzr missing --verbose`` was showing adds/removals in the wrong
 
8377
  direction. (John Arbash Meinel)
 
8378
 
 
8379
* ``bzr annotate`` now defaults to showing dotted revnos for merged
 
8380
  revisions. It cuts them off at a depth of 12 characters, but you can
 
8381
  supply ``--long`` to see the full number. You can also use
 
8382
  ``--show-ids`` to display the original revision ids, rather than
 
8383
  revision numbers and committer names. (John Arbash Meinel, #75637)
 
8384
 
 
8385
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
 
8386
  (Alexander Belchenko, #57869)
 
8387
 
 
8388
* Win32-specific: output of cat, bundle and diff commands don't mangle
 
8389
  line-endings (Alexander Belchenko, #55276)
 
8390
 
 
8391
* Replace broken fnmatch based ignore pattern matching with custom pattern
 
8392
  matcher.
 
8393
  (Kent Gibson, Jan Hudec #57637)
 
8394
 
 
8395
* pycurl and urllib can detect short reads at different places. Update
 
8396
  the test suite to test more cases. Also detect http error code 416
 
8397
  which was raised for that specific bug. Also enhance the urllib
 
8398
  robustness by detecting invalid ranges (and pycurl's one by detecting
 
8399
  short reads during the initial GET). (Vincent Ladeuil, #73948)
 
8400
 
 
8401
* The urllib connection sharing interacts badly with urllib2
 
8402
  proxy setting (the connections didn't go thru the proxy
 
8403
  anymore). Defining a proper ProxyHandler solves the
 
8404
  problem.  (Vincent Ladeuil, #74759)
 
8405
 
 
8406
* Use urlutils to generate relative URLs, not osutils
 
8407
  (Aaron Bentley, #76229)
 
8408
 
 
8409
* ``bzr status`` in a readonly directory should work without giving
 
8410
  lots of errors. (John Arbash Meinel, #76299)
 
8411
 
 
8412
* Mention the revisionspec topic for the revision option help.
 
8413
  (Wouter van Heyst, #31663)
 
8414
 
 
8415
* Allow plugins import from zip archives.
 
8416
  (Alexander Belchenko, #68124)
 
8417
 
 
8418
 
 
8419
bzr 0.13
 
8420
########
 
8421
 
 
8422
:Released:  2006-12-05
 
8423
 
 
8424
No changes from 0.13rc
 
8425
 
 
8426
 
 
8427
bzr 0.13rc1
 
8428
###########
 
8429
 
 
8430
:Released:  2006-11-27
 
8431
 
 
8432
Improvements
 
8433
************
 
8434
 
 
8435
* New command ``bzr remove-tree`` allows the removal of the working
 
8436
  tree from a branch.
 
8437
  (Daniel Silverstone)
 
8438
 
 
8439
* urllib uses shared keep-alive connections, so http
 
8440
  operations are substantially faster.
 
8441
  (Vincent Ladeuil, #53654)
 
8442
 
 
8443
* ``bzr export`` allows an optional branch parameter, to export a bzr
 
8444
  tree from some other url. For example:
 
8445
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
8446
  (Daniel Silverstone)
 
8447
 
 
8448
* Added ``bzr help topics`` to the bzr help system. This gives a
 
8449
  location for general information, outside of a specific command.
 
8450
  This includes updates for ``bzr help revisionspec`` the first topic
 
8451
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
8452
 
 
8453
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
8454
  (Andrew Bennetts)
 
8455
 
 
8456
* Knit files will now cache full texts only when the size of the
 
8457
  deltas is as large as the size of the fulltext. (Or after 200
 
8458
  deltas, whichever comes first). This has the most benefit on large
 
8459
  files with small changes, such as the inventory for a large project.
 
8460
  (eg For a project with 2500 files, and 7500 revisions, it changes
 
8461
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
8462
 
 
8463
Internals
 
8464
*********
 
8465
 
 
8466
* New -D option given before the command line turns on debugging output
 
8467
  for particular areas.  -Derror shows tracebacks on all errors.
 
8468
  (Martin Pool)
 
8469
 
 
8470
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
8471
  and remove benchmarks that take longer than 10min to run.
 
8472
  (John Arbash Meinel)
 
8473
 
 
8474
* Use ``time.time()`` instead of ``time.clock()`` to decide on
 
8475
  progress throttling. Because ``time.clock()`` is actually CPU time,
 
8476
  so over a high-latency connection, too many updates get throttled.
 
8477
  (John Arbash Meinel)
 
8478
 
 
8479
* ``MemoryTransport.list_dir()`` would strip the first character for
 
8480
  files or directories in root directory. (John Arbash Meinel)
 
8481
 
 
8482
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
 
8483
  branch references - which the smart server component needs.
 
8484
 
 
8485
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
8486
  prefix.  It disallows any access to locations above a set URL.  (Andrew
 
8487
  Bennetts)
 
8488
 
 
8489
Bug Fixes
 
8490
*********
 
8491
 
 
8492
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
8493
  And optimize the knit index parsing code.
 
8494
  (Dmitry Vasiliev, John Arbash Meinel)
 
8495
 
 
8496
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
8497
  without importing it. This prevented ``bzr upgrade`` from working
 
8498
  unless a plugin already imported ``bzrlib.workingtree``
 
8499
  (John Arbash Meinel, #70716)
 
8500
 
 
8501
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
8502
 
 
8503
* Give nicer error message when an http server returns a 403
 
8504
  error code. (Vincent Ladeuil, #57644).
 
8505
 
 
8506
* When a multi-range http GET request fails, try a single
 
8507
  range one. If it fails too, forget about ranges. Remember that until
 
8508
  the death of the transport and propagates that to the clones.
 
8509
  (Vincent Ladeuil, #62276, #62029).
 
8510
 
 
8511
* Handles user/passwords supplied in url from command
 
8512
  line (for the urllib implementation). Don't request already
 
8513
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
8514
 
 
8515
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
8516
  are added. This fixes bug where fetching remote revisions records
 
8517
  them as full references rather than integers.
 
8518
  (John Arbash Meinel, #64789)
 
8519
 
 
8520
* ``bzr ignore`` strips trailing slashes in patterns.
 
8521
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
8522
 
 
8523
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
8524
 
 
8525
* mv correctly handles paths that traverse symlinks.
 
8526
  (Aaron Bentley, #66964)
 
8527
 
 
8528
* Give nicer looking error messages when failing to connect over ssh.
 
8529
  (John Arbash Meinel, #49172)
 
8530
 
 
8531
* Pushing to a remote branch does not currently update the remote working
 
8532
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
8533
  machine now show that the working tree is out of date.
 
8534
  (Cheuksan Edward Wang #48136)
 
8535
 
 
8536
* Use patiencediff instead of difflib for determining deltas to insert
 
8537
  into knits. This avoids the O(N^3) behavior of difflib. Patience
 
8538
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
8539
 
 
8540
* Running ``bzr log`` on nonexistent file gives an error instead of the
 
8541
  entire log history. (Cheuksan Edward Wang #50793)
 
8542
 
 
8543
* ``bzr cat`` can look up contents of removed or renamed files. If the
 
8544
  pathname is ambiguous, i.e. the files in the old and new trees have
 
8545
  different id's, the default is the file in the new tree. The user can
 
8546
  use "--name-from-revision" to select the file in the old tree.
 
8547
  (Cheuksan Edward Wang, #30190)
 
8548
 
 
8549
Testing
 
8550
*******
 
8551
 
 
8552
* TestingHTTPRequestHandler really handles the Range header
 
8553
  (previously it was ignoring it and returning the whole file,).
 
8554
 
 
8555
bzr 0.12
 
8556
########
 
8557
 
 
8558
:Released:  2006-10-30
 
8559
 
 
8560
Internals
 
8561
*********
 
8562
 
 
8563
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
8564
  and remove benchmarks that take longer than 10min to run.
 
8565
  (John Arbash Meinel)
 
8566
 
 
8567
bzr 0.12rc1
 
8568
###########
 
8569
 
 
8570
:Released:  2006-10-23
 
8571
 
 
8572
Improvements
 
8573
************
 
8574
 
 
8575
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
8576
  rather than just showing a decimal revision number for revisions on the
 
8577
  mainline. These revision numbers are not yet accepted as input into bzr
 
8578
  commands such as log, diff etc. (Robert Collins)
 
8579
 
 
8580
* revisions can now be specified using dotted-decimal revision numbers.
 
8581
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
8582
 
 
8583
* ``bzr help commands`` output is now shorter (Aaron Bentley)
 
8584
 
 
8585
* ``bzr`` now uses lazy importing to reduce the startup time. This has
 
8586
  a moderate effect on lots of actions, especially ones that have
 
8587
  little to do. For example ``bzr rocks`` time is down to 116ms from
 
8588
  283ms. (John Arbash Meinel)
 
8589
 
 
8590
* New Registry class to provide name-to-object registry-like support,
 
8591
  for example for schemes where plugins can register new classes to
 
8592
  do certain tasks (e.g. log formatters). Also provides lazy registration
 
8593
  to allow modules to be loaded on request.
 
8594
  (John Arbash Meinel, Adeodato Simó)
 
8595
 
 
8596
API Incompatability
 
8597
*******************
 
8598
 
 
8599
* LogFormatter subclasses show now expect the 'revno' parameter to
 
8600
  show() to be a string rather than an int. (Robert Collins)
 
8601
 
 
8602
Internals
 
8603
*********
 
8604
 
 
8605
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
8606
  can take a ``working_dir='foo'`` parameter, which will change directory
 
8607
  for the command. (John Arbash Meinel)
 
8608
 
 
8609
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
8610
  around a regex, which defers compilation until first use.
 
8611
  (John Arbash Meinel)
 
8612
 
 
8613
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
8614
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
8615
  problems with system-wide installed plugins. (John Arbash Meinel)
 
8616
 
 
8617
* Unique tree root ids are now supported. Newly created trees still
 
8618
  use the common root id for compatibility with bzr versions before 0.12.
 
8619
  (Aaron Bentley)
 
8620
 
 
8621
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
8622
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
8623
  (Robert Collins, John Arbash Meinel)
 
8624
 
 
8625
* New method ``WorkingTree.flush()`` which will write the current memory
 
8626
  inventory out to disk. At the same time, ``read_working_inventory`` will
 
8627
  no longer trash the current tree inventory if it has been modified within
 
8628
  the current lock, and the tree will now ``flush()`` automatically on
 
8629
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
8630
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
8631
 
 
8632
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
8633
  parameter will cause it to add another column to its output, which
 
8634
  contains the dotted-decimal revno for each revision, as a tuple.
 
8635
  (Robert Collins)
 
8636
 
 
8637
* ``LogFormatter.show_merge`` is deprecated in favour of
 
8638
  ``LogFormatter.show_merge_revno``. (Robert Collins)
 
8639
 
 
8640
Bug Fixes
 
8641
*********
 
8642
 
 
8643
* Avoid circular imports by creating a deprecated function for
 
8644
  ``bzrlib.tree.RevisionTree``. Callers should have been using
 
8645
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
8646
  #66349)
 
8647
 
 
8648
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
8649
  platforms. (Martin Pool, #66356)
 
8650
 
 
8651
* Don't require ``Content-Type`` in range responses. Assume they are a
 
8652
  single range if ``Content-Type`` does not exist.
 
8653
  (John Arbash Meinel, #62473)
 
8654
 
 
8655
* bzr branch/pull no longer complain about progress bar cleanup when
 
8656
  interrupted during fetch.  (Aaron Bentley, #54000)
 
8657
 
 
8658
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
8659
  the basis inventory, rather than going through the repository. This
 
8660
  allows us to have 1 inventory read, and 2 inventory writes when
 
8661
  committing a new tree. (John Arbash Meinel)
 
8662
 
 
8663
* When reverting, files that are not locally modified that do not exist
 
8664
  in the target are deleted, not just unversioned (Aaron Bentley)
 
8665
 
 
8666
* When trying to acquire a lock, don't fail immediately. Instead, try
 
8667
  a few times (up to 1 hour) before timing out. Also, report why the
 
8668
  lock is unavailable (John Arbash Meinel, #43521, #49556)
 
8669
 
 
8670
* Leave HttpTransportBase daughter classes decides how they
 
8671
  implement cloning. (Vincent Ladeuil, #61606)
 
8672
 
 
8673
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
8674
 
 
8675
* If a commit fails, the commit message is stored in a file at the root of
 
8676
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
8677
  #32054)
 
8678
 
 
8679
Testing
 
8680
*******
 
8681
 
 
8682
* New test base class TestCaseWithMemoryTransport offers memory-only
 
8683
  testing facilities: its not suitable for tests that need to mutate disk
 
8684
  state, but most tests should not need that and should be converted to
 
8685
  TestCaseWithMemoryTransport. (Robert Collins)
 
8686
 
 
8687
* ``TestCase.make_branch_and_memory_tree`` now takes a format
 
8688
  option to set the BzrDir, Repository and Branch formats of the
 
8689
  created objects. (Robert Collins, John Arbash Meinel)
 
8690
 
 
8691
bzr 0.11
 
8692
########
 
8693
 
 
8694
:Released:  2006-10-02
 
8695
 
 
8696
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
8697
 
 
8698
bzr 0.11rc2
 
8699
###########
 
8700
 
 
8701
:Released:  2006-09-27
 
8702
 
 
8703
Bug Fixes
 
8704
*********
 
8705
 
 
8706
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
8707
 
 
8708
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
8709
  Arbash Meinel).
 
8710
 
 
8711
bzr 0.11rc1
 
8712
###########
 
8713
 
 
8714
:Released:  2006-09-25
 
8715
 
 
8716
Improvements
 
8717
************
 
8718
 
 
8719
* Knit files now wait to create their contents until the first data is
 
8720
  added. The old code used to create an empty .knit and a .kndx with just
 
8721
  the header. However, this caused a lot of extra round trips over sftp.
 
8722
  This can change the time for ``bzr push`` to create a new remote branch
 
8723
  from 160s down to 100s. This also affects ``bzr commit`` performance when
 
8724
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
8725
  down to 40s (John Arbash Meinel, #44692)
 
8726
 
 
8727
* When an entire subtree has been deleted, commit will now report that
 
8728
  just the top of the subtree has been deleted, rather than reporting
 
8729
  all the individual items. (Robert Collins)
 
8730
 
 
8731
* Commit performs one less XML parse. (Robert Collins)
 
8732
 
 
8733
* ``bzr checkout`` now operates on readonly branches as well
 
8734
  as readwrite branches. This fixes bug #39542. (Robert Collins)
 
8735
 
 
8736
* ``bzr bind`` no longer synchronises history with the master branch.
 
8737
  Binding should be followed by an update or push to synchronise the
 
8738
  two branches. This is closely related to the fix for bug #39542.
 
8739
  (Robert Collins)
 
8740
 
 
8741
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
 
8742
  objects.  This allows all imports to stay at the global scope, but
 
8743
  modules will not actually be imported if they are not used.
 
8744
  (John Arbash Meinel)
 
8745
 
 
8746
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
8747
  transport which will be used with the upcoming high-performance smart
 
8748
  server. The new command ``bzr serve`` will invoke bzr in server mode,
 
8749
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
8750
  Pool)
 
8751
 
 
8752
* New command ``bzr version-info`` which can be used to get a summary
 
8753
  of the current state of the tree. This is especially useful as part
 
8754
  of a build commands. See ``doc/version_info.txt`` for more information
 
8755
  (John Arbash Meinel)
 
8756
 
 
8757
Bug Fixes
 
8758
*********
 
8759
 
 
8760
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
8761
  specific set of files. (John Arbash Meinel, #3631)
 
8762
 
 
8763
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
8764
 
 
8765
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
8766
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
8767
  reading a nested Stanza. (John Arbash Meinel)
 
8768
 
 
8769
* Transform._set_mode() needs to stat the right file.
 
8770
  (John Arbash Meinel, #56549)
 
8771
 
 
8772
* Raise WeaveFormatError rather than StopIteration when trying to read
 
8773
  an empty Weave file. (John Arbash Meinel, #46871)
 
8774
 
 
8775
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
8776
  (Vincent Ladeuil, #59835)
 
8777
 
 
8778
* Handle boundary="" lines properly to allow access through a Squid proxy.
 
8779
  (John Arbash Meinel, #57723)
 
8780
 
 
8781
* revert now removes newly-added directories (Aaron Bentley, #54172)
 
8782
 
 
8783
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
 
8784
  isn't a working tree. (David Allouche, #40679)
 
8785
 
 
8786
* Give nicer error messages when a user supplies an invalid --revision
 
8787
  parameter. (John Arbash Meinel, #55420)
 
8788
 
 
8789
* Handle when LANG is not recognized by python. Emit a warning, but
 
8790
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
8791
 
 
8792
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
8793
  (John Arbash Meinel)
 
8794
 
 
8795
* Skip specific tests when the dependencies aren't met. This includes
 
8796
  some ``setup.py`` tests when ``python-dev`` is not available, and
 
8797
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
8798
 
 
8799
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
8800
  the system. (Andrew Bennetts, John Arbash Meinel)
 
8801
 
 
8802
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
8803
  other branch, and will not push or pull between the two branches.
 
8804
  API users will need to perform a push or pull or update operation if they
 
8805
  require branch synchronisation to take place. (Robert Collins, #47344)
 
8806
 
 
8807
* When creating a tarball or zipfile export, export unicode names as utf-8
 
8808
  paths. This may not work perfectly on all platforms, but has the best
 
8809
  chance of working in the common case. (John Arbash Meinel, #56816)
 
8810
 
 
8811
* When committing, only files that exist in working tree or basis tree
 
8812
  may be specified (Aaron Bentley, #50793)
 
8813
 
 
8814
Portability
 
8815
***********
 
8816
 
 
8817
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
8818
 
 
8819
Internals
 
8820
*********
 
8821
 
 
8822
* TestCaseInTempDir now creates a separate directory for HOME, rather
 
8823
  than having HOME set to the same location as the working directory.
 
8824
  (John Arbash Meinel)
 
8825
 
 
8826
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
8827
  which will update os.environ inside the spawned child. It also can
 
8828
  take a ``universal_newlines=True``, which helps when checking the output
 
8829
  of the command. (John Arbash Meinel)
 
8830
 
 
8831
* Refactor SFTP vendors to allow easier re-use when ssh is used.
 
8832
  (Andrew Bennetts)
 
8833
 
 
8834
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
8835
  return urlescaped paths. This is now tested (there were bugs in a few
 
8836
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
8837
 
 
8838
* New utility function ``symbol_versioning.deprecation_string``. Returns the
 
8839
  formatted string for a callable, deprecation format pair. (Robert Collins)
 
8840
 
 
8841
* New TestCase helper applyDeprecated. This allows you to call a callable
 
8842
  which is deprecated without it spewing to the screen, just by supplying
 
8843
  the deprecation format string issued for it. (Robert Collins)
 
8844
 
 
8845
* Transport.append and Transport.put have been deprecated in favor of
 
8846
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
8847
  ``.put_file``. This removes the ambiguity in what type of object the
 
8848
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
8849
  been added. Which works similarly to ``Transport.append()`` except for
 
8850
  SFTP, it doesn't have a round trip when opening the file. Also, it
 
8851
  provides functionality for creating a parent directory when trying
 
8852
  to create a file, rather than raise NoSuchFile and forcing the
 
8853
  caller to repeat their request.
 
8854
  (John Arbash Meinel)
 
8855
 
 
8856
* WorkingTree has a new api ``unversion`` which allow the unversioning of
 
8857
  entries by their file id. (Robert Collins)
 
8858
 
 
8859
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
8860
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
8861
 
 
8862
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
8863
  read rather than write. This is appropriate for actions which only need
 
8864
  the branch data for reference rather than mutation. A new decorator
 
8865
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
8866
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
 
8867
  declaration of the locking requirements of a function to ensure that
 
8868
  a lock is taken out for casual scripts. (Robert Collins, #54107)
 
8869
 
 
8870
* All WorkingTree methods which write to the tree, but not to the branch
 
8871
  have been converted to use ``needs_tree_write_lock`` rather than
 
8872
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
8873
  transform modules. This provides a modest performance improvement on
 
8874
  metadir style trees, due to the reduce lock-acquisition, and a more
 
8875
  significant performance improvement on lightweight checkouts from
 
8876
  remote branches, where trivial operations used to pay a significant
 
8877
  penalty. It also provides the basis for allowing readonly checkouts.
 
8878
  (Robert Collins)
 
8879
 
 
8880
* Special case importing the standard library 'copy' module. This shaves
 
8881
  off 40ms of startup time, while retaining compatibility. See:
 
8882
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
8883
 
 
8884
* WorkingTree has a new parent class MutableTree which represents the
 
8885
  specialisations of Tree which are able to be altered. (Robert Collins)
 
8886
 
 
8887
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
8888
  mutate the tree and its contents. (Robert Collins)
 
8889
 
 
8890
* Transport behaviour at the root of the URL is now defined and tested.
 
8891
  (Andrew Bennetts, Robert Collins)
 
8892
 
 
8893
Testing
 
8894
*******
 
8895
 
 
8896
* New test helper classs MemoryTree. This is typically accessed via
 
8897
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
8898
 
 
8899
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
8900
  code to continue running concurrently with a subprocess of bzr.
 
8901
  (Andrew Bennetts, Robert Collins)
 
8902
 
 
8903
* Add a new method ``Transport.get_smart_client()``. This is provided to
 
8904
  allow upgrades to a richer interface than the VFS one provided by
 
8905
  Transport. (Andrew Bennetts, Martin Pool)
 
8906
 
 
8907
bzr 0.10
 
8908
########
 
8909
 
 
8910
:Released:  2006-08-29
 
8911
 
 
8912
Improvements
 
8913
************
 
8914
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
8915
  tree.  (Aaron Bentley)
 
8916
 
 
8917
* 'bzr add --file-ids-from' can be used to specify another path to use
 
8918
  for creating file ids, rather than generating all new ones. Internally,
 
8919
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
8920
  will be used, rather than having bzrlib generate new ones.
 
8921
  (John Arbash Meinel, #55781)
 
8922
 
 
8923
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
8924
  This will cache some of the intermediate trees, and decrease the
 
8925
  setup time for benchmark tests. (John Arbash Meinel)
 
8926
 
 
8927
* Inverse forms are provided for all boolean options.  For example,
 
8928
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
8929
 
 
8930
* Serialize out Inventories directly, rather than using ElementTree.
 
8931
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
8932
  (Robert Collins, John Arbash Meinel)
 
8933
 
 
8934
Bug Fixes
 
8935
*********
 
8936
 
 
8937
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
8938
 
 
8939
* Change LockDir so that if the lock directory doesn't exist when
 
8940
  ``lock_write()`` is called, an attempt will be made to create it.
 
8941
  (John Arbash Meinel, #56974)
 
8942
 
 
8943
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
8944
 
 
8945
* Active FTP transport now works as intended. (ghozzy, #56472)
 
8946
 
 
8947
* Really fix mutter() so that it won't ever raise a UnicodeError.
 
8948
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
8949
  But it is a debugging log, not a real user file.
 
8950
  (John Arbash Meinel, #56947, #53880)
 
8951
 
 
8952
* Change Command handle to allow Unicode command and options.
 
8953
  At present we cannot register Unicode command names, so we will get
 
8954
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
8955
  But that is better than a UnicodeError + a traceback.
 
8956
  (John Arbash Meinel, #57123)
 
8957
 
 
8958
* Handle TZ=UTC properly when reading/writing revisions.
 
8959
  (John Arbash Meinel, #55783, #56290)
 
8960
 
 
8961
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
8962
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
8963
 
 
8964
* External diff does the right thing for binaries even in foreign
 
8965
  languages. (John Arbash Meinel, #56307)
 
8966
 
 
8967
* Testament handles more cases when content is unicode. Specific bug was
 
8968
  in handling of revision properties.
 
8969
  (John Arbash Meinel, Holger Krekel, #54723)
 
8970
 
 
8971
* The bzr selftest was failing on installed versions due to a bug in a new
 
8972
  test helper. (John Arbash Meinel, Robert Collins, #58057)
 
8973
 
 
8974
Internals
 
8975
*********
 
8976
 
 
8977
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
8978
  which can be used to cache the conversion between utf8 and Unicode.
 
8979
  Especially helpful for some of the knit annotation code, which has to
 
8980
  convert revision ids to utf8 to annotate lines in storage.
 
8981
  (John Arbash Meinel)
 
8982
 
 
8983
* ``setup.py`` now searches the filesystem to find all packages which
 
8984
  need to be installed. This should help make the life of packagers
 
8985
  easier. (John Arbash Meinel)
 
8986
 
 
8987
bzr 0.9.0
 
8988
#########
 
8989
 
 
8990
:Released:  2006-08-11
 
8991
 
 
8992
Surprises
 
8993
*********
 
8994
 
 
8995
* The hard-coded built-in ignore rules have been removed. There are
 
8996
  now two rulesets which are enforced. A user global one in
 
8997
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
8998
  specific one '.bzrignore'.
 
8999
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
9000
  a more conservative list than the old default.
 
9001
  This fixes bugs with default rules being enforced no matter what.
 
9002
  The old list of ignore rules from bzr is available by
 
9003
  running 'bzr ignore --old-default-rules'.
 
9004
  (Robert Collins, Martin Pool, John Arbash Meinel)
 
9005
 
 
9006
* 'branches.conf' has been changed to 'locations.conf', since it can apply
 
9007
  to more locations than just branch locations.
 
9008
  (Aaron Bentley)
 
9009
 
 
9010
Improvements
 
9011
************
 
9012
 
 
9013
* The revision specifier "revno:" is extended to accept the syntax
 
9014
  revno:N:branch. For example,
 
9015
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
9016
  bzr.dev.  (Matthieu Moy)
 
9017
 
 
9018
* Tests updates to ensure proper URL handling, UNICODE support, and
 
9019
  proper printing when the user's terminal encoding cannot display
 
9020
  the path of a file that has been versioned.
 
9021
  ``bzr branch`` can take a target URL rather than only a local directory.
 
9022
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
9023
  and normalize the parent based on root, allowing access across
 
9024
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
9025
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
9026
  #42517, #42514)
 
9027
 
 
9028
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
9029
  Use terminal width for single-line logs from ``bzr log --line`` and
 
9030
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
9031
  (Malone #3507)
 
9032
 
 
9033
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
9034
  (Alexander Belchenko)
 
9035
 
 
9036
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
9037
 
 
9038
* Show the correct number of revisions pushed when pushing a new branch.
 
9039
  (Robert Collins).
 
9040
 
 
9041
* 'bzr selftest' now shows a progress bar with the number of tests, and
 
9042
  progress made. 'make check' shows tests in -v mode, to be more useful
 
9043
  for the PQM status window. (Robert Collins).
 
9044
  When using a progress bar, failed tests are printed out, rather than
 
9045
  being overwritten by the progress bar until the suite finishes.
 
9046
  (John Arbash Meinel)
 
9047
 
 
9048
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
9049
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
9050
  profile data for the individual profiled calls, allowing for fine
 
9051
  grained analysis of performance.
 
9052
  (Robert Collins, Martin Pool).
 
9053
 
 
9054
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
9055
  where commit can take an appreciable time. (Robert Collins)
 
9056
 
 
9057
* 'bzr add' is now less verbose in telling you what ignore globs were
 
9058
  matched by files being ignored. Instead it just tells you how many
 
9059
  were ignored (because you might reasonably be expecting none to be
 
9060
  ignored). 'bzr add -v' is unchanged and will report every ignored
 
9061
  file. (Robert Collins).
 
9062
 
 
9063
* ftp now has a test server if medusa is installed. As part of testing,
 
9064
  ftp support has been improved, including support for supplying a
 
9065
  non-standard port. (John Arbash Meinel).
 
9066
 
 
9067
* 'bzr log --line' shows the revision number, and uses only the
 
9068
  first line of the log message (#5162, Alexander Belchenko;
 
9069
  Matthieu Moy)
 
9070
 
 
9071
* 'bzr status' has had the --all option removed. The 'bzr ls' command
 
9072
  should be used to retrieve all versioned files. (Robert Collins)
 
9073
 
 
9074
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
9075
  over email, and applied on the other end, while maintaining ancestry.
 
9076
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
9077
  the same way you would apply another branch.
 
9078
  (John Arbash Meinel, Aaron Bentley)
 
9079
 
 
9080
* 'bzr whoami' can now be used to set your identity from the command line,
 
9081
  for a branch or globally.  (Robey Pointer)
 
9082
 
 
9083
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
9084
  (Michael Ellerman)
 
9085
 
 
9086
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
9087
  (Aaron Bentley)
 
9088
 
 
9089
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
9090
  Also updates things like 'http+pycurl://' if pycurl is not present.
 
9091
  (John Arbash Meinel) (Malone #47821, #52204)
 
9092
 
 
9093
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
9094
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
 
9095
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
9096
 
 
9097
* Improve the help text for 'bzr diff' to explain what various options do.
 
9098
  (John Arbash Meinel, #6391)
 
9099
 
 
9100
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
9101
  revision 10. This makes -r10 more in line with what other commands do.
 
9102
  'bzr uncommit' also now saves the pending merges of the revisions that
 
9103
  were removed. So it is safe to uncommit after a merge, fix something,
 
9104
  and commit again. (John Arbash Meinel, #32526, #31426)
 
9105
 
 
9106
* 'bzr init' now also works on remote locations.
 
9107
  (Wouter van Heyst, #48904)
 
9108
 
 
9109
* HTTP support has been updated. When using pycurl we now support
 
9110
  connection keep-alive, which reduces dns requests and round trips.
 
9111
  And for both urllib and pycurl we support multi-range requests,
 
9112
  which decreases the number of round-trips. Performance results for
 
9113
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
9114
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
 
9115
  branch is as much as 4x faster.
 
9116
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
9117
 
 
9118
* Performance improvements for sftp. Branching and pulling are now up to
 
9119
  2x faster. Utilize paramiko.readv() support for async requests if it
 
9120
  is available (paramiko > 1.6) (John Arbash Meinel)
 
9121
 
 
9122
Bug Fixes
 
9123
*********
 
9124
 
 
9125
* Fix shadowed definition of TestLocationConfig that caused some
 
9126
  tests not to run.
 
9127
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
9128
 
 
9129
* Fix unnecessary requirement of sign-my-commits that it be run from
 
9130
  a working directory.  (Martin Pool, Robert Collins)
 
9131
 
 
9132
* 'bzr push location' will only remember the push location if it succeeds
 
9133
  in connecting to the remote location. (John Arbash Meinel, #49742)
 
9134
 
 
9135
* 'bzr revert' no longer toggles the executable bit on win32
 
9136
  (John Arbash Meinel, #45010)
 
9137
 
 
9138
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
9139
 
 
9140
* sftp tests now work correctly on win32 if you have a newer paramiko
 
9141
  (John Arbash Meinel)
 
9142
 
 
9143
* Cleanup win32 test suite, and general cleanup of places where
 
9144
  file handles were being held open. (John Arbash Meinel)
 
9145
 
 
9146
* When specifying filenames for 'diff -r x..y', the name of the file in the
 
9147
  working directory can be used, even if its name is different in both x
 
9148
  and y.
 
9149
 
 
9150
* File-ids containing single- or double-quotes are handled correctly by
 
9151
  push. (Aaron Bentley, #52227)
 
9152
 
 
9153
* Normalize unicode filenames to ensure cross-platform consistency.
 
9154
  (John Arbash Meinel, #43689)
 
9155
 
 
9156
* The argument parser can now handle '-' as an argument. Currently
 
9157
  no code interprets it specially (it is mostly handled as a file named
 
9158
  '-'). But plugins, and future operations can use it.
 
9159
  (John Arbash meinel, #50984)
 
9160
 
 
9161
* Bundles can properly read binary files with a plain '\r' in them.
 
9162
  (John Arbash Meinel, #51927)
 
9163
 
 
9164
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
9165
 
 
9166
* Lots of win32 fixes (the test suite passes again).
 
9167
  (John Arbash Meinel, #50155)
 
9168
 
 
9169
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
 
9170
 
 
9171
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
9172
 
 
9173
* Removals are only committed if they match the filespec (or if there is
 
9174
  no filespec).  (#46635, Aaron Bentley)
 
9175
 
 
9176
* smart-add recurses through all supplied directories
 
9177
  (John Arbash Meinel, #52578)
 
9178
 
 
9179
* Make the bundle reader extra lines before and after the bundle text.
 
9180
  This allows you to parse an email with the bundle inline.
 
9181
  (John Arbash Meinel, #49182)
 
9182
 
 
9183
* Change the file id generator to squash a little bit more. Helps when
 
9184
  working with long filenames on windows. (Also helps for unicode filenames
 
9185
  not generating hidden files). (John Arbash Meinel, #43801)
 
9186
 
 
9187
* Restore terminal mode on C-c while reading sftp password.  (#48923,
 
9188
  Nicholas Allen, Martin Pool)
 
9189
 
 
9190
* Timestamps are rounded to 1ms, and revision entries can be recreated
 
9191
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
9192
 
 
9193
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
9194
  use local paths, since it is user visible (John Arbash Meinel, #53653)
 
9195
 
 
9196
* ``bzr status foo`` when foo was unversioned used to cause a full delta
 
9197
  to be generated (John Arbash Meinel, #53638)
 
9198
 
 
9199
* When reading revision properties, an empty value should be considered
 
9200
  the empty string, not None (John Arbash Meinel, #47782)
 
9201
 
 
9202
* ``bzr diff --diff-options`` can now handle binary files being changed.
 
9203
  Also, the output is consistent when --diff-options is not supplied.
 
9204
  (John Arbash Meinel, #54651, #52930)
 
9205
 
 
9206
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
9207
 
 
9208
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
 
9209
  accessible (John Arbash Meinel, #52976)
 
9210
 
 
9211
Internals
 
9212
*********
 
9213
 
 
9214
* Combine the ignore rules into a single regex rather than looping over
 
9215
  them to reduce the threshold where  N^2 behaviour occurs in operations
 
9216
  like status. (Jan Hudec, Robert Collins).
 
9217
 
 
9218
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
9219
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
9220
 
 
9221
* 'bzr push' should only push the ancestry of the current revision, not
 
9222
  all of the history in the repository. This is especially important for
 
9223
  shared repositories. (John Arbash Meinel)
 
9224
 
 
9225
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
9226
  rather than randomly walking the inventories. (John Arbash Meinel)
 
9227
 
 
9228
* Doctests are now run in temporary directories which are cleaned up when
 
9229
  they finish, rather than using special ScratchDir/ScratchBranch objects.
 
9230
  (Martin Pool)
 
9231
 
 
9232
* Split ``check`` into separate methods on the branch and on the repository,
 
9233
  so that it can be specialized in ways that are useful or efficient for
 
9234
  different formats.  (Martin Pool, Robert Collins)
 
9235
 
 
9236
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
9237
  the global revision graph but only that part leading up to a particular
 
9238
  revision.  (Martin Pool, Robert Collins)
 
9239
 
 
9240
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
9241
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
9242
  (Robert Collins, Jelmer Vernooij).
 
9243
 
 
9244
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
9245
  Uses subprocess instead of spawnvp.
 
9246
  (James Henstridge, John Arbash Meinel, #4047, #48914)
 
9247
 
 
9248
* New command line option '--profile-imports', which will install a custom
 
9249
  importer to log time to import modules and regex compilation time to
 
9250
  sys.stderr (John Arbash Meinel)
 
9251
 
 
9252
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
9253
  instead. (Robert Collins)
 
9254
 
 
9255
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
9256
 
 
9257
bzr 0.8.2
 
9258
#########
 
9259
 
 
9260
:Released:  2006-05-17
 
9261
 
 
9262
Bug Fixes
 
9263
*********
 
9264
 
 
9265
* setup.py failed to install launchpad plugin.  (Martin Pool)
 
9266
 
 
9267
bzr 0.8.1
 
9268
#########
 
9269
 
 
9270
:Released:  2006-05-16
 
9271
 
 
9272
Bug Fixes
 
9273
*********
 
9274
 
 
9275
* Fix failure to commit a merge in a checkout.  (Martin Pool,
 
9276
  Robert Collins, Erik Bågfors, #43959)
 
9277
 
 
9278
* Nicer messages from 'commit' in the case of renames, and correct
 
9279
  messages when a merge has occured. (Robert Collins, Martin Pool)
 
9280
 
 
9281
* Separate functionality from assert statements as they are skipped in
 
9282
  optimized mode of python. Add the same check to pending merges.
 
9283
  (Olaf Conradi, #44443)
 
9284
 
 
9285
Changes
 
9286
*******
 
9287
 
 
9288
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
9289
 
 
9290
* Add info on standalone branches without a working tree.
 
9291
  (Olaf Conradi, #44155)
 
9292
 
 
9293
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
9294
 
 
9295
Changes
 
9296
*******
 
9297
 
 
9298
* Make editor invocation comply with Debian Policy. First check
 
9299
  environment variables VISUAL and EDITOR, then try editor from
 
9300
  alternatives system. If that all fails, fall back to the pre-defined
 
9301
  list of editors. (Olaf Conradi, #42904)
 
9302
 
 
9303
New Features
 
9304
************
 
9305
 
 
9306
* New 'register-branch' command registers a public branch into
 
9307
  Launchpad.net, where it can be associated with bugs, etc.
 
9308
  (Martin Pool, Bjorn Tillenius, Robert Collins)
 
9309
 
 
9310
Internals
 
9311
*********
 
9312
 
 
9313
* New public api in InventoryEntry - ``describe_change(old, new)`` which
 
9314
  provides a human description of the changes between two old and
 
9315
  new. (Robert Collins, Martin Pool)
 
9316
 
 
9317
Testing
 
9318
*******
 
9319
 
 
9320
* Fix test case for bzr info in upgrading a standalone branch to metadir,
 
9321
  uses bzrlib api now. (Olaf Conradi)
 
9322
 
 
9323
bzr 0.8
 
9324
#######
 
9325
 
 
9326
:Released:  2006-05-08
 
9327
 
 
9328
Notes When Upgrading
 
9329
********************
 
9330
 
 
9331
Release 0.8 of bzr introduces a new format for history storage, called
 
9332
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
 
9333
and remote operations are faster using knits than weaves.  Several
 
9334
operations including 'init', 'init-repo', and 'upgrade' take a
 
9335
--format option that controls this.  Branching from an existing branch
 
9336
will keep the same format.
 
9337
 
 
9338
It is possible to merge, pull and push between branches of different
 
9339
formats but this is slower than moving data between homogenous
 
9340
branches.  It is therefore recommended (but not required) that you
 
9341
upgrade all branches for a project at the same time.  Information on
 
9342
formats is shown by 'bzr info'.
 
9343
 
 
9344
bzr 0.8 now allows creation of 'repositories', which hold the history
 
9345
of files and revisions for several branches.  Previously bzr kept all
 
9346
the history for a branch within the .bzr directory at the root of the
 
9347
branch, and this is still the default.  To create a repository, use
 
9348
the new 'bzr init-repo' command.  Branches exist as directories under
 
9349
the repository and contain just a small amount of information
 
9350
indicating the current revision of the branch.
 
9351
 
 
9352
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
9353
subversion.  Checkouts are associated with a branch (optionally in a
 
9354
repository), which contains all the historical information.  The
 
9355
result is that a checkout can be deleted without losing any
 
9356
already-committed revisions.  A new 'update' command is also available.
 
9357
 
 
9358
Repositories and checkouts are not supported with the 0.7 storage
 
9359
format.  To use them you must upgrad to either knits, or to the
 
9360
'metaweave' format, which uses weaves but changes the .bzr directory
 
9361
arrangement.
 
9362
 
 
9363
 
 
9364
Improvements
 
9365
************
 
9366
 
 
9367
* sftp paths can now be relative, or local, according to the lftp
 
9368
  convention. Paths now take the form::
 
9369
 
 
9370
      sftp://user:pass@host:port/~/relative/path
 
9371
      or
 
9372
      sftp://user:pass@host:port/absolute/path
 
9373
 
 
9374
* The FTP transport now tries to reconnect after a temporary
 
9375
  failure. ftp put is made atomic. (Matthieu Moy)
 
9376
 
 
9377
* The FTP transport now maintains a pool of connections, and
 
9378
  reuses them to avoid multiple connections to the same host (like
 
9379
  sftp did). (Daniel Silverstone)
 
9380
 
 
9381
* The ``bzr_man.py`` file has been removed. To create the man page now,
 
9382
  use ``./generate_docs.py man``. The new program can also create other files.
 
9383
  Run ``python generate_docs.py --help`` for usage information.
 
9384
  (Hans Ulrich Niedermann & James Blackwell).
 
9385
 
 
9386
* Man Page now gives full help (James Blackwell).
 
9387
  Help also updated to reflect user config now being stored in .bazaar
 
9388
  (Hans Ulrich Niedermann)
 
9389
 
 
9390
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
9391
 
 
9392
* Pull now accepts a --revision argument (Erik Bågfors)
 
9393
 
 
9394
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
9395
  line. You can now use the following command to sign all of your old
 
9396
  commits::
 
9397
 
 
9398
    find .bzr/revision-store// -name my@email-* \
 
9399
      | sed 's/.*\/\/..\///' \
 
9400
      | xargs bzr re-sign
 
9401
 
 
9402
* Upgrade can now upgrade over the network. (Robert Collins)
 
9403
 
 
9404
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
9405
  behaviour.  By default they will cache history in the checkout, but
 
9406
  with --lightweight almost all data is kept in the master branch.
 
9407
  (Robert Collins)
 
9408
 
 
9409
* 'revert' unversions newly-versioned files, instead of deleting them.
 
9410
 
 
9411
* 'merge' is more robust.  Conflict messages have changed.
 
9412
 
 
9413
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
9414
  '.moved'.
 
9415
 
 
9416
* Default log format can be set in configuration and plugins can register
 
9417
  their own formatters. (Erik Bågfors)
 
9418
 
 
9419
* New 'reconcile' command will check branch consistency and repair indexes
 
9420
  that can become out of sync in pre 0.8 formats. (Robert Collins,
 
9421
  Daniel Silverstone)
 
9422
 
 
9423
* New 'bzr init --format' and 'bzr upgrade --format' option to control
 
9424
  what storage format is created or produced.  (Robert Collins,
 
9425
  Martin Pool)
 
9426
 
 
9427
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
9428
 
 
9429
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
9430
 
 
9431
* New 'init-repository' command, plus support for repositories in 'init'
 
9432
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
9433
 
 
9434
* Improve output of 'info' command. Show all relevant locations related to
 
9435
  working tree, branch and repository. Use kibibytes for binary quantities.
 
9436
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
9437
  work on branches, repositories and remote locations.  Show locations
 
9438
  relative to the shared repository, if applicable.  Show locking status
 
9439
  of locations.  (Olaf Conradi)
 
9440
 
 
9441
* Diff and merge now safely handle binary files. (Aaron Bentley)
 
9442
 
 
9443
* 'pull' and 'push' now normalise the revision history, so that any two
 
9444
  branches with the same tip revision will have the same output from 'log'.
 
9445
  (Robert Collins)
 
9446
 
 
9447
* 'merge' accepts --remember option to store parent location, like 'push'
 
9448
  and 'pull'. (Olaf Conradi)
 
9449
 
 
9450
* bzr status and diff when files given as arguments do not exist
 
9451
  in the relevant trees.  (Martin Pool, #3619)
 
9452
 
 
9453
* Add '.hg' to the default ignore list.  (Martin Pool)
 
9454
 
 
9455
* 'knit' is now the default disk format. This improves disk performance and
 
9456
  utilization, increases incremental pull performance, robustness with SFTP
 
9457
  and allows checkouts over SFTP to perform acceptably.
 
9458
  The initial Knit code was contributed by Johan Rydberg based on a
 
9459
  specification by Martin Pool.
 
9460
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
9461
 
 
9462
* New tool to generate all-in-one html version of the manual.  (Alexander
 
9463
  Belchenko)
 
9464
 
 
9465
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
9466
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
9467
 
 
9468
* New option 'diff --prefix' to control how files are named in diff
 
9469
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
 
9470
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
9471
 
 
9472
* Add --revision option to 'annotate' command.  (Olaf Conradi)
 
9473
 
 
9474
* If bzr shows an unexpected revision-history after pulling (perhaps due
 
9475
  to a reweave) it can now be corrected by 'bzr reconcile'.
 
9476
  (Robert Collins)
 
9477
 
 
9478
Changes
 
9479
*******
 
9480
 
 
9481
* Commit is now verbose by default, and shows changed filenames and the
 
9482
  new revision number.  (Robert Collins, Martin Pool)
 
9483
 
 
9484
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
9485
 
 
9486
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
9487
 
 
9488
* Make 'pull' and 'push' remember location on failure using --remember.
 
9489
  (Olaf Conradi)
 
9490
 
 
9491
* For compatibility, make old format for using weaves inside metadir
 
9492
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
9493
  Clean up help for option --format in commands 'init', 'init-repo' and
 
9494
  'upgrade'.  (Olaf Conradi)
 
9495
 
 
9496
Internals
 
9497
*********
 
9498
 
 
9499
* The internal storage of history, and logical branch identity have now
 
9500
  been split into Branch, and Repository. The common locking and file
 
9501
  management routines are now in bzrlib.lockablefiles.
 
9502
  (Aaron Bentley, Robert Collins, Martin Pool)
 
9503
 
 
9504
* Transports can now raise DependencyNotPresent if they need a library
 
9505
  which is not installed, and then another implementation will be
 
9506
  tried.  (Martin Pool)
 
9507
 
 
9508
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
 
9509
  (Martin Pool)
 
9510
 
 
9511
* Using Tree Transform for merge, revert, tree-building
 
9512
 
 
9513
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
9514
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
9515
  replacement API's. (Robert Collins)
 
9516
 
 
9517
* New BzrDir class represents the .bzr control directory and manages
 
9518
  formatting issues. (Robert Collins)
 
9519
 
 
9520
* New repository.InterRepository class encapsulates Repository to
 
9521
  Repository actions and allows for clean selection of optimised code
 
9522
  paths. (Robert Collins)
 
9523
 
 
9524
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
9525
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
9526
  depending on your needs. (Robert Collins)
 
9527
 
 
9528
* deprecated methods now have a ``is_deprecated`` flag on them that can
 
9529
  be checked, if you need to determine whether a given callable is
 
9530
  deprecated at runtime. (Robert Collins)
 
9531
 
 
9532
* Progress bars are now nested - see
 
9533
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
9534
  (Robert Collins, Robey Pointer)
 
9535
 
 
9536
* New API call ``get_format_description()`` for each type of format.
 
9537
  (Olaf Conradi)
 
9538
 
 
9539
* Changed ``branch.set_parent()`` to accept None to remove parent.
 
9540
  (Olaf Conradi)
 
9541
 
 
9542
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
9543
 
 
9544
* WorkingTree.branch is now a read only property.  (Robert Collins)
 
9545
 
 
9546
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
9547
  can be None or a factory that will create a progress bar. This is
 
9548
  useful for testing or for overriding the bzrlib.progress heuristic.
 
9549
  (Robert Collins)
 
9550
 
 
9551
* New API method ``get_physical_lock_status()`` to query locks present on a
 
9552
  transport.  (Olaf Conradi)
 
9553
 
 
9554
* Repository.reconcile now takes a thorough keyword parameter to allow
 
9555
  requesting an indepth reconciliation, rather than just a data-loss
 
9556
  check. (Robert Collins)
 
9557
 
 
9558
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
9559
  the user for yes/no style input. (Robert Collins)
 
9560
 
 
9561
Testing
 
9562
*******
 
9563
 
 
9564
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
9565
  for testing SFTP protocol support. (Robey Pointer)
 
9566
 
 
9567
* Branch formats are now tested once per implementation (see ``bzrlib.
 
9568
  tests.branch_implementations``. This is analagous to the transport
 
9569
  interface tests, and has been followed up with working tree,
 
9570
  repository and BzrDir tests. (Robert Collins)
 
9571
 
 
9572
* New test base class TestCaseWithTransport provides a transport aware
 
9573
  test environment, useful for testing any transport-interface using
 
9574
  code. The test suite option --transport controls the transport used
 
9575
  by this class (when its not being used as part of implementation
 
9576
  contract testing). (Robert Collins)
 
9577
 
 
9578
* Close logging handler on disabling the test log. This will remove the
 
9579
  handler from the internal list inside python's logging module,
 
9580
  preventing shutdown from closing it twice.  (Olaf Conradi)
 
9581
 
 
9582
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
9583
 
 
9584
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
9585
  parameter which will provide String("foo") to the command as its stdin.
 
9586
 
 
9587
bzr 0.7
 
9588
#######
 
9589
 
 
9590
:Released: 2006-01-09
 
9591
 
 
9592
Changes
 
9593
*******
 
9594
 
 
9595
* .bzrignore is excluded from exports, on the grounds that it's a bzr
 
9596
  internal-use file and may not be wanted.  (Jamie Wilkinson)
 
9597
 
 
9598
* The "bzr directories" command were removed in favor of the new
 
9599
  --kind option to the "bzr inventory" command.  To list all
 
9600
  versioned directories, now use "bzr inventory --kind directory".
 
9601
  (Johan Rydberg)
 
9602
 
 
9603
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
9604
  by default. (John Arbash Meinel)
 
9605
 
 
9606
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
9607
  environment variable. Now the path for it is searched in ``BZR_HOME``,
 
9608
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
9609
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
9610
  ``HOME``. (John Arbash Meinel)
 
9611
 
 
9612
* Plugins with the same name in different directories in the bzr plugin
 
9613
  path are no longer loaded: only the first successfully loaded one is
 
9614
  used. (Robert Collins)
 
9615
 
 
9616
* Use systems' external ssh command to open connections if possible.
 
9617
  This gives better integration with user settings such as ProxyCommand.
 
9618
  (James Henstridge)
 
9619
 
 
9620
* Permissions on files underneath .bzr/ are inherited from the .bzr
 
9621
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
9622
  will mean that future file will be created with group write permissions.
 
9623
 
 
9624
* configure.in and config.guess are no longer in the builtin default
 
9625
  ignore list.
 
9626
 
 
9627
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
9628
  files.  (John Arbash Meinel, Martin Pool)
 
9629
 
 
9630
Improvements
 
9631
************
 
9632
 
 
9633
* "bzr INIT dir" now initializes the specified directory, and creates
 
9634
  it if it does not exist.  (John Arbash Meinel)
 
9635
 
 
9636
* New remerge command (Aaron Bentley)
 
9637
 
 
9638
* Better zsh completion script.  (Steve Borho)
 
9639
 
 
9640
* 'bzr diff' now returns 1 when there are changes in the working
 
9641
  tree. (Robert Collins)
 
9642
 
 
9643
* 'bzr push' now exists and can push changes to a remote location.
 
9644
  This uses the transport infrastructure, and can store the remote
 
9645
  location in the ~/.bazaar/branches.conf configuration file.
 
9646
  (Robert Collins)
 
9647
 
 
9648
* Test directories are only kept if the test fails and the user requests
 
9649
  that they be kept.
 
9650
 
 
9651
* Tweaks to short log printing
 
9652
 
 
9653
* Added branch nicks, new nick command, printing them in log output.
 
9654
  (Aaron Bentley)
 
9655
 
 
9656
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
 
9657
  occurs.  (Martin Pool)
 
9658
 
 
9659
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
9660
  the same as Subversion.  (Martin Pool)
 
9661
 
 
9662
* New ftp transport support (on ftplib), for ftp:// and aftp://
 
9663
  URLs.  (Daniel Silverstone)
 
9664
 
 
9665
* Commit editor temporary files now start with ``bzr_log.``, to allow
 
9666
  text editors to match the file name and set up appropriate modes or
 
9667
  settings.  (Magnus Therning)
 
9668
 
 
9669
* Improved performance when integrating changes from a remote weave.
 
9670
  (Goffredo Baroncelli)
 
9671
 
 
9672
* Sftp will attempt to cache the connection, so it is more likely that
 
9673
  a connection will be reused, rather than requiring multiple password
 
9674
  requests.
 
9675
 
 
9676
* bzr revno now takes an optional argument indicating the branch whose
 
9677
  revno should be printed.  (Michael Ellerman)
 
9678
 
 
9679
* bzr cat defaults to printing the last version of the file.
 
9680
  (Matthieu Moy, #3632)
 
9681
 
 
9682
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
 
9683
  profiler.  (Denys Duchier)
 
9684
 
 
9685
* Faster commits by reading only the headers of affected weave files.
 
9686
  (Denys Duchier)
 
9687
 
 
9688
* 'bzr add' now takes a --dry-run parameter which shows you what would be
 
9689
  added, but doesn't actually add anything. (Michael Ellerman)
 
9690
 
 
9691
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
9692
  lists the specific files.  (Aaron Bentley)
 
9693
 
 
9694
* 'bzr missing' now supports displaying changes in diverged trees and can
 
9695
  be limited to show what either end of the comparison is missing.
 
9696
  (Aaron Bently, with a little prompting from Daniel Silverstone)
 
9697
 
 
9698
Bug Fixes
 
9699
*********
 
9700
 
 
9701
* SFTP can walk up to the root path without index errors. (Robert Collins)
 
9702
 
 
9703
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
9704
 
 
9705
* Error when run with -OO
 
9706
 
 
9707
* Fix bug in reporting http errors that don't have an http error code.
 
9708
  (Martin Pool)
 
9709
 
 
9710
* Handle more cases of pipe errors in display commands
 
9711
 
 
9712
* Change status to 3 for all errors
 
9713
 
 
9714
* Files that are added and unlinked before committing are completely
 
9715
  ignored by diff and status
 
9716
 
 
9717
* Stores with some compressed texts and some uncompressed texts are now
 
9718
  able to be used. (John A Meinel)
 
9719
 
 
9720
* Fix for bzr pull failing sometimes under windows
 
9721
 
 
9722
* Fix for sftp transport under windows when using interactive auth
 
9723
 
 
9724
* Show files which are both renamed and modified as such in 'bzr
 
9725
  status' output.  (Daniel Silverstone, #4503)
 
9726
 
 
9727
* Make annotate cope better with revisions committed without a valid
 
9728
  email address.  (Marien Zwart)
 
9729
 
 
9730
* Fix representation of tab characters in commit messages.
 
9731
  (Harald Meland)
 
9732
 
 
9733
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
9734
  now parsed properly under Windows. (Alexander Belchenko)
 
9735
 
 
9736
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
9737
 
 
9738
* Keep a cached copy of the basis inventory to speed up operations
 
9739
  that need to refer to it.  (Johan Rydberg, Martin Pool)
 
9740
 
 
9741
* Fix bugs in bzr status display of non-ascii characters.
 
9742
  (Martin Pool)
 
9743
 
 
9744
* Remove Makefile.in from default ignore list.
 
9745
  (Tollef Fog Heen, Martin Pool, #6413)
 
9746
 
 
9747
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
9748
 
 
9749
Testing
 
9750
*******
 
9751
 
 
9752
* Fix selftest asking for passwords when there are no SFTP keys.
 
9753
  (Robey Pointer, Jelmer Vernooij)
 
9754
 
 
9755
* Fix selftest run with 'python -O'.  (Martin Pool)
 
9756
 
 
9757
* Fix HTTP tests under Windows. (John Arbash Meinel)
 
9758
 
 
9759
* Make tests work even if HOME is not set (Aaron Bentley)
 
9760
 
 
9761
* Updated ``build_tree`` to use fixed line-endings for tests which read
 
9762
  the file cotents and compare. Make some tests use this to pass under
 
9763
  Windows. (John Arbash Meinel)
 
9764
 
 
9765
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
9766
 
 
9767
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
9768
  (John Arbash Meinel)
 
9769
 
 
9770
* Use terminal width to align verbose test output.  (Martin Pool)
 
9771
 
 
9772
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
9773
  If adding a new test script please add that to
 
9774
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
9775
 
 
9776
* Much better error message if one of the test suites can't be
 
9777
  imported.  (Martin Pool)
 
9778
 
 
9779
* Make check now runs the test suite twice - once with the default locale,
 
9780
  and once with all locales forced to C, to expose bugs. This is not
 
9781
  trivially done within python, so for now its only triggered by running
 
9782
  Make check. Integrators and packagers who wish to check for full
 
9783
  platform support should run 'make check' to test the source.
 
9784
  (Robert Collins)
 
9785
 
 
9786
* Tests can now run TestSkipped if they can't execute for any reason.
 
9787
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
9788
  reasons - see the wiki spec ImprovingBzrTestSuite).
 
9789
 
 
9790
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
9791
  paths for the transport tests. Introduce blackbox remote sftp tests that
 
9792
  test the same permutations. (Robert Collins, Robey Pointer)
 
9793
 
 
9794
* Transport implementation tests are now independent of the local file
 
9795
  system, which allows tests for esoteric transports, and for features
 
9796
  not available in the local file system. They also repeat for variations
 
9797
  on the URL scheme that can introduce issues in the transport code,
 
9798
  see bzrlib.transport.TransportTestProviderAdapter() for this.
 
9799
  (Robert Collins).
 
9800
 
 
9801
* ``TestCase.build_tree`` uses the transport interface to build trees,
 
9802
  pass in a transport parameter to give it an existing connection.
 
9803
  (Robert Collins).
 
9804
 
 
9805
Internals
 
9806
*********
 
9807
 
 
9808
* WorkingTree.pull has been split across Branch and WorkingTree,
 
9809
  to allow Branch only pulls. (Robert Collins)
 
9810
 
 
9811
* ``commands.display_command`` now returns the result of the decorated
 
9812
  function. (Robert Collins)
 
9813
 
 
9814
* LocationConfig now has a ``set_user_option(key, value)`` call to save
 
9815
  a setting in its matching location section (a new one is created
 
9816
  if needed). (Robert Collins)
 
9817
 
 
9818
* Branch has two new methods, ``get_push_location`` and
 
9819
  ``set_push_location`` to respectively, get and set the push location.
 
9820
  (Robert Collins)
 
9821
 
 
9822
* ``commands.register_command`` now takes an optional flag to signal that
 
9823
  the registrant is planning to decorate an existing command. When
 
9824
  given multiple plugins registering a command is not an error, and
 
9825
  the original command class (whether built in or a plugin based one) is
 
9826
  returned to the caller. There is a new error 'MustUseDecorated' for
 
9827
  signalling when a wrapping command should switch to the original
 
9828
  version. (Robert Collins)
 
9829
 
 
9830
* Some option parsing errors will raise 'BzrOptionError', allowing
 
9831
  granular detection for decorating commands. (Robert Collins).
 
9832
 
 
9833
* ``Branch.read_working_inventory`` has moved to
 
9834
  ``WorkingTree.read_working_inventory``. This necessitated changes to
 
9835
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
9836
  WorkingTree as well. To make it clear that a WorkingTree cannot always
 
9837
  be obtained ``Branch.working_tree()`` will raise
 
9838
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
9839
 
 
9840
* All pending merges operations from Branch are now on WorkingTree.
 
9841
  (Robert Collins)
 
9842
 
 
9843
* The follow operations from Branch have moved to WorkingTree::
 
9844
 
 
9845
      add()
 
9846
      commit()
 
9847
      move()
 
9848
      rename_one()
 
9849
      unknowns()
 
9850
 
 
9851
  (Robert Collins)
 
9852
 
 
9853
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
9854
 
 
9855
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
9856
 
 
9857
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
 
9858
  Pool)
 
9859
 
 
9860
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
 
9861
  query method. (Robert Collins)
 
9862
 
 
9863
* New options to read only the table-of-contents of a weave.
 
9864
  (Denys Duchier)
 
9865
 
 
9866
* Raise NoSuchFile when someone tries to add a non-existant file.
 
9867
  (Michael Ellerman)
 
9868
 
 
9869
* Simplify handling of DivergedBranches in ``cmd_pull()``.
 
9870
  (Michael Ellerman)
 
9871
 
 
9872
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
9873
  is exposed as ``Branch().control_files``. Also this has been altered with the
 
9874
  controlfile pre/suffix replaced by simple method names like 'get' and
 
9875
  'put'. (Aaron Bentley, Robert Collins).
 
9876
 
 
9877
* Deprecated functions and methods can now be marked as such using the
 
9878
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
9879
  updated and will issue a DeprecationWarning using the warnings module
 
9880
  when they are used. (Robert Collins)
 
9881
 
 
9882
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
9883
  for functions that need unicode strings. (Robert Collins)
 
9884
 
 
9885
bzr 0.6
 
9886
#######
 
9887
 
 
9888
:Released: 2005-10-28
 
9889
 
 
9890
Improvements
 
9891
************
 
9892
 
 
9893
* pull now takes --verbose to show you what revisions are added or removed
 
9894
  (John A Meinel)
 
9895
 
 
9896
* merge now takes a --show-base option to include the base text in
 
9897
  conflicts.
 
9898
  (Aaron Bentley)
 
9899
 
 
9900
* The config files are now read using ConfigObj, so '=' should be used as
 
9901
  a separator, not ':'.
 
9902
  (Aaron Bentley)
 
9903
 
 
9904
* New 'bzr commit --strict' option refuses to commit if there are
 
9905
  any unknown files in the tree.  To commit, make sure all files are
 
9906
  either ignored, added, or deleted.  (Michael Ellerman)
 
9907
 
 
9908
* The config directory is now ~/.bazaar, and there is a single file
 
9909
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
9910
  (Robert Collins)
 
9911
 
 
9912
* 'bzr add' no longer takes a --verbose option, and a --quiet option
 
9913
  has been added that suppresses all output.
 
9914
 
 
9915
* Improved zsh completion support in contrib/zsh, from Clint
 
9916
  Adams.
 
9917
 
 
9918
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
 
9919
  Goffredo Baroncelli.
 
9920
 
 
9921
* 'bzr check' now accepts -v for verbose reporting, and checks for
 
9922
  ghosts in the branch. (Robert Collins)
 
9923
 
 
9924
* New command 're-sign' which will regenerate the gpg signature for
 
9925
  a revision. (Robert Collins)
 
9926
 
 
9927
* If you set ``check_signatures=require`` for a path in
 
9928
  ``~/.bazaar/branches.conf`` then bzr will invoke your
 
9929
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
9930
  of your commit. (Robert Collins)
 
9931
 
 
9932
* New sftp transport, based on Paramiko.  (Robey Pointer)
 
9933
 
 
9934
* 'bzr pull' now accepts '--clobber' which will discard local changes
 
9935
  and make this branch identical to the source branch. (Robert Collins)
 
9936
 
 
9937
* Just give a quieter warning if a plugin can't be loaded, and
 
9938
  put the details in .bzr.log.  (Martin Pool)
 
9939
 
 
9940
* 'bzr branch' will now set the branch-name to the last component of the
 
9941
  output directory, if one was supplied.
 
9942
 
 
9943
* If the option ``post_commit`` is set to one (or more) python function
 
9944
  names (must be in the bzrlib namespace), then they will be invoked
 
9945
  after the commit has completed, with the branch and ``revision_id`` as
 
9946
  parameters. (Robert Collins)
 
9947
 
 
9948
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
9949
 
 
9950
* --merge-type weave is now supported for file contents.  Tree-shape
 
9951
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
9952
 
 
9953
* 'bzr check' allows the first revision on revision-history to have
 
9954
  parents - something that is expected for cheap checkouts, and occurs
 
9955
  when conversions from baz do not have all history.  (Robert Collins).
 
9956
 
 
9957
* 'bzr merge' can now graft unrelated trees together, if your specify
 
9958
  0 as a base. (Aaron Bentley)
 
9959
 
 
9960
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
9961
  (Aaron Bentley)
 
9962
 
 
9963
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
9964
 
 
9965
* 'bzr merge --reprocess' minimizes conflicts
 
9966
 
 
9967
Testing
 
9968
*******
 
9969
 
 
9970
* The 'bzr selftest --pattern' option for has been removed, now
 
9971
  test specifiers on the command line can be simple strings, or
 
9972
  regexps, or both. (Robert Collins)
 
9973
 
 
9974
* Passing -v to selftest will now show the time each test took to
 
9975
  complete, which will aid in analysing performance regressions and
 
9976
  related questions. (Robert Collins)
 
9977
 
 
9978
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
9979
  is given. (Martin Pool)
 
9980
 
 
9981
* There is a new method for TestCaseInTempDir, assertFileEqual, which
 
9982
  will check that a given content is equal to the content of the named
 
9983
  file. (Robert Collins)
 
9984
 
 
9985
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
9986
  (Martin Pool)
 
9987
 
 
9988
Internals
 
9989
*********
 
9990
 
 
9991
* New 'testament' command and concept for making gpg-signatures
 
9992
  of revisions that are not tied to a particular internal
 
9993
  representation.  (Martin Pool).
 
9994
 
 
9995
* Per-revision properties ('revprops') as key-value associated
 
9996
  strings on each revision created when the revision is committed.
 
9997
  Intended mainly for the use of external tools.  (Martin Pool).
 
9998
 
 
9999
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
10000
  (Robert Collins)
 
10001
 
 
10002
* Improved command line option definitions allowing explanations
 
10003
  for individual options, among other things.  Contributed by
 
10004
  Magnus Therning.
 
10005
 
 
10006
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
10007
  Configuration is now done via the config.Config interface:
 
10008
  Depending on whether you have a Branch, a Location or no information
 
10009
  available, construct a ``*Config``, and use its ``signature_checking``,
 
10010
  ``username`` and ``user_email`` methods. (Robert Collins)
 
10011
 
 
10012
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
10013
  they are made available for other plugins to use. You should not
 
10014
  import other plugins during the ``__init__`` of your plugin though, as
 
10015
  no ordering is guaranteed, and the plugins directory is not on the
 
10016
  python path. (Robert Collins)
 
10017
 
 
10018
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
10019
  no longer takes an inventory, rather it takes an option branch
 
10020
  parameter, and if None is given will open the branch at basedir
 
10021
  implicitly. (Robert Collins)
 
10022
 
 
10023
* Cleaner exception structure and error reporting.  Suggested by
 
10024
  Scott James Remnant.  (Martin Pool)
 
10025
 
 
10026
* Branch.remove has been moved to WorkingTree, which has also gained
 
10027
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
10028
  (Robert Collins)
 
10029
 
 
10030
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
10031
  added to the branch module. Use these to cause a function to run in a
 
10032
  read or write lock respectively. (Robert Collins)
 
10033
 
 
10034
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
10035
  which allows direct access to the common case of 'get me this file
 
10036
  from its branch'. (Robert Collins)
 
10037
 
 
10038
* Transports can register using ``register_lazy_transport``, and they
 
10039
  will be loaded when first used.  (Martin Pool)
 
10040
 
 
10041
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
10042
  A new option to WorkingTree.pull has been added, clobber, which will
 
10043
  ignore diverged history and pull anyway.
 
10044
  (Robert Collins)
 
10045
 
 
10046
* config.Config has a ``get_user_option`` call that accepts an option name.
 
10047
  This will be looked up in branches.conf and bazaar.conf as normal.
 
10048
  It is intended that this be used by plugins to support options -
 
10049
  options of built in programs should have specific methods on the config.
 
10050
  (Robert Collins)
 
10051
 
 
10052
* ``merge.merge_inner`` now has tempdir as an optional parameter.
 
10053
  (Robert Collins)
 
10054
 
 
10055
* Tree.kind is not recorded at the top level of the hierarchy, as it was
 
10056
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
10057
  (Robert Collins)
 
10058
 
 
10059
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
 
10060
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
10061
  about future directions. (Robert Collins/Martin Pool)
 
10062
 
 
10063
* bzrlib.transport.http has been modified so that only 404 urllib errors
 
10064
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
10065
  This allows debuging of actual errors. (Robert Collins)
 
10066
 
 
10067
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
10068
  to apis like 'put', 'get' and 'has'. This is to provide consistent
 
10069
  behaviour - it operates on url's only. (Robert Collins)
 
10070
 
 
10071
* Transports can register using ``register_lazy_transport``, and they
 
10072
  will be loaded when first used.  (Martin Pool)
 
10073
 
 
10074
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
10075
  is called by ``merge_inner``. This is so that the conflict count can be
 
10076
  retrieved (and potentially manipulated) before returning to the caller
 
10077
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
10078
  caller. (Robert Collins)
 
10079
 
 
10080
* ``revision.revision_graph`` can handle having only partial history for
 
10081
  a revision - that is no revisions in the graph with no parents.
 
10082
  (Robert Collins).
 
10083
 
 
10084
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
10085
  produce a branch and a list of paths, relative to that branch
 
10086
  (Aaron Bentley)
 
10087
 
 
10088
* New TestCase.addCleanup facility.
 
10089
 
 
10090
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
10091
  which can be used by programs importing bzrlib.
 
10092
 
 
10093
Bug Fixes
 
10094
*********
 
10095
 
 
10096
* Better handling of branches in directories with non-ascii names.
 
10097
  (Joel Rosdahl, Panagiotis Papadakos)
 
10098
 
 
10099
* Upgrades of trees with no commits will not fail due to accessing
 
10100
  [-1] in the revision-history. (Andres Salomon)
 
10101
 
 
10102
 
 
10103
bzr 0.1.1
 
10104
#########
 
10105
 
 
10106
:Released: 2005-10-12
 
10107
 
 
10108
Bug Fixes
 
10109
*********
 
10110
 
 
10111
* Fix problem in pulling over http from machines that do not
 
10112
  allow directories to be listed.
 
10113
 
 
10114
* Avoid harmless warning about invalid hash cache after
 
10115
  upgrading branch format.
 
10116
 
 
10117
Performance
 
10118
***********
 
10119
 
 
10120
* Avoid some unnecessary http operations in branch and pull.
 
10121
 
 
10122
 
 
10123
bzr 0.1
 
10124
#######
 
10125
 
 
10126
:Released: 2005-10-11
 
10127
 
 
10128
Notes
 
10129
*****
 
10130
 
 
10131
* 'bzr branch' over http initially gives a very high estimate
 
10132
  of completion time but it should fall as the first few
 
10133
  revisions are pulled in.  branch is still slow on
 
10134
  high-latency connections.
 
10135
 
 
10136
Bug Fixes
 
10137
*********
 
10138
 
 
10139
* bzr-man.py has been updated to work again. Contributed by
 
10140
  Rob Weir.
 
10141
 
 
10142
* Locking is now done with fcntl.lockf which works with NFS
 
10143
  file systems. Contributed by Harald Meland.
 
10144
 
 
10145
* When a merge encounters a file that has been deleted on
 
10146
  one side and modified on the other, the old contents are
 
10147
  written out to foo.BASE and foo.SIDE, where SIDE is this
 
10148
  or OTHER. Contributed by Aaron Bentley.
 
10149
 
 
10150
* Export was choosing incorrect file paths for the content of
 
10151
  the tarball, this has been fixed by Aaron Bentley.
 
10152
 
 
10153
* Commit will no longer commit without a log message, an
 
10154
  error is returned instead. Contributed by Jelmer Vernooij.
 
10155
 
 
10156
* If you commit a specific file in a sub directory, any of its
 
10157
  parent directories that are added but not listed will be
 
10158
  automatically included. Suggested by Michael Ellerman.
 
10159
 
 
10160
* bzr commit and upgrade did not correctly record new revisions
 
10161
  for files with only a change to their executable status.
 
10162
  bzr will correct this when it encounters it. Fixed by
 
10163
  Robert Collins
 
10164
 
 
10165
* HTTP tests now force off the use of ``http_proxy`` for the duration.
 
10166
  Contributed by Gustavo Niemeyer.
 
10167
 
 
10168
* Fix problems in merging weave-based branches that have
 
10169
  different partial views of history.
 
10170
 
 
10171
* Symlink support: working with symlinks when not in the root of a
 
10172
  bzr tree was broken, patch from Scott James Remnant.
 
10173
 
 
10174
Improvements
 
10175
************
 
10176
 
 
10177
* 'branch' now accepts a --basis parameter which will take advantage
 
10178
  of local history when making a new branch. This allows faster
 
10179
  branching of remote branches. Contributed by Aaron Bentley.
 
10180
 
 
10181
* New tree format based on weave files, called version 5.
 
10182
  Existing branches can be upgraded to this format using
 
10183
  'bzr upgrade'.
 
10184
 
 
10185
* Symlinks are now versionable. Initial patch by
 
10186
  Erik Toubro Nielsen, updated to head by Robert Collins.
 
10187
 
 
10188
* Executable bits are tracked on files. Patch from Gustavo
 
10189
  Niemeyer.
 
10190
 
 
10191
* 'bzr status' now shows unknown files inside a selected directory.
 
10192
  Patch from Heikki Paajanen.
 
10193
 
 
10194
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
10195
  and 'resolve' have needed added, which list and remove those
 
10196
  merge conflicts respectively. A conflicted tree cannot be committed
 
10197
  in. Contributed by Aaron Bentley.
 
10198
 
 
10199
* 'rm' is now an alias for 'remove'.
 
10200
 
 
10201
* Stores now split out their content in a single byte prefixed hash,
 
10202
  dropping the density of files per directory by 256. Contributed by
 
10203
  Gustavo Niemeyer.
 
10204
 
 
10205
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
10206
  Contributed by Robert Collins.
 
10207
 
 
10208
* 'bzr log' with the default formatter will show merged revisions,
 
10209
  indented to the right. Initial implementation contributed by Gustavo
 
10210
  Niemeyer, made incremental by Robert Collins.
 
10211
 
 
10212
 
 
10213
Internals
 
10214
*********
 
10215
 
 
10216
* Test case failures have the exception printed after the log
 
10217
  for your viewing pleasure.
 
10218
 
 
10219
* InventoryEntry is now an abstract base class, use one of the
 
10220
  concrete InventoryDirectory etc classes instead.
 
10221
 
 
10222
* Branch raises an UnsupportedFormatError when it detects a
 
10223
  bzr branch it cannot understand. This allows for precise
 
10224
  handling of such circumstances.
 
10225
 
 
10226
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
10227
  list of their ids and ``parent_sha1s`` is a list of their corresponding
 
10228
  sha1s (for old branches only at the moment.)
 
10229
 
 
10230
* New method-object style interface for Commit() and Fetch().
 
10231
 
 
10232
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
10233
  we call them revisions not patches.
 
10234
 
 
10235
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
10236
  directory is created if it doesn't exist.
 
10237
 
 
10238
* Inventories now identify the files which were present by
 
10239
  giving the revision *of that file*.
 
10240
 
 
10241
* Inventory and Revision XML contains a version identifier.
 
10242
  This must be consistent with the overall branch version
 
10243
  but allows for more flexibility in future upgrades.
 
10244
 
 
10245
Testing
 
10246
*******
 
10247
 
 
10248
* Removed testsweet module so that tests can be run after
 
10249
  bzr installed by 'bzr selftest'.
 
10250
 
 
10251
* 'bzr selftest' command-line arguments can now be partial ids
 
10252
  of tests to run, e.g. ``bzr selftest test_weave``
 
10253
 
 
10254
 
 
10255
bzr 0.0.9
 
10256
#########
 
10257
 
 
10258
:Released: 2005-09-23
 
10259
 
 
10260
Bug Fixes
 
10261
*********
 
10262
 
 
10263
* Fixed "branch -r" option.
 
10264
 
 
10265
* Fix remote access to branches containing non-compressed history.
 
10266
  (Robert Collins).
 
10267
 
 
10268
* Better reliability of http server tests.  (John Arbash-Meinel)
 
10269
 
 
10270
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
10271
 
 
10272
* Various minor bug in windows support have been fixed, largely in the
 
10273
  test suite. Contributed by Alexander Belchenko.
 
10274
 
 
10275
Improvements
 
10276
************
 
10277
 
 
10278
* Status now accepts a -r argument to give status between chosen
 
10279
  revisions. Contributed by Heikki Paajanen.
 
10280
 
 
10281
* Revision arguments no longer use +/-/= to control ranges, instead
 
10282
  there is a 'before' namespace, which limits the successive namespace.
 
10283
  For example '$ bzr log -r date:yesterday..before:date:today' will
 
10284
  select everything from yesterday and before today. Contributed by
 
10285
  Robey Pointer
 
10286
 
 
10287
* There is now a bzr.bat file created by distutils when building on
 
10288
  Windows. Contributed by Alexander Belchenko.
 
10289
 
 
10290
Internals
 
10291
*********
 
10292
 
 
10293
* Removed uuid() as it was unused.
 
10294
 
 
10295
* Improved 'fetch' code for pulling revisions from one branch into
 
10296
  another (used by pull, merged, etc.)
 
10297
 
 
10298
 
 
10299
bzr 0.0.8
 
10300
#########
 
10301
 
 
10302
:Released: 2005-09-20
 
10303
 
 
10304
 
 
10305
Improvements
 
10306
************
 
10307
 
 
10308
* Adding a file whose parent directory is not versioned will
 
10309
  implicitly add the parent, and so on up to the root. This means
 
10310
  you should never need to explictly add a directory, they'll just
 
10311
  get added when you add a file in the directory.  Contributed by
 
10312
  Michael Ellerman.
 
10313
 
 
10314
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
10315
  (Nir Soffer)
 
10316
 
 
10317
* If you set ``BZR_EDITOR`` in the environment, it is checked in
 
10318
  preference to EDITOR and the config file for the interactive commit
 
10319
  editing program. Related to this is a bugfix where a missing program
 
10320
  set in EDITOR would cause editing to fail, now the fallback program
 
10321
  for the operating system is still tried.
 
10322
 
 
10323
* Files that are not directories/symlinks/regular files will no longer
 
10324
  cause bzr to fail, it will just ignore them by default. You cannot add
 
10325
  them to the tree though - they are not versionable.
 
10326
 
 
10327
 
 
10328
Internals
 
10329
*********
 
10330
 
 
10331
* Refactor xml packing/unpacking.
 
10332
 
 
10333
Bug Fixes
 
10334
*********
 
10335
 
 
10336
* Fixed 'bzr mv' by Ollie Rutherfurd.
 
10337
 
 
10338
* Fixed strange error when trying to access a nonexistent http
 
10339
  branch.
 
10340
 
 
10341
* Make sure that the hashcache gets written out if it can't be
 
10342
  read.
 
10343
 
 
10344
 
 
10345
Portability
 
10346
***********
 
10347
 
 
10348
* Various Windows fixes from Ollie Rutherfurd.
 
10349
 
 
10350
* Quieten warnings about locking; patch from Matt Lavin.
 
10351
 
 
10352
 
 
10353
bzr-0.0.7
 
10354
#########
 
10355
 
 
10356
:Released: 2005-09-02
 
10357
 
 
10358
New Features
 
10359
************
 
10360
 
 
10361
* ``bzr shell-complete`` command contributed by Clint Adams to
 
10362
  help with intelligent shell completion.
 
10363
 
 
10364
* New expert command ``bzr find-merge-base`` for debugging merges.
 
10365
 
 
10366
 
 
10367
Enhancements
 
10368
************
 
10369
 
 
10370
* Much better merge support.
 
10371
 
 
10372
* merge3 conflicts are now reported with markers like '<<<<<<<'
 
10373
  (seven characters) which is the same as CVS and pleases things
 
10374
  like emacs smerge.
 
10375
 
 
10376
 
 
10377
Bug Fixes
 
10378
*********
 
10379
 
 
10380
* ``bzr upgrade`` no longer fails when trying to fix trees that
 
10381
  mention revisions that are not present.
 
10382
 
 
10383
* Fixed bugs in listing plugins from ``bzr plugins``.
 
10384
 
 
10385
* Fix case of $EDITOR containing options for the editor.
 
10386
 
 
10387
* Fix log -r refusing to show the last revision.
 
10388
  (Patch from Goffredo Baroncelli.)
 
10389
 
 
10390
 
 
10391
Changes
 
10392
*******
 
10393
 
 
10394
* ``bzr log --show-ids`` shows the revision ids of all parents.
 
10395
 
 
10396
* Externally provided commands on your $BZRPATH no longer need
 
10397
  to recognize --bzr-usage to work properly, and can just handle
 
10398
  --help themselves.
 
10399
 
 
10400
 
 
10401
Library
 
10402
*******
 
10403
 
 
10404
* Changed trace messages to go through the standard logging
 
10405
  framework, so that they can more easily be redirected by
 
10406
  libraries.
 
10407
 
 
10408
 
 
10409
 
 
10410
bzr-0.0.6
 
10411
#########
 
10412
 
 
10413
:Released: 2005-08-18
 
10414
 
 
10415
New Features
 
10416
************
 
10417
 
 
10418
* Python plugins, automatically loaded from the directories on
 
10419
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
10420
 
 
10421
* New 'bzr mkdir' command.
 
10422
 
 
10423
* Commit mesage is fetched from an editor if not given on the
 
10424
  command line; patch from Torsten Marek.
 
10425
 
 
10426
* ``bzr log -m FOO`` displays commits whose message matches regexp
 
10427
  FOO.
 
10428
 
 
10429
* ``bzr add`` with no arguments adds everything under the current directory.
 
10430
 
 
10431
* ``bzr mv`` does move or rename depending on its arguments, like
 
10432
  the Unix command.
 
10433
 
 
10434
* ``bzr missing`` command shows a summary of the differences
 
10435
  between two trees.  (Merged from John Arbash-Meinel.)
 
10436
 
 
10437
* An email address for commits to a particular tree can be
 
10438
  specified by putting it into .bzr/email within a branch.  (Based
 
10439
  on a patch from Heikki Paajanen.)
 
10440
 
 
10441
 
 
10442
Enhancements
 
10443
************
 
10444
 
 
10445
* Faster working tree operations.
 
10446
 
 
10447
 
 
10448
Changes
 
10449
*******
 
10450
 
 
10451
* 3rd-party modules shipped with bzr are copied within the bzrlib
 
10452
  python package, so that they can be installed by the setup
 
10453
  script without clashing with anything already existing on the
 
10454
  system.  (Contributed by Gustavo Niemeyer.)
 
10455
 
 
10456
* Moved plugins directory to bzrlib/, so that there's a standard
 
10457
  plugin directory which is not only installed with bzr itself but
 
10458
  is also available when using bzr from the development tree.
 
10459
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
10460
  standard plugins directory.
 
10461
 
 
10462
* When exporting to a tarball with ``bzr export --format tgz``, put
 
10463
  everything under a top directory rather than dumping it into the
 
10464
  current directory.   This can be overridden with the ``--root``
 
10465
  option.  Patch from William Dodé and John Meinel.
 
10466
 
 
10467
* New ``bzr upgrade`` command to upgrade the format of a branch,
 
10468
  replacing ``bzr check --update``.
 
10469
 
 
10470
* Files within store directories are no longer marked readonly on
 
10471
  disk.
 
10472
 
 
10473
* Changed ``bzr log`` output to a more compact form suggested by
 
10474
  John A Meinel.  Old format is available with the ``--long`` or
 
10475
  ``-l`` option, patched by William Dodé.
 
10476
 
 
10477
* By default the commit command refuses to record a revision with
 
10478
  no changes unless the ``--unchanged`` option is given.
 
10479
 
 
10480
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
10481
  line options must come before the command name because they
 
10482
  affect what commands are available; all other options must come
 
10483
  after the command name because their interpretation depends on
 
10484
  it.
 
10485
 
 
10486
* ``branch`` and ``clone`` added as aliases for ``branch``.
 
10487
 
 
10488
* Default log format is back to the long format; the compact one
 
10489
  is available with ``--short``.
 
10490
 
 
10491
 
 
10492
Bug Fixes
 
10493
*********
 
10494
 
 
10495
* Fix bugs in committing only selected files or within a subdirectory.
 
10496
 
 
10497
 
 
10498
bzr-0.0.5
 
10499
#########
 
10500
 
 
10501
:Released:  2005-06-15
 
10502
 
 
10503
Changes
 
10504
*******
 
10505
 
 
10506
* ``bzr`` with no command now shows help rather than giving an
 
10507
  error.  Suggested by Michael Ellerman.
 
10508
 
 
10509
* ``bzr status`` output format changed, because svn-style output
 
10510
  doesn't really match the model of bzr.  Now files are grouped by
 
10511
  status and can be shown with their IDs.  ``bzr status --all``
 
10512
  shows all versioned files and unknown files but not ignored files.
 
10513
 
 
10514
* ``bzr log`` runs from most-recent to least-recent, the reverse
 
10515
  of the previous order.  The previous behaviour can be obtained
 
10516
  with the ``--forward`` option.
 
10517
 
 
10518
* ``bzr inventory`` by default shows only filenames, and also ids
 
10519
  if ``--show-ids`` is given, in which case the id is the second
 
10520
  field.
 
10521
 
 
10522
 
 
10523
Enhancements
 
10524
************
 
10525
 
 
10526
* New 'bzr whoami --email' option shows only the email component
 
10527
  of the user identification, from Jo Vermeulen.
 
10528
 
 
10529
* New ``bzr ignore PATTERN`` command.
 
10530
 
 
10531
* Nicer error message for broken pipe, interrupt and similar
 
10532
  conditions that don't indicate an internal error.
 
10533
 
 
10534
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
10535
 
 
10536
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
10537
  either read or write mode.
 
10538
 
 
10539
* New option ``bzr log --show-ids`` shows revision and file ids.
 
10540
 
 
10541
* New usage ``bzr log FILENAME`` shows only revisions that
 
10542
  affected that file.
 
10543
 
 
10544
* Changed format for describing changes in ``bzr log -v``.
 
10545
 
 
10546
* New option ``bzr commit --file`` to take a message from a file,
 
10547
  suggested by LarstiQ.
 
10548
 
 
10549
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
10550
  Oler.  File may be in a branch other than the working directory.
 
10551
 
 
10552
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
10553
  a filename.
 
10554
 
 
10555
* Commands can now be defined by external programs or scripts
 
10556
  in a directory on $BZRPATH.
 
10557
 
 
10558
* New "stat cache" avoids reading the contents of files if they
 
10559
  haven't changed since the previous time.
 
10560
 
 
10561
* If the Python interpreter is too old, try to find a better one
 
10562
  or give an error.  Based on a patch from Fredrik Lundh.
 
10563
 
 
10564
* New optional parameter ``bzr info [BRANCH]``.
 
10565
 
 
10566
* New form ``bzr commit SELECTED`` to commit only selected files.
 
10567
 
 
10568
* New form ``bzr log -r FROM:TO`` shows changes in selected
 
10569
  range; contributed by John A Meinel.
 
10570
 
 
10571
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
10572
  options through to an external GNU diff.
 
10573
 
 
10574
* New option ``bzr add --no-recurse`` to add a directory but not
 
10575
  their contents.
 
10576
 
 
10577
* ``bzr --version`` now shows more information if bzr is being run
 
10578
  from a branch.
 
10579
 
 
10580
 
 
10581
Bug Fixes
 
10582
*********
 
10583
 
 
10584
* Fixed diff format so that added and removed files will be
 
10585
  handled properly by patch.  Fix from Lalo Martins.
 
10586
 
 
10587
* Various fixes for files whose names contain spaces or other
 
10588
  metacharacters.
 
10589
 
 
10590
 
 
10591
Testing
 
10592
*******
 
10593
 
 
10594
* Converted black-box test suites from Bourne shell into Python;
 
10595
  now run using ``./testbzr``.  Various structural improvements to
 
10596
  the tests.
 
10597
 
 
10598
* testbzr by default runs the version of bzr found in the same
 
10599
  directory as the tests, or the one given as the first parameter.
 
10600
 
 
10601
* testbzr also runs the internal tests, so the only command
 
10602
  required to check is just ``./testbzr``.
 
10603
 
 
10604
* testbzr requires python2.4, but can be used to test bzr running
 
10605
  under a different version.
 
10606
 
 
10607
* Tests added for many other changes in this release.
 
10608
 
 
10609
 
 
10610
Internal
 
10611
********
 
10612
 
 
10613
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
10614
 
 
10615
* Refactor command functions into Command objects based on HCT by
 
10616
  Scott James Remnant.
 
10617
 
 
10618
* Better help messages for many commands.
 
10619
 
 
10620
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
10621
  this is called trace messages are just discarded.
 
10622
 
 
10623
* New internal function ``find_touching_revisions()`` and hidden
 
10624
  command touching-revisions trace the changes to a given file.
 
10625
 
 
10626
* Simpler and faster ``compare_inventories()`` function.
 
10627
 
 
10628
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
10629
 
 
10630
* New AtomicFile class.
 
10631
 
 
10632
* New developer commands ``added``, ``modified``.
 
10633
 
 
10634
 
 
10635
Portability
 
10636
***********
 
10637
 
 
10638
* Cope on Windows on python2.3 by using the weaker random seed.
 
10639
  2.4 is now only recommended.
 
10640
 
 
10641
 
 
10642
bzr-0.0.4
 
10643
#########
 
10644
 
 
10645
:Released:  2005-04-22
 
10646
 
 
10647
Enhancements
 
10648
************
 
10649
 
 
10650
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
10651
  basic.  Patch from QuantumG.
 
10652
 
 
10653
* More default ignore patterns.
 
10654
 
 
10655
* New 'bzr log --verbose' shows a list of files changed in the
 
10656
  changeset.  Patch from Sebastian Cote.
 
10657
 
 
10658
* Roll over ~/.bzr.log if it gets too large.
 
10659
 
 
10660
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
10661
  by Jason Diamon.
 
10662
 
 
10663
* New 'bzr help commands' based on a patch from Denys Duchier.
 
10664
 
 
10665
 
 
10666
Changes
 
10667
*******
 
10668
 
 
10669
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
10670
  or $EMAIL.  All are decoded by the locale preferred encoding.
 
10671
  If none of these are present user@hostname is used.  The host's
 
10672
  fully-qualified name is not used because that tends to fail when
 
10673
  there are DNS problems.
 
10674
 
 
10675
* New 'bzr whoami' command instead of username user-email.
 
10676
 
 
10677
 
 
10678
Bug Fixes
 
10679
*********
 
10680
 
 
10681
* Make commit safe for hardlinked bzr trees.
 
10682
 
 
10683
* Some Unicode/locale fixes.
 
10684
 
 
10685
* Partial workaround for ``difflib.unified_diff`` not handling
 
10686
  trailing newlines properly.
 
10687
 
 
10688
 
 
10689
Internal
 
10690
********
 
10691
 
 
10692
* Allow docstrings for help to be in PEP0257 format.  Patch from
 
10693
  Matt Brubeck.
 
10694
 
 
10695
* More tests in test.sh.
 
10696
 
 
10697
* Write profile data to a temporary file not into working
 
10698
  directory and delete it when done.
 
10699
 
 
10700
* Smaller .bzr.log with process ids.
 
10701
 
 
10702
 
 
10703
Portability
 
10704
***********
 
10705
 
 
10706
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
10707
  Bennetts.
 
10708
 
 
10709
* Some improvements in handling paths on Windows, based on a patch
 
10710
  from QuantumG.
 
10711
 
 
10712
 
 
10713
bzr-0.0.3
 
10714
#########
 
10715
 
 
10716
:Released:  2005-04-06
 
10717
 
 
10718
Enhancements
 
10719
************
 
10720
 
 
10721
* New "directories" internal command lists versioned directories
 
10722
  in the tree.
 
10723
 
 
10724
* Can now say "bzr commit --help".
 
10725
 
 
10726
* New "rename" command to rename one file to a different name
 
10727
  and/or directory.
 
10728
 
 
10729
* New "move" command to move one or more files into a different
 
10730
  directory.
 
10731
 
 
10732
* New "renames" command lists files renamed since base revision.
 
10733
 
 
10734
* New cat command contributed by janmar.
 
10735
 
 
10736
Changes
 
10737
*******
 
10738
 
 
10739
* .bzr.log is placed in $HOME (not pwd) and is always written in
 
10740
  UTF-8.  (Probably not a completely good long-term solution, but
 
10741
  will do for now.)
 
10742
 
 
10743
Portability
 
10744
***********
 
10745
 
 
10746
* Workaround for difflib bug in Python 2.3 that causes an
 
10747
  exception when comparing empty files.  Reported by Erik Toubro
 
10748
  Nielsen.
 
10749
 
 
10750
Internal
 
10751
********
 
10752
 
 
10753
* Refactored inventory storage to insert a root entry at the top.
 
10754
 
 
10755
Testing
 
10756
*******
 
10757
 
 
10758
* Start of shell-based black-box testing in test.sh.
 
10759
 
 
10760
 
 
10761
bzr-0.0.2.1
 
10762
###########
 
10763
 
 
10764
Portability
 
10765
***********
 
10766
 
 
10767
* Win32 fixes from Steve Brown.
 
10768
 
 
10769
 
 
10770
bzr-0.0.2
 
10771
#########
 
10772
 
 
10773
:Codename: "black cube"
 
10774
:Released: 2005-03-31
 
10775
 
 
10776
Enhancements
 
10777
************
 
10778
 
 
10779
* Default ignore list extended (see bzrlib/__init__.py).
 
10780
 
 
10781
* Patterns in .bzrignore are now added to the default ignore list,
 
10782
  rather than replacing it.
 
10783
 
 
10784
* Ignore list isn't reread for every file.
 
10785
 
 
10786
* More help topics.
 
10787
 
 
10788
* Reinstate the 'bzr check' command to check invariants of the
 
10789
  branch.
 
10790
 
 
10791
* New 'ignored' command lists which files are ignored and why;
 
10792
  'deleted' lists files deleted in the current working tree.
 
10793
 
 
10794
* Performance improvements.
 
10795
 
 
10796
* New global --profile option.
 
10797
 
 
10798
* Ignore patterns like './config.h' now correctly match files in
 
10799
  the root directory only.
 
10800
 
 
10801
 
 
10802
bzr-0.0.1
 
10803
#########
 
10804
 
 
10805
:Released:  2005-03-26
 
10806
 
 
10807
Enhancements
 
10808
************
 
10809
 
 
10810
* More information from info command.
 
10811
 
 
10812
* Can now say "bzr help COMMAND" for more detailed help.
 
10813
 
 
10814
* Less file flushing and faster performance when writing logs and
 
10815
  committing to stores.
 
10816
 
 
10817
* More useful verbose output from some commands.
 
10818
 
 
10819
Bug Fixes
 
10820
*********
 
10821
 
 
10822
* Fix inverted display of 'R' and 'M' during 'commit -v'.
 
10823
 
 
10824
Portability
 
10825
***********
 
10826
 
 
10827
* Include a subset of ElementTree-1.2.20040618 to make
 
10828
  installation easier.
 
10829
 
 
10830
* Fix time.localtime call to work with Python 2.3 (the minimum
 
10831
  supported).
 
10832
 
 
10833
 
 
10834
bzr-0.0.0.69
 
10835
############
 
10836
 
 
10837
:Released:  2005-03-22
 
10838
 
 
10839
Enhancements
 
10840
************
 
10841
 
 
10842
* First public release.
 
10843
 
 
10844
* Storage of local versions: init, add, remove, rm, info, log,
 
10845
  diff, status, etc.
 
10846
 
 
10847
 
 
10848
bzr ?.?.? (not released yet)
 
10849
############################
 
10850
 
 
10851
:Codename: template
 
10852
:2.0.2: ???
 
10853
 
 
10854
Compatibility Breaks
 
10855
********************
 
10856
 
 
10857
New Features
 
10858
************
 
10859
 
 
10860
Bug Fixes
 
10861
*********
 
10862
 
 
10863
Improvements
 
10864
************
 
10865
 
 
10866
Documentation
 
10867
*************
 
10868
 
 
10869
API Changes
 
10870
***********
 
10871
 
 
10872
Internals
 
10873
*********
 
10874
 
 
10875
Testing
 
10876
*******
 
10877
 
 
10878
 
 
10879
 
 
10880
..
 
10881
   vim: tw=74 ft=rst ff=unix