~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/release-notes/bzr-2.4.txt

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-06-30 18:28:17 UTC
  • mfrom: (5967.10.2 test-cat)
  • Revision ID: pqm@pqm.ubuntu.com-20110630182817-83a5q9r9rxfkdn8r
(mbp) don't use subprocesses for testing cat (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. toctree::
6
6
   :maxdepth: 1
7
7
 
8
 
bzr 2.4.3
9
 
#########
10
 
 
11
 
:2.4.3: NOT RELEASED YET
12
 
 
13
 
External Compatibility Breaks
14
 
*****************************
15
 
 
16
 
.. These may require users to change the way they use Bazaar.
17
 
 
18
 
New Features
19
 
************
20
 
 
21
 
.. New commands, options, etc that users may wish to try out.
22
 
 
23
 
Improvements
24
 
************
25
 
 
26
 
.. Improvements to existing commands, especially improved performance 
27
 
   or memory usage, or better results.
28
 
 
29
 
Bug Fixes
30
 
*********
31
 
 
32
 
.. Fixes for situations where bzr would previously crash or give incorrect
33
 
   or undesirable results.
34
 
 
35
 
* Cope with Unix filesystems, such as smbfs, where chmod gives 'permission
36
 
  denied'.  (Martin Pool, #606537)
37
 
 
38
 
* During merges, when two entries end up using the same path for two
39
 
  different file-ids (the same file being 'bzr added' in two different
40
 
  branches) , 'duplicate' conflicts are created instead of 'content'
41
 
  ones. This was previously leading to a 'Malformed tramsform' exception.
42
 
  (Vincent Ladeuil, #880701)
43
 
 
44
 
* Fix a traceback when trying to checkout a tree that also has an entry
45
 
  with file-id `TREE_ROOT` somewhere other than at the root directory.
46
 
  (John Arbash Meinel, #830947)
47
 
 
48
 
* Handle when an uncommit/update tries to add a file to an otherwise empty
49
 
  directory. The ``Dirstate.update_basis_by_delta`` would end up
50
 
  incorrectly flagging the delta as invalid. (Brian de Alwis, #855155)
51
 
 
52
 
* 'Malformed transform' exceptions are now recognized as internal errors
53
 
  instead of user errors and report a traceback. This will reduce user
54
 
  confusion as there is generally nothing users can do about them.
55
 
  (Vincent Ladeuil, #880701)
56
 
 
57
 
* Prevent a traceback being printed to stderr when logging has problems and
58
 
  accept utf-8 byte string without breaking. (Martin Packman, #714449)
59
 
 
60
 
* Some filesystems give ``EOPNOTSUPP`` when trying to call ``fdatasync``.
61
 
  This shouldn't be treated as a fatal error.
62
 
  (John Arbash Meinel, #1075108)
63
 
 
64
 
* Teach the bzr client how to reconnect if we get ``ConnectionReset``
65
 
  while making an RPC request. This doesn't handle all possible network
66
 
  disconnects, but it should at least handle when the server is asked to
67
 
  shutdown gracefully. This is a backport of the functionality in bzr-2.5.
68
 
  (John Arbash Meinel, #819604)
69
 
 
70
 
* Use ``encoding_type='exact'`` for ``bzr testament`` so that on Windows
71
 
  the sha hash of the long testament matches the sha hash in the short
72
 
  form. (John Arbash Meinel, #1010339)
73
 
 
74
 
* When the ``limbo`` or ``pending-deletion`` directories exist, typically
75
 
  because of an interrupted tree update, but are empty, bzr no longer
76
 
  errors out, because there is nothing for the user to clean up.  Also,
77
 
  errors in creation of these directories are no longer squelched.
78
 
  (Martin Pool, #427773)
79
 
 
80
 
* _Win32Stat object provides members st_uid and st_gid, those are present
81
 
  in Python's os.stat object. These members required for external tools like
82
 
  bzr-git and dulwich. (Alexander Belchenko, #967060)
83
 
 
84
 
Documentation
85
 
*************
86
 
 
87
 
.. Improved or updated documentation.
88
 
 
89
 
API Changes
90
 
***********
91
 
 
92
 
.. Changes that may require updates in plugins or other code that uses
93
 
   bzrlib.
94
 
 
95
 
Internals
96
 
*********
97
 
 
98
 
.. Major internal changes, unlikely to be visible to users or plugin 
99
 
   developers, but interesting for bzr developers.
100
 
 
101
 
Testing
102
 
*******
103
 
 
104
 
.. Fixes and changes that are only relevant to bzr's test framework and 
105
 
   suite.  This can include new facilities for writing tests, fixes to 
106
 
   spurious test failures and changes to the way things should be tested.
107
 
 
108
 
* Account for slightly improved compression with newer versions of zlib in
109
 
  ``bt.test_btree_index`` tests. (Martin Packman, #940453)
110
 
 
111
 
 
112
 
bzr 2.4.2
113
 
#########
114
 
 
115
 
:2.4.2: 2011-10-27
116
 
 
117
 
This is a bugfix release. Most of the bugs dealt with portability
118
 
issues. Upgrading is recommended for all users of earlier 2.4 releases.
119
 
 
120
 
External Compatibility Breaks
121
 
*****************************
122
 
 
123
 
None.
124
 
 
125
 
New Features
126
 
************
127
 
 
128
 
None.
129
 
 
130
 
Improvements
131
 
************
132
 
 
133
 
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
134
 
  every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
135
 
 
136
 
Bug Fixes
137
 
*********
138
 
 
139
 
* Fixed an infinite loop when creating a repo at the root of the filesystem,
140
 
  i.e. "/", due to posixpath.normpath() not collapsing 2 leading slashes into
141
 
  one, thus respecting the POSIX standard, but making relpath() loop infinitely.
142
 
  (Florian Vichot, #861008)
143
 
 
144
 
* Fixed loading of external merge tools from config to properly decode
145
 
  command-lines which contain embedded quotes. (Gordon Tyler, #828803)
146
 
 
147
 
* Include declaration of 'changed' to avoid an UnboundLocalError in dirstate
148
 
  pyrex code with new Cython versions. (Denys Duchier, #837221)
149
 
 
150
 
* Prevent several kinds of OverflowError and other fallout from failing to fit
151
 
  stat fields into four bytes in dirstate pack_stat implementations.
152
 
  (Martin Packman, #683191 #706957)
153
 
 
154
 
* Return early from create_delta_index_from_delta given tiny inputs. This
155
 
  avoids raising a spurious MemoryError on certain platforms such as AIX.
156
 
  (John Arbash Meinel, #856731)
157
 
  
158
 
Documentation
159
 
*************
160
 
 
161
 
* Corrected documentation for ``bzr serve`` in the Admin Guide.
162
 
  (Morten Bøgeskov, Martin Pool, #832576)
163
 
 
164
 
API Changes
165
 
***********
166
 
 
167
 
None.
168
 
 
169
 
Internals
170
 
*********
171
 
 
172
 
No changes.
173
 
 
174
 
Testing
175
 
*******
176
 
 
177
 
* Accept both old and new style testtools output in selftest tests.
178
 
  (Jelmer Vernooij, Martin Packman, #815423)
179
 
 
180
 
* Fix the race for TestingThreadingTCPServer in
181
 
  test_server_crash_while_responding. (Vincent Ladeuil, #869366)
182
 
 
183
 
* Really corrupt the pack file without depending on a special length or value.
184
 
  (Vincent Ladeuil, #807032)
185
 
 
186
 
 
187
 
bzr 2.4.1
188
 
#########
189
 
 
190
 
:2.4.1: 2011-09-08
191
 
 
192
 
This is a bugfix release. Upgrading is recommended for all users of earlier
193
 
2.4 releases.
194
 
 
195
 
It includes fixes from previous stable releases and address some issues with
196
 
the test suite.
197
 
 
198
 
 
199
 
External Compatibility Breaks
200
 
*****************************
201
 
 
202
 
.. These may require users to change the way they use Bazaar.
203
 
 
204
 
New Features
205
 
************
206
 
 
207
 
.. New commands, options, etc that users may wish to try out.
208
 
 
209
 
Improvements
210
 
************
211
 
 
212
 
.. Improvements to existing commands, especially improved performance 
213
 
   or memory usage, or better results.
214
 
 
215
 
Bug Fixes
216
 
*********
217
 
 
218
 
.. Fixes for situations where bzr would previously crash or give incorrect
219
 
   or undesirable results.
220
 
 
221
 
* ``config.LocationMatcher`` properly excludes unrelated sections.
222
 
  (Vincent Ladeuil, #829237)
223
 
 
224
 
* ``dirstate.fdatasync`` and ``repository.fdatasync`` can now properly be
225
 
  disabled. (Vincent Ladeuil, #824513)
226
 
 
227
 
* Disable ``os.fsync`` and ``os.fdatasync`` by default when running
228
 
  ``bzr selftest``. You can use ``--sync`` to re-enable them.
229
 
  (John Arbash Meinel, #837293)
230
 
 
231
 
* Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
232
 
 
233
 
* Avoid UnicodeDecode error when reporting EINVAL from transports.
234
 
  (IWATA Hidetaka, #829237)
235
 
 
236
 
Documentation
237
 
*************
238
 
 
239
 
.. Improved or updated documentation.
240
 
 
241
 
* Corrected documentation for BZR_PROGRESS_BAR. 
242
 
  (Dennis Benzinger, #735417)
243
 
 
244
 
API Changes
245
 
***********
246
 
 
247
 
.. Changes that may require updates in plugins or other code that uses
248
 
   bzrlib.
249
 
 
250
 
Internals
251
 
*********
252
 
 
253
 
.. Major internal changes, unlikely to be visible to users or plugin 
254
 
   developers, but interesting for bzr developers.
255
 
 
256
 
Testing
257
 
*******
258
 
 
259
 
.. Fixes and changes that are only relevant to bzr's test framework and 
260
 
   suite.  This can include new facilities for writing tests, fixes to 
261
 
   spurious test failures and changes to the way things should be tested.
262
 
 
263
 
* The test suite should now be able to run under weird environments where
264
 
  ``/etc/passwd`` doesn't contain the ``uid`` for the user running selftest
265
 
  or where ``fakeroot`` is used but ``/root`` is inacessible.
266
 
  (Vincent Ladeuil, #825027)
267
 
 
268
 
bzr 2.4.0
269
 
#########
270
 
 
271
 
:2.4.0: 2011-08-11
272
 
 
273
 
This release marks the start of a new long-term-stable series. From here, we
274
 
will only make bugfix releases on the 2.4 series (2.4.1, etc, and support it
275
 
until February 2013), while 2.5 will become our new development series.
276
 
 
277
 
This is a bugfix and polish release over the 2.3 series, with a large number
278
 
of bugs fixed (>150 for the 2.4 series alone), and some performance
279
 
improvements. Support for python 2.4 and 2.5 has been dropped, many large
280
 
working tree operations have been optimized as well as some stacked branches
281
 
operations.
282
 
 
283
 
Only bugfixes from other stables series have been included since 2.4b5 so
284
 
all known fixed bugs are included here.
285
 
 
286
 
Users are encouraged to upgrade from the other stable series.
287
 
 
288
 
 
289
 
External Compatibility Breaks
290
 
*****************************
291
 
 
292
 
.. These may require users to change the way they use Bazaar.
293
 
 
294
 
New Features
295
 
************
296
 
 
297
 
.. New commands, options, etc that users may wish to try out.
298
 
 
299
 
Improvements
300
 
************
301
 
 
302
 
.. Improvements to existing commands, especially improved performance 
303
 
   or memory usage, or better results.
304
 
 
305
 
Bug Fixes
306
 
*********
307
 
 
308
 
.. Fixes for situations where bzr would previously crash or give incorrect
309
 
   or undesirable results.
310
 
 
311
 
* A call to CHKInventory's filter-method will not result in a
312
 
  DuplicateFileId error, if you move a subfolder and change a file in
313
 
  that subfolder.
314
 
  (Bastian Bowe, #809901)
315
 
 
316
 
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
317
 
  checks to see if the most recent published source package version for
318
 
  that project is present in the branch tags. This should help developers
319
 
  trust whether the packaging branch is up-to-date and can be used for new
320
 
  changes. The level of verbosity is controlled by the config item
321
 
  ``launchpad.packaging_verbosity``. It can be set to one of
322
 
 
323
 
  off
324
 
    disable all checks
325
 
 
326
 
 
327
 
  minimal
328
 
    only display if the branch is out-of-date
329
 
 
330
 
  short
331
 
    also display single-line up-to-date and missing,
332
 
 
333
 
 
334
 
  all
335
 
    (default) display multi-line content for all states
336
 
 
337
 
 
338
 
  (John Arbash Meinel, #609187, #812928)
339
 
 
340
 
* Cope with not all Python versions having a ``clear`` method on
341
 
  ``TestCase._type_equality_funcs``.
342
 
  (Martin [gz], Jelmer Vernooij, #809048)
343
 
 
344
 
* Fetching tags when fetching the tip revision of a branch is now
345
 
  controlled by the config setting ``branch.fetch_tags``. The behavior has
346
 
  been reverted to 2.3's not-fetching tagged revisions by default.
347
 
  (John Arbash Meinel, #771184)
348
 
 
349
 
* The fix for bug #513709 caused us to open a new connection when
350
 
  switching a lightweight checkout that was pointing at a bound branch.
351
 
  This isn't necessary because we know the master URL without opening it,
352
 
  avoiding an extra SSH connection, etc.
353
 
  (John Arbash Meinel, #812285)
354
 
 
355
 
 
356
 
Documentation
357
 
*************
358
 
 
359
 
.. Improved or updated documentation.
360
 
 
361
 
API Changes
362
 
***********
363
 
 
364
 
.. Changes that may require updates in plugins or other code that uses
365
 
   bzrlib.
366
 
 
367
 
Internals
368
 
*********
369
 
 
370
 
.. Major internal changes, unlikely to be visible to users or plugin 
371
 
   developers, but interesting for bzr developers.
372
 
 
373
 
Testing
374
 
*******
375
 
 
376
 
.. Fixes and changes that are only relevant to bzr's test framework and 
377
 
   suite.  This can include new facilities for writing tests, fixes to 
378
 
   spurious test failures and changes to the way things should be tested.
379
 
 
380
 
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
381
 
  cleanly and reliably allows tests using `BranchBuilder` to construct
382
 
  branches that e.g. rename files out of a directory and unversion that
383
 
  directory in the same revision.  Previously some changes were impossible
384
 
  due to the order that `build_snapshot` performs its actions.
385
 
  (Andrew Bennetts)
386
 
 
387
 
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
388
 
  just compares the bytes in the dirstate file to its pristine state,
389
 
  rather than opening the WorkingTree and calling ``last_revision()``.
390
 
  This reduces the overall test suite time by about 10% on my laptop.
391
 
  (Andrew Bennetts)
392
 
 
393
 
 
394
8
bzr 2.4b5
395
9
#########
396
10
 
397
 
:2.4b5: 2011-07-07
398
 
 
399
 
This is the fifth (and last) beta of the 2.4 series leading to
400
 
2.4.0 release in August 2011. Beta releases are suitable for
401
 
everyday use but may cause some incompatibilities with plugins.
402
 
 
403
 
This release includes all bug fixed in previous series known at
404
 
the time of this release.
 
11
:2.4b5: NOT RELEASED YET
405
12
 
406
13
External Compatibility Breaks
407
14
*****************************
408
15
 
409
 
None.
 
16
.. These may require users to change the way they use Bazaar.
410
17
 
411
18
New Features
412
19
************
413
20
 
 
21
.. New commands, options, etc that users may wish to try out.
 
22
 
414
23
* New command ``verify-signatures`` to check if all commits or specified commits
415
24
  have digital signatures from trusted keys.  Requires python-gpgme to be
416
25
  installed.
426
35
Improvements
427
36
************
428
37
 
 
38
.. Improvements to existing commands, especially improved performance 
 
39
   or memory usage, or better results.
 
40
 
429
41
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
430
42
  (Andrew Bennetts).
431
43
 
432
 
* Pack, dirstate, and index files are synced to persistent storage if 
433
 
  possible when writing finishes, to reduce the risk of problems caused by
434
 
  a machine crash or similar problem.  This can be turned off through the
435
 
  ``dirstate.fdatasync`` and ``repository.fdatasync`` options, which can
436
 
  be set in ``locations.conf`` or ``bazaar.conf``.  (Martin Pool,
437
 
  #343427)
438
 
 
439
44
Bug Fixes
440
45
*********
441
46
 
442
47
* Display a proper error message when a config file content cannot be
443
48
  decoded as UTF-8 or when it cannot be parsed.
444
 
  (Vincent Ladeuil, #502060, #688677, #797246)
 
49
  (Vincent Ladeuil, #502060, #688677, #792246)
445
50
 
446
51
* Generate a single conflict (instead of two) when merging a branch
447
52
  modifying and renaming a file in a branch that deleted it (or vice-versa).
448
53
  (Vincent Ladeuil, #688101)
449
54
 
450
 
* Give a more helpful message when the bzr executable doesn't match the
451
 
  library.  (This typically happens because of a misconfigured PYTHONPATH
452
 
  or half-installed bzr.)  
453
 
  (Martin Pool, #804553)
454
 
 
455
55
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
456
56
 
457
57
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
460
60
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
461
61
  is present. (Jelmer Vernooij, #801257)
462
62
 
 
63
.. Fixes for situations where bzr would previously crash or give incorrect
 
64
   or undesirable results.
 
65
 
 
66
Documentation
 
67
*************
 
68
 
 
69
.. Improved or updated documentation.
 
70
 
463
71
API Changes
464
72
***********
465
73
 
 
74
.. Changes that may require updates in plugins or other code that uses
 
75
   bzrlib.
 
76
 
466
77
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
467
78
  ``RepositoryFormat.supports_versioned_directories``.
468
79
  (Jelmer Vernooij, #765815)
469
80
 
470
 
* The "revno" field type when using the python version-info format is now
471
 
  a string (to handle dotted revnos) (Benoît Pierre, #796259)
472
 
 
473
81
Internals
474
82
*********
475
83
 
 
84
.. Major internal changes, unlikely to be visible to users or plugin 
 
85
   developers, but interesting for bzr developers.
 
86
 
476
87
* Start implementing localization, starting with command help text (but not
477
88
  the command options themselves). This will allow bootstrapping the bzr
478
89
  internationalization process. (Inada Naoki)
480
91
Testing
481
92
*******
482
93
 
 
94
.. Fixes and changes that are only relevant to bzr's test framework and 
 
95
   suite.  This can include new facilities for writing tests, fixes to 
 
96
   spurious test failures and changes to the way things should be tested.
 
97
 
483
98
* Fix test failures when running as a homeless user (debian buildd). Tests
484
99
  leaking into ``${HOME}/.bzr.log`` should be detected properly now.
485
100
  (Vincent Ladeuil, #798698)
519
134
  exception caused while running bzr serve.
520
135
  (Jonathan Riddell, #274578)
521
136
 
 
137
 
522
138
* New hook set_commit_message in bzrlib.msgeditor to set a commit message
523
139
  and revision properties.  (Jonathan Riddell, #274578)
524
140
 
547
163
  ``True``.
548
164
  (Martin Pool, #220464)
549
165
 
550
 
* ``bzr version-info`` now works when the tree is on a dotted revno.
551
 
  (Benoît Pierre, #796259)
552
 
 
553
166
* Credentials in the log output produced by ``-Dhttp`` are masked so users
554
167
  can more freely post them in bug reports. (Vincent Ladeuil, #723074)
555
168
 
573
186
  because ``build_mo`` became a required step that they didn't know about.
574
187
  (John Arbash Meinel, #787122)
575
188
 
576
 
* Preserve existing ``root-id`` when merging an unrelated branch.
577
 
  (Aaron Bentley, #806356)
578
 
 
579
189
* Properly avoid re-adding a file after it changes case on CICP
580
190
  filesystems. (John Arbash Meinel, #798130)
581
191
 
582
192
* Reports the original error when an InvalidHttpResponse exception is
583
193
  encountered to facilitate debug. (Vincent Ladeuil, #788530)
584
194
 
585
 
* Reports a non-existent file error when trying to merge in a file
 
195
* Reports a non-existant file error when trying to merge in a file
586
196
  that does not exist. (Jonathan Riddell, #330063)
587
197
 
588
198
* ``UIFactory.prompt``, ``UIFactory.get_username``,
664
274
  (Vincent Ladeuil, #787942)
665
275
 
666
276
* Re-target ``bb.test_merge.TestMerge.test_merge_reversed_revision_range``
667
 
  and rewrite it as a parametrized test to avoid unrelated failures.
 
277
  and rewrite it as a parameterized test to avoid unrelated failures.
668
278
  (Vincent Ladeuil, #795456)
669
279
 
670
280
* Show log file contents from subprocesses started by
672
282
  strange hangs and failures involving subprocesses.  (Andrew Bennetts)
673
283
 
674
284
* Skip ``utextwrap`` tests when ``sphinx`` breaks text_wrap by an hostile
675
 
  monkey-patch to textwrap.TextWrapper.wordsep_re.
 
285
  monkeypatch to textwrap.TextWrapper.wordsep_re.
676
286
  (Vincent Ladeuil, #785098)
677
287
 
678
288
* Multiple ``selftest --exclude`` options are now combined instead of
1361
971
  by catching them so they can be re-raised in the controlling thread. It's
1362
972
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
1363
973
 
1364
 
* Correctly propagate malloc failures from diff-delta.c code as MemoryError
 
974
* Correctly propogate malloc failures from diff-delta.c code as MemoryError
1365
975
  so OOM conditions during groupcompress are clearly reported. This entailed a
1366
976
  change to several function signatures. (Martin [gz], #633336)
1367
977