/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-02-11 04:02:41 UTC
  • mfrom: (5017.2.2 tariff)
  • Revision ID: pqm@pqm.ubuntu.com-20100211040241-w6n021dz0uus341n
(mbp) add import-tariff tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
Bazaar Release Notes
 
3
####################
 
4
 
 
5
.. contents:: List of Releases
 
6
   :depth: 1
 
7
 
 
8
bzr 2.2.0b1 (not released yet)
 
9
##############################
 
10
 
 
11
:Codename: ???
 
12
:2.2.0b1: ???
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
* ``Repository.get_inventory_sha1()`` has been removed. (Jelmer Vernooij)
 
18
 
 
19
New Features
 
20
************
 
21
 
 
22
* If the Apport crash-reporting tool is available, bzr crashes are now
 
23
  stored into the ``/var/crash`` apport spool directory, and the user is
 
24
  invited to report them to the developers from there, either
 
25
  automatically or by running ``apport-bug``.  No information is sent
 
26
  without specific permission from the user.  (Martin Pool, #515052)
 
27
 
 
28
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
 
29
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
 
30
  as resolved is still accessible via the ``--done`` default action.
 
31
  (Vincent Ladeuil)
 
32
 
 
33
Bug Fixes
 
34
*********
 
35
 
 
36
* Added docstring for ``Tree.iter_changes``
 
37
  (John Arbash Meinel, #304182)
 
38
 
 
39
* Allow exporting a single file using ``bzr export``.
 
40
  (Michal Junák, #511987)
 
41
 
 
42
* Avoid infinite recursion when probing for apport.
 
43
  (Vincent Ladeuil, #516934)
 
44
 
 
45
* Network transfer amounts and rates are now displayed in SI units according
 
46
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
 
47
  (Gordon Tyler, #514399)
 
48
 
 
49
API Changes
 
50
***********
 
51
 
 
52
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
 
53
  run when starting up; it sets up several things that previously needed
 
54
  to be done separately.
 
55
  (Martin Pool, #507710)
 
56
 
 
57
* Remove unused ``CommandFailed`` exception.
 
58
  (Martin Pool)
 
59
 
 
60
Testing
 
61
*******
 
62
 
 
63
* New `bzrlib.tests.test_import_tariff` can make assertions about what
 
64
  Python modules are loaded, to guard against startup time or library
 
65
  dependency regressions.
 
66
  (Martin Pool)
 
67
 
 
68
* Stop sending apport crash files to ``.cache`` in the directory from
 
69
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
 
70
 
 
71
bzr 2.1.0 (not released yet)
 
72
############################
 
73
 
 
74
:Codename: 
 
75
:2.1.0: 
 
76
 
 
77
Bug Fixes
 
78
*********
 
79
 
 
80
* Don't require testtools to use sftp.
 
81
  (Vincent Ladeuil, #516183)
 
82
 
 
83
* Fix "AttributeError in Inter1and2Helper" during fetch.
 
84
  (Martin Pool, #513432)
 
85
 
 
86
* Fix ``log`` to better check ancestors even if merged revisions are involved.
 
87
  (Vincent Ladeuil, #476293)
 
88
 
 
89
* Give a better error message when doing ``bzr bind`` in an already bound
 
90
  branch.  (Neil Martinsen-Burrell, #513063)
 
91
 
 
92
* Set the mtime of files exported to a directory by ``bzr export`` all to
 
93
  the same value to avoid confusing ``make`` and other date-based build
 
94
  systems. (Robert Collins, #515631)
 
95
 
 
96
* ``bzr update`` performs the two merges in a more logical order and will stop
 
97
  when it encounters conflicts.  
 
98
  (Gerard Krol, #113809)
 
99
 
 
100
Improvements
 
101
************
 
102
 
 
103
* Fetching into experimental formats will now print a warning. (Jelmer
 
104
  Vernooij)
 
105
 
 
106
Documentation
 
107
*************
 
108
 
 
109
API Changes
 
110
***********
 
111
 
 
112
* ``Repository.deserialise_inventory`` has been renamed to 
 
113
  ``Repository._deserialise_inventory`` to indicate it is private.
 
114
  (Jelmer Vernooij)
 
115
 
 
116
* ``Repository.get_inventory_xml`` has been renamed to 
 
117
  ``Repository._get_inventory_xml`` to indicate it is private. 
 
118
  (Jelmer Vernooij)
 
119
 
 
120
* ``Repository.serialise_inventory`` has been renamed to 
 
121
  ``Repository._serialise_inventory`` to indicate it is private.
 
122
 
 
123
Internals
 
124
*********
 
125
 
 
126
Testing
 
127
*******
 
128
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
 
129
  same time was broken due to race conditions with a module level page
 
130
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
 
131
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
 
132
  the same high level objects such as ``bzrlib.repository.Repository``
 
133
  from different threads. chk_map now uses a thread local cache which may
 
134
  increase memory pressure on processes using threads.
 
135
  (Robert Collins, John Arbash Meinel, #514090)
 
136
 
 
137
* The new ``merge_file_content`` should now be ok with tests to avoid
 
138
  regressions.
 
139
  (Vincent Ladeuil, #515597)
 
140
 
 
141
bzr 2.1.0rc2
 
142
############
 
143
 
 
144
:Codename: after the bubbles
 
145
:2.1.0rc2: 2010-01-29
 
146
 
 
147
This is a quick-turn-around to update a small issue with our new per-file
 
148
merge hook. We expect no major changes from this to the final 2.1.0.
 
149
 
 
150
API Changes
 
151
***********
 
152
 
 
153
* The new ``merge_file_content`` hook point has been altered to provide a
 
154
  better API where state for extensions can be stored rather than the
 
155
  too-simple function based approach. This fixes a performance regression
 
156
  where branch configuration would be parsed per-file during merge. As
 
157
  part of this the included news_merger has been refactored into a base
 
158
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
 
159
  (Robert Collins, John Arbash Meinel, #513822)
 
160
 
 
161
 
 
162
bzr 2.1.0rc1
 
163
############
 
164
 
 
165
:Codename: the 'new' stable
 
166
:2.1.0rc1: 2009-01-21
 
167
 
 
168
This is the first stable release candidate for Bazaar's 2.1 series. From
 
169
this point onwards, the 2.1 series will be considered stable (as the 2.0
 
170
series) and only bugfixes are expected to be incorporated. The dozen or so
 
171
bugfixes in the 2.0.4 release are also included in this release (along
 
172
with more than 15 more bugfixes). Some of the interesting features are
 
173
support for per-file merge hooks, ``bzr unshelve --preview``, support
 
174
for using ! in ignore files to exclude files from being ignored, a small
 
175
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
 
176
This looks to be a very good start for a new stable series.
 
177
 
 
178
 
 
179
New Features
 
180
************
 
181
 
 
182
* Add bug information to log output when available.
 
183
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
 
184
 
 
185
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
 
186
  to register custom merge logic, e.g. to provide smarter merging for
 
187
  particular files.
 
188
 
 
189
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
 
190
  default, to enable it add a ``news_merge_files`` option to your
 
191
  configuration.  Consult ``bzr help news_merge`` for more information.
 
192
  (Andrew Bennetts)
 
193
  
 
194
* ``bzr branch`` now takes a ``--bind`` option. This lets you
 
195
  branch and bind all in one command. (Ian Clatworthy)
 
196
 
 
197
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
 
198
  a specific revision of a branch. (Daniel Watkins, #183559)
 
199
 
 
200
* ``bzr unshelve --preview`` can now be used to show how a patch on the
 
201
  shelf would be applied to the working tree.
 
202
  (Guilherme Salgado, #308122)
 
203
 
 
204
* ``bzr update`` now takes a ``--revision`` argument. This lets you
 
205
  change the revision of the working tree to any revision in the
 
206
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
 
207
  Martin Pool, #45719)
 
208
 
 
209
* ``-Dbytes`` can now be used to display the total number of bytes
 
210
  transferred for the current command. This information is always logged
 
211
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
 
212
 
 
213
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
 
214
  ignore patterns and take precedence over regular ignores.  Such 
 
215
  exceptions are used to specify files that should be versioned which 
 
216
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
 
217
  ignore patterns, but have highest precedence, even over the '!' 
 
218
  exception patterns. (John Whitley, #428031)
 
219
 
 
220
* The ``supress_warnings`` configuration option has been introduced to disable
 
221
  various warnings (it currently only supports the ``format_deprecation``
 
222
  warning). The new option can be set in any of the following locations:
 
223
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
 
224
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
 
225
 
 
226
Bug Fixes
 
227
*********
 
228
 
 
229
* Always show a message if an OS error occurs while trying to run a
 
230
  user-specified commit message editor.
 
231
  (Martin Pool, #504842)
 
232
 
 
233
* ``bzr diff`` will now use the epoch when it is unable to determine 
 
234
  the timestamp of a file, if the revision it was introduced in is a
 
235
  ghost. (Jelmer Vernooij, #295611)
 
236
 
 
237
* ``bzr switch -b`` can now create branches that are located using directory
 
238
  services such as ``lp:``, even when the branch name doesn't contain a
 
239
  '/'.  (Neil Martinsen-Burrell, #495263)
 
240
 
 
241
* ``bzr unshelve`` has improved messages about what it is doing.
 
242
  (Neil Martinsen-Burrell, #496917)
 
243
 
 
244
* Concurrent autopacking is more resilient to already-renamed pack files.
 
245
  If we find that a file we are about to obsolete is already obsoleted, we
 
246
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
247
  The code is also fault tolerant if a file goes missing, assuming that
 
248
  another process already removed the file.
 
249
  (John Arbash Meinel, Gareth White, #507557)
 
250
 
 
251
* Fix "Too many concurrent requests" in reconcile when network connection
 
252
  fails.  (Andrew Bennetts, #503878)
 
253
 
 
254
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
 
255
  that caused some tests to fail when run in a non-default order.
 
256
  Probably no user impact.  (Martin Pool, #504102)
 
257
 
 
258
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
 
259
  (Andrew Bennetts, #506274)
 
260
 
 
261
* FTP transports support Unicode paths by encoding/decoding them as utf8.
 
262
  (Vincent Ladeuil, #472161)
 
263
 
 
264
* Listen to the SIGWINCH signal to update the terminal width.
 
265
  (Vincent Ladeuil, #316357)
 
266
 
 
267
* Progress bars are now hidden when ``--quiet`` is given.
 
268
  (Martin Pool, #320035)
 
269
 
 
270
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
 
271
  whatever is written to it.  This un-breaks some plugin tests that
 
272
  depended on this behaviour.
 
273
  (Martin Pool, #499757)
 
274
 
 
275
* When operations update the working tree, all affected files should end
 
276
  up with the same mtime. (eg. when versioning a generated file, if you
 
277
  update the source and the generated file together, the generated file
 
278
  should appear up-to-date.)
 
279
  (John Arbash Meinel, Martin <gzlist>, #488724)
 
280
 
 
281
Improvements
 
282
************
 
283
 
 
284
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
 
285
  All the builtin commands now use ``add_cleanup`` rather than
 
286
  ``try``/``finally`` blocks where applicable as it is simpler and more
 
287
  robust.  (Andrew Bennetts)
 
288
 
 
289
* All except a small number of storage formats are now hidden, making
 
290
  the help for numerous commands far more digestible. (Ian Clatworthy)
 
291
 
 
292
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
 
293
  path/to/repo``) will now include "location is a repository" as a hint in
 
294
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
 
295
 
 
296
* Push will now inform the user when they are trying to push to a foreign 
 
297
  VCS for which roundtripping is not supported, and will suggest them to 
 
298
  use dpush. (Jelmer Vernooij)
 
299
 
 
300
* The version of bzr being run is now written to the log file.
 
301
  (__monty__, #257170)
 
302
 
 
303
* Transport network activity indicator is shown more of the time when
 
304
  Bazaar is doing network IO.
 
305
  (Martin Pool)
 
306
 
 
307
Documentation
 
308
*************
 
309
 
 
310
* Add documentation on creating merges with more than one parent.
 
311
  (Neil Martinsen-Burrell, #481526)
 
312
 
 
313
* Better explain the --uncommitted option of merge.
 
314
  (Neil Martinsen-Burrell, #505088)
 
315
 
 
316
* Improve discussion of pending merges in the documentation for
 
317
  ``revert``.  (Neil Martinsen-Burrell, #505093)
 
318
 
 
319
* Improved help for ``bzr send``. 
 
320
  (Martin Pool, Bojan Nikolic)
 
321
 
 
322
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
 
323
  including discussions of installation, relevant plugins, security and 
 
324
  backup. (Neil Martinsen-Burrell)
 
325
 
 
326
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
 
327
  (Ian Clatworthy)
 
328
 
 
329
* The User Reference is now presented as a series of topics.
 
330
  Many of the included topics have link and format tweaks applied.
 
331
  (Ian Clatworthy)
 
332
 
 
333
API Changes
 
334
***********
 
335
 
 
336
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
 
337
  (Andrew Bennetts)
 
338
 
 
339
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
 
340
  to be consistent with instances being lower case and classes being
 
341
  CamelCase. For the features that were more likely to be used, we added a
 
342
  deprecation thunk, but not all. (John Arbash Meinel)
 
343
 
 
344
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
 
345
  parameter in their constructors, and provide ``this_branch`` as an
 
346
  attribute. (Andrew Bennetts)
 
347
  
 
348
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
 
349
  by plugins - the original exceptions are now preserved. (Robert Collins)
 
350
 
 
351
* The Transport ``Server.tearDown`` method is now renamed to
 
352
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
 
353
  our normal naming pattern, and to avoid confusion with Python's
 
354
  ``TestCase.tearDown``.  (Martin Pool)
 
355
 
 
356
* ``WorkingTree.update`` implementations must now accept a ``revision``
 
357
  parameter.
 
358
 
 
359
Internals
 
360
*********
 
361
 
 
362
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
 
363
  a string of details (such as "location is a repository") as part of a
 
364
  ``nobranch`` response.  (Andrew Bennetts, #440952)
 
365
  
 
366
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
 
367
  objects but passes str objects straight through. This is used for
 
368
  selftest but may be useful for diff and other operations that generate
 
369
  mixed output. (Robert Collins)
 
370
 
 
371
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
 
372
  plugins. (Jelmer Vernooij)
 
373
 
 
374
Testing
 
375
*******
 
376
 
 
377
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
 
378
  running all tests in the current module, once against a pure python
 
379
  implementation, and once against an extension (pyrex/C) implementation.
 
380
  It can be used to dramatically simplify the implementation of
 
381
  ``load_tests``.  (John Arbash Meinel)
 
382
 
 
383
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
 
384
  This permits features in testtools such as getUniqueInteger and
 
385
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
 
386
  newer is now a dependency to run bzr selftest. Running with versions of
 
387
  testtools less than 0.9.2 will cause bzr to error while loading the test
 
388
  suite. (Robert Collins)
 
389
 
 
390
* Shell-like tests now support the command "mv" for moving files.  The
 
391
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
 
392
  supported.  (Neil Martinsen-Burrell)
 
393
 
 
394
* The test progress bar no longer distinguishes tests that 'errored' from
 
395
  tests that 'failed' - they're all just failures.
 
396
  (Martin Pool)
 
397
 
 
398
 
 
399
bzr 2.0.4
 
400
#########
 
401
 
 
402
:Codename: smooth sailing
 
403
:2.0.4: 2010-01-21
 
404
 
 
405
The fourth bugfix-only release in the 2.0 series contains more than a
 
406
dozen bugfixes relative to 2.0.3. The primary focus is on handling
 
407
interruptions and concurrent operations more cleanly, there is also a fair
 
408
improvement to ``bzr export`` when exporting a remote branch.
 
409
 
 
410
 
 
411
Bug Fixes
 
412
*********
 
413
 
 
414
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
 
415
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
 
416
 
 
417
* ``bzr export dir`` now requests all file content as a record stream,
 
418
  rather than requsting the file content one file-at-a-time. This can make
 
419
  exporting over the network significantly faster (54min => 9min in one
 
420
  case). (John Arbash Meinel, #343218)
 
421
 
 
422
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
423
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
424
  free resources, and it should have been using ``__dealloc__``.
 
425
  This will likely have an impact on any other process that is serving for
 
426
  an extended period of time.  (John Arbash Meinel, #494406)
 
427
 
 
428
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
429
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
430
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
431
 
 
432
* Concurrent autopacks will no longer lose a newly created pack file.
 
433
  There was a race condition, where if the reload happened at the right
 
434
  time, the second packer would forget the name of the newly added pack
 
435
  file. (John Arbash Meinel, Gareth White, #507566)
 
436
 
 
437
* Give a clearer message if the lockdir disappears after being apparently
 
438
  successfully taken.  (Martin Pool, #498378)
 
439
 
 
440
* Give a warning when fetching between repositories (local or remote) with
 
441
  sufficiently different formats that the content will need to be
 
442
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
 
443
  the user has a clue that upgrading could make it faster.
 
444
  (Martin Pool, #456077)
 
445
 
 
446
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
 
447
  than using ``warning()``. The log file is opened before logging is set
 
448
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
 
449
  users, rather than something nicer.
 
450
  (John Arbash Meinel, Barry Warsaw, #503886)
 
451
 
 
452
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
 
453
  (Martin Pool, John Arbash Meinel, #449372)
 
454
 
 
455
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
 
456
  build. (there is still the distutils bug
 
457
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
 
458
 
 
459
* The 2a format wasn't properly restarting autopacks when something
 
460
  changed underneath it (like another autopack). Now concurrent
 
461
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
462
 
 
463
* ``TreeTransform`` can now handle when a delta says that the file id for
 
464
  the tree root changes. Rather than trying to rename your working
 
465
  directory, or failing early saying that you can't have multiple
 
466
  tree roots. This also fixes revert, update, and pull when the root id
 
467
  changes.  (John Arbash Meinel, #494269, #504390)
 
468
 
 
469
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
 
470
  the right time will get propagated, rather than silently failing to move
 
471
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
 
472
 
 
473
Testing
 
474
*******
 
475
 
 
476
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
 
477
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
 
478
  rather than an ``except ?:`` clause.) This should help prevent bugs like
 
479
  bug #495023. (John Arbash Meinel)
 
480
 
 
481
 
 
482
bzr 2.1.0b4
 
483
###########
 
484
 
 
485
:Codename: san francisco airport
 
486
:2.1.0b4: 2009-12-14
 
487
 
 
488
The fourth beta release in the 2.1 series brings with it a significant
 
489
number of bugfixes (~20). The test suite is once again (finally) "green"
 
490
on Windows, and should remain that way for future releases. There are a
 
491
few performance related updates (faster upgrade and log), and several UI
 
492
tweaks. There has also been a significant number of tweaks to the runtime
 
493
documentation. 2.1.0b4 include everything from the 2.0.3 release.
 
494
 
 
495
 
 
496
Compatibility Breaks
 
497
********************
 
498
 
 
499
* The BZR_SSH environmental variable may now be set to the path of a secure
 
500
  shell client. If currently set to the value ``ssh`` it will now guess the
 
501
  vendor of the program with that name, to restore the old behaviour that
 
502
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
 
503
  string. (Martin <gzlist@googlemail.com>, #176292)
 
504
 
 
505
New Features
 
506
************
 
507
 
 
508
* ``bzr commit`` now has a ``--commit-time`` option.
 
509
  (Alexander Sack, #459276)
 
510
 
 
511
* ``-Dhpss`` now increases logging done when run on the bzr server,
 
512
  similarly to how it works on the client. (John Arbash Meinel)
 
513
 
 
514
* New option ``bzr unshelve --keep`` applies the changes and leaves them
 
515
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
 
516
 
 
517
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
 
518
  respect a given terminal width. This can be useful when output is
 
519
  redirected or in obscure cases where the default value is not
 
520
  appropriate. Pagers can use it to get a better control of the line
 
521
  lengths. 
 
522
  (Vincent Ladeuil)
 
523
 
 
524
* The new command ``bzr lp-mirror`` will request that Launchpad update its
 
525
  mirror of a local branch. This command will only function if launchpadlib
 
526
  is installed.
 
527
  (Jonathan Lange)
 
528
 
 
529
 
 
530
Bug Fixes
 
531
*********
 
532
 
 
533
* After renaming a file, the dirstate could accidentally reference
 
534
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
 
535
  source of some dirstate-related failures. (John Arbash Meinel)
 
536
 
 
537
* ``bzr commit`` now detects commit messages that looks like file names
 
538
  and issues a warning.
 
539
  (Gioele Barabucci, #73073)
 
540
 
 
541
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
 
542
 
 
543
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
 
544
  (#325618, #484109, Marius Kruger)
 
545
 
 
546
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
 
547
  files with conflicts (similar to ``--merge3``). The contents of the file
 
548
  is a synthesis of all bases used for the merge.
 
549
  (John Arbash Meinel, #40412)
 
550
 
 
551
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
 
552
 
 
553
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
 
554
  (Robert Collins, #84659)
 
555
 
 
556
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
 
557
 
 
558
* Fix bug with redirected URLs over authenticated HTTP.
 
559
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
 
560
 
 
561
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
 
562
 
 
563
* Lots of bugfixes for the test suite on Windows. We should once again
 
564
  have a test suite with no failures on Windows. (John Arbash Meinel)
 
565
 
 
566
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
 
567
  variable but returns None if the terminal is not a tty (when output is
 
568
  redirected for example). Also fixes its usage under OSes that doesn't
 
569
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
 
570
  windows too.
 
571
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
 
572
  (John Arbash Meinel, Vincent Ladeuil, #492561)
 
573
 
 
574
* Terminate ssh subprocesses when no references to them remain, fixing
 
575
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
 
576
  
 
577
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
 
578
  works for 2a format trees.  Only files unaffected by content filters
 
579
  will be hardlinked.  (Andrew Bennetts, #408193)
 
580
 
 
581
* The new glob expansion on Windows would replace all ``\`` characters
 
582
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
 
583
  etc. Now only change slashes if there is something being glob expanded.
 
584
  (John Arbash Meinel, #485771)
 
585
 
 
586
* Use our faster ``KnownGraph.heads()`` functionality when computing the
 
587
  new rich-root heads. This can cut a conversion time in half (mysql from
 
588
  13.5h => 6.2h) (John Arbash Meinel, #487632)
 
589
 
 
590
* When launching a external diff tool via bzr diff --using, temporary files
 
591
  are no longer created, rather, the path to the file in the working tree is
 
592
  passed to the external diff tool. This allows the file to be edited if the
 
593
  diff tool provides for this. (Gary van der Merwe, #490738)
 
594
  
 
595
* The launchpad-open command can now be used from a subdirectory of a
 
596
  branch, not just from the root of the branch. 
 
597
  (Neil Martinsen-Burrell, #489102)
 
598
 
 
599
 
 
600
Improvements
 
601
************
 
602
 
 
603
* ``bzr log`` is now faster. (Ian Clatworthy)
 
604
 
 
605
* ``bzr update`` provides feedback on which branch it is up to date with.
 
606
  (Neil Martinsen-Burrell)
 
607
 
 
608
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
 
609
  For details see the xml8 patch and heads() improvements.
 
610
  (John Arbash Meinel)
 
611
 
 
612
* ``bzrlib.urlutils.local_path_from_url`` now accepts
 
613
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
 
614
  Hudson)
 
615
 
 
616
* The progress bar now shows only a spinner and per-operation counts,
 
617
  not an overall progress bar.  The previous bar was often not correlated
 
618
  with real overall operation progress, either because the operations take
 
619
  nonlinear time, or because at the start of the operation Bazaar couldn't
 
620
  estimate how much work there was to do.  (Martin Pool)
 
621
 
 
622
Documentation
 
623
*************
 
624
 
 
625
* Lots of documentation tweaks for inline help topics and command help
 
626
  information.
 
627
 
 
628
API Changes
 
629
***********
 
630
 
 
631
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
 
632
 
 
633
* The Launchpad plugin now has a function ``login`` which will log in to
 
634
  Launchpad with launchpadlib, and ``load_branch`` which will return the
 
635
  Launchpad Branch object corresponding to a given Bazaar Branch object.
 
636
  (Jonathan Lange)
 
637
 
 
638
Internals
 
639
*********
 
640
 
 
641
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
 
642
  easier to handle what tests you want to run based on what modules can be
 
643
  imported. (Rather than lots of custom-implemented features that were
 
644
  basically copy-and-pasted.) (John Arbash Meinel)
 
645
 
 
646
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
 
647
  ``time.clock()`` when you want to do performance timing.
 
648
  ``time.time()`` is limited to 15ms resolution on Windows, but
 
649
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
 
650
  (John Arbash Meinel)
 
651
 
 
652
* Several code paths that were calling ``Transport.get().read()`` have
 
653
  been changed to the equalivent ``Transport.get_bytes()``. The main
 
654
  difference is that the latter will explicitly call ``file.close()``,
 
655
  rather than expecting the garbage collector to handle it. This helps
 
656
  with some race conditions on Windows during the test suite and sftp
 
657
  tests. (John Arbash Meinel)
 
658
 
 
659
Testing
 
660
*******
 
661
 
 
662
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
 
663
  unicode strings. (Michael Hudson, #464174)
 
664
 
 
665
 
 
666
bzr 2.0.3
 
667
#########
 
668
 
 
669
:Codename: little italy
 
670
:2.0.3: 2009-12-14
 
671
 
 
672
 
 
673
The third stable release of Bazaar has a small handful of bugfixes. As
 
674
expected, this has no internal or external compatibility changes versus
 
675
2.0.2 (or 2.0.0).
 
676
 
 
677
Bug Fixes
 
678
*********
 
679
 
 
680
* ``bzr push --use-existing-dir`` no longer crashes if the directory
 
681
  exists but contains an invalid ``.bzr`` directory.
 
682
  (Andrew Bennetts, #423563)
 
683
 
 
684
* Content filters are now applied correctly after pull, merge and switch.
 
685
  (Ian Clatworthy, #385879)
 
686
 
 
687
* Fix a potential segfault in the groupcompress hash map handling code.
 
688
  When inserting new entries, if the final hash bucket was empty, we could
 
689
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
 
690
  (John Arbash Meinel, #490228)
 
691
 
 
692
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
693
 
 
694
 
 
695
bzr 2.1.0b3
 
696
###########
 
697
 
 
698
:Codename: after sprint recovery
 
699
:2.1.0b3: 2009-11-16
 
700
 
 
701
This release was pushed up from its normal release cycle due to a
 
702
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
 
703
was caught before 2.1.0b2 was officially announced, the full changelog
 
704
includes both 2.1.0b3 and 2.1.0b2 changes.
 
705
 
 
706
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
 
707
the test suite now conforms to python's trunk enhanced semantics (skip,
 
708
etc.), and ``bzr info -v`` will now report the correct branch and repo
 
709
formats for Remote objects.
 
710
 
 
711
 
 
712
New Features
 
713
************
 
714
 
 
715
* Users can define a shelve editor to provide shelf functionality at a
 
716
  granularity finer than per-patch-hunk. (Aaron Bentley)
 
717
 
 
718
Bug Fixes
 
719
*********
 
720
 
 
721
* Fix for shell completion and short options.  (Benoît PIERRE)
 
722
 
 
723
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
 
724
 
 
725
* Hooks daughter classes should always call the base constructor.
 
726
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
 
727
 
 
728
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
729
 
 
730
* On Windows, do glob expansion at the command-line level (as is usually
 
731
  done in bash, etc.) This means that *all* commands get glob expansion
 
732
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
 
733
  parser, which allows us to know if a given section was quoted. It means
 
734
  you can now do ``bzr ignore "*.py"``.
 
735
  (John Arbash Meinel, #425510, #426410, #194450)
 
736
 
 
737
* Sanitize commit messages that come in from the '-m' flag. We translate
 
738
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
 
739
  allow those because XML store silently translate it anyway. (The parser
 
740
  auto-translates \r\n => \n in ways that are hard for us to catch.)
 
741
 
 
742
* Show correct branch and repository format descriptions in 
 
743
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
 
744
 
 
745
* The fix for bug #186920 accidentally broke compatibility with python
 
746
  2.4.  (Vincent Ladeuil, #475585)
 
747
 
 
748
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
 
749
  correctly sets ``self.inv_sha1`` to a sha1 string and
 
750
  ``self.new_inventory`` to an Inventory instance after calling
 
751
  ``self.finish_inventory()``. (Previously it accidently set both values
 
752
  as a tuple on ``self.inv_sha1``. This was missed because
 
753
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
 
754
  the sha1 from the repo directly. (John Arbash Meinel)
 
755
 
 
756
* Shelve command refuse to run if there is no real terminal.
 
757
  (Alexander Belchenko)
 
758
 
 
759
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
 
760
  Python level.  (Martin Pool)
 
761
 
 
762
Documentation
 
763
*************
 
764
 
 
765
* Include Japanese translations for documentation (Inada Naoki)
 
766
 
 
767
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
 
768
  (rather than user-interaction) data to stdout.  This automatically
 
769
  coordinates with progress bars or other terminal activity, and can be
 
770
  overridden by GUIs.
 
771
  (Martin Pool, 493944)
 
772
 
 
773
Internals
 
774
*********
 
775
 
 
776
* Some of the core groupcompress functionality now releases the GIL before
 
777
  operation. Similar to how zlib and bz2 operate without the GIL in the
 
778
  core compression and decompression routines. (John Arbash Meinel)
 
779
 
 
780
Testing
 
781
*******
 
782
 
 
783
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
 
784
  more debugging of VFS access triggers. (Robert Collins)
 
785
 
 
786
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
 
787
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
 
788
 
 
789
* ``--parallel=fork`` is now compatible with --subunit.
 
790
  (Robert Collins, Vincent Ladeuil, #419776)
 
791
 
 
792
* Reporting of failures shows test ids not descriptions and thus shows
 
793
  parameterised tests correctly. (Robert Collins)
 
794
 
 
795
* TestNotApplicable is now handled within the TestCase.run method rather
 
796
  than being looked for within ``ExtendedTestResult.addError``. This
 
797
  provides better handling with other ``TestResult`` objects, degrading to
 
798
  sucess rather than error. (Robert Collins)
 
799
 
 
800
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
 
801
  removed - it was empty and unused. (Robert Collins)
 
802
 
 
803
* UnavailableFeature is now handled within the TestCase.run method rather
 
804
  than being looked for within addError. If the Result object does not
 
805
  have an addNotSupported method, addSkip is attempted instead, and
 
806
  failing that addSuccess. (Robert Collins)
 
807
 
 
808
* When a TestResult does not have an addSkip method, skipped tests are now
 
809
  reported as successful tests, rather than as errors. This change is
 
810
  to make it possible to get a clean test run with a less capable
 
811
  TestResult. (Robert Collins)
 
812
 
 
813
 
 
814
 
 
815
bzr 2.1.0b2
 
816
###########
 
817
 
 
818
:Codename: a load off my mind
 
819
:2.1.0b2: 2009-11-02
 
820
 
 
821
This is our second feature-filled release since 2.0, pushing us down the
 
822
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
 
823
 
 
824
Key highlights in this release are: improved handling of
 
825
failures-during-cleanup for commit, fixing a long-standing bug with
 
826
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
 
827
behind proxies, and a new StaticTuple datatype, allowing us to reduce
 
828
memory consumption (50%) and garbage collector overhead (40% faster) for
 
829
many operations.
 
830
 
 
831
* A new ``--concurrency`` option has been added as well as an associated
 
832
  BZR_CONCURRENCY environment variable to specify the number of
 
833
  processes that can be run concurrently when running ``bzr selftest``. The
 
834
  command-line option overrides the environment variable if both are
 
835
  specified. If none is specified. the number of processes is obtained
 
836
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
 
837
 
 
838
Bug Fixes
 
839
*********
 
840
 
 
841
* ``bzr+http`` servers no longer give spurious jail break errors when
 
842
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
 
843
 
 
844
* Errors during commit are handled more robustly so that knock-on errors
 
845
  are less likely to occur, and will not obscure the original error if
 
846
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
 
847
  and similar errors.  (Andrew Bennetts, #429747, #243391)
 
848
 
 
849
* Launchpad urls can now be resolved from behind proxies.
 
850
  (Gordon Tyler, Vincent Ladeuil, #186920)
 
851
 
 
852
* Reduce the strictness for StaticTuple, instead add a debug flag
 
853
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
 
854
  This way, most users won't see failures, but developers can improve
 
855
  internals. (John Arbash Meinel, #471193)
 
856
 
 
857
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
 
858
  files.  (Aaron Bentley)
 
859
 
 
860
* Unicode paths are now handled correctly and consistently by the smart
 
861
  server.  (Andrew Bennetts, Michael Hudson, #458762)
 
862
 
 
863
Improvements
 
864
************
 
865
 
 
866
* When reading index files, we now use a ``StaticTuple`` rather than a
 
867
  plain ``tuple`` object. This generally gives a 20% decrease in peak
 
868
  memory, and can give a performance boost up to 40% on large projects.
 
869
  (John Arbash Meinel)
 
870
 
 
871
* Peak memory under certain operations has been reduced significantly.
 
872
  (eg, 'bzr branch launchpad standalone' is cut in half)
 
873
  (John Arbash Meinel)
 
874
 
 
875
Documentation
 
876
*************
 
877
 
 
878
* Filtered views user documentation upgraded to refer to format 2a
 
879
  instead of pre-2.0 formats. (Ian Clatworthy)
 
880
 
 
881
API Changes
 
882
***********
 
883
 
 
884
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
 
885
 
 
886
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
 
887
  ``show_warning`` methods, which can be hooked by non-text UIs.  
 
888
  (Martin Pool)
 
889
 
 
890
Internals
 
891
*********
 
892
 
 
893
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
 
894
  Dict (it only holds keys, but you can lookup the object located at a
 
895
  given key). It has significantly reduced memory consumption versus the
 
896
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
 
897
  used as the interning structure for StaticTuple objects.
 
898
  (John Arbash Meinel)
 
899
 
 
900
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
 
901
  the btree index parser and the chk map parser. This class functions
 
902
  similarly to ``tuple`` objects. However, it can only point to a limited
 
903
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
 
904
  int, long, float, but not subclasses).  This allows us to remove it from
 
905
  the garbage collector (it cannot be in a cycle), it also allows us to
 
906
  intern the objects. In testing, this can reduce peak memory by 20-40%,
 
907
  and significantly improve performance by removing objects from being
 
908
  inspected by the garbage collector.  (John Arbash Meinel)
 
909
 
 
910
* ``GroupCompressBlock._ensure_content()`` will now release the
 
911
  ``zlib.decompressobj()`` when the first request is for all of the
 
912
  content. (Previously it would only be released if you made a request for
 
913
  part of the content, and then all of it later.) This turns out to be a
 
914
  significant memory savings, as a ``zstream`` carries around approx 260kB
 
915
  of internal state and buffers. (For branching bzr.dev this drops peak
 
916
  memory from 382MB => 345MB.) (John Arbash Meinel)
 
917
 
 
918
* When streaming content between ``2a`` format repositories, we now clear
 
919
  caches from earlier versioned files. (So 'revisions' is cleared when we
 
920
  start reading 'inventories', etc.) This can have a significant impact on
 
921
  peak memory for initial copies (~200MB). (John Arbash Meinel)
 
922
 
 
923
 
 
924
bzr 2.0.2
 
925
#########
 
926
 
 
927
:Codename: after the scare
 
928
:2.0.2: 2009-11-02
 
929
 
 
930
The second in our "let's keep the stable bugfixes flowing" series. As
 
931
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
 
932
changes or features.
 
933
 
 
934
Bug Fixes
 
935
*********
 
936
 
 
937
* Avoid "NoneType has no attribute st_mode" error when files disappear
 
938
  from a directory while it's being read.  (Martin Pool, #446033)
 
939
 
 
940
* Content filters are now applied correctly after revert.
 
941
  (Ian Clatworthy)
 
942
 
 
943
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
 
944
 
 
945
* Fetching from stacked pre-2a repository via a smart server no longer
 
946
  fails intermittently with "second push failed to complete".
 
947
  (Andrew Bennetts, #437626)
 
948
 
 
949
* Fix typos left after test_selftest refactoring.
 
950
  (Vincent Ladeuil, Matt Nordhoff, #461149)
 
951
 
 
952
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
 
953
  (Andrew Bennetts, #445171)
 
954
  
 
955
* PreviewTree file names are not limited by the encoding of the temp
 
956
  directory's filesystem. (Aaron Bentley, #436794)
 
957
 
 
958
Improvements
 
959
************
 
960
 
 
961
* ``bzr log`` now read-locks branches exactly once, so makes better use of
 
962
  data caches.  (Andrew Bennetts)
 
963
 
 
964
Documentation
 
965
*************
 
966
 
 
967
* Filtered views user documentation upgraded to refer to format 2a
 
968
  instead of pre-2.0 formats. (Ian Clatworthy)
 
969
 
 
970
 
 
971
bzr 2.1.0b1
 
972
###########
 
973
 
 
974
:Codename: While the cat is away
 
975
:2.1.0b1: 2009-10-14
 
976
 
 
977
This is the first development release in the new split "stable" and
 
978
"development" series. As such, the release is a snapshot of bzr.dev
 
979
without creating a release candidate first. This release includes a
 
980
fair amount of internal changes, with deprecated code being removed,
 
981
and several new feature developments. People looking for a stable code
 
982
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
 
983
present in 2.0.1 are present in 2.1.0b1.
 
984
 
 
985
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
 
986
finer control over the plugin search path via extended BZR_PLUGIN_PATH
 
987
syntax, visible warnings when extension modules fail to load, and improved
 
988
error handling during unlocking.
 
989
 
 
990
 
 
991
New Features
 
992
************
 
993
 
 
994
* Bazaar can now send mail through Apple OS X Mail.app. 
 
995
  (Brian de Alwis)
 
996
 
 
997
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
 
998
  specified in the URL.  Paths starting with a path segment of ``~`` are
 
999
  relative to the home directory of the user running the server, and paths
 
1000
  starting with ``~user`` are relative to the home directory of the named
 
1001
  user.  For example, for a user "bob" with a home directory of
 
1002
  ``/home/bob``, these URLs are all equivalent:
 
1003
 
 
1004
  * ``bzr+ssh://bob@host/~/repo``
 
1005
  * ``bzr+ssh://bob@host/~bob/repo``
 
1006
  * ``bzr+ssh://bob@host/home/bob/repo``
 
1007
 
 
1008
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
 
1009
  home directories outside that directory will be accessible via this
 
1010
  method.
 
1011
 
 
1012
  This is a feature of ``bzr serve``, so pre-2.1 clients will
 
1013
  automatically benefit from this feature when ``bzr`` on the server is
 
1014
  upgraded.  (Andrew Bennetts, #109143)
 
1015
 
 
1016
* Extensions can now be compiled if either Cython or Pyrex is available.
 
1017
  Currently Pyrex is preferred, but that may change in the future.
 
1018
  (Arkanes)
 
1019
 
 
1020
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
 
1021
  disable the user, site and core plugin directories.
 
1022
  (Vincent Ladeuil, #412930, #316192, #145612)
 
1023
 
 
1024
Bug Fixes
 
1025
*********
 
1026
 
 
1027
* Bazaar's native protocol code now correctly handles EINTR, which most
 
1028
  noticeably occurs if you break in to the debugger while connected to a
 
1029
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
1030
  'c') and the process continues.  However, note that pressing C-\ in the
 
1031
  shell may still kill the SSH process, which is bug 162509, so you must
 
1032
  sent a signal to the bzr process specifically, for example by typing
 
1033
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
1034
 
 
1035
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
1036
  filename will issue a warning and skip over those files.
 
1037
  (Robert Collins, #3918)
 
1038
 
 
1039
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
 
1040
  are present in the working tree. The configuration option ``dpush_strict``
 
1041
  can be used to set the default for this behavior.
 
1042
  (Vincent Ladeuil, #438158)
 
1043
 
 
1044
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
 
1045
  merges are present in the working tree.
 
1046
  (Vincent Ladeuil, #426344)
 
1047
 
 
1048
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
1049
  traceback.  (Martin Pool, #109115)
 
1050
 
 
1051
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
 
1052
  as it is never built. (John Arbash Meinel, #430645)
 
1053
 
 
1054
* Don't restrict the command name used to run the test suite.
 
1055
  (Vincent Ladeuil, #419950)
 
1056
 
 
1057
* ftp transports were built differently when the kerberos python module was
 
1058
  present leading to obscure failures related to ASCII/BINARY modes.
 
1059
  (Vincent Ladeuil, #443041)
 
1060
 
 
1061
* Network streams now decode adjacent records of the same type into a
 
1062
  single stream, reducing layering churn. (Robert Collins)
 
1063
 
 
1064
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
 
1065
  file. (Aaron Bentley, #251532)
 
1066
 
 
1067
* Registry objects should not use iteritems() when asked to use items().
 
1068
  (Vincent Ladeuil, #430510)
 
1069
 
 
1070
* Weave based repositories couldn't be cloned when committers were using
 
1071
  domains or user ids embedding '.sig'. Now they can.
 
1072
  (Matthew Fuller, Vincent Ladeuil, #430868)
 
1073
 
 
1074
Improvements
 
1075
************
 
1076
 
 
1077
* Revision specifiers can now be given in a more DWIM form, without
 
1078
  needing explicit prefixes for specifiers like tags or revision id's.
 
1079
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
 
1080
 
 
1081
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
 
1082
  compiled extensions can't be loaded.  This typically indicates a
 
1083
  packaging or installation problem.  In this case Bazaar will keep
 
1084
  running using pure-Python versions, but this may be substantially
 
1085
  slower.  The warning can be disabled by setting
 
1086
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
 
1087
  See also <https://answers.launchpad.net/bzr/+faq/703>.
 
1088
  (Martin Pool, #406113, #430529)
 
1089
 
 
1090
* Secondary errors that occur during Branch.unlock and Repository.unlock
 
1091
  no longer obscure the original error.  These methods now use a new
 
1092
  decorator, ``only_raises``.  This fixes many causes of
 
1093
  ``TooManyConcurrentRequests`` and similar errors.
 
1094
  (Andrew Bennetts, #429747)
 
1095
 
 
1096
Documentation
 
1097
*************
 
1098
 
 
1099
* Describe the new shell-like test feature. (Vincent Ladeuil)
 
1100
 
 
1101
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
1102
  currently supported. (Ian Clatworthy, #422415)
 
1103
 
 
1104
API Changes
 
1105
***********
 
1106
 
 
1107
* ``bzrlib.user_encoding`` has been removed; use
 
1108
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
 
1109
 
 
1110
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
1111
  subclasses - the same as python's unittest module. (Robert Collins)
 
1112
  
 
1113
* ``diff._get_trees_to_diff`` has been renamed to 
 
1114
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
 
1115
  returns the old and new branches. (Gary van der Merwe)
 
1116
 
 
1117
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
 
1118
  (Martin Pool)
 
1119
 
 
1120
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
 
1121
  now defaults to comparing to the basis tree. It now checks for pending
 
1122
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
 
1123
  corresponding has_changes() calls. ``Merge.compare_basis``,
 
1124
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
 
1125
  been deprecated.
 
1126
  (Vincent Ladeuil, #440631)
 
1127
 
 
1128
* ``ProgressTask.note`` is deprecated.
 
1129
  (Martin Pool)
 
1130
 
 
1131
Internals
 
1132
*********
 
1133
 
 
1134
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
 
1135
  repository or branch object is unlocked then relocked the same way.
 
1136
  (Andrew Bennetts)
 
1137
  
 
1138
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
1139
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
1140
  This results in a 10% speedup while reading an index.
 
1141
  (John Arbash Meinel)
 
1142
 
 
1143
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
1144
  profiling in some situations like callbacks and generators easier.
 
1145
  (Robert Collins)
 
1146
 
 
1147
Testing
 
1148
*******
 
1149
 
 
1150
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
1151
  be output for every test. Note that this is very verbose! (Robert Collins)
 
1152
 
 
1153
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
 
1154
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
 
1155
 
 
1156
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
 
1157
  documentation in ``developers/testing.txt`` for details.
 
1158
  (Vincent Ladeuil)
 
1159
 
 
1160
* Some tests could end up with the same id, that was dormant for
 
1161
  a long time.
 
1162
  (Vincent Ladeuil, #442980)
 
1163
 
 
1164
* Stop showing the number of tests due to missing features in the test
 
1165
  progress bar.  (Martin Pool)
 
1166
 
 
1167
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
1168
  to be parameterised. This is not expected to break external use of test
 
1169
  parameterisation, and is substantially faster. (Robert Collins)
 
1170
 
 
1171
* Tests that try to open a bzr dir on an arbitrary transport will now
 
1172
  fail unless they have explicitly permitted the transport via
 
1173
  ``self.permit_url``. The standard test factories such as ``self.get_url``
 
1174
  will permit the urls they provide automatically, so only exceptional
 
1175
  tests should need to do this. (Robert Collins)
 
1176
 
 
1177
* The break-in test no longer cares about clean shutdown of the child,
 
1178
  instead it is happy if the debugger starts up. (Robert  Collins)
 
1179
 
 
1180
* The full test suite is expected to pass when the C extensions are not
 
1181
  present. (Vincent Ladeuil, #430749)
 
1182
 
 
1183
 
 
1184
bzr 2.0.1
 
1185
#########
 
1186
 
 
1187
:Codename: Stability First
 
1188
:2.0.1: 2009-10-14
 
1189
 
 
1190
The first of our new ongoing bugfix-only stable releases has arrived. It
 
1191
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
 
1192
include any of the feature development in the 2.1.0 series.
 
1193
 
 
1194
 
 
1195
Bug Fixes
 
1196
*********
 
1197
 
 
1198
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
1199
  filename will issue a warning and skip over those files.
 
1200
  (Robert Collins, #3918)
 
1201
 
 
1202
* bzr will attempt to authenticate with SSH servers that support
 
1203
  ``keyboard-interactive`` auth but not ``password`` auth when using
 
1204
  Paramiko.   (Andrew Bennetts, #433846)
 
1205
 
 
1206
* Fixed fetches from a stacked branch on a smart server that were failing
 
1207
  with some combinations of remote and local formats.  This was causing
 
1208
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
 
1209
 
 
1210
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
 
1211
  on branches via a smart server.  (Andrew Bennetts, #389413)
 
1212
 
 
1213
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
 
1214
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
 
1215
  assumed that ``abspath()`` returned a path that did not have a trailing
 
1216
  ``/``, but that is not true when working at the root of the filesystem.
 
1217
  (John Arbash Meinel, Jason Spashett, #322807)
 
1218
 
 
1219
* Hide deprecation warnings for 'final' releases for python2.6.
 
1220
  (John Arbash Meinel, #440062)
 
1221
 
 
1222
* Improve the time for ``bzr log DIR`` for 2a format repositories.
 
1223
  We had been using the same code path as for <2a formats, which required
 
1224
  iterating over all objects in all revisions.
 
1225
  (John Arbash Meinel, #374730)
 
1226
 
 
1227
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
1228
  object when doing a merge, and there is limbo, or pending-deletions
 
1229
  directory.  (Gary van der Merwe, #427773)
 
1230
 
 
1231
* Occasional IndexError on renamed files have been fixed. Operations that
 
1232
  set a full inventory in the working tree will now go via the
 
1233
  apply_inventory_delta code path which is simpler and easier to
 
1234
  understand than dirstates set_state_from_inventory method. This may
 
1235
  have a small performance impact on operations built on _write_inventory,
 
1236
  but such operations are already doing full tree scans, so no radical
 
1237
  performance change should be observed. (Robert Collins, #403322)
 
1238
 
 
1239
* Retrieving file text or mtime from a _PreviewTree has good performance when
 
1240
  there are many changes.  (Aaron Bentley)
 
1241
 
 
1242
* The CHK index pages now use an unlimited cache size. With a limited
 
1243
  cache and a large project, the random access of chk pages could cause us
 
1244
  to download the entire cix file many times.
 
1245
  (John Arbash Meinel, #402623)
 
1246
 
 
1247
* When a file kind becomes unversionable after being added, a sensible
 
1248
  error will be shown instead of a traceback. (Robert Collins, #438569)
 
1249
 
 
1250
Documentation
 
1251
*************
 
1252
 
 
1253
* Improved README. (Ian Clatworthy)
 
1254
 
 
1255
* Improved upgrade documentation for Launchpad branches.
 
1256
  (Barry Warsaw)
 
1257
 
 
1258
 
 
1259
bzr 2.0.0
 
1260
#########
 
1261
 
 
1262
:2.0.0: 2009-09-22
 
1263
:Codename: Instant Karma
 
1264
 
 
1265
This release of Bazaar makes the 2a (previously 'brisbane-core') format
 
1266
the default when new branches or repositories are created.  This format is
 
1267
substantially smaller and faster for many operations.  Most of the work in
 
1268
this release focuses on bug fixes and stabilization, covering both 2a and
 
1269
previous formats.  (See the Upgrade Guide for information on migrating
 
1270
existing projects.)
 
1271
 
 
1272
This release also improves the documentation content and presentation,
 
1273
including adding Windows HtmlHelp manuals.
 
1274
 
 
1275
The Bazaar team decided that 2.0 will be a long-term supported release,
 
1276
with bugfix-only 2.0.x releases based on it, continuing for at least six
 
1277
months or until the following stable release.
 
1278
 
 
1279
Changes from 2.0.0rc2 to final
 
1280
******************************
 
1281
 
 
1282
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
1283
  that "want to happen on the 2.0.x stable series" versus things that want
 
1284
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
1285
  micro = 0.) (John Arbash Meinel)
 
1286
 
 
1287
 
 
1288
bzr 2.0.0rc2
 
1289
############
 
1290
 
 
1291
:2.0.0rc2: 2009-09-10
 
1292
 
 
1293
New Features
 
1294
************
 
1295
 
 
1296
* Added post_commit hook for mutable trees. This allows the keywords
 
1297
  plugin to expand keywords on files changed by the commit.
 
1298
  (Ian Clatworthy, #408841)
 
1299
 
 
1300
Bug Fixes
 
1301
*********
 
1302
 
 
1303
* Bazaar's native protocol code now correctly handles EINTR, which most
 
1304
  noticeably occurs if you break in to the debugger while connected to a
 
1305
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
1306
  'c') and the process continues.  However, note that pressing C-\ in the
 
1307
  shell may still kill the SSH process, which is bug 162509, so you must
 
1308
  sent a signal to the bzr process specifically, for example by typing
 
1309
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
1310
 
 
1311
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
1312
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
1313
  (Robert Collins, #416732)
 
1314
 
 
1315
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
1316
  format" (John Arbash Meinel, #424392)
 
1317
 
 
1318
* ``bzr log stacked-branch`` shows the full log including
 
1319
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
1320
  (John Arbash Meinel, #419241)
 
1321
 
 
1322
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
1323
  traceback.  (Martin Pool, #109115)
 
1324
 
 
1325
* Conversion to 2a will create a single pack for all the new revisions (as
 
1326
  long as it ran without interruption). This improves both ``bzr upgrade``
 
1327
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
1328
  The autopack logic that occurs every 100 revisions during local
 
1329
  conversions was not returning that pack's identifier, which resulted in
 
1330
  the partial packs created during the conversion not being consolidated
 
1331
  at the end of the conversion process. (Robert Collins, #423818)
 
1332
 
 
1333
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
1334
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
1335
  This means that when the source is fully packed, there is minimal
 
1336
  overhead during the fetch, but if the source is poorly packed the result
 
1337
  is a fairly well packed repository (not as good as 'bzr pack' but
 
1338
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
1339
 
 
1340
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
1341
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
1342
  (John Arbash Meinel, #419241)
 
1343
 
 
1344
* ``groupcompress`` sort order is now more stable, rather than relying on
 
1345
  ``topo_sort`` ordering. The implementation is now
 
1346
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
1347
 
 
1348
* Local data conversion will generate correct deltas. This is a critical
 
1349
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
1350
  converting repositories. (Robert Collins, #422849)
 
1351
 
 
1352
* Network streams now decode adjacent records of the same type into a
 
1353
  single stream, reducing layering churn. (Robert Collins)
 
1354
 
 
1355
* Prevent some kinds of incomplete data from being committed to a 2a
 
1356
  repository, such as revisions without inventories, a missing chk_bytes
 
1357
  record for an inventory, or a missing text referenced by an inventory.
 
1358
  (Andrew Bennetts, #423506, #406687)
 
1359
  
 
1360
Documentation
 
1361
*************
 
1362
 
 
1363
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
1364
  older smart servers.
 
1365
  (Andrew Bennetts, #418931)
 
1366
 
 
1367
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
1368
  currently supported. (Ian Clatworthy, #422415)
 
1369
 
 
1370
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
1371
  user documentation. The HTML documentation is better broken up into
 
1372
  topics. (Ian Clatworthy)
 
1373
 
 
1374
* The developer and foreign language documents are now separated
 
1375
  out so that searching in the HTML and CHM files produces more
 
1376
  useful results. (Ian Clatworthy)
 
1377
 
 
1378
* The main table of contents now provides links to the new Migration Docs
 
1379
  and Plugins Guide. (Ian Clatworthy)
 
1380
 
 
1381
 
 
1382
bzr 2.0.0rc1
 
1383
############
 
1384
 
 
1385
:Codename: no worries
 
1386
:2.0.0rc1: 2009-08-26
 
1387
 
 
1388
Compatibility Breaks
 
1389
********************
 
1390
 
 
1391
* The default format for bzr is now ``2a``. This format brings many
 
1392
  significant performance and size improvements. bzr can pull from
 
1393
  any existing repository into a ``2a`` one, but can only transfer
 
1394
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
1395
  has more information about this change. (Robert Collins)
 
1396
 
 
1397
* On Windows auto-detection of Putty's plink.exe is disabled.
 
1398
  Default SSH client for Windows is paramiko. User still can force
 
1399
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
1400
  (#414743, Alexander Belchenko)
 
1401
 
 
1402
New Features
 
1403
************
 
1404
 
 
1405
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
1406
  to the newly created branch. (Lukáš Lalinský)
 
1407
 
 
1408
Bug Fixes
 
1409
*********
 
1410
 
 
1411
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
1412
  (Jason Spashett, #76616)
 
1413
 
 
1414
* Fetches were being requested in 'groupcompress' order, but weren't
 
1415
  recombining the groups. Thus they would 'fragment' to get the correct
 
1416
  order, but not 'recombine' to actually benefit from it. Until we get
 
1417
  recombining to work, switching to 'unordered' fetches avoids the
 
1418
  fragmentation. (John Arbash Meinel, #402645)
 
1419
 
 
1420
* Fix a pycurl related test failure on karmic by recognizing an error
 
1421
  raised by newer versions of pycurl.
 
1422
  (Vincent Ladeuil, #306264)
 
1423
 
 
1424
* Fix a test failure on karmic by making a locale test more robust.
 
1425
  (Vincent Ladeuil, #413514)
 
1426
 
 
1427
* Fix IndexError printing CannotBindAddress errors.
 
1428
  (Martin Pool, #286871)
 
1429
 
 
1430
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
1431
  or when doing fetches from a stacked source to a stacked target.
 
1432
  (Andrew Bennetts, #399140)
 
1433
 
 
1434
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
1435
  batches together small fetches from 2a repositories, rather than
 
1436
  fetching only a few hundred bytes at a time.
 
1437
  (Andrew Bennetts, #402657)
 
1438
 
 
1439
Improvements
 
1440
************
 
1441
 
 
1442
* A better description of the platform is shown in crash tracebacks, ``bzr
 
1443
  --version`` and ``bzr selftest``.
 
1444
  (Martin Pool, #409137)
 
1445
 
 
1446
* bzr can now (again) capture crash data through the apport library, 
 
1447
  so that a single human-readable file can be attached to bug reports.
 
1448
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
1449
  putting ``no_apport`` into the ``debug_flags`` section of
 
1450
  ``bazaar.conf``.
 
1451
  (Martin Pool, Robert Collins, #389328)
 
1452
 
 
1453
* ``bzr push`` locally on windows will no longer give a locking error with
 
1454
  dirstate based formats. (Robert Collins)
 
1455
 
 
1456
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
1457
  (Robert Collins, #305006)
 
1458
 
 
1459
* Commit of specific files no longer prevents using the iter_changes
 
1460
  codepath. On 2a repositories, commit of specific files should now be as
 
1461
  fast, or slightly faster, than a full commit. (Robert Collins)
 
1462
 
 
1463
* The internal core code that handles specific file operations like
 
1464
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
1465
  include the parent directories if they have altered, and when a
 
1466
  directory stops being a directory its children are always included. This
 
1467
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
1468
  faster commit of specific paths. (Robert Collins, #347649)
 
1469
 
 
1470
Documentation
 
1471
*************
 
1472
 
 
1473
* New developer documentation for content filtering.
 
1474
  (Martin Pool)
 
1475
 
 
1476
API Changes
 
1477
***********
 
1478
 
 
1479
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
1480
  classes changed to manage lock lifetime of the trees they open in a way
 
1481
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
1482
 
 
1483
Testing
 
1484
*******
 
1485
 
 
1486
bzr 1.18.1
 
1487
##########
 
1488
 
 
1489
:Codename:     nein nein nein!
 
1490
:1.18.1:       2009-09-09
 
1491
 
 
1492
This release fixes two small but worthwhile bugs relevant to users on
 
1493
Microsoft Windows: some commands that failed on with locking errors will
 
1494
now work, and a bug that caused poor performance after committing a file
 
1495
with line-ending conversion has now been fixed.  It also fixes a bug in
 
1496
pushing to older servers.
 
1497
 
 
1498
Bug Fixes
 
1499
*********
 
1500
 
 
1501
* Fixed a problem where using content filtering and especially end-of-line
 
1502
  conversion will commit too many copies a file.
 
1503
  (Martin Pool, #415508)
 
1504
 
 
1505
* Fix assertion error about ``_remember_remote_is_before`` in
 
1506
  ``set_tags_bytes`` when pushing to older smart servers.  
 
1507
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
1508
 
 
1509
Improvements
 
1510
************
 
1511
 
 
1512
* ``bzr push`` locally on Windows will no longer give a locking error with
 
1513
  dirstate based formats. (Robert Collins)
 
1514
 
 
1515
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
1516
  (Robert Collins, #305006)
 
1517
 
 
1518
API Changes
 
1519
***********
 
1520
 
 
1521
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
1522
  classes changed to manage lock lifetime of the trees they open in a way
 
1523
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
1524
 
 
1525
* ``Tree.path_content_summary`` may return a size of None, when called on
 
1526
  a tree with content filtering where the size of the canonical form
 
1527
  cannot be cheaply determined.  (Martin Pool)
 
1528
 
 
1529
* When manually creating transport servers in test cases, a new helper
 
1530
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
1531
  should be used. (Robert Collins)
 
1532
 
 
1533
bzr 1.18
 
1534
########
 
1535
 
 
1536
Compatibility Breaks
 
1537
********************
 
1538
 
 
1539
* Committing directly to a stacked branch from a lightweight checkout will
 
1540
  no longer work. In previous versions this would appear to work but would
 
1541
  generate repositories with insufficient data to create deltas, leading
 
1542
  to later errors when branching or reading from the repository.
 
1543
  (Robert Collins, bug #375013)
 
1544
 
 
1545
New Features
 
1546
************
 
1547
 
 
1548
Bug Fixes
 
1549
*********
 
1550
 
 
1551
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
1552
  copy the internal inventory pages from the CHK store. This cannot happen
 
1553
  in normal use as all 2a compatible clients and servers support the
 
1554
  version-3 protocol, but it does cause test suite failures when testing
 
1555
  downlevel protocol behaviour. (Robert Collins)
 
1556
 
 
1557
* Fix a test failure on karmic by making a locale test more robust.
 
1558
  (Vincent Ladeuil, #413514)
 
1559
 
 
1560
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
1561
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
1562
 
 
1563
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
1564
  (Jason Spashett, #76616)
 
1565
 
 
1566
* Properly handle fetching into a stacked branch while converting the
 
1567
  data, especially when there are also ghosts. The code was filling in
 
1568
  parent inventories incorrectly, and also not handling when one of the
 
1569
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
1570
 
 
1571
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
1572
  inventory pages when appropriate (by falling back to the vfs stream
 
1573
  source).  (Andrew Bennetts, #406686)
 
1574
 
 
1575
* StreamSource generates rich roots from non-rich root sources correctly
 
1576
  now.  (Andrew Bennetts, #368921)
 
1577
 
 
1578
* When deciding whether a repository was compatible for upgrading or
 
1579
  fetching, we previously incorrectly checked the default repository
 
1580
  format for the bzrdir format, rather than the format that was actually
 
1581
  present on disk.  (Martin Pool, #408824)
 
1582
 
 
1583
Improvements
 
1584
************
 
1585
 
 
1586
* A better description of the platform is shown in crash tracebacks, ``bzr
 
1587
  --version`` and ``bzr selftest``.
 
1588
  (Martin Pool, #409137)
 
1589
 
 
1590
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
1591
  smart server are more efficient now.  They send inventory deltas rather
 
1592
  than full inventories.  The smart server has two new requests,
 
1593
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
1594
  support this.  (Andrew Bennetts, #374738, #385826)
 
1595
 
 
1596
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
1597
  significantly faster. This effects things like ``bzr log -n0``. (For
 
1598
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
1599
  (John Arbash Meinel)
 
1600
 
 
1601
Documentation
 
1602
*************
 
1603
 
 
1604
API Changes
 
1605
***********
 
1606
 
 
1607
Internals
 
1608
*********
 
1609
 
 
1610
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
1611
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
1612
  read lock on a file that we already have an OS write lock on.) This is
 
1613
  now set by default for all tests, if you have a test which cannot be
 
1614
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
1615
  compatibility knob. (John Arbash Meinel)
 
1616
 
 
1617
* InterDifferingSerializer is now only used locally.  Other fetches that
 
1618
  would have used InterDifferingSerializer now use the more network
 
1619
  friendly StreamSource, which now automatically does the same
 
1620
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
1621
 
 
1622
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
1623
  are implemented in pyrex and significantly faster. This is exposed along
 
1624
  with ``CombinedGraphIndex.find_ancestry()`` as
 
1625
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
1626
  (John Arbash Meinel)
 
1627
 
 
1628
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
1629
  protocols. (Robert Collins)
 
1630
 
 
1631
* The index code now has some specialized routines to extract the full
 
1632
  ancestry of a key in a more efficient manner.
 
1633
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
1634
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
1635
  Arbash Meinel)
 
1636
 
 
1637
Testing
 
1638
*******
 
1639
 
 
1640
* Install the test ssl certificate and key so that installed bzr
 
1641
  can run the https tests. (Denys Duchier, #392401)
 
1642
  
 
1643
 
 
1644
bzr 1.18rc1
 
1645
###########
 
1646
 
 
1647
:Codename: little traveller
 
1648
:1.18:    2009-08-20
 
1649
:1.18rc1: 2009-08-10
 
1650
 
 
1651
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
1652
'brisbane-core' format becomes generally recommended.  Most of the work in
 
1653
this release now focusses on bug fixes and stabilization, covering both 2a
 
1654
and previous formats.  There is a new text-mode interactive merge feature,
 
1655
a new guide to migration to 2a format in the user documentation, and
 
1656
pushing branches to a smart server is now much faster.  
 
1657
 
 
1658
The Bazaar team decided that 2.0 will be a long-term supported release,
 
1659
with bugfix-only releases based on it continuing for at least six months
 
1660
or until the following stable release.
 
1661
 
 
1662
There are no changes from 1.18rc1 to 1.18.
 
1663
 
 
1664
New Features
 
1665
************
 
1666
 
 
1667
* ``bzr merge --interactive`` applies a user-selected portion of the
 
1668
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
1669
 
 
1670
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
1671
  ``--unstacked`` to change stacking of a branch.
 
1672
  (Martin Pool, #391411)
 
1673
 
 
1674
Bug Fixes
 
1675
*********
 
1676
 
 
1677
* Annotating on a stacked branch will now succeed in simple scenarios.
 
1678
  There are still some complex scenarios where it will fail (bug #399884)
 
1679
  (John Arbash Meinel, #393366)
 
1680
 
 
1681
* A progress bar is no longer left dangling when ``bzr selftest``
 
1682
  completes, and the progress bar updates with zero latency so the
 
1683
  displayed test name is always the one that's actually running.
 
1684
  (Martin Pool, #123688)
 
1685
 
 
1686
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
1687
  if password authentication is even supported. This fixes a bug where
 
1688
  users would be prompted for a launchpad password, even though launchpad
 
1689
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
1690
 
 
1691
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
1692
  from GMT. (Vincent Ladeuil, #397716)
 
1693
 
 
1694
* ``bzr commit`` no longer saves the unversioning of missing files until
 
1695
  the commit has completed on the branch. This means that aborting a
 
1696
  commit that found a missing file will leave the tree unedited.
 
1697
  (Robert Collins, #282402)
 
1698
 
 
1699
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
1700
  when the branch is readonly. (Robert Collins, #216541)
 
1701
 
 
1702
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
1703
  there are missing subtrees. (Robert Collins, #367632)
 
1704
 
 
1705
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
1706
  do to internal changes necessary to support this, older clients will
 
1707
  fail when trying to insert them. For newer clients, the bundle can be
 
1708
  used to apply the changes to any rich-root compatible format.
 
1709
  (John Arbash Meinel, #393349)
 
1710
 
 
1711
* Cope with FTP servers that don't support restart/append by falling back
 
1712
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
1713
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
1714
 
 
1715
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
1716
  external diff client. This at least allows supporting filenames that are
 
1717
  not ascii, but are present in the current locale. Ideally we would be
 
1718
  able to pass the Unicode path, but that would be client dependent.
 
1719
  (John Arbash Meinel, #382709)
 
1720
 
 
1721
* Fix a compile bug on Solaris having to do with const and
 
1722
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
1723
 
 
1724
* Fixed a NameError that occurs when merging or pulling from a URL that
 
1725
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
1726
  (Andrew Bennetts, #400847)
 
1727
 
 
1728
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
1729
  running send and similar commands on 2a formats.
 
1730
  (Martin Pool, #408201)
 
1731
  
 
1732
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
1733
  (Martin Pool, #403523)
 
1734
 
 
1735
* Fixed export to existing directory: if directory is empty then export 
 
1736
  will succeed, otherwise it fails with error.
 
1737
  (Alexander Belchenko, #406174)
 
1738
 
 
1739
* Fixed spurious "Source branch does not support stacking" warning when
 
1740
  pushing. (Andrew Bennetts, #388908)
 
1741
 
 
1742
* Fixed spurious transport activity indicator appearing while tests are
 
1743
  running.  (Martin Pool, #343532)
 
1744
 
 
1745
* Merge now correctly handles empty right-hand revision specs.
 
1746
  (Aaron Bentley, #333961)
 
1747
 
 
1748
* Renames to lexographically lower basenames in trees that have never been
 
1749
  committed to will no longer corrupt the dirstate. This was caused by an
 
1750
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
1751
 
 
1752
* Requests for unknown methods no longer cause the smart server to log
 
1753
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
1754
  ``do_end``.  (Andrew Bennetts, #338561)
 
1755
 
 
1756
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
1757
 
 
1758
* Streaming from bzr servers where there is a chain of stacked branches
 
1759
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
1760
 
 
1761
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
1762
  always forces progress bars either on or off respectively.  Otherwise,
 
1763
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
1764
  bzr always uses the 'text' user interface when run as a command, so
 
1765
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
1766
  (Martin Pool, #339385, #387717)
 
1767
 
 
1768
* The optional ``_knit_load_data_pyx`` C extension was never being
 
1769
  imported.  This caused significant slowdowns when reading data from
 
1770
  repositories.  (Andrew Bennetts, #405653)
 
1771
  
 
1772
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
1773
  supported at the moment on workingtree formats that can do content
 
1774
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
1775
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
1776
 
 
1777
* There was a bug in ``osutils.relpath`` that was only triggered on
 
1778
  Windows. Essentially if you were at the root of a drive, and did
 
1779
  something to a branch/repo on another drive, we would go into an
 
1780
  infinite loop while trying to find a 'relative path'.
 
1781
  (John Arbash Meinel, #394227)
 
1782
 
 
1783
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
1784
  were present in a parent tree but renamed in the working tree.
 
1785
  (Robert Collins, #187207)
 
1786
 
 
1787
Improvements
 
1788
************
 
1789
 
 
1790
* Can now rename/move files even if they have been removed from the inventory.
 
1791
  (Marius Kruger)
 
1792
 
 
1793
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
1794
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
1795
  than VFS methods.  For example, pushes of small branches with tags take
 
1796
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
1797
 
 
1798
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
1799
  the same way that sending Ctrl-\\ does on other platforms.
 
1800
  (John Arbash Meinel)
 
1801
 
 
1802
Documentation
 
1803
*************
 
1804
 
 
1805
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
1806
 
 
1807
API Changes
 
1808
***********
 
1809
 
 
1810
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
1811
  need to subclass or create a specific class, or better yet the existing
 
1812
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
1813
  user interaction at all, rather than trying to read from stdin but not
 
1814
  writing any output, which would be strange if reading prompts or
 
1815
  passwords.  (Martin Pool)
 
1816
 
 
1817
* New TransformPreview.commit() allows committing without a working tree.
 
1818
  (Aaron Bentley)
 
1819
 
 
1820
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
1821
  (Martin Pool)
 
1822
 
 
1823
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
1824
  UIFactory. 
 
1825
  (Martin Pool)
 
1826
 
 
1827
* ``WorkingTree._check`` now requires a references dict with keys matching
 
1828
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
1829
 
 
1830
Internals
 
1831
*********
 
1832
 
 
1833
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
1834
  reading the entries along the path, reducing work to lookup ids from
 
1835
  paths. (Robert Collins)
 
1836
 
 
1837
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
1838
  as new a key which was already mapped. (Robert Collins)
 
1839
 
 
1840
* Inventory delta application catches more cases of corruption and can
 
1841
  prevent corrupt deltas from affecting consistency of data structures on
 
1842
  disk. (Robert Collins)
 
1843
 
 
1844
* --subunit support now adds timestamps if the subunit version supports
 
1845
  it. (Robert Collins)
 
1846
 
 
1847
* The Windows all-in-one installer now bundles the PyQt image format
 
1848
  plugins, which allows previewing more images as part of 'qdiff'.
 
1849
  (Alexander Belchenko)
 
1850
 
 
1851
 
 
1852
Testing
 
1853
*******
 
1854
 
 
1855
* Merge directive cherrypick tests must use the same root id.
 
1856
  (Martin Pool, #409684)
 
1857
 
 
1858
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
1859
  (Martin Pool, #408199)
 
1860
 
 
1861
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
1862
  ``countTestsCases`` on the test being run. Progress information is
 
1863
  instead handled by having the test passed in call ``result.progress``
 
1864
  before running its contents. This improves the behaviour when using
 
1865
  ``TextTestRunner`` with test suites that don't support
 
1866
  ``countTestsCases``. (Robert Collins)
 
1867
 
 
1868
 
 
1869
bzr 1.17.1 (unreleased)
 
1870
#######################
 
1871
 
 
1872
Bug Fixes
 
1873
*********
 
1874
 
 
1875
* The optional ``_knit_load_data_pyx`` C extension was never being
 
1876
  imported.  This caused significant slowdowns when reading data from
 
1877
  knit format repositories.  (Andrew Bennetts, #405653)
 
1878
  
 
1879
 
 
1880
bzr 1.17
 
1881
########
 
1882
:Codename: so-late-its-brunch
 
1883
:1.17rc1: 2009-07-13
 
1884
:1.17: 2009-07-20
 
1885
 
 
1886
 
 
1887
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
1888
the elevation of the ``2a`` beta format to the full glory of "supported and
 
1889
stable".
 
1890
 
 
1891
Highlights in this release include greatly reduced memory consumption during
 
1892
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
1893
you're specifying a revision number and the final destruction of those
 
1894
annoying progress bar artifacts.
 
1895
 
 
1896
 
 
1897
Changes from 1.17rc1 to 1.17final
 
1898
*********************************
 
1899
 
 
1900
* Change an extension to call the python ``frozenset()`` rather than the C
 
1901
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
1902
  C api. (John Arbash Meinel, #399366)
 
1903
 
 
1904
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
1905
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
1906
  (John Arbash Meinel, #399356)
 
1907
 
 
1908
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
1909
  directory before serving it. (Andrew Bennetts, #400535)
 
1910
 
 
1911
 
 
1912
Compatibility Breaks
 
1913
********************
 
1914
 
 
1915
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
1916
  instead of "product" which is the correct Launchpad terminology.  The
 
1917
  --product option is deprecated and users should switch to using --project.
 
1918
  (Neil Martinsen-Burrell, #238764)
 
1919
 
 
1920
 
 
1921
New Features
 
1922
************
 
1923
 
 
1924
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
1925
  are present in the working tree (if one is present) and no revision is
 
1926
  specified. The configuration option ``push_strict`` can be used to set the
 
1927
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
1928
 
 
1929
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
1930
  show revision info for the working tree instead of the branch.
 
1931
  (Matthew Fuller, John Arbash Meinel)
 
1932
 
 
1933
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
1934
  are present in the working tree and no revision is specified. The
 
1935
  configuration option ``send_strict`` can be used to set the default for this
 
1936
  behavior.
 
1937
  (Vincent Ladeuil, #206577)
 
1938
 
 
1939
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
1940
  to a new branch. Supplying a name without a ``/`` will create the branch
 
1941
  relative to the existing branch. (similar to how ``bzr switch name``
 
1942
  works when the branch already exists.) (John Arbash Meinel)
 
1943
 
 
1944
 
 
1945
Bug Fixes
 
1946
*********
 
1947
 
 
1948
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
1949
  (#335182, Tim Powell, Martin Pool)
 
1950
 
 
1951
* Add documentation about diverged branches and how to fix them in the
 
1952
  centralized workflow with local commits.  Mention ``bzr help
 
1953
  diverged-branches`` when a push fails because the branches have
 
1954
  diverged.  (Neil Martinsen-Burrell, #269477)
 
1955
 
 
1956
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
1957
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
1958
 
 
1959
* Automatic format upgrades triggered by default stacking policies on a
 
1960
  1.16rc1 (or later) smart server work again.
 
1961
  (Andrew Bennetts, #388675)
 
1962
 
 
1963
* Avoid progress bar artifacts being left behind on the screen.
 
1964
  (Martin Pool, #321935)
 
1965
 
 
1966
* Better message in ``bzr split`` error suggesting a rich root format.
 
1967
  (Neil Martinsen-Burrell, #220067)
 
1968
 
 
1969
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
1970
  server. (Andrew Bennetts, #365865)
 
1971
 
 
1972
* By default, ``bzr branch`` will fail if the target directory exists, but
 
1973
  does not already have a control directory.  The flag ``--use-existing-dir``
 
1974
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
1975
 
 
1976
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
1977
  (Ian Clatworthy)
 
1978
 
 
1979
* Fetch between repositories does not error if they have inconsistent data
 
1980
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
1981
 
 
1982
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
1983
  of a remote repository.
 
1984
  (Jelmer Vernooij, #332194)
 
1985
 
 
1986
* Fix bug in decoding v3 smart server messages when receiving multiple
 
1987
  lots of excess bytes after an end-of-message.
 
1988
  (Andrew Bennetts)
 
1989
 
 
1990
* Force deletion of readonly files during merge, update and other tree
 
1991
  transforms.
 
1992
  (Craig Hewetson, Martin Pool, #218206)
 
1993
 
 
1994
* Force socket shutdown in threaded http test servers to avoid client hangs
 
1995
  (pycurl).  (Vincent Ladeuil, #383920).
 
1996
 
 
1997
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
1998
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
1999
 
 
2000
* Progress bars are now suppressed again when the environment variable
 
2001
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
2002
  (Martin Pool, #339385)
 
2003
 
 
2004
* Reduced memory consumption during ``bzr commit`` of large files. For
 
2005
  pre 2a formats, should be down to ~3x the size of a file.
 
2006
  For ``--2a`` format repositories, it is down to the size of the file
 
2007
  content plus the size of the compressed text.  Related to bug #109114.
 
2008
  (John Arbash Meinel)
 
2009
 
 
2010
* Set hidden attribute on .bzr directory below unicode path should never
 
2011
  fail with error. The operation should succeed even if bzr unable to set 
 
2012
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
2013
  
 
2014
* Stacking will no longer accept requests to stack on the same
 
2015
  branch/repository. Existing branches that incorrectly reference the same
 
2016
  repository in a stacking configuration will now raise
 
2017
  UnstackableLocationError when the branch is opened. This can be fixed by
 
2018
  removing the stacking location inside ``.bzr/branch``.
 
2019
  (Robert Collins, #376243)
 
2020
 
 
2021
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
2022
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
2023
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
2024
  rate because they're available in the log prefixes and the transport
 
2025
  activity display respectively.
 
2026
  (Martin Pool, #340347)
 
2027
 
 
2028
* Unshelve works correctly when multiple zero-length files are present on
 
2029
  the shelf. (Aaron Bentley, #363444)
 
2030
 
 
2031
* Progress bars no longer show the network transport scheme or direction.
 
2032
  (Martin Pool)
 
2033
 
 
2034
* launchpad-login now respects the 'verbose' option.
 
2035
  (Jonathan Lange, #217031)
 
2036
 
 
2037
 
 
2038
Internals
 
2039
*********
 
2040
 
 
2041
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
2042
  possible to write a deprecation wrapper, but the variable will be
 
2043
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
2044
  instead. (Alexander Belchenko)
 
2045
 
 
2046
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
2047
  three new hook points: ``get_command``, ``get_missing_command`` and
 
2048
  ``list_commands``, which allow just-in-time command name provision
 
2049
  rather than requiring all command names be known a-priori.
 
2050
  (Robert Collins)
 
2051
 
 
2052
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
2053
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
2054
 
 
2055
* ``graph.KnownGraph`` has been added. This is a class that can give
 
2056
  answers to ``heads()`` very quickly. However, it has the assumption that
 
2057
  the whole graph has already been loaded. This is true during
 
2058
  ``annotate`` so it is used there with good success (as much as 2x faster
 
2059
  for files with long ancestry and 'cherrypicked' changes.)
 
2060
  (John Arbash Meinel, Vincent Ladeuil)
 
2061
 
 
2062
* OS file locks are now taken out using ``CreateFile`` rather than
 
2063
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
2064
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
2065
  as Win98). (Martin <gzlist>)
 
2066
 
 
2067
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
2068
  than the ``Packer`` code. The user visible change is that we now
 
2069
  properly fetch the minimum number of texts for non-smart fetching.
 
2070
  (John Arbash Meinel)
 
2071
 
 
2072
 
 
2073
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
2074
  the repository as a single string, rather than a list of lines. This can
 
2075
  improve memory overhead and performance of committing large files.
 
2076
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
2077
 
 
2078
 
 
2079
Improvements
 
2080
************
 
2081
 
 
2082
* ``bzr annotate`` can now be significantly faster. The time for
 
2083
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
2084
  histories and lots of 'duplicate insertions' will be improved more than
 
2085
  others. (John Arbash Meinel, Vincent Ladeuil)
 
2086
 
 
2087
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
2088
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
2089
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
2090
 
 
2091
* Improve "Path(s) are not versioned" error reporting for some commands.
 
2092
  (Benoît PIERRE)
 
2093
 
 
2094
* Initial commit performance in ``--2a`` repositories has been improved by
 
2095
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
2096
 
 
2097
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
2098
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
2099
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
2100
 
 
2101
* ``revision-info`` now properly aligns the revnos/revids in the output
 
2102
  and doesn't traceback when given revisions not in the current branch.
 
2103
  Performance is also significantly improved when requesting multiple revs
 
2104
  at once.  (Matthew Fuller, John Arbash Meinel)
 
2105
 
 
2106
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
2107
 
 
2108
 
 
2109
Documentation
 
2110
*************
 
2111
 
 
2112
* Avoid bad text wrapping in generated documentation.  Slightly better
 
2113
  formatting in the user reference.
 
2114
  (Martin Pool, #249908)
 
2115
 
 
2116
* Minor clarifications to the help for End-Of-Line conversions.
 
2117
  (Ian Clatworthy)
 
2118
 
 
2119
API Changes
 
2120
***********
 
2121
 
 
2122
* Removed overspecific error class ``InvalidProgressBarType``.
 
2123
  (Martin Pool)
 
2124
 
 
2125
* The method ``ProgressView._show_transport_activity`` is now
 
2126
  ``show_transport_activity`` because it's part of the contract between
 
2127
  this class and the UI.  (Martin Pool)
 
2128
 
 
2129
 
 
2130
bzr 1.16.1
 
2131
##########
 
2132
 
 
2133
:Released: 2009-06-26
 
2134
 
 
2135
End user testing of the 2a format revealed two serious bugs. The first,
 
2136
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
2137
This meant that commits or pushes to 2a-format repositories failed
 
2138
intermittently.
 
2139
 
 
2140
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
2141
when streaming 2a stacked 2a-format branches. This particularly affected
 
2142
branches stored on Launchpad in the 2a format.
 
2143
 
 
2144
Both of these bugs cause command failures only, neither of them cause data
 
2145
corruption or data loss. And, of course, both of these bugs are now fixed.
 
2146
 
 
2147
Bug Fixes
 
2148
*********
 
2149
 
 
2150
* We now properly request a more minimal set of file texts when fetching
 
2151
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
2152
 
 
2153
* Repositories using CHK pages (which includes the new 2a format) will no
 
2154
  longer error during commit or push operations when an autopack operation
 
2155
  is triggered. (Robert Collins, #365615)
 
2156
 
 
2157
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
2158
  of referenced nodes rather than the *union* to determine what
 
2159
  uninteresting pages we still need to look at. Prior to this,
 
2160
  incrementally pushing to stacked branch would push the minimal data, but
 
2161
  fetching everything would request extra texts. There are some unhandled
 
2162
  cases wrt trees of different depths, but this fixes the common cases.
 
2163
  (Robert Collins, John Arbash Meinel, #390563)
 
2164
 
 
2165
* ``GroupCompress`` repositories now take advantage of the pack hints
 
2166
  parameter to permit cross-format fetching to incrementally pack the
 
2167
  converted data. (Robert Collins)
 
2168
 
 
2169
* ``Repository.commit_write_group`` now returns opaque data about what
 
2170
  was committed, for passing to the ``Repository.pack``. Repositories
 
2171
  without atomic commits will still return None. (Robert Collins)
 
2172
 
 
2173
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
2174
  which will support doing partial packs for repositories that can do
 
2175
  that. (Robert Collins)
 
2176
 
 
2177
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
2178
  when doing a pack operation changes the compression of content in the
 
2179
  repository. (Robert Collins)
 
2180
 
 
2181
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
2182
  ``Repository.pack`` with the hint returned by
 
2183
  ``Repository.commit_write_group`` if the formats were different and the
 
2184
  repository can increase compression by doing a pack operation.
 
2185
  (Robert Collins, #376748)
 
2186
 
 
2187
 
 
2188
bzr 1.16
 
2189
########
 
2190
:Codename: yesterday-in-california
 
2191
:1.16rc1: 2009-06-11
 
2192
:1.16: 2009-06-18
 
2193
 
 
2194
This version of Bazaar contains the beta release of the new ``2a`` repository
 
2195
format, suitable for testing by fearless, advanced users. This format or an
 
2196
updated version of it will become the default format in Bazaar 2.0. Please
 
2197
read the NEWS entry before even thinking about upgrading to the new format.
 
2198
 
 
2199
Also included are speedups for many operations on huge projects, a bug fix for
 
2200
pushing stacked new stacked branches to smart servers and the usual bevy of
 
2201
bug fixes and improvements.
 
2202
 
 
2203
 
 
2204
Changes from 1.16rc1 to 1.16final
 
2205
*********************************
 
2206
 
 
2207
* Fix the nested tree flag check so that upgrade from development formats to
 
2208
  2a can work correctly.
 
2209
  (Jelmer Vernooij, #388727)
 
2210
 
 
2211
* Automatic format upgrades triggered by default stacking policies on a
 
2212
  1.16rc1 (or later) smart server work again.
 
2213
  (Andrew Bennetts, #388675)
 
2214
 
 
2215
 
 
2216
Compatibility Breaks
 
2217
********************
 
2218
 
 
2219
* Display prompt on stderr (instead of stdout) when querying users so
 
2220
  that the output of commands can be safely redirected.
 
2221
  (Vincent Ladeuil, #376582)
 
2222
 
 
2223
 
 
2224
New Features
 
2225
************
 
2226
 
 
2227
* A new repository format ``2a`` has been added.  This is a beta release
 
2228
  of the brisbane-core (aka group-compress) project.  This format now
 
2229
  suitable for wider testing by advanced users willing to deal with some
 
2230
  bugs.  We would appreciate test reports, either positive or negative.
 
2231
  Format 2a is substantially smaller and faster for many operations on
 
2232
  many trees.  This format or an updated version will become the default
 
2233
  in bzr 2.0.
 
2234
 
 
2235
  This is a rich-root format, so this repository format can be used with
 
2236
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
2237
  converted (including by merge, push and pull) to format 2a, but not vice
 
2238
  versa.  We recommend upgrading previous development formats to 2a.
 
2239
 
 
2240
  Upgrading to this format can take considerable time because it expands
 
2241
  and more concisely repacks the full history.
 
2242
 
 
2243
  If you use stacked branches, you must upgrade the stacked branches
 
2244
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
2245
 
 
2246
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
2247
  but using a Revision serializer using bencode rather than XML.
 
2248
  (Jelmer Vernooij, John Arbash Meinel)
 
2249
 
 
2250
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
2251
  configured from address.  (Barry Warsaw)
 
2252
 
 
2253
Improvements
 
2254
************
 
2255
 
 
2256
 
 
2257
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
2258
  bugs with stacking and non default formats.)
 
2259
  (John Arbash Meinel, #373455)
 
2260
 
 
2261
* ``--development6-rich-root`` delays generating a delta index for the
 
2262
  first object inserted into a group. This has a beneficial impact on
 
2263
  ``bzr commit`` since each committed texts goes to its own group. For
 
2264
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
2265
  up commit from 7s => 4s. (John Arbash Meinel)
 
2266
 
 
2267
* Numerous operations are now faster for huge projects, i.e. those
 
2268
  with a large number of files and/or a large number of revisions,
 
2269
  particularly when the latest development format is used. These
 
2270
  operations (and improvements on OpenOffice.org) include:
 
2271
 
 
2272
  * branch in a shared repository (2X faster)
 
2273
  * branch --no-tree (100X faster)
 
2274
  * diff (2X faster)
 
2275
  * tags (70X faster)
 
2276
 
 
2277
  (Ian Clatworthy)
 
2278
 
 
2279
* Pyrex version of ``bencode`` support. This provides optimized support
 
2280
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
2281
  ``bzrlib.utils.bencode`` is now deprecated.
 
2282
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
2283
 
 
2284
 
 
2285
Bug Fixes
 
2286
*********
 
2287
 
 
2288
* Bazaar can now pass attachment files to the mutt email client.
 
2289
  (Edwin Grubbs, #384158)
 
2290
 
 
2291
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
2292
  see which files can also be added.  (Jason Spashett, #76616)
 
2293
 
 
2294
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
2295
  Also, the ``Branch.revision_history()`` API now works in the same
 
2296
  situation.  (Andrew Bennetts, #380314)
 
2297
  
 
2298
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
2299
  TCP client disconnected. (Andrew Bennetts)
 
2300
 
 
2301
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
2302
  ``RemoteRepository`` was handling fallbacks along with the
 
2303
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
2304
 
 
2305
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
2306
  branch. Not often triggered, because it required ghosts to be part of
 
2307
  the fetched revisions, not in the stacked-on ancestry.
 
2308
  (John Arbash Meinel)
 
2309
 
 
2310
* Fix status and commit to work with content filtered trees, addressing
 
2311
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
2312
 
 
2313
* Fix problem of "directory not empty" when contending for a lock over
 
2314
  sftp.  (Martin Pool, #340352)
 
2315
 
 
2316
* Fix rule handling so that eol is optional, not mandatory.
 
2317
  (Ian Clatworthy, #379370)
 
2318
 
 
2319
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
2320
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
2321
  1.16, but required changes to the network protocol, so the
 
2322
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
2323
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
2324
  still work with a 1.16 server as they will fallback to slower (and
 
2325
  bug-free) methods.
 
2326
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
2327
 
 
2328
* Reconcile can now deal with text revisions that originated in revisions 
 
2329
  that are ghosts. (Jelmer Vernooij, #336749)
 
2330
 
 
2331
* Support cloning of branches with ghosts in the left hand side history.
 
2332
  (Jelmer Vernooij, #248540)
 
2333
 
 
2334
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
2335
  helpful message to the trace file, unless the temp directory really was
 
2336
  removed (which would be very strange).  Since the diff operation has
 
2337
  succeeded from the user's perspective, no output is written to stderr 
 
2338
  or stdout.  (Maritza Mendez, #363837)
 
2339
 
 
2340
* Translate errors received from a smart server in response to a
 
2341
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
2342
  This was causing tracebacks even for mundane errors like
 
2343
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
2344
 
 
2345
Documentation
 
2346
*************
 
2347
 
 
2348
* Added directory structure and started translation of docs in Russian.
 
2349
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
2350
  Volodymyr Kotulskyi)
 
2351
 
 
2352
API Changes
 
2353
***********
 
2354
 
 
2355
* Added osutils.parent_directories(). (Ian Clatworthy)
 
2356
 
 
2357
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
2358
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
2359
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
2360
 
 
2361
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
2362
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
2363
  for external users. (Gary van der Merwe)
 
2364
 
 
2365
* ``bzrlib.user_encoding`` is deprecated in favor of
 
2366
  ``get_user_encoding``.  (Alexander Belchenko)
 
2367
 
 
2368
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
2369
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
2370
 
 
2371
Internals
 
2372
*********
 
2373
 
 
2374
* Remove ``weave.py`` script for accessing internals of old weave-format
 
2375
  repositories.  (Martin Pool)
 
2376
 
 
2377
Testing
 
2378
*******
 
2379
 
 
2380
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
2381
  (Martin Pool, #386180)
 
2382
 
 
2383
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
2384
 
 
2385
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
2386
 
 
2387
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
2388
 
 
2389
 
 
2390
bzr 1.15
 
2391
########
 
2392
:1.15rc1: 2009-05-16
 
2393
:1.15: 2009-05-22
 
2394
:1.15.1: 2009-06-09
 
2395
 
 
2396
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
2397
with a size mismatch in a reconstructed graph search. New command ``bzr
 
2398
dpush``. Plugins can now define their own annotation tie-breaker when two
 
2399
revisions introduce the exact same line.
 
2400
 
 
2401
Changes from 1.15.1 to 1.15.2
 
2402
*****************************
 
2403
 
 
2404
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
2405
  (Alexander Belchenko)
 
2406
 
 
2407
Changes from 1.15final to 1.15.1
 
2408
*********************************
 
2409
 
 
2410
* Translate errors received from a smart server in response to a
 
2411
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
2412
  This was causing tracebacks even for mundane errors like
 
2413
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
2414
 
 
2415
Changes from 1.15rc1 to 1.15final
 
2416
*********************************
 
2417
 
 
2418
* No changes
 
2419
 
 
2420
Compatibility Breaks
 
2421
********************
 
2422
 
 
2423
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
2424
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
2425
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
2426
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
2427
 
 
2428
New Features
 
2429
************
 
2430
 
 
2431
* New command ``bzr dpush`` that can push changes to foreign 
 
2432
  branches (svn, git) without setting custom bzr-specific metadata.
 
2433
  (Jelmer Vernooij)
 
2434
 
 
2435
* The new development format ``--development6-rich-root`` now supports
 
2436
  stacking. We chose not to use a new format marker, since old clients
 
2437
  will just fail to open stacked branches, the same as if we used a new
 
2438
  format flag. (John Arbash Meinel, #373455)
 
2439
 
 
2440
* Plugins can now define their own annotation tie-breaker when two revisions
 
2441
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
2442
  Be aware though that this is temporary, private (as indicated by the leading
 
2443
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
2444
 
 
2445
* New command ``bzr dpush`` that can push changes to foreign 
 
2446
  branches (svn, git) without setting custom bzr-specific metadata.
 
2447
  (Jelmer Vernooij)
 
2448
 
 
2449
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
2450
  the submit branch to determine what format to use, if none was 
 
2451
  specified on the command-line.  (Jelmer Vernooij)
 
2452
 
 
2453
Improvements
 
2454
************
 
2455
 
 
2456
* -Dhpss output now includes the number of VFS calls made to the remote
 
2457
  server. (Jonathan Lange)
 
2458
 
 
2459
* ``--coverage`` works for code running in threads too.
 
2460
  (Andrew Bennets, Vincent Ladeuil)
 
2461
 
 
2462
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
2463
  local branch, and not the bound master branch.
 
2464
  (Gary van der Merwe, #194716)
 
2465
 
 
2466
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
2467
 
 
2468
Bug Fixes
 
2469
*********
 
2470
 
 
2471
* Adding now works properly when path contains a symbolic link.
 
2472
  (Geoff Bache, #183831)
 
2473
 
 
2474
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
2475
 
 
2476
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
2477
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
2478
 
 
2479
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
2480
  (Martin von Gagern, #248932)
 
2481
 
 
2482
* ``bzr send`` works to send emails again using MAPI.
 
2483
  (Neil Martinsen-Burrell, #346998)
 
2484
 
 
2485
* Check for missing parent inventories in StreamSink.  This prevents
 
2486
  incomplete stacked branches being created by 1.13 bzr:// and
 
2487
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
2488
  causes those clients to send the missing records.  (Andrew Bennetts)
 
2489
 
 
2490
* Correctly handle http servers proposing multiple authentication schemes.
 
2491
  (Vincent Ladeuil, #366107)
 
2492
 
 
2493
* End-Of-Line content filters are now loaded correctly.
 
2494
  (Ian Clatworthy, Brian de Alwis, #355280)
 
2495
 
 
2496
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
2497
  longer than 64KiB. (John Arbash Meinel, #364900)
 
2498
 
 
2499
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
2500
  (Alexander Belchenko, Martin Pool, #365891)
 
2501
 
 
2502
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
2503
  (Jelmer Vernooij, #357863)
 
2504
 
 
2505
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
2506
  (Vincent Ladeuil, #367726)
 
2507
 
 
2508
* Several bugs related to unicode symlinks have been fixed and the test suite
 
2509
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
2510
 
 
2511
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
2512
  content with a size mismatch in a reconstructed graph search: it assumes
 
2513
  that the client will make sure it is happy with what it got, and this
 
2514
  sort of mismatch is normal for stacked environments.
 
2515
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
2516
  getting all the content expected would be a bug. However the graph
 
2517
  search is how we figured out what we wanted, so a mismatch is both odd
 
2518
  and unrecoverable without starting over, and starting over will end up
 
2519
  with the same data as if we just permitted the mismatch. If data is
 
2520
  gc'd, doing a new search will find only the truncated data, so sending
 
2521
  only the truncated data seems reasonable. bzr versions newer than this
 
2522
  will stream from stacked branches and check the stream to find missing
 
2523
  content in the stacked-on branch, and thus will handle the situation
 
2524
  implicitly.  (Robert Collins, #360791)
 
2525
 
 
2526
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
2527
  set the root data the same way that reconcile does.
 
2528
  (Robert Collins, #368921)
 
2529
 
 
2530
* Using unicode Windows API to obtain command-line arguments.
 
2531
  (Alexander Belchenko, #375934)
 
2532
 
 
2533
Documentation
 
2534
*************
 
2535
 
 
2536
API Changes
 
2537
***********
 
2538
 
 
2539
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
2540
  instead of ``InstallFailed`` when they detect a missing revision.
 
2541
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
2542
 
 
2543
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
2544
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
2545
  for unicode arguments on windows. Further, the supplied arguments are now 
 
2546
  required to be unicode strings, rather than user_encoded strings.
 
2547
  (Alexander Belchenko)
 
2548
 
 
2549
Internals
 
2550
*********
 
2551
 
 
2552
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
2553
  class and will call ``_set_parent_location`` after doing unicode 
 
2554
  encoding. (Robert Collins)
 
2555
 
 
2556
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
2557
  ``Branch.set_parent_location`` removing further VFS operations.
 
2558
  (Robert Collins)
 
2559
 
 
2560
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
2561
  or similar when the dir supports configuration settings. The base class
 
2562
  defaults to None. There is a matching new server verb
 
2563
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
2564
  configuration. (Robert Collins)
 
2565
 
 
2566
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
2567
  called before the first test is started, ``done`` called after the last
 
2568
  test completes, and a new parameter ``strict``. (Robert Collins)
 
2569
 
 
2570
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
2571
  VFS operations are started on a smart server repository. This should not
 
2572
  occur on regular push and pull operations, and is a key indicator for
 
2573
  performance regressions. (Robert Collins)
 
2574
 
 
2575
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
2576
  cause mismatched physical locks to cause test errors rather than just
 
2577
  reporting to the screen. (Robert Collins)
 
2578
 
 
2579
* -Dprogress will cause pdb to start up if a progress view jumps
 
2580
  backwards. (Robert Collins)
 
2581
 
 
2582
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
2583
  are now be able to provide credentials if obtaining credentials 
 
2584
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
2585
  Vincent Ladeuil, #321918)
 
2586
 
 
2587
* New hook ``Lock.lock_broken`` which runs when a lock is
 
2588
  broken. This is mainly for testing that lock/unlock are
 
2589
  balanced in tests. (Vincent Ladeuil)
 
2590
 
 
2591
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
2592
  alter a body for the message produced by ``bzr send``.
 
2593
 
 
2594
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
2595
  refactoring to the core of clone allowing less round trips on new
 
2596
  branches. (Robert Collins)
 
2597
 
 
2598
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
2599
  are pointing at. (Jelmer Vernooij)
 
2600
 
 
2601
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
2602
 
 
2603
Testing
 
2604
*******
 
2605
 
 
2606
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
2607
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
2608
  (Vincent Ladeuil, Robert Collins)
 
2609
 
 
2610
bzr 1.14
 
2611
########
 
2612
:Codename: brisbane-core
 
2613
:1.14rc1: 2009-04-06
 
2614
:1.14rc2: 2009-04-19
 
2615
:1.14: 2009-04-28
 
2616
:1.14.1: 2009-05-01
 
2617
 
 
2618
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
2619
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
2620
End-of-line conversion is now supported for formats supporting content
 
2621
filtering.
 
2622
 
 
2623
Changes from 1.14final to 1.14.1
 
2624
********************************
 
2625
 
 
2626
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
2627
 
 
2628
Changes from 1.14rc2 to 1.14final
 
2629
*********************************
 
2630
 
 
2631
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
2632
  longer than 64KiB. (John Arbash Meinel, #364900)
 
2633
 
 
2634
Changes from 1.14rc1 to 1.14rc2
 
2635
*******************************
 
2636
 
 
2637
* Fix for bug 358037 Revision not in
 
2638
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
2639
  John A Meinel)
 
2640
 
 
2641
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
2642
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
2643
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
2644
 
 
2645
* Fix for bug 355280 eol content filters are never loaded and thus never
 
2646
  applied (Brian de Alwis, Ian Clatworthy)
 
2647
 
 
2648
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
2649
  write a better fix. (John Arbash Meinel, Robert Collins)
 
2650
 
 
2651
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
2652
  (Marius Kruger, Ian Clatworthy)
 
2653
 
 
2654
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
2655
  (Andrew Bennetts, Robert Collins)
 
2656
 
 
2657
Compatibility Breaks
 
2658
********************
 
2659
 
 
2660
* A previously disabled code path to accelerate getting configuration
 
2661
  settings from a smart server has been reinstated. We think this *may*
 
2662
  cause a incompatibility with servers older than bzr 0.15. We intend
 
2663
  to issue a point release to address this if it turns out to be a
 
2664
  problem. (Robert Collins, Andrew Bennetts)
 
2665
 
 
2666
* bzr no longer autodetects nested trees as 'tree-references'.  They
 
2667
  must now be explicitly added tree references.  At the commandline, use
 
2668
  join --reference instead of add.  (Aaron Bentley)
 
2669
 
 
2670
* The ``--long`` log format (the default) no longer shows merged
 
2671
  revisions implicitly, making it consistent with the ``short`` and
 
2672
  ``line`` log formats.  To see merged revisions for just a given
 
2673
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
2674
  use ``bzr log -n0``.  (Ian Clatworthy)
 
2675
 
 
2676
New Features
 
2677
************
 
2678
 
 
2679
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
2680
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
2681
  and generic content filtering. These formats replace the experimental
 
2682
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
2683
  respectively, but have support for filtered views disabled.
 
2684
  (Ian Clatworthy)
 
2685
 
 
2686
* New ``mv --auto`` option recognizes renames after they occur.
 
2687
  (Aaron Bentley)
 
2688
 
 
2689
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
2690
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
2691
 
 
2692
* ``bzr log`` now supports filtering of multiple files and directories
 
2693
  and will show changes that touch any of them. Furthermore,
 
2694
  directory filtering now shows the changes to any children of that
 
2695
  directory, not just the directory object itself.
 
2696
  (Ian Clatworthy, #97715)
 
2697
 
 
2698
* ``bzr shelve`` can now apply changes without storing anything on the
 
2699
  shelf, via the new --destroy option.  (Aaron Bentley)
 
2700
 
 
2701
* ``bzr send`` now accepts --body to specify an initial message body.
 
2702
  (Aaron bentley)
 
2703
 
 
2704
* ``bzr xxx --usage`` where xxx is a command now shows a usage
 
2705
  message and the options without the descriptive help sections
 
2706
  (like Description and Examples). A message is also given
 
2707
  explaining how to see the complete help, i.e. ``bzr help xxx``.
 
2708
  (Ian Clatworthy)
 
2709
 
 
2710
* Content filters can now be used to provide custom conversion
 
2711
  between the canonical format of content (i.e. as stored) and
 
2712
  the convenience format of content (i.e. as created in working
 
2713
  trees). See ``bzr help content-filters`` for further details.
 
2714
  (Ian Clatworthy, Alexander Belchenko)
 
2715
 
 
2716
* End-of-line conversion is now supported for formats supporting
 
2717
  content filtering. See ``bzr help eol`` for details.
 
2718
  (Ian Clatworthy)
 
2719
 
 
2720
* Newly-blessed `join` command allows combining two trees into one.
 
2721
  (Aaron Bentley)
 
2722
 
 
2723
Improvements
 
2724
************
 
2725
 
 
2726
* A new format name alias ``default-rich-root`` has been added and
 
2727
  points at the closest relative of the default format that supports 
 
2728
  rich roots. (Jelmer Vernooij, #338061)
 
2729
 
 
2730
* Branching from a stacked branch using ``bzr*://`` will now stream
 
2731
  the data when the target repository does not need topological
 
2732
  ordering, reducing round trips and network overhead. This uses the
 
2733
  existing smart server methods added in 1.13, so will work on any
 
2734
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
 
2735
 
 
2736
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
 
2737
  that displays/saves the content after content filters are applied.
 
2738
  (Ian Clatworthy)
 
2739
 
 
2740
* ``bzr ignore`` gives a more informative message when existing
 
2741
  version controlled files match the ignore pattern. (Neil
 
2742
  Martinsen-Burrell, #248895)
 
2743
 
 
2744
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
2745
  (Ian Clatworthy)
 
2746
 
 
2747
* ``bzr send`` is faster on repositories with deep histories.
 
2748
  (Ian Clatworthy)
 
2749
 
 
2750
* IPv6 literals are accepted in URLs.
 
2751
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
2752
 
 
2753
* Progress bars now show the rate of network activity for
 
2754
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
2755
 
 
2756
* Prompt for user names if they are not in the configuration. 
 
2757
  (Jelmer Vernooij, #256612)
 
2758
 
 
2759
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
 
2760
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
 
2761
  #294479)
 
2762
  
 
2763
* Streaming push can be done to older repository formats.  This is
 
2764
  implemented using a new ``Repository.insert_stream_locked`` RPC.
 
2765
  (Andrew Bennetts, Robert Collins)
 
2766
 
 
2767
* The "ignoring files outside view: .." message has been re-worded
 
2768
  to "Ignoring files outside view. View is .." to reduce confusion
 
2769
  about what was being considered and what was being ignored.
 
2770
  (Ian Clatworthy)
 
2771
 
 
2772
* The ``long`` log formatter now shows [merge] indicators. If
 
2773
  only one level of revisions is displayed and merges are found,
 
2774
  the ``long`` and ``short`` log formatters now tell the user
 
2775
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
2776
 
 
2777
* The ``brisbane-core`` project has delivered its beta format
 
2778
  ``development6-rich-root``. This format is suitable for judicious
 
2779
  testing by early adopters. In particular if you are benchmarking bzr
 
2780
  performance please be sure to test using this format. At this stage
 
2781
  more information is best obtained by contacting the Bazaar mailing list
 
2782
  or IRC channel if you are interested in using this format. We will make
 
2783
  end user documentation available closer to blessing the format as
 
2784
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
2785
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
2786
 
 
2787
* Tildes are no longer escaped. No more %7Euser/project/branch!
 
2788
  (Jonathan Lange)
 
2789
 
 
2790
Bug Fixes
 
2791
*********
 
2792
 
 
2793
* Pushing a new stacked branch will also push the parent inventories for
 
2794
  revisions at the stacking boundary.  This makes sure that the stacked
 
2795
  branch has enough data to calculate inventory deltas for all of its
 
2796
  revisions (without requiring the fallback branch).  This avoids
 
2797
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
2798
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
2799
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
2800
 
 
2801
* End-Of-Line content filters are now loaded correctly.
 
2802
  (Ian Clatworthy, Brian de Alwis, #355280)
 
2803
 
 
2804
* Authentication plugins now receive all the parameters from the request
 
2805
  itself (aka host, port, realm, path, etc). Previously, only the 
 
2806
  authentication section name, username and encoded password were 
 
2807
  provided. (Jean-Francois Roy)
 
2808
 
 
2809
* bzr gives a better message if an invalid regexp is passed to ``bzr log
 
2810
  -m``.  (Anne Mohsen, Martin Pool)
 
2811
 
 
2812
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
2813
 
 
2814
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
2815
  #313028)
 
2816
 
 
2817
* Fix "is not a stackable format" error when pushing a
 
2818
  stackable-format branch with an unstackable-format repository to a
 
2819
  destination with a default stacking policy.  (Andrew Bennetts)
 
2820
 
 
2821
* Fixed incorrect "Source format does not support stacking" warning
 
2822
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
2823
 
 
2824
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
2825
  needed. (Vincent Ladeuil, #355454)
 
2826
 
 
2827
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
 
2828
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
2829
  defined.  (Ian Clatworthy, #344708)
 
2830
 
 
2831
* It is no longer possible to fetch between repositories while the
 
2832
  target repository is in a write group. This prevents race conditions
 
2833
  that prevent the use of RPC's to perform fetch, and thus allows
 
2834
  optimising more operations. (Robert Collins, Andrew Bennetts)
 
2835
 
 
2836
* ``merge --force`` works again. (Robert Collins, #342105)
 
2837
 
 
2838
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
 
2839
  (Vincent Ladeuil, #346593)
 
2840
 
 
2841
* Pushing a new branch to a server that has a stacking policy will now
 
2842
  upgrade from the local branch format when the stacking policy points at
 
2843
  a branch which is itself stackable, because we know the client can read
 
2844
  both branches, we know that the trunk for the project can be read too,
 
2845
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
 
2846
 
 
2847
* Pushing a new stacked branch will also push the parent inventories for
 
2848
  revisions at the stacking boundary.  This makes sure that the stacked
 
2849
  branch has enough data to calculate inventory deltas for all of its
 
2850
  revisions (without requiring the fallback branch).  This avoids
 
2851
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
2852
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
2853
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
2854
 
 
2855
* The full test suite is passing again on OSX. Several minor issues (mostly
 
2856
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
2857
 
 
2858
* The GNU Changelog formatter is slightly improved in the case where
 
2859
  the delta is empty, and now correctly claims not to support tags.
 
2860
  (Andrea Bolognani)
 
2861
 
 
2862
* Shelve can now shelve changes to a symlink target.
 
2863
  (James Westby, #341558)
 
2864
 
 
2865
* The help for the ``info`` command has been corrected.
 
2866
  (Ian Clatworthy, #351931)
 
2867
 
 
2868
* Upgrade will now use a sensible default format if the source repository
 
2869
  uses rich roots.  (Jelmer Vernooij, #252908)
 
2870
 
 
2871
Documentation
 
2872
*************
 
2873
 
 
2874
* Expanded the index of the developer documentation. (Eric Siegerman)
 
2875
 
 
2876
* New topic `bzr help debug-flags`.  (Martin Pool)
 
2877
 
 
2878
* The generated manpage now explicitly lists aliases as commands.
 
2879
  (James Westby, #336998)
 
2880
 
 
2881
API Changes
 
2882
***********
 
2883
 
 
2884
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
2885
  (Martin Pool)
 
2886
 
 
2887
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
2888
  commit - this was a full-tree overhead that bzr no longer performs.
 
2889
  (Robert Collins)
 
2890
 
 
2891
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
2892
  obtain the username to use when connecting to remote machines. 
 
2893
  (Jelmer Vernooij)
 
2894
 
 
2895
* New API ``Inventory.filter()`` added that filters an inventory by
 
2896
  a set of file-ids so that only those fileids, their parents and
 
2897
  their children are included.  (Ian Clatworthy)
 
2898
 
 
2899
* New sort order for ``get_record_stream`` ``groupcompress`` which
 
2900
  sorts optimally for use with groupcompress compressors. (John Arbash
 
2901
  Meinel, Robert Collins)
 
2902
 
 
2903
* Repository APIs ``get_deltas_for_revisions()`` and
 
2904
  ``get_revision_delta()`` now support an optional ``specific_fileids``
 
2905
  parameter. If provided, the deltas are filtered so that only those
 
2906
  file-ids, their parents and their children are included.
 
2907
  (Ian Clatworthy)
 
2908
 
 
2909
* The ``get_credentials`` and ``set_credentials`` methods of 
 
2910
  ``AuthenticationConfig`` now accept an optional realm argument.
 
2911
  (Jean-Francois Roy)
 
2912
 
 
2913
* The ``pb`` argument to ``fetch()`` is deprecated.
 
2914
  (Martin Pool)
 
2915
 
 
2916
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
2917
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
2918
 
 
2919
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
 
2920
  that is not inside the backing transport from being opened.  See the
 
2921
  module documentation for ``bzrlib.smart.request`` for details.
 
2922
  (Andrew Bennetts, Robert Collins)
 
2923
 
 
2924
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
2925
  or None. Previously it would return the bytes from reading the link
 
2926
  which could be in any arbitrary encoding. (Robert Collins)
 
2927
 
 
2928
Testing
 
2929
*******
 
2930
 
 
2931
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
 
2932
  and ``tearDown`` weren't called.  This catches faulty tests that
 
2933
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
 
2934
  faulty tests were not properly isolated.
 
2935
  (Andrew Bennetts, Robert Collins)
 
2936
 
 
2937
* Fix test_msgeditor.MsgEditorTest test isolation.
 
2938
  (Vincent Ladeuil, #347130)
 
2939
 
 
2940
* ``medusa`` is not used anymore as an FTP test server starting with
 
2941
  python2.6. A new FTP test server based on ``pyftplib`` can be used
 
2942
  instead. This new server is a soft dependency as medusa which is still
 
2943
  preferred if both are available (modulo python version).
 
2944
  (Vincent Ladeuil)
 
2945
 
 
2946
Internals
 
2947
*********
 
2948
 
 
2949
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
2950
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
2951
 
 
2952
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
2953
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
2954
 
 
2955
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
2956
  serializing and deserializing inventory deltas for more efficient
 
2957
  streaming on the network.  (Robert Collins, Andrew Bennetts)
 
2958
 
 
2959
* ``Branch._get_config`` has been added, which splits out access to the
 
2960
  specific config file from the branch. This is used to let RemoteBranch
 
2961
  avoid constructing real branch objects to access configuration settings.
 
2962
  (Robert Collins, Andrew Bennetts)
 
2963
 
 
2964
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
2965
  the implementation is generic and should impact foreign formats. This
 
2966
  helps performance for ``RemoteBranch`` push operations to new stacked
 
2967
  branches. (Robert Collins, Andrew Bennetts)
 
2968
 
 
2969
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
 
2970
  optmizations turned off. This only has effect when processing > 100,000
 
2971
  keys during something like ``bzr pack``. (John Arbash Meinel)
 
2972
 
 
2973
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
 
2974
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
 
2975
  dependency. (Robert Collins)
 
2976
 
 
2977
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
 
2978
  parameter for controlling opening of stacked branches.
 
2979
  (Andrew Bennetts, Robert Collins)
 
2980
  
 
2981
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
 
2982
  in terms of an iter_changes iterator rather than full tree scanning.
 
2983
  (Robert Collins)
 
2984
 
 
2985
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
 
2986
  enabling it to store the SHA1 and stat of the canonical (post
 
2987
  content filtered) form. (Ian Clatworthy)
 
2988
 
 
2989
* New ``assertLength`` method based on one Martin has squirreled away
 
2990
  somewhere. (Robert Collins, Martin Pool)
 
2991
 
 
2992
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
 
2993
  objects, allowing better enforcement of the smart server jail when
 
2994
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
 
2995
 
 
2996
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
2997
  to be added to the stanza that is printed for a particular revision.
 
2998
  (Jelmer Vernooij)
 
2999
 
 
3000
* New repository method ``refresh_data`` to cause any repository to
 
3001
  make visible data inserted into the repository by a smart server
 
3002
  fetch operation. (Robert Collins, Andrew Bennetts)
 
3003
 
 
3004
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
3005
  a callable to invoke if a preference has a value not in the map
 
3006
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
3007
  handle existing svn properties that define a list of keywords to be
 
3008
  expanded.  (Ian Clatworthy)
 
3009
 
 
3010
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
3011
  to write config settings to smart servers that support this, saving
 
3012
  5 round trips on the stacked streaming acceptance test.
 
3013
  (Robert Collins, Andrew Bennetts)
 
3014
 
 
3015
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
3016
  branch specific configuration from a remote server, which uses the 
 
3017
  already existing ``Branch.get_config_file`` smart verb.
 
3018
  (Robert Collins, Andrew Bennetts)
 
3019
 
 
3020
* ``RemoteRepository`` will now negatively cache missing revisions during
 
3021
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
 
3022
  (Robert Collins, Andrew Bennetts)
 
3023
 
 
3024
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
 
3025
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
 
3026
  (Andrew Bennetts)
 
3027
 
 
3028
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
 
3029
  whether the repository can efficiently generate deltas between trees
 
3030
  regardless of tree size. (Robert Collins)
 
3031
 
 
3032
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
 
3033
  byte strings" (aka 'chunked') for the content. It previously was
 
3034
  returning a plain string, which worked, but performed very poorly when
 
3035
  building a working tree (file.writelines(str) is very inefficient). This
 
3036
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
 
3037
 
 
3038
* selftest now supports a --parallel option, with values of 'fork' or
 
3039
  'subprocess' to run the test suite in parallel. Currently only linux
 
3040
  machine work, other platforms need patches submitted. (Robert Collins,
 
3041
  Vincent Ladeuil)
 
3042
 
 
3043
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
 
3044
  callables to use to decorate the test suite. Such decorators can add or
 
3045
  remove tests, or even remote the test suite to another machine if
 
3046
  desired. (Robert Collins)
 
3047
 
 
3048
* The smart server verb ``Repository.get_parent_map`` can now include
 
3049
  information about ghosts when the special revision ``include-missing:``
 
3050
  is in the requested parents map list. With this flag, ghosts are
 
3051
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
 
3052
 
 
3053
* ``_walk_to_common_revisions`` will now batch up at least 50
 
3054
  revisions before calling ``get_parent_map`` on the target,
 
3055
  regardless of ``InterRepository``.
 
3056
  (Andrew Bennetts, Robert Collins)
 
3057
 
 
3058
bzr 1.13
 
3059
########
 
3060
 
 
3061
:Codename: paraskavedekatriaphobia
 
3062
:1.13: 2009-03-14
 
3063
:1.13rc1: 2009-03-10
 
3064
:1.13.1: 2009-03-23
 
3065
:1.13.2: 2009-04-27
 
3066
 
 
3067
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
 
3068
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
 
3069
stacked branches should both be much faster over remote connections.  
 
3070
 
 
3071
Changes From 1.13.1 to 1.13.2
 
3072
*****************************
 
3073
 
 
3074
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
3075
a stacked branch they do not take care to push all the parent inventories for
 
3076
the transferred revisions. This means that a smart server serving that branch
 
3077
often cannot calculate inventory deltas for the branch (because smart server
 
3078
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
3079
have a verb to stream revisions out of a repository, so that's why this bug has
 
3080
appeared now.
 
3081
 
 
3082
Bug Fixes
 
3083
*********
 
3084
 
 
3085
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
3086
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
3087
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
3088
 
 
3089
Changes From 1.13final to 1.13.1
 
3090
********************************
 
3091
 
 
3092
A couple regessions where found in the 1.13 release. The pyrex-generated C
 
3093
extensions are missing from the .tar.gz and .zip files.  Documentation on how
 
3094
to generate GNU ChangeLogs is wrong.
 
3095
 
 
3096
Bug Fixes
 
3097
*********
 
3098
 
 
3099
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
 
3100
  version_info. (Bob Tanner, Martin Pool, #345232)
 
3101
 
 
3102
* Distribution archives for 1.13 do not contain generated C extension modules
 
3103
  (Jean-Francois Roy, Bob Tanner, #344465)
 
3104
 
 
3105
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
 
3106
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
 
3107
 
 
3108
* ``merge --force`` works again. (Robert Collins, #342105)
 
3109
 
 
3110
Changes From 1.13rc1 to 1.13final
 
3111
*********************************
 
3112
 
 
3113
* Fix "is not a stackable format" error when pushing a
 
3114
  stackable-format branch with an unstackable-format repository to a
 
3115
  destination with a default stacking policy.  (Andrew Bennetts)
 
3116
 
 
3117
* Progress bars now show the rate of network activity for
 
3118
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
3119
 
 
3120
Compatibility Breaks
 
3121
********************
 
3122
 
 
3123
* ``bzr log --line`` now indicates which revisions are merges with
 
3124
  `[merge]` after the date.  Scripts which parse the output of this
 
3125
  command may need to be adjusted.
 
3126
  (Neil Martinsen-Burrell)
 
3127
 
 
3128
New Features
 
3129
************
 
3130
 
 
3131
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
 
3132
  options to change the default tree-creation policy of shared
 
3133
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
 
3134
 
 
3135
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
 
3136
  (Martin Pool)
 
3137
 
 
3138
* Filtered views provide a mask over the tree so that users can focus
 
3139
  on a subset of a tree when doing their work. See ``Filtered views``
 
3140
  in chapter 7 of the User Guide and ``bzr help view`` for details.
 
3141
  (Ian Clatworthy)
 
3142
 
 
3143
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
 
3144
  (Andrea Bolognani, Martin Pool)
 
3145
 
 
3146
* The ``-Dmemory`` flag now gives memory information on Windows.
 
3147
  (John Arbash Meinel)
 
3148
 
 
3149
* Multiple authors for a commit can now be recorded by using the "--author"
 
3150
  option multiple times. (James Westby, #185772)
 
3151
 
 
3152
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
 
3153
 
 
3154
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
 
3155
  branch in your web browser, as long as the branch is on Launchpad at all.
 
3156
  (Jonathan Lange)
 
3157
 
 
3158
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
 
3159
  (Jonathan Lange)
 
3160
 
 
3161
Improvements
 
3162
************
 
3163
 
 
3164
* All bzr ``Hooks`` classes are now registered in
 
3165
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
 
3166
  ``bzrlib.tests`` and ensures that all hooks registered there are
 
3167
  correctly isolated by the test suite (previously
 
3168
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
 
3169
  documentation for hooks is now dynamically generated from the
 
3170
  present HookPoints. ``bzr hooks`` will now also report on all the
 
3171
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
 
3172
  (Robert Collins)
 
3173
 
 
3174
* ``bzr add`` no longer prints ``add completed`` on success. Failure
 
3175
  still prints an error message. (Robert Collins)
 
3176
 
 
3177
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
 
3178
  generation of a working tree in the new branch.
 
3179
  (Daniel Watkins, John Klinger, #273993)
 
3180
 
 
3181
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
 
3182
  use ssh://. (Jelmer Vernooij, #330535)
 
3183
 
 
3184
* ``bzr -v info`` now omits the number of committers branch statistic,
 
3185
  making it many times faster for large projects. To include that
 
3186
  statistic in the output, use ``bzr -vv info``.
 
3187
  (Ian Clatworthy)
 
3188
 
 
3189
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
 
3190
  stream if the server is version 1.13 or greater, reducing roundtrips
 
3191
  significantly. (Andrew Bennetts, Robert Collins)
 
3192
 
 
3193
* Lightweight Checkouts and Stacked Branches should both be much
 
3194
  faster over remote connections. Building the working tree now
 
3195
  batches up requests into approx 5MB requests, rather than a separate
 
3196
  request for each file. (John Arbash Meinel)
 
3197
 
 
3198
* Support for GSSAPI authentication when using HTTP or HTTPS. 
 
3199
  (Jelmer Vernooij)
 
3200
 
 
3201
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
 
3202
  short options better. (Daniel Watkins, #327429)
 
3203
 
 
3204
* ``bzr lp-open`` now falls back to the push location if it cannot find a
 
3205
  public location. (Jonathan Lange, #332372)
 
3206
 
 
3207
* ``bzr lp-open`` will try to find the Launchpad URL for the location
 
3208
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
 
3209
  expected. (Jonathan Lange, #332705)
 
3210
 
 
3211
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
 
3212
 
 
3213
Bug Fixes
 
3214
*********
 
3215
 
 
3216
* Allows ``bzr log <FILE>`` to be called in an empty branch without
 
3217
  backtracing. (Vincent Ladeuil, #346431)
 
3218
 
 
3219
* Bazaar now gives a better message including the filename if it's
 
3220
  unable to read a file in the working directory, for example because
 
3221
  of a permission error.  (Martin Pool, #338653)
 
3222
 
 
3223
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
 
3224
  file id in the working tree different from the one in revision <old>.
 
3225
  (Vincent Ladeuil, #341517, #253806)
 
3226
 
 
3227
* ``bzr send`` help is more specific about how to apply merge
 
3228
  directives.  (Neil Martinsen-Burrell, #253470)
 
3229
 
 
3230
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
 
3231
  than fetching trees and determining a delta itself. (Jelmer
 
3232
  Vernooij, #315048)
 
3233
 
 
3234
* ``bzr push`` to a smart server no longer causes "Revision
 
3235
  {set([('null:',)])} not present ..." errors when the branch has
 
3236
  multiple root revisions. (Andrew Bennetts, #317654)
 
3237
 
 
3238
* ``bzr shelve`` now properly handle patches with no terminating newline.
 
3239
  (Benoît PIERRE, #303569)
 
3240
 
 
3241
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
 
3242
  shelf id. (Daniel Watkins)
 
3243
 
 
3244
* Export now handles files that are not present in the tree.
 
3245
  (James Westby, #174539)
 
3246
 
 
3247
* Fixed incorrect "Source format does not support stacking" warning
 
3248
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
3249
  
 
3250
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
 
3251
  error branching from old repositories.
 
3252
  (Martin Pool, #321695)
 
3253
 
 
3254
* Make ``bzr push --quiet <non-local location>`` less chatty.
 
3255
  (Kent Gibson, #221461)
 
3256
 
 
3257
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
 
3258
  branches, and this was not noticed due to a bug in the test logic
 
3259
  for branches. This is now fixed and a test added to prevent it
 
3260
  reoccuring. (Robert Collins, Andrew Bennetts)
 
3261
 
 
3262
* Restore the progress bar on Windows. We were disabling it when TERM
 
3263
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
3264
  #334808)
 
3265
 
 
3266
* ``setup.py build_ext`` now gives a proper error when an extension
 
3267
  fails to build. (John Arbash Meinel)
 
3268
 
 
3269
* Symlinks to non ascii file names are now supported.
 
3270
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
 
3271
 
 
3272
* Under rare circumstances (aka nobody reported a bug about it), the ftp
 
3273
  transport could revert to ascii mode. It now stays in binary mode except
 
3274
  when needed.  (Vincent Ladeuil)
 
3275
 
 
3276
* Unshelve does not generate warnings about progress bars.
 
3277
  (Aaron Bentley, #328148)
 
3278
 
 
3279
* shelve cleans up properly when unversioned files are specified.
 
3280
  (Benoît Pierre, Aaron Bentley)
 
3281
 
 
3282
Documentation
 
3283
*************
 
3284
 
 
3285
* Added ``Organizing your workspace`` to the User Guide appendices,
 
3286
  summarizing some common ways of organizing trees, branches and
 
3287
  repositories and the processes/workflows implied/enabled by each.
 
3288
  (Ian Clatworthy)
 
3289
 
 
3290
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
 
3291
  is the entry point for this feature. (Robert Collins)
 
3292
 
 
3293
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
 
3294
  (Daniel Watkins, #327421, #327425)
 
3295
 
 
3296
API Changes
 
3297
***********
 
3298
 
 
3299
* ``bzr selftest`` now fails if the bazaar sources contain trailing
 
3300
  whitespace, non-unix style line endings and files not ending in a
 
3301
  newline. About 372 files and 3243 lines with trailing whitespace was
 
3302
  updated to comply with this. The code already complied with the other
 
3303
  criteria, but now it is enforced. (Marius Kruger)
 
3304
 
 
3305
* ``bzrlib.branch.PushResult`` was renamed to 
 
3306
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
 
3307
 
 
3308
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
 
3309
  than a count of copied revisions and failed revisions. A while back
 
3310
  we stopped ever reporting failed revisions because we started
 
3311
  erroring instead, and the copied revisions count is not used in the
 
3312
  UI at all - indeed it only reflects the repository status not
 
3313
  changes to the branch itself. (Robert Collins)
 
3314
 
 
3315
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
 
3316
  appears multiple times within the delta. (Ian Clatworthy)
 
3317
 
 
3318
* MutableTree.commit now favours the "authors" argument, with the old
 
3319
  "author" argument being deprecated.
 
3320
 
 
3321
* Remove deprecated EmptyTree.  (Martin Pool)
 
3322
 
 
3323
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
 
3324
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
 
3325
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
 
3326
  which revisions to fetch. (Andrew Bennetts)
 
3327
 
 
3328
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
 
3329
  tuple of ``(repository, is_new_flag)``, rather than just the
 
3330
  repository.  (Andrew Bennetts)
 
3331
 
 
3332
* Revision.get_apparent_author() is now deprecated, replaced by
 
3333
  Revision.get_apparent_authors(), which returns a list. The former
 
3334
  now returns the first item that would be returned from the second.
 
3335
 
 
3336
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
 
3337
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
 
3338
 
 
3339
* The ``_fetch_*`` attributes on ``Repository`` are now on
 
3340
  ``RepositoryFormat``, more accurately reflecting their intent (they
 
3341
  describe a disk format capability, not state of a particular
 
3342
  repository of that format). (Robert Collins)
 
3343
 
 
3344
Internals
 
3345
*********
 
3346
 
 
3347
* Branching from a non-stacked branch on a smart protocol is now
 
3348
  free of virtual file system methods.
 
3349
  (Robert Collins, Andrew Bennetts)
 
3350
 
 
3351
* Branch and Repository creation on a bzr+ssh://server are now done
 
3352
  via RPC calls rather than VFS calls, reducing round trips for
 
3353
  pushing new branches substantially. (Robert Collins)
 
3354
 
 
3355
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
 
3356
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
 
3357
  configured before the branch tags and revision tip are set. This
 
3358
  fixes a race condition cloning stacked branches that would cause
 
3359
  plugins to have hooks called on non-stacked instances.
 
3360
  (Robert Collins, #334187)
 
3361
 
 
3362
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
 
3363
 
 
3364
* ``BzrDirFormat.__str__`` now uses the human readable description
 
3365
  rather than the sometimes-absent disk label. (Robert Collins)
 
3366
 
 
3367
* ``bzrlib.fetch`` is now composed of a sender and a sink component
 
3368
  allowing for decoupling over a network connection. Fetching from
 
3369
  or into a RemoteRepository with a 1.13 server will use this to
 
3370
  stream the operation.
 
3371
  (Andrew Bennetts, Robert Collins)
 
3372
 
 
3373
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
 
3374
  supporting the use of different runners. (Robert Collins)
 
3375
 
 
3376
* Change how file_ids and revision_ids are interned as part of
 
3377
  inventory deserialization. Now we use the real ``intern()``, rather
 
3378
  than our own workaround that would also cache a Unicode copy of the
 
3379
  string, and never emptied the cache. This should slightly reduce
 
3380
  memory consumption. (John Arbash Meinel)
 
3381
 
 
3382
* New branch method ``create_clone_on_transport`` that returns a
 
3383
  branch object. (Robert Collins)
 
3384
 
 
3385
* New hook Commands['extend_command'] to allow plugins to access a
 
3386
  command object before the command is run (or help generated from
 
3387
  it), without overriding the command. (Robert Collins)
 
3388
 
 
3389
* New version of the ``BzrDir.find_repository`` verb supporting
 
3390
  ``_network_name`` to support removing more _ensure_real calls.
 
3391
  (Robert Collins)
 
3392
 
 
3393
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
 
3394
  (Robert Collins)
 
3395
 
 
3396
* ``Repository`` objects now have ``suspend_write_group`` and
 
3397
  ``resume_write_group`` methods.  These are currently only useful
 
3398
  with pack repositories. (Andrew Bennetts, Robert Collins)
 
3399
 
 
3400
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
 
3401
  now have a ``network_name`` for passing the format across RPC calls.
 
3402
  (Robert Collins, Andrew Bennetts)
 
3403
 
 
3404
* ``RepositoryFormat`` objects now all have a new attribute
 
3405
  ``_serializer`` used by fetch when reserialising is required.
 
3406
  (Robert Collins, Andrew Bennetts)
 
3407
 
 
3408
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
 
3409
  to aid branch types that are not bzr branch objects (like
 
3410
  RemoteBranch). (Robert Collins, Andrew Bennetts)
 
3411
 
 
3412
* Test adaptation has been made consistent throughout the built in
 
3413
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
 
3414
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
 
3415
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
 
3416
  and ``apply_scenario``. (Robert Collins)
 
3417
 
 
3418
* ``TestSkipped`` is now detected by TestCase and passed to the
 
3419
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
 
3420
  where ``addSkip`` is not available, ``addError`` is still called.
 
3421
  This permits test filtering in subunit to strip out skipped tests
 
3422
  resulting in a faster fix-shrink-list-run cycle. This is compatible
 
3423
  with the testtools protocol for skips. (Robert Collins)
 
3424
 
 
3425
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
 
3426
  to scan an underlying index that is going to be incorporated into
 
3427
  the ``KnitVersionedFiles`` object, to determine if it has missing
 
3428
  delta references. The method is ``scan_unvalidated_index``.
 
3429
  (Andrew Bennetts, Robert Collins)
 
3430
 
 
3431
* There is a RemoteSink object which handles pushing to smart servers.
 
3432
  (Andrew Bennetts, Robert Collins)
 
3433
 
 
3434
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
 
3435
  ``rmdir`` calls. (Robert Collins)
 
3436
 
 
3437
* ``VersionedFiles`` record adapters have had their signature change
 
3438
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
 
3439
  ``(record)`` reducing excess duplication and allowing adapters
 
3440
  to access private data in record to obtain content more
 
3441
  efficiently. (Robert Collins)
 
3442
 
 
3443
* We no longer probe to see if we should create a working tree during
 
3444
  clone if we cannot get a local_abspath for the new bzrdir.
 
3445
  (Robert Collins)
 
3446
 
 
3447
 
 
3448
bzr 1.12
 
3449
########
 
3450
 
 
3451
:Codename: 1234567890
 
3452
:1.12: 2009-02-13
 
3453
:1.12rc1: 2009-02-10
 
3454
 
 
3455
This release of Bazaar contains many improvements to the speed,
 
3456
documentation and functionality of ``bzr log`` and the display of logged
 
3457
revisions by ``bzr status``.  bzr now also gives a better indication of
 
3458
progress, both in the way operations are drawn onto a text terminal, and
 
3459
by showing the rate of network IO.
 
3460
 
 
3461
Changes from RC1 to Final
 
3462
*************************
 
3463
 
 
3464
* ``bzr init --development-wt5[-rich-root]`` would fail because of
 
3465
  circular import errors. (John Arbash Meinel, #328135)
 
3466
 
 
3467
* Expanded the help for log and added a new help topic called
 
3468
  ``log-formats``.  (Ian Clatworthy)
 
3469
 
 
3470
Compatibility Breaks
 
3471
********************
 
3472
 
 
3473
* By default, ``bzr status`` after a merge now shows just the pending
 
3474
  merge tip revisions. This improves the signal-to-noise ratio after
 
3475
  merging from trunk and completes much faster. To see all merged
 
3476
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
 
3477
 
 
3478
* ``bzr log --line`` now shows any tags after the date and before
 
3479
  the commit message. If you have scripts which parse the output
 
3480
  from this command, you may need to adjust them accordingly.
 
3481
  (Ian Clatworthy)
 
3482
 
 
3483
* ``bzr log --short`` now shows any additional revision properties
 
3484
  after the date and before the commit message.  Scripts that parse 
 
3485
  output of the log command in this situation may need to adjust.
 
3486
  (Neil Martinsen-Burrell)
 
3487
 
 
3488
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
 
3489
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
 
3490
  respectively, given they are not ready for release in 1.12.
 
3491
  (Ian Clatworthy)
 
3492
 
 
3493
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
 
3494
 
 
3495
New Features
 
3496
************
 
3497
 
 
3498
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
 
3499
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
 
3500
  be filtered using ``bzr missing --my-revision -20..-10``.
 
3501
  (Marius Kruger)
 
3502
 
 
3503
* ``bzr log -p`` displays the patch diff for each revision.
 
3504
  When logging a file, the diff only includes changes to that file.
 
3505
  (Ian Clatworthy, #202331, #227335)
 
3506
 
 
3507
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
 
3508
  A value of 0 (zero) means "show all nested merge revisions" while
 
3509
  a value of 1 (one) means "show just the top level". Values above
 
3510
  1 can be used to see a limited amount of nesting. That can be
 
3511
  useful for seeing the level or two below PQM submits for example.
 
3512
  To force the ``--short`` and ``--line`` formats to display all nested
 
3513
  merge revisions just like ``--long`` does by default, use a command
 
3514
  like ``bzr log --short -n0``. To display just the mainline using
 
3515
  ``--long`` format, ``bzr log --long -n1``.
 
3516
  (Ian Clatworthy)
 
3517
 
 
3518
Improvements
 
3519
************
 
3520
 
 
3521
* ``bzr add`` more clearly communicates success vs failure.
 
3522
  (Daniel Watkins)
 
3523
 
 
3524
* ``bzr init`` will now print a little less verbose output.
 
3525
  (Marius Kruger)
 
3526
 
 
3527
* ``bzr log`` is now much faster in many use cases, particularly
 
3528
  at incrementally displaying results and filtering by a
 
3529
  revision range. (Ian Clatworthy)
 
3530
 
 
3531
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
 
3532
  for each revision. The tags are shown comma-separated inside
 
3533
  ``{}``. For short format, the tags appear at the end of line
 
3534
  before the optional ``[merge]`` indicator. For line format,
 
3535
  the tags appear after the date. (Ian Clatworthy)
 
3536
 
 
3537
* Progress bars now show the rate of activity for some sftp 
 
3538
  operations, and they are drawn different.  (Martin Pool, #172741)
 
3539
 
 
3540
* Progress bars now show the rate of activity for urllib and pycurl based
 
3541
  http client implementations. The operations are tracked at the socket
 
3542
  level for better precision.
 
3543
  (Vincent Ladeuil)
 
3544
 
 
3545
* Rule-based preferences can now accept multiple patterns for a set of
 
3546
  rules.  (Marius Kruger)
 
3547
 
 
3548
* The ``ancestor:`` revision spec will now default to referring to the
 
3549
  parent of the branch if no other location is given.
 
3550
  (Daniel Watkins, #198417)
 
3551
 
 
3552
* The debugger started as a result of setting ``$BZR_PDB`` works
 
3553
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
 
3554
  can cause truncated tracebacks in Python versions before 2.6.
 
3555
  (Andrew Bennetts)
 
3556
 
 
3557
* VirtualVersionedFiles now implements
 
3558
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
 
3559
  new branches based on stacked bzr-svn branches. (#311997)
 
3560
 
 
3561
Bug Fixes
 
3562
*********
 
3563
 
 
3564
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
 
3565
  anymore.
 
3566
  (Anne Mohsen, Vincent Ladeuil, #314525)
 
3567
 
 
3568
* ``bzr log FILE`` now correctly shows mainline revisions merging
 
3569
  a change to FILE when the ``--short`` and ``--line`` log formats
 
3570
  are used. (Ian Clatworthy, #317417)
 
3571
 
 
3572
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
 
3573
  it existed in Y or X, even if the file has since been deleted or
 
3574
  renamed. If no range is given, the current/basis tree and
 
3575
  initial tree are searched in that order. More generally, log
 
3576
  now interprets filenames in their historical context.
 
3577
  (Ian Clatworthy, #175520)
 
3578
 
 
3579
* ``bzr status`` now reports nonexistent files and continues, then
 
3580
  errors (with code 3) at the end.  (Karl Fogel, #306394)
 
3581
 
 
3582
* Don't require the present compression base in knits to be the same
 
3583
  when adding records in knits. (Jelmer Vernooij, #307394)
 
3584
 
 
3585
* Fix a problem with CIFS client/server lag on Windows colliding with
 
3586
  an invariant-per-process algorithm for generating AtomicFile names
 
3587
  (Adrian Wilkins, #304023)
 
3588
 
 
3589
* Many socket operations now handle EINTR by retrying the operation.
 
3590
  Previously EINTR was treated as an unrecoverable failure.  There is
 
3591
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
 
3592
  (Andrew Bennetts)
 
3593
 
 
3594
* Support symlinks with non-ascii characters in the symlink filename.
 
3595
  (Jelmer Vernooij, #319323)
 
3596
 
 
3597
* There was a bug in how we handled resolving when a file is deleted
 
3598
  in one branch, and modified in the other. If there was a criss-cross
 
3599
  merge, we would cause the deletion to conflict a second time.
 
3600
  (Vincent Ladeuil, John Arbash Meinel)
 
3601
 
 
3602
* There was another bug in how we chose the correct intermediate LCA in
 
3603
  criss-cross merges leading to several kind of changes be incorrectly
 
3604
  handled.
 
3605
  (John Arbash Meinel, Vincent Ladeuil)
 
3606
 
 
3607
* Unshelve now handles deleted paths without crashing. (Robert Collins)
 
3608
 
 
3609
Documentation
 
3610
*************
 
3611
 
 
3612
* Improved plugin developer documentation.  (Martin Pool)
 
3613
 
 
3614
API Changes
 
3615
***********
 
3616
 
 
3617
* ``ProgressBarStack`` is deprecated; instead use
 
3618
  ``ui_factory.nested_progress_bar`` to create new progress bars.
 
3619
  (Martin Pool)
 
3620
 
 
3621
* ForeignVcsMapping() now requires a ForeignVcs object as first
 
3622
  argument. (Jelmer Vernooij)
 
3623
 
 
3624
* ForeignVcsMapping.show_foreign_revid() has been moved to
 
3625
  ForeignVcs. (Jelmer Vernooij)
 
3626
 
 
3627
* ``read_bundle_from_url`` is deprecated in favor of
 
3628
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
 
3629
 
 
3630
* Revision specifiers are now registered in
 
3631
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
 
3632
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
 
3633
  deprecated. (Jelmer Vernooij, #321183)
 
3634
 
 
3635
* The progress and UI classes have changed; the main APIs remain the
 
3636
  same but code that provides a new UI or progress bar class may
 
3637
  need to be updated.  (Martin Pool)
 
3638
 
 
3639
Internals
 
3640
*********
 
3641
 
 
3642
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
 
3643
  terminal. It is sometimes desirable do override this default by forcing
 
3644
  bzr to use TextUIFactory. This can be achieved by setting the
 
3645
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
 
3646
  compile buffers, are such an example).
 
3647
  (Vincent Ladeuil)
 
3648
 
 
3649
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
 
3650
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
 
3651
  (Ian Clatworthy)
 
3652
 
 
3653
* New ``Branch.dotted_revno_to_revision_id()`` and
 
3654
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
 
3655
  efficient way of doing the mapping.
 
3656
  (Ian Clatworthy)
 
3657
 
 
3658
* Refactor cmd_serve so that it's a little easier to build commands that
 
3659
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
 
3660
 
 
3661
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
 
3662
  formatters to retrict the output.
 
3663
  (Vincent Ladeuil)
 
3664
 
 
3665
 
 
3666
bzr 1.11
 
3667
########
 
3668
 
 
3669
:Codename: "Eyes up!"
 
3670
:Released: 2009-01-19
 
3671
 
 
3672
This first monthly release of Bazaar for 2009 improves Bazaar's operation
 
3673
in Windows, Mac OS X, and other situations where file names are matched
 
3674
without regard to capitalization: Bazaar tries to match the case of an
 
3675
existing file.  This release of Bazaar also improves the efficiency of
 
3676
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
 
3677
 
 
3678
The UI through which Bazaar supports historic formats has been improved,
 
3679
so 'bzr help formats' now gives a simpler and shorter list, with clear
 
3680
advice.
 
3681
 
 
3682
This release also fixes a number of bugs, particularly a glitch that can
 
3683
occur when there are concurrent writes to a pack repository.
 
3684
 
 
3685
Bug Fixes
 
3686
*********
 
3687
 
 
3688
* Fix failing test when CompiledChunksToLines is not available.
 
3689
  (Vincent Ladeuil)
 
3690
 
 
3691
* Stacked branches don't repeatedly open their transport connection.
 
3692
  (John Arbash Meinel)
 
3693
 
 
3694
 
 
3695
 
 
3696
bzr 1.11rc1
 
3697
###########
 
3698
 
 
3699
:Codename: "Eyes up!"
 
3700
:Released: 2009-01-09
 
3701
 
 
3702
Changes
 
3703
*******
 
3704
 
 
3705
* Formats using Knit-based repository formats are now explicitly
 
3706
  marked as deprecated. (Ian Clatworthy)
 
3707
 
 
3708
New Features
 
3709
************
 
3710
 
 
3711
* Add support for `bzr tags -r 1..2`, that is we now support showing
 
3712
  tags applicable for a specified revision range. (Marius Kruger)
 
3713
 
 
3714
* ``authentication.conf`` now accepts pluggable read-only credential
 
3715
  stores. Such a plugin (``netrc_credential_store``) is now included,
 
3716
  handles the ``$HOME/.netrc`` file and can server as an example to
 
3717
  implement other plugins.
 
3718
  (Vincent Ladeuil)
 
3719
 
 
3720
* ``shelve --list`` can now be used to list shelved changes.
 
3721
  (Aaron Bentley)
 
3722
 
 
3723
Improvements
 
3724
************
 
3725
 
 
3726
* Add trailing slash to directories in all output of ``bzr ls``, except
 
3727
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
 
3728
 
 
3729
* ``bzr revision-info`` now supports a -d option to specify an
 
3730
  alternative branch. (Michael Hudson)
 
3731
 
 
3732
* Add connection to a C++ implementation of the Windows Shell Extension
 
3733
  which is able to fully replace the current Python implemented one.
 
3734
  Advantages include 64bit support and reduction in overhead for
 
3735
  processes which drag in shell extensions.
 
3736
  (Mark Hammond)
 
3737
 
 
3738
* Support the Claws mail client directly, rather than via
 
3739
  xdg-email. This prevents the display of an unnecessary modal
 
3740
  dialog in Claws, informing the user that a file has been
 
3741
  attached to the message, and works around bug #291847 in
 
3742
  xdg-utils which corrupts the destination address.
 
3743
 
 
3744
* When working on a case-insensitive case-preserving file-system, as
 
3745
  commonly found with Windows, bzr will often ignore the case of the
 
3746
  arguments specified by the user in preference to the case of an existing
 
3747
  item on the file-system or in the inventory to help prevent
 
3748
  counter-intuitive behaviour on Windows. (Mark Hammond)
 
3749
 
 
3750
Bug Fixes
 
3751
*********
 
3752
  
 
3753
* Allow BzrDir implementation to implement backing up of 
 
3754
  control directory. (#139691)
 
3755
 
 
3756
* ``bzr push`` creating a new stacked branch will now only open a
 
3757
  single connection to the target machine. (John Arbash Meinel)
 
3758
 
 
3759
* Don't call iteritems on transport_list_registry, because it may
 
3760
  change during iteration.  (Martin Pool, #277048)
 
3761
 
 
3762
* Don't make a broken branch when pushing an unstackable-format branch
 
3763
  that's in a stackable shared repository to a location with default
 
3764
  stack-on location.  (Andrew Bennetts, #291046)
 
3765
 
 
3766
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
 
3767
  (Ben Jansen, Vincent Ladeuil, #300347)
 
3768
 
 
3769
* Fix a problem with CIFS client/server lag on windows colliding with
 
3770
  an invariant-per-process algorithm for generating AtomicFile names
 
3771
  (Adrian Wilkins, #304023)
 
3772
 
 
3773
* Fix bogus setUp signature in UnavailableFTPServer.
 
3774
  (Gary van der Merwe, #313498)
 
3775
 
 
3776
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
 
3777
  (Jari Aalto)
 
3778
 
 
3779
* Fix SystemError in ``_patiencediff_c`` module by calling
 
3780
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
 
3781
  (Andrew Bennetts, #303206)
 
3782
 
 
3783
* Give proper error message for diff with non-existent dotted revno.
 
3784
  (Marius Kruger, #301969)
 
3785
 
 
3786
* Handle EACCES (permission denied) errors when launching a message
 
3787
  editor, and emit warnings when a configured editor cannot be
 
3788
  started. (Andrew Bennetts)
 
3789
 
 
3790
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
 
3791
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
 
3792
  in the appropriate sections.
 
3793
  (Vincent Ladeuil, #103029)
 
3794
 
 
3795
* Opening a stacked branch now properly shares the connection, rather
 
3796
  than opening a new connection for the stacked-on branch.
 
3797
  (John Arbash meinel)
 
3798
 
 
3799
* Preserve transport decorators while following redirections.
 
3800
  (Vincent Ladeuil, #245964, #270863)
 
3801
 
 
3802
* Provides a finer and more robust filter for accepted redirections.
 
3803
  (Vincent Ladeuil, #303959, #265070)
 
3804
 
 
3805
* ``shelve`` paths are now interpreted relative to the current working
 
3806
  tree.  (Aaron Bentley)
 
3807
 
 
3808
* ``Transport.readv()`` defaults to not reading more than 100MB in a
 
3809
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
 
3810
  work better with how it splits its requests.
 
3811
  (John Arbash Meinel, #303538)
 
3812
 
 
3813
* Pack repositories are now able to reload the pack listing and retry
 
3814
  the current operation if another action causes the data to be
 
3815
  repacked.  (John Arbash Meinel, #153786)
 
3816
 
 
3817
* ``pull -v`` now respects the log_format configuration variable.
 
3818
  (Aaron Bentley)
 
3819
 
 
3820
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
 
3821
 
 
3822
* Use the short status format when the short format is used for log.
 
3823
  (Vincent Ladeuil, #87179)
 
3824
 
 
3825
* Allow files to be renamed or moved via remove + add-by-id. (Charles
 
3826
  Duffy, #314251)
 
3827
 
 
3828
Documentation
 
3829
*************
 
3830
 
 
3831
* Improved the formats help topic to explain why multiple formats
 
3832
  exist and to provide guidelines in selecting one. Introduced
 
3833
  two new supporting help topics: current-formats and other-formats.
 
3834
  (Ian Clatworthy)
 
3835
 
 
3836
API Changes
 
3837
***********
 
3838
 
 
3839
* ``LRUCache(after_cleanup_size)`` was renamed to
 
3840
  ``after_cleanup_count`` and the old name deprecated. The new name is
 
3841
  used for clarity, and to avoid confusion with
 
3842
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
 
3843
 
 
3844
* New ``ForeignRepository`` base class, to help with foreign branch 
 
3845
  support (e.g. svn).  (Jelmer Vernooij)
 
3846
 
 
3847
* ``node_distances`` and ``select_farthest`` can no longer be imported
 
3848
  from ``bzrlib.graph``.  They can still be imported from
 
3849
  ``bzrlib.deprecated_graph``, which has been the preferred way to
 
3850
  import them since before 1.0.  (Andrew Bennetts)
 
3851
  
 
3852
* The logic in commit now delegates inventory basis calculations to
 
3853
  the ``CommitBuilder`` object; this requires that the commit builder
 
3854
  in use has been updated to support the new ``recording_deletes`` and
 
3855
  ``record_delete`` methods. (Robert Collins)
 
3856
 
 
3857
Testing
 
3858
*******
 
3859
 
 
3860
* An HTTPS server is now available (it requires python-2.6). Future bzr
 
3861
  versions will allow the use of the python-2.6 ssl module that can be
 
3862
  installed for 2.5 and 2.4.
 
3863
 
 
3864
* ``bzr selftest`` now fails if new trailing white space is added to
 
3865
  the bazaar sources. It only checks changes not committed yet. This
 
3866
  means that PQM will now reject changes that introduce new trailing
 
3867
  whitespace. (Marius Kruger)
 
3868
 
 
3869
* Introduced new experimental formats called ``1.12-preview`` and
 
3870
  ``1.12-preview-rich-root`` to enable testing of related pending
 
3871
  features, namely content filtering and filtered views.
 
3872
  (Ian Clatworthy)
 
3873
 
 
3874
Internals
 
3875
*********
 
3876
 
 
3877
* Added an ``InventoryEntry`` cache when deserializing inventories.
 
3878
  Can cut the time to iterate over multiple RevisionsTrees in half.
 
3879
  (John Arbash Meinel)
 
3880
 
 
3881
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
 
3882
  minimal overhead versus using a plain dict for cache hits, at the
 
3883
  cost of not preserving the 'active' set as well as an ``LRUCache``.
 
3884
  (John Arbash Meinel)
 
3885
 
 
3886
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
 
3887
  character to separate the filename from the date stamp, and doesn't
 
3888
  add trailing whitespace when a date stamp is not supplied.
 
3889
  (Adeodato Simó, John Arbash Meinel)
 
3890
 
 
3891
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
 
3892
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
 
3893
  respectively. (Ian Clatworthy)
 
3894
 
 
3895
* ``KnitVersionedFiles._check_should_delta()`` now uses the
 
3896
  ``get_build_details`` api to avoid multiple hits to the index, and
 
3897
  to properly follow the ``compression_parent`` rather than assuming
 
3898
  it is the left-hand parent. (John Arbash Meinel)
 
3899
 
 
3900
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
 
3901
  more optimal ordering when the keys are requested 'unordered'.
 
3902
  Previously the order was fully random, now the records should be
 
3903
  returned from each pack in turn, in forward I/O order.
 
3904
  (John Arbash Meinel)
 
3905
    
 
3906
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
 
3907
  than 2s since the last time it flushed. (John Arbash Meinel)
 
3908
 
 
3909
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
 
3910
  allows adding an inventory via an inventory delta, which can be
 
3911
  more efficient for some repository types. (Robert Collins)
 
3912
 
 
3913
* Repository ``CommitBuilder`` objects can now accumulate an inventory
 
3914
  delta. To enable this functionality call ``builder.recording_deletes``
 
3915
  and additionally call ``builder.record_delete`` when a delete
 
3916
  against the basis occurs. (Robert Collins)
 
3917
 
 
3918
* The default http handler has been changed from pycurl to urllib.
 
3919
  The default is still pycurl for https connections. (The only
 
3920
  advantage of pycurl is that it checks ssl certificates.)
 
3921
  (John Arbash Meinel)
 
3922
 
 
3923
* ``VersionedFiles.get_record_stream()`` can now return objects with a
 
3924
  storage_kind of ``chunked``. This is a collection (list/tuple) of
 
3925
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
 
3926
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
 
3927
  into a fulltext. This allows for some very good memory savings when
 
3928
  asking for many texts that share ancestry, as the individual chunks
 
3929
  can be shared between versions of the file. (John Arbash Meinel)
 
3930
 
 
3931
* ``pull -v`` and ``push -v`` use new function
 
3932
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
 
3933
 
 
3934
 
 
3935
 
 
3936
bzr 1.10
 
3937
########
 
3938
 
 
3939
:Released: 2008-12-05
 
3940
 
 
3941
Bazaar 1.10 has several performance improvements for copying revisions
 
3942
(especially for small updates to large projects).  There has also been a
 
3943
significant amount of effort in polishing stacked branches.  The commands
 
3944
``shelve`` and ``unshelve`` have become core commands, with an improved
 
3945
implementation.
 
3946
 
 
3947
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
 
3948
 
 
3949
bug Fixes
 
3950
*********
 
3951
 
 
3952
* Don't set a pack write cache size from RepoFetcher, because the
 
3953
  cache is not coherent with reads and causes ShortReadvErrors.
 
3954
  This reverses the change that fixed #294479.
 
3955
  (Martin Pool, #303856)
 
3956
 
 
3957
* Properly handle when a revision can be inserted as a delta versus
 
3958
  when it needs to be expanded to a fulltext for stacked branches.
 
3959
  There was a bug involving merge revisions. As a method to help
 
3960
  prevent future difficulties, also make stacked fetches sort
 
3961
  topologically. (John Arbash Meinel, #304841)
 
3962
 
 
3963
 
 
3964
bzr 1.10rc1
 
3965
###########
 
3966
 
 
3967
:Released: 2008-11-28
 
3968
 
 
3969
This release of Bazaar focuses on performance improvements when pushing
 
3970
and pulling revisions, both locally and to remote networks.  The popular
 
3971
``shelve`` and ``unshelve`` commands, used to interactively revert and
 
3972
restore work in progress, have been merged from bzrtools into the bzr
 
3973
core.  There are also bug fixes for portability, and for stacked branches.
 
3974
 
 
3975
New Features
 
3976
************
 
3977
 
 
3978
* New ``commit_message_template`` hook that is called by the commit
 
3979
  code to generate a template commit message. (Jelmer Vernooij)
 
3980
 
 
3981
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
 
3982
  (Aaron Bentley)
 
3983
 
 
3984
Improvements
 
3985
************
 
3986
 
 
3987
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
 
3988
  history just to set the last revision info.
 
3989
  (Andrew Bennetts, John Arbash Meinel)
 
3990
 
 
3991
* Fetches between formats with different serializers (such as
 
3992
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
 
3993
  operating on batches of 100 revisions at time rather than
 
3994
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
 
3995
 
 
3996
* Search index files corresponding to pack files we've already used
 
3997
  before searching others, because they are more likely to have the
 
3998
  keys we're looking for.  This reduces the number of iix and tix
 
3999
  files accessed when pushing 1 new revision, for instance.
 
4000
  (John Arbash Meinel)
 
4001
 
 
4002
* Signatures to transfer are calculated more efficiently in
 
4003
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
 
4004
 
 
4005
* The generic fetch code can once again copy revisions and signatures
 
4006
  without extracting them completely to fulltexts and then serializing
 
4007
  them back down into byte strings. This is a significant performance
 
4008
  improvement when fetching from a stacked branch.
 
4009
  (John Arbash Meinel, #300289)
 
4010
 
 
4011
* When making a large readv() request over ``bzr+ssh``, break up the
 
4012
  request into more manageable chunks. Because the RPC is not yet able
 
4013
  to stream, this helps keep us from buffering too much information at
 
4014
  once. (John Arbash Meinel)
 
4015
 
 
4016
Bug Fixes
 
4017
*********
 
4018
 
 
4019
* Better message when the user needs to set their Launchpad ID.
 
4020
  (Martin Pool, #289148)
 
4021
 
 
4022
* ``bzr commit --local`` doesn't access the master branch anymore.
 
4023
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
 
4024
 
 
4025
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
 
4026
  to give an error in that case.  Also, don't count on ``getcwd()``
 
4027
  being able to allocate a new buffer, which is a gnu extension.
 
4028
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
 
4029
 
 
4030
* Don't crash when requesting log --forward <file> for a revision range
 
4031
  starting with a dotted revno.
 
4032
  (Vincent Ladeuil, #300055)
 
4033
 
 
4034
* Don't create text deltas spanning stacked repositories; this could
 
4035
  cause "Revision X not present in Y" when later accessing them.
 
4036
  (Martin Pool, #288751)
 
4037
 
 
4038
* Pack repositories are now able to reload the pack listing and retry
 
4039
  the current operation if another action causes the data to be
 
4040
  repacked.  (John Arbash Meinel, #153786)
 
4041
 
 
4042
* PermissionDenied errors from smart servers no longer cause
 
4043
  "PermissionDenied: "None"" on the client.
 
4044
  (Andrew Bennetts, #299254)
 
4045
 
 
4046
* Pushing to a stacked pack repository now batches writes, the same
 
4047
  way writes are batched to ordinary pack repository.  This makes
 
4048
  pushing to a stacked branch over the network much faster.
 
4049
  (Andrew Bennetts, #294479)
 
4050
 
 
4051
* TooManyConcurrentRequests no longer occur when a fetch fails and
 
4052
  tries to abort a write group.  This allows the root cause (e.g. a
 
4053
  network interruption) to be reported.  (Andrew Bennetts, #297014)
 
4054
 
 
4055
* RemoteRepository.get_parent_map now uses fallback repositories.
 
4056
  (Aaron Bentley, #297991?, #293679?)
 
4057
 
 
4058
API Changes
 
4059
***********
 
4060
 
 
4061
* ``CommitBuilder`` now validates the strings it will be committing,
 
4062
  to ensure that they do not have characters that will not be properly
 
4063
  round-tripped. For now, it just checks for characters that are
 
4064
  invalid in the XML form. (John Arbash Meinel, #295161)
 
4065
 
 
4066
* Constructor parameters for NewPack (internal to pack repositories)
 
4067
  have changed incompatibly.
 
4068
 
 
4069
* ``Repository.abort_write_group`` now accepts an optional
 
4070
  ``suppress_errors`` flag.  Repository implementations that override
 
4071
  ``abort_write_group`` will need to be updated to accept the new
 
4072
  argument.  Subclasses that only override ``_abort_write_group``
 
4073
  don't need to change.
 
4074
 
 
4075
* Transport implementations must provide copy_tree_to_transport.  A default
 
4076
  implementation is provided for Transport subclasses.
 
4077
 
 
4078
Testing
 
4079
*******
 
4080
 
 
4081
* ``bzr selftest`` now fails if no doctests are found in a module
 
4082
  that's expected to have them.  (Martin Pool)
 
4083
 
 
4084
* Doctests now only report the first failure.  (Martin Pool)
 
4085
 
 
4086
 
 
4087
bzr 1.9
 
4088
#######
 
4089
 
 
4090
:Released: 2008-11-07
 
4091
 
 
4092
This release of Bazaar adds a new repository format, ``1.9``, with smaller
 
4093
and more efficient index files.  This format can be specified when
 
4094
creating a new repository, or used to losslessly upgrade an existing
 
4095
repository.  bzr 1.9 also speeds most operations over the smart server
 
4096
protocol, makes annotate faster, and uses less memory when making
 
4097
checkouts or pulling large amounts of data.
 
4098
 
 
4099
Bug Fixes
 
4100
*********
 
4101
 
 
4102
* Fix "invalid property value 'branch-nick' for None" regression with
 
4103
  branches bound to svn branches.  (Martin Pool, #293440)
 
4104
 
 
4105
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
 
4106
 
 
4107
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
 
4108
  This only triggers some-of-the-time on Knit format repositories.
 
4109
  (John Arbash Meinel, #293746)
 
4110
 
 
4111
 
 
4112
bzr 1.9rc1
 
4113
##########
 
4114
 
 
4115
:Released: 2008-10-31
 
4116
 
 
4117
New Features
 
4118
************
 
4119
 
 
4120
* New Branch hook ``transform_fallback_location`` allows a function to
 
4121
  be called when looking up the stacked source. (Michael Hudson)
 
4122
 
 
4123
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
 
4124
  the functionality of ``1.6``, but use the new btree indexes.
 
4125
  These indexes are both smaller and faster for access to historical
 
4126
  information.  (John Arbash Meinel)
 
4127
 
 
4128
Improvements
 
4129
************
 
4130
 
 
4131
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
 
4132
  the tradeoff between bandwidth and latency. Should be tuned
 
4133
  appropriately to not impact commands which need minimal information,
 
4134
  but provide a significant boost to ones that need more context. Only
 
4135
  has a direct impact on the ``--development2`` format which uses
 
4136
  btree's for the indexes. (John Arbash Meinel)
 
4137
 
 
4138
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
 
4139
  the contents of a compressed btree file.  (John Arbash Meinel)
 
4140
 
 
4141
* ``bzr pack`` now tells the index builders to optimize for size. For
 
4142
  btree index repositories, this can save 25% of the index size
 
4143
  (mostly in the text indexes). (John Arbash Meinel)
 
4144
 
 
4145
* ``bzr push`` to an existing branch or repository on a smart server
 
4146
  is faster, due to Bazaar making more use of the ``get_parent_map``
 
4147
  RPC when querying the remote branch's revision graph.
 
4148
  (Andrew Bennetts)
 
4149
 
 
4150
* default username for bzr+ssh and sftp can be configured in
 
4151
  authentication.conf. (Aaron Bentley)
 
4152
 
 
4153
* launchpad-login now provides a default username for bzr+ssh and sftp
 
4154
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
 
4155
 
 
4156
* ``lp:`` lookups no longer include usernames, making them shareable and
 
4157
  shorter. (Aaron Bentley)
 
4158
 
 
4159
* New ``PackRepository.autopack`` smart server RPC, which does
 
4160
  autopacking entirely on the server.  This is much faster than
 
4161
  autopacking via plain file methods, which downloads a large amount
 
4162
  of pack data and then re-uploads the same pack data into a single
 
4163
  file.  This fixes a major (although infrequent) cause of lengthy
 
4164
  delays when using a smart server.  For example, pushing the 10th
 
4165
  revision to a repository with 9 packs now takes 44 RPCs rather than
 
4166
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
 
4167
  the client and the server, otherwise the client will fallback to the
 
4168
  slower method.  (Andrew Bennetts)
 
4169
 
 
4170
Bug Fixes
 
4171
*********
 
4172
 
 
4173
* A failure to load a plugin due to an IncompatibleAPI exception is
 
4174
  now correctly reported. (Robert Collins, #279451)
 
4175
 
 
4176
* API versioning support now has a multiple-version checking api
 
4177
  ``require_any_api``. (Robert Collins, #279447)
 
4178
 
 
4179
* ``bzr branch --stacked`` from a smart server to a standalone branch
 
4180
  works again.  This fixes a regression in 1.7 and 1.8.
 
4181
  (Andrew Bennetts, #270397)
 
4182
 
 
4183
* ``bzr co`` uses less memory. It used to unpack the entire WT into
 
4184
  memory before writing it to disk. This was a little bit faster, but
 
4185
  consumed lots of memory. (John Arbash Meinel, #269456)
 
4186
 
 
4187
* ``bzr missing --quiet`` no longer prints messages about whether
 
4188
  there are missing revisions.  The exit code indicates whether there
 
4189
  were or not.  (Martin Pool, #284748)
 
4190
 
 
4191
* Fixes to the ``annotate`` code. The fast-path which re-used the
 
4192
  stored deltas was accidentally disabled all the time, instead of
 
4193
  only when a branch was stacked. Second, the code would accidentally
 
4194
  re-use a delta even if it wasn't against the left-parent, this
 
4195
  could only happen if ``bzr reconcile`` decided that the parent
 
4196
  ordering was incorrect in the file graph.  (John Arbash Meinel)
 
4197
 
 
4198
* "Permission denied" errors that occur when pushing a new branch to a
 
4199
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
 
4200
 
 
4201
* Some compatibility fixes for building the extensions with MSVC and
 
4202
  for python2.4. (John Arbash Meinel, #277484)
 
4203
 
 
4204
* The index logic is now able to reload the list of pack files if and
 
4205
  index ends up disappearing. We still don't reload if the pack data
 
4206
  itself goes missing after checking the index. This bug appears as a
 
4207
  transient failure (file not found) when another process is writing
 
4208
  to the repository.  (John Arbash Meinel, #153786)
 
4209
 
 
4210
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
4211
  it was previously set. All checkouts will now refer to the bound branch
 
4212
  for a nickname if one was not explicitly set.
 
4213
  (Marius Kruger, #230903)
 
4214
 
 
4215
Documentation
 
4216
*************
 
4217
 
 
4218
* Improved hook documentation. (Michael Ernst)
 
4219
 
 
4220
API Changes
 
4221
***********
 
4222
 
 
4223
* commands.plugins_cmds is now a CommandRegistry, not a dict.
 
4224
 
 
4225
Internals
 
4226
*********
 
4227
 
 
4228
* New AuthenticationConfig.set_credentials method allows easy programmatic
 
4229
  configuration of authetication credentials.
 
4230
 
 
4231
 
 
4232
bzr 1.8
 
4233
#######
 
4234
 
 
4235
:Released: 2008-10-16
 
4236
 
 
4237
Bazaar 1.8 includes several fixes that improve working tree performance,
 
4238
display of revision logs, and merges.  The bzr testsuite now passes on OS
 
4239
X and Python 2.6, and almost completely passes on Windows.  The
 
4240
smartserver code has gained several bug fixes and performance
 
4241
improvements, and can now run server-side hooks within an http server.
 
4242
 
 
4243
Bug Fixes
 
4244
*********
 
4245
 
 
4246
* Fix "Must end write group" error when another error occurs during
 
4247
  ``bzr push``.  (Andrew Bennetts, #230902)
 
4248
 
 
4249
Portability
 
4250
***********
 
4251
 
 
4252
* Some Pyrex versions require the WIN32 macro defined to compile on
 
4253
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
 
4254
 
 
4255
 
 
4256
bzr 1.8rc1
 
4257
##########
 
4258
 
 
4259
:Released: 2008-10-07
 
4260
 
 
4261
Changes
 
4262
*******
 
4263
 
 
4264
* ``bzr log file`` has been changed. It now uses a different method
 
4265
  for determining which revisions to show as merging the changes to
 
4266
  the file. It now only shows revisions which merged the change
 
4267
  towards your mainline. This simplifies the output, makes it faster,
 
4268
  and reduces memory consumption.  (John Arbash Meinel)
 
4269
 
 
4270
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
 
4271
  ``--show-base`` is not supplied.  (John Arbash Meinel)
 
4272
 
 
4273
* ``bzr+http//`` will now optionally load plugins and write logs on the
 
4274
  server. (Marius Kruger)
 
4275
 
 
4276
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
 
4277
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
 
4278
  explicitly blacklist that version of the compiler for that
 
4279
  extension. Packaged versions will include .c files created with
 
4280
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
 
4281
  from the source tree. (John Arbash Meinel, #276868)
 
4282
 
 
4283
Features
 
4284
********
 
4285
 
 
4286
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
 
4287
  supported (nor released, tests were conducted with the dev version of
 
4288
  python-2.6rc2), but all known problems have been fixed.  Feedback
 
4289
  welcome.
 
4290
  (Vincent Ladeuil, #269535)
 
4291
 
 
4292
Improvements
 
4293
************
 
4294
 
 
4295
* ``bzr annotate`` will now include uncommitted changes from the local
 
4296
  working tree by default. Such uncommitted changes are given the
 
4297
  revision number they would get if a commit was done, followed with a
 
4298
  ? to indicate that its not actually known. (Robert Collins, #3439)
 
4299
 
 
4300
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
 
4301
  standalone branch regardless of the presence of shared repositories.
 
4302
  (Daniel Watkins)
 
4303
 
 
4304
* ``bzr push`` is faster in the case there are no new revisions to
 
4305
  push.  It is also faster if there are no tags in the local branch.
 
4306
  (Andrew Bennetts)
 
4307
 
 
4308
* File changes during a commit will update the tree stat cache.
 
4309
  (Robert Collins)
 
4310
 
 
4311
* Location aliases can now accept a trailing path.  (Micheal Hudson)
 
4312
 
 
4313
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
 
4314
  (Robert Collins, MartinPool)
 
4315
 
 
4316
* Switching in heavyweight checkouts uses the master branch's context, not
 
4317
  the checkout's context.  (Adrian Wilkins)
 
4318
 
 
4319
* ``status`` on large trees is now faster, due to optimisations in the
 
4320
  walkdirs code. Of particular note, the walkdirs code now performs
 
4321
  a temporary ``chdir()`` while reading a single directory; if your
 
4322
  platform has non thread-local current working directories (and is
 
4323
  not windows which has its own implementation), this may introduce a
 
4324
  race condition during concurrent uses of bzrlib. The bzrlib CLI
 
4325
  will not encounter this as it is single threaded for working tree
 
4326
  operations. (Robert Collins)
 
4327
 
 
4328
* The C extensions now build on python 2.4 (Robert Collins, #271939)
 
4329
 
 
4330
* The ``-Dhpss`` debug flag now reports the number of smart server
 
4331
  calls per medium to stderr.  This is in addition to the existing
 
4332
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
 
4333
 
 
4334
Bug Fixes
 
4335
*********
 
4336
 
 
4337
* Avoid random failures arising from misinterpreted ``errno`` values
 
4338
  in ``_readdir_pyx.read_dir``.
 
4339
  (Martin Pool, #279381)
 
4340
 
 
4341
* Branching from a shared repository on a smart server into a new
 
4342
  repository now preserves the repository format.
 
4343
  (Andrew Bennetts, #269214)
 
4344
 
 
4345
* ``bzr log`` now accepts a ``--change`` option.
 
4346
  (Vincent Ladeuil, #248427)
 
4347
 
 
4348
* ``bzr missing`` now accepts an ``--include-merges`` option.
 
4349
  (Vincent Ladeuil, #233817)
 
4350
 
 
4351
* Don't try to filter (internally) '.bzr' from the files to be deleted if
 
4352
  it's not there.
 
4353
  (Vincent Ladeuil, #272648)
 
4354
 
 
4355
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
4356
  (Andrew Bennetts)
 
4357
 
 
4358
* Fix TooManyConcurrentRequests errors caused by a connection failure
 
4359
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
 
4360
  (Andrew Bennetts, #246233)
 
4361
 
 
4362
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
 
4363
  is in a different repository than the current one.
 
4364
  (Lukáš Lalinský, #144421)
 
4365
 
 
4366
* Make the first line of the manpage preamble a comment again.
 
4367
  (David Futcher, #242106)
 
4368
 
 
4369
* Remove use of optional parameter in GSSAPI FTP support, since
 
4370
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
 
4371
 
 
4372
* The autopacking logic will now always create a single new pack from
 
4373
  all of the content which it deems is worth moving. This avoids the
 
4374
  'repack a single pack' bug and should result in better packing
 
4375
  overall.  (John Arbash Meinel, #242510, #172644)
 
4376
 
 
4377
* Trivial documentation fix.
 
4378
  (John Arbash Meinel, #270471)
 
4379
 
 
4380
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
4381
  it was previously set. All checkouts will now refer to the bound branch
 
4382
  for a nickname if one was not explicitly set.
 
4383
  (Marius Kruger, #230903)
 
4384
 
 
4385
Documentation
 
4386
*************
 
4387
 
 
4388
* Explain revision/range identifiers. (Daniel Clemente)
 
4389
 
 
4390
API Changes
 
4391
***********
 
4392
 
 
4393
* ``CommitBuilder.record_entry_contents`` returns one more element in
 
4394
  its result tuple - an optional file system hash for the hash cache
 
4395
  to use. (Robert Collins)
 
4396
 
 
4397
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
 
4398
  of a file if it is likely to be needed in determining the output
 
4399
  of iter_changes. (Robert Collins)
 
4400
 
 
4401
* The PackRepository, RepositoryPackCollection, NewPack classes have a
 
4402
  slightly changed interface to support different index types; as a
 
4403
  result other users of these classes need to supply the index types
 
4404
  they want. (Robert Collins)
 
4405
 
 
4406
Testing
 
4407
*******
 
4408
 
 
4409
* ``bzrlib.tests.repository_implementations`` has been renamed to
 
4410
  ``bzrlib.tests.per_repository`` so that we have a common structure
 
4411
  (and it is shorter). (John Arbash Meinel, #239343)
 
4412
 
 
4413
* ``LocalTransport.abspath()`` now returns a drive letter if the
 
4414
  transport has one, fixing numerous tests on Windows.
 
4415
  (Mark Hammond)
 
4416
 
 
4417
* PreviewTree is now tested via intertree_implementations.
 
4418
  (Aaron Bentley)
 
4419
 
 
4420
* The full test suite is passing again on OSX.
 
4421
  (Guillermo Gonzalez, Vincent Ladeuil)
 
4422
 
 
4423
* The full test suite passes when run with ``-Eallow_debug``.
 
4424
  (Andrew Bennetts)
 
4425
 
 
4426
Internals
 
4427
*********
 
4428
 
 
4429
* A new hook, ``Branch.open``, has been added, which is called when
 
4430
  branch objects are opened. (Robert Collins)
 
4431
 
 
4432
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
 
4433
  tree walking, and modular directory listing code to aid future
 
4434
  performance optimisations and refactoring. (Robert Collins)
 
4435
 
 
4436
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
 
4437
  in the middle of processing. It only reports memory if
 
4438
  ``/proc/PID/status`` is available. (John Arbash Meinel)
 
4439
 
 
4440
* New method ``RevisionSpec.as_tree`` for representing the revision
 
4441
  specifier as a revision tree object. (Lukáš Lalinský)
 
4442
 
 
4443
* New race-free method on MutableTree ``get_file_with_stat`` for use
 
4444
  when generating stat cache results. (Robert Collins)
 
4445
 
 
4446
* New win32utils.get_local_appdata_location() provides access to a local
 
4447
  directory for storing data.  (Mark Hammond)
 
4448
 
 
4449
* To be compatible with python-2.6 a few new rules should be
 
4450
  observed. 'message' attribute can't be used anymore in exception
 
4451
  classes, 'sha' and 'md5' modules have been deprecated (use
 
4452
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
 
4453
  parameters anymore.
 
4454
  (Vincent Ladeuil)
 
4455
 
 
4456
 
 
4457
bzr 1.7.1
 
4458
#########
 
4459
 
 
4460
:Released:  2008-10-01
 
4461
 
 
4462
No changes from 1.7.1rc1.
 
4463
 
 
4464
 
 
4465
bzr 1.7.1rc1
 
4466
############
 
4467
 
 
4468
:Released: 2008-09-24
 
4469
 
 
4470
This release just includes an update to how the merge algorithm handles
 
4471
file paths when we encounter complex history.
 
4472
 
 
4473
Features
 
4474
********
 
4475
 
 
4476
* If we encounter a criss-cross in history, use information from
 
4477
  direct Least Common Ancestors to resolve inventory shape (locations
 
4478
  of files, adds, deletes, etc). This is similar in concept to using
 
4479
  ``--lca`` for merging file texts, only applied to paths.
 
4480
  (John Arbash Meinel)
 
4481
 
 
4482
 
 
4483
bzr 1.7
 
4484
#######
 
4485
 
 
4486
:Released: 2008-09-23
 
4487
 
 
4488
This release includes many bug fixes and a few performance and feature
 
4489
improvements.  ``bzr rm`` will now scan for missing files and remove them,
 
4490
like how ``bzr add`` scans for unknown files and adds them. A bit more
 
4491
polish has been applied to the stacking code. The b-tree indexing code has
 
4492
been brought in, with an eye on using it in a future repository format.
 
4493
There are only minor installer changes since bzr-1.7rc2.
 
4494
 
 
4495
Features
 
4496
********
 
4497
 
 
4498
* Some small updates to the win32 installer. Include localization
 
4499
  files found in plugins, and include the builtin distutils as part of
 
4500
  packaging qbzr. (Mark Hammond)
 
4501
 
 
4502
 
 
4503
bzr 1.7rc2
 
4504
##########
 
4505
 
 
4506
:Released: 2008-09-17
 
4507
 
 
4508
A few bug fixes from 1.7rc1. The biggest change is a new
 
4509
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
 
4510
trying to access a Stacked branch over the smart protocol, to properly
 
4511
connect to the stacked-on location.
 
4512
 
 
4513
Bug Fixes
 
4514
*********
 
4515
 
 
4516
* Branching from a shared repository on a smart server into a new
 
4517
  repository now preserves the repository format.
 
4518
  (Andrew Bennetts, #269214)
 
4519
 
 
4520
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
 
4521
  to the stacked-on branch.  (Martin Pool, #261315)
 
4522
 
 
4523
* ``bzr init`` no longer re-opens the BzrDir multiple times.
 
4524
  (Vincent Ladeuil)
 
4525
 
 
4526
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
4527
  (Andrew Bennetts)
 
4528
 
 
4529
 
 
4530
bzr 1.7rc1
 
4531
##########
 
4532
 
 
4533
:Released: 2008-09-09
 
4534
 
 
4535
This release candidate for bzr 1.7 has several bug fixes and a few
 
4536
performance and feature improvements.  ``bzr rm`` will now scan for
 
4537
missing files and remove them, like how ``bzr add`` scans for unknown
 
4538
files and adds them. A bit more polish has been applied to the stacking
 
4539
code. The b-tree indexing code has been brought in, with an eye on using
 
4540
it in a future repository format.
 
4541
 
 
4542
 
 
4543
Changes
 
4544
*******
 
4545
 
 
4546
* ``bzr export`` can now export a subdirectory of a project.
 
4547
  (Robert Collins)
 
4548
 
 
4549
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
 
4550
  changes, unless the ``--force`` option is specified.
 
4551
  (Lukáš Lalinský, #74101)
 
4552
 
 
4553
* ``bzr rm`` will now scan for files that are missing and remove just
 
4554
  them automatically, much as ``bzr add`` scans for new files that
 
4555
  are not ignored and adds them automatically. (Robert Collins)
 
4556
 
 
4557
Features
 
4558
********
 
4559
 
 
4560
* Support for GSSAPI authentication when using FTP as documented in
 
4561
  RFC2228. (Jelmer Vernooij, #49623)
 
4562
 
 
4563
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
 
4564
 
 
4565
Improvements
 
4566
************
 
4567
 
 
4568
* A url like ``log+file:///tmp`` will log all access to that Transport
 
4569
  to ``.bzr.log``, which may help in debugging or profiling.
 
4570
  (Martin Pool)
 
4571
 
 
4572
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
 
4573
  branch format supports it. (Aaron Bentley)
 
4574
 
 
4575
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
 
4576
  ``bzr info`` if it completed successfully.
 
4577
  (Marius Kruger)
 
4578
 
 
4579
* ``bzr uncommit`` logs the old tip revision id, and displays how to
 
4580
  restore the branch to that tip using ``bzr pull``.  This allows you
 
4581
  to recover if you realize you uncommitted the wrong thing.
 
4582
  (John Arbash Meinel)
 
4583
 
 
4584
* Fix problems in accessing stacked repositories over ``bzr://``.
 
4585
  (Martin Pool, #261315)
 
4586
 
 
4587
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
 
4588
  which 'works', but adds each character separately to the list,
 
4589
  rather than using ``list.append(string)``. Fixing this makes the
 
4590
  SFTP transport a little bit faster (~20%) and use a bit less memory.
 
4591
  (John Arbash Meinel)
 
4592
 
 
4593
* When reading index files, if we happen to read the whole file in a
 
4594
  single request treat it as a ``_buffer_all`` request. This happens
 
4595
  most often on small indexes over remote transports, where we default
 
4596
  to reading 64kB. It saves a round trip for each small index during
 
4597
  fetch operations. Also, if we have read more than 50% of an index
 
4598
  file, trigger a ``_buffer_all`` on the next request. This works
 
4599
  around some inefficiencies because reads don't fall neatly on page
 
4600
  boundaries, so we would ignore those bytes, but request them again
 
4601
  later. This could trigger a total read size of more than the whole
 
4602
  file. (John Arbash Meinel)
 
4603
 
 
4604
Bug Fixes
 
4605
*********
 
4606
 
 
4607
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
 
4608
  users. (Robert Collins, #205416)
 
4609
 
 
4610
* Catch the infamous "select/poll returned error" which occurs when
 
4611
  pycurl try to send a body request to an HTTP/1.0 server which has
 
4612
  already refused to handle the request. (Vincent Ladeuil, #225020)
 
4613
 
 
4614
* Fix ``ObjectNotLocked`` errors when using various commands
 
4615
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
 
4616
  smart server URL.  (Andrew Bennetts, #237067)
 
4617
 
 
4618
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
 
4619
  for the containing ``.bzr/`` directory (it does not implement
 
4620
  permissions). This would cause us to set all subdirectories to
 
4621
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
 
4622
  Now we ignore ``0000`` as the permissions and assume they are
 
4623
  invalid. (John Arbash Meinel, #259855)
 
4624
 
 
4625
* Merging from a previously joined branch will no longer cause
 
4626
  a traceback. (Jelmer Vernooij, #203376)
 
4627
 
 
4628
* Pack operations on windows network shares will work even with large
 
4629
  files. (Robert Collins, #255656)
 
4630
 
 
4631
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
 
4632
  status. Status is also about 7% faster on mozilla sized trees
 
4633
  when the path to the root of the tree has been given. Users of
 
4634
  the internal ``show_tree_status`` function should be aware that
 
4635
  the show_pending flag is now authoritative for showing pending
 
4636
  merges, as it was originally. (Robert Collins, #225204)
 
4637
 
 
4638
* Set valid default _param_name for Option so that ListOption can embed
 
4639
  '-' in names. (Vincent Ladeuil, #263249)
 
4640
 
 
4641
* Show proper error rather than traceback when an unknown revision
 
4642
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
 
4643
 
 
4644
* Trailing text in the dirstate file could cause the C dirstate parser
 
4645
  to try to allocate an invalid amount of memory. We now properly
 
4646
  check and test for parsing a dirstate with invalid trailing data.
 
4647
  (John Arbash Meinel, #186014)
 
4648
 
 
4649
* Unexpected error responses from a smart server no longer cause the
 
4650
  client to traceback.  (Andrew Bennetts, #263527)
 
4651
 
 
4652
* Use a Windows api function to get a Unicode host name, rather than
 
4653
  assuming the host name is ascii.
 
4654
  (Mark Hammond, John Arbash Meinel, #256550)
 
4655
 
 
4656
* ``WorkingTree4`` trees will now correctly report missing-and-new
 
4657
  paths in the output of ``iter_changes``. (Robert Collins)
 
4658
 
 
4659
Documentation
 
4660
*************
 
4661
 
 
4662
* Updated developer documentation.  (Martin Pool)
 
4663
 
 
4664
API Changes
 
4665
***********
 
4666
 
 
4667
* Exporters now take 4 parameters. (Robert Collins)
 
4668
 
 
4669
* ``Tree.iter_changes`` will now return False for the content change
 
4670
  field when a file is missing in the basis tree and not present in
 
4671
  the target tree. Previously it returned True unconditionally.
 
4672
  (Robert Collins)
 
4673
 
 
4674
* The deprecated ``Branch.abspath`` and unimplemented
 
4675
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
 
4676
 
 
4677
* BzrDir.clone_on_transport implementations must now accept a stacked_on
 
4678
  parameter.  (Aaron Bentley)
 
4679
 
 
4680
* BzrDir.cloning_metadir implementations must now take a require_stacking
 
4681
  parameter.  (Aaron Bentley)
 
4682
 
 
4683
Testing
 
4684
*******
 
4685
 
 
4686
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
 
4687
  which are then passed to the cleanup callable as it is run. In
 
4688
  addition, addCleanup no longer requires that the callables passed to
 
4689
  it be unique. (Jonathan Lange)
 
4690
 
 
4691
* Fix some tests that fail on Windows because files are deleted while
 
4692
  still in use.
 
4693
  (Mark Hammond)
 
4694
 
 
4695
* ``selftest``'s ``--starting-with`` option can now use predefined
 
4696
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
 
4697
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
 
4698
 
 
4699
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
 
4700
  (Vincent Ladeuil)
 
4701
 
 
4702
Internals
 
4703
*********
 
4704
 
 
4705
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
 
4706
  This allows dynamic log output filtering by plugins.
 
4707
  (Robert Collins)
 
4708
 
 
4709
* ``bzrlib.btree_index`` is now available, providing a b-tree index
 
4710
  layer. The design is memory conservative (limited memory cache),
 
4711
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
 
4712
  and stores compressed pages allowing more keys per page.
 
4713
  (Robert Collins, John Arbash Meinel)
 
4714
 
 
4715
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
 
4716
  is unknown in both source and target.
 
4717
  (Robert Collins, Aaron Bentley)
 
4718
 
 
4719
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
 
4720
  streamlined a bit. This should make creating large indexes faster.
 
4721
  (In benchmarking, it now takes less time to create a BTree index than
 
4722
  it takes to read the GraphIndex one.) (John Arbash Meinel)
 
4723
 
 
4724
* Mail clients for `bzr send` are now listed in a registry.  This
 
4725
  allows plugins to add new clients by registering them with
 
4726
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
 
4727
  clients now use this mechanism.  (Neil Martinsen-Burrell)
 
4728
 
 
4729
 
 
4730
bzr 1.6.1
 
4731
#########
 
4732
 
 
4733
:Released: 2008-09-05
 
4734
 
 
4735
A couple regressions were found in the 1.6 release. There was a
 
4736
performance issue when using ``bzr+ssh`` to branch large repositories,
 
4737
and some problems with stacking and ``rich-root`` capable repositories.
 
4738
 
 
4739
 
 
4740
bzr 1.6.1rc2
 
4741
############
 
4742
 
 
4743
:Released: 2008-09-03
 
4744
 
 
4745
Bug Fixes
 
4746
*********
 
4747
 
 
4748
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
 
4749
  versa) was accidentally using the inter-model fetcher, instead of
 
4750
  recognizing that both were 'rich root' formats.
 
4751
  (John Arbash Meinel, #264321)
 
4752
 
 
4753
 
 
4754
bzr 1.6.1rc1
 
4755
############
 
4756
 
 
4757
:Released: 2008-08-29
 
4758
 
 
4759
This release fixes a few regressions found in the 1.6 client. Fetching
 
4760
changes was using an O(N^2) buffering algorithm, so for large projects it
 
4761
would cause memory thrashing. There is also a specific problem with the
 
4762
``--1.6-rich-root`` format, which prevented stacking on top of
 
4763
``--rich-root-pack`` repositories, and could allow users to accidentally
 
4764
fetch experimental data (``-subtree``) without representing it properly.
 
4765
The ``--1.6-rich-root`` format has been deprecated and users are
 
4766
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
 
4767
re-introduced a workaround for users who have repositories with incorrect
 
4768
nodes (not possible if you only used official releases).
 
4769
I should also clarify that none of this is data loss level issues, but
 
4770
still sufficient enough to warrant an updated release.
 
4771
 
 
4772
Bug Fixes
 
4773
*********
 
4774
 
 
4775
* ``RemoteTransport.readv()`` was being inefficient about how it
 
4776
  buffered the readv data and processed it. It would keep appending to
 
4777
  the same string (causing many copies) and then pop bytes out of the
 
4778
  start of the string (causing more copies).
 
4779
  With this patch "bzr+ssh://local" can improve dramatically,
 
4780
  especially for projects with large files.
 
4781
  (John Arbash Meinel)
 
4782
 
 
4783
* Revision texts were always meant to be stored as fulltexts. There
 
4784
  was a bug in a bzr.dev version that would accidentally create deltas
 
4785
  when copying from a Pack repo to a Knit repo. This has been fixed,
 
4786
  but to support those repositories, we know always request full texts
 
4787
  for Revision texts. (John Arbash Meinel, #261339)
 
4788
 
 
4789
* The previous ``--1.6-rich-root`` format used an incorrect xml
 
4790
  serializer, which would accidentally support fetching from a
 
4791
  repository that supported subtrees, even though the local one would
 
4792
  not. We deprecated that format, and introduced a new one that uses
 
4793
  the correct serializer ``--1.6.1-rich-root``.
 
4794
  (John Arbash Meinel, #262333)
 
4795
 
 
4796
 
 
4797
bzr 1.6
 
4798
#######
 
4799
 
 
4800
:Released: 2008-08-25
 
4801
 
 
4802
Finally, the long awaited bzr 1.6 has been released. This release includes
 
4803
new features like Stacked Branches, improved weave merge, and an updated
 
4804
server protocol (now on v3) which will allow for better cross version
 
4805
compatibility. With this release we have deprecated Knit format
 
4806
repositories, and recommend that users upgrade them, we will continue to
 
4807
support reading and writing them for the forseeable future, but we will
 
4808
not be tuning them for performance as pack repositories have proven to be
 
4809
better at scaling. This will also be the first release to bundle
 
4810
TortoiseBzr in the standalone Windows installer.
 
4811
 
 
4812
 
 
4813
bzr 1.6rc5
 
4814
##########
 
4815
 
 
4816
:Released: 2008-08-19
 
4817
 
 
4818
Bug Fixes
 
4819
*********
 
4820
 
 
4821
* Disable automatic detection of stacking based on a containing
 
4822
  directory of the target. It interacted badly with push, and needs a
 
4823
  bit more work to get the edges polished before it should happen
 
4824
  automatically. (John Arbash Meinel, #259275)
 
4825
  (This change was reverted when merged to bzr.dev)
 
4826
 
 
4827
 
 
4828
bzr 1.6rc4
 
4829
##########
 
4830
 
 
4831
:Released: 2008-08-18
 
4832
 
 
4833
Bug Fixes
 
4834
*********
 
4835
 
 
4836
* Fix a regression in knit => pack fetching.  We had a logic
 
4837
  inversion, causing the fetch to insert fulltexts in random order,
 
4838
  rather than preserving deltas.  (John Arbash Meinel, #256757)
 
4839
 
 
4840
 
 
4841
bzr 1.6rc3
 
4842
##########
 
4843
 
 
4844
:Released: 2008-08-14
 
4845
 
 
4846
Changes
 
4847
*******
 
4848
 
 
4849
* Disable reading ``.bzrrules`` as a per-branch rule preferences
 
4850
  file. The feature was not quite ready for a full release.
 
4851
  (Robert Collins)
 
4852
 
 
4853
Improvements
 
4854
************
 
4855
 
 
4856
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
 
4857
  into the standalone installer. This will be the first official
 
4858
  windows release that installs Tortoise by default.
 
4859
  (Mark Hammond)
 
4860
 
 
4861
Bug Fixes
 
4862
*********
 
4863
 
 
4864
* Fix a regression in ``bzr+http`` support. There was a missing
 
4865
  function (``_read_line``) that needed to be carried over from
 
4866
  ``bzr+ssh`` support. (Andrew Bennetts)
 
4867
 
 
4868
* ``GraphIndex`` objects will internally read an entire index if more
 
4869
  than 1/20th of their keyspace is requested in a single operation.
 
4870
  This largely mitigates a performance regression in ``bzr log FILE``
 
4871
  and completely corrects the performance regression in ``bzr log``.
 
4872
  The regression was caused by removing an accomodation which had been
 
4873
  supporting the index format in use. A newer index format is in
 
4874
  development which is substantially faster. (Robert Collins)
 
4875
 
 
4876
 
 
4877
bzr 1.6rc2
 
4878
##########
 
4879
 
 
4880
:Released: 2008-08-13
 
4881
 
 
4882
This release candidate has a few minor bug fixes, and some regression
 
4883
fixes for Windows.
 
4884
 
 
4885
Bug Fixes
 
4886
*********
 
4887
 
 
4888
* ``bzr upgrade`` on remote branches accessed via bzr:// and
 
4889
  bzr+ssh:// now works.  (Andrew Bennetts)
 
4890
 
 
4891
* Change the ``get_format_description()`` strings for
 
4892
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
 
4893
  (Aaron Bentley)
 
4894
 
 
4895
* Fix for a regression on Win32 where we would try to call
 
4896
  ``os.listdir()`` on a file and not catch the exception properly.
 
4897
  (Windows raises a different exception.) This would manifest in
 
4898
  places like ``bzr rm file`` or ``bzr switch``.
 
4899
  (Mark Hammond, John Arbash Meinel)
 
4900
 
 
4901
* ``Inventory.copy()`` was failing to set the revision property for
 
4902
  the root entry. (Jelmer Vernooij)
 
4903
 
 
4904
* sftp transport: added missing ``FileExists`` case to
 
4905
  ``_translate_io_exception`` (Christophe Troestler, #123475)
 
4906
 
 
4907
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
 
4908
  scripting use. (Robert Collins, #3834)
 
4909
 
 
4910
* The default ``annotate`` logic will now always assign the
 
4911
  last-modified value of a line to one of the revisions that modified
 
4912
  it, rather than a merge revision. This would happen when both sides
 
4913
  claimed to have modified the line resulting in the same text. The
 
4914
  choice is arbitrary but stable, so merges in different directions
 
4915
  will get the same results.  (John Arbash Meinel, #232188)
 
4916
 
 
4917
 
 
4918
bzr 1.6rc1
 
4919
##########
 
4920
 
 
4921
:Released: 2008-08-06
 
4922
 
 
4923
This release candidate for bzr 1.6 solidifies the new branch stacking
 
4924
feature.  Bazaar now recommends that users upgrade all knit repositories,
 
4925
because later formats are much faster.  However, we plan to continue read/write and
 
4926
upgrade support for knit repostories for the forseeable future.  Several
 
4927
other bugs and performance issues were fixed.
 
4928
 
 
4929
Changes
 
4930
*******
 
4931
 
 
4932
* Knit format repositories are deprecated and bzr will now emit
 
4933
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
 
4934
  knit repositories to pack format.  (Andrew Bennetts)
 
4935
 
 
4936
Improvements
 
4937
************
 
4938
 
 
4939
* ``bzr check`` can now be told which elements at a location it should
 
4940
  check.  (Daniel Watkins)
 
4941
 
 
4942
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
 
4943
  from the commit. (Robert Collins, #3117)
 
4944
 
 
4945
* Fetching data between repositories that have the same model but no
 
4946
  optimised fetcher will not reserialise all the revisions, increasing
 
4947
  performance. (Robert Collins, John Arbash Meinel)
 
4948
 
 
4949
* Give a more specific error when target branch is not reachable.
 
4950
  (James Westby)
 
4951
 
 
4952
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
 
4953
  This uses a pyrex extension to get direct access to the
 
4954
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
 
4955
  ``lstat``. Shows a very strong improvement in commands like
 
4956
  ``status`` and ``diff`` which have to iterate the working tree.
 
4957
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
 
4958
  trees, bigger benefit.) (John Arbash Meinel)
 
4959
 
 
4960
* New registry for log properties handles  and the method in
 
4961
  LongLogFormatter to display the custom properties returned by the
 
4962
  registered handlers. (Guillermo Gonzalez, #162469)
 
4963
 
 
4964
Bug Fixes
 
4965
*********
 
4966
 
 
4967
* Add more tests that stacking does not create deltas spanning
 
4968
  physical repository boundaries.
 
4969
  (Martin Pool, #252428)
 
4970
 
 
4971
* Better message about incompatible repositories.
 
4972
  (Martin Pool, #206258)
 
4973
 
 
4974
* ``bzr branch --stacked`` ensures the destination branch format can
 
4975
  support stacking, even if the origin does not.
 
4976
  (Martin Pool)
 
4977
 
 
4978
* ``bzr export`` no longer exports ``.bzrrules``.
 
4979
  (Ian Clatworthy)
 
4980
 
 
4981
* ``bzr serve --directory=/`` now correctly allows the whole
 
4982
  filesystem to be accessed on Windows, not just the root of the drive
 
4983
  that Python is running from.
 
4984
  (Adrian Wilkins, #240910)
 
4985
 
 
4986
* Deleting directories by hand before running ``bzr rm`` will not
 
4987
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
 
4988
  (Robert Collins, #150438)
 
4989
 
 
4990
* Fix a test case that was failing if encoding wasn't UTF-8.
 
4991
  (John Arbash Meinel, #247585)
 
4992
 
 
4993
* Fix "no buffer space available" error when branching with the new
 
4994
  smart server protocol to or from Windows.
 
4995
  (Andrew Bennetts, #246180)
 
4996
 
 
4997
* Fixed problem in branching from smart server.
 
4998
  (#249256, Michael Hudson, Martin Pool)
 
4999
 
 
5000
* Handle a file turning in to a directory in TreeTransform.
 
5001
  (James Westby, #248448)
 
5002
 
 
5003
API Changes
 
5004
***********
 
5005
 
 
5006
* ``MutableTree.commit`` has an extra optional keywork parameter
 
5007
  ``exclude`` that will be unconditionally supplied by the command
 
5008
  line UI - plugins that add tree formats may need an update.
 
5009
  (Robert Collins)
 
5010
 
 
5011
* The API minimum version for plugin compatibility has been raised to
 
5012
  1.6 - there are significant changes throughout the code base.
 
5013
  (Robert Collins)
 
5014
 
 
5015
* The generic fetch code now uses three attributes on Repository objects
 
5016
  to control fetch. The streams requested are controlled via :
 
5017
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
 
5018
  appropriately allows different repository implementations to recieve
 
5019
  data in their optimial form. If the ``_fetch_reconcile`` is set then
 
5020
  a reconcile operation is triggered at the end of the fetch.
 
5021
  (Robert Collins)
 
5022
 
 
5023
* The ``put_on_disk`` and ``get_tar_item`` methods in
 
5024
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
 
5025
 
 
5026
* ``Repository.is_shared`` doesn't take a read lock. It didn't
 
5027
  need one in the first place (nobody cached the value, and
 
5028
  ``RemoteRepository`` wasn't taking one either). This saves a round
 
5029
  trip when probing Pack repositories, as they read the ``pack-names``
 
5030
  file when locked. And during probe, locking the repo isn't very
 
5031
  useful. (John Arbash Meinel)
 
5032
 
 
5033
Internals
 
5034
*********
 
5035
 
 
5036
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
 
5037
  putting together a real history without having to create a full
 
5038
  WorkingTree. It is recommended that tests that are not directly
 
5039
  testing the WorkingTree use BranchBuilder instead.  See
 
5040
  ``BranchBuilder.build_snapshot`` or
 
5041
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
 
5042
 
 
5043
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
 
5044
  helper ``safe_relpath_files`` - used by the new ``exclude``
 
5045
  parameter to commit. (Robert Collins)
 
5046
 
 
5047
* Make it easier to introduce new WorkingTree formats.
 
5048
  (Ian Clatworthy)
 
5049
 
 
5050
* The code for exporting trees was refactored not to use the
 
5051
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
 
5052
 
 
5053
* RuleSearchers return () instead of [] now when there are no matches.
 
5054
  (Ian Clatworthy)
 
5055
 
 
5056
 
 
5057
bzr 1.6beta3
 
5058
############
 
5059
 
 
5060
:Released: 2008-07-17
 
5061
 
 
5062
This release adds a new 'stacked branches' feature allowing branches to
 
5063
share storage without being in the same repository or on the same machine.
 
5064
(See the user guide for more details.)  It also adds a new hook, improved
 
5065
weaves, aliases for related locations, faster bzr+ssh push, and several
 
5066
bug fixes.
 
5067
 
 
5068
Features
 
5069
********
 
5070
 
 
5071
* New ``pre_change_branch_tip`` hook that is called before the
 
5072
  branch tip is moved, while the branch is write-locked.  See the User
 
5073
  Reference for signature details.  (Andrew Bennetts)
 
5074
 
 
5075
* Rule-based preferences can now be defined for selected files in
 
5076
  selected branches, allowing commands and plugins to provide
 
5077
  custom behaviour for files matching defined patterns.
 
5078
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
 
5079
  in the User Guide and ``bzr help rules`` for more information.
 
5080
  (Ian Clatworthy)
 
5081
 
 
5082
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
 
5083
 
 
5084
* Stacked branches are now supported. See ``bzr help branch`` and
 
5085
  ``bzr help push``.  Branches must be in the ``development1`` format
 
5086
  to stack, though the stacked-on branch can be of any format.
 
5087
  (Robert Collins)
 
5088
 
 
5089
Improvements
 
5090
************
 
5091
 
 
5092
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
 
5093
  to stdout; also ``tar`` and ``tbz2``.
 
5094
  (Martin Pool)
 
5095
 
 
5096
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
 
5097
  rather than the annotation-based merge it was using. It does so by
 
5098
  building up a Weave of the important texts, without needing to build
 
5099
  the full ancestry. (John Arbash Meinel, #238895)
 
5100
 
 
5101
* ``bzr send`` documents and better supports ``emacsclient`` (proper
 
5102
  escaping of mail headers and handling of the MUA Mew).
 
5103
  (Christophe Troestler)
 
5104
 
 
5105
* Remembered locations can be specified by aliases, e.g. :parent, :public,
 
5106
  :submit.  (Aaron Bentley)
 
5107
 
 
5108
* The smart protocol now has improved support for setting branches'
 
5109
  revision info directly.  This makes operations like push
 
5110
  faster.  The new request method name is
 
5111
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
 
5112
 
 
5113
Bug Fixes
 
5114
*********
 
5115
 
 
5116
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
 
5117
  The broken implementations of RFC822 in Python and RFC2046 in IIS
 
5118
  combined with boundary-line checking in Bazaar previously made this
 
5119
  impossible. (NB, IIS 5 does not suffer from this problem).
 
5120
  (Adrian Wilkins, #247585)
 
5121
 
 
5122
* ``bzr log --long`` with a ghost in your mainline now handles that
 
5123
  ghost properly. (John Arbash Meinel, #243536)
 
5124
 
 
5125
* ``check`` handles the split-up .bzr layout correctly, so no longer
 
5126
  requires a branch to be present.
 
5127
  (Daniel Watkins, #64783)
 
5128
 
 
5129
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
 
5130
  loaded.
 
5131
  (Martin Pool, #205230)
 
5132
 
 
5133
* Errors about missing libraries are now shown without a traceback,
 
5134
  and with a suggestion to install the library.  The full traceback is
 
5135
  still in ``.bzr.log`` and can be shown with ``-Derror``.
 
5136
  (Martin Pool, #240161)
 
5137
 
 
5138
* Fetch from a stacked branch copies all required data.
 
5139
  (Aaron Bentley, #248506)
 
5140
 
 
5141
* Handle urls such as ftp://user@host.com@www.host.com where the user
 
5142
  name contains an @.
 
5143
  (Neil Martinsen-Burrell, #228058)
 
5144
 
 
5145
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
 
5146
  ``unlock`` if there was an error in the original function. This helps
 
5147
  most when there is a failure with a smart server action, since often the
 
5148
  connection closes and we cannot unlock.
 
5149
  (Andrew Bennetts, John Arbash Meinel, #125784)
 
5150
 
 
5151
* Obsolete hidden command ``bzr fetch`` removed.
 
5152
  (Martin Pool, #172870)
 
5153
 
 
5154
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
 
5155
  (John Arbash Meinel, #239933)
 
5156
 
 
5157
* You can now compare file revisions in Windows diff programs from
 
5158
  Cygwin Bazaar.
 
5159
  (Matt McClure, #209281)
 
5160
 
 
5161
* revision_history now tolerates mainline ghosts for Branch format 6.
 
5162
  (Aaron Bentley, #235055)
 
5163
 
 
5164
* Set locale from environment for third party libs.
 
5165
  (Martin von Gagern, #128496)
 
5166
 
 
5167
Documentation
 
5168
*************
 
5169
 
 
5170
* Added *Using stacked branches* to the User Guide.
 
5171
  (Ian Clatworthy)
 
5172
 
 
5173
* Updated developer documentation.
 
5174
  (Martin Pool)
 
5175
 
 
5176
Testing
 
5177
*******
 
5178
 
 
5179
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
 
5180
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
 
5181
 
 
5182
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
 
5183
  a tree with a ``branch`` attribute of the right format.  This was
 
5184
  preventing some ``RemoteBranch`` tests from actually running with
 
5185
  ``RemoteBranch`` instances.  (Andrew Bennetts)
 
5186
 
 
5187
API Changes
 
5188
***********
 
5189
 
 
5190
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
 
5191
  there are new attributes ``texts, inventories, revisions,
 
5192
  signatures``, each of which is a ``VersionedFiles``.  See the
 
5193
  Repository docstring for more details.
 
5194
  (Robert Collins)
 
5195
 
 
5196
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
 
5197
  parameter.  If you have a subclass of ``Branch`` that overrides
 
5198
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
 
5199
 
 
5200
* ``bzrlib.check.check()`` has been deprecated in favour of the more
 
5201
  aptly-named ``bzrlib.check.check_branch()``.
 
5202
  (Daniel Watkins)
 
5203
 
 
5204
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
 
5205
  These methods are bad APIs because they write directly to sys.stdout.
 
5206
  bzrlib does not use them internally, and there are no direct tests
 
5207
  for them. (Alexander Belchenko)
 
5208
 
 
5209
Internals
 
5210
*********
 
5211
 
 
5212
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
 
5213
  (Alexander Belchenko)
 
5214
 
 
5215
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
 
5216
  which eases the discovery of the tree, the branch and the repository
 
5217
  containing a given location.
 
5218
  (Daniel Watkins)
 
5219
 
 
5220
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
 
5221
  underlying .knit/.kndx etc files in repositories with partitioned
 
5222
  storage. (Robert Collins)
 
5223
 
 
5224
* Obsolete developer-use command ``weave-join`` has been removed.
 
5225
  (Robert Collins)
 
5226
 
 
5227
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
 
5228
  to support new ``VersionedFiles`` layering.
 
5229
  (Robert Collins)
 
5230
 
 
5231
 
 
5232
bzr 1.6beta2
 
5233
############
 
5234
 
 
5235
:Released: 2008-06-10
 
5236
 
 
5237
This release contains further progress towards our 1.6 goals of shallow
 
5238
repositories, and contains a fix for some user-affecting bugs in the
 
5239
repository layer.  Building working trees during checkout and branch is
 
5240
now faster.
 
5241
 
 
5242
Bug Fixes
 
5243
*********
 
5244
 
 
5245
* Avoid KnitCorrupt error extracting inventories from some repositories.
 
5246
  (The data is not corrupt; an internal check is detecting a problem
 
5247
  reading from the repository.)
 
5248
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
 
5249
 
 
5250
* ``bzr status`` was breaking if you merged the same revision twice.
 
5251
  (John Arbash Meinel, #235407)
 
5252
 
 
5253
* Fix infinite loop consuming 100% CPU when a connection is lost while
 
5254
  reading a response body via the smart protocol v1 or v2.
 
5255
  (Andrew Bennetts)
 
5256
 
 
5257
* Inserting a bundle which changes the contents of a file with no trailing
 
5258
  end of line, causing a knit snapshot in a 'knits' repository will no longer
 
5259
  cause KnitCorrupt. (Robert Collins)
 
5260
 
 
5261
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
 
5262
  pull result. It was instead just returning None, which breaks ``bzr
 
5263
  pull``. (John Arbash Meinel, #238149)
 
5264
 
 
5265
* Sanitize branch nick before using it as an attachment filename in
 
5266
  ``bzr send``. (Lukáš Lalinský, #210218)
 
5267
 
 
5268
* Squash ``inv_entry.symlink_target`` to a plain string when
 
5269
  generating DirState details. This prevents from getting a
 
5270
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
 
5271
  (John Arbash Meinel, #135320)
 
5272
 
 
5273
Improvements
 
5274
************
 
5275
 
 
5276
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
 
5277
 
 
5278
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
 
5279
  now quote paths where required). Added ``--null`` option to ``added`` and
 
5280
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
 
5281
  (Adrian Wilkins)
 
5282
 
 
5283
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
 
5284
  (Ian Clatworthy, Aaron Bentley)
 
5285
 
 
5286
Documentation
 
5287
*************
 
5288
 
 
5289
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
 
5290
 
 
5291
Testing
 
5292
*******
 
5293
 
 
5294
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
5295
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
5296
 
 
5297
API Changes
 
5298
***********
 
5299
 
 
5300
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
5301
  which are in the ancestry of other revisions. So if you merge the same
 
5302
  tree twice, or merge an ancestor of an existing merge, it will only
 
5303
  record the newest. (If you merge a descendent, it will replace its
 
5304
  ancestor). (John Arbash Meinel, #235407)
 
5305
 
 
5306
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
 
5307
  through the derived classes do not.  (Aaron Bentley)
 
5308
 
 
5309
Internals
 
5310
*********
 
5311
 
 
5312
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
 
5313
  creating stacked branches. (Robert Collins)
 
5314
 
 
5315
* Knit record serialisation is now stricter on what it will accept, to
 
5316
  guard against potential internal bugs, or broken input. (Robert Collins)
 
5317
 
 
5318
bzr 1.6beta1
 
5319
############
 
5320
 
 
5321
:Released: 2008-06-02
 
5322
 
 
5323
Commands that work on the revision history such as push, pull, missing,
 
5324
uncommit and log are now substantially faster.  This release adds a
 
5325
translation of some of the user documentation into Spanish.  (Contributions of
 
5326
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
 
5327
protocol which is used by default and which allows for more efficient transfers
 
5328
and future extensions.
 
5329
 
 
5330
 
 
5331
Notes When Upgrading
 
5332
********************
 
5333
 
 
5334
* There is a new version of the network protocol used for bzr://, bzr+ssh://
 
5335
  and bzr+http:// connections.  This will allow more efficient requests and
 
5336
  responses, and more graceful fallback when a server is too old to
 
5337
  recognise a request from a more recent client.  Bazaar 1.6 will
 
5338
  interoperate with 0.16 and later versions, but servers should be upgraded
 
5339
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
5340
  these protocols.  Use alternatives like SFTP or upgrade those servers.
 
5341
  (Andrew Bennetts, #83935)
 
5342
 
 
5343
Changes
 
5344
*******
 
5345
 
 
5346
* Deprecation warnings will not be suppressed when running ``bzr selftest``
 
5347
  so that developers can see if their code is using deprecated functions.
 
5348
  (John Arbash Meinel)
 
5349
 
 
5350
Features
 
5351
********
 
5352
 
 
5353
* Adding ``-Derror`` will now display a traceback when a plugin fails to
 
5354
  load. (James Westby)
 
5355
 
 
5356
Improvements
 
5357
************
 
5358
 
 
5359
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
 
5360
  the revno of the new revision (``Graph.find_distance_to_null``). This
 
5361
  should make something like ``bzr branch -r -100`` in a shared, no-trees
 
5362
  repository much snappier. (John Arbash Meinel)
 
5363
 
 
5364
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
 
5365
  history. This makes it noticeably faster when logging the last few
 
5366
  revisions. (John Arbash Meinel)
 
5367
 
 
5368
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
 
5369
  (Jerad Cramp, #165086)
 
5370
 
 
5371
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
5372
  ``Graph.find_differences`` to determine missing revisions without having
 
5373
  to search the whole ancestry. (John Arbash Meinel, #174625)
 
5374
 
 
5375
* ``bzr uncommit`` now uses partial history access, rather than always
 
5376
  extracting the full revision history for a branch. This makes it
 
5377
  resolve the appropriate revisions much faster (in testing it drops
 
5378
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
 
5379
  step closer to not using full revision history.
 
5380
  (John Arbash Meinel, #172649)
 
5381
 
 
5382
Bugfixes
 
5383
********
 
5384
 
 
5385
* ``bzr merge --lca`` should handle when two revisions have no common
 
5386
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
 
5387
 
 
5388
* ``bzr status`` was breaking if you merged the same revision twice.
 
5389
  (John Arbash Meinel, #235407)
 
5390
 
 
5391
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
5392
  fails.  (Andrew Bennetts, #234229)
 
5393
 
 
5394
* Correctly track the base URL of a smart medium when using bzr+http://
 
5395
  URLs, which was causing spurious "No repository present" errors with
 
5396
  branches in shared repositories accessed over bzr+http.
 
5397
  (Andrew Bennetts, #230550)
 
5398
 
 
5399
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
5400
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
5401
  attribute '_remote_is_at_least_1_2' attribute errors.
 
5402
  (Andrew Bennetts, #220806)
 
5403
 
 
5404
* Failure to delete an obsolete pack file should just give a warning
 
5405
  message, not a fatal error.  It may for example fail if the file is still
 
5406
  in use by another process.
 
5407
  (Martin Pool)
 
5408
 
 
5409
* Fix MemoryError during large fetches over HTTP by limiting the amount of
 
5410
  data we try to read per ``recv`` call.  The problem was observed with
 
5411
  Windows and a proxy, but might affect other environments as well.
 
5412
  (Eric Holmberg, #215426)
 
5413
 
 
5414
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
5415
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
5416
 
 
5417
* Issue a warning and ignore passwords declared in authentication.conf when
 
5418
  used for an ssh scheme (sftp or bzr+ssh).
 
5419
  (Vincent Ladeuil, #203186)
 
5420
 
 
5421
* Make both http implementations raise appropriate exceptions on 403
 
5422
  Forbidden when POSTing smart requests.
 
5423
  (Vincent Ladeuil, #230223)
 
5424
 
 
5425
* Properly *title* header names in http requests instead of capitalizing
 
5426
  them.
 
5427
  (Vincent Ladeuil, #229076)
 
5428
 
 
5429
* The "Unable to obtain lock" error message now also suggests using
 
5430
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
 
5431
 
 
5432
* Treat an encoding of '' as ascii; this can happen when bzr is run
 
5433
  under vim on Mac OS X.
 
5434
  (Neil Martinsen-Burrell)
 
5435
 
 
5436
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
 
5437
  scope. (Daniel Fischer #235687)
 
5438
 
 
5439
Documentation
 
5440
*************
 
5441
 
 
5442
* Added directory structure and started translation of docs in spanish.
 
5443
  (Martin Albisetti, Lucio Albenga)
 
5444
 
 
5445
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
5446
  on the plugin and integration chapters of the User Guide.
 
5447
  (Ian Clatworthy)
 
5448
 
 
5449
* More Bazaar developer documentation about packaging and release process,
 
5450
  and about use of Python reprs.
 
5451
  (Martin Pool, Martin Albisetti)
 
5452
 
 
5453
* Updated Tortise strategy document. (Mark Hammond)
 
5454
 
 
5455
Testing
 
5456
*******
 
5457
 
 
5458
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
 
5459
  (Robert Collins)
 
5460
 
 
5461
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
5462
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
5463
 
 
5464
* New helper function for splitting test suites
 
5465
  ``split_suite_by_condition``. (Robert Collins)
 
5466
 
 
5467
Internals
 
5468
*********
 
5469
 
 
5470
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
 
5471
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
 
5472
  fairly broken, and the function was unused, so we are getting rid of it.
 
5473
  (John Arbash Meinel)
 
5474
 
 
5475
API Changes
 
5476
***********
 
5477
 
 
5478
* ``Branch.abspath`` is deprecated; use the Tree or Transport
 
5479
  instead.  (Martin Pool)
 
5480
 
 
5481
* ``Branch.update_revisions`` now takes an optional ``Graph``
 
5482
  object. This can be used by ``update_revisions`` when it is
 
5483
  checking ancestry, and allows callers to prefer request to go to a
 
5484
  local branch.  (John Arbash Meinel)
 
5485
 
 
5486
* Branch, Repository, Tree and BzrDir should expose a Transport as an
 
5487
  attribute if they have one, rather than having it indirectly accessible
 
5488
  as ``.control_files._transport``.  This doesn't add a requirement
 
5489
  to support a Transport in cases where it was not needed before;
 
5490
  it just simplifies the way it is reached.  (Martin Pool)
 
5491
 
 
5492
* ``bzr missing --mine-only`` will return status code 0 if you have no
 
5493
  new revisions, but the remote does. Similarly for ``--theirs-only``.
 
5494
  The new code only checks one side, so it doesn't know if the other
 
5495
  side has changes. This seems more accurate with the request anyway.
 
5496
  It also changes the output to print '[This|Other] branch is up to
 
5497
  date.' rather than displaying nothing.  (John Arbash Meinel)
 
5498
 
 
5499
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
5500
  are now deprecated in favor of using Transport operations.
 
5501
  (Martin Pool)
 
5502
 
 
5503
* Many methods on ``VersionedFile``, ``Repository`` and in
 
5504
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
5505
  (Robert Collins)
 
5506
 
 
5507
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
 
5508
  ``RevisionSpec``. This will disable the existing behavior of passing in
 
5509
  the full revision history to ``self._match_on``. Useful for specs that
 
5510
  don't actually need access to the full history. (John Arbash Meinel)
 
5511
 
 
5512
* The constructors of ``SmartClientMedium`` and its subclasses now require a
 
5513
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
5514
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
5515
 
 
5516
* The default permissions for creating new files and directories
 
5517
  should now be obtained from ``BzrDir._get_file_mode()`` and
 
5518
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
5519
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
5520
  as a way for plugins to control this are no longer consulted.
 
5521
  (Martin Pool)
 
5522
 
 
5523
* ``VersionedFile.join`` is deprecated. This method required local
 
5524
  instances of both versioned file objects and was thus hostile to being
 
5525
  used for streaming from a smart server. The new get_record_stream and
 
5526
  insert_record_stream are meant to efficiently replace this method.
 
5527
  (Robert Collins)
 
5528
 
 
5529
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
5530
  which are in the ancestry of other revisions. So if you merge the same
 
5531
  tree twice, or merge an ancestor of an existing merge, it will only
 
5532
  record the newest. (If you merge a descendent, it will replace its
 
5533
  ancestor). (John Arbash Meinel, #235407)
 
5534
 
 
5535
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
5536
  (Martin Pool)
 
5537
 
 
5538
 
 
5539
bzr 1.5
 
5540
#######
 
5541
 
 
5542
:Released: 2008-05-16
 
5543
 
 
5544
This release of Bazaar includes several updates to the documentation, and fixes
 
5545
to prepare for making rich root support the default format. Many bugs have been
 
5546
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
 
5547
 
 
5548
Changes
 
5549
*******
 
5550
 
 
5551
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
5552
  users of packaged software won't be bothered with DeprecationWarnings,
 
5553
  but developers and testers will still see them. (John Arbash Meinel)
 
5554
 
 
5555
Documentation
 
5556
*************
 
5557
 
 
5558
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
5559
  on the plugin and integration chapters of the User Guide.
 
5560
  (Ian Clatworthy)
 
5561
 
 
5562
 
 
5563
bzr 1.5rc1
 
5564
##########
 
5565
 
 
5566
:Released: 2008-05-09
 
5567
 
 
5568
Changes
 
5569
*******
 
5570
 
 
5571
* Broader support of GNU Emacs mail clients. Set
 
5572
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
5573
  bundle in a mail buffer according to the value of ``mail-user-agent``
 
5574
  variable. (Xavier Maillard)
 
5575
 
 
5576
Improvements
 
5577
************
 
5578
 
 
5579
* Diff now handles revision specs like "branch:" and "submit:" more
 
5580
  efficiently.  (Aaron Bentley, #202928)
 
5581
 
 
5582
* More friendly error given when attempt to start the smart server
 
5583
  on an address already in use. (Andrea Corbellini, #200575)
 
5584
 
 
5585
* Pull completes much faster when there is nothing to pull.
 
5586
  (Aaron Bentley)
 
5587
 
 
5588
Bugfixes
 
5589
********
 
5590
 
 
5591
* Authentication.conf can define sections without password.
 
5592
  (Vincent Ladeuil, #199440)
 
5593
 
 
5594
* Avoid muttering every time a child update does not cause a progress bar
 
5595
  update. (John Arbash Meinel, #213771)
 
5596
 
 
5597
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
5598
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
5599
  also detects this condition. (John Arbash Meinel, #177855)
 
5600
 
 
5601
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
5602
  for ``revision_id=None`` which was not a string.
 
5603
  (John Arbash Meinel, #211661)
 
5604
 
 
5605
* ``bzr commit`` now works with Microsoft's FTP service.
 
5606
  (Andreas Deininger)
 
5607
 
 
5608
* Catch definitions outside sections in authentication.conf.
 
5609
  (Vincent Ladeuil, #217650)
 
5610
 
 
5611
* Conversion from non-rich-root to rich-root(-pack) updates inventory
 
5612
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
5613
 
 
5614
* Conversion from non-rich-root to rich-root(-pack) works correctly even
 
5615
  though search keys are not topologically sorted.  (Aaron Bentley)
 
5616
 
 
5617
* Conversion from non-rich-root to rich-root(-pack) works even when a
 
5618
  parent revision has a different root id.  (Aaron Bentley, #177874)
 
5619
 
 
5620
* Disable strace testing until strace is fixed (see bug #103133) and emit a
 
5621
  warning when selftest ends to remind us of leaking tests.
 
5622
  (Vincent Ladeuil, #226769)
 
5623
 
 
5624
* Fetching all revisions from a repository does not cause pack collisions.
 
5625
  (Robert Collins, Aaron Bentley, #212908)
 
5626
 
 
5627
* Fix error about "attempt to add line-delta in non-delta knit".
 
5628
  (Andrew Bennetts, #217701)
 
5629
 
 
5630
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
5631
  if the remote server was < version 1.2. This was due to a bug in the
 
5632
  RemoteRepository.get_parent_map() fallback code.
 
5633
  (John Arbash Meinel, #214894)
 
5634
 
 
5635
* Remove leftover code in ``bzr_branch`` that inappropriately creates
 
5636
  a ``branch-name`` file in the branch control directory.
 
5637
  (Martin Pool)
 
5638
 
 
5639
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
5640
  rebinding the socket when starting the server a second time.
 
5641
  (John Arbash Meinel, Martin Pool, #164288)
 
5642
 
 
5643
* Severe performance degradation in fetching from knit repositories to
 
5644
  knits and packs due to parsing the entire revisions.kndx on every graph
 
5645
  walk iteration fixed by using the Repository.get_graph API.  There was
 
5646
  another regression in knit => knit fetching which re-read the index for
 
5647
  every revision each side had in common.
 
5648
  (Robert Collins, John Arbash Meinel)
 
5649
 
 
5650
* When logging the changes to a particular file, there was a bug if there
 
5651
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
5652
 
 
5653
* xs4all's ftp server returns a temporary error when trying to list an
 
5654
  empty directory, rather than returning an empty list. Adding a
 
5655
  workaround so that we don't get spurious failures.
 
5656
  (John Arbash Meinel, #215522)
 
5657
 
 
5658
Documentation
 
5659
*************
 
5660
 
 
5661
* Expanded the User Guide to include new chapters on popular plugins and
 
5662
  integrating Bazaar into your environment. The *Best practices* chapter
 
5663
  was renamed to *Miscellaneous topics* as suggested by community
 
5664
  feedback as well. (Ian Clatworthy)
 
5665
 
 
5666
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
5667
 
 
5668
* Improved the documentation on hooks. (Ian Clatworthy)
 
5669
 
 
5670
* Update authentication docs regarding ssh agents.
 
5671
  (Vincent Ladeuil, #183705)
 
5672
 
 
5673
Testing
 
5674
*******
 
5675
 
 
5676
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
5677
  make it easy to identify which test spawned a thread with an unhandled
 
5678
  exception. (Andrew Bennetts)
 
5679
 
 
5680
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
5681
  options for debugging tests, these are complementary to the -D
 
5682
  options.  The ``-Dselftest_debug`` global option has been replaced by the
 
5683
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
5684
 
 
5685
* Parameterised test ids are preserved correctly to aid diagnosis of test
 
5686
  failures. (Robert Collins, Andrew Bennetts)
 
5687
 
 
5688
* selftest now accepts --starting-with <id> to load only the tests whose id
 
5689
  starts with the one specified. This greatly speeds up running the test
 
5690
  suite on a limited set of tests and can be used to run the tests for a
 
5691
  single module, a single class or even a single test.  (Vincent Ladeuil)
 
5692
 
 
5693
* The test suite modules have been modified to define load_tests() instead
 
5694
  of test_suite(). That speeds up selective loading (via --load-list)
 
5695
  significantly and provides many examples on how to migrate (grep for
 
5696
  load_tests).  (Vincent Ladeuil)
 
5697
 
 
5698
Internals
 
5699
*********
 
5700
 
 
5701
* ``Hooks.install_hook`` is now deprecated in favour of
 
5702
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
5703
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
5704
 
 
5705
* Implement xml8 serializer.  (Aaron Bentley)
 
5706
 
 
5707
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
 
5708
  deprecation wrappers.  (Martin Pool)
 
5709
 
 
5710
* ``Repository.revision_parents`` is now deprecated in favour of
 
5711
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
5712
 
 
5713
* The Python ``assert`` statement is no longer used in Bazaar source, and
 
5714
  a test checks this.  (Martin Pool)
 
5715
 
 
5716
API Changes
 
5717
***********
 
5718
 
 
5719
* ``bzrlib.status.show_pending_merges`` requires the repository to be
 
5720
  locked by the caller. Callers should have been doing it anyway, but it
 
5721
  will now raise an exception if they do not. (John Arbash Meinel)
 
5722
 
 
5723
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
5724
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
5725
  Repository.item_keys_introduced_by() no longer take read locks.
 
5726
  (Aaron Bentley)
 
5727
 
 
5728
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
5729
  towards removing LockableFiles and ``.control_files`` entirely.
 
5730
  (Martin Pool)
 
5731
 
 
5732
* Methods deprecated prior to 1.1 have been removed.
 
5733
  (Martin Pool)
 
5734
 
 
5735
 
 
5736
bzr 1.4 
 
5737
#######
 
5738
 
 
5739
:Released: 2008-04-28
 
5740
 
 
5741
This release of Bazaar includes handy improvements to the speed of log and
 
5742
status, new options for several commands, improved documentation, and better
 
5743
hooks, including initial code for server-side hooks.  A number of bugs have
 
5744
been fixed, particularly in interoperability between different formats or
 
5745
different releases of Bazaar over there network.  There's been substantial
 
5746
internal work in both the repository and network code to enable new features
 
5747
and faster performance.
 
5748
 
 
5749
Bug Fixes
 
5750
*********
 
5751
 
 
5752
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
5753
  if the remote server was < version 1.2.  This was due to a bug in the
 
5754
  RemoteRepository.get_parent_map() fallback code.
 
5755
  (John Arbash Meinel, Andrew Bennetts, #214894)
 
5756
 
 
5757
 
 
5758
bzr 1.4rc2
 
5759
##########
 
5760
 
 
5761
:Released: 2008-04-21
 
5762
 
 
5763
Bug Fixes
 
5764
*********
 
5765
 
 
5766
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
5767
  for ``revision_id=None`` which was not a string.
 
5768
  (John Arbash Meinel, #211661)
 
5769
 
 
5770
* Fixed a bug in handling ghost revisions when logging changes in a
 
5771
  particular file.  (John Arbash Meinel, #209948)
 
5772
 
 
5773
* Fix error about "attempt to add line-delta in non-delta knit".
 
5774
  (Andrew Bennetts, #205156)
 
5775
 
 
5776
* Fixed performance degradation in fetching from knit repositories to
 
5777
  knits and packs due to parsing the entire revisions.kndx on every graph
 
5778
  walk iteration fixed by using the Repository.get_graph API.  There was
 
5779
  another regression in knit => knit fetching which re-read the index for
 
5780
  every revision each side had in common.
 
5781
  (Robert Collins, John Arbash Meinel)
 
5782
 
 
5783
 
 
5784
bzr 1.4rc1
 
5785
##########
 
5786
 
 
5787
:Released: 2008-04-11
 
5788
 
 
5789
Changes
 
5790
*******
 
5791
 
 
5792
* bzr main script cannot be imported (Benjamin Peterson)
 
5793
 
 
5794
* On Linux bzr additionally looks for plugins in arch-independent site
 
5795
  directory. (Toshio Kuratomi)
 
5796
 
 
5797
* The ``set_rh`` branch hook is now deprecated. Please migrate
 
5798
  any plugins using this hook to use an alternative, e.g.
 
5799
  ``post_change_branch_tip``. (Ian Clatworthy)
 
5800
 
 
5801
* When a plugin cannot be loaded as the file path is not a valid
 
5802
  python module name bzr will now strip a ``bzr_`` prefix from the
 
5803
  front of the suggested name, as many plugins (e.g. bzr-svn)
 
5804
  want to be installed without this prefix. It is a common mistake
 
5805
  to have a folder named "bzr-svn" for that plugin, especially
 
5806
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
5807
  Andrew Cowie)
 
5808
 
 
5809
* UniqueIntegerBugTracker now appends bug-ids instead of joining
 
5810
  them to the base URL. Plugins that register bug trackers may
 
5811
  need a trailing / added to the base URL if one is not already there.
 
5812
  (James Wesby, Andrew Cowie)
 
5813
 
 
5814
Features
 
5815
********
 
5816
 
 
5817
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
5818
 
 
5819
* ``status`` now accepts ``--no-pending`` to show the status without
 
5820
  listing pending merges, which speeds up the command a lot on large
 
5821
  histories.  (James Westby, #202830)
 
5822
 
 
5823
* New ``post_change_branch_tip`` hook that is called after the
 
5824
  branch tip is moved but while the branch is still write-locked.
 
5825
  See the User Reference for signature details.
 
5826
  (Ian Clatworthy, James Henstridge)
 
5827
 
 
5828
* Reconfigure can convert a branch to be standalone or to use a shared
 
5829
  repository.  (Aaron Bentley)
 
5830
 
 
5831
Improvements
 
5832
************
 
5833
 
 
5834
* The smart protocol now has support for setting branches' revision info
 
5835
  directly.  This should make operations like push slightly faster, and is a
 
5836
  step towards server-side hooks.  The new request method name is
 
5837
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
5838
 
 
5839
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
5840
  (James Westby, Andrew Cowie)
 
5841
 
 
5842
* ``bzr switch`` will attempt to find branches to switch to relative to the
 
5843
  current branch. E.g. ``bzr switch branchname`` will look for
 
5844
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
5845
  Wouter van Heyst)
 
5846
 
 
5847
* Diff is now more specific about execute-bit changes it describes
 
5848
  (Chad Miller)
 
5849
 
 
5850
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
5851
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
5852
  rather than just 1 byte at a time.  (Andrew Bennetts)
 
5853
 
 
5854
* Log --short and --line are much faster when -r is not specified.
 
5855
  (Aaron Bentley)
 
5856
 
 
5857
* Merge is faster.  We no longer check a file's existence unnecessarily
 
5858
  when merging the execute bit.  (Aaron Bentley)
 
5859
 
 
5860
* ``bzr status`` on an explicit list of files no longer shows pending
 
5861
  merges, making it much faster on large trees. (John Arbash Meinel)
 
5862
 
 
5863
* The launchpad directory service now warns the user if they have not set
 
5864
  their launchpad login and are trying to resolve a URL using it, just
 
5865
  in case they want to do a write operation with it.  (James Westby)
 
5866
 
 
5867
* The smart protocol client is slightly faster, because it now only queries
 
5868
  the server for the protocol version once per connection.  Also, the HTTP
 
5869
  transport will now automatically probe for and use a smart server if
 
5870
  one is present.  You can use the new ``nosmart+`` transport decorator
 
5871
  to get the old behaviour.  (Andrew Bennetts)
 
5872
 
 
5873
* The ``version`` command takes a ``--short`` option to print just the
 
5874
  version number, for easier use in scripts.  (Martin Pool)
 
5875
 
 
5876
* Various operations with revision specs and commands that calculate
 
5877
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
5878
 
 
5879
Bugfixes
 
5880
********
 
5881
 
 
5882
* Add ``root_client_path`` parameter to SmartWSGIApp and
 
5883
  SmartServerRequest.  This makes it possible to publish filesystem
 
5884
  locations that don't exactly match URL paths. SmartServerRequest
 
5885
  subclasses should use the new ``translate_client_path`` and
 
5886
  ``transport_from_client_path`` methods when dealing with paths received
 
5887
  from a client to take this into account.  (Andrew Bennetts, #124089)
 
5888
 
 
5889
* ``bzr mv a b`` can be now used also to rename previously renamed
 
5890
  directories, not only files. (Lukáš Lalinský, #107967)
 
5891
 
 
5892
* ``bzr uncommit --local`` can now remove revisions from the local
 
5893
  branch to be symmetric with ``bzr commit --local``.
 
5894
  (John Arbash Meinel, #93412)
 
5895
 
 
5896
* Don't ask for a password if there is no real terminal.
 
5897
  (Alexander Belchenko, #69851)
 
5898
 
 
5899
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
5900
  fetching revisions from a knit to pack repository or vice versa using
 
5901
  bzr:// (including over http or ssh).
 
5902
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
5903
 
 
5904
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
5905
  fixed ``_get_bytes`` in the same module to use the push back buffer.
 
5906
  These bugs had no known impact in normal use, but were problematic for
 
5907
  developers working on the code, and were likely to cause real bugs sooner
 
5908
  or later.  (Andrew Bennetts)
 
5909
 
 
5910
* Implement handling of basename parameter for DefaultMail.  (James Westby)
 
5911
 
 
5912
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
5913
  (Andrew Bennetts, #213425)
 
5914
 
 
5915
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
5916
 
 
5917
* Merges that add files to deleted root directories complete.  They
 
5918
  do create conflicts.  (Aaron Bentley, #210092)
 
5919
 
 
5920
* vsftp's return ``550 RNFR command failed.`` supported.
 
5921
  (Marcus Trautwig, #129786)
 
5922
 
 
5923
Documentation
 
5924
*************
 
5925
 
 
5926
* Improved documentation on send/merge relationship. (Peter Schuller)
 
5927
 
 
5928
* Minor fixes to the User Guide. (Matthew Fuller)
 
5929
 
 
5930
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
5931
 
 
5932
* Added Integrating with Bazaar document for developers (Martin Albisetti)
 
5933
 
 
5934
API Breaks
 
5935
**********
 
5936
 
 
5937
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
5938
  non-ghost aware repository such as weaves will now fail if there are
 
5939
  ghosts.  (Robert Collins)
 
5940
 
 
5941
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
5942
  now requires the ``index`` and ``access_method`` parameters to be
 
5943
  supplied. A compatible shim has been kept in the new function
 
5944
  ``knit.make_file_knit``. (Robert Collins)
 
5945
 
 
5946
* Log formatters must now provide log_revision instead of show and
 
5947
  show_merge_revno methods. The latter had been deprecated since the 0.17
 
5948
  release. (James Westby)
 
5949
 
 
5950
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
5951
  (Andrew Bennetts)
 
5952
 
 
5953
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
5954
 
 
5955
* ``Repository.get_revision_graph`` is deprecated, with no replacement
 
5956
  method. The method was size(history) and not desirable. (Robert Collins)
 
5957
 
 
5958
* ``revision.revision_graph`` is deprecated, with no replacement function.
 
5959
  The function was size(history) and not desirable. (Robert Collins)
 
5960
 
 
5961
* ``Transport.get_shared_medium`` is deprecated.  Use
 
5962
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
5963
 
 
5964
* ``VersionedFile`` factories now accept a get_scope parameter rather
 
5965
  than using a call to ``transaction_finished``, allowing the removal of
 
5966
  the fixed list of versioned files per repository. (Robert Collins)
 
5967
 
 
5968
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
5969
  allowed lower memory use, all users of annotations wanted full file
 
5970
  annotations, and there is no storage format suitable for incremental
 
5971
  line-by-line annotation. (Robert Collins)
 
5972
 
 
5973
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
5974
  is no longer used - reading the content of a file that is undergoing a
 
5975
  file level merge to identical state on two branches is rare enough, and
 
5976
  not expensive enough to special case. (Robert Collins)
 
5977
 
 
5978
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
5979
  These methods added significant complexity to the ``VersionedFile``
 
5980
  implementation, but were only used for optimising fetches from knits -
 
5981
  which can be done from outside the knit layer, or via a caching
 
5982
  decorator. As knits are not the default format, the complexity is no
 
5983
  longer worth paying. (Robert Collins)
 
5984
 
 
5985
* ``VersionedFile.create_empty`` is removed. This method presupposed a
 
5986
  sensible mapping to a transport for individual files, but pack backed
 
5987
  versioned files have no such mapping. (Robert Collins)
 
5988
 
 
5989
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
5990
  The method was size(history) and not desirable. (Robert Collins)
 
5991
 
 
5992
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
5993
  replacement method.  The method was size(history) and not desirable.
 
5994
  (Robert Collins)
 
5995
 
 
5996
* ``VersionedFile.get_parents`` is deprecated, please use
 
5997
  ``VersionedFile.get_parent_map``. (Robert Collins)
 
5998
 
 
5999
* ``VersionedFile.get_sha1`` is deprecated, please use
 
6000
  ``VersionedFile.get_sha1s``. (Robert Collins)
 
6001
 
 
6002
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
6003
  and unused outside of a single test. (Robert Collins)
 
6004
 
 
6005
* ``VersionedFile.iter_parents`` is now deprecated in favour of
 
6006
  ``get_parent_map`` which can be used to instantiate a Graph on a
 
6007
  VersionedFile. (Robert Collins)
 
6008
 
 
6009
* ``VersionedFileStore`` no longer uses the transaction parameter given
 
6010
  to most methods; amongst other things this means that the
 
6011
  get_weave_or_empty method no longer guarantees errors on a missing weave
 
6012
  in a readonly transaction, and no longer caches versioned file instances
 
6013
  which reduces memory pressure (but requires more careful management by
 
6014
  callers to preserve performance). (Robert Collins)
 
6015
 
 
6016
Testing
 
6017
*******
 
6018
 
 
6019
* New -Dselftest_debug flag disables clearing of the debug flags during
 
6020
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
6021
  failing test.  Be aware that using this feature is likely to cause
 
6022
  spurious test failures if used with the full suite. (Andrew Bennetts)
 
6023
 
 
6024
* selftest --load-list now uses a new more agressive test loader that will
 
6025
  avoid loading unneeded modules and building their tests. Plugins can use
 
6026
  this new loader by defining a load_tests function instead of a test_suite
 
6027
  function. (a forthcoming patch will provide many examples on how to
 
6028
  implement this).
 
6029
  (Vincent Ladeuil)
 
6030
 
 
6031
* selftest --load-list now does some sanity checks regarding duplicate test
 
6032
  IDs and tests present in the list but not found in the actual test suite.
 
6033
  (Vincent Ladeuil)
 
6034
 
 
6035
* Slightly more concise format for the selftest progress bar, so there's
 
6036
  more space to show the test name.  (Martin Pool) ::
 
6037
 
 
6038
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
6039
 
 
6040
* The test suite takes much less memory to run, and is a bit faster.  This
 
6041
  is done by clearing most attributes of TestCases after running them, if
 
6042
  they succeeded.  (Andrew Bennetts)
 
6043
 
 
6044
Internals
 
6045
*********
 
6046
 
 
6047
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
6048
 
 
6049
* Added basic infrastructure for automatic plugin suggestion.
 
6050
  (Martin Albisetti)
 
6051
 
 
6052
* If a ``LockableFiles`` object is not explicitly unlocked (for example
 
6053
  because of a missing ``try/finally`` block, it will give a warning but
 
6054
  not automatically unlock itself.  (Previously they did.)  This
 
6055
  sometimes caused knock-on errors if for example the network connection
 
6056
  had already failed, and should not be relied upon by code.
 
6057
  (Martin Pool, #109520)
 
6058
 
 
6059
* ``make dist`` target to build a release tarball, and also
 
6060
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
6061
 
 
6062
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
6063
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
6064
  callers don't need to try distinguish unknown request errors from other
 
6065
  errors.  (Andrew Bennetts)
 
6066
 
 
6067
* ``set_make_working_trees`` is now implemented provided on all repository
 
6068
  implementations (Aaron Bentley)
 
6069
 
 
6070
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
6071
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
6072
 
 
6073
 
 
6074
bzr 1.3.1
 
6075
#########
 
6076
 
 
6077
:Released: 2008-04-09
 
6078
 
 
6079
No changes from 1.3.1rc1.
 
6080
 
 
6081
 
 
6082
bzr 1.3.1rc1
 
6083
############
 
6084
 
 
6085
:Released: 2008-04-04
 
6086
 
 
6087
Bug Fixes
 
6088
*********
 
6089
 
 
6090
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
6091
  fetching revisions from a knit to pack repository or vice versa using
 
6092
  bzr:// (including over http or ssh).
 
6093
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
6094
 
 
6095
 
 
6096
bzr 1.3
 
6097
#######
 
6098
 
 
6099
:Released: 2008-03-20
 
6100
 
 
6101
Bazaar has become part of the GNU project <http://www.gnu.org>
 
6102
 
 
6103
Many operations that act on history, including ``log`` and ``annotate`` are now
 
6104
substantially faster.  Several bugs have been fixed and several new options and
 
6105
features have been added.
 
6106
 
 
6107
Testing
 
6108
*******
 
6109
 
 
6110
* Avoid spurious failure of ``TestVersion.test_version`` matching
 
6111
  directory names.
 
6112
  (#202778, Martin Pool)
 
6113
 
 
6114
 
 
6115
bzr 1.3rc1
 
6116
##########
 
6117
 
 
6118
:Released: 2008-03-16
 
6119
 
 
6120
Notes When Upgrading
 
6121
********************
 
6122
 
 
6123
* The backup directory created by ``upgrade`` is now called
 
6124
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
6125
 
 
6126
Changes
 
6127
*******
 
6128
 
 
6129
* A new repository format 'development' has been added. This format will
 
6130
  represent the latest 'in-progress' format that the bzr developers are
 
6131
  interested in getting early-adopter testing and feedback on.
 
6132
  ``doc/developers/development-repo.txt`` has detailed information.
 
6133
  (Robert Collins)
 
6134
 
 
6135
* BZR_LOG environment variable controls location of .bzr.log trace file.
 
6136
  User can suppress writing messages to .bzr.log by using '/dev/null'
 
6137
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
6138
  is not defined but BZR_HOME is defined then default location
 
6139
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
6140
  (Alexander Belchenko, #106117)
 
6141
 
 
6142
* ``launchpad`` builtin plugin now shipped as separate part in standalone
 
6143
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
 
6144
  and standalone installer allows user to skip installation of this plugin.
 
6145
  (Alexander Belchenko)
 
6146
 
 
6147
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
6148
 
 
6149
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
6150
  missing final fields.  (Martin Pool)
 
6151
 
 
6152
Features
 
6153
********
 
6154
 
 
6155
* ``branch`` and ``checkout`` can hard-link working tree files, which is
 
6156
  faster and saves space.  (Aaron Bentley)
 
6157
 
 
6158
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
6159
  the submit branch to determine the email address to send to.
 
6160
  (Jelmer Vernooij)
 
6161
 
 
6162
Improvements
 
6163
************
 
6164
 
 
6165
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
6166
 
 
6167
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
6168
 
 
6169
* Directory services can now be registered, allowing special URLs to be
 
6170
  dereferenced into real URLs.  This is a generalization and cleanup of
 
6171
  the lp: transport lookup.  (Aaron Bentley)
 
6172
 
 
6173
* Merge directives that are automatically attached to emails have nicer
 
6174
  filenames, based on branch-nick + revno. (Aaron Bentley)
 
6175
 
 
6176
* ``push`` has a ``--revision`` option, to specify what revision to push up
 
6177
  to.  (Daniel Watkins)
 
6178
 
 
6179
* Significantly reducing execution time and network traffic for trivial
 
6180
  case of running ``bzr missing`` command for two identical branches.
 
6181
  (Alexander Belchenko)
 
6182
 
 
6183
* Speed up operations that look at the revision graph (such as 'bzr log').
 
6184
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
6185
  extract the revision history. This allows filtering ghosts while
 
6186
  stepping instead of needing to peek ahead. (John Arbash Meinel)
 
6187
 
 
6188
* The ``hooks`` command lists installed hooks, to assist in debugging.
 
6189
  (Daniel Watkins)
 
6190
 
 
6191
* Updates to how ``annotate`` work. Should see a measurable improvement in
 
6192
  performance and memory consumption for file with a lot of merges.
 
6193
  Also, correctly handle when a line is introduced by both parents (it
 
6194
  should be attributed to the first merge which notices this, and not
 
6195
  to all subsequent merges.) (John Arbash Meinel)
 
6196
 
 
6197
Bugfixes
 
6198
********
 
6199
 
 
6200
* Autopacking no longer holds the full set of inventory lines in
 
6201
  memory while copying. For large repositories, this can amount to
 
6202
  hundreds of MB of ram consumption.
 
6203
  (Ian Clatworthy, John Arbash Meinel)
 
6204
 
 
6205
* Cherrypicking when using ``--format=merge3`` now explictly excludes
 
6206
  BASE lines. (John Arbash Meinel, #151731)
 
6207
 
 
6208
* Disable plink's interactive prompt for password.
 
6209
  (#107593, Dmitry Vasiliev)
 
6210
 
 
6211
* Encode command line arguments from unicode to user_encoding before
 
6212
  invoking external mail client in `bzr send` command.
 
6213
  (#139318, Alexander Belchenko)
 
6214
 
 
6215
* Fixed problem connecting to ``bzr+https://`` servers.
 
6216
  (#198793, John Ferlito)
 
6217
 
 
6218
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
6219
  #196618)
 
6220
 
 
6221
* Include quick-start-summary.svg file to python-based installer(s)
 
6222
  for Windows. (#192924, Alexander Belchenko)
 
6223
 
 
6224
* lca merge now respects specified files. (Aaron Bentley)
 
6225
 
 
6226
* Make version-info --custom imply --all. (#195560, James Westby)
 
6227
 
 
6228
* ``merge --preview`` now works for merges that add or modify
 
6229
  symlinks (James Henstridge)
 
6230
 
 
6231
* Redirecting the output from ``bzr merge`` (when the remembered
 
6232
  location is used) now works. (John Arbash Meinel)
 
6233
 
 
6234
* setup.py script explicitly checks for Python version.
 
6235
  (Jari Aalto, Alexander Belchenko, #200569)
 
6236
 
 
6237
* UnknownFormatErrors no longer refer to branches regardless of kind of
 
6238
  unknown format. (Daniel Watkins, #173980)
 
6239
 
 
6240
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
6241
  signs, among other small improvements. (Matt Nordhoff, #86838)
 
6242
 
 
6243
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
6244
  errors.  (Aaron Bentley, #196780)
 
6245
 
 
6246
Documentation
 
6247
*************
 
6248
 
 
6249
* Explained how to use ``version-info --custom`` in the User Guide.
 
6250
  (Neil Martinsen-Burrell)
 
6251
 
 
6252
API Breaks
 
6253
**********
 
6254
 
 
6255
* Support for loading plugins from zip files and
 
6256
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
6257
  (Alexander Belchenko)
 
6258
 
 
6259
Testing
 
6260
*******
 
6261
 
 
6262
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
 
6263
 
 
6264
* The branch interface tests were invalid for branches using rich-root
 
6265
  repositories because the empty string is not a valid file-id.
 
6266
  (Robert Collins)
 
6267
 
 
6268
Internals
 
6269
*********
 
6270
 
 
6271
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
6272
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
6273
  stop part-way through. (John Arbash Meinel)
 
6274
 
 
6275
* New module ``tools/package_mf.py`` provide custom module finder for
 
6276
  python packages (improves standard python library's modulefinder.py)
 
6277
  used by ``setup.py`` script while building standalone bzr.exe.
 
6278
  (Alexander Belchenko)
 
6279
 
 
6280
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
6281
  detecting external lookup support on remote repositories. This method is
 
6282
  now attempted first when lookup up repositories, leading to an extra
 
6283
  round trip on older bzr smart servers. (Robert Collins)
 
6284
 
 
6285
* Repository formats have a new supported-feature attribute
 
6286
  ``supports_external_lookups`` used to indicate repositories which support
 
6287
  falling back to other repositories when they have partial data.
 
6288
  (Robert Collins)
 
6289
 
 
6290
* ``Repository.get_revision_graph_with_ghosts`` and
 
6291
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
6292
  have been deprecated.  (John Arbash Meinel)
 
6293
 
 
6294
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
6295
  ``Tree._iter_changes``. The api is now considered stable and ready for
 
6296
  external users.  (Aaron Bentley)
 
6297
 
 
6298
* The bzrdir format registry now accepts an ``alias`` keyword to
 
6299
  register_metadir, used to indicate that a format name is an alias for
 
6300
  some other format and thus should not be reported when describing the
 
6301
  format. (Robert Collins)
 
6302
 
 
6303
 
 
6304
bzr 1.2
 
6305
#######
 
6306
 
 
6307
:Released: 2008-02-15
 
6308
 
 
6309
Bug Fixes
 
6310
*********
 
6311
 
 
6312
* Fix failing test in Launchpad plugin. (Martin Pool)
 
6313
 
 
6314
 
 
6315
bzr 1.2rc1
 
6316
##########
 
6317
 
 
6318
:Released: 2008-02-13
 
6319
 
 
6320
Notes When Upgrading
 
6321
********************
 
6322
 
 
6323
* Fetching via the smart protocol may need to reconnect once during a fetch
 
6324
  if the remote server is running Bazaar 1.1 or earlier, because the client
 
6325
  attempts to use more efficient requests that confuse older servers.  You
 
6326
  may be required to re-enter a password or passphrase when this happens.
 
6327
  This won't happen if the server is upgraded to Bazaar 1.2.
 
6328
  (Andrew Bennetts)
 
6329
 
 
6330
Changes
 
6331
*******
 
6332
 
 
6333
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
6334
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
6335
 
 
6336
* Formatting of ``bzr plugins`` output is changed to be more human-
 
6337
  friendly. Full path of plugins locations will be shown only with
 
6338
  ``--verbose`` command-line option. (Alexander Belchenko)
 
6339
 
 
6340
* ``merge`` now prefers to use the submit branch, but will fall back to
 
6341
  parent branch.  For many users, this has no effect.  But some users who
 
6342
  pull and merge on the same branch will notice a change.  This change
 
6343
  makes it easier to work on a branch on two different machines, pulling
 
6344
  between the machines, while merging from the upstream.
 
6345
  ``merge --remember`` can now be used to set the submit_branch.
 
6346
  (Aaron Bentley)
 
6347
 
 
6348
Features
 
6349
********
 
6350
 
 
6351
* ``merge --preview`` produces a diff of the changes merge would make,
 
6352
  but does not actually perform the merge.  (Aaron Bentley)
 
6353
 
 
6354
* New smart method ``Repository.get_parent_map`` for getting revision
 
6355
  parent data. This returns additional parent information topologically
 
6356
  adjacent to the requested data to reduce round trip latency impacts.
 
6357
  (Robert Collins)
 
6358
 
 
6359
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
6360
  revision data that streams revision data via a chunked encoding.  This
 
6361
  avoids buffering large amounts of revision data on the server and on the
 
6362
  client, and sends less data to the server to request the revisions.
 
6363
  (Andrew Bennetts, Robert Collins, #178353)
 
6364
 
 
6365
* The launchpad plugin now handles lp urls of the form
 
6366
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
6367
  launchpad instance to do the resolution of the branch identities.
 
6368
  This is primarily of use to Launchpad developers, but can also
 
6369
  be used by other users who want to try out Launchpad as
 
6370
  a branch location without messing up their public Launchpad
 
6371
  account.  Branches that are pushed to the staging environment
 
6372
  have an expected lifetime of one day. (Tim Penhey)
 
6373
 
 
6374
Improvements
 
6375
************
 
6376
 
 
6377
* Creating a new branch no longer tries to read the entire revision-history
 
6378
  unnecessarily over smart server operations. (Robert Collins)
 
6379
 
 
6380
* Fetching between different repository formats with compatible models now
 
6381
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
6382
 
 
6383
* The ``--coverage`` option is now global, rather specific to ``bzr
 
6384
  selftest``.  (Andrew Bennetts)
 
6385
 
 
6386
* The ``register-branch`` command will now use the public url of the branch
 
6387
  containing the current directory, if one has been set and no explicit
 
6388
  branch is provided.  (Robert Collins)
 
6389
 
 
6390
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
6391
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
6392
  (John Arbash Meinel)
 
6393
 
 
6394
Bugfixes
 
6395
********
 
6396
 
 
6397
* Calculate remote path relative to the shared medium in _SmartClient.  This
 
6398
  is related to the problem in bug #124089.  (Andrew Bennetts)
 
6399
 
 
6400
* Cleanly handle connection errors in smart protocol version two, the same
 
6401
  way as they are handled by version one.  (Andrew Bennetts)
 
6402
 
 
6403
* Clearer error when ``version-info --custom`` is used without
 
6404
  ``--template`` (Lukáš Lalinský)
 
6405
 
 
6406
* Don't raise UnavailableFeature during test setup when medusa is not
 
6407
  available or tearDown is never called leading to nasty side effects.
 
6408
  (#137823, Vincent Ladeuil)
 
6409
 
 
6410
* If a plugin's test suite cannot be loaded, for example because of a syntax
 
6411
  error in the tests, then ``selftest`` fails, rather than just printing
 
6412
  a warning.  (Martin Pool, #189771)
 
6413
 
 
6414
* List possible values for BZR_SSH environment variable in env-variables
 
6415
  help topic. (Alexander Belchenko, #181842)
 
6416
 
 
6417
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
6418
  popping the log redirection now precisely restores the previous state,
 
6419
  which makes it easier to use bzr log output from other programs.
 
6420
  TestCaseInTempDir no longer depends on a log redirection being established
 
6421
  by the test framework, which lets bzr tests cleanly run from a normal
 
6422
  unittest runner.
 
6423
  (#124153, #124849, Martin Pool, Jonathan Lange)
 
6424
 
 
6425
* ``pull --quiet`` is now more quiet, in particular a message is no longer
 
6426
  printed when the remembered pull location is used. (James Westby,
 
6427
  #185907)
 
6428
 
 
6429
* ``reconfigure`` can safely be interrupted while fetching.
 
6430
  (Aaron Bentley, #179316)
 
6431
 
 
6432
* ``reconfigure`` preserves tags when converting to and from lightweight
 
6433
  checkouts.  (Aaron Bentley, #182040)
 
6434
 
 
6435
* Stop polluting /tmp when running selftest.
 
6436
  (Vincent Ladeuil, #123363)
 
6437
 
 
6438
* Switch from NFKC => NFC for normalization checks. NFC allows a few
 
6439
  more characters which should be considered valid.
 
6440
  (John Arbash Meinel, #185458)
 
6441
 
 
6442
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
6443
  interacting badly with a bug on the launchpad side. (Robert Collins)
 
6444
 
 
6445
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
6446
  tracebacks.  (Andrew Bennetts, #182849)
 
6447
 
 
6448
API Breaks
 
6449
**********
 
6450
 
 
6451
* Classes implementing Merge types like Merge3Merger must now accept (and
 
6452
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
6453
 
 
6454
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
6455
  to previously take a write lock (and start a write group.)
 
6456
  (Martin Pool)
 
6457
 
 
6458
Testing
 
6459
*******
 
6460
 
 
6461
* selftest now accepts --load-list <file> to load a test id list. This
 
6462
  speeds up running the test suite on a limited set of tests.
 
6463
  (Vincent Ladeuil)
 
6464
 
 
6465
Internals
 
6466
*********
 
6467
 
 
6468
* Add a new method ``get_result`` to graph search objects. The resulting
 
6469
  ``SearchResult`` can be used to recreate the search later, which will
 
6470
  be useful in reducing network traffic. (Robert Collins)
 
6471
 
 
6472
* Use convenience function to check whether two repository handles
 
6473
  are referring to the same repository in ``Repository.get_graph``.
 
6474
  (Jelmer Vernooij, #187162)
 
6475
 
 
6476
* Fetching now passes the find_ghosts flag through to the
 
6477
  ``InterRepository.missing_revision_ids`` call consistently for all
 
6478
  repository types. This will enable faster missing revision discovery with
 
6479
  bzr+ssh. (Robert Collins)
 
6480
 
 
6481
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
6482
 
 
6483
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
6484
  ``InterRepository.search_missing_revision_ids`` which returns a
 
6485
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
6486
  server. (Robert Collins)
 
6487
 
 
6488
* New error ``NoPublicBranch`` for commands that need a public branch to
 
6489
  operate. (Robert Collins)
 
6490
 
 
6491
* New method ``iter_inventories`` on Repository for access to many
 
6492
  inventories. This is primarily used by the ``revision_trees`` method, as
 
6493
  direct access to inventories is discouraged. (Robert Collins)
 
6494
 
 
6495
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
6496
  which will split out ghosts and present parents into two separate sets,
 
6497
  useful for code which needs to be aware of ghosts (e.g. fetching data
 
6498
  cares about ghosts during revision selection). (Robert Collins)
 
6499
 
 
6500
* Record a timestamp against each mutter to the trace file, relative to the
 
6501
  first import of bzrlib.  (Andrew Bennetts)
 
6502
 
 
6503
* ``Repository.get_data_stream`` is now deprecated in favour of
 
6504
  ``Repository.get_data_stream_for_search`` which allows less network
 
6505
  traffic when requesting data streams over a smart server. (Robert Collins)
 
6506
 
 
6507
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
6508
  removing one round trip on many network operations. (Robert Collins)
 
6509
 
 
6510
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
6511
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
6512
 
 
6513
* Repository has a new method ``has_revisions`` which signals the presence
 
6514
  of many revisions by returning a set of the revisions listed which are
 
6515
  present. This can be done by index queries without reading data for parent
 
6516
  revision names etc. (Robert Collins)
 
6517
 
 
6518
 
 
6519
bzr 1.1
 
6520
#######
 
6521
 
 
6522
:Released: 2008-01-15
 
6523
 
 
6524
(no changes from 1.1rc1)
 
6525
 
 
6526
bzr 1.1rc1
 
6527
##########
 
6528
 
 
6529
:Released: 2008-01-05
 
6530
 
 
6531
Changes
 
6532
*******
 
6533
 
 
6534
* Dotted revision numbers have been revised. Instead of growing longer with
 
6535
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
6536
  we now report 1.2.1.) This helps scale long lived branches which have many
 
6537
  feature branches merged between them. (John Arbash Meinel)
 
6538
 
 
6539
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
6540
  Use ``bzr diff branch1 --new branch2`` instead. This change has
 
6541
  been made to remove the ambiguity where ``branch2`` is in fact a
 
6542
  specific file to diff within ``branch1``.
 
6543
 
 
6544
Features
 
6545
********
 
6546
 
 
6547
* New option to use custom template-based formats in  ``bzr version-info``.
 
6548
  (Lukáš Lalinský)
 
6549
 
 
6550
* diff '--using' allows an external diff tool to be used for files.
 
6551
  (Aaron Bentley)
 
6552
 
 
6553
* New "lca" merge-type for fast everyday merging that also supports
 
6554
  criss-cross merges.  (Aaron Bentley)
 
6555
 
 
6556
Improvements
 
6557
************
 
6558
 
 
6559
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
6560
  #90049)
 
6561
 
 
6562
* ``branch`` and ``checkout`` can now use files from a working tree to
 
6563
  to speed up the process.  For checkout, this requires the new
 
6564
  --files-from flag.  (Aaron Bentley)
 
6565
 
 
6566
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
6567
 
 
6568
* ``bzr diff`` now works on branches without working trees. Tree-less
 
6569
  branches can also be compared to each other and to working trees using
 
6570
  the new diff options ``--old`` and ``--new``. Diffing between branches,
 
6571
  with or without trees, now supports specific file filtering as well.
 
6572
  (Ian Clatworthy, #6700)
 
6573
 
 
6574
* ``bzr pack`` now orders revision texts in topological order, with newest
 
6575
  at the start of the file, promoting linear reads for ``bzr log`` and the
 
6576
  like. This partially fixes #154129. (Robert Collins)
 
6577
 
 
6578
* Merge directives now fetch prerequisites from the target branch if
 
6579
  needed.  (Aaron Bentley)
 
6580
 
 
6581
* pycurl now handles digest authentication.
 
6582
  (Vincent Ladeuil)
 
6583
 
 
6584
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
6585
 
 
6586
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
6587
 
 
6588
* ``merge`` now warns when merge directives cause cherrypicks.
 
6589
  (Aaron Bentley)
 
6590
 
 
6591
* ``split`` now supported, to enable splitting large trees into smaller
 
6592
  pieces.  (Aaron Bentley)
 
6593
 
 
6594
Bugfixes
 
6595
********
 
6596
 
 
6597
* Avoid AttributeError when unlocking a pack repository when an error occurs.
 
6598
  (Martin Pool, #180208)
 
6599
 
 
6600
* Better handle short reads when processing multiple range requests.
 
6601
  (Vincent Ladeuil, #179368)
 
6602
 
 
6603
* build_tree acceleration uses the correct path when a file has been moved.
 
6604
  (Aaron Bentley)
 
6605
 
 
6606
* ``commit`` now succeeds when a checkout and its master branch share a
 
6607
  repository.  (Aaron Bentley, #177592)
 
6608
 
 
6609
* Fixed error reporting of unsupported timezone format in
 
6610
  ``log --timezone``. (Lukáš Lalinský, #178722)
 
6611
 
 
6612
* Fixed Unicode encoding error in ``ignored`` when the output is
 
6613
  redirected to a pipe. (Lukáš Lalinský)
 
6614
 
 
6615
* Fix traceback when sending large response bodies over the smart protocol
 
6616
  on Windows. (Andrew Bennetts, #115781)
 
6617
 
 
6618
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
6619
  pointed to different logical drives on Windows.
 
6620
  (Alexander Belchenko, #90847)
 
6621
 
 
6622
* HTTP test servers are now compatible with the http protocol version 1.1.
 
6623
  (Vincent Ladeuil, #175524)
 
6624
 
 
6625
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
6626
  correctly, instead of erroring or attributing incorrect parents to ghosts.
 
6627
  (Aaron Bentley)
 
6628
 
 
6629
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
6630
 
 
6631
* pycurl authentication handling was broken and incomplete. Fix handling of
 
6632
  user:pass embedded in the urls.
 
6633
  (Vincent Ladeuil, #177643)
 
6634
 
 
6635
* Files inside non-directories are now handled like other conflict types.
 
6636
  (Aaron Bentley, #177390)
 
6637
 
 
6638
* ``reconfigure`` is able to convert trees into lightweight checkouts.
 
6639
  (Aaron Bentley)
 
6640
 
 
6641
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
6642
  #148087)
 
6643
 
 
6644
* Test that the old ``version_info_format`` functions still work, even
 
6645
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
6646
 
 
6647
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
6648
  #137681)
 
6649
 
 
6650
* ``uncommit`` works even when the commit messages of revisions to be
 
6651
  removed use characters not supported in the terminal encoding.
 
6652
  (Aaron Bentley)
 
6653
 
 
6654
* When dumb http servers return whole files instead of the requested ranges,
 
6655
  read the remaining bytes by chunks to avoid overflowing network buffers.
 
6656
  (Vincent Ladeuil, #175886)
 
6657
 
 
6658
Documentation
 
6659
*************
 
6660
 
 
6661
* Minor tweaks made to the bug tracker integration documentation.
 
6662
  (Ian Clatworthy)
 
6663
 
 
6664
* Reference material has now be moved out of the User Guide and added
 
6665
  to the User Reference. The User Reference has gained 4 sections as
 
6666
  a result: Authenication Settings, Configuration Settings, Conflicts
 
6667
  and Hooks. All help topics are now dumped into text format in the
 
6668
  doc/en/user-reference directory for those who like browsing that
 
6669
  information in their editor. (Ian Clatworthy)
 
6670
 
 
6671
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
6672
 
 
6673
Internals
 
6674
*********
 
6675
 
 
6676
* find_* methods available for BzrDirs, Branches and WorkingTrees.
 
6677
  (Aaron Bentley)
 
6678
 
 
6679
* Help topics can now be loaded from files.
 
6680
  (Ian Clatworthy, Alexander Belchenko)
 
6681
 
 
6682
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
6683
 
 
6684
* Parent Providers should now implement ``get_parent_map`` returning a
 
6685
  dictionary instead of ``get_parents`` returning a list.
 
6686
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
6687
  Robert Collins)
 
6688
 
 
6689
* Patience Diff now supports arbitrary python objects, as long as they
 
6690
  support ``hash()``. (John Arbash Meinel)
 
6691
 
 
6692
* Reduce selftest overhead to establish test names by memoization.
 
6693
  (Vincent Ladeuil)
 
6694
 
 
6695
API Breaks
 
6696
**********
 
6697
 
 
6698
Testing
 
6699
*******
 
6700
 
 
6701
* Modules can now customise their tests by defining a ``load_tests``
 
6702
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
6703
  for the documentation on this attribute. (Robert Collins)
 
6704
 
 
6705
* New helper function ``bzrlib.tests.condition_id_re`` which helps
 
6706
  filter tests based on a regular expression search on the tests id.
 
6707
  (Robert Collins)
 
6708
 
 
6709
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
6710
  filter tests based on class. (Robert Collins)
 
6711
 
 
6712
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
6713
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
6714
 
 
6715
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
6716
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
6717
 
 
6718
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
6719
  TestSuite that does not contain tests from the input that matched a
 
6720
  regular expression. (Robert Collins)
 
6721
 
 
6722
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
6723
  randomized copy of the input suite. (Robert Collins)
 
6724
 
 
6725
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
6726
  suite into two according to a regular expression. (Robert Collins)
 
6727
 
 
6728
* Parametrize all http tests for the transport implementations, the http
 
6729
  protocol versions (1.0 and 1.1) and the authentication schemes.
 
6730
  (Vincent Ladeuil)
 
6731
 
 
6732
* The ``exclude_pattern`` and ``random_order`` parameters to the function
 
6733
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
6734
 
 
6735
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
 
6736
  replaced by the new helper methods added in this release. (Robert Collins)
 
6737
 
 
6738
 
 
6739
bzr 1.0
 
6740
#######
 
6741
 
 
6742
:Released: 2007-12-14
 
6743
 
 
6744
Documentation
 
6745
*************
 
6746
 
 
6747
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
6748
 
 
6749
* Add information on cherrypicking/rebasing to the User Guide.
 
6750
  (Ian Clatworthy)
 
6751
 
 
6752
* Improve bug tracker integration documentation. (Ian Clatworthy)
 
6753
 
 
6754
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
6755
  to the rebasing section of the User Guide from Aaron Bentley.
 
6756
  (Ian Clatworthy)
 
6757
 
 
6758
 
 
6759
bzr 1.0rc3
 
6760
##########
 
6761
 
 
6762
:Released: 2007-12-11
 
6763
 
 
6764
Changes
 
6765
*******
 
6766
 
 
6767
* If a traceback occurs, users are now asked to report the bug
 
6768
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
 
6769
  by mail to the mailing list.
 
6770
  (Martin Pool)
 
6771
 
 
6772
Bugfixes
 
6773
********
 
6774
 
 
6775
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
6776
 
 
6777
* Give more feedback during long http downloads by making readv deliver data
 
6778
  as it arrives for urllib, and issue more requests for pycurl. High latency
 
6779
  networks are better handled by urllib, the pycurl implementation give more
 
6780
  feedback but also incur more latency.
 
6781
  (Vincent Ladeuil, #173010)
 
6782
 
 
6783
* Implement _make_parents_provider on RemoteRepository, allowing generating
 
6784
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
6785
 
 
6786
Documentation
 
6787
*************
 
6788
 
 
6789
* Improved user guide.  (Ian Clatworthy)
 
6790
 
 
6791
* The single-page quick reference guide is now available as a PDF.
 
6792
  (Ian Clatworthy)
 
6793
 
 
6794
Internals
 
6795
*********
 
6796
 
 
6797
* readv urllib http implementation is now a real iterator above the
 
6798
  underlying socket and deliver data as soon as it arrives. 'get' still
 
6799
  wraps its output in a StringIO.
 
6800
  (Vincent Ladeuil)
 
6801
 
 
6802
 
 
6803
bzr 1.0rc2
 
6804
##########
 
6805
 
 
6806
:Released: 2007-12-07
 
6807
 
 
6808
Improvements
 
6809
************
 
6810
 
 
6811
* Added a --coverage option to selftest. (Andrew Bennetts)
 
6812
 
 
6813
* Annotate merge (merge-type=weave) now supports cherrypicking.
 
6814
  (Aaron Bentley)
 
6815
 
 
6816
* ``bzr commit`` now doesn't print the revision number twice. (Matt
 
6817
  Nordhoff, #172612)
 
6818
 
 
6819
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
6820
  define locations of bug trackers that are not directly supported by
 
6821
  bzr or a plugin. The URL will be treated as a template and ``{id}``
 
6822
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
6823
 
 
6824
* Support logging single merge revisions with short and line log formatters.
 
6825
  (Kent Gibson)
 
6826
 
 
6827
* User Guide enhanced with suggested readability improvements from
 
6828
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
6829
 
 
6830
* Quick Start Guide renamed to Quick Start Card, moved down in
 
6831
  the catalog, provided in pdf and png format and updated to refer
 
6832
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
6833
 
 
6834
* ``switch`` can now be used on heavyweight checkouts as well as
 
6835
  lightweight ones. After switching a heavyweight checkout, the
 
6836
  local branch is a mirror/cache of the new bound branch and
 
6837
  uncommitted changes in the working tree are merged. As a safety
 
6838
  check, if there are local commits in a checkout which have not
 
6839
  been committed to the previously bound branch, then ``switch``
 
6840
  fails unless the ``--force`` option is given. This option is
 
6841
  now also required if the branch a lightweight checkout is pointing
 
6842
  to has been moved. (Ian Clatworthy)
 
6843
 
 
6844
Internals
 
6845
*********
 
6846
 
 
6847
* New -Dhttp debug option reports http connections, requests and responses.
 
6848
  (Vincent Ladeuil)
 
6849
 
 
6850
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
6851
 
 
6852
Bugfixes
 
6853
********
 
6854
 
 
6855
* Better error message when running ``bzr cat`` on a non-existant branch.
 
6856
  (Lukáš Lalinský, #133782)
 
6857
 
 
6858
* Catch OSError 17 (file exists) in final phase of tree transform and show
 
6859
  filename to user.
 
6860
  (Alexander Belchenko, #111758)
 
6861
 
 
6862
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
6863
  allowing multiple GET requests to be issued if too many ranges are
 
6864
  required.
 
6865
  (Vincent Ladeuil, #172701)
 
6866
 
 
6867
* Check for missing basis texts when fetching from packs to packs.
 
6868
  (John Arbash Meinel, #165290)
 
6869
 
 
6870
* Fall back to showing e-mail in ``log --short/--line`` if the
 
6871
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
6872
 
 
6873
API Breaks
 
6874
**********
 
6875
 
 
6876
* Deprecate not passing a ``location`` argument to commit reporters'
 
6877
  ``started`` methods. (Matt Nordhoff)
 
6878
 
 
6879
 
 
6880
bzr 1.0rc1
 
6881
##########
 
6882
 
 
6883
:Released: 2007-11-30
 
6884
 
 
6885
Notes When Upgrading
 
6886
********************
 
6887
 
 
6888
* The default repository format is now ``pack-0.92``.  This
 
6889
  default is used when creating new repositories with ``init`` and
 
6890
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
 
6891
  (See https://bugs.launchpad.net/bugs/164626)
 
6892
 
 
6893
  This format can be read and written by Bazaar 0.92 and later, and
 
6894
  data can be transferred to and from older formats.
 
6895
 
 
6896
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
6897
  upgrade (``bzr upgrade``).
 
6898
 
 
6899
  ``pack-0.92`` offers substantially better scaling and performance than the
 
6900
  previous knits format. Some operations are slower where the code already
 
6901
  had bad scaling characteristics under knits, the pack format makes such
 
6902
  operations more visible as part of being more scalable overall. We will
 
6903
  correct such operations over the coming releases and encourage the filing
 
6904
  of bugs on any operation which you observe to be slower in a packs
 
6905
  repository. One particular case that we do not intend to fix is pulling
 
6906
  data from a pack repository into a knit repository over a high latency
 
6907
  link;  downgrading such data requires reinsertion of the file texts, and
 
6908
  this is a classic space/time tradeoff. The current implementation is
 
6909
  conservative on memory usage because we need to support converting data
 
6910
  from any tree without problems.
 
6911
  (Robert Collins, Martin Pool, #164476)
 
6912
 
 
6913
Changes
 
6914
*******
 
6915
 
 
6916
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
6917
  still available if user selects it explicitly with BZR_SSH environment
 
6918
  variable. (Alexander Belchenko, workaround for bug #107593)
 
6919
 
 
6920
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
 
6921
  to enable the subtree functions (for example, for bzr-svn).
 
6922
  (Martin Pool)
 
6923
 
 
6924
Features
 
6925
********
 
6926
 
 
6927
* New ``authentication.conf`` file holding the password or other credentials
 
6928
  for remote servers. This can be used for ssh, sftp, smtp and other
 
6929
  supported transports.
 
6930
  (Vincent Ladeuil)
 
6931
 
 
6932
* New rich-root and rich-root-pack formats, recording the same data about
 
6933
  tree roots that's recorded for all other directories.
 
6934
  (Aaron Bentley, #164639)
 
6935
 
 
6936
* ``pack-0.92`` repositories can now be reconciled.
 
6937
  (Robert Collins, #154173)
 
6938
 
 
6939
* ``switch`` command added for changing the branch a lightweight checkout
 
6940
  is associated with and updating the tree to reflect the latest content
 
6941
  accordingly. This command was previously part of the BzrTools plug-in.
 
6942
  (Ian Clatworthy, Aaron Bentley, David Allouche)
 
6943
 
 
6944
* ``reconfigure`` command can now convert branches, trees, or checkouts to
 
6945
  lightweight checkouts.  (Aaron Bentley)
 
6946
 
 
6947
Performance
 
6948
***********
 
6949
 
 
6950
* Commit updates the state of the working tree via a delta rather than
 
6951
  supplying entirely new basis trees. For commit of a single specified file
 
6952
  this reduces the wall clock time for commit by roughly a 30%.
 
6953
  (Robert Collins, Martin Pool)
 
6954
 
 
6955
* Commit with many automatically found deleted paths no longer performs
 
6956
  linear scanning for the children of those paths during inventory
 
6957
  iteration. This should fix commit performance blowing out when many such
 
6958
  paths occur during commit. (Robert Collins, #156491)
 
6959
 
 
6960
* Fetch with pack repositories will no longer read the entire history graph.
 
6961
  (Robert Collins, #88319)
 
6962
 
 
6963
* Revert takes out an appropriate lock when reverting to a basis tree, and
 
6964
  does not read the basis inventory twice. (Robert Collins)
 
6965
 
 
6966
* Diff does not require an inventory to be generated on dirstate trees.
 
6967
  (Aaron Bentley, #149254)
 
6968
 
 
6969
* New annotate merge (--merge-type=weave) implementation is fast on
 
6970
  versionedfiles withough cached annotations, e.g. pack-0.92.
 
6971
  (Aaron Bentley)
 
6972
 
 
6973
Improvements
 
6974
************
 
6975
 
 
6976
* ``bzr merge`` now warns when it encounters a criss-cross merge.
 
6977
  (Aaron Bentley)
 
6978
 
 
6979
* ``bzr send`` now doesn't require the target e-mail address to be
 
6980
  specified on the command line if an interactive e-mail client is used.
 
6981
  (Lukáš Lalinský)
 
6982
 
 
6983
* ``bzr tags`` now prints the revision number for each tag, instead of
 
6984
  the revision id, unless --show-ids is passed. In addition, tags can be
 
6985
  sorted chronologically instead of lexicographically with --sort=time.
 
6986
  (Adeodato Simó, #120231)
 
6987
 
 
6988
* Windows standalone version of bzr is able to load system-wide plugins from
 
6989
  "plugins" subdirectory in installation directory. In addition standalone
 
6990
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
 
6991
  about paths and bzr version. (Alexander Belchenko, #129298)
 
6992
 
 
6993
Documentation
 
6994
*************
 
6995
 
 
6996
Bug Fixes
 
6997
*********
 
6998
 
 
6999
* A progress bar has been added for knitpack -> knitpack fetching.
 
7000
  (Robert Collins, #157789, #159147)
 
7001
 
 
7002
* Branching from a branch via smart server now preserves the repository
 
7003
  format. (Andrew Bennetts,  #164626)
 
7004
 
 
7005
* ``commit`` is now able to invoke an external editor in a non-ascii
 
7006
  directory. (Daniel Watkins, #84043)
 
7007
 
 
7008
* Catch connection errors for ftp.
 
7009
  (Vincent Ladeuil, #164567)
 
7010
 
 
7011
* ``check`` no longer reports spurious unreferenced text versions.
 
7012
  (Robert Collins, John A Meinel, #162931, #165071)
 
7013
 
 
7014
* Conflicts are now resolved recursively by ``revert``.
 
7015
  (Aaron Bentley, #102739)
 
7016
 
 
7017
* Detect invalid transport reuse attempts by catching invalid URLs.
 
7018
  (Vincent Ladeuil, #161819)
 
7019
 
 
7020
* Deleting a file without removing it shows a correct diff, not a traceback.
 
7021
  (Aaron Bentley)
 
7022
 
 
7023
* Do no use timeout in HttpServer anymore.
 
7024
  (Vincent Ladeuil, #158972).
 
7025
 
 
7026
* Don't catch the exceptions related to the http pipeline status before
 
7027
  retrying an http request or some programming errors may be masked.
 
7028
  (Vincent Ladeuil, #160012)
 
7029
 
 
7030
* Fix ``bzr rm`` to not delete modified and ignored files.
 
7031
  (Lukáš Lalinský, #172598)
 
7032
 
 
7033
* Fix exception when revisionspec contains merge revisons but log
 
7034
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
7035
 
 
7036
* Fix exception when ScopeReplacer is assigned to before any members have
 
7037
  been retrieved.  (Aaron Bentley)
 
7038
 
 
7039
* Fix multiple connections during checkout --lightweight.
 
7040
  (Vincent Ladeuil, #159150)
 
7041
 
 
7042
* Fix possible error in insert_data_stream when copying between
 
7043
  pack repositories over bzr+ssh or bzr+http.
 
7044
  KnitVersionedFile.get_data_stream now makes sure that requested
 
7045
  compression parents are sent before any delta hunks that depend
 
7046
  on them.
 
7047
  (Martin Pool, #164637)
 
7048
 
 
7049
* Fix typo in limiting offsets coalescing for http, leading to
 
7050
  whole files being downloaded instead of parts.
 
7051
  (Vincent Ladeuil, #165061)
 
7052
 
 
7053
* FTP server errors don't error in the error handling code.
 
7054
  (Robert Collins, #161240)
 
7055
 
 
7056
* Give a clearer message when a pull fails because the source needs
 
7057
  to be reconciled.
 
7058
  (Martin Pool, #164443)
 
7059
 
 
7060
* It is clearer when a plugin cannot be loaded because of its name, and a
 
7061
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
7062
 
 
7063
* Leave port as None in transport objects if user doesn't
 
7064
  specify a port in urls.
 
7065
  (vincent Ladeuil, #150860)
 
7066
 
 
7067
* Make sure Repository.fetch(self) is properly a no-op for all
 
7068
  Repository implementations. (John Arbash Meinel, #158333)
 
7069
 
 
7070
* Mark .bzr directories as "hidden" on Windows.
 
7071
  (Alexander Belchenko, #71147)
 
7072
 
 
7073
* ``merge --uncommitted`` can now operate on a single file.
 
7074
  (Aaron Bentley, Lukáš Lalinský, #136890)
 
7075
 
 
7076
* Obsolete packs are now cleaned up by pack and autopack operations.
 
7077
  (Robert Collins, #153789)
 
7078
 
 
7079
* Operations pulling data from a smart server where the underlying
 
7080
  repositories are not both annotated/both unannotated will now work.
 
7081
  (Robert Collins, #165304).
 
7082
 
 
7083
* Reconcile now shows progress bars. (Robert Collins, #159351)
 
7084
 
 
7085
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
7086
  properly. (John Arbash Meinel, #162486)
 
7087
 
 
7088
* Removing an already-removed file reports the file does not exist. (Daniel
 
7089
  Watkins, #152811)
 
7090
 
 
7091
* Rename on Windows is able to change filename case.
 
7092
  (Alexander Belchenko, #77740)
 
7093
 
 
7094
* Return error instead of a traceback for ``bzr log -r0``.
 
7095
  (Kent Gibson, #133751)
 
7096
 
 
7097
* Return error instead of a traceback when bzr is unable to create
 
7098
  symlink on some platforms (e.g. on Windows).
 
7099
  (Alexander Belchenko, workaround for #81689)
 
7100
 
 
7101
* Revert doesn't crash when restoring a single file from a deleted
 
7102
  directory. (Aaron Bentley)
 
7103
 
 
7104
* Stderr output via logging mechanism now goes through encoded wrapper
 
7105
  and no more uses utf-8, but terminal encoding instead. So all unicode
 
7106
  strings now should be readable in non-utf-8 terminal.
 
7107
  (Alexander Belchenko, #54173)
 
7108
 
 
7109
* The error message when ``move --after`` should be used makes how to do so
 
7110
  clearer. (Daniel Watkins, #85237)
 
7111
 
 
7112
* Unicode-safe output from ``bzr info``. The output will be encoded
 
7113
  using the terminal encoding and unrepresentable characters will be
 
7114
  replaced by '?'. (Lukáš Lalinský, #151844)
 
7115
 
 
7116
* Working trees are no longer created when pushing into a local no-trees
 
7117
  repo. (Daniel Watkins, #50582)
 
7118
 
 
7119
* Upgrade util/configobj to version 4.4.0.
 
7120
  (Vincent Ladeuil, #151208).
 
7121
 
 
7122
* Wrap medusa ftp test server as an FTPServer feature.
 
7123
  (Vincent Ladeuil, #157752)
 
7124
 
 
7125
API Breaks
 
7126
**********
 
7127
 
 
7128
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
7129
  during very long time. (Alexander Belchenko)
 
7130
 
 
7131
* The return value of
 
7132
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
7133
  changed. Previously it was an iterator of lines, now it is an iterator of
 
7134
  (line, version_id) tuples. This change has been made to aid reconcile and
 
7135
  fetch operations. (Robert Collins)
 
7136
 
 
7137
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
7138
  (Robert Collins)
 
7139
 
 
7140
* The Repository format registry default has been removed; it was previously
 
7141
  obsoleted by the bzrdir format default, which implies a default repository
 
7142
  format.
 
7143
  (Martin Pool)
 
7144
 
 
7145
Internals
 
7146
*********
 
7147
 
 
7148
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
7149
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
7150
  and parsing containers from streams rather than from files.  (Andrew
 
7151
  Bennetts)
 
7152
 
 
7153
* New module ``lru_cache`` providing a cache for use by tasks that need
 
7154
  semi-random access to large amounts of data. (John A Meinel)
 
7155
 
 
7156
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
7157
 
 
7158
 
 
7159
bzr 0.92
 
7160
########
 
7161
 
 
7162
:Released: 2007-11-05
 
7163
 
 
7164
Changes
 
7165
*******
 
7166
 
 
7167
  * New uninstaller on Win32.  (Alexander Belchenko)
 
7168
 
 
7169
 
 
7170
bzr 0.92rc1
 
7171
###########
 
7172
 
 
7173
:Released: 2007-10-29
 
7174
 
 
7175
Changes
 
7176
*******
 
7177
 
 
7178
* ``bzr`` now returns exit code 4 if an internal error occurred, and
 
7179
  3 if a normal error occurred.  (Martin Pool)
 
7180
 
 
7181
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
7182
  repository index errors that occured as a result of the Weave disk format.
 
7183
  Instead the ``reconcile`` command needs to be run to correct those
 
7184
  problems if they exist (and it has been able to fix most such problems
 
7185
  since bzr 0.8). Some new problems have been identified during this release
 
7186
  and you should run ``bzr check`` once on every repository to see if you
 
7187
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
7188
  repository due to mismatched parent errors - a symptom of index errors -
 
7189
  you should simply take a full copy of that remote repository to a clean
 
7190
  directory outside any local repositories, then run reconcile on it, and
 
7191
  finally pull from it locally. (And naturally email the repositories owner
 
7192
  to ask them to upgrade and run reconcile).
 
7193
  (Robert Collins)
 
7194
 
 
7195
Features
 
7196
********
 
7197
 
 
7198
* New ``knitpack-experimental`` repository format. This is interoperable with
 
7199
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
7200
  speeds up many operations, both local and remote. This new format can be
 
7201
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
7202
  commands. (Robert Collins)
 
7203
 
 
7204
* For users of bzr-svn (and those testing the prototype subtree support) that
 
7205
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
7206
  been added. This is interoperable with the ``dirstate-subtrees`` format.
 
7207
  (Robert Collins)
 
7208
 
 
7209
* New ``reconfigure`` command. (Aaron Bentley)
 
7210
 
 
7211
* New ``revert --forget-merges`` command, which removes the record of a pending
 
7212
  merge without affecting the working tree contents.  (Martin Pool)
 
7213
 
 
7214
* New ``bzr_remote_path`` configuration variable allows finer control of
 
7215
  remote bzr locations than BZR_REMOTE_PATH environment variable.
 
7216
  (Aaron Bentley)
 
7217
 
 
7218
* New ``launchpad-login`` command to tell Bazaar your Launchpad
 
7219
  user ID.  This can then be used by other functions of the
 
7220
  Launchpad plugin. (James Henstridge)
 
7221
 
 
7222
Performance
 
7223
***********
 
7224
 
 
7225
* Commit in quiet mode is now slightly faster as the information to
 
7226
  output is no longer calculated. (Ian Clatworthy)
 
7227
 
 
7228
* Commit no longer checks for new text keys during insertion when the
 
7229
  revision id was deterministically unique. (Robert Collins)
 
7230
 
 
7231
* Committing a change which is not a merge and does not change the number of
 
7232
  files in the tree is faster by utilising the data about whether files are
 
7233
  changed to determine if the tree is unchanged rather than recalculating
 
7234
  it at the end of the commit process. (Robert Collins)
 
7235
 
 
7236
* Inventory serialisation no longer double-sha's the content.
 
7237
  (Robert Collins)
 
7238
 
 
7239
* Knit text reconstruction now avoids making copies of the lines list for
 
7240
  interim texts when building a single text. The new ``apply_delta`` method
 
7241
  on ``KnitContent`` aids this by allowing modification of the revision id
 
7242
  such objects represent. (Robert Collins)
 
7243
 
 
7244
* Pack indices are now partially parsed for specific key lookup using a
 
7245
  bisection approach. (Robert Collins)
 
7246
 
 
7247
* Partial commits are now approximately 40% faster by walking over the
 
7248
  unselected current tree more efficiently. (Robert Collins)
 
7249
 
 
7250
* XML inventory serialisation takes 20% less time while being stricter about
 
7251
  the contents. (Robert Collins)
 
7252
 
 
7253
* Graph ``heads()`` queries have been fixed to no longer access all history
 
7254
  unnecessarily. (Robert Collins)
 
7255
 
 
7256
Improvements
 
7257
************
 
7258
 
 
7259
* ``bzr+https://`` smart server across https now supported.
 
7260
  (John Ferlito, Martin Pool, #128456)
 
7261
 
 
7262
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
7263
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
7264
 
 
7265
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
 
7266
  changes from one revision. (Alexander Belchenko, #141368)
 
7267
 
 
7268
* Show encodings, locale and list of plugins in the traceback message.
 
7269
  (Martin Pool, #63894)
 
7270
 
 
7271
* Experimental directory formats can now be marked with
 
7272
  ``experimental = True`` during registration. (Ian Clatworthy)
 
7273
 
 
7274
Documentation
 
7275
*************
 
7276
 
 
7277
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
7278
 
 
7279
* The hooks reference documentation is now converted to html as expected.
 
7280
  (Ian Clatworthy)
 
7281
 
 
7282
Bug Fixes
 
7283
*********
 
7284
 
 
7285
* Connection error reporting for the smart server has been fixed to
 
7286
  display a user friendly message instead of a traceback.
 
7287
  (Ian Clatworthy, #115601)
 
7288
 
 
7289
* Make sure to use ``O_BINARY`` when opening files to check their
 
7290
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
7291
 
 
7292
* Fix a problem with Win32 handling of the executable bit.
 
7293
  (John Arbash Meinel, #149113)
 
7294
 
 
7295
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
7296
  no longer assume that means port 22.  This allows people using OpenSSH to
 
7297
  override the default port in their ``~/.ssh/config`` if they wish.  This
 
7298
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
7299
 
 
7300
* Commands reporting exceptions can now be profiled and still have their
 
7301
  data correctly dumped to a file. For example, a ``bzr commit`` with
 
7302
  no changes still reports the operation as pointless but doing so no
 
7303
  longer throws away the profiling data if this command is run with
 
7304
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
7305
 
 
7306
* Fallback to ftp when paramiko is not installed and sftp can't be used for
 
7307
  ``tests/commands`` so that the test suite is still usable without
 
7308
  paramiko.
 
7309
  (Vincent Ladeuil, #59150)
 
7310
 
 
7311
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
7312
 
 
7313
* Fix long standing bug in partial commit when there are renames
 
7314
  left in tree. (Robert Collins, #140419)
 
7315
 
 
7316
* Fix selftest semi-random noise during http related tests.
 
7317
  (Vincent Ladeuil, #140614)
 
7318
 
 
7319
* Fix typo in ftp.py making the reconnection fail on temporary errors.
 
7320
  (Vincent Ladeuil, #154259)
 
7321
 
 
7322
* Fix failing test by comparing real paths to cover the case where the TMPDIR
 
7323
  contains a symbolic link.
 
7324
  (Vincent Ladeuil, #141382).
 
7325
 
 
7326
* Fix log against smart server branches that don't support tags.
 
7327
  (James Westby, #140615)
 
7328
 
 
7329
* Fix pycurl http implementation by defining error codes from
 
7330
  pycurl instead of relying on an old curl definition.
 
7331
  (Vincent Ladeuil, #147530)
 
7332
 
 
7333
* Fix 'unprintable error' message when displaying BzrCheckError and
 
7334
  some other exceptions on Python 2.5.
 
7335
  (Martin Pool, #144633)
 
7336
 
 
7337
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
7338
 
 
7339
* Handles default value for ListOption in cmd_commit.
 
7340
  (Vincent Ladeuil, #140432)
 
7341
 
 
7342
* HttpServer and FtpServer need to be closed properly or a listening socket
 
7343
  will remain opened.
 
7344
  (Vincent Ladeuil, #140055)
 
7345
 
 
7346
* Monitor the .bzr directory created in the top level test
 
7347
  directory to detect leaking tests.
 
7348
  (Vincent Ladeuil, #147986)
 
7349
 
 
7350
* The basename, not the full path, is now used when checking whether
 
7351
  the profiling dump file begins with ``callgrind.out`` or not. This
 
7352
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
7353
 
 
7354
* Trivial fix for invoking command ``reconfigure`` without arguments.
 
7355
  (Rob Weir, #141629)
 
7356
 
 
7357
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
7358
  new path causes bzr to be unable to access the file. (Robert Collins)
 
7359
 
 
7360
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
7361
  Merwe)
 
7362
 
 
7363
API Breaks
 
7364
**********
 
7365
 
 
7366
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
7367
  constructor, for enabling bisection searches. (Robert Collins)
 
7368
 
 
7369
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
7370
  tree be supplied to it, previously failing to do so would trigger a
 
7371
  deprecation warning. (Robert Collins)
 
7372
 
 
7373
* ``KnitVersionedFile.add*`` will no longer cache added records even when
 
7374
  enable_cache() has been called - the caching feature is now exclusively for
 
7375
  reading existing data. (Robert Collins)
 
7376
 
 
7377
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
 
7378
  appropriate.  (Martin Pool)
 
7379
 
 
7380
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
7381
  ``trace+`` transport instead. (Robert Collins)
 
7382
 
 
7383
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
7384
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
7385
  (Martin Pool)
 
7386
 
 
7387
* Removed previous deprecated ``basis_knit`` parameter to the
 
7388
  ``KnitVersionedFile`` constructor. (Robert Collins)
 
7389
 
 
7390
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
 
7391
  class that needs it.
 
7392
  (Martin Pool)
 
7393
 
 
7394
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
7395
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
7396
 
 
7397
* The ``VersionedFile`` interface now allows content checks to be bypassed
 
7398
  by supplying check_content=False.  This saves nearly 30% of the minimum
 
7399
  cost to store a version of a file. (Robert Collins)
 
7400
 
 
7401
* Tree's with bad state such as files with no length or sha will no longer
 
7402
  be silently accepted by the repository XML serialiser. To serialise
 
7403
  inventories without such data, pass working=True to write_inventory.
 
7404
  (Robert Collins)
 
7405
 
 
7406
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
7407
  ``VersionedFile.join`` will no longer accept different parents on either
 
7408
  side of a join - it will either ignore them, or error, depending on the
 
7409
  implementation. See notes when upgrading for more information.
 
7410
  (Robert Collins)
 
7411
 
 
7412
Internals
 
7413
*********
 
7414
 
 
7415
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
7416
  put by the method call, to allow avoiding stat-after-write or
 
7417
  housekeeping in callers. (Robert Collins)
 
7418
 
 
7419
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
7420
  mandatory attributes are present on serialisation and deserialisation.
 
7421
  This fixes some holes in API usage and allows better separation between
 
7422
  physical storage and object serialisation. (Robert Collins)
 
7423
 
 
7424
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
7425
  shorthand for deriving from BzrError and setting internal_error = True.
 
7426
  (Robert Collins)
 
7427
 
 
7428
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
7429
  moving the state of a parent tree to a new version via a delta rather than
 
7430
  a complete replacement tree. (Robert Collins)
 
7431
 
 
7432
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
7433
  duplication from user input, when a user mentions both a path and an item
 
7434
  contained within that path. (Robert Collins)
 
7435
 
 
7436
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
7437
  determining if a repository is write locked. (Robert Collins)
 
7438
 
 
7439
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
7440
  tuple containing the key information about a path for commit processing
 
7441
  to complete. (Robert Collins)
 
7442
 
 
7443
* New method on xml serialisers, write_inventory_to_lines, which matches the
 
7444
  API used by knits for adding content. (Robert Collins)
 
7445
 
 
7446
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
7447
  logic, currently only available for byte-based lookup
 
7448
  (``bisect_multi_bytes``). (Robert Collins)
 
7449
 
 
7450
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
7451
  and returns a gzipped version of the same. This is used to avoid a bunch
 
7452
  of api friction during adding of knit hunks. (Robert Collins)
 
7453
 
 
7454
* New parameter on ``bzrlib.transport.Transport.readv``
 
7455
  ``adjust_for_latency`` which changes readv from returning strictly the
 
7456
  requested data to inserted return larger ranges and in forward read order
 
7457
  to reduce the effect of network latency. (Robert Collins)
 
7458
 
 
7459
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
7460
  causes the parents of a selected id to be returned recursively, so all the
 
7461
  paths from the root down to each element of selected_file_ids are
 
7462
  returned. (Robert Collins)
 
7463
 
 
7464
* Knit joining has been enhanced to support plain to annotated conversion
 
7465
  and annotated to plain conversion. (Ian Clatworthy)
 
7466
 
 
7467
* The CommitBuilder method ``record_entry_contents`` now returns summary
 
7468
  information about the effect of the commit on the repository. This tuple
 
7469
  contains an inventory delta item if the entry changed from the basis, and a
 
7470
  boolean indicating whether a new file graph node was recorded.
 
7471
  (Robert Collins)
 
7472
 
 
7473
* The python path used in the Makefile can now be overridden.
 
7474
  (Andrew Bennetts, Ian Clatworthy)
 
7475
 
 
7476
Testing
 
7477
*******
 
7478
 
 
7479
* New transport implementation ``trace+`` which is useful for testing,
 
7480
  logging activity taken to its _activity attribute. (Robert Collins)
 
7481
 
 
7482
* When running bzr commands within the test suite, internal exceptions are
 
7483
  not caught and reported in the usual way, but rather allowed to propagate
 
7484
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
7485
  makes this behavior available to other users.
 
7486
  (Martin Pool)
 
7487
 
 
7488
* New method ``TestCase.call_catch_warnings`` for testing methods that
 
7489
  raises a Python warning.  (Martin Pool)
 
7490
 
 
7491
 
 
7492
bzr 0.91
 
7493
########
 
7494
 
 
7495
:Released: 2007-09-26
 
7496
 
 
7497
Bug Fixes
 
7498
*********
 
7499
 
 
7500
* Print a warning instead of aborting the ``python setup.py install``
 
7501
  process if building of a C extension is not possible.
 
7502
  (Lukáš Lalinský, Alexander Belchenko)
 
7503
 
 
7504
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
7505
 
 
7506
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
7507
  an implicit port.  We were incorrectly raising PathNotChild due to
 
7508
  inconsistent treatment of the ''_port'' attribute on the Transport object.
 
7509
  (Andrew Bennetts, #133965)
 
7510
 
 
7511
* Make RemoteRepository.sprout cope gracefully with servers that don't
 
7512
  support the ``Repository.tarball`` request.
 
7513
  (Andrew Bennetts)
 
7514
 
 
7515
 
 
7516
bzr 0.91rc2
 
7517
###########
 
7518
 
 
7519
:Released: 2007-09-11
 
7520
 
 
7521
* Replaced incorrect tarball for previous release; a debug statement was left
 
7522
  in bzrlib/remote.py.
 
7523
 
 
7524
 
 
7525
bzr 0.91rc1
 
7526
###########
 
7527
 
 
7528
:Released: 2007-09-11
 
7529
 
 
7530
Changes
 
7531
*******
 
7532
 
 
7533
* The default branch and repository format has changed to
 
7534
  ``dirstate-tags``, so tag commands are active by default.
 
7535
  This format is compatible with Bazaar 0.15 and later.
 
7536
  This incidentally fixes bug #126141.
 
7537
  (Martin Pool)
 
7538
 
 
7539
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
7540
  must now appear after the command name. Scripts doing things like
 
7541
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
7542
  (Ian Clatworthy)
 
7543
 
 
7544
Features
 
7545
********
 
7546
 
 
7547
* New option ``--author`` in ``bzr commit`` to specify the author of the
 
7548
  change, if it's different from the committer. ``bzr log`` and
 
7549
  ``bzr annotate`` display the author instead of the committer.
 
7550
  (Lukáš Lalinský)
 
7551
 
 
7552
* In addition to global options and command specific options, a set of
 
7553
  standard options are now supported. Standard options are legal for
 
7554
  all commands. The initial set of standard options are:
 
7555
 
 
7556
  * ``--help`` or ``-h`` - display help message
 
7557
  * ``--verbose`` or ``-v`` - display additional information
 
7558
  * ``--quiet``  or ``-q`` - only output warnings and errors.
 
7559
 
 
7560
  Unlike global options, standard options can be used in aliases and
 
7561
  may have command-specific help. (Ian Clatworthy)
 
7562
 
 
7563
* Verbosity level processing has now been unified. If ``--verbose``
 
7564
  or ``-v`` is specified on the command line multiple times, the
 
7565
  verbosity level is made positive the first time then increased.
 
7566
  If ``--quiet`` or ``-q`` is specified on the command line
 
7567
  multiple times, the verbosity level is made negative the first
 
7568
  time then decreased. To get the default verbosity level of zero,
 
7569
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
7570
  Note that most commands currently ignore the magnitude of the
 
7571
  verbosity level but do respect *quiet vs normal vs verbose* when
 
7572
  generating output. (Ian Clatworthy)
 
7573
 
 
7574
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
7575
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
7576
 
 
7577
* New ``Repository.stream_knit_data_for_revisions`` request added to the
 
7578
  network protocol for greatly reduced roundtrips when retrieving a set of
 
7579
  revisions. (Andrew Bennetts)
 
7580
 
 
7581
Bug Fixes
 
7582
*********
 
7583
 
 
7584
* ``bzr plugins`` now lists the version number for each plugin in square
 
7585
  brackets after the path. (Robert Collins, #125421)
 
7586
 
 
7587
* Pushing, pulling and branching branches with subtree references was not
 
7588
  copying the subtree weave, preventing the file graph from being accessed
 
7589
  and causing errors in commits in clones. (Robert Collins)
 
7590
 
 
7591
* Suppress warning "integer argument expected, got float" from Paramiko,
 
7592
  which sometimes caused false test failures.  (Martin Pool)
 
7593
 
 
7594
* Fix bug in bundle 4 that could cause attempts to write data to wrong
 
7595
  versionedfile.  (Aaron Bentley)
 
7596
 
 
7597
* Diffs generated using "diff -p" no longer break the patch parser.
 
7598
  (Aaron Bentley)
 
7599
 
 
7600
* get_transport treats an empty possible_transports list the same as a non-
 
7601
  empty one.  (Aaron Bentley)
 
7602
 
 
7603
* patch verification for merge directives is reactivated, and works with
 
7604
  CRLF and CR files.  (Aaron Bentley)
 
7605
 
 
7606
* Accept ..\ as a path in revision specifiers. This fixes for example
 
7607
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
 
7608
 
 
7609
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
7610
  (Blake Winton, #129299)
 
7611
 
 
7612
* man page no longer lists hidden options (#131667, Aaron Bentley)
 
7613
 
 
7614
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
7615
  Watkins, #106726)
 
7616
 
 
7617
* Error messages are now better formatted with parameters (such as
 
7618
  filenames) quoted when necessary. This avoids confusion when directory
 
7619
  names ending in a '.' at the end of messages were confused with a
 
7620
  full stop that may or not have been there. (Daniel Watkins, #129791)
 
7621
 
 
7622
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
7623
 
 
7624
* If a particular command is an alias, ``help`` will show the alias
 
7625
  instead of claiming there is no help for said alias. (Daniel Watkins,
 
7626
  #133548)
 
7627
 
 
7628
* TreeTransform-based operations, like pull, merge, revert, and branch,
 
7629
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
7630
 
 
7631
* ``bzr commit`` now exits cleanly if a character unsupported by the
 
7632
  current encoding is used in the commit message.  (Daniel Watkins,
 
7633
  #116143)
 
7634
 
 
7635
* bzr send uses default values for ranges when only half of an elipsis
 
7636
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
7637
 
 
7638
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
7639
  binary is present.  (Martin Albisetti, #107155)
 
7640
 
 
7641
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
7642
  needing ``--force``) subtrees that contain no files with text changes or
 
7643
  modified files.  With ``--force`` it removes the subtree regardless of
 
7644
  text changes or unknown files. Directories with renames in or out (but
 
7645
  not changed otherwise) will now be removed without needing ``--force``.
 
7646
  Unknown ignored files will be deleted without needing ``--force``.
 
7647
  (Marius Kruger, #111665)
 
7648
 
 
7649
* When two plugins conflict, the source of both the losing and now the
 
7650
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
7651
 
 
7652
* When committing to a branch, the location being committed to is
 
7653
  displayed.  (Daniel Watkins, #52479)
 
7654
 
 
7655
* ``bzr --version`` takes care about encoding of stdout, especially
 
7656
  when output is redirected. (Alexander Belchenko, #131100)
 
7657
 
 
7658
* Prompt for an ftp password if none is provided.
 
7659
  (Vincent Ladeuil, #137044)
 
7660
 
 
7661
* Reuse bound branch associated transport to avoid multiple
 
7662
  connections.
 
7663
  (Vincent Ladeuil, #128076, #131396)
 
7664
 
 
7665
* Overwrite conflicting tags by ``push`` and ``pull`` if the
 
7666
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
7667
 
 
7668
* In checkouts, tags are copied into the master branch when created,
 
7669
  changed or deleted, and are copied into the checkout when it is
 
7670
  updated.  (Martin Pool, #93856, #93860)
 
7671
 
 
7672
* Print a warning instead of aborting the ``python setup.py install``
 
7673
  process if building of a C extension is not possible.
 
7674
  (Lukáš Lalinský, Alexander Belchenko)
 
7675
 
 
7676
Improvements
 
7677
************
 
7678
 
 
7679
* Add the option "--show-diff" to the commit command in order to display
 
7680
  the diff during the commit log creation. (Goffredo Baroncelli)
 
7681
 
 
7682
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
7683
  (Aaron Bentley)
 
7684
 
 
7685
* ``pull -v`` no longer includes deltas, making it much faster.
 
7686
  (Aaron Bentley)
 
7687
 
 
7688
* ``send`` now sends the directive as an attachment by default.
 
7689
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
7690
 
 
7691
* Documentation updates (Martin Albisetti)
 
7692
 
 
7693
* Help on debug flags is now included in ``help global-options``.
 
7694
  (Daniel Watkins, #124853)
 
7695
 
 
7696
* Parameters passed on the command line are checked to ensure they are
 
7697
  supported by the encoding in use. (Daniel Watkins)
 
7698
 
 
7699
* The compression used within the bzr repository has changed from zlib
 
7700
  level 9 to the zlib default level. This improves commit performance with
 
7701
  only a small increase in space used (and in some cases a reduction in
 
7702
  space). (Robert Collins)
 
7703
 
 
7704
* Initial commit no longer SHAs files twice and now reuses the path
 
7705
  rather than looking it up again, making it faster.
 
7706
  (Ian Clatworthy)
 
7707
 
 
7708
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
7709
  changes in one revision.  (Lukáš Lalinský)
 
7710
 
 
7711
* If versioned files match a given ignore pattern, a warning is now
 
7712
  given. (Daniel Watkins, #48623)
 
7713
 
 
7714
* ``bzr status`` now has -S as a short name for --short and -V as a
 
7715
  short name for --versioned. These have been added to assist users
 
7716
  migrating from Subversion: ``bzr status -SV`` is now like
 
7717
  ``svn status -q``.  (Daniel Watkins, #115990)
 
7718
 
 
7719
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
7720
  10x faster than the Python version. This speeds up commands that
 
7721
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
7722
  (Lukáš Lalinský)
 
7723
 
 
7724
* HACKING has been extended with a large section on core developer tasks.
 
7725
  (Ian Clatworthy)
 
7726
 
 
7727
* Add ``branches`` and ``standalone-trees`` as online help topics and
 
7728
  include them as Concepts within the User Reference.
 
7729
  (Paul Moore, Ian Clatworthy)
 
7730
 
 
7731
* ``check`` can detect versionedfile parent references that are
 
7732
  inconsistent with revision and inventory info, and ``reconcile`` can fix
 
7733
  them.  These faulty references were generated by 0.8-era releases,
 
7734
  so repositories which were manipulated by old bzrs should be
 
7735
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
7736
 
 
7737
API Breaks
 
7738
**********
 
7739
 
 
7740
* ``Branch.append_revision`` is removed altogether; please use
 
7741
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
7742
 
 
7743
* CommitBuilder now advertises itself as requiring the root entry to be
 
7744
  supplied. This only affects foreign repository implementations which reuse
 
7745
  CommitBuilder directly and have changed record_entry_contents to require
 
7746
  that the root not be supplied. This should be precisely zero plugins
 
7747
  affected. (Robert Collins)
 
7748
 
 
7749
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
7750
  its return value to include the sha1 and length of the inserted text. This
 
7751
  allows the avoidance of double-sha1 calculations during commit.
 
7752
  (Robert Collins)
 
7753
 
 
7754
* ``Transport.should_cache`` has been removed.  It was not called in the
 
7755
  previous release.  (Martin Pool)
 
7756
 
 
7757
Testing
 
7758
*******
 
7759
 
 
7760
* Tests may now raise TestNotApplicable to indicate they shouldn't be
 
7761
  run in a particular scenario.  (Martin Pool)
 
7762
 
 
7763
* New function multiply_tests_from_modules to give a simpler interface
 
7764
  to test parameterization.  (Martin Pool, Robert Collins)
 
7765
 
 
7766
* ``Transport.should_cache`` has been removed.  It was not called in the
 
7767
  previous release.  (Martin Pool)
 
7768
 
 
7769
* NULL_REVISION is returned to indicate the null revision, not None.
 
7770
  (Aaron Bentley)
 
7771
 
 
7772
* Use UTF-8 encoded StringIO for log tests to avoid failures on
 
7773
  non-ASCII committer names.  (Lukáš Lalinský)
 
7774
 
 
7775
Internals
 
7776
*********
 
7777
 
 
7778
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
7779
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
7780
  useful functionality for determining the path of a plugin, its tests, and
 
7781
  its version information. (Robert Collins)
 
7782
 
 
7783
* Add the option user_encoding to the function 'show_diff_trees()'
 
7784
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
7785
 
 
7786
* Add the function make_commit_message_template_encoded() and the function
 
7787
  edit_commit_message_encoded() which handle encoded strings.
 
7788
  This is done in order to mix the commit messages (which is a unicode
 
7789
  string), and the diff which is a raw string. (Goffredo Baroncelli)
 
7790
 
 
7791
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
7792
  overhead on non-weave repositories which don't require all parents to be
 
7793
  present. (Robert Collins)
 
7794
 
 
7795
* Deprecated method ``find_previous_heads`` on
 
7796
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
7797
  of ``parent_candidates`` and a separate heads check via the repository
 
7798
  API. (Robert Collins)
 
7799
 
 
7800
* New trace function ``mutter_callsite`` will print out a subset of the
 
7801
  stack to the log, which can be useful for gathering debug details.
 
7802
  (Robert Collins)
 
7803
 
 
7804
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
7805
  added via a public attribute records_written. (Robert Collins)
 
7806
 
 
7807
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
7808
  This provides a hint to users of transports as to the reasonable
 
7809
  minimum data to read. In principle this can take latency and
 
7810
  bandwidth into account on a per-connection basis, but for now it
 
7811
  just has hard coded values based on the url. (e.g. http:// has a large
 
7812
  page size, file:// has a small one.) (Robert Collins)
 
7813
 
 
7814
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
7815
  incremental addition of data to a file without requiring that all the
 
7816
  data be buffered in memory. (Robert Collins)
 
7817
 
 
7818
* New methods on ``bzrlib.knit.KnitVersionedFile``:
 
7819
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
7820
  ``get_format_signature()``.  These provide some infrastructure for
 
7821
  efficiently streaming the knit data for a set of versions over the smart
 
7822
  protocol.
 
7823
 
 
7824
* Knits with no annotation cache still produce correct annotations.
 
7825
  (Aaron Bentley)
 
7826
 
 
7827
* Three new methods have been added to ``bzrlib.trace``:
 
7828
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
7829
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
7830
  zero for normal, positive for verbose. The size of the number can be
 
7831
  used to determine just how quiet or verbose the application should be.
 
7832
  The existing ``be_quiet`` and ``is_quiet`` routines have been
 
7833
  integrated into this new scheme. (Ian Clatworthy)
 
7834
 
 
7835
* Options can now be delcared with a ``custom_callback`` parameter. If
 
7836
  set, this routine is called after the option is processed. This feature
 
7837
  is now used by the standard options ``verbose`` and ``quiet`` so that
 
7838
  setting one implicitly resets the other. (Ian Clatworthy)
 
7839
 
 
7840
* Rather than declaring a new option from scratch in order to provide
 
7841
  custom help, a centrally registered option can be decorated using the
 
7842
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
7843
  is useful when declaring better help for the ``verbose`` and ``quiet``
 
7844
  standard options as the base definition of these is now more complex
 
7845
  than before thanks to their use of a custom callback. (Ian Clatworthy)
 
7846
 
 
7847
* Tree._iter_changes(specific_file=[]) now iterates through no files,
 
7848
  instead of iterating through all files.  None is used to iterate through
 
7849
  all files.  (Aaron Bentley)
 
7850
 
 
7851
* WorkingTree.revert() now accepts None to revert all files.  The use of
 
7852
  [] to revert all files is deprecated.  (Aaron Bentley)
 
7853
 
 
7854
 
 
7855
bzr 0.90
 
7856
########
 
7857
 
 
7858
:Released: 2007-08-28
 
7859
 
 
7860
Improvements
 
7861
************
 
7862
 
 
7863
* Documentation is now organized into multiple directories with a level
 
7864
  added for different languages or locales. Added the Mini Tutorial
 
7865
  and Quick Start Summary (en) documents from the Wiki, improving the
 
7866
  content and readability of the former. Formatted NEWS as Release Notes
 
7867
  complete with a Table of Conents, one heading per release. Moved the
 
7868
  Developer Guide into the main document catalog and provided a link
 
7869
  from the developer document catalog back to the main one.
 
7870
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
7871
 
 
7872
 
 
7873
API Changes
 
7874
***********
 
7875
 
 
7876
* The static convenience method ``BzrDir.create_repository``
 
7877
  is deprecated.  Callers should instead create a ``BzrDir`` instance
 
7878
  and call ``create_repository`` on that.  (Martin Pool)
 
7879
 
 
7880
 
 
7881
bzr 0.90rc1
 
7882
###########
 
7883
 
 
7884
:Released: 2007-08-14
 
7885
 
 
7886
Bugfixes
 
7887
********
 
7888
 
 
7889
* ``bzr init`` should connect to the remote location one time only.  We
 
7890
  have been connecting several times because we forget to pass around the
 
7891
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
7892
  so that we can give it the Transport we already have.
 
7893
  (John Arbash Meinel, Vincent Ladeuil, #111702)
 
7894
 
 
7895
* Get rid of sftp connection cache (get rid of the FTP one too).
 
7896
  (Vincent Ladeuil, #43731)
 
7897
 
 
7898
* bzr branch {local|remote} remote don't try to create a working tree
 
7899
  anymore.
 
7900
  (Vincent Ladeuil, #112173)
 
7901
 
 
7902
* All identified multiple connections for a single bzr command have been
 
7903
  fixed. See bzrlib/tests/commands directory.
 
7904
  (Vincent Ladeuil)
 
7905
 
 
7906
* ``bzr rm`` now does not insist on ``--force`` to delete files that
 
7907
  have been renamed but not otherwise modified.  (Marius Kruger,
 
7908
  #111664)
 
7909
 
 
7910
* ``bzr selftest --bench`` no longer emits deprecation warnings
 
7911
  (Lukáš Lalinský)
 
7912
 
 
7913
* ``bzr status`` now honours FILE parameters for conflict lists
 
7914
  (Aaron Bentley, #127606)
 
7915
 
 
7916
* ``bzr checkout`` now honours -r when reconstituting a working tree.
 
7917
  It also honours -r 0.  (Aaron Bentley, #127708)
 
7918
 
 
7919
* ``bzr add *`` no more fails on Windows if working tree contains
 
7920
  non-ascii file names. (Kuno Meyer, #127361)
 
7921
 
 
7922
* allow ``easy_install bzr`` runs without fatal errors.
 
7923
  (Alexander Belchenko, #125521)
 
7924
 
 
7925
* Graph._filter_candidate_lca does not raise KeyError if a candidate
 
7926
  is eliminated just before it would normally be examined.  (Aaron Bentley)
 
7927
 
 
7928
* SMTP connection failures produce a nice message, not a traceback.
 
7929
  (Aaron Bentley)
 
7930
 
 
7931
Improvements
 
7932
************
 
7933
 
 
7934
* Don't show "dots" progress indicators when run non-interactively, such
 
7935
  as from cron.  (Martin Pool)
 
7936
 
 
7937
* ``info`` now formats locations more nicely and lists "submit" and
 
7938
  "public" branches (Aaron Bentley)
 
7939
 
 
7940
* New ``pack`` command that will trigger database compression within
 
7941
  the repository (Robert Collins)
 
7942
 
 
7943
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
7944
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
7945
  Which yields a measurable improvement for commands which have to
 
7946
  read from the repository, such as a 1s => 0.75s improvement in
 
7947
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
7948
 
 
7949
* Merge is now faster.  Depending on the scenario, it can be more than 2x
 
7950
  faster. (Aaron Bentley)
 
7951
 
 
7952
* Give a clearer warning, and allow ``python setup.py install`` to
 
7953
  succeed even if pyrex is not available.
 
7954
  (John Arbash Meinel)
 
7955
 
 
7956
* ``DirState._read_dirblocks`` now has an optional Pyrex
 
7957
  implementation. This improves the speed of any command that has to
 
7958
  read the entire DirState. (``diff``, ``status``, etc, improve by
 
7959
  about 10%).
 
7960
  ``bisect_dirblocks`` has also been improved, which helps all
 
7961
  ``_get_entry`` type calls (whenever we are searching for a
 
7962
  particular entry in the in-memory DirState).
 
7963
  (John Arbash Meinel)
 
7964
 
 
7965
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
 
7966
  branch revision history for ui display unless -v is supplied.
 
7967
  (Robert Collins)
 
7968
 
 
7969
* ``bzr log -rA..B`` output shifted to the left margin if the log only
 
7970
  contains merge revisions. (Kent Gibson)
 
7971
 
 
7972
* The ``plugins`` command is now public with improved help.
 
7973
  (Ian Clatworthy)
 
7974
 
 
7975
* New bundle and merge directive formats are faster to generate, and
 
7976
 
 
7977
* Annotate merge now works when there are local changes. (Aaron Bentley)
 
7978
 
 
7979
* Commit now only shows the progress in terms of directories instead of
 
7980
  entries. (Ian Clatworthy)
 
7981
 
 
7982
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
7983
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
7984
  Meinel)
 
7985
 
 
7986
* Fix ``VersionedFile.get_graph()`` to avoid using
 
7987
  ``set.difference_update(other)``, which has bad scaling when
 
7988
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
7989
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
7990
 
 
7991
* The ``--lsprof-file`` option now generates output for KCacheGrind if
 
7992
  the file starts with ``callgrind.out``. This matches the default file
 
7993
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
7994
 
 
7995
* Fix ``bzr update`` to avoid an unnecessary
 
7996
  ``branch.get_master_branch`` call, which avoids 1 extra connection
 
7997
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
7998
 
 
7999
* Log errors from the smart server in the trace file, to make debugging
 
8000
  test failures (and live failures!) easier.  (Andrew Bennetts)
 
8001
 
 
8002
* The HTML version of the man page has been superceded by a more
 
8003
  comprehensive manual called the Bazaar User Reference. This manual
 
8004
  is completed generated from the online help topics. As part of this
 
8005
  change, limited reStructuredText is now explicitly supported in help
 
8006
  topics and command help with 'unnatural' markup being removed prior
 
8007
  to display by the online help or inclusion in the man page.
 
8008
  (Ian Clatworthy)
 
8009
 
 
8010
* HTML documentation now use files extension ``*.html``
 
8011
  (Alexander Belchenko)
 
8012
 
 
8013
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
8014
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
8015
 
 
8016
* ``bzr selftest --strict`` fails if there are any missing features or
 
8017
  expected test failures. (Daniel Watkins, #111914)
 
8018
 
 
8019
* Link to registration survey added to README. (Ian Clatworthy)
 
8020
 
 
8021
* Windows standalone installer show link to registration survey
 
8022
  when installation finished. (Alexander Belchenko)
 
8023
 
 
8024
Library API Breaks
 
8025
******************
 
8026
 
 
8027
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
8028
  Options are now required to provide a help string and it must
 
8029
  comply with the style guide by being one or more sentences with an
 
8030
  initial capital and final period. (Martin Pool)
 
8031
 
 
8032
* KnitIndex.get_parents now returns tuples. (Robert Collins)
 
8033
 
 
8034
* Ancient unused ``Repository.text_store`` attribute has been removed.
 
8035
  (Robert Collins)
 
8036
 
 
8037
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
8038
  rather than just bytestrings, making it easier to represent multiple
 
8039
  element names. As this interface was not used by any internal facilities
 
8040
  since it was introduced in 0.18 no API compatibility is being preserved.
 
8041
  The serialised form of these packs is identical with 0.18 when a single
 
8042
  element tuple is in use. (Robert Collins)
 
8043
 
 
8044
Internals
 
8045
*********
 
8046
 
 
8047
* merge now uses ``iter_changes`` to calculate changes, which makes room for
 
8048
  future performance increases.  It is also more consistent with other
 
8049
  operations that perform comparisons, and reduces reliance on
 
8050
  Tree.inventory.  (Aaron Bentley)
 
8051
 
 
8052
* Refactoring of transport classes connected to a remote server.
 
8053
  ConnectedTransport is a new class that serves as a basis for all
 
8054
  transports needing to connect to a remote server.  transport.split_url
 
8055
  have been deprecated, use the static method on the object instead. URL
 
8056
  tests have been refactored too.
 
8057
  (Vincent Ladeuil)
 
8058
 
 
8059
* Better connection sharing for ConnectedTransport objects.
 
8060
  transport.get_transport() now accepts a 'possible_transports' parameter.
 
8061
  If a newly requested transport can share a connection with one of the
 
8062
  list, it will.
 
8063
  (Vincent Ladeuil)
 
8064
 
 
8065
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
8066
  the null revision, and consider using ``None`` for this purpose
 
8067
  deprecated.  (Aaron Bentley)
 
8068
 
 
8069
* New ``index`` module with abstract index functionality. This will be
 
8070
  used during the planned changes in the repository layer. Currently the
 
8071
  index layer provides a graph aware immutable index, a builder for the
 
8072
  same index type to allow creating them, and finally a composer for
 
8073
  such indices to allow the use of many indices in a single query. The
 
8074
  index performance is not optimised, however the API is stable to allow
 
8075
  development on top of the index. (Robert Collins)
 
8076
 
 
8077
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
8078
  their directory sections. This is equivalent to comparing
 
8079
  ``path.split('/')``, only without having to split the paths.
 
8080
  This has a Pyrex implementation available.
 
8081
  (John Arbash Meinel)
 
8082
 
 
8083
* New transport decorator 'unlistable+' which disables the list_dir
 
8084
  functionality for testing.
 
8085
 
 
8086
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
8087
 
 
8088
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
8089
  for performing annotate-merge.  (Aaron Bentley)
 
8090
 
 
8091
* New EmailMessage class to create email messages. (Adeodato Simó)
 
8092
 
 
8093
* Unused functions on the private interface KnitIndex have been removed.
 
8094
  (Robert Collins)
 
8095
 
 
8096
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
8097
  of a ``index.GraphIndex``. (Robert Collins)
 
8098
 
 
8099
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
8100
  the parents of many knit nodes at once, reducing round trips to the
 
8101
  underlying index. (Robert Collins)
 
8102
 
 
8103
* Graph now has an is_ancestor method, various bits use it.
 
8104
  (Aaron Bentley)
 
8105
 
 
8106
* The ``-Dhpss`` flag now includes timing information. As well as
 
8107
  logging when a new connection is opened. (John Arbash Meinel)
 
8108
 
 
8109
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
8110
  callers when inserting data, allowing generation of readv style access
 
8111
  during pack creation, without needing a separate pass across the output
 
8112
  pack to gather such details. (Robert Collins)
 
8113
 
 
8114
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
8115
  files that are stored on a transport. (Robert Collins)
 
8116
 
 
8117
* New ``Repository.has_same_location`` method that reports if two
 
8118
  repository objects refer to the same repository (although with some risk
 
8119
  of false negatives).  (Andrew Bennetts)
 
8120
 
 
8121
* InterTree.compare now passes require_versioned on correctly.
 
8122
  (Marius Kruger)
 
8123
 
 
8124
* New methods on Repository - ``start_write_group``,
 
8125
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
8126
  which provide a clean hook point for transactional Repositories - ones
 
8127
  where all the data for a fetch or commit needs to be made atomically
 
8128
  available in one step. This allows the write lock to remain while making
 
8129
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
8130
 
 
8131
* In ``bzrlib.knit`` the internal interface has been altered to use
 
8132
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
8133
  describe where data in a knit is, allowing knits to be split into
 
8134
  many files. (Robert Collins)
 
8135
 
 
8136
* ``bzrlib.knit._KnitData`` split into cache management and physical access
 
8137
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
8138
  The former provides access into a .pack file, and the latter provides the
 
8139
  current production repository form of .knit files. (Robert Collins)
 
8140
 
 
8141
Testing
 
8142
*******
 
8143
 
 
8144
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
8145
  ``--keep-output`` options, which are obsolete now that tests
 
8146
  are done within directories in $TMPDIR.  (Martin Pool)
 
8147
 
 
8148
* The SSH_AUTH_SOCK environment variable is now reset to avoid
 
8149
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
8150
 
 
8151
* run_bzr_subprocess handles parameters the same way as run_bzr:
 
8152
  either a string or a list of strings should be passed as the first
 
8153
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
8154
 
 
8155
 
 
8156
bzr 0.18
 
8157
########
 
8158
 
 
8159
:Released:  2007-07-17
 
8160
 
 
8161
Bugfixes
 
8162
********
 
8163
 
 
8164
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
8165
 
 
8166
 
 
8167
bzr 0.18rc1
 
8168
###########
 
8169
 
 
8170
:Released:  2007-07-10
 
8171
 
 
8172
Bugfixes
 
8173
********
 
8174
 
 
8175
* Do not suppress pipe errors, etc. in non-display commands
 
8176
  (Alexander Belchenko, #87178)
 
8177
 
 
8178
* Display a useful error message when the user requests to annotate
 
8179
  a file that is not present in the specified revision.
 
8180
  (James Westby, #122656)
 
8181
 
 
8182
* Commands that use status flags now have a reference to 'help
 
8183
  status-flags'.  (Daniel Watkins, #113436)
 
8184
 
 
8185
* Work around python-2.4.1 inhability to correctly parse the
 
8186
  authentication header.
 
8187
  (Vincent Ladeuil, #121889)
 
8188
 
 
8189
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
8190
 
 
8191
* Fix tempfile permissions error in smart server tar bundling under
 
8192
  Windows. (Martin _, #119330)
 
8193
 
 
8194
* Fix detection of directory entries in the inventory. (James Westby)
 
8195
 
 
8196
* Fix handling of http code 400: Bad Request When issuing too many ranges.
 
8197
  (Vincent Ladeuil, #115209)
 
8198
 
 
8199
* Issue a CONNECT request when connecting to an https server
 
8200
  via a proxy to enable SSL tunneling.
 
8201
  (Vincent Ladeuil, #120678)
 
8202
 
 
8203
* Fix ``bzr log -r`` to support selecting merge revisions, both
 
8204
  individually and as part of revision ranges.
 
8205
  (Kent Gibson, #4663)
 
8206
 
 
8207
* Don't leave cruft behind when failing to acquire a lockdir.
 
8208
  (Martin Pool, #109169)
 
8209
 
 
8210
* Don't use the '-f' strace option during tests.
 
8211
  (Vincent Ladeuil, #102019).
 
8212
 
 
8213
* Warn when setting ``push_location`` to a value that will be masked by
 
8214
  locations.conf.  (Aaron Bentley, #122286)
 
8215
 
 
8216
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
8217
 
 
8218
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
8219
 
 
8220
Improvements
 
8221
************
 
8222
 
 
8223
* The --lsprof-file option now dumps a text rendering of the profiling
 
8224
  information if the filename ends in ".txt". It will also convert the
 
8225
  profiling information to a format suitable for KCacheGrind if the
 
8226
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
8227
  conversion process by Jean Paul Calderone and Itamar were also merged.
 
8228
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
8229
 
 
8230
* ``info`` now defaults to non-verbose mode, displaying only paths and
 
8231
  abbreviated format info.  ``info -v`` displays all the information
 
8232
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
8233
 
 
8234
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
8235
  (Elliot Murphy)
 
8236
 
 
8237
* The internal ``weave-list`` command has become ``versionedfile-list``,
 
8238
  and now lists knits as well as weaves.  (Aaron Bentley)
 
8239
 
 
8240
* Automatic merge base selection uses a faster algorithm that chooses
 
8241
  better bases in criss-cross merge situations (Aaron Bentley)
 
8242
 
 
8243
* Progress reporting in ``commit`` has been improved. The various logical
 
8244
  stages are now reported on as follows, namely:
 
8245
 
 
8246
  * Collecting changes [Entry x/y] - Stage n/m
 
8247
  * Saving data locally - Stage n/m
 
8248
  * Uploading data to master branch - Stage n/m
 
8249
  * Updating the working tree - Stage n/m
 
8250
  * Running post commit hooks - Stage n/m
 
8251
 
 
8252
  If there is no master branch, the 3rd stage is omitted and the total
 
8253
  number of stages is adjusted accordingly.
 
8254
 
 
8255
  Each hook that is run after commit is listed with a name (as hooks
 
8256
  can be slow it is useful feedback).
 
8257
  (Ian Clatworthy, Robert Collins)
 
8258
 
 
8259
* Various operations that are now faster due to avoiding unnecessary
 
8260
  topological sorts. (Aaron Bentley)
 
8261
 
 
8262
* Make merge directives robust against broken bundles. (Aaron Bentley)
 
8263
 
 
8264
* The lsprof filename note is emitted via trace.note(), not standard
 
8265
  output.  (Aaron Bentley)
 
8266
 
 
8267
* ``bzrlib`` now exports explicit API compatibility information to assist
 
8268
  library users and plugins. See the ``bzrlib.api`` module for details.
 
8269
  (Robert Collins)
 
8270
 
 
8271
* Remove unnecessary lock probes when acquiring a lockdir.
 
8272
  (Martin Pool)
 
8273
 
 
8274
* ``bzr --version`` now shows the location of the bzr log file, which
 
8275
  is especially useful on Windows.  (Martin Pool)
 
8276
 
 
8277
* -D now supports hooks to get debug tracing of hooks (though its currently
 
8278
  minimal in nature). (Robert Collins)
 
8279
 
 
8280
* Long log format reports deltas on merge revisions.
 
8281
  (John Arbash Meinel, Kent Gibson)
 
8282
 
 
8283
* Make initial push over ftp more resilient. (John Arbash Meinel)
 
8284
 
 
8285
* Print a summary of changes for update just like pull does.
 
8286
  (Daniel Watkins, #113990)
 
8287
 
 
8288
* Add a -Dhpss option to trace smart protocol requests and responses.
 
8289
  (Andrew Bennetts)
 
8290
 
 
8291
Library API Breaks
 
8292
******************
 
8293
 
 
8294
* Testing cleanups -
 
8295
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
8296
  to ``bzrlib.tests.repository_implementations``;
 
8297
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
8298
  to ``bzrlib.tests.interrepository_implementations``;
 
8299
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
 
8300
  ``bzrlib.tests.test_transport_implementations``.
 
8301
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
8302
  ``bzrlib.tests.branch_implementations``.
 
8303
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
 
8304
  ``bzrlib.tests.bzrdir_implementations``.
 
8305
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
8306
  to ``bzrlib.tests.interversionedfile_implementations``.
 
8307
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
8308
  ``bzrlib.tests.revisionstore_implementations``.
 
8309
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
8310
  ``bzrlib.tests.workingtree_implementations``.
 
8311
  These changes are an API break in the testing infrastructure only.
 
8312
  (Robert Collins)
 
8313
 
 
8314
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
8315
 
 
8316
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
8317
  win32. Callers of the function should do this and use the new
 
8318
  ``MutableTree.smart_add`` method instead. (Robert Collins)
 
8319
 
 
8320
* ``bzrlib.add.glob_expand_for_win32`` is now
 
8321
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
8322
 
 
8323
* ``bzrlib.add.FastPath`` is now private and moved to
 
8324
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
8325
 
 
8326
* ``LockDir.wait`` removed.  (Martin Pool)
 
8327
 
 
8328
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
8329
  ``server_stopped`` hooks. The first parameter is now an iterable of
 
8330
  backing URLs rather than a single URL. This is to reflect that many
 
8331
  URLs may map to the external URL of the server. E.g. the server interally
 
8332
  may have a chrooted URL but also the local file:// URL will be at the
 
8333
  same location. (Robert Collins)
 
8334
 
 
8335
Internals
 
8336
*********
 
8337
 
 
8338
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
8339
 
 
8340
* Fix documentation of BzrError. (Adeodato Simó)
 
8341
 
 
8342
* Make BzrBadParameter an internal error. (Adeodato Simó)
 
8343
 
 
8344
* Remove use of 'assert False' to raise an exception unconditionally.
 
8345
  (Martin Pool)
 
8346
 
 
8347
* Give a cleaner error when failing to decode knit index entry.
 
8348
  (Martin Pool)
 
8349
 
 
8350
* TreeConfig would mistakenly search the top level when asked for options
 
8351
  from a section. It now respects the section argument and only
 
8352
  searches the specified section. (James Westby)
 
8353
 
 
8354
* Improve ``make api-docs`` output. (John Arbash Meinel)
 
8355
 
 
8356
* Use os.lstat rather than os.stat for osutils.make_readonly and
 
8357
  osutils.make_writeable. This makes the difftools plugin more
 
8358
  robust when dangling symlinks are found. (Elliot Murphy)
 
8359
 
 
8360
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
 
8361
  lockdirs are taken or released.  (Martin Pool)
 
8362
 
 
8363
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
 
8364
  allows a nicer UI when hooks are running as the current hook can
 
8365
  be displayed. (Robert Collins)
 
8366
 
 
8367
* ``Transport.get`` has had its interface made more clear for ease of use.
 
8368
  Retrieval of a directory must now fail with either 'PathError' at open
 
8369
  time, or raise 'ReadError' on a read. (Robert Collins)
 
8370
 
 
8371
* New method ``_maybe_expand_globs`` on the ``Command`` class for
 
8372
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
8373
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
8374
 
 
8375
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
8376
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
8377
  Martin Pool)
 
8378
 
 
8379
* New method ``external_url`` on Transport for obtaining the url to
 
8380
  hand to external processes. (Robert Collins)
 
8381
 
 
8382
* Teach windows installers to build pyrex/C extensions.
 
8383
  (Alexander Belchenko)
 
8384
 
 
8385
Testing
 
8386
*******
 
8387
 
 
8388
* Removed the ``--keep-output`` option from selftest and clean up test
 
8389
  directories as they're used.  This reduces the IO load from
 
8390
  running the test suite and cuts the time by about half.
 
8391
  (Andrew Bennetts, Martin Pool)
 
8392
 
 
8393
* Add scenarios as a public attribute on the TestAdapter classes to allow
 
8394
  modification of the generated scenarios before adaption and easier
 
8395
  testing. (Robert Collins)
 
8396
 
 
8397
* New testing support class ``TestScenarioApplier`` which multiplies
 
8398
  out a single teste by a list of supplied scenarios. (RobertCollins)
 
8399
 
 
8400
* Setting ``repository_to_test_repository`` on a repository_implementations
 
8401
  test will cause it to be called during repository creation, allowing the
 
8402
  testing of repository classes which are not based around the Format
 
8403
  concept. For example a repository adapter can be tested in this manner,
 
8404
  by altering the repository scenarios to include a scenario that sets this
 
8405
  attribute during the test parameterisation in
 
8406
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
8407
 
 
8408
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
 
8409
  interface is now self.run_bzr.  The command to run can be passed as
 
8410
  either a list of parameters, a string containing the command line, or
 
8411
  (deprecated) varargs parameters.  (Martin Pool)
 
8412
 
 
8413
* The base TestCase now isolates tests from -D parameters by clearing
 
8414
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
8415
 
 
8416
* Add a relpath parameter to get_transport methods in test framework to
 
8417
  avoid useless cloning.
 
8418
  (Vincent Ladeuil, #110448)
 
8419
 
 
8420
 
 
8421
bzr 0.17
 
8422
########
 
8423
 
 
8424
:Released:  2007-06-18
 
8425
 
 
8426
Bugfixes
 
8427
********
 
8428
 
 
8429
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
8430
  (Colin Watson, #120647)
 
8431
 
 
8432
* Revert logging just to stderr in commit as broke unicode filenames.
 
8433
  (Aaron Bentley, Ian Clatworthy, #120930)
 
8434
 
 
8435
 
 
8436
bzr 0.17rc1
 
8437
###########
 
8438
 
 
8439
:Released:  2007-06-12
 
8440
 
 
8441
Notes When Upgrading
 
8442
********************
 
8443
 
 
8444
* The kind() and is_executable() APIs on the WorkingTree interface no
 
8445
  longer implicitly (read) locks and unlocks the tree. This *might*
 
8446
  impact some plug-ins and tools using this part of the API. If you find
 
8447
  an issue that may be caused by this change, please let us know,
 
8448
  particularly the plug-in/tool maintainer. If encountered, the API
 
8449
  fix is to surround kind() and is_executable() calls with lock_read()
 
8450
  and unlock() like so::
 
8451
 
 
8452
    work_tree.lock_read()
 
8453
    try:
 
8454
        kind = work_tree.kind(...)
 
8455
    finally:
 
8456
        work_tree.unlock()
 
8457
 
 
8458
Internals
 
8459
*********
 
8460
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
8461
  encapsulate the details of the revision to be logged in a LogRevision
 
8462
  object.
 
8463
  In long log formats, merge revision ids are only shown when --show-ids
 
8464
  is specified, and are labelled "revision-id:", as per mainline
 
8465
  revisions, instead of "merged:". (Kent Gibson)
 
8466
 
 
8467
* New ``BranchBuilder`` API which allows the construction of particular
 
8468
  histories quickly. Useful for testing and potentially other applications
 
8469
  too. (Robert Collins)
 
8470
 
 
8471
Improvements
 
8472
************
 
8473
 
 
8474
* There are two new help topics, working-trees and repositories that
 
8475
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
8476
  Aaron Bentley)
 
8477
 
 
8478
* Added ``bzr log --limit`` to report a limited number of revisions.
 
8479
  (Kent Gibson, #3659)
 
8480
 
 
8481
* Revert does not try to preserve file contents that were originally
 
8482
  produced by reverting to a historical revision.  (Aaron Bentley)
 
8483
 
 
8484
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
8485
  have more than one parent. This is a small improvement to help
 
8486
  understanding what changes have occurred
 
8487
  (John Arbash Meinel, #83887)
 
8488
 
 
8489
* TreeTransform avoids many renames when contructing large trees,
 
8490
  improving speed.  3.25x speedups have been observed for construction of
 
8491
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
8492
 
 
8493
* Commit on large trees is now faster. In my environment, a commit of
 
8494
  a small change to the Mozilla tree (55k files) has dropped from
 
8495
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
8496
  small change is 33% faster. (Ian Clatworthy)
 
8497
 
 
8498
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
8499
  #56322)
 
8500
 
 
8501
Bugfixes
 
8502
********
 
8503
 
 
8504
* ``bzr push`` should only connect to the remote location one time.
 
8505
  We have been connecting 3 times because we forget to pass around
 
8506
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
8507
  that we can pass in the Transport that we already have.
 
8508
  (John Arbash Meinel, #75721)
 
8509
 
 
8510
* ``DirState.set_state_from_inventory()`` needs to properly order
 
8511
  based on split paths, not just string paths.
 
8512
  (John Arbash Meinel, #115947)
 
8513
 
 
8514
* Let TestUIFactoy encode the password prompt with its own stdout.
 
8515
  (Vincent Ladeuil, #110204)
 
8516
 
 
8517
* pycurl should take use the range header that takes the range hint
 
8518
  into account.
 
8519
  (Vincent Ladeuil, #112719)
 
8520
 
 
8521
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
8522
  on a missing file.  (Aaron Bentley, #118186)
 
8523
 
 
8524
* WorkingTree.remove works correctly with tree references, and when pwd is
 
8525
  not the tree root. (Aaron Bentley)
 
8526
 
 
8527
* Merge no longer fails when a file is renamed in one tree and deleted
 
8528
  in the other. (Aaron Bentley, #110279)
 
8529
 
 
8530
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
8531
  and defaults to the last revision (Matthew Fuller, #90048)
 
8532
 
 
8533
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
8534
  (Daniel Watkins, #111958)
 
8535
 
 
8536
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
8537
  your repository. (Previously Branch6 only supported revisions in your
 
8538
  mainline). (John Arbash Meinel, #115343)
 
8539
 
 
8540
bzr 0.16
 
8541
########
 
8542
 
 
8543
:Released:  2007-05-07
 
8544
 
 
8545
Bugfixes
 
8546
********
 
8547
 
 
8548
* Handle when you have 2 directories with similar names, but one has a
 
8549
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
8550
  iterator was using direct comparison and ``'abc/a'`` sorts after
 
8551
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
8552
  (John Arbash Meinel, #111227)
 
8553
 
 
8554
* Handle when someone renames a file on disk without telling bzr.
 
8555
  Previously we would report the first file as missing, but not show
 
8556
  the new unknown file. (John Arbash Meinel, #111288)
 
8557
 
 
8558
* Avoid error when running hooks after pulling into or pushing from
 
8559
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
8560
 
 
8561
Improvements
 
8562
************
 
8563
 
 
8564
* Move developer documentation to doc/developers/. This reduces clutter in
 
8565
  the root of the source tree and allows HACKING to be split into multiple
 
8566
  files. (Robert Collins, Alexander Belchenko)
 
8567
 
 
8568
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
8569
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
8570
  diff`` and ``bzr status`` significantly improving the speed of
 
8571
  both. (John Arbash Meinel)
 
8572
 
 
8573
bzr 0.16rc2
 
8574
###########
 
8575
 
 
8576
:Released:  2007-04-30
 
8577
 
 
8578
Bugfixes
 
8579
********
 
8580
 
 
8581
* Handle the case when you delete a file, and then rename another file
 
8582
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
8583
  status`` should show the removed file and an unknown file in its
 
8584
  place. (John Arbash Meinel, #109993)
 
8585
 
 
8586
* Bundles properly read and write revision properties that have an
 
8587
  empty value. And when the value is not ASCII.
 
8588
  (John Arbash Meinel, #109613)
 
8589
 
 
8590
* Fix the bzr commit message to be in text mode.
 
8591
  (Alexander Belchenko, #110901)
 
8592
 
 
8593
* Also handle when you rename a file and create a file where it used
 
8594
  to be. (John Arbash Meinel, #110256)
 
8595
 
 
8596
* ``WorkingTree4._iter_changes`` should not descend into unversioned
 
8597
  directories. (John Arbash Meinel, #110399)
 
8598
 
 
8599
bzr 0.16rc1
 
8600
###########
 
8601
 
 
8602
:Released:  2007-04-26
 
8603
 
 
8604
Notes When Upgrading
 
8605
********************
 
8606
 
 
8607
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
8608
  it could be recovered again.
 
8609
  This has been done for consistency with svn and the unix rm command.
 
8610
  The old ``remove`` behaviour has been retained in the new option
 
8611
  ``bzr remove --keep``, which will just stop versioning the file,
 
8612
  but not delete it.
 
8613
  ``bzr remove --force`` have been added which will always delete the
 
8614
  files.
 
8615
  ``bzr remove`` is also more verbose.
 
8616
  (Marius Kruger, #82602)
 
8617
 
 
8618
Improvements
 
8619
************
 
8620
 
 
8621
* Merge directives can now be supplied as input to `merge` and `pull`,
 
8622
  like bundles can.  (Aaron Bentley)
 
8623
 
 
8624
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
8625
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
8626
  to continue.  This can be disabled by setting the environment variable
 
8627
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
8628
 
 
8629
* selftest now supports --list-only to list tests instead of running
 
8630
  them. (Ian Clatworthy)
 
8631
 
 
8632
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
8633
  tests with names that match that regular expression.
 
8634
  (Ian Clatworthy, #102679)
 
8635
 
 
8636
* selftest now supports --randomize SEED to run tests in a random order.
 
8637
  SEED is typically the value 'now' meaning 'use the current time'.
 
8638
  (Ian Clatworthy, #102686)
 
8639
 
 
8640
* New option ``--fixes`` to commit, which stores bug fixing annotations as
 
8641
  revision properties. Built-in support for Launchpad, Debian, Trac and
 
8642
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
8643
 
 
8644
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
8645
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
8646
  Robert Collins)
 
8647
 
 
8648
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
8649
  Pool)
 
8650
 
 
8651
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
8652
  into using local variables instead of going through ``self._var``.
 
8653
  Improves the time to ``merge_sort`` a 10k revision graph by
 
8654
  approximately 40% (~700->400ms).  (John Arbash Meinel)
 
8655
 
 
8656
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
8657
  (Robert Collins)
 
8658
 
 
8659
* ``bzr help`` now provides cross references to other help topics using
 
8660
  the _see_also facility on command classes. Likewise the bzr_man
 
8661
  documentation, and the bzr.1 man page also include this information.
 
8662
  (Robert Collins)
 
8663
 
 
8664
* Tags are now included in logs, that use the long log formatter.
 
8665
  (Erik Bågfors, Alexander Belchenko)
 
8666
 
 
8667
* ``bzr help`` provides a clearer message when a help topic cannot be
 
8668
  found. (Robert Collins, #107656)
 
8669
 
 
8670
* ``bzr help`` now accepts optional prefixes for command help. The help
 
8671
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
8672
  as well as ``bzr help COMMANDNAME`` (which only works for commands
 
8673
  where the name is not the same as a more general help topic).
 
8674
  (Robert Collins)
 
8675
 
 
8676
* ``bzr help PLUGINNAME`` will now return the module docstring from the
 
8677
  plugin PLUGINNAME. (Robert Collins, #50408)
 
8678
 
 
8679
* New help topic ``urlspec`` which lists the availables transports.
 
8680
  (Goffredo Baroncelli)
 
8681
 
 
8682
* doc/server.txt updated to document the default bzr:// port
 
8683
  and also update the blurb about the hpss' current status.
 
8684
  (Robert Collins, #107125).
 
8685
 
 
8686
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
8687
  serve out to the local LAN (and anyone in the world that can reach the
 
8688
  machine running ``bzr serve``. (Robert Collins, #98918)
 
8689
 
 
8690
* A new smart server protocol version has been added.  It prefixes requests
 
8691
  and responses with an explicit version identifier so that future protocol
 
8692
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
8693
 
 
8694
* The bzr protocol version 2 indicates success or failure in every response
 
8695
  without depending on particular commands encoding that consistently,
 
8696
  allowing future client refactorings to be much more robust about error
 
8697
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
8698
 
 
8699
* The smart protocol over HTTP client has been changed to always post to the
 
8700
  same ``.bzr/smart`` URL under the original location when it can.  This allows
 
8701
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
8702
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
8703
 
 
8704
* digest authentication is now supported for proxies and HTTP by the urllib
 
8705
  based http implementation. Tested against Apache 2.0.55 and Squid
 
8706
  2.6.5. Basic and digest authentication are handled coherently for HTTP
 
8707
  and proxy: if the user is provided in the url (bzr command line for HTTP,
 
8708
  proxy environment variables for proxies), the password is prompted for
 
8709
  (only once). If the password is provided, it is taken into account. Once
 
8710
  the first authentication is successful, all further authentication
 
8711
  roundtrips are avoided by preventively setting the right authentication
 
8712
  header(s).
 
8713
  (Vincent Ladeuil).
 
8714
 
 
8715
Internals
 
8716
*********
 
8717
 
 
8718
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
8719
  code paths. (Robert Collins)
 
8720
 
 
8721
* Change the format of chroot urls so that they can be safely manipulated
 
8722
  by generic url utilities without causing the resulting urls to have
 
8723
  escaped the chroot. A side effect of this is that creating a chroot
 
8724
  requires an explicit action using a ChrootServer.
 
8725
  (Robert Collins, Andrew Bennetts)
 
8726
 
 
8727
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
8728
  rather than fixing bug #96847.  (Aaron Bentley)
 
8729
 
 
8730
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
8731
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
8732
 
 
8733
* Convenience method ``TestCase.expectFailure`` ensures that known failures
 
8734
  do not silently pass.  (Aaron Bentley)
 
8735
 
 
8736
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
 
8737
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
8738
 
 
8739
* New SmartServer hooks facility. There are two initial hooks documented
 
8740
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
8741
  plugins to execute code upon server startup and shutdown.
 
8742
  (Robert Collins).
 
8743
 
 
8744
* SmartServer in standalone mode will now close its listening socket
 
8745
  when it stops, rather than waiting for garbage collection. This primarily
 
8746
  fixes test suite hangs when a test tries to connect to a shutdown server.
 
8747
  It may also help improve behaviour when dealing with a server running
 
8748
  on a specific port (rather than dynamically assigned ports).
 
8749
  (Robert Collins)
 
8750
 
 
8751
* Move most SmartServer code into a new package, bzrlib/smart.
 
8752
  bzrlib/transport/remote.py contains just the Transport classes that used
 
8753
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
8754
 
 
8755
* urllib http implementation avoid roundtrips associated with
 
8756
  401 (and 407) errors once the authentication succeeds.
 
8757
  (Vincent Ladeuil).
 
8758
 
 
8759
* urlib http now supports querying the user for a proxy password if
 
8760
  needed. Realm is shown in the prompt for both HTTP and proxy
 
8761
  authentication when the user is required to type a password.
 
8762
  (Vincent Ladeuil).
 
8763
 
 
8764
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
8765
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
8766
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
8767
  it's not really a "smart" transport, just one that does file operations
 
8768
  via remote procedure calls.  (Andrew Bennetts)
 
8769
 
 
8770
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
8771
  ``Branch`` now accept a ``token`` keyword argument, so that separate
 
8772
  instances of those objects can share a lock if it has the right token.
 
8773
  (Andrew Bennetts, Robert Collins)
 
8774
 
 
8775
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
8776
  branch references - which the smart server component needs.
 
8777
 
 
8778
* The Repository API ``make_working_trees`` is now permitted to return
 
8779
  False when ``set_make_working_trees`` is not implemented - previously
 
8780
  an unimplemented ``set_make_working_trees`` implied the result True
 
8781
  from ``make_working_trees``. This has been changed to accomodate the
 
8782
  smart server, where it does not make sense (at this point) to ever
 
8783
  make working trees by default. (Robert Collins)
 
8784
 
 
8785
* Command objects can now declare related help topics by having _see_also
 
8786
  set to a list of related topic. (Robert Collins)
 
8787
 
 
8788
* ``bzrlib.help`` now delegates to the Command class for Command specific
 
8789
  help. (Robert Collins)
 
8790
 
 
8791
* New class ``TransportListRegistry``, derived from the Registry class, which
 
8792
  simplifies tracking the available Transports. (Goffredo Baroncelli)
 
8793
 
 
8794
* New function ``Branch.get_revision_id_to_revno_map`` which will
 
8795
  return a dictionary mapping revision ids to dotted revnos. Since
 
8796
  dotted revnos are defined in the context of the branch tip, it makes
 
8797
  sense to generate them from a ``Branch`` object.
 
8798
  (John Arbash Meinel)
 
8799
 
 
8800
* Fix the 'Unprintable error' message display to use the repr of the
 
8801
  exception that prevented printing the error because the str value
 
8802
  for it is often not useful in debugging (e.g. KeyError('foo') has a
 
8803
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
8804
  useful. (Robert Collins)
 
8805
 
 
8806
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
8807
  (Andrew Bennetts)
 
8808
 
 
8809
Bugfixes
 
8810
********
 
8811
 
 
8812
* Don't fail bundle selftest if email has 'two' embedded.
 
8813
  (Ian Clatworthy, #98510)
 
8814
 
 
8815
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
8816
  (Robert Widhopf-Fenk, #98591)
 
8817
 
 
8818
* Remove ``--basis`` from the checkout/branch commands - it didn't work
 
8819
  properly and is no longer beneficial.
 
8820
  (Robert Collins, #53675, #43486)
 
8821
 
 
8822
* Don't produce encoding error when adding duplicate files.
 
8823
  (Aaron Bentley)
 
8824
 
 
8825
* Fix ``bzr log <file>`` so it only logs the revisions that changed
 
8826
  the file, and does it faster.
 
8827
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
8828
 
 
8829
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
8830
  an empty versioned directory, which now has files in it.
 
8831
  (John Arbash Meinel, #104257)
 
8832
 
 
8833
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
8834
  inside the ancestry of the other. Saves a lot of graph processing
 
8835
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
8836
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
8837
 
 
8838
* Fix ``show_diff_trees`` to handle the case when a file is modified,
 
8839
  and the containing directory is renamed. (The file path is different
 
8840
  in this versus base, but it isn't marked as a rename).
 
8841
  (John Arbash Meinel, #103870)
 
8842
 
 
8843
* FTP now works even when the FTP server does not support atomic rename.
 
8844
  (Aaron Bentley, #89436)
 
8845
 
 
8846
* Correct handling in bundles and merge directives of timezones with
 
8847
  that are not an integer number of hours offset from UTC.  Always
 
8848
  represent the epoch time in UTC to avoid problems with formatting
 
8849
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
8850
  Arbash Meinel)
 
8851
 
 
8852
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
8853
 
 
8854
* "dirstate" and "dirstate-tags" formats now produce branches compatible
 
8855
  with old versions of bzr. (Aaron Bentley, #107168))
 
8856
 
 
8857
* Handle moving a directory when children have been added, removed,
 
8858
  and renamed. (John Arbash Meinel, #105479)
 
8859
 
 
8860
* Don't preventively use basic authentication for proxy before receiving a
 
8861
  407 error. Otherwise people willing to use other authentication schemes
 
8862
  may expose their password in the clear (or nearly). This add one
 
8863
  roundtrip in case basic authentication should be used, but plug the
 
8864
  security hole.
 
8865
  (Vincent Ladeuil)
 
8866
 
 
8867
* Handle http and proxy digest authentication.
 
8868
  (Vincent Ladeuil, #94034).
 
8869
 
 
8870
Testing
 
8871
*******
 
8872
 
 
8873
* Added ``bzrlib.strace.strace`` which will strace a single callable and
 
8874
  return a StraceResult object which contains just the syscalls involved
 
8875
  in running it. (Robert Collins)
 
8876
 
 
8877
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
8878
  default time down to one suitable for tests. (Andrew Bennetts)
 
8879
 
 
8880
* Add new ``vfs_transport_factory`` attribute on tests which provides the
 
8881
  common vfs backing for both the readonly and readwrite transports.
 
8882
  This allows the RemoteObject tests to back onto local disk or memory,
 
8883
  and use the existing ``transport_server`` attribute all tests know about
 
8884
  to be the smart server transport. This in turn allows tests to
 
8885
  differentiate between 'transport to access the branch', and
 
8886
  'transport which is a VFS' - which matters in Remote* tests.
 
8887
  (Robert Collins, Andrew Bennetts)
 
8888
 
 
8889
* The ``make_branch_and_tree`` method for tests will now create a
 
8890
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
8891
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
8892
 
 
8893
* Branch implementation tests have been audited to ensure that all urls
 
8894
  passed to Branch APIs use proper urls, except when local-disk paths
 
8895
  are intended. This is so that tests correctly access the test transport
 
8896
  which is often not equivalent to local disk in Remote* tests. As part
 
8897
  of this many tests were adjusted to remove dependencies on local disk
 
8898
  access.
 
8899
  (Robert Collins, Andrew Bennetts)
 
8900
 
 
8901
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
8902
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
8903
  Andrew Bennetts, Martin Pool, Jonathan Lange)
 
8904
 
 
8905
* Refactored proxy and authentication handling to simplify the
 
8906
  implementation of new auth schemes for both http and proxy.
 
8907
  (Vincent Ladeuil)
 
8908
 
 
8909
bzr 0.15
 
8910
########
 
8911
 
 
8912
:Released: 2007-04-01
 
8913
 
 
8914
Bugfixes
 
8915
********
 
8916
 
 
8917
* Handle incompatible repositories as a user issue when fetching.
 
8918
  (Aaron Bentley)
 
8919
 
 
8920
* Don't give a recommendation to upgrade when branching or
 
8921
  checking out a branch that contains an old-format working tree.
 
8922
  (Martin Pool)
 
8923
 
 
8924
bzr 0.15rc3
 
8925
###########
 
8926
 
 
8927
:Released:  2007-03-26
 
8928
 
 
8929
Changes
 
8930
*******
 
8931
 
 
8932
* A warning is now displayed when opening working trees in older
 
8933
  formats, to encourage people to upgrade to WorkingTreeFormat4.
 
8934
  (Martin Pool)
 
8935
 
 
8936
Improvements
 
8937
************
 
8938
 
 
8939
* HTTP redirections are now taken into account when a branch (or a
 
8940
  bundle) is accessed for the first time. A message is issued at each
 
8941
  redirection to inform the user. In the past, http redirections were
 
8942
  silently followed for each request which significantly degraded the
 
8943
  performances. The http redirections are not followed anymore by
 
8944
  default, instead a RedirectRequested exception is raised. For bzrlib
 
8945
  users needing to follow http redirections anyway,
 
8946
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
8947
  path.  (vila)
 
8948
 
 
8949
Internals
 
8950
*********
 
8951
 
 
8952
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
8953
  lock to an OS write lock. Linux can do this without unlocking, Win32
 
8954
  needs to unlock in between. (John Arbash Meinel)
 
8955
 
 
8956
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
8957
  to silence (when false) warnings about opening old formats.
 
8958
  (Martin Pool)
 
8959
 
 
8960
* Fix minor performance regression with bzr-0.15 on pre-dirstate
 
8961
  trees. (We were reading the working inventory too many times).
 
8962
  (John Arbash Meinel)
 
8963
 
 
8964
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
8965
  ``revision_history``.  Branch subclasses should override
 
8966
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
8967
  this cache, and call ``_clear_revision_history_cache`` and
 
8968
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
8969
 
 
8970
Bugfixes
 
8971
********
 
8972
 
 
8973
* Take ``smtp_server`` from user config into account.
 
8974
  (vila, #92195)
 
8975
 
 
8976
* Restore Unicode filename handling for versioned and unversioned files.
 
8977
  (John Arbash Meinel, #92608)
 
8978
 
 
8979
* Don't fail during ``bzr commit`` if a file is marked removed, and
 
8980
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
8981
 
 
8982
* ``bzr status FILENAME`` failed on Windows because of an uncommon
 
8983
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
8984
  (Wouter van Heyst, John Arbash Meinel, #90819)
 
8985
 
 
8986
* ``bzr checkout source`` should create a local branch in the same
 
8987
  format as source. (John Arbash Meinel, #93854)
 
8988
 
 
8989
* ``bzr commit`` with a kind change was failing to update the
 
8990
  last-changed-revision for directories.  The
 
8991
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
8992
  ignoring the fact that the kind could have changed, too.
 
8993
  (John Arbash Meinel, #90111)
 
8994
 
 
8995
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
8996
  the directory. So that there was a chance it would break commit,
 
8997
  etc. (John Arbash Meinel, #94037)
 
8998
 
 
8999
* Correctly handles mutiple permanent http redirections.
 
9000
  (vila, #88780)
 
9001
 
 
9002
bzr 0.15rc2
 
9003
###########
 
9004
 
 
9005
:Released:  2007-03-14
 
9006
 
 
9007
Notes When Upgrading
 
9008
********************
 
9009
 
 
9010
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
9011
  default to ``--trees`` instead of ``--no-trees``.
 
9012
  Existing shared repositories are not affected.
 
9013
 
 
9014
Improvements
 
9015
************
 
9016
 
 
9017
* New ``merge-directive`` command to generate machine- and human-readable
 
9018
  merge requests.  (Aaron Bentley)
 
9019
 
 
9020
* New ``submit:`` revision specifier makes it easy to diff against the
 
9021
  common ancestor with the submit location (Aaron Bentley)
 
9022
 
 
9023
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
9024
 
 
9025
* Added ``bzr status --versioned`` to report only versioned files,
 
9026
  not unknowns. (Kent Gibson)
 
9027
 
 
9028
* Merge now autodetects the correct line-ending style for its conflict
 
9029
  markers.  (Aaron Bentley)
 
9030
 
 
9031
Internals
 
9032
*********
 
9033
 
 
9034
* Refactored SSH vendor registration into SSHVendorManager class.
 
9035
  (Dmitry Vasiliev)
 
9036
 
 
9037
Bugfixes
 
9038
********
 
9039
 
 
9040
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
9041
  numbered dirs for TestCaseInTempDir. This is default behavior
 
9042
  on Windows. Anyone can force named dirs on Windows
 
9043
  with ``--no-numbered-dirs``. (Alexander Belchenko)
 
9044
 
 
9045
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
9046
  from the command line. (Marien Zwart, #90501)
 
9047
 
 
9048
* Fix ``TreeTransform._iter_changes`` when both the source and
 
9049
  destination are missing. (Aaron Bentley, #88842)
 
9050
 
 
9051
* Fix commit of merges with symlinks in dirstate trees.
 
9052
  (Marien Zwart)
 
9053
 
 
9054
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
 
9055
  (Wouter van Heyst, #53483)
 
9056
 
 
9057
 
 
9058
bzr 0.15rc1
 
9059
###########
 
9060
 
 
9061
:Released:  2007-03-07
 
9062
 
 
9063
Surprises
 
9064
*********
 
9065
 
 
9066
* The default disk format has changed. Please run 'bzr upgrade' in your
 
9067
  working trees to upgrade. This new default is compatible for network
 
9068
  operations, but not for local operations. That is, if you have two
 
9069
  versions of bzr installed locally, after upgrading you can only use the
 
9070
  bzr 0.15 version. This new default does not enable tags or nested-trees
 
9071
  as they are incompatible with bzr versions before 0.15 over the network.
 
9072
 
 
9073
* For users of bzrlib: Two major changes have been made to the working tree
 
9074
  api in bzrlib. The first is that many methods and attributes, including
 
9075
  the inventory attribute, are no longer valid for use until one of
 
9076
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
9077
  and become invalid again after unlock is called. This has been done
 
9078
  to improve performance and correctness as part of the dirstate
 
9079
  development.
 
9080
  (Robert Collins, John A Meinel, Martin Pool, and others).
 
9081
 
 
9082
* For users of bzrlib: The attribute 'tree.inventory' should be considered
 
9083
  readonly. Previously it was possible to directly alter this attribute, or
 
9084
  its contents, and have the tree notice this. This has been made
 
9085
  unsupported - it may work in some tree formats, but in the newer dirstate
 
9086
  format such actions will have no effect and will be ignored, or even
 
9087
  cause assertions. All operations possible can still be carried out by a
 
9088
  combination of the tree API, and the bzrlib.transform API. (Robert
 
9089
  Collins, John A Meinel, Martin Pool, and others).
 
9090
 
 
9091
Improvements
 
9092
************
 
9093
 
 
9094
* Support for OS Windows 98. Also .bzr.log on any windows system
 
9095
  saved in My Documents folder. (Alexander Belchenko)
 
9096
 
 
9097
* ``bzr mv`` enhanced to support already moved files.
 
9098
  In the past the mv command would have failed if the source file doesn't
 
9099
  exist. In this situation ``bzr mv`` would now detect that the file has
 
9100
  already moved and update the repository accordingly, if the target file
 
9101
  does exist.
 
9102
  A new option ``--after`` has been added so that if two files already
 
9103
  exist, you could notify Bazaar that you have moved a (versioned) file
 
9104
  and replaced it with another. Thus in this case ``bzr move --after``
 
9105
  will only update the Bazaar identifier.
 
9106
  (Steffen Eichenberg, Marius Kruger)
 
9107
 
 
9108
* ``ls`` now works on treeless branches and remote branches.
 
9109
  (Aaron Bentley)
 
9110
 
 
9111
* ``bzr help global-options`` describes the global options.
 
9112
  (Aaron Bentley)
 
9113
 
 
9114
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
9115
  (Robert Collins)
 
9116
 
 
9117
* Files are now allowed to change kind (e.g. from file to symlink).
 
9118
  Supported by ``commit``, ``revert`` and ``status``
 
9119
  (Aaron Bentley)
 
9120
 
 
9121
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
9122
  (Aaron Bentley)
 
9123
 
 
9124
* ``bzr help checkouts`` descibes what checkouts are and some possible
 
9125
  uses of them. (James Westby, Aaron Bentley)
 
9126
 
 
9127
* A new ``-d`` option to push, pull and merge overrides the default
 
9128
  directory.  (Martin Pool)
 
9129
 
 
9130
* Branch format 6: smaller, and potentially faster than format 5.  Supports
 
9131
  ``append_history_only`` mode, where the log view and revnos do not change,
 
9132
  except by being added to.  Stores policy settings in
 
9133
  ".bzr/branch/branch.conf".
 
9134
 
 
9135
* ``append_only`` branches:  Format 6 branches may be configured so that log
 
9136
  view and revnos are always consistent.  Either create the branch using
 
9137
  "bzr init --append-revisions-only" or edit the config file as descriped
 
9138
  in docs/configuration.txt.
 
9139
 
 
9140
* rebind: Format 6 branches retain the last-used bind location, so if you
 
9141
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
9142
  bind location.
 
9143
 
 
9144
* Builtin tags support, created and deleted by the ``tag`` command and
 
9145
  stored in the branch.  Tags can be accessed with the revisionspec
 
9146
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
 
9147
  at present. Tags require a network incompatible upgrade. To perform this
 
9148
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
9149
  repositories. (Martin Pool)
 
9150
 
 
9151
* The ``bzr://`` transport now has a well-known port number, 4155,
 
9152
  which it will use by default.  (Andrew Bennetts, Martin Pool)
 
9153
 
 
9154
* Bazaar now looks for user-installed plugins before looking for site-wide
 
9155
  plugins. (Jonathan Lange)
 
9156
 
 
9157
* ``bzr resolve`` now detects and marks resolved text conflicts.
 
9158
  (Aaron Bentley)
 
9159
 
 
9160
Internals
 
9161
*********
 
9162
 
 
9163
* Internally revision ids and file ids are now passed around as utf-8
 
9164
  bytestrings, rather than treating them as Unicode strings. This has
 
9165
  performance benefits for Knits, since we no longer need to decode the
 
9166
  revision id for each line of content, nor for each entry in the index.
 
9167
  This will also help with the future dirstate format.
 
9168
  (John Arbash Meinel)
 
9169
 
 
9170
* Reserved ids (any revision-id ending in a colon) are rejected by
 
9171
  versionedfiles, repositories, branches, and working trees
 
9172
  (Aaron Bentley)
 
9173
 
 
9174
* Minor performance improvement by not creating a ProgressBar for
 
9175
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
9176
  (John Arbash Meinel)
 
9177
 
 
9178
* New easier to use Branch hooks facility. There are five initial hooks,
 
9179
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
9180
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
9181
  ``'post_uncommit'``. These hooks fire after the matching operation
 
9182
  on a branch has taken place, and were originally added for the
 
9183
  branchrss plugin. (Robert Collins)
 
9184
 
 
9185
* New method ``Branch.push()`` which should be used when pushing from a
 
9186
  branch as it makes performance and policy decisions to match the UI
 
9187
  level command ``push``. (Robert Collins).
 
9188
 
 
9189
* Add a new method ``Tree.revision_tree`` which allows access to cached
 
9190
  trees for arbitrary revisions. This allows the in development dirstate
 
9191
  tree format to provide access to the callers to cached copies of
 
9192
  inventory data which are cheaper to access than inventories from the
 
9193
  repository.
 
9194
  (Robert Collins, Martin Pool)
 
9195
 
 
9196
* New ``Branch.last_revision_info`` method, this is being done to allow
 
9197
  optimization of requests for both the number of revisions and the last
 
9198
  revision of a branch with smartservers and potentially future branch
 
9199
  formats. (Wouter van Heyst, Robert Collins)
 
9200
 
 
9201
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
9202
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
9203
  other for code reuse without requiring users to perform file-renaming
 
9204
  gymnastics. (Robert Collins)
 
9205
 
 
9206
* New Repository method ``'gather_stats'`` for statistic data collection.
 
9207
  This is expected to grow to cover a number of related uses mainly
 
9208
  related to bzr info. (Robert Collins)
 
9209
 
 
9210
* Log formatters are now managed with a registry.
 
9211
  ``log.register_formatter`` continues to work, but callers accessing
 
9212
  the FORMATTERS dictionary directly will not.
 
9213
 
 
9214
* Allow a start message to be passed to the ``edit_commit_message``
 
9215
  function.  This will be placed in the message offered to the user
 
9216
  for editing above the separator. It allows a template commit message
 
9217
  to be used more easily. (James Westby)
 
9218
 
 
9219
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
9220
  you pass a Unicode string rather than an 8-bit string. Callers need
 
9221
  to be updated to encode first. (John Arbash Meinel)
 
9222
 
 
9223
* Branch.push, pull, merge now return Result objects with information
 
9224
  about what happened, rather than a scattering of various methods.  These
 
9225
  are also passed to the post hooks.  (Martin Pool)
 
9226
 
 
9227
* File formats and architecture is in place for managing a forest of trees
 
9228
  in bzr, and splitting up existing trees into smaller subtrees, and
 
9229
  finally joining trees to make a larger tree. This is the first iteration
 
9230
  of this support, and the user-facing aspects still require substantial
 
9231
  work.  If you wish to experiment with it, use ``bzr upgrade
 
9232
  --dirstate-with-subtree`` in your working trees and repositories.
 
9233
  You can use the hidden commands ``split`` and ``join`` and to create
 
9234
  and manipulate nested trees, but please consider using the nested-trees
 
9235
  branch, which contains substantial UI improvements, instead.
 
9236
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
9237
  (Aaron Bentley, Martin Pool, Robert Collins).
 
9238
 
 
9239
Bugfixes
 
9240
********
 
9241
 
 
9242
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
9243
  branch, rather than the last changed revision of the file.
 
9244
  (John Arbash Meinel, #82158)
 
9245
 
 
9246
* Lock operations no longer hang if they encounter a permission problem.
 
9247
  (Aaron Bentley)
 
9248
 
 
9249
* ``bzr push`` can resume a push that was canceled before it finished.
 
9250
  Also, it can push even if the target directory exists if you supply
 
9251
  the ``--use-existing-dir`` flag.
 
9252
  (John Arbash Meinel, #30576, #45504)
 
9253
 
 
9254
* Fix http proxy authentication when user and an optional
 
9255
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
9256
  #83954).
 
9257
 
 
9258
* ``bzr log branch/file`` works for local treeless branches
 
9259
  (Aaron Bentley, #84247)
 
9260
 
 
9261
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
9262
 
 
9263
* Searching location of CA bundle for PyCurl in env variable
 
9264
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
9265
  (Alexander Belchenko, #82086)
 
9266
 
 
9267
* ``bzr init`` works with unicode argument LOCATION.
 
9268
  (Alexander Belchenko, #85599)
 
9269
 
 
9270
* Raise ``DependencyNotPresent`` if pycurl do not support https.
 
9271
  (Vincent Ladeuil, #85305)
 
9272
 
 
9273
* Invalid proxy env variables should not cause a traceback.
 
9274
  (Vincent Ladeuil, #87765)
 
9275
 
 
9276
* Ignore patterns normalised to use '/' path separator.
 
9277
  (Kent Gibson, #86451)
 
9278
 
 
9279
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
9280
 
 
9281
* Fix bzrtools shelve command for removed lines beginning with "--"
 
9282
  (Johan Dahlberg, #75577)
 
9283
 
 
9284
Testing
 
9285
*******
 
9286
 
 
9287
* New ``--first`` option to ``bzr selftest`` to run specified tests
 
9288
  before the rest of the suite.  (Martin Pool)
 
9289
 
 
9290
 
 
9291
bzr 0.14
 
9292
########
 
9293
 
 
9294
:Released:  2007-01-23
 
9295
 
 
9296
Improvements
 
9297
************
 
9298
 
 
9299
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
9300
 
 
9301
Bug Fixes
 
9302
*********
 
9303
 
 
9304
* Skip documentation generation tests if the tools to do so are not
 
9305
  available. Fixes running selftest for installled copies of bzr.
 
9306
  (John Arbash Meinel, #80330)
 
9307
 
 
9308
* Fix the code that discovers whether bzr is being run from it's
 
9309
  working tree to handle the case when it isn't but the directory
 
9310
  it is in is below a repository. (James Westby, #77306)
 
9311
 
 
9312
 
 
9313
bzr 0.14rc1
 
9314
###########
 
9315
 
 
9316
:Released:  2007-01-16
 
9317
 
 
9318
Improvements
 
9319
************
 
9320
 
 
9321
* New connection: ``bzr+http://`` which supports tunnelling the smart
 
9322
  protocol over an HTTP connection. If writing is enabled on the bzr
 
9323
  server, then you can write over the http connection.
 
9324
  (Andrew Bennetts, John Arbash Meinel)
 
9325
 
 
9326
* Aliases now support quotation marks, so they can contain whitespace
 
9327
  (Marius Kruger)
 
9328
 
 
9329
* PyCurlTransport now use a single curl object. By specifying explicitly
 
9330
  the 'Range' header, we avoid the need to use two different curl objects
 
9331
  (and two connections to the same server). (Vincent Ladeuil)
 
9332
 
 
9333
* ``bzr commit`` does not prompt for a message until it is very likely to
 
9334
  succeed.  (Aaron Bentley)
 
9335
 
 
9336
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
9337
  (Aaron Bentley)
 
9338
 
 
9339
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
9340
  of a list while checking if a revision id was requested. Takes 10s
 
9341
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
9342
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
9343
  filtering lines with a regex rather than multiple ``str.find()``
 
9344
  calls. (saves another 300ms) (John Arbash Meinel)
 
9345
 
 
9346
* Policy can be set for each configuration key. This allows keys to be
 
9347
  inherited properly across configuration entries. For example, this
 
9348
  should enable you to do::
 
9349
 
 
9350
    [/home/user/project]
 
9351
    push_location = sftp://host/srv/project/
 
9352
    push_location:policy = appendpath
 
9353
 
 
9354
  And then a branch like ``/home/user/project/mybranch`` should get an
 
9355
  automatic push location of ``sftp://host/srv/project/mybranch``.
 
9356
  (James Henstridge)
 
9357
 
 
9358
* Added ``bzr status --short`` to make status report svn style flags
 
9359
  for each file.  For example::
 
9360
 
 
9361
    $ bzr status --short
 
9362
    A  foo
 
9363
    A  bar
 
9364
    D  baz
 
9365
    ?  wooley
 
9366
 
 
9367
* 'bzr selftest --clean-output' allows easily clean temporary tests
 
9368
  directories without running tests. (Alexander Belchenko)
 
9369
 
 
9370
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
9371
 
 
9372
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
9373
  local is fully merged into remote. (Jan Hudec)
 
9374
 
 
9375
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
9376
 
 
9377
Internals
 
9378
*********
 
9379
 
 
9380
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
9381
  help speed up processing, as well allowing to extract unannotated
 
9382
  lines. Between the two ``fileids_affected_by_revision_ids`` is
 
9383
  improved by approx 10%. (John Arbash Meinel)
 
9384
 
 
9385
* Change Revision serialization to only write out millisecond
 
9386
  resolution. Rather than expecting floating point serialization to
 
9387
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
9388
 
 
9389
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
9390
 
 
9391
* When ``encoding_type`` attribute of class Command is equal to 'exact',
 
9392
  force sys.stdout to be a binary stream on Windows, and therefore
 
9393
  keep exact line-endings (without LF -> CRLF conversion).
 
9394
  (Alexander Belchenko)
 
9395
 
 
9396
* Single-letter short options are no longer globally declared.  (Martin
 
9397
  Pool)
 
9398
 
 
9399
* Before using detected user/terminal encoding bzr should check
 
9400
  that Python has corresponding codec. (Alexander Belchenko)
 
9401
 
 
9402
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
9403
 
 
9404
Bug Fixes
 
9405
*********
 
9406
 
 
9407
* ``bzr missing --verbose`` was showing adds/removals in the wrong
 
9408
  direction. (John Arbash Meinel)
 
9409
 
 
9410
* ``bzr annotate`` now defaults to showing dotted revnos for merged
 
9411
  revisions. It cuts them off at a depth of 12 characters, but you can
 
9412
  supply ``--long`` to see the full number. You can also use
 
9413
  ``--show-ids`` to display the original revision ids, rather than
 
9414
  revision numbers and committer names. (John Arbash Meinel, #75637)
 
9415
 
 
9416
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
 
9417
  (Alexander Belchenko, #57869)
 
9418
 
 
9419
* Win32-specific: output of cat, bundle and diff commands don't mangle
 
9420
  line-endings (Alexander Belchenko, #55276)
 
9421
 
 
9422
* Replace broken fnmatch based ignore pattern matching with custom pattern
 
9423
  matcher.
 
9424
  (Kent Gibson, Jan Hudec #57637)
 
9425
 
 
9426
* pycurl and urllib can detect short reads at different places. Update
 
9427
  the test suite to test more cases. Also detect http error code 416
 
9428
  which was raised for that specific bug. Also enhance the urllib
 
9429
  robustness by detecting invalid ranges (and pycurl's one by detecting
 
9430
  short reads during the initial GET). (Vincent Ladeuil, #73948)
 
9431
 
 
9432
* The urllib connection sharing interacts badly with urllib2
 
9433
  proxy setting (the connections didn't go thru the proxy
 
9434
  anymore). Defining a proper ProxyHandler solves the
 
9435
  problem.  (Vincent Ladeuil, #74759)
 
9436
 
 
9437
* Use urlutils to generate relative URLs, not osutils
 
9438
  (Aaron Bentley, #76229)
 
9439
 
 
9440
* ``bzr status`` in a readonly directory should work without giving
 
9441
  lots of errors. (John Arbash Meinel, #76299)
 
9442
 
 
9443
* Mention the revisionspec topic for the revision option help.
 
9444
  (Wouter van Heyst, #31663)
 
9445
 
 
9446
* Allow plugins import from zip archives.
 
9447
  (Alexander Belchenko, #68124)
 
9448
 
 
9449
 
 
9450
bzr 0.13
 
9451
########
 
9452
 
 
9453
:Released:  2006-12-05
 
9454
 
 
9455
No changes from 0.13rc
 
9456
 
 
9457
 
 
9458
bzr 0.13rc1
 
9459
###########
 
9460
 
 
9461
:Released:  2006-11-27
 
9462
 
 
9463
Improvements
 
9464
************
 
9465
 
 
9466
* New command ``bzr remove-tree`` allows the removal of the working
 
9467
  tree from a branch.
 
9468
  (Daniel Silverstone)
 
9469
 
 
9470
* urllib uses shared keep-alive connections, so http
 
9471
  operations are substantially faster.
 
9472
  (Vincent Ladeuil, #53654)
 
9473
 
 
9474
* ``bzr export`` allows an optional branch parameter, to export a bzr
 
9475
  tree from some other url. For example:
 
9476
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
9477
  (Daniel Silverstone)
 
9478
 
 
9479
* Added ``bzr help topics`` to the bzr help system. This gives a
 
9480
  location for general information, outside of a specific command.
 
9481
  This includes updates for ``bzr help revisionspec`` the first topic
 
9482
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
9483
 
 
9484
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
9485
  (Andrew Bennetts)
 
9486
 
 
9487
* Knit files will now cache full texts only when the size of the
 
9488
  deltas is as large as the size of the fulltext. (Or after 200
 
9489
  deltas, whichever comes first). This has the most benefit on large
 
9490
  files with small changes, such as the inventory for a large project.
 
9491
  (eg For a project with 2500 files, and 7500 revisions, it changes
 
9492
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
9493
 
 
9494
Internals
 
9495
*********
 
9496
 
 
9497
* New -D option given before the command line turns on debugging output
 
9498
  for particular areas.  -Derror shows tracebacks on all errors.
 
9499
  (Martin Pool)
 
9500
 
 
9501
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
9502
  and remove benchmarks that take longer than 10min to run.
 
9503
  (John Arbash Meinel)
 
9504
 
 
9505
* Use ``time.time()`` instead of ``time.clock()`` to decide on
 
9506
  progress throttling. Because ``time.clock()`` is actually CPU time,
 
9507
  so over a high-latency connection, too many updates get throttled.
 
9508
  (John Arbash Meinel)
 
9509
 
 
9510
* ``MemoryTransport.list_dir()`` would strip the first character for
 
9511
  files or directories in root directory. (John Arbash Meinel)
 
9512
 
 
9513
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
 
9514
  branch references - which the smart server component needs.
 
9515
 
 
9516
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
9517
  prefix.  It disallows any access to locations above a set URL.  (Andrew
 
9518
  Bennetts)
 
9519
 
 
9520
Bug Fixes
 
9521
*********
 
9522
 
 
9523
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
9524
  And optimize the knit index parsing code.
 
9525
  (Dmitry Vasiliev, John Arbash Meinel)
 
9526
 
 
9527
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
9528
  without importing it. This prevented ``bzr upgrade`` from working
 
9529
  unless a plugin already imported ``bzrlib.workingtree``
 
9530
  (John Arbash Meinel, #70716)
 
9531
 
 
9532
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
9533
 
 
9534
* Give nicer error message when an http server returns a 403
 
9535
  error code. (Vincent Ladeuil, #57644).
 
9536
 
 
9537
* When a multi-range http GET request fails, try a single
 
9538
  range one. If it fails too, forget about ranges. Remember that until
 
9539
  the death of the transport and propagates that to the clones.
 
9540
  (Vincent Ladeuil, #62276, #62029).
 
9541
 
 
9542
* Handles user/passwords supplied in url from command
 
9543
  line (for the urllib implementation). Don't request already
 
9544
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
9545
 
 
9546
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
9547
  are added. This fixes bug where fetching remote revisions records
 
9548
  them as full references rather than integers.
 
9549
  (John Arbash Meinel, #64789)
 
9550
 
 
9551
* ``bzr ignore`` strips trailing slashes in patterns.
 
9552
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
9553
 
 
9554
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
9555
 
 
9556
* mv correctly handles paths that traverse symlinks.
 
9557
  (Aaron Bentley, #66964)
 
9558
 
 
9559
* Give nicer looking error messages when failing to connect over ssh.
 
9560
  (John Arbash Meinel, #49172)
 
9561
 
 
9562
* Pushing to a remote branch does not currently update the remote working
 
9563
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
9564
  machine now show that the working tree is out of date.
 
9565
  (Cheuksan Edward Wang #48136)
 
9566
 
 
9567
* Use patiencediff instead of difflib for determining deltas to insert
 
9568
  into knits. This avoids the O(N^3) behavior of difflib. Patience
 
9569
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
9570
 
 
9571
* Running ``bzr log`` on nonexistent file gives an error instead of the
 
9572
  entire log history. (Cheuksan Edward Wang #50793)
 
9573
 
 
9574
* ``bzr cat`` can look up contents of removed or renamed files. If the
 
9575
  pathname is ambiguous, i.e. the files in the old and new trees have
 
9576
  different id's, the default is the file in the new tree. The user can
 
9577
  use "--name-from-revision" to select the file in the old tree.
 
9578
  (Cheuksan Edward Wang, #30190)
 
9579
 
 
9580
Testing
 
9581
*******
 
9582
 
 
9583
* TestingHTTPRequestHandler really handles the Range header
 
9584
  (previously it was ignoring it and returning the whole file,).
 
9585
 
 
9586
bzr 0.12
 
9587
########
 
9588
 
 
9589
:Released:  2006-10-30
 
9590
 
 
9591
Internals
 
9592
*********
 
9593
 
 
9594
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
9595
  and remove benchmarks that take longer than 10min to run.
 
9596
  (John Arbash Meinel)
 
9597
 
 
9598
bzr 0.12rc1
 
9599
###########
 
9600
 
 
9601
:Released:  2006-10-23
 
9602
 
 
9603
Improvements
 
9604
************
 
9605
 
 
9606
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
9607
  rather than just showing a decimal revision number for revisions on the
 
9608
  mainline. These revision numbers are not yet accepted as input into bzr
 
9609
  commands such as log, diff etc. (Robert Collins)
 
9610
 
 
9611
* revisions can now be specified using dotted-decimal revision numbers.
 
9612
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
9613
 
 
9614
* ``bzr help commands`` output is now shorter (Aaron Bentley)
 
9615
 
 
9616
* ``bzr`` now uses lazy importing to reduce the startup time. This has
 
9617
  a moderate effect on lots of actions, especially ones that have
 
9618
  little to do. For example ``bzr rocks`` time is down to 116ms from
 
9619
  283ms. (John Arbash Meinel)
 
9620
 
 
9621
* New Registry class to provide name-to-object registry-like support,
 
9622
  for example for schemes where plugins can register new classes to
 
9623
  do certain tasks (e.g. log formatters). Also provides lazy registration
 
9624
  to allow modules to be loaded on request.
 
9625
  (John Arbash Meinel, Adeodato Simó)
 
9626
 
 
9627
API Incompatability
 
9628
*******************
 
9629
 
 
9630
* LogFormatter subclasses show now expect the 'revno' parameter to
 
9631
  show() to be a string rather than an int. (Robert Collins)
 
9632
 
 
9633
Internals
 
9634
*********
 
9635
 
 
9636
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
9637
  can take a ``working_dir='foo'`` parameter, which will change directory
 
9638
  for the command. (John Arbash Meinel)
 
9639
 
 
9640
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
9641
  around a regex, which defers compilation until first use.
 
9642
  (John Arbash Meinel)
 
9643
 
 
9644
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
9645
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
9646
  problems with system-wide installed plugins. (John Arbash Meinel)
 
9647
 
 
9648
* Unique tree root ids are now supported. Newly created trees still
 
9649
  use the common root id for compatibility with bzr versions before 0.12.
 
9650
  (Aaron Bentley)
 
9651
 
 
9652
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
9653
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
9654
  (Robert Collins, John Arbash Meinel)
 
9655
 
 
9656
* New method ``WorkingTree.flush()`` which will write the current memory
 
9657
  inventory out to disk. At the same time, ``read_working_inventory`` will
 
9658
  no longer trash the current tree inventory if it has been modified within
 
9659
  the current lock, and the tree will now ``flush()`` automatically on
 
9660
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
9661
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
9662
 
 
9663
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
9664
  parameter will cause it to add another column to its output, which
 
9665
  contains the dotted-decimal revno for each revision, as a tuple.
 
9666
  (Robert Collins)
 
9667
 
 
9668
* ``LogFormatter.show_merge`` is deprecated in favour of
 
9669
  ``LogFormatter.show_merge_revno``. (Robert Collins)
 
9670
 
 
9671
Bug Fixes
 
9672
*********
 
9673
 
 
9674
* Avoid circular imports by creating a deprecated function for
 
9675
  ``bzrlib.tree.RevisionTree``. Callers should have been using
 
9676
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
9677
  #66349)
 
9678
 
 
9679
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
9680
  platforms. (Martin Pool, #66356)
 
9681
 
 
9682
* Don't require ``Content-Type`` in range responses. Assume they are a
 
9683
  single range if ``Content-Type`` does not exist.
 
9684
  (John Arbash Meinel, #62473)
 
9685
 
 
9686
* bzr branch/pull no longer complain about progress bar cleanup when
 
9687
  interrupted during fetch.  (Aaron Bentley, #54000)
 
9688
 
 
9689
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
9690
  the basis inventory, rather than going through the repository. This
 
9691
  allows us to have 1 inventory read, and 2 inventory writes when
 
9692
  committing a new tree. (John Arbash Meinel)
 
9693
 
 
9694
* When reverting, files that are not locally modified that do not exist
 
9695
  in the target are deleted, not just unversioned (Aaron Bentley)
 
9696
 
 
9697
* When trying to acquire a lock, don't fail immediately. Instead, try
 
9698
  a few times (up to 1 hour) before timing out. Also, report why the
 
9699
  lock is unavailable (John Arbash Meinel, #43521, #49556)
 
9700
 
 
9701
* Leave HttpTransportBase daughter classes decides how they
 
9702
  implement cloning. (Vincent Ladeuil, #61606)
 
9703
 
 
9704
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
9705
 
 
9706
* If a commit fails, the commit message is stored in a file at the root of
 
9707
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
9708
  #32054)
 
9709
 
 
9710
Testing
 
9711
*******
 
9712
 
 
9713
* New test base class TestCaseWithMemoryTransport offers memory-only
 
9714
  testing facilities: its not suitable for tests that need to mutate disk
 
9715
  state, but most tests should not need that and should be converted to
 
9716
  TestCaseWithMemoryTransport. (Robert Collins)
 
9717
 
 
9718
* ``TestCase.make_branch_and_memory_tree`` now takes a format
 
9719
  option to set the BzrDir, Repository and Branch formats of the
 
9720
  created objects. (Robert Collins, John Arbash Meinel)
 
9721
 
 
9722
bzr 0.11
 
9723
########
 
9724
 
 
9725
:Released:  2006-10-02
 
9726
 
 
9727
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
9728
 
 
9729
bzr 0.11rc2
 
9730
###########
 
9731
 
 
9732
:Released:  2006-09-27
 
9733
 
 
9734
Bug Fixes
 
9735
*********
 
9736
 
 
9737
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
9738
 
 
9739
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
9740
  Arbash Meinel).
 
9741
 
 
9742
bzr 0.11rc1
 
9743
###########
 
9744
 
 
9745
:Released:  2006-09-25
 
9746
 
 
9747
Improvements
 
9748
************
 
9749
 
 
9750
* Knit files now wait to create their contents until the first data is
 
9751
  added. The old code used to create an empty .knit and a .kndx with just
 
9752
  the header. However, this caused a lot of extra round trips over sftp.
 
9753
  This can change the time for ``bzr push`` to create a new remote branch
 
9754
  from 160s down to 100s. This also affects ``bzr commit`` performance when
 
9755
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
9756
  down to 40s (John Arbash Meinel, #44692)
 
9757
 
 
9758
* When an entire subtree has been deleted, commit will now report that
 
9759
  just the top of the subtree has been deleted, rather than reporting
 
9760
  all the individual items. (Robert Collins)
 
9761
 
 
9762
* Commit performs one less XML parse. (Robert Collins)
 
9763
 
 
9764
* ``bzr checkout`` now operates on readonly branches as well
 
9765
  as readwrite branches. This fixes bug #39542. (Robert Collins)
 
9766
 
 
9767
* ``bzr bind`` no longer synchronises history with the master branch.
 
9768
  Binding should be followed by an update or push to synchronise the
 
9769
  two branches. This is closely related to the fix for bug #39542.
 
9770
  (Robert Collins)
 
9771
 
 
9772
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
 
9773
  objects.  This allows all imports to stay at the global scope, but
 
9774
  modules will not actually be imported if they are not used.
 
9775
  (John Arbash Meinel)
 
9776
 
 
9777
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
9778
  transport which will be used with the upcoming high-performance smart
 
9779
  server. The new command ``bzr serve`` will invoke bzr in server mode,
 
9780
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
9781
  Pool)
 
9782
 
 
9783
* New command ``bzr version-info`` which can be used to get a summary
 
9784
  of the current state of the tree. This is especially useful as part
 
9785
  of a build commands. See ``doc/version_info.txt`` for more information
 
9786
  (John Arbash Meinel)
 
9787
 
 
9788
Bug Fixes
 
9789
*********
 
9790
 
 
9791
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
9792
  specific set of files. (John Arbash Meinel, #3631)
 
9793
 
 
9794
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
9795
 
 
9796
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
9797
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
9798
  reading a nested Stanza. (John Arbash Meinel)
 
9799
 
 
9800
* Transform._set_mode() needs to stat the right file.
 
9801
  (John Arbash Meinel, #56549)
 
9802
 
 
9803
* Raise WeaveFormatError rather than StopIteration when trying to read
 
9804
  an empty Weave file. (John Arbash Meinel, #46871)
 
9805
 
 
9806
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
9807
  (Vincent Ladeuil, #59835)
 
9808
 
 
9809
* Handle boundary="" lines properly to allow access through a Squid proxy.
 
9810
  (John Arbash Meinel, #57723)
 
9811
 
 
9812
* revert now removes newly-added directories (Aaron Bentley, #54172)
 
9813
 
 
9814
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
 
9815
  isn't a working tree. (David Allouche, #40679)
 
9816
 
 
9817
* Give nicer error messages when a user supplies an invalid --revision
 
9818
  parameter. (John Arbash Meinel, #55420)
 
9819
 
 
9820
* Handle when LANG is not recognized by python. Emit a warning, but
 
9821
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
9822
 
 
9823
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
9824
  (John Arbash Meinel)
 
9825
 
 
9826
* Skip specific tests when the dependencies aren't met. This includes
 
9827
  some ``setup.py`` tests when ``python-dev`` is not available, and
 
9828
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
9829
 
 
9830
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
9831
  the system. (Andrew Bennetts, John Arbash Meinel)
 
9832
 
 
9833
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
9834
  other branch, and will not push or pull between the two branches.
 
9835
  API users will need to perform a push or pull or update operation if they
 
9836
  require branch synchronisation to take place. (Robert Collins, #47344)
 
9837
 
 
9838
* When creating a tarball or zipfile export, export unicode names as utf-8
 
9839
  paths. This may not work perfectly on all platforms, but has the best
 
9840
  chance of working in the common case. (John Arbash Meinel, #56816)
 
9841
 
 
9842
* When committing, only files that exist in working tree or basis tree
 
9843
  may be specified (Aaron Bentley, #50793)
 
9844
 
 
9845
Portability
 
9846
***********
 
9847
 
 
9848
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
9849
 
 
9850
Internals
 
9851
*********
 
9852
 
 
9853
* TestCaseInTempDir now creates a separate directory for HOME, rather
 
9854
  than having HOME set to the same location as the working directory.
 
9855
  (John Arbash Meinel)
 
9856
 
 
9857
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
9858
  which will update os.environ inside the spawned child. It also can
 
9859
  take a ``universal_newlines=True``, which helps when checking the output
 
9860
  of the command. (John Arbash Meinel)
 
9861
 
 
9862
* Refactor SFTP vendors to allow easier re-use when ssh is used.
 
9863
  (Andrew Bennetts)
 
9864
 
 
9865
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
9866
  return urlescaped paths. This is now tested (there were bugs in a few
 
9867
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
9868
 
 
9869
* New utility function ``symbol_versioning.deprecation_string``. Returns the
 
9870
  formatted string for a callable, deprecation format pair. (Robert Collins)
 
9871
 
 
9872
* New TestCase helper applyDeprecated. This allows you to call a callable
 
9873
  which is deprecated without it spewing to the screen, just by supplying
 
9874
  the deprecation format string issued for it. (Robert Collins)
 
9875
 
 
9876
* Transport.append and Transport.put have been deprecated in favor of
 
9877
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
9878
  ``.put_file``. This removes the ambiguity in what type of object the
 
9879
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
9880
  been added. Which works similarly to ``Transport.append()`` except for
 
9881
  SFTP, it doesn't have a round trip when opening the file. Also, it
 
9882
  provides functionality for creating a parent directory when trying
 
9883
  to create a file, rather than raise NoSuchFile and forcing the
 
9884
  caller to repeat their request.
 
9885
  (John Arbash Meinel)
 
9886
 
 
9887
* WorkingTree has a new api ``unversion`` which allow the unversioning of
 
9888
  entries by their file id. (Robert Collins)
 
9889
 
 
9890
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
9891
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
9892
 
 
9893
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
9894
  read rather than write. This is appropriate for actions which only need
 
9895
  the branch data for reference rather than mutation. A new decorator
 
9896
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
9897
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
 
9898
  declaration of the locking requirements of a function to ensure that
 
9899
  a lock is taken out for casual scripts. (Robert Collins, #54107)
 
9900
 
 
9901
* All WorkingTree methods which write to the tree, but not to the branch
 
9902
  have been converted to use ``needs_tree_write_lock`` rather than
 
9903
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
9904
  transform modules. This provides a modest performance improvement on
 
9905
  metadir style trees, due to the reduce lock-acquisition, and a more
 
9906
  significant performance improvement on lightweight checkouts from
 
9907
  remote branches, where trivial operations used to pay a significant
 
9908
  penalty. It also provides the basis for allowing readonly checkouts.
 
9909
  (Robert Collins)
 
9910
 
 
9911
* Special case importing the standard library 'copy' module. This shaves
 
9912
  off 40ms of startup time, while retaining compatibility. See:
 
9913
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
9914
 
 
9915
* WorkingTree has a new parent class MutableTree which represents the
 
9916
  specialisations of Tree which are able to be altered. (Robert Collins)
 
9917
 
 
9918
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
9919
  mutate the tree and its contents. (Robert Collins)
 
9920
 
 
9921
* Transport behaviour at the root of the URL is now defined and tested.
 
9922
  (Andrew Bennetts, Robert Collins)
 
9923
 
 
9924
Testing
 
9925
*******
 
9926
 
 
9927
* New test helper classs MemoryTree. This is typically accessed via
 
9928
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
9929
 
 
9930
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
9931
  code to continue running concurrently with a subprocess of bzr.
 
9932
  (Andrew Bennetts, Robert Collins)
 
9933
 
 
9934
* Add a new method ``Transport.get_smart_client()``. This is provided to
 
9935
  allow upgrades to a richer interface than the VFS one provided by
 
9936
  Transport. (Andrew Bennetts, Martin Pool)
 
9937
 
 
9938
bzr 0.10
 
9939
########
 
9940
 
 
9941
:Released:  2006-08-29
 
9942
 
 
9943
Improvements
 
9944
************
 
9945
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
9946
  tree.  (Aaron Bentley)
 
9947
 
 
9948
* 'bzr add --file-ids-from' can be used to specify another path to use
 
9949
  for creating file ids, rather than generating all new ones. Internally,
 
9950
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
9951
  will be used, rather than having bzrlib generate new ones.
 
9952
  (John Arbash Meinel, #55781)
 
9953
 
 
9954
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
9955
  This will cache some of the intermediate trees, and decrease the
 
9956
  setup time for benchmark tests. (John Arbash Meinel)
 
9957
 
 
9958
* Inverse forms are provided for all boolean options.  For example,
 
9959
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
9960
 
 
9961
* Serialize out Inventories directly, rather than using ElementTree.
 
9962
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
9963
  (Robert Collins, John Arbash Meinel)
 
9964
 
 
9965
Bug Fixes
 
9966
*********
 
9967
 
 
9968
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
9969
 
 
9970
* Change LockDir so that if the lock directory doesn't exist when
 
9971
  ``lock_write()`` is called, an attempt will be made to create it.
 
9972
  (John Arbash Meinel, #56974)
 
9973
 
 
9974
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
9975
 
 
9976
* Active FTP transport now works as intended. (ghozzy, #56472)
 
9977
 
 
9978
* Really fix mutter() so that it won't ever raise a UnicodeError.
 
9979
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
9980
  But it is a debugging log, not a real user file.
 
9981
  (John Arbash Meinel, #56947, #53880)
 
9982
 
 
9983
* Change Command handle to allow Unicode command and options.
 
9984
  At present we cannot register Unicode command names, so we will get
 
9985
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
9986
  But that is better than a UnicodeError + a traceback.
 
9987
  (John Arbash Meinel, #57123)
 
9988
 
 
9989
* Handle TZ=UTC properly when reading/writing revisions.
 
9990
  (John Arbash Meinel, #55783, #56290)
 
9991
 
 
9992
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
9993
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
9994
 
 
9995
* External diff does the right thing for binaries even in foreign
 
9996
  languages. (John Arbash Meinel, #56307)
 
9997
 
 
9998
* Testament handles more cases when content is unicode. Specific bug was
 
9999
  in handling of revision properties.
 
10000
  (John Arbash Meinel, Holger Krekel, #54723)
 
10001
 
 
10002
* The bzr selftest was failing on installed versions due to a bug in a new
 
10003
  test helper. (John Arbash Meinel, Robert Collins, #58057)
 
10004
 
 
10005
Internals
 
10006
*********
 
10007
 
 
10008
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
10009
  which can be used to cache the conversion between utf8 and Unicode.
 
10010
  Especially helpful for some of the knit annotation code, which has to
 
10011
  convert revision ids to utf8 to annotate lines in storage.
 
10012
  (John Arbash Meinel)
 
10013
 
 
10014
* ``setup.py`` now searches the filesystem to find all packages which
 
10015
  need to be installed. This should help make the life of packagers
 
10016
  easier. (John Arbash Meinel)
 
10017
 
 
10018
bzr 0.9.0
 
10019
#########
 
10020
 
 
10021
:Released:  2006-08-11
 
10022
 
 
10023
Surprises
 
10024
*********
 
10025
 
 
10026
* The hard-coded built-in ignore rules have been removed. There are
 
10027
  now two rulesets which are enforced. A user global one in
 
10028
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
10029
  specific one '.bzrignore'.
 
10030
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
10031
  a more conservative list than the old default.
 
10032
  This fixes bugs with default rules being enforced no matter what.
 
10033
  The old list of ignore rules from bzr is available by
 
10034
  running 'bzr ignore --old-default-rules'.
 
10035
  (Robert Collins, Martin Pool, John Arbash Meinel)
 
10036
 
 
10037
* 'branches.conf' has been changed to 'locations.conf', since it can apply
 
10038
  to more locations than just branch locations.
 
10039
  (Aaron Bentley)
 
10040
 
 
10041
Improvements
 
10042
************
 
10043
 
 
10044
* The revision specifier "revno:" is extended to accept the syntax
 
10045
  revno:N:branch. For example,
 
10046
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
10047
  bzr.dev.  (Matthieu Moy)
 
10048
 
 
10049
* Tests updates to ensure proper URL handling, UNICODE support, and
 
10050
  proper printing when the user's terminal encoding cannot display
 
10051
  the path of a file that has been versioned.
 
10052
  ``bzr branch`` can take a target URL rather than only a local directory.
 
10053
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
10054
  and normalize the parent based on root, allowing access across
 
10055
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
10056
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
10057
  #42517, #42514)
 
10058
 
 
10059
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
10060
  Use terminal width for single-line logs from ``bzr log --line`` and
 
10061
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
10062
  (Malone #3507)
 
10063
 
 
10064
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
10065
  (Alexander Belchenko)
 
10066
 
 
10067
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
10068
 
 
10069
* Show the correct number of revisions pushed when pushing a new branch.
 
10070
  (Robert Collins).
 
10071
 
 
10072
* 'bzr selftest' now shows a progress bar with the number of tests, and
 
10073
  progress made. 'make check' shows tests in -v mode, to be more useful
 
10074
  for the PQM status window. (Robert Collins).
 
10075
  When using a progress bar, failed tests are printed out, rather than
 
10076
  being overwritten by the progress bar until the suite finishes.
 
10077
  (John Arbash Meinel)
 
10078
 
 
10079
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
10080
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
10081
  profile data for the individual profiled calls, allowing for fine
 
10082
  grained analysis of performance.
 
10083
  (Robert Collins, Martin Pool).
 
10084
 
 
10085
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
10086
  where commit can take an appreciable time. (Robert Collins)
 
10087
 
 
10088
* 'bzr add' is now less verbose in telling you what ignore globs were
 
10089
  matched by files being ignored. Instead it just tells you how many
 
10090
  were ignored (because you might reasonably be expecting none to be
 
10091
  ignored). 'bzr add -v' is unchanged and will report every ignored
 
10092
  file. (Robert Collins).
 
10093
 
 
10094
* ftp now has a test server if medusa is installed. As part of testing,
 
10095
  ftp support has been improved, including support for supplying a
 
10096
  non-standard port. (John Arbash Meinel).
 
10097
 
 
10098
* 'bzr log --line' shows the revision number, and uses only the
 
10099
  first line of the log message (#5162, Alexander Belchenko;
 
10100
  Matthieu Moy)
 
10101
 
 
10102
* 'bzr status' has had the --all option removed. The 'bzr ls' command
 
10103
  should be used to retrieve all versioned files. (Robert Collins)
 
10104
 
 
10105
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
10106
  over email, and applied on the other end, while maintaining ancestry.
 
10107
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
10108
  the same way you would apply another branch.
 
10109
  (John Arbash Meinel, Aaron Bentley)
 
10110
 
 
10111
* 'bzr whoami' can now be used to set your identity from the command line,
 
10112
  for a branch or globally.  (Robey Pointer)
 
10113
 
 
10114
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
10115
  (Michael Ellerman)
 
10116
 
 
10117
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
10118
  (Aaron Bentley)
 
10119
 
 
10120
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
10121
  Also updates things like 'http+pycurl://' if pycurl is not present.
 
10122
  (John Arbash Meinel) (Malone #47821, #52204)
 
10123
 
 
10124
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
10125
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
 
10126
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
10127
 
 
10128
* Improve the help text for 'bzr diff' to explain what various options do.
 
10129
  (John Arbash Meinel, #6391)
 
10130
 
 
10131
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
10132
  revision 10. This makes -r10 more in line with what other commands do.
 
10133
  'bzr uncommit' also now saves the pending merges of the revisions that
 
10134
  were removed. So it is safe to uncommit after a merge, fix something,
 
10135
  and commit again. (John Arbash Meinel, #32526, #31426)
 
10136
 
 
10137
* 'bzr init' now also works on remote locations.
 
10138
  (Wouter van Heyst, #48904)
 
10139
 
 
10140
* HTTP support has been updated. When using pycurl we now support
 
10141
  connection keep-alive, which reduces dns requests and round trips.
 
10142
  And for both urllib and pycurl we support multi-range requests,
 
10143
  which decreases the number of round-trips. Performance results for
 
10144
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
10145
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
 
10146
  branch is as much as 4x faster.
 
10147
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
10148
 
 
10149
* Performance improvements for sftp. Branching and pulling are now up to
 
10150
  2x faster. Utilize paramiko.readv() support for async requests if it
 
10151
  is available (paramiko > 1.6) (John Arbash Meinel)
 
10152
 
 
10153
Bug Fixes
 
10154
*********
 
10155
 
 
10156
* Fix shadowed definition of TestLocationConfig that caused some
 
10157
  tests not to run.
 
10158
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
10159
 
 
10160
* Fix unnecessary requirement of sign-my-commits that it be run from
 
10161
  a working directory.  (Martin Pool, Robert Collins)
 
10162
 
 
10163
* 'bzr push location' will only remember the push location if it succeeds
 
10164
  in connecting to the remote location. (John Arbash Meinel, #49742)
 
10165
 
 
10166
* 'bzr revert' no longer toggles the executable bit on win32
 
10167
  (John Arbash Meinel, #45010)
 
10168
 
 
10169
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
10170
 
 
10171
* sftp tests now work correctly on win32 if you have a newer paramiko
 
10172
  (John Arbash Meinel)
 
10173
 
 
10174
* Cleanup win32 test suite, and general cleanup of places where
 
10175
  file handles were being held open. (John Arbash Meinel)
 
10176
 
 
10177
* When specifying filenames for 'diff -r x..y', the name of the file in the
 
10178
  working directory can be used, even if its name is different in both x
 
10179
  and y.
 
10180
 
 
10181
* File-ids containing single- or double-quotes are handled correctly by
 
10182
  push. (Aaron Bentley, #52227)
 
10183
 
 
10184
* Normalize unicode filenames to ensure cross-platform consistency.
 
10185
  (John Arbash Meinel, #43689)
 
10186
 
 
10187
* The argument parser can now handle '-' as an argument. Currently
 
10188
  no code interprets it specially (it is mostly handled as a file named
 
10189
  '-'). But plugins, and future operations can use it.
 
10190
  (John Arbash meinel, #50984)
 
10191
 
 
10192
* Bundles can properly read binary files with a plain '\r' in them.
 
10193
  (John Arbash Meinel, #51927)
 
10194
 
 
10195
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
10196
 
 
10197
* Lots of win32 fixes (the test suite passes again).
 
10198
  (John Arbash Meinel, #50155)
 
10199
 
 
10200
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
 
10201
 
 
10202
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
10203
 
 
10204
* Removals are only committed if they match the filespec (or if there is
 
10205
  no filespec).  (#46635, Aaron Bentley)
 
10206
 
 
10207
* smart-add recurses through all supplied directories
 
10208
  (John Arbash Meinel, #52578)
 
10209
 
 
10210
* Make the bundle reader extra lines before and after the bundle text.
 
10211
  This allows you to parse an email with the bundle inline.
 
10212
  (John Arbash Meinel, #49182)
 
10213
 
 
10214
* Change the file id generator to squash a little bit more. Helps when
 
10215
  working with long filenames on windows. (Also helps for unicode filenames
 
10216
  not generating hidden files). (John Arbash Meinel, #43801)
 
10217
 
 
10218
* Restore terminal mode on C-c while reading sftp password.  (#48923,
 
10219
  Nicholas Allen, Martin Pool)
 
10220
 
 
10221
* Timestamps are rounded to 1ms, and revision entries can be recreated
 
10222
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
10223
 
 
10224
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
10225
  use local paths, since it is user visible (John Arbash Meinel, #53653)
 
10226
 
 
10227
* ``bzr status foo`` when foo was unversioned used to cause a full delta
 
10228
  to be generated (John Arbash Meinel, #53638)
 
10229
 
 
10230
* When reading revision properties, an empty value should be considered
 
10231
  the empty string, not None (John Arbash Meinel, #47782)
 
10232
 
 
10233
* ``bzr diff --diff-options`` can now handle binary files being changed.
 
10234
  Also, the output is consistent when --diff-options is not supplied.
 
10235
  (John Arbash Meinel, #54651, #52930)
 
10236
 
 
10237
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
10238
 
 
10239
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
 
10240
  accessible (John Arbash Meinel, #52976)
 
10241
 
 
10242
Internals
 
10243
*********
 
10244
 
 
10245
* Combine the ignore rules into a single regex rather than looping over
 
10246
  them to reduce the threshold where  N^2 behaviour occurs in operations
 
10247
  like status. (Jan Hudec, Robert Collins).
 
10248
 
 
10249
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
10250
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
10251
 
 
10252
* 'bzr push' should only push the ancestry of the current revision, not
 
10253
  all of the history in the repository. This is especially important for
 
10254
  shared repositories. (John Arbash Meinel)
 
10255
 
 
10256
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
10257
  rather than randomly walking the inventories. (John Arbash Meinel)
 
10258
 
 
10259
* Doctests are now run in temporary directories which are cleaned up when
 
10260
  they finish, rather than using special ScratchDir/ScratchBranch objects.
 
10261
  (Martin Pool)
 
10262
 
 
10263
* Split ``check`` into separate methods on the branch and on the repository,
 
10264
  so that it can be specialized in ways that are useful or efficient for
 
10265
  different formats.  (Martin Pool, Robert Collins)
 
10266
 
 
10267
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
10268
  the global revision graph but only that part leading up to a particular
 
10269
  revision.  (Martin Pool, Robert Collins)
 
10270
 
 
10271
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
10272
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
10273
  (Robert Collins, Jelmer Vernooij).
 
10274
 
 
10275
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
10276
  Uses subprocess instead of spawnvp.
 
10277
  (James Henstridge, John Arbash Meinel, #4047, #48914)
 
10278
 
 
10279
* New command line option '--profile-imports', which will install a custom
 
10280
  importer to log time to import modules and regex compilation time to
 
10281
  sys.stderr (John Arbash Meinel)
 
10282
 
 
10283
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
10284
  instead. (Robert Collins)
 
10285
 
 
10286
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
10287
 
 
10288
bzr 0.8.2
 
10289
#########
 
10290
 
 
10291
:Released:  2006-05-17
 
10292
 
 
10293
Bug Fixes
 
10294
*********
 
10295
 
 
10296
* setup.py failed to install launchpad plugin.  (Martin Pool)
 
10297
 
 
10298
bzr 0.8.1
 
10299
#########
 
10300
 
 
10301
:Released:  2006-05-16
 
10302
 
 
10303
Bug Fixes
 
10304
*********
 
10305
 
 
10306
* Fix failure to commit a merge in a checkout.  (Martin Pool,
 
10307
  Robert Collins, Erik Bågfors, #43959)
 
10308
 
 
10309
* Nicer messages from 'commit' in the case of renames, and correct
 
10310
  messages when a merge has occured. (Robert Collins, Martin Pool)
 
10311
 
 
10312
* Separate functionality from assert statements as they are skipped in
 
10313
  optimized mode of python. Add the same check to pending merges.
 
10314
  (Olaf Conradi, #44443)
 
10315
 
 
10316
Changes
 
10317
*******
 
10318
 
 
10319
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
10320
 
 
10321
* Add info on standalone branches without a working tree.
 
10322
  (Olaf Conradi, #44155)
 
10323
 
 
10324
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
10325
 
 
10326
Changes
 
10327
*******
 
10328
 
 
10329
* Make editor invocation comply with Debian Policy. First check
 
10330
  environment variables VISUAL and EDITOR, then try editor from
 
10331
  alternatives system. If that all fails, fall back to the pre-defined
 
10332
  list of editors. (Olaf Conradi, #42904)
 
10333
 
 
10334
New Features
 
10335
************
 
10336
 
 
10337
* New 'register-branch' command registers a public branch into
 
10338
  Launchpad.net, where it can be associated with bugs, etc.
 
10339
  (Martin Pool, Bjorn Tillenius, Robert Collins)
 
10340
 
 
10341
Internals
 
10342
*********
 
10343
 
 
10344
* New public api in InventoryEntry - ``describe_change(old, new)`` which
 
10345
  provides a human description of the changes between two old and
 
10346
  new. (Robert Collins, Martin Pool)
 
10347
 
 
10348
Testing
 
10349
*******
 
10350
 
 
10351
* Fix test case for bzr info in upgrading a standalone branch to metadir,
 
10352
  uses bzrlib api now. (Olaf Conradi)
 
10353
 
 
10354
bzr 0.8
 
10355
#######
 
10356
 
 
10357
:Released:  2006-05-08
 
10358
 
 
10359
Notes When Upgrading
 
10360
********************
 
10361
 
 
10362
Release 0.8 of bzr introduces a new format for history storage, called
 
10363
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
 
10364
and remote operations are faster using knits than weaves.  Several
 
10365
operations including 'init', 'init-repo', and 'upgrade' take a
 
10366
--format option that controls this.  Branching from an existing branch
 
10367
will keep the same format.
 
10368
 
 
10369
It is possible to merge, pull and push between branches of different
 
10370
formats but this is slower than moving data between homogenous
 
10371
branches.  It is therefore recommended (but not required) that you
 
10372
upgrade all branches for a project at the same time.  Information on
 
10373
formats is shown by 'bzr info'.
 
10374
 
 
10375
bzr 0.8 now allows creation of 'repositories', which hold the history
 
10376
of files and revisions for several branches.  Previously bzr kept all
 
10377
the history for a branch within the .bzr directory at the root of the
 
10378
branch, and this is still the default.  To create a repository, use
 
10379
the new 'bzr init-repo' command.  Branches exist as directories under
 
10380
the repository and contain just a small amount of information
 
10381
indicating the current revision of the branch.
 
10382
 
 
10383
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
10384
subversion.  Checkouts are associated with a branch (optionally in a
 
10385
repository), which contains all the historical information.  The
 
10386
result is that a checkout can be deleted without losing any
 
10387
already-committed revisions.  A new 'update' command is also available.
 
10388
 
 
10389
Repositories and checkouts are not supported with the 0.7 storage
 
10390
format.  To use them you must upgrad to either knits, or to the
 
10391
'metaweave' format, which uses weaves but changes the .bzr directory
 
10392
arrangement.
 
10393
 
 
10394
 
 
10395
Improvements
 
10396
************
 
10397
 
 
10398
* sftp paths can now be relative, or local, according to the lftp
 
10399
  convention. Paths now take the form::
 
10400
 
 
10401
      sftp://user:pass@host:port/~/relative/path
 
10402
      or
 
10403
      sftp://user:pass@host:port/absolute/path
 
10404
 
 
10405
* The FTP transport now tries to reconnect after a temporary
 
10406
  failure. ftp put is made atomic. (Matthieu Moy)
 
10407
 
 
10408
* The FTP transport now maintains a pool of connections, and
 
10409
  reuses them to avoid multiple connections to the same host (like
 
10410
  sftp did). (Daniel Silverstone)
 
10411
 
 
10412
* The ``bzr_man.py`` file has been removed. To create the man page now,
 
10413
  use ``./generate_docs.py man``. The new program can also create other files.
 
10414
  Run ``python generate_docs.py --help`` for usage information.
 
10415
  (Hans Ulrich Niedermann & James Blackwell).
 
10416
 
 
10417
* Man Page now gives full help (James Blackwell).
 
10418
  Help also updated to reflect user config now being stored in .bazaar
 
10419
  (Hans Ulrich Niedermann)
 
10420
 
 
10421
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
10422
 
 
10423
* Pull now accepts a --revision argument (Erik Bågfors)
 
10424
 
 
10425
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
10426
  line. You can now use the following command to sign all of your old
 
10427
  commits::
 
10428
 
 
10429
    find .bzr/revision-store// -name my@email-* \
 
10430
      | sed 's/.*\/\/..\///' \
 
10431
      | xargs bzr re-sign
 
10432
 
 
10433
* Upgrade can now upgrade over the network. (Robert Collins)
 
10434
 
 
10435
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
10436
  behaviour.  By default they will cache history in the checkout, but
 
10437
  with --lightweight almost all data is kept in the master branch.
 
10438
  (Robert Collins)
 
10439
 
 
10440
* 'revert' unversions newly-versioned files, instead of deleting them.
 
10441
 
 
10442
* 'merge' is more robust.  Conflict messages have changed.
 
10443
 
 
10444
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
10445
  '.moved'.
 
10446
 
 
10447
* Default log format can be set in configuration and plugins can register
 
10448
  their own formatters. (Erik Bågfors)
 
10449
 
 
10450
* New 'reconcile' command will check branch consistency and repair indexes
 
10451
  that can become out of sync in pre 0.8 formats. (Robert Collins,
 
10452
  Daniel Silverstone)
 
10453
 
 
10454
* New 'bzr init --format' and 'bzr upgrade --format' option to control
 
10455
  what storage format is created or produced.  (Robert Collins,
 
10456
  Martin Pool)
 
10457
 
 
10458
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
10459
 
 
10460
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
10461
 
 
10462
* New 'init-repository' command, plus support for repositories in 'init'
 
10463
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
10464
 
 
10465
* Improve output of 'info' command. Show all relevant locations related to
 
10466
  working tree, branch and repository. Use kibibytes for binary quantities.
 
10467
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
10468
  work on branches, repositories and remote locations.  Show locations
 
10469
  relative to the shared repository, if applicable.  Show locking status
 
10470
  of locations.  (Olaf Conradi)
 
10471
 
 
10472
* Diff and merge now safely handle binary files. (Aaron Bentley)
 
10473
 
 
10474
* 'pull' and 'push' now normalise the revision history, so that any two
 
10475
  branches with the same tip revision will have the same output from 'log'.
 
10476
  (Robert Collins)
 
10477
 
 
10478
* 'merge' accepts --remember option to store parent location, like 'push'
 
10479
  and 'pull'. (Olaf Conradi)
 
10480
 
 
10481
* bzr status and diff when files given as arguments do not exist
 
10482
  in the relevant trees.  (Martin Pool, #3619)
 
10483
 
 
10484
* Add '.hg' to the default ignore list.  (Martin Pool)
 
10485
 
 
10486
* 'knit' is now the default disk format. This improves disk performance and
 
10487
  utilization, increases incremental pull performance, robustness with SFTP
 
10488
  and allows checkouts over SFTP to perform acceptably.
 
10489
  The initial Knit code was contributed by Johan Rydberg based on a
 
10490
  specification by Martin Pool.
 
10491
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
10492
 
 
10493
* New tool to generate all-in-one html version of the manual.  (Alexander
 
10494
  Belchenko)
 
10495
 
 
10496
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
10497
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
10498
 
 
10499
* New option 'diff --prefix' to control how files are named in diff
 
10500
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
 
10501
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
10502
 
 
10503
* Add --revision option to 'annotate' command.  (Olaf Conradi)
 
10504
 
 
10505
* If bzr shows an unexpected revision-history after pulling (perhaps due
 
10506
  to a reweave) it can now be corrected by 'bzr reconcile'.
 
10507
  (Robert Collins)
 
10508
 
 
10509
Changes
 
10510
*******
 
10511
 
 
10512
* Commit is now verbose by default, and shows changed filenames and the
 
10513
  new revision number.  (Robert Collins, Martin Pool)
 
10514
 
 
10515
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
10516
 
 
10517
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
10518
 
 
10519
* Make 'pull' and 'push' remember location on failure using --remember.
 
10520
  (Olaf Conradi)
 
10521
 
 
10522
* For compatibility, make old format for using weaves inside metadir
 
10523
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
10524
  Clean up help for option --format in commands 'init', 'init-repo' and
 
10525
  'upgrade'.  (Olaf Conradi)
 
10526
 
 
10527
Internals
 
10528
*********
 
10529
 
 
10530
* The internal storage of history, and logical branch identity have now
 
10531
  been split into Branch, and Repository. The common locking and file
 
10532
  management routines are now in bzrlib.lockablefiles.
 
10533
  (Aaron Bentley, Robert Collins, Martin Pool)
 
10534
 
 
10535
* Transports can now raise DependencyNotPresent if they need a library
 
10536
  which is not installed, and then another implementation will be
 
10537
  tried.  (Martin Pool)
 
10538
 
 
10539
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
 
10540
  (Martin Pool)
 
10541
 
 
10542
* Using Tree Transform for merge, revert, tree-building
 
10543
 
 
10544
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
10545
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
10546
  replacement API's. (Robert Collins)
 
10547
 
 
10548
* New BzrDir class represents the .bzr control directory and manages
 
10549
  formatting issues. (Robert Collins)
 
10550
 
 
10551
* New repository.InterRepository class encapsulates Repository to
 
10552
  Repository actions and allows for clean selection of optimised code
 
10553
  paths. (Robert Collins)
 
10554
 
 
10555
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
10556
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
10557
  depending on your needs. (Robert Collins)
 
10558
 
 
10559
* deprecated methods now have a ``is_deprecated`` flag on them that can
 
10560
  be checked, if you need to determine whether a given callable is
 
10561
  deprecated at runtime. (Robert Collins)
 
10562
 
 
10563
* Progress bars are now nested - see
 
10564
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
10565
  (Robert Collins, Robey Pointer)
 
10566
 
 
10567
* New API call ``get_format_description()`` for each type of format.
 
10568
  (Olaf Conradi)
 
10569
 
 
10570
* Changed ``branch.set_parent()`` to accept None to remove parent.
 
10571
  (Olaf Conradi)
 
10572
 
 
10573
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
10574
 
 
10575
* WorkingTree.branch is now a read only property.  (Robert Collins)
 
10576
 
 
10577
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
10578
  can be None or a factory that will create a progress bar. This is
 
10579
  useful for testing or for overriding the bzrlib.progress heuristic.
 
10580
  (Robert Collins)
 
10581
 
 
10582
* New API method ``get_physical_lock_status()`` to query locks present on a
 
10583
  transport.  (Olaf Conradi)
 
10584
 
 
10585
* Repository.reconcile now takes a thorough keyword parameter to allow
 
10586
  requesting an indepth reconciliation, rather than just a data-loss
 
10587
  check. (Robert Collins)
 
10588
 
 
10589
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
10590
  the user for yes/no style input. (Robert Collins)
 
10591
 
 
10592
Testing
 
10593
*******
 
10594
 
 
10595
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
10596
  for testing SFTP protocol support. (Robey Pointer)
 
10597
 
 
10598
* Branch formats are now tested once per implementation (see ``bzrlib.
 
10599
  tests.branch_implementations``. This is analagous to the transport
 
10600
  interface tests, and has been followed up with working tree,
 
10601
  repository and BzrDir tests. (Robert Collins)
 
10602
 
 
10603
* New test base class TestCaseWithTransport provides a transport aware
 
10604
  test environment, useful for testing any transport-interface using
 
10605
  code. The test suite option --transport controls the transport used
 
10606
  by this class (when its not being used as part of implementation
 
10607
  contract testing). (Robert Collins)
 
10608
 
 
10609
* Close logging handler on disabling the test log. This will remove the
 
10610
  handler from the internal list inside python's logging module,
 
10611
  preventing shutdown from closing it twice.  (Olaf Conradi)
 
10612
 
 
10613
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
10614
 
 
10615
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
10616
  parameter which will provide String("foo") to the command as its stdin.
 
10617
 
 
10618
bzr 0.7
 
10619
#######
 
10620
 
 
10621
:Released: 2006-01-09
 
10622
 
 
10623
Changes
 
10624
*******
 
10625
 
 
10626
* .bzrignore is excluded from exports, on the grounds that it's a bzr
 
10627
  internal-use file and may not be wanted.  (Jamie Wilkinson)
 
10628
 
 
10629
* The "bzr directories" command were removed in favor of the new
 
10630
  --kind option to the "bzr inventory" command.  To list all
 
10631
  versioned directories, now use "bzr inventory --kind directory".
 
10632
  (Johan Rydberg)
 
10633
 
 
10634
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
10635
  by default. (John Arbash Meinel)
 
10636
 
 
10637
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
10638
  environment variable. Now the path for it is searched in ``BZR_HOME``,
 
10639
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
10640
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
10641
  ``HOME``. (John Arbash Meinel)
 
10642
 
 
10643
* Plugins with the same name in different directories in the bzr plugin
 
10644
  path are no longer loaded: only the first successfully loaded one is
 
10645
  used. (Robert Collins)
 
10646
 
 
10647
* Use systems' external ssh command to open connections if possible.
 
10648
  This gives better integration with user settings such as ProxyCommand.
 
10649
  (James Henstridge)
 
10650
 
 
10651
* Permissions on files underneath .bzr/ are inherited from the .bzr
 
10652
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
10653
  will mean that future file will be created with group write permissions.
 
10654
 
 
10655
* configure.in and config.guess are no longer in the builtin default
 
10656
  ignore list.
 
10657
 
 
10658
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
10659
  files.  (John Arbash Meinel, Martin Pool)
 
10660
 
 
10661
Improvements
 
10662
************
 
10663
 
 
10664
* "bzr INIT dir" now initializes the specified directory, and creates
 
10665
  it if it does not exist.  (John Arbash Meinel)
 
10666
 
 
10667
* New remerge command (Aaron Bentley)
 
10668
 
 
10669
* Better zsh completion script.  (Steve Borho)
 
10670
 
 
10671
* 'bzr diff' now returns 1 when there are changes in the working
 
10672
  tree. (Robert Collins)
 
10673
 
 
10674
* 'bzr push' now exists and can push changes to a remote location.
 
10675
  This uses the transport infrastructure, and can store the remote
 
10676
  location in the ~/.bazaar/branches.conf configuration file.
 
10677
  (Robert Collins)
 
10678
 
 
10679
* Test directories are only kept if the test fails and the user requests
 
10680
  that they be kept.
 
10681
 
 
10682
* Tweaks to short log printing
 
10683
 
 
10684
* Added branch nicks, new nick command, printing them in log output.
 
10685
  (Aaron Bentley)
 
10686
 
 
10687
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
 
10688
  occurs.  (Martin Pool)
 
10689
 
 
10690
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
10691
  the same as Subversion.  (Martin Pool)
 
10692
 
 
10693
* New ftp transport support (on ftplib), for ftp:// and aftp://
 
10694
  URLs.  (Daniel Silverstone)
 
10695
 
 
10696
* Commit editor temporary files now start with ``bzr_log.``, to allow
 
10697
  text editors to match the file name and set up appropriate modes or
 
10698
  settings.  (Magnus Therning)
 
10699
 
 
10700
* Improved performance when integrating changes from a remote weave.
 
10701
  (Goffredo Baroncelli)
 
10702
 
 
10703
* Sftp will attempt to cache the connection, so it is more likely that
 
10704
  a connection will be reused, rather than requiring multiple password
 
10705
  requests.
 
10706
 
 
10707
* bzr revno now takes an optional argument indicating the branch whose
 
10708
  revno should be printed.  (Michael Ellerman)
 
10709
 
 
10710
* bzr cat defaults to printing the last version of the file.
 
10711
  (Matthieu Moy, #3632)
 
10712
 
 
10713
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
 
10714
  profiler.  (Denys Duchier)
 
10715
 
 
10716
* Faster commits by reading only the headers of affected weave files.
 
10717
  (Denys Duchier)
 
10718
 
 
10719
* 'bzr add' now takes a --dry-run parameter which shows you what would be
 
10720
  added, but doesn't actually add anything. (Michael Ellerman)
 
10721
 
 
10722
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
10723
  lists the specific files.  (Aaron Bentley)
 
10724
 
 
10725
* 'bzr missing' now supports displaying changes in diverged trees and can
 
10726
  be limited to show what either end of the comparison is missing.
 
10727
  (Aaron Bently, with a little prompting from Daniel Silverstone)
 
10728
 
 
10729
Bug Fixes
 
10730
*********
 
10731
 
 
10732
* SFTP can walk up to the root path without index errors. (Robert Collins)
 
10733
 
 
10734
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
10735
 
 
10736
* Error when run with -OO
 
10737
 
 
10738
* Fix bug in reporting http errors that don't have an http error code.
 
10739
  (Martin Pool)
 
10740
 
 
10741
* Handle more cases of pipe errors in display commands
 
10742
 
 
10743
* Change status to 3 for all errors
 
10744
 
 
10745
* Files that are added and unlinked before committing are completely
 
10746
  ignored by diff and status
 
10747
 
 
10748
* Stores with some compressed texts and some uncompressed texts are now
 
10749
  able to be used. (John A Meinel)
 
10750
 
 
10751
* Fix for bzr pull failing sometimes under windows
 
10752
 
 
10753
* Fix for sftp transport under windows when using interactive auth
 
10754
 
 
10755
* Show files which are both renamed and modified as such in 'bzr
 
10756
  status' output.  (Daniel Silverstone, #4503)
 
10757
 
 
10758
* Make annotate cope better with revisions committed without a valid
 
10759
  email address.  (Marien Zwart)
 
10760
 
 
10761
* Fix representation of tab characters in commit messages.
 
10762
  (Harald Meland)
 
10763
 
 
10764
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
10765
  now parsed properly under Windows. (Alexander Belchenko)
 
10766
 
 
10767
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
10768
 
 
10769
* Keep a cached copy of the basis inventory to speed up operations
 
10770
  that need to refer to it.  (Johan Rydberg, Martin Pool)
 
10771
 
 
10772
* Fix bugs in bzr status display of non-ascii characters.
 
10773
  (Martin Pool)
 
10774
 
 
10775
* Remove Makefile.in from default ignore list.
 
10776
  (Tollef Fog Heen, Martin Pool, #6413)
 
10777
 
 
10778
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
10779
 
 
10780
Testing
 
10781
*******
 
10782
 
 
10783
* Fix selftest asking for passwords when there are no SFTP keys.
 
10784
  (Robey Pointer, Jelmer Vernooij)
 
10785
 
 
10786
* Fix selftest run with 'python -O'.  (Martin Pool)
 
10787
 
 
10788
* Fix HTTP tests under Windows. (John Arbash Meinel)
 
10789
 
 
10790
* Make tests work even if HOME is not set (Aaron Bentley)
 
10791
 
 
10792
* Updated ``build_tree`` to use fixed line-endings for tests which read
 
10793
  the file cotents and compare. Make some tests use this to pass under
 
10794
  Windows. (John Arbash Meinel)
 
10795
 
 
10796
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
10797
 
 
10798
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
10799
  (John Arbash Meinel)
 
10800
 
 
10801
* Use terminal width to align verbose test output.  (Martin Pool)
 
10802
 
 
10803
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
10804
  If adding a new test script please add that to
 
10805
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
10806
 
 
10807
* Much better error message if one of the test suites can't be
 
10808
  imported.  (Martin Pool)
 
10809
 
 
10810
* Make check now runs the test suite twice - once with the default locale,
 
10811
  and once with all locales forced to C, to expose bugs. This is not
 
10812
  trivially done within python, so for now its only triggered by running
 
10813
  Make check. Integrators and packagers who wish to check for full
 
10814
  platform support should run 'make check' to test the source.
 
10815
  (Robert Collins)
 
10816
 
 
10817
* Tests can now run TestSkipped if they can't execute for any reason.
 
10818
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
10819
  reasons - see the wiki spec ImprovingBzrTestSuite).
 
10820
 
 
10821
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
10822
  paths for the transport tests. Introduce blackbox remote sftp tests that
 
10823
  test the same permutations. (Robert Collins, Robey Pointer)
 
10824
 
 
10825
* Transport implementation tests are now independent of the local file
 
10826
  system, which allows tests for esoteric transports, and for features
 
10827
  not available in the local file system. They also repeat for variations
 
10828
  on the URL scheme that can introduce issues in the transport code,
 
10829
  see bzrlib.transport.TransportTestProviderAdapter() for this.
 
10830
  (Robert Collins).
 
10831
 
 
10832
* ``TestCase.build_tree`` uses the transport interface to build trees,
 
10833
  pass in a transport parameter to give it an existing connection.
 
10834
  (Robert Collins).
 
10835
 
 
10836
Internals
 
10837
*********
 
10838
 
 
10839
* WorkingTree.pull has been split across Branch and WorkingTree,
 
10840
  to allow Branch only pulls. (Robert Collins)
 
10841
 
 
10842
* ``commands.display_command`` now returns the result of the decorated
 
10843
  function. (Robert Collins)
 
10844
 
 
10845
* LocationConfig now has a ``set_user_option(key, value)`` call to save
 
10846
  a setting in its matching location section (a new one is created
 
10847
  if needed). (Robert Collins)
 
10848
 
 
10849
* Branch has two new methods, ``get_push_location`` and
 
10850
  ``set_push_location`` to respectively, get and set the push location.
 
10851
  (Robert Collins)
 
10852
 
 
10853
* ``commands.register_command`` now takes an optional flag to signal that
 
10854
  the registrant is planning to decorate an existing command. When
 
10855
  given multiple plugins registering a command is not an error, and
 
10856
  the original command class (whether built in or a plugin based one) is
 
10857
  returned to the caller. There is a new error 'MustUseDecorated' for
 
10858
  signalling when a wrapping command should switch to the original
 
10859
  version. (Robert Collins)
 
10860
 
 
10861
* Some option parsing errors will raise 'BzrOptionError', allowing
 
10862
  granular detection for decorating commands. (Robert Collins).
 
10863
 
 
10864
* ``Branch.read_working_inventory`` has moved to
 
10865
  ``WorkingTree.read_working_inventory``. This necessitated changes to
 
10866
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
10867
  WorkingTree as well. To make it clear that a WorkingTree cannot always
 
10868
  be obtained ``Branch.working_tree()`` will raise
 
10869
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
10870
 
 
10871
* All pending merges operations from Branch are now on WorkingTree.
 
10872
  (Robert Collins)
 
10873
 
 
10874
* The follow operations from Branch have moved to WorkingTree::
 
10875
 
 
10876
      add()
 
10877
      commit()
 
10878
      move()
 
10879
      rename_one()
 
10880
      unknowns()
 
10881
 
 
10882
  (Robert Collins)
 
10883
 
 
10884
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
10885
 
 
10886
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
10887
 
 
10888
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
 
10889
  Pool)
 
10890
 
 
10891
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
 
10892
  query method. (Robert Collins)
 
10893
 
 
10894
* New options to read only the table-of-contents of a weave.
 
10895
  (Denys Duchier)
 
10896
 
 
10897
* Raise NoSuchFile when someone tries to add a non-existant file.
 
10898
  (Michael Ellerman)
 
10899
 
 
10900
* Simplify handling of DivergedBranches in ``cmd_pull()``.
 
10901
  (Michael Ellerman)
 
10902
 
 
10903
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
10904
  is exposed as ``Branch().control_files``. Also this has been altered with the
 
10905
  controlfile pre/suffix replaced by simple method names like 'get' and
 
10906
  'put'. (Aaron Bentley, Robert Collins).
 
10907
 
 
10908
* Deprecated functions and methods can now be marked as such using the
 
10909
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
10910
  updated and will issue a DeprecationWarning using the warnings module
 
10911
  when they are used. (Robert Collins)
 
10912
 
 
10913
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
10914
  for functions that need unicode strings. (Robert Collins)
 
10915
 
 
10916
bzr 0.6
 
10917
#######
 
10918
 
 
10919
:Released: 2005-10-28
 
10920
 
 
10921
Improvements
 
10922
************
 
10923
 
 
10924
* pull now takes --verbose to show you what revisions are added or removed
 
10925
  (John A Meinel)
 
10926
 
 
10927
* merge now takes a --show-base option to include the base text in
 
10928
  conflicts.
 
10929
  (Aaron Bentley)
 
10930
 
 
10931
* The config files are now read using ConfigObj, so '=' should be used as
 
10932
  a separator, not ':'.
 
10933
  (Aaron Bentley)
 
10934
 
 
10935
* New 'bzr commit --strict' option refuses to commit if there are
 
10936
  any unknown files in the tree.  To commit, make sure all files are
 
10937
  either ignored, added, or deleted.  (Michael Ellerman)
 
10938
 
 
10939
* The config directory is now ~/.bazaar, and there is a single file
 
10940
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
10941
  (Robert Collins)
 
10942
 
 
10943
* 'bzr add' no longer takes a --verbose option, and a --quiet option
 
10944
  has been added that suppresses all output.
 
10945
 
 
10946
* Improved zsh completion support in contrib/zsh, from Clint
 
10947
  Adams.
 
10948
 
 
10949
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
 
10950
  Goffredo Baroncelli.
 
10951
 
 
10952
* 'bzr check' now accepts -v for verbose reporting, and checks for
 
10953
  ghosts in the branch. (Robert Collins)
 
10954
 
 
10955
* New command 're-sign' which will regenerate the gpg signature for
 
10956
  a revision. (Robert Collins)
 
10957
 
 
10958
* If you set ``check_signatures=require`` for a path in
 
10959
  ``~/.bazaar/branches.conf`` then bzr will invoke your
 
10960
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
10961
  of your commit. (Robert Collins)
 
10962
 
 
10963
* New sftp transport, based on Paramiko.  (Robey Pointer)
 
10964
 
 
10965
* 'bzr pull' now accepts '--clobber' which will discard local changes
 
10966
  and make this branch identical to the source branch. (Robert Collins)
 
10967
 
 
10968
* Just give a quieter warning if a plugin can't be loaded, and
 
10969
  put the details in .bzr.log.  (Martin Pool)
 
10970
 
 
10971
* 'bzr branch' will now set the branch-name to the last component of the
 
10972
  output directory, if one was supplied.
 
10973
 
 
10974
* If the option ``post_commit`` is set to one (or more) python function
 
10975
  names (must be in the bzrlib namespace), then they will be invoked
 
10976
  after the commit has completed, with the branch and ``revision_id`` as
 
10977
  parameters. (Robert Collins)
 
10978
 
 
10979
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
10980
 
 
10981
* --merge-type weave is now supported for file contents.  Tree-shape
 
10982
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
10983
 
 
10984
* 'bzr check' allows the first revision on revision-history to have
 
10985
  parents - something that is expected for cheap checkouts, and occurs
 
10986
  when conversions from baz do not have all history.  (Robert Collins).
 
10987
 
 
10988
* 'bzr merge' can now graft unrelated trees together, if your specify
 
10989
  0 as a base. (Aaron Bentley)
 
10990
 
 
10991
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
10992
  (Aaron Bentley)
 
10993
 
 
10994
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
10995
 
 
10996
* 'bzr merge --reprocess' minimizes conflicts
 
10997
 
 
10998
Testing
 
10999
*******
 
11000
 
 
11001
* The 'bzr selftest --pattern' option for has been removed, now
 
11002
  test specifiers on the command line can be simple strings, or
 
11003
  regexps, or both. (Robert Collins)
 
11004
 
 
11005
* Passing -v to selftest will now show the time each test took to
 
11006
  complete, which will aid in analysing performance regressions and
 
11007
  related questions. (Robert Collins)
 
11008
 
 
11009
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
11010
  is given. (Martin Pool)
 
11011
 
 
11012
* There is a new method for TestCaseInTempDir, assertFileEqual, which
 
11013
  will check that a given content is equal to the content of the named
 
11014
  file. (Robert Collins)
 
11015
 
 
11016
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
11017
  (Martin Pool)
 
11018
 
 
11019
Internals
 
11020
*********
 
11021
 
 
11022
* New 'testament' command and concept for making gpg-signatures
 
11023
  of revisions that are not tied to a particular internal
 
11024
  representation.  (Martin Pool).
 
11025
 
 
11026
* Per-revision properties ('revprops') as key-value associated
 
11027
  strings on each revision created when the revision is committed.
 
11028
  Intended mainly for the use of external tools.  (Martin Pool).
 
11029
 
 
11030
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
11031
  (Robert Collins)
 
11032
 
 
11033
* Improved command line option definitions allowing explanations
 
11034
  for individual options, among other things.  Contributed by
 
11035
  Magnus Therning.
 
11036
 
 
11037
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
11038
  Configuration is now done via the config.Config interface:
 
11039
  Depending on whether you have a Branch, a Location or no information
 
11040
  available, construct a ``*Config``, and use its ``signature_checking``,
 
11041
  ``username`` and ``user_email`` methods. (Robert Collins)
 
11042
 
 
11043
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
11044
  they are made available for other plugins to use. You should not
 
11045
  import other plugins during the ``__init__`` of your plugin though, as
 
11046
  no ordering is guaranteed, and the plugins directory is not on the
 
11047
  python path. (Robert Collins)
 
11048
 
 
11049
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
11050
  no longer takes an inventory, rather it takes an option branch
 
11051
  parameter, and if None is given will open the branch at basedir
 
11052
  implicitly. (Robert Collins)
 
11053
 
 
11054
* Cleaner exception structure and error reporting.  Suggested by
 
11055
  Scott James Remnant.  (Martin Pool)
 
11056
 
 
11057
* Branch.remove has been moved to WorkingTree, which has also gained
 
11058
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
11059
  (Robert Collins)
 
11060
 
 
11061
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
11062
  added to the branch module. Use these to cause a function to run in a
 
11063
  read or write lock respectively. (Robert Collins)
 
11064
 
 
11065
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
11066
  which allows direct access to the common case of 'get me this file
 
11067
  from its branch'. (Robert Collins)
 
11068
 
 
11069
* Transports can register using ``register_lazy_transport``, and they
 
11070
  will be loaded when first used.  (Martin Pool)
 
11071
 
 
11072
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
11073
  A new option to WorkingTree.pull has been added, clobber, which will
 
11074
  ignore diverged history and pull anyway.
 
11075
  (Robert Collins)
 
11076
 
 
11077
* config.Config has a ``get_user_option`` call that accepts an option name.
 
11078
  This will be looked up in branches.conf and bazaar.conf as normal.
 
11079
  It is intended that this be used by plugins to support options -
 
11080
  options of built in programs should have specific methods on the config.
 
11081
  (Robert Collins)
 
11082
 
 
11083
* ``merge.merge_inner`` now has tempdir as an optional parameter.
 
11084
  (Robert Collins)
 
11085
 
 
11086
* Tree.kind is not recorded at the top level of the hierarchy, as it was
 
11087
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
11088
  (Robert Collins)
 
11089
 
 
11090
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
 
11091
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
11092
  about future directions. (Robert Collins/Martin Pool)
 
11093
 
 
11094
* bzrlib.transport.http has been modified so that only 404 urllib errors
 
11095
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
11096
  This allows debuging of actual errors. (Robert Collins)
 
11097
 
 
11098
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
11099
  to apis like 'put', 'get' and 'has'. This is to provide consistent
 
11100
  behaviour - it operates on url's only. (Robert Collins)
 
11101
 
 
11102
* Transports can register using ``register_lazy_transport``, and they
 
11103
  will be loaded when first used.  (Martin Pool)
 
11104
 
 
11105
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
11106
  is called by ``merge_inner``. This is so that the conflict count can be
 
11107
  retrieved (and potentially manipulated) before returning to the caller
 
11108
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
11109
  caller. (Robert Collins)
 
11110
 
 
11111
* ``revision.revision_graph`` can handle having only partial history for
 
11112
  a revision - that is no revisions in the graph with no parents.
 
11113
  (Robert Collins).
 
11114
 
 
11115
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
11116
  produce a branch and a list of paths, relative to that branch
 
11117
  (Aaron Bentley)
 
11118
 
 
11119
* New TestCase.addCleanup facility.
 
11120
 
 
11121
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
11122
  which can be used by programs importing bzrlib.
 
11123
 
 
11124
Bug Fixes
 
11125
*********
 
11126
 
 
11127
* Better handling of branches in directories with non-ascii names.
 
11128
  (Joel Rosdahl, Panagiotis Papadakos)
 
11129
 
 
11130
* Upgrades of trees with no commits will not fail due to accessing
 
11131
  [-1] in the revision-history. (Andres Salomon)
 
11132
 
 
11133
 
 
11134
bzr 0.1.1
 
11135
#########
 
11136
 
 
11137
:Released: 2005-10-12
 
11138
 
 
11139
Bug Fixes
 
11140
*********
 
11141
 
 
11142
* Fix problem in pulling over http from machines that do not
 
11143
  allow directories to be listed.
 
11144
 
 
11145
* Avoid harmless warning about invalid hash cache after
 
11146
  upgrading branch format.
 
11147
 
 
11148
Performance
 
11149
***********
 
11150
 
 
11151
* Avoid some unnecessary http operations in branch and pull.
 
11152
 
 
11153
 
 
11154
bzr 0.1
 
11155
#######
 
11156
 
 
11157
:Released: 2005-10-11
 
11158
 
 
11159
Notes
 
11160
*****
 
11161
 
 
11162
* 'bzr branch' over http initially gives a very high estimate
 
11163
  of completion time but it should fall as the first few
 
11164
  revisions are pulled in.  branch is still slow on
 
11165
  high-latency connections.
 
11166
 
 
11167
Bug Fixes
 
11168
*********
 
11169
 
 
11170
* bzr-man.py has been updated to work again. Contributed by
 
11171
  Rob Weir.
 
11172
 
 
11173
* Locking is now done with fcntl.lockf which works with NFS
 
11174
  file systems. Contributed by Harald Meland.
 
11175
 
 
11176
* When a merge encounters a file that has been deleted on
 
11177
  one side and modified on the other, the old contents are
 
11178
  written out to foo.BASE and foo.SIDE, where SIDE is this
 
11179
  or OTHER. Contributed by Aaron Bentley.
 
11180
 
 
11181
* Export was choosing incorrect file paths for the content of
 
11182
  the tarball, this has been fixed by Aaron Bentley.
 
11183
 
 
11184
* Commit will no longer commit without a log message, an
 
11185
  error is returned instead. Contributed by Jelmer Vernooij.
 
11186
 
 
11187
* If you commit a specific file in a sub directory, any of its
 
11188
  parent directories that are added but not listed will be
 
11189
  automatically included. Suggested by Michael Ellerman.
 
11190
 
 
11191
* bzr commit and upgrade did not correctly record new revisions
 
11192
  for files with only a change to their executable status.
 
11193
  bzr will correct this when it encounters it. Fixed by
 
11194
  Robert Collins
 
11195
 
 
11196
* HTTP tests now force off the use of ``http_proxy`` for the duration.
 
11197
  Contributed by Gustavo Niemeyer.
 
11198
 
 
11199
* Fix problems in merging weave-based branches that have
 
11200
  different partial views of history.
 
11201
 
 
11202
* Symlink support: working with symlinks when not in the root of a
 
11203
  bzr tree was broken, patch from Scott James Remnant.
 
11204
 
 
11205
Improvements
 
11206
************
 
11207
 
 
11208
* 'branch' now accepts a --basis parameter which will take advantage
 
11209
  of local history when making a new branch. This allows faster
 
11210
  branching of remote branches. Contributed by Aaron Bentley.
 
11211
 
 
11212
* New tree format based on weave files, called version 5.
 
11213
  Existing branches can be upgraded to this format using
 
11214
  'bzr upgrade'.
 
11215
 
 
11216
* Symlinks are now versionable. Initial patch by
 
11217
  Erik Toubro Nielsen, updated to head by Robert Collins.
 
11218
 
 
11219
* Executable bits are tracked on files. Patch from Gustavo
 
11220
  Niemeyer.
 
11221
 
 
11222
* 'bzr status' now shows unknown files inside a selected directory.
 
11223
  Patch from Heikki Paajanen.
 
11224
 
 
11225
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
11226
  and 'resolve' have needed added, which list and remove those
 
11227
  merge conflicts respectively. A conflicted tree cannot be committed
 
11228
  in. Contributed by Aaron Bentley.
 
11229
 
 
11230
* 'rm' is now an alias for 'remove'.
 
11231
 
 
11232
* Stores now split out their content in a single byte prefixed hash,
 
11233
  dropping the density of files per directory by 256. Contributed by
 
11234
  Gustavo Niemeyer.
 
11235
 
 
11236
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
11237
  Contributed by Robert Collins.
 
11238
 
 
11239
* 'bzr log' with the default formatter will show merged revisions,
 
11240
  indented to the right. Initial implementation contributed by Gustavo
 
11241
  Niemeyer, made incremental by Robert Collins.
 
11242
 
 
11243
 
 
11244
Internals
 
11245
*********
 
11246
 
 
11247
* Test case failures have the exception printed after the log
 
11248
  for your viewing pleasure.
 
11249
 
 
11250
* InventoryEntry is now an abstract base class, use one of the
 
11251
  concrete InventoryDirectory etc classes instead.
 
11252
 
 
11253
* Branch raises an UnsupportedFormatError when it detects a
 
11254
  bzr branch it cannot understand. This allows for precise
 
11255
  handling of such circumstances.
 
11256
 
 
11257
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
11258
  list of their ids and ``parent_sha1s`` is a list of their corresponding
 
11259
  sha1s (for old branches only at the moment.)
 
11260
 
 
11261
* New method-object style interface for Commit() and Fetch().
 
11262
 
 
11263
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
11264
  we call them revisions not patches.
 
11265
 
 
11266
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
11267
  directory is created if it doesn't exist.
 
11268
 
 
11269
* Inventories now identify the files which were present by
 
11270
  giving the revision *of that file*.
 
11271
 
 
11272
* Inventory and Revision XML contains a version identifier.
 
11273
  This must be consistent with the overall branch version
 
11274
  but allows for more flexibility in future upgrades.
 
11275
 
 
11276
Testing
 
11277
*******
 
11278
 
 
11279
* Removed testsweet module so that tests can be run after
 
11280
  bzr installed by 'bzr selftest'.
 
11281
 
 
11282
* 'bzr selftest' command-line arguments can now be partial ids
 
11283
  of tests to run, e.g. ``bzr selftest test_weave``
 
11284
 
 
11285
 
 
11286
bzr 0.0.9
 
11287
#########
 
11288
 
 
11289
:Released: 2005-09-23
 
11290
 
 
11291
Bug Fixes
 
11292
*********
 
11293
 
 
11294
* Fixed "branch -r" option.
 
11295
 
 
11296
* Fix remote access to branches containing non-compressed history.
 
11297
  (Robert Collins).
 
11298
 
 
11299
* Better reliability of http server tests.  (John Arbash-Meinel)
 
11300
 
 
11301
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
11302
 
 
11303
* Various minor bug in windows support have been fixed, largely in the
 
11304
  test suite. Contributed by Alexander Belchenko.
 
11305
 
 
11306
Improvements
 
11307
************
 
11308
 
 
11309
* Status now accepts a -r argument to give status between chosen
 
11310
  revisions. Contributed by Heikki Paajanen.
 
11311
 
 
11312
* Revision arguments no longer use +/-/= to control ranges, instead
 
11313
  there is a 'before' namespace, which limits the successive namespace.
 
11314
  For example '$ bzr log -r date:yesterday..before:date:today' will
 
11315
  select everything from yesterday and before today. Contributed by
 
11316
  Robey Pointer
 
11317
 
 
11318
* There is now a bzr.bat file created by distutils when building on
 
11319
  Windows. Contributed by Alexander Belchenko.
 
11320
 
 
11321
Internals
 
11322
*********
 
11323
 
 
11324
* Removed uuid() as it was unused.
 
11325
 
 
11326
* Improved 'fetch' code for pulling revisions from one branch into
 
11327
  another (used by pull, merged, etc.)
 
11328
 
 
11329
 
 
11330
bzr 0.0.8
 
11331
#########
 
11332
 
 
11333
:Released: 2005-09-20
 
11334
 
 
11335
 
 
11336
Improvements
 
11337
************
 
11338
 
 
11339
* Adding a file whose parent directory is not versioned will
 
11340
  implicitly add the parent, and so on up to the root. This means
 
11341
  you should never need to explictly add a directory, they'll just
 
11342
  get added when you add a file in the directory.  Contributed by
 
11343
  Michael Ellerman.
 
11344
 
 
11345
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
11346
  (Nir Soffer)
 
11347
 
 
11348
* If you set ``BZR_EDITOR`` in the environment, it is checked in
 
11349
  preference to EDITOR and the config file for the interactive commit
 
11350
  editing program. Related to this is a bugfix where a missing program
 
11351
  set in EDITOR would cause editing to fail, now the fallback program
 
11352
  for the operating system is still tried.
 
11353
 
 
11354
* Files that are not directories/symlinks/regular files will no longer
 
11355
  cause bzr to fail, it will just ignore them by default. You cannot add
 
11356
  them to the tree though - they are not versionable.
 
11357
 
 
11358
 
 
11359
Internals
 
11360
*********
 
11361
 
 
11362
* Refactor xml packing/unpacking.
 
11363
 
 
11364
Bug Fixes
 
11365
*********
 
11366
 
 
11367
* Fixed 'bzr mv' by Ollie Rutherfurd.
 
11368
 
 
11369
* Fixed strange error when trying to access a nonexistent http
 
11370
  branch.
 
11371
 
 
11372
* Make sure that the hashcache gets written out if it can't be
 
11373
  read.
 
11374
 
 
11375
 
 
11376
Portability
 
11377
***********
 
11378
 
 
11379
* Various Windows fixes from Ollie Rutherfurd.
 
11380
 
 
11381
* Quieten warnings about locking; patch from Matt Lavin.
 
11382
 
 
11383
 
 
11384
bzr-0.0.7
 
11385
#########
 
11386
 
 
11387
:Released: 2005-09-02
 
11388
 
 
11389
New Features
 
11390
************
 
11391
 
 
11392
* ``bzr shell-complete`` command contributed by Clint Adams to
 
11393
  help with intelligent shell completion.
 
11394
 
 
11395
* New expert command ``bzr find-merge-base`` for debugging merges.
 
11396
 
 
11397
 
 
11398
Enhancements
 
11399
************
 
11400
 
 
11401
* Much better merge support.
 
11402
 
 
11403
* merge3 conflicts are now reported with markers like '<<<<<<<'
 
11404
  (seven characters) which is the same as CVS and pleases things
 
11405
  like emacs smerge.
 
11406
 
 
11407
 
 
11408
Bug Fixes
 
11409
*********
 
11410
 
 
11411
* ``bzr upgrade`` no longer fails when trying to fix trees that
 
11412
  mention revisions that are not present.
 
11413
 
 
11414
* Fixed bugs in listing plugins from ``bzr plugins``.
 
11415
 
 
11416
* Fix case of $EDITOR containing options for the editor.
 
11417
 
 
11418
* Fix log -r refusing to show the last revision.
 
11419
  (Patch from Goffredo Baroncelli.)
 
11420
 
 
11421
 
 
11422
Changes
 
11423
*******
 
11424
 
 
11425
* ``bzr log --show-ids`` shows the revision ids of all parents.
 
11426
 
 
11427
* Externally provided commands on your $BZRPATH no longer need
 
11428
  to recognize --bzr-usage to work properly, and can just handle
 
11429
  --help themselves.
 
11430
 
 
11431
 
 
11432
Library
 
11433
*******
 
11434
 
 
11435
* Changed trace messages to go through the standard logging
 
11436
  framework, so that they can more easily be redirected by
 
11437
  libraries.
 
11438
 
 
11439
 
 
11440
 
 
11441
bzr-0.0.6
 
11442
#########
 
11443
 
 
11444
:Released: 2005-08-18
 
11445
 
 
11446
New Features
 
11447
************
 
11448
 
 
11449
* Python plugins, automatically loaded from the directories on
 
11450
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
11451
 
 
11452
* New 'bzr mkdir' command.
 
11453
 
 
11454
* Commit mesage is fetched from an editor if not given on the
 
11455
  command line; patch from Torsten Marek.
 
11456
 
 
11457
* ``bzr log -m FOO`` displays commits whose message matches regexp
 
11458
  FOO.
 
11459
 
 
11460
* ``bzr add`` with no arguments adds everything under the current directory.
 
11461
 
 
11462
* ``bzr mv`` does move or rename depending on its arguments, like
 
11463
  the Unix command.
 
11464
 
 
11465
* ``bzr missing`` command shows a summary of the differences
 
11466
  between two trees.  (Merged from John Arbash-Meinel.)
 
11467
 
 
11468
* An email address for commits to a particular tree can be
 
11469
  specified by putting it into .bzr/email within a branch.  (Based
 
11470
  on a patch from Heikki Paajanen.)
 
11471
 
 
11472
 
 
11473
Enhancements
 
11474
************
 
11475
 
 
11476
* Faster working tree operations.
 
11477
 
 
11478
 
 
11479
Changes
 
11480
*******
 
11481
 
 
11482
* 3rd-party modules shipped with bzr are copied within the bzrlib
 
11483
  python package, so that they can be installed by the setup
 
11484
  script without clashing with anything already existing on the
 
11485
  system.  (Contributed by Gustavo Niemeyer.)
 
11486
 
 
11487
* Moved plugins directory to bzrlib/, so that there's a standard
 
11488
  plugin directory which is not only installed with bzr itself but
 
11489
  is also available when using bzr from the development tree.
 
11490
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
11491
  standard plugins directory.
 
11492
 
 
11493
* When exporting to a tarball with ``bzr export --format tgz``, put
 
11494
  everything under a top directory rather than dumping it into the
 
11495
  current directory.   This can be overridden with the ``--root``
 
11496
  option.  Patch from William Dodé and John Meinel.
 
11497
 
 
11498
* New ``bzr upgrade`` command to upgrade the format of a branch,
 
11499
  replacing ``bzr check --update``.
 
11500
 
 
11501
* Files within store directories are no longer marked readonly on
 
11502
  disk.
 
11503
 
 
11504
* Changed ``bzr log`` output to a more compact form suggested by
 
11505
  John A Meinel.  Old format is available with the ``--long`` or
 
11506
  ``-l`` option, patched by William Dodé.
 
11507
 
 
11508
* By default the commit command refuses to record a revision with
 
11509
  no changes unless the ``--unchanged`` option is given.
 
11510
 
 
11511
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
11512
  line options must come before the command name because they
 
11513
  affect what commands are available; all other options must come
 
11514
  after the command name because their interpretation depends on
 
11515
  it.
 
11516
 
 
11517
* ``branch`` and ``clone`` added as aliases for ``branch``.
 
11518
 
 
11519
* Default log format is back to the long format; the compact one
 
11520
  is available with ``--short``.
 
11521
 
 
11522
 
 
11523
Bug Fixes
 
11524
*********
 
11525
 
 
11526
* Fix bugs in committing only selected files or within a subdirectory.
 
11527
 
 
11528
 
 
11529
bzr-0.0.5
 
11530
#########
 
11531
 
 
11532
:Released:  2005-06-15
 
11533
 
 
11534
Changes
 
11535
*******
 
11536
 
 
11537
* ``bzr`` with no command now shows help rather than giving an
 
11538
  error.  Suggested by Michael Ellerman.
 
11539
 
 
11540
* ``bzr status`` output format changed, because svn-style output
 
11541
  doesn't really match the model of bzr.  Now files are grouped by
 
11542
  status and can be shown with their IDs.  ``bzr status --all``
 
11543
  shows all versioned files and unknown files but not ignored files.
 
11544
 
 
11545
* ``bzr log`` runs from most-recent to least-recent, the reverse
 
11546
  of the previous order.  The previous behaviour can be obtained
 
11547
  with the ``--forward`` option.
 
11548
 
 
11549
* ``bzr inventory`` by default shows only filenames, and also ids
 
11550
  if ``--show-ids`` is given, in which case the id is the second
 
11551
  field.
 
11552
 
 
11553
 
 
11554
Enhancements
 
11555
************
 
11556
 
 
11557
* New 'bzr whoami --email' option shows only the email component
 
11558
  of the user identification, from Jo Vermeulen.
 
11559
 
 
11560
* New ``bzr ignore PATTERN`` command.
 
11561
 
 
11562
* Nicer error message for broken pipe, interrupt and similar
 
11563
  conditions that don't indicate an internal error.
 
11564
 
 
11565
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
11566
 
 
11567
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
11568
  either read or write mode.
 
11569
 
 
11570
* New option ``bzr log --show-ids`` shows revision and file ids.
 
11571
 
 
11572
* New usage ``bzr log FILENAME`` shows only revisions that
 
11573
  affected that file.
 
11574
 
 
11575
* Changed format for describing changes in ``bzr log -v``.
 
11576
 
 
11577
* New option ``bzr commit --file`` to take a message from a file,
 
11578
  suggested by LarstiQ.
 
11579
 
 
11580
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
11581
  Oler.  File may be in a branch other than the working directory.
 
11582
 
 
11583
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
11584
  a filename.
 
11585
 
 
11586
* Commands can now be defined by external programs or scripts
 
11587
  in a directory on $BZRPATH.
 
11588
 
 
11589
* New "stat cache" avoids reading the contents of files if they
 
11590
  haven't changed since the previous time.
 
11591
 
 
11592
* If the Python interpreter is too old, try to find a better one
 
11593
  or give an error.  Based on a patch from Fredrik Lundh.
 
11594
 
 
11595
* New optional parameter ``bzr info [BRANCH]``.
 
11596
 
 
11597
* New form ``bzr commit SELECTED`` to commit only selected files.
 
11598
 
 
11599
* New form ``bzr log -r FROM:TO`` shows changes in selected
 
11600
  range; contributed by John A Meinel.
 
11601
 
 
11602
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
11603
  options through to an external GNU diff.
 
11604
 
 
11605
* New option ``bzr add --no-recurse`` to add a directory but not
 
11606
  their contents.
 
11607
 
 
11608
* ``bzr --version`` now shows more information if bzr is being run
 
11609
  from a branch.
 
11610
 
 
11611
 
 
11612
Bug Fixes
 
11613
*********
 
11614
 
 
11615
* Fixed diff format so that added and removed files will be
 
11616
  handled properly by patch.  Fix from Lalo Martins.
 
11617
 
 
11618
* Various fixes for files whose names contain spaces or other
 
11619
  metacharacters.
 
11620
 
 
11621
 
 
11622
Testing
 
11623
*******
 
11624
 
 
11625
* Converted black-box test suites from Bourne shell into Python;
 
11626
  now run using ``./testbzr``.  Various structural improvements to
 
11627
  the tests.
 
11628
 
 
11629
* testbzr by default runs the version of bzr found in the same
 
11630
  directory as the tests, or the one given as the first parameter.
 
11631
 
 
11632
* testbzr also runs the internal tests, so the only command
 
11633
  required to check is just ``./testbzr``.
 
11634
 
 
11635
* testbzr requires python2.4, but can be used to test bzr running
 
11636
  under a different version.
 
11637
 
 
11638
* Tests added for many other changes in this release.
 
11639
 
 
11640
 
 
11641
Internal
 
11642
********
 
11643
 
 
11644
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
11645
 
 
11646
* Refactor command functions into Command objects based on HCT by
 
11647
  Scott James Remnant.
 
11648
 
 
11649
* Better help messages for many commands.
 
11650
 
 
11651
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
11652
  this is called trace messages are just discarded.
 
11653
 
 
11654
* New internal function ``find_touching_revisions()`` and hidden
 
11655
  command touching-revisions trace the changes to a given file.
 
11656
 
 
11657
* Simpler and faster ``compare_inventories()`` function.
 
11658
 
 
11659
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
11660
 
 
11661
* New AtomicFile class.
 
11662
 
 
11663
* New developer commands ``added``, ``modified``.
 
11664
 
 
11665
 
 
11666
Portability
 
11667
***********
 
11668
 
 
11669
* Cope on Windows on python2.3 by using the weaker random seed.
 
11670
  2.4 is now only recommended.
 
11671
 
 
11672
 
 
11673
bzr-0.0.4
 
11674
#########
 
11675
 
 
11676
:Released:  2005-04-22
 
11677
 
 
11678
Enhancements
 
11679
************
 
11680
 
 
11681
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
11682
  basic.  Patch from QuantumG.
 
11683
 
 
11684
* More default ignore patterns.
 
11685
 
 
11686
* New 'bzr log --verbose' shows a list of files changed in the
 
11687
  changeset.  Patch from Sebastian Cote.
 
11688
 
 
11689
* Roll over ~/.bzr.log if it gets too large.
 
11690
 
 
11691
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
11692
  by Jason Diamon.
 
11693
 
 
11694
* New 'bzr help commands' based on a patch from Denys Duchier.
 
11695
 
 
11696
 
 
11697
Changes
 
11698
*******
 
11699
 
 
11700
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
11701
  or $EMAIL.  All are decoded by the locale preferred encoding.
 
11702
  If none of these are present user@hostname is used.  The host's
 
11703
  fully-qualified name is not used because that tends to fail when
 
11704
  there are DNS problems.
 
11705
 
 
11706
* New 'bzr whoami' command instead of username user-email.
 
11707
 
 
11708
 
 
11709
Bug Fixes
 
11710
*********
 
11711
 
 
11712
* Make commit safe for hardlinked bzr trees.
 
11713
 
 
11714
* Some Unicode/locale fixes.
 
11715
 
 
11716
* Partial workaround for ``difflib.unified_diff`` not handling
 
11717
  trailing newlines properly.
 
11718
 
 
11719
 
 
11720
Internal
 
11721
********
 
11722
 
 
11723
* Allow docstrings for help to be in PEP0257 format.  Patch from
 
11724
  Matt Brubeck.
 
11725
 
 
11726
* More tests in test.sh.
 
11727
 
 
11728
* Write profile data to a temporary file not into working
 
11729
  directory and delete it when done.
 
11730
 
 
11731
* Smaller .bzr.log with process ids.
 
11732
 
 
11733
 
 
11734
Portability
 
11735
***********
 
11736
 
 
11737
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
11738
  Bennetts.
 
11739
 
 
11740
* Some improvements in handling paths on Windows, based on a patch
 
11741
  from QuantumG.
 
11742
 
 
11743
 
 
11744
bzr-0.0.3
 
11745
#########
 
11746
 
 
11747
:Released:  2005-04-06
 
11748
 
 
11749
Enhancements
 
11750
************
 
11751
 
 
11752
* New "directories" internal command lists versioned directories
 
11753
  in the tree.
 
11754
 
 
11755
* Can now say "bzr commit --help".
 
11756
 
 
11757
* New "rename" command to rename one file to a different name
 
11758
  and/or directory.
 
11759
 
 
11760
* New "move" command to move one or more files into a different
 
11761
  directory.
 
11762
 
 
11763
* New "renames" command lists files renamed since base revision.
 
11764
 
 
11765
* New cat command contributed by janmar.
 
11766
 
 
11767
Changes
 
11768
*******
 
11769
 
 
11770
* .bzr.log is placed in $HOME (not pwd) and is always written in
 
11771
  UTF-8.  (Probably not a completely good long-term solution, but
 
11772
  will do for now.)
 
11773
 
 
11774
Portability
 
11775
***********
 
11776
 
 
11777
* Workaround for difflib bug in Python 2.3 that causes an
 
11778
  exception when comparing empty files.  Reported by Erik Toubro
 
11779
  Nielsen.
 
11780
 
 
11781
Internal
 
11782
********
 
11783
 
 
11784
* Refactored inventory storage to insert a root entry at the top.
 
11785
 
 
11786
Testing
 
11787
*******
 
11788
 
 
11789
* Start of shell-based black-box testing in test.sh.
 
11790
 
 
11791
 
 
11792
bzr-0.0.2.1
 
11793
###########
 
11794
 
 
11795
Portability
 
11796
***********
 
11797
 
 
11798
* Win32 fixes from Steve Brown.
 
11799
 
 
11800
 
 
11801
bzr-0.0.2
 
11802
#########
 
11803
 
 
11804
:Codename: "black cube"
 
11805
:Released: 2005-03-31
 
11806
 
 
11807
Enhancements
 
11808
************
 
11809
 
 
11810
* Default ignore list extended (see bzrlib/__init__.py).
 
11811
 
 
11812
* Patterns in .bzrignore are now added to the default ignore list,
 
11813
  rather than replacing it.
 
11814
 
 
11815
* Ignore list isn't reread for every file.
 
11816
 
 
11817
* More help topics.
 
11818
 
 
11819
* Reinstate the 'bzr check' command to check invariants of the
 
11820
  branch.
 
11821
 
 
11822
* New 'ignored' command lists which files are ignored and why;
 
11823
  'deleted' lists files deleted in the current working tree.
 
11824
 
 
11825
* Performance improvements.
 
11826
 
 
11827
* New global --profile option.
 
11828
 
 
11829
* Ignore patterns like './config.h' now correctly match files in
 
11830
  the root directory only.
 
11831
 
 
11832
 
 
11833
bzr-0.0.1
 
11834
#########
 
11835
 
 
11836
:Released:  2005-03-26
 
11837
 
 
11838
Enhancements
 
11839
************
 
11840
 
 
11841
* More information from info command.
 
11842
 
 
11843
* Can now say "bzr help COMMAND" for more detailed help.
 
11844
 
 
11845
* Less file flushing and faster performance when writing logs and
 
11846
  committing to stores.
 
11847
 
 
11848
* More useful verbose output from some commands.
 
11849
 
 
11850
Bug Fixes
 
11851
*********
 
11852
 
 
11853
* Fix inverted display of 'R' and 'M' during 'commit -v'.
 
11854
 
 
11855
Portability
 
11856
***********
 
11857
 
 
11858
* Include a subset of ElementTree-1.2.20040618 to make
 
11859
  installation easier.
 
11860
 
 
11861
* Fix time.localtime call to work with Python 2.3 (the minimum
 
11862
  supported).
 
11863
 
 
11864
 
 
11865
bzr-0.0.0.69
 
11866
############
 
11867
 
 
11868
:Released:  2005-03-22
 
11869
 
 
11870
Enhancements
 
11871
************
 
11872
 
 
11873
* First public release.
 
11874
 
 
11875
* Storage of local versions: init, add, remove, rm, info, log,
 
11876
  diff, status, etc.
 
11877
 
 
11878
 
 
11879
bzr ?.?.? (not released yet)
 
11880
############################
 
11881
 
 
11882
:Codename: template
 
11883
:2.0.2: ???
 
11884
 
 
11885
Compatibility Breaks
 
11886
********************
 
11887
 
 
11888
New Features
 
11889
************
 
11890
 
 
11891
Bug Fixes
 
11892
*********
 
11893
 
 
11894
Improvements
 
11895
************
 
11896
 
 
11897
Documentation
 
11898
*************
 
11899
 
 
11900
API Changes
 
11901
***********
 
11902
 
 
11903
Internals
 
11904
*********
 
11905
 
 
11906
Testing
 
11907
*******
 
11908
 
 
11909
 
 
11910
 
 
11911
..
 
11912
   vim: tw=74 ft=rst ff=unix encoding=utf-8