Mercurial Hooks are being ignored when using http

Matt Mackall mpm at selenic.com
Sat Jun 28 17:25:00 CDT 2008


On Sat, 2008-06-28 at 13:19 -0700, Michael Burton wrote:
> Hi all,
> 
> 
> 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.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list