hg + genshi

Ted Mielczarek ted.mielczarek at gmail.com
Mon Jun 9 09:14:20 CDT 2008


Hi,

I've been poking at Mercurial for a bit (I work for Mozilla), mostly
looking at hgweb and templates. I got a little frustrated with the
template system, so I went and shoehorned genshi into hg. It wound up
not being really terrible, although there are definitely some points
that could be polished better. I essentially just changed the template
dispatching to recognize the prefix "genshi:" on a template file name,
and run that template through genshi instead. I only ported the
shortlog and changelog templates so far, but I've pushed my changes
here if you'd like to take a look:
http://hg.mozilla.org/users/tmielczarek_mozilla.com/index.cgi/hg/

Comments and suggestions welcome. Is this something that you'd be
interested in taking in hg in some form?

Regards,
-Ted


More information about the Mercurial-devel mailing list