title: How do I search all revisions of a file in a SubVersion repository?
body: <p>I'd like to <code>grep</code> all revisions of a file for a string.  e.g. to find when a function was added or removed.</p>
  
  <p>Is there a "simple" way to do this? (i.e. a single <code>bash</code> command line would be nice.)  Doing a manual binary search by checking out revisions and testing individually seems too tedious and error prone.</p>
  
  <p>If I was smart enough to commit the change with a useful description then I can <code>grep</code> the log with something like:</p>
  
  <pre><code>svn log myfile.c | grep my_func
  </code></pre>
  
  <p>This doesn't provide a revision number though, so I suspect there's a better way to do that too.</p>