www.codinghillbilly.com   kyle.baley.org  Subscribe / Contact
 
 
 
 
LATEST POSTS
Wednesday, April 11, 2007

Plethora of postings today. Could combine them but I'm trying to stick to the Single Responsibility Principle, at least in one small aspect of my life. Doesn't seem to work while I'm parenting the young 'un.

Have recently started working with Subversion. Out of necessity because I want to share code with someone and it's harder to share when you're in the Bahamas. (That generally applies to everything in the Bahamas, especially in the government.)

First thing I did when installing Subversion was to add TortoiseSVN and AnkhSVN to my tool list. Hillbillies aren't generally what you would call command line coders.

Like most side aspects of software development, I don't have a very strong opinion on source control. The only thing I want is for it not to get in my way. In that respect, I liked SourceSafe while still recognizing that it was the one piece of software that Microsoft actually *needed* to update in the last ten years. Having said that, I haven't had any horror stories that many, many others have and checking in/checking out was pretty seamless from Visual Studio.

Now comes Subversion where I am painfully aware of the source control because it's throwing errors all over the place. Well, probably not Subversion but certainly Tortoise and definitely Ankh. Errors like "the directory already exists" and "this is not a working copy of the directory". When it wasn't failing, it was creating folder structures I didn't want or adding support files to source control. (Don't get me started on ignore lists. Sometimes I want to ignore the bin directory, sometimes I don't.)

Granted, part of this is a shift from my comfort zone. I've managed to get to a point where I can create a Subversion repository and folder structure I like and not have one overwrite the other. I'm also able to mangle Ankh enough to add another project to my solution without polluting it with ReSharper files. But even today, I'm not able to Update... my solution with Ankh because it says the lib object already exists. "lib" is a folder that contains my third-party tools. It's not even part of my solution.

Having said that, when it's on, it's really on. Fast and clean be Subversion. Especially over HTTP. But it's not exactly an "install and go" type application.

And it's better than SourceSafe. I say that mostly to keep my inbox free of hate mail because in reality, I don't care if it is "better" or not. It's just source control. I just want it to work.

Wednesday, April 11, 2007 5:19:51 PM (Eastern Standard Time, UTC-05:00)
I'm with you on the setup and operation of SVN....same goes for <shudder>CVS</shudder>. The one I'm using at home is SourceGear Vault. It has a free single license which can be great. Downside is the cost of license numbers 2+ and the fact you need a SQL Server and IIS instance to run it. Otherwise the IDE experience is fabulous.
Wednesday, April 11, 2007 5:50:12 PM (Eastern Standard Time, UTC-05:00)
I remember reading about Vault when I dabbled ever so briefly with SourceOffsite. Interesting pricing model. And requirements. But I guess there's something to be said about being able to access the repository without having to install Apache (yes, yes, you know what I mean). And I gotta say, the initial installation of both the server and client were pretty clean even if it wiped out my recent project list and bitched a little about Ankh at first (which I'm one Commit away from dumping anyway). It will probably replace SVN for personal projects that I don't need to share off the island, assuming the performance degradation I'm experiencing in VS2005 is not related to Vault's installation.
The Coding Hillbilly
Thursday, April 12, 2007 9:41:30 AM (Eastern Standard Time, UTC-05:00)
The pain you're describing seems to be typical of people who switch from VSS to SVN. It does got away. You've just been tricked over the years into accepting that VSS is an adequate tool is all. :)

SVN, is, IMHO, leaps and bounds ahead of VSS. Mostly because I have yet, in three years of using SVN, had SVN corrupt and/or lose code for me. Oh, and you can actually do branching with SVN. And the fact SVN works nicely over HTTP (and isn't a dog on a VPN).

You might want to look at VisualSVN instead of AnkhSVN. IDE integration isn't that important to me, and usually I do all my stuff through TortoiseSVN. VisualSVN is starting to bring me around however. Think of it as integrating TortoiseSVN with the IDE. VisualSVN has a 30 day free trial, after which you must pay for it. I intend on shelling out for it when my trial expires.

Another alternative SCC you might want to consider is Perforce. It has a free 2 client version. I've heard some good things about Perforce, but it does carry an oppressive price tag.

For a relatively painless SVN install: Get a copy of VMWare Server (free). Then go and download the SVN virtual machine at http://www.young-technologies.com/Software/Subversion-Virtual-Machine/. You should have SVN up and running in no time. Granted, the version of SVN on this image is a bit dated, but it works.
Friday, April 13, 2007 3:49:53 PM (Eastern Standard Time, UTC-05:00)
I will gladly admit that VSS has been adequate for my needs. It has never crashed on me (or at least not in a way that impacted me directly) and when I have had to branch, I've been able to do so without too much hassle.

That said, I have no loyalty to VSS. I use it because I know it and learning a new SCC is boring compared with all the other goodness out there (like getting more in-depth with virtualization as you allude to). I'll stick with SVN (and probably Ankh) for the foreseeable future because the learning curve is tapering off enough that I can get real work done.

But I accept that it's better than VSS because that's what I've been told by an overwhelming majority of smart people, not because of an objective evaluation by me. SCCs are not something I feel the need to contrast and compare to make an informed opinion. I'll pick from what's available until I find one that's good enough. The same way I pick fruit.

But I have also heard good things of Perforce.
The Coding Hillbilly
Comments are closed.

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Copyright © 2010 Kyle Baley. All rights reserved.
 
CATEGORIES
.NET General (18) alt.net (4) altnetconf (9) ASP.NET AJAX (40) ASP.NET MVC (29) Bahamas (1) Bahanet (9) BDD (1) Brownfield (18) Career (9) Castle (1) Code coverage (1) Coding Style (6) Communication (1) Community (18) Conscientious Coding (34) Continuous Integration (11) dasBlog (12) Development (16) DevTeach (4) Domain (2) Environment (4) Estimating (1) Featured (14) Flamingo (10) Games (1) Google App Engine (2) GWT (5) Hardware (6) Java (1) Javascript (7) Linq (2) Livelink (6) Lucene.NET (2) MbUnit (1) Metrics (1) Miscellaneous (24) Mocking (4) NAnt (4) NHibernate (12) NInject (1) Office (3) Office Development (6) Open Rasta (1) Patterns (5) Presenting (13) Professional Development (15) Refactoring (10) ReSharper (11) REST (2) S#arp Architecture (5) Security (3) Software (11) Sundry (18) TDD (19) Tools (21) User Interface (5) Utilities (8) Visual Studio (8) VSTO (1) Web development (12) Windows (3) Working Remotely (16) Workplace (3) Writing (4)
 
LATEST POSTS
 
POPULAR POSTS
 
 
ARCHIVE