~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Robert Collins
  • Date: 2005-10-06 05:13:21 UTC
  • mfrom: (1393.3.3)
  • Revision ID: robertc@robertcollins.net-20051006051321-88f1053c3bf1ca4a
merge in an adjusted version of Jelmer's empty-log detection patch.

Show diffs side-by-side

added added

removed removed

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