Show More
@@ -31,7 +31,7 b' def _packmeta(meta, keys=None):' | |||
|
31 | 31 | |
|
32 | 32 | class filelog(revlog.revlog): |
|
33 | 33 | def __init__(self, opener, path): |
|
34 |
|
|
|
34 | super(filelog, self).__init__(opener, | |
|
35 | 35 | "/".join(("data", path + ".i"))) |
|
36 | 36 | |
|
37 | 37 | def read(self, node): |
@@ -64,7 +64,7 b' class filelog(revlog.revlog):' | |||
|
64 | 64 | return len(self.read(node)) |
|
65 | 65 | |
|
66 | 66 | # XXX if self.read(node).startswith("\1\n"), this returns (size+4) |
|
67 |
return |
|
|
67 | return super(filelog, self).size(rev) | |
|
68 | 68 | |
|
69 | 69 | def cmp(self, node, text): |
|
70 | 70 | """compare text with a given file revision |
@@ -76,7 +76,7 b' class filelog(revlog.revlog):' | |||
|
76 | 76 | if text.startswith('\1\n'): |
|
77 | 77 | t = '\1\n\1\n' + text |
|
78 | 78 | |
|
79 |
samehashes = not |
|
|
79 | samehashes = not super(filelog, self).cmp(node, t) | |
|
80 | 80 | if samehashes: |
|
81 | 81 | return False |
|
82 | 82 |
General Comments 0
You need to be logged in to leave comments.
Login now