35
35
once. This avoids some unnecessary IO, and removes a network roundtrip
36
36
when doing ``bzr branch`` to a smart server URL. (Andrew Bennetts)
38
* ``bzr modified`` now read-locks the working tree (and branch and
39
repository) just once. (Andrew Bennetts)
38
41
* ``bzr resolve`` now accepts ``--take-this`` and ``--take-other`` actions
39
42
for text conflicts. This *replace* the whole file with the content
40
43
designated by the action. This will *ignore* all differences that would
41
44
have been merge cleanly otherwise. (Vincent Ladeuil, #638451)
46
* ``bzr tags``'s "sort" argument now allows registering custom sort
47
methods using the ``bzrlib.tag.tag_sort_methods`` registry.
48
(Jelmer Vernooij, #701244)
50
* ``bt.test_http`` was breaking ``os.environ`` by erasing the values saved by
51
``TestCase`` leading to ``bt.test_import_tariff`` failures.
52
(Vincent Ladeuil, #690563)
54
* ``upgrade`` now upgrades dependent branches when a shared repository is
55
specified. It also supports new options: ``--dry-run`` for showing what
56
will happen and ``--clean`` to remove the backup directory on successful
57
completion. (Ian Clatworthy, Matthew Fuller, #89830, #374734, #422450)
46
62
.. Fixes for situations where bzr would previously crash or give incorrect
47
63
or undesirable results.
65
* Avoid leaking SSH subprocess communication socket into unrelated child
66
processes, which could cause bzr to hang on exit. (Max Bowsher, #696285)
68
* ``bzr update`` in a checkout of a readonly branch works again, without
69
trying to set the tags in the master branch. This had been broken by the
70
bug fix for bug #603395. (John Arbash Meinel, #701212)
72
* Stop using ``bzrlib.tuned_gzip.GzipFile``. It is incompatible with
73
python-2.7 and was only used for Knit format repositories, which haven't
74
been recommended since 2007. The file itself will be removed in the next
75
release. (John Arbash Meinel)
77
* The BZR_COLUMNS environment variable can be set to 0 to indicate no
78
limitation on the width of the terminal. (Neil Martinsen-Burrell, #675652)
80
* Unshelving changes that occur in a now-unversioned directory now restore
81
the directory properly rather than crashing.
82
(John Arbash Meinel, #389674)
84
* You are now able to commit directly to a stacked branch. Any needed
85
parent inventories will be filled in as part of the commit process.
86
(John Arbash Meinel, #375013)
52
91
.. Improved or updated documentation.
93
* Better document the rules to update the bzr freshmeat page when
94
doing a release. (Vincent Ladeuil, #690515)
78
124
suite. This can include new facilities for writing tests, fixes to
79
125
spurious test failures and changes to the way things should be tested.
127
* ``bzrlib.tests`` defines ``isolated_environ`` with the definitions of all
128
the environment variables the tests should care about. It also defines
129
``override_os_environ`` and ``restore_os_environ`` to properly implement
130
isolation from ``os.environ`` for tests. ``bzrlib.tests`` now defines a
131
``DocTestSuite`` class using this facility for all ``bzrlib``
132
doctests. (Vincent Ladeuil, #321320)
81
134
* Catch exceptions related to bug #637821 during test cleanup to avoid
82
135
spurious failures. (Vincent Ladeuil, #686008).
84
137
* Check sphinx compatibility for tests requiring older sphinx versions.
85
138
(Vincent Ladeuil, #688072)
140
* ``test_onto_transport`` in the Launchpad plugin can now run with Python
141
2.7. (Vincent Ladeuil, #654733)
143
* ``TestCase._captureVar`` and ``TestCase._old_env`` have been deleted due to
144
bug #690563. Test writers are encouraged to use ``TestCase.overrideEnv``
145
instead. (Vincent Ladeuil)
87
147
* ``TestDebuntuExpansions`` was escaping the test isolation by calling the
88
148
wrong base class ``setUp``. (Vincent Ladeuil, #684622)
190
250
to 0.9.5 which will allow tests that need the fixed unicode handling to be
191
251
written. (Martin [gz])
253
* Introduce an ``overrideEnv()`` helper for tests that needs to change the
254
environment variables while respecting the isolation rules. Get rid of
255
TestCase._restoreEnvironment which is now useless.
256
(Vincent Ladeuil, #690563)
193
258
* Printing selftest results to a non-UTF-8 console will now escape characters
194
259
that can't be encoded rather than aborting the test run with an exception.
195
260
(Martin [gz], #633216)
217
282
once. It can also be used to set or delete a configuration option in any
218
283
configuration file. (Vincent Ladeuil)
220
* New shortcut url schemes ``ubuntu:`` and ``debianlp:`` access source
285
* New shortcut URL schemes ``ubuntu:`` and ``debianlp:`` access source
221
286
branches on Launchpad. E.g. ``bzr branch ubuntu:foo`` gives you the source
222
287
branch for project ``foo`` in the current distroseries for Ubuntu while
223
288
``bzr branch debianlp:lenny/foo`` gives you the source branch (on Launchpad)
245
310
provided as parameters. When both are provided, ``--directory`` becomes
246
311
the base directory for the other paths. (Vincent Ladeuil, #670851)
248
* Correctly set the Content-Type header when http POSTing to comply
313
* Correctly set the Content-Type header when HTTP POSTing to comply
249
314
with stricter web frameworks. (Vincent Ladeuil, #665100)
251
316
* Don't force openssh to use protocol=2, since that is now the default.
252
317
(Neil Martinsen-Burrell, #561061)
254
* Fix ``KeyError: 'port'`` when getting the stored password for an http
319
* Fix ``KeyError: 'port'`` when getting the stored password for an HTTP URL.
256
320
(Martin Pool, #654684)
258
322
* Make ``bzr tag --quiet`` really quiet. (Neil Martinsen-Burrell, #239523)
646
710
* ``EPIPE`` can be raised during test server shutdown. This happened on
647
711
gentoo only so far. (Vincent Ladeuil, #627277)
649
* Errors occurring during http(s) test server starts should now be
713
* Errors occurring during HTTP(S) test server starts should now be
650
714
handled cleanly. (Vincent Ladeuil, #392402)
652
716
* Fix ``AttributeError on parent.children`` when adding a file under a