Thread: Re: Is it possible to limit client versions even more?
Re: Is it possible to limit client
versions even more?
2007-01-24 08:38:06
cvsnt-bouncescvsnt.org wrote on 01/24/2007 09:16:36 AM:
> In the various *info scripts in the CVSROOT directory (i.e. taginfo,
> commitinfo, etc) you can pass the client version number to a separate
> script (i.e. perl, vbscript) and check it. If you return a non-zero exit
> code, it will fail the cvs action.
oh yeah, I think the client version is %i in these scripts, so you'd add a
line like:
ALL clientVersionChecker.pl %i
to the appropriate *info file. Not sure if %i is available in all of
these, or just certain ones. Tony or Arthur would have to comment on that,
probably.
Brian
_______________________________________________
cvsnt mailing list
cvsntcvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt