Creating new hgweb + hgwebdir theme

Dirkjan Ochtman dirkjan at
Tue Nov 23 01:29:30 CST 2010

On Mon, Nov 22, 2010 at 23:56, Philip Pemberton <lists at> wrote:
> Question: do templates have to be installed in (say)
> /usr/share/mercurial/templates, or will Hg pick them up if I put them in the
> same directory as Hgweb.cgi / hgwebdir.cgi?

You can point your hgweb install to your templates dir by setting the
web.templates variables in a hgrc.

> Also, has anyone created any alternative themes, besides those included with
> Hgweb?

Mozilla has a slightly different version of gitweb, but I'm not aware
of any interesting themes here. One problem is that the hg templater
is relatively limited.



More information about the Mercurial mailing list