hgkw/keyword.py
changeset 248 2c222367dab3
parent 246 d232d7082991
child 250 b28a2832cba4
--- a/hgkw/keyword.py	Thu Sep 20 21:14:40 2007 +0100
+++ b/hgkw/keyword.py	Fri Sep 21 20:16:53 2007 +0100
@@ -81,7 +81,7 @@
 '''
 
 from mercurial import commands, cmdutil, context, fancyopts, filelog
-from mercurial import localrepo, templater, util, hg
+from mercurial import localrepo, revlog, templater, util, hg
 from mercurial.i18n import gettext as _
 import getopt, re, shutil, sys, tempfile, time
 
@@ -293,7 +293,7 @@
         if self.renamed(node):
             t2 = super(kwfilelog, self).read(node)
             return t2 != text
-        return super(kwfilelog, self).cmp(node, text)
+        return revlog.revlog.cmp(self, node, text)
 
 def _keywordmatcher(ui, repo):
     '''Collects include/exclude filename patterns for expansion