[MERGE] bzr help locationspec
Martin Pool
mbp at canonical.com
Wed Jan 17 03:22:35 GMT 2007
On 16 Jan 2007, Goffredo Baroncelli <kreijack at tiscalinet.it> wrote:
> On Tuesday 16 January 2007 04:44, Alexander Belchenko wrote:
> [...]
> >
> > How we could collect URL schemes from plugins?
> > May be something similar to bzr commands?
>
> See a my previous post
>
> https://lists.ubuntu.com/archives/bazaar/2006q4/019441.html
Yes that looks good. At the moment that fails on my machine because it
can't load pycurl:
mbp at hope% ./bzr -Derror help protocols
bzr: ERROR: bzrlib.errors.DependencyNotPresent: Unable to import library "pycurl": No module named pycurl
Traceback (most recent call last):
File "/home/mbp/bzr/Work/help/bzrlib/commands.py", line 650, in run_bzr_catch_errors
return run_bzr(argv)
File "/home/mbp/bzr/Work/help/bzrlib/commands.py", line 612, in run_bzr
ret = run(*run_argv)
File "/home/mbp/bzr/Work/help/bzrlib/commands.py", line 304, in run_argv_aliases
return self.run(**all_cmd_args)
File "/home/mbp/bzr/Work/help/bzrlib/commands.py", line 622, in ignore_pipe
result = func(*args, **kwargs)
File "/home/mbp/bzr/Work/help/bzrlib/builtins.py", line 2538, in run
bzrlib.help.help(topic)
File "/home/mbp/bzr/Work/help/bzrlib/help.py", line 42, in help
txt = help_topics.topic_registry.get_detail(topic)
File "/home/mbp/bzr/Work/help/bzrlib/help_topics.py", line 56, in get_detail
return obj(topic)
File "/home/mbp/bzr/Work/help/bzrlib/help_topics.py", line 116, in _help_on_transports
mod = __import__(f.module, globals(), locals(), [f.classname])
File "/home/mbp/bzr/Work/help/bzrlib/transport/http/_pycurl.py", line 50, in <module>
raise DependencyNotPresent('pycurl', e)
DependencyNotPresent: Unable to import library "pycurl": No module named pycurl
bzr 0.15.0dev0 on python 2.5.0.final.0 (linux2)
arguments: ['./bzr', '-Derror', 'help', 'protocols']
** please send this report to bazaar-ng at lists.ubuntu.com
zsh: exit 3 ./bzr -Derror help protocols
We could specially handle that when presenting the help, but it might be
better to turn it into a Registry and take care of DependencyNotPresent
there.
--
Martin
More information about the bazaar
mailing list