Commiting to hg repos with commit scripts using hgwebdir.cgi

Tim Groeneveld tim at timg.ws
Sun Mar 23 22:15:00 CDT 2008


On Monday 24 March 2008 2:02:08 pm David Champion wrote:
> If you change it to >/tmp/test 2>&1 does it change behavior?

No. Even if I add »
tim at timg:/tmp/commitTest$ cat /usr/bin/commit-hg
#!/bin/sh
echo ":)">>/tmp/TEST
exit 0;

tim at timg:/tmp/commitTest$ cat /var/www/hg/commitTest/.hg/hgrc | grep change
changegroup = /usr/bin/commit-hg 2>&1

The end result is still "...  does not appear to be an hg repository"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20080324/2f7af533/attachment.pgp 


More information about the Mercurial mailing list