~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2005-04-28 07:24:55 UTC
  • Revision ID: mbp@sourcefrog.net-20050428072453-7b99afa993a1e549
todo

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.5b6
9
 
#########
10
 
 
11
 
:2.5b6: 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
 
* Support for colocated branches is now available in the default
24
 
  format ("2a"). (Jelmer Vernooij)
25
 
 
26
 
Improvements
27
 
************
28
 
 
29
 
.. Improvements to existing commands, especially improved performance 
30
 
   or memory usage, or better results.
31
 
 
32
 
* ``bzr switch -b`` in a standalone tree will now create a colocated branch.
33
 
  (Jelmer Vernooij, #918197)
34
 
 
35
 
* ``bzr info`` now reports when there are present (but unused) colocated
36
 
  branches. (Jelmer Vernooij, #891646)
37
 
 
38
 
* Checkouts can now be into target directories that already have
39
 
  a control directory (but no branch or working tree).
40
 
  (Jelmer Vernooij, #913980)
41
 
 
42
 
* Checkouts of colocated branches are now always lightweight.
43
 
  (Jelmer Vernooij, #918828)
44
 
 
45
 
* Colocated branches can now have names including forward slashes, to
46
 
  allow for namespaces. (Jelmer Vernooij, #907980)
47
 
 
48
 
* New HPSS call for ``BzrDir.get_branches``. (Jelmer Vernooij, #894460)
49
 
 
50
 
* Two new command hooks, ``pre_command`` and ``post_command``,
51
 
  provide notification before and after a command has been run.
52
 
  (Brian de Alwis, Jelmer Vernooij)
53
 
 
54
 
Bug Fixes
55
 
*********
56
 
 
57
 
.. Fixes for situations where bzr would previously crash or give incorrect
58
 
   or undesirable results.
59
 
 
60
 
* ``bzr branch`` now fetches revisions when branching into an empty
61
 
  control directory. (Jelmer Vernooij, #905594)
62
 
 
63
 
* A sane default is provided for ``ssl.ca_certs`` which should points to the
64
 
  Certificate Authority bundle for supported platforms.
65
 
  (Vincent Ladeuil, #920455)
66
 
 
67
 
* ``bzr branch`` generates correct target branch locations again if not
68
 
  specified. (Jelmer Vernooij, #919218)
69
 
 
70
 
* ``bzr send`` works on treeless branches again.
71
 
  (Jelmer Vernooij, #921591)
72
 
 
73
 
* Support scripts that don't call bzrlib.initialize() but still call run_bzr().
74
 
  (Vincent Ladeuil, #917733)
75
 
 
76
 
* Test for equality instead of object identity where ROOT_PARENT is concerned.
77
 
  (Wouter van Heyst, #881142)
78
 
 
79
 
* urllib-based HTTPS client connections now verify the server certificate
80
 
  validity as well as the hostname.
81
 
  (Jelmer Vernooij, Vincent Ladeuil, #651161)
82
 
 
83
 
Documentation
84
 
*************
85
 
 
86
 
.. Improved or updated documentation.
87
 
 
88
 
API Changes
89
 
***********
90
 
 
91
 
.. Changes that may require updates in plugins or other code that uses
92
 
   bzrlib.
93
 
 
94
 
* ``ControlDir`` now has a new method ``set_branch_reference`` which can
95
 
  be used for setting branch references. (Jelmer Vernooij)
96
 
 
97
 
* ``ControlDir.destroy_branch`` now raises ``NotBranchError`` rather than
98
 
  ``NoSuchFile`` if the branch didn't exist. (Jelmer Vernooij, #921693)
99
 
 
100
 
* New convenience API method ``WorkingTree.get_config_stack``.
101
 
  (Jelmer Vernooij)
102
 
 
103
 
Internals
104
 
*********
105
 
 
106
 
.. Major internal changes, unlikely to be visible to users or plugin 
107
 
   developers, but interesting for bzr developers.
108
 
 
109
 
* A new matcher ``RevisionHistoryMatches`` has been added. (Jelmer Vernooij)
110
 
 
111
 
* Add new module ``bzrlib.url_policy_open``. (Jelmer Vernooij, #850843)
112
 
 
113
 
* ``MutableTree`` has two new hooks ``pre_transform`` and
114
 
  ``post_transform`` that are called for tree transform operations.
115
 
  (Jelmer Vernooij, #912084)
116
 
 
117
 
 
118
 
Testing
119
 
*******
120
 
 
121
 
.. Fixes and changes that are only relevant to bzr's test framework and 
122
 
   suite.  This can include new facilities for writing tests, fixes to 
123
 
   spurious test failures and changes to the way things should be tested.
124
 
 
125
 
* Be more careful about closing open files for pypy interoperability.
126
 
  (Wouter van Heyst)
127
 
 
128
 
bzr 2.5b5
129
 
#########
130
 
 
131
 
:2.5b5: 2012-01-12
132
 
 
133
 
This is the fifth (and last) beta of the 2.5 series, leading to a 2.5.0
134
 
release in February 2012. Beta releases are suitable for everyday use but
135
 
may cause some incompatibilities with plugins.
136
 
 
137
 
This release includes many improvements in the smart server, UI polish for
138
 
the colocated branches, enhancements to the config framework and more
139
 
internal uses, bug fixes related to unicode and locale support and more.
140
 
 
141
 
All bug fixed in previous series known at the time of this release are
142
 
included.
143
 
 
144
 
External Compatibility Breaks
145
 
*****************************
146
 
 
147
 
* The '.bzr/branch/email' file is no longer read to determine the users'
148
 
  identity. Instead, the 'email' setting in '.bzr/branch/branch.conf'
149
 
  should be used. (Jelmer Vernooij, #903894)
150
 
 
151
 
New Features
152
 
************
153
 
 
154
 
* "bzr mkdir" now includes -p (--parents) option for recursively adding
155
 
  parent directories.
156
 
  (Jared Hance, Jelmer Vernooij, #253529)
157
 
 
158
 
* ``config.Option`` can now declare ``override_from_env``, a list of
159
 
  environment variables which, when set, that takes precedence over values
160
 
  defined in configuration files. (Vincent Ladeuil, #907279)
161
 
 
162
 
Improvements
163
 
************
164
 
 
165
 
* New HPSS call for ``Repository.reconcile``. (Jelmer Vernooij, #894455)
166
 
 
167
 
* Merge now has two new hooks ``pre_merge`` and ``post_merge``
168
 
  that are called before and after a merge and can make
169
 
  additional modifications to the trees involved.
170
 
  (Jelmer Vernooij, #906877)
171
 
 
172
 
* Override the value returned by ``sys.getfilesystemencoding()`` for the bzr
173
 
  script to utf-8 when it would otherwise be ascii on a posix system. This
174
 
  will mean bzr works with non-ascii files when no locale or an incorrect
175
 
  locale is set. (Martin Packman, #794353)
176
 
 
177
 
* ``bzr branches`` now indicates the active colocated branch.
178
 
  (Jelmer Vernooij, #891667)
179
 
 
180
 
* ``bzr push`` now suggests using :parent if there is a parent location
181
 
  set. (Jelmer Vernooij)
182
 
 
183
 
* ``bzr send`` now only opens a single connection, rather than two,
184
 
  to the target branch.  (Jelmer Vernooij)
185
 
 
186
 
Bug Fixes
187
 
*********
188
 
 
189
 
* Allow configuration option default value to be a python callable at
190
 
  registration. (Vincent Ladeuil, #832064)
191
 
 
192
 
* ``bzr config`` will now display the section ``[DEFAULT]`` used in
193
 
  ``bazaar.conf``. (Vincent Ladeuil, #907268)
194
 
 
195
 
* Configuration stores can now provides a specific quoting mechanism. This
196
 
  is required to workaround ``configobj`` conflating quoting and list values
197
 
  automatic conversion. (Vincent Ladeuil, #906897)
198
 
 
199
 
* Create obsolete_packs directory when repacking if it does not
200
 
  exist. (Jonathan Riddell, Jelmer Vernooij, #314314)
201
 
 
202
 
* Fallback to the slower ``bzr log`` implementation when displaying a range
203
 
  of revisions whose ancestry is not obviously on the same developement
204
 
  line. (Vincent Ladeuil, #904744)
205
 
 
206
 
* Make lazy imports resilient when resolved concurrently from multiple
207
 
  threads. Now the stand-in object will behave as a proxy for the real object
208
 
  after the initial access, rather than throwing. Assigning the object to
209
 
  multiple names should still be avoided. (Martin von Gagern, #396819)
210
 
 
211
 
* Not setting ``gpg_signing_key`` or setting it to ``default`` will use the
212
 
  user email (obtained from the ``email`` configuration option or its
213
 
  default value). (Vincent Ladeuil, Jelmer Vernooij, #904550)
214
 
 
215
 
* Prevent spurious InconsistentDelta error when committing a move of a
216
 
  non-ascii directory with contents. (Rory Yorke, #185211)
217
 
 
218
 
* Properly ignore '\n' in an option reference since this cannot be part of a
219
 
  config option identifier. (Vincent Ladeuil, #902125)
220
 
 
221
 
* Make sure that the bzr probers are always registered when
222
 
  bzrlib.workingtree is imported. (Jelmer Vernooij, #905218)
223
 
 
224
 
* Report mistake trying to move a removed file with a non-ascii name without
225
 
  UnicodeEncodeError being raised. (Martin Packman, #898541)
226
 
 
227
 
* Safely unquote configuration values in weird edge cases (a section seen as
228
 
  a dictionary which is not a supported use case for the configuration
229
 
  stacks). (Vincent Ladeuil, #908050)
230
 
 
231
 
* Stop altering ``sys.platform`` on OSX when initialising the locale.
232
 
  (Martin Packman, #570495)
233
 
 
234
 
* Uncommit no longer removes tags if they are part of the working
235
 
  trees pending merges. (Jelmer Vernooij, #905462)
236
 
 
237
 
API Changes
238
 
***********
239
 
 
240
 
* ``Config.signature_needed``, ``Config.signing_policy``,
241
 
  ``Config.gpg_signing_key``, ``Config.gpg_signing_command``,
242
 
  ``Config.checking_policy`` and ``Config.post_commit`` are now deprecated.
243
 
  (Jelmer Vernooij)
244
 
 
245
 
* ``Repository.get_commit_builder`` now takes a ``config_stack``
246
 
  rather than a ``config`` argument. (Jelmer Vernooij)
247
 
 
248
 
* Scripts using bzrlib should now ensure setlocale is called on posix
249
 
  platforms if they need a non-ascii user encoding. (Martin Packman)
250
 
 
251
 
* Send formats now accept a new optional argument ``submit_branch``,
252
 
  which can be None or a Branch object for the submit branch location.
253
 
  (Jelmer Vernooij)
254
 
 
255
 
* ``VersionedFileRepository.add_revision`` no longer takes a ``config``
256
 
  argument. (Jelmer Vernooij)
257
 
 
258
 
Internals
259
 
*********
260
 
 
261
 
* Add HPSS call for ``Branch.get_checkout_format``. (Jelmer Vernooij, #894459)
262
 
 
263
 
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
264
 
 
265
 
* Add HPSS calls for ``Repository.iter_files_bytes``, speeding up
266
 
  several commands including ``bzr export`` and ``bzr co --lightweight``.
267
 
  (Jelmer Vernooij, #608640)
268
 
 
269
 
* All bzr control directories, branch formats, repository formats and
270
 
  working tree formats now support feature flags, which are
271
 
  serialized in their respective format files. See
272
 
  ``doc/developers/feature-flags.txt`` for details.
273
 
  (Jelmer Vernooij)
274
 
 
275
 
* ``bzrlib.urlutils`` now includes ``quote`` and ``unquote`` functions,
276
 
  rather than importing them from ``urllib``. This prevents loading
277
 
  of the ``socket``, ``ssl`` and ``urllib`` modules for
278
 
  local bzr operations. (Jelmer Vernooij)
279
 
 
280
 
* Configuration options can be SI units by using ``int_SI_from_unicode`` as
281
 
  their ``convert_from_unicode`` helper. (Vincent Ladeuil)
282
 
 
283
 
* Configuration stacks can now use ``StartingPathMatcher`` to select the
284
 
  sections matching a location while respecting the order chosen by the user
285
 
  in the configuration file: from generic sections to specific
286
 
  sections. (Vincent Ladeuil, #832046).
287
 
 
288
 
* Configuration stores can now save incremental changes by using
289
 
  ``save_changes()`` instead of ``save()``. This reduces the number or
290
 
  required input/outputs and allows stores to be shared between
291
 
  stacks. (Vincent Ladeuil)
292
 
 
293
 
* ControlDir now has a get_branches method that returns a dictionary
294
 
  whose keys are the names of the branches and whose values are the
295
 
  branches themselves. The active branch uses the key None.
296
 
  (Neil Martinsen-Burrell)
297
 
 
298
 
* Helper ``osutils.path_from_environ`` added for extracting a unicode path
299
 
  from an environment variable. (Martin Packman, #832028)
300
 
 
301
 
* Helper ``win32utils.get_environ_unicode`` added for avoiding encoding
302
 
  problems with ``os.environ.get`` use. (Martin Packman, #262874) 
303
 
 
304
 
* Lazy imports can now only be absolute. (Jelmer Vernooij)
305
 
 
306
 
* Merge3Mergers now have an optional ``other_branch`` argument
307
 
  which contains the branch from which the ``other_tree``
308
 
  was obtained, if any. (Jelmer Vernooij)
309
 
 
310
 
* MutableTree now has a hook ``post_build_tree`` which is called after
311
 
  a new mutable tree has been created. (Jelmer Vernooij, #912765)
312
 
 
313
 
* New HPSS call ``BzrDir.checkout_metadir``. (Jelmer Vernooij, #894459)
314
 
 
315
 
* New HPSS call ``VersionedFileRepository.get_inventories``,
316
 
  speeding up various commands including ``bzr export``,
317
 
  ``bzr checkout`` and ``bzr cat``. (Jelmer Vernooij, #608640)
318
 
 
319
 
* The ``ConfigCommandLineStore`` is now supported by ``bzr config`` and is
320
 
  seen as single no-name section of configuration options. (Vincent Ladeuil)
321
 
 
322
 
Testing
323
 
*******
324
 
 
325
 
* New matcher ``ContainsNoVfsCalls`` which filters a list of HPSS
326
 
  calls for VFS requests. (Jelmer Vernooij)
327
 
 
328
 
* New ``MemoryStack`` class allows for diskless tests and locally injected
329
 
  configuration stacks.  Lower level tests for predefined set of options can
330
 
  be written without setting up configuration files. (Vincent Ladeuil)
331
 
 
332
 
 
333
 
bzr 2.5b4
334
 
#########
335
 
 
336
 
:2.5b4: 2011-12-08
337
 
 
338
 
This is the fourth beta of the 2.5 series, leading to a 2.5.0 release in
339
 
February 2012. Beta releases are suitable for everyday use but may cause
340
 
some incompatibilities with plugins.
341
 
 
342
 
This release includes many improvements in the smart server, UI polish for
343
 
the colocated branches, optimizations for revision specifiers to avoid
344
 
history sized operations, enhancements to the config framework, bug fixes
345
 
related to unicode paths and more.
346
 
 
347
 
All bug fixed in previous series known at the time of this release are
348
 
included.
349
 
 
350
 
External Compatibility Breaks
351
 
*****************************
352
 
 
353
 
None.
354
 
 
355
 
New Features
356
 
************
357
 
 
358
 
* Provides a ``po_merge`` plugin to automatically merge ``.po`` files with
359
 
  ``msgmerge``. See ``bzr help po_merge`` for details.
360
 
  (Vincent Ladeuil, #884270)
361
 
 
362
 
Improvements
363
 
************
364
 
 
365
 
* ``bzr branch --stacked`` now only makes a single connection to the remote
366
 
  server rather than three. (Jelmer Vernooij, #444293)
367
 
 
368
 
* ``bzr export --uncommitted`` will export the uncommitted tree.
369
 
  (Jelmer Vernooij, #555613)
370
 
 
371
 
* ``bzr rmbranch`` can now remove colocated branches.
372
 
  (Jelmer Vernooij, #831464)
373
 
 
374
 
* ``bzr status`` no longer shows shelves if files are specified.
375
 
  (Francis Devereux)
376
 
 
377
 
* ``bzr switch`` now accepts colocated branch names to switch to.
378
 
  (Jelmer Vernooij, #826814)
379
 
 
380
 
* Plugins can now register additional "location aliases".
381
 
  (Jelmer Vernooij)
382
 
 
383
 
* Revision specifiers will now only browse as much history as they
384
 
  need to, rather than grabbing the whole history unnecessarily in some
385
 
  cases. (Jelmer Vernooij)
386
 
 
387
 
* When using ``bzr switch`` to switch to a sibling of the current
388
 
  branch, the relative branch name should no longer be url-encoded.
389
 
  (Jelmer Vernooij)
390
 
 
391
 
Bug Fixes
392
 
*********
393
 
 
394
 
* A new section local option ``basename`` is available to help support some
395
 
  ``bzr-pipeline`` workflows and more generally help mapping local paths to
396
 
  remote ones. See ``bzr help configuration`` for more details.
397
 
  (Vincent Ladeuil, #843211)
398
 
 
399
 
* Add HPSS call for looking up revision numbers from revision ids on
400
 
  remote repositories. (Jelmer Vernooij, #640253)
401
 
 
402
 
* Add HPSS call for retrieving file contents from remote repositories.
403
 
  Should improve performance for lightweight checkouts and exports of
404
 
  from remote repositories.  (Jelmer Vernooij, #368717, #762330, #608640)
405
 
 
406
 
* Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be
407
 
  pickled. (Jelmer Vernooij, #893149)
408
 
 
409
 
* ``bzr info`` no longer shows empty output if only a control
410
 
  directory is present. (Jelmer Vernooij, #159098)
411
 
 
412
 
* Cope with missing revision ids being specified to
413
 
  ``Repository.gather_stats`` HPSS call. (Jelmer Vernooij, #411290)
414
 
 
415
 
* Fix test failures on windows related to locations.conf handling.
416
 
  (Vincent Ladeuil, #892992)
417
 
 
418
 
* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
419
 
  prohibits several invalid strings, reads the correct number of seconds,
420
 
  and gives a better error message if the time zone offset is not given.
421
 
  (Matt Giuca, #892657)
422
 
 
423
 
* Give meaningful file/line references when reporting deprecation warnings
424
 
  for _CompatabilityThunkFeature based test features.
425
 
  (Vincent Ladeuil, #897718)
426
 
 
427
 
* Make reporting of mistakes involving unversioned files with non-ascii
428
 
  filenames work again without 'Unprintable exception' being shown.
429
 
  (Martin Packman, #898408)
430
 
 
431
 
* Provide names for lazily registered hooks. 
432
 
  (Neil Martinsen-Burrell, #894609)
433
 
 
434
 
* Raise BadIndexKey exception in btree_index when a key is too large, fixing 
435
 
  an infinite recursion issue. (Shannon Weyrick, #720853)
436
 
 
437
 
* Resolve regression from colocated branch path handling, by ensuring that
438
 
  unreserved characters are unquoted in URLs. (Martin Packman, #842223)
439
 
 
440
 
* Split segments from URLs for colocated branches without assuming the
441
 
  combined form is valid. (Martin Packman, #842233)
442
 
 
443
 
* Support looking up revision numbers by revision id in empty branches.
444
 
  (Jelmer Vernooij, #535031)
445
 
 
446
 
* Support verifying signatures on remote repositories.
447
 
  (Jelmer Vernooij, #889694)
448
 
 
449
 
* Teach the bzr client how to reconnect if we get ``ConnectionReset``
450
 
  while making an RPC request. This doesn't handle all possible network
451
 
  disconnects, but it should at least handle when the server is asked to
452
 
  shutdown gracefully. (John Arbash Meinel, #819604)
453
 
 
454
 
* When a remote format is unknown, bzr will now print a single-line error
455
 
  message rather than a backtrace. (Jelmer Vernooij, #687226)
456
 
 
457
 
API Changes
458
 
***********
459
 
 
460
 
* ``BzrDir.open_branch`` and ``BranchFormat.open`` now take an optional
461
 
  ``possible_transports`` argument. (Jelmer Vernooij)
462
 
 
463
 
* New method ``Transport.set_segment_parameter``.  (Jelmer Vernooij)
464
 
 
465
 
* ``Repository.verify_revision`` has been renamed to
466
 
  ``Repository.verify_revision_signature``. (Jelmer Vernooij)
467
 
 
468
 
* ``RevisionSpec.wants_revision_history`` now defaults to ``False`` and
469
 
  is deprecated. The ``revs`` argument of
470
 
  ``RevisionInfo.from_revision_id`` is now deprecated. (Jelmer Vernooij)
471
 
 
472
 
* ``Tree.get_file_by_path`` is now deprecated. Use ``Tree.get_file`` instead.
473
 
  (Jelmer Vernooij, #666897)
474
 
 
475
 
* Some global options for use with commands have been removed, construct
476
 
  an ``Option`` with the name instead. (Martin Packman)
477
 
 
478
 
* The unused exception ``HistoryMissing`` has been removed.
479
 
  (Jelmer Vernooij)
480
 
 
481
 
Internals
482
 
*********
483
 
 
484
 
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
485
 
 
486
 
* ``bzr config`` uses the new configuration implementation.
487
 
  (Vincent Ladeuil)
488
 
 
489
 
* Custom HPSS error handlers can now be installed in the smart server client
490
 
  using the ``error_translators`` and ``no_context_error_translators``
491
 
  registries. (Jelmer Vernooij)
492
 
 
493
 
* New HPSS calls ``Repository.has_signature_for_revision_id``,
494
 
  ``Repository.make_working_trees``, ``BzrDir.destroy_repository``,
495
 
  ``BzrDir.has_workingtree``, ``Repository.get_physical_lock_status``,
496
 
  ``Branch.get_physical_lock_status``,
497
 
  ``Branch.put_config_file``, ``Branch.break_lock``,
498
 
  ``BzrDir.destroy_branch``, ``Repository.break_lock``,
499
 
  ``VersionedFileRepository.get_serializer_format``,
500
 
  ``Repository.all_revision_ids``, ``Repository.start_write_group``,
501
 
  ``Repository.commit_write_group``, ``Repository.abort_write_group``
502
 
  ``Repository.check_write_group``, ``Repository.iter_revisions``,
503
 
  ``Repository.add_signature_revision_text`` and
504
 
  ``Repository.get_revision_signature_text``.
505
 
  (Jelmer Vernooij)
506
 
 
507
 
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
508
 
  will now use HPSS calls where possible. (Jelmer Vernooij)
509
 
 
510
 
* The registry of merge types has been moved to ``merge`` from ``option`` but
511
 
  ``merge.get_merge_type_registry`` remains as an accessor. (Martin Packman)
512
 
 
513
 
Testing
514
 
*******
515
 
 
516
 
* Avoid failures in test_transform when OS error messages are localised.
517
 
  (Martin Packman, #891582)
518
 
 
519
 
* Tests are now subject to a time limit: by default 300s, and 120s when
520
 
  run from 'make check', controlled by the `selftest.timeout`
521
 
  configuration option.  This is currently not supported on Windows.
522
 
  (Martin Pool)
523
 
 
524
 
bzr 2.5b3
525
 
#########
526
 
 
527
 
:2.5b3: 2011-11-10
528
 
 
529
 
This is the third beta of the 2.5 series, leading to a 2.5.0 release in
530
 
February 2012. Beta releases are suitable for everyday use but may cause
531
 
some incompatibilities with plugins.
532
 
 
533
 
This release includes log options for ``push`` and ``pull``, more UI polish
534
 
for colocated branches, a better and more coherent implementation for UI
535
 
dialogs, enhancements to the config framework and more.
536
 
 
537
 
This release includes all bug fixed in previous series known at the time of
538
 
this release.
539
 
 
540
 
External Compatibility Breaks
541
 
*****************************
542
 
 
543
 
None
544
 
 
545
 
New Features
546
 
************
547
 
 
548
 
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
549
 
  change the format ``push`` and ``pull`` use to display the
550
 
  revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
551
 
  format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
552
 
 
553
 
* The new config scheme allows an alternative syntax for the 'appenpath'
554
 
  policy relying on option expansion and defining a new 'relpath' option
555
 
  local to a section. Instead of using '<option>:policy=appendpath', the
556
 
  option value can de defined as 'option=xxxx/{relpath}'.
557
 
  (Vincent Ladeuil, #832013)
558
 
 
559
 
Improvements
560
 
************
561
 
 
562
 
* ``bzr info -v`` now shows the number of colocated branches
563
 
  for control directories that support them.
564
 
  (Jelmer Vernooij, #863285)
565
 
 
566
 
* ``bzr version-info`` now takes a ``--revision`` argument.
567
 
  (Jelmer Vernooij, #238705)
568
 
 
569
 
* ``bzr revno`` now takes a ``--revision`` argument.
570
 
  (Jelmer Vernooij, #870649)
571
 
 
572
 
* ``bzr serve`` now can serve from URLs rather than just from the
573
 
  file system. I.e.: ``bzr serve -d lp:bzr`` or
574
 
  ``bzr serve -d file:///data/bzr`` (Jelmer Vernooij)
575
 
 
576
 
* all input prompts are now char-based when possible, and can be forced to
577
 
  line-based mode by setting the ``BZR_TEXTUI_INPUT`` environment variable
578
 
  to 'line-based'. This replace the previous shelf UI only patch using
579
 
  ``INSIDE_EMACS``. (Benoît Pierre)
580
 
 
581
 
Bug Fixes
582
 
*********
583
 
 
584
 
* ``bzr info`` now shows the master branch location too for
585
 
  treeless local branches. (Jelmer Vernooij, #258355)
586
 
 
587
 
* ``bzr mkdir --quiet`` now does not print a line for every created
588
 
  directory. (Martin von Gagern, #869915)
589
 
 
590
 
* ``bzr mv`` does not crash when attempting to move the root of a
591
 
  branch. (Jonathan Riddell, #809728)
592
 
 
593
 
* ``bzr shelve`` now use ``UIFactory.choose`` for input handling, making
594
 
  it usable when creating a custom ``UIFactory`` implementation. (Benoît
595
 
  Pierre)
596
 
 
597
 
* ``bzr clean-tree`` now use ``UIFactory.get_boolean`` for confirmation
598
 
  prompt, making it usable when using a custom ``UIFactory``
599
 
  implementation. (Benoît Pierre)
600
 
 
601
 
* If sending a crash through Apport fails report the Apport failure to
602
 
  bzr.log rather than stderr. (Jonathan Riddell, #766735)
603
 
 
604
 
* ``bzr upgrade`` no longer treats 'already up-to-date' exceptions as
605
 
  errors. (Benoît Pierre, #716560).
606
 
 
607
 
* ``bzr version-info`` no longer populates the clean state for custom
608
 
  templates unless {clean} is explicitly asked for.
609
 
  (Lawrence Mitchell, #882541)
610
 
 
611
 
* Fix finding the CPU count when using Python >= 2.6 on BSD-based systems.
612
 
  (Jelmer Vernooij, #887151)
613
 
 
614
 
* ``WorkingTree.clone()`` now supports its ``revision_id`` being set
615
 
  to the null revision. (Jelmer Vernooij, #876423)
616
 
 
617
 
* ``WorkingTree.pull`` can now pull ``NULL_REVISION``.
618
 
  (Jelmer Vernooij, #887556)
619
 
 
620
 
API Changes
621
 
***********
622
 
 
623
 
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
624
 
 
625
 
* Methods ``add`` and ``items`` of ``LRUCache`` and ``LRUSizeCache`` are
626
 
  deprecated. Use normal dict-style access instead. (Martin Packman)
627
 
 
628
 
* New flag ``RepositoryFormat.supports_unreferenced_revisions`` which
629
 
  indicates whether revisions can be present in a repository without
630
 
  being referenced from e.g. a branch history at the same time.
631
 
  (Jelmer Vernooij)
632
 
 
633
 
* ``UIFactory.choose`` has been added: prompt the user for a list of
634
 
  choices. (Benoît Pierre)
635
 
 
636
 
Internals
637
 
*********
638
 
 
639
 
* ``ControlDirFormat`` now has a new method ``supports_transport``
640
 
  which format implementations can use whether or not they can access
641
 
  a control dir over a particular transport. (Jelmer Vernooij)
642
 
 
643
 
* ``BranchBuilder.build_commit`` now take ``parent_ids`` and
644
 
  ``allow_leftmost_as_ghost`` arguments.  (Jelmer Vernooij)
645
 
 
646
 
Testing
647
 
*******
648
 
 
649
 
* Ensure TestCase instances are deallocated immediately after running where
650
 
  possible. This greatly reduces the peak resource needs of a full test suite
651
 
  run. The new ``-Euncollected_cases`` selftest flag will add failures if any
652
 
  case which persists pasts its expected lifetime. (Martin Packman, #613247)
653
 
 
654
 
* Report exceptions from child processes during fork instead of swallowing the
655
 
  error and reporting that everything went okay. (Martin Packman, #804130)
656
 
 
657
 
 
658
 
bzr 2.5b2
659
 
#########
660
 
 
661
 
This is the second beta of the 2.5 series, leading to a 2.5.0 release in
662
 
February 2012. Beta releases are suitable for everyday use but may cause some
663
 
incompatibilities with plugins.
664
 
 
665
 
This release includes more filtering options for ``bzr log``, idle
666
 
connections handling for ``bzr serve``, a ``development-colo`` experimental
667
 
format to flesh out the colocated branches UI, better support for foreign
668
 
formats, enhancements to the config framework and more.
669
 
 
670
 
This release includes all bug fixed in previous series known at the time of
671
 
this release.
672
 
 
673
 
:2.5b2: 2011-10-06
674
 
 
675
 
External Compatibility Breaks
676
 
*****************************
677
 
 
678
 
None
679
 
 
680
 
New Features
681
 
************
682
 
 
683
 
* A new ``-O`` standard option (common to all commands) have been added. It
684
 
  provides a value for a config option in the ``-Oname=value`` form that
685
 
  takes precedence over all definitions found in config files.  It can be
686
 
  used multiple times to override different options.
687
 
  (Vincent Ladeuil, #491196)
688
 
 
689
 
* ``bzr log`` now has an option called ``--omit-merges`` to omit
690
 
  those commits that merged branches, i.e. those having more than one
691
 
  parent.
692
 
  In order to avoid confusion, the previous command line option
693
 
  ``--include-merges`` has been renamed to ``--include-merged``.
694
 
  The old name of the command line option will still be accepted.
695
 
  The name change also affects ``bzr missing``.
696
 
  (Martin von Gagern)
697
 
 
698
 
* ``bzr serve`` will now disconnect clients if they have not issued an RPC
699
 
  request after 5minutes. On POSIX platforms, this will also happen for
700
 
  ``bzr serve --inet``. This can be overridden with the configuration
701
 
  variable ``serve.client_timeout`` or in the command line parameter
702
 
  ``bzr serve --client-timeout=X``. Further, it is possible to request
703
 
  ``bzr serve [--inet]`` to shutdown gracefully by sending SIGHUP. It will
704
 
  finish the current request, and then close the connection.
705
 
  (John Arbash Meinel, #824797, #795025)
706
 
 
707
 
* The new experimental format ``development-colo`` supports colocated
708
 
  branches. This format will eventually be merged back into the ``2a``
709
 
  format when it has stabilized and there is adequate UI support for
710
 
  colocated branches.
711
 
  (Jelmer Vernooij, #831481)
712
 
 
713
 
Improvements
714
 
************
715
 
 
716
 
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
717
 
  every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
718
 
 
719
 
* ``bzr info -v`` can now be run against branches that don't support
720
 
  ``last_revision_info``, in which case the branch information will simply
721
 
  not be displayed. (Jelmer Vernooij)
722
 
 
723
 
Bug Fixes
724
 
*********
725
 
 
726
 
* ``bzr shelve`` can now be used in emacs shells as the input handling is
727
 
  turned into a line-based one when ``INSIDE_EMACS`` is set (which is the
728
 
  case for all recent emacs versions). (Vincent Ladeuil, #856261)
729
 
 
730
 
* ``bzr tags`` can now be used against remote repositories that do
731
 
  not provide access to the revision graph. (Jelmer Vernooij, #858942)
732
 
 
733
 
* ``bzr update PATH`` will stop if you seem to be asking it to update
734
 
  anything less than a whole tree, because that's not supported by ``bzr``'s
735
 
  concept that the whole tree has a single basis revision.  Previously, it
736
 
  would go ahead and update the whole tree, which was surprising.
737
 
  (Martin Pool, #557886)
738
 
 
739
 
* Don't crash if ``bzrlib.initialize()`` has not been called while accessing
740
 
  configs.  (Vincent Ladeuil, #863401)
741
 
 
742
 
* Redirects between http and https no longer discard path information
743
 
  in some cases. (Jelmer Vernooij, #853765)
744
 
 
745
 
* The ``--overwrite`` argument to ``bzr push`` and ``bzr pull`` no longer
746
 
  reports all tags as changed. (Jelmer Vernooij, #845396)
747
 
 
748
 
* ``WorkingTree.get_file_mtime`` now raises NoSuchId if a file id is
749
 
  specified that is unknown. (Jelmer Vernooij, #847435)
750
 
 
751
 
 
752
 
API Changes
753
 
***********
754
 
 
755
 
* ``Branch.get_revision_delta`` has been deprecated. Use
756
 
  ``Repository.get_revision_delta`` instead. (Jelmer Vernooij, #859712)
757
 
 
758
 
* Plugins that implement custom protocols for ``bzr serve`` should now
759
 
  also take an argument ``timeout``. This is used by the the bzr protocol
760
 
  to close a connection if a client has been idle for more than X seconds.
761
 
  (Default 5minutes). (John Arbash Meinel)
762
 
 
763
 
* ``Repository.fileids_altered_by_revision_ids`` has been moved to
764
 
  ``VersionedFileRepository`` and is no longer part of the standard
765
 
  ``Repository`` interface. (Jelmer Vernooij)
766
 
 
767
 
* The argument ``include_merges`` to ``missing.find_unmerged`` has
768
 
  been renamed to ``include_merged``. The old name is still supported
769
 
  for now but will cause a deprecation warning. (Martin von Gagern)
770
 
 
771
 
* The new method ``ControlDirFormat.is_initializable()`` returns a boolean
772
 
  indicating whether or not it is possible to use any of the
773
 
  initialization methods of that format to create a new control dir.
774
 
  (Jelmer Vernooij)
775
 
 
776
 
Internals
777
 
*********
778
 
 
779
 
* ``Branch`` objects can now use a config stack with the newly introduced
780
 
  ``get_config_stack()``. Both ``get_config`` and ``get_config_stack`` can
781
 
  be used for the same branch but it's recommended to stick to one for a
782
 
  given option.
783
 
 
784
 
Testing
785
 
*******
786
 
 
787
 
* Test scripts can now use ``bzr shelve`` and provide their input as
788
 
  complete lines. (Vincent Ladeuil, #856261)
789
 
 
790
 
* Really corrupt the pack file without depending on a special length or value.
791
 
  (Vincent Ladeuil, #807032)
792
 
 
793
 
 
794
 
bzr 2.5b1
795
 
#########
796
 
 
797
 
:2.5b1: 2011-09-15
798
 
 
799
 
This is the first beta of the 2.5 series, leading up to a 2.5.0
800
 
release in February 2012.
801
 
 
802
 
This release includes better support for gpg signing, better support for
803
 
i18n (mostly command help and error messages), more options to filter ``bzr
804
 
log`` output, more support for colocated branches ("location,branch=XXX"
805
 
syntax), better feedback on updated tags for various commands, faster
806
 
branching into an empty repository, enhancements to the config framework and
807
 
more.
808
 
 
809
 
Beta releases are suitable for everyday use but may cause some
810
 
incompatibilities with plugins.  Some plugins may need small updates to work
811
 
with 2.5b1.
812
 
 
813
 
External Compatibility Breaks
814
 
*****************************
815
 
 
816
 
None
817
 
 
818
 
New Features
819
 
************
820
 
 
821
 
* A ``from_unicode`` parameter can be specified when registering a config
822
 
  option. This implements boolean, integer and list config options when the
823
 
  provided ``bool_from_store``, ``int_from_store`` and ``list_from_store``
824
 
  are used for this parameter.  (Vincent Ladeuil)
825
 
 
826
 
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
827
 
  checks to see if the most recent published source package version for
828
 
  that project is present in the branch tags. This should help developers
829
 
  trust whether the packaging branch is up-to-date and can be used for new
830
 
  changes. The level of verbosity is controlled by the config item
831
 
  ``launchpad.packaging_verbosity``. It can be set to one of
832
 
 
833
 
  off
834
 
    disable all checks
835
 
 
836
 
 
837
 
  minimal
838
 
    only display if the branch is out-of-date
839
 
 
840
 
  short
841
 
    also display single-line up-to-date and missing,
842
 
 
843
 
 
844
 
  all
845
 
    (default) display multi-line content for all states
846
 
 
847
 
 
848
 
  (John Arbash Meinel, #609187, #812928)
849
 
 
850
 
* Add a config option gpg_signing_key for setting which GPG key should
851
 
  be used to sign commits. Also default to using the gpg user identity
852
 
  which matches user_email() as set by whoami.
853
 
  (Jonathan Riddell, #68501)
854
 
 
855
 
* An ``invalid`` parameter can be specified when registering a config option
856
 
  to decide what should be done when invalid values are
857
 
  encountered. 'warning' and 'error' will respectively emit a warning and
858
 
  ignore the value or errors out. (Vincent Ladeuil)
859
 
 
860
 
* bzr add now skips large files in recursive mode. The default "large"
861
 
  size is 20MB, and is configurable via the add.maximum_file_size
862
 
  option. A value of 0 disables skipping. Named items passed to add are
863
 
  never skipped. (Shannon Weyrick, #54624)
864
 
 
865
 
* ``bzr help configuration/<option>`` display the help for ``option`` for
866
 
  all registered configuration options. (Vincent Ladeuil, #747050)
867
 
 
868
 
* ``bzr log -m`` now matches message, author, committer and bugs instead
869
 
  of just matching the message.  ``--message`` keeps its original meaning,
870
 
  while ``--match-message, --match-author, --match-committer`` and
871
 
  ``--match-bugs`` match each of those fields. (Jacek Sieka)
872
 
 
873
 
* ``config.Option`` can now declare ``default_from_env``, a list of
874
 
  environment variables to get a default value from. (Vincent Ladeuil)
875
 
 
876
 
* ``config.NameMatcher`` can be used to implement config stores and stacks
877
 
  that need to provide specific option values for arbitrary unique IDs (svn
878
 
  repository UUIDs, etc).  (Vincent Ladeuil, #843638)
879
 
 
880
 
* New builtin ``bzr branches`` command, which lists all colocated branches
881
 
  in a directory. (Jelmer Vernooij, #826820)
882
 
 
883
 
* Relative local paths can now be specified in URL syntax by using the
884
 
  "file:" prefix.  (Jelmer Vernooij)
885
 
 
886
 
* Report commits signed with expired keys in ``verify-signatures``.
887
 
  (Jonathan Riddell, #804254)
888
 
 
889
 
* Translations are now enabled for command help, errors and globally
890
 
  for any message using ``gettext`` given on output.  (Jonathan Riddell,
891
 
  INADA Naoki, #83941)
892
 
 
893
 
Improvements
894
 
************
895
 
 
896
 
* ``bzr add`` will now warn about nested subtrees that are skipped.
897
 
  (Jelmer Vernooij, #187342)
898
 
 
899
 
* ``bzr commit -m ''`` can now be used to force an empty commit message.
900
 
  Entering an empty commit message in the message editor still triggers
901
 
  an error. (Jelmer Vernooij)
902
 
 
903
 
* ``bzr pull`` will now mention how many tags it has updated.
904
 
  (Jelmer Vernooij, #164450)
905
 
 
906
 
* ``bzr tag`` no longer errors if a tag already exists but refers to the
907
 
  same revision, and will mention when a tag has been updated
908
 
  rather than created. (Jelmer Vernooij, #381203)
909
 
 
910
 
* ``bzr uncommit`` will now remove tags that refer to removed revisions.
911
 
  The ``--keep-tags`` option can be used to prevent this behaviour.
912
 
  (Jelmer Vernooij, #605814)
913
 
 
914
 
* Do not run i18n initialisation twice. (Jonathan Riddell)
915
 
 
916
 
* Install translation .mo files. (Jonathan Riddell)
917
 
 
918
 
* Locations printed by ``bzr upgrade`` are now formatted before display.
919
 
  (Jelmer Vernooij)
920
 
 
921
 
* ``Repository.get_parent_map`` now estimates the size of the returned
922
 
  content more accurately. This means that we get closer to the desired
923
 
  64kB/request. For repositories converted from svn, this can be an
924
 
  improvement of approx 5:1 in round trips to discover the whole history.
925
 
  (John Arbash Meinel)
926
 
 
927
 
* Support a ``bugtracker`` option which is used by ``bzr commit --fixes``
928
 
  if no bug tracker was specified on the command line.
929
 
  (Jelmer Vernooij, #334860)
930
 
 
931
 
* Use ``gettext.NullTranslations`` in i18n to allow use of i18n even when
932
 
  translations are not turned on. (Jonathan Riddell)
933
 
 
934
 
Bug Fixes
935
 
*********
936
 
 
937
 
* ``bzr commit`` now correctly reports missing files as "removed", not
938
 
  "modified". (Jelmer Vernooij, #553955)
939
 
 
940
 
* ``bzr reconfigure`` will now allow multiple non-conflicting requests
941
 
  in a single invocation, e.g. ``--branch`` and ``--use-shared``.
942
 
  (Martin von Gagern, #842993)
943
 
 
944
 
* A call to CHKInventory's filter-method will not result in a
945
 
  DuplicateFileId error, if you move a subfolder and change a file in
946
 
  that subfolder.
947
 
  (Bastian Bowe, #809901)
948
 
 
949
 
* Branching from a stacked branch no longer does a ``get_parent_map``
950
 
  request for each revisions that is in the stacked-on repository while
951
 
  determining what revisions need to be fetched. This mostly impacts
952
 
  branching initialy into an empty shared repository when the source is
953
 
  not the development focus.  (John Arbash Meinel, #388269)
954
 
 
955
 
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
956
 
  errors.  (Vincent Ladeuil, #822571)
957
 
 
958
 
* Fix fallout from URL handling changes in 2.5 that caused an IndexError to be
959
 
  raised whenever a transport at the drive root was opened on windows.
960
 
  (Martin [gz], #841322)
961
 
 
962
 
* Fixed loading of external merge tools from config to properly decode
963
 
  command-lines which contain embedded quotes. (Gordon Tyler, #828803)
964
 
 
965
 
* Rather than an error being raised, a warning is now printed when the
966
 
  current user does not have permission to read a configuration file.
967
 
  (Jelmer Vernooij, #837324)
968
 
 
969
 
* The pull command will now always use separate connections for the
970
 
  case where the destination is a heavyweight checkout of some remote
971
 
  branch on the same host as the source branch.
972
 
  (Martin von Gagern, #483661)
973
 
 
974
 
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
975
 
  operations that use it, like merge, can now create trees without a root.
976
 
  (Aaron Bentley)
977
 
 
978
 
Documentation
979
 
*************
980
 
 
981
 
* Release instructions refreshed. (Vincent Ladeuil)
982
 
 
983
 
API Changes
984
 
***********
985
 
 
986
 
* ``BranchFormat.initialize`` now takes a ``append_revisions_only``
987
 
  argument. (Jelmer Vernooij)
988
 
 
989
 
* ``Branch._get_checkout_format`` now takes a ``lightweight`` argument
990
 
  which indicates if the format should be for a lightweight or a
991
 
  heavyweight checkout. (Jelmer Vernooij)
992
 
 
993
 
* ``ControlDir.create_branch`` now takes a ``append_revisions_only`` argument.
994
 
  (Jelmer Vernooij)
995
 
 
996
 
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
997
 
  (Jelmer Vernooij)
998
 
 
999
 
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
1000
 
  value in SI format (i.e. "20MB", "1GB") into its integer equivalent. 
1001
 
  (Shannon Weyrick)
1002
 
 
1003
 
* New method ``InterTree.file_content_matches`` which checks that
1004
 
  two files in different trees have the same contents.
1005
 
  (Jelmer Vernooij)
1006
 
 
1007
 
* New method ``Tree.get_file_verifier`` which allows tree implementations
1008
 
  to return non-sha1 checksums to verify files.
1009
 
  (Jelmer Vernooij, #720831)
1010
 
 
1011
 
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
1012
 
  have been added that only support opening from a path or a URL,
1013
 
  unlike ``get_transport``. (Jelmer Vernooij)
1014
 
 
1015
 
* New registry ``OptionRegistry`` specialized for configuration options.
1016
 
  (Vincent Ladeuil)
1017
 
 
1018
 
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
1019
 
  (Vincent Ladeuil)
1020
 
 
1021
 
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
1022
 
  ``Command._maybe_expand_globs`` and ``Command.run_direct`` deprecated in
1023
 
  2.10 and 2.2.0. (Vincent Ladeuil)
1024
 
 
1025
 
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
1026
 
 
1027
 
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
1028
 
  ``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
1029
 
  remove ``log.show_one_log`` which was never properly deprecated but wasn't
1030
 
  used and is easy to inline if needed. (Vincent Ladeuil)
1031
 
 
1032
 
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
1033
 
  deprecated in 2.1.0. (Vincent Ladeuil)
1034
 
 
1035
 
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
1036
 
  a default transport is currently unused. (Jelmer Vernooij)
1037
 
 
1038
 
* Remove ``UIFactory.warn_cross_format_fetch`` and
1039
 
  ``UIFactory.warn_experimental_format_fetch`` in favor of
1040
 
  ``UIFactory.show_user_warning``. (Jelmer Vernooij)
1041
 
 
1042
 
* ``Tags`` containers can now declare whether they support versioned
1043
 
  tags and whether tags can refer to ghost tags.
1044
 
  (Jelmer Vernooij)
1045
 
 
1046
 
* ``Tags.merge_to`` now returns a dictionary with the updated tags
1047
 
  and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
1048
 
 
1049
 
* There is a new class `ContentFilterTree` that provides a facade for 
1050
 
  content filtering.  The `filtered` parameter to `export` is deprecated 
1051
 
  in favor of passing a filtered tree, and the specific exporter plugins
1052
 
  no longer support it.
1053
 
  (Martin Pool)
1054
 
 
1055
 
* ``Transport`` now has a ``_parsed_url`` attribute instead of
1056
 
  separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
1057
 
  and ``_path`` attributes. Proxies are provided for the moment but
1058
 
  may be removed in the future. (Jelmer Vernooij)
1059
 
 
1060
 
Internals
1061
 
*********
1062
 
 
1063
 
* A new debug flag ``hpss_client_no_vfs`` will now cause the HPSS client
1064
 
  to raise a ``HpssVfsRequestNotAllowed`` exception when a VFS request
1065
 
  is attempted. (Jelmer Vernooij)
1066
 
 
1067
 
* New method ``ControlDir._get_selected_branch`` which returns the
1068
 
  colocated branch selected using path segment parameters.
1069
 
  (Jelmer Vernooij, #380871)
1070
 
 
1071
 
Testing
1072
 
*******
1073
 
 
1074
 
* Blackbox tests (including test scripts) can be debugged interactively (see
1075
 
  bzrlib.debug.BzrPdb for details). (Vincent Ladeuil)
1076
 
 
1077
 
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
1078
 
  cleanly and reliably allows tests using `BranchBuilder` to construct
1079
 
  branches that e.g. rename files out of a directory and unversion that
1080
 
  directory in the same revision.  Previously some changes were impossible
1081
 
  due to the order that `build_snapshot` performs its actions.
1082
 
  (Andrew Bennetts)
1083
 
 
1084
 
* Don't require ``os.fdatasync`` to be defined on all supported OSes
1085
 
  (BSD-based OSes don't define it).  (Vincent Ladeuil, #822649)
1086
 
 
1087
 
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
1088
 
 
1089
 
* ``LockDir`` can now be run when the local hostname is ``localhost``.
1090
 
  (Jelmer Vernooij, #825994)
1091
 
 
1092
 
* ``ModuleAvailableFeature`` won't try to import already imported modules,
1093
 
  allowing it to be used for modules with side-effects.
1094
 
  (Vincent Ladeuil, #712474)
1095
 
 
1096
 
* Output time stamps while running ``make check`` to get better timings from
1097
 
  pqm.  (Vincent Ladeuil, #837926)
1098
 
 
1099
 
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
1100
 
  just compares the bytes in the dirstate file to its pristine state,
1101
 
  rather than opening the WorkingTree and calling ``last_revision()``.
1102
 
  This reduces the overall test suite time by about 10% on my laptop.
1103
 
  (Andrew Bennetts)
1104
 
 
1105
 
* Update `TestCase.knownFailure` to the testtools way of handling expected
1106
 
  failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
1107
 
 
1108
 
..
1109
 
   vim: tw=74 ft=rst ff=unix