[Top][All Lists]

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

Any ideas on how to create this CVS tool ?

From: steviekm3
Subject: Any ideas on how to create this CVS tool ?
Date: Wed, 3 Dec 2008 01:52:05 -0800 (PST)
User-agent: G2/1.0

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,  as an example I would like
to find out how to go about creating a script that would tell me what
version of the string "foobar" first appeared.

#include <iostream>
#include <vector>

int foobar()

I don't use branches in CVS and this might help make the script
simpler.   Any ideas much appreciated.  Not asking for a script unless
someone has one, just ideas about how to go about creating the
script.  What cvs commands would be needed or helpful.

reply via email to

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