hgkw/keyword.py
branchstable
changeset 504 2e610bc63d9e
parent 502 6fccffd4059a
child 505 a93358a05b80
--- 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)