Mercurial > public > mercurial-scm > hg-stable
diff hgext/graphlog.py @ 7383:b501c7f3c2ad
graphlog: fix regression with filelogs introduced by 7bc62ebe7693
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Sun, 16 Nov 2008 20:55:30 +0100 |
parents | ef22cb8896d6 |
children | df0962f6c54e |
line wrap: on
line diff
--- a/hgext/graphlog.py Sat Nov 15 15:57:12 2008 +0100 +++ b/hgext/graphlog.py Sun Nov 16 20:55:30 2008 +0100 @@ -40,7 +40,7 @@ filerev = len(repo.file(path)) - 1 while filerev >= 0: fctx = repo.filectx(path, fileid=filerev) - parents = [f.filerev() for f in fctx.parents() if f.path() == path] + parents = [f.linkrev() for f in fctx.parents() if f.path() == path] parents.sort() if fctx.rev() <= start: yield (fctx, parents)