/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: 2009-09-24 04:54:19 UTC
  • mfrom: (4471.2.2 deprecation)
  • mto: This revision was merged to the branch mainline in revision 4715.
  • Revision ID: mbp@sourcefrog.net-20090924045419-a9c162cyftiiggju
merge old deprecation of ProgressTask.note

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
 
 
9
2.1.0 series (not released yet)
 
10
###############################
 
11
 
 
12
Compatibility Breaks
 
13
********************
 
14
 
 
15
New Features
 
16
************
 
17
 
 
18
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
 
19
  specified in the URL.  Paths starting with a path segment of ``~`` are
 
20
  relative to the home directory of the user running the server, and paths
 
21
  starting with ``~user`` are relative to the home directory of the named
 
22
  user.  For example, for a user "bob" with a home directory of
 
23
  ``/home/bob``, these URLs are all equivalent:
 
24
 
 
25
  * ``bzr+ssh://bob@host/~/repo``
 
26
  * ``bzr+ssh://bob@host/~bob/repo``
 
27
  * ``bzr+ssh://bob@host/home/bob/repo``
 
28
 
 
29
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
 
30
  home directories outside that directory will be accessible via this
 
31
  method.
 
32
 
 
33
  This is a feature of ``bzr serve``, so pre-2.1 clients will
 
34
  automatically benefit from this feature when ``bzr`` on the server is
 
35
  upgraded.  (Andrew Bennetts, #109143)
 
36
 
 
37
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
 
38
  disable the user, site and core plugin directories.
 
39
  (Vincent Ladeuil, #412930, #316192, #145612)
 
40
 
 
41
Bug Fixes
 
42
*********
 
43
 
 
44
* Bazaar's native protocol code now correctly handles EINTR, which most
 
45
  noticeably occurs if you break in to the debugger while connected to a
 
46
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
47
  'c') and the process continues.  However, note that pressing C-\ in the
 
48
  shell may still kill the SSH process, which is bug 162509, so you must
 
49
  sent a signal to the bzr process specifically, for example by typing
 
50
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
51
 
 
52
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
53
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
54
  (Robert Collins, #416732)
 
55
 
 
56
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
57
  format" (John Arbash Meinel, #424392)
 
58
 
 
59
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
 
60
  merges are present in the working tree.
 
61
  (Vincent Ladeuil, #426344)
 
62
 
 
63
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
64
  traceback.  (Martin Pool, #109115)
 
65
 
 
66
* Conversion to 2a will create a single pack for all the new revisions (as
 
67
  long as it ran without interruption). This improves both ``bzr upgrade``
 
68
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
69
  The autopack logic that occurs every 100 revisions during local
 
70
  conversions was not returning that pack's identifier, which resulted in
 
71
  the partial packs created during the conversion not being consolidated
 
72
  at the end of the conversion process. (Robert Collins, #423818)
 
73
 
 
74
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
 
75
  as it is never built. (John Arbash Meinel, #430645)
 
76
 
 
77
* Don't restrict the command name used to run the test suite.
 
78
  (Vincent Ladeuil, #419950)
 
79
 
 
80
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
81
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
82
  This means that when the source is fully packed, there is minimal
 
83
  overhead during the fetch, but if the source is poorly packed the result
 
84
  is a fairly well packed repository (not as good as 'bzr pack' but
 
85
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
86
 
 
87
* Network streams now decode adjacent records of the same type into a
 
88
  single stream, reducing layering churn. (Robert Collins)
 
89
 
 
90
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
91
  object when doing a merge, and there is limbo, or pending-deletions
 
92
  directory.  (Gary van der Merwe, #427773)
 
93
 
 
94
* Prevent some kinds of incomplete data from being committed to a 2a
 
95
  repository, such as revisions without inventories or inventories without
 
96
  chk_bytes root records.
 
97
  (Andrew Bennetts, #423506)
 
98
 
 
99
* Registry objects should not use iteritems() when asked to use items().
 
100
  (Vincent Ladeuil, #430510)
 
101
 
 
102
* Weave based repositories couldn't be cloned when committers were using
 
103
  domains or user ids embedding '.sig'. Now they can.
 
104
  (Matthew Fuller, Vincent Ladeuil, #430868)
 
105
 
 
106
Improvements
 
107
************
 
108
 
 
109
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
 
110
  compiled extensions can't be loaded.  This typically indicates a
 
111
  packaging or installation problem.  In this case Bazaar will keep
 
112
  running using pure-Python versions, but this may be substantially
 
113
  slower.  The warning can be disabled by setting
 
114
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
 
115
  See also <https://answers.launchpad.net/bzr/+faq/703>.
 
116
  (Martin Pool, #406113, #430529)
 
117
 
 
118
Documentation
 
119
*************
 
120
 
 
121
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
122
  currently supported. (Ian Clatworthy, #422415)
 
123
 
 
124
API Changes
 
125
***********
 
126
 
 
127
* ``ProgressTask.note`` is deprecated.
 
128
  (Martin Pool)
 
129
 
 
130
* ``bzrlib.user_encoding`` has been removed; use
 
131
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
 
132
 
 
133
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
134
  subclasses - the same as python's unittest module. (Robert Collins)
 
135
 
 
136
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
 
137
  (Martin Pool)
 
138
 
 
139
Internals
 
140
*********
 
141
 
 
142
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
143
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
144
  This results in a 10% speedup while reading an index.
 
145
  (John Arbash Meinel)
 
146
 
 
147
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
148
  profiling in some situations like callbacks and generators easier.
 
149
  (Robert Collins)
 
150
 
 
151
Testing
 
152
*******
 
153
 
 
154
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
155
  be output for every test. Note that this is very verbose! (Robert Collins)
 
156
 
 
157
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
 
158
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
 
159
 
 
160
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
161
  to be parameterised. This is not expected to break external use of test
 
162
  parameterisation, and is substantially faster. (Robert Collins)
 
163
 
 
164
* Tests that try to open a bzr dir on an arbitrary transport will now
 
165
  fail unless they have explicitly permitted the transport via
 
166
  ``self.permit_url``. The standard test factories such as ``self.get_url``
 
167
  will permit the urls they provide automatically, so only exceptional
 
168
  tests should need to do this. (Robert Collins)
 
169
 
 
170
* The full test suite is expected to pass when the C extensions are not
 
171
  present. (Vincent Ladeuil, #430749)
 
172
 
 
173
 
 
174
bzr 2.0.1 (Not Released Yet)
 
175
############################
 
176
 
 
177
Bug Fixes
 
178
*********
 
179
 
 
180
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
181
  object when doing a merge, and there is limbo, or pending-deletions
 
182
  directory.  (Gary van der Merwe, #427773)
 
183
 
 
184
 
 
185
bzr 2.0.0 (Not Released Yet)
 
186
############################
 
187
 
 
188
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
189
  that "want to happen on the 2.0.x stable series" versus things that want
 
190
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
191
  micro = 0.) (John Arbash Meinel)
 
192
 
 
193
 
 
194
bzr 2.0.0rc2
 
195
############
 
196
 
 
197
:2.0.0rc2: 2009-09-10
 
198
 
 
199
New Features
 
200
************
 
201
 
 
202
* Added post_commit hook for mutable trees. This allows the keywords
 
203
  plugin to expand keywords on files changed by the commit.
 
204
  (Ian Clatworthy, #408841)
 
205
 
 
206
Bug Fixes
 
207
*********
 
208
 
 
209
* Bazaar's native protocol code now correctly handles EINTR, which most
 
210
  noticeably occurs if you break in to the debugger while connected to a
 
211
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
212
  'c') and the process continues.  However, note that pressing C-\ in the
 
213
  shell may still kill the SSH process, which is bug 162509, so you must
 
214
  sent a signal to the bzr process specifically, for example by typing
 
215
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
216
 
 
217
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
218
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
219
  (Robert Collins, #416732)
 
220
 
 
221
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
222
  format" (John Arbash Meinel, #424392)
 
223
 
 
224
* ``bzr log stacked-branch`` shows the full log including
 
225
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
226
  (John Arbash Meinel, #419241)
 
227
 
 
228
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
229
  traceback.  (Martin Pool, #109115)
 
230
 
 
231
* Conversion to 2a will create a single pack for all the new revisions (as
 
232
  long as it ran without interruption). This improves both ``bzr upgrade``
 
233
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
234
  The autopack logic that occurs every 100 revisions during local
 
235
  conversions was not returning that pack's identifier, which resulted in
 
236
  the partial packs created during the conversion not being consolidated
 
237
  at the end of the conversion process. (Robert Collins, #423818)
 
238
 
 
239
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
240
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
241
  This means that when the source is fully packed, there is minimal
 
242
  overhead during the fetch, but if the source is poorly packed the result
 
243
  is a fairly well packed repository (not as good as 'bzr pack' but
 
244
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
245
 
 
246
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
247
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
248
  (John Arbash Meinel, #419241)
 
249
 
 
250
* ``groupcompress`` sort order is now more stable, rather than relying on
 
251
  ``topo_sort`` ordering. The implementation is now
 
252
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
253
 
 
254
* Local data conversion will generate correct deltas. This is a critical
 
255
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
256
  converting repositories. (Robert Collins, #422849)
 
257
 
 
258
* Network streams now decode adjacent records of the same type into a
 
259
  single stream, reducing layering churn. (Robert Collins)
 
260
 
 
261
* Prevent some kinds of incomplete data from being committed to a 2a
 
262
  repository, such as revisions without inventories, a missing chk_bytes
 
263
  record for an inventory, or a missing text referenced by an inventory.
 
264
  (Andrew Bennetts, #423506, #406687)
 
265
  
 
266
Documentation
 
267
*************
 
268
 
 
269
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
270
  older smart servers.
 
271
  (Andrew Bennetts, #418931)
 
272
 
 
273
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
274
  currently supported. (Ian Clatworthy, #422415)
 
275
 
 
276
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
277
  user documentation. The HTML documentation is better broken up into
 
278
  topics. (Ian Clatworthy)
 
279
 
 
280
* The developer and foreign language documents are now separated
 
281
  out so that searching in the HTML and CHM files produces more
 
282
  useful results. (Ian Clatworthy)
 
283
 
 
284
* The main table of contents now provides links to the new Migration Docs
 
285
  and Plugins Guide. (Ian Clatworthy)
 
286
 
 
287
 
 
288
bzr 2.0.0rc1
 
289
############
 
290
 
 
291
:Codename: no worries
 
292
:2.0.0rc1: 2009-08-26
 
293
 
 
294
This release of Bazaar makes 2a 'brisbane-core' format the
 
295
default.  Most of the work in this release now focuses on bug
 
296
fixes and stabilization, covering both 2a and previous formats.
 
297
 
 
298
The Bazaar team decided that 2.0 will be a long-term supported
 
299
release, with bugfix-only releases based on it, continuing for at
 
300
least six months or until the following stable release.
 
301
 
 
302
Compatibility Breaks
 
303
********************
 
304
 
 
305
* The default format for bzr is now ``2a``. This format brings many
 
306
  significant performance and size improvements. bzr can pull from
 
307
  any existing repository into a ``2a`` one, but can only transfer
 
308
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
309
  has more information about this change. (Robert Collins)
 
310
 
 
311
* On Windows auto-detection of Putty's plink.exe is disabled.
 
312
  Default SSH client for Windows is paramiko. User still can force
 
313
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
314
  (#414743, Alexander Belchenko)
 
315
 
 
316
New Features
 
317
************
 
318
 
 
319
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
320
  to the newly created branch. (Lukáš Lalinský)
 
321
 
 
322
Bug Fixes
 
323
*********
 
324
 
 
325
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
326
  (Jason Spashett, #76616)
 
327
 
 
328
* Fetches were being requested in 'groupcompress' order, but weren't
 
329
  recombining the groups. Thus they would 'fragment' to get the correct
 
330
  order, but not 'recombine' to actually benefit from it. Until we get
 
331
  recombining to work, switching to 'unordered' fetches avoids the
 
332
  fragmentation. (John Arbash Meinel, #402645)
 
333
 
 
334
* Fix a pycurl related test failure on karmic by recognizing an error
 
335
  raised by newer versions of pycurl.
 
336
  (Vincent Ladeuil, #306264)
 
337
 
 
338
* Fix a test failure on karmic by making a locale test more robust.
 
339
  (Vincent Ladeuil, #413514)
 
340
 
 
341
* Fix IndexError printing CannotBindAddress errors.
 
342
  (Martin Pool, #286871)
 
343
 
 
344
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
345
  or when doing fetches from a stacked source to a stacked target.
 
346
  (Andrew Bennetts, #399140)
 
347
 
 
348
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
349
  batches together small fetches from 2a repositories, rather than
 
350
  fetching only a few hundred bytes at a time.
 
351
  (Andrew Bennetts, #402657)
 
352
 
 
353
Improvements
 
354
************
 
355
 
 
356
* A better description of the platform is shown in crash tracebacks, ``bzr
 
357
  --version`` and ``bzr selftest``.
 
358
  (Martin Pool, #409137)
 
359
 
 
360
* bzr can now (again) capture crash data through the apport library, 
 
361
  so that a single human-readable file can be attached to bug reports.
 
362
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
363
  putting ``no_apport`` into the ``debug_flags`` section of
 
364
  ``bazaar.conf``.
 
365
  (Martin Pool, Robert Collins, #389328)
 
366
 
 
367
* ``bzr push`` locally on windows will no longer give a locking error with
 
368
  dirstate based formats. (Robert Collins)
 
369
 
 
370
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
371
  (Robert Collins, #305006)
 
372
 
 
373
* Commit of specific files no longer prevents using the the iter_changes
 
374
  codepath. On 2a repositories, commit of specific files should now be as
 
375
  fast, or slightly faster, than a full commit. (Robert Collins)
 
376
 
 
377
* The internal core code that handles specific file operations like
 
378
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
379
  include the parent directories if they have altered, and when a
 
380
  directory stops being a directory its children are always included. This
 
381
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
382
  faster commit of specific paths. (Robert Collins, #347649)
 
383
 
 
384
Documentation
 
385
*************
 
386
 
 
387
* New developer documentation for content filtering.
 
388
  (Martin Pool)
 
389
 
 
390
API Changes
 
391
***********
 
392
 
 
393
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
394
  classes changed to manage lock lifetime of the trees they open in a way
 
395
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
396
 
 
397
Testing
 
398
*******
 
399
 
 
400
bzr 1.18.1
 
401
##########
 
402
 
 
403
:Codename:     nein nein nein!
 
404
:1.18.1:       2009-09-09
 
405
 
 
406
This release fixes two small but worthwhile bugs relevant to users on
 
407
Microsoft Windows: some commands that failed on with locking errors will
 
408
now work, and a bug that caused poor performance after committing a file
 
409
with line-ending conversion has now been fixed.  It also fixes a bug in
 
410
pushing to older servers.
 
411
 
 
412
Bug Fixes
 
413
*********
 
414
 
 
415
* Fixed a problem where using content filtering and especially end-of-line
 
416
  conversion will commit too many copies a file.
 
417
  (Martin Pool, #415508)
 
418
 
 
419
* Fix assertion error about ``_remember_remote_is_before`` in
 
420
  ``set_tags_bytes`` when pushing to older smart servers.  
 
421
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
422
 
 
423
Improvements
 
424
************
 
425
 
 
426
* ``bzr push`` locally on Windows will no longer give a locking error with
 
427
  dirstate based formats. (Robert Collins)
 
428
 
 
429
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
430
  (Robert Collins, #305006)
 
431
 
 
432
API Changes
 
433
***********
 
434
 
 
435
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
436
  classes changed to manage lock lifetime of the trees they open in a way
 
437
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
438
 
 
439
* ``Tree.path_content_summary`` may return a size of None, when called on
 
440
  a tree with content filtering where the size of the canonical form
 
441
  cannot be cheaply determined.  (Martin Pool)
 
442
 
 
443
* When manually creating transport servers in test cases, a new helper
 
444
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
445
  should be used. (Robert Collins)
 
446
 
 
447
bzr 1.18
 
448
########
 
449
 
 
450
Compatibility Breaks
 
451
********************
 
452
 
 
453
* Committing directly to a stacked branch from a lightweight checkout will
 
454
  no longer work. In previous versions this would appear to work but would
 
455
  generate repositories with insufficient data to create deltas, leading
 
456
  to later errors when branching or reading from the repository.
 
457
  (Robert Collins, bug #375013)
 
458
 
 
459
New Features
 
460
************
 
461
 
 
462
Bug Fixes
 
463
*********
 
464
 
 
465
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
466
  copy the internal inventory pages from the CHK store. This cannot happen
 
467
  in normal use as all 2a compatible clients and servers support the
 
468
  version-3 protocol, but it does cause test suite failures when testing
 
469
  downlevel protocol behaviour. (Robert Collins)
 
470
 
 
471
* Fix a test failure on karmic by making a locale test more robust.
 
472
  (Vincent Ladeuil, #413514)
 
473
 
 
474
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
475
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
476
 
 
477
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
478
  (Jason Spashett, #76616)
 
479
 
 
480
* Properly handle fetching into a stacked branch while converting the
 
481
  data, especially when there are also ghosts. The code was filling in
 
482
  parent inventories incorrectly, and also not handling when one of the
 
483
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
484
 
 
485
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
486
  inventory pages when appropriate (by falling back to the vfs stream
 
487
  source).  (Andrew Bennetts, #406686)
 
488
 
 
489
* StreamSource generates rich roots from non-rich root sources correctly
 
490
  now.  (Andrew Bennetts, #368921)
 
491
 
 
492
* When deciding whether a repository was compatible for upgrading or
 
493
  fetching, we previously incorrectly checked the default repository
 
494
  format for the bzrdir format, rather than the format that was actually
 
495
  present on disk.  (Martin Pool, #408824)
 
496
 
 
497
Improvements
 
498
************
 
499
 
 
500
* A better description of the platform is shown in crash tracebacks, ``bzr
 
501
  --version`` and ``bzr selftest``.
 
502
  (Martin Pool, #409137)
 
503
 
 
504
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
505
  smart server are more efficient now.  They send inventory deltas rather
 
506
  than full inventories.  The smart server has two new requests,
 
507
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
508
  support this.  (Andrew Bennetts, #374738, #385826)
 
509
 
 
510
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
511
  significantly faster. This effects things like ``bzr log -n0``. (For
 
512
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
513
  (John Arbash Meinel)
 
514
 
 
515
Documentation
 
516
*************
 
517
 
 
518
API Changes
 
519
***********
 
520
 
 
521
Internals
 
522
*********
 
523
 
 
524
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
525
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
526
  read lock on a file that we already have an OS write lock on.) This is
 
527
  now set by default for all tests, if you have a test which cannot be
 
528
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
529
  compatibility knob. (John Arbash Meinel)
 
530
 
 
531
* InterDifferingSerializer is now only used locally.  Other fetches that
 
532
  would have used InterDifferingSerializer now use the more network
 
533
  friendly StreamSource, which now automatically does the same
 
534
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
535
 
 
536
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
537
  are implemented in pyrex and significantly faster. This is exposed along
 
538
  with ``CombinedGraphIndex.find_ancestry()`` as
 
539
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
540
  (John Arbash Meinel)
 
541
 
 
542
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
543
  protocols. (Robert Collins)
 
544
 
 
545
* The index code now has some specialized routines to extract the full
 
546
  ancestry of a key in a more efficient manner.
 
547
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
548
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
549
  Arbash Meinel)
 
550
 
 
551
Testing
 
552
*******
 
553
 
 
554
* Install the test ssl certificate and key so that installed bzr
 
555
  can run the https tests. (Denys Duchier, #392401)
 
556
  
 
557
 
 
558
bzr 1.18rc1
 
559
###########
 
560
 
 
561
:Codename: little traveller
 
562
:1.18:    2009-08-20
 
563
:1.18rc1: 2009-08-10
 
564
 
 
565
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
566
'brisbane-core' format becomes generally recommended.  Most of the work in
 
567
this release now focusses on bug fixes and stabilization, covering both 2a
 
568
and previous formats.  There is a new text-mode interactive merge feature,
 
569
a new guide to migration to 2a format in the user documentation, and
 
570
pushing branches to a smart server is now much faster.  
 
571
 
 
572
The Bazaar team decided that 2.0 will be a long-term supported release,
 
573
with bugfix-only releases based on it continuing for at least six months
 
574
or until the following stable release.
 
575
 
 
576
There are no changes from 1.18rc1 to 1.18.
 
577
 
 
578
New Features
 
579
************
 
580
 
 
581
* ``bzr merge --interactive`` applies a user-selected portion of the
 
582
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
583
 
 
584
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
585
  ``--unstacked`` to change stacking of a branch.
 
586
  (Martin Pool, #391411)
 
587
 
 
588
Bug Fixes
 
589
*********
 
590
 
 
591
* Annotating on a stacked branch will now succeed in simple scenarios.
 
592
  There are still some complex scenarios where it will fail (bug #399884)
 
593
  (John Arbash Meinel, #393366)
 
594
 
 
595
* A progress bar is no longer left dangling when ``bzr selftest``
 
596
  completes, and the progress bar updates with zero latency so the
 
597
  displayed test name is always the one that's actually running.
 
598
  (Martin Pool, #123688)
 
599
 
 
600
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
601
  if password authentication is even supported. This fixes a bug where
 
602
  users would be prompted for a launchpad password, even though launchpad
 
603
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
604
 
 
605
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
606
  from GMT. (Vincent Ladeuil, #397716)
 
607
 
 
608
* ``bzr commit`` no longer saves the unversioning of missing files until
 
609
  the commit has completed on the branch. This means that aborting a
 
610
  commit that found a missing file will leave the tree unedited.
 
611
  (Robert Collins, #282402)
 
612
 
 
613
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
614
  when the branch is readonly. (Robert Collins, #216541)
 
615
 
 
616
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
617
  there are missing subtrees. (Robert Collins, #367632)
 
618
 
 
619
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
620
  do to internal changes necessary to support this, older clients will
 
621
  fail when trying to insert them. For newer clients, the bundle can be
 
622
  used to apply the changes to any rich-root compatible format.
 
623
  (John Arbash Meinel, #393349)
 
624
 
 
625
* Cope with FTP servers that don't support restart/append by falling back
 
626
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
627
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
628
 
 
629
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
630
  external diff client. This at least allows supporting filenames that are
 
631
  not ascii, but are present in the current locale. Ideally we would be
 
632
  able to pass the Unicode path, but that would be client dependent.
 
633
  (John Arbash Meinel, #382709)
 
634
 
 
635
* Fix a compile bug on Solaris having to do with const and
 
636
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
637
 
 
638
* Fixed a NameError that occurs when merging or pulling from a URL that
 
639
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
640
  (Andrew Bennetts, #400847)
 
641
 
 
642
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
643
  running send and similar commands on 2a formats.
 
644
  (Martin Pool, #408201)
 
645
  
 
646
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
647
  (Martin Pool, #403523)
 
648
 
 
649
* Fixed export to existing directory: if directory is empty then export 
 
650
  will succeed, otherwise it fails with error.
 
651
  (Alexander Belchenko, #406174)
 
652
 
 
653
* Fixed spurious "Source branch does not support stacking" warning when
 
654
  pushing. (Andrew Bennetts, #388908)
 
655
 
 
656
* Fixed spurious transport activity indicator appearing while tests are
 
657
  running.  (Martin Pool, #343532)
 
658
 
 
659
* Merge now correctly handles empty right-hand revision specs.
 
660
  (Aaron Bentley, #333961)
 
661
 
 
662
* Renames to lexographically lower basenames in trees that have never been
 
663
  committed to will no longer corrupt the dirstate. This was caused by an
 
664
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
665
 
 
666
* Requests for unknown methods no longer cause the smart server to log
 
667
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
668
  ``do_end``.  (Andrew Bennetts, #338561)
 
669
 
 
670
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
671
 
 
672
* Streaming from bzr servers where there is a chain of stacked branches
 
673
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
674
 
 
675
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
676
  always forces progress bars either on or off respectively.  Otherwise,
 
677
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
678
  bzr always uses the 'text' user interface when run as a command, so
 
679
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
680
  (Martin Pool, #339385, #387717)
 
681
 
 
682
* The optional ``_knit_load_data_pyx`` C extension was never being
 
683
  imported.  This caused significant slowdowns when reading data from
 
684
  repositories.  (Andrew Bennetts, #405653)
 
685
  
 
686
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
687
  supported at the moment on workingtree formats that can do content
 
688
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
689
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
690
 
 
691
* There was a bug in ``osutils.relpath`` that was only triggered on
 
692
  Windows. Essentially if you were at the root of a drive, and did
 
693
  something to a branch/repo on another drive, we would go into an
 
694
  infinite loop while trying to find a 'relative path'.
 
695
  (John Arbash Meinel, #394227)
 
696
 
 
697
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
698
  were present in a parent tree but renamed in the working tree.
 
699
  (Robert Collins, #187207)
 
700
 
 
701
Improvements
 
702
************
 
703
 
 
704
* Can now rename/move files even if they have been removed from the inventory.
 
705
  (Marius Kruger)
 
706
 
 
707
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
708
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
709
  than VFS methods.  For example, pushes of small branches with tags take
 
710
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
711
 
 
712
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
713
  the same way that sending Ctrl-\\ does on other platforms.
 
714
  (John Arbash Meinel)
 
715
 
 
716
Documentation
 
717
*************
 
718
 
 
719
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
720
 
 
721
API Changes
 
722
***********
 
723
 
 
724
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
725
  need to subclass or create a specific class, or better yet the existing
 
726
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
727
  user interaction at all, rather than trying to read from stdin but not
 
728
  writing any output, which would be strange if reading prompts or
 
729
  passwords.  (Martin Pool)
 
730
 
 
731
* New TransformPreview.commit() allows committing without a working tree.
 
732
  (Aaron Bentley)
 
733
 
 
734
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
735
  (Martin Pool)
 
736
 
 
737
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
738
  UIFactory. 
 
739
  (Martin Pool)
 
740
 
 
741
* ``WorkingTree._check`` now requires a references dict with keys matching
 
742
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
743
 
 
744
Internals
 
745
*********
 
746
 
 
747
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
748
  reading the entries along the path, reducing work to lookup ids from
 
749
  paths. (Robert Collins)
 
750
 
 
751
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
752
  as new a key which was already mapped. (Robert Collins)
 
753
 
 
754
* Inventory delta application catches more cases of corruption and can
 
755
  prevent corrupt deltas from affecting consistency of data structures on
 
756
  disk. (Robert Collins)
 
757
 
 
758
* --subunit support now adds timestamps if the subunit version supports
 
759
  it. (Robert Collins)
 
760
 
 
761
* The Windows all-in-one installer now bundles the PyQt image format
 
762
  plugins, which allows previewing more images as part of 'qdiff'.
 
763
  (Alexander Belchenko)
 
764
 
 
765
 
 
766
Testing
 
767
*******
 
768
 
 
769
* Merge directive cherrypick tests must use the same root id.
 
770
  (Martin Pool, #409684)
 
771
 
 
772
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
773
  (Martin Pool, #408199)
 
774
 
 
775
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
776
  ``countTestsCases`` on the test being run. Progress information is
 
777
  instead handled by having the test passed in call ``result.progress``
 
778
  before running its contents. This improves the behaviour when using
 
779
  ``TextTestRunner`` with test suites that don't support
 
780
  ``countTestsCases``. (Robert Collins)
 
781
 
 
782
 
 
783
bzr 1.17.1 (unreleased)
 
784
#######################
 
785
 
 
786
Bug Fixes
 
787
*********
 
788
 
 
789
* The optional ``_knit_load_data_pyx`` C extension was never being
 
790
  imported.  This caused significant slowdowns when reading data from
 
791
  knit format repositories.  (Andrew Bennetts, #405653)
 
792
  
 
793
 
 
794
bzr 1.17
 
795
########
 
796
:Codename: so-late-its-brunch
 
797
:1.17rc1: 2009-07-13
 
798
:1.17: 2009-07-20
 
799
 
 
800
 
 
801
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
802
the elevation of the ``2a`` beta format to the full glory of "supported and
 
803
stable".
 
804
 
 
805
Highlights in this release include greatly reduced memory consumption during
 
806
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
807
you're specifying a revision number and the final destruction of those
 
808
annoying progress bar artifacts.
 
809
 
 
810
 
 
811
Changes from 1.17rc1 to 1.17final
 
812
*********************************
 
813
 
 
814
* Change an extension to call the python ``frozenset()`` rather than the C
 
815
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
816
  C api. (John Arbash Meinel, #399366)
 
817
 
 
818
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
819
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
820
  (John Arbash Meinel, #399356)
 
821
 
 
822
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
823
  directory before serving it. (Andrew Bennetts, #400535)
 
824
 
 
825
 
 
826
Compatibility Breaks
 
827
********************
 
828
 
 
829
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
830
  instead of "product" which is the correct Launchpad terminology.  The
 
831
  --product option is deprecated and users should switch to using --project.
 
832
  (Neil Martinsen-Burrell, #238764)
 
833
 
 
834
 
 
835
New Features
 
836
************
 
837
 
 
838
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
839
  are present in the working tree (if one is present) and no revision is
 
840
  specified. The configuration option ``push_strict`` can be used to set the
 
841
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
842
 
 
843
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
844
  show revision info for the working tree instead of the branch.
 
845
  (Matthew Fuller, John Arbash Meinel)
 
846
 
 
847
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
848
  are present in the working tree and no revision is specified. The
 
849
  configuration option ``send_strict`` can be used to set the default for this
 
850
  behavior.
 
851
  (Vincent Ladeuil, #206577)
 
852
 
 
853
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
854
  to a new branch. Supplying a name without a ``/`` will create the branch
 
855
  relative to the existing branch. (similar to how ``bzr switch name``
 
856
  works when the branch already exists.) (John Arbash Meinel)
 
857
 
 
858
 
 
859
Bug Fixes
 
860
*********
 
861
 
 
862
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
863
  (#335182, Tim Powell, Martin Pool)
 
864
 
 
865
* Add documentation about diverged branches and how to fix them in the
 
866
  centralized workflow with local commits.  Mention ``bzr help
 
867
  diverged-branches`` when a push fails because the branches have
 
868
  diverged.  (Neil Martinsen-Burrell, #269477)
 
869
 
 
870
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
871
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
872
 
 
873
* Automatic format upgrades triggered by default stacking policies on a
 
874
  1.16rc1 (or later) smart server work again.
 
875
  (Andrew Bennetts, #388675)
 
876
 
 
877
* Avoid progress bar artifacts being left behind on the screen.
 
878
  (Martin Pool, #321935)
 
879
 
 
880
* Better message in ``bzr split`` error suggesting a rich root format.
 
881
  (Neil Martinsen-Burrell, #220067)
 
882
 
 
883
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
884
  server. (Andrew Bennetts, #365865)
 
885
 
 
886
* By default, ``bzr branch`` will fail if the target directory exists, but
 
887
  does not already have a control directory.  The flag ``--use-existing-dir``
 
888
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
889
 
 
890
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
891
  (Ian Clatworthy)
 
892
 
 
893
* Fetch between repositories does not error if they have inconsistent data
 
894
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
895
 
 
896
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
897
  of a remote repository.
 
898
  (Jelmer Vernooij, #332194)
 
899
 
 
900
* Fix bug in decoding v3 smart server messages when receiving multiple
 
901
  lots of excess bytes after an end-of-message.
 
902
  (Andrew Bennetts)
 
903
 
 
904
* Force deletion of readonly files during merge, update and other tree
 
905
  transforms.
 
906
  (Craig Hewetson, Martin Pool, #218206)
 
907
 
 
908
* Force socket shutdown in threaded http test servers to avoid client hangs
 
909
  (pycurl).  (Vincent Ladeuil, #383920).
 
910
 
 
911
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
912
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
913
 
 
914
* Progress bars are now suppressed again when the environment variable
 
915
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
916
  (Martin Pool, #339385)
 
917
 
 
918
* Reduced memory consumption during ``bzr commit`` of large files. For
 
919
  pre 2a formats, should be down to ~3x the size of a file.
 
920
  For ``--2a`` format repositories, it is down to the size of the file
 
921
  content plus the size of the compressed text.  Related to bug #109114.
 
922
  (John Arbash Meinel)
 
923
 
 
924
* Set hidden attribute on .bzr directory below unicode path should never
 
925
  fail with error. The operation should succeed even if bzr unable to set 
 
926
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
927
  
 
928
* Stacking will no longer accept requests to stack on the same
 
929
  branch/repository. Existing branches that incorrectly reference the same
 
930
  repository in a stacking configuration will now raise
 
931
  UnstackableLocationError when the branch is opened. This can be fixed by
 
932
  removing the stacking location inside ``.bzr/branch``.
 
933
  (Robert Collins, #376243)
 
934
 
 
935
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
936
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
937
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
938
  rate because they're available in the log prefixes and the transport
 
939
  activity display respectively.
 
940
  (Martin Pool, #340347)
 
941
 
 
942
* Unshelve works correctly when multiple zero-length files are present on
 
943
  the shelf. (Aaron Bentley, #363444)
 
944
 
 
945
* Progress bars no longer show the network transport scheme or direction.
 
946
  (Martin Pool)
 
947
 
 
948
* launchpad-login now respects the 'verbose' option.
 
949
  (Jonathan Lange, #217031)
 
950
 
 
951
 
 
952
Internals
 
953
*********
 
954
 
 
955
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
956
  possible to write a deprecation wrapper, but the variable will be
 
957
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
958
  instead. (Alexander Belchenko)
 
959
 
 
960
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
961
  three new hook points: ``get_command``, ``get_missing_command`` and
 
962
  ``list_commands``, which allow just-in-time command name provision
 
963
  rather than requiring all command names be known a-priori.
 
964
  (Robert Collins)
 
965
 
 
966
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
967
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
968
 
 
969
* ``graph.KnownGraph`` has been added. This is a class that can give
 
970
  answers to ``heads()`` very quickly. However, it has the assumption that
 
971
  the whole graph has already been loaded. This is true during
 
972
  ``annotate`` so it is used there with good success (as much as 2x faster
 
973
  for files with long ancestry and 'cherrypicked' changes.)
 
974
  (John Arbash Meinel, Vincent Ladeuil)
 
975
 
 
976
* OS file locks are now taken out using ``CreateFile`` rather than
 
977
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
978
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
979
  as Win98). (Martin <gzlist>)
 
980
 
 
981
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
982
  than the ``Packer`` code. The user visible change is that we now
 
983
  properly fetch the minimum number of texts for non-smart fetching.
 
984
  (John Arbash Meinel)
 
985
 
 
986
 
 
987
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
988
  the repository as a single string, rather than a list of lines. This can
 
989
  improve memory overhead and performance of committing large files.
 
990
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
991
 
 
992
 
 
993
Improvements
 
994
************
 
995
 
 
996
* ``bzr annotate`` can now be significantly faster. The time for
 
997
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
998
  histories and lots of 'duplicate insertions' will be improved more than
 
999
  others. (John Arbash Meinel, Vincent Ladeuil)
 
1000
 
 
1001
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
1002
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
1003
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
1004
 
 
1005
* Improve "Path(s) are not versioned" error reporting for some commands.
 
1006
  (Benoît PIERRE)
 
1007
 
 
1008
* Initial commit performance in ``--2a`` repositories has been improved by
 
1009
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
1010
 
 
1011
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
1012
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
1013
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
1014
 
 
1015
* ``revision-info`` now properly aligns the revnos/revids in the output
 
1016
  and doesn't traceback when given revisions not in the current branch.
 
1017
  Performance is also significantly improved when requesting multiple revs
 
1018
  at once.  (Matthew Fuller, John Arbash Meinel)
 
1019
 
 
1020
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
1021
 
 
1022
 
 
1023
Documentation
 
1024
*************
 
1025
 
 
1026
* Avoid bad text wrapping in generated documentation.  Slightly better
 
1027
  formatting in the user reference.
 
1028
  (Martin Pool, #249908)
 
1029
 
 
1030
* Minor clarifications to the help for End-Of-Line conversions.
 
1031
  (Ian Clatworthy)
 
1032
 
 
1033
API Changes
 
1034
***********
 
1035
 
 
1036
* Removed overspecific error class ``InvalidProgressBarType``.
 
1037
  (Martin Pool)
 
1038
 
 
1039
* The method ``ProgressView._show_transport_activity`` is now
 
1040
  ``show_transport_activity`` because it's part of the contract between
 
1041
  this class and the UI.  (Martin Pool)
 
1042
 
 
1043
 
 
1044
bzr 1.16.1
 
1045
##########
 
1046
 
 
1047
:Released: 2009-06-26
 
1048
 
 
1049
End user testing of the 2a format revealed two serious bugs. The first,
 
1050
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
1051
This meant that commits or pushes to 2a-format repositories failed
 
1052
intermittently.
 
1053
 
 
1054
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
1055
when streaming 2a stacked 2a-format branches. This particularly affected
 
1056
branches stored on Launchpad in the 2a format.
 
1057
 
 
1058
Both of these bugs cause command failures only, neither of them cause data
 
1059
corruption or data loss. And, of course, both of these bugs are now fixed.
 
1060
 
 
1061
Bug Fixes
 
1062
*********
 
1063
 
 
1064
* We now properly request a more minimal set of file texts when fetching
 
1065
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
1066
 
 
1067
* Repositories using CHK pages (which includes the new 2a format) will no
 
1068
  longer error during commit or push operations when an autopack operation
 
1069
  is triggered. (Robert Collins, #365615)
 
1070
 
 
1071
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
1072
  of referenced nodes rather than the *union* to determine what
 
1073
  uninteresting pages we still need to look at. Prior to this,
 
1074
  incrementally pushing to stacked branch would push the minimal data, but
 
1075
  fetching everything would request extra texts. There are some unhandled
 
1076
  cases wrt trees of different depths, but this fixes the common cases.
 
1077
  (Robert Collins, John Arbash Meinel, #390563)
 
1078
 
 
1079
* ``GroupCompress`` repositories now take advantage of the pack hints
 
1080
  parameter to permit cross-format fetching to incrementally pack the
 
1081
  converted data. (Robert Collins)
 
1082
 
 
1083
* ``Repository.commit_write_group`` now returns opaque data about what
 
1084
  was committed, for passing to the ``Repository.pack``. Repositories
 
1085
  without atomic commits will still return None. (Robert Collins)
 
1086
 
 
1087
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
1088
  which will support doing partial packs for repositories that can do
 
1089
  that. (Robert Collins)
 
1090
 
 
1091
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
1092
  when doing a pack operation changes the compression of content in the
 
1093
  repository. (Robert Collins)
 
1094
 
 
1095
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
1096
  ``Repository.pack`` with the hint returned by
 
1097
  ``Repository.commit_write_group`` if the formats were different and the
 
1098
  repository can increase compression by doing a pack operation.
 
1099
  (Robert Collins, #376748)
 
1100
 
 
1101
 
 
1102
bzr 1.16
 
1103
########
 
1104
:Codename: yesterday-in-california
 
1105
:1.16rc1: 2009-06-11
 
1106
:1.16: 2009-06-18
 
1107
 
 
1108
This version of Bazaar contains the beta release of the new ``2a`` repository
 
1109
format, suitable for testing by fearless, advanced users. This format or an
 
1110
updated version of it will become the default format in Bazaar 2.0. Please
 
1111
read the NEWS entry before even thinking about upgrading to the new format.
 
1112
 
 
1113
Also included are speedups for many operations on huge projects, a bug fix for
 
1114
pushing stacked new stacked branches to smart servers and the usual bevy of
 
1115
bug fixes and improvements.
 
1116
 
 
1117
 
 
1118
Changes from 1.16rc1 to 1.16final
 
1119
*********************************
 
1120
 
 
1121
* Fix the nested tree flag check so that upgrade from development formats to
 
1122
  2a can work correctly.
 
1123
  (Jelmer Vernooij, #388727)
 
1124
 
 
1125
* Automatic format upgrades triggered by default stacking policies on a
 
1126
  1.16rc1 (or later) smart server work again.
 
1127
  (Andrew Bennetts, #388675)
 
1128
 
 
1129
 
 
1130
Compatibility Breaks
 
1131
********************
 
1132
 
 
1133
* Display prompt on stderr (instead of stdout) when querying users so
 
1134
  that the output of commands can be safely redirected.
 
1135
  (Vincent Ladeuil, #376582)
 
1136
 
 
1137
 
 
1138
New Features
 
1139
************
 
1140
 
 
1141
* A new repository format ``2a`` has been added.  This is a beta release
 
1142
  of the the brisbane-core (aka group-compress) project.  This format now
 
1143
  suitable for wider testing by advanced users willing to deal with some
 
1144
  bugs.  We would appreciate test reports, either positive or negative.
 
1145
  Format 2a is substantially smaller and faster for many operations on
 
1146
  many trees.  This format or an updated version will become the default
 
1147
  in bzr 2.0.
 
1148
 
 
1149
  This is a rich-root format, so this repository format can be used with
 
1150
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
1151
  converted (including by merge, push and pull) to format 2a, but not vice
 
1152
  versa.  We recommend upgrading previous development formats to 2a.
 
1153
 
 
1154
  Upgrading to this format can take considerable time because it expands
 
1155
  and more concisely repacks the full history.
 
1156
 
 
1157
  If you use stacked branches, you must upgrade the stacked branches
 
1158
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
1159
 
 
1160
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
1161
  but using a Revision serializer using bencode rather than XML.
 
1162
  (Jelmer Vernooij, John Arbash Meinel)
 
1163
 
 
1164
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
1165
  configured from address.  (Barry Warsaw)
 
1166
 
 
1167
Improvements
 
1168
************
 
1169
 
 
1170
 
 
1171
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
1172
  bugs with stacking and non default formats.)
 
1173
  (John Arbash Meinel, #373455)
 
1174
 
 
1175
* ``--development6-rich-root`` delays generating a delta index for the
 
1176
  first object inserted into a group. This has a beneficial impact on
 
1177
  ``bzr commit`` since each committed texts goes to its own group. For
 
1178
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
1179
  up commit from 7s => 4s. (John Arbash Meinel)
 
1180
 
 
1181
* Numerous operations are now faster for huge projects, i.e. those
 
1182
  with a large number of files and/or a large number of revisions,
 
1183
  particularly when the latest development format is used. These
 
1184
  operations (and improvements on OpenOffice.org) include:
 
1185
 
 
1186
  * branch in a shared repository (2X faster)
 
1187
  * branch --no-tree (100X faster)
 
1188
  * diff (2X faster)
 
1189
  * tags (70X faster)
 
1190
 
 
1191
  (Ian Clatworthy)
 
1192
 
 
1193
* Pyrex version of ``bencode`` support. This provides optimized support
 
1194
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
1195
  ``bzrlib.utils.bencode`` is now deprecated.
 
1196
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
1197
 
 
1198
 
 
1199
Bug Fixes
 
1200
*********
 
1201
 
 
1202
* Bazaar can now pass attachment files to the mutt email client.
 
1203
  (Edwin Grubbs, #384158)
 
1204
 
 
1205
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
1206
  see which files can also be added.  (Jason Spashett, #76616)
 
1207
 
 
1208
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
1209
  Also, the ``Branch.revision_history()`` API now works in the same
 
1210
  situation.  (Andrew Bennetts, #380314)
 
1211
  
 
1212
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
1213
  TCP client disconnected. (Andrew Bennetts)
 
1214
 
 
1215
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
1216
  ``RemoteRepository`` was handling fallbacks along with the
 
1217
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
1218
 
 
1219
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
1220
  branch. Not often triggered, because it required ghosts to be part of
 
1221
  the fetched revisions, not in the stacked-on ancestry.
 
1222
  (John Arbash Meinel)
 
1223
 
 
1224
* Fix status and commit to work with content filtered trees, addressing
 
1225
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
1226
 
 
1227
* Fix problem of "directory not empty" when contending for a lock over
 
1228
  sftp.  (Martin Pool, #340352)
 
1229
 
 
1230
* Fix rule handling so that eol is optional, not mandatory.
 
1231
  (Ian Clatworthy, #379370)
 
1232
 
 
1233
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
1234
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
1235
  1.16, but required changes to the network protocol, so the
 
1236
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
1237
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
1238
  still work with a 1.16 server as they will fallback to slower (and
 
1239
  bug-free) methods.
 
1240
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
1241
 
 
1242
* Reconcile can now deal with text revisions that originated in revisions 
 
1243
  that are ghosts. (Jelmer Vernooij, #336749)
 
1244
 
 
1245
* Support cloning of branches with ghosts in the left hand side history.
 
1246
  (Jelmer Vernooij, #248540)
 
1247
 
 
1248
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
1249
  helpful message to the trace file, unless the temp directory really was
 
1250
  removed (which would be very strange).  Since the diff operation has
 
1251
  succeeded from the user's perspective, no output is written to stderr 
 
1252
  or stdout.  (Maritza Mendez, #363837)
 
1253
 
 
1254
* Translate errors received from a smart server in response to a
 
1255
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
1256
  This was causing tracebacks even for mundane errors like
 
1257
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
1258
 
 
1259
Documentation
 
1260
*************
 
1261
 
 
1262
* Added directory structure and started translation of docs in Russian.
 
1263
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
1264
  Volodymyr Kotulskyi)
 
1265
 
 
1266
API Changes
 
1267
***********
 
1268
 
 
1269
* Added osutils.parent_directories(). (Ian Clatworthy)
 
1270
 
 
1271
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
1272
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
1273
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
1274
 
 
1275
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
1276
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
1277
  for external users. (Gary van der Merwe)
 
1278
 
 
1279
* ``bzrlib.user_encoding`` is deprecated in favor of
 
1280
  ``get_user_encoding``.  (Alexander Belchenko)
 
1281
 
 
1282
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
1283
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
1284
 
 
1285
Internals
 
1286
*********
 
1287
 
 
1288
* Remove ``weave.py`` script for accessing internals of old weave-format
 
1289
  repositories.  (Martin Pool)
 
1290
 
 
1291
Testing
 
1292
*******
 
1293
 
 
1294
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
1295
  (Martin Pool, #386180)
 
1296
 
 
1297
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
1298
 
 
1299
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
1300
 
 
1301
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
1302
 
 
1303
 
 
1304
bzr 1.15
 
1305
########
 
1306
:1.15rc1: 2009-05-16
 
1307
:1.15: 2009-05-22
 
1308
:1.15.1: 2009-06-09
 
1309
 
 
1310
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
1311
with a size mismatch in a reconstructed graph search. New command ``bzr
 
1312
dpush``. Plugins can now define their own annotation tie-breaker when two
 
1313
revisions introduce the exact same line.
 
1314
 
 
1315
Changes from 1.15.1 to 1.15.2
 
1316
*****************************
 
1317
 
 
1318
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
1319
  (Alexander Belchenko)
 
1320
 
 
1321
Changes from 1.15final to 1.15.1
 
1322
*********************************
 
1323
 
 
1324
* Translate errors received from a smart server in response to a
 
1325
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
1326
  This was causing tracebacks even for mundane errors like
 
1327
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
1328
 
 
1329
Changes from 1.15rc1 to 1.15final
 
1330
*********************************
 
1331
 
 
1332
* No changes
 
1333
 
 
1334
Compatibility Breaks
 
1335
********************
 
1336
 
 
1337
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
1338
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
1339
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
1340
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
1341
 
 
1342
New Features
 
1343
************
 
1344
 
 
1345
* New command ``bzr dpush`` that can push changes to foreign 
 
1346
  branches (svn, git) without setting custom bzr-specific metadata.
 
1347
  (Jelmer Vernooij)
 
1348
 
 
1349
* The new development format ``--development6-rich-root`` now supports
 
1350
  stacking. We chose not to use a new format marker, since old clients
 
1351
  will just fail to open stacked branches, the same as if we used a new
 
1352
  format flag. (John Arbash Meinel, #373455)
 
1353
 
 
1354
* Plugins can now define their own annotation tie-breaker when two revisions
 
1355
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
1356
  Be aware though that this is temporary, private (as indicated by the leading
 
1357
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
1358
 
 
1359
* New command ``bzr dpush`` that can push changes to foreign 
 
1360
  branches (svn, git) without setting custom bzr-specific metadata.
 
1361
  (Jelmer Vernooij)
 
1362
 
 
1363
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
1364
  the submit branch to determine what format to use, if none was 
 
1365
  specified on the command-line.  (Jelmer Vernooij)
 
1366
 
 
1367
Improvements
 
1368
************
 
1369
 
 
1370
* -Dhpss output now includes the number of VFS calls made to the remote
 
1371
  server. (Jonathan Lange)
 
1372
 
 
1373
* ``--coverage`` works for code running in threads too.
 
1374
  (Andrew Bennets, Vincent Ladeuil)
 
1375
 
 
1376
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
1377
  local branch, and not the bound master branch.
 
1378
  (Gary van der Merwe, #194716)
 
1379
 
 
1380
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
1381
 
 
1382
Bug Fixes
 
1383
*********
 
1384
 
 
1385
* Adding now works properly when path contains a symbolic link.
 
1386
  (Geoff Bache, #183831)
 
1387
 
 
1388
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
1389
 
 
1390
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
1391
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
1392
 
 
1393
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
1394
  (Martin von Gagern, #248932)
 
1395
 
 
1396
* ``bzr send`` works to send emails again using MAPI.
 
1397
  (Neil Martinsen-Burrell, #346998)
 
1398
 
 
1399
* Check for missing parent inventories in StreamSink.  This prevents
 
1400
  incomplete stacked branches being created by 1.13 bzr:// and
 
1401
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
1402
  causes those clients to send the missing records.  (Andrew Bennetts)
 
1403
 
 
1404
* Correctly handle http servers proposing multiple authentication schemes.
 
1405
  (Vincent Ladeuil, #366107)
 
1406
 
 
1407
* End-Of-Line content filters are now loaded correctly.
 
1408
  (Ian Clatworthy, Brian de Alwis, #355280)
 
1409
 
 
1410
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
1411
  longer than 64KiB. (John Arbash Meinel, #364900)
 
1412
 
 
1413
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
1414
  (Alexander Belchenko, Martin Pool, #365891)
 
1415
 
 
1416
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
1417
  (Jelmer Vernooij, #357863)
 
1418
 
 
1419
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
1420
  (Vincent Ladeuil, #367726)
 
1421
 
 
1422
* Several bugs related to unicode symlinks have been fixed and the test suite
 
1423
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
1424
 
 
1425
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
1426
  content with a size mismatch in a reconstructed graph search: it assumes
 
1427
  that the client will make sure it is happy with what it got, and this
 
1428
  sort of mismatch is normal for stacked environments.
 
1429
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
1430
  getting all the content expected would be a bug. However the graph
 
1431
  search is how we figured out what we wanted, so a mismatch is both odd
 
1432
  and unrecoverable without starting over, and starting over will end up
 
1433
  with the same data as if we just permitted the mismatch. If data is
 
1434
  gc'd, doing a new search will find only the truncated data, so sending
 
1435
  only the truncated data seems reasonable. bzr versions newer than this
 
1436
  will stream from stacked branches and check the stream to find missing
 
1437
  content in the stacked-on branch, and thus will handle the situation
 
1438
  implicitly.  (Robert Collins, #360791)
 
1439
 
 
1440
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
1441
  set the root data the same way that reconcile does.
 
1442
  (Robert Collins, #368921)
 
1443
 
 
1444
* Using unicode Windows API to obtain command-line arguments.
 
1445
  (Alexander Belchenko, #375934)
 
1446
 
 
1447
Documentation
 
1448
*************
 
1449
 
 
1450
API Changes
 
1451
***********
 
1452
 
 
1453
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
1454
  instead of ``InstallFailed`` when they detect a missing revision.
 
1455
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
1456
 
 
1457
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
1458
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
1459
  for unicode arguments on windows. Further, the supplied arguments are now 
 
1460
  required to be unicode strings, rather than user_encoded strings.
 
1461
  (Alexander Belchenko)
 
1462
 
 
1463
Internals
 
1464
*********
 
1465
 
 
1466
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
1467
  class and will call ``_set_parent_location`` after doing unicode 
 
1468
  encoding. (Robert Collins)
 
1469
 
 
1470
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
1471
  ``Branch.set_parent_location`` removing further VFS operations.
 
1472
  (Robert Collins)
 
1473
 
 
1474
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
1475
  or similar when the dir supports configuration settings. The base class
 
1476
  defaults to None. There is a matching new server verb
 
1477
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
1478
  configuration. (Robert Collins)
 
1479
 
 
1480
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
1481
  called before the first test is started, ``done`` called after the last
 
1482
  test completes, and a new parameter ``strict``. (Robert Collins)
 
1483
 
 
1484
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
1485
  VFS operations are started on a smart server repository. This should not
 
1486
  occur on regular push and pull operations, and is a key indicator for
 
1487
  performance regressions. (Robert Collins)
 
1488
 
 
1489
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
1490
  cause mismatched physical locks to cause test errors rather than just
 
1491
  reporting to the screen. (Robert Collins)
 
1492
 
 
1493
* -Dprogress will cause pdb to start up if a progress view jumps
 
1494
  backwards. (Robert Collins)
 
1495
 
 
1496
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
1497
  are now be able to provide credentials if obtaining credentials 
 
1498
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
1499
  Vincent Ladeuil, #321918)
 
1500
 
 
1501
* New hook ``Lock.lock_broken`` which runs when a lock is
 
1502
  broken. This is mainly for testing that lock/unlock are
 
1503
  balanced in tests. (Vincent Ladeuil)
 
1504
 
 
1505
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
1506
  alter a body for the message produced by ``bzr send``.
 
1507
 
 
1508
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
1509
  refactoring to the core of clone allowing less round trips on new
 
1510
  branches. (Robert Collins)
 
1511
 
 
1512
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
1513
  are pointing at. (Jelmer Vernooij)
 
1514
 
 
1515
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
1516
 
 
1517
Testing
 
1518
*******
 
1519
 
 
1520
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
1521
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
1522
  (Vincent Ladeuil, Robert Collins)
 
1523
 
 
1524
bzr 1.14
 
1525
########
 
1526
:Codename: brisbane-core
 
1527
:1.14rc1: 2009-04-06
 
1528
:1.14rc2: 2009-04-19
 
1529
:1.14: 2009-04-28
 
1530
:1.14.1: 2009-05-01
 
1531
 
 
1532
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
1533
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
1534
End-of-line conversion is now supported for formats supporting content
 
1535
filtering.
 
1536
 
 
1537
Changes from 1.14final to 1.14.1
 
1538
********************************
 
1539
 
 
1540
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
1541
 
 
1542
Changes from 1.14rc2 to 1.14final
 
1543
*********************************
 
1544
 
 
1545
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
1546
  longer than 64KiB. (John Arbash Meinel, #364900)
 
1547
 
 
1548
Changes from 1.14rc1 to 1.14rc2
 
1549
*******************************
 
1550
 
 
1551
* Fix for bug 358037 Revision not in
 
1552
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
1553
  John A Meinel)
 
1554
 
 
1555
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
1556
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
1557
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
1558
 
 
1559
* Fix for bug 355280 eol content filters are never loaded and thus never
 
1560
  applied (Brian de Alwis, Ian Clatworthy)
 
1561
 
 
1562
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
1563
  write a better fix. (John Arbash Meinel, Robert Collins)
 
1564
 
 
1565
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
1566
  (Marius Kruger, Ian Clatworthy)
 
1567
 
 
1568
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
1569
  (Andrew Bennetts, Robert Collins)
 
1570
 
 
1571
Compatibility Breaks
 
1572
********************
 
1573
 
 
1574
* A previously disabled code path to accelerate getting configuration
 
1575
  settings from a smart server has been reinstated. We think this *may*
 
1576
  cause a incompatibility with servers older than bzr 0.15. We intend
 
1577
  to issue a point release to address this if it turns out to be a
 
1578
  problem. (Robert Collins, Andrew Bennetts)
 
1579
 
 
1580
* bzr no longer autodetects nested trees as 'tree-references'.  They
 
1581
  must now be explicitly added tree references.  At the commandline, use
 
1582
  join --reference instead of add.  (Aaron Bentley)
 
1583
 
 
1584
* The ``--long`` log format (the default) no longer shows merged
 
1585
  revisions implicitly, making it consistent with the ``short`` and
 
1586
  ``line`` log formats.  To see merged revisions for just a given
 
1587
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
1588
  use ``bzr log -n0``.  (Ian Clatworthy)
 
1589
 
 
1590
New Features
 
1591
************
 
1592
 
 
1593
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
1594
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
1595
  and generic content filtering. These formats replace the experimental
 
1596
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
1597
  respectively, but have support for filtered views disabled.
 
1598
  (Ian Clatworthy)
 
1599
 
 
1600
* New ``mv --auto`` option recognizes renames after they occur.
 
1601
  (Aaron Bentley)
 
1602
 
 
1603
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
1604
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
1605
 
 
1606
* ``bzr log`` now supports filtering of multiple files and directories
 
1607
  and will show changes that touch any of them. Furthermore,
 
1608
  directory filtering now shows the changes to any children of that
 
1609
  directory, not just the directory object itself.
 
1610
  (Ian Clatworthy, #97715)
 
1611
 
 
1612
* ``bzr shelve`` can now apply changes without storing anything on the
 
1613
  shelf, via the new --destroy option.  (Aaron Bentley)
 
1614
 
 
1615
* ``bzr send`` now accepts --body to specify an initial message body.
 
1616
  (Aaron bentley)
 
1617
 
 
1618
* ``bzr xxx --usage`` where xxx is a command now shows a usage
 
1619
  message and the options without the descriptive help sections
 
1620
  (like Description and Examples). A message is also given
 
1621
  explaining how to see the complete help, i.e. ``bzr help xxx``.
 
1622
  (Ian Clatworthy)
 
1623
 
 
1624
* Content filters can now be used to provide custom conversion
 
1625
  between the canonical format of content (i.e. as stored) and
 
1626
  the convenience format of content (i.e. as created in working
 
1627
  trees). See ``bzr help content-filters`` for further details.
 
1628
  (Ian Clatworthy, Alexander Belchenko)
 
1629
 
 
1630
* End-of-line conversion is now supported for formats supporting
 
1631
  content filtering. See ``bzr help eol`` for details.
 
1632
  (Ian Clatworthy)
 
1633
 
 
1634
* Newly-blessed `join` command allows combining two trees into one.
 
1635
  (Aaron Bentley)
 
1636
 
 
1637
Improvements
 
1638
************
 
1639
 
 
1640
* A new format name alias ``default-rich-root`` has been added and
 
1641
  points at the closest relative of the default format that supports 
 
1642
  rich roots. (Jelmer Vernooij, #338061)
 
1643
 
 
1644
* Branching from a stacked branch using ``bzr*://`` will now stream
 
1645
  the data when the target repository does not need topological
 
1646
  ordering, reducing round trips and network overhead. This uses the
 
1647
  existing smart server methods added in 1.13, so will work on any
 
1648
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
 
1649
 
 
1650
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
 
1651
  that displays/saves the content after content filters are applied.
 
1652
  (Ian Clatworthy)
 
1653
 
 
1654
* ``bzr ignore`` gives a more informative message when existing
 
1655
  version controlled files match the ignore pattern. (Neil
 
1656
  Martinsen-Burrell, #248895)
 
1657
 
 
1658
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
1659
  (Ian Clatworthy)
 
1660
 
 
1661
* ``bzr send`` is faster on repositories with deep histories.
 
1662
  (Ian Clatworthy)
 
1663
 
 
1664
* IPv6 literals are accepted in URLs.
 
1665
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
1666
 
 
1667
* Progress bars now show the rate of network activity for
 
1668
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
1669
 
 
1670
* Prompt for user names if they are not in the configuration. 
 
1671
  (Jelmer Vernooij, #256612)
 
1672
 
 
1673
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
 
1674
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
 
1675
  #294479)
 
1676
  
 
1677
* Streaming push can be done to older repository formats.  This is
 
1678
  implemented using a new ``Repository.insert_stream_locked`` RPC.
 
1679
  (Andrew Bennetts, Robert Collins)
 
1680
 
 
1681
* The "ignoring files outside view: .." message has been re-worded
 
1682
  to "Ignoring files outside view. View is .." to reduce confusion
 
1683
  about what was being considered and what was being ignored.
 
1684
  (Ian Clatworthy)
 
1685
 
 
1686
* The ``long`` log formatter now shows [merge] indicators. If
 
1687
  only one level of revisions is displayed and merges are found,
 
1688
  the ``long`` and ``short`` log formatters now tell the user
 
1689
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
1690
 
 
1691
* The ``brisbane-core`` project has delivered its beta format
 
1692
  ``development6-rich-root``. This format is suitable for judicious
 
1693
  testing by early adopters. In particular if you are benchmarking bzr
 
1694
  performance please be sure to test using this format. At this stage
 
1695
  more information is best obtained by contacting the Bazaar mailing list
 
1696
  or IRC channel if you are interested in using this format. We will make
 
1697
  end user documentation available closer to blessing the format as
 
1698
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
1699
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
1700
 
 
1701
* Tildes are no longer escaped. No more %7Euser/project/branch!
 
1702
  (Jonathan Lange)
 
1703
 
 
1704
Bug Fixes
 
1705
*********
 
1706
 
 
1707
* Pushing a new stacked branch will also push the parent inventories for
 
1708
  revisions at the stacking boundary.  This makes sure that the stacked
 
1709
  branch has enough data to calculate inventory deltas for all of its
 
1710
  revisions (without requiring the fallback branch).  This avoids
 
1711
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
1712
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
1713
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
1714
 
 
1715
* End-Of-Line content filters are now loaded correctly.
 
1716
  (Ian Clatworthy, Brian de Alwis, #355280)
 
1717
 
 
1718
* Authentication plugins now receive all the parameters from the request
 
1719
  itself (aka host, port, realm, path, etc). Previously, only the 
 
1720
  authentication section name, username and encoded password were 
 
1721
  provided. (Jean-Francois Roy)
 
1722
 
 
1723
* bzr gives a better message if an invalid regexp is passed to ``bzr log
 
1724
  -m``.  (Anne Mohsen, Martin Pool)
 
1725
 
 
1726
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
1727
 
 
1728
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
1729
  #313028)
 
1730
 
 
1731
* Fix "is not a stackable format" error when pushing a
 
1732
  stackable-format branch with an unstackable-format repository to a
 
1733
  destination with a default stacking policy.  (Andrew Bennetts)
 
1734
 
 
1735
* Fixed incorrect "Source format does not support stacking" warning
 
1736
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
1737
 
 
1738
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
1739
  needed. (Vincent Ladeuil, #355454)
 
1740
 
 
1741
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
 
1742
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
1743
  defined.  (Ian Clatworthy, #344708)
 
1744
 
 
1745
* It is no longer possible to fetch between repositories while the
 
1746
  target repository is in a write group. This prevents race conditions
 
1747
  that prevent the use of RPC's to perform fetch, and thus allows
 
1748
  optimising more operations. (Robert Collins, Andrew Bennetts)
 
1749
 
 
1750
* ``merge --force`` works again. (Robert Collins, #342105)
 
1751
 
 
1752
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
 
1753
  (Vincent Ladeuil, #346593)
 
1754
 
 
1755
* Pushing a new branch to a server that has a stacking policy will now
 
1756
  upgrade from the local branch format when the stacking policy points at
 
1757
  a branch which is itself stackable, because we know the client can read
 
1758
  both branches, we know that the trunk for the project can be read too,
 
1759
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
 
1760
 
 
1761
* Pushing a new stacked branch will also push the parent inventories for
 
1762
  revisions at the stacking boundary.  This makes sure that the stacked
 
1763
  branch has enough data to calculate inventory deltas for all of its
 
1764
  revisions (without requiring the fallback branch).  This avoids
 
1765
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
1766
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
1767
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
1768
 
 
1769
* The full test suite is passing again on OSX. Several minor issues (mostly
 
1770
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
1771
 
 
1772
* The GNU Changelog formatter is slightly improved in the case where
 
1773
  the delta is empty, and now correctly claims not to support tags.
 
1774
  (Andrea Bolognani)
 
1775
 
 
1776
* Shelve can now shelve changes to a symlink target.
 
1777
  (James Westby, #341558)
 
1778
 
 
1779
* The help for the ``info`` command has been corrected.
 
1780
  (Ian Clatworthy, #351931)
 
1781
 
 
1782
* Upgrade will now use a sensible default format if the source repository
 
1783
  uses rich roots.  (Jelmer Vernooij, #252908)
 
1784
 
 
1785
Documentation
 
1786
*************
 
1787
 
 
1788
* Expanded the index of the developer documentation. (Eric Siegerman)
 
1789
 
 
1790
* New topic `bzr help debug-flags`.  (Martin Pool)
 
1791
 
 
1792
* The generated manpage now explicitly lists aliases as commands.
 
1793
  (James Westby, #336998)
 
1794
 
 
1795
API Changes
 
1796
***********
 
1797
 
 
1798
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
1799
  (Martin Pool)
 
1800
 
 
1801
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
1802
  commit - this was a full-tree overhead that bzr no longer performs.
 
1803
  (Robert Collins)
 
1804
 
 
1805
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
1806
  obtain the username to use when connecting to remote machines. 
 
1807
  (Jelmer Vernooij)
 
1808
 
 
1809
* New API ``Inventory.filter()`` added that filters an inventory by
 
1810
  a set of file-ids so that only those fileids, their parents and
 
1811
  their children are included.  (Ian Clatworthy)
 
1812
 
 
1813
* New sort order for ``get_record_stream`` ``groupcompress`` which
 
1814
  sorts optimally for use with groupcompress compressors. (John Arbash
 
1815
  Meinel, Robert Collins)
 
1816
 
 
1817
* Repository APIs ``get_deltas_for_revisions()`` and
 
1818
  ``get_revision_delta()`` now support an optional ``specific_fileids``
 
1819
  parameter. If provided, the deltas are filtered so that only those
 
1820
  file-ids, their parents and their children are included.
 
1821
  (Ian Clatworthy)
 
1822
 
 
1823
* The ``get_credentials`` and ``set_credentials`` methods of 
 
1824
  ``AuthenticationConfig`` now accept an optional realm argument.
 
1825
  (Jean-Francois Roy)
 
1826
 
 
1827
* The ``pb`` argument to ``fetch()`` is deprecated.
 
1828
  (Martin Pool)
 
1829
 
 
1830
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
1831
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
1832
 
 
1833
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
 
1834
  that is not inside the backing transport from being opened.  See the
 
1835
  module documentation for ``bzrlib.smart.request`` for details.
 
1836
  (Andrew Bennetts, Robert Collins)
 
1837
 
 
1838
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
1839
  or None. Previously it would return the bytes from reading the link
 
1840
  which could be in any arbitrary encoding. (Robert Collins)
 
1841
 
 
1842
Testing
 
1843
*******
 
1844
 
 
1845
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
 
1846
  and ``tearDown`` weren't called.  This catches faulty tests that
 
1847
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
 
1848
  faulty tests were not properly isolated.
 
1849
  (Andrew Bennetts, Robert Collins)
 
1850
 
 
1851
* Fix test_msgeditor.MsgEditorTest test isolation.
 
1852
  (Vincent Ladeuil, #347130)
 
1853
 
 
1854
* ``medusa`` is not used anymore as an FTP test server starting with
 
1855
  python2.6. A new FTP test server based on ``pyftplib`` can be used
 
1856
  instead. This new server is a soft dependency as medusa which is still
 
1857
  preferred if both are available (modulo python version).
 
1858
  (Vincent Ladeuil)
 
1859
 
 
1860
Internals
 
1861
*********
 
1862
 
 
1863
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
1864
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
1865
 
 
1866
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
1867
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
1868
 
 
1869
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
1870
  serializing and deserializing inventory deltas for more efficient
 
1871
  streaming on the the network.  (Robert Collins, Andrew Bennetts)
 
1872
 
 
1873
* ``Branch._get_config`` has been added, which splits out access to the
 
1874
  specific config file from the branch. This is used to let RemoteBranch
 
1875
  avoid constructing real branch objects to access configuration settings.
 
1876
  (Robert Collins, Andrew Bennetts)
 
1877
 
 
1878
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
1879
  the implementation is generic and should impact foreign formats. This
 
1880
  helps performance for ``RemoteBranch`` push operations to new stacked
 
1881
  branches. (Robert Collins, Andrew Bennetts)
 
1882
 
 
1883
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
 
1884
  optmizations turned off. This only has effect when processing > 100,000
 
1885
  keys during something like ``bzr pack``. (John Arbash Meinel)
 
1886
 
 
1887
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
 
1888
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
 
1889
  dependency. (Robert Collins)
 
1890
 
 
1891
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
 
1892
  parameter for controlling opening of stacked branches.
 
1893
  (Andrew Bennetts, Robert Collins)
 
1894
  
 
1895
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
 
1896
  in terms of an iter_changes iterator rather than full tree scanning.
 
1897
  (Robert Collins)
 
1898
 
 
1899
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
 
1900
  enabling it to store the SHA1 and stat of the canonical (post
 
1901
  content filtered) form. (Ian Clatworthy)
 
1902
 
 
1903
* New ``assertLength`` method based on one Martin has squirreled away
 
1904
  somewhere. (Robert Collins, Martin Pool)
 
1905
 
 
1906
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
 
1907
  objects, allowing better enforcement of the smart server jail when
 
1908
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
 
1909
 
 
1910
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
1911
  to be added to the stanza that is printed for a particular revision.
 
1912
  (Jelmer Vernooij)
 
1913
 
 
1914
* New repository method ``refresh_data`` to cause any repository to
 
1915
  make visible data inserted into the repository by a smart server
 
1916
  fetch operation. (Robert Collins, Andrew Bennetts)
 
1917
 
 
1918
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
1919
  a callable to invoke if a preference has a value not in the map
 
1920
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
1921
  handle existing svn properties that define a list of keywords to be
 
1922
  expanded.  (Ian Clatworthy)
 
1923
 
 
1924
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
1925
  to write config settings to smart servers that support this, saving
 
1926
  5 round trips on the stacked streaming acceptance test.
 
1927
  (Robert Collins, Andrew Bennetts)
 
1928
 
 
1929
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
1930
  branch specific configuration from a remote server, which uses the 
 
1931
  already existing ``Branch.get_config_file`` smart verb.
 
1932
  (Robert Collins, Andrew Bennetts)
 
1933
 
 
1934
* ``RemoteRepository`` will now negatively cache missing revisions during
 
1935
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
 
1936
  (Robert Collins, Andrew Bennetts)
 
1937
 
 
1938
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
 
1939
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
 
1940
  (Andrew Bennetts)
 
1941
 
 
1942
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
 
1943
  whether the repository can efficiently generate deltas between trees
 
1944
  regardless of tree size. (Robert Collins)
 
1945
 
 
1946
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
 
1947
  byte strings" (aka 'chunked') for the content. It previously was
 
1948
  returning a plain string, which worked, but performed very poorly when
 
1949
  building a working tree (file.writelines(str) is very inefficient). This
 
1950
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
 
1951
 
 
1952
* selftest now supports a --parallel option, with values of 'fork' or
 
1953
  'subprocess' to run the test suite in parallel. Currently only linux
 
1954
  machine work, other platforms need patches submitted. (Robert Collins,
 
1955
  Vincent Ladeuil)
 
1956
 
 
1957
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
 
1958
  callables to use to decorate the test suite. Such decorators can add or
 
1959
  remove tests, or even remote the test suite to another machine if
 
1960
  desired. (Robert Collins)
 
1961
 
 
1962
* The smart server verb ``Repository.get_parent_map`` can now include
 
1963
  information about ghosts when the special revision ``include-missing:``
 
1964
  is in the requested parents map list. With this flag, ghosts are
 
1965
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
 
1966
 
 
1967
* ``_walk_to_common_revisions`` will now batch up at least 50
 
1968
  revisions before calling ``get_parent_map`` on the target,
 
1969
  regardless of ``InterRepository``.
 
1970
  (Andrew Bennetts, Robert Collins)
 
1971
 
 
1972
bzr 1.13
 
1973
########
 
1974
 
 
1975
:Codename: paraskavedekatriaphobia
 
1976
:1.13: 2009-03-14
 
1977
:1.13rc1: 2009-03-10
 
1978
:1.13.1: 2009-03-23
 
1979
:1.13.2: 2009-04-27
 
1980
 
 
1981
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
 
1982
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
 
1983
stacked branches should both be much faster over remote connections.  
 
1984
 
 
1985
Changes From 1.13.1 to 1.13.2
 
1986
*****************************
 
1987
 
 
1988
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
1989
a stacked branch they do not take care to push all the parent inventories for
 
1990
the transferred revisions. This means that a smart server serving that branch
 
1991
often cannot calculate inventory deltas for the branch (because smart server
 
1992
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
1993
have a verb to stream revisions out of a repository, so that's why this bug has
 
1994
appeared now.
 
1995
 
 
1996
Bug Fixes
 
1997
*********
 
1998
 
 
1999
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
2000
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
2001
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
2002
 
 
2003
Changes From 1.13final to 1.13.1
 
2004
********************************
 
2005
 
 
2006
A couple regessions where found in the 1.13 release. The pyrex-generated C
 
2007
extensions are missing from the .tar.gz and .zip files.  Documentation on how
 
2008
to generate GNU ChangeLogs is wrong.
 
2009
 
 
2010
Bug Fixes
 
2011
*********
 
2012
 
 
2013
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
 
2014
  version_info. (Bob Tanner, Martin Pool, #345232)
 
2015
 
 
2016
* Distribution archives for 1.13 do not contain generated C extension modules
 
2017
  (Jean-Francois Roy, Bob Tanner, #344465)
 
2018
 
 
2019
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
 
2020
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
 
2021
 
 
2022
* ``merge --force`` works again. (Robert Collins, #342105)
 
2023
 
 
2024
Changes From 1.13rc1 to 1.13final
 
2025
*********************************
 
2026
 
 
2027
* Fix "is not a stackable format" error when pushing a
 
2028
  stackable-format branch with an unstackable-format repository to a
 
2029
  destination with a default stacking policy.  (Andrew Bennetts)
 
2030
 
 
2031
* Progress bars now show the rate of network activity for
 
2032
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
2033
 
 
2034
Compatibility Breaks
 
2035
********************
 
2036
 
 
2037
* ``bzr log --line`` now indicates which revisions are merges with
 
2038
  `[merge]` after the date.  Scripts which parse the output of this
 
2039
  command may need to be adjusted.
 
2040
  (Neil Martinsen-Burrell)
 
2041
 
 
2042
New Features
 
2043
************
 
2044
 
 
2045
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
 
2046
  options to change the default tree-creation policy of shared
 
2047
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
 
2048
 
 
2049
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
 
2050
  (Martin Pool)
 
2051
 
 
2052
* Filtered views provide a mask over the tree so that users can focus
 
2053
  on a subset of a tree when doing their work. See ``Filtered views``
 
2054
  in chapter 7 of the User Guide and ``bzr help view`` for details.
 
2055
  (Ian Clatworthy)
 
2056
 
 
2057
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
 
2058
  (Andrea Bolognani, Martin Pool)
 
2059
 
 
2060
* The ``-Dmemory`` flag now gives memory information on Windows.
 
2061
  (John Arbash Meinel)
 
2062
 
 
2063
* Multiple authors for a commit can now be recorded by using the "--author"
 
2064
  option multiple times. (James Westby, #185772)
 
2065
 
 
2066
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
 
2067
 
 
2068
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
 
2069
  branch in your web browser, as long as the branch is on Launchpad at all.
 
2070
  (Jonathan Lange)
 
2071
 
 
2072
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
 
2073
  (Jonathan Lange)
 
2074
 
 
2075
Improvements
 
2076
************
 
2077
 
 
2078
* All bzr ``Hooks`` classes are now registered in
 
2079
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
 
2080
  ``bzrlib.tests`` and ensures that all hooks registered there are
 
2081
  correctly isolated by the test suite (previously
 
2082
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
 
2083
  documentation for hooks is now dynamically generated from the
 
2084
  present HookPoints. ``bzr hooks`` will now also report on all the
 
2085
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
 
2086
  (Robert Collins)
 
2087
 
 
2088
* ``bzr add`` no longer prints ``add completed`` on success. Failure
 
2089
  still prints an error message. (Robert Collins)
 
2090
 
 
2091
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
 
2092
  generation of a working tree in the new branch.
 
2093
  (Daniel Watkins, John Klinger, #273993)
 
2094
 
 
2095
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
 
2096
  use ssh://. (Jelmer Vernooij, #330535)
 
2097
 
 
2098
* ``bzr -v info`` now omits the number of committers branch statistic,
 
2099
  making it many times faster for large projects. To include that
 
2100
  statistic in the output, use ``bzr -vv info``.
 
2101
  (Ian Clatworthy)
 
2102
 
 
2103
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
 
2104
  stream if the server is version 1.13 or greater, reducing roundtrips
 
2105
  significantly. (Andrew Bennetts, Robert Collins)
 
2106
 
 
2107
* Lightweight Checkouts and Stacked Branches should both be much
 
2108
  faster over remote connections. Building the working tree now
 
2109
  batches up requests into approx 5MB requests, rather than a separate
 
2110
  request for each file. (John Arbash Meinel)
 
2111
 
 
2112
* Support for GSSAPI authentication when using HTTP or HTTPS. 
 
2113
  (Jelmer Vernooij)
 
2114
 
 
2115
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
 
2116
  short options better. (Daniel Watkins, #327429)
 
2117
 
 
2118
* ``bzr lp-open`` now falls back to the push location if it cannot find a
 
2119
  public location. (Jonathan Lange, #332372)
 
2120
 
 
2121
* ``bzr lp-open`` will try to find the Launchpad URL for the location
 
2122
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
 
2123
  expected. (Jonathan Lange, #332705)
 
2124
 
 
2125
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
 
2126
 
 
2127
Bug Fixes
 
2128
*********
 
2129
 
 
2130
* Allows ``bzr log <FILE>`` to be called in an empty branch without
 
2131
  backtracing. (Vincent Ladeuil, #346431)
 
2132
 
 
2133
* Bazaar now gives a better message including the filename if it's
 
2134
  unable to read a file in the working directory, for example because
 
2135
  of a permission error.  (Martin Pool, #338653)
 
2136
 
 
2137
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
 
2138
  file id in the working tree different from the one in revision <old>.
 
2139
  (Vincent Ladeuil, #341517, #253806)
 
2140
 
 
2141
* ``bzr send`` help is more specific about how to apply merge
 
2142
  directives.  (Neil Martinsen-Burrell, #253470)
 
2143
 
 
2144
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
 
2145
  than fetching trees and determining a delta itself. (Jelmer
 
2146
  Vernooij, #315048)
 
2147
 
 
2148
* ``bzr push`` to a smart server no longer causes "Revision
 
2149
  {set([('null:',)])} not present ..." errors when the branch has
 
2150
  multiple root revisions. (Andrew Bennetts, #317654)
 
2151
 
 
2152
* ``bzr shelve`` now properly handle patches with no terminating newline.
 
2153
  (Benoît PIERRE, #303569)
 
2154
 
 
2155
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
 
2156
  shelf id. (Daniel Watkins)
 
2157
 
 
2158
* Export now handles files that are not present in the tree.
 
2159
  (James Westby, #174539)
 
2160
 
 
2161
* Fixed incorrect "Source format does not support stacking" warning
 
2162
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
2163
  
 
2164
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
 
2165
  error branching from old repositories.
 
2166
  (Martin Pool, #321695)
 
2167
 
 
2168
* Make ``bzr push --quiet <non-local location>`` less chatty.
 
2169
  (Kent Gibson, #221461)
 
2170
 
 
2171
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
 
2172
  branches, and this was not noticed due to a bug in the test logic
 
2173
  for branches. This is now fixed and a test added to prevent it
 
2174
  reoccuring. (Robert Collins, Andrew Bennetts)
 
2175
 
 
2176
* Restore the progress bar on Windows. We were disabling it when TERM
 
2177
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
2178
  #334808)
 
2179
 
 
2180
* ``setup.py build_ext`` now gives a proper error when an extension
 
2181
  fails to build. (John Arbash Meinel)
 
2182
 
 
2183
* Symlinks to non ascii file names are now supported.
 
2184
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
 
2185
 
 
2186
* Under rare circumstances (aka nobody reported a bug about it), the ftp
 
2187
  transport could revert to ascii mode. It now stays in binary mode except
 
2188
  when needed.  (Vincent Ladeuil)
 
2189
 
 
2190
* Unshelve does not generate warnings about progress bars.
 
2191
  (Aaron Bentley, #328148)
 
2192
 
 
2193
* shelve cleans up properly when unversioned files are specified.
 
2194
  (Benoît Pierre, Aaron Bentley)
 
2195
 
 
2196
Documentation
 
2197
*************
 
2198
 
 
2199
* Added ``Organizing your workspace`` to the User Guide appendices,
 
2200
  summarizing some common ways of organizing trees, branches and
 
2201
  repositories and the processes/workflows implied/enabled by each.
 
2202
  (Ian Clatworthy)
 
2203
 
 
2204
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
 
2205
  is the entry point for this feature. (Robert Collins)
 
2206
 
 
2207
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
 
2208
  (Daniel Watkins, #327421, #327425)
 
2209
 
 
2210
API Changes
 
2211
***********
 
2212
 
 
2213
* ``bzr selftest`` now fails if the bazaar sources contain trailing
 
2214
  whitespace, non-unix style line endings and files not ending in a
 
2215
  newline. About 372 files and 3243 lines with trailing whitespace was
 
2216
  updated to comply with this. The code already complied with the other
 
2217
  criteria, but now it is enforced. (Marius Kruger)
 
2218
 
 
2219
* ``bzrlib.branch.PushResult`` was renamed to 
 
2220
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
 
2221
 
 
2222
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
 
2223
  than a count of copied revisions and failed revisions. A while back
 
2224
  we stopped ever reporting failed revisions because we started
 
2225
  erroring instead, and the copied revisions count is not used in the
 
2226
  UI at all - indeed it only reflects the repository status not
 
2227
  changes to the branch itself. (Robert Collins)
 
2228
 
 
2229
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
 
2230
  appears multiple times within the delta. (Ian Clatworthy)
 
2231
 
 
2232
* MutableTree.commit now favours the "authors" argument, with the old
 
2233
  "author" argument being deprecated.
 
2234
 
 
2235
* Remove deprecated EmptyTree.  (Martin Pool)
 
2236
 
 
2237
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
 
2238
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
 
2239
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
 
2240
  which revisions to fetch. (Andrew Bennetts)
 
2241
 
 
2242
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
 
2243
  tuple of ``(repository, is_new_flag)``, rather than just the
 
2244
  repository.  (Andrew Bennetts)
 
2245
 
 
2246
* Revision.get_apparent_author() is now deprecated, replaced by
 
2247
  Revision.get_apparent_authors(), which returns a list. The former
 
2248
  now returns the first item that would be returned from the second.
 
2249
 
 
2250
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
 
2251
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
 
2252
 
 
2253
* The ``_fetch_*`` attributes on ``Repository`` are now on
 
2254
  ``RepositoryFormat``, more accurately reflecting their intent (they
 
2255
  describe a disk format capability, not state of a particular
 
2256
  repository of that format). (Robert Collins)
 
2257
 
 
2258
Internals
 
2259
*********
 
2260
 
 
2261
* Branching from a non-stacked branch on a smart protocol is now
 
2262
  free of virtual file system methods.
 
2263
  (Robert Collins, Andrew Bennetts)
 
2264
 
 
2265
* Branch and Repository creation on a bzr+ssh://server are now done
 
2266
  via RPC calls rather than VFS calls, reducing round trips for
 
2267
  pushing new branches substantially. (Robert Collins)
 
2268
 
 
2269
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
 
2270
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
 
2271
  configured before the branch tags and revision tip are set. This
 
2272
  fixes a race condition cloning stacked branches that would cause
 
2273
  plugins to have hooks called on non-stacked instances.
 
2274
  (Robert Collins, #334187)
 
2275
 
 
2276
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
 
2277
 
 
2278
* ``BzrDirFormat.__str__`` now uses the human readable description
 
2279
  rather than the sometimes-absent disk label. (Robert Collins)
 
2280
 
 
2281
* ``bzrlib.fetch`` is now composed of a sender and a sink component
 
2282
  allowing for decoupling over a network connection. Fetching from
 
2283
  or into a RemoteRepository with a 1.13 server will use this to
 
2284
  stream the operation.
 
2285
  (Andrew Bennetts, Robert Collins)
 
2286
 
 
2287
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
 
2288
  supporting the use of different runners. (Robert Collins)
 
2289
 
 
2290
* Change how file_ids and revision_ids are interned as part of
 
2291
  inventory deserialization. Now we use the real ``intern()``, rather
 
2292
  than our own workaround that would also cache a Unicode copy of the
 
2293
  string, and never emptied the cache. This should slightly reduce
 
2294
  memory consumption. (John Arbash Meinel)
 
2295
 
 
2296
* New branch method ``create_clone_on_transport`` that returns a
 
2297
  branch object. (Robert Collins)
 
2298
 
 
2299
* New hook Commands['extend_command'] to allow plugins to access a
 
2300
  command object before the command is run (or help generated from
 
2301
  it), without overriding the command. (Robert Collins)
 
2302
 
 
2303
* New version of the ``BzrDir.find_repository`` verb supporting
 
2304
  ``_network_name`` to support removing more _ensure_real calls.
 
2305
  (Robert Collins)
 
2306
 
 
2307
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
 
2308
  (Robert Collins)
 
2309
 
 
2310
* ``Repository`` objects now have ``suspend_write_group`` and
 
2311
  ``resume_write_group`` methods.  These are currently only useful
 
2312
  with pack repositories. (Andrew Bennetts, Robert Collins)
 
2313
 
 
2314
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
 
2315
  now have a ``network_name`` for passing the format across RPC calls.
 
2316
  (Robert Collins, Andrew Bennetts)
 
2317
 
 
2318
* ``RepositoryFormat`` objects now all have a new attribute
 
2319
  ``_serializer`` used by fetch when reserialising is required.
 
2320
  (Robert Collins, Andrew Bennetts)
 
2321
 
 
2322
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
 
2323
  to aid branch types that are not bzr branch objects (like
 
2324
  RemoteBranch). (Robert Collins, Andrew Bennetts)
 
2325
 
 
2326
* Test adaptation has been made consistent throughout the built in
 
2327
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
 
2328
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
 
2329
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
 
2330
  and ``apply_scenario``. (Robert Collins)
 
2331
 
 
2332
* ``TestSkipped`` is now detected by TestCase and passed to the
 
2333
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
 
2334
  where ``addSkip`` is not available, ``addError`` is still called.
 
2335
  This permits test filtering in subunit to strip out skipped tests
 
2336
  resulting in a faster fix-shrink-list-run cycle. This is compatible
 
2337
  with the testtools protocol for skips. (Robert Collins)
 
2338
 
 
2339
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
 
2340
  to scan an underlying index that is going to be incorporated into
 
2341
  the ``KnitVersionedFiles`` object, to determine if it has missing
 
2342
  delta references. The method is ``scan_unvalidated_index``.
 
2343
  (Andrew Bennetts, Robert Collins)
 
2344
 
 
2345
* There is a RemoteSink object which handles pushing to smart servers.
 
2346
  (Andrew Bennetts, Robert Collins)
 
2347
 
 
2348
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
 
2349
  ``rmdir`` calls. (Robert Collins)
 
2350
 
 
2351
* ``VersionedFiles`` record adapters have had their signature change
 
2352
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
 
2353
  ``(record)`` reducing excess duplication and allowing adapters
 
2354
  to access private data in record to obtain content more
 
2355
  efficiently. (Robert Collins)
 
2356
 
 
2357
* We no longer probe to see if we should create a working tree during
 
2358
  clone if we cannot get a local_abspath for the new bzrdir.
 
2359
  (Robert Collins)
 
2360
 
 
2361
 
 
2362
bzr 1.12
 
2363
########
 
2364
 
 
2365
:Codename: 1234567890
 
2366
:1.12: 2009-02-13
 
2367
:1.12rc1: 2009-02-10
 
2368
 
 
2369
This release of Bazaar contains many improvements to the speed,
 
2370
documentation and functionality of ``bzr log`` and the display of logged
 
2371
revisions by ``bzr status``.  bzr now also gives a better indication of
 
2372
progress, both in the way operations are drawn onto a text terminal, and
 
2373
by showing the rate of network IO.
 
2374
 
 
2375
Changes from RC1 to Final
 
2376
*************************
 
2377
 
 
2378
* ``bzr init --development-wt5[-rich-root]`` would fail because of
 
2379
  circular import errors. (John Arbash Meinel, #328135)
 
2380
 
 
2381
* Expanded the help for log and added a new help topic called
 
2382
  ``log-formats``.  (Ian Clatworthy)
 
2383
 
 
2384
Compatibility Breaks
 
2385
********************
 
2386
 
 
2387
* By default, ``bzr status`` after a merge now shows just the pending
 
2388
  merge tip revisions. This improves the signal-to-noise ratio after
 
2389
  merging from trunk and completes much faster. To see all merged
 
2390
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
 
2391
 
 
2392
* ``bzr log --line`` now shows any tags after the date and before
 
2393
  the commit message. If you have scripts which parse the output
 
2394
  from this command, you may need to adjust them accordingly.
 
2395
  (Ian Clatworthy)
 
2396
 
 
2397
* ``bzr log --short`` now shows any additional revision properties
 
2398
  after the date and before the commit message.  Scripts that parse 
 
2399
  output of the log command in this situation may need to adjust.
 
2400
  (Neil Martinsen-Burrell)
 
2401
 
 
2402
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
 
2403
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
 
2404
  respectively, given they are not ready for release in 1.12.
 
2405
  (Ian Clatworthy)
 
2406
 
 
2407
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
 
2408
 
 
2409
New Features
 
2410
************
 
2411
 
 
2412
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
 
2413
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
 
2414
  be filtered using ``bzr missing --my-revision -20..-10``.
 
2415
  (Marius Kruger)
 
2416
 
 
2417
* ``bzr log -p`` displays the patch diff for each revision.
 
2418
  When logging a file, the diff only includes changes to that file.
 
2419
  (Ian Clatworthy, #202331, #227335)
 
2420
 
 
2421
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
 
2422
  A value of 0 (zero) means "show all nested merge revisions" while
 
2423
  a value of 1 (one) means "show just the top level". Values above
 
2424
  1 can be used to see a limited amount of nesting. That can be
 
2425
  useful for seeing the level or two below PQM submits for example.
 
2426
  To force the ``--short`` and ``--line`` formats to display all nested
 
2427
  merge revisions just like ``--long`` does by default, use a command
 
2428
  like ``bzr log --short -n0``. To display just the mainline using
 
2429
  ``--long`` format, ``bzr log --long -n1``.
 
2430
  (Ian Clatworthy)
 
2431
 
 
2432
Improvements
 
2433
************
 
2434
 
 
2435
* ``bzr add`` more clearly communicates success vs failure.
 
2436
  (Daniel Watkins)
 
2437
 
 
2438
* ``bzr init`` will now print a little less verbose output.
 
2439
  (Marius Kruger)
 
2440
 
 
2441
* ``bzr log`` is now much faster in many use cases, particularly
 
2442
  at incrementally displaying results and filtering by a
 
2443
  revision range. (Ian Clatworthy)
 
2444
 
 
2445
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
 
2446
  for each revision. The tags are shown comma-separated inside
 
2447
  ``{}``. For short format, the tags appear at the end of line
 
2448
  before the optional ``[merge]`` indicator. For line format,
 
2449
  the tags appear after the date. (Ian Clatworthy)
 
2450
 
 
2451
* Progress bars now show the rate of activity for some sftp 
 
2452
  operations, and they are drawn different.  (Martin Pool, #172741)
 
2453
 
 
2454
* Progress bars now show the rate of activity for urllib and pycurl based
 
2455
  http client implementations. The operations are tracked at the socket
 
2456
  level for better precision.
 
2457
  (Vincent Ladeuil)
 
2458
 
 
2459
* Rule-based preferences can now accept multiple patterns for a set of
 
2460
  rules.  (Marius Kruger)
 
2461
 
 
2462
* The ``ancestor:`` revision spec will now default to referring to the
 
2463
  parent of the branch if no other location is given.
 
2464
  (Daniel Watkins, #198417)
 
2465
 
 
2466
* The debugger started as a result of setting ``$BZR_PDB`` works
 
2467
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
 
2468
  can cause truncated tracebacks in Python versions before 2.6.
 
2469
  (Andrew Bennetts)
 
2470
 
 
2471
* VirtualVersionedFiles now implements
 
2472
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
 
2473
  new branches based on stacked bzr-svn branches. (#311997)
 
2474
 
 
2475
Bug Fixes
 
2476
*********
 
2477
 
 
2478
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
 
2479
  anymore.
 
2480
  (Anne Mohsen, Vincent Ladeuil, #314525)
 
2481
 
 
2482
* ``bzr log FILE`` now correctly shows mainline revisions merging
 
2483
  a change to FILE when the ``--short`` and ``--line`` log formats
 
2484
  are used. (Ian Clatworthy, #317417)
 
2485
 
 
2486
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
 
2487
  it existed in Y or X, even if the file has since been deleted or
 
2488
  renamed. If no range is given, the current/basis tree and
 
2489
  initial tree are searched in that order. More generally, log
 
2490
  now interprets filenames in their historical context.
 
2491
  (Ian Clatworthy, #175520)
 
2492
 
 
2493
* ``bzr status`` now reports nonexistent files and continues, then
 
2494
  errors (with code 3) at the end.  (Karl Fogel, #306394)
 
2495
 
 
2496
* Don't require the present compression base in knits to be the same
 
2497
  when adding records in knits. (Jelmer Vernooij, #307394)
 
2498
 
 
2499
* Fix a problem with CIFS client/server lag on Windows colliding with
 
2500
  an invariant-per-process algorithm for generating AtomicFile names
 
2501
  (Adrian Wilkins, #304023)
 
2502
 
 
2503
* Many socket operations now handle EINTR by retrying the operation.
 
2504
  Previously EINTR was treated as an unrecoverable failure.  There is
 
2505
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
 
2506
  (Andrew Bennetts)
 
2507
 
 
2508
* Support symlinks with non-ascii characters in the symlink filename.
 
2509
  (Jelmer Vernooij, #319323)
 
2510
 
 
2511
* There was a bug in how we handled resolving when a file is deleted
 
2512
  in one branch, and modified in the other. If there was a criss-cross
 
2513
  merge, we would cause the deletion to conflict a second time.
 
2514
  (Vincent Ladeuil, John Arbash Meinel)
 
2515
 
 
2516
* There was another bug in how we chose the correct intermediate LCA in
 
2517
  criss-cross merges leading to several kind of changes be incorrectly
 
2518
  handled.
 
2519
  (John Arbash Meinel, Vincent Ladeuil)
 
2520
 
 
2521
* Unshelve now handles deleted paths without crashing. (Robert Collins)
 
2522
 
 
2523
Documentation
 
2524
*************
 
2525
 
 
2526
* Improved plugin developer documentation.  (Martin Pool)
 
2527
 
 
2528
API Changes
 
2529
***********
 
2530
 
 
2531
* ``ProgressBarStack`` is deprecated; instead use
 
2532
  ``ui_factory.nested_progress_bar`` to create new progress bars.
 
2533
  (Martin Pool)
 
2534
 
 
2535
* ForeignVcsMapping() now requires a ForeignVcs object as first
 
2536
  argument. (Jelmer Vernooij)
 
2537
 
 
2538
* ForeignVcsMapping.show_foreign_revid() has been moved to
 
2539
  ForeignVcs. (Jelmer Vernooij)
 
2540
 
 
2541
* ``read_bundle_from_url`` is deprecated in favor of
 
2542
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
 
2543
 
 
2544
* Revision specifiers are now registered in
 
2545
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
 
2546
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
 
2547
  deprecated. (Jelmer Vernooij, #321183)
 
2548
 
 
2549
* The progress and UI classes have changed; the main APIs remain the
 
2550
  same but code that provides a new UI or progress bar class may
 
2551
  need to be updated.  (Martin Pool)
 
2552
 
 
2553
Internals
 
2554
*********
 
2555
 
 
2556
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
 
2557
  terminal. It is sometimes desirable do override this default by forcing
 
2558
  bzr to use TextUIFactory. This can be achieved by setting the
 
2559
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
 
2560
  compile buffers, are such an example).
 
2561
  (Vincent Ladeuil)
 
2562
 
 
2563
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
 
2564
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
 
2565
  (Ian Clatworthy)
 
2566
 
 
2567
* New ``Branch.dotted_revno_to_revision_id()`` and
 
2568
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
 
2569
  efficient way of doing the mapping.
 
2570
  (Ian Clatworthy)
 
2571
 
 
2572
* Refactor cmd_serve so that it's a little easier to build commands that
 
2573
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
 
2574
 
 
2575
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
 
2576
  formatters to retrict the output.
 
2577
  (Vincent Ladeuil)
 
2578
 
 
2579
 
 
2580
bzr 1.11
 
2581
########
 
2582
 
 
2583
:Codename: "Eyes up!"
 
2584
:Released: 2009-01-19
 
2585
 
 
2586
This first monthly release of Bazaar for 2009 improves Bazaar's operation
 
2587
in Windows, Mac OS X, and other situations where file names are matched
 
2588
without regard to capitalization: Bazaar tries to match the case of an
 
2589
existing file.  This release of Bazaar also improves the efficiency of
 
2590
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
 
2591
 
 
2592
The UI through which Bazaar supports historic formats has been improved,
 
2593
so 'bzr help formats' now gives a simpler and shorter list, with clear
 
2594
advice.
 
2595
 
 
2596
This release also fixes a number of bugs, particularly a glitch that can
 
2597
occur when there are concurrent writes to a pack repository.
 
2598
 
 
2599
Bug Fixes
 
2600
*********
 
2601
 
 
2602
* Fix failing test when CompiledChunksToLines is not available.
 
2603
  (Vincent Ladeuil)
 
2604
 
 
2605
* Stacked branches don't repeatedly open their transport connection.
 
2606
  (John Arbash Meinel)
 
2607
 
 
2608
 
 
2609
 
 
2610
bzr 1.11rc1
 
2611
###########
 
2612
 
 
2613
:Codename: "Eyes up!"
 
2614
:Released: 2009-01-09
 
2615
 
 
2616
Changes
 
2617
*******
 
2618
 
 
2619
* Formats using Knit-based repository formats are now explicitly
 
2620
  marked as deprecated. (Ian Clatworthy)
 
2621
 
 
2622
New Features
 
2623
************
 
2624
 
 
2625
* Add support for `bzr tags -r 1..2`, that is we now support showing
 
2626
  tags applicable for a specified revision range. (Marius Kruger)
 
2627
 
 
2628
* ``authentication.conf`` now accepts pluggable read-only credential
 
2629
  stores. Such a plugin (``netrc_credential_store``) is now included,
 
2630
  handles the ``$HOME/.netrc`` file and can server as an example to
 
2631
  implement other plugins.
 
2632
  (Vincent Ladeuil)
 
2633
 
 
2634
* ``shelve --list`` can now be used to list shelved changes.
 
2635
  (Aaron Bentley)
 
2636
 
 
2637
Improvements
 
2638
************
 
2639
 
 
2640
* Add trailing slash to directories in all output of ``bzr ls``, except
 
2641
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
 
2642
 
 
2643
* ``bzr revision-info`` now supports a -d option to specify an
 
2644
  alternative branch. (Michael Hudson)
 
2645
 
 
2646
* Add connection to a C++ implementation of the Windows Shell Extension
 
2647
  which is able to fully replace the current Python implemented one.
 
2648
  Advantages include 64bit support and reduction in overhead for
 
2649
  processes which drag in shell extensions.
 
2650
  (Mark Hammond)
 
2651
 
 
2652
* Support the Claws mail client directly, rather than via
 
2653
  xdg-email. This prevents the display of an unnecessary modal
 
2654
  dialog in Claws, informing the user that a file has been
 
2655
  attached to the message, and works around bug #291847 in
 
2656
  xdg-utils which corrupts the destination address.
 
2657
 
 
2658
* When working on a case-insensitive case-preserving file-system, as
 
2659
  commonly found with Windows, bzr will often ignore the case of the
 
2660
  arguments specified by the user in preference to the case of an existing
 
2661
  item on the file-system or in the inventory to help prevent
 
2662
  counter-intuitive behaviour on Windows. (Mark Hammond)
 
2663
 
 
2664
Bug Fixes
 
2665
*********
 
2666
  
 
2667
* Allow BzrDir implementation to implement backing up of 
 
2668
  control directory. (#139691)
 
2669
 
 
2670
* ``bzr push`` creating a new stacked branch will now only open a
 
2671
  single connection to the target machine. (John Arbash Meinel)
 
2672
 
 
2673
* Don't call iteritems on transport_list_registry, because it may
 
2674
  change during iteration.  (Martin Pool, #277048)
 
2675
 
 
2676
* Don't make a broken branch when pushing an unstackable-format branch
 
2677
  that's in a stackable shared repository to a location with default
 
2678
  stack-on location.  (Andrew Bennetts, #291046)
 
2679
 
 
2680
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
 
2681
  (Ben Jansen, Vincent Ladeuil, #300347)
 
2682
 
 
2683
* Fix a problem with CIFS client/server lag on windows colliding with
 
2684
  an invariant-per-process algorithm for generating AtomicFile names
 
2685
  (Adrian Wilkins, #304023)
 
2686
 
 
2687
* Fix bogus setUp signature in UnavailableFTPServer.
 
2688
  (Gary van der Merwe, #313498)
 
2689
 
 
2690
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
 
2691
  (Jari Aalto)
 
2692
 
 
2693
* Fix SystemError in ``_patiencediff_c`` module by calling
 
2694
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
 
2695
  (Andrew Bennetts, #303206)
 
2696
 
 
2697
* Give proper error message for diff with non-existent dotted revno.
 
2698
  (Marius Kruger, #301969)
 
2699
 
 
2700
* Handle EACCES (permission denied) errors when launching a message
 
2701
  editor, and emit warnings when a configured editor cannot be
 
2702
  started. (Andrew Bennetts)
 
2703
 
 
2704
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
 
2705
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
 
2706
  in the appropriate sections.
 
2707
  (Vincent Ladeuil, #103029)
 
2708
 
 
2709
* Opening a stacked branch now properly shares the connection, rather
 
2710
  than opening a new connection for the stacked-on branch.
 
2711
  (John Arbash meinel)
 
2712
 
 
2713
* Preserve transport decorators while following redirections.
 
2714
  (Vincent Ladeuil, #245964, #270863)
 
2715
 
 
2716
* Provides a finer and more robust filter for accepted redirections.
 
2717
  (Vincent Ladeuil, #303959, #265070)
 
2718
 
 
2719
* ``shelve`` paths are now interpreted relative to the current working
 
2720
  tree.  (Aaron Bentley)
 
2721
 
 
2722
* ``Transport.readv()`` defaults to not reading more than 100MB in a
 
2723
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
 
2724
  work better with how it splits its requests.
 
2725
  (John Arbash Meinel, #303538)
 
2726
 
 
2727
* Pack repositories are now able to reload the pack listing and retry
 
2728
  the current operation if another action causes the data to be
 
2729
  repacked.  (John Arbash Meinel, #153786)
 
2730
 
 
2731
* ``pull -v`` now respects the log_format configuration variable.
 
2732
  (Aaron Bentley)
 
2733
 
 
2734
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
 
2735
 
 
2736
* Use the short status format when the short format is used for log.
 
2737
  (Vincent Ladeuil, #87179)
 
2738
 
 
2739
* Allow files to be renamed or moved via remove + add-by-id. (Charles
 
2740
  Duffy, #314251)
 
2741
 
 
2742
Documentation
 
2743
*************
 
2744
 
 
2745
* Improved the formats help topic to explain why multiple formats
 
2746
  exist and to provide guidelines in selecting one. Introduced
 
2747
  two new supporting help topics: current-formats and other-formats.
 
2748
  (Ian Clatworthy)
 
2749
 
 
2750
API Changes
 
2751
***********
 
2752
 
 
2753
* ``LRUCache(after_cleanup_size)`` was renamed to
 
2754
  ``after_cleanup_count`` and the old name deprecated. The new name is
 
2755
  used for clarity, and to avoid confusion with
 
2756
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
 
2757
 
 
2758
* New ``ForeignRepository`` base class, to help with foreign branch 
 
2759
  support (e.g. svn).  (Jelmer Vernooij)
 
2760
 
 
2761
* ``node_distances`` and ``select_farthest`` can no longer be imported
 
2762
  from ``bzrlib.graph``.  They can still be imported from
 
2763
  ``bzrlib.deprecated_graph``, which has been the preferred way to
 
2764
  import them since before 1.0.  (Andrew Bennetts)
 
2765
  
 
2766
* The logic in commit now delegates inventory basis calculations to
 
2767
  the ``CommitBuilder`` object; this requires that the commit builder
 
2768
  in use has been updated to support the new ``recording_deletes`` and
 
2769
  ``record_delete`` methods. (Robert Collins)
 
2770
 
 
2771
Testing
 
2772
*******
 
2773
 
 
2774
* An HTTPS server is now available (it requires python-2.6). Future bzr
 
2775
  versions will allow the use of the python-2.6 ssl module that can be
 
2776
  installed for 2.5 and 2.4.
 
2777
 
 
2778
* ``bzr selftest`` now fails if new trailing white space is added to
 
2779
  the bazaar sources. It only checks changes not committed yet. This
 
2780
  means that PQM will now reject changes that introduce new trailing
 
2781
  whitespace. (Marius Kruger)
 
2782
 
 
2783
* Introduced new experimental formats called ``1.12-preview`` and
 
2784
  ``1.12-preview-rich-root`` to enable testing of related pending
 
2785
  features, namely content filtering and filtered views.
 
2786
  (Ian Clatworthy)
 
2787
 
 
2788
Internals
 
2789
*********
 
2790
 
 
2791
* Added an ``InventoryEntry`` cache when deserializing inventories.
 
2792
  Can cut the time to iterate over multiple RevisionsTrees in half.
 
2793
  (John Arbash Meinel)
 
2794
 
 
2795
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
 
2796
  minimal overhead versus using a plain dict for cache hits, at the
 
2797
  cost of not preserving the 'active' set as well as an ``LRUCache``.
 
2798
  (John Arbash Meinel)
 
2799
 
 
2800
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
 
2801
  character to separate the filename from the date stamp, and doesn't
 
2802
  add trailing whitespace when a date stamp is not supplied.
 
2803
  (Adeodato Simó, John Arbash Meinel)
 
2804
 
 
2805
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
 
2806
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
 
2807
  respectively. (Ian Clatworthy)
 
2808
 
 
2809
* ``KnitVersionedFiles._check_should_delta()`` now uses the
 
2810
  ``get_build_details`` api to avoid multiple hits to the index, and
 
2811
  to properly follow the ``compression_parent`` rather than assuming
 
2812
  it is the left-hand parent. (John Arbash Meinel)
 
2813
 
 
2814
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
 
2815
  more optimal ordering when the keys are requested 'unordered'.
 
2816
  Previously the order was fully random, now the records should be
 
2817
  returned from each pack in turn, in forward I/O order.
 
2818
  (John Arbash Meinel)
 
2819
    
 
2820
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
 
2821
  than 2s since the last time it flushed. (John Arbash Meinel)
 
2822
 
 
2823
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
 
2824
  allows adding an inventory via an inventory delta, which can be
 
2825
  more efficient for some repository types. (Robert Collins)
 
2826
 
 
2827
* Repository ``CommitBuilder`` objects can now accumulate an inventory
 
2828
  delta. To enable this functionality call ``builder.recording_deletes``
 
2829
  and additionally call ``builder.record_delete`` when a delete
 
2830
  against the basis occurs. (Robert Collins)
 
2831
 
 
2832
* The default http handler has been changed from pycurl to urllib.
 
2833
  The default is still pycurl for https connections. (The only
 
2834
  advantage of pycurl is that it checks ssl certificates.)
 
2835
  (John Arbash Meinel)
 
2836
 
 
2837
* ``VersionedFiles.get_record_stream()`` can now return objects with a
 
2838
  storage_kind of ``chunked``. This is a collection (list/tuple) of
 
2839
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
 
2840
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
 
2841
  into a fulltext. This allows for some very good memory savings when
 
2842
  asking for many texts that share ancestry, as the individual chunks
 
2843
  can be shared between versions of the file. (John Arbash Meinel)
 
2844
 
 
2845
* ``pull -v`` and ``push -v`` use new function
 
2846
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
 
2847
 
 
2848
 
 
2849
 
 
2850
bzr 1.10
 
2851
########
 
2852
 
 
2853
:Released: 2008-12-05
 
2854
 
 
2855
Bazaar 1.10 has several performance improvements for copying revisions
 
2856
(especially for small updates to large projects).  There has also been a
 
2857
significant amount of effort in polishing stacked branches.  The commands
 
2858
``shelve`` and ``unshelve`` have become core commands, with an improved
 
2859
implementation.
 
2860
 
 
2861
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
 
2862
 
 
2863
bug Fixes
 
2864
*********
 
2865
 
 
2866
* Don't set a pack write cache size from RepoFetcher, because the
 
2867
  cache is not coherent with reads and causes ShortReadvErrors.
 
2868
  This reverses the change that fixed #294479.
 
2869
  (Martin Pool, #303856)
 
2870
 
 
2871
* Properly handle when a revision can be inserted as a delta versus
 
2872
  when it needs to be expanded to a fulltext for stacked branches.
 
2873
  There was a bug involving merge revisions. As a method to help
 
2874
  prevent future difficulties, also make stacked fetches sort
 
2875
  topologically. (John Arbash Meinel, #304841)
 
2876
 
 
2877
 
 
2878
bzr 1.10rc1
 
2879
###########
 
2880
 
 
2881
:Released: 2008-11-28
 
2882
 
 
2883
This release of Bazaar focuses on performance improvements when pushing
 
2884
and pulling revisions, both locally and to remote networks.  The popular
 
2885
``shelve`` and ``unshelve`` commands, used to interactively revert and
 
2886
restore work in progress, have been merged from bzrtools into the bzr
 
2887
core.  There are also bug fixes for portability, and for stacked branches.
 
2888
 
 
2889
New Features
 
2890
************
 
2891
 
 
2892
* New ``commit_message_template`` hook that is called by the commit
 
2893
  code to generate a template commit message. (Jelmer Vernooij)
 
2894
 
 
2895
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
 
2896
  (Aaron Bentley)
 
2897
 
 
2898
Improvements
 
2899
************
 
2900
 
 
2901
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
 
2902
  history just to set the last revision info.
 
2903
  (Andrew Bennetts, John Arbash Meinel)
 
2904
 
 
2905
* Fetches between formats with different serializers (such as
 
2906
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
 
2907
  operating on batches of 100 revisions at time rather than
 
2908
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
 
2909
 
 
2910
* Search index files corresponding to pack files we've already used
 
2911
  before searching others, because they are more likely to have the
 
2912
  keys we're looking for.  This reduces the number of iix and tix
 
2913
  files accessed when pushing 1 new revision, for instance.
 
2914
  (John Arbash Meinel)
 
2915
 
 
2916
* Signatures to transfer are calculated more efficiently in
 
2917
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
 
2918
 
 
2919
* The generic fetch code can once again copy revisions and signatures
 
2920
  without extracting them completely to fulltexts and then serializing
 
2921
  them back down into byte strings. This is a significant performance
 
2922
  improvement when fetching from a stacked branch.
 
2923
  (John Arbash Meinel, #300289)
 
2924
 
 
2925
* When making a large readv() request over ``bzr+ssh``, break up the
 
2926
  request into more manageable chunks. Because the RPC is not yet able
 
2927
  to stream, this helps keep us from buffering too much information at
 
2928
  once. (John Arbash Meinel)
 
2929
 
 
2930
Bug Fixes
 
2931
*********
 
2932
 
 
2933
* Better message when the user needs to set their Launchpad ID.
 
2934
  (Martin Pool, #289148)
 
2935
 
 
2936
* ``bzr commit --local`` doesn't access the master branch anymore.
 
2937
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
 
2938
 
 
2939
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
 
2940
  to give an error in that case.  Also, don't count on ``getcwd()``
 
2941
  being able to allocate a new buffer, which is a gnu extension.
 
2942
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
 
2943
 
 
2944
* Don't crash when requesting log --forward <file> for a revision range
 
2945
  starting with a dotted revno.
 
2946
  (Vincent Ladeuil, #300055)
 
2947
 
 
2948
* Don't create text deltas spanning stacked repositories; this could
 
2949
  cause "Revision X not present in Y" when later accessing them.
 
2950
  (Martin Pool, #288751)
 
2951
 
 
2952
* Pack repositories are now able to reload the pack listing and retry
 
2953
  the current operation if another action causes the data to be
 
2954
  repacked.  (John Arbash Meinel, #153786)
 
2955
 
 
2956
* PermissionDenied errors from smart servers no longer cause
 
2957
  "PermissionDenied: "None"" on the client.
 
2958
  (Andrew Bennetts, #299254)
 
2959
 
 
2960
* Pushing to a stacked pack repository now batches writes, the same
 
2961
  way writes are batched to ordinary pack repository.  This makes
 
2962
  pushing to a stacked branch over the network much faster.
 
2963
  (Andrew Bennetts, #294479)
 
2964
 
 
2965
* TooManyConcurrentRequests no longer occur when a fetch fails and
 
2966
  tries to abort a write group.  This allows the root cause (e.g. a
 
2967
  network interruption) to be reported.  (Andrew Bennetts, #297014)
 
2968
 
 
2969
* RemoteRepository.get_parent_map now uses fallback repositories.
 
2970
  (Aaron Bentley, #297991?, #293679?)
 
2971
 
 
2972
API Changes
 
2973
***********
 
2974
 
 
2975
* ``CommitBuilder`` now validates the strings it will be committing,
 
2976
  to ensure that they do not have characters that will not be properly
 
2977
  round-tripped. For now, it just checks for characters that are
 
2978
  invalid in the XML form. (John Arbash Meinel, #295161)
 
2979
 
 
2980
* Constructor parameters for NewPack (internal to pack repositories)
 
2981
  have changed incompatibly.
 
2982
 
 
2983
* ``Repository.abort_write_group`` now accepts an optional
 
2984
  ``suppress_errors`` flag.  Repository implementations that override
 
2985
  ``abort_write_group`` will need to be updated to accept the new
 
2986
  argument.  Subclasses that only override ``_abort_write_group``
 
2987
  don't need to change.
 
2988
 
 
2989
* Transport implementations must provide copy_tree_to_transport.  A default
 
2990
  implementation is provided for Transport subclasses.
 
2991
 
 
2992
Testing
 
2993
*******
 
2994
 
 
2995
* ``bzr selftest`` now fails if no doctests are found in a module
 
2996
  that's expected to have them.  (Martin Pool)
 
2997
 
 
2998
* Doctests now only report the first failure.  (Martin Pool)
 
2999
 
 
3000
 
 
3001
bzr 1.9
 
3002
#######
 
3003
 
 
3004
:Released: 2008-11-07
 
3005
 
 
3006
This release of Bazaar adds a new repository format, ``1.9``, with smaller
 
3007
and more efficient index files.  This format can be specified when
 
3008
creating a new repository, or used to losslessly upgrade an existing
 
3009
repository.  bzr 1.9 also speeds most operations over the smart server
 
3010
protocol, makes annotate faster, and uses less memory when making
 
3011
checkouts or pulling large amounts of data.
 
3012
 
 
3013
Bug Fixes
 
3014
*********
 
3015
 
 
3016
* Fix "invalid property value 'branch-nick' for None" regression with
 
3017
  branches bound to svn branches.  (Martin Pool, #293440)
 
3018
 
 
3019
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
 
3020
 
 
3021
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
 
3022
  This only triggers some-of-the-time on Knit format repositories.
 
3023
  (John Arbash Meinel, #293746)
 
3024
 
 
3025
 
 
3026
bzr 1.9rc1
 
3027
##########
 
3028
 
 
3029
:Released: 2008-10-31
 
3030
 
 
3031
New Features
 
3032
************
 
3033
 
 
3034
* New Branch hook ``transform_fallback_location`` allows a function to
 
3035
  be called when looking up the stacked source. (Michael Hudson)
 
3036
 
 
3037
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
 
3038
  the functionality of ``1.6``, but use the new btree indexes.
 
3039
  These indexes are both smaller and faster for access to historical
 
3040
  information.  (John Arbash Meinel)
 
3041
 
 
3042
Improvements
 
3043
************
 
3044
 
 
3045
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
 
3046
  the tradeoff between bandwidth and latency. Should be tuned
 
3047
  appropriately to not impact commands which need minimal information,
 
3048
  but provide a significant boost to ones that need more context. Only
 
3049
  has a direct impact on the ``--development2`` format which uses
 
3050
  btree's for the indexes. (John Arbash Meinel)
 
3051
 
 
3052
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
 
3053
  the contents of a compressed btree file.  (John Arbash Meinel)
 
3054
 
 
3055
* ``bzr pack`` now tells the index builders to optimize for size. For
 
3056
  btree index repositories, this can save 25% of the index size
 
3057
  (mostly in the text indexes). (John Arbash Meinel)
 
3058
 
 
3059
* ``bzr push`` to an existing branch or repository on a smart server
 
3060
  is faster, due to Bazaar making more use of the ``get_parent_map``
 
3061
  RPC when querying the remote branch's revision graph.
 
3062
  (Andrew Bennetts)
 
3063
 
 
3064
* default username for bzr+ssh and sftp can be configured in
 
3065
  authentication.conf. (Aaron Bentley)
 
3066
 
 
3067
* launchpad-login now provides a default username for bzr+ssh and sftp
 
3068
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
 
3069
 
 
3070
* ``lp:`` lookups no longer include usernames, making them shareable and
 
3071
  shorter. (Aaron Bentley)
 
3072
 
 
3073
* New ``PackRepository.autopack`` smart server RPC, which does
 
3074
  autopacking entirely on the server.  This is much faster than
 
3075
  autopacking via plain file methods, which downloads a large amount
 
3076
  of pack data and then re-uploads the same pack data into a single
 
3077
  file.  This fixes a major (although infrequent) cause of lengthy
 
3078
  delays when using a smart server.  For example, pushing the 10th
 
3079
  revision to a repository with 9 packs now takes 44 RPCs rather than
 
3080
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
 
3081
  the client and the server, otherwise the client will fallback to the
 
3082
  slower method.  (Andrew Bennetts)
 
3083
 
 
3084
Bug Fixes
 
3085
*********
 
3086
 
 
3087
* A failure to load a plugin due to an IncompatibleAPI exception is
 
3088
  now correctly reported. (Robert Collins, #279451)
 
3089
 
 
3090
* API versioning support now has a multiple-version checking api
 
3091
  ``require_any_api``. (Robert Collins, #279447)
 
3092
 
 
3093
* ``bzr branch --stacked`` from a smart server to a standalone branch
 
3094
  works again.  This fixes a regression in 1.7 and 1.8.
 
3095
  (Andrew Bennetts, #270397)
 
3096
 
 
3097
* ``bzr co`` uses less memory. It used to unpack the entire WT into
 
3098
  memory before writing it to disk. This was a little bit faster, but
 
3099
  consumed lots of memory. (John Arbash Meinel, #269456)
 
3100
 
 
3101
* ``bzr missing --quiet`` no longer prints messages about whether
 
3102
  there are missing revisions.  The exit code indicates whether there
 
3103
  were or not.  (Martin Pool, #284748)
 
3104
 
 
3105
* Fixes to the ``annotate`` code. The fast-path which re-used the
 
3106
  stored deltas was accidentally disabled all the time, instead of
 
3107
  only when a branch was stacked. Second, the code would accidentally
 
3108
  re-use a delta even if it wasn't against the left-parent, this
 
3109
  could only happen if ``bzr reconcile`` decided that the parent
 
3110
  ordering was incorrect in the file graph.  (John Arbash Meinel)
 
3111
 
 
3112
* "Permission denied" errors that occur when pushing a new branch to a
 
3113
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
 
3114
 
 
3115
* Some compatibility fixes for building the extensions with MSVC and
 
3116
  for python2.4. (John Arbash Meinel, #277484)
 
3117
 
 
3118
* The index logic is now able to reload the list of pack files if and
 
3119
  index ends up disappearing. We still don't reload if the pack data
 
3120
  itself goes missing after checking the index. This bug appears as a
 
3121
  transient failure (file not found) when another process is writing
 
3122
  to the repository.  (John Arbash Meinel, #153786)
 
3123
 
 
3124
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
3125
  it was previously set. All checkouts will now refer to the bound branch
 
3126
  for a nickname if one was not explicitly set.
 
3127
  (Marius Kruger, #230903)
 
3128
 
 
3129
Documentation
 
3130
*************
 
3131
 
 
3132
* Improved hook documentation. (Michael Ernst)
 
3133
 
 
3134
API Changes
 
3135
***********
 
3136
 
 
3137
* commands.plugins_cmds is now a CommandRegistry, not a dict.
 
3138
 
 
3139
Internals
 
3140
*********
 
3141
 
 
3142
* New AuthenticationConfig.set_credentials method allows easy programmatic
 
3143
  configuration of authetication credentials.
 
3144
 
 
3145
 
 
3146
bzr 1.8
 
3147
#######
 
3148
 
 
3149
:Released: 2008-10-16
 
3150
 
 
3151
Bazaar 1.8 includes several fixes that improve working tree performance,
 
3152
display of revision logs, and merges.  The bzr testsuite now passes on OS
 
3153
X and Python 2.6, and almost completely passes on Windows.  The
 
3154
smartserver code has gained several bug fixes and performance
 
3155
improvements, and can now run server-side hooks within an http server.
 
3156
 
 
3157
Bug Fixes
 
3158
*********
 
3159
 
 
3160
* Fix "Must end write group" error when another error occurs during
 
3161
  ``bzr push``.  (Andrew Bennetts, #230902)
 
3162
 
 
3163
Portability
 
3164
***********
 
3165
 
 
3166
* Some Pyrex versions require the WIN32 macro defined to compile on
 
3167
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
 
3168
 
 
3169
 
 
3170
bzr 1.8rc1
 
3171
##########
 
3172
 
 
3173
:Released: 2008-10-07
 
3174
 
 
3175
Changes
 
3176
*******
 
3177
 
 
3178
* ``bzr log file`` has been changed. It now uses a different method
 
3179
  for determining which revisions to show as merging the changes to
 
3180
  the file. It now only shows revisions which merged the change
 
3181
  towards your mainline. This simplifies the output, makes it faster,
 
3182
  and reduces memory consumption.  (John Arbash Meinel)
 
3183
 
 
3184
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
 
3185
  ``--show-base`` is not supplied.  (John Arbash Meinel)
 
3186
 
 
3187
* ``bzr+http//`` will now optionally load plugins and write logs on the
 
3188
  server. (Marius Kruger)
 
3189
 
 
3190
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
 
3191
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
 
3192
  explicitly blacklist that version of the compiler for that
 
3193
  extension. Packaged versions will include .c files created with
 
3194
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
 
3195
  from the source tree. (John Arbash Meinel, #276868)
 
3196
 
 
3197
Features
 
3198
********
 
3199
 
 
3200
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
 
3201
  supported (nor released, tests were conducted with the dev version of
 
3202
  python-2.6rc2), but all known problems have been fixed.  Feedback
 
3203
  welcome.
 
3204
  (Vincent Ladeuil, #269535)
 
3205
 
 
3206
Improvements
 
3207
************
 
3208
 
 
3209
* ``bzr annotate`` will now include uncommitted changes from the local
 
3210
  working tree by default. Such uncommitted changes are given the
 
3211
  revision number they would get if a commit was done, followed with a
 
3212
  ? to indicate that its not actually known. (Robert Collins, #3439)
 
3213
 
 
3214
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
 
3215
  standalone branch regardless of the presence of shared repositories.
 
3216
  (Daniel Watkins)
 
3217
 
 
3218
* ``bzr push`` is faster in the case there are no new revisions to
 
3219
  push.  It is also faster if there are no tags in the local branch.
 
3220
  (Andrew Bennetts)
 
3221
 
 
3222
* File changes during a commit will update the tree stat cache.
 
3223
  (Robert Collins)
 
3224
 
 
3225
* Location aliases can now accept a trailing path.  (Micheal Hudson)
 
3226
 
 
3227
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
 
3228
  (Robert Collins, MartinPool)
 
3229
 
 
3230
* Switching in heavyweight checkouts uses the master branch's context, not
 
3231
  the checkout's context.  (Adrian Wilkins)
 
3232
 
 
3233
* ``status`` on large trees is now faster, due to optimisations in the
 
3234
  walkdirs code. Of particular note, the walkdirs code now performs
 
3235
  a temporary ``chdir()`` while reading a single directory; if your
 
3236
  platform has non thread-local current working directories (and is
 
3237
  not windows which has its own implementation), this may introduce a
 
3238
  race condition during concurrent uses of bzrlib. The bzrlib CLI
 
3239
  will not encounter this as it is single threaded for working tree
 
3240
  operations. (Robert Collins)
 
3241
 
 
3242
* The C extensions now build on python 2.4 (Robert Collins, #271939)
 
3243
 
 
3244
* The ``-Dhpss`` debug flag now reports the number of smart server
 
3245
  calls per medium to stderr.  This is in addition to the existing
 
3246
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
 
3247
 
 
3248
Bug Fixes
 
3249
*********
 
3250
 
 
3251
* Avoid random failures arising from misinterpreted ``errno`` values
 
3252
  in ``_readdir_pyx.read_dir``.
 
3253
  (Martin Pool, #279381)
 
3254
 
 
3255
* Branching from a shared repository on a smart server into a new
 
3256
  repository now preserves the repository format.
 
3257
  (Andrew Bennetts, #269214)
 
3258
 
 
3259
* ``bzr log`` now accepts a ``--change`` option.
 
3260
  (Vincent Ladeuil, #248427)
 
3261
 
 
3262
* ``bzr missing`` now accepts an ``--include-merges`` option.
 
3263
  (Vincent Ladeuil, #233817)
 
3264
 
 
3265
* Don't try to filter (internally) '.bzr' from the files to be deleted if
 
3266
  it's not there.
 
3267
  (Vincent Ladeuil, #272648)
 
3268
 
 
3269
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
3270
  (Andrew Bennetts)
 
3271
 
 
3272
* Fix TooManyConcurrentRequests errors caused by a connection failure
 
3273
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
 
3274
  (Andrew Bennetts, #246233)
 
3275
 
 
3276
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
 
3277
  is in a different repository than the current one.
 
3278
  (Lukáš Lalinský, #144421)
 
3279
 
 
3280
* Make the first line of the manpage preamble a comment again.
 
3281
  (David Futcher, #242106)
 
3282
 
 
3283
* Remove use of optional parameter in GSSAPI FTP support, since
 
3284
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
 
3285
 
 
3286
* The autopacking logic will now always create a single new pack from
 
3287
  all of the content which it deems is worth moving. This avoids the
 
3288
  'repack a single pack' bug and should result in better packing
 
3289
  overall.  (John Arbash Meinel, #242510, #172644)
 
3290
 
 
3291
* Trivial documentation fix.
 
3292
  (John Arbash Meinel, #270471)
 
3293
 
 
3294
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
3295
  it was previously set. All checkouts will now refer to the bound branch
 
3296
  for a nickname if one was not explicitly set.
 
3297
  (Marius Kruger, #230903)
 
3298
 
 
3299
Documentation
 
3300
*************
 
3301
 
 
3302
* Explain revision/range identifiers. (Daniel Clemente)
 
3303
 
 
3304
API Changes
 
3305
***********
 
3306
 
 
3307
* ``CommitBuilder.record_entry_contents`` returns one more element in
 
3308
  its result tuple - an optional file system hash for the hash cache
 
3309
  to use. (Robert Collins)
 
3310
 
 
3311
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
 
3312
  of a file if it is likely to be needed in determining the output
 
3313
  of iter_changes. (Robert Collins)
 
3314
 
 
3315
* The PackRepository, RepositoryPackCollection, NewPack classes have a
 
3316
  slightly changed interface to support different index types; as a
 
3317
  result other users of these classes need to supply the index types
 
3318
  they want. (Robert Collins)
 
3319
 
 
3320
Testing
 
3321
*******
 
3322
 
 
3323
* ``bzrlib.tests.repository_implementations`` has been renamed to
 
3324
  ``bzrlib.tests.per_repository`` so that we have a common structure
 
3325
  (and it is shorter). (John Arbash Meinel, #239343)
 
3326
 
 
3327
* ``LocalTransport.abspath()`` now returns a drive letter if the
 
3328
  transport has one, fixing numerous tests on Windows.
 
3329
  (Mark Hammond)
 
3330
 
 
3331
* PreviewTree is now tested via intertree_implementations.
 
3332
  (Aaron Bentley)
 
3333
 
 
3334
* The full test suite is passing again on OSX.
 
3335
  (Guillermo Gonzalez, Vincent Ladeuil)
 
3336
 
 
3337
* The full test suite passes when run with ``-Eallow_debug``.
 
3338
  (Andrew Bennetts)
 
3339
 
 
3340
Internals
 
3341
*********
 
3342
 
 
3343
* A new hook, ``Branch.open``, has been added, which is called when
 
3344
  branch objects are opened. (Robert Collins)
 
3345
 
 
3346
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
 
3347
  tree walking, and modular directory listing code to aid future
 
3348
  performance optimisations and refactoring. (Robert Collins)
 
3349
 
 
3350
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
 
3351
  in the middle of processing. It only reports memory if
 
3352
  ``/proc/PID/status`` is available. (John Arbash Meinel)
 
3353
 
 
3354
* New method ``RevisionSpec.as_tree`` for representing the revision
 
3355
  specifier as a revision tree object. (Lukáš Lalinský)
 
3356
 
 
3357
* New race-free method on MutableTree ``get_file_with_stat`` for use
 
3358
  when generating stat cache results. (Robert Collins)
 
3359
 
 
3360
* New win32utils.get_local_appdata_location() provides access to a local
 
3361
  directory for storing data.  (Mark Hammond)
 
3362
 
 
3363
* To be compatible with python-2.6 a few new rules should be
 
3364
  observed. 'message' attribute can't be used anymore in exception
 
3365
  classes, 'sha' and 'md5' modules have been deprecated (use
 
3366
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
 
3367
  parameters anymore.
 
3368
  (Vincent Ladeuil)
 
3369
 
 
3370
 
 
3371
bzr 1.7.1
 
3372
#########
 
3373
 
 
3374
:Released:  2008-10-01
 
3375
 
 
3376
No changes from 1.7.1rc1.
 
3377
 
 
3378
 
 
3379
bzr 1.7.1rc1
 
3380
############
 
3381
 
 
3382
:Released: 2008-09-24
 
3383
 
 
3384
This release just includes an update to how the merge algorithm handles
 
3385
file paths when we encounter complex history.
 
3386
 
 
3387
Features
 
3388
********
 
3389
 
 
3390
* If we encounter a criss-cross in history, use information from
 
3391
  direct Least Common Ancestors to resolve inventory shape (locations
 
3392
  of files, adds, deletes, etc). This is similar in concept to using
 
3393
  ``--lca`` for merging file texts, only applied to paths.
 
3394
  (John Arbash Meinel)
 
3395
 
 
3396
 
 
3397
bzr 1.7
 
3398
#######
 
3399
 
 
3400
:Released: 2008-09-23
 
3401
 
 
3402
This release includes many bug fixes and a few performance and feature
 
3403
improvements.  ``bzr rm`` will now scan for missing files and remove them,
 
3404
like how ``bzr add`` scans for unknown files and adds them. A bit more
 
3405
polish has been applied to the stacking code. The b-tree indexing code has
 
3406
been brought in, with an eye on using it in a future repository format.
 
3407
There are only minor installer changes since bzr-1.7rc2.
 
3408
 
 
3409
Features
 
3410
********
 
3411
 
 
3412
* Some small updates to the win32 installer. Include localization
 
3413
  files found in plugins, and include the builtin distutils as part of
 
3414
  packaging qbzr. (Mark Hammond)
 
3415
 
 
3416
 
 
3417
bzr 1.7rc2
 
3418
##########
 
3419
 
 
3420
:Released: 2008-09-17
 
3421
 
 
3422
A few bug fixes from 1.7rc1. The biggest change is a new
 
3423
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
 
3424
trying to access a Stacked branch over the smart protocol, to properly
 
3425
connect to the stacked-on location.
 
3426
 
 
3427
Bug Fixes
 
3428
*********
 
3429
 
 
3430
* Branching from a shared repository on a smart server into a new
 
3431
  repository now preserves the repository format.
 
3432
  (Andrew Bennetts, #269214)
 
3433
 
 
3434
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
 
3435
  to the stacked-on branch.  (Martin Pool, #261315)
 
3436
 
 
3437
* ``bzr init`` no longer re-opens the BzrDir multiple times.
 
3438
  (Vincent Ladeuil)
 
3439
 
 
3440
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
3441
  (Andrew Bennetts)
 
3442
 
 
3443
 
 
3444
bzr 1.7rc1
 
3445
##########
 
3446
 
 
3447
:Released: 2008-09-09
 
3448
 
 
3449
This release candidate for bzr 1.7 has several bug fixes and a few
 
3450
performance and feature improvements.  ``bzr rm`` will now scan for
 
3451
missing files and remove them, like how ``bzr add`` scans for unknown
 
3452
files and adds them. A bit more polish has been applied to the stacking
 
3453
code. The b-tree indexing code has been brought in, with an eye on using
 
3454
it in a future repository format.
 
3455
 
 
3456
 
 
3457
Changes
 
3458
*******
 
3459
 
 
3460
* ``bzr export`` can now export a subdirectory of a project.
 
3461
  (Robert Collins)
 
3462
 
 
3463
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
 
3464
  changes, unless the ``--force`` option is specified.
 
3465
  (Lukáš Lalinský, #74101)
 
3466
 
 
3467
* ``bzr rm`` will now scan for files that are missing and remove just
 
3468
  them automatically, much as ``bzr add`` scans for new files that
 
3469
  are not ignored and adds them automatically. (Robert Collins)
 
3470
 
 
3471
Features
 
3472
********
 
3473
 
 
3474
* Support for GSSAPI authentication when using FTP as documented in
 
3475
  RFC2228. (Jelmer Vernooij, #49623)
 
3476
 
 
3477
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
 
3478
 
 
3479
Improvements
 
3480
************
 
3481
 
 
3482
* A url like ``log+file:///tmp`` will log all access to that Transport
 
3483
  to ``.bzr.log``, which may help in debugging or profiling.
 
3484
  (Martin Pool)
 
3485
 
 
3486
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
 
3487
  branch format supports it. (Aaron Bentley)
 
3488
 
 
3489
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
 
3490
  ``bzr info`` if it completed successfully.
 
3491
  (Marius Kruger)
 
3492
 
 
3493
* ``bzr uncommit`` logs the old tip revision id, and displays how to
 
3494
  restore the branch to that tip using ``bzr pull``.  This allows you
 
3495
  to recover if you realize you uncommitted the wrong thing.
 
3496
  (John Arbash Meinel)
 
3497
 
 
3498
* Fix problems in accessing stacked repositories over ``bzr://``.
 
3499
  (Martin Pool, #261315)
 
3500
 
 
3501
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
 
3502
  which 'works', but adds each character separately to the list,
 
3503
  rather than using ``list.append(string)``. Fixing this makes the
 
3504
  SFTP transport a little bit faster (~20%) and use a bit less memory.
 
3505
  (John Arbash Meinel)
 
3506
 
 
3507
* When reading index files, if we happen to read the whole file in a
 
3508
  single request treat it as a ``_buffer_all`` request. This happens
 
3509
  most often on small indexes over remote transports, where we default
 
3510
  to reading 64kB. It saves a round trip for each small index during
 
3511
  fetch operations. Also, if we have read more than 50% of an index
 
3512
  file, trigger a ``_buffer_all`` on the next request. This works
 
3513
  around some inefficiencies because reads don't fall neatly on page
 
3514
  boundaries, so we would ignore those bytes, but request them again
 
3515
  later. This could trigger a total read size of more than the whole
 
3516
  file. (John Arbash Meinel)
 
3517
 
 
3518
Bug Fixes
 
3519
*********
 
3520
 
 
3521
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
 
3522
  users. (Robert Collins, #205416)
 
3523
 
 
3524
* Catch the infamous "select/poll returned error" which occurs when
 
3525
  pycurl try to send a body request to an HTTP/1.0 server which has
 
3526
  already refused to handle the request. (Vincent Ladeuil, #225020)
 
3527
 
 
3528
* Fix ``ObjectNotLocked`` errors when using various commands
 
3529
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
 
3530
  smart server URL.  (Andrew Bennetts, #237067)
 
3531
 
 
3532
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
 
3533
  for the containing ``.bzr/`` directory (it does not implement
 
3534
  permissions). This would cause us to set all subdirectories to
 
3535
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
 
3536
  Now we ignore ``0000`` as the permissions and assume they are
 
3537
  invalid. (John Arbash Meinel, #259855)
 
3538
 
 
3539
* Merging from a previously joined branch will no longer cause
 
3540
  a traceback. (Jelmer Vernooij, #203376)
 
3541
 
 
3542
* Pack operations on windows network shares will work even with large
 
3543
  files. (Robert Collins, #255656)
 
3544
 
 
3545
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
 
3546
  status. Status is also about 7% faster on mozilla sized trees
 
3547
  when the path to the root of the tree has been given. Users of
 
3548
  the internal ``show_tree_status`` function should be aware that
 
3549
  the show_pending flag is now authoritative for showing pending
 
3550
  merges, as it was originally. (Robert Collins, #225204)
 
3551
 
 
3552
* Set valid default _param_name for Option so that ListOption can embed
 
3553
  '-' in names. (Vincent Ladeuil, #263249)
 
3554
 
 
3555
* Show proper error rather than traceback when an unknown revision
 
3556
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
 
3557
 
 
3558
* Trailing text in the dirstate file could cause the C dirstate parser
 
3559
  to try to allocate an invalid amount of memory. We now properly
 
3560
  check and test for parsing a dirstate with invalid trailing data.
 
3561
  (John Arbash Meinel, #186014)
 
3562
 
 
3563
* Unexpected error responses from a smart server no longer cause the
 
3564
  client to traceback.  (Andrew Bennetts, #263527)
 
3565
 
 
3566
* Use a Windows api function to get a Unicode host name, rather than
 
3567
  assuming the host name is ascii.
 
3568
  (Mark Hammond, John Arbash Meinel, #256550)
 
3569
 
 
3570
* ``WorkingTree4`` trees will now correctly report missing-and-new
 
3571
  paths in the output of ``iter_changes``. (Robert Collins)
 
3572
 
 
3573
Documentation
 
3574
*************
 
3575
 
 
3576
* Updated developer documentation.  (Martin Pool)
 
3577
 
 
3578
API Changes
 
3579
***********
 
3580
 
 
3581
* Exporters now take 4 parameters. (Robert Collins)
 
3582
 
 
3583
* ``Tree.iter_changes`` will now return False for the content change
 
3584
  field when a file is missing in the basis tree and not present in
 
3585
  the target tree. Previously it returned True unconditionally.
 
3586
  (Robert Collins)
 
3587
 
 
3588
* The deprecated ``Branch.abspath`` and unimplemented
 
3589
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
 
3590
 
 
3591
* BzrDir.clone_on_transport implementations must now accept a stacked_on
 
3592
  parameter.  (Aaron Bentley)
 
3593
 
 
3594
* BzrDir.cloning_metadir implementations must now take a require_stacking
 
3595
  parameter.  (Aaron Bentley)
 
3596
 
 
3597
Testing
 
3598
*******
 
3599
 
 
3600
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
 
3601
  which are then passed to the cleanup callable as it is run. In
 
3602
  addition, addCleanup no longer requires that the callables passed to
 
3603
  it be unique. (Jonathan Lange)
 
3604
 
 
3605
* Fix some tests that fail on Windows because files are deleted while
 
3606
  still in use.
 
3607
  (Mark Hammond)
 
3608
 
 
3609
* ``selftest``'s ``--starting-with`` option can now use predefined
 
3610
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
 
3611
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
 
3612
 
 
3613
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
 
3614
  (Vincent Ladeuil)
 
3615
 
 
3616
Internals
 
3617
*********
 
3618
 
 
3619
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
 
3620
  This allows dynamic log output filtering by plugins.
 
3621
  (Robert Collins)
 
3622
 
 
3623
* ``bzrlib.btree_index`` is now available, providing a b-tree index
 
3624
  layer. The design is memory conservative (limited memory cache),
 
3625
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
 
3626
  and stores compressed pages allowing more keys per page.
 
3627
  (Robert Collins, John Arbash Meinel)
 
3628
 
 
3629
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
 
3630
  is unknown in both source and target.
 
3631
  (Robert Collins, Aaron Bentley)
 
3632
 
 
3633
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
 
3634
  streamlined a bit. This should make creating large indexes faster.
 
3635
  (In benchmarking, it now takes less time to create a BTree index than
 
3636
  it takes to read the GraphIndex one.) (John Arbash Meinel)
 
3637
 
 
3638
* Mail clients for `bzr send` are now listed in a registry.  This
 
3639
  allows plugins to add new clients by registering them with
 
3640
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
 
3641
  clients now use this mechanism.  (Neil Martinsen-Burrell)
 
3642
 
 
3643
 
 
3644
bzr 1.6.1
 
3645
#########
 
3646
 
 
3647
:Released: 2008-09-05
 
3648
 
 
3649
A couple regressions were found in the 1.6 release. There was a
 
3650
performance issue when using ``bzr+ssh`` to branch large repositories,
 
3651
and some problems with stacking and ``rich-root`` capable repositories.
 
3652
 
 
3653
 
 
3654
bzr 1.6.1rc2
 
3655
############
 
3656
 
 
3657
:Released: 2008-09-03
 
3658
 
 
3659
Bug Fixes
 
3660
*********
 
3661
 
 
3662
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
 
3663
  versa) was accidentally using the inter-model fetcher, instead of
 
3664
  recognizing that both were 'rich root' formats.
 
3665
  (John Arbash Meinel, #264321)
 
3666
 
 
3667
 
 
3668
bzr 1.6.1rc1
 
3669
############
 
3670
 
 
3671
:Released: 2008-08-29
 
3672
 
 
3673
This release fixes a few regressions found in the 1.6 client. Fetching
 
3674
changes was using an O(N^2) buffering algorithm, so for large projects it
 
3675
would cause memory thrashing. There is also a specific problem with the
 
3676
``--1.6-rich-root`` format, which prevented stacking on top of
 
3677
``--rich-root-pack`` repositories, and could allow users to accidentally
 
3678
fetch experimental data (``-subtree``) without representing it properly.
 
3679
The ``--1.6-rich-root`` format has been deprecated and users are
 
3680
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
 
3681
re-introduced a workaround for users who have repositories with incorrect
 
3682
nodes (not possible if you only used official releases).
 
3683
I should also clarify that none of this is data loss level issues, but
 
3684
still sufficient enough to warrant an updated release.
 
3685
 
 
3686
Bug Fixes
 
3687
*********
 
3688
 
 
3689
* ``RemoteTransport.readv()`` was being inefficient about how it
 
3690
  buffered the readv data and processed it. It would keep appending to
 
3691
  the same string (causing many copies) and then pop bytes out of the
 
3692
  start of the string (causing more copies).
 
3693
  With this patch "bzr+ssh://local" can improve dramatically,
 
3694
  especially for projects with large files.
 
3695
  (John Arbash Meinel)
 
3696
 
 
3697
* Revision texts were always meant to be stored as fulltexts. There
 
3698
  was a bug in a bzr.dev version that would accidentally create deltas
 
3699
  when copying from a Pack repo to a Knit repo. This has been fixed,
 
3700
  but to support those repositories, we know always request full texts
 
3701
  for Revision texts. (John Arbash Meinel, #261339)
 
3702
 
 
3703
* The previous ``--1.6-rich-root`` format used an incorrect xml
 
3704
  serializer, which would accidentally support fetching from a
 
3705
  repository that supported subtrees, even though the local one would
 
3706
  not. We deprecated that format, and introduced a new one that uses
 
3707
  the correct serializer ``--1.6.1-rich-root``.
 
3708
  (John Arbash Meinel, #262333)
 
3709
 
 
3710
 
 
3711
bzr 1.6
 
3712
#######
 
3713
 
 
3714
:Released: 2008-08-25
 
3715
 
 
3716
Finally, the long awaited bzr 1.6 has been released. This release includes
 
3717
new features like Stacked Branches, improved weave merge, and an updated
 
3718
server protocol (now on v3) which will allow for better cross version
 
3719
compatibility. With this release we have deprecated Knit format
 
3720
repositories, and recommend that users upgrade them, we will continue to
 
3721
support reading and writing them for the forseeable future, but we will
 
3722
not be tuning them for performance as pack repositories have proven to be
 
3723
better at scaling. This will also be the first release to bundle
 
3724
TortoiseBzr in the standalone Windows installer.
 
3725
 
 
3726
 
 
3727
bzr 1.6rc5
 
3728
##########
 
3729
 
 
3730
:Released: 2008-08-19
 
3731
 
 
3732
Bug Fixes
 
3733
*********
 
3734
 
 
3735
* Disable automatic detection of stacking based on a containing
 
3736
  directory of the target. It interacted badly with push, and needs a
 
3737
  bit more work to get the edges polished before it should happen
 
3738
  automatically. (John Arbash Meinel, #259275)
 
3739
  (This change was reverted when merged to bzr.dev)
 
3740
 
 
3741
 
 
3742
bzr 1.6rc4
 
3743
##########
 
3744
 
 
3745
:Released: 2008-08-18
 
3746
 
 
3747
Bug Fixes
 
3748
*********
 
3749
 
 
3750
* Fix a regression in knit => pack fetching.  We had a logic
 
3751
  inversion, causing the fetch to insert fulltexts in random order,
 
3752
  rather than preserving deltas.  (John Arbash Meinel, #256757)
 
3753
 
 
3754
 
 
3755
bzr 1.6rc3
 
3756
##########
 
3757
 
 
3758
:Released: 2008-08-14
 
3759
 
 
3760
Changes
 
3761
*******
 
3762
 
 
3763
* Disable reading ``.bzrrules`` as a per-branch rule preferences
 
3764
  file. The feature was not quite ready for a full release.
 
3765
  (Robert Collins)
 
3766
 
 
3767
Improvements
 
3768
************
 
3769
 
 
3770
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
 
3771
  into the standalone installer. This will be the first official
 
3772
  windows release that installs Tortoise by default.
 
3773
  (Mark Hammond)
 
3774
 
 
3775
Bug Fixes
 
3776
*********
 
3777
 
 
3778
* Fix a regression in ``bzr+http`` support. There was a missing
 
3779
  function (``_read_line``) that needed to be carried over from
 
3780
  ``bzr+ssh`` support. (Andrew Bennetts)
 
3781
 
 
3782
* ``GraphIndex`` objects will internally read an entire index if more
 
3783
  than 1/20th of their keyspace is requested in a single operation.
 
3784
  This largely mitigates a performance regression in ``bzr log FILE``
 
3785
  and completely corrects the performance regression in ``bzr log``.
 
3786
  The regression was caused by removing an accomodation which had been
 
3787
  supporting the index format in use. A newer index format is in
 
3788
  development which is substantially faster. (Robert Collins)
 
3789
 
 
3790
 
 
3791
bzr 1.6rc2
 
3792
##########
 
3793
 
 
3794
:Released: 2008-08-13
 
3795
 
 
3796
This release candidate has a few minor bug fixes, and some regression
 
3797
fixes for Windows.
 
3798
 
 
3799
Bug Fixes
 
3800
*********
 
3801
 
 
3802
* ``bzr upgrade`` on remote branches accessed via bzr:// and
 
3803
  bzr+ssh:// now works.  (Andrew Bennetts)
 
3804
 
 
3805
* Change the ``get_format_description()`` strings for
 
3806
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
 
3807
  (Aaron Bentley)
 
3808
 
 
3809
* Fix for a regression on Win32 where we would try to call
 
3810
  ``os.listdir()`` on a file and not catch the exception properly.
 
3811
  (Windows raises a different exception.) This would manifest in
 
3812
  places like ``bzr rm file`` or ``bzr switch``.
 
3813
  (Mark Hammond, John Arbash Meinel)
 
3814
 
 
3815
* ``Inventory.copy()`` was failing to set the revision property for
 
3816
  the root entry. (Jelmer Vernooij)
 
3817
 
 
3818
* sftp transport: added missing ``FileExists`` case to
 
3819
  ``_translate_io_exception`` (Christophe Troestler, #123475)
 
3820
 
 
3821
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
 
3822
  scripting use. (Robert Collins, #3834)
 
3823
 
 
3824
* The default ``annotate`` logic will now always assign the
 
3825
  last-modified value of a line to one of the revisions that modified
 
3826
  it, rather than a merge revision. This would happen when both sides
 
3827
  claimed to have modified the line resulting in the same text. The
 
3828
  choice is arbitrary but stable, so merges in different directions
 
3829
  will get the same results.  (John Arbash Meinel, #232188)
 
3830
 
 
3831
 
 
3832
bzr 1.6rc1
 
3833
##########
 
3834
 
 
3835
:Released: 2008-08-06
 
3836
 
 
3837
This release candidate for bzr 1.6 solidifies the new branch stacking
 
3838
feature.  Bazaar now recommends that users upgrade all knit repositories,
 
3839
because later formats are much faster.  However, we plan to continue read/write and
 
3840
upgrade support for knit repostories for the forseeable future.  Several
 
3841
other bugs and performance issues were fixed.
 
3842
 
 
3843
Changes
 
3844
*******
 
3845
 
 
3846
* Knit format repositories are deprecated and bzr will now emit
 
3847
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
 
3848
  knit repositories to pack format.  (Andrew Bennetts)
 
3849
 
 
3850
Improvements
 
3851
************
 
3852
 
 
3853
* ``bzr check`` can now be told which elements at a location it should
 
3854
  check.  (Daniel Watkins)
 
3855
 
 
3856
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
 
3857
  from the commit. (Robert Collins, #3117)
 
3858
 
 
3859
* Fetching data between repositories that have the same model but no
 
3860
  optimised fetcher will not reserialise all the revisions, increasing
 
3861
  performance. (Robert Collins, John Arbash Meinel)
 
3862
 
 
3863
* Give a more specific error when target branch is not reachable.
 
3864
  (James Westby)
 
3865
 
 
3866
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
 
3867
  This uses a pyrex extension to get direct access to the
 
3868
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
 
3869
  ``lstat``. Shows a very strong improvement in commands like
 
3870
  ``status`` and ``diff`` which have to iterate the working tree.
 
3871
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
 
3872
  trees, bigger benefit.) (John Arbash Meinel)
 
3873
 
 
3874
* New registry for log properties handles  and the method in
 
3875
  LongLogFormatter to display the custom properties returned by the
 
3876
  registered handlers. (Guillermo Gonzalez, #162469)
 
3877
 
 
3878
Bug Fixes
 
3879
*********
 
3880
 
 
3881
* Add more tests that stacking does not create deltas spanning
 
3882
  physical repository boundaries.
 
3883
  (Martin Pool, #252428)
 
3884
 
 
3885
* Better message about incompatible repositories.
 
3886
  (Martin Pool, #206258)
 
3887
 
 
3888
* ``bzr branch --stacked`` ensures the destination branch format can
 
3889
  support stacking, even if the origin does not.
 
3890
  (Martin Pool)
 
3891
 
 
3892
* ``bzr export`` no longer exports ``.bzrrules``.
 
3893
  (Ian Clatworthy)
 
3894
 
 
3895
* ``bzr serve --directory=/`` now correctly allows the whole
 
3896
  filesystem to be accessed on Windows, not just the root of the drive
 
3897
  that Python is running from.
 
3898
  (Adrian Wilkins, #240910)
 
3899
 
 
3900
* Deleting directories by hand before running ``bzr rm`` will not
 
3901
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
 
3902
  (Robert Collins, #150438)
 
3903
 
 
3904
* Fix a test case that was failing if encoding wasn't UTF-8.
 
3905
  (John Arbash Meinel, #247585)
 
3906
 
 
3907
* Fix "no buffer space available" error when branching with the new
 
3908
  smart server protocol to or from Windows.
 
3909
  (Andrew Bennetts, #246180)
 
3910
 
 
3911
* Fixed problem in branching from smart server.
 
3912
  (#249256, Michael Hudson, Martin Pool)
 
3913
 
 
3914
* Handle a file turning in to a directory in TreeTransform.
 
3915
  (James Westby, #248448)
 
3916
 
 
3917
API Changes
 
3918
***********
 
3919
 
 
3920
* ``MutableTree.commit`` has an extra optional keywork parameter
 
3921
  ``exclude`` that will be unconditionally supplied by the command
 
3922
  line UI - plugins that add tree formats may need an update.
 
3923
  (Robert Collins)
 
3924
 
 
3925
* The API minimum version for plugin compatibility has been raised to
 
3926
  1.6 - there are significant changes throughout the code base.
 
3927
  (Robert Collins)
 
3928
 
 
3929
* The generic fetch code now uses three attributes on Repository objects
 
3930
  to control fetch. The streams requested are controlled via :
 
3931
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
 
3932
  appropriately allows different repository implementations to recieve
 
3933
  data in their optimial form. If the ``_fetch_reconcile`` is set then
 
3934
  a reconcile operation is triggered at the end of the fetch.
 
3935
  (Robert Collins)
 
3936
 
 
3937
* The ``put_on_disk`` and ``get_tar_item`` methods in
 
3938
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
 
3939
 
 
3940
* ``Repository.is_shared`` doesn't take a read lock. It didn't
 
3941
  need one in the first place (nobody cached the value, and
 
3942
  ``RemoteRepository`` wasn't taking one either). This saves a round
 
3943
  trip when probing Pack repositories, as they read the ``pack-names``
 
3944
  file when locked. And during probe, locking the repo isn't very
 
3945
  useful. (John Arbash Meinel)
 
3946
 
 
3947
Internals
 
3948
*********
 
3949
 
 
3950
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
 
3951
  putting together a real history without having to create a full
 
3952
  WorkingTree. It is recommended that tests that are not directly
 
3953
  testing the WorkingTree use BranchBuilder instead.  See
 
3954
  ``BranchBuilder.build_snapshot`` or
 
3955
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
 
3956
 
 
3957
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
 
3958
  helper ``safe_relpath_files`` - used by the new ``exclude``
 
3959
  parameter to commit. (Robert Collins)
 
3960
 
 
3961
* Make it easier to introduce new WorkingTree formats.
 
3962
  (Ian Clatworthy)
 
3963
 
 
3964
* The code for exporting trees was refactored not to use the
 
3965
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
 
3966
 
 
3967
* RuleSearchers return () instead of [] now when there are no matches.
 
3968
  (Ian Clatworthy)
 
3969
 
 
3970
 
 
3971
bzr 1.6beta3
 
3972
############
 
3973
 
 
3974
:Released: 2008-07-17
 
3975
 
 
3976
This release adds a new 'stacked branches' feature allowing branches to
 
3977
share storage without being in the same repository or on the same machine.
 
3978
(See the user guide for more details.)  It also adds a new hook, improved
 
3979
weaves, aliases for related locations, faster bzr+ssh push, and several
 
3980
bug fixes.
 
3981
 
 
3982
Features
 
3983
********
 
3984
 
 
3985
* New ``pre_change_branch_tip`` hook that is called before the
 
3986
  branch tip is moved, while the branch is write-locked.  See the User
 
3987
  Reference for signature details.  (Andrew Bennetts)
 
3988
 
 
3989
* Rule-based preferences can now be defined for selected files in
 
3990
  selected branches, allowing commands and plugins to provide
 
3991
  custom behaviour for files matching defined patterns.
 
3992
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
 
3993
  in the User Guide and ``bzr help rules`` for more information.
 
3994
  (Ian Clatworthy)
 
3995
 
 
3996
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
 
3997
 
 
3998
* Stacked branches are now supported. See ``bzr help branch`` and
 
3999
  ``bzr help push``.  Branches must be in the ``development1`` format
 
4000
  to stack, though the stacked-on branch can be of any format.
 
4001
  (Robert Collins)
 
4002
 
 
4003
Improvements
 
4004
************
 
4005
 
 
4006
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
 
4007
  to stdout; also ``tar`` and ``tbz2``.
 
4008
  (Martin Pool)
 
4009
 
 
4010
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
 
4011
  rather than the annotation-based merge it was using. It does so by
 
4012
  building up a Weave of the important texts, without needing to build
 
4013
  the full ancestry. (John Arbash Meinel, #238895)
 
4014
 
 
4015
* ``bzr send`` documents and better supports ``emacsclient`` (proper
 
4016
  escaping of mail headers and handling of the MUA Mew).
 
4017
  (Christophe Troestler)
 
4018
 
 
4019
* Remembered locations can be specified by aliases, e.g. :parent, :public,
 
4020
  :submit.  (Aaron Bentley)
 
4021
 
 
4022
* The smart protocol now has improved support for setting branches'
 
4023
  revision info directly.  This makes operations like push
 
4024
  faster.  The new request method name is
 
4025
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
 
4026
 
 
4027
Bug Fixes
 
4028
*********
 
4029
 
 
4030
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
 
4031
  The broken implementations of RFC822 in Python and RFC2046 in IIS
 
4032
  combined with boundary-line checking in Bazaar previously made this
 
4033
  impossible. (NB, IIS 5 does not suffer from this problem).
 
4034
  (Adrian Wilkins, #247585)
 
4035
 
 
4036
* ``bzr log --long`` with a ghost in your mainline now handles that
 
4037
  ghost properly. (John Arbash Meinel, #243536)
 
4038
 
 
4039
* ``check`` handles the split-up .bzr layout correctly, so no longer
 
4040
  requires a branch to be present.
 
4041
  (Daniel Watkins, #64783)
 
4042
 
 
4043
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
 
4044
  loaded.
 
4045
  (Martin Pool, #205230)
 
4046
 
 
4047
* Errors about missing libraries are now shown without a traceback,
 
4048
  and with a suggestion to install the library.  The full traceback is
 
4049
  still in ``.bzr.log`` and can be shown with ``-Derror``.
 
4050
  (Martin Pool, #240161)
 
4051
 
 
4052
* Fetch from a stacked branch copies all required data.
 
4053
  (Aaron Bentley, #248506)
 
4054
 
 
4055
* Handle urls such as ftp://user@host.com@www.host.com where the user
 
4056
  name contains an @.
 
4057
  (Neil Martinsen-Burrell, #228058)
 
4058
 
 
4059
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
 
4060
  ``unlock`` if there was an error in the original function. This helps
 
4061
  most when there is a failure with a smart server action, since often the
 
4062
  connection closes and we cannot unlock.
 
4063
  (Andrew Bennetts, John Arbash Meinel, #125784)
 
4064
 
 
4065
* Obsolete hidden command ``bzr fetch`` removed.
 
4066
  (Martin Pool, #172870)
 
4067
 
 
4068
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
 
4069
  (John Arbash Meinel, #239933)
 
4070
 
 
4071
* You can now compare file revisions in Windows diff programs from
 
4072
  Cygwin Bazaar.
 
4073
  (Matt McClure, #209281)
 
4074
 
 
4075
* revision_history now tolerates mainline ghosts for Branch format 6.
 
4076
  (Aaron Bentley, #235055)
 
4077
 
 
4078
* Set locale from environment for third party libs.
 
4079
  (Martin von Gagern, #128496)
 
4080
 
 
4081
Documentation
 
4082
*************
 
4083
 
 
4084
* Added *Using stacked branches* to the User Guide.
 
4085
  (Ian Clatworthy)
 
4086
 
 
4087
* Updated developer documentation.
 
4088
  (Martin Pool)
 
4089
 
 
4090
Testing
 
4091
*******
 
4092
 
 
4093
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
 
4094
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
 
4095
 
 
4096
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
 
4097
  a tree with a ``branch`` attribute of the right format.  This was
 
4098
  preventing some ``RemoteBranch`` tests from actually running with
 
4099
  ``RemoteBranch`` instances.  (Andrew Bennetts)
 
4100
 
 
4101
API Changes
 
4102
***********
 
4103
 
 
4104
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
 
4105
  there are new attributes ``texts, inventories, revisions,
 
4106
  signatures``, each of which is a ``VersionedFiles``.  See the
 
4107
  Repository docstring for more details.
 
4108
  (Robert Collins)
 
4109
 
 
4110
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
 
4111
  parameter.  If you have a subclass of ``Branch`` that overrides
 
4112
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
 
4113
 
 
4114
* ``bzrlib.check.check()`` has been deprecated in favour of the more
 
4115
  aptly-named ``bzrlib.check.check_branch()``.
 
4116
  (Daniel Watkins)
 
4117
 
 
4118
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
 
4119
  These methods are bad APIs because they write directly to sys.stdout.
 
4120
  bzrlib does not use them internally, and there are no direct tests
 
4121
  for them. (Alexander Belchenko)
 
4122
 
 
4123
Internals
 
4124
*********
 
4125
 
 
4126
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
 
4127
  (Alexander Belchenko)
 
4128
 
 
4129
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
 
4130
  which eases the discovery of the tree, the branch and the repository
 
4131
  containing a given location.
 
4132
  (Daniel Watkins)
 
4133
 
 
4134
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
 
4135
  underlying .knit/.kndx etc files in repositories with partitioned
 
4136
  storage. (Robert Collins)
 
4137
 
 
4138
* Obsolete developer-use command ``weave-join`` has been removed.
 
4139
  (Robert Collins)
 
4140
 
 
4141
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
 
4142
  to support new ``VersionedFiles`` layering.
 
4143
  (Robert Collins)
 
4144
 
 
4145
 
 
4146
bzr 1.6beta2
 
4147
############
 
4148
 
 
4149
:Released: 2008-06-10
 
4150
 
 
4151
This release contains further progress towards our 1.6 goals of shallow
 
4152
repositories, and contains a fix for some user-affecting bugs in the
 
4153
repository layer.  Building working trees during checkout and branch is
 
4154
now faster.
 
4155
 
 
4156
Bug Fixes
 
4157
*********
 
4158
 
 
4159
* Avoid KnitCorrupt error extracting inventories from some repositories.
 
4160
  (The data is not corrupt; an internal check is detecting a problem
 
4161
  reading from the repository.)
 
4162
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
 
4163
 
 
4164
* ``bzr status`` was breaking if you merged the same revision twice.
 
4165
  (John Arbash Meinel, #235407)
 
4166
 
 
4167
* Fix infinite loop consuming 100% CPU when a connection is lost while
 
4168
  reading a response body via the smart protocol v1 or v2.
 
4169
  (Andrew Bennetts)
 
4170
 
 
4171
* Inserting a bundle which changes the contents of a file with no trailing
 
4172
  end of line, causing a knit snapshot in a 'knits' repository will no longer
 
4173
  cause KnitCorrupt. (Robert Collins)
 
4174
 
 
4175
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
 
4176
  pull result. It was instead just returning None, which breaks ``bzr
 
4177
  pull``. (John Arbash Meinel, #238149)
 
4178
 
 
4179
* Sanitize branch nick before using it as an attachment filename in
 
4180
  ``bzr send``. (Lukáš Lalinský, #210218)
 
4181
 
 
4182
* Squash ``inv_entry.symlink_target`` to a plain string when
 
4183
  generating DirState details. This prevents from getting a
 
4184
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
 
4185
  (John Arbash Meinel, #135320)
 
4186
 
 
4187
Improvements
 
4188
************
 
4189
 
 
4190
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
 
4191
 
 
4192
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
 
4193
  now quote paths where required). Added ``--null`` option to ``added`` and
 
4194
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
 
4195
  (Adrian Wilkins)
 
4196
 
 
4197
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
 
4198
  (Ian Clatworthy, Aaron Bentley)
 
4199
 
 
4200
Documentation
 
4201
*************
 
4202
 
 
4203
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
 
4204
 
 
4205
Testing
 
4206
*******
 
4207
 
 
4208
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
4209
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
4210
 
 
4211
API Changes
 
4212
***********
 
4213
 
 
4214
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
4215
  which are in the ancestry of other revisions. So if you merge the same
 
4216
  tree twice, or merge an ancestor of an existing merge, it will only
 
4217
  record the newest. (If you merge a descendent, it will replace its
 
4218
  ancestor). (John Arbash Meinel, #235407)
 
4219
 
 
4220
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
 
4221
  through the derived classes do not.  (Aaron Bentley)
 
4222
 
 
4223
Internals
 
4224
*********
 
4225
 
 
4226
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
 
4227
  creating stacked branches. (Robert Collins)
 
4228
 
 
4229
* Knit record serialisation is now stricter on what it will accept, to
 
4230
  guard against potential internal bugs, or broken input. (Robert Collins)
 
4231
 
 
4232
bzr 1.6beta1
 
4233
############
 
4234
 
 
4235
:Released: 2008-06-02
 
4236
 
 
4237
Commands that work on the revision history such as push, pull, missing,
 
4238
uncommit and log are now substantially faster.  This release adds a
 
4239
translation of some of the user documentation into Spanish.  (Contributions of
 
4240
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
 
4241
protocol which is used by default and which allows for more efficient transfers
 
4242
and future extensions.
 
4243
 
 
4244
 
 
4245
Notes When Upgrading
 
4246
********************
 
4247
 
 
4248
* There is a new version of the network protocol used for bzr://, bzr+ssh://
 
4249
  and bzr+http:// connections.  This will allow more efficient requests and
 
4250
  responses, and more graceful fallback when a server is too old to
 
4251
  recognise a request from a more recent client.  Bazaar 1.6 will
 
4252
  interoperate with 0.16 and later versions, but servers should be upgraded
 
4253
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
4254
  these protocols.  Use alternatives like SFTP or upgrade those servers.
 
4255
  (Andrew Bennetts, #83935)
 
4256
 
 
4257
Changes
 
4258
*******
 
4259
 
 
4260
* Deprecation warnings will not be suppressed when running ``bzr selftest``
 
4261
  so that developers can see if their code is using deprecated functions.
 
4262
  (John Arbash Meinel)
 
4263
 
 
4264
Features
 
4265
********
 
4266
 
 
4267
* Adding ``-Derror`` will now display a traceback when a plugin fails to
 
4268
  load. (James Westby)
 
4269
 
 
4270
Improvements
 
4271
************
 
4272
 
 
4273
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
 
4274
  the revno of the new revision (``Graph.find_distance_to_null``). This
 
4275
  should make something like ``bzr branch -r -100`` in a shared, no-trees
 
4276
  repository much snappier. (John Arbash Meinel)
 
4277
 
 
4278
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
 
4279
  history. This makes it noticeably faster when logging the last few
 
4280
  revisions. (John Arbash Meinel)
 
4281
 
 
4282
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
 
4283
  (Jerad Cramp, #165086)
 
4284
 
 
4285
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
4286
  ``Graph.find_differences`` to determine missing revisions without having
 
4287
  to search the whole ancestry. (John Arbash Meinel, #174625)
 
4288
 
 
4289
* ``bzr uncommit`` now uses partial history access, rather than always
 
4290
  extracting the full revision history for a branch. This makes it
 
4291
  resolve the appropriate revisions much faster (in testing it drops
 
4292
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
 
4293
  step closer to not using full revision history.
 
4294
  (John Arbash Meinel, #172649)
 
4295
 
 
4296
Bugfixes
 
4297
********
 
4298
 
 
4299
* ``bzr merge --lca`` should handle when two revisions have no common
 
4300
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
 
4301
 
 
4302
* ``bzr status`` was breaking if you merged the same revision twice.
 
4303
  (John Arbash Meinel, #235407)
 
4304
 
 
4305
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
4306
  fails.  (Andrew Bennetts, #234229)
 
4307
 
 
4308
* Correctly track the base URL of a smart medium when using bzr+http://
 
4309
  URLs, which was causing spurious "No repository present" errors with
 
4310
  branches in shared repositories accessed over bzr+http.
 
4311
  (Andrew Bennetts, #230550)
 
4312
 
 
4313
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
4314
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
4315
  attribute '_remote_is_at_least_1_2' attribute errors.
 
4316
  (Andrew Bennetts, #220806)
 
4317
 
 
4318
* Failure to delete an obsolete pack file should just give a warning
 
4319
  message, not a fatal error.  It may for example fail if the file is still
 
4320
  in use by another process.
 
4321
  (Martin Pool)
 
4322
 
 
4323
* Fix MemoryError during large fetches over HTTP by limiting the amount of
 
4324
  data we try to read per ``recv`` call.  The problem was observed with
 
4325
  Windows and a proxy, but might affect other environments as well.
 
4326
  (Eric Holmberg, #215426)
 
4327
 
 
4328
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
4329
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
4330
 
 
4331
* Issue a warning and ignore passwords declared in authentication.conf when
 
4332
  used for an ssh scheme (sftp or bzr+ssh).
 
4333
  (Vincent Ladeuil, #203186)
 
4334
 
 
4335
* Make both http implementations raise appropriate exceptions on 403
 
4336
  Forbidden when POSTing smart requests.
 
4337
  (Vincent Ladeuil, #230223)
 
4338
 
 
4339
* Properly *title* header names in http requests instead of capitalizing
 
4340
  them.
 
4341
  (Vincent Ladeuil, #229076)
 
4342
 
 
4343
* The "Unable to obtain lock" error message now also suggests using
 
4344
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
 
4345
 
 
4346
* Treat an encoding of '' as ascii; this can happen when bzr is run
 
4347
  under vim on Mac OS X.
 
4348
  (Neil Martinsen-Burrell)
 
4349
 
 
4350
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
 
4351
  scope. (Daniel Fischer #235687)
 
4352
 
 
4353
Documentation
 
4354
*************
 
4355
 
 
4356
* Added directory structure and started translation of docs in spanish.
 
4357
  (Martin Albisetti, Lucio Albenga)
 
4358
 
 
4359
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
4360
  on the plugin and integration chapters of the User Guide.
 
4361
  (Ian Clatworthy)
 
4362
 
 
4363
* More Bazaar developer documentation about packaging and release process,
 
4364
  and about use of Python reprs.
 
4365
  (Martin Pool, Martin Albisetti)
 
4366
 
 
4367
* Updated Tortise strategy document. (Mark Hammond)
 
4368
 
 
4369
Testing
 
4370
*******
 
4371
 
 
4372
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
 
4373
  (Robert Collins)
 
4374
 
 
4375
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
4376
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
4377
 
 
4378
* New helper function for splitting test suites
 
4379
  ``split_suite_by_condition``. (Robert Collins)
 
4380
 
 
4381
Internals
 
4382
*********
 
4383
 
 
4384
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
 
4385
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
 
4386
  fairly broken, and the function was unused, so we are getting rid of it.
 
4387
  (John Arbash Meinel)
 
4388
 
 
4389
API Changes
 
4390
***********
 
4391
 
 
4392
* ``Branch.abspath`` is deprecated; use the Tree or Transport
 
4393
  instead.  (Martin Pool)
 
4394
 
 
4395
* ``Branch.update_revisions`` now takes an optional ``Graph``
 
4396
  object. This can be used by ``update_revisions`` when it is
 
4397
  checking ancestry, and allows callers to prefer request to go to a
 
4398
  local branch.  (John Arbash Meinel)
 
4399
 
 
4400
* Branch, Repository, Tree and BzrDir should expose a Transport as an
 
4401
  attribute if they have one, rather than having it indirectly accessible
 
4402
  as ``.control_files._transport``.  This doesn't add a requirement
 
4403
  to support a Transport in cases where it was not needed before;
 
4404
  it just simplifies the way it is reached.  (Martin Pool)
 
4405
 
 
4406
* ``bzr missing --mine-only`` will return status code 0 if you have no
 
4407
  new revisions, but the remote does. Similarly for ``--theirs-only``.
 
4408
  The new code only checks one side, so it doesn't know if the other
 
4409
  side has changes. This seems more accurate with the request anyway.
 
4410
  It also changes the output to print '[This|Other] branch is up to
 
4411
  date.' rather than displaying nothing.  (John Arbash Meinel)
 
4412
 
 
4413
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
4414
  are now deprecated in favor of using Transport operations.
 
4415
  (Martin Pool)
 
4416
 
 
4417
* Many methods on ``VersionedFile``, ``Repository`` and in
 
4418
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
4419
  (Robert Collins)
 
4420
 
 
4421
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
 
4422
  ``RevisionSpec``. This will disable the existing behavior of passing in
 
4423
  the full revision history to ``self._match_on``. Useful for specs that
 
4424
  don't actually need access to the full history. (John Arbash Meinel)
 
4425
 
 
4426
* The constructors of ``SmartClientMedium`` and its subclasses now require a
 
4427
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
4428
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
4429
 
 
4430
* The default permissions for creating new files and directories
 
4431
  should now be obtained from ``BzrDir._get_file_mode()`` and
 
4432
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
4433
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
4434
  as a way for plugins to control this are no longer consulted.
 
4435
  (Martin Pool)
 
4436
 
 
4437
* ``VersionedFile.join`` is deprecated. This method required local
 
4438
  instances of both versioned file objects and was thus hostile to being
 
4439
  used for streaming from a smart server. The new get_record_stream and
 
4440
  insert_record_stream are meant to efficiently replace this method.
 
4441
  (Robert Collins)
 
4442
 
 
4443
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
4444
  which are in the ancestry of other revisions. So if you merge the same
 
4445
  tree twice, or merge an ancestor of an existing merge, it will only
 
4446
  record the newest. (If you merge a descendent, it will replace its
 
4447
  ancestor). (John Arbash Meinel, #235407)
 
4448
 
 
4449
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
4450
  (Martin Pool)
 
4451
 
 
4452
 
 
4453
bzr 1.5
 
4454
#######
 
4455
 
 
4456
:Released: 2008-05-16
 
4457
 
 
4458
This release of Bazaar includes several updates to the documentation, and fixes
 
4459
to prepare for making rich root support the default format. Many bugs have been
 
4460
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
 
4461
 
 
4462
Changes
 
4463
*******
 
4464
 
 
4465
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
4466
  users of packaged software won't be bothered with DeprecationWarnings,
 
4467
  but developers and testers will still see them. (John Arbash Meinel)
 
4468
 
 
4469
Documentation
 
4470
*************
 
4471
 
 
4472
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
4473
  on the plugin and integration chapters of the User Guide.
 
4474
  (Ian Clatworthy)
 
4475
 
 
4476
 
 
4477
bzr 1.5rc1
 
4478
##########
 
4479
 
 
4480
:Released: 2008-05-09
 
4481
 
 
4482
Changes
 
4483
*******
 
4484
 
 
4485
* Broader support of GNU Emacs mail clients. Set
 
4486
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
4487
  bundle in a mail buffer according to the value of ``mail-user-agent``
 
4488
  variable. (Xavier Maillard)
 
4489
 
 
4490
Improvements
 
4491
************
 
4492
 
 
4493
* Diff now handles revision specs like "branch:" and "submit:" more
 
4494
  efficiently.  (Aaron Bentley, #202928)
 
4495
 
 
4496
* More friendly error given when attempt to start the smart server
 
4497
  on an address already in use. (Andrea Corbellini, #200575)
 
4498
 
 
4499
* Pull completes much faster when there is nothing to pull.
 
4500
  (Aaron Bentley)
 
4501
 
 
4502
Bugfixes
 
4503
********
 
4504
 
 
4505
* Authentication.conf can define sections without password.
 
4506
  (Vincent Ladeuil, #199440)
 
4507
 
 
4508
* Avoid muttering every time a child update does not cause a progress bar
 
4509
  update. (John Arbash Meinel, #213771)
 
4510
 
 
4511
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
4512
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
4513
  also detects this condition. (John Arbash Meinel, #177855)
 
4514
 
 
4515
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
4516
  for ``revision_id=None`` which was not a string.
 
4517
  (John Arbash Meinel, #211661)
 
4518
 
 
4519
* ``bzr commit`` now works with Microsoft's FTP service.
 
4520
  (Andreas Deininger)
 
4521
 
 
4522
* Catch definitions outside sections in authentication.conf.
 
4523
  (Vincent Ladeuil, #217650)
 
4524
 
 
4525
* Conversion from non-rich-root to rich-root(-pack) updates inventory
 
4526
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
4527
 
 
4528
* Conversion from non-rich-root to rich-root(-pack) works correctly even
 
4529
  though search keys are not topologically sorted.  (Aaron Bentley)
 
4530
 
 
4531
* Conversion from non-rich-root to rich-root(-pack) works even when a
 
4532
  parent revision has a different root id.  (Aaron Bentley, #177874)
 
4533
 
 
4534
* Disable strace testing until strace is fixed (see bug #103133) and emit a
 
4535
  warning when selftest ends to remind us of leaking tests.
 
4536
  (Vincent Ladeuil, #226769)
 
4537
 
 
4538
* Fetching all revisions from a repository does not cause pack collisions.
 
4539
  (Robert Collins, Aaron Bentley, #212908)
 
4540
 
 
4541
* Fix error about "attempt to add line-delta in non-delta knit".
 
4542
  (Andrew Bennetts, #217701)
 
4543
 
 
4544
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
4545
  if the remote server was < version 1.2. This was due to a bug in the
 
4546
  RemoteRepository.get_parent_map() fallback code.
 
4547
  (John Arbash Meinel, #214894)
 
4548
 
 
4549
* Remove leftover code in ``bzr_branch`` that inappropriately creates
 
4550
  a ``branch-name`` file in the branch control directory.
 
4551
  (Martin Pool)
 
4552
 
 
4553
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
4554
  rebinding the socket when starting the server a second time.
 
4555
  (John Arbash Meinel, Martin Pool, #164288)
 
4556
 
 
4557
* Severe performance degradation in fetching from knit repositories to
 
4558
  knits and packs due to parsing the entire revisions.kndx on every graph
 
4559
  walk iteration fixed by using the Repository.get_graph API.  There was
 
4560
  another regression in knit => knit fetching which re-read the index for
 
4561
  every revision each side had in common.
 
4562
  (Robert Collins, John Arbash Meinel)
 
4563
 
 
4564
* When logging the changes to a particular file, there was a bug if there
 
4565
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
4566
 
 
4567
* xs4all's ftp server returns a temporary error when trying to list an
 
4568
  empty directory, rather than returning an empty list. Adding a
 
4569
  workaround so that we don't get spurious failures.
 
4570
  (John Arbash Meinel, #215522)
 
4571
 
 
4572
Documentation
 
4573
*************
 
4574
 
 
4575
* Expanded the User Guide to include new chapters on popular plugins and
 
4576
  integrating Bazaar into your environment. The *Best practices* chapter
 
4577
  was renamed to *Miscellaneous topics* as suggested by community
 
4578
  feedback as well. (Ian Clatworthy)
 
4579
 
 
4580
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
4581
 
 
4582
* Improved the documentation on hooks. (Ian Clatworthy)
 
4583
 
 
4584
* Update authentication docs regarding ssh agents.
 
4585
  (Vincent Ladeuil, #183705)
 
4586
 
 
4587
Testing
 
4588
*******
 
4589
 
 
4590
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
4591
  make it easy to identify which test spawned a thread with an unhandled
 
4592
  exception. (Andrew Bennetts)
 
4593
 
 
4594
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
4595
  options for debugging tests, these are complementary to the the -D
 
4596
  options.  The ``-Dselftest_debug`` global option has been replaced by the
 
4597
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
4598
 
 
4599
* Parameterised test ids are preserved correctly to aid diagnosis of test
 
4600
  failures. (Robert Collins, Andrew Bennetts)
 
4601
 
 
4602
* selftest now accepts --starting-with <id> to load only the tests whose id
 
4603
  starts with the one specified. This greatly speeds up running the test
 
4604
  suite on a limited set of tests and can be used to run the tests for a
 
4605
  single module, a single class or even a single test.  (Vincent Ladeuil)
 
4606
 
 
4607
* The test suite modules have been modified to define load_tests() instead
 
4608
  of test_suite(). That speeds up selective loading (via --load-list)
 
4609
  significantly and provides many examples on how to migrate (grep for
 
4610
  load_tests).  (Vincent Ladeuil)
 
4611
 
 
4612
Internals
 
4613
*********
 
4614
 
 
4615
* ``Hooks.install_hook`` is now deprecated in favour of
 
4616
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
4617
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
4618
 
 
4619
* Implement xml8 serializer.  (Aaron Bentley)
 
4620
 
 
4621
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
 
4622
  deprecation wrappers.  (Martin Pool)
 
4623
 
 
4624
* ``Repository.revision_parents`` is now deprecated in favour of
 
4625
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
4626
 
 
4627
* The Python ``assert`` statement is no longer used in Bazaar source, and
 
4628
  a test checks this.  (Martin Pool)
 
4629
 
 
4630
API Changes
 
4631
***********
 
4632
 
 
4633
* ``bzrlib.status.show_pending_merges`` requires the repository to be
 
4634
  locked by the caller. Callers should have been doing it anyway, but it
 
4635
  will now raise an exception if they do not. (John Arbash Meinel)
 
4636
 
 
4637
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
4638
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
4639
  Repository.item_keys_introduced_by() no longer take read locks.
 
4640
  (Aaron Bentley)
 
4641
 
 
4642
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
4643
  towards removing LockableFiles and ``.control_files`` entirely.
 
4644
  (Martin Pool)
 
4645
 
 
4646
* Methods deprecated prior to 1.1 have been removed.
 
4647
  (Martin Pool)
 
4648
 
 
4649
 
 
4650
bzr 1.4 
 
4651
#######
 
4652
 
 
4653
:Released: 2008-04-28
 
4654
 
 
4655
This release of Bazaar includes handy improvements to the speed of log and
 
4656
status, new options for several commands, improved documentation, and better
 
4657
hooks, including initial code for server-side hooks.  A number of bugs have
 
4658
been fixed, particularly in interoperability between different formats or
 
4659
different releases of Bazaar over there network.  There's been substantial
 
4660
internal work in both the repository and network code to enable new features
 
4661
and faster performance.
 
4662
 
 
4663
Bug Fixes
 
4664
*********
 
4665
 
 
4666
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
4667
  if the remote server was < version 1.2.  This was due to a bug in the
 
4668
  RemoteRepository.get_parent_map() fallback code.
 
4669
  (John Arbash Meinel, Andrew Bennetts, #214894)
 
4670
 
 
4671
 
 
4672
bzr 1.4rc2
 
4673
##########
 
4674
 
 
4675
:Released: 2008-04-21
 
4676
 
 
4677
Bug Fixes
 
4678
*********
 
4679
 
 
4680
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
4681
  for ``revision_id=None`` which was not a string.
 
4682
  (John Arbash Meinel, #211661)
 
4683
 
 
4684
* Fixed a bug in handling ghost revisions when logging changes in a
 
4685
  particular file.  (John Arbash Meinel, #209948)
 
4686
 
 
4687
* Fix error about "attempt to add line-delta in non-delta knit".
 
4688
  (Andrew Bennetts, #205156)
 
4689
 
 
4690
* Fixed performance degradation in fetching from knit repositories to
 
4691
  knits and packs due to parsing the entire revisions.kndx on every graph
 
4692
  walk iteration fixed by using the Repository.get_graph API.  There was
 
4693
  another regression in knit => knit fetching which re-read the index for
 
4694
  every revision each side had in common.
 
4695
  (Robert Collins, John Arbash Meinel)
 
4696
 
 
4697
 
 
4698
bzr 1.4rc1
 
4699
##########
 
4700
 
 
4701
:Released: 2008-04-11
 
4702
 
 
4703
Changes
 
4704
*******
 
4705
 
 
4706
* bzr main script cannot be imported (Benjamin Peterson)
 
4707
 
 
4708
* On Linux bzr additionally looks for plugins in arch-independent site
 
4709
  directory. (Toshio Kuratomi)
 
4710
 
 
4711
* The ``set_rh`` branch hook is now deprecated. Please migrate
 
4712
  any plugins using this hook to use an alternative, e.g.
 
4713
  ``post_change_branch_tip``. (Ian Clatworthy)
 
4714
 
 
4715
* When a plugin cannot be loaded as the file path is not a valid
 
4716
  python module name bzr will now strip a ``bzr_`` prefix from the
 
4717
  front of the suggested name, as many plugins (e.g. bzr-svn)
 
4718
  want to be installed without this prefix. It is a common mistake
 
4719
  to have a folder named "bzr-svn" for that plugin, especially
 
4720
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
4721
  Andrew Cowie)
 
4722
 
 
4723
* UniqueIntegerBugTracker now appends bug-ids instead of joining
 
4724
  them to the base URL. Plugins that register bug trackers may
 
4725
  need a trailing / added to the base URL if one is not already there.
 
4726
  (James Wesby, Andrew Cowie)
 
4727
 
 
4728
Features
 
4729
********
 
4730
 
 
4731
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
4732
 
 
4733
* ``status`` now accepts ``--no-pending`` to show the status without
 
4734
  listing pending merges, which speeds up the command a lot on large
 
4735
  histories.  (James Westby, #202830)
 
4736
 
 
4737
* New ``post_change_branch_tip`` hook that is called after the
 
4738
  branch tip is moved but while the branch is still write-locked.
 
4739
  See the User Reference for signature details.
 
4740
  (Ian Clatworthy, James Henstridge)
 
4741
 
 
4742
* Reconfigure can convert a branch to be standalone or to use a shared
 
4743
  repository.  (Aaron Bentley)
 
4744
 
 
4745
Improvements
 
4746
************
 
4747
 
 
4748
* The smart protocol now has support for setting branches' revision info
 
4749
  directly.  This should make operations like push slightly faster, and is a
 
4750
  step towards server-side hooks.  The new request method name is
 
4751
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
4752
 
 
4753
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
4754
  (James Westby, Andrew Cowie)
 
4755
 
 
4756
* ``bzr switch`` will attempt to find branches to switch to relative to the
 
4757
  current branch. E.g. ``bzr switch branchname`` will look for
 
4758
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
4759
  Wouter van Heyst)
 
4760
 
 
4761
* Diff is now more specific about execute-bit changes it describes
 
4762
  (Chad Miller)
 
4763
 
 
4764
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
4765
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
4766
  rather than just 1 byte at a time.  (Andrew Bennetts)
 
4767
 
 
4768
* Log --short and --line are much faster when -r is not specified.
 
4769
  (Aaron Bentley)
 
4770
 
 
4771
* Merge is faster.  We no longer check a file's existence unnecessarily
 
4772
  when merging the execute bit.  (Aaron Bentley)
 
4773
 
 
4774
* ``bzr status`` on an explicit list of files no longer shows pending
 
4775
  merges, making it much faster on large trees. (John Arbash Meinel)
 
4776
 
 
4777
* The launchpad directory service now warns the user if they have not set
 
4778
  their launchpad login and are trying to resolve a URL using it, just
 
4779
  in case they want to do a write operation with it.  (James Westby)
 
4780
 
 
4781
* The smart protocol client is slightly faster, because it now only queries
 
4782
  the server for the protocol version once per connection.  Also, the HTTP
 
4783
  transport will now automatically probe for and use a smart server if
 
4784
  one is present.  You can use the new ``nosmart+`` transport decorator
 
4785
  to get the old behaviour.  (Andrew Bennetts)
 
4786
 
 
4787
* The ``version`` command takes a ``--short`` option to print just the
 
4788
  version number, for easier use in scripts.  (Martin Pool)
 
4789
 
 
4790
* Various operations with revision specs and commands that calculate
 
4791
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
4792
 
 
4793
Bugfixes
 
4794
********
 
4795
 
 
4796
* Add ``root_client_path`` parameter to SmartWSGIApp and
 
4797
  SmartServerRequest.  This makes it possible to publish filesystem
 
4798
  locations that don't exactly match URL paths. SmartServerRequest
 
4799
  subclasses should use the new ``translate_client_path`` and
 
4800
  ``transport_from_client_path`` methods when dealing with paths received
 
4801
  from a client to take this into account.  (Andrew Bennetts, #124089)
 
4802
 
 
4803
* ``bzr mv a b`` can be now used also to rename previously renamed
 
4804
  directories, not only files. (Lukáš Lalinský, #107967)
 
4805
 
 
4806
* ``bzr uncommit --local`` can now remove revisions from the local
 
4807
  branch to be symmetric with ``bzr commit --local``.
 
4808
  (John Arbash Meinel, #93412)
 
4809
 
 
4810
* Don't ask for a password if there is no real terminal.
 
4811
  (Alexander Belchenko, #69851)
 
4812
 
 
4813
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
4814
  fetching revisions from a knit to pack repository or vice versa using
 
4815
  bzr:// (including over http or ssh).
 
4816
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
4817
 
 
4818
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
4819
  fixed ``_get_bytes`` in the same module to use the push back buffer.
 
4820
  These bugs had no known impact in normal use, but were problematic for
 
4821
  developers working on the code, and were likely to cause real bugs sooner
 
4822
  or later.  (Andrew Bennetts)
 
4823
 
 
4824
* Implement handling of basename parameter for DefaultMail.  (James Westby)
 
4825
 
 
4826
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
4827
  (Andrew Bennetts, #213425)
 
4828
 
 
4829
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
4830
 
 
4831
* Merges that add files to deleted root directories complete.  They
 
4832
  do create conflicts.  (Aaron Bentley, #210092)
 
4833
 
 
4834
* vsftp's return ``550 RNFR command failed.`` supported.
 
4835
  (Marcus Trautwig, #129786)
 
4836
 
 
4837
Documentation
 
4838
*************
 
4839
 
 
4840
* Improved documentation on send/merge relationship. (Peter Schuller)
 
4841
 
 
4842
* Minor fixes to the User Guide. (Matthew Fuller)
 
4843
 
 
4844
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
4845
 
 
4846
* Added Integrating with Bazaar document for developers (Martin Albisetti)
 
4847
 
 
4848
API Breaks
 
4849
**********
 
4850
 
 
4851
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
4852
  non-ghost aware repository such as weaves will now fail if there are
 
4853
  ghosts.  (Robert Collins)
 
4854
 
 
4855
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
4856
  now requires the ``index`` and ``access_method`` parameters to be
 
4857
  supplied. A compatible shim has been kept in the new function
 
4858
  ``knit.make_file_knit``. (Robert Collins)
 
4859
 
 
4860
* Log formatters must now provide log_revision instead of show and
 
4861
  show_merge_revno methods. The latter had been deprecated since the 0.17
 
4862
  release. (James Westby)
 
4863
 
 
4864
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
4865
  (Andrew Bennetts)
 
4866
 
 
4867
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
4868
 
 
4869
* ``Repository.get_revision_graph`` is deprecated, with no replacement
 
4870
  method. The method was size(history) and not desirable. (Robert Collins)
 
4871
 
 
4872
* ``revision.revision_graph`` is deprecated, with no replacement function.
 
4873
  The function was size(history) and not desirable. (Robert Collins)
 
4874
 
 
4875
* ``Transport.get_shared_medium`` is deprecated.  Use
 
4876
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
4877
 
 
4878
* ``VersionedFile`` factories now accept a get_scope parameter rather
 
4879
  than using a call to ``transaction_finished``, allowing the removal of
 
4880
  the fixed list of versioned files per repository. (Robert Collins)
 
4881
 
 
4882
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
4883
  allowed lower memory use, all users of annotations wanted full file
 
4884
  annotations, and there is no storage format suitable for incremental
 
4885
  line-by-line annotation. (Robert Collins)
 
4886
 
 
4887
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
4888
  is no longer used - reading the content of a file that is undergoing a
 
4889
  file level merge to identical state on two branches is rare enough, and
 
4890
  not expensive enough to special case. (Robert Collins)
 
4891
 
 
4892
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
4893
  These methods added significant complexity to the ``VersionedFile``
 
4894
  implementation, but were only used for optimising fetches from knits -
 
4895
  which can be done from outside the knit layer, or via a caching
 
4896
  decorator. As knits are not the default format, the complexity is no
 
4897
  longer worth paying. (Robert Collins)
 
4898
 
 
4899
* ``VersionedFile.create_empty`` is removed. This method presupposed a
 
4900
  sensible mapping to a transport for individual files, but pack backed
 
4901
  versioned files have no such mapping. (Robert Collins)
 
4902
 
 
4903
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
4904
  The method was size(history) and not desirable. (Robert Collins)
 
4905
 
 
4906
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
4907
  replacement method.  The method was size(history) and not desirable.
 
4908
  (Robert Collins)
 
4909
 
 
4910
* ``VersionedFile.get_parents`` is deprecated, please use
 
4911
  ``VersionedFile.get_parent_map``. (Robert Collins)
 
4912
 
 
4913
* ``VersionedFile.get_sha1`` is deprecated, please use
 
4914
  ``VersionedFile.get_sha1s``. (Robert Collins)
 
4915
 
 
4916
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
4917
  and unused outside of a single test. (Robert Collins)
 
4918
 
 
4919
* ``VersionedFile.iter_parents`` is now deprecated in favour of
 
4920
  ``get_parent_map`` which can be used to instantiate a Graph on a
 
4921
  VersionedFile. (Robert Collins)
 
4922
 
 
4923
* ``VersionedFileStore`` no longer uses the transaction parameter given
 
4924
  to most methods; amongst other things this means that the
 
4925
  get_weave_or_empty method no longer guarantees errors on a missing weave
 
4926
  in a readonly transaction, and no longer caches versioned file instances
 
4927
  which reduces memory pressure (but requires more careful management by
 
4928
  callers to preserve performance). (Robert Collins)
 
4929
 
 
4930
Testing
 
4931
*******
 
4932
 
 
4933
* New -Dselftest_debug flag disables clearing of the debug flags during
 
4934
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
4935
  failing test.  Be aware that using this feature is likely to cause
 
4936
  spurious test failures if used with the full suite. (Andrew Bennetts)
 
4937
 
 
4938
* selftest --load-list now uses a new more agressive test loader that will
 
4939
  avoid loading unneeded modules and building their tests. Plugins can use
 
4940
  this new loader by defining a load_tests function instead of a test_suite
 
4941
  function. (a forthcoming patch will provide many examples on how to
 
4942
  implement this).
 
4943
  (Vincent Ladeuil)
 
4944
 
 
4945
* selftest --load-list now does some sanity checks regarding duplicate test
 
4946
  IDs and tests present in the list but not found in the actual test suite.
 
4947
  (Vincent Ladeuil)
 
4948
 
 
4949
* Slightly more concise format for the selftest progress bar, so there's
 
4950
  more space to show the test name.  (Martin Pool) ::
 
4951
 
 
4952
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
4953
 
 
4954
* The test suite takes much less memory to run, and is a bit faster.  This
 
4955
  is done by clearing most attributes of TestCases after running them, if
 
4956
  they succeeded.  (Andrew Bennetts)
 
4957
 
 
4958
Internals
 
4959
*********
 
4960
 
 
4961
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
4962
 
 
4963
* Added basic infrastructure for automatic plugin suggestion.
 
4964
  (Martin Albisetti)
 
4965
 
 
4966
* If a ``LockableFiles`` object is not explicitly unlocked (for example
 
4967
  because of a missing ``try/finally`` block, it will give a warning but
 
4968
  not automatically unlock itself.  (Previously they did.)  This
 
4969
  sometimes caused knock-on errors if for example the network connection
 
4970
  had already failed, and should not be relied upon by code.
 
4971
  (Martin Pool, #109520)
 
4972
 
 
4973
* ``make dist`` target to build a release tarball, and also
 
4974
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
4975
 
 
4976
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
4977
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
4978
  callers don't need to try distinguish unknown request errors from other
 
4979
  errors.  (Andrew Bennetts)
 
4980
 
 
4981
* ``set_make_working_trees`` is now implemented provided on all repository
 
4982
  implementations (Aaron Bentley)
 
4983
 
 
4984
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
4985
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
4986
 
 
4987
 
 
4988
bzr 1.3.1
 
4989
#########
 
4990
 
 
4991
:Released: 2008-04-09
 
4992
 
 
4993
No changes from 1.3.1rc1.
 
4994
 
 
4995
 
 
4996
bzr 1.3.1rc1
 
4997
############
 
4998
 
 
4999
:Released: 2008-04-04
 
5000
 
 
5001
Bug Fixes
 
5002
*********
 
5003
 
 
5004
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
5005
  fetching revisions from a knit to pack repository or vice versa using
 
5006
  bzr:// (including over http or ssh).
 
5007
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
5008
 
 
5009
 
 
5010
bzr 1.3
 
5011
#######
 
5012
 
 
5013
:Released: 2008-03-20
 
5014
 
 
5015
Bazaar has become part of the GNU project <http://www.gnu.org>
 
5016
 
 
5017
Many operations that act on history, including ``log`` and ``annotate`` are now
 
5018
substantially faster.  Several bugs have been fixed and several new options and
 
5019
features have been added.
 
5020
 
 
5021
Testing
 
5022
*******
 
5023
 
 
5024
* Avoid spurious failure of ``TestVersion.test_version`` matching
 
5025
  directory names.
 
5026
  (#202778, Martin Pool)
 
5027
 
 
5028
 
 
5029
bzr 1.3rc1
 
5030
##########
 
5031
 
 
5032
:Released: 2008-03-16
 
5033
 
 
5034
Notes When Upgrading
 
5035
********************
 
5036
 
 
5037
* The backup directory created by ``upgrade`` is now called
 
5038
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
5039
 
 
5040
Changes
 
5041
*******
 
5042
 
 
5043
* A new repository format 'development' has been added. This format will
 
5044
  represent the latest 'in-progress' format that the bzr developers are
 
5045
  interested in getting early-adopter testing and feedback on.
 
5046
  ``doc/developers/development-repo.txt`` has detailed information.
 
5047
  (Robert Collins)
 
5048
 
 
5049
* BZR_LOG environment variable controls location of .bzr.log trace file.
 
5050
  User can suppress writing messages to .bzr.log by using '/dev/null'
 
5051
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
5052
  is not defined but BZR_HOME is defined then default location
 
5053
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
5054
  (Alexander Belchenko, #106117)
 
5055
 
 
5056
* ``launchpad`` builtin plugin now shipped as separate part in standalone
 
5057
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
 
5058
  and standalone installer allows user to skip installation of this plugin.
 
5059
  (Alexander Belchenko)
 
5060
 
 
5061
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
5062
 
 
5063
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
5064
  missing final fields.  (Martin Pool)
 
5065
 
 
5066
Features
 
5067
********
 
5068
 
 
5069
* ``branch`` and ``checkout`` can hard-link working tree files, which is
 
5070
  faster and saves space.  (Aaron Bentley)
 
5071
 
 
5072
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
5073
  the submit branch to determine the email address to send to.
 
5074
  (Jelmer Vernooij)
 
5075
 
 
5076
Improvements
 
5077
************
 
5078
 
 
5079
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
5080
 
 
5081
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
5082
 
 
5083
* Directory services can now be registered, allowing special URLs to be
 
5084
  dereferenced into real URLs.  This is a generalization and cleanup of
 
5085
  the lp: transport lookup.  (Aaron Bentley)
 
5086
 
 
5087
* Merge directives that are automatically attached to emails have nicer
 
5088
  filenames, based on branch-nick + revno. (Aaron Bentley)
 
5089
 
 
5090
* ``push`` has a ``--revision`` option, to specify what revision to push up
 
5091
  to.  (Daniel Watkins)
 
5092
 
 
5093
* Significantly reducing execution time and network traffic for trivial
 
5094
  case of running ``bzr missing`` command for two identical branches.
 
5095
  (Alexander Belchenko)
 
5096
 
 
5097
* Speed up operations that look at the revision graph (such as 'bzr log').
 
5098
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
5099
  extract the revision history. This allows filtering ghosts while
 
5100
  stepping instead of needing to peek ahead. (John Arbash Meinel)
 
5101
 
 
5102
* The ``hooks`` command lists installed hooks, to assist in debugging.
 
5103
  (Daniel Watkins)
 
5104
 
 
5105
* Updates to how ``annotate`` work. Should see a measurable improvement in
 
5106
  performance and memory consumption for file with a lot of merges.
 
5107
  Also, correctly handle when a line is introduced by both parents (it
 
5108
  should be attributed to the first merge which notices this, and not
 
5109
  to all subsequent merges.) (John Arbash Meinel)
 
5110
 
 
5111
Bugfixes
 
5112
********
 
5113
 
 
5114
* Autopacking no longer holds the full set of inventory lines in
 
5115
  memory while copying. For large repositories, this can amount to
 
5116
  hundreds of MB of ram consumption.
 
5117
  (Ian Clatworthy, John Arbash Meinel)
 
5118
 
 
5119
* Cherrypicking when using ``--format=merge3`` now explictly excludes
 
5120
  BASE lines. (John Arbash Meinel, #151731)
 
5121
 
 
5122
* Disable plink's interactive prompt for password.
 
5123
  (#107593, Dmitry Vasiliev)
 
5124
 
 
5125
* Encode command line arguments from unicode to user_encoding before
 
5126
  invoking external mail client in `bzr send` command.
 
5127
  (#139318, Alexander Belchenko)
 
5128
 
 
5129
* Fixed problem connecting to ``bzr+https://`` servers.
 
5130
  (#198793, John Ferlito)
 
5131
 
 
5132
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
5133
  #196618)
 
5134
 
 
5135
* Include quick-start-summary.svg file to python-based installer(s)
 
5136
  for Windows. (#192924, Alexander Belchenko)
 
5137
 
 
5138
* lca merge now respects specified files. (Aaron Bentley)
 
5139
 
 
5140
* Make version-info --custom imply --all. (#195560, James Westby)
 
5141
 
 
5142
* ``merge --preview`` now works for merges that add or modify
 
5143
  symlinks (James Henstridge)
 
5144
 
 
5145
* Redirecting the output from ``bzr merge`` (when the remembered
 
5146
  location is used) now works. (John Arbash Meinel)
 
5147
 
 
5148
* setup.py script explicitly checks for Python version.
 
5149
  (Jari Aalto, Alexander Belchenko, #200569)
 
5150
 
 
5151
* UnknownFormatErrors no longer refer to branches regardless of kind of
 
5152
  unknown format. (Daniel Watkins, #173980)
 
5153
 
 
5154
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
5155
  signs, among other small improvements. (Matt Nordhoff, #86838)
 
5156
 
 
5157
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
5158
  errors.  (Aaron Bentley, #196780)
 
5159
 
 
5160
Documentation
 
5161
*************
 
5162
 
 
5163
* Explained how to use ``version-info --custom`` in the User Guide.
 
5164
  (Neil Martinsen-Burrell)
 
5165
 
 
5166
API Breaks
 
5167
**********
 
5168
 
 
5169
* Support for loading plugins from zip files and
 
5170
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
5171
  (Alexander Belchenko)
 
5172
 
 
5173
Testing
 
5174
*******
 
5175
 
 
5176
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
 
5177
 
 
5178
* The branch interface tests were invalid for branches using rich-root
 
5179
  repositories because the empty string is not a valid file-id.
 
5180
  (Robert Collins)
 
5181
 
 
5182
Internals
 
5183
*********
 
5184
 
 
5185
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
5186
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
5187
  stop part-way through. (John Arbash Meinel)
 
5188
 
 
5189
* New module ``tools/package_mf.py`` provide custom module finder for
 
5190
  python packages (improves standard python library's modulefinder.py)
 
5191
  used by ``setup.py`` script while building standalone bzr.exe.
 
5192
  (Alexander Belchenko)
 
5193
 
 
5194
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
5195
  detecting external lookup support on remote repositories. This method is
 
5196
  now attempted first when lookup up repositories, leading to an extra
 
5197
  round trip on older bzr smart servers. (Robert Collins)
 
5198
 
 
5199
* Repository formats have a new supported-feature attribute
 
5200
  ``supports_external_lookups`` used to indicate repositories which support
 
5201
  falling back to other repositories when they have partial data.
 
5202
  (Robert Collins)
 
5203
 
 
5204
* ``Repository.get_revision_graph_with_ghosts`` and
 
5205
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
5206
  have been deprecated.  (John Arbash Meinel)
 
5207
 
 
5208
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
5209
  ``Tree._iter_changes``. The api is now considered stable and ready for
 
5210
  external users.  (Aaron Bentley)
 
5211
 
 
5212
* The bzrdir format registry now accepts an ``alias`` keyword to
 
5213
  register_metadir, used to indicate that a format name is an alias for
 
5214
  some other format and thus should not be reported when describing the
 
5215
  format. (Robert Collins)
 
5216
 
 
5217
 
 
5218
bzr 1.2
 
5219
#######
 
5220
 
 
5221
:Released: 2008-02-15
 
5222
 
 
5223
Bug Fixes
 
5224
*********
 
5225
 
 
5226
* Fix failing test in Launchpad plugin. (Martin Pool)
 
5227
 
 
5228
 
 
5229
bzr 1.2rc1
 
5230
##########
 
5231
 
 
5232
:Released: 2008-02-13
 
5233
 
 
5234
Notes When Upgrading
 
5235
********************
 
5236
 
 
5237
* Fetching via the smart protocol may need to reconnect once during a fetch
 
5238
  if the remote server is running Bazaar 1.1 or earlier, because the client
 
5239
  attempts to use more efficient requests that confuse older servers.  You
 
5240
  may be required to re-enter a password or passphrase when this happens.
 
5241
  This won't happen if the server is upgraded to Bazaar 1.2.
 
5242
  (Andrew Bennetts)
 
5243
 
 
5244
Changes
 
5245
*******
 
5246
 
 
5247
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
5248
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
5249
 
 
5250
* Formatting of ``bzr plugins`` output is changed to be more human-
 
5251
  friendly. Full path of plugins locations will be shown only with
 
5252
  ``--verbose`` command-line option. (Alexander Belchenko)
 
5253
 
 
5254
* ``merge`` now prefers to use the submit branch, but will fall back to
 
5255
  parent branch.  For many users, this has no effect.  But some users who
 
5256
  pull and merge on the same branch will notice a change.  This change
 
5257
  makes it easier to work on a branch on two different machines, pulling
 
5258
  between the machines, while merging from the upstream.
 
5259
  ``merge --remember`` can now be used to set the submit_branch.
 
5260
  (Aaron Bentley)
 
5261
 
 
5262
Features
 
5263
********
 
5264
 
 
5265
* ``merge --preview`` produces a diff of the changes merge would make,
 
5266
  but does not actually perform the merge.  (Aaron Bentley)
 
5267
 
 
5268
* New smart method ``Repository.get_parent_map`` for getting revision
 
5269
  parent data. This returns additional parent information topologically
 
5270
  adjacent to the requested data to reduce round trip latency impacts.
 
5271
  (Robert Collins)
 
5272
 
 
5273
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
5274
  revision data that streams revision data via a chunked encoding.  This
 
5275
  avoids buffering large amounts of revision data on the server and on the
 
5276
  client, and sends less data to the server to request the revisions.
 
5277
  (Andrew Bennetts, Robert Collins, #178353)
 
5278
 
 
5279
* The launchpad plugin now handles lp urls of the form
 
5280
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
5281
  launchpad instance to do the resolution of the branch identities.
 
5282
  This is primarily of use to Launchpad developers, but can also
 
5283
  be used by other users who want to try out Launchpad as
 
5284
  a branch location without messing up their public Launchpad
 
5285
  account.  Branches that are pushed to the staging environment
 
5286
  have an expected lifetime of one day. (Tim Penhey)
 
5287
 
 
5288
Improvements
 
5289
************
 
5290
 
 
5291
* Creating a new branch no longer tries to read the entire revision-history
 
5292
  unnecessarily over smart server operations. (Robert Collins)
 
5293
 
 
5294
* Fetching between different repository formats with compatible models now
 
5295
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
5296
 
 
5297
* The ``--coverage`` option is now global, rather specific to ``bzr
 
5298
  selftest``.  (Andrew Bennetts)
 
5299
 
 
5300
* The ``register-branch`` command will now use the public url of the branch
 
5301
  containing the current directory, if one has been set and no explicit
 
5302
  branch is provided.  (Robert Collins)
 
5303
 
 
5304
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
5305
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
5306
  (John Arbash Meinel)
 
5307
 
 
5308
Bugfixes
 
5309
********
 
5310
 
 
5311
* Calculate remote path relative to the shared medium in _SmartClient.  This
 
5312
  is related to the problem in bug #124089.  (Andrew Bennetts)
 
5313
 
 
5314
* Cleanly handle connection errors in smart protocol version two, the same
 
5315
  way as they are handled by version one.  (Andrew Bennetts)
 
5316
 
 
5317
* Clearer error when ``version-info --custom`` is used without
 
5318
  ``--template`` (Lukáš Lalinský)
 
5319
 
 
5320
* Don't raise UnavailableFeature during test setup when medusa is not
 
5321
  available or tearDown is never called leading to nasty side effects.
 
5322
  (#137823, Vincent Ladeuil)
 
5323
 
 
5324
* If a plugin's test suite cannot be loaded, for example because of a syntax
 
5325
  error in the tests, then ``selftest`` fails, rather than just printing
 
5326
  a warning.  (Martin Pool, #189771)
 
5327
 
 
5328
* List possible values for BZR_SSH environment variable in env-variables
 
5329
  help topic. (Alexander Belchenko, #181842)
 
5330
 
 
5331
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
5332
  popping the log redirection now precisely restores the previous state,
 
5333
  which makes it easier to use bzr log output from other programs.
 
5334
  TestCaseInTempDir no longer depends on a log redirection being established
 
5335
  by the test framework, which lets bzr tests cleanly run from a normal
 
5336
  unittest runner.
 
5337
  (#124153, #124849, Martin Pool, Jonathan Lange)
 
5338
 
 
5339
* ``pull --quiet`` is now more quiet, in particular a message is no longer
 
5340
  printed when the remembered pull location is used. (James Westby,
 
5341
  #185907)
 
5342
 
 
5343
* ``reconfigure`` can safely be interrupted while fetching.
 
5344
  (Aaron Bentley, #179316)
 
5345
 
 
5346
* ``reconfigure`` preserves tags when converting to and from lightweight
 
5347
  checkouts.  (Aaron Bentley, #182040)
 
5348
 
 
5349
* Stop polluting /tmp when running selftest.
 
5350
  (Vincent Ladeuil, #123363)
 
5351
 
 
5352
* Switch from NFKC => NFC for normalization checks. NFC allows a few
 
5353
  more characters which should be considered valid.
 
5354
  (John Arbash Meinel, #185458)
 
5355
 
 
5356
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
5357
  interacting badly with a bug on the launchpad side. (Robert Collins)
 
5358
 
 
5359
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
5360
  tracebacks.  (Andrew Bennetts, #182849)
 
5361
 
 
5362
API Breaks
 
5363
**********
 
5364
 
 
5365
* Classes implementing Merge types like Merge3Merger must now accept (and
 
5366
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
5367
 
 
5368
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
5369
  to previously take a write lock (and start a write group.)
 
5370
  (Martin Pool)
 
5371
 
 
5372
Testing
 
5373
*******
 
5374
 
 
5375
* selftest now accepts --load-list <file> to load a test id list. This
 
5376
  speeds up running the test suite on a limited set of tests.
 
5377
  (Vincent Ladeuil)
 
5378
 
 
5379
Internals
 
5380
*********
 
5381
 
 
5382
* Add a new method ``get_result`` to graph search objects. The resulting
 
5383
  ``SearchResult`` can be used to recreate the search later, which will
 
5384
  be useful in reducing network traffic. (Robert Collins)
 
5385
 
 
5386
* Use convenience function to check whether two repository handles
 
5387
  are referring to the same repository in ``Repository.get_graph``.
 
5388
  (Jelmer Vernooij, #187162)
 
5389
 
 
5390
* Fetching now passes the find_ghosts flag through to the
 
5391
  ``InterRepository.missing_revision_ids`` call consistently for all
 
5392
  repository types. This will enable faster missing revision discovery with
 
5393
  bzr+ssh. (Robert Collins)
 
5394
 
 
5395
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
5396
 
 
5397
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
5398
  ``InterRepository.search_missing_revision_ids`` which returns a
 
5399
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
5400
  server. (Robert Collins)
 
5401
 
 
5402
* New error ``NoPublicBranch`` for commands that need a public branch to
 
5403
  operate. (Robert Collins)
 
5404
 
 
5405
* New method ``iter_inventories`` on Repository for access to many
 
5406
  inventories. This is primarily used by the ``revision_trees`` method, as
 
5407
  direct access to inventories is discouraged. (Robert Collins)
 
5408
 
 
5409
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
5410
  which will split out ghosts and present parents into two separate sets,
 
5411
  useful for code which needs to be aware of ghosts (e.g. fetching data
 
5412
  cares about ghosts during revision selection). (Robert Collins)
 
5413
 
 
5414
* Record a timestamp against each mutter to the trace file, relative to the
 
5415
  first import of bzrlib.  (Andrew Bennetts)
 
5416
 
 
5417
* ``Repository.get_data_stream`` is now deprecated in favour of
 
5418
  ``Repository.get_data_stream_for_search`` which allows less network
 
5419
  traffic when requesting data streams over a smart server. (Robert Collins)
 
5420
 
 
5421
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
5422
  removing one round trip on many network operations. (Robert Collins)
 
5423
 
 
5424
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
5425
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
5426
 
 
5427
* Repository has a new method ``has_revisions`` which signals the presence
 
5428
  of many revisions by returning a set of the revisions listed which are
 
5429
  present. This can be done by index queries without reading data for parent
 
5430
  revision names etc. (Robert Collins)
 
5431
 
 
5432
 
 
5433
bzr 1.1
 
5434
#######
 
5435
 
 
5436
:Released: 2008-01-15
 
5437
 
 
5438
(no changes from 1.1rc1)
 
5439
 
 
5440
bzr 1.1rc1
 
5441
##########
 
5442
 
 
5443
:Released: 2008-01-05
 
5444
 
 
5445
Changes
 
5446
*******
 
5447
 
 
5448
* Dotted revision numbers have been revised. Instead of growing longer with
 
5449
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
5450
  we now report 1.2.1.) This helps scale long lived branches which have many
 
5451
  feature branches merged between them. (John Arbash Meinel)
 
5452
 
 
5453
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
5454
  Use ``bzr diff branch1 --new branch2`` instead. This change has
 
5455
  been made to remove the ambiguity where ``branch2`` is in fact a
 
5456
  specific file to diff within ``branch1``.
 
5457
 
 
5458
Features
 
5459
********
 
5460
 
 
5461
* New option to use custom template-based formats in  ``bzr version-info``.
 
5462
  (Lukáš Lalinský)
 
5463
 
 
5464
* diff '--using' allows an external diff tool to be used for files.
 
5465
  (Aaron Bentley)
 
5466
 
 
5467
* New "lca" merge-type for fast everyday merging that also supports
 
5468
  criss-cross merges.  (Aaron Bentley)
 
5469
 
 
5470
Improvements
 
5471
************
 
5472
 
 
5473
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
5474
  #90049)
 
5475
 
 
5476
* ``branch`` and ``checkout`` can now use files from a working tree to
 
5477
  to speed up the process.  For checkout, this requires the new
 
5478
  --files-from flag.  (Aaron Bentley)
 
5479
 
 
5480
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
5481
 
 
5482
* ``bzr diff`` now works on branches without working trees. Tree-less
 
5483
  branches can also be compared to each other and to working trees using
 
5484
  the new diff options ``--old`` and ``--new``. Diffing between branches,
 
5485
  with or without trees, now supports specific file filtering as well.
 
5486
  (Ian Clatworthy, #6700)
 
5487
 
 
5488
* ``bzr pack`` now orders revision texts in topological order, with newest
 
5489
  at the start of the file, promoting linear reads for ``bzr log`` and the
 
5490
  like. This partially fixes #154129. (Robert Collins)
 
5491
 
 
5492
* Merge directives now fetch prerequisites from the target branch if
 
5493
  needed.  (Aaron Bentley)
 
5494
 
 
5495
* pycurl now handles digest authentication.
 
5496
  (Vincent Ladeuil)
 
5497
 
 
5498
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
5499
 
 
5500
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
5501
 
 
5502
* ``merge`` now warns when merge directives cause cherrypicks.
 
5503
  (Aaron Bentley)
 
5504
 
 
5505
* ``split`` now supported, to enable splitting large trees into smaller
 
5506
  pieces.  (Aaron Bentley)
 
5507
 
 
5508
Bugfixes
 
5509
********
 
5510
 
 
5511
* Avoid AttributeError when unlocking a pack repository when an error occurs.
 
5512
  (Martin Pool, #180208)
 
5513
 
 
5514
* Better handle short reads when processing multiple range requests.
 
5515
  (Vincent Ladeuil, #179368)
 
5516
 
 
5517
* build_tree acceleration uses the correct path when a file has been moved.
 
5518
  (Aaron Bentley)
 
5519
 
 
5520
* ``commit`` now succeeds when a checkout and its master branch share a
 
5521
  repository.  (Aaron Bentley, #177592)
 
5522
 
 
5523
* Fixed error reporting of unsupported timezone format in
 
5524
  ``log --timezone``. (Lukáš Lalinský, #178722)
 
5525
 
 
5526
* Fixed Unicode encoding error in ``ignored`` when the output is
 
5527
  redirected to a pipe. (Lukáš Lalinský)
 
5528
 
 
5529
* Fix traceback when sending large response bodies over the smart protocol
 
5530
  on Windows. (Andrew Bennetts, #115781)
 
5531
 
 
5532
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
5533
  pointed to different logical drives on Windows.
 
5534
  (Alexander Belchenko, #90847)
 
5535
 
 
5536
* HTTP test servers are now compatible with the http protocol version 1.1.
 
5537
  (Vincent Ladeuil, #175524)
 
5538
 
 
5539
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
5540
  correctly, instead of erroring or attributing incorrect parents to ghosts.
 
5541
  (Aaron Bentley)
 
5542
 
 
5543
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
5544
 
 
5545
* pycurl authentication handling was broken and incomplete. Fix handling of
 
5546
  user:pass embedded in the urls.
 
5547
  (Vincent Ladeuil, #177643)
 
5548
 
 
5549
* Files inside non-directories are now handled like other conflict types.
 
5550
  (Aaron Bentley, #177390)
 
5551
 
 
5552
* ``reconfigure`` is able to convert trees into lightweight checkouts.
 
5553
  (Aaron Bentley)
 
5554
 
 
5555
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
5556
  #148087)
 
5557
 
 
5558
* Test that the old ``version_info_format`` functions still work, even
 
5559
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
5560
 
 
5561
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
5562
  #137681)
 
5563
 
 
5564
* ``uncommit`` works even when the commit messages of revisions to be
 
5565
  removed use characters not supported in the terminal encoding.
 
5566
  (Aaron Bentley)
 
5567
 
 
5568
* When dumb http servers return whole files instead of the requested ranges,
 
5569
  read the remaining bytes by chunks to avoid overflowing network buffers.
 
5570
  (Vincent Ladeuil, #175886)
 
5571
 
 
5572
Documentation
 
5573
*************
 
5574
 
 
5575
* Minor tweaks made to the bug tracker integration documentation.
 
5576
  (Ian Clatworthy)
 
5577
 
 
5578
* Reference material has now be moved out of the User Guide and added
 
5579
  to the User Reference. The User Reference has gained 4 sections as
 
5580
  a result: Authenication Settings, Configuration Settings, Conflicts
 
5581
  and Hooks. All help topics are now dumped into text format in the
 
5582
  doc/en/user-reference directory for those who like browsing that
 
5583
  information in their editor. (Ian Clatworthy)
 
5584
 
 
5585
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
5586
 
 
5587
Internals
 
5588
*********
 
5589
 
 
5590
* find_* methods available for BzrDirs, Branches and WorkingTrees.
 
5591
  (Aaron Bentley)
 
5592
 
 
5593
* Help topics can now be loaded from files.
 
5594
  (Ian Clatworthy, Alexander Belchenko)
 
5595
 
 
5596
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
5597
 
 
5598
* Parent Providers should now implement ``get_parent_map`` returning a
 
5599
  dictionary instead of ``get_parents`` returning a list.
 
5600
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
5601
  Robert Collins)
 
5602
 
 
5603
* Patience Diff now supports arbitrary python objects, as long as they
 
5604
  support ``hash()``. (John Arbash Meinel)
 
5605
 
 
5606
* Reduce selftest overhead to establish test names by memoization.
 
5607
  (Vincent Ladeuil)
 
5608
 
 
5609
API Breaks
 
5610
**********
 
5611
 
 
5612
Testing
 
5613
*******
 
5614
 
 
5615
* Modules can now customise their tests by defining a ``load_tests``
 
5616
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
5617
  for the documentation on this attribute. (Robert Collins)
 
5618
 
 
5619
* New helper function ``bzrlib.tests.condition_id_re`` which helps
 
5620
  filter tests based on a regular expression search on the tests id.
 
5621
  (Robert Collins)
 
5622
 
 
5623
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
5624
  filter tests based on class. (Robert Collins)
 
5625
 
 
5626
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
5627
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
5628
 
 
5629
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
5630
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
5631
 
 
5632
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
5633
  TestSuite that does not contain tests from the input that matched a
 
5634
  regular expression. (Robert Collins)
 
5635
 
 
5636
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
5637
  randomized copy of the input suite. (Robert Collins)
 
5638
 
 
5639
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
5640
  suite into two according to a regular expression. (Robert Collins)
 
5641
 
 
5642
* Parametrize all http tests for the transport implementations, the http
 
5643
  protocol versions (1.0 and 1.1) and the authentication schemes.
 
5644
  (Vincent Ladeuil)
 
5645
 
 
5646
* The ``exclude_pattern`` and ``random_order`` parameters to the function
 
5647
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
5648
 
 
5649
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
 
5650
  replaced by the new helper methods added in this release. (Robert Collins)
 
5651
 
 
5652
 
 
5653
bzr 1.0
 
5654
#######
 
5655
 
 
5656
:Released: 2007-12-14
 
5657
 
 
5658
Documentation
 
5659
*************
 
5660
 
 
5661
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
5662
 
 
5663
* Add information on cherrypicking/rebasing to the User Guide.
 
5664
  (Ian Clatworthy)
 
5665
 
 
5666
* Improve bug tracker integration documentation. (Ian Clatworthy)
 
5667
 
 
5668
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
5669
  to the rebasing section of the User Guide from Aaron Bentley.
 
5670
  (Ian Clatworthy)
 
5671
 
 
5672
 
 
5673
bzr 1.0rc3
 
5674
##########
 
5675
 
 
5676
:Released: 2007-12-11
 
5677
 
 
5678
Changes
 
5679
*******
 
5680
 
 
5681
* If a traceback occurs, users are now asked to report the bug
 
5682
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
 
5683
  by mail to the mailing list.
 
5684
  (Martin Pool)
 
5685
 
 
5686
Bugfixes
 
5687
********
 
5688
 
 
5689
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
5690
 
 
5691
* Give more feedback during long http downloads by making readv deliver data
 
5692
  as it arrives for urllib, and issue more requests for pycurl. High latency
 
5693
  networks are better handled by urllib, the pycurl implementation give more
 
5694
  feedback but also incur more latency.
 
5695
  (Vincent Ladeuil, #173010)
 
5696
 
 
5697
* Implement _make_parents_provider on RemoteRepository, allowing generating
 
5698
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
5699
 
 
5700
Documentation
 
5701
*************
 
5702
 
 
5703
* Improved user guide.  (Ian Clatworthy)
 
5704
 
 
5705
* The single-page quick reference guide is now available as a PDF.
 
5706
  (Ian Clatworthy)
 
5707
 
 
5708
Internals
 
5709
*********
 
5710
 
 
5711
* readv urllib http implementation is now a real iterator above the
 
5712
  underlying socket and deliver data as soon as it arrives. 'get' still
 
5713
  wraps its output in a StringIO.
 
5714
  (Vincent Ladeuil)
 
5715
 
 
5716
 
 
5717
bzr 1.0rc2
 
5718
##########
 
5719
 
 
5720
:Released: 2007-12-07
 
5721
 
 
5722
Improvements
 
5723
************
 
5724
 
 
5725
* Added a --coverage option to selftest. (Andrew Bennetts)
 
5726
 
 
5727
* Annotate merge (merge-type=weave) now supports cherrypicking.
 
5728
  (Aaron Bentley)
 
5729
 
 
5730
* ``bzr commit`` now doesn't print the revision number twice. (Matt
 
5731
  Nordhoff, #172612)
 
5732
 
 
5733
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
5734
  define locations of bug trackers that are not directly supported by
 
5735
  bzr or a plugin. The URL will be treated as a template and ``{id}``
 
5736
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
5737
 
 
5738
* Support logging single merge revisions with short and line log formatters.
 
5739
  (Kent Gibson)
 
5740
 
 
5741
* User Guide enhanced with suggested readability improvements from
 
5742
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
5743
 
 
5744
* Quick Start Guide renamed to Quick Start Card, moved down in
 
5745
  the catalog, provided in pdf and png format and updated to refer
 
5746
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
5747
 
 
5748
* ``switch`` can now be used on heavyweight checkouts as well as
 
5749
  lightweight ones. After switching a heavyweight checkout, the
 
5750
  local branch is a mirror/cache of the new bound branch and
 
5751
  uncommitted changes in the working tree are merged. As a safety
 
5752
  check, if there are local commits in a checkout which have not
 
5753
  been committed to the previously bound branch, then ``switch``
 
5754
  fails unless the ``--force`` option is given. This option is
 
5755
  now also required if the branch a lightweight checkout is pointing
 
5756
  to has been moved. (Ian Clatworthy)
 
5757
 
 
5758
Internals
 
5759
*********
 
5760
 
 
5761
* New -Dhttp debug option reports http connections, requests and responses.
 
5762
  (Vincent Ladeuil)
 
5763
 
 
5764
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
5765
 
 
5766
Bugfixes
 
5767
********
 
5768
 
 
5769
* Better error message when running ``bzr cat`` on a non-existant branch.
 
5770
  (Lukáš Lalinský, #133782)
 
5771
 
 
5772
* Catch OSError 17 (file exists) in final phase of tree transform and show
 
5773
  filename to user.
 
5774
  (Alexander Belchenko, #111758)
 
5775
 
 
5776
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
5777
  allowing multiple GET requests to be issued if too many ranges are
 
5778
  required.
 
5779
  (Vincent Ladeuil, #172701)
 
5780
 
 
5781
* Check for missing basis texts when fetching from packs to packs.
 
5782
  (John Arbash Meinel, #165290)
 
5783
 
 
5784
* Fall back to showing e-mail in ``log --short/--line`` if the
 
5785
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
5786
 
 
5787
API Breaks
 
5788
**********
 
5789
 
 
5790
* Deprecate not passing a ``location`` argument to commit reporters'
 
5791
  ``started`` methods. (Matt Nordhoff)
 
5792
 
 
5793
 
 
5794
bzr 1.0rc1
 
5795
##########
 
5796
 
 
5797
:Released: 2007-11-30
 
5798
 
 
5799
Notes When Upgrading
 
5800
********************
 
5801
 
 
5802
* The default repository format is now ``pack-0.92``.  This
 
5803
  default is used when creating new repositories with ``init`` and
 
5804
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
 
5805
  (See https://bugs.launchpad.net/bugs/164626)
 
5806
 
 
5807
  This format can be read and written by Bazaar 0.92 and later, and
 
5808
  data can be transferred to and from older formats.
 
5809
 
 
5810
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
5811
  upgrade (``bzr upgrade``).
 
5812
 
 
5813
  ``pack-0.92`` offers substantially better scaling and performance than the
 
5814
  previous knits format. Some operations are slower where the code already
 
5815
  had bad scaling characteristics under knits, the pack format makes such
 
5816
  operations more visible as part of being more scalable overall. We will
 
5817
  correct such operations over the coming releases and encourage the filing
 
5818
  of bugs on any operation which you observe to be slower in a packs
 
5819
  repository. One particular case that we do not intend to fix is pulling
 
5820
  data from a pack repository into a knit repository over a high latency
 
5821
  link;  downgrading such data requires reinsertion of the file texts, and
 
5822
  this is a classic space/time tradeoff. The current implementation is
 
5823
  conservative on memory usage because we need to support converting data
 
5824
  from any tree without problems.
 
5825
  (Robert Collins, Martin Pool, #164476)
 
5826
 
 
5827
Changes
 
5828
*******
 
5829
 
 
5830
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
5831
  still available if user selects it explicitly with BZR_SSH environment
 
5832
  variable. (Alexander Belchenko, workaround for bug #107593)
 
5833
 
 
5834
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
 
5835
  to enable the subtree functions (for example, for bzr-svn).
 
5836
  (Martin Pool)
 
5837
 
 
5838
Features
 
5839
********
 
5840
 
 
5841
* New ``authentication.conf`` file holding the password or other credentials
 
5842
  for remote servers. This can be used for ssh, sftp, smtp and other
 
5843
  supported transports.
 
5844
  (Vincent Ladeuil)
 
5845
 
 
5846
* New rich-root and rich-root-pack formats, recording the same data about
 
5847
  tree roots that's recorded for all other directories.
 
5848
  (Aaron Bentley, #164639)
 
5849
 
 
5850
* ``pack-0.92`` repositories can now be reconciled.
 
5851
  (Robert Collins, #154173)
 
5852
 
 
5853
* ``switch`` command added for changing the branch a lightweight checkout
 
5854
  is associated with and updating the tree to reflect the latest content
 
5855
  accordingly. This command was previously part of the BzrTools plug-in.
 
5856
  (Ian Clatworthy, Aaron Bentley, David Allouche)
 
5857
 
 
5858
* ``reconfigure`` command can now convert branches, trees, or checkouts to
 
5859
  lightweight checkouts.  (Aaron Bentley)
 
5860
 
 
5861
Performance
 
5862
***********
 
5863
 
 
5864
* Commit updates the state of the working tree via a delta rather than
 
5865
  supplying entirely new basis trees. For commit of a single specified file
 
5866
  this reduces the wall clock time for commit by roughly a 30%.
 
5867
  (Robert Collins, Martin Pool)
 
5868
 
 
5869
* Commit with many automatically found deleted paths no longer performs
 
5870
  linear scanning for the children of those paths during inventory
 
5871
  iteration. This should fix commit performance blowing out when many such
 
5872
  paths occur during commit. (Robert Collins, #156491)
 
5873
 
 
5874
* Fetch with pack repositories will no longer read the entire history graph.
 
5875
  (Robert Collins, #88319)
 
5876
 
 
5877
* Revert takes out an appropriate lock when reverting to a basis tree, and
 
5878
  does not read the basis inventory twice. (Robert Collins)
 
5879
 
 
5880
* Diff does not require an inventory to be generated on dirstate trees.
 
5881
  (Aaron Bentley, #149254)
 
5882
 
 
5883
* New annotate merge (--merge-type=weave) implementation is fast on
 
5884
  versionedfiles withough cached annotations, e.g. pack-0.92.
 
5885
  (Aaron Bentley)
 
5886
 
 
5887
Improvements
 
5888
************
 
5889
 
 
5890
* ``bzr merge`` now warns when it encounters a criss-cross merge.
 
5891
  (Aaron Bentley)
 
5892
 
 
5893
* ``bzr send`` now doesn't require the target e-mail address to be
 
5894
  specified on the command line if an interactive e-mail client is used.
 
5895
  (Lukáš Lalinský)
 
5896
 
 
5897
* ``bzr tags`` now prints the revision number for each tag, instead of
 
5898
  the revision id, unless --show-ids is passed. In addition, tags can be
 
5899
  sorted chronologically instead of lexicographically with --sort=time.
 
5900
  (Adeodato Simó, #120231)
 
5901
 
 
5902
* Windows standalone version of bzr is able to load system-wide plugins from
 
5903
  "plugins" subdirectory in installation directory. In addition standalone
 
5904
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
 
5905
  about paths and bzr version. (Alexander Belchenko, #129298)
 
5906
 
 
5907
Documentation
 
5908
*************
 
5909
 
 
5910
Bug Fixes
 
5911
*********
 
5912
 
 
5913
* A progress bar has been added for knitpack -> knitpack fetching.
 
5914
  (Robert Collins, #157789, #159147)
 
5915
 
 
5916
* Branching from a branch via smart server now preserves the repository
 
5917
  format. (Andrew Bennetts,  #164626)
 
5918
 
 
5919
* ``commit`` is now able to invoke an external editor in a non-ascii
 
5920
  directory. (Daniel Watkins, #84043)
 
5921
 
 
5922
* Catch connection errors for ftp.
 
5923
  (Vincent Ladeuil, #164567)
 
5924
 
 
5925
* ``check`` no longer reports spurious unreferenced text versions.
 
5926
  (Robert Collins, John A Meinel, #162931, #165071)
 
5927
 
 
5928
* Conflicts are now resolved recursively by ``revert``.
 
5929
  (Aaron Bentley, #102739)
 
5930
 
 
5931
* Detect invalid transport reuse attempts by catching invalid URLs.
 
5932
  (Vincent Ladeuil, #161819)
 
5933
 
 
5934
* Deleting a file without removing it shows a correct diff, not a traceback.
 
5935
  (Aaron Bentley)
 
5936
 
 
5937
* Do no use timeout in HttpServer anymore.
 
5938
  (Vincent Ladeuil, #158972).
 
5939
 
 
5940
* Don't catch the exceptions related to the http pipeline status before
 
5941
  retrying an http request or some programming errors may be masked.
 
5942
  (Vincent Ladeuil, #160012)
 
5943
 
 
5944
* Fix ``bzr rm`` to not delete modified and ignored files.
 
5945
  (Lukáš Lalinský, #172598)
 
5946
 
 
5947
* Fix exception when revisionspec contains merge revisons but log
 
5948
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
5949
 
 
5950
* Fix exception when ScopeReplacer is assigned to before any members have
 
5951
  been retrieved.  (Aaron Bentley)
 
5952
 
 
5953
* Fix multiple connections during checkout --lightweight.
 
5954
  (Vincent Ladeuil, #159150)
 
5955
 
 
5956
* Fix possible error in insert_data_stream when copying between
 
5957
  pack repositories over bzr+ssh or bzr+http.
 
5958
  KnitVersionedFile.get_data_stream now makes sure that requested
 
5959
  compression parents are sent before any delta hunks that depend
 
5960
  on them.
 
5961
  (Martin Pool, #164637)
 
5962
 
 
5963
* Fix typo in limiting offsets coalescing for http, leading to
 
5964
  whole files being downloaded instead of parts.
 
5965
  (Vincent Ladeuil, #165061)
 
5966
 
 
5967
* FTP server errors don't error in the error handling code.
 
5968
  (Robert Collins, #161240)
 
5969
 
 
5970
* Give a clearer message when a pull fails because the source needs
 
5971
  to be reconciled.
 
5972
  (Martin Pool, #164443)
 
5973
 
 
5974
* It is clearer when a plugin cannot be loaded because of its name, and a
 
5975
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
5976
 
 
5977
* Leave port as None in transport objects if user doesn't
 
5978
  specify a port in urls.
 
5979
  (vincent Ladeuil, #150860)
 
5980
 
 
5981
* Make sure Repository.fetch(self) is properly a no-op for all
 
5982
  Repository implementations. (John Arbash Meinel, #158333)
 
5983
 
 
5984
* Mark .bzr directories as "hidden" on Windows.
 
5985
  (Alexander Belchenko, #71147)
 
5986
 
 
5987
* ``merge --uncommitted`` can now operate on a single file.
 
5988
  (Aaron Bentley, Lukáš Lalinský, #136890)
 
5989
 
 
5990
* Obsolete packs are now cleaned up by pack and autopack operations.
 
5991
  (Robert Collins, #153789)
 
5992
 
 
5993
* Operations pulling data from a smart server where the underlying
 
5994
  repositories are not both annotated/both unannotated will now work.
 
5995
  (Robert Collins, #165304).
 
5996
 
 
5997
* Reconcile now shows progress bars. (Robert Collins, #159351)
 
5998
 
 
5999
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
6000
  properly. (John Arbash Meinel, #162486)
 
6001
 
 
6002
* Removing an already-removed file reports the file does not exist. (Daniel
 
6003
  Watkins, #152811)
 
6004
 
 
6005
* Rename on Windows is able to change filename case.
 
6006
  (Alexander Belchenko, #77740)
 
6007
 
 
6008
* Return error instead of a traceback for ``bzr log -r0``.
 
6009
  (Kent Gibson, #133751)
 
6010
 
 
6011
* Return error instead of a traceback when bzr is unable to create
 
6012
  symlink on some platforms (e.g. on Windows).
 
6013
  (Alexander Belchenko, workaround for #81689)
 
6014
 
 
6015
* Revert doesn't crash when restoring a single file from a deleted
 
6016
  directory. (Aaron Bentley)
 
6017
 
 
6018
* Stderr output via logging mechanism now goes through encoded wrapper
 
6019
  and no more uses utf-8, but terminal encoding instead. So all unicode
 
6020
  strings now should be readable in non-utf-8 terminal.
 
6021
  (Alexander Belchenko, #54173)
 
6022
 
 
6023
* The error message when ``move --after`` should be used makes how to do so
 
6024
  clearer. (Daniel Watkins, #85237)
 
6025
 
 
6026
* Unicode-safe output from ``bzr info``. The output will be encoded
 
6027
  using the terminal encoding and unrepresentable characters will be
 
6028
  replaced by '?'. (Lukáš Lalinský, #151844)
 
6029
 
 
6030
* Working trees are no longer created when pushing into a local no-trees
 
6031
  repo. (Daniel Watkins, #50582)
 
6032
 
 
6033
* Upgrade util/configobj to version 4.4.0.
 
6034
  (Vincent Ladeuil, #151208).
 
6035
 
 
6036
* Wrap medusa ftp test server as an FTPServer feature.
 
6037
  (Vincent Ladeuil, #157752)
 
6038
 
 
6039
API Breaks
 
6040
**********
 
6041
 
 
6042
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
6043
  during very long time. (Alexander Belchenko)
 
6044
 
 
6045
* The return value of
 
6046
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
6047
  changed. Previously it was an iterator of lines, now it is an iterator of
 
6048
  (line, version_id) tuples. This change has been made to aid reconcile and
 
6049
  fetch operations. (Robert Collins)
 
6050
 
 
6051
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
6052
  (Robert Collins)
 
6053
 
 
6054
* The Repository format registry default has been removed; it was previously
 
6055
  obsoleted by the bzrdir format default, which implies a default repository
 
6056
  format.
 
6057
  (Martin Pool)
 
6058
 
 
6059
Internals
 
6060
*********
 
6061
 
 
6062
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
6063
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
6064
  and parsing containers from streams rather than from files.  (Andrew
 
6065
  Bennetts)
 
6066
 
 
6067
* New module ``lru_cache`` providing a cache for use by tasks that need
 
6068
  semi-random access to large amounts of data. (John A Meinel)
 
6069
 
 
6070
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
6071
 
 
6072
 
 
6073
bzr 0.92
 
6074
########
 
6075
 
 
6076
:Released: 2007-11-05
 
6077
 
 
6078
Changes
 
6079
*******
 
6080
 
 
6081
  * New uninstaller on Win32.  (Alexander Belchenko)
 
6082
 
 
6083
 
 
6084
bzr 0.92rc1
 
6085
###########
 
6086
 
 
6087
:Released: 2007-10-29
 
6088
 
 
6089
Changes
 
6090
*******
 
6091
 
 
6092
* ``bzr`` now returns exit code 4 if an internal error occurred, and
 
6093
  3 if a normal error occurred.  (Martin Pool)
 
6094
 
 
6095
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
6096
  repository index errors that occured as a result of the Weave disk format.
 
6097
  Instead the ``reconcile`` command needs to be run to correct those
 
6098
  problems if they exist (and it has been able to fix most such problems
 
6099
  since bzr 0.8). Some new problems have been identified during this release
 
6100
  and you should run ``bzr check`` once on every repository to see if you
 
6101
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
6102
  repository due to mismatched parent errors - a symptom of index errors -
 
6103
  you should simply take a full copy of that remote repository to a clean
 
6104
  directory outside any local repositories, then run reconcile on it, and
 
6105
  finally pull from it locally. (And naturally email the repositories owner
 
6106
  to ask them to upgrade and run reconcile).
 
6107
  (Robert Collins)
 
6108
 
 
6109
Features
 
6110
********
 
6111
 
 
6112
* New ``knitpack-experimental`` repository format. This is interoperable with
 
6113
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
6114
  speeds up many operations, both local and remote. This new format can be
 
6115
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
6116
  commands. (Robert Collins)
 
6117
 
 
6118
* For users of bzr-svn (and those testing the prototype subtree support) that
 
6119
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
6120
  been added. This is interoperable with the ``dirstate-subtrees`` format.
 
6121
  (Robert Collins)
 
6122
 
 
6123
* New ``reconfigure`` command. (Aaron Bentley)
 
6124
 
 
6125
* New ``revert --forget-merges`` command, which removes the record of a pending
 
6126
  merge without affecting the working tree contents.  (Martin Pool)
 
6127
 
 
6128
* New ``bzr_remote_path`` configuration variable allows finer control of
 
6129
  remote bzr locations than BZR_REMOTE_PATH environment variable.
 
6130
  (Aaron Bentley)
 
6131
 
 
6132
* New ``launchpad-login`` command to tell Bazaar your Launchpad
 
6133
  user ID.  This can then be used by other functions of the
 
6134
  Launchpad plugin. (James Henstridge)
 
6135
 
 
6136
Performance
 
6137
***********
 
6138
 
 
6139
* Commit in quiet mode is now slightly faster as the information to
 
6140
  output is no longer calculated. (Ian Clatworthy)
 
6141
 
 
6142
* Commit no longer checks for new text keys during insertion when the
 
6143
  revision id was deterministically unique. (Robert Collins)
 
6144
 
 
6145
* Committing a change which is not a merge and does not change the number of
 
6146
  files in the tree is faster by utilising the data about whether files are
 
6147
  changed to determine if the tree is unchanged rather than recalculating
 
6148
  it at the end of the commit process. (Robert Collins)
 
6149
 
 
6150
* Inventory serialisation no longer double-sha's the content.
 
6151
  (Robert Collins)
 
6152
 
 
6153
* Knit text reconstruction now avoids making copies of the lines list for
 
6154
  interim texts when building a single text. The new ``apply_delta`` method
 
6155
  on ``KnitContent`` aids this by allowing modification of the revision id
 
6156
  such objects represent. (Robert Collins)
 
6157
 
 
6158
* Pack indices are now partially parsed for specific key lookup using a
 
6159
  bisection approach. (Robert Collins)
 
6160
 
 
6161
* Partial commits are now approximately 40% faster by walking over the
 
6162
  unselected current tree more efficiently. (Robert Collins)
 
6163
 
 
6164
* XML inventory serialisation takes 20% less time while being stricter about
 
6165
  the contents. (Robert Collins)
 
6166
 
 
6167
* Graph ``heads()`` queries have been fixed to no longer access all history
 
6168
  unnecessarily. (Robert Collins)
 
6169
 
 
6170
Improvements
 
6171
************
 
6172
 
 
6173
* ``bzr+https://`` smart server across https now supported.
 
6174
  (John Ferlito, Martin Pool, #128456)
 
6175
 
 
6176
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
6177
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
6178
 
 
6179
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
 
6180
  changes from one revision. (Alexander Belchenko, #141368)
 
6181
 
 
6182
* Show encodings, locale and list of plugins in the traceback message.
 
6183
  (Martin Pool, #63894)
 
6184
 
 
6185
* Experimental directory formats can now be marked with
 
6186
  ``experimental = True`` during registration. (Ian Clatworthy)
 
6187
 
 
6188
Documentation
 
6189
*************
 
6190
 
 
6191
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
6192
 
 
6193
* The hooks reference documentation is now converted to html as expected.
 
6194
  (Ian Clatworthy)
 
6195
 
 
6196
Bug Fixes
 
6197
*********
 
6198
 
 
6199
* Connection error reporting for the smart server has been fixed to
 
6200
  display a user friendly message instead of a traceback.
 
6201
  (Ian Clatworthy, #115601)
 
6202
 
 
6203
* Make sure to use ``O_BINARY`` when opening files to check their
 
6204
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
6205
 
 
6206
* Fix a problem with Win32 handling of the executable bit.
 
6207
  (John Arbash Meinel, #149113)
 
6208
 
 
6209
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
6210
  no longer assume that means port 22.  This allows people using OpenSSH to
 
6211
  override the default port in their ``~/.ssh/config`` if they wish.  This
 
6212
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
6213
 
 
6214
* Commands reporting exceptions can now be profiled and still have their
 
6215
  data correctly dumped to a file. For example, a ``bzr commit`` with
 
6216
  no changes still reports the operation as pointless but doing so no
 
6217
  longer throws away the profiling data if this command is run with
 
6218
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
6219
 
 
6220
* Fallback to ftp when paramiko is not installed and sftp can't be used for
 
6221
  ``tests/commands`` so that the test suite is still usable without
 
6222
  paramiko.
 
6223
  (Vincent Ladeuil, #59150)
 
6224
 
 
6225
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
6226
 
 
6227
* Fix long standing bug in partial commit when there are renames
 
6228
  left in tree. (Robert Collins, #140419)
 
6229
 
 
6230
* Fix selftest semi-random noise during http related tests.
 
6231
  (Vincent Ladeuil, #140614)
 
6232
 
 
6233
* Fix typo in ftp.py making the reconnection fail on temporary errors.
 
6234
  (Vincent Ladeuil, #154259)
 
6235
 
 
6236
* Fix failing test by comparing real paths to cover the case where the TMPDIR
 
6237
  contains a symbolic link.
 
6238
  (Vincent Ladeuil, #141382).
 
6239
 
 
6240
* Fix log against smart server branches that don't support tags.
 
6241
  (James Westby, #140615)
 
6242
 
 
6243
* Fix pycurl http implementation by defining error codes from
 
6244
  pycurl instead of relying on an old curl definition.
 
6245
  (Vincent Ladeuil, #147530)
 
6246
 
 
6247
* Fix 'unprintable error' message when displaying BzrCheckError and
 
6248
  some other exceptions on Python 2.5.
 
6249
  (Martin Pool, #144633)
 
6250
 
 
6251
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
6252
 
 
6253
* Handles default value for ListOption in cmd_commit.
 
6254
  (Vincent Ladeuil, #140432)
 
6255
 
 
6256
* HttpServer and FtpServer need to be closed properly or a listening socket
 
6257
  will remain opened.
 
6258
  (Vincent Ladeuil, #140055)
 
6259
 
 
6260
* Monitor the .bzr directory created in the top level test
 
6261
  directory to detect leaking tests.
 
6262
  (Vincent Ladeuil, #147986)
 
6263
 
 
6264
* The basename, not the full path, is now used when checking whether
 
6265
  the profiling dump file begins with ``callgrind.out`` or not. This
 
6266
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
6267
 
 
6268
* Trivial fix for invoking command ``reconfigure`` without arguments.
 
6269
  (Rob Weir, #141629)
 
6270
 
 
6271
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
6272
  new path causes bzr to be unable to access the file. (Robert Collins)
 
6273
 
 
6274
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
6275
  Merwe)
 
6276
 
 
6277
API Breaks
 
6278
**********
 
6279
 
 
6280
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
6281
  constructor, for enabling bisection searches. (Robert Collins)
 
6282
 
 
6283
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
6284
  tree be supplied to it, previously failing to do so would trigger a
 
6285
  deprecation warning. (Robert Collins)
 
6286
 
 
6287
* ``KnitVersionedFile.add*`` will no longer cache added records even when
 
6288
  enable_cache() has been called - the caching feature is now exclusively for
 
6289
  reading existing data. (Robert Collins)
 
6290
 
 
6291
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
 
6292
  appropriate.  (Martin Pool)
 
6293
 
 
6294
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
6295
  ``trace+`` transport instead. (Robert Collins)
 
6296
 
 
6297
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
6298
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
6299
  (Martin Pool)
 
6300
 
 
6301
* Removed previous deprecated ``basis_knit`` parameter to the
 
6302
  ``KnitVersionedFile`` constructor. (Robert Collins)
 
6303
 
 
6304
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
 
6305
  class that needs it.
 
6306
  (Martin Pool)
 
6307
 
 
6308
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
6309
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
6310
 
 
6311
* The ``VersionedFile`` interface now allows content checks to be bypassed
 
6312
  by supplying check_content=False.  This saves nearly 30% of the minimum
 
6313
  cost to store a version of a file. (Robert Collins)
 
6314
 
 
6315
* Tree's with bad state such as files with no length or sha will no longer
 
6316
  be silently accepted by the repository XML serialiser. To serialise
 
6317
  inventories without such data, pass working=True to write_inventory.
 
6318
  (Robert Collins)
 
6319
 
 
6320
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
6321
  ``VersionedFile.join`` will no longer accept different parents on either
 
6322
  side of a join - it will either ignore them, or error, depending on the
 
6323
  implementation. See notes when upgrading for more information.
 
6324
  (Robert Collins)
 
6325
 
 
6326
Internals
 
6327
*********
 
6328
 
 
6329
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
6330
  put by the method call, to allow avoiding stat-after-write or
 
6331
  housekeeping in callers. (Robert Collins)
 
6332
 
 
6333
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
6334
  mandatory attributes are present on serialisation and deserialisation.
 
6335
  This fixes some holes in API usage and allows better separation between
 
6336
  physical storage and object serialisation. (Robert Collins)
 
6337
 
 
6338
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
6339
  shorthand for deriving from BzrError and setting internal_error = True.
 
6340
  (Robert Collins)
 
6341
 
 
6342
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
6343
  moving the state of a parent tree to a new version via a delta rather than
 
6344
  a complete replacement tree. (Robert Collins)
 
6345
 
 
6346
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
6347
  duplication from user input, when a user mentions both a path and an item
 
6348
  contained within that path. (Robert Collins)
 
6349
 
 
6350
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
6351
  determining if a repository is write locked. (Robert Collins)
 
6352
 
 
6353
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
6354
  tuple containing the key information about a path for commit processing
 
6355
  to complete. (Robert Collins)
 
6356
 
 
6357
* New method on xml serialisers, write_inventory_to_lines, which matches the
 
6358
  API used by knits for adding content. (Robert Collins)
 
6359
 
 
6360
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
6361
  logic, currently only available for byte-based lookup
 
6362
  (``bisect_multi_bytes``). (Robert Collins)
 
6363
 
 
6364
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
6365
  and returns a gzipped version of the same. This is used to avoid a bunch
 
6366
  of api friction during adding of knit hunks. (Robert Collins)
 
6367
 
 
6368
* New parameter on ``bzrlib.transport.Transport.readv``
 
6369
  ``adjust_for_latency`` which changes readv from returning strictly the
 
6370
  requested data to inserted return larger ranges and in forward read order
 
6371
  to reduce the effect of network latency. (Robert Collins)
 
6372
 
 
6373
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
6374
  causes the parents of a selected id to be returned recursively, so all the
 
6375
  paths from the root down to each element of selected_file_ids are
 
6376
  returned. (Robert Collins)
 
6377
 
 
6378
* Knit joining has been enhanced to support plain to annotated conversion
 
6379
  and annotated to plain conversion. (Ian Clatworthy)
 
6380
 
 
6381
* The CommitBuilder method ``record_entry_contents`` now returns summary
 
6382
  information about the effect of the commit on the repository. This tuple
 
6383
  contains an inventory delta item if the entry changed from the basis, and a
 
6384
  boolean indicating whether a new file graph node was recorded.
 
6385
  (Robert Collins)
 
6386
 
 
6387
* The python path used in the Makefile can now be overridden.
 
6388
  (Andrew Bennetts, Ian Clatworthy)
 
6389
 
 
6390
Testing
 
6391
*******
 
6392
 
 
6393
* New transport implementation ``trace+`` which is useful for testing,
 
6394
  logging activity taken to its _activity attribute. (Robert Collins)
 
6395
 
 
6396
* When running bzr commands within the test suite, internal exceptions are
 
6397
  not caught and reported in the usual way, but rather allowed to propagate
 
6398
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
6399
  makes this behavior available to other users.
 
6400
  (Martin Pool)
 
6401
 
 
6402
* New method ``TestCase.call_catch_warnings`` for testing methods that
 
6403
  raises a Python warning.  (Martin Pool)
 
6404
 
 
6405
 
 
6406
bzr 0.91
 
6407
########
 
6408
 
 
6409
:Released: 2007-09-26
 
6410
 
 
6411
Bug Fixes
 
6412
*********
 
6413
 
 
6414
* Print a warning instead of aborting the ``python setup.py install``
 
6415
  process if building of a C extension is not possible.
 
6416
  (Lukáš Lalinský, Alexander Belchenko)
 
6417
 
 
6418
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
6419
 
 
6420
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
6421
  an implicit port.  We were incorrectly raising PathNotChild due to
 
6422
  inconsistent treatment of the ''_port'' attribute on the Transport object.
 
6423
  (Andrew Bennetts, #133965)
 
6424
 
 
6425
* Make RemoteRepository.sprout cope gracefully with servers that don't
 
6426
  support the ``Repository.tarball`` request.
 
6427
  (Andrew Bennetts)
 
6428
 
 
6429
 
 
6430
bzr 0.91rc2
 
6431
###########
 
6432
 
 
6433
:Released: 2007-09-11
 
6434
 
 
6435
* Replaced incorrect tarball for previous release; a debug statement was left
 
6436
  in bzrlib/remote.py.
 
6437
 
 
6438
 
 
6439
bzr 0.91rc1
 
6440
###########
 
6441
 
 
6442
:Released: 2007-09-11
 
6443
 
 
6444
Changes
 
6445
*******
 
6446
 
 
6447
* The default branch and repository format has changed to
 
6448
  ``dirstate-tags``, so tag commands are active by default.
 
6449
  This format is compatible with Bazaar 0.15 and later.
 
6450
  This incidentally fixes bug #126141.
 
6451
  (Martin Pool)
 
6452
 
 
6453
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
6454
  must now appear after the command name. Scripts doing things like
 
6455
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
6456
  (Ian Clatworthy)
 
6457
 
 
6458
Features
 
6459
********
 
6460
 
 
6461
* New option ``--author`` in ``bzr commit`` to specify the author of the
 
6462
  change, if it's different from the committer. ``bzr log`` and
 
6463
  ``bzr annotate`` display the author instead of the committer.
 
6464
  (Lukáš Lalinský)
 
6465
 
 
6466
* In addition to global options and command specific options, a set of
 
6467
  standard options are now supported. Standard options are legal for
 
6468
  all commands. The initial set of standard options are:
 
6469
 
 
6470
  * ``--help`` or ``-h`` - display help message
 
6471
  * ``--verbose`` or ``-v`` - display additional information
 
6472
  * ``--quiet``  or ``-q`` - only output warnings and errors.
 
6473
 
 
6474
  Unlike global options, standard options can be used in aliases and
 
6475
  may have command-specific help. (Ian Clatworthy)
 
6476
 
 
6477
* Verbosity level processing has now been unified. If ``--verbose``
 
6478
  or ``-v`` is specified on the command line multiple times, the
 
6479
  verbosity level is made positive the first time then increased.
 
6480
  If ``--quiet`` or ``-q`` is specified on the command line
 
6481
  multiple times, the verbosity level is made negative the first
 
6482
  time then decreased. To get the default verbosity level of zero,
 
6483
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
6484
  Note that most commands currently ignore the magnitude of the
 
6485
  verbosity level but do respect *quiet vs normal vs verbose* when
 
6486
  generating output. (Ian Clatworthy)
 
6487
 
 
6488
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
6489
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
6490
 
 
6491
* New ``Repository.stream_knit_data_for_revisions`` request added to the
 
6492
  network protocol for greatly reduced roundtrips when retrieving a set of
 
6493
  revisions. (Andrew Bennetts)
 
6494
 
 
6495
Bug Fixes
 
6496
*********
 
6497
 
 
6498
* ``bzr plugins`` now lists the version number for each plugin in square
 
6499
  brackets after the path. (Robert Collins, #125421)
 
6500
 
 
6501
* Pushing, pulling and branching branches with subtree references was not
 
6502
  copying the subtree weave, preventing the file graph from being accessed
 
6503
  and causing errors in commits in clones. (Robert Collins)
 
6504
 
 
6505
* Suppress warning "integer argument expected, got float" from Paramiko,
 
6506
  which sometimes caused false test failures.  (Martin Pool)
 
6507
 
 
6508
* Fix bug in bundle 4 that could cause attempts to write data to wrong
 
6509
  versionedfile.  (Aaron Bentley)
 
6510
 
 
6511
* Diffs generated using "diff -p" no longer break the patch parser.
 
6512
  (Aaron Bentley)
 
6513
 
 
6514
* get_transport treats an empty possible_transports list the same as a non-
 
6515
  empty one.  (Aaron Bentley)
 
6516
 
 
6517
* patch verification for merge directives is reactivated, and works with
 
6518
  CRLF and CR files.  (Aaron Bentley)
 
6519
 
 
6520
* Accept ..\ as a path in revision specifiers. This fixes for example
 
6521
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
 
6522
 
 
6523
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
6524
  (Blake Winton, #129299)
 
6525
 
 
6526
* man page no longer lists hidden options (#131667, Aaron Bentley)
 
6527
 
 
6528
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
6529
  Watkins, #106726)
 
6530
 
 
6531
* Error messages are now better formatted with parameters (such as
 
6532
  filenames) quoted when necessary. This avoids confusion when directory
 
6533
  names ending in a '.' at the end of messages were confused with a
 
6534
  full stop that may or not have been there. (Daniel Watkins, #129791)
 
6535
 
 
6536
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
6537
 
 
6538
* If a particular command is an alias, ``help`` will show the alias
 
6539
  instead of claiming there is no help for said alias. (Daniel Watkins,
 
6540
  #133548)
 
6541
 
 
6542
* TreeTransform-based operations, like pull, merge, revert, and branch,
 
6543
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
6544
 
 
6545
* ``bzr commit`` now exits cleanly if a character unsupported by the
 
6546
  current encoding is used in the commit message.  (Daniel Watkins,
 
6547
  #116143)
 
6548
 
 
6549
* bzr send uses default values for ranges when only half of an elipsis
 
6550
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
6551
 
 
6552
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
6553
  binary is present.  (Martin Albisetti, #107155)
 
6554
 
 
6555
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
6556
  needing ``--force``) subtrees that contain no files with text changes or
 
6557
  modified files.  With ``--force`` it removes the subtree regardless of
 
6558
  text changes or unknown files. Directories with renames in or out (but
 
6559
  not changed otherwise) will now be removed without needing ``--force``.
 
6560
  Unknown ignored files will be deleted without needing ``--force``.
 
6561
  (Marius Kruger, #111665)
 
6562
 
 
6563
* When two plugins conflict, the source of both the losing and now the
 
6564
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
6565
 
 
6566
* When committing to a branch, the location being committed to is
 
6567
  displayed.  (Daniel Watkins, #52479)
 
6568
 
 
6569
* ``bzr --version`` takes care about encoding of stdout, especially
 
6570
  when output is redirected. (Alexander Belchenko, #131100)
 
6571
 
 
6572
* Prompt for an ftp password if none is provided.
 
6573
  (Vincent Ladeuil, #137044)
 
6574
 
 
6575
* Reuse bound branch associated transport to avoid multiple
 
6576
  connections.
 
6577
  (Vincent Ladeuil, #128076, #131396)
 
6578
 
 
6579
* Overwrite conflicting tags by ``push`` and ``pull`` if the
 
6580
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
6581
 
 
6582
* In checkouts, tags are copied into the master branch when created,
 
6583
  changed or deleted, and are copied into the checkout when it is
 
6584
  updated.  (Martin Pool, #93856, #93860)
 
6585
 
 
6586
* Print a warning instead of aborting the ``python setup.py install``
 
6587
  process if building of a C extension is not possible.
 
6588
  (Lukáš Lalinský, Alexander Belchenko)
 
6589
 
 
6590
Improvements
 
6591
************
 
6592
 
 
6593
* Add the option "--show-diff" to the commit command in order to display
 
6594
  the diff during the commit log creation. (Goffredo Baroncelli)
 
6595
 
 
6596
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
6597
  (Aaron Bentley)
 
6598
 
 
6599
* ``pull -v`` no longer includes deltas, making it much faster.
 
6600
  (Aaron Bentley)
 
6601
 
 
6602
* ``send`` now sends the directive as an attachment by default.
 
6603
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
6604
 
 
6605
* Documentation updates (Martin Albisetti)
 
6606
 
 
6607
* Help on debug flags is now included in ``help global-options``.
 
6608
  (Daniel Watkins, #124853)
 
6609
 
 
6610
* Parameters passed on the command line are checked to ensure they are
 
6611
  supported by the encoding in use. (Daniel Watkins)
 
6612
 
 
6613
* The compression used within the bzr repository has changed from zlib
 
6614
  level 9 to the zlib default level. This improves commit performance with
 
6615
  only a small increase in space used (and in some cases a reduction in
 
6616
  space). (Robert Collins)
 
6617
 
 
6618
* Initial commit no longer SHAs files twice and now reuses the path
 
6619
  rather than looking it up again, making it faster.
 
6620
  (Ian Clatworthy)
 
6621
 
 
6622
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
6623
  changes in one revision.  (Lukáš Lalinský)
 
6624
 
 
6625
* If versioned files match a given ignore pattern, a warning is now
 
6626
  given. (Daniel Watkins, #48623)
 
6627
 
 
6628
* ``bzr status`` now has -S as a short name for --short and -V as a
 
6629
  short name for --versioned. These have been added to assist users
 
6630
  migrating from Subversion: ``bzr status -SV`` is now like
 
6631
  ``svn status -q``.  (Daniel Watkins, #115990)
 
6632
 
 
6633
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
6634
  10x faster than the Python version. This speeds up commands that
 
6635
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
6636
  (Lukáš Lalinský)
 
6637
 
 
6638
* HACKING has been extended with a large section on core developer tasks.
 
6639
  (Ian Clatworthy)
 
6640
 
 
6641
* Add ``branches`` and ``standalone-trees`` as online help topics and
 
6642
  include them as Concepts within the User Reference.
 
6643
  (Paul Moore, Ian Clatworthy)
 
6644
 
 
6645
* ``check`` can detect versionedfile parent references that are
 
6646
  inconsistent with revision and inventory info, and ``reconcile`` can fix
 
6647
  them.  These faulty references were generated by 0.8-era releases,
 
6648
  so repositories which were manipulated by old bzrs should be
 
6649
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
6650
 
 
6651
API Breaks
 
6652
**********
 
6653
 
 
6654
* ``Branch.append_revision`` is removed altogether; please use
 
6655
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
6656
 
 
6657
* CommitBuilder now advertises itself as requiring the root entry to be
 
6658
  supplied. This only affects foreign repository implementations which reuse
 
6659
  CommitBuilder directly and have changed record_entry_contents to require
 
6660
  that the root not be supplied. This should be precisely zero plugins
 
6661
  affected. (Robert Collins)
 
6662
 
 
6663
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
6664
  its return value to include the sha1 and length of the inserted text. This
 
6665
  allows the avoidance of double-sha1 calculations during commit.
 
6666
  (Robert Collins)
 
6667
 
 
6668
* ``Transport.should_cache`` has been removed.  It was not called in the
 
6669
  previous release.  (Martin Pool)
 
6670
 
 
6671
Testing
 
6672
*******
 
6673
 
 
6674
* Tests may now raise TestNotApplicable to indicate they shouldn't be
 
6675
  run in a particular scenario.  (Martin Pool)
 
6676
 
 
6677
* New function multiply_tests_from_modules to give a simpler interface
 
6678
  to test parameterization.  (Martin Pool, Robert Collins)
 
6679
 
 
6680
* ``Transport.should_cache`` has been removed.  It was not called in the
 
6681
  previous release.  (Martin Pool)
 
6682
 
 
6683
* NULL_REVISION is returned to indicate the null revision, not None.
 
6684
  (Aaron Bentley)
 
6685
 
 
6686
* Use UTF-8 encoded StringIO for log tests to avoid failures on
 
6687
  non-ASCII committer names.  (Lukáš Lalinský)
 
6688
 
 
6689
Internals
 
6690
*********
 
6691
 
 
6692
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
6693
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
6694
  useful functionality for determining the path of a plugin, its tests, and
 
6695
  its version information. (Robert Collins)
 
6696
 
 
6697
* Add the option user_encoding to the function 'show_diff_trees()'
 
6698
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
6699
 
 
6700
* Add the function make_commit_message_template_encoded() and the function
 
6701
  edit_commit_message_encoded() which handle encoded strings.
 
6702
  This is done in order to mix the commit messages (which is a unicode
 
6703
  string), and the diff which is a raw string. (Goffredo Baroncelli)
 
6704
 
 
6705
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
6706
  overhead on non-weave repositories which don't require all parents to be
 
6707
  present. (Robert Collins)
 
6708
 
 
6709
* Deprecated method ``find_previous_heads`` on
 
6710
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
6711
  of ``parent_candidates`` and a separate heads check via the repository
 
6712
  API. (Robert Collins)
 
6713
 
 
6714
* New trace function ``mutter_callsite`` will print out a subset of the
 
6715
  stack to the log, which can be useful for gathering debug details.
 
6716
  (Robert Collins)
 
6717
 
 
6718
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
6719
  added via a public attribute records_written. (Robert Collins)
 
6720
 
 
6721
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
6722
  This provides a hint to users of transports as to the reasonable
 
6723
  minimum data to read. In principle this can take latency and
 
6724
  bandwidth into account on a per-connection basis, but for now it
 
6725
  just has hard coded values based on the url. (e.g. http:// has a large
 
6726
  page size, file:// has a small one.) (Robert Collins)
 
6727
 
 
6728
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
6729
  incremental addition of data to a file without requiring that all the
 
6730
  data be buffered in memory. (Robert Collins)
 
6731
 
 
6732
* New methods on ``bzrlib.knit.KnitVersionedFile``:
 
6733
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
6734
  ``get_format_signature()``.  These provide some infrastructure for
 
6735
  efficiently streaming the knit data for a set of versions over the smart
 
6736
  protocol.
 
6737
 
 
6738
* Knits with no annotation cache still produce correct annotations.
 
6739
  (Aaron Bentley)
 
6740
 
 
6741
* Three new methods have been added to ``bzrlib.trace``:
 
6742
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
6743
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
6744
  zero for normal, positive for verbose. The size of the number can be
 
6745
  used to determine just how quiet or verbose the application should be.
 
6746
  The existing ``be_quiet`` and ``is_quiet`` routines have been
 
6747
  integrated into this new scheme. (Ian Clatworthy)
 
6748
 
 
6749
* Options can now be delcared with a ``custom_callback`` parameter. If
 
6750
  set, this routine is called after the option is processed. This feature
 
6751
  is now used by the standard options ``verbose`` and ``quiet`` so that
 
6752
  setting one implicitly resets the other. (Ian Clatworthy)
 
6753
 
 
6754
* Rather than declaring a new option from scratch in order to provide
 
6755
  custom help, a centrally registered option can be decorated using the
 
6756
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
6757
  is useful when declaring better help for the ``verbose`` and ``quiet``
 
6758
  standard options as the base definition of these is now more complex
 
6759
  than before thanks to their use of a custom callback. (Ian Clatworthy)
 
6760
 
 
6761
* Tree._iter_changes(specific_file=[]) now iterates through no files,
 
6762
  instead of iterating through all files.  None is used to iterate through
 
6763
  all files.  (Aaron Bentley)
 
6764
 
 
6765
* WorkingTree.revert() now accepts None to revert all files.  The use of
 
6766
  [] to revert all files is deprecated.  (Aaron Bentley)
 
6767
 
 
6768
 
 
6769
bzr 0.90
 
6770
########
 
6771
 
 
6772
:Released: 2007-08-28
 
6773
 
 
6774
Improvements
 
6775
************
 
6776
 
 
6777
* Documentation is now organized into multiple directories with a level
 
6778
  added for different languages or locales. Added the Mini Tutorial
 
6779
  and Quick Start Summary (en) documents from the Wiki, improving the
 
6780
  content and readability of the former. Formatted NEWS as Release Notes
 
6781
  complete with a Table of Conents, one heading per release. Moved the
 
6782
  Developer Guide into the main document catalog and provided a link
 
6783
  from the developer document catalog back to the main one.
 
6784
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
6785
 
 
6786
 
 
6787
API Changes
 
6788
***********
 
6789
 
 
6790
* The static convenience method ``BzrDir.create_repository``
 
6791
  is deprecated.  Callers should instead create a ``BzrDir`` instance
 
6792
  and call ``create_repository`` on that.  (Martin Pool)
 
6793
 
 
6794
 
 
6795
bzr 0.90rc1
 
6796
###########
 
6797
 
 
6798
:Released: 2007-08-14
 
6799
 
 
6800
Bugfixes
 
6801
********
 
6802
 
 
6803
* ``bzr init`` should connect to the remote location one time only.  We
 
6804
  have been connecting several times because we forget to pass around the
 
6805
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
6806
  so that we can give it the Transport we already have.
 
6807
  (John Arbash Meinel, Vincent Ladeuil, #111702)
 
6808
 
 
6809
* Get rid of sftp connection cache (get rid of the FTP one too).
 
6810
  (Vincent Ladeuil, #43731)
 
6811
 
 
6812
* bzr branch {local|remote} remote don't try to create a working tree
 
6813
  anymore.
 
6814
  (Vincent Ladeuil, #112173)
 
6815
 
 
6816
* All identified multiple connections for a single bzr command have been
 
6817
  fixed. See bzrlib/tests/commands directory.
 
6818
  (Vincent Ladeuil)
 
6819
 
 
6820
* ``bzr rm`` now does not insist on ``--force`` to delete files that
 
6821
  have been renamed but not otherwise modified.  (Marius Kruger,
 
6822
  #111664)
 
6823
 
 
6824
* ``bzr selftest --bench`` no longer emits deprecation warnings
 
6825
  (Lukáš Lalinský)
 
6826
 
 
6827
* ``bzr status`` now honours FILE parameters for conflict lists
 
6828
  (Aaron Bentley, #127606)
 
6829
 
 
6830
* ``bzr checkout`` now honours -r when reconstituting a working tree.
 
6831
  It also honours -r 0.  (Aaron Bentley, #127708)
 
6832
 
 
6833
* ``bzr add *`` no more fails on Windows if working tree contains
 
6834
  non-ascii file names. (Kuno Meyer, #127361)
 
6835
 
 
6836
* allow ``easy_install bzr`` runs without fatal errors.
 
6837
  (Alexander Belchenko, #125521)
 
6838
 
 
6839
* Graph._filter_candidate_lca does not raise KeyError if a candidate
 
6840
  is eliminated just before it would normally be examined.  (Aaron Bentley)
 
6841
 
 
6842
* SMTP connection failures produce a nice message, not a traceback.
 
6843
  (Aaron Bentley)
 
6844
 
 
6845
Improvements
 
6846
************
 
6847
 
 
6848
* Don't show "dots" progress indicators when run non-interactively, such
 
6849
  as from cron.  (Martin Pool)
 
6850
 
 
6851
* ``info`` now formats locations more nicely and lists "submit" and
 
6852
  "public" branches (Aaron Bentley)
 
6853
 
 
6854
* New ``pack`` command that will trigger database compression within
 
6855
  the repository (Robert Collins)
 
6856
 
 
6857
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
6858
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
6859
  Which yields a measurable improvement for commands which have to
 
6860
  read from the repository, such as a 1s => 0.75s improvement in
 
6861
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
6862
 
 
6863
* Merge is now faster.  Depending on the scenario, it can be more than 2x
 
6864
  faster. (Aaron Bentley)
 
6865
 
 
6866
* Give a clearer warning, and allow ``python setup.py install`` to
 
6867
  succeed even if pyrex is not available.
 
6868
  (John Arbash Meinel)
 
6869
 
 
6870
* ``DirState._read_dirblocks`` now has an optional Pyrex
 
6871
  implementation. This improves the speed of any command that has to
 
6872
  read the entire DirState. (``diff``, ``status``, etc, improve by
 
6873
  about 10%).
 
6874
  ``bisect_dirblocks`` has also been improved, which helps all
 
6875
  ``_get_entry`` type calls (whenever we are searching for a
 
6876
  particular entry in the in-memory DirState).
 
6877
  (John Arbash Meinel)
 
6878
 
 
6879
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
 
6880
  branch revision history for ui display unless -v is supplied.
 
6881
  (Robert Collins)
 
6882
 
 
6883
* ``bzr log -rA..B`` output shifted to the left margin if the log only
 
6884
  contains merge revisions. (Kent Gibson)
 
6885
 
 
6886
* The ``plugins`` command is now public with improved help.
 
6887
  (Ian Clatworthy)
 
6888
 
 
6889
* New bundle and merge directive formats are faster to generate, and
 
6890
 
 
6891
* Annotate merge now works when there are local changes. (Aaron Bentley)
 
6892
 
 
6893
* Commit now only shows the progress in terms of directories instead of
 
6894
  entries. (Ian Clatworthy)
 
6895
 
 
6896
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
6897
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
6898
  Meinel)
 
6899
 
 
6900
* Fix ``VersionedFile.get_graph()`` to avoid using
 
6901
  ``set.difference_update(other)``, which has bad scaling when
 
6902
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
6903
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
6904
 
 
6905
* The ``--lsprof-file`` option now generates output for KCacheGrind if
 
6906
  the file starts with ``callgrind.out``. This matches the default file
 
6907
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
6908
 
 
6909
* Fix ``bzr update`` to avoid an unnecessary
 
6910
  ``branch.get_master_branch`` call, which avoids 1 extra connection
 
6911
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
6912
 
 
6913
* Log errors from the smart server in the trace file, to make debugging
 
6914
  test failures (and live failures!) easier.  (Andrew Bennetts)
 
6915
 
 
6916
* The HTML version of the man page has been superceded by a more
 
6917
  comprehensive manual called the Bazaar User Reference. This manual
 
6918
  is completed generated from the online help topics. As part of this
 
6919
  change, limited reStructuredText is now explicitly supported in help
 
6920
  topics and command help with 'unnatural' markup being removed prior
 
6921
  to display by the online help or inclusion in the man page.
 
6922
  (Ian Clatworthy)
 
6923
 
 
6924
* HTML documentation now use files extension ``*.html``
 
6925
  (Alexander Belchenko)
 
6926
 
 
6927
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
6928
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
6929
 
 
6930
* ``bzr selftest --strict`` fails if there are any missing features or
 
6931
  expected test failures. (Daniel Watkins, #111914)
 
6932
 
 
6933
* Link to registration survey added to README. (Ian Clatworthy)
 
6934
 
 
6935
* Windows standalone installer show link to registration survey
 
6936
  when installation finished. (Alexander Belchenko)
 
6937
 
 
6938
Library API Breaks
 
6939
******************
 
6940
 
 
6941
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
6942
  Options are now required to provide a help string and it must
 
6943
  comply with the style guide by being one or more sentences with an
 
6944
  initial capital and final period. (Martin Pool)
 
6945
 
 
6946
* KnitIndex.get_parents now returns tuples. (Robert Collins)
 
6947
 
 
6948
* Ancient unused ``Repository.text_store`` attribute has been removed.
 
6949
  (Robert Collins)
 
6950
 
 
6951
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
6952
  rather than just bytestrings, making it easier to represent multiple
 
6953
  element names. As this interface was not used by any internal facilities
 
6954
  since it was introduced in 0.18 no API compatibility is being preserved.
 
6955
  The serialised form of these packs is identical with 0.18 when a single
 
6956
  element tuple is in use. (Robert Collins)
 
6957
 
 
6958
Internals
 
6959
*********
 
6960
 
 
6961
* merge now uses ``iter_changes`` to calculate changes, which makes room for
 
6962
  future performance increases.  It is also more consistent with other
 
6963
  operations that perform comparisons, and reduces reliance on
 
6964
  Tree.inventory.  (Aaron Bentley)
 
6965
 
 
6966
* Refactoring of transport classes connected to a remote server.
 
6967
  ConnectedTransport is a new class that serves as a basis for all
 
6968
  transports needing to connect to a remote server.  transport.split_url
 
6969
  have been deprecated, use the static method on the object instead. URL
 
6970
  tests have been refactored too.
 
6971
  (Vincent Ladeuil)
 
6972
 
 
6973
* Better connection sharing for ConnectedTransport objects.
 
6974
  transport.get_transport() now accepts a 'possible_transports' parameter.
 
6975
  If a newly requested transport can share a connection with one of the
 
6976
  list, it will.
 
6977
  (Vincent Ladeuil)
 
6978
 
 
6979
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
6980
  the null revision, and consider using ``None`` for this purpose
 
6981
  deprecated.  (Aaron Bentley)
 
6982
 
 
6983
* New ``index`` module with abstract index functionality. This will be
 
6984
  used during the planned changes in the repository layer. Currently the
 
6985
  index layer provides a graph aware immutable index, a builder for the
 
6986
  same index type to allow creating them, and finally a composer for
 
6987
  such indices to allow the use of many indices in a single query. The
 
6988
  index performance is not optimised, however the API is stable to allow
 
6989
  development on top of the index. (Robert Collins)
 
6990
 
 
6991
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
6992
  their directory sections. This is equivalent to comparing
 
6993
  ``path.split('/')``, only without having to split the paths.
 
6994
  This has a Pyrex implementation available.
 
6995
  (John Arbash Meinel)
 
6996
 
 
6997
* New transport decorator 'unlistable+' which disables the list_dir
 
6998
  functionality for testing.
 
6999
 
 
7000
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
7001
 
 
7002
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
7003
  for performing annotate-merge.  (Aaron Bentley)
 
7004
 
 
7005
* New EmailMessage class to create email messages. (Adeodato Simó)
 
7006
 
 
7007
* Unused functions on the private interface KnitIndex have been removed.
 
7008
  (Robert Collins)
 
7009
 
 
7010
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
7011
  of a ``index.GraphIndex``. (Robert Collins)
 
7012
 
 
7013
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
7014
  the parents of many knit nodes at once, reducing round trips to the
 
7015
  underlying index. (Robert Collins)
 
7016
 
 
7017
* Graph now has an is_ancestor method, various bits use it.
 
7018
  (Aaron Bentley)
 
7019
 
 
7020
* The ``-Dhpss`` flag now includes timing information. As well as
 
7021
  logging when a new connection is opened. (John Arbash Meinel)
 
7022
 
 
7023
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
7024
  callers when inserting data, allowing generation of readv style access
 
7025
  during pack creation, without needing a separate pass across the output
 
7026
  pack to gather such details. (Robert Collins)
 
7027
 
 
7028
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
7029
  files that are stored on a transport. (Robert Collins)
 
7030
 
 
7031
* New ``Repository.has_same_location`` method that reports if two
 
7032
  repository objects refer to the same repository (although with some risk
 
7033
  of false negatives).  (Andrew Bennetts)
 
7034
 
 
7035
* InterTree.compare now passes require_versioned on correctly.
 
7036
  (Marius Kruger)
 
7037
 
 
7038
* New methods on Repository - ``start_write_group``,
 
7039
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
7040
  which provide a clean hook point for transactional Repositories - ones
 
7041
  where all the data for a fetch or commit needs to be made atomically
 
7042
  available in one step. This allows the write lock to remain while making
 
7043
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
7044
 
 
7045
* In ``bzrlib.knit`` the internal interface has been altered to use
 
7046
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
7047
  describe where data in a knit is, allowing knits to be split into
 
7048
  many files. (Robert Collins)
 
7049
 
 
7050
* ``bzrlib.knit._KnitData`` split into cache management and physical access
 
7051
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
7052
  The former provides access into a .pack file, and the latter provides the
 
7053
  current production repository form of .knit files. (Robert Collins)
 
7054
 
 
7055
Testing
 
7056
*******
 
7057
 
 
7058
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
7059
  ``--keep-output`` options, which are obsolete now that tests
 
7060
  are done within directories in $TMPDIR.  (Martin Pool)
 
7061
 
 
7062
* The SSH_AUTH_SOCK environment variable is now reset to avoid
 
7063
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
7064
 
 
7065
* run_bzr_subprocess handles parameters the same way as run_bzr:
 
7066
  either a string or a list of strings should be passed as the first
 
7067
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
7068
 
 
7069
 
 
7070
bzr 0.18
 
7071
########
 
7072
 
 
7073
:Released:  2007-07-17
 
7074
 
 
7075
Bugfixes
 
7076
********
 
7077
 
 
7078
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
7079
 
 
7080
 
 
7081
bzr 0.18rc1
 
7082
###########
 
7083
 
 
7084
:Released:  2007-07-10
 
7085
 
 
7086
Bugfixes
 
7087
********
 
7088
 
 
7089
* Do not suppress pipe errors, etc. in non-display commands
 
7090
  (Alexander Belchenko, #87178)
 
7091
 
 
7092
* Display a useful error message when the user requests to annotate
 
7093
  a file that is not present in the specified revision.
 
7094
  (James Westby, #122656)
 
7095
 
 
7096
* Commands that use status flags now have a reference to 'help
 
7097
  status-flags'.  (Daniel Watkins, #113436)
 
7098
 
 
7099
* Work around python-2.4.1 inhability to correctly parse the
 
7100
  authentication header.
 
7101
  (Vincent Ladeuil, #121889)
 
7102
 
 
7103
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
7104
 
 
7105
* Fix tempfile permissions error in smart server tar bundling under
 
7106
  Windows. (Martin _, #119330)
 
7107
 
 
7108
* Fix detection of directory entries in the inventory. (James Westby)
 
7109
 
 
7110
* Fix handling of http code 400: Bad Request When issuing too many ranges.
 
7111
  (Vincent Ladeuil, #115209)
 
7112
 
 
7113
* Issue a CONNECT request when connecting to an https server
 
7114
  via a proxy to enable SSL tunneling.
 
7115
  (Vincent Ladeuil, #120678)
 
7116
 
 
7117
* Fix ``bzr log -r`` to support selecting merge revisions, both
 
7118
  individually and as part of revision ranges.
 
7119
  (Kent Gibson, #4663)
 
7120
 
 
7121
* Don't leave cruft behind when failing to acquire a lockdir.
 
7122
  (Martin Pool, #109169)
 
7123
 
 
7124
* Don't use the '-f' strace option during tests.
 
7125
  (Vincent Ladeuil, #102019).
 
7126
 
 
7127
* Warn when setting ``push_location`` to a value that will be masked by
 
7128
  locations.conf.  (Aaron Bentley, #122286)
 
7129
 
 
7130
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
7131
 
 
7132
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
7133
 
 
7134
Improvements
 
7135
************
 
7136
 
 
7137
* The --lsprof-file option now dumps a text rendering of the profiling
 
7138
  information if the filename ends in ".txt". It will also convert the
 
7139
  profiling information to a format suitable for KCacheGrind if the
 
7140
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
7141
  conversion process by Jean Paul Calderone and Itamar were also merged.
 
7142
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
7143
 
 
7144
* ``info`` now defaults to non-verbose mode, displaying only paths and
 
7145
  abbreviated format info.  ``info -v`` displays all the information
 
7146
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
7147
 
 
7148
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
7149
  (Elliot Murphy)
 
7150
 
 
7151
* The internal ``weave-list`` command has become ``versionedfile-list``,
 
7152
  and now lists knits as well as weaves.  (Aaron Bentley)
 
7153
 
 
7154
* Automatic merge base selection uses a faster algorithm that chooses
 
7155
  better bases in criss-cross merge situations (Aaron Bentley)
 
7156
 
 
7157
* Progress reporting in ``commit`` has been improved. The various logical
 
7158
  stages are now reported on as follows, namely:
 
7159
 
 
7160
  * Collecting changes [Entry x/y] - Stage n/m
 
7161
  * Saving data locally - Stage n/m
 
7162
  * Uploading data to master branch - Stage n/m
 
7163
  * Updating the working tree - Stage n/m
 
7164
  * Running post commit hooks - Stage n/m
 
7165
 
 
7166
  If there is no master branch, the 3rd stage is omitted and the total
 
7167
  number of stages is adjusted accordingly.
 
7168
 
 
7169
  Each hook that is run after commit is listed with a name (as hooks
 
7170
  can be slow it is useful feedback).
 
7171
  (Ian Clatworthy, Robert Collins)
 
7172
 
 
7173
* Various operations that are now faster due to avoiding unnecessary
 
7174
  topological sorts. (Aaron Bentley)
 
7175
 
 
7176
* Make merge directives robust against broken bundles. (Aaron Bentley)
 
7177
 
 
7178
* The lsprof filename note is emitted via trace.note(), not standard
 
7179
  output.  (Aaron Bentley)
 
7180
 
 
7181
* ``bzrlib`` now exports explicit API compatibility information to assist
 
7182
  library users and plugins. See the ``bzrlib.api`` module for details.
 
7183
  (Robert Collins)
 
7184
 
 
7185
* Remove unnecessary lock probes when acquiring a lockdir.
 
7186
  (Martin Pool)
 
7187
 
 
7188
* ``bzr --version`` now shows the location of the bzr log file, which
 
7189
  is especially useful on Windows.  (Martin Pool)
 
7190
 
 
7191
* -D now supports hooks to get debug tracing of hooks (though its currently
 
7192
  minimal in nature). (Robert Collins)
 
7193
 
 
7194
* Long log format reports deltas on merge revisions.
 
7195
  (John Arbash Meinel, Kent Gibson)
 
7196
 
 
7197
* Make initial push over ftp more resilient. (John Arbash Meinel)
 
7198
 
 
7199
* Print a summary of changes for update just like pull does.
 
7200
  (Daniel Watkins, #113990)
 
7201
 
 
7202
* Add a -Dhpss option to trace smart protocol requests and responses.
 
7203
  (Andrew Bennetts)
 
7204
 
 
7205
Library API Breaks
 
7206
******************
 
7207
 
 
7208
* Testing cleanups -
 
7209
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
7210
  to ``bzrlib.tests.repository_implementations``;
 
7211
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
7212
  to ``bzrlib.tests.interrepository_implementations``;
 
7213
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
 
7214
  ``bzrlib.tests.test_transport_implementations``.
 
7215
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
7216
  ``bzrlib.tests.branch_implementations``.
 
7217
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
 
7218
  ``bzrlib.tests.bzrdir_implementations``.
 
7219
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
7220
  to ``bzrlib.tests.interversionedfile_implementations``.
 
7221
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
7222
  ``bzrlib.tests.revisionstore_implementations``.
 
7223
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
7224
  ``bzrlib.tests.workingtree_implementations``.
 
7225
  These changes are an API break in the testing infrastructure only.
 
7226
  (Robert Collins)
 
7227
 
 
7228
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
7229
 
 
7230
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
7231
  win32. Callers of the function should do this and use the new
 
7232
  ``MutableTree.smart_add`` method instead. (Robert Collins)
 
7233
 
 
7234
* ``bzrlib.add.glob_expand_for_win32`` is now
 
7235
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
7236
 
 
7237
* ``bzrlib.add.FastPath`` is now private and moved to
 
7238
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
7239
 
 
7240
* ``LockDir.wait`` removed.  (Martin Pool)
 
7241
 
 
7242
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
7243
  ``server_stopped`` hooks. The first parameter is now an iterable of
 
7244
  backing URLs rather than a single URL. This is to reflect that many
 
7245
  URLs may map to the external URL of the server. E.g. the server interally
 
7246
  may have a chrooted URL but also the local file:// URL will be at the
 
7247
  same location. (Robert Collins)
 
7248
 
 
7249
Internals
 
7250
*********
 
7251
 
 
7252
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
7253
 
 
7254
* Fix documentation of BzrError. (Adeodato Simó)
 
7255
 
 
7256
* Make BzrBadParameter an internal error. (Adeodato Simó)
 
7257
 
 
7258
* Remove use of 'assert False' to raise an exception unconditionally.
 
7259
  (Martin Pool)
 
7260
 
 
7261
* Give a cleaner error when failing to decode knit index entry.
 
7262
  (Martin Pool)
 
7263
 
 
7264
* TreeConfig would mistakenly search the top level when asked for options
 
7265
  from a section. It now respects the section argument and only
 
7266
  searches the specified section. (James Westby)
 
7267
 
 
7268
* Improve ``make api-docs`` output. (John Arbash Meinel)
 
7269
 
 
7270
* Use os.lstat rather than os.stat for osutils.make_readonly and
 
7271
  osutils.make_writeable. This makes the difftools plugin more
 
7272
  robust when dangling symlinks are found. (Elliot Murphy)
 
7273
 
 
7274
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
 
7275
  lockdirs are taken or released.  (Martin Pool)
 
7276
 
 
7277
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
 
7278
  allows a nicer UI when hooks are running as the current hook can
 
7279
  be displayed. (Robert Collins)
 
7280
 
 
7281
* ``Transport.get`` has had its interface made more clear for ease of use.
 
7282
  Retrieval of a directory must now fail with either 'PathError' at open
 
7283
  time, or raise 'ReadError' on a read. (Robert Collins)
 
7284
 
 
7285
* New method ``_maybe_expand_globs`` on the ``Command`` class for
 
7286
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
7287
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
7288
 
 
7289
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
7290
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
7291
  Martin Pool)
 
7292
 
 
7293
* New method ``external_url`` on Transport for obtaining the url to
 
7294
  hand to external processes. (Robert Collins)
 
7295
 
 
7296
* Teach windows installers to build pyrex/C extensions.
 
7297
  (Alexander Belchenko)
 
7298
 
 
7299
Testing
 
7300
*******
 
7301
 
 
7302
* Removed the ``--keep-output`` option from selftest and clean up test
 
7303
  directories as they're used.  This reduces the IO load from
 
7304
  running the test suite and cuts the time by about half.
 
7305
  (Andrew Bennetts, Martin Pool)
 
7306
 
 
7307
* Add scenarios as a public attribute on the TestAdapter classes to allow
 
7308
  modification of the generated scenarios before adaption and easier
 
7309
  testing. (Robert Collins)
 
7310
 
 
7311
* New testing support class ``TestScenarioApplier`` which multiplies
 
7312
  out a single teste by a list of supplied scenarios. (RobertCollins)
 
7313
 
 
7314
* Setting ``repository_to_test_repository`` on a repository_implementations
 
7315
  test will cause it to be called during repository creation, allowing the
 
7316
  testing of repository classes which are not based around the Format
 
7317
  concept. For example a repository adapter can be tested in this manner,
 
7318
  by altering the repository scenarios to include a scenario that sets this
 
7319
  attribute during the test parameterisation in
 
7320
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
7321
 
 
7322
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
 
7323
  interface is now self.run_bzr.  The command to run can be passed as
 
7324
  either a list of parameters, a string containing the command line, or
 
7325
  (deprecated) varargs parameters.  (Martin Pool)
 
7326
 
 
7327
* The base TestCase now isolates tests from -D parameters by clearing
 
7328
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
7329
 
 
7330
* Add a relpath parameter to get_transport methods in test framework to
 
7331
  avoid useless cloning.
 
7332
  (Vincent Ladeuil, #110448)
 
7333
 
 
7334
 
 
7335
bzr 0.17
 
7336
########
 
7337
 
 
7338
:Released:  2007-06-18
 
7339
 
 
7340
Bugfixes
 
7341
********
 
7342
 
 
7343
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
7344
  (Colin Watson, #120647)
 
7345
 
 
7346
* Revert logging just to stderr in commit as broke unicode filenames.
 
7347
  (Aaron Bentley, Ian Clatworthy, #120930)
 
7348
 
 
7349
 
 
7350
bzr 0.17rc1
 
7351
###########
 
7352
 
 
7353
:Released:  2007-06-12
 
7354
 
 
7355
Notes When Upgrading
 
7356
********************
 
7357
 
 
7358
* The kind() and is_executable() APIs on the WorkingTree interface no
 
7359
  longer implicitly (read) locks and unlocks the tree. This *might*
 
7360
  impact some plug-ins and tools using this part of the API. If you find
 
7361
  an issue that may be caused by this change, please let us know,
 
7362
  particularly the plug-in/tool maintainer. If encountered, the API
 
7363
  fix is to surround kind() and is_executable() calls with lock_read()
 
7364
  and unlock() like so::
 
7365
 
 
7366
    work_tree.lock_read()
 
7367
    try:
 
7368
        kind = work_tree.kind(...)
 
7369
    finally:
 
7370
        work_tree.unlock()
 
7371
 
 
7372
Internals
 
7373
*********
 
7374
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
7375
  encapsulate the details of the revision to be logged in a LogRevision
 
7376
  object.
 
7377
  In long log formats, merge revision ids are only shown when --show-ids
 
7378
  is specified, and are labelled "revision-id:", as per mainline
 
7379
  revisions, instead of "merged:". (Kent Gibson)
 
7380
 
 
7381
* New ``BranchBuilder`` API which allows the construction of particular
 
7382
  histories quickly. Useful for testing and potentially other applications
 
7383
  too. (Robert Collins)
 
7384
 
 
7385
Improvements
 
7386
************
 
7387
 
 
7388
* There are two new help topics, working-trees and repositories that
 
7389
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
7390
  Aaron Bentley)
 
7391
 
 
7392
* Added ``bzr log --limit`` to report a limited number of revisions.
 
7393
  (Kent Gibson, #3659)
 
7394
 
 
7395
* Revert does not try to preserve file contents that were originally
 
7396
  produced by reverting to a historical revision.  (Aaron Bentley)
 
7397
 
 
7398
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
7399
  have more than one parent. This is a small improvement to help
 
7400
  understanding what changes have occurred
 
7401
  (John Arbash Meinel, #83887)
 
7402
 
 
7403
* TreeTransform avoids many renames when contructing large trees,
 
7404
  improving speed.  3.25x speedups have been observed for construction of
 
7405
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
7406
 
 
7407
* Commit on large trees is now faster. In my environment, a commit of
 
7408
  a small change to the Mozilla tree (55k files) has dropped from
 
7409
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
7410
  small change is 33% faster. (Ian Clatworthy)
 
7411
 
 
7412
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
7413
  #56322)
 
7414
 
 
7415
Bugfixes
 
7416
********
 
7417
 
 
7418
* ``bzr push`` should only connect to the remote location one time.
 
7419
  We have been connecting 3 times because we forget to pass around
 
7420
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
7421
  that we can pass in the Transport that we already have.
 
7422
  (John Arbash Meinel, #75721)
 
7423
 
 
7424
* ``DirState.set_state_from_inventory()`` needs to properly order
 
7425
  based on split paths, not just string paths.
 
7426
  (John Arbash Meinel, #115947)
 
7427
 
 
7428
* Let TestUIFactoy encode the password prompt with its own stdout.
 
7429
  (Vincent Ladeuil, #110204)
 
7430
 
 
7431
* pycurl should take use the range header that takes the range hint
 
7432
  into account.
 
7433
  (Vincent Ladeuil, #112719)
 
7434
 
 
7435
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
7436
  on a missing file.  (Aaron Bentley, #118186)
 
7437
 
 
7438
* WorkingTree.remove works correctly with tree references, and when pwd is
 
7439
  not the tree root. (Aaron Bentley)
 
7440
 
 
7441
* Merge no longer fails when a file is renamed in one tree and deleted
 
7442
  in the other. (Aaron Bentley, #110279)
 
7443
 
 
7444
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
7445
  and defaults to the last revision (Matthew Fuller, #90048)
 
7446
 
 
7447
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
7448
  (Daniel Watkins, #111958)
 
7449
 
 
7450
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
7451
  your repository. (Previously Branch6 only supported revisions in your
 
7452
  mainline). (John Arbash Meinel, #115343)
 
7453
 
 
7454
bzr 0.16
 
7455
########
 
7456
 
 
7457
:Released:  2007-05-07
 
7458
 
 
7459
Bugfixes
 
7460
********
 
7461
 
 
7462
* Handle when you have 2 directories with similar names, but one has a
 
7463
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
7464
  iterator was using direct comparison and ``'abc/a'`` sorts after
 
7465
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
7466
  (John Arbash Meinel, #111227)
 
7467
 
 
7468
* Handle when someone renames a file on disk without telling bzr.
 
7469
  Previously we would report the first file as missing, but not show
 
7470
  the new unknown file. (John Arbash Meinel, #111288)
 
7471
 
 
7472
* Avoid error when running hooks after pulling into or pushing from
 
7473
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
7474
 
 
7475
Improvements
 
7476
************
 
7477
 
 
7478
* Move developer documentation to doc/developers/. This reduces clutter in
 
7479
  the root of the source tree and allows HACKING to be split into multiple
 
7480
  files. (Robert Collins, Alexander Belchenko)
 
7481
 
 
7482
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
7483
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
7484
  diff`` and ``bzr status`` significantly improving the speed of
 
7485
  both. (John Arbash Meinel)
 
7486
 
 
7487
bzr 0.16rc2
 
7488
###########
 
7489
 
 
7490
:Released:  2007-04-30
 
7491
 
 
7492
Bugfixes
 
7493
********
 
7494
 
 
7495
* Handle the case when you delete a file, and then rename another file
 
7496
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
7497
  status`` should show the removed file and an unknown file in its
 
7498
  place. (John Arbash Meinel, #109993)
 
7499
 
 
7500
* Bundles properly read and write revision properties that have an
 
7501
  empty value. And when the value is not ASCII.
 
7502
  (John Arbash Meinel, #109613)
 
7503
 
 
7504
* Fix the bzr commit message to be in text mode.
 
7505
  (Alexander Belchenko, #110901)
 
7506
 
 
7507
* Also handle when you rename a file and create a file where it used
 
7508
  to be. (John Arbash Meinel, #110256)
 
7509
 
 
7510
* ``WorkingTree4._iter_changes`` should not descend into unversioned
 
7511
  directories. (John Arbash Meinel, #110399)
 
7512
 
 
7513
bzr 0.16rc1
 
7514
###########
 
7515
 
 
7516
:Released:  2007-04-26
 
7517
 
 
7518
Notes When Upgrading
 
7519
********************
 
7520
 
 
7521
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
7522
  it could be recovered again.
 
7523
  This has been done for consistency with svn and the unix rm command.
 
7524
  The old ``remove`` behaviour has been retained in the new option
 
7525
  ``bzr remove --keep``, which will just stop versioning the file,
 
7526
  but not delete it.
 
7527
  ``bzr remove --force`` have been added which will always delete the
 
7528
  files.
 
7529
  ``bzr remove`` is also more verbose.
 
7530
  (Marius Kruger, #82602)
 
7531
 
 
7532
Improvements
 
7533
************
 
7534
 
 
7535
* Merge directives can now be supplied as input to `merge` and `pull`,
 
7536
  like bundles can.  (Aaron Bentley)
 
7537
 
 
7538
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
7539
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
7540
  to continue.  This can be disabled by setting the environment variable
 
7541
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
7542
 
 
7543
* selftest now supports --list-only to list tests instead of running
 
7544
  them. (Ian Clatworthy)
 
7545
 
 
7546
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
7547
  tests with names that match that regular expression.
 
7548
  (Ian Clatworthy, #102679)
 
7549
 
 
7550
* selftest now supports --randomize SEED to run tests in a random order.
 
7551
  SEED is typically the value 'now' meaning 'use the current time'.
 
7552
  (Ian Clatworthy, #102686)
 
7553
 
 
7554
* New option ``--fixes`` to commit, which stores bug fixing annotations as
 
7555
  revision properties. Built-in support for Launchpad, Debian, Trac and
 
7556
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
7557
 
 
7558
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
7559
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
7560
  Robert Collins)
 
7561
 
 
7562
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
7563
  Pool)
 
7564
 
 
7565
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
7566
  into using local variables instead of going through ``self._var``.
 
7567
  Improves the time to ``merge_sort`` a 10k revision graph by
 
7568
  approximately 40% (~700->400ms).  (John Arbash Meinel)
 
7569
 
 
7570
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
7571
  (Robert Collins)
 
7572
 
 
7573
* ``bzr help`` now provides cross references to other help topics using
 
7574
  the _see_also facility on command classes. Likewise the bzr_man
 
7575
  documentation, and the bzr.1 man page also include this information.
 
7576
  (Robert Collins)
 
7577
 
 
7578
* Tags are now included in logs, that use the long log formatter.
 
7579
  (Erik Bågfors, Alexander Belchenko)
 
7580
 
 
7581
* ``bzr help`` provides a clearer message when a help topic cannot be
 
7582
  found. (Robert Collins, #107656)
 
7583
 
 
7584
* ``bzr help`` now accepts optional prefixes for command help. The help
 
7585
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
7586
  as well as ``bzr help COMMANDNAME`` (which only works for commands
 
7587
  where the name is not the same as a more general help topic).
 
7588
  (Robert Collins)
 
7589
 
 
7590
* ``bzr help PLUGINNAME`` will now return the module docstring from the
 
7591
  plugin PLUGINNAME. (Robert Collins, #50408)
 
7592
 
 
7593
* New help topic ``urlspec`` which lists the availables transports.
 
7594
  (Goffredo Baroncelli)
 
7595
 
 
7596
* doc/server.txt updated to document the default bzr:// port
 
7597
  and also update the blurb about the hpss' current status.
 
7598
  (Robert Collins, #107125).
 
7599
 
 
7600
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
7601
  serve out to the local LAN (and anyone in the world that can reach the
 
7602
  machine running ``bzr serve``. (Robert Collins, #98918)
 
7603
 
 
7604
* A new smart server protocol version has been added.  It prefixes requests
 
7605
  and responses with an explicit version identifier so that future protocol
 
7606
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
7607
 
 
7608
* The bzr protocol version 2 indicates success or failure in every response
 
7609
  without depending on particular commands encoding that consistently,
 
7610
  allowing future client refactorings to be much more robust about error
 
7611
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
7612
 
 
7613
* The smart protocol over HTTP client has been changed to always post to the
 
7614
  same ``.bzr/smart`` URL under the original location when it can.  This allows
 
7615
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
7616
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
7617
 
 
7618
* digest authentication is now supported for proxies and HTTP by the urllib
 
7619
  based http implementation. Tested against Apache 2.0.55 and Squid
 
7620
  2.6.5. Basic and digest authentication are handled coherently for HTTP
 
7621
  and proxy: if the user is provided in the url (bzr command line for HTTP,
 
7622
  proxy environment variables for proxies), the password is prompted for
 
7623
  (only once). If the password is provided, it is taken into account. Once
 
7624
  the first authentication is successful, all further authentication
 
7625
  roundtrips are avoided by preventively setting the right authentication
 
7626
  header(s).
 
7627
  (Vincent Ladeuil).
 
7628
 
 
7629
Internals
 
7630
*********
 
7631
 
 
7632
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
7633
  code paths. (Robert Collins)
 
7634
 
 
7635
* Change the format of chroot urls so that they can be safely manipulated
 
7636
  by generic url utilities without causing the resulting urls to have
 
7637
  escaped the chroot. A side effect of this is that creating a chroot
 
7638
  requires an explicit action using a ChrootServer.
 
7639
  (Robert Collins, Andrew Bennetts)
 
7640
 
 
7641
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
7642
  rather than fixing bug #96847.  (Aaron Bentley)
 
7643
 
 
7644
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
7645
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
7646
 
 
7647
* Convenience method ``TestCase.expectFailure`` ensures that known failures
 
7648
  do not silently pass.  (Aaron Bentley)
 
7649
 
 
7650
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
 
7651
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
7652
 
 
7653
* New SmartServer hooks facility. There are two initial hooks documented
 
7654
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
7655
  plugins to execute code upon server startup and shutdown.
 
7656
  (Robert Collins).
 
7657
 
 
7658
* SmartServer in standalone mode will now close its listening socket
 
7659
  when it stops, rather than waiting for garbage collection. This primarily
 
7660
  fixes test suite hangs when a test tries to connect to a shutdown server.
 
7661
  It may also help improve behaviour when dealing with a server running
 
7662
  on a specific port (rather than dynamically assigned ports).
 
7663
  (Robert Collins)
 
7664
 
 
7665
* Move most SmartServer code into a new package, bzrlib/smart.
 
7666
  bzrlib/transport/remote.py contains just the Transport classes that used
 
7667
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
7668
 
 
7669
* urllib http implementation avoid roundtrips associated with
 
7670
  401 (and 407) errors once the authentication succeeds.
 
7671
  (Vincent Ladeuil).
 
7672
 
 
7673
* urlib http now supports querying the user for a proxy password if
 
7674
  needed. Realm is shown in the prompt for both HTTP and proxy
 
7675
  authentication when the user is required to type a password.
 
7676
  (Vincent Ladeuil).
 
7677
 
 
7678
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
7679
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
7680
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
7681
  it's not really a "smart" transport, just one that does file operations
 
7682
  via remote procedure calls.  (Andrew Bennetts)
 
7683
 
 
7684
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
7685
  ``Branch`` now accept a ``token`` keyword argument, so that separate
 
7686
  instances of those objects can share a lock if it has the right token.
 
7687
  (Andrew Bennetts, Robert Collins)
 
7688
 
 
7689
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
7690
  branch references - which the smart server component needs.
 
7691
 
 
7692
* The Repository API ``make_working_trees`` is now permitted to return
 
7693
  False when ``set_make_working_trees`` is not implemented - previously
 
7694
  an unimplemented ``set_make_working_trees`` implied the result True
 
7695
  from ``make_working_trees``. This has been changed to accomodate the
 
7696
  smart server, where it does not make sense (at this point) to ever
 
7697
  make working trees by default. (Robert Collins)
 
7698
 
 
7699
* Command objects can now declare related help topics by having _see_also
 
7700
  set to a list of related topic. (Robert Collins)
 
7701
 
 
7702
* ``bzrlib.help`` now delegates to the Command class for Command specific
 
7703
  help. (Robert Collins)
 
7704
 
 
7705
* New class ``TransportListRegistry``, derived from the Registry class, which
 
7706
  simplifies tracking the available Transports. (Goffredo Baroncelli)
 
7707
 
 
7708
* New function ``Branch.get_revision_id_to_revno_map`` which will
 
7709
  return a dictionary mapping revision ids to dotted revnos. Since
 
7710
  dotted revnos are defined in the context of the branch tip, it makes
 
7711
  sense to generate them from a ``Branch`` object.
 
7712
  (John Arbash Meinel)
 
7713
 
 
7714
* Fix the 'Unprintable error' message display to use the repr of the
 
7715
  exception that prevented printing the error because the str value
 
7716
  for it is often not useful in debugging (e.g. KeyError('foo') has a
 
7717
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
7718
  useful. (Robert Collins)
 
7719
 
 
7720
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
7721
  (Andrew Bennetts)
 
7722
 
 
7723
Bugfixes
 
7724
********
 
7725
 
 
7726
* Don't fail bundle selftest if email has 'two' embedded.
 
7727
  (Ian Clatworthy, #98510)
 
7728
 
 
7729
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
7730
  (Robert Widhopf-Fenk, #98591)
 
7731
 
 
7732
* Remove ``--basis`` from the checkout/branch commands - it didn't work
 
7733
  properly and is no longer beneficial.
 
7734
  (Robert Collins, #53675, #43486)
 
7735
 
 
7736
* Don't produce encoding error when adding duplicate files.
 
7737
  (Aaron Bentley)
 
7738
 
 
7739
* Fix ``bzr log <file>`` so it only logs the revisions that changed
 
7740
  the file, and does it faster.
 
7741
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
7742
 
 
7743
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
7744
  an empty versioned directory, which now has files in it.
 
7745
  (John Arbash Meinel, #104257)
 
7746
 
 
7747
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
7748
  inside the ancestry of the other. Saves a lot of graph processing
 
7749
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
7750
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
7751
 
 
7752
* Fix ``show_diff_trees`` to handle the case when a file is modified,
 
7753
  and the containing directory is renamed. (The file path is different
 
7754
  in this versus base, but it isn't marked as a rename).
 
7755
  (John Arbash Meinel, #103870)
 
7756
 
 
7757
* FTP now works even when the FTP server does not support atomic rename.
 
7758
  (Aaron Bentley, #89436)
 
7759
 
 
7760
* Correct handling in bundles and merge directives of timezones with
 
7761
  that are not an integer number of hours offset from UTC.  Always
 
7762
  represent the epoch time in UTC to avoid problems with formatting
 
7763
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
7764
  Arbash Meinel)
 
7765
 
 
7766
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
7767
 
 
7768
* "dirstate" and "dirstate-tags" formats now produce branches compatible
 
7769
  with old versions of bzr. (Aaron Bentley, #107168))
 
7770
 
 
7771
* Handle moving a directory when children have been added, removed,
 
7772
  and renamed. (John Arbash Meinel, #105479)
 
7773
 
 
7774
* Don't preventively use basic authentication for proxy before receiving a
 
7775
  407 error. Otherwise people willing to use other authentication schemes
 
7776
  may expose their password in the clear (or nearly). This add one
 
7777
  roundtrip in case basic authentication should be used, but plug the
 
7778
  security hole.
 
7779
  (Vincent Ladeuil)
 
7780
 
 
7781
* Handle http and proxy digest authentication.
 
7782
  (Vincent Ladeuil, #94034).
 
7783
 
 
7784
Testing
 
7785
*******
 
7786
 
 
7787
* Added ``bzrlib.strace.strace`` which will strace a single callable and
 
7788
  return a StraceResult object which contains just the syscalls involved
 
7789
  in running it. (Robert Collins)
 
7790
 
 
7791
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
7792
  default time down to one suitable for tests. (Andrew Bennetts)
 
7793
 
 
7794
* Add new ``vfs_transport_factory`` attribute on tests which provides the
 
7795
  common vfs backing for both the readonly and readwrite transports.
 
7796
  This allows the RemoteObject tests to back onto local disk or memory,
 
7797
  and use the existing ``transport_server`` attribute all tests know about
 
7798
  to be the smart server transport. This in turn allows tests to
 
7799
  differentiate between 'transport to access the branch', and
 
7800
  'transport which is a VFS' - which matters in Remote* tests.
 
7801
  (Robert Collins, Andrew Bennetts)
 
7802
 
 
7803
* The ``make_branch_and_tree`` method for tests will now create a
 
7804
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
7805
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
7806
 
 
7807
* Branch implementation tests have been audited to ensure that all urls
 
7808
  passed to Branch APIs use proper urls, except when local-disk paths
 
7809
  are intended. This is so that tests correctly access the test transport
 
7810
  which is often not equivalent to local disk in Remote* tests. As part
 
7811
  of this many tests were adjusted to remove dependencies on local disk
 
7812
  access.
 
7813
  (Robert Collins, Andrew Bennetts)
 
7814
 
 
7815
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
7816
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
7817
  Andrew Bennetts, Martin Pool, Jonathan Lange)
 
7818
 
 
7819
* Refactored proxy and authentication handling to simplify the
 
7820
  implementation of new auth schemes for both http and proxy.
 
7821
  (Vincent Ladeuil)
 
7822
 
 
7823
bzr 0.15
 
7824
########
 
7825
 
 
7826
:Released: 2007-04-01
 
7827
 
 
7828
Bugfixes
 
7829
********
 
7830
 
 
7831
* Handle incompatible repositories as a user issue when fetching.
 
7832
  (Aaron Bentley)
 
7833
 
 
7834
* Don't give a recommendation to upgrade when branching or
 
7835
  checking out a branch that contains an old-format working tree.
 
7836
  (Martin Pool)
 
7837
 
 
7838
bzr 0.15rc3
 
7839
###########
 
7840
 
 
7841
:Released:  2007-03-26
 
7842
 
 
7843
Changes
 
7844
*******
 
7845
 
 
7846
* A warning is now displayed when opening working trees in older
 
7847
  formats, to encourage people to upgrade to WorkingTreeFormat4.
 
7848
  (Martin Pool)
 
7849
 
 
7850
Improvements
 
7851
************
 
7852
 
 
7853
* HTTP redirections are now taken into account when a branch (or a
 
7854
  bundle) is accessed for the first time. A message is issued at each
 
7855
  redirection to inform the user. In the past, http redirections were
 
7856
  silently followed for each request which significantly degraded the
 
7857
  performances. The http redirections are not followed anymore by
 
7858
  default, instead a RedirectRequested exception is raised. For bzrlib
 
7859
  users needing to follow http redirections anyway,
 
7860
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
7861
  path.  (vila)
 
7862
 
 
7863
Internals
 
7864
*********
 
7865
 
 
7866
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
7867
  lock to an OS write lock. Linux can do this without unlocking, Win32
 
7868
  needs to unlock in between. (John Arbash Meinel)
 
7869
 
 
7870
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
7871
  to silence (when false) warnings about opening old formats.
 
7872
  (Martin Pool)
 
7873
 
 
7874
* Fix minor performance regression with bzr-0.15 on pre-dirstate
 
7875
  trees. (We were reading the working inventory too many times).
 
7876
  (John Arbash Meinel)
 
7877
 
 
7878
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
7879
  ``revision_history``.  Branch subclasses should override
 
7880
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
7881
  this cache, and call ``_clear_revision_history_cache`` and
 
7882
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
7883
 
 
7884
Bugfixes
 
7885
********
 
7886
 
 
7887
* Take ``smtp_server`` from user config into account.
 
7888
  (vila, #92195)
 
7889
 
 
7890
* Restore Unicode filename handling for versioned and unversioned files.
 
7891
  (John Arbash Meinel, #92608)
 
7892
 
 
7893
* Don't fail during ``bzr commit`` if a file is marked removed, and
 
7894
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
7895
 
 
7896
* ``bzr status FILENAME`` failed on Windows because of an uncommon
 
7897
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
7898
  (Wouter van Heyst, John Arbash Meinel, #90819)
 
7899
 
 
7900
* ``bzr checkout source`` should create a local branch in the same
 
7901
  format as source. (John Arbash Meinel, #93854)
 
7902
 
 
7903
* ``bzr commit`` with a kind change was failing to update the
 
7904
  last-changed-revision for directories.  The
 
7905
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
7906
  ignoring the fact that the kind could have changed, too.
 
7907
  (John Arbash Meinel, #90111)
 
7908
 
 
7909
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
7910
  the directory. So that there was a chance it would break commit,
 
7911
  etc. (John Arbash Meinel, #94037)
 
7912
 
 
7913
* Correctly handles mutiple permanent http redirections.
 
7914
  (vila, #88780)
 
7915
 
 
7916
bzr 0.15rc2
 
7917
###########
 
7918
 
 
7919
:Released:  2007-03-14
 
7920
 
 
7921
Notes When Upgrading
 
7922
********************
 
7923
 
 
7924
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
7925
  default to ``--trees`` instead of ``--no-trees``.
 
7926
  Existing shared repositories are not affected.
 
7927
 
 
7928
Improvements
 
7929
************
 
7930
 
 
7931
* New ``merge-directive`` command to generate machine- and human-readable
 
7932
  merge requests.  (Aaron Bentley)
 
7933
 
 
7934
* New ``submit:`` revision specifier makes it easy to diff against the
 
7935
  common ancestor with the submit location (Aaron Bentley)
 
7936
 
 
7937
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
7938
 
 
7939
* Added ``bzr status --versioned`` to report only versioned files,
 
7940
  not unknowns. (Kent Gibson)
 
7941
 
 
7942
* Merge now autodetects the correct line-ending style for its conflict
 
7943
  markers.  (Aaron Bentley)
 
7944
 
 
7945
Internals
 
7946
*********
 
7947
 
 
7948
* Refactored SSH vendor registration into SSHVendorManager class.
 
7949
  (Dmitry Vasiliev)
 
7950
 
 
7951
Bugfixes
 
7952
********
 
7953
 
 
7954
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
7955
  numbered dirs for TestCaseInTempDir. This is default behavior
 
7956
  on Windows. Anyone can force named dirs on Windows
 
7957
  with ``--no-numbered-dirs``. (Alexander Belchenko)
 
7958
 
 
7959
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
7960
  from the command line. (Marien Zwart, #90501)
 
7961
 
 
7962
* Fix ``TreeTransform._iter_changes`` when both the source and
 
7963
  destination are missing. (Aaron Bentley, #88842)
 
7964
 
 
7965
* Fix commit of merges with symlinks in dirstate trees.
 
7966
  (Marien Zwart)
 
7967
 
 
7968
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
 
7969
  (Wouter van Heyst, #53483)
 
7970
 
 
7971
 
 
7972
bzr 0.15rc1
 
7973
###########
 
7974
 
 
7975
:Released:  2007-03-07
 
7976
 
 
7977
Surprises
 
7978
*********
 
7979
 
 
7980
* The default disk format has changed. Please run 'bzr upgrade' in your
 
7981
  working trees to upgrade. This new default is compatible for network
 
7982
  operations, but not for local operations. That is, if you have two
 
7983
  versions of bzr installed locally, after upgrading you can only use the
 
7984
  bzr 0.15 version. This new default does not enable tags or nested-trees
 
7985
  as they are incompatible with bzr versions before 0.15 over the network.
 
7986
 
 
7987
* For users of bzrlib: Two major changes have been made to the working tree
 
7988
  api in bzrlib. The first is that many methods and attributes, including
 
7989
  the inventory attribute, are no longer valid for use until one of
 
7990
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
7991
  and become invalid again after unlock is called. This has been done
 
7992
  to improve performance and correctness as part of the dirstate
 
7993
  development.
 
7994
  (Robert Collins, John A Meinel, Martin Pool, and others).
 
7995
 
 
7996
* For users of bzrlib: The attribute 'tree.inventory' should be considered
 
7997
  readonly. Previously it was possible to directly alter this attribute, or
 
7998
  its contents, and have the tree notice this. This has been made
 
7999
  unsupported - it may work in some tree formats, but in the newer dirstate
 
8000
  format such actions will have no effect and will be ignored, or even
 
8001
  cause assertions. All operations possible can still be carried out by a
 
8002
  combination of the tree API, and the bzrlib.transform API. (Robert
 
8003
  Collins, John A Meinel, Martin Pool, and others).
 
8004
 
 
8005
Improvements
 
8006
************
 
8007
 
 
8008
* Support for OS Windows 98. Also .bzr.log on any windows system
 
8009
  saved in My Documents folder. (Alexander Belchenko)
 
8010
 
 
8011
* ``bzr mv`` enhanced to support already moved files.
 
8012
  In the past the mv command would have failed if the source file doesn't
 
8013
  exist. In this situation ``bzr mv`` would now detect that the file has
 
8014
  already moved and update the repository accordingly, if the target file
 
8015
  does exist.
 
8016
  A new option ``--after`` has been added so that if two files already
 
8017
  exist, you could notify Bazaar that you have moved a (versioned) file
 
8018
  and replaced it with another. Thus in this case ``bzr move --after``
 
8019
  will only update the Bazaar identifier.
 
8020
  (Steffen Eichenberg, Marius Kruger)
 
8021
 
 
8022
* ``ls`` now works on treeless branches and remote branches.
 
8023
  (Aaron Bentley)
 
8024
 
 
8025
* ``bzr help global-options`` describes the global options.
 
8026
  (Aaron Bentley)
 
8027
 
 
8028
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
8029
  (Robert Collins)
 
8030
 
 
8031
* Files are now allowed to change kind (e.g. from file to symlink).
 
8032
  Supported by ``commit``, ``revert`` and ``status``
 
8033
  (Aaron Bentley)
 
8034
 
 
8035
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
8036
  (Aaron Bentley)
 
8037
 
 
8038
* ``bzr help checkouts`` descibes what checkouts are and some possible
 
8039
  uses of them. (James Westby, Aaron Bentley)
 
8040
 
 
8041
* A new ``-d`` option to push, pull and merge overrides the default
 
8042
  directory.  (Martin Pool)
 
8043
 
 
8044
* Branch format 6: smaller, and potentially faster than format 5.  Supports
 
8045
  ``append_history_only`` mode, where the log view and revnos do not change,
 
8046
  except by being added to.  Stores policy settings in
 
8047
  ".bzr/branch/branch.conf".
 
8048
 
 
8049
* ``append_only`` branches:  Format 6 branches may be configured so that log
 
8050
  view and revnos are always consistent.  Either create the branch using
 
8051
  "bzr init --append-revisions-only" or edit the config file as descriped
 
8052
  in docs/configuration.txt.
 
8053
 
 
8054
* rebind: Format 6 branches retain the last-used bind location, so if you
 
8055
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
8056
  bind location.
 
8057
 
 
8058
* Builtin tags support, created and deleted by the ``tag`` command and
 
8059
  stored in the branch.  Tags can be accessed with the revisionspec
 
8060
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
 
8061
  at present. Tags require a network incompatible upgrade. To perform this
 
8062
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
8063
  repositories. (Martin Pool)
 
8064
 
 
8065
* The ``bzr://`` transport now has a well-known port number, 4155,
 
8066
  which it will use by default.  (Andrew Bennetts, Martin Pool)
 
8067
 
 
8068
* Bazaar now looks for user-installed plugins before looking for site-wide
 
8069
  plugins. (Jonathan Lange)
 
8070
 
 
8071
* ``bzr resolve`` now detects and marks resolved text conflicts.
 
8072
  (Aaron Bentley)
 
8073
 
 
8074
Internals
 
8075
*********
 
8076
 
 
8077
* Internally revision ids and file ids are now passed around as utf-8
 
8078
  bytestrings, rather than treating them as Unicode strings. This has
 
8079
  performance benefits for Knits, since we no longer need to decode the
 
8080
  revision id for each line of content, nor for each entry in the index.
 
8081
  This will also help with the future dirstate format.
 
8082
  (John Arbash Meinel)
 
8083
 
 
8084
* Reserved ids (any revision-id ending in a colon) are rejected by
 
8085
  versionedfiles, repositories, branches, and working trees
 
8086
  (Aaron Bentley)
 
8087
 
 
8088
* Minor performance improvement by not creating a ProgressBar for
 
8089
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
8090
  (John Arbash Meinel)
 
8091
 
 
8092
* New easier to use Branch hooks facility. There are five initial hooks,
 
8093
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
8094
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
8095
  ``'post_uncommit'``. These hooks fire after the matching operation
 
8096
  on a branch has taken place, and were originally added for the
 
8097
  branchrss plugin. (Robert Collins)
 
8098
 
 
8099
* New method ``Branch.push()`` which should be used when pushing from a
 
8100
  branch as it makes performance and policy decisions to match the UI
 
8101
  level command ``push``. (Robert Collins).
 
8102
 
 
8103
* Add a new method ``Tree.revision_tree`` which allows access to cached
 
8104
  trees for arbitrary revisions. This allows the in development dirstate
 
8105
  tree format to provide access to the callers to cached copies of
 
8106
  inventory data which are cheaper to access than inventories from the
 
8107
  repository.
 
8108
  (Robert Collins, Martin Pool)
 
8109
 
 
8110
* New ``Branch.last_revision_info`` method, this is being done to allow
 
8111
  optimization of requests for both the number of revisions and the last
 
8112
  revision of a branch with smartservers and potentially future branch
 
8113
  formats. (Wouter van Heyst, Robert Collins)
 
8114
 
 
8115
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
8116
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
8117
  other for code reuse without requiring users to perform file-renaming
 
8118
  gymnastics. (Robert Collins)
 
8119
 
 
8120
* New Repository method ``'gather_stats'`` for statistic data collection.
 
8121
  This is expected to grow to cover a number of related uses mainly
 
8122
  related to bzr info. (Robert Collins)
 
8123
 
 
8124
* Log formatters are now managed with a registry.
 
8125
  ``log.register_formatter`` continues to work, but callers accessing
 
8126
  the FORMATTERS dictionary directly will not.
 
8127
 
 
8128
* Allow a start message to be passed to the ``edit_commit_message``
 
8129
  function.  This will be placed in the message offered to the user
 
8130
  for editing above the separator. It allows a template commit message
 
8131
  to be used more easily. (James Westby)
 
8132
 
 
8133
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
8134
  you pass a Unicode string rather than an 8-bit string. Callers need
 
8135
  to be updated to encode first. (John Arbash Meinel)
 
8136
 
 
8137
* Branch.push, pull, merge now return Result objects with information
 
8138
  about what happened, rather than a scattering of various methods.  These
 
8139
  are also passed to the post hooks.  (Martin Pool)
 
8140
 
 
8141
* File formats and architecture is in place for managing a forest of trees
 
8142
  in bzr, and splitting up existing trees into smaller subtrees, and
 
8143
  finally joining trees to make a larger tree. This is the first iteration
 
8144
  of this support, and the user-facing aspects still require substantial
 
8145
  work.  If you wish to experiment with it, use ``bzr upgrade
 
8146
  --dirstate-with-subtree`` in your working trees and repositories.
 
8147
  You can use the hidden commands ``split`` and ``join`` and to create
 
8148
  and manipulate nested trees, but please consider using the nested-trees
 
8149
  branch, which contains substantial UI improvements, instead.
 
8150
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
8151
  (Aaron Bentley, Martin Pool, Robert Collins).
 
8152
 
 
8153
Bugfixes
 
8154
********
 
8155
 
 
8156
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
8157
  branch, rather than the last changed revision of the file.
 
8158
  (John Arbash Meinel, #82158)
 
8159
 
 
8160
* Lock operations no longer hang if they encounter a permission problem.
 
8161
  (Aaron Bentley)
 
8162
 
 
8163
* ``bzr push`` can resume a push that was canceled before it finished.
 
8164
  Also, it can push even if the target directory exists if you supply
 
8165
  the ``--use-existing-dir`` flag.
 
8166
  (John Arbash Meinel, #30576, #45504)
 
8167
 
 
8168
* Fix http proxy authentication when user and an optional
 
8169
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
8170
  #83954).
 
8171
 
 
8172
* ``bzr log branch/file`` works for local treeless branches
 
8173
  (Aaron Bentley, #84247)
 
8174
 
 
8175
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
8176
 
 
8177
* Searching location of CA bundle for PyCurl in env variable
 
8178
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
8179
  (Alexander Belchenko, #82086)
 
8180
 
 
8181
* ``bzr init`` works with unicode argument LOCATION.
 
8182
  (Alexander Belchenko, #85599)
 
8183
 
 
8184
* Raise ``DependencyNotPresent`` if pycurl do not support https.
 
8185
  (Vincent Ladeuil, #85305)
 
8186
 
 
8187
* Invalid proxy env variables should not cause a traceback.
 
8188
  (Vincent Ladeuil, #87765)
 
8189
 
 
8190
* Ignore patterns normalised to use '/' path separator.
 
8191
  (Kent Gibson, #86451)
 
8192
 
 
8193
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
8194
 
 
8195
* Fix bzrtools shelve command for removed lines beginning with "--"
 
8196
  (Johan Dahlberg, #75577)
 
8197
 
 
8198
Testing
 
8199
*******
 
8200
 
 
8201
* New ``--first`` option to ``bzr selftest`` to run specified tests
 
8202
  before the rest of the suite.  (Martin Pool)
 
8203
 
 
8204
 
 
8205
bzr 0.14
 
8206
########
 
8207
 
 
8208
:Released:  2007-01-23
 
8209
 
 
8210
Improvements
 
8211
************
 
8212
 
 
8213
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
8214
 
 
8215
Bug Fixes
 
8216
*********
 
8217
 
 
8218
* Skip documentation generation tests if the tools to do so are not
 
8219
  available. Fixes running selftest for installled copies of bzr.
 
8220
  (John Arbash Meinel, #80330)
 
8221
 
 
8222
* Fix the code that discovers whether bzr is being run from it's
 
8223
  working tree to handle the case when it isn't but the directory
 
8224
  it is in is below a repository. (James Westby, #77306)
 
8225
 
 
8226
 
 
8227
bzr 0.14rc1
 
8228
###########
 
8229
 
 
8230
:Released:  2007-01-16
 
8231
 
 
8232
Improvements
 
8233
************
 
8234
 
 
8235
* New connection: ``bzr+http://`` which supports tunnelling the smart
 
8236
  protocol over an HTTP connection. If writing is enabled on the bzr
 
8237
  server, then you can write over the http connection.
 
8238
  (Andrew Bennetts, John Arbash Meinel)
 
8239
 
 
8240
* Aliases now support quotation marks, so they can contain whitespace
 
8241
  (Marius Kruger)
 
8242
 
 
8243
* PyCurlTransport now use a single curl object. By specifying explicitly
 
8244
  the 'Range' header, we avoid the need to use two different curl objects
 
8245
  (and two connections to the same server). (Vincent Ladeuil)
 
8246
 
 
8247
* ``bzr commit`` does not prompt for a message until it is very likely to
 
8248
  succeed.  (Aaron Bentley)
 
8249
 
 
8250
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
8251
  (Aaron Bentley)
 
8252
 
 
8253
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
8254
  of a list while checking if a revision id was requested. Takes 10s
 
8255
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
8256
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
8257
  filtering lines with a regex rather than multiple ``str.find()``
 
8258
  calls. (saves another 300ms) (John Arbash Meinel)
 
8259
 
 
8260
* Policy can be set for each configuration key. This allows keys to be
 
8261
  inherited properly across configuration entries. For example, this
 
8262
  should enable you to do::
 
8263
 
 
8264
    [/home/user/project]
 
8265
    push_location = sftp://host/srv/project/
 
8266
    push_location:policy = appendpath
 
8267
 
 
8268
  And then a branch like ``/home/user/project/mybranch`` should get an
 
8269
  automatic push location of ``sftp://host/srv/project/mybranch``.
 
8270
  (James Henstridge)
 
8271
 
 
8272
* Added ``bzr status --short`` to make status report svn style flags
 
8273
  for each file.  For example::
 
8274
 
 
8275
    $ bzr status --short
 
8276
    A  foo
 
8277
    A  bar
 
8278
    D  baz
 
8279
    ?  wooley
 
8280
 
 
8281
* 'bzr selftest --clean-output' allows easily clean temporary tests
 
8282
  directories without running tests. (Alexander Belchenko)
 
8283
 
 
8284
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
8285
 
 
8286
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
8287
  local is fully merged into remote. (Jan Hudec)
 
8288
 
 
8289
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
8290
 
 
8291
Internals
 
8292
*********
 
8293
 
 
8294
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
8295
  help speed up processing, as well allowing to extract unannotated
 
8296
  lines. Between the two ``fileids_affected_by_revision_ids`` is
 
8297
  improved by approx 10%. (John Arbash Meinel)
 
8298
 
 
8299
* Change Revision serialization to only write out millisecond
 
8300
  resolution. Rather than expecting floating point serialization to
 
8301
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
8302
 
 
8303
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
8304
 
 
8305
* When ``encoding_type`` attribute of class Command is equal to 'exact',
 
8306
  force sys.stdout to be a binary stream on Windows, and therefore
 
8307
  keep exact line-endings (without LF -> CRLF conversion).
 
8308
  (Alexander Belchenko)
 
8309
 
 
8310
* Single-letter short options are no longer globally declared.  (Martin
 
8311
  Pool)
 
8312
 
 
8313
* Before using detected user/terminal encoding bzr should check
 
8314
  that Python has corresponding codec. (Alexander Belchenko)
 
8315
 
 
8316
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
8317
 
 
8318
Bug Fixes
 
8319
*********
 
8320
 
 
8321
* ``bzr missing --verbose`` was showing adds/removals in the wrong
 
8322
  direction. (John Arbash Meinel)
 
8323
 
 
8324
* ``bzr annotate`` now defaults to showing dotted revnos for merged
 
8325
  revisions. It cuts them off at a depth of 12 characters, but you can
 
8326
  supply ``--long`` to see the full number. You can also use
 
8327
  ``--show-ids`` to display the original revision ids, rather than
 
8328
  revision numbers and committer names. (John Arbash Meinel, #75637)
 
8329
 
 
8330
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
 
8331
  (Alexander Belchenko, #57869)
 
8332
 
 
8333
* Win32-specific: output of cat, bundle and diff commands don't mangle
 
8334
  line-endings (Alexander Belchenko, #55276)
 
8335
 
 
8336
* Replace broken fnmatch based ignore pattern matching with custom pattern
 
8337
  matcher.
 
8338
  (Kent Gibson, Jan Hudec #57637)
 
8339
 
 
8340
* pycurl and urllib can detect short reads at different places. Update
 
8341
  the test suite to test more cases. Also detect http error code 416
 
8342
  which was raised for that specific bug. Also enhance the urllib
 
8343
  robustness by detecting invalid ranges (and pycurl's one by detecting
 
8344
  short reads during the initial GET). (Vincent Ladeuil, #73948)
 
8345
 
 
8346
* The urllib connection sharing interacts badly with urllib2
 
8347
  proxy setting (the connections didn't go thru the proxy
 
8348
  anymore). Defining a proper ProxyHandler solves the
 
8349
  problem.  (Vincent Ladeuil, #74759)
 
8350
 
 
8351
* Use urlutils to generate relative URLs, not osutils
 
8352
  (Aaron Bentley, #76229)
 
8353
 
 
8354
* ``bzr status`` in a readonly directory should work without giving
 
8355
  lots of errors. (John Arbash Meinel, #76299)
 
8356
 
 
8357
* Mention the revisionspec topic for the revision option help.
 
8358
  (Wouter van Heyst, #31663)
 
8359
 
 
8360
* Allow plugins import from zip archives.
 
8361
  (Alexander Belchenko, #68124)
 
8362
 
 
8363
 
 
8364
bzr 0.13
 
8365
########
 
8366
 
 
8367
:Released:  2006-12-05
 
8368
 
 
8369
No changes from 0.13rc
 
8370
 
 
8371
 
 
8372
bzr 0.13rc1
 
8373
###########
 
8374
 
 
8375
:Released:  2006-11-27
 
8376
 
 
8377
Improvements
 
8378
************
 
8379
 
 
8380
* New command ``bzr remove-tree`` allows the removal of the working
 
8381
  tree from a branch.
 
8382
  (Daniel Silverstone)
 
8383
 
 
8384
* urllib uses shared keep-alive connections, so http
 
8385
  operations are substantially faster.
 
8386
  (Vincent Ladeuil, #53654)
 
8387
 
 
8388
* ``bzr export`` allows an optional branch parameter, to export a bzr
 
8389
  tree from some other url. For example:
 
8390
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
8391
  (Daniel Silverstone)
 
8392
 
 
8393
* Added ``bzr help topics`` to the bzr help system. This gives a
 
8394
  location for general information, outside of a specific command.
 
8395
  This includes updates for ``bzr help revisionspec`` the first topic
 
8396
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
8397
 
 
8398
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
8399
  (Andrew Bennetts)
 
8400
 
 
8401
* Knit files will now cache full texts only when the size of the
 
8402
  deltas is as large as the size of the fulltext. (Or after 200
 
8403
  deltas, whichever comes first). This has the most benefit on large
 
8404
  files with small changes, such as the inventory for a large project.
 
8405
  (eg For a project with 2500 files, and 7500 revisions, it changes
 
8406
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
8407
 
 
8408
Internals
 
8409
*********
 
8410
 
 
8411
* New -D option given before the command line turns on debugging output
 
8412
  for particular areas.  -Derror shows tracebacks on all errors.
 
8413
  (Martin Pool)
 
8414
 
 
8415
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
8416
  and remove benchmarks that take longer than 10min to run.
 
8417
  (John Arbash Meinel)
 
8418
 
 
8419
* Use ``time.time()`` instead of ``time.clock()`` to decide on
 
8420
  progress throttling. Because ``time.clock()`` is actually CPU time,
 
8421
  so over a high-latency connection, too many updates get throttled.
 
8422
  (John Arbash Meinel)
 
8423
 
 
8424
* ``MemoryTransport.list_dir()`` would strip the first character for
 
8425
  files or directories in root directory. (John Arbash Meinel)
 
8426
 
 
8427
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
 
8428
  branch references - which the smart server component needs.
 
8429
 
 
8430
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
8431
  prefix.  It disallows any access to locations above a set URL.  (Andrew
 
8432
  Bennetts)
 
8433
 
 
8434
Bug Fixes
 
8435
*********
 
8436
 
 
8437
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
8438
  And optimize the knit index parsing code.
 
8439
  (Dmitry Vasiliev, John Arbash Meinel)
 
8440
 
 
8441
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
8442
  without importing it. This prevented ``bzr upgrade`` from working
 
8443
  unless a plugin already imported ``bzrlib.workingtree``
 
8444
  (John Arbash Meinel, #70716)
 
8445
 
 
8446
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
8447
 
 
8448
* Give nicer error message when an http server returns a 403
 
8449
  error code. (Vincent Ladeuil, #57644).
 
8450
 
 
8451
* When a multi-range http GET request fails, try a single
 
8452
  range one. If it fails too, forget about ranges. Remember that until
 
8453
  the death of the transport and propagates that to the clones.
 
8454
  (Vincent Ladeuil, #62276, #62029).
 
8455
 
 
8456
* Handles user/passwords supplied in url from command
 
8457
  line (for the urllib implementation). Don't request already
 
8458
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
8459
 
 
8460
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
8461
  are added. This fixes bug where fetching remote revisions records
 
8462
  them as full references rather than integers.
 
8463
  (John Arbash Meinel, #64789)
 
8464
 
 
8465
* ``bzr ignore`` strips trailing slashes in patterns.
 
8466
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
8467
 
 
8468
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
8469
 
 
8470
* mv correctly handles paths that traverse symlinks.
 
8471
  (Aaron Bentley, #66964)
 
8472
 
 
8473
* Give nicer looking error messages when failing to connect over ssh.
 
8474
  (John Arbash Meinel, #49172)
 
8475
 
 
8476
* Pushing to a remote branch does not currently update the remote working
 
8477
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
8478
  machine now show that the working tree is out of date.
 
8479
  (Cheuksan Edward Wang #48136)
 
8480
 
 
8481
* Use patiencediff instead of difflib for determining deltas to insert
 
8482
  into knits. This avoids the O(N^3) behavior of difflib. Patience
 
8483
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
8484
 
 
8485
* Running ``bzr log`` on nonexistent file gives an error instead of the
 
8486
  entire log history. (Cheuksan Edward Wang #50793)
 
8487
 
 
8488
* ``bzr cat`` can look up contents of removed or renamed files. If the
 
8489
  pathname is ambiguous, i.e. the files in the old and new trees have
 
8490
  different id's, the default is the file in the new tree. The user can
 
8491
  use "--name-from-revision" to select the file in the old tree.
 
8492
  (Cheuksan Edward Wang, #30190)
 
8493
 
 
8494
Testing
 
8495
*******
 
8496
 
 
8497
* TestingHTTPRequestHandler really handles the Range header
 
8498
  (previously it was ignoring it and returning the whole file,).
 
8499
 
 
8500
bzr 0.12
 
8501
########
 
8502
 
 
8503
:Released:  2006-10-30
 
8504
 
 
8505
Internals
 
8506
*********
 
8507
 
 
8508
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
8509
  and remove benchmarks that take longer than 10min to run.
 
8510
  (John Arbash Meinel)
 
8511
 
 
8512
bzr 0.12rc1
 
8513
###########
 
8514
 
 
8515
:Released:  2006-10-23
 
8516
 
 
8517
Improvements
 
8518
************
 
8519
 
 
8520
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
8521
  rather than just showing a decimal revision number for revisions on the
 
8522
  mainline. These revision numbers are not yet accepted as input into bzr
 
8523
  commands such as log, diff etc. (Robert Collins)
 
8524
 
 
8525
* revisions can now be specified using dotted-decimal revision numbers.
 
8526
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
8527
 
 
8528
* ``bzr help commands`` output is now shorter (Aaron Bentley)
 
8529
 
 
8530
* ``bzr`` now uses lazy importing to reduce the startup time. This has
 
8531
  a moderate effect on lots of actions, especially ones that have
 
8532
  little to do. For example ``bzr rocks`` time is down to 116ms from
 
8533
  283ms. (John Arbash Meinel)
 
8534
 
 
8535
* New Registry class to provide name-to-object registry-like support,
 
8536
  for example for schemes where plugins can register new classes to
 
8537
  do certain tasks (e.g. log formatters). Also provides lazy registration
 
8538
  to allow modules to be loaded on request.
 
8539
  (John Arbash Meinel, Adeodato Simó)
 
8540
 
 
8541
API Incompatability
 
8542
*******************
 
8543
 
 
8544
* LogFormatter subclasses show now expect the 'revno' parameter to
 
8545
  show() to be a string rather than an int. (Robert Collins)
 
8546
 
 
8547
Internals
 
8548
*********
 
8549
 
 
8550
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
8551
  can take a ``working_dir='foo'`` parameter, which will change directory
 
8552
  for the command. (John Arbash Meinel)
 
8553
 
 
8554
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
8555
  around a regex, which defers compilation until first use.
 
8556
  (John Arbash Meinel)
 
8557
 
 
8558
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
8559
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
8560
  problems with system-wide installed plugins. (John Arbash Meinel)
 
8561
 
 
8562
* Unique tree root ids are now supported. Newly created trees still
 
8563
  use the common root id for compatibility with bzr versions before 0.12.
 
8564
  (Aaron Bentley)
 
8565
 
 
8566
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
8567
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
8568
  (Robert Collins, John Arbash Meinel)
 
8569
 
 
8570
* New method ``WorkingTree.flush()`` which will write the current memory
 
8571
  inventory out to disk. At the same time, ``read_working_inventory`` will
 
8572
  no longer trash the current tree inventory if it has been modified within
 
8573
  the current lock, and the tree will now ``flush()`` automatically on
 
8574
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
8575
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
8576
 
 
8577
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
8578
  parameter will cause it to add another column to its output, which
 
8579
  contains the dotted-decimal revno for each revision, as a tuple.
 
8580
  (Robert Collins)
 
8581
 
 
8582
* ``LogFormatter.show_merge`` is deprecated in favour of
 
8583
  ``LogFormatter.show_merge_revno``. (Robert Collins)
 
8584
 
 
8585
Bug Fixes
 
8586
*********
 
8587
 
 
8588
* Avoid circular imports by creating a deprecated function for
 
8589
  ``bzrlib.tree.RevisionTree``. Callers should have been using
 
8590
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
8591
  #66349)
 
8592
 
 
8593
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
8594
  platforms. (Martin Pool, #66356)
 
8595
 
 
8596
* Don't require ``Content-Type`` in range responses. Assume they are a
 
8597
  single range if ``Content-Type`` does not exist.
 
8598
  (John Arbash Meinel, #62473)
 
8599
 
 
8600
* bzr branch/pull no longer complain about progress bar cleanup when
 
8601
  interrupted during fetch.  (Aaron Bentley, #54000)
 
8602
 
 
8603
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
8604
  the basis inventory, rather than going through the repository. This
 
8605
  allows us to have 1 inventory read, and 2 inventory writes when
 
8606
  committing a new tree. (John Arbash Meinel)
 
8607
 
 
8608
* When reverting, files that are not locally modified that do not exist
 
8609
  in the target are deleted, not just unversioned (Aaron Bentley)
 
8610
 
 
8611
* When trying to acquire a lock, don't fail immediately. Instead, try
 
8612
  a few times (up to 1 hour) before timing out. Also, report why the
 
8613
  lock is unavailable (John Arbash Meinel, #43521, #49556)
 
8614
 
 
8615
* Leave HttpTransportBase daughter classes decides how they
 
8616
  implement cloning. (Vincent Ladeuil, #61606)
 
8617
 
 
8618
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
8619
 
 
8620
* If a commit fails, the commit message is stored in a file at the root of
 
8621
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
8622
  #32054)
 
8623
 
 
8624
Testing
 
8625
*******
 
8626
 
 
8627
* New test base class TestCaseWithMemoryTransport offers memory-only
 
8628
  testing facilities: its not suitable for tests that need to mutate disk
 
8629
  state, but most tests should not need that and should be converted to
 
8630
  TestCaseWithMemoryTransport. (Robert Collins)
 
8631
 
 
8632
* ``TestCase.make_branch_and_memory_tree`` now takes a format
 
8633
  option to set the BzrDir, Repository and Branch formats of the
 
8634
  created objects. (Robert Collins, John Arbash Meinel)
 
8635
 
 
8636
bzr 0.11
 
8637
########
 
8638
 
 
8639
:Released:  2006-10-02
 
8640
 
 
8641
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
8642
 
 
8643
bzr 0.11rc2
 
8644
###########
 
8645
 
 
8646
:Released:  2006-09-27
 
8647
 
 
8648
Bug Fixes
 
8649
*********
 
8650
 
 
8651
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
8652
 
 
8653
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
8654
  Arbash Meinel).
 
8655
 
 
8656
bzr 0.11rc1
 
8657
###########
 
8658
 
 
8659
:Released:  2006-09-25
 
8660
 
 
8661
Improvements
 
8662
************
 
8663
 
 
8664
* Knit files now wait to create their contents until the first data is
 
8665
  added. The old code used to create an empty .knit and a .kndx with just
 
8666
  the header. However, this caused a lot of extra round trips over sftp.
 
8667
  This can change the time for ``bzr push`` to create a new remote branch
 
8668
  from 160s down to 100s. This also affects ``bzr commit`` performance when
 
8669
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
8670
  down to 40s (John Arbash Meinel, #44692)
 
8671
 
 
8672
* When an entire subtree has been deleted, commit will now report that
 
8673
  just the top of the subtree has been deleted, rather than reporting
 
8674
  all the individual items. (Robert Collins)
 
8675
 
 
8676
* Commit performs one less XML parse. (Robert Collins)
 
8677
 
 
8678
* ``bzr checkout`` now operates on readonly branches as well
 
8679
  as readwrite branches. This fixes bug #39542. (Robert Collins)
 
8680
 
 
8681
* ``bzr bind`` no longer synchronises history with the master branch.
 
8682
  Binding should be followed by an update or push to synchronise the
 
8683
  two branches. This is closely related to the fix for bug #39542.
 
8684
  (Robert Collins)
 
8685
 
 
8686
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
 
8687
  objects.  This allows all imports to stay at the global scope, but
 
8688
  modules will not actually be imported if they are not used.
 
8689
  (John Arbash Meinel)
 
8690
 
 
8691
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
8692
  transport which will be used with the upcoming high-performance smart
 
8693
  server. The new command ``bzr serve`` will invoke bzr in server mode,
 
8694
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
8695
  Pool)
 
8696
 
 
8697
* New command ``bzr version-info`` which can be used to get a summary
 
8698
  of the current state of the tree. This is especially useful as part
 
8699
  of a build commands. See ``doc/version_info.txt`` for more information
 
8700
  (John Arbash Meinel)
 
8701
 
 
8702
Bug Fixes
 
8703
*********
 
8704
 
 
8705
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
8706
  specific set of files. (John Arbash Meinel, #3631)
 
8707
 
 
8708
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
8709
 
 
8710
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
8711
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
8712
  reading a nested Stanza. (John Arbash Meinel)
 
8713
 
 
8714
* Transform._set_mode() needs to stat the right file.
 
8715
  (John Arbash Meinel, #56549)
 
8716
 
 
8717
* Raise WeaveFormatError rather than StopIteration when trying to read
 
8718
  an empty Weave file. (John Arbash Meinel, #46871)
 
8719
 
 
8720
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
8721
  (Vincent Ladeuil, #59835)
 
8722
 
 
8723
* Handle boundary="" lines properly to allow access through a Squid proxy.
 
8724
  (John Arbash Meinel, #57723)
 
8725
 
 
8726
* revert now removes newly-added directories (Aaron Bentley, #54172)
 
8727
 
 
8728
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
 
8729
  isn't a working tree. (David Allouche, #40679)
 
8730
 
 
8731
* Give nicer error messages when a user supplies an invalid --revision
 
8732
  parameter. (John Arbash Meinel, #55420)
 
8733
 
 
8734
* Handle when LANG is not recognized by python. Emit a warning, but
 
8735
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
8736
 
 
8737
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
8738
  (John Arbash Meinel)
 
8739
 
 
8740
* Skip specific tests when the dependencies aren't met. This includes
 
8741
  some ``setup.py`` tests when ``python-dev`` is not available, and
 
8742
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
8743
 
 
8744
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
8745
  the system. (Andrew Bennetts, John Arbash Meinel)
 
8746
 
 
8747
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
8748
  other branch, and will not push or pull between the two branches.
 
8749
  API users will need to perform a push or pull or update operation if they
 
8750
  require branch synchronisation to take place. (Robert Collins, #47344)
 
8751
 
 
8752
* When creating a tarball or zipfile export, export unicode names as utf-8
 
8753
  paths. This may not work perfectly on all platforms, but has the best
 
8754
  chance of working in the common case. (John Arbash Meinel, #56816)
 
8755
 
 
8756
* When committing, only files that exist in working tree or basis tree
 
8757
  may be specified (Aaron Bentley, #50793)
 
8758
 
 
8759
Portability
 
8760
***********
 
8761
 
 
8762
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
8763
 
 
8764
Internals
 
8765
*********
 
8766
 
 
8767
* TestCaseInTempDir now creates a separate directory for HOME, rather
 
8768
  than having HOME set to the same location as the working directory.
 
8769
  (John Arbash Meinel)
 
8770
 
 
8771
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
8772
  which will update os.environ inside the spawned child. It also can
 
8773
  take a ``universal_newlines=True``, which helps when checking the output
 
8774
  of the command. (John Arbash Meinel)
 
8775
 
 
8776
* Refactor SFTP vendors to allow easier re-use when ssh is used.
 
8777
  (Andrew Bennetts)
 
8778
 
 
8779
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
8780
  return urlescaped paths. This is now tested (there were bugs in a few
 
8781
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
8782
 
 
8783
* New utility function ``symbol_versioning.deprecation_string``. Returns the
 
8784
  formatted string for a callable, deprecation format pair. (Robert Collins)
 
8785
 
 
8786
* New TestCase helper applyDeprecated. This allows you to call a callable
 
8787
  which is deprecated without it spewing to the screen, just by supplying
 
8788
  the deprecation format string issued for it. (Robert Collins)
 
8789
 
 
8790
* Transport.append and Transport.put have been deprecated in favor of
 
8791
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
8792
  ``.put_file``. This removes the ambiguity in what type of object the
 
8793
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
8794
  been added. Which works similarly to ``Transport.append()`` except for
 
8795
  SFTP, it doesn't have a round trip when opening the file. Also, it
 
8796
  provides functionality for creating a parent directory when trying
 
8797
  to create a file, rather than raise NoSuchFile and forcing the
 
8798
  caller to repeat their request.
 
8799
  (John Arbash Meinel)
 
8800
 
 
8801
* WorkingTree has a new api ``unversion`` which allow the unversioning of
 
8802
  entries by their file id. (Robert Collins)
 
8803
 
 
8804
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
8805
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
8806
 
 
8807
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
8808
  read rather than write. This is appropriate for actions which only need
 
8809
  the branch data for reference rather than mutation. A new decorator
 
8810
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
8811
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
 
8812
  declaration of the locking requirements of a function to ensure that
 
8813
  a lock is taken out for casual scripts. (Robert Collins, #54107)
 
8814
 
 
8815
* All WorkingTree methods which write to the tree, but not to the branch
 
8816
  have been converted to use ``needs_tree_write_lock`` rather than
 
8817
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
8818
  transform modules. This provides a modest performance improvement on
 
8819
  metadir style trees, due to the reduce lock-acquisition, and a more
 
8820
  significant performance improvement on lightweight checkouts from
 
8821
  remote branches, where trivial operations used to pay a significant
 
8822
  penalty. It also provides the basis for allowing readonly checkouts.
 
8823
  (Robert Collins)
 
8824
 
 
8825
* Special case importing the standard library 'copy' module. This shaves
 
8826
  off 40ms of startup time, while retaining compatibility. See:
 
8827
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
8828
 
 
8829
* WorkingTree has a new parent class MutableTree which represents the
 
8830
  specialisations of Tree which are able to be altered. (Robert Collins)
 
8831
 
 
8832
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
8833
  mutate the tree and its contents. (Robert Collins)
 
8834
 
 
8835
* Transport behaviour at the root of the URL is now defined and tested.
 
8836
  (Andrew Bennetts, Robert Collins)
 
8837
 
 
8838
Testing
 
8839
*******
 
8840
 
 
8841
* New test helper classs MemoryTree. This is typically accessed via
 
8842
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
8843
 
 
8844
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
8845
  code to continue running concurrently with a subprocess of bzr.
 
8846
  (Andrew Bennetts, Robert Collins)
 
8847
 
 
8848
* Add a new method ``Transport.get_smart_client()``. This is provided to
 
8849
  allow upgrades to a richer interface than the VFS one provided by
 
8850
  Transport. (Andrew Bennetts, Martin Pool)
 
8851
 
 
8852
bzr 0.10
 
8853
########
 
8854
 
 
8855
:Released:  2006-08-29
 
8856
 
 
8857
Improvements
 
8858
************
 
8859
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
8860
  tree.  (Aaron Bentley)
 
8861
 
 
8862
* 'bzr add --file-ids-from' can be used to specify another path to use
 
8863
  for creating file ids, rather than generating all new ones. Internally,
 
8864
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
8865
  will be used, rather than having bzrlib generate new ones.
 
8866
  (John Arbash Meinel, #55781)
 
8867
 
 
8868
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
8869
  This will cache some of the intermediate trees, and decrease the
 
8870
  setup time for benchmark tests. (John Arbash Meinel)
 
8871
 
 
8872
* Inverse forms are provided for all boolean options.  For example,
 
8873
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
8874
 
 
8875
* Serialize out Inventories directly, rather than using ElementTree.
 
8876
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
8877
  (Robert Collins, John Arbash Meinel)
 
8878
 
 
8879
Bug Fixes
 
8880
*********
 
8881
 
 
8882
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
8883
 
 
8884
* Change LockDir so that if the lock directory doesn't exist when
 
8885
  ``lock_write()`` is called, an attempt will be made to create it.
 
8886
  (John Arbash Meinel, #56974)
 
8887
 
 
8888
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
8889
 
 
8890
* Active FTP transport now works as intended. (ghozzy, #56472)
 
8891
 
 
8892
* Really fix mutter() so that it won't ever raise a UnicodeError.
 
8893
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
8894
  But it is a debugging log, not a real user file.
 
8895
  (John Arbash Meinel, #56947, #53880)
 
8896
 
 
8897
* Change Command handle to allow Unicode command and options.
 
8898
  At present we cannot register Unicode command names, so we will get
 
8899
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
8900
  But that is better than a UnicodeError + a traceback.
 
8901
  (John Arbash Meinel, #57123)
 
8902
 
 
8903
* Handle TZ=UTC properly when reading/writing revisions.
 
8904
  (John Arbash Meinel, #55783, #56290)
 
8905
 
 
8906
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
8907
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
8908
 
 
8909
* External diff does the right thing for binaries even in foreign
 
8910
  languages. (John Arbash Meinel, #56307)
 
8911
 
 
8912
* Testament handles more cases when content is unicode. Specific bug was
 
8913
  in handling of revision properties.
 
8914
  (John Arbash Meinel, Holger Krekel, #54723)
 
8915
 
 
8916
* The bzr selftest was failing on installed versions due to a bug in a new
 
8917
  test helper. (John Arbash Meinel, Robert Collins, #58057)
 
8918
 
 
8919
Internals
 
8920
*********
 
8921
 
 
8922
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
8923
  which can be used to cache the conversion between utf8 and Unicode.
 
8924
  Especially helpful for some of the knit annotation code, which has to
 
8925
  convert revision ids to utf8 to annotate lines in storage.
 
8926
  (John Arbash Meinel)
 
8927
 
 
8928
* ``setup.py`` now searches the filesystem to find all packages which
 
8929
  need to be installed. This should help make the life of packagers
 
8930
  easier. (John Arbash Meinel)
 
8931
 
 
8932
bzr 0.9.0
 
8933
#########
 
8934
 
 
8935
:Released:  2006-08-11
 
8936
 
 
8937
Surprises
 
8938
*********
 
8939
 
 
8940
* The hard-coded built-in ignore rules have been removed. There are
 
8941
  now two rulesets which are enforced. A user global one in
 
8942
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
8943
  specific one '.bzrignore'.
 
8944
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
8945
  a more conservative list than the old default.
 
8946
  This fixes bugs with default rules being enforced no matter what.
 
8947
  The old list of ignore rules from bzr is available by
 
8948
  running 'bzr ignore --old-default-rules'.
 
8949
  (Robert Collins, Martin Pool, John Arbash Meinel)
 
8950
 
 
8951
* 'branches.conf' has been changed to 'locations.conf', since it can apply
 
8952
  to more locations than just branch locations.
 
8953
  (Aaron Bentley)
 
8954
 
 
8955
Improvements
 
8956
************
 
8957
 
 
8958
* The revision specifier "revno:" is extended to accept the syntax
 
8959
  revno:N:branch. For example,
 
8960
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
8961
  bzr.dev.  (Matthieu Moy)
 
8962
 
 
8963
* Tests updates to ensure proper URL handling, UNICODE support, and
 
8964
  proper printing when the user's terminal encoding cannot display
 
8965
  the path of a file that has been versioned.
 
8966
  ``bzr branch`` can take a target URL rather than only a local directory.
 
8967
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
8968
  and normalize the parent based on root, allowing access across
 
8969
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
8970
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
8971
  #42517, #42514)
 
8972
 
 
8973
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
8974
  Use terminal width for single-line logs from ``bzr log --line`` and
 
8975
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
8976
  (Malone #3507)
 
8977
 
 
8978
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
8979
  (Alexander Belchenko)
 
8980
 
 
8981
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
8982
 
 
8983
* Show the correct number of revisions pushed when pushing a new branch.
 
8984
  (Robert Collins).
 
8985
 
 
8986
* 'bzr selftest' now shows a progress bar with the number of tests, and
 
8987
  progress made. 'make check' shows tests in -v mode, to be more useful
 
8988
  for the PQM status window. (Robert Collins).
 
8989
  When using a progress bar, failed tests are printed out, rather than
 
8990
  being overwritten by the progress bar until the suite finishes.
 
8991
  (John Arbash Meinel)
 
8992
 
 
8993
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
8994
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
8995
  profile data for the individual profiled calls, allowing for fine
 
8996
  grained analysis of performance.
 
8997
  (Robert Collins, Martin Pool).
 
8998
 
 
8999
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
9000
  where commit can take an appreciable time. (Robert Collins)
 
9001
 
 
9002
* 'bzr add' is now less verbose in telling you what ignore globs were
 
9003
  matched by files being ignored. Instead it just tells you how many
 
9004
  were ignored (because you might reasonably be expecting none to be
 
9005
  ignored). 'bzr add -v' is unchanged and will report every ignored
 
9006
  file. (Robert Collins).
 
9007
 
 
9008
* ftp now has a test server if medusa is installed. As part of testing,
 
9009
  ftp support has been improved, including support for supplying a
 
9010
  non-standard port. (John Arbash Meinel).
 
9011
 
 
9012
* 'bzr log --line' shows the revision number, and uses only the
 
9013
  first line of the log message (#5162, Alexander Belchenko;
 
9014
  Matthieu Moy)
 
9015
 
 
9016
* 'bzr status' has had the --all option removed. The 'bzr ls' command
 
9017
  should be used to retrieve all versioned files. (Robert Collins)
 
9018
 
 
9019
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
9020
  over email, and applied on the other end, while maintaining ancestry.
 
9021
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
9022
  the same way you would apply another branch.
 
9023
  (John Arbash Meinel, Aaron Bentley)
 
9024
 
 
9025
* 'bzr whoami' can now be used to set your identity from the command line,
 
9026
  for a branch or globally.  (Robey Pointer)
 
9027
 
 
9028
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
9029
  (Michael Ellerman)
 
9030
 
 
9031
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
9032
  (Aaron Bentley)
 
9033
 
 
9034
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
9035
  Also updates things like 'http+pycurl://' if pycurl is not present.
 
9036
  (John Arbash Meinel) (Malone #47821, #52204)
 
9037
 
 
9038
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
9039
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
 
9040
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
9041
 
 
9042
* Improve the help text for 'bzr diff' to explain what various options do.
 
9043
  (John Arbash Meinel, #6391)
 
9044
 
 
9045
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
9046
  revision 10. This makes -r10 more in line with what other commands do.
 
9047
  'bzr uncommit' also now saves the pending merges of the revisions that
 
9048
  were removed. So it is safe to uncommit after a merge, fix something,
 
9049
  and commit again. (John Arbash Meinel, #32526, #31426)
 
9050
 
 
9051
* 'bzr init' now also works on remote locations.
 
9052
  (Wouter van Heyst, #48904)
 
9053
 
 
9054
* HTTP support has been updated. When using pycurl we now support
 
9055
  connection keep-alive, which reduces dns requests and round trips.
 
9056
  And for both urllib and pycurl we support multi-range requests,
 
9057
  which decreases the number of round-trips. Performance results for
 
9058
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
9059
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
 
9060
  branch is as much as 4x faster.
 
9061
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
9062
 
 
9063
* Performance improvements for sftp. Branching and pulling are now up to
 
9064
  2x faster. Utilize paramiko.readv() support for async requests if it
 
9065
  is available (paramiko > 1.6) (John Arbash Meinel)
 
9066
 
 
9067
Bug Fixes
 
9068
*********
 
9069
 
 
9070
* Fix shadowed definition of TestLocationConfig that caused some
 
9071
  tests not to run.
 
9072
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
9073
 
 
9074
* Fix unnecessary requirement of sign-my-commits that it be run from
 
9075
  a working directory.  (Martin Pool, Robert Collins)
 
9076
 
 
9077
* 'bzr push location' will only remember the push location if it succeeds
 
9078
  in connecting to the remote location. (John Arbash Meinel, #49742)
 
9079
 
 
9080
* 'bzr revert' no longer toggles the executable bit on win32
 
9081
  (John Arbash Meinel, #45010)
 
9082
 
 
9083
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
9084
 
 
9085
* sftp tests now work correctly on win32 if you have a newer paramiko
 
9086
  (John Arbash Meinel)
 
9087
 
 
9088
* Cleanup win32 test suite, and general cleanup of places where
 
9089
  file handles were being held open. (John Arbash Meinel)
 
9090
 
 
9091
* When specifying filenames for 'diff -r x..y', the name of the file in the
 
9092
  working directory can be used, even if its name is different in both x
 
9093
  and y.
 
9094
 
 
9095
* File-ids containing single- or double-quotes are handled correctly by
 
9096
  push. (Aaron Bentley, #52227)
 
9097
 
 
9098
* Normalize unicode filenames to ensure cross-platform consistency.
 
9099
  (John Arbash Meinel, #43689)
 
9100
 
 
9101
* The argument parser can now handle '-' as an argument. Currently
 
9102
  no code interprets it specially (it is mostly handled as a file named
 
9103
  '-'). But plugins, and future operations can use it.
 
9104
  (John Arbash meinel, #50984)
 
9105
 
 
9106
* Bundles can properly read binary files with a plain '\r' in them.
 
9107
  (John Arbash Meinel, #51927)
 
9108
 
 
9109
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
9110
 
 
9111
* Lots of win32 fixes (the test suite passes again).
 
9112
  (John Arbash Meinel, #50155)
 
9113
 
 
9114
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
 
9115
 
 
9116
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
9117
 
 
9118
* Removals are only committed if they match the filespec (or if there is
 
9119
  no filespec).  (#46635, Aaron Bentley)
 
9120
 
 
9121
* smart-add recurses through all supplied directories
 
9122
  (John Arbash Meinel, #52578)
 
9123
 
 
9124
* Make the bundle reader extra lines before and after the bundle text.
 
9125
  This allows you to parse an email with the bundle inline.
 
9126
  (John Arbash Meinel, #49182)
 
9127
 
 
9128
* Change the file id generator to squash a little bit more. Helps when
 
9129
  working with long filenames on windows. (Also helps for unicode filenames
 
9130
  not generating hidden files). (John Arbash Meinel, #43801)
 
9131
 
 
9132
* Restore terminal mode on C-c while reading sftp password.  (#48923,
 
9133
  Nicholas Allen, Martin Pool)
 
9134
 
 
9135
* Timestamps are rounded to 1ms, and revision entries can be recreated
 
9136
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
9137
 
 
9138
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
9139
  use local paths, since it is user visible (John Arbash Meinel, #53653)
 
9140
 
 
9141
* ``bzr status foo`` when foo was unversioned used to cause a full delta
 
9142
  to be generated (John Arbash Meinel, #53638)
 
9143
 
 
9144
* When reading revision properties, an empty value should be considered
 
9145
  the empty string, not None (John Arbash Meinel, #47782)
 
9146
 
 
9147
* ``bzr diff --diff-options`` can now handle binary files being changed.
 
9148
  Also, the output is consistent when --diff-options is not supplied.
 
9149
  (John Arbash Meinel, #54651, #52930)
 
9150
 
 
9151
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
9152
 
 
9153
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
 
9154
  accessible (John Arbash Meinel, #52976)
 
9155
 
 
9156
Internals
 
9157
*********
 
9158
 
 
9159
* Combine the ignore rules into a single regex rather than looping over
 
9160
  them to reduce the threshold where  N^2 behaviour occurs in operations
 
9161
  like status. (Jan Hudec, Robert Collins).
 
9162
 
 
9163
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
9164
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
9165
 
 
9166
* 'bzr push' should only push the ancestry of the current revision, not
 
9167
  all of the history in the repository. This is especially important for
 
9168
  shared repositories. (John Arbash Meinel)
 
9169
 
 
9170
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
9171
  rather than randomly walking the inventories. (John Arbash Meinel)
 
9172
 
 
9173
* Doctests are now run in temporary directories which are cleaned up when
 
9174
  they finish, rather than using special ScratchDir/ScratchBranch objects.
 
9175
  (Martin Pool)
 
9176
 
 
9177
* Split ``check`` into separate methods on the branch and on the repository,
 
9178
  so that it can be specialized in ways that are useful or efficient for
 
9179
  different formats.  (Martin Pool, Robert Collins)
 
9180
 
 
9181
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
9182
  the global revision graph but only that part leading up to a particular
 
9183
  revision.  (Martin Pool, Robert Collins)
 
9184
 
 
9185
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
9186
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
9187
  (Robert Collins, Jelmer Vernooij).
 
9188
 
 
9189
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
9190
  Uses subprocess instead of spawnvp.
 
9191
  (James Henstridge, John Arbash Meinel, #4047, #48914)
 
9192
 
 
9193
* New command line option '--profile-imports', which will install a custom
 
9194
  importer to log time to import modules and regex compilation time to
 
9195
  sys.stderr (John Arbash Meinel)
 
9196
 
 
9197
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
9198
  instead. (Robert Collins)
 
9199
 
 
9200
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
9201
 
 
9202
bzr 0.8.2
 
9203
#########
 
9204
 
 
9205
:Released:  2006-05-17
 
9206
 
 
9207
Bug Fixes
 
9208
*********
 
9209
 
 
9210
* setup.py failed to install launchpad plugin.  (Martin Pool)
 
9211
 
 
9212
bzr 0.8.1
 
9213
#########
 
9214
 
 
9215
:Released:  2006-05-16
 
9216
 
 
9217
Bug Fixes
 
9218
*********
 
9219
 
 
9220
* Fix failure to commit a merge in a checkout.  (Martin Pool,
 
9221
  Robert Collins, Erik Bågfors, #43959)
 
9222
 
 
9223
* Nicer messages from 'commit' in the case of renames, and correct
 
9224
  messages when a merge has occured. (Robert Collins, Martin Pool)
 
9225
 
 
9226
* Separate functionality from assert statements as they are skipped in
 
9227
  optimized mode of python. Add the same check to pending merges.
 
9228
  (Olaf Conradi, #44443)
 
9229
 
 
9230
Changes
 
9231
*******
 
9232
 
 
9233
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
9234
 
 
9235
* Add info on standalone branches without a working tree.
 
9236
  (Olaf Conradi, #44155)
 
9237
 
 
9238
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
9239
 
 
9240
Changes
 
9241
*******
 
9242
 
 
9243
* Make editor invocation comply with Debian Policy. First check
 
9244
  environment variables VISUAL and EDITOR, then try editor from
 
9245
  alternatives system. If that all fails, fall back to the pre-defined
 
9246
  list of editors. (Olaf Conradi, #42904)
 
9247
 
 
9248
New Features
 
9249
************
 
9250
 
 
9251
* New 'register-branch' command registers a public branch into
 
9252
  Launchpad.net, where it can be associated with bugs, etc.
 
9253
  (Martin Pool, Bjorn Tillenius, Robert Collins)
 
9254
 
 
9255
Internals
 
9256
*********
 
9257
 
 
9258
* New public api in InventoryEntry - ``describe_change(old, new)`` which
 
9259
  provides a human description of the changes between two old and
 
9260
  new. (Robert Collins, Martin Pool)
 
9261
 
 
9262
Testing
 
9263
*******
 
9264
 
 
9265
* Fix test case for bzr info in upgrading a standalone branch to metadir,
 
9266
  uses bzrlib api now. (Olaf Conradi)
 
9267
 
 
9268
bzr 0.8
 
9269
#######
 
9270
 
 
9271
:Released:  2006-05-08
 
9272
 
 
9273
Notes When Upgrading
 
9274
********************
 
9275
 
 
9276
Release 0.8 of bzr introduces a new format for history storage, called
 
9277
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
 
9278
and remote operations are faster using knits than weaves.  Several
 
9279
operations including 'init', 'init-repo', and 'upgrade' take a
 
9280
--format option that controls this.  Branching from an existing branch
 
9281
will keep the same format.
 
9282
 
 
9283
It is possible to merge, pull and push between branches of different
 
9284
formats but this is slower than moving data between homogenous
 
9285
branches.  It is therefore recommended (but not required) that you
 
9286
upgrade all branches for a project at the same time.  Information on
 
9287
formats is shown by 'bzr info'.
 
9288
 
 
9289
bzr 0.8 now allows creation of 'repositories', which hold the history
 
9290
of files and revisions for several branches.  Previously bzr kept all
 
9291
the history for a branch within the .bzr directory at the root of the
 
9292
branch, and this is still the default.  To create a repository, use
 
9293
the new 'bzr init-repo' command.  Branches exist as directories under
 
9294
the repository and contain just a small amount of information
 
9295
indicating the current revision of the branch.
 
9296
 
 
9297
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
9298
subversion.  Checkouts are associated with a branch (optionally in a
 
9299
repository), which contains all the historical information.  The
 
9300
result is that a checkout can be deleted without losing any
 
9301
already-committed revisions.  A new 'update' command is also available.
 
9302
 
 
9303
Repositories and checkouts are not supported with the 0.7 storage
 
9304
format.  To use them you must upgrad to either knits, or to the
 
9305
'metaweave' format, which uses weaves but changes the .bzr directory
 
9306
arrangement.
 
9307
 
 
9308
 
 
9309
Improvements
 
9310
************
 
9311
 
 
9312
* sftp paths can now be relative, or local, according to the lftp
 
9313
  convention. Paths now take the form::
 
9314
 
 
9315
      sftp://user:pass@host:port/~/relative/path
 
9316
      or
 
9317
      sftp://user:pass@host:port/absolute/path
 
9318
 
 
9319
* The FTP transport now tries to reconnect after a temporary
 
9320
  failure. ftp put is made atomic. (Matthieu Moy)
 
9321
 
 
9322
* The FTP transport now maintains a pool of connections, and
 
9323
  reuses them to avoid multiple connections to the same host (like
 
9324
  sftp did). (Daniel Silverstone)
 
9325
 
 
9326
* The ``bzr_man.py`` file has been removed. To create the man page now,
 
9327
  use ``./generate_docs.py man``. The new program can also create other files.
 
9328
  Run ``python generate_docs.py --help`` for usage information.
 
9329
  (Hans Ulrich Niedermann & James Blackwell).
 
9330
 
 
9331
* Man Page now gives full help (James Blackwell).
 
9332
  Help also updated to reflect user config now being stored in .bazaar
 
9333
  (Hans Ulrich Niedermann)
 
9334
 
 
9335
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
9336
 
 
9337
* Pull now accepts a --revision argument (Erik Bågfors)
 
9338
 
 
9339
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
9340
  line. You can now use the following command to sign all of your old
 
9341
  commits::
 
9342
 
 
9343
    find .bzr/revision-store// -name my@email-* \
 
9344
      | sed 's/.*\/\/..\///' \
 
9345
      | xargs bzr re-sign
 
9346
 
 
9347
* Upgrade can now upgrade over the network. (Robert Collins)
 
9348
 
 
9349
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
9350
  behaviour.  By default they will cache history in the checkout, but
 
9351
  with --lightweight almost all data is kept in the master branch.
 
9352
  (Robert Collins)
 
9353
 
 
9354
* 'revert' unversions newly-versioned files, instead of deleting them.
 
9355
 
 
9356
* 'merge' is more robust.  Conflict messages have changed.
 
9357
 
 
9358
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
9359
  '.moved'.
 
9360
 
 
9361
* Default log format can be set in configuration and plugins can register
 
9362
  their own formatters. (Erik Bågfors)
 
9363
 
 
9364
* New 'reconcile' command will check branch consistency and repair indexes
 
9365
  that can become out of sync in pre 0.8 formats. (Robert Collins,
 
9366
  Daniel Silverstone)
 
9367
 
 
9368
* New 'bzr init --format' and 'bzr upgrade --format' option to control
 
9369
  what storage format is created or produced.  (Robert Collins,
 
9370
  Martin Pool)
 
9371
 
 
9372
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
9373
 
 
9374
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
9375
 
 
9376
* New 'init-repository' command, plus support for repositories in 'init'
 
9377
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
9378
 
 
9379
* Improve output of 'info' command. Show all relevant locations related to
 
9380
  working tree, branch and repository. Use kibibytes for binary quantities.
 
9381
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
9382
  work on branches, repositories and remote locations.  Show locations
 
9383
  relative to the shared repository, if applicable.  Show locking status
 
9384
  of locations.  (Olaf Conradi)
 
9385
 
 
9386
* Diff and merge now safely handle binary files. (Aaron Bentley)
 
9387
 
 
9388
* 'pull' and 'push' now normalise the revision history, so that any two
 
9389
  branches with the same tip revision will have the same output from 'log'.
 
9390
  (Robert Collins)
 
9391
 
 
9392
* 'merge' accepts --remember option to store parent location, like 'push'
 
9393
  and 'pull'. (Olaf Conradi)
 
9394
 
 
9395
* bzr status and diff when files given as arguments do not exist
 
9396
  in the relevant trees.  (Martin Pool, #3619)
 
9397
 
 
9398
* Add '.hg' to the default ignore list.  (Martin Pool)
 
9399
 
 
9400
* 'knit' is now the default disk format. This improves disk performance and
 
9401
  utilization, increases incremental pull performance, robustness with SFTP
 
9402
  and allows checkouts over SFTP to perform acceptably.
 
9403
  The initial Knit code was contributed by Johan Rydberg based on a
 
9404
  specification by Martin Pool.
 
9405
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
9406
 
 
9407
* New tool to generate all-in-one html version of the manual.  (Alexander
 
9408
  Belchenko)
 
9409
 
 
9410
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
9411
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
9412
 
 
9413
* New option 'diff --prefix' to control how files are named in diff
 
9414
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
 
9415
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
9416
 
 
9417
* Add --revision option to 'annotate' command.  (Olaf Conradi)
 
9418
 
 
9419
* If bzr shows an unexpected revision-history after pulling (perhaps due
 
9420
  to a reweave) it can now be corrected by 'bzr reconcile'.
 
9421
  (Robert Collins)
 
9422
 
 
9423
Changes
 
9424
*******
 
9425
 
 
9426
* Commit is now verbose by default, and shows changed filenames and the
 
9427
  new revision number.  (Robert Collins, Martin Pool)
 
9428
 
 
9429
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
9430
 
 
9431
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
9432
 
 
9433
* Make 'pull' and 'push' remember location on failure using --remember.
 
9434
  (Olaf Conradi)
 
9435
 
 
9436
* For compatibility, make old format for using weaves inside metadir
 
9437
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
9438
  Clean up help for option --format in commands 'init', 'init-repo' and
 
9439
  'upgrade'.  (Olaf Conradi)
 
9440
 
 
9441
Internals
 
9442
*********
 
9443
 
 
9444
* The internal storage of history, and logical branch identity have now
 
9445
  been split into Branch, and Repository. The common locking and file
 
9446
  management routines are now in bzrlib.lockablefiles.
 
9447
  (Aaron Bentley, Robert Collins, Martin Pool)
 
9448
 
 
9449
* Transports can now raise DependencyNotPresent if they need a library
 
9450
  which is not installed, and then another implementation will be
 
9451
  tried.  (Martin Pool)
 
9452
 
 
9453
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
 
9454
  (Martin Pool)
 
9455
 
 
9456
* Using Tree Transform for merge, revert, tree-building
 
9457
 
 
9458
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
9459
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
9460
  replacement API's. (Robert Collins)
 
9461
 
 
9462
* New BzrDir class represents the .bzr control directory and manages
 
9463
  formatting issues. (Robert Collins)
 
9464
 
 
9465
* New repository.InterRepository class encapsulates Repository to
 
9466
  Repository actions and allows for clean selection of optimised code
 
9467
  paths. (Robert Collins)
 
9468
 
 
9469
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
9470
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
9471
  depending on your needs. (Robert Collins)
 
9472
 
 
9473
* deprecated methods now have a ``is_deprecated`` flag on them that can
 
9474
  be checked, if you need to determine whether a given callable is
 
9475
  deprecated at runtime. (Robert Collins)
 
9476
 
 
9477
* Progress bars are now nested - see
 
9478
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
9479
  (Robert Collins, Robey Pointer)
 
9480
 
 
9481
* New API call ``get_format_description()`` for each type of format.
 
9482
  (Olaf Conradi)
 
9483
 
 
9484
* Changed ``branch.set_parent()`` to accept None to remove parent.
 
9485
  (Olaf Conradi)
 
9486
 
 
9487
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
9488
 
 
9489
* WorkingTree.branch is now a read only property.  (Robert Collins)
 
9490
 
 
9491
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
9492
  can be None or a factory that will create a progress bar. This is
 
9493
  useful for testing or for overriding the bzrlib.progress heuristic.
 
9494
  (Robert Collins)
 
9495
 
 
9496
* New API method ``get_physical_lock_status()`` to query locks present on a
 
9497
  transport.  (Olaf Conradi)
 
9498
 
 
9499
* Repository.reconcile now takes a thorough keyword parameter to allow
 
9500
  requesting an indepth reconciliation, rather than just a data-loss
 
9501
  check. (Robert Collins)
 
9502
 
 
9503
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
9504
  the user for yes/no style input. (Robert Collins)
 
9505
 
 
9506
Testing
 
9507
*******
 
9508
 
 
9509
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
9510
  for testing SFTP protocol support. (Robey Pointer)
 
9511
 
 
9512
* Branch formats are now tested once per implementation (see ``bzrlib.
 
9513
  tests.branch_implementations``. This is analagous to the transport
 
9514
  interface tests, and has been followed up with working tree,
 
9515
  repository and BzrDir tests. (Robert Collins)
 
9516
 
 
9517
* New test base class TestCaseWithTransport provides a transport aware
 
9518
  test environment, useful for testing any transport-interface using
 
9519
  code. The test suite option --transport controls the transport used
 
9520
  by this class (when its not being used as part of implementation
 
9521
  contract testing). (Robert Collins)
 
9522
 
 
9523
* Close logging handler on disabling the test log. This will remove the
 
9524
  handler from the internal list inside python's logging module,
 
9525
  preventing shutdown from closing it twice.  (Olaf Conradi)
 
9526
 
 
9527
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
9528
 
 
9529
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
9530
  parameter which will provide String("foo") to the command as its stdin.
 
9531
 
 
9532
bzr 0.7
 
9533
#######
 
9534
 
 
9535
:Released: 2006-01-09
 
9536
 
 
9537
Changes
 
9538
*******
 
9539
 
 
9540
* .bzrignore is excluded from exports, on the grounds that it's a bzr
 
9541
  internal-use file and may not be wanted.  (Jamie Wilkinson)
 
9542
 
 
9543
* The "bzr directories" command were removed in favor of the new
 
9544
  --kind option to the "bzr inventory" command.  To list all
 
9545
  versioned directories, now use "bzr inventory --kind directory".
 
9546
  (Johan Rydberg)
 
9547
 
 
9548
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
9549
  by default. (John Arbash Meinel)
 
9550
 
 
9551
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
9552
  environment variable. Now the path for it is searched in ``BZR_HOME``,
 
9553
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
9554
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
9555
  ``HOME``. (John Arbash Meinel)
 
9556
 
 
9557
* Plugins with the same name in different directories in the bzr plugin
 
9558
  path are no longer loaded: only the first successfully loaded one is
 
9559
  used. (Robert Collins)
 
9560
 
 
9561
* Use systems' external ssh command to open connections if possible.
 
9562
  This gives better integration with user settings such as ProxyCommand.
 
9563
  (James Henstridge)
 
9564
 
 
9565
* Permissions on files underneath .bzr/ are inherited from the .bzr
 
9566
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
9567
  will mean that future file will be created with group write permissions.
 
9568
 
 
9569
* configure.in and config.guess are no longer in the builtin default
 
9570
  ignore list.
 
9571
 
 
9572
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
9573
  files.  (John Arbash Meinel, Martin Pool)
 
9574
 
 
9575
Improvements
 
9576
************
 
9577
 
 
9578
* "bzr INIT dir" now initializes the specified directory, and creates
 
9579
  it if it does not exist.  (John Arbash Meinel)
 
9580
 
 
9581
* New remerge command (Aaron Bentley)
 
9582
 
 
9583
* Better zsh completion script.  (Steve Borho)
 
9584
 
 
9585
* 'bzr diff' now returns 1 when there are changes in the working
 
9586
  tree. (Robert Collins)
 
9587
 
 
9588
* 'bzr push' now exists and can push changes to a remote location.
 
9589
  This uses the transport infrastructure, and can store the remote
 
9590
  location in the ~/.bazaar/branches.conf configuration file.
 
9591
  (Robert Collins)
 
9592
 
 
9593
* Test directories are only kept if the test fails and the user requests
 
9594
  that they be kept.
 
9595
 
 
9596
* Tweaks to short log printing
 
9597
 
 
9598
* Added branch nicks, new nick command, printing them in log output.
 
9599
  (Aaron Bentley)
 
9600
 
 
9601
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
 
9602
  occurs.  (Martin Pool)
 
9603
 
 
9604
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
9605
  the same as Subversion.  (Martin Pool)
 
9606
 
 
9607
* New ftp transport support (on ftplib), for ftp:// and aftp://
 
9608
  URLs.  (Daniel Silverstone)
 
9609
 
 
9610
* Commit editor temporary files now start with ``bzr_log.``, to allow
 
9611
  text editors to match the file name and set up appropriate modes or
 
9612
  settings.  (Magnus Therning)
 
9613
 
 
9614
* Improved performance when integrating changes from a remote weave.
 
9615
  (Goffredo Baroncelli)
 
9616
 
 
9617
* Sftp will attempt to cache the connection, so it is more likely that
 
9618
  a connection will be reused, rather than requiring multiple password
 
9619
  requests.
 
9620
 
 
9621
* bzr revno now takes an optional argument indicating the branch whose
 
9622
  revno should be printed.  (Michael Ellerman)
 
9623
 
 
9624
* bzr cat defaults to printing the last version of the file.
 
9625
  (Matthieu Moy, #3632)
 
9626
 
 
9627
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
 
9628
  profiler.  (Denys Duchier)
 
9629
 
 
9630
* Faster commits by reading only the headers of affected weave files.
 
9631
  (Denys Duchier)
 
9632
 
 
9633
* 'bzr add' now takes a --dry-run parameter which shows you what would be
 
9634
  added, but doesn't actually add anything. (Michael Ellerman)
 
9635
 
 
9636
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
9637
  lists the specific files.  (Aaron Bentley)
 
9638
 
 
9639
* 'bzr missing' now supports displaying changes in diverged trees and can
 
9640
  be limited to show what either end of the comparison is missing.
 
9641
  (Aaron Bently, with a little prompting from Daniel Silverstone)
 
9642
 
 
9643
Bug Fixes
 
9644
*********
 
9645
 
 
9646
* SFTP can walk up to the root path without index errors. (Robert Collins)
 
9647
 
 
9648
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
9649
 
 
9650
* Error when run with -OO
 
9651
 
 
9652
* Fix bug in reporting http errors that don't have an http error code.
 
9653
  (Martin Pool)
 
9654
 
 
9655
* Handle more cases of pipe errors in display commands
 
9656
 
 
9657
* Change status to 3 for all errors
 
9658
 
 
9659
* Files that are added and unlinked before committing are completely
 
9660
  ignored by diff and status
 
9661
 
 
9662
* Stores with some compressed texts and some uncompressed texts are now
 
9663
  able to be used. (John A Meinel)
 
9664
 
 
9665
* Fix for bzr pull failing sometimes under windows
 
9666
 
 
9667
* Fix for sftp transport under windows when using interactive auth
 
9668
 
 
9669
* Show files which are both renamed and modified as such in 'bzr
 
9670
  status' output.  (Daniel Silverstone, #4503)
 
9671
 
 
9672
* Make annotate cope better with revisions committed without a valid
 
9673
  email address.  (Marien Zwart)
 
9674
 
 
9675
* Fix representation of tab characters in commit messages.
 
9676
  (Harald Meland)
 
9677
 
 
9678
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
9679
  now parsed properly under Windows. (Alexander Belchenko)
 
9680
 
 
9681
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
9682
 
 
9683
* Keep a cached copy of the basis inventory to speed up operations
 
9684
  that need to refer to it.  (Johan Rydberg, Martin Pool)
 
9685
 
 
9686
* Fix bugs in bzr status display of non-ascii characters.
 
9687
  (Martin Pool)
 
9688
 
 
9689
* Remove Makefile.in from default ignore list.
 
9690
  (Tollef Fog Heen, Martin Pool, #6413)
 
9691
 
 
9692
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
9693
 
 
9694
Testing
 
9695
*******
 
9696
 
 
9697
* Fix selftest asking for passwords when there are no SFTP keys.
 
9698
  (Robey Pointer, Jelmer Vernooij)
 
9699
 
 
9700
* Fix selftest run with 'python -O'.  (Martin Pool)
 
9701
 
 
9702
* Fix HTTP tests under Windows. (John Arbash Meinel)
 
9703
 
 
9704
* Make tests work even if HOME is not set (Aaron Bentley)
 
9705
 
 
9706
* Updated ``build_tree`` to use fixed line-endings for tests which read
 
9707
  the file cotents and compare. Make some tests use this to pass under
 
9708
  Windows. (John Arbash Meinel)
 
9709
 
 
9710
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
9711
 
 
9712
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
9713
  (John Arbash Meinel)
 
9714
 
 
9715
* Use terminal width to align verbose test output.  (Martin Pool)
 
9716
 
 
9717
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
9718
  If adding a new test script please add that to
 
9719
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
9720
 
 
9721
* Much better error message if one of the test suites can't be
 
9722
  imported.  (Martin Pool)
 
9723
 
 
9724
* Make check now runs the test suite twice - once with the default locale,
 
9725
  and once with all locales forced to C, to expose bugs. This is not
 
9726
  trivially done within python, so for now its only triggered by running
 
9727
  Make check. Integrators and packagers who wish to check for full
 
9728
  platform support should run 'make check' to test the source.
 
9729
  (Robert Collins)
 
9730
 
 
9731
* Tests can now run TestSkipped if they can't execute for any reason.
 
9732
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
9733
  reasons - see the wiki spec ImprovingBzrTestSuite).
 
9734
 
 
9735
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
9736
  paths for the transport tests. Introduce blackbox remote sftp tests that
 
9737
  test the same permutations. (Robert Collins, Robey Pointer)
 
9738
 
 
9739
* Transport implementation tests are now independent of the local file
 
9740
  system, which allows tests for esoteric transports, and for features
 
9741
  not available in the local file system. They also repeat for variations
 
9742
  on the URL scheme that can introduce issues in the transport code,
 
9743
  see bzrlib.transport.TransportTestProviderAdapter() for this.
 
9744
  (Robert Collins).
 
9745
 
 
9746
* ``TestCase.build_tree`` uses the transport interface to build trees,
 
9747
  pass in a transport parameter to give it an existing connection.
 
9748
  (Robert Collins).
 
9749
 
 
9750
Internals
 
9751
*********
 
9752
 
 
9753
* WorkingTree.pull has been split across Branch and WorkingTree,
 
9754
  to allow Branch only pulls. (Robert Collins)
 
9755
 
 
9756
* ``commands.display_command`` now returns the result of the decorated
 
9757
  function. (Robert Collins)
 
9758
 
 
9759
* LocationConfig now has a ``set_user_option(key, value)`` call to save
 
9760
  a setting in its matching location section (a new one is created
 
9761
  if needed). (Robert Collins)
 
9762
 
 
9763
* Branch has two new methods, ``get_push_location`` and
 
9764
  ``set_push_location`` to respectively, get and set the push location.
 
9765
  (Robert Collins)
 
9766
 
 
9767
* ``commands.register_command`` now takes an optional flag to signal that
 
9768
  the registrant is planning to decorate an existing command. When
 
9769
  given multiple plugins registering a command is not an error, and
 
9770
  the original command class (whether built in or a plugin based one) is
 
9771
  returned to the caller. There is a new error 'MustUseDecorated' for
 
9772
  signalling when a wrapping command should switch to the original
 
9773
  version. (Robert Collins)
 
9774
 
 
9775
* Some option parsing errors will raise 'BzrOptionError', allowing
 
9776
  granular detection for decorating commands. (Robert Collins).
 
9777
 
 
9778
* ``Branch.read_working_inventory`` has moved to
 
9779
  ``WorkingTree.read_working_inventory``. This necessitated changes to
 
9780
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
9781
  WorkingTree as well. To make it clear that a WorkingTree cannot always
 
9782
  be obtained ``Branch.working_tree()`` will raise
 
9783
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
9784
 
 
9785
* All pending merges operations from Branch are now on WorkingTree.
 
9786
  (Robert Collins)
 
9787
 
 
9788
* The follow operations from Branch have moved to WorkingTree::
 
9789
 
 
9790
      add()
 
9791
      commit()
 
9792
      move()
 
9793
      rename_one()
 
9794
      unknowns()
 
9795
 
 
9796
  (Robert Collins)
 
9797
 
 
9798
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
9799
 
 
9800
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
9801
 
 
9802
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
 
9803
  Pool)
 
9804
 
 
9805
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
 
9806
  query method. (Robert Collins)
 
9807
 
 
9808
* New options to read only the table-of-contents of a weave.
 
9809
  (Denys Duchier)
 
9810
 
 
9811
* Raise NoSuchFile when someone tries to add a non-existant file.
 
9812
  (Michael Ellerman)
 
9813
 
 
9814
* Simplify handling of DivergedBranches in ``cmd_pull()``.
 
9815
  (Michael Ellerman)
 
9816
 
 
9817
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
9818
  is exposed as ``Branch().control_files``. Also this has been altered with the
 
9819
  controlfile pre/suffix replaced by simple method names like 'get' and
 
9820
  'put'. (Aaron Bentley, Robert Collins).
 
9821
 
 
9822
* Deprecated functions and methods can now be marked as such using the
 
9823
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
9824
  updated and will issue a DeprecationWarning using the warnings module
 
9825
  when they are used. (Robert Collins)
 
9826
 
 
9827
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
9828
  for functions that need unicode strings. (Robert Collins)
 
9829
 
 
9830
bzr 0.6
 
9831
#######
 
9832
 
 
9833
:Released: 2005-10-28
 
9834
 
 
9835
Improvements
 
9836
************
 
9837
 
 
9838
* pull now takes --verbose to show you what revisions are added or removed
 
9839
  (John A Meinel)
 
9840
 
 
9841
* merge now takes a --show-base option to include the base text in
 
9842
  conflicts.
 
9843
  (Aaron Bentley)
 
9844
 
 
9845
* The config files are now read using ConfigObj, so '=' should be used as
 
9846
  a separator, not ':'.
 
9847
  (Aaron Bentley)
 
9848
 
 
9849
* New 'bzr commit --strict' option refuses to commit if there are
 
9850
  any unknown files in the tree.  To commit, make sure all files are
 
9851
  either ignored, added, or deleted.  (Michael Ellerman)
 
9852
 
 
9853
* The config directory is now ~/.bazaar, and there is a single file
 
9854
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
9855
  (Robert Collins)
 
9856
 
 
9857
* 'bzr add' no longer takes a --verbose option, and a --quiet option
 
9858
  has been added that suppresses all output.
 
9859
 
 
9860
* Improved zsh completion support in contrib/zsh, from Clint
 
9861
  Adams.
 
9862
 
 
9863
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
 
9864
  Goffredo Baroncelli.
 
9865
 
 
9866
* 'bzr check' now accepts -v for verbose reporting, and checks for
 
9867
  ghosts in the branch. (Robert Collins)
 
9868
 
 
9869
* New command 're-sign' which will regenerate the gpg signature for
 
9870
  a revision. (Robert Collins)
 
9871
 
 
9872
* If you set ``check_signatures=require`` for a path in
 
9873
  ``~/.bazaar/branches.conf`` then bzr will invoke your
 
9874
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
9875
  of your commit. (Robert Collins)
 
9876
 
 
9877
* New sftp transport, based on Paramiko.  (Robey Pointer)
 
9878
 
 
9879
* 'bzr pull' now accepts '--clobber' which will discard local changes
 
9880
  and make this branch identical to the source branch. (Robert Collins)
 
9881
 
 
9882
* Just give a quieter warning if a plugin can't be loaded, and
 
9883
  put the details in .bzr.log.  (Martin Pool)
 
9884
 
 
9885
* 'bzr branch' will now set the branch-name to the last component of the
 
9886
  output directory, if one was supplied.
 
9887
 
 
9888
* If the option ``post_commit`` is set to one (or more) python function
 
9889
  names (must be in the bzrlib namespace), then they will be invoked
 
9890
  after the commit has completed, with the branch and ``revision_id`` as
 
9891
  parameters. (Robert Collins)
 
9892
 
 
9893
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
9894
 
 
9895
* --merge-type weave is now supported for file contents.  Tree-shape
 
9896
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
9897
 
 
9898
* 'bzr check' allows the first revision on revision-history to have
 
9899
  parents - something that is expected for cheap checkouts, and occurs
 
9900
  when conversions from baz do not have all history.  (Robert Collins).
 
9901
 
 
9902
* 'bzr merge' can now graft unrelated trees together, if your specify
 
9903
  0 as a base. (Aaron Bentley)
 
9904
 
 
9905
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
9906
  (Aaron Bentley)
 
9907
 
 
9908
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
9909
 
 
9910
* 'bzr merge --reprocess' minimizes conflicts
 
9911
 
 
9912
Testing
 
9913
*******
 
9914
 
 
9915
* The 'bzr selftest --pattern' option for has been removed, now
 
9916
  test specifiers on the command line can be simple strings, or
 
9917
  regexps, or both. (Robert Collins)
 
9918
 
 
9919
* Passing -v to selftest will now show the time each test took to
 
9920
  complete, which will aid in analysing performance regressions and
 
9921
  related questions. (Robert Collins)
 
9922
 
 
9923
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
9924
  is given. (Martin Pool)
 
9925
 
 
9926
* There is a new method for TestCaseInTempDir, assertFileEqual, which
 
9927
  will check that a given content is equal to the content of the named
 
9928
  file. (Robert Collins)
 
9929
 
 
9930
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
9931
  (Martin Pool)
 
9932
 
 
9933
Internals
 
9934
*********
 
9935
 
 
9936
* New 'testament' command and concept for making gpg-signatures
 
9937
  of revisions that are not tied to a particular internal
 
9938
  representation.  (Martin Pool).
 
9939
 
 
9940
* Per-revision properties ('revprops') as key-value associated
 
9941
  strings on each revision created when the revision is committed.
 
9942
  Intended mainly for the use of external tools.  (Martin Pool).
 
9943
 
 
9944
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
9945
  (Robert Collins)
 
9946
 
 
9947
* Improved command line option definitions allowing explanations
 
9948
  for individual options, among other things.  Contributed by
 
9949
  Magnus Therning.
 
9950
 
 
9951
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
9952
  Configuration is now done via the config.Config interface:
 
9953
  Depending on whether you have a Branch, a Location or no information
 
9954
  available, construct a ``*Config``, and use its ``signature_checking``,
 
9955
  ``username`` and ``user_email`` methods. (Robert Collins)
 
9956
 
 
9957
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
9958
  they are made available for other plugins to use. You should not
 
9959
  import other plugins during the ``__init__`` of your plugin though, as
 
9960
  no ordering is guaranteed, and the plugins directory is not on the
 
9961
  python path. (Robert Collins)
 
9962
 
 
9963
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
9964
  no longer takes an inventory, rather it takes an option branch
 
9965
  parameter, and if None is given will open the branch at basedir
 
9966
  implicitly. (Robert Collins)
 
9967
 
 
9968
* Cleaner exception structure and error reporting.  Suggested by
 
9969
  Scott James Remnant.  (Martin Pool)
 
9970
 
 
9971
* Branch.remove has been moved to WorkingTree, which has also gained
 
9972
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
9973
  (Robert Collins)
 
9974
 
 
9975
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
9976
  added to the branch module. Use these to cause a function to run in a
 
9977
  read or write lock respectively. (Robert Collins)
 
9978
 
 
9979
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
9980
  which allows direct access to the common case of 'get me this file
 
9981
  from its branch'. (Robert Collins)
 
9982
 
 
9983
* Transports can register using ``register_lazy_transport``, and they
 
9984
  will be loaded when first used.  (Martin Pool)
 
9985
 
 
9986
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
9987
  A new option to WorkingTree.pull has been added, clobber, which will
 
9988
  ignore diverged history and pull anyway.
 
9989
  (Robert Collins)
 
9990
 
 
9991
* config.Config has a ``get_user_option`` call that accepts an option name.
 
9992
  This will be looked up in branches.conf and bazaar.conf as normal.
 
9993
  It is intended that this be used by plugins to support options -
 
9994
  options of built in programs should have specific methods on the config.
 
9995
  (Robert Collins)
 
9996
 
 
9997
* ``merge.merge_inner`` now has tempdir as an optional parameter.
 
9998
  (Robert Collins)
 
9999
 
 
10000
* Tree.kind is not recorded at the top level of the hierarchy, as it was
 
10001
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
10002
  (Robert Collins)
 
10003
 
 
10004
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
 
10005
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
10006
  about future directions. (Robert Collins/Martin Pool)
 
10007
 
 
10008
* bzrlib.transport.http has been modified so that only 404 urllib errors
 
10009
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
10010
  This allows debuging of actual errors. (Robert Collins)
 
10011
 
 
10012
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
10013
  to apis like 'put', 'get' and 'has'. This is to provide consistent
 
10014
  behaviour - it operates on url's only. (Robert Collins)
 
10015
 
 
10016
* Transports can register using ``register_lazy_transport``, and they
 
10017
  will be loaded when first used.  (Martin Pool)
 
10018
 
 
10019
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
10020
  is called by ``merge_inner``. This is so that the conflict count can be
 
10021
  retrieved (and potentially manipulated) before returning to the caller
 
10022
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
10023
  caller. (Robert Collins)
 
10024
 
 
10025
* ``revision.revision_graph`` can handle having only partial history for
 
10026
  a revision - that is no revisions in the graph with no parents.
 
10027
  (Robert Collins).
 
10028
 
 
10029
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
10030
  produce a branch and a list of paths, relative to that branch
 
10031
  (Aaron Bentley)
 
10032
 
 
10033
* New TestCase.addCleanup facility.
 
10034
 
 
10035
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
10036
  which can be used by programs importing bzrlib.
 
10037
 
 
10038
Bug Fixes
 
10039
*********
 
10040
 
 
10041
* Better handling of branches in directories with non-ascii names.
 
10042
  (Joel Rosdahl, Panagiotis Papadakos)
 
10043
 
 
10044
* Upgrades of trees with no commits will not fail due to accessing
 
10045
  [-1] in the revision-history. (Andres Salomon)
 
10046
 
 
10047
 
 
10048
bzr 0.1.1
 
10049
#########
 
10050
 
 
10051
:Released: 2005-10-12
 
10052
 
 
10053
Bug Fixes
 
10054
*********
 
10055
 
 
10056
* Fix problem in pulling over http from machines that do not
 
10057
  allow directories to be listed.
 
10058
 
 
10059
* Avoid harmless warning about invalid hash cache after
 
10060
  upgrading branch format.
 
10061
 
 
10062
Performance
 
10063
***********
 
10064
 
 
10065
* Avoid some unnecessary http operations in branch and pull.
 
10066
 
 
10067
 
 
10068
bzr 0.1
 
10069
#######
 
10070
 
 
10071
:Released: 2005-10-11
 
10072
 
 
10073
Notes
 
10074
*****
 
10075
 
 
10076
* 'bzr branch' over http initially gives a very high estimate
 
10077
  of completion time but it should fall as the first few
 
10078
  revisions are pulled in.  branch is still slow on
 
10079
  high-latency connections.
 
10080
 
 
10081
Bug Fixes
 
10082
*********
 
10083
 
 
10084
* bzr-man.py has been updated to work again. Contributed by
 
10085
  Rob Weir.
 
10086
 
 
10087
* Locking is now done with fcntl.lockf which works with NFS
 
10088
  file systems. Contributed by Harald Meland.
 
10089
 
 
10090
* When a merge encounters a file that has been deleted on
 
10091
  one side and modified on the other, the old contents are
 
10092
  written out to foo.BASE and foo.SIDE, where SIDE is this
 
10093
  or OTHER. Contributed by Aaron Bentley.
 
10094
 
 
10095
* Export was choosing incorrect file paths for the content of
 
10096
  the tarball, this has been fixed by Aaron Bentley.
 
10097
 
 
10098
* Commit will no longer commit without a log message, an
 
10099
  error is returned instead. Contributed by Jelmer Vernooij.
 
10100
 
 
10101
* If you commit a specific file in a sub directory, any of its
 
10102
  parent directories that are added but not listed will be
 
10103
  automatically included. Suggested by Michael Ellerman.
 
10104
 
 
10105
* bzr commit and upgrade did not correctly record new revisions
 
10106
  for files with only a change to their executable status.
 
10107
  bzr will correct this when it encounters it. Fixed by
 
10108
  Robert Collins
 
10109
 
 
10110
* HTTP tests now force off the use of ``http_proxy`` for the duration.
 
10111
  Contributed by Gustavo Niemeyer.
 
10112
 
 
10113
* Fix problems in merging weave-based branches that have
 
10114
  different partial views of history.
 
10115
 
 
10116
* Symlink support: working with symlinks when not in the root of a
 
10117
  bzr tree was broken, patch from Scott James Remnant.
 
10118
 
 
10119
Improvements
 
10120
************
 
10121
 
 
10122
* 'branch' now accepts a --basis parameter which will take advantage
 
10123
  of local history when making a new branch. This allows faster
 
10124
  branching of remote branches. Contributed by Aaron Bentley.
 
10125
 
 
10126
* New tree format based on weave files, called version 5.
 
10127
  Existing branches can be upgraded to this format using
 
10128
  'bzr upgrade'.
 
10129
 
 
10130
* Symlinks are now versionable. Initial patch by
 
10131
  Erik Toubro Nielsen, updated to head by Robert Collins.
 
10132
 
 
10133
* Executable bits are tracked on files. Patch from Gustavo
 
10134
  Niemeyer.
 
10135
 
 
10136
* 'bzr status' now shows unknown files inside a selected directory.
 
10137
  Patch from Heikki Paajanen.
 
10138
 
 
10139
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
10140
  and 'resolve' have needed added, which list and remove those
 
10141
  merge conflicts respectively. A conflicted tree cannot be committed
 
10142
  in. Contributed by Aaron Bentley.
 
10143
 
 
10144
* 'rm' is now an alias for 'remove'.
 
10145
 
 
10146
* Stores now split out their content in a single byte prefixed hash,
 
10147
  dropping the density of files per directory by 256. Contributed by
 
10148
  Gustavo Niemeyer.
 
10149
 
 
10150
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
10151
  Contributed by Robert Collins.
 
10152
 
 
10153
* 'bzr log' with the default formatter will show merged revisions,
 
10154
  indented to the right. Initial implementation contributed by Gustavo
 
10155
  Niemeyer, made incremental by Robert Collins.
 
10156
 
 
10157
 
 
10158
Internals
 
10159
*********
 
10160
 
 
10161
* Test case failures have the exception printed after the log
 
10162
  for your viewing pleasure.
 
10163
 
 
10164
* InventoryEntry is now an abstract base class, use one of the
 
10165
  concrete InventoryDirectory etc classes instead.
 
10166
 
 
10167
* Branch raises an UnsupportedFormatError when it detects a
 
10168
  bzr branch it cannot understand. This allows for precise
 
10169
  handling of such circumstances.
 
10170
 
 
10171
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
10172
  list of their ids and ``parent_sha1s`` is a list of their corresponding
 
10173
  sha1s (for old branches only at the moment.)
 
10174
 
 
10175
* New method-object style interface for Commit() and Fetch().
 
10176
 
 
10177
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
10178
  we call them revisions not patches.
 
10179
 
 
10180
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
10181
  directory is created if it doesn't exist.
 
10182
 
 
10183
* Inventories now identify the files which were present by
 
10184
  giving the revision *of that file*.
 
10185
 
 
10186
* Inventory and Revision XML contains a version identifier.
 
10187
  This must be consistent with the overall branch version
 
10188
  but allows for more flexibility in future upgrades.
 
10189
 
 
10190
Testing
 
10191
*******
 
10192
 
 
10193
* Removed testsweet module so that tests can be run after
 
10194
  bzr installed by 'bzr selftest'.
 
10195
 
 
10196
* 'bzr selftest' command-line arguments can now be partial ids
 
10197
  of tests to run, e.g. ``bzr selftest test_weave``
 
10198
 
 
10199
 
 
10200
bzr 0.0.9
 
10201
#########
 
10202
 
 
10203
:Released: 2005-09-23
 
10204
 
 
10205
Bug Fixes
 
10206
*********
 
10207
 
 
10208
* Fixed "branch -r" option.
 
10209
 
 
10210
* Fix remote access to branches containing non-compressed history.
 
10211
  (Robert Collins).
 
10212
 
 
10213
* Better reliability of http server tests.  (John Arbash-Meinel)
 
10214
 
 
10215
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
10216
 
 
10217
* Various minor bug in windows support have been fixed, largely in the
 
10218
  test suite. Contributed by Alexander Belchenko.
 
10219
 
 
10220
Improvements
 
10221
************
 
10222
 
 
10223
* Status now accepts a -r argument to give status between chosen
 
10224
  revisions. Contributed by Heikki Paajanen.
 
10225
 
 
10226
* Revision arguments no longer use +/-/= to control ranges, instead
 
10227
  there is a 'before' namespace, which limits the successive namespace.
 
10228
  For example '$ bzr log -r date:yesterday..before:date:today' will
 
10229
  select everything from yesterday and before today. Contributed by
 
10230
  Robey Pointer
 
10231
 
 
10232
* There is now a bzr.bat file created by distutils when building on
 
10233
  Windows. Contributed by Alexander Belchenko.
 
10234
 
 
10235
Internals
 
10236
*********
 
10237
 
 
10238
* Removed uuid() as it was unused.
 
10239
 
 
10240
* Improved 'fetch' code for pulling revisions from one branch into
 
10241
  another (used by pull, merged, etc.)
 
10242
 
 
10243
 
 
10244
bzr 0.0.8
 
10245
#########
 
10246
 
 
10247
:Released: 2005-09-20
 
10248
 
 
10249
 
 
10250
Improvements
 
10251
************
 
10252
 
 
10253
* Adding a file whose parent directory is not versioned will
 
10254
  implicitly add the parent, and so on up to the root. This means
 
10255
  you should never need to explictly add a directory, they'll just
 
10256
  get added when you add a file in the directory.  Contributed by
 
10257
  Michael Ellerman.
 
10258
 
 
10259
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
10260
  (Nir Soffer)
 
10261
 
 
10262
* If you set ``BZR_EDITOR`` in the environment, it is checked in
 
10263
  preference to EDITOR and the config file for the interactive commit
 
10264
  editing program. Related to this is a bugfix where a missing program
 
10265
  set in EDITOR would cause editing to fail, now the fallback program
 
10266
  for the operating system is still tried.
 
10267
 
 
10268
* Files that are not directories/symlinks/regular files will no longer
 
10269
  cause bzr to fail, it will just ignore them by default. You cannot add
 
10270
  them to the tree though - they are not versionable.
 
10271
 
 
10272
 
 
10273
Internals
 
10274
*********
 
10275
 
 
10276
* Refactor xml packing/unpacking.
 
10277
 
 
10278
Bug Fixes
 
10279
*********
 
10280
 
 
10281
* Fixed 'bzr mv' by Ollie Rutherfurd.
 
10282
 
 
10283
* Fixed strange error when trying to access a nonexistent http
 
10284
  branch.
 
10285
 
 
10286
* Make sure that the hashcache gets written out if it can't be
 
10287
  read.
 
10288
 
 
10289
 
 
10290
Portability
 
10291
***********
 
10292
 
 
10293
* Various Windows fixes from Ollie Rutherfurd.
 
10294
 
 
10295
* Quieten warnings about locking; patch from Matt Lavin.
 
10296
 
 
10297
 
 
10298
bzr-0.0.7
 
10299
#########
 
10300
 
 
10301
:Released: 2005-09-02
 
10302
 
 
10303
New Features
 
10304
************
 
10305
 
 
10306
* ``bzr shell-complete`` command contributed by Clint Adams to
 
10307
  help with intelligent shell completion.
 
10308
 
 
10309
* New expert command ``bzr find-merge-base`` for debugging merges.
 
10310
 
 
10311
 
 
10312
Enhancements
 
10313
************
 
10314
 
 
10315
* Much better merge support.
 
10316
 
 
10317
* merge3 conflicts are now reported with markers like '<<<<<<<'
 
10318
  (seven characters) which is the same as CVS and pleases things
 
10319
  like emacs smerge.
 
10320
 
 
10321
 
 
10322
Bug Fixes
 
10323
*********
 
10324
 
 
10325
* ``bzr upgrade`` no longer fails when trying to fix trees that
 
10326
  mention revisions that are not present.
 
10327
 
 
10328
* Fixed bugs in listing plugins from ``bzr plugins``.
 
10329
 
 
10330
* Fix case of $EDITOR containing options for the editor.
 
10331
 
 
10332
* Fix log -r refusing to show the last revision.
 
10333
  (Patch from Goffredo Baroncelli.)
 
10334
 
 
10335
 
 
10336
Changes
 
10337
*******
 
10338
 
 
10339
* ``bzr log --show-ids`` shows the revision ids of all parents.
 
10340
 
 
10341
* Externally provided commands on your $BZRPATH no longer need
 
10342
  to recognize --bzr-usage to work properly, and can just handle
 
10343
  --help themselves.
 
10344
 
 
10345
 
 
10346
Library
 
10347
*******
 
10348
 
 
10349
* Changed trace messages to go through the standard logging
 
10350
  framework, so that they can more easily be redirected by
 
10351
  libraries.
 
10352
 
 
10353
 
 
10354
 
 
10355
bzr-0.0.6
 
10356
#########
 
10357
 
 
10358
:Released: 2005-08-18
 
10359
 
 
10360
New Features
 
10361
************
 
10362
 
 
10363
* Python plugins, automatically loaded from the directories on
 
10364
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
10365
 
 
10366
* New 'bzr mkdir' command.
 
10367
 
 
10368
* Commit mesage is fetched from an editor if not given on the
 
10369
  command line; patch from Torsten Marek.
 
10370
 
 
10371
* ``bzr log -m FOO`` displays commits whose message matches regexp
 
10372
  FOO.
 
10373
 
 
10374
* ``bzr add`` with no arguments adds everything under the current directory.
 
10375
 
 
10376
* ``bzr mv`` does move or rename depending on its arguments, like
 
10377
  the Unix command.
 
10378
 
 
10379
* ``bzr missing`` command shows a summary of the differences
 
10380
  between two trees.  (Merged from John Arbash-Meinel.)
 
10381
 
 
10382
* An email address for commits to a particular tree can be
 
10383
  specified by putting it into .bzr/email within a branch.  (Based
 
10384
  on a patch from Heikki Paajanen.)
 
10385
 
 
10386
 
 
10387
Enhancements
 
10388
************
 
10389
 
 
10390
* Faster working tree operations.
 
10391
 
 
10392
 
 
10393
Changes
 
10394
*******
 
10395
 
 
10396
* 3rd-party modules shipped with bzr are copied within the bzrlib
 
10397
  python package, so that they can be installed by the setup
 
10398
  script without clashing with anything already existing on the
 
10399
  system.  (Contributed by Gustavo Niemeyer.)
 
10400
 
 
10401
* Moved plugins directory to bzrlib/, so that there's a standard
 
10402
  plugin directory which is not only installed with bzr itself but
 
10403
  is also available when using bzr from the development tree.
 
10404
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
10405
  standard plugins directory.
 
10406
 
 
10407
* When exporting to a tarball with ``bzr export --format tgz``, put
 
10408
  everything under a top directory rather than dumping it into the
 
10409
  current directory.   This can be overridden with the ``--root``
 
10410
  option.  Patch from William Dodé and John Meinel.
 
10411
 
 
10412
* New ``bzr upgrade`` command to upgrade the format of a branch,
 
10413
  replacing ``bzr check --update``.
 
10414
 
 
10415
* Files within store directories are no longer marked readonly on
 
10416
  disk.
 
10417
 
 
10418
* Changed ``bzr log`` output to a more compact form suggested by
 
10419
  John A Meinel.  Old format is available with the ``--long`` or
 
10420
  ``-l`` option, patched by William Dodé.
 
10421
 
 
10422
* By default the commit command refuses to record a revision with
 
10423
  no changes unless the ``--unchanged`` option is given.
 
10424
 
 
10425
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
10426
  line options must come before the command name because they
 
10427
  affect what commands are available; all other options must come
 
10428
  after the command name because their interpretation depends on
 
10429
  it.
 
10430
 
 
10431
* ``branch`` and ``clone`` added as aliases for ``branch``.
 
10432
 
 
10433
* Default log format is back to the long format; the compact one
 
10434
  is available with ``--short``.
 
10435
 
 
10436
 
 
10437
Bug Fixes
 
10438
*********
 
10439
 
 
10440
* Fix bugs in committing only selected files or within a subdirectory.
 
10441
 
 
10442
 
 
10443
bzr-0.0.5
 
10444
#########
 
10445
 
 
10446
:Released:  2005-06-15
 
10447
 
 
10448
Changes
 
10449
*******
 
10450
 
 
10451
* ``bzr`` with no command now shows help rather than giving an
 
10452
  error.  Suggested by Michael Ellerman.
 
10453
 
 
10454
* ``bzr status`` output format changed, because svn-style output
 
10455
  doesn't really match the model of bzr.  Now files are grouped by
 
10456
  status and can be shown with their IDs.  ``bzr status --all``
 
10457
  shows all versioned files and unknown files but not ignored files.
 
10458
 
 
10459
* ``bzr log`` runs from most-recent to least-recent, the reverse
 
10460
  of the previous order.  The previous behaviour can be obtained
 
10461
  with the ``--forward`` option.
 
10462
 
 
10463
* ``bzr inventory`` by default shows only filenames, and also ids
 
10464
  if ``--show-ids`` is given, in which case the id is the second
 
10465
  field.
 
10466
 
 
10467
 
 
10468
Enhancements
 
10469
************
 
10470
 
 
10471
* New 'bzr whoami --email' option shows only the email component
 
10472
  of the user identification, from Jo Vermeulen.
 
10473
 
 
10474
* New ``bzr ignore PATTERN`` command.
 
10475
 
 
10476
* Nicer error message for broken pipe, interrupt and similar
 
10477
  conditions that don't indicate an internal error.
 
10478
 
 
10479
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
10480
 
 
10481
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
10482
  either read or write mode.
 
10483
 
 
10484
* New option ``bzr log --show-ids`` shows revision and file ids.
 
10485
 
 
10486
* New usage ``bzr log FILENAME`` shows only revisions that
 
10487
  affected that file.
 
10488
 
 
10489
* Changed format for describing changes in ``bzr log -v``.
 
10490
 
 
10491
* New option ``bzr commit --file`` to take a message from a file,
 
10492
  suggested by LarstiQ.
 
10493
 
 
10494
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
10495
  Oler.  File may be in a branch other than the working directory.
 
10496
 
 
10497
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
10498
  a filename.
 
10499
 
 
10500
* Commands can now be defined by external programs or scripts
 
10501
  in a directory on $BZRPATH.
 
10502
 
 
10503
* New "stat cache" avoids reading the contents of files if they
 
10504
  haven't changed since the previous time.
 
10505
 
 
10506
* If the Python interpreter is too old, try to find a better one
 
10507
  or give an error.  Based on a patch from Fredrik Lundh.
 
10508
 
 
10509
* New optional parameter ``bzr info [BRANCH]``.
 
10510
 
 
10511
* New form ``bzr commit SELECTED`` to commit only selected files.
 
10512
 
 
10513
* New form ``bzr log -r FROM:TO`` shows changes in selected
 
10514
  range; contributed by John A Meinel.
 
10515
 
 
10516
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
10517
  options through to an external GNU diff.
 
10518
 
 
10519
* New option ``bzr add --no-recurse`` to add a directory but not
 
10520
  their contents.
 
10521
 
 
10522
* ``bzr --version`` now shows more information if bzr is being run
 
10523
  from a branch.
 
10524
 
 
10525
 
 
10526
Bug Fixes
 
10527
*********
 
10528
 
 
10529
* Fixed diff format so that added and removed files will be
 
10530
  handled properly by patch.  Fix from Lalo Martins.
 
10531
 
 
10532
* Various fixes for files whose names contain spaces or other
 
10533
  metacharacters.
 
10534
 
 
10535
 
 
10536
Testing
 
10537
*******
 
10538
 
 
10539
* Converted black-box test suites from Bourne shell into Python;
 
10540
  now run using ``./testbzr``.  Various structural improvements to
 
10541
  the tests.
 
10542
 
 
10543
* testbzr by default runs the version of bzr found in the same
 
10544
  directory as the tests, or the one given as the first parameter.
 
10545
 
 
10546
* testbzr also runs the internal tests, so the only command
 
10547
  required to check is just ``./testbzr``.
 
10548
 
 
10549
* testbzr requires python2.4, but can be used to test bzr running
 
10550
  under a different version.
 
10551
 
 
10552
* Tests added for many other changes in this release.
 
10553
 
 
10554
 
 
10555
Internal
 
10556
********
 
10557
 
 
10558
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
10559
 
 
10560
* Refactor command functions into Command objects based on HCT by
 
10561
  Scott James Remnant.
 
10562
 
 
10563
* Better help messages for many commands.
 
10564
 
 
10565
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
10566
  this is called trace messages are just discarded.
 
10567
 
 
10568
* New internal function ``find_touching_revisions()`` and hidden
 
10569
  command touching-revisions trace the changes to a given file.
 
10570
 
 
10571
* Simpler and faster ``compare_inventories()`` function.
 
10572
 
 
10573
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
10574
 
 
10575
* New AtomicFile class.
 
10576
 
 
10577
* New developer commands ``added``, ``modified``.
 
10578
 
 
10579
 
 
10580
Portability
 
10581
***********
 
10582
 
 
10583
* Cope on Windows on python2.3 by using the weaker random seed.
 
10584
  2.4 is now only recommended.
 
10585
 
 
10586
 
 
10587
bzr-0.0.4
 
10588
#########
 
10589
 
 
10590
:Released:  2005-04-22
 
10591
 
 
10592
Enhancements
 
10593
************
 
10594
 
 
10595
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
10596
  basic.  Patch from QuantumG.
 
10597
 
 
10598
* More default ignore patterns.
 
10599
 
 
10600
* New 'bzr log --verbose' shows a list of files changed in the
 
10601
  changeset.  Patch from Sebastian Cote.
 
10602
 
 
10603
* Roll over ~/.bzr.log if it gets too large.
 
10604
 
 
10605
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
10606
  by Jason Diamon.
 
10607
 
 
10608
* New 'bzr help commands' based on a patch from Denys Duchier.
 
10609
 
 
10610
 
 
10611
Changes
 
10612
*******
 
10613
 
 
10614
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
10615
  or $EMAIL.  All are decoded by the locale preferred encoding.
 
10616
  If none of these are present user@hostname is used.  The host's
 
10617
  fully-qualified name is not used because that tends to fail when
 
10618
  there are DNS problems.
 
10619
 
 
10620
* New 'bzr whoami' command instead of username user-email.
 
10621
 
 
10622
 
 
10623
Bug Fixes
 
10624
*********
 
10625
 
 
10626
* Make commit safe for hardlinked bzr trees.
 
10627
 
 
10628
* Some Unicode/locale fixes.
 
10629
 
 
10630
* Partial workaround for ``difflib.unified_diff`` not handling
 
10631
  trailing newlines properly.
 
10632
 
 
10633
 
 
10634
Internal
 
10635
********
 
10636
 
 
10637
* Allow docstrings for help to be in PEP0257 format.  Patch from
 
10638
  Matt Brubeck.
 
10639
 
 
10640
* More tests in test.sh.
 
10641
 
 
10642
* Write profile data to a temporary file not into working
 
10643
  directory and delete it when done.
 
10644
 
 
10645
* Smaller .bzr.log with process ids.
 
10646
 
 
10647
 
 
10648
Portability
 
10649
***********
 
10650
 
 
10651
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
10652
  Bennetts.
 
10653
 
 
10654
* Some improvements in handling paths on Windows, based on a patch
 
10655
  from QuantumG.
 
10656
 
 
10657
 
 
10658
bzr-0.0.3
 
10659
#########
 
10660
 
 
10661
:Released:  2005-04-06
 
10662
 
 
10663
Enhancements
 
10664
************
 
10665
 
 
10666
* New "directories" internal command lists versioned directories
 
10667
  in the tree.
 
10668
 
 
10669
* Can now say "bzr commit --help".
 
10670
 
 
10671
* New "rename" command to rename one file to a different name
 
10672
  and/or directory.
 
10673
 
 
10674
* New "move" command to move one or more files into a different
 
10675
  directory.
 
10676
 
 
10677
* New "renames" command lists files renamed since base revision.
 
10678
 
 
10679
* New cat command contributed by janmar.
 
10680
 
 
10681
Changes
 
10682
*******
 
10683
 
 
10684
* .bzr.log is placed in $HOME (not pwd) and is always written in
 
10685
  UTF-8.  (Probably not a completely good long-term solution, but
 
10686
  will do for now.)
 
10687
 
 
10688
Portability
 
10689
***********
 
10690
 
 
10691
* Workaround for difflib bug in Python 2.3 that causes an
 
10692
  exception when comparing empty files.  Reported by Erik Toubro
 
10693
  Nielsen.
 
10694
 
 
10695
Internal
 
10696
********
 
10697
 
 
10698
* Refactored inventory storage to insert a root entry at the top.
 
10699
 
 
10700
Testing
 
10701
*******
 
10702
 
 
10703
* Start of shell-based black-box testing in test.sh.
 
10704
 
 
10705
 
 
10706
bzr-0.0.2.1
 
10707
###########
 
10708
 
 
10709
Portability
 
10710
***********
 
10711
 
 
10712
* Win32 fixes from Steve Brown.
 
10713
 
 
10714
 
 
10715
bzr-0.0.2
 
10716
#########
 
10717
 
 
10718
:Codename: "black cube"
 
10719
:Released: 2005-03-31
 
10720
 
 
10721
Enhancements
 
10722
************
 
10723
 
 
10724
* Default ignore list extended (see bzrlib/__init__.py).
 
10725
 
 
10726
* Patterns in .bzrignore are now added to the default ignore list,
 
10727
  rather than replacing it.
 
10728
 
 
10729
* Ignore list isn't reread for every file.
 
10730
 
 
10731
* More help topics.
 
10732
 
 
10733
* Reinstate the 'bzr check' command to check invariants of the
 
10734
  branch.
 
10735
 
 
10736
* New 'ignored' command lists which files are ignored and why;
 
10737
  'deleted' lists files deleted in the current working tree.
 
10738
 
 
10739
* Performance improvements.
 
10740
 
 
10741
* New global --profile option.
 
10742
 
 
10743
* Ignore patterns like './config.h' now correctly match files in
 
10744
  the root directory only.
 
10745
 
 
10746
 
 
10747
bzr-0.0.1
 
10748
#########
 
10749
 
 
10750
:Released:  2005-03-26
 
10751
 
 
10752
Enhancements
 
10753
************
 
10754
 
 
10755
* More information from info command.
 
10756
 
 
10757
* Can now say "bzr help COMMAND" for more detailed help.
 
10758
 
 
10759
* Less file flushing and faster performance when writing logs and
 
10760
  committing to stores.
 
10761
 
 
10762
* More useful verbose output from some commands.
 
10763
 
 
10764
Bug Fixes
 
10765
*********
 
10766
 
 
10767
* Fix inverted display of 'R' and 'M' during 'commit -v'.
 
10768
 
 
10769
Portability
 
10770
***********
 
10771
 
 
10772
* Include a subset of ElementTree-1.2.20040618 to make
 
10773
  installation easier.
 
10774
 
 
10775
* Fix time.localtime call to work with Python 2.3 (the minimum
 
10776
  supported).
 
10777
 
 
10778
 
 
10779
bzr-0.0.0.69
 
10780
############
 
10781
 
 
10782
:Released:  2005-03-22
 
10783
 
 
10784
Enhancements
 
10785
************
 
10786
 
 
10787
* First public release.
 
10788
 
 
10789
* Storage of local versions: init, add, remove, rm, info, log,
 
10790
  diff, status, etc.
 
10791
 
 
10792
..
 
10793
   vim: tw=74 ft=rst ff=unix