/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-08-16 05:50:11 UTC
  • mfrom: (2668.2.9 fetch-refactor)
  • Revision ID: pqm@pqm.ubuntu.com-20070816055011-tnjdmdi948uyvz6a
(Andrew Bennetts) Add Repository.item_keys_introduced_by, and some associated refactoring of bzrlib/fetch.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
IN DEVELOPMENT
 
2
 
 
3
  FEATURES:
 
4
 
 
5
    * New option ``--author`` in ``bzr commit`` to specify the author of the
 
6
      change, if it's different from the committer.  (Lukáš Lalinský)
 
7
 
 
8
  IMPROVEMENTS:
 
9
 
 
10
    * ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
11
      (Aaron Bentley)
 
12
 
 
13
    * ``pull -v`` no longer includes deltas, making it much faster.
 
14
      (Aaron Bentley)
 
15
 
 
16
  API CHANGES:
 
17
 
 
18
    * ``Transport.should_cache`` has been removed.  It was not called in the
 
19
      previous release.  (Martin Pool)
 
20
 
 
21
bzr 0.90rc1 2007-08-14
 
22
 
 
23
  BUGFIXES:
 
24
 
 
25
    * ``bzr init`` should connect to the remote location one time only.  We
 
26
      have been connecting several times because we forget to pass around the
 
27
      Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
28
      so that we can give it the Transport we already have.
 
29
      (John Arbash Meinel, Vincent Ladeuil, #111702)
 
30
 
 
31
    * Get rid of sftp connection cache (get rid of the FTP one too).
 
32
      (Vincent Ladeuil, #43731)
 
33
 
 
34
    * bzr branch {local|remote} remote don't try to create a working tree
 
35
      anymore.
 
36
      (Vincent Ladeuil, #112173)
 
37
 
 
38
    * All identified multiple connections for a single bzr command have been
 
39
      fixed. See bzrlib/tests/commands directory.
 
40
      (Vincent Ladeuil)
 
41
 
 
42
    * ``bzr rm`` now does not insist on ``--force`` to delete files that
 
43
      have been renamed but not otherwise modified.  (Marius Kruger,
 
44
      #111664)
 
45
 
 
46
    * ``bzr selftest --bench`` no longer emits deprecation warnings
 
47
      (Lukáš Lalinský)
 
48
 
 
49
    * ``bzr status`` now honours FILE parameters for conflict lists
 
50
      (Aaron Bentley, #127606)
 
51
 
 
52
    * ``bzr checkout`` now honours -r when reconstituting a working tree.
 
53
      It also honours -r 0.  (Aaron Bentley, #127708)
 
54
 
 
55
    * ``bzr add *`` no more fails on Windows if working tree contains
 
56
      non-ascii file names. (Kuno Meyer, #127361)
 
57
 
 
58
    * allow ``easy_install bzr`` runs without fatal errors. 
 
59
      (Alexander Belchenko, #125521)
 
60
 
 
61
    * Graph._filter_candidate_lca does not raise KeyError if a candidate
 
62
      is eliminated just before it would normally be examined.  (Aaron Bentley)
 
63
 
 
64
    * SMTP connection failures produce a nice message, not a traceback.
 
65
      (Aaron Bentley)
 
66
 
 
67
  IMPROVEMENTS:
 
68
 
 
69
    * Don't show "dots" progress indicators when run non-interactively, such
 
70
      as from cron.  (Martin Pool)
 
71
 
 
72
    * ``info`` now formats locations more nicely and lists "submit" and
 
73
      "public" branches (Aaron Bentley)
 
74
 
 
75
    * New ``pack`` command that will trigger database compression within
 
76
      the repository (Robert Collins)
 
77
 
 
78
    * Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
79
      version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
80
      Which yields a measurable improvement for commands which have to
 
81
      read from the repository, such as a 1s => 0.75s improvement in
 
82
      ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
83
 
 
84
    * Merge is now faster.  Depending on the scenario, it can be more than 2x
 
85
      faster. (Aaron Bentley)
 
86
 
 
87
    * Give a clearer warning, and allow ``python setup.py install`` to
 
88
      succeed even if pyrex is not available.
 
89
      (John Arbash Meinel)
 
90
 
 
91
    * ``DirState._read_dirblocks`` now has an optional Pyrex
 
92
      implementation. This improves the speed of any command that has to
 
93
      read the entire DirState. (``diff``, ``status``, etc, improve by
 
94
      about 10%).
 
95
      ``bisect_dirblocks`` has also been improved, which helps all
 
96
      ``_get_entry`` type calls (whenever we are searching for a
 
97
      particular entry in the in-memory DirState).
 
98
      (John Arbash Meinel)
 
99
 
 
100
    * ``bzr pull`` and ``bzr push`` no longer do a complete walk of the 
 
101
      branch revision history for ui display unless -v is supplied.
 
102
      (Robert Collins)
 
103
 
 
104
    * ``bzr log -rA..B`` output shifted to the left margin if the log only 
 
105
      contains merge revisions. (Kent Gibson) 
 
106
 
 
107
    * The ``plugins`` command is now public with improved help.
 
108
      (Ian Clatworthy)
 
109
 
 
110
    * New bundle and merge directive formats are faster to generate, and
 
111
 
 
112
    * Annotate merge now works when there are local changes. (Aaron Bentley)
 
113
 
 
114
    * Commit now only shows the progress in terms of directories instead of
 
115
      entries. (Ian Clatworthy)
 
116
 
 
117
    * Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
118
      times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
119
      Meinel)
 
120
 
 
121
    * Fix ``VersionedFile.get_graph()`` to avoid using
 
122
      ``set.difference_update(other)``, which has bad scaling when
 
123
      ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
124
      a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
125
 
 
126
    * The ``--lsprof-file`` option now generates output for KCacheGrind if
 
127
      the file starts with ``callgrind.out``. This matches the default file
 
128
      filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
129
 
 
130
    * Fix ``bzr update`` to avoid an unnecessary
 
131
      ``branch.get_master_branch`` call, which avoids 1 extra connection
 
132
      to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
133
 
 
134
    * Log errors from the smart server in the trace file, to make debugging 
 
135
      test failures (and live failures!) easier.  (Andrew Bennetts)
 
136
 
 
137
    * The HTML version of the man page has been superceded by a more
 
138
      comprehensive manual called the Bazaar User Reference. This manual
 
139
      is completed generated from the online help topics. As part of this
 
140
      change, limited reStructuredText is now explicitly supported in help
 
141
      topics and command help with 'unnatural' markup being removed prior
 
142
      to display by the online help or inclusion in the man page.
 
143
      (Ian Clatworthy)
 
144
 
 
145
    * HTML documentation now use files extension *.html (Alexander Belchenko)
 
146
 
 
147
    * The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
148
      so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
149
 
 
150
    * ``bzr selftest --strict'' fails if there are any missing features or
 
151
      expected test failures. (Daniel Watkins, #111914)
 
152
 
 
153
    * Link to registration survey added to README. (Ian Clatworthy)
 
154
 
 
155
    * Windows standalone installer show link to registration survey
 
156
      when installation finished. (Alexander Belchenko)
 
157
 
 
158
  LIBRARY API BREAKS:
 
159
 
 
160
    * Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
161
      Options are now required to provide a help string and it must
 
162
      comply with the style guide by being one or more sentences with an
 
163
      initial capital and final period. (Martin Pool)
 
164
 
 
165
    * KnitIndex.get_parents now returns tuples. (Robert Collins)
 
166
 
 
167
    * Ancient unused ``Repository.text_store`` attribute has been removed.
 
168
      (Robert Collins)
 
169
 
 
170
    * The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
171
      rather than just bytestrings, making it easier to represent multiple
 
172
      element names. As this interface was not used by any internal facilities
 
173
      since it was introduced in 0.18 no API compatibility is being preserved.
 
174
      The serialised form of these packs is identical with 0.18 when a single
 
175
      element tuple is in use. (Robert Collins)
 
176
 
 
177
  INTERNALS:
 
178
 
 
179
    * merge now uses ``iter_changes`` to calculate changes, which makes room for
 
180
      future performance increases.  It is also more consistent with other
 
181
      operations that perform comparisons, and reduces reliance on
 
182
      Tree.inventory.  (Aaron Bentley)
 
183
 
 
184
    * Refactoring of transport classes connected to a remote server.
 
185
      ConnectedTransport is a new class that serves as a basis for all
 
186
      transports needing to connect to a remote server.  transport.split_url
 
187
      have been deprecated, use the static method on the object instead. URL
 
188
      tests have been refactored too.
 
189
      (Vincent Ladeuil)
 
190
 
 
191
    * Better connection sharing for ConnectedTransport objects.
 
192
      transport.get_transport() now accepts a 'possible_transports' parameter.
 
193
      If a newly requested transport can share a connection with one of the
 
194
      list, it will.
 
195
      (Vincent Ladeuil)
 
196
 
 
197
    * Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
198
      the null revision, and consider using ``None`` for this purpose
 
199
      deprecated.  (Aaron Bentley)
 
200
 
 
201
    * New ``index`` module with abstract index functionality. This will be
 
202
      used during the planned changes in the repository layer. Currently the
 
203
      index layer provides a graph aware immutable index, a builder for the
 
204
      same index type to allow creating them, and finally a composer for
 
205
      such indices to allow the use of many indices in a single query. The
 
206
      index performance is not optimised, however the API is stable to allow
 
207
      development on top of the index. (Robert Collins)
 
208
 
 
209
    * ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
210
      their directory sections. This is equivalent to comparing
 
211
      ``path.split('/')``, only without having to split the paths.
 
212
      This has a Pyrex implementation available.
 
213
      (John Arbash Meinel)
 
214
 
 
215
    * New transport decorator 'unlistable+' which disables the list_dir
 
216
      functionality for testing.
 
217
 
 
218
    * Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
219
 
 
220
    * RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
221
      for performing annotate-merge.  (Aaron Bentley)
 
222
 
 
223
    * New EmailMessage class to create email messages. (Adeodato Simó)
 
224
 
 
225
    * Unused functions on the private interface KnitIndex have been removed.
 
226
      (Robert Collins)
 
227
 
 
228
    * New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
229
      of a ``index.GraphIndex``. (Robert Collins)
 
230
 
 
231
    * New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
232
      the parents of many knit nodes at once, reducing round trips to the 
 
233
      underlying index. (Robert Collins)
 
234
 
 
235
    * Graph now has an is_ancestor method, various bits use it.
 
236
      (Aaron Bentley)
 
237
 
 
238
    * The ``-Dhpss`` flag now includes timing information. As well as
 
239
      logging when a new connection is opened. (John Arbash Meinel)
 
240
 
 
241
    * ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
242
      callers when inserting data, allowing generation of readv style access
 
243
      during pack creation, without needing a separate pass across the output
 
244
      pack to gather such details. (Robert Collins)
 
245
 
 
246
    * ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
247
      files that are stored on a transport. (Robert Collins)
 
248
 
 
249
    * New ``Repository.has_same_location`` method that reports if two
 
250
      repository objects refer to the same repository (although with some risk
 
251
      of false negatives).  (Andrew Bennetts)
 
252
 
 
253
    * InterTree.compare now passes require_versioned on correctly.
 
254
      (Marius Kruger)
 
255
 
 
256
    * New methods on Repository - ``start_write_group``,
 
257
      ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
258
      which provide a clean hook point for transactional Repositories - ones
 
259
      where all the data for a fetch or commit needs to be made atomically
 
260
      available in one step. This allows the write lock to remain while making
 
261
      a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
262
 
 
263
    * In ``bzrlib.knit`` the internal interface has been altered to use
 
264
      3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
265
      describe where data in a knit is, allowing knits to be split into 
 
266
      many files. (Robert Collins)
 
267
 
 
268
    * ``bzrlib.knit._KnitData`` split into cache management and physical access
 
269
      with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
270
      The former provides access into a .pack file, and the latter provides the
 
271
      current production repository form of .knit files. (Robert Collins)
 
272
 
 
273
  TESTING:
 
274
 
 
275
    * Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
276
      ``--keep-output`` options, which are obsolete now that tests
 
277
      are done within directories in $TMPDIR.  (Martin Pool)
 
278
 
 
279
    * The SSH_AUTH_SOCK environment variable is now reset to avoid 
 
280
      interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
281
 
 
282
    * run_bzr_subprocess handles parameters the same way as run_bzr:
 
283
      either a string or a list of strings should be passed as the first
 
284
      parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
285
 
 
286
 
 
287
bzr 0.18  2007-07-17
 
288
 
 
289
  BUGFIXES:
 
290
 
 
291
    * Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
292
 
 
293
 
 
294
bzr 0.18rc1  2007-07-10
 
295
 
 
296
  BUGFIXES:
 
297
 
 
298
    * Do not suppress pipe errors, etc. in non-display commands
 
299
      (Alexander Belchenko, #87178)
 
300
 
 
301
    * Display a useful error message when the user requests to annotate
 
302
      a file that is not present in the specified revision.
 
303
      (James Westby, #122656)
 
304
 
 
305
    * Commands that use status flags now have a reference to 'help
 
306
      status-flags'.  (Daniel Watkins, #113436)
 
307
 
 
308
    * Work around python-2.4.1 inhability to correctly parse the
 
309
      authentication header.
 
310
      (Vincent Ladeuil, #121889)
 
311
 
 
312
    * Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
313
 
 
314
    * Fix tempfile permissions error in smart server tar bundling under
 
315
      Windows. (Martin _, #119330)
 
316
 
 
317
    * Fix detection of directory entries in the inventory. (James Westby)
 
318
 
 
319
    * Fix handling of http code 400: Bad Request When issuing too many ranges.
 
320
      (Vincent Ladeuil, #115209)
 
321
 
 
322
    * Issue a CONNECT request when connecting to an https server
 
323
      via a proxy to enable SSL tunneling.
 
324
      (Vincent Ladeuil, #120678)
 
325
 
 
326
    * Fix ``bzr log -r`` to support selecting merge revisions, both 
 
327
      individually and as part of revision ranges.
 
328
      (Kent Gibson, #4663)
 
329
 
 
330
    * Don't leave cruft behind when failing to acquire a lockdir.
 
331
      (Martin Pool, #109169)
 
332
 
 
333
    * Don't use the '-f' strace option during tests.
 
334
      (Vincent Ladeuil, #102019).
 
335
 
 
336
    * Warn when setting ``push_location`` to a value that will be masked by
 
337
      locations.conf.  (Aaron Bentley, #122286)
 
338
 
 
339
    * Fix commit ordering in corner case (Aaron Bentley, #94975)
 
340
 
 
341
    *  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
342
 
 
343
  IMPROVEMENTS:
 
344
 
 
345
    * The --lsprof-file option now dumps a text rendering of the profiling
 
346
      information if the filename ends in ".txt". It will also convert the
 
347
      profiling information to a format suitable for KCacheGrind if the
 
348
      output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
349
      conversion process by Jean Paul Calderone and Itamar were also merged.
 
350
      See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
351
 
 
352
    * ``info`` now defaults to non-verbose mode, displaying only paths and
 
353
      abbreviated format info.  ``info -v`` displays all the information
 
354
      formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
355
 
 
356
    * ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
357
      (Elliot Murphy)
 
358
 
 
359
    * The internal ``weave-list`` command has become ``versionedfile-list``,
 
360
      and now lists knits as well as weaves.  (Aaron Bentley)
 
361
 
 
362
    * Automatic merge base selection uses a faster algorithm that chooses
 
363
      better bases in criss-cross merge situations (Aaron Bentley)
 
364
 
 
365
    * Progress reporting in ``commit`` has been improved. The various logical
 
366
      stages are now reported on as follows, namely:
 
367
 
 
368
      * Collecting changes [Entry x/y] - Stage n/m
 
369
      * Saving data locally - Stage n/m
 
370
      * Uploading data to master branch - Stage n/m
 
371
      * Updating the working tree - Stage n/m
 
372
      * Running post commit hooks - Stage n/m
 
373
      
 
374
      If there is no master branch, the 3rd stage is omitted and the total
 
375
      number of stages is adjusted accordingly.
 
376
 
 
377
      Each hook that is run after commit is listed with a name (as hooks
 
378
      can be slow it is useful feedback).
 
379
      (Ian Clatworthy, Robert Collins)
 
380
 
 
381
    * Various operations that are now faster due to avoiding unnecessary
 
382
      topological sorts. (Aaron Bentley)
 
383
 
 
384
    * Make merge directives robust against broken bundles. (Aaron Bentley)
 
385
 
 
386
    * The lsprof filename note is emitted via trace.note(), not standard
 
387
      output.  (Aaron Bentley)
 
388
 
 
389
    * ``bzrlib`` now exports explicit API compatibility information to assist
 
390
      library users and plugins. See the ``bzrlib.api`` module for details.
 
391
      (Robert Collins)
 
392
 
 
393
    * Remove unnecessary lock probes when acquiring a lockdir.
 
394
      (Martin Pool)
 
395
 
 
396
    * ``bzr --version`` now shows the location of the bzr log file, which
 
397
      is especially useful on Windows.  (Martin Pool)
 
398
 
 
399
    * -D now supports hooks to get debug tracing of hooks (though its currently
 
400
      minimal in nature). (Robert Collins)
 
401
 
 
402
    * Long log format reports deltas on merge revisions. 
 
403
      (John Arbash Meinel, Kent Gibson)
 
404
 
 
405
    * Make initial push over ftp more resilient. (John Arbash Meinel)
 
406
 
 
407
    * Print a summary of changes for update just like pull does.
 
408
      (Daniel Watkins, #113990)
 
409
 
 
410
    * Add a -Dhpss option to trace smart protocol requests and responses.
 
411
      (Andrew Bennetts)
 
412
 
 
413
  LIBRARY API BREAKS:
 
414
 
 
415
    * Testing cleanups - 
 
416
      ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
417
      to ``bzrlib.tests.repository_implementations``;
 
418
      ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
419
      to ``bzrlib.tests.interrepository_implementations``;
 
420
      ``bzrlib.transport.TransportTestProviderAdapter`` has moved to 
 
421
      ``bzrlib.tests.test_transport_implementations``.
 
422
      ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
423
      ``bzrlib.tests.branch_implementations``.
 
424
      ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to 
 
425
      ``bzrlib.tests.bzrdir_implementations``.
 
426
      ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
427
      to ``bzrlib.tests.interversionedfile_implementations``.
 
428
      ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
429
      ``bzrlib.tests.revisionstore_implementations``.
 
430
      ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
431
      ``bzrlib.tests.workingtree_implementations``.
 
432
      These changes are an API break in the testing infrastructure only.
 
433
      (Robert Collins)
 
434
 
 
435
    * Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
436
 
 
437
    * ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
438
      win32. Callers of the function should do this and use the new
 
439
      ``MutableTree.smart_add`` method instead. (Robert Collins)
 
440
 
 
441
    * ``bzrlib.add.glob_expand_for_win32`` is now
 
442
      ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
443
 
 
444
    * ``bzrlib.add.FastPath`` is now private and moved to 
 
445
      ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
446
 
 
447
    * ``LockDir.wait`` removed.  (Martin Pool)
 
448
 
 
449
    * The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
450
      ``server_stopped`` hooks. The first parameter is now an iterable of
 
451
      backing URLs rather than a single URL. This is to reflect that many
 
452
      URLs may map to the external URL of the server. E.g. the server interally
 
453
      may have a chrooted URL but also the local file:// URL will be at the 
 
454
      same location. (Robert Collins)
 
455
 
 
456
  INTERNALS:
 
457
 
 
458
    * New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
459
 
 
460
    * Fix documentation of BzrError. (Adeodato Simó)
 
461
 
 
462
    * Make BzrBadParameter an internal error. (Adeodato Simó)
 
463
 
 
464
    * Remove use of 'assert False' to raise an exception unconditionally.
 
465
      (Martin Pool)
 
466
 
 
467
    * Give a cleaner error when failing to decode knit index entry.
 
468
      (Martin Pool)
 
469
 
 
470
    * TreeConfig would mistakenly search the top level when asked for options
 
471
      from a section. It now respects the section argument and only
 
472
      searches the specified section. (James Westby)
 
473
 
 
474
    * Improve ``make api-docs`` output. (John Arbash Meinel)
 
475
 
 
476
    * Use os.lstat rather than os.stat for osutils.make_readonly and
 
477
      osutils.make_writeable. This makes the difftools plugin more
 
478
      robust when dangling symlinks are found. (Elliot Murphy)
 
479
 
 
480
    * New ``-Dlock`` option to log (to ~/.bzr.log) information on when 
 
481
      lockdirs are taken or released.  (Martin Pool)
 
482
 
 
483
    * ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This 
 
484
      allows a nicer UI when hooks are running as the current hook can
 
485
      be displayed. (Robert Collins)
 
486
 
 
487
    * ``Transport.get`` has had its interface made more clear for ease of use.
 
488
      Retrieval of a directory must now fail with either 'PathError' at open
 
489
      time, or raise 'ReadError' on a read. (Robert Collins)
 
490
 
 
491
    * New method ``_maybe_expand_globs`` on the ``Command`` class for 
 
492
      dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
493
      was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
494
 
 
495
    * ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
496
      deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
497
      Martin Pool)
 
498
 
 
499
    * New method ``external_url`` on Transport for obtaining the url to
 
500
      hand to external processes. (Robert Collins)
 
501
 
 
502
    * Teach windows installers to build pyrex/C extensions.
 
503
      (Alexander Belchenko)
 
504
 
 
505
  TESTING:
 
506
 
 
507
    * Removed the ``--keep-output`` option from selftest and clean up test
 
508
      directories as they're used.  This reduces the IO load from 
 
509
      running the test suite and cuts the time by about half.
 
510
      (Andrew Bennetts, Martin Pool)
 
511
 
 
512
    * Add scenarios as a public attribute on the TestAdapter classes to allow
 
513
      modification of the generated scenarios before adaption and easier
 
514
      testing. (Robert Collins)
 
515
 
 
516
    * New testing support class ``TestScenarioApplier`` which multiplies
 
517
      out a single teste by a list of supplied scenarios. (RobertCollins)
 
518
 
 
519
    * Setting ``repository_to_test_repository`` on a repository_implementations
 
520
      test will cause it to be called during repository creation, allowing the
 
521
      testing of repository classes which are not based around the Format
 
522
      concept. For example a repository adapter can be tested in this manner,
 
523
      by altering the repository scenarios to include a scenario that sets this
 
524
      attribute during the test parameterisation in
 
525
      ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
526
 
 
527
    * Clean up many of the APIs for blackbox testing of Bazaar.  The standard 
 
528
      interface is now self.run_bzr.  The command to run can be passed as
 
529
      either a list of parameters, a string containing the command line, or
 
530
      (deprecated) varargs parameters.  (Martin Pool)
 
531
 
 
532
    * The base TestCase now isolates tests from -D parameters by clearing
 
533
      ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
534
 
 
535
    * Add a relpath parameter to get_transport methods in test framework to
 
536
      avoid useless cloning.
 
537
      (Vincent Ladeuil, #110448)
 
538
 
 
539
 
 
540
bzr 0.17  2007-06-18
 
541
 
 
542
  BUGFIXES:
 
543
 
 
544
    * Fix crash of commit due to wrong lookup of filesystem encoding.
 
545
      (Colin Watson, #120647)
 
546
 
 
547
    * Revert logging just to stderr in commit as broke unicode filenames.
 
548
      (Aaron Bentley, Ian Clatworthy, #120930)
 
549
 
 
550
 
 
551
bzr 0.17rc1  2007-06-12
 
552
 
 
553
  NOTES WHEN UPGRADING:
 
554
 
 
555
    * The kind() and is_executable() APIs on the WorkingTree interface no
 
556
      longer implicitly (read) locks and unlocks the tree. This *might*
 
557
      impact some plug-ins and tools using this part of the API. If you find
 
558
      an issue that may be caused by this change, please let us know,
 
559
      particularly the plug-in/tool maintainer. If encountered, the API
 
560
      fix is to surround kind() and is_executable() calls with lock_read()
 
561
      and unlock() like so::
 
562
 
 
563
        work_tree.lock_read()
 
564
        try:
 
565
            kind = work_tree.kind(...)
 
566
        finally:
 
567
            work_tree.unlock()
 
568
 
 
569
  INTERNALS:
 
570
    * Rework of LogFormatter API to provide beginning/end of log hooks and to
 
571
      encapsulate the details of the revision to be logged in a LogRevision
 
572
      object.
 
573
      In long log formats, merge revision ids are only shown when --show-ids
 
574
      is specified, and are labelled "revision-id:", as per mainline
 
575
      revisions, instead of "merged:". (Kent Gibson)
 
576
 
 
577
    * New ``BranchBuilder`` API which allows the construction of particular
 
578
      histories quickly. Useful for testing and potentially other applications
 
579
      too. (Robert Collins)
 
580
 
 
581
  IMPROVEMENTS:
 
582
  
 
583
    * There are two new help topics, working-trees and repositories that
 
584
      attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
585
      Aaron Bentley)
 
586
 
 
587
    * Added ``bzr log --limit`` to report a limited number of revisions.
 
588
      (Kent Gibson, #3659)
 
589
 
 
590
    * Revert does not try to preserve file contents that were originally
 
591
      produced by reverting to a historical revision.  (Aaron Bentley)
 
592
 
 
593
    * ``bzr log --short`` now includes ``[merge]`` for revisions which
 
594
      have more than one parent. This is a small improvement to help
 
595
      understanding what changes have occurred
 
596
      (John Arbash Meinel, #83887)
 
597
 
 
598
    * TreeTransform avoids many renames when contructing large trees,
 
599
      improving speed.  3.25x speedups have been observed for construction of
 
600
      kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
601
 
 
602
    * Commit on large trees is now faster. In my environment, a commit of
 
603
      a small change to the Mozilla tree (55k files) has dropped from
 
604
      66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
605
      small change is 33% faster. (Ian Clatworthy)
 
606
 
 
607
    * New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
608
      #56322)
 
609
 
 
610
  BUGFIXES:
 
611
 
 
612
    * ``bzr push`` should only connect to the remote location one time.
 
613
      We have been connecting 3 times because we forget to pass around
 
614
      the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
615
      that we can pass in the Transport that we already have.
 
616
      (John Arbash Meinel, #75721)
 
617
 
 
618
    * ``DirState.set_state_from_inventory()`` needs to properly order
 
619
      based on split paths, not just string paths.
 
620
      (John Arbash Meinel, #115947)
 
621
 
 
622
    * Let TestUIFactoy encode the password prompt with its own stdout.
 
623
      (Vincent Ladeuil, #110204)
 
624
 
 
625
    * pycurl should take use the range header that takes the range hint
 
626
      into account.
 
627
      (Vincent Ladeuil, #112719)
 
628
 
 
629
    * WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
630
      on a missing file.  (Aaron Bentley, #118186)
 
631
 
 
632
    * WorkingTree.remove works correctly with tree references, and when pwd is
 
633
      not the tree root. (Aaron Bentley)
 
634
 
 
635
    * Merge no longer fails when a file is renamed in one tree and deleted
 
636
      in the other. (Aaron Bentley, #110279)
 
637
 
 
638
    * ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
639
      and defaults to the last revision (Matthew Fuller, #90048)
 
640
 
 
641
    * Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
642
      (Daniel Watkins, #111958)
 
643
 
 
644
    * ``bzr branch -r revid:foo`` can be used to branch any revision in
 
645
      your repository. (Previously Branch6 only supported revisions in your
 
646
      mainline). (John Arbash Meinel, #115343)
 
647
 
 
648
bzr 0.16  2007-05-07
 
649
  
 
650
  BUGFIXES:
 
651
 
 
652
    * Handle when you have 2 directories with similar names, but one has a
 
653
      hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
654
      iterator was using direct comparison and ``'abc/a'`` sorts after
 
655
      ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
656
      (John Arbash Meinel, #111227)
 
657
 
 
658
    * Handle when someone renames a file on disk without telling bzr.
 
659
      Previously we would report the first file as missing, but not show
 
660
      the new unknown file. (John Arbash Meinel, #111288)
 
661
 
 
662
    * Avoid error when running hooks after pulling into or pushing from
 
663
      a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
664
 
 
665
  IMPROVEMENTS:
 
666
 
 
667
    * Move developer documentation to doc/developers/. This reduces clutter in
 
668
      the root of the source tree and allows HACKING to be split into multiple
 
669
      files. (Robert Collins, Alexander Belchenko)
 
670
 
 
671
    * Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
672
      ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
673
      diff`` and ``bzr status`` significantly improving the speed of
 
674
      both. (John Arbash Meinel)
 
675
 
 
676
bzr 0.16rc2  2007-04-30
 
677
 
 
678
  BUGFIXES:
 
679
 
 
680
    * Handle the case when you delete a file, and then rename another file
 
681
      on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
682
      status`` should show the removed file and an unknown file in its
 
683
      place. (John Arbash Meinel, #109993)
 
684
 
 
685
    * Bundles properly read and write revision properties that have an
 
686
      empty value. And when the value is not ASCII.
 
687
      (John Arbash Meinel, #109613)
 
688
 
 
689
    * Fix the bzr commit message to be in text mode.
 
690
      (Alexander Belchenko, #110901)
 
691
 
 
692
    * Also handle when you rename a file and create a file where it used
 
693
      to be. (John Arbash Meinel, #110256)
 
694
 
 
695
    * ``WorkingTree4._iter_changes`` should not descend into unversioned
 
696
      directories. (John Arbash Meinel, #110399)
 
697
 
 
698
bzr 0.16rc1  2007-04-26
 
699
 
 
700
  NOTES WHEN UPGRADING:
 
701
 
 
702
    * ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
703
      it could be recovered again.
 
704
      This has been done for consistency with svn and the unix rm command.
 
705
      The old ``remove`` behaviour has been retained in the new option
 
706
      ``bzr remove --keep``, which will just stop versioning the file,
 
707
      but not delete it.
 
708
      ``bzr remove --force`` have been added which will always delete the
 
709
      files.
 
710
      ``bzr remove`` is also more verbose.
 
711
      (Marius Kruger, #82602)
 
712
 
 
713
  IMPROVEMENTS:
 
714
 
 
715
    * Merge directives can now be supplied as input to `merge` and `pull`,
 
716
      like bundles can.  (Aaron Bentley)
 
717
 
 
718
    * Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
719
      pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
720
      to continue.  This can be disabled by setting the environment variable
 
721
      ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
722
 
 
723
    * selftest now supports --list-only to list tests instead of running
 
724
      them. (Ian Clatworthy)
 
725
 
 
726
    * selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
727
      tests with names that match that regular expression.
 
728
      (Ian Clatworthy, #102679)
 
729
 
 
730
    * selftest now supports --randomize SEED to run tests in a random order.
 
731
      SEED is typically the value 'now' meaning 'use the current time'.
 
732
      (Ian Clatworthy, #102686)
 
733
 
 
734
    * New option ``--fixes`` to commit, which stores bug fixing annotations as
 
735
      revision properties. Built-in support for Launchpad, Debian, Trac and
 
736
      Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
737
 
 
738
    * New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
739
      other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
740
      Robert Collins)
 
741
 
 
742
    * ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
743
      Pool)
 
744
 
 
745
    * ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
746
      into using local variables instead of going through ``self._var``.
 
747
      Improves the time to ``merge_sort`` a 10k revision graph by
 
748
      approximately 40% (~700->400ms).  (John Arbash Meinel)
 
749
 
 
750
    * ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
751
      (Robert Collins)
 
752
 
 
753
    * ``bzr help`` now provides cross references to other help topics using
 
754
      the _see_also facility on command classes. Likewise the bzr_man
 
755
      documentation, and the bzr.1 man page also include this information.
 
756
      (Robert Collins)
 
757
 
 
758
    * Tags are now included in logs, that use the long log formatter. 
 
759
      (Erik Bågfors, Alexander Belchenko)
 
760
 
 
761
    * ``bzr help`` provides a clearer message when a help topic cannot be
 
762
      found. (Robert Collins, #107656)
 
763
 
 
764
    * ``bzr help`` now accepts optional prefixes for command help. The help
 
765
      for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
766
      as well as ``bzr help COMMANDNAME`` (which only works for commands 
 
767
      where the name is not the same as a more general help topic). 
 
768
      (Robert Collins)
 
769
 
 
770
    * ``bzr help PLUGINNAME`` will now return the module docstring from the
 
771
      plugin PLUGINNAME. (Robert Collins, #50408)
 
772
 
 
773
    * New help topic ``urlspec`` which lists the availables transports.
 
774
      (Goffredo Baroncelli)
 
775
 
 
776
    * doc/server.txt updated to document the default bzr:// port
 
777
      and also update the blurb about the hpss' current status.
 
778
      (Robert Collins, #107125).
 
779
 
 
780
    * ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
781
      serve out to the local LAN (and anyone in the world that can reach the
 
782
      machine running ``bzr serve``. (Robert Collins, #98918)
 
783
 
 
784
    * A new smart server protocol version has been added.  It prefixes requests
 
785
      and responses with an explicit version identifier so that future protocol
 
786
      revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
787
 
 
788
    * The bzr protocol version 2 indicates success or failure in every response
 
789
      without depending on particular commands encoding that consistently,
 
790
      allowing future client refactorings to be much more robust about error
 
791
      handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
792
 
 
793
    * The smart protocol over HTTP client has been changed to always post to the
 
794
      same ``.bzr/smart`` URL under the original location when it can.  This allows
 
795
      HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
796
      server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
797
 
 
798
    * digest authentication is now supported for proxies and HTTP by the urllib
 
799
      based http implementation. Tested against Apache 2.0.55 and Squid
 
800
      2.6.5. Basic and digest authentication are handled coherently for HTTP
 
801
      and proxy: if the user is provided in the url (bzr command line for HTTP,
 
802
      proxy environment variables for proxies), the password is prompted for
 
803
      (only once). If the password is provided, it is taken into account. Once
 
804
      the first authentication is successful, all further authentication
 
805
      roundtrips are avoided by preventively setting the right authentication
 
806
      header(s).
 
807
      (Vincent Ladeuil).
 
808
 
 
809
  INTERNALS:
 
810
 
 
811
    * bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
812
      code paths. (Robert Collins)
 
813
 
 
814
    * Change the format of chroot urls so that they can be safely manipulated
 
815
      by generic url utilities without causing the resulting urls to have
 
816
      escaped the chroot. A side effect of this is that creating a chroot
 
817
      requires an explicit action using a ChrootServer.
 
818
      (Robert Collins, Andrew Bennetts)
 
819
 
 
820
    * Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
821
      rather than fixing bug #96847.  (Aaron Bentley)
 
822
 
 
823
    * ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
824
      ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
825
 
 
826
    * Convenience method ``TestCase.expectFailure`` ensures that known failures
 
827
      do not silently pass.  (Aaron Bentley)
 
828
 
 
829
    * ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than 
 
830
      ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
831
 
 
832
    * New SmartServer hooks facility. There are two initial hooks documented
 
833
      in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
834
      plugins to execute code upon server startup and shutdown.
 
835
      (Robert Collins).
 
836
 
 
837
    * SmartServer in standalone mode will now close its listening socket
 
838
      when it stops, rather than waiting for garbage collection. This primarily
 
839
      fixes test suite hangs when a test tries to connect to a shutdown server.
 
840
      It may also help improve behaviour when dealing with a server running
 
841
      on a specific port (rather than dynamically assigned ports).
 
842
      (Robert Collins)
 
843
 
 
844
    * Move most SmartServer code into a new package, bzrlib/smart.
 
845
      bzrlib/transport/remote.py contains just the Transport classes that used
 
846
      to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
847
 
 
848
    * urllib http implementation avoid roundtrips associated with
 
849
      401 (and 407) errors once the authentication succeeds.
 
850
      (Vincent Ladeuil).
 
851
 
 
852
    * urlib http now supports querying the user for a proxy password if
 
853
      needed. Realm is shown in the prompt for both HTTP and proxy
 
854
      authentication when the user is required to type a password. 
 
855
      (Vincent Ladeuil).
 
856
 
 
857
    * Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
858
      RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
859
      consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
860
      it's not really a "smart" transport, just one that does file operations
 
861
      via remote procedure calls.  (Andrew Bennetts)
 
862
 
 
863
    * The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
864
      ``Branch`` now accept a ``token`` keyword argument, so that separate
 
865
      instances of those objects can share a lock if it has the right token.
 
866
      (Andrew Bennetts, Robert Collins)
 
867
 
 
868
    * New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
869
      branch references - which the smart server component needs.
 
870
 
 
871
    * The Repository API ``make_working_trees`` is now permitted to return
 
872
      False when ``set_make_working_trees`` is not implemented - previously
 
873
      an unimplemented ``set_make_working_trees`` implied the result True
 
874
      from ``make_working_trees``. This has been changed to accomodate the
 
875
      smart server, where it does not make sense (at this point) to ever
 
876
      make working trees by default. (Robert Collins)
 
877
 
 
878
    * Command objects can now declare related help topics by having _see_also
 
879
      set to a list of related topic. (Robert Collins)
 
880
 
 
881
    * ``bzrlib.help`` now delegates to the Command class for Command specific
 
882
      help. (Robert Collins)
 
883
 
 
884
    * New class ``TransportListRegistry``, derived from the Registry class, which 
 
885
      simplifies tracking the available Transports. (Goffredo Baroncelli)
 
886
 
 
887
    * New function ``Branch.get_revision_id_to_revno_map`` which will
 
888
      return a dictionary mapping revision ids to dotted revnos. Since
 
889
      dotted revnos are defined in the context of the branch tip, it makes
 
890
      sense to generate them from a ``Branch`` object.
 
891
      (John Arbash Meinel)
 
892
 
 
893
    * Fix the 'Unprintable error' message display to use the repr of the 
 
894
      exception that prevented printing the error because the str value
 
895
      for it is often not useful in debugging (e.g. KeyError('foo') has a
 
896
      str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
897
      useful. (Robert Collins)
 
898
 
 
899
    * ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
900
      (Andrew Bennetts)
 
901
 
 
902
  BUGFIXES:
 
903
 
 
904
    * Don't fail bundle selftest if email has 'two' embedded.  
 
905
      (Ian Clatworthy, #98510)
 
906
 
 
907
    * Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
908
      (Robert Widhopf-Fenk, #98591)
 
909
 
 
910
    * Remove ``--basis`` from the checkout/branch commands - it didn't work
 
911
      properly and is no longer beneficial.
 
912
      (Robert Collins, #53675, #43486)
 
913
 
 
914
    * Don't produce encoding error when adding duplicate files.
 
915
      (Aaron Bentley)
 
916
 
 
917
    * Fix ``bzr log <file>`` so it only logs the revisions that changed
 
918
      the file, and does it faster.
 
919
      (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
920
 
 
921
    * Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
922
      an empty versioned directory, which now has files in it.
 
923
      (John Arbash Meinel, #104257)
 
924
 
 
925
    * Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
926
      inside the ancestry of the other. Saves a lot of graph processing
 
927
      (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
928
      changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
929
 
 
930
    * Fix ``show_diff_trees`` to handle the case when a file is modified,
 
931
      and the containing directory is renamed. (The file path is different
 
932
      in this versus base, but it isn't marked as a rename).
 
933
      (John Arbash Meinel, #103870)
 
934
 
 
935
    * FTP now works even when the FTP server does not support atomic rename.
 
936
      (Aaron Bentley, #89436)
 
937
 
 
938
    * Correct handling in bundles and merge directives of timezones with
 
939
      that are not an integer number of hours offset from UTC.  Always 
 
940
      represent the epoch time in UTC to avoid problems with formatting 
 
941
      earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
942
      Arbash Meinel)
 
943
 
 
944
    * Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
945
 
 
946
    * "dirstate" and "dirstate-tags" formats now produce branches compatible
 
947
      with old versions of bzr. (Aaron Bentley, #107168))
 
948
 
 
949
    * Handle moving a directory when children have been added, removed,
 
950
      and renamed. (John Arbash Meinel, #105479)
 
951
 
 
952
    * Don't preventively use basic authentication for proxy before receiving a
 
953
      407 error. Otherwise people willing to use other authentication schemes
 
954
      may expose their password in the clear (or nearly). This add one
 
955
      roundtrip in case basic authentication should be used, but plug the
 
956
      security hole.
 
957
      (Vincent Ladeuil)
 
958
 
 
959
    * Handle http and proxy digest authentication.
 
960
      (Vincent Ladeuil, #94034).
 
961
 
 
962
  TESTING:
 
963
 
 
964
    * Added ``bzrlib.strace.strace`` which will strace a single callable and
 
965
      return a StraceResult object which contains just the syscalls involved
 
966
      in running it. (Robert Collins)
 
967
 
 
968
    * New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
969
      default time down to one suitable for tests. (Andrew Bennetts)
 
970
 
 
971
    * Add new ``vfs_transport_factory`` attribute on tests which provides the 
 
972
      common vfs backing for both the readonly and readwrite transports.
 
973
      This allows the RemoteObject tests to back onto local disk or memory,
 
974
      and use the existing ``transport_server`` attribute all tests know about
 
975
      to be the smart server transport. This in turn allows tests to 
 
976
      differentiate between 'transport to access the branch', and 
 
977
      'transport which is a VFS' - which matters in Remote* tests.
 
978
      (Robert Collins, Andrew Bennetts)
 
979
 
 
980
    * The ``make_branch_and_tree`` method for tests will now create a 
 
981
      lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
982
      a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
983
 
 
984
    * Branch implementation tests have been audited to ensure that all urls 
 
985
      passed to Branch APIs use proper urls, except when local-disk paths
 
986
      are intended. This is so that tests correctly access the test transport
 
987
      which is often not equivalent to local disk in Remote* tests. As part
 
988
      of this many tests were adjusted to remove dependencies on local disk
 
989
      access.
 
990
      (Robert Collins, Andrew Bennetts)
 
991
 
 
992
    * Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
993
      functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
994
      Andrew Bennetts, Martin Pool, Jonathan Lange)
 
995
 
 
996
    * Refactored proxy and authentication handling to simplify the
 
997
      implementation of new auth schemes for both http and proxy. 
 
998
      (Vincent Ladeuil)
 
999
 
 
1000
bzr 0.15 2007-04-01
 
1001
 
 
1002
  BUGFIXES:
 
1003
 
 
1004
    * Handle incompatible repositories as a user issue when fetching.
 
1005
      (Aaron Bentley)
 
1006
 
 
1007
    * Don't give a recommendation to upgrade when branching or 
 
1008
      checking out a branch that contains an old-format working tree.
 
1009
      (Martin Pool)
 
1010
 
 
1011
bzr 0.15rc3  2007-03-26
 
1012
 
 
1013
  CHANGES:
 
1014
 
 
1015
    * A warning is now displayed when opening working trees in older 
 
1016
      formats, to encourage people to upgrade to WorkingTreeFormat4.
 
1017
      (Martin Pool)
 
1018
 
 
1019
  IMPROVEMENTS:
 
1020
 
 
1021
    * HTTP redirections are now taken into account when a branch (or a
 
1022
      bundle) is accessed for the first time. A message is issued at each
 
1023
      redirection to inform the user. In the past, http redirections were
 
1024
      silently followed for each request which significantly degraded the
 
1025
      performances. The http redirections are not followed anymore by
 
1026
      default, instead a RedirectRequested exception is raised. For bzrlib
 
1027
      users needing to follow http redirections anyway,
 
1028
      ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
1029
      path.  (vila)
 
1030
 
 
1031
  INTERNALS:
 
1032
 
 
1033
    * Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
1034
      lock to an OS write lock. Linux can do this without unlocking, Win32
 
1035
      needs to unlock in between. (John Arbash Meinel)
 
1036
 
 
1037
    * New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
1038
      to silence (when false) warnings about opening old formats.
 
1039
      (Martin Pool)
 
1040
 
 
1041
    * Fix minor performance regression with bzr-0.15 on pre-dirstate
 
1042
      trees. (We were reading the working inventory too many times).
 
1043
      (John Arbash Meinel)
 
1044
 
 
1045
    * Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
1046
      ``revision_history``.  Branch subclasses should override
 
1047
      ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
1048
      this cache, and call ``_clear_revision_history_cache`` and
 
1049
      ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
1050
 
 
1051
  BUGFIXES:
 
1052
 
 
1053
    * Take ``smtp_server`` from user config into account.
 
1054
      (vila, #92195)
 
1055
 
 
1056
    * Restore Unicode filename handling for versioned and unversioned files.
 
1057
      (John Arbash Meinel, #92608)
 
1058
 
 
1059
    * Don't fail during ``bzr commit`` if a file is marked removed, and
 
1060
      the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
1061
 
 
1062
    * ``bzr status FILENAME`` failed on Windows because of an uncommon
 
1063
      errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
1064
      (Wouter van Heyst, John Arbash Meinel, #90819)
 
1065
 
 
1066
    * ``bzr checkout source`` should create a local branch in the same
 
1067
      format as source. (John Arbash Meinel, #93854)
 
1068
 
 
1069
    * ``bzr commit`` with a kind change was failing to update the
 
1070
      last-changed-revision for directories.  The
 
1071
      InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
1072
      ignoring the fact that the kind could have changed, too.
 
1073
      (John Arbash Meinel, #90111)
 
1074
 
 
1075
    * ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
1076
      the directory. So that there was a chance it would break commit,
 
1077
      etc. (John Arbash Meinel, #94037)
 
1078
 
 
1079
    * Correctly handles mutiple permanent http redirections.
 
1080
      (vila, #88780)
 
1081
 
 
1082
bzr 0.15rc2  2007-03-14
 
1083
 
 
1084
  NOTES WHEN UPGRADING:
 
1085
        
 
1086
    * Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
1087
      default to ``--trees`` instead of ``--no-trees``.
 
1088
      Existing shared repositories are not affected.
 
1089
 
 
1090
  IMPROVEMENTS:
 
1091
 
 
1092
    * New ``merge-directive`` command to generate machine- and human-readable
 
1093
      merge requests.  (Aaron Bentley)
 
1094
 
 
1095
    * New ``submit:`` revision specifier makes it easy to diff against the
 
1096
      common ancestor with the submit location (Aaron Bentley)
 
1097
 
 
1098
    * Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
1099
 
 
1100
    * Added ``bzr status --versioned`` to report only versioned files, 
 
1101
      not unknowns. (Kent Gibson)
 
1102
 
 
1103
    * Merge now autodetects the correct line-ending style for its conflict
 
1104
      markers.  (Aaron Bentley)
 
1105
 
 
1106
  INTERNALS:
 
1107
 
 
1108
    * Refactored SSH vendor registration into SSHVendorManager class.
 
1109
      (Dmitry Vasiliev)
 
1110
 
 
1111
  BUGFIXES:
 
1112
 
 
1113
    * New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
1114
      numbered dirs for TestCaseInTempDir. This is default behavior
 
1115
      on Windows. Anyone can force named dirs on Windows
 
1116
      with ``--no-numbered-dirs``. (Alexander Belchenko)
 
1117
 
 
1118
    * Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
1119
      from the command line. (Marien Zwart, #90501)
 
1120
 
 
1121
    * Fix ``TreeTransform._iter_changes`` when both the source and
 
1122
      destination are missing. (Aaron Bentley, #88842)
 
1123
 
 
1124
    * Fix commit of merges with symlinks in dirstate trees.
 
1125
      (Marien Zwart)
 
1126
    
 
1127
    * Switch the ``bzr init-repo`` default from --no-trees to --trees. 
 
1128
      (Wouter van Heyst, #53483)
 
1129
 
 
1130
 
 
1131
bzr 0.15rc1  2007-03-07
 
1132
 
 
1133
  SURPRISES:
 
1134
 
 
1135
    * The default disk format has changed. Please run 'bzr upgrade' in your
 
1136
      working trees to upgrade. This new default is compatible for network
 
1137
      operations, but not for local operations. That is, if you have two
 
1138
      versions of bzr installed locally, after upgrading you can only use the
 
1139
      bzr 0.15 version. This new default does not enable tags or nested-trees
 
1140
      as they are incompatible with bzr versions before 0.15 over the network.
 
1141
 
 
1142
    * For users of bzrlib: Two major changes have been made to the working tree
 
1143
      api in bzrlib. The first is that many methods and attributes, including
 
1144
      the inventory attribute, are no longer valid for use until one of
 
1145
      ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
1146
      and become invalid again after unlock is called. This has been done
 
1147
      to improve performance and correctness as part of the dirstate
 
1148
      development.
 
1149
      (Robert Collins, John A Meinel, Martin Pool, and others).
 
1150
 
 
1151
    * For users of bzrlib: The attribute 'tree.inventory' should be considered
 
1152
      readonly. Previously it was possible to directly alter this attribute, or
 
1153
      its contents, and have the tree notice this. This has been made
 
1154
      unsupported - it may work in some tree formats, but in the newer dirstate
 
1155
      format such actions will have no effect and will be ignored, or even
 
1156
      cause assertions. All operations possible can still be carried out by a
 
1157
      combination of the tree API, and the bzrlib.transform API. (Robert
 
1158
      Collins, John A Meinel, Martin Pool, and others).
 
1159
 
 
1160
  IMPROVEMENTS:
 
1161
 
 
1162
    * Support for OS Windows 98. Also .bzr.log on any windows system
 
1163
      saved in My Documents folder. (Alexander Belchenko)
 
1164
 
 
1165
    * ``bzr mv`` enhanced to support already moved files.
 
1166
      In the past the mv command would have failed if the source file doesn't
 
1167
      exist. In this situation ``bzr mv`` would now detect that the file has
 
1168
      already moved and update the repository accordingly, if the target file
 
1169
      does exist.
 
1170
      A new option ``--after`` has been added so that if two files already
 
1171
      exist, you could notify Bazaar that you have moved a (versioned) file
 
1172
      and replaced it with another. Thus in this case ``bzr move --after``
 
1173
      will only update the Bazaar identifier.
 
1174
      (Steffen Eichenberg, Marius Kruger)
 
1175
 
 
1176
    * ``ls`` now works on treeless branches and remote branches.
 
1177
      (Aaron Bentley)
 
1178
 
 
1179
    * ``bzr help global-options`` describes the global options.
 
1180
      (Aaron Bentley)
 
1181
 
 
1182
    * ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
1183
      (Robert Collins)
 
1184
 
 
1185
    * Files are now allowed to change kind (e.g. from file to symlink).
 
1186
      Supported by ``commit``, ``revert`` and ``status``
 
1187
      (Aaron Bentley)
 
1188
 
 
1189
    * ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
1190
      (Aaron Bentley)
 
1191
 
 
1192
    * ``bzr help checkouts`` descibes what checkouts are and some possible
 
1193
      uses of them. (James Westby, Aaron Bentley)
 
1194
 
 
1195
    * A new ``-d`` option to push, pull and merge overrides the default 
 
1196
      directory.  (Martin Pool)
 
1197
 
 
1198
    * Branch format 6: smaller, and potentially faster than format 5.  Supports
 
1199
      ``append_history_only`` mode, where the log view and revnos do not change,
 
1200
      except by being added to.  Stores policy settings in
 
1201
      ".bzr/branch/branch.conf".
 
1202
 
 
1203
    * ``append_only`` branches:  Format 6 branches may be configured so that log
 
1204
      view and revnos are always consistent.  Either create the branch using
 
1205
      "bzr init --append-revisions-only" or edit the config file as descriped
 
1206
      in docs/configuration.txt.
 
1207
 
 
1208
    * rebind: Format 6 branches retain the last-used bind location, so if you
 
1209
      "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
1210
      bind location.
 
1211
 
 
1212
    * Builtin tags support, created and deleted by the ``tag`` command and
 
1213
      stored in the branch.  Tags can be accessed with the revisionspec
 
1214
      ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned 
 
1215
      at present. Tags require a network incompatible upgrade. To perform this
 
1216
      upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
1217
      repositories. (Martin Pool)
 
1218
 
 
1219
    * The ``bzr://`` transport now has a well-known port number, 4155,
 
1220
      which it will use by default.  (Andrew Bennetts, Martin Pool)
 
1221
 
 
1222
    * Bazaar now looks for user-installed plugins before looking for site-wide
 
1223
      plugins. (Jonathan Lange)
 
1224
 
 
1225
    * ``bzr resolve`` now detects and marks resolved text conflicts.
 
1226
      (Aaron Bentley)
 
1227
 
 
1228
  INTERNALS:
 
1229
 
 
1230
    * Internally revision ids and file ids are now passed around as utf-8
 
1231
      bytestrings, rather than treating them as Unicode strings. This has
 
1232
      performance benefits for Knits, since we no longer need to decode the
 
1233
      revision id for each line of content, nor for each entry in the index.
 
1234
      This will also help with the future dirstate format.
 
1235
      (John Arbash Meinel)
 
1236
 
 
1237
    * Reserved ids (any revision-id ending in a colon) are rejected by
 
1238
      versionedfiles, repositories, branches, and working trees
 
1239
      (Aaron Bentley)
 
1240
 
 
1241
    * Minor performance improvement by not creating a ProgressBar for
 
1242
      every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
1243
      (John Arbash Meinel)
 
1244
 
 
1245
    * New easier to use Branch hooks facility. There are five initial hooks,
 
1246
      all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
1247
      ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
1248
      ``'post_uncommit'``. These hooks fire after the matching operation
 
1249
      on a branch has taken place, and were originally added for the
 
1250
      branchrss plugin. (Robert Collins)
 
1251
 
 
1252
    * New method ``Branch.push()`` which should be used when pushing from a
 
1253
      branch as it makes performance and policy decisions to match the UI
 
1254
      level command ``push``. (Robert Collins).
 
1255
 
 
1256
    * Add a new method ``Tree.revision_tree`` which allows access to cached
 
1257
      trees for arbitrary revisions. This allows the in development dirstate
 
1258
      tree format to provide access to the callers to cached copies of 
 
1259
      inventory data which are cheaper to access than inventories from the
 
1260
      repository.
 
1261
      (Robert Collins, Martin Pool)
 
1262
 
 
1263
    * New ``Branch.last_revision_info`` method, this is being done to allow
 
1264
      optimization of requests for both the number of revisions and the last
 
1265
      revision of a branch with smartservers and potentially future branch
 
1266
      formats. (Wouter van Heyst, Robert Collins)
 
1267
 
 
1268
    * Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
1269
      yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
1270
      other for code reuse without requiring users to perform file-renaming
 
1271
      gymnastics. (Robert Collins)
 
1272
 
 
1273
    * New Repository method ``'gather_stats'`` for statistic data collection.
 
1274
      This is expected to grow to cover a number of related uses mainly
 
1275
      related to bzr info. (Robert Collins)
 
1276
 
 
1277
    * Log formatters are now managed with a registry.
 
1278
      ``log.register_formatter`` continues to work, but callers accessing
 
1279
      the FORMATTERS dictionary directly will not.
 
1280
 
 
1281
    * Allow a start message to be passed to the ``edit_commit_message``
 
1282
      function.  This will be placed in the message offered to the user
 
1283
      for editing above the separator. It allows a template commit message
 
1284
      to be used more easily. (James Westby)
 
1285
 
 
1286
    * ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
1287
      you pass a Unicode string rather than an 8-bit string. Callers need
 
1288
      to be updated to encode first. (John Arbash Meinel)
 
1289
 
 
1290
    * Branch.push, pull, merge now return Result objects with information
 
1291
      about what happened, rather than a scattering of various methods.  These
 
1292
      are also passed to the post hooks.  (Martin Pool)
 
1293
 
 
1294
    * File formats and architecture is in place for managing a forest of trees
 
1295
      in bzr, and splitting up existing trees into smaller subtrees, and
 
1296
      finally joining trees to make a larger tree. This is the first iteration
 
1297
      of this support, and the user-facing aspects still require substantial
 
1298
      work.  If you wish to experiment with it, use ``bzr upgrade
 
1299
      --dirstate-with-subtree`` in your working trees and repositories.
 
1300
      You can use the hidden commands ``split`` and ``join`` and to create
 
1301
      and manipulate nested trees, but please consider using the nested-trees
 
1302
      branch, which contains substantial UI improvements, instead.
 
1303
      http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
1304
      (Aaron Bentley, Martin Pool, Robert Collins).
 
1305
 
 
1306
  BUGFIXES:
 
1307
 
 
1308
    * ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
1309
      branch, rather than the last changed revision of the file.
 
1310
      (John Arbash Meinel, #82158)
 
1311
 
 
1312
    * Lock operations no longer hang if they encounter a permission problem.
 
1313
      (Aaron Bentley)
 
1314
 
 
1315
    * ``bzr push`` can resume a push that was canceled before it finished.
 
1316
      Also, it can push even if the target directory exists if you supply
 
1317
      the ``--use-existing-dir`` flag.
 
1318
      (John Arbash Meinel, #30576, #45504)
 
1319
 
 
1320
    * Fix http proxy authentication when user and an optional
 
1321
      password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
1322
      #83954).
 
1323
 
 
1324
    * ``bzr log branch/file`` works for local treeless branches
 
1325
      (Aaron Bentley, #84247)
 
1326
 
 
1327
    * Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
1328
 
 
1329
    * Searching location of CA bundle for PyCurl in env variable
 
1330
      (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
1331
      (Alexander Belchenko, #82086)
 
1332
 
 
1333
    * ``bzr init`` works with unicode argument LOCATION.
 
1334
      (Alexander Belchenko, #85599)
 
1335
 
 
1336
    * Raise ``DependencyNotPresent`` if pycurl do not support https. 
 
1337
      (Vincent Ladeuil, #85305)
 
1338
 
 
1339
    * Invalid proxy env variables should not cause a traceback.
 
1340
      (Vincent Ladeuil, #87765)
 
1341
 
 
1342
    * Ignore patterns normalised to use '/' path separator.
 
1343
      (Kent Gibson, #86451)
 
1344
 
 
1345
    * bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
1346
 
 
1347
    * Fix bzrtools shelve command for removed lines beginning with "--"
 
1348
      (Johan Dahlberg, #75577)
 
1349
 
 
1350
  TESTING:
 
1351
 
 
1352
    * New ``--first`` option to ``bzr selftest`` to run specified tests
 
1353
      before the rest of the suite.  (Martin Pool)
 
1354
 
 
1355
 
 
1356
bzr 0.14  2007-01-23
 
1357
 
 
1358
  IMPROVEMENTS:
 
1359
 
 
1360
    * ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
1361
 
 
1362
  BUG FIXES:
 
1363
    
 
1364
    * Skip documentation generation tests if the tools to do so are not
 
1365
      available. Fixes running selftest for installled copies of bzr. 
 
1366
      (John Arbash Meinel, #80330)
 
1367
 
 
1368
    * Fix the code that discovers whether bzr is being run from it's
 
1369
      working tree to handle the case when it isn't but the directory
 
1370
      it is in is below a repository. (James Westby, #77306)
 
1371
 
 
1372
 
 
1373
bzr 0.14rc1  2007-01-16
 
1374
 
 
1375
  IMPROVEMENTS:
 
1376
 
 
1377
    * New connection: ``bzr+http://`` which supports tunnelling the smart
 
1378
      protocol over an HTTP connection. If writing is enabled on the bzr
 
1379
      server, then you can write over the http connection.
 
1380
      (Andrew Bennetts, John Arbash Meinel)
 
1381
 
 
1382
    * Aliases now support quotation marks, so they can contain whitespace
 
1383
      (Marius Kruger)
 
1384
 
 
1385
    * PyCurlTransport now use a single curl object. By specifying explicitly
 
1386
      the 'Range' header, we avoid the need to use two different curl objects
 
1387
      (and two connections to the same server). (Vincent Ladeuil)
 
1388
 
 
1389
    * ``bzr commit`` does not prompt for a message until it is very likely to
 
1390
      succeed.  (Aaron Bentley)
 
1391
 
 
1392
    * ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
1393
      (Aaron Bentley)
 
1394
 
 
1395
    * Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
1396
      of a list while checking if a revision id was requested. Takes 10s
 
1397
      off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
1398
      of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
1399
      filtering lines with a regex rather than multiple ``str.find()``
 
1400
      calls. (saves another 300ms) (John Arbash Meinel)
 
1401
 
 
1402
    * Policy can be set for each configuration key. This allows keys to be
 
1403
      inherited properly across configuration entries. For example, this
 
1404
      should enable you to do::
 
1405
        
 
1406
        [/home/user/project]
 
1407
        push_location = sftp://host/srv/project/
 
1408
        push_location:policy = appendpath
 
1409
 
 
1410
      And then a branch like ``/home/user/project/mybranch`` should get an
 
1411
      automatic push location of ``sftp://host/srv/project/mybranch``.
 
1412
      (James Henstridge)
 
1413
 
 
1414
    * Added ``bzr status --short`` to make status report svn style flags
 
1415
      for each file.  For example::
 
1416
 
 
1417
        $ bzr status --short
 
1418
        A  foo
 
1419
        A  bar
 
1420
        D  baz
 
1421
        ?  wooley
 
1422
 
 
1423
    * 'bzr selftest --clean-output' allows easily clean temporary tests 
 
1424
      directories without running tests. (Alexander Belchenko)
 
1425
 
 
1426
    * ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
1427
 
 
1428
    * ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
1429
      local is fully merged into remote. (Jan Hudec)
 
1430
 
 
1431
    * ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
1432
 
 
1433
  INTERNALS:
 
1434
 
 
1435
    * A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
1436
      help speed up processing, as well allowing to extract unannotated
 
1437
      lines. Between the two ``fileids_affected_by_revision_ids`` is
 
1438
      improved by approx 10%. (John Arbash Meinel)
 
1439
 
 
1440
    * Change Revision serialization to only write out millisecond
 
1441
      resolution. Rather than expecting floating point serialization to
 
1442
      preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
1443
 
 
1444
    * Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
1445
 
 
1446
    * When ``encoding_type`` attribute of class Command is equal to 'exact', 
 
1447
      force sys.stdout to be a binary stream on Windows, and therefore
 
1448
      keep exact line-endings (without LF -> CRLF conversion).
 
1449
      (Alexander Belchenko)
 
1450
 
 
1451
    * Single-letter short options are no longer globally declared.  (Martin
 
1452
      Pool)
 
1453
 
 
1454
    * Before using detected user/terminal encoding bzr should check
 
1455
      that Python has corresponding codec. (Alexander Belchenko)
 
1456
 
 
1457
    * Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
1458
 
 
1459
  BUG FIXES:
 
1460
 
 
1461
    * ``bzr missing --verbose`` was showing adds/removals in the wrong
 
1462
      direction. (John Arbash Meinel)
 
1463
 
 
1464
    * ``bzr annotate`` now defaults to showing dotted revnos for merged
 
1465
      revisions. It cuts them off at a depth of 12 characters, but you can
 
1466
      supply ``--long`` to see the full number. You can also use
 
1467
      ``--show-ids`` to display the original revision ids, rather than
 
1468
      revision numbers and committer names. (John Arbash Meinel, #75637)
 
1469
 
 
1470
    * bzr now supports Win32 UNC path (e.g. ``\HOST\path``. 
 
1471
      (Alexander Belchenko, #57869)
 
1472
 
 
1473
    * Win32-specific: output of cat, bundle and diff commands don't mangle
 
1474
      line-endings (Alexander Belchenko, #55276)
 
1475
 
 
1476
    * Replace broken fnmatch based ignore pattern matching with custom pattern
 
1477
      matcher.
 
1478
      (Kent Gibson, Jan Hudec #57637)
 
1479
 
 
1480
    * pycurl and urllib can detect short reads at different places. Update
 
1481
      the test suite to test more cases. Also detect http error code 416
 
1482
      which was raised for that specific bug. Also enhance the urllib
 
1483
      robustness by detecting invalid ranges (and pycurl's one by detecting
 
1484
      short reads during the initial GET). (Vincent Ladeuil, #73948)
 
1485
 
 
1486
    * The urllib connection sharing interacts badly with urllib2
 
1487
      proxy setting (the connections didn't go thru the proxy
 
1488
      anymore). Defining a proper ProxyHandler solves the
 
1489
      problem.  (Vincent Ladeuil, #74759)
 
1490
 
 
1491
    * Use urlutils to generate relative URLs, not osutils 
 
1492
      (Aaron Bentley, #76229)
 
1493
 
 
1494
    * ``bzr status`` in a readonly directory should work without giving
 
1495
      lots of errors. (John Arbash Meinel, #76299)
 
1496
 
 
1497
    * Mention the revisionspec topic for the revision option help.
 
1498
      (Wouter van Heyst, #31663)
 
1499
 
 
1500
    * Allow plugins import from zip archives.
 
1501
      (Alexander Belchenko, #68124)
 
1502
 
 
1503
 
 
1504
bzr 0.13  2006-12-05
 
1505
    
 
1506
  No changes from 0.13rc1
 
1507
    
 
1508
bzr 0.13rc1  2006-11-27
 
1509
 
 
1510
  IMPROVEMENTS:
 
1511
 
 
1512
    * New command ``bzr remove-tree`` allows the removal of the working
 
1513
      tree from a branch.
 
1514
      (Daniel Silverstone)
 
1515
 
 
1516
    * urllib uses shared keep-alive connections, so http 
 
1517
      operations are substantially faster.
 
1518
      (Vincent Ladeuil, #53654)
 
1519
 
 
1520
    * ``bzr export`` allows an optional branch parameter, to export a bzr
 
1521
      tree from some other url. For example:
 
1522
      ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
1523
      (Daniel Silverstone)
 
1524
 
 
1525
    * Added ``bzr help topics`` to the bzr help system. This gives a
 
1526
      location for general information, outside of a specific command.
 
1527
      This includes updates for ``bzr help revisionspec`` the first topic
 
1528
      included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
1529
 
 
1530
    * WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
1531
      (Andrew Bennetts)
 
1532
 
 
1533
    * Knit files will now cache full texts only when the size of the
 
1534
      deltas is as large as the size of the fulltext. (Or after 200
 
1535
      deltas, whichever comes first). This has the most benefit on large
 
1536
      files with small changes, such as the inventory for a large project.
 
1537
      (eg For a project with 2500 files, and 7500 revisions, it changes
 
1538
      the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
1539
 
 
1540
  INTERNALS:
 
1541
 
 
1542
    * New -D option given before the command line turns on debugging output
 
1543
      for particular areas.  -Derror shows tracebacks on all errors.
 
1544
      (Martin Pool)
 
1545
 
 
1546
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
1547
      and remove benchmarks that take longer than 10min to run.
 
1548
      (John Arbash Meinel)
 
1549
 
 
1550
    * Use ``time.time()`` instead of ``time.clock()`` to decide on
 
1551
      progress throttling. Because ``time.clock()`` is actually CPU time,
 
1552
      so over a high-latency connection, too many updates get throttled.
 
1553
      (John Arbash Meinel)
 
1554
 
 
1555
    * ``MemoryTransport.list_dir()`` would strip the first character for
 
1556
      files or directories in root directory. (John Arbash Meinel)
 
1557
 
 
1558
    * New method ``get_branch_reference`` on 'BzrDir' allows the detection of 
 
1559
      branch references - which the smart server component needs.
 
1560
  
 
1561
    * New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
1562
      prefix.  It disallows any access to locations above a set URL.  (Andrew
 
1563
      Bennetts)
 
1564
 
 
1565
  BUG FIXES:
 
1566
 
 
1567
    * Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
1568
      And optimize the knit index parsing code. 
 
1569
      (Dmitry Vasiliev, John Arbash Meinel)
 
1570
 
 
1571
    * ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
1572
      without importing it. This prevented ``bzr upgrade`` from working
 
1573
      unless a plugin already imported ``bzrlib.workingtree``
 
1574
      (John Arbash Meinel, #70716)
 
1575
 
 
1576
    * Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
1577
 
 
1578
    * Give nicer error message when an http server returns a 403
 
1579
      error code. (Vincent Ladeuil, #57644).
 
1580
 
 
1581
    * When a multi-range http GET request fails, try a single
 
1582
      range one. If it fails too, forget about ranges. Remember that until 
 
1583
      the death of the transport and propagates that to the clones.
 
1584
      (Vincent Ladeuil, #62276, #62029).
 
1585
 
 
1586
    * Handles user/passwords supplied in url from command
 
1587
      line (for the urllib implementation). Don't request already
 
1588
      known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
1589
 
 
1590
    * ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
1591
      are added. This fixes bug where fetching remote revisions records
 
1592
      them as full references rather than integers.
 
1593
      (John Arbash Meinel, #64789)
 
1594
 
 
1595
    * ``bzr ignore`` strips trailing slashes in patterns.
 
1596
      Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
1597
 
 
1598
    * ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
1599
 
 
1600
    * mv correctly handles paths that traverse symlinks. 
 
1601
      (Aaron Bentley, #66964)
 
1602
 
 
1603
    * Give nicer looking error messages when failing to connect over ssh.
 
1604
      (John Arbash Meinel, #49172)
 
1605
 
 
1606
    * Pushing to a remote branch does not currently update the remote working
 
1607
      tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
1608
      machine now show that the working tree is out of date.
 
1609
      (Cheuksan Edward Wang #48136)
 
1610
 
 
1611
    * Use patiencediff instead of difflib for determining deltas to insert
 
1612
      into knits. This avoids the O(N^3) behavior of difflib. Patience
 
1613
      diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
1614
 
 
1615
    * Running ``bzr log`` on nonexistent file gives an error instead of the
 
1616
      entire log history. (Cheuksan Edward Wang #50793)
 
1617
 
 
1618
    * ``bzr cat`` can look up contents of removed or renamed files. If the
 
1619
      pathname is ambiguous, i.e. the files in the old and new trees have
 
1620
      different id's, the default is the file in the new tree. The user can
 
1621
      use "--name-from-revision" to select the file in the old tree.
 
1622
      (Cheuksan Edward Wang, #30190)
 
1623
 
 
1624
  TESTING:
 
1625
 
 
1626
    * TestingHTTPRequestHandler really handles the Range header
 
1627
      (previously it was ignoring it and returning the whole file,).
 
1628
 
 
1629
bzr 0.12  2006-10-30
 
1630
 
 
1631
  INTERNALS:
 
1632
 
 
1633
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
1634
      and remove benchmarks that take longer than 10min to run.
 
1635
      (John Arbash Meinel)
 
1636
  
 
1637
bzr 0.12rc1  2006-10-23
 
1638
 
 
1639
  IMPROVEMENTS:
 
1640
 
 
1641
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
1642
      rather than just showing a decimal revision number for revisions on the
 
1643
      mainline. These revision numbers are not yet accepted as input into bzr
 
1644
      commands such as log, diff etc. (Robert Collins)
 
1645
 
 
1646
    * revisions can now be specified using dotted-decimal revision numbers.
 
1647
      For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
1648
 
 
1649
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
 
1650
 
 
1651
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
 
1652
      a moderate effect on lots of actions, especially ones that have
 
1653
      little to do. For example ``bzr rocks`` time is down to 116ms from
 
1654
      283ms. (John Arbash Meinel)
 
1655
 
 
1656
    * New Registry class to provide name-to-object registry-like support,
 
1657
      for example for schemes where plugins can register new classes to
 
1658
      do certain tasks (e.g. log formatters). Also provides lazy registration
 
1659
      to allow modules to be loaded on request.
 
1660
      (John Arbash Meinel, Adeodato Simó)
 
1661
 
 
1662
  API INCOMPATABILITY:
 
1663
  
 
1664
    * LogFormatter subclasses show now expect the 'revno' parameter to 
 
1665
      show() to be a string rather than an int. (Robert Collins)
 
1666
 
 
1667
  INTERNALS:
 
1668
 
 
1669
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
1670
      can take a ``working_dir='foo'`` parameter, which will change directory 
 
1671
      for the command. (John Arbash Meinel)
 
1672
 
 
1673
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
1674
      around a regex, which defers compilation until first use. 
 
1675
      (John Arbash Meinel)
 
1676
 
 
1677
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
1678
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
1679
      problems with system-wide installed plugins. (John Arbash Meinel)
 
1680
 
 
1681
    * Unique tree root ids are now supported. Newly created trees still
 
1682
      use the common root id for compatibility with bzr versions before 0.12.
 
1683
      (Aaron Bentley)
 
1684
 
 
1685
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
1686
      pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
1687
      (Robert Collins, John Arbash Meinel)
 
1688
 
 
1689
    * New method ``WorkingTree.flush()`` which will write the current memory
 
1690
      inventory out to disk. At the same time, ``read_working_inventory`` will
 
1691
      no longer trash the current tree inventory if it has been modified within
 
1692
      the current lock, and the tree will now ``flush()`` automatically on
 
1693
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
1694
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
1695
 
 
1696
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
1697
      parameter will cause it to add another column to its output, which
 
1698
      contains the dotted-decimal revno for each revision, as a tuple.
 
1699
      (Robert Collins)
 
1700
 
 
1701
    * ``LogFormatter.show_merge`` is deprecated in favour of
 
1702
      ``LogFormatter.show_merge_revno``. (Robert Collins)
 
1703
 
 
1704
  BUG FIXES:
 
1705
 
 
1706
    * Avoid circular imports by creating a deprecated function for
 
1707
      ``bzrlib.tree.RevisionTree``. Callers should have been using
 
1708
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
1709
      #63360, #66349)
 
1710
 
 
1711
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
1712
      platforms. (Martin Pool, #66356)
 
1713
 
 
1714
    * Don't require ``Content-Type`` in range responses. Assume they are a
 
1715
      single range if ``Content-Type`` does not exist.
 
1716
      (John Arbash Meinel, #62473)
 
1717
 
 
1718
    * bzr branch/pull no longer complain about progress bar cleanup when
 
1719
      interrupted during fetch.  (Aaron Bentley, #54000)
 
1720
 
 
1721
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
1722
      the basis inventory, rather than going through the repository. This
 
1723
      allows us to have 1 inventory read, and 2 inventory writes when
 
1724
      committing a new tree. (John Arbash Meinel)
 
1725
 
 
1726
    * When reverting, files that are not locally modified that do not exist
 
1727
      in the target are deleted, not just unversioned (Aaron Bentley)
 
1728
 
 
1729
    * When trying to acquire a lock, don't fail immediately. Instead, try
 
1730
      a few times (up to 1 hour) before timing out. Also, report why the
 
1731
      lock is unavailable (John Arbash Meinel, #43521, #49556)
 
1732
 
 
1733
    * Leave HttpTransportBase daughter classes decides how they
 
1734
      implement cloning. (Vincent Ladeuil, #61606)
 
1735
 
 
1736
    * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
1737
 
 
1738
    * If a commit fails, the commit message is stored in a file at the root of
 
1739
      the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
1740
      #32054)
 
1741
 
 
1742
  TESTING:
 
1743
 
 
1744
    * New test base class TestCaseWithMemoryTransport offers memory-only
 
1745
      testing facilities: its not suitable for tests that need to mutate disk
 
1746
      state, but most tests should not need that and should be converted to
 
1747
      TestCaseWithMemoryTransport. (Robert Collins)
 
1748
 
 
1749
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
 
1750
      option to set the BzrDir, Repository and Branch formats of the
 
1751
      created objects. (Robert Collins, John Arbash Meinel)
 
1752
 
 
1753
bzr 0.11  2006-10-02
 
1754
 
 
1755
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
1756
 
 
1757
bzr 0.11rc2  2006-09-27
 
1758
 
 
1759
  BUG FIXES:
 
1760
 
 
1761
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
1762
    
 
1763
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
1764
      Arbash Meinel).
 
1765
 
 
1766
bzr 0.11rc1  2006-09-25
 
1767
 
 
1768
  IMPROVEMENTS:
 
1769
 
 
1770
    * Knit files now wait to create their contents until the first data is
 
1771
      added. The old code used to create an empty .knit and a .kndx with just
 
1772
      the header. However, this caused a lot of extra round trips over sftp.
 
1773
      This can change the time for ``bzr push`` to create a new remote branch
 
1774
      from 160s down to 100s. This also affects ``bzr commit`` performance when
 
1775
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
1776
      down to 40s (John Arbash Meinel, #44692)
 
1777
 
 
1778
    * When an entire subtree has been deleted, commit will now report that
 
1779
      just the top of the subtree has been deleted, rather than reporting
 
1780
      all the individual items. (Robert Collins)
 
1781
 
 
1782
    * Commit performs one less XML parse. (Robert Collins)
 
1783
 
 
1784
    * ``bzr checkout`` now operates on readonly branches as well
 
1785
      as readwrite branches. This fixes bug #39542. (Robert Collins)
 
1786
 
 
1787
    * ``bzr bind`` no longer synchronises history with the master branch.
 
1788
      Binding should be followed by an update or push to synchronise the 
 
1789
      two branches. This is closely related to the fix for bug #39542.
 
1790
      (Robert Collins)
 
1791
 
 
1792
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
 
1793
      objects.  This allows all imports to stay at the global scope, but
 
1794
      modules will not actually be imported if they are not used.
 
1795
      (John Arbash Meinel)
 
1796
 
 
1797
    * Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
1798
      transport which will be used with the upcoming high-performance smart
 
1799
      server. The new command ``bzr serve`` will invoke bzr in server mode,
 
1800
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
1801
      Pool)
 
1802
 
 
1803
    * New command ``bzr version-info`` which can be used to get a summary
 
1804
      of the current state of the tree. This is especially useful as part
 
1805
      of a build commands. See ``doc/version_info.txt`` for more information 
 
1806
      (John Arbash Meinel)
 
1807
 
 
1808
  BUG FIXES:
 
1809
 
 
1810
    * ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
1811
      specific set of files. (John Arbash Meinel, #3631)
 
1812
 
 
1813
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
1814
 
 
1815
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
1816
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
1817
      reading a nested Stanza. (John Arbash Meinel)
 
1818
 
 
1819
    * Transform._set_mode() needs to stat the right file. 
 
1820
      (John Arbash Meinel, #56549)
 
1821
 
 
1822
    * Raise WeaveFormatError rather than StopIteration when trying to read
 
1823
      an empty Weave file. (John Arbash Meinel, #46871)
 
1824
 
 
1825
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
1826
      (Vincent Ladeuil, #59835)
 
1827
 
 
1828
    * Handle boundary="" lines properly to allow access through a Squid proxy.
 
1829
      (John Arbash Meinel, #57723)
 
1830
 
 
1831
    * revert now removes newly-added directories (Aaron Bentley, #54172)
 
1832
 
 
1833
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
 
1834
      isn't a working tree. (David Allouche, #40679)
 
1835
 
 
1836
    * Give nicer error messages when a user supplies an invalid --revision
 
1837
      parameter. (John Arbash Meinel, #55420)
 
1838
 
 
1839
    * Handle when LANG is not recognized by python. Emit a warning, but
 
1840
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
1841
 
 
1842
    * Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
1843
      (John Arbash Meinel)
 
1844
 
 
1845
    * Skip specific tests when the dependencies aren't met. This includes
 
1846
      some ``setup.py`` tests when ``python-dev`` is not available, and
 
1847
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
1848
 
 
1849
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
1850
      the system. (Andrew Bennetts, John Arbash Meinel)
 
1851
 
 
1852
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
1853
      other branch, and will not push or pull between the two branches.
 
1854
      API users will need to perform a push or pull or update operation if they
 
1855
      require branch synchronisation to take place. (Robert Collins, #47344)
 
1856
 
 
1857
    * When creating a tarball or zipfile export, export unicode names as utf-8
 
1858
      paths. This may not work perfectly on all platforms, but has the best
 
1859
      chance of working in the common case. (John Arbash Meinel, #56816)
 
1860
 
 
1861
    * When committing, only files that exist in working tree or basis tree
 
1862
      may be specified (Aaron Bentley, #50793)
 
1863
 
 
1864
  PORTABILITY:
 
1865
 
 
1866
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
1867
 
 
1868
  INTERNALS:
 
1869
 
 
1870
    * TestCaseInTempDir now creates a separate directory for HOME, rather
 
1871
      than having HOME set to the same location as the working directory.
 
1872
      (John Arbash Meinel)
 
1873
 
 
1874
    * ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
1875
      which will update os.environ inside the spawned child. It also can
 
1876
      take a ``universal_newlines=True``, which helps when checking the output
 
1877
      of the command. (John Arbash Meinel)
 
1878
 
 
1879
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
 
1880
      (Andrew Bennetts)
 
1881
 
 
1882
    * ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
1883
      return urlescaped paths. This is now tested (there were bugs in a few
 
1884
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
1885
 
 
1886
    * New utility function ``symbol_versioning.deprecation_string``. Returns the
 
1887
      formatted string for a callable, deprecation format pair. (Robert Collins)
 
1888
 
 
1889
    * New TestCase helper applyDeprecated. This allows you to call a callable
 
1890
      which is deprecated without it spewing to the screen, just by supplying
 
1891
      the deprecation format string issued for it. (Robert Collins)
 
1892
 
 
1893
    * Transport.append and Transport.put have been deprecated in favor of
 
1894
      ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
1895
      ``.put_file``. This removes the ambiguity in what type of object the
 
1896
      functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
1897
      been added. Which works similarly to ``Transport.append()`` except for
 
1898
      SFTP, it doesn't have a round trip when opening the file. Also, it
 
1899
      provides functionality for creating a parent directory when trying
 
1900
      to create a file, rather than raise NoSuchFile and forcing the
 
1901
      caller to repeat their request.
 
1902
      (John Arbash Meinel)
 
1903
 
 
1904
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
 
1905
      entries by their file id. (Robert Collins)
 
1906
 
 
1907
    * ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
1908
      ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
1909
 
 
1910
    * WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
1911
      read rather than write. This is appropriate for actions which only need
 
1912
      the branch data for reference rather than mutation. A new decorator
 
1913
      ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
1914
      ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static 
 
1915
      declaration of the locking requirements of a function to ensure that
 
1916
      a lock is taken out for casual scripts. (Robert Collins, #54107)
 
1917
 
 
1918
    * All WorkingTree methods which write to the tree, but not to the branch
 
1919
      have been converted to use ``needs_tree_write_lock`` rather than 
 
1920
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
1921
      transform modules. This provides a modest performance improvement on 
 
1922
      metadir style trees, due to the reduce lock-acquisition, and a more
 
1923
      significant performance improvement on lightweight checkouts from 
 
1924
      remote branches, where trivial operations used to pay a significant 
 
1925
      penalty. It also provides the basis for allowing readonly checkouts.
 
1926
      (Robert Collins)
 
1927
 
 
1928
    * Special case importing the standard library 'copy' module. This shaves
 
1929
      off 40ms of startup time, while retaining compatibility. See:
 
1930
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
1931
 
 
1932
    * WorkingTree has a new parent class MutableTree which represents the 
 
1933
      specialisations of Tree which are able to be altered. (Robert Collins)
 
1934
 
 
1935
    * New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
1936
      mutate the tree and its contents. (Robert Collins)
 
1937
 
 
1938
    * Transport behaviour at the root of the URL is now defined and tested.
 
1939
      (Andrew Bennetts, Robert Collins)
 
1940
 
 
1941
  TESTING:
 
1942
 
 
1943
    * New test helper classs MemoryTree. This is typically accessed via
 
1944
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
1945
      
 
1946
    * Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
1947
      code to continue running concurrently with a subprocess of bzr.
 
1948
      (Andrew Bennetts, Robert Collins)
 
1949
 
 
1950
    * Add a new method ``Transport.get_smart_client()``. This is provided to
 
1951
      allow upgrades to a richer interface than the VFS one provided by
 
1952
      Transport. (Andrew Bennetts, Martin Pool)
 
1953
 
 
1954
bzr 0.10  2006-08-29
 
1955
  
 
1956
  IMPROVEMENTS:
 
1957
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
1958
      tree.  (Aaron Bentley)
 
1959
  
 
1960
    * 'bzr add --file-ids-from' can be used to specify another path to use
 
1961
      for creating file ids, rather than generating all new ones. Internally,
 
1962
      the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
1963
      will be used, rather than having bzrlib generate new ones.
 
1964
      (John Arbash Meinel, #55781)
 
1965
 
 
1966
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
1967
      This will cache some of the intermediate trees, and decrease the
 
1968
      setup time for benchmark tests. (John Arbash Meinel)
 
1969
 
 
1970
    * Inverse forms are provided for all boolean options.  For example,
 
1971
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
1972
 
 
1973
    * Serialize out Inventories directly, rather than using ElementTree.
 
1974
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
1975
      (Robert Collins, John Arbash Meinel)
 
1976
 
 
1977
  BUG FIXES:
 
1978
 
 
1979
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
1980
 
 
1981
    * Change LockDir so that if the lock directory doesn't exist when
 
1982
      ``lock_write()`` is called, an attempt will be made to create it.
 
1983
      (John Arbash Meinel, #56974)
 
1984
 
 
1985
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
1986
 
 
1987
    * Active FTP transport now works as intended. (ghozzy, #56472)
 
1988
 
 
1989
    * Really fix mutter() so that it won't ever raise a UnicodeError.
 
1990
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
1991
      But it is a debugging log, not a real user file.
 
1992
      (John Arbash Meinel, #56947, #53880)
 
1993
 
 
1994
    * Change Command handle to allow Unicode command and options.
 
1995
      At present we cannot register Unicode command names, so we will get
 
1996
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
1997
      But that is better than a UnicodeError + a traceback.
 
1998
      (John Arbash Meinel, #57123)
 
1999
 
 
2000
    * Handle TZ=UTC properly when reading/writing revisions.
 
2001
      (John Arbash Meinel, #55783, #56290)
 
2002
 
 
2003
    * Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
2004
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
2005
 
 
2006
    * External diff does the right thing for binaries even in foreign 
 
2007
      languages. (John Arbash Meinel, #56307)
 
2008
 
 
2009
    * Testament handles more cases when content is unicode. Specific bug was
 
2010
      in handling of revision properties.
 
2011
      (John Arbash Meinel, Holger Krekel, #54723)
 
2012
 
 
2013
    * The bzr selftest was failing on installed versions due to a bug in a new
 
2014
      test helper. (John Arbash Meinel, Robert Collins, #58057)
 
2015
 
 
2016
  INTERNALS:
 
2017
 
 
2018
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
2019
      which can be used to cache the conversion between utf8 and Unicode.
 
2020
      Especially helpful for some of the knit annotation code, which has to
 
2021
      convert revision ids to utf8 to annotate lines in storage.
 
2022
      (John Arbash Meinel)
 
2023
 
 
2024
    * ``setup.py`` now searches the filesystem to find all packages which
 
2025
      need to be installed. This should help make the life of packagers
 
2026
      easier. (John Arbash Meinel)
 
2027
 
 
2028
bzr 0.9.0  2006-08-11
 
2029
 
 
2030
  SURPRISES:
 
2031
 
 
2032
   * The hard-coded built-in ignore rules have been removed. There are
 
2033
     now two rulesets which are enforced. A user global one in 
 
2034
     ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
2035
     specific one '.bzrignore'.
 
2036
     ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
2037
     a more conservative list than the old default.
 
2038
     This fixes bugs with default rules being enforced no matter what. 
 
2039
     The old list of ignore rules from bzr is available by
 
2040
     running 'bzr ignore --old-default-rules'.
 
2041
     (Robert Collins, Martin Pool, John Arbash Meinel)
 
2042
 
 
2043
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
 
2044
     to more locations than just branch locations.
 
2045
     (Aaron Bentley)
 
2046
   
 
2047
  IMPROVEMENTS:
 
2048
 
 
2049
   * The revision specifier "revno:" is extended to accept the syntax
 
2050
     revno:N:branch. For example,
 
2051
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
2052
     bzr.dev.  (Matthieu Moy)
 
2053
 
 
2054
   * Tests updates to ensure proper URL handling, UNICODE support, and
 
2055
     proper printing when the user's terminal encoding cannot display 
 
2056
     the path of a file that has been versioned.
 
2057
     ``bzr branch`` can take a target URL rather than only a local directory.
 
2058
     ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
2059
     and normalize the parent based on root, allowing access across
 
2060
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
2061
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
2062
     #42517, #42514)
 
2063
 
 
2064
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
2065
     Use terminal width for single-line logs from ``bzr log --line`` and
 
2066
     pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
2067
     (Malone #3507)
 
2068
 
 
2069
   * On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
2070
     (Alexander Belchenko)
 
2071
 
 
2072
   * Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
2073
 
 
2074
   * Show the correct number of revisions pushed when pushing a new branch.
 
2075
     (Robert Collins).
 
2076
 
 
2077
   * 'bzr selftest' now shows a progress bar with the number of tests, and 
 
2078
     progress made. 'make check' shows tests in -v mode, to be more useful
 
2079
     for the PQM status window. (Robert Collins).
 
2080
     When using a progress bar, failed tests are printed out, rather than
 
2081
     being overwritten by the progress bar until the suite finishes.
 
2082
     (John Arbash Meinel)
 
2083
 
 
2084
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
2085
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
2086
     profile data for the individual profiled calls, allowing for fine
 
2087
     grained analysis of performance.
 
2088
     (Robert Collins, Martin Pool).
 
2089
 
 
2090
   * 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
2091
     where commit can take an appreciable time. (Robert Collins)
 
2092
 
 
2093
   * 'bzr add' is now less verbose in telling you what ignore globs were
 
2094
     matched by files being ignored. Instead it just tells you how many 
 
2095
     were ignored (because you might reasonably be expecting none to be
 
2096
     ignored). 'bzr add -v' is unchanged and will report every ignored
 
2097
     file. (Robert Collins).
 
2098
 
 
2099
   * ftp now has a test server if medusa is installed. As part of testing,
 
2100
     ftp support has been improved, including support for supplying a
 
2101
     non-standard port. (John Arbash Meinel).
 
2102
 
 
2103
   * 'bzr log --line' shows the revision number, and uses only the
 
2104
     first line of the log message (#5162, Alexander Belchenko;
 
2105
     Matthieu Moy)
 
2106
 
 
2107
   * 'bzr status' has had the --all option removed. The 'bzr ls' command
 
2108
     should be used to retrieve all versioned files. (Robert Collins)
 
2109
 
 
2110
   * 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
2111
     over email, and applied on the other end, while maintaining ancestry.
 
2112
     This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
2113
     the same way you would apply another branch.
 
2114
     (John Arbash Meinel, Aaron Bentley)
 
2115
  
 
2116
   * 'bzr whoami' can now be used to set your identity from the command line,
 
2117
     for a branch or globally.  (Robey Pointer)
 
2118
 
 
2119
   * 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
2120
     (Michael Ellerman)
 
2121
 
 
2122
   * 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
2123
     (Aaron Bentley)
 
2124
 
 
2125
   * 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
2126
     Also updates things like 'http+pycurl://' if pycurl is not present.
 
2127
     (John Arbash Meinel) (Malone #47821, #52204)
 
2128
 
 
2129
   * New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
2130
     Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or 
 
2131
     'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
2132
 
 
2133
   * Improve the help text for 'bzr diff' to explain what various options do.
 
2134
     (John Arbash Meinel, #6391)
 
2135
 
 
2136
   * 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
2137
     revision 10. This makes -r10 more in line with what other commands do.
 
2138
     'bzr uncommit' also now saves the pending merges of the revisions that
 
2139
     were removed. So it is safe to uncommit after a merge, fix something,
 
2140
     and commit again. (John Arbash Meinel, #32526, #31426)
 
2141
 
 
2142
   * 'bzr init' now also works on remote locations.
 
2143
     (Wouter van Heyst, #48904)
 
2144
 
 
2145
   * HTTP support has been updated. When using pycurl we now support 
 
2146
     connection keep-alive, which reduces dns requests and round trips.
 
2147
     And for both urllib and pycurl we support multi-range requests, 
 
2148
     which decreases the number of round-trips. Performance results for
 
2149
     ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
2150
     http branching is now 2-3x faster, and ``bzr pull`` in an existing 
 
2151
     branch is as much as 4x faster.
 
2152
     (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
2153
 
 
2154
   * Performance improvements for sftp. Branching and pulling are now up to
 
2155
     2x faster. Utilize paramiko.readv() support for async requests if it
 
2156
     is available (paramiko > 1.6) (John Arbash Meinel)
 
2157
 
 
2158
  BUG FIXES:
 
2159
 
 
2160
    * Fix shadowed definition of TestLocationConfig that caused some 
 
2161
      tests not to run.
 
2162
      (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
2163
 
 
2164
    * Fix unnecessary requirement of sign-my-commits that it be run from
 
2165
      a working directory.  (Martin Pool, Robert Collins)
 
2166
 
 
2167
    * 'bzr push location' will only remember the push location if it succeeds
 
2168
      in connecting to the remote location. (John Arbash Meinel, #49742)
 
2169
 
 
2170
    * 'bzr revert' no longer toggles the executable bit on win32
 
2171
      (John Arbash Meinel, #45010)
 
2172
 
 
2173
    * Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
2174
    
 
2175
    * sftp tests now work correctly on win32 if you have a newer paramiko
 
2176
      (John Arbash Meinel)
 
2177
 
 
2178
    * Cleanup win32 test suite, and general cleanup of places where
 
2179
      file handles were being held open. (John Arbash Meinel)
 
2180
 
 
2181
    * When specifying filenames for 'diff -r x..y', the name of the file in the
 
2182
      working directory can be used, even if its name is different in both x
 
2183
      and y.
 
2184
 
 
2185
    * File-ids containing single- or double-quotes are handled correctly by
 
2186
      push. (Aaron Bentley, #52227)
 
2187
 
 
2188
    * Normalize unicode filenames to ensure cross-platform consistency.
 
2189
      (John Arbash Meinel, #43689)
 
2190
 
 
2191
    * The argument parser can now handle '-' as an argument. Currently
 
2192
      no code interprets it specially (it is mostly handled as a file named 
 
2193
      '-'). But plugins, and future operations can use it.
 
2194
      (John Arbash meinel, #50984)
 
2195
 
 
2196
    * Bundles can properly read binary files with a plain '\r' in them.
 
2197
      (John Arbash Meinel, #51927)
 
2198
 
 
2199
    * Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
2200
 
 
2201
    * Lots of win32 fixes (the test suite passes again).
 
2202
      (John Arbash Meinel, #50155)
 
2203
 
 
2204
    * Handle openbsd returning None for sys.getfilesystemencoding() (#41183) 
 
2205
 
 
2206
    * Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
2207
 
 
2208
    * Removals are only committed if they match the filespec (or if there is
 
2209
      no filespec).  (#46635, Aaron Bentley)
 
2210
 
 
2211
    * smart-add recurses through all supplied directories 
 
2212
      (John Arbash Meinel, #52578)
 
2213
 
 
2214
    * Make the bundle reader extra lines before and after the bundle text.
 
2215
      This allows you to parse an email with the bundle inline.
 
2216
      (John Arbash Meinel, #49182)
 
2217
 
 
2218
    * Change the file id generator to squash a little bit more. Helps when
 
2219
      working with long filenames on windows. (Also helps for unicode filenames
 
2220
      not generating hidden files). (John Arbash Meinel, #43801)
 
2221
 
 
2222
    * Restore terminal mode on C-c while reading sftp password.  (#48923, 
 
2223
      Nicholas Allen, Martin Pool)
 
2224
 
 
2225
    * Timestamps are rounded to 1ms, and revision entries can be recreated
 
2226
      exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
2227
 
 
2228
    * Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
2229
      use local paths, since it is user visible (John Arbash Meinel, #53653)
 
2230
 
 
2231
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
 
2232
      to be generated (John Arbash Meinel, #53638)
 
2233
 
 
2234
    * When reading revision properties, an empty value should be considered
 
2235
      the empty string, not None (John Arbash Meinel, #47782)
 
2236
 
 
2237
    * ``bzr diff --diff-options`` can now handle binary files being changed.
 
2238
      Also, the output is consistent when --diff-options is not supplied.
 
2239
      (John Arbash Meinel, #54651, #52930)
 
2240
 
 
2241
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
2242
 
 
2243
    * Fix ``Branch.get_parent()`` to handle the case when the parent is not 
 
2244
      accessible (John Arbash Meinel, #52976)
 
2245
 
 
2246
  INTERNALS:
 
2247
 
 
2248
    * Combine the ignore rules into a single regex rather than looping over
 
2249
      them to reduce the threshold where  N^2 behaviour occurs in operations
 
2250
      like status. (Jan Hudec, Robert Collins).
 
2251
 
 
2252
    * Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
2253
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
2254
 
 
2255
    * 'bzr push' should only push the ancestry of the current revision, not
 
2256
      all of the history in the repository. This is especially important for
 
2257
      shared repositories. (John Arbash Meinel)
 
2258
 
 
2259
    * ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
2260
      rather than randomly walking the inventories. (John Arbash Meinel)
 
2261
 
 
2262
    * Doctests are now run in temporary directories which are cleaned up when
 
2263
      they finish, rather than using special ScratchDir/ScratchBranch objects.
 
2264
      (Martin Pool)
 
2265
 
 
2266
    * Split ``check`` into separate methods on the branch and on the repository,
 
2267
      so that it can be specialized in ways that are useful or efficient for
 
2268
      different formats.  (Martin Pool, Robert Collins)
 
2269
 
 
2270
    * Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
2271
      the global revision graph but only that part leading up to a particular
 
2272
      revision.  (Martin Pool, Robert Collins)
 
2273
 
 
2274
    * Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
2275
      that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
2276
      (Robert Collins, Jelmer Vernooij).
 
2277
 
 
2278
    * ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
2279
      Uses subprocess instead of spawnvp.
 
2280
      (James Henstridge, John Arbash Meinel, #4047, #48914)
 
2281
 
 
2282
    * New command line option '--profile-imports', which will install a custom
 
2283
      importer to log time to import modules and regex compilation time to 
 
2284
      sys.stderr (John Arbash Meinel)
 
2285
 
 
2286
    * 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
2287
      instead. (Robert Collins)
 
2288
 
 
2289
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
2290
 
 
2291
bzr 0.8.2  2006-05-17
 
2292
  
 
2293
  BUG FIXES:
 
2294
   
 
2295
    * setup.py failed to install launchpad plugin.  (Martin Pool)
 
2296
 
 
2297
bzr 0.8.1  2006-05-16
 
2298
 
 
2299
  BUG FIXES:
 
2300
 
 
2301
    * Fix failure to commit a merge in a checkout.  (Martin Pool, 
 
2302
      Robert Collins, Erik Bågfors, #43959)
 
2303
 
 
2304
    * Nicer messages from 'commit' in the case of renames, and correct
 
2305
      messages when a merge has occured. (Robert Collins, Martin Pool)
 
2306
 
 
2307
    * Separate functionality from assert statements as they are skipped in
 
2308
      optimized mode of python. Add the same check to pending merges.
 
2309
      (Olaf Conradi, #44443)
 
2310
 
 
2311
  CHANGES:
 
2312
 
 
2313
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
2314
 
 
2315
    * Add info on standalone branches without a working tree.
 
2316
      (Olaf Conradi, #44155)
 
2317
 
 
2318
    * Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
2319
 
 
2320
  CHANGES:
 
2321
 
 
2322
    * Make editor invocation comply with Debian Policy. First check
 
2323
      environment variables VISUAL and EDITOR, then try editor from
 
2324
      alternatives system. If that all fails, fall back to the pre-defined
 
2325
      list of editors. (Olaf Conradi, #42904)
 
2326
 
 
2327
  NEW FEATURES:
 
2328
 
 
2329
    * New 'register-branch' command registers a public branch into 
 
2330
      Launchpad.net, where it can be associated with bugs, etc.
 
2331
      (Martin Pool, Bjorn Tillenius, Robert Collins)
 
2332
 
 
2333
  INTERNALS:
 
2334
 
 
2335
    * New public api in InventoryEntry - ``describe_change(old, new)`` which
 
2336
      provides a human description of the changes between two old and
 
2337
      new. (Robert Collins, Martin Pool)
 
2338
 
 
2339
  TESTING:
 
2340
 
 
2341
    * Fix test case for bzr info in upgrading a standalone branch to metadir,
 
2342
      uses bzrlib api now. (Olaf Conradi)
 
2343
 
 
2344
bzr 0.8  2006-05-08
 
2345
 
 
2346
  NOTES WHEN UPGRADING:
 
2347
 
 
2348
    Release 0.8 of bzr introduces a new format for history storage, called
 
2349
    'knit', as an evolution of to the 'weave' format used in 0.7.  Local 
 
2350
    and remote operations are faster using knits than weaves.  Several
 
2351
    operations including 'init', 'init-repo', and 'upgrade' take a 
 
2352
    --format option that controls this.  Branching from an existing branch
 
2353
    will keep the same format.
 
2354
 
 
2355
    It is possible to merge, pull and push between branches of different
 
2356
    formats but this is slower than moving data between homogenous
 
2357
    branches.  It is therefore recommended (but not required) that you
 
2358
    upgrade all branches for a project at the same time.  Information on
 
2359
    formats is shown by 'bzr info'.
 
2360
 
 
2361
    bzr 0.8 now allows creation of 'repositories', which hold the history 
 
2362
    of files and revisions for several branches.  Previously bzr kept all
 
2363
    the history for a branch within the .bzr directory at the root of the
 
2364
    branch, and this is still the default.  To create a repository, use
 
2365
    the new 'bzr init-repo' command.  Branches exist as directories under
 
2366
    the repository and contain just a small amount of information
 
2367
    indicating the current revision of the branch.
 
2368
 
 
2369
    bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
2370
    subversion.  Checkouts are associated with a branch (optionally in a
 
2371
    repository), which contains all the historical information.  The
 
2372
    result is that a checkout can be deleted without losing any
 
2373
    already-committed revisions.  A new 'update' command is also available. 
 
2374
 
 
2375
    Repositories and checkouts are not supported with the 0.7 storage
 
2376
    format.  To use them you must upgrad to either knits, or to the
 
2377
    'metaweave' format, which uses weaves but changes the .bzr directory
 
2378
    arrangement.
 
2379
    
 
2380
 
 
2381
  IMPROVEMENTS:
 
2382
 
 
2383
    * Sftp paths can now be relative, or local, according to the lftp
 
2384
      convention. Paths now take the form::
 
2385
 
 
2386
          sftp://user:pass@host:port/~/relative/path
 
2387
          or
 
2388
          sftp://user:pass@host:port/absolute/path
 
2389
 
 
2390
    * The FTP transport now tries to reconnect after a temporary
 
2391
      failure. ftp put is made atomic. (Matthieu Moy)
 
2392
 
 
2393
    * The FTP transport now maintains a pool of connections, and
 
2394
      reuses them to avoid multiple connections to the same host (like
 
2395
      sftp did). (Daniel Silverstone)
 
2396
 
 
2397
    * The ``bzr_man.py`` file has been removed. To create the man page now,
 
2398
      use ``./generate_docs.py man``. The new program can also create other files.
 
2399
      Run ``python generate_docs.py --help`` for usage information.
 
2400
      (Hans Ulrich Niedermann & James Blackwell).
 
2401
 
 
2402
    * Man Page now gives full help (James Blackwell).
 
2403
      Help also updated to reflect user config now being stored in .bazaar
 
2404
      (Hans Ulrich Niedermann)
 
2405
 
 
2406
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
2407
 
 
2408
    * Pull now accepts a --revision argument (Erik Bågfors)
 
2409
 
 
2410
    * ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
2411
      line. You can now use the following command to sign all of your old
 
2412
      commits::
 
2413
 
 
2414
        find .bzr/revision-store// -name my@email-* \
 
2415
          | sed 's/.*\/\/..\///' \
 
2416
          | xargs bzr re-sign
 
2417
 
 
2418
    * Upgrade can now upgrade over the network. (Robert Collins)
 
2419
 
 
2420
    * Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
2421
      behaviour.  By default they will cache history in the checkout, but
 
2422
      with --lightweight almost all data is kept in the master branch.
 
2423
      (Robert Collins)
 
2424
 
 
2425
    * 'revert' unversions newly-versioned files, instead of deleting them.
 
2426
 
 
2427
    * 'merge' is more robust.  Conflict messages have changed.
 
2428
 
 
2429
    * 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
2430
      '.moved'.
 
2431
 
 
2432
    * Default log format can be set in configuration and plugins can register
 
2433
      their own formatters. (Erik Bågfors)
 
2434
 
 
2435
    * New 'reconcile' command will check branch consistency and repair indexes
 
2436
      that can become out of sync in pre 0.8 formats. (Robert Collins,
 
2437
      Daniel Silverstone)
 
2438
 
 
2439
    * New 'bzr init --format' and 'bzr upgrade --format' option to control 
 
2440
      what storage format is created or produced.  (Robert Collins, 
 
2441
      Martin Pool)
 
2442
 
 
2443
    * Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
2444
 
 
2445
    * New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
2446
 
 
2447
    * New 'init-repository' command, plus support for repositories in 'init'
 
2448
      and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
2449
 
 
2450
    * Improve output of 'info' command. Show all relevant locations related to
 
2451
      working tree, branch and repository. Use kibibytes for binary quantities.
 
2452
      Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
2453
      work on branches, repositories and remote locations.  Show locations
 
2454
      relative to the shared repository, if applicable.  Show locking status
 
2455
      of locations.  (Olaf Conradi)
 
2456
 
 
2457
    * Diff and merge now safely handle binary files. (Aaron Bentley)
 
2458
 
 
2459
    * 'pull' and 'push' now normalise the revision history, so that any two
 
2460
      branches with the same tip revision will have the same output from 'log'.
 
2461
      (Robert Collins)
 
2462
 
 
2463
    * 'merge' accepts --remember option to store parent location, like 'push'
 
2464
      and 'pull'. (Olaf Conradi)
 
2465
 
 
2466
    * bzr status and diff when files given as arguments do not exist
 
2467
      in the relevant trees.  (Martin Pool, #3619)
 
2468
 
 
2469
    * Add '.hg' to the default ignore list.  (Martin Pool)
 
2470
 
 
2471
    * 'knit' is now the default disk format. This improves disk performance and
 
2472
      utilization, increases incremental pull performance, robustness with SFTP
 
2473
      and allows checkouts over SFTP to perform acceptably. 
 
2474
      The initial Knit code was contributed by Johan Rydberg based on a
 
2475
      specification by Martin Pool.
 
2476
      (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
2477
 
 
2478
    * New tool to generate all-in-one html version of the manual.  (Alexander
 
2479
      Belchenko)
 
2480
 
 
2481
    * Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
2482
      to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
2483
 
 
2484
    * New option 'diff --prefix' to control how files are named in diff
 
2485
      output, with shortcuts '-p0' and '-p1' corresponding to the options for 
 
2486
      GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
2487
 
 
2488
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
 
2489
 
 
2490
    * If bzr shows an unexpected revision-history after pulling (perhaps due
 
2491
      to a reweave) it can now be corrected by 'bzr reconcile'.
 
2492
      (Robert Collins)
 
2493
 
 
2494
  CHANGES:
 
2495
 
 
2496
    * Commit is now verbose by default, and shows changed filenames and the 
 
2497
      new revision number.  (Robert Collins, Martin Pool)
 
2498
 
 
2499
    * Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
2500
 
 
2501
    * 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
2502
 
 
2503
    * Make 'pull' and 'push' remember location on failure using --remember.
 
2504
      (Olaf Conradi)
 
2505
 
 
2506
    * For compatibility, make old format for using weaves inside metadir
 
2507
      available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
2508
      Clean up help for option --format in commands 'init', 'init-repo' and
 
2509
      'upgrade'.  (Olaf Conradi)
 
2510
 
 
2511
  INTERNALS:
 
2512
  
 
2513
    * The internal storage of history, and logical branch identity have now
 
2514
      been split into Branch, and Repository. The common locking and file 
 
2515
      management routines are now in bzrlib.lockablefiles. 
 
2516
      (Aaron Bentley, Robert Collins, Martin Pool)
 
2517
 
 
2518
    * Transports can now raise DependencyNotPresent if they need a library
 
2519
      which is not installed, and then another implementation will be 
 
2520
      tried.  (Martin Pool)
 
2521
 
 
2522
    * Remove obsolete (and no-op) `decode` parameter to `Transport.get`.  
 
2523
      (Martin Pool)
 
2524
 
 
2525
    * Using Tree Transform for merge, revert, tree-building
 
2526
 
 
2527
    * WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
2528
      Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
2529
      replacement API's. (Robert Collins)
 
2530
 
 
2531
    * New BzrDir class represents the .bzr control directory and manages
 
2532
      formatting issues. (Robert Collins)
 
2533
 
 
2534
    * New repository.InterRepository class encapsulates Repository to 
 
2535
      Repository actions and allows for clean selection of optimised code
 
2536
      paths. (Robert Collins)
 
2537
 
 
2538
    * ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
2539
      deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
2540
      depending on your needs. (Robert Collins)
 
2541
 
 
2542
    * deprecated methods now have a ``is_deprecated`` flag on them that can
 
2543
      be checked, if you need to determine whether a given callable is 
 
2544
      deprecated at runtime. (Robert Collins)
 
2545
 
 
2546
    * Progress bars are now nested - see
 
2547
      ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
2548
      (Robert Collins, Robey Pointer)
 
2549
 
 
2550
    * New API call ``get_format_description()`` for each type of format.
 
2551
      (Olaf Conradi)
 
2552
 
 
2553
    * Changed ``branch.set_parent()`` to accept None to remove parent.
 
2554
      (Olaf Conradi)
 
2555
 
 
2556
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
2557
 
 
2558
    * WorkingTree.branch is now a read only property.  (Robert Collins)
 
2559
 
 
2560
    * bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
2561
      can be None or a factory that will create a progress bar. This is
 
2562
      useful for testing or for overriding the bzrlib.progress heuristic.
 
2563
      (Robert Collins)
 
2564
 
 
2565
    * New API method ``get_physical_lock_status()`` to query locks present on a
 
2566
      transport.  (Olaf Conradi)
 
2567
 
 
2568
    * Repository.reconcile now takes a thorough keyword parameter to allow
 
2569
      requesting an indepth reconciliation, rather than just a data-loss 
 
2570
      check. (Robert Collins)
 
2571
 
 
2572
    * ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
2573
      the user for yes/no style input. (Robert Collins)
 
2574
 
 
2575
  TESTING:
 
2576
 
 
2577
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
2578
      for testing SFTP protocol support. (Robey Pointer)
 
2579
 
 
2580
    * Branch formats are now tested once per implementation (see ``bzrlib.
 
2581
      tests.branch_implementations``. This is analagous to the transport
 
2582
      interface tests, and has been followed up with working tree,
 
2583
      repository and BzrDir tests. (Robert Collins)
 
2584
 
 
2585
    * New test base class TestCaseWithTransport provides a transport aware
 
2586
      test environment, useful for testing any transport-interface using
 
2587
      code. The test suite option --transport controls the transport used
 
2588
      by this class (when its not being used as part of implementation
 
2589
      contract testing). (Robert Collins)
 
2590
 
 
2591
    * Close logging handler on disabling the test log. This will remove the
 
2592
      handler from the internal list inside python's logging module,
 
2593
      preventing shutdown from closing it twice.  (Olaf Conradi)
 
2594
 
 
2595
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
2596
 
 
2597
    * ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
2598
      parameter which will provide String("foo") to the command as its stdin.
 
2599
 
 
2600
bzr 0.7 2006-01-09
 
2601
 
 
2602
  CHANGES:
 
2603
 
 
2604
    * .bzrignore is excluded from exports, on the grounds that it's a bzr 
 
2605
      internal-use file and may not be wanted.  (Jamie Wilkinson)
 
2606
 
 
2607
    * The "bzr directories" command were removed in favor of the new
 
2608
      --kind option to the "bzr inventory" command.  To list all 
 
2609
      versioned directories, now use "bzr inventory --kind directory".  
 
2610
      (Johan Rydberg)
 
2611
 
 
2612
    * Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
2613
      by default. (John Arbash Meinel)
 
2614
 
 
2615
    * The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
2616
      environment variable. Now the path for it is searched in ``BZR_HOME``,
 
2617
      then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
2618
      (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
2619
      ``HOME``. (John Arbash Meinel)
 
2620
 
 
2621
    * Plugins with the same name in different directories in the bzr plugin
 
2622
      path are no longer loaded: only the first successfully loaded one is
 
2623
      used. (Robert Collins)
 
2624
 
 
2625
    * Use systems' external ssh command to open connections if possible.  
 
2626
      This gives better integration with user settings such as ProxyCommand.
 
2627
      (James Henstridge)
 
2628
 
 
2629
    * Permissions on files underneath .bzr/ are inherited from the .bzr 
 
2630
      directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
2631
      will mean that future file will be created with group write permissions.
 
2632
 
 
2633
    * configure.in and config.guess are no longer in the builtin default 
 
2634
      ignore list.
 
2635
 
 
2636
    * '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
2637
      files.  (John Arbash Meinel, Martin Pool)
 
2638
 
 
2639
  IMPROVEMENTS:
 
2640
 
 
2641
    * "bzr INIT dir" now initializes the specified directory, and creates 
 
2642
      it if it does not exist.  (John Arbash Meinel)
 
2643
 
 
2644
    * New remerge command (Aaron Bentley)
 
2645
 
 
2646
    * Better zsh completion script.  (Steve Borho)
 
2647
 
 
2648
    * 'bzr diff' now returns 1 when there are changes in the working 
 
2649
      tree. (Robert Collins)
 
2650
 
 
2651
    * 'bzr push' now exists and can push changes to a remote location. 
 
2652
      This uses the transport infrastructure, and can store the remote
 
2653
      location in the ~/.bazaar/branches.conf configuration file.
 
2654
      (Robert Collins)
 
2655
 
 
2656
    * Test directories are only kept if the test fails and the user requests
 
2657
      that they be kept.
 
2658
 
 
2659
    * Tweaks to short log printing
 
2660
 
 
2661
    * Added branch nicks, new nick command, printing them in log output. 
 
2662
      (Aaron Bentley)
 
2663
 
 
2664
    * If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception 
 
2665
      occurs.  (Martin Pool)
 
2666
 
 
2667
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
2668
      the same as Subversion.  (Martin Pool)
 
2669
 
 
2670
    * New ftp transport support (on ftplib), for ftp:// and aftp:// 
 
2671
      URLs.  (Daniel Silverstone)
 
2672
 
 
2673
    * Commit editor temporary files now start with ``bzr_log.``, to allow 
 
2674
      text editors to match the file name and set up appropriate modes or 
 
2675
      settings.  (Magnus Therning)
 
2676
 
 
2677
    * Improved performance when integrating changes from a remote weave.  
 
2678
      (Goffredo Baroncelli)
 
2679
 
 
2680
    * Sftp will attempt to cache the connection, so it is more likely that
 
2681
      a connection will be reused, rather than requiring multiple password
 
2682
      requests.
 
2683
 
 
2684
    * bzr revno now takes an optional argument indicating the branch whose
 
2685
      revno should be printed.  (Michael Ellerman)
 
2686
 
 
2687
    * bzr cat defaults to printing the last version of the file.  
 
2688
      (Matthieu Moy, #3632)
 
2689
 
 
2690
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof 
 
2691
      profiler.  (Denys Duchier)
 
2692
 
 
2693
    * Faster commits by reading only the headers of affected weave files. 
 
2694
      (Denys Duchier)
 
2695
 
 
2696
    * 'bzr add' now takes a --dry-run parameter which shows you what would be
 
2697
      added, but doesn't actually add anything. (Michael Ellerman)
 
2698
 
 
2699
    * 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
2700
      lists the specific files.  (Aaron Bentley)
 
2701
 
 
2702
    * 'bzr missing' now supports displaying changes in diverged trees and can
 
2703
      be limited to show what either end of the comparison is missing.
 
2704
      (Aaron Bently, with a little prompting from Daniel Silverstone)
 
2705
 
 
2706
  BUG FIXES:
 
2707
 
 
2708
    * SFTP can walk up to the root path without index errors. (Robert Collins)
 
2709
 
 
2710
    * Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
2711
 
 
2712
    * Error when run with -OO
 
2713
 
 
2714
    * Fix bug in reporting http errors that don't have an http error code.
 
2715
      (Martin Pool)
 
2716
 
 
2717
    * Handle more cases of pipe errors in display commands
 
2718
 
 
2719
    * Change status to 3 for all errors
 
2720
 
 
2721
    * Files that are added and unlinked before committing are completely
 
2722
      ignored by diff and status
 
2723
 
 
2724
    * Stores with some compressed texts and some uncompressed texts are now
 
2725
      able to be used. (John A Meinel)
 
2726
 
 
2727
    * Fix for bzr pull failing sometimes under windows
 
2728
 
 
2729
    * Fix for sftp transport under windows when using interactive auth
 
2730
 
 
2731
    * Show files which are both renamed and modified as such in 'bzr 
 
2732
      status' output.  (Daniel Silverstone, #4503)
 
2733
 
 
2734
    * Make annotate cope better with revisions committed without a valid 
 
2735
      email address.  (Marien Zwart)
 
2736
 
 
2737
    * Fix representation of tab characters in commit messages.
 
2738
      (Harald Meland)
 
2739
 
 
2740
    * List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
2741
      now parsed properly under Windows. (Alexander Belchenko)
 
2742
 
 
2743
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
2744
 
 
2745
    * Keep a cached copy of the basis inventory to speed up operations 
 
2746
      that need to refer to it.  (Johan Rydberg, Martin Pool)
 
2747
 
 
2748
    * Fix bugs in bzr status display of non-ascii characters.
 
2749
      (Martin Pool)
 
2750
 
 
2751
    * Remove Makefile.in from default ignore list.
 
2752
      (Tollef Fog Heen, Martin Pool, #6413)
 
2753
 
 
2754
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
2755
 
 
2756
  TESTING:
 
2757
 
 
2758
    * Fix selftest asking for passwords when there are no SFTP keys.  
 
2759
      (Robey Pointer, Jelmer Vernooij) 
 
2760
 
 
2761
    * Fix selftest run with 'python -O'.  (Martin Pool)
 
2762
 
 
2763
    * Fix HTTP tests under Windows. (John Arbash Meinel)
 
2764
 
 
2765
    * Make tests work even if HOME is not set (Aaron Bentley)
 
2766
 
 
2767
    * Updated ``build_tree`` to use fixed line-endings for tests which read 
 
2768
      the file cotents and compare. Make some tests use this to pass under
 
2769
      Windows. (John Arbash Meinel)
 
2770
 
 
2771
    * Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
2772
 
 
2773
    * Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
2774
      (John Arbash Meinel)
 
2775
 
 
2776
    * Use terminal width to align verbose test output.  (Martin Pool)
 
2777
 
 
2778
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
2779
      If adding a new test script please add that to
 
2780
      ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
2781
 
 
2782
    * Much better error message if one of the test suites can't be 
 
2783
      imported.  (Martin Pool)
 
2784
 
 
2785
    * Make check now runs the test suite twice - once with the default locale,
 
2786
      and once with all locales forced to C, to expose bugs. This is not 
 
2787
      trivially done within python, so for now its only triggered by running
 
2788
      Make check. Integrators and packagers who wish to check for full 
 
2789
      platform support should run 'make check' to test the source.
 
2790
      (Robert Collins)
 
2791
 
 
2792
    * Tests can now run TestSkipped if they can't execute for any reason.
 
2793
      (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
2794
      reasons - see the wiki spec ImprovingBzrTestSuite).
 
2795
 
 
2796
    * Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
2797
      paths for the transport tests. Introduce blackbox remote sftp tests that
 
2798
      test the same permutations. (Robert Collins, Robey Pointer)
 
2799
 
 
2800
    * Transport implementation tests are now independent of the local file
 
2801
      system, which allows tests for esoteric transports, and for features
 
2802
      not available in the local file system. They also repeat for variations
 
2803
      on the URL scheme that can introduce issues in the transport code,
 
2804
      see bzrlib.transport.TransportTestProviderAdapter() for this.
 
2805
      (Robert Collins).
 
2806
 
 
2807
    * ``TestCase.build_tree`` uses the transport interface to build trees,
 
2808
      pass in a transport parameter to give it an existing connection.
 
2809
      (Robert Collins).
 
2810
 
 
2811
  INTERNALS:
 
2812
 
 
2813
    * WorkingTree.pull has been split across Branch and WorkingTree,
 
2814
      to allow Branch only pulls. (Robert Collins)
 
2815
 
 
2816
    * ``commands.display_command`` now returns the result of the decorated 
 
2817
      function. (Robert Collins)
 
2818
 
 
2819
    * LocationConfig now has a ``set_user_option(key, value)`` call to save
 
2820
      a setting in its matching location section (a new one is created
 
2821
      if needed). (Robert Collins)
 
2822
 
 
2823
    * Branch has two new methods, ``get_push_location`` and
 
2824
      ``set_push_location`` to respectively, get and set the push location.
 
2825
      (Robert Collins)
 
2826
 
 
2827
    * ``commands.register_command`` now takes an optional flag to signal that
 
2828
      the registrant is planning to decorate an existing command. When 
 
2829
      given multiple plugins registering a command is not an error, and
 
2830
      the original command class (whether built in or a plugin based one) is
 
2831
      returned to the caller. There is a new error 'MustUseDecorated' for
 
2832
      signalling when a wrapping command should switch to the original
 
2833
      version. (Robert Collins)
 
2834
 
 
2835
    * Some option parsing errors will raise 'BzrOptionError', allowing 
 
2836
      granular detection for decorating commands. (Robert Collins).
 
2837
 
 
2838
    * ``Branch.read_working_inventory`` has moved to
 
2839
      ``WorkingTree.read_working_inventory``. This necessitated changes to
 
2840
      ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
2841
      WorkingTree as well. To make it clear that a WorkingTree cannot always
 
2842
      be obtained ``Branch.working_tree()`` will raise
 
2843
      ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
2844
 
 
2845
    * All pending merges operations from Branch are now on WorkingTree.
 
2846
      (Robert Collins)
 
2847
 
 
2848
    * The follow operations from Branch have moved to WorkingTree::
 
2849
 
 
2850
          add()
 
2851
          commit()
 
2852
          move()
 
2853
          rename_one()
 
2854
          unknowns()
 
2855
 
 
2856
      (Robert Collins)
 
2857
 
 
2858
    * ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
2859
 
 
2860
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
2861
 
 
2862
    * Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin 
 
2863
      Pool)
 
2864
 
 
2865
    * ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a 
 
2866
      query method. (Robert Collins)
 
2867
 
 
2868
    * New options to read only the table-of-contents of a weave.  
 
2869
      (Denys Duchier)
 
2870
 
 
2871
    * Raise NoSuchFile when someone tries to add a non-existant file.
 
2872
      (Michael Ellerman)
 
2873
 
 
2874
    * Simplify handling of DivergedBranches in ``cmd_pull()``.
 
2875
      (Michael Ellerman)
 
2876
   
 
2877
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
2878
      is exposed as ``Branch().control_files``. Also this has been altered with the
 
2879
      controlfile pre/suffix replaced by simple method names like 'get' and
 
2880
      'put'. (Aaron Bentley, Robert Collins).
 
2881
 
 
2882
    * Deprecated functions and methods can now be marked as such using the 
 
2883
      ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
2884
      updated and will issue a DeprecationWarning using the warnings module
 
2885
      when they are used. (Robert Collins)
 
2886
 
 
2887
    * ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
2888
      for functions that need unicode strings. (Robert Collins)
 
2889
 
 
2890
bzr 0.6 2005-10-28
 
2891
 
 
2892
  IMPROVEMENTS:
 
2893
  
 
2894
    * pull now takes --verbose to show you what revisions are added or removed
 
2895
      (John A Meinel)
 
2896
 
 
2897
    * merge now takes a --show-base option to include the base text in
 
2898
      conflicts.
 
2899
      (Aaron Bentley)
 
2900
 
 
2901
    * The config files are now read using ConfigObj, so '=' should be used as
 
2902
      a separator, not ':'.
 
2903
      (Aaron Bentley)
 
2904
 
 
2905
    * New 'bzr commit --strict' option refuses to commit if there are 
 
2906
      any unknown files in the tree.  To commit, make sure all files are 
 
2907
      either ignored, added, or deleted.  (Michael Ellerman)
 
2908
 
 
2909
    * The config directory is now ~/.bazaar, and there is a single file 
 
2910
      ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
2911
      (Robert Collins)
 
2912
 
 
2913
    * 'bzr add' no longer takes a --verbose option, and a --quiet option
 
2914
      has been added that suppresses all output.
 
2915
 
 
2916
    * Improved zsh completion support in contrib/zsh, from Clint
 
2917
      Adams.
 
2918
 
 
2919
    * Builtin 'bzr annotate' command, by Martin Pool with improvements from 
 
2920
      Goffredo Baroncelli.
 
2921
    
 
2922
    * 'bzr check' now accepts -v for verbose reporting, and checks for
 
2923
      ghosts in the branch. (Robert Collins)
 
2924
 
 
2925
    * New command 're-sign' which will regenerate the gpg signature for 
 
2926
      a revision. (Robert Collins)
 
2927
 
 
2928
    * If you set ``check_signatures=require`` for a path in 
 
2929
      ``~/.bazaar/branches.conf`` then bzr will invoke your
 
2930
      ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
2931
      of your commit. (Robert Collins)
 
2932
 
 
2933
    * New sftp transport, based on Paramiko.  (Robey Pointer)
 
2934
 
 
2935
    * 'bzr pull' now accepts '--clobber' which will discard local changes
 
2936
      and make this branch identical to the source branch. (Robert Collins)
 
2937
 
 
2938
    * Just give a quieter warning if a plugin can't be loaded, and 
 
2939
      put the details in .bzr.log.  (Martin Pool)
 
2940
 
 
2941
    * 'bzr branch' will now set the branch-name to the last component of the
 
2942
      output directory, if one was supplied.
 
2943
 
 
2944
    * If the option ``post_commit`` is set to one (or more) python function
 
2945
      names (must be in the bzrlib namespace), then they will be invoked
 
2946
      after the commit has completed, with the branch and ``revision_id`` as
 
2947
      parameters. (Robert Collins)
 
2948
 
 
2949
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
2950
 
 
2951
    * --merge-type weave is now supported for file contents.  Tree-shape
 
2952
      changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
2953
 
 
2954
    * 'bzr check' allows the first revision on revision-history to have
 
2955
      parents - something that is expected for cheap checkouts, and occurs
 
2956
      when conversions from baz do not have all history.  (Robert Collins).
 
2957
 
 
2958
   * 'bzr merge' can now graft unrelated trees together, if your specify
 
2959
     0 as a base. (Aaron Bentley)
 
2960
 
 
2961
   * 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
2962
     (Aaron Bentley)
 
2963
 
 
2964
    * Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
2965
 
 
2966
   * 'bzr merge --reprocess' minimizes conflicts
 
2967
 
 
2968
  TESTING:
 
2969
 
 
2970
    * The 'bzr selftest --pattern' option for has been removed, now 
 
2971
      test specifiers on the command line can be simple strings, or 
 
2972
      regexps, or both. (Robert Collins)
 
2973
 
 
2974
    * Passing -v to selftest will now show the time each test took to 
 
2975
      complete, which will aid in analysing performance regressions and
 
2976
      related questions. (Robert Collins)
 
2977
 
 
2978
    * 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
2979
      is given. (Martin Pool)
 
2980
 
 
2981
    * There is a new method for TestCaseInTempDir, assertFileEqual, which
 
2982
      will check that a given content is equal to the content of the named
 
2983
      file. (Robert Collins)
 
2984
 
 
2985
    * Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
2986
      (Martin Pool)
 
2987
 
 
2988
  INTERNALS:
 
2989
 
 
2990
    * New 'testament' command and concept for making gpg-signatures 
 
2991
      of revisions that are not tied to a particular internal
 
2992
      representation.  (Martin Pool).
 
2993
 
 
2994
    * Per-revision properties ('revprops') as key-value associated 
 
2995
      strings on each revision created when the revision is committed.
 
2996
      Intended mainly for the use of external tools.  (Martin Pool).
 
2997
 
 
2998
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
2999
      (Robert Collins)
 
3000
 
 
3001
    * Improved command line option definitions allowing explanations
 
3002
      for individual options, among other things.  Contributed by 
 
3003
      Magnus Therning.
 
3004
 
 
3005
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
3006
      Configuration is now done via the config.Config interface:
 
3007
      Depending on whether you have a Branch, a Location or no information
 
3008
      available, construct a ``*Config``, and use its ``signature_checking``,
 
3009
      ``username`` and ``user_email`` methods. (Robert Collins)
 
3010
 
 
3011
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
3012
      they are made available for other plugins to use. You should not 
 
3013
      import other plugins during the ``__init__`` of your plugin though, as 
 
3014
      no ordering is guaranteed, and the plugins directory is not on the
 
3015
      python path. (Robert Collins)
 
3016
 
 
3017
    * Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
3018
      no longer takes an inventory, rather it takes an option branch
 
3019
      parameter, and if None is given will open the branch at basedir 
 
3020
      implicitly. (Robert Collins)
 
3021
 
 
3022
    * Cleaner exception structure and error reporting.  Suggested by 
 
3023
      Scott James Remnant.  (Martin Pool)
 
3024
 
 
3025
    * Branch.remove has been moved to WorkingTree, which has also gained
 
3026
      ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
3027
      (Robert Collins)
 
3028
 
 
3029
    * Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
3030
      added to the branch module. Use these to cause a function to run in a
 
3031
      read or write lock respectively. (Robert Collins)
 
3032
 
 
3033
    * ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
3034
      which allows direct access to the common case of 'get me this file
 
3035
      from its branch'. (Robert Collins)
 
3036
 
 
3037
    * Transports can register using ``register_lazy_transport``, and they 
 
3038
      will be loaded when first used.  (Martin Pool)
 
3039
 
 
3040
    * 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
3041
      A new option to WorkingTree.pull has been added, clobber, which will
 
3042
      ignore diverged history and pull anyway.
 
3043
      (Robert Collins)
 
3044
 
 
3045
    * config.Config has a ``get_user_option`` call that accepts an option name.
 
3046
      This will be looked up in branches.conf and bazaar.conf as normal.
 
3047
      It is intended that this be used by plugins to support options - 
 
3048
      options of built in programs should have specific methods on the config.
 
3049
      (Robert Collins)
 
3050
 
 
3051
    * ``merge.merge_inner`` now has tempdir as an optional parameter.
 
3052
      (Robert Collins)
 
3053
 
 
3054
    * Tree.kind is not recorded at the top level of the hierarchy, as it was
 
3055
      missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
3056
      (Robert Collins)
 
3057
 
 
3058
    * ``WorkingTree.__del__`` has been removed, it was non deterministic and not 
 
3059
      doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
3060
      about future directions. (Robert Collins/Martin Pool)
 
3061
 
 
3062
    * bzrlib.transport.http has been modified so that only 404 urllib errors
 
3063
      are returned as NoSuchFile. Other exceptions will propogate as normal.
 
3064
      This allows debuging of actual errors. (Robert Collins)
 
3065
 
 
3066
    * bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
3067
      to apis like 'put', 'get' and 'has'. This is to provide consistent
 
3068
      behaviour - it operates on url's only. (Robert Collins)
 
3069
 
 
3070
    * Transports can register using ``register_lazy_transport``, and they 
 
3071
      will be loaded when first used.  (Martin Pool)
 
3072
 
 
3073
    * ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
3074
      is called by ``merge_inner``. This is so that the conflict count can be 
 
3075
      retrieved (and potentially manipulated) before returning to the caller
 
3076
      of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
3077
      caller. (Robert Collins)
 
3078
 
 
3079
    * ``revision.revision_graph`` can handle having only partial history for
 
3080
      a revision - that is no revisions in the graph with no parents.
 
3081
      (Robert Collins).
 
3082
 
 
3083
    * New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
3084
      produce a branch and a list of paths, relative to that branch
 
3085
      (Aaron Bentley)
 
3086
 
 
3087
    * New TestCase.addCleanup facility.
 
3088
 
 
3089
    * New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
3090
      which can be used by programs importing bzrlib.
 
3091
 
 
3092
  BUG FIXES:
 
3093
 
 
3094
    * Better handling of branches in directories with non-ascii names. 
 
3095
      (Joel Rosdahl, Panagiotis Papadakos)
 
3096
 
 
3097
    * Upgrades of trees with no commits will not fail due to accessing
 
3098
      [-1] in the revision-history. (Andres Salomon)
 
3099
 
 
3100
 
 
3101
bzr 0.1.1 2005-10-12
 
3102
 
 
3103
  BUG FIXES:
 
3104
 
 
3105
    * Fix problem in pulling over http from machines that do not 
 
3106
      allow directories to be listed.
 
3107
 
 
3108
    * Avoid harmless warning about invalid hash cache after 
 
3109
      upgrading branch format.
 
3110
 
 
3111
  PERFORMANCE: 
 
3112
  
 
3113
    * Avoid some unnecessary http operations in branch and pull.
 
3114
 
 
3115
 
 
3116
bzr 0.1 2005-10-11
 
3117
 
 
3118
  NOTES:
 
3119
 
 
3120
    * 'bzr branch' over http initially gives a very high estimate
 
3121
      of completion time but it should fall as the first few 
 
3122
      revisions are pulled in.  branch is still slow on 
 
3123
      high-latency connections.
 
3124
 
 
3125
  BUG FIXES:
 
3126
  
 
3127
    * bzr-man.py has been updated to work again. Contributed by
 
3128
      Rob Weir.
 
3129
 
 
3130
    * Locking is now done with fcntl.lockf which works with NFS
 
3131
      file systems. Contributed by Harald Meland.
 
3132
 
 
3133
    * When a merge encounters a file that has been deleted on
 
3134
      one side and modified on the other, the old contents are
 
3135
      written out to foo.BASE and foo.SIDE, where SIDE is this
 
3136
      or OTHER. Contributed by Aaron Bentley.
 
3137
 
 
3138
    * Export was choosing incorrect file paths for the content of
 
3139
      the tarball, this has been fixed by Aaron Bentley.
 
3140
 
 
3141
    * Commit will no longer commit without a log message, an 
 
3142
      error is returned instead. Contributed by Jelmer Vernooij.
 
3143
 
 
3144
    * If you commit a specific file in a sub directory, any of its
 
3145
      parent directories that are added but not listed will be 
 
3146
      automatically included. Suggested by Michael Ellerman.
 
3147
 
 
3148
    * bzr commit and upgrade did not correctly record new revisions
 
3149
      for files with only a change to their executable status.
 
3150
      bzr will correct this when it encounters it. Fixed by
 
3151
      Robert Collins
 
3152
 
 
3153
    * HTTP tests now force off the use of ``http_proxy`` for the duration.
 
3154
      Contributed by Gustavo Niemeyer.
 
3155
 
 
3156
    * Fix problems in merging weave-based branches that have 
 
3157
      different partial views of history.
 
3158
 
 
3159
    * Symlink support: working with symlinks when not in the root of a 
 
3160
      bzr tree was broken, patch from Scott James Remnant.
 
3161
 
 
3162
  IMPROVEMENTS:
 
3163
 
 
3164
    * 'branch' now accepts a --basis parameter which will take advantage
 
3165
      of local history when making a new branch. This allows faster 
 
3166
      branching of remote branches. Contributed by Aaron Bentley.
 
3167
 
 
3168
    * New tree format based on weave files, called version 5.
 
3169
      Existing branches can be upgraded to this format using 
 
3170
      'bzr upgrade'.
 
3171
 
 
3172
    * Symlinks are now versionable. Initial patch by 
 
3173
      Erik Toubro Nielsen, updated to head by Robert Collins.
 
3174
 
 
3175
    * Executable bits are tracked on files. Patch from Gustavo
 
3176
      Niemeyer.
 
3177
 
 
3178
    * 'bzr status' now shows unknown files inside a selected directory.
 
3179
      Patch from Heikki Paajanen.
 
3180
 
 
3181
    * Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
3182
      and 'resolve' have needed added, which list and remove those 
 
3183
      merge conflicts respectively. A conflicted tree cannot be committed
 
3184
      in. Contributed by Aaron Bentley.
 
3185
 
 
3186
    * 'rm' is now an alias for 'remove'.
 
3187
 
 
3188
    * Stores now split out their content in a single byte prefixed hash,
 
3189
      dropping the density of files per directory by 256. Contributed by
 
3190
      Gustavo Niemeyer.
 
3191
 
 
3192
    * 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
3193
      Contributed by Robert Collins.
 
3194
 
 
3195
    * 'bzr log' with the default formatter will show merged revisions,
 
3196
      indented to the right. Initial implementation contributed by Gustavo
 
3197
      Niemeyer, made incremental by Robert Collins.
 
3198
 
 
3199
 
 
3200
  INTERNALS:
 
3201
 
 
3202
    * Test case failures have the exception printed after the log 
 
3203
      for your viewing pleasure.
 
3204
 
 
3205
    * InventoryEntry is now an abstract base class, use one of the
 
3206
      concrete InventoryDirectory etc classes instead.
 
3207
 
 
3208
    * Branch raises an UnsupportedFormatError when it detects a 
 
3209
      bzr branch it cannot understand. This allows for precise
 
3210
      handling of such circumstances.
 
3211
 
 
3212
    * Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
3213
      list of their ids and ``parent_sha1s`` is a list of their corresponding
 
3214
      sha1s (for old branches only at the moment.)
 
3215
 
 
3216
    * New method-object style interface for Commit() and Fetch().
 
3217
 
 
3218
    * Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
3219
      we call them revisions not patches.
 
3220
 
 
3221
    * Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
3222
      directory is created if it doesn't exist.
 
3223
 
 
3224
    * Inventories now identify the files which were present by 
 
3225
      giving the revision *of that file*.
 
3226
 
 
3227
    * Inventory and Revision XML contains a version identifier.  
 
3228
      This must be consistent with the overall branch version
 
3229
      but allows for more flexibility in future upgrades.
 
3230
 
 
3231
  TESTING:
 
3232
 
 
3233
    * Removed testsweet module so that tests can be run after 
 
3234
      bzr installed by 'bzr selftest'.
 
3235
 
 
3236
    * 'bzr selftest' command-line arguments can now be partial ids
 
3237
      of tests to run, e.g. ``bzr selftest test_weave``
 
3238
 
 
3239
      
 
3240
bzr 0.0.9 2005-09-23
 
3241
 
 
3242
  BUG FIXES:
 
3243
 
 
3244
    * Fixed "branch -r" option.
 
3245
 
 
3246
    * Fix remote access to branches containing non-compressed history.
 
3247
      (Robert Collins).
 
3248
 
 
3249
    * Better reliability of http server tests.  (John Arbash-Meinel)
 
3250
 
 
3251
    * Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
3252
   
 
3253
    * Various minor bug in windows support have been fixed, largely in the
 
3254
      test suite. Contributed by Alexander Belchenko.
 
3255
 
 
3256
  IMPROVEMENTS:
 
3257
 
 
3258
    * Status now accepts a -r argument to give status between chosen
 
3259
      revisions. Contributed by Heikki Paajanen.
 
3260
 
 
3261
    * Revision arguments no longer use +/-/= to control ranges, instead
 
3262
      there is a 'before' namespace, which limits the successive namespace.
 
3263
      For example '$ bzr log -r date:yesterday..before:date:today' will
 
3264
      select everything from yesterday and before today. Contributed by
 
3265
      Robey Pointer
 
3266
 
 
3267
    * There is now a bzr.bat file created by distutils when building on 
 
3268
      Windows. Contributed by Alexander Belchenko.
 
3269
 
 
3270
  INTERNALS:
 
3271
 
 
3272
    * Removed uuid() as it was unused.
 
3273
 
 
3274
    * Improved 'fetch' code for pulling revisions from one branch into
 
3275
      another (used by pull, merged, etc.)
 
3276
 
 
3277
 
 
3278
bzr 0.0.8 2005-09-20
 
3279
 
 
3280
  IMPROVEMENTS:
 
3281
 
 
3282
    * Adding a file whose parent directory is not versioned will
 
3283
      implicitly add the parent, and so on up to the root. This means
 
3284
      you should never need to explictly add a directory, they'll just
 
3285
      get added when you add a file in the directory.  Contributed by
 
3286
      Michael Ellerman.
 
3287
 
 
3288
    * Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
3289
      (Nir Soffer)
 
3290
 
 
3291
    * If you set ``BZR_EDITOR`` in the environment, it is checked in
 
3292
      preference to EDITOR and the config file for the interactive commit
 
3293
      editing program. Related to this is a bugfix where a missing program
 
3294
      set in EDITOR would cause editing to fail, now the fallback program
 
3295
      for the operating system is still tried.
 
3296
 
 
3297
    * Files that are not directories/symlinks/regular files will no longer
 
3298
      cause bzr to fail, it will just ignore them by default. You cannot add
 
3299
      them to the tree though - they are not versionable.
 
3300
 
 
3301
 
 
3302
  INTERNALS:
 
3303
 
 
3304
    * Refactor xml packing/unpacking.
 
3305
 
 
3306
  BUG FIXES: 
 
3307
 
 
3308
    * Fixed 'bzr mv' by Ollie Rutherfurd.
 
3309
 
 
3310
    * Fixed strange error when trying to access a nonexistent http
 
3311
      branch.
 
3312
 
 
3313
    * Make sure that the hashcache gets written out if it can't be
 
3314
      read.
 
3315
 
 
3316
 
 
3317
  PORTABILITY:
 
3318
 
 
3319
    * Various Windows fixes from Ollie Rutherfurd.
 
3320
 
 
3321
    * Quieten warnings about locking; patch from Matt Lavin.
 
3322
 
 
3323
 
 
3324
bzr-0.0.7 2005-09-02
 
3325
 
 
3326
  NEW FEATURES:
 
3327
 
 
3328
    * ``bzr shell-complete`` command contributed by Clint Adams to
 
3329
      help with intelligent shell completion.
 
3330
 
 
3331
    * New expert command ``bzr find-merge-base`` for debugging merges.
 
3332
 
 
3333
 
 
3334
  ENHANCEMENTS:
 
3335
 
 
3336
    * Much better merge support.
 
3337
 
 
3338
    * merge3 conflicts are now reported with markers like '<<<<<<<'
 
3339
      (seven characters) which is the same as CVS and pleases things
 
3340
      like emacs smerge.
 
3341
 
 
3342
 
 
3343
  BUG FIXES:
 
3344
 
 
3345
    * ``bzr upgrade`` no longer fails when trying to fix trees that
 
3346
      mention revisions that are not present.
 
3347
 
 
3348
    * Fixed bugs in listing plugins from ``bzr plugins``.
 
3349
 
 
3350
    * Fix case of $EDITOR containing options for the editor.
 
3351
 
 
3352
    * Fix log -r refusing to show the last revision.
 
3353
      (Patch from Goffredo Baroncelli.)
 
3354
 
 
3355
 
 
3356
  CHANGES:
 
3357
 
 
3358
    * ``bzr log --show-ids`` shows the revision ids of all parents.
 
3359
 
 
3360
    * Externally provided commands on your $BZRPATH no longer need
 
3361
      to recognize --bzr-usage to work properly, and can just handle
 
3362
      --help themselves.
 
3363
 
 
3364
 
 
3365
  LIBRARY:
 
3366
 
 
3367
    * Changed trace messages to go through the standard logging
 
3368
      framework, so that they can more easily be redirected by
 
3369
      libraries.
 
3370
 
 
3371
 
 
3372
 
 
3373
bzr-0.0.6 2005-08-18
 
3374
 
 
3375
  NEW FEATURES:
 
3376
 
 
3377
    * Python plugins, automatically loaded from the directories on
 
3378
      ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
3379
 
 
3380
    * New 'bzr mkdir' command.
 
3381
 
 
3382
    * Commit mesage is fetched from an editor if not given on the
 
3383
      command line; patch from Torsten Marek.
 
3384
 
 
3385
    * ``bzr log -m FOO`` displays commits whose message matches regexp 
 
3386
      FOO.
 
3387
      
 
3388
    * ``bzr add`` with no arguments adds everything under the current directory.
 
3389
 
 
3390
    * ``bzr mv`` does move or rename depending on its arguments, like
 
3391
      the Unix command.
 
3392
 
 
3393
    * ``bzr missing`` command shows a summary of the differences
 
3394
      between two trees.  (Merged from John Arbash-Meinel.)
 
3395
 
 
3396
    * An email address for commits to a particular tree can be
 
3397
      specified by putting it into .bzr/email within a branch.  (Based
 
3398
      on a patch from Heikki Paajanen.)
 
3399
 
 
3400
 
 
3401
  ENHANCEMENTS:
 
3402
 
 
3403
    * Faster working tree operations.
 
3404
 
 
3405
 
 
3406
  CHANGES:
 
3407
 
 
3408
    * 3rd-party modules shipped with bzr are copied within the bzrlib
 
3409
      python package, so that they can be installed by the setup
 
3410
      script without clashing with anything already existing on the
 
3411
      system.  (Contributed by Gustavo Niemeyer.)
 
3412
 
 
3413
    * Moved plugins directory to bzrlib/, so that there's a standard
 
3414
      plugin directory which is not only installed with bzr itself but
 
3415
      is also available when using bzr from the development tree.
 
3416
      ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
3417
      standard plugins directory.
 
3418
 
 
3419
    * When exporting to a tarball with ``bzr export --format tgz``, put 
 
3420
      everything under a top directory rather than dumping it into the
 
3421
      current directory.   This can be overridden with the ``--root`` 
 
3422
      option.  Patch from William Dodé and John Meinel.
 
3423
 
 
3424
    * New ``bzr upgrade`` command to upgrade the format of a branch,
 
3425
      replacing ``bzr check --update``.
 
3426
 
 
3427
    * Files within store directories are no longer marked readonly on
 
3428
      disk.
 
3429
 
 
3430
    * Changed ``bzr log`` output to a more compact form suggested by
 
3431
      John A Meinel.  Old format is available with the ``--long`` or
 
3432
      ``-l`` option, patched by William Dodé.
 
3433
 
 
3434
    * By default the commit command refuses to record a revision with
 
3435
      no changes unless the ``--unchanged`` option is given.
 
3436
 
 
3437
    * The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
3438
      line options must come before the command name because they 
 
3439
      affect what commands are available; all other options must come 
 
3440
      after the command name because their interpretation depends on
 
3441
      it.
 
3442
 
 
3443
    * ``branch`` and ``clone`` added as aliases for ``branch``.
 
3444
 
 
3445
    * Default log format is back to the long format; the compact one
 
3446
      is available with ``--short``.
 
3447
      
 
3448
      
 
3449
  BUG FIXES:
 
3450
  
 
3451
    * Fix bugs in committing only selected files or within a subdirectory.
 
3452
 
 
3453
 
 
3454
bzr-0.0.5  2005-06-15
 
3455
  
 
3456
  CHANGES:
 
3457
 
 
3458
    * ``bzr`` with no command now shows help rather than giving an
 
3459
      error.  Suggested by Michael Ellerman.
 
3460
 
 
3461
    * ``bzr status`` output format changed, because svn-style output
 
3462
      doesn't really match the model of bzr.  Now files are grouped by
 
3463
      status and can be shown with their IDs.  ``bzr status --all``
 
3464
      shows all versioned files and unknown files but not ignored files.
 
3465
 
 
3466
    * ``bzr log`` runs from most-recent to least-recent, the reverse
 
3467
      of the previous order.  The previous behaviour can be obtained
 
3468
      with the ``--forward`` option.
 
3469
        
 
3470
    * ``bzr inventory`` by default shows only filenames, and also ids
 
3471
      if ``--show-ids`` is given, in which case the id is the second
 
3472
      field.
 
3473
 
 
3474
 
 
3475
  ENHANCEMENTS:
 
3476
 
 
3477
    * New 'bzr whoami --email' option shows only the email component
 
3478
      of the user identification, from Jo Vermeulen.
 
3479
 
 
3480
    * New ``bzr ignore PATTERN`` command.
 
3481
 
 
3482
    * Nicer error message for broken pipe, interrupt and similar
 
3483
      conditions that don't indicate an internal error.
 
3484
 
 
3485
    * Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
3486
 
 
3487
    * Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
3488
      either read or write mode.
 
3489
 
 
3490
    * New option ``bzr log --show-ids`` shows revision and file ids.
 
3491
 
 
3492
    * New usage ``bzr log FILENAME`` shows only revisions that
 
3493
      affected that file.
 
3494
 
 
3495
    * Changed format for describing changes in ``bzr log -v``.
 
3496
 
 
3497
    * New option ``bzr commit --file`` to take a message from a file,
 
3498
      suggested by LarstiQ.
 
3499
 
 
3500
    * New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
3501
      Oler.  File may be in a branch other than the working directory.
 
3502
 
 
3503
    * ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
3504
      a filename.
 
3505
 
 
3506
    * Commands can now be defined by external programs or scripts
 
3507
      in a directory on $BZRPATH.
 
3508
 
 
3509
    * New "stat cache" avoids reading the contents of files if they 
 
3510
      haven't changed since the previous time.
 
3511
 
 
3512
    * If the Python interpreter is too old, try to find a better one
 
3513
      or give an error.  Based on a patch from Fredrik Lundh.
 
3514
 
 
3515
    * New optional parameter ``bzr info [BRANCH]``.
 
3516
 
 
3517
    * New form ``bzr commit SELECTED`` to commit only selected files.
 
3518
 
 
3519
    * New form ``bzr log -r FROM:TO`` shows changes in selected
 
3520
      range; contributed by John A Meinel.
 
3521
 
 
3522
    * New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
3523
      options through to an external GNU diff.
 
3524
 
 
3525
    * New option ``bzr add --no-recurse`` to add a directory but not
 
3526
      their contents.
 
3527
 
 
3528
    * ``bzr --version`` now shows more information if bzr is being run
 
3529
      from a branch.
 
3530
 
 
3531
  
 
3532
  BUG FIXES:
 
3533
 
 
3534
    * Fixed diff format so that added and removed files will be
 
3535
      handled properly by patch.  Fix from Lalo Martins.
 
3536
 
 
3537
    * Various fixes for files whose names contain spaces or other
 
3538
      metacharacters.
 
3539
 
 
3540
 
 
3541
  TESTING:
 
3542
 
 
3543
    * Converted black-box test suites from Bourne shell into Python;
 
3544
      now run using ``./testbzr``.  Various structural improvements to
 
3545
      the tests.
 
3546
 
 
3547
    * testbzr by default runs the version of bzr found in the same
 
3548
      directory as the tests, or the one given as the first parameter.
 
3549
 
 
3550
    * testbzr also runs the internal tests, so the only command
 
3551
      required to check is just ``./testbzr``.
 
3552
 
 
3553
    * testbzr requires python2.4, but can be used to test bzr running
 
3554
      under a different version.
 
3555
 
 
3556
    * Tests added for many other changes in this release.
 
3557
 
 
3558
 
 
3559
  INTERNAL:
 
3560
 
 
3561
    * Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
3562
 
 
3563
    * Refactor command functions into Command objects based on HCT by
 
3564
      Scott James Remnant.
 
3565
 
 
3566
    * Better help messages for many commands.
 
3567
 
 
3568
    * Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
3569
      this is called trace messages are just discarded.
 
3570
 
 
3571
    * New internal function ``find_touching_revisions()`` and hidden
 
3572
      command touching-revisions trace the changes to a given file.
 
3573
 
 
3574
    * Simpler and faster ``compare_inventories()`` function.
 
3575
 
 
3576
    * ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
3577
 
 
3578
    * New AtomicFile class.
 
3579
 
 
3580
    * New developer commands ``added``, ``modified``.
 
3581
 
 
3582
 
 
3583
  PORTABILITY:
 
3584
 
 
3585
    * Cope on Windows on python2.3 by using the weaker random seed.
 
3586
      2.4 is now only recommended.
 
3587
 
 
3588
 
 
3589
bzr-0.0.4  2005-04-22
 
3590
 
 
3591
  ENHANCEMENTS:
 
3592
 
 
3593
    * 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
3594
      basic.  Patch from QuantumG.
 
3595
 
 
3596
    * More default ignore patterns.
 
3597
 
 
3598
    * New 'bzr log --verbose' shows a list of files changed in the
 
3599
      changeset.  Patch from Sebastian Cote.
 
3600
 
 
3601
    * Roll over ~/.bzr.log if it gets too large.
 
3602
 
 
3603
    * Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
3604
      by Jason Diamon.
 
3605
 
 
3606
    * New 'bzr help commands' based on a patch from Denys Duchier.
 
3607
 
 
3608
 
 
3609
  CHANGES:
 
3610
 
 
3611
    * User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
3612
      or $EMAIL.  All are decoded by the locale preferred encoding.
 
3613
      If none of these are present user@hostname is used.  The host's
 
3614
      fully-qualified name is not used because that tends to fail when
 
3615
      there are DNS problems.
 
3616
 
 
3617
    * New 'bzr whoami' command instead of username user-email.
 
3618
 
 
3619
 
 
3620
  BUG FIXES: 
 
3621
 
 
3622
    * Make commit safe for hardlinked bzr trees.
 
3623
 
 
3624
    * Some Unicode/locale fixes.
 
3625
 
 
3626
    * Partial workaround for ``difflib.unified_diff`` not handling
 
3627
      trailing newlines properly.
 
3628
 
 
3629
 
 
3630
  INTERNAL:
 
3631
 
 
3632
    * Allow docstrings for help to be in PEP0257 format.  Patch from
 
3633
      Matt Brubeck.
 
3634
 
 
3635
    * More tests in test.sh.
 
3636
 
 
3637
    * Write profile data to a temporary file not into working
 
3638
      directory and delete it when done.
 
3639
 
 
3640
    * Smaller .bzr.log with process ids.
 
3641
 
 
3642
 
 
3643
  PORTABILITY:
 
3644
 
 
3645
    * Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
3646
      Bennetts.
 
3647
 
 
3648
    * Some improvements in handling paths on Windows, based on a patch
 
3649
      from QuantumG.
 
3650
 
 
3651
 
 
3652
bzr-0.0.3  2005-04-06
 
3653
 
 
3654
  ENHANCEMENTS:
 
3655
 
 
3656
    * New "directories" internal command lists versioned directories
 
3657
      in the tree.
 
3658
 
 
3659
    * Can now say "bzr commit --help".
 
3660
 
 
3661
    * New "rename" command to rename one file to a different name
 
3662
      and/or directory.
 
3663
 
 
3664
    * New "move" command to move one or more files into a different
 
3665
      directory.
 
3666
 
 
3667
    * New "renames" command lists files renamed since base revision.
 
3668
 
 
3669
    * New cat command contributed by janmar.
 
3670
 
 
3671
  CHANGES:
 
3672
 
 
3673
    * .bzr.log is placed in $HOME (not pwd) and is always written in
 
3674
      UTF-8.  (Probably not a completely good long-term solution, but
 
3675
      will do for now.)
 
3676
 
 
3677
  PORTABILITY:
 
3678
 
 
3679
    * Workaround for difflib bug in Python 2.3 that causes an
 
3680
      exception when comparing empty files.  Reported by Erik Toubro
 
3681
      Nielsen.
 
3682
 
 
3683
  INTERNAL:
 
3684
 
 
3685
    * Refactored inventory storage to insert a root entry at the top.
 
3686
 
 
3687
  TESTING:
 
3688
 
 
3689
    * Start of shell-based black-box testing in test.sh.
 
3690
 
 
3691
 
 
3692
bzr-0.0.2.1
 
3693
 
 
3694
  PORTABILITY:
 
3695
 
 
3696
    * Win32 fixes from Steve Brown.
 
3697
 
 
3698
 
 
3699
bzr-0.0.2  "black cube"  2005-03-31
 
3700
 
 
3701
  ENHANCEMENTS:
 
3702
 
 
3703
    * Default ignore list extended (see bzrlib/__init__.py).
 
3704
 
 
3705
    * Patterns in .bzrignore are now added to the default ignore list,
 
3706
      rather than replacing it.
 
3707
 
 
3708
    * Ignore list isn't reread for every file.
 
3709
 
 
3710
    * More help topics.
 
3711
 
 
3712
    * Reinstate the 'bzr check' command to check invariants of the
 
3713
      branch.
 
3714
 
 
3715
    * New 'ignored' command lists which files are ignored and why;
 
3716
      'deleted' lists files deleted in the current working tree.
 
3717
 
 
3718
    * Performance improvements.
 
3719
 
 
3720
    * New global --profile option.
 
3721
    
 
3722
    * Ignore patterns like './config.h' now correctly match files in
 
3723
      the root directory only.
 
3724
 
 
3725
 
 
3726
bzr-0.0.1  2005-03-26
 
3727
 
 
3728
  ENHANCEMENTS:
 
3729
 
 
3730
    * More information from info command.
 
3731
 
 
3732
    * Can now say "bzr help COMMAND" for more detailed help.
 
3733
 
 
3734
    * Less file flushing and faster performance when writing logs and
 
3735
      committing to stores.
 
3736
 
 
3737
    * More useful verbose output from some commands.
 
3738
 
 
3739
  BUG FIXES:
 
3740
 
 
3741
    * Fix inverted display of 'R' and 'M' during 'commit -v'.
 
3742
 
 
3743
  PORTABILITY:
 
3744
 
 
3745
    * Include a subset of ElementTree-1.2.20040618 to make
 
3746
      installation easier.
 
3747
 
 
3748
    * Fix time.localtime call to work with Python 2.3 (the minimum
 
3749
      supported).
 
3750
 
 
3751
 
 
3752
bzr-0.0.0.69  2005-03-22
 
3753
 
 
3754
  ENHANCEMENTS:
 
3755
 
 
3756
    * First public release.
 
3757
 
 
3758
    * Storage of local versions: init, add, remove, rm, info, log,
 
3759
      diff, status, etc.