/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

Merge fix for bug #388269 into trunk, resolve conflicts and add release notes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
Bazaar Release Notes
 
3
####################
 
4
 
 
5
.. toctree::
 
6
   :maxdepth: 1
 
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
* ``config.LocationMatcher`` properly excludes unrelated sections.
 
36
  (Vincent Ladeuil, #829237)
 
37
 
 
38
* ``dirstate.fdatasync`` and ``repository.fdatasync`` can now properly be
 
39
  disabled. (Vincent Ladeuil, #824513)
 
40
 
 
41
* Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
 
42
 
 
43
Documentation
 
44
*************
 
45
 
 
46
.. Improved or updated documentation.
 
47
 
 
48
* Corrected documentation for BZR_PROGRESS_BAR. 
 
49
  (Dennis Benzinger, #735417)
 
50
 
 
51
API Changes
 
52
***********
 
53
 
 
54
.. Changes that may require updates in plugins or other code that uses
 
55
   bzrlib.
 
56
 
 
57
Internals
 
58
*********
 
59
 
 
60
.. Major internal changes, unlikely to be visible to users or plugin 
 
61
   developers, but interesting for bzr developers.
 
62
 
 
63
Testing
 
64
*******
 
65
 
 
66
.. Fixes and changes that are only relevant to bzr's test framework and 
 
67
   suite.  This can include new facilities for writing tests, fixes to 
 
68
   spurious test failures and changes to the way things should be tested.
 
69
 
 
70
 
 
71
bzr 2.4.0
 
72
#########
 
73
 
 
74
:2.4.0: 2011-08-11
 
75
 
 
76
This release marks the start of a new long-term-stable series. From here, we
 
77
will only make bugfix releases on the 2.4 series (2.4.1, etc, and support it
 
78
until February 2013), while 2.5 will become our new development series.
 
79
 
 
80
This is a bugfix and polish release over the 2.3 series, with a large number
 
81
of bugs fixed (>150 for the 2.4 series alone), and some performance
 
82
improvements. Support for python 2.4 and 2.5 has been dropped, many large
 
83
working tree operations have been optimized as well as some stacked branches
 
84
operations.
 
85
 
 
86
Only bugfixes from other stables series have been included since 2.4b5 so
 
87
all known fixed bugs are included here.
 
88
 
 
89
Users are encouraged to upgrade from the other stable series.
 
90
 
 
91
 
 
92
External Compatibility Breaks
 
93
*****************************
 
94
 
 
95
.. These may require users to change the way they use Bazaar.
 
96
 
 
97
New Features
 
98
************
 
99
 
 
100
.. New commands, options, etc that users may wish to try out.
 
101
 
 
102
Improvements
 
103
************
 
104
 
 
105
.. Improvements to existing commands, especially improved performance 
 
106
   or memory usage, or better results.
 
107
 
 
108
Bug Fixes
 
109
*********
 
110
 
 
111
.. Fixes for situations where bzr would previously crash or give incorrect
 
112
   or undesirable results.
 
113
 
 
114
* A call to CHKInventory's filter-method will not result in a
 
115
  DuplicateFileId error, if you move a subfolder and change a file in
 
116
  that subfolder.
 
117
  (Bastian Bowe, #809901)
 
118
 
 
119
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
 
120
  checks to see if the most recent published source package version for
 
121
  that project is present in the branch tags. This should help developers
 
122
  trust whether the packaging branch is up-to-date and can be used for new
 
123
  changes. The level of verbosity is controlled by the config item
 
124
  ``launchpad.packaging_verbosity``. It can be set to one of
 
125
 
 
126
  off
 
127
    disable all checks
 
128
 
 
129
 
 
130
  minimal
 
131
    only display if the branch is out-of-date
 
132
 
 
133
  short
 
134
    also display single-line up-to-date and missing,
 
135
 
 
136
 
 
137
  all
 
138
    (default) display multi-line content for all states
 
139
 
 
140
 
 
141
  (John Arbash Meinel, #609187, #812928)
 
142
 
 
143
* Cope with not all Python versions having a ``clear`` method on
 
144
  ``TestCase._type_equality_funcs``.
 
145
  (Martin [gz], Jelmer Vernooij, #809048)
 
146
 
 
147
* Fetching tags when fetching the tip revision of a branch is now
 
148
  controlled by the config setting ``branch.fetch_tags``. The behavior has
 
149
  been reverted to 2.3's not-fetching tagged revisions by default.
 
150
  (John Arbash Meinel, #771184)
 
151
 
 
152
* The fix for bug #513709 caused us to open a new connection when
 
153
  switching a lightweight checkout that was pointing at a bound branch.
 
154
  This isn't necessary because we know the master URL without opening it,
 
155
  avoiding an extra SSH connection, etc.
 
156
  (John Arbash Meinel, #812285)
 
157
 
 
158
 
 
159
Documentation
 
160
*************
 
161
 
 
162
.. Improved or updated documentation.
 
163
 
 
164
API Changes
 
165
***********
 
166
 
 
167
.. Changes that may require updates in plugins or other code that uses
 
168
   bzrlib.
 
169
 
 
170
Internals
 
171
*********
 
172
 
 
173
.. Major internal changes, unlikely to be visible to users or plugin 
 
174
   developers, but interesting for bzr developers.
 
175
 
 
176
Testing
 
177
*******
 
178
 
 
179
.. Fixes and changes that are only relevant to bzr's test framework and 
 
180
   suite.  This can include new facilities for writing tests, fixes to 
 
181
   spurious test failures and changes to the way things should be tested.
 
182
 
 
183
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
 
184
  cleanly and reliably allows tests using `BranchBuilder` to construct
 
185
  branches that e.g. rename files out of a directory and unversion that
 
186
  directory in the same revision.  Previously some changes were impossible
 
187
  due to the order that `build_snapshot` performs its actions.
 
188
  (Andrew Bennetts)
 
189
 
 
190
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
 
191
  just compares the bytes in the dirstate file to its pristine state,
 
192
  rather than opening the WorkingTree and calling ``last_revision()``.
 
193
  This reduces the overall test suite time by about 10% on my laptop.
 
194
  (Andrew Bennetts)
 
195
 
 
196
 
 
197
bzr 2.4b5
 
198
#########
 
199
 
 
200
:2.4b5: 2011-07-07
 
201
 
 
202
This is the fifth (and last) beta of the 2.4 series leading to
 
203
2.4.0 release in August 2011. Beta releases are suitable for
 
204
everyday use but may cause some incompatibilities with plugins.
 
205
 
 
206
This release includes all bug fixed in previous series known at
 
207
the time of this release.
 
208
 
 
209
External Compatibility Breaks
 
210
*****************************
 
211
 
 
212
None.
 
213
 
 
214
New Features
 
215
************
 
216
 
 
217
* New command ``verify-signatures`` to check if all commits or specified commits
 
218
  have digital signatures from trusted keys.  Requires python-gpgme to be
 
219
  installed.
 
220
 
 
221
* New option ``--signatures`` for ``bzr log`` to display digital signature
 
222
  verification results for each commit.
 
223
 
 
224
* Config option acceptable_keys to list which GPG keys are verified as trusted.
 
225
 
 
226
* Config option validate_signatures_in_log to always show signatures in 
 
227
  ``bzr log``.
 
228
 
 
229
Improvements
 
230
************
 
231
 
 
232
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
 
233
  (Andrew Bennetts).
 
234
 
 
235
* Pack, dirstate, and index files are synced to persistent storage if 
 
236
  possible when writing finishes, to reduce the risk of problems caused by
 
237
  a machine crash or similar problem.  This can be turned off through the
 
238
  ``dirstate.fdatasync`` and ``repository.fdatasync`` options, which can
 
239
  be set in ``locations.conf`` or ``bazaar.conf``.  (Martin Pool,
 
240
  #343427)
 
241
 
 
242
Bug Fixes
 
243
*********
 
244
 
 
245
* Display a proper error message when a config file content cannot be
 
246
  decoded as UTF-8 or when it cannot be parsed.
 
247
  (Vincent Ladeuil, #502060, #688677, #797246)
 
248
 
 
249
* Generate a single conflict (instead of two) when merging a branch
 
250
  modifying and renaming a file in a branch that deleted it (or vice-versa).
 
251
  (Vincent Ladeuil, #688101)
 
252
 
 
253
* Give a more helpful message when the bzr executable doesn't match the
 
254
  library.  (This typically happens because of a misconfigured PYTHONPATH
 
255
  or half-installed bzr.)  
 
256
  (Martin Pool, #804553)
 
257
 
 
258
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
 
259
 
 
260
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
 
261
  keys rather than ids. (Jelmer Vernooij, #799677)
 
262
 
 
263
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
 
264
  is present. (Jelmer Vernooij, #801257)
 
265
 
 
266
API Changes
 
267
***********
 
268
 
 
269
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
 
270
  ``RepositoryFormat.supports_versioned_directories``.
 
271
  (Jelmer Vernooij, #765815)
 
272
 
 
273
* The "revno" field type when using the python version-info format is now
 
274
  a string (to handle dotted revnos) (Benoît Pierre, #796259)
 
275
 
 
276
Internals
 
277
*********
 
278
 
 
279
* Start implementing localization, starting with command help text (but not
 
280
  the command options themselves). This will allow bootstrapping the bzr
 
281
  internationalization process. (Inada Naoki)
 
282
 
 
283
Testing
 
284
*******
 
285
 
 
286
* Fix test failures when running as a homeless user (debian buildd). Tests
 
287
  leaking into ``${HOME}/.bzr.log`` should be detected properly now.
 
288
  (Vincent Ladeuil, #798698)
 
289
 
 
290
bzr 2.4b4
 
291
#########
 
292
 
 
293
:2.4b4: 2011-06-16
 
294
 
 
295
This is the fourth beta of the 2.4 series, leading to a 2.4.0 release in
 
296
August 2011. Beta releases are suitable for everyday use but may cause some
 
297
incompatibilities with plugins.
 
298
 
 
299
This release includes all bug fixed in previous series known at the time of
 
300
this release.
 
301
 
 
302
 
 
303
External Compatibility Breaks
 
304
*****************************
 
305
 
 
306
.. These may require users to change the way they use Bazaar.
 
307
 
 
308
* Do not treat configuration option 'check_signatures = require' as if
 
309
  it were 'create_signatures = always' (Jonathan Riddell)
 
310
 
 
311
New Features
 
312
************
 
313
 
 
314
.. New commands, options, etc that users may wish to try out.
 
315
 
 
316
* Hooks have been added for config stacks: ``get``, ``set`` and ``remove``
 
317
  are called when an option is respectively read, modified or deleted. Also
 
318
  added ``load`` and ``save`` hooks for config stores, called when the
 
319
  stores are loaded or saved.  (Vincent Ladeuil)
 
320
 
 
321
* New hook server_exception in bzrlib.smart.server to catch any
 
322
  exception caused while running bzr serve.
 
323
  (Jonathan Riddell, #274578)
 
324
 
 
325
* New hook set_commit_message in bzrlib.msgeditor to set a commit message
 
326
  and revision properties.  (Jonathan Riddell, #274578)
 
327
 
 
328
* Support ``-S`` as an alias for ``--short`` for the ``log`` and
 
329
  ``missing`` commands. (Martin von Gagern, #38655)
 
330
 
 
331
Improvements
 
332
************
 
333
 
 
334
.. Improvements to existing commands, especially improved performance 
 
335
   or memory usage, or better results.
 
336
 
 
337
* ``bzr annotate`` can be run without setting whoami data first.
 
338
  (Jonathan Riddell, #667408)
 
339
 
 
340
Bug Fixes
 
341
*********
 
342
 
 
343
.. Fixes for situations where bzr would previously crash or give incorrect
 
344
   or undesirable results.
 
345
 
 
346
* Bazaar can now detect when a lock file is held by a dead process
 
347
  originating from the same machine, and steal the lock after printing a
 
348
  message to the user.  This is off by default, for safety, but can be
 
349
  turned on by setting the configuration variable ``locks.steal_dead`` to
 
350
  ``True``.
 
351
  (Martin Pool, #220464)
 
352
 
 
353
* ``bzr version-info`` now works when the tree is on a dotted revno.
 
354
  (Benoît Pierre, #796259)
 
355
 
 
356
* Credentials in the log output produced by ``-Dhttp`` are masked so users
 
357
  can more freely post them in bug reports. (Vincent Ladeuil, #723074)
 
358
 
 
359
* Fix a race condition for ``server_started`` hooks leading to a spurious
 
360
  test failure. (Vincent Ladeuil, #789167)
 
361
 
 
362
* Fix exporting subdirectory with ``--per-file-timestamps``.
 
363
  (Szilveszter Farkas, #795557)
 
364
 
 
365
* Handle files that get created but don't get used during TreeTransform.
 
366
  ``open()`` can create a file, and still raise an exception before it
 
367
  returns. So anything we might have created, make sure we destroy during
 
368
  ``finalize()``. (Martin [gz], #597686)
 
369
 
 
370
* ``pack_repo`` now uses ``Transport.move`` instead of
 
371
  ``Transport.rename``, deleting any existing targets even on SFTP.
 
372
  (Martin von Gagern, #421776)
 
373
 
 
374
* Pass the ``build_mo`` command to the rest of the setup() calls in
 
375
  setup.py. The ``bdist_wininst`` and ``py2exe`` code paths were failing
 
376
  because ``build_mo`` became a required step that they didn't know about.
 
377
  (John Arbash Meinel, #787122)
 
378
 
 
379
* Preserve existing ``root-id`` when merging an unrelated branch.
 
380
  (Aaron Bentley, #806356)
 
381
 
 
382
* Properly avoid re-adding a file after it changes case on CICP
 
383
  filesystems. (John Arbash Meinel, #798130)
 
384
 
 
385
* Reports the original error when an InvalidHttpResponse exception is
 
386
  encountered to facilitate debug. (Vincent Ladeuil, #788530)
 
387
 
 
388
* Reports a non-existent file error when trying to merge in a file
 
389
  that does not exist. (Jonathan Riddell, #330063)
 
390
 
 
391
* ``UIFactory.prompt``, ``UIFactory.get_username``,
 
392
  ``UIFactory.get_password`` and ``UIFactory.get_boolean`` now require a
 
393
  unicode prompt to be passed in. (Jelmer Vernooij, #592083)
 
394
 
 
395
* Support merging into the empty tree. (Aaron Bentley, #595328)
 
396
 
 
397
Documentation
 
398
*************
 
399
 
 
400
.. Improved or updated documentation.
 
401
 
 
402
* Improve documentation of ``bzr merge --force``.
 
403
  (Neil Martinsen-Burrell, #767307)
 
404
 
 
405
* Make docs for configuration options for digital signatures match 
 
406
  reality. (Jonathan Riddell)
 
407
 
 
408
* Add user-guide page on GPG signatures. (Jonathan Riddell)
 
409
 
 
410
API Changes
 
411
***********
 
412
 
 
413
.. Changes that may require updates in plugins or other code that uses
 
414
   bzrlib.
 
415
 
 
416
* Checking for a file id in a `Tree` or `Inventory` using ``in`` is now
 
417
  deprecated.  Instead, use `has_id`.
 
418
  (Martin Pool)
 
419
 
 
420
* Exporters are now all exposed as generators, rather than as single-call
 
421
  functions, so that calling code can take stream the output.
 
422
  (Xaav, Martin Pool)
 
423
 
 
424
* Information about held lockdir locks returned from eg `LockDir.peek` is
 
425
  now represented as a `LockHeldInfo` object, rather than a plain
 
426
  Python dict.
 
427
  (Martin Pool)
 
428
 
 
429
* Remove `file_status` function.
 
430
  (Martin Pool)
 
431
 
 
432
* ``Repository.iter_reverse_revision_history`` is now deprecated.
 
433
  Use ``Graph.iter_lefthand_ancestry`` instead.
 
434
  (Jelmer Vernooij, #739481)
 
435
 
 
436
* ``Repository.get_ancestry`` has been deprecated. Use
 
437
  ``Graph.iter_ancestry`` instead.
 
438
  (Jelmer Vernooij, #784511)
 
439
 
 
440
Internals
 
441
*********
 
442
 
 
443
.. Major internal changes, unlikely to be visible to users or plugin 
 
444
   developers, but interesting for bzr developers.
 
445
 
 
446
* ``tools/check-newsbugs.py`` accepts a ``--browser`` option to open
 
447
  corresponding launchpad pages in a browser. (Vincent Ladeuil)
 
448
 
 
449
Testing
 
450
*******
 
451
 
 
452
.. Fixes and changes that are only relevant to bzr's test framework and 
 
453
   suite.  This can include new facilities for writing tests, fixes to 
 
454
   spurious test failures and changes to the way things should be tested.
 
455
 
 
456
* A `ImportTariffTestCase` base class has been added in
 
457
  ``bzrlib.tests.test_import_tariff``, which can be used for import tariff
 
458
  tests in plugins. (Jelmer Vernooij, #793465)
 
459
 
 
460
* Fix deadlock in `TestImportTariffs.test_simple_serve` when stderr gets
 
461
  more output than fits in the default buffer.  This was happening on the
 
462
  Windows buildslave, and could easily happen in other circumstances where
 
463
  the default OS buffer size for pipes is small or the ``python -v``
 
464
  output is large.  (Andrew Bennetts, #784802)
 
465
 
 
466
* Fix spurious test failure on OSX for WorkingTreeFormat2.
 
467
  (Vincent Ladeuil, #787942)
 
468
 
 
469
* Re-target ``bb.test_merge.TestMerge.test_merge_reversed_revision_range``
 
470
  and rewrite it as a parametrized test to avoid unrelated failures.
 
471
  (Vincent Ladeuil, #795456)
 
472
 
 
473
* Show log file contents from subprocesses started by
 
474
  `start_bzr_subprocess` in test failure details.  This may help diagnose
 
475
  strange hangs and failures involving subprocesses.  (Andrew Bennetts)
 
476
 
 
477
* Skip ``utextwrap`` tests when ``sphinx`` breaks text_wrap by an hostile
 
478
  monkey-patch to textwrap.TextWrapper.wordsep_re.
 
479
  (Vincent Ladeuil, #785098)
 
480
 
 
481
* Multiple ``selftest --exclude`` options are now combined instead of
 
482
  overriding each other. (Vincent Ladeuil, #746991)
 
483
 
 
484
* Restore some ``FTPTransport`` test coverage by allowing ``pyftpdlib
 
485
  0.6.0`` to be used. Also restore ``medusa`` support while leaving it
 
486
  disabled to make it easier to use if/when we can in the future.
 
487
  (Vincent Ladeuil, #781140)
 
488
 
 
489
* `TestImportTariffs` no longer uses the real ``$HOME``.  This prevents it
 
490
  from polluting ``$HOME/.bzr.log`` or being accidentally influenced by
 
491
  user configuration such as aliases.  It still runs with all the user's
 
492
  plugins enabled, as intended.
 
493
  (Vincent Ladeuil, Andrew Bennetts, #789505)
 
494
 
 
495
 
 
496
bzr 2.4b3
 
497
#########
 
498
 
 
499
:2.4b3: 2011-05-26
 
500
 
 
501
This is the third beta of the 2.4 series, leading to a 2.4.0 release in
 
502
August 2011. Beta releases are suitable for everyday use but may cause some
 
503
incompatibilities with plugins.
 
504
 
 
505
This release includes all bug fixed in previous series known at the time of
 
506
this release.
 
507
 
 
508
 
 
509
External Compatibility Breaks
 
510
*****************************
 
511
 
 
512
.. These may require users to change the way they use Bazaar.
 
513
 
 
514
* ``bzr-2.4`` has officially dropped support for python2.4 and python2.5.
 
515
  We will continue to maintain ``bzr-2.3`` for people who still need to
 
516
  use those versions of python. (John Arbash Meinel)
 
517
 
 
518
New Features
 
519
************
 
520
 
 
521
.. New commands, options, etc that users may wish to try out.
 
522
 
 
523
* The text compressor used for 2a repositories now has a tweakable
 
524
  parameter that can be set in bazaar.conf.
 
525
  ``bzr.groupcompress.max_entries_per_source`` default of 65536.
 
526
  When doing compression, we build up an index of locations to match
 
527
  against. Setting this higher will result in slightly better compression,
 
528
  at a cost of more memory. Note that a value of 65k represents fully
 
529
  sampling a 1MB file. So this only has an effect when compressing texts
 
530
  larger than N*16 bytes. (John Arbash Meinel, #602614)
 
531
 
 
532
Improvements
 
533
************
 
534
 
 
535
.. Improvements to existing commands, especially improved performance 
 
536
   or memory usage, or better results.
 
537
 
 
538
* ``bzr branch --stacked`` from a smart server uses the network a little
 
539
  more efficiently.  For a simple branch it reduces the number of
 
540
  round-trips by about 20%.  (Andrew Bennetts)
 
541
 
 
542
* ``bzr log --line`` scales the width of the author field with the size of
 
543
  the line.  This means that the full author name is shown when the
 
544
  environment variable BZR_COLUMNS=0.  (Neil Martinsen-Burrell)
 
545
 
 
546
* ``bzr pull`` now properly triggers the fast
 
547
  ``CHKInventory.iter_changes`` rather than the slow generic
 
548
  inter-Inventory changes. It used to use a ``DirStateRevisionTree`` as
 
549
  one of the source trees, which is faster when we have to read the whole
 
550
  inventory anyway, but much slower when we can get just the delta out of
 
551
  the repository. On a 70k record tree, this changes ``bzr pull`` from 28s
 
552
  down to 17s. (John Arbash Meinel, #780677)
 
553
 
 
554
* Slightly reduced memory consumption when fetching into a 2a repository
 
555
  by reusing existing caching a little better.  (Andrew Bennetts)
 
556
 
 
557
* Speed up ``bzr status`` by a little bit when there are a couple of
 
558
  modified files. We now track how many files we have seen that need
 
559
  updating, and only rewrite the dirstate file if enough of them have
 
560
  changed. The default is 10, and can be overridden by setting the branch
 
561
  option "``bzr.workingtree.worth_saving_limit``".
 
562
  (Ian Clatworthy, John Arbash Meinel, #380202)
 
563
 
 
564
* Speed up ``bzr uncommit``. Instead of resetting the dirstate from
 
565
  scratch, use ``update_basis_by_delta``, computing the delta from the
 
566
  repository. (John Arbash Meinel, #780544)
 
567
 
 
568
Bug Fixes
 
569
*********
 
570
 
 
571
.. Fixes for situations where bzr would previously crash or give incorrect
 
572
   or undesirable results.
 
573
 
 
574
* All Tree types can now be exported as tar.*, zip or directories.
 
575
  (Aaron Bentley)
 
576
  
 
577
* ``bzr merge --no-remember location`` never sets ``submit_branch``.
 
578
  (Vincent Ladeuil, #782169)
 
579
 
 
580
* ``bzr pull --no-remember location`` never sets
 
581
  ``parent_location``.  ``bzr push --no-remember location`` never
 
582
  sets ``push_location``.  ``bzr send --no-remember
 
583
  submit_location public_location`` never sets ``submit_branch``
 
584
  nor ``public_branch``.  (Vincent Ladeuil)
 
585
 
 
586
* Conflicts involving non-ascii filenames are now properly reported rather
 
587
  than failing with a UnicodeEncodeError. (Martin [GZ], #686161)
 
588
 
 
589
* Correct parent is now set when using 'switch -b' with bound branches.
 
590
  (A. S. Budden, #513709)
 
591
 
 
592
* Fix `bzr plugins` regression in bzr 2.4 which resulted in a traceback
 
593
  from writelines on ckj terminals. (Martin [GZ], #754082)
 
594
 
 
595
* ``WT.inventory`` and ``WT.iter_entries_by_dir()`` was not correctly
 
596
  reporting subdirectories that were tree references (in formats that
 
597
  supported them). (John Arbash Meinel, #764677)
 
598
 
 
599
* Merging into empty branches now gives an error as this is currently
 
600
  not supported. (Jonathan Riddell, #242175)
 
601
 
 
602
* Do not show exception to user on pointless commit error.
 
603
  (Jonathan Riddell #317357)
 
604
 
 
605
* ``WT.update_basis_by_delta`` no longer requires that the deltas match
 
606
  the current WT state. This allows ``update_basis_by_delta`` to be used
 
607
  by more commands than just commit. Updating with a delta allows us to
 
608
  not load the whole inventory, which can take 10+s with large trees.
 
609
  (Jonathan Riddell, John Arbash Meinel, #781168)
 
610
 
 
611
* ``bzr mv --after old_name new_name`` now works if "new_name" is newly
 
612
  added. (Benoît Pierre)
 
613
 
 
614
 
 
615
Documentation
 
616
*************
 
617
 
 
618
.. Improved or updated documentation.
 
619
 
 
620
* Restore the workaround for option names including dots (--1.14) which was
 
621
  disabled when we stopped listing --1.9 as a format.
 
622
  (Vincent Ladeuil, #782289)
 
623
 
 
624
API Changes
 
625
***********
 
626
 
 
627
.. Changes that may require updates in plugins or other code that uses
 
628
   bzrlib.
 
629
 
 
630
* ``annotate_file`` has been deprecated in favor of
 
631
  ``annotate_file_revision_tree``. (Jelmer Vernooij, #775598)
 
632
 
 
633
* ``Branch.fetch`` now takes an optional ``limit`` argument.
 
634
  (Andrew Bennetts, Jelmer Vernooij, #750175)
 
635
 
 
636
* ``Inter.get`` now raises ``NoCompatibleInter`` if there are no
 
637
  compatible optimisers rather than an instance of the class it is called
 
638
  on. (Jelmer Vernooij)
 
639
 
 
640
* ``Branch.push`` now takes a ``lossy`` argument.
 
641
  ``Branch.lossy_push`` has been removed.
 
642
  (Jelmer Vernooij)
 
643
 
 
644
* New method ``Repository.get_file_graph`` which can return the
 
645
  per-file revision graph. (Jelmer Vernooij, #775578)
 
646
 
 
647
* The default implementation of ``Branch`` is now oriented to
 
648
  storing the branch tip. Branch implementations which store the full
 
649
  history should now subclass ``FullHistoryBzrBranch``.
 
650
  ``Branch._last_revision_info`` has been renamed to
 
651
  ``Branch._read_last_revision_info`` (Jelmer Vernooij)
 
652
 
 
653
* ``Tree.__iter__`` has been deprecated; use ``Tree.all_file_ids``
 
654
  instead.  (Jelmer Vernooij)
 
655
 
 
656
* ``Tree.get_symlink_target`` now takes an optional ``path``
 
657
  argument. (Jelmer Vernooij)
 
658
 
 
659
Internals
 
660
*********
 
661
 
 
662
.. Major internal changes, unlikely to be visible to users or plugin 
 
663
   developers, but interesting for bzr developers.
 
664
 
 
665
* ``MutableTree.smart_add`` now uses inventory deltas.
 
666
  (Jelmer Vernooij, #146165)
 
667
 
 
668
* Removed ``bzrlib.branch._run_with_write_locked_target`` as
 
669
  ``bzrlib.cleanup`` provides the same functionality in a more general
 
670
  way.  (Andrew Bennetts)
 
671
 
 
672
Testing
 
673
*******
 
674
 
 
675
.. Fixes and changes that are only relevant to bzr's test framework and 
 
676
   suite.  This can include new facilities for writing tests, fixes to 
 
677
   spurious test failures and changes to the way things should be tested.
 
678
 
 
679
* A test that was expected to fail but passes instead now counts as a failure
 
680
  catching up with new testtools and subunit handling. (Martin [GZ], #654474)
 
681
 
 
682
* Make it easier for plugins to reuse the per_workingtree scenarios by
 
683
  restoring the wt_scenarios helper that was accidentally deleted.
 
684
  (Vincent Ladeuil, #783472)
 
685
 
 
686
* Removed ``test_breakin`` tests that were excessively prone to hanging,
 
687
  did not work on Wine, and partly already disabled.
 
688
  (Martin Pool, #408814, #746985)
 
689
 
 
690
* Windows locations are different and should be tested accordingly.
 
691
  (Vincent Ladeuil, #788131)
 
692
 
 
693
bzr 2.4b2
 
694
#########
 
695
 
 
696
:2.4b2: 2011-04-28
 
697
 
 
698
This is the second 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
 
 
705
 
 
706
External Compatibility Breaks
 
707
*****************************
 
708
 
 
709
.. These may require users to change the way they use Bazaar.
 
710
 
 
711
* Two command synonyms for ``bzr branch`` have been deprecated, to avoid
 
712
  confusion and to allow the names to later be reused.  The removed names
 
713
  are: ``get`` and ``clone``.   (Martin Pool, #506265)
 
714
 
 
715
New Features
 
716
************
 
717
 
 
718
.. New commands, options, etc that users may wish to try out.
 
719
 
 
720
* ``bzr commit`` now supports a ``--lossy`` argument that can be used
 
721
  to discard any data that can not be natively represented when committing
 
722
  to a foreign VCS. (Jelmer Vernooij, #587721)
 
723
 
 
724
Improvements
 
725
************
 
726
 
 
727
.. Improvements to existing commands, especially improved performance 
 
728
   or memory usage, or better results.
 
729
 
 
730
* ``bzr merge`` in large trees is now significantly faster. On a 70k entry
 
731
  tree, the time went from ~3min down to 30s. This also effects ``bzr pull``
 
732
  and ``bzr update`` since they use the same merge logic to update the
 
733
  WorkingTree.  (John Arbash Meinel, #759091)
 
734
 
 
735
* ``bzr revert`` now properly uses ``bzr status``'s optimized
 
736
  ``iter_changes``. This can be a significant performance difference (33s
 
737
  to 5s on large trees). (John Arbash Meinel, #759096)
 
738
 
 
739
* Resolve ``lp:FOO`` urls locally rather than doing an XMLRPC request if
 
740
  the user has done ``bzr launchpad-login``. The bzr+ssh URLs were already
 
741
  being handed off to the remote server anyway (xmlrpc has been mapping
 
742
  ``lp:bzr`` to ``bzr+ssh://bazaar.launchpad.net/+branch/bzr``, rather
 
743
  than ``bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev`` for a few
 
744
  months now.) By doing it ourselves, we can cut out substantial startup
 
745
  time. From Netherlands to London it was taking 368ms to do the XMLRPC
 
746
  call as much as 2s from Sydney. You can test the local logic by using
 
747
  ``-Dlaunchpad``.  (John Arbash Meinel, #397739)
 
748
 
 
749
* When building a new WorkingTree (such as during ``bzr co`` or
 
750
  ``bzr branch``) we now properly store the stat and hash of files that
 
751
  are old enough. This saves a fair amount of time on the first
 
752
  ``bzr status`` (on a 500MB tree, it saves about 30+s).
 
753
  (John Arbash Meinel, #740932)
 
754
 
 
755
 
 
756
Bug Fixes
 
757
*********
 
758
 
 
759
.. Fixes for situations where bzr would previously crash or give incorrect
 
760
   or undesirable results.
 
761
 
 
762
* Arguments that can't be decoded to unicode in the current posix locale give
 
763
  a clearer error message without a traceback. (Martin [gz], #745712)
 
764
 
 
765
* ``bzrlib.log._DEFAULT_REQUEST_PARAMS`` is no longer accidentally
 
766
  mutated by ``bzrlib.log._apply_log_request_defaults``.  In practice
 
767
  these default values aren't relied on very often so this probably
 
768
  wasn't causing any trouble.  (Andrew Bennetts)
 
769
 
 
770
* ``bzr log`` now works on revisions which are not in the current branch.
 
771
  (Matt Giuca, #241998)
 
772
 
 
773
* Don't rewrite the dirstate file when non-interesting changes have
 
774
  occurred. This can significantly improve 'bzr status' times when there
 
775
  are only small changes to a large tree.
 
776
  (Ian Clatworthy, John Arbash Meinel, #380202)
 
777
 
 
778
* Lazy hooks are now reset between test runs. (Jelmer Vernooij, #745566)
 
779
 
 
780
* ``bzrlib.merge.Merge`` now calls ``iter_changes`` without
 
781
  ``include_unversioned=True``. This makes it significantly faster in many
 
782
  cases, because it only looks at modified files, rather than building
 
783
  information about all files. This can cause failures in other
 
784
  TreeTransform code, because it had been expecting to know the names of
 
785
  things which had not changed (such as parent directories). All cases we
 
786
  know about so far have been fixed, but there may be fallout for edge
 
787
  cases that we are missing. (John Arbash Meinel, #759091)
 
788
 
 
789
* ``SFTPTransport`` is more pro-active about closing file-handles. This
 
790
  reduces the chance of having threads fail from async requests while
 
791
  running the test suite. (John Arbash Meinel, #656170)
 
792
 
 
793
* Standalone bzr.exe installation on Windows: user can put additional python 
 
794
  libraries into ``site-packages`` subdirectory of the installation directory,
 
795
  this might be required for "installing" extra dependencies for some plugins.
 
796
  (Alexander Belchenko, #743256)
 
797
 
 
798
* ``transform.revert()`` has been updated to use
 
799
  ``wt.iter_changes(basis_tree)`` rather than
 
800
  ``basis_tree.iter_changes(wt)``. This allows the optimized code path to
 
801
  kick in, improving ``bzr revert`` times significantly (33s to 4s on
 
802
  large trees, 0.7s to 0.3s on small trees.) (John Arbash Meinel, #759096)
 
803
 
 
804
* ``TreeTransform.create_file/new_file`` can now take an optional ``sha1``
 
805
  parameter. If supplied, when the transform is applied, it will then call
 
806
  ``self._tree._observed_sha1`` for those files. This lets us update the
 
807
  hash-cache for content that we create, preventing us from re-reading the
 
808
  content in the next ``bzr status``.  (John Arbash Meinel, #740932)
 
809
 
 
810
Documentation
 
811
*************
 
812
 
 
813
* Added a section about using a shared SSH account on a server for bzr+ssh
 
814
  access.  (Russell Smith)
 
815
 
 
816
* The documentation now recommends using SSH rather than SFTP in the
 
817
  tutorials and the examples, because that will generally be much faster
 
818
  and better in cases where it can be used.  SFTP is still available and
 
819
  mentioned as an alternative.  (Martin Pool, #636712)
 
820
 
 
821
API Changes
 
822
***********
 
823
 
 
824
.. Changes that may require updates in plugins or other code that uses
 
825
   bzrlib.
 
826
 
 
827
* ``Branch.update_revisions`` has been made private and should no
 
828
  longer be used by external users. Use ``Branch.pull`` or ``Branch.push``
 
829
  instead. (Jelmer Vernooij, #771765)
 
830
 
 
831
* Commands now have an `invoked_as` attribute, showing the name under
 
832
  which they were called before alias expansion.
 
833
  (Martin Pool)
 
834
 
 
835
* ``Hooks.create_hook`` is now deprecated in favour of ``Hooks.add_hook``.
 
836
  (Jelmer Vernooij)
 
837
 
 
838
* If you call `bzrlib.initialize` but forget to enter the resulting object
 
839
  as a context manager, bzrlib will now be initialized anyhow.
 
840
  (Previously simple programs calling bzrlib might find the library was
 
841
  mysteriously silent.)
 
842
  (Martin Pool)
 
843
 
 
844
* Inventory-specific functionality has been split out of ``Tree`` into
 
845
  a new ``InventoryTree`` class. Tree instances no longer
 
846
  necessarily provide an ``inventory`` attribute. (Jelmer Vernooij)
 
847
 
 
848
* Inventory-specific functionality has been split out of ``RevisionTree``
 
849
  into a new ``InventoryRevisionTree`` class. RevisionTree instances no
 
850
  longer necessarily provide an ``inventory`` attribute. (Jelmer Vernooij)
 
851
 
 
852
* New method ``Hooks.uninstall_named_hook``. (Jelmer Vernooij, #301472)
 
853
 
 
854
* ``revision_graph_can_have_wrong_parents`` is now an attribute
 
855
  on ``RepositoryFormat`` rather than a method on ``Repository``.
 
856
  (Jelmer Vernooij)
 
857
 
 
858
* ``Testament`` now takes a ``tree`` rather than an
 
859
  ``inventory``. (Jelmer Vernooij, #762608)
 
860
 
 
861
* ``TestCase.failUnlessExists`` and ``failIfExists`` are deprecated in
 
862
  favour of ``assertPathExists`` and ``assertPathDoesNotExist`` 
 
863
  respectively.
 
864
  (Martin Pool)
 
865
 
 
866
* The ``revno`` parameter of ``log.LogRevision`` may now be None,
 
867
  representing a revision which is not in the current branch.
 
868
  (Matt Giuca, #241998)
 
869
 
 
870
* The various knit pack repository format classes have been moved
 
871
  from ``bzrlib.repofmt.pack_repo`` to
 
872
  ``bzrlib.repofmt.knitpack_repo``. (Jelmer Vernooij)
 
873
 
 
874
* ``RevisionTree`` now has a new method ``get_file_revision``.
 
875
  (Jelmer Vernooij)
 
876
 
 
877
* ``WorkingTree`` no longer provides an ``inventory``. Instead,
 
878
  all inventory-related functionality is now on the subclass
 
879
  ``InventoryWorkingTree`` that all native Bazaar working tree
 
880
  implementations derive from. (Jelmer Vernooij)
 
881
 
 
882
Internals
 
883
*********
 
884
 
 
885
.. Major internal changes, unlikely to be visible to users or plugin 
 
886
   developers, but interesting for bzr developers.
 
887
 
 
888
* Added ``osutils.lstat`` and ``osutils.fstat``. These are just the ``os``
 
889
  functions on Linux, but they are wrapped on Windows so that fstat
 
890
  matches lstat results across all python versions.
 
891
  (John Arbash Meinel)
 
892
 
 
893
* ``WorkingTree._observed_sha1`` also updates the 'size' column. It
 
894
  happened to be updated as a side-effect of commit, but if we start using
 
895
  the function elsewhere we might as well do it directly.
 
896
  (John Arbash Meinel)
 
897
 
 
898
Testing
 
899
*******
 
900
 
 
901
.. Fixes and changes that are only relevant to bzr's test framework and 
 
902
   suite.  This can include new facilities for writing tests, fixes to 
 
903
   spurious test failures and changes to the way things should be tested.
 
904
 
 
905
* Stop using `failIf`, `failUnless`, `failIfEqual`, etc, that give
 
906
  `PendingDeprecationWarnings` on Python2.7. 
 
907
  (Martin Pool, #760435)
 
908
 
 
909
 
 
910
bzr 2.4b1
 
911
#########
 
912
 
 
913
:2.4b1: 2011-03-17
 
914
 
 
915
This is the first beta of the 2.4 series, leading up to a 2.4.0
 
916
release in August 2011.  Beta releases are suitable for everyday use
 
917
but may cause some incompatibilities with plugins.  Some plugins may need
 
918
small updates to work with 2.4b1.
 
919
 
 
920
External Compatibility Breaks
 
921
*****************************
 
922
 
 
923
(none)
 
924
 
 
925
New Features
 
926
************
 
927
 
 
928
* Added ``changelog_merge`` plugin for merging changes to ``Changelog`` files
 
929
  in GNU format.  See ``bzr help changelog_merge`` for details.
 
930
  (Andrew Bennetts)
 
931
  
 
932
* Configuration options can now use references to other options in the same
 
933
  file by enclosing them with curly brackets (``{other_opt}``). This makes it
 
934
  possible to use, for example,
 
935
  ``push_location=lp:~vila/bzr/config-{nickname}`` in ``branch.conf`` when
 
936
  using a loom. During the beta period, the default behaviour is to disable
 
937
  this feature. It can be activated by declaring ``bzr.config.expand = True``
 
938
  in ``bazaar.conf``. (Vincent Ladeuil)
 
939
 
 
940
* External merge tools can now be configured in bazaar.conf. See
 
941
  ``bzr help configuration`` for more information.  (Gordon Tyler, #489915)
 
942
 
 
943
* The ``lp:`` directory service now supports Launchpad's QA staging.
 
944
  (Jelmer Vernooij, #667483)
 
945
 
 
946
Improvements
 
947
************
 
948
 
 
949
* A new hidden command ``bzr repair-workingtree``. This is a way to force
 
950
  the dirstate file to be rebuilt, rather than using a ``bzr checkout``
 
951
  workaround. (John Arbash Meinel)
 
952
 
 
953
* Added a ``Branch.heads_to_fetch`` RPC to the smart server protocol.
 
954
  This allows formats from plugins (such as looms) to efficiently tell the
 
955
  client which revisions need to be fetched.  (Andrew Bennetts)
 
956
 
 
957
* Branching, merging and pulling a branch now copies revisions named in
 
958
  tags, not just the tag metadata.  (Andrew Bennetts, #309682)
 
959
 
 
960
* ``bzr cat-revision`` no longer requires a working tree.
 
961
  (Jelmer Vernooij, #704405)
 
962
 
 
963
* ``bzr export --per-file-timestamps`` for .tar.gz files will now
 
964
  override the mtime for trees exported on Python 2.7 and later, which
 
965
  expose the 'mtime' field in gzip files. This makes the output of
 
966
  ``bzr export --per-file-timestamps`` for a particular tree
 
967
  deterministic.  (Jelmer Vernooij, #711226)
 
968
 
 
969
* ``bzr export --format=zip`` can now export to standard output,
 
970
  like the other exporters can. (Jelmer Vernooij, #513752)
 
971
 
 
972
* ``bzr export`` can now create ``.tar.xz`` and ``.tar.lzma`` files.
 
973
  (Jelmer Vernooij, #551714)
 
974
 
 
975
* Getting all entries from ``CHKInventory.iter_entries_by_dir()`` has been
 
976
  sped up dramatically for large trees. Iterating by dir is not the best
 
977
  way to load data from a CHK inventory, so it preloads all the items in
 
978
  the correct order. (With the gcc-tree, this changes it (re)reading 8GB
 
979
  of CHK data, down to just 150MB.) This has noticeable affects for things
 
980
  like building checkouts, etc.  (John Arbash Meinel, #737234)
 
981
 
 
982
Bug Fixes
 
983
*********
 
984
 
 
985
* A MemoryError thrown on the server during a remote operation will now be
 
986
  usefully reported, and other unexpected errors will include the class name.
 
987
  (Martin [gz], #722416)
 
988
 
 
989
* ``bzr annotate -r-1 file`` will now properly annotate a deleted file.
 
990
  (Andrew King, #537442)
 
991
 
 
992
* ``bzr export`` to zip files will now set a mode on directories.
 
993
  (Jelmer Vernooij, #207253)
 
994
 
 
995
* ``bzr export`` to tgz files will only write out the basename of the
 
996
  tarfile to the gzip file. (Jelmer Vernooij, #102234)
 
997
 
 
998
* ``bzr push --overwrite`` with an older revision specified will now correctly
 
999
  roll back the target branch. (Jelmer Vernooij, #386576)
 
1000
 
 
1001
* ``bzr lp-propose`` can now propose merges against packaging branches on
 
1002
  Launchpad without requiring the target branch to be specified.
 
1003
  (Jelmer Vernooij, #704647)
 
1004
 
 
1005
* ``bzr lp-propose`` no longer requires a reviewer to be specified. It will
 
1006
  instead leave setting the reviewer up to Launchpad if it was not specified.
 
1007
  (Jelmer Vernooij, #583772)
 
1008
 
 
1009
* ``bzr pull`` will now exit with exit code 1 if there were tag conflicts.
 
1010
  (Jelmer Vernooij, #213185)
 
1011
 
 
1012
* ``bzr mv`` user errors no longer throw UnicodeEncodeError with non-ascii
 
1013
  paths, however they may still print junk if not on a UTF-8 terminal.
 
1014
  (Martin [gz], #707954)
 
1015
 
 
1016
* ``bzr reconfigure --unstacked`` now copies revisions (and their
 
1017
  ancestors) named in tags into the unstacked repository, not just the
 
1018
  ancestry of the branch's tip.  (Andrew Bennetts, #401646)
 
1019
 
 
1020
* ``bzr serve`` no longer crashes when a server_started hook is installed and
 
1021
  IPv6 support is available on the system. (Jelmer Vernooij, #293697)
 
1022
 
 
1023
* ``bzr status`` will not rewrite the dirstate file if it only has
 
1024
  'trivial' changes. (Currently limited to dir updates and newly-added
 
1025
  files changing state.) This saves a bit of time for regular operations.
 
1026
  eg. ``bzr status`` in a 100k tree takes 1.4s to compute the status, but 1s
 
1027
  to re-save the dirstate file. (John Arbash Meinel, #765881)
 
1028
 
 
1029
* ``bzr tags`` will no longer choke on branches with ghost revisions in
 
1030
  their mainline and tags on revisions not in the branch ancestry. 
 
1031
  (Jelmer Vernooij, #397556)
 
1032
 
 
1033
* ``bzr whoami`` will now display an error if both a new identity and
 
1034
  ``--email`` were specified. (Jelmer Vernooij, #680449)
 
1035
 
 
1036
* ``launchpadlib`` doesn't provide the ``uris`` module in some old versions.
 
1037
  (Vincent Ladeuil, #706835)
 
1038
 
 
1039
* Empty entries in the ``NO_PROXY`` variable are no longer treated as matching
 
1040
  every host.
 
1041
  (Martin Pool, #586341)
 
1042
 
 
1043
* Plugins incompatible with the current version of bzr no longer produce a
 
1044
  warning on every command invocation.  Instead, a message is shown by
 
1045
  ``bzr plugins`` and in crash reports.
 
1046
  (#704195, Martin Pool)
 
1047
 
 
1048
* The "pretty" version of ``needs_read_lock`` and ``needs_write_lock`` now
 
1049
  preserves the identity of default parameter values.
 
1050
  (Andrew Bennetts, #718569)
 
1051
 
 
1052
* ``bzr dump-btree --raw`` no longer tracebacks on a B-Tree file
 
1053
  containing no rows. (Eric Siegerman, #715508)
 
1054
 
 
1055
* Fix ``bzr lp-mirror`` to work on command line branch URLs and branches
 
1056
  without an explicit public location. (Max Bowsher)
 
1057
 
 
1058
* On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the
 
1059
  number of available processors. (Jelmer Vernooij, #693140)
 
1060
 
 
1061
API Changes
 
1062
***********
 
1063
 
 
1064
* Added ``Branch.heads_to_fetch`` method.  Implementations of the Branch API
 
1065
  must now inherit or implement this method.  (Andrew Bennetts, #721328)
 
1066
  
 
1067
* Added ``bzrlib.mergetools`` module with helper functions for working with
 
1068
  the list of external merge tools. (Gordon Tyler, #489915)
 
1069
 
 
1070
* All methods and arguments that were deprecated before 2.0
 
1071
  have been removed. (Jelmer Vernooij)
 
1072
 
 
1073
* Branch formats should now be registered on the format registry
 
1074
  (``bzrlib.branch.format_registry``) rather than using the class
 
1075
  methods on ``BranchFormat``. (Jelmer Vernooij, #714729)
 
1076
 
 
1077
* ``Branch.set_revision_history`` is now deprecated.
 
1078
  (Jelmer Vernooij)
 
1079
 
 
1080
* ``BranchFormat.supports_leaving_lock()`` and
 
1081
  ``RepositoryFormat.supports_leaving_lock`` flags have been added.
 
1082
  (Jelmer Vernooij)
 
1083
 
 
1084
* ``Branch.fetch`` implementations must now accept an optional
 
1085
  ``fetch_tags`` keyword argument. (Andrew Bennetts)
 
1086
 
 
1087
* ``Branch.import_last_revision_info`` is deprecated.  Use the
 
1088
  ``import_last_revision_info_and_tags`` method instead.
 
1089
  (Andrew Bennetts)
 
1090
 
 
1091
* Because it was too specific to BzrDir implementations,
 
1092
  ``ControlDir.sprout`` no longer has a default implementation; it now
 
1093
  raises ``NotImplementedError``. (Jelmer Vernooij, #717937)
 
1094
 
 
1095
* ``bzrlib.deprecated_graph`` has been removed. ``bzrlib.graph``
 
1096
  scales better tree and should be used instead.
 
1097
  (Jelmer Vernooij, #733612)
 
1098
 
 
1099
* ``ControlDirFormat.register_format`` has been removed. Instead,
 
1100
  ``Prober`` implementations should now implement a ``known_formats``
 
1101
  method. (Jelmer Vernooij)
 
1102
 
 
1103
* ControlDirFormats can now provide a ``check_status`` method and
 
1104
  raise a custom exception or warning when an unsupported or deprecated
 
1105
  format is being opened.  (Jelmer Vernooij, #731311)
 
1106
 
 
1107
* ``bzrlib.revionspec.dwim_revspecs`` is deprecated.
 
1108
  Use ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_revspec`` and
 
1109
  ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_lazy_revspec``
 
1110
  instead.  (Jelmer Vernooij, #721971)
 
1111
 
 
1112
* ``BzrDirFormat`` has a new attribute ``fixed_components`` that
 
1113
  indicates whether the components of the bzrdir can be upgraded
 
1114
  independent of the ``BzrDir``. (Jelmer Vernooij)
 
1115
 
 
1116
* ``BzrProber.register_format`` and ``BzrProber.unregister_format`` are
 
1117
  now deprecated in favour of the ``BzrProber.formats`` format registry.
 
1118
  (Jelmer Vernooij)
 
1119
 
 
1120
* ``ControlDir`` implementations no longer have to provide the
 
1121
  ``get_branch_transport``, ``get_workingtree_transport`` and
 
1122
  ``get_repository_transport`` methods.  (Jelmer Vernooij, #730325)
 
1123
 
 
1124
* ``Converter`` has been moved from ``bzrlib.bzrdir`` to
 
1125
  ``bzrlib.controldir``. (Jelmer Vernooij)
 
1126
 
 
1127
* Repository formats can now provide
 
1128
  ``_get_extra_interrepo_test_combinations`` in the same module 
 
1129
  to provide extra test combinations for ``bzrlib.tests.per_repository``.
 
1130
  (Jelmer Vernooij)
 
1131
 
 
1132
* Repository formats should now be registered on the format registry
 
1133
  (``bzrlib.repository.format_registry``) rather than using the class
 
1134
  methods on ``RepositoryFormat``. (Jelmer Vernooij)
 
1135
 
 
1136
* Repository formats can now indicate they do not support the full
 
1137
  VersionedFiles API by setting the ``supports_full_versioned_files``
 
1138
  attribute to False. A subset of the VersionedFiles API
 
1139
  (signatures and text graphs) still needs to be supported.
 
1140
  (Jelmer Vernooij)
 
1141
 
 
1142
* Repository formats have a new method ``is_deprecated`` that
 
1143
  implementations can override to return True to trigger a deprecation
 
1144
  warning. (Jelmer Vernooij)
 
1145
 
 
1146
* The ``revision_id`` parameter of
 
1147
  ``Repository.search_missing_revision_ids`` and
 
1148
  ``InterRepository.search_missing_revision_ids`` is deprecated.  It is
 
1149
  replaced by the ``revision_ids`` parameter.  (Andrew Bennetts)
 
1150
 
 
1151
* Working tree formats should now be registered on the format registry
 
1152
  (``bzrlib.working_tree.format_registry``) rather than using the class
 
1153
  methods on ``WorkingTreeFormat``. (Jelmer Vernooij, #714730)
 
1154
 
 
1155
* Exporting may now be done with a generator
 
1156
  (``bzrlib.export.get_export_generator``) (Geoff/xaav, #791005)
 
1157
 
 
1158
Internals
 
1159
*********
 
1160
 
 
1161
* ``CatchingExceptionThread`` (formerly ThreadWithException) has been moved
 
1162
  out of the ``bzrlib.tests`` hierarchy to make it clearer that it can be used
 
1163
  outside of tests. This class makes it easier to track exceptions in threads
 
1164
  by catching them so they can be re-raised in the controlling thread. It's
 
1165
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
 
1166
 
 
1167
* Correctly propagate malloc failures from diff-delta.c code as MemoryError
 
1168
  so OOM conditions during groupcompress are clearly reported. This entailed a
 
1169
  change to several function signatures. (Martin [gz], #633336)
 
1170
 
 
1171
* ``HookPoint.lazy_hook`` and ``Hooks.install_named_lazy_hook`` can install 
 
1172
  hooks for which the callable is loaded lazily.  (Jelmer Vernooij)
 
1173
 
 
1174
Testing
 
1175
*******
 
1176
 
 
1177
* The Range parsing for HTTP requests will correctly parse incomplete ranges.
 
1178
  (Vincent Ladeuil, #731240)
 
1179
 
 
1180
..
 
1181
   vim: tw=74 ft=rst ff=unix