~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Alexander Belchenko
  • Date: 2006-07-30 16:43:12 UTC
  • mto: (1711.2.111 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1906.
  • Revision ID: bialix@ukr.net-20060730164312-b025fd3ff0cee59e
rename  gpl.txt => COPYING.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
IN DEVELOPMENT
2
2
 
3
 
bzr 0.16rc2  2007-04-30
4
 
 
5
 
  BUGFIXES:
6
 
 
7
 
    * Handle the case when you delete a file, and then rename another file
8
 
      on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
9
 
      status`` should show the removed file and an unknown file in its
10
 
      place. (John Arbash Meinel, #109993)
11
 
 
12
 
    * Bundles properly read and write revision properties that have an
13
 
      empty value. And when the value is not ASCII.
14
 
      (John Arbash Meinel, #109613)
15
 
 
16
 
    * Fix the bzr commit message to be in text mode.
17
 
      (Alexander Belchenko, #110901)
18
 
 
19
 
    * Also handle when you rename a file and create a file where it used
20
 
      to be. (John Arbash Meinel, #110256)
21
 
 
22
 
    * ``WorkingTree4._iter_changes`` should not descend into unversioned
23
 
      directories. (John Arbash Meinel, #110399)
24
 
 
25
 
bzr 0.16rc1  2007-04-26
26
 
 
27
 
  NOTES WHEN UPGRADING:
28
 
 
29
 
    * ``bzr remove`` and ``bzr rm`` will now remove the working file, if
30
 
      it could be recovered again.
31
 
      This has been done for consistency with svn and the unix rm command.
32
 
      The old ``remove`` behaviour has been retained in the new option
33
 
      ``bzr remove --keep``, which will just stop versioning the file,
34
 
      but not delete it.
35
 
      ``bzr remove --force`` have been added which will always delete the
36
 
      files.
37
 
      ``bzr remove`` is also more verbose.
38
 
      (Marius Kruger, #82602)
39
 
 
40
 
  IMPROVEMENTS:
41
 
 
42
 
    * Merge directives can now be supplied as input to `merge` and `pull`,
43
 
      like bundles can.  (Aaron Bentley)
44
 
 
45
 
    * Sending the SIGQUIT signal to bzr, which can be done on Unix by
46
 
      pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
47
 
      to continue.  This can be disabled by setting the environment variable
48
 
      ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
49
 
 
50
 
    * selftest now supports --list-only to list tests instead of running
51
 
      them. (Ian Clatworthy)
52
 
 
53
 
    * selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
54
 
      tests with names that match that regular expression.
55
 
      (Ian Clatworthy, #102679)
56
 
 
57
 
    * selftest now supports --randomize SEED to run tests in a random order.
58
 
      SEED is typically the value 'now' meaning 'use the current time'.
59
 
      (Ian Clatworthy, #102686)
60
 
 
61
 
    * New option ``--fixes`` to commit, which stores bug fixing annotations as
62
 
      revision properties. Built-in support for Launchpad, Debian, Trac and
63
 
      Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
64
 
 
65
 
    * New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
66
 
      other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
67
 
      Robert Collins)
68
 
 
69
 
    * ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
70
 
      Pool)
71
 
 
72
 
    * ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
73
 
      into using local variables instead of going through ``self._var``.
74
 
      Improves the time to ``merge_sort`` a 10k revision graph by
75
 
      approximately 40% (~700->400ms).  (John Arbash Meinel)
76
 
 
77
 
    * ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
78
 
      (Robert Collins)
79
 
 
80
 
    * ``bzr help`` now provides cross references to other help topics using
81
 
      the _see_also facility on command classes. Likewise the bzr_man
82
 
      documentation, and the bzr.1 man page also include this information.
83
 
      (Robert Collins)
84
 
 
85
 
    * Tags are now included in logs, that use the long log formatter. 
86
 
      (Erik Bågfors, Alexander Belchenko)
87
 
 
88
 
    * ``bzr help`` provides a clearer message when a help topic cannot be
89
 
      found. (Robert Collins, #107656)
90
 
 
91
 
    * ``bzr help`` now accepts optional prefixes for command help. The help
92
 
      for all commands can now be found at ``bzr help commands/COMMANDNAME``
93
 
      as well as ``bzr help COMMANDNAME`` (which only works for commands 
94
 
      where the name is not the same as a more general help topic). 
95
 
      (Robert Collins)
96
 
 
97
 
    * ``bzr help PLUGINNAME`` will now return the module docstring from the
98
 
      plugin PLUGINNAME. (Robert Collins, #50408)
99
 
 
100
 
    * New help topic ``urlspec`` which lists the availables transports.
101
 
      (Goffredo Baroncelli)
102
 
 
103
 
    * doc/server.txt updated to document the default bzr:// port
104
 
      and also update the blurb about the hpss' current status.
105
 
      (Robert Collins, #107125).
106
 
 
107
 
    * ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
108
 
      serve out to the local LAN (and anyone in the world that can reach the
109
 
      machine running ``bzr serve``. (Robert Collins, #98918)
110
 
 
111
 
    * A new smart server protocol version has been added.  It prefixes requests
112
 
      and responses with an explicit version identifier so that future protocol
113
 
      revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
114
 
 
115
 
    * The bzr protocol version 2 indicates success or failure in every response
116
 
      without depending on particular commands encoding that consistently,
117
 
      allowing future client refactorings to be much more robust about error
118
 
      handling. (Robert Collins, Martin Pool, Andrew Bennetts)
119
 
 
120
 
    * The smart protocol over HTTP client has been changed to always post to the
121
 
      same ``.bzr/smart`` URL under the original location when it can.  This allows
122
 
      HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
123
 
      server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
124
 
 
125
 
    * digest authentication is now supported for proxies and HTTP by the urllib
126
 
      based http implementation. Tested against Apache 2.0.55 and Squid
127
 
      2.6.5. Basic and digest authentication are handled coherently for HTTP
128
 
      and proxy: if the user is provided in the url (bzr command line for HTTP,
129
 
      proxy environment variables for proxies), the password is prompted for
130
 
      (only once). If the password is provided, it is taken into account. Once
131
 
      the first authentication is successful, all further authentication
132
 
      roundtrips are avoided by preventively setting the right authentication
133
 
      header(s).
134
 
      (Vincent Ladeuil).
135
 
 
136
 
  INTERNALS:
137
 
 
138
 
    * bzrlib API compatability with 0.8 has been dropped, cleaning up some
139
 
      code paths. (Robert Collins)
140
 
 
141
 
    * Change the format of chroot urls so that they can be safely manipulated
142
 
      by generic url utilities without causing the resulting urls to have
143
 
      escaped the chroot. A side effect of this is that creating a chroot
144
 
      requires an explicit action using a ChrootServer.
145
 
      (Robert Collins, Andrew Bennetts)
146
 
 
147
 
    * Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
148
 
      rather than fixing bug #96847.  (Aaron Bentley)
149
 
 
150
 
    * ``WorkingTree.apply_inventory_delta`` provides a better alternative to
151
 
      ``WorkingTree._write_inventory``.  (Aaron Bentley)
152
 
 
153
 
    * Convenience method ``TestCase.expectFailure`` ensures that known failures
154
 
      do not silently pass.  (Aaron Bentley)
155
 
 
156
 
    * ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than 
157
 
      ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
158
 
 
159
 
    * New SmartServer hooks facility. There are two initial hooks documented
160
 
      in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
161
 
      plugins to execute code upon server startup and shutdown.
162
 
      (Robert Collins).
163
 
 
164
 
    * SmartServer in standalone mode will now close its listening socket
165
 
      when it stops, rather than waiting for garbage collection. This primarily
166
 
      fixes test suite hangs when a test tries to connect to a shutdown server.
167
 
      It may also help improve behaviour when dealing with a server running
168
 
      on a specific port (rather than dynamically assigned ports).
169
 
      (Robert Collins)
170
 
 
171
 
    * Move most SmartServer code into a new package, bzrlib/smart.
172
 
      bzrlib/transport/remote.py contains just the Transport classes that used
173
 
      to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
174
 
 
175
 
    * urllib http implementation avoid roundtrips associated with
176
 
      401 (and 407) errors once the authentication succeeds.
177
 
      (Vincent Ladeuil).
178
 
 
179
 
    * urlib http now supports querying the user for a proxy password if
180
 
      needed. Realm is shown in the prompt for both HTTP and proxy
181
 
      authentication when the user is required to type a password. 
182
 
      (Vincent Ladeuil).
183
 
 
184
 
    * Renamed SmartTransport (and subclasses like SmartTCPTransport) to
185
 
      RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
186
 
      consistent with its new home in ``bzrlib/transport/remote.py``, and because
187
 
      it's not really a "smart" transport, just one that does file operations
188
 
      via remote procedure calls.  (Andrew Bennetts)
189
 
 
190
 
    * The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
191
 
      ``Branch`` now accept a ``token`` keyword argument, so that separate
192
 
      instances of those objects can share a lock if it has the right token.
193
 
      (Andrew Bennetts, Robert Collins)
194
 
 
195
 
    * New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
196
 
      branch references - which the smart server component needs.
197
 
 
198
 
    * The Repository API ``make_working_trees`` is now permitted to return
199
 
      False when ``set_make_working_trees`` is not implemented - previously
200
 
      an unimplemented ``set_make_working_trees`` implied the result True
201
 
      from ``make_working_trees``. This has been changed to accomodate the
202
 
      smart server, where it does not make sense (at this point) to ever
203
 
      make working trees by default. (Robert Collins)
204
 
 
205
 
    * Command objects can now declare related help topics by having _see_also
206
 
      set to a list of related topic. (Robert Collins)
207
 
 
208
 
    * ``bzrlib.help`` now delegates to the Command class for Command specific
209
 
      help. (Robert Collins)
210
 
 
211
 
    * New class ``TransportListRegistry``, derived from the Registry class, which 
212
 
      simplifies tracking the available Transports. (Goffredo Baroncelli)
213
 
 
214
 
    * New function ``Branch.get_revision_id_to_revno_map`` which will
215
 
      return a dictionary mapping revision ids to dotted revnos. Since
216
 
      dotted revnos are defined in the context of the branch tip, it makes
217
 
      sense to generate them from a ``Branch`` object.
218
 
      (John Arbash Meinel)
219
 
 
220
 
    * Fix the 'Unprintable error' message display to use the repr of the 
221
 
      exception that prevented printing the error because the str value
222
 
      for it is often not useful in debugging (e.g. KeyError('foo') has a
223
 
      str() of 'foo' but a repr of 'KeyError('foo')' which is much more
224
 
      useful. (Robert Collins)
225
 
 
226
 
    * ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
227
 
      (Andrew Bennetts)
228
 
 
229
 
  BUGFIXES:
230
 
 
231
 
    * Don't fail bundle selftest if email has 'two' embedded.  
232
 
      (Ian Clatworthy, #98510)
233
 
 
234
 
    * Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
235
 
      (Robert Widhopf-Fenk, #98591)
236
 
 
237
 
    * Remove ``--basis`` from the checkout/branch commands - it didn't work
238
 
      properly and is no longer beneficial.
239
 
      (Robert Collins, #53675, #43486)
240
 
 
241
 
    * Don't produce encoding error when adding duplicate files.
242
 
      (Aaron Bentley)
243
 
 
244
 
    * Fix ``bzr log <file>`` so it only logs the revisions that changed
245
 
      the file, and does it faster.
246
 
      (Kent Gibson, John Arbash Meinel, #51980, #69477)
247
 
 
248
 
    * Fix ``InterDirstateTre._iter_changes`` to handle when we come across
249
 
      an empty versioned directory, which now has files in it.
250
 
      (John Arbash Meinel, #104257)
251
 
 
252
 
    * Teach ``common_ancestor`` to shortcut when the tip of one branch is
253
 
      inside the ancestry of the other. Saves a lot of graph processing
254
 
      (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
255
 
      changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
256
 
 
257
 
    * Fix ``show_diff_trees`` to handle the case when a file is modified,
258
 
      and the containing directory is renamed. (The file path is different
259
 
      in this versus base, but it isn't marked as a rename).
260
 
      (John Arbash Meinel, #103870)
261
 
 
262
 
    * FTP now works even when the FTP server does not support atomic rename.
263
 
      (Aaron Bentley, #89436)
264
 
 
265
 
    * Correct handling in bundles and merge directives of timezones with
266
 
      that are not an integer number of hours offset from UTC.  Always 
267
 
      represent the epoch time in UTC to avoid problems with formatting 
268
 
      earlier times on win32.  (Martin Pool, Alexander Belchenko, John
269
 
      Arbash Meinel)
270
 
 
271
 
    * Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
272
 
 
273
 
    * "dirstate" and "dirstate-tags" formats now produce branches compatible
274
 
      with old versions of bzr. (Aaron Bentley, #107168))
275
 
 
276
 
    * Handle moving a directory when children have been added, removed,
277
 
      and renamed. (John Arbash Meinel, #105479)
278
 
 
279
 
    * Don't preventively use basic authentication for proxy before receiving a
280
 
      407 error. Otherwise people willing to use other authentication schemes
281
 
      may expose their password in the clear (or nearly). This add one
282
 
      roundtrip in case basic authentication should be used, but plug the
283
 
      security hole.
284
 
      (Vincent Ladeuil)
285
 
 
286
 
    * Handle http and proxy digest authentication.
287
 
      (Vincent Ladeuil, #94034).
288
 
 
289
 
  TESTING:
290
 
 
291
 
    * Added ``bzrlib.strace.strace`` which will strace a single callable and
292
 
      return a StraceResult object which contains just the syscalls involved
293
 
      in running it. (Robert Collins)
294
 
 
295
 
    * New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
296
 
      default time down to one suitable for tests. (Andrew Bennetts)
297
 
 
298
 
    * Add new ``vfs_transport_factory`` attribute on tests which provides the 
299
 
      common vfs backing for both the readonly and readwrite transports.
300
 
      This allows the RemoteObject tests to back onto local disk or memory,
301
 
      and use the existing ``transport_server`` attribute all tests know about
302
 
      to be the smart server transport. This in turn allows tests to 
303
 
      differentiate between 'transport to access the branch', and 
304
 
      'transport which is a VFS' - which matters in Remote* tests.
305
 
      (Robert Collins, Andrew Bennetts)
306
 
 
307
 
    * The ``make_branch_and_tree`` method for tests will now create a 
308
 
      lightweight checkout for the tree if the ``vfs_transport_factory`` is not
309
 
      a LocalURLServer. (Robert Collins, Andrew Bennetts)
310
 
 
311
 
    * Branch implementation tests have been audited to ensure that all urls 
312
 
      passed to Branch APIs use proper urls, except when local-disk paths
313
 
      are intended. This is so that tests correctly access the test transport
314
 
      which is often not equivalent to local disk in Remote* tests. As part
315
 
      of this many tests were adjusted to remove dependencies on local disk
316
 
      access.
317
 
      (Robert Collins, Andrew Bennetts)
318
 
 
319
 
    * Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
320
 
      functions by adding a ``__unittest`` global attribute. (Robert Collins,
321
 
      Andrew Bennetts, Martin Pool, Jonathan Lange)
322
 
 
323
 
    * Refactored proxy and authentication handling to simplify the
324
 
      implementation of new auth schemes for both http and proxy. 
325
 
      (Vincent Ladeuil)
326
 
 
327
 
bzr 0.15 2007-04-01
328
 
 
329
 
  BUGFIXES:
330
 
 
331
 
    * Handle incompatible repositories as a user issue when fetching.
332
 
      (Aaron Bentley)
333
 
 
334
 
    * Don't give a recommendation to upgrade when branching or 
335
 
      checking out a branch that contains an old-format working tree.
336
 
      (Martin Pool)
337
 
 
338
 
bzr 0.15rc3  2007-03-26
339
 
 
340
 
  CHANGES:
341
 
 
342
 
    * A warning is now displayed when opening working trees in older 
343
 
      formats, to encourage people to upgrade to WorkingTreeFormat4.
344
 
      (Martin Pool)
345
 
 
346
 
  IMPROVEMENTS:
347
 
 
348
 
    * HTTP redirections are now taken into account when a branch (or a
349
 
      bundle) is accessed for the first time. A message is issued at each
350
 
      redirection to inform the user. In the past, http redirections were
351
 
      silently followed for each request which significantly degraded the
352
 
      performances. The http redirections are not followed anymore by
353
 
      default, instead a RedirectRequested exception is raised. For bzrlib
354
 
      users needing to follow http redirections anyway,
355
 
      ``bzrlib.transport.do_catching_redirections`` provide an easy transition
356
 
      path.  (vila)
357
 
 
358
 
  INTERNALS:
359
 
 
360
 
    * Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
361
 
      lock to an OS write lock. Linux can do this without unlocking, Win32
362
 
      needs to unlock in between. (John Arbash Meinel)
363
 
 
364
 
    * New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
365
 
      to silence (when false) warnings about opening old formats.
366
 
      (Martin Pool)
367
 
 
368
 
    * Fix minor performance regression with bzr-0.15 on pre-dirstate
369
 
      trees. (We were reading the working inventory too many times).
370
 
      (John Arbash Meinel)
371
 
 
372
 
    * Remove ``Branch.get_transaction()`` in favour of a simple cache of
373
 
      ``revision_history``.  Branch subclasses should override
374
 
      ``_gen_revision_history`` rather than ``revision_history`` to make use of
375
 
      this cache, and call ``_clear_revision_history_cache`` and
376
 
      ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
377
 
 
378
 
  BUGFIXES:
379
 
 
380
 
    * Take ``smtp_server`` from user config into account.
381
 
      (vila, #92195)
382
 
 
383
 
    * Restore Unicode filename handling for versioned and unversioned files.
384
 
      (John Arbash Meinel, #92608)
385
 
 
386
 
    * Don't fail during ``bzr commit`` if a file is marked removed, and
387
 
      the containing directory is auto-removed.  (John Arbash Meinel, #93681)
388
 
 
389
 
    * ``bzr status FILENAME`` failed on Windows because of an uncommon
390
 
      errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
391
 
      (Wouter van Heyst, John Arbash Meinel, #90819)
392
 
 
393
 
    * ``bzr checkout source`` should create a local branch in the same
394
 
      format as source. (John Arbash Meinel, #93854)
395
 
 
396
 
    * ``bzr commit`` with a kind change was failing to update the
397
 
      last-changed-revision for directories.  The
398
 
      InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
399
 
      ignoring the fact that the kind could have changed, too.
400
 
      (John Arbash Meinel, #90111)
401
 
 
402
 
    * ``bzr mv dir/subdir other`` was incorrectly updating files inside
403
 
      the directory. So that there was a chance it would break commit,
404
 
      etc. (John Arbash Meinel, #94037)
405
 
 
406
 
    * Correctly handles mutiple permanent http redirections.
407
 
      (vila, #88780)
408
 
 
409
 
bzr 0.15rc2  2007-03-14
410
 
 
411
 
  NOTES WHEN UPGRADING:
412
 
        
413
 
    * Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
414
 
      default to ``--trees`` instead of ``--no-trees``.
415
 
      Existing shared repositories are not affected.
416
 
 
417
 
  IMPROVEMENTS:
418
 
 
419
 
    * New ``merge-directive`` command to generate machine- and human-readable
420
 
      merge requests.  (Aaron Bentley)
421
 
 
422
 
    * New ``submit:`` revision specifier makes it easy to diff against the
423
 
      common ancestor with the submit location (Aaron Bentley)
424
 
 
425
 
    * Added support for Putty's SSH implementation. (Dmitry Vasiliev)
426
 
 
427
 
    * Added ``bzr status --versioned`` to report only versioned files, 
428
 
      not unknowns. (Kent Gibson)
429
 
 
430
 
    * Merge now autodetects the correct line-ending style for its conflict
431
 
      markers.  (Aaron Bentley)
432
 
 
433
 
  INTERNALS:
434
 
 
435
 
    * Refactored SSH vendor registration into SSHVendorManager class.
436
 
      (Dmitry Vasiliev)
437
 
 
438
 
  BUGFIXES:
439
 
 
440
 
    * New ``--numbered-dirs`` option to ``bzr selftest`` to use
441
 
      numbered dirs for TestCaseInTempDir. This is default behavior
442
 
      on Windows. Anyone can force named dirs on Windows
443
 
      with ``--no-numbered-dirs``. (Alexander Belchenko)
444
 
 
445
 
    * Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
446
 
      from the command line. (Marien Zwart, #90501)
447
 
 
448
 
    * Fix ``TreeTransform._iter_changes`` when both the source and
449
 
      destination are missing. (Aaron Bentley, #88842)
450
 
 
451
 
    * Fix commit of merges with symlinks in dirstate trees.
452
 
      (Marien Zwart)
453
 
    
454
 
    * Switch the ``bzr init-repo`` default from --no-trees to --trees. 
455
 
      (Wouter van Heyst, #53483)
456
 
 
457
 
 
458
 
bzr 0.15rc1  2007-03-07
459
 
 
460
 
  SURPRISES:
461
 
 
462
 
    * The default disk format has changed. Please run 'bzr upgrade' in your
463
 
      working trees to upgrade. This new default is compatible for network
464
 
      operations, but not for local operations. That is, if you have two
465
 
      versions of bzr installed locally, after upgrading you can only use the
466
 
      bzr 0.15 version. This new default does not enable tags or nested-trees
467
 
      as they are incompatible with bzr versions before 0.15 over the network.
468
 
 
469
 
    * For users of bzrlib: Two major changes have been made to the working tree
470
 
      api in bzrlib. The first is that many methods and attributes, including
471
 
      the inventory attribute, are no longer valid for use until one of
472
 
      ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
473
 
      and become invalid again after unlock is called. This has been done
474
 
      to improve performance and correctness as part of the dirstate
475
 
      development.
476
 
      (Robert Collins, John A Meinel, Martin Pool, and others).
477
 
 
478
 
    * For users of bzrlib: The attribute 'tree.inventory' should be considered
479
 
      readonly. Previously it was possible to directly alter this attribute, or
480
 
      its contents, and have the tree notice this. This has been made
481
 
      unsupported - it may work in some tree formats, but in the newer dirstate
482
 
      format such actions will have no effect and will be ignored, or even
483
 
      cause assertions. All operations possible can still be carried out by a
484
 
      combination of the tree API, and the bzrlib.transform API. (Robert
485
 
      Collins, John A Meinel, Martin Pool, and others).
486
 
 
487
 
  IMPROVEMENTS:
488
 
 
489
 
    * Support for OS Windows 98. Also .bzr.log on any windows system
490
 
      saved in My Documents folder. (Alexander Belchenko)
491
 
 
492
 
    * ``bzr mv`` enhanced to support already moved files.
493
 
      In the past the mv command would have failed if the source file doesn't
494
 
      exist. In this situation ``bzr mv`` would now detect that the file has
495
 
      already moved and update the repository accordingly, if the target file
496
 
      does exist.
497
 
      A new option ``--after`` has been added so that if two files already
498
 
      exist, you could notify Bazaar that you have moved a (versioned) file
499
 
      and replaced it with another. Thus in this case ``bzr move --after``
500
 
      will only update the Bazaar identifier.
501
 
      (Steffen Eichenberg, Marius Kruger)
502
 
 
503
 
    * ``ls`` now works on treeless branches and remote branches.
504
 
      (Aaron Bentley)
505
 
 
506
 
    * ``bzr help global-options`` describes the global options.
507
 
      (Aaron Bentley)
508
 
 
509
 
    * ``bzr pull --overwrite`` will now correctly overwrite checkouts.
510
 
      (Robert Collins)
511
 
 
512
 
    * Files are now allowed to change kind (e.g. from file to symlink).
513
 
      Supported by ``commit``, ``revert`` and ``status``
514
 
      (Aaron Bentley)
515
 
 
516
 
    * ``inventory`` and ``unknowns`` hidden in favour of ``ls``
517
 
      (Aaron Bentley)
518
 
 
519
 
    * ``bzr help checkouts`` descibes what checkouts are and some possible
520
 
      uses of them. (James Westby, Aaron Bentley)
521
 
 
522
 
    * A new ``-d`` option to push, pull and merge overrides the default 
523
 
      directory.  (Martin Pool)
524
 
 
525
 
    * Branch format 6: smaller, and potentially faster than format 5.  Supports
526
 
      ``append_history_only`` mode, where the log view and revnos do not change,
527
 
      except by being added to.  Stores policy settings in
528
 
      ".bzr/branch/branch.conf".
529
 
 
530
 
    * ``append_only`` branches:  Format 6 branches may be configured so that log
531
 
      view and revnos are always consistent.  Either create the branch using
532
 
      "bzr init --append-revisions-only" or edit the config file as descriped
533
 
      in docs/configuration.txt.
534
 
 
535
 
    * rebind: Format 6 branches retain the last-used bind location, so if you
536
 
      "bzr unbind", you can "bzr bind" to bind to the previously-selected
537
 
      bind location.
538
 
 
539
 
    * Builtin tags support, created and deleted by the ``tag`` command and
540
 
      stored in the branch.  Tags can be accessed with the revisionspec
541
 
      ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned 
542
 
      at present. Tags require a network incompatible upgrade. To perform this
543
 
      upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
544
 
      repositories. (Martin Pool)
545
 
 
546
 
    * The ``bzr://`` transport now has a well-known port number, 4155,
547
 
      which it will use by default.  (Andrew Bennetts, Martin Pool)
548
 
 
549
 
    * Bazaar now looks for user-installed plugins before looking for site-wide
550
 
      plugins. (Jonathan Lange)
551
 
 
552
 
    * ``bzr resolve`` now detects and marks resolved text conflicts.
553
 
      (Aaron Bentley)
554
 
 
555
 
  INTERNALS:
556
 
 
557
 
    * Internally revision ids and file ids are now passed around as utf-8
558
 
      bytestrings, rather than treating them as Unicode strings. This has
559
 
      performance benefits for Knits, since we no longer need to decode the
560
 
      revision id for each line of content, nor for each entry in the index.
561
 
      This will also help with the future dirstate format.
562
 
      (John Arbash Meinel)
563
 
 
564
 
    * Reserved ids (any revision-id ending in a colon) are rejected by
565
 
      versionedfiles, repositories, branches, and working trees
566
 
      (Aaron Bentley)
567
 
 
568
 
    * Minor performance improvement by not creating a ProgressBar for
569
 
      every KnitIndex we create. (about 90ms for a bzr.dev tree)
570
 
      (John Arbash Meinel)
571
 
 
572
 
    * New easier to use Branch hooks facility. There are five initial hooks,
573
 
      all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
574
 
      ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
575
 
      ``'post_uncommit'``. These hooks fire after the matching operation
576
 
      on a branch has taken place, and were originally added for the
577
 
      branchrss plugin. (Robert Collins)
578
 
 
579
 
    * New method ``Branch.push()`` which should be used when pushing from a
580
 
      branch as it makes performance and policy decisions to match the UI
581
 
      level command ``push``. (Robert Collins).
582
 
 
583
 
    * Add a new method ``Tree.revision_tree`` which allows access to cached
584
 
      trees for arbitrary revisions. This allows the in development dirstate
585
 
      tree format to provide access to the callers to cached copies of 
586
 
      inventory data which are cheaper to access than inventories from the
587
 
      repository.
588
 
      (Robert Collins, Martin Pool)
589
 
 
590
 
    * New ``Branch.last_revision_info`` method, this is being done to allow
591
 
      optimization of requests for both the number of revisions and the last
592
 
      revision of a branch with smartservers and potentially future branch
593
 
      formats. (Wouter van Heyst, Robert Collins)
594
 
 
595
 
    * Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
596
 
      yet been loaded by ``load_plugins()``. This allows plugins to depend on each
597
 
      other for code reuse without requiring users to perform file-renaming
598
 
      gymnastics. (Robert Collins)
599
 
 
600
 
    * New Repository method ``'gather_stats'`` for statistic data collection.
601
 
      This is expected to grow to cover a number of related uses mainly
602
 
      related to bzr info. (Robert Collins)
603
 
 
604
 
    * Log formatters are now managed with a registry.
605
 
      ``log.register_formatter`` continues to work, but callers accessing
606
 
      the FORMATTERS dictionary directly will not.
607
 
 
608
 
    * Allow a start message to be passed to the ``edit_commit_message``
609
 
      function.  This will be placed in the message offered to the user
610
 
      for editing above the separator. It allows a template commit message
611
 
      to be used more easily. (James Westby)
612
 
 
613
 
    * ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
614
 
      you pass a Unicode string rather than an 8-bit string. Callers need
615
 
      to be updated to encode first. (John Arbash Meinel)
616
 
 
617
 
    * Branch.push, pull, merge now return Result objects with information
618
 
      about what happened, rather than a scattering of various methods.  These
619
 
      are also passed to the post hooks.  (Martin Pool)
620
 
 
621
 
    * File formats and architecture is in place for managing a forest of trees
622
 
      in bzr, and splitting up existing trees into smaller subtrees, and
623
 
      finally joining trees to make a larger tree. This is the first iteration
624
 
      of this support, and the user-facing aspects still require substantial
625
 
      work.  If you wish to experiment with it, use ``bzr upgrade
626
 
      --dirstate-with-subtree`` in your working trees and repositories.
627
 
      You can use the hidden commands ``split`` and ``join`` and to create
628
 
      and manipulate nested trees, but please consider using the nested-trees
629
 
      branch, which contains substantial UI improvements, instead.
630
 
      http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
631
 
      (Aaron Bentley, Martin Pool, Robert Collins).
632
 
 
633
 
  BUGFIXES:
634
 
 
635
 
    * ``bzr annotate`` now uses dotted revnos from the viewpoint of the
636
 
      branch, rather than the last changed revision of the file.
637
 
      (John Arbash Meinel, #82158)
638
 
 
639
 
    * Lock operations no longer hang if they encounter a permission problem.
640
 
      (Aaron Bentley)
641
 
 
642
 
    * ``bzr push`` can resume a push that was canceled before it finished.
643
 
      Also, it can push even if the target directory exists if you supply
644
 
      the ``--use-existing-dir`` flag.
645
 
      (John Arbash Meinel, #30576, #45504)
646
 
 
647
 
    * Fix http proxy authentication when user and an optional
648
 
      password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
649
 
      #83954).
650
 
 
651
 
    * ``bzr log branch/file`` works for local treeless branches
652
 
      (Aaron Bentley, #84247)
653
 
 
654
 
    * Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
655
 
 
656
 
    * Searching location of CA bundle for PyCurl in env variable
657
 
      (``CURL_CA_BUNDLE``), and on win32 along the PATH.
658
 
      (Alexander Belchenko, #82086)
659
 
 
660
 
    * ``bzr init`` works with unicode argument LOCATION.
661
 
      (Alexander Belchenko, #85599)
662
 
 
663
 
    * Raise ``DependencyNotPresent`` if pycurl do not support https. 
664
 
      (Vincent Ladeuil, #85305)
665
 
 
666
 
    * Invalid proxy env variables should not cause a traceback.
667
 
      (Vincent Ladeuil, #87765)
668
 
 
669
 
    * Ignore patterns normalised to use '/' path separator.
670
 
      (Kent Gibson, #86451)
671
 
 
672
 
    * bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
673
 
 
674
 
    * Fix bzrtools shelve command for removed lines beginning with "--"
675
 
      (Johan Dahlberg, #75577)
676
 
 
677
 
  TESTING:
678
 
 
679
 
    * New ``--first`` option to ``bzr selftest`` to run specified tests
680
 
      before the rest of the suite.  (Martin Pool)
681
 
 
682
 
 
683
 
bzr 0.14  2007-01-23
684
 
 
685
 
  IMPROVEMENTS:
686
 
 
687
 
    * ``bzr help global-options`` describes the global options. (Aaron Bentley)
688
 
 
689
 
  BUG FIXES:
690
 
    
691
 
    * Skip documentation generation tests if the tools to do so are not
692
 
      available. Fixes running selftest for installled copies of bzr. 
693
 
      (John Arbash Meinel, #80330)
694
 
 
695
 
    * Fix the code that discovers whether bzr is being run from it's
696
 
      working tree to handle the case when it isn't but the directory
697
 
      it is in is below a repository. (James Westby, #77306)
698
 
 
699
 
 
700
 
bzr 0.14rc1  2007-01-16
701
 
 
702
 
  IMPROVEMENTS:
703
 
 
704
 
    * New connection: ``bzr+http://`` which supports tunnelling the smart
705
 
      protocol over an HTTP connection. If writing is enabled on the bzr
706
 
      server, then you can write over the http connection.
707
 
      (Andrew Bennetts, John Arbash Meinel)
708
 
 
709
 
    * Aliases now support quotation marks, so they can contain whitespace
710
 
      (Marius Kruger)
711
 
 
712
 
    * PyCurlTransport now use a single curl object. By specifying explicitly
713
 
      the 'Range' header, we avoid the need to use two different curl objects
714
 
      (and two connections to the same server). (Vincent Ladeuil)
715
 
 
716
 
    * ``bzr commit`` does not prompt for a message until it is very likely to
717
 
      succeed.  (Aaron Bentley)
718
 
 
719
 
    * ``bzr conflicts`` now takes --text to list pathnames of text conflicts
720
 
      (Aaron Bentley)
721
 
 
722
 
    * Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
723
 
      of a list while checking if a revision id was requested. Takes 10s
724
 
      off of the ``fileids_affected_by_revision_ids`` time, which is 10s
725
 
      of the ``bzr branch`` time. Also improve ``fileids_...`` time by
726
 
      filtering lines with a regex rather than multiple ``str.find()``
727
 
      calls. (saves another 300ms) (John Arbash Meinel)
728
 
 
729
 
    * Policy can be set for each configuration key. This allows keys to be
730
 
      inherited properly across configuration entries. For example, this
731
 
      should enable you to do::
732
 
        
733
 
        [/home/user/project]
734
 
        push_location = sftp://host/srv/project/
735
 
        push_location:policy = appendpath
736
 
 
737
 
      And then a branch like ``/home/user/project/mybranch`` should get an
738
 
      automatic push location of ``sftp://host/srv/project/mybranch``.
739
 
      (James Henstridge)
740
 
 
741
 
    * Added ``bzr status --short`` to make status report svn style flags
742
 
      for each file.  For example::
743
 
 
744
 
        $ bzr status --short
745
 
        A  foo
746
 
        A  bar
747
 
        D  baz
748
 
        ?  wooley
749
 
 
750
 
    * 'bzr selftest --clean-output' allows easily clean temporary tests 
751
 
      directories without running tests. (Alexander Belchenko)
752
 
 
753
 
    * ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
754
 
 
755
 
    * ``bzr merge`` now has an option ``--pull`` to fall back to pull if
756
 
      local is fully merged into remote. (Jan Hudec)
757
 
 
758
 
    * ``bzr help formats`` describes available directory formats. (Aaron Bentley)
759
 
 
760
 
  INTERNALS:
761
 
 
762
 
    * A few tweaks directly to ``fileids_affected_by_revision_ids`` to
763
 
      help speed up processing, as well allowing to extract unannotated
764
 
      lines. Between the two ``fileids_affected_by_revision_ids`` is
765
 
      improved by approx 10%. (John Arbash Meinel)
766
 
 
767
 
    * Change Revision serialization to only write out millisecond
768
 
      resolution. Rather than expecting floating point serialization to
769
 
      preserve more resolution than we need. (Henri Weichers, Martin Pool)
770
 
 
771
 
    * Test suite ends cleanly on Windows.  (Vincent Ladeuil)
772
 
 
773
 
    * When ``encoding_type`` attribute of class Command is equal to 'exact', 
774
 
      force sys.stdout to be a binary stream on Windows, and therefore
775
 
      keep exact line-endings (without LF -> CRLF conversion).
776
 
      (Alexander Belchenko)
777
 
 
778
 
    * Single-letter short options are no longer globally declared.  (Martin
779
 
      Pool)
780
 
 
781
 
    * Before using detected user/terminal encoding bzr should check
782
 
      that Python has corresponding codec. (Alexander Belchenko)
783
 
 
784
 
    * Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
785
 
 
786
 
  BUG FIXES:
787
 
 
788
 
    * ``bzr missing --verbose`` was showing adds/removals in the wrong
789
 
      direction. (John Arbash Meinel)
790
 
 
791
 
    * ``bzr annotate`` now defaults to showing dotted revnos for merged
792
 
      revisions. It cuts them off at a depth of 12 characters, but you can
793
 
      supply ``--long`` to see the full number. You can also use
794
 
      ``--show-ids`` to display the original revision ids, rather than
795
 
      revision numbers and committer names. (John Arbash Meinel, #75637)
796
 
 
797
 
    * bzr now supports Win32 UNC path (e.g. ``\HOST\path``. 
798
 
      (Alexander Belchenko, #57869)
799
 
 
800
 
    * Win32-specific: output of cat, bundle and diff commands don't mangle
801
 
      line-endings (Alexander Belchenko, #55276)
802
 
 
803
 
    * Replace broken fnmatch based ignore pattern matching with custom pattern
804
 
      matcher.
805
 
      (Kent Gibson, Jan Hudec #57637)
806
 
 
807
 
    * pycurl and urllib can detect short reads at different places. Update
808
 
      the test suite to test more cases. Also detect http error code 416
809
 
      which was raised for that specific bug. Also enhance the urllib
810
 
      robustness by detecting invalid ranges (and pycurl's one by detecting
811
 
      short reads during the initial GET). (Vincent Ladeuil, #73948)
812
 
 
813
 
    * The urllib connection sharing interacts badly with urllib2
814
 
      proxy setting (the connections didn't go thru the proxy
815
 
      anymore). Defining a proper ProxyHandler solves the
816
 
      problem.  (Vincent Ladeuil, #74759)
817
 
 
818
 
    * Use urlutils to generate relative URLs, not osutils 
819
 
      (Aaron Bentley, #76229)
820
 
 
821
 
    * ``bzr status`` in a readonly directory should work without giving
822
 
      lots of errors. (John Arbash Meinel, #76299)
823
 
 
824
 
    * Mention the revisionspec topic for the revision option help.
825
 
      (Wouter van Heyst, #31663)
826
 
 
827
 
    * Allow plugins import from zip archives.
828
 
      (Alexander Belchenko, #68124)
829
 
 
830
 
 
831
 
bzr 0.13  2006-12-05
832
 
    
833
 
  No changes from 0.13rc1
834
 
    
835
 
bzr 0.13rc1  2006-11-27
836
 
 
837
 
  IMPROVEMENTS:
838
 
 
839
 
    * New command ``bzr remove-tree`` allows the removal of the working
840
 
      tree from a branch.
841
 
      (Daniel Silverstone)
842
 
 
843
 
    * urllib uses shared keep-alive connections, so http 
844
 
      operations are substantially faster.
845
 
      (Vincent Ladeuil, #53654)
846
 
 
847
 
    * ``bzr export`` allows an optional branch parameter, to export a bzr
848
 
      tree from some other url. For example:
849
 
      ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
850
 
      (Daniel Silverstone)
851
 
 
852
 
    * Added ``bzr help topics`` to the bzr help system. This gives a
853
 
      location for general information, outside of a specific command.
854
 
      This includes updates for ``bzr help revisionspec`` the first topic
855
 
      included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
856
 
 
857
 
    * WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
858
 
      (Andrew Bennetts)
859
 
 
860
 
    * Knit files will now cache full texts only when the size of the
861
 
      deltas is as large as the size of the fulltext. (Or after 200
862
 
      deltas, whichever comes first). This has the most benefit on large
863
 
      files with small changes, such as the inventory for a large project.
864
 
      (eg For a project with 2500 files, and 7500 revisions, it changes
865
 
      the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
866
 
 
867
 
  INTERNALS:
868
 
 
869
 
    * New -D option given before the command line turns on debugging output
870
 
      for particular areas.  -Derror shows tracebacks on all errors.
871
 
      (Martin Pool)
872
 
 
873
 
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
874
 
      and remove benchmarks that take longer than 10min to run.
875
 
      (John Arbash Meinel)
876
 
 
877
 
    * Use ``time.time()`` instead of ``time.clock()`` to decide on
878
 
      progress throttling. Because ``time.clock()`` is actually CPU time,
879
 
      so over a high-latency connection, too many updates get throttled.
880
 
      (John Arbash Meinel)
881
 
 
882
 
    * ``MemoryTransport.list_dir()`` would strip the first character for
883
 
      files or directories in root directory. (John Arbash Meinel)
884
 
 
885
 
    * New method ``get_branch_reference`` on 'BzrDir' allows the detection of 
886
 
      branch references - which the smart server component needs.
887
 
  
888
 
    * New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
889
 
      prefix.  It disallows any access to locations above a set URL.  (Andrew
890
 
      Bennetts)
891
 
 
892
 
  BUG FIXES:
893
 
 
894
 
    * Now ``_KnitIndex`` properly decode revision ids when loading index data.
895
 
      And optimize the knit index parsing code. 
896
 
      (Dmitry Vasiliev, John Arbash Meinel)
897
 
 
898
 
    * ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
899
 
      without importing it. This prevented ``bzr upgrade`` from working
900
 
      unless a plugin already imported ``bzrlib.workingtree``
901
 
      (John Arbash Meinel, #70716)
902
 
 
903
 
    * Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
904
 
 
905
 
    * Give nicer error message when an http server returns a 403
906
 
      error code. (Vincent Ladeuil, #57644).
907
 
 
908
 
    * When a multi-range http GET request fails, try a single
909
 
      range one. If it fails too, forget about ranges. Remember that until 
910
 
      the death of the transport and propagates that to the clones.
911
 
      (Vincent Ladeuil, #62276, #62029).
912
 
 
913
 
    * Handles user/passwords supplied in url from command
914
 
      line (for the urllib implementation). Don't request already
915
 
      known passwords (Vincent Ladeuil, #42383, #44647, #48527)
916
 
 
917
 
    * ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
918
 
      are added. This fixes bug where fetching remote revisions records
919
 
      them as full references rather than integers.
920
 
      (John Arbash Meinel, #64789)
921
 
 
922
 
    * ``bzr ignore`` strips trailing slashes in patterns.
923
 
      Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
924
 
 
925
 
    * ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
926
 
 
927
 
    * mv correctly handles paths that traverse symlinks. 
928
 
      (Aaron Bentley, #66964)
929
 
 
930
 
    * Give nicer looking error messages when failing to connect over ssh.
931
 
      (John Arbash Meinel, #49172)
932
 
 
933
 
    * Pushing to a remote branch does not currently update the remote working
934
 
      tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
935
 
      machine now show that the working tree is out of date.
936
 
      (Cheuksan Edward Wang #48136)
937
 
 
938
 
    * Use patiencediff instead of difflib for determining deltas to insert
939
 
      into knits. This avoids the O(N^3) behavior of difflib. Patience
940
 
      diff should be O(N^2). (Cheuksan Edward Wang, #65714)
941
 
 
942
 
    * Running ``bzr log`` on nonexistent file gives an error instead of the
943
 
      entire log history. (Cheuksan Edward Wang #50793)
944
 
 
945
 
    * ``bzr cat`` can look up contents of removed or renamed files. If the
946
 
      pathname is ambiguous, i.e. the files in the old and new trees have
947
 
      different id's, the default is the file in the new tree. The user can
948
 
      use "--name-from-revision" to select the file in the old tree.
949
 
      (Cheuksan Edward Wang, #30190)
950
 
 
951
 
  TESTING:
952
 
 
953
 
    * TestingHTTPRequestHandler really handles the Range header
954
 
      (previously it was ignoring it and returning the whole file,).
955
 
 
956
 
bzr 0.12  2006-10-30
957
 
 
958
 
  INTERNALS:
959
 
 
960
 
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
961
 
      and remove benchmarks that take longer than 10min to run.
962
 
      (John Arbash Meinel)
963
 
  
964
 
bzr 0.12rc1  2006-10-23
965
 
 
966
 
  IMPROVEMENTS:
967
 
 
968
 
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
969
 
      rather than just showing a decimal revision number for revisions on the
970
 
      mainline. These revision numbers are not yet accepted as input into bzr
971
 
      commands such as log, diff etc. (Robert Collins)
972
 
 
973
 
    * revisions can now be specified using dotted-decimal revision numbers.
974
 
      For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
975
 
 
976
 
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
977
 
 
978
 
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
979
 
      a moderate effect on lots of actions, especially ones that have
980
 
      little to do. For example ``bzr rocks`` time is down to 116ms from
981
 
      283ms. (John Arbash Meinel)
982
 
 
983
 
    * New Registry class to provide name-to-object registry-like support,
984
 
      for example for schemes where plugins can register new classes to
985
 
      do certain tasks (e.g. log formatters). Also provides lazy registration
986
 
      to allow modules to be loaded on request.
987
 
      (John Arbash Meinel, Adeodato Simó)
988
 
 
989
 
  API INCOMPATABILITY:
990
 
  
991
 
    * LogFormatter subclasses show now expect the 'revno' parameter to 
992
 
      show() to be a string rather than an int. (Robert Collins)
993
 
 
994
 
  INTERNALS:
995
 
 
996
 
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
997
 
      can take a ``working_dir='foo'`` parameter, which will change directory 
998
 
      for the command. (John Arbash Meinel)
999
 
 
1000
 
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
1001
 
      around a regex, which defers compilation until first use. 
1002
 
      (John Arbash Meinel)
1003
 
 
1004
 
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
1005
 
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
1006
 
      problems with system-wide installed plugins. (John Arbash Meinel)
1007
 
 
1008
 
    * Unique tree root ids are now supported. Newly created trees still
1009
 
      use the common root id for compatibility with bzr versions before 0.12.
1010
 
      (Aaron Bentley)
1011
 
 
1012
 
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
1013
 
      pass in ``inventory.ROOT_ID`` if you want the default root id value.
1014
 
      (Robert Collins, John Arbash Meinel)
1015
 
 
1016
 
    * New method ``WorkingTree.flush()`` which will write the current memory
1017
 
      inventory out to disk. At the same time, ``read_working_inventory`` will
1018
 
      no longer trash the current tree inventory if it has been modified within
1019
 
      the current lock, and the tree will now ``flush()`` automatically on
1020
 
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
1021
 
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
1022
 
 
1023
 
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
1024
 
      parameter will cause it to add another column to its output, which
1025
 
      contains the dotted-decimal revno for each revision, as a tuple.
1026
 
      (Robert Collins)
1027
 
 
1028
 
    * ``LogFormatter.show_merge`` is deprecated in favour of
1029
 
      ``LogFormatter.show_merge_revno``. (Robert Collins)
1030
 
 
1031
 
  BUG FIXES:
1032
 
 
1033
 
    * Avoid circular imports by creating a deprecated function for
1034
 
      ``bzrlib.tree.RevisionTree``. Callers should have been using
1035
 
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
1036
 
      #63360, #66349)
1037
 
 
1038
 
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
1039
 
      platforms. (Martin Pool, #66356)
1040
 
 
1041
 
    * Don't require ``Content-Type`` in range responses. Assume they are a
1042
 
      single range if ``Content-Type`` does not exist.
1043
 
      (John Arbash Meinel, #62473)
1044
 
 
1045
 
    * bzr branch/pull no longer complain about progress bar cleanup when
1046
 
      interrupted during fetch.  (Aaron Bentley, #54000)
1047
 
 
1048
 
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
1049
 
      the basis inventory, rather than going through the repository. This
1050
 
      allows us to have 1 inventory read, and 2 inventory writes when
1051
 
      committing a new tree. (John Arbash Meinel)
1052
 
 
1053
 
    * When reverting, files that are not locally modified that do not exist
1054
 
      in the target are deleted, not just unversioned (Aaron Bentley)
1055
 
 
1056
 
    * When trying to acquire a lock, don't fail immediately. Instead, try
1057
 
      a few times (up to 1 hour) before timing out. Also, report why the
1058
 
      lock is unavailable (John Arbash Meinel, #43521, #49556)
1059
 
 
1060
 
    * Leave HttpTransportBase daughter classes decides how they
1061
 
      implement cloning. (Vincent Ladeuil, #61606)
1062
 
 
1063
 
    * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
1064
 
 
1065
 
    * If a commit fails, the commit message is stored in a file at the root of
1066
 
      the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
1067
 
      #32054)
1068
 
 
1069
 
  TESTING:
1070
 
 
1071
 
    * New test base class TestCaseWithMemoryTransport offers memory-only
1072
 
      testing facilities: its not suitable for tests that need to mutate disk
1073
 
      state, but most tests should not need that and should be converted to
1074
 
      TestCaseWithMemoryTransport. (Robert Collins)
1075
 
 
1076
 
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
1077
 
      option to set the BzrDir, Repository and Branch formats of the
1078
 
      created objects. (Robert Collins, John Arbash Meinel)
1079
 
 
1080
 
bzr 0.11  2006-10-02
1081
 
 
1082
 
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
1083
 
 
1084
 
bzr 0.11rc2  2006-09-27
1085
 
 
1086
 
  BUG FIXES:
1087
 
 
1088
 
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
1089
 
    
1090
 
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
1091
 
      Arbash Meinel).
1092
 
 
1093
 
bzr 0.11rc1  2006-09-25
1094
 
 
1095
 
  IMPROVEMENTS:
1096
 
 
1097
 
    * Knit files now wait to create their contents until the first data is
1098
 
      added. The old code used to create an empty .knit and a .kndx with just
1099
 
      the header. However, this caused a lot of extra round trips over sftp.
1100
 
      This can change the time for ``bzr push`` to create a new remote branch
1101
 
      from 160s down to 100s. This also affects ``bzr commit`` performance when
1102
 
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
1103
 
      down to 40s (John Arbash Meinel, #44692)
1104
 
 
1105
 
    * When an entire subtree has been deleted, commit will now report that
1106
 
      just the top of the subtree has been deleted, rather than reporting
1107
 
      all the individual items. (Robert Collins)
1108
 
 
1109
 
    * Commit performs one less XML parse. (Robert Collins)
1110
 
 
1111
 
    * ``bzr checkout`` now operates on readonly branches as well
1112
 
      as readwrite branches. This fixes bug #39542. (Robert Collins)
1113
 
 
1114
 
    * ``bzr bind`` no longer synchronises history with the master branch.
1115
 
      Binding should be followed by an update or push to synchronise the 
1116
 
      two branches. This is closely related to the fix for bug #39542.
1117
 
      (Robert Collins)
1118
 
 
1119
 
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
1120
 
      objects.  This allows all imports to stay at the global scope, but
1121
 
      modules will not actually be imported if they are not used.
1122
 
      (John Arbash Meinel)
1123
 
 
1124
 
    * Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
1125
 
      transport which will be used with the upcoming high-performance smart
1126
 
      server. The new command ``bzr serve`` will invoke bzr in server mode,
1127
 
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
1128
 
      Pool)
1129
 
 
1130
 
    * New command ``bzr version-info`` which can be used to get a summary
1131
 
      of the current state of the tree. This is especially useful as part
1132
 
      of a build commands. See ``doc/version_info.txt`` for more information 
1133
 
      (John Arbash Meinel)
1134
 
 
1135
 
  BUG FIXES:
1136
 
 
1137
 
    * ``'bzr inventory [FILE...]'`` allows restricting the file list to a
1138
 
      specific set of files. (John Arbash Meinel, #3631)
1139
 
 
1140
 
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
1141
 
 
1142
 
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
1143
 
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
1144
 
      reading a nested Stanza. (John Arbash Meinel)
1145
 
 
1146
 
    * Transform._set_mode() needs to stat the right file. 
1147
 
      (John Arbash Meinel, #56549)
1148
 
 
1149
 
    * Raise WeaveFormatError rather than StopIteration when trying to read
1150
 
      an empty Weave file. (John Arbash Meinel, #46871)
1151
 
 
1152
 
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
1153
 
      (Vincent Ladeuil, #59835)
1154
 
 
1155
 
    * Handle boundary="" lines properly to allow access through a Squid proxy.
1156
 
      (John Arbash Meinel, #57723)
1157
 
 
1158
 
    * revert now removes newly-added directories (Aaron Bentley, #54172)
1159
 
 
1160
 
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
1161
 
      isn't a working tree. (David Allouche, #40679)
1162
 
 
1163
 
    * Give nicer error messages when a user supplies an invalid --revision
1164
 
      parameter. (John Arbash Meinel, #55420)
1165
 
 
1166
 
    * Handle when LANG is not recognized by python. Emit a warning, but
1167
 
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
1168
 
 
1169
 
    * Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
1170
 
      (John Arbash Meinel)
1171
 
 
1172
 
    * Skip specific tests when the dependencies aren't met. This includes
1173
 
      some ``setup.py`` tests when ``python-dev`` is not available, and
1174
 
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
1175
 
 
1176
 
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
1177
 
      the system. (Andrew Bennetts, John Arbash Meinel)
1178
 
 
1179
 
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
1180
 
      other branch, and will not push or pull between the two branches.
1181
 
      API users will need to perform a push or pull or update operation if they
1182
 
      require branch synchronisation to take place. (Robert Collins, #47344)
1183
 
 
1184
 
    * When creating a tarball or zipfile export, export unicode names as utf-8
1185
 
      paths. This may not work perfectly on all platforms, but has the best
1186
 
      chance of working in the common case. (John Arbash Meinel, #56816)
1187
 
 
1188
 
    * When committing, only files that exist in working tree or basis tree
1189
 
      may be specified (Aaron Bentley, #50793)
1190
 
 
1191
 
  PORTABILITY:
1192
 
 
1193
 
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
1194
 
 
1195
 
  INTERNALS:
1196
 
 
1197
 
    * TestCaseInTempDir now creates a separate directory for HOME, rather
1198
 
      than having HOME set to the same location as the working directory.
1199
 
      (John Arbash Meinel)
1200
 
 
1201
 
    * ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
1202
 
      which will update os.environ inside the spawned child. It also can
1203
 
      take a ``universal_newlines=True``, which helps when checking the output
1204
 
      of the command. (John Arbash Meinel)
1205
 
 
1206
 
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
1207
 
      (Andrew Bennetts)
1208
 
 
1209
 
    * ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
1210
 
      return urlescaped paths. This is now tested (there were bugs in a few
1211
 
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
1212
 
 
1213
 
    * New utility function ``symbol_versioning.deprecation_string``. Returns the
1214
 
      formatted string for a callable, deprecation format pair. (Robert Collins)
1215
 
 
1216
 
    * New TestCase helper applyDeprecated. This allows you to call a callable
1217
 
      which is deprecated without it spewing to the screen, just by supplying
1218
 
      the deprecation format string issued for it. (Robert Collins)
1219
 
 
1220
 
    * Transport.append and Transport.put have been deprecated in favor of
1221
 
      ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
1222
 
      ``.put_file``. This removes the ambiguity in what type of object the
1223
 
      functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
1224
 
      been added. Which works similarly to ``Transport.append()`` except for
1225
 
      SFTP, it doesn't have a round trip when opening the file. Also, it
1226
 
      provides functionality for creating a parent directory when trying
1227
 
      to create a file, rather than raise NoSuchFile and forcing the
1228
 
      caller to repeat their request.
1229
 
      (John Arbash Meinel)
1230
 
 
1231
 
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
1232
 
      entries by their file id. (Robert Collins)
1233
 
 
1234
 
    * ``WorkingTree.pending_merges`` is deprecated.  Please use the
1235
 
      ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
1236
 
 
1237
 
    * WorkingTree has a new ``lock_tree_write`` method which locks the branch for
1238
 
      read rather than write. This is appropriate for actions which only need
1239
 
      the branch data for reference rather than mutation. A new decorator
1240
 
      ``needs_tree_write_lock`` is provided in the workingtree module. Like the
1241
 
      ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static 
1242
 
      declaration of the locking requirements of a function to ensure that
1243
 
      a lock is taken out for casual scripts. (Robert Collins, #54107)
1244
 
 
1245
 
    * All WorkingTree methods which write to the tree, but not to the branch
1246
 
      have been converted to use ``needs_tree_write_lock`` rather than 
1247
 
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
1248
 
      transform modules. This provides a modest performance improvement on 
1249
 
      metadir style trees, due to the reduce lock-acquisition, and a more
1250
 
      significant performance improvement on lightweight checkouts from 
1251
 
      remote branches, where trivial operations used to pay a significant 
1252
 
      penalty. It also provides the basis for allowing readonly checkouts.
1253
 
      (Robert Collins)
1254
 
 
1255
 
    * Special case importing the standard library 'copy' module. This shaves
1256
 
      off 40ms of startup time, while retaining compatibility. See:
1257
 
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
1258
 
 
1259
 
    * WorkingTree has a new parent class MutableTree which represents the 
1260
 
      specialisations of Tree which are able to be altered. (Robert Collins)
1261
 
 
1262
 
    * New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
1263
 
      mutate the tree and its contents. (Robert Collins)
1264
 
 
1265
 
    * Transport behaviour at the root of the URL is now defined and tested.
1266
 
      (Andrew Bennetts, Robert Collins)
1267
 
 
1268
 
  TESTING:
1269
 
 
1270
 
    * New test helper classs MemoryTree. This is typically accessed via
1271
 
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
1272
 
      
1273
 
    * Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
1274
 
      code to continue running concurrently with a subprocess of bzr.
1275
 
      (Andrew Bennetts, Robert Collins)
1276
 
 
1277
 
    * Add a new method ``Transport.get_smart_client()``. This is provided to
1278
 
      allow upgrades to a richer interface than the VFS one provided by
1279
 
      Transport. (Andrew Bennetts, Martin Pool)
1280
 
 
1281
 
bzr 0.10  2006-08-29
1282
 
  
1283
 
  IMPROVEMENTS:
1284
 
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
1285
 
      tree.  (Aaron Bentley)
1286
 
  
1287
 
    * 'bzr add --file-ids-from' can be used to specify another path to use
1288
 
      for creating file ids, rather than generating all new ones. Internally,
1289
 
      the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
1290
 
      will be used, rather than having bzrlib generate new ones.
1291
 
      (John Arbash Meinel, #55781)
1292
 
 
1293
 
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
1294
 
      This will cache some of the intermediate trees, and decrease the
1295
 
      setup time for benchmark tests. (John Arbash Meinel)
1296
 
 
1297
 
    * Inverse forms are provided for all boolean options.  For example,
1298
 
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
1299
 
 
1300
 
    * Serialize out Inventories directly, rather than using ElementTree.
1301
 
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
1302
 
      (Robert Collins, John Arbash Meinel)
1303
 
 
1304
 
  BUG FIXES:
1305
 
 
1306
 
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
1307
 
 
1308
 
    * Change LockDir so that if the lock directory doesn't exist when
1309
 
      ``lock_write()`` is called, an attempt will be made to create it.
1310
 
      (John Arbash Meinel, #56974)
1311
 
 
1312
 
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
1313
 
 
1314
 
    * Active FTP transport now works as intended. (ghozzy, #56472)
1315
 
 
1316
 
    * Really fix mutter() so that it won't ever raise a UnicodeError.
1317
 
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
1318
 
      But it is a debugging log, not a real user file.
1319
 
      (John Arbash Meinel, #56947, #53880)
1320
 
 
1321
 
    * Change Command handle to allow Unicode command and options.
1322
 
      At present we cannot register Unicode command names, so we will get
1323
 
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
1324
 
      But that is better than a UnicodeError + a traceback.
1325
 
      (John Arbash Meinel, #57123)
1326
 
 
1327
 
    * Handle TZ=UTC properly when reading/writing revisions.
1328
 
      (John Arbash Meinel, #55783, #56290)
1329
 
 
1330
 
    * Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
1331
 
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
1332
 
 
1333
 
    * External diff does the right thing for binaries even in foreign 
1334
 
      languages. (John Arbash Meinel, #56307)
1335
 
 
1336
 
    * Testament handles more cases when content is unicode. Specific bug was
1337
 
      in handling of revision properties.
1338
 
      (John Arbash Meinel, Holger Krekel, #54723)
1339
 
 
1340
 
    * The bzr selftest was failing on installed versions due to a bug in a new
1341
 
      test helper. (John Arbash Meinel, Robert Collins, #58057)
1342
 
 
1343
 
  INTERNALS:
1344
 
 
1345
 
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
1346
 
      which can be used to cache the conversion between utf8 and Unicode.
1347
 
      Especially helpful for some of the knit annotation code, which has to
1348
 
      convert revision ids to utf8 to annotate lines in storage.
1349
 
      (John Arbash Meinel)
1350
 
 
1351
 
    * ``setup.py`` now searches the filesystem to find all packages which
1352
 
      need to be installed. This should help make the life of packagers
1353
 
      easier. (John Arbash Meinel)
1354
 
 
1355
 
bzr 0.9.0  2006-08-11
1356
 
 
1357
 
  SURPRISES:
 
3
  IMPROVEMENTS:
 
4
 
 
5
   * The revision specifier "revno:" is extended to accept the syntax
 
6
     revno:N:branch. For example,
 
7
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
8
     bzr.dev.  (Matthieu Moy)
1358
9
 
1359
10
   * The hard-coded built-in ignore rules have been removed. There are
1360
11
     now two rulesets which are enforced. A user global one in 
1361
 
     ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
12
     ~/.bazaar/ignore which will apply to every tree, and the tree
1362
13
     specific one '.bzrignore'.
1363
 
     ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
14
     ~/.bazaar/ignore will be created if it does not exist, but with
1364
15
     a more conservative list than the old default.
1365
16
     This fixes bugs with default rules being enforced no matter what. 
1366
17
     The old list of ignore rules from bzr is available by
1367
18
     running 'bzr ignore --old-default-rules'.
1368
19
     (Robert Collins, Martin Pool, John Arbash Meinel)
1369
20
 
1370
 
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
1371
 
     to more locations than just branch locations.
1372
 
     (Aaron Bentley)
1373
 
   
1374
 
  IMPROVEMENTS:
1375
 
 
1376
 
   * The revision specifier "revno:" is extended to accept the syntax
1377
 
     revno:N:branch. For example,
1378
 
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
1379
 
     bzr.dev.  (Matthieu Moy)
1380
 
 
1381
21
   * Tests updates to ensure proper URL handling, UNICODE support, and
1382
22
     proper printing when the user's terminal encoding cannot display 
1383
23
     the path of a file that has been versioned.
1384
24
     ``bzr branch`` can take a target URL rather than only a local directory.
1385
 
     ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
25
     Branch.get_parent()/set_parent() now save a relative path if possible,
1386
26
     and normalize the parent based on root, allowing access across
1387
27
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
1388
28
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
1389
 
     #42517, #42514)
 
29
      #42517, #42514)
1390
30
 
1391
31
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
1392
32
     Use terminal width for single-line logs from ``bzr log --line`` and
1440
80
     the same way you would apply another branch.
1441
81
     (John Arbash Meinel, Aaron Bentley)
1442
82
  
 
83
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
 
84
     to more locations than just branch locations.
 
85
     (Aaron Bentley)
 
86
   
1443
87
   * 'bzr whoami' can now be used to set your identity from the command line,
1444
88
     for a branch or globally.  (Robey Pointer)
1445
89
 
1453
97
     Also updates things like 'http+pycurl://' if pycurl is not present.
1454
98
     (John Arbash Meinel) (Malone #47821, #52204)
1455
99
 
1456
 
   * New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
100
   * New env variable BZR_PROGRESS_BAR, sets the default progress bar type.
1457
101
     Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or 
1458
102
     'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
1459
103
 
1485
129
  BUG FIXES:
1486
130
 
1487
131
    * Fix shadowed definition of TestLocationConfig that caused some 
1488
 
      tests not to run.
1489
 
      (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
132
      tests not to run.  (#32587, Erik Bågfors, Michael Ellerman, 
 
133
      Martin Pool)
1490
134
 
1491
135
    * Fix unnecessary requirement of sign-my-commits that it be run from
1492
136
      a working directory.  (Martin Pool, Robert Collins)
1493
137
 
1494
138
    * 'bzr push location' will only remember the push location if it succeeds
1495
 
      in connecting to the remote location. (John Arbash Meinel, #49742)
 
139
      in connecting to the remote location. (#49742, John Arbash Meinel)
1496
140
 
1497
141
    * 'bzr revert' no longer toggles the executable bit on win32
1498
 
      (John Arbash Meinel, #45010)
 
142
      (#45010, John Arbash Meinel)
1499
143
 
1500
144
    * Handle broken pipe under win32 correctly. (John Arbash Meinel)
1501
145
    
1510
154
      and y.
1511
155
 
1512
156
    * File-ids containing single- or double-quotes are handled correctly by
1513
 
      push. (Aaron Bentley, #52227)
 
157
      push.  (#52227, Aaron Bentley)
1514
158
 
1515
159
    * Normalize unicode filenames to ensure cross-platform consistency.
1516
160
      (John Arbash Meinel, #43689)
1523
167
    * Bundles can properly read binary files with a plain '\r' in them.
1524
168
      (John Arbash Meinel, #51927)
1525
169
 
1526
 
    * Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
170
    * Tuning iter_entries() to be more efficient (John Arbash Meinel, #5444)
1527
171
 
1528
172
    * Lots of win32 fixes (the test suite passes again).
1529
173
      (John Arbash Meinel, #50155)
1558
202
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
1559
203
      to be generated (John Arbash Meinel, #53638)
1560
204
 
1561
 
    * When reading revision properties, an empty value should be considered
1562
 
      the empty string, not None (John Arbash Meinel, #47782)
1563
 
 
1564
 
    * ``bzr diff --diff-options`` can now handle binary files being changed.
1565
 
      Also, the output is consistent when --diff-options is not supplied.
1566
 
      (John Arbash Meinel, #54651, #52930)
1567
 
 
1568
 
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
1569
 
 
1570
 
    * Fix ``Branch.get_parent()`` to handle the case when the parent is not 
1571
 
      accessible (John Arbash Meinel, #52976)
1572
 
 
1573
205
  INTERNALS:
1574
206
 
1575
207
    * Combine the ignore rules into a single regex rather than looping over
1576
208
      them to reduce the threshold where  N^2 behaviour occurs in operations
1577
209
      like status. (Jan Hudec, Robert Collins).
1578
210
 
1579
 
    * Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
211
    * Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
1580
212
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
1581
213
 
1582
214
    * 'bzr push' should only push the ancestry of the current revision, not
1583
215
      all of the history in the repository. This is especially important for
1584
216
      shared repositories. (John Arbash Meinel)
1585
217
 
1586
 
    * ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
218
    * bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
1587
219
      rather than randomly walking the inventories. (John Arbash Meinel)
1588
220
 
1589
221
    * Doctests are now run in temporary directories which are cleaned up when
1594
226
      so that it can be specialized in ways that are useful or efficient for
1595
227
      different formats.  (Martin Pool, Robert Collins)
1596
228
 
1597
 
    * Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
229
    * Deprecate Repository.all_revision_ids; most methods don't really need
1598
230
      the global revision graph but only that part leading up to a particular
1599
231
      revision.  (Martin Pool, Robert Collins)
1600
232
 
1601
 
    * Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
233
    * Add a BzrDirFormat control_formats list which allows for control formats
1602
234
      that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
1603
235
      (Robert Collins, Jelmer Vernooij).
1604
236
 
1605
 
    * ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
237
    * bzrlib.diff.external_diff can be redirected to any file-like object.
1606
238
      Uses subprocess instead of spawnvp.
1607
 
      (James Henstridge, John Arbash Meinel, #4047, #48914)
 
239
      (#4047, #48914, James Henstridge, John Arbash Meinel)
1608
240
 
1609
241
    * New command line option '--profile-imports', which will install a custom
1610
242
      importer to log time to import modules and regex compilation time to 
1611
243
      sys.stderr (John Arbash Meinel)
1612
244
 
1613
 
    * 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
245
    * 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
1614
246
      instead. (Robert Collins)
1615
247
 
1616
248
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
1633
265
 
1634
266
    * Separate functionality from assert statements as they are skipped in
1635
267
      optimized mode of python. Add the same check to pending merges.
1636
 
      (Olaf Conradi, #44443)
 
268
      (#44443, Olaf Conradi)
1637
269
 
1638
270
  CHANGES:
1639
271
 
1640
272
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
1641
273
 
1642
274
    * Add info on standalone branches without a working tree.
1643
 
      (Olaf Conradi, #44155)
 
275
      (#44155, Olaf Conradi)
1644
276
 
1645
 
    * Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
277
    * Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
1646
278
 
1647
279
  CHANGES:
1648
280
 
1649
281
    * Make editor invocation comply with Debian Policy. First check
1650
282
      environment variables VISUAL and EDITOR, then try editor from
1651
283
      alternatives system. If that all fails, fall back to the pre-defined
1652
 
      list of editors. (Olaf Conradi, #42904)
 
284
      list of editors. (#42904, Olaf Conradi)
1653
285
 
1654
286
  NEW FEATURES:
1655
287
 
1659
291
 
1660
292
  INTERNALS:
1661
293
 
1662
 
    * New public api in InventoryEntry - ``describe_change(old, new)`` which
 
294
    * New public api in InventoryEntry - 'describe_change(old, new)' which
1663
295
      provides a human description of the changes between two old and
1664
296
      new. (Robert Collins, Martin Pool)
1665
297
 
1708
340
  IMPROVEMENTS:
1709
341
 
1710
342
    * Sftp paths can now be relative, or local, according to the lftp
1711
 
      convention. Paths now take the form::
1712
 
 
1713
 
          sftp://user:pass@host:port/~/relative/path
1714
 
          or
1715
 
          sftp://user:pass@host:port/absolute/path
 
343
      convention. Paths now take the form:
 
344
      sftp://user:pass@host:port/~/relative/path
 
345
      or
 
346
      sftp://user:pass@host:port/absolute/path
1716
347
 
1717
348
    * The FTP transport now tries to reconnect after a temporary
1718
349
      failure. ftp put is made atomic. (Matthieu Moy)
1721
352
      reuses them to avoid multiple connections to the same host (like
1722
353
      sftp did). (Daniel Silverstone)
1723
354
 
1724
 
    * The ``bzr_man.py`` file has been removed. To create the man page now,
1725
 
      use ``./generate_docs.py man``. The new program can also create other files.
1726
 
      Run ``python generate_docs.py --help`` for usage information.
1727
 
      (Hans Ulrich Niedermann & James Blackwell).
 
355
    * The bzr_man.py file has been removed. To create the man page now,
 
356
      use ./generate_docs.py man. The new program can also create other files.
 
357
      Run "python generate_docs.py --help" for usage information. (Hans
 
358
      Ulrich Niedermann & James Blackwell).
1728
359
 
1729
 
    * Man Page now gives full help (James Blackwell).
1730
 
      Help also updated to reflect user config now being stored in .bazaar
1731
 
      (Hans Ulrich Niedermann)
 
360
    * Man Page now gives full help (James Blackwell). Help also updated to 
 
361
      reflect user config now being stored in .bazaar (Hans Ulrich
 
362
      Niedermann)
1732
363
 
1733
364
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
1734
365
 
1735
366
    * Pull now accepts a --revision argument (Erik Bågfors)
1736
367
 
1737
 
    * ``bzr re-sign`` now allows multiple revisions to be supplied on the command
1738
 
      line. You can now use the following command to sign all of your old
1739
 
      commits::
1740
 
 
 
368
    * 'bzr re-sign' now allows multiple revisions to be supplied on the command
 
369
      line. You can now use the following command to sign all of your old commits.
1741
370
        find .bzr/revision-store// -name my@email-* \
1742
371
          | sed 's/.*\/\/..\///' \
1743
372
          | xargs bzr re-sign
1823
452
    * Commit is now verbose by default, and shows changed filenames and the 
1824
453
      new revision number.  (Robert Collins, Martin Pool)
1825
454
 
1826
 
    * Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
455
    * Unify 'mv', 'move', 'rename'.  (#5379, Matthew Fuller)
1827
456
 
1828
 
    * 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
457
    * 'bzr -h' shows help.  (#35940, Martin Pool, Ian Bicking)
1829
458
 
1830
459
    * Make 'pull' and 'push' remember location on failure using --remember.
1831
460
      (Olaf Conradi)
1851
480
 
1852
481
    * Using Tree Transform for merge, revert, tree-building
1853
482
 
1854
 
    * WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
1855
 
      Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
483
    * WorkingTree.create, Branch.create, WorkingTree.create_standalone,
 
484
      Branch.initialize are now deprecated. Please see BzrDir.create_* for
1856
485
      replacement API's. (Robert Collins)
1857
486
 
1858
487
    * New BzrDir class represents the .bzr control directory and manages
1862
491
      Repository actions and allows for clean selection of optimised code
1863
492
      paths. (Robert Collins)
1864
493
 
1865
 
    * ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
1866
 
      deprecated, please use ``branch.fetch`` or ``repository.fetch``
1867
 
      depending on your needs. (Robert Collins)
 
494
    * bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
 
495
      please use 'branch.fetch' or 'repository.fetch' depending on your
 
496
      needs. (Robert Collins)
1868
497
 
1869
 
    * deprecated methods now have a ``is_deprecated`` flag on them that can
 
498
    * deprecated methods now have a 'is_deprecated' flag on them that can
1870
499
      be checked, if you need to determine whether a given callable is 
1871
500
      deprecated at runtime. (Robert Collins)
1872
501
 
1873
502
    * Progress bars are now nested - see
1874
 
      ``bzrlib.ui.ui_factory.nested_progress_bar``.
1875
 
      (Robert Collins, Robey Pointer)
 
503
      bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
1876
504
 
1877
 
    * New API call ``get_format_description()`` for each type of format.
 
505
    * New API call get_format_description() for each type of format.
1878
506
      (Olaf Conradi)
1879
507
 
1880
 
    * Changed ``branch.set_parent()`` to accept None to remove parent.
 
508
    * Changed branch.set_parent() to accept None to remove parent.
1881
509
      (Olaf Conradi)
1882
510
 
1883
511
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
1884
512
 
1885
513
    * WorkingTree.branch is now a read only property.  (Robert Collins)
1886
514
 
1887
 
    * bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
515
    * bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
1888
516
      can be None or a factory that will create a progress bar. This is
1889
517
      useful for testing or for overriding the bzrlib.progress heuristic.
1890
518
      (Robert Collins)
1891
519
 
1892
 
    * New API method ``get_physical_lock_status()`` to query locks present on a
 
520
    * New API method get_physical_lock_status() to query locks present on a
1893
521
      transport.  (Olaf Conradi)
1894
522
 
1895
523
    * Repository.reconcile now takes a thorough keyword parameter to allow
1896
524
      requesting an indepth reconciliation, rather than just a data-loss 
1897
525
      check. (Robert Collins)
1898
526
 
1899
 
    * ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
527
    * bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
1900
528
      the user for yes/no style input. (Robert Collins)
1901
529
 
1902
530
  TESTING:
1904
532
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
1905
533
      for testing SFTP protocol support. (Robey Pointer)
1906
534
 
1907
 
    * Branch formats are now tested once per implementation (see ``bzrlib.
1908
 
      tests.branch_implementations``. This is analagous to the transport
 
535
    * Branch formats are now tested once per implementation (see bzrlib.
 
536
      tests.branch_implementations. This is analagous to the transport
1909
537
      interface tests, and has been followed up with working tree,
1910
538
      repository and BzrDir tests. (Robert Collins)
1911
539
 
1921
549
 
1922
550
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
1923
551
 
1924
 
    * ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
1925
 
      parameter which will provide String("foo") to the command as its stdin.
 
552
    * run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
 
553
      will provide String("foo") to the command as its stdin.
1926
554
 
1927
555
bzr 0.7 2006-01-09
1928
556
 
1936
564
      versioned directories, now use "bzr inventory --kind directory".  
1937
565
      (Johan Rydberg)
1938
566
 
1939
 
    * Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
567
    * Under Windows configuration directory is now %APPDATA%\bazaar\2.0
1940
568
      by default. (John Arbash Meinel)
1941
569
 
1942
 
    * The parent of Bzr configuration directory can be set by ``BZR_HOME``
1943
 
      environment variable. Now the path for it is searched in ``BZR_HOME``,
1944
 
      then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
1945
 
      (usually points to ``C:\Documents and Settings\User Name\Application Data``),
1946
 
      ``HOME``. (John Arbash Meinel)
 
570
    * The parent of Bzr configuration directory can be set by BZR_HOME
 
571
      environment variable. Now the path for it is searched in BZR_HOME, then
 
572
      in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
 
573
      points to C:\Documents and Settings\User Name\Application Data), HOME.
 
574
      (John Arbash Meinel)
1947
575
 
1948
576
    * Plugins with the same name in different directories in the bzr plugin
1949
577
      path are no longer loaded: only the first successfully loaded one is
1988
616
    * Added branch nicks, new nick command, printing them in log output. 
1989
617
      (Aaron Bentley)
1990
618
 
1991
 
    * If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception 
 
619
    * If $BZR_PDB is set, pop into the debugger when an uncaught exception 
1992
620
      occurs.  (Martin Pool)
1993
621
 
1994
622
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
1997
625
    * New ftp transport support (on ftplib), for ftp:// and aftp:// 
1998
626
      URLs.  (Daniel Silverstone)
1999
627
 
2000
 
    * Commit editor temporary files now start with ``bzr_log.``, to allow 
 
628
    * Commit editor temporary files now start with 'bzr_log.', to allow 
2001
629
      text editors to match the file name and set up appropriate modes or 
2002
630
      settings.  (Magnus Therning)
2003
631
 
2012
640
      revno should be printed.  (Michael Ellerman)
2013
641
 
2014
642
    * bzr cat defaults to printing the last version of the file.  
2015
 
      (Matthieu Moy, #3632)
 
643
      (#3632, Matthieu Moy)
2016
644
 
2017
645
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof 
2018
646
      profiler.  (Denys Duchier)
2056
684
    * Fix for sftp transport under windows when using interactive auth
2057
685
 
2058
686
    * Show files which are both renamed and modified as such in 'bzr 
2059
 
      status' output.  (Daniel Silverstone, #4503)
 
687
      status' output.  (#4503, Daniel Silverstone)
2060
688
 
2061
689
    * Make annotate cope better with revisions committed without a valid 
2062
690
      email address.  (Marien Zwart)
2063
691
 
2064
 
    * Fix representation of tab characters in commit messages.
2065
 
      (Harald Meland)
 
692
    * Fix representation of tab characters in commit messages.  (Harald 
 
693
      Meland)
2066
694
 
2067
 
    * List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
695
    * List of plugin directories in BZR_PLUGIN_PATH environment variable is
2068
696
      now parsed properly under Windows. (Alexander Belchenko)
2069
697
 
2070
698
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
2072
700
    * Keep a cached copy of the basis inventory to speed up operations 
2073
701
      that need to refer to it.  (Johan Rydberg, Martin Pool)
2074
702
 
2075
 
    * Fix bugs in bzr status display of non-ascii characters.
2076
 
      (Martin Pool)
 
703
    * Fix bugs in bzr status display of non-ascii characters.  (Martin 
 
704
      Pool)
2077
705
 
2078
 
    * Remove Makefile.in from default ignore list.
2079
 
      (Tollef Fog Heen, Martin Pool, #6413)
 
706
    * Remove Makefile.in from default ignore list.  (#6413, Tollef Fog 
 
707
      Heen, Martin Pool)
2080
708
 
2081
709
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
2082
710
 
2091
719
 
2092
720
    * Make tests work even if HOME is not set (Aaron Bentley)
2093
721
 
2094
 
    * Updated ``build_tree`` to use fixed line-endings for tests which read 
 
722
    * Updated build_tree to use fixed line-endings for tests which read 
2095
723
      the file cotents and compare. Make some tests use this to pass under
2096
724
      Windows. (John Arbash Meinel)
2097
725
 
2104
732
 
2105
733
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
2106
734
      If adding a new test script please add that to
2107
 
      ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
735
      bzrlib.tests.blackbox.__init__. (Robert Collins)
2108
736
 
2109
737
    * Much better error message if one of the test suites can't be 
2110
738
      imported.  (Martin Pool)
2131
759
      see bzrlib.transport.TransportTestProviderAdapter() for this.
2132
760
      (Robert Collins).
2133
761
 
2134
 
    * ``TestCase.build_tree`` uses the transport interface to build trees,
2135
 
      pass in a transport parameter to give it an existing connection.
 
762
    * TestCase.build_tree uses the transport interface to build trees, pass
 
763
      in a transport parameter to give it an existing connection.
2136
764
      (Robert Collins).
2137
765
 
2138
766
  INTERNALS:
2140
768
    * WorkingTree.pull has been split across Branch and WorkingTree,
2141
769
      to allow Branch only pulls. (Robert Collins)
2142
770
 
2143
 
    * ``commands.display_command`` now returns the result of the decorated 
 
771
    * commands.display_command now returns the result of the decorated 
2144
772
      function. (Robert Collins)
2145
773
 
2146
 
    * LocationConfig now has a ``set_user_option(key, value)`` call to save
 
774
    * LocationConfig now has a set_user_option(key, value) call to save
2147
775
      a setting in its matching location section (a new one is created
2148
776
      if needed). (Robert Collins)
2149
777
 
2150
 
    * Branch has two new methods, ``get_push_location`` and
2151
 
      ``set_push_location`` to respectively, get and set the push location.
2152
 
      (Robert Collins)
 
778
    * Branch has two new methods, get_push_location and set_push_location
 
779
      to respectively, get and set the push location. (Robert Collins)
2153
780
 
2154
 
    * ``commands.register_command`` now takes an optional flag to signal that
 
781
    * commands.register_command now takes an optional flag to signal that
2155
782
      the registrant is planning to decorate an existing command. When 
2156
783
      given multiple plugins registering a command is not an error, and
2157
784
      the original command class (whether built in or a plugin based one) is
2162
789
    * Some option parsing errors will raise 'BzrOptionError', allowing 
2163
790
      granular detection for decorating commands. (Robert Collins).
2164
791
 
2165
 
    * ``Branch.read_working_inventory`` has moved to
2166
 
      ``WorkingTree.read_working_inventory``. This necessitated changes to
2167
 
      ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
2168
 
      WorkingTree as well. To make it clear that a WorkingTree cannot always
2169
 
      be obtained ``Branch.working_tree()`` will raise
2170
 
      ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
792
    * Branch.read_working_inventory has moved to
 
793
      WorkingTree.read_working_inventory. This necessitated changes to
 
794
      Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
 
795
      as well. To make it clear that a WorkingTree cannot always be obtained
 
796
      Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
 
797
      be obtained. (Robert Collins)
2171
798
 
2172
799
    * All pending merges operations from Branch are now on WorkingTree.
2173
800
      (Robert Collins)
2174
801
 
2175
 
    * The follow operations from Branch have moved to WorkingTree::
2176
 
 
2177
 
          add()
2178
 
          commit()
2179
 
          move()
2180
 
          rename_one()
2181
 
          unknowns()
2182
 
 
 
802
    * The follow operations from Branch have moved to WorkingTree:
 
803
      add()
 
804
      commit()
 
805
      move()
 
806
      rename_one()
 
807
      unknowns()
2183
808
      (Robert Collins)
2184
809
 
2185
 
    * ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
810
    * bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
2186
811
 
2187
812
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
2188
813
 
2189
 
    * Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin 
 
814
    * Rename selftests to `bzrlib.tests.test_foo`.  (John A Meinel, Martin 
2190
815
      Pool)
2191
816
 
2192
 
    * ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a 
 
817
    * bzrlib.plugin.all_plugins has been changed from an attribute to a 
2193
818
      query method. (Robert Collins)
2194
819
 
2195
820
    * New options to read only the table-of-contents of a weave.  
2198
823
    * Raise NoSuchFile when someone tries to add a non-existant file.
2199
824
      (Michael Ellerman)
2200
825
 
2201
 
    * Simplify handling of DivergedBranches in ``cmd_pull()``.
 
826
    * Simplify handling of DivergedBranches in cmd_pull().
2202
827
      (Michael Ellerman)
 
828
                   
2203
829
   
2204
830
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
2205
 
      is exposed as ``Branch().control_files``. Also this has been altered with the
 
831
      is exposed as Branch().control_files. Also this has been altered with the
2206
832
      controlfile pre/suffix replaced by simple method names like 'get' and
2207
833
      'put'. (Aaron Bentley, Robert Collins).
2208
834
 
2209
835
    * Deprecated functions and methods can now be marked as such using the 
2210
 
      ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
836
      bzrlib.symbol_versioning module. Marked method have their docstring
2211
837
      updated and will issue a DeprecationWarning using the warnings module
2212
838
      when they are used. (Robert Collins)
2213
839
 
2214
 
    * ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
840
    * bzrlib.osutils.safe_unicode now exists to provide parameter coercion
2215
841
      for functions that need unicode strings. (Robert Collins)
2216
842
 
2217
843
bzr 0.6 2005-10-28
2252
878
    * New command 're-sign' which will regenerate the gpg signature for 
2253
879
      a revision. (Robert Collins)
2254
880
 
2255
 
    * If you set ``check_signatures=require`` for a path in 
2256
 
      ``~/.bazaar/branches.conf`` then bzr will invoke your
2257
 
      ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
881
    * If you set check_signatures=require for a path in 
 
882
      ~/.bazaar/branches.conf then bzr will invoke your
 
883
      gpg_signing_command (defaults to gpg) and record a digital signature
2258
884
      of your commit. (Robert Collins)
2259
885
 
2260
886
    * New sftp transport, based on Paramiko.  (Robey Pointer)
2268
894
    * 'bzr branch' will now set the branch-name to the last component of the
2269
895
      output directory, if one was supplied.
2270
896
 
2271
 
    * If the option ``post_commit`` is set to one (or more) python function
 
897
    * If the option 'post_commit' is set to one (or more) python function
2272
898
      names (must be in the bzrlib namespace), then they will be invoked
2273
 
      after the commit has completed, with the branch and ``revision_id`` as
 
899
      after the commit has completed, with the branch and revision_id as
2274
900
      parameters. (Robert Collins)
2275
901
 
2276
902
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
2332
958
    * Config options have moved from bzrlib.osutils to bzrlib.config.
2333
959
      Configuration is now done via the config.Config interface:
2334
960
      Depending on whether you have a Branch, a Location or no information
2335
 
      available, construct a ``*Config``, and use its ``signature_checking``,
2336
 
      ``username`` and ``user_email`` methods. (Robert Collins)
 
961
      available, construct a *Config, and use its signature_checking,
 
962
      username and user_email methods. (Robert Collins)
2337
963
 
2338
964
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
2339
965
      they are made available for other plugins to use. You should not 
2340
 
      import other plugins during the ``__init__`` of your plugin though, as 
 
966
      import other plugins during the __init__ of your plugin though, as 
2341
967
      no ordering is guaranteed, and the plugins directory is not on the
2342
968
      python path. (Robert Collins)
2343
969
 
2350
976
      Scott James Remnant.  (Martin Pool)
2351
977
 
2352
978
    * Branch.remove has been moved to WorkingTree, which has also gained
2353
 
      ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
2354
 
      (Robert Collins)
 
979
      lock_read, lock_write and unlock methods for convenience. (Robert
 
980
      Collins)
2355
981
 
2356
 
    * Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
2357
 
      added to the branch module. Use these to cause a function to run in a
 
982
    * Two decorators, needs_read_lock and needs_write_lock have been added
 
983
      to the branch module. Use these to cause a function to run in a
2358
984
      read or write lock respectively. (Robert Collins)
2359
985
 
2360
 
    * ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
986
    * Branch.open_containing now returns a tuple (Branch, relative-path),
2361
987
      which allows direct access to the common case of 'get me this file
2362
988
      from its branch'. (Robert Collins)
2363
989
 
2364
 
    * Transports can register using ``register_lazy_transport``, and they 
 
990
    * Transports can register using register_lazy_transport, and they 
2365
991
      will be loaded when first used.  (Martin Pool)
2366
992
 
2367
 
    * 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
993
    * 'pull' has been factored out of the command as WorkingTree.pull().
2368
994
      A new option to WorkingTree.pull has been added, clobber, which will
2369
995
      ignore diverged history and pull anyway.
2370
996
      (Robert Collins)
2371
997
 
2372
 
    * config.Config has a ``get_user_option`` call that accepts an option name.
 
998
    * config.Config has a 'get_user_option' call that accepts an option name.
2373
999
      This will be looked up in branches.conf and bazaar.conf as normal.
2374
1000
      It is intended that this be used by plugins to support options - 
2375
1001
      options of built in programs should have specific methods on the config.
2376
1002
      (Robert Collins)
2377
1003
 
2378
 
    * ``merge.merge_inner`` now has tempdir as an optional parameter.
2379
 
      (Robert Collins)
 
1004
    * merge.merge_inner now has tempdir as an optional parameter. (Robert
 
1005
      Collins)
2380
1006
 
2381
1007
    * Tree.kind is not recorded at the top level of the hierarchy, as it was
2382
1008
      missing on EmptyTree, leading to a bug with merge on EmptyTrees.
2383
1009
      (Robert Collins)
2384
1010
 
2385
 
    * ``WorkingTree.__del__`` has been removed, it was non deterministic and not 
2386
 
      doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
1011
    * WorkingTree.__del__ has been removed, it was non deterministic and not 
 
1012
      doing what it was intended to. See WorkingTree.__init__ for a comment
2387
1013
      about future directions. (Robert Collins/Martin Pool)
2388
1014
 
2389
1015
    * bzrlib.transport.http has been modified so that only 404 urllib errors
2394
1020
      to apis like 'put', 'get' and 'has'. This is to provide consistent
2395
1021
      behaviour - it operates on url's only. (Robert Collins)
2396
1022
 
2397
 
    * Transports can register using ``register_lazy_transport``, and they 
 
1023
    * Transports can register using register_lazy_transport, and they 
2398
1024
      will be loaded when first used.  (Martin Pool)
2399
1025
 
2400
 
    * ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
2401
 
      is called by ``merge_inner``. This is so that the conflict count can be 
 
1026
    * 'merge_flex' no longer calls conflict_handler.finalize(), instead that
 
1027
      is called by merge_inner. This is so that the conflict count can be 
2402
1028
      retrieved (and potentially manipulated) before returning to the caller
2403
 
      of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
1029
      of merge_inner. Likewise 'merge' now returns the conflict count to the
2404
1030
      caller. (Robert Collins)
2405
1031
 
2406
 
    * ``revision.revision_graph`` can handle having only partial history for
 
1032
    * 'revision.revision_graph can handle having only partial history for
2407
1033
      a revision - that is no revisions in the graph with no parents.
2408
1034
      (Robert Collins).
2409
1035
 
2410
 
    * New ``builtins.branch_files`` uses the standard ``file_list`` rules to
2411
 
      produce a branch and a list of paths, relative to that branch
2412
 
      (Aaron Bentley)
 
1036
    * New builtins.branch_files uses the standard file_list rules to produce
 
1037
      a branch and a list of paths, relative to that branch (Aaron Bentley)
2413
1038
 
2414
1039
    * New TestCase.addCleanup facility.
2415
1040
 
2416
 
    * New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
2417
 
      which can be used by programs importing bzrlib.
 
1041
    * New bzrlib.version_info tuple (similar to sys.version_info), which can
 
1042
      be used by programs importing bzrlib.
2418
1043
 
2419
1044
  BUG FIXES:
2420
1045
 
2477
1102
      bzr will correct this when it encounters it. Fixed by
2478
1103
      Robert Collins
2479
1104
 
2480
 
    * HTTP tests now force off the use of ``http_proxy`` for the duration.
 
1105
    * HTTP tests now force off the use of http_proxy for the duration.
2481
1106
      Contributed by Gustavo Niemeyer.
2482
1107
 
2483
1108
    * Fix problems in merging weave-based branches that have 
2536
1161
      bzr branch it cannot understand. This allows for precise
2537
1162
      handling of such circumstances.
2538
1163
 
2539
 
    * Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
2540
 
      list of their ids and ``parent_sha1s`` is a list of their corresponding
2541
 
      sha1s (for old branches only at the moment.)
2542
 
 
2543
 
    * New method-object style interface for Commit() and Fetch().
2544
 
 
2545
 
    * Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
2546
 
      we call them revisions not patches.
2547
 
 
2548
 
    * Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
2549
 
      directory is created if it doesn't exist.
2550
 
 
2551
 
    * Inventories now identify the files which were present by 
2552
 
      giving the revision *of that file*.
2553
 
 
2554
 
    * Inventory and Revision XML contains a version identifier.  
2555
 
      This must be consistent with the overall branch version
2556
 
      but allows for more flexibility in future upgrades.
2557
1164
 
2558
1165
  TESTING:
2559
1166
 
2561
1168
      bzr installed by 'bzr selftest'.
2562
1169
 
2563
1170
    * 'bzr selftest' command-line arguments can now be partial ids
2564
 
      of tests to run, e.g. ``bzr selftest test_weave``
 
1171
      of tests to run, e.g. 'bzr selftest test_weave'
2565
1172
 
2566
1173
      
2567
1174
bzr 0.0.9 2005-09-23
2612
1219
      get added when you add a file in the directory.  Contributed by
2613
1220
      Michael Ellerman.
2614
1221
 
2615
 
    * Ignore ``.DS_Store`` (contains Mac metadata) by default.
2616
 
      (Nir Soffer)
 
1222
    * Ignore .DS_Store (contains Mac metadata) by default.  Patch from
 
1223
      Nir Soffer.
2617
1224
 
2618
 
    * If you set ``BZR_EDITOR`` in the environment, it is checked in
 
1225
    * If you set BZR_EDITOR in the environment, it is checked in
2619
1226
      preference to EDITOR and the config file for the interactive commit
2620
1227
      editing program. Related to this is a bugfix where a missing program
2621
1228
      set in EDITOR would cause editing to fail, now the fallback program
2702
1309
  NEW FEATURES:
2703
1310
 
2704
1311
    * Python plugins, automatically loaded from the directories on
2705
 
      ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
1312
      BZR_PLUGIN_PATH or ~/.bzr.conf/plugins by default.
2706
1313
 
2707
1314
    * New 'bzr mkdir' command.
2708
1315
 
2740
1347
    * Moved plugins directory to bzrlib/, so that there's a standard
2741
1348
      plugin directory which is not only installed with bzr itself but
2742
1349
      is also available when using bzr from the development tree.
2743
 
      ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
1350
      BZR_PLUGIN_PATH and DEFAULT_PLUGIN_PATH are then added to the
2744
1351
      standard plugins directory.
2745
1352
 
2746
1353
    * When exporting to a tarball with ``bzr export --format tgz``, put 
2892
1499
 
2893
1500
    * Better help messages for many commands.
2894
1501
 
2895
 
    * Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
1502
    * Expose bzrlib.open_tracefile() to start the tracefile; until
2896
1503
      this is called trace messages are just discarded.
2897
1504
 
2898
 
    * New internal function ``find_touching_revisions()`` and hidden
 
1505
    * New internal function find_touching_revisions() and hidden
2899
1506
      command touching-revisions trace the changes to a given file.
2900
1507
 
2901
 
    * Simpler and faster ``compare_inventories()`` function.
 
1508
    * Simpler and faster compare_inventories() function.
2902
1509
 
2903
 
    * ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
1510
    * bzrlib.open_tracefile() takes a tracefilename parameter.
2904
1511
 
2905
1512
    * New AtomicFile class.
2906
1513
 
2950
1557
 
2951
1558
    * Some Unicode/locale fixes.
2952
1559
 
2953
 
    * Partial workaround for ``difflib.unified_diff`` not handling
 
1560
    * Partial workaround for difflib.unified_diff not handling
2954
1561
      trailing newlines properly.
2955
1562
 
2956
1563