hgweb: wrap {edges} of {nodes} of graph with mappinglist
authorYuya Nishihara <yuya@tcha.org>
Wed, 04 Apr 2018 20:48:37 +0900
changeset 38211 86f980a8cacf
parent 38210 fb5803f4fb87
child 38212 0b932b43868f
hgweb: wrap {edges} of {nodes} of graph with mappinglist This was a list of mappings.
mercurial/hgweb/webcommands.py
--- a/mercurial/hgweb/webcommands.py	Wed Apr 04 20:48:00 2018 +0900
+++ b/mercurial/hgweb/webcommands.py	Wed Apr 04 20:48:37 2018 +0900
@@ -1344,7 +1344,7 @@
             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})