hgkw/keyword.py
branchstable
changeset 373 56573f49772c
parent 372 d5588b31bcad
child 374 03fc5e667518
--- a/hgkw/keyword.py	Tue Feb 05 18:36:23 2008 +0100
+++ b/hgkw/keyword.py	Tue Feb 05 18:38:00 2008 +0100
@@ -151,8 +151,8 @@
             self.ct.use_template(self.templates[kw])
             self.ui.pushbuffer()
             self.ct.show(changenode=fnode, root=self.repo.root, file=self.path)
-            return '$%s: %s $' % (kw, templatefilters.firstline(
-                self.ui.popbuffer()))
+            ekw = templatefilters.firstline(self.ui.popbuffer())
+            return '$%s: %s $' % (kw, ekw)
 
         return subfunc(kwsub, data)