~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Aaron Bentley
  • Date: 2006-08-08 06:47:16 UTC
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1922.
  • Revision ID: aaron.bentley@utoronto.ca-20060808064716-75bc465292c2708f
Ensure root entry always has a revision

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