[cvsnt] Re: How to use taginfo file? [ Vírusmentes]

Bo Berglund bo.berglund at telia.com
Fri Feb 25 22:36:46 GMT 2005


On Fri, 25 Feb 2005 11:09:03 +0100, Zoltan.Szathmary at generali.hu
wrote:

>Can anyone help me, how to log all tagging operation to a file? (In win32
>environment.)
>
>I wrote a line to Taginfo file:
>
>ALL e:\cvsrepo$CVSROOT/CVSROOT/logit.bat $CVSROOT $USER
>
>I wrote a logit.bat (in e:\cvsrepo$CVSROOT/CVSROOT subdir):
>
>echo %4,%3,%5,%6,%2, >>e:\cvsrepo%1/CVSROOT/taglog.txt
>
>Almost everything is good, except: I can't log filename and revision.
>
>I read e little help in taginfo file:
># $1 -- tagname
># $2 -- operation "add" for tag, "mov" for tag -F, and "del" for tag -d
># $3 -- repository
># $4->  file revision [file revision ...]
>

This is not how it works in CVSNT since several years. Due to the fact
that Windows chokes totally when the command line for any process
reaches about 4-5 kbytes it was not possible to supply the file names
that way.
So it has been moved to STDIN instead. Just let your script grab and
parse the STDIN and you will be fine.


/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list