[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Retrieve last TAG name
From: |
Todd Denniston |
Subject: |
Re: Retrieve last TAG name |
Date: |
Thu, 04 Mar 2010 15:54:24 -0500 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090625) |
Rapthor wrote, On 03/03/2010 04:10 AM:
> 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.
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