hgweb: wrap {nextentry} of graph with mappinglist
authorYuya Nishihara <yuya@tcha.org>
Wed, 04 Apr 2018 20:44:18 +0900
changeset 38208 b10a9ace2738
parent 38207 db9d1dd01bf0
child 38209 215021e506e2
hgweb: wrap {nextentry} of graph with mappinglist It's a 0/1-length list of a mapping.
mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py	Fri Jun 01 23:02:36 2018 +0900
+++ b/mercurial/hgweb/webcommands.py	Wed Apr 04 20:44:18 2018 +0900
@@ -1365,7 +1365,7 @@
         rows=rows,
         bg_height=bg_height,
         changesets=count,
-        nextentry=nextentry,
+        nextentry=templateutil.mappinglist(nextentry),
         jsdata=lambda **x: jsdata(),
         nodes=lambda **x: nodes(),
         node=ctx.hex(),