~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Alexander Belchenko
  • Date: 2007-01-30 15:18:52 UTC
  • mto: This revision was merged to the branch mainline in revision 2259.
  • Revision ID: bialix@ukr.net-20070130151852-pahtk2exx9f1jff9
osutils.py: terminal_width() now use win32utils.get_console_size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
development head
 
1
IN DEVELOPMENT
 
2
 
 
3
  IMPROVEMENTS:
 
4
 
 
5
    * ``bzr mv`` enhanced to support already moved files.
 
6
      In the past the mv command would have failed if the source file doesn't
 
7
      exist. In this situation ``bzr mv`` would now detect that the file has
 
8
      already moved and update the repository accordingly, if the target file
 
9
      does exist.
 
10
      A new option ``--after`` has been added so that if two files already
 
11
      exist, you could notify Bazaar that you have moved a (versioned) file and
 
12
      replaced it with another. Thus in this case ``bzr move --after`` will
 
13
      only update the Bazaar identifier.
 
14
      (Steffen Eichenberg, Marius Kruger)
 
15
 
 
16
    * ``ls`` now works on treeless branches and remote branches.
 
17
      (Aaron Bentley)
 
18
 
 
19
    * ``bzr help global-options`` describes the global options.
 
20
      (Aaron Bentley)
 
21
 
 
22
  INTERNALS:
 
23
 
 
24
    * Reserved ids (any revision-id ending in a colon) are rejected by
 
25
      versionedfiles, repositories, branches, and working trees
 
26
      (Aaron Bentley)
 
27
 
 
28
  BUGFIXES:
 
29
 
 
30
  TESTING:
 
31
 
 
32
    * New ``--first`` option to ``bzr selftest`` to run specified tests
 
33
      before the rest of the suite.  (Martin Pool)
 
34
 
 
35
 
 
36
bzr 0.14  2007-01-23
 
37
 
 
38
  IMPROVEMENTS:
 
39
 
 
40
    * ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
41
 
 
42
  BUG FIXES:
 
43
    
 
44
    * Skip documentation generation tests if the tools to do so are not
 
45
      available. Fixes running selftest for installled copies of bzr. 
 
46
      (John Arbash Meinel, #80330)
 
47
 
 
48
    * Fix the code that discovers whether bzr is being run from it's
 
49
      working tree to handle the case when it isn't but the directory
 
50
      it is in is below a repository. (James Westby, #77306)
 
51
 
 
52
 
 
53
bzr 0.14rc1  2007-01-16
 
54
 
 
55
  IMPROVEMENTS:
 
56
 
 
57
    * New connection: ``bzr+http://`` which supports tunnelling the smart
 
58
      protocol over an HTTP connection. If writing is enabled on the bzr
 
59
      server, then you can write over the http connection.
 
60
      (Andrew Bennetts, John Arbash Meinel)
 
61
 
 
62
    * Aliases now support quotation marks, so they can contain whitespace
 
63
      (Marius Kruger)
 
64
 
 
65
    * PyCurlTransport now use a single curl object. By specifying explicitly
 
66
      the 'Range' header, we avoid the need to use two different curl objects
 
67
      (and two connections to the same server). (Vincent Ladeuil)
 
68
 
 
69
    * ``bzr commit`` does not prompt for a message until it is very likely to
 
70
      succeed.  (Aaron Bentley)
 
71
 
 
72
    * ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
73
      (Aaron Bentley)
 
74
 
 
75
    * Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
76
      of a list while checking if a revision id was requested. Takes 10s
 
77
      off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
78
      of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
79
      filtering lines with a regex rather than multiple ``str.find()``
 
80
      calls. (saves another 300ms) (John Arbash Meinel)
 
81
 
 
82
    * Policy can be set for each configuration key. This allows keys to be
 
83
      inherited properly across configuration entries. For example, this
 
84
      should enable you to do::
 
85
        
 
86
        [/home/user/project]
 
87
        push_location = sftp://host/srv/project/
 
88
        push_location:policy = appendpath
 
89
 
 
90
      And then a branch like ``/home/user/project/mybranch`` should get an
 
91
      automatic push location of ``sftp://host/srv/project/mybranch``.
 
92
      (James Henstridge)
 
93
 
 
94
    * Added ``bzr status --short`` to make status report svn style flags
 
95
      for each file.  For example::
 
96
 
 
97
        $ bzr status --short
 
98
        A  foo
 
99
        A  bar
 
100
        D  baz
 
101
        ?  wooley
 
102
 
 
103
    * 'bzr selftest --clean-output' allows easily clean temporary tests 
 
104
      directories without running tests. (Alexander Belchenko)
 
105
 
 
106
    * ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
107
 
 
108
    * ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
109
      local is fully merged into remote. (Jan Hudec)
 
110
 
 
111
    * ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
112
 
 
113
  INTERNALS:
 
114
 
 
115
    * A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
116
      help speed up processing, as well allowing to extract unannotated
 
117
      lines. Between the two ``fileids_affected_by_revision_ids`` is
 
118
      improved by approx 10%. (John Arbash Meinel)
 
119
 
 
120
    * Change Revision serialization to only write out millisecond
 
121
      resolution. Rather than expecting floating point serialization to
 
122
      preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
123
 
 
124
    * Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
125
 
 
126
    * When 'encoding_type' attribute of class Command is equal to 'exact', 
 
127
      force sys.stdout to be a binary stream on Windows, and therefore
 
128
      keep exact line-endings (without LF -> CRLF conversion).
 
129
      (Alexander Belchenko)
 
130
 
 
131
    * Single-letter short options are no longer globally declared.  (Martin
 
132
      Pool)
 
133
 
 
134
    * Before using detected user/terminal encoding bzr should check
 
135
      that Python has corresponding codec. (Alexander Belchenko)
 
136
 
 
137
    * Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
138
 
 
139
  BUG FIXES:
 
140
 
 
141
    * ``bzr missing --verbose`` was showing adds/removals in the wrong
 
142
      direction. (John Arbash Meinel)
 
143
 
 
144
    * ``bzr annotate`` now defaults to showing dotted revnos for merged
 
145
      revisions. It cuts them off at a depth of 12 characters, but you can
 
146
      supply ``--long`` to see the full number. You can also use
 
147
      ``--show-ids`` to display the original revision ids, rather than
 
148
      revision numbers and committer names. (John Arbash Meinel, #75637)
 
149
 
 
150
    * bzr now supports Win32 UNC path (e.g. \\HOST\path). 
 
151
      (Alexander Belchenko, #57869)
 
152
 
 
153
    * Win32-specific: output of cat, bundle and diff commands don't mangle
 
154
      line-endings (Alexander Belchenko, #55276)
 
155
 
 
156
    * Replace broken fnmatch based ignore pattern matching with custom pattern
 
157
      matcher.
 
158
      (Kent Gibson, Jan Hudec #57637)
 
159
 
 
160
    * pycurl and urllib can detect short reads at different places. Update
 
161
      the test suite to test more cases. Also detect http error code 416
 
162
      which was raised for that specific bug. Also enhance the urllib
 
163
      robustness by detecting invalid ranges (and pycurl's one by detecting
 
164
      short reads during the initial GET). (Vincent Ladeuil, #73948)
 
165
 
 
166
    * The urllib connection sharing interacts badly with urllib2
 
167
      proxy setting (the connections didn't go thru the proxy
 
168
      anymore). Defining a proper ProxyHandler solves the
 
169
      problem.  (Vincent Ladeuil, #74759)
 
170
 
 
171
    * Use urlutils to generate relative URLs, not osutils 
 
172
      (Aaron Bentley, #76229)
 
173
 
 
174
    * ``bzr status`` in a readonly directory should work without giving
 
175
      lots of errors. (John Arbash Meinel, #76299)
 
176
 
 
177
    * Mention the revisionspec topic for the revision option help.
 
178
      (Wouter van Heyst, #31663)
 
179
 
 
180
    * Allow plugins import from zip archives.
 
181
      (Alexander Belchenko, #68124)
 
182
 
 
183
 
 
184
bzr 0.13  2006-12-05
 
185
    
 
186
  No changes from 0.13rc1
 
187
    
 
188
bzr 0.13rc1  2006-11-27
 
189
 
 
190
  IMPROVEMENTS:
 
191
 
 
192
    * New command ``bzr remove-tree`` allows the removal of the working
 
193
      tree from a branch.
 
194
      (Daniel Silverstone)
 
195
 
 
196
    * urllib uses shared keep-alive connections, so http 
 
197
      operations are substantially faster.
 
198
      (Vincent Ladeuil, #53654)
 
199
 
 
200
    * ``bzr export`` allows an optional branch parameter, to export a bzr
 
201
      tree from some other url. For example:
 
202
      ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
203
      (Daniel Silverstone)
 
204
 
 
205
    * Added ``bzr help topics`` to the bzr help system. This gives a
 
206
      location for general information, outside of a specific command.
 
207
      This includes updates for ``bzr help revisionspec`` the first topic
 
208
      included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
209
 
 
210
    * WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
211
      (Andrew Bennetts)
 
212
 
 
213
    * Knit files will now cache full texts only when the size of the
 
214
      deltas is as large as the size of the fulltext. (Or after 200
 
215
      deltas, whichever comes first). This has the most benefit on large
 
216
      files with small changes, such as the inventory for a large project.
 
217
      (eg For a project with 2500 files, and 7500 revisions, it changes
 
218
      the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
219
 
 
220
  INTERNALS:
 
221
 
 
222
    * New -D option given before the command line turns on debugging output
 
223
      for particular areas.  -Derror shows tracebacks on all errors.
 
224
      (Martin Pool)
 
225
 
 
226
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
227
      and remove benchmarks that take longer than 10min to run.
 
228
      (John Arbash Meinel)
 
229
 
 
230
    * Use ``time.time()`` instead of ``time.clock()`` to decide on
 
231
      progress throttling. Because ``time.clock()`` is actually CPU time,
 
232
      so over a high-latency connection, too many updates get throttled.
 
233
      (John Arbash Meinel)
 
234
 
 
235
    * ``MemoryTransport.list_dir()`` would strip the first character for
 
236
      files or directories in root directory. (John Arbash Meinel)
 
237
  
 
238
    * New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
239
      prefix.  It disallows any access to locations above a set URL.  (Andrew
 
240
      Bennetts)
 
241
 
 
242
  BUG FIXES:
 
243
 
 
244
    * Now _KnitIndex properly decode revision ids when loading index data.
 
245
      And optimize the knit index parsing code.  (Dmitry Vasiliev, John
 
246
      Arbash Meinel)
 
247
 
 
248
    * ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
249
      without importing it. This prevented ``bzr upgrade`` from working
 
250
      unless a plugin already imported ``bzrlib.workingtree``
 
251
      (John Arbash Meinel, #70716)
 
252
 
 
253
    * Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
254
 
 
255
    * Give nicer error message when an http server returns a 403
 
256
      error code. (Vincent Ladeuil, #57644).
 
257
 
 
258
    * When a multi-range http GET request fails, try a single
 
259
      range one. If it fails too, forget about ranges. Remember that until 
 
260
      the death of the transport and propagates that to the clones.
 
261
      (Vincent Ladeuil, #62276, #62029).
 
262
 
 
263
    * Handles user/passwords supplied in url from command
 
264
      line (for the urllib implementation). Don't request already
 
265
      known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
266
 
 
267
    * _KnitIndex.add_versions() dictionary compresses revision ids as they
 
268
      are added. This fixes bug where fetching remote revisions records
 
269
      them as full references rather than integers. (John Arbash Meinel,
 
270
      #64789)
 
271
 
 
272
    * ``bzr ignore`` strips trailing slashes in patterns.
 
273
      Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
274
 
 
275
    * ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
276
 
 
277
    * mv correctly handles paths that traverse symlinks. 
 
278
      (Aaron Bentley, #66964)
 
279
 
 
280
    * Give nicer looking error messages when failing to connect over ssh.
 
281
      (John Arbash Meinel, #49172)
 
282
 
 
283
    * Pushing to a remote branch does not currently update the remote working
 
284
      tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
285
      machine now show that the working tree is out of date.
 
286
      (Cheuksan Edward Wang #48136)
 
287
 
 
288
    * Use patiencediff instead of difflib for determining deltas to insert
 
289
      into knits. This avoids the O(N^3) behavior of difflib. Patience
 
290
      diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
291
 
 
292
    * Running ``bzr log`` on nonexistent file gives an error instead of the
 
293
      entire log history. (Cheuksan Edward Wang #50793)
 
294
 
 
295
    * ``bzr cat`` can look up contents of removed or renamed files. If the
 
296
      pathname is ambiguous, i.e. the files in the old and new trees have
 
297
      different id's, the default is the file in the new tree. The user can
 
298
      use "--name-from-revision" to select the file in the old tree.
 
299
      (Cheuksan Edward Wang, #30190)
 
300
 
 
301
  TESTING:
 
302
 
 
303
    * TestingHTTPRequestHandler really handles the Range header
 
304
      (previously it was ignoring it and returning the whole file,).
 
305
 
 
306
bzr 0.12  2006-10-30
 
307
 
 
308
  INTERNALS:
 
309
 
 
310
    * Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
311
      and remove benchmarks that take longer than 10min to run.
 
312
      (John Arbash Meinel)
 
313
  
 
314
bzr 0.12rc1  2006-10-23
 
315
 
 
316
  IMPROVEMENTS:
 
317
 
 
318
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
319
      rather than just showing a decimal revision number for revisions on the
 
320
      mainline. These revision numbers are not yet accepted as input into bzr
 
321
      commands such as log, diff etc. (Robert Collins)
 
322
 
 
323
    * revisions can now be specified using dotted-decimal revision numbers.
 
324
      For instance, ``bzr diff -r 1.2.1..1.2.3. (Robert Collins)
 
325
 
 
326
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
 
327
 
 
328
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
 
329
      a moderate effect on lots of actions, especially ones that have
 
330
      little to do. For example ``bzr rocks`` time is down to 116ms from
 
331
      283ms. (John Arbash Meinel)
 
332
 
 
333
    * New Registry class to provide name-to-object registry-like support,
 
334
      for example for schemes where plugins can register new classes to
 
335
      do certain tasks (e.g. log formatters). Also provides lazy registration
 
336
      to allow modules to be loaded on request. (John Arbash Meinel, Adeodato
 
337
      Simó)
 
338
 
 
339
  API INCOMPATABILITY:
 
340
  
 
341
    * LogFormatter subclasses show now expect the 'revno' parameter to 
 
342
      show() to be a string rather than an int. (Robert Collins)
 
343
 
 
344
  INTERNALS:
 
345
 
 
346
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
347
      can take a ``working_dir='foo'`` parameter, which will change directory 
 
348
      for the command. (John Arbash Meinel)
 
349
 
 
350
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
351
      around a regex, which defers compilation until first use. 
 
352
      (John Arbash Meinel)
 
353
 
 
354
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
355
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
356
      problems with system-wide installed plugins. (John Arbash Meinel)
 
357
 
 
358
    * Unique tree root ids are now supported. Newly created trees still
 
359
      use the common root id for compatibility with bzr versions before 0.12.
 
360
      (Aaron Bentley)
 
361
 
 
362
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
363
      pass in inventory.ROOT_ID if you want the default root id value.
 
364
      (Robert Collins, John Arbash Meinel)
 
365
 
 
366
    * New method ``WorkingTree.flush()`` which will write the current memory
 
367
      inventory out to disk. At the same time, read_working_inventory will
 
368
      no longer trash the current tree inventory if it has been modified within
 
369
      the current lock, and the tree will now ``flush()`` automatically on
 
370
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
371
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
372
 
 
373
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
374
      parameter will cause it to add another column to its output, which
 
375
      contains the dotted-decimal revno for each revision, as a tuple.
 
376
      (Robert Collins)
 
377
 
 
378
    * ``LogFormatter.show_merge`` is deprecated in favour of
 
379
      ``LogFormatter.show_merge_revno``. (Robert Collins)
 
380
 
 
381
  BUG FIXES:
 
382
 
 
383
    * Avoid circular imports by creating a deprecated function for
 
384
      ``bzrlib.tree.RevisionTree``. Callers should have been using
 
385
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
386
      #63360, #66349)
 
387
 
 
388
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
389
      platforms. (Martin Pool, #66356)
 
390
 
 
391
    * Don't require ``Content-Type`` in range responses. Assume they are a
 
392
      single range if ``Content-Type`` does not exist.
 
393
      (John Arbash Meinel, #62473)
 
394
 
 
395
    * bzr branch/pull no longer complain about progress bar cleanup when
 
396
      interrupted during fetch.  (Aaron Bentley, #54000)
 
397
 
 
398
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
399
      the basis inventory, rather than going through the repository. This
 
400
      allows us to have 1 inventory read, and 2 inventory writes when
 
401
      committing a new tree. (John Arbash Meinel)
 
402
 
 
403
    * When reverting, files that are not locally modified that do not exist
 
404
      in the target are deleted, not just unversioned (Aaron Bentley)
 
405
 
 
406
    * When trying to acquire a lock, don't fail immediately. Instead, try
 
407
      a few times (up to 1 hour) before timing out. Also, report why the
 
408
      lock is unavailable (John Arbash Meinel, #43521, #49556)
 
409
 
 
410
    * Leave HttpTransportBase daughter classes decides how they
 
411
      implement cloning. (Vincent Ladeuil, #61606)
 
412
 
 
413
    * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
414
 
 
415
    * If a commit fails, the commit message is stored in a file at the root of
 
416
      the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
417
      #32054)
 
418
 
 
419
  TESTING:
 
420
 
 
421
    * New test base class TestCaseWithMemoryTransport offers memory-only
 
422
      testing facilities: its not suitable for tests that need to mutate disk
 
423
      state, but most tests should not need that and should be converted to
 
424
      TestCaseWithMemoryTransport. (Robert Collins)
 
425
 
 
426
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
 
427
      option to set the BzrDir, Repository and Branch formats of the
 
428
      created objects. (Robert Collins, John Arbash Meinel)
 
429
 
 
430
bzr 0.11  2006-10-02
 
431
 
 
432
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
433
 
 
434
bzr 0.11rc2  2006-09-27
 
435
 
 
436
  BUG FIXES:
 
437
 
 
438
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
439
    
 
440
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
441
      Arbash Meinel).
 
442
 
 
443
bzr 0.11rc1  2006-09-25
 
444
 
 
445
  IMPROVEMENTS:
 
446
 
 
447
    * Knit files now wait to create their contents until the first data is
 
448
      added. The old code used to create an empty .knit and a .kndx with just
 
449
      the header. However, this caused a lot of extra round trips over sftp.
 
450
      This can change the time for ``bzr push`` to create a new remote branch
 
451
      from 160s down to 100s. This also affects ``bzr commit`` performance when
 
452
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
453
      down to 40s (John Arbash Meinel, #44692)
 
454
 
 
455
    * When an entire subtree has been deleted, commit will now report that
 
456
      just the top of the subtree has been deleted, rather than reporting
 
457
      all the individual items. (Robert Collins)
 
458
 
 
459
    * Commit performs one less XML parse. (Robert Collins)
 
460
 
 
461
    * ``bzr checkout`` now operates on readonly branches as well
 
462
      as readwrite branches. This fixes bug #39542. (Robert Collins)
 
463
 
 
464
    * ``bzr bind`` no longer synchronises history with the master branch.
 
465
      Binding should be followed by an update or push to synchronise the 
 
466
      two branches. This is closely related to the fix for bug #39542.
 
467
      (Robert Collins)
 
468
 
 
469
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
 
470
      objects.  This allows all imports to stay at the global scope, but
 
471
      modules will not actually be imported if they are not used.
 
472
      (John Arbash Meinel)
 
473
 
 
474
    * Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
 
475
      transport which will be used with the upcoming high-performance smart
 
476
      server. The new command ``bzr serve`` will invoke bzr in server mode,
 
477
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
478
      Pool)
 
479
 
 
480
    * New command ``bzr version-info`` which can be used to get a summary
 
481
      of the current state of the tree. This is especially useful as part
 
482
      of a build commands. See ``doc/version_info.txt`` for more information 
 
483
      (John Arbash Meinel)
 
484
 
 
485
  BUG FIXES:
 
486
 
 
487
    * 'bzr inventory [FILE...]' allows restricting the file list to a
 
488
      specific set of files. (John Arbash Meinel, #3631)
 
489
 
 
490
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
491
 
 
492
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
493
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
494
      reading a nested Stanza. (John Arbash Meinel)
 
495
 
 
496
    * Transform._set_mode() needs to stat the right file. 
 
497
      (John Arbash Meinel, #56549)
 
498
 
 
499
    * Raise WeaveFormatError rather than StopIteration when trying to read
 
500
      an empty Weave file. (John Arbash Meinel, #46871)
 
501
 
 
502
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
503
      (Vincent Ladeuil, #59835)
 
504
 
 
505
    * Handle boundary="" lines properly to allow access through a Squid proxy.
 
506
      (John Arbash Meinel, #57723)
 
507
 
 
508
    * revert now removes newly-added directories (Aaron Bentley, #54172)
 
509
 
 
510
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
 
511
      isn't a working tree. (David Allouche, #40679)
 
512
 
 
513
    * Give nicer error messages when a user supplies an invalid --revision
 
514
      parameter. (John Arbash Meinel, #55420)
 
515
 
 
516
    * Handle when LANG is not recognized by python. Emit a warning, but
 
517
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
518
 
 
519
    * Don't use preexec_fn on win32, as it is not supported by subprocess.
 
520
      (John Arbash Meinel)
 
521
 
 
522
    * Skip specific tests when the dependencies aren't met. This includes
 
523
      some ``setup.py`` tests when ``python-dev`` is not available, and
 
524
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
525
 
 
526
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
527
      the system. (Andrew Bennetts, John Arbash Meinel)
 
528
 
 
529
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
530
      other branch, and will not push or pull between the two branches.
 
531
      API users will need to perform a push or pull or update operation if they
 
532
      require branch synchronisation to take place. (Robert Collins, #47344)
 
533
 
 
534
    * When creating a tarball or zipfile export, export unicode names as utf-8
 
535
      paths. This may not work perfectly on all platforms, but has the best
 
536
      chance of working in the common case. (John Arbash Meinel, #56816)
 
537
 
 
538
    * When committing, only files that exist in working tree or basis tree
 
539
      may be specified (Aaron Bentley, #50793)
 
540
 
 
541
  PORTABILITY:
 
542
 
 
543
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
544
 
 
545
  INTERNALS:
 
546
 
 
547
    * TestCaseInTempDir now creates a separate directory for HOME, rather
 
548
      than having HOME set to the same location as the working directory.
 
549
      (John Arbash Meinel)
 
550
 
 
551
    * run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
 
552
      which will update os.environ inside the spawned child. It also can
 
553
      take a 'universal_newlines=True', which helps when checking the output
 
554
      of the command. (John Arbash Meinel)
 
555
 
 
556
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
 
557
      (Andrew Bennetts)
 
558
 
 
559
    * Transport.list_dir() and Transport.iter_files_recursive() should always
 
560
      return urlescaped paths. This is now tested (there were bugs in a few
 
561
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
562
 
 
563
    * New utility function symbol_versioning.deprecation_string. Returns the
 
564
      formatted string for a callable, deprecation format pair. (Robert Collins)
 
565
 
 
566
    * New TestCase helper applyDeprecated. This allows you to call a callable
 
567
      which is deprecated without it spewing to the screen, just by supplying
 
568
      the deprecation format string issued for it. (Robert Collins)
 
569
 
 
570
    * Transport.append and Transport.put have been deprecated in favor of
 
571
      .append_bytes, .append_file, .put_bytes, and .put_file. This removes the
 
572
      ambiguity in what type of object the functions take.
 
573
      Transport.non_atomic_put_{bytes,file} has also been added. Which works
 
574
      similarly to Transport.append() except for SFTP, it doesn't have a round
 
575
      trip when opening the file. Also, it provides functionality for creating
 
576
      a parent directory when trying to create a file, rather than raise
 
577
      NoSuchFile and forcing the caller to repeat their request.
 
578
      (John Arbash Meinel)
 
579
 
 
580
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
 
581
      entries by their file id. (Robert Collins)
 
582
 
 
583
    * WorkingTree.pending_merges is deprecated.  Please use the get_parent_ids
 
584
      (introduced in 0.10) method instead. (Robert Collins)
 
585
 
 
586
    * WorkingTree has a new lock_tree_write method which locks the branch for
 
587
      read rather than write. This is appropriate for actions which only need
 
588
      the branch data for reference rather than mutation. A new decorator
 
589
      needs_tree_write_lock is provided in the workingtree module. Like the
 
590
      needs_read_lock and needs_write_lock decorators this allows static 
 
591
      declaration of the locking requirements of a function to ensure that
 
592
      a lock is taken out for casual scripts. (Robert Collins, #54107)
 
593
 
 
594
    * All WorkingTree methods which write to the tree, but not to the branch
 
595
      have been converted to use ``needs_tree_write_lock`` rather than 
 
596
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
597
      transform modules. This provides a modest performance improvement on 
 
598
      metadir style trees, due to the reduce lock-acquisition, and a more
 
599
      significant performance improvement on lightweight checkouts from 
 
600
      remote branches, where trivial operations used to pay a significant 
 
601
      penalty. It also provides the basis for allowing readonly checkouts.
 
602
      (Robert Collins)
 
603
 
 
604
    * Special case importing the standard library 'copy' module. This shaves
 
605
      off 40ms of startup time, while retaining compatibility. See:
 
606
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
607
 
 
608
    * WorkingTree has a new parent class MutableTree which represents the 
 
609
      specialisations of Tree which are able to be altered. (Robert Collins)
 
610
 
 
611
    * New methods mkdir and put_file_bytes_non_atomic on MutableTree that
 
612
      mutate the tree and its contents. (Robert Collins)
 
613
 
 
614
    * Transport behaviour at the root of the URL is now defined and tested.
 
615
      (Andrew Bennetts, Robert Collins)
 
616
 
 
617
  TESTING:
 
618
 
 
619
    * New test helper classs MemoryTree. This is typically accessed via
 
620
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
621
      
 
622
    * Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
 
623
      continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
 
624
      Robert Collins)
 
625
 
 
626
    * Add a new method ``Transport.get_smart_client()``. This is provided to
 
627
      allow upgrades to a richer interface than the VFS one provided by
 
628
      Transport. (Andrew Bennetts, Martin Pool)
 
629
 
 
630
bzr 0.10  2006-08-29
 
631
  
 
632
  IMPROVEMENTS:
 
633
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
634
      tree.  (Aaron Bentley)
 
635
  
 
636
    * 'bzr add --file-ids-from' can be used to specify another path to use
 
637
      for creating file ids, rather than generating all new ones. Internally,
 
638
      the 'action' passed to smart_add_tree() can return file_ids that
 
639
      will be used, rather than having bzrlib generate new ones.
 
640
      (John Arbash Meinel, #55781)
 
641
 
 
642
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
643
      This will cache some of the intermediate trees, and decrease the
 
644
      setup time for benchmark tests. (John Arbash Meinel)
 
645
 
 
646
    * Inverse forms are provided for all boolean options.  For example,
 
647
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
648
 
 
649
    * Serialize out Inventories directly, rather than using ElementTree.
 
650
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
651
      (Robert Collins, John Arbash Meinel)
 
652
 
 
653
  BUG FIXES:
 
654
 
 
655
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
656
 
 
657
    * Change LockDir so that if the lock directory doesn't exist when
 
658
      lock_write() is called, an attempt will be made to create it.
 
659
      (John Arbash Meinel, #56974)
 
660
 
 
661
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
662
 
 
663
    * Active FTP transport now works as intended. (ghozzy, #56472)
 
664
 
 
665
    * Really fix mutter() so that it won't ever raise a UnicodeError.
 
666
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
667
      But it is a debugging log, not a real user file.
 
668
      (John Arbash Meinel, #56947, #53880)
 
669
 
 
670
    * Change Command handle to allow Unicode command and options.
 
671
      At present we cannot register Unicode command names, so we will get
 
672
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
673
      But that is better than a UnicodeError + a traceback.
 
674
      (John Arbash Meinel, #57123)
 
675
 
 
676
    * Handle TZ=UTC properly when reading/writing revisions.
 
677
      (John Arbash Meinel, #55783, #56290)
 
678
 
 
679
    * Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
 
680
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
681
 
 
682
    * External diff does the right thing for binaries even in foreign 
 
683
      languages. (John Arbash Meinel, #56307)
 
684
 
 
685
    * Testament handles more cases when content is unicode. Specific bug was
 
686
      in handling of revision properties. (John Arbash Meinel, Holger Krekel,
 
687
      #54723)
 
688
 
 
689
    * The bzr selftest was failing on installed versions due to a bug in a new
 
690
      test helper. (John Arbash Meinel, Robert Collins, #58057)
 
691
 
 
692
  INTERNALS:
 
693
 
 
694
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
695
      which can be used to cache the conversion between utf8 and Unicode.
 
696
      Especially helpful for some of the knit annotation code, which has to
 
697
      convert revision ids to utf8 to annotate lines in storage.
 
698
      (John Arbash Meinel)
 
699
 
 
700
    * ``setup.py`` now searches the filesystem to find all packages which
 
701
      need to be installed. This should help make the life of packagers
 
702
      easier. (John Arbash Meinel)
 
703
 
 
704
bzr 0.9.0  2006-08-11
 
705
 
 
706
  SURPRISES:
 
707
 
 
708
   * The hard-coded built-in ignore rules have been removed. There are
 
709
     now two rulesets which are enforced. A user global one in 
 
710
     ~/.bazaar/ignore which will apply to every tree, and the tree
 
711
     specific one '.bzrignore'.
 
712
     ~/.bazaar/ignore will be created if it does not exist, but with
 
713
     a more conservative list than the old default.
 
714
     This fixes bugs with default rules being enforced no matter what. 
 
715
     The old list of ignore rules from bzr is available by
 
716
     running 'bzr ignore --old-default-rules'.
 
717
     (Robert Collins, Martin Pool, John Arbash Meinel)
 
718
 
 
719
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
 
720
     to more locations than just branch locations.
 
721
     (Aaron Bentley)
 
722
   
 
723
  IMPROVEMENTS:
 
724
 
 
725
   * The revision specifier "revno:" is extended to accept the syntax
 
726
     revno:N:branch. For example,
 
727
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
728
     bzr.dev.  (Matthieu Moy)
 
729
 
 
730
   * Tests updates to ensure proper URL handling, UNICODE support, and
 
731
     proper printing when the user's terminal encoding cannot display 
 
732
     the path of a file that has been versioned.
 
733
     ``bzr branch`` can take a target URL rather than only a local directory.
 
734
     Branch.get_parent()/set_parent() now save a relative path if possible,
 
735
     and normalize the parent based on root, allowing access across
 
736
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
737
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
738
      #42517, #42514)
 
739
 
 
740
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
741
     Use terminal width for single-line logs from ``bzr log --line`` and
 
742
     pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
743
     (Malone #3507)
 
744
 
 
745
   * On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
746
     (Alexander Belchenko)
 
747
 
 
748
   * Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
749
 
 
750
   * Show the correct number of revisions pushed when pushing a new branch.
 
751
     (Robert Collins).
 
752
 
 
753
   * 'bzr selftest' now shows a progress bar with the number of tests, and 
 
754
     progress made. 'make check' shows tests in -v mode, to be more useful
 
755
     for the PQM status window. (Robert Collins).
 
756
     When using a progress bar, failed tests are printed out, rather than
 
757
     being overwritten by the progress bar until the suite finishes.
 
758
     (John Arbash Meinel)
 
759
 
 
760
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
761
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
762
     profile data for the individual profiled calls, allowing for fine
 
763
     grained analysis of performance.
 
764
     (Robert Collins, Martin Pool).
 
765
 
 
766
   * 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
767
     where commit can take an appreciable time. (Robert Collins)
 
768
 
 
769
   * 'bzr add' is now less verbose in telling you what ignore globs were
 
770
     matched by files being ignored. Instead it just tells you how many 
 
771
     were ignored (because you might reasonably be expecting none to be
 
772
     ignored). 'bzr add -v' is unchanged and will report every ignored
 
773
     file. (Robert Collins).
 
774
 
 
775
   * ftp now has a test server if medusa is installed. As part of testing,
 
776
     ftp support has been improved, including support for supplying a
 
777
     non-standard port. (John Arbash Meinel).
 
778
 
 
779
   * 'bzr log --line' shows the revision number, and uses only the
 
780
     first line of the log message (#5162, Alexander Belchenko;
 
781
     Matthieu Moy)
 
782
 
 
783
   * 'bzr status' has had the --all option removed. The 'bzr ls' command
 
784
     should be used to retrieve all versioned files. (Robert Collins)
 
785
 
 
786
   * 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
787
     over email, and applied on the other end, while maintaining ancestry.
 
788
     This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
789
     the same way you would apply another branch.
 
790
     (John Arbash Meinel, Aaron Bentley)
 
791
  
 
792
   * 'bzr whoami' can now be used to set your identity from the command line,
 
793
     for a branch or globally.  (Robey Pointer)
 
794
 
 
795
   * 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
796
     (Michael Ellerman)
 
797
 
 
798
   * 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
799
     (Aaron Bentley)
 
800
 
 
801
   * 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
802
     Also updates things like 'http+pycurl://' if pycurl is not present.
 
803
     (John Arbash Meinel) (Malone #47821, #52204)
 
804
 
 
805
   * New env variable BZR_PROGRESS_BAR, sets the default progress bar type.
 
806
     Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or 
 
807
     'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
808
 
 
809
   * Improve the help text for 'bzr diff' to explain what various options do.
 
810
     (John Arbash Meinel, #6391)
 
811
 
 
812
   * 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
813
     revision 10. This makes -r10 more in line with what other commands do.
 
814
     'bzr uncommit' also now saves the pending merges of the revisions that
 
815
     were removed. So it is safe to uncommit after a merge, fix something,
 
816
     and commit again. (John Arbash Meinel, #32526, #31426)
 
817
 
 
818
   * 'bzr init' now also works on remote locations.
 
819
     (Wouter van Heyst, #48904)
 
820
 
 
821
   * HTTP support has been updated. When using pycurl we now support 
 
822
     connection keep-alive, which reduces dns requests and round trips.
 
823
     And for both urllib and pycurl we support multi-range requests, 
 
824
     which decreases the number of round-trips. Performance results for
 
825
     ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
826
     http branching is now 2-3x faster, and ``bzr pull`` in an existing 
 
827
     branch is as much as 4x faster.
 
828
     (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
829
 
 
830
   * Performance improvements for sftp. Branching and pulling are now up to
 
831
     2x faster. Utilize paramiko.readv() support for async requests if it
 
832
     is available (paramiko > 1.6) (John Arbash Meinel)
 
833
 
 
834
  BUG FIXES:
 
835
 
 
836
    * Fix shadowed definition of TestLocationConfig that caused some 
 
837
      tests not to run.  (#32587, Erik Bågfors, Michael Ellerman, 
 
838
      Martin Pool)
 
839
 
 
840
    * Fix unnecessary requirement of sign-my-commits that it be run from
 
841
      a working directory.  (Martin Pool, Robert Collins)
 
842
 
 
843
    * 'bzr push location' will only remember the push location if it succeeds
 
844
      in connecting to the remote location. (#49742, John Arbash Meinel)
 
845
 
 
846
    * 'bzr revert' no longer toggles the executable bit on win32
 
847
      (#45010, John Arbash Meinel)
 
848
 
 
849
    * Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
850
    
 
851
    * sftp tests now work correctly on win32 if you have a newer paramiko
 
852
      (John Arbash Meinel)
 
853
 
 
854
    * Cleanup win32 test suite, and general cleanup of places where
 
855
      file handles were being held open. (John Arbash Meinel)
 
856
 
 
857
    * When specifying filenames for 'diff -r x..y', the name of the file in the
 
858
      working directory can be used, even if its name is different in both x
 
859
      and y.
 
860
 
 
861
    * File-ids containing single- or double-quotes are handled correctly by
 
862
      push.  (#52227, Aaron Bentley)
 
863
 
 
864
    * Normalize unicode filenames to ensure cross-platform consistency.
 
865
      (John Arbash Meinel, #43689)
 
866
 
 
867
    * The argument parser can now handle '-' as an argument. Currently
 
868
      no code interprets it specially (it is mostly handled as a file named 
 
869
      '-'). But plugins, and future operations can use it.
 
870
      (John Arbash meinel, #50984)
 
871
 
 
872
    * Bundles can properly read binary files with a plain '\r' in them.
 
873
      (John Arbash Meinel, #51927)
 
874
 
 
875
    * Tuning iter_entries() to be more efficient (John Arbash Meinel, #5444)
 
876
 
 
877
    * Lots of win32 fixes (the test suite passes again).
 
878
      (John Arbash Meinel, #50155)
 
879
 
 
880
    * Handle openbsd returning None for sys.getfilesystemencoding() (#41183) 
 
881
 
 
882
    * Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
883
 
 
884
    * Removals are only committed if they match the filespec (or if there is
 
885
      no filespec).  (#46635, Aaron Bentley)
 
886
 
 
887
    * smart-add recurses through all supplied directories 
 
888
      (John Arbash Meinel, #52578)
 
889
 
 
890
    * Make the bundle reader extra lines before and after the bundle text.
 
891
      This allows you to parse an email with the bundle inline.
 
892
      (John Arbash Meinel, #49182)
 
893
 
 
894
    * Change the file id generator to squash a little bit more. Helps when
 
895
      working with long filenames on windows. (Also helps for unicode filenames
 
896
      not generating hidden files). (John Arbash Meinel, #43801)
 
897
 
 
898
    * Restore terminal mode on C-c while reading sftp password.  (#48923, 
 
899
      Nicholas Allen, Martin Pool)
 
900
 
 
901
    * Timestamps are rounded to 1ms, and revision entries can be recreated
 
902
      exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
903
 
 
904
    * Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
905
      use local paths, since it is user visible (John Arbash Meinel, #53653)
 
906
 
 
907
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
 
908
      to be generated (John Arbash Meinel, #53638)
 
909
 
 
910
    * When reading revision properties, an empty value should be considered
 
911
      the empty string, not None (John Arbash Meinel, #47782)
 
912
 
 
913
    * ``bzr diff --diff-options`` can now handle binary files being changed.
 
914
      Also, the output is consistent when --diff-options is not supplied.
 
915
      (John Arbash Meinel, #54651, #52930)
 
916
 
 
917
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
918
 
 
919
    * Fix Branch.get_parent() to handle the case when the parent is not 
 
920
      accessible (John Arbash Meinel, #52976)
 
921
 
 
922
  INTERNALS:
 
923
 
 
924
    * Combine the ignore rules into a single regex rather than looping over
 
925
      them to reduce the threshold where  N^2 behaviour occurs in operations
 
926
      like status. (Jan Hudec, Robert Collins).
 
927
 
 
928
    * Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
 
929
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
930
 
 
931
    * 'bzr push' should only push the ancestry of the current revision, not
 
932
      all of the history in the repository. This is especially important for
 
933
      shared repositories. (John Arbash Meinel)
 
934
 
 
935
    * bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
 
936
      rather than randomly walking the inventories. (John Arbash Meinel)
 
937
 
 
938
    * Doctests are now run in temporary directories which are cleaned up when
 
939
      they finish, rather than using special ScratchDir/ScratchBranch objects.
 
940
      (Martin Pool)
 
941
 
 
942
    * Split ``check`` into separate methods on the branch and on the repository,
 
943
      so that it can be specialized in ways that are useful or efficient for
 
944
      different formats.  (Martin Pool, Robert Collins)
 
945
 
 
946
    * Deprecate Repository.all_revision_ids; most methods don't really need
 
947
      the global revision graph but only that part leading up to a particular
 
948
      revision.  (Martin Pool, Robert Collins)
 
949
 
 
950
    * Add a BzrDirFormat control_formats list which allows for control formats
 
951
      that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
952
      (Robert Collins, Jelmer Vernooij).
 
953
 
 
954
    * bzrlib.diff.external_diff can be redirected to any file-like object.
 
955
      Uses subprocess instead of spawnvp.
 
956
      (#4047, #48914, James Henstridge, John Arbash Meinel)
 
957
 
 
958
    * New command line option '--profile-imports', which will install a custom
 
959
      importer to log time to import modules and regex compilation time to 
 
960
      sys.stderr (John Arbash Meinel)
 
961
 
 
962
    * 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
 
963
      instead. (Robert Collins)
 
964
 
 
965
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
966
 
 
967
bzr 0.8.2  2006-05-17
 
968
  
 
969
  BUG FIXES:
 
970
   
 
971
    * setup.py failed to install launchpad plugin.  (Martin Pool)
 
972
 
 
973
bzr 0.8.1  2006-05-16
 
974
 
 
975
  BUG FIXES:
 
976
 
 
977
    * Fix failure to commit a merge in a checkout.  (Martin Pool, 
 
978
      Robert Collins, Erik Bågfors, #43959)
 
979
 
 
980
    * Nicer messages from 'commit' in the case of renames, and correct
 
981
      messages when a merge has occured. (Robert Collins, Martin Pool)
 
982
 
 
983
    * Separate functionality from assert statements as they are skipped in
 
984
      optimized mode of python. Add the same check to pending merges.
 
985
      (#44443, Olaf Conradi)
 
986
 
 
987
  CHANGES:
 
988
 
 
989
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
990
 
 
991
    * Add info on standalone branches without a working tree.
 
992
      (#44155, Olaf Conradi)
 
993
 
 
994
    * Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
 
995
 
 
996
  CHANGES:
 
997
 
 
998
    * Make editor invocation comply with Debian Policy. First check
 
999
      environment variables VISUAL and EDITOR, then try editor from
 
1000
      alternatives system. If that all fails, fall back to the pre-defined
 
1001
      list of editors. (#42904, Olaf Conradi)
 
1002
 
 
1003
  NEW FEATURES:
 
1004
 
 
1005
    * New 'register-branch' command registers a public branch into 
 
1006
      Launchpad.net, where it can be associated with bugs, etc.
 
1007
      (Martin Pool, Bjorn Tillenius, Robert Collins)
 
1008
 
 
1009
  INTERNALS:
 
1010
 
 
1011
    * New public api in InventoryEntry - 'describe_change(old, new)' which
 
1012
      provides a human description of the changes between two old and
 
1013
      new. (Robert Collins, Martin Pool)
 
1014
 
 
1015
  TESTING:
 
1016
 
 
1017
    * Fix test case for bzr info in upgrading a standalone branch to metadir,
 
1018
      uses bzrlib api now. (Olaf Conradi)
 
1019
 
 
1020
bzr 0.8  2006-05-08
 
1021
 
 
1022
  NOTES WHEN UPGRADING:
 
1023
 
 
1024
    Release 0.8 of bzr introduces a new format for history storage, called
 
1025
    'knit', as an evolution of to the 'weave' format used in 0.7.  Local 
 
1026
    and remote operations are faster using knits than weaves.  Several
 
1027
    operations including 'init', 'init-repo', and 'upgrade' take a 
 
1028
    --format option that controls this.  Branching from an existing branch
 
1029
    will keep the same format.
 
1030
 
 
1031
    It is possible to merge, pull and push between branches of different
 
1032
    formats but this is slower than moving data between homogenous
 
1033
    branches.  It is therefore recommended (but not required) that you
 
1034
    upgrade all branches for a project at the same time.  Information on
 
1035
    formats is shown by 'bzr info'.
 
1036
 
 
1037
    bzr 0.8 now allows creation of 'repositories', which hold the history 
 
1038
    of files and revisions for several branches.  Previously bzr kept all
 
1039
    the history for a branch within the .bzr directory at the root of the
 
1040
    branch, and this is still the default.  To create a repository, use
 
1041
    the new 'bzr init-repo' command.  Branches exist as directories under
 
1042
    the repository and contain just a small amount of information
 
1043
    indicating the current revision of the branch.
 
1044
 
 
1045
    bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
1046
    subversion.  Checkouts are associated with a branch (optionally in a
 
1047
    repository), which contains all the historical information.  The
 
1048
    result is that a checkout can be deleted without losing any
 
1049
    already-committed revisions.  A new 'update' command is also available. 
 
1050
 
 
1051
    Repositories and checkouts are not supported with the 0.7 storage
 
1052
    format.  To use them you must upgrad to either knits, or to the
 
1053
    'metaweave' format, which uses weaves but changes the .bzr directory
 
1054
    arrangement.
 
1055
    
 
1056
 
 
1057
  IMPROVEMENTS:
 
1058
 
 
1059
    * Sftp paths can now be relative, or local, according to the lftp
 
1060
      convention. Paths now take the form:
 
1061
      sftp://user:pass@host:port/~/relative/path
 
1062
      or
 
1063
      sftp://user:pass@host:port/absolute/path
 
1064
 
 
1065
    * The FTP transport now tries to reconnect after a temporary
 
1066
      failure. ftp put is made atomic. (Matthieu Moy)
 
1067
 
 
1068
    * The FTP transport now maintains a pool of connections, and
 
1069
      reuses them to avoid multiple connections to the same host (like
 
1070
      sftp did). (Daniel Silverstone)
 
1071
 
 
1072
    * The bzr_man.py file has been removed. To create the man page now,
 
1073
      use ./generate_docs.py man. The new program can also create other files.
 
1074
      Run "python generate_docs.py --help" for usage information. (Hans
 
1075
      Ulrich Niedermann & James Blackwell).
 
1076
 
 
1077
    * Man Page now gives full help (James Blackwell). Help also updated to 
 
1078
      reflect user config now being stored in .bazaar (Hans Ulrich
 
1079
      Niedermann)
 
1080
 
 
1081
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
1082
 
 
1083
    * Pull now accepts a --revision argument (Erik Bågfors)
 
1084
 
 
1085
    * 'bzr re-sign' now allows multiple revisions to be supplied on the command
 
1086
      line. You can now use the following command to sign all of your old commits.
 
1087
        find .bzr/revision-store// -name my@email-* \
 
1088
          | sed 's/.*\/\/..\///' \
 
1089
          | xargs bzr re-sign
 
1090
 
 
1091
    * Upgrade can now upgrade over the network. (Robert Collins)
 
1092
 
 
1093
    * Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
1094
      behaviour.  By default they will cache history in the checkout, but
 
1095
      with --lightweight almost all data is kept in the master branch.
 
1096
      (Robert Collins)
 
1097
 
 
1098
    * 'revert' unversions newly-versioned files, instead of deleting them.
 
1099
 
 
1100
    * 'merge' is more robust.  Conflict messages have changed.
 
1101
 
 
1102
    * 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
1103
      '.moved'.
 
1104
 
 
1105
    * Default log format can be set in configuration and plugins can register
 
1106
      their own formatters. (Erik Bågfors)
 
1107
 
 
1108
    * New 'reconcile' command will check branch consistency and repair indexes
 
1109
      that can become out of sync in pre 0.8 formats. (Robert Collins,
 
1110
      Daniel Silverstone)
 
1111
 
 
1112
    * New 'bzr init --format' and 'bzr upgrade --format' option to control 
 
1113
      what storage format is created or produced.  (Robert Collins, 
 
1114
      Martin Pool)
 
1115
 
 
1116
    * Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
1117
 
 
1118
    * New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
1119
 
 
1120
    * New 'init-repository' command, plus support for repositories in 'init'
 
1121
      and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
1122
 
 
1123
    * Improve output of 'info' command. Show all relevant locations related to
 
1124
      working tree, branch and repository. Use kibibytes for binary quantities.
 
1125
      Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
1126
      work on branches, repositories and remote locations.  Show locations
 
1127
      relative to the shared repository, if applicable.  Show locking status
 
1128
      of locations.  (Olaf Conradi)
 
1129
 
 
1130
    * Diff and merge now safely handle binary files. (Aaron Bentley)
 
1131
 
 
1132
    * 'pull' and 'push' now normalise the revision history, so that any two
 
1133
      branches with the same tip revision will have the same output from 'log'.
 
1134
      (Robert Collins)
 
1135
 
 
1136
    * 'merge' accepts --remember option to store parent location, like 'push'
 
1137
      and 'pull'. (Olaf Conradi)
 
1138
 
 
1139
    * bzr status and diff when files given as arguments do not exist
 
1140
      in the relevant trees.  (Martin Pool, #3619)
 
1141
 
 
1142
    * Add '.hg' to the default ignore list.  (Martin Pool)
 
1143
 
 
1144
    * 'knit' is now the default disk format. This improves disk performance and
 
1145
      utilization, increases incremental pull performance, robustness with SFTP
 
1146
      and allows checkouts over SFTP to perform acceptably. 
 
1147
      The initial Knit code was contributed by Johan Rydberg based on a
 
1148
      specification by Martin Pool.
 
1149
      (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
1150
 
 
1151
    * New tool to generate all-in-one html version of the manual.  (Alexander
 
1152
      Belchenko)
 
1153
 
 
1154
    * Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
1155
      to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
1156
 
 
1157
    * New option 'diff --prefix' to control how files are named in diff
 
1158
      output, with shortcuts '-p0' and '-p1' corresponding to the options for 
 
1159
      GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
1160
 
 
1161
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
 
1162
 
 
1163
    * If bzr shows an unexpected revision-history after pulling (perhaps due
 
1164
      to a reweave) it can now be corrected by 'bzr reconcile'.
 
1165
      (Robert Collins)
 
1166
 
 
1167
  CHANGES:
 
1168
 
 
1169
    * Commit is now verbose by default, and shows changed filenames and the 
 
1170
      new revision number.  (Robert Collins, Martin Pool)
 
1171
 
 
1172
    * Unify 'mv', 'move', 'rename'.  (#5379, Matthew Fuller)
 
1173
 
 
1174
    * 'bzr -h' shows help.  (#35940, Martin Pool, Ian Bicking)
 
1175
 
 
1176
    * Make 'pull' and 'push' remember location on failure using --remember.
 
1177
      (Olaf Conradi)
 
1178
 
 
1179
    * For compatibility, make old format for using weaves inside metadir
 
1180
      available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
1181
      Clean up help for option --format in commands 'init', 'init-repo' and
 
1182
      'upgrade'.  (Olaf Conradi)
 
1183
 
 
1184
  INTERNALS:
 
1185
  
 
1186
    * The internal storage of history, and logical branch identity have now
 
1187
      been split into Branch, and Repository. The common locking and file 
 
1188
      management routines are now in bzrlib.lockablefiles. 
 
1189
      (Aaron Bentley, Robert Collins, Martin Pool)
 
1190
 
 
1191
    * Transports can now raise DependencyNotPresent if they need a library
 
1192
      which is not installed, and then another implementation will be 
 
1193
      tried.  (Martin Pool)
 
1194
 
 
1195
    * Remove obsolete (and no-op) `decode` parameter to `Transport.get`.  
 
1196
      (Martin Pool)
 
1197
 
 
1198
    * Using Tree Transform for merge, revert, tree-building
 
1199
 
 
1200
    * WorkingTree.create, Branch.create, WorkingTree.create_standalone,
 
1201
      Branch.initialize are now deprecated. Please see BzrDir.create_* for
 
1202
      replacement API's. (Robert Collins)
 
1203
 
 
1204
    * New BzrDir class represents the .bzr control directory and manages
 
1205
      formatting issues. (Robert Collins)
 
1206
 
 
1207
    * New repository.InterRepository class encapsulates Repository to 
 
1208
      Repository actions and allows for clean selection of optimised code
 
1209
      paths. (Robert Collins)
 
1210
 
 
1211
    * bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
 
1212
      please use 'branch.fetch' or 'repository.fetch' depending on your
 
1213
      needs. (Robert Collins)
 
1214
 
 
1215
    * deprecated methods now have a 'is_deprecated' flag on them that can
 
1216
      be checked, if you need to determine whether a given callable is 
 
1217
      deprecated at runtime. (Robert Collins)
 
1218
 
 
1219
    * Progress bars are now nested - see
 
1220
      bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
 
1221
 
 
1222
    * New API call get_format_description() for each type of format.
 
1223
      (Olaf Conradi)
 
1224
 
 
1225
    * Changed branch.set_parent() to accept None to remove parent.
 
1226
      (Olaf Conradi)
 
1227
 
 
1228
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
1229
 
 
1230
    * WorkingTree.branch is now a read only property.  (Robert Collins)
 
1231
 
 
1232
    * bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
 
1233
      can be None or a factory that will create a progress bar. This is
 
1234
      useful for testing or for overriding the bzrlib.progress heuristic.
 
1235
      (Robert Collins)
 
1236
 
 
1237
    * New API method get_physical_lock_status() to query locks present on a
 
1238
      transport.  (Olaf Conradi)
 
1239
 
 
1240
    * Repository.reconcile now takes a thorough keyword parameter to allow
 
1241
      requesting an indepth reconciliation, rather than just a data-loss 
 
1242
      check. (Robert Collins)
 
1243
 
 
1244
    * bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
 
1245
      the user for yes/no style input. (Robert Collins)
 
1246
 
 
1247
  TESTING:
 
1248
 
 
1249
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
1250
      for testing SFTP protocol support. (Robey Pointer)
 
1251
 
 
1252
    * Branch formats are now tested once per implementation (see bzrlib.
 
1253
      tests.branch_implementations. This is analagous to the transport
 
1254
      interface tests, and has been followed up with working tree,
 
1255
      repository and BzrDir tests. (Robert Collins)
 
1256
 
 
1257
    * New test base class TestCaseWithTransport provides a transport aware
 
1258
      test environment, useful for testing any transport-interface using
 
1259
      code. The test suite option --transport controls the transport used
 
1260
      by this class (when its not being used as part of implementation
 
1261
      contract testing). (Robert Collins)
 
1262
 
 
1263
    * Close logging handler on disabling the test log. This will remove the
 
1264
      handler from the internal list inside python's logging module,
 
1265
      preventing shutdown from closing it twice.  (Olaf Conradi)
 
1266
 
 
1267
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
1268
 
 
1269
    * run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
 
1270
      will provide String("foo") to the command as its stdin.
 
1271
 
 
1272
bzr 0.7 2006-01-09
 
1273
 
 
1274
  CHANGES:
 
1275
 
 
1276
    * .bzrignore is excluded from exports, on the grounds that it's a bzr 
 
1277
      internal-use file and may not be wanted.  (Jamie Wilkinson)
 
1278
 
 
1279
    * The "bzr directories" command were removed in favor of the new
 
1280
      --kind option to the "bzr inventory" command.  To list all 
 
1281
      versioned directories, now use "bzr inventory --kind directory".  
 
1282
      (Johan Rydberg)
 
1283
 
 
1284
    * Under Windows configuration directory is now %APPDATA%\bazaar\2.0
 
1285
      by default. (John Arbash Meinel)
 
1286
 
 
1287
    * The parent of Bzr configuration directory can be set by BZR_HOME
 
1288
      environment variable. Now the path for it is searched in BZR_HOME, then
 
1289
      in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
 
1290
      points to C:\Documents and Settings\User Name\Application Data), HOME.
 
1291
      (John Arbash Meinel)
 
1292
 
 
1293
    * Plugins with the same name in different directories in the bzr plugin
 
1294
      path are no longer loaded: only the first successfully loaded one is
 
1295
      used. (Robert Collins)
 
1296
 
 
1297
    * Use systems' external ssh command to open connections if possible.  
 
1298
      This gives better integration with user settings such as ProxyCommand.
 
1299
      (James Henstridge)
 
1300
 
 
1301
    * Permissions on files underneath .bzr/ are inherited from the .bzr 
 
1302
      directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
1303
      will mean that future file will be created with group write permissions.
 
1304
 
 
1305
    * configure.in and config.guess are no longer in the builtin default 
 
1306
      ignore list.
 
1307
 
 
1308
    * '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
1309
      files.  (John Arbash Meinel, Martin Pool)
 
1310
 
 
1311
  IMPROVEMENTS:
 
1312
 
 
1313
    * "bzr INIT dir" now initializes the specified directory, and creates 
 
1314
      it if it does not exist.  (John Arbash Meinel)
 
1315
 
 
1316
    * New remerge command (Aaron Bentley)
 
1317
 
 
1318
    * Better zsh completion script.  (Steve Borho)
 
1319
 
 
1320
    * 'bzr diff' now returns 1 when there are changes in the working 
 
1321
      tree. (Robert Collins)
 
1322
 
 
1323
    * 'bzr push' now exists and can push changes to a remote location. 
 
1324
      This uses the transport infrastructure, and can store the remote
 
1325
      location in the ~/.bazaar/branches.conf configuration file.
 
1326
      (Robert Collins)
 
1327
 
 
1328
    * Test directories are only kept if the test fails and the user requests
 
1329
      that they be kept.
 
1330
 
 
1331
    * Tweaks to short log printing
 
1332
 
 
1333
    * Added branch nicks, new nick command, printing them in log output. 
 
1334
      (Aaron Bentley)
 
1335
 
 
1336
    * If $BZR_PDB is set, pop into the debugger when an uncaught exception 
 
1337
      occurs.  (Martin Pool)
 
1338
 
 
1339
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
1340
      the same as Subversion.  (Martin Pool)
 
1341
 
 
1342
    * New ftp transport support (on ftplib), for ftp:// and aftp:// 
 
1343
      URLs.  (Daniel Silverstone)
 
1344
 
 
1345
    * Commit editor temporary files now start with 'bzr_log.', to allow 
 
1346
      text editors to match the file name and set up appropriate modes or 
 
1347
      settings.  (Magnus Therning)
 
1348
 
 
1349
    * Improved performance when integrating changes from a remote weave.  
 
1350
      (Goffredo Baroncelli)
 
1351
 
 
1352
    * Sftp will attempt to cache the connection, so it is more likely that
 
1353
      a connection will be reused, rather than requiring multiple password
 
1354
      requests.
 
1355
 
 
1356
    * bzr revno now takes an optional argument indicating the branch whose
 
1357
      revno should be printed.  (Michael Ellerman)
 
1358
 
 
1359
    * bzr cat defaults to printing the last version of the file.  
 
1360
      (#3632, Matthieu Moy)
 
1361
 
 
1362
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof 
 
1363
      profiler.  (Denys Duchier)
 
1364
 
 
1365
    * Faster commits by reading only the headers of affected weave files. 
 
1366
      (Denys Duchier)
 
1367
 
 
1368
    * 'bzr add' now takes a --dry-run parameter which shows you what would be
 
1369
      added, but doesn't actually add anything. (Michael Ellerman)
 
1370
 
 
1371
    * 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
1372
      lists the specific files.  (Aaron Bentley)
 
1373
 
 
1374
    * 'bzr missing' now supports displaying changes in diverged trees and can
 
1375
      be limited to show what either end of the comparison is missing.
 
1376
      (Aaron Bently, with a little prompting from Daniel Silverstone)
 
1377
 
 
1378
  BUG FIXES:
 
1379
 
 
1380
    * SFTP can walk up to the root path without index errors. (Robert Collins)
 
1381
 
 
1382
    * Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
1383
 
 
1384
    * Error when run with -OO
 
1385
 
 
1386
    * Fix bug in reporting http errors that don't have an http error code.
 
1387
      (Martin Pool)
 
1388
 
 
1389
    * Handle more cases of pipe errors in display commands
 
1390
 
 
1391
    * Change status to 3 for all errors
 
1392
 
 
1393
    * Files that are added and unlinked before committing are completely
 
1394
      ignored by diff and status
 
1395
 
 
1396
    * Stores with some compressed texts and some uncompressed texts are now
 
1397
      able to be used. (John A Meinel)
 
1398
 
 
1399
    * Fix for bzr pull failing sometimes under windows
 
1400
 
 
1401
    * Fix for sftp transport under windows when using interactive auth
 
1402
 
 
1403
    * Show files which are both renamed and modified as such in 'bzr 
 
1404
      status' output.  (#4503, Daniel Silverstone)
 
1405
 
 
1406
    * Make annotate cope better with revisions committed without a valid 
 
1407
      email address.  (Marien Zwart)
 
1408
 
 
1409
    * Fix representation of tab characters in commit messages.  (Harald 
 
1410
      Meland)
 
1411
 
 
1412
    * List of plugin directories in BZR_PLUGIN_PATH environment variable is
 
1413
      now parsed properly under Windows. (Alexander Belchenko)
 
1414
 
 
1415
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
1416
 
 
1417
    * Keep a cached copy of the basis inventory to speed up operations 
 
1418
      that need to refer to it.  (Johan Rydberg, Martin Pool)
 
1419
 
 
1420
    * Fix bugs in bzr status display of non-ascii characters.  (Martin 
 
1421
      Pool)
 
1422
 
 
1423
    * Remove Makefile.in from default ignore list.  (#6413, Tollef Fog 
 
1424
      Heen, Martin Pool)
 
1425
 
 
1426
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
1427
 
 
1428
  TESTING:
 
1429
 
 
1430
    * Fix selftest asking for passwords when there are no SFTP keys.  
 
1431
      (Robey Pointer, Jelmer Vernooij) 
 
1432
 
 
1433
    * Fix selftest run with 'python -O'.  (Martin Pool)
 
1434
 
 
1435
    * Fix HTTP tests under Windows. (John Arbash Meinel)
 
1436
 
 
1437
    * Make tests work even if HOME is not set (Aaron Bentley)
 
1438
 
 
1439
    * Updated build_tree to use fixed line-endings for tests which read 
 
1440
      the file cotents and compare. Make some tests use this to pass under
 
1441
      Windows. (John Arbash Meinel)
 
1442
 
 
1443
    * Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
1444
 
 
1445
    * Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
1446
      (John Arbash Meinel)
 
1447
 
 
1448
    * Use terminal width to align verbose test output.  (Martin Pool)
 
1449
 
 
1450
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
1451
      If adding a new test script please add that to
 
1452
      bzrlib.tests.blackbox.__init__. (Robert Collins)
 
1453
 
 
1454
    * Much better error message if one of the test suites can't be 
 
1455
      imported.  (Martin Pool)
 
1456
 
 
1457
    * Make check now runs the test suite twice - once with the default locale,
 
1458
      and once with all locales forced to C, to expose bugs. This is not 
 
1459
      trivially done within python, so for now its only triggered by running
 
1460
      Make check. Integrators and packagers who wish to check for full 
 
1461
      platform support should run 'make check' to test the source.
 
1462
      (Robert Collins)
 
1463
 
 
1464
    * Tests can now run TestSkipped if they can't execute for any reason.
 
1465
      (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
1466
      reasons - see the wiki spec ImprovingBzrTestSuite).
 
1467
 
 
1468
    * Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
1469
      paths for the transport tests. Introduce blackbox remote sftp tests that
 
1470
      test the same permutations. (Robert Collins, Robey Pointer)
 
1471
 
 
1472
    * Transport implementation tests are now independent of the local file
 
1473
      system, which allows tests for esoteric transports, and for features
 
1474
      not available in the local file system. They also repeat for variations
 
1475
      on the URL scheme that can introduce issues in the transport code,
 
1476
      see bzrlib.transport.TransportTestProviderAdapter() for this.
 
1477
      (Robert Collins).
 
1478
 
 
1479
    * TestCase.build_tree uses the transport interface to build trees, pass
 
1480
      in a transport parameter to give it an existing connection.
 
1481
      (Robert Collins).
 
1482
 
 
1483
  INTERNALS:
 
1484
 
 
1485
    * WorkingTree.pull has been split across Branch and WorkingTree,
 
1486
      to allow Branch only pulls. (Robert Collins)
 
1487
 
 
1488
    * commands.display_command now returns the result of the decorated 
 
1489
      function. (Robert Collins)
 
1490
 
 
1491
    * LocationConfig now has a set_user_option(key, value) call to save
 
1492
      a setting in its matching location section (a new one is created
 
1493
      if needed). (Robert Collins)
 
1494
 
 
1495
    * Branch has two new methods, get_push_location and set_push_location
 
1496
      to respectively, get and set the push location. (Robert Collins)
 
1497
 
 
1498
    * commands.register_command now takes an optional flag to signal that
 
1499
      the registrant is planning to decorate an existing command. When 
 
1500
      given multiple plugins registering a command is not an error, and
 
1501
      the original command class (whether built in or a plugin based one) is
 
1502
      returned to the caller. There is a new error 'MustUseDecorated' for
 
1503
      signalling when a wrapping command should switch to the original
 
1504
      version. (Robert Collins)
 
1505
 
 
1506
    * Some option parsing errors will raise 'BzrOptionError', allowing 
 
1507
      granular detection for decorating commands. (Robert Collins).
 
1508
 
 
1509
    * Branch.read_working_inventory has moved to
 
1510
      WorkingTree.read_working_inventory. This necessitated changes to
 
1511
      Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
 
1512
      as well. To make it clear that a WorkingTree cannot always be obtained
 
1513
      Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
 
1514
      be obtained. (Robert Collins)
 
1515
 
 
1516
    * All pending merges operations from Branch are now on WorkingTree.
 
1517
      (Robert Collins)
 
1518
 
 
1519
    * The follow operations from Branch have moved to WorkingTree:
 
1520
      add()
 
1521
      commit()
 
1522
      move()
 
1523
      rename_one()
 
1524
      unknowns()
 
1525
      (Robert Collins)
 
1526
 
 
1527
    * bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
 
1528
 
 
1529
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
1530
 
 
1531
    * Rename selftests to `bzrlib.tests.test_foo`.  (John A Meinel, Martin 
 
1532
      Pool)
 
1533
 
 
1534
    * bzrlib.plugin.all_plugins has been changed from an attribute to a 
 
1535
      query method. (Robert Collins)
 
1536
 
 
1537
    * New options to read only the table-of-contents of a weave.  
 
1538
      (Denys Duchier)
 
1539
 
 
1540
    * Raise NoSuchFile when someone tries to add a non-existant file.
 
1541
      (Michael Ellerman)
 
1542
 
 
1543
    * Simplify handling of DivergedBranches in cmd_pull().
 
1544
      (Michael Ellerman)
 
1545
                   
 
1546
   
 
1547
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
1548
      is exposed as Branch().control_files. Also this has been altered with the
 
1549
      controlfile pre/suffix replaced by simple method names like 'get' and
 
1550
      'put'. (Aaron Bentley, Robert Collins).
 
1551
 
 
1552
    * Deprecated functions and methods can now be marked as such using the 
 
1553
      bzrlib.symbol_versioning module. Marked method have their docstring
 
1554
      updated and will issue a DeprecationWarning using the warnings module
 
1555
      when they are used. (Robert Collins)
 
1556
 
 
1557
    * bzrlib.osutils.safe_unicode now exists to provide parameter coercion
 
1558
      for functions that need unicode strings. (Robert Collins)
 
1559
 
 
1560
bzr 0.6 2005-10-28
 
1561
 
 
1562
  IMPROVEMENTS:
 
1563
  
 
1564
    * pull now takes --verbose to show you what revisions are added or removed
 
1565
      (John A Meinel)
 
1566
 
 
1567
    * merge now takes a --show-base option to include the base text in
 
1568
      conflicts.
 
1569
      (Aaron Bentley)
 
1570
 
 
1571
    * The config files are now read using ConfigObj, so '=' should be used as
 
1572
      a separator, not ':'.
 
1573
      (Aaron Bentley)
 
1574
 
 
1575
    * New 'bzr commit --strict' option refuses to commit if there are 
 
1576
      any unknown files in the tree.  To commit, make sure all files are 
 
1577
      either ignored, added, or deleted.  (Michael Ellerman)
 
1578
 
 
1579
    * The config directory is now ~/.bazaar, and there is a single file 
 
1580
      ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
1581
      (Robert Collins)
 
1582
 
 
1583
    * 'bzr add' no longer takes a --verbose option, and a --quiet option
 
1584
      has been added that suppresses all output.
 
1585
 
 
1586
    * Improved zsh completion support in contrib/zsh, from Clint
 
1587
      Adams.
 
1588
 
 
1589
    * Builtin 'bzr annotate' command, by Martin Pool with improvements from 
 
1590
      Goffredo Baroncelli.
 
1591
    
 
1592
    * 'bzr check' now accepts -v for verbose reporting, and checks for
 
1593
      ghosts in the branch. (Robert Collins)
 
1594
 
 
1595
    * New command 're-sign' which will regenerate the gpg signature for 
 
1596
      a revision. (Robert Collins)
 
1597
 
 
1598
    * If you set check_signatures=require for a path in 
 
1599
      ~/.bazaar/branches.conf then bzr will invoke your
 
1600
      gpg_signing_command (defaults to gpg) and record a digital signature
 
1601
      of your commit. (Robert Collins)
 
1602
 
 
1603
    * New sftp transport, based on Paramiko.  (Robey Pointer)
 
1604
 
 
1605
    * 'bzr pull' now accepts '--clobber' which will discard local changes
 
1606
      and make this branch identical to the source branch. (Robert Collins)
 
1607
 
 
1608
    * Just give a quieter warning if a plugin can't be loaded, and 
 
1609
      put the details in .bzr.log.  (Martin Pool)
 
1610
 
 
1611
    * 'bzr branch' will now set the branch-name to the last component of the
 
1612
      output directory, if one was supplied.
 
1613
 
 
1614
    * If the option 'post_commit' is set to one (or more) python function
 
1615
      names (must be in the bzrlib namespace), then they will be invoked
 
1616
      after the commit has completed, with the branch and revision_id as
 
1617
      parameters. (Robert Collins)
 
1618
 
 
1619
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
1620
 
 
1621
    * --merge-type weave is now supported for file contents.  Tree-shape
 
1622
      changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
1623
 
 
1624
    * 'bzr check' allows the first revision on revision-history to have
 
1625
      parents - something that is expected for cheap checkouts, and occurs
 
1626
      when conversions from baz do not have all history.  (Robert Collins).
 
1627
 
 
1628
   * 'bzr merge' can now graft unrelated trees together, if your specify
 
1629
     0 as a base. (Aaron Bentley)
 
1630
 
 
1631
   * 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
1632
     (Aaron Bentley)
 
1633
 
 
1634
    * Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
1635
 
 
1636
   * 'bzr merge --reprocess' minimizes conflicts
 
1637
 
 
1638
  TESTING:
 
1639
 
 
1640
    * The 'bzr selftest --pattern' option for has been removed, now 
 
1641
      test specifiers on the command line can be simple strings, or 
 
1642
      regexps, or both. (Robert Collins)
 
1643
 
 
1644
    * Passing -v to selftest will now show the time each test took to 
 
1645
      complete, which will aid in analysing performance regressions and
 
1646
      related questions. (Robert Collins)
 
1647
 
 
1648
    * 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
1649
      is given. (Martin Pool)
 
1650
 
 
1651
    * There is a new method for TestCaseInTempDir, assertFileEqual, which
 
1652
      will check that a given content is equal to the content of the named
 
1653
      file. (Robert Collins)
 
1654
 
 
1655
    * Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
1656
      (Martin Pool)
 
1657
 
 
1658
  INTERNALS:
 
1659
 
 
1660
    * New 'testament' command and concept for making gpg-signatures 
 
1661
      of revisions that are not tied to a particular internal
 
1662
      representation.  (Martin Pool).
 
1663
 
 
1664
    * Per-revision properties ('revprops') as key-value associated 
 
1665
      strings on each revision created when the revision is committed.
 
1666
      Intended mainly for the use of external tools.  (Martin Pool).
 
1667
 
 
1668
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
1669
      (Robert Collins)
 
1670
 
 
1671
    * Improved command line option definitions allowing explanations
 
1672
      for individual options, among other things.  Contributed by 
 
1673
      Magnus Therning.
 
1674
 
 
1675
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
1676
      Configuration is now done via the config.Config interface:
 
1677
      Depending on whether you have a Branch, a Location or no information
 
1678
      available, construct a ``*Config``, and use its ``signature_checking``,
 
1679
      ``username`` and ``user_email`` methods. (Robert Collins)
 
1680
 
 
1681
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
1682
      they are made available for other plugins to use. You should not 
 
1683
      import other plugins during the __init__ of your plugin though, as 
 
1684
      no ordering is guaranteed, and the plugins directory is not on the
 
1685
      python path. (Robert Collins)
 
1686
 
 
1687
    * Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
1688
      no longer takes an inventory, rather it takes an option branch
 
1689
      parameter, and if None is given will open the branch at basedir 
 
1690
      implicitly. (Robert Collins)
 
1691
 
 
1692
    * Cleaner exception structure and error reporting.  Suggested by 
 
1693
      Scott James Remnant.  (Martin Pool)
 
1694
 
 
1695
    * Branch.remove has been moved to WorkingTree, which has also gained
 
1696
      lock_read, lock_write and unlock methods for convenience. (Robert
 
1697
      Collins)
 
1698
 
 
1699
    * Two decorators, needs_read_lock and needs_write_lock have been added
 
1700
      to the branch module. Use these to cause a function to run in a
 
1701
      read or write lock respectively. (Robert Collins)
 
1702
 
 
1703
    * Branch.open_containing now returns a tuple (Branch, relative-path),
 
1704
      which allows direct access to the common case of 'get me this file
 
1705
      from its branch'. (Robert Collins)
 
1706
 
 
1707
    * Transports can register using register_lazy_transport, and they 
 
1708
      will be loaded when first used.  (Martin Pool)
 
1709
 
 
1710
    * 'pull' has been factored out of the command as WorkingTree.pull().
 
1711
      A new option to WorkingTree.pull has been added, clobber, which will
 
1712
      ignore diverged history and pull anyway.
 
1713
      (Robert Collins)
 
1714
 
 
1715
    * config.Config has a 'get_user_option' call that accepts an option name.
 
1716
      This will be looked up in branches.conf and bazaar.conf as normal.
 
1717
      It is intended that this be used by plugins to support options - 
 
1718
      options of built in programs should have specific methods on the config.
 
1719
      (Robert Collins)
 
1720
 
 
1721
    * merge.merge_inner now has tempdir as an optional parameter. (Robert
 
1722
      Collins)
 
1723
 
 
1724
    * Tree.kind is not recorded at the top level of the hierarchy, as it was
 
1725
      missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
1726
      (Robert Collins)
 
1727
 
 
1728
    * WorkingTree.__del__ has been removed, it was non deterministic and not 
 
1729
      doing what it was intended to. See WorkingTree.__init__ for a comment
 
1730
      about future directions. (Robert Collins/Martin Pool)
 
1731
 
 
1732
    * bzrlib.transport.http has been modified so that only 404 urllib errors
 
1733
      are returned as NoSuchFile. Other exceptions will propogate as normal.
 
1734
      This allows debuging of actual errors. (Robert Collins)
 
1735
 
 
1736
    * bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
1737
      to apis like 'put', 'get' and 'has'. This is to provide consistent
 
1738
      behaviour - it operates on url's only. (Robert Collins)
 
1739
 
 
1740
    * Transports can register using register_lazy_transport, and they 
 
1741
      will be loaded when first used.  (Martin Pool)
 
1742
 
 
1743
    * 'merge_flex' no longer calls conflict_handler.finalize(), instead that
 
1744
      is called by merge_inner. This is so that the conflict count can be 
 
1745
      retrieved (and potentially manipulated) before returning to the caller
 
1746
      of merge_inner. Likewise 'merge' now returns the conflict count to the
 
1747
      caller. (Robert Collins)
 
1748
 
 
1749
    * 'revision.revision_graph can handle having only partial history for
 
1750
      a revision - that is no revisions in the graph with no parents.
 
1751
      (Robert Collins).
 
1752
 
 
1753
    * New builtins.branch_files uses the standard file_list rules to produce
 
1754
      a branch and a list of paths, relative to that branch (Aaron Bentley)
 
1755
 
 
1756
    * New TestCase.addCleanup facility.
 
1757
 
 
1758
    * New bzrlib.version_info tuple (similar to sys.version_info), which can
 
1759
      be used by programs importing bzrlib.
 
1760
 
 
1761
  BUG FIXES:
 
1762
 
 
1763
    * Better handling of branches in directories with non-ascii names. 
 
1764
      (Joel Rosdahl, Panagiotis Papadakos)
 
1765
 
 
1766
    * Upgrades of trees with no commits will not fail due to accessing
 
1767
      [-1] in the revision-history. (Andres Salomon)
 
1768
 
 
1769
 
 
1770
bzr 0.1.1 2005-10-12
 
1771
 
 
1772
  BUG FIXES:
 
1773
 
 
1774
    * Fix problem in pulling over http from machines that do not 
 
1775
      allow directories to be listed.
 
1776
 
 
1777
    * Avoid harmless warning about invalid hash cache after 
 
1778
      upgrading branch format.
 
1779
 
 
1780
  PERFORMANCE: 
 
1781
  
 
1782
    * Avoid some unnecessary http operations in branch and pull.
 
1783
 
 
1784
 
 
1785
bzr 0.1 2005-10-11
 
1786
 
 
1787
  NOTES:
 
1788
 
 
1789
    * 'bzr branch' over http initially gives a very high estimate
 
1790
      of completion time but it should fall as the first few 
 
1791
      revisions are pulled in.  branch is still slow on 
 
1792
      high-latency connections.
 
1793
 
 
1794
  BUG FIXES:
 
1795
  
 
1796
    * bzr-man.py has been updated to work again. Contributed by
 
1797
      Rob Weir.
 
1798
 
 
1799
    * Locking is now done with fcntl.lockf which works with NFS
 
1800
      file systems. Contributed by Harald Meland.
 
1801
 
 
1802
    * When a merge encounters a file that has been deleted on
 
1803
      one side and modified on the other, the old contents are
 
1804
      written out to foo.BASE and foo.SIDE, where SIDE is this
 
1805
      or OTHER. Contributed by Aaron Bentley.
 
1806
 
 
1807
    * Export was choosing incorrect file paths for the content of
 
1808
      the tarball, this has been fixed by Aaron Bentley.
 
1809
 
 
1810
    * Commit will no longer commit without a log message, an 
 
1811
      error is returned instead. Contributed by Jelmer Vernooij.
 
1812
 
 
1813
    * If you commit a specific file in a sub directory, any of its
 
1814
      parent directories that are added but not listed will be 
 
1815
      automatically included. Suggested by Michael Ellerman.
 
1816
 
 
1817
    * bzr commit and upgrade did not correctly record new revisions
 
1818
      for files with only a change to their executable status.
 
1819
      bzr will correct this when it encounters it. Fixed by
 
1820
      Robert Collins
 
1821
 
 
1822
    * HTTP tests now force off the use of http_proxy for the duration.
 
1823
      Contributed by Gustavo Niemeyer.
 
1824
 
 
1825
    * Fix problems in merging weave-based branches that have 
 
1826
      different partial views of history.
 
1827
 
 
1828
    * Symlink support: working with symlinks when not in the root of a 
 
1829
      bzr tree was broken, patch from Scott James Remnant.
 
1830
 
 
1831
  IMPROVEMENTS:
 
1832
 
 
1833
    * 'branch' now accepts a --basis parameter which will take advantage
 
1834
      of local history when making a new branch. This allows faster 
 
1835
      branching of remote branches. Contributed by Aaron Bentley.
 
1836
 
 
1837
    * New tree format based on weave files, called version 5.
 
1838
      Existing branches can be upgraded to this format using 
 
1839
      'bzr upgrade'.
 
1840
 
 
1841
    * Symlinks are now versionable. Initial patch by 
 
1842
      Erik Toubro Nielsen, updated to head by Robert Collins.
 
1843
 
 
1844
    * Executable bits are tracked on files. Patch from Gustavo
 
1845
      Niemeyer.
 
1846
 
 
1847
    * 'bzr status' now shows unknown files inside a selected directory.
 
1848
      Patch from Heikki Paajanen.
 
1849
 
 
1850
    * Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
1851
      and 'resolve' have needed added, which list and remove those 
 
1852
      merge conflicts respectively. A conflicted tree cannot be committed
 
1853
      in. Contributed by Aaron Bentley.
 
1854
 
 
1855
    * 'rm' is now an alias for 'remove'.
 
1856
 
 
1857
    * Stores now split out their content in a single byte prefixed hash,
 
1858
      dropping the density of files per directory by 256. Contributed by
 
1859
      Gustavo Niemeyer.
 
1860
 
 
1861
    * 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
1862
      Contributed by Robert Collins.
 
1863
 
 
1864
    * 'bzr log' with the default formatter will show merged revisions,
 
1865
      indented to the right. Initial implementation contributed by Gustavo
 
1866
      Niemeyer, made incremental by Robert Collins.
 
1867
 
 
1868
 
 
1869
  INTERNALS:
 
1870
 
 
1871
    * Test case failures have the exception printed after the log 
 
1872
      for your viewing pleasure.
 
1873
 
 
1874
    * InventoryEntry is now an abstract base class, use one of the
 
1875
      concrete InventoryDirectory etc classes instead.
 
1876
 
 
1877
    * Branch raises an UnsupportedFormatError when it detects a 
 
1878
      bzr branch it cannot understand. This allows for precise
 
1879
      handling of such circumstances.
 
1880
 
 
1881
 
 
1882
  TESTING:
 
1883
 
 
1884
    * Removed testsweet module so that tests can be run after 
 
1885
      bzr installed by 'bzr selftest'.
 
1886
 
 
1887
    * 'bzr selftest' command-line arguments can now be partial ids
 
1888
      of tests to run, e.g. 'bzr selftest test_weave'
 
1889
 
 
1890
      
 
1891
bzr 0.0.9 2005-09-23
 
1892
 
 
1893
  BUG FIXES:
 
1894
 
 
1895
    * Fixed "branch -r" option.
 
1896
 
 
1897
    * Fix remote access to branches containing non-compressed history.
 
1898
      (Robert Collins).
 
1899
 
 
1900
    * Better reliability of http server tests.  (John Arbash-Meinel)
 
1901
 
 
1902
    * Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
1903
   
 
1904
    * Various minor bug in windows support have been fixed, largely in the
 
1905
      test suite. Contributed by Alexander Belchenko.
 
1906
 
 
1907
  IMPROVEMENTS:
 
1908
 
 
1909
    * Status now accepts a -r argument to give status between chosen
 
1910
      revisions. Contributed by Heikki Paajanen.
 
1911
 
 
1912
    * Revision arguments no longer use +/-/= to control ranges, instead
 
1913
      there is a 'before' namespace, which limits the successive namespace.
 
1914
      For example '$ bzr log -r date:yesterday..before:date:today' will
 
1915
      select everything from yesterday and before today. Contributed by
 
1916
      Robey Pointer
 
1917
 
 
1918
    * There is now a bzr.bat file created by distutils when building on 
 
1919
      Windows. Contributed by Alexander Belchenko.
 
1920
 
 
1921
  INTERNALS:
 
1922
 
 
1923
    * Removed uuid() as it was unused.
 
1924
 
 
1925
    * Improved 'fetch' code for pulling revisions from one branch into
 
1926
      another (used by pull, merged, etc.)
 
1927
 
 
1928
 
 
1929
bzr 0.0.8 2005-09-20
 
1930
 
 
1931
  IMPROVEMENTS:
 
1932
 
 
1933
    * Adding a file whose parent directory is not versioned will
 
1934
      implicitly add the parent, and so on up to the root. This means
 
1935
      you should never need to explictly add a directory, they'll just
 
1936
      get added when you add a file in the directory.  Contributed by
 
1937
      Michael Ellerman.
 
1938
 
 
1939
    * Ignore .DS_Store (contains Mac metadata) by default.  Patch from
 
1940
      Nir Soffer.
 
1941
 
 
1942
    * If you set BZR_EDITOR in the environment, it is checked in
 
1943
      preference to EDITOR and the config file for the interactive commit
 
1944
      editing program. Related to this is a bugfix where a missing program
 
1945
      set in EDITOR would cause editing to fail, now the fallback program
 
1946
      for the operating system is still tried.
 
1947
 
 
1948
    * Files that are not directories/symlinks/regular files will no longer
 
1949
      cause bzr to fail, it will just ignore them by default. You cannot add
 
1950
      them to the tree though - they are not versionable.
 
1951
 
2
1952
 
3
1953
  INTERNALS:
4
1954
 
5
1955
    * Refactor xml packing/unpacking.
6
1956
 
 
1957
  BUG FIXES: 
 
1958
 
 
1959
    * Fixed 'bzr mv' by Ollie Rutherfurd.
 
1960
 
 
1961
    * Fixed strange error when trying to access a nonexistent http
 
1962
      branch.
 
1963
 
 
1964
    * Make sure that the hashcache gets written out if it can't be
 
1965
      read.
 
1966
 
 
1967
 
 
1968
  PORTABILITY:
 
1969
 
 
1970
    * Various Windows fixes from Ollie Rutherfurd.
 
1971
 
 
1972
    * Quieten warnings about locking; patch from Matt Lavin.
 
1973
 
7
1974
 
8
1975
bzr-0.0.7 2005-09-02
9
1976