# HG changeset patch # User Dirkjan Ochtman # Date 1226667565 -3600 # Node ID 2e610bc63d9e2b5a34ab23781417d203937bce06 # Parent 6fccffd4059af4240926b7bb37c4bd7c3f3c1b47 cmdutil: use change contexts for cset-printer and cset-templater [ original uptstream description ] diff -r 6fccffd4059a -r 2e610bc63d9e hgkw/keyword.py --- a/hgkw/keyword.py Mon Nov 03 16:48:23 2008 +0100 +++ b/hgkw/keyword.py Fri Nov 14 13:59:25 2008 +0100 @@ -153,7 +153,7 @@ kw = mobj.group(1) self.ct.use_template(self.templates[kw]) self.ui.pushbuffer() - self.ct.show(changenode=node, root=self.repo.root, file=path) + self.ct.show(self.repo[node], root=self.repo.root, file=path) ekw = templatefilters.firstline(self.ui.popbuffer()) return '$%s: %s $' % (kw, ekw) return subfunc(kwsub, data)