MadMode

Dan Connolly's tinkering lab notebook

15 Jul 2005

I finally got a copy of the contents of my personal wiki converted to clean XHTML, one of the few formats I trust. After fixing a bunch of low level escape markup problems with regex foo, I remembered that wiki rendering mixes up tag nesting. So I needed tidy. ElementTree and TidyHTMLTreeBuilder to the rescue! Now the hard part: migrating from the wiki genre to the journal/blog genre.

This work started in a CVS repository that I keep on a mac that goes to sleep at night. I usually etherwake it, but tonight I used hg and committed changes right on the machine I'm working on, and pushed them to another machine when I finished. I missed emacs integration, but not too badly.

I like the idea of all my machines acting as peers, but I wonder if I'll lose track of which changes are where. And I wonder when to add to an existing project/repository and when to make a new one. When it comes to moving files around, hg is less constrained than CVS but still has limitations. And moving things in the web involves redirects, if not broken links. If I want to publish the code, I doubt I'll use an hg server or even an hg CGI; I'd probably use a commit hook to update some static files, or not even bother with a repository on the server but just use rsync.

Tags: