views:

389

answers:

8

I'm really not well versed in these things, I just want to setup an svn server locally on my computer. Also I'd like to set it up and integrate it directly into Visual Studio 2008 if it's possible?

thanks for any help!

+2  A: 

Just create a local svn repository and use a file:// based urls for them source code. Shouldn't need to have a specific. running, server instance for this.

Will Hartung
+6  A: 

I used TortoiseSVN, created a directory (C:\Repositories) then used the menu command "Create Repository Here...".

jcollum
+1 — I've used TortoiseSVN for a couple of years now and no idea it could do that! :-)
Ben Blank
+1  A: 

http://www.visualsvn.com/ That should help with your integration issues

PSU_Kardi
A: 

I would recommend Toirtoise SVN its fairly easy to setup and use.

Here is the documentation, its a must!

Rigobert Song
+1  A: 

I recommend using subversion as a local host for the files with tortoise tortoise for browse integration or/and ankhsvn for intergration with vs2008.

Lucas B
+1  A: 

Check for http://www.visualsvn.com/ for the server and TortoiseSVN for the client. Check for AnkhSVN for integration with Visual studio 2008.

Khan
+4  A: 

I would second Visual SVN server which is free and will have you up and running in a few minutes. It hooks up SVN over HTTP however and for a local Subversion installation that might not be necesary.

If you'd rather run just setup Subversion 'manualy' the following is a walk through of the process with focus on Visual Studio usage: http://www.west-wind.com/presentations/subversion/

Rick Strahl
A: 

Rick Strahl, FTW!

Another great walk-through on setting up SVN with windows comes from Jeff Atwood of Coding Horror:

http://www.codinghorror.com/blog/archives/001093.html

In a nutshell:

  1. Download/Install SVN, configure as windows service
  2. Install TortoiseSVN (or your SVN GUI of choice). I recommend sticking with Tortoise, since there have been anecdotal horror stories of using SVN clients integrated with VS
  3. Create a repository (either through CLI or GUI client
Josh E
I don't think recommending against VS integration helps. It's painful to manually deal with renames and moves, especially when doing refactoring (because that renames the files on disk without performing svn rename).
Sander Rijken
True it is a PITA - we use Tortoise SVN w/o VS integration at my shop - but we tried to use VS integration and some people had huge problems with checking files in/out, merging, etc... maybe they were using an inferior client, but because of those problems is why I'm cautioning against it
Josh E