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)
43
.. Fixes for situations where bzr would previously crash or give incorrect
44
or undesirable results.
46
* ``bzr mkdir --quiet`` now does not print a line for every created
47
directory. (Martin von Gagern, #869915)
52
.. Improved or updated documentation.
57
.. Changes that may require updates in plugins or other code that uses
60
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
65
.. Major internal changes, unlikely to be visible to users or plugin
66
developers, but interesting for bzr developers.
68
* ``ControlDirFormat`` now has a new method ``supports_transport``
69
which format implementations can use whether or not they can access
70
a control dir over a particular transport. (Jelmer Vernooij)
75
.. Fixes and changes that are only relevant to bzr's test framework and
76
suite. This can include new facilities for writing tests, fixes to
77
spurious test failures and changes to the way things should be tested.
79
* Ensure TestCase instances are deallocated immediately after running where
80
possible. This greatly reduces the peak resource needs of a full test suite
81
run. The new ``-Euncollected_cases`` selftest flag will add failures if any
82
case which persists pasts its expected lifetime. (Martin Packman, #613247)
88
This is the second beta of the 2.5 series, leading to a 2.5.0 release in
89
February 2012. Beta releases are suitable for everyday use but may cause some
90
incompatibilities with plugins.
92
This release includes more filtering options for ``bzr log``, idle
93
connections handling for ``bzr serve``, a ``development-colo`` experimental
94
format to flesh out the colocated branches UI, better support for foreign
95
formats, enhancements to the config framework and more.
97
This release includes all bug fixed in previous series known at the time of
102
External Compatibility Breaks
103
*****************************
110
23
* A new ``-O`` standard option (common to all commands) have been added. It
111
24
provides a value for a config option in the ``-Oname=value`` form that
112
25
takes precedence over all definitions found in config files. It can be
113
26
used multiple times to override different options.
114
27
(Vincent Ladeuil, #491196)
116
* ``bzr log`` now has an option called ``--omit-merges`` to omit
117
those commits that merged branches, i.e. those having more than one
119
In order to avoid confusion, the previous command line option
120
``--include-merges`` has been renamed to ``--include-merged``.
121
The old name of the command line option will still be accepted.
122
The name change also affects ``bzr missing``.
125
29
* ``bzr serve`` will now disconnect clients if they have not issued an RPC
126
30
request after 5minutes. On POSIX platforms, this will also happen for
127
31
``bzr serve --inet``. This can be overridden with the configuration
131
35
finish the current request, and then close the connection.
132
36
(John Arbash Meinel, #824797, #795025)
134
* The new experimental format ``development-colo`` supports colocated
135
branches. This format will eventually be merged back into the ``2a``
136
format when it has stabilized and there is adequate UI support for
138
(Jelmer Vernooij, #831481)
42
.. Improvements to existing commands, especially improved performance
43
or memory usage, or better results.
143
45
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
144
46
every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
55
.. Fixes for situations where bzr would previously crash or give incorrect
56
or undesirable results.
153
58
* ``bzr shelve`` can now be used in emacs shells as the input handling is
154
turned into a line-based one when ``INSIDE_EMACS`` is set (which is the
59
turned into a line-basde one when ``INSIDE_EMACS`` is set (which is the
155
60
case for all recent emacs versions). (Vincent Ladeuil, #856261)
157
62
* ``bzr tags`` can now be used against remote repositories that do
158
63
not provide access to the revision graph. (Jelmer Vernooij, #858942)
160
65
* ``bzr update PATH`` will stop if you seem to be asking it to update
161
anything less than a whole tree, because that's not supported by ``bzr``'s
66
anything less than a whole tree, because that's not supported by bzr's
162
67
concept that the whole tree has a single basis revision. Previously, it
163
68
would go ahead and update the whole tree, which was surprising.
164
69
(Martin Pool, #557886)
166
* Don't crash if ``bzrlib.initialize()`` has not been called while accessing
71
* Don't crash if bzrlib.initialize() has not been called while accessing
167
72
configs. (Vincent Ladeuil, #863401)
169
74
* Redirects between http and https no longer discard path information
175
80
* ``WorkingTree.get_file_mtime`` now raises NoSuchId if a file id is
176
81
specified that is unknown. (Jelmer Vernooij, #847435)
86
.. Improved or updated documentation.
91
.. Changes that may require updates in plugins or other code that uses
182
94
* ``Branch.get_revision_delta`` has been deprecated. Use
183
95
``Repository.get_revision_delta`` instead. (Jelmer Vernooij, #859712)
185
* Plugins that implement custom protocols for ``bzr serve`` should now
186
also take an argument ``timeout``. This is used by the the bzr protocol
187
to close a connection if a client has been idle for more than X seconds.
188
(Default 5minutes). (John Arbash Meinel)
190
97
* ``Repository.fileids_altered_by_revision_ids`` has been moved to
191
98
``VersionedFileRepository`` and is no longer part of the standard
192
99
``Repository`` interface. (Jelmer Vernooij)
194
* The argument ``include_merges`` to ``missing.find_unmerged`` has
195
been renamed to ``include_merged``. The old name is still supported
196
for now but will cause a deprecation warning. (Martin von Gagern)
198
101
* The new method ``ControlDirFormat.is_initializable()`` returns a boolean
199
102
indicating whether or not it is possible to use any of the
200
103
initialization methods of that format to create a new control dir.
224
134
:2.5b1: 2011-09-15
226
136
This is the first beta of the 2.5 series, leading up to a 2.5.0
227
release in February 2012.
229
This release includes better support for gpg signing, better support for
230
i18n (mostly command help and error messages), more options to filter ``bzr
231
log`` output, more support for colocated branches ("location,branch=XXX"
232
syntax), better feedback on updated tags for various commands, faster
233
branching into an empty repository, enhancements to the config framework and
236
Beta releases are suitable for everyday use but may cause some
237
incompatibilities with plugins. Some plugins may need small updates to work
137
release in February 2012. Beta releases are suitable for everyday use
138
but may cause some incompatibilities with plugins. Some plugins may need
139
small updates to work with 2.5b1.
240
141
External Compatibility Breaks
241
142
*****************************
297
198
while ``--match-message, --match-author, --match-committer`` and
298
199
``--match-bugs`` match each of those fields. (Jacek Sieka)
201
* ``bzr log`` now has an option called ``--omit-merges`` to ommit
202
those commits that merged branches, i.e. those having more than one
204
In order to avoid confusion, the previous command line option
205
``--include-merges`` has been renamed to ``--include-merged``.
206
The old name of the command line option will still be accepted.
207
The name change also affects ``bzr missing``.
300
210
* ``config.Option`` can now declare ``default_from_env``, a list of
301
211
environment variables to get a default value from. (Vincent Ladeuil)
314
224
(Jonathan Riddell, #804254)
316
226
* Translations are now enabled for command help, errors and globally
317
for any message using ``gettext`` given on output. (Jonathan Riddell,
227
for any message using gettext given on output. (Jonathan Riddell,
318
228
INADA Naoki, #83941)
230
* The new experimental format ``development-colo`` supports colocated
231
branches. This format will eventually be merged back into the ``2a``
232
format when it has stabilized and there is adequate UI support for
234
(Jelmer Vernooij, #831481)