Mercurial > hg
changeset 10602:94145b531cf9
hgweb/graph: edge should be same color as the destination
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sun, 07 Mar 2010 17:44:43 +0100 |
parents | b98b6a7363ae |
children | f511df3a4357 |
files | mercurial/graphmod.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)