/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-12 00:59:53 UTC
  • mfrom: (2379.6.4 selftest.win32)
  • Revision ID: pqm@pqm.ubuntu.com-20070412005953-vow66znisuxhrauk
(bialix,r=john) win32-related selftest improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
IN DEVELOPMENT
 
2
 
 
3
  IMPROVEMENTS:
 
4
 
 
5
    * Merge directives can now be supplied as input to `merge` and `pull`,
 
6
      like bundles can.  (Aaron Bentley)
 
7
 
 
8
  INTERNALS:
 
9
 
 
10
    * bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
11
      code paths. (Robert Collins)
 
12
 
 
13
    * Change the format of chroot urls so that they can be safely manipulated
 
14
      by generic url utilities without causing the resulting urls to have
 
15
      escaped the chroot. A side effect of this is that creating a chroot
 
16
      requires an explicit action using a ChrootServer.
 
17
      (Robert Collins, Andrew Bennetts)
 
18
 
 
19
    * Deprecate Branch.get_root_id() because branches don't have root ids,
 
20
      rather than fixing bug #96847.  (Aaron Bentley)
 
21
 
 
22
    * WorkingTree.apply_inventory_delta provides a better alternative to
 
23
      WorkingTree._write_inventory.  (Aaron Bentley)
 
24
 
 
25
    * Convenience method TestCase.expectFailure ensures that known failures
 
26
      do not silently pass.  (Aaron Bentley)
 
27
 
 
28
    * New SmartServer hooks facility. There are two initial hooks documented
 
29
      in bzrlib.transport.smart.SmartServerHooks. The two initial hooks allow
 
30
      plugins to execute code upon server startup and shutdown.
 
31
      (Robert Collins).
 
32
 
 
33
    * SmartServer in standalone mode will now close its listening socket
 
34
      when it stops, rather than waiting for garbage collection. This primarily
 
35
      fixes test suite hangs when a test tries to connect to a shutdown server.
 
36
      It may also help improve behaviour when dealing with a server running
 
37
      on a specific port (rather than dynamically assigned ports).
 
38
      (Robert Collins)
 
39
 
 
40
    * Move most SmartServer code into a new package, bzrlib/smart.
 
41
      bzrlib/transport/remote.py contains just the Transport classes that used
 
42
      to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
43
 
 
44
  BUGFIXES:
 
45
 
 
46
    * Don't fail bundle selftest if email has 'two' embedded.  
 
47
      (#98510, Ian Clatworthy)
 
48
 
 
49
    * Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
50
      (Robert Widhopf-Fenk, #98591)
 
51
 
 
52
    * Remove ``--basis`` from the checkout/branch commands - it didn't work
 
53
      properly and is no longer beneficial. Fixes #53675 and #43486.
 
54
      (Robert Collins)
 
55
 
 
56
    * Don't produce encoding error when adding duplicate files.
 
57
      (Aaron Bentley)
 
58
 
 
59
    * Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
60
      inside the ancestry of the other. Saves a lot of graph processing
 
61
      (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
62
      changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
63
 
 
64
  TESTING:
 
65
 
 
66
    * Added ``bzrlib.strace.strace`` which will strace a single callable and
 
67
      return a StraceResult object which contains just the syscalls involved
 
68
      in running it. (Robert Collins)
 
69
 
 
70
    * New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
71
      default time down to one suitable for tests. (Andrew Bennetts)
 
72
 
 
73
    * Add new vfs_transport_factory attribute on tests which provides the 
 
74
      common vfs backing for both the readonly and readwrite transports.
 
75
      This allows the RemoteObject tests to back onto local disk or memory,
 
76
      and use the existing transport_server attribute all tests know about
 
77
      to be the smart server transport. This in turn allows tests to 
 
78
      differentiate between 'transport to access the branch', and 
 
79
      'transport which is a VFS' - which matters in Remote* tests.
 
80
      (Robert Collins, Andrew Bennetts)
 
81
 
 
82
    * The ``make_branch_and_tree`` method for tests will now create a 
 
83
      lightweight checkout for the tree if the vfs_transport_factory is not
 
84
      a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
85
 
 
86
    * Branch implementation tests have been audited to ensure that all urls 
 
87
      passed to Branch APIs use proper urls, except when local-disk paths
 
88
      are intended. This is so that tests correctly access the test transport
 
89
      which is often not equivalent to local disk in Remote* tests. As part
 
90
      of this many tests were adjusted to remove dependencies on local disk
 
91
      access.
 
92
      (Robert Collins, Andrew Bennetts)
 
93
 
 
94
 
 
95
bzr 0.15 2007-04-01
 
96
 
 
97
  BUGFIXES:
 
98
 
 
99
    * Handle incompatible repositories as a user issue when fetching.
 
100
      (Aaron Bentley)
 
101
 
 
102
    * Don't give a recommendation to upgrade when branching or 
 
103
      checking out a branch that contains an old-format working tree.
 
104
      (Martin Pool)
 
105
 
 
106
bzr 0.15rc3  2007-03-26
 
107
 
 
108
  CHANGES:
 
109
 
 
110
    * A warning is now displayed when opening working trees in older 
 
111
      formats, to encourage people to upgrade to WorkingTreeFormat4.
 
112
      (Martin Pool)
 
113
 
 
114
  IMPROVEMENTS:
 
115
 
 
116
    * HTTP redirections are now taken into account when a branch (or a
 
117
      bundle) is accessed for the first time. A message is issued at each
 
118
      redirection to inform the user. In the past, http redirections were
 
119
      silently followed for each request which significantly degraded the
 
120
      performances. The http redirections are not followed anymore by
 
121
      default, instead a RedirectRequested exception is raised. For bzrlib
 
122
      users needing to follow http redirections anyway,
 
123
      bzrlib.transport.do_catching_redirections provide an easy transition
 
124
      path.  (vila)
 
125
 
 
126
  INTERNALS:
 
127
 
 
128
    * Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
129
      lock to an OS write lock. Linux can do this without unlocking, Win32
 
130
      needs to unlock in between. (John Arbash Meinel)
 
131
 
 
132
    * New parameter ``recommend_upgrade`` to BzrDir.open_workingtree 
 
133
      to silence (when false) warnings about opening old formats.
 
134
      (Martin Pool)
 
135
 
 
136
    * Fix minor performance regression with bzr-0.15 on pre-dirstate
 
137
      trees. (We were reading the working inventory too many times).
 
138
      (John Arbash Meinel)
 
139
 
 
140
    * Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
141
      ``revision_history``.  Branch subclasses should override
 
142
      ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
143
      this cache, and call ``_clear_revision_history_cache`` and
 
144
      ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
145
 
 
146
  BUGFIXES:
 
147
 
 
148
    * Take smtp_server from user config into account.
 
149
      (vila, #92195)
 
150
 
 
151
    * Restore Unicode filename handling for versioned and unversioned files.
 
152
      (John Arbash Meinel, #92608)
 
153
 
 
154
    * Don't fail during ``bzr commit`` if a file is marked removed, and
 
155
      the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
156
 
 
157
    * ``bzr status FILENAME`` failed on Windows because of an uncommon
 
158
      errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
159
      (Wouter van Heyst, John Arbash Meinel, #90819)
 
160
 
 
161
    * ``bzr checkout source`` should create a local branch in the same
 
162
      format as source. (John Arbash Meinel, #93854)
 
163
 
 
164
    * ``bzr commit`` with a kind change was failing to update the
 
165
      last-changed-revision for directories.  The
 
166
      InventoryDirectory._unchanged only looked at the parent_id and name,
 
167
      ignoring the fact that the kind could have changed, too.
 
168
      (John Arbash Meinel, #90111)
 
169
 
 
170
    * ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
171
      the directory. So that there was a chance it would break commit,
 
172
      etc. (John Arbash Meinel, #94037)
 
173
 
 
174
    * Correctly handles mutiple permanent http redirections.
 
175
     (vila, #88780)
 
176
 
 
177
 
 
178
bzr 0.15rc2  2007-03-14
 
179
 
 
180
  NOTES WHEN UPGRADING:
 
181
        
 
182
    * Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
183
      default to ``--trees`` instead of ``--no-trees``.
 
184
      Existing shared repositories are not affected.
 
185
 
 
186
  IMPROVEMENTS:
 
187
 
 
188
    * New ``merge-directive`` command to generate machine- and human-readable
 
189
      merge requests.  (Aaron Bentley)
 
190
 
 
191
    * New ``submit:`` revision specifier makes it easy to diff against the
 
192
      common ancestor with the submit location (Aaron Bentley)
 
193
 
 
194
    * Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
195
 
 
196
    * Added ``bzr status --versioned`` to report only versioned files, 
 
197
      not unknowns. (Kent Gibson)
 
198
 
 
199
    * Merge now autodetects the correct line-ending style for its conflict
 
200
      markers.  (Aaron Bentley)
 
201
 
 
202
  INTERNALS:
 
203
 
 
204
    * Refactored SSH vendor registration into SSHVendorManager class.
 
205
      (Dmitry Vasiliev)
 
206
 
 
207
  BUGFIXES:
 
208
 
 
209
    * New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
210
      numbered dirs for TestCaseInTempDir. This is default behavior
 
211
      on Windows. Anyone can force named dirs on Windows
 
212
      with ``--no-numbered-dirs``. (Alexander Belchenko)
 
213
 
 
214
    * Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
215
      from the command line. (Marien Zwart, #90501)
 
216
 
 
217
    * Fix ``TreeTransform._iter_changes`` when both the source and
 
218
      destination are missing. (Aaron Bentley, #88842)
 
219
 
 
220
    * Fix commit of merges with symlinks in dirstate trees.
 
221
      (Marien Zwart)
 
222
    
 
223
    * Switch the ``bzr init-repo`` default from --no-trees to --trees. 
 
224
      (Wouter van Heyst, #53483)
 
225
 
 
226
 
 
227
bzr 0.15rc1  2007-03-07
 
228
 
 
229
  SURPRISES:
 
230
 
 
231
    * The default disk format has changed. Please run 'bzr upgrade' in your
 
232
      working trees to upgrade. This new default is compatible for network
 
233
      operations, but not for local operations. That is, if you have two
 
234
      versions of bzr installed locally, after upgrading you can only use the
 
235
      bzr 0.15 version. This new default does not enable tags or nested-trees
 
236
      as they are incompatible with bzr versions before 0.15 over the network.
 
237
 
 
238
    * For users of bzrlib: Two major changes have been made to the working tree
 
239
      api in bzrlib. The first is that many methods and attributes, including
 
240
      the inventory attribute, are no longer valid for use until one of
 
241
      lock_read/lock_write/lock_tree_write has been called, and become invalid
 
242
      again after unlock is called. This has been done to improve performance
 
243
      and correctness as part of the dirstate development. (Robert Collins,
 
244
      John A Meinel, Martin Pool, and others).
 
245
 
 
246
    * For users of bzrlib: The attribute 'tree.inventory' should be considered
 
247
      readonly. Previously it was possible to directly alter this attribute, or
 
248
      its contents, and have the tree notice this. This has been made
 
249
      unsupported - it may work in some tree formats, but in the newer dirstate
 
250
      format such actions will have no effect and will be ignored, or even
 
251
      cause assertions. All operations possible can still be carried out by a
 
252
      combination of the tree API, and the bzrlib.transform API. (Robert
 
253
      Collins, John A Meinel, Martin Pool, and others).
 
254
 
 
255
  IMPROVEMENTS:
 
256
 
 
257
    * Support for OS Windows 98. Also .bzr.log on any windows system
 
258
      saved in My Documents folder. (Alexander Belchenko)
 
259
 
 
260
    * ``bzr mv`` enhanced to support already moved files.
 
261
      In the past the mv command would have failed if the source file doesn't
 
262
      exist. In this situation ``bzr mv`` would now detect that the file has
 
263
      already moved and update the repository accordingly, if the target file
 
264
      does exist.
 
265
      A new option ``--after`` has been added so that if two files already
 
266
      exist, you could notify Bazaar that you have moved a (versioned) file
 
267
      and replaced it with another. Thus in this case ``bzr move --after``
 
268
      will only update the Bazaar identifier.
 
269
      (Steffen Eichenberg, Marius Kruger)
 
270
 
 
271
    * ``ls`` now works on treeless branches and remote branches.
 
272
      (Aaron Bentley)
 
273
 
 
274
    * ``bzr help global-options`` describes the global options.
 
275
      (Aaron Bentley)
 
276
 
 
277
    * ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
278
      (Robert Collins)
 
279
 
 
280
    * Files are now allowed to change kind (e.g. from file to symlink).
 
281
      Supported by ``commit``, ``revert`` and ``status``
 
282
      (Aaron Bentley)
 
283
 
 
284
    * ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
285
      (Aaron Bentley)
 
286
 
 
287
    * ``bzr help checkouts`` descibes what checkouts are and some possible
 
288
      uses of them. (James Westby, Aaron Bentley)
 
289
 
 
290
    * A new ``-d`` option to push, pull and merge overrides the default 
 
291
      directory.  (Martin Pool)
 
292
 
 
293
    * Branch format 6: smaller, and potentially faster than format 5.  Supports
 
294
      "append_history_only" mode, where the log view and revnos do not change,
 
295
      except by being added to.  Stores policy settings in
 
296
      ".bzr/branch/branch.conf".
 
297
 
 
298
    * append_only branches:  Format 6 branches may be configured so that log
 
299
      view and revnos are always consistent.  Either create the branch using
 
300
      "bzr init --append-revisions-only" or edit the config file as descriped
 
301
      in docs/configuration.txt.
 
302
 
 
303
    * rebind: Format 6 branches retain the last-used bind location, so if you
 
304
      "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
305
      bind location.
 
306
 
 
307
    * Builtin tags support, created and deleted by the ``tag`` command and
 
308
      stored in the branch.  Tags can be accessed with the revisionspec
 
309
      ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned 
 
310
      at present. Tags require a network incompatible upgrade. To perform this
 
311
      upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
312
      repositories. (Martin Pool)
 
313
 
 
314
    * The bzr:// transport now has a well-known port number, 4155, which it will
 
315
      use by default.  (Andrew Bennetts, Martin Pool)
 
316
 
 
317
    * Bazaar now looks for user-installed plugins before looking for site-wide
 
318
      plugins. (Jonathan Lange)
 
319
 
 
320
    * ``bzr resolve`` now detects and marks resolved text conflicts.
 
321
      (Aaron Bentley)
 
322
 
 
323
  INTERNALS:
 
324
 
 
325
    * Internally revision ids and file ids are now passed around as utf-8
 
326
      bytestrings, rather than treating them as Unicode strings. This has
 
327
      performance benefits for Knits, since we no longer need to decode the
 
328
      revision id for each line of content, nor for each entry in the index.
 
329
      This will also help with the future dirstate format.
 
330
      (John Arbash Meinel)
 
331
 
 
332
    * Reserved ids (any revision-id ending in a colon) are rejected by
 
333
      versionedfiles, repositories, branches, and working trees
 
334
      (Aaron Bentley)
 
335
 
 
336
    * Minor performance improvement by not creating a ProgressBar for
 
337
      every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
338
      (John Arbash Meinel)
 
339
 
 
340
    * New easier to use Branch hooks facility. There are five initial hooks,
 
341
      all documented in bzrlib.branch.BranchHooks.__init__ - 'set_rh',
 
342
      'post_push', 'post_pull', 'post_commit', 'post_uncommit'. These hooks
 
343
      fire after the matching operation on a branch has taken place, and were
 
344
      originally added for the branchrss plugin. (Robert Collins)
 
345
 
 
346
    * New method ``Branch.push()`` which should be used when pushing from a
 
347
      branch as it makes performance and policy decisions to match the UI
 
348
      level command ``push``. (Robert Collins).
 
349
 
 
350
    * Add a new method ``Tree.revision_tree`` which allows access to cached
 
351
      trees for arbitrary revisions. This allows the in development dirstate
 
352
      tree format to provide access to the callers to cached copies of 
 
353
      inventory data which are cheaper to access than inventories from the
 
354
      repository.
 
355
      (Robert Collins, Martin Pool)
 
356
 
 
357
    * New Branch.last_revision_info method, this is being done to allow
 
358
      optimization of requests for both the number of revisions and the last
 
359
      revision of a branch with smartservers and potentially future branch
 
360
      formats. (Wouter van Heyst, Robert Collins)
 
361
 
 
362
    * Allow 'import bzrlib.plugins.NAME' to work when the plugin NAME has not
 
363
      yet been loaded by load_plugins(). This allows plugins to depend on each
 
364
      other for code reuse without requiring users to perform file-renaming
 
365
      gymnastics. (Robert Collins)
 
366
 
 
367
    * New Repository method 'gather_stats' for statistic data collection.
 
368
      This is expected to grow to cover a number of related uses mainly
 
369
      related to bzr info. (Robert Collins)
 
370
 
 
371
    * Log formatters are now managed with a registry.
 
372
      ``log.register_formatter`` continues to work, but callers accessing
 
373
      the FORMATTERS dictionary directly will not.
 
374
 
 
375
    * Allow a start message to be passed to the ``edit_commit_message``
 
376
      function.  This will be placed in the message offered to the user
 
377
      for editing above the separator. It allows a template commit message
 
378
      to be used more easily. (James Westby)
 
379
 
 
380
    * ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
381
      you pass a Unicode string rather than an 8-bit string. Callers need
 
382
      to be updated to encode first. (John Arbash Meinel)
 
383
 
 
384
    * Branch.push, pull, merge now return Result objects with information
 
385
      about what happened, rather than a scattering of various methods.  These
 
386
      are also passed to the post hooks.  (Martin Pool)
 
387
 
 
388
    * File formats and architecture is in place for managing a forest of trees
 
389
      in bzr, and splitting up existing trees into smaller subtrees, and
 
390
      finally joining trees to make a larger tree. This is the first iteration
 
391
      of this support, and the user-facing aspects still require substantial
 
392
      work.  If you wish to experiment with it, use ``bzr upgrade
 
393
      --dirstate-with-subtree`` in your working trees and repositories.
 
394
      You can use the hidden commands ``split`` and ``join`` and to create
 
395
      and manipulate nested trees, but please consider using the nested-trees
 
396
      branch, which contains substantial UI improvements, instead.
 
397
      http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
398
      (Aaron Bentley, Martin Pool, Robert Collins).
 
399
 
 
400
  BUGFIXES:
 
401
 
 
402
    * ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
403
      branch, rather than the last changed revision of the file.
 
404
      (John Arbash Meinel, #82158)
 
405
 
 
406
    * Lock operations no longer hang if they encounter a permission problem.
 
407
      (Aaron Bentley)
 
408
 
 
409
    * ``bzr push`` can resume a push that was canceled before it finished.
 
410
      Also, it can push even if the target directory exists if you supply
 
411
      the ``--use-existing-dir`` flag.
 
412
      (John Arbash Meinel, #30576, #45504)
 
413
 
 
414
    * Fix http proxy authentication when user and an optional
 
415
      password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
416
      #83954).
 
417
 
 
418
    * ``bzr log branch/file`` works for local treeless branches
 
419
      (Aaron Bentley, #84247)
 
420
 
 
421
    * Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
422
 
 
423
    * Searching location of CA bundle for PyCurl in env variable (CURL_CA_BUNDLE),
 
424
      and on win32 along the PATH. (Alexander Belchenko, #82086)
 
425
 
 
426
    * ``bzr init`` works with unicode argument LOCATION.
 
427
      (Alexander Belchenko, #85599)
 
428
 
 
429
    * Raise DependencyNotPresent if pycurl do not support https. (Vincent
 
430
      Ladeuil, #85305)
 
431
 
 
432
    * Invalid proxy env variables should not cause a traceback.
 
433
      (Vincent Ladeuil, #87765)
 
434
 
 
435
    * Ignore patterns normalised to use '/' path separator.
 
436
      (Kent Gibson, #86451)
 
437
 
 
438
    * bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
439
 
 
440
    * Fix bzrtools shelve command for removed lines beginning with "--"
 
441
      (Johan Dahlberg, #75577)
 
442
 
 
443
  TESTING:
 
444
 
 
445
    * New ``--first`` option to ``bzr selftest`` to run specified tests
 
446
      before the rest of the suite.  (Martin Pool)
 
447
 
 
448
 
 
449
bzr 0.14  2007-01-23
 
450
 
 
451
  IMPROVEMENTS:
 
452
 
 
453
    * ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
454
 
 
455
  BUG FIXES:
 
456
    
 
457
    * Skip documentation generation tests if the tools to do so are not
 
458
      available. Fixes running selftest for installled copies of bzr. 
 
459
      (John Arbash Meinel, #80330)
 
460
 
 
461
    * Fix the code that discovers whether bzr is being run from it's
 
462
      working tree to handle the case when it isn't but the directory
 
463
      it is in is below a repository. (James Westby, #77306)
 
464
 
 
465
 
 
466
bzr 0.14rc1  2007-01-16
 
467
 
 
468
  IMPROVEMENTS:
 
469
 
 
470
    * New connection: ``bzr+http://`` which supports tunnelling the smart
 
471
      protocol over an HTTP connection. If writing is enabled on the bzr
 
472
      server, then you can write over the http connection.
 
473
      (Andrew Bennetts, John Arbash Meinel)
 
474
 
 
475
    * Aliases now support quotation marks, so they can contain whitespace
 
476
      (Marius Kruger)
 
477
 
 
478
    * PyCurlTransport now use a single curl object. By specifying explicitly
 
479
      the 'Range' header, we avoid the need to use two different curl objects
 
480
      (and two connections to the same server). (Vincent Ladeuil)
 
481
 
 
482
    * ``bzr commit`` does not prompt for a message until it is very likely to
 
483
      succeed.  (Aaron Bentley)
 
484
 
 
485
    * ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
486
      (Aaron Bentley)
 
487
 
 
488
    * Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
489
      of a list while checking if a revision id was requested. Takes 10s
 
490
      off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
491
      of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
492
      filtering lines with a regex rather than multiple ``str.find()``
 
493
      calls. (saves another 300ms) (John Arbash Meinel)
 
494
 
 
495
    * Policy can be set for each configuration key. This allows keys to be
 
496
      inherited properly across configuration entries. For example, this
 
497
      should enable you to do::
 
498
        
 
499
        [/home/user/project]
 
500
        push_location = sftp://host/srv/project/
 
501
        push_location:policy = appendpath
 
502
 
 
503
      And then a branch like ``/home/user/project/mybranch`` should get an
 
504
      automatic push location of ``sftp://host/srv/project/mybranch``.
 
505
      (James Henstridge)
 
506
 
 
507
    * Added ``bzr status --short`` to make status report svn style flags
 
508
      for each file.  For example::
 
509
 
 
510
        $ bzr status --short
 
511
        A  foo
 
512
        A  bar
 
513
        D  baz
 
514
        ?  wooley
 
515
 
 
516
    * 'bzr selftest --clean-output' allows easily clean temporary tests 
 
517
      directories without running tests. (Alexander Belchenko)
 
518
 
 
519
    * ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
520
 
 
521
    * ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
522
      local is fully merged into remote. (Jan Hudec)
 
523
 
 
524
    * ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
525
 
 
526
  INTERNALS:
 
527
 
 
528
    * A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
529
      help speed up processing, as well allowing to extract unannotated
 
530
      lines. Between the two ``fileids_affected_by_revision_ids`` is
 
531
      improved by approx 10%. (John Arbash Meinel)
 
532
 
 
533
    * Change Revision serialization to only write out millisecond
 
534
      resolution. Rather than expecting floating point serialization to
 
535
      preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
536
 
 
537
    * Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
538
 
 
539
    * When 'encoding_type' attribute of class Command is equal to 'exact', 
 
540
      force sys.stdout to be a binary stream on Windows, and therefore
 
541
      keep exact line-endings (without LF -> CRLF conversion).
 
542
      (Alexander Belchenko)
 
543
 
 
544
    * Single-letter short options are no longer globally declared.  (Martin
 
545
      Pool)
 
546
 
 
547
    * Before using detected user/terminal encoding bzr should check
 
548
      that Python has corresponding codec. (Alexander Belchenko)
 
549
 
 
550
    * Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
551
 
 
552
  BUG FIXES:
 
553
 
 
554
    * ``bzr missing --verbose`` was showing adds/removals in the wrong
 
555
      direction. (John Arbash Meinel)
 
556
 
 
557
    * ``bzr annotate`` now defaults to showing dotted revnos for merged
 
558
      revisions. It cuts them off at a depth of 12 characters, but you can
 
559
      supply ``--long`` to see the full number. You can also use
 
560
      ``--show-ids`` to display the original revision ids, rather than
 
561
      revision numbers and committer names. (John Arbash Meinel, #75637)
 
562
 
 
563
    * bzr now supports Win32 UNC path (e.g. \\HOST\path). 
 
564
      (Alexander Belchenko, #57869)
 
565
 
 
566
    * Win32-specific: output of cat, bundle and diff commands don't mangle
 
567
      line-endings (Alexander Belchenko, #55276)
 
568
 
 
569
    * Replace broken fnmatch based ignore pattern matching with custom pattern
 
570
      matcher.
 
571
      (Kent Gibson, Jan Hudec #57637)
 
572
 
 
573
    * pycurl and urllib can detect short reads at different places. Update
 
574
      the test suite to test more cases. Also detect http error code 416
 
575
      which was raised for that specific bug. Also enhance the urllib
 
576
      robustness by detecting invalid ranges (and pycurl's one by detecting
 
577
      short reads during the initial GET). (Vincent Ladeuil, #73948)
 
578
 
 
579
    * The urllib connection sharing interacts badly with urllib2
 
580
      proxy setting (the connections didn't go thru the proxy
 
581
      anymore). Defining a proper ProxyHandler solves the
 
582
      problem.  (Vincent Ladeuil, #74759)
 
583
 
 
584
    * Use urlutils to generate relative URLs, not osutils 
 
585
      (Aaron Bentley, #76229)
 
586
 
 
587
    * ``bzr status`` in a readonly directory should work without giving
 
588
      lots of errors. (John Arbash Meinel, #76299)
 
589
 
 
590
    * Mention the revisionspec topic for the revision option help.
 
591
      (Wouter van Heyst, #31663)
 
592
 
 
593
    * Allow plugins import from zip archives.
 
594
      (Alexander Belchenko, #68124)
 
595
 
 
596
 
 
597
bzr 0.13  2006-12-05
 
598
    
 
599
  No changes from 0.13rc1
 
600
    
 
601
bzr 0.13rc1  2006-11-27
 
602
 
 
603
  IMPROVEMENTS:
 
604
 
 
605
    * New command ``bzr remove-tree`` allows the removal of the working
 
606
      tree from a branch.
 
607
      (Daniel Silverstone)
 
608
 
 
609
    * urllib uses shared keep-alive connections, so http 
 
610
      operations are substantially faster.
 
611
      (Vincent Ladeuil, #53654)
 
612
 
 
613
    * ``bzr export`` allows an optional branch parameter, to export a bzr
 
614
      tree from some other url. For example:
 
615
      ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
616
      (Daniel Silverstone)
 
617
 
 
618
    * Added ``bzr help topics`` to the bzr help system. This gives a
 
619
      location for general information, outside of a specific command.
 
620
      This includes updates for ``bzr help revisionspec`` the first topic
 
621
      included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
622
 
 
623
    * WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
624
      (Andrew Bennetts)
 
625
 
 
626
    * Knit files will now cache full texts only when the size of the
 
627
      deltas is as large as the size of the fulltext. (Or after 200
 
628
      deltas, whichever comes first). This has the most benefit on large
 
629
      files with small changes, such as the inventory for a large project.
 
630
      (eg For a project with 2500 files, and 7500 revisions, it changes
 
631
      the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
632
 
 
633
  INTERNALS:
 
634
 
 
635
    * New -D option given before the command line turns on debugging output
 
636
      for particular areas.  -Derror shows tracebacks on all errors.
 
637
      (Martin Pool)
 
638
 
 
639
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
640
      and remove benchmarks that take longer than 10min to run.
 
641
      (John Arbash Meinel)
 
642
 
 
643
    * Use ``time.time()`` instead of ``time.clock()`` to decide on
 
644
      progress throttling. Because ``time.clock()`` is actually CPU time,
 
645
      so over a high-latency connection, too many updates get throttled.
 
646
      (John Arbash Meinel)
 
647
 
 
648
    * ``MemoryTransport.list_dir()`` would strip the first character for
 
649
      files or directories in root directory. (John Arbash Meinel)
 
650
  
 
651
    * New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
652
      prefix.  It disallows any access to locations above a set URL.  (Andrew
 
653
      Bennetts)
 
654
 
 
655
  BUG FIXES:
 
656
 
 
657
    * Now _KnitIndex properly decode revision ids when loading index data.
 
658
      And optimize the knit index parsing code.  (Dmitry Vasiliev, John
 
659
      Arbash Meinel)
 
660
 
 
661
    * ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
662
      without importing it. This prevented ``bzr upgrade`` from working
 
663
      unless a plugin already imported ``bzrlib.workingtree``
 
664
      (John Arbash Meinel, #70716)
 
665
 
 
666
    * Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
667
 
 
668
    * Give nicer error message when an http server returns a 403
 
669
      error code. (Vincent Ladeuil, #57644).
 
670
 
 
671
    * When a multi-range http GET request fails, try a single
 
672
      range one. If it fails too, forget about ranges. Remember that until 
 
673
      the death of the transport and propagates that to the clones.
 
674
      (Vincent Ladeuil, #62276, #62029).
 
675
 
 
676
    * Handles user/passwords supplied in url from command
 
677
      line (for the urllib implementation). Don't request already
 
678
      known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
679
 
 
680
    * _KnitIndex.add_versions() dictionary compresses revision ids as they
 
681
      are added. This fixes bug where fetching remote revisions records
 
682
      them as full references rather than integers. (John Arbash Meinel,
 
683
      #64789)
 
684
 
 
685
    * ``bzr ignore`` strips trailing slashes in patterns.
 
686
      Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
687
 
 
688
    * ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
689
 
 
690
    * mv correctly handles paths that traverse symlinks. 
 
691
      (Aaron Bentley, #66964)
 
692
 
 
693
    * Give nicer looking error messages when failing to connect over ssh.
 
694
      (John Arbash Meinel, #49172)
 
695
 
 
696
    * Pushing to a remote branch does not currently update the remote working
 
697
      tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
698
      machine now show that the working tree is out of date.
 
699
      (Cheuksan Edward Wang #48136)
 
700
 
 
701
    * Use patiencediff instead of difflib for determining deltas to insert
 
702
      into knits. This avoids the O(N^3) behavior of difflib. Patience
 
703
      diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
704
 
 
705
    * Running ``bzr log`` on nonexistent file gives an error instead of the
 
706
      entire log history. (Cheuksan Edward Wang #50793)
 
707
 
 
708
    * ``bzr cat`` can look up contents of removed or renamed files. If the
 
709
      pathname is ambiguous, i.e. the files in the old and new trees have
 
710
      different id's, the default is the file in the new tree. The user can
 
711
      use "--name-from-revision" to select the file in the old tree.
 
712
      (Cheuksan Edward Wang, #30190)
 
713
 
 
714
  TESTING:
 
715
 
 
716
    * TestingHTTPRequestHandler really handles the Range header
 
717
      (previously it was ignoring it and returning the whole file,).
 
718
 
 
719
bzr 0.12  2006-10-30
 
720
 
 
721
  INTERNALS:
 
722
 
 
723
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
724
      and remove benchmarks that take longer than 10min to run.
 
725
      (John Arbash Meinel)
 
726
  
 
727
bzr 0.12rc1  2006-10-23
 
728
 
 
729
  IMPROVEMENTS:
 
730
 
 
731
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
732
      rather than just showing a decimal revision number for revisions on the
 
733
      mainline. These revision numbers are not yet accepted as input into bzr
 
734
      commands such as log, diff etc. (Robert Collins)
 
735
 
 
736
    * revisions can now be specified using dotted-decimal revision numbers.
 
737
      For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
738
 
 
739
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
 
740
 
 
741
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
 
742
      a moderate effect on lots of actions, especially ones that have
 
743
      little to do. For example ``bzr rocks`` time is down to 116ms from
 
744
      283ms. (John Arbash Meinel)
 
745
 
 
746
    * New Registry class to provide name-to-object registry-like support,
 
747
      for example for schemes where plugins can register new classes to
 
748
      do certain tasks (e.g. log formatters). Also provides lazy registration
 
749
      to allow modules to be loaded on request. (John Arbash Meinel, Adeodato
 
750
      Simó)
 
751
 
 
752
  API INCOMPATABILITY:
 
753
  
 
754
    * LogFormatter subclasses show now expect the 'revno' parameter to 
 
755
      show() to be a string rather than an int. (Robert Collins)
 
756
 
 
757
  INTERNALS:
 
758
 
 
759
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
760
      can take a ``working_dir='foo'`` parameter, which will change directory 
 
761
      for the command. (John Arbash Meinel)
 
762
 
 
763
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
764
      around a regex, which defers compilation until first use. 
 
765
      (John Arbash Meinel)
 
766
 
 
767
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
768
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
769
      problems with system-wide installed plugins. (John Arbash Meinel)
 
770
 
 
771
    * Unique tree root ids are now supported. Newly created trees still
 
772
      use the common root id for compatibility with bzr versions before 0.12.
 
773
      (Aaron Bentley)
 
774
 
 
775
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
776
      pass in inventory.ROOT_ID if you want the default root id value.
 
777
      (Robert Collins, John Arbash Meinel)
 
778
 
 
779
    * New method ``WorkingTree.flush()`` which will write the current memory
 
780
      inventory out to disk. At the same time, read_working_inventory will
 
781
      no longer trash the current tree inventory if it has been modified within
 
782
      the current lock, and the tree will now ``flush()`` automatically on
 
783
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
784
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
785
 
 
786
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
787
      parameter will cause it to add another column to its output, which
 
788
      contains the dotted-decimal revno for each revision, as a tuple.
 
789
      (Robert Collins)
 
790
 
 
791
    * ``LogFormatter.show_merge`` is deprecated in favour of
 
792
      ``LogFormatter.show_merge_revno``. (Robert Collins)
 
793
 
 
794
  BUG FIXES:
 
795
 
 
796
    * Avoid circular imports by creating a deprecated function for
 
797
      ``bzrlib.tree.RevisionTree``. Callers should have been using
 
798
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
799
      #63360, #66349)
 
800
 
 
801
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
802
      platforms. (Martin Pool, #66356)
 
803
 
 
804
    * Don't require ``Content-Type`` in range responses. Assume they are a
 
805
      single range if ``Content-Type`` does not exist.
 
806
      (John Arbash Meinel, #62473)
 
807
 
 
808
    * bzr branch/pull no longer complain about progress bar cleanup when
 
809
      interrupted during fetch.  (Aaron Bentley, #54000)
 
810
 
 
811
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
812
      the basis inventory, rather than going through the repository. This
 
813
      allows us to have 1 inventory read, and 2 inventory writes when
 
814
      committing a new tree. (John Arbash Meinel)
 
815
 
 
816
    * When reverting, files that are not locally modified that do not exist
 
817
      in the target are deleted, not just unversioned (Aaron Bentley)
 
818
 
 
819
    * When trying to acquire a lock, don't fail immediately. Instead, try
 
820
      a few times (up to 1 hour) before timing out. Also, report why the
 
821
      lock is unavailable (John Arbash Meinel, #43521, #49556)
 
822
 
 
823
    * Leave HttpTransportBase daughter classes decides how they
 
824
      implement cloning. (Vincent Ladeuil, #61606)
 
825
 
 
826
    * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
827
 
 
828
    * If a commit fails, the commit message is stored in a file at the root of
 
829
      the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
830
      #32054)
 
831
 
 
832
  TESTING:
 
833
 
 
834
    * New test base class TestCaseWithMemoryTransport offers memory-only
 
835
      testing facilities: its not suitable for tests that need to mutate disk
 
836
      state, but most tests should not need that and should be converted to
 
837
      TestCaseWithMemoryTransport. (Robert Collins)
 
838
 
 
839
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
 
840
      option to set the BzrDir, Repository and Branch formats of the
 
841
      created objects. (Robert Collins, John Arbash Meinel)
 
842
 
 
843
bzr 0.11  2006-10-02
 
844
 
 
845
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
846
 
 
847
bzr 0.11rc2  2006-09-27
 
848
 
 
849
  BUG FIXES:
 
850
 
 
851
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
852
    
 
853
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
854
      Arbash Meinel).
 
855
 
 
856
bzr 0.11rc1  2006-09-25
 
857
 
 
858
  IMPROVEMENTS:
 
859
 
 
860
    * Knit files now wait to create their contents until the first data is
 
861
      added. The old code used to create an empty .knit and a .kndx with just
 
862
      the header. However, this caused a lot of extra round trips over sftp.
 
863
      This can change the time for ``bzr push`` to create a new remote branch
 
864
      from 160s down to 100s. This also affects ``bzr commit`` performance when
 
865
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
866
      down to 40s (John Arbash Meinel, #44692)
 
867
 
 
868
    * When an entire subtree has been deleted, commit will now report that
 
869
      just the top of the subtree has been deleted, rather than reporting
 
870
      all the individual items. (Robert Collins)
 
871
 
 
872
    * Commit performs one less XML parse. (Robert Collins)
 
873
 
 
874
    * ``bzr checkout`` now operates on readonly branches as well
 
875
      as readwrite branches. This fixes bug #39542. (Robert Collins)
 
876
 
 
877
    * ``bzr bind`` no longer synchronises history with the master branch.
 
878
      Binding should be followed by an update or push to synchronise the 
 
879
      two branches. This is closely related to the fix for bug #39542.
 
880
      (Robert Collins)
 
881
 
 
882
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
 
883
      objects.  This allows all imports to stay at the global scope, but
 
884
      modules will not actually be imported if they are not used.
 
885
      (John Arbash Meinel)
 
886
 
 
887
    * Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
 
888
      transport which will be used with the upcoming high-performance smart
 
889
      server. The new command ``bzr serve`` will invoke bzr in server mode,
 
890
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
891
      Pool)
 
892
 
 
893
    * New command ``bzr version-info`` which can be used to get a summary
 
894
      of the current state of the tree. This is especially useful as part
 
895
      of a build commands. See ``doc/version_info.txt`` for more information 
 
896
      (John Arbash Meinel)
 
897
 
 
898
  BUG FIXES:
 
899
 
 
900
    * 'bzr inventory [FILE...]' allows restricting the file list to a
 
901
      specific set of files. (John Arbash Meinel, #3631)
 
902
 
 
903
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
904
 
 
905
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
906
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
907
      reading a nested Stanza. (John Arbash Meinel)
 
908
 
 
909
    * Transform._set_mode() needs to stat the right file. 
 
910
      (John Arbash Meinel, #56549)
 
911
 
 
912
    * Raise WeaveFormatError rather than StopIteration when trying to read
 
913
      an empty Weave file. (John Arbash Meinel, #46871)
 
914
 
 
915
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
916
      (Vincent Ladeuil, #59835)
 
917
 
 
918
    * Handle boundary="" lines properly to allow access through a Squid proxy.
 
919
      (John Arbash Meinel, #57723)
 
920
 
 
921
    * revert now removes newly-added directories (Aaron Bentley, #54172)
 
922
 
 
923
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
 
924
      isn't a working tree. (David Allouche, #40679)
 
925
 
 
926
    * Give nicer error messages when a user supplies an invalid --revision
 
927
      parameter. (John Arbash Meinel, #55420)
 
928
 
 
929
    * Handle when LANG is not recognized by python. Emit a warning, but
 
930
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
931
 
 
932
    * Don't use preexec_fn on win32, as it is not supported by subprocess.
 
933
      (John Arbash Meinel)
 
934
 
 
935
    * Skip specific tests when the dependencies aren't met. This includes
 
936
      some ``setup.py`` tests when ``python-dev`` is not available, and
 
937
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
938
 
 
939
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
940
      the system. (Andrew Bennetts, John Arbash Meinel)
 
941
 
 
942
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
943
      other branch, and will not push or pull between the two branches.
 
944
      API users will need to perform a push or pull or update operation if they
 
945
      require branch synchronisation to take place. (Robert Collins, #47344)
 
946
 
 
947
    * When creating a tarball or zipfile export, export unicode names as utf-8
 
948
      paths. This may not work perfectly on all platforms, but has the best
 
949
      chance of working in the common case. (John Arbash Meinel, #56816)
 
950
 
 
951
    * When committing, only files that exist in working tree or basis tree
 
952
      may be specified (Aaron Bentley, #50793)
 
953
 
 
954
  PORTABILITY:
 
955
 
 
956
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
957
 
 
958
  INTERNALS:
 
959
 
 
960
    * TestCaseInTempDir now creates a separate directory for HOME, rather
 
961
      than having HOME set to the same location as the working directory.
 
962
      (John Arbash Meinel)
 
963
 
 
964
    * run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
 
965
      which will update os.environ inside the spawned child. It also can
 
966
      take a 'universal_newlines=True', which helps when checking the output
 
967
      of the command. (John Arbash Meinel)
 
968
 
 
969
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
 
970
      (Andrew Bennetts)
 
971
 
 
972
    * Transport.list_dir() and Transport.iter_files_recursive() should always
 
973
      return urlescaped paths. This is now tested (there were bugs in a few
 
974
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
975
 
 
976
    * New utility function symbol_versioning.deprecation_string. Returns the
 
977
      formatted string for a callable, deprecation format pair. (Robert Collins)
 
978
 
 
979
    * New TestCase helper applyDeprecated. This allows you to call a callable
 
980
      which is deprecated without it spewing to the screen, just by supplying
 
981
      the deprecation format string issued for it. (Robert Collins)
 
982
 
 
983
    * Transport.append and Transport.put have been deprecated in favor of
 
984
      .append_bytes, .append_file, .put_bytes, and .put_file. This removes the
 
985
      ambiguity in what type of object the functions take.
 
986
      Transport.non_atomic_put_{bytes,file} has also been added. Which works
 
987
      similarly to Transport.append() except for SFTP, it doesn't have a round
 
988
      trip when opening the file. Also, it provides functionality for creating
 
989
      a parent directory when trying to create a file, rather than raise
 
990
      NoSuchFile and forcing the caller to repeat their request.
 
991
      (John Arbash Meinel)
 
992
 
 
993
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
 
994
      entries by their file id. (Robert Collins)
 
995
 
 
996
    * WorkingTree.pending_merges is deprecated.  Please use the get_parent_ids
 
997
      (introduced in 0.10) method instead. (Robert Collins)
 
998
 
 
999
    * WorkingTree has a new lock_tree_write method which locks the branch for
 
1000
      read rather than write. This is appropriate for actions which only need
 
1001
      the branch data for reference rather than mutation. A new decorator
 
1002
      needs_tree_write_lock is provided in the workingtree module. Like the
 
1003
      needs_read_lock and needs_write_lock decorators this allows static 
 
1004
      declaration of the locking requirements of a function to ensure that
 
1005
      a lock is taken out for casual scripts. (Robert Collins, #54107)
 
1006
 
 
1007
    * All WorkingTree methods which write to the tree, but not to the branch
 
1008
      have been converted to use ``needs_tree_write_lock`` rather than 
 
1009
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
1010
      transform modules. This provides a modest performance improvement on 
 
1011
      metadir style trees, due to the reduce lock-acquisition, and a more
 
1012
      significant performance improvement on lightweight checkouts from 
 
1013
      remote branches, where trivial operations used to pay a significant 
 
1014
      penalty. It also provides the basis for allowing readonly checkouts.
 
1015
      (Robert Collins)
 
1016
 
 
1017
    * Special case importing the standard library 'copy' module. This shaves
 
1018
      off 40ms of startup time, while retaining compatibility. See:
 
1019
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
1020
 
 
1021
    * WorkingTree has a new parent class MutableTree which represents the 
 
1022
      specialisations of Tree which are able to be altered. (Robert Collins)
 
1023
 
 
1024
    * New methods mkdir and put_file_bytes_non_atomic on MutableTree that
 
1025
      mutate the tree and its contents. (Robert Collins)
 
1026
 
 
1027
    * Transport behaviour at the root of the URL is now defined and tested.
 
1028
      (Andrew Bennetts, Robert Collins)
 
1029
 
 
1030
  TESTING:
 
1031
 
 
1032
    * New test helper classs MemoryTree. This is typically accessed via
 
1033
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
1034
      
 
1035
    * Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
 
1036
      continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
 
1037
      Robert Collins)
 
1038
 
 
1039
    * Add a new method ``Transport.get_smart_client()``. This is provided to
 
1040
      allow upgrades to a richer interface than the VFS one provided by
 
1041
      Transport. (Andrew Bennetts, Martin Pool)
 
1042
 
 
1043
bzr 0.10  2006-08-29
 
1044
  
 
1045
  IMPROVEMENTS:
 
1046
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
1047
      tree.  (Aaron Bentley)
 
1048
  
 
1049
    * 'bzr add --file-ids-from' can be used to specify another path to use
 
1050
      for creating file ids, rather than generating all new ones. Internally,
 
1051
      the 'action' passed to smart_add_tree() can return file_ids that
 
1052
      will be used, rather than having bzrlib generate new ones.
 
1053
      (John Arbash Meinel, #55781)
 
1054
 
 
1055
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
1056
      This will cache some of the intermediate trees, and decrease the
 
1057
      setup time for benchmark tests. (John Arbash Meinel)
 
1058
 
 
1059
    * Inverse forms are provided for all boolean options.  For example,
 
1060
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
1061
 
 
1062
    * Serialize out Inventories directly, rather than using ElementTree.
 
1063
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
1064
      (Robert Collins, John Arbash Meinel)
 
1065
 
 
1066
  BUG FIXES:
 
1067
 
 
1068
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
1069
 
 
1070
    * Change LockDir so that if the lock directory doesn't exist when
 
1071
      lock_write() is called, an attempt will be made to create it.
 
1072
      (John Arbash Meinel, #56974)
 
1073
 
 
1074
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
1075
 
 
1076
    * Active FTP transport now works as intended. (ghozzy, #56472)
 
1077
 
 
1078
    * Really fix mutter() so that it won't ever raise a UnicodeError.
 
1079
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
1080
      But it is a debugging log, not a real user file.
 
1081
      (John Arbash Meinel, #56947, #53880)
 
1082
 
 
1083
    * Change Command handle to allow Unicode command and options.
 
1084
      At present we cannot register Unicode command names, so we will get
 
1085
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
1086
      But that is better than a UnicodeError + a traceback.
 
1087
      (John Arbash Meinel, #57123)
 
1088
 
 
1089
    * Handle TZ=UTC properly when reading/writing revisions.
 
1090
      (John Arbash Meinel, #55783, #56290)
 
1091
 
 
1092
    * Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
 
1093
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
1094
 
 
1095
    * External diff does the right thing for binaries even in foreign 
 
1096
      languages. (John Arbash Meinel, #56307)
 
1097
 
 
1098
    * Testament handles more cases when content is unicode. Specific bug was
 
1099
      in handling of revision properties. (John Arbash Meinel, Holger Krekel,
 
1100
      #54723)
 
1101
 
 
1102
    * The bzr selftest was failing on installed versions due to a bug in a new
 
1103
      test helper. (John Arbash Meinel, Robert Collins, #58057)
 
1104
 
 
1105
  INTERNALS:
 
1106
 
 
1107
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
1108
      which can be used to cache the conversion between utf8 and Unicode.
 
1109
      Especially helpful for some of the knit annotation code, which has to
 
1110
      convert revision ids to utf8 to annotate lines in storage.
 
1111
      (John Arbash Meinel)
 
1112
 
 
1113
    * ``setup.py`` now searches the filesystem to find all packages which
 
1114
      need to be installed. This should help make the life of packagers
 
1115
      easier. (John Arbash Meinel)
 
1116
 
 
1117
bzr 0.9.0  2006-08-11
 
1118
 
 
1119
  SURPRISES:
 
1120
 
 
1121
   * The hard-coded built-in ignore rules have been removed. There are
 
1122
     now two rulesets which are enforced. A user global one in 
 
1123
     ~/.bazaar/ignore which will apply to every tree, and the tree
 
1124
     specific one '.bzrignore'.
 
1125
     ~/.bazaar/ignore will be created if it does not exist, but with
 
1126
     a more conservative list than the old default.
 
1127
     This fixes bugs with default rules being enforced no matter what. 
 
1128
     The old list of ignore rules from bzr is available by
 
1129
     running 'bzr ignore --old-default-rules'.
 
1130
     (Robert Collins, Martin Pool, John Arbash Meinel)
 
1131
 
 
1132
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
 
1133
     to more locations than just branch locations.
 
1134
     (Aaron Bentley)
 
1135
   
 
1136
  IMPROVEMENTS:
 
1137
 
 
1138
   * The revision specifier "revno:" is extended to accept the syntax
 
1139
     revno:N:branch. For example,
 
1140
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
1141
     bzr.dev.  (Matthieu Moy)
 
1142
 
 
1143
   * Tests updates to ensure proper URL handling, UNICODE support, and
 
1144
     proper printing when the user's terminal encoding cannot display 
 
1145
     the path of a file that has been versioned.
 
1146
     ``bzr branch`` can take a target URL rather than only a local directory.
 
1147
     Branch.get_parent()/set_parent() now save a relative path if possible,
 
1148
     and normalize the parent based on root, allowing access across
 
1149
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
1150
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
1151
     #42517, #42514)
 
1152
 
 
1153
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
1154
     Use terminal width for single-line logs from ``bzr log --line`` and
 
1155
     pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
1156
     (Malone #3507)
 
1157
 
 
1158
   * On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
1159
     (Alexander Belchenko)
 
1160
 
 
1161
   * Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
1162
 
 
1163
   * Show the correct number of revisions pushed when pushing a new branch.
 
1164
     (Robert Collins).
 
1165
 
 
1166
   * 'bzr selftest' now shows a progress bar with the number of tests, and 
 
1167
     progress made. 'make check' shows tests in -v mode, to be more useful
 
1168
     for the PQM status window. (Robert Collins).
 
1169
     When using a progress bar, failed tests are printed out, rather than
 
1170
     being overwritten by the progress bar until the suite finishes.
 
1171
     (John Arbash Meinel)
 
1172
 
 
1173
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
1174
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
1175
     profile data for the individual profiled calls, allowing for fine
 
1176
     grained analysis of performance.
 
1177
     (Robert Collins, Martin Pool).
 
1178
 
 
1179
   * 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
1180
     where commit can take an appreciable time. (Robert Collins)
 
1181
 
 
1182
   * 'bzr add' is now less verbose in telling you what ignore globs were
 
1183
     matched by files being ignored. Instead it just tells you how many 
 
1184
     were ignored (because you might reasonably be expecting none to be
 
1185
     ignored). 'bzr add -v' is unchanged and will report every ignored
 
1186
     file. (Robert Collins).
 
1187
 
 
1188
   * ftp now has a test server if medusa is installed. As part of testing,
 
1189
     ftp support has been improved, including support for supplying a
 
1190
     non-standard port. (John Arbash Meinel).
 
1191
 
 
1192
   * 'bzr log --line' shows the revision number, and uses only the
 
1193
     first line of the log message (#5162, Alexander Belchenko;
 
1194
     Matthieu Moy)
 
1195
 
 
1196
   * 'bzr status' has had the --all option removed. The 'bzr ls' command
 
1197
     should be used to retrieve all versioned files. (Robert Collins)
 
1198
 
 
1199
   * 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
1200
     over email, and applied on the other end, while maintaining ancestry.
 
1201
     This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
1202
     the same way you would apply another branch.
 
1203
     (John Arbash Meinel, Aaron Bentley)
 
1204
  
 
1205
   * 'bzr whoami' can now be used to set your identity from the command line,
 
1206
     for a branch or globally.  (Robey Pointer)
 
1207
 
 
1208
   * 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
1209
     (Michael Ellerman)
 
1210
 
 
1211
   * 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
1212
     (Aaron Bentley)
 
1213
 
 
1214
   * 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
1215
     Also updates things like 'http+pycurl://' if pycurl is not present.
 
1216
     (John Arbash Meinel) (Malone #47821, #52204)
 
1217
 
 
1218
   * New env variable BZR_PROGRESS_BAR, sets the default progress bar type.
 
1219
     Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or 
 
1220
     'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
1221
 
 
1222
   * Improve the help text for 'bzr diff' to explain what various options do.
 
1223
     (John Arbash Meinel, #6391)
 
1224
 
 
1225
   * 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
1226
     revision 10. This makes -r10 more in line with what other commands do.
 
1227
     'bzr uncommit' also now saves the pending merges of the revisions that
 
1228
     were removed. So it is safe to uncommit after a merge, fix something,
 
1229
     and commit again. (John Arbash Meinel, #32526, #31426)
 
1230
 
 
1231
   * 'bzr init' now also works on remote locations.
 
1232
     (Wouter van Heyst, #48904)
 
1233
 
 
1234
   * HTTP support has been updated. When using pycurl we now support 
 
1235
     connection keep-alive, which reduces dns requests and round trips.
 
1236
     And for both urllib and pycurl we support multi-range requests, 
 
1237
     which decreases the number of round-trips. Performance results for
 
1238
     ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
1239
     http branching is now 2-3x faster, and ``bzr pull`` in an existing 
 
1240
     branch is as much as 4x faster.
 
1241
     (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
1242
 
 
1243
   * Performance improvements for sftp. Branching and pulling are now up to
 
1244
     2x faster. Utilize paramiko.readv() support for async requests if it
 
1245
     is available (paramiko > 1.6) (John Arbash Meinel)
 
1246
 
 
1247
  BUG FIXES:
 
1248
 
 
1249
    * Fix shadowed definition of TestLocationConfig that caused some 
 
1250
      tests not to run.  (#32587, Erik Bågfors, Michael Ellerman, 
 
1251
      Martin Pool)
 
1252
 
 
1253
    * Fix unnecessary requirement of sign-my-commits that it be run from
 
1254
      a working directory.  (Martin Pool, Robert Collins)
 
1255
 
 
1256
    * 'bzr push location' will only remember the push location if it succeeds
 
1257
      in connecting to the remote location. (#49742, John Arbash Meinel)
 
1258
 
 
1259
    * 'bzr revert' no longer toggles the executable bit on win32
 
1260
      (#45010, John Arbash Meinel)
 
1261
 
 
1262
    * Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
1263
    
 
1264
    * sftp tests now work correctly on win32 if you have a newer paramiko
 
1265
      (John Arbash Meinel)
 
1266
 
 
1267
    * Cleanup win32 test suite, and general cleanup of places where
 
1268
      file handles were being held open. (John Arbash Meinel)
 
1269
 
 
1270
    * When specifying filenames for 'diff -r x..y', the name of the file in the
 
1271
      working directory can be used, even if its name is different in both x
 
1272
      and y.
 
1273
 
 
1274
    * File-ids containing single- or double-quotes are handled correctly by
 
1275
      push.  (#52227, Aaron Bentley)
 
1276
 
 
1277
    * Normalize unicode filenames to ensure cross-platform consistency.
 
1278
      (John Arbash Meinel, #43689)
 
1279
 
 
1280
    * The argument parser can now handle '-' as an argument. Currently
 
1281
      no code interprets it specially (it is mostly handled as a file named 
 
1282
      '-'). But plugins, and future operations can use it.
 
1283
      (John Arbash meinel, #50984)
 
1284
 
 
1285
    * Bundles can properly read binary files with a plain '\r' in them.
 
1286
      (John Arbash Meinel, #51927)
 
1287
 
 
1288
    * Tuning iter_entries() to be more efficient (John Arbash Meinel, #5444)
 
1289
 
 
1290
    * Lots of win32 fixes (the test suite passes again).
 
1291
      (John Arbash Meinel, #50155)
 
1292
 
 
1293
    * Handle openbsd returning None for sys.getfilesystemencoding() (#41183) 
 
1294
 
 
1295
    * Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
1296
 
 
1297
    * Removals are only committed if they match the filespec (or if there is
 
1298
      no filespec).  (#46635, Aaron Bentley)
 
1299
 
 
1300
    * smart-add recurses through all supplied directories 
 
1301
      (John Arbash Meinel, #52578)
 
1302
 
 
1303
    * Make the bundle reader extra lines before and after the bundle text.
 
1304
      This allows you to parse an email with the bundle inline.
 
1305
      (John Arbash Meinel, #49182)
 
1306
 
 
1307
    * Change the file id generator to squash a little bit more. Helps when
 
1308
      working with long filenames on windows. (Also helps for unicode filenames
 
1309
      not generating hidden files). (John Arbash Meinel, #43801)
 
1310
 
 
1311
    * Restore terminal mode on C-c while reading sftp password.  (#48923, 
 
1312
      Nicholas Allen, Martin Pool)
 
1313
 
 
1314
    * Timestamps are rounded to 1ms, and revision entries can be recreated
 
1315
      exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
1316
 
 
1317
    * Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
1318
      use local paths, since it is user visible (John Arbash Meinel, #53653)
 
1319
 
 
1320
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
 
1321
      to be generated (John Arbash Meinel, #53638)
 
1322
 
 
1323
    * When reading revision properties, an empty value should be considered
 
1324
      the empty string, not None (John Arbash Meinel, #47782)
 
1325
 
 
1326
    * ``bzr diff --diff-options`` can now handle binary files being changed.
 
1327
      Also, the output is consistent when --diff-options is not supplied.
 
1328
      (John Arbash Meinel, #54651, #52930)
 
1329
 
 
1330
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
1331
 
 
1332
    * Fix Branch.get_parent() to handle the case when the parent is not 
 
1333
      accessible (John Arbash Meinel, #52976)
 
1334
 
 
1335
  INTERNALS:
 
1336
 
 
1337
    * Combine the ignore rules into a single regex rather than looping over
 
1338
      them to reduce the threshold where  N^2 behaviour occurs in operations
 
1339
      like status. (Jan Hudec, Robert Collins).
 
1340
 
 
1341
    * Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
 
1342
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
1343
 
 
1344
    * 'bzr push' should only push the ancestry of the current revision, not
 
1345
      all of the history in the repository. This is especially important for
 
1346
      shared repositories. (John Arbash Meinel)
 
1347
 
 
1348
    * bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
 
1349
      rather than randomly walking the inventories. (John Arbash Meinel)
 
1350
 
 
1351
    * Doctests are now run in temporary directories which are cleaned up when
 
1352
      they finish, rather than using special ScratchDir/ScratchBranch objects.
 
1353
      (Martin Pool)
 
1354
 
 
1355
    * Split ``check`` into separate methods on the branch and on the repository,
 
1356
      so that it can be specialized in ways that are useful or efficient for
 
1357
      different formats.  (Martin Pool, Robert Collins)
 
1358
 
 
1359
    * Deprecate Repository.all_revision_ids; most methods don't really need
 
1360
      the global revision graph but only that part leading up to a particular
 
1361
      revision.  (Martin Pool, Robert Collins)
 
1362
 
 
1363
    * Add a BzrDirFormat control_formats list which allows for control formats
 
1364
      that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
1365
      (Robert Collins, Jelmer Vernooij).
 
1366
 
 
1367
    * bzrlib.diff.external_diff can be redirected to any file-like object.
 
1368
      Uses subprocess instead of spawnvp.
 
1369
      (#4047, #48914, James Henstridge, John Arbash Meinel)
 
1370
 
 
1371
    * New command line option '--profile-imports', which will install a custom
 
1372
      importer to log time to import modules and regex compilation time to 
 
1373
      sys.stderr (John Arbash Meinel)
 
1374
 
 
1375
    * 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
 
1376
      instead. (Robert Collins)
 
1377
 
 
1378
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
1379
 
 
1380
bzr 0.8.2  2006-05-17
 
1381
  
 
1382
  BUG FIXES:
 
1383
   
 
1384
    * setup.py failed to install launchpad plugin.  (Martin Pool)
 
1385
 
 
1386
bzr 0.8.1  2006-05-16
 
1387
 
 
1388
  BUG FIXES:
 
1389
 
 
1390
    * Fix failure to commit a merge in a checkout.  (Martin Pool, 
 
1391
      Robert Collins, Erik Bågfors, #43959)
 
1392
 
 
1393
    * Nicer messages from 'commit' in the case of renames, and correct
 
1394
      messages when a merge has occured. (Robert Collins, Martin Pool)
 
1395
 
 
1396
    * Separate functionality from assert statements as they are skipped in
 
1397
      optimized mode of python. Add the same check to pending merges.
 
1398
      (#44443, Olaf Conradi)
 
1399
 
 
1400
  CHANGES:
 
1401
 
 
1402
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
1403
 
 
1404
    * Add info on standalone branches without a working tree.
 
1405
      (#44155, Olaf Conradi)
 
1406
 
 
1407
    * Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
 
1408
 
 
1409
  CHANGES:
 
1410
 
 
1411
    * Make editor invocation comply with Debian Policy. First check
 
1412
      environment variables VISUAL and EDITOR, then try editor from
 
1413
      alternatives system. If that all fails, fall back to the pre-defined
 
1414
      list of editors. (#42904, Olaf Conradi)
 
1415
 
 
1416
  NEW FEATURES:
 
1417
 
 
1418
    * New 'register-branch' command registers a public branch into 
 
1419
      Launchpad.net, where it can be associated with bugs, etc.
 
1420
      (Martin Pool, Bjorn Tillenius, Robert Collins)
 
1421
 
 
1422
  INTERNALS:
 
1423
 
 
1424
    * New public api in InventoryEntry - 'describe_change(old, new)' which
 
1425
      provides a human description of the changes between two old and
 
1426
      new. (Robert Collins, Martin Pool)
 
1427
 
 
1428
  TESTING:
 
1429
 
 
1430
    * Fix test case for bzr info in upgrading a standalone branch to metadir,
 
1431
      uses bzrlib api now. (Olaf Conradi)
 
1432
 
 
1433
bzr 0.8  2006-05-08
 
1434
 
 
1435
  NOTES WHEN UPGRADING:
 
1436
 
 
1437
    Release 0.8 of bzr introduces a new format for history storage, called
 
1438
    'knit', as an evolution of to the 'weave' format used in 0.7.  Local 
 
1439
    and remote operations are faster using knits than weaves.  Several
 
1440
    operations including 'init', 'init-repo', and 'upgrade' take a 
 
1441
    --format option that controls this.  Branching from an existing branch
 
1442
    will keep the same format.
 
1443
 
 
1444
    It is possible to merge, pull and push between branches of different
 
1445
    formats but this is slower than moving data between homogenous
 
1446
    branches.  It is therefore recommended (but not required) that you
 
1447
    upgrade all branches for a project at the same time.  Information on
 
1448
    formats is shown by 'bzr info'.
 
1449
 
 
1450
    bzr 0.8 now allows creation of 'repositories', which hold the history 
 
1451
    of files and revisions for several branches.  Previously bzr kept all
 
1452
    the history for a branch within the .bzr directory at the root of the
 
1453
    branch, and this is still the default.  To create a repository, use
 
1454
    the new 'bzr init-repo' command.  Branches exist as directories under
 
1455
    the repository and contain just a small amount of information
 
1456
    indicating the current revision of the branch.
 
1457
 
 
1458
    bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
1459
    subversion.  Checkouts are associated with a branch (optionally in a
 
1460
    repository), which contains all the historical information.  The
 
1461
    result is that a checkout can be deleted without losing any
 
1462
    already-committed revisions.  A new 'update' command is also available. 
 
1463
 
 
1464
    Repositories and checkouts are not supported with the 0.7 storage
 
1465
    format.  To use them you must upgrad to either knits, or to the
 
1466
    'metaweave' format, which uses weaves but changes the .bzr directory
 
1467
    arrangement.
 
1468
    
 
1469
 
 
1470
  IMPROVEMENTS:
 
1471
 
 
1472
    * Sftp paths can now be relative, or local, according to the lftp
 
1473
      convention. Paths now take the form:
 
1474
      sftp://user:pass@host:port/~/relative/path
 
1475
      or
 
1476
      sftp://user:pass@host:port/absolute/path
 
1477
 
 
1478
    * The FTP transport now tries to reconnect after a temporary
 
1479
      failure. ftp put is made atomic. (Matthieu Moy)
 
1480
 
 
1481
    * The FTP transport now maintains a pool of connections, and
 
1482
      reuses them to avoid multiple connections to the same host (like
 
1483
      sftp did). (Daniel Silverstone)
 
1484
 
 
1485
    * The bzr_man.py file has been removed. To create the man page now,
 
1486
      use ./generate_docs.py man. The new program can also create other files.
 
1487
      Run "python generate_docs.py --help" for usage information. (Hans
 
1488
      Ulrich Niedermann & James Blackwell).
 
1489
 
 
1490
    * Man Page now gives full help (James Blackwell). Help also updated to 
 
1491
      reflect user config now being stored in .bazaar (Hans Ulrich
 
1492
      Niedermann)
 
1493
 
 
1494
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
1495
 
 
1496
    * Pull now accepts a --revision argument (Erik Bågfors)
 
1497
 
 
1498
    * 'bzr re-sign' now allows multiple revisions to be supplied on the command
 
1499
      line. You can now use the following command to sign all of your old
 
1500
      commits::
 
1501
 
 
1502
        find .bzr/revision-store// -name my@email-* \
 
1503
          | sed 's/.*\/\/..\///' \
 
1504
          | xargs bzr re-sign
 
1505
 
 
1506
    * Upgrade can now upgrade over the network. (Robert Collins)
 
1507
 
 
1508
    * Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
1509
      behaviour.  By default they will cache history in the checkout, but
 
1510
      with --lightweight almost all data is kept in the master branch.
 
1511
      (Robert Collins)
 
1512
 
 
1513
    * 'revert' unversions newly-versioned files, instead of deleting them.
 
1514
 
 
1515
    * 'merge' is more robust.  Conflict messages have changed.
 
1516
 
 
1517
    * 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
1518
      '.moved'.
 
1519
 
 
1520
    * Default log format can be set in configuration and plugins can register
 
1521
      their own formatters. (Erik Bågfors)
 
1522
 
 
1523
    * New 'reconcile' command will check branch consistency and repair indexes
 
1524
      that can become out of sync in pre 0.8 formats. (Robert Collins,
 
1525
      Daniel Silverstone)
 
1526
 
 
1527
    * New 'bzr init --format' and 'bzr upgrade --format' option to control 
 
1528
      what storage format is created or produced.  (Robert Collins, 
 
1529
      Martin Pool)
 
1530
 
 
1531
    * Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
1532
 
 
1533
    * New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
1534
 
 
1535
    * New 'init-repository' command, plus support for repositories in 'init'
 
1536
      and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
1537
 
 
1538
    * Improve output of 'info' command. Show all relevant locations related to
 
1539
      working tree, branch and repository. Use kibibytes for binary quantities.
 
1540
      Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
1541
      work on branches, repositories and remote locations.  Show locations
 
1542
      relative to the shared repository, if applicable.  Show locking status
 
1543
      of locations.  (Olaf Conradi)
 
1544
 
 
1545
    * Diff and merge now safely handle binary files. (Aaron Bentley)
 
1546
 
 
1547
    * 'pull' and 'push' now normalise the revision history, so that any two
 
1548
      branches with the same tip revision will have the same output from 'log'.
 
1549
      (Robert Collins)
 
1550
 
 
1551
    * 'merge' accepts --remember option to store parent location, like 'push'
 
1552
      and 'pull'. (Olaf Conradi)
 
1553
 
 
1554
    * bzr status and diff when files given as arguments do not exist
 
1555
      in the relevant trees.  (Martin Pool, #3619)
 
1556
 
 
1557
    * Add '.hg' to the default ignore list.  (Martin Pool)
 
1558
 
 
1559
    * 'knit' is now the default disk format. This improves disk performance and
 
1560
      utilization, increases incremental pull performance, robustness with SFTP
 
1561
      and allows checkouts over SFTP to perform acceptably. 
 
1562
      The initial Knit code was contributed by Johan Rydberg based on a
 
1563
      specification by Martin Pool.
 
1564
      (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
1565
 
 
1566
    * New tool to generate all-in-one html version of the manual.  (Alexander
 
1567
      Belchenko)
 
1568
 
 
1569
    * Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
1570
      to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
1571
 
 
1572
    * New option 'diff --prefix' to control how files are named in diff
 
1573
      output, with shortcuts '-p0' and '-p1' corresponding to the options for 
 
1574
      GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
1575
 
 
1576
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
 
1577
 
 
1578
    * If bzr shows an unexpected revision-history after pulling (perhaps due
 
1579
      to a reweave) it can now be corrected by 'bzr reconcile'.
 
1580
      (Robert Collins)
 
1581
 
 
1582
  CHANGES:
 
1583
 
 
1584
    * Commit is now verbose by default, and shows changed filenames and the 
 
1585
      new revision number.  (Robert Collins, Martin Pool)
 
1586
 
 
1587
    * Unify 'mv', 'move', 'rename'.  (#5379, Matthew Fuller)
 
1588
 
 
1589
    * 'bzr -h' shows help.  (#35940, Martin Pool, Ian Bicking)
 
1590
 
 
1591
    * Make 'pull' and 'push' remember location on failure using --remember.
 
1592
      (Olaf Conradi)
 
1593
 
 
1594
    * For compatibility, make old format for using weaves inside metadir
 
1595
      available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
1596
      Clean up help for option --format in commands 'init', 'init-repo' and
 
1597
      'upgrade'.  (Olaf Conradi)
 
1598
 
 
1599
  INTERNALS:
 
1600
  
 
1601
    * The internal storage of history, and logical branch identity have now
 
1602
      been split into Branch, and Repository. The common locking and file 
 
1603
      management routines are now in bzrlib.lockablefiles. 
 
1604
      (Aaron Bentley, Robert Collins, Martin Pool)
 
1605
 
 
1606
    * Transports can now raise DependencyNotPresent if they need a library
 
1607
      which is not installed, and then another implementation will be 
 
1608
      tried.  (Martin Pool)
 
1609
 
 
1610
    * Remove obsolete (and no-op) `decode` parameter to `Transport.get`.  
 
1611
      (Martin Pool)
 
1612
 
 
1613
    * Using Tree Transform for merge, revert, tree-building
 
1614
 
 
1615
    * WorkingTree.create, Branch.create, WorkingTree.create_standalone,
 
1616
      Branch.initialize are now deprecated. Please see BzrDir.create_* for
 
1617
      replacement API's. (Robert Collins)
 
1618
 
 
1619
    * New BzrDir class represents the .bzr control directory and manages
 
1620
      formatting issues. (Robert Collins)
 
1621
 
 
1622
    * New repository.InterRepository class encapsulates Repository to 
 
1623
      Repository actions and allows for clean selection of optimised code
 
1624
      paths. (Robert Collins)
 
1625
 
 
1626
    * bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
 
1627
      please use 'branch.fetch' or 'repository.fetch' depending on your
 
1628
      needs. (Robert Collins)
 
1629
 
 
1630
    * deprecated methods now have a 'is_deprecated' flag on them that can
 
1631
      be checked, if you need to determine whether a given callable is 
 
1632
      deprecated at runtime. (Robert Collins)
 
1633
 
 
1634
    * Progress bars are now nested - see
 
1635
      bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
 
1636
 
 
1637
    * New API call get_format_description() for each type of format.
 
1638
      (Olaf Conradi)
 
1639
 
 
1640
    * Changed branch.set_parent() to accept None to remove parent.
 
1641
      (Olaf Conradi)
 
1642
 
 
1643
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
1644
 
 
1645
    * WorkingTree.branch is now a read only property.  (Robert Collins)
 
1646
 
 
1647
    * bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
 
1648
      can be None or a factory that will create a progress bar. This is
 
1649
      useful for testing or for overriding the bzrlib.progress heuristic.
 
1650
      (Robert Collins)
 
1651
 
 
1652
    * New API method get_physical_lock_status() to query locks present on a
 
1653
      transport.  (Olaf Conradi)
 
1654
 
 
1655
    * Repository.reconcile now takes a thorough keyword parameter to allow
 
1656
      requesting an indepth reconciliation, rather than just a data-loss 
 
1657
      check. (Robert Collins)
 
1658
 
 
1659
    * bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
 
1660
      the user for yes/no style input. (Robert Collins)
 
1661
 
 
1662
  TESTING:
 
1663
 
 
1664
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
1665
      for testing SFTP protocol support. (Robey Pointer)
 
1666
 
 
1667
    * Branch formats are now tested once per implementation (see bzrlib.
 
1668
      tests.branch_implementations. This is analagous to the transport
 
1669
      interface tests, and has been followed up with working tree,
 
1670
      repository and BzrDir tests. (Robert Collins)
 
1671
 
 
1672
    * New test base class TestCaseWithTransport provides a transport aware
 
1673
      test environment, useful for testing any transport-interface using
 
1674
      code. The test suite option --transport controls the transport used
 
1675
      by this class (when its not being used as part of implementation
 
1676
      contract testing). (Robert Collins)
 
1677
 
 
1678
    * Close logging handler on disabling the test log. This will remove the
 
1679
      handler from the internal list inside python's logging module,
 
1680
      preventing shutdown from closing it twice.  (Olaf Conradi)
 
1681
 
 
1682
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
1683
 
 
1684
    * run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
 
1685
      will provide String("foo") to the command as its stdin.
 
1686
 
 
1687
bzr 0.7 2006-01-09
 
1688
 
 
1689
  CHANGES:
 
1690
 
 
1691
    * .bzrignore is excluded from exports, on the grounds that it's a bzr 
 
1692
      internal-use file and may not be wanted.  (Jamie Wilkinson)
 
1693
 
 
1694
    * The "bzr directories" command were removed in favor of the new
 
1695
      --kind option to the "bzr inventory" command.  To list all 
 
1696
      versioned directories, now use "bzr inventory --kind directory".  
 
1697
      (Johan Rydberg)
 
1698
 
 
1699
    * Under Windows configuration directory is now %APPDATA%\bazaar\2.0
 
1700
      by default. (John Arbash Meinel)
 
1701
 
 
1702
    * The parent of Bzr configuration directory can be set by BZR_HOME
 
1703
      environment variable. Now the path for it is searched in BZR_HOME, then
 
1704
      in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
 
1705
      points to C:\Documents and Settings\User Name\Application Data), HOME.
 
1706
      (John Arbash Meinel)
 
1707
 
 
1708
    * Plugins with the same name in different directories in the bzr plugin
 
1709
      path are no longer loaded: only the first successfully loaded one is
 
1710
      used. (Robert Collins)
 
1711
 
 
1712
    * Use systems' external ssh command to open connections if possible.  
 
1713
      This gives better integration with user settings such as ProxyCommand.
 
1714
      (James Henstridge)
 
1715
 
 
1716
    * Permissions on files underneath .bzr/ are inherited from the .bzr 
 
1717
      directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
1718
      will mean that future file will be created with group write permissions.
 
1719
 
 
1720
    * configure.in and config.guess are no longer in the builtin default 
 
1721
      ignore list.
 
1722
 
 
1723
    * '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
1724
      files.  (John Arbash Meinel, Martin Pool)
 
1725
 
 
1726
  IMPROVEMENTS:
 
1727
 
 
1728
    * "bzr INIT dir" now initializes the specified directory, and creates 
 
1729
      it if it does not exist.  (John Arbash Meinel)
 
1730
 
 
1731
    * New remerge command (Aaron Bentley)
 
1732
 
 
1733
    * Better zsh completion script.  (Steve Borho)
 
1734
 
 
1735
    * 'bzr diff' now returns 1 when there are changes in the working 
 
1736
      tree. (Robert Collins)
 
1737
 
 
1738
    * 'bzr push' now exists and can push changes to a remote location. 
 
1739
      This uses the transport infrastructure, and can store the remote
 
1740
      location in the ~/.bazaar/branches.conf configuration file.
 
1741
      (Robert Collins)
 
1742
 
 
1743
    * Test directories are only kept if the test fails and the user requests
 
1744
      that they be kept.
 
1745
 
 
1746
    * Tweaks to short log printing
 
1747
 
 
1748
    * Added branch nicks, new nick command, printing them in log output. 
 
1749
      (Aaron Bentley)
 
1750
 
 
1751
    * If $BZR_PDB is set, pop into the debugger when an uncaught exception 
 
1752
      occurs.  (Martin Pool)
 
1753
 
 
1754
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
1755
      the same as Subversion.  (Martin Pool)
 
1756
 
 
1757
    * New ftp transport support (on ftplib), for ftp:// and aftp:// 
 
1758
      URLs.  (Daniel Silverstone)
 
1759
 
 
1760
    * Commit editor temporary files now start with 'bzr_log.', to allow 
 
1761
      text editors to match the file name and set up appropriate modes or 
 
1762
      settings.  (Magnus Therning)
 
1763
 
 
1764
    * Improved performance when integrating changes from a remote weave.  
 
1765
      (Goffredo Baroncelli)
 
1766
 
 
1767
    * Sftp will attempt to cache the connection, so it is more likely that
 
1768
      a connection will be reused, rather than requiring multiple password
 
1769
      requests.
 
1770
 
 
1771
    * bzr revno now takes an optional argument indicating the branch whose
 
1772
      revno should be printed.  (Michael Ellerman)
 
1773
 
 
1774
    * bzr cat defaults to printing the last version of the file.  
 
1775
      (#3632, Matthieu Moy)
 
1776
 
 
1777
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof 
 
1778
      profiler.  (Denys Duchier)
 
1779
 
 
1780
    * Faster commits by reading only the headers of affected weave files. 
 
1781
      (Denys Duchier)
 
1782
 
 
1783
    * 'bzr add' now takes a --dry-run parameter which shows you what would be
 
1784
      added, but doesn't actually add anything. (Michael Ellerman)
 
1785
 
 
1786
    * 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
1787
      lists the specific files.  (Aaron Bentley)
 
1788
 
 
1789
    * 'bzr missing' now supports displaying changes in diverged trees and can
 
1790
      be limited to show what either end of the comparison is missing.
 
1791
      (Aaron Bently, with a little prompting from Daniel Silverstone)
 
1792
 
 
1793
  BUG FIXES:
 
1794
 
 
1795
    * SFTP can walk up to the root path without index errors. (Robert Collins)
 
1796
 
 
1797
    * Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
1798
 
 
1799
    * Error when run with -OO
 
1800
 
 
1801
    * Fix bug in reporting http errors that don't have an http error code.
 
1802
      (Martin Pool)
 
1803
 
 
1804
    * Handle more cases of pipe errors in display commands
 
1805
 
 
1806
    * Change status to 3 for all errors
 
1807
 
 
1808
    * Files that are added and unlinked before committing are completely
 
1809
      ignored by diff and status
 
1810
 
 
1811
    * Stores with some compressed texts and some uncompressed texts are now
 
1812
      able to be used. (John A Meinel)
 
1813
 
 
1814
    * Fix for bzr pull failing sometimes under windows
 
1815
 
 
1816
    * Fix for sftp transport under windows when using interactive auth
 
1817
 
 
1818
    * Show files which are both renamed and modified as such in 'bzr 
 
1819
      status' output.  (#4503, Daniel Silverstone)
 
1820
 
 
1821
    * Make annotate cope better with revisions committed without a valid 
 
1822
      email address.  (Marien Zwart)
 
1823
 
 
1824
    * Fix representation of tab characters in commit messages.  (Harald 
 
1825
      Meland)
 
1826
 
 
1827
    * List of plugin directories in BZR_PLUGIN_PATH environment variable is
 
1828
      now parsed properly under Windows. (Alexander Belchenko)
 
1829
 
 
1830
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
1831
 
 
1832
    * Keep a cached copy of the basis inventory to speed up operations 
 
1833
      that need to refer to it.  (Johan Rydberg, Martin Pool)
 
1834
 
 
1835
    * Fix bugs in bzr status display of non-ascii characters.  (Martin 
 
1836
      Pool)
 
1837
 
 
1838
    * Remove Makefile.in from default ignore list.  (#6413, Tollef Fog 
 
1839
      Heen, Martin Pool)
 
1840
 
 
1841
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
1842
 
 
1843
  TESTING:
 
1844
 
 
1845
    * Fix selftest asking for passwords when there are no SFTP keys.  
 
1846
      (Robey Pointer, Jelmer Vernooij) 
 
1847
 
 
1848
    * Fix selftest run with 'python -O'.  (Martin Pool)
 
1849
 
 
1850
    * Fix HTTP tests under Windows. (John Arbash Meinel)
 
1851
 
 
1852
    * Make tests work even if HOME is not set (Aaron Bentley)
 
1853
 
 
1854
    * Updated build_tree to use fixed line-endings for tests which read 
 
1855
      the file cotents and compare. Make some tests use this to pass under
 
1856
      Windows. (John Arbash Meinel)
 
1857
 
 
1858
    * Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
1859
 
 
1860
    * Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
1861
      (John Arbash Meinel)
 
1862
 
 
1863
    * Use terminal width to align verbose test output.  (Martin Pool)
 
1864
 
 
1865
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
1866
      If adding a new test script please add that to
 
1867
      bzrlib.tests.blackbox.__init__. (Robert Collins)
 
1868
 
 
1869
    * Much better error message if one of the test suites can't be 
 
1870
      imported.  (Martin Pool)
 
1871
 
 
1872
    * Make check now runs the test suite twice - once with the default locale,
 
1873
      and once with all locales forced to C, to expose bugs. This is not 
 
1874
      trivially done within python, so for now its only triggered by running
 
1875
      Make check. Integrators and packagers who wish to check for full 
 
1876
      platform support should run 'make check' to test the source.
 
1877
      (Robert Collins)
 
1878
 
 
1879
    * Tests can now run TestSkipped if they can't execute for any reason.
 
1880
      (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
1881
      reasons - see the wiki spec ImprovingBzrTestSuite).
 
1882
 
 
1883
    * Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
1884
      paths for the transport tests. Introduce blackbox remote sftp tests that
 
1885
      test the same permutations. (Robert Collins, Robey Pointer)
 
1886
 
 
1887
    * Transport implementation tests are now independent of the local file
 
1888
      system, which allows tests for esoteric transports, and for features
 
1889
      not available in the local file system. They also repeat for variations
 
1890
      on the URL scheme that can introduce issues in the transport code,
 
1891
      see bzrlib.transport.TransportTestProviderAdapter() for this.
 
1892
      (Robert Collins).
 
1893
 
 
1894
    * TestCase.build_tree uses the transport interface to build trees, pass
 
1895
      in a transport parameter to give it an existing connection.
 
1896
      (Robert Collins).
 
1897
 
 
1898
  INTERNALS:
 
1899
 
 
1900
    * WorkingTree.pull has been split across Branch and WorkingTree,
 
1901
      to allow Branch only pulls. (Robert Collins)
 
1902
 
 
1903
    * commands.display_command now returns the result of the decorated 
 
1904
      function. (Robert Collins)
 
1905
 
 
1906
    * LocationConfig now has a set_user_option(key, value) call to save
 
1907
      a setting in its matching location section (a new one is created
 
1908
      if needed). (Robert Collins)
 
1909
 
 
1910
    * Branch has two new methods, get_push_location and set_push_location
 
1911
      to respectively, get and set the push location. (Robert Collins)
 
1912
 
 
1913
    * commands.register_command now takes an optional flag to signal that
 
1914
      the registrant is planning to decorate an existing command. When 
 
1915
      given multiple plugins registering a command is not an error, and
 
1916
      the original command class (whether built in or a plugin based one) is
 
1917
      returned to the caller. There is a new error 'MustUseDecorated' for
 
1918
      signalling when a wrapping command should switch to the original
 
1919
      version. (Robert Collins)
 
1920
 
 
1921
    * Some option parsing errors will raise 'BzrOptionError', allowing 
 
1922
      granular detection for decorating commands. (Robert Collins).
 
1923
 
 
1924
    * Branch.read_working_inventory has moved to
 
1925
      WorkingTree.read_working_inventory. This necessitated changes to
 
1926
      Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
 
1927
      as well. To make it clear that a WorkingTree cannot always be obtained
 
1928
      Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
 
1929
      be obtained. (Robert Collins)
 
1930
 
 
1931
    * All pending merges operations from Branch are now on WorkingTree.
 
1932
      (Robert Collins)
 
1933
 
 
1934
    * The follow operations from Branch have moved to WorkingTree:
 
1935
      add()
 
1936
      commit()
 
1937
      move()
 
1938
      rename_one()
 
1939
      unknowns()
 
1940
      (Robert Collins)
 
1941
 
 
1942
    * bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
 
1943
 
 
1944
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
1945
 
 
1946
    * Rename selftests to `bzrlib.tests.test_foo`.  (John A Meinel, Martin 
 
1947
      Pool)
 
1948
 
 
1949
    * bzrlib.plugin.all_plugins has been changed from an attribute to a 
 
1950
      query method. (Robert Collins)
 
1951
 
 
1952
    * New options to read only the table-of-contents of a weave.  
 
1953
      (Denys Duchier)
 
1954
 
 
1955
    * Raise NoSuchFile when someone tries to add a non-existant file.
 
1956
      (Michael Ellerman)
 
1957
 
 
1958
    * Simplify handling of DivergedBranches in cmd_pull().
 
1959
      (Michael Ellerman)
 
1960
                   
 
1961
   
 
1962
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
1963
      is exposed as Branch().control_files. Also this has been altered with the
 
1964
      controlfile pre/suffix replaced by simple method names like 'get' and
 
1965
      'put'. (Aaron Bentley, Robert Collins).
 
1966
 
 
1967
    * Deprecated functions and methods can now be marked as such using the 
 
1968
      bzrlib.symbol_versioning module. Marked method have their docstring
 
1969
      updated and will issue a DeprecationWarning using the warnings module
 
1970
      when they are used. (Robert Collins)
 
1971
 
 
1972
    * bzrlib.osutils.safe_unicode now exists to provide parameter coercion
 
1973
      for functions that need unicode strings. (Robert Collins)
 
1974
 
 
1975
bzr 0.6 2005-10-28
 
1976
 
 
1977
  IMPROVEMENTS:
 
1978
  
 
1979
    * pull now takes --verbose to show you what revisions are added or removed
 
1980
      (John A Meinel)
 
1981
 
 
1982
    * merge now takes a --show-base option to include the base text in
 
1983
      conflicts.
 
1984
      (Aaron Bentley)
 
1985
 
 
1986
    * The config files are now read using ConfigObj, so '=' should be used as
 
1987
      a separator, not ':'.
 
1988
      (Aaron Bentley)
 
1989
 
 
1990
    * New 'bzr commit --strict' option refuses to commit if there are 
 
1991
      any unknown files in the tree.  To commit, make sure all files are 
 
1992
      either ignored, added, or deleted.  (Michael Ellerman)
 
1993
 
 
1994
    * The config directory is now ~/.bazaar, and there is a single file 
 
1995
      ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
1996
      (Robert Collins)
 
1997
 
 
1998
    * 'bzr add' no longer takes a --verbose option, and a --quiet option
 
1999
      has been added that suppresses all output.
 
2000
 
 
2001
    * Improved zsh completion support in contrib/zsh, from Clint
 
2002
      Adams.
 
2003
 
 
2004
    * Builtin 'bzr annotate' command, by Martin Pool with improvements from 
 
2005
      Goffredo Baroncelli.
 
2006
    
 
2007
    * 'bzr check' now accepts -v for verbose reporting, and checks for
 
2008
      ghosts in the branch. (Robert Collins)
 
2009
 
 
2010
    * New command 're-sign' which will regenerate the gpg signature for 
 
2011
      a revision. (Robert Collins)
 
2012
 
 
2013
    * If you set check_signatures=require for a path in 
 
2014
      ~/.bazaar/branches.conf then bzr will invoke your
 
2015
      gpg_signing_command (defaults to gpg) and record a digital signature
 
2016
      of your commit. (Robert Collins)
 
2017
 
 
2018
    * New sftp transport, based on Paramiko.  (Robey Pointer)
 
2019
 
 
2020
    * 'bzr pull' now accepts '--clobber' which will discard local changes
 
2021
      and make this branch identical to the source branch. (Robert Collins)
 
2022
 
 
2023
    * Just give a quieter warning if a plugin can't be loaded, and 
 
2024
      put the details in .bzr.log.  (Martin Pool)
 
2025
 
 
2026
    * 'bzr branch' will now set the branch-name to the last component of the
 
2027
      output directory, if one was supplied.
 
2028
 
 
2029
    * If the option 'post_commit' is set to one (or more) python function
 
2030
      names (must be in the bzrlib namespace), then they will be invoked
 
2031
      after the commit has completed, with the branch and revision_id as
 
2032
      parameters. (Robert Collins)
 
2033
 
 
2034
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
2035
 
 
2036
    * --merge-type weave is now supported for file contents.  Tree-shape
 
2037
      changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
2038
 
 
2039
    * 'bzr check' allows the first revision on revision-history to have
 
2040
      parents - something that is expected for cheap checkouts, and occurs
 
2041
      when conversions from baz do not have all history.  (Robert Collins).
 
2042
 
 
2043
   * 'bzr merge' can now graft unrelated trees together, if your specify
 
2044
     0 as a base. (Aaron Bentley)
 
2045
 
 
2046
   * 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
2047
     (Aaron Bentley)
 
2048
 
 
2049
    * Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
2050
 
 
2051
   * 'bzr merge --reprocess' minimizes conflicts
 
2052
 
 
2053
  TESTING:
 
2054
 
 
2055
    * The 'bzr selftest --pattern' option for has been removed, now 
 
2056
      test specifiers on the command line can be simple strings, or 
 
2057
      regexps, or both. (Robert Collins)
 
2058
 
 
2059
    * Passing -v to selftest will now show the time each test took to 
 
2060
      complete, which will aid in analysing performance regressions and
 
2061
      related questions. (Robert Collins)
 
2062
 
 
2063
    * 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
2064
      is given. (Martin Pool)
 
2065
 
 
2066
    * There is a new method for TestCaseInTempDir, assertFileEqual, which
 
2067
      will check that a given content is equal to the content of the named
 
2068
      file. (Robert Collins)
 
2069
 
 
2070
    * Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
2071
      (Martin Pool)
 
2072
 
 
2073
  INTERNALS:
 
2074
 
 
2075
    * New 'testament' command and concept for making gpg-signatures 
 
2076
      of revisions that are not tied to a particular internal
 
2077
      representation.  (Martin Pool).
 
2078
 
 
2079
    * Per-revision properties ('revprops') as key-value associated 
 
2080
      strings on each revision created when the revision is committed.
 
2081
      Intended mainly for the use of external tools.  (Martin Pool).
 
2082
 
 
2083
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
2084
      (Robert Collins)
 
2085
 
 
2086
    * Improved command line option definitions allowing explanations
 
2087
      for individual options, among other things.  Contributed by 
 
2088
      Magnus Therning.
 
2089
 
 
2090
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
2091
      Configuration is now done via the config.Config interface:
 
2092
      Depending on whether you have a Branch, a Location or no information
 
2093
      available, construct a ``*Config``, and use its ``signature_checking``,
 
2094
      ``username`` and ``user_email`` methods. (Robert Collins)
 
2095
 
 
2096
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
2097
      they are made available for other plugins to use. You should not 
 
2098
      import other plugins during the __init__ of your plugin though, as 
 
2099
      no ordering is guaranteed, and the plugins directory is not on the
 
2100
      python path. (Robert Collins)
 
2101
 
 
2102
    * Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
2103
      no longer takes an inventory, rather it takes an option branch
 
2104
      parameter, and if None is given will open the branch at basedir 
 
2105
      implicitly. (Robert Collins)
 
2106
 
 
2107
    * Cleaner exception structure and error reporting.  Suggested by 
 
2108
      Scott James Remnant.  (Martin Pool)
 
2109
 
 
2110
    * Branch.remove has been moved to WorkingTree, which has also gained
 
2111
      lock_read, lock_write and unlock methods for convenience. (Robert
 
2112
      Collins)
 
2113
 
 
2114
    * Two decorators, needs_read_lock and needs_write_lock have been added
 
2115
      to the branch module. Use these to cause a function to run in a
 
2116
      read or write lock respectively. (Robert Collins)
 
2117
 
 
2118
    * Branch.open_containing now returns a tuple (Branch, relative-path),
 
2119
      which allows direct access to the common case of 'get me this file
 
2120
      from its branch'. (Robert Collins)
 
2121
 
 
2122
    * Transports can register using register_lazy_transport, and they 
 
2123
      will be loaded when first used.  (Martin Pool)
 
2124
 
 
2125
    * 'pull' has been factored out of the command as WorkingTree.pull().
 
2126
      A new option to WorkingTree.pull has been added, clobber, which will
 
2127
      ignore diverged history and pull anyway.
 
2128
      (Robert Collins)
 
2129
 
 
2130
    * config.Config has a 'get_user_option' call that accepts an option name.
 
2131
      This will be looked up in branches.conf and bazaar.conf as normal.
 
2132
      It is intended that this be used by plugins to support options - 
 
2133
      options of built in programs should have specific methods on the config.
 
2134
      (Robert Collins)
 
2135
 
 
2136
    * merge.merge_inner now has tempdir as an optional parameter. (Robert
 
2137
      Collins)
 
2138
 
 
2139
    * Tree.kind is not recorded at the top level of the hierarchy, as it was
 
2140
      missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
2141
      (Robert Collins)
 
2142
 
 
2143
    * WorkingTree.__del__ has been removed, it was non deterministic and not 
 
2144
      doing what it was intended to. See WorkingTree.__init__ for a comment
 
2145
      about future directions. (Robert Collins/Martin Pool)
 
2146
 
 
2147
    * bzrlib.transport.http has been modified so that only 404 urllib errors
 
2148
      are returned as NoSuchFile. Other exceptions will propogate as normal.
 
2149
      This allows debuging of actual errors. (Robert Collins)
 
2150
 
 
2151
    * bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
2152
      to apis like 'put', 'get' and 'has'. This is to provide consistent
 
2153
      behaviour - it operates on url's only. (Robert Collins)
 
2154
 
 
2155
    * Transports can register using register_lazy_transport, and they 
 
2156
      will be loaded when first used.  (Martin Pool)
 
2157
 
 
2158
    * 'merge_flex' no longer calls conflict_handler.finalize(), instead that
 
2159
      is called by merge_inner. This is so that the conflict count can be 
 
2160
      retrieved (and potentially manipulated) before returning to the caller
 
2161
      of merge_inner. Likewise 'merge' now returns the conflict count to the
 
2162
      caller. (Robert Collins)
 
2163
 
 
2164
    * 'revision.revision_graph can handle having only partial history for
 
2165
      a revision - that is no revisions in the graph with no parents.
 
2166
      (Robert Collins).
 
2167
 
 
2168
    * New builtins.branch_files uses the standard file_list rules to produce
 
2169
      a branch and a list of paths, relative to that branch (Aaron Bentley)
 
2170
 
 
2171
    * New TestCase.addCleanup facility.
 
2172
 
 
2173
    * New bzrlib.version_info tuple (similar to sys.version_info), which can
 
2174
      be used by programs importing bzrlib.
 
2175
 
 
2176
  BUG FIXES:
 
2177
 
 
2178
    * Better handling of branches in directories with non-ascii names. 
 
2179
      (Joel Rosdahl, Panagiotis Papadakos)
 
2180
 
 
2181
    * Upgrades of trees with no commits will not fail due to accessing
 
2182
      [-1] in the revision-history. (Andres Salomon)
 
2183
 
 
2184
 
 
2185
bzr 0.1.1 2005-10-12
 
2186
 
 
2187
  BUG FIXES:
 
2188
 
 
2189
    * Fix problem in pulling over http from machines that do not 
 
2190
      allow directories to be listed.
 
2191
 
 
2192
    * Avoid harmless warning about invalid hash cache after 
 
2193
      upgrading branch format.
 
2194
 
 
2195
  PERFORMANCE: 
 
2196
  
 
2197
    * Avoid some unnecessary http operations in branch and pull.
 
2198
 
 
2199
 
 
2200
bzr 0.1 2005-10-11
 
2201
 
 
2202
  NOTES:
 
2203
 
 
2204
    * 'bzr branch' over http initially gives a very high estimate
 
2205
      of completion time but it should fall as the first few 
 
2206
      revisions are pulled in.  branch is still slow on 
 
2207
      high-latency connections.
 
2208
 
 
2209
  BUG FIXES:
 
2210
  
 
2211
    * bzr-man.py has been updated to work again. Contributed by
 
2212
      Rob Weir.
 
2213
 
 
2214
    * Locking is now done with fcntl.lockf which works with NFS
 
2215
      file systems. Contributed by Harald Meland.
 
2216
 
 
2217
    * When a merge encounters a file that has been deleted on
 
2218
      one side and modified on the other, the old contents are
 
2219
      written out to foo.BASE and foo.SIDE, where SIDE is this
 
2220
      or OTHER. Contributed by Aaron Bentley.
 
2221
 
 
2222
    * Export was choosing incorrect file paths for the content of
 
2223
      the tarball, this has been fixed by Aaron Bentley.
 
2224
 
 
2225
    * Commit will no longer commit without a log message, an 
 
2226
      error is returned instead. Contributed by Jelmer Vernooij.
 
2227
 
 
2228
    * If you commit a specific file in a sub directory, any of its
 
2229
      parent directories that are added but not listed will be 
 
2230
      automatically included. Suggested by Michael Ellerman.
 
2231
 
 
2232
    * bzr commit and upgrade did not correctly record new revisions
 
2233
      for files with only a change to their executable status.
 
2234
      bzr will correct this when it encounters it. Fixed by
 
2235
      Robert Collins
 
2236
 
 
2237
    * HTTP tests now force off the use of http_proxy for the duration.
 
2238
      Contributed by Gustavo Niemeyer.
 
2239
 
 
2240
    * Fix problems in merging weave-based branches that have 
 
2241
      different partial views of history.
 
2242
 
 
2243
    * Symlink support: working with symlinks when not in the root of a 
 
2244
      bzr tree was broken, patch from Scott James Remnant.
 
2245
 
 
2246
  IMPROVEMENTS:
 
2247
 
 
2248
    * 'branch' now accepts a --basis parameter which will take advantage
 
2249
      of local history when making a new branch. This allows faster 
 
2250
      branching of remote branches. Contributed by Aaron Bentley.
 
2251
 
 
2252
    * New tree format based on weave files, called version 5.
 
2253
      Existing branches can be upgraded to this format using 
 
2254
      'bzr upgrade'.
 
2255
 
 
2256
    * Symlinks are now versionable. Initial patch by 
 
2257
      Erik Toubro Nielsen, updated to head by Robert Collins.
 
2258
 
 
2259
    * Executable bits are tracked on files. Patch from Gustavo
 
2260
      Niemeyer.
 
2261
 
 
2262
    * 'bzr status' now shows unknown files inside a selected directory.
 
2263
      Patch from Heikki Paajanen.
 
2264
 
 
2265
    * Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
2266
      and 'resolve' have needed added, which list and remove those 
 
2267
      merge conflicts respectively. A conflicted tree cannot be committed
 
2268
      in. Contributed by Aaron Bentley.
 
2269
 
 
2270
    * 'rm' is now an alias for 'remove'.
 
2271
 
 
2272
    * Stores now split out their content in a single byte prefixed hash,
 
2273
      dropping the density of files per directory by 256. Contributed by
 
2274
      Gustavo Niemeyer.
 
2275
 
 
2276
    * 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
2277
      Contributed by Robert Collins.
 
2278
 
 
2279
    * 'bzr log' with the default formatter will show merged revisions,
 
2280
      indented to the right. Initial implementation contributed by Gustavo
 
2281
      Niemeyer, made incremental by Robert Collins.
 
2282
 
 
2283
 
 
2284
  INTERNALS:
 
2285
 
 
2286
    * Test case failures have the exception printed after the log 
 
2287
      for your viewing pleasure.
 
2288
 
 
2289
    * InventoryEntry is now an abstract base class, use one of the
 
2290
      concrete InventoryDirectory etc classes instead.
 
2291
 
 
2292
    * Branch raises an UnsupportedFormatError when it detects a 
 
2293
      bzr branch it cannot understand. This allows for precise
 
2294
      handling of such circumstances.
 
2295
 
 
2296
    * Remove RevisionReference class; Revision.parent_ids is now simply a
 
2297
      list of their ids and parent_sha1s is a list of their corresponding
 
2298
      sha1s (for old branches only at the moment.)
 
2299
 
 
2300
    * New method-object style interface for Commit() and Fetch().
 
2301
 
 
2302
    * Renamed Branch.last_patch() to Branch.last_revision(), since
 
2303
      we call them revisions not patches.
 
2304
 
 
2305
    * Move copy_branch to bzrlib.clone.copy_branch.  The destination
 
2306
      directory is created if it doesn't exist.
 
2307
 
 
2308
    * Inventories now identify the files which were present by 
 
2309
      giving the revision *of that file*.
 
2310
 
 
2311
    * Inventory and Revision XML contains a version identifier.  
 
2312
      This must be consistent with the overall branch version
 
2313
      but allows for more flexibility in future upgrades.
 
2314
 
 
2315
  TESTING:
 
2316
 
 
2317
    * Removed testsweet module so that tests can be run after 
 
2318
      bzr installed by 'bzr selftest'.
 
2319
 
 
2320
    * 'bzr selftest' command-line arguments can now be partial ids
 
2321
      of tests to run, e.g. 'bzr selftest test_weave'
 
2322
 
 
2323
      
 
2324
bzr 0.0.9 2005-09-23
 
2325
 
 
2326
  BUG FIXES:
 
2327
 
 
2328
    * Fixed "branch -r" option.
 
2329
 
 
2330
    * Fix remote access to branches containing non-compressed history.
 
2331
      (Robert Collins).
 
2332
 
 
2333
    * Better reliability of http server tests.  (John Arbash-Meinel)
 
2334
 
 
2335
    * Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
2336
   
 
2337
    * Various minor bug in windows support have been fixed, largely in the
 
2338
      test suite. Contributed by Alexander Belchenko.
 
2339
 
 
2340
  IMPROVEMENTS:
 
2341
 
 
2342
    * Status now accepts a -r argument to give status between chosen
 
2343
      revisions. Contributed by Heikki Paajanen.
 
2344
 
 
2345
    * Revision arguments no longer use +/-/= to control ranges, instead
 
2346
      there is a 'before' namespace, which limits the successive namespace.
 
2347
      For example '$ bzr log -r date:yesterday..before:date:today' will
 
2348
      select everything from yesterday and before today. Contributed by
 
2349
      Robey Pointer
 
2350
 
 
2351
    * There is now a bzr.bat file created by distutils when building on 
 
2352
      Windows. Contributed by Alexander Belchenko.
 
2353
 
 
2354
  INTERNALS:
 
2355
 
 
2356
    * Removed uuid() as it was unused.
 
2357
 
 
2358
    * Improved 'fetch' code for pulling revisions from one branch into
 
2359
      another (used by pull, merged, etc.)
 
2360
 
 
2361
 
 
2362
bzr 0.0.8 2005-09-20
 
2363
 
 
2364
  IMPROVEMENTS:
 
2365
 
 
2366
    * Adding a file whose parent directory is not versioned will
 
2367
      implicitly add the parent, and so on up to the root. This means
 
2368
      you should never need to explictly add a directory, they'll just
 
2369
      get added when you add a file in the directory.  Contributed by
 
2370
      Michael Ellerman.
 
2371
 
 
2372
    * Ignore .DS_Store (contains Mac metadata) by default.  Patch from
 
2373
      Nir Soffer.
 
2374
 
 
2375
    * If you set BZR_EDITOR in the environment, it is checked in
 
2376
      preference to EDITOR and the config file for the interactive commit
 
2377
      editing program. Related to this is a bugfix where a missing program
 
2378
      set in EDITOR would cause editing to fail, now the fallback program
 
2379
      for the operating system is still tried.
 
2380
 
 
2381
    * Files that are not directories/symlinks/regular files will no longer
 
2382
      cause bzr to fail, it will just ignore them by default. You cannot add
 
2383
      them to the tree though - they are not versionable.
 
2384
 
 
2385
 
 
2386
  INTERNALS:
 
2387
 
 
2388
    * Refactor xml packing/unpacking.
 
2389
 
 
2390
  BUG FIXES: 
 
2391
 
 
2392
    * Fixed 'bzr mv' by Ollie Rutherfurd.
 
2393
 
 
2394
    * Fixed strange error when trying to access a nonexistent http
 
2395
      branch.
 
2396
 
 
2397
    * Make sure that the hashcache gets written out if it can't be
 
2398
      read.
 
2399
 
 
2400
 
 
2401
  PORTABILITY:
 
2402
 
 
2403
    * Various Windows fixes from Ollie Rutherfurd.
 
2404
 
 
2405
    * Quieten warnings about locking; patch from Matt Lavin.
 
2406
 
 
2407
 
 
2408
bzr-0.0.7 2005-09-02
 
2409
 
 
2410
  NEW FEATURES:
 
2411
 
 
2412
    * ``bzr shell-complete`` command contributed by Clint Adams to
 
2413
      help with intelligent shell completion.
 
2414
 
 
2415
    * New expert command ``bzr find-merge-base`` for debugging merges.
 
2416
 
 
2417
 
 
2418
  ENHANCEMENTS:
 
2419
 
 
2420
    * Much better merge support.
 
2421
 
 
2422
    * merge3 conflicts are now reported with markers like '<<<<<<<'
 
2423
      (seven characters) which is the same as CVS and pleases things
 
2424
      like emacs smerge.
 
2425
 
 
2426
 
 
2427
  BUG FIXES:
 
2428
 
 
2429
    * ``bzr upgrade`` no longer fails when trying to fix trees that
 
2430
      mention revisions that are not present.
 
2431
 
 
2432
    * Fixed bugs in listing plugins from ``bzr plugins``.
 
2433
 
 
2434
    * Fix case of $EDITOR containing options for the editor.
 
2435
 
 
2436
    * Fix log -r refusing to show the last revision.
 
2437
      (Patch from Goffredo Baroncelli.)
 
2438
 
 
2439
 
 
2440
  CHANGES:
 
2441
 
 
2442
    * ``bzr log --show-ids`` shows the revision ids of all parents.
 
2443
 
 
2444
    * Externally provided commands on your $BZRPATH no longer need
 
2445
      to recognize --bzr-usage to work properly, and can just handle
 
2446
      --help themselves.
 
2447
 
 
2448
 
 
2449
  LIBRARY:
 
2450
 
 
2451
    * Changed trace messages to go through the standard logging
 
2452
      framework, so that they can more easily be redirected by
 
2453
      libraries.
 
2454
 
 
2455
 
 
2456
 
 
2457
bzr-0.0.6 2005-08-18
 
2458
 
 
2459
  NEW FEATURES:
 
2460
 
 
2461
    * Python plugins, automatically loaded from the directories on
 
2462
      BZR_PLUGIN_PATH or ~/.bzr.conf/plugins by default.
 
2463
 
 
2464
    * New 'bzr mkdir' command.
 
2465
 
 
2466
    * Commit mesage is fetched from an editor if not given on the
 
2467
      command line; patch from Torsten Marek.
 
2468
 
 
2469
    * ``bzr log -m FOO`` displays commits whose message matches regexp 
 
2470
      FOO.
 
2471
      
 
2472
    * ``bzr add`` with no arguments adds everything under the current directory.
 
2473
 
 
2474
    * ``bzr mv`` does move or rename depending on its arguments, like
 
2475
      the Unix command.
 
2476
 
 
2477
    * ``bzr missing`` command shows a summary of the differences
 
2478
      between two trees.  (Merged from John Arbash-Meinel.)
 
2479
 
 
2480
    * An email address for commits to a particular tree can be
 
2481
      specified by putting it into .bzr/email within a branch.  (Based
 
2482
      on a patch from Heikki Paajanen.)
 
2483
 
 
2484
 
 
2485
  ENHANCEMENTS:
 
2486
 
 
2487
    * Faster working tree operations.
 
2488
 
 
2489
 
 
2490
  CHANGES:
 
2491
 
 
2492
    * 3rd-party modules shipped with bzr are copied within the bzrlib
 
2493
      python package, so that they can be installed by the setup
 
2494
      script without clashing with anything already existing on the
 
2495
      system.  (Contributed by Gustavo Niemeyer.)
 
2496
 
 
2497
    * Moved plugins directory to bzrlib/, so that there's a standard
 
2498
      plugin directory which is not only installed with bzr itself but
 
2499
      is also available when using bzr from the development tree.
 
2500
      BZR_PLUGIN_PATH and DEFAULT_PLUGIN_PATH are then added to the
 
2501
      standard plugins directory.
 
2502
 
 
2503
    * When exporting to a tarball with ``bzr export --format tgz``, put 
 
2504
      everything under a top directory rather than dumping it into the
 
2505
      current directory.   This can be overridden with the ``--root`` 
 
2506
      option.  Patch from William Dodé and John Meinel.
 
2507
 
 
2508
    * New ``bzr upgrade`` command to upgrade the format of a branch,
 
2509
      replacing ``bzr check --update``.
 
2510
 
 
2511
    * Files within store directories are no longer marked readonly on
 
2512
      disk.
 
2513
 
 
2514
    * Changed ``bzr log`` output to a more compact form suggested by
 
2515
      John A Meinel.  Old format is available with the ``--long`` or
 
2516
      ``-l`` option, patched by William Dodé.
 
2517
 
 
2518
    * By default the commit command refuses to record a revision with
 
2519
      no changes unless the ``--unchanged`` option is given.
 
2520
 
 
2521
    * The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
2522
      line options must come before the command name because they 
 
2523
      affect what commands are available; all other options must come 
 
2524
      after the command name because their interpretation depends on
 
2525
      it.
 
2526
 
 
2527
    * ``branch`` and ``clone`` added as aliases for ``branch``.
 
2528
 
 
2529
    * Default log format is back to the long format; the compact one
 
2530
      is available with ``--short``.
 
2531
      
 
2532
      
 
2533
  BUG FIXES:
 
2534
  
 
2535
    * Fix bugs in committing only selected files or within a subdirectory.
 
2536
 
 
2537
 
 
2538
bzr-0.0.5  2005-06-15
 
2539
  
 
2540
  CHANGES:
 
2541
 
 
2542
    * ``bzr`` with no command now shows help rather than giving an
 
2543
      error.  Suggested by Michael Ellerman.
 
2544
 
 
2545
    * ``bzr status`` output format changed, because svn-style output
 
2546
      doesn't really match the model of bzr.  Now files are grouped by
 
2547
      status and can be shown with their IDs.  ``bzr status --all``
 
2548
      shows all versioned files and unknown files but not ignored files.
 
2549
 
 
2550
    * ``bzr log`` runs from most-recent to least-recent, the reverse
 
2551
      of the previous order.  The previous behaviour can be obtained
 
2552
      with the ``--forward`` option.
 
2553
        
 
2554
    * ``bzr inventory`` by default shows only filenames, and also ids
 
2555
      if ``--show-ids`` is given, in which case the id is the second
 
2556
      field.
 
2557
 
 
2558
 
 
2559
  ENHANCEMENTS:
 
2560
 
 
2561
    * New 'bzr whoami --email' option shows only the email component
 
2562
      of the user identification, from Jo Vermeulen.
 
2563
 
 
2564
    * New ``bzr ignore PATTERN`` command.
 
2565
 
 
2566
    * Nicer error message for broken pipe, interrupt and similar
 
2567
      conditions that don't indicate an internal error.
 
2568
 
 
2569
    * Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
2570
 
 
2571
    * Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
2572
      either read or write mode.
 
2573
 
 
2574
    * New option ``bzr log --show-ids`` shows revision and file ids.
 
2575
 
 
2576
    * New usage ``bzr log FILENAME`` shows only revisions that
 
2577
      affected that file.
 
2578
 
 
2579
    * Changed format for describing changes in ``bzr log -v``.
 
2580
 
 
2581
    * New option ``bzr commit --file`` to take a message from a file,
 
2582
      suggested by LarstiQ.
 
2583
 
 
2584
    * New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
2585
      Oler.  File may be in a branch other than the working directory.
 
2586
 
 
2587
    * ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
2588
      a filename.
 
2589
 
 
2590
    * Commands can now be defined by external programs or scripts
 
2591
      in a directory on $BZRPATH.
 
2592
 
 
2593
    * New "stat cache" avoids reading the contents of files if they 
 
2594
      haven't changed since the previous time.
 
2595
 
 
2596
    * If the Python interpreter is too old, try to find a better one
 
2597
      or give an error.  Based on a patch from Fredrik Lundh.
 
2598
 
 
2599
    * New optional parameter ``bzr info [BRANCH]``.
 
2600
 
 
2601
    * New form ``bzr commit SELECTED`` to commit only selected files.
 
2602
 
 
2603
    * New form ``bzr log -r FROM:TO`` shows changes in selected
 
2604
      range; contributed by John A Meinel.
 
2605
 
 
2606
    * New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
2607
      options through to an external GNU diff.
 
2608
 
 
2609
    * New option ``bzr add --no-recurse`` to add a directory but not
 
2610
      their contents.
 
2611
 
 
2612
    * ``bzr --version`` now shows more information if bzr is being run
 
2613
      from a branch.
 
2614
 
 
2615
  
 
2616
  BUG FIXES:
 
2617
 
 
2618
    * Fixed diff format so that added and removed files will be
 
2619
      handled properly by patch.  Fix from Lalo Martins.
 
2620
 
 
2621
    * Various fixes for files whose names contain spaces or other
 
2622
      metacharacters.
 
2623
 
 
2624
 
 
2625
  TESTING:
 
2626
 
 
2627
    * Converted black-box test suites from Bourne shell into Python;
 
2628
      now run using ``./testbzr``.  Various structural improvements to
 
2629
      the tests.
 
2630
 
 
2631
    * testbzr by default runs the version of bzr found in the same
 
2632
      directory as the tests, or the one given as the first parameter.
 
2633
 
 
2634
    * testbzr also runs the internal tests, so the only command
 
2635
      required to check is just ``./testbzr``.
 
2636
 
 
2637
    * testbzr requires python2.4, but can be used to test bzr running
 
2638
      under a different version.
 
2639
 
 
2640
    * Tests added for many other changes in this release.
 
2641
 
 
2642
 
 
2643
  INTERNAL:
 
2644
 
 
2645
    * Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
2646
 
 
2647
    * Refactor command functions into Command objects based on HCT by
 
2648
      Scott James Remnant.
 
2649
 
 
2650
    * Better help messages for many commands.
 
2651
 
 
2652
    * Expose bzrlib.open_tracefile() to start the tracefile; until
 
2653
      this is called trace messages are just discarded.
 
2654
 
 
2655
    * New internal function find_touching_revisions() and hidden
 
2656
      command touching-revisions trace the changes to a given file.
 
2657
 
 
2658
    * Simpler and faster compare_inventories() function.
 
2659
 
 
2660
    * bzrlib.open_tracefile() takes a tracefilename parameter.
 
2661
 
 
2662
    * New AtomicFile class.
 
2663
 
 
2664
    * New developer commands ``added``, ``modified``.
 
2665
 
 
2666
 
 
2667
  PORTABILITY:
 
2668
 
 
2669
    * Cope on Windows on python2.3 by using the weaker random seed.
 
2670
      2.4 is now only recommended.
 
2671
 
 
2672
 
 
2673
bzr-0.0.4  2005-04-22
 
2674
 
 
2675
  ENHANCEMENTS:
 
2676
 
 
2677
    * 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
2678
      basic.  Patch from QuantumG.
 
2679
 
 
2680
    * More default ignore patterns.
 
2681
 
 
2682
    * New 'bzr log --verbose' shows a list of files changed in the
 
2683
      changeset.  Patch from Sebastian Cote.
 
2684
 
 
2685
    * Roll over ~/.bzr.log if it gets too large.
 
2686
 
 
2687
    * Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
2688
      by Jason Diamon.
 
2689
 
 
2690
    * New 'bzr help commands' based on a patch from Denys Duchier.
 
2691
 
 
2692
 
 
2693
  CHANGES:
 
2694
 
 
2695
    * User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
2696
      or $EMAIL.  All are decoded by the locale preferred encoding.
 
2697
      If none of these are present user@hostname is used.  The host's
 
2698
      fully-qualified name is not used because that tends to fail when
 
2699
      there are DNS problems.
 
2700
 
 
2701
    * New 'bzr whoami' command instead of username user-email.
 
2702
 
 
2703
 
 
2704
  BUG FIXES: 
 
2705
 
 
2706
    * Make commit safe for hardlinked bzr trees.
 
2707
 
 
2708
    * Some Unicode/locale fixes.
 
2709
 
 
2710
    * Partial workaround for difflib.unified_diff not handling
 
2711
      trailing newlines properly.
 
2712
 
 
2713
 
 
2714
  INTERNAL:
 
2715
 
 
2716
    * Allow docstrings for help to be in PEP0257 format.  Patch from
 
2717
      Matt Brubeck.
 
2718
 
 
2719
    * More tests in test.sh.
 
2720
 
 
2721
    * Write profile data to a temporary file not into working
 
2722
      directory and delete it when done.
 
2723
 
 
2724
    * Smaller .bzr.log with process ids.
 
2725
 
 
2726
 
 
2727
  PORTABILITY:
 
2728
 
 
2729
    * Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
2730
      Bennetts.
 
2731
 
 
2732
    * Some improvements in handling paths on Windows, based on a patch
 
2733
      from QuantumG.
 
2734
 
 
2735
 
 
2736
bzr-0.0.3  2005-04-06
 
2737
 
 
2738
  ENHANCEMENTS:
 
2739
 
 
2740
    * New "directories" internal command lists versioned directories
 
2741
      in the tree.
 
2742
 
 
2743
    * Can now say "bzr commit --help".
 
2744
 
 
2745
    * New "rename" command to rename one file to a different name
 
2746
      and/or directory.
 
2747
 
 
2748
    * New "move" command to move one or more files into a different
 
2749
      directory.
 
2750
 
 
2751
    * New "renames" command lists files renamed since base revision.
 
2752
 
 
2753
    * New cat command contributed by janmar.
 
2754
 
 
2755
  CHANGES:
 
2756
 
 
2757
    * .bzr.log is placed in $HOME (not pwd) and is always written in
 
2758
      UTF-8.  (Probably not a completely good long-term solution, but
 
2759
      will do for now.)
 
2760
 
 
2761
  PORTABILITY:
 
2762
 
 
2763
    * Workaround for difflib bug in Python 2.3 that causes an
 
2764
      exception when comparing empty files.  Reported by Erik Toubro
 
2765
      Nielsen.
 
2766
 
 
2767
  INTERNAL:
 
2768
 
 
2769
    * Refactored inventory storage to insert a root entry at the top.
 
2770
 
 
2771
  TESTING:
 
2772
 
 
2773
    * Start of shell-based black-box testing in test.sh.
 
2774
 
 
2775
 
 
2776
bzr-0.0.2.1
 
2777
 
 
2778
  PORTABILITY:
 
2779
 
 
2780
    * Win32 fixes from Steve Brown.
 
2781
 
 
2782
 
 
2783
bzr-0.0.2  "black cube"  2005-03-31
 
2784
 
 
2785
  ENHANCEMENTS:
 
2786
 
 
2787
    * Default ignore list extended (see bzrlib/__init__.py).
 
2788
 
 
2789
    * Patterns in .bzrignore are now added to the default ignore list,
 
2790
      rather than replacing it.
 
2791
 
 
2792
    * Ignore list isn't reread for every file.
 
2793
 
 
2794
    * More help topics.
 
2795
 
 
2796
    * Reinstate the 'bzr check' command to check invariants of the
 
2797
      branch.
 
2798
 
 
2799
    * New 'ignored' command lists which files are ignored and why;
 
2800
      'deleted' lists files deleted in the current working tree.
 
2801
 
 
2802
    * Performance improvements.
 
2803
 
 
2804
    * New global --profile option.
 
2805
    
 
2806
    * Ignore patterns like './config.h' now correctly match files in
 
2807
      the root directory only.
 
2808
 
 
2809
 
 
2810
bzr-0.0.1  2005-03-26
 
2811
 
 
2812
  ENHANCEMENTS:
 
2813
 
 
2814
    * More information from info command.
 
2815
 
 
2816
    * Can now say "bzr help COMMAND" for more detailed help.
 
2817
 
 
2818
    * Less file flushing and faster performance when writing logs and
 
2819
      committing to stores.
 
2820
 
 
2821
    * More useful verbose output from some commands.
 
2822
 
 
2823
  BUG FIXES:
 
2824
 
 
2825
    * Fix inverted display of 'R' and 'M' during 'commit -v'.
 
2826
 
 
2827
  PORTABILITY:
 
2828
 
 
2829
    * Include a subset of ElementTree-1.2.20040618 to make
 
2830
      installation easier.
 
2831
 
 
2832
    * Fix time.localtime call to work with Python 2.3 (the minimum
 
2833
      supported).
 
2834
 
 
2835
 
 
2836
bzr-0.0.0.69  2005-03-22
 
2837
 
 
2838
  ENHANCEMENTS:
 
2839
 
 
2840
    * First public release.
 
2841
 
 
2842
    * Storage of local versions: init, add, remove, rm, info, log,
 
2843
      diff, status, etc.