RFC: bzr --version should also announce installed plugins
Martin Pool
mbp at sourcefrog.net
Thu Mar 22 21:07:59 GMT 2007
On 3/23/07, John Arbash Meinel <john at arbash-meinel.com> wrote:
> Jari Aalto wrote:
> > Consider this Cygwin example:
> >
> > $ bzr --version
> >
That reminds me that it might be good to show the python version here
and in backtraces.
>
> We have 'bzr plugins' to list installed plugins. (We've already loaded
> them, so it isn't hard to generate the list).
>
> And it isn't quite as simple as just looking at bzrlib/plugins, because
> we search all of BZR_PLUGIN_PATH.
>
> My first instinct is to not put that info in 'bzr --version'. But it
> could be interesting to have plugins support a version request (def
> plugin_version()?)
I agree on both counts. I would show the plugin version in the
plugin list. It could also just be plugin_module.__version__
--
Martin
More information about the bazaar
mailing list