hgext/graphlog.py
changeset 7383 b501c7f3c2ad
parent 7379 ef22cb8896d6
child 7426 df0962f6c54e
--- 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)