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



Reply via email to