comparison mercurial/revlog.py @ 3126:cff3c58a5766

fix warnings spotted by pychecker
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 18 Sep 2006 17:43:31 +0200
parents e7fc04dc6349
children b1db258e875c
comparison
equal deleted inserted replaced
3125:2e043c9a38a6 3126:cff3c58a5766
114 not a duplicate. This requires loading the entire index, 114 not a duplicate. This requires loading the entire index,
115 which is fairly slow. loadmap can load up just the node map, 115 which is fairly slow. loadmap can load up just the node map,
116 which takes much less time. 116 which takes much less time.
117 """ 117 """
118 if self.allmap: return 118 if self.allmap: return
119 start = 0
120 end = self.datasize 119 end = self.datasize
121 self.allmap = 1 120 self.allmap = 1
122 cur = 0 121 cur = 0
123 count = 0 122 count = 0
124 blocksize = self.s * 256 123 blocksize = self.s * 256