I have a folder, c:\websites\test
, and it contains folders and files that were checked out from a repository that no longer exists. How do I get Subversion to stop tracking that folder and any of the subfolders and files?
I know I could simply delete the .svn
folder, but there are a lot of sub-folders in many layers.
Try svn export.
You should be able to do something like this:
And then just delete the old working copy.
TortoiseSVN also has an export feature, which behaves the same way.
The answer is surprisingly simple - export the folder to itself! TortoiseSVN detects this special case and asks if you want to make the working copy unversioned. If you answer yes the control directories will be removed and you will have a plain, unversioned directory tree.
Another (simpler) Linux solution:
NetBeans IDE users can do it as below:
Select the project
In the dialog box
You can now switch to Git :)
On Windows 7 one can just open the project folder and do a search for ".svn" if hidden files are enabled and delete all found .svn folders.
On Linux, this will work: