26
26
.. Improvements to existing commands, especially improved performance
27
27
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.
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)
32
42
.. Fixes for situations where bzr would previously crash or give incorrect
33
43
or undesirable results.
45
* Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be
46
pickled. (Jelmer Vernooij, #893149)
48
* A new section local option ``basename`` is available to help support some
49
``bzr-pipeline`` workflows and more generally help mapping local paths to
50
remote ones. See ``bzr help configuration`` for more details.
51
(Vincent Ladeuil, #843211)
53
* Add HPSS call for looking up revision numbers from revision ids on
54
remote repositories. (Jelmer Vernooij, #640253)
56
* Add HPSS call for retrieving file contents from remote repositories.
57
Should improve performance for lightweight checkouts and exports of
58
from remote repositories. (Jelmer Vernooij, #368717, #762330,
61
* Cope with missing revision ids being specified to
62
``Repository.gather_stats`` HPSS call. (Jelmer Vernooij, #411290)
64
* Fix test failures on windows related to locations.conf handling.
65
(Vincent Ladeuil, #892992)
67
* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
68
prohibits several invalid strings, reads the correct number of seconds,
69
and gives a better error message if the time zone offset is not given.
72
* Resolve regression from colocated branch path handling, by ensuring that
73
unreserved characters are unquoted in URLs. (Martin Packman, #842223)
75
* Split segments from URLs for colocated branches without assuming the
76
combined form is a valid. (Martin Packman, #842233)
78
* Support looking up revision numbers by revision id in empty branches.
79
(Jelmer Vernooij, #535031)
81
* Support verifying signatures on remote repositories.
82
(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.
89
* When a remote format is unknown, bzr will now print a single-line error
90
message rather than a backtrace. (Jelmer Vernooij, #687226)
43
100
.. Changes that may require updates in plugins or other code that uses
103
* ``BzrDir.open_branch`` and ``BranchFormat.open`` now take an optional
104
``possible_transports`` argument. (Jelmer Vernooij)
106
* ``Repository.verify_revision`` has been renamed to
107
``Repository.verify_revision_signature``. (Jelmer Vernooij)
109
* ``Tree.get_file_by_path`` is now deprecated. Use ``Tree.get_file`` instead.
110
(Jelmer Vernooij, #666897)
112
* Some global options for use with commands have been removed, construct
113
an ``Option`` with the name instead. (Martin Packman)
49
118
.. Major internal changes, unlikely to be visible to users or plugin
50
119
developers, but interesting for bzr developers.
121
* ``bzr config`` uses the new configuration implementation.
124
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
125
will now use HPSS calls where possible. (Jelmer Vernooij)
127
* New HPSS calls ``Repository.has_signature_for_revision_id``,
128
``Repository.make_working_trees``, ``BzrDir.destroy_repository``,
129
``BzrDir.has_workingtree``, ``Repository.get_physical_lock_status``,
130
``Branch.get_physical_lock_status``,
131
``Branch.put_config_file``, ``Branch.break_lock``,
132
``BzrDir.destroy_branch``, ``Repository.break_lock``,
133
``VersionedFileRepository.get_serializer_format``,
134
``Repository.all_revision_ids``, ``Repository.start_write_group``,
135
``Repository.commit_write_group``, ``Repository.abort_write_group``
136
``Repository.check_write_group``, ``Repository.iter_revisions``,
137
``Repository.add_signature_revision_text`` and
138
``Repository.get_revision_signature_text``.
141
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
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)
105
202
* ``bzr revno`` now takes a ``--revision`` argument.
106
203
(Jelmer Vernooij, #870649)
205
* ``bzr rmbranch`` can now remove colocated branches.
206
(Jelmer Vernooij, #831464)
108
208
* ``bzr serve`` now can serve from URLs rather than just from the
109
209
file system. I.e.: ``bzr serve -d lp:bzr`` or
110
210
``bzr serve -d file:///data/bzr`` (Jelmer Vernooij)
120
220
* ``bzr info`` now shows the master branch location too for
121
221
treeless local branches. (Jelmer Vernooij, #258355)
223
* ``bzr info`` no longer shows empty output if only a control
224
directory is present. (Jelmer Vernooij, #159098)
123
226
* ``bzr mkdir --quiet`` now does not print a line for every created
124
227
directory. (Martin von Gagern, #869915)