tags:

views:

279

answers:

4

Is there a command that would be useful?

+10  A: 

Just do an export from the subversion repository.

anon
+10  A: 
find . -name .svn  -type d -print0 |xargs -0 rm -rf
Paul Tomblin
Add -type d just to be sure you don't remove files named .svn?
Jonathan Leffler
Ok, fair enough, I've added the -type d.
Paul Tomblin
+4  A: 

For systems that support it:

find . -name .svn -delete

or, if they don't support the -delete switch:

find . -name .svn -exec rm -rf {} \;
Jimmy Stenke
+3  A: 

In the root of the working copy folder, do

svn export --force .
Wim Coenen