Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Source Control with Visual Studio: switch from VisualSVN to Ankh?

I am evaluating VisualSVN for me and a small team of developers. I set it up on the server (VisualSVN server) without problems and installed TortoiseSVN and VisualSVN in order to integrate it in Visual Studio 2008. So far, it works well and we use it for the development of our main application.

I've heard good things about the new version of AnkhSVN too, which is open source and free. Since we are at the beginning with Subversion, I want to make the right decision now.

Is it possible to switch from VisualSVN to AnkhSVN without too many hassles? Can I keep the VisualSVN Server installation or do I have to switch that too? Is TortoiseSVN obsolete if I start using AnkhSVN? And, is the current version reliable in Visual Studio 2008?

To be clear: it's not about the 50 US$ per developer. It's about making the right decision for the future. What do you recommend?

Many thanks in advance!

like image 988
splattne Avatar asked Nov 12 '08 08:11

splattne


4 Answers

We did precisely that: switched from VisualSVN to AnkhSVN. The move went without any trouble at all. These plugins do not store specific information, and the .svn (or _svn) hidden folders are compatible with any svn client.

The 1.x series of the Ankh plugin was awful: lots of crashes and annoyances (for example, it was very hard to move or rename a not-still-commited file). The 2.x series corrects most of the problems, and while it still does not attains the level of VisualSVN, I found it very sufficient for our uses (and very free).

About the migration in itself, it couldn't be more simple: we just uninstalled VisualSVN, and installed Ankh. As long as your directory is under source control, it works.

The only common thing is that you still need TortoiseSVN to do many things, be them advanced tasks, or more basic ones: it's much simpler to create working directories and to checkout within explorer than with Visual Studio.

like image 94
thomasb Avatar answered Oct 25 '22 16:10

thomasb


Ankh should work against any Subversion server, so it should work against VisualSVN as well. See here: http://www.visualsvn.com/server/ It says that the server is compatible with all clients. :-)

like image 36
Rune Grimstad Avatar answered Oct 25 '22 14:10

Rune Grimstad


I think that for more advanced functionality you will still need TortoiseSVN (like Export, Relocate, whole directory operations, locks etc..). AnkhSVN v2 is very fine. I am using both without much hassle.

As for setting up a remote repository (I don't know VisualSVN, so I assume we're talking about repository server) you will need to use svnserve directly from Subversion package. You can set it up as a Windows service.

like image 35
Marcin Gil Avatar answered Oct 25 '22 15:10

Marcin Gil


AnkhSVN works with any Subversion server and VisualSVN Server is one of the easiest to configure servers for Windows.

If you need to share projects and solutions between VisualSVN and AnkhSVN you should make sure you don't connect your projects to the AnkhSVN scc provider or the VisualSVN users will see warnings. (You can connect the solution file without seeing the SCC warnings).

You can use AnkhSVN side by side with any other Subversion client, but we designed AnkhSVN 2.0 to not require another client for normal operation. The only issue you might see by using AnkhSVN next to other subversion clients is that AnkhSVN 2.0 only adds files to subversion when really required (right before committing), to increase performance and allow case-renaming the file.

like image 36
Bert Huijben Avatar answered Oct 25 '22 14:10

Bert Huijben