The Core Dump

A strong conviction that something must be done is the parent of many bad measures

[By Nic Lindh on Friday, 28 September 2007]

The winged messenger swoops in

Version control is a necessity for staying sane. Nic looks at some options.

UPDATE Feb. 1, 2010: I got religion and started using Git after they worked out a lot of the complexity in the interface and I realized that you have to think of it as a file system in order for it to make sense. /UPDATE

In a post about moving as much data as possible into the cloud, I talked about using—and liking—Subversion. But, alas, the bloom is off that rose. Why? iWork ’08 is why.

iWork (and several other Apple applications) stores files in bundle format, which is essentially a folder the Finder knows to treat like a single item. Subversion, unfortunately, does its magic by putting a hidden folder inside each folder it’s tracking. The end result is that whenever you save a file in one of the iWork applications (Pages, Keynote, Numbers) the hidden folder gets blown away and Subversion gets really surly.

One could argue that Apple could be nicer about crushing extra things in bundles under its uncaring and despotic boot heel, and one could also argue that since Apple apparently has no intention whatsoever on changing its ways, Subversion should be re-engineered to handle having its hidden folders stepped on a bit more gracefully. Tomato, tomato.

Either way, it makes Subversion a royal pain to use with bundles.

Since the benefits of version control are just too great to give up, it was time to find a replacement. Apparently the cool thing among the hipsters these days is distributed version control, and who doesn’t want to be cool?

…Wickedly, awesomely cool. Yes, indeed. Feel the hip T-shirt with the ironic message forming itself around your torso as you consider distributed version control.

So distributed version control it is. There are a lot of different systems out there, and the nerd wars are raging about which one is the One True Way. Which, you know, is at least more interesting than the Text Editor Wars.

After a lot of googling it came down to a choice between Git or Mercurial.

Git possesses a lot of nerd cred as it’s written by none other than Linus Torvalds. The problem is that Linus is a kernel hacker, so Git is packed to the rafters with things only a kernel hacker could love. Go ahead, read the docs, I dare you. Then have a nice lie-down and put an ice pack on your forehead and you’ll feel better in no time.

Or, to put it in a less snarky way, Git has a lot of features that make sense when you’re managing a huge project with many contributors. When you’re just one mad prophet all alone in the wilderness, that complexity isn’t needed.

Mercurial, on the other hand, makes sense. Easy to install and very little drama.

It’s nice to not have to stress about backing up the one single point of failure that is the bane of centralized version control anymore.

So thanks, Apple and your bundles, I guess, for forcing me to learn something new… And for the hipster T-shirt. It’s awesome.

Soundtrack: “The Irish Rover” by The Pogues itunes

« Movie roundup, part five

 »


Enjoy the ten latest posts!

Any sufficiently advanced incompetence is indistinguishable from malice

Impressions moving from an Apple Watch Series 3 to Series 5

Is there reason to upgrade from a 3 to a 5?

Plans are worthless, but planning is everything

Often injustice lies in what you aren’t doing, not only in what you are doing

Die in a ditch

After all these years, Nic still can’t understand the American attitude to healthcare.

The big thieves hang the little ones

Book roundup, part 29

A sci-fi and fantasy heavy installment that includes The Valedictorian of Being Dead, The Mastermind, Broadsword Calling Danny Boy, Tiamat’s Wrath, The Raven Tower, The Liberation, The Light Brigade and Cryptonomicon.

Politics is not the art of the possible. It consists in choosing between the disastrous and the unpalatable

Book roundup, part 28

Includes The Incomplete Book of Running, Aching God, The Murderbot Diaries, Lies Sleeping, The Consuming Fire, and Rendezvous with Rama.

Las Vegas trip report

Did you know Las Vegas is kind of nutty?