precommit hook that changes commit list?

Nicholas Tung ntung at ntung.com
Sat Sep 6 03:32:56 CDT 2008


Hello,

    I have a precommit hook script that will compile a LaTeX file before
committing. I know some people feel storing generated files is messy, but
with the web server, it's just too convenient. Is there a way to make
Mercurial rescan the commit list to see that this generated file has changed
before it commits? Or is there some script that would run whenever detecting
changed files?

thanks,
Nicholas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080906/dc505878/attachment.htm 


More information about the Mercurial mailing list