[Top][All Lists]

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

Re: is there a way to do perl scripts for CVS?

From: David Zaroski
Subject: Re: is there a way to do perl scripts for CVS?
Date: Tue, 28 Aug 2001 00:20:20 -0700 (MST)

On Mon, 27 Aug 2001, JM Murillo wrote:

JM>I need a script in perl to know the files with a specific tag, which is
JM>passed as argument to the script.
JM>Is there a way to do it?

Sure. Basically what you want to do is something like this '
some_tag', and have the script print out all files that are tagged
with 'some_tag' right? You can get at this information in different
ways, either using the cvs commands, 'status -v', 'log -h', or 'rlog
-h'. What you end up using will depend on the type of search you want
to do, either the entire module or sandbox (which could be sticky).

Then use perl's regexps to parse the output, and create your output.

If you really want to get lazy, you can by-pass the programming all
together, and still grab all the file names from a specific tag/branch, but
depending on the actual module's size, that could be a matter of over

JM>Is there a way to do perl scripts for CVS?


JM>Is there any web page about this?

Not that I know of (specific to CVS that is). But there are plenty of
web sites with Perl tutorials.


reply via email to

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