Mercurial > hg
comparison mercurial/revlog.py @ 21752:e250a482478e stable
revlog: fix check-code error
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sat, 14 Jun 2014 11:49:02 -0500 |
parents | 4ab287c2d337 |
children | 4092d12ba18a |
comparison
equal
deleted
inserted
replaced
21750:4ab287c2d337 | 21752:e250a482478e |
---|---|
917 l = [] | 917 l = [] |
918 ladd = l.append | 918 ladd = l.append |
919 | 919 |
920 # preload the cache | 920 # preload the cache |
921 try: | 921 try: |
922 while 1: | 922 while True: |
923 # ensure that the cache doesn't change out from under us | 923 # ensure that the cache doesn't change out from under us |
924 _cache = self._chunkcache | 924 _cache = self._chunkcache |
925 self._chunkraw(revs[0], revs[-1]) | 925 self._chunkraw(revs[0], revs[-1]) |
926 if _cache == self._chunkcache: | 926 if _cache == self._chunkcache: |
927 break | 927 break |