Thanks for the prompt reply. By going through that documentation I was able to get a script to be triggered, but I'm not sure how to get the text being committed to be passed to the script. I've looked at the documentation below for hints on parameters that can be passed to scripts but none of them mention the text of the file being committed.
http://www.cvsnt.org/manual/html/commit-files.html#syntax Thanks, Howard Gabriel Genellina wrote: > En Mon, 03 Nov 2008 16:47:53 -0200, Howard Ha <[EMAIL PROTECTED]> > escribió: > > >> 2) Is there any way to create a commit trigger of some sort, that will >> allow us to run a regex, or script to do some validation of code, before >> allowing a commit? We'd like to prevent developers from committing code >> that contains certain debug code. >> > > Use the commitinfo file to configure a script to be run prior to any > commit; see > http://www.cvsnt.org/manual/html/commitinfo.html > > _______________________________________________ cvsnt mailing list [email protected] http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/
