author | Yuya Nishihara <yuya@tcha.org> |
Sat, 26 May 2018 11:33:02 +0900 | |
changeset 38177 | 7fa3408f83ef |
parent 38176 | df5f6881cebd |
child 38199 | aea29e81753a |
--- a/mercurial/revlog.py Sat May 26 11:31:51 2018 +0900 +++ b/mercurial/revlog.py Sat May 26 11:33:02 2018 +0900 @@ -855,7 +855,7 @@ def rawsize(self, rev): """return the length of the uncompressed text for a given revision""" l = self.index[rev][2] - if l is not None and l >= 0: + if l >= 0: return l t = self.revision(rev, raw=True)