Comment 2 for bug 93319

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 93319] only warn on bzr version when invoked

On Mon, 2007-03-19 at 02:34 +0000, Jelmer Vernooij wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Robert Collins wrote:
> > Currently, whenever bzr and bzr-svn's versions are not identical, it
> > warns about a newer version being available. This is really annoying,
> > and because its not true that a newer version exists (0.3 of bzr-svn for
> > 0.15 exists, but there is no 'dev' version of the 0.3 code base as far
> > as I, a simple user, know), and the real bzr-svn trunk is incompatible
> > with 0.3), it is more than annoying - its something that cannot be
> > fixed.
> I've marked 0.16 as being compatible in the 0.3 branch (for now, at least).
>
> > I think it would be better to only warn when the svn plugin becomes
> > active.
> I'm not sure how much that would help as probe_on_transport gets run
> very often. Running 'bzr ls' in a directory that is part of a bzr tree
> will already try to probe for '.svn' subdirectories before hitting the
> .bzr directory in the parent directory.
>
> There may be using in doing that though, as well as lazily importing
> svn.* to speed up bzr start time.

Well if it doesn't *find* a svn tree, it should still not warn :). And
yes, having a stub __init__ with lazy imports is a good idea.

Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.