changeset 38208:b10a9ace2738

hgweb: wrap {nextentry} of graph with mappinglist It's a 0/1-length list of a mapping.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 04 Apr 2018 20:44:18 +0900
parents db9d1dd01bf0
children 215021e506e2
files mercurial/hgweb/webcommands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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(),