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

Re: SVN: Checksum mismatch problem

From: David M. Jones <dmj_at_ams.org>
Date: 2006-05-23 15:36:30 CEST

> Date: Sun, 21 May 2006 20:50:02 -0600
> From: bob@proulx.com (Bob Proulx)

> Example:
> find . -name foo -print0 | xargs -r0 sed --in-place 's/foo/bar/g'
> But now I find that I need to be aware that in the .svn directory is a
> pristine copy of the same file. The above won't match because the
> pristine copy always has .svn-base appended to the end. But the
> following would match and would edit both the working copy and the
> pristine copy in the .svn directory.
> find . -name 'foo*' -print0 | xargs -r0 sed --in-place 's/foo/bar/g'

How about

    find . -name .svn -prune -o -name 'foo*' -print

That should ignore all .svn directories and their contents.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 23 15:40:28 2006

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.