[cvsnt] Trigger to enforce certain code via regex, and Audit "diff" field

Gabriel Genellina gagsl-cvsnt at yahoo.com.ar
Mon Nov 3 19:07:49 GMT 2008


En Mon, 03 Nov 2008 16:47:53 -0200, Howard Ha <bluespire at gmail.com>  
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

-- 
Gabriel Genellina



More information about the cvsnt mailing list