Comment 1 for bug 529648

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 529648] [NEW] bzr-git tests abort test run if dulwich mismatch

On Sun, 2010-02-28 at 20:13 +0000, Robert Collins wrote:
> Public bug reported:
>
> affects bzr-git
> done
>
> When I run
> 'bzr selftest plugin_info'
>
> bzr-git throws an exception and stops the test run.
>
> This is naughty: it should do one of:
> - fail to import (raise ImportError). This will be logged but the test
> run will continue
It does this but raises DependencyNotPresent rather than ImportError,
which is part of bzrlib.errors. Could bzr perhaps catch this error as
well?

Cheers,

Jelmer