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

Bo Berglund bo.berglund at telia.com
Sat Apr 1 11:38:51 BST 2006

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.

On Sat, 01 Apr 2006 11:01:26 +0100, Tony Hoyle
<tony.hoyle at march-hare.com> wrote:

>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.

Nice, now I just have to figure out a way to embed it into CVSMailer
without breaking existing setups...
Sample output from %i in precommand:
CVSNT 2.5.01 (Travis) Build 2025 (cvsgui active)

(Bo Berglund, developer in Sweden)

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