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)
26
31
.. Improvements to existing commands, especially improved performance
27
32
or memory usage, or better results.
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.
34
* ``bzr version-info`` now takes a ``--revision`` argument.
35
(Jelmer Vernooij, #238705)
33
* ``bzr switch`` now accepts colocated branch names to switch to.
34
(Jelmer Vernooij, #826814)
37
* ``bzr revno`` now takes a ``--revision`` argument.
38
(Jelmer Vernooij, #870649)
39
43
.. Fixes for situations where bzr would previously crash or give incorrect
40
44
or undesirable results.
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)
76
* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
77
prohibits several invalid strings, reads the correct number of seconds,
78
and gives a better error message if the time zone offset is not given.
46
* ``bzr mkdir --quiet`` now does not print a line for every created
47
directory. (Martin von Gagern, #869915)
89
57
.. 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)
104
63
.. Major internal changes, unlikely to be visible to users or plugin
105
64
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
``Repository.check_write_group`` and
123
``Repository.add_signature_revision_text``.
126
* Custom HPSS error handlers can now be installed in the smart server client
127
using the ``error_translators`` and ``no_context_error_translators``
128
registries. (Jelmer Vernooij)
134
70
suite. This can include new facilities for writing tests, fixes to
135
71
spurious test failures and changes to the way things should be tested.
137
* Avoid failures in test_transform when OS error messages are localised.
138
(Martin Packman, #891582)
145
This is the third beta of the 2.5 series, leading to a 2.5.0 release in
146
February 2012. Beta releases are suitable for everyday use but may cause
147
some incompatibilities with plugins.
149
This release includes log options for ``push`` and ``pull``, more UI polish
150
for colocated branches, a better and more coherent implementation for UI
151
dialogs, enhancements to the config framework and more.
153
This release includes all bug fixed in previous series known at the time of
156
External Compatibility Breaks
157
*****************************
164
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
165
change the format ``push`` and ``pull`` use to display the
166
revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
167
format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
169
* The new config scheme allows an alternative syntax for the 'appenpath'
170
policy relying on option expansion and defining a new 'relpath' option
171
local to a section. Instead of using '<option>:policy=appendpath', the
172
option value can de defined as 'option=xxxx/{relpath}'.
173
(Vincent Ladeuil, #832013)
178
* ``bzr info -v`` now shows the number of colocated branches
179
for control directories that support them.
180
(Jelmer Vernooij, #863285)
182
* ``bzr version-info`` now takes a ``--revision`` argument.
183
(Jelmer Vernooij, #238705)
185
* ``bzr revno`` now takes a ``--revision`` argument.
186
(Jelmer Vernooij, #870649)
188
* ``bzr rmbranch`` can now remove colocated branches.
189
(Jelmer Vernooij, #831464)
191
* ``bzr serve`` now can serve from URLs rather than just from the
192
file system. I.e.: ``bzr serve -d lp:bzr`` or
193
``bzr serve -d file:///data/bzr`` (Jelmer Vernooij)
195
* all input prompts are now char-based when possible, and can be forced to
196
line-based mode by setting the ``BZR_TEXTUI_INPUT`` environment variable
197
to 'line-based'. This replace the previous shelf UI only patch using
198
``INSIDE_EMACS``. (Benoît Pierre)
203
* ``bzr info`` now shows the master branch location too for
204
treeless local branches. (Jelmer Vernooij, #258355)
206
* ``bzr info`` no longer shows empty output if only a control
207
directory is present. (Jelmer Vernooij, #159098)
209
* ``bzr mkdir --quiet`` now does not print a line for every created
210
directory. (Martin von Gagern, #869915)
212
* ``bzr mv`` does not crash when attempting to move the root of a
213
branch. (Jonathan Riddell, #809728)
215
* ``bzr shelve`` now use ``UIFactory.choose`` for input handling, making
216
it usable when creating a custom ``UIFactory`` implementation. (Benoît
219
* ``bzr clean-tree`` now use ``UIFactory.get_boolean`` for confirmation
220
prompt, making it usable when using a custom ``UIFactory``
221
implementation. (Benoît Pierre)
223
* If sending a crash through Apport fails report the Apport failure to
224
bzr.log rather than stderr. (Jonathan Riddell, #766735)
226
* ``bzr upgrade`` no longer treats 'already up-to-date' exceptions as
227
errors. (Benoît Pierre, #716560).
229
* ``bzr version-info`` no longer populates the clean state for custom
230
templates unless {clean} is explicitly asked for.
231
(Lawrence Mitchell, #882541)
233
* Fix finding the CPU count when using Python >= 2.6 on BSD-based systems.
234
(Jelmer Vernooij, #887151)
236
* ``WorkingTree.clone()`` now supports its ``revision_id`` being set
237
to the null revision. (Jelmer Vernooij, #876423)
239
* ``WorkingTree.pull`` can now pull ``NULL_REVISION``.
240
(Jelmer Vernooij, #887556)
245
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
247
* Methods ``add`` and ``items`` of ``LRUCache`` and ``LRUSizeCache`` are
248
deprecated. Use normal dict-style access instead. (Martin Packman)
250
* New flag ``RepositoryFormat.supports_unreferenced_revisions`` which
251
indicates whether revisions can be present in a repository without
252
being referenced from e.g. a branch history at the same time.
255
* New method ``Transport.set_segment_parameter``. (Jelmer Vernooij)
257
* ``UIFactory.choose`` has been added: prompt the user for a list of
258
choices. (Benoît Pierre)
263
* ``ControlDirFormat`` now has a new method ``supports_transport``
264
which format implementations can use whether or not they can access
265
a control dir over a particular transport. (Jelmer Vernooij)
267
* ``BranchBuilder.build_commit`` now take ``parent_ids`` and
268
``allow_leftmost_as_ghost`` arguments. (Jelmer Vernooij)
273
* Ensure TestCase instances are deallocated immediately after running where
274
possible. This greatly reduces the peak resource needs of a full test suite
275
run. The new ``-Euncollected_cases`` selftest flag will add failures if any
276
case which persists pasts its expected lifetime. (Martin Packman, #613247)
278
* Report exceptions from child processes during fork instead of swallowing the
279
error and reporting that everything went okay. (Martin Packman, #804130)