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


Reply via email to