diff -r d5588b31bcad -r 56573f49772c hgkw/keyword.py --- 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)