~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Robert Collins
  • Date: 2007-04-19 02:27:44 UTC
  • mto: This revision was merged to the branch mainline in revision 2426.
  • Revision ID: robertc@robertcollins.net-20070419022744-pfdqz42kp1wizh43
``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
(Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
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
    * ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
9
      Pool)
 
10
 
 
11
    * ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
12
      (Robert Collins)
 
13
 
 
14
  INTERNALS:
 
15
 
 
16
    * bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
17
      code paths. (Robert Collins)
 
18
 
 
19
    * Change the format of chroot urls so that they can be safely manipulated
 
20
      by generic url utilities without causing the resulting urls to have
 
21
      escaped the chroot. A side effect of this is that creating a chroot
 
22
      requires an explicit action using a ChrootServer.
 
23
      (Robert Collins, Andrew Bennetts)
 
24
 
 
25
    * Deprecate Branch.get_root_id() because branches don't have root ids,
 
26
      rather than fixing bug #96847.  (Aaron Bentley)
 
27
 
 
28
    * WorkingTree.apply_inventory_delta provides a better alternative to
 
29
      WorkingTree._write_inventory.  (Aaron Bentley)
 
30
 
 
31
    * Convenience method TestCase.expectFailure ensures that known failures
 
32
      do not silently pass.  (Aaron Bentley)
 
33
 
 
34
    * New SmartServer hooks facility. There are two initial hooks documented
 
35
      in bzrlib.transport.smart.SmartServerHooks. The two initial hooks allow
 
36
      plugins to execute code upon server startup and shutdown.
 
37
      (Robert Collins).
 
38
 
 
39
    * SmartServer in standalone mode will now close its listening socket
 
40
      when it stops, rather than waiting for garbage collection. This primarily
 
41
      fixes test suite hangs when a test tries to connect to a shutdown server.
 
42
      It may also help improve behaviour when dealing with a server running
 
43
      on a specific port (rather than dynamically assigned ports).
 
44
      (Robert Collins)
 
45
 
 
46
    * Move most SmartServer code into a new package, bzrlib/smart.
 
47
      bzrlib/transport/remote.py contains just the Transport classes that used
 
48
      to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
49
 
 
50
    * Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
51
      RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
52
      consistent with its new home in bzrlib/transport/remote.py, and because
 
53
      it's not really a "smart" transport, just one that does file operations
 
54
      via remote procedure calls.  (Andrew Bennetts)
 
55
 
 
56
    * The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
57
     ``Branch`` now accept a ``token`` keyword argument, so that separate
 
58
     instances of those objects can share a lock if it has the right token.
 
59
     (Andrew Bennetts, Robert Collins)
 
60
 
 
61
  BUGFIXES:
 
62
 
 
63
    * Don't fail bundle selftest if email has 'two' embedded.  
 
64
      (#98510, Ian Clatworthy)
 
65
 
 
66
    * Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
67
      (Robert Widhopf-Fenk, #98591)
 
68
 
 
69
    * Remove ``--basis`` from the checkout/branch commands - it didn't work
 
70
      properly and is no longer beneficial. Fixes #53675 and #43486.
 
71
      (Robert Collins)
 
72
 
 
73
    * Don't produce encoding error when adding duplicate files.
 
74
      (Aaron Bentley)
 
75
 
 
76
    * Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
77
      inside the ancestry of the other. Saves a lot of graph processing
 
78
      (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
79
      changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
80
 
 
81
    * Fix ``show_diff_trees`` to handle the case when a file is modified,
 
82
      and the containing directory is renamed. (The file path is different
 
83
      in this versus base, but it isn't marked as a rename).
 
84
      (John Arbash Meinel, #103870)
 
85
 
 
86
    * FTP now works even when the FTP server does not support atomic rename.
 
87
      (Aaron Bentley, #89436)
 
88
 
 
89
  TESTING:
 
90
 
 
91
    * Added ``bzrlib.strace.strace`` which will strace a single callable and
 
92
      return a StraceResult object which contains just the syscalls involved
 
93
      in running it. (Robert Collins)
 
94
 
 
95
    * New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
96
      default time down to one suitable for tests. (Andrew Bennetts)
 
97
 
 
98
    * Add new vfs_transport_factory attribute on tests which provides the 
 
99
      common vfs backing for both the readonly and readwrite transports.
 
100
      This allows the RemoteObject tests to back onto local disk or memory,
 
101
      and use the existing transport_server attribute all tests know about
 
102
      to be the smart server transport. This in turn allows tests to 
 
103
      differentiate between 'transport to access the branch', and 
 
104
      'transport which is a VFS' - which matters in Remote* tests.
 
105
      (Robert Collins, Andrew Bennetts)
 
106
 
 
107
    * The ``make_branch_and_tree`` method for tests will now create a 
 
108
      lightweight checkout for the tree if the vfs_transport_factory is not
 
109
      a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
110
 
 
111
    * Branch implementation tests have been audited to ensure that all urls 
 
112
      passed to Branch APIs use proper urls, except when local-disk paths
 
113
      are intended. This is so that tests correctly access the test transport
 
114
      which is often not equivalent to local disk in Remote* tests. As part
 
115
      of this many tests were adjusted to remove dependencies on local disk
 
116
      access.
 
117
      (Robert Collins, Andrew Bennetts)
 
118
 
 
119
 
 
120
bzr 0.15 2007-04-01
 
121
 
 
122
  BUGFIXES:
 
123
 
 
124
    * Handle incompatible repositories as a user issue when fetching.
 
125
      (Aaron Bentley)
 
126
 
 
127
    * Don't give a recommendation to upgrade when branching or 
 
128
      checking out a branch that contains an old-format working tree.
 
129
      (Martin Pool)
 
130
 
 
131
bzr 0.15rc3  2007-03-26
 
132
 
 
133
  CHANGES:
 
134
 
 
135
    * A warning is now displayed when opening working trees in older 
 
136
      formats, to encourage people to upgrade to WorkingTreeFormat4.
 
137
      (Martin Pool)
 
138
 
 
139
  IMPROVEMENTS:
 
140
 
 
141
    * HTTP redirections are now taken into account when a branch (or a
 
142
      bundle) is accessed for the first time. A message is issued at each
 
143
      redirection to inform the user. In the past, http redirections were
 
144
      silently followed for each request which significantly degraded the
 
145
      performances. The http redirections are not followed anymore by
 
146
      default, instead a RedirectRequested exception is raised. For bzrlib
 
147
      users needing to follow http redirections anyway,
 
148
      bzrlib.transport.do_catching_redirections provide an easy transition
 
149
      path.  (vila)
 
150
 
 
151
  INTERNALS:
 
152
 
 
153
    * Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
154
      lock to an OS write lock. Linux can do this without unlocking, Win32
 
155
      needs to unlock in between. (John Arbash Meinel)
 
156
 
 
157
    * New parameter ``recommend_upgrade`` to BzrDir.open_workingtree 
 
158
      to silence (when false) warnings about opening old formats.
 
159
      (Martin Pool)
 
160
 
 
161
    * Fix minor performance regression with bzr-0.15 on pre-dirstate
 
162
      trees. (We were reading the working inventory too many times).
 
163
      (John Arbash Meinel)
 
164
 
 
165
    * Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
166
      ``revision_history``.  Branch subclasses should override
 
167
      ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
168
      this cache, and call ``_clear_revision_history_cache`` and
 
169
      ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
170
 
 
171
  BUGFIXES:
 
172
 
 
173
    * Take smtp_server from user config into account.
 
174
      (vila, #92195)
 
175
 
 
176
    * Restore Unicode filename handling for versioned and unversioned files.
 
177
      (John Arbash Meinel, #92608)
 
178
 
 
179
    * Don't fail during ``bzr commit`` if a file is marked removed, and
 
180
      the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
181
 
 
182
    * ``bzr status FILENAME`` failed on Windows because of an uncommon
 
183
      errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
184
      (Wouter van Heyst, John Arbash Meinel, #90819)
 
185
 
 
186
    * ``bzr checkout source`` should create a local branch in the same
 
187
      format as source. (John Arbash Meinel, #93854)
 
188
 
 
189
    * ``bzr commit`` with a kind change was failing to update the
 
190
      last-changed-revision for directories.  The
 
191
      InventoryDirectory._unchanged only looked at the parent_id and name,
 
192
      ignoring the fact that the kind could have changed, too.
 
193
      (John Arbash Meinel, #90111)
 
194
 
 
195
    * ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
196
      the directory. So that there was a chance it would break commit,
 
197
      etc. (John Arbash Meinel, #94037)
 
198
 
 
199
    * Correctly handles mutiple permanent http redirections.
 
200
     (vila, #88780)
 
201
 
 
202
 
 
203
bzr 0.15rc2  2007-03-14
 
204
 
 
205
  NOTES WHEN UPGRADING:
 
206
        
 
207
    * Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
208
      default to ``--trees`` instead of ``--no-trees``.
 
209
      Existing shared repositories are not affected.
 
210
 
 
211
  IMPROVEMENTS:
 
212
 
 
213
    * New ``merge-directive`` command to generate machine- and human-readable
 
214
      merge requests.  (Aaron Bentley)
 
215
 
 
216
    * New ``submit:`` revision specifier makes it easy to diff against the
 
217
      common ancestor with the submit location (Aaron Bentley)
 
218
 
 
219
    * Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
220
 
 
221
    * Added ``bzr status --versioned`` to report only versioned files, 
 
222
      not unknowns. (Kent Gibson)
 
223
 
 
224
    * Merge now autodetects the correct line-ending style for its conflict
 
225
      markers.  (Aaron Bentley)
 
226
 
 
227
  INTERNALS:
 
228
 
 
229
    * Refactored SSH vendor registration into SSHVendorManager class.
 
230
      (Dmitry Vasiliev)
 
231
 
 
232
  BUGFIXES:
 
233
 
 
234
    * New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
235
      numbered dirs for TestCaseInTempDir. This is default behavior
 
236
      on Windows. Anyone can force named dirs on Windows
 
237
      with ``--no-numbered-dirs``. (Alexander Belchenko)
 
238
 
 
239
    * Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
240
      from the command line. (Marien Zwart, #90501)
 
241
 
 
242
    * Fix ``TreeTransform._iter_changes`` when both the source and
 
243
      destination are missing. (Aaron Bentley, #88842)
 
244
 
 
245
    * Fix commit of merges with symlinks in dirstate trees.
 
246
      (Marien Zwart)
 
247
    
 
248
    * Switch the ``bzr init-repo`` default from --no-trees to --trees. 
 
249
      (Wouter van Heyst, #53483)
 
250
 
 
251
 
 
252
bzr 0.15rc1  2007-03-07
 
253
 
 
254
  SURPRISES:
 
255
 
 
256
    * The default disk format has changed. Please run 'bzr upgrade' in your
 
257
      working trees to upgrade. This new default is compatible for network
 
258
      operations, but not for local operations. That is, if you have two
 
259
      versions of bzr installed locally, after upgrading you can only use the
 
260
      bzr 0.15 version. This new default does not enable tags or nested-trees
 
261
      as they are incompatible with bzr versions before 0.15 over the network.
 
262
 
 
263
    * For users of bzrlib: Two major changes have been made to the working tree
 
264
      api in bzrlib. The first is that many methods and attributes, including
 
265
      the inventory attribute, are no longer valid for use until one of
 
266
      lock_read/lock_write/lock_tree_write has been called, and become invalid
 
267
      again after unlock is called. This has been done to improve performance
 
268
      and correctness as part of the dirstate development. (Robert Collins,
 
269
      John A Meinel, Martin Pool, and others).
 
270
 
 
271
    * For users of bzrlib: The attribute 'tree.inventory' should be considered
 
272
      readonly. Previously it was possible to directly alter this attribute, or
 
273
      its contents, and have the tree notice this. This has been made
 
274
      unsupported - it may work in some tree formats, but in the newer dirstate
 
275
      format such actions will have no effect and will be ignored, or even
 
276
      cause assertions. All operations possible can still be carried out by a
 
277
      combination of the tree API, and the bzrlib.transform API. (Robert
 
278
      Collins, John A Meinel, Martin Pool, and others).
 
279
 
 
280
  IMPROVEMENTS:
 
281
 
 
282
    * Support for OS Windows 98. Also .bzr.log on any windows system
 
283
      saved in My Documents folder. (Alexander Belchenko)
 
284
 
 
285
    * ``bzr mv`` enhanced to support already moved files.
 
286
      In the past the mv command would have failed if the source file doesn't
 
287
      exist. In this situation ``bzr mv`` would now detect that the file has
 
288
      already moved and update the repository accordingly, if the target file
 
289
      does exist.
 
290
      A new option ``--after`` has been added so that if two files already
 
291
      exist, you could notify Bazaar that you have moved a (versioned) file
 
292
      and replaced it with another. Thus in this case ``bzr move --after``
 
293
      will only update the Bazaar identifier.
 
294
      (Steffen Eichenberg, Marius Kruger)
 
295
 
 
296
    * ``ls`` now works on treeless branches and remote branches.
 
297
      (Aaron Bentley)
 
298
 
 
299
    * ``bzr help global-options`` describes the global options.
 
300
      (Aaron Bentley)
 
301
 
 
302
    * ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
303
      (Robert Collins)
 
304
 
 
305
    * Files are now allowed to change kind (e.g. from file to symlink).
 
306
      Supported by ``commit``, ``revert`` and ``status``
 
307
      (Aaron Bentley)
 
308
 
 
309
    * ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
310
      (Aaron Bentley)
 
311
 
 
312
    * ``bzr help checkouts`` descibes what checkouts are and some possible
 
313
      uses of them. (James Westby, Aaron Bentley)
 
314
 
 
315
    * A new ``-d`` option to push, pull and merge overrides the default 
 
316
      directory.  (Martin Pool)
 
317
 
 
318
    * Branch format 6: smaller, and potentially faster than format 5.  Supports
 
319
      "append_history_only" mode, where the log view and revnos do not change,
 
320
      except by being added to.  Stores policy settings in
 
321
      ".bzr/branch/branch.conf".
 
322
 
 
323
    * append_only branches:  Format 6 branches may be configured so that log
 
324
      view and revnos are always consistent.  Either create the branch using
 
325
      "bzr init --append-revisions-only" or edit the config file as descriped
 
326
      in docs/configuration.txt.
 
327
 
 
328
    * rebind: Format 6 branches retain the last-used bind location, so if you
 
329
      "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
330
      bind location.
 
331
 
 
332
    * Builtin tags support, created and deleted by the ``tag`` command and
 
333
      stored in the branch.  Tags can be accessed with the revisionspec
 
334
      ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned 
 
335
      at present. Tags require a network incompatible upgrade. To perform this
 
336
      upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
337
      repositories. (Martin Pool)
 
338
 
 
339
    * The bzr:// transport now has a well-known port number, 4155, which it will
 
340
      use by default.  (Andrew Bennetts, Martin Pool)
 
341
 
 
342
    * Bazaar now looks for user-installed plugins before looking for site-wide
 
343
      plugins. (Jonathan Lange)
 
344
 
 
345
    * ``bzr resolve`` now detects and marks resolved text conflicts.
 
346
      (Aaron Bentley)
 
347
 
 
348
  INTERNALS:
 
349
 
 
350
    * Internally revision ids and file ids are now passed around as utf-8
 
351
      bytestrings, rather than treating them as Unicode strings. This has
 
352
      performance benefits for Knits, since we no longer need to decode the
 
353
      revision id for each line of content, nor for each entry in the index.
 
354
      This will also help with the future dirstate format.
 
355
      (John Arbash Meinel)
 
356
 
 
357
    * Reserved ids (any revision-id ending in a colon) are rejected by
 
358
      versionedfiles, repositories, branches, and working trees
 
359
      (Aaron Bentley)
 
360
 
 
361
    * Minor performance improvement by not creating a ProgressBar for
 
362
      every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
363
      (John Arbash Meinel)
 
364
 
 
365
    * New easier to use Branch hooks facility. There are five initial hooks,
 
366
      all documented in bzrlib.branch.BranchHooks.__init__ - 'set_rh',
 
367
      'post_push', 'post_pull', 'post_commit', 'post_uncommit'. These hooks
 
368
      fire after the matching operation on a branch has taken place, and were
 
369
      originally added for the branchrss plugin. (Robert Collins)
 
370
 
 
371
    * New method ``Branch.push()`` which should be used when pushing from a
 
372
      branch as it makes performance and policy decisions to match the UI
 
373
      level command ``push``. (Robert Collins).
 
374
 
 
375
    * Add a new method ``Tree.revision_tree`` which allows access to cached
 
376
      trees for arbitrary revisions. This allows the in development dirstate
 
377
      tree format to provide access to the callers to cached copies of 
 
378
      inventory data which are cheaper to access than inventories from the
 
379
      repository.
 
380
      (Robert Collins, Martin Pool)
 
381
 
 
382
    * New Branch.last_revision_info method, this is being done to allow
 
383
      optimization of requests for both the number of revisions and the last
 
384
      revision of a branch with smartservers and potentially future branch
 
385
      formats. (Wouter van Heyst, Robert Collins)
 
386
 
 
387
    * Allow 'import bzrlib.plugins.NAME' to work when the plugin NAME has not
 
388
      yet been loaded by load_plugins(). This allows plugins to depend on each
 
389
      other for code reuse without requiring users to perform file-renaming
 
390
      gymnastics. (Robert Collins)
 
391
 
 
392
    * New Repository method 'gather_stats' for statistic data collection.
 
393
      This is expected to grow to cover a number of related uses mainly
 
394
      related to bzr info. (Robert Collins)
 
395
 
 
396
    * Log formatters are now managed with a registry.
 
397
      ``log.register_formatter`` continues to work, but callers accessing
 
398
      the FORMATTERS dictionary directly will not.
 
399
 
 
400
    * Allow a start message to be passed to the ``edit_commit_message``
 
401
      function.  This will be placed in the message offered to the user
 
402
      for editing above the separator. It allows a template commit message
 
403
      to be used more easily. (James Westby)
 
404
 
 
405
    * ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
406
      you pass a Unicode string rather than an 8-bit string. Callers need
 
407
      to be updated to encode first. (John Arbash Meinel)
 
408
 
 
409
    * Branch.push, pull, merge now return Result objects with information
 
410
      about what happened, rather than a scattering of various methods.  These
 
411
      are also passed to the post hooks.  (Martin Pool)
 
412
 
 
413
    * File formats and architecture is in place for managing a forest of trees
 
414
      in bzr, and splitting up existing trees into smaller subtrees, and
 
415
      finally joining trees to make a larger tree. This is the first iteration
 
416
      of this support, and the user-facing aspects still require substantial
 
417
      work.  If you wish to experiment with it, use ``bzr upgrade
 
418
      --dirstate-with-subtree`` in your working trees and repositories.
 
419
      You can use the hidden commands ``split`` and ``join`` and to create
 
420
      and manipulate nested trees, but please consider using the nested-trees
 
421
      branch, which contains substantial UI improvements, instead.
 
422
      http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
423
      (Aaron Bentley, Martin Pool, Robert Collins).
 
424
 
 
425
  BUGFIXES:
 
426
 
 
427
    * ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
428
      branch, rather than the last changed revision of the file.
 
429
      (John Arbash Meinel, #82158)
 
430
 
 
431
    * Lock operations no longer hang if they encounter a permission problem.
 
432
      (Aaron Bentley)
 
433
 
 
434
    * ``bzr push`` can resume a push that was canceled before it finished.
 
435
      Also, it can push even if the target directory exists if you supply
 
436
      the ``--use-existing-dir`` flag.
 
437
      (John Arbash Meinel, #30576, #45504)
 
438
 
 
439
    * Fix http proxy authentication when user and an optional
 
440
      password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
441
      #83954).
 
442
 
 
443
    * ``bzr log branch/file`` works for local treeless branches
 
444
      (Aaron Bentley, #84247)
 
445
 
 
446
    * Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
447
 
 
448
    * Searching location of CA bundle for PyCurl in env variable (CURL_CA_BUNDLE),
 
449
      and on win32 along the PATH. (Alexander Belchenko, #82086)
 
450
 
 
451
    * ``bzr init`` works with unicode argument LOCATION.
 
452
      (Alexander Belchenko, #85599)
 
453
 
 
454
    * Raise DependencyNotPresent if pycurl do not support https. (Vincent
 
455
      Ladeuil, #85305)
 
456
 
 
457
    * Invalid proxy env variables should not cause a traceback.
 
458
      (Vincent Ladeuil, #87765)
 
459
 
 
460
    * Ignore patterns normalised to use '/' path separator.
 
461
      (Kent Gibson, #86451)
 
462
 
 
463
    * bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
464
 
 
465
    * Fix bzrtools shelve command for removed lines beginning with "--"
 
466
      (Johan Dahlberg, #75577)
 
467
 
 
468
  TESTING:
 
469
 
 
470
    * New ``--first`` option to ``bzr selftest`` to run specified tests
 
471
      before the rest of the suite.  (Martin Pool)
 
472
 
 
473
 
 
474
bzr 0.14  2007-01-23
 
475
 
 
476
  IMPROVEMENTS:
 
477
 
 
478
    * ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
479
 
 
480
  BUG FIXES:
 
481
    
 
482
    * Skip documentation generation tests if the tools to do so are not
 
483
      available. Fixes running selftest for installled copies of bzr. 
 
484
      (John Arbash Meinel, #80330)
 
485
 
 
486
    * Fix the code that discovers whether bzr is being run from it's
 
487
      working tree to handle the case when it isn't but the directory
 
488
      it is in is below a repository. (James Westby, #77306)
 
489
 
 
490
 
 
491
bzr 0.14rc1  2007-01-16
 
492
 
 
493
  IMPROVEMENTS:
 
494
 
 
495
    * New connection: ``bzr+http://`` which supports tunnelling the smart
 
496
      protocol over an HTTP connection. If writing is enabled on the bzr
 
497
      server, then you can write over the http connection.
 
498
      (Andrew Bennetts, John Arbash Meinel)
 
499
 
 
500
    * Aliases now support quotation marks, so they can contain whitespace
 
501
      (Marius Kruger)
 
502
 
 
503
    * PyCurlTransport now use a single curl object. By specifying explicitly
 
504
      the 'Range' header, we avoid the need to use two different curl objects
 
505
      (and two connections to the same server). (Vincent Ladeuil)
 
506
 
 
507
    * ``bzr commit`` does not prompt for a message until it is very likely to
 
508
      succeed.  (Aaron Bentley)
 
509
 
 
510
    * ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
511
      (Aaron Bentley)
 
512
 
 
513
    * Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
514
      of a list while checking if a revision id was requested. Takes 10s
 
515
      off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
516
      of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
517
      filtering lines with a regex rather than multiple ``str.find()``
 
518
      calls. (saves another 300ms) (John Arbash Meinel)
 
519
 
 
520
    * Policy can be set for each configuration key. This allows keys to be
 
521
      inherited properly across configuration entries. For example, this
 
522
      should enable you to do::
 
523
        
 
524
        [/home/user/project]
 
525
        push_location = sftp://host/srv/project/
 
526
        push_location:policy = appendpath
 
527
 
 
528
      And then a branch like ``/home/user/project/mybranch`` should get an
 
529
      automatic push location of ``sftp://host/srv/project/mybranch``.
 
530
      (James Henstridge)
 
531
 
 
532
    * Added ``bzr status --short`` to make status report svn style flags
 
533
      for each file.  For example::
 
534
 
 
535
        $ bzr status --short
 
536
        A  foo
 
537
        A  bar
 
538
        D  baz
 
539
        ?  wooley
 
540
 
 
541
    * 'bzr selftest --clean-output' allows easily clean temporary tests 
 
542
      directories without running tests. (Alexander Belchenko)
 
543
 
 
544
    * ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
545
 
 
546
    * ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
547
      local is fully merged into remote. (Jan Hudec)
 
548
 
 
549
    * ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
550
 
 
551
  INTERNALS:
 
552
 
 
553
    * A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
554
      help speed up processing, as well allowing to extract unannotated
 
555
      lines. Between the two ``fileids_affected_by_revision_ids`` is
 
556
      improved by approx 10%. (John Arbash Meinel)
 
557
 
 
558
    * Change Revision serialization to only write out millisecond
 
559
      resolution. Rather than expecting floating point serialization to
 
560
      preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
561
 
 
562
    * Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
563
 
 
564
    * When 'encoding_type' attribute of class Command is equal to 'exact', 
 
565
      force sys.stdout to be a binary stream on Windows, and therefore
 
566
      keep exact line-endings (without LF -> CRLF conversion).
 
567
      (Alexander Belchenko)
 
568
 
 
569
    * Single-letter short options are no longer globally declared.  (Martin
 
570
      Pool)
 
571
 
 
572
    * Before using detected user/terminal encoding bzr should check
 
573
      that Python has corresponding codec. (Alexander Belchenko)
 
574
 
 
575
    * Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
576
 
 
577
  BUG FIXES:
 
578
 
 
579
    * ``bzr missing --verbose`` was showing adds/removals in the wrong
 
580
      direction. (John Arbash Meinel)
 
581
 
 
582
    * ``bzr annotate`` now defaults to showing dotted revnos for merged
 
583
      revisions. It cuts them off at a depth of 12 characters, but you can
 
584
      supply ``--long`` to see the full number. You can also use
 
585
      ``--show-ids`` to display the original revision ids, rather than
 
586
      revision numbers and committer names. (John Arbash Meinel, #75637)
 
587
 
 
588
    * bzr now supports Win32 UNC path (e.g. \\HOST\path). 
 
589
      (Alexander Belchenko, #57869)
 
590
 
 
591
    * Win32-specific: output of cat, bundle and diff commands don't mangle
 
592
      line-endings (Alexander Belchenko, #55276)
 
593
 
 
594
    * Replace broken fnmatch based ignore pattern matching with custom pattern
 
595
      matcher.
 
596
      (Kent Gibson, Jan Hudec #57637)
 
597
 
 
598
    * pycurl and urllib can detect short reads at different places. Update
 
599
      the test suite to test more cases. Also detect http error code 416
 
600
      which was raised for that specific bug. Also enhance the urllib
 
601
      robustness by detecting invalid ranges (and pycurl's one by detecting
 
602
      short reads during the initial GET). (Vincent Ladeuil, #73948)
 
603
 
 
604
    * The urllib connection sharing interacts badly with urllib2
 
605
      proxy setting (the connections didn't go thru the proxy
 
606
      anymore). Defining a proper ProxyHandler solves the
 
607
      problem.  (Vincent Ladeuil, #74759)
 
608
 
 
609
    * Use urlutils to generate relative URLs, not osutils 
 
610
      (Aaron Bentley, #76229)
 
611
 
 
612
    * ``bzr status`` in a readonly directory should work without giving
 
613
      lots of errors. (John Arbash Meinel, #76299)
 
614
 
 
615
    * Mention the revisionspec topic for the revision option help.
 
616
      (Wouter van Heyst, #31663)
 
617
 
 
618
    * Allow plugins import from zip archives.
 
619
      (Alexander Belchenko, #68124)
 
620
 
 
621
 
 
622
bzr 0.13  2006-12-05
 
623
    
 
624
  No changes from 0.13rc1
 
625
    
 
626
bzr 0.13rc1  2006-11-27
 
627
 
 
628
  IMPROVEMENTS:
 
629
 
 
630
    * New command ``bzr remove-tree`` allows the removal of the working
 
631
      tree from a branch.
 
632
      (Daniel Silverstone)
 
633
 
 
634
    * urllib uses shared keep-alive connections, so http 
 
635
      operations are substantially faster.
 
636
      (Vincent Ladeuil, #53654)
 
637
 
 
638
    * ``bzr export`` allows an optional branch parameter, to export a bzr
 
639
      tree from some other url. For example:
 
640
      ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
641
      (Daniel Silverstone)
 
642
 
 
643
    * Added ``bzr help topics`` to the bzr help system. This gives a
 
644
      location for general information, outside of a specific command.
 
645
      This includes updates for ``bzr help revisionspec`` the first topic
 
646
      included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
647
 
 
648
    * WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
649
      (Andrew Bennetts)
 
650
 
 
651
    * Knit files will now cache full texts only when the size of the
 
652
      deltas is as large as the size of the fulltext. (Or after 200
 
653
      deltas, whichever comes first). This has the most benefit on large
 
654
      files with small changes, such as the inventory for a large project.
 
655
      (eg For a project with 2500 files, and 7500 revisions, it changes
 
656
      the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
657
 
 
658
  INTERNALS:
 
659
 
 
660
    * New -D option given before the command line turns on debugging output
 
661
      for particular areas.  -Derror shows tracebacks on all errors.
 
662
      (Martin Pool)
 
663
 
 
664
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
665
      and remove benchmarks that take longer than 10min to run.
 
666
      (John Arbash Meinel)
 
667
 
 
668
    * Use ``time.time()`` instead of ``time.clock()`` to decide on
 
669
      progress throttling. Because ``time.clock()`` is actually CPU time,
 
670
      so over a high-latency connection, too many updates get throttled.
 
671
      (John Arbash Meinel)
 
672
 
 
673
    * ``MemoryTransport.list_dir()`` would strip the first character for
 
674
      files or directories in root directory. (John Arbash Meinel)
 
675
  
 
676
    * New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
677
      prefix.  It disallows any access to locations above a set URL.  (Andrew
 
678
      Bennetts)
 
679
 
 
680
  BUG FIXES:
 
681
 
 
682
    * Now _KnitIndex properly decode revision ids when loading index data.
 
683
      And optimize the knit index parsing code.  (Dmitry Vasiliev, John
 
684
      Arbash Meinel)
 
685
 
 
686
    * ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
687
      without importing it. This prevented ``bzr upgrade`` from working
 
688
      unless a plugin already imported ``bzrlib.workingtree``
 
689
      (John Arbash Meinel, #70716)
 
690
 
 
691
    * Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
692
 
 
693
    * Give nicer error message when an http server returns a 403
 
694
      error code. (Vincent Ladeuil, #57644).
 
695
 
 
696
    * When a multi-range http GET request fails, try a single
 
697
      range one. If it fails too, forget about ranges. Remember that until 
 
698
      the death of the transport and propagates that to the clones.
 
699
      (Vincent Ladeuil, #62276, #62029).
 
700
 
 
701
    * Handles user/passwords supplied in url from command
 
702
      line (for the urllib implementation). Don't request already
 
703
      known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
704
 
 
705
    * _KnitIndex.add_versions() dictionary compresses revision ids as they
 
706
      are added. This fixes bug where fetching remote revisions records
 
707
      them as full references rather than integers. (John Arbash Meinel,
 
708
      #64789)
 
709
 
 
710
    * ``bzr ignore`` strips trailing slashes in patterns.
 
711
      Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
712
 
 
713
    * ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
714
 
 
715
    * mv correctly handles paths that traverse symlinks. 
 
716
      (Aaron Bentley, #66964)
 
717
 
 
718
    * Give nicer looking error messages when failing to connect over ssh.
 
719
      (John Arbash Meinel, #49172)
 
720
 
 
721
    * Pushing to a remote branch does not currently update the remote working
 
722
      tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
723
      machine now show that the working tree is out of date.
 
724
      (Cheuksan Edward Wang #48136)
 
725
 
 
726
    * Use patiencediff instead of difflib for determining deltas to insert
 
727
      into knits. This avoids the O(N^3) behavior of difflib. Patience
 
728
      diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
729
 
 
730
    * Running ``bzr log`` on nonexistent file gives an error instead of the
 
731
      entire log history. (Cheuksan Edward Wang #50793)
 
732
 
 
733
    * ``bzr cat`` can look up contents of removed or renamed files. If the
 
734
      pathname is ambiguous, i.e. the files in the old and new trees have
 
735
      different id's, the default is the file in the new tree. The user can
 
736
      use "--name-from-revision" to select the file in the old tree.
 
737
      (Cheuksan Edward Wang, #30190)
 
738
 
 
739
  TESTING:
 
740
 
 
741
    * TestingHTTPRequestHandler really handles the Range header
 
742
      (previously it was ignoring it and returning the whole file,).
 
743
 
 
744
bzr 0.12  2006-10-30
 
745
 
 
746
  INTERNALS:
 
747
 
 
748
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
749
      and remove benchmarks that take longer than 10min to run.
 
750
      (John Arbash Meinel)
 
751
  
 
752
bzr 0.12rc1  2006-10-23
 
753
 
 
754
  IMPROVEMENTS:
 
755
 
 
756
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
757
      rather than just showing a decimal revision number for revisions on the
 
758
      mainline. These revision numbers are not yet accepted as input into bzr
 
759
      commands such as log, diff etc. (Robert Collins)
 
760
 
 
761
    * revisions can now be specified using dotted-decimal revision numbers.
 
762
      For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
763
 
 
764
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
 
765
 
 
766
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
 
767
      a moderate effect on lots of actions, especially ones that have
 
768
      little to do. For example ``bzr rocks`` time is down to 116ms from
 
769
      283ms. (John Arbash Meinel)
 
770
 
 
771
    * New Registry class to provide name-to-object registry-like support,
 
772
      for example for schemes where plugins can register new classes to
 
773
      do certain tasks (e.g. log formatters). Also provides lazy registration
 
774
      to allow modules to be loaded on request. (John Arbash Meinel, Adeodato
 
775
      Simó)
 
776
 
 
777
  API INCOMPATABILITY:
 
778
  
 
779
    * LogFormatter subclasses show now expect the 'revno' parameter to 
 
780
      show() to be a string rather than an int. (Robert Collins)
 
781
 
 
782
  INTERNALS:
 
783
 
 
784
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
785
      can take a ``working_dir='foo'`` parameter, which will change directory 
 
786
      for the command. (John Arbash Meinel)
 
787
 
 
788
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
789
      around a regex, which defers compilation until first use. 
 
790
      (John Arbash Meinel)
 
791
 
 
792
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
793
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
794
      problems with system-wide installed plugins. (John Arbash Meinel)
 
795
 
 
796
    * Unique tree root ids are now supported. Newly created trees still
 
797
      use the common root id for compatibility with bzr versions before 0.12.
 
798
      (Aaron Bentley)
 
799
 
 
800
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
801
      pass in inventory.ROOT_ID if you want the default root id value.
 
802
      (Robert Collins, John Arbash Meinel)
 
803
 
 
804
    * New method ``WorkingTree.flush()`` which will write the current memory
 
805
      inventory out to disk. At the same time, read_working_inventory will
 
806
      no longer trash the current tree inventory if it has been modified within
 
807
      the current lock, and the tree will now ``flush()`` automatically on
 
808
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
809
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
810
 
 
811
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
812
      parameter will cause it to add another column to its output, which
 
813
      contains the dotted-decimal revno for each revision, as a tuple.
 
814
      (Robert Collins)
 
815
 
 
816
    * ``LogFormatter.show_merge`` is deprecated in favour of
 
817
      ``LogFormatter.show_merge_revno``. (Robert Collins)
 
818
 
 
819
  BUG FIXES:
 
820
 
 
821
    * Avoid circular imports by creating a deprecated function for
 
822
      ``bzrlib.tree.RevisionTree``. Callers should have been using
 
823
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
824
      #63360, #66349)
 
825
 
 
826
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
827
      platforms. (Martin Pool, #66356)
 
828
 
 
829
    * Don't require ``Content-Type`` in range responses. Assume they are a
 
830
      single range if ``Content-Type`` does not exist.
 
831
      (John Arbash Meinel, #62473)
 
832
 
 
833
    * bzr branch/pull no longer complain about progress bar cleanup when
 
834
      interrupted during fetch.  (Aaron Bentley, #54000)
 
835
 
 
836
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
837
      the basis inventory, rather than going through the repository. This
 
838
      allows us to have 1 inventory read, and 2 inventory writes when
 
839
      committing a new tree. (John Arbash Meinel)
 
840
 
 
841
    * When reverting, files that are not locally modified that do not exist
 
842
      in the target are deleted, not just unversioned (Aaron Bentley)
 
843
 
 
844
    * When trying to acquire a lock, don't fail immediately. Instead, try
 
845
      a few times (up to 1 hour) before timing out. Also, report why the
 
846
      lock is unavailable (John Arbash Meinel, #43521, #49556)
 
847
 
 
848
    * Leave HttpTransportBase daughter classes decides how they
 
849
      implement cloning. (Vincent Ladeuil, #61606)
 
850
 
 
851
    * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
852
 
 
853
    * If a commit fails, the commit message is stored in a file at the root of
 
854
      the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
855
      #32054)
 
856
 
 
857
  TESTING:
 
858
 
 
859
    * New test base class TestCaseWithMemoryTransport offers memory-only
 
860
      testing facilities: its not suitable for tests that need to mutate disk
 
861
      state, but most tests should not need that and should be converted to
 
862
      TestCaseWithMemoryTransport. (Robert Collins)
 
863
 
 
864
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
 
865
      option to set the BzrDir, Repository and Branch formats of the
 
866
      created objects. (Robert Collins, John Arbash Meinel)
 
867
 
 
868
bzr 0.11  2006-10-02
 
869
 
 
870
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
871
 
 
872
bzr 0.11rc2  2006-09-27
 
873
 
 
874
  BUG FIXES:
 
875
 
 
876
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
877
    
 
878
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
879
      Arbash Meinel).
 
880
 
 
881
bzr 0.11rc1  2006-09-25
 
882
 
 
883
  IMPROVEMENTS:
 
884
 
 
885
    * Knit files now wait to create their contents until the first data is
 
886
      added. The old code used to create an empty .knit and a .kndx with just
 
887
      the header. However, this caused a lot of extra round trips over sftp.
 
888
      This can change the time for ``bzr push`` to create a new remote branch
 
889
      from 160s down to 100s. This also affects ``bzr commit`` performance when
 
890
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
891
      down to 40s (John Arbash Meinel, #44692)
 
892
 
 
893
    * When an entire subtree has been deleted, commit will now report that
 
894
      just the top of the subtree has been deleted, rather than reporting
 
895
      all the individual items. (Robert Collins)
 
896
 
 
897
    * Commit performs one less XML parse. (Robert Collins)
 
898
 
 
899
    * ``bzr checkout`` now operates on readonly branches as well
 
900
      as readwrite branches. This fixes bug #39542. (Robert Collins)
 
901
 
 
902
    * ``bzr bind`` no longer synchronises history with the master branch.
 
903
      Binding should be followed by an update or push to synchronise the 
 
904
      two branches. This is closely related to the fix for bug #39542.
 
905
      (Robert Collins)
 
906
 
 
907
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
 
908
      objects.  This allows all imports to stay at the global scope, but
 
909
      modules will not actually be imported if they are not used.
 
910
      (John Arbash Meinel)
 
911
 
 
912
    * Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
 
913
      transport which will be used with the upcoming high-performance smart
 
914
      server. The new command ``bzr serve`` will invoke bzr in server mode,
 
915
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
916
      Pool)
 
917
 
 
918
    * New command ``bzr version-info`` which can be used to get a summary
 
919
      of the current state of the tree. This is especially useful as part
 
920
      of a build commands. See ``doc/version_info.txt`` for more information 
 
921
      (John Arbash Meinel)
 
922
 
 
923
  BUG FIXES:
 
924
 
 
925
    * 'bzr inventory [FILE...]' allows restricting the file list to a
 
926
      specific set of files. (John Arbash Meinel, #3631)
 
927
 
 
928
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
929
 
 
930
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
931
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
932
      reading a nested Stanza. (John Arbash Meinel)
 
933
 
 
934
    * Transform._set_mode() needs to stat the right file. 
 
935
      (John Arbash Meinel, #56549)
 
936
 
 
937
    * Raise WeaveFormatError rather than StopIteration when trying to read
 
938
      an empty Weave file. (John Arbash Meinel, #46871)
 
939
 
 
940
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
941
      (Vincent Ladeuil, #59835)
 
942
 
 
943
    * Handle boundary="" lines properly to allow access through a Squid proxy.
 
944
      (John Arbash Meinel, #57723)
 
945
 
 
946
    * revert now removes newly-added directories (Aaron Bentley, #54172)
 
947
 
 
948
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
 
949
      isn't a working tree. (David Allouche, #40679)
 
950
 
 
951
    * Give nicer error messages when a user supplies an invalid --revision
 
952
      parameter. (John Arbash Meinel, #55420)
 
953
 
 
954
    * Handle when LANG is not recognized by python. Emit a warning, but
 
955
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
956
 
 
957
    * Don't use preexec_fn on win32, as it is not supported by subprocess.
 
958
      (John Arbash Meinel)
 
959
 
 
960
    * Skip specific tests when the dependencies aren't met. This includes
 
961
      some ``setup.py`` tests when ``python-dev`` is not available, and
 
962
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
963
 
 
964
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
965
      the system. (Andrew Bennetts, John Arbash Meinel)
 
966
 
 
967
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
968
      other branch, and will not push or pull between the two branches.
 
969
      API users will need to perform a push or pull or update operation if they
 
970
      require branch synchronisation to take place. (Robert Collins, #47344)
 
971
 
 
972
    * When creating a tarball or zipfile export, export unicode names as utf-8
 
973
      paths. This may not work perfectly on all platforms, but has the best
 
974
      chance of working in the common case. (John Arbash Meinel, #56816)
 
975
 
 
976
    * When committing, only files that exist in working tree or basis tree
 
977
      may be specified (Aaron Bentley, #50793)
 
978
 
 
979
  PORTABILITY:
 
980
 
 
981
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
982
 
 
983
  INTERNALS:
 
984
 
 
985
    * TestCaseInTempDir now creates a separate directory for HOME, rather
 
986
      than having HOME set to the same location as the working directory.
 
987
      (John Arbash Meinel)
 
988
 
 
989
    * run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
 
990
      which will update os.environ inside the spawned child. It also can
 
991
      take a 'universal_newlines=True', which helps when checking the output
 
992
      of the command. (John Arbash Meinel)
 
993
 
 
994
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
 
995
      (Andrew Bennetts)
 
996
 
 
997
    * Transport.list_dir() and Transport.iter_files_recursive() should always
 
998
      return urlescaped paths. This is now tested (there were bugs in a few
 
999
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
1000
 
 
1001
    * New utility function symbol_versioning.deprecation_string. Returns the
 
1002
      formatted string for a callable, deprecation format pair. (Robert Collins)
 
1003
 
 
1004
    * New TestCase helper applyDeprecated. This allows you to call a callable
 
1005
      which is deprecated without it spewing to the screen, just by supplying
 
1006
      the deprecation format string issued for it. (Robert Collins)
 
1007
 
 
1008
    * Transport.append and Transport.put have been deprecated in favor of
 
1009
      .append_bytes, .append_file, .put_bytes, and .put_file. This removes the
 
1010
      ambiguity in what type of object the functions take.
 
1011
      Transport.non_atomic_put_{bytes,file} has also been added. Which works
 
1012
      similarly to Transport.append() except for SFTP, it doesn't have a round
 
1013
      trip when opening the file. Also, it provides functionality for creating
 
1014
      a parent directory when trying to create a file, rather than raise
 
1015
      NoSuchFile and forcing the caller to repeat their request.
 
1016
      (John Arbash Meinel)
 
1017
 
 
1018
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
 
1019
      entries by their file id. (Robert Collins)
 
1020
 
 
1021
    * WorkingTree.pending_merges is deprecated.  Please use the get_parent_ids
 
1022
      (introduced in 0.10) method instead. (Robert Collins)
 
1023
 
 
1024
    * WorkingTree has a new lock_tree_write method which locks the branch for
 
1025
      read rather than write. This is appropriate for actions which only need
 
1026
      the branch data for reference rather than mutation. A new decorator
 
1027
      needs_tree_write_lock is provided in the workingtree module. Like the
 
1028
      needs_read_lock and needs_write_lock decorators this allows static 
 
1029
      declaration of the locking requirements of a function to ensure that
 
1030
      a lock is taken out for casual scripts. (Robert Collins, #54107)
 
1031
 
 
1032
    * All WorkingTree methods which write to the tree, but not to the branch
 
1033
      have been converted to use ``needs_tree_write_lock`` rather than 
 
1034
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
1035
      transform modules. This provides a modest performance improvement on 
 
1036
      metadir style trees, due to the reduce lock-acquisition, and a more
 
1037
      significant performance improvement on lightweight checkouts from 
 
1038
      remote branches, where trivial operations used to pay a significant 
 
1039
      penalty. It also provides the basis for allowing readonly checkouts.
 
1040
      (Robert Collins)
 
1041
 
 
1042
    * Special case importing the standard library 'copy' module. This shaves
 
1043
      off 40ms of startup time, while retaining compatibility. See:
 
1044
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
1045
 
 
1046
    * WorkingTree has a new parent class MutableTree which represents the 
 
1047
      specialisations of Tree which are able to be altered. (Robert Collins)
 
1048
 
 
1049
    * New methods mkdir and put_file_bytes_non_atomic on MutableTree that
 
1050
      mutate the tree and its contents. (Robert Collins)
 
1051
 
 
1052
    * Transport behaviour at the root of the URL is now defined and tested.
 
1053
      (Andrew Bennetts, Robert Collins)
 
1054
 
 
1055
  TESTING:
 
1056
 
 
1057
    * New test helper classs MemoryTree. This is typically accessed via
 
1058
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
1059
      
 
1060
    * Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
 
1061
      continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
 
1062
      Robert Collins)
 
1063
 
 
1064
    * Add a new method ``Transport.get_smart_client()``. This is provided to
 
1065
      allow upgrades to a richer interface than the VFS one provided by
 
1066
      Transport. (Andrew Bennetts, Martin Pool)
 
1067
 
 
1068
bzr 0.10  2006-08-29
2
1069
  
3
1070
  IMPROVEMENTS:
4
1071
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
17
1084
    * Inverse forms are provided for all boolean options.  For example,
18
1085
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
19
1086
 
 
1087
    * Serialize out Inventories directly, rather than using ElementTree.
 
1088
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
1089
      (Robert Collins, John Arbash Meinel)
 
1090
 
20
1091
  BUG FIXES:
21
1092
 
 
1093
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
1094
 
 
1095
    * Change LockDir so that if the lock directory doesn't exist when
 
1096
      lock_write() is called, an attempt will be made to create it.
 
1097
      (John Arbash Meinel, #56974)
 
1098
 
 
1099
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
1100
 
 
1101
    * Active FTP transport now works as intended. (ghozzy, #56472)
 
1102
 
 
1103
    * Really fix mutter() so that it won't ever raise a UnicodeError.
 
1104
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
1105
      But it is a debugging log, not a real user file.
 
1106
      (John Arbash Meinel, #56947, #53880)
 
1107
 
 
1108
    * Change Command handle to allow Unicode command and options.
 
1109
      At present we cannot register Unicode command names, so we will get
 
1110
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
1111
      But that is better than a UnicodeError + a traceback.
 
1112
      (John Arbash Meinel, #57123)
 
1113
 
22
1114
    * Handle TZ=UTC properly when reading/writing revisions.
23
1115
      (John Arbash Meinel, #55783, #56290)
24
1116
 
32
1124
      in handling of revision properties. (John Arbash Meinel, Holger Krekel,
33
1125
      #54723)
34
1126
 
 
1127
    * The bzr selftest was failing on installed versions due to a bug in a new
 
1128
      test helper. (John Arbash Meinel, Robert Collins, #58057)
 
1129
 
35
1130
  INTERNALS:
36
1131
 
37
1132
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
40
1135
      convert revision ids to utf8 to annotate lines in storage.
41
1136
      (John Arbash Meinel)
42
1137
 
 
1138
    * ``setup.py`` now searches the filesystem to find all packages which
 
1139
      need to be installed. This should help make the life of packagers
 
1140
      easier. (John Arbash Meinel)
 
1141
 
43
1142
bzr 0.9.0  2006-08-11
44
1143
 
45
1144
  SURPRISES:
74
1173
     and normalize the parent based on root, allowing access across
75
1174
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
76
1175
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
77
 
      #42517, #42514)
 
1176
     #42517, #42514)
78
1177
 
79
1178
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
80
1179
     Use terminal width for single-line logs from ``bzr log --line`` and
422
1521
    * Pull now accepts a --revision argument (Erik Bågfors)
423
1522
 
424
1523
    * 'bzr re-sign' now allows multiple revisions to be supplied on the command
425
 
      line. You can now use the following command to sign all of your old commits.
 
1524
      line. You can now use the following command to sign all of your old
 
1525
      commits::
 
1526
 
426
1527
        find .bzr/revision-store// -name my@email-* \
427
1528
          | sed 's/.*\/\/..\///' \
428
1529
          | xargs bzr re-sign
1014
2115
    * Config options have moved from bzrlib.osutils to bzrlib.config.
1015
2116
      Configuration is now done via the config.Config interface:
1016
2117
      Depending on whether you have a Branch, a Location or no information
1017
 
      available, construct a *Config, and use its signature_checking,
1018
 
      username and user_email methods. (Robert Collins)
 
2118
      available, construct a ``*Config``, and use its ``signature_checking``,
 
2119
      ``username`` and ``user_email`` methods. (Robert Collins)
1019
2120
 
1020
2121
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
1021
2122
      they are made available for other plugins to use. You should not 
1217
2318
      bzr branch it cannot understand. This allows for precise
1218
2319
      handling of such circumstances.
1219
2320
 
 
2321
    * Remove RevisionReference class; Revision.parent_ids is now simply a
 
2322
      list of their ids and parent_sha1s is a list of their corresponding
 
2323
      sha1s (for old branches only at the moment.)
 
2324
 
 
2325
    * New method-object style interface for Commit() and Fetch().
 
2326
 
 
2327
    * Renamed Branch.last_patch() to Branch.last_revision(), since
 
2328
      we call them revisions not patches.
 
2329
 
 
2330
    * Move copy_branch to bzrlib.clone.copy_branch.  The destination
 
2331
      directory is created if it doesn't exist.
 
2332
 
 
2333
    * Inventories now identify the files which were present by 
 
2334
      giving the revision *of that file*.
 
2335
 
 
2336
    * Inventory and Revision XML contains a version identifier.  
 
2337
      This must be consistent with the overall branch version
 
2338
      but allows for more flexibility in future upgrades.
1220
2339
 
1221
2340
  TESTING:
1222
2341