dr_tectonic: (rat stamp)
[personal profile] dr_tectonic
A guy at work is looking into switching his group from CVS to subversion, and sent an email to the java-developers list asking about a couple things he felt trepidatious about. I like subversion, so I piped up and opined about how cool it is, and ended up spending a decent amount of time looking things up to answer various questions he had, because, y'know, helpful.

The cool thing about this is that in the process of doing all this research, I figured out a number things I hadn't grokked very well before, and also figured out how to upgrade my repositories to a better backend format, which let me reorganize them in a more convenient layout while I was at it. So that's what I did today.

I guess sometimes virtue really is its own reward. Just like the Avenue Q song: "When you help others, you can't help helping yourself..."

Date: 2006-09-21 03:35 am (UTC)
dpolicar: (Default)
From: [personal profile] dpolicar
The best way to learn something is to teach it to someone else.

Date: 2006-09-21 04:14 am (UTC)
From: [identity profile] dr-tectonic.livejournal.com
I ought to remember that. It's how I passed 18.03, after all...

Date: 2006-09-21 03:22 pm (UTC)
dpolicar: (Default)
From: [personal profile] dpolicar
And now that I've said it to you, hopefully I'll learn it myself.

Date: 2006-09-21 03:47 am (UTC)
From: [identity profile] madbodger.livejournal.com
I'd be curious as to the better backend format and more convenient layout. I seem
to have been appointed the CM person in our little project, and we're using
Subversion because the customer is. But I'm still wet behind the ears.

Date: 2006-09-21 04:12 am (UTC)
From: [identity profile] dr-tectonic.livejournal.com
Older versions of svn use the Berkeley database (bdb), which can sometimes get wedged or corrupted, and is a pain to recover.

Newer versions (post-1.0) can use FSFS instead (and at some point they switched the default setup from bdb to fsfs), which is a flatfile format that's a little bit slower, but doesn't have those problems and has a number of other advantages.

A decent comparison between the two is here: http://web.mit.edu/ghudson/info/fsfs

Layout-wise, all I did was move things around so that each project has its own repository in a subdirectory named svn, so instead of /blah/svn-foo and /blah/bar/svn, now everything is in /blah/svn/foo or /blah/svn/bar and so on. Just a bit more consistent and logical.

Date: 2006-09-21 02:30 pm (UTC)
From: [identity profile] madbodger.livejournal.com
Yeah, after reading up on the pros and cons, I went with the (now default) FSFS.
Works a treat.

Date: 2006-09-21 10:15 am (UTC)
From: [identity profile] melted-snowball.livejournal.com
But opening a school for monsters is more fun.

Date: 2006-09-21 02:33 pm (UTC)
From: [identity profile] dr-tectonic.livejournal.com
In volatile marketplace, only stable investment is PORN!

Date: 2006-09-21 01:48 pm (UTC)
From: [identity profile] dcseain.livejournal.com
We use subversion, and it beats the hell out of other similar products i've used, including cvs.