##// END OF EJS Templates
hgweb/graph: edge should be same color as the destination
Benoit Boissinot -
r10602:94145b53 default
parent child Browse files
Show More
@@ -115,7 +115,7 b' def colored(dag):'
115 edges.append((ecol, next.index(eid), colors[eid]))
115 edges.append((ecol, next.index(eid), colors[eid]))
116 elif eid == cur:
116 elif eid == cur:
117 for p in parents:
117 for p in parents:
118 edges.append((ecol, next.index(p), colors[p]))
118 edges.append((ecol, next.index(p), color))
119
119
120 # Yield and move on
120 # Yield and move on
121 yield (cur, type, data, (col, color), edges)
121 yield (cur, type, data, (col, color), edges)
General Comments 0
You need to be logged in to leave comments. Login now