changeset 38141:53cc81a8caf6

hgweb: wrap {entries}* of filelog with mappinglist They were lists of mappings.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 04 Apr 2018 20:37:52 +0900
parents 220058198be6
children cfa93fbbe9b4
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/webcommands.py	Wed Apr 04 20:37:03 2018 +0900
+++ b/mercurial/hgweb/webcommands.py	Wed Apr 04 20:37:52 2018 +0900
@@ -1129,10 +1129,10 @@
         file=f,
         nav=nav,
         symrev=webutil.symrevorshortnode(web.req, fctx),
-        entries=entries,
+        entries=templateutil.mappinglist(entries),
         descend=descend,
         patch=patch,
-        latestentry=latestentry,
+        latestentry=templateutil.mappinglist(latestentry),
         linerange=linerange,
         revcount=revcount,
         morevars=morevars,