rdiff extension kills diff

Matt Mackall mpm at selenic.com
Fri Nov 14 02:27:19 CST 2008


On Thu, 2008-11-13 at 23:13 -0800, Brendan Cully wrote:
> On Wednesday, 12 November 2008 at 07:35, Neal Becker wrote:
> > If rdiff is enabled, hg help doesn't even show the existence of the 'diff' command. 
> 
> That happens to any command that's wrapped in a module, even when
> using the new extensions.wrapcommand function. It's due to this part
> of the help command (commands.py:1343-1346):
> 
>             if (not select and name != 'shortlist' and
>                 e[0].__module__ != __name__):
>                 continue

I suppose we can have extensions.wrapcommand copy __module__ in addition
to __doc__?

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list