I\'d like to grep all revisions of a file for a string. e.g. to find when a function was added or removed.
grep
Is there a \"simple\" way to do this? (i.e.
This is a command to search for revisions of a file containing a string:
svn log -l 30 -q FILENAME | grep ^r | cut -d ' ' -f 1 | while read rev; do svn cat -$rev FILENAME | grep -c PATTERN && svn info FILENAME@$rev done