6

Possible Duplicate:
How do you remove Subversion control for a folder?

I am implementing the use of Subversion as a source control tool for my projects, but I made some mistakes when determining what structure to use. So I added version control to some folders (projects), that I would like to undo.

How do I do that? Do I have to copy the folder, delete the original and add source control to the new one?

I use TortoiseSVN and Visual Studio 2008.

Community
  • 1
  • 1
Kjensen
  • 12,447
  • 36
  • 109
  • 171

4 Answers4

19

Just remove the .svn folders in the folder and all its subfolders.

An easier way to do this would be to Export the folder using TortoiseSVN.

Can Berk Güder
  • 109,922
  • 25
  • 130
  • 137
6

In addition to the previous comments:

There is a really neat way to export using TortoiseSVN. If you right click and drag/drop your SVN folder, when you release the mouse button you will be prompted by a menu including these entries

SVN Export to here
SVN Export all to here

The latter also copies files not placed under SVN control.

This right click trick can also be used for dragging files and folders around within a repository (simultaneously with editing the working copy), to achieve moves and copies that are otherwise tricky.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
willw
  • 1,308
  • 13
  • 28
3

Can Berk Güder is correct, but in my experience with SVN (not always very pleasurable), I'd probably add that you would probably want to check your SVN Repository to make sure there aren't any orphans hanging around in there that would be unreconcilable when you re-commit.

And beware of TortoiseSVN, it is not always correct with its status. Probably best to run a Clean post integration.

Also, have a look at VisualSVN. It overcomes DLLs accidentally getting in your source control and works very well with Visual Studio 2008. I use it and it auto-adds things beautifully.

Program.X
  • 7,250
  • 12
  • 49
  • 83
  • Thanks. I am actually using ankhsvn, and I think it does the same as VisualSVN - but free - from what I have read anyway. – Kjensen Mar 17 '09 at 13:59
-1

You can also use switch the solution from Visual Studio. It works wonders.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131