12
:3.1.0: NOT RELEASED YET
14
External Compatibility Breaks
15
*****************************
17
.. These may require users to change the way they use Breezy.
19
* The ``brz init-repo`` command has been renamed to
20
``brz init-shared-repo`` to emphasize that it creates
21
shared repositories rather than just any kind of repository.
27
.. New commands, options, etc that users may wish to try out.
29
* A new ``brz land`` command can merge merge proposals on Launchpad,
30
GitHub and GitLab sites. (Jelmer Vernooij, #1816213)
32
* The 'patch' command is now bundled with brz.
33
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
35
* The 'quilt' plugin, extracted from brz-debian, is now
36
bundled. (Jelmer Vernooij)
38
* A new ``calculate_revnos`` configuration option (defaults to enabled)
39
can be used to disable revno display for branch formats that
40
do not natively store revnos. This speeds up ``brz log`` on
41
the Samba git branch by 33%.
44
* Directly read mtab rather than using psutil when trying to figure out
45
filesystem types. This removes a dependency that not all users may
46
have installed and speeds up import time since psutil brings in
47
various other modules. (Jelmer Vernooij)
49
* ``brz diff`` now has a --color argument that can write
50
color diff output. This is based on the cdiff code in
51
bzrtools by Aaron Bentley.
52
(Jelmer Vernooij, #376594)
54
* Information about tree references can now be updated on remote
55
branches. (Jelmer Vernooij)
57
* Warn the user when they attempt to use Breezy in a Subversion
58
working copy. (Jelmer Vernooij)
60
* Add a basic Mercurial plugin that mentions that .hg repositories
61
are unsupported when the user attempts to access one.
64
* The ``2a`` format now officially supports storing tree references.
65
It always partially supported storing tree reference data,
66
and would happily pull in tree reference data from other repository
67
formats. (Jelmer Vernooij)
69
* A new ``fossil`` plugin has been added that warns users when they
70
attempt to access Fossil repositories.
71
(Jelmer Vernooij, #1848821)
73
* When pushing to Git repositories, symrefs are now followed.
74
(Jelmer Vernooij, #1800393)
76
* New ``brz clone`` command, which clones everything under
77
a control directory. I.e. all colocated branches, like
78
``git clone``. (Jelmer Vernooij, #831939)
80
* ``brz sprout`` is now an alias for ``brz branch``.
83
* ``brz branch`` now accepts a ``-b`` flag with the
84
name of the colocated branch to sprout.
85
(Jelmer Vernooij, #1869977)
90
.. Improvements to existing commands, especially improved performance
91
or memory usage, or better results.
93
* A new ``--commit-message`` option has been added to
94
``brz propose``, for hosting sites that support it.
97
* Automatically upgrade to branch format 8 when setting branch references.
100
* The ``ssh`` configuration variable can be used to set the default
101
SSH implementation. (Jelmer Vernooij, #650757)
103
* ``locks.steal_dead`` is now enabled by default.
104
(Jelmer Vernooij, #220464)
106
* The substitution variables for the ``change_editor`` configuration
107
option are now "{old_path}" and "{new_path}" rather than "@old_path" and
108
"@new_path". The former is more consistent with the way substitutions
109
work in other configuration options. The old syntax is still supported.
110
(Jelmer Vernooij, #708718)
112
* The ``brz inventory`` command now accepts a ``--include-root``
113
argument to show the tree root. (Jelmer Vernooij)
115
* Fix support for reading Git repositories over HTTP without
116
a smart server. (Jelmer Vernooij)
118
* CVS pserver URLs now indicate that the pserver protocol is not
119
supported. (Jelmer Vernooij)
121
* Git repositories with submodules can now be imported into 2a
122
branches; submodules are converted to nested trees.
123
(Jelmer Vernooij, #402814)
125
* Python 3 is now used by default to run scripts, etc. from the makefile.
128
* ``.git/config`` is now consulted to determine the users' identity
129
for commits, and the gpg_signing_key. (Jelmer Vernooij)
134
.. Fixes for situations where brz would previously crash or give incorrect
135
or undesirable results.
137
* Print a sensible error message when conversion for an option fails
138
(i.e. when a non-int is specified as the value for an integer
139
parameter) (#237844, Jelmer Vernooij)
141
* Don't include timestamps in filenames when reporting on binary
142
files in diff. (Jelmer Vernooij, #71307)
144
* Ignore UnknownFormatErrors when scanning for control directories.
145
(Jelmer Vernooij, #468332)
147
* Fix fetching from remote git repositories in ``brz git-import``.
148
(Jelmer Vernooij, #1836238)
150
* A new ``TreeEntry.is_unmodified`` method has added, which allows
151
merge to check for unmodified files without relying
152
on the .revision attribute that is not available for Git trees.
153
This fixes LCA merges for Git repositories.
154
(Jelmer Vernooij, #1826663)
156
* Fix passing of directories in specific_files to
157
GitWorkingTree.iter_entries_by_dir(). (Jelmer Vernooij, #1844054)
159
* Fix ``brz diff --using`` when {old_path} and {new_path} are not
160
specified in the template. (#1847915, Jelmer Vernooij)
162
* Ignore ghost tags when interacting with remote Git repositories.
165
* Fix ``setup_ui=False`` when initializing Breezy.
166
(Jelmer Vernooij, #1852647)
168
* Fix backwards compatibility with Bazaar by supporting the
169
$BZR_EMAIL variable. (Jelmer Vernooij, #1869178)
171
* Cope with non-ascii characters in Git signatures.
172
(Jelmer Vernooij, #1869533)
177
.. Improved or updated documentation.
182
.. Changes that may require updates in plugins or other code that uses
185
* New ``Tree.get_transform`` method for getting a ``TreeTransform``
186
object. (Jelmer Vernooij)
188
* The ``Tree.get_root_id`` method has been removed. Use
189
``Tree.path2id('')`` instead. (Jelmer Vernooij)
191
* ``Repository.find_branches`` now returns an iterator rather than a
192
list. (Jelmer Vernooij, #413970)
194
* New ``Tree.get_nested_tree`` method for retrieving a nested tree.
197
* The ``ControlDirFormat.register_server_prober`` method has been removed.
198
Instead, probers can now have a ``priority`` method to influence
199
when they are run. (Jelmer Vernooij)
201
* New ``urlutils.strip_segment_parameters`` function for
202
stripping segment parameters from a URL.
205
* ``Tree.id2path`` has a new optional argument ``recurse``,
206
that determines whether it scans through nested trees.
209
* ``VersionedFiles.add_content`` can now be used to add
210
content from ``ContentFactory`` objects.
217
.. Major internal changes, unlikely to be visible to users or plugin
218
developers, but interesting for brz developers.
223
.. Fixes and changes that are only relevant to brz's test framework and
224
suite. This can include new facilities for writing tests, fixes to
225
spurious test failures and changes to the way things should be tested.
229
vim: tw=74 ft=rst ff=unix