~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Aaron Bentley
  • Date: 2006-09-26 13:28:39 UTC
  • mto: This revision was merged to the branch mainline in revision 2048.
  • Revision ID: abentley@panoramicfeedback.com-20060926132839-cee32159ab268eeb
Changes from review

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
  IMPROVEMENTS:
4
4
 
 
5
    * Knit files now wait to create their contents until the first data is
 
6
      added. The old code used to create an empty .knit and a .kndx with just
 
7
      the header. However, this caused a lot of extra round trips over sftp.
 
8
      This can change the time for ``bzr push`` to create a new remote branch
 
9
      from 160s down to 100s. This also affects ``bzr commit`` performance when
 
10
      adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
11
      down to 40s (John Arbash Meinel, #44692)
 
12
 
 
13
    * When an entire subtree has been deleted, commit will now report that
 
14
      just the top of the subtree has been deleted, rather than reporting
 
15
      all the individual items. (Robert Collins)
 
16
 
 
17
    * Commit performs one less XML parse. (Robert Collins)
 
18
 
 
19
    * ``bzr checkout`` now operates on readonly branches as well
 
20
      as readwrite branches. This fixes bug #39542. (Robert Collins)
 
21
 
 
22
    * ``bzr bind`` no longer synchronises history with the master branch.
 
23
      Binding should be followed by an update or push to synchronise the 
 
24
      two branches. This is closely related to the fix for bug #39542.
 
25
      (Robert Collins)
 
26
 
 
27
    * ``bzrlib.lazy_import.lazy_import`` function to create on-demand 
 
28
      objects.  This allows all imports to stay at the global scope, but
 
29
      modules will not actually be imported if they are not used.
 
30
      (John Arbash Meinel)
 
31
 
 
32
    * Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
 
33
      transport which will be used with the upcoming high-performance smart
 
34
      server. The new command ``bzr serve`` will invoke bzr in server mode,
 
35
      which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
36
      Pool)
 
37
 
 
38
    * New command ``bzr version-info`` which can be used to get a summary
 
39
      of the current state of the tree. This is especially useful as part
 
40
      of a build commands. See ``doc/version_info.txt`` for more information 
 
41
      (John Arbash Meinel)
 
42
 
 
43
  BUG FIXES:
 
44
 
 
45
    * Transform._set_mode() needs to stat the right file. 
 
46
      (John Arbash Meinel, #56549)
 
47
 
 
48
    * Raise WeaveFormatError rather than StopIteration when trying to read
 
49
      an empty Weave file. (John Arbash Meinel, #46871)
 
50
 
 
51
    * Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
52
      (Vincent Ladeuil, #59835)
 
53
 
 
54
    * Handle boundary="" lines properly to allow access through a Squid proxy.
 
55
      (John Arbash Meinel, #57723)
 
56
 
 
57
    * revert now removes newly-added directories (Aaron Bentley, #54172)
 
58
 
 
59
    * ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there 
 
60
      isn't a working tree. (David Allouche, #40679)
 
61
 
 
62
    * Give nicer error messages when a user supplies an invalid --revision
 
63
      parameter. (John Arbash Meinel, #55420)
 
64
 
 
65
    * Handle when LANG is not recognized by python. Emit a warning, but
 
66
      just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
67
 
 
68
    * Don't use preexec_fn on win32, as it is not supported by subprocess.
 
69
      (John Arbash Meinel)
 
70
 
 
71
    * Skip specific tests when the dependencies aren't met. This includes
 
72
      some ``setup.py`` tests when ``python-dev`` is not available, and
 
73
      some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
74
 
 
75
    * Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
76
      the system. (Andrew Bennetts, John Arbash Meinel)
 
77
 
 
78
    * ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
79
      other branch, and will not push or pull between the two branches.
 
80
      API users will need to perform a push or pull or update operation if they
 
81
      require branch synchronisation to take place. (Robert Collins, #47344)
 
82
 
 
83
    * When creating a tarball or zipfile export, export unicode names as utf-8
 
84
      paths. This may not work perfectly on all platforms, but has the best
 
85
      chance of working in the common case. (John Arbash Meinel, #56816)
 
86
 
 
87
  INTERNALS:
 
88
 
 
89
    * TestCaseInTempDir now creates a separate directory for HOME, rather
 
90
      than having HOME set to the same location as the working directory.
 
91
      (John Arbash Meinel)
 
92
 
 
93
    * run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
 
94
      which will update os.environ inside the spawned child. It also can
 
95
      take a 'universal_newlines=True', which helps when checking the output
 
96
      of the command. (John Arbash Meinel)
 
97
 
 
98
    * Refactor SFTP vendors to allow easier re-use when ssh is used. 
 
99
      (Andrew Bennetts)
 
100
 
 
101
    * Transport.list_dir() and Transport.iter_files_recursive() should always
 
102
      return urlescaped paths. This is now tested (there were bugs in a few
 
103
      of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
104
 
 
105
    * New utility function symbol_versioning.deprecation_string. Returns the
 
106
      formatted string for a callable, deprecation format pair. (Robert Collins)
 
107
 
 
108
    * New TestCase helper applyDeprecated. This allows you to call a callable
 
109
      which is deprecated without it spewing to the screen, just by supplying
 
110
      the deprecation format string issued for it. (Robert Collins)
 
111
 
 
112
    * Transport.append and Transport.put have been deprecated in favor of
 
113
      .append_bytes, .append_file, .put_bytes, and .put_file. This removes the
 
114
      ambiguity in what type of object the functions take.
 
115
      Transport.non_atomic_put_{bytes,file} has also been added. Which works
 
116
      similarly to Transport.append() except for SFTP, it doesn't have a round
 
117
      trip when opening the file. Also, it provides functionality for creating
 
118
      a parent directory when trying to create a file, rather than raise
 
119
      NoSuchFile and forcing the caller to repeat their request.
 
120
      (John Arbash Meinel)
 
121
 
 
122
    * WorkingTree has a new api ``unversion`` which allow the unversioning of
 
123
      entries by their file id. (Robert Collins)
 
124
 
 
125
    * WorkingTree.pending_merges is deprecated.  Please use the get_parent_ids
 
126
      (introduced in 0.10) method instead. (Robert Collins)
 
127
 
 
128
    * WorkingTree has a new lock_tree_write method which locks the branch for
 
129
      read rather than write. This is appropriate for actions which only need
 
130
      the branch data for reference rather than mutation. A new decorator
 
131
      needs_tree_write_lock is provided in the workingtree module. Like the
 
132
      needs_read_lock and needs_write_lock decorators this allows static 
 
133
      declaration of the locking requirements of a function to ensure that
 
134
      a lock is taken out for casual scripts. (Robert Collins)
 
135
 
 
136
    * All WorkingTree methods which write to the tree, but not to the branch
 
137
      have been converted to use ``needs_tree_write_lock`` rather than 
 
138
      ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
139
      transform modules. This provides a modest performance improvement on 
 
140
      metadir style trees, due to the reduce lock-acquisition, and a more
 
141
      significant performance improvement on lightweight checkouts from 
 
142
      remote branches, where trivial operations used to pay a significant 
 
143
      penalty. It also provides the basis for allowing readonly checkouts.
 
144
      (Robert Collins)
 
145
 
 
146
    * Special case importing the standard library 'copy' module. This shaves
 
147
      off 40ms of startup time, while retaining compatibility. See:
 
148
      ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
149
 
 
150
    * WorkingTree has a new parent class MutableTree which represents the 
 
151
      specialisations of Tree which are able to be altered. (Robert Collins)
 
152
 
 
153
    * New methods mkdir and put_file_bytes_non_atomic on MutableTree that
 
154
      mutate the tree and its contents. (Robert Collins)
 
155
 
 
156
    * Transport behaviour at the root of the URL is now defined and tested.
 
157
      (Andrew Bennetts, Robert Collins)
 
158
 
 
159
  TESTING:
 
160
 
 
161
    * New test helper classs MemoryTree. This is typically accessed via
 
162
      ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
163
      
 
164
    * Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
 
165
      continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
 
166
      Robert Collins)
 
167
 
 
168
    * Add a new method ``Transport.get_smart_client()``. This is provided to
 
169
      allow upgrades to a richer interface than the VFS one provided by
 
170
      Transport. (Andrew Bennetts, Martin Pool)
 
171
 
 
172
bzr 0.10  2006-08-29
 
173
  
 
174
  IMPROVEMENTS:
 
175
    * 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
176
      tree.  (Aaron Bentley)
 
177
  
 
178
    * 'bzr add --file-ids-from' can be used to specify another path to use
 
179
      for creating file ids, rather than generating all new ones. Internally,
 
180
      the 'action' passed to smart_add_tree() can return file_ids that
 
181
      will be used, rather than having bzrlib generate new ones.
 
182
      (John Arbash Meinel, #55781)
 
183
 
 
184
    * ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
185
      This will cache some of the intermediate trees, and decrease the
 
186
      setup time for benchmark tests. (John Arbash Meinel)
 
187
 
 
188
    * Inverse forms are provided for all boolean options.  For example,
 
189
      --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
190
 
 
191
    * Serialize out Inventories directly, rather than using ElementTree.
 
192
      Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
193
      (Robert Collins, John Arbash Meinel)
 
194
 
 
195
  BUG FIXES:
 
196
 
 
197
    * Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
198
 
 
199
    * Change LockDir so that if the lock directory doesn't exist when
 
200
      lock_write() is called, an attempt will be made to create it.
 
201
      (John Arbash Meinel, #56974)
 
202
 
 
203
    * ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
204
 
 
205
    * Active FTP transport now works as intended. (ghozzy, #56472)
 
206
 
 
207
    * Really fix mutter() so that it won't ever raise a UnicodeError.
 
208
      It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
209
      But it is a debugging log, not a real user file.
 
210
      (John Arbash Meinel, #56947, #53880)
 
211
 
 
212
    * Change Command handle to allow Unicode command and options.
 
213
      At present we cannot register Unicode command names, so we will get
 
214
      BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
215
      But that is better than a UnicodeError + a traceback.
 
216
      (John Arbash Meinel, #57123)
 
217
 
 
218
    * Handle TZ=UTC properly when reading/writing revisions.
 
219
      (John Arbash Meinel, #55783, #56290)
 
220
 
 
221
    * Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
 
222
      (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
223
 
 
224
    * External diff does the right thing for binaries even in foreign 
 
225
      languages. (John Arbash Meinel, #56307)
 
226
 
 
227
    * Testament handles more cases when content is unicode. Specific bug was
 
228
      in handling of revision properties. (John Arbash Meinel, Holger Krekel,
 
229
      #54723)
 
230
 
 
231
    * The bzr selftest was failing on installed versions due to a bug in a new
 
232
      test helper. (John Arbash Meinel, Robert Collins, #58057)
 
233
 
 
234
  INTERNALS:
 
235
 
 
236
    * ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
237
      which can be used to cache the conversion between utf8 and Unicode.
 
238
      Especially helpful for some of the knit annotation code, which has to
 
239
      convert revision ids to utf8 to annotate lines in storage.
 
240
      (John Arbash Meinel)
 
241
 
 
242
    * ``setup.py`` now searches the filesystem to find all packages which
 
243
      need to be installed. This should help make the life of packagers
 
244
      easier. (John Arbash Meinel)
 
245
 
 
246
bzr 0.9.0  2006-08-11
 
247
 
 
248
  SURPRISES:
 
249
 
 
250
   * The hard-coded built-in ignore rules have been removed. There are
 
251
     now two rulesets which are enforced. A user global one in 
 
252
     ~/.bazaar/ignore which will apply to every tree, and the tree
 
253
     specific one '.bzrignore'.
 
254
     ~/.bazaar/ignore will be created if it does not exist, but with
 
255
     a more conservative list than the old default.
 
256
     This fixes bugs with default rules being enforced no matter what. 
 
257
     The old list of ignore rules from bzr is available by
 
258
     running 'bzr ignore --old-default-rules'.
 
259
     (Robert Collins, Martin Pool, John Arbash Meinel)
 
260
 
 
261
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
 
262
     to more locations than just branch locations.
 
263
     (Aaron Bentley)
 
264
   
 
265
  IMPROVEMENTS:
 
266
 
5
267
   * The revision specifier "revno:" is extended to accept the syntax
6
268
     revno:N:branch. For example,
7
269
     revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
8
270
     bzr.dev.  (Matthieu Moy)
9
271
 
10
 
   * No default ignore rules are applied by bzr - only the rules in .bzrignore
11
 
     are considered. This fixes bugs with default rules being enforced no
12
 
     matter what. The old list of ignore rules from bzr is available by
13
 
     running 'bzr ignore --old-default-rules'.
14
 
 
15
272
   * Tests updates to ensure proper URL handling, UNICODE support, and
16
273
     proper printing when the user's terminal encoding cannot display 
17
274
     the path of a file that has been versioned.
38
295
   * 'bzr selftest' now shows a progress bar with the number of tests, and 
39
296
     progress made. 'make check' shows tests in -v mode, to be more useful
40
297
     for the PQM status window. (Robert Collins).
 
298
     When using a progress bar, failed tests are printed out, rather than
 
299
     being overwritten by the progress bar until the suite finishes.
 
300
     (John Arbash Meinel)
41
301
 
42
302
   * 'bzr selftest --benchmark' will run a new benchmarking selftest.
43
303
     'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
71
331
     the same way you would apply another branch.
72
332
     (John Arbash Meinel, Aaron Bentley)
73
333
  
74
 
   * 'branches.conf' has been changed to 'locations.conf', since it can apply
75
 
     to more locations than just branch locations.
76
 
     (Aaron Bentley)
77
 
   
78
334
   * 'bzr whoami' can now be used to set your identity from the command line,
79
335
     for a branch or globally.  (Robey Pointer)
80
336
 
101
357
     were removed. So it is safe to uncommit after a merge, fix something,
102
358
     and commit again. (John Arbash Meinel, #32526, #31426)
103
359
 
 
360
   * 'bzr init' now also works on remote locations.
 
361
     (Wouter van Heyst, #48904)
 
362
 
 
363
   * HTTP support has been updated. When using pycurl we now support 
 
364
     connection keep-alive, which reduces dns requests and round trips.
 
365
     And for both urllib and pycurl we support multi-range requests, 
 
366
     which decreases the number of round-trips. Performance results for
 
367
     ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
368
     http branching is now 2-3x faster, and ``bzr pull`` in an existing 
 
369
     branch is as much as 4x faster.
 
370
     (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
371
 
 
372
   * Performance improvements for sftp. Branching and pulling are now up to
 
373
     2x faster. Utilize paramiko.readv() support for async requests if it
 
374
     is available (paramiko > 1.6) (John Arbash Meinel)
 
375
 
104
376
  BUG FIXES:
105
377
 
106
378
    * Fix shadowed definition of TestLocationConfig that caused some 
157
429
    * smart-add recurses through all supplied directories 
158
430
      (John Arbash Meinel, #52578)
159
431
 
 
432
    * Make the bundle reader extra lines before and after the bundle text.
 
433
      This allows you to parse an email with the bundle inline.
 
434
      (John Arbash Meinel, #49182)
 
435
 
 
436
    * Change the file id generator to squash a little bit more. Helps when
 
437
      working with long filenames on windows. (Also helps for unicode filenames
 
438
      not generating hidden files). (John Arbash Meinel, #43801)
 
439
 
 
440
    * Restore terminal mode on C-c while reading sftp password.  (#48923, 
 
441
      Nicholas Allen, Martin Pool)
 
442
 
 
443
    * Timestamps are rounded to 1ms, and revision entries can be recreated
 
444
      exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
445
 
 
446
    * Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
447
      use local paths, since it is user visible (John Arbash Meinel, #53653)
 
448
 
 
449
    * ``bzr status foo`` when foo was unversioned used to cause a full delta
 
450
      to be generated (John Arbash Meinel, #53638)
 
451
 
 
452
    * When reading revision properties, an empty value should be considered
 
453
      the empty string, not None (John Arbash Meinel, #47782)
 
454
 
 
455
    * ``bzr diff --diff-options`` can now handle binary files being changed.
 
456
      Also, the output is consistent when --diff-options is not supplied.
 
457
      (John Arbash Meinel, #54651, #52930)
 
458
 
 
459
    * Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
460
 
 
461
    * Fix Branch.get_parent() to handle the case when the parent is not 
 
462
      accessible (John Arbash Meinel, #52976)
 
463
 
160
464
  INTERNALS:
161
465
 
162
466
    * Combine the ignore rules into a single regex rather than looping over
163
467
      them to reduce the threshold where  N^2 behaviour occurs in operations
164
468
      like status. (Jan Hudec, Robert Collins).
165
469
 
 
470
    * Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
 
471
      one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
472
 
166
473
    * 'bzr push' should only push the ancestry of the current revision, not
167
474
      all of the history in the repository. This is especially important for
168
475
      shared repositories. (John Arbash Meinel)
194
501
      importer to log time to import modules and regex compilation time to 
195
502
      sys.stderr (John Arbash Meinel)
196
503
 
 
504
    * 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
 
505
      instead. (Robert Collins)
 
506
 
 
507
    * "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
508
 
197
509
bzr 0.8.2  2006-05-17
198
510
  
199
511
  BUG FIXES:
1058
1370
    * Symlink support: working with symlinks when not in the root of a 
1059
1371
      bzr tree was broken, patch from Scott James Remnant.
1060
1372
 
1061
 
 
1062
1373
  IMPROVEMENTS:
1063
1374
 
1064
1375
    * 'branch' now accepts a --basis parameter which will take advantage