~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-08-15 13:49:38 UTC
  • mfrom: (6060.3.1 fix-last-revno-args)
  • Revision ID: pqm@pqm.ubuntu.com-20110815134938-4fuo63g4v2hj8jdt
(jelmer) Cope with the localhost having the name 'localhost' when running
 the test suite. (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.1
 
9
#########
 
10
 
 
11
:2.4.1: 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
Documentation
 
36
*************
 
37
 
 
38
.. Improved or updated documentation.
 
39
 
 
40
API Changes
 
41
***********
 
42
 
 
43
.. Changes that may require updates in plugins or other code that uses
 
44
   bzrlib.
 
45
 
 
46
Internals
 
47
*********
 
48
 
 
49
.. Major internal changes, unlikely to be visible to users or plugin 
 
50
   developers, but interesting for bzr developers.
 
51
 
 
52
Testing
 
53
*******
 
54
 
 
55
.. Fixes and changes that are only relevant to bzr's test framework and 
 
56
   suite.  This can include new facilities for writing tests, fixes to 
 
57
   spurious test failures and changes to the way things should be tested.
 
58
 
 
59
 
 
60
bzr 2.4.0
 
61
#########
 
62
 
 
63
:2.4.0: 2011-08-11
 
64
 
 
65
This release marks the start of a new long-term-stable series. From here, we
 
66
will only make bugfix releases on the 2.4 series (2.4.1, etc, and support it
 
67
until February 2013), while 2.5 will become our new development series.
 
68
 
 
69
This is a bugfix and polish release over the 2.3 series, with a large number
 
70
of bugs fixed (>150 for the 2.4 series alone), and some performance
 
71
improvements. Support for python 2.4 and 2.5 has been dropped, many large
 
72
working tree operations have been optimized as well as some stacked branches
 
73
operations.
 
74
 
 
75
Only bugfixes from other stables series have been included since 2.4b5 so
 
76
all known fixed bugs are included here.
 
77
 
 
78
Users are encouraged to upgrade from the other stable series.
 
79
 
 
80
 
 
81
External Compatibility Breaks
 
82
*****************************
 
83
 
 
84
.. These may require users to change the way they use Bazaar.
 
85
 
 
86
New Features
 
87
************
 
88
 
 
89
.. New commands, options, etc that users may wish to try out.
 
90
 
 
91
Improvements
 
92
************
 
93
 
 
94
.. Improvements to existing commands, especially improved performance 
 
95
   or memory usage, or better results.
 
96
 
 
97
Bug Fixes
 
98
*********
 
99
 
 
100
.. Fixes for situations where bzr would previously crash or give incorrect
 
101
   or undesirable results.
 
102
 
 
103
* A call to CHKInventory's filter-method will not result in a
 
104
  DuplicateFileId error, if you move a subfolder and change a file in
 
105
  that subfolder.
 
106
  (Bastian Bowe, #809901)
 
107
 
 
108
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
 
109
  checks to see if the most recent published source package version for
 
110
  that project is present in the branch tags. This should help developers
 
111
  trust whether the packaging branch is up-to-date and can be used for new
 
112
  changes. The level of verbosity is controlled by the config item
 
113
  ``launchpad.packaging_verbosity``. It can be set to one of
 
114
 
 
115
  off
 
116
    disable all checks
 
117
 
 
118
 
 
119
  minimal
 
120
    only display if the branch is out-of-date
 
121
 
 
122
  short
 
123
    also display single-line up-to-date and missing,
 
124
 
 
125
 
 
126
  all
 
127
    (default) display multi-line content for all states
 
128
 
 
129
 
 
130
  (John Arbash Meinel, #609187, #812928)
 
131
 
 
132
* Cope with not all Python versions having a ``clear`` method on
 
133
  ``TestCase._type_equality_funcs``.
 
134
  (Martin [gz], Jelmer Vernooij, #809048)
 
135
 
 
136
* Fetching tags when fetching the tip revision of a branch is now
 
137
  controlled by the config setting ``branch.fetch_tags``. The behavior has
 
138
  been reverted to 2.3's not-fetching tagged revisions by default.
 
139
  (John Arbash Meinel, #771184)
 
140
 
 
141
* The fix for bug #513709 caused us to open a new connection when
 
142
  switching a lightweight checkout that was pointing at a bound branch.
 
143
  This isn't necessary because we know the master URL without opening it,
 
144
  avoiding an extra SSH connection, etc.
 
145
  (John Arbash Meinel, #812285)
 
146
 
 
147
 
 
148
Documentation
 
149
*************
 
150
 
 
151
.. Improved or updated documentation.
 
152
 
 
153
API Changes
 
154
***********
 
155
 
 
156
.. Changes that may require updates in plugins or other code that uses
 
157
   bzrlib.
 
158
 
 
159
Internals
 
160
*********
 
161
 
 
162
.. Major internal changes, unlikely to be visible to users or plugin 
 
163
   developers, but interesting for bzr developers.
 
164
 
 
165
Testing
 
166
*******
 
167
 
 
168
.. Fixes and changes that are only relevant to bzr's test framework and 
 
169
   suite.  This can include new facilities for writing tests, fixes to 
 
170
   spurious test failures and changes to the way things should be tested.
 
171
 
 
172
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
 
173
  cleanly and reliably allows tests using `BranchBuilder` to construct
 
174
  branches that e.g. rename files out of a directory and unversion that
 
175
  directory in the same revision.  Previously some changes were impossible
 
176
  due to the order that `build_snapshot` performs its actions.
 
177
  (Andrew Bennetts)
 
178
 
 
179
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
 
180
  just compares the bytes in the dirstate file to its pristine state,
 
181
  rather than opening the WorkingTree and calling ``last_revision()``.
 
182
  This reduces the overall test suite time by about 10% on my laptop.
 
183
  (Andrew Bennetts)
 
184
 
 
185
 
8
186
bzr 2.4b5
9
187
#########
10
188
 
11
 
:2.4b5: NOT RELEASED YET
 
189
:2.4b5: 2011-07-07
 
190
 
 
191
This is the fifth (and last) beta of the 2.4 series leading to
 
192
2.4.0 release in August 2011. Beta releases are suitable for
 
193
everyday use but may cause some incompatibilities with plugins.
 
194
 
 
195
This release includes all bug fixed in previous series known at
 
196
the time of this release.
12
197
 
13
198
External Compatibility Breaks
14
199
*****************************
15
200
 
16
 
.. These may require users to change the way they use Bazaar.
 
201
None.
17
202
 
18
203
New Features
19
204
************
20
205
 
21
 
.. New commands, options, etc that users may wish to try out.
22
 
 
23
206
* New command ``verify-signatures`` to check if all commits or specified commits
24
207
  have digital signatures from trusted keys.  Requires python-gpgme to be
25
208
  installed.
35
218
Improvements
36
219
************
37
220
 
38
 
.. Improvements to existing commands, especially improved performance 
39
 
   or memory usage, or better results.
 
221
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
 
222
  (Andrew Bennetts).
 
223
 
 
224
* Pack, dirstate, and index files are synced to persistent storage if 
 
225
  possible when writing finishes, to reduce the risk of problems caused by
 
226
  a machine crash or similar problem.  This can be turned off through the
 
227
  ``dirstate.fdatasync`` and ``repository.fdatasync`` options, which can
 
228
  be set in ``locations.conf`` or ``bazaar.conf``.  (Martin Pool,
 
229
  #343427)
40
230
 
41
231
Bug Fixes
42
232
*********
43
233
 
44
234
* Display a proper error message when a config file content cannot be
45
235
  decoded as UTF-8 or when it cannot be parsed.
46
 
  (Vincent Ladeuil, #502060, #688677, #792246)
 
236
  (Vincent Ladeuil, #502060, #688677, #797246)
 
237
 
 
238
* Generate a single conflict (instead of two) when merging a branch
 
239
  modifying and renaming a file in a branch that deleted it (or vice-versa).
 
240
  (Vincent Ladeuil, #688101)
 
241
 
 
242
* Give a more helpful message when the bzr executable doesn't match the
 
243
  library.  (This typically happens because of a misconfigured PYTHONPATH
 
244
  or half-installed bzr.)  
 
245
  (Martin Pool, #804553)
47
246
 
48
247
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
49
248
 
50
 
.. Fixes for situations where bzr would previously crash or give incorrect
51
 
   or undesirable results.
52
 
 
53
 
Documentation
54
 
*************
55
 
 
56
 
.. Improved or updated documentation.
 
249
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
 
250
  keys rather than ids. (Jelmer Vernooij, #799677)
 
251
 
 
252
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
 
253
  is present. (Jelmer Vernooij, #801257)
57
254
 
58
255
API Changes
59
256
***********
60
257
 
61
 
.. Changes that may require updates in plugins or other code that uses
62
 
   bzrlib.
 
258
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
 
259
  ``RepositoryFormat.supports_versioned_directories``.
 
260
  (Jelmer Vernooij, #765815)
 
261
 
 
262
* The "revno" field type when using the python version-info format is now
 
263
  a string (to handle dotted revnos) (Benoît Pierre, #796259)
63
264
 
64
265
Internals
65
266
*********
66
267
 
67
 
.. Major internal changes, unlikely to be visible to users or plugin 
68
 
   developers, but interesting for bzr developers.
 
268
* Start implementing localization, starting with command help text (but not
 
269
  the command options themselves). This will allow bootstrapping the bzr
 
270
  internationalization process. (Inada Naoki)
69
271
 
70
272
Testing
71
273
*******
72
274
 
73
 
.. Fixes and changes that are only relevant to bzr's test framework and 
74
 
   suite.  This can include new facilities for writing tests, fixes to 
75
 
   spurious test failures and changes to the way things should be tested.
76
 
 
77
275
* Fix test failures when running as a homeless user (debian buildd). Tests
78
276
  leaking into ``${HOME}/.bzr.log`` should be detected properly now.
79
277
  (Vincent Ladeuil, #798698)
105
303
.. New commands, options, etc that users may wish to try out.
106
304
 
107
305
* Hooks have been added for config stacks: ``get``, ``set`` and ``remove``
108
 
  are called when an option is repsectively read, modified or deleted. Also
 
306
  are called when an option is respectively read, modified or deleted. Also
109
307
  added ``load`` and ``save`` hooks for config stores, called when the
110
308
  stores are loaded or saved.  (Vincent Ladeuil)
111
309
 
113
311
  exception caused while running bzr serve.
114
312
  (Jonathan Riddell, #274578)
115
313
 
116
 
 
117
 
* New hook set_commit_message in bzrlib.msgeditor to set
118
 
  a commit message and revision properties.  (Jonathan Riddell,
119
 
  #274578)
 
314
* New hook set_commit_message in bzrlib.msgeditor to set a commit message
 
315
  and revision properties.  (Jonathan Riddell, #274578)
120
316
 
121
317
* Support ``-S`` as an alias for ``--short`` for the ``log`` and
122
318
  ``missing`` commands. (Martin von Gagern, #38655)
127
323
.. Improvements to existing commands, especially improved performance 
128
324
   or memory usage, or better results.
129
325
 
130
 
* ``bzr annotate`` can be run without setting whoami data first. (Jonathan
131
 
  Riddell, #667408)
 
326
* ``bzr annotate`` can be run without setting whoami data first.
 
327
  (Jonathan Riddell, #667408)
132
328
 
133
329
Bug Fixes
134
330
*********
143
339
  ``True``.
144
340
  (Martin Pool, #220464)
145
341
 
 
342
* ``bzr version-info`` now works when the tree is on a dotted revno.
 
343
  (Benoît Pierre, #796259)
 
344
 
146
345
* Credentials in the log output produced by ``-Dhttp`` are masked so users
147
346
  can more freely post them in bug reports. (Vincent Ladeuil, #723074)
148
347
 
166
365
  because ``build_mo`` became a required step that they didn't know about.
167
366
  (John Arbash Meinel, #787122)
168
367
 
 
368
* Preserve existing ``root-id`` when merging an unrelated branch.
 
369
  (Aaron Bentley, #806356)
 
370
 
169
371
* Properly avoid re-adding a file after it changes case on CICP
170
372
  filesystems. (John Arbash Meinel, #798130)
171
373
 
172
374
* Reports the original error when an InvalidHttpResponse exception is
173
375
  encountered to facilitate debug. (Vincent Ladeuil, #788530)
174
376
 
175
 
* Reports a non-existant file error when trying to merge in a file
 
377
* Reports a non-existent file error when trying to merge in a file
176
378
  that does not exist. (Jonathan Riddell, #330063)
177
379
 
178
380
* ``UIFactory.prompt``, ``UIFactory.get_username``,
200
402
.. Changes that may require updates in plugins or other code that uses
201
403
   bzrlib.
202
404
 
 
405
* Checking for a file id in a `Tree` or `Inventory` using ``in`` is now
 
406
  deprecated.  Instead, use `has_id`.
 
407
  (Martin Pool)
 
408
 
 
409
* Exporters are now all exposed as generators, rather than as single-call
 
410
  functions, so that calling code can take stream the output.
 
411
  (Xaav, Martin Pool)
 
412
 
203
413
* Information about held lockdir locks returned from eg `LockDir.peek` is
204
414
  now represented as a `LockHeldInfo` object, rather than a plain
205
415
  Python dict.
246
456
  (Vincent Ladeuil, #787942)
247
457
 
248
458
* Re-target ``bb.test_merge.TestMerge.test_merge_reversed_revision_range``
249
 
  and rewrite it as a parameterized test to avoid unrelated failures.
 
459
  and rewrite it as a parametrized test to avoid unrelated failures.
250
460
  (Vincent Ladeuil, #795456)
251
461
 
252
462
* Show log file contents from subprocesses started by
254
464
  strange hangs and failures involving subprocesses.  (Andrew Bennetts)
255
465
 
256
466
* Skip ``utextwrap`` tests when ``sphinx`` breaks text_wrap by an hostile
257
 
  monkeypatch to textwrap.TextWrapper.wordsep_re.
 
467
  monkey-patch to textwrap.TextWrapper.wordsep_re.
258
468
  (Vincent Ladeuil, #785098)
259
469
 
260
470
* Multiple ``selftest --exclude`` options are now combined instead of
378
588
* Merging into empty branches now gives an error as this is currently
379
589
  not supported. (Jonathan Riddell, #242175)
380
590
 
381
 
* Do not show exception to user on pointless commit error (Jonathan
382
 
  Riddell #317357)
 
591
* Do not show exception to user on pointless commit error.
 
592
  (Jonathan Riddell #317357)
383
593
 
384
594
* ``WT.update_basis_by_delta`` no longer requires that the deltas match
385
595
  the current WT state. This allows ``update_basis_by_delta`` to be used
943
1153
  by catching them so they can be re-raised in the controlling thread. It's
944
1154
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
945
1155
 
946
 
* Correctly propogate malloc failures from diff-delta.c code as MemoryError
 
1156
* Correctly propagate malloc failures from diff-delta.c code as MemoryError
947
1157
  so OOM conditions during groupcompress are clearly reported. This entailed a
948
1158
  change to several function signatures. (Martin [gz], #633336)
949
1159