How do I remove a folder from being source controlled with TortoiseSVN?
How do I remove a folder from being source controlled with TortoiseSVN?
The easiest way is described here: http://tortoisesvn.net/unversion.html
That article is a bit wordy and some of the methods didn't work for me (like dragging the folder onto itself - Windows 7 wouldn't allow it)).
Here's what, in the article worked for me:
Simple: when you right-click on a working copy and choose "Export..." from the context menu, a folder browse dialog is shown where you can choose the folder where you want the working copy exported to. If you now select the very same path that your working copy is on as the target (i.e., you're exporting the working copy onto itself), TortoiseSVN will remove all .svn folders of that working copy.
If you want to remove the folder from source control but keep it locally, the easiest way would be to
You should also delete the .svn directory that's kicking around in the folder that you're removing or you'll end up confusing svn/tortoise. You can also do an "Export" for step 1 which will remove any .svn directories for you (if you're doing this for a whole directory tree rather than a single directory, this is a lot more convenient than cleaning the folders out by hand).
The TortoiseSVN menu has an Export option which will give you a copy of the folder detached from the repository. Alternatively, you can right-click + drag a folder and pick either "SVN Export to here" or "SVN Export all to here".
"Export all" is equivalent to selecting "Export unversioned files too" in the Export dialog, which will effectively clone the working copy without the .svn folders.
You right click on the directory, go to TortoiseSVN -> Delete. You then right click on the parent directory and SVN Commit... and that will remove the folder.
I ran the tortoise command "Update to SVN 1.7" which took all the .svn folders and combined them into a single folder. I was then able to delete just the one .svn folder and everything was good to go!