[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Prevent checkout of double files in .svn directory?

From: Patrick Smears <patrick.smears_at_ensoft.co.uk>
Date: 2004-08-26 10:12:46 CEST

On Thu, 26 Aug 2004, Markus Fischer wrote:

> the concept having the prestine copy always there is nice, but is quite
> some overhead. Actually I don't mean the disk-space itself, but when
> e.g. having a large tree of mixed data and you want to search for
> something in all files, basically it takes twice the time :-/
> Is there a way to disable this behaviour?

I don't think there is, but you can use 'find' / 'xargs' to search in
non-svn files:

  find . -path '*/.svn' -prune -o -print | xargs grep foo

or better still:

  find . -path '*/.svn' -prune -o -print0 | xargs -0 grep foo

which copes better with filenames containing spaces/other nasty


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 26 10:13:29 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.