mercurial/graphmod.py
changeset 9727 d00cee04a746
parent 8842 acd03a6e2426
child 10084 4c844f16bf39
equal deleted inserted replaced
9726:430e59ff3437 9727:d00cee04a746
    46     while filerev >= 0:
    46     while filerev >= 0:
    47         fctx = repo.filectx(path, fileid=filerev)
    47         fctx = repo.filectx(path, fileid=filerev)
    48         parents = [f.linkrev() for f in fctx.parents() if f.path() == path]
    48         parents = [f.linkrev() for f in fctx.parents() if f.path() == path]
    49         rev = fctx.rev()
    49         rev = fctx.rev()
    50         if rev <= start:
    50         if rev <= start:
    51             yield (rev, CHANGESET, fctx, sorted(parents))
    51             yield (rev, CHANGESET, fctx.changectx(), sorted(parents))
    52         if rev <= stop:
    52         if rev <= stop:
    53             break
    53             break
    54         filerev -= 1
    54         filerev -= 1
    55 
    55 
    56 def nodes(repo, nodes):
    56 def nodes(repo, nodes):