Show More
@@ -500,6 +500,8 b' class revlog(object):' | |||||
500 |
|
500 | |||
501 | def size(self, rev): |
|
501 | def size(self, rev): | |
502 | """return the length of the uncompressed text for a given revision""" |
|
502 | """return the length of the uncompressed text for a given revision""" | |
|
503 | if rev == nullrev: | |||
|
504 | return 0 | |||
503 | l = -1 |
|
505 | l = -1 | |
504 | if self.version != REVLOGV0: |
|
506 | if self.version != REVLOGV0: | |
505 | l = self.index[rev][2] |
|
507 | l = self.index[rev][2] |
General Comments 0
You need to be logged in to leave comments.
Login now