This post originated from an RSS feed registered with Java Buzz
by Brian McCallister.
Original Post: Mercurial For Documents (on Mac)
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Apple's iWork apps work bloody nicely, but they have a vicious flaw in the '06 version -- they delete stuff inside the archive, such as .svn directories. This sucks, really badly, and means that if you use Keynote or Pages, and are paranoid about versioning (like a lot of folks) things, and like svn, you have gnashed for a while.
Anyway, I switched to using Mercurial for these docs. The main reason I like it for my docs directory is that it has a built-in concept of adding and removing things as needed. You can have a simple script like:
cd ~/Documents
/opt/local/bin/hg remove --after
/opt/local/bin/hg add
/opt/local/bin/hg commit -m "Commit docs from WorkFlow Script Thing"
Which does the ~right thing with regard to these broken archive things. I haven't tweaked the Pages and Keynote plugins to automatically do revisions on saving docs, when those docs are in the right directory, but it is coming :-)