Chip Turner wrote:
> Whenever I grep through my working copy for something, say, for a
> function name, I constantly have to do add a 'grep -v svn' to the
> pipeline. For instance:
>
> grep -r some_function_name /path/to/checkout
>
> will get numerous hits inside the .svn directory's old copy of the
> file.
>
> Likewise, if I run a find to hunt the name of a particular file, say
> SomeFile.pm, I have to do a grep (usually I do 'find | grep
> SomeFile.pm'; the name in the .svn dir is suffixed so a 'find -name'
> will work as expected).
>
> I recognize this occurs because svn keeps a copy of the file as last
> received from the server, which is good, but has anything been
> considered obfuscate/mangle/transform the contents of files and
> filenames further so as to reduce or eliminate this kind of annoyance?
There is a "wcgrep" script in svn's contrib/client-side.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 3 16:54:15 2004