[Top][All Lists]

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

Re: From which file's revision the string dissapeared?

From: Dennis Jones
Subject: Re: From which file's revision the string dissapeared?
Date: Fri, 26 Jan 2007 21:27:36 GMT

"Garyl Erickson" <address@hidden> wrote in message 
> cvs annotate will show you the last version in which a line currently in 
> the file was changed, but if the line you're interested in is gone, that 
> probably won't help, unless there were other nearby changes you could 
> recognize as having happened at the same time.
> You can compare any revision to a previous one using cvs 
> diff -r<rev1> -r<rev2> <filename>.
> If you have no idea which version the change took place in, you could 
> narrow it down by checking out or diffing revisions using a binary tree 
> search. For example, if you've got 100 revs, check out the midpoint -- 
> rev 50 (or diff rev 1 to rev 50). If it's not there, you know it happened 
> between rev 1 and 49, so check out the midpoint again -- rev 25. If it's 
> there, check out rev 37 or 38, etc. You'll find it in 6 or 7 checkouts.
> Garyl

Garyl Erickson of Beaverton (VBC)?

- Dennis 

reply via email to

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