Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List all files associated with a tag on CVS command line

Tags:

cvs

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

like image 493
s_t_e_v_e Avatar asked Nov 07 '08 15:11

s_t_e_v_e


People also ask

How can I see my CVS tag?

To retrieve a tagged file or set of files, use the -r tagname option to cvs checkout or cvs update .

What is CVS command?

The cvs update command is used to merge changes that have been made to a repository into files that have been checked out. Note that it is reverse operation from the one we normally do on VMS, we only ever merge changes made from a checkout into the CMS repository.

How to create a branch in cvs?

Making a Branch You can make a branch with the -b option to the cvs tag or cvs rtag commands. This option can be combined with any of the other tag-creation options of those commands. You can use a date, existing tag, or revision number to specify the revision to be branched from.


1 Answers

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

like image 116
Tim Cavanaugh Avatar answered Nov 29 '22 08:11

Tim Cavanaugh