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
.. Improvements to existing commands, especially improved performance
32
or memory usage, or better results.
34
* ``bzr version-info`` now takes a ``--revision`` argument.
35
(Jelmer Vernooij, #238705)
37
* ``bzr revno`` now takes a ``--revision`` argument.
38
(Jelmer Vernooij, #870649)
40
* ``bzr serve`` now can serve from URLs rather than just from the
41
file system. I.e.: ``bzr serve -d lp:bzr`` or
42
``bzr serve -d file:///data/bzr`` (Jelmer Vernooij)
44
* all input prompts are now char-based when possible, and can be forced to
45
line-based mode by setting the ``BZR_TEXTUI_INPUT`` environment variable
46
to 'line-based'. This replace the previous shelf UI only patch using
47
``INSIDE_EMACS``. (Benoît Pierre)
52
.. Fixes for situations where bzr would previously crash or give incorrect
53
or undesirable results.
55
* ``bzr mkdir --quiet`` now does not print a line for every created
56
directory. (Martin von Gagern, #869915)
58
* ``bzr mv`` does not crash when attempting to move the root of a
59
branch. (Jonathan Riddell, #809728)
61
* ``bzr shelve`` now use ``UIFactory.choose`` for input handling, making
62
it usable when creating a custom ``UIFactory`` implementation. (Benoît
65
* ``bzr clean-tree`` now use ``UIFactory.get_boolean`` for confirmation
66
prompt, making it usable when using a custom ``UIFactory``
67
implementation. (Benoît Pierre)
69
* If sending a crash through Apport fails report the Apport failure to
70
bzr.log rather than stderr. (Jonathan Riddell, #766735)
72
* ``bzr upgrade`` no longer treats 'already up-to-date' exceptions as
73
errors. (Benoît Pierre, #716560).
78
.. Improved or updated documentation.
83
.. Changes that may require updates in plugins or other code that uses
86
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
88
* Methods ``add`` and ``items`` of ``LRUCache`` and ``LRUSizeCache`` are
89
deprecated. Use normal dict-style access instead. (Martin Packman)
91
* New flag ``RepositoryFormat.supports_unreferenced_revisions`` which
92
indicates whether revisions can be present in a repository without
93
being referenced from e.g. a branch history at the same time.
96
* ``UIFactory.choose`` has been added: prompt the user for a list of
97
choices. (Benoît Pierre)
102
.. Major internal changes, unlikely to be visible to users or plugin
103
developers, but interesting for bzr developers.
105
* ``ControlDirFormat`` now has a new method ``supports_transport``
106
which format implementations can use whether or not they can access
107
a control dir over a particular transport. (Jelmer Vernooij)
109
* ``BranchBuilder.build_commit`` now take ``parent_ids`` and
110
``allow_leftmost_as_ghost`` arguments. (Jelmer Vernooij)
115
.. Fixes and changes that are only relevant to bzr's test framework and
116
suite. This can include new facilities for writing tests, fixes to
117
spurious test failures and changes to the way things should be tested.
119
* Ensure TestCase instances are deallocated immediately after running where
120
possible. This greatly reduces the peak resource needs of a full test suite
121
run. The new ``-Euncollected_cases`` selftest flag will add failures if any
122
case which persists pasts its expected lifetime. (Martin Packman, #613247)
124
* Report exceptions from child processes during fork instead of swallowing the
125
error and reporting that everything went okay. (Martin Packman, #804130)
131
This is the second beta of the 2.5 series, leading to a 2.5.0 release in
132
February 2012. Beta releases are suitable for everyday use but may cause some
133
incompatibilities with plugins.
135
This release includes more filtering options for ``bzr log``, idle
136
connections handling for ``bzr serve``, a ``development-colo`` experimental
137
format to flesh out the colocated branches UI, better support for foreign
138
formats, enhancements to the config framework and more.
140
This release includes all bug fixed in previous series known at the time of
145
External Compatibility Breaks
146
*****************************
23
153
* A new ``-O`` standard option (common to all commands) have been added. It
24
154
provides a value for a config option in the ``-Oname=value`` form that
25
155
takes precedence over all definitions found in config files. It can be
26
156
used multiple times to override different options.
27
157
(Vincent Ladeuil, #491196)
159
* ``bzr log`` now has an option called ``--omit-merges`` to omit
160
those commits that merged branches, i.e. those having more than one
162
In order to avoid confusion, the previous command line option
163
``--include-merges`` has been renamed to ``--include-merged``.
164
The old name of the command line option will still be accepted.
165
The name change also affects ``bzr missing``.
29
168
* ``bzr serve`` will now disconnect clients if they have not issued an RPC
30
169
request after 5minutes. On POSIX platforms, this will also happen for
31
170
``bzr serve --inet``. This can be overridden with the configuration
35
174
finish the current request, and then close the connection.
36
175
(John Arbash Meinel, #824797, #795025)
177
* The new experimental format ``development-colo`` supports colocated
178
branches. This format will eventually be merged back into the ``2a``
179
format when it has stabilized and there is adequate UI support for
181
(Jelmer Vernooij, #831481)
42
.. Improvements to existing commands, especially improved performance
43
or memory usage, or better results.
45
186
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
46
187
every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
189
* ``bzr info -v`` can now be run against branches that don't support
190
``last_revision_info``, in which case the branch information will simply
191
not be displayed. (Jelmer Vernooij)
51
.. Fixes for situations where bzr would previously crash or give incorrect
52
or undesirable results.
54
196
* ``bzr shelve`` can now be used in emacs shells as the input handling is
55
turned into a line-basde one when ``INSIDE_EMACS`` is set (which is the
197
turned into a line-based one when ``INSIDE_EMACS`` is set (which is the
56
198
case for all recent emacs versions). (Vincent Ladeuil, #856261)
200
* ``bzr tags`` can now be used against remote repositories that do
201
not provide access to the revision graph. (Jelmer Vernooij, #858942)
203
* ``bzr update PATH`` will stop if you seem to be asking it to update
204
anything less than a whole tree, because that's not supported by ``bzr``'s
205
concept that the whole tree has a single basis revision. Previously, it
206
would go ahead and update the whole tree, which was surprising.
207
(Martin Pool, #557886)
209
* Don't crash if ``bzrlib.initialize()`` has not been called while accessing
210
configs. (Vincent Ladeuil, #863401)
58
212
* Redirects between http and https no longer discard path information
59
213
in some cases. (Jelmer Vernooij, #853765)
64
218
* ``WorkingTree.get_file_mtime`` now raises NoSuchId if a file id is
65
219
specified that is unknown. (Jelmer Vernooij, #847435)
70
.. Improved or updated documentation.
75
.. Changes that may require updates in plugins or other code that uses
78
225
* ``Branch.get_revision_delta`` has been deprecated. Use
79
226
``Repository.get_revision_delta`` instead. (Jelmer Vernooij, #859712)
228
* Plugins that implement custom protocols for ``bzr serve`` should now
229
also take an argument ``timeout``. This is used by the the bzr protocol
230
to close a connection if a client has been idle for more than X seconds.
231
(Default 5minutes). (John Arbash Meinel)
233
* ``Repository.fileids_altered_by_revision_ids`` has been moved to
234
``VersionedFileRepository`` and is no longer part of the standard
235
``Repository`` interface. (Jelmer Vernooij)
237
* The argument ``include_merges`` to ``missing.find_unmerged`` has
238
been renamed to ``include_merged``. The old name is still supported
239
for now but will cause a deprecation warning. (Martin von Gagern)
81
241
* The new method ``ControlDirFormat.is_initializable()`` returns a boolean
82
242
indicating whether or not it is possible to use any of the
83
243
initialization methods of that format to create a new control dir.
114
267
:2.5b1: 2011-09-15
116
269
This is the first beta of the 2.5 series, leading up to a 2.5.0
117
release in February 2012. Beta releases are suitable for everyday use
118
but may cause some incompatibilities with plugins. Some plugins may need
119
small updates to work with 2.5b1.
270
release in February 2012.
272
This release includes better support for gpg signing, better support for
273
i18n (mostly command help and error messages), more options to filter ``bzr
274
log`` output, more support for colocated branches ("location,branch=XXX"
275
syntax), better feedback on updated tags for various commands, faster
276
branching into an empty repository, enhancements to the config framework and
279
Beta releases are suitable for everyday use but may cause some
280
incompatibilities with plugins. Some plugins may need small updates to work
121
283
External Compatibility Breaks
122
284
*****************************