# HG changeset patch # User Matt Mackall # Date 1402764542 18000 # Node ID e250a482478e93cf991d304223e2e426ffdd4f12 # Parent 4ab287c2d3378289f0a8125cfba955d1183e472d revlog: fix check-code error diff -r 4ab287c2d337 -r e250a482478e mercurial/revlog.py --- a/mercurial/revlog.py Fri Jun 13 14:17:14 2014 -0500 +++ b/mercurial/revlog.py Sat Jun 14 11:49:02 2014 -0500 @@ -919,7 +919,7 @@ # preload the cache try: - while 1: + while True: # ensure that the cache doesn't change out from under us _cache = self._chunkcache self._chunkraw(revs[0], revs[-1])