~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: John Arbash Meinel
  • Date: 2006-10-11 00:23:23 UTC
  • mfrom: (2070 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2071.
  • Revision ID: john@arbash-meinel.com-20061011002323-82ba88c293d7caff
[merge] bzr.dev 2070

Show diffs side-by-side

added added

removed removed

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