/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: Alexander Belchenko
  • Date: 2007-08-09 08:04:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2694.
  • Revision ID: bialix@ukr.net-20070809080432-ph8klgs745kwa5bw
windows standalone installer: show link to survey when installation finished

Show diffs side-by-side

added added

removed removed

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