Commiting to hg repos with commit scripts using hgwebdir.cgi
keramida at ceid.upatras.gr
Sun Mar 23 10:59:32 CDT 2008
On Sun, 23 Mar 2008 23:52:45 +1100, Tim Groeneveld <tim at timg.ws> wrote:
> Hello everybody!
> I am trying to get commit scripts working with hgwebdir.cgi, but so
> far have had very little luck so far. This is what I have done so far:
> tim at timg:/tmp$ cat /var/www/hg/commitTest/.hg/hgrc
> changegroup = echo `date` &> /tmp/test
Commit hooks which print stuff on stdout will mess the `wire protocol'
of Mercurial itself, IIRC.
Try adding commit scripts which log to a file first. There is an open
issue for this: http://www.selenic.com/mercurial/bts/issue706
More information about the Mercurial