changeset 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
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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,