~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Robert Collins
  • Date: 2006-05-16 06:45:43 UTC
  • mto: (1713.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1714.
  • Revision ID: robertc@robertcollins.net-20060516064543-5cb7cc63047ba98b
Start on bench_add, an add benchtest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--------------------
2
 
Bazaar Release Notes
3
 
--------------------
4
 
 
5
 
.. contents::
6
 
 
7
1
IN DEVELOPMENT
8
 
--------------
9
 
 
10
 
  USER-VISIBLE CHANGES:
11
 
 
12
 
  NEW FEATURES:
13
 
 
14
 
  IMPROVEMENTS:
15
 
 
16
 
    * ``bzr dump-btree`` is a hidden command introduced to allow dumping
17
 
      the contents of a compressed btree file.  (John Arbash Meinel)
18
 
 
19
 
    * default username for bzr+ssh and sftp can be configured in
20
 
      authentication.conf. (Aaron Bentley)
21
 
 
22
 
  BUG FIXES:
23
 
 
24
 
    * A failure to load a plugin due to an IncompatibleAPI exception is
25
 
      now correctly reported. (Robert Collins, #279451)
26
 
 
27
 
    * API versioning support now has a multiple-version checking api
28
 
      ``require_any_api``. (Robert Collins, #279447)
29
 
 
30
 
    * ``bzr co`` uses less memory. It used to unpack the entire WT into
31
 
      memory before writing it to disk. This was a little bit faster, but
32
 
      consumed lots of memory. (John Arbash Meinel, #269456)
33
 
 
34
 
  DOCUMENTATION:
35
 
 
36
 
  API CHANGES:
37
 
 
38
 
  TESTING:
39
 
 
40
 
  INTERNALS:
41
 
 
42
 
  PORTABILITY:
43
 
 
44
 
 
45
 
bzr 1.8 2008-10-16
46
 
------------------
47
 
 
48
 
Bazaar 1.8 includes several fixes that improve working tree performance,
49
 
display of revision logs, and merges.  The bzr testsuite now passes on OS
50
 
X and Python 2.6, and almost completely passes on Windows.  The
51
 
smartserver code has gained several bug fixes and performance
52
 
improvements, and can now run server-side hooks within an http server.
53
 
 
54
 
  BUG FIXES:
55
 
 
56
 
   * Fix "Must end write group" error when another error occurs during
57
 
     ``bzr push``.  (Andrew Bennetts, #230902)
58
 
 
59
 
  PORTABILITY:
60
 
 
61
 
   * Some Pyrex versions require the WIN32 macro defined to compile on
62
 
     that platform.  (Alexander Belchenko, Martin Pool, #277481)
63
 
 
64
 
 
65
 
bzr 1.8rc1 2008-10-07
66
 
---------------------
67
 
 
68
 
  CHANGES:
69
 
 
70
 
    * ``bzr log file`` has been changed. It now uses a different method
71
 
      for determining which revisions to show as merging the changes to
72
 
      the file. It now only shows revisions which merged the change
73
 
      towards your mainline. This simplifies the output, makes it faster,
74
 
      and reduces memory consumption.  (John Arbash Meinel)
75
 
 
76
 
    * ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
77
 
      ``--show-base`` is not supplied.  (John Arbash Meinel)
78
 
 
79
 
    * ``bzr+http//`` will now optionally load plugins and write logs on the
80
 
      server. (Marius Kruger)
81
 
 
82
 
    * ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
83
 
      Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
84
 
      explicitly blacklist that version of the compiler for that
85
 
      extension. Packaged versions will include .c files created with
86
 
      pyrex >= 0.9.6 so it doesn't effect releases, only users running
87
 
      from the source tree. (John Arbash Meinel, #276868)
88
 
 
89
 
  FEATURES:
90
 
 
91
 
    * bzr is now compatible with python-2.6. python-2.6 is not yet officially
92
 
      supported (nor released, tests were conducted with the dev version of
93
 
      python-2.6rc2), but all known problems have been fixed.  Feedback
94
 
      welcome.
95
 
      (Vincent Ladeuil, #269535)
96
 
 
97
 
  IMPROVEMENTS:
98
 
 
99
 
    * ``bzr annotate`` will now include uncommitted changes from the local
100
 
      working tree by default. Such uncommitted changes are given the
101
 
      revision number they would get if a commit was done, followed with a
102
 
      ? to indicate that its not actually known. (Robert Collins, #3439)
103
 
 
104
 
    * ``bzr branch`` now accepts a ``--standalone`` option, which creates a
105
 
      standalone branch regardless of the presence of shared repositories.
106
 
      (Daniel Watkins)
107
 
 
108
 
    * ``bzr push`` is faster in the case there are no new revisions to
109
 
      push.  It is also faster if there are no tags in the local branch.
110
 
      (Andrew Bennetts)
111
 
 
112
 
    * File changes during a commit will update the tree stat cache.
113
 
      (Robert Collins)
114
 
 
115
 
    * Location aliases can now accept a trailing path.  (Micheal Hudson)
116
 
 
117
 
    * New hooks ``Lock.hooks`` when LockDirs are acquired and released. 
118
 
      (Robert Collins, MartinPool)
119
 
 
120
 
    * Switching in heavyweight checkouts uses the master branch's context, not
121
 
      the checkout's context.  (Adrian Wilkins)
122
 
 
123
 
    * ``status`` on large trees is now faster, due to optimisations in the
124
 
      walkdirs code. Of particular note, the walkdirs code now performs
125
 
      a temporary ``chdir()`` while reading a single directory; if your
126
 
      platform has non thread-local current working directories (and is
127
 
      not windows which has its own implementation), this may introduce a
128
 
      race condition during concurrent uses of bzrlib. The bzrlib CLI
129
 
      will not encounter this as it is single threaded for working tree
130
 
      operations. (Robert Collins)
131
 
 
132
 
    * The C extensions now build on python 2.4 (Robert Collins, #271939)
133
 
 
134
 
    * The ``-Dhpss`` debug flag now reports the number of smart server
135
 
      calls per medium to stderr.  This is in addition to the existing
136
 
      detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
137
 
 
138
 
  BUG FIXES:
139
 
 
140
 
    * Avoid random failures arising from misinterpreted ``errno`` values
141
 
      in ``_readdir_pyx.read_dir``.
142
 
      (Martin Pool, #279381)
143
 
 
144
 
    * Branching from a shared repository on a smart server into a new
145
 
      repository now preserves the repository format.
146
 
      (Andrew Bennetts, #269214)
147
 
 
148
 
    * ``bzr log`` now accepts a ``--change`` option.
149
 
      (Vincent Ladeuil, #248427)
150
 
 
151
 
    * ``bzr missing`` now accepts an ``--include-merges`` option.
152
 
      (Vincent Ladeuil, #233817)
153
 
 
154
 
    * Don't try to filter (internally) '.bzr' from the files to be deleted if
155
 
      it's not there.
156
 
      (Vincent Ladeuil, #272648)
157
 
 
158
 
    * Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
159
 
      (Andrew Bennetts)
160
 
 
161
 
    * Fix TooManyConcurrentRequests errors caused by a connection failure
162
 
      when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
163
 
      (Andrew Bennetts, #246233)
164
 
 
165
 
    * Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
166
 
      is in a different repository than the current one.
167
 
      (Lukáš Lalinský, #144421)
168
 
 
169
 
    * Make the first line of the manpage preamble a comment again.
170
 
      (David Futcher, #242106)
171
 
 
172
 
    * Remove use of optional parameter in GSSAPI FTP support, since 
173
 
      it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
174
 
 
175
 
    * The autopacking logic will now always create a single new pack from
176
 
      all of the content which it deems is worth moving. This avoids the
177
 
      'repack a single pack' bug and should result in better packing
178
 
      overall.  (John Arbash Meinel, #242510, #172644)
179
 
 
180
 
    * Trivial documentation fix.
181
 
      (John Arbash Meinel, #270471)
182
 
 
183
 
  DOCUMENTATION:
184
 
 
185
 
    * Explain revision/range identifiers. (Daniel Clemente)
186
 
 
187
 
  API CHANGES:
188
 
 
189
 
    * ``CommitBuilder.record_entry_contents`` returns one more element in
190
 
      its result tuple - an optional file system hash for the hash cache
191
 
      to use. (Robert Collins)
192
 
 
193
 
    * ``dirstate.DirState.update_entry`` will now only calculate the sha1
194
 
      of a file if it is likely to be needed in determining the output
195
 
      of iter_changes. (Robert Collins)
196
 
 
197
 
    * The PackRepository, RepositoryPackCollection, NewPack classes have a
198
 
      slightly changed interface to support different index types; as a
199
 
      result other users of these classes need to supply the index types
200
 
      they want. (Robert Collins)
201
 
 
202
 
  TESTING:
203
 
 
204
 
    * ``bzrlib.tests.repository_implementations`` has been renamed to
205
 
      ``bzrlib.tests.per_repository`` so that we have a common structure
206
 
      (and it is shorter). (John Arbash Meinel, #239343)
207
 
 
208
 
    * ``LocalTransport.abspath()`` now returns a drive letter if the
209
 
      transport has one, fixing numerous tests on Windows.
210
 
      (Mark Hammond)
211
 
 
212
 
    * PreviewTree is now tested via intertree_implementations.
213
 
      (Aaron Bentley)
214
 
 
215
 
    * The full test suite is passing again on OSX.
216
 
      (Guillermo Gonzalez, Vincent Ladeuil)
217
 
 
218
 
    * The full test suite passes when run with ``-Eallow_debug``.
219
 
      (Andrew Bennetts)
220
 
 
221
 
  INTERNALS:
222
 
 
223
 
    * A new hook, ``Branch.open``, has been added, which is called when
224
 
      branch objects are opened. (Robert Collins)
225
 
 
226
 
    * ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
227
 
      tree walking, and modular directory listing code to aid future
228
 
      performance optimisations and refactoring. (Robert Collins)
229
 
 
230
 
    * ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
231
 
      in the middle of processing. It only reports memory if
232
 
      ``/proc/PID/status`` is available. (John Arbash Meinel)
233
 
 
234
 
    * New method ``RevisionSpec.as_tree`` for representing the revision
235
 
      specifier as a revision tree object. (Lukáš Lalinský)
236
 
 
237
 
    * New race-free method on MutableTree ``get_file_with_stat`` for use
238
 
      when generating stat cache results. (Robert Collins)
239
 
 
240
 
    * New win32utils.get_local_appdata_location() provides access to a local
241
 
      directory for storing data.  (Mark Hammond)
242
 
 
243
 
    * To be compatible with python-2.6 a few new rules should be
244
 
      observed. 'message' attribute can't be used anymore in exception
245
 
      classes, 'sha' and 'md5' modules have been deprecated (use
246
 
      osutils.[md5|sha]), object__init__ and object.__new__ don't accept
247
 
      parameters anymore.
248
 
      (Vincent Ladeuil)
249
 
 
250
 
 
251
 
bzr 1.7.1 2008-10-01
252
 
--------------------
253
 
 
254
 
  No changes from 1.7.1rc1.
255
 
 
256
 
 
257
 
bzr 1.7.1rc1 2008-09-24
258
 
-----------------------
259
 
 
260
 
This release just includes an update to how the merge algorithm handles
261
 
file paths when we encounter complex history.
262
 
 
263
 
  FEATURES:
264
 
 
265
 
    * If we encounter a criss-cross in history, use information from
266
 
      direct Least Common Ancestors to resolve inventory shape (locations
267
 
      of files, adds, deletes, etc). This is similar in concept to using
268
 
      ``--lca`` for merging file texts, only applied to paths.
269
 
      (John Arbash Meinel)
270
 
 
271
 
 
272
 
bzr 1.7 2008-09-23
273
 
------------------
274
 
 
275
 
This release includes many bug fixes and a few performance and feature
276
 
improvements.  ``bzr rm`` will now scan for missing files and remove them,
277
 
like how ``bzr add`` scans for unknown files and adds them. A bit more
278
 
polish has been applied to the stacking code. The b-tree indexing code has
279
 
been brought in, with an eye on using it in a future repository format.
280
 
There are only minor installer changes since bzr-1.7rc2.
281
 
 
282
 
  FEATURES
283
 
 
284
 
    * Some small updates to the win32 installer. Include localization
285
 
      files found in plugins, and include the builtin distutils as part of
286
 
      packaging qbzr. (Mark Hammond)
287
 
 
288
 
 
289
 
bzr 1.7rc2 2008-09-17
290
 
---------------------
291
 
 
292
 
A few bug fixes from 1.7rc1. The biggest change is a new
293
 
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
294
 
trying to access a Stacked branch over the smart protocol, to properly
295
 
connect to the stacked-on location.
296
 
 
297
 
  BUG FIXES:
298
 
 
299
 
    * Branching from a shared repository on a smart server into a new
300
 
      repository now preserves the repository format.
301
 
      (Andrew Bennetts, #269214)
302
 
 
303
 
   * Branching from a stacked branch via ``bzr+ssh`` can properly connect
304
 
     to the stacked-on branch.  (Martin Pool, #261315)
305
 
 
306
 
    * ``bzr init`` no longer re-opens the BzrDir multiple times.
307
 
      (Vincent Ladeuil)
308
 
 
309
 
    * Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
310
 
      (Andrew Bennetts)
311
 
 
312
 
 
313
 
bzr 1.7rc1 2008-09-09
314
 
---------------------
315
 
 
316
 
This release candidate for bzr 1.7 has several bug fixes and a few
317
 
performance and feature improvements.  ``bzr rm`` will now scan for
318
 
missing files and remove them, like how ``bzr add`` scans for unknown
319
 
files and adds them. A bit more polish has been applied to the stacking
320
 
code. The b-tree indexing code has been brought in, with an eye on using
321
 
it in a future repository format.
322
 
 
323
 
 
324
 
  CHANGES:
325
 
 
326
 
    * ``bzr export`` can now export a subdirectory of a project.
327
 
      (Robert Collins)
328
 
 
329
 
    * ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
330
 
      changes, unless the ``--force`` option is specified.
331
 
      (Lukáš Lalinský, #74101)
332
 
 
333
 
    * ``bzr rm`` will now scan for files that are missing and remove just
334
 
      them automatically, much as ``bzr add`` scans for new files that
335
 
      are not ignored and adds them automatically. (Robert Collins)
336
 
 
337
 
  FEATURES
338
 
 
339
 
    * Support for GSSAPI authentication when using FTP as documented in 
340
 
      RFC2228. (Jelmer Vernooij, #49623)
341
 
 
342
 
    * Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
343
 
 
344
 
  IMPROVEMENTS:
345
 
 
346
 
    * A url like ``log+file:///tmp`` will log all access to that Transport 
347
 
      to ``.bzr.log``, which may help in debugging or profiling.
348
 
      (Martin Pool)
349
 
 
350
 
    * ``bzr branch`` and ``bzr push`` use the default stacking policy if the
351
 
      branch format supports it. (Aaron Bentley)
352
 
 
353
 
    * ``bzr init`` and ``bzr init-repo`` will now print out the same as
354
 
      ``bzr info`` if it completed successfully.
355
 
      (Marius Kruger)
356
 
 
357
 
    * ``bzr uncommit`` logs the old tip revision id, and displays how to
358
 
      restore the branch to that tip using ``bzr pull``.  This allows you
359
 
      to recover if you realize you uncommitted the wrong thing.
360
 
      (John Arbash Meinel)
361
 
 
362
 
    * Fix problems in accessing stacked repositories over ``bzr://``.
363
 
      (Martin Pool, #261315)
364
 
 
365
 
    * ``SFTPTransport.readv()`` was accidentally using ``list += string``,
366
 
      which 'works', but adds each character separately to the list,
367
 
      rather than using ``list.append(string)``. Fixing this makes the
368
 
      SFTP transport a little bit faster (~20%) and use a bit less memory.
369
 
      (John Arbash Meinel)
370
 
 
371
 
    * When reading index files, if we happen to read the whole file in a
372
 
      single request treat it as a ``_buffer_all`` request. This happens
373
 
      most often on small indexes over remote transports, where we default
374
 
      to reading 64kB. It saves a round trip for each small index during
375
 
      fetch operations. Also, if we have read more than 50% of an index
376
 
      file, trigger a ``_buffer_all`` on the next request. This works
377
 
      around some inefficiencies because reads don't fall neatly on page
378
 
      boundaries, so we would ignore those bytes, but request them again
379
 
      later. This could trigger a total read size of more than the whole
380
 
      file. (John Arbash Meinel)
381
 
 
382
 
  BUG FIXES:
383
 
 
384
 
    * ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
385
 
      users. (Robert Collins, #205416)
386
 
 
387
 
    * Catch the infamous "select/poll returned error" which occurs when
388
 
      pycurl try to send a body request to an HTTP/1.0 server which has
389
 
      already refused to handle the request. (Vincent Ladeuil, #225020)
390
 
 
391
 
    * Fix ``ObjectNotLocked`` errors when using various commands
392
 
      (including ``bzr cat`` and ``bzr annotate``) in combination with a
393
 
      smart server URL.  (Andrew Bennetts, #237067)
394
 
 
395
 
    * ``FTPTransport.stat()`` would return ``0000`` as the permission bits
396
 
      for the containing ``.bzr/`` directory (it does not implement
397
 
      permissions). This would cause us to set all subdirectories to
398
 
      ``0700`` and files to ``0600`` rather than leaving them unmodified.
399
 
      Now we ignore ``0000`` as the permissions and assume they are
400
 
      invalid. (John Arbash Meinel, #259855)
401
 
 
402
 
    * Merging from a previously joined branch will no longer cause 
403
 
      a traceback. (Jelmer Vernooij, #203376)
404
 
 
405
 
    * Pack operations on windows network shares will work even with large
406
 
      files. (Robert Collins, #255656)
407
 
 
408
 
    * Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
409
 
      status. Status is also about 7% faster on mozilla sized trees
410
 
      when the path to the root of the tree has been given. Users of
411
 
      the internal ``show_tree_status`` function should be aware that
412
 
      the show_pending flag is now authoritative for showing pending
413
 
      merges, as it was originally. (Robert Collins, #225204)
414
 
 
415
 
    * Set valid default _param_name for Option so that ListOption can embed
416
 
      '-' in names. (Vincent Ladeuil, #263249)
417
 
 
418
 
    * Show proper error rather than traceback when an unknown revision 
419
 
      id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
420
 
 
421
 
    * Trailing text in the dirstate file could cause the C dirstate parser
422
 
      to try to allocate an invalid amount of memory. We now properly
423
 
      check and test for parsing a dirstate with invalid trailing data.
424
 
      (John Arbash Meinel, #186014)
425
 
 
426
 
    * Unexpected error responses from a smart server no longer cause the
427
 
      client to traceback.  (Andrew Bennetts, #263527)
428
 
      
429
 
    * Use a Windows api function to get a Unicode host name, rather than
430
 
      assuming the host name is ascii.
431
 
      (Mark Hammond, John Arbash Meinel, #256550)
432
 
 
433
 
    * ``WorkingTree4`` trees will now correctly report missing-and-new
434
 
      paths in the output of ``iter_changes``. (Robert Collins)
435
 
 
436
 
  DOCUMENTATION:
437
 
 
438
 
    * Updated developer documentation.  (Martin Pool)
439
 
 
440
 
  API CHANGES:
441
 
 
442
 
    * Exporters now take 4 parameters. (Robert Collins)
443
 
 
444
 
    * ``Tree.iter_changes`` will now return False for the content change
445
 
      field when a file is missing in the basis tree and not present in
446
 
      the target tree. Previously it returned True unconditionally.
447
 
      (Robert Collins)
448
 
 
449
 
    * The deprecated ``Branch.abspath`` and unimplemented 
450
 
      ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
451
 
 
452
 
    * BzrDir.clone_on_transport implementations must now accept a stacked_on
453
 
      parameter.  (Aaron Bentley)
454
 
 
455
 
    * BzrDir.cloning_metadir implementations must now take a require_stacking
456
 
      parameter.  (Aaron Bentley)
457
 
 
458
 
  TESTING:
459
 
 
460
 
    * ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
461
 
      which are then passed to the cleanup callable as it is run. In
462
 
      addition, addCleanup no longer requires that the callables passed to
463
 
      it be unique. (Jonathan Lange)
464
 
 
465
 
    * Fix some tests that fail on Windows because files are deleted while 
466
 
      still in use. 
467
 
      (Mark Hammond)
468
 
 
469
 
    * ``selftest``'s ``--starting-with`` option can now use predefined
470
 
      prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
471
 
      ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
472
 
 
473
 
    * ``selftest``'s ``--starting-with`` option now accepts multiple values.
474
 
      (Vincent Ladeuil)
475
 
 
476
 
  INTERNALS:
477
 
 
478
 
    * A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
479
 
      This allows dynamic log output filtering by plugins.
480
 
      (Robert Collins)
481
 
 
482
 
    * ``bzrlib.btree_index`` is now available, providing a b-tree index
483
 
      layer. The design is memory conservative (limited memory cache),
484
 
      faster to seek (approx 100 nodes per page, gives 100-way fan out),
485
 
      and stores compressed pages allowing more keys per page.
486
 
      (Robert Collins, John Arbash Meinel)
487
 
 
488
 
    * ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
489
 
      is unknown in both source and target.
490
 
      (Robert Collins, Aaron Bentley)
491
 
 
492
 
    * ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
493
 
      streamlined a bit. This should make creating large indexes faster.
494
 
      (In benchmarking, it now takes less time to create a BTree index than
495
 
      it takes to read the GraphIndex one.) (John Arbash Meinel)
496
 
 
497
 
    * Mail clients for `bzr send` are now listed in a registry.  This
498
 
      allows plugins to add new clients by registering them with
499
 
      ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
500
 
      clients now use this mechanism.  (Neil Martinsen-Burrell)
501
 
 
502
 
 
503
 
bzr 1.6.1 2008-09-05
504
 
--------------------
505
 
 
506
 
A couple regressions were found in the 1.6 release. There was a
507
 
performance issue when using ``bzr+ssh`` to branch large repositories,
508
 
and some problems with stacking and ``rich-root`` capable repositories.
509
 
 
510
 
 
511
 
bzr 1.6.1rc2 2008-09-03
512
 
-----------------------
513
 
 
514
 
  BUG FIXES:
515
 
 
516
 
    * Copying between ``rich-root`` and ``rich-root-pack`` (and vice
517
 
      versa) was accidentally using the inter-model fetcher, instead of
518
 
      recognizing that both were 'rich root' formats.
519
 
      (John Arbash Meinel, #264321)
520
 
 
521
 
 
522
 
bzr 1.6.1rc1 2008-08-29
523
 
-----------------------
524
 
 
525
 
This release fixes a few regressions found in the 1.6 client. Fetching
526
 
changes was using an O(N^2) buffering algorithm, so for large projects it
527
 
would cause memory thrashing. There is also a specific problem with the
528
 
``--1.6-rich-root`` format, which prevented stacking on top of
529
 
``--rich-root-pack`` repositories, and could allow users to accidentally
530
 
fetch experimental data (``-subtree``) without representing it properly.
531
 
The ``--1.6-rich-root`` format has been deprecated and users are
532
 
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
533
 
re-introduced a workaround for users who have repositories with incorrect
534
 
nodes (not possible if you only used official releases).
535
 
I should also clarify that none of this is data loss level issues, but
536
 
still sufficient enough to warrant an updated release.
537
 
 
538
 
  BUG FIXES:
539
 
 
540
 
    * ``RemoteTransport.readv()`` was being inefficient about how it
541
 
      buffered the readv data and processed it. It would keep appending to
542
 
      the same string (causing many copies) and then pop bytes out of the
543
 
      start of the string (causing more copies).
544
 
      With this patch "bzr+ssh://local" can improve dramatically,
545
 
      especially for projects with large files.
546
 
      (John Arbash Meinel)
547
 
 
548
 
    * Revision texts were always meant to be stored as fulltexts. There
549
 
      was a bug in a bzr.dev version that would accidentally create deltas
550
 
      when copying from a Pack repo to a Knit repo. This has been fixed,
551
 
      but to support those repositories, we know always request full texts
552
 
      for Revision texts. (John Arbash Meinel, #261339)
553
 
 
554
 
    * The previous ``--1.6-rich-root`` format used an incorrect xml
555
 
      serializer, which would accidentally support fetching from a
556
 
      repository that supported subtrees, even though the local one would
557
 
      not. We deprecated that format, and introduced a new one that uses
558
 
      the correct serializer ``--1.6.1-rich-root``.
559
 
      (John Arbash Meinel, #262333)
560
 
 
561
 
 
562
 
bzr 1.6 2008-08-25
563
 
------------------
564
 
 
565
 
Finally, the long awaited bzr 1.6 has been released. This release includes
566
 
new features like Stacked Branches, improved weave merge, and an updated
567
 
server protocol (now on v3) which will allow for better cross version
568
 
compatibility. With this release we have deprecated Knit format
569
 
repositories, and recommend that users upgrade them, we will continue to
570
 
support reading and writing them for the forseeable future, but we will
571
 
not be tuning them for performance as pack repositories have proven to be
572
 
better at scaling. This will also be the first release to bundle
573
 
TortoiseBzr in the standalone Windows installer.
574
 
 
575
 
 
576
 
bzr 1.6rc5 2008-08-19
577
 
---------------------
578
 
 
579
 
  BUG FIXES: 
580
 
 
581
 
    * Disable automatic detection of stacking based on a containing
582
 
      directory of the target. It interacted badly with push, and needs a
583
 
      bit more work to get the edges polished before it should happen
584
 
      automatically. (John Arbash Meinel, #259275)
585
 
      (This change was reverted when merged to bzr.dev)
586
 
  
587
 
 
588
 
bzr 1.6rc4 2008-08-18
589
 
---------------------
590
 
 
591
 
  BUG FIXES: 
592
 
 
593
 
    * Fix a regression in knit => pack fetching.  We had a logic
594
 
      inversion, causing the fetch to insert fulltexts in random order,
595
 
      rather than preserving deltas.  (John Arbash Meinel, #256757)
596
 
 
597
 
 
598
 
bzr 1.6rc3 2008-08-14
599
 
---------------------
600
 
 
601
 
  CHANGES:
602
 
 
603
 
    * Disable reading ``.bzrrules`` as a per-branch rule preferences
604
 
      file. The feature was not quite ready for a full release.
605
 
      (Robert Collins)
606
 
 
607
 
  IMPROVEMENTS:
608
 
 
609
 
    * Update the windows installer to bundle TortoiseBzr and ``qbzr``
610
 
      into the standalone installer. This will be the first official
611
 
      windows release that installs Tortoise by default.
612
 
      (Mark Hammond)
613
 
 
614
 
  BUG FIXES: 
615
 
 
616
 
    * Fix a regression in ``bzr+http`` support. There was a missing
617
 
      function (``_read_line``) that needed to be carried over from
618
 
      ``bzr+ssh`` support. (Andrew Bennetts)
619
 
 
620
 
    * ``GraphIndex`` objects will internally read an entire index if more
621
 
      than 1/20th of their keyspace is requested in a single operation.
622
 
      This largely mitigates a performance regression in ``bzr log FILE``
623
 
      and completely corrects the performance regression in ``bzr log``.
624
 
      The regression was caused by removing an accomodation which had been
625
 
      supporting the index format in use. A newer index format is in
626
 
      development which is substantially faster. (Robert Collins)
627
 
 
628
 
 
629
 
bzr 1.6rc2 2008-08-13
630
 
---------------------
631
 
 
632
 
This release candidate has a few minor bug fixes, and some regression
633
 
fixes for Windows.
634
 
 
635
 
  BUG FIXES:
636
 
 
637
 
    * ``bzr upgrade`` on remote branches accessed via bzr:// and
638
 
      bzr+ssh:// now works.  (Andrew Bennetts)
639
 
 
640
 
    * Change the ``get_format_description()`` strings for
641
 
      ``RepositoryFormatKnitPack5`` et al to be single line messages.
642
 
      (Aaron Bentley)
643
 
 
644
 
    * Fix for a regression on Win32 where we would try to call
645
 
      ``os.listdir()`` on a file and not catch the exception properly.
646
 
      (Windows raises a different exception.) This would manifest in
647
 
      places like ``bzr rm file`` or ``bzr switch``.
648
 
      (Mark Hammond, John Arbash Meinel)
649
 
 
650
 
    * ``Inventory.copy()`` was failing to set the revision property for
651
 
      the root entry. (Jelmer Vernooij)
652
 
 
653
 
    * sftp transport: added missing ``FileExists`` case to
654
 
      ``_translate_io_exception`` (Christophe Troestler, #123475)
655
 
 
656
 
    * The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
657
 
      scripting use. (Robert Collins, #3834)
658
 
 
659
 
    * The default ``annotate`` logic will now always assign the
660
 
      last-modified value of a line to one of the revisions that modified
661
 
      it, rather than a merge revision. This would happen when both sides
662
 
      claimed to have modified the line resulting in the same text. The
663
 
      choice is arbitrary but stable, so merges in different directions
664
 
      will get the same results.  (John Arbash Meinel, #232188)
665
 
 
666
 
 
667
 
bzr 1.6rc1 2008-08-06
668
 
---------------------
669
 
 
670
 
This release candidate for bzr 1.6 solidifies the new branch stacking
671
 
feature.  Bazaar now recommends that users upgrade all knit repositories,
672
 
because later formats are much faster.  However, we plan to continue read/write and
673
 
upgrade support for knit repostories for the forseeable future.  Several
674
 
other bugs and performance issues were fixed.
675
 
 
676
 
  CHANGES:
677
 
 
678
 
    * Knit format repositories are deprecated and bzr will now emit
679
 
      warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
680
 
      knit repositories to pack format.  (Andrew Bennetts)
681
 
 
682
 
  IMPROVEMENTS:
683
 
 
684
 
    * ``bzr check`` can now be told which elements at a location it should
685
 
      check.  (Daniel Watkins)
686
 
 
687
 
    * Commit now supports ``--exclude`` (or ``-x``) to exclude some files
688
 
      from the commit. (Robert Collins, #3117)
689
 
 
690
 
    * Fetching data between repositories that have the same model but no 
691
 
      optimised fetcher will not reserialise all the revisions, increasing
692
 
      performance. (Robert Collins, John Arbash Meinel)
693
 
 
694
 
    * Give a more specific error when target branch is not reachable.
695
 
      (James Westby)
696
 
 
697
 
    * Implemented a custom ``walkdirs_utf8`` implementation for win32.
698
 
      This uses a pyrex extension to get direct access to the
699
 
      ``FindFirstFileW`` style apis, rather than using ``listdir`` +
700
 
      ``lstat``. Shows a very strong improvement in commands like
701
 
      ``status`` and ``diff`` which have to iterate the working tree.
702
 
      Anywhere from 2x-6x faster depending on the size of the tree (bigger
703
 
      trees, bigger benefit.) (John Arbash Meinel)
704
 
 
705
 
    * New registry for log properties handles  and the method in 
706
 
      LongLogFormatter to display the custom properties returned by the 
707
 
      registered handlers. (Guillermo Gonzalez, #162469)
708
 
 
709
 
  BUG FIXES:
710
 
 
711
 
    * Add more tests that stacking does not create deltas spanning
712
 
      physical repository boundaries.
713
 
      (Martin Pool, #252428)
714
 
 
715
 
    * Better message about incompatible repositories.
716
 
      (Martin Pool, #206258)
717
 
 
718
 
    * ``bzr branch --stacked`` ensures the destination branch format can
719
 
      support stacking, even if the origin does not.
720
 
      (Martin Pool)
721
 
 
722
 
    * ``bzr export`` no longer exports ``.bzrrules``.
723
 
      (Ian Clatworthy)
724
 
 
725
 
    * ``bzr serve --directory=/`` now correctly allows the whole
726
 
      filesystem to be accessed on Windows, not just the root of the drive
727
 
      that Python is running from.
728
 
      (Adrian Wilkins, #240910)
729
 
 
730
 
    * Deleting directories by hand before running ``bzr rm`` will not
731
 
      cause subsequent errors in ``bzr st`` and ``bzr commit``.
732
 
      (Robert Collins, #150438)
733
 
 
734
 
    * Fix a test case that was failing if encoding wasn't UTF-8.
735
 
      (John Arbash Meinel, #247585)
736
 
 
737
 
    * Fix "no buffer space available" error when branching with the new
738
 
      smart server protocol to or from Windows.
739
 
      (Andrew Bennetts, #246180)
740
 
 
741
 
    * Fixed problem in branching from smart server.
742
 
      (#249256, Michael Hudson, Martin Pool) 
743
 
 
744
 
    * Handle a file turning in to a directory in TreeTransform.
745
 
      (James Westby, #248448)
746
 
 
747
 
  API CHANGES:
748
 
 
749
 
    * ``MutableTree.commit`` has an extra optional keywork parameter
750
 
      ``exclude`` that will be unconditionally supplied by the command
751
 
      line UI - plugins that add tree formats may need an update.
752
 
      (Robert Collins)
753
 
 
754
 
    * The API minimum version for plugin compatibility has been raised to
755
 
      1.6 - there are significant changes throughout the code base.
756
 
      (Robert Collins)
757
 
 
758
 
    * The generic fetch code now uses three attributes on Repository objects
759
 
      to control fetch. The streams requested are controlled via :
760
 
      ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
761
 
      appropriately allows different repository implementations to recieve
762
 
      data in their optimial form. If the ``_fetch_reconcile`` is set then
763
 
      a reconcile operation is triggered at the end of the fetch.
764
 
      (Robert Collins)
765
 
 
766
 
    * The ``put_on_disk`` and ``get_tar_item`` methods in
767
 
      ``InventoryEntry`` were deprecated. (Ian Clatworthy)
768
 
 
769
 
    * ``Repository.is_shared`` doesn't take a read lock. It didn't
770
 
      need one in the first place (nobody cached the value, and
771
 
      ``RemoteRepository`` wasn't taking one either). This saves a round
772
 
      trip when probing Pack repositories, as they read the ``pack-names``
773
 
      file when locked. And during probe, locking the repo isn't very
774
 
      useful. (John Arbash Meinel)
775
 
 
776
 
  INTERNALS:
777
 
 
778
 
    * ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
779
 
      putting together a real history without having to create a full
780
 
      WorkingTree. It is recommended that tests that are not directly
781
 
      testing the WorkingTree use BranchBuilder instead.  See
782
 
      ``BranchBuilder.build_snapshot`` or
783
 
      ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
784
 
 
785
 
    * ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
786
 
      helper ``safe_relpath_files`` - used by the new ``exclude``
787
 
      parameter to commit. (Robert Collins)
788
 
 
789
 
    * Make it easier to introduce new WorkingTree formats.
790
 
      (Ian Clatworthy)
791
 
 
792
 
    * The code for exporting trees was refactored not to use the
793
 
      deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
794
 
 
795
 
    * RuleSearchers return () instead of [] now when there are no matches.
796
 
      (Ian Clatworthy)
797
 
 
798
 
 
799
 
bzr 1.6beta3 2008-07-17
800
 
-----------------------
801
 
 
802
 
This release adds a new 'stacked branches' feature allowing branches to
803
 
share storage without being in the same repository or on the same machine.
804
 
(See the user guide for more details.)  It also adds a new hook, improved
805
 
weaves, aliases for related locations, faster bzr+ssh push, and several
806
 
bug fixes.
807
 
 
808
 
  FEATURES:
809
 
 
810
 
    * New ``pre_change_branch_tip`` hook that is called before the
811
 
      branch tip is moved, while the branch is write-locked.  See the User
812
 
      Reference for signature details.  (Andrew Bennetts)
813
 
 
814
 
    * Rule-based preferences can now be defined for selected files in
815
 
      selected branches, allowing commands and plugins to provide
816
 
      custom behaviour for files matching defined patterns.
817
 
      See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
818
 
      in the User Guide and ``bzr help rules`` for more information.
819
 
      (Ian Clatworthy)
820
 
 
821
 
    * Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
822
 
 
823
 
    * Stacked branches are now supported. See ``bzr help branch`` and 
824
 
      ``bzr help push``.  Branches must be in the ``development1`` format
825
 
      to stack, though the stacked-on branch can be of any format. 
826
 
      (Robert Collins)
827
 
 
828
 
  IMPROVEMENTS:
829
 
 
830
 
    * ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball 
831
 
      to stdout; also ``tar`` and ``tbz2``.
832
 
      (Martin Pool)
833
 
 
834
 
    * ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
835
 
      rather than the annotation-based merge it was using. It does so by
836
 
      building up a Weave of the important texts, without needing to build
837
 
      the full ancestry. (John Arbash Meinel, #238895)
838
 
 
839
 
    * ``bzr send`` documents and better supports ``emacsclient`` (proper
840
 
      escaping of mail headers and handling of the MUA Mew).
841
 
      (Christophe Troestler)
842
 
 
843
 
    * Remembered locations can be specified by aliases, e.g. :parent, :public,
844
 
      :submit.  (Aaron Bentley)
845
 
 
846
 
    * The smart protocol now has improved support for setting branches'
847
 
      revision info directly.  This makes operations like push
848
 
      faster.  The new request method name is
849
 
      ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
850
 
 
851
 
  BUG FIXES:
852
 
 
853
 
    * Bazaar is now able to be a client to the web server of IIS 6 and 7.
854
 
      The broken implementations of RFC822 in Python and RFC2046 in IIS
855
 
      combined with boundary-line checking in Bazaar previously made this
856
 
      impossible. (NB, IIS 5 does not suffer from this problem).
857
 
      (Adrian Wilkins, #247585)
858
 
 
859
 
    * ``bzr log --long`` with a ghost in your mainline now handles that
860
 
      ghost properly. (John Arbash Meinel, #243536)
861
 
 
862
 
    * ``check`` handles the split-up .bzr layout correctly, so no longer
863
 
      requires a branch to be present.
864
 
      (Daniel Watkins, #64783)
865
 
 
866
 
    * Clearer message about how to set the PYTHONPATH if bzrlib can't be
867
 
      loaded. 
868
 
      (Martin Pool, #205230)
869
 
 
870
 
    * Errors about missing libraries are now shown without a traceback,
871
 
      and with a suggestion to install the library.  The full traceback is 
872
 
      still in ``.bzr.log`` and can be shown with ``-Derror``.
873
 
      (Martin Pool, #240161)
874
 
 
875
 
    * Fetch from a stacked branch copies all required data.
876
 
      (Aaron Bentley, #248506)
877
 
 
878
 
    * Handle urls such as ftp://user@host.com@www.host.com where the user
879
 
      name contains an @.
880
 
      (Neil Martinsen-Burrell, #228058)
881
 
 
882
 
    * ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
883
 
      ``unlock`` if there was an error in the original function. This helps
884
 
      most when there is a failure with a smart server action, since often the
885
 
      connection closes and we cannot unlock.
886
 
      (Andrew Bennetts, John Arbash Meinel, #125784)
887
 
 
888
 
    * Obsolete hidden command ``bzr fetch`` removed.
889
 
      (Martin Pool, #172870)
890
 
 
891
 
    * Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
892
 
      (John Arbash Meinel, #239933)
893
 
 
894
 
    * You can now compare file revisions in Windows diff programs from 
895
 
      Cygwin Bazaar.
896
 
      (Matt McClure, #209281)
897
 
 
898
 
    * revision_history now tolerates mainline ghosts for Branch format 6.
899
 
      (Aaron Bentley, #235055)
900
 
 
901
 
    * Set locale from environment for third party libs.
902
 
      (Martin von Gagern, #128496)
903
 
 
904
 
  DOCUMENTATION:
905
 
 
906
 
    * Added *Using stacked branches* to the User Guide.
907
 
      (Ian Clatworthy)
908
 
 
909
 
    * Updated developer documentation.
910
 
      (Martin Pool)
911
 
 
912
 
  TESTING:
913
 
 
914
 
   * ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
915
 
     exits, allowing low-key analysis of peak memory use. (Robert Collins)
916
 
 
917
 
   * ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
918
 
     a tree with a ``branch`` attribute of the right format.  This was
919
 
     preventing some ``RemoteBranch`` tests from actually running with
920
 
     ``RemoteBranch`` instances.  (Andrew Bennetts)
921
 
 
922
 
  API CHANGES:
923
 
 
924
 
    * Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
925
 
      there are new attributes ``texts, inventories, revisions,
926
 
      signatures``, each of which is a ``VersionedFiles``.  See the
927
 
      Repository docstring for more details.
928
 
      (Robert Collins)
929
 
 
930
 
    * ``Branch.pull`` now accepts an ``_override_hook_target`` optional
931
 
      parameter.  If you have a subclass of ``Branch`` that overrides
932
 
      ``pull`` then you should add this parameter.  (Andrew Bennetts)
933
 
 
934
 
    * ``bzrlib.check.check()`` has been deprecated in favour of the more
935
 
      aptly-named ``bzrlib.check.check_branch()``.
936
 
      (Daniel Watkins)
937
 
 
938
 
    * ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
939
 
      These methods are bad APIs because they write directly to sys.stdout.
940
 
      bzrlib does not use them internally, and there are no direct tests
941
 
      for them. (Alexander Belchenko)
942
 
 
943
 
  INTERNALS:
944
 
 
945
 
    * ``cat`` command no longer uses ``Tree.print_file()`` internally.
946
 
      (Alexander Belchenko)
947
 
 
948
 
    * New class method ``BzrDir.open_containing_tree_branch_or_repository``
949
 
      which eases the discovery of the tree, the branch and the repository
950
 
      containing a given location.
951
 
      (Daniel Watkins)
952
 
 
953
 
    * New ``versionedfile.KeyMapper`` interface to abstract out the access to
954
 
      underlying .knit/.kndx etc files in repositories with partitioned
955
 
      storage. (Robert Collins)
956
 
 
957
 
    * Obsolete developer-use command ``weave-join`` has been removed.
958
 
      (Robert Collins)
959
 
 
960
 
    * ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
961
 
      to support new ``VersionedFiles`` layering.
962
 
      (Robert Collins)
963
 
 
964
 
 
965
 
bzr 1.6beta2 2008-06-10
966
 
-----------------------
967
 
 
968
 
This release contains further progress towards our 1.6 goals of shallow
969
 
repositories, and contains a fix for some user-affecting bugs in the
970
 
repository layer.  Building working trees during checkout and branch is
971
 
now faster.
972
 
 
973
 
  BUG FIXES:
974
 
 
975
 
    * Avoid KnitCorrupt error extracting inventories from some repositories.
976
 
      (The data is not corrupt; an internal check is detecting a problem
977
 
      reading from the repository.)
978
 
      (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
979
 
 
980
 
    * ``bzr status`` was breaking if you merged the same revision twice.
981
 
      (John Arbash Meinel, #235407)
982
 
 
983
 
    * Fix infinite loop consuming 100% CPU when a connection is lost while
984
 
      reading a response body via the smart protocol v1 or v2.
985
 
      (Andrew Bennetts)
986
 
      
987
 
    * Inserting a bundle which changes the contents of a file with no trailing
988
 
      end of line, causing a knit snapshot in a 'knits' repository will no longer
989
 
      cause KnitCorrupt. (Robert Collins)
990
 
 
991
 
    * ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
992
 
      pull result. It was instead just returning None, which breaks ``bzr
993
 
      pull``. (John Arbash Meinel, #238149)
994
 
 
995
 
    * Sanitize branch nick before using it as an attachment filename in
996
 
      ``bzr send``. (Lukáš Lalinský, #210218)
997
 
 
998
 
    * Squash ``inv_entry.symlink_target`` to a plain string when
999
 
      generating DirState details. This prevents from getting a
1000
 
      ``UnicodeError`` when you have symlinks and non-ascii filenames.
1001
 
      (John Arbash Meinel, #135320)
1002
 
 
1003
 
  IMPROVEMENTS:
1004
 
 
1005
 
    * Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
1006
 
 
1007
 
    * ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
1008
 
      now quote paths where required). Added ``--null`` option to ``added`` and 
1009
 
      ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
1010
 
      (Adrian Wilkins)
1011
 
 
1012
 
    * Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
1013
 
      (Ian Clatworthy, Aaron Bentley)
1014
 
 
1015
 
  DOCUMENTATION:
1016
 
 
1017
 
    * Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
1018
 
 
1019
 
  TESTING:
1020
 
 
1021
 
    * Fix the test HTTPServer to be isolated from chdir calls made while it is
1022
 
      running, allowing it to be used in blackbox tests. (Robert Collins)
1023
 
 
1024
 
  API CHANGES:
1025
 
 
1026
 
    * ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
1027
 
      which are in the ancestry of other revisions. So if you merge the same
1028
 
      tree twice, or merge an ancestor of an existing merge, it will only
1029
 
      record the newest. (If you merge a descendent, it will replace its
1030
 
      ancestor). (John Arbash Meinel, #235407)
1031
 
 
1032
 
    * ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
1033
 
      through the derived classes do not.  (Aaron Bentley)
1034
 
 
1035
 
  INTERNALS:
1036
 
 
1037
 
    * ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
1038
 
      creating stacked branches. (Robert Collins)
1039
 
 
1040
 
    * Knit record serialisation is now stricter on what it will accept, to
1041
 
      guard against potential internal bugs, or broken input. (Robert Collins)
1042
 
 
1043
 
 
1044
 
bzr 1.6beta1 2008-06-02
1045
 
-----------------------
1046
 
 
1047
 
 
1048
 
Commands that work on the revision history such as push, pull, missing,
1049
 
uncommit and log are now substantially faster.  This release adds a
1050
 
translation of some of the user documentation into Spanish.  (Contributions of
1051
 
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
1052
 
protocol which is used by default and which allows for more efficient transfers
1053
 
and future extensions.
1054
 
 
1055
 
 
1056
 
  NOTES WHEN UPGRADING:
1057
 
 
1058
 
    * There is a new version of the network protocol used for bzr://, bzr+ssh://
1059
 
      and bzr+http:// connections.  This will allow more efficient requests and
1060
 
      responses, and more graceful fallback when a server is too old to
1061
 
      recognise a request from a more recent client.  Bazaar 1.6 will
1062
 
      interoperate with 0.16 and later versions, but servers should be upgraded
1063
 
      when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
1064
 
      these protocols.  Use alternatives like SFTP or upgrade those servers.
1065
 
      (Andrew Bennetts, #83935)
1066
 
 
1067
 
  CHANGES:
1068
 
 
1069
 
    * Deprecation warnings will not be suppressed when running ``bzr selftest``
1070
 
      so that developers can see if their code is using deprecated functions.
1071
 
      (John Arbash Meinel)
1072
 
 
1073
 
  FEATURES:
1074
 
 
1075
 
    * Adding ``-Derror`` will now display a traceback when a plugin fails to
1076
 
      load. (James Westby)
1077
 
 
1078
 
  IMPROVEMENTS:
1079
 
 
1080
 
    * ``bzr branch/push/pull -r XXX`` now have a helper function for finding
1081
 
      the revno of the new revision (``Graph.find_distance_to_null``). This
1082
 
      should make something like ``bzr branch -r -100`` in a shared, no-trees
1083
 
      repository much snappier. (John Arbash Meinel)
1084
 
 
1085
 
    * ``bzr log --short -r X..Y`` no longer needs to access the full revision
1086
 
      history. This makes it noticeably faster when logging the last few
1087
 
      revisions. (John Arbash Meinel)
1088
 
 
1089
 
    * ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``. 
1090
 
      (Jerad Cramp, #165086)
1091
 
 
1092
 
    * ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
1093
 
      ``Graph.find_differences`` to determine missing revisions without having
1094
 
      to search the whole ancestry. (John Arbash Meinel, #174625)
1095
 
 
1096
 
    * ``bzr uncommit`` now uses partial history access, rather than always
1097
 
      extracting the full revision history for a branch. This makes it
1098
 
      resolve the appropriate revisions much faster (in testing it drops
1099
 
      uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
1100
 
      step closer to not using full revision history.
1101
 
      (John Arbash Meinel, #172649)
1102
 
 
1103
 
  BUGFIXES:
1104
 
 
1105
 
    * ``bzr merge --lca`` should handle when two revisions have no common
1106
 
      ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
1107
 
 
1108
 
    * ``bzr status`` was breaking if you merged the same revision twice.
1109
 
      (John Arbash Meinel, #235407)
1110
 
 
1111
 
    * ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
1112
 
      fails.  (Andrew Bennetts, #234229)
1113
 
      
1114
 
    * Correctly track the base URL of a smart medium when using bzr+http://
1115
 
      URLs, which was causing spurious "No repository present" errors with
1116
 
      branches in shared repositories accessed over bzr+http.
1117
 
      (Andrew Bennetts, #230550)
1118
 
 
1119
 
    * Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
1120
 
      implementations have the attribute.  Fixes 'PyCurlTransport' object has no
1121
 
      attribute '_remote_is_at_least_1_2' attribute errors.
1122
 
      (Andrew Bennetts, #220806)
1123
 
 
1124
 
    * Failure to delete an obsolete pack file should just give a warning
1125
 
      message, not a fatal error.  It may for example fail if the file is still
1126
 
      in use by another process.
1127
 
      (Martin Pool)
1128
 
      
1129
 
    * Fix MemoryError during large fetches over HTTP by limiting the amount of
1130
 
      data we try to read per ``recv`` call.  The problem was observed with
1131
 
      Windows and a proxy, but might affect other environments as well.
1132
 
      (Eric Holmberg, #215426)
1133
 
 
1134
 
    * Handle old merge directives correctly in Merger.from_mergeable.  Stricter
1135
 
      get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
1136
 
 
1137
 
    * Issue a warning and ignore passwords declared in authentication.conf when
1138
 
      used for an ssh scheme (sftp or bzr+ssh).
1139
 
      (Vincent Ladeuil, #203186)
1140
 
 
1141
 
    * Make both http implementations raise appropriate exceptions on 403
1142
 
      Forbidden when POSTing smart requests.
1143
 
      (Vincent Ladeuil, #230223)
1144
 
 
1145
 
    * Properly *title* header names in http requests instead of capitalizing
1146
 
      them.
1147
 
      (Vincent Ladeuil, #229076)
1148
 
 
1149
 
    * The "Unable to obtain lock" error message now also suggests using
1150
 
      ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
1151
 
 
1152
 
    * Treat an encoding of '' as ascii; this can happen when bzr is run
1153
 
      under vim on Mac OS X.
1154
 
      (Neil Martinsen-Burrell)
1155
 
 
1156
 
    * ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
1157
 
      scope. (Daniel Fischer #235687)
1158
 
 
1159
 
  DOCUMENTATION:
1160
 
 
1161
 
    * Added directory structure and started translation of docs in spanish.
1162
 
      (Martin Albisetti, Lucio Albenga)
1163
 
 
1164
 
    * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
1165
 
      on the plugin and integration chapters of the User Guide.
1166
 
      (Ian Clatworthy)
1167
 
 
1168
 
    * More Bazaar developer documentation about packaging and release process,
1169
 
      and about use of Python reprs.
1170
 
      (Martin Pool, Martin Albisetti)
1171
 
 
1172
 
    * Updated Tortise strategy document. (Mark Hammond)
1173
 
 
1174
 
  TESTING:
1175
 
 
1176
 
    * ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
1177
 
      (Robert Collins)
1178
 
 
1179
 
    * Fix the test HTTPServer to be isolated from chdir calls made while it is
1180
 
      running, allowing it to be used in blackbox tests. (Robert Collins)
1181
 
 
1182
 
    * New helper function for splitting test suites
1183
 
      ``split_suite_by_condition``. (Robert Collins)
1184
 
 
1185
 
  INTERNALS:
1186
 
 
1187
 
    * ``Branch.missing_revisions`` has been deprecated. Similar functionality
1188
 
      can be obtained using ``bzrlib.missing.find_unmerged``. The api was
1189
 
      fairly broken, and the function was unused, so we are getting rid of it.
1190
 
      (John Arbash Meinel)
1191
 
 
1192
 
  API CHANGES:
1193
 
 
1194
 
    * ``Branch.abspath`` is deprecated; use the Tree or Transport 
1195
 
      instead.  (Martin Pool)
1196
 
 
1197
 
    * ``Branch.update_revisions`` now takes an optional ``Graph``
1198
 
      object. This can be used by ``update_revisions`` when it is
1199
 
      checking ancestry, and allows callers to prefer request to go to a
1200
 
      local branch.  (John Arbash Meinel)
1201
 
 
1202
 
    * Branch, Repository, Tree and BzrDir should expose a Transport as an
1203
 
      attribute if they have one, rather than having it indirectly accessible
1204
 
      as ``.control_files._transport``.  This doesn't add a requirement
1205
 
      to support a Transport in cases where it was not needed before;
1206
 
      it just simplifies the way it is reached.  (Martin Pool)
1207
 
 
1208
 
    * ``bzr missing --mine-only`` will return status code 0 if you have no
1209
 
      new revisions, but the remote does. Similarly for ``--theirs-only``.
1210
 
      The new code only checks one side, so it doesn't know if the other
1211
 
      side has changes. This seems more accurate with the request anyway.
1212
 
      It also changes the output to print '[This|Other] branch is up to
1213
 
      date.' rather than displaying nothing.  (John Arbash Meinel)
1214
 
 
1215
 
    * ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
1216
 
      are now deprecated in favor of using Transport operations.
1217
 
      (Martin Pool)
1218
 
 
1219
 
    * Many methods on ``VersionedFile``, ``Repository`` and in
1220
 
      ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
1221
 
      (Robert Collins)
1222
 
 
1223
 
    * ``RevisionSpec.wants_revision_history`` can be set to False for a given
1224
 
      ``RevisionSpec``. This will disable the existing behavior of passing in
1225
 
      the full revision history to ``self._match_on``. Useful for specs that
1226
 
      don't actually need access to the full history. (John Arbash Meinel)
1227
 
 
1228
 
    * The constructors of ``SmartClientMedium`` and its subclasses now require a
1229
 
      ``base`` parameter.  ``SmartClientMedium`` implementations now also need
1230
 
      to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
1231
 
      
1232
 
    * The default permissions for creating new files and directories 
1233
 
      should now be obtained from ``BzrDir._get_file_mode()`` and 
1234
 
      ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
1235
 
      and ``_set_dir_mode`` variables on LockableFiles which were advertised
1236
 
      as a way for plugins to control this are no longer consulted.
1237
 
      (Martin Pool)
1238
 
 
1239
 
    * ``VersionedFile.join`` is deprecated. This method required local
1240
 
      instances of both versioned file objects and was thus hostile to being
1241
 
      used for streaming from a smart server. The new get_record_stream and
1242
 
      insert_record_stream are meant to efficiently replace this method.
1243
 
      (Robert Collins)
1244
 
 
1245
 
    * ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
1246
 
      which are in the ancestry of other revisions. So if you merge the same
1247
 
      tree twice, or merge an ancestor of an existing merge, it will only
1248
 
      record the newest. (If you merge a descendent, it will replace its
1249
 
      ancestor). (John Arbash Meinel, #235407)
1250
 
 
1251
 
    * ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
1252
 
      (Martin Pool) 
1253
 
 
1254
 
 
1255
 
bzr 1.5 2008-05-16
1256
 
------------------
1257
 
 
1258
 
This release of Bazaar includes several updates to the documentation, and fixes
1259
 
to prepare for making rich root support the default format. Many bugs have been
1260
 
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
1261
 
 
1262
 
  CHANGES:
1263
 
 
1264
 
    * Suppress deprecation warnings when bzrlib is a 'final' release. This way
1265
 
      users of packaged software won't be bothered with DeprecationWarnings,
1266
 
      but developers and testers will still see them. (John Arbash Meinel)
1267
 
 
1268
 
  DOCUMENTATION:
1269
 
 
1270
 
    * Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
1271
 
      on the plugin and integration chapters of the User Guide.
1272
 
      (Ian Clatworthy)
1273
 
 
1274
 
 
1275
 
bzr 1.5rc1 2008-05-09
1276
 
---------------------
1277
 
 
1278
 
  NOTES WHEN UPGRADING:
1279
 
 
1280
 
  CHANGES:
1281
 
 
1282
 
    * Broader support of GNU Emacs mail clients. Set
1283
 
      ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
1284
 
      bundle in a mail buffer according to the value of ``mail-user-agent``
1285
 
      variable. (Xavier Maillard)
1286
 
 
1287
 
  FEATURES:
1288
 
 
1289
 
  IMPROVEMENTS:
1290
 
 
1291
 
    * Diff now handles revision specs like "branch:" and "submit:" more
1292
 
      efficiently.  (Aaron Bentley, #202928)
1293
 
 
1294
 
    * More friendly error given when attempt to start the smart server
1295
 
      on an address already in use. (Andrea Corbellini, #200575)
1296
 
 
1297
 
    * Pull completes much faster when there is nothing to pull.
1298
 
      (Aaron Bentley)
1299
 
 
1300
 
  BUGFIXES:
1301
 
 
1302
 
    * Authentication.conf can define sections without password.
1303
 
      (Vincent Ladeuil, #199440)
1304
 
 
1305
 
    * Avoid muttering every time a child update does not cause a progress bar
1306
 
      update. (John Arbash Meinel, #213771)
1307
 
 
1308
 
    * ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
1309
 
      to fix when a Branch has a non-canonical mainline history. ``bzr check``
1310
 
      also detects this condition. (John Arbash Meinel, #177855)
1311
 
 
1312
 
    * ``bzr log -r ..X bzr://`` was failing, because it was getting a request
1313
 
      for ``revision_id=None`` which was not a string.
1314
 
      (John Arbash Meinel, #211661)
1315
 
 
1316
 
    * ``bzr commit`` now works with Microsoft's FTP service.
1317
 
      (Andreas Deininger)
1318
 
 
1319
 
    * Catch definitions outside sections in authentication.conf.
1320
 
      (Vincent Ladeuil, #217650)
1321
 
 
1322
 
    * Conversion from non-rich-root to rich-root(-pack) updates inventory
1323
 
      sha1s, even when bundles are used.  (Aaron Bentley, #181391)
1324
 
 
1325
 
    * Conversion from non-rich-root to rich-root(-pack) works correctly even
1326
 
      though search keys are not topologically sorted.  (Aaron Bentley)
1327
 
 
1328
 
    * Conversion from non-rich-root to rich-root(-pack) works even when a
1329
 
      parent revision has a different root id.  (Aaron Bentley, #177874)
1330
 
 
1331
 
    * Disable strace testing until strace is fixed (see bug #103133) and emit a
1332
 
      warning when selftest ends to remind us of leaking tests.
1333
 
      (Vincent Ladeuil, #226769)
1334
 
 
1335
 
    * Fetching all revisions from a repository does not cause pack collisions.
1336
 
      (Robert Collins, Aaron Bentley, #212908)
1337
 
 
1338
 
    * Fix error about "attempt to add line-delta in non-delta knit".
1339
 
      (Andrew Bennetts, #217701)
1340
 
 
1341
 
    * Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
1342
 
      if the remote server was < version 1.2. This was due to a bug in the
1343
 
      RemoteRepository.get_parent_map() fallback code.
1344
 
      (John Arbash Meinel, #214894)
1345
 
 
1346
 
    * Remove leftover code in ``bzr_branch`` that inappropriately creates 
1347
 
      a ``branch-name`` file in the branch control directory.
1348
 
      (Martin Pool)
1349
 
 
1350
 
    * Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
1351
 
      rebinding the socket when starting the server a second time.
1352
 
      (John Arbash Meinel, Martin Pool, #164288)
1353
 
 
1354
 
    * Severe performance degradation in fetching from knit repositories to
1355
 
      knits and packs due to parsing the entire revisions.kndx on every graph
1356
 
      walk iteration fixed by using the Repository.get_graph API.  There was
1357
 
      another regression in knit => knit fetching which re-read the index for
1358
 
      every revision each side had in common.
1359
 
      (Robert Collins, John Arbash Meinel)
1360
 
 
1361
 
    * When logging the changes to a particular file, there was a bug if there
1362
 
      were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
1363
 
 
1364
 
    * xs4all's ftp server returns a temporary error when trying to list an
1365
 
      empty directory, rather than returning an empty list. Adding a
1366
 
      workaround so that we don't get spurious failures.
1367
 
      (John Arbash Meinel, #215522)
1368
 
 
1369
 
  DOCUMENTATION:
1370
 
 
1371
 
    * Expanded the User Guide to include new chapters on popular plugins and
1372
 
      integrating Bazaar into your environment. The *Best practices* chapter
1373
 
      was renamed to *Miscellaneous topics* as suggested by community
1374
 
      feedback as well. (Ian Clatworthy)
1375
 
 
1376
 
    * Document outlining strategies for TortoiseBzr. (Mark Hammond)
1377
 
 
1378
 
    * Improved the documentation on hooks. (Ian Clatworthy)
1379
 
 
1380
 
    * Update authentication docs regarding ssh agents.
1381
 
      (Vincent Ladeuil, #183705)
1382
 
 
1383
 
  TESTING:
1384
 
 
1385
 
    * Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
1386
 
      make it easy to identify which test spawned a thread with an unhandled
1387
 
      exception. (Andrew Bennetts)
1388
 
 
1389
 
    * New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
1390
 
      options for debugging tests, these are complementary to the the -D
1391
 
      options.  The ``-Dselftest_debug`` global option has been replaced by the
1392
 
      ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
1393
 
 
1394
 
    * Parameterised test ids are preserved correctly to aid diagnosis of test
1395
 
      failures. (Robert Collins, Andrew Bennetts)
1396
 
 
1397
 
    * selftest now accepts --starting-with <id> to load only the tests whose id
1398
 
      starts with the one specified. This greatly speeds up running the test
1399
 
      suite on a limited set of tests and can be used to run the tests for a
1400
 
      single module, a single class or even a single test.  (Vincent Ladeuil)
1401
 
 
1402
 
    * The test suite modules have been modified to define load_tests() instead
1403
 
      of test_suite(). That speeds up selective loading (via --load-list)
1404
 
      significantly and provides many examples on how to migrate (grep for
1405
 
      load_tests).  (Vincent Ladeuil)
1406
 
 
1407
 
  INTERNALS:
1408
 
 
1409
 
    * ``Hooks.install_hook`` is now deprecated in favour of
1410
 
      ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
1411
 
      avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
1412
 
 
1413
 
    * Implement xml8 serializer.  (Aaron Bentley)
1414
 
 
1415
 
    * New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making 
1416
 
      deprecation wrappers.  (Martin Pool)
1417
 
 
1418
 
    * ``Repository.revision_parents`` is now deprecated in favour of 
1419
 
      ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
1420
 
 
1421
 
    * The Python ``assert`` statement is no longer used in Bazaar source, and 
1422
 
      a test checks this.  (Martin Pool)
1423
 
 
1424
 
  API CHANGES:
1425
 
 
1426
 
    * ``bzrlib.status.show_pending_merges`` requires the repository to be
1427
 
      locked by the caller. Callers should have been doing it anyway, but it
1428
 
      will now raise an exception if they do not. (John Arbash Meinel)
1429
 
 
1430
 
    * Repository.get_data_stream, Repository.get_data_stream_for_search(),
1431
 
      Repository.get_deltas_for_revsions(), Repository.revision_trees(),
1432
 
      Repository.item_keys_introduced_by() no longer take read locks.
1433
 
      (Aaron Bentley)
1434
 
 
1435
 
    * ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
1436
 
      towards removing LockableFiles and ``.control_files`` entirely.
1437
 
      (Martin Pool)
1438
 
 
1439
 
    * Methods deprecated prior to 1.1 have been removed.
1440
 
      (Martin Pool)
1441
 
 
1442
 
 
1443
 
bzr 1.4 2008-04-28
1444
 
------------------
1445
 
 
1446
 
This release of Bazaar includes handy improvements to the speed of log and
1447
 
status, new options for several commands, improved documentation, and better
1448
 
hooks, including initial code for server-side hooks.  A number of bugs have
1449
 
been fixed, particularly in interoperability between different formats or
1450
 
different releases of Bazaar over there network.  There's been substantial
1451
 
internal work in both the repository and network code to enable new features
1452
 
and faster performance.
1453
 
 
1454
 
  BUG FIXES:
1455
 
 
1456
 
    * Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
1457
 
      if the remote server was < version 1.2.  This was due to a bug in the
1458
 
      RemoteRepository.get_parent_map() fallback code.
1459
 
      (John Arbash Meinel, Andrew Bennetts, #214894)
1460
 
 
1461
 
 
1462
 
bzr 1.4rc2 2008-04-21
1463
 
---------------------
1464
 
 
1465
 
  BUG FIXES:
1466
 
 
1467
 
    * ``bzr log -r ..X bzr://`` was failing, because it was getting a request
1468
 
      for ``revision_id=None`` which was not a string.
1469
 
      (John Arbash Meinel, #211661)
1470
 
 
1471
 
    * Fixed a bug in handling ghost revisions when logging changes in a 
1472
 
      particular file.  (John Arbash Meinel, #209948)
1473
 
 
1474
 
    * Fix error about "attempt to add line-delta in non-delta knit".
1475
 
      (Andrew Bennetts, #205156)
1476
 
 
1477
 
    * Fixed performance degradation in fetching from knit repositories to
1478
 
      knits and packs due to parsing the entire revisions.kndx on every graph
1479
 
      walk iteration fixed by using the Repository.get_graph API.  There was
1480
 
      another regression in knit => knit fetching which re-read the index for
1481
 
      every revision each side had in common.
1482
 
      (Robert Collins, John Arbash Meinel)
1483
 
 
1484
 
 
1485
 
bzr 1.4rc1 2008-04-11
1486
 
---------------------
1487
 
 
1488
 
  CHANGES:
1489
 
 
1490
 
   * bzr main script cannot be imported (Benjamin Peterson)
1491
 
 
1492
 
   * On Linux bzr additionally looks for plugins in arch-independent site
1493
 
     directory. (Toshio Kuratomi)
1494
 
 
1495
 
   * The ``set_rh`` branch hook is now deprecated. Please migrate
1496
 
     any plugins using this hook to use an alternative, e.g.
1497
 
     ``post_change_branch_tip``. (Ian Clatworthy)
1498
 
 
1499
 
   * When a plugin cannot be loaded as the file path is not a valid
1500
 
     python module name bzr will now strip a ``bzr_`` prefix from the
1501
 
     front of the suggested name, as many plugins (e.g. bzr-svn)
1502
 
     want to be installed without this prefix. It is a common mistake
1503
 
     to have a folder named "bzr-svn" for that plugin, especially
1504
 
     as this is what bzr branch lp:bzr-svn will give you. (James Westby,
1505
 
     Andrew Cowie)
1506
 
 
1507
 
   * UniqueIntegerBugTracker now appends bug-ids instead of joining
1508
 
     them to the base URL. Plugins that register bug trackers may
1509
 
     need a trailing / added to the base URL if one is not already there.
1510
 
     (James Wesby, Andrew Cowie)
1511
 
 
1512
 
  FEATURES:
1513
 
 
1514
 
    * Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
1515
 
 
1516
 
    * ``status`` now accepts ``--no-pending`` to show the status without
1517
 
      listing pending merges, which speeds up the command a lot on large
1518
 
      histories.  (James Westby, #202830)
1519
 
 
1520
 
    * New ``post_change_branch_tip`` hook that is called after the
1521
 
      branch tip is moved but while the branch is still write-locked.
1522
 
      See the User Reference for signature details.
1523
 
      (Ian Clatworthy, James Henstridge)
1524
 
 
1525
 
    * Reconfigure can convert a branch to be standalone or to use a shared
1526
 
      repository.  (Aaron Bentley)
1527
 
 
1528
 
  IMPROVEMENTS:
1529
 
 
1530
 
    * The smart protocol now has support for setting branches' revision info
1531
 
      directly.  This should make operations like push slightly faster, and is a
1532
 
      step towards server-side hooks.  The new request method name is
1533
 
      ``Branch.set_last_revision_info``.  (Andrew Bennetts)
1534
 
 
1535
 
    * ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
1536
 
      (James Westby, Andrew Cowie)
1537
 
 
1538
 
    * ``bzr switch`` will attempt to find branches to switch to relative to the
1539
 
      current branch. E.g. ``bzr switch branchname`` will look for
1540
 
      ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
1541
 
      Wouter van Heyst)
1542
 
 
1543
 
    * Diff is now more specific about execute-bit changes it describes
1544
 
      (Chad Miller)
1545
 
 
1546
 
    * Fetching data over HTTP is a bit faster when urllib is used.  This is done
1547
 
      by forcing it to recv 64k at a time when reading lines in HTTP headers,
1548
 
      rather than just 1 byte at a time.  (Andrew Bennetts)
1549
 
 
1550
 
    * Log --short and --line are much faster when -r is not specified.
1551
 
      (Aaron Bentley)
1552
 
 
1553
 
    * Merge is faster.  We no longer check a file's existence unnecessarily
1554
 
      when merging the execute bit.  (Aaron Bentley)
1555
 
 
1556
 
    * ``bzr status`` on an explicit list of files no longer shows pending
1557
 
      merges, making it much faster on large trees. (John Arbash Meinel)
1558
 
 
1559
 
    * The launchpad directory service now warns the user if they have not set
1560
 
      their launchpad login and are trying to resolve a URL using it, just
1561
 
      in case they want to do a write operation with it.  (James Westby)
1562
 
 
1563
 
    * The smart protocol client is slightly faster, because it now only queries
1564
 
      the server for the protocol version once per connection.  Also, the HTTP
1565
 
      transport will now automatically probe for and use a smart server if
1566
 
      one is present.  You can use the new ``nosmart+`` transport decorator
1567
 
      to get the old behaviour.  (Andrew Bennetts)
1568
 
 
1569
 
    * The ``version`` command takes a ``--short`` option to print just the
1570
 
      version number, for easier use in scripts.  (Martin Pool)
1571
 
 
1572
 
    * Various operations with revision specs and commands that calculate
1573
 
      revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
1574
 
 
1575
 
  BUGFIXES:
1576
 
 
1577
 
    * Add ``root_client_path`` parameter to SmartWSGIApp and
1578
 
      SmartServerRequest.  This makes it possible to publish filesystem
1579
 
      locations that don't exactly match URL paths. SmartServerRequest
1580
 
      subclasses should use the new ``translate_client_path`` and
1581
 
      ``transport_from_client_path`` methods when dealing with paths received
1582
 
      from a client to take this into account.  (Andrew Bennetts, #124089)
1583
 
 
1584
 
    * ``bzr mv a b`` can be now used also to rename previously renamed
1585
 
      directories, not only files. (Lukáš Lalinský, #107967)
1586
 
 
1587
 
    * ``bzr uncommit --local`` can now remove revisions from the local
1588
 
      branch to be symmetric with ``bzr commit --local``.
1589
 
      (John Arbash Meinel, #93412)
1590
 
 
1591
 
    * Don't ask for a password if there is no real terminal.
1592
 
      (Alexander Belchenko, #69851)
1593
 
 
1594
 
    * Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
1595
 
      fetching revisions from a knit to pack repository or vice versa using
1596
 
      bzr:// (including over http or ssh).
1597
 
      (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
1598
 
 
1599
 
    * Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
1600
 
      fixed ``_get_bytes`` in the same module to use the push back buffer.
1601
 
      These bugs had no known impact in normal use, but were problematic for
1602
 
      developers working on the code, and were likely to cause real bugs sooner
1603
 
      or later.  (Andrew Bennetts)
1604
 
 
1605
 
    * Implement handling of basename parameter for DefaultMail.  (James Westby)
1606
 
 
1607
 
    * Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
1608
 
      (Andrew Bennetts, #213425)
1609
 
 
1610
 
    * Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
1611
 
 
1612
 
    * Merges that add files to deleted root directories complete.  They
1613
 
      do create conflicts.  (Aaron Bentley, #210092)
1614
 
 
1615
 
    * vsftp's return ``550 RNFR command failed.`` supported.
1616
 
      (Marcus Trautwig, #129786)
1617
 
 
1618
 
  DOCUMENTATION:
1619
 
 
1620
 
    * Improved documentation on send/merge relationship. (Peter Schuller)
1621
 
 
1622
 
    * Minor fixes to the User Guide. (Matthew Fuller)
1623
 
 
1624
 
    * Reduced the evangelism in the User Guide. (Ian Clatworthy)
1625
 
 
1626
 
    * Added Integrating with Bazaar document for developers (Martin Albisetti)
1627
 
 
1628
 
  API BREAKS:
1629
 
 
1630
 
    * Attempting to pull data from a ghost aware repository (e.g. knits) into a
1631
 
      non-ghost aware repository such as weaves will now fail if there are
1632
 
      ghosts.  (Robert Collins)
1633
 
 
1634
 
    * ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
1635
 
      now requires the ``index`` and ``access_method`` parameters to be
1636
 
      supplied. A compatible shim has been kept in the new function
1637
 
      ``knit.make_file_knit``. (Robert Collins)
1638
 
 
1639
 
    * Log formatters must now provide log_revision instead of show and
1640
 
      show_merge_revno methods. The latter had been deprecated since the 0.17
1641
 
      release. (James Westby)
1642
 
 
1643
 
    * ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
1644
 
      (Andrew Bennetts)
1645
 
 
1646
 
    * ``osutils.backup_file`` is removed. (Alexander Belchenko)
1647
 
 
1648
 
    * ``Repository.get_revision_graph`` is deprecated, with no replacement
1649
 
      method. The method was size(history) and not desirable. (Robert Collins)
1650
 
 
1651
 
    * ``revision.revision_graph`` is deprecated, with no replacement function.
1652
 
      The function was size(history) and not desirable. (Robert Collins)
1653
 
 
1654
 
    * ``Transport.get_shared_medium`` is deprecated.  Use
1655
 
      ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
1656
 
 
1657
 
    * ``VersionedFile`` factories now accept a get_scope parameter rather
1658
 
      than using a call to ``transaction_finished``, allowing the removal of
1659
 
      the fixed list of versioned files per repository. (Robert Collins)
1660
 
 
1661
 
    * ``VersionedFile.annotate_iter`` is deprecated. While in principle this
1662
 
      allowed lower memory use, all users of annotations wanted full file 
1663
 
      annotations, and there is no storage format suitable for incremental
1664
 
      line-by-line annotation. (Robert Collins)
1665
 
 
1666
 
    * ``VersionedFile.clone_text`` is deprecated. This performance optimisation
1667
 
      is no longer used - reading the content of a file that is undergoing a
1668
 
      file level merge to identical state on two branches is rare enough, and
1669
 
      not expensive enough to special case. (Robert Collins)
1670
 
 
1671
 
    * ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
1672
 
      These methods added significant complexity to the ``VersionedFile``
1673
 
      implementation, but were only used for optimising fetches from knits - 
1674
 
      which can be done from outside the knit layer, or via a caching
1675
 
      decorator. As knits are not the default format, the complexity is no
1676
 
      longer worth paying. (Robert Collins)
1677
 
 
1678
 
    * ``VersionedFile.create_empty`` is removed. This method presupposed a
1679
 
      sensible mapping to a transport for individual files, but pack backed
1680
 
      versioned files have no such mapping. (Robert Collins)
1681
 
 
1682
 
    * ``VersionedFile.get_graph`` is deprecated, with no replacement method.
1683
 
      The method was size(history) and not desirable. (Robert Collins)
1684
 
 
1685
 
    * ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
1686
 
      replacement method.  The method was size(history) and not desirable.
1687
 
      (Robert Collins)
1688
 
 
1689
 
    * ``VersionedFile.get_parents`` is deprecated, please use
1690
 
      ``VersionedFile.get_parent_map``. (Robert Collins)
1691
 
 
1692
 
    * ``VersionedFile.get_sha1`` is deprecated, please use
1693
 
      ``VersionedFile.get_sha1s``. (Robert Collins)
1694
 
 
1695
 
    * ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
1696
 
      and unused outside of a single test. (Robert Collins)
1697
 
 
1698
 
    * ``VersionedFile.iter_parents`` is now deprecated in favour of
1699
 
      ``get_parent_map`` which can be used to instantiate a Graph on a
1700
 
      VersionedFile. (Robert Collins)
1701
 
 
1702
 
    * ``VersionedFileStore`` no longer uses the transaction parameter given
1703
 
      to most methods; amongst other things this means that the
1704
 
      get_weave_or_empty method no longer guarantees errors on a missing weave
1705
 
      in a readonly transaction, and no longer caches versioned file instances
1706
 
      which reduces memory pressure (but requires more careful management by
1707
 
      callers to preserve performance). (Robert Collins)
1708
 
 
1709
 
  TESTING:
1710
 
 
1711
 
    * New -Dselftest_debug flag disables clearing of the debug flags during
1712
 
      tests.  This is useful if you want to use e.g. -Dhpss to help debug a
1713
 
      failing test.  Be aware that using this feature is likely to cause
1714
 
      spurious test failures if used with the full suite. (Andrew Bennetts)
1715
 
 
1716
 
    * selftest --load-list now uses a new more agressive test loader that will
1717
 
      avoid loading unneeded modules and building their tests. Plugins can use
1718
 
      this new loader by defining a load_tests function instead of a test_suite
1719
 
      function. (a forthcoming patch will provide many examples on how to
1720
 
      implement this).
1721
 
      (Vincent Ladeuil)
1722
 
 
1723
 
    * selftest --load-list now does some sanity checks regarding duplicate test
1724
 
      IDs and tests present in the list but not found in the actual test suite.
1725
 
      (Vincent Ladeuil)
1726
 
 
1727
 
    * Slightly more concise format for the selftest progress bar, so there's
1728
 
      more space to show the test name.  (Martin Pool) ::
1729
 
 
1730
 
        [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
1731
 
 
1732
 
    * The test suite takes much less memory to run, and is a bit faster.  This
1733
 
      is done by clearing most attributes of TestCases after running them, if
1734
 
      they succeeded.  (Andrew Bennetts)
1735
 
 
1736
 
  INTERNALS:
1737
 
 
1738
 
    * Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
1739
 
 
1740
 
    * Added basic infrastructure for automatic plugin suggestion.
1741
 
      (Martin Albisetti)
1742
 
 
1743
 
    * If a ``LockableFiles`` object is not explicitly unlocked (for example
1744
 
      because of a missing ``try/finally`` block, it will give a warning but
1745
 
      not automatically unlock itself.  (Previously they did.)  This
1746
 
      sometimes caused knock-on errors if for example the network connection
1747
 
      had already failed, and should not be relied upon by code. 
1748
 
      (Martin Pool, #109520)
1749
 
 
1750
 
    * ``make dist`` target to build a release tarball, and also 
1751
 
      ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
1752
 
 
1753
 
    * The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
1754
 
      classes will now raise ``UnknownSmartMethod`` when appropriate, so that
1755
 
      callers don't need to try distinguish unknown request errors from other
1756
 
      errors.  (Andrew Bennetts)
1757
 
 
1758
 
    * ``set_make_working_trees`` is now implemented provided on all repository
1759
 
      implementations (Aaron Bentley)
1760
 
 
1761
 
    * ``VersionedFile`` now has a new method ``get_parent_map`` which, like
1762
 
      ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
1763
 
 
1764
 
 
1765
 
bzr 1.3.1 2008-04-09
1766
 
--------------------
1767
 
 
1768
 
  No changes from 1.3.1rc1.
1769
 
 
1770
 
 
1771
 
bzr 1.3rc1 2008-04-04
1772
 
---------------------
1773
 
 
1774
 
  BUG FIXES:
1775
 
 
1776
 
    * Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
1777
 
      fetching revisions from a knit to pack repository or vice versa using
1778
 
      bzr:// (including over http or ssh).  
1779
 
      (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
1780
 
 
1781
 
 
1782
 
bzr 1.3 2008-03-20
1783
 
------------------
1784
 
 
1785
 
Bazaar has become part of the GNU project <http://www.gnu.org>
1786
 
 
1787
 
Many operations that act on history, including ``log`` and ``annotate`` are now
1788
 
substantially faster.  Several bugs have been fixed and several new options and
1789
 
features have been added.
1790
 
 
1791
 
  TESTING:
1792
 
 
1793
 
    * Avoid spurious failure of ``TestVersion.test_version`` matching
1794
 
      directory names.
1795
 
      (#202778, Martin Pool)
1796
 
 
1797
 
 
1798
 
bzr 1.3rc1 2008-03-16
1799
 
---------------------
1800
 
 
1801
 
  NOTES WHEN UPGRADING:
1802
 
 
1803
 
    * The backup directory created by ``upgrade`` is now called
1804
 
      ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
1805
 
 
1806
 
  CHANGES:
1807
 
 
1808
 
    * A new repository format 'development' has been added. This format will
1809
 
      represent the latest 'in-progress' format that the bzr developers are
1810
 
      interested in getting early-adopter testing and feedback on.
1811
 
      ``doc/developers/development-repo.txt`` has detailed information.
1812
 
      (Robert Collins)
1813
 
 
1814
 
    * BZR_LOG environment variable controls location of .bzr.log trace file. 
1815
 
      User can suppress writing messages to .bzr.log by using '/dev/null'
1816
 
      filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable 
1817
 
      is not defined but BZR_HOME is defined then default location
1818
 
      for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
1819
 
      (Alexander Belchenko)
1820
 
 
1821
 
    * ``launchpad`` builtin plugin now shipped as separate part in standalone
1822
 
      bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory, 
1823
 
      and standalone installer allows user to skip installation of this plugin.
1824
 
      (Alexander Belchenko)
1825
 
 
1826
 
    * Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
1827
 
 
1828
 
    * Version number is now shown as "1.2" or "1.2pr2", without zeroed or
1829
 
      missing final fields.  (Martin Pool)
1830
 
 
1831
 
  FEATURES:
1832
 
 
1833
 
    * ``branch`` and ``checkout`` can hard-link working tree files, which is
1834
 
      faster and saves space.  (Aaron Bentley)
1835
 
 
1836
 
    * ``bzr send`` will now also look at the ``child_submit_to`` setting in
1837
 
      the submit branch to determine the email address to send to. 
1838
 
      (Jelmer Vernooij)
1839
 
 
1840
 
  IMPROVEMENTS:
1841
 
 
1842
 
    * BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
1843
 
 
1844
 
    * Branch6.generate_revision_history is faster.  (Aaron Bentley)
1845
 
 
1846
 
    * Directory services can now be registered, allowing special URLs to be
1847
 
      dereferenced into real URLs.  This is a generalization and cleanup of
1848
 
      the lp: transport lookup.  (Aaron Bentley)
1849
 
 
1850
 
    * Merge directives that are automatically attached to emails have nicer
1851
 
      filenames, based on branch-nick + revno. (Aaron Bentley)
1852
 
 
1853
 
    * ``push`` has a ``--revision`` option, to specify what revision to push up
1854
 
      to.  (Daniel Watkins)
1855
 
 
1856
 
    * Significantly reducing execution time and network traffic for trivial 
1857
 
      case of running ``bzr missing`` command for two identical branches.
1858
 
      (Alexander Belchenko)
1859
 
 
1860
 
    * Speed up operations that look at the revision graph (such as 'bzr log').
1861
 
      ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
1862
 
      extract the revision history. This allows filtering ghosts while
1863
 
      stepping instead of needing to peek ahead. (John Arbash Meinel)
1864
 
 
1865
 
    * The ``hooks`` command lists installed hooks, to assist in debugging.
1866
 
      (Daniel Watkins)
1867
 
 
1868
 
    * Updates to how ``annotate`` work. Should see a measurable improvement in
1869
 
      performance and memory consumption for file with a lot of merges.
1870
 
      Also, correctly handle when a line is introduced by both parents (it
1871
 
      should be attributed to the first merge which notices this, and not
1872
 
      to all subsequent merges.) (John Arbash Meinel)
1873
 
 
1874
 
  BUGFIXES:
1875
 
 
1876
 
    * Autopacking no longer holds the full set of inventory lines in
1877
 
      memory while copying. For large repositories, this can amount to
1878
 
      hundreds of MB of ram consumption.
1879
 
      (Ian Clatworthy, John Arbash Meinel)
1880
 
 
1881
 
    * Cherrypicking when using ``--format=merge3`` now explictly excludes
1882
 
      BASE lines. (John Arbash Meinel, #151731)
1883
 
 
1884
 
    * Disable plink's interactive prompt for password.
1885
 
      (#107593, Dmitry Vasiliev)
1886
 
 
1887
 
    * Encode command line arguments from unicode to user_encoding before
1888
 
      invoking external mail client in `bzr send` command.
1889
 
      (#139318, Alexander Belchenko)
1890
 
 
1891
 
    * Fixed problem connecting to ``bzr+https://`` servers.
1892
 
      (#198793, John Ferlito)
1893
 
 
1894
 
    * Improved error reporting in the Launchpad plugin. (Daniel Watkins,
1895
 
      #196618)
1896
 
 
1897
 
    * Include quick-start-summary.svg file to python-based installer(s)
1898
 
      for Windows. (#192924, Alexander Belchenko)
1899
 
 
1900
 
    * lca merge now respects specified files. (Aaron Bentley)
1901
 
 
1902
 
    * Make version-info --custom imply --all. (#195560, James Westby)
1903
 
 
1904
 
    * ``merge --preview`` now works for merges that add or modify
1905
 
      symlinks (James Henstridge)
1906
 
 
1907
 
    * Redirecting the output from ``bzr merge`` (when the remembered
1908
 
      location is used) now works. (John Arbash Meinel)
1909
 
 
1910
 
    * setup.py script explicitly checks for Python version.
1911
 
      (Jari Aalto, Alexander Belchenko, #200569)
1912
 
 
1913
 
    * UnknownFormatErrors no longer refer to branches regardless of kind of
1914
 
      unknown format. (Daniel Watkins, #173980)
1915
 
 
1916
 
    * Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
1917
 
      signs, among other small improvements. (Matt Nordhoff, #86838)
1918
 
 
1919
 
    * Use correct indices when emitting LCA conflicts.  This fixes IndexError
1920
 
      errors.  (Aaron Bentley, #196780)
1921
 
 
1922
 
  DOCUMENTATION:
1923
 
 
1924
 
    * Explained how to use ``version-info --custom`` in the User Guide.
1925
 
      (Neil Martinsen-Burrell)
1926
 
 
1927
 
  API BREAKS:
1928
 
 
1929
 
    * Support for loading plugins from zip files and
1930
 
      ``bzrlib.plugin.load_from_zip()`` function are deprecated.
1931
 
      (Alexander Belchenko)
1932
 
 
1933
 
  TESTING:
1934
 
    
1935
 
    * Added missing blackbox tests for ``modified`` (Adrian Wilkins)
1936
 
 
1937
 
    * The branch interface tests were invalid for branches using rich-root
1938
 
      repositories because the empty string is not a valid file-id.
1939
 
      (Robert Collins)
1940
 
 
1941
 
  INTERNALS:
1942
 
 
1943
 
    * ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
1944
 
      ``Repository.get_revision_graph()`` except it includes ghosts and you can
1945
 
      stop part-way through. (John Arbash Meinel)
1946
 
 
1947
 
    * New module ``tools/package_mf.py`` provide custom module finder for
1948
 
      python packages (improves standard python library's modulefinder.py)
1949
 
      used by ``setup.py`` script while building standalone bzr.exe.
1950
 
      (Alexander Belchenko)
1951
 
 
1952
 
    * New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
1953
 
      detecting external lookup support on remote repositories. This method is
1954
 
      now attempted first when lookup up repositories, leading to an extra 
1955
 
      round trip on older bzr smart servers. (Robert Collins)
1956
 
 
1957
 
    * Repository formats have a new supported-feature attribute
1958
 
      ``supports_external_lookups`` used to indicate repositories which support
1959
 
      falling back to other repositories when they have partial data.
1960
 
      (Robert Collins)
1961
 
 
1962
 
    * ``Repository.get_revision_graph_with_ghosts`` and
1963
 
      ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
1964
 
      have been deprecated.  (John Arbash Meinel)
1965
 
 
1966
 
    * ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
1967
 
      ``Tree._iter_changes``. The api is now considered stable and ready for
1968
 
      external users.  (Aaron Bentley)
1969
 
 
1970
 
    * The bzrdir format registry now accepts an ``alias`` keyword to
1971
 
      register_metadir, used to indicate that a format name is an alias for
1972
 
      some other format and thus should not be reported when describing the
1973
 
      format. (Robert Collins)
1974
 
 
1975
 
 
1976
 
bzr 1.2 2008-02-15
1977
 
------------------
1978
 
 
1979
 
  BUG FIXES:
1980
 
 
1981
 
    * Fix failing test in Launchpad plugin. (Martin Pool)
1982
 
 
1983
 
 
1984
 
bzr 1.2rc1 2008-02-13
1985
 
---------------------
1986
 
 
1987
 
  NOTES WHEN UPGRADING:
1988
 
  
1989
 
    * Fetching via the smart protocol may need to reconnect once during a fetch
1990
 
      if the remote server is running Bazaar 1.1 or earlier, because the client
1991
 
      attempts to use more efficient requests that confuse older servers.  You
1992
 
      may be required to re-enter a password or passphrase when this happens.
1993
 
      This won't happen if the server is upgraded to Bazaar 1.2.
1994
 
      (Andrew Bennetts)
1995
 
 
1996
 
  CHANGES:
1997
 
 
1998
 
    * Fetching via bzr+ssh will no longer fill ghosts by default (this is
1999
 
      consistent with pack-0.92 fetching over SFTP). (Robert Collins)
2000
 
 
2001
 
    * Formatting of ``bzr plugins`` output is changed to be more human-
2002
 
      friendly. Full path of plugins locations will be shown only with
2003
 
      ``--verbose`` command-line option. (Alexander Belchenko)
2004
 
 
2005
 
    * ``merge`` now prefers to use the submit branch, but will fall back to
2006
 
      parent branch.  For many users, this has no effect.  But some users who
2007
 
      pull and merge on the same branch will notice a change.  This change
2008
 
      makes it easier to work on a branch on two different machines, pulling
2009
 
      between the machines, while merging from the upstream.
2010
 
      ``merge --remember`` can now be used to set the submit_branch.
2011
 
      (Aaron Bentley)
2012
 
 
2013
 
  FEATURES:
2014
 
 
2015
 
    * ``merge --preview`` produces a diff of the changes merge would make,
2016
 
      but does not actually perform the merge.  (Aaron Bentley)
2017
 
 
2018
 
    * New smart method ``Repository.get_parent_map`` for getting revision
2019
 
      parent data. This returns additional parent information topologically
2020
 
      adjacent to the requested data to reduce round trip latency impacts.
2021
 
      (Robert Collins)
2022
 
 
2023
 
    * New smart method, ``Repository.stream_revisions_chunked``, for fetching
2024
 
      revision data that streams revision data via a chunked encoding.  This
2025
 
      avoids buffering large amounts of revision data on the server and on the
2026
 
      client, and sends less data to the server to request the revisions.
2027
 
      (Andrew Bennetts, Robert Collins, #178353)
2028
 
 
2029
 
    * The launchpad plugin now handles lp urls of the form
2030
 
      ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
2031
 
      launchpad instance to do the resolution of the branch identities.
2032
 
      This is primarily of use to Launchpad developers, but can also
2033
 
      be used by other users who want to try out Launchpad as
2034
 
      a branch location without messing up their public Launchpad
2035
 
      account.  Branches that are pushed to the staging environment
2036
 
      have an expected lifetime of one day. (Tim Penhey)
2037
 
 
2038
 
  IMPROVEMENTS:
2039
 
 
2040
 
    * Creating a new branch no longer tries to read the entire revision-history
2041
 
      unnecessarily over smart server operations. (Robert Collins)
2042
 
 
2043
 
    * Fetching between different repository formats with compatible models now
2044
 
      takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
2045
 
 
2046
 
    * The ``--coverage`` option is now global, rather specific to ``bzr
2047
 
      selftest``.  (Andrew Bennetts)
2048
 
 
2049
 
    * The ``register-branch`` command will now use the public url of the branch
2050
 
      containing the current directory, if one has been set and no explicit
2051
 
      branch is provided.  (Robert Collins)
2052
 
 
2053
 
    * Tweak the ``reannotate`` code path to optimize the 2-parent case.
2054
 
      Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
2055
 
      (John Arbash Meinel)
2056
 
 
2057
 
  BUGFIXES:
2058
 
 
2059
 
    * Calculate remote path relative to the shared medium in _SmartClient.  This
2060
 
      is related to the problem in bug #124089.  (Andrew Bennetts)
2061
 
 
2062
 
    * Cleanly handle connection errors in smart protocol version two, the same
2063
 
      way as they are handled by version one.  (Andrew Bennetts)
2064
 
 
2065
 
    * Clearer error when ``version-info --custom`` is used without
2066
 
      ``--template`` (Lukáš Lalinský)
2067
 
 
2068
 
    * Don't raise UnavailableFeature during test setup when medusa is not
2069
 
      available or tearDown is never called leading to nasty side effects.
2070
 
      (#137823, Vincent Ladeuil)
2071
 
 
2072
 
    * If a plugin's test suite cannot be loaded, for example because of a syntax
2073
 
      error in the tests, then ``selftest`` fails, rather than just printing 
2074
 
      a warning.  (Martin Pool, #189771)
2075
 
      
2076
 
    * List possible values for BZR_SSH environment variable in env-variables
2077
 
      help topic. (Alexander Belchenko, #181842)
2078
 
 
2079
 
    * New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
2080
 
      popping the log redirection now precisely restores the previous state,
2081
 
      which makes it easier to use bzr log output from other programs.
2082
 
      TestCaseInTempDir no longer depends on a log redirection being established
2083
 
      by the test framework, which lets bzr tests cleanly run from a normal
2084
 
      unittest runner.
2085
 
      (#124153, #124849, Martin Pool, Jonathan Lange)
2086
 
 
2087
 
    * ``pull --quiet`` is now more quiet, in particular a message is no longer
2088
 
      printed when the remembered pull location is used. (James Westby,
2089
 
      #185907)
2090
 
 
2091
 
    * ``reconfigure`` can safely be interrupted while fetching.
2092
 
      (Aaron Bentley, #179316)
2093
 
 
2094
 
    * ``reconfigure`` preserves tags when converting to and from lightweight
2095
 
      checkouts.  (Aaron Bentley, #182040)
2096
 
 
2097
 
    * Stop polluting /tmp when running selftest.
2098
 
      (Vincent Ladeuil, #123623)
2099
 
 
2100
 
    * Switch from NFKC => NFC for normalization checks. NFC allows a few
2101
 
      more characters which should be considered valid.
2102
 
      (John Arbash Meinel, #185458)
2103
 
 
2104
 
    * The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
2105
 
      interacting badly with a bug on the launchpad side. (Robert Collins)
2106
 
 
2107
 
    * Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
2108
 
      tracebacks.  (Andrew Bennetts, #182849)
2109
 
 
2110
 
  API BREAKS:
2111
 
 
2112
 
    * Classes implementing Merge types like Merge3Merger must now accept (and
2113
 
      honour) a do_merge flag in their constructor.  (Aaron Bentley)
2114
 
 
2115
 
    * ``Repository.add_inventory`` and ``add_revision`` now require the caller
2116
 
      to previously take a write lock (and start a write group.)
2117
 
      (Martin Pool)
2118
 
 
2119
 
  TESTING:
2120
 
 
2121
 
    * selftest now accepts --load-list <file> to load a test id list. This
2122
 
      speeds up running the test suite on a limited set of tests.
2123
 
      (Vincent Ladeuil)
2124
 
 
2125
 
  INTERNALS:
2126
 
 
2127
 
    * Add a new method ``get_result`` to graph search objects. The resulting
2128
 
      ``SearchResult`` can be used to recreate the search later, which will
2129
 
      be useful in reducing network traffic. (Robert Collins)
2130
 
 
2131
 
    * Use convenience function to check whether two repository handles 
2132
 
      are referring to the same repository in ``Repository.get_graph``. 
2133
 
      (Jelmer Vernooij, #187162)
2134
 
 
2135
 
    * Fetching now passes the find_ghosts flag through to the 
2136
 
      ``InterRepository.missing_revision_ids`` call consistently for all
2137
 
      repository types. This will enable faster missing revision discovery with
2138
 
      bzr+ssh. (Robert Collins)
2139
 
 
2140
 
    * Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
2141
 
 
2142
 
    * ``InterRepository.missing_revision_ids`` is now deprecated in favour of
2143
 
      ``InterRepository.search_missing_revision_ids`` which returns a 
2144
 
      ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
2145
 
      server. (Robert Collins)
2146
 
 
2147
 
    * New error ``NoPublicBranch`` for commands that need a public branch to
2148
 
      operate. (Robert Collins)
2149
 
 
2150
 
    * New method ``iter_inventories`` on Repository for access to many
2151
 
      inventories. This is primarily used by the ``revision_trees`` method, as
2152
 
      direct access to inventories is discouraged. (Robert Collins)
2153
 
 
2154
 
    * New method ``next_with_ghosts`` on the Graph breadth-first-search objects
2155
 
      which will split out ghosts and present parents into two separate sets,
2156
 
      useful for code which needs to be aware of ghosts (e.g. fetching data
2157
 
      cares about ghosts during revision selection). (Robert Collins)
2158
 
 
2159
 
    * Record a timestamp against each mutter to the trace file, relative to the
2160
 
      first import of bzrlib.  (Andrew Bennetts)
2161
 
 
2162
 
    * ``Repository.get_data_stream`` is now deprecated in favour of
2163
 
      ``Repository.get_data_stream_for_search`` which allows less network
2164
 
      traffic when requesting data streams over a smart server. (Robert Collins)
2165
 
 
2166
 
    * ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
2167
 
      removing one round trip on many network operations. (Robert Collins)
2168
 
 
2169
 
    * RemoteTransport's ``recommended_page_size`` method now returns 64k, like
2170
 
      SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
2171
 
 
2172
 
    * Repository has a new method ``has_revisions`` which signals the presence
2173
 
      of many revisions by returning a set of the revisions listed which are
2174
 
      present. This can be done by index queries without reading data for parent
2175
 
      revision names etc. (Robert Collins)
2176
 
 
2177
 
 
2178
 
bzr 1.1 2008-01-15
2179
 
------------------
2180
 
 
2181
 
(no changes from 1.1rc1)
2182
 
 
2183
 
bzr 1.1rc1 2008-01-05
2184
 
---------------------
2185
 
 
2186
 
  CHANGES:
2187
 
   
2188
 
   * Dotted revision numbers have been revised. Instead of growing longer with
2189
 
     nested branches the branch number just increases. (eg instead of 1.1.1.1.1
2190
 
     we now report 1.2.1.) This helps scale long lived branches which have many
2191
 
     feature branches merged between them. (John Arbash Meinel)
2192
 
 
2193
 
   * The syntax ``bzr diff branch1 branch2`` is no longer supported.
2194
 
     Use ``bzr diff branch1 --new branch2`` instead. This change has
2195
 
     been made to remove the ambiguity where ``branch2`` is in fact a
2196
 
     specific file to diff within ``branch1``.
2197
 
 
2198
 
  FEATURES:
2199
 
 
2200
 
   * New option to use custom template-based formats in  ``bzr version-info``.
2201
 
     (Lukáš Lalinský)
2202
 
 
2203
 
   * diff '--using' allows an external diff tool to be used for files.
2204
 
     (Aaron Bentley)
2205
 
 
2206
 
   * New "lca" merge-type for fast everyday merging that also supports
2207
 
     criss-cross merges.  (Aaron Bentley)
2208
 
 
2209
 
  IMPROVEMENTS:
2210
 
 
2211
 
   * ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
2212
 
     #90049)
2213
 
 
2214
 
   * ``branch`` and ``checkout`` can now use files from a working tree to
2215
 
     to speed up the process.  For checkout, this requires the new
2216
 
     --files-from flag.  (Aaron Bentley)
2217
 
 
2218
 
   * ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
2219
 
 
2220
 
   * ``bzr diff`` now works on branches without working trees. Tree-less
2221
 
     branches can also be compared to each other and to working trees using
2222
 
     the new diff options ``--old`` and ``--new``. Diffing between branches,
2223
 
     with or without trees, now supports specific file filtering as well.
2224
 
     (Ian Clatworthy, #6700)
2225
 
 
2226
 
   * ``bzr pack`` now orders revision texts in topological order, with newest
2227
 
     at the start of the file, promoting linear reads for ``bzr log`` and the
2228
 
     like. This partially fixes #154129. (Robert Collins)
2229
 
 
2230
 
   * Merge directives now fetch prerequisites from the target branch if
2231
 
     needed.  (Aaron Bentley)
2232
 
 
2233
 
   * pycurl now handles digest authentication.
2234
 
     (Vincent Ladeuil)
2235
 
 
2236
 
   * ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
2237
 
 
2238
 
   * ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
2239
 
 
2240
 
   * ``merge`` now warns when merge directives cause cherrypicks.
2241
 
     (Aaron Bentley)
2242
 
 
2243
 
   * ``split`` now supported, to enable splitting large trees into smaller
2244
 
     pieces.  (Aaron Bentley)
2245
 
 
2246
 
  BUGFIXES:
2247
 
 
2248
 
   * Avoid AttributeError when unlocking a pack repository when an error occurs.
2249
 
     (Martin Pool, #180208)
2250
 
 
2251
 
   * Better handle short reads when processing multiple range requests.
2252
 
     (Vincent Ladeuil, #179368)
2253
 
 
2254
 
   * build_tree acceleration uses the correct path when a file has been moved.
2255
 
     (Aaron Bentley)
2256
 
 
2257
 
   * ``commit`` now succeeds when a checkout and its master branch share a
2258
 
     repository.  (Aaron Bentley, #177592)
2259
 
 
2260
 
   * Fixed error reporting of unsupported timezone format in
2261
 
     ``log --timezone``. (Lukáš Lalinský, #178722)
2262
 
 
2263
 
   * Fixed Unicode encoding error in ``ignored`` when the output is
2264
 
     redirected to a pipe. (Lukáš Lalinský)
2265
 
 
2266
 
   * Fix traceback when sending large response bodies over the smart protocol
2267
 
     on Windows. (Andrew Bennetts, #115781)
2268
 
 
2269
 
   * Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
2270
 
     pointed to different logical drives on Windows.
2271
 
     (Alexander Belchenko, #90847)
2272
 
 
2273
 
   * HTTP test servers are now compatible with the http protocol version 1.1.
2274
 
     (Vincent Ladeuil, #175524)
2275
 
 
2276
 
   * _KnitParentsProvider.get_parent_map now handles requests for ghosts
2277
 
     correctly, instead of erroring or attributing incorrect parents to ghosts.
2278
 
     (Aaron Bentley)
2279
 
 
2280
 
   * ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
2281
 
 
2282
 
   * pycurl authentication handling was broken and incomplete. Fix handling of
2283
 
     user:pass embedded in the urls.
2284
 
     (Vincent Ladeuil, #177643)
2285
 
 
2286
 
   * Files inside non-directories are now handled like other conflict types.
2287
 
     (Aaron Bentley, #177390)
2288
 
 
2289
 
   * ``reconfigure`` is able to convert trees into lightweight checkouts.
2290
 
     (Aaron Bentley)
2291
 
 
2292
 
   * Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
2293
 
     #148087)
2294
 
 
2295
 
   * Test that the old ``version_info_format`` functions still work, even
2296
 
     though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
2297
 
 
2298
 
   * Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
2299
 
     #137681)
2300
 
 
2301
 
   * ``uncommit`` works even when the commit messages of revisions to be
2302
 
     removed use characters not supported in the terminal encoding.
2303
 
     (Aaron Bentley)
2304
 
 
2305
 
   * When dumb http servers return whole files instead of the requested ranges,
2306
 
     read the remaining bytes by chunks to avoid overflowing network buffers.
2307
 
     (Vincent Ladeuil, #175886)
2308
 
 
2309
 
  DOCUMENTATION:
2310
 
 
2311
 
   * Minor tweaks made to the bug tracker integration documentation.
2312
 
     (Ian Clatworthy)
2313
 
 
2314
 
   * Reference material has now be moved out of the User Guide and added
2315
 
     to the User Reference. The User Reference has gained 4 sections as
2316
 
     a result: Authenication Settings, Configuration Settings, Conflicts
2317
 
     and Hooks. All help topics are now dumped into text format in the
2318
 
     doc/en/user-reference directory for those who like browsing that
2319
 
     information in their editor. (Ian Clatworthy)
2320
 
 
2321
 
   * *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
2322
 
 
2323
 
  INTERNALS:
2324
 
 
2325
 
    * find_* methods available for BzrDirs, Branches and WorkingTrees.
2326
 
      (Aaron Bentley)
2327
 
 
2328
 
    * Help topics can now be loaded from files. 
2329
 
      (Ian Clatworthy, Alexander Belchenko)
2330
 
 
2331
 
    * get_parent_map now always provides tuples as its output.  (Aaron Bentley)
2332
 
 
2333
 
    * Parent Providers should now implement ``get_parent_map`` returning a
2334
 
      dictionary instead of ``get_parents`` returning a list.
2335
 
      ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
2336
 
      Robert Collins)
2337
 
 
2338
 
    * Patience Diff now supports arbitrary python objects, as long as they
2339
 
      support ``hash()``. (John Arbash Meinel)
2340
 
 
2341
 
    * Reduce selftest overhead to establish test names by memoization.
2342
 
      (Vincent Ladeuil)
2343
 
 
2344
 
  API BREAKS:
2345
 
 
2346
 
  TESTING:
2347
 
 
2348
 
   * Modules can now customise their tests by defining a ``load_tests``
2349
 
     attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
2350
 
     for the documentation on this attribute. (Robert Collins)
2351
 
 
2352
 
   * New helper function ``bzrlib.tests.condition_id_re`` which helps
2353
 
     filter tests based on a regular expression search on the tests id.
2354
 
     (Robert Collins)
2355
 
    
2356
 
   * New helper function ``bzrlib.tests.condition_isinstance`` which helps
2357
 
     filter tests based on class. (Robert Collins)
2358
 
    
2359
 
   * New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
2360
 
     generalises the ``exclude_suite_by_re`` function. (Robert Collins)
2361
 
 
2362
 
   * New helper function ``bzrlib.tests.filter_suite_by_condition`` which
2363
 
     generalises the ``filter_suite_by_re`` function. (Robert Collins)
2364
 
 
2365
 
   * New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
2366
 
     TestSuite that does not contain tests from the input that matched a
2367
 
     regular expression. (Robert Collins)
2368
 
 
2369
 
   * New helper method ``bzrlib.tests.randomize_suite`` which returns a
2370
 
     randomized copy of the input suite. (Robert Collins)
2371
 
 
2372
 
   * New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
2373
 
     suite into two according to a regular expression. (Robert Collins)
2374
 
 
2375
 
   * Parametrize all http tests for the transport implementations, the http
2376
 
     protocol versions (1.0 and 1.1) and the authentication schemes.
2377
 
     (Vincent Ladeuil) 
2378
 
 
2379
 
   * The ``exclude_pattern`` and ``random_order`` parameters to the function
2380
 
     ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
2381
 
 
2382
 
   * The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is 
2383
 
     replaced by the new helper methods added in this release. (Robert Collins)
2384
 
 
2385
 
 
2386
 
bzr 1.0 2007-12-14
2387
 
------------------
2388
 
 
2389
 
  DOCUMENTATION:
2390
 
 
2391
 
   * More improvements and fixes to the User Guide.  (Ian Clatworthy)
2392
 
 
2393
 
   * Add information on cherrypicking/rebasing to the User Guide.
2394
 
     (Ian Clatworthy)
2395
 
 
2396
 
   * Improve bug tracker integration documentation. (Ian Clatworthy)
2397
 
 
2398
 
   * Minor edits to ``Bazaar in five minutes`` from David Roberts and
2399
 
     to the rebasing section of the User Guide from Aaron Bentley.
2400
 
     (Ian Clatworthy)
2401
 
 
2402
 
 
2403
 
bzr 1.0rc3 2007-12-11
2404
 
---------------------
2405
 
 
2406
 
  CHANGES:
2407
 
   
2408
 
   * If a traceback occurs, users are now asked to report the bug 
2409
 
     through Launchpad (https://bugs.launchpad.net/bzr/), rather than 
2410
 
     by mail to the mailing list.
2411
 
     (Martin Pool)
2412
 
 
2413
 
  BUGFIXES:
2414
 
 
2415
 
   * Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
2416
 
 
2417
 
   * Give more feedback during long http downloads by making readv deliver data
2418
 
     as it arrives for urllib, and issue more requests for pycurl. High latency
2419
 
     networks are better handled by urllib, the pycurl implementation give more
2420
 
     feedback but also incur more latency.
2421
 
     (Vincent Ladeuil, #173010)
2422
 
 
2423
 
   * Implement _make_parents_provider on RemoteRepository, allowing generating
2424
 
     bundles against branches on a smart server.  (Andrew Bennetts, #147836)
2425
 
 
2426
 
  DOCUMENTATION:
2427
 
 
2428
 
   * Improved user guide.  (Ian Clatworthy)
2429
 
 
2430
 
   * The single-page quick reference guide is now available as a PDF.
2431
 
     (Ian Clatworthy)
2432
 
 
2433
 
  INTERNALS:
2434
 
 
2435
 
    * readv urllib http implementation is now a real iterator above the
2436
 
      underlying socket and deliver data as soon as it arrives. 'get' still
2437
 
      wraps its output in a StringIO.
2438
 
      (Vincent Ladeuil)
2439
 
 
2440
 
 
2441
 
bzr 1.0rc2 2007-12-07
2442
 
---------------------
2443
 
 
2444
 
  IMPROVEMENTS:
2445
 
 
2446
 
   * Added a --coverage option to selftest. (Andrew Bennetts)
2447
 
 
2448
 
   * Annotate merge (merge-type=weave) now supports cherrypicking.
2449
 
     (Aaron Bentley)
2450
 
 
2451
 
   * ``bzr commit`` now doesn't print the revision number twice. (Matt
2452
 
     Nordhoff, #172612)
2453
 
 
2454
 
   * New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
2455
 
     define locations of bug trackers that are not directly supported by
2456
 
     bzr or a plugin. The URL will be treated as a template and ``{id}``
2457
 
     placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
2458
 
 
2459
 
   * Support logging single merge revisions with short and line log formatters.
2460
 
     (Kent Gibson)
2461
 
 
2462
 
   * User Guide enhanced with suggested readability improvements from
2463
 
     Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
2464
 
 
2465
 
   * Quick Start Guide renamed to Quick Start Card, moved down in
2466
 
     the catalog, provided in pdf and png format and updated to refer
2467
 
     to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
2468
 
 
2469
 
   * ``switch`` can now be used on heavyweight checkouts as well as
2470
 
     lightweight ones. After switching a heavyweight checkout, the
2471
 
     local branch is a mirror/cache of the new bound branch and
2472
 
     uncommitted changes in the working tree are merged. As a safety
2473
 
     check, if there are local commits in a checkout which have not
2474
 
     been committed to the previously bound branch, then ``switch``
2475
 
     fails unless the ``--force`` option is given. This option is
2476
 
     now also required if the branch a lightweight checkout is pointing
2477
 
     to has been moved. (Ian Clatworthy)
2478
 
 
2479
 
  INTERNALS:
2480
 
 
2481
 
    * New -Dhttp debug option reports http connections, requests and responses.
2482
 
      (Vincent Ladeuil)
2483
 
 
2484
 
    * New -Dmerge debug option, which emits merge plans for merge-type=weave.
2485
 
 
2486
 
  BUGFIXES:
2487
 
 
2488
 
   * Better error message when running ``bzr cat`` on a non-existant branch.
2489
 
     (Lukáš Lalinský, #133782)
2490
 
 
2491
 
   * Catch OSError 17 (file exists) in final phase of tree transform and show
2492
 
     filename to user.
2493
 
     (Alexander Belchenko, #111758)
2494
 
 
2495
 
   * Catch ShortReadvErrors while using pycurl. Also make readv more robust by
2496
 
     allowing multiple GET requests to be issued if too many ranges are
2497
 
     required.
2498
 
     (Vincent Ladeuil, #172701)
2499
 
 
2500
 
   * Check for missing basis texts when fetching from packs to packs.
2501
 
     (John Arbash Meinel, #165290)
2502
 
 
2503
 
   * Fall back to showing e-mail in ``log --short/--line`` if the 
2504
 
     committer/author has only e-mail. (Lukáš Lalinský, #157026)
2505
 
 
2506
 
  API BREAKS:
2507
 
 
2508
 
   * Deprecate not passing a ``location`` argument to commit reporters'
2509
 
     ``started`` methods. (Matt Nordhoff)
2510
 
 
2511
 
 
2512
 
bzr 1.0rc1 2007-11-30
2513
 
---------------------
2514
 
 
2515
 
  NOTES WHEN UPGRADING:
2516
 
 
2517
 
   * The default repository format is now ``pack-0.92``.  This 
2518
 
     default is used when creating new repositories with ``init`` and 
2519
 
     ``init-repo``, and when branching over bzr+ssh or bzr+hpss. 
2520
 
     (See https://bugs.launchpad.net/bugs/164626)
2521
 
 
2522
 
     This format can be read and written by Bazaar 0.92 and later, and 
2523
 
     data can be transferred to and from older formats.
2524
 
 
2525
 
     To upgrade, please reconcile your repository (``bzr reconcile``), and then
2526
 
     upgrade (``bzr upgrade``). 
2527
 
     
2528
 
     ``pack-0.92`` offers substantially better scaling and performance than the
2529
 
     previous knits format. Some operations are slower where the code already
2530
 
     had bad scaling characteristics under knits, the pack format makes such
2531
 
     operations more visible as part of being more scalable overall. We will
2532
 
     correct such operations over the coming releases and encourage the filing
2533
 
     of bugs on any operation which you observe to be slower in a packs
2534
 
     repository. One particular case that we do not intend to fix is pulling
2535
 
     data from a pack repository into a knit repository over a high latency
2536
 
     link;  downgrading such data requires reinsertion of the file texts, and
2537
 
     this is a classic space/time tradeoff. The current implementation is
2538
 
     conservative on memory usage because we need to support converting data
2539
 
     from any tree without problems.  
2540
 
     (Robert Collins, Martin Pool, #164476)
2541
 
 
2542
 
  CHANGES:
2543
 
 
2544
 
   * Disable detection of plink.exe as possible ssh vendor. Plink vendor
2545
 
     still available if user selects it explicitly with BZR_SSH environment
2546
 
     variable. (Alexander Belchenko, workaround for bug #107593)
2547
 
 
2548
 
   * The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree" 
2549
 
     to enable the subtree functions (for example, for bzr-svn).  
2550
 
     See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
2551
 
     (Martin Pool)
2552
 
 
2553
 
  FEATURES:
2554
 
 
2555
 
   * New ``authentication.conf`` file holding the password or other credentials
2556
 
     for remote servers. This can be used for ssh, sftp, smtp and other 
2557
 
     supported transports.
2558
 
     (Vincent Ladeuil)
2559
 
 
2560
 
   * New rich-root and rich-root-pack formats, recording the same data about
2561
 
     tree roots that's recorded for all other directories.
2562
 
     (Aaron Bentley, #164639)
2563
 
 
2564
 
   * ``pack-0.92`` repositories can now be reconciled.
2565
 
     (Robert Collins, #154173)
2566
 
 
2567
 
   * ``switch`` command added for changing the branch a lightweight checkout
2568
 
     is associated with and updating the tree to reflect the latest content
2569
 
     accordingly. This command was previously part of the BzrTools plug-in.
2570
 
     (Ian Clatworthy, Aaron Bentley, David Allouche)
2571
 
 
2572
 
   * ``reconfigure`` command can now convert branches, trees, or checkouts to
2573
 
     lightweight checkouts.  (Aaron Bentley)
2574
 
 
2575
 
  PERFORMANCE:
2576
 
 
2577
 
   * Commit updates the state of the working tree via a delta rather than
2578
 
     supplying entirely new basis trees. For commit of a single specified file
2579
 
     this reduces the wall clock time for commit by roughly a 30%.
2580
 
     (Robert Collins, Martin Pool)
2581
 
 
2582
 
   * Commit with many automatically found deleted paths no longer performs
2583
 
     linear scanning for the children of those paths during inventory
2584
 
     iteration. This should fix commit performance blowing out when many such
2585
 
     paths occur during commit. (Robert Collins, #156491)
2586
 
 
2587
 
   * Fetch with pack repositories will no longer read the entire history graph.
2588
 
     (Robert Collins, #88319)
2589
 
 
2590
 
   * Revert takes out an appropriate lock when reverting to a basis tree, and
2591
 
     does not read the basis inventory twice. (Robert Collins)
2592
 
 
2593
 
   * Diff does not require an inventory to be generated on dirstate trees.
2594
 
     (Aaron Bentley, #149254)
2595
 
 
2596
 
   * New annotate merge (--merge-type=weave) implementation is fast on
2597
 
     versionedfiles withough cached annotations, e.g. pack-0.92.
2598
 
     (Aaron Bentley)
2599
 
 
2600
 
  IMPROVEMENTS:
2601
 
 
2602
 
   * ``bzr merge`` now warns when it encounters a criss-cross merge.
2603
 
     (Aaron Bentley)
2604
 
 
2605
 
   * ``bzr send`` now doesn't require the target e-mail address to be
2606
 
     specified on the command line if an interactive e-mail client is used.
2607
 
     (Lukáš Lalinský)
2608
 
 
2609
 
   * ``bzr tags`` now prints the revision number for each tag, instead of
2610
 
     the revision id, unless --show-ids is passed. In addition, tags can be
2611
 
     sorted chronologically instead of lexicographically with --sort=time.
2612
 
     (Adeodato Simó, #120231)
2613
 
 
2614
 
   * Windows standalone version of bzr is able to load system-wide plugins from
2615
 
     "plugins" subdirectory in installation directory. In addition standalone
2616
 
     installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info 
2617
 
     about paths and bzr version. (Alexander Belchenko, #129298)
2618
 
 
2619
 
  DOCUMENTATION:
2620
 
 
2621
 
  BUG FIXES:
2622
 
 
2623
 
   * A progress bar has been added for knitpack -> knitpack fetching.
2624
 
     (Robert Collins, #157789, #159147)
2625
 
 
2626
 
   * Branching from a branch via smart server now preserves the repository
2627
 
     format. (Andrew Bennetts,  #164626)
2628
 
     
2629
 
   * ``commit`` is now able to invoke an external editor in a non-ascii
2630
 
     directory. (Daniel Watkins, #84043)
2631
 
 
2632
 
   * Catch connection errors for ftp.
2633
 
     (Vincent Ladeuil, #164567)
2634
 
 
2635
 
   * ``check`` no longer reports spurious unreferenced text versions.
2636
 
     (Robert Collins, John A Meinel, #162931, #165071)
2637
 
 
2638
 
   * Conflicts are now resolved recursively by ``revert``.
2639
 
     (Aaron Bentley, #102739)
2640
 
 
2641
 
   * Detect invalid transport reuse attempts by catching invalid URLs.
2642
 
     (Vincent Ladeuil, #161819)
2643
 
 
2644
 
   * Deleting a file without removing it shows a correct diff, not a traceback.
2645
 
     (Aaron Bentley)
2646
 
 
2647
 
   * Do no use timeout in HttpServer anymore.
2648
 
     (Vincent Ladeuil, #158972).
2649
 
 
2650
 
   * Don't catch the exceptions related to the http pipeline status before
2651
 
     retrying an http request or some programming errors may be masked.
2652
 
     (Vincent Ladeuil, #160012)
2653
 
 
2654
 
   * Fix ``bzr rm`` to not delete modified and ignored files.
2655
 
     (Lukáš Lalinský, #172598)
2656
 
 
2657
 
   * Fix exception when revisionspec contains merge revisons but log
2658
 
     formatter doesn't support merge revisions. (Kent Gibson, #148908)
2659
 
 
2660
 
   * Fix exception when ScopeReplacer is assigned to before any members have
2661
 
     been retrieved.  (Aaron Bentley)
2662
 
 
2663
 
   * Fix multiple connections during checkout --lightweight.
2664
 
     (Vincent Ladeuil, #159150)
2665
 
 
2666
 
   * Fix possible error in insert_data_stream when copying between 
2667
 
     pack repositories over bzr+ssh or bzr+http.  
2668
 
     KnitVersionedFile.get_data_stream now makes sure that requested
2669
 
     compression parents are sent before any delta hunks that depend 
2670
 
     on them.
2671
 
     (Martin Pool, #164637)
2672
 
 
2673
 
   * Fix typo in limiting offsets coalescing for http, leading to
2674
 
     whole files being downloaded instead of parts.
2675
 
     (Vincent Ladeuil, #165061)
2676
 
 
2677
 
   * FTP server errors don't error in the error handling code.
2678
 
     (Robert Collins, #161240)
2679
 
 
2680
 
   * Give a clearer message when a pull fails because the source needs
2681
 
     to be reconciled.
2682
 
     (Martin Pool, #164443)
2683
 
 
2684
 
   * It is clearer when a plugin cannot be loaded because of its name, and a
2685
 
     suggestion for an acceptable name is given. (Daniel Watkins, #103023)
2686
 
 
2687
 
   * Leave port as None in transport objects if user doesn't
2688
 
     specify a port in urls.
2689
 
     (vincent Ladeuil, #150860)
2690
 
 
2691
 
   * Make sure Repository.fetch(self) is properly a no-op for all
2692
 
     Repository implementations. (John Arbash Meinel, #158333)
2693
 
 
2694
 
   * Mark .bzr directories as "hidden" on Windows.
2695
 
     (Alexander Belchenko, #71147)
2696
 
 
2697
 
   * ``merge --uncommitted`` can now operate on a single file.
2698
 
     (Aaron Bentley, Lukáš Lalinský, #136890)
2699
 
 
2700
 
   * Obsolete packs are now cleaned up by pack and autopack operations.
2701
 
     (Robert Collins, #153789)
2702
 
 
2703
 
   * Operations pulling data from a smart server where the underlying
2704
 
     repositories are not both annotated/both unannotated will now work.
2705
 
     (Robert Collins, #165304).
2706
 
 
2707
 
   * Reconcile now shows progress bars. (Robert Collins, #159351)
2708
 
 
2709
 
   * ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
2710
 
     properly. (John Arbash Meinel, #162486)
2711
 
 
2712
 
   * Removing an already-removed file reports the file does not exist. (Daniel
2713
 
     Watkins, #152811)
2714
 
 
2715
 
   * Rename on Windows is able to change filename case.
2716
 
     (Alexander Belchenko, #77740)
2717
 
 
2718
 
   * Return error instead of a traceback for ``bzr log -r0``.
2719
 
     (Kent Gibson, #133751)
2720
 
 
2721
 
   * Return error instead of a traceback when bzr is unable to create
2722
 
     symlink on some platforms (e.g. on Windows).
2723
 
     (Alexander Belchenko, workaround for #81689)
2724
 
 
2725
 
   * Revert doesn't crash when restoring a single file from a deleted
2726
 
     directory. (Aaron Bentley)
2727
 
 
2728
 
   * Stderr output via logging mechanism now goes through encoded wrapper
2729
 
     and no more uses utf-8, but terminal encoding instead. So all unicode
2730
 
     strings now should be readable in non-utf-8 terminal.
2731
 
     (Alexander Belchenko, #54173)
2732
 
 
2733
 
   * The error message when ``move --after`` should be used makes how to do so
2734
 
     clearer. (Daniel Watkins, #85237)
2735
 
 
2736
 
   * Unicode-safe output from ``bzr info``. The output will be encoded
2737
 
     using the terminal encoding and unrepresentable characters will be
2738
 
     replaced by '?'. (Lukáš Lalinský, #151844)
2739
 
 
2740
 
   * Working trees are no longer created when pushing into a local no-trees
2741
 
     repo. (Daniel Watkins, #50582)
2742
 
 
2743
 
   * Upgrade util/configobj to version 4.4.0.
2744
 
     (Vincent Ladeuil, #151208).
2745
 
 
2746
 
   * Wrap medusa ftp test server as an FTPServer feature.
2747
 
     (Vincent Ladeuil, #157752)
2748
 
 
2749
 
  API BREAKS:
2750
 
 
2751
 
   * ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
2752
 
     during very long time. (Alexander Belchenko)
2753
 
 
2754
 
   * The return value of
2755
 
     ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
2756
 
     changed. Previously it was an iterator of lines, now it is an iterator of
2757
 
     (line, version_id) tuples. This change has been made to aid reconcile and
2758
 
     fetch operations. (Robert Collins)
2759
 
 
2760
 
   * ``bzrlib.repository.get_versioned_file_checker`` is now private.
2761
 
     (Robert Collins)
2762
 
 
2763
 
   * The Repository format registry default has been removed; it was previously
2764
 
     obsoleted by the bzrdir format default, which implies a default repository
2765
 
     format.
2766
 
     (Martin Pool)
2767
 
 
2768
 
  INTERNALS:
2769
 
 
2770
 
   * Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
2771
 
     ``bzrlib.pack``.  These classes provide more convenient APIs for generating
2772
 
     and parsing containers from streams rather than from files.  (Andrew
2773
 
     Bennetts)
2774
 
 
2775
 
   * New module ``lru_cache`` providing a cache for use by tasks that need
2776
 
     semi-random access to large amounts of data. (John A Meinel)
2777
 
 
2778
 
   * InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
2779
 
 
2780
 
  TESTING:
2781
 
 
2782
 
 
2783
 
bzr 0.92 2007-11-05
2784
 
-------------------
2785
 
 
2786
 
  CHANGES:
2787
 
 
2788
 
  * New uninstaller on Win32.  (Alexander Belchenko)
2789
 
 
2790
 
 
2791
 
bzr 0.92rc1 2007-10-29
2792
 
----------------------
2793
 
 
2794
 
  NOTES WHEN UPGRADING:
2795
 
 
2796
 
  CHANGES:
2797
 
  
2798
 
   * ``bzr`` now returns exit code 4 if an internal error occurred, and 
2799
 
     3 if a normal error occurred.  (Martin Pool)
2800
 
 
2801
 
   * ``pull``, ``merge`` and ``push`` will no longer silently correct some
2802
 
     repository index errors that occured as a result of the Weave disk format.
2803
 
     Instead the ``reconcile`` command needs to be run to correct those
2804
 
     problems if they exist (and it has been able to fix most such problems
2805
 
     since bzr 0.8). Some new problems have been identified during this release
2806
 
     and you should run ``bzr check`` once on every repository to see if you
2807
 
     need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
2808
 
     repository due to mismatched parent errors - a symptom of index errors -
2809
 
     you should simply take a full copy of that remote repository to a clean
2810
 
     directory outside any local repositories, then run reconcile on it, and
2811
 
     finally pull from it locally. (And naturally email the repositories owner
2812
 
     to ask them to upgrade and run reconcile).
2813
 
     (Robert Collins)
2814
 
 
2815
 
  FEATURES:
2816
 
 
2817
 
   * New ``knitpack-experimental`` repository format. This is interoperable with
2818
 
     the ``dirstate-tags`` format but uses a smarter storage design that greatly
2819
 
     speeds up many operations, both local and remote. This new format can be
2820
 
     used as an option to the ``init``, ``init-repository`` and ``upgrade``
2821
 
     commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
2822
 
     for further details. (Robert Collins)
2823
 
 
2824
 
   * For users of bzr-svn (and those testing the prototype subtree support) that
2825
 
     wish to try packs, a new ``knitpack-subtree-experimental`` format has also
2826
 
     been added. This is interoperable with the ``dirstate-subtrees`` format.
2827
 
     (Robert Collins)
2828
 
 
2829
 
   * New ``reconfigure`` command. (Aaron Bentley)
2830
 
 
2831
 
   * New ``revert --forget-merges`` command, which removes the record of a pending 
2832
 
     merge without affecting the working tree contents.  (Martin Pool)
2833
 
 
2834
 
   * New ``bzr_remote_path`` configuration variable allows finer control of
2835
 
     remote bzr locations than BZR_REMOTE_PATH environment variable.
2836
 
     (Aaron Bentley)
2837
 
 
2838
 
   * New ``launchpad-login`` command to tell Bazaar your Launchpad
2839
 
     user ID.  This can then be used by other functions of the
2840
 
     Launchpad plugin. (James Henstridge)
2841
 
 
2842
 
  PERFORMANCE:
2843
 
 
2844
 
   * Commit in quiet mode is now slightly faster as the information to
2845
 
     output is no longer calculated. (Ian Clatworthy)
2846
 
 
2847
 
   * Commit no longer checks for new text keys during insertion when the
2848
 
     revision id was deterministically unique. (Robert Collins)
2849
 
 
2850
 
   * Committing a change which is not a merge and does not change the number of
2851
 
     files in the tree is faster by utilising the data about whether files are
2852
 
     changed to determine if the tree is unchanged rather than recalculating
2853
 
     it at the end of the commit process. (Robert Collins)
2854
 
 
2855
 
   * Inventory serialisation no longer double-sha's the content.
2856
 
     (Robert Collins)
2857
 
 
2858
 
   * Knit text reconstruction now avoids making copies of the lines list for
2859
 
     interim texts when building a single text. The new ``apply_delta`` method
2860
 
     on ``KnitContent`` aids this by allowing modification of the revision id
2861
 
     such objects represent. (Robert Collins)
2862
 
 
2863
 
   * Pack indices are now partially parsed for specific key lookup using a
2864
 
     bisection approach. (Robert Collins)
2865
 
 
2866
 
   * Partial commits are now approximately 40% faster by walking over the
2867
 
     unselected current tree more efficiently. (Robert Collins)
2868
 
 
2869
 
   * XML inventory serialisation takes 20% less time while being stricter about
2870
 
     the contents. (Robert Collins)
2871
 
 
2872
 
   * Graph ``heads()`` queries have been fixed to no longer access all history
2873
 
     unnecessarily. (Robert Collins)
2874
 
 
2875
 
  IMPROVEMENTS:
2876
 
 
2877
 
   * ``bzr+https://`` smart server across https now supported. 
2878
 
     (John Ferlito, Martin Pool, #128456)
2879
 
 
2880
 
   * Mutt is now a supported mail client; set ``mail_client=mutt`` in your
2881
 
     bazaar.conf and ``send`` will use mutt. (Keir Mierle)
2882
 
 
2883
 
   * New option ``-c``/``--change`` for ``merge`` command for cherrypicking 
2884
 
     changes from one revision. (Alexander Belchenko, #141368)
2885
 
 
2886
 
   * Show encodings, locale and list of plugins in the traceback message.
2887
 
     (Martin Pool, #63894)
2888
 
 
2889
 
   * Experimental directory formats can now be marked with
2890
 
     ``experimental = True`` during registration. (Ian Clatworthy)
2891
 
 
2892
 
  DOCUMENTATION:
2893
 
 
2894
 
   * New *Bazaar in Five Minutes* guide.  (Matthew Revell)
2895
 
 
2896
 
   * The hooks reference documentation is now converted to html as expected.
2897
 
     (Ian Clatworthy)
2898
 
 
2899
 
  BUG FIXES:
2900
 
 
2901
 
   * Connection error reporting for the smart server has been fixed to
2902
 
     display a user friendly message instead of a traceback.
2903
 
     (Ian Clatworthy, #115601)
2904
 
 
2905
 
   * Make sure to use ``O_BINARY`` when opening files to check their
2906
 
     sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
2907
 
 
2908
 
   * Fix a problem with Win32 handling of the executable bit.
2909
 
     (John Arbash Meinel, #149113)
2910
 
 
2911
 
   * ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
2912
 
     no longer assume that means port 22.  This allows people using OpenSSH to
2913
 
     override the default port in their ``~/.ssh/config`` if they wish.  This
2914
 
     fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
2915
 
 
2916
 
   * Commands reporting exceptions can now be profiled and still have their
2917
 
     data correctly dumped to a file. For example, a ``bzr commit`` with
2918
 
     no changes still reports the operation as pointless but doing so no
2919
 
     longer throws away the profiling data if this command is run with
2920
 
     ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
2921
 
 
2922
 
   * Fallback to ftp when paramiko is not installed and sftp can't be used for
2923
 
     ``tests/commands`` so that the test suite is still usable without
2924
 
     paramiko.
2925
 
     (Vincent Ladeuil, #59150)
2926
 
 
2927
 
   * Fix commit ordering in corner case. (Aaron Bentley, #94975)
2928
 
 
2929
 
   * Fix long standing bug in partial commit when there are renames 
2930
 
     left in tree. (Robert Collins, #140419)
2931
 
 
2932
 
   * Fix selftest semi-random noise during http related tests.
2933
 
     (Vincent Ladeuil, #140614)
2934
 
 
2935
 
   * Fix typo in ftp.py making the reconnection fail on temporary errors.
2936
 
     (Vincent Ladeuil, #154259)
2937
 
 
2938
 
   * Fix failing test by comparing real paths to cover the case where the TMPDIR
2939
 
     contains a symbolic link.
2940
 
     (Vincent Ladeuil, #141382).
2941
 
 
2942
 
   * Fix log against smart server branches that don't support tags.
2943
 
     (James Westby, #140615)
2944
 
 
2945
 
   * Fix pycurl http implementation by defining error codes from
2946
 
     pycurl instead of relying on an old curl definition.
2947
 
     (Vincent Ladeuil, #147530)
2948
 
 
2949
 
   * Fix 'unprintable error' message when displaying BzrCheckError and 
2950
 
     some other exceptions on Python 2.5.
2951
 
     (Martin Pool, #144633)
2952
 
 
2953
 
   * Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
2954
 
 
2955
 
   * Handles default value for ListOption in cmd_commit.
2956
 
     (Vincent Ladeuil, #140432)
2957
 
 
2958
 
   * HttpServer and FtpServer need to be closed properly or a listening socket
2959
 
     will remain opened.
2960
 
     (Vincent Ladeuil, #140055)
2961
 
 
2962
 
   * Monitor the .bzr directory created in the top level test
2963
 
     directory to detect leaking tests.
2964
 
     (Vincent Ladeuil, #147986)
2965
 
 
2966
 
   * The basename, not the full path, is now used when checking whether
2967
 
     the profiling dump file begins with ``callgrind.out`` or not. This
2968
 
     fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
2969
 
 
2970
 
   * Trivial fix for invoking command ``reconfigure`` without arguments.
2971
 
     (Rob Weir, #141629)
2972
 
 
2973
 
   * ``WorkingTree.rename_one`` will now raise an error if normalisation of the
2974
 
     new path causes bzr to be unable to access the file. (Robert Collins)
2975
 
 
2976
 
   * Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
2977
 
     Merwe)
2978
 
 
2979
 
  API BREAKS:
2980
 
 
2981
 
   * ``bzrlib.index.GraphIndex`` now requires a size parameter to the
2982
 
     constructor, for enabling bisection searches. (Robert Collins)
2983
 
 
2984
 
   * ``CommitBuilder.record_entry_contents`` now requires the root entry of a
2985
 
     tree be supplied to it, previously failing to do so would trigger a
2986
 
     deprecation warning. (Robert Collins)
2987
 
 
2988
 
   * ``KnitVersionedFile.add*`` will no longer cache added records even when
2989
 
     enable_cache() has been called - the caching feature is now exclusively for
2990
 
     reading existing data. (Robert Collins)
2991
 
 
2992
 
   * ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more 
2993
 
     appropriate.  (Martin Pool)
2994
 
 
2995
 
   * Removed ``bzrlib.transport.TransportLogger`` - please see the new
2996
 
     ``trace+`` transport instead. (Robert Collins)
2997
 
 
2998
 
   * Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
2999
 
     deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
3000
 
     (Martin Pool)
3001
 
 
3002
 
   * Removed previous deprecated ``basis_knit`` parameter to the
3003
 
     ``KnitVersionedFile`` constructor. (Robert Collins)
3004
 
 
3005
 
   * Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii 
3006
 
     class that needs it.
3007
 
     (Martin Pool)
3008
 
 
3009
 
   * The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
3010
 
     ``KnitRepository`` by parameters to the constructor. (Robert Collins)
3011
 
 
3012
 
   * The ``VersionedFile`` interface now allows content checks to be bypassed
3013
 
     by supplying check_content=False.  This saves nearly 30% of the minimum
3014
 
     cost to store a version of a file. (Robert Collins)
3015
 
 
3016
 
   * Tree's with bad state such as files with no length or sha will no longer
3017
 
     be silently accepted by the repository XML serialiser. To serialise
3018
 
     inventories without such data, pass working=True to write_inventory.
3019
 
     (Robert Collins)
3020
 
 
3021
 
   * ``VersionedFile.fix_parents`` has been removed as a harmful API.
3022
 
     ``VersionedFile.join`` will no longer accept different parents on either
3023
 
     side of a join - it will either ignore them, or error, depending on the
3024
 
     implementation. See notes when upgrading for more information.
3025
 
     (Robert Collins)
3026
 
 
3027
 
  INTERNALS:
3028
 
 
3029
 
   * ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
3030
 
     put by the method call, to allow avoiding stat-after-write or
3031
 
     housekeeping in callers. (Robert Collins)
3032
 
 
3033
 
   * ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
3034
 
     mandatory attributes are present on serialisation and deserialisation.
3035
 
     This fixes some holes in API usage and allows better separation between
3036
 
     physical storage and object serialisation. (Robert Collins)
3037
 
 
3038
 
   * New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
3039
 
     shorthand for deriving from BzrError and setting internal_error = True.
3040
 
     (Robert Collins)
3041
 
 
3042
 
   * New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
3043
 
     moving the state of a parent tree to a new version via a delta rather than
3044
 
     a complete replacement tree. (Robert Collins)
3045
 
 
3046
 
   * New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
3047
 
     duplication from user input, when a user mentions both a path and an item
3048
 
     contained within that path. (Robert Collins)
3049
 
 
3050
 
   * New method ``bzrlib.repository.Repository.is_write_locked`` useful for
3051
 
     determining if a repository is write locked. (Robert Collins)
3052
 
 
3053
 
   * New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
3054
 
     tuple containing the key information about a path for commit processing
3055
 
     to complete. (Robert Collins)
3056
 
 
3057
 
   * New method on xml serialisers, write_inventory_to_lines, which matches the
3058
 
     API used by knits for adding content. (Robert Collins)
3059
 
 
3060
 
   * New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
3061
 
     logic, currently only available for byte-based lookup
3062
 
     (``bisect_multi_bytes``). (Robert Collins)
3063
 
 
3064
 
   * New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
3065
 
     and returns a gzipped version of the same. This is used to avoid a bunch
3066
 
     of api friction during adding of knit hunks. (Robert Collins)
3067
 
 
3068
 
   * New parameter on ``bzrlib.transport.Transport.readv``
3069
 
     ``adjust_for_latency`` which changes readv from returning strictly the
3070
 
     requested data to inserted return larger ranges and in forward read order
3071
 
     to reduce the effect of network latency. (Robert Collins)
3072
 
 
3073
 
   * New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
3074
 
     causes the parents of a selected id to be returned recursively, so all the
3075
 
     paths from the root down to each element of selected_file_ids are
3076
 
     returned. (Robert Collins)
3077
 
 
3078
 
   * Knit joining has been enhanced to support plain to annotated conversion
3079
 
     and annotated to plain conversion. (Ian Clatworthy)
3080
 
 
3081
 
   * The CommitBuilder method ``record_entry_contents`` now returns summary
3082
 
     information about the effect of the commit on the repository. This tuple
3083
 
     contains an inventory delta item if the entry changed from the basis, and a
3084
 
     boolean indicating whether a new file graph node was recorded.
3085
 
     (Robert Collins)
3086
 
 
3087
 
   * The python path used in the Makefile can now be overridden.
3088
 
     (Andrew Bennetts, Ian Clatworthy)
3089
 
 
3090
 
  TESTING:
3091
 
 
3092
 
   * New transport implementation ``trace+`` which is useful for testing,
3093
 
     logging activity taken to its _activity attribute. (Robert Collins)
3094
 
 
3095
 
   * When running bzr commands within the test suite, internal exceptions are
3096
 
     not caught and reported in the usual way, but rather allowed to propagate
3097
 
     up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
3098
 
     makes this behavior available to other users.
3099
 
     (Martin Pool)
3100
 
 
3101
 
   * New method ``TestCase.call_catch_warnings`` for testing methods that 
3102
 
     raises a Python warning.  (Martin Pool)
3103
 
 
3104
 
 
3105
 
bzr 0.91 2007-09-26
3106
 
-------------------
3107
 
 
3108
 
  BUG FIXES:
3109
 
 
3110
 
   * Print a warning instead of aborting the ``python setup.py install``
3111
 
     process if building of a C extension is not possible.
3112
 
     (Lukáš Lalinský, Alexander Belchenko)
3113
 
 
3114
 
   * Fix commit ordering in corner case (Aaron Bentley, #94975)
3115
 
 
3116
 
   * Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
3117
 
     an implicit port.  We were incorrectly raising PathNotChild due to
3118
 
     inconsistent treatment of the ''_port'' attribute on the Transport object.
3119
 
     (Andrew Bennetts, #133965)
3120
 
 
3121
 
   * Make RemoteRepository.sprout cope gracefully with servers that don't
3122
 
     support the ``Repository.tarball`` request.
3123
 
     (Andrew Bennetts)
3124
 
 
3125
 
 
3126
 
bzr 0.91rc2 2007-09-11
3127
 
----------------------
3128
 
 
3129
 
   * Replaced incorrect tarball for previous release; a debug statement was left 
3130
 
     in bzrlib/remote.py.
3131
 
 
3132
 
 
3133
 
bzr 0.91rc1 2007-09-11
3134
 
----------------------
3135
 
 
3136
 
  CHANGES:
3137
 
 
3138
 
   * The default branch and repository format has changed to 
3139
 
     ``dirstate-tags``, so tag commands are active by default.
3140
 
     This format is compatible with Bazaar 0.15 and later.
3141
 
     This incidentally fixes bug #126141.
3142
 
     (Martin Pool)
3143
 
 
3144
 
   * ``--quiet`` or ``-q`` is no longer a global option. If present, it
3145
 
     must now appear after the command name. Scripts doing things like
3146
 
     ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
3147
 
     (Ian Clatworthy)
3148
 
 
3149
 
  FEATURES:
3150
 
 
3151
 
   * New option ``--author`` in ``bzr commit`` to specify the author of the
3152
 
     change, if it's different from the committer. ``bzr log`` and
3153
 
     ``bzr annotate`` display the author instead of the committer.
3154
 
     (Lukáš Lalinský)
3155
 
 
3156
 
   * In addition to global options and command specific options, a set of
3157
 
     standard options are now supported. Standard options are legal for
3158
 
     all commands. The initial set of standard options are:
3159
 
     
3160
 
     * ``--help`` or ``-h`` - display help message
3161
 
     * ``--verbose`` or ``-v`` - display additional information
3162
 
     * ``--quiet``  or ``-q`` - only output warnings and errors.
3163
 
 
3164
 
     Unlike global options, standard options can be used in aliases and
3165
 
     may have command-specific help. (Ian Clatworthy)
3166
 
 
3167
 
   * Verbosity level processing has now been unified. If ``--verbose``
3168
 
     or ``-v`` is specified on the command line multiple times, the
3169
 
     verbosity level is made positive the first time then increased.
3170
 
     If ``--quiet`` or ``-q`` is specified on the command line
3171
 
     multiple times, the verbosity level is made negative the first
3172
 
     time then decreased. To get the default verbosity level of zero,
3173
 
     either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
3174
 
     Note that most commands currently ignore the magnitude of the
3175
 
     verbosity level but do respect *quiet vs normal vs verbose* when
3176
 
     generating output. (Ian Clatworthy)
3177
 
 
3178
 
   * ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
3179
 
     is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
3180
 
 
3181
 
   * New ``Repository.stream_knit_data_for_revisions`` request added to the
3182
 
     network protocol for greatly reduced roundtrips when retrieving a set of
3183
 
     revisions. (Andrew Bennetts)
3184
 
 
3185
 
  BUG FIXES:
3186
 
 
3187
 
   * ``bzr plugins`` now lists the version number for each plugin in square
3188
 
     brackets after the path. (Robert Collins, #125421)
3189
 
 
3190
 
   * Pushing, pulling and branching branches with subtree references was not
3191
 
     copying the subtree weave, preventing the file graph from being accessed
3192
 
     and causing errors in commits in clones. (Robert Collins)
3193
 
 
3194
 
   * Suppress warning "integer argument expected, got float" from Paramiko,
3195
 
     which sometimes caused false test failures.  (Martin Pool)
3196
 
 
3197
 
   * Fix bug in bundle 4 that could cause attempts to write data to wrong
3198
 
     versionedfile.  (Aaron Bentley)
3199
 
 
3200
 
   * Diffs generated using "diff -p" no longer break the patch parser.
3201
 
     (Aaron Bentley)
3202
 
 
3203
 
   * get_transport treats an empty possible_transports list the same as a non-
3204
 
     empty one.  (Aaron Bentley)
3205
 
 
3206
 
   * patch verification for merge directives is reactivated, and works with
3207
 
     CRLF and CR files.  (Aaron Bentley)
3208
 
 
3209
 
   * Accept ..\ as a path in revision specifiers. This fixes for example
3210
 
     "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský) 
3211
 
 
3212
 
   * ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
3213
 
     (Blake Winton, #129299)
3214
 
 
3215
 
   * man page no longer lists hidden options (#131667, Aaron Bentley)
3216
 
 
3217
 
   * ``uncommit --help`` now explains the -r option adequately.  (Daniel
3218
 
     Watkins, #106726)
3219
 
 
3220
 
   * Error messages are now better formatted with parameters (such as
3221
 
     filenames) quoted when necessary. This avoids confusion when directory
3222
 
     names ending in a '.' at the end of messages were confused with a
3223
 
     full stop that may or not have been there. (Daniel Watkins, #129791)
3224
 
 
3225
 
   * Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
3226
 
 
3227
 
   * If a particular command is an alias, ``help`` will show the alias
3228
 
     instead of claiming there is no help for said alias. (Daniel Watkins,
3229
 
     #133548)
3230
 
 
3231
 
   * TreeTransform-based operations, like pull, merge, revert, and branch,
3232
 
     now roll back if they encounter an error.  (Aaron Bentley, #67699)
3233
 
 
3234
 
   * ``bzr commit`` now exits cleanly if a character unsupported by the
3235
 
     current encoding is used in the commit message.  (Daniel Watkins,
3236
 
     #116143)
3237
 
 
3238
 
   * bzr send uses default values for ranges when only half of an elipsis
3239
 
     is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
3240
 
 
3241
 
   * Avoid trouble when Windows ssh calls itself 'plink' but no plink
3242
 
     binary is present.  (Martin Albisetti, #107155)
3243
 
 
3244
 
   * ``bzr remove`` should remove clean subtrees.  Now it will remove (without
3245
 
     needing ``--force``) subtrees that contain no files with text changes or
3246
 
     modified files.  With ``--force`` it removes the subtree regardless of
3247
 
     text changes or unknown files. Directories with renames in or out (but
3248
 
     not changed otherwise) will now be removed without needing ``--force``.
3249
 
     Unknown ignored files will be deleted without needing ``--force``.
3250
 
     (Marius Kruger, #111665)
3251
 
 
3252
 
   * When two plugins conflict, the source of both the losing and now the
3253
 
     winning definition is shown.  (Konstantin Mikhaylov, #5454)
3254
 
 
3255
 
   * When committing to a branch, the location being committed to is
3256
 
     displayed.  (Daniel Watkins, #52479)
3257
 
 
3258
 
   * ``bzr --version`` takes care about encoding of stdout, especially
3259
 
     when output is redirected. (Alexander Belchenko, #131100)
3260
 
 
3261
 
   * Prompt for an ftp password if none is provided.
3262
 
     (Vincent Ladeuil, #137044)
3263
 
 
3264
 
   * Reuse bound branch associated transport to avoid multiple
3265
 
     connections.
3266
 
     (Vincent Ladeuil, #128076, #131396)
3267
 
 
3268
 
   * Overwrite conflicting tags by ``push`` and ``pull`` if the
3269
 
     ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
3270
 
 
3271
 
   * In checkouts, tags are copied into the master branch when created,
3272
 
     changed or deleted, and are copied into the checkout when it is 
3273
 
     updated.  (Martin Pool, #93856, #93860)
3274
 
 
3275
 
   * Print a warning instead of aborting the ``python setup.py install``
3276
 
     process if building of a C extension is not possible.
3277
 
     (Lukáš Lalinský, Alexander Belchenko)
3278
 
 
3279
 
  IMPROVEMENTS:
3280
 
 
3281
 
   * Add the option "--show-diff" to the commit command in order to display
3282
 
     the diff during the commit log creation. (Goffredo Baroncelli)
3283
 
 
3284
 
   * ``pull`` and ``merge`` are much faster at installing bundle format 4.
3285
 
     (Aaron Bentley)
3286
 
 
3287
 
   * ``pull -v`` no longer includes deltas, making it much faster.
3288
 
     (Aaron Bentley)
3289
 
 
3290
 
   * ``send`` now sends the directive as an attachment by default.
3291
 
     (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
3292
 
 
3293
 
   * Documentation updates (Martin Albisetti)
3294
 
 
3295
 
   * Help on debug flags is now included in ``help global-options``.
3296
 
     (Daniel Watkins, #124853)
3297
 
 
3298
 
   * Parameters passed on the command line are checked to ensure they are
3299
 
     supported by the encoding in use. (Daniel Watkins)
3300
 
 
3301
 
   * The compression used within the bzr repository has changed from zlib
3302
 
     level 9 to the zlib default level. This improves commit performance with
3303
 
     only a small increase in space used (and in some cases a reduction in
3304
 
     space). (Robert Collins)
3305
 
 
3306
 
   * Initial commit no longer SHAs files twice and now reuses the path
3307
 
     rather than looking it up again, making it faster.
3308
 
     (Ian Clatworthy)
3309
 
 
3310
 
   * New option ``-c``/``--change`` for ``diff`` and ``status`` to show
3311
 
     changes in one revision.  (Lukáš Lalinský)
3312
 
 
3313
 
   * If versioned files match a given ignore pattern, a warning is now
3314
 
     given. (Daniel Watkins, #48623)
3315
 
 
3316
 
   * ``bzr status`` now has -S as a short name for --short and -V as a
3317
 
     short name for --versioned. These have been added to assist users
3318
 
     migrating from Subversion: ``bzr status -SV`` is now like
3319
 
     ``svn status -q``.  (Daniel Watkins, #115990)
3320
 
 
3321
 
   * Added C implementation of  ``PatienceSequenceMatcher``, which is about
3322
 
     10x faster than the Python version. This speeds up commands that
3323
 
     need file diffing, such as ``bzr commit`` or ``bzr diff``.
3324
 
     (Lukáš Lalinský)
3325
 
 
3326
 
   * HACKING has been extended with a large section on core developer tasks.
3327
 
     (Ian Clatworthy)
3328
 
 
3329
 
   * Add ``branches`` and ``standalone-trees`` as online help topics and
3330
 
     include them as Concepts within the User Reference.
3331
 
     (Paul Moore, Ian Clatworthy)
3332
 
 
3333
 
    * ``check`` can detect versionedfile parent references that are
3334
 
      inconsistent with revision and inventory info, and ``reconcile`` can fix
3335
 
      them.  These faulty references were generated by 0.8-era releases,
3336
 
      so repositories which were manipulated by old bzrs should be
3337
 
      checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
3338
 
 
3339
 
  API BREAKS:
3340
 
 
3341
 
   * ``Branch.append_revision`` is removed altogether; please use 
3342
 
     ``Branch.set_last_revision_info`` instead.  (Martin Pool)
3343
 
 
3344
 
   * CommitBuilder now advertises itself as requiring the root entry to be
3345
 
     supplied. This only affects foreign repository implementations which reuse
3346
 
     CommitBuilder directly and have changed record_entry_contents to require
3347
 
     that the root not be supplied. This should be precisely zero plugins
3348
 
     affected. (Robert Collins)
3349
 
 
3350
 
   * The ``add_lines`` methods on ``VersionedFile`` implementations has changed
3351
 
     its return value to include the sha1 and length of the inserted text. This
3352
 
     allows the avoidance of double-sha1 calculations during commit.
3353
 
     (Robert Collins)
3354
 
 
3355
 
   * ``Transport.should_cache`` has been removed.  It was not called in the
3356
 
     previous release.  (Martin Pool)
3357
 
 
3358
 
  TESTING:
3359
 
 
3360
 
   * Tests may now raise TestNotApplicable to indicate they shouldn't be 
3361
 
     run in a particular scenario.  (Martin Pool)
3362
 
 
3363
 
   * New function multiply_tests_from_modules to give a simpler interface
3364
 
     to test parameterization.  (Martin Pool, Robert Collins)
3365
 
 
3366
 
   * ``Transport.should_cache`` has been removed.  It was not called in the
3367
 
     previous release.  (Martin Pool)
3368
 
 
3369
 
   * NULL_REVISION is returned to indicate the null revision, not None.
3370
 
     (Aaron Bentley)
3371
 
 
3372
 
   * Use UTF-8 encoded StringIO for log tests to avoid failures on
3373
 
     non-ASCII committer names.  (Lukáš Lalinský)
3374
 
 
3375
 
  INTERNALS:
3376
 
 
3377
 
   * ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
3378
 
     ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
3379
 
     useful functionality for determining the path of a plugin, its tests, and
3380
 
     its version information. (Robert Collins)
3381
 
 
3382
 
   * Add the option user_encoding to the function 'show_diff_trees()'
3383
 
     in order to move the user encoding at the UI level. (Goffredo Baroncelli)
3384
 
 
3385
 
   * Add the function make_commit_message_template_encoded() and the function
3386
 
     edit_commit_message_encoded() which handle encoded strings.
3387
 
     This is done in order to mix the commit messages (which is a unicode
3388
 
     string), and the diff which is a raw string. (Goffredo Baroncelli)
3389
 
 
3390
 
   * CommitBuilder now defaults to using add_lines_with_ghosts, reducing
3391
 
     overhead on non-weave repositories which don't require all parents to be
3392
 
     present. (Robert Collins)
3393
 
 
3394
 
   * Deprecated method ``find_previous_heads`` on
3395
 
     ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
3396
 
     of ``parent_candidates`` and a separate heads check via the repository
3397
 
     API. (Robert Collins)
3398
 
 
3399
 
   * New trace function ``mutter_callsite`` will print out a subset of the
3400
 
     stack to the log, which can be useful for gathering debug details.
3401
 
     (Robert Collins)
3402
 
 
3403
 
   * ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
3404
 
     added via a public attribute records_written. (Robert Collins)
3405
 
 
3406
 
   * New method ``bzrlib.transport.Transport.get_recommended_page_size``.
3407
 
     This provides a hint to users of transports as to the reasonable
3408
 
     minimum data to read. In principle this can take latency and
3409
 
     bandwidth into account on a per-connection basis, but for now it
3410
 
     just has hard coded values based on the url. (e.g. http:// has a large
3411
 
     page size, file:// has a small one.) (Robert Collins)
3412
 
 
3413
 
   * New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
3414
 
     incremental addition of data to a file without requiring that all the
3415
 
     data be buffered in memory. (Robert Collins)
3416
 
 
3417
 
   * New methods on ``bzrlib.knit.KnitVersionedFile``:
3418
 
     ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
3419
 
     ``get_format_signature()``.  These provide some infrastructure for
3420
 
     efficiently streaming the knit data for a set of versions over the smart
3421
 
     protocol.
3422
 
 
3423
 
   * Knits with no annotation cache still produce correct annotations.
3424
 
     (Aaron Bentley)
3425
 
 
3426
 
   * Three new methods have been added to ``bzrlib.trace``:
3427
 
     ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
3428
 
     ``set_verbosity_level`` expects a numeric value: negative for quiet,
3429
 
     zero for normal, positive for verbose. The size of the number can be
3430
 
     used to determine just how quiet or verbose the application should be.
3431
 
     The existing ``be_quiet`` and ``is_quiet`` routines have been
3432
 
     integrated into this new scheme. (Ian Clatworthy)
3433
 
 
3434
 
   * Options can now be delcared with a ``custom_callback`` parameter. If
3435
 
     set, this routine is called after the option is processed. This feature
3436
 
     is now used by the standard options ``verbose`` and ``quiet`` so that
3437
 
     setting one implicitly resets the other. (Ian Clatworthy)
3438
 
 
3439
 
   * Rather than declaring a new option from scratch in order to provide
3440
 
     custom help, a centrally registered option can be decorated using the
3441
 
     new ``bzrlib.Option.custom_help`` routine. In particular, this routine
3442
 
     is useful when declaring better help for the ``verbose`` and ``quiet``
3443
 
     standard options as the base definition of these is now more complex
3444
 
     than before thanks to their use of a custom callback. (Ian Clatworthy)
3445
 
      
3446
 
    * Tree._iter_changes(specific_file=[]) now iterates through no files,
3447
 
      instead of iterating through all files.  None is used to iterate through
3448
 
      all files.  (Aaron Bentley)
3449
 
 
3450
 
    * WorkingTree.revert() now accepts None to revert all files.  The use of
3451
 
      [] to revert all files is deprecated.  (Aaron Bentley)
3452
 
 
3453
 
 
3454
 
bzr 0.90 2007-08-28
3455
 
-------------------
3456
 
 
3457
 
  IMPROVEMENTS:
3458
 
 
3459
 
    * Documentation is now organized into multiple directories with a level
3460
 
      added for different languages or locales. Added the Mini Tutorial
3461
 
      and Quick Start Summary (en) documents from the Wiki, improving the
3462
 
      content and readability of the former. Formatted NEWS as Release Notes
3463
 
      complete with a Table of Conents, one heading per release. Moved the
3464
 
      Developer Guide into the main document catalog and provided a link
3465
 
      from the developer document catalog back to the main one.
3466
 
      (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
3467
 
 
3468
 
 
3469
 
  API CHANGES:
3470
 
 
3471
 
    * The static convenience method ``BzrDir.create_repository``
3472
 
      is deprecated.  Callers should instead create a ``BzrDir`` instance
3473
 
      and call ``create_repository`` on that.  (Martin Pool)
3474
 
 
3475
 
 
3476
 
bzr 0.90rc1 2007-08-14
3477
 
----------------------
3478
 
 
3479
 
  BUGFIXES:
3480
 
 
3481
 
    * ``bzr init`` should connect to the remote location one time only.  We
3482
 
      have been connecting several times because we forget to pass around the
3483
 
      Transport object. This modifies ``BzrDir.create_branch_convenience``,
3484
 
      so that we can give it the Transport we already have.
3485
 
      (John Arbash Meinel, Vincent Ladeuil, #111702)
3486
 
 
3487
 
    * Get rid of sftp connection cache (get rid of the FTP one too).
3488
 
      (Vincent Ladeuil, #43731)
3489
 
 
3490
 
    * bzr branch {local|remote} remote don't try to create a working tree
3491
 
      anymore.
3492
 
      (Vincent Ladeuil, #112173)
3493
 
 
3494
 
    * All identified multiple connections for a single bzr command have been
3495
 
      fixed. See bzrlib/tests/commands directory.
3496
 
      (Vincent Ladeuil)
3497
 
 
3498
 
    * ``bzr rm`` now does not insist on ``--force`` to delete files that
3499
 
      have been renamed but not otherwise modified.  (Marius Kruger,
3500
 
      #111664)
3501
 
 
3502
 
    * ``bzr selftest --bench`` no longer emits deprecation warnings
3503
 
      (Lukáš Lalinský)
3504
 
 
3505
 
    * ``bzr status`` now honours FILE parameters for conflict lists
3506
 
      (Aaron Bentley, #127606)
3507
 
 
3508
 
    * ``bzr checkout`` now honours -r when reconstituting a working tree.
3509
 
      It also honours -r 0.  (Aaron Bentley, #127708)
3510
 
 
3511
 
    * ``bzr add *`` no more fails on Windows if working tree contains
3512
 
      non-ascii file names. (Kuno Meyer, #127361)
3513
 
 
3514
 
    * allow ``easy_install bzr`` runs without fatal errors. 
3515
 
      (Alexander Belchenko, #125521)
3516
 
 
3517
 
    * Graph._filter_candidate_lca does not raise KeyError if a candidate
3518
 
      is eliminated just before it would normally be examined.  (Aaron Bentley)
3519
 
 
3520
 
    * SMTP connection failures produce a nice message, not a traceback.
3521
 
      (Aaron Bentley)
3522
 
 
3523
 
  IMPROVEMENTS:
3524
 
 
3525
 
    * Don't show "dots" progress indicators when run non-interactively, such
3526
 
      as from cron.  (Martin Pool)
3527
 
 
3528
 
    * ``info`` now formats locations more nicely and lists "submit" and
3529
 
      "public" branches (Aaron Bentley)
3530
 
 
3531
 
    * New ``pack`` command that will trigger database compression within
3532
 
      the repository (Robert Collins)
3533
 
 
3534
 
    * Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
3535
 
      version is approximately 2-3x faster at parsing a ``.kndx`` file.
3536
 
      Which yields a measurable improvement for commands which have to
3537
 
      read from the repository, such as a 1s => 0.75s improvement in
3538
 
      ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
3539
 
 
3540
 
    * Merge is now faster.  Depending on the scenario, it can be more than 2x
3541
 
      faster. (Aaron Bentley)
3542
 
 
3543
 
    * Give a clearer warning, and allow ``python setup.py install`` to
3544
 
      succeed even if pyrex is not available.
3545
 
      (John Arbash Meinel)
3546
 
 
3547
 
    * ``DirState._read_dirblocks`` now has an optional Pyrex
3548
 
      implementation. This improves the speed of any command that has to
3549
 
      read the entire DirState. (``diff``, ``status``, etc, improve by
3550
 
      about 10%).
3551
 
      ``bisect_dirblocks`` has also been improved, which helps all
3552
 
      ``_get_entry`` type calls (whenever we are searching for a
3553
 
      particular entry in the in-memory DirState).
3554
 
      (John Arbash Meinel)
3555
 
 
3556
 
    * ``bzr pull`` and ``bzr push`` no longer do a complete walk of the 
3557
 
      branch revision history for ui display unless -v is supplied.
3558
 
      (Robert Collins)
3559
 
 
3560
 
    * ``bzr log -rA..B`` output shifted to the left margin if the log only 
3561
 
      contains merge revisions. (Kent Gibson) 
3562
 
 
3563
 
    * The ``plugins`` command is now public with improved help.
3564
 
      (Ian Clatworthy)
3565
 
 
3566
 
    * New bundle and merge directive formats are faster to generate, and
3567
 
 
3568
 
    * Annotate merge now works when there are local changes. (Aaron Bentley)
3569
 
 
3570
 
    * Commit now only shows the progress in terms of directories instead of
3571
 
      entries. (Ian Clatworthy)
3572
 
 
3573
 
    * Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
3574
 
      times. This makes ``get_revision_graph`` 2x faster. (John Arbash
3575
 
      Meinel)
3576
 
 
3577
 
    * Fix ``VersionedFile.get_graph()`` to avoid using
3578
 
      ``set.difference_update(other)``, which has bad scaling when
3579
 
      ``other`` is large. This improves ``VF.get_graph([version_id])`` for
3580
 
      a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
3581
 
 
3582
 
    * The ``--lsprof-file`` option now generates output for KCacheGrind if
3583
 
      the file starts with ``callgrind.out``. This matches the default file
3584
 
      filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
3585
 
 
3586
 
    * Fix ``bzr update`` to avoid an unnecessary
3587
 
      ``branch.get_master_branch`` call, which avoids 1 extra connection
3588
 
      to the remote server. (Partial fix for #128076, John Arbash Meinel)
3589
 
 
3590
 
    * Log errors from the smart server in the trace file, to make debugging 
3591
 
      test failures (and live failures!) easier.  (Andrew Bennetts)
3592
 
 
3593
 
    * The HTML version of the man page has been superceded by a more
3594
 
      comprehensive manual called the Bazaar User Reference. This manual
3595
 
      is completed generated from the online help topics. As part of this
3596
 
      change, limited reStructuredText is now explicitly supported in help
3597
 
      topics and command help with 'unnatural' markup being removed prior
3598
 
      to display by the online help or inclusion in the man page.
3599
 
      (Ian Clatworthy)
3600
 
 
3601
 
    * HTML documentation now use files extension ``*.html``
3602
 
      (Alexander Belchenko)
3603
 
 
3604
 
    * The cache of ignore definitions is now cleared in WorkingTree.unlock()
3605
 
      so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
3606
 
 
3607
 
    * ``bzr selftest --strict`` fails if there are any missing features or
3608
 
      expected test failures. (Daniel Watkins, #111914)
3609
 
 
3610
 
    * Link to registration survey added to README. (Ian Clatworthy)
3611
 
 
3612
 
    * Windows standalone installer show link to registration survey
3613
 
      when installation finished. (Alexander Belchenko)
3614
 
 
3615
 
  LIBRARY API BREAKS:
3616
 
 
3617
 
    * Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
3618
 
      Options are now required to provide a help string and it must
3619
 
      comply with the style guide by being one or more sentences with an
3620
 
      initial capital and final period. (Martin Pool)
3621
 
 
3622
 
    * KnitIndex.get_parents now returns tuples. (Robert Collins)
3623
 
 
3624
 
    * Ancient unused ``Repository.text_store`` attribute has been removed.
3625
 
      (Robert Collins)
3626
 
 
3627
 
    * The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
3628
 
      rather than just bytestrings, making it easier to represent multiple
3629
 
      element names. As this interface was not used by any internal facilities
3630
 
      since it was introduced in 0.18 no API compatibility is being preserved.
3631
 
      The serialised form of these packs is identical with 0.18 when a single
3632
 
      element tuple is in use. (Robert Collins)
3633
 
 
3634
 
  INTERNALS:
3635
 
 
3636
 
    * merge now uses ``iter_changes`` to calculate changes, which makes room for
3637
 
      future performance increases.  It is also more consistent with other
3638
 
      operations that perform comparisons, and reduces reliance on
3639
 
      Tree.inventory.  (Aaron Bentley)
3640
 
 
3641
 
    * Refactoring of transport classes connected to a remote server.
3642
 
      ConnectedTransport is a new class that serves as a basis for all
3643
 
      transports needing to connect to a remote server.  transport.split_url
3644
 
      have been deprecated, use the static method on the object instead. URL
3645
 
      tests have been refactored too.
3646
 
      (Vincent Ladeuil)
3647
 
 
3648
 
    * Better connection sharing for ConnectedTransport objects.
3649
 
      transport.get_transport() now accepts a 'possible_transports' parameter.
3650
 
      If a newly requested transport can share a connection with one of the
3651
 
      list, it will.
3652
 
      (Vincent Ladeuil)
3653
 
 
3654
 
    * Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
3655
 
      the null revision, and consider using ``None`` for this purpose
3656
 
      deprecated.  (Aaron Bentley)
3657
 
 
3658
 
    * New ``index`` module with abstract index functionality. This will be
3659
 
      used during the planned changes in the repository layer. Currently the
3660
 
      index layer provides a graph aware immutable index, a builder for the
3661
 
      same index type to allow creating them, and finally a composer for
3662
 
      such indices to allow the use of many indices in a single query. The
3663
 
      index performance is not optimised, however the API is stable to allow
3664
 
      development on top of the index. (Robert Collins)
3665
 
 
3666
 
    * ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
3667
 
      their directory sections. This is equivalent to comparing
3668
 
      ``path.split('/')``, only without having to split the paths.
3669
 
      This has a Pyrex implementation available.
3670
 
      (John Arbash Meinel)
3671
 
 
3672
 
    * New transport decorator 'unlistable+' which disables the list_dir
3673
 
      functionality for testing.
3674
 
 
3675
 
    * Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
3676
 
 
3677
 
    * RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
3678
 
      for performing annotate-merge.  (Aaron Bentley)
3679
 
 
3680
 
    * New EmailMessage class to create email messages. (Adeodato Simó)
3681
 
 
3682
 
    * Unused functions on the private interface KnitIndex have been removed.
3683
 
      (Robert Collins)
3684
 
 
3685
 
    * New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
3686
 
      of a ``index.GraphIndex``. (Robert Collins)
3687
 
 
3688
 
    * New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
3689
 
      the parents of many knit nodes at once, reducing round trips to the 
3690
 
      underlying index. (Robert Collins)
3691
 
 
3692
 
    * Graph now has an is_ancestor method, various bits use it.
3693
 
      (Aaron Bentley)
3694
 
 
3695
 
    * The ``-Dhpss`` flag now includes timing information. As well as
3696
 
      logging when a new connection is opened. (John Arbash Meinel)
3697
 
 
3698
 
    * ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
3699
 
      callers when inserting data, allowing generation of readv style access
3700
 
      during pack creation, without needing a separate pass across the output
3701
 
      pack to gather such details. (Robert Collins)
3702
 
 
3703
 
    * ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
3704
 
      files that are stored on a transport. (Robert Collins)
3705
 
 
3706
 
    * New ``Repository.has_same_location`` method that reports if two
3707
 
      repository objects refer to the same repository (although with some risk
3708
 
      of false negatives).  (Andrew Bennetts)
3709
 
 
3710
 
    * InterTree.compare now passes require_versioned on correctly.
3711
 
      (Marius Kruger)
3712
 
 
3713
 
    * New methods on Repository - ``start_write_group``,
3714
 
      ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
3715
 
      which provide a clean hook point for transactional Repositories - ones
3716
 
      where all the data for a fetch or commit needs to be made atomically
3717
 
      available in one step. This allows the write lock to remain while making
3718
 
      a series of data insertions.  (e.g. data conversion). (Robert Collins)
3719
 
 
3720
 
    * In ``bzrlib.knit`` the internal interface has been altered to use
3721
 
      3-tuples (index, pos, length) rather than two-tuples (pos, length) to
3722
 
      describe where data in a knit is, allowing knits to be split into 
3723
 
      many files. (Robert Collins)
3724
 
 
3725
 
    * ``bzrlib.knit._KnitData`` split into cache management and physical access
3726
 
      with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
3727
 
      The former provides access into a .pack file, and the latter provides the
3728
 
      current production repository form of .knit files. (Robert Collins)
3729
 
 
3730
 
  TESTING:
3731
 
 
3732
 
    * Remove selftest ``--clean-output``, ``--numbered-dirs`` and
3733
 
      ``--keep-output`` options, which are obsolete now that tests
3734
 
      are done within directories in $TMPDIR.  (Martin Pool)
3735
 
 
3736
 
    * The SSH_AUTH_SOCK environment variable is now reset to avoid 
3737
 
      interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
3738
 
 
3739
 
    * run_bzr_subprocess handles parameters the same way as run_bzr:
3740
 
      either a string or a list of strings should be passed as the first
3741
 
      parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
3742
 
 
3743
 
 
3744
 
bzr 0.18  2007-07-17
3745
 
--------------------
3746
 
 
3747
 
  BUGFIXES:
3748
 
 
3749
 
    * Fix 'bzr add' crash under Win32 (Kuno Meyer)
3750
 
 
3751
 
 
3752
 
bzr 0.18rc1  2007-07-10
3753
 
-----------------------
3754
 
 
3755
 
  BUGFIXES:
3756
 
 
3757
 
    * Do not suppress pipe errors, etc. in non-display commands
3758
 
      (Alexander Belchenko, #87178)
3759
 
 
3760
 
    * Display a useful error message when the user requests to annotate
3761
 
      a file that is not present in the specified revision.
3762
 
      (James Westby, #122656)
3763
 
 
3764
 
    * Commands that use status flags now have a reference to 'help
3765
 
      status-flags'.  (Daniel Watkins, #113436)
3766
 
 
3767
 
    * Work around python-2.4.1 inhability to correctly parse the
3768
 
      authentication header.
3769
 
      (Vincent Ladeuil, #121889)
3770
 
 
3771
 
    * Use exact encoding for merge directives. (Adeodato Simó, #120591)
3772
 
 
3773
 
    * Fix tempfile permissions error in smart server tar bundling under
3774
 
      Windows. (Martin _, #119330)
3775
 
 
3776
 
    * Fix detection of directory entries in the inventory. (James Westby)
3777
 
 
3778
 
    * Fix handling of http code 400: Bad Request When issuing too many ranges.
3779
 
      (Vincent Ladeuil, #115209)
3780
 
 
3781
 
    * Issue a CONNECT request when connecting to an https server
3782
 
      via a proxy to enable SSL tunneling.
3783
 
      (Vincent Ladeuil, #120678)
3784
 
 
3785
 
    * Fix ``bzr log -r`` to support selecting merge revisions, both 
3786
 
      individually and as part of revision ranges.
3787
 
      (Kent Gibson, #4663)
3788
 
 
3789
 
    * Don't leave cruft behind when failing to acquire a lockdir.
3790
 
      (Martin Pool, #109169)
3791
 
 
3792
 
    * Don't use the '-f' strace option during tests.
3793
 
      (Vincent Ladeuil, #102019).
3794
 
 
3795
 
    * Warn when setting ``push_location`` to a value that will be masked by
3796
 
      locations.conf.  (Aaron Bentley, #122286)
3797
 
 
3798
 
    * Fix commit ordering in corner case (Aaron Bentley, #94975)
3799
 
 
3800
 
    *  Make annotate behave in a non-ASCII world (Adeodato Simó).
3801
 
 
3802
 
  IMPROVEMENTS:
3803
 
 
3804
 
    * The --lsprof-file option now dumps a text rendering of the profiling
3805
 
      information if the filename ends in ".txt". It will also convert the
3806
 
      profiling information to a format suitable for KCacheGrind if the
3807
 
      output filename ends in ".callgrind". Fixes to the lsprofcalltree
3808
 
      conversion process by Jean Paul Calderone and Itamar were also merged.
3809
 
      See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
3810
 
 
3811
 
    * ``info`` now defaults to non-verbose mode, displaying only paths and
3812
 
      abbreviated format info.  ``info -v`` displays all the information
3813
 
      formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
3814
 
 
3815
 
    * ``bzr missing`` now has better option names ``--this`` and ``--other``.
3816
 
      (Elliot Murphy)
3817
 
 
3818
 
    * The internal ``weave-list`` command has become ``versionedfile-list``,
3819
 
      and now lists knits as well as weaves.  (Aaron Bentley)
3820
 
 
3821
 
    * Automatic merge base selection uses a faster algorithm that chooses
3822
 
      better bases in criss-cross merge situations (Aaron Bentley)
3823
 
 
3824
 
    * Progress reporting in ``commit`` has been improved. The various logical
3825
 
      stages are now reported on as follows, namely:
3826
 
 
3827
 
      * Collecting changes [Entry x/y] - Stage n/m
3828
 
      * Saving data locally - Stage n/m
3829
 
      * Uploading data to master branch - Stage n/m
3830
 
      * Updating the working tree - Stage n/m
3831
 
      * Running post commit hooks - Stage n/m
3832
 
      
3833
 
      If there is no master branch, the 3rd stage is omitted and the total
3834
 
      number of stages is adjusted accordingly.
3835
 
 
3836
 
      Each hook that is run after commit is listed with a name (as hooks
3837
 
      can be slow it is useful feedback).
3838
 
      (Ian Clatworthy, Robert Collins)
3839
 
 
3840
 
    * Various operations that are now faster due to avoiding unnecessary
3841
 
      topological sorts. (Aaron Bentley)
3842
 
 
3843
 
    * Make merge directives robust against broken bundles. (Aaron Bentley)
3844
 
 
3845
 
    * The lsprof filename note is emitted via trace.note(), not standard
3846
 
      output.  (Aaron Bentley)
3847
 
 
3848
 
    * ``bzrlib`` now exports explicit API compatibility information to assist
3849
 
      library users and plugins. See the ``bzrlib.api`` module for details.
3850
 
      (Robert Collins)
3851
 
 
3852
 
    * Remove unnecessary lock probes when acquiring a lockdir.
3853
 
      (Martin Pool)
3854
 
 
3855
 
    * ``bzr --version`` now shows the location of the bzr log file, which
3856
 
      is especially useful on Windows.  (Martin Pool)
3857
 
 
3858
 
    * -D now supports hooks to get debug tracing of hooks (though its currently
3859
 
      minimal in nature). (Robert Collins)
3860
 
 
3861
 
    * Long log format reports deltas on merge revisions. 
3862
 
      (John Arbash Meinel, Kent Gibson)
3863
 
 
3864
 
    * Make initial push over ftp more resilient. (John Arbash Meinel)
3865
 
 
3866
 
    * Print a summary of changes for update just like pull does.
3867
 
      (Daniel Watkins, #113990)
3868
 
 
3869
 
    * Add a -Dhpss option to trace smart protocol requests and responses.
3870
 
      (Andrew Bennetts)
3871
 
 
3872
 
  LIBRARY API BREAKS:
3873
 
 
3874
 
    * Testing cleanups - 
3875
 
      ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
3876
 
      to ``bzrlib.tests.repository_implementations``;
3877
 
      ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
3878
 
      to ``bzrlib.tests.interrepository_implementations``;
3879
 
      ``bzrlib.transport.TransportTestProviderAdapter`` has moved to 
3880
 
      ``bzrlib.tests.test_transport_implementations``.
3881
 
      ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
3882
 
      ``bzrlib.tests.branch_implementations``.
3883
 
      ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to 
3884
 
      ``bzrlib.tests.bzrdir_implementations``.
3885
 
      ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
3886
 
      to ``bzrlib.tests.interversionedfile_implementations``.
3887
 
      ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
3888
 
      ``bzrlib.tests.revisionstore_implementations``.
3889
 
      ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
3890
 
      ``bzrlib.tests.workingtree_implementations``.
3891
 
      These changes are an API break in the testing infrastructure only.
3892
 
      (Robert Collins)
3893
 
 
3894
 
    * Relocate TestCaseWithRepository to be more central. (Robert Collins)
3895
 
 
3896
 
    * ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
3897
 
      win32. Callers of the function should do this and use the new
3898
 
      ``MutableTree.smart_add`` method instead. (Robert Collins)
3899
 
 
3900
 
    * ``bzrlib.add.glob_expand_for_win32`` is now
3901
 
      ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
3902
 
 
3903
 
    * ``bzrlib.add.FastPath`` is now private and moved to 
3904
 
      ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
3905
 
 
3906
 
    * ``LockDir.wait`` removed.  (Martin Pool)
3907
 
 
3908
 
    * The ``SmartServer`` hooks API has changed for the ``server_started`` and
3909
 
      ``server_stopped`` hooks. The first parameter is now an iterable of
3910
 
      backing URLs rather than a single URL. This is to reflect that many
3911
 
      URLs may map to the external URL of the server. E.g. the server interally
3912
 
      may have a chrooted URL but also the local file:// URL will be at the 
3913
 
      same location. (Robert Collins)
3914
 
 
3915
 
  INTERNALS:
3916
 
 
3917
 
    * New SMTPConnection class to unify email handling.  (Adeodato Simó)
3918
 
 
3919
 
    * Fix documentation of BzrError. (Adeodato Simó)
3920
 
 
3921
 
    * Make BzrBadParameter an internal error. (Adeodato Simó)
3922
 
 
3923
 
    * Remove use of 'assert False' to raise an exception unconditionally.
3924
 
      (Martin Pool)
3925
 
 
3926
 
    * Give a cleaner error when failing to decode knit index entry.
3927
 
      (Martin Pool)
3928
 
 
3929
 
    * TreeConfig would mistakenly search the top level when asked for options
3930
 
      from a section. It now respects the section argument and only
3931
 
      searches the specified section. (James Westby)
3932
 
 
3933
 
    * Improve ``make api-docs`` output. (John Arbash Meinel)
3934
 
 
3935
 
    * Use os.lstat rather than os.stat for osutils.make_readonly and
3936
 
      osutils.make_writeable. This makes the difftools plugin more
3937
 
      robust when dangling symlinks are found. (Elliot Murphy)
3938
 
 
3939
 
    * New ``-Dlock`` option to log (to ~/.bzr.log) information on when 
3940
 
      lockdirs are taken or released.  (Martin Pool)
3941
 
 
3942
 
    * ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This 
3943
 
      allows a nicer UI when hooks are running as the current hook can
3944
 
      be displayed. (Robert Collins)
3945
 
 
3946
 
    * ``Transport.get`` has had its interface made more clear for ease of use.
3947
 
      Retrieval of a directory must now fail with either 'PathError' at open
3948
 
      time, or raise 'ReadError' on a read. (Robert Collins)
3949
 
 
3950
 
    * New method ``_maybe_expand_globs`` on the ``Command`` class for 
3951
 
      dealing with unexpanded glob lists - e.g. on the win32 platform. This
3952
 
      was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
3953
 
 
3954
 
    * ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
3955
 
      deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
3956
 
      Martin Pool)
3957
 
 
3958
 
    * New method ``external_url`` on Transport for obtaining the url to
3959
 
      hand to external processes. (Robert Collins)
3960
 
 
3961
 
    * Teach windows installers to build pyrex/C extensions.
3962
 
      (Alexander Belchenko)
3963
 
 
3964
 
  TESTING:
3965
 
 
3966
 
    * Removed the ``--keep-output`` option from selftest and clean up test
3967
 
      directories as they're used.  This reduces the IO load from 
3968
 
      running the test suite and cuts the time by about half.
3969
 
      (Andrew Bennetts, Martin Pool)
3970
 
 
3971
 
    * Add scenarios as a public attribute on the TestAdapter classes to allow
3972
 
      modification of the generated scenarios before adaption and easier
3973
 
      testing. (Robert Collins)
3974
 
 
3975
 
    * New testing support class ``TestScenarioApplier`` which multiplies
3976
 
      out a single teste by a list of supplied scenarios. (RobertCollins)
3977
 
 
3978
 
    * Setting ``repository_to_test_repository`` on a repository_implementations
3979
 
      test will cause it to be called during repository creation, allowing the
3980
 
      testing of repository classes which are not based around the Format
3981
 
      concept. For example a repository adapter can be tested in this manner,
3982
 
      by altering the repository scenarios to include a scenario that sets this
3983
 
      attribute during the test parameterisation in
3984
 
      ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
3985
 
 
3986
 
    * Clean up many of the APIs for blackbox testing of Bazaar.  The standard 
3987
 
      interface is now self.run_bzr.  The command to run can be passed as
3988
 
      either a list of parameters, a string containing the command line, or
3989
 
      (deprecated) varargs parameters.  (Martin Pool)
3990
 
 
3991
 
    * The base TestCase now isolates tests from -D parameters by clearing
3992
 
      ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
3993
 
 
3994
 
    * Add a relpath parameter to get_transport methods in test framework to
3995
 
      avoid useless cloning.
3996
 
      (Vincent Ladeuil, #110448)
3997
 
 
3998
 
 
3999
 
bzr 0.17  2007-06-18
4000
 
--------------------
4001
 
 
4002
 
  BUGFIXES:
4003
 
 
4004
 
    * Fix crash of commit due to wrong lookup of filesystem encoding.
4005
 
      (Colin Watson, #120647)
4006
 
 
4007
 
    * Revert logging just to stderr in commit as broke unicode filenames.
4008
 
      (Aaron Bentley, Ian Clatworthy, #120930)
4009
 
 
4010
 
 
4011
 
bzr 0.17rc1  2007-06-12
4012
 
-----------------------
4013
 
 
4014
 
  NOTES WHEN UPGRADING:
4015
 
 
4016
 
    * The kind() and is_executable() APIs on the WorkingTree interface no
4017
 
      longer implicitly (read) locks and unlocks the tree. This *might*
4018
 
      impact some plug-ins and tools using this part of the API. If you find
4019
 
      an issue that may be caused by this change, please let us know,
4020
 
      particularly the plug-in/tool maintainer. If encountered, the API
4021
 
      fix is to surround kind() and is_executable() calls with lock_read()
4022
 
      and unlock() like so::
4023
 
 
4024
 
        work_tree.lock_read()
4025
 
        try:
4026
 
            kind = work_tree.kind(...)
4027
 
        finally:
4028
 
            work_tree.unlock()
4029
 
 
4030
 
  INTERNALS:
4031
 
    * Rework of LogFormatter API to provide beginning/end of log hooks and to
4032
 
      encapsulate the details of the revision to be logged in a LogRevision
4033
 
      object.
4034
 
      In long log formats, merge revision ids are only shown when --show-ids
4035
 
      is specified, and are labelled "revision-id:", as per mainline
4036
 
      revisions, instead of "merged:". (Kent Gibson)
4037
 
 
4038
 
    * New ``BranchBuilder`` API which allows the construction of particular
4039
 
      histories quickly. Useful for testing and potentially other applications
4040
 
      too. (Robert Collins)
4041
 
 
4042
 
  IMPROVEMENTS:
4043
 
  
4044
 
    * There are two new help topics, working-trees and repositories that
4045
 
      attempt to explain these concepts. (James Westby, John Arbash Meinel,
4046
 
      Aaron Bentley)
4047
 
 
4048
 
    * Added ``bzr log --limit`` to report a limited number of revisions.
4049
 
      (Kent Gibson, #3659)
4050
 
 
4051
 
    * Revert does not try to preserve file contents that were originally
4052
 
      produced by reverting to a historical revision.  (Aaron Bentley)
4053
 
 
4054
 
    * ``bzr log --short`` now includes ``[merge]`` for revisions which
4055
 
      have more than one parent. This is a small improvement to help
4056
 
      understanding what changes have occurred
4057
 
      (John Arbash Meinel, #83887)
4058
 
 
4059
 
    * TreeTransform avoids many renames when contructing large trees,
4060
 
      improving speed.  3.25x speedups have been observed for construction of
4061
 
      kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
4062
 
 
4063
 
    * Commit on large trees is now faster. In my environment, a commit of
4064
 
      a small change to the Mozilla tree (55k files) has dropped from
4065
 
      66 seconds to 32 seconds. For a small tree of 600 files, commit of a
4066
 
      small change is 33% faster. (Ian Clatworthy)
4067
 
 
4068
 
    * New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
4069
 
      #56322)
4070
 
 
4071
 
  BUGFIXES:
4072
 
 
4073
 
    * ``bzr push`` should only connect to the remote location one time.
4074
 
      We have been connecting 3 times because we forget to pass around
4075
 
      the Transport object. This adds ``BzrDir.clone_on_transport()``, so
4076
 
      that we can pass in the Transport that we already have.
4077
 
      (John Arbash Meinel, #75721)
4078
 
 
4079
 
    * ``DirState.set_state_from_inventory()`` needs to properly order
4080
 
      based on split paths, not just string paths.
4081
 
      (John Arbash Meinel, #115947)
4082
 
 
4083
 
    * Let TestUIFactoy encode the password prompt with its own stdout.
4084
 
      (Vincent Ladeuil, #110204)
4085
 
 
4086
 
    * pycurl should take use the range header that takes the range hint
4087
 
      into account.
4088
 
      (Vincent Ladeuil, #112719)
4089
 
 
4090
 
    * WorkingTree4.get_file_sha1 no longer raises an exception when invoked
4091
 
      on a missing file.  (Aaron Bentley, #118186)
4092
 
 
4093
 
    * WorkingTree.remove works correctly with tree references, and when pwd is
4094
 
      not the tree root. (Aaron Bentley)
4095
 
 
4096
 
    * Merge no longer fails when a file is renamed in one tree and deleted
4097
 
      in the other. (Aaron Bentley, #110279)
4098
 
 
4099
 
    * ``revision-info`` now accepts dotted revnos, doesn't require a tree,
4100
 
      and defaults to the last revision (Matthew Fuller, #90048)
4101
 
 
4102
 
    * Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
4103
 
      (Daniel Watkins, #111958)
4104
 
 
4105
 
    * ``bzr branch -r revid:foo`` can be used to branch any revision in
4106
 
      your repository. (Previously Branch6 only supported revisions in your
4107
 
      mainline). (John Arbash Meinel, #115343)
4108
 
 
4109
 
bzr 0.16  2007-05-07
4110
 
--------------------
4111
 
  
4112
 
  BUGFIXES:
4113
 
 
4114
 
    * Handle when you have 2 directories with similar names, but one has a
4115
 
      hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
4116
 
      iterator was using direct comparison and ``'abc/a'`` sorts after
4117
 
      ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
4118
 
      (John Arbash Meinel, #111227)
4119
 
 
4120
 
    * Handle when someone renames a file on disk without telling bzr.
4121
 
      Previously we would report the first file as missing, but not show
4122
 
      the new unknown file. (John Arbash Meinel, #111288)
4123
 
 
4124
 
    * Avoid error when running hooks after pulling into or pushing from
4125
 
      a branch bound to a smartserver branch.  (Martin Pool, #111968)
4126
 
 
4127
 
  IMPROVEMENTS:
4128
 
 
4129
 
    * Move developer documentation to doc/developers/. This reduces clutter in
4130
 
      the root of the source tree and allows HACKING to be split into multiple
4131
 
      files. (Robert Collins, Alexander Belchenko)
4132
 
 
4133
 
    * Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
4134
 
      ``DirState.update_entry()``. This optimizes the core logic for ``bzr
4135
 
      diff`` and ``bzr status`` significantly improving the speed of
4136
 
      both. (John Arbash Meinel)
4137
 
 
4138
 
bzr 0.16rc2  2007-04-30
4139
 
-----------------------
4140
 
 
4141
 
  BUGFIXES:
4142
 
 
4143
 
    * Handle the case when you delete a file, and then rename another file
4144
 
      on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
4145
 
      status`` should show the removed file and an unknown file in its
4146
 
      place. (John Arbash Meinel, #109993)
4147
 
 
4148
 
    * Bundles properly read and write revision properties that have an
4149
 
      empty value. And when the value is not ASCII.
4150
 
      (John Arbash Meinel, #109613)
4151
 
 
4152
 
    * Fix the bzr commit message to be in text mode.
4153
 
      (Alexander Belchenko, #110901)
4154
 
 
4155
 
    * Also handle when you rename a file and create a file where it used
4156
 
      to be. (John Arbash Meinel, #110256)
4157
 
 
4158
 
    * ``WorkingTree4._iter_changes`` should not descend into unversioned
4159
 
      directories. (John Arbash Meinel, #110399)
4160
 
 
4161
 
bzr 0.16rc1  2007-04-26
4162
 
-----------------------
4163
 
 
4164
 
  NOTES WHEN UPGRADING:
4165
 
 
4166
 
    * ``bzr remove`` and ``bzr rm`` will now remove the working file, if
4167
 
      it could be recovered again.
4168
 
      This has been done for consistency with svn and the unix rm command.
4169
 
      The old ``remove`` behaviour has been retained in the new option
4170
 
      ``bzr remove --keep``, which will just stop versioning the file,
4171
 
      but not delete it.
4172
 
      ``bzr remove --force`` have been added which will always delete the
4173
 
      files.
4174
 
      ``bzr remove`` is also more verbose.
4175
 
      (Marius Kruger, #82602)
4176
 
 
4177
 
  IMPROVEMENTS:
4178
 
 
4179
 
    * Merge directives can now be supplied as input to `merge` and `pull`,
4180
 
      like bundles can.  (Aaron Bentley)
4181
 
 
4182
 
    * Sending the SIGQUIT signal to bzr, which can be done on Unix by
4183
 
      pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
4184
 
      to continue.  This can be disabled by setting the environment variable
4185
 
      ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
4186
 
 
4187
 
    * selftest now supports --list-only to list tests instead of running
4188
 
      them. (Ian Clatworthy)
4189
 
 
4190
 
    * selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
4191
 
      tests with names that match that regular expression.
4192
 
      (Ian Clatworthy, #102679)
4193
 
 
4194
 
    * selftest now supports --randomize SEED to run tests in a random order.
4195
 
      SEED is typically the value 'now' meaning 'use the current time'.
4196
 
      (Ian Clatworthy, #102686)
4197
 
 
4198
 
    * New option ``--fixes`` to commit, which stores bug fixing annotations as
4199
 
      revision properties. Built-in support for Launchpad, Debian, Trac and
4200
 
      Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
4201
 
 
4202
 
    * New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
4203
 
      other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
4204
 
      Robert Collins)
4205
 
 
4206
 
    * ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
4207
 
      Pool)
4208
 
 
4209
 
    * ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
4210
 
      into using local variables instead of going through ``self._var``.
4211
 
      Improves the time to ``merge_sort`` a 10k revision graph by
4212
 
      approximately 40% (~700->400ms).  (John Arbash Meinel)
4213
 
 
4214
 
    * ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
4215
 
      (Robert Collins)
4216
 
 
4217
 
    * ``bzr help`` now provides cross references to other help topics using
4218
 
      the _see_also facility on command classes. Likewise the bzr_man
4219
 
      documentation, and the bzr.1 man page also include this information.
4220
 
      (Robert Collins)
4221
 
 
4222
 
    * Tags are now included in logs, that use the long log formatter. 
4223
 
      (Erik Bågfors, Alexander Belchenko)
4224
 
 
4225
 
    * ``bzr help`` provides a clearer message when a help topic cannot be
4226
 
      found. (Robert Collins, #107656)
4227
 
 
4228
 
    * ``bzr help`` now accepts optional prefixes for command help. The help
4229
 
      for all commands can now be found at ``bzr help commands/COMMANDNAME``
4230
 
      as well as ``bzr help COMMANDNAME`` (which only works for commands 
4231
 
      where the name is not the same as a more general help topic). 
4232
 
      (Robert Collins)
4233
 
 
4234
 
    * ``bzr help PLUGINNAME`` will now return the module docstring from the
4235
 
      plugin PLUGINNAME. (Robert Collins, #50408)
4236
 
 
4237
 
    * New help topic ``urlspec`` which lists the availables transports.
4238
 
      (Goffredo Baroncelli)
4239
 
 
4240
 
    * doc/server.txt updated to document the default bzr:// port
4241
 
      and also update the blurb about the hpss' current status.
4242
 
      (Robert Collins, #107125).
4243
 
 
4244
 
    * ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
4245
 
      serve out to the local LAN (and anyone in the world that can reach the
4246
 
      machine running ``bzr serve``. (Robert Collins, #98918)
4247
 
 
4248
 
    * A new smart server protocol version has been added.  It prefixes requests
4249
 
      and responses with an explicit version identifier so that future protocol
4250
 
      revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
4251
 
 
4252
 
    * The bzr protocol version 2 indicates success or failure in every response
4253
 
      without depending on particular commands encoding that consistently,
4254
 
      allowing future client refactorings to be much more robust about error
4255
 
      handling. (Robert Collins, Martin Pool, Andrew Bennetts)
4256
 
 
4257
 
    * The smart protocol over HTTP client has been changed to always post to the
4258
 
      same ``.bzr/smart`` URL under the original location when it can.  This allows
4259
 
      HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
4260
 
      server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
4261
 
 
4262
 
    * digest authentication is now supported for proxies and HTTP by the urllib
4263
 
      based http implementation. Tested against Apache 2.0.55 and Squid
4264
 
      2.6.5. Basic and digest authentication are handled coherently for HTTP
4265
 
      and proxy: if the user is provided in the url (bzr command line for HTTP,
4266
 
      proxy environment variables for proxies), the password is prompted for
4267
 
      (only once). If the password is provided, it is taken into account. Once
4268
 
      the first authentication is successful, all further authentication
4269
 
      roundtrips are avoided by preventively setting the right authentication
4270
 
      header(s).
4271
 
      (Vincent Ladeuil).
4272
 
 
4273
 
  INTERNALS:
4274
 
 
4275
 
    * bzrlib API compatability with 0.8 has been dropped, cleaning up some
4276
 
      code paths. (Robert Collins)
4277
 
 
4278
 
    * Change the format of chroot urls so that they can be safely manipulated
4279
 
      by generic url utilities without causing the resulting urls to have
4280
 
      escaped the chroot. A side effect of this is that creating a chroot
4281
 
      requires an explicit action using a ChrootServer.
4282
 
      (Robert Collins, Andrew Bennetts)
4283
 
 
4284
 
    * Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
4285
 
      rather than fixing bug #96847.  (Aaron Bentley)
4286
 
 
4287
 
    * ``WorkingTree.apply_inventory_delta`` provides a better alternative to
4288
 
      ``WorkingTree._write_inventory``.  (Aaron Bentley)
4289
 
 
4290
 
    * Convenience method ``TestCase.expectFailure`` ensures that known failures
4291
 
      do not silently pass.  (Aaron Bentley)
4292
 
 
4293
 
    * ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than 
4294
 
      ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
4295
 
 
4296
 
    * New SmartServer hooks facility. There are two initial hooks documented
4297
 
      in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
4298
 
      plugins to execute code upon server startup and shutdown.
4299
 
      (Robert Collins).
4300
 
 
4301
 
    * SmartServer in standalone mode will now close its listening socket
4302
 
      when it stops, rather than waiting for garbage collection. This primarily
4303
 
      fixes test suite hangs when a test tries to connect to a shutdown server.
4304
 
      It may also help improve behaviour when dealing with a server running
4305
 
      on a specific port (rather than dynamically assigned ports).
4306
 
      (Robert Collins)
4307
 
 
4308
 
    * Move most SmartServer code into a new package, bzrlib/smart.
4309
 
      bzrlib/transport/remote.py contains just the Transport classes that used
4310
 
      to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
4311
 
 
4312
 
    * urllib http implementation avoid roundtrips associated with
4313
 
      401 (and 407) errors once the authentication succeeds.
4314
 
      (Vincent Ladeuil).
4315
 
 
4316
 
    * urlib http now supports querying the user for a proxy password if
4317
 
      needed. Realm is shown in the prompt for both HTTP and proxy
4318
 
      authentication when the user is required to type a password. 
4319
 
      (Vincent Ladeuil).
4320
 
 
4321
 
    * Renamed SmartTransport (and subclasses like SmartTCPTransport) to
4322
 
      RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
4323
 
      consistent with its new home in ``bzrlib/transport/remote.py``, and because
4324
 
      it's not really a "smart" transport, just one that does file operations
4325
 
      via remote procedure calls.  (Andrew Bennetts)
4326
 
 
4327
 
    * The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
4328
 
      ``Branch`` now accept a ``token`` keyword argument, so that separate
4329
 
      instances of those objects can share a lock if it has the right token.
4330
 
      (Andrew Bennetts, Robert Collins)
4331
 
 
4332
 
    * New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
4333
 
      branch references - which the smart server component needs.
4334
 
 
4335
 
    * The Repository API ``make_working_trees`` is now permitted to return
4336
 
      False when ``set_make_working_trees`` is not implemented - previously
4337
 
      an unimplemented ``set_make_working_trees`` implied the result True
4338
 
      from ``make_working_trees``. This has been changed to accomodate the
4339
 
      smart server, where it does not make sense (at this point) to ever
4340
 
      make working trees by default. (Robert Collins)
4341
 
 
4342
 
    * Command objects can now declare related help topics by having _see_also
4343
 
      set to a list of related topic. (Robert Collins)
4344
 
 
4345
 
    * ``bzrlib.help`` now delegates to the Command class for Command specific
4346
 
      help. (Robert Collins)
4347
 
 
4348
 
    * New class ``TransportListRegistry``, derived from the Registry class, which 
4349
 
      simplifies tracking the available Transports. (Goffredo Baroncelli)
4350
 
 
4351
 
    * New function ``Branch.get_revision_id_to_revno_map`` which will
4352
 
      return a dictionary mapping revision ids to dotted revnos. Since
4353
 
      dotted revnos are defined in the context of the branch tip, it makes
4354
 
      sense to generate them from a ``Branch`` object.
4355
 
      (John Arbash Meinel)
4356
 
 
4357
 
    * Fix the 'Unprintable error' message display to use the repr of the 
4358
 
      exception that prevented printing the error because the str value
4359
 
      for it is often not useful in debugging (e.g. KeyError('foo') has a
4360
 
      str() of 'foo' but a repr of 'KeyError('foo')' which is much more
4361
 
      useful. (Robert Collins)
4362
 
 
4363
 
    * ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
4364
 
      (Andrew Bennetts)
4365
 
 
4366
 
  BUGFIXES:
4367
 
 
4368
 
    * Don't fail bundle selftest if email has 'two' embedded.  
4369
 
      (Ian Clatworthy, #98510)
4370
 
 
4371
 
    * Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
4372
 
      (Robert Widhopf-Fenk, #98591)
4373
 
 
4374
 
    * Remove ``--basis`` from the checkout/branch commands - it didn't work
4375
 
      properly and is no longer beneficial.
4376
 
      (Robert Collins, #53675, #43486)
4377
 
 
4378
 
    * Don't produce encoding error when adding duplicate files.
4379
 
      (Aaron Bentley)
4380
 
 
4381
 
    * Fix ``bzr log <file>`` so it only logs the revisions that changed
4382
 
      the file, and does it faster.
4383
 
      (Kent Gibson, John Arbash Meinel, #51980, #69477)
4384
 
 
4385
 
    * Fix ``InterDirstateTre._iter_changes`` to handle when we come across
4386
 
      an empty versioned directory, which now has files in it.
4387
 
      (John Arbash Meinel, #104257)
4388
 
 
4389
 
    * Teach ``common_ancestor`` to shortcut when the tip of one branch is
4390
 
      inside the ancestry of the other. Saves a lot of graph processing
4391
 
      (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
4392
 
      changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
4393
 
 
4394
 
    * Fix ``show_diff_trees`` to handle the case when a file is modified,
4395
 
      and the containing directory is renamed. (The file path is different
4396
 
      in this versus base, but it isn't marked as a rename).
4397
 
      (John Arbash Meinel, #103870)
4398
 
 
4399
 
    * FTP now works even when the FTP server does not support atomic rename.
4400
 
      (Aaron Bentley, #89436)
4401
 
 
4402
 
    * Correct handling in bundles and merge directives of timezones with
4403
 
      that are not an integer number of hours offset from UTC.  Always 
4404
 
      represent the epoch time in UTC to avoid problems with formatting 
4405
 
      earlier times on win32.  (Martin Pool, Alexander Belchenko, John
4406
 
      Arbash Meinel)
4407
 
 
4408
 
    * Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
4409
 
 
4410
 
    * "dirstate" and "dirstate-tags" formats now produce branches compatible
4411
 
      with old versions of bzr. (Aaron Bentley, #107168))
4412
 
 
4413
 
    * Handle moving a directory when children have been added, removed,
4414
 
      and renamed. (John Arbash Meinel, #105479)
4415
 
 
4416
 
    * Don't preventively use basic authentication for proxy before receiving a
4417
 
      407 error. Otherwise people willing to use other authentication schemes
4418
 
      may expose their password in the clear (or nearly). This add one
4419
 
      roundtrip in case basic authentication should be used, but plug the
4420
 
      security hole.
4421
 
      (Vincent Ladeuil)
4422
 
 
4423
 
    * Handle http and proxy digest authentication.
4424
 
      (Vincent Ladeuil, #94034).
4425
 
 
4426
 
  TESTING:
4427
 
 
4428
 
    * Added ``bzrlib.strace.strace`` which will strace a single callable and
4429
 
      return a StraceResult object which contains just the syscalls involved
4430
 
      in running it. (Robert Collins)
4431
 
 
4432
 
    * New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
4433
 
      default time down to one suitable for tests. (Andrew Bennetts)
4434
 
 
4435
 
    * Add new ``vfs_transport_factory`` attribute on tests which provides the 
4436
 
      common vfs backing for both the readonly and readwrite transports.
4437
 
      This allows the RemoteObject tests to back onto local disk or memory,
4438
 
      and use the existing ``transport_server`` attribute all tests know about
4439
 
      to be the smart server transport. This in turn allows tests to 
4440
 
      differentiate between 'transport to access the branch', and 
4441
 
      'transport which is a VFS' - which matters in Remote* tests.
4442
 
      (Robert Collins, Andrew Bennetts)
4443
 
 
4444
 
    * The ``make_branch_and_tree`` method for tests will now create a 
4445
 
      lightweight checkout for the tree if the ``vfs_transport_factory`` is not
4446
 
      a LocalURLServer. (Robert Collins, Andrew Bennetts)
4447
 
 
4448
 
    * Branch implementation tests have been audited to ensure that all urls 
4449
 
      passed to Branch APIs use proper urls, except when local-disk paths
4450
 
      are intended. This is so that tests correctly access the test transport
4451
 
      which is often not equivalent to local disk in Remote* tests. As part
4452
 
      of this many tests were adjusted to remove dependencies on local disk
4453
 
      access.
4454
 
      (Robert Collins, Andrew Bennetts)
4455
 
 
4456
 
    * Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
4457
 
      functions by adding a ``__unittest`` global attribute. (Robert Collins,
4458
 
      Andrew Bennetts, Martin Pool, Jonathan Lange)
4459
 
 
4460
 
    * Refactored proxy and authentication handling to simplify the
4461
 
      implementation of new auth schemes for both http and proxy. 
4462
 
      (Vincent Ladeuil)
4463
 
 
4464
 
bzr 0.15 2007-04-01
4465
 
-------------------
4466
 
 
4467
 
  BUGFIXES:
4468
 
 
4469
 
    * Handle incompatible repositories as a user issue when fetching.
4470
 
      (Aaron Bentley)
4471
 
 
4472
 
    * Don't give a recommendation to upgrade when branching or 
4473
 
      checking out a branch that contains an old-format working tree.
4474
 
      (Martin Pool)
4475
 
 
4476
 
bzr 0.15rc3  2007-03-26
4477
 
-----------------------
4478
 
 
4479
 
  CHANGES:
4480
 
 
4481
 
    * A warning is now displayed when opening working trees in older 
4482
 
      formats, to encourage people to upgrade to WorkingTreeFormat4.
4483
 
      (Martin Pool)
4484
 
 
4485
 
  IMPROVEMENTS:
4486
 
 
4487
 
    * HTTP redirections are now taken into account when a branch (or a
4488
 
      bundle) is accessed for the first time. A message is issued at each
4489
 
      redirection to inform the user. In the past, http redirections were
4490
 
      silently followed for each request which significantly degraded the
4491
 
      performances. The http redirections are not followed anymore by
4492
 
      default, instead a RedirectRequested exception is raised. For bzrlib
4493
 
      users needing to follow http redirections anyway,
4494
 
      ``bzrlib.transport.do_catching_redirections`` provide an easy transition
4495
 
      path.  (vila)
4496
 
 
4497
 
  INTERNALS:
4498
 
 
4499
 
    * Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
4500
 
      lock to an OS write lock. Linux can do this without unlocking, Win32
4501
 
      needs to unlock in between. (John Arbash Meinel)
4502
 
 
4503
 
    * New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
4504
 
      to silence (when false) warnings about opening old formats.
4505
 
      (Martin Pool)
4506
 
 
4507
 
    * Fix minor performance regression with bzr-0.15 on pre-dirstate
4508
 
      trees. (We were reading the working inventory too many times).
4509
 
      (John Arbash Meinel)
4510
 
 
4511
 
    * Remove ``Branch.get_transaction()`` in favour of a simple cache of
4512
 
      ``revision_history``.  Branch subclasses should override
4513
 
      ``_gen_revision_history`` rather than ``revision_history`` to make use of
4514
 
      this cache, and call ``_clear_revision_history_cache`` and
4515
 
      ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
4516
 
 
4517
 
  BUGFIXES:
4518
 
 
4519
 
    * Take ``smtp_server`` from user config into account.
4520
 
      (vila, #92195)
4521
 
 
4522
 
    * Restore Unicode filename handling for versioned and unversioned files.
4523
 
      (John Arbash Meinel, #92608)
4524
 
 
4525
 
    * Don't fail during ``bzr commit`` if a file is marked removed, and
4526
 
      the containing directory is auto-removed.  (John Arbash Meinel, #93681)
4527
 
 
4528
 
    * ``bzr status FILENAME`` failed on Windows because of an uncommon
4529
 
      errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
4530
 
      (Wouter van Heyst, John Arbash Meinel, #90819)
4531
 
 
4532
 
    * ``bzr checkout source`` should create a local branch in the same
4533
 
      format as source. (John Arbash Meinel, #93854)
4534
 
 
4535
 
    * ``bzr commit`` with a kind change was failing to update the
4536
 
      last-changed-revision for directories.  The
4537
 
      InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
4538
 
      ignoring the fact that the kind could have changed, too.
4539
 
      (John Arbash Meinel, #90111)
4540
 
 
4541
 
    * ``bzr mv dir/subdir other`` was incorrectly updating files inside
4542
 
      the directory. So that there was a chance it would break commit,
4543
 
      etc. (John Arbash Meinel, #94037)
4544
 
 
4545
 
    * Correctly handles mutiple permanent http redirections.
4546
 
      (vila, #88780)
4547
 
 
4548
 
bzr 0.15rc2  2007-03-14
4549
 
-----------------------
4550
 
 
4551
 
  NOTES WHEN UPGRADING:
4552
 
        
4553
 
    * Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
4554
 
      default to ``--trees`` instead of ``--no-trees``.
4555
 
      Existing shared repositories are not affected.
4556
 
 
4557
 
  IMPROVEMENTS:
4558
 
 
4559
 
    * New ``merge-directive`` command to generate machine- and human-readable
4560
 
      merge requests.  (Aaron Bentley)
4561
 
 
4562
 
    * New ``submit:`` revision specifier makes it easy to diff against the
4563
 
      common ancestor with the submit location (Aaron Bentley)
4564
 
 
4565
 
    * Added support for Putty's SSH implementation. (Dmitry Vasiliev)
4566
 
 
4567
 
    * Added ``bzr status --versioned`` to report only versioned files, 
4568
 
      not unknowns. (Kent Gibson)
4569
 
 
4570
 
    * Merge now autodetects the correct line-ending style for its conflict
4571
 
      markers.  (Aaron Bentley)
4572
 
 
4573
 
  INTERNALS:
4574
 
 
4575
 
    * Refactored SSH vendor registration into SSHVendorManager class.
4576
 
      (Dmitry Vasiliev)
4577
 
 
4578
 
  BUGFIXES:
4579
 
 
4580
 
    * New ``--numbered-dirs`` option to ``bzr selftest`` to use
4581
 
      numbered dirs for TestCaseInTempDir. This is default behavior
4582
 
      on Windows. Anyone can force named dirs on Windows
4583
 
      with ``--no-numbered-dirs``. (Alexander Belchenko)
4584
 
 
4585
 
    * Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
4586
 
      from the command line. (Marien Zwart, #90501)
4587
 
 
4588
 
    * Fix ``TreeTransform._iter_changes`` when both the source and
4589
 
      destination are missing. (Aaron Bentley, #88842)
4590
 
 
4591
 
    * Fix commit of merges with symlinks in dirstate trees.
4592
 
      (Marien Zwart)
4593
 
    
4594
 
    * Switch the ``bzr init-repo`` default from --no-trees to --trees. 
4595
 
      (Wouter van Heyst, #53483)
4596
 
 
4597
 
 
4598
 
bzr 0.15rc1  2007-03-07
4599
 
-----------------------
4600
 
 
4601
 
  SURPRISES:
4602
 
 
4603
 
    * The default disk format has changed. Please run 'bzr upgrade' in your
4604
 
      working trees to upgrade. This new default is compatible for network
4605
 
      operations, but not for local operations. That is, if you have two
4606
 
      versions of bzr installed locally, after upgrading you can only use the
4607
 
      bzr 0.15 version. This new default does not enable tags or nested-trees
4608
 
      as they are incompatible with bzr versions before 0.15 over the network.
4609
 
 
4610
 
    * For users of bzrlib: Two major changes have been made to the working tree
4611
 
      api in bzrlib. The first is that many methods and attributes, including
4612
 
      the inventory attribute, are no longer valid for use until one of
4613
 
      ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
4614
 
      and become invalid again after unlock is called. This has been done
4615
 
      to improve performance and correctness as part of the dirstate
4616
 
      development.
4617
 
      (Robert Collins, John A Meinel, Martin Pool, and others).
4618
 
 
4619
 
    * For users of bzrlib: The attribute 'tree.inventory' should be considered
4620
 
      readonly. Previously it was possible to directly alter this attribute, or
4621
 
      its contents, and have the tree notice this. This has been made
4622
 
      unsupported - it may work in some tree formats, but in the newer dirstate
4623
 
      format such actions will have no effect and will be ignored, or even
4624
 
      cause assertions. All operations possible can still be carried out by a
4625
 
      combination of the tree API, and the bzrlib.transform API. (Robert
4626
 
      Collins, John A Meinel, Martin Pool, and others).
4627
 
 
4628
 
  IMPROVEMENTS:
4629
 
 
4630
 
    * Support for OS Windows 98. Also .bzr.log on any windows system
4631
 
      saved in My Documents folder. (Alexander Belchenko)
4632
 
 
4633
 
    * ``bzr mv`` enhanced to support already moved files.
4634
 
      In the past the mv command would have failed if the source file doesn't
4635
 
      exist. In this situation ``bzr mv`` would now detect that the file has
4636
 
      already moved and update the repository accordingly, if the target file
4637
 
      does exist.
4638
 
      A new option ``--after`` has been added so that if two files already
4639
 
      exist, you could notify Bazaar that you have moved a (versioned) file
4640
 
      and replaced it with another. Thus in this case ``bzr move --after``
4641
 
      will only update the Bazaar identifier.
4642
 
      (Steffen Eichenberg, Marius Kruger)
4643
 
 
4644
 
    * ``ls`` now works on treeless branches and remote branches.
4645
 
      (Aaron Bentley)
4646
 
 
4647
 
    * ``bzr help global-options`` describes the global options.
4648
 
      (Aaron Bentley)
4649
 
 
4650
 
    * ``bzr pull --overwrite`` will now correctly overwrite checkouts.
4651
 
      (Robert Collins)
4652
 
 
4653
 
    * Files are now allowed to change kind (e.g. from file to symlink).
4654
 
      Supported by ``commit``, ``revert`` and ``status``
4655
 
      (Aaron Bentley)
4656
 
 
4657
 
    * ``inventory`` and ``unknowns`` hidden in favour of ``ls``
4658
 
      (Aaron Bentley)
4659
 
 
4660
 
    * ``bzr help checkouts`` descibes what checkouts are and some possible
4661
 
      uses of them. (James Westby, Aaron Bentley)
4662
 
 
4663
 
    * A new ``-d`` option to push, pull and merge overrides the default 
4664
 
      directory.  (Martin Pool)
4665
 
 
4666
 
    * Branch format 6: smaller, and potentially faster than format 5.  Supports
4667
 
      ``append_history_only`` mode, where the log view and revnos do not change,
4668
 
      except by being added to.  Stores policy settings in
4669
 
      ".bzr/branch/branch.conf".
4670
 
 
4671
 
    * ``append_only`` branches:  Format 6 branches may be configured so that log
4672
 
      view and revnos are always consistent.  Either create the branch using
4673
 
      "bzr init --append-revisions-only" or edit the config file as descriped
4674
 
      in docs/configuration.txt.
4675
 
 
4676
 
    * rebind: Format 6 branches retain the last-used bind location, so if you
4677
 
      "bzr unbind", you can "bzr bind" to bind to the previously-selected
4678
 
      bind location.
4679
 
 
4680
 
    * Builtin tags support, created and deleted by the ``tag`` command and
4681
 
      stored in the branch.  Tags can be accessed with the revisionspec
4682
 
      ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned 
4683
 
      at present. Tags require a network incompatible upgrade. To perform this
4684
 
      upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
4685
 
      repositories. (Martin Pool)
4686
 
 
4687
 
    * The ``bzr://`` transport now has a well-known port number, 4155,
4688
 
      which it will use by default.  (Andrew Bennetts, Martin Pool)
4689
 
 
4690
 
    * Bazaar now looks for user-installed plugins before looking for site-wide
4691
 
      plugins. (Jonathan Lange)
4692
 
 
4693
 
    * ``bzr resolve`` now detects and marks resolved text conflicts.
4694
 
      (Aaron Bentley)
4695
 
 
4696
 
  INTERNALS:
4697
 
 
4698
 
    * Internally revision ids and file ids are now passed around as utf-8
4699
 
      bytestrings, rather than treating them as Unicode strings. This has
4700
 
      performance benefits for Knits, since we no longer need to decode the
4701
 
      revision id for each line of content, nor for each entry in the index.
4702
 
      This will also help with the future dirstate format.
4703
 
      (John Arbash Meinel)
4704
 
 
4705
 
    * Reserved ids (any revision-id ending in a colon) are rejected by
4706
 
      versionedfiles, repositories, branches, and working trees
4707
 
      (Aaron Bentley)
4708
 
 
4709
 
    * Minor performance improvement by not creating a ProgressBar for
4710
 
      every KnitIndex we create. (about 90ms for a bzr.dev tree)
4711
 
      (John Arbash Meinel)
4712
 
 
4713
 
    * New easier to use Branch hooks facility. There are five initial hooks,
4714
 
      all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
4715
 
      ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
4716
 
      ``'post_uncommit'``. These hooks fire after the matching operation
4717
 
      on a branch has taken place, and were originally added for the
4718
 
      branchrss plugin. (Robert Collins)
4719
 
 
4720
 
    * New method ``Branch.push()`` which should be used when pushing from a
4721
 
      branch as it makes performance and policy decisions to match the UI
4722
 
      level command ``push``. (Robert Collins).
4723
 
 
4724
 
    * Add a new method ``Tree.revision_tree`` which allows access to cached
4725
 
      trees for arbitrary revisions. This allows the in development dirstate
4726
 
      tree format to provide access to the callers to cached copies of 
4727
 
      inventory data which are cheaper to access than inventories from the
4728
 
      repository.
4729
 
      (Robert Collins, Martin Pool)
4730
 
 
4731
 
    * New ``Branch.last_revision_info`` method, this is being done to allow
4732
 
      optimization of requests for both the number of revisions and the last
4733
 
      revision of a branch with smartservers and potentially future branch
4734
 
      formats. (Wouter van Heyst, Robert Collins)
4735
 
 
4736
 
    * Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
4737
 
      yet been loaded by ``load_plugins()``. This allows plugins to depend on each
4738
 
      other for code reuse without requiring users to perform file-renaming
4739
 
      gymnastics. (Robert Collins)
4740
 
 
4741
 
    * New Repository method ``'gather_stats'`` for statistic data collection.
4742
 
      This is expected to grow to cover a number of related uses mainly
4743
 
      related to bzr info. (Robert Collins)
4744
 
 
4745
 
    * Log formatters are now managed with a registry.
4746
 
      ``log.register_formatter`` continues to work, but callers accessing
4747
 
      the FORMATTERS dictionary directly will not.
4748
 
 
4749
 
    * Allow a start message to be passed to the ``edit_commit_message``
4750
 
      function.  This will be placed in the message offered to the user
4751
 
      for editing above the separator. It allows a template commit message
4752
 
      to be used more easily. (James Westby)
4753
 
 
4754
 
    * ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
4755
 
      you pass a Unicode string rather than an 8-bit string. Callers need
4756
 
      to be updated to encode first. (John Arbash Meinel)
4757
 
 
4758
 
    * Branch.push, pull, merge now return Result objects with information
4759
 
      about what happened, rather than a scattering of various methods.  These
4760
 
      are also passed to the post hooks.  (Martin Pool)
4761
 
 
4762
 
    * File formats and architecture is in place for managing a forest of trees
4763
 
      in bzr, and splitting up existing trees into smaller subtrees, and
4764
 
      finally joining trees to make a larger tree. This is the first iteration
4765
 
      of this support, and the user-facing aspects still require substantial
4766
 
      work.  If you wish to experiment with it, use ``bzr upgrade
4767
 
      --dirstate-with-subtree`` in your working trees and repositories.
4768
 
      You can use the hidden commands ``split`` and ``join`` and to create
4769
 
      and manipulate nested trees, but please consider using the nested-trees
4770
 
      branch, which contains substantial UI improvements, instead.
4771
 
      http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
4772
 
      (Aaron Bentley, Martin Pool, Robert Collins).
4773
 
 
4774
 
  BUGFIXES:
4775
 
 
4776
 
    * ``bzr annotate`` now uses dotted revnos from the viewpoint of the
4777
 
      branch, rather than the last changed revision of the file.
4778
 
      (John Arbash Meinel, #82158)
4779
 
 
4780
 
    * Lock operations no longer hang if they encounter a permission problem.
4781
 
      (Aaron Bentley)
4782
 
 
4783
 
    * ``bzr push`` can resume a push that was canceled before it finished.
4784
 
      Also, it can push even if the target directory exists if you supply
4785
 
      the ``--use-existing-dir`` flag.
4786
 
      (John Arbash Meinel, #30576, #45504)
4787
 
 
4788
 
    * Fix http proxy authentication when user and an optional
4789
 
      password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
4790
 
      #83954).
4791
 
 
4792
 
    * ``bzr log branch/file`` works for local treeless branches
4793
 
      (Aaron Bentley, #84247)
4794
 
 
4795
 
    * Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
4796
 
 
4797
 
    * Searching location of CA bundle for PyCurl in env variable
4798
 
      (``CURL_CA_BUNDLE``), and on win32 along the PATH.
4799
 
      (Alexander Belchenko, #82086)
4800
 
 
4801
 
    * ``bzr init`` works with unicode argument LOCATION.
4802
 
      (Alexander Belchenko, #85599)
4803
 
 
4804
 
    * Raise ``DependencyNotPresent`` if pycurl do not support https. 
4805
 
      (Vincent Ladeuil, #85305)
4806
 
 
4807
 
    * Invalid proxy env variables should not cause a traceback.
4808
 
      (Vincent Ladeuil, #87765)
4809
 
 
4810
 
    * Ignore patterns normalised to use '/' path separator.
4811
 
      (Kent Gibson, #86451)
4812
 
 
4813
 
    * bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
4814
 
 
4815
 
    * Fix bzrtools shelve command for removed lines beginning with "--"
4816
 
      (Johan Dahlberg, #75577)
4817
 
 
4818
 
  TESTING:
4819
 
 
4820
 
    * New ``--first`` option to ``bzr selftest`` to run specified tests
4821
 
      before the rest of the suite.  (Martin Pool)
4822
 
 
4823
 
 
4824
 
bzr 0.14  2007-01-23
4825
 
--------------------
4826
 
 
4827
 
  IMPROVEMENTS:
4828
 
 
4829
 
    * ``bzr help global-options`` describes the global options. (Aaron Bentley)
4830
 
 
4831
 
  BUG FIXES:
4832
 
    
4833
 
    * Skip documentation generation tests if the tools to do so are not
4834
 
      available. Fixes running selftest for installled copies of bzr. 
4835
 
      (John Arbash Meinel, #80330)
4836
 
 
4837
 
    * Fix the code that discovers whether bzr is being run from it's
4838
 
      working tree to handle the case when it isn't but the directory
4839
 
      it is in is below a repository. (James Westby, #77306)
4840
 
 
4841
 
 
4842
 
bzr 0.14rc1  2007-01-16
4843
 
-----------------------
4844
 
 
4845
 
  IMPROVEMENTS:
4846
 
 
4847
 
    * New connection: ``bzr+http://`` which supports tunnelling the smart
4848
 
      protocol over an HTTP connection. If writing is enabled on the bzr
4849
 
      server, then you can write over the http connection.
4850
 
      (Andrew Bennetts, John Arbash Meinel)
4851
 
 
4852
 
    * Aliases now support quotation marks, so they can contain whitespace
4853
 
      (Marius Kruger)
4854
 
 
4855
 
    * PyCurlTransport now use a single curl object. By specifying explicitly
4856
 
      the 'Range' header, we avoid the need to use two different curl objects
4857
 
      (and two connections to the same server). (Vincent Ladeuil)
4858
 
 
4859
 
    * ``bzr commit`` does not prompt for a message until it is very likely to
4860
 
      succeed.  (Aaron Bentley)
4861
 
 
4862
 
    * ``bzr conflicts`` now takes --text to list pathnames of text conflicts
4863
 
      (Aaron Bentley)
4864
 
 
4865
 
    * Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
4866
 
      of a list while checking if a revision id was requested. Takes 10s
4867
 
      off of the ``fileids_affected_by_revision_ids`` time, which is 10s
4868
 
      of the ``bzr branch`` time. Also improve ``fileids_...`` time by
4869
 
      filtering lines with a regex rather than multiple ``str.find()``
4870
 
      calls. (saves another 300ms) (John Arbash Meinel)
4871
 
 
4872
 
    * Policy can be set for each configuration key. This allows keys to be
4873
 
      inherited properly across configuration entries. For example, this
4874
 
      should enable you to do::
4875
 
        
4876
 
        [/home/user/project]
4877
 
        push_location = sftp://host/srv/project/
4878
 
        push_location:policy = appendpath
4879
 
 
4880
 
      And then a branch like ``/home/user/project/mybranch`` should get an
4881
 
      automatic push location of ``sftp://host/srv/project/mybranch``.
4882
 
      (James Henstridge)
4883
 
 
4884
 
    * Added ``bzr status --short`` to make status report svn style flags
4885
 
      for each file.  For example::
4886
 
 
4887
 
        $ bzr status --short
4888
 
        A  foo
4889
 
        A  bar
4890
 
        D  baz
4891
 
        ?  wooley
4892
 
 
4893
 
    * 'bzr selftest --clean-output' allows easily clean temporary tests 
4894
 
      directories without running tests. (Alexander Belchenko)
4895
 
 
4896
 
    * ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
4897
 
 
4898
 
    * ``bzr merge`` now has an option ``--pull`` to fall back to pull if
4899
 
      local is fully merged into remote. (Jan Hudec)
4900
 
 
4901
 
    * ``bzr help formats`` describes available directory formats. (Aaron Bentley)
4902
 
 
4903
 
  INTERNALS:
4904
 
 
4905
 
    * A few tweaks directly to ``fileids_affected_by_revision_ids`` to
4906
 
      help speed up processing, as well allowing to extract unannotated
4907
 
      lines. Between the two ``fileids_affected_by_revision_ids`` is
4908
 
      improved by approx 10%. (John Arbash Meinel)
4909
 
 
4910
 
    * Change Revision serialization to only write out millisecond
4911
 
      resolution. Rather than expecting floating point serialization to
4912
 
      preserve more resolution than we need. (Henri Weichers, Martin Pool)
4913
 
 
4914
 
    * Test suite ends cleanly on Windows.  (Vincent Ladeuil)
4915
 
 
4916
 
    * When ``encoding_type`` attribute of class Command is equal to 'exact', 
4917
 
      force sys.stdout to be a binary stream on Windows, and therefore
4918
 
      keep exact line-endings (without LF -> CRLF conversion).
4919
 
      (Alexander Belchenko)
4920
 
 
4921
 
    * Single-letter short options are no longer globally declared.  (Martin
4922
 
      Pool)
4923
 
 
4924
 
    * Before using detected user/terminal encoding bzr should check
4925
 
      that Python has corresponding codec. (Alexander Belchenko)
4926
 
 
4927
 
    * Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
4928
 
 
4929
 
  BUG FIXES:
4930
 
 
4931
 
    * ``bzr missing --verbose`` was showing adds/removals in the wrong
4932
 
      direction. (John Arbash Meinel)
4933
 
 
4934
 
    * ``bzr annotate`` now defaults to showing dotted revnos for merged
4935
 
      revisions. It cuts them off at a depth of 12 characters, but you can
4936
 
      supply ``--long`` to see the full number. You can also use
4937
 
      ``--show-ids`` to display the original revision ids, rather than
4938
 
      revision numbers and committer names. (John Arbash Meinel, #75637)
4939
 
 
4940
 
    * bzr now supports Win32 UNC path (e.g. ``\HOST\path``. 
4941
 
      (Alexander Belchenko, #57869)
4942
 
 
4943
 
    * Win32-specific: output of cat, bundle and diff commands don't mangle
4944
 
      line-endings (Alexander Belchenko, #55276)
4945
 
 
4946
 
    * Replace broken fnmatch based ignore pattern matching with custom pattern
4947
 
      matcher.
4948
 
      (Kent Gibson, Jan Hudec #57637)
4949
 
 
4950
 
    * pycurl and urllib can detect short reads at different places. Update
4951
 
      the test suite to test more cases. Also detect http error code 416
4952
 
      which was raised for that specific bug. Also enhance the urllib
4953
 
      robustness by detecting invalid ranges (and pycurl's one by detecting
4954
 
      short reads during the initial GET). (Vincent Ladeuil, #73948)
4955
 
 
4956
 
    * The urllib connection sharing interacts badly with urllib2
4957
 
      proxy setting (the connections didn't go thru the proxy
4958
 
      anymore). Defining a proper ProxyHandler solves the
4959
 
      problem.  (Vincent Ladeuil, #74759)
4960
 
 
4961
 
    * Use urlutils to generate relative URLs, not osutils 
4962
 
      (Aaron Bentley, #76229)
4963
 
 
4964
 
    * ``bzr status`` in a readonly directory should work without giving
4965
 
      lots of errors. (John Arbash Meinel, #76299)
4966
 
 
4967
 
    * Mention the revisionspec topic for the revision option help.
4968
 
      (Wouter van Heyst, #31663)
4969
 
 
4970
 
    * Allow plugins import from zip archives.
4971
 
      (Alexander Belchenko, #68124)
4972
 
 
4973
 
 
4974
 
bzr 0.13  2006-12-05
4975
 
--------------------
4976
 
    
4977
 
  No changes from 0.13rc1
4978
 
    
4979
 
bzr 0.13rc1  2006-11-27
4980
 
-----------------------
4981
 
 
4982
 
  IMPROVEMENTS:
4983
 
 
4984
 
    * New command ``bzr remove-tree`` allows the removal of the working
4985
 
      tree from a branch.
4986
 
      (Daniel Silverstone)
4987
 
 
4988
 
    * urllib uses shared keep-alive connections, so http 
4989
 
      operations are substantially faster.
4990
 
      (Vincent Ladeuil, #53654)
4991
 
 
4992
 
    * ``bzr export`` allows an optional branch parameter, to export a bzr
4993
 
      tree from some other url. For example:
4994
 
      ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
4995
 
      (Daniel Silverstone)
4996
 
 
4997
 
    * Added ``bzr help topics`` to the bzr help system. This gives a
4998
 
      location for general information, outside of a specific command.
4999
 
      This includes updates for ``bzr help revisionspec`` the first topic
5000
 
      included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
5001
 
 
5002
 
    * WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
5003
 
      (Andrew Bennetts)
5004
 
 
5005
 
    * Knit files will now cache full texts only when the size of the
5006
 
      deltas is as large as the size of the fulltext. (Or after 200
5007
 
      deltas, whichever comes first). This has the most benefit on large
5008
 
      files with small changes, such as the inventory for a large project.
5009
 
      (eg For a project with 2500 files, and 7500 revisions, it changes
5010
 
      the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
5011
 
 
5012
 
  INTERNALS:
5013
 
 
5014
 
    * New -D option given before the command line turns on debugging output
5015
 
      for particular areas.  -Derror shows tracebacks on all errors.
5016
 
      (Martin Pool)
5017
 
 
5018
 
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5019
 
      and remove benchmarks that take longer than 10min to run.
5020
 
      (John Arbash Meinel)
5021
 
 
5022
 
    * Use ``time.time()`` instead of ``time.clock()`` to decide on
5023
 
      progress throttling. Because ``time.clock()`` is actually CPU time,
5024
 
      so over a high-latency connection, too many updates get throttled.
5025
 
      (John Arbash Meinel)
5026
 
 
5027
 
    * ``MemoryTransport.list_dir()`` would strip the first character for
5028
 
      files or directories in root directory. (John Arbash Meinel)
5029
 
 
5030
 
    * New method ``get_branch_reference`` on 'BzrDir' allows the detection of 
5031
 
      branch references - which the smart server component needs.
5032
 
  
5033
 
    * New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
5034
 
      prefix.  It disallows any access to locations above a set URL.  (Andrew
5035
 
      Bennetts)
5036
 
 
5037
 
  BUG FIXES:
5038
 
 
5039
 
    * Now ``_KnitIndex`` properly decode revision ids when loading index data.
5040
 
      And optimize the knit index parsing code. 
5041
 
      (Dmitry Vasiliev, John Arbash Meinel)
5042
 
 
5043
 
    * ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
5044
 
      without importing it. This prevented ``bzr upgrade`` from working
5045
 
      unless a plugin already imported ``bzrlib.workingtree``
5046
 
      (John Arbash Meinel, #70716)
5047
 
 
5048
 
    * Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
5049
 
 
5050
 
    * Give nicer error message when an http server returns a 403
5051
 
      error code. (Vincent Ladeuil, #57644).
5052
 
 
5053
 
    * When a multi-range http GET request fails, try a single
5054
 
      range one. If it fails too, forget about ranges. Remember that until 
5055
 
      the death of the transport and propagates that to the clones.
5056
 
      (Vincent Ladeuil, #62276, #62029).
5057
 
 
5058
 
    * Handles user/passwords supplied in url from command
5059
 
      line (for the urllib implementation). Don't request already
5060
 
      known passwords (Vincent Ladeuil, #42383, #44647, #48527)
5061
 
 
5062
 
    * ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
5063
 
      are added. This fixes bug where fetching remote revisions records
5064
 
      them as full references rather than integers.
5065
 
      (John Arbash Meinel, #64789)
5066
 
 
5067
 
    * ``bzr ignore`` strips trailing slashes in patterns.
5068
 
      Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
5069
 
 
5070
 
    * ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
5071
 
 
5072
 
    * mv correctly handles paths that traverse symlinks. 
5073
 
      (Aaron Bentley, #66964)
5074
 
 
5075
 
    * Give nicer looking error messages when failing to connect over ssh.
5076
 
      (John Arbash Meinel, #49172)
5077
 
 
5078
 
    * Pushing to a remote branch does not currently update the remote working
5079
 
      tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
5080
 
      machine now show that the working tree is out of date.
5081
 
      (Cheuksan Edward Wang #48136)
5082
 
 
5083
 
    * Use patiencediff instead of difflib for determining deltas to insert
5084
 
      into knits. This avoids the O(N^3) behavior of difflib. Patience
5085
 
      diff should be O(N^2). (Cheuksan Edward Wang, #65714)
5086
 
 
5087
 
    * Running ``bzr log`` on nonexistent file gives an error instead of the
5088
 
      entire log history. (Cheuksan Edward Wang #50793)
5089
 
 
5090
 
    * ``bzr cat`` can look up contents of removed or renamed files. If the
5091
 
      pathname is ambiguous, i.e. the files in the old and new trees have
5092
 
      different id's, the default is the file in the new tree. The user can
5093
 
      use "--name-from-revision" to select the file in the old tree.
5094
 
      (Cheuksan Edward Wang, #30190)
5095
 
 
5096
 
  TESTING:
5097
 
 
5098
 
    * TestingHTTPRequestHandler really handles the Range header
5099
 
      (previously it was ignoring it and returning the whole file,).
5100
 
 
5101
 
bzr 0.12  2006-10-30
5102
 
--------------------
5103
 
 
5104
 
  INTERNALS:
5105
 
 
5106
 
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5107
 
      and remove benchmarks that take longer than 10min to run.
5108
 
      (John Arbash Meinel)
5109
 
  
5110
 
bzr 0.12rc1  2006-10-23
5111
 
-----------------------
5112
 
 
5113
 
  IMPROVEMENTS:
5114
 
 
5115
 
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
5116
 
      rather than just showing a decimal revision number for revisions on the
5117
 
      mainline. These revision numbers are not yet accepted as input into bzr
5118
 
      commands such as log, diff etc. (Robert Collins)
5119
 
 
5120
 
    * revisions can now be specified using dotted-decimal revision numbers.
5121
 
      For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
5122
 
 
5123
 
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
5124
 
 
5125
 
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
5126
 
      a moderate effect on lots of actions, especially ones that have
5127
 
      little to do. For example ``bzr rocks`` time is down to 116ms from
5128
 
      283ms. (John Arbash Meinel)
5129
 
 
5130
 
    * New Registry class to provide name-to-object registry-like support,
5131
 
      for example for schemes where plugins can register new classes to
5132
 
      do certain tasks (e.g. log formatters). Also provides lazy registration
5133
 
      to allow modules to be loaded on request.
5134
 
      (John Arbash Meinel, Adeodato Simó)
5135
 
 
5136
 
  API INCOMPATABILITY:
5137
 
  
5138
 
    * LogFormatter subclasses show now expect the 'revno' parameter to 
5139
 
      show() to be a string rather than an int. (Robert Collins)
5140
 
 
5141
 
  INTERNALS:
5142
 
 
5143
 
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
5144
 
      can take a ``working_dir='foo'`` parameter, which will change directory 
5145
 
      for the command. (John Arbash Meinel)
5146
 
 
5147
 
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
5148
 
      around a regex, which defers compilation until first use. 
5149
 
      (John Arbash Meinel)
5150
 
 
5151
 
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
5152
 
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
5153
 
      problems with system-wide installed plugins. (John Arbash Meinel)
5154
 
 
5155
 
    * Unique tree root ids are now supported. Newly created trees still
5156
 
      use the common root id for compatibility with bzr versions before 0.12.
5157
 
      (Aaron Bentley)
5158
 
 
5159
 
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
5160
 
      pass in ``inventory.ROOT_ID`` if you want the default root id value.
5161
 
      (Robert Collins, John Arbash Meinel)
5162
 
 
5163
 
    * New method ``WorkingTree.flush()`` which will write the current memory
5164
 
      inventory out to disk. At the same time, ``read_working_inventory`` will
5165
 
      no longer trash the current tree inventory if it has been modified within
5166
 
      the current lock, and the tree will now ``flush()`` automatically on
5167
 
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
5168
 
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
5169
 
 
5170
 
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
5171
 
      parameter will cause it to add another column to its output, which
5172
 
      contains the dotted-decimal revno for each revision, as a tuple.
5173
 
      (Robert Collins)
5174
 
 
5175
 
    * ``LogFormatter.show_merge`` is deprecated in favour of
5176
 
      ``LogFormatter.show_merge_revno``. (Robert Collins)
5177
 
 
5178
 
  BUG FIXES:
5179
 
 
5180
 
    * Avoid circular imports by creating a deprecated function for
5181
 
      ``bzrlib.tree.RevisionTree``. Callers should have been using
5182
 
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
5183
 
      #63360, #66349)
5184
 
 
5185
 
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
5186
 
      platforms. (Martin Pool, #66356)
5187
 
 
5188
 
    * Don't require ``Content-Type`` in range responses. Assume they are a
5189
 
      single range if ``Content-Type`` does not exist.
5190
 
      (John Arbash Meinel, #62473)
5191
 
 
5192
 
    * bzr branch/pull no longer complain about progress bar cleanup when
5193
 
      interrupted during fetch.  (Aaron Bentley, #54000)
5194
 
 
5195
 
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
5196
 
      the basis inventory, rather than going through the repository. This
5197
 
      allows us to have 1 inventory read, and 2 inventory writes when
5198
 
      committing a new tree. (John Arbash Meinel)
5199
 
 
5200
 
    * When reverting, files that are not locally modified that do not exist
5201
 
      in the target are deleted, not just unversioned (Aaron Bentley)
5202
 
 
5203
 
    * When trying to acquire a lock, don't fail immediately. Instead, try
5204
 
      a few times (up to 1 hour) before timing out. Also, report why the
5205
 
      lock is unavailable (John Arbash Meinel, #43521, #49556)
5206
 
 
5207
 
    * Leave HttpTransportBase daughter classes decides how they
5208
 
      implement cloning. (Vincent Ladeuil, #61606)
5209
 
 
5210
 
    * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
5211
 
 
5212
 
    * If a commit fails, the commit message is stored in a file at the root of
5213
 
      the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
5214
 
      #32054)
5215
 
 
5216
 
  TESTING:
5217
 
 
5218
 
    * New test base class TestCaseWithMemoryTransport offers memory-only
5219
 
      testing facilities: its not suitable for tests that need to mutate disk
5220
 
      state, but most tests should not need that and should be converted to
5221
 
      TestCaseWithMemoryTransport. (Robert Collins)
5222
 
 
5223
 
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
5224
 
      option to set the BzrDir, Repository and Branch formats of the
5225
 
      created objects. (Robert Collins, John Arbash Meinel)
5226
 
 
5227
 
bzr 0.11  2006-10-02
5228
 
--------------------
5229
 
 
5230
 
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
5231
 
 
5232
 
bzr 0.11rc2  2006-09-27
5233
 
-----------------------
5234
 
 
5235
 
  BUG FIXES:
5236
 
 
5237
 
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
5238
 
    
5239
 
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
5240
 
      Arbash Meinel).
5241
 
 
5242
 
bzr 0.11rc1  2006-09-25
5243
 
-----------------------
5244
 
 
5245
 
  IMPROVEMENTS:
5246
 
 
5247
 
    * Knit files now wait to create their contents until the first data is
5248
 
      added. The old code used to create an empty .knit and a .kndx with just
5249
 
      the header. However, this caused a lot of extra round trips over sftp.
5250
 
      This can change the time for ``bzr push`` to create a new remote branch
5251
 
      from 160s down to 100s. This also affects ``bzr commit`` performance when
5252
 
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
5253
 
      down to 40s (John Arbash Meinel, #44692)
5254
 
 
5255
 
    * When an entire subtree has been deleted, commit will now report that
5256
 
      just the top of the subtree has been deleted, rather than reporting
5257
 
      all the individual items. (Robert Collins)
5258
 
 
5259
 
    * Commit performs one less XML parse. (Robert Collins)
5260
 
 
5261
 
    * ``bzr checkout`` now operates on readonly branches as well
5262
 
      as readwrite branches. This fixes bug #39542. (Robert Collins)
5263
 
 
5264
 
    * ``bzr bind`` no longer synchronises history with the master branch.
5265
 
      Binding should be followed by an update or push to synchronise the 
5266
 
      two branches. This is closely related to the fix for bug #39542.
5267
 
      (Robert Collins)
5268
 
 
5269
 
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
5270
 
      objects.  This allows all imports to stay at the global scope, but
5271
 
      modules will not actually be imported if they are not used.
5272
 
      (John Arbash Meinel)
5273
 
 
5274
 
    * Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
5275
 
      transport which will be used with the upcoming high-performance smart
5276
 
      server. The new command ``bzr serve`` will invoke bzr in server mode,
5277
 
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
5278
 
      Pool)
5279
 
 
5280
 
    * New command ``bzr version-info`` which can be used to get a summary
5281
 
      of the current state of the tree. This is especially useful as part
5282
 
      of a build commands. See ``doc/version_info.txt`` for more information 
5283
 
      (John Arbash Meinel)
5284
 
 
5285
 
  BUG FIXES:
5286
 
 
5287
 
    * ``'bzr inventory [FILE...]'`` allows restricting the file list to a
5288
 
      specific set of files. (John Arbash Meinel, #3631)
5289
 
 
5290
 
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
5291
 
 
5292
 
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
5293
 
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
5294
 
      reading a nested Stanza. (John Arbash Meinel)
5295
 
 
5296
 
    * Transform._set_mode() needs to stat the right file. 
5297
 
      (John Arbash Meinel, #56549)
5298
 
 
5299
 
    * Raise WeaveFormatError rather than StopIteration when trying to read
5300
 
      an empty Weave file. (John Arbash Meinel, #46871)
5301
 
 
5302
 
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
5303
 
      (Vincent Ladeuil, #59835)
5304
 
 
5305
 
    * Handle boundary="" lines properly to allow access through a Squid proxy.
5306
 
      (John Arbash Meinel, #57723)
5307
 
 
5308
 
    * revert now removes newly-added directories (Aaron Bentley, #54172)
5309
 
 
5310
 
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
5311
 
      isn't a working tree. (David Allouche, #40679)
5312
 
 
5313
 
    * Give nicer error messages when a user supplies an invalid --revision
5314
 
      parameter. (John Arbash Meinel, #55420)
5315
 
 
5316
 
    * Handle when LANG is not recognized by python. Emit a warning, but
5317
 
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
5318
 
 
5319
 
    * Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
5320
 
      (John Arbash Meinel)
5321
 
 
5322
 
    * Skip specific tests when the dependencies aren't met. This includes
5323
 
      some ``setup.py`` tests when ``python-dev`` is not available, and
5324
 
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
5325
 
 
5326
 
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
5327
 
      the system. (Andrew Bennetts, John Arbash Meinel)
5328
 
 
5329
 
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
5330
 
      other branch, and will not push or pull between the two branches.
5331
 
      API users will need to perform a push or pull or update operation if they
5332
 
      require branch synchronisation to take place. (Robert Collins, #47344)
5333
 
 
5334
 
    * When creating a tarball or zipfile export, export unicode names as utf-8
5335
 
      paths. This may not work perfectly on all platforms, but has the best
5336
 
      chance of working in the common case. (John Arbash Meinel, #56816)
5337
 
 
5338
 
    * When committing, only files that exist in working tree or basis tree
5339
 
      may be specified (Aaron Bentley, #50793)
5340
 
 
5341
 
  PORTABILITY:
5342
 
 
5343
 
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
5344
 
 
5345
 
  INTERNALS:
5346
 
 
5347
 
    * TestCaseInTempDir now creates a separate directory for HOME, rather
5348
 
      than having HOME set to the same location as the working directory.
5349
 
      (John Arbash Meinel)
5350
 
 
5351
 
    * ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
5352
 
      which will update os.environ inside the spawned child. It also can
5353
 
      take a ``universal_newlines=True``, which helps when checking the output
5354
 
      of the command. (John Arbash Meinel)
5355
 
 
5356
 
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
5357
 
      (Andrew Bennetts)
5358
 
 
5359
 
    * ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
5360
 
      return urlescaped paths. This is now tested (there were bugs in a few
5361
 
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
5362
 
 
5363
 
    * New utility function ``symbol_versioning.deprecation_string``. Returns the
5364
 
      formatted string for a callable, deprecation format pair. (Robert Collins)
5365
 
 
5366
 
    * New TestCase helper applyDeprecated. This allows you to call a callable
5367
 
      which is deprecated without it spewing to the screen, just by supplying
5368
 
      the deprecation format string issued for it. (Robert Collins)
5369
 
 
5370
 
    * Transport.append and Transport.put have been deprecated in favor of
5371
 
      ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
5372
 
      ``.put_file``. This removes the ambiguity in what type of object the
5373
 
      functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
5374
 
      been added. Which works similarly to ``Transport.append()`` except for
5375
 
      SFTP, it doesn't have a round trip when opening the file. Also, it
5376
 
      provides functionality for creating a parent directory when trying
5377
 
      to create a file, rather than raise NoSuchFile and forcing the
5378
 
      caller to repeat their request.
5379
 
      (John Arbash Meinel)
5380
 
 
5381
 
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
5382
 
      entries by their file id. (Robert Collins)
5383
 
 
5384
 
    * ``WorkingTree.pending_merges`` is deprecated.  Please use the
5385
 
      ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
5386
 
 
5387
 
    * WorkingTree has a new ``lock_tree_write`` method which locks the branch for
5388
 
      read rather than write. This is appropriate for actions which only need
5389
 
      the branch data for reference rather than mutation. A new decorator
5390
 
      ``needs_tree_write_lock`` is provided in the workingtree module. Like the
5391
 
      ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static 
5392
 
      declaration of the locking requirements of a function to ensure that
5393
 
      a lock is taken out for casual scripts. (Robert Collins, #54107)
5394
 
 
5395
 
    * All WorkingTree methods which write to the tree, but not to the branch
5396
 
      have been converted to use ``needs_tree_write_lock`` rather than 
5397
 
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
5398
 
      transform modules. This provides a modest performance improvement on 
5399
 
      metadir style trees, due to the reduce lock-acquisition, and a more
5400
 
      significant performance improvement on lightweight checkouts from 
5401
 
      remote branches, where trivial operations used to pay a significant 
5402
 
      penalty. It also provides the basis for allowing readonly checkouts.
5403
 
      (Robert Collins)
5404
 
 
5405
 
    * Special case importing the standard library 'copy' module. This shaves
5406
 
      off 40ms of startup time, while retaining compatibility. See:
5407
 
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
5408
 
 
5409
 
    * WorkingTree has a new parent class MutableTree which represents the 
5410
 
      specialisations of Tree which are able to be altered. (Robert Collins)
5411
 
 
5412
 
    * New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
5413
 
      mutate the tree and its contents. (Robert Collins)
5414
 
 
5415
 
    * Transport behaviour at the root of the URL is now defined and tested.
5416
 
      (Andrew Bennetts, Robert Collins)
5417
 
 
5418
 
  TESTING:
5419
 
 
5420
 
    * New test helper classs MemoryTree. This is typically accessed via
5421
 
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
5422
 
      
5423
 
    * Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
5424
 
      code to continue running concurrently with a subprocess of bzr.
5425
 
      (Andrew Bennetts, Robert Collins)
5426
 
 
5427
 
    * Add a new method ``Transport.get_smart_client()``. This is provided to
5428
 
      allow upgrades to a richer interface than the VFS one provided by
5429
 
      Transport. (Andrew Bennetts, Martin Pool)
5430
 
 
5431
 
bzr 0.10  2006-08-29
5432
 
--------------------
5433
 
  
5434
 
  IMPROVEMENTS:
5435
 
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
5436
 
      tree.  (Aaron Bentley)
5437
 
  
5438
 
    * 'bzr add --file-ids-from' can be used to specify another path to use
5439
 
      for creating file ids, rather than generating all new ones. Internally,
5440
 
      the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
5441
 
      will be used, rather than having bzrlib generate new ones.
5442
 
      (John Arbash Meinel, #55781)
5443
 
 
5444
 
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
5445
 
      This will cache some of the intermediate trees, and decrease the
5446
 
      setup time for benchmark tests. (John Arbash Meinel)
5447
 
 
5448
 
    * Inverse forms are provided for all boolean options.  For example,
5449
 
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
5450
 
 
5451
 
    * Serialize out Inventories directly, rather than using ElementTree.
5452
 
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
5453
 
      (Robert Collins, John Arbash Meinel)
5454
 
 
5455
 
  BUG FIXES:
5456
 
 
5457
 
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
5458
 
 
5459
 
    * Change LockDir so that if the lock directory doesn't exist when
5460
 
      ``lock_write()`` is called, an attempt will be made to create it.
5461
 
      (John Arbash Meinel, #56974)
5462
 
 
5463
 
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
5464
 
 
5465
 
    * Active FTP transport now works as intended. (ghozzy, #56472)
5466
 
 
5467
 
    * Really fix mutter() so that it won't ever raise a UnicodeError.
5468
 
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
5469
 
      But it is a debugging log, not a real user file.
5470
 
      (John Arbash Meinel, #56947, #53880)
5471
 
 
5472
 
    * Change Command handle to allow Unicode command and options.
5473
 
      At present we cannot register Unicode command names, so we will get
5474
 
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
5475
 
      But that is better than a UnicodeError + a traceback.
5476
 
      (John Arbash Meinel, #57123)
5477
 
 
5478
 
    * Handle TZ=UTC properly when reading/writing revisions.
5479
 
      (John Arbash Meinel, #55783, #56290)
5480
 
 
5481
 
    * Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
5482
 
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
5483
 
 
5484
 
    * External diff does the right thing for binaries even in foreign 
5485
 
      languages. (John Arbash Meinel, #56307)
5486
 
 
5487
 
    * Testament handles more cases when content is unicode. Specific bug was
5488
 
      in handling of revision properties.
5489
 
      (John Arbash Meinel, Holger Krekel, #54723)
5490
 
 
5491
 
    * The bzr selftest was failing on installed versions due to a bug in a new
5492
 
      test helper. (John Arbash Meinel, Robert Collins, #58057)
5493
 
 
5494
 
  INTERNALS:
5495
 
 
5496
 
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
5497
 
      which can be used to cache the conversion between utf8 and Unicode.
5498
 
      Especially helpful for some of the knit annotation code, which has to
5499
 
      convert revision ids to utf8 to annotate lines in storage.
5500
 
      (John Arbash Meinel)
5501
 
 
5502
 
    * ``setup.py`` now searches the filesystem to find all packages which
5503
 
      need to be installed. This should help make the life of packagers
5504
 
      easier. (John Arbash Meinel)
5505
 
 
5506
 
bzr 0.9.0  2006-08-11
5507
 
---------------------
5508
 
 
5509
 
  SURPRISES:
5510
 
 
5511
 
   * The hard-coded built-in ignore rules have been removed. There are
5512
 
     now two rulesets which are enforced. A user global one in 
5513
 
     ``~/.bazaar/ignore`` which will apply to every tree, and the tree
5514
 
     specific one '.bzrignore'.
5515
 
     ``~/.bazaar/ignore`` will be created if it does not exist, but with
5516
 
     a more conservative list than the old default.
5517
 
     This fixes bugs with default rules being enforced no matter what. 
5518
 
     The old list of ignore rules from bzr is available by
5519
 
     running 'bzr ignore --old-default-rules'.
5520
 
     (Robert Collins, Martin Pool, John Arbash Meinel)
5521
 
 
5522
 
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
5523
 
     to more locations than just branch locations.
5524
 
     (Aaron Bentley)
5525
 
   
5526
 
  IMPROVEMENTS:
5527
 
 
5528
 
   * The revision specifier "revno:" is extended to accept the syntax
5529
 
     revno:N:branch. For example,
5530
 
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
5531
 
     bzr.dev.  (Matthieu Moy)
5532
 
 
5533
 
   * Tests updates to ensure proper URL handling, UNICODE support, and
5534
 
     proper printing when the user's terminal encoding cannot display 
5535
 
     the path of a file that has been versioned.
5536
 
     ``bzr branch`` can take a target URL rather than only a local directory.
5537
 
     ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
5538
 
     and normalize the parent based on root, allowing access across
5539
 
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
5540
 
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
5541
 
     #42517, #42514)
 
2
 
 
3
  IMPROVEMENTS:
5542
4
 
5543
5
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
5544
6
     Use terminal width for single-line logs from ``bzr log --line`` and
5545
7
     pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
5546
8
     (Malone #3507)
5547
9
 
5548
 
   * On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
10
   * On Windows, detect terminal widht using GetConsoleScreenBufferInfo.
5549
11
     (Alexander Belchenko)
5550
 
 
5551
 
   * Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
5552
 
 
5553
 
   * Show the correct number of revisions pushed when pushing a new branch.
5554
 
     (Robert Collins).
5555
 
 
5556
 
   * 'bzr selftest' now shows a progress bar with the number of tests, and 
5557
 
     progress made. 'make check' shows tests in -v mode, to be more useful
5558
 
     for the PQM status window. (Robert Collins).
5559
 
     When using a progress bar, failed tests are printed out, rather than
5560
 
     being overwritten by the progress bar until the suite finishes.
5561
 
     (John Arbash Meinel)
 
12
  
 
13
    'bzr selftest' now shows a progress bar with the number of tests, and 
 
14
    progress made. 'make check' shows tests in -v mode, to be more useful
 
15
    for the PQM status window. (Robert Collins).
5562
16
 
5563
17
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
5564
 
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
5565
 
     profile data for the individual profiled calls, allowing for fine
5566
 
     grained analysis of performance.
5567
18
     (Robert Collins, Martin Pool).
5568
19
 
5569
 
   * 'bzr commit' shows a progress bar. This is useful for commits over sftp
5570
 
     where commit can take an appreciable time. (Robert Collins)
5571
 
 
5572
 
   * 'bzr add' is now less verbose in telling you what ignore globs were
5573
 
     matched by files being ignored. Instead it just tells you how many 
5574
 
     were ignored (because you might reasonably be expecting none to be
5575
 
     ignored). 'bzr add -v' is unchanged and will report every ignored
5576
 
     file. (Robert Collins).
5577
 
 
5578
 
   * ftp now has a test server if medusa is installed. As part of testing,
5579
 
     ftp support has been improved, including support for supplying a
5580
 
     non-standard port. (John Arbash Meinel).
5581
 
 
5582
 
   * 'bzr log --line' shows the revision number, and uses only the
5583
 
     first line of the log message (#5162, Alexander Belchenko;
5584
 
     Matthieu Moy)
5585
 
 
5586
 
   * 'bzr status' has had the --all option removed. The 'bzr ls' command
5587
 
     should be used to retrieve all versioned files. (Robert Collins)
5588
 
 
5589
 
   * 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
5590
 
     over email, and applied on the other end, while maintaining ancestry.
5591
 
     This bundle can be applied with either 'bzr merge' or 'bzr pull',
5592
 
     the same way you would apply another branch.
5593
 
     (John Arbash Meinel, Aaron Bentley)
5594
 
  
5595
 
   * 'bzr whoami' can now be used to set your identity from the command line,
5596
 
     for a branch or globally.  (Robey Pointer)
5597
 
 
5598
 
   * 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
5599
 
     (Michael Ellerman)
5600
 
 
5601
 
   * 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
5602
 
     (Aaron Bentley)
5603
 
 
5604
 
   * 'bzr get sftp://foo' gives a better error when paramiko is not present.
5605
 
     Also updates things like 'http+pycurl://' if pycurl is not present.
5606
 
     (John Arbash Meinel) (Malone #47821, #52204)
5607
 
 
5608
 
   * New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
5609
 
     Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or 
5610
 
     'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
5611
 
 
5612
 
   * Improve the help text for 'bzr diff' to explain what various options do.
5613
 
     (John Arbash Meinel, #6391)
5614
 
 
5615
 
   * 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
5616
 
     revision 10. This makes -r10 more in line with what other commands do.
5617
 
     'bzr uncommit' also now saves the pending merges of the revisions that
5618
 
     were removed. So it is safe to uncommit after a merge, fix something,
5619
 
     and commit again. (John Arbash Meinel, #32526, #31426)
5620
 
 
5621
 
   * 'bzr init' now also works on remote locations.
5622
 
     (Wouter van Heyst, #48904)
5623
 
 
5624
 
   * HTTP support has been updated. When using pycurl we now support 
5625
 
     connection keep-alive, which reduces dns requests and round trips.
5626
 
     And for both urllib and pycurl we support multi-range requests, 
5627
 
     which decreases the number of round-trips. Performance results for
5628
 
     ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
5629
 
     http branching is now 2-3x faster, and ``bzr pull`` in an existing 
5630
 
     branch is as much as 4x faster.
5631
 
     (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
5632
 
 
5633
 
   * Performance improvements for sftp. Branching and pulling are now up to
5634
 
     2x faster. Utilize paramiko.readv() support for async requests if it
5635
 
     is available (paramiko > 1.6) (John Arbash Meinel)
5636
 
 
5637
 
  BUG FIXES:
5638
 
 
5639
 
    * Fix shadowed definition of TestLocationConfig that caused some 
5640
 
      tests not to run.
5641
 
      (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
5642
 
 
5643
 
    * Fix unnecessary requirement of sign-my-commits that it be run from
5644
 
      a working directory.  (Martin Pool, Robert Collins)
5645
 
 
5646
 
    * 'bzr push location' will only remember the push location if it succeeds
5647
 
      in connecting to the remote location. (John Arbash Meinel, #49742)
5648
 
 
5649
 
    * 'bzr revert' no longer toggles the executable bit on win32
5650
 
      (John Arbash Meinel, #45010)
5651
 
 
5652
 
    * Handle broken pipe under win32 correctly. (John Arbash Meinel)
5653
 
    
5654
 
    * sftp tests now work correctly on win32 if you have a newer paramiko
5655
 
      (John Arbash Meinel)
5656
 
 
5657
 
    * Cleanup win32 test suite, and general cleanup of places where
5658
 
      file handles were being held open. (John Arbash Meinel)
5659
 
 
5660
 
    * When specifying filenames for 'diff -r x..y', the name of the file in the
5661
 
      working directory can be used, even if its name is different in both x
5662
 
      and y.
5663
 
 
5664
 
    * File-ids containing single- or double-quotes are handled correctly by
5665
 
      push. (Aaron Bentley, #52227)
5666
 
 
5667
 
    * Normalize unicode filenames to ensure cross-platform consistency.
5668
 
      (John Arbash Meinel, #43689)
5669
 
 
5670
 
    * The argument parser can now handle '-' as an argument. Currently
5671
 
      no code interprets it specially (it is mostly handled as a file named 
5672
 
      '-'). But plugins, and future operations can use it.
5673
 
      (John Arbash meinel, #50984)
5674
 
 
5675
 
    * Bundles can properly read binary files with a plain '\r' in them.
5676
 
      (John Arbash Meinel, #51927)
5677
 
 
5678
 
    * Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
5679
 
 
5680
 
    * Lots of win32 fixes (the test suite passes again).
5681
 
      (John Arbash Meinel, #50155)
5682
 
 
5683
 
    * Handle openbsd returning None for sys.getfilesystemencoding() (#41183) 
5684
 
 
5685
 
    * Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
5686
 
 
5687
 
    * Removals are only committed if they match the filespec (or if there is
5688
 
      no filespec).  (#46635, Aaron Bentley)
5689
 
 
5690
 
    * smart-add recurses through all supplied directories 
5691
 
      (John Arbash Meinel, #52578)
5692
 
 
5693
 
    * Make the bundle reader extra lines before and after the bundle text.
5694
 
      This allows you to parse an email with the bundle inline.
5695
 
      (John Arbash Meinel, #49182)
5696
 
 
5697
 
    * Change the file id generator to squash a little bit more. Helps when
5698
 
      working with long filenames on windows. (Also helps for unicode filenames
5699
 
      not generating hidden files). (John Arbash Meinel, #43801)
5700
 
 
5701
 
    * Restore terminal mode on C-c while reading sftp password.  (#48923, 
5702
 
      Nicholas Allen, Martin Pool)
5703
 
 
5704
 
    * Timestamps are rounded to 1ms, and revision entries can be recreated
5705
 
      exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
5706
 
 
5707
 
    * Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
5708
 
      use local paths, since it is user visible (John Arbash Meinel, #53653)
5709
 
 
5710
 
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
5711
 
      to be generated (John Arbash Meinel, #53638)
5712
 
 
5713
 
    * When reading revision properties, an empty value should be considered
5714
 
      the empty string, not None (John Arbash Meinel, #47782)
5715
 
 
5716
 
    * ``bzr diff --diff-options`` can now handle binary files being changed.
5717
 
      Also, the output is consistent when --diff-options is not supplied.
5718
 
      (John Arbash Meinel, #54651, #52930)
5719
 
 
5720
 
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
5721
 
 
5722
 
    * Fix ``Branch.get_parent()`` to handle the case when the parent is not 
5723
 
      accessible (John Arbash Meinel, #52976)
5724
 
 
5725
 
  INTERNALS:
5726
 
 
5727
 
    * Combine the ignore rules into a single regex rather than looping over
5728
 
      them to reduce the threshold where  N^2 behaviour occurs in operations
5729
 
      like status. (Jan Hudec, Robert Collins).
5730
 
 
5731
 
    * Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
5732
 
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
5733
 
 
5734
 
    * 'bzr push' should only push the ancestry of the current revision, not
5735
 
      all of the history in the repository. This is especially important for
5736
 
      shared repositories. (John Arbash Meinel)
5737
 
 
5738
 
    * ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
5739
 
      rather than randomly walking the inventories. (John Arbash Meinel)
5740
 
 
5741
 
    * Doctests are now run in temporary directories which are cleaned up when
5742
 
      they finish, rather than using special ScratchDir/ScratchBranch objects.
5743
 
      (Martin Pool)
5744
 
 
5745
 
    * Split ``check`` into separate methods on the branch and on the repository,
5746
 
      so that it can be specialized in ways that are useful or efficient for
5747
 
      different formats.  (Martin Pool, Robert Collins)
5748
 
 
5749
 
    * Deprecate ``Repository.all_revision_ids``; most methods don't really need
5750
 
      the global revision graph but only that part leading up to a particular
5751
 
      revision.  (Martin Pool, Robert Collins)
5752
 
 
5753
 
    * Add a BzrDirFormat ``control_formats`` list which allows for control formats
5754
 
      that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
5755
 
      (Robert Collins, Jelmer Vernooij).
5756
 
 
5757
 
    * ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
5758
 
      Uses subprocess instead of spawnvp.
5759
 
      (James Henstridge, John Arbash Meinel, #4047, #48914)
5760
 
 
5761
 
    * New command line option '--profile-imports', which will install a custom
5762
 
      importer to log time to import modules and regex compilation time to 
5763
 
      sys.stderr (John Arbash Meinel)
5764
 
 
5765
 
    * 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
5766
 
      instead. (Robert Collins)
5767
 
 
5768
 
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
5769
 
 
5770
 
bzr 0.8.2  2006-05-17
5771
 
---------------------
5772
 
  
5773
 
  BUG FIXES:
5774
 
   
5775
 
    * setup.py failed to install launchpad plugin.  (Martin Pool)
5776
 
 
5777
 
bzr 0.8.1  2006-05-16
5778
 
---------------------
5779
 
 
5780
 
  BUG FIXES:
5781
 
 
5782
 
    * Fix failure to commit a merge in a checkout.  (Martin Pool, 
5783
 
      Robert Collins, Erik Bågfors, #43959)
5784
 
 
5785
 
    * Nicer messages from 'commit' in the case of renames, and correct
5786
 
      messages when a merge has occured. (Robert Collins, Martin Pool)
5787
 
 
5788
 
    * Separate functionality from assert statements as they are skipped in
5789
 
      optimized mode of python. Add the same check to pending merges.
5790
 
      (Olaf Conradi, #44443)
5791
 
 
5792
 
  CHANGES:
5793
 
 
5794
 
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
5795
 
 
5796
 
    * Add info on standalone branches without a working tree.
5797
 
      (Olaf Conradi, #44155)
5798
 
 
5799
 
    * Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
5800
 
 
5801
 
  CHANGES:
5802
 
 
5803
 
    * Make editor invocation comply with Debian Policy. First check
5804
 
      environment variables VISUAL and EDITOR, then try editor from
5805
 
      alternatives system. If that all fails, fall back to the pre-defined
5806
 
      list of editors. (Olaf Conradi, #42904)
5807
 
 
5808
 
  NEW FEATURES:
5809
 
 
5810
 
    * New 'register-branch' command registers a public branch into 
5811
 
      Launchpad.net, where it can be associated with bugs, etc.
5812
 
      (Martin Pool, Bjorn Tillenius, Robert Collins)
5813
 
 
5814
 
  INTERNALS:
5815
 
 
5816
 
    * New public api in InventoryEntry - ``describe_change(old, new)`` which
5817
 
      provides a human description of the changes between two old and
5818
 
      new. (Robert Collins, Martin Pool)
5819
 
 
5820
 
  TESTING:
5821
 
 
5822
 
    * Fix test case for bzr info in upgrading a standalone branch to metadir,
5823
 
      uses bzrlib api now. (Olaf Conradi)
5824
 
 
5825
20
bzr 0.8  2006-05-08
5826
 
-------------------
5827
21
 
5828
22
  NOTES WHEN UPGRADING:
5829
23
 
5863
57
  IMPROVEMENTS:
5864
58
 
5865
59
    * Sftp paths can now be relative, or local, according to the lftp
5866
 
      convention. Paths now take the form::
5867
 
 
5868
 
          sftp://user:pass@host:port/~/relative/path
5869
 
          or
5870
 
          sftp://user:pass@host:port/absolute/path
 
60
      convention. Paths now take the form:
 
61
      sftp://user:pass@host:port/~/relative/path
 
62
      or
 
63
      sftp://user:pass@host:port/absolute/path
5871
64
 
5872
65
    * The FTP transport now tries to reconnect after a temporary
5873
66
      failure. ftp put is made atomic. (Matthieu Moy)
5876
69
      reuses them to avoid multiple connections to the same host (like
5877
70
      sftp did). (Daniel Silverstone)
5878
71
 
5879
 
    * The ``bzr_man.py`` file has been removed. To create the man page now,
5880
 
      use ``./generate_docs.py man``. The new program can also create other files.
5881
 
      Run ``python generate_docs.py --help`` for usage information.
5882
 
      (Hans Ulrich Niedermann & James Blackwell).
 
72
    * The bzr_man.py file has been removed. To create the man page now,
 
73
      use ./generate_docs.py man. The new program can also create other files.
 
74
      Run "python generate_docs.py --help" for usage information. (Hans
 
75
      Ulrich Niedermann & James Blackwell).
5883
76
 
5884
 
    * Man Page now gives full help (James Blackwell).
5885
 
      Help also updated to reflect user config now being stored in .bazaar
5886
 
      (Hans Ulrich Niedermann)
 
77
    * Man Page now gives full help (James Blackwell). Help also updated to 
 
78
      reflect user config now being stored in .bazaar (Hans Ulrich
 
79
      Niedermann)
5887
80
 
5888
81
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
5889
82
 
5890
83
    * Pull now accepts a --revision argument (Erik Bågfors)
5891
84
 
5892
 
    * ``bzr re-sign`` now allows multiple revisions to be supplied on the command
5893
 
      line. You can now use the following command to sign all of your old
5894
 
      commits::
5895
 
 
 
85
    * 'bzr re-sign' now allows multiple revisions to be supplied on the command
 
86
      line. You can now use the following command to sign all of your old commits.
5896
87
        find .bzr/revision-store// -name my@email-* \
5897
88
          | sed 's/.*\/\/..\///' \
5898
89
          | xargs bzr re-sign
5969
160
 
5970
161
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
5971
162
 
 
163
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
 
164
 
5972
165
    * If bzr shows an unexpected revision-history after pulling (perhaps due
5973
166
      to a reweave) it can now be corrected by 'bzr reconcile'.
5974
167
      (Robert Collins)
5978
171
    * Commit is now verbose by default, and shows changed filenames and the 
5979
172
      new revision number.  (Robert Collins, Martin Pool)
5980
173
 
5981
 
    * Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
174
    * Unify 'mv', 'move', 'rename'.  (#5379, Matthew Fuller)
5982
175
 
5983
 
    * 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
176
    * 'bzr -h' shows help.  (#35940, Martin Pool, Ian Bicking)
5984
177
 
5985
178
    * Make 'pull' and 'push' remember location on failure using --remember.
5986
179
      (Olaf Conradi)
6006
199
 
6007
200
    * Using Tree Transform for merge, revert, tree-building
6008
201
 
6009
 
    * WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
6010
 
      Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
202
    * WorkingTree.create, Branch.create, WorkingTree.create_standalone,
 
203
      Branch.initialize are now deprecated. Please see BzrDir.create_* for
6011
204
      replacement API's. (Robert Collins)
6012
205
 
6013
206
    * New BzrDir class represents the .bzr control directory and manages
6017
210
      Repository actions and allows for clean selection of optimised code
6018
211
      paths. (Robert Collins)
6019
212
 
6020
 
    * ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
6021
 
      deprecated, please use ``branch.fetch`` or ``repository.fetch``
6022
 
      depending on your needs. (Robert Collins)
 
213
    * bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
 
214
      please use 'branch.fetch' or 'repository.fetch' depending on your
 
215
      needs. (Robert Collins)
6023
216
 
6024
 
    * deprecated methods now have a ``is_deprecated`` flag on them that can
 
217
    * deprecated methods now have a 'is_deprecated' flag on them that can
6025
218
      be checked, if you need to determine whether a given callable is 
6026
219
      deprecated at runtime. (Robert Collins)
6027
220
 
6028
221
    * Progress bars are now nested - see
6029
 
      ``bzrlib.ui.ui_factory.nested_progress_bar``.
6030
 
      (Robert Collins, Robey Pointer)
 
222
      bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
6031
223
 
6032
 
    * New API call ``get_format_description()`` for each type of format.
 
224
    * New API call get_format_description() for each type of format.
6033
225
      (Olaf Conradi)
6034
226
 
6035
 
    * Changed ``branch.set_parent()`` to accept None to remove parent.
 
227
    * Changed branch.set_parent() to accept None to remove parent.
6036
228
      (Olaf Conradi)
6037
229
 
6038
230
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
6039
231
 
6040
232
    * WorkingTree.branch is now a read only property.  (Robert Collins)
6041
233
 
6042
 
    * bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
234
    * bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
6043
235
      can be None or a factory that will create a progress bar. This is
6044
236
      useful for testing or for overriding the bzrlib.progress heuristic.
6045
237
      (Robert Collins)
6046
238
 
6047
 
    * New API method ``get_physical_lock_status()`` to query locks present on a
 
239
    * New API method get_physical_lock_status() to query locks present on a
6048
240
      transport.  (Olaf Conradi)
6049
241
 
6050
242
    * Repository.reconcile now takes a thorough keyword parameter to allow
6051
243
      requesting an indepth reconciliation, rather than just a data-loss 
6052
244
      check. (Robert Collins)
6053
245
 
6054
 
    * ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
246
    * bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
6055
247
      the user for yes/no style input. (Robert Collins)
6056
248
 
6057
249
  TESTING:
6059
251
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
6060
252
      for testing SFTP protocol support. (Robey Pointer)
6061
253
 
6062
 
    * Branch formats are now tested once per implementation (see ``bzrlib.
6063
 
      tests.branch_implementations``. This is analagous to the transport
 
254
    * Branch formats are now tested once per implementation (see bzrlib.
 
255
      tests.branch_implementations. This is analagous to the transport
6064
256
      interface tests, and has been followed up with working tree,
6065
257
      repository and BzrDir tests. (Robert Collins)
6066
258
 
6076
268
 
6077
269
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
6078
270
 
6079
 
    * ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
6080
 
      parameter which will provide String("foo") to the command as its stdin.
 
271
    * run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
 
272
      will provide String("foo") to the command as its stdin.
6081
273
 
6082
274
bzr 0.7 2006-01-09
6083
 
------------------
6084
275
 
6085
276
  CHANGES:
6086
277
 
6092
283
      versioned directories, now use "bzr inventory --kind directory".  
6093
284
      (Johan Rydberg)
6094
285
 
6095
 
    * Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
286
    * Under Windows configuration directory is now %APPDATA%\bazaar\2.0
6096
287
      by default. (John Arbash Meinel)
6097
288
 
6098
 
    * The parent of Bzr configuration directory can be set by ``BZR_HOME``
6099
 
      environment variable. Now the path for it is searched in ``BZR_HOME``,
6100
 
      then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
6101
 
      (usually points to ``C:\Documents and Settings\User Name\Application Data``),
6102
 
      ``HOME``. (John Arbash Meinel)
 
289
    * The parent of Bzr configuration directory can be set by BZR_HOME
 
290
      environment variable. Now the path for it is searched in BZR_HOME, then
 
291
      in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
 
292
      points to C:\Documents and Settings\User Name\Application Data), HOME.
 
293
      (John Arbash Meinel)
6103
294
 
6104
295
    * Plugins with the same name in different directories in the bzr plugin
6105
296
      path are no longer loaded: only the first successfully loaded one is
6144
335
    * Added branch nicks, new nick command, printing them in log output. 
6145
336
      (Aaron Bentley)
6146
337
 
6147
 
    * If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception 
 
338
    * If $BZR_PDB is set, pop into the debugger when an uncaught exception 
6148
339
      occurs.  (Martin Pool)
6149
340
 
6150
341
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
6153
344
    * New ftp transport support (on ftplib), for ftp:// and aftp:// 
6154
345
      URLs.  (Daniel Silverstone)
6155
346
 
6156
 
    * Commit editor temporary files now start with ``bzr_log.``, to allow 
 
347
    * Commit editor temporary files now start with 'bzr_log.', to allow 
6157
348
      text editors to match the file name and set up appropriate modes or 
6158
349
      settings.  (Magnus Therning)
6159
350
 
6168
359
      revno should be printed.  (Michael Ellerman)
6169
360
 
6170
361
    * bzr cat defaults to printing the last version of the file.  
6171
 
      (Matthieu Moy, #3632)
 
362
      (#3632, Matthieu Moy)
6172
363
 
6173
364
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof 
6174
365
      profiler.  (Denys Duchier)
6212
403
    * Fix for sftp transport under windows when using interactive auth
6213
404
 
6214
405
    * Show files which are both renamed and modified as such in 'bzr 
6215
 
      status' output.  (Daniel Silverstone, #4503)
 
406
      status' output.  (#4503, Daniel Silverstone)
6216
407
 
6217
408
    * Make annotate cope better with revisions committed without a valid 
6218
409
      email address.  (Marien Zwart)
6219
410
 
6220
 
    * Fix representation of tab characters in commit messages.
6221
 
      (Harald Meland)
 
411
    * Fix representation of tab characters in commit messages.  (Harald 
 
412
      Meland)
6222
413
 
6223
 
    * List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
414
    * List of plugin directories in BZR_PLUGIN_PATH environment variable is
6224
415
      now parsed properly under Windows. (Alexander Belchenko)
6225
416
 
6226
417
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
6228
419
    * Keep a cached copy of the basis inventory to speed up operations 
6229
420
      that need to refer to it.  (Johan Rydberg, Martin Pool)
6230
421
 
6231
 
    * Fix bugs in bzr status display of non-ascii characters.
6232
 
      (Martin Pool)
 
422
    * Fix bugs in bzr status display of non-ascii characters.  (Martin 
 
423
      Pool)
6233
424
 
6234
 
    * Remove Makefile.in from default ignore list.
6235
 
      (Tollef Fog Heen, Martin Pool, #6413)
 
425
    * Remove Makefile.in from default ignore list.  (#6413, Tollef Fog 
 
426
      Heen, Martin Pool)
6236
427
 
6237
428
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
6238
429
 
6247
438
 
6248
439
    * Make tests work even if HOME is not set (Aaron Bentley)
6249
440
 
6250
 
    * Updated ``build_tree`` to use fixed line-endings for tests which read 
 
441
    * Updated build_tree to use fixed line-endings for tests which read 
6251
442
      the file cotents and compare. Make some tests use this to pass under
6252
443
      Windows. (John Arbash Meinel)
6253
444
 
6260
451
 
6261
452
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
6262
453
      If adding a new test script please add that to
6263
 
      ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
454
      bzrlib.tests.blackbox.__init__. (Robert Collins)
6264
455
 
6265
456
    * Much better error message if one of the test suites can't be 
6266
457
      imported.  (Martin Pool)
6287
478
      see bzrlib.transport.TransportTestProviderAdapter() for this.
6288
479
      (Robert Collins).
6289
480
 
6290
 
    * ``TestCase.build_tree`` uses the transport interface to build trees,
6291
 
      pass in a transport parameter to give it an existing connection.
 
481
    * TestCase.build_tree uses the transport interface to build trees, pass
 
482
      in a transport parameter to give it an existing connection.
6292
483
      (Robert Collins).
6293
484
 
6294
485
  INTERNALS:
6296
487
    * WorkingTree.pull has been split across Branch and WorkingTree,
6297
488
      to allow Branch only pulls. (Robert Collins)
6298
489
 
6299
 
    * ``commands.display_command`` now returns the result of the decorated 
 
490
    * commands.display_command now returns the result of the decorated 
6300
491
      function. (Robert Collins)
6301
492
 
6302
 
    * LocationConfig now has a ``set_user_option(key, value)`` call to save
 
493
    * LocationConfig now has a set_user_option(key, value) call to save
6303
494
      a setting in its matching location section (a new one is created
6304
495
      if needed). (Robert Collins)
6305
496
 
6306
 
    * Branch has two new methods, ``get_push_location`` and
6307
 
      ``set_push_location`` to respectively, get and set the push location.
6308
 
      (Robert Collins)
 
497
    * Branch has two new methods, get_push_location and set_push_location
 
498
      to respectively, get and set the push location. (Robert Collins)
6309
499
 
6310
 
    * ``commands.register_command`` now takes an optional flag to signal that
 
500
    * commands.register_command now takes an optional flag to signal that
6311
501
      the registrant is planning to decorate an existing command. When 
6312
502
      given multiple plugins registering a command is not an error, and
6313
503
      the original command class (whether built in or a plugin based one) is
6318
508
    * Some option parsing errors will raise 'BzrOptionError', allowing 
6319
509
      granular detection for decorating commands. (Robert Collins).
6320
510
 
6321
 
    * ``Branch.read_working_inventory`` has moved to
6322
 
      ``WorkingTree.read_working_inventory``. This necessitated changes to
6323
 
      ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
6324
 
      WorkingTree as well. To make it clear that a WorkingTree cannot always
6325
 
      be obtained ``Branch.working_tree()`` will raise
6326
 
      ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
511
    * Branch.read_working_inventory has moved to
 
512
      WorkingTree.read_working_inventory. This necessitated changes to
 
513
      Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
 
514
      as well. To make it clear that a WorkingTree cannot always be obtained
 
515
      Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
 
516
      be obtained. (Robert Collins)
6327
517
 
6328
518
    * All pending merges operations from Branch are now on WorkingTree.
6329
519
      (Robert Collins)
6330
520
 
6331
 
    * The follow operations from Branch have moved to WorkingTree::
6332
 
 
6333
 
          add()
6334
 
          commit()
6335
 
          move()
6336
 
          rename_one()
6337
 
          unknowns()
6338
 
 
 
521
    * The follow operations from Branch have moved to WorkingTree:
 
522
      add()
 
523
      commit()
 
524
      move()
 
525
      rename_one()
 
526
      unknowns()
6339
527
      (Robert Collins)
6340
528
 
6341
 
    * ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
529
    * bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
6342
530
 
6343
531
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
6344
532
 
6345
 
    * Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin 
 
533
    * Rename selftests to `bzrlib.tests.test_foo`.  (John A Meinel, Martin 
6346
534
      Pool)
6347
535
 
6348
 
    * ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a 
 
536
    * bzrlib.plugin.all_plugins has been changed from an attribute to a 
6349
537
      query method. (Robert Collins)
6350
538
 
6351
539
    * New options to read only the table-of-contents of a weave.  
6354
542
    * Raise NoSuchFile when someone tries to add a non-existant file.
6355
543
      (Michael Ellerman)
6356
544
 
6357
 
    * Simplify handling of DivergedBranches in ``cmd_pull()``.
 
545
    * Simplify handling of DivergedBranches in cmd_pull().
6358
546
      (Michael Ellerman)
 
547
                   
6359
548
   
6360
549
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
6361
 
      is exposed as ``Branch().control_files``. Also this has been altered with the
 
550
      is exposed as Branch().control_files. Also this has been altered with the
6362
551
      controlfile pre/suffix replaced by simple method names like 'get' and
6363
552
      'put'. (Aaron Bentley, Robert Collins).
6364
553
 
6365
554
    * Deprecated functions and methods can now be marked as such using the 
6366
 
      ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
555
      bzrlib.symbol_versioning module. Marked method have their docstring
6367
556
      updated and will issue a DeprecationWarning using the warnings module
6368
557
      when they are used. (Robert Collins)
6369
558
 
6370
 
    * ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
559
    * bzrlib.osutils.safe_unicode now exists to provide parameter coercion
6371
560
      for functions that need unicode strings. (Robert Collins)
6372
561
 
6373
562
bzr 0.6 2005-10-28
6374
 
------------------
6375
563
 
6376
564
  IMPROVEMENTS:
6377
565
  
6409
597
    * New command 're-sign' which will regenerate the gpg signature for 
6410
598
      a revision. (Robert Collins)
6411
599
 
6412
 
    * If you set ``check_signatures=require`` for a path in 
6413
 
      ``~/.bazaar/branches.conf`` then bzr will invoke your
6414
 
      ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
600
    * If you set check_signatures=require for a path in 
 
601
      ~/.bazaar/branches.conf then bzr will invoke your
 
602
      gpg_signing_command (defaults to gpg) and record a digital signature
6415
603
      of your commit. (Robert Collins)
6416
604
 
6417
605
    * New sftp transport, based on Paramiko.  (Robey Pointer)
6425
613
    * 'bzr branch' will now set the branch-name to the last component of the
6426
614
      output directory, if one was supplied.
6427
615
 
6428
 
    * If the option ``post_commit`` is set to one (or more) python function
 
616
    * If the option 'post_commit' is set to one (or more) python function
6429
617
      names (must be in the bzrlib namespace), then they will be invoked
6430
 
      after the commit has completed, with the branch and ``revision_id`` as
 
618
      after the commit has completed, with the branch and revision_id as
6431
619
      parameters. (Robert Collins)
6432
620
 
6433
621
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
6489
677
    * Config options have moved from bzrlib.osutils to bzrlib.config.
6490
678
      Configuration is now done via the config.Config interface:
6491
679
      Depending on whether you have a Branch, a Location or no information
6492
 
      available, construct a ``*Config``, and use its ``signature_checking``,
6493
 
      ``username`` and ``user_email`` methods. (Robert Collins)
 
680
      available, construct a *Config, and use its signature_checking,
 
681
      username and user_email methods. (Robert Collins)
6494
682
 
6495
683
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
6496
684
      they are made available for other plugins to use. You should not 
6497
 
      import other plugins during the ``__init__`` of your plugin though, as 
 
685
      import other plugins during the __init__ of your plugin though, as 
6498
686
      no ordering is guaranteed, and the plugins directory is not on the
6499
687
      python path. (Robert Collins)
6500
688
 
6507
695
      Scott James Remnant.  (Martin Pool)
6508
696
 
6509
697
    * Branch.remove has been moved to WorkingTree, which has also gained
6510
 
      ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
6511
 
      (Robert Collins)
 
698
      lock_read, lock_write and unlock methods for convenience. (Robert
 
699
      Collins)
6512
700
 
6513
 
    * Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
6514
 
      added to the branch module. Use these to cause a function to run in a
 
701
    * Two decorators, needs_read_lock and needs_write_lock have been added
 
702
      to the branch module. Use these to cause a function to run in a
6515
703
      read or write lock respectively. (Robert Collins)
6516
704
 
6517
 
    * ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
705
    * Branch.open_containing now returns a tuple (Branch, relative-path),
6518
706
      which allows direct access to the common case of 'get me this file
6519
707
      from its branch'. (Robert Collins)
6520
708
 
6521
 
    * Transports can register using ``register_lazy_transport``, and they 
 
709
    * Transports can register using register_lazy_transport, and they 
6522
710
      will be loaded when first used.  (Martin Pool)
6523
711
 
6524
 
    * 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
712
    * 'pull' has been factored out of the command as WorkingTree.pull().
6525
713
      A new option to WorkingTree.pull has been added, clobber, which will
6526
714
      ignore diverged history and pull anyway.
6527
715
      (Robert Collins)
6528
716
 
6529
 
    * config.Config has a ``get_user_option`` call that accepts an option name.
 
717
    * config.Config has a 'get_user_option' call that accepts an option name.
6530
718
      This will be looked up in branches.conf and bazaar.conf as normal.
6531
719
      It is intended that this be used by plugins to support options - 
6532
720
      options of built in programs should have specific methods on the config.
6533
721
      (Robert Collins)
6534
722
 
6535
 
    * ``merge.merge_inner`` now has tempdir as an optional parameter.
6536
 
      (Robert Collins)
 
723
    * merge.merge_inner now has tempdir as an optional parameter. (Robert
 
724
      Collins)
6537
725
 
6538
726
    * Tree.kind is not recorded at the top level of the hierarchy, as it was
6539
727
      missing on EmptyTree, leading to a bug with merge on EmptyTrees.
6540
728
      (Robert Collins)
6541
729
 
6542
 
    * ``WorkingTree.__del__`` has been removed, it was non deterministic and not 
6543
 
      doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
730
    * WorkingTree.__del__ has been removed, it was non deterministic and not 
 
731
      doing what it was intended to. See WorkingTree.__init__ for a comment
6544
732
      about future directions. (Robert Collins/Martin Pool)
6545
733
 
6546
734
    * bzrlib.transport.http has been modified so that only 404 urllib errors
6551
739
      to apis like 'put', 'get' and 'has'. This is to provide consistent
6552
740
      behaviour - it operates on url's only. (Robert Collins)
6553
741
 
6554
 
    * Transports can register using ``register_lazy_transport``, and they 
 
742
    * Transports can register using register_lazy_transport, and they 
6555
743
      will be loaded when first used.  (Martin Pool)
6556
744
 
6557
 
    * ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
6558
 
      is called by ``merge_inner``. This is so that the conflict count can be 
 
745
    * 'merge_flex' no longer calls conflict_handler.finalize(), instead that
 
746
      is called by merge_inner. This is so that the conflict count can be 
6559
747
      retrieved (and potentially manipulated) before returning to the caller
6560
 
      of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
748
      of merge_inner. Likewise 'merge' now returns the conflict count to the
6561
749
      caller. (Robert Collins)
6562
750
 
6563
 
    * ``revision.revision_graph`` can handle having only partial history for
 
751
    * 'revision.revision_graph can handle having only partial history for
6564
752
      a revision - that is no revisions in the graph with no parents.
6565
753
      (Robert Collins).
6566
754
 
6567
 
    * New ``builtins.branch_files`` uses the standard ``file_list`` rules to
6568
 
      produce a branch and a list of paths, relative to that branch
6569
 
      (Aaron Bentley)
 
755
    * New builtins.branch_files uses the standard file_list rules to produce
 
756
      a branch and a list of paths, relative to that branch (Aaron Bentley)
6570
757
 
6571
758
    * New TestCase.addCleanup facility.
6572
759
 
6573
 
    * New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
6574
 
      which can be used by programs importing bzrlib.
 
760
    * New bzrlib.version_info tuple (similar to sys.version_info), which can
 
761
      be used by programs importing bzrlib.
6575
762
 
6576
763
  BUG FIXES:
6577
764
 
6583
770
 
6584
771
 
6585
772
bzr 0.1.1 2005-10-12
6586
 
--------------------
6587
773
 
6588
774
  BUG FIXES:
6589
775
 
6599
785
 
6600
786
 
6601
787
bzr 0.1 2005-10-11
6602
 
------------------
6603
788
 
6604
789
  NOTES:
6605
790
 
6636
821
      bzr will correct this when it encounters it. Fixed by
6637
822
      Robert Collins
6638
823
 
6639
 
    * HTTP tests now force off the use of ``http_proxy`` for the duration.
 
824
    * HTTP tests now force off the use of http_proxy for the duration.
6640
825
      Contributed by Gustavo Niemeyer.
6641
826
 
6642
827
    * Fix problems in merging weave-based branches that have 
6645
830
    * Symlink support: working with symlinks when not in the root of a 
6646
831
      bzr tree was broken, patch from Scott James Remnant.
6647
832
 
 
833
 
6648
834
  IMPROVEMENTS:
6649
835
 
6650
836
    * 'branch' now accepts a --basis parameter which will take advantage
6695
881
      bzr branch it cannot understand. This allows for precise
6696
882
      handling of such circumstances.
6697
883
 
6698
 
    * Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
6699
 
      list of their ids and ``parent_sha1s`` is a list of their corresponding
6700
 
      sha1s (for old branches only at the moment.)
6701
 
 
6702
 
    * New method-object style interface for Commit() and Fetch().
6703
 
 
6704
 
    * Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
6705
 
      we call them revisions not patches.
6706
 
 
6707
 
    * Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
6708
 
      directory is created if it doesn't exist.
6709
 
 
6710
 
    * Inventories now identify the files which were present by 
6711
 
      giving the revision *of that file*.
6712
 
 
6713
 
    * Inventory and Revision XML contains a version identifier.  
6714
 
      This must be consistent with the overall branch version
6715
 
      but allows for more flexibility in future upgrades.
6716
884
 
6717
885
  TESTING:
6718
886
 
6720
888
      bzr installed by 'bzr selftest'.
6721
889
 
6722
890
    * 'bzr selftest' command-line arguments can now be partial ids
6723
 
      of tests to run, e.g. ``bzr selftest test_weave``
 
891
      of tests to run, e.g. 'bzr selftest test_weave'
6724
892
 
6725
893
      
6726
894
bzr 0.0.9 2005-09-23
6727
 
--------------------
6728
895
 
6729
896
  BUG FIXES:
6730
897
 
6763
930
 
6764
931
 
6765
932
bzr 0.0.8 2005-09-20
6766
 
--------------------
6767
933
 
6768
934
  IMPROVEMENTS:
6769
935
 
6773
939
      get added when you add a file in the directory.  Contributed by
6774
940
      Michael Ellerman.
6775
941
 
6776
 
    * Ignore ``.DS_Store`` (contains Mac metadata) by default.
6777
 
      (Nir Soffer)
 
942
    * Ignore .DS_Store (contains Mac metadata) by default.  Patch from
 
943
      Nir Soffer.
6778
944
 
6779
 
    * If you set ``BZR_EDITOR`` in the environment, it is checked in
 
945
    * If you set BZR_EDITOR in the environment, it is checked in
6780
946
      preference to EDITOR and the config file for the interactive commit
6781
947
      editing program. Related to this is a bugfix where a missing program
6782
948
      set in EDITOR would cause editing to fail, now the fallback program
6810
976
 
6811
977
 
6812
978
bzr-0.0.7 2005-09-02
6813
 
--------------------
6814
979
 
6815
980
  NEW FEATURES:
6816
981
 
6860
1025
 
6861
1026
 
6862
1027
bzr-0.0.6 2005-08-18
6863
 
--------------------
6864
1028
 
6865
1029
  NEW FEATURES:
6866
1030
 
6867
1031
    * Python plugins, automatically loaded from the directories on
6868
 
      ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
1032
      BZR_PLUGIN_PATH or ~/.bzr.conf/plugins by default.
6869
1033
 
6870
1034
    * New 'bzr mkdir' command.
6871
1035
 
6903
1067
    * Moved plugins directory to bzrlib/, so that there's a standard
6904
1068
      plugin directory which is not only installed with bzr itself but
6905
1069
      is also available when using bzr from the development tree.
6906
 
      ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
1070
      BZR_PLUGIN_PATH and DEFAULT_PLUGIN_PATH are then added to the
6907
1071
      standard plugins directory.
6908
1072
 
6909
1073
    * When exporting to a tarball with ``bzr export --format tgz``, put 
6942
1106
 
6943
1107
 
6944
1108
bzr-0.0.5  2005-06-15
6945
 
---------------------
6946
1109
  
6947
1110
  CHANGES:
6948
1111
 
7056
1219
 
7057
1220
    * Better help messages for many commands.
7058
1221
 
7059
 
    * Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
1222
    * Expose bzrlib.open_tracefile() to start the tracefile; until
7060
1223
      this is called trace messages are just discarded.
7061
1224
 
7062
 
    * New internal function ``find_touching_revisions()`` and hidden
 
1225
    * New internal function find_touching_revisions() and hidden
7063
1226
      command touching-revisions trace the changes to a given file.
7064
1227
 
7065
 
    * Simpler and faster ``compare_inventories()`` function.
 
1228
    * Simpler and faster compare_inventories() function.
7066
1229
 
7067
 
    * ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
1230
    * bzrlib.open_tracefile() takes a tracefilename parameter.
7068
1231
 
7069
1232
    * New AtomicFile class.
7070
1233
 
7078
1241
 
7079
1242
 
7080
1243
bzr-0.0.4  2005-04-22
7081
 
---------------------
7082
1244
 
7083
1245
  ENHANCEMENTS:
7084
1246
 
7115
1277
 
7116
1278
    * Some Unicode/locale fixes.
7117
1279
 
7118
 
    * Partial workaround for ``difflib.unified_diff`` not handling
 
1280
    * Partial workaround for difflib.unified_diff not handling
7119
1281
      trailing newlines properly.
7120
1282
 
7121
1283
 
7142
1304
 
7143
1305
 
7144
1306
bzr-0.0.3  2005-04-06
7145
 
---------------------
7146
1307
 
7147
1308
  ENHANCEMENTS:
7148
1309
 
7183
1344
 
7184
1345
 
7185
1346
bzr-0.0.2.1
7186
 
-----------
7187
1347
 
7188
1348
  PORTABILITY:
7189
1349
 
7191
1351
 
7192
1352
 
7193
1353
bzr-0.0.2  "black cube"  2005-03-31
7194
 
-----------------------------------
7195
1354
 
7196
1355
  ENHANCEMENTS:
7197
1356
 
7219
1378
 
7220
1379
 
7221
1380
bzr-0.0.1  2005-03-26
7222
 
---------------------
7223
1381
 
7224
1382
  ENHANCEMENTS:
7225
1383
 
7246
1404
 
7247
1405
 
7248
1406
bzr-0.0.0.69  2005-03-22
7249
 
------------------------
7250
1407
 
7251
1408
  ENHANCEMENTS:
7252
1409
 
7254
1411
 
7255
1412
    * Storage of local versions: init, add, remove, rm, info, log,
7256
1413
      diff, status, etc.
7257
 
 
7258
 
..
7259
 
   vim: tw=74 ft=rst ff=unix