comparison hgext/hgk.py @ 10282:08a0f04b56bd

many, many trivial check-code fixups
author Matt Mackall <mpm@selenic.com>
date Mon, 25 Jan 2010 00:05:27 -0600
parents 25e572394f5c
children 4612cded5176
comparison
equal deleted inserted replaced
10281:e7d3b509af8b 10282:08a0f04b56bd
184 if full != None: 184 if full != None:
185 l[x] = repo[i + x] 185 l[x] = repo[i + x]
186 l[x].changeset() # force reading 186 l[x].changeset() # force reading
187 else: 187 else:
188 l[x] = 1 188 l[x] = 1
189 for x in xrange(chunk-1, -1, -1): 189 for x in xrange(chunk - 1, -1, -1):
190 if l[x] != 0: 190 if l[x] != 0:
191 yield (i + x, full != None and l[x] or None) 191 yield (i + x, full != None and l[x] or None)
192 if i == 0: 192 if i == 0:
193 break 193 break
194 194