~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-10-13 06:08:53 UTC
  • mfrom: (4737.1.1 merge-2.0-into-devel)
  • Revision ID: pqm@pqm.ubuntu.com-20091013060853-erk2aaj80fnkrv25
(andrew) Merge lp:bzr/2.0 into lp:bzr, including fixes for #322807,
        #389413, #402623 and documentation improvements.

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