21
21
.. New commands, options, etc that users may wish to try out.
23
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
24
change the format ``push`` and ``pull`` use to display the
25
revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
26
format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
31
26
.. Improvements to existing commands, especially improved performance
32
27
or memory usage, or better results.
34
* ``bzr version-info`` now takes a ``--revision`` argument.
35
(Jelmer Vernooij, #238705)
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.
37
* ``bzr revno`` now takes a ``--revision`` argument.
38
(Jelmer Vernooij, #870649)
33
* ``bzr switch`` now accepts colocated branch names to switch to.
34
(Jelmer Vernooij, #826814)
43
39
.. Fixes for situations where bzr would previously crash or give incorrect
44
40
or undesirable results.
46
* ``bzr mkdir --quiet`` now does not print a line for every created
47
directory. (Martin von Gagern, #869915)
42
* Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be
43
pickled. (Jelmer Vernooij, #893149)
45
* A new section local option ``basename`` is available to help support some
46
``bzr-pipeline`` workflows and more generally help mapping local paths to
47
remote ones. See ``bzr help configuration`` for more details.
48
(Vincent Ladeuil, #843211)
50
* Add HPSS call for looking up revision numbers from revision ids on
51
remote repositories. (Jelmer Vernooij, #640253)
53
* Cope with missing revision ids being specified to
54
``Repository.gather_stats`` HPSS call. (Jelmer Vernooij, #411290)
56
* Fix test failures on windows related to locations.conf handling.
57
(Vincent Ladeuil, #892992)
59
* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
60
prohibits several invalid strings, reads the correct number of seconds,
61
and gives a better error message if the time zone offset is not given.
64
* Resolve regression from colocated branch path handling, by ensuring that
65
unreserved characters are unquoted in URLs. (Martin Packman, #842223)
67
* Split segments from URLs for colocated branches without assuming the
68
combined form is a valid. (Martin Packman, #842233)
70
* Support looking up revision numbers by revision id in empty branches.
71
(Jelmer Vernooij, #535031)
73
* Support verifying signatures on remote repositories.
74
(Jelmer Vernooij, #889694)
49
76
* Teach the bzr client how to reconnect if we get ``ConnectionReset``
50
77
while making an RPC request. This doesn't handle all possible network
62
89
.. Changes that may require updates in plugins or other code that uses
92
* ``Repository.verify_revision`` has been renamed to
93
``Repository.verify_revision_signature``. (Jelmer Vernooij)
95
* ``Tree.get_file_by_path`` is now deprecated. Use ``Tree.get_file`` instead.
96
(Jelmer Vernooij, #666897)
98
* Some global options for use with commands have been removed, construct
99
an ``Option`` with the name instead. (Martin Packman)
68
104
.. Major internal changes, unlikely to be visible to users or plugin
69
105
developers, but interesting for bzr developers.
107
* ``bzr config`` uses the new configuration implementation.
110
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
111
will now use HPSS calls where possible. (Jelmer Vernooij)
113
* New HPSS calls ``Repository.has_signature_for_revision_id``,
114
``Repository.make_working_trees``, ``BzrDir.destroy_repository``,
115
``BzrDir.has_workingtree``, ``Repository.get_physical_lock_status``,
116
``Branch.get_physical_lock_status``,
117
``Branch.put_config_file``, ``Branch.break_lock``,
118
``BzrDir.destroy_branch``, ``Repository.break_lock``,
119
``VersionedFileRepository.get_serializer_format``,
120
``Repository.all_revision_ids``, ``Repository.start_write_group``,
121
``Repository.commit_write_group``, ``Repository.abort_write_group``
122
and ``Repository.check_write_group``.
125
* Custom HPSS error handlers can now be installed in the smart server client
126
using the ``error_translators`` and ``no_context_error_translators``
127
registries. (Jelmer Vernooij)
75
133
suite. This can include new facilities for writing tests, fixes to
76
134
spurious test failures and changes to the way things should be tested.
136
* Avoid failures in test_transform when OS error messages are localised.
137
(Martin Packman, #891582)
144
This is the third beta of the 2.5 series, leading to a 2.5.0 release in
145
February 2012. Beta releases are suitable for everyday use but may cause
146
some incompatibilities with plugins.
148
This release includes log options for ``push`` and ``pull``, more UI polish
149
for colocated branches, a better and more coherent implementation for UI
150
dialogs, enhancements to the config framework and more.
152
This release includes all bug fixed in previous series known at the time of
155
External Compatibility Breaks
156
*****************************
163
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
164
change the format ``push`` and ``pull`` use to display the
165
revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
166
format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
168
* The new config scheme allows an alternative syntax for the 'appenpath'
169
policy relying on option expansion and defining a new 'relpath' option
170
local to a section. Instead of using '<option>:policy=appendpath', the
171
option value can de defined as 'option=xxxx/{relpath}'.
172
(Vincent Ladeuil, #832013)
177
* ``bzr info -v`` now shows the number of colocated branches
178
for control directories that support them.
179
(Jelmer Vernooij, #863285)
181
* ``bzr version-info`` now takes a ``--revision`` argument.
182
(Jelmer Vernooij, #238705)
184
* ``bzr revno`` now takes a ``--revision`` argument.
185
(Jelmer Vernooij, #870649)
187
* ``bzr rmbranch`` can now remove colocated branches.
188
(Jelmer Vernooij, #831464)
190
* ``bzr serve`` now can serve from URLs rather than just from the
191
file system. I.e.: ``bzr serve -d lp:bzr`` or
192
``bzr serve -d file:///data/bzr`` (Jelmer Vernooij)
194
* all input prompts are now char-based when possible, and can be forced to
195
line-based mode by setting the ``BZR_TEXTUI_INPUT`` environment variable
196
to 'line-based'. This replace the previous shelf UI only patch using
197
``INSIDE_EMACS``. (Benoît Pierre)
202
* ``bzr info`` now shows the master branch location too for
203
treeless local branches. (Jelmer Vernooij, #258355)
205
* ``bzr info`` no longer shows empty output if only a control
206
directory is present. (Jelmer Vernooij, #159098)
208
* ``bzr mkdir --quiet`` now does not print a line for every created
209
directory. (Martin von Gagern, #869915)
211
* ``bzr mv`` does not crash when attempting to move the root of a
212
branch. (Jonathan Riddell, #809728)
214
* ``bzr shelve`` now use ``UIFactory.choose`` for input handling, making
215
it usable when creating a custom ``UIFactory`` implementation. (Benoît
218
* ``bzr clean-tree`` now use ``UIFactory.get_boolean`` for confirmation
219
prompt, making it usable when using a custom ``UIFactory``
220
implementation. (Benoît Pierre)
222
* If sending a crash through Apport fails report the Apport failure to
223
bzr.log rather than stderr. (Jonathan Riddell, #766735)
225
* ``bzr upgrade`` no longer treats 'already up-to-date' exceptions as
226
errors. (Benoît Pierre, #716560).
228
* ``bzr version-info`` no longer populates the clean state for custom
229
templates unless {clean} is explicitly asked for.
230
(Lawrence Mitchell, #882541)
232
* Fix finding the CPU count when using Python >= 2.6 on BSD-based systems.
233
(Jelmer Vernooij, #887151)
235
* ``WorkingTree.clone()`` now supports its ``revision_id`` being set
236
to the null revision. (Jelmer Vernooij, #876423)
238
* ``WorkingTree.pull`` can now pull ``NULL_REVISION``.
239
(Jelmer Vernooij, #887556)
244
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
246
* Methods ``add`` and ``items`` of ``LRUCache`` and ``LRUSizeCache`` are
247
deprecated. Use normal dict-style access instead. (Martin Packman)
249
* New flag ``RepositoryFormat.supports_unreferenced_revisions`` which
250
indicates whether revisions can be present in a repository without
251
being referenced from e.g. a branch history at the same time.
254
* New method ``Transport.set_segment_parameter``. (Jelmer Vernooij)
256
* ``UIFactory.choose`` has been added: prompt the user for a list of
257
choices. (Benoît Pierre)
262
* ``ControlDirFormat`` now has a new method ``supports_transport``
263
which format implementations can use whether or not they can access
264
a control dir over a particular transport. (Jelmer Vernooij)
266
* ``BranchBuilder.build_commit`` now take ``parent_ids`` and
267
``allow_leftmost_as_ghost`` arguments. (Jelmer Vernooij)
272
* Ensure TestCase instances are deallocated immediately after running where
273
possible. This greatly reduces the peak resource needs of a full test suite
274
run. The new ``-Euncollected_cases`` selftest flag will add failures if any
275
case which persists pasts its expected lifetime. (Martin Packman, #613247)
277
* Report exceptions from child processes during fork instead of swallowing the
278
error and reporting that everything went okay. (Martin Packman, #804130)