s_t_e_v_e
s_t_e_v_e

Reputation: 2526

List all files associated with a tag on CVS command line

Is there a way on the CVS command line to list all files associated with a tag?

Upvotes: 5

Views: 5441

Answers (3)

Ken Gentle
Ken Gentle

Reputation: 13357

EDIT: corrected command below to include Module Name (see above)

cvs -q rlog -R -N -S -rTAGNAME MODULENAME

will work against the repository, NOT the local copy

Still about as close as you'll get with CVS.

The command Bill the Lizard posted will work with CVSNT.

Upvotes: 2

Tim Cavanaugh
Tim Cavanaugh

Reputation: 2648

About the closest you'll be able to get is with this:

cvs -q log -R -N -S -rTAGNAME

This works against local copy, it doesn't pull from the server.

EDIT:

As Ken mentioned, a slight variation will make it pull from the server, but in this situation you need to specify the module name too.

cvs -q rlog -R -N -S -rTAGNAME MODULENAME

Upvotes: 7

Bill the Lizard
Bill the Lizard

Reputation: 405745

I think it's

cvs ls -lR -r tag

but I'm on SVN now, so you'll have to test it.

Upvotes: 1

Related Questions