37
37
automatically benefit from this feature when ``bzr`` on the server is
38
38
upgraded. (Andrew Bennetts, #109143)
40
* Extensions can now be compiled if either Cython or Pyrex is available.
41
Currently Pyrex is preferred, but that may change in the future.
40
44
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
41
45
disable the user, site and core plugin directories.
42
46
(Vincent Ladeuil, #412930, #316192, #145612)
153
157
See also <https://answers.launchpad.net/bzr/+faq/703>.
154
158
(Martin Pool, #406113, #430529)
160
* Secondary errors that occur during Branch.unlock and Repository.unlock
161
no longer obscure the original error. These methods now use a new
162
decorator, ``only_raises``. This fixes many causes of
163
``TooManyConcurrentRequests`` and similar errors.
164
(Andrew Bennetts, #429747)
167
* ``ProgressTask.note`` is deprecated.
170
178
* ``bzrlib.user_encoding`` has been removed; use
171
179
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
173
181
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
174
182
subclasses - the same as python's unittest module. (Robert Collins)
184
* ``diff._get_trees_to_diff`` has been renamed to
185
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
186
returns the old and new branches. (Gary van der Merwe)
176
188
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
191
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
192
now defaults to comparing to the basis tree. It now checks for pending
193
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
194
corresponding has_changes() calls. ``Merge.compare_basis``,
195
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
197
(Vincent Ladeuil, #440631)
199
* ``ProgressTask.note`` is deprecated.
205
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
206
repository or branch object is unlocked then relocked the same way.
209
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
210
Dict (it only holds keys, but you can lookup the object located at a
211
given key). It has significantly reduced memory consumption versus the
212
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This will
213
be used as the interning structure for StaticTuple objects, as part of
214
an ongoing push to reduce peak memory consumption. (John Arbash Meinel)
182
216
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
183
217
mallocs while parsing the index (approx 3=>1 mallocs per key read).
184
218
This results in a 10% speedup while reading an index.