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.
My idea is to remove the .svn folder and then move all other files to a new folder. It is as simple as that.
As a vital point, when you use the shell to delete .svn folders, you need the -depth argument to prevent the find command entering the directory that was just deleted and showing error messages like e.g.
As a result, you can use the
find
command like below:Use the
svn export
command:All files under version control will be exported. Double check to make sure you haven't missed anything.