~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2012-02-20 12:19:29 UTC
  • mfrom: (6437.23.11 2.5)
  • mto: (6581.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6582.
  • Revision ID: jelmer@samba.org-20120220121929-7ni2psvjoatm1yp4
Merge bzr/2.5.

Show diffs side-by-side

added added

removed removed

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