14
14
Compatibility Breaks
15
15
********************
17
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
18
and path "bar/baz", even if bzr does not recognize "foo" as a known URL
19
scheme. Previously these URLs would be treated as local paths.
25
* Support ``--directory`` option for a number of additional commands:
26
conflicts, merge-directive, missing, resolve, shelve, switch,
27
unshelve, whoami. (Martin von Gagern, #527878)
32
* ``bzr init`` does not recursively scan directory contents anymore
33
leading to faster init for directories with existing content.
34
(Martin [gz], Parth Malwankar, #501307)
36
* ``bzr log --exclude-common-ancestry`` is now taken into account for
37
linear ancetries. (Vincent Ladeuil, #575631)
39
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
40
or pull location in locations.conf or branch.conf.
41
(Gordon Tyler, #534787)
43
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
44
proper error messages. (Vincent Ladeuil, #591215)
46
* Explicitly removing ``--profile-imports`` option from parsed command-line
47
arguments on Windows, because bzr script does the same.
48
(Alexander Belchenko, #588277)
50
* Fetching was slightly confused about the best code to use and was
51
using a new code path for all branches, resulting in more lookups than
52
necessary on old branches. (Robert Collins, #593515)
23
54
* Final fix for 'no help for command' issue. We now show a clean message
24
55
when a command has no help, document how to set help more clearly, and
25
56
test that all commands available to the test suite have help.
26
57
(Robert Collins, #177500)
59
* Raise ValueError instead of a string exception.
60
(John Arbash Meinel, #586926)
62
* Relative imports in plugins are now handled correctly when using
63
BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
65
* ``ScriptRunner`` now strips off leading indentation from test scripts,
66
which previously caused "SyntaxError: No command for line".
72
* Bazaar now reads data from SSH connections more efficiently on platforms
73
that provide the ``socketpair`` function, and when using paramiko.
74
(Andrew Bennetts, #590637)
76
* ``Branch.copy_content_into`` is now a convenience method dispatching to
77
a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
78
plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
79
(Robert Collins, #201613)
81
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
82
do not cause modules to be loaded unnecessarily just because the plugin
83
registers a merge hook. This improves ``bzr rocks`` time by about 25%
84
in a default installation (with just the core plugins).
90
* Added ``regression`` tag to our tags list. (Robert Collins)
34
92
* Improved our release checklist to have a bit less churn and leave things
35
93
ready-to-go for the next action (including other people doing
36
94
development). (Robert Collins)
99
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
100
an iterable of format pairs, rather than just a single pair, permitting
101
InterBranch objects that work with multiple permutations to be
102
comprehensively tested. (Robert Collins)
104
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
105
2007, has been deleted. Use ``PatienceSequenceMatcher`` from
106
``bzrlib.patiencediff`` instead. (Andrew Bennetts)
108
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
109
that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
110
Third-party implementations of ``SSHVendor`` may need to be updated
111
accordingly. Similarly, any code using ``SSHConnection`` directly will
112
need to be updated. (Andrew Bennetts)
114
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
115
changed to take an ``SSHParams`` instance (replacing many individual
116
values). (Andrew Bennetts)
121
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
445
524
Command is now transient and only exists for the duration of ``run()``.
532
This is the first beta of the 2.2 series, leading up to a 2.2.0
533
release in July or August. Beta releases are suitable for everyday use
534
but may cause some incompatibilities with plugins. Some plugins may need
535
small updates to work with 2.2b1.
537
2.2b1 includes some changes to make merge conflicts easier to understand
538
and resolve. It also removes some old unnecessary code, and loads
539
somewhat less code at startup. It starts adding a common infrastructure
540
for dealing with colocated named branches, which can be implemented in
541
various ways in either bzr native or foreign formats. On Ubuntu and
542
other platforms with the apport bug-reporting library, there's an easier
543
path to report problems with bzr. We plan to continue with these themes
544
through the 2.2 series.
546
Over thirty bugs have been fixed, including in the log command, exporting
547
to tarballs, restarting interrupted system calls, portability of compiled
548
extensions, making backups during upgrade, and locking on ftp.
453
550
Compatibility Breaks
454
551
********************
3944
4077
can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3946
4079
* selftest now supports a --parallel option, with values of 'fork' or
3947
'subprocess' to run the test suite in parallel. Currently only linux
3948
machine work, other platforms need patches submitted. (Robert Collins,
4080
'subprocess' to run the test suite in parallel. Currently only Linux
4081
machines work, other platforms need patches submitted. (Robert Collins,
3949
4082
Vincent Ladeuil)
3951
4084
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of