~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2013-05-23 10:35:23 UTC
  • mfrom: (6574.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20130523103523-2wt6jmauja1n1vdt
(jameinel) Merge bzr/2.5 into trunk. (John A Meinel)

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