Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get out of subversion source control in visual studio?

Tags:

I have a solution that is source controlled with Subversion and AnkhSVN in Visual Studio 2008, but I would like to remove source control from it, how do I do that?

like image 916
Peter Avatar asked May 05 '09 09:05

Peter


People also ask

How do I turn off SVN?

Just remove the . svn folder inside the required folder then the control will be automatically removed. Show activity on this post. This will add an item called "Delete SVN Folders" to your right click menu.

How do I checkout code in SVN Visual Studio?

You can checkout a SVN repository with the SVN: Checkout command in the Command Palette ( Ctrl+Shift+P ). You will be asked for the URL of the repository and the parent directory under which to put the local repository.

How do I delete a project from source control in Visual Studio 2017?

To remove files from source control:choose Source Control > Remove or press Ctrl+R, R. The dialog will list the files that can be removed. In that dialog, you can deselect any files you don't want to remove. Click Remove.


2 Answers

SVN, as opposed to the dreaded VSS, does not clutter your project files with its "bindings": it keeps all its system information in .svn or _svn subfolders inside every version-controlled directory. Thus, "removing" version control from a project effectively means deleting all these folders.

This is tedious, however, so SVN has a special command called svn export which either "exports a clean directory tree from the repository specified by URL" or "exports a clean directory tree from the working copy ".

like image 113
Anton Gogolev Avatar answered Nov 25 '22 02:11

Anton Gogolev


As far as I know, AnkhSVN stores bindings in the project and solution files (also cached in solution user options file **.suo*).

I think that you can remove these bindings by going to File | Source control | Change Source Control (or in the dedicated AnkhSVN toolbar). In that dialog there should be a command to Disconnect the projects.

like image 22
Fredrik Mörk Avatar answered Nov 25 '22 03:11

Fredrik Mörk