hgkw/keyword.py
branchsolo-extension
changeset 52 7783eb22de30
parent 51 1ecb6ec5d16b
child 53 b0db8ec7ac78
--- a/hgkw/keyword.py	Thu Dec 28 18:41:54 2006 +0100
+++ b/hgkw/keyword.py	Fri Dec 29 12:58:06 2006 +0100
@@ -13,7 +13,7 @@
 There are many good reasons why this is not needed in a distributed
 SCM, still it may be useful in very small projects based on single
 files (like LaTeX packages), that are mostly addressed to an audience
-not running version control.
+not running a version control system.
 
 The extension consists actually in 2 parts:
 
@@ -108,14 +108,14 @@
 
         def size(self, rev):
             '''Overrides filelog's size() to use kwfilelog.read().'''
-            node = self.node(rev)
-            if self.renamed(node):
+            node = revlog.node(self, rev)
+            if super(kwfilelog, self).renamed(node):
                 return len(self.read(node))
             return revlog.size(self, rev)
 
         def cmp(self, node, text):
             '''Overrides filelog's cmp() to use kwfilelog.read().'''
-            if self.renamed(node):
+            if super(kwfilelog, self).renamed(node):
                 t2 = self.read(node)
                 return t2 != text