# HG changeset patch # User Matt Mackall # Date 2014-06-14 16:49:02 # Node ID e250a482478e93cf991d304223e2e426ffdd4f12 # Parent 4ab287c2d3378289f0a8125cfba955d1183e472d revlog: fix check-code error diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -919,7 +919,7 @@ class revlog(object): # 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])