17
17
* On Linux bzr additionally looks for plugins in arch-independent site
18
18
directory. (Toshio Kuratomi)
20
20
* When a plugin cannot be loaded as the file path is not a valid
21
21
python module name bzr will now strip a ``bzr_`` prefix from the
22
22
front of the suggested name, as many plugins (e.g. bzr-svn)
38
38
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
40
* ``status`` now accepts ``--no-pending`` to show the status without
41
listing pending merges, which speeds up the command a lot on large
42
histories. (James Westby, #202830)
42
46
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
129
133
non-ghost aware repository such as weaves will now fail if there are
130
134
ghosts. (Robert Collins)
136
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
137
now requires the ``index`` and ``access_method`` parameters to be
138
supplied. A compatible shim has been kept in the new function
139
``knit.make_file_knit``. (Robert Collins)
132
141
* Log formatters must now provide log_revision instead of show and
133
142
show_merge_revno methods. The latter had been deprecated since the 0.17
134
143
release. (James Westby)
144
153
* ``Transport.get_shared_medium`` is deprecated. Use
145
154
``Transport.get_smart_medium`` instead. (Andrew Bennetts)
156
* ``VersionedFile`` factories now accept a get_scope parameter rather
157
than using a call to ``transaction_finished``, allowing the removal of
158
the fixed list of versioned files per repository. (Robert Collins)
160
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
161
allowed lower memory use, all users of annotations wanted full file
162
annotations, and there is no storage format suitable for incremental
163
line-by-line annotation. (Robert Collins)
165
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
166
is no longer used - reading the content of a file that is undergoing a
167
file level merge to identical state on two branches is rare enough, and
168
not expensive enough to special case. (Robert Collins)
170
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
171
These methods added significant complexity to the ``VersionedFile``
172
implementation, but were only used for optimising fetches from knits -
173
which can be done from outside the knit layer, or via a caching
174
decorator. As knits are not the default format, the complexity is no
175
longer worth paying. (Robert Collins)
147
177
* ``VersionedFile.create_empty`` is removed. This method presupposed a
148
178
sensible mapping to a transport for individual files, but pack backed
149
179
versioned files have no such mapping. (Robert Collins)
158
188
* ``VersionedFile.get_parents`` is deprecated, please use
159
189
``VersionedFile.get_parent_map``. (Robert Collins)
191
* ``VersionedFile.get_sha1`` is deprecated, please use
192
``VersionedFile.get_sha1s``. (Robert Collins)
161
194
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
162
195
and unused outside of a single test. (Robert Collins)
197
* ``VersionedFile.iter_parents`` is now deprecated in favour of
198
``get_parent_map`` which can be used to instantiate a Graph on a
199
VersionedFile. (Robert Collins)
201
* ``VersionedFileStore`` no longer uses the transaction parameter given
202
to most methods; amongst other things this means that the
203
get_weave_or_empty method no longer guarantees errors on a missing weave
204
in a readonly transaction, and no longer caches versioned file instances
205
which reduces memory pressure (but requires more careful management by
206
callers to preserve performance). (Robert Collins)
166
210
* New -Dselftest_debug flag disables clearing of the debug flags during
193
237
* ``make dist`` target to build a release tarball, and also
194
238
``check-dist-tarball`` and ``dist-upload-escudero``. (Martin Pool)
240
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
241
classes will now raise ``UnknownSmartMethod`` when appropriate, so that
242
callers don't need to try distinguish unknown request errors from other
243
errors. (Andrew Bennetts)
196
245
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
197
246
``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)