GNU Info

Info Node: (cvsbook.info)How can I get a list of all tags in a project?

(cvsbook.info)How can I get a list of all tags in a project?


Next: How can I get a list of all projects in a repository? Prev: I need to move files around without losing revision history Up: Some Real Life Problems (With Solutions)
Enter node , (file) or (file)node

How can I get a list of all tags in a project?
----------------------------------------------

Currently, there is no convenient way to do this in CVS.  The lack is
sorely felt by all users, and I believe work is under way to make this
feature available.  By the time you read this, a `cvs tags' command or
something similar may be available.

Until then, there are workarounds.  You can run cvs log -h and read the
sections of the output following the header `symbolic names:'.  Or, if
you happen to be on the repository machine, you can just look at the
beginnings of some of the RCS files directly in the repository.  All of
the tags (branches and nonbranches) are listed in the `symbols' field:

     floss$ head /usr/local/newrepos/hello.c,v
     head	2.0;
     access;
     symbols
     	Release_1_0:1.22
     	Exotic_Greetings-2:1.21
     	merged-Exotic_Greetings-1:1.21
     	Exotic_Greetings-1:1.21
     	merged-Exotic_Greetings:1.21
     	Exotic_Greetings-branch:1.21.0.2
     	Root-of-Exotic_Greetings:1.21
     	start:1.1.1.1
     	jrandom:1.1.1;
     locks; strict;
     comment	@ * @;


automatically generated by info2www version 1.2.2.9