Mercurial Hooks are being ignored when using http

Michael Burton mburton at niskala.org
Sat Jun 28 17:55:11 CDT 2008


>> I have a hook in my main mercurial repository that's intended to
>> prevent users from checking in changes that contain leading tabs.
>> However, it appears that the hook is not being run when I push to the
>> repository using https.  Do I need to do something special to enable
>> hooks over http?  I'm using mercurial 1.0.1 on client and server, and
>> hgwebdir.cgi.
>
> Does the http server run under the same permission as the owner of the
> hgrc file? If not, the hooks are ignored.


Good idea, but yes, they both run as the same user.  Any other ideas?



More information about the Mercurial mailing list