# HG changeset patch # User Yuya Nishihara # Date 2018-04-04 11:44:18 # Node ID b10a9ace2738e9c1a8f4155c9ec36b3e1ac5626d # Parent db9d1dd01bf023bacff6dd4af3dc337cedc5868d hgweb: wrap {nextentry} of graph with mappinglist It's a 0/1-length list of a mapping. diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -1365,7 +1365,7 @@ def graph(web): 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(),