How do I detach a local SVN working copy?
Posted
by Simon A. Eugster
on Stack Overflow
See other posts from Stack Overflow
or by Simon A. Eugster
Published on 2010-04-10T12:00:38Z
Indexed on
2010/04/10
12:03 UTC
Read the original article
Hit count: 584
svn
|subversion
I cannot just rm -rf $(find . -name '.svn')
, because I've got some directories in my working copy which are unversioned (on svn:ignore) and at the same time working copies of other svn repositories.
my-repo
|+ directory
||- .svn (to delete)
||- files...
|+ another_directory
||- .svn (to delete)
||- files...
|+ directory_ignored (svn:ignore)
||- .svn (different working copy)
||- more files ...
So I'd like to just tell subversion to remove all .svn directories belonging to this working copy only.
Is this possible?
The directory structure is quite complex, so doing it manually would really suck.
© Stack Overflow or respective owner