Thomas (boggyb) wrote,

  • Mood:
  • Music:
Today's annoyance is Mercurial. Mercurial is a distributed version control system which gives everyone their own copy of the repository. This sounds great, until you realise everyone needs their own copy of the entire repository.

I was working on a bugfix and wanted to grab some related code out of a repository, so I could pull it into a decent IDE rather than try and make sense of umpteen web browser tabs (a good IDE will let you follow references between files). Ok, since I only want a small part of it there's no need to grab the entire thing, right?


Unlike CVS or Subversion, it's all or nothing. You have to grab the entire repository even if you only want a single file. Even if you have no intention of making any changes.

Fine, tell TortoiseHg to clone the master repository, wait while it thinks about things... and then dies horribly applying changeset 51 of 800-odd. Because unlike CVS or Subversion, you really are copying the entire repository. Including the entire revision history. Which in this case turned out to be 150MB of files (presumably including several large binaries) and another 280MB of revision history!

On the one hand, files that large should probably not be blindly dumped in source control. But on the other hand, I wasn't even after any of those files! CVS, Subversion, or even Visual SourceSafe would have let me grab the latest version of just the files I wanted so that I could look through them and work out how this module fitted into where I was working on the bugfix.
Tags: rant

  • E3 WOT WOT!

    There's quite a few games in the Nintendo Direct, so here's what caught my eye... Super Monkey Ball Banana Mania: I'd completely forgotten about…

  • Math Rescue

    Today's random discovery: Math Rescue is still a thing! elemnar and I used to spend ages playing this when we were small. As with so…

  • Pasta night

    Yesterday was pasta night with an old game and a new game! First up is the confusingly-named 6 nimmt! card game, which is one of those games where…

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.