[cvsnt] Re: Commitinfo trigger script data?

Tony Hoyle tmh at nodomain.org
Tue Aug 10 23:07:59 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


John Kinson wrote:

> I would like to be able to run some tests on files being committed, and 
> abort the commit if the tests fail.  Reading the documentation, the 
> commitinfo trigger point seems ideal, but I can't figure out how to 
> access the revisions being committed: the only information supplied to 
> the commitinfo script seems to be the names of the module and files 
> affected.

The script starts in the server temporary directory, which has CVS 
control directories for each committed directory.

loginfo is better for this kind of thing though as that's called for 
each directory.

Tony



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook