hgweb template author name person modifier

Jouni Airaksinen Jouni.Airaksinen at descom.fi
Fri Nov 26 03:24:23 CST 2010


I was just fixing up an existing theme (monoblue) and noticed the use of 
author|person in the map file. In our repository this results in strange 
thing and I'm not entirely sure now how it should behave. It seems to drop 
too much (or too little) of the author's name in this way:

"Firstname Lastname (emailaddress)"  turns into  "Firstname" 

and for another user it is:

"Firstname Lastname <emailaddress>"  turns into  "Firstname Lastname" 

Probably just issue now with the usage of brackets? Which one is more 
correct now?


Then another issue is the hgweb way of caching changes. It doesn't report 
page to be changed if there is no change (server returns 403) and this 
causes the date's formatted with "age" to be incorrect. I guess these are 
both are more or less bug reports, or is there way to disable the caching 
(my solution now was to just use isodate modifiers so it doesn't matter), 
it would be nice for template developing too as you have to clear browser 
cache...

jouni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20101126/df624c4d/attachment.htm>


More information about the Mercurial mailing list