> is there a way to retrieve the name of the latest CVS-Tag in the
> repository?
No. Tags are kept per file. A tag used on one file may or may not be
related to some other file in the repository.
> Let's say I tagged a directory including all files with a version
> VERSION_1_0_2_3. How do I retrieve this name via CVS command?
You will see tags listed when you do a 'cvs log' or 'cvs rlog' command.
To get the most recent, you would need to look at the date of the
revision for each tag perfile and sort by that date to find the most
recently committed delta with an associated tag name.
-- Mark
Thanks,
--- On Wed, 3/3/10, Rapthor <rap...@lycos.de> wrote:
From: Rapthor <rap...@lycos.de>
Subject: Retrieve last TAG name
To: Info...@nongnu.org
Date: Wednesday, 3 March, 2010, 2:40 PM
Hello all,
is there a way to retrieve the name of the latest CVS-Tag in the repository?
Let's say I tagged a directory including all files with a version
VERSION_1_0_2_3. How do I retrieve this name via CVS command?
Thanks,
Rapthor.
--
View this message in context: http://old.nabble.com/Retrieve-last-TAG-name-tp27765815p27765815.html
Sent from the Gnu - Cvs - Info mailing list archive at Nabble.com.
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
On Mar 4, 2010, at 8:24 AM, Mark D. Baushke wrote:
> Rapthor <rap...@lycos.de> writes:
>
>> is there a way to retrieve the name of the latest CVS-Tag in the
>> repository?
>
> No. Tags are kept per file. A tag used on one file may or may not be
> related to some other file in the repository.
>
>> Let's say I tagged a directory including all files with a version
>> VERSION_1_0_2_3. How do I retrieve this name via CVS command?
>
Of course my first instinct is to reach for cvs2cl[1]
cd /to/directory/of/interest
cvs2cl -r -T -t --stdout |grep "[0-9] tag " |head
or just run it on a whole baseline checkout.
[1] http://www.red-bean.com/cvs2cl/
or the python version of it cvs2cl.py that is included in CVSNT (Which IIRC is included in WinCVS)
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter