[cvsnt] Commitinfo: How to get name(s) of file(s) to commit?
John Kinson
cvs at yellowradio.com
Fri Aug 27 11:51:52 BST 2004
You need to specify the perl interpreter as the filter program, which
then invokes your script, in order for the script to receive stdin
properly. For example:
ALL perl %CVSROOT%/CVSROOT/script.pl
Whereas this won't work:
ALL %CVSROOT%/CVSROOT/script.pl
HTH
JK
Marlon van den Berg wrote:
> On Friday, August 27, 2004 10:52 AM, Johannes Kilian wrote:
>
>>>When using commitinfo, the files to be committed are passed trough
>
> standard
>
>>>input.
>>
>>Using CVSNT 2.0.52
>>
>>Didn't work ..
>
>
> It does work here, but I can't say if you did something wrong in your
> script, because I never have to use perl (we only use python).
> In my python script I use a line like 'file_list = sys.stdin.readlines()' to
> get all the file names. Don't know the perl equivalent. Sorry!
>
> Regards,
> Marlon
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
--
http://www.yellowradio.com/
If technology doesn't seem like magic,
it's probably obsolete.
More information about the cvsnt
mailing list