shelf_ui import bzrtools even when --no-plugins is required
Bug #296620 reported by
Vincent Ladeuil
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Vincent Ladeuil | ||
BzrTools |
Triaged
|
Undecided
|
Unassigned |
Bug Description
...and also make the test suite fails.
Try the following for ~fun :
bzr selftest --no-plugins bzrtools --list
Which by definition should list 0 tests...
It's due to shelf_ui importing bzrlib.
I think it's a bad idea to have bzr depends on an external plugin (whatever the reason).
So far, plugins can well... plug into bzr when they want to offer additional features.
bzr can import additional libraries for its own needs, but none will plug into bzr back.
I'll try to propose a patch to both bzr core and bzrtools asap,
In the mean time commenting offending import line is an effective work-around
Related branches
Changed in bzr: | |
status: | In Progress → Fix Released |
Changed in bzrtools: | |
assignee: | vila → nobody |
Changed in bzrtools: | |
status: | In Progress → Triaged |
To post a comment you must log in.
Bug 296125 relates to one place this is used.