~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

[merge] aaron, various fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
development head
2
 
 
3
 
  INTERNALS:
4
 
 
5
 
    * Refactor xml packing/unpacking.
 
1
UNRELEASED CHANGES
 
2
 
 
3
  IMPROVEMENTS:
 
4
 
 
5
    * "bzr INIT dir" now initializes the specified directory, and creates 
 
6
      it if it does not exist.  (John Arbash Meinel)
 
7
 
 
8
    * New remerge command (Aaron Bentley)
 
9
 
 
10
    * Better zsh completion script.  (Steve Borho)
 
11
 
 
12
    * 'bzr diff' now returns 1 when there are changes in the working 
 
13
      tree. (Robert Collins)
 
14
 
 
15
    * 'bzr push' now exists and can push changes to a remote location. 
 
16
      This uses the transport infrastructure, and can store the remote
 
17
      location in the ~/.bazaar/branches.conf configuration file.
 
18
      (Robert Collins)
 
19
 
 
20
    * Test directories are only kept if the test fails and the user requests
 
21
      that they be kept.
 
22
 
 
23
    * Tweaks to short log printing
 
24
 
 
25
    * Added branch nicks, new nick command, printing them in log output
 
26
 
 
27
  BUG FIXES:
 
28
 
 
29
    * SFTP can walk up to the root path without index errors. (Robert Collins)
 
30
 
 
31
    * Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
32
 
 
33
    * Error when run with -OO
 
34
 
 
35
    * Fix bug in reporting http errors that don't have an http error code.
 
36
      (Martin Pool)
 
37
 
 
38
    * Handle more cases of pipe errors in display commands
 
39
 
 
40
    * Change status to 3 for all errors
 
41
 
 
42
    * Files that are added and unlinked before committing are completely
 
43
      ignored by diff and status
 
44
 
 
45
  TESTING:
 
46
 
 
47
    * Fix selftest asking for passwords when there are no SFTP keys.  
 
48
      (Robey Pointer, Jelmer Vernooij) 
 
49
 
 
50
    * Fix selftest run with 'python -O'.  (Martin Pool)
 
51
 
 
52
  INTERNALS:
 
53
 
 
54
    * WorkingTree.pull has been split across Branch and WorkingTree,
 
55
      to allow Branch only pulls. (Robert Collins)
 
56
 
 
57
    * commands.display_command now returns the result of the decorated 
 
58
      function. (Robert Collins)
 
59
 
 
60
    * LocationConfig now has a set_user_option(key, value) call to save
 
61
      a setting in its matching location section (a new one is created
 
62
      if needed). (Robert Collins)
 
63
 
 
64
    * Branch has two new methods, get_push_location and set_push_location
 
65
      to respectively, get and set the push location. (Robert Collins)
 
66
 
 
67
    * commands.register_command now takes an optional flag to signal that
 
68
      the registrant is planning to decorate an existing command. When 
 
69
      given multiple plugins registering a command is not an error, and
 
70
      the original command class (whether built in or a plugin based one) is
 
71
      returned to the caller. There is a new error 'MustUseDecorated' for
 
72
      signalling when a wrapping command should switch to the original
 
73
      version. (Robert Collins)
 
74
 
 
75
    * Some option parsing errors will raise 'BzrOptionError', allowing 
 
76
      granular detection for decorating commands. (Robert Collins).
 
77
 
 
78
    * Branch.read_working_inventory has moved to
 
79
      WorkingTree.read_working_inventory. This necessitated changes to
 
80
      Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
 
81
      as well. To make it clear that a WorkingTree cannot always be obtained
 
82
      Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
 
83
      be obtained. (Robert Collins)
 
84
 
 
85
bzr 0.6 2005-10-28
 
86
 
 
87
  IMPROVEMENTS:
 
88
  
 
89
    * merge now takes a --show-base option to include the base text in
 
90
      conflicts.
 
91
      (Aaron Bentley)
 
92
 
 
93
    * The config files are now read using ConfigObj, so '=' should be used as
 
94
      a separator, not ':'.
 
95
      (Aaron Bentley)
 
96
 
 
97
    * New 'bzr commit --strict' option refuses to commit if there are 
 
98
      any unknown files in the tree.  To commit, make sure all files are 
 
99
      either ignored, added, or deleted.  (Michael Ellerman)
 
100
 
 
101
    * The config directory is now ~/.bazaar, and there is a single file 
 
102
      ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
103
      (Robert Collins)
 
104
 
 
105
    * 'bzr add' no longer takes a --verbose option, and a --quiet option
 
106
      has been added that suppresses all output.
 
107
 
 
108
    * Improved zsh completion support in contrib/zsh, from Clint
 
109
      Adams.
 
110
 
 
111
    * Builtin 'bzr annotate' command, by Martin Pool with improvements from 
 
112
      Goffredo Baroncelli.
 
113
    
 
114
    * 'bzr check' now accepts -v for verbose reporting, and checks for
 
115
      ghosts in the branch. (Robert Collins)
 
116
 
 
117
    * New command 're-sign' which will regenerate the gpg signature for 
 
118
      a revision. (Robert Collins)
 
119
 
 
120
    * If you set check_signatures=require for a path in 
 
121
      ~/.bazaar/branches.conf then bzr will invoke your
 
122
      gpg_signing_command (defaults to gpg) and record a digital signature
 
123
      of your commit. (Robert Collins)
 
124
 
 
125
    * New sftp transport, based on Paramiko.  (Robey Pointer)
 
126
 
 
127
    * 'bzr pull' now accepts '--clobber' which will discard local changes
 
128
      and make this branch identical to the source branch. (Robert Collins)
 
129
 
 
130
    * Just give a quieter warning if a plugin can't be loaded, and 
 
131
      put the details in .bzr.log.  (Martin Pool)
 
132
 
 
133
    * 'bzr branch' will now set the branch-name to the last component of the
 
134
      output directory, if one was supplied.
 
135
 
 
136
    * If the option 'post_commit' is set to one (or more) python function
 
137
      names (must be in the bzrlib namespace), then they will be invoked
 
138
      after the commit has completed, with the branch and revision_id as
 
139
      parameters. (Robert Collins)
 
140
 
 
141
    * Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
142
 
 
143
    * --merge-type weave is now supported for file contents.  Tree-shape
 
144
      changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
145
 
 
146
    * 'bzr check' allows the first revision on revision-history to have
 
147
      parents - something that is expected for cheap checkouts, and occurs
 
148
      when conversions from baz do not have all history.  (Robert Collins).
 
149
 
 
150
   * 'bzr merge' can now graft unrelated trees together, if your specify
 
151
     0 as a base. (Aaron Bentley)
 
152
 
 
153
   * 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
154
     (Aaron Bentley)
 
155
 
 
156
    * Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
157
 
 
158
   * 'bzr merge --reprocess' minimizes conflicts
 
159
 
 
160
  TESTING:
 
161
 
 
162
    * The 'bzr selftest --pattern' option for has been removed, now 
 
163
      test specifiers on the command line can be simple strings, or 
 
164
      regexps, or both. (Robert Collins)
 
165
 
 
166
    * Passing -v to selftest will now show the time each test took to 
 
167
      complete, which will aid in analysing performance regressions and
 
168
      related questions. (Robert Collins)
 
169
 
 
170
    * 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
171
      is given. (Martin Pool)
 
172
 
 
173
    * There is a new method for TestCaseInTempDir, assertFileEqual, which
 
174
      will check that a given content is equal to the content of the named
 
175
      file. (Robert Collins)
 
176
 
 
177
    * Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
178
      (Martin Pool)
 
179
 
 
180
  INTERNALS:
 
181
 
 
182
    * New 'testament' command and concept for making gpg-signatures 
 
183
      of revisions that are not tied to a particular internal
 
184
      representation.  (Martin Pool).
 
185
 
 
186
    * Per-revision properties ('revprops') as key-value associated 
 
187
      strings on each revision created when the revision is committed.
 
188
      Intended mainly for the use of external tools.  (Martin Pool).
 
189
 
 
190
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
191
      (Robert Collins)
 
192
 
 
193
    * Improved command line option definitions allowing explanations
 
194
      for individual options, among other things.  Contributed by 
 
195
      Magnus Therning.
 
196
 
 
197
    * Config options have moved from bzrlib.osutils to bzrlib.config.
 
198
      Configuration is now done via the config.Config interface:
 
199
      Depending on whether you have a Branch, a Location or no information
 
200
      available, construct a *Config, and use its signature_checking,
 
201
      username and user_email methods. (Robert Collins)
 
202
 
 
203
    * Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
204
      they are made available for other plugins to use. You should not 
 
205
      import other plugins during the __init__ of your plugin though, as 
 
206
      no ordering is guaranteed, and the plugins directory is not on the
 
207
      python path. (Robert Collins)
 
208
 
 
209
    * Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
210
      no longer takes an inventory, rather it takes an option branch
 
211
      parameter, and if None is given will open the branch at basedir 
 
212
      implicitly. (Robert Collins)
 
213
 
 
214
    * Cleaner exception structure and error reporting.  Suggested by 
 
215
      Scott James Remnant.  (Martin Pool)
 
216
 
 
217
    * Branch.remove has been moved to WorkingTree, which has also gained
 
218
      lock_read, lock_write and unlock methods for convenience. (Robert
 
219
      Collins)
 
220
 
 
221
    * Two decorators, needs_read_lock and needs_write_lock have been added
 
222
      to the branch module. Use these to cause a function to run in a
 
223
      read or write lock respectively. (Robert Collins)
 
224
 
 
225
    * Branch.open_containing now returns a tuple (Branch, relative-path),
 
226
      which allows direct access to the common case of 'get me this file
 
227
      from its branch'. (Robert Collins)
 
228
 
 
229
    * Transports can register using register_lazy_transport, and they 
 
230
      will be loaded when first used.  (Martin Pool)
 
231
 
 
232
    * 'pull' has been factored out of the command as WorkingTree.pull().
 
233
      A new option to WorkingTree.pull has been added, clobber, which will
 
234
      ignore diverged history and pull anyway.
 
235
      (Robert Collins)
 
236
 
 
237
    * config.Config has a 'get_user_option' call that accepts an option name.
 
238
      This will be looked up in branches.conf and bazaar.conf as normal.
 
239
      It is intended that this be used by plugins to support options - 
 
240
      options of built in programs should have specific methods on the config.
 
241
      (Robert Collins)
 
242
 
 
243
    * merge.merge_inner now has tempdir as an optional parameter. (Robert
 
244
      Collins)
 
245
 
 
246
    * Tree.kind is not recorded at the top level of the hierarchy, as it was
 
247
      missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
248
      (Robert Collins)
 
249
 
 
250
    * WorkingTree.__del__ has been removed, it was non deterministic and not 
 
251
      doing what it was intended to. See WorkingTree.__init__ for a comment
 
252
      about future directions. (Robert Collins/Martin Pool)
 
253
 
 
254
    * bzrlib.transport.http has been modified so that only 404 urllib errors
 
255
      are returned as NoSuchFile. Other exceptions will propogate as normal.
 
256
      This allows debuging of actual errors. (Robert Collins)
 
257
 
 
258
    * bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
259
      to apis like 'put', 'get' and 'has'. This is to provide consistent
 
260
      behaviour - it operates on url's only. (Robert Collins)
 
261
 
 
262
    * Transports can register using register_lazy_transport, and they 
 
263
      will be loaded when first used.  (Martin Pool)
 
264
 
 
265
    * 'merge_flex' no longer calls conflict_handler.finalize(), instead that
 
266
      is called by merge_inner. This is so that the conflict count can be 
 
267
      retrieved (and potentially manipulated) before returning to the caller
 
268
      of merge_inner. Likewise 'merge' now returns the conflict count to the
 
269
      caller. (Robert Collins)
 
270
 
 
271
    * 'revision.revision_graph can handle having only partial history for
 
272
      a revision - that is no revisions in the graph with no parents.
 
273
      (Robert Collins).
 
274
 
 
275
    * New builtins.branch_files uses the standard file_list rules to produce
 
276
      a branch and a list of paths, relative to that branch (Aaron Bentley)
 
277
 
 
278
    * New TestCase.addCleanup facility.
 
279
 
 
280
    * New bzrlib.version_info tuple (similar to sys.version_info), which can
 
281
      be used by programs importing bzrlib.
 
282
 
 
283
  BUG FIXES:
 
284
 
 
285
    * Better handling of branches in directories with non-ascii names. 
 
286
      (Joel Rosdahl, Panagiotis Papadakos)
 
287
 
 
288
    * Upgrades of trees with no commits will not fail due to accessing
 
289
      [-1] in the revision-history. (Andres Salomon)
 
290
 
 
291
 
 
292
bzr 0.1.1 2005-10-12
 
293
 
 
294
  BUG FIXES:
 
295
 
 
296
    * Fix problem in pulling over http from machines that do not 
 
297
      allow directories to be listed.
 
298
 
 
299
    * Avoid harmless warning about invalid hash cache after 
 
300
      upgrading branch format.
 
301
 
 
302
  PERFORMANCE: 
 
303
  
 
304
    * Avoid some unnecessary http operations in branch and pull.
 
305
 
 
306
 
 
307
bzr 0.1 2005-10-11
 
308
 
 
309
  NOTES:
 
310
 
 
311
    * 'bzr branch' over http initially gives a very high estimate
 
312
      of completion time but it should fall as the first few 
 
313
      revisions are pulled in.  branch is still slow on 
 
314
      high-latency connections.
 
315
 
 
316
  BUG FIXES:
 
317
  
 
318
    * bzr-man.py has been updated to work again. Contributed by
 
319
      Rob Weir.
 
320
 
 
321
    * Locking is now done with fcntl.lockf which works with NFS
 
322
      file systems. Contributed by Harald Meland.
 
323
 
 
324
    * When a merge encounters a file that has been deleted on
 
325
      one side and modified on the other, the old contents are
 
326
      written out to foo.BASE and foo.SIDE, where SIDE is this
 
327
      or OTHER. Contributed by Aaron Bentley.
 
328
 
 
329
    * Export was choosing incorrect file paths for the content of
 
330
      the tarball, this has been fixed by Aaron Bentley.
 
331
 
 
332
    * Commit will no longer commit without a log message, an 
 
333
      error is returned instead. Contributed by Jelmer Vernooij.
 
334
 
 
335
    * If you commit a specific file in a sub directory, any of its
 
336
      parent directories that are added but not listed will be 
 
337
      automatically included. Suggested by Michael Ellerman.
 
338
 
 
339
    * bzr commit and upgrade did not correctly record new revisions
 
340
      for files with only a change to their executable status.
 
341
      bzr will correct this when it encounters it. Fixed by
 
342
      Robert Collins
 
343
 
 
344
    * HTTP tests now force off the use of http_proxy for the duration.
 
345
      Contributed by Gustavo Niemeyer.
 
346
 
 
347
    * Fix problems in merging weave-based branches that have 
 
348
      different partial views of history.
 
349
 
 
350
    * Symlink support: working with symlinks when not in the root of a 
 
351
      bzr tree was broken, patch from Scott James Remnant.
 
352
 
 
353
 
 
354
  IMPROVEMENTS:
 
355
 
 
356
    * 'branch' now accepts a --basis parameter which will take advantage
 
357
      of local history when making a new branch. This allows faster 
 
358
      branching of remote branches. Contributed by Aaron Bentley.
 
359
 
 
360
    * New tree format based on weave files, called version 5.
 
361
      Existing branches can be upgraded to this format using 
 
362
      'bzr upgrade'.
 
363
 
 
364
    * Symlinks are now versionable. Initial patch by 
 
365
      Erik Toubro Nielsen, updated to head by Robert Collins.
 
366
 
 
367
    * Executable bits are tracked on files. Patch from Gustavo
 
368
      Niemeyer.
 
369
 
 
370
    * 'bzr status' now shows unknown files inside a selected directory.
 
371
      Patch from Heikki Paajanen.
 
372
 
 
373
    * Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
374
      and 'resolve' have needed added, which list and remove those 
 
375
      merge conflicts respectively. A conflicted tree cannot be committed
 
376
      in. Contributed by Aaron Bentley.
 
377
 
 
378
    * 'rm' is now an alias for 'remove'.
 
379
 
 
380
    * Stores now split out their content in a single byte prefixed hash,
 
381
      dropping the density of files per directory by 256. Contributed by
 
382
      Gustavo Niemeyer.
 
383
 
 
384
    * 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
385
      Contributed by Robert Collins.
 
386
 
 
387
    * 'bzr log' with the default formatter will show merged revisions,
 
388
      indented to the right. Initial implementation contributed by Gustavo
 
389
      Niemeyer, made incremental by Robert Collins.
 
390
 
 
391
 
 
392
  INTERNALS:
 
393
 
 
394
    * Test case failures have the exception printed after the log 
 
395
      for your viewing pleasure.
 
396
 
 
397
    * InventoryEntry is now an abstract base class, use one of the
 
398
      concrete InventoryDirectory etc classes instead.
 
399
 
 
400
    * Branch raises an UnsupportedFormatError when it detects a 
 
401
      bzr branch it cannot understand. This allows for precise
 
402
      handling of such circumstances.
 
403
 
 
404
 
 
405
  TESTING:
 
406
 
 
407
    * Removed testsweet module so that tests can be run after 
 
408
      bzr installed by 'bzr selftest'.
 
409
 
 
410
    * 'bzr selftest' command-line arguments can now be partial ids
 
411
      of tests to run, e.g. 'bzr selftest test_weave'
 
412
 
 
413
      
 
414
bzr 0.0.9 2005-09-23
 
415
 
 
416
  BUG FIXES:
 
417
 
 
418
    * Fixed "branch -r" option.
 
419
 
 
420
    * Fix remote access to branches containing non-compressed history.
 
421
      (Robert Collins).
 
422
 
 
423
    * Better reliability of http server tests.  (John Arbash-Meinel)
 
424
 
 
425
    * Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
426
   
 
427
    * Various minor bug in windows support have been fixed, largely in the
 
428
      test suite. Contributed by Alexander Belchenko.
 
429
 
 
430
  IMPROVEMENTS:
 
431
 
 
432
    * Status now accepts a -r argument to give status between chosen
 
433
      revisions. Contributed by Heikki Paajanen.
 
434
 
 
435
    * Revision arguments no longer use +/-/= to control ranges, instead
 
436
      there is a 'before' namespace, which limits the successive namespace.
 
437
      For example '$ bzr log -r date:yesterday..before:date:today' will
 
438
      select everything from yesterday and before today. Contributed by
 
439
      Robey Pointer
 
440
 
 
441
    * There is now a bzr.bat file created by distutils when building on 
 
442
      Windows. Contributed by Alexander Belchenko.
 
443
 
 
444
  INTERNALS:
 
445
 
 
446
    * Removed uuid() as it was unused.
6
447
 
7
448
    * Improved 'fetch' code for pulling revisions from one branch into
8
449
      another (used by pull, merged, etc.)
9
450
 
10
451
 
11
 
  CHANGES:
12
 
 
13
 
    * New tree format based on weave files, called version 5.
14
 
 
15
 
 
16
 
  API:
17
 
 
18
 
    * New method-object style interface for Commit() and Fetch().
19
 
 
20
 
    * Renamed Branch.last_patch() to Branch.last_revision(), since
21
 
      we call them revisions not patches.
22
 
  
 
452
bzr 0.0.8 2005-09-20
 
453
 
 
454
  IMPROVEMENTS:
 
455
 
 
456
    * Adding a file whose parent directory is not versioned will
 
457
      implicitly add the parent, and so on up to the root. This means
 
458
      you should never need to explictly add a directory, they'll just
 
459
      get added when you add a file in the directory.  Contributed by
 
460
      Michael Ellerman.
 
461
 
 
462
    * Ignore .DS_Store (contains Mac metadata) by default.  Patch from
 
463
      Nir Soffer.
 
464
 
 
465
    * If you set BZR_EDITOR in the environment, it is checked in
 
466
      preference to EDITOR and the config file for the interactive commit
 
467
      editing program. Related to this is a bugfix where a missing program
 
468
      set in EDITOR would cause editing to fail, now the fallback program
 
469
      for the operating system is still tried.
 
470
 
 
471
    * Files that are not directories/symlinks/regular files will no longer
 
472
      cause bzr to fail, it will just ignore them by default. You cannot add
 
473
      them to the tree though - they are not versionable.
 
474
 
 
475
 
 
476
  INTERNALS:
 
477
 
 
478
    * Refactor xml packing/unpacking.
 
479
 
 
480
  BUG FIXES: 
 
481
 
 
482
    * Fixed 'bzr mv' by Ollie Rutherfurd.
 
483
 
 
484
    * Fixed strange error when trying to access a nonexistent http
 
485
      branch.
 
486
 
 
487
    * Make sure that the hashcache gets written out if it can't be
 
488
      read.
 
489
 
 
490
 
 
491
  PORTABILITY:
 
492
 
 
493
    * Various Windows fixes from Ollie Rutherfurd.
 
494
 
 
495
    * Quieten warnings about locking; patch from Matt Lavin.
23
496
 
24
497
 
25
498
bzr-0.0.7 2005-09-02