mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
graphlog: don't pass filectxs to the templater (issue1896)
This commit is contained in:
parent
c66ce37035
commit
82f6492ad3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user