Jamal
Jamal

Reputation: 47

version control software and subversion

I have a visual studio project that I need to setup in subversion. Here are some questions I would like help with please:

  1. What binary package to install for subversion. I see CollabNet,SlikSVN, Wandisco and Win32svn. I installed Win32svn but I'm not sure if this is the right one or not.
  2. Would like to install it on the server and have tortoisesvn as the client.
  3. the project I inherited has SVN files. What is the best way to add the project to SVN or import it.

Jamal

Upvotes: 1

Views: 1215

Answers (3)

sbi
sbi

Reputation: 224159

1.What binary package to install for subversion. I see CollabNet, SlikSVN, Wandisco and Win32svn. I installed Win32svn but I'm not sure if this is the right one or not.

Are you talking about a client or about a server? When last I searched for a Windows client, I found CollabNet and Slik. The former required registering, the latter didn't, so I used the latter. When I needed a server, either some sysadmin setup a machine with apache and all the whistles and bells, or I setup a machine using the free VisualSVN Server.

2.Would like to install it on the server and have tortoisesvn as the client.

Great. What is your question regarding this?

3.the project I inherited has SVN files. What is the best way to add the project to SVN or import it.

As NerdFury noticed, if the project has .svn files, it's already hosted in an SVN repository. To find out where that is, you can either use the SVN command line client (invoke svn info in the project's root folder) or TortoiseSVN (the SVN tab of the properties dialog of the root folder).

If you can't, or don't want to, use it, in order to import it you first need to get rid of the .svn folders. The common way is to svn export into the working copy, which (according to some answer here I cant find now) supposedly even works if the repository isn't available. Of course, importing from a working copy into a new repository discards the project's history.

If you have access to the old SVN repository, but still want/need to use your own, new repository, you can import the whole project, history and all, into a new repository.


Of course, before you do anything to that working copy, you should first make sure you have a backup.

Upvotes: 6

NerdFury
NerdFury

Reputation: 19214

if you have .svn folders in your project already, it might be tied to a repository somewhere.

A good solution for hosting svn repositories in windows is visualSvn http://www.visualsvn.com/ they have a server and client. The client integrates with visual studio if that's how you prefer to work.

Upvotes: 3

Moo-Juice
Moo-Juice

Reputation: 38820

I can't recommend VisualSVN highly enough for integrating TortoiseSVN in to Visual Studio. It's not expensive and makes it a breeze.

Upvotes: 2

Related Questions