[EMAIL PROTECTED] wrote:
hi, guys
I want to list all the tags ,how to do that?
For example I want to list  all the gcc cvs tags. After known  this ,
I could select a special tag to check out. Read the cvs manual, I
found it that cvs history seems to be useful.But when I try ,has
nothing to out put.

[EMAIL PROTECTED] ~/linux/lxr/test $  cvs -d :pserver:[EMAIL PROTECTED]:/cvs/gcc
history -T -a
No records selected.
[EMAIL PROTECTED] ~/linux/lxr/test $  cvs -d :pserver:[EMAIL PROTECTED]:/cvs/gcc
history -T
No records selected.

Any help is greatly appreciated! Thanks!


export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvs/gcc
cvs -d $CVSROOT log

will give you all of the tags on each file.

cvs2cl -t
will give you all of the tags in the repository in one file.
cvs2cl -t --xml ;  grep "<tag>" ChangeLog |sort |uniq
will list them all

http://www.red-bean.com/cvs2cl/
the 2.6 release seems to have something to deal with "subprocesses on Windows correctly", so you may not need to use cvs2cl.py with CVSNT if you happen to be on windows.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter


Reply via email to