hgweb: wrap {entries}* of changelog with mappinglist
authorYuya Nishihara <yuya@tcha.org>
Wed, 04 Apr 2018 20:11:20 +0900
changeset 38061 d3b4c4769b5c
parent 38060 aeccb08af311
child 38062 17f7b44367bb
hgweb: wrap {entries}* of changelog with mappinglist They were lists of mappings.
mercurial/hgweb/webcommands.py
--- 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,