Welcome to Manicprogrammer Sign in | Join | Help

Stormwind.Svn

Introduction

Ever wondered how to connect to a Subversion repository using .Net? So do we!

I'm working in a project that needs SVN Connectivity features. "How hard could it be, right?" was my first thought, before spending the next 2 days trying to figure out an easy way of doing that.

All the pain went away when I stumbled on this gem: IronSvn. This very nice project allows us an easy way to connect to SVN using Managed C++ Code. Yes, that's right! That means no interop/PInvoke crap. Kudos to this amazing effort!

Stormwind.Svn

Since you've been reading my posts for a while (yes,  all the three of you, lol), you know that I don't get easily satisfied with frameworks' syntaxes. Then I decided to wrap IronSvn in a fluent interface, thus making it so easy to use that it's kinda boring.

Some examples of the current usage:

SvnClient.ForPath(configuration.CheckoutPath).Status

Now a checkout:

SvnClient.ForPath(configuration.CheckoutPath).Checkout(url);

And an update:

SvnClient.ForPath(configuration.CheckoutPath).Update();

Hope that's easy enough!

Ok, How do I get it?!

I've setup a wiki for it in http://using.stormwindproject.org at http://using.stormwindproject.org:8081/display/svn/Home.

As usual the source code can be found in Stormwind SVN Repository at http://svn.stormwindproject.org/svn/Stormwind.Roswell/SubProjects/Stormwind.SVN.

Any comments, frustrations, desires, etc, can be mustered in the stormwindcommunitydev@googlegroups.com google group.

Conclusion

Check it out if you ever needed to use SVN in your code and felt as frustrated as I did.

Cheers!

#153

Published Saturday, May 24, 2008 11:27 PM by heynemann

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Heavyweight champion for Stormwind and Stormwind.NAnt

Monday, May 26, 2008 8:50 PM by while(availableTime>0) {

Stormwind gets another sponsor We just got another heavyweight sponsor, and this time it's literal: Atlassian

# ASP.Net MVC ActionFilters

Sunday, July 13, 2008 12:45 AM by DeusExMachina

I'm a lame blogger, I know. There's been more than two years the my friend Heynemann has been teasing


Enter the text you see in the image:

Leave a Comment

(required) 
required 
(required)