/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: John Arbash Meinel
  • Date: 2009-09-22 02:18:24 UTC
  • mto: This revision was merged to the branch mainline in revision 4709.
  • Revision ID: john@arbash-meinel.com-20090922021824-j3en52uqoof7ym89
Remove some assert statements.

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
* ``bzrlib.user_encoding`` has been removed; use
 
128
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
 
129
 
 
130
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
131
  subclasses - the same as python's unittest module. (Robert Collins)
 
132
 
 
133
Internals
 
134
*********
 
135
 
 
136
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
137
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
138
  This results in a 10% speedup while reading an index.
 
139
  (John Arbash Meinel)
 
140
 
 
141
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
142
  profiling in some situations like callbacks and generators easier.
 
143
  (Robert Collins)
 
144
 
 
145
Testing
 
146
*******
 
147
 
 
148
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
149
  be output for every test. Note that this is very verbose! (Robert Collins)
 
150
 
 
151
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
 
152
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
 
153
 
 
154
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
155
  to be parameterised. This is not expected to break external use of test
 
156
  parameterisation, and is substantially faster. (Robert Collins)
 
157
 
 
158
* Tests that try to open a bzr dir on an arbitrary transport will now
 
159
  fail unless they have explicitly permitted the transport via
 
160
  ``self.permit_url``. The standard test factories such as ``self.get_url``
 
161
  will permit the urls they provide automatically, so only exceptional
 
162
  tests should need to do this. (Robert Collins)
 
163
 
 
164
* The full test suite is expected to pass when the C extensions are not
 
165
  present. (Vincent Ladeuil, #430749)
 
166
 
 
167
 
 
168
bzr 2.0.1 (Not Released Yet)
 
169
############################
 
170
 
 
171
Bug Fixes
 
172
*********
 
173
 
 
174
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
175
  object when doing a merge, and there is limbo, or pending-deletions
 
176
  directory.  (Gary van der Merwe, #427773)
 
177
 
 
178
 
 
179
bzr 2.0.0 (Not Released Yet)
 
180
############################
 
181
 
 
182
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
183
  that "want to happen on the 2.0.x stable series" versus things that want
 
184
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
185
  micro = 0.) (John Arbash Meinel)
 
186
 
 
187
 
 
188
bzr 2.0.0rc2
 
189
############
 
190
 
 
191
:2.0.0rc2: 2009-09-10
 
192
 
 
193
New Features
 
194
************
 
195
 
 
196
* Added post_commit hook for mutable trees. This allows the keywords
 
197
  plugin to expand keywords on files changed by the commit.
 
198
  (Ian Clatworthy, #408841)
 
199
 
 
200
Bug Fixes
 
201
*********
 
202
 
 
203
* Bazaar's native protocol code now correctly handles EINTR, which most
 
204
  noticeably occurs if you break in to the debugger while connected to a
 
205
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
206
  'c') and the process continues.  However, note that pressing C-\ in the
 
207
  shell may still kill the SSH process, which is bug 162509, so you must
 
208
  sent a signal to the bzr process specifically, for example by typing
 
209
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
210
 
 
211
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
212
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
213
  (Robert Collins, #416732)
 
214
 
 
215
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
216
  format" (John Arbash Meinel, #424392)
 
217
 
 
218
* ``bzr log stacked-branch`` shows the full log including
 
219
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
220
  (John Arbash Meinel, #419241)
 
221
 
 
222
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
223
  traceback.  (Martin Pool, #109115)
 
224
 
 
225
* Conversion to 2a will create a single pack for all the new revisions (as
 
226
  long as it ran without interruption). This improves both ``bzr upgrade``
 
227
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
228
  The autopack logic that occurs every 100 revisions during local
 
229
  conversions was not returning that pack's identifier, which resulted in
 
230
  the partial packs created during the conversion not being consolidated
 
231
  at the end of the conversion process. (Robert Collins, #423818)
 
232
 
 
233
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
234
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
235
  This means that when the source is fully packed, there is minimal
 
236
  overhead during the fetch, but if the source is poorly packed the result
 
237
  is a fairly well packed repository (not as good as 'bzr pack' but
 
238
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
239
 
 
240
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
241
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
242
  (John Arbash Meinel, #419241)
 
243
 
 
244
* ``groupcompress`` sort order is now more stable, rather than relying on
 
245
  ``topo_sort`` ordering. The implementation is now
 
246
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
247
 
 
248
* Local data conversion will generate correct deltas. This is a critical
 
249
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
250
  converting repositories. (Robert Collins, #422849)
 
251
 
 
252
* Network streams now decode adjacent records of the same type into a
 
253
  single stream, reducing layering churn. (Robert Collins)
 
254
 
 
255
* Prevent some kinds of incomplete data from being committed to a 2a
 
256
  repository, such as revisions without inventories, a missing chk_bytes
 
257
  record for an inventory, or a missing text referenced by an inventory.
 
258
  (Andrew Bennetts, #423506, #406687)
 
259
  
 
260
Documentation
 
261
*************
 
262
 
 
263
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
264
  older smart servers.
 
265
  (Andrew Bennetts, #418931)
 
266
 
 
267
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
268
  currently supported. (Ian Clatworthy, #422415)
 
269
 
 
270
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
271
  user documentation. The HTML documentation is better broken up into
 
272
  topics. (Ian Clatworthy)
 
273
 
 
274
* The developer and foreign language documents are now separated
 
275
  out so that searching in the HTML and CHM files produces more
 
276
  useful results. (Ian Clatworthy)
 
277
 
 
278
* The main table of contents now provides links to the new Migration Docs
 
279
  and Plugins Guide. (Ian Clatworthy)
 
280
 
 
281
 
 
282
bzr 2.0.0rc1
 
283
############
 
284
 
 
285
:Codename: no worries
 
286
:2.0.0rc1: 2009-08-26
 
287
 
 
288
This release of Bazaar makes 2a 'brisbane-core' format the
 
289
default.  Most of the work in this release now focuses on bug
 
290
fixes and stabilization, covering both 2a and previous formats.
 
291
 
 
292
The Bazaar team decided that 2.0 will be a long-term supported
 
293
release, with bugfix-only releases based on it, continuing for at
 
294
least six months or until the following stable release.
 
295
 
 
296
Compatibility Breaks
 
297
********************
 
298
 
 
299
* The default format for bzr is now ``2a``. This format brings many
 
300
  significant performance and size improvements. bzr can pull from
 
301
  any existing repository into a ``2a`` one, but can only transfer
 
302
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
303
  has more information about this change. (Robert Collins)
 
304
 
 
305
* On Windows auto-detection of Putty's plink.exe is disabled.
 
306
  Default SSH client for Windows is paramiko. User still can force
 
307
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
308
  (#414743, Alexander Belchenko)
 
309
 
 
310
New Features
 
311
************
 
312
 
 
313
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
314
  to the newly created branch. (Lukáš Lalinský)
 
315
 
 
316
Bug Fixes
 
317
*********
 
318
 
 
319
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
320
  (Jason Spashett, #76616)
 
321
 
 
322
* Fetches were being requested in 'groupcompress' order, but weren't
 
323
  recombining the groups. Thus they would 'fragment' to get the correct
 
324
  order, but not 'recombine' to actually benefit from it. Until we get
 
325
  recombining to work, switching to 'unordered' fetches avoids the
 
326
  fragmentation. (John Arbash Meinel, #402645)
 
327
 
 
328
* Fix a pycurl related test failure on karmic by recognizing an error
 
329
  raised by newer versions of pycurl.
 
330
  (Vincent Ladeuil, #306264)
 
331
 
 
332
* Fix a test failure on karmic by making a locale test more robust.
 
333
  (Vincent Ladeuil, #413514)
 
334
 
 
335
* Fix IndexError printing CannotBindAddress errors.
 
336
  (Martin Pool, #286871)
 
337
 
 
338
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
339
  or when doing fetches from a stacked source to a stacked target.
 
340
  (Andrew Bennetts, #399140)
 
341
 
 
342
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
343
  batches together small fetches from 2a repositories, rather than
 
344
  fetching only a few hundred bytes at a time.
 
345
  (Andrew Bennetts, #402657)
 
346
 
 
347
Improvements
 
348
************
 
349
 
 
350
* A better description of the platform is shown in crash tracebacks, ``bzr
 
351
  --version`` and ``bzr selftest``.
 
352
  (Martin Pool, #409137)
 
353
 
 
354
* bzr can now (again) capture crash data through the apport library, 
 
355
  so that a single human-readable file can be attached to bug reports.
 
356
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
357
  putting ``no_apport`` into the ``debug_flags`` section of
 
358
  ``bazaar.conf``.
 
359
  (Martin Pool, Robert Collins, #389328)
 
360
 
 
361
* ``bzr push`` locally on windows will no longer give a locking error with
 
362
  dirstate based formats. (Robert Collins)
 
363
 
 
364
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
365
  (Robert Collins, #305006)
 
366
 
 
367
* Commit of specific files no longer prevents using the the iter_changes
 
368
  codepath. On 2a repositories, commit of specific files should now be as
 
369
  fast, or slightly faster, than a full commit. (Robert Collins)
 
370
 
 
371
* The internal core code that handles specific file operations like
 
372
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
373
  include the parent directories if they have altered, and when a
 
374
  directory stops being a directory its children are always included. This
 
375
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
376
  faster commit of specific paths. (Robert Collins, #347649)
 
377
 
 
378
Documentation
 
379
*************
 
380
 
 
381
* New developer documentation for content filtering.
 
382
  (Martin Pool)
 
383
 
 
384
API Changes
 
385
***********
 
386
 
 
387
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
388
  classes changed to manage lock lifetime of the trees they open in a way
 
389
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
390
 
 
391
Testing
 
392
*******
 
393
 
 
394
bzr 1.18.1
 
395
##########
 
396
 
 
397
:Codename:     nein nein nein!
 
398
:1.18.1:       2009-09-09
 
399
 
 
400
This release fixes two small but worthwhile bugs relevant to users on
 
401
Microsoft Windows: some commands that failed on with locking errors will
 
402
now work, and a bug that caused poor performance after committing a file
 
403
with line-ending conversion has now been fixed.  It also fixes a bug in
 
404
pushing to older servers.
 
405
 
 
406
Bug Fixes
 
407
*********
 
408
 
 
409
* Fixed a problem where using content filtering and especially end-of-line
 
410
  conversion will commit too many copies a file.
 
411
  (Martin Pool, #415508)
 
412
 
 
413
* Fix assertion error about ``_remember_remote_is_before`` in
 
414
  ``set_tags_bytes`` when pushing to older smart servers.  
 
415
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
416
 
 
417
Improvements
 
418
************
 
419
 
 
420
* ``bzr push`` locally on Windows will no longer give a locking error with
 
421
  dirstate based formats. (Robert Collins)
 
422
 
 
423
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
424
  (Robert Collins, #305006)
 
425
 
 
426
API Changes
 
427
***********
 
428
 
 
429
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
430
  classes changed to manage lock lifetime of the trees they open in a way
 
431
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
432
 
 
433
* ``Tree.path_content_summary`` may return a size of None, when called on
 
434
  a tree with content filtering where the size of the canonical form
 
435
  cannot be cheaply determined.  (Martin Pool)
 
436
 
 
437
* When manually creating transport servers in test cases, a new helper
 
438
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
439
  should be used. (Robert Collins)
 
440
 
 
441
bzr 1.18
 
442
########
 
443
 
 
444
Compatibility Breaks
 
445
********************
 
446
 
 
447
* Committing directly to a stacked branch from a lightweight checkout will
 
448
  no longer work. In previous versions this would appear to work but would
 
449
  generate repositories with insufficient data to create deltas, leading
 
450
  to later errors when branching or reading from the repository.
 
451
  (Robert Collins, bug #375013)
 
452
 
 
453
New Features
 
454
************
 
455
 
 
456
Bug Fixes
 
457
*********
 
458
 
 
459
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
460
  copy the internal inventory pages from the CHK store. This cannot happen
 
461
  in normal use as all 2a compatible clients and servers support the
 
462
  version-3 protocol, but it does cause test suite failures when testing
 
463
  downlevel protocol behaviour. (Robert Collins)
 
464
 
 
465
* Fix a test failure on karmic by making a locale test more robust.
 
466
  (Vincent Ladeuil, #413514)
 
467
 
 
468
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
469
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
470
 
 
471
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
472
  (Jason Spashett, #76616)
 
473
 
 
474
* Properly handle fetching into a stacked branch while converting the
 
475
  data, especially when there are also ghosts. The code was filling in
 
476
  parent inventories incorrectly, and also not handling when one of the
 
477
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
478
 
 
479
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
480
  inventory pages when appropriate (by falling back to the vfs stream
 
481
  source).  (Andrew Bennetts, #406686)
 
482
 
 
483
* StreamSource generates rich roots from non-rich root sources correctly
 
484
  now.  (Andrew Bennetts, #368921)
 
485
 
 
486
* When deciding whether a repository was compatible for upgrading or
 
487
  fetching, we previously incorrectly checked the default repository
 
488
  format for the bzrdir format, rather than the format that was actually
 
489
  present on disk.  (Martin Pool, #408824)
 
490
 
 
491
Improvements
 
492
************
 
493
 
 
494
* A better description of the platform is shown in crash tracebacks, ``bzr
 
495
  --version`` and ``bzr selftest``.
 
496
  (Martin Pool, #409137)
 
497
 
 
498
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
499
  smart server are more efficient now.  They send inventory deltas rather
 
500
  than full inventories.  The smart server has two new requests,
 
501
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
502
  support this.  (Andrew Bennetts, #374738, #385826)
 
503
 
 
504
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
505
  significantly faster. This effects things like ``bzr log -n0``. (For
 
506
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
507
  (John Arbash Meinel)
 
508
 
 
509
Documentation
 
510
*************
 
511
 
 
512
API Changes
 
513
***********
 
514
 
 
515
Internals
 
516
*********
 
517
 
 
518
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
519
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
520
  read lock on a file that we already have an OS write lock on.) This is
 
521
  now set by default for all tests, if you have a test which cannot be
 
522
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
523
  compatibility knob. (John Arbash Meinel)
 
524
 
 
525
* InterDifferingSerializer is now only used locally.  Other fetches that
 
526
  would have used InterDifferingSerializer now use the more network
 
527
  friendly StreamSource, which now automatically does the same
 
528
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
529
 
 
530
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
531
  are implemented in pyrex and significantly faster. This is exposed along
 
532
  with ``CombinedGraphIndex.find_ancestry()`` as
 
533
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
534
  (John Arbash Meinel)
 
535
 
 
536
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
537
  protocols. (Robert Collins)
 
538
 
 
539
* The index code now has some specialized routines to extract the full
 
540
  ancestry of a key in a more efficient manner.
 
541
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
542
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
543
  Arbash Meinel)
 
544
 
 
545
Testing
 
546
*******
 
547
 
 
548
* Install the test ssl certificate and key so that installed bzr
 
549
  can run the https tests. (Denys Duchier, #392401)
 
550
  
 
551
 
 
552
bzr 1.18rc1
 
553
###########
 
554
 
 
555
:Codename: little traveller
 
556
:1.18:    2009-08-20
 
557
:1.18rc1: 2009-08-10
 
558
 
 
559
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
560
'brisbane-core' format becomes generally recommended.  Most of the work in
 
561
this release now focusses on bug fixes and stabilization, covering both 2a
 
562
and previous formats.  There is a new text-mode interactive merge feature,
 
563
a new guide to migration to 2a format in the user documentation, and
 
564
pushing branches to a smart server is now much faster.  
 
565
 
 
566
The Bazaar team decided that 2.0 will be a long-term supported release,
 
567
with bugfix-only releases based on it continuing for at least six months
 
568
or until the following stable release.
 
569
 
 
570
There are no changes from 1.18rc1 to 1.18.
 
571
 
 
572
New Features
 
573
************
 
574
 
 
575
* ``bzr merge --interactive`` applies a user-selected portion of the
 
576
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
577
 
 
578
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
579
  ``--unstacked`` to change stacking of a branch.
 
580
  (Martin Pool, #391411)
 
581
 
 
582
Bug Fixes
 
583
*********
 
584
 
 
585
* Annotating on a stacked branch will now succeed in simple scenarios.
 
586
  There are still some complex scenarios where it will fail (bug #399884)
 
587
  (John Arbash Meinel, #393366)
 
588
 
 
589
* A progress bar is no longer left dangling when ``bzr selftest``
 
590
  completes, and the progress bar updates with zero latency so the
 
591
  displayed test name is always the one that's actually running.
 
592
  (Martin Pool, #123688)
 
593
 
 
594
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
595
  if password authentication is even supported. This fixes a bug where
 
596
  users would be prompted for a launchpad password, even though launchpad
 
597
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
598
 
 
599
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
600
  from GMT. (Vincent Ladeuil, #397716)
 
601
 
 
602
* ``bzr commit`` no longer saves the unversioning of missing files until
 
603
  the commit has completed on the branch. This means that aborting a
 
604
  commit that found a missing file will leave the tree unedited.
 
605
  (Robert Collins, #282402)
 
606
 
 
607
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
608
  when the branch is readonly. (Robert Collins, #216541)
 
609
 
 
610
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
611
  there are missing subtrees. (Robert Collins, #367632)
 
612
 
 
613
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
614
  do to internal changes necessary to support this, older clients will
 
615
  fail when trying to insert them. For newer clients, the bundle can be
 
616
  used to apply the changes to any rich-root compatible format.
 
617
  (John Arbash Meinel, #393349)
 
618
 
 
619
* Cope with FTP servers that don't support restart/append by falling back
 
620
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
621
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
622
 
 
623
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
624
  external diff client. This at least allows supporting filenames that are
 
625
  not ascii, but are present in the current locale. Ideally we would be
 
626
  able to pass the Unicode path, but that would be client dependent.
 
627
  (John Arbash Meinel, #382709)
 
628
 
 
629
* Fix a compile bug on Solaris having to do with const and
 
630
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
631
 
 
632
* Fixed a NameError that occurs when merging or pulling from a URL that
 
633
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
634
  (Andrew Bennetts, #400847)
 
635
 
 
636
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
637
  running send and similar commands on 2a formats.
 
638
  (Martin Pool, #408201)
 
639
  
 
640
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
641
  (Martin Pool, #403523)
 
642
 
 
643
* Fixed export to existing directory: if directory is empty then export 
 
644
  will succeed, otherwise it fails with error.
 
645
  (Alexander Belchenko, #406174)
 
646
 
 
647
* Fixed spurious "Source branch does not support stacking" warning when
 
648
  pushing. (Andrew Bennetts, #388908)
 
649
 
 
650
* Fixed spurious transport activity indicator appearing while tests are
 
651
  running.  (Martin Pool, #343532)
 
652
 
 
653
* Merge now correctly handles empty right-hand revision specs.
 
654
  (Aaron Bentley, #333961)
 
655
 
 
656
* Renames to lexographically lower basenames in trees that have never been
 
657
  committed to will no longer corrupt the dirstate. This was caused by an
 
658
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
659
 
 
660
* Requests for unknown methods no longer cause the smart server to log
 
661
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
662
  ``do_end``.  (Andrew Bennetts, #338561)
 
663
 
 
664
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
665
 
 
666
* Streaming from bzr servers where there is a chain of stacked branches
 
667
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
668
 
 
669
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
670
  always forces progress bars either on or off respectively.  Otherwise,
 
671
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
672
  bzr always uses the 'text' user interface when run as a command, so
 
673
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
674
  (Martin Pool, #339385, #387717)
 
675
 
 
676
* The optional ``_knit_load_data_pyx`` C extension was never being
 
677
  imported.  This caused significant slowdowns when reading data from
 
678
  repositories.  (Andrew Bennetts, #405653)
 
679
  
 
680
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
681
  supported at the moment on workingtree formats that can do content
 
682
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
683
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
684
 
 
685
* There was a bug in ``osutils.relpath`` that was only triggered on
 
686
  Windows. Essentially if you were at the root of a drive, and did
 
687
  something to a branch/repo on another drive, we would go into an
 
688
  infinite loop while trying to find a 'relative path'.
 
689
  (John Arbash Meinel, #394227)
 
690
 
 
691
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
692
  were present in a parent tree but renamed in the working tree.
 
693
  (Robert Collins, #187207)
 
694
 
 
695
Improvements
 
696
************
 
697
 
 
698
* Can now rename/move files even if they have been removed from the inventory.
 
699
  (Marius Kruger)
 
700
 
 
701
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
702
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
703
  than VFS methods.  For example, pushes of small branches with tags take
 
704
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
705
 
 
706
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
707
  the same way that sending Ctrl-\\ does on other platforms.
 
708
  (John Arbash Meinel)
 
709
 
 
710
Documentation
 
711
*************
 
712
 
 
713
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
714
 
 
715
API Changes
 
716
***********
 
717
 
 
718
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
719
  need to subclass or create a specific class, or better yet the existing
 
720
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
721
  user interaction at all, rather than trying to read from stdin but not
 
722
  writing any output, which would be strange if reading prompts or
 
723
  passwords.  (Martin Pool)
 
724
 
 
725
* New TransformPreview.commit() allows committing without a working tree.
 
726
  (Aaron Bentley)
 
727
 
 
728
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
729
  (Martin Pool)
 
730
 
 
731
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
732
  UIFactory. 
 
733
  (Martin Pool)
 
734
 
 
735
* ``WorkingTree._check`` now requires a references dict with keys matching
 
736
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
737
 
 
738
Internals
 
739
*********
 
740
 
 
741
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
742
  reading the entries along the path, reducing work to lookup ids from
 
743
  paths. (Robert Collins)
 
744
 
 
745
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
746
  as new a key which was already mapped. (Robert Collins)
 
747
 
 
748
* Inventory delta application catches more cases of corruption and can
 
749
  prevent corrupt deltas from affecting consistency of data structures on
 
750
  disk. (Robert Collins)
 
751
 
 
752
* --subunit support now adds timestamps if the subunit version supports
 
753
  it. (Robert Collins)
 
754
 
 
755
* The Windows all-in-one installer now bundles the PyQt image format
 
756
  plugins, which allows previewing more images as part of 'qdiff'.
 
757
  (Alexander Belchenko)
 
758
 
 
759
 
 
760
Testing
 
761
*******
 
762
 
 
763
* Merge directive cherrypick tests must use the same root id.
 
764
  (Martin Pool, #409684)
 
765
 
 
766
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
767
  (Martin Pool, #408199)
 
768
 
 
769
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
770
  ``countTestsCases`` on the test being run. Progress information is
 
771
  instead handled by having the test passed in call ``result.progress``
 
772
  before running its contents. This improves the behaviour when using
 
773
  ``TextTestRunner`` with test suites that don't support
 
774
  ``countTestsCases``. (Robert Collins)
 
775
 
 
776
 
 
777
bzr 1.17.1 (unreleased)
 
778
#######################
 
779
 
 
780
Bug Fixes
 
781
*********
 
782
 
 
783
* The optional ``_knit_load_data_pyx`` C extension was never being
 
784
  imported.  This caused significant slowdowns when reading data from
 
785
  knit format repositories.  (Andrew Bennetts, #405653)
 
786
  
 
787
 
 
788
bzr 1.17
 
789
########
 
790
:Codename: so-late-its-brunch
 
791
:1.17rc1: 2009-07-13
 
792
:1.17: 2009-07-20
 
793
 
 
794
 
 
795
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
796
the elevation of the ``2a`` beta format to the full glory of "supported and
 
797
stable".
 
798
 
 
799
Highlights in this release include greatly reduced memory consumption during
 
800
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
801
you're specifying a revision number and the final destruction of those
 
802
annoying progress bar artifacts.
 
803
 
 
804
 
 
805
Changes from 1.17rc1 to 1.17final
 
806
*********************************
 
807
 
 
808
* Change an extension to call the python ``frozenset()`` rather than the C
 
809
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
810
  C api. (John Arbash Meinel, #399366)
 
811
 
 
812
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
813
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
814
  (John Arbash Meinel, #399356)
 
815
 
 
816
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
817
  directory before serving it. (Andrew Bennetts, #400535)
 
818
 
 
819
 
 
820
Compatibility Breaks
 
821
********************
 
822
 
 
823
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
824
  instead of "product" which is the correct Launchpad terminology.  The
 
825
  --product option is deprecated and users should switch to using --project.
 
826
  (Neil Martinsen-Burrell, #238764)
 
827
 
 
828
 
 
829
New Features
 
830
************
 
831
 
 
832
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
833
  are present in the working tree (if one is present) and no revision is
 
834
  specified. The configuration option ``push_strict`` can be used to set the
 
835
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
836
 
 
837
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
838
  show revision info for the working tree instead of the branch.
 
839
  (Matthew Fuller, John Arbash Meinel)
 
840
 
 
841
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
842
  are present in the working tree and no revision is specified. The
 
843
  configuration option ``send_strict`` can be used to set the default for this
 
844
  behavior.
 
845
  (Vincent Ladeuil, #206577)
 
846
 
 
847
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
848
  to a new branch. Supplying a name without a ``/`` will create the branch
 
849
  relative to the existing branch. (similar to how ``bzr switch name``
 
850
  works when the branch already exists.) (John Arbash Meinel)
 
851
 
 
852
 
 
853
Bug Fixes
 
854
*********
 
855
 
 
856
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
857
  (#335182, Tim Powell, Martin Pool)
 
858
 
 
859
* Add documentation about diverged branches and how to fix them in the
 
860
  centralized workflow with local commits.  Mention ``bzr help
 
861
  diverged-branches`` when a push fails because the branches have
 
862
  diverged.  (Neil Martinsen-Burrell, #269477)
 
863
 
 
864
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
865
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
866
 
 
867
* Automatic format upgrades triggered by default stacking policies on a
 
868
  1.16rc1 (or later) smart server work again.
 
869
  (Andrew Bennetts, #388675)
 
870
 
 
871
* Avoid progress bar artifacts being left behind on the screen.
 
872
  (Martin Pool, #321935)
 
873
 
 
874
* Better message in ``bzr split`` error suggesting a rich root format.
 
875
  (Neil Martinsen-Burrell, #220067)
 
876
 
 
877
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
878
  server. (Andrew Bennetts, #365865)
 
879
 
 
880
* By default, ``bzr branch`` will fail if the target directory exists, but
 
881
  does not already have a control directory.  The flag ``--use-existing-dir``
 
882
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
883
 
 
884
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
885
  (Ian Clatworthy)
 
886
 
 
887
* Fetch between repositories does not error if they have inconsistent data
 
888
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
889
 
 
890
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
891
  of a remote repository.
 
892
  (Jelmer Vernooij, #332194)
 
893
 
 
894
* Fix bug in decoding v3 smart server messages when receiving multiple
 
895
  lots of excess bytes after an end-of-message.
 
896
  (Andrew Bennetts)
 
897
 
 
898
* Force deletion of readonly files during merge, update and other tree
 
899
  transforms.
 
900
  (Craig Hewetson, Martin Pool, #218206)
 
901
 
 
902
* Force socket shutdown in threaded http test servers to avoid client hangs
 
903
  (pycurl).  (Vincent Ladeuil, #383920).
 
904
 
 
905
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
906
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
907
 
 
908
* Progress bars are now suppressed again when the environment variable
 
909
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
910
  (Martin Pool, #339385)
 
911
 
 
912
* Reduced memory consumption during ``bzr commit`` of large files. For
 
913
  pre 2a formats, should be down to ~3x the size of a file.
 
914
  For ``--2a`` format repositories, it is down to the size of the file
 
915
  content plus the size of the compressed text.  Related to bug #109114.
 
916
  (John Arbash Meinel)
 
917
 
 
918
* Set hidden attribute on .bzr directory below unicode path should never
 
919
  fail with error. The operation should succeed even if bzr unable to set 
 
920
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
921
  
 
922
* Stacking will no longer accept requests to stack on the same
 
923
  branch/repository. Existing branches that incorrectly reference the same
 
924
  repository in a stacking configuration will now raise
 
925
  UnstackableLocationError when the branch is opened. This can be fixed by
 
926
  removing the stacking location inside ``.bzr/branch``.
 
927
  (Robert Collins, #376243)
 
928
 
 
929
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
930
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
931
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
932
  rate because they're available in the log prefixes and the transport
 
933
  activity display respectively.
 
934
  (Martin Pool, #340347)
 
935
 
 
936
* Unshelve works correctly when multiple zero-length files are present on
 
937
  the shelf. (Aaron Bentley, #363444)
 
938
 
 
939
* Progress bars no longer show the network transport scheme or direction.
 
940
  (Martin Pool)
 
941
 
 
942
* launchpad-login now respects the 'verbose' option.
 
943
  (Jonathan Lange, #217031)
 
944
 
 
945
 
 
946
Internals
 
947
*********
 
948
 
 
949
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
950
  possible to write a deprecation wrapper, but the variable will be
 
951
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
952
  instead. (Alexander Belchenko)
 
953
 
 
954
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
955
  three new hook points: ``get_command``, ``get_missing_command`` and
 
956
  ``list_commands``, which allow just-in-time command name provision
 
957
  rather than requiring all command names be known a-priori.
 
958
  (Robert Collins)
 
959
 
 
960
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
961
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
962
 
 
963
* ``graph.KnownGraph`` has been added. This is a class that can give
 
964
  answers to ``heads()`` very quickly. However, it has the assumption that
 
965
  the whole graph has already been loaded. This is true during
 
966
  ``annotate`` so it is used there with good success (as much as 2x faster
 
967
  for files with long ancestry and 'cherrypicked' changes.)
 
968
  (John Arbash Meinel, Vincent Ladeuil)
 
969
 
 
970
* OS file locks are now taken out using ``CreateFile`` rather than
 
971
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
972
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
973
  as Win98). (Martin <gzlist>)
 
974
 
 
975
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
976
  than the ``Packer`` code. The user visible change is that we now
 
977
  properly fetch the minimum number of texts for non-smart fetching.
 
978
  (John Arbash Meinel)
 
979
 
 
980
 
 
981
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
982
  the repository as a single string, rather than a list of lines. This can
 
983
  improve memory overhead and performance of committing large files.
 
984
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
985
 
 
986
 
 
987
Improvements
 
988
************
 
989
 
 
990
* ``bzr annotate`` can now be significantly faster. The time for
 
991
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
992
  histories and lots of 'duplicate insertions' will be improved more than
 
993
  others. (John Arbash Meinel, Vincent Ladeuil)
 
994
 
 
995
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
996
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
997
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
998
 
 
999
* Improve "Path(s) are not versioned" error reporting for some commands.
 
1000
  (Benoît PIERRE)
 
1001
 
 
1002
* Initial commit performance in ``--2a`` repositories has been improved by
 
1003
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
1004
 
 
1005
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
1006
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
1007
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
1008
 
 
1009
* ``revision-info`` now properly aligns the revnos/revids in the output
 
1010
  and doesn't traceback when given revisions not in the current branch.
 
1011
  Performance is also significantly improved when requesting multiple revs
 
1012
  at once.  (Matthew Fuller, John Arbash Meinel)
 
1013
 
 
1014
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
1015
 
 
1016
 
 
1017
Documentation
 
1018
*************
 
1019
 
 
1020
* Avoid bad text wrapping in generated documentation.  Slightly better
 
1021
  formatting in the user reference.
 
1022
  (Martin Pool, #249908)
 
1023
 
 
1024
* Minor clarifications to the help for End-Of-Line conversions.
 
1025
  (Ian Clatworthy)
 
1026
 
 
1027
API Changes
 
1028
***********
 
1029
 
 
1030
* Removed overspecific error class ``InvalidProgressBarType``.
 
1031
  (Martin Pool)
 
1032
 
 
1033
* The method ``ProgressView._show_transport_activity`` is now
 
1034
  ``show_transport_activity`` because it's part of the contract between
 
1035
  this class and the UI.  (Martin Pool)
 
1036
 
 
1037
 
 
1038
bzr 1.16.1
 
1039
##########
 
1040
 
 
1041
:Released: 2009-06-26
 
1042
 
 
1043
End user testing of the 2a format revealed two serious bugs. The first,
 
1044
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
1045
This meant that commits or pushes to 2a-format repositories failed
 
1046
intermittently.
 
1047
 
 
1048
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
1049
when streaming 2a stacked 2a-format branches. This particularly affected
 
1050
branches stored on Launchpad in the 2a format.
 
1051
 
 
1052
Both of these bugs cause command failures only, neither of them cause data
 
1053
corruption or data loss. And, of course, both of these bugs are now fixed.
 
1054
 
 
1055
Bug Fixes
 
1056
*********
 
1057
 
 
1058
* We now properly request a more minimal set of file texts when fetching
 
1059
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
1060
 
 
1061
* Repositories using CHK pages (which includes the new 2a format) will no
 
1062
  longer error during commit or push operations when an autopack operation
 
1063
  is triggered. (Robert Collins, #365615)
 
1064
 
 
1065
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
1066
  of referenced nodes rather than the *union* to determine what
 
1067
  uninteresting pages we still need to look at. Prior to this,
 
1068
  incrementally pushing to stacked branch would push the minimal data, but
 
1069
  fetching everything would request extra texts. There are some unhandled
 
1070
  cases wrt trees of different depths, but this fixes the common cases.
 
1071
  (Robert Collins, John Arbash Meinel, #390563)
 
1072
 
 
1073
* ``GroupCompress`` repositories now take advantage of the pack hints
 
1074
  parameter to permit cross-format fetching to incrementally pack the
 
1075
  converted data. (Robert Collins)
 
1076
 
 
1077
* ``Repository.commit_write_group`` now returns opaque data about what
 
1078
  was committed, for passing to the ``Repository.pack``. Repositories
 
1079
  without atomic commits will still return None. (Robert Collins)
 
1080
 
 
1081
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
1082
  which will support doing partial packs for repositories that can do
 
1083
  that. (Robert Collins)
 
1084
 
 
1085
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
1086
  when doing a pack operation changes the compression of content in the
 
1087
  repository. (Robert Collins)
 
1088
 
 
1089
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
1090
  ``Repository.pack`` with the hint returned by
 
1091
  ``Repository.commit_write_group`` if the formats were different and the
 
1092
  repository can increase compression by doing a pack operation.
 
1093
  (Robert Collins, #376748)
 
1094
 
 
1095
 
 
1096
bzr 1.16
 
1097
########
 
1098
:Codename: yesterday-in-california
 
1099
:1.16rc1: 2009-06-11
 
1100
:1.16: 2009-06-18
 
1101
 
 
1102
This version of Bazaar contains the beta release of the new ``2a`` repository
 
1103
format, suitable for testing by fearless, advanced users. This format or an
 
1104
updated version of it will become the default format in Bazaar 2.0. Please
 
1105
read the NEWS entry before even thinking about upgrading to the new format.
 
1106
 
 
1107
Also included are speedups for many operations on huge projects, a bug fix for
 
1108
pushing stacked new stacked branches to smart servers and the usual bevy of
 
1109
bug fixes and improvements.
 
1110
 
 
1111
 
 
1112
Changes from 1.16rc1 to 1.16final
 
1113
*********************************
 
1114
 
 
1115
* Fix the nested tree flag check so that upgrade from development formats to
 
1116
  2a can work correctly.
 
1117
  (Jelmer Vernooij, #388727)
 
1118
 
 
1119
* Automatic format upgrades triggered by default stacking policies on a
 
1120
  1.16rc1 (or later) smart server work again.
 
1121
  (Andrew Bennetts, #388675)
 
1122
 
 
1123
 
 
1124
Compatibility Breaks
 
1125
********************
 
1126
 
 
1127
* Display prompt on stderr (instead of stdout) when querying users so
 
1128
  that the output of commands can be safely redirected.
 
1129
  (Vincent Ladeuil, #376582)
 
1130
 
 
1131
 
 
1132
New Features
 
1133
************
 
1134
 
 
1135
* A new repository format ``2a`` has been added.  This is a beta release
 
1136
  of the the brisbane-core (aka group-compress) project.  This format now
 
1137
  suitable for wider testing by advanced users willing to deal with some
 
1138
  bugs.  We would appreciate test reports, either positive or negative.
 
1139
  Format 2a is substantially smaller and faster for many operations on
 
1140
  many trees.  This format or an updated version will become the default
 
1141
  in bzr 2.0.
 
1142
 
 
1143
  This is a rich-root format, so this repository format can be used with
 
1144
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
1145
  converted (including by merge, push and pull) to format 2a, but not vice
 
1146
  versa.  We recommend upgrading previous development formats to 2a.
 
1147
 
 
1148
  Upgrading to this format can take considerable time because it expands
 
1149
  and more concisely repacks the full history.
 
1150
 
 
1151
  If you use stacked branches, you must upgrade the stacked branches
 
1152
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
1153
 
 
1154
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
1155
  but using a Revision serializer using bencode rather than XML.
 
1156
  (Jelmer Vernooij, John Arbash Meinel)
 
1157
 
 
1158
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
1159
  configured from address.  (Barry Warsaw)
 
1160
 
 
1161
Improvements
 
1162
************
 
1163
 
 
1164
 
 
1165
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
1166
  bugs with stacking and non default formats.)
 
1167
  (John Arbash Meinel, #373455)
 
1168
 
 
1169
* ``--development6-rich-root`` delays generating a delta index for the
 
1170
  first object inserted into a group. This has a beneficial impact on
 
1171
  ``bzr commit`` since each committed texts goes to its own group. For
 
1172
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
1173
  up commit from 7s => 4s. (John Arbash Meinel)
 
1174
 
 
1175
* Numerous operations are now faster for huge projects, i.e. those
 
1176
  with a large number of files and/or a large number of revisions,
 
1177
  particularly when the latest development format is used. These
 
1178
  operations (and improvements on OpenOffice.org) include:
 
1179
 
 
1180
  * branch in a shared repository (2X faster)
 
1181
  * branch --no-tree (100X faster)
 
1182
  * diff (2X faster)
 
1183
  * tags (70X faster)
 
1184
 
 
1185
  (Ian Clatworthy)
 
1186
 
 
1187
* Pyrex version of ``bencode`` support. This provides optimized support
 
1188
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
1189
  ``bzrlib.utils.bencode`` is now deprecated.
 
1190
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
1191
 
 
1192
 
 
1193
Bug Fixes
 
1194
*********
 
1195
 
 
1196
* Bazaar can now pass attachment files to the mutt email client.
 
1197
  (Edwin Grubbs, #384158)
 
1198
 
 
1199
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
1200
  see which files can also be added.  (Jason Spashett, #76616)
 
1201
 
 
1202
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
1203
  Also, the ``Branch.revision_history()`` API now works in the same
 
1204
  situation.  (Andrew Bennetts, #380314)
 
1205
  
 
1206
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
1207
  TCP client disconnected. (Andrew Bennetts)
 
1208
 
 
1209
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
1210
  ``RemoteRepository`` was handling fallbacks along with the
 
1211
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
1212
 
 
1213
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
1214
  branch. Not often triggered, because it required ghosts to be part of
 
1215
  the fetched revisions, not in the stacked-on ancestry.
 
1216
  (John Arbash Meinel)
 
1217
 
 
1218
* Fix status and commit to work with content filtered trees, addressing
 
1219
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
1220
 
 
1221
* Fix problem of "directory not empty" when contending for a lock over
 
1222
  sftp.  (Martin Pool, #340352)
 
1223
 
 
1224
* Fix rule handling so that eol is optional, not mandatory.
 
1225
  (Ian Clatworthy, #379370)
 
1226
 
 
1227
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
1228
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
1229
  1.16, but required changes to the network protocol, so the
 
1230
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
1231
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
1232
  still work with a 1.16 server as they will fallback to slower (and
 
1233
  bug-free) methods.
 
1234
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
1235
 
 
1236
* Reconcile can now deal with text revisions that originated in revisions 
 
1237
  that are ghosts. (Jelmer Vernooij, #336749)
 
1238
 
 
1239
* Support cloning of branches with ghosts in the left hand side history.
 
1240
  (Jelmer Vernooij, #248540)
 
1241
 
 
1242
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
1243
  helpful message to the trace file, unless the temp directory really was
 
1244
  removed (which would be very strange).  Since the diff operation has
 
1245
  succeeded from the user's perspective, no output is written to stderr 
 
1246
  or stdout.  (Maritza Mendez, #363837)
 
1247
 
 
1248
* Translate errors received from a smart server in response to a
 
1249
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
1250
  This was causing tracebacks even for mundane errors like
 
1251
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
1252
 
 
1253
Documentation
 
1254
*************
 
1255
 
 
1256
* Added directory structure and started translation of docs in Russian.
 
1257
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
1258
  Volodymyr Kotulskyi)
 
1259
 
 
1260
API Changes
 
1261
***********
 
1262
 
 
1263
* Added osutils.parent_directories(). (Ian Clatworthy)
 
1264
 
 
1265
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
1266
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
1267
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
1268
 
 
1269
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
1270
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
1271
  for external users. (Gary van der Merwe)
 
1272
 
 
1273
* ``bzrlib.user_encoding`` is deprecated in favor of
 
1274
  ``get_user_encoding``.  (Alexander Belchenko)
 
1275
 
 
1276
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
1277
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
1278
 
 
1279
Internals
 
1280
*********
 
1281
 
 
1282
* Remove ``weave.py`` script for accessing internals of old weave-format
 
1283
  repositories.  (Martin Pool)
 
1284
 
 
1285
Testing
 
1286
*******
 
1287
 
 
1288
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
1289
  (Martin Pool, #386180)
 
1290
 
 
1291
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
1292
 
 
1293
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
1294
 
 
1295
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
1296
 
 
1297
 
 
1298
bzr 1.15
 
1299
########
 
1300
:1.15rc1: 2009-05-16
 
1301
:1.15: 2009-05-22
 
1302
:1.15.1: 2009-06-09
 
1303
 
 
1304
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
1305
with a size mismatch in a reconstructed graph search. New command ``bzr
 
1306
dpush``. Plugins can now define their own annotation tie-breaker when two
 
1307
revisions introduce the exact same line.
 
1308
 
 
1309
Changes from 1.15.1 to 1.15.2
 
1310
*****************************
 
1311
 
 
1312
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
1313
  (Alexander Belchenko)
 
1314
 
 
1315
Changes from 1.15final to 1.15.1
 
1316
*********************************
 
1317
 
 
1318
* Translate errors received from a smart server in response to a
 
1319
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
1320
  This was causing tracebacks even for mundane errors like
 
1321
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
1322
 
 
1323
Changes from 1.15rc1 to 1.15final
 
1324
*********************************
 
1325
 
 
1326
* No changes
 
1327
 
 
1328
Compatibility Breaks
 
1329
********************
 
1330
 
 
1331
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
1332
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
1333
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
1334
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
1335
 
 
1336
New Features
 
1337
************
 
1338
 
 
1339
* New command ``bzr dpush`` that can push changes to foreign 
 
1340
  branches (svn, git) without setting custom bzr-specific metadata.
 
1341
  (Jelmer Vernooij)
 
1342
 
 
1343
* The new development format ``--development6-rich-root`` now supports
 
1344
  stacking. We chose not to use a new format marker, since old clients
 
1345
  will just fail to open stacked branches, the same as if we used a new
 
1346
  format flag. (John Arbash Meinel, #373455)
 
1347
 
 
1348
* Plugins can now define their own annotation tie-breaker when two revisions
 
1349
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
1350
  Be aware though that this is temporary, private (as indicated by the leading
 
1351
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
1352
 
 
1353
* New command ``bzr dpush`` that can push changes to foreign 
 
1354
  branches (svn, git) without setting custom bzr-specific metadata.
 
1355
  (Jelmer Vernooij)
 
1356
 
 
1357
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
1358
  the submit branch to determine what format to use, if none was 
 
1359
  specified on the command-line.  (Jelmer Vernooij)
 
1360
 
 
1361
Improvements
 
1362
************
 
1363
 
 
1364
* -Dhpss output now includes the number of VFS calls made to the remote
 
1365
  server. (Jonathan Lange)
 
1366
 
 
1367
* ``--coverage`` works for code running in threads too.
 
1368
  (Andrew Bennets, Vincent Ladeuil)
 
1369
 
 
1370
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
1371
  local branch, and not the bound master branch.
 
1372
  (Gary van der Merwe, #194716)
 
1373
 
 
1374
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
1375
 
 
1376
Bug Fixes
 
1377
*********
 
1378
 
 
1379
* Adding now works properly when path contains a symbolic link.
 
1380
  (Geoff Bache, #183831)
 
1381
 
 
1382
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
1383
 
 
1384
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
1385
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
1386
 
 
1387
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
1388
  (Martin von Gagern, #248932)
 
1389
 
 
1390
* ``bzr send`` works to send emails again using MAPI.
 
1391
  (Neil Martinsen-Burrell, #346998)
 
1392
 
 
1393
* Check for missing parent inventories in StreamSink.  This prevents
 
1394
  incomplete stacked branches being created by 1.13 bzr:// and
 
1395
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
1396
  causes those clients to send the missing records.  (Andrew Bennetts)
 
1397
 
 
1398
* Correctly handle http servers proposing multiple authentication schemes.
 
1399
  (Vincent Ladeuil, #366107)
 
1400
 
 
1401
* End-Of-Line content filters are now loaded correctly.
 
1402
  (Ian Clatworthy, Brian de Alwis, #355280)
 
1403
 
 
1404
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
1405
  longer than 64KiB. (John Arbash Meinel, #364900)
 
1406
 
 
1407
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
1408
  (Alexander Belchenko, Martin Pool, #365891)
 
1409
 
 
1410
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
1411
  (Jelmer Vernooij, #357863)
 
1412
 
 
1413
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
1414
  (Vincent Ladeuil, #367726)
 
1415
 
 
1416
* Several bugs related to unicode symlinks have been fixed and the test suite
 
1417
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
1418
 
 
1419
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
1420
  content with a size mismatch in a reconstructed graph search: it assumes
 
1421
  that the client will make sure it is happy with what it got, and this
 
1422
  sort of mismatch is normal for stacked environments.
 
1423
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
1424
  getting all the content expected would be a bug. However the graph
 
1425
  search is how we figured out what we wanted, so a mismatch is both odd
 
1426
  and unrecoverable without starting over, and starting over will end up
 
1427
  with the same data as if we just permitted the mismatch. If data is
 
1428
  gc'd, doing a new search will find only the truncated data, so sending
 
1429
  only the truncated data seems reasonable. bzr versions newer than this
 
1430
  will stream from stacked branches and check the stream to find missing
 
1431
  content in the stacked-on branch, and thus will handle the situation
 
1432
  implicitly.  (Robert Collins, #360791)
 
1433
 
 
1434
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
1435
  set the root data the same way that reconcile does.
 
1436
  (Robert Collins, #368921)
 
1437
 
 
1438
* Using unicode Windows API to obtain command-line arguments.
 
1439
  (Alexander Belchenko, #375934)
 
1440
 
 
1441
Documentation
 
1442
*************
 
1443
 
 
1444
API Changes
 
1445
***********
 
1446
 
 
1447
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
1448
  instead of ``InstallFailed`` when they detect a missing revision.
 
1449
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
1450
 
 
1451
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
1452
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
1453
  for unicode arguments on windows. Further, the supplied arguments are now 
 
1454
  required to be unicode strings, rather than user_encoded strings.
 
1455
  (Alexander Belchenko)
 
1456
 
 
1457
Internals
 
1458
*********
 
1459
 
 
1460
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
1461
  class and will call ``_set_parent_location`` after doing unicode 
 
1462
  encoding. (Robert Collins)
 
1463
 
 
1464
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
1465
  ``Branch.set_parent_location`` removing further VFS operations.
 
1466
  (Robert Collins)
 
1467
 
 
1468
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
1469
  or similar when the dir supports configuration settings. The base class
 
1470
  defaults to None. There is a matching new server verb
 
1471
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
1472
  configuration. (Robert Collins)
 
1473
 
 
1474
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
1475
  called before the first test is started, ``done`` called after the last
 
1476
  test completes, and a new parameter ``strict``. (Robert Collins)
 
1477
 
 
1478
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
1479
  VFS operations are started on a smart server repository. This should not
 
1480
  occur on regular push and pull operations, and is a key indicator for
 
1481
  performance regressions. (Robert Collins)
 
1482
 
 
1483
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
1484
  cause mismatched physical locks to cause test errors rather than just
 
1485
  reporting to the screen. (Robert Collins)
 
1486
 
 
1487
* -Dprogress will cause pdb to start up if a progress view jumps
 
1488
  backwards. (Robert Collins)
 
1489
 
 
1490
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
1491
  are now be able to provide credentials if obtaining credentials 
 
1492
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
1493
  Vincent Ladeuil, #321918)
 
1494
 
 
1495
* New hook ``Lock.lock_broken`` which runs when a lock is
 
1496
  broken. This is mainly for testing that lock/unlock are
 
1497
  balanced in tests. (Vincent Ladeuil)
 
1498
 
 
1499
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
1500
  alter a body for the message produced by ``bzr send``.
 
1501
 
 
1502
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
1503
  refactoring to the core of clone allowing less round trips on new
 
1504
  branches. (Robert Collins)
 
1505
 
 
1506
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
1507
  are pointing at. (Jelmer Vernooij)
 
1508
 
 
1509
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
1510
 
 
1511
Testing
 
1512
*******
 
1513
 
 
1514
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
1515
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
1516
  (Vincent Ladeuil, Robert Collins)
 
1517
 
 
1518
bzr 1.14
 
1519
########
 
1520
:Codename: brisbane-core
 
1521
:1.14rc1: 2009-04-06
 
1522
:1.14rc2: 2009-04-19
 
1523
:1.14: 2009-04-28
 
1524
:1.14.1: 2009-05-01
 
1525
 
 
1526
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
1527
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
1528
End-of-line conversion is now supported for formats supporting content
 
1529
filtering.
 
1530
 
 
1531
Changes from 1.14final to 1.14.1
 
1532
********************************
 
1533
 
 
1534
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
1535
 
 
1536
Changes from 1.14rc2 to 1.14final
 
1537
*********************************
 
1538
 
 
1539
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
1540
  longer than 64KiB. (John Arbash Meinel, #364900)
 
1541
 
 
1542
Changes from 1.14rc1 to 1.14rc2
 
1543
*******************************
 
1544
 
 
1545
* Fix for bug 358037 Revision not in
 
1546
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
1547
  John A Meinel)
 
1548
 
 
1549
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
1550
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
1551
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
1552
 
 
1553
* Fix for bug 355280 eol content filters are never loaded and thus never
 
1554
  applied (Brian de Alwis, Ian Clatworthy)
 
1555
 
 
1556
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
1557
  write a better fix. (John Arbash Meinel, Robert Collins)
 
1558
 
 
1559
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
1560
  (Marius Kruger, Ian Clatworthy)
 
1561
 
 
1562
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
1563
  (Andrew Bennetts, Robert Collins)
 
1564
 
 
1565
Compatibility Breaks
 
1566
********************
 
1567
 
 
1568
* A previously disabled code path to accelerate getting configuration
 
1569
  settings from a smart server has been reinstated. We think this *may*
 
1570
  cause a incompatibility with servers older than bzr 0.15. We intend
 
1571
  to issue a point release to address this if it turns out to be a
 
1572
  problem. (Robert Collins, Andrew Bennetts)
 
1573
 
 
1574
* bzr no longer autodetects nested trees as 'tree-references'.  They
 
1575
  must now be explicitly added tree references.  At the commandline, use
 
1576
  join --reference instead of add.  (Aaron Bentley)
 
1577
 
 
1578
* The ``--long`` log format (the default) no longer shows merged
 
1579
  revisions implicitly, making it consistent with the ``short`` and
 
1580
  ``line`` log formats.  To see merged revisions for just a given
 
1581
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
1582
  use ``bzr log -n0``.  (Ian Clatworthy)
 
1583
 
 
1584
New Features
 
1585
************
 
1586
 
 
1587
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
1588
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
1589
  and generic content filtering. These formats replace the experimental
 
1590
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
1591
  respectively, but have support for filtered views disabled.
 
1592
  (Ian Clatworthy)
 
1593
 
 
1594
* New ``mv --auto`` option recognizes renames after they occur.
 
1595
  (Aaron Bentley)
 
1596
 
 
1597
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
1598
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
1599
 
 
1600
* ``bzr log`` now supports filtering of multiple files and directories
 
1601
  and will show changes that touch any of them. Furthermore,
 
1602
  directory filtering now shows the changes to any children of that
 
1603
  directory, not just the directory object itself.
 
1604
  (Ian Clatworthy, #97715)
 
1605
 
 
1606
* ``bzr shelve`` can now apply changes without storing anything on the
 
1607
  shelf, via the new --destroy option.  (Aaron Bentley)
 
1608
 
 
1609
* ``bzr send`` now accepts --body to specify an initial message body.
 
1610
  (Aaron bentley)
 
1611
 
 
1612
* ``bzr xxx --usage`` where xxx is a command now shows a usage
 
1613
  message and the options without the descriptive help sections
 
1614
  (like Description and Examples). A message is also given
 
1615
  explaining how to see the complete help, i.e. ``bzr help xxx``.
 
1616
  (Ian Clatworthy)
 
1617
 
 
1618
* Content filters can now be used to provide custom conversion
 
1619
  between the canonical format of content (i.e. as stored) and
 
1620
  the convenience format of content (i.e. as created in working
 
1621
  trees). See ``bzr help content-filters`` for further details.
 
1622
  (Ian Clatworthy, Alexander Belchenko)
 
1623
 
 
1624
* End-of-line conversion is now supported for formats supporting
 
1625
  content filtering. See ``bzr help eol`` for details.
 
1626
  (Ian Clatworthy)
 
1627
 
 
1628
* Newly-blessed `join` command allows combining two trees into one.
 
1629
  (Aaron Bentley)
 
1630
 
 
1631
Improvements
 
1632
************
 
1633
 
 
1634
* A new format name alias ``default-rich-root`` has been added and
 
1635
  points at the closest relative of the default format that supports 
 
1636
  rich roots. (Jelmer Vernooij, #338061)
 
1637
 
 
1638
* Branching from a stacked branch using ``bzr*://`` will now stream
 
1639
  the data when the target repository does not need topological
 
1640
  ordering, reducing round trips and network overhead. This uses the
 
1641
  existing smart server methods added in 1.13, so will work on any
 
1642
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
 
1643
 
 
1644
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
 
1645
  that displays/saves the content after content filters are applied.
 
1646
  (Ian Clatworthy)
 
1647
 
 
1648
* ``bzr ignore`` gives a more informative message when existing
 
1649
  version controlled files match the ignore pattern. (Neil
 
1650
  Martinsen-Burrell, #248895)
 
1651
 
 
1652
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
1653
  (Ian Clatworthy)
 
1654
 
 
1655
* ``bzr send`` is faster on repositories with deep histories.
 
1656
  (Ian Clatworthy)
 
1657
 
 
1658
* IPv6 literals are accepted in URLs.
 
1659
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
1660
 
 
1661
* Progress bars now show the rate of network activity for
 
1662
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
1663
 
 
1664
* Prompt for user names if they are not in the configuration. 
 
1665
  (Jelmer Vernooij, #256612)
 
1666
 
 
1667
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
 
1668
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
 
1669
  #294479)
 
1670
  
 
1671
* Streaming push can be done to older repository formats.  This is
 
1672
  implemented using a new ``Repository.insert_stream_locked`` RPC.
 
1673
  (Andrew Bennetts, Robert Collins)
 
1674
 
 
1675
* The "ignoring files outside view: .." message has been re-worded
 
1676
  to "Ignoring files outside view. View is .." to reduce confusion
 
1677
  about what was being considered and what was being ignored.
 
1678
  (Ian Clatworthy)
 
1679
 
 
1680
* The ``long`` log formatter now shows [merge] indicators. If
 
1681
  only one level of revisions is displayed and merges are found,
 
1682
  the ``long`` and ``short`` log formatters now tell the user
 
1683
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
1684
 
 
1685
* The ``brisbane-core`` project has delivered its beta format
 
1686
  ``development6-rich-root``. This format is suitable for judicious
 
1687
  testing by early adopters. In particular if you are benchmarking bzr
 
1688
  performance please be sure to test using this format. At this stage
 
1689
  more information is best obtained by contacting the Bazaar mailing list
 
1690
  or IRC channel if you are interested in using this format. We will make
 
1691
  end user documentation available closer to blessing the format as
 
1692
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
1693
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
1694
 
 
1695
* Tildes are no longer escaped. No more %7Euser/project/branch!
 
1696
  (Jonathan Lange)
 
1697
 
 
1698
Bug Fixes
 
1699
*********
 
1700
 
 
1701
* Pushing a new stacked branch will also push the parent inventories for
 
1702
  revisions at the stacking boundary.  This makes sure that the stacked
 
1703
  branch has enough data to calculate inventory deltas for all of its
 
1704
  revisions (without requiring the fallback branch).  This avoids
 
1705
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
1706
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
1707
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
1708
 
 
1709
* End-Of-Line content filters are now loaded correctly.
 
1710
  (Ian Clatworthy, Brian de Alwis, #355280)
 
1711
 
 
1712
* Authentication plugins now receive all the parameters from the request
 
1713
  itself (aka host, port, realm, path, etc). Previously, only the 
 
1714
  authentication section name, username and encoded password were 
 
1715
  provided. (Jean-Francois Roy)
 
1716
 
 
1717
* bzr gives a better message if an invalid regexp is passed to ``bzr log
 
1718
  -m``.  (Anne Mohsen, Martin Pool)
 
1719
 
 
1720
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
1721
 
 
1722
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
1723
  #313028)
 
1724
 
 
1725
* Fix "is not a stackable format" error when pushing a
 
1726
  stackable-format branch with an unstackable-format repository to a
 
1727
  destination with a default stacking policy.  (Andrew Bennetts)
 
1728
 
 
1729
* Fixed incorrect "Source format does not support stacking" warning
 
1730
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
1731
 
 
1732
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
1733
  needed. (Vincent Ladeuil, #355454)
 
1734
 
 
1735
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
 
1736
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
1737
  defined.  (Ian Clatworthy, #344708)
 
1738
 
 
1739
* It is no longer possible to fetch between repositories while the
 
1740
  target repository is in a write group. This prevents race conditions
 
1741
  that prevent the use of RPC's to perform fetch, and thus allows
 
1742
  optimising more operations. (Robert Collins, Andrew Bennetts)
 
1743
 
 
1744
* ``merge --force`` works again. (Robert Collins, #342105)
 
1745
 
 
1746
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
 
1747
  (Vincent Ladeuil, #346593)
 
1748
 
 
1749
* Pushing a new branch to a server that has a stacking policy will now
 
1750
  upgrade from the local branch format when the stacking policy points at
 
1751
  a branch which is itself stackable, because we know the client can read
 
1752
  both branches, we know that the trunk for the project can be read too,
 
1753
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
 
1754
 
 
1755
* Pushing a new stacked branch will also push the parent inventories for
 
1756
  revisions at the stacking boundary.  This makes sure that the stacked
 
1757
  branch has enough data to calculate inventory deltas for all of its
 
1758
  revisions (without requiring the fallback branch).  This avoids
 
1759
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
1760
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
1761
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
1762
 
 
1763
* The full test suite is passing again on OSX. Several minor issues (mostly
 
1764
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
1765
 
 
1766
* The GNU Changelog formatter is slightly improved in the case where
 
1767
  the delta is empty, and now correctly claims not to support tags.
 
1768
  (Andrea Bolognani)
 
1769
 
 
1770
* Shelve can now shelve changes to a symlink target.
 
1771
  (James Westby, #341558)
 
1772
 
 
1773
* The help for the ``info`` command has been corrected.
 
1774
  (Ian Clatworthy, #351931)
 
1775
 
 
1776
* Upgrade will now use a sensible default format if the source repository
 
1777
  uses rich roots.  (Jelmer Vernooij, #252908)
 
1778
 
 
1779
Documentation
 
1780
*************
 
1781
 
 
1782
* Expanded the index of the developer documentation. (Eric Siegerman)
 
1783
 
 
1784
* New topic `bzr help debug-flags`.  (Martin Pool)
 
1785
 
 
1786
* The generated manpage now explicitly lists aliases as commands.
 
1787
  (James Westby, #336998)
 
1788
 
 
1789
API Changes
 
1790
***********
 
1791
 
 
1792
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
1793
  (Martin Pool)
 
1794
 
 
1795
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
1796
  commit - this was a full-tree overhead that bzr no longer performs.
 
1797
  (Robert Collins)
 
1798
 
 
1799
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
1800
  obtain the username to use when connecting to remote machines. 
 
1801
  (Jelmer Vernooij)
 
1802
 
 
1803
* New API ``Inventory.filter()`` added that filters an inventory by
 
1804
  a set of file-ids so that only those fileids, their parents and
 
1805
  their children are included.  (Ian Clatworthy)
 
1806
 
 
1807
* New sort order for ``get_record_stream`` ``groupcompress`` which
 
1808
  sorts optimally for use with groupcompress compressors. (John Arbash
 
1809
  Meinel, Robert Collins)
 
1810
 
 
1811
* Repository APIs ``get_deltas_for_revisions()`` and
 
1812
  ``get_revision_delta()`` now support an optional ``specific_fileids``
 
1813
  parameter. If provided, the deltas are filtered so that only those
 
1814
  file-ids, their parents and their children are included.
 
1815
  (Ian Clatworthy)
 
1816
 
 
1817
* The ``get_credentials`` and ``set_credentials`` methods of 
 
1818
  ``AuthenticationConfig`` now accept an optional realm argument.
 
1819
  (Jean-Francois Roy)
 
1820
 
 
1821
* The ``pb`` argument to ``fetch()`` is deprecated.
 
1822
  (Martin Pool)
 
1823
 
 
1824
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
1825
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
1826
 
 
1827
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
 
1828
  that is not inside the backing transport from being opened.  See the
 
1829
  module documentation for ``bzrlib.smart.request`` for details.
 
1830
  (Andrew Bennetts, Robert Collins)
 
1831
 
 
1832
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
1833
  or None. Previously it would return the bytes from reading the link
 
1834
  which could be in any arbitrary encoding. (Robert Collins)
 
1835
 
 
1836
Testing
 
1837
*******
 
1838
 
 
1839
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
 
1840
  and ``tearDown`` weren't called.  This catches faulty tests that
 
1841
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
 
1842
  faulty tests were not properly isolated.
 
1843
  (Andrew Bennetts, Robert Collins)
 
1844
 
 
1845
* Fix test_msgeditor.MsgEditorTest test isolation.
 
1846
  (Vincent Ladeuil, #347130)
 
1847
 
 
1848
* ``medusa`` is not used anymore as an FTP test server starting with
 
1849
  python2.6. A new FTP test server based on ``pyftplib`` can be used
 
1850
  instead. This new server is a soft dependency as medusa which is still
 
1851
  preferred if both are available (modulo python version).
 
1852
  (Vincent Ladeuil)
 
1853
 
 
1854
Internals
 
1855
*********
 
1856
 
 
1857
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
1858
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
1859
 
 
1860
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
1861
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
1862
 
 
1863
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
1864
  serializing and deserializing inventory deltas for more efficient
 
1865
  streaming on the the network.  (Robert Collins, Andrew Bennetts)
 
1866
 
 
1867
* ``Branch._get_config`` has been added, which splits out access to the
 
1868
  specific config file from the branch. This is used to let RemoteBranch
 
1869
  avoid constructing real branch objects to access configuration settings.
 
1870
  (Robert Collins, Andrew Bennetts)
 
1871
 
 
1872
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
1873
  the implementation is generic and should impact foreign formats. This
 
1874
  helps performance for ``RemoteBranch`` push operations to new stacked
 
1875
  branches. (Robert Collins, Andrew Bennetts)
 
1876
 
 
1877
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
 
1878
  optmizations turned off. This only has effect when processing > 100,000
 
1879
  keys during something like ``bzr pack``. (John Arbash Meinel)
 
1880
 
 
1881
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
 
1882
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
 
1883
  dependency. (Robert Collins)
 
1884
 
 
1885
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
 
1886
  parameter for controlling opening of stacked branches.
 
1887
  (Andrew Bennetts, Robert Collins)
 
1888
  
 
1889
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
 
1890
  in terms of an iter_changes iterator rather than full tree scanning.
 
1891
  (Robert Collins)
 
1892
 
 
1893
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
 
1894
  enabling it to store the SHA1 and stat of the canonical (post
 
1895
  content filtered) form. (Ian Clatworthy)
 
1896
 
 
1897
* New ``assertLength`` method based on one Martin has squirreled away
 
1898
  somewhere. (Robert Collins, Martin Pool)
 
1899
 
 
1900
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
 
1901
  objects, allowing better enforcement of the smart server jail when
 
1902
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
 
1903
 
 
1904
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
1905
  to be added to the stanza that is printed for a particular revision.
 
1906
  (Jelmer Vernooij)
 
1907
 
 
1908
* New repository method ``refresh_data`` to cause any repository to
 
1909
  make visible data inserted into the repository by a smart server
 
1910
  fetch operation. (Robert Collins, Andrew Bennetts)
 
1911
 
 
1912
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
1913
  a callable to invoke if a preference has a value not in the map
 
1914
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
1915
  handle existing svn properties that define a list of keywords to be
 
1916
  expanded.  (Ian Clatworthy)
 
1917
 
 
1918
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
1919
  to write config settings to smart servers that support this, saving
 
1920
  5 round trips on the stacked streaming acceptance test.
 
1921
  (Robert Collins, Andrew Bennetts)
 
1922
 
 
1923
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
1924
  branch specific configuration from a remote server, which uses the 
 
1925
  already existing ``Branch.get_config_file`` smart verb.
 
1926
  (Robert Collins, Andrew Bennetts)
 
1927
 
 
1928
* ``RemoteRepository`` will now negatively cache missing revisions during
 
1929
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
 
1930
  (Robert Collins, Andrew Bennetts)
 
1931
 
 
1932
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
 
1933
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
 
1934
  (Andrew Bennetts)
 
1935
 
 
1936
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
 
1937
  whether the repository can efficiently generate deltas between trees
 
1938
  regardless of tree size. (Robert Collins)
 
1939
 
 
1940
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
 
1941
  byte strings" (aka 'chunked') for the content. It previously was
 
1942
  returning a plain string, which worked, but performed very poorly when
 
1943
  building a working tree (file.writelines(str) is very inefficient). This
 
1944
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
 
1945
 
 
1946
* selftest now supports a --parallel option, with values of 'fork' or
 
1947
  'subprocess' to run the test suite in parallel. Currently only linux
 
1948
  machine work, other platforms need patches submitted. (Robert Collins,
 
1949
  Vincent Ladeuil)
 
1950
 
 
1951
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
 
1952
  callables to use to decorate the test suite. Such decorators can add or
 
1953
  remove tests, or even remote the test suite to another machine if
 
1954
  desired. (Robert Collins)
 
1955
 
 
1956
* The smart server verb ``Repository.get_parent_map`` can now include
 
1957
  information about ghosts when the special revision ``include-missing:``
 
1958
  is in the requested parents map list. With this flag, ghosts are
 
1959
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
 
1960
 
 
1961
* ``_walk_to_common_revisions`` will now batch up at least 50
 
1962
  revisions before calling ``get_parent_map`` on the target,
 
1963
  regardless of ``InterRepository``.
 
1964
  (Andrew Bennetts, Robert Collins)
 
1965
 
 
1966
bzr 1.13
 
1967
########
 
1968
 
 
1969
:Codename: paraskavedekatriaphobia
 
1970
:1.13: 2009-03-14
 
1971
:1.13rc1: 2009-03-10
 
1972
:1.13.1: 2009-03-23
 
1973
:1.13.2: 2009-04-27
 
1974
 
 
1975
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
 
1976
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
 
1977
stacked branches should both be much faster over remote connections.  
 
1978
 
 
1979
Changes From 1.13.1 to 1.13.2
 
1980
*****************************
 
1981
 
 
1982
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
1983
a stacked branch they do not take care to push all the parent inventories for
 
1984
the transferred revisions. This means that a smart server serving that branch
 
1985
often cannot calculate inventory deltas for the branch (because smart server
 
1986
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
1987
have a verb to stream revisions out of a repository, so that's why this bug has
 
1988
appeared now.
 
1989
 
 
1990
Bug Fixes
 
1991
*********
 
1992
 
 
1993
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
1994
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
1995
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
1996
 
 
1997
Changes From 1.13final to 1.13.1
 
1998
********************************
 
1999
 
 
2000
A couple regessions where found in the 1.13 release. The pyrex-generated C
 
2001
extensions are missing from the .tar.gz and .zip files.  Documentation on how
 
2002
to generate GNU ChangeLogs is wrong.
 
2003
 
 
2004
Bug Fixes
 
2005
*********
 
2006
 
 
2007
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
 
2008
  version_info. (Bob Tanner, Martin Pool, #345232)
 
2009
 
 
2010
* Distribution archives for 1.13 do not contain generated C extension modules
 
2011
  (Jean-Francois Roy, Bob Tanner, #344465)
 
2012
 
 
2013
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
 
2014
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
 
2015
 
 
2016
* ``merge --force`` works again. (Robert Collins, #342105)
 
2017
 
 
2018
Changes From 1.13rc1 to 1.13final
 
2019
*********************************
 
2020
 
 
2021
* Fix "is not a stackable format" error when pushing a
 
2022
  stackable-format branch with an unstackable-format repository to a
 
2023
  destination with a default stacking policy.  (Andrew Bennetts)
 
2024
 
 
2025
* Progress bars now show the rate of network activity for
 
2026
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
2027
 
 
2028
Compatibility Breaks
 
2029
********************
 
2030
 
 
2031
* ``bzr log --line`` now indicates which revisions are merges with
 
2032
  `[merge]` after the date.  Scripts which parse the output of this
 
2033
  command may need to be adjusted.
 
2034
  (Neil Martinsen-Burrell)
 
2035
 
 
2036
New Features
 
2037
************
 
2038
 
 
2039
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
 
2040
  options to change the default tree-creation policy of shared
 
2041
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
 
2042
 
 
2043
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
 
2044
  (Martin Pool)
 
2045
 
 
2046
* Filtered views provide a mask over the tree so that users can focus
 
2047
  on a subset of a tree when doing their work. See ``Filtered views``
 
2048
  in chapter 7 of the User Guide and ``bzr help view`` for details.
 
2049
  (Ian Clatworthy)
 
2050
 
 
2051
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
 
2052
  (Andrea Bolognani, Martin Pool)
 
2053
 
 
2054
* The ``-Dmemory`` flag now gives memory information on Windows.
 
2055
  (John Arbash Meinel)
 
2056
 
 
2057
* Multiple authors for a commit can now be recorded by using the "--author"
 
2058
  option multiple times. (James Westby, #185772)
 
2059
 
 
2060
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
 
2061
 
 
2062
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
 
2063
  branch in your web browser, as long as the branch is on Launchpad at all.
 
2064
  (Jonathan Lange)
 
2065
 
 
2066
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
 
2067
  (Jonathan Lange)
 
2068
 
 
2069
Improvements
 
2070
************
 
2071
 
 
2072
* All bzr ``Hooks`` classes are now registered in
 
2073
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
 
2074
  ``bzrlib.tests`` and ensures that all hooks registered there are
 
2075
  correctly isolated by the test suite (previously
 
2076
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
 
2077
  documentation for hooks is now dynamically generated from the
 
2078
  present HookPoints. ``bzr hooks`` will now also report on all the
 
2079
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
 
2080
  (Robert Collins)
 
2081
 
 
2082
* ``bzr add`` no longer prints ``add completed`` on success. Failure
 
2083
  still prints an error message. (Robert Collins)
 
2084
 
 
2085
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
 
2086
  generation of a working tree in the new branch.
 
2087
  (Daniel Watkins, John Klinger, #273993)
 
2088
 
 
2089
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
 
2090
  use ssh://. (Jelmer Vernooij, #330535)
 
2091
 
 
2092
* ``bzr -v info`` now omits the number of committers branch statistic,
 
2093
  making it many times faster for large projects. To include that
 
2094
  statistic in the output, use ``bzr -vv info``.
 
2095
  (Ian Clatworthy)
 
2096
 
 
2097
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
 
2098
  stream if the server is version 1.13 or greater, reducing roundtrips
 
2099
  significantly. (Andrew Bennetts, Robert Collins)
 
2100
 
 
2101
* Lightweight Checkouts and Stacked Branches should both be much
 
2102
  faster over remote connections. Building the working tree now
 
2103
  batches up requests into approx 5MB requests, rather than a separate
 
2104
  request for each file. (John Arbash Meinel)
 
2105
 
 
2106
* Support for GSSAPI authentication when using HTTP or HTTPS. 
 
2107
  (Jelmer Vernooij)
 
2108
 
 
2109
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
 
2110
  short options better. (Daniel Watkins, #327429)
 
2111
 
 
2112
* ``bzr lp-open`` now falls back to the push location if it cannot find a
 
2113
  public location. (Jonathan Lange, #332372)
 
2114
 
 
2115
* ``bzr lp-open`` will try to find the Launchpad URL for the location
 
2116
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
 
2117
  expected. (Jonathan Lange, #332705)
 
2118
 
 
2119
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
 
2120
 
 
2121
Bug Fixes
 
2122
*********
 
2123
 
 
2124
* Allows ``bzr log <FILE>`` to be called in an empty branch without
 
2125
  backtracing. (Vincent Ladeuil, #346431)
 
2126
 
 
2127
* Bazaar now gives a better message including the filename if it's
 
2128
  unable to read a file in the working directory, for example because
 
2129
  of a permission error.  (Martin Pool, #338653)
 
2130
 
 
2131
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
 
2132
  file id in the working tree different from the one in revision <old>.
 
2133
  (Vincent Ladeuil, #341517, #253806)
 
2134
 
 
2135
* ``bzr send`` help is more specific about how to apply merge
 
2136
  directives.  (Neil Martinsen-Burrell, #253470)
 
2137
 
 
2138
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
 
2139
  than fetching trees and determining a delta itself. (Jelmer
 
2140
  Vernooij, #315048)
 
2141
 
 
2142
* ``bzr push`` to a smart server no longer causes "Revision
 
2143
  {set([('null:',)])} not present ..." errors when the branch has
 
2144
  multiple root revisions. (Andrew Bennetts, #317654)
 
2145
 
 
2146
* ``bzr shelve`` now properly handle patches with no terminating newline.
 
2147
  (Benoît PIERRE, #303569)
 
2148
 
 
2149
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
 
2150
  shelf id. (Daniel Watkins)
 
2151
 
 
2152
* Export now handles files that are not present in the tree.
 
2153
  (James Westby, #174539)
 
2154
 
 
2155
* Fixed incorrect "Source format does not support stacking" warning
 
2156
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
2157
  
 
2158
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
 
2159
  error branching from old repositories.
 
2160
  (Martin Pool, #321695)
 
2161
 
 
2162
* Make ``bzr push --quiet <non-local location>`` less chatty.
 
2163
  (Kent Gibson, #221461)
 
2164
 
 
2165
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
 
2166
  branches, and this was not noticed due to a bug in the test logic
 
2167
  for branches. This is now fixed and a test added to prevent it
 
2168
  reoccuring. (Robert Collins, Andrew Bennetts)
 
2169
 
 
2170
* Restore the progress bar on Windows. We were disabling it when TERM
 
2171
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
2172
  #334808)
 
2173
 
 
2174
* ``setup.py build_ext`` now gives a proper error when an extension
 
2175
  fails to build. (John Arbash Meinel)
 
2176
 
 
2177
* Symlinks to non ascii file names are now supported.
 
2178
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
 
2179
 
 
2180
* Under rare circumstances (aka nobody reported a bug about it), the ftp
 
2181
  transport could revert to ascii mode. It now stays in binary mode except
 
2182
  when needed.  (Vincent Ladeuil)
 
2183
 
 
2184
* Unshelve does not generate warnings about progress bars.
 
2185
  (Aaron Bentley, #328148)
 
2186
 
 
2187
* shelve cleans up properly when unversioned files are specified.
 
2188
  (Benoît Pierre, Aaron Bentley)
 
2189
 
 
2190
Documentation
 
2191
*************
 
2192
 
 
2193
* Added ``Organizing your workspace`` to the User Guide appendices,
 
2194
  summarizing some common ways of organizing trees, branches and
 
2195
  repositories and the processes/workflows implied/enabled by each.
 
2196
  (Ian Clatworthy)
 
2197
 
 
2198
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
 
2199
  is the entry point for this feature. (Robert Collins)
 
2200
 
 
2201
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
 
2202
  (Daniel Watkins, #327421, #327425)
 
2203
 
 
2204
API Changes
 
2205
***********
 
2206
 
 
2207
* ``bzr selftest`` now fails if the bazaar sources contain trailing
 
2208
  whitespace, non-unix style line endings and files not ending in a
 
2209
  newline. About 372 files and 3243 lines with trailing whitespace was
 
2210
  updated to comply with this. The code already complied with the other
 
2211
  criteria, but now it is enforced. (Marius Kruger)
 
2212
 
 
2213
* ``bzrlib.branch.PushResult`` was renamed to 
 
2214
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
 
2215
 
 
2216
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
 
2217
  than a count of copied revisions and failed revisions. A while back
 
2218
  we stopped ever reporting failed revisions because we started
 
2219
  erroring instead, and the copied revisions count is not used in the
 
2220
  UI at all - indeed it only reflects the repository status not
 
2221
  changes to the branch itself. (Robert Collins)
 
2222
 
 
2223
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
 
2224
  appears multiple times within the delta. (Ian Clatworthy)
 
2225
 
 
2226
* MutableTree.commit now favours the "authors" argument, with the old
 
2227
  "author" argument being deprecated.
 
2228
 
 
2229
* Remove deprecated EmptyTree.  (Martin Pool)
 
2230
 
 
2231
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
 
2232
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
 
2233
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
 
2234
  which revisions to fetch. (Andrew Bennetts)
 
2235
 
 
2236
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
 
2237
  tuple of ``(repository, is_new_flag)``, rather than just the
 
2238
  repository.  (Andrew Bennetts)
 
2239
 
 
2240
* Revision.get_apparent_author() is now deprecated, replaced by
 
2241
  Revision.get_apparent_authors(), which returns a list. The former
 
2242
  now returns the first item that would be returned from the second.
 
2243
 
 
2244
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
 
2245
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
 
2246
 
 
2247
* The ``_fetch_*`` attributes on ``Repository`` are now on
 
2248
  ``RepositoryFormat``, more accurately reflecting their intent (they
 
2249
  describe a disk format capability, not state of a particular
 
2250
  repository of that format). (Robert Collins)
 
2251
 
 
2252
Internals
 
2253
*********
 
2254
 
 
2255
* Branching from a non-stacked branch on a smart protocol is now
 
2256
  free of virtual file system methods.
 
2257
  (Robert Collins, Andrew Bennetts)
 
2258
 
 
2259
* Branch and Repository creation on a bzr+ssh://server are now done
 
2260
  via RPC calls rather than VFS calls, reducing round trips for
 
2261
  pushing new branches substantially. (Robert Collins)
 
2262
 
 
2263
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
 
2264
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
 
2265
  configured before the branch tags and revision tip are set. This
 
2266
  fixes a race condition cloning stacked branches that would cause
 
2267
  plugins to have hooks called on non-stacked instances.
 
2268
  (Robert Collins, #334187)
 
2269
 
 
2270
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
 
2271
 
 
2272
* ``BzrDirFormat.__str__`` now uses the human readable description
 
2273
  rather than the sometimes-absent disk label. (Robert Collins)
 
2274
 
 
2275
* ``bzrlib.fetch`` is now composed of a sender and a sink component
 
2276
  allowing for decoupling over a network connection. Fetching from
 
2277
  or into a RemoteRepository with a 1.13 server will use this to
 
2278
  stream the operation.
 
2279
  (Andrew Bennetts, Robert Collins)
 
2280
 
 
2281
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
 
2282
  supporting the use of different runners. (Robert Collins)
 
2283
 
 
2284
* Change how file_ids and revision_ids are interned as part of
 
2285
  inventory deserialization. Now we use the real ``intern()``, rather
 
2286
  than our own workaround that would also cache a Unicode copy of the
 
2287
  string, and never emptied the cache. This should slightly reduce
 
2288
  memory consumption. (John Arbash Meinel)
 
2289
 
 
2290
* New branch method ``create_clone_on_transport`` that returns a
 
2291
  branch object. (Robert Collins)
 
2292
 
 
2293
* New hook Commands['extend_command'] to allow plugins to access a
 
2294
  command object before the command is run (or help generated from
 
2295
  it), without overriding the command. (Robert Collins)
 
2296
 
 
2297
* New version of the ``BzrDir.find_repository`` verb supporting
 
2298
  ``_network_name`` to support removing more _ensure_real calls.
 
2299
  (Robert Collins)
 
2300
 
 
2301
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
 
2302
  (Robert Collins)
 
2303
 
 
2304
* ``Repository`` objects now have ``suspend_write_group`` and
 
2305
  ``resume_write_group`` methods.  These are currently only useful
 
2306
  with pack repositories. (Andrew Bennetts, Robert Collins)
 
2307
 
 
2308
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
 
2309
  now have a ``network_name`` for passing the format across RPC calls.
 
2310
  (Robert Collins, Andrew Bennetts)
 
2311
 
 
2312
* ``RepositoryFormat`` objects now all have a new attribute
 
2313
  ``_serializer`` used by fetch when reserialising is required.
 
2314
  (Robert Collins, Andrew Bennetts)
 
2315
 
 
2316
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
 
2317
  to aid branch types that are not bzr branch objects (like
 
2318
  RemoteBranch). (Robert Collins, Andrew Bennetts)
 
2319
 
 
2320
* Test adaptation has been made consistent throughout the built in
 
2321
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
 
2322
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
 
2323
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
 
2324
  and ``apply_scenario``. (Robert Collins)
 
2325
 
 
2326
* ``TestSkipped`` is now detected by TestCase and passed to the
 
2327
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
 
2328
  where ``addSkip`` is not available, ``addError`` is still called.
 
2329
  This permits test filtering in subunit to strip out skipped tests
 
2330
  resulting in a faster fix-shrink-list-run cycle. This is compatible
 
2331
  with the testtools protocol for skips. (Robert Collins)
 
2332
 
 
2333
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
 
2334
  to scan an underlying index that is going to be incorporated into
 
2335
  the ``KnitVersionedFiles`` object, to determine if it has missing
 
2336
  delta references. The method is ``scan_unvalidated_index``.
 
2337
  (Andrew Bennetts, Robert Collins)
 
2338
 
 
2339
* There is a RemoteSink object which handles pushing to smart servers.
 
2340
  (Andrew Bennetts, Robert Collins)
 
2341
 
 
2342
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
 
2343
  ``rmdir`` calls. (Robert Collins)
 
2344
 
 
2345
* ``VersionedFiles`` record adapters have had their signature change
 
2346
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
 
2347
  ``(record)`` reducing excess duplication and allowing adapters
 
2348
  to access private data in record to obtain content more
 
2349
  efficiently. (Robert Collins)
 
2350
 
 
2351
* We no longer probe to see if we should create a working tree during
 
2352
  clone if we cannot get a local_abspath for the new bzrdir.
 
2353
  (Robert Collins)
 
2354
 
 
2355
 
 
2356
bzr 1.12
 
2357
########
 
2358
 
 
2359
:Codename: 1234567890
 
2360
:1.12: 2009-02-13
 
2361
:1.12rc1: 2009-02-10
 
2362
 
 
2363
This release of Bazaar contains many improvements to the speed,
 
2364
documentation and functionality of ``bzr log`` and the display of logged
 
2365
revisions by ``bzr status``.  bzr now also gives a better indication of
 
2366
progress, both in the way operations are drawn onto a text terminal, and
 
2367
by showing the rate of network IO.
 
2368
 
 
2369
Changes from RC1 to Final
 
2370
*************************
 
2371
 
 
2372
* ``bzr init --development-wt5[-rich-root]`` would fail because of
 
2373
  circular import errors. (John Arbash Meinel, #328135)
 
2374
 
 
2375
* Expanded the help for log and added a new help topic called
 
2376
  ``log-formats``.  (Ian Clatworthy)
 
2377
 
 
2378
Compatibility Breaks
 
2379
********************
 
2380
 
 
2381
* By default, ``bzr status`` after a merge now shows just the pending
 
2382
  merge tip revisions. This improves the signal-to-noise ratio after
 
2383
  merging from trunk and completes much faster. To see all merged
 
2384
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
 
2385
 
 
2386
* ``bzr log --line`` now shows any tags after the date and before
 
2387
  the commit message. If you have scripts which parse the output
 
2388
  from this command, you may need to adjust them accordingly.
 
2389
  (Ian Clatworthy)
 
2390
 
 
2391
* ``bzr log --short`` now shows any additional revision properties
 
2392
  after the date and before the commit message.  Scripts that parse 
 
2393
  output of the log command in this situation may need to adjust.
 
2394
  (Neil Martinsen-Burrell)
 
2395
 
 
2396
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
 
2397
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
 
2398
  respectively, given they are not ready for release in 1.12.
 
2399
  (Ian Clatworthy)
 
2400
 
 
2401
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
 
2402
 
 
2403
New Features
 
2404
************
 
2405
 
 
2406
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
 
2407
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
 
2408
  be filtered using ``bzr missing --my-revision -20..-10``.
 
2409
  (Marius Kruger)
 
2410
 
 
2411
* ``bzr log -p`` displays the patch diff for each revision.
 
2412
  When logging a file, the diff only includes changes to that file.
 
2413
  (Ian Clatworthy, #202331, #227335)
 
2414
 
 
2415
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
 
2416
  A value of 0 (zero) means "show all nested merge revisions" while
 
2417
  a value of 1 (one) means "show just the top level". Values above
 
2418
  1 can be used to see a limited amount of nesting. That can be
 
2419
  useful for seeing the level or two below PQM submits for example.
 
2420
  To force the ``--short`` and ``--line`` formats to display all nested
 
2421
  merge revisions just like ``--long`` does by default, use a command
 
2422
  like ``bzr log --short -n0``. To display just the mainline using
 
2423
  ``--long`` format, ``bzr log --long -n1``.
 
2424
  (Ian Clatworthy)
 
2425
 
 
2426
Improvements
 
2427
************
 
2428
 
 
2429
* ``bzr add`` more clearly communicates success vs failure.
 
2430
  (Daniel Watkins)
 
2431
 
 
2432
* ``bzr init`` will now print a little less verbose output.
 
2433
  (Marius Kruger)
 
2434
 
 
2435
* ``bzr log`` is now much faster in many use cases, particularly
 
2436
  at incrementally displaying results and filtering by a
 
2437
  revision range. (Ian Clatworthy)
 
2438
 
 
2439
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
 
2440
  for each revision. The tags are shown comma-separated inside
 
2441
  ``{}``. For short format, the tags appear at the end of line
 
2442
  before the optional ``[merge]`` indicator. For line format,
 
2443
  the tags appear after the date. (Ian Clatworthy)
 
2444
 
 
2445
* Progress bars now show the rate of activity for some sftp 
 
2446
  operations, and they are drawn different.  (Martin Pool, #172741)
 
2447
 
 
2448
* Progress bars now show the rate of activity for urllib and pycurl based
 
2449
  http client implementations. The operations are tracked at the socket
 
2450
  level for better precision.
 
2451
  (Vincent Ladeuil)
 
2452
 
 
2453
* Rule-based preferences can now accept multiple patterns for a set of
 
2454
  rules.  (Marius Kruger)
 
2455
 
 
2456
* The ``ancestor:`` revision spec will now default to referring to the
 
2457
  parent of the branch if no other location is given.
 
2458
  (Daniel Watkins, #198417)
 
2459
 
 
2460
* The debugger started as a result of setting ``$BZR_PDB`` works
 
2461
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
 
2462
  can cause truncated tracebacks in Python versions before 2.6.
 
2463
  (Andrew Bennetts)
 
2464
 
 
2465
* VirtualVersionedFiles now implements
 
2466
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
 
2467
  new branches based on stacked bzr-svn branches. (#311997)
 
2468
 
 
2469
Bug Fixes
 
2470
*********
 
2471
 
 
2472
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
 
2473
  anymore.
 
2474
  (Anne Mohsen, Vincent Ladeuil, #314525)
 
2475
 
 
2476
* ``bzr log FILE`` now correctly shows mainline revisions merging
 
2477
  a change to FILE when the ``--short`` and ``--line`` log formats
 
2478
  are used. (Ian Clatworthy, #317417)
 
2479
 
 
2480
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
 
2481
  it existed in Y or X, even if the file has since been deleted or
 
2482
  renamed. If no range is given, the current/basis tree and
 
2483
  initial tree are searched in that order. More generally, log
 
2484
  now interprets filenames in their historical context.
 
2485
  (Ian Clatworthy, #175520)
 
2486
 
 
2487
* ``bzr status`` now reports nonexistent files and continues, then
 
2488
  errors (with code 3) at the end.  (Karl Fogel, #306394)
 
2489
 
 
2490
* Don't require the present compression base in knits to be the same
 
2491
  when adding records in knits. (Jelmer Vernooij, #307394)
 
2492
 
 
2493
* Fix a problem with CIFS client/server lag on Windows colliding with
 
2494
  an invariant-per-process algorithm for generating AtomicFile names
 
2495
  (Adrian Wilkins, #304023)
 
2496
 
 
2497
* Many socket operations now handle EINTR by retrying the operation.
 
2498
  Previously EINTR was treated as an unrecoverable failure.  There is
 
2499
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
 
2500
  (Andrew Bennetts)
 
2501
 
 
2502
* Support symlinks with non-ascii characters in the symlink filename.
 
2503
  (Jelmer Vernooij, #319323)
 
2504
 
 
2505
* There was a bug in how we handled resolving when a file is deleted
 
2506
  in one branch, and modified in the other. If there was a criss-cross
 
2507
  merge, we would cause the deletion to conflict a second time.
 
2508
  (Vincent Ladeuil, John Arbash Meinel)
 
2509
 
 
2510
* There was another bug in how we chose the correct intermediate LCA in
 
2511
  criss-cross merges leading to several kind of changes be incorrectly
 
2512
  handled.
 
2513
  (John Arbash Meinel, Vincent Ladeuil)
 
2514
 
 
2515
* Unshelve now handles deleted paths without crashing. (Robert Collins)
 
2516
 
 
2517
Documentation
 
2518
*************
 
2519
 
 
2520
* Improved plugin developer documentation.  (Martin Pool)
 
2521
 
 
2522
API Changes
 
2523
***********
 
2524
 
 
2525
* ``ProgressBarStack`` is deprecated; instead use
 
2526
  ``ui_factory.nested_progress_bar`` to create new progress bars.
 
2527
  (Martin Pool)
 
2528
 
 
2529
* ForeignVcsMapping() now requires a ForeignVcs object as first
 
2530
  argument. (Jelmer Vernooij)
 
2531
 
 
2532
* ForeignVcsMapping.show_foreign_revid() has been moved to
 
2533
  ForeignVcs. (Jelmer Vernooij)
 
2534
 
 
2535
* ``read_bundle_from_url`` is deprecated in favor of
 
2536
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
 
2537
 
 
2538
* Revision specifiers are now registered in
 
2539
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
 
2540
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
 
2541
  deprecated. (Jelmer Vernooij, #321183)
 
2542
 
 
2543
* The progress and UI classes have changed; the main APIs remain the
 
2544
  same but code that provides a new UI or progress bar class may
 
2545
  need to be updated.  (Martin Pool)
 
2546
 
 
2547
Internals
 
2548
*********
 
2549
 
 
2550
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
 
2551
  terminal. It is sometimes desirable do override this default by forcing
 
2552
  bzr to use TextUIFactory. This can be achieved by setting the
 
2553
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
 
2554
  compile buffers, are such an example).
 
2555
  (Vincent Ladeuil)
 
2556
 
 
2557
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
 
2558
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
 
2559
  (Ian Clatworthy)
 
2560
 
 
2561
* New ``Branch.dotted_revno_to_revision_id()`` and
 
2562
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
 
2563
  efficient way of doing the mapping.
 
2564
  (Ian Clatworthy)
 
2565
 
 
2566
* Refactor cmd_serve so that it's a little easier to build commands that
 
2567
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
 
2568
 
 
2569
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
 
2570
  formatters to retrict the output.
 
2571
  (Vincent Ladeuil)
 
2572
 
 
2573
 
 
2574
bzr 1.11
 
2575
########
 
2576
 
 
2577
:Codename: "Eyes up!"
 
2578
:Released: 2009-01-19
 
2579
 
 
2580
This first monthly release of Bazaar for 2009 improves Bazaar's operation
 
2581
in Windows, Mac OS X, and other situations where file names are matched
 
2582
without regard to capitalization: Bazaar tries to match the case of an
 
2583
existing file.  This release of Bazaar also improves the efficiency of
 
2584
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
 
2585
 
 
2586
The UI through which Bazaar supports historic formats has been improved,
 
2587
so 'bzr help formats' now gives a simpler and shorter list, with clear
 
2588
advice.
 
2589
 
 
2590
This release also fixes a number of bugs, particularly a glitch that can
 
2591
occur when there are concurrent writes to a pack repository.
 
2592
 
 
2593
Bug Fixes
 
2594
*********
 
2595
 
 
2596
* Fix failing test when CompiledChunksToLines is not available.
 
2597
  (Vincent Ladeuil)
 
2598
 
 
2599
* Stacked branches don't repeatedly open their transport connection.
 
2600
  (John Arbash Meinel)
 
2601
 
 
2602
 
 
2603
 
 
2604
bzr 1.11rc1
 
2605
###########
 
2606
 
 
2607
:Codename: "Eyes up!"
 
2608
:Released: 2009-01-09
 
2609
 
 
2610
Changes
 
2611
*******
 
2612
 
 
2613
* Formats using Knit-based repository formats are now explicitly
 
2614
  marked as deprecated. (Ian Clatworthy)
 
2615
 
 
2616
New Features
 
2617
************
 
2618
 
 
2619
* Add support for `bzr tags -r 1..2`, that is we now support showing
 
2620
  tags applicable for a specified revision range. (Marius Kruger)
 
2621
 
 
2622
* ``authentication.conf`` now accepts pluggable read-only credential
 
2623
  stores. Such a plugin (``netrc_credential_store``) is now included,
 
2624
  handles the ``$HOME/.netrc`` file and can server as an example to
 
2625
  implement other plugins.
 
2626
  (Vincent Ladeuil)
 
2627
 
 
2628
* ``shelve --list`` can now be used to list shelved changes.
 
2629
  (Aaron Bentley)
 
2630
 
 
2631
Improvements
 
2632
************
 
2633
 
 
2634
* Add trailing slash to directories in all output of ``bzr ls``, except
 
2635
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
 
2636
 
 
2637
* ``bzr revision-info`` now supports a -d option to specify an
 
2638
  alternative branch. (Michael Hudson)
 
2639
 
 
2640
* Add connection to a C++ implementation of the Windows Shell Extension
 
2641
  which is able to fully replace the current Python implemented one.
 
2642
  Advantages include 64bit support and reduction in overhead for
 
2643
  processes which drag in shell extensions.
 
2644
  (Mark Hammond)
 
2645
 
 
2646
* Support the Claws mail client directly, rather than via
 
2647
  xdg-email. This prevents the display of an unnecessary modal
 
2648
  dialog in Claws, informing the user that a file has been
 
2649
  attached to the message, and works around bug #291847 in
 
2650
  xdg-utils which corrupts the destination address.
 
2651
 
 
2652
* When working on a case-insensitive case-preserving file-system, as
 
2653
  commonly found with Windows, bzr will often ignore the case of the
 
2654
  arguments specified by the user in preference to the case of an existing
 
2655
  item on the file-system or in the inventory to help prevent
 
2656
  counter-intuitive behaviour on Windows. (Mark Hammond)
 
2657
 
 
2658
Bug Fixes
 
2659
*********
 
2660
  
 
2661
* Allow BzrDir implementation to implement backing up of 
 
2662
  control directory. (#139691)
 
2663
 
 
2664
* ``bzr push`` creating a new stacked branch will now only open a
 
2665
  single connection to the target machine. (John Arbash Meinel)
 
2666
 
 
2667
* Don't call iteritems on transport_list_registry, because it may
 
2668
  change during iteration.  (Martin Pool, #277048)
 
2669
 
 
2670
* Don't make a broken branch when pushing an unstackable-format branch
 
2671
  that's in a stackable shared repository to a location with default
 
2672
  stack-on location.  (Andrew Bennetts, #291046)
 
2673
 
 
2674
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
 
2675
  (Ben Jansen, Vincent Ladeuil, #300347)
 
2676
 
 
2677
* Fix a problem with CIFS client/server lag on windows colliding with
 
2678
  an invariant-per-process algorithm for generating AtomicFile names
 
2679
  (Adrian Wilkins, #304023)
 
2680
 
 
2681
* Fix bogus setUp signature in UnavailableFTPServer.
 
2682
  (Gary van der Merwe, #313498)
 
2683
 
 
2684
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
 
2685
  (Jari Aalto)
 
2686
 
 
2687
* Fix SystemError in ``_patiencediff_c`` module by calling
 
2688
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
 
2689
  (Andrew Bennetts, #303206)
 
2690
 
 
2691
* Give proper error message for diff with non-existent dotted revno.
 
2692
  (Marius Kruger, #301969)
 
2693
 
 
2694
* Handle EACCES (permission denied) errors when launching a message
 
2695
  editor, and emit warnings when a configured editor cannot be
 
2696
  started. (Andrew Bennetts)
 
2697
 
 
2698
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
 
2699
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
 
2700
  in the appropriate sections.
 
2701
  (Vincent Ladeuil, #103029)
 
2702
 
 
2703
* Opening a stacked branch now properly shares the connection, rather
 
2704
  than opening a new connection for the stacked-on branch.
 
2705
  (John Arbash meinel)
 
2706
 
 
2707
* Preserve transport decorators while following redirections.
 
2708
  (Vincent Ladeuil, #245964, #270863)
 
2709
 
 
2710
* Provides a finer and more robust filter for accepted redirections.
 
2711
  (Vincent Ladeuil, #303959, #265070)
 
2712
 
 
2713
* ``shelve`` paths are now interpreted relative to the current working
 
2714
  tree.  (Aaron Bentley)
 
2715
 
 
2716
* ``Transport.readv()`` defaults to not reading more than 100MB in a
 
2717
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
 
2718
  work better with how it splits its requests.
 
2719
  (John Arbash Meinel, #303538)
 
2720
 
 
2721
* Pack repositories are now able to reload the pack listing and retry
 
2722
  the current operation if another action causes the data to be
 
2723
  repacked.  (John Arbash Meinel, #153786)
 
2724
 
 
2725
* ``pull -v`` now respects the log_format configuration variable.
 
2726
  (Aaron Bentley)
 
2727
 
 
2728
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
 
2729
 
 
2730
* Use the short status format when the short format is used for log.
 
2731
  (Vincent Ladeuil, #87179)
 
2732
 
 
2733
* Allow files to be renamed or moved via remove + add-by-id. (Charles
 
2734
  Duffy, #314251)
 
2735
 
 
2736
Documentation
 
2737
*************
 
2738
 
 
2739
* Improved the formats help topic to explain why multiple formats
 
2740
  exist and to provide guidelines in selecting one. Introduced
 
2741
  two new supporting help topics: current-formats and other-formats.
 
2742
  (Ian Clatworthy)
 
2743
 
 
2744
API Changes
 
2745
***********
 
2746
 
 
2747
* ``LRUCache(after_cleanup_size)`` was renamed to
 
2748
  ``after_cleanup_count`` and the old name deprecated. The new name is
 
2749
  used for clarity, and to avoid confusion with
 
2750
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
 
2751
 
 
2752
* New ``ForeignRepository`` base class, to help with foreign branch 
 
2753
  support (e.g. svn).  (Jelmer Vernooij)
 
2754
 
 
2755
* ``node_distances`` and ``select_farthest`` can no longer be imported
 
2756
  from ``bzrlib.graph``.  They can still be imported from
 
2757
  ``bzrlib.deprecated_graph``, which has been the preferred way to
 
2758
  import them since before 1.0.  (Andrew Bennetts)
 
2759
  
 
2760
* The logic in commit now delegates inventory basis calculations to
 
2761
  the ``CommitBuilder`` object; this requires that the commit builder
 
2762
  in use has been updated to support the new ``recording_deletes`` and
 
2763
  ``record_delete`` methods. (Robert Collins)
 
2764
 
 
2765
Testing
 
2766
*******
 
2767
 
 
2768
* An HTTPS server is now available (it requires python-2.6). Future bzr
 
2769
  versions will allow the use of the python-2.6 ssl module that can be
 
2770
  installed for 2.5 and 2.4.
 
2771
 
 
2772
* ``bzr selftest`` now fails if new trailing white space is added to
 
2773
  the bazaar sources. It only checks changes not committed yet. This
 
2774
  means that PQM will now reject changes that introduce new trailing
 
2775
  whitespace. (Marius Kruger)
 
2776
 
 
2777
* Introduced new experimental formats called ``1.12-preview`` and
 
2778
  ``1.12-preview-rich-root`` to enable testing of related pending
 
2779
  features, namely content filtering and filtered views.
 
2780
  (Ian Clatworthy)
 
2781
 
 
2782
Internals
 
2783
*********
 
2784
 
 
2785
* Added an ``InventoryEntry`` cache when deserializing inventories.
 
2786
  Can cut the time to iterate over multiple RevisionsTrees in half.
 
2787
  (John Arbash Meinel)
 
2788
 
 
2789
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
 
2790
  minimal overhead versus using a plain dict for cache hits, at the
 
2791
  cost of not preserving the 'active' set as well as an ``LRUCache``.
 
2792
  (John Arbash Meinel)
 
2793
 
 
2794
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
 
2795
  character to separate the filename from the date stamp, and doesn't
 
2796
  add trailing whitespace when a date stamp is not supplied.
 
2797
  (Adeodato Simó, John Arbash Meinel)
 
2798
 
 
2799
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
 
2800
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
 
2801
  respectively. (Ian Clatworthy)
 
2802
 
 
2803
* ``KnitVersionedFiles._check_should_delta()`` now uses the
 
2804
  ``get_build_details`` api to avoid multiple hits to the index, and
 
2805
  to properly follow the ``compression_parent`` rather than assuming
 
2806
  it is the left-hand parent. (John Arbash Meinel)
 
2807
 
 
2808
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
 
2809
  more optimal ordering when the keys are requested 'unordered'.
 
2810
  Previously the order was fully random, now the records should be
 
2811
  returned from each pack in turn, in forward I/O order.
 
2812
  (John Arbash Meinel)
 
2813
    
 
2814
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
 
2815
  than 2s since the last time it flushed. (John Arbash Meinel)
 
2816
 
 
2817
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
 
2818
  allows adding an inventory via an inventory delta, which can be
 
2819
  more efficient for some repository types. (Robert Collins)
 
2820
 
 
2821
* Repository ``CommitBuilder`` objects can now accumulate an inventory
 
2822
  delta. To enable this functionality call ``builder.recording_deletes``
 
2823
  and additionally call ``builder.record_delete`` when a delete
 
2824
  against the basis occurs. (Robert Collins)
 
2825
 
 
2826
* The default http handler has been changed from pycurl to urllib.
 
2827
  The default is still pycurl for https connections. (The only
 
2828
  advantage of pycurl is that it checks ssl certificates.)
 
2829
  (John Arbash Meinel)
 
2830
 
 
2831
* ``VersionedFiles.get_record_stream()`` can now return objects with a
 
2832
  storage_kind of ``chunked``. This is a collection (list/tuple) of
 
2833
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
 
2834
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
 
2835
  into a fulltext. This allows for some very good memory savings when
 
2836
  asking for many texts that share ancestry, as the individual chunks
 
2837
  can be shared between versions of the file. (John Arbash Meinel)
 
2838
 
 
2839
* ``pull -v`` and ``push -v`` use new function
 
2840
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
 
2841
 
 
2842
 
 
2843
 
 
2844
bzr 1.10
 
2845
########
 
2846
 
 
2847
:Released: 2008-12-05
 
2848
 
 
2849
Bazaar 1.10 has several performance improvements for copying revisions
 
2850
(especially for small updates to large projects).  There has also been a
 
2851
significant amount of effort in polishing stacked branches.  The commands
 
2852
``shelve`` and ``unshelve`` have become core commands, with an improved
 
2853
implementation.
 
2854
 
 
2855
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
 
2856
 
 
2857
bug Fixes
 
2858
*********
 
2859
 
 
2860
* Don't set a pack write cache size from RepoFetcher, because the
 
2861
  cache is not coherent with reads and causes ShortReadvErrors.
 
2862
  This reverses the change that fixed #294479.
 
2863
  (Martin Pool, #303856)
 
2864
 
 
2865
* Properly handle when a revision can be inserted as a delta versus
 
2866
  when it needs to be expanded to a fulltext for stacked branches.
 
2867
  There was a bug involving merge revisions. As a method to help
 
2868
  prevent future difficulties, also make stacked fetches sort
 
2869
  topologically. (John Arbash Meinel, #304841)
 
2870
 
 
2871
 
 
2872
bzr 1.10rc1
 
2873
###########
 
2874
 
 
2875
:Released: 2008-11-28
 
2876
 
 
2877
This release of Bazaar focuses on performance improvements when pushing
 
2878
and pulling revisions, both locally and to remote networks.  The popular
 
2879
``shelve`` and ``unshelve`` commands, used to interactively revert and
 
2880
restore work in progress, have been merged from bzrtools into the bzr
 
2881
core.  There are also bug fixes for portability, and for stacked branches.
 
2882
 
 
2883
New Features
 
2884
************
 
2885
 
 
2886
* New ``commit_message_template`` hook that is called by the commit
 
2887
  code to generate a template commit message. (Jelmer Vernooij)
 
2888
 
 
2889
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
 
2890
  (Aaron Bentley)
 
2891
 
 
2892
Improvements
 
2893
************
 
2894
 
 
2895
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
 
2896
  history just to set the last revision info.
 
2897
  (Andrew Bennetts, John Arbash Meinel)
 
2898
 
 
2899
* Fetches between formats with different serializers (such as
 
2900
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
 
2901
  operating on batches of 100 revisions at time rather than
 
2902
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
 
2903
 
 
2904
* Search index files corresponding to pack files we've already used
 
2905
  before searching others, because they are more likely to have the
 
2906
  keys we're looking for.  This reduces the number of iix and tix
 
2907
  files accessed when pushing 1 new revision, for instance.
 
2908
  (John Arbash Meinel)
 
2909
 
 
2910
* Signatures to transfer are calculated more efficiently in
 
2911
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
 
2912
 
 
2913
* The generic fetch code can once again copy revisions and signatures
 
2914
  without extracting them completely to fulltexts and then serializing
 
2915
  them back down into byte strings. This is a significant performance
 
2916
  improvement when fetching from a stacked branch.
 
2917
  (John Arbash Meinel, #300289)
 
2918
 
 
2919
* When making a large readv() request over ``bzr+ssh``, break up the
 
2920
  request into more manageable chunks. Because the RPC is not yet able
 
2921
  to stream, this helps keep us from buffering too much information at
 
2922
  once. (John Arbash Meinel)
 
2923
 
 
2924
Bug Fixes
 
2925
*********
 
2926
 
 
2927
* Better message when the user needs to set their Launchpad ID.
 
2928
  (Martin Pool, #289148)
 
2929
 
 
2930
* ``bzr commit --local`` doesn't access the master branch anymore.
 
2931
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
 
2932
 
 
2933
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
 
2934
  to give an error in that case.  Also, don't count on ``getcwd()``
 
2935
  being able to allocate a new buffer, which is a gnu extension.
 
2936
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
 
2937
 
 
2938
* Don't crash when requesting log --forward <file> for a revision range
 
2939
  starting with a dotted revno.
 
2940
  (Vincent Ladeuil, #300055)
 
2941
 
 
2942
* Don't create text deltas spanning stacked repositories; this could
 
2943
  cause "Revision X not present in Y" when later accessing them.
 
2944
  (Martin Pool, #288751)
 
2945
 
 
2946
* Pack repositories are now able to reload the pack listing and retry
 
2947
  the current operation if another action causes the data to be
 
2948
  repacked.  (John Arbash Meinel, #153786)
 
2949
 
 
2950
* PermissionDenied errors from smart servers no longer cause
 
2951
  "PermissionDenied: "None"" on the client.
 
2952
  (Andrew Bennetts, #299254)
 
2953
 
 
2954
* Pushing to a stacked pack repository now batches writes, the same
 
2955
  way writes are batched to ordinary pack repository.  This makes
 
2956
  pushing to a stacked branch over the network much faster.
 
2957
  (Andrew Bennetts, #294479)
 
2958
 
 
2959
* TooManyConcurrentRequests no longer occur when a fetch fails and
 
2960
  tries to abort a write group.  This allows the root cause (e.g. a
 
2961
  network interruption) to be reported.  (Andrew Bennetts, #297014)
 
2962
 
 
2963
* RemoteRepository.get_parent_map now uses fallback repositories.
 
2964
  (Aaron Bentley, #297991?, #293679?)
 
2965
 
 
2966
API Changes
 
2967
***********
 
2968
 
 
2969
* ``CommitBuilder`` now validates the strings it will be committing,
 
2970
  to ensure that they do not have characters that will not be properly
 
2971
  round-tripped. For now, it just checks for characters that are
 
2972
  invalid in the XML form. (John Arbash Meinel, #295161)
 
2973
 
 
2974
* Constructor parameters for NewPack (internal to pack repositories)
 
2975
  have changed incompatibly.
 
2976
 
 
2977
* ``Repository.abort_write_group`` now accepts an optional
 
2978
  ``suppress_errors`` flag.  Repository implementations that override
 
2979
  ``abort_write_group`` will need to be updated to accept the new
 
2980
  argument.  Subclasses that only override ``_abort_write_group``
 
2981
  don't need to change.
 
2982
 
 
2983
* Transport implementations must provide copy_tree_to_transport.  A default
 
2984
  implementation is provided for Transport subclasses.
 
2985
 
 
2986
Testing
 
2987
*******
 
2988
 
 
2989
* ``bzr selftest`` now fails if no doctests are found in a module
 
2990
  that's expected to have them.  (Martin Pool)
 
2991
 
 
2992
* Doctests now only report the first failure.  (Martin Pool)
 
2993
 
 
2994
 
 
2995
bzr 1.9
 
2996
#######
 
2997
 
 
2998
:Released: 2008-11-07
 
2999
 
 
3000
This release of Bazaar adds a new repository format, ``1.9``, with smaller
 
3001
and more efficient index files.  This format can be specified when
 
3002
creating a new repository, or used to losslessly upgrade an existing
 
3003
repository.  bzr 1.9 also speeds most operations over the smart server
 
3004
protocol, makes annotate faster, and uses less memory when making
 
3005
checkouts or pulling large amounts of data.
 
3006
 
 
3007
Bug Fixes
 
3008
*********
 
3009
 
 
3010
* Fix "invalid property value 'branch-nick' for None" regression with
 
3011
  branches bound to svn branches.  (Martin Pool, #293440)
 
3012
 
 
3013
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
 
3014
 
 
3015
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
 
3016
  This only triggers some-of-the-time on Knit format repositories.
 
3017
  (John Arbash Meinel, #293746)
 
3018
 
 
3019
 
 
3020
bzr 1.9rc1
 
3021
##########
 
3022
 
 
3023
:Released: 2008-10-31
 
3024
 
 
3025
New Features
 
3026
************
 
3027
 
 
3028
* New Branch hook ``transform_fallback_location`` allows a function to
 
3029
  be called when looking up the stacked source. (Michael Hudson)
 
3030
 
 
3031
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
 
3032
  the functionality of ``1.6``, but use the new btree indexes.
 
3033
  These indexes are both smaller and faster for access to historical
 
3034
  information.  (John Arbash Meinel)
 
3035
 
 
3036
Improvements
 
3037
************
 
3038
 
 
3039
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
 
3040
  the tradeoff between bandwidth and latency. Should be tuned
 
3041
  appropriately to not impact commands which need minimal information,
 
3042
  but provide a significant boost to ones that need more context. Only
 
3043
  has a direct impact on the ``--development2`` format which uses
 
3044
  btree's for the indexes. (John Arbash Meinel)
 
3045
 
 
3046
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
 
3047
  the contents of a compressed btree file.  (John Arbash Meinel)
 
3048
 
 
3049
* ``bzr pack`` now tells the index builders to optimize for size. For
 
3050
  btree index repositories, this can save 25% of the index size
 
3051
  (mostly in the text indexes). (John Arbash Meinel)
 
3052
 
 
3053
* ``bzr push`` to an existing branch or repository on a smart server
 
3054
  is faster, due to Bazaar making more use of the ``get_parent_map``
 
3055
  RPC when querying the remote branch's revision graph.
 
3056
  (Andrew Bennetts)
 
3057
 
 
3058
* default username for bzr+ssh and sftp can be configured in
 
3059
  authentication.conf. (Aaron Bentley)
 
3060
 
 
3061
* launchpad-login now provides a default username for bzr+ssh and sftp
 
3062
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
 
3063
 
 
3064
* ``lp:`` lookups no longer include usernames, making them shareable and
 
3065
  shorter. (Aaron Bentley)
 
3066
 
 
3067
* New ``PackRepository.autopack`` smart server RPC, which does
 
3068
  autopacking entirely on the server.  This is much faster than
 
3069
  autopacking via plain file methods, which downloads a large amount
 
3070
  of pack data and then re-uploads the same pack data into a single
 
3071
  file.  This fixes a major (although infrequent) cause of lengthy
 
3072
  delays when using a smart server.  For example, pushing the 10th
 
3073
  revision to a repository with 9 packs now takes 44 RPCs rather than
 
3074
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
 
3075
  the client and the server, otherwise the client will fallback to the
 
3076
  slower method.  (Andrew Bennetts)
 
3077
 
 
3078
Bug Fixes
 
3079
*********
 
3080
 
 
3081
* A failure to load a plugin due to an IncompatibleAPI exception is
 
3082
  now correctly reported. (Robert Collins, #279451)
 
3083
 
 
3084
* API versioning support now has a multiple-version checking api
 
3085
  ``require_any_api``. (Robert Collins, #279447)
 
3086
 
 
3087
* ``bzr branch --stacked`` from a smart server to a standalone branch
 
3088
  works again.  This fixes a regression in 1.7 and 1.8.
 
3089
  (Andrew Bennetts, #270397)
 
3090
 
 
3091
* ``bzr co`` uses less memory. It used to unpack the entire WT into
 
3092
  memory before writing it to disk. This was a little bit faster, but
 
3093
  consumed lots of memory. (John Arbash Meinel, #269456)
 
3094
 
 
3095
* ``bzr missing --quiet`` no longer prints messages about whether
 
3096
  there are missing revisions.  The exit code indicates whether there
 
3097
  were or not.  (Martin Pool, #284748)
 
3098
 
 
3099
* Fixes to the ``annotate`` code. The fast-path which re-used the
 
3100
  stored deltas was accidentally disabled all the time, instead of
 
3101
  only when a branch was stacked. Second, the code would accidentally
 
3102
  re-use a delta even if it wasn't against the left-parent, this
 
3103
  could only happen if ``bzr reconcile`` decided that the parent
 
3104
  ordering was incorrect in the file graph.  (John Arbash Meinel)
 
3105
 
 
3106
* "Permission denied" errors that occur when pushing a new branch to a
 
3107
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
 
3108
 
 
3109
* Some compatibility fixes for building the extensions with MSVC and
 
3110
  for python2.4. (John Arbash Meinel, #277484)
 
3111
 
 
3112
* The index logic is now able to reload the list of pack files if and
 
3113
  index ends up disappearing. We still don't reload if the pack data
 
3114
  itself goes missing after checking the index. This bug appears as a
 
3115
  transient failure (file not found) when another process is writing
 
3116
  to the repository.  (John Arbash Meinel, #153786)
 
3117
 
 
3118
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
3119
  it was previously set. All checkouts will now refer to the bound branch
 
3120
  for a nickname if one was not explicitly set.
 
3121
  (Marius Kruger, #230903)
 
3122
 
 
3123
Documentation
 
3124
*************
 
3125
 
 
3126
* Improved hook documentation. (Michael Ernst)
 
3127
 
 
3128
API Changes
 
3129
***********
 
3130
 
 
3131
* commands.plugins_cmds is now a CommandRegistry, not a dict.
 
3132
 
 
3133
Internals
 
3134
*********
 
3135
 
 
3136
* New AuthenticationConfig.set_credentials method allows easy programmatic
 
3137
  configuration of authetication credentials.
 
3138
 
 
3139
 
 
3140
bzr 1.8
 
3141
#######
 
3142
 
 
3143
:Released: 2008-10-16
 
3144
 
 
3145
Bazaar 1.8 includes several fixes that improve working tree performance,
 
3146
display of revision logs, and merges.  The bzr testsuite now passes on OS
 
3147
X and Python 2.6, and almost completely passes on Windows.  The
 
3148
smartserver code has gained several bug fixes and performance
 
3149
improvements, and can now run server-side hooks within an http server.
 
3150
 
 
3151
Bug Fixes
 
3152
*********
 
3153
 
 
3154
* Fix "Must end write group" error when another error occurs during
 
3155
  ``bzr push``.  (Andrew Bennetts, #230902)
 
3156
 
 
3157
Portability
 
3158
***********
 
3159
 
 
3160
* Some Pyrex versions require the WIN32 macro defined to compile on
 
3161
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
 
3162
 
 
3163
 
 
3164
bzr 1.8rc1
 
3165
##########
 
3166
 
 
3167
:Released: 2008-10-07
 
3168
 
 
3169
Changes
 
3170
*******
 
3171
 
 
3172
* ``bzr log file`` has been changed. It now uses a different method
 
3173
  for determining which revisions to show as merging the changes to
 
3174
  the file. It now only shows revisions which merged the change
 
3175
  towards your mainline. This simplifies the output, makes it faster,
 
3176
  and reduces memory consumption.  (John Arbash Meinel)
 
3177
 
 
3178
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
 
3179
  ``--show-base`` is not supplied.  (John Arbash Meinel)
 
3180
 
 
3181
* ``bzr+http//`` will now optionally load plugins and write logs on the
 
3182
  server. (Marius Kruger)
 
3183
 
 
3184
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
 
3185
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
 
3186
  explicitly blacklist that version of the compiler for that
 
3187
  extension. Packaged versions will include .c files created with
 
3188
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
 
3189
  from the source tree. (John Arbash Meinel, #276868)
 
3190
 
 
3191
Features
 
3192
********
 
3193
 
 
3194
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
 
3195
  supported (nor released, tests were conducted with the dev version of
 
3196
  python-2.6rc2), but all known problems have been fixed.  Feedback
 
3197
  welcome.
 
3198
  (Vincent Ladeuil, #269535)
 
3199
 
 
3200
Improvements
 
3201
************
 
3202
 
 
3203
* ``bzr annotate`` will now include uncommitted changes from the local
 
3204
  working tree by default. Such uncommitted changes are given the
 
3205
  revision number they would get if a commit was done, followed with a
 
3206
  ? to indicate that its not actually known. (Robert Collins, #3439)
 
3207
 
 
3208
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
 
3209
  standalone branch regardless of the presence of shared repositories.
 
3210
  (Daniel Watkins)
 
3211
 
 
3212
* ``bzr push`` is faster in the case there are no new revisions to
 
3213
  push.  It is also faster if there are no tags in the local branch.
 
3214
  (Andrew Bennetts)
 
3215
 
 
3216
* File changes during a commit will update the tree stat cache.
 
3217
  (Robert Collins)
 
3218
 
 
3219
* Location aliases can now accept a trailing path.  (Micheal Hudson)
 
3220
 
 
3221
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
 
3222
  (Robert Collins, MartinPool)
 
3223
 
 
3224
* Switching in heavyweight checkouts uses the master branch's context, not
 
3225
  the checkout's context.  (Adrian Wilkins)
 
3226
 
 
3227
* ``status`` on large trees is now faster, due to optimisations in the
 
3228
  walkdirs code. Of particular note, the walkdirs code now performs
 
3229
  a temporary ``chdir()`` while reading a single directory; if your
 
3230
  platform has non thread-local current working directories (and is
 
3231
  not windows which has its own implementation), this may introduce a
 
3232
  race condition during concurrent uses of bzrlib. The bzrlib CLI
 
3233
  will not encounter this as it is single threaded for working tree
 
3234
  operations. (Robert Collins)
 
3235
 
 
3236
* The C extensions now build on python 2.4 (Robert Collins, #271939)
 
3237
 
 
3238
* The ``-Dhpss`` debug flag now reports the number of smart server
 
3239
  calls per medium to stderr.  This is in addition to the existing
 
3240
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
 
3241
 
 
3242
Bug Fixes
 
3243
*********
 
3244
 
 
3245
* Avoid random failures arising from misinterpreted ``errno`` values
 
3246
  in ``_readdir_pyx.read_dir``.
 
3247
  (Martin Pool, #279381)
 
3248
 
 
3249
* Branching from a shared repository on a smart server into a new
 
3250
  repository now preserves the repository format.
 
3251
  (Andrew Bennetts, #269214)
 
3252
 
 
3253
* ``bzr log`` now accepts a ``--change`` option.
 
3254
  (Vincent Ladeuil, #248427)
 
3255
 
 
3256
* ``bzr missing`` now accepts an ``--include-merges`` option.
 
3257
  (Vincent Ladeuil, #233817)
 
3258
 
 
3259
* Don't try to filter (internally) '.bzr' from the files to be deleted if
 
3260
  it's not there.
 
3261
  (Vincent Ladeuil, #272648)
 
3262
 
 
3263
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
3264
  (Andrew Bennetts)
 
3265
 
 
3266
* Fix TooManyConcurrentRequests errors caused by a connection failure
 
3267
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
 
3268
  (Andrew Bennetts, #246233)
 
3269
 
 
3270
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
 
3271
  is in a different repository than the current one.
 
3272
  (Lukáš Lalinský, #144421)
 
3273
 
 
3274
* Make the first line of the manpage preamble a comment again.
 
3275
  (David Futcher, #242106)
 
3276
 
 
3277
* Remove use of optional parameter in GSSAPI FTP support, since
 
3278
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
 
3279
 
 
3280
* The autopacking logic will now always create a single new pack from
 
3281
  all of the content which it deems is worth moving. This avoids the
 
3282
  'repack a single pack' bug and should result in better packing
 
3283
  overall.  (John Arbash Meinel, #242510, #172644)
 
3284
 
 
3285
* Trivial documentation fix.
 
3286
  (John Arbash Meinel, #270471)
 
3287
 
 
3288
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
3289
  it was previously set. All checkouts will now refer to the bound branch
 
3290
  for a nickname if one was not explicitly set.
 
3291
  (Marius Kruger, #230903)
 
3292
 
 
3293
Documentation
 
3294
*************
 
3295
 
 
3296
* Explain revision/range identifiers. (Daniel Clemente)
 
3297
 
 
3298
API Changes
 
3299
***********
 
3300
 
 
3301
* ``CommitBuilder.record_entry_contents`` returns one more element in
 
3302
  its result tuple - an optional file system hash for the hash cache
 
3303
  to use. (Robert Collins)
 
3304
 
 
3305
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
 
3306
  of a file if it is likely to be needed in determining the output
 
3307
  of iter_changes. (Robert Collins)
 
3308
 
 
3309
* The PackRepository, RepositoryPackCollection, NewPack classes have a
 
3310
  slightly changed interface to support different index types; as a
 
3311
  result other users of these classes need to supply the index types
 
3312
  they want. (Robert Collins)
 
3313
 
 
3314
Testing
 
3315
*******
 
3316
 
 
3317
* ``bzrlib.tests.repository_implementations`` has been renamed to
 
3318
  ``bzrlib.tests.per_repository`` so that we have a common structure
 
3319
  (and it is shorter). (John Arbash Meinel, #239343)
 
3320
 
 
3321
* ``LocalTransport.abspath()`` now returns a drive letter if the
 
3322
  transport has one, fixing numerous tests on Windows.
 
3323
  (Mark Hammond)
 
3324
 
 
3325
* PreviewTree is now tested via intertree_implementations.
 
3326
  (Aaron Bentley)
 
3327
 
 
3328
* The full test suite is passing again on OSX.
 
3329
  (Guillermo Gonzalez, Vincent Ladeuil)
 
3330
 
 
3331
* The full test suite passes when run with ``-Eallow_debug``.
 
3332
  (Andrew Bennetts)
 
3333
 
 
3334
Internals
 
3335
*********
 
3336
 
 
3337
* A new hook, ``Branch.open``, has been added, which is called when
 
3338
  branch objects are opened. (Robert Collins)
 
3339
 
 
3340
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
 
3341
  tree walking, and modular directory listing code to aid future
 
3342
  performance optimisations and refactoring. (Robert Collins)
 
3343
 
 
3344
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
 
3345
  in the middle of processing. It only reports memory if
 
3346
  ``/proc/PID/status`` is available. (John Arbash Meinel)
 
3347
 
 
3348
* New method ``RevisionSpec.as_tree`` for representing the revision
 
3349
  specifier as a revision tree object. (Lukáš Lalinský)
 
3350
 
 
3351
* New race-free method on MutableTree ``get_file_with_stat`` for use
 
3352
  when generating stat cache results. (Robert Collins)
 
3353
 
 
3354
* New win32utils.get_local_appdata_location() provides access to a local
 
3355
  directory for storing data.  (Mark Hammond)
 
3356
 
 
3357
* To be compatible with python-2.6 a few new rules should be
 
3358
  observed. 'message' attribute can't be used anymore in exception
 
3359
  classes, 'sha' and 'md5' modules have been deprecated (use
 
3360
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
 
3361
  parameters anymore.
 
3362
  (Vincent Ladeuil)
 
3363
 
 
3364
 
 
3365
bzr 1.7.1
 
3366
#########
 
3367
 
 
3368
:Released:  2008-10-01
 
3369
 
 
3370
No changes from 1.7.1rc1.
 
3371
 
 
3372
 
 
3373
bzr 1.7.1rc1
 
3374
############
 
3375
 
 
3376
:Released: 2008-09-24
 
3377
 
 
3378
This release just includes an update to how the merge algorithm handles
 
3379
file paths when we encounter complex history.
 
3380
 
 
3381
Features
 
3382
********
 
3383
 
 
3384
* If we encounter a criss-cross in history, use information from
 
3385
  direct Least Common Ancestors to resolve inventory shape (locations
 
3386
  of files, adds, deletes, etc). This is similar in concept to using
 
3387
  ``--lca`` for merging file texts, only applied to paths.
 
3388
  (John Arbash Meinel)
 
3389
 
 
3390
 
 
3391
bzr 1.7
 
3392
#######
 
3393
 
 
3394
:Released: 2008-09-23
 
3395
 
 
3396
This release includes many bug fixes and a few performance and feature
 
3397
improvements.  ``bzr rm`` will now scan for missing files and remove them,
 
3398
like how ``bzr add`` scans for unknown files and adds them. A bit more
 
3399
polish has been applied to the stacking code. The b-tree indexing code has
 
3400
been brought in, with an eye on using it in a future repository format.
 
3401
There are only minor installer changes since bzr-1.7rc2.
 
3402
 
 
3403
Features
 
3404
********
 
3405
 
 
3406
* Some small updates to the win32 installer. Include localization
 
3407
  files found in plugins, and include the builtin distutils as part of
 
3408
  packaging qbzr. (Mark Hammond)
 
3409
 
 
3410
 
 
3411
bzr 1.7rc2
 
3412
##########
 
3413
 
 
3414
:Released: 2008-09-17
 
3415
 
 
3416
A few bug fixes from 1.7rc1. The biggest change is a new
 
3417
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
 
3418
trying to access a Stacked branch over the smart protocol, to properly
 
3419
connect to the stacked-on location.
 
3420
 
 
3421
Bug Fixes
 
3422
*********
 
3423
 
 
3424
* Branching from a shared repository on a smart server into a new
 
3425
  repository now preserves the repository format.
 
3426
  (Andrew Bennetts, #269214)
 
3427
 
 
3428
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
 
3429
  to the stacked-on branch.  (Martin Pool, #261315)
 
3430
 
 
3431
* ``bzr init`` no longer re-opens the BzrDir multiple times.
 
3432
  (Vincent Ladeuil)
 
3433
 
 
3434
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
3435
  (Andrew Bennetts)
 
3436
 
 
3437
 
 
3438
bzr 1.7rc1
 
3439
##########
 
3440
 
 
3441
:Released: 2008-09-09
 
3442
 
 
3443
This release candidate for bzr 1.7 has several bug fixes and a few
 
3444
performance and feature improvements.  ``bzr rm`` will now scan for
 
3445
missing files and remove them, like how ``bzr add`` scans for unknown
 
3446
files and adds them. A bit more polish has been applied to the stacking
 
3447
code. The b-tree indexing code has been brought in, with an eye on using
 
3448
it in a future repository format.
 
3449
 
 
3450
 
 
3451
Changes
 
3452
*******
 
3453
 
 
3454
* ``bzr export`` can now export a subdirectory of a project.
 
3455
  (Robert Collins)
 
3456
 
 
3457
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
 
3458
  changes, unless the ``--force`` option is specified.
 
3459
  (Lukáš Lalinský, #74101)
 
3460
 
 
3461
* ``bzr rm`` will now scan for files that are missing and remove just
 
3462
  them automatically, much as ``bzr add`` scans for new files that
 
3463
  are not ignored and adds them automatically. (Robert Collins)
 
3464
 
 
3465
Features
 
3466
********
 
3467
 
 
3468
* Support for GSSAPI authentication when using FTP as documented in
 
3469
  RFC2228. (Jelmer Vernooij, #49623)
 
3470
 
 
3471
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
 
3472
 
 
3473
Improvements
 
3474
************
 
3475
 
 
3476
* A url like ``log+file:///tmp`` will log all access to that Transport
 
3477
  to ``.bzr.log``, which may help in debugging or profiling.
 
3478
  (Martin Pool)
 
3479
 
 
3480
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
 
3481
  branch format supports it. (Aaron Bentley)
 
3482
 
 
3483
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
 
3484
  ``bzr info`` if it completed successfully.
 
3485
  (Marius Kruger)
 
3486
 
 
3487
* ``bzr uncommit`` logs the old tip revision id, and displays how to
 
3488
  restore the branch to that tip using ``bzr pull``.  This allows you
 
3489
  to recover if you realize you uncommitted the wrong thing.
 
3490
  (John Arbash Meinel)
 
3491
 
 
3492
* Fix problems in accessing stacked repositories over ``bzr://``.
 
3493
  (Martin Pool, #261315)
 
3494
 
 
3495
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
 
3496
  which 'works', but adds each character separately to the list,
 
3497
  rather than using ``list.append(string)``. Fixing this makes the
 
3498
  SFTP transport a little bit faster (~20%) and use a bit less memory.
 
3499
  (John Arbash Meinel)
 
3500
 
 
3501
* When reading index files, if we happen to read the whole file in a
 
3502
  single request treat it as a ``_buffer_all`` request. This happens
 
3503
  most often on small indexes over remote transports, where we default
 
3504
  to reading 64kB. It saves a round trip for each small index during
 
3505
  fetch operations. Also, if we have read more than 50% of an index
 
3506
  file, trigger a ``_buffer_all`` on the next request. This works
 
3507
  around some inefficiencies because reads don't fall neatly on page
 
3508
  boundaries, so we would ignore those bytes, but request them again
 
3509
  later. This could trigger a total read size of more than the whole
 
3510
  file. (John Arbash Meinel)
 
3511
 
 
3512
Bug Fixes
 
3513
*********
 
3514
 
 
3515
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
 
3516
  users. (Robert Collins, #205416)
 
3517
 
 
3518
* Catch the infamous "select/poll returned error" which occurs when
 
3519
  pycurl try to send a body request to an HTTP/1.0 server which has
 
3520
  already refused to handle the request. (Vincent Ladeuil, #225020)
 
3521
 
 
3522
* Fix ``ObjectNotLocked`` errors when using various commands
 
3523
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
 
3524
  smart server URL.  (Andrew Bennetts, #237067)
 
3525
 
 
3526
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
 
3527
  for the containing ``.bzr/`` directory (it does not implement
 
3528
  permissions). This would cause us to set all subdirectories to
 
3529
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
 
3530
  Now we ignore ``0000`` as the permissions and assume they are
 
3531
  invalid. (John Arbash Meinel, #259855)
 
3532
 
 
3533
* Merging from a previously joined branch will no longer cause
 
3534
  a traceback. (Jelmer Vernooij, #203376)
 
3535
 
 
3536
* Pack operations on windows network shares will work even with large
 
3537
  files. (Robert Collins, #255656)
 
3538
 
 
3539
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
 
3540
  status. Status is also about 7% faster on mozilla sized trees
 
3541
  when the path to the root of the tree has been given. Users of
 
3542
  the internal ``show_tree_status`` function should be aware that
 
3543
  the show_pending flag is now authoritative for showing pending
 
3544
  merges, as it was originally. (Robert Collins, #225204)
 
3545
 
 
3546
* Set valid default _param_name for Option so that ListOption can embed
 
3547
  '-' in names. (Vincent Ladeuil, #263249)
 
3548
 
 
3549
* Show proper error rather than traceback when an unknown revision
 
3550
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
 
3551
 
 
3552
* Trailing text in the dirstate file could cause the C dirstate parser
 
3553
  to try to allocate an invalid amount of memory. We now properly
 
3554
  check and test for parsing a dirstate with invalid trailing data.
 
3555
  (John Arbash Meinel, #186014)
 
3556
 
 
3557
* Unexpected error responses from a smart server no longer cause the
 
3558
  client to traceback.  (Andrew Bennetts, #263527)
 
3559
 
 
3560
* Use a Windows api function to get a Unicode host name, rather than
 
3561
  assuming the host name is ascii.
 
3562
  (Mark Hammond, John Arbash Meinel, #256550)
 
3563
 
 
3564
* ``WorkingTree4`` trees will now correctly report missing-and-new
 
3565
  paths in the output of ``iter_changes``. (Robert Collins)
 
3566
 
 
3567
Documentation
 
3568
*************
 
3569
 
 
3570
* Updated developer documentation.  (Martin Pool)
 
3571
 
 
3572
API Changes
 
3573
***********
 
3574
 
 
3575
* Exporters now take 4 parameters. (Robert Collins)
 
3576
 
 
3577
* ``Tree.iter_changes`` will now return False for the content change
 
3578
  field when a file is missing in the basis tree and not present in
 
3579
  the target tree. Previously it returned True unconditionally.
 
3580
  (Robert Collins)
 
3581
 
 
3582
* The deprecated ``Branch.abspath`` and unimplemented
 
3583
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
 
3584
 
 
3585
* BzrDir.clone_on_transport implementations must now accept a stacked_on
 
3586
  parameter.  (Aaron Bentley)
 
3587
 
 
3588
* BzrDir.cloning_metadir implementations must now take a require_stacking
 
3589
  parameter.  (Aaron Bentley)
 
3590
 
 
3591
Testing
 
3592
*******
 
3593
 
 
3594
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
 
3595
  which are then passed to the cleanup callable as it is run. In
 
3596
  addition, addCleanup no longer requires that the callables passed to
 
3597
  it be unique. (Jonathan Lange)
 
3598
 
 
3599
* Fix some tests that fail on Windows because files are deleted while
 
3600
  still in use.
 
3601
  (Mark Hammond)
 
3602
 
 
3603
* ``selftest``'s ``--starting-with`` option can now use predefined
 
3604
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
 
3605
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
 
3606
 
 
3607
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
 
3608
  (Vincent Ladeuil)
 
3609
 
 
3610
Internals
 
3611
*********
 
3612
 
 
3613
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
 
3614
  This allows dynamic log output filtering by plugins.
 
3615
  (Robert Collins)
 
3616
 
 
3617
* ``bzrlib.btree_index`` is now available, providing a b-tree index
 
3618
  layer. The design is memory conservative (limited memory cache),
 
3619
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
 
3620
  and stores compressed pages allowing more keys per page.
 
3621
  (Robert Collins, John Arbash Meinel)
 
3622
 
 
3623
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
 
3624
  is unknown in both source and target.
 
3625
  (Robert Collins, Aaron Bentley)
 
3626
 
 
3627
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
 
3628
  streamlined a bit. This should make creating large indexes faster.
 
3629
  (In benchmarking, it now takes less time to create a BTree index than
 
3630
  it takes to read the GraphIndex one.) (John Arbash Meinel)
 
3631
 
 
3632
* Mail clients for `bzr send` are now listed in a registry.  This
 
3633
  allows plugins to add new clients by registering them with
 
3634
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
 
3635
  clients now use this mechanism.  (Neil Martinsen-Burrell)
 
3636
 
 
3637
 
 
3638
bzr 1.6.1
 
3639
#########
 
3640
 
 
3641
:Released: 2008-09-05
 
3642
 
 
3643
A couple regressions were found in the 1.6 release. There was a
 
3644
performance issue when using ``bzr+ssh`` to branch large repositories,
 
3645
and some problems with stacking and ``rich-root`` capable repositories.
 
3646
 
 
3647
 
 
3648
bzr 1.6.1rc2
 
3649
############
 
3650
 
 
3651
:Released: 2008-09-03
 
3652
 
 
3653
Bug Fixes
 
3654
*********
 
3655
 
 
3656
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
 
3657
  versa) was accidentally using the inter-model fetcher, instead of
 
3658
  recognizing that both were 'rich root' formats.
 
3659
  (John Arbash Meinel, #264321)
 
3660
 
 
3661
 
 
3662
bzr 1.6.1rc1
 
3663
############
 
3664
 
 
3665
:Released: 2008-08-29
 
3666
 
 
3667
This release fixes a few regressions found in the 1.6 client. Fetching
 
3668
changes was using an O(N^2) buffering algorithm, so for large projects it
 
3669
would cause memory thrashing. There is also a specific problem with the
 
3670
``--1.6-rich-root`` format, which prevented stacking on top of
 
3671
``--rich-root-pack`` repositories, and could allow users to accidentally
 
3672
fetch experimental data (``-subtree``) without representing it properly.
 
3673
The ``--1.6-rich-root`` format has been deprecated and users are
 
3674
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
 
3675
re-introduced a workaround for users who have repositories with incorrect
 
3676
nodes (not possible if you only used official releases).
 
3677
I should also clarify that none of this is data loss level issues, but
 
3678
still sufficient enough to warrant an updated release.
 
3679
 
 
3680
Bug Fixes
 
3681
*********
 
3682
 
 
3683
* ``RemoteTransport.readv()`` was being inefficient about how it
 
3684
  buffered the readv data and processed it. It would keep appending to
 
3685
  the same string (causing many copies) and then pop bytes out of the
 
3686
  start of the string (causing more copies).
 
3687
  With this patch "bzr+ssh://local" can improve dramatically,
 
3688
  especially for projects with large files.
 
3689
  (John Arbash Meinel)
 
3690
 
 
3691
* Revision texts were always meant to be stored as fulltexts. There
 
3692
  was a bug in a bzr.dev version that would accidentally create deltas
 
3693
  when copying from a Pack repo to a Knit repo. This has been fixed,
 
3694
  but to support those repositories, we know always request full texts
 
3695
  for Revision texts. (John Arbash Meinel, #261339)
 
3696
 
 
3697
* The previous ``--1.6-rich-root`` format used an incorrect xml
 
3698
  serializer, which would accidentally support fetching from a
 
3699
  repository that supported subtrees, even though the local one would
 
3700
  not. We deprecated that format, and introduced a new one that uses
 
3701
  the correct serializer ``--1.6.1-rich-root``.
 
3702
  (John Arbash Meinel, #262333)
 
3703
 
 
3704
 
 
3705
bzr 1.6
 
3706
#######
 
3707
 
 
3708
:Released: 2008-08-25
 
3709
 
 
3710
Finally, the long awaited bzr 1.6 has been released. This release includes
 
3711
new features like Stacked Branches, improved weave merge, and an updated
 
3712
server protocol (now on v3) which will allow for better cross version
 
3713
compatibility. With this release we have deprecated Knit format
 
3714
repositories, and recommend that users upgrade them, we will continue to
 
3715
support reading and writing them for the forseeable future, but we will
 
3716
not be tuning them for performance as pack repositories have proven to be
 
3717
better at scaling. This will also be the first release to bundle
 
3718
TortoiseBzr in the standalone Windows installer.
 
3719
 
 
3720
 
 
3721
bzr 1.6rc5
 
3722
##########
 
3723
 
 
3724
:Released: 2008-08-19
 
3725
 
 
3726
Bug Fixes
 
3727
*********
 
3728
 
 
3729
* Disable automatic detection of stacking based on a containing
 
3730
  directory of the target. It interacted badly with push, and needs a
 
3731
  bit more work to get the edges polished before it should happen
 
3732
  automatically. (John Arbash Meinel, #259275)
 
3733
  (This change was reverted when merged to bzr.dev)
 
3734
 
 
3735
 
 
3736
bzr 1.6rc4
 
3737
##########
 
3738
 
 
3739
:Released: 2008-08-18
 
3740
 
 
3741
Bug Fixes
 
3742
*********
 
3743
 
 
3744
* Fix a regression in knit => pack fetching.  We had a logic
 
3745
  inversion, causing the fetch to insert fulltexts in random order,
 
3746
  rather than preserving deltas.  (John Arbash Meinel, #256757)
 
3747
 
 
3748
 
 
3749
bzr 1.6rc3
 
3750
##########
 
3751
 
 
3752
:Released: 2008-08-14
 
3753
 
 
3754
Changes
 
3755
*******
 
3756
 
 
3757
* Disable reading ``.bzrrules`` as a per-branch rule preferences
 
3758
  file. The feature was not quite ready for a full release.
 
3759
  (Robert Collins)
 
3760
 
 
3761
Improvements
 
3762
************
 
3763
 
 
3764
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
 
3765
  into the standalone installer. This will be the first official
 
3766
  windows release that installs Tortoise by default.
 
3767
  (Mark Hammond)
 
3768
 
 
3769
Bug Fixes
 
3770
*********
 
3771
 
 
3772
* Fix a regression in ``bzr+http`` support. There was a missing
 
3773
  function (``_read_line``) that needed to be carried over from
 
3774
  ``bzr+ssh`` support. (Andrew Bennetts)
 
3775
 
 
3776
* ``GraphIndex`` objects will internally read an entire index if more
 
3777
  than 1/20th of their keyspace is requested in a single operation.
 
3778
  This largely mitigates a performance regression in ``bzr log FILE``
 
3779
  and completely corrects the performance regression in ``bzr log``.
 
3780
  The regression was caused by removing an accomodation which had been
 
3781
  supporting the index format in use. A newer index format is in
 
3782
  development which is substantially faster. (Robert Collins)
 
3783
 
 
3784
 
 
3785
bzr 1.6rc2
 
3786
##########
 
3787
 
 
3788
:Released: 2008-08-13
 
3789
 
 
3790
This release candidate has a few minor bug fixes, and some regression
 
3791
fixes for Windows.
 
3792
 
 
3793
Bug Fixes
 
3794
*********
 
3795
 
 
3796
* ``bzr upgrade`` on remote branches accessed via bzr:// and
 
3797
  bzr+ssh:// now works.  (Andrew Bennetts)
 
3798
 
 
3799
* Change the ``get_format_description()`` strings for
 
3800
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
 
3801
  (Aaron Bentley)
 
3802
 
 
3803
* Fix for a regression on Win32 where we would try to call
 
3804
  ``os.listdir()`` on a file and not catch the exception properly.
 
3805
  (Windows raises a different exception.) This would manifest in
 
3806
  places like ``bzr rm file`` or ``bzr switch``.
 
3807
  (Mark Hammond, John Arbash Meinel)
 
3808
 
 
3809
* ``Inventory.copy()`` was failing to set the revision property for
 
3810
  the root entry. (Jelmer Vernooij)
 
3811
 
 
3812
* sftp transport: added missing ``FileExists`` case to
 
3813
  ``_translate_io_exception`` (Christophe Troestler, #123475)
 
3814
 
 
3815
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
 
3816
  scripting use. (Robert Collins, #3834)
 
3817
 
 
3818
* The default ``annotate`` logic will now always assign the
 
3819
  last-modified value of a line to one of the revisions that modified
 
3820
  it, rather than a merge revision. This would happen when both sides
 
3821
  claimed to have modified the line resulting in the same text. The
 
3822
  choice is arbitrary but stable, so merges in different directions
 
3823
  will get the same results.  (John Arbash Meinel, #232188)
 
3824
 
 
3825
 
 
3826
bzr 1.6rc1
 
3827
##########
 
3828
 
 
3829
:Released: 2008-08-06
 
3830
 
 
3831
This release candidate for bzr 1.6 solidifies the new branch stacking
 
3832
feature.  Bazaar now recommends that users upgrade all knit repositories,
 
3833
because later formats are much faster.  However, we plan to continue read/write and
 
3834
upgrade support for knit repostories for the forseeable future.  Several
 
3835
other bugs and performance issues were fixed.
 
3836
 
 
3837
Changes
 
3838
*******
 
3839
 
 
3840
* Knit format repositories are deprecated and bzr will now emit
 
3841
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
 
3842
  knit repositories to pack format.  (Andrew Bennetts)
 
3843
 
 
3844
Improvements
 
3845
************
 
3846
 
 
3847
* ``bzr check`` can now be told which elements at a location it should
 
3848
  check.  (Daniel Watkins)
 
3849
 
 
3850
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
 
3851
  from the commit. (Robert Collins, #3117)
 
3852
 
 
3853
* Fetching data between repositories that have the same model but no
 
3854
  optimised fetcher will not reserialise all the revisions, increasing
 
3855
  performance. (Robert Collins, John Arbash Meinel)
 
3856
 
 
3857
* Give a more specific error when target branch is not reachable.
 
3858
  (James Westby)
 
3859
 
 
3860
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
 
3861
  This uses a pyrex extension to get direct access to the
 
3862
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
 
3863
  ``lstat``. Shows a very strong improvement in commands like
 
3864
  ``status`` and ``diff`` which have to iterate the working tree.
 
3865
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
 
3866
  trees, bigger benefit.) (John Arbash Meinel)
 
3867
 
 
3868
* New registry for log properties handles  and the method in
 
3869
  LongLogFormatter to display the custom properties returned by the
 
3870
  registered handlers. (Guillermo Gonzalez, #162469)
 
3871
 
 
3872
Bug Fixes
 
3873
*********
 
3874
 
 
3875
* Add more tests that stacking does not create deltas spanning
 
3876
  physical repository boundaries.
 
3877
  (Martin Pool, #252428)
 
3878
 
 
3879
* Better message about incompatible repositories.
 
3880
  (Martin Pool, #206258)
 
3881
 
 
3882
* ``bzr branch --stacked`` ensures the destination branch format can
 
3883
  support stacking, even if the origin does not.
 
3884
  (Martin Pool)
 
3885
 
 
3886
* ``bzr export`` no longer exports ``.bzrrules``.
 
3887
  (Ian Clatworthy)
 
3888
 
 
3889
* ``bzr serve --directory=/`` now correctly allows the whole
 
3890
  filesystem to be accessed on Windows, not just the root of the drive
 
3891
  that Python is running from.
 
3892
  (Adrian Wilkins, #240910)
 
3893
 
 
3894
* Deleting directories by hand before running ``bzr rm`` will not
 
3895
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
 
3896
  (Robert Collins, #150438)
 
3897
 
 
3898
* Fix a test case that was failing if encoding wasn't UTF-8.
 
3899
  (John Arbash Meinel, #247585)
 
3900
 
 
3901
* Fix "no buffer space available" error when branching with the new
 
3902
  smart server protocol to or from Windows.
 
3903
  (Andrew Bennetts, #246180)
 
3904
 
 
3905
* Fixed problem in branching from smart server.
 
3906
  (#249256, Michael Hudson, Martin Pool)
 
3907
 
 
3908
* Handle a file turning in to a directory in TreeTransform.
 
3909
  (James Westby, #248448)
 
3910
 
 
3911
API Changes
 
3912
***********
 
3913
 
 
3914
* ``MutableTree.commit`` has an extra optional keywork parameter
 
3915
  ``exclude`` that will be unconditionally supplied by the command
 
3916
  line UI - plugins that add tree formats may need an update.
 
3917
  (Robert Collins)
 
3918
 
 
3919
* The API minimum version for plugin compatibility has been raised to
 
3920
  1.6 - there are significant changes throughout the code base.
 
3921
  (Robert Collins)
 
3922
 
 
3923
* The generic fetch code now uses three attributes on Repository objects
 
3924
  to control fetch. The streams requested are controlled via :
 
3925
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
 
3926
  appropriately allows different repository implementations to recieve
 
3927
  data in their optimial form. If the ``_fetch_reconcile`` is set then
 
3928
  a reconcile operation is triggered at the end of the fetch.
 
3929
  (Robert Collins)
 
3930
 
 
3931
* The ``put_on_disk`` and ``get_tar_item`` methods in
 
3932
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
 
3933
 
 
3934
* ``Repository.is_shared`` doesn't take a read lock. It didn't
 
3935
  need one in the first place (nobody cached the value, and
 
3936
  ``RemoteRepository`` wasn't taking one either). This saves a round
 
3937
  trip when probing Pack repositories, as they read the ``pack-names``
 
3938
  file when locked. And during probe, locking the repo isn't very
 
3939
  useful. (John Arbash Meinel)
 
3940
 
 
3941
Internals
 
3942
*********
 
3943
 
 
3944
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
 
3945
  putting together a real history without having to create a full
 
3946
  WorkingTree. It is recommended that tests that are not directly
 
3947
  testing the WorkingTree use BranchBuilder instead.  See
 
3948
  ``BranchBuilder.build_snapshot`` or
 
3949
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
 
3950
 
 
3951
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
 
3952
  helper ``safe_relpath_files`` - used by the new ``exclude``
 
3953
  parameter to commit. (Robert Collins)
 
3954
 
 
3955
* Make it easier to introduce new WorkingTree formats.
 
3956
  (Ian Clatworthy)
 
3957
 
 
3958
* The code for exporting trees was refactored not to use the
 
3959
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
 
3960
 
 
3961
* RuleSearchers return () instead of [] now when there are no matches.
 
3962
  (Ian Clatworthy)
 
3963
 
 
3964
 
 
3965
bzr 1.6beta3
 
3966
############
 
3967
 
 
3968
:Released: 2008-07-17
 
3969
 
 
3970
This release adds a new 'stacked branches' feature allowing branches to
 
3971
share storage without being in the same repository or on the same machine.
 
3972
(See the user guide for more details.)  It also adds a new hook, improved
 
3973
weaves, aliases for related locations, faster bzr+ssh push, and several
 
3974
bug fixes.
 
3975
 
 
3976
Features
 
3977
********
 
3978
 
 
3979
* New ``pre_change_branch_tip`` hook that is called before the
 
3980
  branch tip is moved, while the branch is write-locked.  See the User
 
3981
  Reference for signature details.  (Andrew Bennetts)
 
3982
 
 
3983
* Rule-based preferences can now be defined for selected files in
 
3984
  selected branches, allowing commands and plugins to provide
 
3985
  custom behaviour for files matching defined patterns.
 
3986
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
 
3987
  in the User Guide and ``bzr help rules`` for more information.
 
3988
  (Ian Clatworthy)
 
3989
 
 
3990
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
 
3991
 
 
3992
* Stacked branches are now supported. See ``bzr help branch`` and
 
3993
  ``bzr help push``.  Branches must be in the ``development1`` format
 
3994
  to stack, though the stacked-on branch can be of any format.
 
3995
  (Robert Collins)
 
3996
 
 
3997
Improvements
 
3998
************
 
3999
 
 
4000
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
 
4001
  to stdout; also ``tar`` and ``tbz2``.
 
4002
  (Martin Pool)
 
4003
 
 
4004
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
 
4005
  rather than the annotation-based merge it was using. It does so by
 
4006
  building up a Weave of the important texts, without needing to build
 
4007
  the full ancestry. (John Arbash Meinel, #238895)
 
4008
 
 
4009
* ``bzr send`` documents and better supports ``emacsclient`` (proper
 
4010
  escaping of mail headers and handling of the MUA Mew).
 
4011
  (Christophe Troestler)
 
4012
 
 
4013
* Remembered locations can be specified by aliases, e.g. :parent, :public,
 
4014
  :submit.  (Aaron Bentley)
 
4015
 
 
4016
* The smart protocol now has improved support for setting branches'
 
4017
  revision info directly.  This makes operations like push
 
4018
  faster.  The new request method name is
 
4019
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
 
4020
 
 
4021
Bug Fixes
 
4022
*********
 
4023
 
 
4024
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
 
4025
  The broken implementations of RFC822 in Python and RFC2046 in IIS
 
4026
  combined with boundary-line checking in Bazaar previously made this
 
4027
  impossible. (NB, IIS 5 does not suffer from this problem).
 
4028
  (Adrian Wilkins, #247585)
 
4029
 
 
4030
* ``bzr log --long`` with a ghost in your mainline now handles that
 
4031
  ghost properly. (John Arbash Meinel, #243536)
 
4032
 
 
4033
* ``check`` handles the split-up .bzr layout correctly, so no longer
 
4034
  requires a branch to be present.
 
4035
  (Daniel Watkins, #64783)
 
4036
 
 
4037
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
 
4038
  loaded.
 
4039
  (Martin Pool, #205230)
 
4040
 
 
4041
* Errors about missing libraries are now shown without a traceback,
 
4042
  and with a suggestion to install the library.  The full traceback is
 
4043
  still in ``.bzr.log`` and can be shown with ``-Derror``.
 
4044
  (Martin Pool, #240161)
 
4045
 
 
4046
* Fetch from a stacked branch copies all required data.
 
4047
  (Aaron Bentley, #248506)
 
4048
 
 
4049
* Handle urls such as ftp://user@host.com@www.host.com where the user
 
4050
  name contains an @.
 
4051
  (Neil Martinsen-Burrell, #228058)
 
4052
 
 
4053
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
 
4054
  ``unlock`` if there was an error in the original function. This helps
 
4055
  most when there is a failure with a smart server action, since often the
 
4056
  connection closes and we cannot unlock.
 
4057
  (Andrew Bennetts, John Arbash Meinel, #125784)
 
4058
 
 
4059
* Obsolete hidden command ``bzr fetch`` removed.
 
4060
  (Martin Pool, #172870)
 
4061
 
 
4062
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
 
4063
  (John Arbash Meinel, #239933)
 
4064
 
 
4065
* You can now compare file revisions in Windows diff programs from
 
4066
  Cygwin Bazaar.
 
4067
  (Matt McClure, #209281)
 
4068
 
 
4069
* revision_history now tolerates mainline ghosts for Branch format 6.
 
4070
  (Aaron Bentley, #235055)
 
4071
 
 
4072
* Set locale from environment for third party libs.
 
4073
  (Martin von Gagern, #128496)
 
4074
 
 
4075
Documentation
 
4076
*************
 
4077
 
 
4078
* Added *Using stacked branches* to the User Guide.
 
4079
  (Ian Clatworthy)
 
4080
 
 
4081
* Updated developer documentation.
 
4082
  (Martin Pool)
 
4083
 
 
4084
Testing
 
4085
*******
 
4086
 
 
4087
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
 
4088
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
 
4089
 
 
4090
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
 
4091
  a tree with a ``branch`` attribute of the right format.  This was
 
4092
  preventing some ``RemoteBranch`` tests from actually running with
 
4093
  ``RemoteBranch`` instances.  (Andrew Bennetts)
 
4094
 
 
4095
API Changes
 
4096
***********
 
4097
 
 
4098
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
 
4099
  there are new attributes ``texts, inventories, revisions,
 
4100
  signatures``, each of which is a ``VersionedFiles``.  See the
 
4101
  Repository docstring for more details.
 
4102
  (Robert Collins)
 
4103
 
 
4104
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
 
4105
  parameter.  If you have a subclass of ``Branch`` that overrides
 
4106
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
 
4107
 
 
4108
* ``bzrlib.check.check()`` has been deprecated in favour of the more
 
4109
  aptly-named ``bzrlib.check.check_branch()``.
 
4110
  (Daniel Watkins)
 
4111
 
 
4112
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
 
4113
  These methods are bad APIs because they write directly to sys.stdout.
 
4114
  bzrlib does not use them internally, and there are no direct tests
 
4115
  for them. (Alexander Belchenko)
 
4116
 
 
4117
Internals
 
4118
*********
 
4119
 
 
4120
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
 
4121
  (Alexander Belchenko)
 
4122
 
 
4123
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
 
4124
  which eases the discovery of the tree, the branch and the repository
 
4125
  containing a given location.
 
4126
  (Daniel Watkins)
 
4127
 
 
4128
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
 
4129
  underlying .knit/.kndx etc files in repositories with partitioned
 
4130
  storage. (Robert Collins)
 
4131
 
 
4132
* Obsolete developer-use command ``weave-join`` has been removed.
 
4133
  (Robert Collins)
 
4134
 
 
4135
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
 
4136
  to support new ``VersionedFiles`` layering.
 
4137
  (Robert Collins)
 
4138
 
 
4139
 
 
4140
bzr 1.6beta2
 
4141
############
 
4142
 
 
4143
:Released: 2008-06-10
 
4144
 
 
4145
This release contains further progress towards our 1.6 goals of shallow
 
4146
repositories, and contains a fix for some user-affecting bugs in the
 
4147
repository layer.  Building working trees during checkout and branch is
 
4148
now faster.
 
4149
 
 
4150
Bug Fixes
 
4151
*********
 
4152
 
 
4153
* Avoid KnitCorrupt error extracting inventories from some repositories.
 
4154
  (The data is not corrupt; an internal check is detecting a problem
 
4155
  reading from the repository.)
 
4156
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
 
4157
 
 
4158
* ``bzr status`` was breaking if you merged the same revision twice.
 
4159
  (John Arbash Meinel, #235407)
 
4160
 
 
4161
* Fix infinite loop consuming 100% CPU when a connection is lost while
 
4162
  reading a response body via the smart protocol v1 or v2.
 
4163
  (Andrew Bennetts)
 
4164
 
 
4165
* Inserting a bundle which changes the contents of a file with no trailing
 
4166
  end of line, causing a knit snapshot in a 'knits' repository will no longer
 
4167
  cause KnitCorrupt. (Robert Collins)
 
4168
 
 
4169
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
 
4170
  pull result. It was instead just returning None, which breaks ``bzr
 
4171
  pull``. (John Arbash Meinel, #238149)
 
4172
 
 
4173
* Sanitize branch nick before using it as an attachment filename in
 
4174
  ``bzr send``. (Lukáš Lalinský, #210218)
 
4175
 
 
4176
* Squash ``inv_entry.symlink_target`` to a plain string when
 
4177
  generating DirState details. This prevents from getting a
 
4178
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
 
4179
  (John Arbash Meinel, #135320)
 
4180
 
 
4181
Improvements
 
4182
************
 
4183
 
 
4184
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
 
4185
 
 
4186
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
 
4187
  now quote paths where required). Added ``--null`` option to ``added`` and
 
4188
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
 
4189
  (Adrian Wilkins)
 
4190
 
 
4191
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
 
4192
  (Ian Clatworthy, Aaron Bentley)
 
4193
 
 
4194
Documentation
 
4195
*************
 
4196
 
 
4197
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
 
4198
 
 
4199
Testing
 
4200
*******
 
4201
 
 
4202
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
4203
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
4204
 
 
4205
API Changes
 
4206
***********
 
4207
 
 
4208
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
4209
  which are in the ancestry of other revisions. So if you merge the same
 
4210
  tree twice, or merge an ancestor of an existing merge, it will only
 
4211
  record the newest. (If you merge a descendent, it will replace its
 
4212
  ancestor). (John Arbash Meinel, #235407)
 
4213
 
 
4214
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
 
4215
  through the derived classes do not.  (Aaron Bentley)
 
4216
 
 
4217
Internals
 
4218
*********
 
4219
 
 
4220
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
 
4221
  creating stacked branches. (Robert Collins)
 
4222
 
 
4223
* Knit record serialisation is now stricter on what it will accept, to
 
4224
  guard against potential internal bugs, or broken input. (Robert Collins)
 
4225
 
 
4226
bzr 1.6beta1
 
4227
############
 
4228
 
 
4229
:Released: 2008-06-02
 
4230
 
 
4231
Commands that work on the revision history such as push, pull, missing,
 
4232
uncommit and log are now substantially faster.  This release adds a
 
4233
translation of some of the user documentation into Spanish.  (Contributions of
 
4234
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
 
4235
protocol which is used by default and which allows for more efficient transfers
 
4236
and future extensions.
 
4237
 
 
4238
 
 
4239
Notes When Upgrading
 
4240
********************
 
4241
 
 
4242
* There is a new version of the network protocol used for bzr://, bzr+ssh://
 
4243
  and bzr+http:// connections.  This will allow more efficient requests and
 
4244
  responses, and more graceful fallback when a server is too old to
 
4245
  recognise a request from a more recent client.  Bazaar 1.6 will
 
4246
  interoperate with 0.16 and later versions, but servers should be upgraded
 
4247
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
4248
  these protocols.  Use alternatives like SFTP or upgrade those servers.
 
4249
  (Andrew Bennetts, #83935)
 
4250
 
 
4251
Changes
 
4252
*******
 
4253
 
 
4254
* Deprecation warnings will not be suppressed when running ``bzr selftest``
 
4255
  so that developers can see if their code is using deprecated functions.
 
4256
  (John Arbash Meinel)
 
4257
 
 
4258
Features
 
4259
********
 
4260
 
 
4261
* Adding ``-Derror`` will now display a traceback when a plugin fails to
 
4262
  load. (James Westby)
 
4263
 
 
4264
Improvements
 
4265
************
 
4266
 
 
4267
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
 
4268
  the revno of the new revision (``Graph.find_distance_to_null``). This
 
4269
  should make something like ``bzr branch -r -100`` in a shared, no-trees
 
4270
  repository much snappier. (John Arbash Meinel)
 
4271
 
 
4272
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
 
4273
  history. This makes it noticeably faster when logging the last few
 
4274
  revisions. (John Arbash Meinel)
 
4275
 
 
4276
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
 
4277
  (Jerad Cramp, #165086)
 
4278
 
 
4279
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
4280
  ``Graph.find_differences`` to determine missing revisions without having
 
4281
  to search the whole ancestry. (John Arbash Meinel, #174625)
 
4282
 
 
4283
* ``bzr uncommit`` now uses partial history access, rather than always
 
4284
  extracting the full revision history for a branch. This makes it
 
4285
  resolve the appropriate revisions much faster (in testing it drops
 
4286
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
 
4287
  step closer to not using full revision history.
 
4288
  (John Arbash Meinel, #172649)
 
4289
 
 
4290
Bugfixes
 
4291
********
 
4292
 
 
4293
* ``bzr merge --lca`` should handle when two revisions have no common
 
4294
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
 
4295
 
 
4296
* ``bzr status`` was breaking if you merged the same revision twice.
 
4297
  (John Arbash Meinel, #235407)
 
4298
 
 
4299
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
4300
  fails.  (Andrew Bennetts, #234229)
 
4301
 
 
4302
* Correctly track the base URL of a smart medium when using bzr+http://
 
4303
  URLs, which was causing spurious "No repository present" errors with
 
4304
  branches in shared repositories accessed over bzr+http.
 
4305
  (Andrew Bennetts, #230550)
 
4306
 
 
4307
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
4308
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
4309
  attribute '_remote_is_at_least_1_2' attribute errors.
 
4310
  (Andrew Bennetts, #220806)
 
4311
 
 
4312
* Failure to delete an obsolete pack file should just give a warning
 
4313
  message, not a fatal error.  It may for example fail if the file is still
 
4314
  in use by another process.
 
4315
  (Martin Pool)
 
4316
 
 
4317
* Fix MemoryError during large fetches over HTTP by limiting the amount of
 
4318
  data we try to read per ``recv`` call.  The problem was observed with
 
4319
  Windows and a proxy, but might affect other environments as well.
 
4320
  (Eric Holmberg, #215426)
 
4321
 
 
4322
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
4323
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
4324
 
 
4325
* Issue a warning and ignore passwords declared in authentication.conf when
 
4326
  used for an ssh scheme (sftp or bzr+ssh).
 
4327
  (Vincent Ladeuil, #203186)
 
4328
 
 
4329
* Make both http implementations raise appropriate exceptions on 403
 
4330
  Forbidden when POSTing smart requests.
 
4331
  (Vincent Ladeuil, #230223)
 
4332
 
 
4333
* Properly *title* header names in http requests instead of capitalizing
 
4334
  them.
 
4335
  (Vincent Ladeuil, #229076)
 
4336
 
 
4337
* The "Unable to obtain lock" error message now also suggests using
 
4338
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
 
4339
 
 
4340
* Treat an encoding of '' as ascii; this can happen when bzr is run
 
4341
  under vim on Mac OS X.
 
4342
  (Neil Martinsen-Burrell)
 
4343
 
 
4344
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
 
4345
  scope. (Daniel Fischer #235687)
 
4346
 
 
4347
Documentation
 
4348
*************
 
4349
 
 
4350
* Added directory structure and started translation of docs in spanish.
 
4351
  (Martin Albisetti, Lucio Albenga)
 
4352
 
 
4353
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
4354
  on the plugin and integration chapters of the User Guide.
 
4355
  (Ian Clatworthy)
 
4356
 
 
4357
* More Bazaar developer documentation about packaging and release process,
 
4358
  and about use of Python reprs.
 
4359
  (Martin Pool, Martin Albisetti)
 
4360
 
 
4361
* Updated Tortise strategy document. (Mark Hammond)
 
4362
 
 
4363
Testing
 
4364
*******
 
4365
 
 
4366
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
 
4367
  (Robert Collins)
 
4368
 
 
4369
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
4370
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
4371
 
 
4372
* New helper function for splitting test suites
 
4373
  ``split_suite_by_condition``. (Robert Collins)
 
4374
 
 
4375
Internals
 
4376
*********
 
4377
 
 
4378
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
 
4379
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
 
4380
  fairly broken, and the function was unused, so we are getting rid of it.
 
4381
  (John Arbash Meinel)
 
4382
 
 
4383
API Changes
 
4384
***********
 
4385
 
 
4386
* ``Branch.abspath`` is deprecated; use the Tree or Transport
 
4387
  instead.  (Martin Pool)
 
4388
 
 
4389
* ``Branch.update_revisions`` now takes an optional ``Graph``
 
4390
  object. This can be used by ``update_revisions`` when it is
 
4391
  checking ancestry, and allows callers to prefer request to go to a
 
4392
  local branch.  (John Arbash Meinel)
 
4393
 
 
4394
* Branch, Repository, Tree and BzrDir should expose a Transport as an
 
4395
  attribute if they have one, rather than having it indirectly accessible
 
4396
  as ``.control_files._transport``.  This doesn't add a requirement
 
4397
  to support a Transport in cases where it was not needed before;
 
4398
  it just simplifies the way it is reached.  (Martin Pool)
 
4399
 
 
4400
* ``bzr missing --mine-only`` will return status code 0 if you have no
 
4401
  new revisions, but the remote does. Similarly for ``--theirs-only``.
 
4402
  The new code only checks one side, so it doesn't know if the other
 
4403
  side has changes. This seems more accurate with the request anyway.
 
4404
  It also changes the output to print '[This|Other] branch is up to
 
4405
  date.' rather than displaying nothing.  (John Arbash Meinel)
 
4406
 
 
4407
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
4408
  are now deprecated in favor of using Transport operations.
 
4409
  (Martin Pool)
 
4410
 
 
4411
* Many methods on ``VersionedFile``, ``Repository`` and in
 
4412
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
4413
  (Robert Collins)
 
4414
 
 
4415
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
 
4416
  ``RevisionSpec``. This will disable the existing behavior of passing in
 
4417
  the full revision history to ``self._match_on``. Useful for specs that
 
4418
  don't actually need access to the full history. (John Arbash Meinel)
 
4419
 
 
4420
* The constructors of ``SmartClientMedium`` and its subclasses now require a
 
4421
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
4422
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
4423
 
 
4424
* The default permissions for creating new files and directories
 
4425
  should now be obtained from ``BzrDir._get_file_mode()`` and
 
4426
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
4427
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
4428
  as a way for plugins to control this are no longer consulted.
 
4429
  (Martin Pool)
 
4430
 
 
4431
* ``VersionedFile.join`` is deprecated. This method required local
 
4432
  instances of both versioned file objects and was thus hostile to being
 
4433
  used for streaming from a smart server. The new get_record_stream and
 
4434
  insert_record_stream are meant to efficiently replace this method.
 
4435
  (Robert Collins)
 
4436
 
 
4437
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
4438
  which are in the ancestry of other revisions. So if you merge the same
 
4439
  tree twice, or merge an ancestor of an existing merge, it will only
 
4440
  record the newest. (If you merge a descendent, it will replace its
 
4441
  ancestor). (John Arbash Meinel, #235407)
 
4442
 
 
4443
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
4444
  (Martin Pool)
 
4445
 
 
4446
 
 
4447
bzr 1.5
 
4448
#######
 
4449
 
 
4450
:Released: 2008-05-16
 
4451
 
 
4452
This release of Bazaar includes several updates to the documentation, and fixes
 
4453
to prepare for making rich root support the default format. Many bugs have been
 
4454
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
 
4455
 
 
4456
Changes
 
4457
*******
 
4458
 
 
4459
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
4460
  users of packaged software won't be bothered with DeprecationWarnings,
 
4461
  but developers and testers will still see them. (John Arbash Meinel)
 
4462
 
 
4463
Documentation
 
4464
*************
 
4465
 
 
4466
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
4467
  on the plugin and integration chapters of the User Guide.
 
4468
  (Ian Clatworthy)
 
4469
 
 
4470
 
 
4471
bzr 1.5rc1
 
4472
##########
 
4473
 
 
4474
:Released: 2008-05-09
 
4475
 
 
4476
Changes
 
4477
*******
 
4478
 
 
4479
* Broader support of GNU Emacs mail clients. Set
 
4480
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
4481
  bundle in a mail buffer according to the value of ``mail-user-agent``
 
4482
  variable. (Xavier Maillard)
 
4483
 
 
4484
Improvements
 
4485
************
 
4486
 
 
4487
* Diff now handles revision specs like "branch:" and "submit:" more
 
4488
  efficiently.  (Aaron Bentley, #202928)
 
4489
 
 
4490
* More friendly error given when attempt to start the smart server
 
4491
  on an address already in use. (Andrea Corbellini, #200575)
 
4492
 
 
4493
* Pull completes much faster when there is nothing to pull.
 
4494
  (Aaron Bentley)
 
4495
 
 
4496
Bugfixes
 
4497
********
 
4498
 
 
4499
* Authentication.conf can define sections without password.
 
4500
  (Vincent Ladeuil, #199440)
 
4501
 
 
4502
* Avoid muttering every time a child update does not cause a progress bar
 
4503
  update. (John Arbash Meinel, #213771)
 
4504
 
 
4505
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
4506
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
4507
  also detects this condition. (John Arbash Meinel, #177855)
 
4508
 
 
4509
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
4510
  for ``revision_id=None`` which was not a string.
 
4511
  (John Arbash Meinel, #211661)
 
4512
 
 
4513
* ``bzr commit`` now works with Microsoft's FTP service.
 
4514
  (Andreas Deininger)
 
4515
 
 
4516
* Catch definitions outside sections in authentication.conf.
 
4517
  (Vincent Ladeuil, #217650)
 
4518
 
 
4519
* Conversion from non-rich-root to rich-root(-pack) updates inventory
 
4520
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
4521
 
 
4522
* Conversion from non-rich-root to rich-root(-pack) works correctly even
 
4523
  though search keys are not topologically sorted.  (Aaron Bentley)
 
4524
 
 
4525
* Conversion from non-rich-root to rich-root(-pack) works even when a
 
4526
  parent revision has a different root id.  (Aaron Bentley, #177874)
 
4527
 
 
4528
* Disable strace testing until strace is fixed (see bug #103133) and emit a
 
4529
  warning when selftest ends to remind us of leaking tests.
 
4530
  (Vincent Ladeuil, #226769)
 
4531
 
 
4532
* Fetching all revisions from a repository does not cause pack collisions.
 
4533
  (Robert Collins, Aaron Bentley, #212908)
 
4534
 
 
4535
* Fix error about "attempt to add line-delta in non-delta knit".
 
4536
  (Andrew Bennetts, #217701)
 
4537
 
 
4538
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
4539
  if the remote server was < version 1.2. This was due to a bug in the
 
4540
  RemoteRepository.get_parent_map() fallback code.
 
4541
  (John Arbash Meinel, #214894)
 
4542
 
 
4543
* Remove leftover code in ``bzr_branch`` that inappropriately creates
 
4544
  a ``branch-name`` file in the branch control directory.
 
4545
  (Martin Pool)
 
4546
 
 
4547
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
4548
  rebinding the socket when starting the server a second time.
 
4549
  (John Arbash Meinel, Martin Pool, #164288)
 
4550
 
 
4551
* Severe performance degradation in fetching from knit repositories to
 
4552
  knits and packs due to parsing the entire revisions.kndx on every graph
 
4553
  walk iteration fixed by using the Repository.get_graph API.  There was
 
4554
  another regression in knit => knit fetching which re-read the index for
 
4555
  every revision each side had in common.
 
4556
  (Robert Collins, John Arbash Meinel)
 
4557
 
 
4558
* When logging the changes to a particular file, there was a bug if there
 
4559
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
4560
 
 
4561
* xs4all's ftp server returns a temporary error when trying to list an
 
4562
  empty directory, rather than returning an empty list. Adding a
 
4563
  workaround so that we don't get spurious failures.
 
4564
  (John Arbash Meinel, #215522)
 
4565
 
 
4566
Documentation
 
4567
*************
 
4568
 
 
4569
* Expanded the User Guide to include new chapters on popular plugins and
 
4570
  integrating Bazaar into your environment. The *Best practices* chapter
 
4571
  was renamed to *Miscellaneous topics* as suggested by community
 
4572
  feedback as well. (Ian Clatworthy)
 
4573
 
 
4574
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
4575
 
 
4576
* Improved the documentation on hooks. (Ian Clatworthy)
 
4577
 
 
4578
* Update authentication docs regarding ssh agents.
 
4579
  (Vincent Ladeuil, #183705)
 
4580
 
 
4581
Testing
 
4582
*******
 
4583
 
 
4584
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
4585
  make it easy to identify which test spawned a thread with an unhandled
 
4586
  exception. (Andrew Bennetts)
 
4587
 
 
4588
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
4589
  options for debugging tests, these are complementary to the the -D
 
4590
  options.  The ``-Dselftest_debug`` global option has been replaced by the
 
4591
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
4592
 
 
4593
* Parameterised test ids are preserved correctly to aid diagnosis of test
 
4594
  failures. (Robert Collins, Andrew Bennetts)
 
4595
 
 
4596
* selftest now accepts --starting-with <id> to load only the tests whose id
 
4597
  starts with the one specified. This greatly speeds up running the test
 
4598
  suite on a limited set of tests and can be used to run the tests for a
 
4599
  single module, a single class or even a single test.  (Vincent Ladeuil)
 
4600
 
 
4601
* The test suite modules have been modified to define load_tests() instead
 
4602
  of test_suite(). That speeds up selective loading (via --load-list)
 
4603
  significantly and provides many examples on how to migrate (grep for
 
4604
  load_tests).  (Vincent Ladeuil)
 
4605
 
 
4606
Internals
 
4607
*********
 
4608
 
 
4609
* ``Hooks.install_hook`` is now deprecated in favour of
 
4610
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
4611
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
4612
 
 
4613
* Implement xml8 serializer.  (Aaron Bentley)
 
4614
 
 
4615
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
 
4616
  deprecation wrappers.  (Martin Pool)
 
4617
 
 
4618
* ``Repository.revision_parents`` is now deprecated in favour of
 
4619
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
4620
 
 
4621
* The Python ``assert`` statement is no longer used in Bazaar source, and
 
4622
  a test checks this.  (Martin Pool)
 
4623
 
 
4624
API Changes
 
4625
***********
 
4626
 
 
4627
* ``bzrlib.status.show_pending_merges`` requires the repository to be
 
4628
  locked by the caller. Callers should have been doing it anyway, but it
 
4629
  will now raise an exception if they do not. (John Arbash Meinel)
 
4630
 
 
4631
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
4632
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
4633
  Repository.item_keys_introduced_by() no longer take read locks.
 
4634
  (Aaron Bentley)
 
4635
 
 
4636
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
4637
  towards removing LockableFiles and ``.control_files`` entirely.
 
4638
  (Martin Pool)
 
4639
 
 
4640
* Methods deprecated prior to 1.1 have been removed.
 
4641
  (Martin Pool)
 
4642
 
 
4643
 
 
4644
bzr 1.4 
 
4645
#######
 
4646
 
 
4647
:Released: 2008-04-28
 
4648
 
 
4649
This release of Bazaar includes handy improvements to the speed of log and
 
4650
status, new options for several commands, improved documentation, and better
 
4651
hooks, including initial code for server-side hooks.  A number of bugs have
 
4652
been fixed, particularly in interoperability between different formats or
 
4653
different releases of Bazaar over there network.  There's been substantial
 
4654
internal work in both the repository and network code to enable new features
 
4655
and faster performance.
 
4656
 
 
4657
Bug Fixes
 
4658
*********
 
4659
 
 
4660
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
4661
  if the remote server was < version 1.2.  This was due to a bug in the
 
4662
  RemoteRepository.get_parent_map() fallback code.
 
4663
  (John Arbash Meinel, Andrew Bennetts, #214894)
 
4664
 
 
4665
 
 
4666
bzr 1.4rc2
 
4667
##########
 
4668
 
 
4669
:Released: 2008-04-21
 
4670
 
 
4671
Bug Fixes
 
4672
*********
 
4673
 
 
4674
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
4675
  for ``revision_id=None`` which was not a string.
 
4676
  (John Arbash Meinel, #211661)
 
4677
 
 
4678
* Fixed a bug in handling ghost revisions when logging changes in a
 
4679
  particular file.  (John Arbash Meinel, #209948)
 
4680
 
 
4681
* Fix error about "attempt to add line-delta in non-delta knit".
 
4682
  (Andrew Bennetts, #205156)
 
4683
 
 
4684
* Fixed performance degradation in fetching from knit repositories to
 
4685
  knits and packs due to parsing the entire revisions.kndx on every graph
 
4686
  walk iteration fixed by using the Repository.get_graph API.  There was
 
4687
  another regression in knit => knit fetching which re-read the index for
 
4688
  every revision each side had in common.
 
4689
  (Robert Collins, John Arbash Meinel)
 
4690
 
 
4691
 
 
4692
bzr 1.4rc1
 
4693
##########
 
4694
 
 
4695
:Released: 2008-04-11
 
4696
 
 
4697
Changes
 
4698
*******
 
4699
 
 
4700
* bzr main script cannot be imported (Benjamin Peterson)
 
4701
 
 
4702
* On Linux bzr additionally looks for plugins in arch-independent site
 
4703
  directory. (Toshio Kuratomi)
 
4704
 
 
4705
* The ``set_rh`` branch hook is now deprecated. Please migrate
 
4706
  any plugins using this hook to use an alternative, e.g.
 
4707
  ``post_change_branch_tip``. (Ian Clatworthy)
 
4708
 
 
4709
* When a plugin cannot be loaded as the file path is not a valid
 
4710
  python module name bzr will now strip a ``bzr_`` prefix from the
 
4711
  front of the suggested name, as many plugins (e.g. bzr-svn)
 
4712
  want to be installed without this prefix. It is a common mistake
 
4713
  to have a folder named "bzr-svn" for that plugin, especially
 
4714
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
4715
  Andrew Cowie)
 
4716
 
 
4717
* UniqueIntegerBugTracker now appends bug-ids instead of joining
 
4718
  them to the base URL. Plugins that register bug trackers may
 
4719
  need a trailing / added to the base URL if one is not already there.
 
4720
  (James Wesby, Andrew Cowie)
 
4721
 
 
4722
Features
 
4723
********
 
4724
 
 
4725
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
4726
 
 
4727
* ``status`` now accepts ``--no-pending`` to show the status without
 
4728
  listing pending merges, which speeds up the command a lot on large
 
4729
  histories.  (James Westby, #202830)
 
4730
 
 
4731
* New ``post_change_branch_tip`` hook that is called after the
 
4732
  branch tip is moved but while the branch is still write-locked.
 
4733
  See the User Reference for signature details.
 
4734
  (Ian Clatworthy, James Henstridge)
 
4735
 
 
4736
* Reconfigure can convert a branch to be standalone or to use a shared
 
4737
  repository.  (Aaron Bentley)
 
4738
 
 
4739
Improvements
 
4740
************
 
4741
 
 
4742
* The smart protocol now has support for setting branches' revision info
 
4743
  directly.  This should make operations like push slightly faster, and is a
 
4744
  step towards server-side hooks.  The new request method name is
 
4745
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
4746
 
 
4747
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
4748
  (James Westby, Andrew Cowie)
 
4749
 
 
4750
* ``bzr switch`` will attempt to find branches to switch to relative to the
 
4751
  current branch. E.g. ``bzr switch branchname`` will look for
 
4752
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
4753
  Wouter van Heyst)
 
4754
 
 
4755
* Diff is now more specific about execute-bit changes it describes
 
4756
  (Chad Miller)
 
4757
 
 
4758
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
4759
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
4760
  rather than just 1 byte at a time.  (Andrew Bennetts)
 
4761
 
 
4762
* Log --short and --line are much faster when -r is not specified.
 
4763
  (Aaron Bentley)
 
4764
 
 
4765
* Merge is faster.  We no longer check a file's existence unnecessarily
 
4766
  when merging the execute bit.  (Aaron Bentley)
 
4767
 
 
4768
* ``bzr status`` on an explicit list of files no longer shows pending
 
4769
  merges, making it much faster on large trees. (John Arbash Meinel)
 
4770
 
 
4771
* The launchpad directory service now warns the user if they have not set
 
4772
  their launchpad login and are trying to resolve a URL using it, just
 
4773
  in case they want to do a write operation with it.  (James Westby)
 
4774
 
 
4775
* The smart protocol client is slightly faster, because it now only queries
 
4776
  the server for the protocol version once per connection.  Also, the HTTP
 
4777
  transport will now automatically probe for and use a smart server if
 
4778
  one is present.  You can use the new ``nosmart+`` transport decorator
 
4779
  to get the old behaviour.  (Andrew Bennetts)
 
4780
 
 
4781
* The ``version`` command takes a ``--short`` option to print just the
 
4782
  version number, for easier use in scripts.  (Martin Pool)
 
4783
 
 
4784
* Various operations with revision specs and commands that calculate
 
4785
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
4786
 
 
4787
Bugfixes
 
4788
********
 
4789
 
 
4790
* Add ``root_client_path`` parameter to SmartWSGIApp and
 
4791
  SmartServerRequest.  This makes it possible to publish filesystem
 
4792
  locations that don't exactly match URL paths. SmartServerRequest
 
4793
  subclasses should use the new ``translate_client_path`` and
 
4794
  ``transport_from_client_path`` methods when dealing with paths received
 
4795
  from a client to take this into account.  (Andrew Bennetts, #124089)
 
4796
 
 
4797
* ``bzr mv a b`` can be now used also to rename previously renamed
 
4798
  directories, not only files. (Lukáš Lalinský, #107967)
 
4799
 
 
4800
* ``bzr uncommit --local`` can now remove revisions from the local
 
4801
  branch to be symmetric with ``bzr commit --local``.
 
4802
  (John Arbash Meinel, #93412)
 
4803
 
 
4804
* Don't ask for a password if there is no real terminal.
 
4805
  (Alexander Belchenko, #69851)
 
4806
 
 
4807
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
4808
  fetching revisions from a knit to pack repository or vice versa using
 
4809
  bzr:// (including over http or ssh).
 
4810
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
4811
 
 
4812
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
4813
  fixed ``_get_bytes`` in the same module to use the push back buffer.
 
4814
  These bugs had no known impact in normal use, but were problematic for
 
4815
  developers working on the code, and were likely to cause real bugs sooner
 
4816
  or later.  (Andrew Bennetts)
 
4817
 
 
4818
* Implement handling of basename parameter for DefaultMail.  (James Westby)
 
4819
 
 
4820
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
4821
  (Andrew Bennetts, #213425)
 
4822
 
 
4823
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
4824
 
 
4825
* Merges that add files to deleted root directories complete.  They
 
4826
  do create conflicts.  (Aaron Bentley, #210092)
 
4827
 
 
4828
* vsftp's return ``550 RNFR command failed.`` supported.
 
4829
  (Marcus Trautwig, #129786)
 
4830
 
 
4831
Documentation
 
4832
*************
 
4833
 
 
4834
* Improved documentation on send/merge relationship. (Peter Schuller)
 
4835
 
 
4836
* Minor fixes to the User Guide. (Matthew Fuller)
 
4837
 
 
4838
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
4839
 
 
4840
* Added Integrating with Bazaar document for developers (Martin Albisetti)
 
4841
 
 
4842
API Breaks
 
4843
**********
 
4844
 
 
4845
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
4846
  non-ghost aware repository such as weaves will now fail if there are
 
4847
  ghosts.  (Robert Collins)
 
4848
 
 
4849
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
4850
  now requires the ``index`` and ``access_method`` parameters to be
 
4851
  supplied. A compatible shim has been kept in the new function
 
4852
  ``knit.make_file_knit``. (Robert Collins)
 
4853
 
 
4854
* Log formatters must now provide log_revision instead of show and
 
4855
  show_merge_revno methods. The latter had been deprecated since the 0.17
 
4856
  release. (James Westby)
 
4857
 
 
4858
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
4859
  (Andrew Bennetts)
 
4860
 
 
4861
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
4862
 
 
4863
* ``Repository.get_revision_graph`` is deprecated, with no replacement
 
4864
  method. The method was size(history) and not desirable. (Robert Collins)
 
4865
 
 
4866
* ``revision.revision_graph`` is deprecated, with no replacement function.
 
4867
  The function was size(history) and not desirable. (Robert Collins)
 
4868
 
 
4869
* ``Transport.get_shared_medium`` is deprecated.  Use
 
4870
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
4871
 
 
4872
* ``VersionedFile`` factories now accept a get_scope parameter rather
 
4873
  than using a call to ``transaction_finished``, allowing the removal of
 
4874
  the fixed list of versioned files per repository. (Robert Collins)
 
4875
 
 
4876
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
4877
  allowed lower memory use, all users of annotations wanted full file
 
4878
  annotations, and there is no storage format suitable for incremental
 
4879
  line-by-line annotation. (Robert Collins)
 
4880
 
 
4881
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
4882
  is no longer used - reading the content of a file that is undergoing a
 
4883
  file level merge to identical state on two branches is rare enough, and
 
4884
  not expensive enough to special case. (Robert Collins)
 
4885
 
 
4886
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
4887
  These methods added significant complexity to the ``VersionedFile``
 
4888
  implementation, but were only used for optimising fetches from knits -
 
4889
  which can be done from outside the knit layer, or via a caching
 
4890
  decorator. As knits are not the default format, the complexity is no
 
4891
  longer worth paying. (Robert Collins)
 
4892
 
 
4893
* ``VersionedFile.create_empty`` is removed. This method presupposed a
 
4894
  sensible mapping to a transport for individual files, but pack backed
 
4895
  versioned files have no such mapping. (Robert Collins)
 
4896
 
 
4897
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
4898
  The method was size(history) and not desirable. (Robert Collins)
 
4899
 
 
4900
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
4901
  replacement method.  The method was size(history) and not desirable.
 
4902
  (Robert Collins)
 
4903
 
 
4904
* ``VersionedFile.get_parents`` is deprecated, please use
 
4905
  ``VersionedFile.get_parent_map``. (Robert Collins)
 
4906
 
 
4907
* ``VersionedFile.get_sha1`` is deprecated, please use
 
4908
  ``VersionedFile.get_sha1s``. (Robert Collins)
 
4909
 
 
4910
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
4911
  and unused outside of a single test. (Robert Collins)
 
4912
 
 
4913
* ``VersionedFile.iter_parents`` is now deprecated in favour of
 
4914
  ``get_parent_map`` which can be used to instantiate a Graph on a
 
4915
  VersionedFile. (Robert Collins)
 
4916
 
 
4917
* ``VersionedFileStore`` no longer uses the transaction parameter given
 
4918
  to most methods; amongst other things this means that the
 
4919
  get_weave_or_empty method no longer guarantees errors on a missing weave
 
4920
  in a readonly transaction, and no longer caches versioned file instances
 
4921
  which reduces memory pressure (but requires more careful management by
 
4922
  callers to preserve performance). (Robert Collins)
 
4923
 
 
4924
Testing
 
4925
*******
 
4926
 
 
4927
* New -Dselftest_debug flag disables clearing of the debug flags during
 
4928
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
4929
  failing test.  Be aware that using this feature is likely to cause
 
4930
  spurious test failures if used with the full suite. (Andrew Bennetts)
 
4931
 
 
4932
* selftest --load-list now uses a new more agressive test loader that will
 
4933
  avoid loading unneeded modules and building their tests. Plugins can use
 
4934
  this new loader by defining a load_tests function instead of a test_suite
 
4935
  function. (a forthcoming patch will provide many examples on how to
 
4936
  implement this).
 
4937
  (Vincent Ladeuil)
 
4938
 
 
4939
* selftest --load-list now does some sanity checks regarding duplicate test
 
4940
  IDs and tests present in the list but not found in the actual test suite.
 
4941
  (Vincent Ladeuil)
 
4942
 
 
4943
* Slightly more concise format for the selftest progress bar, so there's
 
4944
  more space to show the test name.  (Martin Pool) ::
 
4945
 
 
4946
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
4947
 
 
4948
* The test suite takes much less memory to run, and is a bit faster.  This
 
4949
  is done by clearing most attributes of TestCases after running them, if
 
4950
  they succeeded.  (Andrew Bennetts)
 
4951
 
 
4952
Internals
 
4953
*********
 
4954
 
 
4955
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
4956
 
 
4957
* Added basic infrastructure for automatic plugin suggestion.
 
4958
  (Martin Albisetti)
 
4959
 
 
4960
* If a ``LockableFiles`` object is not explicitly unlocked (for example
 
4961
  because of a missing ``try/finally`` block, it will give a warning but
 
4962
  not automatically unlock itself.  (Previously they did.)  This
 
4963
  sometimes caused knock-on errors if for example the network connection
 
4964
  had already failed, and should not be relied upon by code.
 
4965
  (Martin Pool, #109520)
 
4966
 
 
4967
* ``make dist`` target to build a release tarball, and also
 
4968
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
4969
 
 
4970
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
4971
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
4972
  callers don't need to try distinguish unknown request errors from other
 
4973
  errors.  (Andrew Bennetts)
 
4974
 
 
4975
* ``set_make_working_trees`` is now implemented provided on all repository
 
4976
  implementations (Aaron Bentley)
 
4977
 
 
4978
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
4979
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
4980
 
 
4981
 
 
4982
bzr 1.3.1
 
4983
#########
 
4984
 
 
4985
:Released: 2008-04-09
 
4986
 
 
4987
No changes from 1.3.1rc1.
 
4988
 
 
4989
 
 
4990
bzr 1.3.1rc1
 
4991
############
 
4992
 
 
4993
:Released: 2008-04-04
 
4994
 
 
4995
Bug Fixes
 
4996
*********
 
4997
 
 
4998
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
4999
  fetching revisions from a knit to pack repository or vice versa using
 
5000
  bzr:// (including over http or ssh).
 
5001
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
5002
 
 
5003
 
 
5004
bzr 1.3
 
5005
#######
 
5006
 
 
5007
:Released: 2008-03-20
 
5008
 
 
5009
Bazaar has become part of the GNU project <http://www.gnu.org>
 
5010
 
 
5011
Many operations that act on history, including ``log`` and ``annotate`` are now
 
5012
substantially faster.  Several bugs have been fixed and several new options and
 
5013
features have been added.
 
5014
 
 
5015
Testing
 
5016
*******
 
5017
 
 
5018
* Avoid spurious failure of ``TestVersion.test_version`` matching
 
5019
  directory names.
 
5020
  (#202778, Martin Pool)
 
5021
 
 
5022
 
 
5023
bzr 1.3rc1
 
5024
##########
 
5025
 
 
5026
:Released: 2008-03-16
 
5027
 
 
5028
Notes When Upgrading
 
5029
********************
 
5030
 
 
5031
* The backup directory created by ``upgrade`` is now called
 
5032
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
5033
 
 
5034
Changes
 
5035
*******
 
5036
 
 
5037
* A new repository format 'development' has been added. This format will
 
5038
  represent the latest 'in-progress' format that the bzr developers are
 
5039
  interested in getting early-adopter testing and feedback on.
 
5040
  ``doc/developers/development-repo.txt`` has detailed information.
 
5041
  (Robert Collins)
 
5042
 
 
5043
* BZR_LOG environment variable controls location of .bzr.log trace file.
 
5044
  User can suppress writing messages to .bzr.log by using '/dev/null'
 
5045
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
5046
  is not defined but BZR_HOME is defined then default location
 
5047
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
5048
  (Alexander Belchenko, #106117)
 
5049
 
 
5050
* ``launchpad`` builtin plugin now shipped as separate part in standalone
 
5051
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
 
5052
  and standalone installer allows user to skip installation of this plugin.
 
5053
  (Alexander Belchenko)
 
5054
 
 
5055
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
5056
 
 
5057
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
5058
  missing final fields.  (Martin Pool)
 
5059
 
 
5060
Features
 
5061
********
 
5062
 
 
5063
* ``branch`` and ``checkout`` can hard-link working tree files, which is
 
5064
  faster and saves space.  (Aaron Bentley)
 
5065
 
 
5066
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
5067
  the submit branch to determine the email address to send to.
 
5068
  (Jelmer Vernooij)
 
5069
 
 
5070
Improvements
 
5071
************
 
5072
 
 
5073
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
5074
 
 
5075
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
5076
 
 
5077
* Directory services can now be registered, allowing special URLs to be
 
5078
  dereferenced into real URLs.  This is a generalization and cleanup of
 
5079
  the lp: transport lookup.  (Aaron Bentley)
 
5080
 
 
5081
* Merge directives that are automatically attached to emails have nicer
 
5082
  filenames, based on branch-nick + revno. (Aaron Bentley)
 
5083
 
 
5084
* ``push`` has a ``--revision`` option, to specify what revision to push up
 
5085
  to.  (Daniel Watkins)
 
5086
 
 
5087
* Significantly reducing execution time and network traffic for trivial
 
5088
  case of running ``bzr missing`` command for two identical branches.
 
5089
  (Alexander Belchenko)
 
5090
 
 
5091
* Speed up operations that look at the revision graph (such as 'bzr log').
 
5092
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
5093
  extract the revision history. This allows filtering ghosts while
 
5094
  stepping instead of needing to peek ahead. (John Arbash Meinel)
 
5095
 
 
5096
* The ``hooks`` command lists installed hooks, to assist in debugging.
 
5097
  (Daniel Watkins)
 
5098
 
 
5099
* Updates to how ``annotate`` work. Should see a measurable improvement in
 
5100
  performance and memory consumption for file with a lot of merges.
 
5101
  Also, correctly handle when a line is introduced by both parents (it
 
5102
  should be attributed to the first merge which notices this, and not
 
5103
  to all subsequent merges.) (John Arbash Meinel)
 
5104
 
 
5105
Bugfixes
 
5106
********
 
5107
 
 
5108
* Autopacking no longer holds the full set of inventory lines in
 
5109
  memory while copying. For large repositories, this can amount to
 
5110
  hundreds of MB of ram consumption.
 
5111
  (Ian Clatworthy, John Arbash Meinel)
 
5112
 
 
5113
* Cherrypicking when using ``--format=merge3`` now explictly excludes
 
5114
  BASE lines. (John Arbash Meinel, #151731)
 
5115
 
 
5116
* Disable plink's interactive prompt for password.
 
5117
  (#107593, Dmitry Vasiliev)
 
5118
 
 
5119
* Encode command line arguments from unicode to user_encoding before
 
5120
  invoking external mail client in `bzr send` command.
 
5121
  (#139318, Alexander Belchenko)
 
5122
 
 
5123
* Fixed problem connecting to ``bzr+https://`` servers.
 
5124
  (#198793, John Ferlito)
 
5125
 
 
5126
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
5127
  #196618)
 
5128
 
 
5129
* Include quick-start-summary.svg file to python-based installer(s)
 
5130
  for Windows. (#192924, Alexander Belchenko)
 
5131
 
 
5132
* lca merge now respects specified files. (Aaron Bentley)
 
5133
 
 
5134
* Make version-info --custom imply --all. (#195560, James Westby)
 
5135
 
 
5136
* ``merge --preview`` now works for merges that add or modify
 
5137
  symlinks (James Henstridge)
 
5138
 
 
5139
* Redirecting the output from ``bzr merge`` (when the remembered
 
5140
  location is used) now works. (John Arbash Meinel)
 
5141
 
 
5142
* setup.py script explicitly checks for Python version.
 
5143
  (Jari Aalto, Alexander Belchenko, #200569)
 
5144
 
 
5145
* UnknownFormatErrors no longer refer to branches regardless of kind of
 
5146
  unknown format. (Daniel Watkins, #173980)
 
5147
 
 
5148
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
5149
  signs, among other small improvements. (Matt Nordhoff, #86838)
 
5150
 
 
5151
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
5152
  errors.  (Aaron Bentley, #196780)
 
5153
 
 
5154
Documentation
 
5155
*************
 
5156
 
 
5157
* Explained how to use ``version-info --custom`` in the User Guide.
 
5158
  (Neil Martinsen-Burrell)
 
5159
 
 
5160
API Breaks
 
5161
**********
 
5162
 
 
5163
* Support for loading plugins from zip files and
 
5164
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
5165
  (Alexander Belchenko)
 
5166
 
 
5167
Testing
 
5168
*******
 
5169
 
 
5170
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
 
5171
 
 
5172
* The branch interface tests were invalid for branches using rich-root
 
5173
  repositories because the empty string is not a valid file-id.
 
5174
  (Robert Collins)
 
5175
 
 
5176
Internals
 
5177
*********
 
5178
 
 
5179
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
5180
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
5181
  stop part-way through. (John Arbash Meinel)
 
5182
 
 
5183
* New module ``tools/package_mf.py`` provide custom module finder for
 
5184
  python packages (improves standard python library's modulefinder.py)
 
5185
  used by ``setup.py`` script while building standalone bzr.exe.
 
5186
  (Alexander Belchenko)
 
5187
 
 
5188
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
5189
  detecting external lookup support on remote repositories. This method is
 
5190
  now attempted first when lookup up repositories, leading to an extra
 
5191
  round trip on older bzr smart servers. (Robert Collins)
 
5192
 
 
5193
* Repository formats have a new supported-feature attribute
 
5194
  ``supports_external_lookups`` used to indicate repositories which support
 
5195
  falling back to other repositories when they have partial data.
 
5196
  (Robert Collins)
 
5197
 
 
5198
* ``Repository.get_revision_graph_with_ghosts`` and
 
5199
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
5200
  have been deprecated.  (John Arbash Meinel)
 
5201
 
 
5202
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
5203
  ``Tree._iter_changes``. The api is now considered stable and ready for
 
5204
  external users.  (Aaron Bentley)
 
5205
 
 
5206
* The bzrdir format registry now accepts an ``alias`` keyword to
 
5207
  register_metadir, used to indicate that a format name is an alias for
 
5208
  some other format and thus should not be reported when describing the
 
5209
  format. (Robert Collins)
 
5210
 
 
5211
 
 
5212
bzr 1.2
 
5213
#######
 
5214
 
 
5215
:Released: 2008-02-15
 
5216
 
 
5217
Bug Fixes
 
5218
*********
 
5219
 
 
5220
* Fix failing test in Launchpad plugin. (Martin Pool)
 
5221
 
 
5222
 
 
5223
bzr 1.2rc1
 
5224
##########
 
5225
 
 
5226
:Released: 2008-02-13
 
5227
 
 
5228
Notes When Upgrading
 
5229
********************
 
5230
 
 
5231
* Fetching via the smart protocol may need to reconnect once during a fetch
 
5232
  if the remote server is running Bazaar 1.1 or earlier, because the client
 
5233
  attempts to use more efficient requests that confuse older servers.  You
 
5234
  may be required to re-enter a password or passphrase when this happens.
 
5235
  This won't happen if the server is upgraded to Bazaar 1.2.
 
5236
  (Andrew Bennetts)
 
5237
 
 
5238
Changes
 
5239
*******
 
5240
 
 
5241
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
5242
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
5243
 
 
5244
* Formatting of ``bzr plugins`` output is changed to be more human-
 
5245
  friendly. Full path of plugins locations will be shown only with
 
5246
  ``--verbose`` command-line option. (Alexander Belchenko)
 
5247
 
 
5248
* ``merge`` now prefers to use the submit branch, but will fall back to
 
5249
  parent branch.  For many users, this has no effect.  But some users who
 
5250
  pull and merge on the same branch will notice a change.  This change
 
5251
  makes it easier to work on a branch on two different machines, pulling
 
5252
  between the machines, while merging from the upstream.
 
5253
  ``merge --remember`` can now be used to set the submit_branch.
 
5254
  (Aaron Bentley)
 
5255
 
 
5256
Features
 
5257
********
 
5258
 
 
5259
* ``merge --preview`` produces a diff of the changes merge would make,
 
5260
  but does not actually perform the merge.  (Aaron Bentley)
 
5261
 
 
5262
* New smart method ``Repository.get_parent_map`` for getting revision
 
5263
  parent data. This returns additional parent information topologically
 
5264
  adjacent to the requested data to reduce round trip latency impacts.
 
5265
  (Robert Collins)
 
5266
 
 
5267
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
5268
  revision data that streams revision data via a chunked encoding.  This
 
5269
  avoids buffering large amounts of revision data on the server and on the
 
5270
  client, and sends less data to the server to request the revisions.
 
5271
  (Andrew Bennetts, Robert Collins, #178353)
 
5272
 
 
5273
* The launchpad plugin now handles lp urls of the form
 
5274
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
5275
  launchpad instance to do the resolution of the branch identities.
 
5276
  This is primarily of use to Launchpad developers, but can also
 
5277
  be used by other users who want to try out Launchpad as
 
5278
  a branch location without messing up their public Launchpad
 
5279
  account.  Branches that are pushed to the staging environment
 
5280
  have an expected lifetime of one day. (Tim Penhey)
 
5281
 
 
5282
Improvements
 
5283
************
 
5284
 
 
5285
* Creating a new branch no longer tries to read the entire revision-history
 
5286
  unnecessarily over smart server operations. (Robert Collins)
 
5287
 
 
5288
* Fetching between different repository formats with compatible models now
 
5289
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
5290
 
 
5291
* The ``--coverage`` option is now global, rather specific to ``bzr
 
5292
  selftest``.  (Andrew Bennetts)
 
5293
 
 
5294
* The ``register-branch`` command will now use the public url of the branch
 
5295
  containing the current directory, if one has been set and no explicit
 
5296
  branch is provided.  (Robert Collins)
 
5297
 
 
5298
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
5299
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
5300
  (John Arbash Meinel)
 
5301
 
 
5302
Bugfixes
 
5303
********
 
5304
 
 
5305
* Calculate remote path relative to the shared medium in _SmartClient.  This
 
5306
  is related to the problem in bug #124089.  (Andrew Bennetts)
 
5307
 
 
5308
* Cleanly handle connection errors in smart protocol version two, the same
 
5309
  way as they are handled by version one.  (Andrew Bennetts)
 
5310
 
 
5311
* Clearer error when ``version-info --custom`` is used without
 
5312
  ``--template`` (Lukáš Lalinský)
 
5313
 
 
5314
* Don't raise UnavailableFeature during test setup when medusa is not
 
5315
  available or tearDown is never called leading to nasty side effects.
 
5316
  (#137823, Vincent Ladeuil)
 
5317
 
 
5318
* If a plugin's test suite cannot be loaded, for example because of a syntax
 
5319
  error in the tests, then ``selftest`` fails, rather than just printing
 
5320
  a warning.  (Martin Pool, #189771)
 
5321
 
 
5322
* List possible values for BZR_SSH environment variable in env-variables
 
5323
  help topic. (Alexander Belchenko, #181842)
 
5324
 
 
5325
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
5326
  popping the log redirection now precisely restores the previous state,
 
5327
  which makes it easier to use bzr log output from other programs.
 
5328
  TestCaseInTempDir no longer depends on a log redirection being established
 
5329
  by the test framework, which lets bzr tests cleanly run from a normal
 
5330
  unittest runner.
 
5331
  (#124153, #124849, Martin Pool, Jonathan Lange)
 
5332
 
 
5333
* ``pull --quiet`` is now more quiet, in particular a message is no longer
 
5334
  printed when the remembered pull location is used. (James Westby,
 
5335
  #185907)
 
5336
 
 
5337
* ``reconfigure`` can safely be interrupted while fetching.
 
5338
  (Aaron Bentley, #179316)
 
5339
 
 
5340
* ``reconfigure`` preserves tags when converting to and from lightweight
 
5341
  checkouts.  (Aaron Bentley, #182040)
 
5342
 
 
5343
* Stop polluting /tmp when running selftest.
 
5344
  (Vincent Ladeuil, #123363)
 
5345
 
 
5346
* Switch from NFKC => NFC for normalization checks. NFC allows a few
 
5347
  more characters which should be considered valid.
 
5348
  (John Arbash Meinel, #185458)
 
5349
 
 
5350
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
5351
  interacting badly with a bug on the launchpad side. (Robert Collins)
 
5352
 
 
5353
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
5354
  tracebacks.  (Andrew Bennetts, #182849)
 
5355
 
 
5356
API Breaks
 
5357
**********
 
5358
 
 
5359
* Classes implementing Merge types like Merge3Merger must now accept (and
 
5360
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
5361
 
 
5362
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
5363
  to previously take a write lock (and start a write group.)
 
5364
  (Martin Pool)
 
5365
 
 
5366
Testing
 
5367
*******
 
5368
 
 
5369
* selftest now accepts --load-list <file> to load a test id list. This
 
5370
  speeds up running the test suite on a limited set of tests.
 
5371
  (Vincent Ladeuil)
 
5372
 
 
5373
Internals
 
5374
*********
 
5375
 
 
5376
* Add a new method ``get_result`` to graph search objects. The resulting
 
5377
  ``SearchResult`` can be used to recreate the search later, which will
 
5378
  be useful in reducing network traffic. (Robert Collins)
 
5379
 
 
5380
* Use convenience function to check whether two repository handles
 
5381
  are referring to the same repository in ``Repository.get_graph``.
 
5382
  (Jelmer Vernooij, #187162)
 
5383
 
 
5384
* Fetching now passes the find_ghosts flag through to the
 
5385
  ``InterRepository.missing_revision_ids`` call consistently for all
 
5386
  repository types. This will enable faster missing revision discovery with
 
5387
  bzr+ssh. (Robert Collins)
 
5388
 
 
5389
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
5390
 
 
5391
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
5392
  ``InterRepository.search_missing_revision_ids`` which returns a
 
5393
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
5394
  server. (Robert Collins)
 
5395
 
 
5396
* New error ``NoPublicBranch`` for commands that need a public branch to
 
5397
  operate. (Robert Collins)
 
5398
 
 
5399
* New method ``iter_inventories`` on Repository for access to many
 
5400
  inventories. This is primarily used by the ``revision_trees`` method, as
 
5401
  direct access to inventories is discouraged. (Robert Collins)
 
5402
 
 
5403
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
5404
  which will split out ghosts and present parents into two separate sets,
 
5405
  useful for code which needs to be aware of ghosts (e.g. fetching data
 
5406
  cares about ghosts during revision selection). (Robert Collins)
 
5407
 
 
5408
* Record a timestamp against each mutter to the trace file, relative to the
 
5409
  first import of bzrlib.  (Andrew Bennetts)
 
5410
 
 
5411
* ``Repository.get_data_stream`` is now deprecated in favour of
 
5412
  ``Repository.get_data_stream_for_search`` which allows less network
 
5413
  traffic when requesting data streams over a smart server. (Robert Collins)
 
5414
 
 
5415
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
5416
  removing one round trip on many network operations. (Robert Collins)
 
5417
 
 
5418
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
5419
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
5420
 
 
5421
* Repository has a new method ``has_revisions`` which signals the presence
 
5422
  of many revisions by returning a set of the revisions listed which are
 
5423
  present. This can be done by index queries without reading data for parent
 
5424
  revision names etc. (Robert Collins)
 
5425
 
 
5426
 
 
5427
bzr 1.1
 
5428
#######
 
5429
 
 
5430
:Released: 2008-01-15
 
5431
 
 
5432
(no changes from 1.1rc1)
 
5433
 
 
5434
bzr 1.1rc1
 
5435
##########
 
5436
 
 
5437
:Released: 2008-01-05
 
5438
 
 
5439
Changes
 
5440
*******
 
5441
 
 
5442
* Dotted revision numbers have been revised. Instead of growing longer with
 
5443
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
5444
  we now report 1.2.1.) This helps scale long lived branches which have many
 
5445
  feature branches merged between them. (John Arbash Meinel)
 
5446
 
 
5447
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
5448
  Use ``bzr diff branch1 --new branch2`` instead. This change has
 
5449
  been made to remove the ambiguity where ``branch2`` is in fact a
 
5450
  specific file to diff within ``branch1``.
 
5451
 
 
5452
Features
 
5453
********
 
5454
 
 
5455
* New option to use custom template-based formats in  ``bzr version-info``.
 
5456
  (Lukáš Lalinský)
 
5457
 
 
5458
* diff '--using' allows an external diff tool to be used for files.
 
5459
  (Aaron Bentley)
 
5460
 
 
5461
* New "lca" merge-type for fast everyday merging that also supports
 
5462
  criss-cross merges.  (Aaron Bentley)
 
5463
 
 
5464
Improvements
 
5465
************
 
5466
 
 
5467
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
5468
  #90049)
 
5469
 
 
5470
* ``branch`` and ``checkout`` can now use files from a working tree to
 
5471
  to speed up the process.  For checkout, this requires the new
 
5472
  --files-from flag.  (Aaron Bentley)
 
5473
 
 
5474
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
5475
 
 
5476
* ``bzr diff`` now works on branches without working trees. Tree-less
 
5477
  branches can also be compared to each other and to working trees using
 
5478
  the new diff options ``--old`` and ``--new``. Diffing between branches,
 
5479
  with or without trees, now supports specific file filtering as well.
 
5480
  (Ian Clatworthy, #6700)
 
5481
 
 
5482
* ``bzr pack`` now orders revision texts in topological order, with newest
 
5483
  at the start of the file, promoting linear reads for ``bzr log`` and the
 
5484
  like. This partially fixes #154129. (Robert Collins)
 
5485
 
 
5486
* Merge directives now fetch prerequisites from the target branch if
 
5487
  needed.  (Aaron Bentley)
 
5488
 
 
5489
* pycurl now handles digest authentication.
 
5490
  (Vincent Ladeuil)
 
5491
 
 
5492
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
5493
 
 
5494
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
5495
 
 
5496
* ``merge`` now warns when merge directives cause cherrypicks.
 
5497
  (Aaron Bentley)
 
5498
 
 
5499
* ``split`` now supported, to enable splitting large trees into smaller
 
5500
  pieces.  (Aaron Bentley)
 
5501
 
 
5502
Bugfixes
 
5503
********
 
5504
 
 
5505
* Avoid AttributeError when unlocking a pack repository when an error occurs.
 
5506
  (Martin Pool, #180208)
 
5507
 
 
5508
* Better handle short reads when processing multiple range requests.
 
5509
  (Vincent Ladeuil, #179368)
 
5510
 
 
5511
* build_tree acceleration uses the correct path when a file has been moved.
 
5512
  (Aaron Bentley)
 
5513
 
 
5514
* ``commit`` now succeeds when a checkout and its master branch share a
 
5515
  repository.  (Aaron Bentley, #177592)
 
5516
 
 
5517
* Fixed error reporting of unsupported timezone format in
 
5518
  ``log --timezone``. (Lukáš Lalinský, #178722)
 
5519
 
 
5520
* Fixed Unicode encoding error in ``ignored`` when the output is
 
5521
  redirected to a pipe. (Lukáš Lalinský)
 
5522
 
 
5523
* Fix traceback when sending large response bodies over the smart protocol
 
5524
  on Windows. (Andrew Bennetts, #115781)
 
5525
 
 
5526
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
5527
  pointed to different logical drives on Windows.
 
5528
  (Alexander Belchenko, #90847)
 
5529
 
 
5530
* HTTP test servers are now compatible with the http protocol version 1.1.
 
5531
  (Vincent Ladeuil, #175524)
 
5532
 
 
5533
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
5534
  correctly, instead of erroring or attributing incorrect parents to ghosts.
 
5535
  (Aaron Bentley)
 
5536
 
 
5537
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
5538
 
 
5539
* pycurl authentication handling was broken and incomplete. Fix handling of
 
5540
  user:pass embedded in the urls.
 
5541
  (Vincent Ladeuil, #177643)
 
5542
 
 
5543
* Files inside non-directories are now handled like other conflict types.
 
5544
  (Aaron Bentley, #177390)
 
5545
 
 
5546
* ``reconfigure`` is able to convert trees into lightweight checkouts.
 
5547
  (Aaron Bentley)
 
5548
 
 
5549
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
5550
  #148087)
 
5551
 
 
5552
* Test that the old ``version_info_format`` functions still work, even
 
5553
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
5554
 
 
5555
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
5556
  #137681)
 
5557
 
 
5558
* ``uncommit`` works even when the commit messages of revisions to be
 
5559
  removed use characters not supported in the terminal encoding.
 
5560
  (Aaron Bentley)
 
5561
 
 
5562
* When dumb http servers return whole files instead of the requested ranges,
 
5563
  read the remaining bytes by chunks to avoid overflowing network buffers.
 
5564
  (Vincent Ladeuil, #175886)
 
5565
 
 
5566
Documentation
 
5567
*************
 
5568
 
 
5569
* Minor tweaks made to the bug tracker integration documentation.
 
5570
  (Ian Clatworthy)
 
5571
 
 
5572
* Reference material has now be moved out of the User Guide and added
 
5573
  to the User Reference. The User Reference has gained 4 sections as
 
5574
  a result: Authenication Settings, Configuration Settings, Conflicts
 
5575
  and Hooks. All help topics are now dumped into text format in the
 
5576
  doc/en/user-reference directory for those who like browsing that
 
5577
  information in their editor. (Ian Clatworthy)
 
5578
 
 
5579
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
5580
 
 
5581
Internals
 
5582
*********
 
5583
 
 
5584
* find_* methods available for BzrDirs, Branches and WorkingTrees.
 
5585
  (Aaron Bentley)
 
5586
 
 
5587
* Help topics can now be loaded from files.
 
5588
  (Ian Clatworthy, Alexander Belchenko)
 
5589
 
 
5590
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
5591
 
 
5592
* Parent Providers should now implement ``get_parent_map`` returning a
 
5593
  dictionary instead of ``get_parents`` returning a list.
 
5594
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
5595
  Robert Collins)
 
5596
 
 
5597
* Patience Diff now supports arbitrary python objects, as long as they
 
5598
  support ``hash()``. (John Arbash Meinel)
 
5599
 
 
5600
* Reduce selftest overhead to establish test names by memoization.
 
5601
  (Vincent Ladeuil)
 
5602
 
 
5603
API Breaks
 
5604
**********
 
5605
 
 
5606
Testing
 
5607
*******
 
5608
 
 
5609
* Modules can now customise their tests by defining a ``load_tests``
 
5610
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
5611
  for the documentation on this attribute. (Robert Collins)
 
5612
 
 
5613
* New helper function ``bzrlib.tests.condition_id_re`` which helps
 
5614
  filter tests based on a regular expression search on the tests id.
 
5615
  (Robert Collins)
 
5616
 
 
5617
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
5618
  filter tests based on class. (Robert Collins)
 
5619
 
 
5620
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
5621
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
5622
 
 
5623
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
5624
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
5625
 
 
5626
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
5627
  TestSuite that does not contain tests from the input that matched a
 
5628
  regular expression. (Robert Collins)
 
5629
 
 
5630
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
5631
  randomized copy of the input suite. (Robert Collins)
 
5632
 
 
5633
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
5634
  suite into two according to a regular expression. (Robert Collins)
 
5635
 
 
5636
* Parametrize all http tests for the transport implementations, the http
 
5637
  protocol versions (1.0 and 1.1) and the authentication schemes.
 
5638
  (Vincent Ladeuil)
 
5639
 
 
5640
* The ``exclude_pattern`` and ``random_order`` parameters to the function
 
5641
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
5642
 
 
5643
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
 
5644
  replaced by the new helper methods added in this release. (Robert Collins)
 
5645
 
 
5646
 
 
5647
bzr 1.0
 
5648
#######
 
5649
 
 
5650
:Released: 2007-12-14
 
5651
 
 
5652
Documentation
 
5653
*************
 
5654
 
 
5655
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
5656
 
 
5657
* Add information on cherrypicking/rebasing to the User Guide.
 
5658
  (Ian Clatworthy)
 
5659
 
 
5660
* Improve bug tracker integration documentation. (Ian Clatworthy)
 
5661
 
 
5662
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
5663
  to the rebasing section of the User Guide from Aaron Bentley.
 
5664
  (Ian Clatworthy)
 
5665
 
 
5666
 
 
5667
bzr 1.0rc3
 
5668
##########
 
5669
 
 
5670
:Released: 2007-12-11
 
5671
 
 
5672
Changes
 
5673
*******
 
5674
 
 
5675
* If a traceback occurs, users are now asked to report the bug
 
5676
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
 
5677
  by mail to the mailing list.
 
5678
  (Martin Pool)
 
5679
 
 
5680
Bugfixes
 
5681
********
 
5682
 
 
5683
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
5684
 
 
5685
* Give more feedback during long http downloads by making readv deliver data
 
5686
  as it arrives for urllib, and issue more requests for pycurl. High latency
 
5687
  networks are better handled by urllib, the pycurl implementation give more
 
5688
  feedback but also incur more latency.
 
5689
  (Vincent Ladeuil, #173010)
 
5690
 
 
5691
* Implement _make_parents_provider on RemoteRepository, allowing generating
 
5692
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
5693
 
 
5694
Documentation
 
5695
*************
 
5696
 
 
5697
* Improved user guide.  (Ian Clatworthy)
 
5698
 
 
5699
* The single-page quick reference guide is now available as a PDF.
 
5700
  (Ian Clatworthy)
 
5701
 
 
5702
Internals
 
5703
*********
 
5704
 
 
5705
* readv urllib http implementation is now a real iterator above the
 
5706
  underlying socket and deliver data as soon as it arrives. 'get' still
 
5707
  wraps its output in a StringIO.
 
5708
  (Vincent Ladeuil)
 
5709
 
 
5710
 
 
5711
bzr 1.0rc2
 
5712
##########
 
5713
 
 
5714
:Released: 2007-12-07
 
5715
 
 
5716
Improvements
 
5717
************
 
5718
 
 
5719
* Added a --coverage option to selftest. (Andrew Bennetts)
 
5720
 
 
5721
* Annotate merge (merge-type=weave) now supports cherrypicking.
 
5722
  (Aaron Bentley)
 
5723
 
 
5724
* ``bzr commit`` now doesn't print the revision number twice. (Matt
 
5725
  Nordhoff, #172612)
 
5726
 
 
5727
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
5728
  define locations of bug trackers that are not directly supported by
 
5729
  bzr or a plugin. The URL will be treated as a template and ``{id}``
 
5730
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
5731
 
 
5732
* Support logging single merge revisions with short and line log formatters.
 
5733
  (Kent Gibson)
 
5734
 
 
5735
* User Guide enhanced with suggested readability improvements from
 
5736
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
5737
 
 
5738
* Quick Start Guide renamed to Quick Start Card, moved down in
 
5739
  the catalog, provided in pdf and png format and updated to refer
 
5740
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
5741
 
 
5742
* ``switch`` can now be used on heavyweight checkouts as well as
 
5743
  lightweight ones. After switching a heavyweight checkout, the
 
5744
  local branch is a mirror/cache of the new bound branch and
 
5745
  uncommitted changes in the working tree are merged. As a safety
 
5746
  check, if there are local commits in a checkout which have not
 
5747
  been committed to the previously bound branch, then ``switch``
 
5748
  fails unless the ``--force`` option is given. This option is
 
5749
  now also required if the branch a lightweight checkout is pointing
 
5750
  to has been moved. (Ian Clatworthy)
 
5751
 
 
5752
Internals
 
5753
*********
 
5754
 
 
5755
* New -Dhttp debug option reports http connections, requests and responses.
 
5756
  (Vincent Ladeuil)
 
5757
 
 
5758
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
5759
 
 
5760
Bugfixes
 
5761
********
 
5762
 
 
5763
* Better error message when running ``bzr cat`` on a non-existant branch.
 
5764
  (Lukáš Lalinský, #133782)
 
5765
 
 
5766
* Catch OSError 17 (file exists) in final phase of tree transform and show
 
5767
  filename to user.
 
5768
  (Alexander Belchenko, #111758)
 
5769
 
 
5770
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
5771
  allowing multiple GET requests to be issued if too many ranges are
 
5772
  required.
 
5773
  (Vincent Ladeuil, #172701)
 
5774
 
 
5775
* Check for missing basis texts when fetching from packs to packs.
 
5776
  (John Arbash Meinel, #165290)
 
5777
 
 
5778
* Fall back to showing e-mail in ``log --short/--line`` if the
 
5779
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
5780
 
 
5781
API Breaks
 
5782
**********
 
5783
 
 
5784
* Deprecate not passing a ``location`` argument to commit reporters'
 
5785
  ``started`` methods. (Matt Nordhoff)
 
5786
 
 
5787
 
 
5788
bzr 1.0rc1
 
5789
##########
 
5790
 
 
5791
:Released: 2007-11-30
 
5792
 
 
5793
Notes When Upgrading
 
5794
********************
 
5795
 
 
5796
* The default repository format is now ``pack-0.92``.  This
 
5797
  default is used when creating new repositories with ``init`` and
 
5798
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
 
5799
  (See https://bugs.launchpad.net/bugs/164626)
 
5800
 
 
5801
  This format can be read and written by Bazaar 0.92 and later, and
 
5802
  data can be transferred to and from older formats.
 
5803
 
 
5804
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
5805
  upgrade (``bzr upgrade``).
 
5806
 
 
5807
  ``pack-0.92`` offers substantially better scaling and performance than the
 
5808
  previous knits format. Some operations are slower where the code already
 
5809
  had bad scaling characteristics under knits, the pack format makes such
 
5810
  operations more visible as part of being more scalable overall. We will
 
5811
  correct such operations over the coming releases and encourage the filing
 
5812
  of bugs on any operation which you observe to be slower in a packs
 
5813
  repository. One particular case that we do not intend to fix is pulling
 
5814
  data from a pack repository into a knit repository over a high latency
 
5815
  link;  downgrading such data requires reinsertion of the file texts, and
 
5816
  this is a classic space/time tradeoff. The current implementation is
 
5817
  conservative on memory usage because we need to support converting data
 
5818
  from any tree without problems.
 
5819
  (Robert Collins, Martin Pool, #164476)
 
5820
 
 
5821
Changes
 
5822
*******
 
5823
 
 
5824
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
5825
  still available if user selects it explicitly with BZR_SSH environment
 
5826
  variable. (Alexander Belchenko, workaround for bug #107593)
 
5827
 
 
5828
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
 
5829
  to enable the subtree functions (for example, for bzr-svn).
 
5830
  (Martin Pool)
 
5831
 
 
5832
Features
 
5833
********
 
5834
 
 
5835
* New ``authentication.conf`` file holding the password or other credentials
 
5836
  for remote servers. This can be used for ssh, sftp, smtp and other
 
5837
  supported transports.
 
5838
  (Vincent Ladeuil)
 
5839
 
 
5840
* New rich-root and rich-root-pack formats, recording the same data about
 
5841
  tree roots that's recorded for all other directories.
 
5842
  (Aaron Bentley, #164639)
 
5843
 
 
5844
* ``pack-0.92`` repositories can now be reconciled.
 
5845
  (Robert Collins, #154173)
 
5846
 
 
5847
* ``switch`` command added for changing the branch a lightweight checkout
 
5848
  is associated with and updating the tree to reflect the latest content
 
5849
  accordingly. This command was previously part of the BzrTools plug-in.
 
5850
  (Ian Clatworthy, Aaron Bentley, David Allouche)
 
5851
 
 
5852
* ``reconfigure`` command can now convert branches, trees, or checkouts to
 
5853
  lightweight checkouts.  (Aaron Bentley)
 
5854
 
 
5855
Performance
 
5856
***********
 
5857
 
 
5858
* Commit updates the state of the working tree via a delta rather than
 
5859
  supplying entirely new basis trees. For commit of a single specified file
 
5860
  this reduces the wall clock time for commit by roughly a 30%.
 
5861
  (Robert Collins, Martin Pool)
 
5862
 
 
5863
* Commit with many automatically found deleted paths no longer performs
 
5864
  linear scanning for the children of those paths during inventory
 
5865
  iteration. This should fix commit performance blowing out when many such
 
5866
  paths occur during commit. (Robert Collins, #156491)
 
5867
 
 
5868
* Fetch with pack repositories will no longer read the entire history graph.
 
5869
  (Robert Collins, #88319)
 
5870
 
 
5871
* Revert takes out an appropriate lock when reverting to a basis tree, and
 
5872
  does not read the basis inventory twice. (Robert Collins)
 
5873
 
 
5874
* Diff does not require an inventory to be generated on dirstate trees.
 
5875
  (Aaron Bentley, #149254)
 
5876
 
 
5877
* New annotate merge (--merge-type=weave) implementation is fast on
 
5878
  versionedfiles withough cached annotations, e.g. pack-0.92.
 
5879
  (Aaron Bentley)
 
5880
 
 
5881
Improvements
 
5882
************
 
5883
 
 
5884
* ``bzr merge`` now warns when it encounters a criss-cross merge.
 
5885
  (Aaron Bentley)
 
5886
 
 
5887
* ``bzr send`` now doesn't require the target e-mail address to be
 
5888
  specified on the command line if an interactive e-mail client is used.
 
5889
  (Lukáš Lalinský)
 
5890
 
 
5891
* ``bzr tags`` now prints the revision number for each tag, instead of
 
5892
  the revision id, unless --show-ids is passed. In addition, tags can be
 
5893
  sorted chronologically instead of lexicographically with --sort=time.
 
5894
  (Adeodato Simó, #120231)
 
5895
 
 
5896
* Windows standalone version of bzr is able to load system-wide plugins from
 
5897
  "plugins" subdirectory in installation directory. In addition standalone
 
5898
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
 
5899
  about paths and bzr version. (Alexander Belchenko, #129298)
 
5900
 
 
5901
Documentation
 
5902
*************
 
5903
 
 
5904
Bug Fixes
 
5905
*********
 
5906
 
 
5907
* A progress bar has been added for knitpack -> knitpack fetching.
 
5908
  (Robert Collins, #157789, #159147)
 
5909
 
 
5910
* Branching from a branch via smart server now preserves the repository
 
5911
  format. (Andrew Bennetts,  #164626)
 
5912
 
 
5913
* ``commit`` is now able to invoke an external editor in a non-ascii
 
5914
  directory. (Daniel Watkins, #84043)
 
5915
 
 
5916
* Catch connection errors for ftp.
 
5917
  (Vincent Ladeuil, #164567)
 
5918
 
 
5919
* ``check`` no longer reports spurious unreferenced text versions.
 
5920
  (Robert Collins, John A Meinel, #162931, #165071)
 
5921
 
 
5922
* Conflicts are now resolved recursively by ``revert``.
 
5923
  (Aaron Bentley, #102739)
 
5924
 
 
5925
* Detect invalid transport reuse attempts by catching invalid URLs.
 
5926
  (Vincent Ladeuil, #161819)
 
5927
 
 
5928
* Deleting a file without removing it shows a correct diff, not a traceback.
 
5929
  (Aaron Bentley)
 
5930
 
 
5931
* Do no use timeout in HttpServer anymore.
 
5932
  (Vincent Ladeuil, #158972).
 
5933
 
 
5934
* Don't catch the exceptions related to the http pipeline status before
 
5935
  retrying an http request or some programming errors may be masked.
 
5936
  (Vincent Ladeuil, #160012)
 
5937
 
 
5938
* Fix ``bzr rm`` to not delete modified and ignored files.
 
5939
  (Lukáš Lalinský, #172598)
 
5940
 
 
5941
* Fix exception when revisionspec contains merge revisons but log
 
5942
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
5943
 
 
5944
* Fix exception when ScopeReplacer is assigned to before any members have
 
5945
  been retrieved.  (Aaron Bentley)
 
5946
 
 
5947
* Fix multiple connections during checkout --lightweight.
 
5948
  (Vincent Ladeuil, #159150)
 
5949
 
 
5950
* Fix possible error in insert_data_stream when copying between
 
5951
  pack repositories over bzr+ssh or bzr+http.
 
5952
  KnitVersionedFile.get_data_stream now makes sure that requested
 
5953
  compression parents are sent before any delta hunks that depend
 
5954
  on them.
 
5955
  (Martin Pool, #164637)
 
5956
 
 
5957
* Fix typo in limiting offsets coalescing for http, leading to
 
5958
  whole files being downloaded instead of parts.
 
5959
  (Vincent Ladeuil, #165061)
 
5960
 
 
5961
* FTP server errors don't error in the error handling code.
 
5962
  (Robert Collins, #161240)
 
5963
 
 
5964
* Give a clearer message when a pull fails because the source needs
 
5965
  to be reconciled.
 
5966
  (Martin Pool, #164443)
 
5967
 
 
5968
* It is clearer when a plugin cannot be loaded because of its name, and a
 
5969
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
5970
 
 
5971
* Leave port as None in transport objects if user doesn't
 
5972
  specify a port in urls.
 
5973
  (vincent Ladeuil, #150860)
 
5974
 
 
5975
* Make sure Repository.fetch(self) is properly a no-op for all
 
5976
  Repository implementations. (John Arbash Meinel, #158333)
 
5977
 
 
5978
* Mark .bzr directories as "hidden" on Windows.
 
5979
  (Alexander Belchenko, #71147)
 
5980
 
 
5981
* ``merge --uncommitted`` can now operate on a single file.
 
5982
  (Aaron Bentley, Lukáš Lalinský, #136890)
 
5983
 
 
5984
* Obsolete packs are now cleaned up by pack and autopack operations.
 
5985
  (Robert Collins, #153789)
 
5986
 
 
5987
* Operations pulling data from a smart server where the underlying
 
5988
  repositories are not both annotated/both unannotated will now work.
 
5989
  (Robert Collins, #165304).
 
5990
 
 
5991
* Reconcile now shows progress bars. (Robert Collins, #159351)
 
5992
 
 
5993
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
5994
  properly. (John Arbash Meinel, #162486)
 
5995
 
 
5996
* Removing an already-removed file reports the file does not exist. (Daniel
 
5997
  Watkins, #152811)
 
5998
 
 
5999
* Rename on Windows is able to change filename case.
 
6000
  (Alexander Belchenko, #77740)
 
6001
 
 
6002
* Return error instead of a traceback for ``bzr log -r0``.
 
6003
  (Kent Gibson, #133751)
 
6004
 
 
6005
* Return error instead of a traceback when bzr is unable to create
 
6006
  symlink on some platforms (e.g. on Windows).
 
6007
  (Alexander Belchenko, workaround for #81689)
 
6008
 
 
6009
* Revert doesn't crash when restoring a single file from a deleted
 
6010
  directory. (Aaron Bentley)
 
6011
 
 
6012
* Stderr output via logging mechanism now goes through encoded wrapper
 
6013
  and no more uses utf-8, but terminal encoding instead. So all unicode
 
6014
  strings now should be readable in non-utf-8 terminal.
 
6015
  (Alexander Belchenko, #54173)
 
6016
 
 
6017
* The error message when ``move --after`` should be used makes how to do so
 
6018
  clearer. (Daniel Watkins, #85237)
 
6019
 
 
6020
* Unicode-safe output from ``bzr info``. The output will be encoded
 
6021
  using the terminal encoding and unrepresentable characters will be
 
6022
  replaced by '?'. (Lukáš Lalinský, #151844)
 
6023
 
 
6024
* Working trees are no longer created when pushing into a local no-trees
 
6025
  repo. (Daniel Watkins, #50582)
 
6026
 
 
6027
* Upgrade util/configobj to version 4.4.0.
 
6028
  (Vincent Ladeuil, #151208).
 
6029
 
 
6030
* Wrap medusa ftp test server as an FTPServer feature.
 
6031
  (Vincent Ladeuil, #157752)
 
6032
 
 
6033
API Breaks
 
6034
**********
 
6035
 
 
6036
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
6037
  during very long time. (Alexander Belchenko)
 
6038
 
 
6039
* The return value of
 
6040
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
6041
  changed. Previously it was an iterator of lines, now it is an iterator of
 
6042
  (line, version_id) tuples. This change has been made to aid reconcile and
 
6043
  fetch operations. (Robert Collins)
 
6044
 
 
6045
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
6046
  (Robert Collins)
 
6047
 
 
6048
* The Repository format registry default has been removed; it was previously
 
6049
  obsoleted by the bzrdir format default, which implies a default repository
 
6050
  format.
 
6051
  (Martin Pool)
 
6052
 
 
6053
Internals
 
6054
*********
 
6055
 
 
6056
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
6057
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
6058
  and parsing containers from streams rather than from files.  (Andrew
 
6059
  Bennetts)
 
6060
 
 
6061
* New module ``lru_cache`` providing a cache for use by tasks that need
 
6062
  semi-random access to large amounts of data. (John A Meinel)
 
6063
 
 
6064
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
6065
 
 
6066
 
 
6067
bzr 0.92
 
6068
########
 
6069
 
 
6070
:Released: 2007-11-05
 
6071
 
 
6072
Changes
 
6073
*******
 
6074
 
 
6075
  * New uninstaller on Win32.  (Alexander Belchenko)
 
6076
 
 
6077
 
 
6078
bzr 0.92rc1
 
6079
###########
 
6080
 
 
6081
:Released: 2007-10-29
 
6082
 
 
6083
Changes
 
6084
*******
 
6085
 
 
6086
* ``bzr`` now returns exit code 4 if an internal error occurred, and
 
6087
  3 if a normal error occurred.  (Martin Pool)
 
6088
 
 
6089
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
6090
  repository index errors that occured as a result of the Weave disk format.
 
6091
  Instead the ``reconcile`` command needs to be run to correct those
 
6092
  problems if they exist (and it has been able to fix most such problems
 
6093
  since bzr 0.8). Some new problems have been identified during this release
 
6094
  and you should run ``bzr check`` once on every repository to see if you
 
6095
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
6096
  repository due to mismatched parent errors - a symptom of index errors -
 
6097
  you should simply take a full copy of that remote repository to a clean
 
6098
  directory outside any local repositories, then run reconcile on it, and
 
6099
  finally pull from it locally. (And naturally email the repositories owner
 
6100
  to ask them to upgrade and run reconcile).
 
6101
  (Robert Collins)
 
6102
 
 
6103
Features
 
6104
********
 
6105
 
 
6106
* New ``knitpack-experimental`` repository format. This is interoperable with
 
6107
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
6108
  speeds up many operations, both local and remote. This new format can be
 
6109
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
6110
  commands. (Robert Collins)
 
6111
 
 
6112
* For users of bzr-svn (and those testing the prototype subtree support) that
 
6113
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
6114
  been added. This is interoperable with the ``dirstate-subtrees`` format.
 
6115
  (Robert Collins)
 
6116
 
 
6117
* New ``reconfigure`` command. (Aaron Bentley)
 
6118
 
 
6119
* New ``revert --forget-merges`` command, which removes the record of a pending
 
6120
  merge without affecting the working tree contents.  (Martin Pool)
 
6121
 
 
6122
* New ``bzr_remote_path`` configuration variable allows finer control of
 
6123
  remote bzr locations than BZR_REMOTE_PATH environment variable.
 
6124
  (Aaron Bentley)
 
6125
 
 
6126
* New ``launchpad-login`` command to tell Bazaar your Launchpad
 
6127
  user ID.  This can then be used by other functions of the
 
6128
  Launchpad plugin. (James Henstridge)
 
6129
 
 
6130
Performance
 
6131
***********
 
6132
 
 
6133
* Commit in quiet mode is now slightly faster as the information to
 
6134
  output is no longer calculated. (Ian Clatworthy)
 
6135
 
 
6136
* Commit no longer checks for new text keys during insertion when the
 
6137
  revision id was deterministically unique. (Robert Collins)
 
6138
 
 
6139
* Committing a change which is not a merge and does not change the number of
 
6140
  files in the tree is faster by utilising the data about whether files are
 
6141
  changed to determine if the tree is unchanged rather than recalculating
 
6142
  it at the end of the commit process. (Robert Collins)
 
6143
 
 
6144
* Inventory serialisation no longer double-sha's the content.
 
6145
  (Robert Collins)
 
6146
 
 
6147
* Knit text reconstruction now avoids making copies of the lines list for
 
6148
  interim texts when building a single text. The new ``apply_delta`` method
 
6149
  on ``KnitContent`` aids this by allowing modification of the revision id
 
6150
  such objects represent. (Robert Collins)
 
6151
 
 
6152
* Pack indices are now partially parsed for specific key lookup using a
 
6153
  bisection approach. (Robert Collins)
 
6154
 
 
6155
* Partial commits are now approximately 40% faster by walking over the
 
6156
  unselected current tree more efficiently. (Robert Collins)
 
6157
 
 
6158
* XML inventory serialisation takes 20% less time while being stricter about
 
6159
  the contents. (Robert Collins)
 
6160
 
 
6161
* Graph ``heads()`` queries have been fixed to no longer access all history
 
6162
  unnecessarily. (Robert Collins)
 
6163
 
 
6164
Improvements
 
6165
************
 
6166
 
 
6167
* ``bzr+https://`` smart server across https now supported.
 
6168
  (John Ferlito, Martin Pool, #128456)
 
6169
 
 
6170
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
6171
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
6172
 
 
6173
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
 
6174
  changes from one revision. (Alexander Belchenko, #141368)
 
6175
 
 
6176
* Show encodings, locale and list of plugins in the traceback message.
 
6177
  (Martin Pool, #63894)
 
6178
 
 
6179
* Experimental directory formats can now be marked with
 
6180
  ``experimental = True`` during registration. (Ian Clatworthy)
 
6181
 
 
6182
Documentation
 
6183
*************
 
6184
 
 
6185
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
6186
 
 
6187
* The hooks reference documentation is now converted to html as expected.
 
6188
  (Ian Clatworthy)
 
6189
 
 
6190
Bug Fixes
 
6191
*********
 
6192
 
 
6193
* Connection error reporting for the smart server has been fixed to
 
6194
  display a user friendly message instead of a traceback.
 
6195
  (Ian Clatworthy, #115601)
 
6196
 
 
6197
* Make sure to use ``O_BINARY`` when opening files to check their
 
6198
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
6199
 
 
6200
* Fix a problem with Win32 handling of the executable bit.
 
6201
  (John Arbash Meinel, #149113)
 
6202
 
 
6203
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
6204
  no longer assume that means port 22.  This allows people using OpenSSH to
 
6205
  override the default port in their ``~/.ssh/config`` if they wish.  This
 
6206
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
6207
 
 
6208
* Commands reporting exceptions can now be profiled and still have their
 
6209
  data correctly dumped to a file. For example, a ``bzr commit`` with
 
6210
  no changes still reports the operation as pointless but doing so no
 
6211
  longer throws away the profiling data if this command is run with
 
6212
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
6213
 
 
6214
* Fallback to ftp when paramiko is not installed and sftp can't be used for
 
6215
  ``tests/commands`` so that the test suite is still usable without
 
6216
  paramiko.
 
6217
  (Vincent Ladeuil, #59150)
 
6218
 
 
6219
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
6220
 
 
6221
* Fix long standing bug in partial commit when there are renames
 
6222
  left in tree. (Robert Collins, #140419)
 
6223
 
 
6224
* Fix selftest semi-random noise during http related tests.
 
6225
  (Vincent Ladeuil, #140614)
 
6226
 
 
6227
* Fix typo in ftp.py making the reconnection fail on temporary errors.
 
6228
  (Vincent Ladeuil, #154259)
 
6229
 
 
6230
* Fix failing test by comparing real paths to cover the case where the TMPDIR
 
6231
  contains a symbolic link.
 
6232
  (Vincent Ladeuil, #141382).
 
6233
 
 
6234
* Fix log against smart server branches that don't support tags.
 
6235
  (James Westby, #140615)
 
6236
 
 
6237
* Fix pycurl http implementation by defining error codes from
 
6238
  pycurl instead of relying on an old curl definition.
 
6239
  (Vincent Ladeuil, #147530)
 
6240
 
 
6241
* Fix 'unprintable error' message when displaying BzrCheckError and
 
6242
  some other exceptions on Python 2.5.
 
6243
  (Martin Pool, #144633)
 
6244
 
 
6245
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
6246
 
 
6247
* Handles default value for ListOption in cmd_commit.
 
6248
  (Vincent Ladeuil, #140432)
 
6249
 
 
6250
* HttpServer and FtpServer need to be closed properly or a listening socket
 
6251
  will remain opened.
 
6252
  (Vincent Ladeuil, #140055)
 
6253
 
 
6254
* Monitor the .bzr directory created in the top level test
 
6255
  directory to detect leaking tests.
 
6256
  (Vincent Ladeuil, #147986)
 
6257
 
 
6258
* The basename, not the full path, is now used when checking whether
 
6259
  the profiling dump file begins with ``callgrind.out`` or not. This
 
6260
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
6261
 
 
6262
* Trivial fix for invoking command ``reconfigure`` without arguments.
 
6263
  (Rob Weir, #141629)
 
6264
 
 
6265
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
6266
  new path causes bzr to be unable to access the file. (Robert Collins)
 
6267
 
 
6268
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
6269
  Merwe)
 
6270
 
 
6271
API Breaks
 
6272
**********
 
6273
 
 
6274
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
6275
  constructor, for enabling bisection searches. (Robert Collins)
 
6276
 
 
6277
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
6278
  tree be supplied to it, previously failing to do so would trigger a
 
6279
  deprecation warning. (Robert Collins)
 
6280
 
 
6281
* ``KnitVersionedFile.add*`` will no longer cache added records even when
 
6282
  enable_cache() has been called - the caching feature is now exclusively for
 
6283
  reading existing data. (Robert Collins)
 
6284
 
 
6285
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
 
6286
  appropriate.  (Martin Pool)
 
6287
 
 
6288
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
6289
  ``trace+`` transport instead. (Robert Collins)
 
6290
 
 
6291
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
6292
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
6293
  (Martin Pool)
 
6294
 
 
6295
* Removed previous deprecated ``basis_knit`` parameter to the
 
6296
  ``KnitVersionedFile`` constructor. (Robert Collins)
 
6297
 
 
6298
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
 
6299
  class that needs it.
 
6300
  (Martin Pool)
 
6301
 
 
6302
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
6303
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
6304
 
 
6305
* The ``VersionedFile`` interface now allows content checks to be bypassed
 
6306
  by supplying check_content=False.  This saves nearly 30% of the minimum
 
6307
  cost to store a version of a file. (Robert Collins)
 
6308
 
 
6309
* Tree's with bad state such as files with no length or sha will no longer
 
6310
  be silently accepted by the repository XML serialiser. To serialise
 
6311
  inventories without such data, pass working=True to write_inventory.
 
6312
  (Robert Collins)
 
6313
 
 
6314
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
6315
  ``VersionedFile.join`` will no longer accept different parents on either
 
6316
  side of a join - it will either ignore them, or error, depending on the
 
6317
  implementation. See notes when upgrading for more information.
 
6318
  (Robert Collins)
 
6319
 
 
6320
Internals
 
6321
*********
 
6322
 
 
6323
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
6324
  put by the method call, to allow avoiding stat-after-write or
 
6325
  housekeeping in callers. (Robert Collins)
 
6326
 
 
6327
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
6328
  mandatory attributes are present on serialisation and deserialisation.
 
6329
  This fixes some holes in API usage and allows better separation between
 
6330
  physical storage and object serialisation. (Robert Collins)
 
6331
 
 
6332
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
6333
  shorthand for deriving from BzrError and setting internal_error = True.
 
6334
  (Robert Collins)
 
6335
 
 
6336
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
6337
  moving the state of a parent tree to a new version via a delta rather than
 
6338
  a complete replacement tree. (Robert Collins)
 
6339
 
 
6340
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
6341
  duplication from user input, when a user mentions both a path and an item
 
6342
  contained within that path. (Robert Collins)
 
6343
 
 
6344
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
6345
  determining if a repository is write locked. (Robert Collins)
 
6346
 
 
6347
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
6348
  tuple containing the key information about a path for commit processing
 
6349
  to complete. (Robert Collins)
 
6350
 
 
6351
* New method on xml serialisers, write_inventory_to_lines, which matches the
 
6352
  API used by knits for adding content. (Robert Collins)
 
6353
 
 
6354
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
6355
  logic, currently only available for byte-based lookup
 
6356
  (``bisect_multi_bytes``). (Robert Collins)
 
6357
 
 
6358
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
6359
  and returns a gzipped version of the same. This is used to avoid a bunch
 
6360
  of api friction during adding of knit hunks. (Robert Collins)
 
6361
 
 
6362
* New parameter on ``bzrlib.transport.Transport.readv``
 
6363
  ``adjust_for_latency`` which changes readv from returning strictly the
 
6364
  requested data to inserted return larger ranges and in forward read order
 
6365
  to reduce the effect of network latency. (Robert Collins)
 
6366
 
 
6367
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
6368
  causes the parents of a selected id to be returned recursively, so all the
 
6369
  paths from the root down to each element of selected_file_ids are
 
6370
  returned. (Robert Collins)
 
6371
 
 
6372
* Knit joining has been enhanced to support plain to annotated conversion
 
6373
  and annotated to plain conversion. (Ian Clatworthy)
 
6374
 
 
6375
* The CommitBuilder method ``record_entry_contents`` now returns summary
 
6376
  information about the effect of the commit on the repository. This tuple
 
6377
  contains an inventory delta item if the entry changed from the basis, and a
 
6378
  boolean indicating whether a new file graph node was recorded.
 
6379
  (Robert Collins)
 
6380
 
 
6381
* The python path used in the Makefile can now be overridden.
 
6382
  (Andrew Bennetts, Ian Clatworthy)
 
6383
 
 
6384
Testing
 
6385
*******
 
6386
 
 
6387
* New transport implementation ``trace+`` which is useful for testing,
 
6388
  logging activity taken to its _activity attribute. (Robert Collins)
 
6389
 
 
6390
* When running bzr commands within the test suite, internal exceptions are
 
6391
  not caught and reported in the usual way, but rather allowed to propagate
 
6392
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
6393
  makes this behavior available to other users.
 
6394
  (Martin Pool)
 
6395
 
 
6396
* New method ``TestCase.call_catch_warnings`` for testing methods that
 
6397
  raises a Python warning.  (Martin Pool)
 
6398
 
 
6399
 
 
6400
bzr 0.91
 
6401
########
 
6402
 
 
6403
:Released: 2007-09-26
 
6404
 
 
6405
Bug Fixes
 
6406
*********
 
6407
 
 
6408
* Print a warning instead of aborting the ``python setup.py install``
 
6409
  process if building of a C extension is not possible.
 
6410
  (Lukáš Lalinský, Alexander Belchenko)
 
6411
 
 
6412
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
6413
 
 
6414
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
6415
  an implicit port.  We were incorrectly raising PathNotChild due to
 
6416
  inconsistent treatment of the ''_port'' attribute on the Transport object.
 
6417
  (Andrew Bennetts, #133965)
 
6418
 
 
6419
* Make RemoteRepository.sprout cope gracefully with servers that don't
 
6420
  support the ``Repository.tarball`` request.
 
6421
  (Andrew Bennetts)
 
6422
 
 
6423
 
 
6424
bzr 0.91rc2
 
6425
###########
 
6426
 
 
6427
:Released: 2007-09-11
 
6428
 
 
6429
* Replaced incorrect tarball for previous release; a debug statement was left
 
6430
  in bzrlib/remote.py.
 
6431
 
 
6432
 
 
6433
bzr 0.91rc1
 
6434
###########
 
6435
 
 
6436
:Released: 2007-09-11
 
6437
 
 
6438
Changes
 
6439
*******
 
6440
 
 
6441
* The default branch and repository format has changed to
 
6442
  ``dirstate-tags``, so tag commands are active by default.
 
6443
  This format is compatible with Bazaar 0.15 and later.
 
6444
  This incidentally fixes bug #126141.
 
6445
  (Martin Pool)
 
6446
 
 
6447
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
6448
  must now appear after the command name. Scripts doing things like
 
6449
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
6450
  (Ian Clatworthy)
 
6451
 
 
6452
Features
 
6453
********
 
6454
 
 
6455
* New option ``--author`` in ``bzr commit`` to specify the author of the
 
6456
  change, if it's different from the committer. ``bzr log`` and
 
6457
  ``bzr annotate`` display the author instead of the committer.
 
6458
  (Lukáš Lalinský)
 
6459
 
 
6460
* In addition to global options and command specific options, a set of
 
6461
  standard options are now supported. Standard options are legal for
 
6462
  all commands. The initial set of standard options are:
 
6463
 
 
6464
  * ``--help`` or ``-h`` - display help message
 
6465
  * ``--verbose`` or ``-v`` - display additional information
 
6466
  * ``--quiet``  or ``-q`` - only output warnings and errors.
 
6467
 
 
6468
  Unlike global options, standard options can be used in aliases and
 
6469
  may have command-specific help. (Ian Clatworthy)
 
6470
 
 
6471
* Verbosity level processing has now been unified. If ``--verbose``
 
6472
  or ``-v`` is specified on the command line multiple times, the
 
6473
  verbosity level is made positive the first time then increased.
 
6474
  If ``--quiet`` or ``-q`` is specified on the command line
 
6475
  multiple times, the verbosity level is made negative the first
 
6476
  time then decreased. To get the default verbosity level of zero,
 
6477
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
6478
  Note that most commands currently ignore the magnitude of the
 
6479
  verbosity level but do respect *quiet vs normal vs verbose* when
 
6480
  generating output. (Ian Clatworthy)
 
6481
 
 
6482
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
6483
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
6484
 
 
6485
* New ``Repository.stream_knit_data_for_revisions`` request added to the
 
6486
  network protocol for greatly reduced roundtrips when retrieving a set of
 
6487
  revisions. (Andrew Bennetts)
 
6488
 
 
6489
Bug Fixes
 
6490
*********
 
6491
 
 
6492
* ``bzr plugins`` now lists the version number for each plugin in square
 
6493
  brackets after the path. (Robert Collins, #125421)
 
6494
 
 
6495
* Pushing, pulling and branching branches with subtree references was not
 
6496
  copying the subtree weave, preventing the file graph from being accessed
 
6497
  and causing errors in commits in clones. (Robert Collins)
 
6498
 
 
6499
* Suppress warning "integer argument expected, got float" from Paramiko,
 
6500
  which sometimes caused false test failures.  (Martin Pool)
 
6501
 
 
6502
* Fix bug in bundle 4 that could cause attempts to write data to wrong
 
6503
  versionedfile.  (Aaron Bentley)
 
6504
 
 
6505
* Diffs generated using "diff -p" no longer break the patch parser.
 
6506
  (Aaron Bentley)
 
6507
 
 
6508
* get_transport treats an empty possible_transports list the same as a non-
 
6509
  empty one.  (Aaron Bentley)
 
6510
 
 
6511
* patch verification for merge directives is reactivated, and works with
 
6512
  CRLF and CR files.  (Aaron Bentley)
 
6513
 
 
6514
* Accept ..\ as a path in revision specifiers. This fixes for example
 
6515
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
 
6516
 
 
6517
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
6518
  (Blake Winton, #129299)
 
6519
 
 
6520
* man page no longer lists hidden options (#131667, Aaron Bentley)
 
6521
 
 
6522
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
6523
  Watkins, #106726)
 
6524
 
 
6525
* Error messages are now better formatted with parameters (such as
 
6526
  filenames) quoted when necessary. This avoids confusion when directory
 
6527
  names ending in a '.' at the end of messages were confused with a
 
6528
  full stop that may or not have been there. (Daniel Watkins, #129791)
 
6529
 
 
6530
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
6531
 
 
6532
* If a particular command is an alias, ``help`` will show the alias
 
6533
  instead of claiming there is no help for said alias. (Daniel Watkins,
 
6534
  #133548)
 
6535
 
 
6536
* TreeTransform-based operations, like pull, merge, revert, and branch,
 
6537
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
6538
 
 
6539
* ``bzr commit`` now exits cleanly if a character unsupported by the
 
6540
  current encoding is used in the commit message.  (Daniel Watkins,
 
6541
  #116143)
 
6542
 
 
6543
* bzr send uses default values for ranges when only half of an elipsis
 
6544
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
6545
 
 
6546
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
6547
  binary is present.  (Martin Albisetti, #107155)
 
6548
 
 
6549
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
6550
  needing ``--force``) subtrees that contain no files with text changes or
 
6551
  modified files.  With ``--force`` it removes the subtree regardless of
 
6552
  text changes or unknown files. Directories with renames in or out (but
 
6553
  not changed otherwise) will now be removed without needing ``--force``.
 
6554
  Unknown ignored files will be deleted without needing ``--force``.
 
6555
  (Marius Kruger, #111665)
 
6556
 
 
6557
* When two plugins conflict, the source of both the losing and now the
 
6558
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
6559
 
 
6560
* When committing to a branch, the location being committed to is
 
6561
  displayed.  (Daniel Watkins, #52479)
 
6562
 
 
6563
* ``bzr --version`` takes care about encoding of stdout, especially
 
6564
  when output is redirected. (Alexander Belchenko, #131100)
 
6565
 
 
6566
* Prompt for an ftp password if none is provided.
 
6567
  (Vincent Ladeuil, #137044)
 
6568
 
 
6569
* Reuse bound branch associated transport to avoid multiple
 
6570
  connections.
 
6571
  (Vincent Ladeuil, #128076, #131396)
 
6572
 
 
6573
* Overwrite conflicting tags by ``push`` and ``pull`` if the
 
6574
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
6575
 
 
6576
* In checkouts, tags are copied into the master branch when created,
 
6577
  changed or deleted, and are copied into the checkout when it is
 
6578
  updated.  (Martin Pool, #93856, #93860)
 
6579
 
 
6580
* Print a warning instead of aborting the ``python setup.py install``
 
6581
  process if building of a C extension is not possible.
 
6582
  (Lukáš Lalinský, Alexander Belchenko)
 
6583
 
 
6584
Improvements
 
6585
************
 
6586
 
 
6587
* Add the option "--show-diff" to the commit command in order to display
 
6588
  the diff during the commit log creation. (Goffredo Baroncelli)
 
6589
 
 
6590
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
6591
  (Aaron Bentley)
 
6592
 
 
6593
* ``pull -v`` no longer includes deltas, making it much faster.
 
6594
  (Aaron Bentley)
 
6595
 
 
6596
* ``send`` now sends the directive as an attachment by default.
 
6597
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
6598
 
 
6599
* Documentation updates (Martin Albisetti)
 
6600
 
 
6601
* Help on debug flags is now included in ``help global-options``.
 
6602
  (Daniel Watkins, #124853)
 
6603
 
 
6604
* Parameters passed on the command line are checked to ensure they are
 
6605
  supported by the encoding in use. (Daniel Watkins)
 
6606
 
 
6607
* The compression used within the bzr repository has changed from zlib
 
6608
  level 9 to the zlib default level. This improves commit performance with
 
6609
  only a small increase in space used (and in some cases a reduction in
 
6610
  space). (Robert Collins)
 
6611
 
 
6612
* Initial commit no longer SHAs files twice and now reuses the path
 
6613
  rather than looking it up again, making it faster.
 
6614
  (Ian Clatworthy)
 
6615
 
 
6616
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
6617
  changes in one revision.  (Lukáš Lalinský)
 
6618
 
 
6619
* If versioned files match a given ignore pattern, a warning is now
 
6620
  given. (Daniel Watkins, #48623)
 
6621
 
 
6622
* ``bzr status`` now has -S as a short name for --short and -V as a
 
6623
  short name for --versioned. These have been added to assist users
 
6624
  migrating from Subversion: ``bzr status -SV`` is now like
 
6625
  ``svn status -q``.  (Daniel Watkins, #115990)
 
6626
 
 
6627
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
6628
  10x faster than the Python version. This speeds up commands that
 
6629
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
6630
  (Lukáš Lalinský)
 
6631
 
 
6632
* HACKING has been extended with a large section on core developer tasks.
 
6633
  (Ian Clatworthy)
 
6634
 
 
6635
* Add ``branches`` and ``standalone-trees`` as online help topics and
 
6636
  include them as Concepts within the User Reference.
 
6637
  (Paul Moore, Ian Clatworthy)
 
6638
 
 
6639
* ``check`` can detect versionedfile parent references that are
 
6640
  inconsistent with revision and inventory info, and ``reconcile`` can fix
 
6641
  them.  These faulty references were generated by 0.8-era releases,
 
6642
  so repositories which were manipulated by old bzrs should be
 
6643
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
6644
 
 
6645
API Breaks
 
6646
**********
 
6647
 
 
6648
* ``Branch.append_revision`` is removed altogether; please use
 
6649
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
6650
 
 
6651
* CommitBuilder now advertises itself as requiring the root entry to be
 
6652
  supplied. This only affects foreign repository implementations which reuse
 
6653
  CommitBuilder directly and have changed record_entry_contents to require
 
6654
  that the root not be supplied. This should be precisely zero plugins
 
6655
  affected. (Robert Collins)
 
6656
 
 
6657
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
6658
  its return value to include the sha1 and length of the inserted text. This
 
6659
  allows the avoidance of double-sha1 calculations during commit.
 
6660
  (Robert Collins)
 
6661
 
 
6662
* ``Transport.should_cache`` has been removed.  It was not called in the
 
6663
  previous release.  (Martin Pool)
 
6664
 
 
6665
Testing
 
6666
*******
 
6667
 
 
6668
* Tests may now raise TestNotApplicable to indicate they shouldn't be
 
6669
  run in a particular scenario.  (Martin Pool)
 
6670
 
 
6671
* New function multiply_tests_from_modules to give a simpler interface
 
6672
  to test parameterization.  (Martin Pool, Robert Collins)
 
6673
 
 
6674
* ``Transport.should_cache`` has been removed.  It was not called in the
 
6675
  previous release.  (Martin Pool)
 
6676
 
 
6677
* NULL_REVISION is returned to indicate the null revision, not None.
 
6678
  (Aaron Bentley)
 
6679
 
 
6680
* Use UTF-8 encoded StringIO for log tests to avoid failures on
 
6681
  non-ASCII committer names.  (Lukáš Lalinský)
 
6682
 
 
6683
Internals
 
6684
*********
 
6685
 
 
6686
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
6687
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
6688
  useful functionality for determining the path of a plugin, its tests, and
 
6689
  its version information. (Robert Collins)
 
6690
 
 
6691
* Add the option user_encoding to the function 'show_diff_trees()'
 
6692
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
6693
 
 
6694
* Add the function make_commit_message_template_encoded() and the function
 
6695
  edit_commit_message_encoded() which handle encoded strings.
 
6696
  This is done in order to mix the commit messages (which is a unicode
 
6697
  string), and the diff which is a raw string. (Goffredo Baroncelli)
 
6698
 
 
6699
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
6700
  overhead on non-weave repositories which don't require all parents to be
 
6701
  present. (Robert Collins)
 
6702
 
 
6703
* Deprecated method ``find_previous_heads`` on
 
6704
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
6705
  of ``parent_candidates`` and a separate heads check via the repository
 
6706
  API. (Robert Collins)
 
6707
 
 
6708
* New trace function ``mutter_callsite`` will print out a subset of the
 
6709
  stack to the log, which can be useful for gathering debug details.
 
6710
  (Robert Collins)
 
6711
 
 
6712
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
6713
  added via a public attribute records_written. (Robert Collins)
 
6714
 
 
6715
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
6716
  This provides a hint to users of transports as to the reasonable
 
6717
  minimum data to read. In principle this can take latency and
 
6718
  bandwidth into account on a per-connection basis, but for now it
 
6719
  just has hard coded values based on the url. (e.g. http:// has a large
 
6720
  page size, file:// has a small one.) (Robert Collins)
 
6721
 
 
6722
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
6723
  incremental addition of data to a file without requiring that all the
 
6724
  data be buffered in memory. (Robert Collins)
 
6725
 
 
6726
* New methods on ``bzrlib.knit.KnitVersionedFile``:
 
6727
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
6728
  ``get_format_signature()``.  These provide some infrastructure for
 
6729
  efficiently streaming the knit data for a set of versions over the smart
 
6730
  protocol.
 
6731
 
 
6732
* Knits with no annotation cache still produce correct annotations.
 
6733
  (Aaron Bentley)
 
6734
 
 
6735
* Three new methods have been added to ``bzrlib.trace``:
 
6736
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
6737
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
6738
  zero for normal, positive for verbose. The size of the number can be
 
6739
  used to determine just how quiet or verbose the application should be.
 
6740
  The existing ``be_quiet`` and ``is_quiet`` routines have been
 
6741
  integrated into this new scheme. (Ian Clatworthy)
 
6742
 
 
6743
* Options can now be delcared with a ``custom_callback`` parameter. If
 
6744
  set, this routine is called after the option is processed. This feature
 
6745
  is now used by the standard options ``verbose`` and ``quiet`` so that
 
6746
  setting one implicitly resets the other. (Ian Clatworthy)
 
6747
 
 
6748
* Rather than declaring a new option from scratch in order to provide
 
6749
  custom help, a centrally registered option can be decorated using the
 
6750
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
6751
  is useful when declaring better help for the ``verbose`` and ``quiet``
 
6752
  standard options as the base definition of these is now more complex
 
6753
  than before thanks to their use of a custom callback. (Ian Clatworthy)
 
6754
 
 
6755
* Tree._iter_changes(specific_file=[]) now iterates through no files,
 
6756
  instead of iterating through all files.  None is used to iterate through
 
6757
  all files.  (Aaron Bentley)
 
6758
 
 
6759
* WorkingTree.revert() now accepts None to revert all files.  The use of
 
6760
  [] to revert all files is deprecated.  (Aaron Bentley)
 
6761
 
 
6762
 
 
6763
bzr 0.90
 
6764
########
 
6765
 
 
6766
:Released: 2007-08-28
 
6767
 
 
6768
Improvements
 
6769
************
 
6770
 
 
6771
* Documentation is now organized into multiple directories with a level
 
6772
  added for different languages or locales. Added the Mini Tutorial
 
6773
  and Quick Start Summary (en) documents from the Wiki, improving the
 
6774
  content and readability of the former. Formatted NEWS as Release Notes
 
6775
  complete with a Table of Conents, one heading per release. Moved the
 
6776
  Developer Guide into the main document catalog and provided a link
 
6777
  from the developer document catalog back to the main one.
 
6778
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
6779
 
 
6780
 
 
6781
API Changes
 
6782
***********
 
6783
 
 
6784
* The static convenience method ``BzrDir.create_repository``
 
6785
  is deprecated.  Callers should instead create a ``BzrDir`` instance
 
6786
  and call ``create_repository`` on that.  (Martin Pool)
 
6787
 
 
6788
 
 
6789
bzr 0.90rc1
 
6790
###########
 
6791
 
 
6792
:Released: 2007-08-14
 
6793
 
 
6794
Bugfixes
 
6795
********
 
6796
 
 
6797
* ``bzr init`` should connect to the remote location one time only.  We
 
6798
  have been connecting several times because we forget to pass around the
 
6799
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
6800
  so that we can give it the Transport we already have.
 
6801
  (John Arbash Meinel, Vincent Ladeuil, #111702)
 
6802
 
 
6803
* Get rid of sftp connection cache (get rid of the FTP one too).
 
6804
  (Vincent Ladeuil, #43731)
 
6805
 
 
6806
* bzr branch {local|remote} remote don't try to create a working tree
 
6807
  anymore.
 
6808
  (Vincent Ladeuil, #112173)
 
6809
 
 
6810
* All identified multiple connections for a single bzr command have been
 
6811
  fixed. See bzrlib/tests/commands directory.
 
6812
  (Vincent Ladeuil)
 
6813
 
 
6814
* ``bzr rm`` now does not insist on ``--force`` to delete files that
 
6815
  have been renamed but not otherwise modified.  (Marius Kruger,
 
6816
  #111664)
 
6817
 
 
6818
* ``bzr selftest --bench`` no longer emits deprecation warnings
 
6819
  (Lukáš Lalinský)
 
6820
 
 
6821
* ``bzr status`` now honours FILE parameters for conflict lists
 
6822
  (Aaron Bentley, #127606)
 
6823
 
 
6824
* ``bzr checkout`` now honours -r when reconstituting a working tree.
 
6825
  It also honours -r 0.  (Aaron Bentley, #127708)
 
6826
 
 
6827
* ``bzr add *`` no more fails on Windows if working tree contains
 
6828
  non-ascii file names. (Kuno Meyer, #127361)
 
6829
 
 
6830
* allow ``easy_install bzr`` runs without fatal errors.
 
6831
  (Alexander Belchenko, #125521)
 
6832
 
 
6833
* Graph._filter_candidate_lca does not raise KeyError if a candidate
 
6834
  is eliminated just before it would normally be examined.  (Aaron Bentley)
 
6835
 
 
6836
* SMTP connection failures produce a nice message, not a traceback.
 
6837
  (Aaron Bentley)
 
6838
 
 
6839
Improvements
 
6840
************
 
6841
 
 
6842
* Don't show "dots" progress indicators when run non-interactively, such
 
6843
  as from cron.  (Martin Pool)
 
6844
 
 
6845
* ``info`` now formats locations more nicely and lists "submit" and
 
6846
  "public" branches (Aaron Bentley)
 
6847
 
 
6848
* New ``pack`` command that will trigger database compression within
 
6849
  the repository (Robert Collins)
 
6850
 
 
6851
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
6852
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
6853
  Which yields a measurable improvement for commands which have to
 
6854
  read from the repository, such as a 1s => 0.75s improvement in
 
6855
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
6856
 
 
6857
* Merge is now faster.  Depending on the scenario, it can be more than 2x
 
6858
  faster. (Aaron Bentley)
 
6859
 
 
6860
* Give a clearer warning, and allow ``python setup.py install`` to
 
6861
  succeed even if pyrex is not available.
 
6862
  (John Arbash Meinel)
 
6863
 
 
6864
* ``DirState._read_dirblocks`` now has an optional Pyrex
 
6865
  implementation. This improves the speed of any command that has to
 
6866
  read the entire DirState. (``diff``, ``status``, etc, improve by
 
6867
  about 10%).
 
6868
  ``bisect_dirblocks`` has also been improved, which helps all
 
6869
  ``_get_entry`` type calls (whenever we are searching for a
 
6870
  particular entry in the in-memory DirState).
 
6871
  (John Arbash Meinel)
 
6872
 
 
6873
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
 
6874
  branch revision history for ui display unless -v is supplied.
 
6875
  (Robert Collins)
 
6876
 
 
6877
* ``bzr log -rA..B`` output shifted to the left margin if the log only
 
6878
  contains merge revisions. (Kent Gibson)
 
6879
 
 
6880
* The ``plugins`` command is now public with improved help.
 
6881
  (Ian Clatworthy)
 
6882
 
 
6883
* New bundle and merge directive formats are faster to generate, and
 
6884
 
 
6885
* Annotate merge now works when there are local changes. (Aaron Bentley)
 
6886
 
 
6887
* Commit now only shows the progress in terms of directories instead of
 
6888
  entries. (Ian Clatworthy)
 
6889
 
 
6890
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
6891
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
6892
  Meinel)
 
6893
 
 
6894
* Fix ``VersionedFile.get_graph()`` to avoid using
 
6895
  ``set.difference_update(other)``, which has bad scaling when
 
6896
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
6897
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
6898
 
 
6899
* The ``--lsprof-file`` option now generates output for KCacheGrind if
 
6900
  the file starts with ``callgrind.out``. This matches the default file
 
6901
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
6902
 
 
6903
* Fix ``bzr update`` to avoid an unnecessary
 
6904
  ``branch.get_master_branch`` call, which avoids 1 extra connection
 
6905
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
6906
 
 
6907
* Log errors from the smart server in the trace file, to make debugging
 
6908
  test failures (and live failures!) easier.  (Andrew Bennetts)
 
6909
 
 
6910
* The HTML version of the man page has been superceded by a more
 
6911
  comprehensive manual called the Bazaar User Reference. This manual
 
6912
  is completed generated from the online help topics. As part of this
 
6913
  change, limited reStructuredText is now explicitly supported in help
 
6914
  topics and command help with 'unnatural' markup being removed prior
 
6915
  to display by the online help or inclusion in the man page.
 
6916
  (Ian Clatworthy)
 
6917
 
 
6918
* HTML documentation now use files extension ``*.html``
 
6919
  (Alexander Belchenko)
 
6920
 
 
6921
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
6922
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
6923
 
 
6924
* ``bzr selftest --strict`` fails if there are any missing features or
 
6925
  expected test failures. (Daniel Watkins, #111914)
 
6926
 
 
6927
* Link to registration survey added to README. (Ian Clatworthy)
 
6928
 
 
6929
* Windows standalone installer show link to registration survey
 
6930
  when installation finished. (Alexander Belchenko)
 
6931
 
 
6932
Library API Breaks
 
6933
******************
 
6934
 
 
6935
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
6936
  Options are now required to provide a help string and it must
 
6937
  comply with the style guide by being one or more sentences with an
 
6938
  initial capital and final period. (Martin Pool)
 
6939
 
 
6940
* KnitIndex.get_parents now returns tuples. (Robert Collins)
 
6941
 
 
6942
* Ancient unused ``Repository.text_store`` attribute has been removed.
 
6943
  (Robert Collins)
 
6944
 
 
6945
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
6946
  rather than just bytestrings, making it easier to represent multiple
 
6947
  element names. As this interface was not used by any internal facilities
 
6948
  since it was introduced in 0.18 no API compatibility is being preserved.
 
6949
  The serialised form of these packs is identical with 0.18 when a single
 
6950
  element tuple is in use. (Robert Collins)
 
6951
 
 
6952
Internals
 
6953
*********
 
6954
 
 
6955
* merge now uses ``iter_changes`` to calculate changes, which makes room for
 
6956
  future performance increases.  It is also more consistent with other
 
6957
  operations that perform comparisons, and reduces reliance on
 
6958
  Tree.inventory.  (Aaron Bentley)
 
6959
 
 
6960
* Refactoring of transport classes connected to a remote server.
 
6961
  ConnectedTransport is a new class that serves as a basis for all
 
6962
  transports needing to connect to a remote server.  transport.split_url
 
6963
  have been deprecated, use the static method on the object instead. URL
 
6964
  tests have been refactored too.
 
6965
  (Vincent Ladeuil)
 
6966
 
 
6967
* Better connection sharing for ConnectedTransport objects.
 
6968
  transport.get_transport() now accepts a 'possible_transports' parameter.
 
6969
  If a newly requested transport can share a connection with one of the
 
6970
  list, it will.
 
6971
  (Vincent Ladeuil)
 
6972
 
 
6973
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
6974
  the null revision, and consider using ``None`` for this purpose
 
6975
  deprecated.  (Aaron Bentley)
 
6976
 
 
6977
* New ``index`` module with abstract index functionality. This will be
 
6978
  used during the planned changes in the repository layer. Currently the
 
6979
  index layer provides a graph aware immutable index, a builder for the
 
6980
  same index type to allow creating them, and finally a composer for
 
6981
  such indices to allow the use of many indices in a single query. The
 
6982
  index performance is not optimised, however the API is stable to allow
 
6983
  development on top of the index. (Robert Collins)
 
6984
 
 
6985
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
6986
  their directory sections. This is equivalent to comparing
 
6987
  ``path.split('/')``, only without having to split the paths.
 
6988
  This has a Pyrex implementation available.
 
6989
  (John Arbash Meinel)
 
6990
 
 
6991
* New transport decorator 'unlistable+' which disables the list_dir
 
6992
  functionality for testing.
 
6993
 
 
6994
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
6995
 
 
6996
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
6997
  for performing annotate-merge.  (Aaron Bentley)
 
6998
 
 
6999
* New EmailMessage class to create email messages. (Adeodato Simó)
 
7000
 
 
7001
* Unused functions on the private interface KnitIndex have been removed.
 
7002
  (Robert Collins)
 
7003
 
 
7004
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
7005
  of a ``index.GraphIndex``. (Robert Collins)
 
7006
 
 
7007
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
7008
  the parents of many knit nodes at once, reducing round trips to the
 
7009
  underlying index. (Robert Collins)
 
7010
 
 
7011
* Graph now has an is_ancestor method, various bits use it.
 
7012
  (Aaron Bentley)
 
7013
 
 
7014
* The ``-Dhpss`` flag now includes timing information. As well as
 
7015
  logging when a new connection is opened. (John Arbash Meinel)
 
7016
 
 
7017
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
7018
  callers when inserting data, allowing generation of readv style access
 
7019
  during pack creation, without needing a separate pass across the output
 
7020
  pack to gather such details. (Robert Collins)
 
7021
 
 
7022
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
7023
  files that are stored on a transport. (Robert Collins)
 
7024
 
 
7025
* New ``Repository.has_same_location`` method that reports if two
 
7026
  repository objects refer to the same repository (although with some risk
 
7027
  of false negatives).  (Andrew Bennetts)
 
7028
 
 
7029
* InterTree.compare now passes require_versioned on correctly.
 
7030
  (Marius Kruger)
 
7031
 
 
7032
* New methods on Repository - ``start_write_group``,
 
7033
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
7034
  which provide a clean hook point for transactional Repositories - ones
 
7035
  where all the data for a fetch or commit needs to be made atomically
 
7036
  available in one step. This allows the write lock to remain while making
 
7037
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
7038
 
 
7039
* In ``bzrlib.knit`` the internal interface has been altered to use
 
7040
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
7041
  describe where data in a knit is, allowing knits to be split into
 
7042
  many files. (Robert Collins)
 
7043
 
 
7044
* ``bzrlib.knit._KnitData`` split into cache management and physical access
 
7045
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
7046
  The former provides access into a .pack file, and the latter provides the
 
7047
  current production repository form of .knit files. (Robert Collins)
 
7048
 
 
7049
Testing
 
7050
*******
 
7051
 
 
7052
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
7053
  ``--keep-output`` options, which are obsolete now that tests
 
7054
  are done within directories in $TMPDIR.  (Martin Pool)
 
7055
 
 
7056
* The SSH_AUTH_SOCK environment variable is now reset to avoid
 
7057
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
7058
 
 
7059
* run_bzr_subprocess handles parameters the same way as run_bzr:
 
7060
  either a string or a list of strings should be passed as the first
 
7061
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
7062
 
 
7063
 
 
7064
bzr 0.18
 
7065
########
 
7066
 
 
7067
:Released:  2007-07-17
 
7068
 
 
7069
Bugfixes
 
7070
********
 
7071
 
 
7072
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
7073
 
 
7074
 
 
7075
bzr 0.18rc1
 
7076
###########
 
7077
 
 
7078
:Released:  2007-07-10
 
7079
 
 
7080
Bugfixes
 
7081
********
 
7082
 
 
7083
* Do not suppress pipe errors, etc. in non-display commands
 
7084
  (Alexander Belchenko, #87178)
 
7085
 
 
7086
* Display a useful error message when the user requests to annotate
 
7087
  a file that is not present in the specified revision.
 
7088
  (James Westby, #122656)
 
7089
 
 
7090
* Commands that use status flags now have a reference to 'help
 
7091
  status-flags'.  (Daniel Watkins, #113436)
 
7092
 
 
7093
* Work around python-2.4.1 inhability to correctly parse the
 
7094
  authentication header.
 
7095
  (Vincent Ladeuil, #121889)
 
7096
 
 
7097
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
7098
 
 
7099
* Fix tempfile permissions error in smart server tar bundling under
 
7100
  Windows. (Martin _, #119330)
 
7101
 
 
7102
* Fix detection of directory entries in the inventory. (James Westby)
 
7103
 
 
7104
* Fix handling of http code 400: Bad Request When issuing too many ranges.
 
7105
  (Vincent Ladeuil, #115209)
 
7106
 
 
7107
* Issue a CONNECT request when connecting to an https server
 
7108
  via a proxy to enable SSL tunneling.
 
7109
  (Vincent Ladeuil, #120678)
 
7110
 
 
7111
* Fix ``bzr log -r`` to support selecting merge revisions, both
 
7112
  individually and as part of revision ranges.
 
7113
  (Kent Gibson, #4663)
 
7114
 
 
7115
* Don't leave cruft behind when failing to acquire a lockdir.
 
7116
  (Martin Pool, #109169)
 
7117
 
 
7118
* Don't use the '-f' strace option during tests.
 
7119
  (Vincent Ladeuil, #102019).
 
7120
 
 
7121
* Warn when setting ``push_location`` to a value that will be masked by
 
7122
  locations.conf.  (Aaron Bentley, #122286)
 
7123
 
 
7124
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
7125
 
 
7126
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
7127
 
 
7128
Improvements
 
7129
************
 
7130
 
 
7131
* The --lsprof-file option now dumps a text rendering of the profiling
 
7132
  information if the filename ends in ".txt". It will also convert the
 
7133
  profiling information to a format suitable for KCacheGrind if the
 
7134
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
7135
  conversion process by Jean Paul Calderone and Itamar were also merged.
 
7136
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
7137
 
 
7138
* ``info`` now defaults to non-verbose mode, displaying only paths and
 
7139
  abbreviated format info.  ``info -v`` displays all the information
 
7140
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
7141
 
 
7142
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
7143
  (Elliot Murphy)
 
7144
 
 
7145
* The internal ``weave-list`` command has become ``versionedfile-list``,
 
7146
  and now lists knits as well as weaves.  (Aaron Bentley)
 
7147
 
 
7148
* Automatic merge base selection uses a faster algorithm that chooses
 
7149
  better bases in criss-cross merge situations (Aaron Bentley)
 
7150
 
 
7151
* Progress reporting in ``commit`` has been improved. The various logical
 
7152
  stages are now reported on as follows, namely:
 
7153
 
 
7154
  * Collecting changes [Entry x/y] - Stage n/m
 
7155
  * Saving data locally - Stage n/m
 
7156
  * Uploading data to master branch - Stage n/m
 
7157
  * Updating the working tree - Stage n/m
 
7158
  * Running post commit hooks - Stage n/m
 
7159
 
 
7160
  If there is no master branch, the 3rd stage is omitted and the total
 
7161
  number of stages is adjusted accordingly.
 
7162
 
 
7163
  Each hook that is run after commit is listed with a name (as hooks
 
7164
  can be slow it is useful feedback).
 
7165
  (Ian Clatworthy, Robert Collins)
 
7166
 
 
7167
* Various operations that are now faster due to avoiding unnecessary
 
7168
  topological sorts. (Aaron Bentley)
 
7169
 
 
7170
* Make merge directives robust against broken bundles. (Aaron Bentley)
 
7171
 
 
7172
* The lsprof filename note is emitted via trace.note(), not standard
 
7173
  output.  (Aaron Bentley)
 
7174
 
 
7175
* ``bzrlib`` now exports explicit API compatibility information to assist
 
7176
  library users and plugins. See the ``bzrlib.api`` module for details.
 
7177
  (Robert Collins)
 
7178
 
 
7179
* Remove unnecessary lock probes when acquiring a lockdir.
 
7180
  (Martin Pool)
 
7181
 
 
7182
* ``bzr --version`` now shows the location of the bzr log file, which
 
7183
  is especially useful on Windows.  (Martin Pool)
 
7184
 
 
7185
* -D now supports hooks to get debug tracing of hooks (though its currently
 
7186
  minimal in nature). (Robert Collins)
 
7187
 
 
7188
* Long log format reports deltas on merge revisions.
 
7189
  (John Arbash Meinel, Kent Gibson)
 
7190
 
 
7191
* Make initial push over ftp more resilient. (John Arbash Meinel)
 
7192
 
 
7193
* Print a summary of changes for update just like pull does.
 
7194
  (Daniel Watkins, #113990)
 
7195
 
 
7196
* Add a -Dhpss option to trace smart protocol requests and responses.
 
7197
  (Andrew Bennetts)
 
7198
 
 
7199
Library API Breaks
 
7200
******************
 
7201
 
 
7202
* Testing cleanups -
 
7203
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
7204
  to ``bzrlib.tests.repository_implementations``;
 
7205
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
7206
  to ``bzrlib.tests.interrepository_implementations``;
 
7207
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
 
7208
  ``bzrlib.tests.test_transport_implementations``.
 
7209
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
7210
  ``bzrlib.tests.branch_implementations``.
 
7211
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
 
7212
  ``bzrlib.tests.bzrdir_implementations``.
 
7213
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
7214
  to ``bzrlib.tests.interversionedfile_implementations``.
 
7215
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
7216
  ``bzrlib.tests.revisionstore_implementations``.
 
7217
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
7218
  ``bzrlib.tests.workingtree_implementations``.
 
7219
  These changes are an API break in the testing infrastructure only.
 
7220
  (Robert Collins)
 
7221
 
 
7222
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
7223
 
 
7224
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
7225
  win32. Callers of the function should do this and use the new
 
7226
  ``MutableTree.smart_add`` method instead. (Robert Collins)
 
7227
 
 
7228
* ``bzrlib.add.glob_expand_for_win32`` is now
 
7229
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
7230
 
 
7231
* ``bzrlib.add.FastPath`` is now private and moved to
 
7232
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
7233
 
 
7234
* ``LockDir.wait`` removed.  (Martin Pool)
 
7235
 
 
7236
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
7237
  ``server_stopped`` hooks. The first parameter is now an iterable of
 
7238
  backing URLs rather than a single URL. This is to reflect that many
 
7239
  URLs may map to the external URL of the server. E.g. the server interally
 
7240
  may have a chrooted URL but also the local file:// URL will be at the
 
7241
  same location. (Robert Collins)
 
7242
 
 
7243
Internals
 
7244
*********
 
7245
 
 
7246
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
7247
 
 
7248
* Fix documentation of BzrError. (Adeodato Simó)
 
7249
 
 
7250
* Make BzrBadParameter an internal error. (Adeodato Simó)
 
7251
 
 
7252
* Remove use of 'assert False' to raise an exception unconditionally.
 
7253
  (Martin Pool)
 
7254
 
 
7255
* Give a cleaner error when failing to decode knit index entry.
 
7256
  (Martin Pool)
 
7257
 
 
7258
* TreeConfig would mistakenly search the top level when asked for options
 
7259
  from a section. It now respects the section argument and only
 
7260
  searches the specified section. (James Westby)
 
7261
 
 
7262
* Improve ``make api-docs`` output. (John Arbash Meinel)
 
7263
 
 
7264
* Use os.lstat rather than os.stat for osutils.make_readonly and
 
7265
  osutils.make_writeable. This makes the difftools plugin more
 
7266
  robust when dangling symlinks are found. (Elliot Murphy)
 
7267
 
 
7268
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
 
7269
  lockdirs are taken or released.  (Martin Pool)
 
7270
 
 
7271
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
 
7272
  allows a nicer UI when hooks are running as the current hook can
 
7273
  be displayed. (Robert Collins)
 
7274
 
 
7275
* ``Transport.get`` has had its interface made more clear for ease of use.
 
7276
  Retrieval of a directory must now fail with either 'PathError' at open
 
7277
  time, or raise 'ReadError' on a read. (Robert Collins)
 
7278
 
 
7279
* New method ``_maybe_expand_globs`` on the ``Command`` class for
 
7280
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
7281
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
7282
 
 
7283
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
7284
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
7285
  Martin Pool)
 
7286
 
 
7287
* New method ``external_url`` on Transport for obtaining the url to
 
7288
  hand to external processes. (Robert Collins)
 
7289
 
 
7290
* Teach windows installers to build pyrex/C extensions.
 
7291
  (Alexander Belchenko)
 
7292
 
 
7293
Testing
 
7294
*******
 
7295
 
 
7296
* Removed the ``--keep-output`` option from selftest and clean up test
 
7297
  directories as they're used.  This reduces the IO load from
 
7298
  running the test suite and cuts the time by about half.
 
7299
  (Andrew Bennetts, Martin Pool)
 
7300
 
 
7301
* Add scenarios as a public attribute on the TestAdapter classes to allow
 
7302
  modification of the generated scenarios before adaption and easier
 
7303
  testing. (Robert Collins)
 
7304
 
 
7305
* New testing support class ``TestScenarioApplier`` which multiplies
 
7306
  out a single teste by a list of supplied scenarios. (RobertCollins)
 
7307
 
 
7308
* Setting ``repository_to_test_repository`` on a repository_implementations
 
7309
  test will cause it to be called during repository creation, allowing the
 
7310
  testing of repository classes which are not based around the Format
 
7311
  concept. For example a repository adapter can be tested in this manner,
 
7312
  by altering the repository scenarios to include a scenario that sets this
 
7313
  attribute during the test parameterisation in
 
7314
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
7315
 
 
7316
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
 
7317
  interface is now self.run_bzr.  The command to run can be passed as
 
7318
  either a list of parameters, a string containing the command line, or
 
7319
  (deprecated) varargs parameters.  (Martin Pool)
 
7320
 
 
7321
* The base TestCase now isolates tests from -D parameters by clearing
 
7322
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
7323
 
 
7324
* Add a relpath parameter to get_transport methods in test framework to
 
7325
  avoid useless cloning.
 
7326
  (Vincent Ladeuil, #110448)
 
7327
 
 
7328
 
 
7329
bzr 0.17
 
7330
########
 
7331
 
 
7332
:Released:  2007-06-18
 
7333
 
 
7334
Bugfixes
 
7335
********
 
7336
 
 
7337
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
7338
  (Colin Watson, #120647)
 
7339
 
 
7340
* Revert logging just to stderr in commit as broke unicode filenames.
 
7341
  (Aaron Bentley, Ian Clatworthy, #120930)
 
7342
 
 
7343
 
 
7344
bzr 0.17rc1
 
7345
###########
 
7346
 
 
7347
:Released:  2007-06-12
 
7348
 
 
7349
Notes When Upgrading
 
7350
********************
 
7351
 
 
7352
* The kind() and is_executable() APIs on the WorkingTree interface no
 
7353
  longer implicitly (read) locks and unlocks the tree. This *might*
 
7354
  impact some plug-ins and tools using this part of the API. If you find
 
7355
  an issue that may be caused by this change, please let us know,
 
7356
  particularly the plug-in/tool maintainer. If encountered, the API
 
7357
  fix is to surround kind() and is_executable() calls with lock_read()
 
7358
  and unlock() like so::
 
7359
 
 
7360
    work_tree.lock_read()
 
7361
    try:
 
7362
        kind = work_tree.kind(...)
 
7363
    finally:
 
7364
        work_tree.unlock()
 
7365
 
 
7366
Internals
 
7367
*********
 
7368
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
7369
  encapsulate the details of the revision to be logged in a LogRevision
 
7370
  object.
 
7371
  In long log formats, merge revision ids are only shown when --show-ids
 
7372
  is specified, and are labelled "revision-id:", as per mainline
 
7373
  revisions, instead of "merged:". (Kent Gibson)
 
7374
 
 
7375
* New ``BranchBuilder`` API which allows the construction of particular
 
7376
  histories quickly. Useful for testing and potentially other applications
 
7377
  too. (Robert Collins)
 
7378
 
 
7379
Improvements
 
7380
************
 
7381
 
 
7382
* There are two new help topics, working-trees and repositories that
 
7383
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
7384
  Aaron Bentley)
 
7385
 
 
7386
* Added ``bzr log --limit`` to report a limited number of revisions.
 
7387
  (Kent Gibson, #3659)
 
7388
 
 
7389
* Revert does not try to preserve file contents that were originally
 
7390
  produced by reverting to a historical revision.  (Aaron Bentley)
 
7391
 
 
7392
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
7393
  have more than one parent. This is a small improvement to help
 
7394
  understanding what changes have occurred
 
7395
  (John Arbash Meinel, #83887)
 
7396
 
 
7397
* TreeTransform avoids many renames when contructing large trees,
 
7398
  improving speed.  3.25x speedups have been observed for construction of
 
7399
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
7400
 
 
7401
* Commit on large trees is now faster. In my environment, a commit of
 
7402
  a small change to the Mozilla tree (55k files) has dropped from
 
7403
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
7404
  small change is 33% faster. (Ian Clatworthy)
 
7405
 
 
7406
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
7407
  #56322)
 
7408
 
 
7409
Bugfixes
 
7410
********
 
7411
 
 
7412
* ``bzr push`` should only connect to the remote location one time.
 
7413
  We have been connecting 3 times because we forget to pass around
 
7414
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
7415
  that we can pass in the Transport that we already have.
 
7416
  (John Arbash Meinel, #75721)
 
7417
 
 
7418
* ``DirState.set_state_from_inventory()`` needs to properly order
 
7419
  based on split paths, not just string paths.
 
7420
  (John Arbash Meinel, #115947)
 
7421
 
 
7422
* Let TestUIFactoy encode the password prompt with its own stdout.
 
7423
  (Vincent Ladeuil, #110204)
 
7424
 
 
7425
* pycurl should take use the range header that takes the range hint
 
7426
  into account.
 
7427
  (Vincent Ladeuil, #112719)
 
7428
 
 
7429
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
7430
  on a missing file.  (Aaron Bentley, #118186)
 
7431
 
 
7432
* WorkingTree.remove works correctly with tree references, and when pwd is
 
7433
  not the tree root. (Aaron Bentley)
 
7434
 
 
7435
* Merge no longer fails when a file is renamed in one tree and deleted
 
7436
  in the other. (Aaron Bentley, #110279)
 
7437
 
 
7438
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
7439
  and defaults to the last revision (Matthew Fuller, #90048)
 
7440
 
 
7441
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
7442
  (Daniel Watkins, #111958)
 
7443
 
 
7444
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
7445
  your repository. (Previously Branch6 only supported revisions in your
 
7446
  mainline). (John Arbash Meinel, #115343)
 
7447
 
 
7448
bzr 0.16
 
7449
########
 
7450
 
 
7451
:Released:  2007-05-07
 
7452
 
 
7453
Bugfixes
 
7454
********
 
7455
 
 
7456
* Handle when you have 2 directories with similar names, but one has a
 
7457
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
7458
  iterator was using direct comparison and ``'abc/a'`` sorts after
 
7459
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
7460
  (John Arbash Meinel, #111227)
 
7461
 
 
7462
* Handle when someone renames a file on disk without telling bzr.
 
7463
  Previously we would report the first file as missing, but not show
 
7464
  the new unknown file. (John Arbash Meinel, #111288)
 
7465
 
 
7466
* Avoid error when running hooks after pulling into or pushing from
 
7467
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
7468
 
 
7469
Improvements
 
7470
************
 
7471
 
 
7472
* Move developer documentation to doc/developers/. This reduces clutter in
 
7473
  the root of the source tree and allows HACKING to be split into multiple
 
7474
  files. (Robert Collins, Alexander Belchenko)
 
7475
 
 
7476
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
7477
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
7478
  diff`` and ``bzr status`` significantly improving the speed of
 
7479
  both. (John Arbash Meinel)
 
7480
 
 
7481
bzr 0.16rc2
 
7482
###########
 
7483
 
 
7484
:Released:  2007-04-30
 
7485
 
 
7486
Bugfixes
 
7487
********
 
7488
 
 
7489
* Handle the case when you delete a file, and then rename another file
 
7490
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
7491
  status`` should show the removed file and an unknown file in its
 
7492
  place. (John Arbash Meinel, #109993)
 
7493
 
 
7494
* Bundles properly read and write revision properties that have an
 
7495
  empty value. And when the value is not ASCII.
 
7496
  (John Arbash Meinel, #109613)
 
7497
 
 
7498
* Fix the bzr commit message to be in text mode.
 
7499
  (Alexander Belchenko, #110901)
 
7500
 
 
7501
* Also handle when you rename a file and create a file where it used
 
7502
  to be. (John Arbash Meinel, #110256)
 
7503
 
 
7504
* ``WorkingTree4._iter_changes`` should not descend into unversioned
 
7505
  directories. (John Arbash Meinel, #110399)
 
7506
 
 
7507
bzr 0.16rc1
 
7508
###########
 
7509
 
 
7510
:Released:  2007-04-26
 
7511
 
 
7512
Notes When Upgrading
 
7513
********************
 
7514
 
 
7515
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
7516
  it could be recovered again.
 
7517
  This has been done for consistency with svn and the unix rm command.
 
7518
  The old ``remove`` behaviour has been retained in the new option
 
7519
  ``bzr remove --keep``, which will just stop versioning the file,
 
7520
  but not delete it.
 
7521
  ``bzr remove --force`` have been added which will always delete the
 
7522
  files.
 
7523
  ``bzr remove`` is also more verbose.
 
7524
  (Marius Kruger, #82602)
 
7525
 
 
7526
Improvements
 
7527
************
 
7528
 
 
7529
* Merge directives can now be supplied as input to `merge` and `pull`,
 
7530
  like bundles can.  (Aaron Bentley)
 
7531
 
 
7532
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
7533
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
7534
  to continue.  This can be disabled by setting the environment variable
 
7535
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
7536
 
 
7537
* selftest now supports --list-only to list tests instead of running
 
7538
  them. (Ian Clatworthy)
 
7539
 
 
7540
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
7541
  tests with names that match that regular expression.
 
7542
  (Ian Clatworthy, #102679)
 
7543
 
 
7544
* selftest now supports --randomize SEED to run tests in a random order.
 
7545
  SEED is typically the value 'now' meaning 'use the current time'.
 
7546
  (Ian Clatworthy, #102686)
 
7547
 
 
7548
* New option ``--fixes`` to commit, which stores bug fixing annotations as
 
7549
  revision properties. Built-in support for Launchpad, Debian, Trac and
 
7550
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
7551
 
 
7552
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
7553
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
7554
  Robert Collins)
 
7555
 
 
7556
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
7557
  Pool)
 
7558
 
 
7559
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
7560
  into using local variables instead of going through ``self._var``.
 
7561
  Improves the time to ``merge_sort`` a 10k revision graph by
 
7562
  approximately 40% (~700->400ms).  (John Arbash Meinel)
 
7563
 
 
7564
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
7565
  (Robert Collins)
 
7566
 
 
7567
* ``bzr help`` now provides cross references to other help topics using
 
7568
  the _see_also facility on command classes. Likewise the bzr_man
 
7569
  documentation, and the bzr.1 man page also include this information.
 
7570
  (Robert Collins)
 
7571
 
 
7572
* Tags are now included in logs, that use the long log formatter.
 
7573
  (Erik Bågfors, Alexander Belchenko)
 
7574
 
 
7575
* ``bzr help`` provides a clearer message when a help topic cannot be
 
7576
  found. (Robert Collins, #107656)
 
7577
 
 
7578
* ``bzr help`` now accepts optional prefixes for command help. The help
 
7579
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
7580
  as well as ``bzr help COMMANDNAME`` (which only works for commands
 
7581
  where the name is not the same as a more general help topic).
 
7582
  (Robert Collins)
 
7583
 
 
7584
* ``bzr help PLUGINNAME`` will now return the module docstring from the
 
7585
  plugin PLUGINNAME. (Robert Collins, #50408)
 
7586
 
 
7587
* New help topic ``urlspec`` which lists the availables transports.
 
7588
  (Goffredo Baroncelli)
 
7589
 
 
7590
* doc/server.txt updated to document the default bzr:// port
 
7591
  and also update the blurb about the hpss' current status.
 
7592
  (Robert Collins, #107125).
 
7593
 
 
7594
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
7595
  serve out to the local LAN (and anyone in the world that can reach the
 
7596
  machine running ``bzr serve``. (Robert Collins, #98918)
 
7597
 
 
7598
* A new smart server protocol version has been added.  It prefixes requests
 
7599
  and responses with an explicit version identifier so that future protocol
 
7600
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
7601
 
 
7602
* The bzr protocol version 2 indicates success or failure in every response
 
7603
  without depending on particular commands encoding that consistently,
 
7604
  allowing future client refactorings to be much more robust about error
 
7605
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
7606
 
 
7607
* The smart protocol over HTTP client has been changed to always post to the
 
7608
  same ``.bzr/smart`` URL under the original location when it can.  This allows
 
7609
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
7610
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
7611
 
 
7612
* digest authentication is now supported for proxies and HTTP by the urllib
 
7613
  based http implementation. Tested against Apache 2.0.55 and Squid
 
7614
  2.6.5. Basic and digest authentication are handled coherently for HTTP
 
7615
  and proxy: if the user is provided in the url (bzr command line for HTTP,
 
7616
  proxy environment variables for proxies), the password is prompted for
 
7617
  (only once). If the password is provided, it is taken into account. Once
 
7618
  the first authentication is successful, all further authentication
 
7619
  roundtrips are avoided by preventively setting the right authentication
 
7620
  header(s).
 
7621
  (Vincent Ladeuil).
 
7622
 
 
7623
Internals
 
7624
*********
 
7625
 
 
7626
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
7627
  code paths. (Robert Collins)
 
7628
 
 
7629
* Change the format of chroot urls so that they can be safely manipulated
 
7630
  by generic url utilities without causing the resulting urls to have
 
7631
  escaped the chroot. A side effect of this is that creating a chroot
 
7632
  requires an explicit action using a ChrootServer.
 
7633
  (Robert Collins, Andrew Bennetts)
 
7634
 
 
7635
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
7636
  rather than fixing bug #96847.  (Aaron Bentley)
 
7637
 
 
7638
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
7639
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
7640
 
 
7641
* Convenience method ``TestCase.expectFailure`` ensures that known failures
 
7642
  do not silently pass.  (Aaron Bentley)
 
7643
 
 
7644
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
 
7645
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
7646
 
 
7647
* New SmartServer hooks facility. There are two initial hooks documented
 
7648
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
7649
  plugins to execute code upon server startup and shutdown.
 
7650
  (Robert Collins).
 
7651
 
 
7652
* SmartServer in standalone mode will now close its listening socket
 
7653
  when it stops, rather than waiting for garbage collection. This primarily
 
7654
  fixes test suite hangs when a test tries to connect to a shutdown server.
 
7655
  It may also help improve behaviour when dealing with a server running
 
7656
  on a specific port (rather than dynamically assigned ports).
 
7657
  (Robert Collins)
 
7658
 
 
7659
* Move most SmartServer code into a new package, bzrlib/smart.
 
7660
  bzrlib/transport/remote.py contains just the Transport classes that used
 
7661
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
7662
 
 
7663
* urllib http implementation avoid roundtrips associated with
 
7664
  401 (and 407) errors once the authentication succeeds.
 
7665
  (Vincent Ladeuil).
 
7666
 
 
7667
* urlib http now supports querying the user for a proxy password if
 
7668
  needed. Realm is shown in the prompt for both HTTP and proxy
 
7669
  authentication when the user is required to type a password.
 
7670
  (Vincent Ladeuil).
 
7671
 
 
7672
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
7673
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
7674
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
7675
  it's not really a "smart" transport, just one that does file operations
 
7676
  via remote procedure calls.  (Andrew Bennetts)
 
7677
 
 
7678
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
7679
  ``Branch`` now accept a ``token`` keyword argument, so that separate
 
7680
  instances of those objects can share a lock if it has the right token.
 
7681
  (Andrew Bennetts, Robert Collins)
 
7682
 
 
7683
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
7684
  branch references - which the smart server component needs.
 
7685
 
 
7686
* The Repository API ``make_working_trees`` is now permitted to return
 
7687
  False when ``set_make_working_trees`` is not implemented - previously
 
7688
  an unimplemented ``set_make_working_trees`` implied the result True
 
7689
  from ``make_working_trees``. This has been changed to accomodate the
 
7690
  smart server, where it does not make sense (at this point) to ever
 
7691
  make working trees by default. (Robert Collins)
 
7692
 
 
7693
* Command objects can now declare related help topics by having _see_also
 
7694
  set to a list of related topic. (Robert Collins)
 
7695
 
 
7696
* ``bzrlib.help`` now delegates to the Command class for Command specific
 
7697
  help. (Robert Collins)
 
7698
 
 
7699
* New class ``TransportListRegistry``, derived from the Registry class, which
 
7700
  simplifies tracking the available Transports. (Goffredo Baroncelli)
 
7701
 
 
7702
* New function ``Branch.get_revision_id_to_revno_map`` which will
 
7703
  return a dictionary mapping revision ids to dotted revnos. Since
 
7704
  dotted revnos are defined in the context of the branch tip, it makes
 
7705
  sense to generate them from a ``Branch`` object.
 
7706
  (John Arbash Meinel)
 
7707
 
 
7708
* Fix the 'Unprintable error' message display to use the repr of the
 
7709
  exception that prevented printing the error because the str value
 
7710
  for it is often not useful in debugging (e.g. KeyError('foo') has a
 
7711
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
7712
  useful. (Robert Collins)
 
7713
 
 
7714
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
7715
  (Andrew Bennetts)
 
7716
 
 
7717
Bugfixes
 
7718
********
 
7719
 
 
7720
* Don't fail bundle selftest if email has 'two' embedded.
 
7721
  (Ian Clatworthy, #98510)
 
7722
 
 
7723
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
7724
  (Robert Widhopf-Fenk, #98591)
 
7725
 
 
7726
* Remove ``--basis`` from the checkout/branch commands - it didn't work
 
7727
  properly and is no longer beneficial.
 
7728
  (Robert Collins, #53675, #43486)
 
7729
 
 
7730
* Don't produce encoding error when adding duplicate files.
 
7731
  (Aaron Bentley)
 
7732
 
 
7733
* Fix ``bzr log <file>`` so it only logs the revisions that changed
 
7734
  the file, and does it faster.
 
7735
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
7736
 
 
7737
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
7738
  an empty versioned directory, which now has files in it.
 
7739
  (John Arbash Meinel, #104257)
 
7740
 
 
7741
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
7742
  inside the ancestry of the other. Saves a lot of graph processing
 
7743
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
7744
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
7745
 
 
7746
* Fix ``show_diff_trees`` to handle the case when a file is modified,
 
7747
  and the containing directory is renamed. (The file path is different
 
7748
  in this versus base, but it isn't marked as a rename).
 
7749
  (John Arbash Meinel, #103870)
 
7750
 
 
7751
* FTP now works even when the FTP server does not support atomic rename.
 
7752
  (Aaron Bentley, #89436)
 
7753
 
 
7754
* Correct handling in bundles and merge directives of timezones with
 
7755
  that are not an integer number of hours offset from UTC.  Always
 
7756
  represent the epoch time in UTC to avoid problems with formatting
 
7757
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
7758
  Arbash Meinel)
 
7759
 
 
7760
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
7761
 
 
7762
* "dirstate" and "dirstate-tags" formats now produce branches compatible
 
7763
  with old versions of bzr. (Aaron Bentley, #107168))
 
7764
 
 
7765
* Handle moving a directory when children have been added, removed,
 
7766
  and renamed. (John Arbash Meinel, #105479)
 
7767
 
 
7768
* Don't preventively use basic authentication for proxy before receiving a
 
7769
  407 error. Otherwise people willing to use other authentication schemes
 
7770
  may expose their password in the clear (or nearly). This add one
 
7771
  roundtrip in case basic authentication should be used, but plug the
 
7772
  security hole.
 
7773
  (Vincent Ladeuil)
 
7774
 
 
7775
* Handle http and proxy digest authentication.
 
7776
  (Vincent Ladeuil, #94034).
 
7777
 
 
7778
Testing
 
7779
*******
 
7780
 
 
7781
* Added ``bzrlib.strace.strace`` which will strace a single callable and
 
7782
  return a StraceResult object which contains just the syscalls involved
 
7783
  in running it. (Robert Collins)
 
7784
 
 
7785
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
7786
  default time down to one suitable for tests. (Andrew Bennetts)
 
7787
 
 
7788
* Add new ``vfs_transport_factory`` attribute on tests which provides the
 
7789
  common vfs backing for both the readonly and readwrite transports.
 
7790
  This allows the RemoteObject tests to back onto local disk or memory,
 
7791
  and use the existing ``transport_server`` attribute all tests know about
 
7792
  to be the smart server transport. This in turn allows tests to
 
7793
  differentiate between 'transport to access the branch', and
 
7794
  'transport which is a VFS' - which matters in Remote* tests.
 
7795
  (Robert Collins, Andrew Bennetts)
 
7796
 
 
7797
* The ``make_branch_and_tree`` method for tests will now create a
 
7798
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
7799
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
7800
 
 
7801
* Branch implementation tests have been audited to ensure that all urls
 
7802
  passed to Branch APIs use proper urls, except when local-disk paths
 
7803
  are intended. This is so that tests correctly access the test transport
 
7804
  which is often not equivalent to local disk in Remote* tests. As part
 
7805
  of this many tests were adjusted to remove dependencies on local disk
 
7806
  access.
 
7807
  (Robert Collins, Andrew Bennetts)
 
7808
 
 
7809
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
7810
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
7811
  Andrew Bennetts, Martin Pool, Jonathan Lange)
 
7812
 
 
7813
* Refactored proxy and authentication handling to simplify the
 
7814
  implementation of new auth schemes for both http and proxy.
 
7815
  (Vincent Ladeuil)
 
7816
 
 
7817
bzr 0.15
 
7818
########
 
7819
 
 
7820
:Released: 2007-04-01
 
7821
 
 
7822
Bugfixes
 
7823
********
 
7824
 
 
7825
* Handle incompatible repositories as a user issue when fetching.
 
7826
  (Aaron Bentley)
 
7827
 
 
7828
* Don't give a recommendation to upgrade when branching or
 
7829
  checking out a branch that contains an old-format working tree.
 
7830
  (Martin Pool)
 
7831
 
 
7832
bzr 0.15rc3
 
7833
###########
 
7834
 
 
7835
:Released:  2007-03-26
 
7836
 
 
7837
Changes
 
7838
*******
 
7839
 
 
7840
* A warning is now displayed when opening working trees in older
 
7841
  formats, to encourage people to upgrade to WorkingTreeFormat4.
 
7842
  (Martin Pool)
 
7843
 
 
7844
Improvements
 
7845
************
 
7846
 
 
7847
* HTTP redirections are now taken into account when a branch (or a
 
7848
  bundle) is accessed for the first time. A message is issued at each
 
7849
  redirection to inform the user. In the past, http redirections were
 
7850
  silently followed for each request which significantly degraded the
 
7851
  performances. The http redirections are not followed anymore by
 
7852
  default, instead a RedirectRequested exception is raised. For bzrlib
 
7853
  users needing to follow http redirections anyway,
 
7854
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
7855
  path.  (vila)
 
7856
 
 
7857
Internals
 
7858
*********
 
7859
 
 
7860
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
7861
  lock to an OS write lock. Linux can do this without unlocking, Win32
 
7862
  needs to unlock in between. (John Arbash Meinel)
 
7863
 
 
7864
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
7865
  to silence (when false) warnings about opening old formats.
 
7866
  (Martin Pool)
 
7867
 
 
7868
* Fix minor performance regression with bzr-0.15 on pre-dirstate
 
7869
  trees. (We were reading the working inventory too many times).
 
7870
  (John Arbash Meinel)
 
7871
 
 
7872
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
7873
  ``revision_history``.  Branch subclasses should override
 
7874
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
7875
  this cache, and call ``_clear_revision_history_cache`` and
 
7876
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
7877
 
 
7878
Bugfixes
 
7879
********
 
7880
 
 
7881
* Take ``smtp_server`` from user config into account.
 
7882
  (vila, #92195)
 
7883
 
 
7884
* Restore Unicode filename handling for versioned and unversioned files.
 
7885
  (John Arbash Meinel, #92608)
 
7886
 
 
7887
* Don't fail during ``bzr commit`` if a file is marked removed, and
 
7888
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
7889
 
 
7890
* ``bzr status FILENAME`` failed on Windows because of an uncommon
 
7891
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
7892
  (Wouter van Heyst, John Arbash Meinel, #90819)
 
7893
 
 
7894
* ``bzr checkout source`` should create a local branch in the same
 
7895
  format as source. (John Arbash Meinel, #93854)
 
7896
 
 
7897
* ``bzr commit`` with a kind change was failing to update the
 
7898
  last-changed-revision for directories.  The
 
7899
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
7900
  ignoring the fact that the kind could have changed, too.
 
7901
  (John Arbash Meinel, #90111)
 
7902
 
 
7903
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
7904
  the directory. So that there was a chance it would break commit,
 
7905
  etc. (John Arbash Meinel, #94037)
 
7906
 
 
7907
* Correctly handles mutiple permanent http redirections.
 
7908
  (vila, #88780)
 
7909
 
 
7910
bzr 0.15rc2
 
7911
###########
 
7912
 
 
7913
:Released:  2007-03-14
 
7914
 
 
7915
Notes When Upgrading
 
7916
********************
 
7917
 
 
7918
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
7919
  default to ``--trees`` instead of ``--no-trees``.
 
7920
  Existing shared repositories are not affected.
 
7921
 
 
7922
Improvements
 
7923
************
 
7924
 
 
7925
* New ``merge-directive`` command to generate machine- and human-readable
 
7926
  merge requests.  (Aaron Bentley)
 
7927
 
 
7928
* New ``submit:`` revision specifier makes it easy to diff against the
 
7929
  common ancestor with the submit location (Aaron Bentley)
 
7930
 
 
7931
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
7932
 
 
7933
* Added ``bzr status --versioned`` to report only versioned files,
 
7934
  not unknowns. (Kent Gibson)
 
7935
 
 
7936
* Merge now autodetects the correct line-ending style for its conflict
 
7937
  markers.  (Aaron Bentley)
 
7938
 
 
7939
Internals
 
7940
*********
 
7941
 
 
7942
* Refactored SSH vendor registration into SSHVendorManager class.
 
7943
  (Dmitry Vasiliev)
 
7944
 
 
7945
Bugfixes
 
7946
********
 
7947
 
 
7948
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
7949
  numbered dirs for TestCaseInTempDir. This is default behavior
 
7950
  on Windows. Anyone can force named dirs on Windows
 
7951
  with ``--no-numbered-dirs``. (Alexander Belchenko)
 
7952
 
 
7953
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
7954
  from the command line. (Marien Zwart, #90501)
 
7955
 
 
7956
* Fix ``TreeTransform._iter_changes`` when both the source and
 
7957
  destination are missing. (Aaron Bentley, #88842)
 
7958
 
 
7959
* Fix commit of merges with symlinks in dirstate trees.
 
7960
  (Marien Zwart)
 
7961
 
 
7962
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
 
7963
  (Wouter van Heyst, #53483)
 
7964
 
 
7965
 
 
7966
bzr 0.15rc1
 
7967
###########
 
7968
 
 
7969
:Released:  2007-03-07
 
7970
 
 
7971
Surprises
 
7972
*********
 
7973
 
 
7974
* The default disk format has changed. Please run 'bzr upgrade' in your
 
7975
  working trees to upgrade. This new default is compatible for network
 
7976
  operations, but not for local operations. That is, if you have two
 
7977
  versions of bzr installed locally, after upgrading you can only use the
 
7978
  bzr 0.15 version. This new default does not enable tags or nested-trees
 
7979
  as they are incompatible with bzr versions before 0.15 over the network.
 
7980
 
 
7981
* For users of bzrlib: Two major changes have been made to the working tree
 
7982
  api in bzrlib. The first is that many methods and attributes, including
 
7983
  the inventory attribute, are no longer valid for use until one of
 
7984
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
7985
  and become invalid again after unlock is called. This has been done
 
7986
  to improve performance and correctness as part of the dirstate
 
7987
  development.
 
7988
  (Robert Collins, John A Meinel, Martin Pool, and others).
 
7989
 
 
7990
* For users of bzrlib: The attribute 'tree.inventory' should be considered
 
7991
  readonly. Previously it was possible to directly alter this attribute, or
 
7992
  its contents, and have the tree notice this. This has been made
 
7993
  unsupported - it may work in some tree formats, but in the newer dirstate
 
7994
  format such actions will have no effect and will be ignored, or even
 
7995
  cause assertions. All operations possible can still be carried out by a
 
7996
  combination of the tree API, and the bzrlib.transform API. (Robert
 
7997
  Collins, John A Meinel, Martin Pool, and others).
 
7998
 
 
7999
Improvements
 
8000
************
 
8001
 
 
8002
* Support for OS Windows 98. Also .bzr.log on any windows system
 
8003
  saved in My Documents folder. (Alexander Belchenko)
 
8004
 
 
8005
* ``bzr mv`` enhanced to support already moved files.
 
8006
  In the past the mv command would have failed if the source file doesn't
 
8007
  exist. In this situation ``bzr mv`` would now detect that the file has
 
8008
  already moved and update the repository accordingly, if the target file
 
8009
  does exist.
 
8010
  A new option ``--after`` has been added so that if two files already
 
8011
  exist, you could notify Bazaar that you have moved a (versioned) file
 
8012
  and replaced it with another. Thus in this case ``bzr move --after``
 
8013
  will only update the Bazaar identifier.
 
8014
  (Steffen Eichenberg, Marius Kruger)
 
8015
 
 
8016
* ``ls`` now works on treeless branches and remote branches.
 
8017
  (Aaron Bentley)
 
8018
 
 
8019
* ``bzr help global-options`` describes the global options.
 
8020
  (Aaron Bentley)
 
8021
 
 
8022
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
8023
  (Robert Collins)
 
8024
 
 
8025
* Files are now allowed to change kind (e.g. from file to symlink).
 
8026
  Supported by ``commit``, ``revert`` and ``status``
 
8027
  (Aaron Bentley)
 
8028
 
 
8029
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
8030
  (Aaron Bentley)
 
8031
 
 
8032
* ``bzr help checkouts`` descibes what checkouts are and some possible
 
8033
  uses of them. (James Westby, Aaron Bentley)
 
8034
 
 
8035
* A new ``-d`` option to push, pull and merge overrides the default
 
8036
  directory.  (Martin Pool)
 
8037
 
 
8038
* Branch format 6: smaller, and potentially faster than format 5.  Supports
 
8039
  ``append_history_only`` mode, where the log view and revnos do not change,
 
8040
  except by being added to.  Stores policy settings in
 
8041
  ".bzr/branch/branch.conf".
 
8042
 
 
8043
* ``append_only`` branches:  Format 6 branches may be configured so that log
 
8044
  view and revnos are always consistent.  Either create the branch using
 
8045
  "bzr init --append-revisions-only" or edit the config file as descriped
 
8046
  in docs/configuration.txt.
 
8047
 
 
8048
* rebind: Format 6 branches retain the last-used bind location, so if you
 
8049
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
8050
  bind location.
 
8051
 
 
8052
* Builtin tags support, created and deleted by the ``tag`` command and
 
8053
  stored in the branch.  Tags can be accessed with the revisionspec
 
8054
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
 
8055
  at present. Tags require a network incompatible upgrade. To perform this
 
8056
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
8057
  repositories. (Martin Pool)
 
8058
 
 
8059
* The ``bzr://`` transport now has a well-known port number, 4155,
 
8060
  which it will use by default.  (Andrew Bennetts, Martin Pool)
 
8061
 
 
8062
* Bazaar now looks for user-installed plugins before looking for site-wide
 
8063
  plugins. (Jonathan Lange)
 
8064
 
 
8065
* ``bzr resolve`` now detects and marks resolved text conflicts.
 
8066
  (Aaron Bentley)
 
8067
 
 
8068
Internals
 
8069
*********
 
8070
 
 
8071
* Internally revision ids and file ids are now passed around as utf-8
 
8072
  bytestrings, rather than treating them as Unicode strings. This has
 
8073
  performance benefits for Knits, since we no longer need to decode the
 
8074
  revision id for each line of content, nor for each entry in the index.
 
8075
  This will also help with the future dirstate format.
 
8076
  (John Arbash Meinel)
 
8077
 
 
8078
* Reserved ids (any revision-id ending in a colon) are rejected by
 
8079
  versionedfiles, repositories, branches, and working trees
 
8080
  (Aaron Bentley)
 
8081
 
 
8082
* Minor performance improvement by not creating a ProgressBar for
 
8083
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
8084
  (John Arbash Meinel)
 
8085
 
 
8086
* New easier to use Branch hooks facility. There are five initial hooks,
 
8087
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
8088
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
8089
  ``'post_uncommit'``. These hooks fire after the matching operation
 
8090
  on a branch has taken place, and were originally added for the
 
8091
  branchrss plugin. (Robert Collins)
 
8092
 
 
8093
* New method ``Branch.push()`` which should be used when pushing from a
 
8094
  branch as it makes performance and policy decisions to match the UI
 
8095
  level command ``push``. (Robert Collins).
 
8096
 
 
8097
* Add a new method ``Tree.revision_tree`` which allows access to cached
 
8098
  trees for arbitrary revisions. This allows the in development dirstate
 
8099
  tree format to provide access to the callers to cached copies of
 
8100
  inventory data which are cheaper to access than inventories from the
 
8101
  repository.
 
8102
  (Robert Collins, Martin Pool)
 
8103
 
 
8104
* New ``Branch.last_revision_info`` method, this is being done to allow
 
8105
  optimization of requests for both the number of revisions and the last
 
8106
  revision of a branch with smartservers and potentially future branch
 
8107
  formats. (Wouter van Heyst, Robert Collins)
 
8108
 
 
8109
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
8110
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
8111
  other for code reuse without requiring users to perform file-renaming
 
8112
  gymnastics. (Robert Collins)
 
8113
 
 
8114
* New Repository method ``'gather_stats'`` for statistic data collection.
 
8115
  This is expected to grow to cover a number of related uses mainly
 
8116
  related to bzr info. (Robert Collins)
 
8117
 
 
8118
* Log formatters are now managed with a registry.
 
8119
  ``log.register_formatter`` continues to work, but callers accessing
 
8120
  the FORMATTERS dictionary directly will not.
 
8121
 
 
8122
* Allow a start message to be passed to the ``edit_commit_message``
 
8123
  function.  This will be placed in the message offered to the user
 
8124
  for editing above the separator. It allows a template commit message
 
8125
  to be used more easily. (James Westby)
 
8126
 
 
8127
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
8128
  you pass a Unicode string rather than an 8-bit string. Callers need
 
8129
  to be updated to encode first. (John Arbash Meinel)
 
8130
 
 
8131
* Branch.push, pull, merge now return Result objects with information
 
8132
  about what happened, rather than a scattering of various methods.  These
 
8133
  are also passed to the post hooks.  (Martin Pool)
 
8134
 
 
8135
* File formats and architecture is in place for managing a forest of trees
 
8136
  in bzr, and splitting up existing trees into smaller subtrees, and
 
8137
  finally joining trees to make a larger tree. This is the first iteration
 
8138
  of this support, and the user-facing aspects still require substantial
 
8139
  work.  If you wish to experiment with it, use ``bzr upgrade
 
8140
  --dirstate-with-subtree`` in your working trees and repositories.
 
8141
  You can use the hidden commands ``split`` and ``join`` and to create
 
8142
  and manipulate nested trees, but please consider using the nested-trees
 
8143
  branch, which contains substantial UI improvements, instead.
 
8144
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
8145
  (Aaron Bentley, Martin Pool, Robert Collins).
 
8146
 
 
8147
Bugfixes
 
8148
********
 
8149
 
 
8150
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
8151
  branch, rather than the last changed revision of the file.
 
8152
  (John Arbash Meinel, #82158)
 
8153
 
 
8154
* Lock operations no longer hang if they encounter a permission problem.
 
8155
  (Aaron Bentley)
 
8156
 
 
8157
* ``bzr push`` can resume a push that was canceled before it finished.
 
8158
  Also, it can push even if the target directory exists if you supply
 
8159
  the ``--use-existing-dir`` flag.
 
8160
  (John Arbash Meinel, #30576, #45504)
 
8161
 
 
8162
* Fix http proxy authentication when user and an optional
 
8163
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
8164
  #83954).
 
8165
 
 
8166
* ``bzr log branch/file`` works for local treeless branches
 
8167
  (Aaron Bentley, #84247)
 
8168
 
 
8169
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
8170
 
 
8171
* Searching location of CA bundle for PyCurl in env variable
 
8172
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
8173
  (Alexander Belchenko, #82086)
 
8174
 
 
8175
* ``bzr init`` works with unicode argument LOCATION.
 
8176
  (Alexander Belchenko, #85599)
 
8177
 
 
8178
* Raise ``DependencyNotPresent`` if pycurl do not support https.
 
8179
  (Vincent Ladeuil, #85305)
 
8180
 
 
8181
* Invalid proxy env variables should not cause a traceback.
 
8182
  (Vincent Ladeuil, #87765)
 
8183
 
 
8184
* Ignore patterns normalised to use '/' path separator.
 
8185
  (Kent Gibson, #86451)
 
8186
 
 
8187
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
8188
 
 
8189
* Fix bzrtools shelve command for removed lines beginning with "--"
 
8190
  (Johan Dahlberg, #75577)
 
8191
 
 
8192
Testing
 
8193
*******
 
8194
 
 
8195
* New ``--first`` option to ``bzr selftest`` to run specified tests
 
8196
  before the rest of the suite.  (Martin Pool)
 
8197
 
 
8198
 
 
8199
bzr 0.14
 
8200
########
 
8201
 
 
8202
:Released:  2007-01-23
 
8203
 
 
8204
Improvements
 
8205
************
 
8206
 
 
8207
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
8208
 
 
8209
Bug Fixes
 
8210
*********
 
8211
 
 
8212
* Skip documentation generation tests if the tools to do so are not
 
8213
  available. Fixes running selftest for installled copies of bzr.
 
8214
  (John Arbash Meinel, #80330)
 
8215
 
 
8216
* Fix the code that discovers whether bzr is being run from it's
 
8217
  working tree to handle the case when it isn't but the directory
 
8218
  it is in is below a repository. (James Westby, #77306)
 
8219
 
 
8220
 
 
8221
bzr 0.14rc1
 
8222
###########
 
8223
 
 
8224
:Released:  2007-01-16
 
8225
 
 
8226
Improvements
 
8227
************
 
8228
 
 
8229
* New connection: ``bzr+http://`` which supports tunnelling the smart
 
8230
  protocol over an HTTP connection. If writing is enabled on the bzr
 
8231
  server, then you can write over the http connection.
 
8232
  (Andrew Bennetts, John Arbash Meinel)
 
8233
 
 
8234
* Aliases now support quotation marks, so they can contain whitespace
 
8235
  (Marius Kruger)
 
8236
 
 
8237
* PyCurlTransport now use a single curl object. By specifying explicitly
 
8238
  the 'Range' header, we avoid the need to use two different curl objects
 
8239
  (and two connections to the same server). (Vincent Ladeuil)
 
8240
 
 
8241
* ``bzr commit`` does not prompt for a message until it is very likely to
 
8242
  succeed.  (Aaron Bentley)
 
8243
 
 
8244
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
8245
  (Aaron Bentley)
 
8246
 
 
8247
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
8248
  of a list while checking if a revision id was requested. Takes 10s
 
8249
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
8250
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
8251
  filtering lines with a regex rather than multiple ``str.find()``
 
8252
  calls. (saves another 300ms) (John Arbash Meinel)
 
8253
 
 
8254
* Policy can be set for each configuration key. This allows keys to be
 
8255
  inherited properly across configuration entries. For example, this
 
8256
  should enable you to do::
 
8257
 
 
8258
    [/home/user/project]
 
8259
    push_location = sftp://host/srv/project/
 
8260
    push_location:policy = appendpath
 
8261
 
 
8262
  And then a branch like ``/home/user/project/mybranch`` should get an
 
8263
  automatic push location of ``sftp://host/srv/project/mybranch``.
 
8264
  (James Henstridge)
 
8265
 
 
8266
* Added ``bzr status --short`` to make status report svn style flags
 
8267
  for each file.  For example::
 
8268
 
 
8269
    $ bzr status --short
 
8270
    A  foo
 
8271
    A  bar
 
8272
    D  baz
 
8273
    ?  wooley
 
8274
 
 
8275
* 'bzr selftest --clean-output' allows easily clean temporary tests
 
8276
  directories without running tests. (Alexander Belchenko)
 
8277
 
 
8278
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
8279
 
 
8280
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
8281
  local is fully merged into remote. (Jan Hudec)
 
8282
 
 
8283
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
8284
 
 
8285
Internals
 
8286
*********
 
8287
 
 
8288
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
8289
  help speed up processing, as well allowing to extract unannotated
 
8290
  lines. Between the two ``fileids_affected_by_revision_ids`` is
 
8291
  improved by approx 10%. (John Arbash Meinel)
 
8292
 
 
8293
* Change Revision serialization to only write out millisecond
 
8294
  resolution. Rather than expecting floating point serialization to
 
8295
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
8296
 
 
8297
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
8298
 
 
8299
* When ``encoding_type`` attribute of class Command is equal to 'exact',
 
8300
  force sys.stdout to be a binary stream on Windows, and therefore
 
8301
  keep exact line-endings (without LF -> CRLF conversion).
 
8302
  (Alexander Belchenko)
 
8303
 
 
8304
* Single-letter short options are no longer globally declared.  (Martin
 
8305
  Pool)
 
8306
 
 
8307
* Before using detected user/terminal encoding bzr should check
 
8308
  that Python has corresponding codec. (Alexander Belchenko)
 
8309
 
 
8310
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
8311
 
 
8312
Bug Fixes
 
8313
*********
 
8314
 
 
8315
* ``bzr missing --verbose`` was showing adds/removals in the wrong
 
8316
  direction. (John Arbash Meinel)
 
8317
 
 
8318
* ``bzr annotate`` now defaults to showing dotted revnos for merged
 
8319
  revisions. It cuts them off at a depth of 12 characters, but you can
 
8320
  supply ``--long`` to see the full number. You can also use
 
8321
  ``--show-ids`` to display the original revision ids, rather than
 
8322
  revision numbers and committer names. (John Arbash Meinel, #75637)
 
8323
 
 
8324
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
 
8325
  (Alexander Belchenko, #57869)
 
8326
 
 
8327
* Win32-specific: output of cat, bundle and diff commands don't mangle
 
8328
  line-endings (Alexander Belchenko, #55276)
 
8329
 
 
8330
* Replace broken fnmatch based ignore pattern matching with custom pattern
 
8331
  matcher.
 
8332
  (Kent Gibson, Jan Hudec #57637)
 
8333
 
 
8334
* pycurl and urllib can detect short reads at different places. Update
 
8335
  the test suite to test more cases. Also detect http error code 416
 
8336
  which was raised for that specific bug. Also enhance the urllib
 
8337
  robustness by detecting invalid ranges (and pycurl's one by detecting
 
8338
  short reads during the initial GET). (Vincent Ladeuil, #73948)
 
8339
 
 
8340
* The urllib connection sharing interacts badly with urllib2
 
8341
  proxy setting (the connections didn't go thru the proxy
 
8342
  anymore). Defining a proper ProxyHandler solves the
 
8343
  problem.  (Vincent Ladeuil, #74759)
 
8344
 
 
8345
* Use urlutils to generate relative URLs, not osutils
 
8346
  (Aaron Bentley, #76229)
 
8347
 
 
8348
* ``bzr status`` in a readonly directory should work without giving
 
8349
  lots of errors. (John Arbash Meinel, #76299)
 
8350
 
 
8351
* Mention the revisionspec topic for the revision option help.
 
8352
  (Wouter van Heyst, #31663)
 
8353
 
 
8354
* Allow plugins import from zip archives.
 
8355
  (Alexander Belchenko, #68124)
 
8356
 
 
8357
 
 
8358
bzr 0.13
 
8359
########
 
8360
 
 
8361
:Released:  2006-12-05
 
8362
 
 
8363
No changes from 0.13rc
 
8364
 
 
8365
 
 
8366
bzr 0.13rc1
 
8367
###########
 
8368
 
 
8369
:Released:  2006-11-27
 
8370
 
 
8371
Improvements
 
8372
************
 
8373
 
 
8374
* New command ``bzr remove-tree`` allows the removal of the working
 
8375
  tree from a branch.
 
8376
  (Daniel Silverstone)
 
8377
 
 
8378
* urllib uses shared keep-alive connections, so http
 
8379
  operations are substantially faster.
 
8380
  (Vincent Ladeuil, #53654)
 
8381
 
 
8382
* ``bzr export`` allows an optional branch parameter, to export a bzr
 
8383
  tree from some other url. For example:
 
8384
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
8385
  (Daniel Silverstone)
 
8386
 
 
8387
* Added ``bzr help topics`` to the bzr help system. This gives a
 
8388
  location for general information, outside of a specific command.
 
8389
  This includes updates for ``bzr help revisionspec`` the first topic
 
8390
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
8391
 
 
8392
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
8393
  (Andrew Bennetts)
 
8394
 
 
8395
* Knit files will now cache full texts only when the size of the
 
8396
  deltas is as large as the size of the fulltext. (Or after 200
 
8397
  deltas, whichever comes first). This has the most benefit on large
 
8398
  files with small changes, such as the inventory for a large project.
 
8399
  (eg For a project with 2500 files, and 7500 revisions, it changes
 
8400
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
8401
 
 
8402
Internals
 
8403
*********
 
8404
 
 
8405
* New -D option given before the command line turns on debugging output
 
8406
  for particular areas.  -Derror shows tracebacks on all errors.
 
8407
  (Martin Pool)
 
8408
 
 
8409
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
8410
  and remove benchmarks that take longer than 10min to run.
 
8411
  (John Arbash Meinel)
 
8412
 
 
8413
* Use ``time.time()`` instead of ``time.clock()`` to decide on
 
8414
  progress throttling. Because ``time.clock()`` is actually CPU time,
 
8415
  so over a high-latency connection, too many updates get throttled.
 
8416
  (John Arbash Meinel)
 
8417
 
 
8418
* ``MemoryTransport.list_dir()`` would strip the first character for
 
8419
  files or directories in root directory. (John Arbash Meinel)
 
8420
 
 
8421
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
 
8422
  branch references - which the smart server component needs.
 
8423
 
 
8424
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
8425
  prefix.  It disallows any access to locations above a set URL.  (Andrew
 
8426
  Bennetts)
 
8427
 
 
8428
Bug Fixes
 
8429
*********
 
8430
 
 
8431
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
8432
  And optimize the knit index parsing code.
 
8433
  (Dmitry Vasiliev, John Arbash Meinel)
 
8434
 
 
8435
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
8436
  without importing it. This prevented ``bzr upgrade`` from working
 
8437
  unless a plugin already imported ``bzrlib.workingtree``
 
8438
  (John Arbash Meinel, #70716)
 
8439
 
 
8440
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
8441
 
 
8442
* Give nicer error message when an http server returns a 403
 
8443
  error code. (Vincent Ladeuil, #57644).
 
8444
 
 
8445
* When a multi-range http GET request fails, try a single
 
8446
  range one. If it fails too, forget about ranges. Remember that until
 
8447
  the death of the transport and propagates that to the clones.
 
8448
  (Vincent Ladeuil, #62276, #62029).
 
8449
 
 
8450
* Handles user/passwords supplied in url from command
 
8451
  line (for the urllib implementation). Don't request already
 
8452
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
8453
 
 
8454
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
8455
  are added. This fixes bug where fetching remote revisions records
 
8456
  them as full references rather than integers.
 
8457
  (John Arbash Meinel, #64789)
 
8458
 
 
8459
* ``bzr ignore`` strips trailing slashes in patterns.
 
8460
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
8461
 
 
8462
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
8463
 
 
8464
* mv correctly handles paths that traverse symlinks.
 
8465
  (Aaron Bentley, #66964)
 
8466
 
 
8467
* Give nicer looking error messages when failing to connect over ssh.
 
8468
  (John Arbash Meinel, #49172)
 
8469
 
 
8470
* Pushing to a remote branch does not currently update the remote working
 
8471
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
8472
  machine now show that the working tree is out of date.
 
8473
  (Cheuksan Edward Wang #48136)
 
8474
 
 
8475
* Use patiencediff instead of difflib for determining deltas to insert
 
8476
  into knits. This avoids the O(N^3) behavior of difflib. Patience
 
8477
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
8478
 
 
8479
* Running ``bzr log`` on nonexistent file gives an error instead of the
 
8480
  entire log history. (Cheuksan Edward Wang #50793)
 
8481
 
 
8482
* ``bzr cat`` can look up contents of removed or renamed files. If the
 
8483
  pathname is ambiguous, i.e. the files in the old and new trees have
 
8484
  different id's, the default is the file in the new tree. The user can
 
8485
  use "--name-from-revision" to select the file in the old tree.
 
8486
  (Cheuksan Edward Wang, #30190)
 
8487
 
 
8488
Testing
 
8489
*******
 
8490
 
 
8491
* TestingHTTPRequestHandler really handles the Range header
 
8492
  (previously it was ignoring it and returning the whole file,).
 
8493
 
 
8494
bzr 0.12
 
8495
########
 
8496
 
 
8497
:Released:  2006-10-30
 
8498
 
 
8499
Internals
 
8500
*********
 
8501
 
 
8502
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
8503
  and remove benchmarks that take longer than 10min to run.
 
8504
  (John Arbash Meinel)
 
8505
 
 
8506
bzr 0.12rc1
 
8507
###########
 
8508
 
 
8509
:Released:  2006-10-23
 
8510
 
 
8511
Improvements
 
8512
************
 
8513
 
 
8514
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
8515
  rather than just showing a decimal revision number for revisions on the
 
8516
  mainline. These revision numbers are not yet accepted as input into bzr
 
8517
  commands such as log, diff etc. (Robert Collins)
 
8518
 
 
8519
* revisions can now be specified using dotted-decimal revision numbers.
 
8520
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
8521
 
 
8522
* ``bzr help commands`` output is now shorter (Aaron Bentley)
 
8523
 
 
8524
* ``bzr`` now uses lazy importing to reduce the startup time. This has
 
8525
  a moderate effect on lots of actions, especially ones that have
 
8526
  little to do. For example ``bzr rocks`` time is down to 116ms from
 
8527
  283ms. (John Arbash Meinel)
 
8528
 
 
8529
* New Registry class to provide name-to-object registry-like support,
 
8530
  for example for schemes where plugins can register new classes to
 
8531
  do certain tasks (e.g. log formatters). Also provides lazy registration
 
8532
  to allow modules to be loaded on request.
 
8533
  (John Arbash Meinel, Adeodato Simó)
 
8534
 
 
8535
API Incompatability
 
8536
*******************
 
8537
 
 
8538
* LogFormatter subclasses show now expect the 'revno' parameter to
 
8539
  show() to be a string rather than an int. (Robert Collins)
 
8540
 
 
8541
Internals
 
8542
*********
 
8543
 
 
8544
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
8545
  can take a ``working_dir='foo'`` parameter, which will change directory
 
8546
  for the command. (John Arbash Meinel)
 
8547
 
 
8548
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
8549
  around a regex, which defers compilation until first use.
 
8550
  (John Arbash Meinel)
 
8551
 
 
8552
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
8553
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
8554
  problems with system-wide installed plugins. (John Arbash Meinel)
 
8555
 
 
8556
* Unique tree root ids are now supported. Newly created trees still
 
8557
  use the common root id for compatibility with bzr versions before 0.12.
 
8558
  (Aaron Bentley)
 
8559
 
 
8560
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
8561
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
8562
  (Robert Collins, John Arbash Meinel)
 
8563
 
 
8564
* New method ``WorkingTree.flush()`` which will write the current memory
 
8565
  inventory out to disk. At the same time, ``read_working_inventory`` will
 
8566
  no longer trash the current tree inventory if it has been modified within
 
8567
  the current lock, and the tree will now ``flush()`` automatically on
 
8568
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
8569
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
8570
 
 
8571
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
8572
  parameter will cause it to add another column to its output, which
 
8573
  contains the dotted-decimal revno for each revision, as a tuple.
 
8574
  (Robert Collins)
 
8575
 
 
8576
* ``LogFormatter.show_merge`` is deprecated in favour of
 
8577
  ``LogFormatter.show_merge_revno``. (Robert Collins)
 
8578
 
 
8579
Bug Fixes
 
8580
*********
 
8581
 
 
8582
* Avoid circular imports by creating a deprecated function for
 
8583
  ``bzrlib.tree.RevisionTree``. Callers should have been using
 
8584
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
8585
  #66349)
 
8586
 
 
8587
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
8588
  platforms. (Martin Pool, #66356)
 
8589
 
 
8590
* Don't require ``Content-Type`` in range responses. Assume they are a
 
8591
  single range if ``Content-Type`` does not exist.
 
8592
  (John Arbash Meinel, #62473)
 
8593
 
 
8594
* bzr branch/pull no longer complain about progress bar cleanup when
 
8595
  interrupted during fetch.  (Aaron Bentley, #54000)
 
8596
 
 
8597
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
8598
  the basis inventory, rather than going through the repository. This
 
8599
  allows us to have 1 inventory read, and 2 inventory writes when
 
8600
  committing a new tree. (John Arbash Meinel)
 
8601
 
 
8602
* When reverting, files that are not locally modified that do not exist
 
8603
  in the target are deleted, not just unversioned (Aaron Bentley)
 
8604
 
 
8605
* When trying to acquire a lock, don't fail immediately. Instead, try
 
8606
  a few times (up to 1 hour) before timing out. Also, report why the
 
8607
  lock is unavailable (John Arbash Meinel, #43521, #49556)
 
8608
 
 
8609
* Leave HttpTransportBase daughter classes decides how they
 
8610
  implement cloning. (Vincent Ladeuil, #61606)
 
8611
 
 
8612
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
8613
 
 
8614
* If a commit fails, the commit message is stored in a file at the root of
 
8615
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
8616
  #32054)
 
8617
 
 
8618
Testing
 
8619
*******
 
8620
 
 
8621
* New test base class TestCaseWithMemoryTransport offers memory-only
 
8622
  testing facilities: its not suitable for tests that need to mutate disk
 
8623
  state, but most tests should not need that and should be converted to
 
8624
  TestCaseWithMemoryTransport. (Robert Collins)
 
8625
 
 
8626
* ``TestCase.make_branch_and_memory_tree`` now takes a format
 
8627
  option to set the BzrDir, Repository and Branch formats of the
 
8628
  created objects. (Robert Collins, John Arbash Meinel)
 
8629
 
 
8630
bzr 0.11
 
8631
########
 
8632
 
 
8633
:Released:  2006-10-02
 
8634
 
 
8635
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
8636
 
 
8637
bzr 0.11rc2
 
8638
###########
 
8639
 
 
8640
:Released:  2006-09-27
 
8641
 
 
8642
Bug Fixes
 
8643
*********
 
8644
 
 
8645
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
8646
 
 
8647
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
8648
  Arbash Meinel).
 
8649
 
 
8650
bzr 0.11rc1
 
8651
###########
 
8652
 
 
8653
:Released:  2006-09-25
 
8654
 
 
8655
Improvements
 
8656
************
 
8657
 
 
8658
* Knit files now wait to create their contents until the first data is
 
8659
  added. The old code used to create an empty .knit and a .kndx with just
 
8660
  the header. However, this caused a lot of extra round trips over sftp.
 
8661
  This can change the time for ``bzr push`` to create a new remote branch
 
8662
  from 160s down to 100s. This also affects ``bzr commit`` performance when
 
8663
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
8664
  down to 40s (John Arbash Meinel, #44692)
 
8665
 
 
8666
* When an entire subtree has been deleted, commit will now report that
 
8667
  just the top of the subtree has been deleted, rather than reporting
 
8668
  all the individual items. (Robert Collins)
 
8669
 
 
8670
* Commit performs one less XML parse. (Robert Collins)
 
8671
 
 
8672
* ``bzr checkout`` now operates on readonly branches as well
 
8673
  as readwrite branches. This fixes bug #39542. (Robert Collins)
 
8674
 
 
8675
* ``bzr bind`` no longer synchronises history with the master branch.
 
8676
  Binding should be followed by an update or push to synchronise the
 
8677
  two branches. This is closely related to the fix for bug #39542.
 
8678
  (Robert Collins)
 
8679
 
 
8680
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
 
8681
  objects.  This allows all imports to stay at the global scope, but
 
8682
  modules will not actually be imported if they are not used.
 
8683
  (John Arbash Meinel)
 
8684
 
 
8685
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
8686
  transport which will be used with the upcoming high-performance smart
 
8687
  server. The new command ``bzr serve`` will invoke bzr in server mode,
 
8688
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
8689
  Pool)
 
8690
 
 
8691
* New command ``bzr version-info`` which can be used to get a summary
 
8692
  of the current state of the tree. This is especially useful as part
 
8693
  of a build commands. See ``doc/version_info.txt`` for more information
 
8694
  (John Arbash Meinel)
 
8695
 
 
8696
Bug Fixes
 
8697
*********
 
8698
 
 
8699
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
8700
  specific set of files. (John Arbash Meinel, #3631)
 
8701
 
 
8702
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
8703
 
 
8704
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
8705
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
8706
  reading a nested Stanza. (John Arbash Meinel)
 
8707
 
 
8708
* Transform._set_mode() needs to stat the right file.
 
8709
  (John Arbash Meinel, #56549)
 
8710
 
 
8711
* Raise WeaveFormatError rather than StopIteration when trying to read
 
8712
  an empty Weave file. (John Arbash Meinel, #46871)
 
8713
 
 
8714
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
8715
  (Vincent Ladeuil, #59835)
 
8716
 
 
8717
* Handle boundary="" lines properly to allow access through a Squid proxy.
 
8718
  (John Arbash Meinel, #57723)
 
8719
 
 
8720
* revert now removes newly-added directories (Aaron Bentley, #54172)
 
8721
 
 
8722
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
 
8723
  isn't a working tree. (David Allouche, #40679)
 
8724
 
 
8725
* Give nicer error messages when a user supplies an invalid --revision
 
8726
  parameter. (John Arbash Meinel, #55420)
 
8727
 
 
8728
* Handle when LANG is not recognized by python. Emit a warning, but
 
8729
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
8730
 
 
8731
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
8732
  (John Arbash Meinel)
 
8733
 
 
8734
* Skip specific tests when the dependencies aren't met. This includes
 
8735
  some ``setup.py`` tests when ``python-dev`` is not available, and
 
8736
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
8737
 
 
8738
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
8739
  the system. (Andrew Bennetts, John Arbash Meinel)
 
8740
 
 
8741
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
8742
  other branch, and will not push or pull between the two branches.
 
8743
  API users will need to perform a push or pull or update operation if they
 
8744
  require branch synchronisation to take place. (Robert Collins, #47344)
 
8745
 
 
8746
* When creating a tarball or zipfile export, export unicode names as utf-8
 
8747
  paths. This may not work perfectly on all platforms, but has the best
 
8748
  chance of working in the common case. (John Arbash Meinel, #56816)
 
8749
 
 
8750
* When committing, only files that exist in working tree or basis tree
 
8751
  may be specified (Aaron Bentley, #50793)
 
8752
 
 
8753
Portability
 
8754
***********
 
8755
 
 
8756
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
8757
 
 
8758
Internals
 
8759
*********
 
8760
 
 
8761
* TestCaseInTempDir now creates a separate directory for HOME, rather
 
8762
  than having HOME set to the same location as the working directory.
 
8763
  (John Arbash Meinel)
 
8764
 
 
8765
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
8766
  which will update os.environ inside the spawned child. It also can
 
8767
  take a ``universal_newlines=True``, which helps when checking the output
 
8768
  of the command. (John Arbash Meinel)
 
8769
 
 
8770
* Refactor SFTP vendors to allow easier re-use when ssh is used.
 
8771
  (Andrew Bennetts)
 
8772
 
 
8773
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
8774
  return urlescaped paths. This is now tested (there were bugs in a few
 
8775
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
8776
 
 
8777
* New utility function ``symbol_versioning.deprecation_string``. Returns the
 
8778
  formatted string for a callable, deprecation format pair. (Robert Collins)
 
8779
 
 
8780
* New TestCase helper applyDeprecated. This allows you to call a callable
 
8781
  which is deprecated without it spewing to the screen, just by supplying
 
8782
  the deprecation format string issued for it. (Robert Collins)
 
8783
 
 
8784
* Transport.append and Transport.put have been deprecated in favor of
 
8785
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
8786
  ``.put_file``. This removes the ambiguity in what type of object the
 
8787
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
8788
  been added. Which works similarly to ``Transport.append()`` except for
 
8789
  SFTP, it doesn't have a round trip when opening the file. Also, it
 
8790
  provides functionality for creating a parent directory when trying
 
8791
  to create a file, rather than raise NoSuchFile and forcing the
 
8792
  caller to repeat their request.
 
8793
  (John Arbash Meinel)
 
8794
 
 
8795
* WorkingTree has a new api ``unversion`` which allow the unversioning of
 
8796
  entries by their file id. (Robert Collins)
 
8797
 
 
8798
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
8799
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
8800
 
 
8801
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
8802
  read rather than write. This is appropriate for actions which only need
 
8803
  the branch data for reference rather than mutation. A new decorator
 
8804
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
8805
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
 
8806
  declaration of the locking requirements of a function to ensure that
 
8807
  a lock is taken out for casual scripts. (Robert Collins, #54107)
 
8808
 
 
8809
* All WorkingTree methods which write to the tree, but not to the branch
 
8810
  have been converted to use ``needs_tree_write_lock`` rather than
 
8811
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
8812
  transform modules. This provides a modest performance improvement on
 
8813
  metadir style trees, due to the reduce lock-acquisition, and a more
 
8814
  significant performance improvement on lightweight checkouts from
 
8815
  remote branches, where trivial operations used to pay a significant
 
8816
  penalty. It also provides the basis for allowing readonly checkouts.
 
8817
  (Robert Collins)
 
8818
 
 
8819
* Special case importing the standard library 'copy' module. This shaves
 
8820
  off 40ms of startup time, while retaining compatibility. See:
 
8821
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
8822
 
 
8823
* WorkingTree has a new parent class MutableTree which represents the
 
8824
  specialisations of Tree which are able to be altered. (Robert Collins)
 
8825
 
 
8826
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
8827
  mutate the tree and its contents. (Robert Collins)
 
8828
 
 
8829
* Transport behaviour at the root of the URL is now defined and tested.
 
8830
  (Andrew Bennetts, Robert Collins)
 
8831
 
 
8832
Testing
 
8833
*******
 
8834
 
 
8835
* New test helper classs MemoryTree. This is typically accessed via
 
8836
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
8837
 
 
8838
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
8839
  code to continue running concurrently with a subprocess of bzr.
 
8840
  (Andrew Bennetts, Robert Collins)
 
8841
 
 
8842
* Add a new method ``Transport.get_smart_client()``. This is provided to
 
8843
  allow upgrades to a richer interface than the VFS one provided by
 
8844
  Transport. (Andrew Bennetts, Martin Pool)
 
8845
 
 
8846
bzr 0.10
 
8847
########
 
8848
 
 
8849
:Released:  2006-08-29
 
8850
 
 
8851
Improvements
 
8852
************
 
8853
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
8854
  tree.  (Aaron Bentley)
 
8855
 
 
8856
* 'bzr add --file-ids-from' can be used to specify another path to use
 
8857
  for creating file ids, rather than generating all new ones. Internally,
 
8858
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
8859
  will be used, rather than having bzrlib generate new ones.
 
8860
  (John Arbash Meinel, #55781)
 
8861
 
 
8862
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
8863
  This will cache some of the intermediate trees, and decrease the
 
8864
  setup time for benchmark tests. (John Arbash Meinel)
 
8865
 
 
8866
* Inverse forms are provided for all boolean options.  For example,
 
8867
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
8868
 
 
8869
* Serialize out Inventories directly, rather than using ElementTree.
 
8870
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
8871
  (Robert Collins, John Arbash Meinel)
 
8872
 
 
8873
Bug Fixes
 
8874
*********
 
8875
 
 
8876
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
8877
 
 
8878
* Change LockDir so that if the lock directory doesn't exist when
 
8879
  ``lock_write()`` is called, an attempt will be made to create it.
 
8880
  (John Arbash Meinel, #56974)
 
8881
 
 
8882
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
8883
 
 
8884
* Active FTP transport now works as intended. (ghozzy, #56472)
 
8885
 
 
8886
* Really fix mutter() so that it won't ever raise a UnicodeError.
 
8887
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
8888
  But it is a debugging log, not a real user file.
 
8889
  (John Arbash Meinel, #56947, #53880)
 
8890
 
 
8891
* Change Command handle to allow Unicode command and options.
 
8892
  At present we cannot register Unicode command names, so we will get
 
8893
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
8894
  But that is better than a UnicodeError + a traceback.
 
8895
  (John Arbash Meinel, #57123)
 
8896
 
 
8897
* Handle TZ=UTC properly when reading/writing revisions.
 
8898
  (John Arbash Meinel, #55783, #56290)
 
8899
 
 
8900
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
8901
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
8902
 
 
8903
* External diff does the right thing for binaries even in foreign
 
8904
  languages. (John Arbash Meinel, #56307)
 
8905
 
 
8906
* Testament handles more cases when content is unicode. Specific bug was
 
8907
  in handling of revision properties.
 
8908
  (John Arbash Meinel, Holger Krekel, #54723)
 
8909
 
 
8910
* The bzr selftest was failing on installed versions due to a bug in a new
 
8911
  test helper. (John Arbash Meinel, Robert Collins, #58057)
 
8912
 
 
8913
Internals
 
8914
*********
 
8915
 
 
8916
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
8917
  which can be used to cache the conversion between utf8 and Unicode.
 
8918
  Especially helpful for some of the knit annotation code, which has to
 
8919
  convert revision ids to utf8 to annotate lines in storage.
 
8920
  (John Arbash Meinel)
 
8921
 
 
8922
* ``setup.py`` now searches the filesystem to find all packages which
 
8923
  need to be installed. This should help make the life of packagers
 
8924
  easier. (John Arbash Meinel)
 
8925
 
 
8926
bzr 0.9.0
 
8927
#########
 
8928
 
 
8929
:Released:  2006-08-11
 
8930
 
 
8931
Surprises
 
8932
*********
 
8933
 
 
8934
* The hard-coded built-in ignore rules have been removed. There are
 
8935
  now two rulesets which are enforced. A user global one in
 
8936
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
8937
  specific one '.bzrignore'.
 
8938
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
8939
  a more conservative list than the old default.
 
8940
  This fixes bugs with default rules being enforced no matter what.
 
8941
  The old list of ignore rules from bzr is available by
 
8942
  running 'bzr ignore --old-default-rules'.
 
8943
  (Robert Collins, Martin Pool, John Arbash Meinel)
 
8944
 
 
8945
* 'branches.conf' has been changed to 'locations.conf', since it can apply
 
8946
  to more locations than just branch locations.
 
8947
  (Aaron Bentley)
 
8948
 
 
8949
Improvements
 
8950
************
 
8951
 
 
8952
* The revision specifier "revno:" is extended to accept the syntax
 
8953
  revno:N:branch. For example,
 
8954
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
8955
  bzr.dev.  (Matthieu Moy)
 
8956
 
 
8957
* Tests updates to ensure proper URL handling, UNICODE support, and
 
8958
  proper printing when the user's terminal encoding cannot display
 
8959
  the path of a file that has been versioned.
 
8960
  ``bzr branch`` can take a target URL rather than only a local directory.
 
8961
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
8962
  and normalize the parent based on root, allowing access across
 
8963
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
8964
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
8965
  #42517, #42514)
 
8966
 
 
8967
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
8968
  Use terminal width for single-line logs from ``bzr log --line`` and
 
8969
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
8970
  (Malone #3507)
 
8971
 
 
8972
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
8973
  (Alexander Belchenko)
 
8974
 
 
8975
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
8976
 
 
8977
* Show the correct number of revisions pushed when pushing a new branch.
 
8978
  (Robert Collins).
 
8979
 
 
8980
* 'bzr selftest' now shows a progress bar with the number of tests, and
 
8981
  progress made. 'make check' shows tests in -v mode, to be more useful
 
8982
  for the PQM status window. (Robert Collins).
 
8983
  When using a progress bar, failed tests are printed out, rather than
 
8984
  being overwritten by the progress bar until the suite finishes.
 
8985
  (John Arbash Meinel)
 
8986
 
 
8987
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
8988
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
8989
  profile data for the individual profiled calls, allowing for fine
 
8990
  grained analysis of performance.
 
8991
  (Robert Collins, Martin Pool).
 
8992
 
 
8993
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
8994
  where commit can take an appreciable time. (Robert Collins)
 
8995
 
 
8996
* 'bzr add' is now less verbose in telling you what ignore globs were
 
8997
  matched by files being ignored. Instead it just tells you how many
 
8998
  were ignored (because you might reasonably be expecting none to be
 
8999
  ignored). 'bzr add -v' is unchanged and will report every ignored
 
9000
  file. (Robert Collins).
 
9001
 
 
9002
* ftp now has a test server if medusa is installed. As part of testing,
 
9003
  ftp support has been improved, including support for supplying a
 
9004
  non-standard port. (John Arbash Meinel).
 
9005
 
 
9006
* 'bzr log --line' shows the revision number, and uses only the
 
9007
  first line of the log message (#5162, Alexander Belchenko;
 
9008
  Matthieu Moy)
 
9009
 
 
9010
* 'bzr status' has had the --all option removed. The 'bzr ls' command
 
9011
  should be used to retrieve all versioned files. (Robert Collins)
 
9012
 
 
9013
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
9014
  over email, and applied on the other end, while maintaining ancestry.
 
9015
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
9016
  the same way you would apply another branch.
 
9017
  (John Arbash Meinel, Aaron Bentley)
 
9018
 
 
9019
* 'bzr whoami' can now be used to set your identity from the command line,
 
9020
  for a branch or globally.  (Robey Pointer)
 
9021
 
 
9022
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
9023
  (Michael Ellerman)
 
9024
 
 
9025
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
9026
  (Aaron Bentley)
 
9027
 
 
9028
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
9029
  Also updates things like 'http+pycurl://' if pycurl is not present.
 
9030
  (John Arbash Meinel) (Malone #47821, #52204)
 
9031
 
 
9032
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
9033
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
 
9034
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
9035
 
 
9036
* Improve the help text for 'bzr diff' to explain what various options do.
 
9037
  (John Arbash Meinel, #6391)
 
9038
 
 
9039
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
9040
  revision 10. This makes -r10 more in line with what other commands do.
 
9041
  'bzr uncommit' also now saves the pending merges of the revisions that
 
9042
  were removed. So it is safe to uncommit after a merge, fix something,
 
9043
  and commit again. (John Arbash Meinel, #32526, #31426)
 
9044
 
 
9045
* 'bzr init' now also works on remote locations.
 
9046
  (Wouter van Heyst, #48904)
 
9047
 
 
9048
* HTTP support has been updated. When using pycurl we now support
 
9049
  connection keep-alive, which reduces dns requests and round trips.
 
9050
  And for both urllib and pycurl we support multi-range requests,
 
9051
  which decreases the number of round-trips. Performance results for
 
9052
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
9053
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
 
9054
  branch is as much as 4x faster.
 
9055
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
9056
 
 
9057
* Performance improvements for sftp. Branching and pulling are now up to
 
9058
  2x faster. Utilize paramiko.readv() support for async requests if it
 
9059
  is available (paramiko > 1.6) (John Arbash Meinel)
 
9060
 
 
9061
Bug Fixes
 
9062
*********
 
9063
 
 
9064
* Fix shadowed definition of TestLocationConfig that caused some
 
9065
  tests not to run.
 
9066
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
9067
 
 
9068
* Fix unnecessary requirement of sign-my-commits that it be run from
 
9069
  a working directory.  (Martin Pool, Robert Collins)
 
9070
 
 
9071
* 'bzr push location' will only remember the push location if it succeeds
 
9072
  in connecting to the remote location. (John Arbash Meinel, #49742)
 
9073
 
 
9074
* 'bzr revert' no longer toggles the executable bit on win32
 
9075
  (John Arbash Meinel, #45010)
 
9076
 
 
9077
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
9078
 
 
9079
* sftp tests now work correctly on win32 if you have a newer paramiko
 
9080
  (John Arbash Meinel)
 
9081
 
 
9082
* Cleanup win32 test suite, and general cleanup of places where
 
9083
  file handles were being held open. (John Arbash Meinel)
 
9084
 
 
9085
* When specifying filenames for 'diff -r x..y', the name of the file in the
 
9086
  working directory can be used, even if its name is different in both x
 
9087
  and y.
 
9088
 
 
9089
* File-ids containing single- or double-quotes are handled correctly by
 
9090
  push. (Aaron Bentley, #52227)
 
9091
 
 
9092
* Normalize unicode filenames to ensure cross-platform consistency.
 
9093
  (John Arbash Meinel, #43689)
 
9094
 
 
9095
* The argument parser can now handle '-' as an argument. Currently
 
9096
  no code interprets it specially (it is mostly handled as a file named
 
9097
  '-'). But plugins, and future operations can use it.
 
9098
  (John Arbash meinel, #50984)
 
9099
 
 
9100
* Bundles can properly read binary files with a plain '\r' in them.
 
9101
  (John Arbash Meinel, #51927)
 
9102
 
 
9103
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
9104
 
 
9105
* Lots of win32 fixes (the test suite passes again).
 
9106
  (John Arbash Meinel, #50155)
 
9107
 
 
9108
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
 
9109
 
 
9110
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
9111
 
 
9112
* Removals are only committed if they match the filespec (or if there is
 
9113
  no filespec).  (#46635, Aaron Bentley)
 
9114
 
 
9115
* smart-add recurses through all supplied directories
 
9116
  (John Arbash Meinel, #52578)
 
9117
 
 
9118
* Make the bundle reader extra lines before and after the bundle text.
 
9119
  This allows you to parse an email with the bundle inline.
 
9120
  (John Arbash Meinel, #49182)
 
9121
 
 
9122
* Change the file id generator to squash a little bit more. Helps when
 
9123
  working with long filenames on windows. (Also helps for unicode filenames
 
9124
  not generating hidden files). (John Arbash Meinel, #43801)
 
9125
 
 
9126
* Restore terminal mode on C-c while reading sftp password.  (#48923,
 
9127
  Nicholas Allen, Martin Pool)
 
9128
 
 
9129
* Timestamps are rounded to 1ms, and revision entries can be recreated
 
9130
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
9131
 
 
9132
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
9133
  use local paths, since it is user visible (John Arbash Meinel, #53653)
 
9134
 
 
9135
* ``bzr status foo`` when foo was unversioned used to cause a full delta
 
9136
  to be generated (John Arbash Meinel, #53638)
 
9137
 
 
9138
* When reading revision properties, an empty value should be considered
 
9139
  the empty string, not None (John Arbash Meinel, #47782)
 
9140
 
 
9141
* ``bzr diff --diff-options`` can now handle binary files being changed.
 
9142
  Also, the output is consistent when --diff-options is not supplied.
 
9143
  (John Arbash Meinel, #54651, #52930)
 
9144
 
 
9145
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
9146
 
 
9147
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
 
9148
  accessible (John Arbash Meinel, #52976)
 
9149
 
 
9150
Internals
 
9151
*********
 
9152
 
 
9153
* Combine the ignore rules into a single regex rather than looping over
 
9154
  them to reduce the threshold where  N^2 behaviour occurs in operations
 
9155
  like status. (Jan Hudec, Robert Collins).
 
9156
 
 
9157
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
9158
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
9159
 
 
9160
* 'bzr push' should only push the ancestry of the current revision, not
 
9161
  all of the history in the repository. This is especially important for
 
9162
  shared repositories. (John Arbash Meinel)
 
9163
 
 
9164
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
9165
  rather than randomly walking the inventories. (John Arbash Meinel)
 
9166
 
 
9167
* Doctests are now run in temporary directories which are cleaned up when
 
9168
  they finish, rather than using special ScratchDir/ScratchBranch objects.
 
9169
  (Martin Pool)
 
9170
 
 
9171
* Split ``check`` into separate methods on the branch and on the repository,
 
9172
  so that it can be specialized in ways that are useful or efficient for
 
9173
  different formats.  (Martin Pool, Robert Collins)
 
9174
 
 
9175
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
9176
  the global revision graph but only that part leading up to a particular
 
9177
  revision.  (Martin Pool, Robert Collins)
 
9178
 
 
9179
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
9180
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
9181
  (Robert Collins, Jelmer Vernooij).
 
9182
 
 
9183
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
9184
  Uses subprocess instead of spawnvp.
 
9185
  (James Henstridge, John Arbash Meinel, #4047, #48914)
 
9186
 
 
9187
* New command line option '--profile-imports', which will install a custom
 
9188
  importer to log time to import modules and regex compilation time to
 
9189
  sys.stderr (John Arbash Meinel)
 
9190
 
 
9191
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
9192
  instead. (Robert Collins)
 
9193
 
 
9194
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
9195
 
 
9196
bzr 0.8.2
 
9197
#########
 
9198
 
 
9199
:Released:  2006-05-17
 
9200
 
 
9201
Bug Fixes
 
9202
*********
 
9203
 
 
9204
* setup.py failed to install launchpad plugin.  (Martin Pool)
 
9205
 
 
9206
bzr 0.8.1
 
9207
#########
 
9208
 
 
9209
:Released:  2006-05-16
 
9210
 
 
9211
Bug Fixes
 
9212
*********
 
9213
 
 
9214
* Fix failure to commit a merge in a checkout.  (Martin Pool,
 
9215
  Robert Collins, Erik Bågfors, #43959)
 
9216
 
 
9217
* Nicer messages from 'commit' in the case of renames, and correct
 
9218
  messages when a merge has occured. (Robert Collins, Martin Pool)
 
9219
 
 
9220
* Separate functionality from assert statements as they are skipped in
 
9221
  optimized mode of python. Add the same check to pending merges.
 
9222
  (Olaf Conradi, #44443)
 
9223
 
 
9224
Changes
 
9225
*******
 
9226
 
 
9227
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
9228
 
 
9229
* Add info on standalone branches without a working tree.
 
9230
  (Olaf Conradi, #44155)
 
9231
 
 
9232
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
9233
 
 
9234
Changes
 
9235
*******
 
9236
 
 
9237
* Make editor invocation comply with Debian Policy. First check
 
9238
  environment variables VISUAL and EDITOR, then try editor from
 
9239
  alternatives system. If that all fails, fall back to the pre-defined
 
9240
  list of editors. (Olaf Conradi, #42904)
 
9241
 
 
9242
New Features
 
9243
************
 
9244
 
 
9245
* New 'register-branch' command registers a public branch into
 
9246
  Launchpad.net, where it can be associated with bugs, etc.
 
9247
  (Martin Pool, Bjorn Tillenius, Robert Collins)
 
9248
 
 
9249
Internals
 
9250
*********
 
9251
 
 
9252
* New public api in InventoryEntry - ``describe_change(old, new)`` which
 
9253
  provides a human description of the changes between two old and
 
9254
  new. (Robert Collins, Martin Pool)
 
9255
 
 
9256
Testing
 
9257
*******
 
9258
 
 
9259
* Fix test case for bzr info in upgrading a standalone branch to metadir,
 
9260
  uses bzrlib api now. (Olaf Conradi)
 
9261
 
 
9262
bzr 0.8
 
9263
#######
 
9264
 
 
9265
:Released:  2006-05-08
 
9266
 
 
9267
Notes When Upgrading
 
9268
********************
 
9269
 
 
9270
Release 0.8 of bzr introduces a new format for history storage, called
 
9271
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
 
9272
and remote operations are faster using knits than weaves.  Several
 
9273
operations including 'init', 'init-repo', and 'upgrade' take a
 
9274
--format option that controls this.  Branching from an existing branch
 
9275
will keep the same format.
 
9276
 
 
9277
It is possible to merge, pull and push between branches of different
 
9278
formats but this is slower than moving data between homogenous
 
9279
branches.  It is therefore recommended (but not required) that you
 
9280
upgrade all branches for a project at the same time.  Information on
 
9281
formats is shown by 'bzr info'.
 
9282
 
 
9283
bzr 0.8 now allows creation of 'repositories', which hold the history
 
9284
of files and revisions for several branches.  Previously bzr kept all
 
9285
the history for a branch within the .bzr directory at the root of the
 
9286
branch, and this is still the default.  To create a repository, use
 
9287
the new 'bzr init-repo' command.  Branches exist as directories under
 
9288
the repository and contain just a small amount of information
 
9289
indicating the current revision of the branch.
 
9290
 
 
9291
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
9292
subversion.  Checkouts are associated with a branch (optionally in a
 
9293
repository), which contains all the historical information.  The
 
9294
result is that a checkout can be deleted without losing any
 
9295
already-committed revisions.  A new 'update' command is also available.
 
9296
 
 
9297
Repositories and checkouts are not supported with the 0.7 storage
 
9298
format.  To use them you must upgrad to either knits, or to the
 
9299
'metaweave' format, which uses weaves but changes the .bzr directory
 
9300
arrangement.
 
9301
 
 
9302
 
 
9303
Improvements
 
9304
************
 
9305
 
 
9306
* sftp paths can now be relative, or local, according to the lftp
 
9307
  convention. Paths now take the form::
 
9308
 
 
9309
      sftp://user:pass@host:port/~/relative/path
 
9310
      or
 
9311
      sftp://user:pass@host:port/absolute/path
 
9312
 
 
9313
* The FTP transport now tries to reconnect after a temporary
 
9314
  failure. ftp put is made atomic. (Matthieu Moy)
 
9315
 
 
9316
* The FTP transport now maintains a pool of connections, and
 
9317
  reuses them to avoid multiple connections to the same host (like
 
9318
  sftp did). (Daniel Silverstone)
 
9319
 
 
9320
* The ``bzr_man.py`` file has been removed. To create the man page now,
 
9321
  use ``./generate_docs.py man``. The new program can also create other files.
 
9322
  Run ``python generate_docs.py --help`` for usage information.
 
9323
  (Hans Ulrich Niedermann & James Blackwell).
 
9324
 
 
9325
* Man Page now gives full help (James Blackwell).
 
9326
  Help also updated to reflect user config now being stored in .bazaar
 
9327
  (Hans Ulrich Niedermann)
 
9328
 
 
9329
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
9330
 
 
9331
* Pull now accepts a --revision argument (Erik Bågfors)
 
9332
 
 
9333
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
9334
  line. You can now use the following command to sign all of your old
 
9335
  commits::
 
9336
 
 
9337
    find .bzr/revision-store// -name my@email-* \
 
9338
      | sed 's/.*\/\/..\///' \
 
9339
      | xargs bzr re-sign
 
9340
 
 
9341
* Upgrade can now upgrade over the network. (Robert Collins)
 
9342
 
 
9343
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
9344
  behaviour.  By default they will cache history in the checkout, but
 
9345
  with --lightweight almost all data is kept in the master branch.
 
9346
  (Robert Collins)
 
9347
 
 
9348
* 'revert' unversions newly-versioned files, instead of deleting them.
 
9349
 
 
9350
* 'merge' is more robust.  Conflict messages have changed.
 
9351
 
 
9352
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
9353
  '.moved'.
 
9354
 
 
9355
* Default log format can be set in configuration and plugins can register
 
9356
  their own formatters. (Erik Bågfors)
 
9357
 
 
9358
* New 'reconcile' command will check branch consistency and repair indexes
 
9359
  that can become out of sync in pre 0.8 formats. (Robert Collins,
 
9360
  Daniel Silverstone)
 
9361
 
 
9362
* New 'bzr init --format' and 'bzr upgrade --format' option to control
 
9363
  what storage format is created or produced.  (Robert Collins,
 
9364
  Martin Pool)
 
9365
 
 
9366
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
9367
 
 
9368
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
9369
 
 
9370
* New 'init-repository' command, plus support for repositories in 'init'
 
9371
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
9372
 
 
9373
* Improve output of 'info' command. Show all relevant locations related to
 
9374
  working tree, branch and repository. Use kibibytes for binary quantities.
 
9375
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
9376
  work on branches, repositories and remote locations.  Show locations
 
9377
  relative to the shared repository, if applicable.  Show locking status
 
9378
  of locations.  (Olaf Conradi)
 
9379
 
 
9380
* Diff and merge now safely handle binary files. (Aaron Bentley)
 
9381
 
 
9382
* 'pull' and 'push' now normalise the revision history, so that any two
 
9383
  branches with the same tip revision will have the same output from 'log'.
 
9384
  (Robert Collins)
 
9385
 
 
9386
* 'merge' accepts --remember option to store parent location, like 'push'
 
9387
  and 'pull'. (Olaf Conradi)
 
9388
 
 
9389
* bzr status and diff when files given as arguments do not exist
 
9390
  in the relevant trees.  (Martin Pool, #3619)
 
9391
 
 
9392
* Add '.hg' to the default ignore list.  (Martin Pool)
 
9393
 
 
9394
* 'knit' is now the default disk format. This improves disk performance and
 
9395
  utilization, increases incremental pull performance, robustness with SFTP
 
9396
  and allows checkouts over SFTP to perform acceptably.
 
9397
  The initial Knit code was contributed by Johan Rydberg based on a
 
9398
  specification by Martin Pool.
 
9399
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
9400
 
 
9401
* New tool to generate all-in-one html version of the manual.  (Alexander
 
9402
  Belchenko)
 
9403
 
 
9404
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
9405
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
9406
 
 
9407
* New option 'diff --prefix' to control how files are named in diff
 
9408
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
 
9409
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
9410
 
 
9411
* Add --revision option to 'annotate' command.  (Olaf Conradi)
 
9412
 
 
9413
* If bzr shows an unexpected revision-history after pulling (perhaps due
 
9414
  to a reweave) it can now be corrected by 'bzr reconcile'.
 
9415
  (Robert Collins)
 
9416
 
 
9417
Changes
 
9418
*******
 
9419
 
 
9420
* Commit is now verbose by default, and shows changed filenames and the
 
9421
  new revision number.  (Robert Collins, Martin Pool)
 
9422
 
 
9423
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
9424
 
 
9425
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
9426
 
 
9427
* Make 'pull' and 'push' remember location on failure using --remember.
 
9428
  (Olaf Conradi)
 
9429
 
 
9430
* For compatibility, make old format for using weaves inside metadir
 
9431
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
9432
  Clean up help for option --format in commands 'init', 'init-repo' and
 
9433
  'upgrade'.  (Olaf Conradi)
 
9434
 
 
9435
Internals
 
9436
*********
 
9437
 
 
9438
* The internal storage of history, and logical branch identity have now
 
9439
  been split into Branch, and Repository. The common locking and file
 
9440
  management routines are now in bzrlib.lockablefiles.
 
9441
  (Aaron Bentley, Robert Collins, Martin Pool)
 
9442
 
 
9443
* Transports can now raise DependencyNotPresent if they need a library
 
9444
  which is not installed, and then another implementation will be
 
9445
  tried.  (Martin Pool)
 
9446
 
 
9447
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
 
9448
  (Martin Pool)
 
9449
 
 
9450
* Using Tree Transform for merge, revert, tree-building
 
9451
 
 
9452
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
9453
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
9454
  replacement API's. (Robert Collins)
 
9455
 
 
9456
* New BzrDir class represents the .bzr control directory and manages
 
9457
  formatting issues. (Robert Collins)
 
9458
 
 
9459
* New repository.InterRepository class encapsulates Repository to
 
9460
  Repository actions and allows for clean selection of optimised code
 
9461
  paths. (Robert Collins)
 
9462
 
 
9463
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
9464
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
9465
  depending on your needs. (Robert Collins)
 
9466
 
 
9467
* deprecated methods now have a ``is_deprecated`` flag on them that can
 
9468
  be checked, if you need to determine whether a given callable is
 
9469
  deprecated at runtime. (Robert Collins)
 
9470
 
 
9471
* Progress bars are now nested - see
 
9472
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
9473
  (Robert Collins, Robey Pointer)
 
9474
 
 
9475
* New API call ``get_format_description()`` for each type of format.
 
9476
  (Olaf Conradi)
 
9477
 
 
9478
* Changed ``branch.set_parent()`` to accept None to remove parent.
 
9479
  (Olaf Conradi)
 
9480
 
 
9481
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
9482
 
 
9483
* WorkingTree.branch is now a read only property.  (Robert Collins)
 
9484
 
 
9485
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
9486
  can be None or a factory that will create a progress bar. This is
 
9487
  useful for testing or for overriding the bzrlib.progress heuristic.
 
9488
  (Robert Collins)
 
9489
 
 
9490
* New API method ``get_physical_lock_status()`` to query locks present on a
 
9491
  transport.  (Olaf Conradi)
 
9492
 
 
9493
* Repository.reconcile now takes a thorough keyword parameter to allow
 
9494
  requesting an indepth reconciliation, rather than just a data-loss
 
9495
  check. (Robert Collins)
 
9496
 
 
9497
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
9498
  the user for yes/no style input. (Robert Collins)
 
9499
 
 
9500
Testing
 
9501
*******
 
9502
 
 
9503
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
9504
  for testing SFTP protocol support. (Robey Pointer)
 
9505
 
 
9506
* Branch formats are now tested once per implementation (see ``bzrlib.
 
9507
  tests.branch_implementations``. This is analagous to the transport
 
9508
  interface tests, and has been followed up with working tree,
 
9509
  repository and BzrDir tests. (Robert Collins)
 
9510
 
 
9511
* New test base class TestCaseWithTransport provides a transport aware
 
9512
  test environment, useful for testing any transport-interface using
 
9513
  code. The test suite option --transport controls the transport used
 
9514
  by this class (when its not being used as part of implementation
 
9515
  contract testing). (Robert Collins)
 
9516
 
 
9517
* Close logging handler on disabling the test log. This will remove the
 
9518
  handler from the internal list inside python's logging module,
 
9519
  preventing shutdown from closing it twice.  (Olaf Conradi)
 
9520
 
 
9521
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
9522
 
 
9523
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
9524
  parameter which will provide String("foo") to the command as its stdin.
 
9525
 
 
9526
bzr 0.7
 
9527
#######
 
9528
 
 
9529
:Released: 2006-01-09
 
9530
 
 
9531
Changes
 
9532
*******
 
9533
 
 
9534
* .bzrignore is excluded from exports, on the grounds that it's a bzr
 
9535
  internal-use file and may not be wanted.  (Jamie Wilkinson)
 
9536
 
 
9537
* The "bzr directories" command were removed in favor of the new
 
9538
  --kind option to the "bzr inventory" command.  To list all
 
9539
  versioned directories, now use "bzr inventory --kind directory".
 
9540
  (Johan Rydberg)
 
9541
 
 
9542
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
9543
  by default. (John Arbash Meinel)
 
9544
 
 
9545
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
9546
  environment variable. Now the path for it is searched in ``BZR_HOME``,
 
9547
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
9548
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
9549
  ``HOME``. (John Arbash Meinel)
 
9550
 
 
9551
* Plugins with the same name in different directories in the bzr plugin
 
9552
  path are no longer loaded: only the first successfully loaded one is
 
9553
  used. (Robert Collins)
 
9554
 
 
9555
* Use systems' external ssh command to open connections if possible.
 
9556
  This gives better integration with user settings such as ProxyCommand.
 
9557
  (James Henstridge)
 
9558
 
 
9559
* Permissions on files underneath .bzr/ are inherited from the .bzr
 
9560
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
9561
  will mean that future file will be created with group write permissions.
 
9562
 
 
9563
* configure.in and config.guess are no longer in the builtin default
 
9564
  ignore list.
 
9565
 
 
9566
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
9567
  files.  (John Arbash Meinel, Martin Pool)
 
9568
 
 
9569
Improvements
 
9570
************
 
9571
 
 
9572
* "bzr INIT dir" now initializes the specified directory, and creates
 
9573
  it if it does not exist.  (John Arbash Meinel)
 
9574
 
 
9575
* New remerge command (Aaron Bentley)
 
9576
 
 
9577
* Better zsh completion script.  (Steve Borho)
 
9578
 
 
9579
* 'bzr diff' now returns 1 when there are changes in the working
 
9580
  tree. (Robert Collins)
 
9581
 
 
9582
* 'bzr push' now exists and can push changes to a remote location.
 
9583
  This uses the transport infrastructure, and can store the remote
 
9584
  location in the ~/.bazaar/branches.conf configuration file.
 
9585
  (Robert Collins)
 
9586
 
 
9587
* Test directories are only kept if the test fails and the user requests
 
9588
  that they be kept.
 
9589
 
 
9590
* Tweaks to short log printing
 
9591
 
 
9592
* Added branch nicks, new nick command, printing them in log output.
 
9593
  (Aaron Bentley)
 
9594
 
 
9595
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
 
9596
  occurs.  (Martin Pool)
 
9597
 
 
9598
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
9599
  the same as Subversion.  (Martin Pool)
 
9600
 
 
9601
* New ftp transport support (on ftplib), for ftp:// and aftp://
 
9602
  URLs.  (Daniel Silverstone)
 
9603
 
 
9604
* Commit editor temporary files now start with ``bzr_log.``, to allow
 
9605
  text editors to match the file name and set up appropriate modes or
 
9606
  settings.  (Magnus Therning)
 
9607
 
 
9608
* Improved performance when integrating changes from a remote weave.
 
9609
  (Goffredo Baroncelli)
 
9610
 
 
9611
* Sftp will attempt to cache the connection, so it is more likely that
 
9612
  a connection will be reused, rather than requiring multiple password
 
9613
  requests.
 
9614
 
 
9615
* bzr revno now takes an optional argument indicating the branch whose
 
9616
  revno should be printed.  (Michael Ellerman)
 
9617
 
 
9618
* bzr cat defaults to printing the last version of the file.
 
9619
  (Matthieu Moy, #3632)
 
9620
 
 
9621
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
 
9622
  profiler.  (Denys Duchier)
 
9623
 
 
9624
* Faster commits by reading only the headers of affected weave files.
 
9625
  (Denys Duchier)
 
9626
 
 
9627
* 'bzr add' now takes a --dry-run parameter which shows you what would be
 
9628
  added, but doesn't actually add anything. (Michael Ellerman)
 
9629
 
 
9630
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
9631
  lists the specific files.  (Aaron Bentley)
 
9632
 
 
9633
* 'bzr missing' now supports displaying changes in diverged trees and can
 
9634
  be limited to show what either end of the comparison is missing.
 
9635
  (Aaron Bently, with a little prompting from Daniel Silverstone)
 
9636
 
 
9637
Bug Fixes
 
9638
*********
 
9639
 
 
9640
* SFTP can walk up to the root path without index errors. (Robert Collins)
 
9641
 
 
9642
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
9643
 
 
9644
* Error when run with -OO
 
9645
 
 
9646
* Fix bug in reporting http errors that don't have an http error code.
 
9647
  (Martin Pool)
 
9648
 
 
9649
* Handle more cases of pipe errors in display commands
 
9650
 
 
9651
* Change status to 3 for all errors
 
9652
 
 
9653
* Files that are added and unlinked before committing are completely
 
9654
  ignored by diff and status
 
9655
 
 
9656
* Stores with some compressed texts and some uncompressed texts are now
 
9657
  able to be used. (John A Meinel)
 
9658
 
 
9659
* Fix for bzr pull failing sometimes under windows
 
9660
 
 
9661
* Fix for sftp transport under windows when using interactive auth
 
9662
 
 
9663
* Show files which are both renamed and modified as such in 'bzr
 
9664
  status' output.  (Daniel Silverstone, #4503)
 
9665
 
 
9666
* Make annotate cope better with revisions committed without a valid
 
9667
  email address.  (Marien Zwart)
 
9668
 
 
9669
* Fix representation of tab characters in commit messages.
 
9670
  (Harald Meland)
 
9671
 
 
9672
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
9673
  now parsed properly under Windows. (Alexander Belchenko)
 
9674
 
 
9675
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
9676
 
 
9677
* Keep a cached copy of the basis inventory to speed up operations
 
9678
  that need to refer to it.  (Johan Rydberg, Martin Pool)
 
9679
 
 
9680
* Fix bugs in bzr status display of non-ascii characters.
 
9681
  (Martin Pool)
 
9682
 
 
9683
* Remove Makefile.in from default ignore list.
 
9684
  (Tollef Fog Heen, Martin Pool, #6413)
 
9685
 
 
9686
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
9687
 
 
9688
Testing
 
9689
*******
 
9690
 
 
9691
* Fix selftest asking for passwords when there are no SFTP keys.
 
9692
  (Robey Pointer, Jelmer Vernooij)
 
9693
 
 
9694
* Fix selftest run with 'python -O'.  (Martin Pool)
 
9695
 
 
9696
* Fix HTTP tests under Windows. (John Arbash Meinel)
 
9697
 
 
9698
* Make tests work even if HOME is not set (Aaron Bentley)
 
9699
 
 
9700
* Updated ``build_tree`` to use fixed line-endings for tests which read
 
9701
  the file cotents and compare. Make some tests use this to pass under
 
9702
  Windows. (John Arbash Meinel)
 
9703
 
 
9704
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
9705
 
 
9706
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
9707
  (John Arbash Meinel)
 
9708
 
 
9709
* Use terminal width to align verbose test output.  (Martin Pool)
 
9710
 
 
9711
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
9712
  If adding a new test script please add that to
 
9713
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
9714
 
 
9715
* Much better error message if one of the test suites can't be
 
9716
  imported.  (Martin Pool)
 
9717
 
 
9718
* Make check now runs the test suite twice - once with the default locale,
 
9719
  and once with all locales forced to C, to expose bugs. This is not
 
9720
  trivially done within python, so for now its only triggered by running
 
9721
  Make check. Integrators and packagers who wish to check for full
 
9722
  platform support should run 'make check' to test the source.
 
9723
  (Robert Collins)
 
9724
 
 
9725
* Tests can now run TestSkipped if they can't execute for any reason.
 
9726
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
9727
  reasons - see the wiki spec ImprovingBzrTestSuite).
 
9728
 
 
9729
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
9730
  paths for the transport tests. Introduce blackbox remote sftp tests that
 
9731
  test the same permutations. (Robert Collins, Robey Pointer)
 
9732
 
 
9733
* Transport implementation tests are now independent of the local file
 
9734
  system, which allows tests for esoteric transports, and for features
 
9735
  not available in the local file system. They also repeat for variations
 
9736
  on the URL scheme that can introduce issues in the transport code,
 
9737
  see bzrlib.transport.TransportTestProviderAdapter() for this.
 
9738
  (Robert Collins).
 
9739
 
 
9740
* ``TestCase.build_tree`` uses the transport interface to build trees,
 
9741
  pass in a transport parameter to give it an existing connection.
 
9742
  (Robert Collins).
 
9743
 
 
9744
Internals
 
9745
*********
 
9746
 
 
9747
* WorkingTree.pull has been split across Branch and WorkingTree,
 
9748
  to allow Branch only pulls. (Robert Collins)
 
9749
 
 
9750
* ``commands.display_command`` now returns the result of the decorated
 
9751
  function. (Robert Collins)
 
9752
 
 
9753
* LocationConfig now has a ``set_user_option(key, value)`` call to save
 
9754
  a setting in its matching location section (a new one is created
 
9755
  if needed). (Robert Collins)
 
9756
 
 
9757
* Branch has two new methods, ``get_push_location`` and
 
9758
  ``set_push_location`` to respectively, get and set the push location.
 
9759
  (Robert Collins)
 
9760
 
 
9761
* ``commands.register_command`` now takes an optional flag to signal that
 
9762
  the registrant is planning to decorate an existing command. When
 
9763
  given multiple plugins registering a command is not an error, and
 
9764
  the original command class (whether built in or a plugin based one) is
 
9765
  returned to the caller. There is a new error 'MustUseDecorated' for
 
9766
  signalling when a wrapping command should switch to the original
 
9767
  version. (Robert Collins)
 
9768
 
 
9769
* Some option parsing errors will raise 'BzrOptionError', allowing
 
9770
  granular detection for decorating commands. (Robert Collins).
 
9771
 
 
9772
* ``Branch.read_working_inventory`` has moved to
 
9773
  ``WorkingTree.read_working_inventory``. This necessitated changes to
 
9774
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
9775
  WorkingTree as well. To make it clear that a WorkingTree cannot always
 
9776
  be obtained ``Branch.working_tree()`` will raise
 
9777
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
9778
 
 
9779
* All pending merges operations from Branch are now on WorkingTree.
 
9780
  (Robert Collins)
 
9781
 
 
9782
* The follow operations from Branch have moved to WorkingTree::
 
9783
 
 
9784
      add()
 
9785
      commit()
 
9786
      move()
 
9787
      rename_one()
 
9788
      unknowns()
 
9789
 
 
9790
  (Robert Collins)
 
9791
 
 
9792
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
9793
 
 
9794
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
9795
 
 
9796
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
 
9797
  Pool)
 
9798
 
 
9799
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
 
9800
  query method. (Robert Collins)
 
9801
 
 
9802
* New options to read only the table-of-contents of a weave.
 
9803
  (Denys Duchier)
 
9804
 
 
9805
* Raise NoSuchFile when someone tries to add a non-existant file.
 
9806
  (Michael Ellerman)
 
9807
 
 
9808
* Simplify handling of DivergedBranches in ``cmd_pull()``.
 
9809
  (Michael Ellerman)
 
9810
 
 
9811
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
9812
  is exposed as ``Branch().control_files``. Also this has been altered with the
 
9813
  controlfile pre/suffix replaced by simple method names like 'get' and
 
9814
  'put'. (Aaron Bentley, Robert Collins).
 
9815
 
 
9816
* Deprecated functions and methods can now be marked as such using the
 
9817
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
9818
  updated and will issue a DeprecationWarning using the warnings module
 
9819
  when they are used. (Robert Collins)
 
9820
 
 
9821
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
9822
  for functions that need unicode strings. (Robert Collins)
 
9823
 
 
9824
bzr 0.6
 
9825
#######
 
9826
 
 
9827
:Released: 2005-10-28
 
9828
 
 
9829
Improvements
 
9830
************
 
9831
 
 
9832
* pull now takes --verbose to show you what revisions are added or removed
 
9833
  (John A Meinel)
 
9834
 
 
9835
* merge now takes a --show-base option to include the base text in
 
9836
  conflicts.
 
9837
  (Aaron Bentley)
 
9838
 
 
9839
* The config files are now read using ConfigObj, so '=' should be used as
 
9840
  a separator, not ':'.
 
9841
  (Aaron Bentley)
 
9842
 
 
9843
* New 'bzr commit --strict' option refuses to commit if there are
 
9844
  any unknown files in the tree.  To commit, make sure all files are
 
9845
  either ignored, added, or deleted.  (Michael Ellerman)
 
9846
 
 
9847
* The config directory is now ~/.bazaar, and there is a single file
 
9848
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
9849
  (Robert Collins)
 
9850
 
 
9851
* 'bzr add' no longer takes a --verbose option, and a --quiet option
 
9852
  has been added that suppresses all output.
 
9853
 
 
9854
* Improved zsh completion support in contrib/zsh, from Clint
 
9855
  Adams.
 
9856
 
 
9857
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
 
9858
  Goffredo Baroncelli.
 
9859
 
 
9860
* 'bzr check' now accepts -v for verbose reporting, and checks for
 
9861
  ghosts in the branch. (Robert Collins)
 
9862
 
 
9863
* New command 're-sign' which will regenerate the gpg signature for
 
9864
  a revision. (Robert Collins)
 
9865
 
 
9866
* If you set ``check_signatures=require`` for a path in
 
9867
  ``~/.bazaar/branches.conf`` then bzr will invoke your
 
9868
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
9869
  of your commit. (Robert Collins)
 
9870
 
 
9871
* New sftp transport, based on Paramiko.  (Robey Pointer)
 
9872
 
 
9873
* 'bzr pull' now accepts '--clobber' which will discard local changes
 
9874
  and make this branch identical to the source branch. (Robert Collins)
 
9875
 
 
9876
* Just give a quieter warning if a plugin can't be loaded, and
 
9877
  put the details in .bzr.log.  (Martin Pool)
 
9878
 
 
9879
* 'bzr branch' will now set the branch-name to the last component of the
 
9880
  output directory, if one was supplied.
 
9881
 
 
9882
* If the option ``post_commit`` is set to one (or more) python function
 
9883
  names (must be in the bzrlib namespace), then they will be invoked
 
9884
  after the commit has completed, with the branch and ``revision_id`` as
 
9885
  parameters. (Robert Collins)
 
9886
 
 
9887
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
9888
 
 
9889
* --merge-type weave is now supported for file contents.  Tree-shape
 
9890
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
9891
 
 
9892
* 'bzr check' allows the first revision on revision-history to have
 
9893
  parents - something that is expected for cheap checkouts, and occurs
 
9894
  when conversions from baz do not have all history.  (Robert Collins).
 
9895
 
 
9896
* 'bzr merge' can now graft unrelated trees together, if your specify
 
9897
  0 as a base. (Aaron Bentley)
 
9898
 
 
9899
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
9900
  (Aaron Bentley)
 
9901
 
 
9902
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
9903
 
 
9904
* 'bzr merge --reprocess' minimizes conflicts
 
9905
 
 
9906
Testing
 
9907
*******
 
9908
 
 
9909
* The 'bzr selftest --pattern' option for has been removed, now
 
9910
  test specifiers on the command line can be simple strings, or
 
9911
  regexps, or both. (Robert Collins)
 
9912
 
 
9913
* Passing -v to selftest will now show the time each test took to
 
9914
  complete, which will aid in analysing performance regressions and
 
9915
  related questions. (Robert Collins)
 
9916
 
 
9917
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
9918
  is given. (Martin Pool)
 
9919
 
 
9920
* There is a new method for TestCaseInTempDir, assertFileEqual, which
 
9921
  will check that a given content is equal to the content of the named
 
9922
  file. (Robert Collins)
 
9923
 
 
9924
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
9925
  (Martin Pool)
 
9926
 
 
9927
Internals
 
9928
*********
 
9929
 
 
9930
* New 'testament' command and concept for making gpg-signatures
 
9931
  of revisions that are not tied to a particular internal
 
9932
  representation.  (Martin Pool).
 
9933
 
 
9934
* Per-revision properties ('revprops') as key-value associated
 
9935
  strings on each revision created when the revision is committed.
 
9936
  Intended mainly for the use of external tools.  (Martin Pool).
 
9937
 
 
9938
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
9939
  (Robert Collins)
 
9940
 
 
9941
* Improved command line option definitions allowing explanations
 
9942
  for individual options, among other things.  Contributed by
 
9943
  Magnus Therning.
 
9944
 
 
9945
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
9946
  Configuration is now done via the config.Config interface:
 
9947
  Depending on whether you have a Branch, a Location or no information
 
9948
  available, construct a ``*Config``, and use its ``signature_checking``,
 
9949
  ``username`` and ``user_email`` methods. (Robert Collins)
 
9950
 
 
9951
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
9952
  they are made available for other plugins to use. You should not
 
9953
  import other plugins during the ``__init__`` of your plugin though, as
 
9954
  no ordering is guaranteed, and the plugins directory is not on the
 
9955
  python path. (Robert Collins)
 
9956
 
 
9957
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
9958
  no longer takes an inventory, rather it takes an option branch
 
9959
  parameter, and if None is given will open the branch at basedir
 
9960
  implicitly. (Robert Collins)
 
9961
 
 
9962
* Cleaner exception structure and error reporting.  Suggested by
 
9963
  Scott James Remnant.  (Martin Pool)
 
9964
 
 
9965
* Branch.remove has been moved to WorkingTree, which has also gained
 
9966
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
9967
  (Robert Collins)
 
9968
 
 
9969
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
9970
  added to the branch module. Use these to cause a function to run in a
 
9971
  read or write lock respectively. (Robert Collins)
 
9972
 
 
9973
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
9974
  which allows direct access to the common case of 'get me this file
 
9975
  from its branch'. (Robert Collins)
 
9976
 
 
9977
* Transports can register using ``register_lazy_transport``, and they
 
9978
  will be loaded when first used.  (Martin Pool)
 
9979
 
 
9980
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
9981
  A new option to WorkingTree.pull has been added, clobber, which will
 
9982
  ignore diverged history and pull anyway.
 
9983
  (Robert Collins)
 
9984
 
 
9985
* config.Config has a ``get_user_option`` call that accepts an option name.
 
9986
  This will be looked up in branches.conf and bazaar.conf as normal.
 
9987
  It is intended that this be used by plugins to support options -
 
9988
  options of built in programs should have specific methods on the config.
 
9989
  (Robert Collins)
 
9990
 
 
9991
* ``merge.merge_inner`` now has tempdir as an optional parameter.
 
9992
  (Robert Collins)
 
9993
 
 
9994
* Tree.kind is not recorded at the top level of the hierarchy, as it was
 
9995
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
9996
  (Robert Collins)
 
9997
 
 
9998
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
 
9999
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
10000
  about future directions. (Robert Collins/Martin Pool)
 
10001
 
 
10002
* bzrlib.transport.http has been modified so that only 404 urllib errors
 
10003
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
10004
  This allows debuging of actual errors. (Robert Collins)
 
10005
 
 
10006
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
10007
  to apis like 'put', 'get' and 'has'. This is to provide consistent
 
10008
  behaviour - it operates on url's only. (Robert Collins)
 
10009
 
 
10010
* Transports can register using ``register_lazy_transport``, and they
 
10011
  will be loaded when first used.  (Martin Pool)
 
10012
 
 
10013
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
10014
  is called by ``merge_inner``. This is so that the conflict count can be
 
10015
  retrieved (and potentially manipulated) before returning to the caller
 
10016
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
10017
  caller. (Robert Collins)
 
10018
 
 
10019
* ``revision.revision_graph`` can handle having only partial history for
 
10020
  a revision - that is no revisions in the graph with no parents.
 
10021
  (Robert Collins).
 
10022
 
 
10023
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
10024
  produce a branch and a list of paths, relative to that branch
 
10025
  (Aaron Bentley)
 
10026
 
 
10027
* New TestCase.addCleanup facility.
 
10028
 
 
10029
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
10030
  which can be used by programs importing bzrlib.
 
10031
 
 
10032
Bug Fixes
 
10033
*********
 
10034
 
 
10035
* Better handling of branches in directories with non-ascii names.
 
10036
  (Joel Rosdahl, Panagiotis Papadakos)
 
10037
 
 
10038
* Upgrades of trees with no commits will not fail due to accessing
 
10039
  [-1] in the revision-history. (Andres Salomon)
 
10040
 
 
10041
 
 
10042
bzr 0.1.1
 
10043
#########
 
10044
 
 
10045
:Released: 2005-10-12
 
10046
 
 
10047
Bug Fixes
 
10048
*********
 
10049
 
 
10050
* Fix problem in pulling over http from machines that do not
 
10051
  allow directories to be listed.
 
10052
 
 
10053
* Avoid harmless warning about invalid hash cache after
 
10054
  upgrading branch format.
 
10055
 
 
10056
Performance
 
10057
***********
 
10058
 
 
10059
* Avoid some unnecessary http operations in branch and pull.
 
10060
 
 
10061
 
 
10062
bzr 0.1
 
10063
#######
 
10064
 
 
10065
:Released: 2005-10-11
 
10066
 
 
10067
Notes
 
10068
*****
 
10069
 
 
10070
* 'bzr branch' over http initially gives a very high estimate
 
10071
  of completion time but it should fall as the first few
 
10072
  revisions are pulled in.  branch is still slow on
 
10073
  high-latency connections.
 
10074
 
 
10075
Bug Fixes
 
10076
*********
 
10077
 
 
10078
* bzr-man.py has been updated to work again. Contributed by
 
10079
  Rob Weir.
 
10080
 
 
10081
* Locking is now done with fcntl.lockf which works with NFS
 
10082
  file systems. Contributed by Harald Meland.
 
10083
 
 
10084
* When a merge encounters a file that has been deleted on
 
10085
  one side and modified on the other, the old contents are
 
10086
  written out to foo.BASE and foo.SIDE, where SIDE is this
 
10087
  or OTHER. Contributed by Aaron Bentley.
 
10088
 
 
10089
* Export was choosing incorrect file paths for the content of
 
10090
  the tarball, this has been fixed by Aaron Bentley.
 
10091
 
 
10092
* Commit will no longer commit without a log message, an
 
10093
  error is returned instead. Contributed by Jelmer Vernooij.
 
10094
 
 
10095
* If you commit a specific file in a sub directory, any of its
 
10096
  parent directories that are added but not listed will be
 
10097
  automatically included. Suggested by Michael Ellerman.
 
10098
 
 
10099
* bzr commit and upgrade did not correctly record new revisions
 
10100
  for files with only a change to their executable status.
 
10101
  bzr will correct this when it encounters it. Fixed by
 
10102
  Robert Collins
 
10103
 
 
10104
* HTTP tests now force off the use of ``http_proxy`` for the duration.
 
10105
  Contributed by Gustavo Niemeyer.
 
10106
 
 
10107
* Fix problems in merging weave-based branches that have
 
10108
  different partial views of history.
 
10109
 
 
10110
* Symlink support: working with symlinks when not in the root of a
 
10111
  bzr tree was broken, patch from Scott James Remnant.
 
10112
 
 
10113
Improvements
 
10114
************
 
10115
 
 
10116
* 'branch' now accepts a --basis parameter which will take advantage
 
10117
  of local history when making a new branch. This allows faster
 
10118
  branching of remote branches. Contributed by Aaron Bentley.
 
10119
 
 
10120
* New tree format based on weave files, called version 5.
 
10121
  Existing branches can be upgraded to this format using
 
10122
  'bzr upgrade'.
 
10123
 
 
10124
* Symlinks are now versionable. Initial patch by
 
10125
  Erik Toubro Nielsen, updated to head by Robert Collins.
 
10126
 
 
10127
* Executable bits are tracked on files. Patch from Gustavo
 
10128
  Niemeyer.
 
10129
 
 
10130
* 'bzr status' now shows unknown files inside a selected directory.
 
10131
  Patch from Heikki Paajanen.
 
10132
 
 
10133
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
10134
  and 'resolve' have needed added, which list and remove those
 
10135
  merge conflicts respectively. A conflicted tree cannot be committed
 
10136
  in. Contributed by Aaron Bentley.
 
10137
 
 
10138
* 'rm' is now an alias for 'remove'.
 
10139
 
 
10140
* Stores now split out their content in a single byte prefixed hash,
 
10141
  dropping the density of files per directory by 256. Contributed by
 
10142
  Gustavo Niemeyer.
 
10143
 
 
10144
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
10145
  Contributed by Robert Collins.
 
10146
 
 
10147
* 'bzr log' with the default formatter will show merged revisions,
 
10148
  indented to the right. Initial implementation contributed by Gustavo
 
10149
  Niemeyer, made incremental by Robert Collins.
 
10150
 
 
10151
 
 
10152
Internals
 
10153
*********
 
10154
 
 
10155
* Test case failures have the exception printed after the log
 
10156
  for your viewing pleasure.
 
10157
 
 
10158
* InventoryEntry is now an abstract base class, use one of the
 
10159
  concrete InventoryDirectory etc classes instead.
 
10160
 
 
10161
* Branch raises an UnsupportedFormatError when it detects a
 
10162
  bzr branch it cannot understand. This allows for precise
 
10163
  handling of such circumstances.
 
10164
 
 
10165
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
10166
  list of their ids and ``parent_sha1s`` is a list of their corresponding
 
10167
  sha1s (for old branches only at the moment.)
 
10168
 
 
10169
* New method-object style interface for Commit() and Fetch().
 
10170
 
 
10171
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
10172
  we call them revisions not patches.
 
10173
 
 
10174
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
10175
  directory is created if it doesn't exist.
 
10176
 
 
10177
* Inventories now identify the files which were present by
 
10178
  giving the revision *of that file*.
 
10179
 
 
10180
* Inventory and Revision XML contains a version identifier.
 
10181
  This must be consistent with the overall branch version
 
10182
  but allows for more flexibility in future upgrades.
 
10183
 
 
10184
Testing
 
10185
*******
 
10186
 
 
10187
* Removed testsweet module so that tests can be run after
 
10188
  bzr installed by 'bzr selftest'.
 
10189
 
 
10190
* 'bzr selftest' command-line arguments can now be partial ids
 
10191
  of tests to run, e.g. ``bzr selftest test_weave``
 
10192
 
 
10193
 
 
10194
bzr 0.0.9
 
10195
#########
 
10196
 
 
10197
:Released: 2005-09-23
 
10198
 
 
10199
Bug Fixes
 
10200
*********
 
10201
 
 
10202
* Fixed "branch -r" option.
 
10203
 
 
10204
* Fix remote access to branches containing non-compressed history.
 
10205
  (Robert Collins).
 
10206
 
 
10207
* Better reliability of http server tests.  (John Arbash-Meinel)
 
10208
 
 
10209
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
10210
 
 
10211
* Various minor bug in windows support have been fixed, largely in the
 
10212
  test suite. Contributed by Alexander Belchenko.
 
10213
 
 
10214
Improvements
 
10215
************
 
10216
 
 
10217
* Status now accepts a -r argument to give status between chosen
 
10218
  revisions. Contributed by Heikki Paajanen.
 
10219
 
 
10220
* Revision arguments no longer use +/-/= to control ranges, instead
 
10221
  there is a 'before' namespace, which limits the successive namespace.
 
10222
  For example '$ bzr log -r date:yesterday..before:date:today' will
 
10223
  select everything from yesterday and before today. Contributed by
 
10224
  Robey Pointer
 
10225
 
 
10226
* There is now a bzr.bat file created by distutils when building on
 
10227
  Windows. Contributed by Alexander Belchenko.
 
10228
 
 
10229
Internals
 
10230
*********
 
10231
 
 
10232
* Removed uuid() as it was unused.
 
10233
 
 
10234
* Improved 'fetch' code for pulling revisions from one branch into
 
10235
  another (used by pull, merged, etc.)
 
10236
 
 
10237
 
 
10238
bzr 0.0.8
 
10239
#########
 
10240
 
 
10241
:Released: 2005-09-20
 
10242
 
 
10243
 
 
10244
Improvements
 
10245
************
 
10246
 
 
10247
* Adding a file whose parent directory is not versioned will
 
10248
  implicitly add the parent, and so on up to the root. This means
 
10249
  you should never need to explictly add a directory, they'll just
 
10250
  get added when you add a file in the directory.  Contributed by
 
10251
  Michael Ellerman.
 
10252
 
 
10253
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
10254
  (Nir Soffer)
 
10255
 
 
10256
* If you set ``BZR_EDITOR`` in the environment, it is checked in
 
10257
  preference to EDITOR and the config file for the interactive commit
 
10258
  editing program. Related to this is a bugfix where a missing program
 
10259
  set in EDITOR would cause editing to fail, now the fallback program
 
10260
  for the operating system is still tried.
 
10261
 
 
10262
* Files that are not directories/symlinks/regular files will no longer
 
10263
  cause bzr to fail, it will just ignore them by default. You cannot add
 
10264
  them to the tree though - they are not versionable.
 
10265
 
 
10266
 
 
10267
Internals
 
10268
*********
 
10269
 
 
10270
* Refactor xml packing/unpacking.
 
10271
 
 
10272
Bug Fixes
 
10273
*********
 
10274
 
 
10275
* Fixed 'bzr mv' by Ollie Rutherfurd.
 
10276
 
 
10277
* Fixed strange error when trying to access a nonexistent http
 
10278
  branch.
 
10279
 
 
10280
* Make sure that the hashcache gets written out if it can't be
 
10281
  read.
 
10282
 
 
10283
 
 
10284
Portability
 
10285
***********
 
10286
 
 
10287
* Various Windows fixes from Ollie Rutherfurd.
 
10288
 
 
10289
* Quieten warnings about locking; patch from Matt Lavin.
 
10290
 
 
10291
 
 
10292
bzr-0.0.7
 
10293
#########
 
10294
 
 
10295
:Released: 2005-09-02
 
10296
 
 
10297
New Features
 
10298
************
 
10299
 
 
10300
* ``bzr shell-complete`` command contributed by Clint Adams to
 
10301
  help with intelligent shell completion.
 
10302
 
 
10303
* New expert command ``bzr find-merge-base`` for debugging merges.
 
10304
 
 
10305
 
 
10306
Enhancements
 
10307
************
 
10308
 
 
10309
* Much better merge support.
 
10310
 
 
10311
* merge3 conflicts are now reported with markers like '<<<<<<<'
 
10312
  (seven characters) which is the same as CVS and pleases things
 
10313
  like emacs smerge.
 
10314
 
 
10315
 
 
10316
Bug Fixes
 
10317
*********
 
10318
 
 
10319
* ``bzr upgrade`` no longer fails when trying to fix trees that
 
10320
  mention revisions that are not present.
 
10321
 
 
10322
* Fixed bugs in listing plugins from ``bzr plugins``.
 
10323
 
 
10324
* Fix case of $EDITOR containing options for the editor.
 
10325
 
 
10326
* Fix log -r refusing to show the last revision.
 
10327
  (Patch from Goffredo Baroncelli.)
 
10328
 
 
10329
 
 
10330
Changes
 
10331
*******
 
10332
 
 
10333
* ``bzr log --show-ids`` shows the revision ids of all parents.
 
10334
 
 
10335
* Externally provided commands on your $BZRPATH no longer need
 
10336
  to recognize --bzr-usage to work properly, and can just handle
 
10337
  --help themselves.
 
10338
 
 
10339
 
 
10340
Library
 
10341
*******
 
10342
 
 
10343
* Changed trace messages to go through the standard logging
 
10344
  framework, so that they can more easily be redirected by
 
10345
  libraries.
 
10346
 
 
10347
 
 
10348
 
 
10349
bzr-0.0.6
 
10350
#########
 
10351
 
 
10352
:Released: 2005-08-18
 
10353
 
 
10354
New Features
 
10355
************
 
10356
 
 
10357
* Python plugins, automatically loaded from the directories on
 
10358
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
10359
 
 
10360
* New 'bzr mkdir' command.
 
10361
 
 
10362
* Commit mesage is fetched from an editor if not given on the
 
10363
  command line; patch from Torsten Marek.
 
10364
 
 
10365
* ``bzr log -m FOO`` displays commits whose message matches regexp
 
10366
  FOO.
 
10367
 
 
10368
* ``bzr add`` with no arguments adds everything under the current directory.
 
10369
 
 
10370
* ``bzr mv`` does move or rename depending on its arguments, like
 
10371
  the Unix command.
 
10372
 
 
10373
* ``bzr missing`` command shows a summary of the differences
 
10374
  between two trees.  (Merged from John Arbash-Meinel.)
 
10375
 
 
10376
* An email address for commits to a particular tree can be
 
10377
  specified by putting it into .bzr/email within a branch.  (Based
 
10378
  on a patch from Heikki Paajanen.)
 
10379
 
 
10380
 
 
10381
Enhancements
 
10382
************
 
10383
 
 
10384
* Faster working tree operations.
 
10385
 
 
10386
 
 
10387
Changes
 
10388
*******
 
10389
 
 
10390
* 3rd-party modules shipped with bzr are copied within the bzrlib
 
10391
  python package, so that they can be installed by the setup
 
10392
  script without clashing with anything already existing on the
 
10393
  system.  (Contributed by Gustavo Niemeyer.)
 
10394
 
 
10395
* Moved plugins directory to bzrlib/, so that there's a standard
 
10396
  plugin directory which is not only installed with bzr itself but
 
10397
  is also available when using bzr from the development tree.
 
10398
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
10399
  standard plugins directory.
 
10400
 
 
10401
* When exporting to a tarball with ``bzr export --format tgz``, put
 
10402
  everything under a top directory rather than dumping it into the
 
10403
  current directory.   This can be overridden with the ``--root``
 
10404
  option.  Patch from William Dodé and John Meinel.
 
10405
 
 
10406
* New ``bzr upgrade`` command to upgrade the format of a branch,
 
10407
  replacing ``bzr check --update``.
 
10408
 
 
10409
* Files within store directories are no longer marked readonly on
 
10410
  disk.
 
10411
 
 
10412
* Changed ``bzr log`` output to a more compact form suggested by
 
10413
  John A Meinel.  Old format is available with the ``--long`` or
 
10414
  ``-l`` option, patched by William Dodé.
 
10415
 
 
10416
* By default the commit command refuses to record a revision with
 
10417
  no changes unless the ``--unchanged`` option is given.
 
10418
 
 
10419
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
10420
  line options must come before the command name because they
 
10421
  affect what commands are available; all other options must come
 
10422
  after the command name because their interpretation depends on
 
10423
  it.
 
10424
 
 
10425
* ``branch`` and ``clone`` added as aliases for ``branch``.
 
10426
 
 
10427
* Default log format is back to the long format; the compact one
 
10428
  is available with ``--short``.
 
10429
 
 
10430
 
 
10431
Bug Fixes
 
10432
*********
 
10433
 
 
10434
* Fix bugs in committing only selected files or within a subdirectory.
 
10435
 
 
10436
 
 
10437
bzr-0.0.5
 
10438
#########
 
10439
 
 
10440
:Released:  2005-06-15
 
10441
 
 
10442
Changes
 
10443
*******
 
10444
 
 
10445
* ``bzr`` with no command now shows help rather than giving an
 
10446
  error.  Suggested by Michael Ellerman.
 
10447
 
 
10448
* ``bzr status`` output format changed, because svn-style output
 
10449
  doesn't really match the model of bzr.  Now files are grouped by
 
10450
  status and can be shown with their IDs.  ``bzr status --all``
 
10451
  shows all versioned files and unknown files but not ignored files.
 
10452
 
 
10453
* ``bzr log`` runs from most-recent to least-recent, the reverse
 
10454
  of the previous order.  The previous behaviour can be obtained
 
10455
  with the ``--forward`` option.
 
10456
 
 
10457
* ``bzr inventory`` by default shows only filenames, and also ids
 
10458
  if ``--show-ids`` is given, in which case the id is the second
 
10459
  field.
 
10460
 
 
10461
 
 
10462
Enhancements
 
10463
************
 
10464
 
 
10465
* New 'bzr whoami --email' option shows only the email component
 
10466
  of the user identification, from Jo Vermeulen.
 
10467
 
 
10468
* New ``bzr ignore PATTERN`` command.
 
10469
 
 
10470
* Nicer error message for broken pipe, interrupt and similar
 
10471
  conditions that don't indicate an internal error.
 
10472
 
 
10473
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
10474
 
 
10475
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
10476
  either read or write mode.
 
10477
 
 
10478
* New option ``bzr log --show-ids`` shows revision and file ids.
 
10479
 
 
10480
* New usage ``bzr log FILENAME`` shows only revisions that
 
10481
  affected that file.
 
10482
 
 
10483
* Changed format for describing changes in ``bzr log -v``.
 
10484
 
 
10485
* New option ``bzr commit --file`` to take a message from a file,
 
10486
  suggested by LarstiQ.
 
10487
 
 
10488
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
10489
  Oler.  File may be in a branch other than the working directory.
 
10490
 
 
10491
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
10492
  a filename.
 
10493
 
 
10494
* Commands can now be defined by external programs or scripts
 
10495
  in a directory on $BZRPATH.
 
10496
 
 
10497
* New "stat cache" avoids reading the contents of files if they
 
10498
  haven't changed since the previous time.
 
10499
 
 
10500
* If the Python interpreter is too old, try to find a better one
 
10501
  or give an error.  Based on a patch from Fredrik Lundh.
 
10502
 
 
10503
* New optional parameter ``bzr info [BRANCH]``.
 
10504
 
 
10505
* New form ``bzr commit SELECTED`` to commit only selected files.
 
10506
 
 
10507
* New form ``bzr log -r FROM:TO`` shows changes in selected
 
10508
  range; contributed by John A Meinel.
 
10509
 
 
10510
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
10511
  options through to an external GNU diff.
 
10512
 
 
10513
* New option ``bzr add --no-recurse`` to add a directory but not
 
10514
  their contents.
 
10515
 
 
10516
* ``bzr --version`` now shows more information if bzr is being run
 
10517
  from a branch.
 
10518
 
 
10519
 
 
10520
Bug Fixes
 
10521
*********
 
10522
 
 
10523
* Fixed diff format so that added and removed files will be
 
10524
  handled properly by patch.  Fix from Lalo Martins.
 
10525
 
 
10526
* Various fixes for files whose names contain spaces or other
 
10527
  metacharacters.
 
10528
 
 
10529
 
 
10530
Testing
 
10531
*******
 
10532
 
 
10533
* Converted black-box test suites from Bourne shell into Python;
 
10534
  now run using ``./testbzr``.  Various structural improvements to
 
10535
  the tests.
 
10536
 
 
10537
* testbzr by default runs the version of bzr found in the same
 
10538
  directory as the tests, or the one given as the first parameter.
 
10539
 
 
10540
* testbzr also runs the internal tests, so the only command
 
10541
  required to check is just ``./testbzr``.
 
10542
 
 
10543
* testbzr requires python2.4, but can be used to test bzr running
 
10544
  under a different version.
 
10545
 
 
10546
* Tests added for many other changes in this release.
 
10547
 
 
10548
 
 
10549
Internal
 
10550
********
 
10551
 
 
10552
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
10553
 
 
10554
* Refactor command functions into Command objects based on HCT by
 
10555
  Scott James Remnant.
 
10556
 
 
10557
* Better help messages for many commands.
 
10558
 
 
10559
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
10560
  this is called trace messages are just discarded.
 
10561
 
 
10562
* New internal function ``find_touching_revisions()`` and hidden
 
10563
  command touching-revisions trace the changes to a given file.
 
10564
 
 
10565
* Simpler and faster ``compare_inventories()`` function.
 
10566
 
 
10567
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
10568
 
 
10569
* New AtomicFile class.
 
10570
 
 
10571
* New developer commands ``added``, ``modified``.
 
10572
 
 
10573
 
 
10574
Portability
 
10575
***********
 
10576
 
 
10577
* Cope on Windows on python2.3 by using the weaker random seed.
 
10578
  2.4 is now only recommended.
 
10579
 
 
10580
 
 
10581
bzr-0.0.4
 
10582
#########
 
10583
 
 
10584
:Released:  2005-04-22
 
10585
 
 
10586
Enhancements
 
10587
************
 
10588
 
 
10589
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
10590
  basic.  Patch from QuantumG.
 
10591
 
 
10592
* More default ignore patterns.
 
10593
 
 
10594
* New 'bzr log --verbose' shows a list of files changed in the
 
10595
  changeset.  Patch from Sebastian Cote.
 
10596
 
 
10597
* Roll over ~/.bzr.log if it gets too large.
 
10598
 
 
10599
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
10600
  by Jason Diamon.
 
10601
 
 
10602
* New 'bzr help commands' based on a patch from Denys Duchier.
 
10603
 
 
10604
 
 
10605
Changes
 
10606
*******
 
10607
 
 
10608
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
10609
  or $EMAIL.  All are decoded by the locale preferred encoding.
 
10610
  If none of these are present user@hostname is used.  The host's
 
10611
  fully-qualified name is not used because that tends to fail when
 
10612
  there are DNS problems.
 
10613
 
 
10614
* New 'bzr whoami' command instead of username user-email.
 
10615
 
 
10616
 
 
10617
Bug Fixes
 
10618
*********
 
10619
 
 
10620
* Make commit safe for hardlinked bzr trees.
 
10621
 
 
10622
* Some Unicode/locale fixes.
 
10623
 
 
10624
* Partial workaround for ``difflib.unified_diff`` not handling
 
10625
  trailing newlines properly.
 
10626
 
 
10627
 
 
10628
Internal
 
10629
********
 
10630
 
 
10631
* Allow docstrings for help to be in PEP0257 format.  Patch from
 
10632
  Matt Brubeck.
 
10633
 
 
10634
* More tests in test.sh.
 
10635
 
 
10636
* Write profile data to a temporary file not into working
 
10637
  directory and delete it when done.
 
10638
 
 
10639
* Smaller .bzr.log with process ids.
 
10640
 
 
10641
 
 
10642
Portability
 
10643
***********
 
10644
 
 
10645
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
10646
  Bennetts.
 
10647
 
 
10648
* Some improvements in handling paths on Windows, based on a patch
 
10649
  from QuantumG.
 
10650
 
 
10651
 
 
10652
bzr-0.0.3
 
10653
#########
 
10654
 
 
10655
:Released:  2005-04-06
 
10656
 
 
10657
Enhancements
 
10658
************
 
10659
 
 
10660
* New "directories" internal command lists versioned directories
 
10661
  in the tree.
 
10662
 
 
10663
* Can now say "bzr commit --help".
 
10664
 
 
10665
* New "rename" command to rename one file to a different name
 
10666
  and/or directory.
 
10667
 
 
10668
* New "move" command to move one or more files into a different
 
10669
  directory.
 
10670
 
 
10671
* New "renames" command lists files renamed since base revision.
 
10672
 
 
10673
* New cat command contributed by janmar.
 
10674
 
 
10675
Changes
 
10676
*******
 
10677
 
 
10678
* .bzr.log is placed in $HOME (not pwd) and is always written in
 
10679
  UTF-8.  (Probably not a completely good long-term solution, but
 
10680
  will do for now.)
 
10681
 
 
10682
Portability
 
10683
***********
 
10684
 
 
10685
* Workaround for difflib bug in Python 2.3 that causes an
 
10686
  exception when comparing empty files.  Reported by Erik Toubro
 
10687
  Nielsen.
 
10688
 
 
10689
Internal
 
10690
********
 
10691
 
 
10692
* Refactored inventory storage to insert a root entry at the top.
 
10693
 
 
10694
Testing
 
10695
*******
 
10696
 
 
10697
* Start of shell-based black-box testing in test.sh.
 
10698
 
 
10699
 
 
10700
bzr-0.0.2.1
 
10701
###########
 
10702
 
 
10703
Portability
 
10704
***********
 
10705
 
 
10706
* Win32 fixes from Steve Brown.
 
10707
 
 
10708
 
 
10709
bzr-0.0.2
 
10710
#########
 
10711
 
 
10712
:Codename: "black cube"
 
10713
:Released: 2005-03-31
 
10714
 
 
10715
Enhancements
 
10716
************
 
10717
 
 
10718
* Default ignore list extended (see bzrlib/__init__.py).
 
10719
 
 
10720
* Patterns in .bzrignore are now added to the default ignore list,
 
10721
  rather than replacing it.
 
10722
 
 
10723
* Ignore list isn't reread for every file.
 
10724
 
 
10725
* More help topics.
 
10726
 
 
10727
* Reinstate the 'bzr check' command to check invariants of the
 
10728
  branch.
 
10729
 
 
10730
* New 'ignored' command lists which files are ignored and why;
 
10731
  'deleted' lists files deleted in the current working tree.
 
10732
 
 
10733
* Performance improvements.
 
10734
 
 
10735
* New global --profile option.
 
10736
 
 
10737
* Ignore patterns like './config.h' now correctly match files in
 
10738
  the root directory only.
 
10739
 
 
10740
 
 
10741
bzr-0.0.1
 
10742
#########
 
10743
 
 
10744
:Released:  2005-03-26
 
10745
 
 
10746
Enhancements
 
10747
************
 
10748
 
 
10749
* More information from info command.
 
10750
 
 
10751
* Can now say "bzr help COMMAND" for more detailed help.
 
10752
 
 
10753
* Less file flushing and faster performance when writing logs and
 
10754
  committing to stores.
 
10755
 
 
10756
* More useful verbose output from some commands.
 
10757
 
 
10758
Bug Fixes
 
10759
*********
 
10760
 
 
10761
* Fix inverted display of 'R' and 'M' during 'commit -v'.
 
10762
 
 
10763
Portability
 
10764
***********
 
10765
 
 
10766
* Include a subset of ElementTree-1.2.20040618 to make
 
10767
  installation easier.
 
10768
 
 
10769
* Fix time.localtime call to work with Python 2.3 (the minimum
 
10770
  supported).
 
10771
 
 
10772
 
 
10773
bzr-0.0.0.69
 
10774
############
 
10775
 
 
10776
:Released:  2005-03-22
 
10777
 
 
10778
Enhancements
 
10779
************
 
10780
 
 
10781
* First public release.
 
10782
 
 
10783
* Storage of local versions: init, add, remove, rm, info, log,
 
10784
  diff, status, etc.
 
10785
 
 
10786
..
 
10787
   vim: tw=74 ft=rst ff=unix