[cvsnt] Re: Possible to read cvs version of client from the loginfo script?

Tony Hoyle tony.hoyle at march-hare.com
Sat Apr 1 11:01:26 BST 2006


Bo Berglund wrote:
> I just realized that it would be convenient to log the version of cvs
> the client is using when he executes a commit operation on a CVSNT
> repository.
> Is there any way CVSNT can know this currently (is it part of the
> client/server exchange)?
> If it is could it be made available as a CVSNT "environment variable"
> like $CLIENTVERSION or similar?
> 
It's there in the audit log for cvsnt clients... older clients didn't 
send this information (I've thought of doing fingerprinting to work out 
the client versions but never actually gone very far with it).

This information is passed to the trigger libraries and available as %i 
in the script parser.

Tony



More information about the cvsnt mailing list