comparison mercurial/graphmod.py @ 9727:d00cee04a746

graphlog: don't pass filectxs to the templater (issue1896)
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Fri, 06 Nov 2009 08:27:17 +0100
parents acd03a6e2426
children 4c844f16bf39
comparison
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):