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``.
86
.. Improvements to existing commands, especially improved performance
87
or memory usage, or better results.
89
* A new ``--commit-message`` option has been added to
90
``brz propose``, for hosting sites that support it.
93
* Automatically upgrade to branch format 8 when setting branch references.
96
* The ``ssh`` configuration variable can be used to set the default
97
SSH implementation. (Jelmer Vernooij, #650757)
99
* ``locks.steal_dead`` is now enabled by default.
100
(Jelmer Vernooij, #220464)
102
* The substitution variables for the ``change_editor`` configuration
103
option are now "{old_path}" and "{new_path}" rather than "@old_path" and
104
"@new_path". The former is more consistent with the way substitutions
105
work in other configuration options. The old syntax is still supported.
106
(Jelmer Vernooij, #708718)
108
* The ``brz inventory`` command now accepts a ``--include-root``
109
argument to show the tree root. (Jelmer Vernooij)
111
* Fix support for reading Git repositories over HTTP without
112
a smart server. (Jelmer Vernooij)
114
* CVS pserver URLs now indicate that the pserver protocol is not
115
supported. (Jelmer Vernooij)
117
* Git repositories with submodules can now be imported into 2a
118
branches; submodules are converted to nested trees.
119
(Jelmer Vernooij, #402814)
121
* Python 3 is now used by default to run scripts, etc. from the makefile.
124
* ``.git/config`` is now consulted to determine the users' identity
125
for commits, and the gpg_signing_key. (Jelmer Vernooij)
130
.. Fixes for situations where brz would previously crash or give incorrect
131
or undesirable results.
133
* Print a sensible error message when conversion for an option fails
134
(i.e. when a non-int is specified as the value for an integer
135
parameter) (#237844, Jelmer Vernooij)
137
* Don't include timestamps in filenames when reporting on binary
138
files in diff. (Jelmer Vernooij, #71307)
140
* Ignore UnknownFormatErrors when scanning for control directories.
141
(Jelmer Vernooij, #468332)
143
* Fix fetching from remote git repositories in ``brz git-import``.
144
(Jelmer Vernooij, #1836238)
146
* A new ``TreeEntry.is_unmodified`` method has added, which allows
147
merge to check for unmodified files without relying
148
on the .revision attribute that is not available for Git trees.
149
This fixes LCA merges for Git repositories.
150
(Jelmer Vernooij, #1826663)
152
* Fix passing of directories in specific_files to
153
GitWorkingTree.iter_entries_by_dir(). (Jelmer Vernooij, #1844054)
155
* Fix ``brz diff --using`` when {old_path} and {new_path} are not
156
specified in the template. (#1847915, Jelmer Vernooij)
158
* Ignore ghost tags when interacting with remote Git repositories.
161
* Fix ``setup_ui=False`` when initializing Breezy.
162
(Jelmer Vernooij, #1852647)
167
.. Improved or updated documentation.
172
.. Changes that may require updates in plugins or other code that uses
175
* New ``Tree.get_transform`` method for getting a ``TreeTransform``
176
object. (Jelmer Vernooij)
178
* The ``Tree.get_root_id`` method has been removed. Use
179
``Tree.path2id('')`` instead. (Jelmer Vernooij)
181
* ``Repository.find_branches`` now returns an iterator rather than a
182
list. (Jelmer Vernooij, #413970)
184
* New ``Tree.get_nested_tree`` method for retrieving a nested tree.
187
* The ``ControlDirFormat.register_server_prober`` method has been removed.
188
Instead, probers can now have a ``priority`` method to influence
189
when they are run. (Jelmer Vernooij)
191
* New ``urlutils.strip_segment_parameters`` function for
192
stripping segment parameters from a URL.
195
* ``Tree.id2path`` has a new optional argument ``recurse``,
196
that determines whether it scans through nested trees.
199
* ``VersionedFiles.add_content`` can now be used to add
200
content from ``ContentFactory`` objects.
207
.. Major internal changes, unlikely to be visible to users or plugin
208
developers, but interesting for brz developers.
213
.. Fixes and changes that are only relevant to brz's test framework and
214
suite. This can include new facilities for writing tests, fixes to
215
spurious test failures and changes to the way things should be tested.
219
vim: tw=74 ft=rst ff=unix