Possible Duplicate:
How do you remove Subversion control for a folder?
Is there such a tool?
I'm being bothered by this issue now again...
The find command returns a list of all the subfolders matching “. svn”, and this is then piped to the rm command to recursively delete the directory. Running rm using the full path will remove the confirmation prompt, and the “rf” arguments will recursively delete any folder contents.
You can remove all dot files in a folder using find and rm . It searches for all dot files in the given folder, passed the results to rm which deletes it.
To remove a file from a Subversion repository, change to the directory with its working copy and run the following command: svn delete file… Similarly, to remove a directory and all files that are in it, type: svn delete directory…
There is only one . svn folder, located in the base of the working copy. If you are using 1.7, then just deleting the . svn folder and its contents is an easy solution (regardless of using TortoiseSVN or command line tools).
find . -name .svn -exec rm -rf {} \;
Just noticed windows tag, so that probably won't help unless you use cygwin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With