changeset 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 430e59ff3437
children acb1c59b4514
files mercurial/graphmod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/graphmod.py	Mon Nov 02 11:03:22 2009 -0500
+++ b/mercurial/graphmod.py	Fri Nov 06 08:27:17 2009 +0100
@@ -48,7 +48,7 @@
         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