|
From: | Todd Denniston |
Subject: | Re: tag list help |
Date: | Fri, 13 Jul 2007 07:52:38 -0500 |
User-agent: | Thunderbird 1.5.0.12 (X11/20070509) |
address@hidden 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. address@hidden ~/linux/lxr/test $ cvs -d :pserver:address@hidden:/cvs/gcc history -T -a No records selected. address@hidden ~/linux/lxr/test $ cvs -d :pserver:address@hidden:/cvs/gcc history -T No records selected. Any help is greatly appreciated! Thanks!
export CVSROOT=:pserver:address@hidden:/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
[Prev in Thread] | Current Thread | [Next in Thread] |