# HG changeset patch # User Christian Ebert # Date 1183018504 -7200 # Node ID 8713a7a3f5ab1bb6bc2134f06037f5ec6d4aec96 # Parent 1a17c8f20f22912305e05b824201b80df2d409e8 Pass filelog, not kwfilelog, to kwtemplater.expand/context.filectx diff -r 1a17c8f20f22 -r 8713a7a3f5ab hgkw/keyword.py --- a/hgkw/keyword.py Thu Jun 28 10:10:46 2007 +0200 +++ b/hgkw/keyword.py Thu Jun 28 10:15:04 2007 +0200 @@ -194,7 +194,7 @@ def read(self, node): '''Substitutes keywords when reading filelog.''' data = super(kwfilelog, self).read(node) - return self.kwtemplater.expand(node, self, data) + return self.kwtemplater.expand(node, super(kwfilelog, self), data) def add(self, text, meta, tr, link, p1=None, p2=None): '''Removes keyword substitutions when adding to filelog.'''