~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-02 00:43:10 UTC
  • mfrom: (2057.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20061002004310-6e09ddd7fd28f71c
Merge in 0.11 NEWS entry.

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