Calling Python Functions from Non-hooks
Matt Mackall
mpm at selenic.com
Thu Feb 5 20:26:27 UTC 2009
[cc:ing back to list]
On Thu, 2009-02-05 at 11:42 -0800, Micah Ransdell wrote:
> I have narrowed it down to hgwebdir_mod.py. It seems that when
> checking for permissions in read_allowed that the call to
> ui.configlist isn't actually loading my extension and properly
> wrapping the call to ui.config. Any advice on how to get my extension
> to be loaded by hgwebdir_mod?
Probably by setting up the extension in ~/.hgrc or /etc/mercurial/...
Loading extensions is too expensive to do per-repo in hgweb's index.
--
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial
mailing list