[ILUG] Subversion not seeing working copy changes
kevin at ie.suberic.net
Fri Oct 23 16:09:27 IST 2009
On Thu, Oct 22, 2009 at 3:35 PM, Éibhear <eibhear.geo at gmail.com> wrote:
> Your problem is in your find command:
> find . -type f...
> will find *all* files, including all the files in the .svn directories.
D'oh! I've used Perforce too long. Good call.
I think this does what you want more reliably:
find . -path '*/.svn' -prune -o -print0 -type f | xargs -0 -n 1 sed -i
In addition your meta-data would now be incorrect so you'd be best to
check out a new tree. Note that the -print or -print0 is required on
the RHS of the -o expression. If no action is specified the default
one of -print will act on what matches either side and the .svn dirs
themselves match the LHS.
US Citizen overseas? We can vote.
Register now: http://www.votefromabroad.org/
More information about the ILUG