Writing your first Mercurial extension (www.secretgeek.net)