graphlog: don't pass filectxs to the templater (issue1896)

This commit is contained in:
Dirkjan Ochtman 2009-11-06 08:27:17 +01:00
parent c66ce37035
commit 82f6492ad3

View File

@ -48,7 +48,7 @@ def filerevs(repo, path, start, stop):
parents = [f.linkrev() for f in fctx.parents() if f.path() == path]
rev = fctx.rev()
if rev <= start:
yield (rev, CHANGESET, fctx, sorted(parents))
yield (rev, CHANGESET, fctx.changectx(), sorted(parents))
if rev <= stop:
break
filerev -= 1