Re: Any ideas on how to create this CVS tool ?

Gary Funck <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
On 12/03/08 01:52:05, steviekm3 wrote:
> I would like to take a string of text that exists in a file, that is
> under cvs source control, and find out what file version did this
> string of text first appear in the file.  A command or script to do
> this is what I'm looking for.
> 
> For example below is a file called foo.cc,  as an example I would like
> to find out how to go about creating a script that would tell me what
> version of foo.cc the string "foobar" first appeared.

Although not exactly what you're looking for, perhaps you can
use this perl script that I posted a while back which binary searches
for the first date that particular string appeared:
http://lists.gnu.org/archive/html/info-cvs/2008-02/msg00039.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.