~bzr-pqm/bzr/bzr.dev

5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1
####################
2
Bazaar Release Notes
3
####################
4
5
.. toctree::
6
   :maxdepth: 1
7
6015.46.1 by Vincent Ladeuil
Open 2.4.3 for bug fixes
8
bzr 2.4.3
9
#########
10
6437.61.2 by Vincent Ladeuil
Release 2.5.1
11
:2.4.3: NOT RELEASED YET
6015.46.1 by Vincent Ladeuil
Open 2.4.3 for bug fixes
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
6015.50.1 by Martin Pool
Use a chmod wrapper to cope with eperm from chmod
35
* Cope with Unix filesystems, such as smbfs, where chmod gives 'permission
36
  denied'.  (Martin Pool, #606537)
37
6015.47.8 by Vincent Ladeuil
Address some points from gz's review.
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
6015.62.1 by John Arbash Meinel
Fix up the release notes. The notes should be in sorted order, and we should
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
6015.47.9 by Vincent Ladeuil
Merge 2.4.2 and target 2.4.3
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
6015.52.4 by Martin Packman
Add release notes
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
6015.60.6 by John Arbash Meinel
release notes.
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
6437.78.1 by John Arbash Meinel
Merge the 2.4 branch, and no-op out the changes for just the reconnection logic.
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
6015.58.1 by John Arbash Meinel
Fix bug #1010339.
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
6015.62.1 by John Arbash Meinel
Fix up the release notes. The notes should be in sorted order, and we should
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
6015.56.1 by Alexander Belchenko
_Win32Stat object provides members st_uid and st_gid, those are present in Python's os.stat object. These members required for external tools like bzr-git and dulwich.
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
6015.46.1 by Vincent Ladeuil
Open 2.4.3 for bug fixes
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
6015.54.2 by Martin Packman
Add release notes
108
* Account for slightly improved compression with newer versions of zlib in
109
  ``bt.test_btree_index`` tests. (Martin Packman, #940453)
110
6015.46.1 by Vincent Ladeuil
Open 2.4.3 for bug fixes
111
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
112
bzr 2.4.2
113
#########
114
6015.45.1 by Vincent Ladeuil
Release 2.4.2
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.
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
119
120
External Compatibility Breaks
121
*****************************
122
6015.45.1 by Vincent Ladeuil
Release 2.4.2
123
None.
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
124
125
New Features
126
************
127
6015.45.1 by Vincent Ladeuil
Release 2.4.2
128
None.
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
129
130
Improvements
131
************
132
6015.36.1 by Vincent Ladeuil
Fix loading branch history for each tag to make `bzr tags -rX..Y` faster
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
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
136
Bug Fixes
137
*********
138
6015.49.1 by John Arbash Meinel
Merge the bug #819604 client reconnect code into the bzr-2.4 series.
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
6015.35.3 by Gordon Tyler
Added release-notes entry.
144
* Fixed loading of external merge tools from config to properly decode
145
  command-lines which contain embedded quotes. (Gordon Tyler, #828803)
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
146
6015.41.3 by Martin Packman
Add release notes
147
* Include declaration of 'changed' to avoid an UnboundLocalError in dirstate
148
  pyrex code with new Cython versions. (Denys Duchier, #837221)
149
6015.37.6 by Martin Packman
Add release notes
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
6015.38.2 by Martin Packman
Add release notes
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)
6015.62.1 by John Arbash Meinel
Fix up the release notes. The notes should be in sorted order, and we should
157
  
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
158
Documentation
159
*************
160
6015.45.1 by Vincent Ladeuil
Release 2.4.2
161
* Corrected documentation for ``bzr serve`` in the Admin Guide.
162
  (Morten Bøgeskov, Martin Pool, #832576)
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
163
164
API Changes
165
***********
166
6015.45.1 by Vincent Ladeuil
Release 2.4.2
167
None.
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
168
169
Internals
170
*********
171
6015.45.1 by Vincent Ladeuil
Release 2.4.2
172
No changes.
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
173
174
Testing
175
*******
176
6015.33.15 by Martin
Add release notes
177
* Accept both old and new style testtools output in selftest tests.
178
  (Jelmer Vernooij, Martin Packman, #815423)
179
6015.42.1 by Vincent Ladeuil
Fix a naughty race in test_server_crash_while_responding
180
* Fix the race for TestingThreadingTCPServer in
181
  test_server_crash_while_responding. (Vincent Ladeuil, #869366)
182
6015.40.1 by Vincent Ladeuil
Backport fix for a random test failure
183
* Really corrupt the pack file without depending on a special length or value.
184
  (Vincent Ladeuil, #807032)
185
6015.28.8 by Vincent Ladeuil
Open 2.4.2 for bug fixes
186
6015.17.1 by Vincent Ladeuil
Open 2.4.1 for bugfixes
187
bzr 2.4.1
188
#########
189
6015.28.7 by Vincent Ladeuil
Release 2.4.1
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
6015.17.1 by Vincent Ladeuil
Open 2.4.1 for bugfixes
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
6015.22.1 by Vincent Ladeuil
config.LocationMatcher properly excludes unrelated sections
221
* ``config.LocationMatcher`` properly excludes unrelated sections.
222
  (Vincent Ladeuil, #829237)
223
6015.25.1 by Vincent Ladeuil
Minimal backport to fix fdatasync options handling
224
* ``dirstate.fdatasync`` and ``repository.fdatasync`` can now properly be
225
  disabled. (Vincent Ladeuil, #824513)
226
6015.31.1 by John Arbash Meinel
Bug #837293, make 'bzr selftest' disable fsync/fdatasync while running.
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
6015.9.17 by Jonathan Riddell
Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
231
* Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
232
6015.26.1 by IWATA Hidetaka
Avoid UnicodeError when reporting EINVAL error
233
* Avoid UnicodeDecode error when reporting EINVAL from transports.
6015.27.1 by John Arbash Meinel
Merge IWATA's fix for bug #827721, fix NEWS indentation.
234
  (IWATA Hidetaka, #829237)
6015.26.1 by IWATA Hidetaka
Avoid UnicodeError when reporting EINVAL error
235
6015.17.1 by Vincent Ladeuil
Open 2.4.1 for bugfixes
236
Documentation
237
*************
238
239
.. Improved or updated documentation.
240
6015.19.1 by Dennis Benzinger
Fixed description of BZR_PROGRESS_BAR in "bzr help env-variables".
241
* Corrected documentation for BZR_PROGRESS_BAR. 
242
  (Dennis Benzinger, #735417)
243
6015.17.1 by Vincent Ladeuil
Open 2.4.1 for bugfixes
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
6015.30.2 by Vincent Ladeuil
Add news entry.
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)
6015.17.1 by Vincent Ladeuil
Open 2.4.1 for bugfixes
267
6014.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev6
268
bzr 2.4.0
269
#########
270
6015.16.2 by Vincent Ladeuil
Release 2.4.0
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
6014.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev6
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
6015.13.1 by Bastian Bowe
Merged fix regarding error in CHKInventory.filter method from mainline
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
6015.10.1 by John Arbash Meinel
Merge the package-freshness check from bzr-2.5 to the 2.4 series. bug #609187
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
6015.15.6 by John Arbash Meinel
Merge bzr/2.4@6027 to resolve release-notes conflict.
340
* Cope with not all Python versions having a ``clear`` method on
341
  ``TestCase._type_equality_funcs``.
342
  (Martin [gz], Jelmer Vernooij, #809048)
343
6015.15.5 by John Arbash Meinel
Update whatsnew and release-notes to reflect the new reality.
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)
6015.10.1 by John Arbash Meinel
Merge the package-freshness check from bzr-2.5 to the 2.4 series. bug #609187
348
6015.7.1 by John Arbash Meinel
No need to open the master branch just to get its URL.
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.
6015.7.2 by John Arbash Meinel
Bug #812285. Add an effort test to show that things have improved.
353
  (John Arbash Meinel, #812285)
6025.1.1 by Jelmer Vernooij
Fix i18n use when no environment variables are set.
354
6015.12.1 by Jelmer Vernooij
Add python2.7 workaround for bug 809048.
355
6014.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev6
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
6015.4.1 by Andrew Bennetts
Backport lp:bzr r6018: Add a 'flush' action to BranchBuilder.build_snapshot.
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
6015.4.2 by Andrew Bennetts
Backport lp:bzr r6020: Speed up TestCaseWithMemoryTransport._check_safety_net by reading the dirstate file directly rather than using WorkingTree.open().
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
6014.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev6
393
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
394
bzr 2.4b5
395
#########
396
6013.1.2 by Vincent Ladeuil
Release 2.4b5
397
:2.4b5: 2011-07-07
398
399
This is the fifth (and last) beta of the 2.4 series leading to
6015.16.2 by Vincent Ladeuil
Release 2.4.0
400
2.4.0 release in August 2011. Beta releases are suitable for
6013.1.2 by Vincent Ladeuil
Release 2.4b5
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.
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
405
406
External Compatibility Breaks
407
*****************************
408
6013.1.2 by Vincent Ladeuil
Release 2.4b5
409
None.
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
410
411
New Features
412
************
413
5971.1.66 by Jonathan Riddell
add release notes
414
* New command ``verify-signatures`` to check if all commits or specified commits
415
  have digital signatures from trusted keys.  Requires python-gpgme to be
416
  installed.
417
418
* New option ``--signatures`` for ``bzr log`` to display digital signature
419
  verification results for each commit.
420
421
* Config option acceptable_keys to list which GPG keys are verified as trusted.
422
423
* Config option validate_signatures_in_log to always show signatures in 
424
  ``bzr log``.
425
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
426
Improvements
427
************
428
5993.4.2 by Andrew Bennetts
Add release-notes entry.
429
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
430
  (Andrew Bennetts).
431
6006.4.5 by Martin Pool
Flush pack, index, and dirstate files to disk on closing
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
6006.4.12 by Martin Pool
Documentation and news for fdatasync (bug 343427)
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)
6006.4.5 by Martin Pool
Flush pack, index, and dirstate files to disk on closing
438
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
439
Bug Fixes
440
*********
441
5987.1.4 by Vincent Ladeuil
Proper error messages for config files with content in non-utf encoding or that cannot be parsed
442
* Display a proper error message when a config file content cannot be
443
  decoded as UTF-8 or when it cannot be parsed.
6007.1.1 by Vincent Ladeuil
Fix typo in bug number
444
  (Vincent Ladeuil, #502060, #688677, #797246)
5987.1.3 by Vincent Ladeuil
Proper message when authentication.conf has non-utf8 content
445
5988.2.1 by Vincent Ladeuil
Do not generate path conflicts if a corresponding content conflict exists
446
* Generate a single conflict (instead of two) when merging a branch
447
  modifying and renaming a file in a branch that deleted it (or vice-versa).
448
  (Vincent Ladeuil, #688101)
449
5997.1.2 by Martin Pool
Better message on mismatched bzr/bzrlib
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
5987.1.1 by Vincent Ladeuil
Properly load utf8-encoded config files
455
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
456
5988.1.1 by Jelmer Vernooij
Fix GraphThunkIdsToKeys.merge_sort
457
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
5988.1.3 by Jelmer Vernooij
Fix typo, thanks John Szakmeister.
458
  keys rather than ids. (Jelmer Vernooij, #799677)
5988.1.1 by Jelmer Vernooij
Fix GraphThunkIdsToKeys.merge_sort
459
5993.2.3 by Jelmer Vernooij
Update NEWS, consistently use require_tree_root as argument everywhere.
460
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
461
  is present. (Jelmer Vernooij, #801257)
462
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
463
API Changes
464
***********
465
5993.3.2 by Jelmer Vernooij
Add Repository.supports_versioned_directories.
466
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
467
  ``RepositoryFormat.supports_versioned_directories``.
5993.3.1 by Jelmer Vernooij
Add WorkingTreeFormat.supports_versioned_directories attribute.
468
  (Jelmer Vernooij, #765815)
469
6008.1.1 by John Arbash Meinel
Merge version-info fixes for dotted revnos.
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
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
473
Internals
474
*********
475
5875.3.29 by Vincent Ladeuil
Add news entry.
476
* Start implementing localization, starting with command help text (but not
477
  the command options themselves). This will allow bootstrapping the bzr
478
  internationalization process. (Inada Naoki)
479
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
480
Testing
481
*******
482
5984.1.5 by Vincent Ladeuil
Add news entries
483
* Fix test failures when running as a homeless user (debian buildd). Tests
484
  leaking into ``${HOME}/.bzr.log`` should be detected properly now.
485
  (Vincent Ladeuil, #798698)
5981.1.3 by Vincent Ladeuil
Open trunk again as 2.4dev5
486
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
487
bzr 2.4b4
488
#########
489
5981.1.1 by Vincent Ladeuil
Release 2.4b4
490
:2.4b4: 2011-06-16
491
492
This is the fourth beta of the 2.4 series, leading to a 2.4.0 release in
493
August 2011. Beta releases are suitable for everyday use but may cause some
494
incompatibilities with plugins.
495
496
This release includes all bug fixed in previous series known at the time of
497
this release.
498
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
499
500
External Compatibility Breaks
501
*****************************
502
503
.. These may require users to change the way they use Bazaar.
504
5967.3.3 by Jonathan Riddell
add release notes
505
* Do not treat configuration option 'check_signatures = require' as if
5967.3.5 by Jonathan Riddell
add name to release note
506
  it were 'create_signatures = always' (Jonathan Riddell)
5967.3.3 by Jonathan Riddell
add release notes
507
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
508
New Features
509
************
510
511
.. New commands, options, etc that users may wish to try out.
512
5743.8.23 by Vincent Ladeuil
Don't publicize the hooks yet and add proper cleanups to avoid hook leaks (or hooks triggering during tests cleanup).
513
* Hooks have been added for config stacks: ``get``, ``set`` and ``remove``
5989.1.1 by Vincent Ladeuil
Fix typo in release notes
514
  are called when an option is respectively read, modified or deleted. Also
5743.8.23 by Vincent Ladeuil
Don't publicize the hooks yet and add proper cleanups to avoid hook leaks (or hooks triggering during tests cleanup).
515
  added ``load`` and ``save`` hooks for config stores, called when the
516
  stores are loaded or saved.  (Vincent Ladeuil)
5743.8.6 by Vincent Ladeuil
Add hooks for config stacks.
517
5909.2.7 by Jonathan Riddell
add NEWS
518
* New hook server_exception in bzrlib.smart.server to catch any
5743.8.6 by Vincent Ladeuil
Add hooks for config stacks.
519
  exception caused while running bzr serve.
520
  (Jonathan Riddell, #274578)
521
5993.1.1 by Vincent Ladeuil
Start implementing command help text localization
522
* New hook set_commit_message in bzrlib.msgeditor to set a commit message
523
  and revision properties.  (Jonathan Riddell, #274578)
5912.4.11 by Jonathan Riddell
add NEWS
524
5945.1.5 by Martin von Gagern
Document #38655 in release-notes and whats-new.
525
* Support ``-S`` as an alias for ``--short`` for the ``log`` and
526
  ``missing`` commands. (Martin von Gagern, #38655)
527
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
528
Improvements
529
************
530
531
.. Improvements to existing commands, especially improved performance 
532
   or memory usage, or better results.
533
5993.1.1 by Vincent Ladeuil
Start implementing command help text localization
534
* ``bzr annotate`` can be run without setting whoami data first.
535
  (Jonathan Riddell, #667408)
5967.1.3 by Jonathan Riddell
add release note
536
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
537
Bug Fixes
538
*********
539
540
.. Fixes for situations where bzr would previously crash or give incorrect
541
   or undesirable results.
542
5425.4.25 by Martin Pool
Support auto-stealing dead locks, but turn it off by default.
543
* Bazaar can now detect when a lock file is held by a dead process
5425.4.16 by Martin Pool
resolve conflicts against trunk
544
  originating from the same machine, and steal the lock after printing a
5425.4.25 by Martin Pool
Support auto-stealing dead locks, but turn it off by default.
545
  message to the user.  This is off by default, for safety, but can be
546
  turned on by setting the configuration variable ``locks.steal_dead`` to
547
  ``True``.
5425.4.16 by Martin Pool
resolve conflicts against trunk
548
  (Martin Pool, #220464)
549
6008.1.1 by John Arbash Meinel
Merge version-info fixes for dotted revnos.
550
* ``bzr version-info`` now works when the tree is on a dotted revno.
551
  (Benoît Pierre, #796259)
552
5957.2.4 by Vincent Ladeuil
Fix news entry.
553
* Credentials in the log output produced by ``-Dhttp`` are masked so users
554
  can more freely post them in bug reports. (Vincent Ladeuil, #723074)
5957.2.3 by Vincent Ladeuil
Mask credentials in the -Dhttp logging
555
5929.2.1 by Vincent Ladeuil
Fix spurious test test_server_exception_with_hook failure
556
* Fix a race condition for ``server_started`` hooks leading to a spurious
557
  test failure. (Vincent Ladeuil, #789167)
558
5973.1.1 by John Arbash Meinel
Resolve conflicts with bzr-2.4.txt (aka NEWS)
559
* Fix exporting subdirectory with ``--per-file-timestamps``.
560
  (Szilveszter Farkas, #795557)
561
5946.1.3 by John Arbash Meinel
release-notes about bug #597686
562
* Handle files that get created but don't get used during TreeTransform.
563
  ``open()`` can create a file, and still raise an exception before it
564
  returns. So anything we might have created, make sure we destroy during
565
  ``finalize()``. (Martin [gz], #597686)
566
5909.3.3 by Martin von Gagern
Document fix.
567
* ``pack_repo`` now uses ``Transport.move`` instead of
568
  ``Transport.rename``, deleting any existing targets even on SFTP.
569
  (Martin von Gagern, #421776)
570
5918.1.3 by John Arbash Meinel
Merge bzr.dev, update release-notes for bug #787122
571
* Pass the ``build_mo`` command to the rest of the setup() calls in
572
  setup.py. The ``bdist_wininst`` and ``py2exe`` code paths were failing
573
  because ``build_mo`` became a required step that they didn't know about.
574
  (John Arbash Meinel, #787122)
575
6013.1.1 by Vincent Ladeuil
Move the news entry for bug #806356 in the right section.
576
* Preserve existing ``root-id`` when merging an unrelated branch.
577
  (Aaron Bentley, #806356)
578
5977.1.2 by John Arbash Meinel
release-notes entry.
579
* Properly avoid re-adding a file after it changes case on CICP
580
  filesystems. (John Arbash Meinel, #798130)
581
5609.39.10 by Vincent Ladeuil
Add news entry
582
* Reports the original error when an InvalidHttpResponse exception is
583
  encountered to facilitate debug. (Vincent Ladeuil, #788530)
584
6015.16.2 by Vincent Ladeuil
Release 2.4.0
585
* Reports a non-existent file error when trying to merge in a file
5887.2.8 by Jonathan Riddell
add NEWS
586
  that does not exist. (Jonathan Riddell, #330063)
587
5923.1.1 by Vincent Ladeuil
Require prompts to always be unicode
588
* ``UIFactory.prompt``, ``UIFactory.get_username``,
589
  ``UIFactory.get_password`` and ``UIFactory.get_boolean`` now require a
590
  unicode prompt to be passed in. (Jelmer Vernooij, #592083)
591
5954.4.8 by Aaron Bentley
Add release notes.
592
* Support merging into the empty tree. (Aaron Bentley, #595328)
593
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
594
Documentation
595
*************
596
597
.. Improved or updated documentation.
598
5939.2.1 by Neil Martinsen-Burrell
better document the effect of merge --force
599
* Improve documentation of ``bzr merge --force``.
600
  (Neil Martinsen-Burrell, #767307)
601
5967.3.3 by Jonathan Riddell
add release notes
602
* Make docs for configuration options for digital signatures match 
5967.3.4 by Jonathan Riddell
Add user-guide page on GPG signatures.
603
  reality. (Jonathan Riddell)
604
605
* Add user-guide page on GPG signatures. (Jonathan Riddell)
5967.3.3 by Jonathan Riddell
add release notes
606
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
607
API Changes
608
***********
609
610
.. Changes that may require updates in plugins or other code that uses
611
   bzrlib.
612
5967.7.1 by Martin Pool
Deprecate __contains__ on Tree and Inventory
613
* Checking for a file id in a `Tree` or `Inventory` using ``in`` is now
614
  deprecated.  Instead, use `has_id`.
615
  (Martin Pool)
616
5967.6.2 by Martin Pool
Delete fairly useless and repetitive per-format export single-call functions.
617
* Exporters are now all exposed as generators, rather than as single-call
618
  functions, so that calling code can take stream the output.
619
  (Xaav, Martin Pool)
620
5425.4.16 by Martin Pool
resolve conflicts against trunk
621
* Information about held lockdir locks returned from eg `LockDir.peek` is
5967.4.2 by Martin Pool
merge news
622
  now represented as a `LockHeldInfo` object, rather than a plain
623
  Python dict.
624
  (Martin Pool)
625
5967.4.1 by Martin Pool
Remove unused file_status function
626
* Remove `file_status` function.
627
  (Martin Pool)
628
5972.2.1 by Jelmer Vernooij
Deprecate Repository.iter_reverse_revision_history.
629
* ``Repository.iter_reverse_revision_history`` is now deprecated.
630
  Use ``Graph.iter_lefthand_ancestry`` instead.
631
  (Jelmer Vernooij, #739481)
632
5972.3.11 by Jelmer Vernooij
Deprecate Repository.get_ancestry.
633
* ``Repository.get_ancestry`` has been deprecated. Use
634
  ``Graph.iter_ancestry`` instead.
635
  (Jelmer Vernooij, #784511)
5967.11.3 by Benoît Pierre
Add news entries.
636
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
637
Internals
638
*********
639
640
.. Major internal changes, unlikely to be visible to users or plugin 
641
   developers, but interesting for bzr developers.
642
5853.4.3 by Vincent Ladeuil
Add an option to check-newsbug to get a quicker access to bugs that needs to be closed.
643
* ``tools/check-newsbugs.py`` accepts a ``--browser`` option to open
644
  corresponding launchpad pages in a browser. (Vincent Ladeuil)
645
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
646
Testing
647
*******
648
649
.. Fixes and changes that are only relevant to bzr's test framework and 
650
   suite.  This can include new facilities for writing tests, fixes to 
651
   spurious test failures and changes to the way things should be tested.
652
5956.1.1 by Jelmer Vernooij
Add ImportTariffTestCase.
653
* A `ImportTariffTestCase` base class has been added in
654
  ``bzrlib.tests.test_import_tariff``, which can be used for import tariff
655
  tests in plugins. (Jelmer Vernooij, #793465)
656
5898.2.4 by Andrew Bennetts
Add release-notes entry.
657
* Fix deadlock in `TestImportTariffs.test_simple_serve` when stderr gets
658
  more output than fits in the default buffer.  This was happening on the
659
  Windows buildslave, and could easily happen in other circumstances where
660
  the default OS buffer size for pipes is small or the ``python -v``
5898.2.5 by Andrew Bennetts
Mention bug #784802 in release-notes entry.
661
  output is large.  (Andrew Bennetts, #784802)
5898.2.4 by Andrew Bennetts
Add release-notes entry.
662
5929.1.1 by Vincent Ladeuil
Fix spurious test failure on OSX for WorkingTreeFormat2
663
* Fix spurious test failure on OSX for WorkingTreeFormat2.
664
  (Vincent Ladeuil, #787942)
5939.3.1 by Andrew Bennetts
Don't use real /home/andrew in test_import_tariffs. We can test the real plugins and be properly isolated from the user's config and log.
665
5954.6.1 by Vincent Ladeuil
Rewrite the eager bb.test_merge.TestMerge.test_merge_reversed_revision_range test
666
* Re-target ``bb.test_merge.TestMerge.test_merge_reversed_revision_range``
6015.16.2 by Vincent Ladeuil
Release 2.4.0
667
  and rewrite it as a parametrized test to avoid unrelated failures.
5954.6.1 by Vincent Ladeuil
Rewrite the eager bb.test_merge.TestMerge.test_merge_reversed_revision_range test
668
  (Vincent Ladeuil, #795456)
669
5939.3.3 by Andrew Bennetts
Merge lp:bzr.
670
* Show log file contents from subprocesses started by
671
  `start_bzr_subprocess` in test failure details.  This may help diagnose
672
  strange hangs and failures involving subprocesses.  (Andrew Bennetts)
673
5933.1.2 by Vincent Ladeuil
sphinx-1.0.7 still has bug #785098
674
* Skip ``utextwrap`` tests when ``sphinx`` breaks text_wrap by an hostile
6015.16.2 by Vincent Ladeuil
Release 2.4.0
675
  monkey-patch to textwrap.TextWrapper.wordsep_re.
5933.1.2 by Vincent Ladeuil
sphinx-1.0.7 still has bug #785098
676
  (Vincent Ladeuil, #785098)
677
5924.1.2 by Vincent Ladeuil
Support multiple selftest --exclude options
678
* Multiple ``selftest --exclude`` options are now combined instead of
679
  overriding each other. (Vincent Ladeuil, #746991)
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
680
5947.1.1 by Vincent Ladeuil
Support pyftplib-0.6.0 as an ftp test server
681
* Restore some ``FTPTransport`` test coverage by allowing ``pyftpdlib
682
  0.6.0`` to be used. Also restore ``medusa`` support while leaving it
683
  disabled to make it easier to use if/when we can in the future.
684
  (Vincent Ladeuil, #781140)
5919.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev4
685
5939.3.1 by Andrew Bennetts
Don't use real /home/andrew in test_import_tariffs. We can test the real plugins and be properly isolated from the user's config and log.
686
* `TestImportTariffs` no longer uses the real ``$HOME``.  This prevents it
687
  from polluting ``$HOME/.bzr.log`` or being accidentally influenced by
688
  user configuration such as aliases.  It still runs with all the user's
689
  plugins enabled, as intended.
690
  (Vincent Ladeuil, Andrew Bennetts, #789505)
691
692
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
693
bzr 2.4b3
694
#########
695
5918.1.1 by Vincent Ladeuil
Release 2.4b3
696
:2.4b3: 2011-05-26
697
698
This is the third beta of the 2.4 series, leading to a 2.4.0 release in
699
August 2011. Beta releases are suitable for everyday use but may cause some
700
incompatibilities with plugins.
701
702
This release includes all bug fixed in previous series known at the time of
703
this release.
704
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
705
706
External Compatibility Breaks
707
*****************************
708
709
.. These may require users to change the way they use Bazaar.
710
5848.2.1 by John Arbash Meinel
Break compatibility with python <2.6.
711
* ``bzr-2.4`` has officially dropped support for python2.4 and python2.5.
712
  We will continue to maintain ``bzr-2.3`` for people who still need to
713
  use those versions of python. (John Arbash Meinel)
714
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
715
New Features
716
************
717
718
.. New commands, options, etc that users may wish to try out.
719
5755.2.5 by John Arbash Meinel
Expose the setting up the stack.
720
* The text compressor used for 2a repositories now has a tweakable
721
  parameter that can be set in bazaar.conf.
722
  ``bzr.groupcompress.max_entries_per_source`` default of 65536.
723
  When doing compression, we build up an index of locations to match
724
  against. Setting this higher will result in slightly better compression,
725
  at a cost of more memory. Note that a value of 65k represents fully
726
  sampling a 1MB file. So this only has an effect when compressing texts
727
  larger than N*16 bytes. (John Arbash Meinel, #602614)
728
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
729
Improvements
730
************
731
732
.. Improvements to existing commands, especially improved performance 
733
   or memory usage, or better results.
734
5816.8.1 by Andrew Bennetts
Be a little more clever about constructing a parents provider for stacked repositories, so that get_parent_map with local-stacked-on-remote doesn't use HPSS VFS calls.
735
* ``bzr branch --stacked`` from a smart server uses the network a little
736
  more efficiently.  For a simple branch it reduces the number of
737
  round-trips by about 20%.  (Andrew Bennetts)
738
5725.1.4 by Neil Martinsen-Burrell
merge bzr.dev, fix release notes conflict
739
* ``bzr log --line`` scales the width of the author field with the size of
740
  the line.  This means that the full author name is shown when the
741
  environment variable BZR_COLUMNS=0.  (Neil Martinsen-Burrell)
742
5847.2.1 by John Arbash Meinel
Bug #780677, use a RevisionTree for pull
743
* ``bzr pull`` now properly triggers the fast
744
  ``CHKInventory.iter_changes`` rather than the slow generic
745
  inter-Inventory changes. It used to use a ``DirStateRevisionTree`` as
746
  one of the source trees, which is faster when we have to read the whole
747
  inventory anyway, but much slower when we can get just the delta out of
748
  the repository. On a 70k record tree, this changes ``bzr pull`` from 28s
749
  down to 17s. (John Arbash Meinel, #780677)
750
5829.1.1 by Andrew Bennetts
Share _group_cache when using GroupCompressVersionedFiles.without_fallbacks, and move _find_parents_keys_of_revisions call to before we clear repo.revisions' cache.
751
* Slightly reduced memory consumption when fetching into a 2a repository
752
  by reusing existing caching a little better.  (Andrew Bennetts)
753
5807.4.10 by John Arbash Meinel
Release-notes about bug #380202
754
* Speed up ``bzr status`` by a little bit when there are a couple of
755
  modified files. We now track how many files we have seen that need
756
  updating, and only rewrite the dirstate file if enough of them have
757
  changed. The default is 10, and can be overridden by setting the branch
758
  option "``bzr.workingtree.worth_saving_limit``".
759
  (Ian Clatworthy, John Arbash Meinel, #380202)
760
5847.4.2 by John Arbash Meinel
uncommit is now down to 2.7s, document it fixing bug #780544
761
* Speed up ``bzr uncommit``. Instead of resetting the dirstate from
762
  scratch, use ``update_basis_by_delta``, computing the delta from the
5847.5.1 by Jelmer Vernooij
Trivial fixes.
763
  repository. (John Arbash Meinel, #780544)
5847.4.2 by John Arbash Meinel
uncommit is now down to 2.7s, document it fixing bug #780544
764
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
765
Bug Fixes
766
*********
767
768
.. Fixes for situations where bzr would previously crash or give incorrect
769
   or undesirable results.
770
5809.3.11 by Aaron Bentley
Update release notes.
771
* All Tree types can now be exported as tar.*, zip or directories.
772
  (Aaron Bentley)
5816.6.19 by A. S. Budden
Merged latest trunk
773
  
5861.1.2 by Vincent Ladeuil
Use positive forms where possible, fix the command help and the user guide.
774
* ``bzr merge --no-remember location`` never sets ``submit_branch``.
775
  (Vincent Ladeuil, #782169)
776
5861.1.11 by Vincent Ladeuil
Add news entry and same comments.
777
* ``bzr pull --no-remember location`` never sets
778
  ``parent_location``.  ``bzr push --no-remember location`` never
779
  sets ``push_location``.  ``bzr send --no-remember
780
  submit_location public_location`` never sets ``submit_branch``
781
  nor ``public_branch``.  (Vincent Ladeuil)
782
5898.1.8 by Martin
Add release notes
783
* Conflicts involving non-ascii filenames are now properly reported rather
784
  than failing with a UnicodeEncodeError. (Martin [GZ], #686161)
785
5816.6.18 by A. S. Budden
Added NEWS item.
786
* Correct parent is now set when using 'switch -b' with bound branches.
787
  (A. S. Budden, #513709)
5809.3.11 by Aaron Bentley
Update release notes.
788
5863.3.5 by Martin
Add release notes
789
* Fix `bzr plugins` regression in bzr 2.4 which resulted in a traceback
790
  from writelines on ckj terminals. (Martin [GZ], #754082)
791
5786.1.4 by John Arbash Meinel
Move the release-notes entry to the correct section.
792
* ``WT.inventory`` and ``WT.iter_entries_by_dir()`` was not correctly
793
  reporting subdirectories that were tree references (in formats that
794
  supported them). (John Arbash Meinel, #764677)
795
5863.5.2 by Jonathan Riddell
add NEWS
796
* Merging into empty branches now gives an error as this is currently
797
  not supported. (Jonathan Riddell, #242175)
5786.1.4 by John Arbash Meinel
Move the release-notes entry to the correct section.
798
5993.1.1 by Vincent Ladeuil
Start implementing command help text localization
799
* Do not show exception to user on pointless commit error.
800
  (Jonathan Riddell #317357)
5786.1.4 by John Arbash Meinel
Move the release-notes entry to the correct section.
801
5876.1.1 by John Arbash Meinel
Fix bug #781168, and allow WT.update_basis_by_delta
802
* ``WT.update_basis_by_delta`` no longer requires that the deltas match
803
  the current WT state. This allows ``update_basis_by_delta`` to be used
5876.1.3 by John Arbash Meinel
Give the performance reason for update-by-delta
804
  by more commands than just commit. Updating with a delta allows us to
805
  not load the whole inventory, which can take 10+s with large trees.
5876.1.1 by John Arbash Meinel
Fix bug #781168, and allow WT.update_basis_by_delta
806
  (Jonathan Riddell, John Arbash Meinel, #781168)
807
5911.1.7 by Benoît Pierre
Move news entry to "bug fix" section and remove "what's new" entry.
808
* ``bzr mv --after old_name new_name`` now works if "new_name" is newly
809
  added. (Benoît Pierre)
810
5786.1.4 by John Arbash Meinel
Move the release-notes entry to the correct section.
811
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
812
Documentation
813
*************
814
815
.. Improved or updated documentation.
816
5860.1.1 by Vincent Ladeuil
Fix some ReST typos in the configuration help and restore the workaround for dotted format names breaking sphinx.
817
* Restore the workaround for option names including dots (--1.14) which was
818
  disabled when we stopped listing --1.9 as a format.
819
  (Vincent Ladeuil, #782289)
820
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
821
API Changes
822
***********
823
824
.. Changes that may require updates in plugins or other code that uses
825
   bzrlib.
826
5815.3.5 by Jelmer Vernooij
Update NEWS.
827
* ``annotate_file`` has been deprecated in favor of
828
  ``annotate_file_revision_tree``. (Jelmer Vernooij, #775598)
829
5852.1.3 by Jelmer Vernooij
Update NEWS.
830
* ``Branch.fetch`` now takes an optional ``limit`` argument.
5852.1.6 by Jelmer Vernooij
Add extra test for Repository.search_missing_revision_ids.
831
  (Andrew Bennetts, Jelmer Vernooij, #750175)
5852.1.3 by Jelmer Vernooij
Update NEWS.
832
5837.1.1 by Jelmer Vernooij
Make Inter.get raise NoCompatibleInter.
833
* ``Inter.get`` now raises ``NoCompatibleInter`` if there are no
834
  compatible optimisers rather than an instance of the class it is called
835
  on. (Jelmer Vernooij)
836
5853.3.1 by Jelmer Vernooij
Update news.
837
* ``Branch.push`` now takes a ``lossy`` argument.
838
  ``Branch.lossy_push`` has been removed.
839
  (Jelmer Vernooij)
840
5815.5.2 by Jelmer Vernooij
Update NEWS.
841
* New method ``Repository.get_file_graph`` which can return the
842
  per-file revision graph. (Jelmer Vernooij, #775578)
843
5718.8.21 by Jelmer Vernooij
add a release note
844
* The default implementation of ``Branch`` is now oriented to
845
  storing the branch tip. Branch implementations which store the full
846
  history should now subclass ``FullHistoryBzrBranch``.
847
  ``Branch._last_revision_info`` has been renamed to
848
  ``Branch._read_last_revision_info`` (Jelmer Vernooij)
849
5837.2.1 by Jelmer Vernooij
Deprecate Tree.__iter__.
850
* ``Tree.__iter__`` has been deprecated; use ``Tree.all_file_ids``
851
  instead.  (Jelmer Vernooij)
852
5858.1.1 by Jelmer Vernooij
Support optional path argument to Tree.get_symlink_target.
853
* ``Tree.get_symlink_target`` now takes an optional ``path``
854
  argument. (Jelmer Vernooij)
855
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
856
Internals
857
*********
858
859
.. Major internal changes, unlikely to be visible to users or plugin 
860
   developers, but interesting for bzr developers.
861
5870.1.25 by Jelmer Vernooij
Update NEWS, pass inventory to file id generator.
862
* ``MutableTree.smart_add`` now uses inventory deltas.
863
  (Jelmer Vernooij, #146165)
864
5915.1.1 by Andrew Bennetts
Removed bzrlib.branch._run_with_write_locked_target. Use bzrlib.cleanup instead.
865
* Removed ``bzrlib.branch._run_with_write_locked_target`` as
866
  ``bzrlib.cleanup`` provides the same functionality in a more general
867
  way.  (Andrew Bennetts)
868
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
869
Testing
870
*******
871
872
.. Fixes and changes that are only relevant to bzr's test framework and 
873
   suite.  This can include new facilities for writing tests, fixes to 
874
   spurious test failures and changes to the way things should be tested.
875
5868.1.3 by Martin
Add release notes
876
* A test that was expected to fail but passes instead now counts as a failure
877
  catching up with new testtools and subunit handling. (Martin [GZ], #654474)
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
878
5865.2.1 by Vincent Ladeuil
Add an helper for per_workingtree scenarios that plugins can reuse
879
* Make it easier for plugins to reuse the per_workingtree scenarios by
880
  restoring the wt_scenarios helper that was accidentally deleted.
881
  (Vincent Ladeuil, #783472)
5811.1.2 by Vincent Ladeuil
Open trunk again as 2.4dev3
882
5902.1.1 by Martin Pool
Remove dodgy test_breakin tests
883
* Removed ``test_breakin`` tests that were excessively prone to hanging,
884
  did not work on Wine, and partly already disabled.
885
  (Martin Pool, #408814, #746985)
886
5912.3.1 by Vincent Ladeuil
Fix spurious windows-specific test failure
887
* Windows locations are different and should be tested accordingly.
888
  (Vincent Ladeuil, #788131)
889
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
890
bzr 2.4b2
891
#########
892
5811.1.1 by Vincent Ladeuil
Release 2.4b2
893
:2.4b2: 2011-04-28
894
895
This is the second beta of the 2.4 series, leading to a 2.4.0 release in
896
August 2011. Beta releases are suitable for everyday use but may cause some
897
incompatibilities with plugins.
898
899
This release includes all bug fixed in previous series known at the time of
900
this release.
901
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
902
903
External Compatibility Breaks
904
*****************************
905
906
.. These may require users to change the way they use Bazaar.
907
5741.3.2 by Martin Pool
Show a user warning on 'bzr clone' and 'get'
908
* Two command synonyms for ``bzr branch`` have been deprecated, to avoid
909
  confusion and to allow the names to later be reused.  The removed names
910
  are: ``get`` and ``clone``.   (Martin Pool, #506265)
911
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
912
New Features
913
************
914
915
.. New commands, options, etc that users may wish to try out.
916
5777.6.1 by Jelmer Vernooij
Add --lossy option to 'bzr commit'.
917
* ``bzr commit`` now supports a ``--lossy`` argument that can be used
918
  to discard any data that can not be natively represented when committing
919
  to a foreign VCS. (Jelmer Vernooij, #587721)
920
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
921
Improvements
922
************
923
924
.. Improvements to existing commands, especially improved performance 
925
   or memory usage, or better results.
926
5783.2.4 by John Arbash Meinel
release-notes (aka NEWS) about fixing bug #759091
927
* ``bzr merge`` in large trees is now significantly faster. On a 70k entry
5783.3.6 by John Arbash Meinel
Update release notes
928
  tree, the time went from ~3min down to 30s. This also effects ``bzr pull``
929
  and ``bzr update`` since they use the same merge logic to update the
930
  WorkingTree.  (John Arbash Meinel, #759091)
931
932
* ``bzr revert`` now properly uses ``bzr status``'s optimized
933
  ``iter_changes``. This can be a significant performance difference (33s
934
  to 5s on large trees). (John Arbash Meinel, #759096)
5752.5.3 by John Arbash Meinel
release-notes about fixing bug #740932
935
5740.1.1 by John Arbash Meinel
Integrate into bzr-2.4.
936
* Resolve ``lp:FOO`` urls locally rather than doing an XMLRPC request if
937
  the user has done ``bzr launchpad-login``. The bzr+ssh URLs were already
938
  being handed off to the remote server anyway (xmlrpc has been mapping
939
  ``lp:bzr`` to ``bzr+ssh://bazaar.launchpad.net/+branch/bzr``, rather
940
  than ``bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev`` for a few
941
  months now.) By doing it ourselves, we can cut out substantial startup
942
  time. From Netherlands to London it was taking 368ms to do the XMLRPC
943
  call as much as 2s from Sydney. You can test the local logic by using
944
  ``-Dlaunchpad``.  (John Arbash Meinel, #397739)
945
5783.2.4 by John Arbash Meinel
release-notes (aka NEWS) about fixing bug #759091
946
* When building a new WorkingTree (such as during ``bzr co`` or
947
  ``bzr branch``) we now properly store the stat and hash of files that
948
  are old enough. This saves a fair amount of time on the first
949
  ``bzr status`` (on a 500MB tree, it saves about 30+s).
950
  (John Arbash Meinel, #740932)
951
952
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
953
Bug Fixes
954
*********
955
956
.. Fixes for situations where bzr would previously crash or give incorrect
957
   or undesirable results.
958
5785.1.6 by Martin
Add release notes
959
* Arguments that can't be decoded to unicode in the current posix locale give
960
  a clearer error message without a traceback. (Martin [gz], #745712)
961
5752.3.8 by John Arbash Meinel
Merge bzr.dev 5764 to resolve release-notes (aka NEWS) conflicts
962
* ``bzrlib.log._DEFAULT_REQUEST_PARAMS`` is no longer accidentally
963
  mutated by ``bzrlib.log._apply_log_request_defaults``.  In practice
964
  these default values aren't relied on very often so this probably
965
  wasn't causing any trouble.  (Andrew Bennetts)
5753.3.1 by Andrew Bennetts
Quick fix for an obvious glitch in bzrlib.log: _DEFAULT_REQUEST_PARAMS was being mutated accidentally.
966
5728.5.9 by Andrew Bennetts
Merge latest lp:bzr, move our new release notes entries to the current release.
967
* ``bzr log`` now works on revisions which are not in the current branch.
968
  (Matt Giuca, #241998)
969
5807.4.1 by John Arbash Meinel
Merge Ian's work on faster dirstate operations (not writing out new dirstate for uninteresting changes).
970
* Don't rewrite the dirstate file when non-interesting changes have
971
  occurred. This can significantly improve 'bzr status' times when there
972
  are only small changes to a large tree.
973
  (Ian Clatworthy, John Arbash Meinel, #380202)
974
5752.3.8 by John Arbash Meinel
Merge bzr.dev 5764 to resolve release-notes (aka NEWS) conflicts
975
* Lazy hooks are now reset between test runs. (Jelmer Vernooij, #745566)
5691.2.2 by Jelmer Vernooij
Reset hooks between test runs.
976
5783.2.4 by John Arbash Meinel
release-notes (aka NEWS) about fixing bug #759091
977
* ``bzrlib.merge.Merge`` now calls ``iter_changes`` without
978
  ``include_unversioned=True``. This makes it significantly faster in many
979
  cases, because it only looks at modified files, rather than building
980
  information about all files. This can cause failures in other
981
  TreeTransform code, because it had been expecting to know the names of
982
  things which had not changed (such as parent directories). All cases we
983
  know about so far have been fixed, but there may be fallout for edge
984
  cases that we are missing. (John Arbash Meinel, #759091)
985
5807.5.1 by John Arbash Meinel
Fix bug #767177. Be more agressive with file.close() calls.
986
* ``SFTPTransport`` is more pro-active about closing file-handles. This
987
  reduces the chance of having threads fail from async requests while
5807.5.2 by Martin
Cherry-pick correction of bug number
988
  running the test suite. (John Arbash Meinel, #656170)
5807.5.1 by John Arbash Meinel
Fix bug #767177. Be more agressive with file.close() calls.
989
5672.2.3 by Alexander Belchenko
added NEWS item.
990
* Standalone bzr.exe installation on Windows: user can put additional python 
991
  libraries into ``site-packages`` subdirectory of the installation directory,
992
  this might be required for "installing" extra dependencies for some plugins.
993
  (Alexander Belchenko, #743256)
994
5783.3.4 by John Arbash Meinel
Include update in What's New for the performance improvements and bug #759096
995
* ``transform.revert()`` has been updated to use
996
  ``wt.iter_changes(basis_tree)`` rather than
997
  ``basis_tree.iter_changes(wt)``. This allows the optimized code path to
998
  kick in, improving ``bzr revert`` times significantly (33s to 4s on
999
  large trees, 0.7s to 0.3s on small trees.) (John Arbash Meinel, #759096)
1000
5752.3.7 by John Arbash Meinel
Update release-notes
1001
* ``TreeTransform.create_file/new_file`` can now take an optional ``sha1``
1002
  parameter. If supplied, when the transform is applied, it will then call
1003
  ``self._tree._observed_sha1`` for those files. This lets us update the
1004
  hash-cache for content that we create, preventing us from re-reading the
1005
  content in the next ``bzr status``.  (John Arbash Meinel, #740932)
5752.3.1 by John Arbash Meinel
Merge up from 2.4-windows-lfstat
1006
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
1007
Documentation
1008
*************
1009
5739.1.1 by Andrew Bennetts
Add release-note.
1010
* Added a section about using a shared SSH account on a server for bzr+ssh
1011
  access.  (Russell Smith)
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
1012
5761.1.1 by Martin Pool
Recommend SSH rather than SFTP in user documentation examples
1013
* The documentation now recommends using SSH rather than SFTP in the
1014
  tutorials and the examples, because that will generally be much faster
1015
  and better in cases where it can be used.  SFTP is still available and
1016
  mentioned as an alternative.  (Martin Pool, #636712)
1017
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
1018
API Changes
1019
***********
1020
1021
.. Changes that may require updates in plugins or other code that uses
1022
   bzrlib.
1023
5809.2.3 by Jelmer Vernooij
Kill update_revisions private implementation.
1024
* ``Branch.update_revisions`` has been made private and should no
1025
  longer be used by external users. Use ``Branch.pull`` or ``Branch.push``
5809.2.5 by Jelmer Vernooij
Remove tests related to InterBranch.update_revisions.
1026
  instead. (Jelmer Vernooij, #771765)
5809.2.3 by Jelmer Vernooij
Kill update_revisions private implementation.
1027
5741.3.1 by Martin Pool
Add Command.invoked_as
1028
* Commands now have an `invoked_as` attribute, showing the name under
1029
  which they were called before alias expansion.
5741.3.6 by mbp at sourcefrog
merge news
1030
  (Martin Pool)
1031
5622.3.11 by Jelmer Vernooij
Revert some unnecessary changes.
1032
* ``Hooks.create_hook`` is now deprecated in favour of ``Hooks.add_hook``.
1033
  (Jelmer Vernooij)
1034
5728.4.1 by Martin Pool
bzrlib.initialize now does what you'd expect
1035
* If you call `bzrlib.initialize` but forget to enter the resulting object
1036
  as a context manager, bzrlib will now be initialized anyhow.
1037
  (Previously simple programs calling bzrlib might find the library was
1038
  mysteriously silent.)
1039
  (Martin Pool)
1040
5777.3.4 by Jelmer Vernooij
Add note to release notes, fix PEP8 issue.
1041
* Inventory-specific functionality has been split out of ``Tree`` into
1042
  a new ``InventoryTree`` class. Tree instances no longer
1043
  necessarily provide an ``inventory`` attribute. (Jelmer Vernooij)
1044
5793.2.2 by Jelmer Vernooij
Split inventory-specific code out of RevisionTree into InventoryRevisionTree.
1045
* Inventory-specific functionality has been split out of ``RevisionTree``
1046
  into a new ``InventoryRevisionTree`` class. RevisionTree instances no
1047
  longer necessarily provide an ``inventory`` attribute. (Jelmer Vernooij)
1048
5622.4.2 by Jelmer Vernooij
Allow uninstalling hooks.
1049
* New method ``Hooks.uninstall_named_hook``. (Jelmer Vernooij, #301472)
1050
5766.1.1 by Jelmer Vernooij
Make revision-graph-can-have-wrong-parents a repository format attribute rather than a repository method.
1051
* ``revision_graph_can_have_wrong_parents`` is now an attribute
1052
  on ``RepositoryFormat`` rather than a method on ``Repository``.
1053
  (Jelmer Vernooij)
1054
5798.1.1 by Jelmer Vernooij
Make Testament take a tree rather than a inventory.
1055
* ``Testament`` now takes a ``tree`` rather than an
1056
  ``inventory``. (Jelmer Vernooij, #762608)
1057
5784.1.2 by Martin Pool
Deprecate, and test, failIfExists and failUnlessExists
1058
* ``TestCase.failUnlessExists`` and ``failIfExists`` are deprecated in
1059
  favour of ``assertPathExists`` and ``assertPathDoesNotExist`` 
1060
  respectively.
1061
  (Martin Pool)
1062
5728.5.9 by Andrew Bennetts
Merge latest lp:bzr, move our new release notes entries to the current release.
1063
* The ``revno`` parameter of ``log.LogRevision`` may now be None,
1064
  representing a revision which is not in the current branch.
1065
  (Matt Giuca, #241998)
1066
5757.1.8 by Jelmer Vernooij
Mention moving of knitpack repo formats in release notes.
1067
* The various knit pack repository format classes have been moved
1068
  from ``bzrlib.repofmt.pack_repo`` to
1069
  ``bzrlib.repofmt.knitpack_repo``. (Jelmer Vernooij)
1070
5793.2.4 by Jelmer Vernooij
Add release note.
1071
* ``RevisionTree`` now has a new method ``get_file_revision``.
1072
  (Jelmer Vernooij)
1073
5777.5.2 by Jelmer Vernooij
Split inventory-specific methods and WorkingTree interface method
1074
* ``WorkingTree`` no longer provides an ``inventory``. Instead,
1075
  all inventory-related functionality is now on the subclass
1076
  ``InventoryWorkingTree`` that all native Bazaar working tree
1077
  implementations derive from. (Jelmer Vernooij)
1078
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
1079
Internals
1080
*********
1081
1082
.. Major internal changes, unlikely to be visible to users or plugin 
1083
   developers, but interesting for bzr developers.
1084
5752.2.11 by John Arbash Meinel
Change the release-notes information for this change.
1085
* Added ``osutils.lstat`` and ``osutils.fstat``. These are just the ``os``
1086
  functions on Linux, but they are wrapped on Windows so that fstat
1087
  matches lstat results across all python versions.
1088
  (John Arbash Meinel)
1089
5755.1.1 by John Arbash Meinel
Change WT._observed_sha1 to also update st.st_size.
1090
* ``WorkingTree._observed_sha1`` also updates the 'size' column. It
1091
  happened to be updated as a side-effect of commit, but if we start using
1092
  the function elsewhere we might as well do it directly.
1093
  (John Arbash Meinel)
1094
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
1095
Testing
1096
*******
1097
1098
.. Fixes and changes that are only relevant to bzr's test framework and 
1099
   suite.  This can include new facilities for writing tests, fixes to 
1100
   spurious test failures and changes to the way things should be tested.
1101
5784.1.1 by Martin Pool
Stop using failIf, failUnless, etc
1102
* Stop using `failIf`, `failUnless`, `failIfEqual`, etc, that give
1103
  `PendingDeprecationWarnings` on Python2.7. 
1104
  (Martin Pool, #760435)
1105
5727.1.1 by Vincent Ladeuil
Open trunk again as 2.4dev2
1106
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1107
bzr 2.4b1
1108
#########
1109
5811.1.1 by Vincent Ladeuil
Release 2.4b2
1110
:2.4b1: 2011-03-17
5726.1.1 by Vincent Ladeuil
Release 2.4b1
1111
1112
This is the first beta of the 2.4 series, leading up to a 2.4.0
1113
release in August 2011.  Beta releases are suitable for everyday use
1114
but may cause some incompatibilities with plugins.  Some plugins may need
1115
small updates to work with 2.4b1.
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1116
1117
External Compatibility Breaks
1118
*****************************
1119
5726.1.1 by Vincent Ladeuil
Release 2.4b1
1120
(none)
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1121
1122
New Features
1123
************
1124
5724.2.3 by Andrew Bennetts
Add entries to release-notes and whats-new.
1125
* Added ``changelog_merge`` plugin for merging changes to ``Changelog`` files
1126
  in GNU format.  See ``bzr help changelog_merge`` for details.
1127
  (Andrew Bennetts)
1128
  
5676.1.4 by Jelmer Vernooij
merge bzr.dev.
1129
* Configuration options can now use references to other options in the same
1130
  file by enclosing them with curly brackets (``{other_opt}``). This makes it
1131
  possible to use, for example,
1132
  ``push_location=lp:~vila/bzr/config-{nickname}`` in ``branch.conf`` when
1133
  using a loom. During the beta period, the default behaviour is to disable
1134
  this feature. It can be activated by declaring ``bzr.config.expand = True``
1135
  in ``bazaar.conf``. (Vincent Ladeuil)
1136
5724.2.3 by Andrew Bennetts
Add entries to release-notes and whats-new.
1137
* External merge tools can now be configured in bazaar.conf. See
1138
  ``bzr help configuration`` for more information.  (Gordon Tyler, #489915)
1139
1140
* The ``lp:`` directory service now supports Launchpad's QA staging.
1141
  (Jelmer Vernooij, #667483)
1142
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1143
Improvements
1144
************
1145
5630.2.8 by John Arbash Meinel
Rename the command to 'repair-workingtree' as mentioned by vila.
1146
* A new hidden command ``bzr repair-workingtree``. This is a way to force
5630.2.1 by John Arbash Meinel
Rough outline of what I'm trying to accomplish, docs, etc.
1147
  the dirstate file to be rebuilt, rather than using a ``bzr checkout``
1148
  workaround. (John Arbash Meinel)
1149
5672.1.5 by Andrew Bennetts
Add some tests for RemoteBranch.heads_to_fetch, and add release-note.
1150
* Added a ``Branch.heads_to_fetch`` RPC to the smart server protocol.
1151
  This allows formats from plugins (such as looms) to efficiently tell the
1152
  client which revisions need to be fetched.  (Andrew Bennetts)
1153
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
1154
* Branching, merging and pulling a branch now copies revisions named in
1155
  tags, not just the tag metadata.  (Andrew Bennetts, #309682)
5718.5.24 by Jelmer Vernooij
Add note on gzip mtime on python >= 2.7.
1156
5718.5.6 by Jelmer Vernooij
Update NEWS.
1157
* ``bzr cat-revision`` no longer requires a working tree.
1158
  (Jelmer Vernooij, #704405)
1159
5718.5.24 by Jelmer Vernooij
Add note on gzip mtime on python >= 2.7.
1160
* ``bzr export --per-file-timestamps`` for .tar.gz files will now
1161
  override the mtime for trees exported on Python 2.7 and later, which
1162
  expose the 'mtime' field in gzip files. This makes the output of
1163
  ``bzr export --per-file-timestamps`` for a particular tree
5718.5.6 by Jelmer Vernooij
Update NEWS.
1164
  deterministic.  (Jelmer Vernooij, #711226)
5616.4.1 by Jelmer Vernooij
'bzr cat-revision' no longer requires a working tree.
1165
5718.5.7 by Jelmer Vernooij
Support bzr zip exporting to stdout.
1166
* ``bzr export --format=zip`` can now export to standard output,
1167
  like the other exporters can. (Jelmer Vernooij, #513752)
1168
5718.5.17 by Jelmer Vernooij
Support tar.lzma.
1169
* ``bzr export`` can now create ``.tar.xz`` and ``.tar.lzma`` files.
5718.5.10 by Jelmer Vernooij
Support creating .tar.xz files.
1170
  (Jelmer Vernooij, #551714)
1171
5726.2.1 by John Arbash Meinel
Fix bug #737234. Preload all entries for iter_entries_by_dir().
1172
* Getting all entries from ``CHKInventory.iter_entries_by_dir()`` has been
1173
  sped up dramatically for large trees. Iterating by dir is not the best
1174
  way to load data from a CHK inventory, so it preloads all the items in
1175
  the correct order. (With the gcc-tree, this changes it (re)reading 8GB
1176
  of CHK data, down to just 150MB.) This has noticeable affects for things
1177
  like building checkouts, etc.  (John Arbash Meinel, #737234)
1178
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1179
Bug Fixes
1180
*********
1181
5677.2.11 by Martin
Add NEWS
1182
* A MemoryError thrown on the server during a remote operation will now be
1183
  usefully reported, and other unexpected errors will include the class name.
1184
  (Martin [gz], #722416)
1185
5638.2.5 by Vincent Ladeuil
Add news entry.
1186
* ``bzr annotate -r-1 file`` will now properly annotate a deleted file.
1187
  (Andrew King, #537442)
1188
5664.2.1 by Jelmer Vernooij
Fix setting of mode on directories in zip files.
1189
* ``bzr export`` to zip files will now set a mode on directories.
1190
  (Jelmer Vernooij, #207253)
1191
5718.5.15 by Jelmer Vernooij
Only write out basename of the tarfile to the gzip file.
1192
* ``bzr export`` to tgz files will only write out the basename of the
1193
  tarfile to the gzip file. (Jelmer Vernooij, #102234)
1194
5611.2.1 by Jelmer Vernooij
Fix 'bzr push --overwrite -rOLD_MAINLINE_REV'.
1195
* ``bzr push --overwrite`` with an older revision specified will now correctly
1196
  roll back the target branch. (Jelmer Vernooij, #386576)
1197
5616.1.1 by Jelmer Vernooij
Support 'bzr lp-propose' without an explicit target branch for packaging branches.
1198
* ``bzr lp-propose`` can now propose merges against packaging branches on
5630.1.2 by Vincent Ladeuil
Fix typo.
1199
  Launchpad without requiring the target branch to be specified.
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
1200
  (Jelmer Vernooij, #704647)
5616.1.1 by Jelmer Vernooij
Support 'bzr lp-propose' without an explicit target branch for packaging branches.
1201
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
1202
* ``bzr lp-propose`` no longer requires a reviewer to be specified. It will
1203
  instead leave setting the reviewer up to Launchpad if it was not specified.
5616.5.1 by Jelmer Vernooij
Don't require a reviewer to be specified in lp-propose.
1204
  (Jelmer Vernooij, #583772)
1205
5616.6.2 by Jelmer Vernooij
Merge bzr.dev.
1206
* ``bzr pull`` will now exit with exit code 1 if there were tag conflicts.
1207
  (Jelmer Vernooij, #213185)
1208
5609.8.6 by Martin
Add release notes for change
1209
* ``bzr mv`` user errors no longer throw UnicodeEncodeError with non-ascii
1210
  paths, however they may still print junk if not on a UTF-8 terminal.
1211
  (Martin [gz], #707954)
1212
5651.5.4 by Andrew Bennetts
Add release note.
1213
* ``bzr reconfigure --unstacked`` now copies revisions (and their
1214
  ancestors) named in tags into the unstacked repository, not just the
1215
  ancestry of the branch's tip.  (Andrew Bennetts, #401646)
1216
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
1217
* ``bzr serve`` no longer crashes when a server_started hook is installed and
1218
  IPv6 support is available on the system. (Jelmer Vernooij, #293697)
1219
5802.3.1 by John Arbash Meinel
Fix bug #765881. Having a file added on disk was skipping
1220
* ``bzr status`` will not rewrite the dirstate file if it only has
1221
  'trivial' changes. (Currently limited to dir updates and newly-added
1222
  files changing state.) This saves a bit of time for regular operations.
1223
  eg. ``bzr status`` in a 100k tree takes 1.4s to compute the status, but 1s
1224
  to re-save the dirstate file. (John Arbash Meinel, #765881)
1225
5689.2.2 by Jelmer Vernooij
Fix the use of "bzr tags" in branches with ghosts in their mainline /and/ tags on revisions not in the branch ancestry.
1226
* ``bzr tags`` will no longer choke on branches with ghost revisions in
1227
  their mainline and tags on revisions not in the branch ancestry. 
1228
  (Jelmer Vernooij, #397556)
1229
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
1230
* ``bzr whoami`` will now display an error if both a new identity and
1231
  ``--email`` were specified. (Jelmer Vernooij, #680449)
1232
1233
* ``launchpadlib`` doesn't provide the ``uris`` module in some old versions.
1234
  (Vincent Ladeuil, #706835)
5616.3.1 by Jelmer Vernooij
Print error if both --email and a new identity were specified.
1235
5639.2.1 by Martin Pool
Empty entries in the ``NO_PROXY`` variable are no longer treated as matching every host.
1236
* Empty entries in the ``NO_PROXY`` variable are no longer treated as matching
1237
  every host.
1238
  (Martin Pool, #586341)
1239
5616.7.9 by Martin Pool
Move release note into the 2.4 file
1240
* Plugins incompatible with the current version of bzr no longer produce a
1241
  warning on every command invocation.  Instead, a message is shown by
1242
  ``bzr plugins`` and in crash reports.
1243
  (#704195, Martin Pool)
5616.3.1 by Jelmer Vernooij
Print error if both --email and a new identity were specified.
1244
5662.1.2 by Andrew Bennetts
Add release note.
1245
* The "pretty" version of ``needs_read_lock`` and ``needs_write_lock`` now
1246
  preserves the identity of default parameter values.
1247
  (Andrew Bennetts, #718569)
1248
5651.2.1 by Eric Siegerman
Fix traceback attempting to "bzr dump-btree --raw btree-with-0-rows".
1249
* ``bzr dump-btree --raw`` no longer tracebacks on a B-Tree file
5651.2.2 by Eric Siegerman
Add the bug# to release notes, and call --fixes on it.
1250
  containing no rows. (Eric Siegerman, #715508)
5651.2.1 by Eric Siegerman
Fix traceback attempting to "bzr dump-btree --raw btree-with-0-rows".
1251
5657.1.1 by Max Bowsher
Fix bzr lp-mirror to work on command line branch URLs and branches
1252
* Fix ``bzr lp-mirror`` to work on command line branch URLs and branches
1253
  without an explicit public location. (Max Bowsher)
1254
5677.1.1 by Jelmer Vernooij
On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the number of available processors.
1255
* On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the
5677.1.4 by Jelmer Vernooij
Add bug #
1256
  number of available processors. (Jelmer Vernooij, #693140)
5677.1.1 by Jelmer Vernooij
On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the number of available processors.
1257
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1258
API Changes
1259
***********
1260
5742.1.1 by Vincent Ladeuil
Some post-release tweaks.
1261
* Added ``Branch.heads_to_fetch`` method.  Implementations of the Branch API
5672.1.2 by Andrew Bennetts
Add API change to release notes.
1262
  must now inherit or implement this method.  (Andrew Bennetts, #721328)
1263
  
5321.1.117 by Gordon Tyler
Moved mergetools-related NEWS from bzr-2.3.txt to bzr-2.4.txt.
1264
* Added ``bzrlib.mergetools`` module with helper functions for working with
1265
  the list of external merge tools. (Gordon Tyler, #489915)
1266
5670.1.1 by Jelmer Vernooij
Remove all methods and arguments that were deprecated before bzr 2.0.0.
1267
* All methods and arguments that were deprecated before 2.0
1268
  have been removed. (Jelmer Vernooij)
1269
5662.2.5 by Jelmer Vernooij
Update release notes.
1270
* Branch formats should now be registered on the format registry
1271
  (``bzrlib.branch.format_registry``) rather than using the class
1272
  methods on ``BranchFormat``. (Jelmer Vernooij, #714729)
1273
5718.7.3 by Jelmer Vernooij
Update NEWS.
1274
* ``Branch.set_revision_history`` is now deprecated.
1275
  (Jelmer Vernooij)
1276
5674.1.2 by Jelmer Vernooij
Update NEWS.
1277
* ``BranchFormat.supports_leaving_lock()`` and
1278
  ``RepositoryFormat.supports_leaving_lock`` flags have been added.
1279
  (Jelmer Vernooij)
1280
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
1281
* ``Branch.fetch`` implementations must now accept an optional
5741.1.5 by Jelmer Vernooij
Have Branch.fetch() take a fetch_tags argument rather than a fetch_spec argument.
1282
  ``fetch_tags`` keyword argument. (Andrew Bennetts)
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
1283
1284
* ``Branch.import_last_revision_info`` is deprecated.  Use the
1285
  ``import_last_revision_info_and_tags`` method instead.
1286
  (Andrew Bennetts)
1287
5735.1.2 by Jelmer Vernooij
Update release notes.
1288
* Because it was too specific to BzrDir implementations,
1289
  ``ControlDir.sprout`` no longer has a default implementation; it now
1290
  raises ``NotImplementedError``. (Jelmer Vernooij, #717937)
1291
5718.9.2 by Jelmer Vernooij
Merge bzr.dev.
1292
* ``bzrlib.deprecated_graph`` has been removed. ``bzrlib.graph``
1293
  scales better tree and should be used instead.
1294
  (Jelmer Vernooij, #733612)
1295
5712.3.20 by Jelmer Vernooij
Update release notes.
1296
* ``ControlDirFormat.register_format`` has been removed. Instead,
1297
  ``Prober`` implementations should now implement a ``known_formats``
1298
  method. (Jelmer Vernooij)
5712.3.11 by Jelmer Vernooij
Update release notes.
1299
5717.1.3 by Jelmer Vernooij
Rename check_supported to check_status.
1300
* ControlDirFormats can now provide a ``check_status`` method and
1301
  raise a custom exception or warning when an unsupported or deprecated
1302
  format is being opened.  (Jelmer Vernooij, #731311)
5718.9.1 by Jelmer Vernooij
Remove bzrlib.deprecated_graph.
1303
5671.5.1 by Jelmer Vernooij
Allow lazily registering possible DWIM revspecs.
1304
* ``bzrlib.revionspec.dwim_revspecs`` is deprecated.
1305
  Use ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_revspec`` and
1306
  ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_lazy_revspec``
1307
  instead.  (Jelmer Vernooij, #721971)
1308
5673.1.3 by Jelmer Vernooij
Change flexible_components to fixed_components.
1309
* ``BzrDirFormat`` has a new attribute ``fixed_components`` that
1310
  indicates whether the components of the bzrdir can be upgraded
1311
  independent of the ``BzrDir``. (Jelmer Vernooij)
1312
5712.3.2 by Jelmer Vernooij
Deprecate BzrProber.{un,}register_format in favour of format registry.
1313
* ``BzrProber.register_format`` and ``BzrProber.unregister_format`` are
1314
  now deprecated in favour of the ``BzrProber.formats`` format registry.
1315
  (Jelmer Vernooij)
1316
5726.1.1 by Vincent Ladeuil
Release 2.4b1
1317
* ``ControlDir`` implementations no longer have to provide the
1318
  ``get_branch_transport``, ``get_workingtree_transport`` and
1319
  ``get_repository_transport`` methods.  (Jelmer Vernooij, #730325)
5699.4.4 by Jelmer Vernooij
Update NEWS.
1320
5692.1.2 by Jelmer Vernooij
Update release notes.
1321
* ``Converter`` has been moved from ``bzrlib.bzrdir`` to
1322
  ``bzrlib.controldir``. (Jelmer Vernooij)
1323
5676.1.5 by Jelmer Vernooij
Merge control component format registry
1324
* Repository formats can now provide
1325
  ``_get_extra_interrepo_test_combinations`` in the same module 
1326
  to provide extra test combinations for ``bzrlib.tests.per_repository``.
1327
  (Jelmer Vernooij)
1328
5651.3.8 by Jelmer Vernooij
update NEWS.
1329
* Repository formats should now be registered on the format registry
1330
  (``bzrlib.repository.format_registry``) rather than using the class
1331
  methods on ``RepositoryFormat``. (Jelmer Vernooij)
1332
5684.2.1 by Jelmer Vernooij
Add bzrlib.tests.per_repository_vf.
1333
* Repository formats can now indicate they do not support the full
1334
  VersionedFiles API by setting the ``supports_full_versioned_files``
1335
  attribute to False. A subset of the VersionedFiles API
1336
  (signatures and text graphs) still needs to be supported.
1337
  (Jelmer Vernooij)
1338
5675.2.4 by Jelmer Vernooij
Update NEWS.
1339
* Repository formats have a new method ``is_deprecated`` that
1340
  implementations can override to return True to trigger a deprecation
1341
  warning. (Jelmer Vernooij)
1342
5536.3.3 by Andrew Bennetts
Merge lp:bzr.
1343
* The ``revision_id`` parameter of
1344
  ``Repository.search_missing_revision_ids`` and
1345
  ``InterRepository.search_missing_revision_ids`` is deprecated.  It is
1346
  replaced by the ``revision_ids`` parameter.  (Andrew Bennetts)
1347
5662.3.2 by Jelmer Vernooij
Update release notes.
1348
* Working tree formats should now be registered on the format registry
1349
  (``bzrlib.working_tree.format_registry``) rather than using the class
1350
  methods on ``WorkingTreeFormat``. (Jelmer Vernooij, #714730)
1351
5957.3.1 by Vincent Ladeuil
Exporting may now be done with a generator
1352
* Exporting may now be done with a generator
1353
  (``bzrlib.export.get_export_generator``) (Geoff/xaav, #791005)
5952.1.25 by geoffreyfishing at gmail
Updated release notes & What's new.
1354
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1355
Internals
1356
*********
1357
5652.1.3 by Vincent Ladeuil
Add news entry.
1358
* ``CatchingExceptionThread`` (formerly ThreadWithException) has been moved
1359
  out of the ``bzrlib.tests`` hierarchy to make it clearer that it can be used
1360
  outside of tests. This class makes it easier to track exceptions in threads
5742.1.1 by Vincent Ladeuil
Some post-release tweaks.
1361
  by catching them so they can be re-raised in the controlling thread. It's
5652.1.6 by Vincent Ladeuil
thread is already a python module, avoid confusion and use cethread instead.
1362
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
5652.1.3 by Vincent Ladeuil
Add news entry.
1363
6015.16.2 by Vincent Ladeuil
Release 2.4.0
1364
* Correctly propagate malloc failures from diff-delta.c code as MemoryError
5698.2.9 by Martin
Add release notes
1365
  so OOM conditions during groupcompress are clearly reported. This entailed a
1366
  change to several function signatures. (Martin [gz], #633336)
1367
5622.1.1 by Jelmer Vernooij
Allow lazily loading hook callbacks.
1368
* ``HookPoint.lazy_hook`` and ``Hooks.install_named_lazy_hook`` can install 
1369
  hooks for which the callable is loaded lazily.  (Jelmer Vernooij)
1370
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1371
Testing
1372
*******
1373
5705.1.1 by Vincent Ladeuil
Correctly parse partial range specifiers in the HTTP test server
1374
* The Range parsing for HTTP requests will correctly parse incomplete ranges.
1375
  (Vincent Ladeuil, #731240)
1376
5630.2.1 by John Arbash Meinel
Rough outline of what I'm trying to accomplish, docs, etc.
1377
..
1378
   vim: tw=74 ft=rst ff=unix