26
26
.. Improvements to existing commands, especially improved performance
27
27
or memory usage, or better results.
29
* A redundant parent inventories calculation was removed from
30
``fetch.py``, as ``Repository.insert_stream`` already reports any
31
missing inventories. This removes at least one network roundtrip when
32
pushing to a stacked branch. (Andrew Bennetts)
34
* ``ControlDir.sprout`` no longer opens the target repository more than
35
once. This avoids some unnecessary IO, and removes a network roundtrip
36
when doing ``bzr branch`` to a smart server URL. (Andrew Bennetts)
38
* ``bzr resolve`` now accepts ``--take-this`` and ``--take-other`` actions
39
for text conflicts. This *replace* the whole file with the content
40
designated by the action. This will *ignore* all differences that would
41
have been merge cleanly otherwise. (Vincent Ladeuil, #638451)
43
* ``bt.test_http`` was breaking ``os.environ`` by erasing the values saved by
44
``TestCase`` leading to ``bt.test_import_tariff`` failures.
45
(Vincent Ladeuil, #690563)
47
* ``upgrade`` now upgrades dependent branches when a shared repository is
48
specified. It also supports new options: ``--dry-run`` for showing what
49
will happen and ``--clean`` to remove the backup directory on successful
50
completion. (Ian Clatworthy, Matthew Fuller, #89830, #374734, #422450)
42
65
.. Improved or updated documentation.
67
* Better document the rules to update the bzr freshmeat page when
68
doing a release. (Vincent Ladeuil, #690515)
47
73
.. Changes that may require updates in plugins or other code that uses
76
* ``Branch.sprout``, ``BranchFormat.initalize`` and
77
``ControlDir.create_branch`` now take an optional ``repository`` keyword
78
argument, and ``BranchFormat.open`` now takes an optional
79
``found_repository`` keyword argument. These provide the repository
80
object for new branch object to use (for cases when the caller has
81
already opened that repository). Implementations of these APIs will
82
need to be updated to accept these arguments. (Andrew Bennetts)
60
94
suite. This can include new facilities for writing tests, fixes to
61
95
spurious test failures and changes to the way things should be tested.
97
* Catch exceptions related to bug #637821 during test cleanup to avoid
98
spurious failures. (Vincent Ladeuil, #686008).
100
* Check sphinx compatibility for tests requiring older sphinx versions.
101
(Vincent Ladeuil, #688072)
103
* ``TestDebuntuExpansions`` was escaping the test isolation by calling the
104
wrong base class ``setUp``. (Vincent Ladeuil, #684622)
159
201
to 0.9.5 which will allow tests that need the fixed unicode handling to be
160
202
written. (Martin [gz])
204
* Introduce an ``overrideEnv()`` helper for tests that needs to change the
205
environment variables while respecting the isolation rules. Get rid of
206
TestCase._restoreEnvironment which is now useless.
207
(Vincent Ladeuil, #690563)
162
209
* Printing selftest results to a non-UTF-8 console will now escape characters
163
210
that can't be encoded rather than aborting the test run with an exception.
164
211
(Martin [gz], #633216)
186
233
once. It can also be used to set or delete a configuration option in any
187
234
configuration file. (Vincent Ladeuil)
189
* New shortcut url schemes ``ubuntu:`` and ``debianlp:`` access source
236
* New shortcut URL schemes ``ubuntu:`` and ``debianlp:`` access source
190
237
branches on Launchpad. E.g. ``bzr branch ubuntu:foo`` gives you the source
191
238
branch for project ``foo`` in the current distroseries for Ubuntu while
192
239
``bzr branch debianlp:lenny/foo`` gives you the source branch (on Launchpad)
214
261
provided as parameters. When both are provided, ``--directory`` becomes
215
262
the base directory for the other paths. (Vincent Ladeuil, #670851)
217
* Correctly set the Content-Type header when http POSTing to comply
264
* Correctly set the Content-Type header when HTTP POSTing to comply
218
265
with stricter web frameworks. (Vincent Ladeuil, #665100)
220
267
* Don't force openssh to use protocol=2, since that is now the default.
221
268
(Neil Martinsen-Burrell, #561061)
223
* Fix ``KeyError: 'port'`` when getting the stored password for an http
270
* Fix ``KeyError: 'port'`` when getting the stored password for an HTTP URL.
225
271
(Martin Pool, #654684)
227
273
* Make ``bzr tag --quiet`` really quiet. (Neil Martinsen-Burrell, #239523)
615
661
* ``EPIPE`` can be raised during test server shutdown. This happened on
616
662
gentoo only so far. (Vincent Ladeuil, #627277)
618
* Errors occurring during http(s) test server starts should now be
664
* Errors occurring during HTTP(S) test server starts should now be
619
665
handled cleanly. (Vincent Ladeuil, #392402)
621
667
* Fix ``AttributeError on parent.children`` when adding a file under a