# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1522842258 -32400 # Wed Apr 04 20:44:18 2018 +0900 # Node ID a2ff4a325229bd72a5447abe1efa3a2659fcc50b # Parent 381060f39eb7e7751a6f168493b77e2744d8ef07 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(), _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel