Mercurial > public > mercurial-scm > hg-stable
diff mercurial/graphmod.py @ 6747:f6c00b17387c
use repo[changeid] to get a changectx
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 26 Jun 2008 14:35:46 -0500 |
parents | 0dba955c2636 |
children | 20a5dd5d6dd9 |
line wrap: on
line diff
--- a/mercurial/graphmod.py Thu Jun 26 13:58:24 2008 -0500 +++ b/mercurial/graphmod.py Thu Jun 26 14:35:46 2008 -0500 @@ -69,6 +69,6 @@ edges.append((col, next.index(p), colors[p])) # Yield and move on - yield (repo.changectx(curr_rev), (idx, color), edges) + yield (repo[curr_rev], (idx, color), edges) revs = next curr_rev -= 1