[cvsnt] commitinfo not passing arguments to the specified scr ipt.

mike.porter at bt.com mike.porter at bt.com
Fri Aug 1 11:11:12 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'm trying to implement the pre-commit checking from commitinfo using the
STDIN to determine the list of filenames as suggested (thanks). Im still
having problems however. 

My commitinfo is calling the following perl script which undefs the eol CRLF
and then prints the STDIN. What I find is that the STDIN is empty (see
commit trace below below). Ive also tried 'while' looping around the STDIN
but again don't see anything on the STDIN.

It may be worth noting that I'm using winCvs as a client.

Thanks, Mike


#!c:\usr\bin\perl
undef $/;
$val = <STDIN>;
print "#################>>>" . $val . "<<<<################";
exit(0);


[TRACE]
cvs commit -f -m admin "Bad Name.env" "Bad Name2.env" (in directory
D:\CVS\REPOTEST\btnb\BuildTools\BuildFiles\)
#################>>><<<<################Checking in Bad Name.env;
/DepTestClarifyCRM/btnb/BuildTools/BuildFiles/Bad Name.env,v  <--  Bad
Name.env
new revision: 1.29; previous revision: 1.28
done
Checking in Bad Name2.env;
/DepTestClarifyCRM/btnb/BuildTools/BuildFiles/Bad Name2.env,v  <--  Bad
Name2.env
new revision: 1.7; previous revision: 1.6
done

***** CVS exited normally with code 0 *****














Michael Porter
Email : BT: mike.porter at bt.com
           Amdocs: michael.porter at amdocs.com
Phone : +44 (0) 20 7343 7121



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