# HG changeset patch # User Matt Mackall # Date 2014-06-14 16:56:20 # Node ID c00822e0b8ea4b5b3765539002b8991b8d9c3dc6 # Parent f5fd1580a649a3aeb8825266baf996001fa2327f # Parent e250a482478e93cf991d304223e2e426ffdd4f12 merge with stable 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])