# HG changeset patch # User Benoit Boissinot # Date 1267980283 -3600 # Node ID 94145b531cf97bb8002781a0aa02b0e4d2eefe73 # Parent b98b6a7363ae69e0538bfc605d3e056a7b444d79 hgweb/graph: edge should be same color as the destination diff -r b98b6a7363ae -r 94145b531cf9 mercurial/graphmod.py --- a/mercurial/graphmod.py Sat Mar 06 13:29:54 2010 +0100 +++ b/mercurial/graphmod.py Sun Mar 07 17:44:43 2010 +0100 @@ -115,7 +115,7 @@ edges.append((ecol, next.index(eid), colors[eid])) elif eid == cur: for p in parents: - edges.append((ecol, next.index(p), colors[p])) + edges.append((ecol, next.index(p), color)) # Yield and move on yield (cur, type, data, (col, color), edges)