# HG changeset patch # User Yuya Nishihara # Date 2018-04-04 11:48:37 # Node ID 86f980a8cacf49b6d5822e868fd7b43351571ca4 # Parent fb5803f4fb87fb1613a58dd30f471becff3e58e9 hgweb: wrap {edges} of {nodes} of graph with mappinglist This was a list of mappings. diff --git a/mercurial/hgweb/webcommands.py b/mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py +++ b/mercurial/hgweb/webcommands.py @@ -1344,7 +1344,7 @@ def graph(web): entry.update({'col': vtx[0], 'color': (vtx[1] - 1) % 6 + 1, 'parity': next(parity), - 'edges': edgedata, + 'edges': templateutil.mappinglist(edgedata), 'row': row, 'nextrow': row + 1})