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?
On Sun, 2010-02-28 at 20:13 +0000, Robert Collins wrote: esent rather than ImportError,
> 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 DependencyNotPr
which is part of bzrlib.errors. Could bzr perhaps catch this error as
well?
Cheers,
Jelmer