/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Martin Packman
  • Date: 2011-11-29 16:14:12 UTC
  • mto: This revision was merged to the branch mainline in revision 6327.
  • Revision ID: martin.packman@canonical.com-20111129161412-mx4yu5mg6xsaty46
Require the dulwich package when using py2exe with the git plugin enabled

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.5b4
 
9
#########
 
10
 
 
11
:2.5b4: 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
* When using ``bzr switch`` to switch to a sibling of the current
 
30
  branch, the relative branch name should no longer be url-encoded.
 
31
  (Jelmer Vernooij)
 
32
 
 
33
* ``bzr switch`` now accepts colocated branch names to switch to.
 
34
  (Jelmer Vernooij, #826814)
 
35
 
 
36
* ``bzr branch --stacked`` now only makes a single connection to the remote
 
37
  server rather than three. (Jelmer Vernooij, #444293)
 
38
 
 
39
Bug Fixes
 
40
*********
 
41
 
 
42
.. Fixes for situations where bzr would previously crash or give incorrect
 
43
   or undesirable results.
 
44
 
 
45
* Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be
 
46
  pickled. (Jelmer Vernooij, #893149)
 
47
 
 
48
* A new section local option ``basename`` is available to help support some
 
49
  ``bzr-pipeline`` workflows and more generally help mapping local paths to
 
50
  remote ones. See ``bzr help configuration`` for more details.
 
51
  (Vincent Ladeuil, #843211)
 
52
 
 
53
* Add HPSS call for looking up revision numbers from revision ids on
 
54
  remote repositories. (Jelmer Vernooij, #640253)
 
55
 
 
56
* Add HPSS call for retrieving file contents from remote repositories.
 
57
  Should improve performance for lightweight checkouts and exports of
 
58
  from remote repositories.  (Jelmer Vernooij, #368717, #762330,
 
59
  #608640)
 
60
 
 
61
* Cope with missing revision ids being specified to
 
62
  ``Repository.gather_stats`` HPSS call. (Jelmer Vernooij, #411290)
 
63
 
 
64
* Fix test failures on windows related to locations.conf handling.
 
65
  (Vincent Ladeuil, #892992)
 
66
 
 
67
* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
 
68
  prohibits several invalid strings, reads the correct number of seconds,
 
69
  and gives a better error message if the time zone offset is not given.
 
70
  (Matt Giuca, #892657)
 
71
 
 
72
* Resolve regression from colocated branch path handling, by ensuring that
 
73
  unreserved characters are unquoted in URLs. (Martin Packman, #842223)
 
74
 
 
75
* Split segments from URLs for colocated branches without assuming the
 
76
  combined form is a valid. (Martin Packman, #842233)
 
77
 
 
78
* Support looking up revision numbers by revision id in empty branches.
 
79
  (Jelmer Vernooij, #535031)
 
80
 
 
81
* Support verifying signatures on remote repositories.
 
82
  (Jelmer Vernooij, #889694)
 
83
 
 
84
* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
 
85
  prohibits several invalid strings, reads the correct number of seconds,
 
86
  and gives a better error message if the time zone offset is not given.
 
87
  (Matt Giuca, #892657)
 
88
 
 
89
* When a remote format is unknown, bzr will now print a single-line error
 
90
  message rather than a backtrace. (Jelmer Vernooij, #687226)
 
91
 
 
92
Documentation
 
93
*************
 
94
 
 
95
.. Improved or updated documentation.
 
96
 
 
97
API Changes
 
98
***********
 
99
 
 
100
.. Changes that may require updates in plugins or other code that uses
 
101
   bzrlib.
 
102
 
 
103
* ``BzrDir.open_branch`` and ``BranchFormat.open`` now take an optional
 
104
  ``possible_transports`` argument. (Jelmer Vernooij)
 
105
 
 
106
* ``Repository.verify_revision`` has been renamed to
 
107
  ``Repository.verify_revision_signature``. (Jelmer Vernooij)
 
108
 
 
109
* ``Tree.get_file_by_path`` is now deprecated. Use ``Tree.get_file`` instead.
 
110
  (Jelmer Vernooij, #666897)
 
111
 
 
112
* Some global options for use with commands have been removed, construct
 
113
  an ``Option`` with the name instead. (Martin Packman)
 
114
 
 
115
Internals
 
116
*********
 
117
 
 
118
.. Major internal changes, unlikely to be visible to users or plugin 
 
119
   developers, but interesting for bzr developers.
 
120
 
 
121
* ``bzr config`` uses the new configuration implementation.
 
122
  (Vincent Ladeuil)
 
123
 
 
124
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
 
125
  will now use HPSS calls where possible. (Jelmer Vernooij)
 
126
 
 
127
* New HPSS calls ``Repository.has_signature_for_revision_id``,
 
128
  ``Repository.make_working_trees``, ``BzrDir.destroy_repository``,
 
129
  ``BzrDir.has_workingtree``, ``Repository.get_physical_lock_status``,
 
130
  ``Branch.get_physical_lock_status``,
 
131
  ``Branch.put_config_file``, ``Branch.break_lock``,
 
132
  ``BzrDir.destroy_branch``, ``Repository.break_lock``,
 
133
  ``VersionedFileRepository.get_serializer_format``,
 
134
  ``Repository.all_revision_ids``, ``Repository.start_write_group``,
 
135
  ``Repository.commit_write_group``, ``Repository.abort_write_group``
 
136
  ``Repository.check_write_group``, ``Repository.iter_revisions``,
 
137
  ``Repository.add_signature_revision_text`` and
 
138
  ``Repository.get_revision_signature_text``.
 
139
  (Jelmer Vernooij)
 
140
 
 
141
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
 
142
 
 
143
* Custom HPSS error handlers can now be installed in the smart server client
 
144
  using the ``error_translators`` and ``no_context_error_translators``
 
145
  registries. (Jelmer Vernooij)
 
146
 
 
147
Testing
 
148
*******
 
149
 
 
150
.. Fixes and changes that are only relevant to bzr's test framework and 
 
151
   suite.  This can include new facilities for writing tests, fixes to 
 
152
   spurious test failures and changes to the way things should be tested.
 
153
 
 
154
* Avoid failures in test_transform when OS error messages are localised.
 
155
  (Martin Packman, #891582)
 
156
 
 
157
bzr 2.5b3
 
158
#########
 
159
 
 
160
:2.5b3: 2011-11-10
 
161
 
 
162
This is the third beta of the 2.5 series, leading to a 2.5.0 release in
 
163
February 2012. Beta releases are suitable for everyday use but may cause
 
164
some incompatibilities with plugins.
 
165
 
 
166
This release includes log options for ``push`` and ``pull``, more UI polish
 
167
for colocated branches, a better and more coherent implementation for UI
 
168
dialogs, enhancements to the config framework and more.
 
169
 
 
170
This release includes all bug fixed in previous series known at the time of
 
171
this release.
 
172
 
 
173
External Compatibility Breaks
 
174
*****************************
 
175
 
 
176
None
 
177
 
 
178
New Features
 
179
************
 
180
 
 
181
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
 
182
  change the format ``push`` and ``pull`` use to display the
 
183
  revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
 
184
  format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
 
185
 
 
186
* The new config scheme allows an alternative syntax for the 'appenpath'
 
187
  policy relying on option expansion and defining a new 'relpath' option
 
188
  local to a section. Instead of using '<option>:policy=appendpath', the
 
189
  option value can de defined as 'option=xxxx/{relpath}'.
 
190
  (Vincent Ladeuil, #832013)
 
191
 
 
192
Improvements
 
193
************
 
194
 
 
195
* ``bzr info -v`` now shows the number of colocated branches
 
196
  for control directories that support them.
 
197
  (Jelmer Vernooij, #863285)
 
198
 
 
199
* ``bzr version-info`` now takes a ``--revision`` argument.
 
200
  (Jelmer Vernooij, #238705)
 
201
 
 
202
* ``bzr revno`` now takes a ``--revision`` argument.
 
203
  (Jelmer Vernooij, #870649)
 
204
 
 
205
* ``bzr rmbranch`` can now remove colocated branches.
 
206
  (Jelmer Vernooij, #831464)
 
207
 
 
208
* ``bzr serve`` now can serve from URLs rather than just from the
 
209
  file system. I.e.: ``bzr serve -d lp:bzr`` or
 
210
  ``bzr serve -d file:///data/bzr`` (Jelmer Vernooij)
 
211
 
 
212
* all input prompts are now char-based when possible, and can be forced to
 
213
  line-based mode by setting the ``BZR_TEXTUI_INPUT`` environment variable
 
214
  to 'line-based'. This replace the previous shelf UI only patch using
 
215
  ``INSIDE_EMACS``. (Benoît Pierre)
 
216
 
 
217
Bug Fixes
 
218
*********
 
219
 
 
220
* ``bzr info`` now shows the master branch location too for
 
221
  treeless local branches. (Jelmer Vernooij, #258355)
 
222
 
 
223
* ``bzr info`` no longer shows empty output if only a control
 
224
  directory is present. (Jelmer Vernooij, #159098)
 
225
 
 
226
* ``bzr mkdir --quiet`` now does not print a line for every created
 
227
  directory. (Martin von Gagern, #869915)
 
228
 
 
229
* ``bzr mv`` does not crash when attempting to move the root of a
 
230
  branch. (Jonathan Riddell, #809728)
 
231
 
 
232
* ``bzr shelve`` now use ``UIFactory.choose`` for input handling, making
 
233
  it usable when creating a custom ``UIFactory`` implementation. (Benoît
 
234
  Pierre)
 
235
 
 
236
* ``bzr clean-tree`` now use ``UIFactory.get_boolean`` for confirmation
 
237
  prompt, making it usable when using a custom ``UIFactory``
 
238
  implementation. (Benoît Pierre)
 
239
 
 
240
* If sending a crash through Apport fails report the Apport failure to
 
241
  bzr.log rather than stderr. (Jonathan Riddell, #766735)
 
242
 
 
243
* ``bzr upgrade`` no longer treats 'already up-to-date' exceptions as
 
244
  errors. (Benoît Pierre, #716560).
 
245
 
 
246
* ``bzr version-info`` no longer populates the clean state for custom
 
247
  templates unless {clean} is explicitly asked for.
 
248
  (Lawrence Mitchell, #882541)
 
249
 
 
250
* Fix finding the CPU count when using Python >= 2.6 on BSD-based systems.
 
251
  (Jelmer Vernooij, #887151)
 
252
 
 
253
* ``WorkingTree.clone()`` now supports its ``revision_id`` being set
 
254
  to the null revision. (Jelmer Vernooij, #876423)
 
255
 
 
256
* ``WorkingTree.pull`` can now pull ``NULL_REVISION``.
 
257
  (Jelmer Vernooij, #887556)
 
258
 
 
259
API Changes
 
260
***********
 
261
 
 
262
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
 
263
 
 
264
* Methods ``add`` and ``items`` of ``LRUCache`` and ``LRUSizeCache`` are
 
265
  deprecated. Use normal dict-style access instead. (Martin Packman)
 
266
 
 
267
* New flag ``RepositoryFormat.supports_unreferenced_revisions`` which
 
268
  indicates whether revisions can be present in a repository without
 
269
  being referenced from e.g. a branch history at the same time.
 
270
  (Jelmer Vernooij)
 
271
 
 
272
* New method ``Transport.set_segment_parameter``.  (Jelmer Vernooij)
 
273
 
 
274
* ``UIFactory.choose`` has been added: prompt the user for a list of
 
275
  choices. (Benoît Pierre)
 
276
 
 
277
Internals
 
278
*********
 
279
 
 
280
* ``ControlDirFormat`` now has a new method ``supports_transport``
 
281
  which format implementations can use whether or not they can access
 
282
  a control dir over a particular transport. (Jelmer Vernooij)
 
283
 
 
284
* ``BranchBuilder.build_commit`` now take ``parent_ids`` and
 
285
  ``allow_leftmost_as_ghost`` arguments.  (Jelmer Vernooij)
 
286
 
 
287
Testing
 
288
*******
 
289
 
 
290
* Ensure TestCase instances are deallocated immediately after running where
 
291
  possible. This greatly reduces the peak resource needs of a full test suite
 
292
  run. The new ``-Euncollected_cases`` selftest flag will add failures if any
 
293
  case which persists pasts its expected lifetime. (Martin Packman, #613247)
 
294
 
 
295
* Report exceptions from child processes during fork instead of swallowing the
 
296
  error and reporting that everything went okay. (Martin Packman, #804130)
 
297
 
 
298
 
 
299
bzr 2.5b2
 
300
#########
 
301
 
 
302
This is the second beta of the 2.5 series, leading to a 2.5.0 release in
 
303
February 2012. Beta releases are suitable for everyday use but may cause some
 
304
incompatibilities with plugins.
 
305
 
 
306
This release includes more filtering options for ``bzr log``, idle
 
307
connections handling for ``bzr serve``, a ``development-colo`` experimental
 
308
format to flesh out the colocated branches UI, better support for foreign
 
309
formats, enhancements to the config framework and more.
 
310
 
 
311
This release includes all bug fixed in previous series known at the time of
 
312
this release.
 
313
 
 
314
:2.5b2: 2011-10-06
 
315
 
 
316
External Compatibility Breaks
 
317
*****************************
 
318
 
 
319
None
 
320
 
 
321
New Features
 
322
************
 
323
 
 
324
* A new ``-O`` standard option (common to all commands) have been added. It
 
325
  provides a value for a config option in the ``-Oname=value`` form that
 
326
  takes precedence over all definitions found in config files.  It can be
 
327
  used multiple times to override different options.
 
328
  (Vincent Ladeuil, #491196)
 
329
 
 
330
* ``bzr log`` now has an option called ``--omit-merges`` to omit
 
331
  those commits that merged branches, i.e. those having more than one
 
332
  parent.
 
333
  In order to avoid confusion, the previous command line option
 
334
  ``--include-merges`` has been renamed to ``--include-merged``.
 
335
  The old name of the command line option will still be accepted.
 
336
  The name change also affects ``bzr missing``.
 
337
  (Martin von Gagern)
 
338
 
 
339
* ``bzr serve`` will now disconnect clients if they have not issued an RPC
 
340
  request after 5minutes. On POSIX platforms, this will also happen for
 
341
  ``bzr serve --inet``. This can be overridden with the configuration
 
342
  variable ``serve.client_timeout`` or in the command line parameter
 
343
  ``bzr serve --client-timeout=X``. Further, it is possible to request
 
344
  ``bzr serve [--inet]`` to shutdown gracefully by sending SIGHUP. It will
 
345
  finish the current request, and then close the connection.
 
346
  (John Arbash Meinel, #824797, #795025)
 
347
 
 
348
* The new experimental format ``development-colo`` supports colocated
 
349
  branches. This format will eventually be merged back into the ``2a``
 
350
  format when it has stabilized and there is adequate UI support for
 
351
  colocated branches.
 
352
  (Jelmer Vernooij, #831481)
 
353
 
 
354
Improvements
 
355
************
 
356
 
 
357
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
 
358
  every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
 
359
 
 
360
* ``bzr info -v`` can now be run against branches that don't support
 
361
  ``last_revision_info``, in which case the branch information will simply
 
362
  not be displayed. (Jelmer Vernooij)
 
363
 
 
364
Bug Fixes
 
365
*********
 
366
 
 
367
* ``bzr shelve`` can now be used in emacs shells as the input handling is
 
368
  turned into a line-based one when ``INSIDE_EMACS`` is set (which is the
 
369
  case for all recent emacs versions). (Vincent Ladeuil, #856261)
 
370
 
 
371
* ``bzr tags`` can now be used against remote repositories that do
 
372
  not provide access to the revision graph. (Jelmer Vernooij, #858942)
 
373
 
 
374
* ``bzr update PATH`` will stop if you seem to be asking it to update
 
375
  anything less than a whole tree, because that's not supported by ``bzr``'s
 
376
  concept that the whole tree has a single basis revision.  Previously, it
 
377
  would go ahead and update the whole tree, which was surprising.
 
378
  (Martin Pool, #557886)
 
379
 
 
380
* Don't crash if ``bzrlib.initialize()`` has not been called while accessing
 
381
  configs.  (Vincent Ladeuil, #863401)
 
382
 
 
383
* Redirects between http and https no longer discard path information
 
384
  in some cases. (Jelmer Vernooij, #853765)
 
385
 
 
386
* The ``--overwrite`` argument to ``bzr push`` and ``bzr pull`` no longer
 
387
  reports all tags as changed. (Jelmer Vernooij, #845396)
 
388
 
 
389
* ``WorkingTree.get_file_mtime`` now raises NoSuchId if a file id is
 
390
  specified that is unknown. (Jelmer Vernooij, #847435)
 
391
 
 
392
 
 
393
API Changes
 
394
***********
 
395
 
 
396
* ``Branch.get_revision_delta`` has been deprecated. Use
 
397
  ``Repository.get_revision_delta`` instead. (Jelmer Vernooij, #859712)
 
398
 
 
399
* Plugins that implement custom protocols for ``bzr serve`` should now
 
400
  also take an argument ``timeout``. This is used by the the bzr protocol
 
401
  to close a connection if a client has been idle for more than X seconds.
 
402
  (Default 5minutes). (John Arbash Meinel)
 
403
 
 
404
* ``Repository.fileids_altered_by_revision_ids`` has been moved to
 
405
  ``VersionedFileRepository`` and is no longer part of the standard
 
406
  ``Repository`` interface. (Jelmer Vernooij)
 
407
 
 
408
* The argument ``include_merges`` to ``missing.find_unmerged`` has
 
409
  been renamed to ``include_merged``. The old name is still supported
 
410
  for now but will cause a deprecation warning. (Martin von Gagern)
 
411
 
 
412
* The new method ``ControlDirFormat.is_initializable()`` returns a boolean
 
413
  indicating whether or not it is possible to use any of the
 
414
  initialization methods of that format to create a new control dir.
 
415
  (Jelmer Vernooij)
 
416
 
 
417
Internals
 
418
*********
 
419
 
 
420
* ``Branch`` objects can now use a config stack with the newly introduced
 
421
  ``get_config_stack()``. Both ``get_config`` and ``get_config_stack`` can
 
422
  be used for the same branch but it's recommended to stick to one for a
 
423
  given option.
 
424
 
 
425
Testing
 
426
*******
 
427
 
 
428
* Test scripts can now use ``bzr shelve`` and provide their input as
 
429
  complete lines. (Vincent Ladeuil, #856261)
 
430
 
 
431
* Really corrupt the pack file without depending on a special length or value.
 
432
  (Vincent Ladeuil, #807032)
 
433
 
 
434
 
 
435
bzr 2.5b1
 
436
#########
 
437
 
 
438
:2.5b1: 2011-09-15
 
439
 
 
440
This is the first beta of the 2.5 series, leading up to a 2.5.0
 
441
release in February 2012.
 
442
 
 
443
This release includes better support for gpg signing, better support for
 
444
i18n (mostly command help and error messages), more options to filter ``bzr
 
445
log`` output, more support for colocated branches ("location,branch=XXX"
 
446
syntax), better feedback on updated tags for various commands, faster
 
447
branching into an empty repository, enhancements to the config framework and
 
448
more.
 
449
 
 
450
Beta releases are suitable for everyday use but may cause some
 
451
incompatibilities with plugins.  Some plugins may need small updates to work
 
452
with 2.5b1.
 
453
 
 
454
External Compatibility Breaks
 
455
*****************************
 
456
 
 
457
None
 
458
 
 
459
New Features
 
460
************
 
461
 
 
462
* A ``from_unicode`` parameter can be specified when registering a config
 
463
  option. This implements boolean, integer and list config options when the
 
464
  provided ``bool_from_store``, ``int_from_store`` and ``list_from_store``
 
465
  are used for this parameter.  (Vincent Ladeuil)
 
466
 
 
467
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
 
468
  checks to see if the most recent published source package version for
 
469
  that project is present in the branch tags. This should help developers
 
470
  trust whether the packaging branch is up-to-date and can be used for new
 
471
  changes. The level of verbosity is controlled by the config item
 
472
  ``launchpad.packaging_verbosity``. It can be set to one of
 
473
 
 
474
  off
 
475
    disable all checks
 
476
 
 
477
 
 
478
  minimal
 
479
    only display if the branch is out-of-date
 
480
 
 
481
  short
 
482
    also display single-line up-to-date and missing,
 
483
 
 
484
 
 
485
  all
 
486
    (default) display multi-line content for all states
 
487
 
 
488
 
 
489
  (John Arbash Meinel, #609187, #812928)
 
490
 
 
491
* Add a config option gpg_signing_key for setting which GPG key should
 
492
  be used to sign commits. Also default to using the gpg user identity
 
493
  which matches user_email() as set by whoami.
 
494
  (Jonathan Riddell, #68501)
 
495
 
 
496
* An ``invalid`` parameter can be specified when registering a config option
 
497
  to decide what should be done when invalid values are
 
498
  encountered. 'warning' and 'error' will respectively emit a warning and
 
499
  ignore the value or errors out. (Vincent Ladeuil)
 
500
 
 
501
* bzr add now skips large files in recursive mode. The default "large"
 
502
  size is 20MB, and is configurable via the add.maximum_file_size
 
503
  option. A value of 0 disables skipping. Named items passed to add are
 
504
  never skipped. (Shannon Weyrick, #54624)
 
505
 
 
506
* ``bzr help configuration/<option>`` display the help for ``option`` for
 
507
  all registered configuration options. (Vincent Ladeuil, #747050)
 
508
 
 
509
* ``bzr log -m`` now matches message, author, committer and bugs instead
 
510
  of just matching the message.  ``--message`` keeps its original meaning,
 
511
  while ``--match-message, --match-author, --match-committer`` and
 
512
  ``--match-bugs`` match each of those fields. (Jacek Sieka)
 
513
 
 
514
* ``config.Option`` can now declare ``default_from_env``, a list of
 
515
  environment variables to get a default value from. (Vincent Ladeuil)
 
516
 
 
517
* ``config.NameMatcher`` can be used to implement config stores and stacks
 
518
  that need to provide specific option values for arbitrary unique IDs (svn
 
519
  repository UUIDs, etc).  (Vincent Ladeuil, #843638)
 
520
 
 
521
* New builtin ``bzr branches`` command, which lists all colocated branches
 
522
  in a directory. (Jelmer Vernooij, #826820)
 
523
 
 
524
* Relative local paths can now be specified in URL syntax by using the
 
525
  "file:" prefix.  (Jelmer Vernooij)
 
526
 
 
527
* Report commits signed with expired keys in ``verify-signatures``.
 
528
  (Jonathan Riddell, #804254)
 
529
 
 
530
* Translations are now enabled for command help, errors and globally
 
531
  for any message using ``gettext`` given on output.  (Jonathan Riddell,
 
532
  INADA Naoki, #83941)
 
533
 
 
534
Improvements
 
535
************
 
536
 
 
537
* ``bzr add`` will now warn about nested subtrees that are skipped.
 
538
  (Jelmer Vernooij, #187342)
 
539
 
 
540
* ``bzr commit -m ''`` can now be used to force an empty commit message.
 
541
  Entering an empty commit message in the message editor still triggers
 
542
  an error. (Jelmer Vernooij)
 
543
 
 
544
* ``bzr pull`` will now mention how many tags it has updated.
 
545
  (Jelmer Vernooij, #164450)
 
546
 
 
547
* ``bzr tag`` no longer errors if a tag already exists but refers to the
 
548
  same revision, and will mention when a tag has been updated
 
549
  rather than created. (Jelmer Vernooij, #381203)
 
550
 
 
551
* ``bzr uncommit`` will now remove tags that refer to removed revisions.
 
552
  The ``--keep-tags`` option can be used to prevent this behaviour.
 
553
  (Jelmer Vernooij, #605814)
 
554
 
 
555
* Do not run i18n initialisation twice. (Jonathan Riddell)
 
556
 
 
557
* Install translation .mo files. (Jonathan Riddell)
 
558
 
 
559
* Locations printed by ``bzr upgrade`` are now formatted before display.
 
560
  (Jelmer Vernooij)
 
561
 
 
562
* ``Repository.get_parent_map`` now estimates the size of the returned
 
563
  content more accurately. This means that we get closer to the desired
 
564
  64kB/request. For repositories converted from svn, this can be an
 
565
  improvement of approx 5:1 in round trips to discover the whole history.
 
566
  (John Arbash Meinel)
 
567
 
 
568
* Support a ``bugtracker`` option which is used by ``bzr commit --fixes``
 
569
  if no bug tracker was specified on the command line.
 
570
  (Jelmer Vernooij, #334860)
 
571
 
 
572
* Use ``gettext.NullTranslations`` in i18n to allow use of i18n even when
 
573
  translations are not turned on. (Jonathan Riddell)
 
574
 
 
575
Bug Fixes
 
576
*********
 
577
 
 
578
* ``bzr commit`` now correctly reports missing files as "removed", not
 
579
  "modified". (Jelmer Vernooij, #553955)
 
580
 
 
581
* ``bzr reconfigure`` will now allow multiple non-conflicting requests
 
582
  in a single invocation, e.g. ``--branch`` and ``--use-shared``.
 
583
  (Martin von Gagern, #842993)
 
584
 
 
585
* A call to CHKInventory's filter-method will not result in a
 
586
  DuplicateFileId error, if you move a subfolder and change a file in
 
587
  that subfolder.
 
588
  (Bastian Bowe, #809901)
 
589
 
 
590
* Branching from a stacked branch no longer does a ``get_parent_map``
 
591
  request for each revisions that is in the stacked-on repository while
 
592
  determining what revisions need to be fetched. This mostly impacts
 
593
  branching initialy into an empty shared repository when the source is
 
594
  not the development focus.  (John Arbash Meinel, #388269)
 
595
 
 
596
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
 
597
  errors.  (Vincent Ladeuil, #822571)
 
598
 
 
599
* Fix fallout from URL handling changes in 2.5 that caused an IndexError to be
 
600
  raised whenever a transport at the drive root was opened on windows.
 
601
  (Martin [gz], #841322)
 
602
 
 
603
* Fixed loading of external merge tools from config to properly decode
 
604
  command-lines which contain embedded quotes. (Gordon Tyler, #828803)
 
605
 
 
606
* Rather than an error being raised, a warning is now printed when the
 
607
  current user does not have permission to read a configuration file.
 
608
  (Jelmer Vernooij, #837324)
 
609
 
 
610
* The pull command will now always use separate connections for the
 
611
  case where the destination is a heavyweight checkout of some remote
 
612
  branch on the same host as the source branch.
 
613
  (Martin von Gagern, #483661)
 
614
 
 
615
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
 
616
  operations that use it, like merge, can now create trees without a root.
 
617
  (Aaron Bentley)
 
618
 
 
619
* Raise BadIndexKey exception in btree_index when a key is too large, fixing 
 
620
  an infinite recursion issue. (Shannon Weyrick, #720853)
 
621
 
 
622
Documentation
 
623
*************
 
624
 
 
625
* Release instructions refreshed. (Vincent Ladeuil)
 
626
 
 
627
API Changes
 
628
***********
 
629
 
 
630
* ``BranchFormat.initialize`` now takes a ``append_revisions_only``
 
631
  argument. (Jelmer Vernooij)
 
632
 
 
633
* ``Branch._get_checkout_format`` now takes a ``lightweight`` argument
 
634
  which indicates if the format should be for a lightweight or a
 
635
  heavyweight checkout. (Jelmer Vernooij)
 
636
 
 
637
* ``ControlDir.create_branch`` now takes a ``append_revisions_only`` argument.
 
638
  (Jelmer Vernooij)
 
639
 
 
640
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
 
641
  (Jelmer Vernooij)
 
642
 
 
643
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
 
644
  value in SI format (i.e. "20MB", "1GB") into its integer equivalent. 
 
645
  (Shannon Weyrick)
 
646
 
 
647
* New method ``InterTree.file_content_matches`` which checks that
 
648
  two files in different trees have the same contents.
 
649
  (Jelmer Vernooij)
 
650
 
 
651
* New method ``Tree.get_file_verifier`` which allows tree implementations
 
652
  to return non-sha1 checksums to verify files.
 
653
  (Jelmer Vernooij, #720831)
 
654
 
 
655
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
 
656
  have been added that only support opening from a path or a URL,
 
657
  unlike ``get_transport``. (Jelmer Vernooij)
 
658
 
 
659
* New registry ``OptionRegistry`` specialized for configuration options.
 
660
  (Vincent Ladeuil)
 
661
 
 
662
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
 
663
  (Vincent Ladeuil)
 
664
 
 
665
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
 
666
  ``Command._maybe_expand_globs`` and ``Command.run_direct`` deprecated in
 
667
  2.10 and 2.2.0. (Vincent Ladeuil)
 
668
 
 
669
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
 
670
 
 
671
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
 
672
  ``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
 
673
  remove ``log.show_one_log`` which was never properly deprecated but wasn't
 
674
  used and is easy to inline if needed. (Vincent Ladeuil)
 
675
 
 
676
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
 
677
  deprecated in 2.1.0. (Vincent Ladeuil)
 
678
 
 
679
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
 
680
  a default transport is currently unused. (Jelmer Vernooij)
 
681
 
 
682
* Remove ``UIFactory.warn_cross_format_fetch`` and
 
683
  ``UIFactory.warn_experimental_format_fetch`` in favor of
 
684
  ``UIFactory.show_user_warning``. (Jelmer Vernooij)
 
685
 
 
686
* ``Tags`` containers can now declare whether they support versioned
 
687
  tags and whether tags can refer to ghost tags.
 
688
  (Jelmer Vernooij)
 
689
 
 
690
* ``Tags.merge_to`` now returns a dictionary with the updated tags
 
691
  and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
 
692
 
 
693
* There is a new class `ContentFilterTree` that provides a facade for 
 
694
  content filtering.  The `filtered` parameter to `export` is deprecated 
 
695
  in favor of passing a filtered tree, and the specific exporter plugins
 
696
  no longer support it.
 
697
  (Martin Pool)
 
698
 
 
699
* ``Transport`` now has a ``_parsed_url`` attribute instead of
 
700
  separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
 
701
  and ``_path`` attributes. Proxies are provided for the moment but
 
702
  may be removed in the future. (Jelmer Vernooij)
 
703
 
 
704
Internals
 
705
*********
 
706
 
 
707
* A new debug flag ``hpss_client_no_vfs`` will now cause the HPSS client
 
708
  to raise a ``HpssVfsRequestNotAllowed`` exception when a VFS request
 
709
  is attempted. (Jelmer Vernooij)
 
710
 
 
711
* New method ``ControlDir._get_selected_branch`` which returns the
 
712
  colocated branch selected using path segment parameters.
 
713
  (Jelmer Vernooij, #380871)
 
714
 
 
715
Testing
 
716
*******
 
717
 
 
718
* Blackbox tests (including test scripts) can be debugged interactively (see
 
719
  bzrlib.debug.BzrPdb for details). (Vincent Ladeuil)
 
720
 
 
721
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
 
722
  cleanly and reliably allows tests using `BranchBuilder` to construct
 
723
  branches that e.g. rename files out of a directory and unversion that
 
724
  directory in the same revision.  Previously some changes were impossible
 
725
  due to the order that `build_snapshot` performs its actions.
 
726
  (Andrew Bennetts)
 
727
 
 
728
* Don't require ``os.fdatasync`` to be defined on all supported OSes
 
729
  (BSD-based OSes don't define it).  (Vincent Ladeuil, #822649)
 
730
 
 
731
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
 
732
 
 
733
* ``LockDir`` can now be run when the local hostname is ``localhost``.
 
734
  (Jelmer Vernooij, #825994)
 
735
 
 
736
* ``ModuleAvailableFeature`` won't try to import already imported modules,
 
737
  allowing it to be used for modules with side-effects.
 
738
  (Vincent Ladeuil, #712474)
 
739
 
 
740
* Output time stamps while running ``make check`` to get better timings from
 
741
  pqm.  (Vincent Ladeuil, #837926)
 
742
 
 
743
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
 
744
  just compares the bytes in the dirstate file to its pristine state,
 
745
  rather than opening the WorkingTree and calling ``last_revision()``.
 
746
  This reduces the overall test suite time by about 10% on my laptop.
 
747
  (Andrew Bennetts)
 
748
 
 
749
* Update `TestCase.knownFailure` to the testtools way of handling expected
 
750
  failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
 
751
 
 
752
..
 
753
   vim: tw=74 ft=rst ff=unix