info-cvs
[Top][All Lists]
Advanced

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

Re: How can I view files with a specific tag in CVS? (follow-up)


From: Todd Denniston
Subject: Re: How can I view files with a specific tag in CVS? (follow-up)
Date: Wed, 11 Aug 2004 07:00:13 -0500

PL wrote:
> 
> address@hidden wrote:
> > address@hidden wrote:
> > > Anyone knows if there is a CVS command that can be used to
> > > see which files (and their version) that has been tagged with
> > > a specific tag?
> > cvs -nq up -r tag-you-are-interested-in
> 
> OK, that's fine, but I would like to see the version of each file too.
> The above command only shows file names...
> /Peter
The easy way to get a human readable text file:
get cvs2cl[1], cd to a checkout of your baseline
`cvs2cl.pl -r -t -l "-rtag-you-are-interested-in"`
less Changelog

cvs2cl can be used with other options, like --xml, to produce something easily
computer parse-able as well.

or you could deal with the output of:
cvs log -rtag-you-are-interested-in -S 2>&1 | \
grep -v "log: warning"| \
grep -e "^Working" -e tag-you-are-interested-in

[1] http://www.red-bean.com/cvs2cl/

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter




reply via email to

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