Geeks With Blogs
Bob Palmer's Developer Blog .NET, SQL, and Silverlight Development

For my personal projects (and likely our work projects) I've been looking into Subversion as an alternative for VSS.  And so far, I've only 'blowed up' my repository a dozen times in the installation process.

I am by absolutely no stretch of the imagination an SVN expert (I just started tinkering with it this week), but figured I would toss out a few of the hurdles I toughed through in getting it up and running.

After installing the product I got to spend a few frustrating days connecting to my server (on my local box).  I eventually went with VisualSVN which is a great server UI and had my stuff ip in no time.  Note that I had to turn off my IIS to instal VisualSVN on the same server.

The next fun hurdle was recovering from an 'oops!' in setting up a project.  In VSS, I can break source control, remove my project from VSS, and re-add it with the correct structure (this happens sometimes when folks add the same project at two levels and all kinds of wonkiness ensues).

For SVN, after removing the repository projects, you just need to go into each of your folders and remove the .svn folders and source control will be broken.

For IDE integration I used AnkhSVN which has it's own quirks... the whole thing definitely feels like one sneeze will cause the whole thing to collapse.  For example, opening a new project and trying to add your solution to SVN before saving the solution results in errors being thrown, etc.

In short, I'm slowly figuring out how to use this without my software being reduced to a smoldering heap of ashes.  Once I have some repeatable stuff and have thoroughy tested out branch and merge, web projects, etc. I'll post a quickie tutorial on how to set this stuff up.

Next step - Cruise Control .Net and continuous integration!

Posted on Saturday, August 29, 2009 7:26 AM | Back to top

Comments on this post: Adventures in SVN

# re: Adventures in SVN
Requesting Gravatar...
John Galloway has a great little shell command that give you a right click menu option for removing all svn folders recursively:

Shell Command - Remove SVN Folders

I also tried AnkhSVN but found it to be too flaky, I personally use TortoiseSVN which has nice shell integration features and seems pretty solid.

Left by Keith Stenson on Aug 30, 2009 10:14 AM

# re: Adventures in SVN
Requesting Gravatar...
Thanks for the tip! One of my coworkers is a fan of TortiseSVN, and I will likely give it a go. And definitely agree on AnkhSVN's flakiness - especially when moving folders, etc. between projects.
Left by Bob Palmer on Aug 31, 2009 6:07 AM

Your comment:
 (will show your gravatar)

Copyright © BobPalmer | Powered by: