26
26
.. Improvements to existing commands, especially improved performance
27
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 fourth beta of the 2.5 series, leading to a 2.5.0 release in
66
February 2012. Beta releases are suitable for everyday use but may cause
67
some incompatibilities with plugins.
69
This release includes many improvements in the smart server, UI polish for
70
the colocated branches, optimizations for revision specifiers to avoid
71
history sized operations, enhancements to the config framework, bug fixes
72
related to unicode paths and more.
74
This release includes all bug fixed in previous series known at the time of
76
External Compatibility Breaks
77
*****************************
84
* Provides a ``po_merge`` plugin to automatically merge ``.po`` files with
85
``msgmerge``. See ``bzr help po_merge`` for details.
86
(Vincent Ladeuil, #884270)
91
* ``bzr branch --stacked`` now only makes a single connection to the remote
92
server rather than three. (Jelmer Vernooij, #444293)
94
* ``bzr export --uncommitted`` will export the uncommitted tree.
95
(Jelmer Vernooij, #555613)
97
* ``bzr rmbranch`` can now remove colocated branches.
98
(Jelmer Vernooij, #831464)
100
* ``bzr status`` no longer shows shelves if files are specified.
103
* ``bzr switch`` now accepts colocated branch names to switch to.
104
(Jelmer Vernooij, #826814)
106
* Plugins can now register additional "location aliases".
109
* Revision specifiers will now only browse as much history as they
110
need to, rather than grabbing the whole history unnecessarily in some
111
cases. (Jelmer Vernooij)
29
113
* When using ``bzr switch`` to switch to a sibling of the current
30
114
branch, the relative branch name should no longer be url-encoded.
33
* ``bzr switch`` now accepts colocated branch names to switch to.
34
(Jelmer Vernooij, #826814)
36
* ``bzr branch --stacked`` now only makes a single connection to the remote
37
server rather than three. (Jelmer Vernooij, #444293)
42
.. Fixes for situations where bzr would previously crash or give incorrect
43
or undesirable results.
45
* Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be
46
pickled. (Jelmer Vernooij, #893149)
48
120
* A new section local option ``basename`` is available to help support some
49
121
``bzr-pipeline`` workflows and more generally help mapping local paths to
50
122
remote ones. See ``bzr help configuration`` for more details.
58
130
from remote repositories. (Jelmer Vernooij, #368717, #762330,
133
* Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be
134
pickled. (Jelmer Vernooij, #893149)
136
* ``bzr info`` no longer shows empty output if only a control
137
directory is present. (Jelmer Vernooij, #159098)
61
139
* Cope with missing revision ids being specified to
62
140
``Repository.gather_stats`` HPSS call. (Jelmer Vernooij, #411290)
69
147
and gives a better error message if the time zone offset is not given.
70
148
(Matt Giuca, #892657)
150
* Give meaningful file/line references when reporting deprecation warnings
151
for _CompatabilityThunkFeature based test features.
152
(Vincent Ladeuil, #897718)
154
* Make reporting of mistakes involving unversioned files with non-ascii
155
filenames work again without 'Unprintable exception' being shown.
156
(Martin Packman, #898408)
158
* Provide names for lazily registered hooks.
159
(Neil Martinsen-Burrell, #894609)
161
* Raise BadIndexKey exception in btree_index when a key is too large, fixing
162
an infinite recursion issue. (Shannon Weyrick, #720853)
72
164
* Resolve regression from colocated branch path handling, by ensuring that
73
165
unreserved characters are unquoted in URLs. (Martin Packman, #842223)
81
173
* Support verifying signatures on remote repositories.
82
174
(Jelmer Vernooij, #889694)
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.
176
* Teach the bzr client how to reconnect if we get ``ConnectionReset``
177
while making an RPC request. This doesn't handle all possible network
178
disconnects, but it should at least handle when the server is asked to
179
shutdown gracefully. (John Arbash Meinel, #819604)
89
181
* When a remote format is unknown, bzr will now print a single-line error
90
182
message rather than a backtrace. (Jelmer Vernooij, #687226)
95
.. Improved or updated documentation.
100
.. Changes that may require updates in plugins or other code that uses
103
187
* ``BzrDir.open_branch`` and ``BranchFormat.open`` now take an optional
104
188
``possible_transports`` argument. (Jelmer Vernooij)
190
* New method ``Transport.set_segment_parameter``. (Jelmer Vernooij)
106
192
* ``Repository.verify_revision`` has been renamed to
107
193
``Repository.verify_revision_signature``. (Jelmer Vernooij)
195
* ``RevisionSpec.wants_revision_history`` now defaults to ``False`` and
196
is deprecated. The ``revs`` argument of
197
``RevisionInfo.from_revision_id`` is now deprecated. (Jelmer Vernooij)
109
199
* ``Tree.get_file_by_path`` is now deprecated. Use ``Tree.get_file`` instead.
110
200
(Jelmer Vernooij, #666897)
112
202
* Some global options for use with commands have been removed, construct
113
203
an ``Option`` with the name instead. (Martin Packman)
205
* The unused exception ``HistoryMissing`` has been removed.
118
.. Major internal changes, unlikely to be visible to users or plugin
119
developers, but interesting for bzr developers.
211
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
121
213
* ``bzr config`` uses the new configuration implementation.
122
214
(Vincent Ladeuil)
124
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
125
will now use HPSS calls where possible. (Jelmer Vernooij)
216
* Custom HPSS error handlers can now be installed in the smart server client
217
using the ``error_translators`` and ``no_context_error_translators``
218
registries. (Jelmer Vernooij)
127
220
* New HPSS calls ``Repository.has_signature_for_revision_id``,
128
221
``Repository.make_working_trees``, ``BzrDir.destroy_repository``,
138
231
``Repository.get_revision_signature_text``.
139
232
(Jelmer Vernooij)
141
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
234
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
235
will now use HPSS calls where possible. (Jelmer Vernooij)
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)
237
* The registry of merge types has been moved to ``merge`` from ``option`` but
238
``merge.get_merge_type_registry`` remains as an accessor. (Martin Packman)
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.
154
243
* Avoid failures in test_transform when OS error messages are localised.
155
244
(Martin Packman, #891582)
246
* Tests are now subject to a time limit: by default 300s, and 120s when
247
run from 'make check', controlled by the `selftest.timeout`
248
configuration option. This is currently not supported on Windows.