James Bowes

Purveyor of Pre-eminent Programmes

Did I mention that svn sucks?

with 4 comments

$> svn co svn://gcc.gnu.org/svn/gcc/trunk gcc
$> cd gcc
$> du -h
...
1.6G .
$> svn export . ../clean-gcc
$> cd ../clean-gcc
$> du -h
...
638M .
$>

Oh, yes, I did.

Advertisements

Written by jbowes

February 11, 2007 at 12:46 pm

Posted in SCM, tech

Tagged with , ,

4 Responses

Subscribe to comments with RSS.

  1. Disk space is cheap. Subversion keeps a pristine copy of everything in the repository. That’s so you don’t have to suck up your entire downstream bandwidth, or put an unnecessary load on a server in order to find out what you’ve changed. I’m sure those aren’t the only reasons, but they’re the ones I can name off the top of my head.

    BTW, you should tweak your stylesheet. Faint-green on a white background doesn’t show at all. Ideally, people shouldn’t have to highlight the text in order to read it.

    ws

    February 14, 2007 at 12:09 am

  2. Disk space is cheap. So why not store the entire history on local disk? git, mercurial, and company are able to store the full project’s history on disk in a similar amount of space as an svn checkout.

    svn is a fine scm if you look at it in isolation, but when placed next to everything else available, it’s sorely lacking.

    James Bowes

    February 14, 2007 at 8:31 am

  3. > git, mercurial, and company are able to store the full project’s history on disk in a similar amount of space as an svn checkout.

    Not once the space occupied by a project’s history and revision trees are significantly greater than the size of the head of the project.

    Besides, if git et al do that, why are you complaining about how much space subversion uses?

    ws

    February 14, 2007 at 12:23 pm

  4. >Not once the space occupied by a project’s history and revision trees are significantly greater than the size of the head of the project.

    It’s going to be a lot of history before that happens.

    > Besides, if git et al do that, why are you complaining about how much space subversion uses?

    Precisely because of this. If git is able to keep the entire history plus checkout in similar space as an svn checkout, then obviously svn is doing something wrong.

    Keith Packard has a good write-up on the matter:
    http://keithp.com/blog/Repository_Formats_Matter.html

    James Bowes

    February 14, 2007 at 2:32 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: