Traceback if a command doesn't have a docstring

Martin Pool mbp at sourcefrog.net
Thu Dec 20 03:18:07 GMT 2007


> >     raise NotImplementedError("sorry, no detailed help yet for %r" % self.name())
> > NotImplementedError: sorry, no detailed help yet for 'bench-patience'
>
> Yes this is deliberate; I don't know why though.

I suspect it comes from a time when that message was presented without
a traceback.  NotImpE probably should give a traceback, and this code
should not use it.

Also it might be good for selftest to check all (non-hidden?) commands
have help.

-- 
Martin



More information about the bazaar mailing list