yuja added a comment.

  >   - a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -846,7 +846,7 @@ def 
rawsize(self, rev): """return the length of the uncompressed text for a given 
revision""" l = self.index[rev][2]
  > - if l >= 0: +        if l is not None and l >= 0:
  
  Ugh, rawsize could be None? It smells like a bug.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3614

To: pulkit, indygreg, #hg-reviewers
Cc: yuja, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to