cmdutil: use change contexts for cset-printer and cset-templater
[ original uptstream description ]
--- 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)