[cvsnt] commitinfo not passing arguments to the specified script.

mike.porter at bt.com mike.porter at bt.com
Thu Jul 31 16:39:54 BST 2003


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.


I am trying to prevent the commit of filenames with spaces into the
repository but do not seem to be able to pass any arguments to my script
from the commitinfo file.

Any help would be appreciated.

I have the follwing commitinfo entry and file 

commitinfo includes line : 
	ALL ${CVSROOT}\CVSROOT\commitCheck.pl

and script commitCheck.pl is :
   #!c:\usr\bin\perl
   for( $i = 1; $i < @ARGV; $i++ ) {
     	if ($ARGV[$i] =~ /\s/) {
	   print STDERR "Spaces in file $ARGV[$i]!!\n";
	   exit (1);
  	}
   }





Rgds
Mike P


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