# HG changeset patch # User Dirkjan Ochtman # Date 2009-11-06 07:27:17 # Node ID d00cee04a746b2fa86dbca2c04b104e6d173f483 # Parent 430e59ff3437e160e494947902f7d24c904c0b1e graphlog: don't pass filectxs to the templater (issue1896) diff --git a/mercurial/graphmod.py b/mercurial/graphmod.py --- a/mercurial/graphmod.py +++ b/mercurial/graphmod.py @@ -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