~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

switch patience-test to use PatienceSequenceMatcher.

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
   * On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
6
     Use terminal width for single-line logs from ``bzr log --line`` and
 
7
     pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
8
     (Malone #3507)
 
9
 
 
10
   * On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
11
     (Alexander Belchenko)
 
12
 
 
13
   * Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
14
 
 
15
   * Show the correct number of revisions pushed when pushing a new branch.
 
16
     (Robert Collins).
 
17
 
 
18
   * 'bzr selftest' now shows a progress bar with the number of tests, and 
 
19
     progress made. 'make check' shows tests in -v mode, to be more useful
 
20
     for the PQM status window. (Robert Collins).
 
21
 
 
22
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
23
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
24
     profile data for the individual profiled calls, allowing for fine
 
25
     grained analysis of performance.
 
26
     (Robert Collins, Martin Pool).
 
27
 
 
28
   * 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
29
     where commit can take an appreciable time. (Robert Collins)
 
30
 
 
31
   * 'bzr add' is now less verbose in telling you what ignore globs were
 
32
     matched by files being ignored. Instead it just tells you how many 
 
33
     were ignored (because you might reasonably be expecting none to be
 
34
     ignored). 'bzr add -v' is unchanged and will report every ignored
 
35
     file. (Robert Collins).
 
36
 
 
37
   * ftp now has a test server if medusa is installed. As part of testing,
 
38
     ftp support has been improved, including support for supplying a
 
39
     non-standard port. (John Arbash Meinel).
 
40
 
 
41
   * ``log --line`` shows the revision number.  (#5162, Alexander Belchenko)
 
42
 
 
43
  BUG FIXES:
 
44
 
 
45
    * Fix shadowed definition of TestLocationConfig that caused some 
 
46
      tests not to run.  (#32587, Erik Bågfors, Michael Ellerman, 
 
47
      Martin Pool)
 
48
 
 
49
  INTERNALS:
 
50
 
 
51
    * Combine the ignore rules into a single regex rather than looping over
 
52
      them to reduce the threshold where  N^2 behaviour occurs in operations
 
53
      like status. (Jan Hudec, Robert Collins).
 
54
 
 
55
    * 'bzr push' should only push the ancestry of the current revision, not
 
56
      all of the history in the repository. This is especially important for
 
57
      shared repositories. (John Arbash Meinel)
 
58
 
 
59
bzr 0.8.2  2006-05-17
 
60
  
 
61
  BUG FIXES:
 
62
   
 
63
    * setup.py failed to install launchpad plugin.  (Martin Pool)
 
64
 
 
65
bzr 0.8.1  2006-05-16
 
66
 
 
67
  BUG FIXES:
 
68
 
 
69
    * Fix failure to commit a merge in a checkout.  (Martin Pool, 
 
70
      Robert Collins, Erik Bågfors, #43959)
 
71
 
 
72
    * Nicer messages from 'commit' in the case of renames, and correct
 
73
      messages when a merge has occured. (Robert Collins, Martin Pool)
 
74
 
 
75
    * Separate functionality from assert statements as they are skipped in
 
76
      optimized mode of python. Add the same check to pending merges.
 
77
      (#44443, Olaf Conradi)
 
78
 
 
79
  CHANGES:
 
80
 
 
81
    * Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
82
 
 
83
    * Add info on standalone branches without a working tree.
 
84
      (#44155, Olaf Conradi)
 
85
 
 
86
    * Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
 
87
 
 
88
  CHANGES:
 
89
 
 
90
    * Make editor invocation comply with Debian Policy. First check
 
91
      environment variables VISUAL and EDITOR, then try editor from
 
92
      alternatives system. If that all fails, fall back to the pre-defined
 
93
      list of editors. (#42904, Olaf Conradi)
 
94
 
 
95
  NEW FEATURES:
 
96
 
 
97
    * New 'register-branch' command registers a public branch into 
 
98
      Launchpad.net, where it can be associated with bugs, etc.
 
99
      (Martin Pool, Bjorn Tillenius, Robert Collins)
 
100
 
 
101
  INTERNALS:
 
102
 
 
103
    * New public api in InventoryEntry - 'describe_change(old, new)' which
 
104
      provides a human description of the changes between two old and
 
105
      new. (Robert Collins, Martin Pool)
 
106
 
 
107
  TESTING:
 
108
 
 
109
    * Fix test case for bzr info in upgrading a standalone branch to metadir,
 
110
      uses bzrlib api now. (Olaf Conradi)
 
111
 
 
112
bzr 0.8  2006-05-08
 
113
 
 
114
  NOTES WHEN UPGRADING:
 
115
 
 
116
    Release 0.8 of bzr introduces a new format for history storage, called
 
117
    'knit', as an evolution of to the 'weave' format used in 0.7.  Local 
 
118
    and remote operations are faster using knits than weaves.  Several
 
119
    operations including 'init', 'init-repo', and 'upgrade' take a 
 
120
    --format option that controls this.  Branching from an existing branch
 
121
    will keep the same format.
 
122
 
 
123
    It is possible to merge, pull and push between branches of different
 
124
    formats but this is slower than moving data between homogenous
 
125
    branches.  It is therefore recommended (but not required) that you
 
126
    upgrade all branches for a project at the same time.  Information on
 
127
    formats is shown by 'bzr info'.
 
128
 
 
129
    bzr 0.8 now allows creation of 'repositories', which hold the history 
 
130
    of files and revisions for several branches.  Previously bzr kept all
 
131
    the history for a branch within the .bzr directory at the root of the
 
132
    branch, and this is still the default.  To create a repository, use
 
133
    the new 'bzr init-repo' command.  Branches exist as directories under
 
134
    the repository and contain just a small amount of information
 
135
    indicating the current revision of the branch.
 
136
 
 
137
    bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
138
    subversion.  Checkouts are associated with a branch (optionally in a
 
139
    repository), which contains all the historical information.  The
 
140
    result is that a checkout can be deleted without losing any
 
141
    already-committed revisions.  A new 'update' command is also available. 
 
142
 
 
143
    Repositories and checkouts are not supported with the 0.7 storage
 
144
    format.  To use them you must upgrad to either knits, or to the
 
145
    'metaweave' format, which uses weaves but changes the .bzr directory
 
146
    arrangement.
 
147
    
 
148
 
 
149
  IMPROVEMENTS:
 
150
 
 
151
    * Sftp paths can now be relative, or local, according to the lftp
 
152
      convention. Paths now take the form:
 
153
      sftp://user:pass@host:port/~/relative/path
 
154
      or
 
155
      sftp://user:pass@host:port/absolute/path
 
156
 
 
157
    * The FTP transport now tries to reconnect after a temporary
 
158
      failure. ftp put is made atomic. (Matthieu Moy)
 
159
 
 
160
    * The FTP transport now maintains a pool of connections, and
 
161
      reuses them to avoid multiple connections to the same host (like
 
162
      sftp did). (Daniel Silverstone)
 
163
 
 
164
    * The bzr_man.py file has been removed. To create the man page now,
 
165
      use ./generate_docs.py man. The new program can also create other files.
 
166
      Run "python generate_docs.py --help" for usage information. (Hans
 
167
      Ulrich Niedermann & James Blackwell).
 
168
 
 
169
    * Man Page now gives full help (James Blackwell). Help also updated to 
 
170
      reflect user config now being stored in .bazaar (Hans Ulrich
 
171
      Niedermann)
 
172
 
 
173
    * It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
174
 
 
175
    * Pull now accepts a --revision argument (Erik Bågfors)
 
176
 
 
177
    * 'bzr re-sign' now allows multiple revisions to be supplied on the command
 
178
      line. You can now use the following command to sign all of your old commits.
 
179
        find .bzr/revision-store// -name my@email-* \
 
180
          | sed 's/.*\/\/..\///' \
 
181
          | xargs bzr re-sign
 
182
 
 
183
    * Upgrade can now upgrade over the network. (Robert Collins)
 
184
 
 
185
    * Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
186
      behaviour.  By default they will cache history in the checkout, but
 
187
      with --lightweight almost all data is kept in the master branch.
 
188
      (Robert Collins)
 
189
 
 
190
    * 'revert' unversions newly-versioned files, instead of deleting them.
 
191
 
 
192
    * 'merge' is more robust.  Conflict messages have changed.
 
193
 
 
194
    * 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
195
      '.moved'.
 
196
 
 
197
    * Default log format can be set in configuration and plugins can register
 
198
      their own formatters. (Erik Bågfors)
 
199
 
 
200
    * New 'reconcile' command will check branch consistency and repair indexes
 
201
      that can become out of sync in pre 0.8 formats. (Robert Collins,
 
202
      Daniel Silverstone)
 
203
 
 
204
    * New 'bzr init --format' and 'bzr upgrade --format' option to control 
 
205
      what storage format is created or produced.  (Robert Collins, 
 
206
      Martin Pool)
 
207
 
 
208
    * Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
209
 
 
210
    * New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
211
 
 
212
    * New 'init-repository' command, plus support for repositories in 'init'
 
213
      and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
214
 
 
215
    * Improve output of 'info' command. Show all relevant locations related to
 
216
      working tree, branch and repository. Use kibibytes for binary quantities.
 
217
      Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
218
      work on branches, repositories and remote locations.  Show locations
 
219
      relative to the shared repository, if applicable.  Show locking status
 
220
      of locations.  (Olaf Conradi)
 
221
 
 
222
    * Diff and merge now safely handle binary files. (Aaron Bentley)
 
223
 
 
224
    * 'pull' and 'push' now normalise the revision history, so that any two
 
225
      branches with the same tip revision will have the same output from 'log'.
 
226
      (Robert Collins)
 
227
 
 
228
    * 'merge' accepts --remember option to store parent location, like 'push'
 
229
      and 'pull'. (Olaf Conradi)
 
230
 
 
231
    * bzr status and diff when files given as arguments do not exist
 
232
      in the relevant trees.  (Martin Pool, #3619)
 
233
 
 
234
    * Add '.hg' to the default ignore list.  (Martin Pool)
 
235
 
 
236
    * 'knit' is now the default disk format. This improves disk performance and
 
237
      utilization, increases incremental pull performance, robustness with SFTP
 
238
      and allows checkouts over SFTP to perform acceptably. 
 
239
      The initial Knit code was contributed by Johan Rydberg based on a
 
240
      specification by Martin Pool.
 
241
      (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
242
 
 
243
    * New tool to generate all-in-one html version of the manual.  (Alexander
 
244
      Belchenko)
 
245
 
 
246
    * Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
247
      to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
248
 
 
249
    * New option 'diff --prefix' to control how files are named in diff
 
250
      output, with shortcuts '-p0' and '-p1' corresponding to the options for 
 
251
      GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
252
 
 
253
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
 
254
 
 
255
    * Add --revision option to 'annotate' command.  (Olaf Conradi)
 
256
 
 
257
    * If bzr shows an unexpected revision-history after pulling (perhaps due
 
258
      to a reweave) it can now be corrected by 'bzr reconcile'.
 
259
      (Robert Collins)
 
260
 
 
261
  CHANGES:
 
262
 
 
263
    * Commit is now verbose by default, and shows changed filenames and the 
 
264
      new revision number.  (Robert Collins, Martin Pool)
 
265
 
 
266
    * Unify 'mv', 'move', 'rename'.  (#5379, Matthew Fuller)
 
267
 
 
268
    * 'bzr -h' shows help.  (#35940, Martin Pool, Ian Bicking)
 
269
 
 
270
    * Make 'pull' and 'push' remember location on failure using --remember.
 
271
      (Olaf Conradi)
 
272
 
 
273
    * For compatibility, make old format for using weaves inside metadir
 
274
      available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
275
      Clean up help for option --format in commands 'init', 'init-repo' and
 
276
      'upgrade'.  (Olaf Conradi)
 
277
 
 
278
  INTERNALS:
 
279
  
 
280
    * The internal storage of history, and logical branch identity have now
 
281
      been split into Branch, and Repository. The common locking and file 
 
282
      management routines are now in bzrlib.lockablefiles. 
 
283
      (Aaron Bentley, Robert Collins, Martin Pool)
 
284
 
 
285
    * Transports can now raise DependencyNotPresent if they need a library
 
286
      which is not installed, and then another implementation will be 
 
287
      tried.  (Martin Pool)
 
288
 
 
289
    * Remove obsolete (and no-op) `decode` parameter to `Transport.get`.  
 
290
      (Martin Pool)
 
291
 
 
292
    * Using Tree Transform for merge, revert, tree-building
 
293
 
 
294
    * WorkingTree.create, Branch.create, WorkingTree.create_standalone,
 
295
      Branch.initialize are now deprecated. Please see BzrDir.create_* for
 
296
      replacement API's. (Robert Collins)
 
297
 
 
298
    * New BzrDir class represents the .bzr control directory and manages
 
299
      formatting issues. (Robert Collins)
 
300
 
 
301
    * New repository.InterRepository class encapsulates Repository to 
 
302
      Repository actions and allows for clean selection of optimised code
 
303
      paths. (Robert Collins)
 
304
 
 
305
    * bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
 
306
      please use 'branch.fetch' or 'repository.fetch' depending on your
 
307
      needs. (Robert Collins)
 
308
 
 
309
    * deprecated methods now have a 'is_deprecated' flag on them that can
 
310
      be checked, if you need to determine whether a given callable is 
 
311
      deprecated at runtime. (Robert Collins)
 
312
 
 
313
    * Progress bars are now nested - see
 
314
      bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
 
315
 
 
316
    * New API call get_format_description() for each type of format.
 
317
      (Olaf Conradi)
 
318
 
 
319
    * Changed branch.set_parent() to accept None to remove parent.
 
320
      (Olaf Conradi)
 
321
 
 
322
    * Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
323
 
 
324
    * WorkingTree.branch is now a read only property.  (Robert Collins)
 
325
 
 
326
    * bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
 
327
      can be None or a factory that will create a progress bar. This is
 
328
      useful for testing or for overriding the bzrlib.progress heuristic.
 
329
      (Robert Collins)
 
330
 
 
331
    * New API method get_physical_lock_status() to query locks present on a
 
332
      transport.  (Olaf Conradi)
 
333
 
 
334
    * Repository.reconcile now takes a thorough keyword parameter to allow
 
335
      requesting an indepth reconciliation, rather than just a data-loss 
 
336
      check. (Robert Collins)
 
337
 
 
338
    * bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
 
339
      the user for yes/no style input. (Robert Collins)
 
340
 
 
341
  TESTING:
 
342
 
 
343
    * SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
344
      for testing SFTP protocol support. (Robey Pointer)
 
345
 
 
346
    * Branch formats are now tested once per implementation (see bzrlib.
 
347
      tests.branch_implementations. This is analagous to the transport
 
348
      interface tests, and has been followed up with working tree,
 
349
      repository and BzrDir tests. (Robert Collins)
 
350
 
 
351
    * New test base class TestCaseWithTransport provides a transport aware
 
352
      test environment, useful for testing any transport-interface using
 
353
      code. The test suite option --transport controls the transport used
 
354
      by this class (when its not being used as part of implementation
 
355
      contract testing). (Robert Collins)
 
356
 
 
357
    * Close logging handler on disabling the test log. This will remove the
 
358
      handler from the internal list inside python's logging module,
 
359
      preventing shutdown from closing it twice.  (Olaf Conradi)
 
360
 
 
361
    * Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
362
 
 
363
    * run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
 
364
      will provide String("foo") to the command as its stdin.
 
365
 
 
366
bzr 0.7 2006-01-09
 
367
 
 
368
  CHANGES:
 
369
 
 
370
    * .bzrignore is excluded from exports, on the grounds that it's a bzr 
 
371
      internal-use file and may not be wanted.  (Jamie Wilkinson)
 
372
 
 
373
    * The "bzr directories" command were removed in favor of the new
 
374
      --kind option to the "bzr inventory" command.  To list all 
 
375
      versioned directories, now use "bzr inventory --kind directory".  
 
376
      (Johan Rydberg)
 
377
 
 
378
    * Under Windows configuration directory is now %APPDATA%\bazaar\2.0
 
379
      by default. (John Arbash Meinel)
 
380
 
 
381
    * The parent of Bzr configuration directory can be set by BZR_HOME
 
382
      environment variable. Now the path for it is searched in BZR_HOME, then
 
383
      in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
 
384
      points to C:\Documents and Settings\User Name\Application Data), HOME.
 
385
      (John Arbash Meinel)
 
386
 
 
387
    * Plugins with the same name in different directories in the bzr plugin
 
388
      path are no longer loaded: only the first successfully loaded one is
 
389
      used. (Robert Collins)
 
390
 
 
391
    * Use systems' external ssh command to open connections if possible.  
 
392
      This gives better integration with user settings such as ProxyCommand.
 
393
      (James Henstridge)
 
394
 
 
395
    * Permissions on files underneath .bzr/ are inherited from the .bzr 
 
396
      directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
397
      will mean that future file will be created with group write permissions.
 
398
 
 
399
    * configure.in and config.guess are no longer in the builtin default 
 
400
      ignore list.
 
401
 
 
402
    * '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
403
      files.  (John Arbash Meinel, Martin Pool)
 
404
 
 
405
  IMPROVEMENTS:
 
406
 
 
407
    * "bzr INIT dir" now initializes the specified directory, and creates 
 
408
      it if it does not exist.  (John Arbash Meinel)
 
409
 
 
410
    * New remerge command (Aaron Bentley)
 
411
 
 
412
    * Better zsh completion script.  (Steve Borho)
 
413
 
 
414
    * 'bzr diff' now returns 1 when there are changes in the working 
 
415
      tree. (Robert Collins)
 
416
 
 
417
    * 'bzr push' now exists and can push changes to a remote location. 
 
418
      This uses the transport infrastructure, and can store the remote
 
419
      location in the ~/.bazaar/branches.conf configuration file.
 
420
      (Robert Collins)
 
421
 
 
422
    * Test directories are only kept if the test fails and the user requests
 
423
      that they be kept.
 
424
 
 
425
    * Tweaks to short log printing
 
426
 
 
427
    * Added branch nicks, new nick command, printing them in log output. 
 
428
      (Aaron Bentley)
 
429
 
 
430
    * If $BZR_PDB is set, pop into the debugger when an uncaught exception 
 
431
      occurs.  (Martin Pool)
 
432
 
 
433
    * Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
434
      the same as Subversion.  (Martin Pool)
 
435
 
 
436
    * New ftp transport support (on ftplib), for ftp:// and aftp:// 
 
437
      URLs.  (Daniel Silverstone)
 
438
 
 
439
    * Commit editor temporary files now start with 'bzr_log.', to allow 
 
440
      text editors to match the file name and set up appropriate modes or 
 
441
      settings.  (Magnus Therning)
 
442
 
 
443
    * Improved performance when integrating changes from a remote weave.  
 
444
      (Goffredo Baroncelli)
 
445
 
 
446
    * Sftp will attempt to cache the connection, so it is more likely that
 
447
      a connection will be reused, rather than requiring multiple password
 
448
      requests.
 
449
 
 
450
    * bzr revno now takes an optional argument indicating the branch whose
 
451
      revno should be printed.  (Michael Ellerman)
 
452
 
 
453
    * bzr cat defaults to printing the last version of the file.  
 
454
      (#3632, Matthieu Moy)
 
455
 
 
456
    * New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof 
 
457
      profiler.  (Denys Duchier)
 
458
 
 
459
    * Faster commits by reading only the headers of affected weave files. 
 
460
      (Denys Duchier)
 
461
 
 
462
    * 'bzr add' now takes a --dry-run parameter which shows you what would be
 
463
      added, but doesn't actually add anything. (Michael Ellerman)
 
464
 
 
465
    * 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
466
      lists the specific files.  (Aaron Bentley)
 
467
 
 
468
    * 'bzr missing' now supports displaying changes in diverged trees and can
 
469
      be limited to show what either end of the comparison is missing.
 
470
      (Aaron Bently, with a little prompting from Daniel Silverstone)
 
471
 
 
472
  BUG FIXES:
 
473
 
 
474
    * SFTP can walk up to the root path without index errors. (Robert Collins)
 
475
 
 
476
    * Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
477
 
 
478
    * Error when run with -OO
 
479
 
 
480
    * Fix bug in reporting http errors that don't have an http error code.
 
481
      (Martin Pool)
 
482
 
 
483
    * Handle more cases of pipe errors in display commands
 
484
 
 
485
    * Change status to 3 for all errors
 
486
 
 
487
    * Files that are added and unlinked before committing are completely
 
488
      ignored by diff and status
 
489
 
 
490
    * Stores with some compressed texts and some uncompressed texts are now
 
491
      able to be used. (John A Meinel)
 
492
 
 
493
    * Fix for bzr pull failing sometimes under windows
 
494
 
 
495
    * Fix for sftp transport under windows when using interactive auth
 
496
 
 
497
    * Show files which are both renamed and modified as such in 'bzr 
 
498
      status' output.  (#4503, Daniel Silverstone)
 
499
 
 
500
    * Make annotate cope better with revisions committed without a valid 
 
501
      email address.  (Marien Zwart)
 
502
 
 
503
    * Fix representation of tab characters in commit messages.  (Harald 
 
504
      Meland)
 
505
 
 
506
    * List of plugin directories in BZR_PLUGIN_PATH environment variable is
 
507
      now parsed properly under Windows. (Alexander Belchenko)
 
508
 
 
509
    * Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
510
 
 
511
    * Keep a cached copy of the basis inventory to speed up operations 
 
512
      that need to refer to it.  (Johan Rydberg, Martin Pool)
 
513
 
 
514
    * Fix bugs in bzr status display of non-ascii characters.  (Martin 
 
515
      Pool)
 
516
 
 
517
    * Remove Makefile.in from default ignore list.  (#6413, Tollef Fog 
 
518
      Heen, Martin Pool)
 
519
 
 
520
    * Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
521
 
 
522
  TESTING:
 
523
 
 
524
    * Fix selftest asking for passwords when there are no SFTP keys.  
 
525
      (Robey Pointer, Jelmer Vernooij) 
 
526
 
 
527
    * Fix selftest run with 'python -O'.  (Martin Pool)
 
528
 
 
529
    * Fix HTTP tests under Windows. (John Arbash Meinel)
 
530
 
 
531
    * Make tests work even if HOME is not set (Aaron Bentley)
 
532
 
 
533
    * Updated build_tree to use fixed line-endings for tests which read 
 
534
      the file cotents and compare. Make some tests use this to pass under
 
535
      Windows. (John Arbash Meinel)
 
536
 
 
537
    * Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
538
 
 
539
    * Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
540
      (John Arbash Meinel)
 
541
 
 
542
    * Use terminal width to align verbose test output.  (Martin Pool)
 
543
 
 
544
    * Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
545
      If adding a new test script please add that to
 
546
      bzrlib.tests.blackbox.__init__. (Robert Collins)
 
547
 
 
548
    * Much better error message if one of the test suites can't be 
 
549
      imported.  (Martin Pool)
 
550
 
 
551
    * Make check now runs the test suite twice - once with the default locale,
 
552
      and once with all locales forced to C, to expose bugs. This is not 
 
553
      trivially done within python, so for now its only triggered by running
 
554
      Make check. Integrators and packagers who wish to check for full 
 
555
      platform support should run 'make check' to test the source.
 
556
      (Robert Collins)
 
557
 
 
558
    * Tests can now run TestSkipped if they can't execute for any reason.
 
559
      (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
560
      reasons - see the wiki spec ImprovingBzrTestSuite).
 
561
 
 
562
    * Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
563
      paths for the transport tests. Introduce blackbox remote sftp tests that
 
564
      test the same permutations. (Robert Collins, Robey Pointer)
 
565
 
 
566
    * Transport implementation tests are now independent of the local file
 
567
      system, which allows tests for esoteric transports, and for features
 
568
      not available in the local file system. They also repeat for variations
 
569
      on the URL scheme that can introduce issues in the transport code,
 
570
      see bzrlib.transport.TransportTestProviderAdapter() for this.
 
571
      (Robert Collins).
 
572
 
 
573
    * TestCase.build_tree uses the transport interface to build trees, pass
 
574
      in a transport parameter to give it an existing connection.
 
575
      (Robert Collins).
 
576
 
 
577
  INTERNALS:
 
578
 
 
579
    * WorkingTree.pull has been split across Branch and WorkingTree,
 
580
      to allow Branch only pulls. (Robert Collins)
 
581
 
 
582
    * commands.display_command now returns the result of the decorated 
 
583
      function. (Robert Collins)
 
584
 
 
585
    * LocationConfig now has a set_user_option(key, value) call to save
 
586
      a setting in its matching location section (a new one is created
 
587
      if needed). (Robert Collins)
 
588
 
 
589
    * Branch has two new methods, get_push_location and set_push_location
 
590
      to respectively, get and set the push location. (Robert Collins)
 
591
 
 
592
    * commands.register_command now takes an optional flag to signal that
 
593
      the registrant is planning to decorate an existing command. When 
 
594
      given multiple plugins registering a command is not an error, and
 
595
      the original command class (whether built in or a plugin based one) is
 
596
      returned to the caller. There is a new error 'MustUseDecorated' for
 
597
      signalling when a wrapping command should switch to the original
 
598
      version. (Robert Collins)
 
599
 
 
600
    * Some option parsing errors will raise 'BzrOptionError', allowing 
 
601
      granular detection for decorating commands. (Robert Collins).
 
602
 
 
603
    * Branch.read_working_inventory has moved to
 
604
      WorkingTree.read_working_inventory. This necessitated changes to
 
605
      Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
 
606
      as well. To make it clear that a WorkingTree cannot always be obtained
 
607
      Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
 
608
      be obtained. (Robert Collins)
 
609
 
 
610
    * All pending merges operations from Branch are now on WorkingTree.
 
611
      (Robert Collins)
 
612
 
 
613
    * The follow operations from Branch have moved to WorkingTree:
 
614
      add()
 
615
      commit()
 
616
      move()
 
617
      rename_one()
 
618
      unknowns()
 
619
      (Robert Collins)
 
620
 
 
621
    * bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
 
622
 
 
623
    * New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
624
 
 
625
    * Rename selftests to `bzrlib.tests.test_foo`.  (John A Meinel, Martin 
 
626
      Pool)
 
627
 
 
628
    * bzrlib.plugin.all_plugins has been changed from an attribute to a 
 
629
      query method. (Robert Collins)
 
630
 
 
631
    * New options to read only the table-of-contents of a weave.  
 
632
      (Denys Duchier)
 
633
 
 
634
    * Raise NoSuchFile when someone tries to add a non-existant file.
 
635
      (Michael Ellerman)
 
636
 
 
637
    * Simplify handling of DivergedBranches in cmd_pull().
 
638
      (Michael Ellerman)
 
639
                   
 
640
   
 
641
    * Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
642
      is exposed as Branch().control_files. Also this has been altered with the
 
643
      controlfile pre/suffix replaced by simple method names like 'get' and
 
644
      'put'. (Aaron Bentley, Robert Collins).
 
645
 
 
646
    * Deprecated functions and methods can now be marked as such using the 
 
647
      bzrlib.symbol_versioning module. Marked method have their docstring
 
648
      updated and will issue a DeprecationWarning using the warnings module
 
649
      when they are used. (Robert Collins)
 
650
 
 
651
    * bzrlib.osutils.safe_unicode now exists to provide parameter coercion
 
652
      for functions that need unicode strings. (Robert Collins)
 
653
 
 
654
bzr 0.6 2005-10-28
 
655
 
 
656
  IMPROVEMENTS:
 
657
  
 
658
    * pull now takes --verbose to show you what revisions are added or removed
 
659
      (John A Meinel)
 
660
 
4
661
    * merge now takes a --show-base option to include the base text in
5
662
      conflicts.
6
663
      (Aaron Bentley)
37
694
      gpg_signing_command (defaults to gpg) and record a digital signature
38
695
      of your commit. (Robert Collins)
39
696
 
 
697
    * New sftp transport, based on Paramiko.  (Robey Pointer)
 
698
 
40
699
    * 'bzr pull' now accepts '--clobber' which will discard local changes
41
700
      and make this branch identical to the source branch. (Robert Collins)
42
701
 
43
 
    * New sftp transport, based on Paramiko.  (Robey Pointer)
 
702
    * Just give a quieter warning if a plugin can't be loaded, and 
 
703
      put the details in .bzr.log.  (Martin Pool)
 
704
 
 
705
    * 'bzr branch' will now set the branch-name to the last component of the
 
706
      output directory, if one was supplied.
44
707
 
45
708
    * If the option 'post_commit' is set to one (or more) python function
46
709
      names (must be in the bzrlib namespace), then they will be invoked
47
710
      after the commit has completed, with the branch and revision_id as
48
711
      parameters. (Robert Collins)
49
712
 
 
713
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
714
 
 
715
    * --merge-type weave is now supported for file contents.  Tree-shape
 
716
      changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
717
 
 
718
    * 'bzr check' allows the first revision on revision-history to have
 
719
      parents - something that is expected for cheap checkouts, and occurs
 
720
      when conversions from baz do not have all history.  (Robert Collins).
 
721
 
 
722
   * 'bzr merge' can now graft unrelated trees together, if your specify
 
723
     0 as a base. (Aaron Bentley)
 
724
 
 
725
   * 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
726
     (Aaron Bentley)
 
727
 
 
728
    * Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
729
 
 
730
   * 'bzr merge --reprocess' minimizes conflicts
 
731
 
50
732
  TESTING:
51
733
 
52
734
    * The 'bzr selftest --pattern' option for has been removed, now 
57
739
      complete, which will aid in analysing performance regressions and
58
740
      related questions. (Robert Collins)
59
741
 
60
 
    * 'bzr selftest' runs all tests, even if one feels, unless '--one'
 
742
    * 'bzr selftest' runs all tests, even if one fails, unless '--one'
61
743
      is given. (Martin Pool)
62
744
 
63
745
    * There is a new method for TestCaseInTempDir, assertFileEqual, which
64
746
      will check that a given content is equal to the content of the named
65
747
      file. (Robert Collins)
66
748
 
 
749
    * Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
750
      (Martin Pool)
 
751
 
67
752
  INTERNALS:
68
753
 
69
754
    * New 'testament' command and concept for making gpg-signatures 
113
798
      which allows direct access to the common case of 'get me this file
114
799
      from its branch'. (Robert Collins)
115
800
 
 
801
    * Transports can register using register_lazy_transport, and they 
 
802
      will be loaded when first used.  (Martin Pool)
 
803
 
116
804
    * 'pull' has been factored out of the command as WorkingTree.pull().
117
805
      A new option to WorkingTree.pull has been added, clobber, which will
118
806
      ignore diverged history and pull anyway.
146
834
    * Transports can register using register_lazy_transport, and they 
147
835
      will be loaded when first used.  (Martin Pool)
148
836
 
 
837
    * 'merge_flex' no longer calls conflict_handler.finalize(), instead that
 
838
      is called by merge_inner. This is so that the conflict count can be 
 
839
      retrieved (and potentially manipulated) before returning to the caller
 
840
      of merge_inner. Likewise 'merge' now returns the conflict count to the
 
841
      caller. (Robert Collins)
 
842
 
 
843
    * 'revision.revision_graph can handle having only partial history for
 
844
      a revision - that is no revisions in the graph with no parents.
 
845
      (Robert Collins).
 
846
 
 
847
    * New builtins.branch_files uses the standard file_list rules to produce
 
848
      a branch and a list of paths, relative to that branch (Aaron Bentley)
 
849
 
 
850
    * New TestCase.addCleanup facility.
 
851
 
 
852
    * New bzrlib.version_info tuple (similar to sys.version_info), which can
 
853
      be used by programs importing bzrlib.
 
854
 
149
855
  BUG FIXES:
150
856
 
151
857
    * Better handling of branches in directories with non-ascii names. 
152
858
      (Joel Rosdahl, Panagiotis Papadakos)
153
859
 
 
860
    * Upgrades of trees with no commits will not fail due to accessing
 
861
      [-1] in the revision-history. (Andres Salomon)
 
862
 
 
863
 
154
864
bzr 0.1.1 2005-10-12
155
865
 
156
866
  BUG FIXES: