Show More
@@ -550,8 +550,7 b' class revlog(object):' | |||||
550 | return self.index[rev][3] |
|
550 | return self.index[rev][3] | |
551 | def flags(self, rev): |
|
551 | def flags(self, rev): | |
552 | return self.index[rev][0] & 0xFFFF |
|
552 | return self.index[rev][0] & 0xFFFF | |
553 |
|
553 | def rawsize(self, rev): | ||
554 | def size(self, rev): |
|
|||
555 | """return the length of the uncompressed text for a given revision""" |
|
554 | """return the length of the uncompressed text for a given revision""" | |
556 | l = self.index[rev][2] |
|
555 | l = self.index[rev][2] | |
557 | if l >= 0: |
|
556 | if l >= 0: | |
@@ -559,6 +558,7 b' class revlog(object):' | |||||
559 |
|
558 | |||
560 | t = self.revision(self.node(rev)) |
|
559 | t = self.revision(self.node(rev)) | |
561 | return len(t) |
|
560 | return len(t) | |
|
561 | size = rawsize | |||
562 |
|
562 | |||
563 | def reachable(self, node, stop=None): |
|
563 | def reachable(self, node, stop=None): | |
564 | """return the set of all nodes ancestral to a given node, including |
|
564 | """return the set of all nodes ancestral to a given node, including |
General Comments 0
You need to be logged in to leave comments.
Login now