~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-29 15:57:16 UTC
  • mfrom: (3427.5.9 dep_warnings)
  • Revision ID: pqm@pqm.ubuntu.com-20080529155716-0w3kic8lioa63231
(jam) Enable Deprecation Warnings when running -Werror and when
        running selftest

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
bzr 0.8rc1  2006-04-14
 
1
--------------------
 
2
Bazaar Release Notes
 
3
--------------------
 
4
 
 
5
.. contents::
 
6
 
 
7
IN DEVELOPMENT
 
8
--------------
 
9
 
 
10
This release adds a translation of some of the user documentation into Spanish.
 
11
(Contributions of other translations would be very welcome.)
 
12
 
 
13
  NOTES WHEN UPGRADING:
 
14
 
 
15
  CHANGES:
 
16
 
 
17
    * Deprecation warnings will not be suppressed when running ``bzr selftest``
 
18
      so that developers can see if their code is using deprecated functions.
 
19
      (John Arbash Meinel)
 
20
 
 
21
  FEATURES:
 
22
 
 
23
    * Adding ``-Derror`` will now display a traceback when a plugin fails to
 
24
      load. (James Westby)
 
25
 
 
26
    * There is a new version of the network protocol used for bzr://, bzr+ssh://
 
27
      and bzr+http:// connections.  This will allow more efficient requests and
 
28
      responses, and more graceful fallback when a server is too old to
 
29
      recognise a request from a more recent client.  Bazaar 1.6 will
 
30
      interoperate with 0.16 and later versions, but servers should be upgraded
 
31
      when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
32
      these protocols.  Use alternatives like SFTP or upgrade those servers.
 
33
      (Andrew Bennetts, #83935)
 
34
 
 
35
  IMPROVEMENTS:
 
36
 
 
37
    * ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``. 
 
38
      (Jerad Cramp, #165086)
 
39
 
 
40
    * ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
41
      ``Graph.find_differences`` to determine missing revisions without having
 
42
      to search the whole ancestry. (John Arbash Meinel, #174625)
 
43
 
 
44
  BUGFIXES:
 
45
 
 
46
    * ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
47
      fails.  (Andrew Bennetts, #234229)
 
48
      
 
49
    * Correctly track the base URL of a smart medium when using bzr+http://
 
50
      URLs, which was causing spurious "No repository present" errors with
 
51
      branches in shared repositories accessed over bzr+http.
 
52
      (Andrew Bennetts, #230550)
 
53
 
 
54
    * Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
55
      implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
56
      attribute '_remote_is_at_least_1_2' attribute errors.
 
57
      (Andrew Bennetts, #220806)
 
58
 
 
59
    * Failure to delete an obsolete pack file should just give a warning
 
60
      message, not a fatal error.  It may for example fail if the file is still
 
61
      in use by another process.
 
62
      (Martin Pool)
 
63
      
 
64
    * Fix MemoryError during large fetches over HTTP by limiting the amount of
 
65
      data we try to read per ``recv`` call.  The problem was observed with
 
66
      Windows and a proxy, but might affect other environments as well.
 
67
      (Eric Holmberg, #215426)
 
68
 
 
69
    * Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
70
      get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
71
 
 
72
    * Issue a warning and ignore passwords declared in authentication.conf when
 
73
      used for an ssh scheme (sftp or bzr+ssh).
 
74
      (Vincent Ladeuil, #203186)
 
75
 
 
76
    * Make both http implementations raise appropriate exceptions on 403
 
77
      Forbidden when POSTing smart requests.
 
78
      (Vincent Ladeuil, #230223)
 
79
 
 
80
    * Properly *title* header names in http requests instead of capitalizing
 
81
      them.
 
82
      (Vincent Ladeuil, #229076)
 
83
 
 
84
    * Treat an encoding of '' as ascii; this can happen when bzr is run
 
85
      under vim on Mac OS X.
 
86
      (Neil Martinsen-Burrell)
 
87
 
 
88
  DOCUMENTATION:
 
89
 
 
90
    * Added directory structure and started translation of docs in spanish.
 
91
      (Martin Albisetti, Lucio Albenga)
 
92
 
 
93
    * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
94
      on the plugin and integration chapters of the User Guide.
 
95
      (Ian Clatworthy)
 
96
 
 
97
    * More Bazaar developer documentation about packaging and release process,
 
98
      and about use of Python reprs.
 
99
      (Martin Pool, Martin Albisetti)
 
100
 
 
101
    * Updated Tortise strategy document. (Mark Hammond)
 
102
 
 
103
  TESTING:
 
104
 
 
105
    * New helper function for splitting test suites
 
106
      ``split_suite_by_condition``. (Robert Collins)
 
107
 
 
108
  INTERNALS:
 
109
 
 
110
  API CHANGES:
 
111
 
 
112
    * ``Branch.abspath`` is deprecated; use the Tree or Transport 
 
113
      instead.  (Martin Pool)
 
114
 
 
115
    * Branch, Repository, Tree and BzrDir should expose a Transport as an
 
116
      attribute if they have one, rather than having it indirectly accessible
 
117
      as ``.control_files._transport``.  This doesn't add a requirement
 
118
      to support a Transport in cases where it was not needed before;
 
119
      it just simplifies the way it is reached.  (Martin Pool)
 
120
 
 
121
    * ``bzr missing --mine-only`` will return status code 0 if you have no
 
122
      new revisions, but the remote does. Similarly for ``--theirs-only``.
 
123
      The new code only checks one side, so it doesn't know if the other
 
124
      side has changes. This seems more accurate with the request anyway.
 
125
      It also changes the output to print '[This|Other] branch is up to
 
126
      date.' rather than displaying nothing.  (John Arbash Meinel)
 
127
 
 
128
    * ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
129
      are now deprecated in favor of using Transport operations.
 
130
      (Martin Pool)
 
131
 
 
132
    * Many methods on ``VersionedFile``, ``Repository`` and in
 
133
      ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
134
      (Robert Collins)
 
135
 
 
136
    * The constructors of ``SmartClientMedium`` and its subclasses now require a
 
137
      ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
138
      to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
139
      
 
140
    * The default permissions for creating new files and directories 
 
141
      should now be obtained from ``BzrDir._get_file_mode()`` and 
 
142
      ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
143
      and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
144
      as a way for plugins to control this are no longer consulted.
 
145
      (Martin Pool)
 
146
 
 
147
    * ``VersionedFile.join`` is deprecated. This method required local
 
148
      instances of both versioned file objects and was thus hostile to being
 
149
      used for streaming from a smart server. The new get_record_stream and
 
150
      insert_record_stream are meant to efficiently replace this method.
 
151
      (Robert Collins)
 
152
 
 
153
    * ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
154
      (Martin Pool) 
 
155
 
 
156
 
 
157
bzr 1.5 2008-05-16
 
158
------------------
 
159
 
 
160
This release of Bazaar includes several updates to the documentation, and fixes
 
161
to prepare for making rich root support the default format. Many bugs have been
 
162
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
 
163
 
 
164
  CHANGES:
 
165
 
 
166
    * Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
167
      users of packaged software won't be bothered with DeprecationWarnings,
 
168
      but developers and testers will still see them. (John Arbash Meinel)
 
169
 
 
170
  DOCUMENTATION:
 
171
 
 
172
    * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
173
      on the plugin and integration chapters of the User Guide.
 
174
      (Ian Clatworthy)
 
175
 
 
176
 
 
177
bzr 1.5rc1 2008-05-09
 
178
---------------------
 
179
 
 
180
  NOTES WHEN UPGRADING:
 
181
 
 
182
  CHANGES:
 
183
 
 
184
    * Broader support of GNU Emacs mail clients. Set
 
185
      ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
186
      bundle in a mail buffer according to the value of ``mail-user-agent``
 
187
      variable. (Xavier Maillard)
 
188
 
 
189
  FEATURES:
 
190
 
 
191
  IMPROVEMENTS:
 
192
 
 
193
    * Diff now handles revision specs like "branch:" and "submit:" more
 
194
      efficiently.  (Aaron Bentley)
 
195
 
 
196
    * More friendly error given when attempt to start the smart server
 
197
      on an address already in use. (Andrea Corbellini, #200575)
 
198
 
 
199
    * Pull completes much faster when there is nothing to pull.
 
200
      (Aaron Bentley)
 
201
 
 
202
  BUGFIXES:
 
203
 
 
204
    * Authentication.conf can define sections without password.
 
205
      (Vincent Ladeuil, #199440)
 
206
 
 
207
    * Avoid muttering every time a child update does not cause a progress bar
 
208
      update. (John Arbash Meinel, #213771)
 
209
 
 
210
    * ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
211
      to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
212
      also detects this condition. (John Arbash Meinel, #177855)
 
213
 
 
214
    * ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
215
      for ``revision_id=None`` which was not a string.
 
216
      (John Arbash Meinel, #211661)
 
217
 
 
218
    * ``bzr commit`` now works with Microsoft's FTP service.
 
219
      (Andreas Deininger)
 
220
 
 
221
    * Catch definitions outside sections in authentication.conf.
 
222
      (Vincent Ladeuil, #217650)
 
223
 
 
224
    * Conversion from non-rich-root to rich-root(-pack) updates inventory
 
225
      sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
226
 
 
227
    * Conversion from non-rich-root to rich-root(-pack) works correctly even
 
228
      though search keys are not topologically sorted.  (Aaron Bentley)
 
229
 
 
230
    * Conversion from non-rich-root to rich-root(-pack) works even when a
 
231
      parent revision has a different root id.  (Aaron Bentley, #177874)
 
232
 
 
233
    * Disable strace testing until strace is fixed (see bug #103133) and emit a
 
234
      warning when selftest ends to remind us of leaking tests.
 
235
      (Vincent Ladeuil, #226769)
 
236
 
 
237
    * Fetching all revisions from a repository does not cause pack collisions.
 
238
      (Robert Collins, Aaron Bentley, #212908)
 
239
 
 
240
    * Fix error about "attempt to add line-delta in non-delta knit".
 
241
      (Andrew Bennetts, #217701)
 
242
 
 
243
    * Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
244
      if the remote server was < version 1.2. This was due to a bug in the
 
245
      RemoteRepository.get_parent_map() fallback code.
 
246
      (John Arbash Meinel, #214894)
 
247
 
 
248
    * Remove leftover code in ``bzr_branch`` that inappropriately creates 
 
249
      a ``branch-name`` file in the branch control directory.
 
250
      (Martin Pool)
 
251
 
 
252
    * Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
253
      rebinding the socket when starting the server a second time.
 
254
      (John Arbash Meinel, Martin Pool, #164288)
 
255
 
 
256
    * Severe performance degradation in fetching from knit repositories to
 
257
      knits and packs due to parsing the entire revisions.kndx on every graph
 
258
      walk iteration fixed by using the Repository.get_graph API.  There was
 
259
      another regression in knit => knit fetching which re-read the index for
 
260
      every revision each side had in common.
 
261
      (Robert Collins, John Arbash Meinel)
 
262
 
 
263
    * When logging the changes to a particular file, there was a bug if there
 
264
      were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
265
 
 
266
    * xs4all's ftp server returns a temporary error when trying to list an
 
267
      empty directory, rather than returning an empty list. Adding a
 
268
      workaround so that we don't get spurious failures.
 
269
      (John Arbash Meinel, #215522)
 
270
 
 
271
  DOCUMENTATION:
 
272
 
 
273
    * Expanded the User Guide to include new chapters on popular plugins and
 
274
      integrating Bazaar into your environment. The *Best practices* chapter
 
275
      was renamed to *Miscellaneous topics* as suggested by community
 
276
      feedback as well. (Ian Clatworthy)
 
277
 
 
278
    * Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
279
 
 
280
    * Improved the documentation on hooks. (Ian Clatworthy)
 
281
 
 
282
    * Update authentication docs regarding ssh agents.
 
283
      (Vincent Ladeuil, #183705)
 
284
 
 
285
  TESTING:
 
286
 
 
287
    * Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
288
      make it easy to identify which test spawned a thread with an unhandled
 
289
      exception. (Andrew Bennetts)
 
290
 
 
291
    * New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
292
      options for debugging tests, these are complementary to the the -D
 
293
      options.  The ``-Dselftest_debug`` global option has been replaced by the
 
294
      ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
295
 
 
296
    * Parameterised test ids are preserved correctly to aid diagnosis of test
 
297
      failures. (Robert Collins, Andrew Bennetts)
 
298
 
 
299
    * selftest now accepts --starting-with <id> to load only the tests whose id
 
300
      starts with the one specified. This greatly speeds up running the test
 
301
      suite on a limited set of tests and can be used to run the tests for a
 
302
      single module, a single class or even a single test.  (Vincent Ladeuil)
 
303
 
 
304
    * The test suite modules have been modified to define load_tests() instead
 
305
      of test_suite(). That speeds up selective loading (via --load-list)
 
306
      significantly and provides many examples on how to migrate (grep for
 
307
      load_tests).  (Vincent Ladeuil)
 
308
 
 
309
  INTERNALS:
 
310
 
 
311
    * ``Hooks.install_hook`` is now deprecated in favour of
 
312
      ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
313
      avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
314
 
 
315
    * Implement xml8 serializer.  (Aaron Bentley)
 
316
 
 
317
    * New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making 
 
318
      deprecation wrappers.  (Martin Pool)
 
319
 
 
320
    * ``Repository.revision_parents`` is now deprecated in favour of 
 
321
      ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
322
 
 
323
    * The Python ``assert`` statement is no longer used in Bazaar source, and 
 
324
      a test checks this.  (Martin Pool)
 
325
 
 
326
  API BREAKS:
 
327
 
 
328
    * ``bzrlib.status.show_pending_merges`` requires the repository to be
 
329
      locked by the caller. Callers should have been doing it anyway, but it
 
330
      will now raise an exception if they do not. (John Arbash Meinel)
 
331
 
 
332
    * Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
333
      Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
334
      Repository.item_keys_introduced_by() no longer take read locks.
 
335
      (Aaron Bentley)
 
336
 
 
337
    * ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
338
      towards removing LockableFiles and ``.control_files`` entirely.
 
339
      (Martin Pool)
 
340
 
 
341
    * Methods deprecated prior to 1.1 have been removed.
 
342
      (Martin Pool)
 
343
 
 
344
 
 
345
bzr 1.4 2008-04-28
 
346
------------------
 
347
 
 
348
This release of Bazaar includes handy improvements to the speed of log and
 
349
status, new options for several commands, improved documentation, and better
 
350
hooks, including initial code for server-side hooks.  A number of bugs have
 
351
been fixed, particularly in interoperability between different formats or
 
352
different releases of Bazaar over there network.  There's been substantial
 
353
internal work in both the repository and network code to enable new features
 
354
and faster performance.
 
355
 
 
356
  BUG FIXES:
 
357
 
 
358
    * Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
359
      if the remote server was < version 1.2.  This was due to a bug in the
 
360
      RemoteRepository.get_parent_map() fallback code.
 
361
      (John Arbash Meinel, Andrew Bennetts, #214894)
 
362
 
 
363
 
 
364
bzr 1.4rc2 2008-04-21
 
365
---------------------
 
366
 
 
367
  BUG FIXES:
 
368
 
 
369
    * ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
370
      for ``revision_id=None`` which was not a string.
 
371
      (John Arbash Meinel, #211661)
 
372
 
 
373
    * Fixed a bug in handling ghost revisions when logging changes in a 
 
374
      particular file.  (John Arbash Meinel, #209948)
 
375
 
 
376
    * Fix error about "attempt to add line-delta in non-delta knit".
 
377
      (Andrew Bennetts, #205156)
 
378
 
 
379
    * Fixed performance degradation in fetching from knit repositories to
 
380
      knits and packs due to parsing the entire revisions.kndx on every graph
 
381
      walk iteration fixed by using the Repository.get_graph API.  There was
 
382
      another regression in knit => knit fetching which re-read the index for
 
383
      every revision each side had in common.
 
384
      (Robert Collins, John Arbash Meinel)
 
385
 
 
386
 
 
387
bzr 1.4rc1 2008-04-11
 
388
---------------------
 
389
 
 
390
  CHANGES:
 
391
 
 
392
   * bzr main script cannot be imported (Benjamin Peterson)
 
393
 
 
394
   * On Linux bzr additionally looks for plugins in arch-independent site
 
395
     directory. (Toshio Kuratomi)
 
396
 
 
397
   * The ``set_rh`` branch hook is now deprecated. Please migrate
 
398
     any plugins using this hook to use an alternative, e.g.
 
399
     ``post_change_branch_tip``. (Ian Clatworthy)
 
400
 
 
401
   * When a plugin cannot be loaded as the file path is not a valid
 
402
     python module name bzr will now strip a ``bzr_`` prefix from the
 
403
     front of the suggested name, as many plugins (e.g. bzr-svn)
 
404
     want to be installed without this prefix. It is a common mistake
 
405
     to have a folder named "bzr-svn" for that plugin, especially
 
406
     as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
407
     Andrew Cowie)
 
408
 
 
409
   * UniqueIntegerBugTracker now appends bug-ids instead of joining
 
410
     them to the base URL. Plugins that register bug trackers may
 
411
     need a trailing / added to the base URL if one is not already there.
 
412
     (James Wesby, Andrew Cowie)
 
413
 
 
414
  FEATURES:
 
415
 
 
416
    * Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
417
 
 
418
    * ``status`` now accepts ``--no-pending`` to show the status without
 
419
      listing pending merges, which speeds up the command a lot on large
 
420
      histories.  (James Westby, #202830)
 
421
 
 
422
    * New ``post_change_branch_tip`` hook that is called after the
 
423
      branch tip is moved but while the branch is still write-locked.
 
424
      See the User Reference for signature details.
 
425
      (Ian Clatworthy, James Henstridge)
 
426
 
 
427
    * Reconfigure can convert a branch to be standalone or to use a shared
 
428
      repository.  (Aaron Bentley)
 
429
 
 
430
  IMPROVEMENTS:
 
431
 
 
432
    * The smart protocol now has support for setting branches' revision info
 
433
      directly.  This should make operations like push slightly faster, and is a
 
434
      step towards server-side hooks.  The new request method name is
 
435
      ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
436
 
 
437
    * ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
438
      (James Westby, Andrew Cowie)
 
439
 
 
440
    * ``bzr switch`` will attempt to find branches to switch to relative to the
 
441
      current branch. E.g. ``bzr switch branchname`` will look for
 
442
      ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
443
      Wouter van Heyst)
 
444
 
 
445
    * Diff is now more specific about execute-bit changes it describes
 
446
      (Chad Miller)
 
447
 
 
448
    * Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
449
      by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
450
      rather than just 1 byte at a time.  (Andrew Bennetts)
 
451
 
 
452
    * Log --short and --line are much faster when -r is not specified.
 
453
      (Aaron Bentley)
 
454
 
 
455
    * Merge is faster.  We no longer check a file's existence unnecessarily
 
456
      when merging the execute bit.  (Aaron Bentley)
 
457
 
 
458
    * ``bzr status`` on an explicit list of files no longer shows pending
 
459
      merges, making it much faster on large trees. (John Arbash Meinel)
 
460
 
 
461
    * The launchpad directory service now warns the user if they have not set
 
462
      their launchpad login and are trying to resolve a URL using it, just
 
463
      in case they want to do a write operation with it.  (James Westby)
 
464
 
 
465
    * The smart protocol client is slightly faster, because it now only queries
 
466
      the server for the protocol version once per connection.  Also, the HTTP
 
467
      transport will now automatically probe for and use a smart server if
 
468
      one is present.  You can use the new ``nosmart+`` transport decorator
 
469
      to get the old behaviour.  (Andrew Bennetts)
 
470
 
 
471
    * The ``version`` command takes a ``--short`` option to print just the
 
472
      version number, for easier use in scripts.  (Martin Pool)
 
473
 
 
474
    * Various operations with revision specs and commands that calculate
 
475
      revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
476
 
 
477
  BUGFIXES:
 
478
 
 
479
    * Add ``root_client_path`` parameter to SmartWSGIApp and
 
480
      SmartServerRequest.  This makes it possible to publish filesystem
 
481
      locations that don't exactly match URL paths. SmartServerRequest
 
482
      subclasses should use the new ``translate_client_path`` and
 
483
      ``transport_from_client_path`` methods when dealing with paths received
 
484
      from a client to take this into account.  (Andrew Bennetts, #124089)
 
485
 
 
486
    * ``bzr mv a b`` can be now used also to rename previously renamed
 
487
      directories, not only files. (Lukáš Lalinský, #107967)
 
488
 
 
489
    * ``bzr uncommit --local`` can now remove revisions from the local
 
490
      branch to be symmetric with ``bzr commit --local``.
 
491
      (John Arbash Meinel, #93412)
 
492
 
 
493
    * Don't ask for a password if there is no real terminal.
 
494
      (Alexander Belchenko, #69851)
 
495
 
 
496
    * Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
497
      fetching revisions from a knit to pack repository or vice versa using
 
498
      bzr:// (including over http or ssh).
 
499
      (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
500
 
 
501
    * Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
502
      fixed ``_get_bytes`` in the same module to use the push back buffer.
 
503
      These bugs had no known impact in normal use, but were problematic for
 
504
      developers working on the code, and were likely to cause real bugs sooner
 
505
      or later.  (Andrew Bennetts)
 
506
 
 
507
    * Implement handling of basename parameter for DefaultMail.  (James Westby)
 
508
 
 
509
    * Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
510
      (Andrew Bennetts, #213425)
 
511
 
 
512
    * Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
513
 
 
514
    * Merges that add files to deleted root directories complete.  They
 
515
      do create conflicts.  (Aaron Bentley, #210092)
 
516
 
 
517
    * vsftp's return ``550 RNFR command failed.`` supported.
 
518
      (Marcus Trautwig, #129786)
 
519
 
 
520
  DOCUMENTATION:
 
521
 
 
522
    * Improved documentation on send/merge relationship. (Peter Schuller)
 
523
 
 
524
    * Minor fixes to the User Guide. (Matthew Fuller)
 
525
 
 
526
    * Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
527
 
 
528
    * Added Integrating with Bazaar document for developers (Martin Albisetti)
 
529
 
 
530
  API BREAKS:
 
531
 
 
532
    * Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
533
      non-ghost aware repository such as weaves will now fail if there are
 
534
      ghosts.  (Robert Collins)
 
535
 
 
536
    * ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
537
      now requires the ``index`` and ``access_method`` parameters to be
 
538
      supplied. A compatible shim has been kept in the new function
 
539
      ``knit.make_file_knit``. (Robert Collins)
 
540
 
 
541
    * Log formatters must now provide log_revision instead of show and
 
542
      show_merge_revno methods. The latter had been deprecated since the 0.17
 
543
      release. (James Westby)
 
544
 
 
545
    * ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
546
      (Andrew Bennetts)
 
547
 
 
548
    * ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
549
 
 
550
    * ``Repository.get_revision_graph`` is deprecated, with no replacement
 
551
      method. The method was size(history) and not desirable. (Robert Collins)
 
552
 
 
553
    * ``revision.revision_graph`` is deprecated, with no replacement function.
 
554
      The function was size(history) and not desirable. (Robert Collins)
 
555
 
 
556
    * ``Transport.get_shared_medium`` is deprecated.  Use
 
557
      ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
558
 
 
559
    * ``VersionedFile`` factories now accept a get_scope parameter rather
 
560
      than using a call to ``transaction_finished``, allowing the removal of
 
561
      the fixed list of versioned files per repository. (Robert Collins)
 
562
 
 
563
    * ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
564
      allowed lower memory use, all users of annotations wanted full file 
 
565
      annotations, and there is no storage format suitable for incremental
 
566
      line-by-line annotation. (Robert Collins)
 
567
 
 
568
    * ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
569
      is no longer used - reading the content of a file that is undergoing a
 
570
      file level merge to identical state on two branches is rare enough, and
 
571
      not expensive enough to special case. (Robert Collins)
 
572
 
 
573
    * ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
574
      These methods added significant complexity to the ``VersionedFile``
 
575
      implementation, but were only used for optimising fetches from knits - 
 
576
      which can be done from outside the knit layer, or via a caching
 
577
      decorator. As knits are not the default format, the complexity is no
 
578
      longer worth paying. (Robert Collins)
 
579
 
 
580
    * ``VersionedFile.create_empty`` is removed. This method presupposed a
 
581
      sensible mapping to a transport for individual files, but pack backed
 
582
      versioned files have no such mapping. (Robert Collins)
 
583
 
 
584
    * ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
585
      The method was size(history) and not desirable. (Robert Collins)
 
586
 
 
587
    * ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
588
      replacement method.  The method was size(history) and not desirable.
 
589
      (Robert Collins)
 
590
 
 
591
    * ``VersionedFile.get_parents`` is deprecated, please use
 
592
      ``VersionedFile.get_parent_map``. (Robert Collins)
 
593
 
 
594
    * ``VersionedFile.get_sha1`` is deprecated, please use
 
595
      ``VersionedFile.get_sha1s``. (Robert Collins)
 
596
 
 
597
    * ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
598
      and unused outside of a single test. (Robert Collins)
 
599
 
 
600
    * ``VersionedFile.iter_parents`` is now deprecated in favour of
 
601
      ``get_parent_map`` which can be used to instantiate a Graph on a
 
602
      VersionedFile. (Robert Collins)
 
603
 
 
604
    * ``VersionedFileStore`` no longer uses the transaction parameter given
 
605
      to most methods; amongst other things this means that the
 
606
      get_weave_or_empty method no longer guarantees errors on a missing weave
 
607
      in a readonly transaction, and no longer caches versioned file instances
 
608
      which reduces memory pressure (but requires more careful management by
 
609
      callers to preserve performance). (Robert Collins)
 
610
 
 
611
  TESTING:
 
612
 
 
613
    * New -Dselftest_debug flag disables clearing of the debug flags during
 
614
      tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
615
      failing test.  Be aware that using this feature is likely to cause
 
616
      spurious test failures if used with the full suite. (Andrew Bennetts)
 
617
 
 
618
    * selftest --load-list now uses a new more agressive test loader that will
 
619
      avoid loading unneeded modules and building their tests. Plugins can use
 
620
      this new loader by defining a load_tests function instead of a test_suite
 
621
      function. (a forthcoming patch will provide many examples on how to
 
622
      implement this).
 
623
      (Vincent Ladeuil)
 
624
 
 
625
    * selftest --load-list now does some sanity checks regarding duplicate test
 
626
      IDs and tests present in the list but not found in the actual test suite.
 
627
      (Vincent Ladeuil)
 
628
 
 
629
    * Slightly more concise format for the selftest progress bar, so there's
 
630
      more space to show the test name.  (Martin Pool) ::
 
631
 
 
632
        [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
633
 
 
634
    * The test suite takes much less memory to run, and is a bit faster.  This
 
635
      is done by clearing most attributes of TestCases after running them, if
 
636
      they succeeded.  (Andrew Bennetts)
 
637
 
 
638
  INTERNALS:
 
639
 
 
640
    * Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
641
 
 
642
    * Added basic infrastructure for automatic plugin suggestion.
 
643
      (Martin Albisetti)
 
644
 
 
645
    * If a ``LockableFiles`` object is not explicitly unlocked (for example
 
646
      because of a missing ``try/finally`` block, it will give a warning but
 
647
      not automatically unlock itself.  (Previously they did.)  This
 
648
      sometimes caused knock-on errors if for example the network connection
 
649
      had already failed, and should not be relied upon by code. 
 
650
      (Martin Pool, #109520)
 
651
 
 
652
    * ``make dist`` target to build a release tarball, and also 
 
653
      ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
654
 
 
655
    * The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
656
      classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
657
      callers don't need to try distinguish unknown request errors from other
 
658
      errors.  (Andrew Bennetts)
 
659
 
 
660
    * ``set_make_working_trees`` is now implemented provided on all repository
 
661
      implementations (Aaron Bentley)
 
662
 
 
663
    * ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
664
      ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
665
 
 
666
 
 
667
bzr 1.3.1 2008-04-09
 
668
--------------------
 
669
 
 
670
  No changes from 1.3.1rc1.
 
671
 
 
672
 
 
673
bzr 1.3rc1 2008-04-04
 
674
---------------------
 
675
 
 
676
  BUG FIXES:
 
677
 
 
678
    * Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
679
      fetching revisions from a knit to pack repository or vice versa using
 
680
      bzr:// (including over http or ssh).  
 
681
      (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
682
 
 
683
 
 
684
bzr 1.3 2008-03-20
 
685
------------------
 
686
 
 
687
Bazaar has become part of the GNU project <http://www.gnu.org>
 
688
 
 
689
Many operations that act on history, including ``log`` and ``annotate`` are now
 
690
substantially faster.  Several bugs have been fixed and several new options and
 
691
features have been added.
 
692
 
 
693
  TESTING:
 
694
 
 
695
    * Avoid spurious failure of ``TestVersion.test_version`` matching
 
696
      directory names.
 
697
      (#202778, Martin Pool)
 
698
 
 
699
 
 
700
bzr 1.3rc1 2008-03-16
 
701
---------------------
 
702
 
 
703
  NOTES WHEN UPGRADING:
 
704
 
 
705
    * The backup directory created by ``upgrade`` is now called
 
706
      ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
707
 
 
708
  CHANGES:
 
709
 
 
710
    * A new repository format 'development' has been added. This format will
 
711
      represent the latest 'in-progress' format that the bzr developers are
 
712
      interested in getting early-adopter testing and feedback on.
 
713
      ``doc/developers/development-repo.txt`` has detailed information.
 
714
      (Robert Collins)
 
715
 
 
716
    * BZR_LOG environment variable controls location of .bzr.log trace file. 
 
717
      User can suppress writing messages to .bzr.log by using '/dev/null'
 
718
      filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable 
 
719
      is not defined but BZR_HOME is defined then default location
 
720
      for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
721
      (Alexander Belchenko)
 
722
 
 
723
    * ``launchpad`` builtin plugin now shipped as separate part in standalone
 
724
      bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory, 
 
725
      and standalone installer allows user to skip installation of this plugin.
 
726
      (Alexander Belchenko)
 
727
 
 
728
    * Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
729
 
 
730
    * Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
731
      missing final fields.  (Martin Pool)
 
732
 
 
733
  FEATURES:
 
734
 
 
735
    * ``branch`` and ``checkout`` can hard-link working tree files, which is
 
736
      faster and saves space.  (Aaron Bentley)
 
737
 
 
738
    * ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
739
      the submit branch to determine the email address to send to. 
 
740
      (Jelmer Vernooij)
 
741
 
 
742
  IMPROVEMENTS:
 
743
 
 
744
    * BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
745
 
 
746
    * Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
747
 
 
748
    * Directory services can now be registered, allowing special URLs to be
 
749
      dereferenced into real URLs.  This is a generalization and cleanup of
 
750
      the lp: transport lookup.  (Aaron Bentley)
 
751
 
 
752
    * Merge directives that are automatically attached to emails have nicer
 
753
      filenames, based on branch-nick + revno. (Aaron Bentley)
 
754
 
 
755
    * ``push`` has a ``--revision`` option, to specify what revision to push up
 
756
      to.  (Daniel Watkins)
 
757
 
 
758
    * Significantly reducing execution time and network traffic for trivial 
 
759
      case of running ``bzr missing`` command for two identical branches.
 
760
      (Alexander Belchenko)
 
761
 
 
762
    * Speed up operations that look at the revision graph (such as 'bzr log').
 
763
      ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
764
      extract the revision history. This allows filtering ghosts while
 
765
      stepping instead of needing to peek ahead. (John Arbash Meinel)
 
766
 
 
767
    * The ``hooks`` command lists installed hooks, to assist in debugging.
 
768
      (Daniel Watkins)
 
769
 
 
770
    * Updates to how ``annotate`` work. Should see a measurable improvement in
 
771
      performance and memory consumption for file with a lot of merges.
 
772
      Also, correctly handle when a line is introduced by both parents (it
 
773
      should be attributed to the first merge which notices this, and not
 
774
      to all subsequent merges.) (John Arbash Meinel)
 
775
 
 
776
  BUGFIXES:
 
777
 
 
778
    * Autopacking no longer holds the full set of inventory lines in
 
779
      memory while copying. For large repositories, this can amount to
 
780
      hundreds of MB of ram consumption.
 
781
      (Ian Clatworthy, John Arbash Meinel)
 
782
 
 
783
    * Cherrypicking when using ``--format=merge3`` now explictly excludes
 
784
      BASE lines. (John Arbash Meinel, #151731)
 
785
 
 
786
    * Disable plink's interactive prompt for password.
 
787
      (#107593, Dmitry Vasiliev)
 
788
 
 
789
    * Encode command line arguments from unicode to user_encoding before
 
790
      invoking external mail client in `bzr send` command.
 
791
      (#139318, Alexander Belchenko)
 
792
 
 
793
    * Fixed problem connecting to ``bzr+https://`` servers.
 
794
      (#198793, John Ferlito)
 
795
 
 
796
    * Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
797
      #196618)
 
798
 
 
799
    * Include quick-start-summary.svg file to python-based installer(s)
 
800
      for Windows. (#192924, Alexander Belchenko)
 
801
 
 
802
    * lca merge now respects specified files. (Aaron Bentley)
 
803
 
 
804
    * Make version-info --custom imply --all. (#195560, James Westby)
 
805
 
 
806
    * ``merge --preview`` now works for merges that add or modify
 
807
      symlinks (James Henstridge)
 
808
 
 
809
    * Redirecting the output from ``bzr merge`` (when the remembered
 
810
      location is used) now works. (John Arbash Meinel)
 
811
 
 
812
    * setup.py script explicitly checks for Python version.
 
813
      (Jari Aalto, Alexander Belchenko, #200569)
 
814
 
 
815
    * UnknownFormatErrors no longer refer to branches regardless of kind of
 
816
      unknown format. (Daniel Watkins, #173980)
 
817
 
 
818
    * Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
819
      signs, among other small improvements. (Matt Nordhoff, #86838)
 
820
 
 
821
    * Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
822
      errors.  (Aaron Bentley, #196780)
 
823
 
 
824
  DOCUMENTATION:
 
825
 
 
826
    * Explained how to use ``version-info --custom`` in the User Guide.
 
827
      (Neil Martinsen-Burrell)
 
828
 
 
829
  API BREAKS:
 
830
 
 
831
    * Support for loading plugins from zip files and
 
832
      ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
833
      (Alexander Belchenko)
 
834
 
 
835
  TESTING:
 
836
 
 
837
    * The branch interface tests were invalid for branches using rich-root
 
838
      repositories because the empty string is not a valid file-id.
 
839
      (Robert Collins)
 
840
 
 
841
  INTERNALS:
 
842
 
 
843
    * ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
844
      ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
845
      stop part-way through. (John Arbash Meinel)
 
846
 
 
847
    * New module ``tools/package_mf.py`` provide custom module finder for
 
848
      python packages (improves standard python library's modulefinder.py)
 
849
      used by ``setup.py`` script while building standalone bzr.exe.
 
850
      (Alexander Belchenko)
 
851
 
 
852
    * New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
853
      detecting external lookup support on remote repositories. This method is
 
854
      now attempted first when lookup up repositories, leading to an extra 
 
855
      round trip on older bzr smart servers. (Robert Collins)
 
856
 
 
857
    * Repository formats have a new supported-feature attribute
 
858
      ``supports_external_lookups`` used to indicate repositories which support
 
859
      falling back to other repositories when they have partial data.
 
860
      (Robert Collins)
 
861
 
 
862
    * ``Repository.get_revision_graph_with_ghosts`` and
 
863
      ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
864
      have been deprecated.  (John Arbash Meinel)
 
865
 
 
866
    * ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
867
      ``Tree._iter_changes``. The api is now considered stable and ready for
 
868
      external users.  (Aaron Bentley)
 
869
 
 
870
    * The bzrdir format registry now accepts an ``alias`` keyword to
 
871
      register_metadir, used to indicate that a format name is an alias for
 
872
      some other format and thus should not be reported when describing the
 
873
      format. (Robert Collins)
 
874
 
 
875
 
 
876
bzr 1.2 2008-02-15
 
877
------------------
 
878
 
 
879
  BUG FIXES:
 
880
 
 
881
    * Fix failing test in Launchpad plugin. (Martin Pool)
 
882
 
 
883
 
 
884
bzr 1.2rc1 2008-02-13
 
885
---------------------
 
886
 
 
887
  NOTES WHEN UPGRADING:
 
888
  
 
889
    * Fetching via the smart protocol may need to reconnect once during a fetch
 
890
      if the remote server is running Bazaar 1.1 or earlier, because the client
 
891
      attempts to use more efficient requests that confuse older servers.  You
 
892
      may be required to re-enter a password or passphrase when this happens.
 
893
      This won't happen if the server is upgraded to Bazaar 1.2.
 
894
      (Andrew Bennetts)
 
895
 
 
896
  CHANGES:
 
897
 
 
898
    * Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
899
      consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
900
 
 
901
    * Formatting of ``bzr plugins`` output is changed to be more human-
 
902
      friendly. Full path of plugins locations will be shown only with
 
903
      ``--verbose`` command-line option. (Alexander Belchenko)
 
904
 
 
905
    * ``merge`` now prefers to use the submit branch, but will fall back to
 
906
      parent branch.  For many users, this has no effect.  But some users who
 
907
      pull and merge on the same branch will notice a change.  This change
 
908
      makes it easier to work on a branch on two different machines, pulling
 
909
      between the machines, while merging from the upstream.
 
910
      ``merge --remember`` can now be used to set the submit_branch.
 
911
      (Aaron Bentley)
 
912
 
 
913
  FEATURES:
 
914
 
 
915
    * ``merge --preview`` produces a diff of the changes merge would make,
 
916
      but does not actually perform the merge.  (Aaron Bentley)
 
917
 
 
918
    * New smart method ``Repository.get_parent_map`` for getting revision
 
919
      parent data. This returns additional parent information topologically
 
920
      adjacent to the requested data to reduce round trip latency impacts.
 
921
      (Robert Collins)
 
922
 
 
923
    * New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
924
      revision data that streams revision data via a chunked encoding.  This
 
925
      avoids buffering large amounts of revision data on the server and on the
 
926
      client, and sends less data to the server to request the revisions.
 
927
      (Andrew Bennetts, Robert Collins, #178353)
 
928
 
 
929
    * The launchpad plugin now handles lp urls of the form
 
930
      ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
931
      launchpad instance to do the resolution of the branch identities.
 
932
      This is primarily of use to Launchpad developers, but can also
 
933
      be used by other users who want to try out Launchpad as
 
934
      a branch location without messing up their public Launchpad
 
935
      account.  Branches that are pushed to the staging environment
 
936
      have an expected lifetime of one day. (Tim Penhey)
 
937
 
 
938
  IMPROVEMENTS:
 
939
 
 
940
    * Creating a new branch no longer tries to read the entire revision-history
 
941
      unnecessarily over smart server operations. (Robert Collins)
 
942
 
 
943
    * Fetching between different repository formats with compatible models now
 
944
      takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
945
 
 
946
    * The ``--coverage`` option is now global, rather specific to ``bzr
 
947
      selftest``.  (Andrew Bennetts)
 
948
 
 
949
    * The ``register-branch`` command will now use the public url of the branch
 
950
      containing the current directory, if one has been set and no explicit
 
951
      branch is provided.  (Robert Collins)
 
952
 
 
953
    * Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
954
      Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
955
      (John Arbash Meinel)
 
956
 
 
957
  BUGFIXES:
 
958
 
 
959
    * Calculate remote path relative to the shared medium in _SmartClient.  This
 
960
      is related to the problem in bug #124089.  (Andrew Bennetts)
 
961
 
 
962
    * Cleanly handle connection errors in smart protocol version two, the same
 
963
      way as they are handled by version one.  (Andrew Bennetts)
 
964
 
 
965
    * Clearer error when ``version-info --custom`` is used without
 
966
      ``--template`` (Lukáš Lalinský)
 
967
 
 
968
    * Don't raise UnavailableFeature during test setup when medusa is not
 
969
      available or tearDown is never called leading to nasty side effects.
 
970
      (#137823, Vincent Ladeuil)
 
971
 
 
972
    * If a plugin's test suite cannot be loaded, for example because of a syntax
 
973
      error in the tests, then ``selftest`` fails, rather than just printing 
 
974
      a warning.  (Martin Pool, #189771)
 
975
      
 
976
    * List possible values for BZR_SSH environment variable in env-variables
 
977
      help topic. (Alexander Belchenko, #181842)
 
978
 
 
979
    * New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
980
      popping the log redirection now precisely restores the previous state,
 
981
      which makes it easier to use bzr log output from other programs.
 
982
      TestCaseInTempDir no longer depends on a log redirection being established
 
983
      by the test framework, which lets bzr tests cleanly run from a normal
 
984
      unittest runner.
 
985
      (#124153, #124849, Martin Pool, Jonathan Lange)
 
986
 
 
987
    * ``pull --quiet`` is now more quiet, in particular a message is no longer
 
988
      printed when the remembered pull location is used. (James Westby,
 
989
      #185907)
 
990
 
 
991
    * ``reconfigure`` can safely be interrupted while fetching.
 
992
      (Aaron Bentley, #179316)
 
993
 
 
994
    * ``reconfigure`` preserves tags when converting to and from lightweight
 
995
      checkouts.  (Aaron Bentley, #182040)
 
996
 
 
997
    * Stop polluting /tmp when running selftest.
 
998
      (Vincent Ladeuil, #123623)
 
999
 
 
1000
    * Switch from NFKC => NFC for normalization checks. NFC allows a few
 
1001
      more characters which should be considered valid.
 
1002
      (John Arbash Meinel, #185458)
 
1003
 
 
1004
    * The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
1005
      interacting badly with a bug on the launchpad side. (Robert Collins)
 
1006
 
 
1007
    * Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
1008
      tracebacks.  (Andrew Bennetts, #182849)
 
1009
 
 
1010
  API BREAKS:
 
1011
 
 
1012
    * Classes implementing Merge types like Merge3Merger must now accept (and
 
1013
      honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
1014
 
 
1015
    * ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
1016
      to previously take a write lock (and start a write group.)
 
1017
      (Martin Pool)
 
1018
 
 
1019
  TESTING:
 
1020
 
 
1021
    * selftest now accepts --load-list <file> to load a test id list. This
 
1022
      speeds up running the test suite on a limited set of tests.
 
1023
      (Vincent Ladeuil)
 
1024
 
 
1025
  INTERNALS:
 
1026
 
 
1027
    * Add a new method ``get_result`` to graph search objects. The resulting
 
1028
      ``SearchResult`` can be used to recreate the search later, which will
 
1029
      be useful in reducing network traffic. (Robert Collins)
 
1030
 
 
1031
    * Use convenience function to check whether two repository handles 
 
1032
      are referring to the same repository in ``Repository.get_graph``. 
 
1033
      (Jelmer Vernooij, #187162)
 
1034
 
 
1035
    * Fetching now passes the find_ghosts flag through to the 
 
1036
      ``InterRepository.missing_revision_ids`` call consistently for all
 
1037
      repository types. This will enable faster missing revision discovery with
 
1038
      bzr+ssh. (Robert Collins)
 
1039
 
 
1040
    * Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
1041
 
 
1042
    * ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
1043
      ``InterRepository.search_missing_revision_ids`` which returns a 
 
1044
      ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
1045
      server. (Robert Collins)
 
1046
 
 
1047
    * New error ``NoPublicBranch`` for commands that need a public branch to
 
1048
      operate. (Robert Collins)
 
1049
 
 
1050
    * New method ``iter_inventories`` on Repository for access to many
 
1051
      inventories. This is primarily used by the ``revision_trees`` method, as
 
1052
      direct access to inventories is discouraged. (Robert Collins)
 
1053
 
 
1054
    * New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
1055
      which will split out ghosts and present parents into two separate sets,
 
1056
      useful for code which needs to be aware of ghosts (e.g. fetching data
 
1057
      cares about ghosts during revision selection). (Robert Collins)
 
1058
 
 
1059
    * Record a timestamp against each mutter to the trace file, relative to the
 
1060
      first import of bzrlib.  (Andrew Bennetts)
 
1061
 
 
1062
    * ``Repository.get_data_stream`` is now deprecated in favour of
 
1063
      ``Repository.get_data_stream_for_search`` which allows less network
 
1064
      traffic when requesting data streams over a smart server. (Robert Collins)
 
1065
 
 
1066
    * ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
1067
      removing one round trip on many network operations. (Robert Collins)
 
1068
 
 
1069
    * RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
1070
      SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
1071
 
 
1072
    * Repository has a new method ``has_revisions`` which signals the presence
 
1073
      of many revisions by returning a set of the revisions listed which are
 
1074
      present. This can be done by index queries without reading data for parent
 
1075
      revision names etc. (Robert Collins)
 
1076
 
 
1077
 
 
1078
bzr 1.1 2008-01-15
 
1079
------------------
 
1080
 
 
1081
(no changes from 1.1rc1)
 
1082
 
 
1083
bzr 1.1rc1 2008-01-05
 
1084
---------------------
 
1085
 
 
1086
  CHANGES:
 
1087
   
 
1088
   * Dotted revision numbers have been revised. Instead of growing longer with
 
1089
     nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
1090
     we now report 1.2.1.) This helps scale long lived branches which have many
 
1091
     feature branches merged between them. (John Arbash Meinel)
 
1092
 
 
1093
   * The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
1094
     Use ``bzr diff branch1 --new branch2`` instead. This change has
 
1095
     been made to remove the ambiguity where ``branch2`` is in fact a
 
1096
     specific file to diff within ``branch1``.
 
1097
 
 
1098
  FEATURES:
 
1099
 
 
1100
   * New option to use custom template-based formats in  ``bzr version-info``.
 
1101
     (Lukáš Lalinský)
 
1102
 
 
1103
   * diff '--using' allows an external diff tool to be used for files.
 
1104
     (Aaron Bentley)
 
1105
 
 
1106
   * New "lca" merge-type for fast everyday merging that also supports
 
1107
     criss-cross merges.  (Aaron Bentley)
 
1108
 
 
1109
  IMPROVEMENTS:
 
1110
 
 
1111
   * ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
1112
     #90049)
 
1113
 
 
1114
   * ``branch`` and ``checkout`` can now use files from a working tree to
 
1115
     to speed up the process.  For checkout, this requires the new
 
1116
     --files-from flag.  (Aaron Bentley)
 
1117
 
 
1118
   * ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
1119
 
 
1120
   * ``bzr diff`` now works on branches without working trees. Tree-less
 
1121
     branches can also be compared to each other and to working trees using
 
1122
     the new diff options ``--old`` and ``--new``. Diffing between branches,
 
1123
     with or without trees, now supports specific file filtering as well.
 
1124
     (Ian Clatworthy, #6700)
 
1125
 
 
1126
   * ``bzr pack`` now orders revision texts in topological order, with newest
 
1127
     at the start of the file, promoting linear reads for ``bzr log`` and the
 
1128
     like. This partially fixes #154129. (Robert Collins)
 
1129
 
 
1130
   * Merge directives now fetch prerequisites from the target branch if
 
1131
     needed.  (Aaron Bentley)
 
1132
 
 
1133
   * pycurl now handles digest authentication.
 
1134
     (Vincent Ladeuil)
 
1135
 
 
1136
   * ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
1137
 
 
1138
   * ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
1139
 
 
1140
   * ``merge`` now warns when merge directives cause cherrypicks.
 
1141
     (Aaron Bentley)
 
1142
 
 
1143
   * ``split`` now supported, to enable splitting large trees into smaller
 
1144
     pieces.  (Aaron Bentley)
 
1145
 
 
1146
  BUGFIXES:
 
1147
 
 
1148
   * Avoid AttributeError when unlocking a pack repository when an error occurs.
 
1149
     (Martin Pool, #180208)
 
1150
 
 
1151
   * Better handle short reads when processing multiple range requests.
 
1152
     (Vincent Ladeuil, #179368)
 
1153
 
 
1154
   * build_tree acceleration uses the correct path when a file has been moved.
 
1155
     (Aaron Bentley)
 
1156
 
 
1157
   * ``commit`` now succeeds when a checkout and its master branch share a
 
1158
     repository.  (Aaron Bentley, #177592)
 
1159
 
 
1160
   * Fixed error reporting of unsupported timezone format in
 
1161
     ``log --timezone``. (Lukáš Lalinský, #178722)
 
1162
 
 
1163
   * Fixed Unicode encoding error in ``ignored`` when the output is
 
1164
     redirected to a pipe. (Lukáš Lalinský)
 
1165
 
 
1166
   * Fix traceback when sending large response bodies over the smart protocol
 
1167
     on Windows. (Andrew Bennetts, #115781)
 
1168
 
 
1169
   * Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
1170
     pointed to different logical drives on Windows.
 
1171
     (Alexander Belchenko, #90847)
 
1172
 
 
1173
   * HTTP test servers are now compatible with the http protocol version 1.1.
 
1174
     (Vincent Ladeuil, #175524)
 
1175
 
 
1176
   * _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
1177
     correctly, instead of erroring or attributing incorrect parents to ghosts.
 
1178
     (Aaron Bentley)
 
1179
 
 
1180
   * ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
1181
 
 
1182
   * pycurl authentication handling was broken and incomplete. Fix handling of
 
1183
     user:pass embedded in the urls.
 
1184
     (Vincent Ladeuil, #177643)
 
1185
 
 
1186
   * Files inside non-directories are now handled like other conflict types.
 
1187
     (Aaron Bentley, #177390)
 
1188
 
 
1189
   * ``reconfigure`` is able to convert trees into lightweight checkouts.
 
1190
     (Aaron Bentley)
 
1191
 
 
1192
   * Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
1193
     #148087)
 
1194
 
 
1195
   * Test that the old ``version_info_format`` functions still work, even
 
1196
     though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
1197
 
 
1198
   * Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
1199
     #137681)
 
1200
 
 
1201
   * ``uncommit`` works even when the commit messages of revisions to be
 
1202
     removed use characters not supported in the terminal encoding.
 
1203
     (Aaron Bentley)
 
1204
 
 
1205
   * When dumb http servers return whole files instead of the requested ranges,
 
1206
     read the remaining bytes by chunks to avoid overflowing network buffers.
 
1207
     (Vincent Ladeuil, #175886)
 
1208
 
 
1209
  DOCUMENTATION:
 
1210
 
 
1211
   * Minor tweaks made to the bug tracker integration documentation.
 
1212
     (Ian Clatworthy)
 
1213
 
 
1214
   * Reference material has now be moved out of the User Guide and added
 
1215
     to the User Reference. The User Reference has gained 4 sections as
 
1216
     a result: Authenication Settings, Configuration Settings, Conflicts
 
1217
     and Hooks. All help topics are now dumped into text format in the
 
1218
     doc/en/user-reference directory for those who like browsing that
 
1219
     information in their editor. (Ian Clatworthy)
 
1220
 
 
1221
   * *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
1222
 
 
1223
  INTERNALS:
 
1224
 
 
1225
    * find_* methods available for BzrDirs, Branches and WorkingTrees.
 
1226
      (Aaron Bentley)
 
1227
 
 
1228
    * Help topics can now be loaded from files. 
 
1229
      (Ian Clatworthy, Alexander Belchenko)
 
1230
 
 
1231
    * get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
1232
 
 
1233
    * Parent Providers should now implement ``get_parent_map`` returning a
 
1234
      dictionary instead of ``get_parents`` returning a list.
 
1235
      ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
1236
      Robert Collins)
 
1237
 
 
1238
    * Patience Diff now supports arbitrary python objects, as long as they
 
1239
      support ``hash()``. (John Arbash Meinel)
 
1240
 
 
1241
    * Reduce selftest overhead to establish test names by memoization.
 
1242
      (Vincent Ladeuil)
 
1243
 
 
1244
  API BREAKS:
 
1245
 
 
1246
  TESTING:
 
1247
 
 
1248
   * Modules can now customise their tests by defining a ``load_tests``
 
1249
     attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
1250
     for the documentation on this attribute. (Robert Collins)
 
1251
 
 
1252
   * New helper function ``bzrlib.tests.condition_id_re`` which helps
 
1253
     filter tests based on a regular expression search on the tests id.
 
1254
     (Robert Collins)
 
1255
    
 
1256
   * New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
1257
     filter tests based on class. (Robert Collins)
 
1258
    
 
1259
   * New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
1260
     generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
1261
 
 
1262
   * New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
1263
     generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
1264
 
 
1265
   * New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
1266
     TestSuite that does not contain tests from the input that matched a
 
1267
     regular expression. (Robert Collins)
 
1268
 
 
1269
   * New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
1270
     randomized copy of the input suite. (Robert Collins)
 
1271
 
 
1272
   * New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
1273
     suite into two according to a regular expression. (Robert Collins)
 
1274
 
 
1275
   * Parametrize all http tests for the transport implementations, the http
 
1276
     protocol versions (1.0 and 1.1) and the authentication schemes.
 
1277
     (Vincent Ladeuil) 
 
1278
 
 
1279
   * The ``exclude_pattern`` and ``random_order`` parameters to the function
 
1280
     ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
1281
 
 
1282
   * The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is 
 
1283
     replaced by the new helper methods added in this release. (Robert Collins)
 
1284
 
 
1285
 
 
1286
bzr 1.0 2007-12-14
 
1287
------------------
 
1288
 
 
1289
  DOCUMENTATION:
 
1290
 
 
1291
   * More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
1292
 
 
1293
   * Add information on cherrypicking/rebasing to the User Guide.
 
1294
     (Ian Clatworthy)
 
1295
 
 
1296
   * Improve bug tracker integration documentation. (Ian Clatworthy)
 
1297
 
 
1298
   * Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
1299
     to the rebasing section of the User Guide from Aaron Bentley.
 
1300
     (Ian Clatworthy)
 
1301
 
 
1302
 
 
1303
bzr 1.0rc3 2007-12-11
 
1304
---------------------
 
1305
 
 
1306
  CHANGES:
 
1307
   
 
1308
   * If a traceback occurs, users are now asked to report the bug 
 
1309
     through Launchpad (https://bugs.launchpad.net/bzr/), rather than 
 
1310
     by mail to the mailing list.
 
1311
     (Martin Pool)
 
1312
 
 
1313
  BUGFIXES:
 
1314
 
 
1315
   * Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
1316
 
 
1317
   * Give more feedback during long http downloads by making readv deliver data
 
1318
     as it arrives for urllib, and issue more requests for pycurl. High latency
 
1319
     networks are better handled by urllib, the pycurl implementation give more
 
1320
     feedback but also incur more latency.
 
1321
     (Vincent Ladeuil, #173010)
 
1322
 
 
1323
   * Implement _make_parents_provider on RemoteRepository, allowing generating
 
1324
     bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
1325
 
 
1326
  DOCUMENTATION:
 
1327
 
 
1328
   * Improved user guide.  (Ian Clatworthy)
 
1329
 
 
1330
   * The single-page quick reference guide is now available as a PDF.
 
1331
     (Ian Clatworthy)
 
1332
 
 
1333
  INTERNALS:
 
1334
 
 
1335
    * readv urllib http implementation is now a real iterator above the
 
1336
      underlying socket and deliver data as soon as it arrives. 'get' still
 
1337
      wraps its output in a StringIO.
 
1338
      (Vincent Ladeuil)
 
1339
 
 
1340
 
 
1341
bzr 1.0rc2 2007-12-07
 
1342
---------------------
 
1343
 
 
1344
  IMPROVEMENTS:
 
1345
 
 
1346
   * Added a --coverage option to selftest. (Andrew Bennetts)
 
1347
 
 
1348
   * Annotate merge (merge-type=weave) now supports cherrypicking.
 
1349
     (Aaron Bentley)
 
1350
 
 
1351
   * ``bzr commit`` now doesn't print the revision number twice. (Matt
 
1352
     Nordhoff, #172612)
 
1353
 
 
1354
   * New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
1355
     define locations of bug trackers that are not directly supported by
 
1356
     bzr or a plugin. The URL will be treated as a template and ``{id}``
 
1357
     placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
1358
 
 
1359
   * Support logging single merge revisions with short and line log formatters.
 
1360
     (Kent Gibson)
 
1361
 
 
1362
   * User Guide enhanced with suggested readability improvements from
 
1363
     Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
1364
 
 
1365
   * Quick Start Guide renamed to Quick Start Card, moved down in
 
1366
     the catalog, provided in pdf and png format and updated to refer
 
1367
     to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
1368
 
 
1369
   * ``switch`` can now be used on heavyweight checkouts as well as
 
1370
     lightweight ones. After switching a heavyweight checkout, the
 
1371
     local branch is a mirror/cache of the new bound branch and
 
1372
     uncommitted changes in the working tree are merged. As a safety
 
1373
     check, if there are local commits in a checkout which have not
 
1374
     been committed to the previously bound branch, then ``switch``
 
1375
     fails unless the ``--force`` option is given. This option is
 
1376
     now also required if the branch a lightweight checkout is pointing
 
1377
     to has been moved. (Ian Clatworthy)
 
1378
 
 
1379
  INTERNALS:
 
1380
 
 
1381
    * New -Dhttp debug option reports http connections, requests and responses.
 
1382
      (Vincent Ladeuil)
 
1383
 
 
1384
    * New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
1385
 
 
1386
  BUGFIXES:
 
1387
 
 
1388
   * Better error message when running ``bzr cat`` on a non-existant branch.
 
1389
     (Lukáš Lalinský, #133782)
 
1390
 
 
1391
   * Catch OSError 17 (file exists) in final phase of tree transform and show
 
1392
     filename to user.
 
1393
     (Alexander Belchenko, #111758)
 
1394
 
 
1395
   * Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
1396
     allowing multiple GET requests to be issued if too many ranges are
 
1397
     required.
 
1398
     (Vincent Ladeuil, #172701)
 
1399
 
 
1400
   * Check for missing basis texts when fetching from packs to packs.
 
1401
     (John Arbash Meinel, #165290)
 
1402
 
 
1403
   * Fall back to showing e-mail in ``log --short/--line`` if the 
 
1404
     committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
1405
 
 
1406
  API BREAKS:
 
1407
 
 
1408
   * Deprecate not passing a ``location`` argument to commit reporters'
 
1409
     ``started`` methods. (Matt Nordhoff)
 
1410
 
 
1411
 
 
1412
bzr 1.0rc1 2007-11-30
 
1413
---------------------
 
1414
 
 
1415
  NOTES WHEN UPGRADING:
 
1416
 
 
1417
   * The default repository format is now ``pack-0.92``.  This 
 
1418
     default is used when creating new repositories with ``init`` and 
 
1419
     ``init-repo``, and when branching over bzr+ssh or bzr+hpss. 
 
1420
     (See https://bugs.launchpad.net/bugs/164626)
 
1421
 
 
1422
     This format can be read and written by Bazaar 0.92 and later, and 
 
1423
     data can be transferred to and from older formats.
 
1424
 
 
1425
     To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
1426
     upgrade (``bzr upgrade``). 
 
1427
     
 
1428
     ``pack-0.92`` offers substantially better scaling and performance than the
 
1429
     previous knits format. Some operations are slower where the code already
 
1430
     had bad scaling characteristics under knits, the pack format makes such
 
1431
     operations more visible as part of being more scalable overall. We will
 
1432
     correct such operations over the coming releases and encourage the filing
 
1433
     of bugs on any operation which you observe to be slower in a packs
 
1434
     repository. One particular case that we do not intend to fix is pulling
 
1435
     data from a pack repository into a knit repository over a high latency
 
1436
     link;  downgrading such data requires reinsertion of the file texts, and
 
1437
     this is a classic space/time tradeoff. The current implementation is
 
1438
     conservative on memory usage because we need to support converting data
 
1439
     from any tree without problems.  
 
1440
     (Robert Collins, Martin Pool, #164476)
 
1441
 
 
1442
  CHANGES:
 
1443
 
 
1444
   * Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
1445
     still available if user selects it explicitly with BZR_SSH environment
 
1446
     variable. (Alexander Belchenko, workaround for bug #107593)
 
1447
 
 
1448
   * The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree" 
 
1449
     to enable the subtree functions (for example, for bzr-svn).  
 
1450
     See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
 
1451
     (Martin Pool)
 
1452
 
 
1453
  FEATURES:
 
1454
 
 
1455
   * New ``authentication.conf`` file holding the password or other credentials
 
1456
     for remote servers. This can be used for ssh, sftp, smtp and other 
 
1457
     supported transports.
 
1458
     (Vincent Ladeuil)
 
1459
 
 
1460
   * New rich-root and rich-root-pack formats, recording the same data about
 
1461
     tree roots that's recorded for all other directories.
 
1462
     (Aaron Bentley, #164639)
 
1463
 
 
1464
   * ``pack-0.92`` repositories can now be reconciled.
 
1465
     (Robert Collins, #154173)
 
1466
 
 
1467
   * ``switch`` command added for changing the branch a lightweight checkout
 
1468
     is associated with and updating the tree to reflect the latest content
 
1469
     accordingly. This command was previously part of the BzrTools plug-in.
 
1470
     (Ian Clatworthy, Aaron Bentley, David Allouche)
 
1471
 
 
1472
   * ``reconfigure`` command can now convert branches, trees, or checkouts to
 
1473
     lightweight checkouts.  (Aaron Bentley)
 
1474
 
 
1475
  PERFORMANCE:
 
1476
 
 
1477
   * Commit updates the state of the working tree via a delta rather than
 
1478
     supplying entirely new basis trees. For commit of a single specified file
 
1479
     this reduces the wall clock time for commit by roughly a 30%.
 
1480
     (Robert Collins, Martin Pool)
 
1481
 
 
1482
   * Commit with many automatically found deleted paths no longer performs
 
1483
     linear scanning for the children of those paths during inventory
 
1484
     iteration. This should fix commit performance blowing out when many such
 
1485
     paths occur during commit. (Robert Collins, #156491)
 
1486
 
 
1487
   * Fetch with pack repositories will no longer read the entire history graph.
 
1488
     (Robert Collins, #88319)
 
1489
 
 
1490
   * Revert takes out an appropriate lock when reverting to a basis tree, and
 
1491
     does not read the basis inventory twice. (Robert Collins)
 
1492
 
 
1493
   * Diff does not require an inventory to be generated on dirstate trees.
 
1494
     (Aaron Bentley, #149254)
 
1495
 
 
1496
   * New annotate merge (--merge-type=weave) implementation is fast on
 
1497
     versionedfiles withough cached annotations, e.g. pack-0.92.
 
1498
     (Aaron Bentley)
 
1499
 
 
1500
  IMPROVEMENTS:
 
1501
 
 
1502
   * ``bzr merge`` now warns when it encounters a criss-cross merge.
 
1503
     (Aaron Bentley)
 
1504
 
 
1505
   * ``bzr send`` now doesn't require the target e-mail address to be
 
1506
     specified on the command line if an interactive e-mail client is used.
 
1507
     (Lukáš Lalinský)
 
1508
 
 
1509
   * ``bzr tags`` now prints the revision number for each tag, instead of
 
1510
     the revision id, unless --show-ids is passed. In addition, tags can be
 
1511
     sorted chronologically instead of lexicographically with --sort=time.
 
1512
     (Adeodato Simó, #120231)
 
1513
 
 
1514
   * Windows standalone version of bzr is able to load system-wide plugins from
 
1515
     "plugins" subdirectory in installation directory. In addition standalone
 
1516
     installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info 
 
1517
     about paths and bzr version. (Alexander Belchenko, #129298)
 
1518
 
 
1519
  DOCUMENTATION:
 
1520
 
 
1521
  BUG FIXES:
 
1522
 
 
1523
   * A progress bar has been added for knitpack -> knitpack fetching.
 
1524
     (Robert Collins, #157789, #159147)
 
1525
 
 
1526
   * Branching from a branch via smart server now preserves the repository
 
1527
     format. (Andrew Bennetts,  #164626)
 
1528
     
 
1529
   * ``commit`` is now able to invoke an external editor in a non-ascii
 
1530
     directory. (Daniel Watkins, #84043)
 
1531
 
 
1532
   * Catch connection errors for ftp.
 
1533
     (Vincent Ladeuil, #164567)
 
1534
 
 
1535
   * ``check`` no longer reports spurious unreferenced text versions.
 
1536
     (Robert Collins, John A Meinel, #162931, #165071)
 
1537
 
 
1538
   * Conflicts are now resolved recursively by ``revert``.
 
1539
     (Aaron Bentley, #102739)
 
1540
 
 
1541
   * Detect invalid transport reuse attempts by catching invalid URLs.
 
1542
     (Vincent Ladeuil, #161819)
 
1543
 
 
1544
   * Deleting a file without removing it shows a correct diff, not a traceback.
 
1545
     (Aaron Bentley)
 
1546
 
 
1547
   * Do no use timeout in HttpServer anymore.
 
1548
     (Vincent Ladeuil, #158972).
 
1549
 
 
1550
   * Don't catch the exceptions related to the http pipeline status before
 
1551
     retrying an http request or some programming errors may be masked.
 
1552
     (Vincent Ladeuil, #160012)
 
1553
 
 
1554
   * Fix ``bzr rm`` to not delete modified and ignored files.
 
1555
     (Lukáš Lalinský, #172598)
 
1556
 
 
1557
   * Fix exception when revisionspec contains merge revisons but log
 
1558
     formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
1559
 
 
1560
   * Fix exception when ScopeReplacer is assigned to before any members have
 
1561
     been retrieved.  (Aaron Bentley)
 
1562
 
 
1563
   * Fix multiple connections during checkout --lightweight.
 
1564
     (Vincent Ladeuil, #159150)
 
1565
 
 
1566
   * Fix possible error in insert_data_stream when copying between 
 
1567
     pack repositories over bzr+ssh or bzr+http.  
 
1568
     KnitVersionedFile.get_data_stream now makes sure that requested
 
1569
     compression parents are sent before any delta hunks that depend 
 
1570
     on them.
 
1571
     (Martin Pool, #164637)
 
1572
 
 
1573
   * Fix typo in limiting offsets coalescing for http, leading to
 
1574
     whole files being downloaded instead of parts.
 
1575
     (Vincent Ladeuil, #165061)
 
1576
 
 
1577
   * FTP server errors don't error in the error handling code.
 
1578
     (Robert Collins, #161240)
 
1579
 
 
1580
   * Give a clearer message when a pull fails because the source needs
 
1581
     to be reconciled.
 
1582
     (Martin Pool, #164443)
 
1583
 
 
1584
   * It is clearer when a plugin cannot be loaded because of its name, and a
 
1585
     suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
1586
 
 
1587
   * Leave port as None in transport objects if user doesn't
 
1588
     specify a port in urls.
 
1589
     (vincent Ladeuil, #150860)
 
1590
 
 
1591
   * Make sure Repository.fetch(self) is properly a no-op for all
 
1592
     Repository implementations. (John Arbash Meinel, #158333)
 
1593
 
 
1594
   * Mark .bzr directories as "hidden" on Windows.
 
1595
     (Alexander Belchenko, #71147)
 
1596
 
 
1597
   * ``merge --uncommitted`` can now operate on a single file.
 
1598
     (Aaron Bentley, Lukáš Lalinský, #136890)
 
1599
 
 
1600
   * Obsolete packs are now cleaned up by pack and autopack operations.
 
1601
     (Robert Collins, #153789)
 
1602
 
 
1603
   * Operations pulling data from a smart server where the underlying
 
1604
     repositories are not both annotated/both unannotated will now work.
 
1605
     (Robert Collins, #165304).
 
1606
 
 
1607
   * Reconcile now shows progress bars. (Robert Collins, #159351)
 
1608
 
 
1609
   * ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
1610
     properly. (John Arbash Meinel, #162486)
 
1611
 
 
1612
   * Removing an already-removed file reports the file does not exist. (Daniel
 
1613
     Watkins, #152811)
 
1614
 
 
1615
   * Rename on Windows is able to change filename case.
 
1616
     (Alexander Belchenko, #77740)
 
1617
 
 
1618
   * Return error instead of a traceback for ``bzr log -r0``.
 
1619
     (Kent Gibson, #133751)
 
1620
 
 
1621
   * Return error instead of a traceback when bzr is unable to create
 
1622
     symlink on some platforms (e.g. on Windows).
 
1623
     (Alexander Belchenko, workaround for #81689)
 
1624
 
 
1625
   * Revert doesn't crash when restoring a single file from a deleted
 
1626
     directory. (Aaron Bentley)
 
1627
 
 
1628
   * Stderr output via logging mechanism now goes through encoded wrapper
 
1629
     and no more uses utf-8, but terminal encoding instead. So all unicode
 
1630
     strings now should be readable in non-utf-8 terminal.
 
1631
     (Alexander Belchenko, #54173)
 
1632
 
 
1633
   * The error message when ``move --after`` should be used makes how to do so
 
1634
     clearer. (Daniel Watkins, #85237)
 
1635
 
 
1636
   * Unicode-safe output from ``bzr info``. The output will be encoded
 
1637
     using the terminal encoding and unrepresentable characters will be
 
1638
     replaced by '?'. (Lukáš Lalinský, #151844)
 
1639
 
 
1640
   * Working trees are no longer created when pushing into a local no-trees
 
1641
     repo. (Daniel Watkins, #50582)
 
1642
 
 
1643
   * Upgrade util/configobj to version 4.4.0.
 
1644
     (Vincent Ladeuil, #151208).
 
1645
 
 
1646
   * Wrap medusa ftp test server as an FTPServer feature.
 
1647
     (Vincent Ladeuil, #157752)
 
1648
 
 
1649
  API BREAKS:
 
1650
 
 
1651
   * ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
1652
     during very long time. (Alexander Belchenko)
 
1653
 
 
1654
   * The return value of
 
1655
     ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
1656
     changed. Previously it was an iterator of lines, now it is an iterator of
 
1657
     (line, version_id) tuples. This change has been made to aid reconcile and
 
1658
     fetch operations. (Robert Collins)
 
1659
 
 
1660
   * ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
1661
     (Robert Collins)
 
1662
 
 
1663
   * The Repository format registry default has been removed; it was previously
 
1664
     obsoleted by the bzrdir format default, which implies a default repository
 
1665
     format.
 
1666
     (Martin Pool)
 
1667
 
 
1668
  INTERNALS:
 
1669
 
 
1670
   * Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
1671
     ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
1672
     and parsing containers from streams rather than from files.  (Andrew
 
1673
     Bennetts)
 
1674
 
 
1675
   * New module ``lru_cache`` providing a cache for use by tasks that need
 
1676
     semi-random access to large amounts of data. (John A Meinel)
 
1677
 
 
1678
   * InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
1679
 
 
1680
  TESTING:
 
1681
 
 
1682
 
 
1683
bzr 0.92 2007-11-05
 
1684
-------------------
 
1685
 
 
1686
  CHANGES:
 
1687
 
 
1688
  * New uninstaller on Win32.  (Alexander Belchenko)
 
1689
 
 
1690
 
 
1691
bzr 0.92rc1 2007-10-29
 
1692
----------------------
 
1693
 
 
1694
  NOTES WHEN UPGRADING:
 
1695
 
 
1696
  CHANGES:
 
1697
  
 
1698
   * ``bzr`` now returns exit code 4 if an internal error occurred, and 
 
1699
     3 if a normal error occurred.  (Martin Pool)
 
1700
 
 
1701
   * ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
1702
     repository index errors that occured as a result of the Weave disk format.
 
1703
     Instead the ``reconcile`` command needs to be run to correct those
 
1704
     problems if they exist (and it has been able to fix most such problems
 
1705
     since bzr 0.8). Some new problems have been identified during this release
 
1706
     and you should run ``bzr check`` once on every repository to see if you
 
1707
     need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
1708
     repository due to mismatched parent errors - a symptom of index errors -
 
1709
     you should simply take a full copy of that remote repository to a clean
 
1710
     directory outside any local repositories, then run reconcile on it, and
 
1711
     finally pull from it locally. (And naturally email the repositories owner
 
1712
     to ask them to upgrade and run reconcile).
 
1713
     (Robert Collins)
 
1714
 
 
1715
  FEATURES:
 
1716
 
 
1717
   * New ``knitpack-experimental`` repository format. This is interoperable with
 
1718
     the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
1719
     speeds up many operations, both local and remote. This new format can be
 
1720
     used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
1721
     commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
 
1722
     for further details. (Robert Collins)
 
1723
 
 
1724
   * For users of bzr-svn (and those testing the prototype subtree support) that
 
1725
     wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
1726
     been added. This is interoperable with the ``dirstate-subtrees`` format.
 
1727
     (Robert Collins)
 
1728
 
 
1729
   * New ``reconfigure`` command. (Aaron Bentley)
 
1730
 
 
1731
   * New ``revert --forget-merges`` command, which removes the record of a pending 
 
1732
     merge without affecting the working tree contents.  (Martin Pool)
 
1733
 
 
1734
   * New ``bzr_remote_path`` configuration variable allows finer control of
 
1735
     remote bzr locations than BZR_REMOTE_PATH environment variable.
 
1736
     (Aaron Bentley)
 
1737
 
 
1738
   * New ``launchpad-login`` command to tell Bazaar your Launchpad
 
1739
     user ID.  This can then be used by other functions of the
 
1740
     Launchpad plugin. (James Henstridge)
 
1741
 
 
1742
  PERFORMANCE:
 
1743
 
 
1744
   * Commit in quiet mode is now slightly faster as the information to
 
1745
     output is no longer calculated. (Ian Clatworthy)
 
1746
 
 
1747
   * Commit no longer checks for new text keys during insertion when the
 
1748
     revision id was deterministically unique. (Robert Collins)
 
1749
 
 
1750
   * Committing a change which is not a merge and does not change the number of
 
1751
     files in the tree is faster by utilising the data about whether files are
 
1752
     changed to determine if the tree is unchanged rather than recalculating
 
1753
     it at the end of the commit process. (Robert Collins)
 
1754
 
 
1755
   * Inventory serialisation no longer double-sha's the content.
 
1756
     (Robert Collins)
 
1757
 
 
1758
   * Knit text reconstruction now avoids making copies of the lines list for
 
1759
     interim texts when building a single text. The new ``apply_delta`` method
 
1760
     on ``KnitContent`` aids this by allowing modification of the revision id
 
1761
     such objects represent. (Robert Collins)
 
1762
 
 
1763
   * Pack indices are now partially parsed for specific key lookup using a
 
1764
     bisection approach. (Robert Collins)
 
1765
 
 
1766
   * Partial commits are now approximately 40% faster by walking over the
 
1767
     unselected current tree more efficiently. (Robert Collins)
 
1768
 
 
1769
   * XML inventory serialisation takes 20% less time while being stricter about
 
1770
     the contents. (Robert Collins)
 
1771
 
 
1772
   * Graph ``heads()`` queries have been fixed to no longer access all history
 
1773
     unnecessarily. (Robert Collins)
 
1774
 
 
1775
  IMPROVEMENTS:
 
1776
 
 
1777
   * ``bzr+https://`` smart server across https now supported. 
 
1778
     (John Ferlito, Martin Pool, #128456)
 
1779
 
 
1780
   * Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
1781
     bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
1782
 
 
1783
   * New option ``-c``/``--change`` for ``merge`` command for cherrypicking 
 
1784
     changes from one revision. (Alexander Belchenko, #141368)
 
1785
 
 
1786
   * Show encodings, locale and list of plugins in the traceback message.
 
1787
     (Martin Pool, #63894)
 
1788
 
 
1789
   * Experimental directory formats can now be marked with
 
1790
     ``experimental = True`` during registration. (Ian Clatworthy)
 
1791
 
 
1792
  DOCUMENTATION:
 
1793
 
 
1794
   * New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
1795
 
 
1796
   * The hooks reference documentation is now converted to html as expected.
 
1797
     (Ian Clatworthy)
 
1798
 
 
1799
  BUG FIXES:
 
1800
 
 
1801
   * Connection error reporting for the smart server has been fixed to
 
1802
     display a user friendly message instead of a traceback.
 
1803
     (Ian Clatworthy, #115601)
 
1804
 
 
1805
   * Make sure to use ``O_BINARY`` when opening files to check their
 
1806
     sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
1807
 
 
1808
   * Fix a problem with Win32 handling of the executable bit.
 
1809
     (John Arbash Meinel, #149113)
 
1810
 
 
1811
   * ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
1812
     no longer assume that means port 22.  This allows people using OpenSSH to
 
1813
     override the default port in their ``~/.ssh/config`` if they wish.  This
 
1814
     fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
1815
 
 
1816
   * Commands reporting exceptions can now be profiled and still have their
 
1817
     data correctly dumped to a file. For example, a ``bzr commit`` with
 
1818
     no changes still reports the operation as pointless but doing so no
 
1819
     longer throws away the profiling data if this command is run with
 
1820
     ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
1821
 
 
1822
   * Fallback to ftp when paramiko is not installed and sftp can't be used for
 
1823
     ``tests/commands`` so that the test suite is still usable without
 
1824
     paramiko.
 
1825
     (Vincent Ladeuil, #59150)
 
1826
 
 
1827
   * Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
1828
 
 
1829
   * Fix long standing bug in partial commit when there are renames 
 
1830
     left in tree. (Robert Collins, #140419)
 
1831
 
 
1832
   * Fix selftest semi-random noise during http related tests.
 
1833
     (Vincent Ladeuil, #140614)
 
1834
 
 
1835
   * Fix typo in ftp.py making the reconnection fail on temporary errors.
 
1836
     (Vincent Ladeuil, #154259)
 
1837
 
 
1838
   * Fix failing test by comparing real paths to cover the case where the TMPDIR
 
1839
     contains a symbolic link.
 
1840
     (Vincent Ladeuil, #141382).
 
1841
 
 
1842
   * Fix log against smart server branches that don't support tags.
 
1843
     (James Westby, #140615)
 
1844
 
 
1845
   * Fix pycurl http implementation by defining error codes from
 
1846
     pycurl instead of relying on an old curl definition.
 
1847
     (Vincent Ladeuil, #147530)
 
1848
 
 
1849
   * Fix 'unprintable error' message when displaying BzrCheckError and 
 
1850
     some other exceptions on Python 2.5.
 
1851
     (Martin Pool, #144633)
 
1852
 
 
1853
   * Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
1854
 
 
1855
   * Handles default value for ListOption in cmd_commit.
 
1856
     (Vincent Ladeuil, #140432)
 
1857
 
 
1858
   * HttpServer and FtpServer need to be closed properly or a listening socket
 
1859
     will remain opened.
 
1860
     (Vincent Ladeuil, #140055)
 
1861
 
 
1862
   * Monitor the .bzr directory created in the top level test
 
1863
     directory to detect leaking tests.
 
1864
     (Vincent Ladeuil, #147986)
 
1865
 
 
1866
   * The basename, not the full path, is now used when checking whether
 
1867
     the profiling dump file begins with ``callgrind.out`` or not. This
 
1868
     fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
1869
 
 
1870
   * Trivial fix for invoking command ``reconfigure`` without arguments.
 
1871
     (Rob Weir, #141629)
 
1872
 
 
1873
   * ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
1874
     new path causes bzr to be unable to access the file. (Robert Collins)
 
1875
 
 
1876
   * Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
1877
     Merwe)
 
1878
 
 
1879
  API BREAKS:
 
1880
 
 
1881
   * ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
1882
     constructor, for enabling bisection searches. (Robert Collins)
 
1883
 
 
1884
   * ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
1885
     tree be supplied to it, previously failing to do so would trigger a
 
1886
     deprecation warning. (Robert Collins)
 
1887
 
 
1888
   * ``KnitVersionedFile.add*`` will no longer cache added records even when
 
1889
     enable_cache() has been called - the caching feature is now exclusively for
 
1890
     reading existing data. (Robert Collins)
 
1891
 
 
1892
   * ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more 
 
1893
     appropriate.  (Martin Pool)
 
1894
 
 
1895
   * Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
1896
     ``trace+`` transport instead. (Robert Collins)
 
1897
 
 
1898
   * Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
1899
     deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
1900
     (Martin Pool)
 
1901
 
 
1902
   * Removed previous deprecated ``basis_knit`` parameter to the
 
1903
     ``KnitVersionedFile`` constructor. (Robert Collins)
 
1904
 
 
1905
   * Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii 
 
1906
     class that needs it.
 
1907
     (Martin Pool)
 
1908
 
 
1909
   * The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
1910
     ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
1911
 
 
1912
   * The ``VersionedFile`` interface now allows content checks to be bypassed
 
1913
     by supplying check_content=False.  This saves nearly 30% of the minimum
 
1914
     cost to store a version of a file. (Robert Collins)
 
1915
 
 
1916
   * Tree's with bad state such as files with no length or sha will no longer
 
1917
     be silently accepted by the repository XML serialiser. To serialise
 
1918
     inventories without such data, pass working=True to write_inventory.
 
1919
     (Robert Collins)
 
1920
 
 
1921
   * ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
1922
     ``VersionedFile.join`` will no longer accept different parents on either
 
1923
     side of a join - it will either ignore them, or error, depending on the
 
1924
     implementation. See notes when upgrading for more information.
 
1925
     (Robert Collins)
 
1926
 
 
1927
  INTERNALS:
 
1928
 
 
1929
   * ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
1930
     put by the method call, to allow avoiding stat-after-write or
 
1931
     housekeeping in callers. (Robert Collins)
 
1932
 
 
1933
   * ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
1934
     mandatory attributes are present on serialisation and deserialisation.
 
1935
     This fixes some holes in API usage and allows better separation between
 
1936
     physical storage and object serialisation. (Robert Collins)
 
1937
 
 
1938
   * New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
1939
     shorthand for deriving from BzrError and setting internal_error = True.
 
1940
     (Robert Collins)
 
1941
 
 
1942
   * New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
1943
     moving the state of a parent tree to a new version via a delta rather than
 
1944
     a complete replacement tree. (Robert Collins)
 
1945
 
 
1946
   * New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
1947
     duplication from user input, when a user mentions both a path and an item
 
1948
     contained within that path. (Robert Collins)
 
1949
 
 
1950
   * New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
1951
     determining if a repository is write locked. (Robert Collins)
 
1952
 
 
1953
   * New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
1954
     tuple containing the key information about a path for commit processing
 
1955
     to complete. (Robert Collins)
 
1956
 
 
1957
   * New method on xml serialisers, write_inventory_to_lines, which matches the
 
1958
     API used by knits for adding content. (Robert Collins)
 
1959
 
 
1960
   * New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
1961
     logic, currently only available for byte-based lookup
 
1962
     (``bisect_multi_bytes``). (Robert Collins)
 
1963
 
 
1964
   * New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
1965
     and returns a gzipped version of the same. This is used to avoid a bunch
 
1966
     of api friction during adding of knit hunks. (Robert Collins)
 
1967
 
 
1968
   * New parameter on ``bzrlib.transport.Transport.readv``
 
1969
     ``adjust_for_latency`` which changes readv from returning strictly the
 
1970
     requested data to inserted return larger ranges and in forward read order
 
1971
     to reduce the effect of network latency. (Robert Collins)
 
1972
 
 
1973
   * New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
1974
     causes the parents of a selected id to be returned recursively, so all the
 
1975
     paths from the root down to each element of selected_file_ids are
 
1976
     returned. (Robert Collins)
 
1977
 
 
1978
   * Knit joining has been enhanced to support plain to annotated conversion
 
1979
     and annotated to plain conversion. (Ian Clatworthy)
 
1980
 
 
1981
   * The CommitBuilder method ``record_entry_contents`` now returns summary
 
1982
     information about the effect of the commit on the repository. This tuple
 
1983
     contains an inventory delta item if the entry changed from the basis, and a
 
1984
     boolean indicating whether a new file graph node was recorded.
 
1985
     (Robert Collins)
 
1986
 
 
1987
   * The python path used in the Makefile can now be overridden.
 
1988
     (Andrew Bennetts, Ian Clatworthy)
 
1989
 
 
1990
  TESTING:
 
1991
 
 
1992
   * New transport implementation ``trace+`` which is useful for testing,
 
1993
     logging activity taken to its _activity attribute. (Robert Collins)
 
1994
 
 
1995
   * When running bzr commands within the test suite, internal exceptions are
 
1996
     not caught and reported in the usual way, but rather allowed to propagate
 
1997
     up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
1998
     makes this behavior available to other users.
 
1999
     (Martin Pool)
 
2000
 
 
2001
   * New method ``TestCase.call_catch_warnings`` for testing methods that 
 
2002
     raises a Python warning.  (Martin Pool)
 
2003
 
 
2004
 
 
2005
bzr 0.91 2007-09-26
 
2006
-------------------
 
2007
 
 
2008
  BUG FIXES:
 
2009
 
 
2010
   * Print a warning instead of aborting the ``python setup.py install``
 
2011
     process if building of a C extension is not possible.
 
2012
     (Lukáš Lalinský, Alexander Belchenko)
 
2013
 
 
2014
   * Fix commit ordering in corner case (Aaron Bentley, #94975)
 
2015
 
 
2016
   * Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
2017
     an implicit port.  We were incorrectly raising PathNotChild due to
 
2018
     inconsistent treatment of the ''_port'' attribute on the Transport object.
 
2019
     (Andrew Bennetts, #133965)
 
2020
 
 
2021
   * Make RemoteRepository.sprout cope gracefully with servers that don't
 
2022
     support the ``Repository.tarball`` request.
 
2023
     (Andrew Bennetts)
 
2024
 
 
2025
 
 
2026
bzr 0.91rc2 2007-09-11
 
2027
----------------------
 
2028
 
 
2029
   * Replaced incorrect tarball for previous release; a debug statement was left 
 
2030
     in bzrlib/remote.py.
 
2031
 
 
2032
 
 
2033
bzr 0.91rc1 2007-09-11
 
2034
----------------------
 
2035
 
 
2036
  CHANGES:
 
2037
 
 
2038
   * The default branch and repository format has changed to 
 
2039
     ``dirstate-tags``, so tag commands are active by default.
 
2040
     This format is compatible with Bazaar 0.15 and later.
 
2041
     This incidentally fixes bug #126141.
 
2042
     (Martin Pool)
 
2043
 
 
2044
   * ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
2045
     must now appear after the command name. Scripts doing things like
 
2046
     ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
2047
     (Ian Clatworthy)
 
2048
 
 
2049
  FEATURES:
 
2050
 
 
2051
   * New option ``--author`` in ``bzr commit`` to specify the author of the
 
2052
     change, if it's different from the committer. ``bzr log`` and
 
2053
     ``bzr annotate`` display the author instead of the committer.
 
2054
     (Lukáš Lalinský)
 
2055
 
 
2056
   * In addition to global options and command specific options, a set of
 
2057
     standard options are now supported. Standard options are legal for
 
2058
     all commands. The initial set of standard options are:
 
2059
     
 
2060
     * ``--help`` or ``-h`` - display help message
 
2061
     * ``--verbose`` or ``-v`` - display additional information
 
2062
     * ``--quiet``  or ``-q`` - only output warnings and errors.
 
2063
 
 
2064
     Unlike global options, standard options can be used in aliases and
 
2065
     may have command-specific help. (Ian Clatworthy)
 
2066
 
 
2067
   * Verbosity level processing has now been unified. If ``--verbose``
 
2068
     or ``-v`` is specified on the command line multiple times, the
 
2069
     verbosity level is made positive the first time then increased.
 
2070
     If ``--quiet`` or ``-q`` is specified on the command line
 
2071
     multiple times, the verbosity level is made negative the first
 
2072
     time then decreased. To get the default verbosity level of zero,
 
2073
     either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
2074
     Note that most commands currently ignore the magnitude of the
 
2075
     verbosity level but do respect *quiet vs normal vs verbose* when
 
2076
     generating output. (Ian Clatworthy)
 
2077
 
 
2078
   * ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
2079
     is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
2080
 
 
2081
   * New ``Repository.stream_knit_data_for_revisions`` request added to the
 
2082
     network protocol for greatly reduced roundtrips when retrieving a set of
 
2083
     revisions. (Andrew Bennetts)
 
2084
 
 
2085
  BUG FIXES:
 
2086
 
 
2087
   * ``bzr plugins`` now lists the version number for each plugin in square
 
2088
     brackets after the path. (Robert Collins, #125421)
 
2089
 
 
2090
   * Pushing, pulling and branching branches with subtree references was not
 
2091
     copying the subtree weave, preventing the file graph from being accessed
 
2092
     and causing errors in commits in clones. (Robert Collins)
 
2093
 
 
2094
   * Suppress warning "integer argument expected, got float" from Paramiko,
 
2095
     which sometimes caused false test failures.  (Martin Pool)
 
2096
 
 
2097
   * Fix bug in bundle 4 that could cause attempts to write data to wrong
 
2098
     versionedfile.  (Aaron Bentley)
 
2099
 
 
2100
   * Diffs generated using "diff -p" no longer break the patch parser.
 
2101
     (Aaron Bentley)
 
2102
 
 
2103
   * get_transport treats an empty possible_transports list the same as a non-
 
2104
     empty one.  (Aaron Bentley)
 
2105
 
 
2106
   * patch verification for merge directives is reactivated, and works with
 
2107
     CRLF and CR files.  (Aaron Bentley)
 
2108
 
 
2109
   * Accept ..\ as a path in revision specifiers. This fixes for example
 
2110
     "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský) 
 
2111
 
 
2112
   * ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
2113
     (Blake Winton, #129299)
 
2114
 
 
2115
   * man page no longer lists hidden options (#131667, Aaron Bentley)
 
2116
 
 
2117
   * ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
2118
     Watkins, #106726)
 
2119
 
 
2120
   * Error messages are now better formatted with parameters (such as
 
2121
     filenames) quoted when necessary. This avoids confusion when directory
 
2122
     names ending in a '.' at the end of messages were confused with a
 
2123
     full stop that may or not have been there. (Daniel Watkins, #129791)
 
2124
 
 
2125
   * Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
2126
 
 
2127
   * If a particular command is an alias, ``help`` will show the alias
 
2128
     instead of claiming there is no help for said alias. (Daniel Watkins,
 
2129
     #133548)
 
2130
 
 
2131
   * TreeTransform-based operations, like pull, merge, revert, and branch,
 
2132
     now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
2133
 
 
2134
   * ``bzr commit`` now exits cleanly if a character unsupported by the
 
2135
     current encoding is used in the commit message.  (Daniel Watkins,
 
2136
     #116143)
 
2137
 
 
2138
   * bzr send uses default values for ranges when only half of an elipsis
 
2139
     is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
2140
 
 
2141
   * Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
2142
     binary is present.  (Martin Albisetti, #107155)
 
2143
 
 
2144
   * ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
2145
     needing ``--force``) subtrees that contain no files with text changes or
 
2146
     modified files.  With ``--force`` it removes the subtree regardless of
 
2147
     text changes or unknown files. Directories with renames in or out (but
 
2148
     not changed otherwise) will now be removed without needing ``--force``.
 
2149
     Unknown ignored files will be deleted without needing ``--force``.
 
2150
     (Marius Kruger, #111665)
 
2151
 
 
2152
   * When two plugins conflict, the source of both the losing and now the
 
2153
     winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
2154
 
 
2155
   * When committing to a branch, the location being committed to is
 
2156
     displayed.  (Daniel Watkins, #52479)
 
2157
 
 
2158
   * ``bzr --version`` takes care about encoding of stdout, especially
 
2159
     when output is redirected. (Alexander Belchenko, #131100)
 
2160
 
 
2161
   * Prompt for an ftp password if none is provided.
 
2162
     (Vincent Ladeuil, #137044)
 
2163
 
 
2164
   * Reuse bound branch associated transport to avoid multiple
 
2165
     connections.
 
2166
     (Vincent Ladeuil, #128076, #131396)
 
2167
 
 
2168
   * Overwrite conflicting tags by ``push`` and ``pull`` if the
 
2169
     ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
2170
 
 
2171
   * In checkouts, tags are copied into the master branch when created,
 
2172
     changed or deleted, and are copied into the checkout when it is 
 
2173
     updated.  (Martin Pool, #93856, #93860)
 
2174
 
 
2175
   * Print a warning instead of aborting the ``python setup.py install``
 
2176
     process if building of a C extension is not possible.
 
2177
     (Lukáš Lalinský, Alexander Belchenko)
 
2178
 
 
2179
  IMPROVEMENTS:
 
2180
 
 
2181
   * Add the option "--show-diff" to the commit command in order to display
 
2182
     the diff during the commit log creation. (Goffredo Baroncelli)
 
2183
 
 
2184
   * ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
2185
     (Aaron Bentley)
 
2186
 
 
2187
   * ``pull -v`` no longer includes deltas, making it much faster.
 
2188
     (Aaron Bentley)
 
2189
 
 
2190
   * ``send`` now sends the directive as an attachment by default.
 
2191
     (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
2192
 
 
2193
   * Documentation updates (Martin Albisetti)
 
2194
 
 
2195
   * Help on debug flags is now included in ``help global-options``.
 
2196
     (Daniel Watkins, #124853)
 
2197
 
 
2198
   * Parameters passed on the command line are checked to ensure they are
 
2199
     supported by the encoding in use. (Daniel Watkins)
 
2200
 
 
2201
   * The compression used within the bzr repository has changed from zlib
 
2202
     level 9 to the zlib default level. This improves commit performance with
 
2203
     only a small increase in space used (and in some cases a reduction in
 
2204
     space). (Robert Collins)
 
2205
 
 
2206
   * Initial commit no longer SHAs files twice and now reuses the path
 
2207
     rather than looking it up again, making it faster.
 
2208
     (Ian Clatworthy)
 
2209
 
 
2210
   * New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
2211
     changes in one revision.  (Lukáš Lalinský)
 
2212
 
 
2213
   * If versioned files match a given ignore pattern, a warning is now
 
2214
     given. (Daniel Watkins, #48623)
 
2215
 
 
2216
   * ``bzr status`` now has -S as a short name for --short and -V as a
 
2217
     short name for --versioned. These have been added to assist users
 
2218
     migrating from Subversion: ``bzr status -SV`` is now like
 
2219
     ``svn status -q``.  (Daniel Watkins, #115990)
 
2220
 
 
2221
   * Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
2222
     10x faster than the Python version. This speeds up commands that
 
2223
     need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
2224
     (Lukáš Lalinský)
 
2225
 
 
2226
   * HACKING has been extended with a large section on core developer tasks.
 
2227
     (Ian Clatworthy)
 
2228
 
 
2229
   * Add ``branches`` and ``standalone-trees`` as online help topics and
 
2230
     include them as Concepts within the User Reference.
 
2231
     (Paul Moore, Ian Clatworthy)
 
2232
 
 
2233
    * ``check`` can detect versionedfile parent references that are
 
2234
      inconsistent with revision and inventory info, and ``reconcile`` can fix
 
2235
      them.  These faulty references were generated by 0.8-era releases,
 
2236
      so repositories which were manipulated by old bzrs should be
 
2237
      checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
2238
 
 
2239
  API BREAKS:
 
2240
 
 
2241
   * ``Branch.append_revision`` is removed altogether; please use 
 
2242
     ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
2243
 
 
2244
   * CommitBuilder now advertises itself as requiring the root entry to be
 
2245
     supplied. This only affects foreign repository implementations which reuse
 
2246
     CommitBuilder directly and have changed record_entry_contents to require
 
2247
     that the root not be supplied. This should be precisely zero plugins
 
2248
     affected. (Robert Collins)
 
2249
 
 
2250
   * The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
2251
     its return value to include the sha1 and length of the inserted text. This
 
2252
     allows the avoidance of double-sha1 calculations during commit.
 
2253
     (Robert Collins)
 
2254
 
 
2255
   * ``Transport.should_cache`` has been removed.  It was not called in the
 
2256
     previous release.  (Martin Pool)
 
2257
 
 
2258
  TESTING:
 
2259
 
 
2260
   * Tests may now raise TestNotApplicable to indicate they shouldn't be 
 
2261
     run in a particular scenario.  (Martin Pool)
 
2262
 
 
2263
   * New function multiply_tests_from_modules to give a simpler interface
 
2264
     to test parameterization.  (Martin Pool, Robert Collins)
 
2265
 
 
2266
   * ``Transport.should_cache`` has been removed.  It was not called in the
 
2267
     previous release.  (Martin Pool)
 
2268
 
 
2269
   * NULL_REVISION is returned to indicate the null revision, not None.
 
2270
     (Aaron Bentley)
 
2271
 
 
2272
   * Use UTF-8 encoded StringIO for log tests to avoid failures on
 
2273
     non-ASCII committer names.  (Lukáš Lalinský)
 
2274
 
 
2275
  INTERNALS:
 
2276
 
 
2277
   * ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
2278
     ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
2279
     useful functionality for determining the path of a plugin, its tests, and
 
2280
     its version information. (Robert Collins)
 
2281
 
 
2282
   * Add the option user_encoding to the function 'show_diff_trees()'
 
2283
     in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
2284
 
 
2285
   * Add the function make_commit_message_template_encoded() and the function
 
2286
     edit_commit_message_encoded() which handle encoded strings.
 
2287
     This is done in order to mix the commit messages (which is a unicode
 
2288
     string), and the diff which is a raw string. (Goffredo Baroncelli)
 
2289
 
 
2290
   * CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
2291
     overhead on non-weave repositories which don't require all parents to be
 
2292
     present. (Robert Collins)
 
2293
 
 
2294
   * Deprecated method ``find_previous_heads`` on
 
2295
     ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
2296
     of ``parent_candidates`` and a separate heads check via the repository
 
2297
     API. (Robert Collins)
 
2298
 
 
2299
   * New trace function ``mutter_callsite`` will print out a subset of the
 
2300
     stack to the log, which can be useful for gathering debug details.
 
2301
     (Robert Collins)
 
2302
 
 
2303
   * ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
2304
     added via a public attribute records_written. (Robert Collins)
 
2305
 
 
2306
   * New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
2307
     This provides a hint to users of transports as to the reasonable
 
2308
     minimum data to read. In principle this can take latency and
 
2309
     bandwidth into account on a per-connection basis, but for now it
 
2310
     just has hard coded values based on the url. (e.g. http:// has a large
 
2311
     page size, file:// has a small one.) (Robert Collins)
 
2312
 
 
2313
   * New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
2314
     incremental addition of data to a file without requiring that all the
 
2315
     data be buffered in memory. (Robert Collins)
 
2316
 
 
2317
   * New methods on ``bzrlib.knit.KnitVersionedFile``:
 
2318
     ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
2319
     ``get_format_signature()``.  These provide some infrastructure for
 
2320
     efficiently streaming the knit data for a set of versions over the smart
 
2321
     protocol.
 
2322
 
 
2323
   * Knits with no annotation cache still produce correct annotations.
 
2324
     (Aaron Bentley)
 
2325
 
 
2326
   * Three new methods have been added to ``bzrlib.trace``:
 
2327
     ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
2328
     ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
2329
     zero for normal, positive for verbose. The size of the number can be
 
2330
     used to determine just how quiet or verbose the application should be.
 
2331
     The existing ``be_quiet`` and ``is_quiet`` routines have been
 
2332
     integrated into this new scheme. (Ian Clatworthy)
 
2333
 
 
2334
   * Options can now be delcared with a ``custom_callback`` parameter. If
 
2335
     set, this routine is called after the option is processed. This feature
 
2336
     is now used by the standard options ``verbose`` and ``quiet`` so that
 
2337
     setting one implicitly resets the other. (Ian Clatworthy)
 
2338
 
 
2339
   * Rather than declaring a new option from scratch in order to provide
 
2340
     custom help, a centrally registered option can be decorated using the
 
2341
     new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
2342
     is useful when declaring better help for the ``verbose`` and ``quiet``
 
2343
     standard options as the base definition of these is now more complex
 
2344
     than before thanks to their use of a custom callback. (Ian Clatworthy)
 
2345
      
 
2346
    * Tree._iter_changes(specific_file=[]) now iterates through no files,
 
2347
      instead of iterating through all files.  None is used to iterate through
 
2348
      all files.  (Aaron Bentley)
 
2349
 
 
2350
    * WorkingTree.revert() now accepts None to revert all files.  The use of
 
2351
      [] to revert all files is deprecated.  (Aaron Bentley)
 
2352
 
 
2353
 
 
2354
bzr 0.90 2007-08-28
 
2355
-------------------
 
2356
 
 
2357
  IMPROVEMENTS:
 
2358
 
 
2359
    * Documentation is now organized into multiple directories with a level
 
2360
      added for different languages or locales. Added the Mini Tutorial
 
2361
      and Quick Start Summary (en) documents from the Wiki, improving the
 
2362
      content and readability of the former. Formatted NEWS as Release Notes
 
2363
      complete with a Table of Conents, one heading per release. Moved the
 
2364
      Developer Guide into the main document catalog and provided a link
 
2365
      from the developer document catalog back to the main one.
 
2366
      (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
2367
 
 
2368
 
 
2369
  API CHANGES:
 
2370
 
 
2371
    * The static convenience method ``BzrDir.create_repository``
 
2372
      is deprecated.  Callers should instead create a ``BzrDir`` instance
 
2373
      and call ``create_repository`` on that.  (Martin Pool)
 
2374
 
 
2375
 
 
2376
bzr 0.90rc1 2007-08-14
 
2377
----------------------
 
2378
 
 
2379
  BUGFIXES:
 
2380
 
 
2381
    * ``bzr init`` should connect to the remote location one time only.  We
 
2382
      have been connecting several times because we forget to pass around the
 
2383
      Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
2384
      so that we can give it the Transport we already have.
 
2385
      (John Arbash Meinel, Vincent Ladeuil, #111702)
 
2386
 
 
2387
    * Get rid of sftp connection cache (get rid of the FTP one too).
 
2388
      (Vincent Ladeuil, #43731)
 
2389
 
 
2390
    * bzr branch {local|remote} remote don't try to create a working tree
 
2391
      anymore.
 
2392
      (Vincent Ladeuil, #112173)
 
2393
 
 
2394
    * All identified multiple connections for a single bzr command have been
 
2395
      fixed. See bzrlib/tests/commands directory.
 
2396
      (Vincent Ladeuil)
 
2397
 
 
2398
    * ``bzr rm`` now does not insist on ``--force`` to delete files that
 
2399
      have been renamed but not otherwise modified.  (Marius Kruger,
 
2400
      #111664)
 
2401
 
 
2402
    * ``bzr selftest --bench`` no longer emits deprecation warnings
 
2403
      (Lukáš Lalinský)
 
2404
 
 
2405
    * ``bzr status`` now honours FILE parameters for conflict lists
 
2406
      (Aaron Bentley, #127606)
 
2407
 
 
2408
    * ``bzr checkout`` now honours -r when reconstituting a working tree.
 
2409
      It also honours -r 0.  (Aaron Bentley, #127708)
 
2410
 
 
2411
    * ``bzr add *`` no more fails on Windows if working tree contains
 
2412
      non-ascii file names. (Kuno Meyer, #127361)
 
2413
 
 
2414
    * allow ``easy_install bzr`` runs without fatal errors. 
 
2415
      (Alexander Belchenko, #125521)
 
2416
 
 
2417
    * Graph._filter_candidate_lca does not raise KeyError if a candidate
 
2418
      is eliminated just before it would normally be examined.  (Aaron Bentley)
 
2419
 
 
2420
    * SMTP connection failures produce a nice message, not a traceback.
 
2421
      (Aaron Bentley)
 
2422
 
 
2423
  IMPROVEMENTS:
 
2424
 
 
2425
    * Don't show "dots" progress indicators when run non-interactively, such
 
2426
      as from cron.  (Martin Pool)
 
2427
 
 
2428
    * ``info`` now formats locations more nicely and lists "submit" and
 
2429
      "public" branches (Aaron Bentley)
 
2430
 
 
2431
    * New ``pack`` command that will trigger database compression within
 
2432
      the repository (Robert Collins)
 
2433
 
 
2434
    * Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
2435
      version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
2436
      Which yields a measurable improvement for commands which have to
 
2437
      read from the repository, such as a 1s => 0.75s improvement in
 
2438
      ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
2439
 
 
2440
    * Merge is now faster.  Depending on the scenario, it can be more than 2x
 
2441
      faster. (Aaron Bentley)
 
2442
 
 
2443
    * Give a clearer warning, and allow ``python setup.py install`` to
 
2444
      succeed even if pyrex is not available.
 
2445
      (John Arbash Meinel)
 
2446
 
 
2447
    * ``DirState._read_dirblocks`` now has an optional Pyrex
 
2448
      implementation. This improves the speed of any command that has to
 
2449
      read the entire DirState. (``diff``, ``status``, etc, improve by
 
2450
      about 10%).
 
2451
      ``bisect_dirblocks`` has also been improved, which helps all
 
2452
      ``_get_entry`` type calls (whenever we are searching for a
 
2453
      particular entry in the in-memory DirState).
 
2454
      (John Arbash Meinel)
 
2455
 
 
2456
    * ``bzr pull`` and ``bzr push`` no longer do a complete walk of the 
 
2457
      branch revision history for ui display unless -v is supplied.
 
2458
      (Robert Collins)
 
2459
 
 
2460
    * ``bzr log -rA..B`` output shifted to the left margin if the log only 
 
2461
      contains merge revisions. (Kent Gibson) 
 
2462
 
 
2463
    * The ``plugins`` command is now public with improved help.
 
2464
      (Ian Clatworthy)
 
2465
 
 
2466
    * New bundle and merge directive formats are faster to generate, and
 
2467
 
 
2468
    * Annotate merge now works when there are local changes. (Aaron Bentley)
 
2469
 
 
2470
    * Commit now only shows the progress in terms of directories instead of
 
2471
      entries. (Ian Clatworthy)
 
2472
 
 
2473
    * Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
2474
      times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
2475
      Meinel)
 
2476
 
 
2477
    * Fix ``VersionedFile.get_graph()`` to avoid using
 
2478
      ``set.difference_update(other)``, which has bad scaling when
 
2479
      ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
2480
      a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
2481
 
 
2482
    * The ``--lsprof-file`` option now generates output for KCacheGrind if
 
2483
      the file starts with ``callgrind.out``. This matches the default file
 
2484
      filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
2485
 
 
2486
    * Fix ``bzr update`` to avoid an unnecessary
 
2487
      ``branch.get_master_branch`` call, which avoids 1 extra connection
 
2488
      to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
2489
 
 
2490
    * Log errors from the smart server in the trace file, to make debugging 
 
2491
      test failures (and live failures!) easier.  (Andrew Bennetts)
 
2492
 
 
2493
    * The HTML version of the man page has been superceded by a more
 
2494
      comprehensive manual called the Bazaar User Reference. This manual
 
2495
      is completed generated from the online help topics. As part of this
 
2496
      change, limited reStructuredText is now explicitly supported in help
 
2497
      topics and command help with 'unnatural' markup being removed prior
 
2498
      to display by the online help or inclusion in the man page.
 
2499
      (Ian Clatworthy)
 
2500
 
 
2501
    * HTML documentation now use files extension ``*.html``
 
2502
      (Alexander Belchenko)
 
2503
 
 
2504
    * The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
2505
      so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
2506
 
 
2507
    * ``bzr selftest --strict`` fails if there are any missing features or
 
2508
      expected test failures. (Daniel Watkins, #111914)
 
2509
 
 
2510
    * Link to registration survey added to README. (Ian Clatworthy)
 
2511
 
 
2512
    * Windows standalone installer show link to registration survey
 
2513
      when installation finished. (Alexander Belchenko)
 
2514
 
 
2515
  LIBRARY API BREAKS:
 
2516
 
 
2517
    * Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
2518
      Options are now required to provide a help string and it must
 
2519
      comply with the style guide by being one or more sentences with an
 
2520
      initial capital and final period. (Martin Pool)
 
2521
 
 
2522
    * KnitIndex.get_parents now returns tuples. (Robert Collins)
 
2523
 
 
2524
    * Ancient unused ``Repository.text_store`` attribute has been removed.
 
2525
      (Robert Collins)
 
2526
 
 
2527
    * The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
2528
      rather than just bytestrings, making it easier to represent multiple
 
2529
      element names. As this interface was not used by any internal facilities
 
2530
      since it was introduced in 0.18 no API compatibility is being preserved.
 
2531
      The serialised form of these packs is identical with 0.18 when a single
 
2532
      element tuple is in use. (Robert Collins)
 
2533
 
 
2534
  INTERNALS:
 
2535
 
 
2536
    * merge now uses ``iter_changes`` to calculate changes, which makes room for
 
2537
      future performance increases.  It is also more consistent with other
 
2538
      operations that perform comparisons, and reduces reliance on
 
2539
      Tree.inventory.  (Aaron Bentley)
 
2540
 
 
2541
    * Refactoring of transport classes connected to a remote server.
 
2542
      ConnectedTransport is a new class that serves as a basis for all
 
2543
      transports needing to connect to a remote server.  transport.split_url
 
2544
      have been deprecated, use the static method on the object instead. URL
 
2545
      tests have been refactored too.
 
2546
      (Vincent Ladeuil)
 
2547
 
 
2548
    * Better connection sharing for ConnectedTransport objects.
 
2549
      transport.get_transport() now accepts a 'possible_transports' parameter.
 
2550
      If a newly requested transport can share a connection with one of the
 
2551
      list, it will.
 
2552
      (Vincent Ladeuil)
 
2553
 
 
2554
    * Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
2555
      the null revision, and consider using ``None`` for this purpose
 
2556
      deprecated.  (Aaron Bentley)
 
2557
 
 
2558
    * New ``index`` module with abstract index functionality. This will be
 
2559
      used during the planned changes in the repository layer. Currently the
 
2560
      index layer provides a graph aware immutable index, a builder for the
 
2561
      same index type to allow creating them, and finally a composer for
 
2562
      such indices to allow the use of many indices in a single query. The
 
2563
      index performance is not optimised, however the API is stable to allow
 
2564
      development on top of the index. (Robert Collins)
 
2565
 
 
2566
    * ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
2567
      their directory sections. This is equivalent to comparing
 
2568
      ``path.split('/')``, only without having to split the paths.
 
2569
      This has a Pyrex implementation available.
 
2570
      (John Arbash Meinel)
 
2571
 
 
2572
    * New transport decorator 'unlistable+' which disables the list_dir
 
2573
      functionality for testing.
 
2574
 
 
2575
    * Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
2576
 
 
2577
    * RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
2578
      for performing annotate-merge.  (Aaron Bentley)
 
2579
 
 
2580
    * New EmailMessage class to create email messages. (Adeodato Simó)
 
2581
 
 
2582
    * Unused functions on the private interface KnitIndex have been removed.
 
2583
      (Robert Collins)
 
2584
 
 
2585
    * New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
2586
      of a ``index.GraphIndex``. (Robert Collins)
 
2587
 
 
2588
    * New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
2589
      the parents of many knit nodes at once, reducing round trips to the 
 
2590
      underlying index. (Robert Collins)
 
2591
 
 
2592
    * Graph now has an is_ancestor method, various bits use it.
 
2593
      (Aaron Bentley)
 
2594
 
 
2595
    * The ``-Dhpss`` flag now includes timing information. As well as
 
2596
      logging when a new connection is opened. (John Arbash Meinel)
 
2597
 
 
2598
    * ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
2599
      callers when inserting data, allowing generation of readv style access
 
2600
      during pack creation, without needing a separate pass across the output
 
2601
      pack to gather such details. (Robert Collins)
 
2602
 
 
2603
    * ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
2604
      files that are stored on a transport. (Robert Collins)
 
2605
 
 
2606
    * New ``Repository.has_same_location`` method that reports if two
 
2607
      repository objects refer to the same repository (although with some risk
 
2608
      of false negatives).  (Andrew Bennetts)
 
2609
 
 
2610
    * InterTree.compare now passes require_versioned on correctly.
 
2611
      (Marius Kruger)
 
2612
 
 
2613
    * New methods on Repository - ``start_write_group``,
 
2614
      ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
2615
      which provide a clean hook point for transactional Repositories - ones
 
2616
      where all the data for a fetch or commit needs to be made atomically
 
2617
      available in one step. This allows the write lock to remain while making
 
2618
      a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
2619
 
 
2620
    * In ``bzrlib.knit`` the internal interface has been altered to use
 
2621
      3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
2622
      describe where data in a knit is, allowing knits to be split into 
 
2623
      many files. (Robert Collins)
 
2624
 
 
2625
    * ``bzrlib.knit._KnitData`` split into cache management and physical access
 
2626
      with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
2627
      The former provides access into a .pack file, and the latter provides the
 
2628
      current production repository form of .knit files. (Robert Collins)
 
2629
 
 
2630
  TESTING:
 
2631
 
 
2632
    * Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
2633
      ``--keep-output`` options, which are obsolete now that tests
 
2634
      are done within directories in $TMPDIR.  (Martin Pool)
 
2635
 
 
2636
    * The SSH_AUTH_SOCK environment variable is now reset to avoid 
 
2637
      interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
2638
 
 
2639
    * run_bzr_subprocess handles parameters the same way as run_bzr:
 
2640
      either a string or a list of strings should be passed as the first
 
2641
      parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
2642
 
 
2643
 
 
2644
bzr 0.18  2007-07-17
 
2645
--------------------
 
2646
 
 
2647
  BUGFIXES:
 
2648
 
 
2649
    * Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
2650
 
 
2651
 
 
2652
bzr 0.18rc1  2007-07-10
 
2653
-----------------------
 
2654
 
 
2655
  BUGFIXES:
 
2656
 
 
2657
    * Do not suppress pipe errors, etc. in non-display commands
 
2658
      (Alexander Belchenko, #87178)
 
2659
 
 
2660
    * Display a useful error message when the user requests to annotate
 
2661
      a file that is not present in the specified revision.
 
2662
      (James Westby, #122656)
 
2663
 
 
2664
    * Commands that use status flags now have a reference to 'help
 
2665
      status-flags'.  (Daniel Watkins, #113436)
 
2666
 
 
2667
    * Work around python-2.4.1 inhability to correctly parse the
 
2668
      authentication header.
 
2669
      (Vincent Ladeuil, #121889)
 
2670
 
 
2671
    * Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
2672
 
 
2673
    * Fix tempfile permissions error in smart server tar bundling under
 
2674
      Windows. (Martin _, #119330)
 
2675
 
 
2676
    * Fix detection of directory entries in the inventory. (James Westby)
 
2677
 
 
2678
    * Fix handling of http code 400: Bad Request When issuing too many ranges.
 
2679
      (Vincent Ladeuil, #115209)
 
2680
 
 
2681
    * Issue a CONNECT request when connecting to an https server
 
2682
      via a proxy to enable SSL tunneling.
 
2683
      (Vincent Ladeuil, #120678)
 
2684
 
 
2685
    * Fix ``bzr log -r`` to support selecting merge revisions, both 
 
2686
      individually and as part of revision ranges.
 
2687
      (Kent Gibson, #4663)
 
2688
 
 
2689
    * Don't leave cruft behind when failing to acquire a lockdir.
 
2690
      (Martin Pool, #109169)
 
2691
 
 
2692
    * Don't use the '-f' strace option during tests.
 
2693
      (Vincent Ladeuil, #102019).
 
2694
 
 
2695
    * Warn when setting ``push_location`` to a value that will be masked by
 
2696
      locations.conf.  (Aaron Bentley, #122286)
 
2697
 
 
2698
    * Fix commit ordering in corner case (Aaron Bentley, #94975)
 
2699
 
 
2700
    *  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
2701
 
 
2702
  IMPROVEMENTS:
 
2703
 
 
2704
    * The --lsprof-file option now dumps a text rendering of the profiling
 
2705
      information if the filename ends in ".txt". It will also convert the
 
2706
      profiling information to a format suitable for KCacheGrind if the
 
2707
      output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
2708
      conversion process by Jean Paul Calderone and Itamar were also merged.
 
2709
      See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
2710
 
 
2711
    * ``info`` now defaults to non-verbose mode, displaying only paths and
 
2712
      abbreviated format info.  ``info -v`` displays all the information
 
2713
      formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
2714
 
 
2715
    * ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
2716
      (Elliot Murphy)
 
2717
 
 
2718
    * The internal ``weave-list`` command has become ``versionedfile-list``,
 
2719
      and now lists knits as well as weaves.  (Aaron Bentley)
 
2720
 
 
2721
    * Automatic merge base selection uses a faster algorithm that chooses
 
2722
      better bases in criss-cross merge situations (Aaron Bentley)
 
2723
 
 
2724
    * Progress reporting in ``commit`` has been improved. The various logical
 
2725
      stages are now reported on as follows, namely:
 
2726
 
 
2727
      * Collecting changes [Entry x/y] - Stage n/m
 
2728
      * Saving data locally - Stage n/m
 
2729
      * Uploading data to master branch - Stage n/m
 
2730
      * Updating the working tree - Stage n/m
 
2731
      * Running post commit hooks - Stage n/m
 
2732
      
 
2733
      If there is no master branch, the 3rd stage is omitted and the total
 
2734
      number of stages is adjusted accordingly.
 
2735
 
 
2736
      Each hook that is run after commit is listed with a name (as hooks
 
2737
      can be slow it is useful feedback).
 
2738
      (Ian Clatworthy, Robert Collins)
 
2739
 
 
2740
    * Various operations that are now faster due to avoiding unnecessary
 
2741
      topological sorts. (Aaron Bentley)
 
2742
 
 
2743
    * Make merge directives robust against broken bundles. (Aaron Bentley)
 
2744
 
 
2745
    * The lsprof filename note is emitted via trace.note(), not standard
 
2746
      output.  (Aaron Bentley)
 
2747
 
 
2748
    * ``bzrlib`` now exports explicit API compatibility information to assist
 
2749
      library users and plugins. See the ``bzrlib.api`` module for details.
 
2750
      (Robert Collins)
 
2751
 
 
2752
    * Remove unnecessary lock probes when acquiring a lockdir.
 
2753
      (Martin Pool)
 
2754
 
 
2755
    * ``bzr --version`` now shows the location of the bzr log file, which
 
2756
      is especially useful on Windows.  (Martin Pool)
 
2757
 
 
2758
    * -D now supports hooks to get debug tracing of hooks (though its currently
 
2759
      minimal in nature). (Robert Collins)
 
2760
 
 
2761
    * Long log format reports deltas on merge revisions. 
 
2762
      (John Arbash Meinel, Kent Gibson)
 
2763
 
 
2764
    * Make initial push over ftp more resilient. (John Arbash Meinel)
 
2765
 
 
2766
    * Print a summary of changes for update just like pull does.
 
2767
      (Daniel Watkins, #113990)
 
2768
 
 
2769
    * Add a -Dhpss option to trace smart protocol requests and responses.
 
2770
      (Andrew Bennetts)
 
2771
 
 
2772
  LIBRARY API BREAKS:
 
2773
 
 
2774
    * Testing cleanups - 
 
2775
      ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
2776
      to ``bzrlib.tests.repository_implementations``;
 
2777
      ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
2778
      to ``bzrlib.tests.interrepository_implementations``;
 
2779
      ``bzrlib.transport.TransportTestProviderAdapter`` has moved to 
 
2780
      ``bzrlib.tests.test_transport_implementations``.
 
2781
      ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
2782
      ``bzrlib.tests.branch_implementations``.
 
2783
      ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to 
 
2784
      ``bzrlib.tests.bzrdir_implementations``.
 
2785
      ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
2786
      to ``bzrlib.tests.interversionedfile_implementations``.
 
2787
      ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
2788
      ``bzrlib.tests.revisionstore_implementations``.
 
2789
      ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
2790
      ``bzrlib.tests.workingtree_implementations``.
 
2791
      These changes are an API break in the testing infrastructure only.
 
2792
      (Robert Collins)
 
2793
 
 
2794
    * Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
2795
 
 
2796
    * ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
2797
      win32. Callers of the function should do this and use the new
 
2798
      ``MutableTree.smart_add`` method instead. (Robert Collins)
 
2799
 
 
2800
    * ``bzrlib.add.glob_expand_for_win32`` is now
 
2801
      ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
2802
 
 
2803
    * ``bzrlib.add.FastPath`` is now private and moved to 
 
2804
      ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
2805
 
 
2806
    * ``LockDir.wait`` removed.  (Martin Pool)
 
2807
 
 
2808
    * The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
2809
      ``server_stopped`` hooks. The first parameter is now an iterable of
 
2810
      backing URLs rather than a single URL. This is to reflect that many
 
2811
      URLs may map to the external URL of the server. E.g. the server interally
 
2812
      may have a chrooted URL but also the local file:// URL will be at the 
 
2813
      same location. (Robert Collins)
 
2814
 
 
2815
  INTERNALS:
 
2816
 
 
2817
    * New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
2818
 
 
2819
    * Fix documentation of BzrError. (Adeodato Simó)
 
2820
 
 
2821
    * Make BzrBadParameter an internal error. (Adeodato Simó)
 
2822
 
 
2823
    * Remove use of 'assert False' to raise an exception unconditionally.
 
2824
      (Martin Pool)
 
2825
 
 
2826
    * Give a cleaner error when failing to decode knit index entry.
 
2827
      (Martin Pool)
 
2828
 
 
2829
    * TreeConfig would mistakenly search the top level when asked for options
 
2830
      from a section. It now respects the section argument and only
 
2831
      searches the specified section. (James Westby)
 
2832
 
 
2833
    * Improve ``make api-docs`` output. (John Arbash Meinel)
 
2834
 
 
2835
    * Use os.lstat rather than os.stat for osutils.make_readonly and
 
2836
      osutils.make_writeable. This makes the difftools plugin more
 
2837
      robust when dangling symlinks are found. (Elliot Murphy)
 
2838
 
 
2839
    * New ``-Dlock`` option to log (to ~/.bzr.log) information on when 
 
2840
      lockdirs are taken or released.  (Martin Pool)
 
2841
 
 
2842
    * ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This 
 
2843
      allows a nicer UI when hooks are running as the current hook can
 
2844
      be displayed. (Robert Collins)
 
2845
 
 
2846
    * ``Transport.get`` has had its interface made more clear for ease of use.
 
2847
      Retrieval of a directory must now fail with either 'PathError' at open
 
2848
      time, or raise 'ReadError' on a read. (Robert Collins)
 
2849
 
 
2850
    * New method ``_maybe_expand_globs`` on the ``Command`` class for 
 
2851
      dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
2852
      was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
2853
 
 
2854
    * ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
2855
      deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
2856
      Martin Pool)
 
2857
 
 
2858
    * New method ``external_url`` on Transport for obtaining the url to
 
2859
      hand to external processes. (Robert Collins)
 
2860
 
 
2861
    * Teach windows installers to build pyrex/C extensions.
 
2862
      (Alexander Belchenko)
 
2863
 
 
2864
  TESTING:
 
2865
 
 
2866
    * Removed the ``--keep-output`` option from selftest and clean up test
 
2867
      directories as they're used.  This reduces the IO load from 
 
2868
      running the test suite and cuts the time by about half.
 
2869
      (Andrew Bennetts, Martin Pool)
 
2870
 
 
2871
    * Add scenarios as a public attribute on the TestAdapter classes to allow
 
2872
      modification of the generated scenarios before adaption and easier
 
2873
      testing. (Robert Collins)
 
2874
 
 
2875
    * New testing support class ``TestScenarioApplier`` which multiplies
 
2876
      out a single teste by a list of supplied scenarios. (RobertCollins)
 
2877
 
 
2878
    * Setting ``repository_to_test_repository`` on a repository_implementations
 
2879
      test will cause it to be called during repository creation, allowing the
 
2880
      testing of repository classes which are not based around the Format
 
2881
      concept. For example a repository adapter can be tested in this manner,
 
2882
      by altering the repository scenarios to include a scenario that sets this
 
2883
      attribute during the test parameterisation in
 
2884
      ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
2885
 
 
2886
    * Clean up many of the APIs for blackbox testing of Bazaar.  The standard 
 
2887
      interface is now self.run_bzr.  The command to run can be passed as
 
2888
      either a list of parameters, a string containing the command line, or
 
2889
      (deprecated) varargs parameters.  (Martin Pool)
 
2890
 
 
2891
    * The base TestCase now isolates tests from -D parameters by clearing
 
2892
      ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
2893
 
 
2894
    * Add a relpath parameter to get_transport methods in test framework to
 
2895
      avoid useless cloning.
 
2896
      (Vincent Ladeuil, #110448)
 
2897
 
 
2898
 
 
2899
bzr 0.17  2007-06-18
 
2900
--------------------
 
2901
 
 
2902
  BUGFIXES:
 
2903
 
 
2904
    * Fix crash of commit due to wrong lookup of filesystem encoding.
 
2905
      (Colin Watson, #120647)
 
2906
 
 
2907
    * Revert logging just to stderr in commit as broke unicode filenames.
 
2908
      (Aaron Bentley, Ian Clatworthy, #120930)
 
2909
 
 
2910
 
 
2911
bzr 0.17rc1  2007-06-12
 
2912
-----------------------
 
2913
 
 
2914
  NOTES WHEN UPGRADING:
 
2915
 
 
2916
    * The kind() and is_executable() APIs on the WorkingTree interface no
 
2917
      longer implicitly (read) locks and unlocks the tree. This *might*
 
2918
      impact some plug-ins and tools using this part of the API. If you find
 
2919
      an issue that may be caused by this change, please let us know,
 
2920
      particularly the plug-in/tool maintainer. If encountered, the API
 
2921
      fix is to surround kind() and is_executable() calls with lock_read()
 
2922
      and unlock() like so::
 
2923
 
 
2924
        work_tree.lock_read()
 
2925
        try:
 
2926
            kind = work_tree.kind(...)
 
2927
        finally:
 
2928
            work_tree.unlock()
 
2929
 
 
2930
  INTERNALS:
 
2931
    * Rework of LogFormatter API to provide beginning/end of log hooks and to
 
2932
      encapsulate the details of the revision to be logged in a LogRevision
 
2933
      object.
 
2934
      In long log formats, merge revision ids are only shown when --show-ids
 
2935
      is specified, and are labelled "revision-id:", as per mainline
 
2936
      revisions, instead of "merged:". (Kent Gibson)
 
2937
 
 
2938
    * New ``BranchBuilder`` API which allows the construction of particular
 
2939
      histories quickly. Useful for testing and potentially other applications
 
2940
      too. (Robert Collins)
 
2941
 
 
2942
  IMPROVEMENTS:
 
2943
  
 
2944
    * There are two new help topics, working-trees and repositories that
 
2945
      attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
2946
      Aaron Bentley)
 
2947
 
 
2948
    * Added ``bzr log --limit`` to report a limited number of revisions.
 
2949
      (Kent Gibson, #3659)
 
2950
 
 
2951
    * Revert does not try to preserve file contents that were originally
 
2952
      produced by reverting to a historical revision.  (Aaron Bentley)
 
2953
 
 
2954
    * ``bzr log --short`` now includes ``[merge]`` for revisions which
 
2955
      have more than one parent. This is a small improvement to help
 
2956
      understanding what changes have occurred
 
2957
      (John Arbash Meinel, #83887)
 
2958
 
 
2959
    * TreeTransform avoids many renames when contructing large trees,
 
2960
      improving speed.  3.25x speedups have been observed for construction of
 
2961
      kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
2962
 
 
2963
    * Commit on large trees is now faster. In my environment, a commit of
 
2964
      a small change to the Mozilla tree (55k files) has dropped from
 
2965
      66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
2966
      small change is 33% faster. (Ian Clatworthy)
 
2967
 
 
2968
    * New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
2969
      #56322)
 
2970
 
 
2971
  BUGFIXES:
 
2972
 
 
2973
    * ``bzr push`` should only connect to the remote location one time.
 
2974
      We have been connecting 3 times because we forget to pass around
 
2975
      the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
2976
      that we can pass in the Transport that we already have.
 
2977
      (John Arbash Meinel, #75721)
 
2978
 
 
2979
    * ``DirState.set_state_from_inventory()`` needs to properly order
 
2980
      based on split paths, not just string paths.
 
2981
      (John Arbash Meinel, #115947)
 
2982
 
 
2983
    * Let TestUIFactoy encode the password prompt with its own stdout.
 
2984
      (Vincent Ladeuil, #110204)
 
2985
 
 
2986
    * pycurl should take use the range header that takes the range hint
 
2987
      into account.
 
2988
      (Vincent Ladeuil, #112719)
 
2989
 
 
2990
    * WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
2991
      on a missing file.  (Aaron Bentley, #118186)
 
2992
 
 
2993
    * WorkingTree.remove works correctly with tree references, and when pwd is
 
2994
      not the tree root. (Aaron Bentley)
 
2995
 
 
2996
    * Merge no longer fails when a file is renamed in one tree and deleted
 
2997
      in the other. (Aaron Bentley, #110279)
 
2998
 
 
2999
    * ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
3000
      and defaults to the last revision (Matthew Fuller, #90048)
 
3001
 
 
3002
    * Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
3003
      (Daniel Watkins, #111958)
 
3004
 
 
3005
    * ``bzr branch -r revid:foo`` can be used to branch any revision in
 
3006
      your repository. (Previously Branch6 only supported revisions in your
 
3007
      mainline). (John Arbash Meinel, #115343)
 
3008
 
 
3009
bzr 0.16  2007-05-07
 
3010
--------------------
 
3011
  
 
3012
  BUGFIXES:
 
3013
 
 
3014
    * Handle when you have 2 directories with similar names, but one has a
 
3015
      hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
3016
      iterator was using direct comparison and ``'abc/a'`` sorts after
 
3017
      ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
3018
      (John Arbash Meinel, #111227)
 
3019
 
 
3020
    * Handle when someone renames a file on disk without telling bzr.
 
3021
      Previously we would report the first file as missing, but not show
 
3022
      the new unknown file. (John Arbash Meinel, #111288)
 
3023
 
 
3024
    * Avoid error when running hooks after pulling into or pushing from
 
3025
      a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
3026
 
 
3027
  IMPROVEMENTS:
 
3028
 
 
3029
    * Move developer documentation to doc/developers/. This reduces clutter in
 
3030
      the root of the source tree and allows HACKING to be split into multiple
 
3031
      files. (Robert Collins, Alexander Belchenko)
 
3032
 
 
3033
    * Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
3034
      ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
3035
      diff`` and ``bzr status`` significantly improving the speed of
 
3036
      both. (John Arbash Meinel)
 
3037
 
 
3038
bzr 0.16rc2  2007-04-30
 
3039
-----------------------
 
3040
 
 
3041
  BUGFIXES:
 
3042
 
 
3043
    * Handle the case when you delete a file, and then rename another file
 
3044
      on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
3045
      status`` should show the removed file and an unknown file in its
 
3046
      place. (John Arbash Meinel, #109993)
 
3047
 
 
3048
    * Bundles properly read and write revision properties that have an
 
3049
      empty value. And when the value is not ASCII.
 
3050
      (John Arbash Meinel, #109613)
 
3051
 
 
3052
    * Fix the bzr commit message to be in text mode.
 
3053
      (Alexander Belchenko, #110901)
 
3054
 
 
3055
    * Also handle when you rename a file and create a file where it used
 
3056
      to be. (John Arbash Meinel, #110256)
 
3057
 
 
3058
    * ``WorkingTree4._iter_changes`` should not descend into unversioned
 
3059
      directories. (John Arbash Meinel, #110399)
 
3060
 
 
3061
bzr 0.16rc1  2007-04-26
 
3062
-----------------------
 
3063
 
 
3064
  NOTES WHEN UPGRADING:
 
3065
 
 
3066
    * ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
3067
      it could be recovered again.
 
3068
      This has been done for consistency with svn and the unix rm command.
 
3069
      The old ``remove`` behaviour has been retained in the new option
 
3070
      ``bzr remove --keep``, which will just stop versioning the file,
 
3071
      but not delete it.
 
3072
      ``bzr remove --force`` have been added which will always delete the
 
3073
      files.
 
3074
      ``bzr remove`` is also more verbose.
 
3075
      (Marius Kruger, #82602)
 
3076
 
 
3077
  IMPROVEMENTS:
 
3078
 
 
3079
    * Merge directives can now be supplied as input to `merge` and `pull`,
 
3080
      like bundles can.  (Aaron Bentley)
 
3081
 
 
3082
    * Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
3083
      pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
3084
      to continue.  This can be disabled by setting the environment variable
 
3085
      ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
3086
 
 
3087
    * selftest now supports --list-only to list tests instead of running
 
3088
      them. (Ian Clatworthy)
 
3089
 
 
3090
    * selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
3091
      tests with names that match that regular expression.
 
3092
      (Ian Clatworthy, #102679)
 
3093
 
 
3094
    * selftest now supports --randomize SEED to run tests in a random order.
 
3095
      SEED is typically the value 'now' meaning 'use the current time'.
 
3096
      (Ian Clatworthy, #102686)
 
3097
 
 
3098
    * New option ``--fixes`` to commit, which stores bug fixing annotations as
 
3099
      revision properties. Built-in support for Launchpad, Debian, Trac and
 
3100
      Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
3101
 
 
3102
    * New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
3103
      other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
3104
      Robert Collins)
 
3105
 
 
3106
    * ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
3107
      Pool)
 
3108
 
 
3109
    * ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
3110
      into using local variables instead of going through ``self._var``.
 
3111
      Improves the time to ``merge_sort`` a 10k revision graph by
 
3112
      approximately 40% (~700->400ms).  (John Arbash Meinel)
 
3113
 
 
3114
    * ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
3115
      (Robert Collins)
 
3116
 
 
3117
    * ``bzr help`` now provides cross references to other help topics using
 
3118
      the _see_also facility on command classes. Likewise the bzr_man
 
3119
      documentation, and the bzr.1 man page also include this information.
 
3120
      (Robert Collins)
 
3121
 
 
3122
    * Tags are now included in logs, that use the long log formatter. 
 
3123
      (Erik Bågfors, Alexander Belchenko)
 
3124
 
 
3125
    * ``bzr help`` provides a clearer message when a help topic cannot be
 
3126
      found. (Robert Collins, #107656)
 
3127
 
 
3128
    * ``bzr help`` now accepts optional prefixes for command help. The help
 
3129
      for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
3130
      as well as ``bzr help COMMANDNAME`` (which only works for commands 
 
3131
      where the name is not the same as a more general help topic). 
 
3132
      (Robert Collins)
 
3133
 
 
3134
    * ``bzr help PLUGINNAME`` will now return the module docstring from the
 
3135
      plugin PLUGINNAME. (Robert Collins, #50408)
 
3136
 
 
3137
    * New help topic ``urlspec`` which lists the availables transports.
 
3138
      (Goffredo Baroncelli)
 
3139
 
 
3140
    * doc/server.txt updated to document the default bzr:// port
 
3141
      and also update the blurb about the hpss' current status.
 
3142
      (Robert Collins, #107125).
 
3143
 
 
3144
    * ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
3145
      serve out to the local LAN (and anyone in the world that can reach the
 
3146
      machine running ``bzr serve``. (Robert Collins, #98918)
 
3147
 
 
3148
    * A new smart server protocol version has been added.  It prefixes requests
 
3149
      and responses with an explicit version identifier so that future protocol
 
3150
      revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
3151
 
 
3152
    * The bzr protocol version 2 indicates success or failure in every response
 
3153
      without depending on particular commands encoding that consistently,
 
3154
      allowing future client refactorings to be much more robust about error
 
3155
      handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
3156
 
 
3157
    * The smart protocol over HTTP client has been changed to always post to the
 
3158
      same ``.bzr/smart`` URL under the original location when it can.  This allows
 
3159
      HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
3160
      server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
3161
 
 
3162
    * digest authentication is now supported for proxies and HTTP by the urllib
 
3163
      based http implementation. Tested against Apache 2.0.55 and Squid
 
3164
      2.6.5. Basic and digest authentication are handled coherently for HTTP
 
3165
      and proxy: if the user is provided in the url (bzr command line for HTTP,
 
3166
      proxy environment variables for proxies), the password is prompted for
 
3167
      (only once). If the password is provided, it is taken into account. Once
 
3168
      the first authentication is successful, all further authentication
 
3169
      roundtrips are avoided by preventively setting the right authentication
 
3170
      header(s).
 
3171
      (Vincent Ladeuil).
 
3172
 
 
3173
  INTERNALS:
 
3174
 
 
3175
    * bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
3176
      code paths. (Robert Collins)
 
3177
 
 
3178
    * Change the format of chroot urls so that they can be safely manipulated
 
3179
      by generic url utilities without causing the resulting urls to have
 
3180
      escaped the chroot. A side effect of this is that creating a chroot
 
3181
      requires an explicit action using a ChrootServer.
 
3182
      (Robert Collins, Andrew Bennetts)
 
3183
 
 
3184
    * Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
3185
      rather than fixing bug #96847.  (Aaron Bentley)
 
3186
 
 
3187
    * ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
3188
      ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
3189
 
 
3190
    * Convenience method ``TestCase.expectFailure`` ensures that known failures
 
3191
      do not silently pass.  (Aaron Bentley)
 
3192
 
 
3193
    * ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than 
 
3194
      ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
3195
 
 
3196
    * New SmartServer hooks facility. There are two initial hooks documented
 
3197
      in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
3198
      plugins to execute code upon server startup and shutdown.
 
3199
      (Robert Collins).
 
3200
 
 
3201
    * SmartServer in standalone mode will now close its listening socket
 
3202
      when it stops, rather than waiting for garbage collection. This primarily
 
3203
      fixes test suite hangs when a test tries to connect to a shutdown server.
 
3204
      It may also help improve behaviour when dealing with a server running
 
3205
      on a specific port (rather than dynamically assigned ports).
 
3206
      (Robert Collins)
 
3207
 
 
3208
    * Move most SmartServer code into a new package, bzrlib/smart.
 
3209
      bzrlib/transport/remote.py contains just the Transport classes that used
 
3210
      to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
3211
 
 
3212
    * urllib http implementation avoid roundtrips associated with
 
3213
      401 (and 407) errors once the authentication succeeds.
 
3214
      (Vincent Ladeuil).
 
3215
 
 
3216
    * urlib http now supports querying the user for a proxy password if
 
3217
      needed. Realm is shown in the prompt for both HTTP and proxy
 
3218
      authentication when the user is required to type a password. 
 
3219
      (Vincent Ladeuil).
 
3220
 
 
3221
    * Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
3222
      RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
3223
      consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
3224
      it's not really a "smart" transport, just one that does file operations
 
3225
      via remote procedure calls.  (Andrew Bennetts)
 
3226
 
 
3227
    * The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
3228
      ``Branch`` now accept a ``token`` keyword argument, so that separate
 
3229
      instances of those objects can share a lock if it has the right token.
 
3230
      (Andrew Bennetts, Robert Collins)
 
3231
 
 
3232
    * New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
3233
      branch references - which the smart server component needs.
 
3234
 
 
3235
    * The Repository API ``make_working_trees`` is now permitted to return
 
3236
      False when ``set_make_working_trees`` is not implemented - previously
 
3237
      an unimplemented ``set_make_working_trees`` implied the result True
 
3238
      from ``make_working_trees``. This has been changed to accomodate the
 
3239
      smart server, where it does not make sense (at this point) to ever
 
3240
      make working trees by default. (Robert Collins)
 
3241
 
 
3242
    * Command objects can now declare related help topics by having _see_also
 
3243
      set to a list of related topic. (Robert Collins)
 
3244
 
 
3245
    * ``bzrlib.help`` now delegates to the Command class for Command specific
 
3246
      help. (Robert Collins)
 
3247
 
 
3248
    * New class ``TransportListRegistry``, derived from the Registry class, which 
 
3249
      simplifies tracking the available Transports. (Goffredo Baroncelli)
 
3250
 
 
3251
    * New function ``Branch.get_revision_id_to_revno_map`` which will
 
3252
      return a dictionary mapping revision ids to dotted revnos. Since
 
3253
      dotted revnos are defined in the context of the branch tip, it makes
 
3254
      sense to generate them from a ``Branch`` object.
 
3255
      (John Arbash Meinel)
 
3256
 
 
3257
    * Fix the 'Unprintable error' message display to use the repr of the 
 
3258
      exception that prevented printing the error because the str value
 
3259
      for it is often not useful in debugging (e.g. KeyError('foo') has a
 
3260
      str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
3261
      useful. (Robert Collins)
 
3262
 
 
3263
    * ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
3264
      (Andrew Bennetts)
 
3265
 
 
3266
  BUGFIXES:
 
3267
 
 
3268
    * Don't fail bundle selftest if email has 'two' embedded.  
 
3269
      (Ian Clatworthy, #98510)
 
3270
 
 
3271
    * Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
3272
      (Robert Widhopf-Fenk, #98591)
 
3273
 
 
3274
    * Remove ``--basis`` from the checkout/branch commands - it didn't work
 
3275
      properly and is no longer beneficial.
 
3276
      (Robert Collins, #53675, #43486)
 
3277
 
 
3278
    * Don't produce encoding error when adding duplicate files.
 
3279
      (Aaron Bentley)
 
3280
 
 
3281
    * Fix ``bzr log <file>`` so it only logs the revisions that changed
 
3282
      the file, and does it faster.
 
3283
      (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
3284
 
 
3285
    * Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
3286
      an empty versioned directory, which now has files in it.
 
3287
      (John Arbash Meinel, #104257)
 
3288
 
 
3289
    * Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
3290
      inside the ancestry of the other. Saves a lot of graph processing
 
3291
      (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
3292
      changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
3293
 
 
3294
    * Fix ``show_diff_trees`` to handle the case when a file is modified,
 
3295
      and the containing directory is renamed. (The file path is different
 
3296
      in this versus base, but it isn't marked as a rename).
 
3297
      (John Arbash Meinel, #103870)
 
3298
 
 
3299
    * FTP now works even when the FTP server does not support atomic rename.
 
3300
      (Aaron Bentley, #89436)
 
3301
 
 
3302
    * Correct handling in bundles and merge directives of timezones with
 
3303
      that are not an integer number of hours offset from UTC.  Always 
 
3304
      represent the epoch time in UTC to avoid problems with formatting 
 
3305
      earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
3306
      Arbash Meinel)
 
3307
 
 
3308
    * Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
3309
 
 
3310
    * "dirstate" and "dirstate-tags" formats now produce branches compatible
 
3311
      with old versions of bzr. (Aaron Bentley, #107168))
 
3312
 
 
3313
    * Handle moving a directory when children have been added, removed,
 
3314
      and renamed. (John Arbash Meinel, #105479)
 
3315
 
 
3316
    * Don't preventively use basic authentication for proxy before receiving a
 
3317
      407 error. Otherwise people willing to use other authentication schemes
 
3318
      may expose their password in the clear (or nearly). This add one
 
3319
      roundtrip in case basic authentication should be used, but plug the
 
3320
      security hole.
 
3321
      (Vincent Ladeuil)
 
3322
 
 
3323
    * Handle http and proxy digest authentication.
 
3324
      (Vincent Ladeuil, #94034).
 
3325
 
 
3326
  TESTING:
 
3327
 
 
3328
    * Added ``bzrlib.strace.strace`` which will strace a single callable and
 
3329
      return a StraceResult object which contains just the syscalls involved
 
3330
      in running it. (Robert Collins)
 
3331
 
 
3332
    * New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
3333
      default time down to one suitable for tests. (Andrew Bennetts)
 
3334
 
 
3335
    * Add new ``vfs_transport_factory`` attribute on tests which provides the 
 
3336
      common vfs backing for both the readonly and readwrite transports.
 
3337
      This allows the RemoteObject tests to back onto local disk or memory,
 
3338
      and use the existing ``transport_server`` attribute all tests know about
 
3339
      to be the smart server transport. This in turn allows tests to 
 
3340
      differentiate between 'transport to access the branch', and 
 
3341
      'transport which is a VFS' - which matters in Remote* tests.
 
3342
      (Robert Collins, Andrew Bennetts)
 
3343
 
 
3344
    * The ``make_branch_and_tree`` method for tests will now create a 
 
3345
      lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
3346
      a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
3347
 
 
3348
    * Branch implementation tests have been audited to ensure that all urls 
 
3349
      passed to Branch APIs use proper urls, except when local-disk paths
 
3350
      are intended. This is so that tests correctly access the test transport
 
3351
      which is often not equivalent to local disk in Remote* tests. As part
 
3352
      of this many tests were adjusted to remove dependencies on local disk
 
3353
      access.
 
3354
      (Robert Collins, Andrew Bennetts)
 
3355
 
 
3356
    * Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
3357
      functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
3358
      Andrew Bennetts, Martin Pool, Jonathan Lange)
 
3359
 
 
3360
    * Refactored proxy and authentication handling to simplify the
 
3361
      implementation of new auth schemes for both http and proxy. 
 
3362
      (Vincent Ladeuil)
 
3363
 
 
3364
bzr 0.15 2007-04-01
 
3365
-------------------
 
3366
 
 
3367
  BUGFIXES:
 
3368
 
 
3369
    * Handle incompatible repositories as a user issue when fetching.
 
3370
      (Aaron Bentley)
 
3371
 
 
3372
    * Don't give a recommendation to upgrade when branching or 
 
3373
      checking out a branch that contains an old-format working tree.
 
3374
      (Martin Pool)
 
3375
 
 
3376
bzr 0.15rc3  2007-03-26
 
3377
-----------------------
 
3378
 
 
3379
  CHANGES:
 
3380
 
 
3381
    * A warning is now displayed when opening working trees in older 
 
3382
      formats, to encourage people to upgrade to WorkingTreeFormat4.
 
3383
      (Martin Pool)
 
3384
 
 
3385
  IMPROVEMENTS:
 
3386
 
 
3387
    * HTTP redirections are now taken into account when a branch (or a
 
3388
      bundle) is accessed for the first time. A message is issued at each
 
3389
      redirection to inform the user. In the past, http redirections were
 
3390
      silently followed for each request which significantly degraded the
 
3391
      performances. The http redirections are not followed anymore by
 
3392
      default, instead a RedirectRequested exception is raised. For bzrlib
 
3393
      users needing to follow http redirections anyway,
 
3394
      ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
3395
      path.  (vila)
 
3396
 
 
3397
  INTERNALS:
 
3398
 
 
3399
    * Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
3400
      lock to an OS write lock. Linux can do this without unlocking, Win32
 
3401
      needs to unlock in between. (John Arbash Meinel)
 
3402
 
 
3403
    * New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
3404
      to silence (when false) warnings about opening old formats.
 
3405
      (Martin Pool)
 
3406
 
 
3407
    * Fix minor performance regression with bzr-0.15 on pre-dirstate
 
3408
      trees. (We were reading the working inventory too many times).
 
3409
      (John Arbash Meinel)
 
3410
 
 
3411
    * Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
3412
      ``revision_history``.  Branch subclasses should override
 
3413
      ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
3414
      this cache, and call ``_clear_revision_history_cache`` and
 
3415
      ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
3416
 
 
3417
  BUGFIXES:
 
3418
 
 
3419
    * Take ``smtp_server`` from user config into account.
 
3420
      (vila, #92195)
 
3421
 
 
3422
    * Restore Unicode filename handling for versioned and unversioned files.
 
3423
      (John Arbash Meinel, #92608)
 
3424
 
 
3425
    * Don't fail during ``bzr commit`` if a file is marked removed, and
 
3426
      the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
3427
 
 
3428
    * ``bzr status FILENAME`` failed on Windows because of an uncommon
 
3429
      errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
3430
      (Wouter van Heyst, John Arbash Meinel, #90819)
 
3431
 
 
3432
    * ``bzr checkout source`` should create a local branch in the same
 
3433
      format as source. (John Arbash Meinel, #93854)
 
3434
 
 
3435
    * ``bzr commit`` with a kind change was failing to update the
 
3436
      last-changed-revision for directories.  The
 
3437
      InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
3438
      ignoring the fact that the kind could have changed, too.
 
3439
      (John Arbash Meinel, #90111)
 
3440
 
 
3441
    * ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
3442
      the directory. So that there was a chance it would break commit,
 
3443
      etc. (John Arbash Meinel, #94037)
 
3444
 
 
3445
    * Correctly handles mutiple permanent http redirections.
 
3446
      (vila, #88780)
 
3447
 
 
3448
bzr 0.15rc2  2007-03-14
 
3449
-----------------------
 
3450
 
 
3451
  NOTES WHEN UPGRADING:
 
3452
        
 
3453
    * Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
3454
      default to ``--trees`` instead of ``--no-trees``.
 
3455
      Existing shared repositories are not affected.
 
3456
 
 
3457
  IMPROVEMENTS:
 
3458
 
 
3459
    * New ``merge-directive`` command to generate machine- and human-readable
 
3460
      merge requests.  (Aaron Bentley)
 
3461
 
 
3462
    * New ``submit:`` revision specifier makes it easy to diff against the
 
3463
      common ancestor with the submit location (Aaron Bentley)
 
3464
 
 
3465
    * Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
3466
 
 
3467
    * Added ``bzr status --versioned`` to report only versioned files, 
 
3468
      not unknowns. (Kent Gibson)
 
3469
 
 
3470
    * Merge now autodetects the correct line-ending style for its conflict
 
3471
      markers.  (Aaron Bentley)
 
3472
 
 
3473
  INTERNALS:
 
3474
 
 
3475
    * Refactored SSH vendor registration into SSHVendorManager class.
 
3476
      (Dmitry Vasiliev)
 
3477
 
 
3478
  BUGFIXES:
 
3479
 
 
3480
    * New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
3481
      numbered dirs for TestCaseInTempDir. This is default behavior
 
3482
      on Windows. Anyone can force named dirs on Windows
 
3483
      with ``--no-numbered-dirs``. (Alexander Belchenko)
 
3484
 
 
3485
    * Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
3486
      from the command line. (Marien Zwart, #90501)
 
3487
 
 
3488
    * Fix ``TreeTransform._iter_changes`` when both the source and
 
3489
      destination are missing. (Aaron Bentley, #88842)
 
3490
 
 
3491
    * Fix commit of merges with symlinks in dirstate trees.
 
3492
      (Marien Zwart)
 
3493
    
 
3494
    * Switch the ``bzr init-repo`` default from --no-trees to --trees. 
 
3495
      (Wouter van Heyst, #53483)
 
3496
 
 
3497
 
 
3498
bzr 0.15rc1  2007-03-07
 
3499
-----------------------
 
3500
 
 
3501
  SURPRISES:
 
3502
 
 
3503
    * The default disk format has changed. Please run 'bzr upgrade' in your
 
3504
      working trees to upgrade. This new default is compatible for network
 
3505
      operations, but not for local operations. That is, if you have two
 
3506
      versions of bzr installed locally, after upgrading you can only use the
 
3507
      bzr 0.15 version. This new default does not enable tags or nested-trees
 
3508
      as they are incompatible with bzr versions before 0.15 over the network.
 
3509
 
 
3510
    * For users of bzrlib: Two major changes have been made to the working tree
 
3511
      api in bzrlib. The first is that many methods and attributes, including
 
3512
      the inventory attribute, are no longer valid for use until one of
 
3513
      ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
3514
      and become invalid again after unlock is called. This has been done
 
3515
      to improve performance and correctness as part of the dirstate
 
3516
      development.
 
3517
      (Robert Collins, John A Meinel, Martin Pool, and others).
 
3518
 
 
3519
    * For users of bzrlib: The attribute 'tree.inventory' should be considered
 
3520
      readonly. Previously it was possible to directly alter this attribute, or
 
3521
      its contents, and have the tree notice this. This has been made
 
3522
      unsupported - it may work in some tree formats, but in the newer dirstate
 
3523
      format such actions will have no effect and will be ignored, or even
 
3524
      cause assertions. All operations possible can still be carried out by a
 
3525
      combination of the tree API, and the bzrlib.transform API. (Robert
 
3526
      Collins, John A Meinel, Martin Pool, and others).
 
3527
 
 
3528
  IMPROVEMENTS:
 
3529
 
 
3530
    * Support for OS Windows 98. Also .bzr.log on any windows system
 
3531
      saved in My Documents folder. (Alexander Belchenko)
 
3532
 
 
3533
    * ``bzr mv`` enhanced to support already moved files.
 
3534
      In the past the mv command would have failed if the source file doesn't
 
3535
      exist. In this situation ``bzr mv`` would now detect that the file has
 
3536
      already moved and update the repository accordingly, if the target file
 
3537
      does exist.
 
3538
      A new option ``--after`` has been added so that if two files already
 
3539
      exist, you could notify Bazaar that you have moved a (versioned) file
 
3540
      and replaced it with another. Thus in this case ``bzr move --after``
 
3541
      will only update the Bazaar identifier.
 
3542
      (Steffen Eichenberg, Marius Kruger)
 
3543
 
 
3544
    * ``ls`` now works on treeless branches and remote branches.
 
3545
      (Aaron Bentley)
 
3546
 
 
3547
    * ``bzr help global-options`` describes the global options.
 
3548
      (Aaron Bentley)
 
3549
 
 
3550
    * ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
3551
      (Robert Collins)
 
3552
 
 
3553
    * Files are now allowed to change kind (e.g. from file to symlink).
 
3554
      Supported by ``commit``, ``revert`` and ``status``
 
3555
      (Aaron Bentley)
 
3556
 
 
3557
    * ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
3558
      (Aaron Bentley)
 
3559
 
 
3560
    * ``bzr help checkouts`` descibes what checkouts are and some possible
 
3561
      uses of them. (James Westby, Aaron Bentley)
 
3562
 
 
3563
    * A new ``-d`` option to push, pull and merge overrides the default 
 
3564
      directory.  (Martin Pool)
 
3565
 
 
3566
    * Branch format 6: smaller, and potentially faster than format 5.  Supports
 
3567
      ``append_history_only`` mode, where the log view and revnos do not change,
 
3568
      except by being added to.  Stores policy settings in
 
3569
      ".bzr/branch/branch.conf".
 
3570
 
 
3571
    * ``append_only`` branches:  Format 6 branches may be configured so that log
 
3572
      view and revnos are always consistent.  Either create the branch using
 
3573
      "bzr init --append-revisions-only" or edit the config file as descriped
 
3574
      in docs/configuration.txt.
 
3575
 
 
3576
    * rebind: Format 6 branches retain the last-used bind location, so if you
 
3577
      "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
3578
      bind location.
 
3579
 
 
3580
    * Builtin tags support, created and deleted by the ``tag`` command and
 
3581
      stored in the branch.  Tags can be accessed with the revisionspec
 
3582
      ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned 
 
3583
      at present. Tags require a network incompatible upgrade. To perform this
 
3584
      upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
3585
      repositories. (Martin Pool)
 
3586
 
 
3587
    * The ``bzr://`` transport now has a well-known port number, 4155,
 
3588
      which it will use by default.  (Andrew Bennetts, Martin Pool)
 
3589
 
 
3590
    * Bazaar now looks for user-installed plugins before looking for site-wide
 
3591
      plugins. (Jonathan Lange)
 
3592
 
 
3593
    * ``bzr resolve`` now detects and marks resolved text conflicts.
 
3594
      (Aaron Bentley)
 
3595
 
 
3596
  INTERNALS:
 
3597
 
 
3598
    * Internally revision ids and file ids are now passed around as utf-8
 
3599
      bytestrings, rather than treating them as Unicode strings. This has
 
3600
      performance benefits for Knits, since we no longer need to decode the
 
3601
      revision id for each line of content, nor for each entry in the index.
 
3602
      This will also help with the future dirstate format.
 
3603
      (John Arbash Meinel)
 
3604
 
 
3605
    * Reserved ids (any revision-id ending in a colon) are rejected by
 
3606
      versionedfiles, repositories, branches, and working trees
 
3607
      (Aaron Bentley)
 
3608
 
 
3609
    * Minor performance improvement by not creating a ProgressBar for
 
3610
      every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
3611
      (John Arbash Meinel)
 
3612
 
 
3613
    * New easier to use Branch hooks facility. There are five initial hooks,
 
3614
      all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
3615
      ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
3616
      ``'post_uncommit'``. These hooks fire after the matching operation
 
3617
      on a branch has taken place, and were originally added for the
 
3618
      branchrss plugin. (Robert Collins)
 
3619
 
 
3620
    * New method ``Branch.push()`` which should be used when pushing from a
 
3621
      branch as it makes performance and policy decisions to match the UI
 
3622
      level command ``push``. (Robert Collins).
 
3623
 
 
3624
    * Add a new method ``Tree.revision_tree`` which allows access to cached
 
3625
      trees for arbitrary revisions. This allows the in development dirstate
 
3626
      tree format to provide access to the callers to cached copies of 
 
3627
      inventory data which are cheaper to access than inventories from the
 
3628
      repository.
 
3629
      (Robert Collins, Martin Pool)
 
3630
 
 
3631
    * New ``Branch.last_revision_info`` method, this is being done to allow
 
3632
      optimization of requests for both the number of revisions and the last
 
3633
      revision of a branch with smartservers and potentially future branch
 
3634
      formats. (Wouter van Heyst, Robert Collins)
 
3635
 
 
3636
    * Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
3637
      yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
3638
      other for code reuse without requiring users to perform file-renaming
 
3639
      gymnastics. (Robert Collins)
 
3640
 
 
3641
    * New Repository method ``'gather_stats'`` for statistic data collection.
 
3642
      This is expected to grow to cover a number of related uses mainly
 
3643
      related to bzr info. (Robert Collins)
 
3644
 
 
3645
    * Log formatters are now managed with a registry.
 
3646
      ``log.register_formatter`` continues to work, but callers accessing
 
3647
      the FORMATTERS dictionary directly will not.
 
3648
 
 
3649
    * Allow a start message to be passed to the ``edit_commit_message``
 
3650
      function.  This will be placed in the message offered to the user
 
3651
      for editing above the separator. It allows a template commit message
 
3652
      to be used more easily. (James Westby)
 
3653
 
 
3654
    * ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
3655
      you pass a Unicode string rather than an 8-bit string. Callers need
 
3656
      to be updated to encode first. (John Arbash Meinel)
 
3657
 
 
3658
    * Branch.push, pull, merge now return Result objects with information
 
3659
      about what happened, rather than a scattering of various methods.  These
 
3660
      are also passed to the post hooks.  (Martin Pool)
 
3661
 
 
3662
    * File formats and architecture is in place for managing a forest of trees
 
3663
      in bzr, and splitting up existing trees into smaller subtrees, and
 
3664
      finally joining trees to make a larger tree. This is the first iteration
 
3665
      of this support, and the user-facing aspects still require substantial
 
3666
      work.  If you wish to experiment with it, use ``bzr upgrade
 
3667
      --dirstate-with-subtree`` in your working trees and repositories.
 
3668
      You can use the hidden commands ``split`` and ``join`` and to create
 
3669
      and manipulate nested trees, but please consider using the nested-trees
 
3670
      branch, which contains substantial UI improvements, instead.
 
3671
      http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
3672
      (Aaron Bentley, Martin Pool, Robert Collins).
 
3673
 
 
3674
  BUGFIXES:
 
3675
 
 
3676
    * ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
3677
      branch, rather than the last changed revision of the file.
 
3678
      (John Arbash Meinel, #82158)
 
3679
 
 
3680
    * Lock operations no longer hang if they encounter a permission problem.
 
3681
      (Aaron Bentley)
 
3682
 
 
3683
    * ``bzr push`` can resume a push that was canceled before it finished.
 
3684
      Also, it can push even if the target directory exists if you supply
 
3685
      the ``--use-existing-dir`` flag.
 
3686
      (John Arbash Meinel, #30576, #45504)
 
3687
 
 
3688
    * Fix http proxy authentication when user and an optional
 
3689
      password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
3690
      #83954).
 
3691
 
 
3692
    * ``bzr log branch/file`` works for local treeless branches
 
3693
      (Aaron Bentley, #84247)
 
3694
 
 
3695
    * Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
3696
 
 
3697
    * Searching location of CA bundle for PyCurl in env variable
 
3698
      (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
3699
      (Alexander Belchenko, #82086)
 
3700
 
 
3701
    * ``bzr init`` works with unicode argument LOCATION.
 
3702
      (Alexander Belchenko, #85599)
 
3703
 
 
3704
    * Raise ``DependencyNotPresent`` if pycurl do not support https. 
 
3705
      (Vincent Ladeuil, #85305)
 
3706
 
 
3707
    * Invalid proxy env variables should not cause a traceback.
 
3708
      (Vincent Ladeuil, #87765)
 
3709
 
 
3710
    * Ignore patterns normalised to use '/' path separator.
 
3711
      (Kent Gibson, #86451)
 
3712
 
 
3713
    * bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
3714
 
 
3715
    * Fix bzrtools shelve command for removed lines beginning with "--"
 
3716
      (Johan Dahlberg, #75577)
 
3717
 
 
3718
  TESTING:
 
3719
 
 
3720
    * New ``--first`` option to ``bzr selftest`` to run specified tests
 
3721
      before the rest of the suite.  (Martin Pool)
 
3722
 
 
3723
 
 
3724
bzr 0.14  2007-01-23
 
3725
--------------------
 
3726
 
 
3727
  IMPROVEMENTS:
 
3728
 
 
3729
    * ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
3730
 
 
3731
  BUG FIXES:
 
3732
    
 
3733
    * Skip documentation generation tests if the tools to do so are not
 
3734
      available. Fixes running selftest for installled copies of bzr. 
 
3735
      (John Arbash Meinel, #80330)
 
3736
 
 
3737
    * Fix the code that discovers whether bzr is being run from it's
 
3738
      working tree to handle the case when it isn't but the directory
 
3739
      it is in is below a repository. (James Westby, #77306)
 
3740
 
 
3741
 
 
3742
bzr 0.14rc1  2007-01-16
 
3743
-----------------------
 
3744
 
 
3745
  IMPROVEMENTS:
 
3746
 
 
3747
    * New connection: ``bzr+http://`` which supports tunnelling the smart
 
3748
      protocol over an HTTP connection. If writing is enabled on the bzr
 
3749
      server, then you can write over the http connection.
 
3750
      (Andrew Bennetts, John Arbash Meinel)
 
3751
 
 
3752
    * Aliases now support quotation marks, so they can contain whitespace
 
3753
      (Marius Kruger)
 
3754
 
 
3755
    * PyCurlTransport now use a single curl object. By specifying explicitly
 
3756
      the 'Range' header, we avoid the need to use two different curl objects
 
3757
      (and two connections to the same server). (Vincent Ladeuil)
 
3758
 
 
3759
    * ``bzr commit`` does not prompt for a message until it is very likely to
 
3760
      succeed.  (Aaron Bentley)
 
3761
 
 
3762
    * ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
3763
      (Aaron Bentley)
 
3764
 
 
3765
    * Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
3766
      of a list while checking if a revision id was requested. Takes 10s
 
3767
      off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
3768
      of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
3769
      filtering lines with a regex rather than multiple ``str.find()``
 
3770
      calls. (saves another 300ms) (John Arbash Meinel)
 
3771
 
 
3772
    * Policy can be set for each configuration key. This allows keys to be
 
3773
      inherited properly across configuration entries. For example, this
 
3774
      should enable you to do::
 
3775
        
 
3776
        [/home/user/project]
 
3777
        push_location = sftp://host/srv/project/
 
3778
        push_location:policy = appendpath
 
3779
 
 
3780
      And then a branch like ``/home/user/project/mybranch`` should get an
 
3781
      automatic push location of ``sftp://host/srv/project/mybranch``.
 
3782
      (James Henstridge)
 
3783
 
 
3784
    * Added ``bzr status --short`` to make status report svn style flags
 
3785
      for each file.  For example::
 
3786
 
 
3787
        $ bzr status --short
 
3788
        A  foo
 
3789
        A  bar
 
3790
        D  baz
 
3791
        ?  wooley
 
3792
 
 
3793
    * 'bzr selftest --clean-output' allows easily clean temporary tests 
 
3794
      directories without running tests. (Alexander Belchenko)
 
3795
 
 
3796
    * ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
3797
 
 
3798
    * ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
3799
      local is fully merged into remote. (Jan Hudec)
 
3800
 
 
3801
    * ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
3802
 
 
3803
  INTERNALS:
 
3804
 
 
3805
    * A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
3806
      help speed up processing, as well allowing to extract unannotated
 
3807
      lines. Between the two ``fileids_affected_by_revision_ids`` is
 
3808
      improved by approx 10%. (John Arbash Meinel)
 
3809
 
 
3810
    * Change Revision serialization to only write out millisecond
 
3811
      resolution. Rather than expecting floating point serialization to
 
3812
      preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
3813
 
 
3814
    * Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
3815
 
 
3816
    * When ``encoding_type`` attribute of class Command is equal to 'exact', 
 
3817
      force sys.stdout to be a binary stream on Windows, and therefore
 
3818
      keep exact line-endings (without LF -> CRLF conversion).
 
3819
      (Alexander Belchenko)
 
3820
 
 
3821
    * Single-letter short options are no longer globally declared.  (Martin
 
3822
      Pool)
 
3823
 
 
3824
    * Before using detected user/terminal encoding bzr should check
 
3825
      that Python has corresponding codec. (Alexander Belchenko)
 
3826
 
 
3827
    * Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
3828
 
 
3829
  BUG FIXES:
 
3830
 
 
3831
    * ``bzr missing --verbose`` was showing adds/removals in the wrong
 
3832
      direction. (John Arbash Meinel)
 
3833
 
 
3834
    * ``bzr annotate`` now defaults to showing dotted revnos for merged
 
3835
      revisions. It cuts them off at a depth of 12 characters, but you can
 
3836
      supply ``--long`` to see the full number. You can also use
 
3837
      ``--show-ids`` to display the original revision ids, rather than
 
3838
      revision numbers and committer names. (John Arbash Meinel, #75637)
 
3839
 
 
3840
    * bzr now supports Win32 UNC path (e.g. ``\HOST\path``. 
 
3841
      (Alexander Belchenko, #57869)
 
3842
 
 
3843
    * Win32-specific: output of cat, bundle and diff commands don't mangle
 
3844
      line-endings (Alexander Belchenko, #55276)
 
3845
 
 
3846
    * Replace broken fnmatch based ignore pattern matching with custom pattern
 
3847
      matcher.
 
3848
      (Kent Gibson, Jan Hudec #57637)
 
3849
 
 
3850
    * pycurl and urllib can detect short reads at different places. Update
 
3851
      the test suite to test more cases. Also detect http error code 416
 
3852
      which was raised for that specific bug. Also enhance the urllib
 
3853
      robustness by detecting invalid ranges (and pycurl's one by detecting
 
3854
      short reads during the initial GET). (Vincent Ladeuil, #73948)
 
3855
 
 
3856
    * The urllib connection sharing interacts badly with urllib2
 
3857
      proxy setting (the connections didn't go thru the proxy
 
3858
      anymore). Defining a proper ProxyHandler solves the
 
3859
      problem.  (Vincent Ladeuil, #74759)
 
3860
 
 
3861
    * Use urlutils to generate relative URLs, not osutils 
 
3862
      (Aaron Bentley, #76229)
 
3863
 
 
3864
    * ``bzr status`` in a readonly directory should work without giving
 
3865
      lots of errors. (John Arbash Meinel, #76299)
 
3866
 
 
3867
    * Mention the revisionspec topic for the revision option help.
 
3868
      (Wouter van Heyst, #31663)
 
3869
 
 
3870
    * Allow plugins import from zip archives.
 
3871
      (Alexander Belchenko, #68124)
 
3872
 
 
3873
 
 
3874
bzr 0.13  2006-12-05
 
3875
--------------------
 
3876
    
 
3877
  No changes from 0.13rc1
 
3878
    
 
3879
bzr 0.13rc1  2006-11-27
 
3880
-----------------------
 
3881
 
 
3882
  IMPROVEMENTS:
 
3883
 
 
3884
    * New command ``bzr remove-tree`` allows the removal of the working
 
3885
      tree from a branch.
 
3886
      (Daniel Silverstone)
 
3887
 
 
3888
    * urllib uses shared keep-alive connections, so http 
 
3889
      operations are substantially faster.
 
3890
      (Vincent Ladeuil, #53654)
 
3891
 
 
3892
    * ``bzr export`` allows an optional branch parameter, to export a bzr
 
3893
      tree from some other url. For example:
 
3894
      ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
3895
      (Daniel Silverstone)
 
3896
 
 
3897
    * Added ``bzr help topics`` to the bzr help system. This gives a
 
3898
      location for general information, outside of a specific command.
 
3899
      This includes updates for ``bzr help revisionspec`` the first topic
 
3900
      included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
3901
 
 
3902
    * WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
3903
      (Andrew Bennetts)
 
3904
 
 
3905
    * Knit files will now cache full texts only when the size of the
 
3906
      deltas is as large as the size of the fulltext. (Or after 200
 
3907
      deltas, whichever comes first). This has the most benefit on large
 
3908
      files with small changes, such as the inventory for a large project.
 
3909
      (eg For a project with 2500 files, and 7500 revisions, it changes
 
3910
      the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
3911
 
 
3912
  INTERNALS:
 
3913
 
 
3914
    * New -D option given before the command line turns on debugging output
 
3915
      for particular areas.  -Derror shows tracebacks on all errors.
 
3916
      (Martin Pool)
 
3917
 
 
3918
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
3919
      and remove benchmarks that take longer than 10min to run.
 
3920
      (John Arbash Meinel)
 
3921
 
 
3922
    * Use ``time.time()`` instead of ``time.clock()`` to decide on
 
3923
      progress throttling. Because ``time.clock()`` is actually CPU time,
 
3924
      so over a high-latency connection, too many updates get throttled.
 
3925
      (John Arbash Meinel)
 
3926
 
 
3927
    * ``MemoryTransport.list_dir()`` would strip the first character for
 
3928
      files or directories in root directory. (John Arbash Meinel)
 
3929
 
 
3930
    * New method ``get_branch_reference`` on 'BzrDir' allows the detection of 
 
3931
      branch references - which the smart server component needs.
 
3932
  
 
3933
    * New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
3934
      prefix.  It disallows any access to locations above a set URL.  (Andrew
 
3935
      Bennetts)
 
3936
 
 
3937
  BUG FIXES:
 
3938
 
 
3939
    * Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
3940
      And optimize the knit index parsing code. 
 
3941
      (Dmitry Vasiliev, John Arbash Meinel)
 
3942
 
 
3943
    * ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
3944
      without importing it. This prevented ``bzr upgrade`` from working
 
3945
      unless a plugin already imported ``bzrlib.workingtree``
 
3946
      (John Arbash Meinel, #70716)
 
3947
 
 
3948
    * Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
3949
 
 
3950
    * Give nicer error message when an http server returns a 403
 
3951
      error code. (Vincent Ladeuil, #57644).
 
3952
 
 
3953
    * When a multi-range http GET request fails, try a single
 
3954
      range one. If it fails too, forget about ranges. Remember that until 
 
3955
      the death of the transport and propagates that to the clones.
 
3956
      (Vincent Ladeuil, #62276, #62029).
 
3957
 
 
3958
    * Handles user/passwords supplied in url from command
 
3959
      line (for the urllib implementation). Don't request already
 
3960
      known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
3961
 
 
3962
    * ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
3963
      are added. This fixes bug where fetching remote revisions records
 
3964
      them as full references rather than integers.
 
3965
      (John Arbash Meinel, #64789)
 
3966
 
 
3967
    * ``bzr ignore`` strips trailing slashes in patterns.
 
3968
      Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
3969
 
 
3970
    * ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
3971
 
 
3972
    * mv correctly handles paths that traverse symlinks. 
 
3973
      (Aaron Bentley, #66964)
 
3974
 
 
3975
    * Give nicer looking error messages when failing to connect over ssh.
 
3976
      (John Arbash Meinel, #49172)
 
3977
 
 
3978
    * Pushing to a remote branch does not currently update the remote working
 
3979
      tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
3980
      machine now show that the working tree is out of date.
 
3981
      (Cheuksan Edward Wang #48136)
 
3982
 
 
3983
    * Use patiencediff instead of difflib for determining deltas to insert
 
3984
      into knits. This avoids the O(N^3) behavior of difflib. Patience
 
3985
      diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
3986
 
 
3987
    * Running ``bzr log`` on nonexistent file gives an error instead of the
 
3988
      entire log history. (Cheuksan Edward Wang #50793)
 
3989
 
 
3990
    * ``bzr cat`` can look up contents of removed or renamed files. If the
 
3991
      pathname is ambiguous, i.e. the files in the old and new trees have
 
3992
      different id's, the default is the file in the new tree. The user can
 
3993
      use "--name-from-revision" to select the file in the old tree.
 
3994
      (Cheuksan Edward Wang, #30190)
 
3995
 
 
3996
  TESTING:
 
3997
 
 
3998
    * TestingHTTPRequestHandler really handles the Range header
 
3999
      (previously it was ignoring it and returning the whole file,).
 
4000
 
 
4001
bzr 0.12  2006-10-30
 
4002
--------------------
 
4003
 
 
4004
  INTERNALS:
 
4005
 
 
4006
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
4007
      and remove benchmarks that take longer than 10min to run.
 
4008
      (John Arbash Meinel)
 
4009
  
 
4010
bzr 0.12rc1  2006-10-23
 
4011
-----------------------
 
4012
 
 
4013
  IMPROVEMENTS:
 
4014
 
 
4015
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
4016
      rather than just showing a decimal revision number for revisions on the
 
4017
      mainline. These revision numbers are not yet accepted as input into bzr
 
4018
      commands such as log, diff etc. (Robert Collins)
 
4019
 
 
4020
    * revisions can now be specified using dotted-decimal revision numbers.
 
4021
      For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
4022
 
 
4023
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
 
4024
 
 
4025
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
 
4026
      a moderate effect on lots of actions, especially ones that have
 
4027
      little to do. For example ``bzr rocks`` time is down to 116ms from
 
4028
      283ms. (John Arbash Meinel)
 
4029
 
 
4030
    * New Registry class to provide name-to-object registry-like support,
 
4031
      for example for schemes where plugins can register new classes to
 
4032
      do certain tasks (e.g. log formatters). Also provides lazy registration
 
4033
      to allow modules to be loaded on request.
 
4034
      (John Arbash Meinel, Adeodato Simó)
 
4035
 
 
4036
  API INCOMPATABILITY:
 
4037
  
 
4038
    * LogFormatter subclasses show now expect the 'revno' parameter to 
 
4039
      show() to be a string rather than an int. (Robert Collins)
 
4040
 
 
4041
  INTERNALS:
 
4042
 
 
4043
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
4044
      can take a ``working_dir='foo'`` parameter, which will change directory 
 
4045
      for the command. (John Arbash Meinel)
 
4046
 
 
4047
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
4048
      around a regex, which defers compilation until first use. 
 
4049
      (John Arbash Meinel)
 
4050
 
 
4051
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
4052
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
4053
      problems with system-wide installed plugins. (John Arbash Meinel)
 
4054
 
 
4055
    * Unique tree root ids are now supported. Newly created trees still
 
4056
      use the common root id for compatibility with bzr versions before 0.12.
 
4057
      (Aaron Bentley)
 
4058
 
 
4059
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
4060
      pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
4061
      (Robert Collins, John Arbash Meinel)
 
4062
 
 
4063
    * New method ``WorkingTree.flush()`` which will write the current memory
 
4064
      inventory out to disk. At the same time, ``read_working_inventory`` will
 
4065
      no longer trash the current tree inventory if it has been modified within
 
4066
      the current lock, and the tree will now ``flush()`` automatically on
 
4067
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
4068
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
4069
 
 
4070
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
4071
      parameter will cause it to add another column to its output, which
 
4072
      contains the dotted-decimal revno for each revision, as a tuple.
 
4073
      (Robert Collins)
 
4074
 
 
4075
    * ``LogFormatter.show_merge`` is deprecated in favour of
 
4076
      ``LogFormatter.show_merge_revno``. (Robert Collins)
 
4077
 
 
4078
  BUG FIXES:
 
4079
 
 
4080
    * Avoid circular imports by creating a deprecated function for
 
4081
      ``bzrlib.tree.RevisionTree``. Callers should have been using
 
4082
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
4083
      #63360, #66349)
 
4084
 
 
4085
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
4086
      platforms. (Martin Pool, #66356)
 
4087
 
 
4088
    * Don't require ``Content-Type`` in range responses. Assume they are a
 
4089
      single range if ``Content-Type`` does not exist.
 
4090
      (John Arbash Meinel, #62473)
 
4091
 
 
4092
    * bzr branch/pull no longer complain about progress bar cleanup when
 
4093
      interrupted during fetch.  (Aaron Bentley, #54000)
 
4094
 
 
4095
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
4096
      the basis inventory, rather than going through the repository. This
 
4097
      allows us to have 1 inventory read, and 2 inventory writes when
 
4098
      committing a new tree. (John Arbash Meinel)
 
4099
 
 
4100
    * When reverting, files that are not locally modified that do not exist
 
4101
      in the target are deleted, not just unversioned (Aaron Bentley)
 
4102
 
 
4103
    * When trying to acquire a lock, don't fail immediately. Instead, try
 
4104
      a few times (up to 1 hour) before timing out. Also, report why the
 
4105
      lock is unavailable (John Arbash Meinel, #43521, #49556)
 
4106
 
 
4107
    * Leave HttpTransportBase daughter classes decides how they
 
4108
      implement cloning. (Vincent Ladeuil, #61606)
 
4109
 
 
4110
    * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
4111
 
 
4112
    * If a commit fails, the commit message is stored in a file at the root of
 
4113
      the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
4114
      #32054)
 
4115
 
 
4116
  TESTING:
 
4117
 
 
4118
    * New test base class TestCaseWithMemoryTransport offers memory-only
 
4119
      testing facilities: its not suitable for tests that need to mutate disk
 
4120
      state, but most tests should not need that and should be converted to
 
4121
      TestCaseWithMemoryTransport. (Robert Collins)
 
4122
 
 
4123
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
 
4124
      option to set the BzrDir, Repository and Branch formats of the
 
4125
      created objects. (Robert Collins, John Arbash Meinel)
 
4126
 
 
4127
bzr 0.11  2006-10-02
 
4128
--------------------
 
4129
 
 
4130
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
4131
 
 
4132
bzr 0.11rc2  2006-09-27
 
4133
-----------------------
 
4134
 
 
4135
  BUG FIXES:
 
4136
 
 
4137
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
4138
    
 
4139
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
4140
      Arbash Meinel).
 
4141
 
 
4142
bzr 0.11rc1  2006-09-25
 
4143
-----------------------
 
4144
 
 
4145
  IMPROVEMENTS:
 
4146
 
 
4147
    * Knit files now wait to create their contents until the first data is
 
4148
      added. The old code used to create an empty .knit and a .kndx with just
 
4149
      the header. However, this caused a lot of extra round trips over sftp.
 
4150
      This can change the time for ``bzr push`` to create a new remote branch
 
4151
      from 160s down to 100s. This also affects ``bzr commit`` performance when
 
4152
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
4153
      down to 40s (John Arbash Meinel, #44692)
 
4154
 
 
4155
    * When an entire subtree has been deleted, commit will now report that
 
4156
      just the top of the subtree has been deleted, rather than reporting
 
4157
      all the individual items. (Robert Collins)
 
4158
 
 
4159
    * Commit performs one less XML parse. (Robert Collins)
 
4160
 
 
4161
    * ``bzr checkout`` now operates on readonly branches as well
 
4162
      as readwrite branches. This fixes bug #39542. (Robert Collins)
 
4163
 
 
4164
    * ``bzr bind`` no longer synchronises history with the master branch.
 
4165
      Binding should be followed by an update or push to synchronise the 
 
4166
      two branches. This is closely related to the fix for bug #39542.
 
4167
      (Robert Collins)
 
4168
 
 
4169
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
 
4170
      objects.  This allows all imports to stay at the global scope, but
 
4171
      modules will not actually be imported if they are not used.
 
4172
      (John Arbash Meinel)
 
4173
 
 
4174
    * Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
4175
      transport which will be used with the upcoming high-performance smart
 
4176
      server. The new command ``bzr serve`` will invoke bzr in server mode,
 
4177
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
4178
      Pool)
 
4179
 
 
4180
    * New command ``bzr version-info`` which can be used to get a summary
 
4181
      of the current state of the tree. This is especially useful as part
 
4182
      of a build commands. See ``doc/version_info.txt`` for more information 
 
4183
      (John Arbash Meinel)
 
4184
 
 
4185
  BUG FIXES:
 
4186
 
 
4187
    * ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
4188
      specific set of files. (John Arbash Meinel, #3631)
 
4189
 
 
4190
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
4191
 
 
4192
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
4193
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
4194
      reading a nested Stanza. (John Arbash Meinel)
 
4195
 
 
4196
    * Transform._set_mode() needs to stat the right file. 
 
4197
      (John Arbash Meinel, #56549)
 
4198
 
 
4199
    * Raise WeaveFormatError rather than StopIteration when trying to read
 
4200
      an empty Weave file. (John Arbash Meinel, #46871)
 
4201
 
 
4202
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
4203
      (Vincent Ladeuil, #59835)
 
4204
 
 
4205
    * Handle boundary="" lines properly to allow access through a Squid proxy.
 
4206
      (John Arbash Meinel, #57723)
 
4207
 
 
4208
    * revert now removes newly-added directories (Aaron Bentley, #54172)
 
4209
 
 
4210
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
 
4211
      isn't a working tree. (David Allouche, #40679)
 
4212
 
 
4213
    * Give nicer error messages when a user supplies an invalid --revision
 
4214
      parameter. (John Arbash Meinel, #55420)
 
4215
 
 
4216
    * Handle when LANG is not recognized by python. Emit a warning, but
 
4217
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
4218
 
 
4219
    * Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
4220
      (John Arbash Meinel)
 
4221
 
 
4222
    * Skip specific tests when the dependencies aren't met. This includes
 
4223
      some ``setup.py`` tests when ``python-dev`` is not available, and
 
4224
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
4225
 
 
4226
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
4227
      the system. (Andrew Bennetts, John Arbash Meinel)
 
4228
 
 
4229
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
4230
      other branch, and will not push or pull between the two branches.
 
4231
      API users will need to perform a push or pull or update operation if they
 
4232
      require branch synchronisation to take place. (Robert Collins, #47344)
 
4233
 
 
4234
    * When creating a tarball or zipfile export, export unicode names as utf-8
 
4235
      paths. This may not work perfectly on all platforms, but has the best
 
4236
      chance of working in the common case. (John Arbash Meinel, #56816)
 
4237
 
 
4238
    * When committing, only files that exist in working tree or basis tree
 
4239
      may be specified (Aaron Bentley, #50793)
 
4240
 
 
4241
  PORTABILITY:
 
4242
 
 
4243
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
4244
 
 
4245
  INTERNALS:
 
4246
 
 
4247
    * TestCaseInTempDir now creates a separate directory for HOME, rather
 
4248
      than having HOME set to the same location as the working directory.
 
4249
      (John Arbash Meinel)
 
4250
 
 
4251
    * ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
4252
      which will update os.environ inside the spawned child. It also can
 
4253
      take a ``universal_newlines=True``, which helps when checking the output
 
4254
      of the command. (John Arbash Meinel)
 
4255
 
 
4256
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
 
4257
      (Andrew Bennetts)
 
4258
 
 
4259
    * ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
4260
      return urlescaped paths. This is now tested (there were bugs in a few
 
4261
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
4262
 
 
4263
    * New utility function ``symbol_versioning.deprecation_string``. Returns the
 
4264
      formatted string for a callable, deprecation format pair. (Robert Collins)
 
4265
 
 
4266
    * New TestCase helper applyDeprecated. This allows you to call a callable
 
4267
      which is deprecated without it spewing to the screen, just by supplying
 
4268
      the deprecation format string issued for it. (Robert Collins)
 
4269
 
 
4270
    * Transport.append and Transport.put have been deprecated in favor of
 
4271
      ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
4272
      ``.put_file``. This removes the ambiguity in what type of object the
 
4273
      functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
4274
      been added. Which works similarly to ``Transport.append()`` except for
 
4275
      SFTP, it doesn't have a round trip when opening the file. Also, it
 
4276
      provides functionality for creating a parent directory when trying
 
4277
      to create a file, rather than raise NoSuchFile and forcing the
 
4278
      caller to repeat their request.
 
4279
      (John Arbash Meinel)
 
4280
 
 
4281
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
 
4282
      entries by their file id. (Robert Collins)
 
4283
 
 
4284
    * ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
4285
      ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
4286
 
 
4287
    * WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
4288
      read rather than write. This is appropriate for actions which only need
 
4289
      the branch data for reference rather than mutation. A new decorator
 
4290
      ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
4291
      ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static 
 
4292
      declaration of the locking requirements of a function to ensure that
 
4293
      a lock is taken out for casual scripts. (Robert Collins, #54107)
 
4294
 
 
4295
    * All WorkingTree methods which write to the tree, but not to the branch
 
4296
      have been converted to use ``needs_tree_write_lock`` rather than 
 
4297
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
4298
      transform modules. This provides a modest performance improvement on 
 
4299
      metadir style trees, due to the reduce lock-acquisition, and a more
 
4300
      significant performance improvement on lightweight checkouts from 
 
4301
      remote branches, where trivial operations used to pay a significant 
 
4302
      penalty. It also provides the basis for allowing readonly checkouts.
 
4303
      (Robert Collins)
 
4304
 
 
4305
    * Special case importing the standard library 'copy' module. This shaves
 
4306
      off 40ms of startup time, while retaining compatibility. See:
 
4307
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
4308
 
 
4309
    * WorkingTree has a new parent class MutableTree which represents the 
 
4310
      specialisations of Tree which are able to be altered. (Robert Collins)
 
4311
 
 
4312
    * New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
4313
      mutate the tree and its contents. (Robert Collins)
 
4314
 
 
4315
    * Transport behaviour at the root of the URL is now defined and tested.
 
4316
      (Andrew Bennetts, Robert Collins)
 
4317
 
 
4318
  TESTING:
 
4319
 
 
4320
    * New test helper classs MemoryTree. This is typically accessed via
 
4321
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
4322
      
 
4323
    * Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
4324
      code to continue running concurrently with a subprocess of bzr.
 
4325
      (Andrew Bennetts, Robert Collins)
 
4326
 
 
4327
    * Add a new method ``Transport.get_smart_client()``. This is provided to
 
4328
      allow upgrades to a richer interface than the VFS one provided by
 
4329
      Transport. (Andrew Bennetts, Martin Pool)
 
4330
 
 
4331
bzr 0.10  2006-08-29
 
4332
--------------------
 
4333
  
 
4334
  IMPROVEMENTS:
 
4335
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
4336
      tree.  (Aaron Bentley)
 
4337
  
 
4338
    * 'bzr add --file-ids-from' can be used to specify another path to use
 
4339
      for creating file ids, rather than generating all new ones. Internally,
 
4340
      the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
4341
      will be used, rather than having bzrlib generate new ones.
 
4342
      (John Arbash Meinel, #55781)
 
4343
 
 
4344
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
4345
      This will cache some of the intermediate trees, and decrease the
 
4346
      setup time for benchmark tests. (John Arbash Meinel)
 
4347
 
 
4348
    * Inverse forms are provided for all boolean options.  For example,
 
4349
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
4350
 
 
4351
    * Serialize out Inventories directly, rather than using ElementTree.
 
4352
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
4353
      (Robert Collins, John Arbash Meinel)
 
4354
 
 
4355
  BUG FIXES:
 
4356
 
 
4357
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
4358
 
 
4359
    * Change LockDir so that if the lock directory doesn't exist when
 
4360
      ``lock_write()`` is called, an attempt will be made to create it.
 
4361
      (John Arbash Meinel, #56974)
 
4362
 
 
4363
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
4364
 
 
4365
    * Active FTP transport now works as intended. (ghozzy, #56472)
 
4366
 
 
4367
    * Really fix mutter() so that it won't ever raise a UnicodeError.
 
4368
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
4369
      But it is a debugging log, not a real user file.
 
4370
      (John Arbash Meinel, #56947, #53880)
 
4371
 
 
4372
    * Change Command handle to allow Unicode command and options.
 
4373
      At present we cannot register Unicode command names, so we will get
 
4374
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
4375
      But that is better than a UnicodeError + a traceback.
 
4376
      (John Arbash Meinel, #57123)
 
4377
 
 
4378
    * Handle TZ=UTC properly when reading/writing revisions.
 
4379
      (John Arbash Meinel, #55783, #56290)
 
4380
 
 
4381
    * Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
4382
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
4383
 
 
4384
    * External diff does the right thing for binaries even in foreign 
 
4385
      languages. (John Arbash Meinel, #56307)
 
4386
 
 
4387
    * Testament handles more cases when content is unicode. Specific bug was
 
4388
      in handling of revision properties.
 
4389
      (John Arbash Meinel, Holger Krekel, #54723)
 
4390
 
 
4391
    * The bzr selftest was failing on installed versions due to a bug in a new
 
4392
      test helper. (John Arbash Meinel, Robert Collins, #58057)
 
4393
 
 
4394
  INTERNALS:
 
4395
 
 
4396
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
4397
      which can be used to cache the conversion between utf8 and Unicode.
 
4398
      Especially helpful for some of the knit annotation code, which has to
 
4399
      convert revision ids to utf8 to annotate lines in storage.
 
4400
      (John Arbash Meinel)
 
4401
 
 
4402
    * ``setup.py`` now searches the filesystem to find all packages which
 
4403
      need to be installed. This should help make the life of packagers
 
4404
      easier. (John Arbash Meinel)
 
4405
 
 
4406
bzr 0.9.0  2006-08-11
 
4407
---------------------
 
4408
 
 
4409
  SURPRISES:
 
4410
 
 
4411
   * The hard-coded built-in ignore rules have been removed. There are
 
4412
     now two rulesets which are enforced. A user global one in 
 
4413
     ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
4414
     specific one '.bzrignore'.
 
4415
     ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
4416
     a more conservative list than the old default.
 
4417
     This fixes bugs with default rules being enforced no matter what. 
 
4418
     The old list of ignore rules from bzr is available by
 
4419
     running 'bzr ignore --old-default-rules'.
 
4420
     (Robert Collins, Martin Pool, John Arbash Meinel)
 
4421
 
 
4422
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
 
4423
     to more locations than just branch locations.
 
4424
     (Aaron Bentley)
 
4425
   
 
4426
  IMPROVEMENTS:
 
4427
 
 
4428
   * The revision specifier "revno:" is extended to accept the syntax
 
4429
     revno:N:branch. For example,
 
4430
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
4431
     bzr.dev.  (Matthieu Moy)
 
4432
 
 
4433
   * Tests updates to ensure proper URL handling, UNICODE support, and
 
4434
     proper printing when the user's terminal encoding cannot display 
 
4435
     the path of a file that has been versioned.
 
4436
     ``bzr branch`` can take a target URL rather than only a local directory.
 
4437
     ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
4438
     and normalize the parent based on root, allowing access across
 
4439
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
4440
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
4441
     #42517, #42514)
 
4442
 
 
4443
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
4444
     Use terminal width for single-line logs from ``bzr log --line`` and
 
4445
     pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
4446
     (Malone #3507)
 
4447
 
 
4448
   * On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
4449
     (Alexander Belchenko)
 
4450
 
 
4451
   * Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
4452
 
 
4453
   * Show the correct number of revisions pushed when pushing a new branch.
 
4454
     (Robert Collins).
 
4455
 
 
4456
   * 'bzr selftest' now shows a progress bar with the number of tests, and 
 
4457
     progress made. 'make check' shows tests in -v mode, to be more useful
 
4458
     for the PQM status window. (Robert Collins).
 
4459
     When using a progress bar, failed tests are printed out, rather than
 
4460
     being overwritten by the progress bar until the suite finishes.
 
4461
     (John Arbash Meinel)
 
4462
 
 
4463
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
4464
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
4465
     profile data for the individual profiled calls, allowing for fine
 
4466
     grained analysis of performance.
 
4467
     (Robert Collins, Martin Pool).
 
4468
 
 
4469
   * 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
4470
     where commit can take an appreciable time. (Robert Collins)
 
4471
 
 
4472
   * 'bzr add' is now less verbose in telling you what ignore globs were
 
4473
     matched by files being ignored. Instead it just tells you how many 
 
4474
     were ignored (because you might reasonably be expecting none to be
 
4475
     ignored). 'bzr add -v' is unchanged and will report every ignored
 
4476
     file. (Robert Collins).
 
4477
 
 
4478
   * ftp now has a test server if medusa is installed. As part of testing,
 
4479
     ftp support has been improved, including support for supplying a
 
4480
     non-standard port. (John Arbash Meinel).
 
4481
 
 
4482
   * 'bzr log --line' shows the revision number, and uses only the
 
4483
     first line of the log message (#5162, Alexander Belchenko;
 
4484
     Matthieu Moy)
 
4485
 
 
4486
   * 'bzr status' has had the --all option removed. The 'bzr ls' command
 
4487
     should be used to retrieve all versioned files. (Robert Collins)
 
4488
 
 
4489
   * 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
4490
     over email, and applied on the other end, while maintaining ancestry.
 
4491
     This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
4492
     the same way you would apply another branch.
 
4493
     (John Arbash Meinel, Aaron Bentley)
 
4494
  
 
4495
   * 'bzr whoami' can now be used to set your identity from the command line,
 
4496
     for a branch or globally.  (Robey Pointer)
 
4497
 
 
4498
   * 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
4499
     (Michael Ellerman)
 
4500
 
 
4501
   * 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
4502
     (Aaron Bentley)
 
4503
 
 
4504
   * 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
4505
     Also updates things like 'http+pycurl://' if pycurl is not present.
 
4506
     (John Arbash Meinel) (Malone #47821, #52204)
 
4507
 
 
4508
   * New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
4509
     Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or 
 
4510
     'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
4511
 
 
4512
   * Improve the help text for 'bzr diff' to explain what various options do.
 
4513
     (John Arbash Meinel, #6391)
 
4514
 
 
4515
   * 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
4516
     revision 10. This makes -r10 more in line with what other commands do.
 
4517
     'bzr uncommit' also now saves the pending merges of the revisions that
 
4518
     were removed. So it is safe to uncommit after a merge, fix something,
 
4519
     and commit again. (John Arbash Meinel, #32526, #31426)
 
4520
 
 
4521
   * 'bzr init' now also works on remote locations.
 
4522
     (Wouter van Heyst, #48904)
 
4523
 
 
4524
   * HTTP support has been updated. When using pycurl we now support 
 
4525
     connection keep-alive, which reduces dns requests and round trips.
 
4526
     And for both urllib and pycurl we support multi-range requests, 
 
4527
     which decreases the number of round-trips. Performance results for
 
4528
     ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
4529
     http branching is now 2-3x faster, and ``bzr pull`` in an existing 
 
4530
     branch is as much as 4x faster.
 
4531
     (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
4532
 
 
4533
   * Performance improvements for sftp. Branching and pulling are now up to
 
4534
     2x faster. Utilize paramiko.readv() support for async requests if it
 
4535
     is available (paramiko > 1.6) (John Arbash Meinel)
 
4536
 
 
4537
  BUG FIXES:
 
4538
 
 
4539
    * Fix shadowed definition of TestLocationConfig that caused some 
 
4540
      tests not to run.
 
4541
      (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
4542
 
 
4543
    * Fix unnecessary requirement of sign-my-commits that it be run from
 
4544
      a working directory.  (Martin Pool, Robert Collins)
 
4545
 
 
4546
    * 'bzr push location' will only remember the push location if it succeeds
 
4547
      in connecting to the remote location. (John Arbash Meinel, #49742)
 
4548
 
 
4549
    * 'bzr revert' no longer toggles the executable bit on win32
 
4550
      (John Arbash Meinel, #45010)
 
4551
 
 
4552
    * Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
4553
    
 
4554
    * sftp tests now work correctly on win32 if you have a newer paramiko
 
4555
      (John Arbash Meinel)
 
4556
 
 
4557
    * Cleanup win32 test suite, and general cleanup of places where
 
4558
      file handles were being held open. (John Arbash Meinel)
 
4559
 
 
4560
    * When specifying filenames for 'diff -r x..y', the name of the file in the
 
4561
      working directory can be used, even if its name is different in both x
 
4562
      and y.
 
4563
 
 
4564
    * File-ids containing single- or double-quotes are handled correctly by
 
4565
      push. (Aaron Bentley, #52227)
 
4566
 
 
4567
    * Normalize unicode filenames to ensure cross-platform consistency.
 
4568
      (John Arbash Meinel, #43689)
 
4569
 
 
4570
    * The argument parser can now handle '-' as an argument. Currently
 
4571
      no code interprets it specially (it is mostly handled as a file named 
 
4572
      '-'). But plugins, and future operations can use it.
 
4573
      (John Arbash meinel, #50984)
 
4574
 
 
4575
    * Bundles can properly read binary files with a plain '\r' in them.
 
4576
      (John Arbash Meinel, #51927)
 
4577
 
 
4578
    * Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
4579
 
 
4580
    * Lots of win32 fixes (the test suite passes again).
 
4581
      (John Arbash Meinel, #50155)
 
4582
 
 
4583
    * Handle openbsd returning None for sys.getfilesystemencoding() (#41183) 
 
4584
 
 
4585
    * Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
4586
 
 
4587
    * Removals are only committed if they match the filespec (or if there is
 
4588
      no filespec).  (#46635, Aaron Bentley)
 
4589
 
 
4590
    * smart-add recurses through all supplied directories 
 
4591
      (John Arbash Meinel, #52578)
 
4592
 
 
4593
    * Make the bundle reader extra lines before and after the bundle text.
 
4594
      This allows you to parse an email with the bundle inline.
 
4595
      (John Arbash Meinel, #49182)
 
4596
 
 
4597
    * Change the file id generator to squash a little bit more. Helps when
 
4598
      working with long filenames on windows. (Also helps for unicode filenames
 
4599
      not generating hidden files). (John Arbash Meinel, #43801)
 
4600
 
 
4601
    * Restore terminal mode on C-c while reading sftp password.  (#48923, 
 
4602
      Nicholas Allen, Martin Pool)
 
4603
 
 
4604
    * Timestamps are rounded to 1ms, and revision entries can be recreated
 
4605
      exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
4606
 
 
4607
    * Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
4608
      use local paths, since it is user visible (John Arbash Meinel, #53653)
 
4609
 
 
4610
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
 
4611
      to be generated (John Arbash Meinel, #53638)
 
4612
 
 
4613
    * When reading revision properties, an empty value should be considered
 
4614
      the empty string, not None (John Arbash Meinel, #47782)
 
4615
 
 
4616
    * ``bzr diff --diff-options`` can now handle binary files being changed.
 
4617
      Also, the output is consistent when --diff-options is not supplied.
 
4618
      (John Arbash Meinel, #54651, #52930)
 
4619
 
 
4620
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
4621
 
 
4622
    * Fix ``Branch.get_parent()`` to handle the case when the parent is not 
 
4623
      accessible (John Arbash Meinel, #52976)
 
4624
 
 
4625
  INTERNALS:
 
4626
 
 
4627
    * Combine the ignore rules into a single regex rather than looping over
 
4628
      them to reduce the threshold where  N^2 behaviour occurs in operations
 
4629
      like status. (Jan Hudec, Robert Collins).
 
4630
 
 
4631
    * Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
4632
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
4633
 
 
4634
    * 'bzr push' should only push the ancestry of the current revision, not
 
4635
      all of the history in the repository. This is especially important for
 
4636
      shared repositories. (John Arbash Meinel)
 
4637
 
 
4638
    * ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
4639
      rather than randomly walking the inventories. (John Arbash Meinel)
 
4640
 
 
4641
    * Doctests are now run in temporary directories which are cleaned up when
 
4642
      they finish, rather than using special ScratchDir/ScratchBranch objects.
 
4643
      (Martin Pool)
 
4644
 
 
4645
    * Split ``check`` into separate methods on the branch and on the repository,
 
4646
      so that it can be specialized in ways that are useful or efficient for
 
4647
      different formats.  (Martin Pool, Robert Collins)
 
4648
 
 
4649
    * Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
4650
      the global revision graph but only that part leading up to a particular
 
4651
      revision.  (Martin Pool, Robert Collins)
 
4652
 
 
4653
    * Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
4654
      that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
4655
      (Robert Collins, Jelmer Vernooij).
 
4656
 
 
4657
    * ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
4658
      Uses subprocess instead of spawnvp.
 
4659
      (James Henstridge, John Arbash Meinel, #4047, #48914)
 
4660
 
 
4661
    * New command line option '--profile-imports', which will install a custom
 
4662
      importer to log time to import modules and regex compilation time to 
 
4663
      sys.stderr (John Arbash Meinel)
 
4664
 
 
4665
    * 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
4666
      instead. (Robert Collins)
 
4667
 
 
4668
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
4669
 
 
4670
bzr 0.8.2  2006-05-17
 
4671
---------------------
 
4672
  
 
4673
  BUG FIXES:
 
4674
   
 
4675
    * setup.py failed to install launchpad plugin.  (Martin Pool)
 
4676
 
 
4677
bzr 0.8.1  2006-05-16
 
4678
---------------------
 
4679
 
 
4680
  BUG FIXES:
 
4681
 
 
4682
    * Fix failure to commit a merge in a checkout.  (Martin Pool, 
 
4683
      Robert Collins, Erik Bågfors, #43959)
 
4684
 
 
4685
    * Nicer messages from 'commit' in the case of renames, and correct
 
4686
      messages when a merge has occured. (Robert Collins, Martin Pool)
 
4687
 
 
4688
    * Separate functionality from assert statements as they are skipped in
 
4689
      optimized mode of python. Add the same check to pending merges.
 
4690
      (Olaf Conradi, #44443)
 
4691
 
 
4692
  CHANGES:
 
4693
 
 
4694
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
4695
 
 
4696
    * Add info on standalone branches without a working tree.
 
4697
      (Olaf Conradi, #44155)
 
4698
 
 
4699
    * Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
4700
 
 
4701
  CHANGES:
 
4702
 
 
4703
    * Make editor invocation comply with Debian Policy. First check
 
4704
      environment variables VISUAL and EDITOR, then try editor from
 
4705
      alternatives system. If that all fails, fall back to the pre-defined
 
4706
      list of editors. (Olaf Conradi, #42904)
 
4707
 
 
4708
  NEW FEATURES:
 
4709
 
 
4710
    * New 'register-branch' command registers a public branch into 
 
4711
      Launchpad.net, where it can be associated with bugs, etc.
 
4712
      (Martin Pool, Bjorn Tillenius, Robert Collins)
 
4713
 
 
4714
  INTERNALS:
 
4715
 
 
4716
    * New public api in InventoryEntry - ``describe_change(old, new)`` which
 
4717
      provides a human description of the changes between two old and
 
4718
      new. (Robert Collins, Martin Pool)
 
4719
 
 
4720
  TESTING:
 
4721
 
 
4722
    * Fix test case for bzr info in upgrading a standalone branch to metadir,
 
4723
      uses bzrlib api now. (Olaf Conradi)
 
4724
 
 
4725
bzr 0.8  2006-05-08
 
4726
-------------------
 
4727
 
 
4728
  NOTES WHEN UPGRADING:
 
4729
 
 
4730
    Release 0.8 of bzr introduces a new format for history storage, called
 
4731
    'knit', as an evolution of to the 'weave' format used in 0.7.  Local 
 
4732
    and remote operations are faster using knits than weaves.  Several
 
4733
    operations including 'init', 'init-repo', and 'upgrade' take a 
 
4734
    --format option that controls this.  Branching from an existing branch
 
4735
    will keep the same format.
 
4736
 
 
4737
    It is possible to merge, pull and push between branches of different
 
4738
    formats but this is slower than moving data between homogenous
 
4739
    branches.  It is therefore recommended (but not required) that you
 
4740
    upgrade all branches for a project at the same time.  Information on
 
4741
    formats is shown by 'bzr info'.
 
4742
 
 
4743
    bzr 0.8 now allows creation of 'repositories', which hold the history 
 
4744
    of files and revisions for several branches.  Previously bzr kept all
 
4745
    the history for a branch within the .bzr directory at the root of the
 
4746
    branch, and this is still the default.  To create a repository, use
 
4747
    the new 'bzr init-repo' command.  Branches exist as directories under
 
4748
    the repository and contain just a small amount of information
 
4749
    indicating the current revision of the branch.
 
4750
 
 
4751
    bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
4752
    subversion.  Checkouts are associated with a branch (optionally in a
 
4753
    repository), which contains all the historical information.  The
 
4754
    result is that a checkout can be deleted without losing any
 
4755
    already-committed revisions.  A new 'update' command is also available. 
 
4756
 
 
4757
    Repositories and checkouts are not supported with the 0.7 storage
 
4758
    format.  To use them you must upgrad to either knits, or to the
 
4759
    'metaweave' format, which uses weaves but changes the .bzr directory
 
4760
    arrangement.
 
4761
    
2
4762
 
3
4763
  IMPROVEMENTS:
4
4764
 
5
4765
    * Sftp paths can now be relative, or local, according to the lftp
6
 
      convention. Paths now take the form:
7
 
      sftp://user:pass@host:port/~/relative/path
8
 
      or
9
 
      sftp://user:pass@host:port/absolute/path
 
4766
      convention. Paths now take the form::
 
4767
 
 
4768
          sftp://user:pass@host:port/~/relative/path
 
4769
          or
 
4770
          sftp://user:pass@host:port/absolute/path
10
4771
 
11
4772
    * The FTP transport now tries to reconnect after a temporary
12
4773
      failure. ftp put is made atomic. (Matthieu Moy)
15
4776
      reuses them to avoid multiple connections to the same host (like
16
4777
      sftp did). (Daniel Silverstone)
17
4778
 
18
 
    * The bzr_man.py file has been removed. To create the man page now,
19
 
      use ./generate_docs.py man. The new program can also create other files.
20
 
      Run "python generate_docs.py --help" for usage information. (Hans
21
 
      Ulrich Niedermann & James Blackwell).
 
4779
    * The ``bzr_man.py`` file has been removed. To create the man page now,
 
4780
      use ``./generate_docs.py man``. The new program can also create other files.
 
4781
      Run ``python generate_docs.py --help`` for usage information.
 
4782
      (Hans Ulrich Niedermann & James Blackwell).
22
4783
 
23
 
    * Man Page now gives full help (James Blackwell). Help also updated to 
24
 
      reflect user config now being stored in .bazaar (Hans Ulrich
25
 
      Niedermann)
 
4784
    * Man Page now gives full help (James Blackwell).
 
4785
      Help also updated to reflect user config now being stored in .bazaar
 
4786
      (Hans Ulrich Niedermann)
26
4787
 
27
4788
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
28
4789
 
29
4790
    * Pull now accepts a --revision argument (Erik Bågfors)
30
4791
 
31
 
    * 'bzr re-sign' now allows multiple revisions to be supplied on the command
32
 
      line. You can now use the following command to sign all of your old commits.
 
4792
    * ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
4793
      line. You can now use the following command to sign all of your old
 
4794
      commits::
 
4795
 
33
4796
        find .bzr/revision-store// -name my@email-* \
34
4797
          | sed 's/.*\/\/..\///' \
35
4798
          | xargs bzr re-sign
69
4832
    * Improve output of 'info' command. Show all relevant locations related to
70
4833
      working tree, branch and repository. Use kibibytes for binary quantities.
71
4834
      Fix off-by-one error in missing revisions of working tree.  Make 'info'
72
 
      work on branches, repositories and remote locations.  (Olaf Conradi)
 
4835
      work on branches, repositories and remote locations.  Show locations
 
4836
      relative to the shared repository, if applicable.  Show locking status
 
4837
      of locations.  (Olaf Conradi)
 
4838
 
 
4839
    * Diff and merge now safely handle binary files. (Aaron Bentley)
73
4840
 
74
4841
    * 'pull' and 'push' now normalise the revision history, so that any two
75
4842
      branches with the same tip revision will have the same output from 'log'.
83
4850
 
84
4851
    * Add '.hg' to the default ignore list.  (Martin Pool)
85
4852
 
 
4853
    * 'knit' is now the default disk format. This improves disk performance and
 
4854
      utilization, increases incremental pull performance, robustness with SFTP
 
4855
      and allows checkouts over SFTP to perform acceptably. 
 
4856
      The initial Knit code was contributed by Johan Rydberg based on a
 
4857
      specification by Martin Pool.
 
4858
      (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
4859
 
 
4860
    * New tool to generate all-in-one html version of the manual.  (Alexander
 
4861
      Belchenko)
 
4862
 
 
4863
    * Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
4864
      to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
4865
 
 
4866
    * New option 'diff --prefix' to control how files are named in diff
 
4867
      output, with shortcuts '-p0' and '-p1' corresponding to the options for 
 
4868
      GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
4869
 
 
4870
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
 
4871
 
 
4872
    * If bzr shows an unexpected revision-history after pulling (perhaps due
 
4873
      to a reweave) it can now be corrected by 'bzr reconcile'.
 
4874
      (Robert Collins)
 
4875
 
86
4876
  CHANGES:
87
4877
 
88
4878
    * Commit is now verbose by default, and shows changed filenames and the 
89
4879
      new revision number.  (Robert Collins, Martin Pool)
90
4880
 
91
 
    * Unify 'mv', 'move', 'rename'.  (#5379, Matthew Fuller)
 
4881
    * Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
92
4882
 
93
 
    * 'bzr -h' shows help.  (#35940, Martin Pool, Ian Bicking)
 
4883
    * 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
94
4884
 
95
4885
    * Make 'pull' and 'push' remember location on failure using --remember.
96
4886
      (Olaf Conradi)
97
4887
 
 
4888
    * For compatibility, make old format for using weaves inside metadir
 
4889
      available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
4890
      Clean up help for option --format in commands 'init', 'init-repo' and
 
4891
      'upgrade'.  (Olaf Conradi)
 
4892
 
98
4893
  INTERNALS:
99
4894
  
100
4895
    * The internal storage of history, and logical branch identity have now
111
4906
 
112
4907
    * Using Tree Transform for merge, revert, tree-building
113
4908
 
114
 
    * WorkingTree.create, Branch.create, WorkingTree.create_standalone,
115
 
      Branch.initialize are now deprecated. Please see BzrDir.create_* for
 
4909
    * WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
4910
      Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
116
4911
      replacement API's. (Robert Collins)
117
4912
 
118
4913
    * New BzrDir class represents the .bzr control directory and manages
122
4917
      Repository actions and allows for clean selection of optimised code
123
4918
      paths. (Robert Collins)
124
4919
 
125
 
    * bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
126
 
      please use 'branch.fetch' or 'repository.fetch' depending on your
127
 
      needs. (Robert Collins)
 
4920
    * ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
4921
      deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
4922
      depending on your needs. (Robert Collins)
128
4923
 
129
 
    * deprecated methods now have a 'is_deprecated' flag on them that can
 
4924
    * deprecated methods now have a ``is_deprecated`` flag on them that can
130
4925
      be checked, if you need to determine whether a given callable is 
131
4926
      deprecated at runtime. (Robert Collins)
132
4927
 
133
4928
    * Progress bars are now nested - see
134
 
      bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
 
4929
      ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
4930
      (Robert Collins, Robey Pointer)
135
4931
 
136
 
    * New API call get_format_description() for each type of format.
 
4932
    * New API call ``get_format_description()`` for each type of format.
137
4933
      (Olaf Conradi)
138
4934
 
139
 
    * Changed branch.set_parent() to accept None to remove parent.
 
4935
    * Changed ``branch.set_parent()`` to accept None to remove parent.
140
4936
      (Olaf Conradi)
141
4937
 
142
4938
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
143
4939
 
 
4940
    * WorkingTree.branch is now a read only property.  (Robert Collins)
 
4941
 
 
4942
    * bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
4943
      can be None or a factory that will create a progress bar. This is
 
4944
      useful for testing or for overriding the bzrlib.progress heuristic.
 
4945
      (Robert Collins)
 
4946
 
 
4947
    * New API method ``get_physical_lock_status()`` to query locks present on a
 
4948
      transport.  (Olaf Conradi)
 
4949
 
 
4950
    * Repository.reconcile now takes a thorough keyword parameter to allow
 
4951
      requesting an indepth reconciliation, rather than just a data-loss 
 
4952
      check. (Robert Collins)
 
4953
 
 
4954
    * ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
4955
      the user for yes/no style input. (Robert Collins)
 
4956
 
144
4957
  TESTING:
145
4958
 
146
4959
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
147
4960
      for testing SFTP protocol support. (Robey Pointer)
148
4961
 
149
 
    * Branch formats are now tested once per implementation (see bzrlib.
150
 
      tests.branch_implementations. This is analagous to the transport
 
4962
    * Branch formats are now tested once per implementation (see ``bzrlib.
 
4963
      tests.branch_implementations``. This is analagous to the transport
151
4964
      interface tests, and has been followed up with working tree,
152
4965
      repository and BzrDir tests. (Robert Collins)
153
4966
 
163
4976
 
164
4977
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
165
4978
 
166
 
bzr 0.7rc1 2006-01-09
 
4979
    * ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
4980
      parameter which will provide String("foo") to the command as its stdin.
 
4981
 
 
4982
bzr 0.7 2006-01-09
 
4983
------------------
167
4984
 
168
4985
  CHANGES:
169
4986
 
175
4992
      versioned directories, now use "bzr inventory --kind directory".  
176
4993
      (Johan Rydberg)
177
4994
 
178
 
    * Under Windows configuration directory is now %APPDATA%\bazaar\2.0
 
4995
    * Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
179
4996
      by default. (John Arbash Meinel)
180
4997
 
181
 
    * The parent of Bzr configuration directory can be set by BZR_HOME
182
 
      environment variable. Now the path for it is searched in BZR_HOME, then
183
 
      in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
184
 
      points to C:\Documents and Settings\User Name\Application Data), HOME.
185
 
      (John Arbash Meinel)
 
4998
    * The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
4999
      environment variable. Now the path for it is searched in ``BZR_HOME``,
 
5000
      then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
5001
      (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
5002
      ``HOME``. (John Arbash Meinel)
186
5003
 
187
5004
    * Plugins with the same name in different directories in the bzr plugin
188
5005
      path are no longer loaded: only the first successfully loaded one is
227
5044
    * Added branch nicks, new nick command, printing them in log output. 
228
5045
      (Aaron Bentley)
229
5046
 
230
 
    * If $BZR_PDB is set, pop into the debugger when an uncaught exception 
 
5047
    * If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception 
231
5048
      occurs.  (Martin Pool)
232
5049
 
233
5050
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
236
5053
    * New ftp transport support (on ftplib), for ftp:// and aftp:// 
237
5054
      URLs.  (Daniel Silverstone)
238
5055
 
239
 
    * Commit editor temporary files now start with 'bzr_log.', to allow 
 
5056
    * Commit editor temporary files now start with ``bzr_log.``, to allow 
240
5057
      text editors to match the file name and set up appropriate modes or 
241
5058
      settings.  (Magnus Therning)
242
5059
 
251
5068
      revno should be printed.  (Michael Ellerman)
252
5069
 
253
5070
    * bzr cat defaults to printing the last version of the file.  
254
 
      (#3632, Matthieu Moy)
 
5071
      (Matthieu Moy, #3632)
255
5072
 
256
5073
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof 
257
5074
      profiler.  (Denys Duchier)
295
5112
    * Fix for sftp transport under windows when using interactive auth
296
5113
 
297
5114
    * Show files which are both renamed and modified as such in 'bzr 
298
 
      status' output.  (#4503, Daniel Silverstone)
 
5115
      status' output.  (Daniel Silverstone, #4503)
299
5116
 
300
5117
    * Make annotate cope better with revisions committed without a valid 
301
5118
      email address.  (Marien Zwart)
302
5119
 
303
 
    * Fix representation of tab characters in commit messages.  (Harald 
304
 
      Meland)
 
5120
    * Fix representation of tab characters in commit messages.
 
5121
      (Harald Meland)
305
5122
 
306
 
    * List of plugin directories in BZR_PLUGIN_PATH environment variable is
 
5123
    * List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
307
5124
      now parsed properly under Windows. (Alexander Belchenko)
308
5125
 
309
5126
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
311
5128
    * Keep a cached copy of the basis inventory to speed up operations 
312
5129
      that need to refer to it.  (Johan Rydberg, Martin Pool)
313
5130
 
314
 
    * Fix bugs in bzr status display of non-ascii characters.  (Martin 
315
 
      Pool)
 
5131
    * Fix bugs in bzr status display of non-ascii characters.
 
5132
      (Martin Pool)
316
5133
 
317
 
    * Remove Makefile.in from default ignore list.  (#6413, Tollef Fog 
318
 
      Heen, Martin Pool)
 
5134
    * Remove Makefile.in from default ignore list.
 
5135
      (Tollef Fog Heen, Martin Pool, #6413)
319
5136
 
320
5137
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
321
5138
 
330
5147
 
331
5148
    * Make tests work even if HOME is not set (Aaron Bentley)
332
5149
 
333
 
    * Updated build_tree to use fixed line-endings for tests which read 
 
5150
    * Updated ``build_tree`` to use fixed line-endings for tests which read 
334
5151
      the file cotents and compare. Make some tests use this to pass under
335
5152
      Windows. (John Arbash Meinel)
336
5153
 
343
5160
 
344
5161
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
345
5162
      If adding a new test script please add that to
346
 
      bzrlib.tests.blackbox.__init__. (Robert Collins)
 
5163
      ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
347
5164
 
348
5165
    * Much better error message if one of the test suites can't be 
349
5166
      imported.  (Martin Pool)
370
5187
      see bzrlib.transport.TransportTestProviderAdapter() for this.
371
5188
      (Robert Collins).
372
5189
 
373
 
    * TestCase.build_tree uses the transport interface to build trees, pass
374
 
      in a transport parameter to give it an existing connection.
 
5190
    * ``TestCase.build_tree`` uses the transport interface to build trees,
 
5191
      pass in a transport parameter to give it an existing connection.
375
5192
      (Robert Collins).
376
5193
 
377
5194
  INTERNALS:
379
5196
    * WorkingTree.pull has been split across Branch and WorkingTree,
380
5197
      to allow Branch only pulls. (Robert Collins)
381
5198
 
382
 
    * commands.display_command now returns the result of the decorated 
 
5199
    * ``commands.display_command`` now returns the result of the decorated 
383
5200
      function. (Robert Collins)
384
5201
 
385
 
    * LocationConfig now has a set_user_option(key, value) call to save
 
5202
    * LocationConfig now has a ``set_user_option(key, value)`` call to save
386
5203
      a setting in its matching location section (a new one is created
387
5204
      if needed). (Robert Collins)
388
5205
 
389
 
    * Branch has two new methods, get_push_location and set_push_location
390
 
      to respectively, get and set the push location. (Robert Collins)
 
5206
    * Branch has two new methods, ``get_push_location`` and
 
5207
      ``set_push_location`` to respectively, get and set the push location.
 
5208
      (Robert Collins)
391
5209
 
392
 
    * commands.register_command now takes an optional flag to signal that
 
5210
    * ``commands.register_command`` now takes an optional flag to signal that
393
5211
      the registrant is planning to decorate an existing command. When 
394
5212
      given multiple plugins registering a command is not an error, and
395
5213
      the original command class (whether built in or a plugin based one) is
400
5218
    * Some option parsing errors will raise 'BzrOptionError', allowing 
401
5219
      granular detection for decorating commands. (Robert Collins).
402
5220
 
403
 
    * Branch.read_working_inventory has moved to
404
 
      WorkingTree.read_working_inventory. This necessitated changes to
405
 
      Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
406
 
      as well. To make it clear that a WorkingTree cannot always be obtained
407
 
      Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
408
 
      be obtained. (Robert Collins)
 
5221
    * ``Branch.read_working_inventory`` has moved to
 
5222
      ``WorkingTree.read_working_inventory``. This necessitated changes to
 
5223
      ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
5224
      WorkingTree as well. To make it clear that a WorkingTree cannot always
 
5225
      be obtained ``Branch.working_tree()`` will raise
 
5226
      ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
409
5227
 
410
5228
    * All pending merges operations from Branch are now on WorkingTree.
411
5229
      (Robert Collins)
412
5230
 
413
 
    * The follow operations from Branch have moved to WorkingTree:
414
 
      add()
415
 
      commit()
416
 
      move()
417
 
      rename_one()
418
 
      unknowns()
 
5231
    * The follow operations from Branch have moved to WorkingTree::
 
5232
 
 
5233
          add()
 
5234
          commit()
 
5235
          move()
 
5236
          rename_one()
 
5237
          unknowns()
 
5238
 
419
5239
      (Robert Collins)
420
5240
 
421
 
    * bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
 
5241
    * ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
422
5242
 
423
5243
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
424
5244
 
425
 
    * Rename selftests to `bzrlib.tests.test_foo`.  (John A Meinel, Martin 
 
5245
    * Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin 
426
5246
      Pool)
427
5247
 
428
 
    * bzrlib.plugin.all_plugins has been changed from an attribute to a 
 
5248
    * ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a 
429
5249
      query method. (Robert Collins)
430
5250
 
431
5251
    * New options to read only the table-of-contents of a weave.  
434
5254
    * Raise NoSuchFile when someone tries to add a non-existant file.
435
5255
      (Michael Ellerman)
436
5256
 
437
 
    * Simplify handling of DivergedBranches in cmd_pull().
 
5257
    * Simplify handling of DivergedBranches in ``cmd_pull()``.
438
5258
      (Michael Ellerman)
439
 
                   
440
5259
   
441
5260
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
442
 
      is exposed as Branch().control_files. Also this has been altered with the
 
5261
      is exposed as ``Branch().control_files``. Also this has been altered with the
443
5262
      controlfile pre/suffix replaced by simple method names like 'get' and
444
5263
      'put'. (Aaron Bentley, Robert Collins).
445
5264
 
446
5265
    * Deprecated functions and methods can now be marked as such using the 
447
 
      bzrlib.symbol_versioning module. Marked method have their docstring
 
5266
      ``bzrlib.symbol_versioning`` module. Marked method have their docstring
448
5267
      updated and will issue a DeprecationWarning using the warnings module
449
5268
      when they are used. (Robert Collins)
450
5269
 
451
 
    * bzrlib.osutils.safe_unicode now exists to provide parameter coercion
 
5270
    * ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
452
5271
      for functions that need unicode strings. (Robert Collins)
453
5272
 
454
5273
bzr 0.6 2005-10-28
 
5274
------------------
455
5275
 
456
5276
  IMPROVEMENTS:
457
5277
  
489
5309
    * New command 're-sign' which will regenerate the gpg signature for 
490
5310
      a revision. (Robert Collins)
491
5311
 
492
 
    * If you set check_signatures=require for a path in 
493
 
      ~/.bazaar/branches.conf then bzr will invoke your
494
 
      gpg_signing_command (defaults to gpg) and record a digital signature
 
5312
    * If you set ``check_signatures=require`` for a path in 
 
5313
      ``~/.bazaar/branches.conf`` then bzr will invoke your
 
5314
      ``gpg_signing_command`` (defaults to gpg) and record a digital signature
495
5315
      of your commit. (Robert Collins)
496
5316
 
497
5317
    * New sftp transport, based on Paramiko.  (Robey Pointer)
505
5325
    * 'bzr branch' will now set the branch-name to the last component of the
506
5326
      output directory, if one was supplied.
507
5327
 
508
 
    * If the option 'post_commit' is set to one (or more) python function
 
5328
    * If the option ``post_commit`` is set to one (or more) python function
509
5329
      names (must be in the bzrlib namespace), then they will be invoked
510
 
      after the commit has completed, with the branch and revision_id as
 
5330
      after the commit has completed, with the branch and ``revision_id`` as
511
5331
      parameters. (Robert Collins)
512
5332
 
513
5333
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
569
5389
    * Config options have moved from bzrlib.osutils to bzrlib.config.
570
5390
      Configuration is now done via the config.Config interface:
571
5391
      Depending on whether you have a Branch, a Location or no information
572
 
      available, construct a *Config, and use its signature_checking,
573
 
      username and user_email methods. (Robert Collins)
 
5392
      available, construct a ``*Config``, and use its ``signature_checking``,
 
5393
      ``username`` and ``user_email`` methods. (Robert Collins)
574
5394
 
575
5395
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
576
5396
      they are made available for other plugins to use. You should not 
577
 
      import other plugins during the __init__ of your plugin though, as 
 
5397
      import other plugins during the ``__init__`` of your plugin though, as 
578
5398
      no ordering is guaranteed, and the plugins directory is not on the
579
5399
      python path. (Robert Collins)
580
5400
 
587
5407
      Scott James Remnant.  (Martin Pool)
588
5408
 
589
5409
    * Branch.remove has been moved to WorkingTree, which has also gained
590
 
      lock_read, lock_write and unlock methods for convenience. (Robert
591
 
      Collins)
 
5410
      ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
5411
      (Robert Collins)
592
5412
 
593
 
    * Two decorators, needs_read_lock and needs_write_lock have been added
594
 
      to the branch module. Use these to cause a function to run in a
 
5413
    * Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
5414
      added to the branch module. Use these to cause a function to run in a
595
5415
      read or write lock respectively. (Robert Collins)
596
5416
 
597
 
    * Branch.open_containing now returns a tuple (Branch, relative-path),
 
5417
    * ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
598
5418
      which allows direct access to the common case of 'get me this file
599
5419
      from its branch'. (Robert Collins)
600
5420
 
601
 
    * Transports can register using register_lazy_transport, and they 
 
5421
    * Transports can register using ``register_lazy_transport``, and they 
602
5422
      will be loaded when first used.  (Martin Pool)
603
5423
 
604
 
    * 'pull' has been factored out of the command as WorkingTree.pull().
 
5424
    * 'pull' has been factored out of the command as ``WorkingTree.pull()``.
605
5425
      A new option to WorkingTree.pull has been added, clobber, which will
606
5426
      ignore diverged history and pull anyway.
607
5427
      (Robert Collins)
608
5428
 
609
 
    * config.Config has a 'get_user_option' call that accepts an option name.
 
5429
    * config.Config has a ``get_user_option`` call that accepts an option name.
610
5430
      This will be looked up in branches.conf and bazaar.conf as normal.
611
5431
      It is intended that this be used by plugins to support options - 
612
5432
      options of built in programs should have specific methods on the config.
613
5433
      (Robert Collins)
614
5434
 
615
 
    * merge.merge_inner now has tempdir as an optional parameter. (Robert
616
 
      Collins)
 
5435
    * ``merge.merge_inner`` now has tempdir as an optional parameter.
 
5436
      (Robert Collins)
617
5437
 
618
5438
    * Tree.kind is not recorded at the top level of the hierarchy, as it was
619
5439
      missing on EmptyTree, leading to a bug with merge on EmptyTrees.
620
5440
      (Robert Collins)
621
5441
 
622
 
    * WorkingTree.__del__ has been removed, it was non deterministic and not 
623
 
      doing what it was intended to. See WorkingTree.__init__ for a comment
 
5442
    * ``WorkingTree.__del__`` has been removed, it was non deterministic and not 
 
5443
      doing what it was intended to. See ``WorkingTree.__init__`` for a comment
624
5444
      about future directions. (Robert Collins/Martin Pool)
625
5445
 
626
5446
    * bzrlib.transport.http has been modified so that only 404 urllib errors
631
5451
      to apis like 'put', 'get' and 'has'. This is to provide consistent
632
5452
      behaviour - it operates on url's only. (Robert Collins)
633
5453
 
634
 
    * Transports can register using register_lazy_transport, and they 
 
5454
    * Transports can register using ``register_lazy_transport``, and they 
635
5455
      will be loaded when first used.  (Martin Pool)
636
5456
 
637
 
    * 'merge_flex' no longer calls conflict_handler.finalize(), instead that
638
 
      is called by merge_inner. This is so that the conflict count can be 
 
5457
    * ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
5458
      is called by ``merge_inner``. This is so that the conflict count can be 
639
5459
      retrieved (and potentially manipulated) before returning to the caller
640
 
      of merge_inner. Likewise 'merge' now returns the conflict count to the
 
5460
      of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
641
5461
      caller. (Robert Collins)
642
5462
 
643
 
    * 'revision.revision_graph can handle having only partial history for
 
5463
    * ``revision.revision_graph`` can handle having only partial history for
644
5464
      a revision - that is no revisions in the graph with no parents.
645
5465
      (Robert Collins).
646
5466
 
647
 
    * New builtins.branch_files uses the standard file_list rules to produce
648
 
      a branch and a list of paths, relative to that branch (Aaron Bentley)
 
5467
    * New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
5468
      produce a branch and a list of paths, relative to that branch
 
5469
      (Aaron Bentley)
649
5470
 
650
5471
    * New TestCase.addCleanup facility.
651
5472
 
652
 
    * New bzrlib.version_info tuple (similar to sys.version_info), which can
653
 
      be used by programs importing bzrlib.
 
5473
    * New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
5474
      which can be used by programs importing bzrlib.
654
5475
 
655
5476
  BUG FIXES:
656
5477
 
662
5483
 
663
5484
 
664
5485
bzr 0.1.1 2005-10-12
 
5486
--------------------
665
5487
 
666
5488
  BUG FIXES:
667
5489
 
677
5499
 
678
5500
 
679
5501
bzr 0.1 2005-10-11
 
5502
------------------
680
5503
 
681
5504
  NOTES:
682
5505
 
713
5536
      bzr will correct this when it encounters it. Fixed by
714
5537
      Robert Collins
715
5538
 
716
 
    * HTTP tests now force off the use of http_proxy for the duration.
 
5539
    * HTTP tests now force off the use of ``http_proxy`` for the duration.
717
5540
      Contributed by Gustavo Niemeyer.
718
5541
 
719
5542
    * Fix problems in merging weave-based branches that have 
722
5545
    * Symlink support: working with symlinks when not in the root of a 
723
5546
      bzr tree was broken, patch from Scott James Remnant.
724
5547
 
725
 
 
726
5548
  IMPROVEMENTS:
727
5549
 
728
5550
    * 'branch' now accepts a --basis parameter which will take advantage
773
5595
      bzr branch it cannot understand. This allows for precise
774
5596
      handling of such circumstances.
775
5597
 
 
5598
    * Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
5599
      list of their ids and ``parent_sha1s`` is a list of their corresponding
 
5600
      sha1s (for old branches only at the moment.)
 
5601
 
 
5602
    * New method-object style interface for Commit() and Fetch().
 
5603
 
 
5604
    * Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
5605
      we call them revisions not patches.
 
5606
 
 
5607
    * Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
5608
      directory is created if it doesn't exist.
 
5609
 
 
5610
    * Inventories now identify the files which were present by 
 
5611
      giving the revision *of that file*.
 
5612
 
 
5613
    * Inventory and Revision XML contains a version identifier.  
 
5614
      This must be consistent with the overall branch version
 
5615
      but allows for more flexibility in future upgrades.
776
5616
 
777
5617
  TESTING:
778
5618
 
780
5620
      bzr installed by 'bzr selftest'.
781
5621
 
782
5622
    * 'bzr selftest' command-line arguments can now be partial ids
783
 
      of tests to run, e.g. 'bzr selftest test_weave'
 
5623
      of tests to run, e.g. ``bzr selftest test_weave``
784
5624
 
785
5625
      
786
5626
bzr 0.0.9 2005-09-23
 
5627
--------------------
787
5628
 
788
5629
  BUG FIXES:
789
5630
 
822
5663
 
823
5664
 
824
5665
bzr 0.0.8 2005-09-20
 
5666
--------------------
825
5667
 
826
5668
  IMPROVEMENTS:
827
5669
 
831
5673
      get added when you add a file in the directory.  Contributed by
832
5674
      Michael Ellerman.
833
5675
 
834
 
    * Ignore .DS_Store (contains Mac metadata) by default.  Patch from
835
 
      Nir Soffer.
 
5676
    * Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
5677
      (Nir Soffer)
836
5678
 
837
 
    * If you set BZR_EDITOR in the environment, it is checked in
 
5679
    * If you set ``BZR_EDITOR`` in the environment, it is checked in
838
5680
      preference to EDITOR and the config file for the interactive commit
839
5681
      editing program. Related to this is a bugfix where a missing program
840
5682
      set in EDITOR would cause editing to fail, now the fallback program
868
5710
 
869
5711
 
870
5712
bzr-0.0.7 2005-09-02
 
5713
--------------------
871
5714
 
872
5715
  NEW FEATURES:
873
5716
 
917
5760
 
918
5761
 
919
5762
bzr-0.0.6 2005-08-18
 
5763
--------------------
920
5764
 
921
5765
  NEW FEATURES:
922
5766
 
923
5767
    * Python plugins, automatically loaded from the directories on
924
 
      BZR_PLUGIN_PATH or ~/.bzr.conf/plugins by default.
 
5768
      ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
925
5769
 
926
5770
    * New 'bzr mkdir' command.
927
5771
 
959
5803
    * Moved plugins directory to bzrlib/, so that there's a standard
960
5804
      plugin directory which is not only installed with bzr itself but
961
5805
      is also available when using bzr from the development tree.
962
 
      BZR_PLUGIN_PATH and DEFAULT_PLUGIN_PATH are then added to the
 
5806
      ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
963
5807
      standard plugins directory.
964
5808
 
965
5809
    * When exporting to a tarball with ``bzr export --format tgz``, put 
998
5842
 
999
5843
 
1000
5844
bzr-0.0.5  2005-06-15
 
5845
---------------------
1001
5846
  
1002
5847
  CHANGES:
1003
5848
 
1111
5956
 
1112
5957
    * Better help messages for many commands.
1113
5958
 
1114
 
    * Expose bzrlib.open_tracefile() to start the tracefile; until
 
5959
    * Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
1115
5960
      this is called trace messages are just discarded.
1116
5961
 
1117
 
    * New internal function find_touching_revisions() and hidden
 
5962
    * New internal function ``find_touching_revisions()`` and hidden
1118
5963
      command touching-revisions trace the changes to a given file.
1119
5964
 
1120
 
    * Simpler and faster compare_inventories() function.
 
5965
    * Simpler and faster ``compare_inventories()`` function.
1121
5966
 
1122
 
    * bzrlib.open_tracefile() takes a tracefilename parameter.
 
5967
    * ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
1123
5968
 
1124
5969
    * New AtomicFile class.
1125
5970
 
1133
5978
 
1134
5979
 
1135
5980
bzr-0.0.4  2005-04-22
 
5981
---------------------
1136
5982
 
1137
5983
  ENHANCEMENTS:
1138
5984
 
1169
6015
 
1170
6016
    * Some Unicode/locale fixes.
1171
6017
 
1172
 
    * Partial workaround for difflib.unified_diff not handling
 
6018
    * Partial workaround for ``difflib.unified_diff`` not handling
1173
6019
      trailing newlines properly.
1174
6020
 
1175
6021
 
1196
6042
 
1197
6043
 
1198
6044
bzr-0.0.3  2005-04-06
 
6045
---------------------
1199
6046
 
1200
6047
  ENHANCEMENTS:
1201
6048
 
1236
6083
 
1237
6084
 
1238
6085
bzr-0.0.2.1
 
6086
-----------
1239
6087
 
1240
6088
  PORTABILITY:
1241
6089
 
1243
6091
 
1244
6092
 
1245
6093
bzr-0.0.2  "black cube"  2005-03-31
 
6094
-----------------------------------
1246
6095
 
1247
6096
  ENHANCEMENTS:
1248
6097
 
1270
6119
 
1271
6120
 
1272
6121
bzr-0.0.1  2005-03-26
 
6122
---------------------
1273
6123
 
1274
6124
  ENHANCEMENTS:
1275
6125
 
1296
6146
 
1297
6147
 
1298
6148
bzr-0.0.0.69  2005-03-22
 
6149
------------------------
1299
6150
 
1300
6151
  ENHANCEMENTS:
1301
6152