mercurial/graphmod.py
changeset 10602 94145b531cf9
parent 10264 d6512b3e9ac0
child 12951 101366ad816c
--- 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)