# HG changeset patch
# User Yuya Nishihara <y...@tcha.org>
# Date 1522841872 -32400
#      Wed Apr 04 20:37:52 2018 +0900
# Node ID 21a9c92342e6b82473fbaf266b0b95b2bb924245
# Parent  dc1e2222237534cea84c4d501d8b0ceb0dd2f4e7
hgweb: wrap {entries}* of filelog with mappinglist

They were lists of mappings.

diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py
+++ b/mercurial/hgweb/webcommands.py
@@ -1129,10 +1129,10 @@ def filelog(web):
         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,
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to