Error in Wiki page on writing extensions?

Matt Mackall mpm at selenic.com
Wed May 26 23:40:25 UTC 2010


On Wed, 2010-05-26 at 09:50 -0500, David Dyer-Bennet wrote:
> At the bottom of the Wiki page on writing extensions
> <http://mercurial.selenic.com/wiki/WritingExtensions> I found the
> following paragraph:
> 
>     As of a change shortly after the 0.7 release, the recommended location
>     for installing extensions in the source tree is the hgext directory.
>     If you put a file in there called foo.py, you will need to refer to
>     it in the hgrc file as a qualified package name, hgext.foo.

I don't remember why we started doing that, but it doesn't appear to
have been needed for quite some time. Just use foo=. And feel free to
log in and fix the wiki.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list