~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2011-10-14 16:54:26 UTC
  • mfrom: (6216.1.1 remove-this-file)
  • Revision ID: pqm@pqm.ubuntu.com-20111014165426-tjix4e6idryf1r2z
(jelmer) Remove an accidentally committed .THIS file. (Jelmer Vernooij)

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.2
 
9
#########
 
10
 
 
11
:2.4.2: 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
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
 
30
  every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
 
31
 
 
32
Bug Fixes
 
33
*********
 
34
 
 
35
* Fixed an infinite loop when creating a repo at the root of the filesystem, 
 
36
  i.e. "/", due to posixpath.normpath() not collapsing 2 leading slashes into 
 
37
  one, thus respecting the POSIX standard, but making relpath() loop infinitely.
 
38
  (Florian Vichot, #861008)
 
39
 
 
40
* Fixed loading of external merge tools from config to properly decode
 
41
  command-lines which contain embedded quotes. (Gordon Tyler, #828803)
 
42
 
 
43
* Include declaration of 'changed' to avoid an UnboundLocalError in dirstate
 
44
  pyrex code with new Cython versions. (Denys Duchier, #837221)
 
45
 
 
46
* Prevent several kinds of OverflowError and other fallout from failing to fit
 
47
  stat fields into four bytes in dirstate pack_stat implementations.
 
48
  (Martin Packman, #683191 #706957)
 
49
 
 
50
* Return early from create_delta_index_from_delta given tiny inputs. This
 
51
  avoids raising a spurious MemoryError on certain platforms such as AIX.
 
52
  (John Arbash Meinel, #856731)
 
53
  
 
54
Documentation
 
55
*************
 
56
 
 
57
.. Improved or updated documentation.
 
58
 
 
59
API Changes
 
60
***********
 
61
 
 
62
.. Changes that may require updates in plugins or other code that uses
 
63
   bzrlib.
 
64
 
 
65
Internals
 
66
*********
 
67
 
 
68
.. Major internal changes, unlikely to be visible to users or plugin 
 
69
   developers, but interesting for bzr developers.
 
70
 
 
71
Testing
 
72
*******
 
73
 
 
74
.. Fixes and changes that are only relevant to bzr's test framework and 
 
75
   suite.  This can include new facilities for writing tests, fixes to 
 
76
   spurious test failures and changes to the way things should be tested.
 
77
 
 
78
* Fix the race for TestingThreadingTCPServer in
 
79
  test_server_crash_while_responding. (Vincent Ladeuil, #869366)
 
80
 
 
81
* Really corrupt the pack file without depending on a special length or value.
 
82
  (Vincent Ladeuil, #807032)
 
83
 
 
84
 
 
85
bzr 2.4.1
 
86
#########
 
87
 
 
88
:2.4.1: 2011-09-08
 
89
 
 
90
This is a bugfix release. Upgrading is recommended for all users of earlier
 
91
2.4 releases.
 
92
 
 
93
It includes fixes from previous stable releases and address some issues with
 
94
the test suite.
 
95
 
 
96
 
 
97
External Compatibility Breaks
 
98
*****************************
 
99
 
 
100
.. These may require users to change the way they use Bazaar.
 
101
 
 
102
New Features
 
103
************
 
104
 
 
105
.. New commands, options, etc that users may wish to try out.
 
106
 
 
107
Improvements
 
108
************
 
109
 
 
110
.. Improvements to existing commands, especially improved performance 
 
111
   or memory usage, or better results.
 
112
 
 
113
Bug Fixes
 
114
*********
 
115
 
 
116
.. Fixes for situations where bzr would previously crash or give incorrect
 
117
   or undesirable results.
 
118
 
 
119
* ``config.LocationMatcher`` properly excludes unrelated sections.
 
120
  (Vincent Ladeuil, #829237)
 
121
 
 
122
* ``dirstate.fdatasync`` and ``repository.fdatasync`` can now properly be
 
123
  disabled. (Vincent Ladeuil, #824513)
 
124
 
 
125
* Disable ``os.fsync`` and ``os.fdatasync`` by default when running
 
126
  ``bzr selftest``. You can use ``--sync`` to re-enable them.
 
127
  (John Arbash Meinel, #837293)
 
128
 
 
129
* Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
 
130
 
 
131
* Avoid UnicodeDecode error when reporting EINVAL from transports.
 
132
  (IWATA Hidetaka, #829237)
 
133
 
 
134
Documentation
 
135
*************
 
136
 
 
137
.. Improved or updated documentation.
 
138
 
 
139
* Corrected documentation for BZR_PROGRESS_BAR. 
 
140
  (Dennis Benzinger, #735417)
 
141
 
 
142
API Changes
 
143
***********
 
144
 
 
145
.. Changes that may require updates in plugins or other code that uses
 
146
   bzrlib.
 
147
 
 
148
Internals
 
149
*********
 
150
 
 
151
.. Major internal changes, unlikely to be visible to users or plugin 
 
152
   developers, but interesting for bzr developers.
 
153
 
 
154
Testing
 
155
*******
 
156
 
 
157
.. Fixes and changes that are only relevant to bzr's test framework and 
 
158
   suite.  This can include new facilities for writing tests, fixes to 
 
159
   spurious test failures and changes to the way things should be tested.
 
160
 
 
161
* The test suite should now be able to run under weird environments where
 
162
  ``/etc/passwd`` doesn't contain the ``uid`` for the user running selftest
 
163
  or where ``fakeroot`` is used but ``/root`` is inacessible.
 
164
  (Vincent Ladeuil, #825027)
 
165
 
 
166
bzr 2.4.0
 
167
#########
 
168
 
 
169
:2.4.0: 2011-08-11
 
170
 
 
171
This release marks the start of a new long-term-stable series. From here, we
 
172
will only make bugfix releases on the 2.4 series (2.4.1, etc, and support it
 
173
until February 2013), while 2.5 will become our new development series.
 
174
 
 
175
This is a bugfix and polish release over the 2.3 series, with a large number
 
176
of bugs fixed (>150 for the 2.4 series alone), and some performance
 
177
improvements. Support for python 2.4 and 2.5 has been dropped, many large
 
178
working tree operations have been optimized as well as some stacked branches
 
179
operations.
 
180
 
 
181
Only bugfixes from other stables series have been included since 2.4b5 so
 
182
all known fixed bugs are included here.
 
183
 
 
184
Users are encouraged to upgrade from the other stable series.
 
185
 
 
186
 
 
187
External Compatibility Breaks
 
188
*****************************
 
189
 
 
190
.. These may require users to change the way they use Bazaar.
 
191
 
 
192
New Features
 
193
************
 
194
 
 
195
.. New commands, options, etc that users may wish to try out.
 
196
 
 
197
Improvements
 
198
************
 
199
 
 
200
.. Improvements to existing commands, especially improved performance 
 
201
   or memory usage, or better results.
 
202
 
 
203
Bug Fixes
 
204
*********
 
205
 
 
206
.. Fixes for situations where bzr would previously crash or give incorrect
 
207
   or undesirable results.
 
208
 
 
209
* A call to CHKInventory's filter-method will not result in a
 
210
  DuplicateFileId error, if you move a subfolder and change a file in
 
211
  that subfolder.
 
212
  (Bastian Bowe, #809901)
 
213
 
 
214
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
 
215
  checks to see if the most recent published source package version for
 
216
  that project is present in the branch tags. This should help developers
 
217
  trust whether the packaging branch is up-to-date and can be used for new
 
218
  changes. The level of verbosity is controlled by the config item
 
219
  ``launchpad.packaging_verbosity``. It can be set to one of
 
220
 
 
221
  off
 
222
    disable all checks
 
223
 
 
224
 
 
225
  minimal
 
226
    only display if the branch is out-of-date
 
227
 
 
228
  short
 
229
    also display single-line up-to-date and missing,
 
230
 
 
231
 
 
232
  all
 
233
    (default) display multi-line content for all states
 
234
 
 
235
 
 
236
  (John Arbash Meinel, #609187, #812928)
 
237
 
 
238
* Cope with not all Python versions having a ``clear`` method on
 
239
  ``TestCase._type_equality_funcs``.
 
240
  (Martin [gz], Jelmer Vernooij, #809048)
 
241
 
 
242
* Fetching tags when fetching the tip revision of a branch is now
 
243
  controlled by the config setting ``branch.fetch_tags``. The behavior has
 
244
  been reverted to 2.3's not-fetching tagged revisions by default.
 
245
  (John Arbash Meinel, #771184)
 
246
 
 
247
* The fix for bug #513709 caused us to open a new connection when
 
248
  switching a lightweight checkout that was pointing at a bound branch.
 
249
  This isn't necessary because we know the master URL without opening it,
 
250
  avoiding an extra SSH connection, etc.
 
251
  (John Arbash Meinel, #812285)
 
252
 
 
253
 
 
254
Documentation
 
255
*************
 
256
 
 
257
.. Improved or updated documentation.
 
258
 
 
259
API Changes
 
260
***********
 
261
 
 
262
.. Changes that may require updates in plugins or other code that uses
 
263
   bzrlib.
 
264
 
 
265
Internals
 
266
*********
 
267
 
 
268
.. Major internal changes, unlikely to be visible to users or plugin 
 
269
   developers, but interesting for bzr developers.
 
270
 
 
271
Testing
 
272
*******
 
273
 
 
274
.. Fixes and changes that are only relevant to bzr's test framework and 
 
275
   suite.  This can include new facilities for writing tests, fixes to 
 
276
   spurious test failures and changes to the way things should be tested.
 
277
 
 
278
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
 
279
  cleanly and reliably allows tests using `BranchBuilder` to construct
 
280
  branches that e.g. rename files out of a directory and unversion that
 
281
  directory in the same revision.  Previously some changes were impossible
 
282
  due to the order that `build_snapshot` performs its actions.
 
283
  (Andrew Bennetts)
 
284
 
 
285
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
 
286
  just compares the bytes in the dirstate file to its pristine state,
 
287
  rather than opening the WorkingTree and calling ``last_revision()``.
 
288
  This reduces the overall test suite time by about 10% on my laptop.
 
289
  (Andrew Bennetts)
 
290
 
 
291
 
8
292
bzr 2.4b5
9
293
#########
10
294
 
11
 
:2.4b5: NOT RELEASED YET
 
295
:2.4b5: 2011-07-07
 
296
 
 
297
This is the fifth (and last) beta of the 2.4 series leading to
 
298
2.4.0 release in August 2011. Beta releases are suitable for
 
299
everyday use but may cause some incompatibilities with plugins.
 
300
 
 
301
This release includes all bug fixed in previous series known at
 
302
the time of this release.
12
303
 
13
304
External Compatibility Breaks
14
305
*****************************
15
306
 
16
 
.. These may require users to change the way they use Bazaar.
 
307
None.
17
308
 
18
309
New Features
19
310
************
20
311
 
21
 
.. New commands, options, etc that users may wish to try out.
 
312
* New command ``verify-signatures`` to check if all commits or specified commits
 
313
  have digital signatures from trusted keys.  Requires python-gpgme to be
 
314
  installed.
 
315
 
 
316
* New option ``--signatures`` for ``bzr log`` to display digital signature
 
317
  verification results for each commit.
 
318
 
 
319
* Config option acceptable_keys to list which GPG keys are verified as trusted.
 
320
 
 
321
* Config option validate_signatures_in_log to always show signatures in 
 
322
  ``bzr log``.
22
323
 
23
324
Improvements
24
325
************
25
326
 
26
 
.. Improvements to existing commands, especially improved performance 
27
 
   or memory usage, or better results.
 
327
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
 
328
  (Andrew Bennetts).
 
329
 
 
330
* Pack, dirstate, and index files are synced to persistent storage if 
 
331
  possible when writing finishes, to reduce the risk of problems caused by
 
332
  a machine crash or similar problem.  This can be turned off through the
 
333
  ``dirstate.fdatasync`` and ``repository.fdatasync`` options, which can
 
334
  be set in ``locations.conf`` or ``bazaar.conf``.  (Martin Pool,
 
335
  #343427)
28
336
 
29
337
Bug Fixes
30
338
*********
31
339
 
32
340
* Display a proper error message when a config file content cannot be
33
341
  decoded as UTF-8 or when it cannot be parsed.
34
 
  (Vincent Ladeuil, #502060, #688677, #792246)
 
342
  (Vincent Ladeuil, #502060, #688677, #797246)
 
343
 
 
344
* Generate a single conflict (instead of two) when merging a branch
 
345
  modifying and renaming a file in a branch that deleted it (or vice-versa).
 
346
  (Vincent Ladeuil, #688101)
 
347
 
 
348
* Give a more helpful message when the bzr executable doesn't match the
 
349
  library.  (This typically happens because of a misconfigured PYTHONPATH
 
350
  or half-installed bzr.)  
 
351
  (Martin Pool, #804553)
35
352
 
36
353
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
37
354
 
38
355
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
39
356
  keys rather than ids. (Jelmer Vernooij, #799677)
40
357
 
41
 
.. Fixes for situations where bzr would previously crash or give incorrect
42
 
   or undesirable results.
43
 
 
44
 
Documentation
45
 
*************
46
 
 
47
 
.. Improved or updated documentation.
 
358
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
 
359
  is present. (Jelmer Vernooij, #801257)
48
360
 
49
361
API Changes
50
362
***********
51
363
 
52
 
.. Changes that may require updates in plugins or other code that uses
53
 
   bzrlib.
 
364
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
 
365
  ``RepositoryFormat.supports_versioned_directories``.
 
366
  (Jelmer Vernooij, #765815)
 
367
 
 
368
* The "revno" field type when using the python version-info format is now
 
369
  a string (to handle dotted revnos) (Benoît Pierre, #796259)
54
370
 
55
371
Internals
56
372
*********
57
373
 
58
 
.. Major internal changes, unlikely to be visible to users or plugin 
59
 
   developers, but interesting for bzr developers.
 
374
* Start implementing localization, starting with command help text (but not
 
375
  the command options themselves). This will allow bootstrapping the bzr
 
376
  internationalization process. (Inada Naoki)
60
377
 
61
378
Testing
62
379
*******
63
380
 
64
 
.. Fixes and changes that are only relevant to bzr's test framework and 
65
 
   suite.  This can include new facilities for writing tests, fixes to 
66
 
   spurious test failures and changes to the way things should be tested.
67
 
 
68
381
* Fix test failures when running as a homeless user (debian buildd). Tests
69
382
  leaking into ``${HOME}/.bzr.log`` should be detected properly now.
70
383
  (Vincent Ladeuil, #798698)
104
417
  exception caused while running bzr serve.
105
418
  (Jonathan Riddell, #274578)
106
419
 
107
 
 
108
 
* New hook set_commit_message in bzrlib.msgeditor to set
109
 
  a commit message and revision properties.  (Jonathan Riddell,
110
 
  #274578)
 
420
* New hook set_commit_message in bzrlib.msgeditor to set a commit message
 
421
  and revision properties.  (Jonathan Riddell, #274578)
111
422
 
112
423
* Support ``-S`` as an alias for ``--short`` for the ``log`` and
113
424
  ``missing`` commands. (Martin von Gagern, #38655)
118
429
.. Improvements to existing commands, especially improved performance 
119
430
   or memory usage, or better results.
120
431
 
121
 
* ``bzr annotate`` can be run without setting whoami data first. (Jonathan
122
 
  Riddell, #667408)
 
432
* ``bzr annotate`` can be run without setting whoami data first.
 
433
  (Jonathan Riddell, #667408)
123
434
 
124
435
Bug Fixes
125
436
*********
134
445
  ``True``.
135
446
  (Martin Pool, #220464)
136
447
 
 
448
* ``bzr version-info`` now works when the tree is on a dotted revno.
 
449
  (Benoît Pierre, #796259)
 
450
 
137
451
* Credentials in the log output produced by ``-Dhttp`` are masked so users
138
452
  can more freely post them in bug reports. (Vincent Ladeuil, #723074)
139
453
 
157
471
  because ``build_mo`` became a required step that they didn't know about.
158
472
  (John Arbash Meinel, #787122)
159
473
 
 
474
* Preserve existing ``root-id`` when merging an unrelated branch.
 
475
  (Aaron Bentley, #806356)
 
476
 
160
477
* Properly avoid re-adding a file after it changes case on CICP
161
478
  filesystems. (John Arbash Meinel, #798130)
162
479
 
163
480
* Reports the original error when an InvalidHttpResponse exception is
164
481
  encountered to facilitate debug. (Vincent Ladeuil, #788530)
165
482
 
166
 
* Reports a non-existant file error when trying to merge in a file
 
483
* Reports a non-existent file error when trying to merge in a file
167
484
  that does not exist. (Jonathan Riddell, #330063)
168
485
 
169
486
* ``UIFactory.prompt``, ``UIFactory.get_username``,
191
508
.. Changes that may require updates in plugins or other code that uses
192
509
   bzrlib.
193
510
 
 
511
* Checking for a file id in a `Tree` or `Inventory` using ``in`` is now
 
512
  deprecated.  Instead, use `has_id`.
 
513
  (Martin Pool)
 
514
 
 
515
* Exporters are now all exposed as generators, rather than as single-call
 
516
  functions, so that calling code can take stream the output.
 
517
  (Xaav, Martin Pool)
 
518
 
194
519
* Information about held lockdir locks returned from eg `LockDir.peek` is
195
520
  now represented as a `LockHeldInfo` object, rather than a plain
196
521
  Python dict.
237
562
  (Vincent Ladeuil, #787942)
238
563
 
239
564
* Re-target ``bb.test_merge.TestMerge.test_merge_reversed_revision_range``
240
 
  and rewrite it as a parameterized test to avoid unrelated failures.
 
565
  and rewrite it as a parametrized test to avoid unrelated failures.
241
566
  (Vincent Ladeuil, #795456)
242
567
 
243
568
* Show log file contents from subprocesses started by
245
570
  strange hangs and failures involving subprocesses.  (Andrew Bennetts)
246
571
 
247
572
* Skip ``utextwrap`` tests when ``sphinx`` breaks text_wrap by an hostile
248
 
  monkeypatch to textwrap.TextWrapper.wordsep_re.
 
573
  monkey-patch to textwrap.TextWrapper.wordsep_re.
249
574
  (Vincent Ladeuil, #785098)
250
575
 
251
576
* Multiple ``selftest --exclude`` options are now combined instead of
369
694
* Merging into empty branches now gives an error as this is currently
370
695
  not supported. (Jonathan Riddell, #242175)
371
696
 
372
 
* Do not show exception to user on pointless commit error (Jonathan
373
 
  Riddell #317357)
 
697
* Do not show exception to user on pointless commit error.
 
698
  (Jonathan Riddell #317357)
374
699
 
375
700
* ``WT.update_basis_by_delta`` no longer requires that the deltas match
376
701
  the current WT state. This allows ``update_basis_by_delta`` to be used
934
1259
  by catching them so they can be re-raised in the controlling thread. It's
935
1260
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
936
1261
 
937
 
* Correctly propogate malloc failures from diff-delta.c code as MemoryError
 
1262
* Correctly propagate malloc failures from diff-delta.c code as MemoryError
938
1263
  so OOM conditions during groupcompress are clearly reported. This entailed a
939
1264
  change to several function signatures. (Martin [gz], #633336)
940
1265