info-cvs
[Top][All Lists]
Advanced

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

Re: Command to show file versions that contain a given string


From: Todd Denniston
Subject: Re: Command to show file versions that contain a given string
Date: Tue, 11 Jul 2006 12:59:30 -0500
User-agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501)

Norman Crisp wrote:
Not sure if such a CVS command exists, but I would like to be able to search
though a CVS file looking for a particular string, even if this string has
been removed at some point in it's history.


To get that you I think you pretty much have to
grep "a particular string" /path/to/repository/a_file,v
to make sure you find the string even if it has been removed in history.
Then drop back to looking at
cvs diff -rcurver -roldver a_file to see when it happened.
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

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