/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.5.txt

  • Committer: Benoît Pierre
  • Date: 2011-10-23 13:53:19 UTC
  • mto: This revision was merged to the branch mainline in revision 6231.
  • Revision ID: benoit.pierre@gmail.com-20111023135319-7pc4e0sbmhp6ax96
Change upgrade code: already up-to-date exceptions are not treated as errors.

Such cases will be treated as successful updates: no error trace, just a note
to the user.

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.5b3
 
9
#########
 
10
 
 
11
:2.5b3: 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
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
 
24
  change the format ``push`` and ``pull`` use to display the
 
25
  revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
 
26
  format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
 
27
 
 
28
Improvements
 
29
************
 
30
 
 
31
.. Improvements to existing commands, especially improved performance 
 
32
   or memory usage, or better results.
 
33
 
 
34
* ``bzr version-info`` now takes a ``--revision`` argument.
 
35
  (Jelmer Vernooij, #238705)
 
36
 
 
37
* ``bzr revno`` now takes a ``--revision`` argument.
 
38
  (Jelmer Vernooij, #870649)
 
39
 
 
40
* all input prompts are now char-based when possible, and can be forced to
 
41
  line-based mode by setting the ``BZR_TEXTUI_INPUT`` environment variable
 
42
  to 'line-based'. This replace the previous shelf UI only patch using
 
43
  ``INSIDE_EMACS``. (Benoît Pierre)
 
44
 
 
45
Bug Fixes
 
46
*********
 
47
 
 
48
.. Fixes for situations where bzr would previously crash or give incorrect
 
49
   or undesirable results.
 
50
 
 
51
* ``bzr mkdir --quiet`` now does not print a line for every created
 
52
  directory. (Martin von Gagern, #869915)
 
53
 
 
54
* ``bzr mv`` does not crash when attempting to move the root of a
 
55
  branch. (Jonathan Riddell, #809728)
 
56
 
 
57
* ``bzr shelve`` now use ``UIFactory.choose`` for input handling, making
 
58
  it usable when creating a custom ``UIFactory`` implementation. (Benoît
 
59
  Pierre)
 
60
 
 
61
* If sending a crash through Apport fails report the Apport failure to
 
62
  bzr.log rather than stderr. (Jonathan Riddell, #766735)
 
63
 
 
64
Documentation
 
65
*************
 
66
 
 
67
.. Improved or updated documentation.
 
68
 
 
69
API Changes
 
70
***********
 
71
 
 
72
.. Changes that may require updates in plugins or other code that uses
 
73
   bzrlib.
 
74
 
 
75
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
 
76
 
 
77
* New flag ``RepositoryFormat.supports_unreferenced_revisions`` which
 
78
  indicates whether revisions can be present in a repository without
 
79
  being referenced from e.g. a branch history at the same time.
 
80
  (Jelmer Vernooij)
 
81
 
 
82
* ``UIFactory.choose`` has been added: prompt the user for a list of
 
83
  choices. (Benoît Pierre)
 
84
 
 
85
Internals
 
86
*********
 
87
 
 
88
.. Major internal changes, unlikely to be visible to users or plugin 
 
89
   developers, but interesting for bzr developers.
 
90
 
 
91
* ``ControlDirFormat`` now has a new method ``supports_transport``
 
92
  which format implementations can use whether or not they can access
 
93
  a control dir over a particular transport. (Jelmer Vernooij)
 
94
 
 
95
* ``BranchBuilder.build_commit`` now take ``parent_ids`` and
 
96
  ``allow_leftmost_as_ghost`` arguments.  (Jelmer Vernooij)
 
97
 
 
98
Testing
 
99
*******
 
100
 
 
101
.. Fixes and changes that are only relevant to bzr's test framework and 
 
102
   suite.  This can include new facilities for writing tests, fixes to 
 
103
   spurious test failures and changes to the way things should be tested.
 
104
 
 
105
* Ensure TestCase instances are deallocated immediately after running where
 
106
  possible. This greatly reduces the peak resource needs of a full test suite
 
107
  run. The new ``-Euncollected_cases`` selftest flag will add failures if any
 
108
  case which persists pasts its expected lifetime. (Martin Packman, #613247)
 
109
 
 
110
 
 
111
bzr 2.5b2
 
112
#########
 
113
 
 
114
This is the second beta of the 2.5 series, leading to a 2.5.0 release in
 
115
February 2012. Beta releases are suitable for everyday use but may cause some
 
116
incompatibilities with plugins.
 
117
 
 
118
This release includes more filtering options for ``bzr log``, idle
 
119
connections handling for ``bzr serve``, a ``development-colo`` experimental
 
120
format to flesh out the colocated branches UI, better support for foreign
 
121
formats, enhancements to the config framework and more.
 
122
 
 
123
This release includes all bug fixed in previous series known at the time of
 
124
this release.
 
125
 
 
126
:2.5b2: 2011-10-06
 
127
 
 
128
External Compatibility Breaks
 
129
*****************************
 
130
 
 
131
None
 
132
 
 
133
New Features
 
134
************
 
135
 
 
136
* A new ``-O`` standard option (common to all commands) have been added. It
 
137
  provides a value for a config option in the ``-Oname=value`` form that
 
138
  takes precedence over all definitions found in config files.  It can be
 
139
  used multiple times to override different options.
 
140
  (Vincent Ladeuil, #491196)
 
141
 
 
142
* ``bzr log`` now has an option called ``--omit-merges`` to omit
 
143
  those commits that merged branches, i.e. those having more than one
 
144
  parent.
 
145
  In order to avoid confusion, the previous command line option
 
146
  ``--include-merges`` has been renamed to ``--include-merged``.
 
147
  The old name of the command line option will still be accepted.
 
148
  The name change also affects ``bzr missing``.
 
149
  (Martin von Gagern)
 
150
 
 
151
* ``bzr serve`` will now disconnect clients if they have not issued an RPC
 
152
  request after 5minutes. On POSIX platforms, this will also happen for
 
153
  ``bzr serve --inet``. This can be overridden with the configuration
 
154
  variable ``serve.client_timeout`` or in the command line parameter
 
155
  ``bzr serve --client-timeout=X``. Further, it is possible to request
 
156
  ``bzr serve [--inet]`` to shutdown gracefully by sending SIGHUP. It will
 
157
  finish the current request, and then close the connection.
 
158
  (John Arbash Meinel, #824797, #795025)
 
159
 
 
160
* The new experimental format ``development-colo`` supports colocated
 
161
  branches. This format will eventually be merged back into the ``2a``
 
162
  format when it has stabilized and there is adequate UI support for
 
163
  colocated branches.
 
164
  (Jelmer Vernooij, #831481)
 
165
 
 
166
Improvements
 
167
************
 
168
 
 
169
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
 
170
  every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
 
171
 
 
172
* ``bzr info -v`` can now be run against branches that don't support
 
173
  ``last_revision_info``, in which case the branch information will simply
 
174
  not be displayed. (Jelmer Vernooij)
 
175
 
 
176
Bug Fixes
 
177
*********
 
178
 
 
179
* ``bzr shelve`` can now be used in emacs shells as the input handling is
 
180
  turned into a line-based one when ``INSIDE_EMACS`` is set (which is the
 
181
  case for all recent emacs versions). (Vincent Ladeuil, #856261)
 
182
 
 
183
* ``bzr tags`` can now be used against remote repositories that do
 
184
  not provide access to the revision graph. (Jelmer Vernooij, #858942)
 
185
 
 
186
* ``bzr update PATH`` will stop if you seem to be asking it to update
 
187
  anything less than a whole tree, because that's not supported by ``bzr``'s
 
188
  concept that the whole tree has a single basis revision.  Previously, it
 
189
  would go ahead and update the whole tree, which was surprising.
 
190
  (Martin Pool, #557886)
 
191
 
 
192
* Don't crash if ``bzrlib.initialize()`` has not been called while accessing
 
193
  configs.  (Vincent Ladeuil, #863401)
 
194
 
 
195
* Redirects between http and https no longer discard path information
 
196
  in some cases. (Jelmer Vernooij, #853765)
 
197
 
 
198
* The ``--overwrite`` argument to ``bzr push`` and ``bzr pull`` no longer
 
199
  reports all tags as changed. (Jelmer Vernooij, #845396)
 
200
 
 
201
* ``WorkingTree.get_file_mtime`` now raises NoSuchId if a file id is
 
202
  specified that is unknown. (Jelmer Vernooij, #847435)
 
203
 
 
204
 
 
205
API Changes
 
206
***********
 
207
 
 
208
* ``Branch.get_revision_delta`` has been deprecated. Use
 
209
  ``Repository.get_revision_delta`` instead. (Jelmer Vernooij, #859712)
 
210
 
 
211
* Plugins that implement custom protocols for ``bzr serve`` should now
 
212
  also take an argument ``timeout``. This is used by the the bzr protocol
 
213
  to close a connection if a client has been idle for more than X seconds.
 
214
  (Default 5minutes). (John Arbash Meinel)
 
215
 
 
216
* ``Repository.fileids_altered_by_revision_ids`` has been moved to
 
217
  ``VersionedFileRepository`` and is no longer part of the standard
 
218
  ``Repository`` interface. (Jelmer Vernooij)
 
219
 
 
220
* The argument ``include_merges`` to ``missing.find_unmerged`` has
 
221
  been renamed to ``include_merged``. The old name is still supported
 
222
  for now but will cause a deprecation warning. (Martin von Gagern)
 
223
 
 
224
* The new method ``ControlDirFormat.is_initializable()`` returns a boolean
 
225
  indicating whether or not it is possible to use any of the
 
226
  initialization methods of that format to create a new control dir.
 
227
  (Jelmer Vernooij)
 
228
 
 
229
Internals
 
230
*********
 
231
 
 
232
* ``Branch`` objects can now use a config stack with the newly introduced
 
233
  ``get_config_stack()``. Both ``get_config`` and ``get_config_stack`` can
 
234
  be used for the same branch but it's recommended to stick to one for a
 
235
  given option.
 
236
 
 
237
Testing
 
238
*******
 
239
 
 
240
* Test scripts can now use ``bzr shelve`` and provide their input as
 
241
  complete lines. (Vincent Ladeuil, #856261)
 
242
 
 
243
* Really corrupt the pack file without depending on a special length or value.
 
244
  (Vincent Ladeuil, #807032)
 
245
 
 
246
 
 
247
bzr 2.5b1
 
248
#########
 
249
 
 
250
:2.5b1: 2011-09-15
 
251
 
 
252
This is the first beta of the 2.5 series, leading up to a 2.5.0
 
253
release in February 2012.
 
254
 
 
255
This release includes better support for gpg signing, better support for
 
256
i18n (mostly command help and error messages), more options to filter ``bzr
 
257
log`` output, more support for colocated branches ("location,branch=XXX"
 
258
syntax), better feedback on updated tags for various commands, faster
 
259
branching into an empty repository, enhancements to the config framework and
 
260
more.
 
261
 
 
262
Beta releases are suitable for everyday use but may cause some
 
263
incompatibilities with plugins.  Some plugins may need small updates to work
 
264
with 2.5b1.
 
265
 
 
266
External Compatibility Breaks
 
267
*****************************
 
268
 
 
269
None
 
270
 
 
271
New Features
 
272
************
 
273
 
 
274
* A ``from_unicode`` parameter can be specified when registering a config
 
275
  option. This implements boolean, integer and list config options when the
 
276
  provided ``bool_from_store``, ``int_from_store`` and ``list_from_store``
 
277
  are used for this parameter.  (Vincent Ladeuil)
 
278
 
 
279
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
 
280
  checks to see if the most recent published source package version for
 
281
  that project is present in the branch tags. This should help developers
 
282
  trust whether the packaging branch is up-to-date and can be used for new
 
283
  changes. The level of verbosity is controlled by the config item
 
284
  ``launchpad.packaging_verbosity``. It can be set to one of
 
285
 
 
286
  off
 
287
    disable all checks
 
288
 
 
289
 
 
290
  minimal
 
291
    only display if the branch is out-of-date
 
292
 
 
293
  short
 
294
    also display single-line up-to-date and missing,
 
295
 
 
296
 
 
297
  all
 
298
    (default) display multi-line content for all states
 
299
 
 
300
 
 
301
  (John Arbash Meinel, #609187, #812928)
 
302
 
 
303
* Add a config option gpg_signing_key for setting which GPG key should
 
304
  be used to sign commits. Also default to using the gpg user identity
 
305
  which matches user_email() as set by whoami.
 
306
  (Jonathan Riddell, #68501)
 
307
 
 
308
* An ``invalid`` parameter can be specified when registering a config option
 
309
  to decide what should be done when invalid values are
 
310
  encountered. 'warning' and 'error' will respectively emit a warning and
 
311
  ignore the value or errors out. (Vincent Ladeuil)
 
312
 
 
313
* bzr add now skips large files in recursive mode. The default "large"
 
314
  size is 20MB, and is configurable via the add.maximum_file_size
 
315
  option. A value of 0 disables skipping. Named items passed to add are
 
316
  never skipped. (Shannon Weyrick, #54624)
 
317
 
 
318
* ``bzr help configuration/<option>`` display the help for ``option`` for
 
319
  all registered configuration options. (Vincent Ladeuil, #747050)
 
320
 
 
321
* ``bzr log -m`` now matches message, author, committer and bugs instead
 
322
  of just matching the message.  ``--message`` keeps its original meaning,
 
323
  while ``--match-message, --match-author, --match-committer`` and
 
324
  ``--match-bugs`` match each of those fields. (Jacek Sieka)
 
325
 
 
326
* ``config.Option`` can now declare ``default_from_env``, a list of
 
327
  environment variables to get a default value from. (Vincent Ladeuil)
 
328
 
 
329
* ``config.NameMatcher`` can be used to implement config stores and stacks
 
330
  that need to provide specific option values for arbitrary unique IDs (svn
 
331
  repository UUIDs, etc).  (Vincent Ladeuil, #843638)
 
332
 
 
333
* New builtin ``bzr branches`` command, which lists all colocated branches
 
334
  in a directory. (Jelmer Vernooij, #826820)
 
335
 
 
336
* Relative local paths can now be specified in URL syntax by using the
 
337
  "file:" prefix.  (Jelmer Vernooij)
 
338
 
 
339
* Report commits signed with expired keys in ``verify-signatures``.
 
340
  (Jonathan Riddell, #804254)
 
341
 
 
342
* Translations are now enabled for command help, errors and globally
 
343
  for any message using ``gettext`` given on output.  (Jonathan Riddell,
 
344
  INADA Naoki, #83941)
 
345
 
 
346
Improvements
 
347
************
 
348
 
 
349
* ``bzr add`` will now warn about nested subtrees that are skipped.
 
350
  (Jelmer Vernooij, #187342)
 
351
 
 
352
* ``bzr commit -m ''`` can now be used to force an empty commit message.
 
353
  Entering an empty commit message in the message editor still triggers
 
354
  an error. (Jelmer Vernooij)
 
355
 
 
356
* ``bzr pull`` will now mention how many tags it has updated.
 
357
  (Jelmer Vernooij, #164450)
 
358
 
 
359
* ``bzr tag`` no longer errors if a tag already exists but refers to the
 
360
  same revision, and will mention when a tag has been updated
 
361
  rather than created. (Jelmer Vernooij, #381203)
 
362
 
 
363
* ``bzr uncommit`` will now remove tags that refer to removed revisions.
 
364
  The ``--keep-tags`` option can be used to prevent this behaviour.
 
365
  (Jelmer Vernooij, #605814)
 
366
 
 
367
* Do not run i18n initialisation twice. (Jonathan Riddell)
 
368
 
 
369
* Install translation .mo files. (Jonathan Riddell)
 
370
 
 
371
* Locations printed by ``bzr upgrade`` are now formatted before display.
 
372
  (Jelmer Vernooij)
 
373
 
 
374
* ``Repository.get_parent_map`` now estimates the size of the returned
 
375
  content more accurately. This means that we get closer to the desired
 
376
  64kB/request. For repositories converted from svn, this can be an
 
377
  improvement of approx 5:1 in round trips to discover the whole history.
 
378
  (John Arbash Meinel)
 
379
 
 
380
* Support a ``bugtracker`` option which is used by ``bzr commit --fixes``
 
381
  if no bug tracker was specified on the command line.
 
382
  (Jelmer Vernooij, #334860)
 
383
 
 
384
* Use ``gettext.NullTranslations`` in i18n to allow use of i18n even when
 
385
  translations are not turned on. (Jonathan Riddell)
 
386
 
 
387
Bug Fixes
 
388
*********
 
389
 
 
390
* ``bzr commit`` now correctly reports missing files as "removed", not
 
391
  "modified". (Jelmer Vernooij, #553955)
 
392
 
 
393
* ``bzr reconfigure`` will now allow multiple non-conflicting requests
 
394
  in a single invocation, e.g. ``--branch`` and ``--use-shared``.
 
395
  (Martin von Gagern, #842993)
 
396
 
 
397
* A call to CHKInventory's filter-method will not result in a
 
398
  DuplicateFileId error, if you move a subfolder and change a file in
 
399
  that subfolder.
 
400
  (Bastian Bowe, #809901)
 
401
 
 
402
* Branching from a stacked branch no longer does a ``get_parent_map``
 
403
  request for each revisions that is in the stacked-on repository while
 
404
  determining what revisions need to be fetched. This mostly impacts
 
405
  branching initialy into an empty shared repository when the source is
 
406
  not the development focus.  (John Arbash Meinel, #388269)
 
407
 
 
408
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
 
409
  errors.  (Vincent Ladeuil, #822571)
 
410
 
 
411
* Fix fallout from URL handling changes in 2.5 that caused an IndexError to be
 
412
  raised whenever a transport at the drive root was opened on windows.
 
413
  (Martin [gz], #841322)
 
414
 
 
415
* Fixed loading of external merge tools from config to properly decode
 
416
  command-lines which contain embedded quotes. (Gordon Tyler, #828803)
 
417
 
 
418
* Rather than an error being raised, a warning is now printed when the
 
419
  current user does not have permission to read a configuration file.
 
420
  (Jelmer Vernooij, #837324)
 
421
 
 
422
* The pull command will now always use separate connections for the
 
423
  case where the destination is a heavyweight checkout of some remote
 
424
  branch on the same host as the source branch.
 
425
  (Martin von Gagern, #483661)
 
426
 
 
427
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
 
428
  operations that use it, like merge, can now create trees without a root.
 
429
  (Aaron Bentley)
 
430
 
 
431
Documentation
 
432
*************
 
433
 
 
434
* Release instructions refreshed. (Vincent Ladeuil)
 
435
 
 
436
API Changes
 
437
***********
 
438
 
 
439
* ``BranchFormat.initialize`` now takes a ``append_revisions_only``
 
440
  argument. (Jelmer Vernooij)
 
441
 
 
442
* ``Branch._get_checkout_format`` now takes a ``lightweight`` argument
 
443
  which indicates if the format should be for a lightweight or a
 
444
  heavyweight checkout. (Jelmer Vernooij)
 
445
 
 
446
* ``ControlDir.create_branch`` now takes a ``append_revisions_only`` argument.
 
447
  (Jelmer Vernooij)
 
448
 
 
449
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
 
450
  (Jelmer Vernooij)
 
451
 
 
452
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
 
453
  value in SI format (i.e. "20MB", "1GB") into its integer equivalent. 
 
454
  (Shannon Weyrick)
 
455
 
 
456
* New method ``InterTree.file_content_matches`` which checks that
 
457
  two files in different trees have the same contents.
 
458
  (Jelmer Vernooij)
 
459
 
 
460
* New method ``Tree.get_file_verifier`` which allows tree implementations
 
461
  to return non-sha1 checksums to verify files.
 
462
  (Jelmer Vernooij, #720831)
 
463
 
 
464
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
 
465
  have been added that only support opening from a path or a URL,
 
466
  unlike ``get_transport``. (Jelmer Vernooij)
 
467
 
 
468
* New registry ``OptionRegistry`` specialized for configuration options.
 
469
  (Vincent Ladeuil)
 
470
 
 
471
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
 
472
  (Vincent Ladeuil)
 
473
 
 
474
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
 
475
  ``Command._maybe_expand_globs`` and ``Command.run_direct`` deprecated in
 
476
  2.10 and 2.2.0. (Vincent Ladeuil)
 
477
 
 
478
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
 
479
 
 
480
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
 
481
  ``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
 
482
  remove ``log.show_one_log`` which was never properly deprecated but wasn't
 
483
  used and is easy to inline if needed. (Vincent Ladeuil)
 
484
 
 
485
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
 
486
  deprecated in 2.1.0. (Vincent Ladeuil)
 
487
 
 
488
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
 
489
  a default transport is currently unused. (Jelmer Vernooij)
 
490
 
 
491
* Remove ``UIFactory.warn_cross_format_fetch`` and
 
492
  ``UIFactory.warn_experimental_format_fetch`` in favor of
 
493
  ``UIFactory.show_user_warning``. (Jelmer Vernooij)
 
494
 
 
495
* ``Tags`` containers can now declare whether they support versioned
 
496
  tags and whether tags can refer to ghost tags.
 
497
  (Jelmer Vernooij)
 
498
 
 
499
* ``Tags.merge_to`` now returns a dictionary with the updated tags
 
500
  and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
 
501
 
 
502
* There is a new class `ContentFilterTree` that provides a facade for 
 
503
  content filtering.  The `filtered` parameter to `export` is deprecated 
 
504
  in favor of passing a filtered tree, and the specific exporter plugins
 
505
  no longer support it.
 
506
  (Martin Pool)
 
507
 
 
508
* ``Transport`` now has a ``_parsed_url`` attribute instead of
 
509
  separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
 
510
  and ``_path`` attributes. Proxies are provided for the moment but
 
511
  may be removed in the future. (Jelmer Vernooij)
 
512
 
 
513
Internals
 
514
*********
 
515
 
 
516
* A new debug flag ``hpss_client_no_vfs`` will now cause the HPSS client
 
517
  to raise a ``HpssVfsRequestNotAllowed`` exception when a VFS request
 
518
  is attempted. (Jelmer Vernooij)
 
519
 
 
520
* New method ``ControlDir._get_selected_branch`` which returns the
 
521
  colocated branch selected using path segment parameters.
 
522
  (Jelmer Vernooij, #380871)
 
523
 
 
524
Testing
 
525
*******
 
526
 
 
527
* Blackbox tests (including test scripts) can be debugged interactively (see
 
528
  bzrlib.debug.BzrPdb for details). (Vincent Ladeuil)
 
529
 
 
530
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
 
531
  cleanly and reliably allows tests using `BranchBuilder` to construct
 
532
  branches that e.g. rename files out of a directory and unversion that
 
533
  directory in the same revision.  Previously some changes were impossible
 
534
  due to the order that `build_snapshot` performs its actions.
 
535
  (Andrew Bennetts)
 
536
 
 
537
* Don't require ``os.fdatasync`` to be defined on all supported OSes
 
538
  (BSD-based OSes don't define it).  (Vincent Ladeuil, #822649)
 
539
 
 
540
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
 
541
 
 
542
* ``LockDir`` can now be run when the local hostname is ``localhost``.
 
543
  (Jelmer Vernooij, #825994)
 
544
 
 
545
* ``ModuleAvailableFeature`` won't try to import already imported modules,
 
546
  allowing it to be used for modules with side-effects.
 
547
  (Vincent Ladeuil, #712474)
 
548
 
 
549
* Output time stamps while running ``make check`` to get better timings from
 
550
  pqm.  (Vincent Ladeuil, #837926)
 
551
 
 
552
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
 
553
  just compares the bytes in the dirstate file to its pristine state,
 
554
  rather than opening the WorkingTree and calling ``last_revision()``.
 
555
  This reduces the overall test suite time by about 10% on my laptop.
 
556
  (Andrew Bennetts)
 
557
 
 
558
* Update `TestCase.knownFailure` to the testtools way of handling expected
 
559
  failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
 
560
 
 
561
..
 
562
   vim: tw=74 ft=rst ff=unix