On 23 February 2010 11:13, Michael Hudson <email address hidden> wrote:
> Public bug reported:
>
> In the launchpad tests, we expect bzr-git and the other foreign branch
> plugins to not be loaded, but a few tests have to load them. It would
> be easier for us if we could unload bzr-git at the end of the test,
> rather than have to play tricks with layers.
bzr itself doesn't really have a concept of unloading a plugin,
because they can and sometimes do do arbitrary monkeypatching, and
that's not easy to reverse. We could add something, either
specifically for bzr-git or generally, but will your tests really be
reliable?
On 23 February 2010 11:13, Michael Hudson <email address hidden> wrote:
> Public bug reported:
>
> In the launchpad tests, we expect bzr-git and the other foreign branch
> plugins to not be loaded, but a few tests have to load them. It would
> be easier for us if we could unload bzr-git at the end of the test,
> rather than have to play tricks with layers.
bzr itself doesn't really have a concept of unloading a plugin,
because they can and sometimes do do arbitrary monkeypatching, and
that's not easy to reverse. We could add something, either
specifically for bzr-git or generally, but will your tests really be
reliable?
-- launchpad. net/~mbp/>
Martin <http://