diff -r 5329863fb64e -r c5f655d5d8b4 hgkw/keyword.py --- a/hgkw/keyword.py Fri Jun 29 16:21:48 2007 +0200 +++ b/hgkw/keyword.py Fri Jul 13 08:43:39 2007 +0200 @@ -204,6 +204,9 @@ def cmp(self, node, text): '''Removes keyword substitutions for comparison.''' text = self.kwtemplater.shrink(text) + if self.renamed(node): + t2 = super(kwfilelog, self).read(node) + return t2 != text return super(kwfilelog, self).cmp(node, text)