Mercurial > hg
diff mercurial/templater.py @ 6434:62e0bb41e682
hgweb: minor improvements for new web style
- make renamelink take a context
- pass current node to shortlog page rather than tip
- pass user/desc/date/rename to filediff
- improve template error reporting for foo%bar
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 31 Mar 2008 21:49:33 -0500 |
parents | d2713d902524 |
children | 6d824dc86907 |
line wrap: on
line diff
--- a/mercurial/templater.py Mon Mar 31 21:49:32 2008 -0500 +++ b/mercurial/templater.py Mon Mar 31 21:49:33 2008 -0500 @@ -114,7 +114,7 @@ v = v(**map) if format: if not hasattr(v, '__iter__'): - raise SyntaxError(_("Error expanding '%s%s'") + raise SyntaxError(_("Error expanding '%s%%%s'") % (key, format)) lm = map.copy() for i in v: