Mercurial > hg
diff mercurial/hgweb/webcommands.py @ 38061:d3b4c4769b5c
hgweb: wrap {entries}* of changelog with mappinglist
They were lists of mappings.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 04 Apr 2018 20:11:20 +0900 |
parents | aeccb08af311 |
children | 17f7b44367bb |
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py Wed Apr 04 00:24:09 2018 +0900 +++ b/mercurial/hgweb/webcommands.py Wed Apr 04 20:11:20 2018 +0900 @@ -441,9 +441,9 @@ rev=pos, symrev=symrev, changesets=count, - entries=entries, - latestentry=latestentry, - nextentry=nextentry, + entries=templateutil.mappinglist(entries), + latestentry=templateutil.mappinglist(latestentry), + nextentry=templateutil.mappinglist(nextentry), archives=web.archivelist('tip'), revcount=revcount, morevars=morevars,