| Search all past cvs diffs for all files in repository To find a specific string |
physics

msg:3289169 | 1:39 am on Mar 22, 2007 (gmt 0) | I want to find a specific string that I know existed in the past in one of my projects that is under CVS version control. However, I don't remember which file or which revision it existed in. Is there a way to do this. Just realized I could go into the cvs repository and do a which is a hack but works. Kind of a pain though, anyone know an easier way?
|
coopster

msg:3289893 | 4:30 pm on Mar 22, 2007 (gmt 0) | Are you asking if there is an easier way using your versioning software? Or an easier way to locate the filenames via grep?
grep -H -r "my string" "/path/to/cvs" The "H" switch will list the filenames, the "r" is recursive.
|
physics

msg:3290144 | 8:03 pm on Mar 22, 2007 (gmt 0) | coop, I meant a better way via CVS, but that is a better grep.
|
|
|