Subversion migration

I don't know if I finally won the battle at my current contract or if the stars just all aligned for me this week.  I'm helping the company to takes its first steps away from Visual SourceSafe and into the Subversion realm.  Our project has been using SourceSafe for about 5 months now and, as a result, we have a significant codebase stored in it.  Part of the migration away from VSS is to ensure that we get all the files, structure and commit history into the new repository.

This being the first time that I've done a migration of this nature, I had to research the tools.  Here they are in case you have the same scenario.

Subversion server setup: VisualSVN Server.  Not only is it free, but it's so bloody easy to use that I had an architect install it in about 10 minutes and he'd never been exposed to anything related to Subversion before.

Client/Developer tools: TortoiseSVN and WinMerge.  Nothing fancy or new here.

Migration of artifacts: VSSMigrate.  Great little tool, but it has some config file quirks so make sure to run a trial before doing the real thing.  Conversion can be slow...a good reason to do a test run with a copy of the VSS database you intend to migrate from.  Our conversion ran without error and it appears that everything was migrated correctly.  We did have a simple VSS repository where we'd done nothing more than checkin, checkout, add and delete.  We'd also never had a corruption problem either.

We took some steps to get the system into the state we wanted after the conversion was completed.  The first thing was to open all the *.sln files and remove the source control bindings from them.  They will still be pointing at VSS and there's no need for that.  We also renamed the network share that our VSS database was stored behind.  This ensured that no-one could hook up to it and commit changes by accident.

Overall, it's been a good experience.  Here's to helping more companies make a good decision.

posted @ Wednesday, April 09, 2008 7:17 PM

Print

Comments on this entry:

# re: Subversion migration

Left by Tom Opgenorth at 4/9/2008 7:30 PM
Gravatar
Personally, I like Araxis Merge better than WinMerge, but Araxis Merge isn't free so it's a bit harder of a sell.

# re: Subversion migration

Left by Jimmy Bogard at 4/9/2008 8:59 PM
Gravatar
Props to you...so many companies have the FUD of anti-OSS deeply ingrained in every fiber of their being.

My last company got off VSS when I had the VP Google "VSS corrupt". Kind of an eye opener, lots of folks just assume that MS products are pure diamond-encrusted platinum-plated gold.

# re: Subversion migration

Left by svnplus at 4/9/2008 9:27 PM
Gravatar
if you need to switch to Subversion, CollabNet - the company that founded Subversion - is about to release a multi-source import tool for "skim migration from VSS, CC and more to come. If interested, send us an email at info@collab.net
more info at www.collab.net/webinar32

# re: Subversion migration

Left by Bil Simser at 4/9/2008 11:13 PM
Gravatar
Freaky. Phil Haack posts about unit test structure (separate project or not) and it's exactly what we're doing on a new project. You post about moving to Subversion, and yup, we're doing that too.

Maybe I just need to read blogs now to determine what I'm going to do tommorow. Wonder what Kyle is saying...

# re: Subversion migration

Left by Donald Belcham at 4/10/2008 10:34 AM
Gravatar
Okay...we ditched WinMerge and are using KDiff3. Things are better now

# re: Subversion migration

Left by Jeff Tucker at 4/10/2008 1:16 PM
Gravatar
I've ditched tortoise almost completely. I've gotten so annoyed with it that I'm at the point where I'm contemplating writing another open-source alternative (I would probably call it "hare"). I won't go into the long list of reasons why I hate it here (but many of them revolve around moving and copying files), but I've found that using SVN on the command line is much, much faster and easier than using tortoise. There is a bit of a learning curve in remembering to type "svn" in front of the command you would want to use (i.e. copy, dir, move, etc) but you get used to it quickly.

# re: Subversion migration

Left by Rob van Oostrum at 2/6/2009 5:17 PM
Gravatar
Polarion offers a free VSS -> SVN migration utility: http://polarion.org/index.php?page=overview&project=svnimporter

For more complex cases that hit scenarios in your VSS repository that aren't (yet) covered by the current release of the tool, we offer commercial support & development to address your issues.
Hope this helps,

Rob van Oostrum - Product Manager
Comments have been closed on this topic.