Show More
@@ -846,7 +846,7 b' class revlog(object):' | |||||
846 | def rawsize(self, rev): |
|
846 | def rawsize(self, rev): | |
847 | """return the length of the uncompressed text for a given revision""" |
|
847 | """return the length of the uncompressed text for a given revision""" | |
848 | l = self.index[rev][2] |
|
848 | l = self.index[rev][2] | |
849 | if l >= 0: |
|
849 | if l is not None and l >= 0: | |
850 | return l |
|
850 | return l | |
851 |
|
851 | |||
852 | t = self.revision(rev, raw=True) |
|
852 | t = self.revision(rev, raw=True) |
General Comments 0
You need to be logged in to leave comments.
Login now