info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: determining versions on checkin


From: david
Subject: Re: determining versions on checkin
Date: Wed, 1 May 2002 13:41:53 -0500 (CDT)

> I have a post proccessing script called from loginfo
> that records audit information, including the version and
> branch just checked in.
> It parses the CVS/Entries file in the checked out sandbox
> to get the version.
> 
> The problem I'm having is that I'd like to use remote cvs, and
> so accessing the CVS/Entries file is no longer feasible.
> I'm looking for suggestions about other ways to capture
> the version of a file just checked in.
> 
You should be able to pass that into a loginfo script as an
argument by specifying %v.  It won't tell you what the branch
is, but you should be able to figure that out from the revision
number.

David H. Thornley                        | If you want my opinion, ask.
address@hidden                       | If you don't, flee.
http://www.thornley.net/~thornley/david/ | O-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]