~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: mbp at sourcefrog
  • Date: 2006-10-31 01:15:34 UTC
  • mto: This revision was merged to the branch mainline in revision 2114.
  • Revision ID: mbp@sourcefrog.net-20061031011534-105c53a11815f47b
Truncate progress bar rather than complaining if it's too long

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
UNRELEASED CHANGES
2
 
 
3
 
  IMPROVEMENTS:
 
1
IN DEVELOPMENT
 
2
 
 
3
  IMPROVEMENTS:
 
4
 
 
5
  INTERNALS:
 
6
 
 
7
  BUG FIXES:
 
8
 
 
9
 
 
10
bzr 0.12rc1  2006-10-23
 
11
 
 
12
  IMPROVEMENTS:
 
13
 
 
14
    * ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
15
      rather than just showing a decimal revision number for revisions on the
 
16
      mainline. These revision numbers are not yet accepted as input into bzr
 
17
      commands such as log, diff etc. (Robert Collins)
 
18
 
 
19
    * revisions can now be specified using dotted-decimal revision numbers.
 
20
      For instance, ``bzr diff -r 1.2.1..1.2.3. (Robert Collins)
 
21
 
 
22
    * ``bzr help commands`` output is now shorter (Aaron Bentley)
 
23
 
 
24
    * New connection: ``bzr+http://`` which supports tunnelling the smart
 
25
      protocol over an HTTP connection. If writing is enabled on the bzr
 
26
      server, then you can write over the http connection.
 
27
      (Andrew Bennetts)
 
28
 
 
29
    * ``bzr`` now uses lazy importing to reduce the startup time. This has
 
30
      a moderate effect on lots of actions, especially ones that have
 
31
      little to do. For example ``bzr rocks`` time is down to 116ms from
 
32
      283ms. (John Arbash Meinel)
 
33
 
 
34
    * New Registry class to provide name-to-object registry-like support,
 
35
      for example for schemes where plugins can register new classes to
 
36
      do certain tasks (e.g. log formatters). Also provides lazy registration
 
37
      to allow modules to be loaded on request. (John Arbash Meinel, Adeodato
 
38
      Simó)
 
39
 
 
40
  API INCOMPATABILITY:
 
41
  
 
42
    * LogFormatter subclasses show now expect the 'revno' parameter to 
 
43
      show() to be a string rather than an int. (Robert Collins)
 
44
 
 
45
  INTERNALS:
 
46
 
 
47
    * ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
48
      can take a ``working_dir='foo'`` parameter, which will change directory 
 
49
      for the command. (John Arbash Meinel)
 
50
 
 
51
    * ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
52
      around a regex, which defers compilation until first use. 
 
53
      (John Arbash Meinel)
 
54
 
 
55
    * ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
56
      ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
57
      problems with system-wide installed plugins. (John Arbash Meinel)
 
58
 
 
59
    * Unique tree root ids are now supported. Newly created trees still
 
60
      use the common root id for compatibility with bzr versions before 0.12.
 
61
      (Aaron Bentley)
 
62
 
 
63
    * ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
64
      pass in inventory.ROOT_ID if you want the default root id value.
 
65
      (Robert Collins, John Arbash Meinel)
 
66
 
 
67
    * New method ``WorkingTree.flush()`` which will write the current memory
 
68
      inventory out to disk. At the same time, read_working_inventory will
 
69
      no longer trash the current tree inventory if it has been modified within
 
70
      the current lock, and the tree will now ``flush()`` automatically on
 
71
      ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
72
      advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
73
 
 
74
    * ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
75
      parameter will cause it to add another column to its output, which
 
76
      contains the dotted-decimal revno for each revision, as a tuple.
 
77
      (Robert Collins)
 
78
 
 
79
    * ``LogFormatter.show_merge`` is deprecated in favour of
 
80
      ``LogFormatter.show_merge_revno``. (Robert Collins)
 
81
 
 
82
  BUG FIXES:
 
83
 
 
84
    * Avoid circular imports by creating a deprecated function for
 
85
      ``bzrlib.tree.RevisionTree``. Callers should have been using
 
86
      ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
87
      #63360, #66349)
 
88
 
 
89
    * Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
90
      platforms. (Martin Pool, #66356)
 
91
 
 
92
    * Don't require ``Content-Type`` in range responses. Assume they are a
 
93
      single range if ``Content-Type`` does not exist.
 
94
      (John Arbash Meinel, #62473)
 
95
 
 
96
    * bzr branch/pull no longer complain about progress bar cleanup when
 
97
      interrupted during fetch.  (Aaron Bentley, #54000)
 
98
 
 
99
    * ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
100
      the basis inventory, rather than going through the repository. This
 
101
      allows us to have 1 inventory read, and 2 inventory writes when
 
102
      committing a new tree. (John Arbash Meinel)
 
103
 
 
104
    * When reverting, files that are not locally modified that do not exist
 
105
      in the target are deleted, not just unversioned (Aaron Bentley)
 
106
 
 
107
    * When trying to acquire a lock, don't fail immediately. Instead, try
 
108
      a few times (up to 1 hour) before timing out. Also, report why the
 
109
      lock is unavailable (John Arbash Meinel, #43521, #49556)
 
110
 
 
111
    * Leave HttpTransportBase daughter classes decides how they
 
112
      implement cloning. (Vincent Ladeuil, #61606)
 
113
 
 
114
   * diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
115
 
 
116
  TESTING:
 
117
 
 
118
    * New test base class TestCaseWithMemoryTransport offers memory-only
 
119
      testing facilities: its not suitable for tests that need to mutate disk
 
120
      state, but most tests should not need that and should be converted to
 
121
      TestCaseWithMemoryTransport. (Robert Collins)
 
122
 
 
123
    * ``TestCase.make_branch_and_memory_tree`` now takes a format
 
124
      option to set the BzrDir, Repository and Branch formats of the
 
125
      created objects. (Robert Collins, John Arbash Meinel)
 
126
 
 
127
bzr 0.11  2006-10-02
 
128
 
 
129
    * Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
130
 
 
131
bzr 0.11rc2  2006-09-27
 
132
 
 
133
  BUG FIXES:
 
134
 
 
135
    * Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
136
    
 
137
    * Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
138
      Arbash Meinel).
 
139
 
 
140
bzr 0.11rc1  2006-09-25
 
141
 
 
142
  IMPROVEMENTS:
 
143
 
 
144
    * Knit files now wait to create their contents until the first data is
 
145
      added. The old code used to create an empty .knit and a .kndx with just
 
146
      the header. However, this caused a lot of extra round trips over sftp.
 
147
      This can change the time for ``bzr push`` to create a new remote branch
 
148
      from 160s down to 100s. This also affects ``bzr commit`` performance when
 
149
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
150
      down to 40s (John Arbash Meinel, #44692)
 
151
 
 
152
    * When an entire subtree has been deleted, commit will now report that
 
153
      just the top of the subtree has been deleted, rather than reporting
 
154
      all the individual items. (Robert Collins)
 
155
 
 
156
    * Commit performs one less XML parse. (Robert Collins)
 
157
 
 
158
    * ``bzr checkout`` now operates on readonly branches as well
 
159
      as readwrite branches. This fixes bug #39542. (Robert Collins)
 
160
 
 
161
    * ``bzr bind`` no longer synchronises history with the master branch.
 
162
      Binding should be followed by an update or push to synchronise the 
 
163
      two branches. This is closely related to the fix for bug #39542.
 
164
      (Robert Collins)
 
165
 
 
166
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
 
167
      objects.  This allows all imports to stay at the global scope, but
 
168
      modules will not actually be imported if they are not used.
 
169
      (John Arbash Meinel)
 
170
 
 
171
    * Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
 
172
      transport which will be used with the upcoming high-performance smart
 
173
      server. The new command ``bzr serve`` will invoke bzr in server mode,
 
174
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
175
      Pool)
 
176
 
 
177
    * New command ``bzr version-info`` which can be used to get a summary
 
178
      of the current state of the tree. This is especially useful as part
 
179
      of a build commands. See ``doc/version_info.txt`` for more information 
 
180
      (John Arbash Meinel)
 
181
 
 
182
  BUG FIXES:
 
183
 
 
184
    * 'bzr inventory [FILE...]' allows restricting the file list to a
 
185
      specific set of files. (John Arbash Meinel, #3631)
 
186
 
 
187
    * Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
188
 
 
189
    * Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
190
      when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
191
      reading a nested Stanza. (John Arbash Meinel)
 
192
 
 
193
    * Transform._set_mode() needs to stat the right file. 
 
194
      (John Arbash Meinel, #56549)
 
195
 
 
196
    * Raise WeaveFormatError rather than StopIteration when trying to read
 
197
      an empty Weave file. (John Arbash Meinel, #46871)
 
198
 
 
199
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
200
      (Vincent Ladeuil, #59835)
 
201
 
 
202
    * Handle boundary="" lines properly to allow access through a Squid proxy.
 
203
      (John Arbash Meinel, #57723)
 
204
 
 
205
    * revert now removes newly-added directories (Aaron Bentley, #54172)
 
206
 
 
207
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
 
208
      isn't a working tree. (David Allouche, #40679)
 
209
 
 
210
    * Give nicer error messages when a user supplies an invalid --revision
 
211
      parameter. (John Arbash Meinel, #55420)
 
212
 
 
213
    * Handle when LANG is not recognized by python. Emit a warning, but
 
214
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
215
 
 
216
    * Don't use preexec_fn on win32, as it is not supported by subprocess.
 
217
      (John Arbash Meinel)
 
218
 
 
219
    * Skip specific tests when the dependencies aren't met. This includes
 
220
      some ``setup.py`` tests when ``python-dev`` is not available, and
 
221
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
222
 
 
223
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
224
      the system. (Andrew Bennetts, John Arbash Meinel)
 
225
 
 
226
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
227
      other branch, and will not push or pull between the two branches.
 
228
      API users will need to perform a push or pull or update operation if they
 
229
      require branch synchronisation to take place. (Robert Collins, #47344)
 
230
 
 
231
    * When creating a tarball or zipfile export, export unicode names as utf-8
 
232
      paths. This may not work perfectly on all platforms, but has the best
 
233
      chance of working in the common case. (John Arbash Meinel, #56816)
 
234
 
 
235
    * When committing, only files that exist in working tree or basis tree
 
236
      may be specified (Aaron Bentley, #50793)
 
237
 
 
238
  PORTABILITY:
 
239
 
 
240
    * Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
241
 
 
242
  INTERNALS:
 
243
 
 
244
    * TestCaseInTempDir now creates a separate directory for HOME, rather
 
245
      than having HOME set to the same location as the working directory.
 
246
      (John Arbash Meinel)
 
247
 
 
248
    * run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
 
249
      which will update os.environ inside the spawned child. It also can
 
250
      take a 'universal_newlines=True', which helps when checking the output
 
251
      of the command. (John Arbash Meinel)
 
252
 
 
253
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
 
254
      (Andrew Bennetts)
 
255
 
 
256
    * Transport.list_dir() and Transport.iter_files_recursive() should always
 
257
      return urlescaped paths. This is now tested (there were bugs in a few
 
258
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
259
 
 
260
    * New utility function symbol_versioning.deprecation_string. Returns the
 
261
      formatted string for a callable, deprecation format pair. (Robert Collins)
 
262
 
 
263
    * New TestCase helper applyDeprecated. This allows you to call a callable
 
264
      which is deprecated without it spewing to the screen, just by supplying
 
265
      the deprecation format string issued for it. (Robert Collins)
 
266
 
 
267
    * Transport.append and Transport.put have been deprecated in favor of
 
268
      .append_bytes, .append_file, .put_bytes, and .put_file. This removes the
 
269
      ambiguity in what type of object the functions take.
 
270
      Transport.non_atomic_put_{bytes,file} has also been added. Which works
 
271
      similarly to Transport.append() except for SFTP, it doesn't have a round
 
272
      trip when opening the file. Also, it provides functionality for creating
 
273
      a parent directory when trying to create a file, rather than raise
 
274
      NoSuchFile and forcing the caller to repeat their request.
 
275
      (John Arbash Meinel)
 
276
 
 
277
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
 
278
      entries by their file id. (Robert Collins)
 
279
 
 
280
    * WorkingTree.pending_merges is deprecated.  Please use the get_parent_ids
 
281
      (introduced in 0.10) method instead. (Robert Collins)
 
282
 
 
283
    * WorkingTree has a new lock_tree_write method which locks the branch for
 
284
      read rather than write. This is appropriate for actions which only need
 
285
      the branch data for reference rather than mutation. A new decorator
 
286
      needs_tree_write_lock is provided in the workingtree module. Like the
 
287
      needs_read_lock and needs_write_lock decorators this allows static 
 
288
      declaration of the locking requirements of a function to ensure that
 
289
      a lock is taken out for casual scripts. (Robert Collins, #54107)
 
290
 
 
291
    * All WorkingTree methods which write to the tree, but not to the branch
 
292
      have been converted to use ``needs_tree_write_lock`` rather than 
 
293
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
294
      transform modules. This provides a modest performance improvement on 
 
295
      metadir style trees, due to the reduce lock-acquisition, and a more
 
296
      significant performance improvement on lightweight checkouts from 
 
297
      remote branches, where trivial operations used to pay a significant 
 
298
      penalty. It also provides the basis for allowing readonly checkouts.
 
299
      (Robert Collins)
 
300
 
 
301
    * Special case importing the standard library 'copy' module. This shaves
 
302
      off 40ms of startup time, while retaining compatibility. See:
 
303
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
304
 
 
305
    * WorkingTree has a new parent class MutableTree which represents the 
 
306
      specialisations of Tree which are able to be altered. (Robert Collins)
 
307
 
 
308
    * New methods mkdir and put_file_bytes_non_atomic on MutableTree that
 
309
      mutate the tree and its contents. (Robert Collins)
 
310
 
 
311
    * Transport behaviour at the root of the URL is now defined and tested.
 
312
      (Andrew Bennetts, Robert Collins)
 
313
 
 
314
  TESTING:
 
315
 
 
316
    * New test helper classs MemoryTree. This is typically accessed via
 
317
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
318
      
 
319
    * Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
 
320
      continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
 
321
      Robert Collins)
 
322
 
 
323
    * Add a new method ``Transport.get_smart_client()``. This is provided to
 
324
      allow upgrades to a richer interface than the VFS one provided by
 
325
      Transport. (Andrew Bennetts, Martin Pool)
 
326
 
 
327
bzr 0.10  2006-08-29
 
328
  
 
329
  IMPROVEMENTS:
 
330
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
331
      tree.  (Aaron Bentley)
 
332
  
 
333
    * 'bzr add --file-ids-from' can be used to specify another path to use
 
334
      for creating file ids, rather than generating all new ones. Internally,
 
335
      the 'action' passed to smart_add_tree() can return file_ids that
 
336
      will be used, rather than having bzrlib generate new ones.
 
337
      (John Arbash Meinel, #55781)
 
338
 
 
339
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
340
      This will cache some of the intermediate trees, and decrease the
 
341
      setup time for benchmark tests. (John Arbash Meinel)
 
342
 
 
343
    * Inverse forms are provided for all boolean options.  For example,
 
344
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
345
 
 
346
    * Serialize out Inventories directly, rather than using ElementTree.
 
347
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
348
      (Robert Collins, John Arbash Meinel)
 
349
 
 
350
  BUG FIXES:
 
351
 
 
352
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
353
 
 
354
    * Change LockDir so that if the lock directory doesn't exist when
 
355
      lock_write() is called, an attempt will be made to create it.
 
356
      (John Arbash Meinel, #56974)
 
357
 
 
358
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
359
 
 
360
    * Active FTP transport now works as intended. (ghozzy, #56472)
 
361
 
 
362
    * Really fix mutter() so that it won't ever raise a UnicodeError.
 
363
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
364
      But it is a debugging log, not a real user file.
 
365
      (John Arbash Meinel, #56947, #53880)
 
366
 
 
367
    * Change Command handle to allow Unicode command and options.
 
368
      At present we cannot register Unicode command names, so we will get
 
369
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
370
      But that is better than a UnicodeError + a traceback.
 
371
      (John Arbash Meinel, #57123)
 
372
 
 
373
    * Handle TZ=UTC properly when reading/writing revisions.
 
374
      (John Arbash Meinel, #55783, #56290)
 
375
 
 
376
    * Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
 
377
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
378
 
 
379
    * External diff does the right thing for binaries even in foreign 
 
380
      languages. (John Arbash Meinel, #56307)
 
381
 
 
382
    * Testament handles more cases when content is unicode. Specific bug was
 
383
      in handling of revision properties. (John Arbash Meinel, Holger Krekel,
 
384
      #54723)
 
385
 
 
386
    * The bzr selftest was failing on installed versions due to a bug in a new
 
387
      test helper. (John Arbash Meinel, Robert Collins, #58057)
 
388
 
 
389
  INTERNALS:
 
390
 
 
391
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
392
      which can be used to cache the conversion between utf8 and Unicode.
 
393
      Especially helpful for some of the knit annotation code, which has to
 
394
      convert revision ids to utf8 to annotate lines in storage.
 
395
      (John Arbash Meinel)
 
396
 
 
397
    * ``setup.py`` now searches the filesystem to find all packages which
 
398
      need to be installed. This should help make the life of packagers
 
399
      easier. (John Arbash Meinel)
 
400
 
 
401
bzr 0.9.0  2006-08-11
 
402
 
 
403
  SURPRISES:
 
404
 
 
405
   * The hard-coded built-in ignore rules have been removed. There are
 
406
     now two rulesets which are enforced. A user global one in 
 
407
     ~/.bazaar/ignore which will apply to every tree, and the tree
 
408
     specific one '.bzrignore'.
 
409
     ~/.bazaar/ignore will be created if it does not exist, but with
 
410
     a more conservative list than the old default.
 
411
     This fixes bugs with default rules being enforced no matter what. 
 
412
     The old list of ignore rules from bzr is available by
 
413
     running 'bzr ignore --old-default-rules'.
 
414
     (Robert Collins, Martin Pool, John Arbash Meinel)
 
415
 
 
416
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
 
417
     to more locations than just branch locations.
 
418
     (Aaron Bentley)
 
419
   
 
420
  IMPROVEMENTS:
 
421
 
 
422
   * The revision specifier "revno:" is extended to accept the syntax
 
423
     revno:N:branch. For example,
 
424
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
425
     bzr.dev.  (Matthieu Moy)
 
426
 
 
427
   * Tests updates to ensure proper URL handling, UNICODE support, and
 
428
     proper printing when the user's terminal encoding cannot display 
 
429
     the path of a file that has been versioned.
 
430
     ``bzr branch`` can take a target URL rather than only a local directory.
 
431
     Branch.get_parent()/set_parent() now save a relative path if possible,
 
432
     and normalize the parent based on root, allowing access across
 
433
     different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
434
     (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
435
      #42517, #42514)
 
436
 
 
437
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
438
     Use terminal width for single-line logs from ``bzr log --line`` and
 
439
     pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
440
     (Malone #3507)
 
441
 
 
442
   * On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
443
     (Alexander Belchenko)
 
444
 
 
445
   * Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
446
 
 
447
   * Show the correct number of revisions pushed when pushing a new branch.
 
448
     (Robert Collins).
 
449
 
 
450
   * 'bzr selftest' now shows a progress bar with the number of tests, and 
 
451
     progress made. 'make check' shows tests in -v mode, to be more useful
 
452
     for the PQM status window. (Robert Collins).
 
453
     When using a progress bar, failed tests are printed out, rather than
 
454
     being overwritten by the progress bar until the suite finishes.
 
455
     (John Arbash Meinel)
 
456
 
 
457
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
458
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
459
     profile data for the individual profiled calls, allowing for fine
 
460
     grained analysis of performance.
 
461
     (Robert Collins, Martin Pool).
 
462
 
 
463
   * 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
464
     where commit can take an appreciable time. (Robert Collins)
 
465
 
 
466
   * 'bzr add' is now less verbose in telling you what ignore globs were
 
467
     matched by files being ignored. Instead it just tells you how many 
 
468
     were ignored (because you might reasonably be expecting none to be
 
469
     ignored). 'bzr add -v' is unchanged and will report every ignored
 
470
     file. (Robert Collins).
 
471
 
 
472
   * ftp now has a test server if medusa is installed. As part of testing,
 
473
     ftp support has been improved, including support for supplying a
 
474
     non-standard port. (John Arbash Meinel).
 
475
 
 
476
   * 'bzr log --line' shows the revision number, and uses only the
 
477
     first line of the log message (#5162, Alexander Belchenko;
 
478
     Matthieu Moy)
 
479
 
 
480
   * 'bzr status' has had the --all option removed. The 'bzr ls' command
 
481
     should be used to retrieve all versioned files. (Robert Collins)
 
482
 
 
483
   * 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
484
     over email, and applied on the other end, while maintaining ancestry.
 
485
     This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
486
     the same way you would apply another branch.
 
487
     (John Arbash Meinel, Aaron Bentley)
 
488
  
 
489
   * 'bzr whoami' can now be used to set your identity from the command line,
 
490
     for a branch or globally.  (Robey Pointer)
 
491
 
 
492
   * 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
493
     (Michael Ellerman)
 
494
 
 
495
   * 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
496
     (Aaron Bentley)
 
497
 
 
498
   * 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
499
     Also updates things like 'http+pycurl://' if pycurl is not present.
 
500
     (John Arbash Meinel) (Malone #47821, #52204)
 
501
 
 
502
   * New env variable BZR_PROGRESS_BAR, sets the default progress bar type.
 
503
     Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or 
 
504
     'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
505
 
 
506
   * Improve the help text for 'bzr diff' to explain what various options do.
 
507
     (John Arbash Meinel, #6391)
 
508
 
 
509
   * 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
510
     revision 10. This makes -r10 more in line with what other commands do.
 
511
     'bzr uncommit' also now saves the pending merges of the revisions that
 
512
     were removed. So it is safe to uncommit after a merge, fix something,
 
513
     and commit again. (John Arbash Meinel, #32526, #31426)
 
514
 
 
515
   * 'bzr init' now also works on remote locations.
 
516
     (Wouter van Heyst, #48904)
 
517
 
 
518
   * HTTP support has been updated. When using pycurl we now support 
 
519
     connection keep-alive, which reduces dns requests and round trips.
 
520
     And for both urllib and pycurl we support multi-range requests, 
 
521
     which decreases the number of round-trips. Performance results for
 
522
     ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
523
     http branching is now 2-3x faster, and ``bzr pull`` in an existing 
 
524
     branch is as much as 4x faster.
 
525
     (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
526
 
 
527
   * Performance improvements for sftp. Branching and pulling are now up to
 
528
     2x faster. Utilize paramiko.readv() support for async requests if it
 
529
     is available (paramiko > 1.6) (John Arbash Meinel)
 
530
 
 
531
  BUG FIXES:
 
532
 
 
533
    * Fix shadowed definition of TestLocationConfig that caused some 
 
534
      tests not to run.  (#32587, Erik Bågfors, Michael Ellerman, 
 
535
      Martin Pool)
 
536
 
 
537
    * Fix unnecessary requirement of sign-my-commits that it be run from
 
538
      a working directory.  (Martin Pool, Robert Collins)
 
539
 
 
540
    * 'bzr push location' will only remember the push location if it succeeds
 
541
      in connecting to the remote location. (#49742, John Arbash Meinel)
 
542
 
 
543
    * 'bzr revert' no longer toggles the executable bit on win32
 
544
      (#45010, John Arbash Meinel)
 
545
 
 
546
    * Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
547
    
 
548
    * sftp tests now work correctly on win32 if you have a newer paramiko
 
549
      (John Arbash Meinel)
 
550
 
 
551
    * Cleanup win32 test suite, and general cleanup of places where
 
552
      file handles were being held open. (John Arbash Meinel)
 
553
 
 
554
    * When specifying filenames for 'diff -r x..y', the name of the file in the
 
555
      working directory can be used, even if its name is different in both x
 
556
      and y.
 
557
 
 
558
    * File-ids containing single- or double-quotes are handled correctly by
 
559
      push.  (#52227, Aaron Bentley)
 
560
 
 
561
    * Normalize unicode filenames to ensure cross-platform consistency.
 
562
      (John Arbash Meinel, #43689)
 
563
 
 
564
    * The argument parser can now handle '-' as an argument. Currently
 
565
      no code interprets it specially (it is mostly handled as a file named 
 
566
      '-'). But plugins, and future operations can use it.
 
567
      (John Arbash meinel, #50984)
 
568
 
 
569
    * Bundles can properly read binary files with a plain '\r' in them.
 
570
      (John Arbash Meinel, #51927)
 
571
 
 
572
    * Tuning iter_entries() to be more efficient (John Arbash Meinel, #5444)
 
573
 
 
574
    * Lots of win32 fixes (the test suite passes again).
 
575
      (John Arbash Meinel, #50155)
 
576
 
 
577
    * Handle openbsd returning None for sys.getfilesystemencoding() (#41183) 
 
578
 
 
579
    * Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
580
 
 
581
    * Removals are only committed if they match the filespec (or if there is
 
582
      no filespec).  (#46635, Aaron Bentley)
 
583
 
 
584
    * smart-add recurses through all supplied directories 
 
585
      (John Arbash Meinel, #52578)
 
586
 
 
587
    * Make the bundle reader extra lines before and after the bundle text.
 
588
      This allows you to parse an email with the bundle inline.
 
589
      (John Arbash Meinel, #49182)
 
590
 
 
591
    * Change the file id generator to squash a little bit more. Helps when
 
592
      working with long filenames on windows. (Also helps for unicode filenames
 
593
      not generating hidden files). (John Arbash Meinel, #43801)
 
594
 
 
595
    * Restore terminal mode on C-c while reading sftp password.  (#48923, 
 
596
      Nicholas Allen, Martin Pool)
 
597
 
 
598
    * Timestamps are rounded to 1ms, and revision entries can be recreated
 
599
      exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
600
 
 
601
    * Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
602
      use local paths, since it is user visible (John Arbash Meinel, #53653)
 
603
 
 
604
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
 
605
      to be generated (John Arbash Meinel, #53638)
 
606
 
 
607
    * When reading revision properties, an empty value should be considered
 
608
      the empty string, not None (John Arbash Meinel, #47782)
 
609
 
 
610
    * ``bzr diff --diff-options`` can now handle binary files being changed.
 
611
      Also, the output is consistent when --diff-options is not supplied.
 
612
      (John Arbash Meinel, #54651, #52930)
 
613
 
 
614
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
615
 
 
616
    * Fix Branch.get_parent() to handle the case when the parent is not 
 
617
      accessible (John Arbash Meinel, #52976)
 
618
 
 
619
  INTERNALS:
 
620
 
 
621
    * Combine the ignore rules into a single regex rather than looping over
 
622
      them to reduce the threshold where  N^2 behaviour occurs in operations
 
623
      like status. (Jan Hudec, Robert Collins).
 
624
 
 
625
    * Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
 
626
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
627
 
 
628
    * 'bzr push' should only push the ancestry of the current revision, not
 
629
      all of the history in the repository. This is especially important for
 
630
      shared repositories. (John Arbash Meinel)
 
631
 
 
632
    * bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
 
633
      rather than randomly walking the inventories. (John Arbash Meinel)
 
634
 
 
635
    * Doctests are now run in temporary directories which are cleaned up when
 
636
      they finish, rather than using special ScratchDir/ScratchBranch objects.
 
637
      (Martin Pool)
 
638
 
 
639
    * Split ``check`` into separate methods on the branch and on the repository,
 
640
      so that it can be specialized in ways that are useful or efficient for
 
641
      different formats.  (Martin Pool, Robert Collins)
 
642
 
 
643
    * Deprecate Repository.all_revision_ids; most methods don't really need
 
644
      the global revision graph but only that part leading up to a particular
 
645
      revision.  (Martin Pool, Robert Collins)
 
646
 
 
647
    * Add a BzrDirFormat control_formats list which allows for control formats
 
648
      that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
649
      (Robert Collins, Jelmer Vernooij).
 
650
 
 
651
    * bzrlib.diff.external_diff can be redirected to any file-like object.
 
652
      Uses subprocess instead of spawnvp.
 
653
      (#4047, #48914, James Henstridge, John Arbash Meinel)
 
654
 
 
655
    * New command line option '--profile-imports', which will install a custom
 
656
      importer to log time to import modules and regex compilation time to 
 
657
      sys.stderr (John Arbash Meinel)
 
658
 
 
659
    * 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
 
660
      instead. (Robert Collins)
 
661
 
 
662
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
663
 
 
664
bzr 0.8.2  2006-05-17
 
665
  
 
666
  BUG FIXES:
 
667
   
 
668
    * setup.py failed to install launchpad plugin.  (Martin Pool)
 
669
 
 
670
bzr 0.8.1  2006-05-16
 
671
 
 
672
  BUG FIXES:
 
673
 
 
674
    * Fix failure to commit a merge in a checkout.  (Martin Pool, 
 
675
      Robert Collins, Erik Bågfors, #43959)
 
676
 
 
677
    * Nicer messages from 'commit' in the case of renames, and correct
 
678
      messages when a merge has occured. (Robert Collins, Martin Pool)
 
679
 
 
680
    * Separate functionality from assert statements as they are skipped in
 
681
      optimized mode of python. Add the same check to pending merges.
 
682
      (#44443, Olaf Conradi)
 
683
 
 
684
  CHANGES:
 
685
 
 
686
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
687
 
 
688
    * Add info on standalone branches without a working tree.
 
689
      (#44155, Olaf Conradi)
 
690
 
 
691
    * Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
 
692
 
 
693
  CHANGES:
 
694
 
 
695
    * Make editor invocation comply with Debian Policy. First check
 
696
      environment variables VISUAL and EDITOR, then try editor from
 
697
      alternatives system. If that all fails, fall back to the pre-defined
 
698
      list of editors. (#42904, Olaf Conradi)
 
699
 
 
700
  NEW FEATURES:
 
701
 
 
702
    * New 'register-branch' command registers a public branch into 
 
703
      Launchpad.net, where it can be associated with bugs, etc.
 
704
      (Martin Pool, Bjorn Tillenius, Robert Collins)
 
705
 
 
706
  INTERNALS:
 
707
 
 
708
    * New public api in InventoryEntry - 'describe_change(old, new)' which
 
709
      provides a human description of the changes between two old and
 
710
      new. (Robert Collins, Martin Pool)
 
711
 
 
712
  TESTING:
 
713
 
 
714
    * Fix test case for bzr info in upgrading a standalone branch to metadir,
 
715
      uses bzrlib api now. (Olaf Conradi)
 
716
 
 
717
bzr 0.8  2006-05-08
 
718
 
 
719
  NOTES WHEN UPGRADING:
 
720
 
 
721
    Release 0.8 of bzr introduces a new format for history storage, called
 
722
    'knit', as an evolution of to the 'weave' format used in 0.7.  Local 
 
723
    and remote operations are faster using knits than weaves.  Several
 
724
    operations including 'init', 'init-repo', and 'upgrade' take a 
 
725
    --format option that controls this.  Branching from an existing branch
 
726
    will keep the same format.
 
727
 
 
728
    It is possible to merge, pull and push between branches of different
 
729
    formats but this is slower than moving data between homogenous
 
730
    branches.  It is therefore recommended (but not required) that you
 
731
    upgrade all branches for a project at the same time.  Information on
 
732
    formats is shown by 'bzr info'.
 
733
 
 
734
    bzr 0.8 now allows creation of 'repositories', which hold the history 
 
735
    of files and revisions for several branches.  Previously bzr kept all
 
736
    the history for a branch within the .bzr directory at the root of the
 
737
    branch, and this is still the default.  To create a repository, use
 
738
    the new 'bzr init-repo' command.  Branches exist as directories under
 
739
    the repository and contain just a small amount of information
 
740
    indicating the current revision of the branch.
 
741
 
 
742
    bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
743
    subversion.  Checkouts are associated with a branch (optionally in a
 
744
    repository), which contains all the historical information.  The
 
745
    result is that a checkout can be deleted without losing any
 
746
    already-committed revisions.  A new 'update' command is also available. 
 
747
 
 
748
    Repositories and checkouts are not supported with the 0.7 storage
 
749
    format.  To use them you must upgrad to either knits, or to the
 
750
    'metaweave' format, which uses weaves but changes the .bzr directory
 
751
    arrangement.
 
752
    
 
753
 
 
754
  IMPROVEMENTS:
 
755
 
 
756
    * Sftp paths can now be relative, or local, according to the lftp
 
757
      convention. Paths now take the form:
 
758
      sftp://user:pass@host:port/~/relative/path
 
759
      or
 
760
      sftp://user:pass@host:port/absolute/path
 
761
 
 
762
    * The FTP transport now tries to reconnect after a temporary
 
763
      failure. ftp put is made atomic. (Matthieu Moy)
 
764
 
 
765
    * The FTP transport now maintains a pool of connections, and
 
766
      reuses them to avoid multiple connections to the same host (like
 
767
      sftp did). (Daniel Silverstone)
 
768
 
 
769
    * The bzr_man.py file has been removed. To create the man page now,
 
770
      use ./generate_docs.py man. The new program can also create other files.
 
771
      Run "python generate_docs.py --help" for usage information. (Hans
 
772
      Ulrich Niedermann & James Blackwell).
 
773
 
 
774
    * Man Page now gives full help (James Blackwell). Help also updated to 
 
775
      reflect user config now being stored in .bazaar (Hans Ulrich
 
776
      Niedermann)
 
777
 
 
778
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
779
 
 
780
    * Pull now accepts a --revision argument (Erik Bågfors)
 
781
 
 
782
    * 'bzr re-sign' now allows multiple revisions to be supplied on the command
 
783
      line. You can now use the following command to sign all of your old commits.
 
784
        find .bzr/revision-store// -name my@email-* \
 
785
          | sed 's/.*\/\/..\///' \
 
786
          | xargs bzr re-sign
 
787
 
 
788
    * Upgrade can now upgrade over the network. (Robert Collins)
 
789
 
 
790
    * Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
791
      behaviour.  By default they will cache history in the checkout, but
 
792
      with --lightweight almost all data is kept in the master branch.
 
793
      (Robert Collins)
 
794
 
 
795
    * 'revert' unversions newly-versioned files, instead of deleting them.
 
796
 
 
797
    * 'merge' is more robust.  Conflict messages have changed.
 
798
 
 
799
    * 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
800
      '.moved'.
 
801
 
 
802
    * Default log format can be set in configuration and plugins can register
 
803
      their own formatters. (Erik Bågfors)
 
804
 
 
805
    * New 'reconcile' command will check branch consistency and repair indexes
 
806
      that can become out of sync in pre 0.8 formats. (Robert Collins,
 
807
      Daniel Silverstone)
 
808
 
 
809
    * New 'bzr init --format' and 'bzr upgrade --format' option to control 
 
810
      what storage format is created or produced.  (Robert Collins, 
 
811
      Martin Pool)
 
812
 
 
813
    * Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
814
 
 
815
    * New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
816
 
 
817
    * New 'init-repository' command, plus support for repositories in 'init'
 
818
      and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
819
 
 
820
    * Improve output of 'info' command. Show all relevant locations related to
 
821
      working tree, branch and repository. Use kibibytes for binary quantities.
 
822
      Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
823
      work on branches, repositories and remote locations.  Show locations
 
824
      relative to the shared repository, if applicable.  Show locking status
 
825
      of locations.  (Olaf Conradi)
 
826
 
 
827
    * Diff and merge now safely handle binary files. (Aaron Bentley)
 
828
 
 
829
    * 'pull' and 'push' now normalise the revision history, so that any two
 
830
      branches with the same tip revision will have the same output from 'log'.
 
831
      (Robert Collins)
 
832
 
 
833
    * 'merge' accepts --remember option to store parent location, like 'push'
 
834
      and 'pull'. (Olaf Conradi)
 
835
 
 
836
    * bzr status and diff when files given as arguments do not exist
 
837
      in the relevant trees.  (Martin Pool, #3619)
 
838
 
 
839
    * Add '.hg' to the default ignore list.  (Martin Pool)
 
840
 
 
841
    * 'knit' is now the default disk format. This improves disk performance and
 
842
      utilization, increases incremental pull performance, robustness with SFTP
 
843
      and allows checkouts over SFTP to perform acceptably. 
 
844
      The initial Knit code was contributed by Johan Rydberg based on a
 
845
      specification by Martin Pool.
 
846
      (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
847
 
 
848
    * New tool to generate all-in-one html version of the manual.  (Alexander
 
849
      Belchenko)
 
850
 
 
851
    * Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
852
      to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
853
 
 
854
    * New option 'diff --prefix' to control how files are named in diff
 
855
      output, with shortcuts '-p0' and '-p1' corresponding to the options for 
 
856
      GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
857
 
 
858
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
 
859
 
 
860
    * If bzr shows an unexpected revision-history after pulling (perhaps due
 
861
      to a reweave) it can now be corrected by 'bzr reconcile'.
 
862
      (Robert Collins)
 
863
 
 
864
  CHANGES:
 
865
 
 
866
    * Commit is now verbose by default, and shows changed filenames and the 
 
867
      new revision number.  (Robert Collins, Martin Pool)
 
868
 
 
869
    * Unify 'mv', 'move', 'rename'.  (#5379, Matthew Fuller)
 
870
 
 
871
    * 'bzr -h' shows help.  (#35940, Martin Pool, Ian Bicking)
 
872
 
 
873
    * Make 'pull' and 'push' remember location on failure using --remember.
 
874
      (Olaf Conradi)
 
875
 
 
876
    * For compatibility, make old format for using weaves inside metadir
 
877
      available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
878
      Clean up help for option --format in commands 'init', 'init-repo' and
 
879
      'upgrade'.  (Olaf Conradi)
 
880
 
 
881
  INTERNALS:
 
882
  
 
883
    * The internal storage of history, and logical branch identity have now
 
884
      been split into Branch, and Repository. The common locking and file 
 
885
      management routines are now in bzrlib.lockablefiles. 
 
886
      (Aaron Bentley, Robert Collins, Martin Pool)
 
887
 
 
888
    * Transports can now raise DependencyNotPresent if they need a library
 
889
      which is not installed, and then another implementation will be 
 
890
      tried.  (Martin Pool)
 
891
 
 
892
    * Remove obsolete (and no-op) `decode` parameter to `Transport.get`.  
 
893
      (Martin Pool)
 
894
 
 
895
    * Using Tree Transform for merge, revert, tree-building
 
896
 
 
897
    * WorkingTree.create, Branch.create, WorkingTree.create_standalone,
 
898
      Branch.initialize are now deprecated. Please see BzrDir.create_* for
 
899
      replacement API's. (Robert Collins)
 
900
 
 
901
    * New BzrDir class represents the .bzr control directory and manages
 
902
      formatting issues. (Robert Collins)
 
903
 
 
904
    * New repository.InterRepository class encapsulates Repository to 
 
905
      Repository actions and allows for clean selection of optimised code
 
906
      paths. (Robert Collins)
 
907
 
 
908
    * bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
 
909
      please use 'branch.fetch' or 'repository.fetch' depending on your
 
910
      needs. (Robert Collins)
 
911
 
 
912
    * deprecated methods now have a 'is_deprecated' flag on them that can
 
913
      be checked, if you need to determine whether a given callable is 
 
914
      deprecated at runtime. (Robert Collins)
 
915
 
 
916
    * Progress bars are now nested - see
 
917
      bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
 
918
 
 
919
    * New API call get_format_description() for each type of format.
 
920
      (Olaf Conradi)
 
921
 
 
922
    * Changed branch.set_parent() to accept None to remove parent.
 
923
      (Olaf Conradi)
 
924
 
 
925
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
926
 
 
927
    * WorkingTree.branch is now a read only property.  (Robert Collins)
 
928
 
 
929
    * bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
 
930
      can be None or a factory that will create a progress bar. This is
 
931
      useful for testing or for overriding the bzrlib.progress heuristic.
 
932
      (Robert Collins)
 
933
 
 
934
    * New API method get_physical_lock_status() to query locks present on a
 
935
      transport.  (Olaf Conradi)
 
936
 
 
937
    * Repository.reconcile now takes a thorough keyword parameter to allow
 
938
      requesting an indepth reconciliation, rather than just a data-loss 
 
939
      check. (Robert Collins)
 
940
 
 
941
    * bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
 
942
      the user for yes/no style input. (Robert Collins)
 
943
 
 
944
  TESTING:
 
945
 
 
946
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
947
      for testing SFTP protocol support. (Robey Pointer)
 
948
 
 
949
    * Branch formats are now tested once per implementation (see bzrlib.
 
950
      tests.branch_implementations. This is analagous to the transport
 
951
      interface tests, and has been followed up with working tree,
 
952
      repository and BzrDir tests. (Robert Collins)
 
953
 
 
954
    * New test base class TestCaseWithTransport provides a transport aware
 
955
      test environment, useful for testing any transport-interface using
 
956
      code. The test suite option --transport controls the transport used
 
957
      by this class (when its not being used as part of implementation
 
958
      contract testing). (Robert Collins)
 
959
 
 
960
    * Close logging handler on disabling the test log. This will remove the
 
961
      handler from the internal list inside python's logging module,
 
962
      preventing shutdown from closing it twice.  (Olaf Conradi)
 
963
 
 
964
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
965
 
 
966
    * run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
 
967
      will provide String("foo") to the command as its stdin.
 
968
 
 
969
bzr 0.7 2006-01-09
 
970
 
 
971
  CHANGES:
 
972
 
 
973
    * .bzrignore is excluded from exports, on the grounds that it's a bzr 
 
974
      internal-use file and may not be wanted.  (Jamie Wilkinson)
 
975
 
 
976
    * The "bzr directories" command were removed in favor of the new
 
977
      --kind option to the "bzr inventory" command.  To list all 
 
978
      versioned directories, now use "bzr inventory --kind directory".  
 
979
      (Johan Rydberg)
 
980
 
 
981
    * Under Windows configuration directory is now %APPDATA%\bazaar\2.0
 
982
      by default. (John Arbash Meinel)
 
983
 
 
984
    * The parent of Bzr configuration directory can be set by BZR_HOME
 
985
      environment variable. Now the path for it is searched in BZR_HOME, then
 
986
      in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
 
987
      points to C:\Documents and Settings\User Name\Application Data), HOME.
 
988
      (John Arbash Meinel)
 
989
 
 
990
    * Plugins with the same name in different directories in the bzr plugin
 
991
      path are no longer loaded: only the first successfully loaded one is
 
992
      used. (Robert Collins)
 
993
 
 
994
    * Use systems' external ssh command to open connections if possible.  
 
995
      This gives better integration with user settings such as ProxyCommand.
 
996
      (James Henstridge)
 
997
 
 
998
    * Permissions on files underneath .bzr/ are inherited from the .bzr 
 
999
      directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
1000
      will mean that future file will be created with group write permissions.
 
1001
 
 
1002
    * configure.in and config.guess are no longer in the builtin default 
 
1003
      ignore list.
 
1004
 
 
1005
    * '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
1006
      files.  (John Arbash Meinel, Martin Pool)
 
1007
 
 
1008
  IMPROVEMENTS:
 
1009
 
 
1010
    * "bzr INIT dir" now initializes the specified directory, and creates 
 
1011
      it if it does not exist.  (John Arbash Meinel)
 
1012
 
 
1013
    * New remerge command (Aaron Bentley)
 
1014
 
 
1015
    * Better zsh completion script.  (Steve Borho)
 
1016
 
 
1017
    * 'bzr diff' now returns 1 when there are changes in the working 
 
1018
      tree. (Robert Collins)
 
1019
 
 
1020
    * 'bzr push' now exists and can push changes to a remote location. 
 
1021
      This uses the transport infrastructure, and can store the remote
 
1022
      location in the ~/.bazaar/branches.conf configuration file.
 
1023
      (Robert Collins)
 
1024
 
 
1025
    * Test directories are only kept if the test fails and the user requests
 
1026
      that they be kept.
 
1027
 
 
1028
    * Tweaks to short log printing
 
1029
 
 
1030
    * Added branch nicks, new nick command, printing them in log output. 
 
1031
      (Aaron Bentley)
 
1032
 
 
1033
    * If $BZR_PDB is set, pop into the debugger when an uncaught exception 
 
1034
      occurs.  (Martin Pool)
 
1035
 
 
1036
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
1037
      the same as Subversion.  (Martin Pool)
 
1038
 
 
1039
    * New ftp transport support (on ftplib), for ftp:// and aftp:// 
 
1040
      URLs.  (Daniel Silverstone)
 
1041
 
 
1042
    * Commit editor temporary files now start with 'bzr_log.', to allow 
 
1043
      text editors to match the file name and set up appropriate modes or 
 
1044
      settings.  (Magnus Therning)
 
1045
 
 
1046
    * Improved performance when integrating changes from a remote weave.  
 
1047
      (Goffredo Baroncelli)
 
1048
 
 
1049
    * Sftp will attempt to cache the connection, so it is more likely that
 
1050
      a connection will be reused, rather than requiring multiple password
 
1051
      requests.
 
1052
 
 
1053
    * bzr revno now takes an optional argument indicating the branch whose
 
1054
      revno should be printed.  (Michael Ellerman)
 
1055
 
 
1056
    * bzr cat defaults to printing the last version of the file.  
 
1057
      (#3632, Matthieu Moy)
 
1058
 
 
1059
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof 
 
1060
      profiler.  (Denys Duchier)
 
1061
 
 
1062
    * Faster commits by reading only the headers of affected weave files. 
 
1063
      (Denys Duchier)
 
1064
 
 
1065
    * 'bzr add' now takes a --dry-run parameter which shows you what would be
 
1066
      added, but doesn't actually add anything. (Michael Ellerman)
 
1067
 
 
1068
    * 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
1069
      lists the specific files.  (Aaron Bentley)
 
1070
 
 
1071
    * 'bzr missing' now supports displaying changes in diverged trees and can
 
1072
      be limited to show what either end of the comparison is missing.
 
1073
      (Aaron Bently, with a little prompting from Daniel Silverstone)
 
1074
 
 
1075
  BUG FIXES:
 
1076
 
 
1077
    * SFTP can walk up to the root path without index errors. (Robert Collins)
 
1078
 
 
1079
    * Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
1080
 
 
1081
    * Error when run with -OO
 
1082
 
 
1083
    * Fix bug in reporting http errors that don't have an http error code.
 
1084
      (Martin Pool)
 
1085
 
 
1086
    * Handle more cases of pipe errors in display commands
 
1087
 
 
1088
    * Change status to 3 for all errors
 
1089
 
 
1090
    * Files that are added and unlinked before committing are completely
 
1091
      ignored by diff and status
 
1092
 
 
1093
    * Stores with some compressed texts and some uncompressed texts are now
 
1094
      able to be used. (John A Meinel)
 
1095
 
 
1096
    * Fix for bzr pull failing sometimes under windows
 
1097
 
 
1098
    * Fix for sftp transport under windows when using interactive auth
 
1099
 
 
1100
    * Show files which are both renamed and modified as such in 'bzr 
 
1101
      status' output.  (#4503, Daniel Silverstone)
 
1102
 
 
1103
    * Make annotate cope better with revisions committed without a valid 
 
1104
      email address.  (Marien Zwart)
 
1105
 
 
1106
    * Fix representation of tab characters in commit messages.  (Harald 
 
1107
      Meland)
 
1108
 
 
1109
    * List of plugin directories in BZR_PLUGIN_PATH environment variable is
 
1110
      now parsed properly under Windows. (Alexander Belchenko)
 
1111
 
 
1112
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
1113
 
 
1114
    * Keep a cached copy of the basis inventory to speed up operations 
 
1115
      that need to refer to it.  (Johan Rydberg, Martin Pool)
 
1116
 
 
1117
    * Fix bugs in bzr status display of non-ascii characters.  (Martin 
 
1118
      Pool)
 
1119
 
 
1120
    * Remove Makefile.in from default ignore list.  (#6413, Tollef Fog 
 
1121
      Heen, Martin Pool)
 
1122
 
 
1123
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
1124
 
 
1125
  TESTING:
 
1126
 
 
1127
    * Fix selftest asking for passwords when there are no SFTP keys.  
 
1128
      (Robey Pointer, Jelmer Vernooij) 
 
1129
 
 
1130
    * Fix selftest run with 'python -O'.  (Martin Pool)
 
1131
 
 
1132
    * Fix HTTP tests under Windows. (John Arbash Meinel)
 
1133
 
 
1134
    * Make tests work even if HOME is not set (Aaron Bentley)
 
1135
 
 
1136
    * Updated build_tree to use fixed line-endings for tests which read 
 
1137
      the file cotents and compare. Make some tests use this to pass under
 
1138
      Windows. (John Arbash Meinel)
 
1139
 
 
1140
    * Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
1141
 
 
1142
    * Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
1143
      (John Arbash Meinel)
 
1144
 
 
1145
    * Use terminal width to align verbose test output.  (Martin Pool)
 
1146
 
 
1147
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
1148
      If adding a new test script please add that to
 
1149
      bzrlib.tests.blackbox.__init__. (Robert Collins)
 
1150
 
 
1151
    * Much better error message if one of the test suites can't be 
 
1152
      imported.  (Martin Pool)
 
1153
 
 
1154
    * Make check now runs the test suite twice - once with the default locale,
 
1155
      and once with all locales forced to C, to expose bugs. This is not 
 
1156
      trivially done within python, so for now its only triggered by running
 
1157
      Make check. Integrators and packagers who wish to check for full 
 
1158
      platform support should run 'make check' to test the source.
 
1159
      (Robert Collins)
 
1160
 
 
1161
    * Tests can now run TestSkipped if they can't execute for any reason.
 
1162
      (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
1163
      reasons - see the wiki spec ImprovingBzrTestSuite).
 
1164
 
 
1165
    * Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
1166
      paths for the transport tests. Introduce blackbox remote sftp tests that
 
1167
      test the same permutations. (Robert Collins, Robey Pointer)
 
1168
 
 
1169
    * Transport implementation tests are now independent of the local file
 
1170
      system, which allows tests for esoteric transports, and for features
 
1171
      not available in the local file system. They also repeat for variations
 
1172
      on the URL scheme that can introduce issues in the transport code,
 
1173
      see bzrlib.transport.TransportTestProviderAdapter() for this.
 
1174
      (Robert Collins).
 
1175
 
 
1176
    * TestCase.build_tree uses the transport interface to build trees, pass
 
1177
      in a transport parameter to give it an existing connection.
 
1178
      (Robert Collins).
 
1179
 
 
1180
  INTERNALS:
 
1181
 
 
1182
    * WorkingTree.pull has been split across Branch and WorkingTree,
 
1183
      to allow Branch only pulls. (Robert Collins)
 
1184
 
 
1185
    * commands.display_command now returns the result of the decorated 
 
1186
      function. (Robert Collins)
 
1187
 
 
1188
    * LocationConfig now has a set_user_option(key, value) call to save
 
1189
      a setting in its matching location section (a new one is created
 
1190
      if needed). (Robert Collins)
 
1191
 
 
1192
    * Branch has two new methods, get_push_location and set_push_location
 
1193
      to respectively, get and set the push location. (Robert Collins)
 
1194
 
 
1195
    * commands.register_command now takes an optional flag to signal that
 
1196
      the registrant is planning to decorate an existing command. When 
 
1197
      given multiple plugins registering a command is not an error, and
 
1198
      the original command class (whether built in or a plugin based one) is
 
1199
      returned to the caller. There is a new error 'MustUseDecorated' for
 
1200
      signalling when a wrapping command should switch to the original
 
1201
      version. (Robert Collins)
 
1202
 
 
1203
    * Some option parsing errors will raise 'BzrOptionError', allowing 
 
1204
      granular detection for decorating commands. (Robert Collins).
 
1205
 
 
1206
    * Branch.read_working_inventory has moved to
 
1207
      WorkingTree.read_working_inventory. This necessitated changes to
 
1208
      Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
 
1209
      as well. To make it clear that a WorkingTree cannot always be obtained
 
1210
      Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
 
1211
      be obtained. (Robert Collins)
 
1212
 
 
1213
    * All pending merges operations from Branch are now on WorkingTree.
 
1214
      (Robert Collins)
 
1215
 
 
1216
    * The follow operations from Branch have moved to WorkingTree:
 
1217
      add()
 
1218
      commit()
 
1219
      move()
 
1220
      rename_one()
 
1221
      unknowns()
 
1222
      (Robert Collins)
 
1223
 
 
1224
    * bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
 
1225
 
 
1226
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
1227
 
 
1228
    * Rename selftests to `bzrlib.tests.test_foo`.  (John A Meinel, Martin 
 
1229
      Pool)
 
1230
 
 
1231
    * bzrlib.plugin.all_plugins has been changed from an attribute to a 
 
1232
      query method. (Robert Collins)
 
1233
 
 
1234
    * New options to read only the table-of-contents of a weave.  
 
1235
      (Denys Duchier)
 
1236
 
 
1237
    * Raise NoSuchFile when someone tries to add a non-existant file.
 
1238
      (Michael Ellerman)
 
1239
 
 
1240
    * Simplify handling of DivergedBranches in cmd_pull().
 
1241
      (Michael Ellerman)
 
1242
                   
 
1243
   
 
1244
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
1245
      is exposed as Branch().control_files. Also this has been altered with the
 
1246
      controlfile pre/suffix replaced by simple method names like 'get' and
 
1247
      'put'. (Aaron Bentley, Robert Collins).
 
1248
 
 
1249
    * Deprecated functions and methods can now be marked as such using the 
 
1250
      bzrlib.symbol_versioning module. Marked method have their docstring
 
1251
      updated and will issue a DeprecationWarning using the warnings module
 
1252
      when they are used. (Robert Collins)
 
1253
 
 
1254
    * bzrlib.osutils.safe_unicode now exists to provide parameter coercion
 
1255
      for functions that need unicode strings. (Robert Collins)
 
1256
 
 
1257
bzr 0.6 2005-10-28
 
1258
 
 
1259
  IMPROVEMENTS:
 
1260
  
 
1261
    * pull now takes --verbose to show you what revisions are added or removed
 
1262
      (John A Meinel)
 
1263
 
 
1264
    * merge now takes a --show-base option to include the base text in
 
1265
      conflicts.
 
1266
      (Aaron Bentley)
 
1267
 
 
1268
    * The config files are now read using ConfigObj, so '=' should be used as
 
1269
      a separator, not ':'.
 
1270
      (Aaron Bentley)
4
1271
 
5
1272
    * New 'bzr commit --strict' option refuses to commit if there are 
6
1273
      any unknown files in the tree.  To commit, make sure all files are 
38
1305
    * Just give a quieter warning if a plugin can't be loaded, and 
39
1306
      put the details in .bzr.log.  (Martin Pool)
40
1307
 
 
1308
    * 'bzr branch' will now set the branch-name to the last component of the
 
1309
      output directory, if one was supplied.
 
1310
 
 
1311
    * If the option 'post_commit' is set to one (or more) python function
 
1312
      names (must be in the bzrlib namespace), then they will be invoked
 
1313
      after the commit has completed, with the branch and revision_id as
 
1314
      parameters. (Robert Collins)
 
1315
 
 
1316
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
1317
 
 
1318
    * --merge-type weave is now supported for file contents.  Tree-shape
 
1319
      changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
1320
 
 
1321
    * 'bzr check' allows the first revision on revision-history to have
 
1322
      parents - something that is expected for cheap checkouts, and occurs
 
1323
      when conversions from baz do not have all history.  (Robert Collins).
 
1324
 
 
1325
   * 'bzr merge' can now graft unrelated trees together, if your specify
 
1326
     0 as a base. (Aaron Bentley)
 
1327
 
 
1328
   * 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
1329
     (Aaron Bentley)
 
1330
 
 
1331
    * Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
1332
 
 
1333
   * 'bzr merge --reprocess' minimizes conflicts
 
1334
 
41
1335
  TESTING:
42
1336
 
43
1337
    * The 'bzr selftest --pattern' option for has been removed, now 
48
1342
      complete, which will aid in analysing performance regressions and
49
1343
      related questions. (Robert Collins)
50
1344
 
51
 
    * 'bzr selftest' runs all tests, even if one feels, unless '--one'
 
1345
    * 'bzr selftest' runs all tests, even if one fails, unless '--one'
52
1346
      is given. (Martin Pool)
53
1347
 
54
1348
    * There is a new method for TestCaseInTempDir, assertFileEqual, which
55
1349
      will check that a given content is equal to the content of the named
56
1350
      file. (Robert Collins)
57
1351
 
 
1352
    * Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
1353
      (Martin Pool)
 
1354
 
58
1355
  INTERNALS:
59
1356
 
60
1357
    * New 'testament' command and concept for making gpg-signatures 
75
1372
    * Config options have moved from bzrlib.osutils to bzrlib.config.
76
1373
      Configuration is now done via the config.Config interface:
77
1374
      Depending on whether you have a Branch, a Location or no information
78
 
      available, construct a *Config, and use its signature_checking,
79
 
      username and user_email methods. (Robert Collins)
 
1375
      available, construct a ``*Config``, and use its ``signature_checking``,
 
1376
      ``username`` and ``user_email`` methods. (Robert Collins)
80
1377
 
81
1378
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
82
1379
      they are made available for other plugins to use. You should not 
137
1434
      to apis like 'put', 'get' and 'has'. This is to provide consistent
138
1435
      behaviour - it operates on url's only. (Robert Collins)
139
1436
 
 
1437
    * Transports can register using register_lazy_transport, and they 
 
1438
      will be loaded when first used.  (Martin Pool)
 
1439
 
 
1440
    * 'merge_flex' no longer calls conflict_handler.finalize(), instead that
 
1441
      is called by merge_inner. This is so that the conflict count can be 
 
1442
      retrieved (and potentially manipulated) before returning to the caller
 
1443
      of merge_inner. Likewise 'merge' now returns the conflict count to the
 
1444
      caller. (Robert Collins)
 
1445
 
 
1446
    * 'revision.revision_graph can handle having only partial history for
 
1447
      a revision - that is no revisions in the graph with no parents.
 
1448
      (Robert Collins).
 
1449
 
 
1450
    * New builtins.branch_files uses the standard file_list rules to produce
 
1451
      a branch and a list of paths, relative to that branch (Aaron Bentley)
 
1452
 
 
1453
    * New TestCase.addCleanup facility.
 
1454
 
 
1455
    * New bzrlib.version_info tuple (similar to sys.version_info), which can
 
1456
      be used by programs importing bzrlib.
 
1457
 
140
1458
  BUG FIXES:
141
1459
 
142
1460
    * Better handling of branches in directories with non-ascii names. 
143
1461
      (Joel Rosdahl, Panagiotis Papadakos)
144
1462
 
 
1463
    * Upgrades of trees with no commits will not fail due to accessing
 
1464
      [-1] in the revision-history. (Andres Salomon)
 
1465
 
 
1466
 
145
1467
bzr 0.1.1 2005-10-12
146
1468
 
147
1469
  BUG FIXES:
203
1525
    * Symlink support: working with symlinks when not in the root of a 
204
1526
      bzr tree was broken, patch from Scott James Remnant.
205
1527
 
206
 
 
207
1528
  IMPROVEMENTS:
208
1529
 
209
1530
    * 'branch' now accepts a --basis parameter which will take advantage