Mercurial Hooks are being ignored when using http

Michael Burton mburton at niskala.org
Thu Jul 3 13:06:17 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?
>


Just thought I'd check in and see if anyone has any other ideas about  
what might be causing this problem.  I'm stumped.

Mike


More information about the Mercurial mailing list