Commiting to hg repos with commit scripts using hgwebdir.cgi

Alexis S. L. Carvalho alexis at cecm.usp.br
Mon Mar 24 15:47:40 CDT 2008


Thus spake Tim Groeneveld:
> On Tuesday 25 March 2008 3:22:23 am Matt Mackall wrote:
> > Can you confirm that disabling the hook removes the problem?
> 
> Yes I can. It is *ONLY* if I have the hook on.
> 
> > The other thing that could be happening here is that you're getting a CGI
> > traceback. Turning off the cgitb bits in the .cgi file might be helpful
> > - then you'll hopefully get the traceback in your server logs instead.
> 
> OK, I did that and this is what I got [See attached file]

What version are you running on the server?  That looks like a bug
present in 0.9.4 which was fixed before 0.9.5 .

If it is what I'm thinking, you can work around it by setting the HG
environment variable to "hg" in the CGI script.

Alexis


More information about the Mercurial mailing list