##// END OF EJS Templates
revlog: disallow setting uncompressed length to None...
Yuya Nishihara -
r38195:7fa3408f default
parent child Browse files
Show More
@@ -855,7 +855,7 b' class revlog(object):'
855 def rawsize(self, rev):
855 def rawsize(self, rev):
856 """return the length of the uncompressed text for a given revision"""
856 """return the length of the uncompressed text for a given revision"""
857 l = self.index[rev][2]
857 l = self.index[rev][2]
858 if l is not None and l >= 0:
858 if l >= 0:
859 return l
859 return l
860
860
861 t = self.revision(rev, raw=True)
861 t = self.revision(rev, raw=True)
General Comments 0
You need to be logged in to leave comments. Login now