Mercurial styles problem modifying map

Douglas E. Warner silfreed at
Tue May 20 11:20:08 CDT 2008

I've copied the gitweb templates to my own directory in order to modify them 
and specified the path to my style in my hgrc, like so:

style = /path/to/my-template/

When I modify parts of the template files or the map, these changes take 
effect immediately.

The problem I'm having is that adding entities to the map doesn't work.

I'm trying to add something like 'orgname = "Mozdev"' to the map file.  When I 
reference this in the template files by either #orgname# or {orgname} nothing 
is output (no errors being thrown, either).

I've put some debug in the templater and found that my map key isn't in the 
passed-in map to the __call__ function, but is in self.cache.

Am I doing something wrong here, or is specifying additional entities not 

Douglas E. Warner    <silfreed at>    Site Developer 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the Mercurial-devel mailing list