/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

  • Committer: Jelmer Vernooij
  • Date: 2011-09-09 02:12:38 UTC
  • mto: This revision was merged to the branch mainline in revision 6137.
  • Revision ID: jelmer@samba.org-20110909021238-gzrpy7h5qfyvwbvt
Report missing files as removed in 'bzr commit', rather than modified.

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