author | Christian Ebert <blacktrash@gmx.net> |
Fri, 13 Jul 2007 08:43:39 +0200 | |
branch | kwmap-templates |
changeset 174 | c5f655d5d8b4 |
parent 173 | 5329863fb64e |
child 175 | f8e5cafa7b99 |
hgkw/keyword.py | file | annotate | diff | comparison | revisions |
--- 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)