21
21
.. New commands, options, etc that users may wish to try out.
23
* A ``from_unicode`` parameter can be specified when registering a config
24
option. This implements boolean and integer config options when the
25
provided ``bool_from_store`` and ``int_from_store`` are used.
26
.. Improvements to existing commands, especially improved performance
27
or memory usage, or better results.
32
.. Fixes for situations where bzr would previously crash or give incorrect
33
or undesirable results.
38
.. Improved or updated documentation.
43
.. Changes that may require updates in plugins or other code that uses
49
.. Major internal changes, unlikely to be visible to users or plugin
50
developers, but interesting for bzr developers.
55
.. Fixes and changes that are only relevant to bzr's test framework and
56
suite. This can include new facilities for writing tests, fixes to
57
spurious test failures and changes to the way things should be tested.
65
This is the first beta of the 2.5 series, leading up to a 2.5.0
66
release in February 2012. Beta releases are suitable for everyday use
67
but may cause some incompatibilities with plugins. Some plugins may need
68
small updates to work with 2.5b1.
70
External Compatibility Breaks
71
*****************************
28
78
* A ``from_unicode`` parameter can be specified when registering a config
29
79
option. This implements boolean, integer and list config options when the
57
107
* Add a config option gpg_signing_key for setting which GPG key should
58
108
be used to sign commits. Also default to using the gpg user identity
59
which matches user_email() as set by whoami. (Jonathan Riddell,
109
which matches user_email() as set by whoami.
110
(Jonathan Riddell, #68501)
62
112
* An ``invalid`` parameter can be specified when registering a config option
63
113
to decide what should be done when invalid values are
64
encountered. 'warning' and 'eeror' will respectively emit a warning and
114
encountered. 'warning' and 'error' will respectively emit a warning and
65
115
ignore the value or errors out. (Vincent Ladeuil)
117
* bzr add now skips large files in recursive mode. The default "large"
118
size is 20MB, and is configurable via the add.maximum_file_size
119
option. A value of 0 disables skipping. Named items passed to add are
120
never skipped. (Shannon Weyrick, #54624)
67
122
* ``bzr help configuration/<option>`` display the help for ``option`` for
68
123
all registered configuration options. (Vincent Ladeuil, #747050)
70
* bzr log -m now matches message, author, committer and bugs instead
71
of just matching the message. --message keeps its original meaning,
72
while --match-message, --match-author, --match-committer and
73
--match-bugs match each of those fields.
125
* ``bzr log -m`` now matches message, author, committer and bugs instead
126
of just matching the message. ``--message`` keeps its original meaning,
127
while ``--match-message, --match-author, --match-committer`` and
128
``--match-bugs`` match each of those fields. (Jacek Sieka)
75
130
* ``config.Option`` can now declare ``default_from_env``, a list of
76
131
environment variables to get a default value from. (Vincent Ladeuil)
85
140
* Relative local paths can now be specified in URL syntax by using the
86
141
"file:" prefix. (Jelmer Vernooij)
88
* Report commits signed with expired keys in "verify-signatures".
143
* Report commits signed with expired keys in ``verify-signatures``.
89
144
(Jonathan Riddell, #804254)
91
* bzr add now skips large files in recursive mode. The default "large"
92
size is 20MB, and is configurable via the add.maximum_file_size
93
option. A value of 0 disables skipping. Named items passed to add are
94
never skipped. (Shannon Weyrick, #54624)
96
146
* Translations are now enabled for command help, errors and globally
97
147
for any message using gettext given on output. (Jonathan Riddell,
98
148
INADA Naoki, #83941)
103
.. Improvements to existing commands, especially improved performance
104
or memory usage, or better results.
106
153
* ``bzr add`` will now warn about nested subtrees that are skipped.
107
154
(Jelmer Vernooij, #187342)
154
198
in a single invocation, e.g. ``--branch`` and ``--use-shared``.
155
199
(Martin von Gagern, #842993)
157
* The pull command will now always use separate connections for the
158
case where the destination is a heavyweight checkout of some remote
159
branch on the same host as the source branch.
160
(Martin von Gagern, #483661)
162
201
* A call to CHKInventory's filter-method will not result in a
163
202
DuplicateFileId error, if you move a subfolder and change a file in
177
216
raised whenever a transport at the drive root was opened on windows.
178
217
(Martin [gz], #841322)
219
* Fixed loading of external merge tools from config to properly decode
220
command-lines which contain embedded quotes. (Gordon Tyler, #828803)
180
222
* Rather than an error being raised, a warning is now printed when the
181
223
current user does not have permission to read a configuration file.
182
224
(Jelmer Vernooij, #837324)
226
* The pull command will now always use separate connections for the
227
case where the destination is a heavyweight checkout of some remote
228
branch on the same host as the source branch.
229
(Martin von Gagern, #483661)
184
231
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
185
232
operations that use it, like merge, can now create trees without a root.
188
* Fixed loading of external merge tools from config to properly decode
189
command-lines which contain embedded quotes. (Gordon Tyler, #828803)
194
.. Improved or updated documentation.
196
238
* Release instructions refreshed. (Vincent Ladeuil)
201
.. Changes that may require updates in plugins or other code that uses
204
243
* ``BranchFormat.initialize`` now takes a ``append_revisions_only``
205
244
argument. (Jelmer Vernooij)
214
253
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
215
254
(Jelmer Vernooij)
256
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
257
value in SI format (i.e. "20MB", "1GB") into its integer equivalent.
260
* New method ``InterTree.file_content_matches`` which checks that
261
two files in different trees have the same contents.
264
* New method ``Tree.get_file_verifier`` which allows tree implementations
265
to return non-sha1 checksums to verify files.
266
(Jelmer Vernooij, #720831)
217
268
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
218
269
have been added that only support opening from a path or a URL,
219
270
unlike ``get_transport``. (Jelmer Vernooij)
221
* New method ``Tree.get_file_verifier`` which allows tree implementations
222
to return non-sha1 checksums to verify files.
223
(Jelmer Vernooij, #720831)
225
* New method ``InterTree.file_content_matches`` which checks that
226
two files in different trees have the same contents.
229
272
* New registry ``OptionRegistry`` specialized for configuration options.
230
273
(Vincent Ladeuil)
253
296
``UIFactory.warn_experimental_format_fetch`` in favor of
254
297
``UIFactory.show_user_warning``. (Jelmer Vernooij)
299
* ``Tags`` containers can now declare whether they support versioned
300
tags and whether tags can refer to ghost tags.
303
* ``Tags.merge_to`` now returns a dictionary with the updated tags
304
and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
256
306
* There is a new class `ContentFilterTree` that provides a facade for
257
307
content filtering. The `filtered` parameter to `export` is deprecated
258
308
in favor of passing a filtered tree, and the specific exporter plugins
259
309
no longer support it.
262
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
263
value in SI format (i.e. "20MB", "1GB") into its integer equivalent.
266
* ``Tags`` containers can now declare whether they support versioned
267
tags and whether tags can refer to ghost tags.
270
* ``Tags.merge_to`` now returns a dictionary with the updated tags
271
and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
273
312
* ``Transport`` now has a ``_parsed_url`` attribute instead of
274
313
separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
275
314
and ``_path`` attributes. Proxies are provided for the moment but
282
.. Major internal changes, unlikely to be visible to users or plugin
283
developers, but interesting for bzr developers.
285
* A new debug flags ``hpss_client_no_vfs`` will now cause the HPSS client
321
* A new debug flag ``hpss_client_no_vfs`` will now cause the HPSS client
286
322
to raise a ``HpssVfsRequestNotAllowed`` exception when a VFS request
287
323
is attempted. (Jelmer Vernooij)
296
.. Fixes and changes that are only relevant to bzr's test framework and
297
suite. This can include new facilities for writing tests, fixes to
298
spurious test failures and changes to the way things should be tested.
300
* Blackbox tests can be debugged interactively (see bzrlib.debug.BzrPdb for
301
details). (Vincent Ladeuil)
332
* Blackbox tests (including test scripts) can be debugged interactively (see
333
bzrlib.debug.BzrPdb for details). (Vincent Ladeuil)
303
335
* `BranchBuilder.build_snapshot` now supports a "flush" action. This
304
336
cleanly and reliably allows tests using `BranchBuilder` to construct