info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tags question


From: Colm Murphy
Subject: Re: Tags question
Date: Tue, 04 Dec 2001 10:27:59 +0000
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-GB; rv:0.9.4) Gecko/20011019 Netscape6/6.2

Hi Mark,

I posted a similar question a while back and was sent the following script by one Robert Bresner. It works a treat.

show_tags.pl:

        #!/usr/bin/perl -w

        my $Flag = 0;
        while( <> )
        {
          $Flag = 1 and next if( /symbolic names:/ );
          if( $Flag )
          {
             if( ! /^\s+(\S+):/ )
             {
                $Flag = 0;
                next;
             }
             $Tag{$1} = 1;
          }
        }
        map{ print "$_\n"; } (sort keys %Tag);

Then:
cvs rlog <module> | perl show_tags.pl

Note that cvs rlog will only work with cvs 1.11.1.p1.


Mark Lancisi wrote:

Is there a cvs command or utility that you can run on a given project/module that will give you a list of all the tags present therein?

thanks in advance!

markl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]