comparison mercurial/verify.py @ 14879:743cc738f704

verify: fix mq misfire
author Matt Mackall <mpm@selenic.com>
date Thu, 14 Jul 2011 12:39:39 -0500
parents 15afa4984a94
children f366d4c2ff34
comparison
equal deleted inserted replaced
14878:ddc4567a3d0b 14879:743cc738f704
174 err(c, _("changeset refers to unknown manifest %s") % short(m)) 174 err(c, _("changeset refers to unknown manifest %s") % short(m))
175 mflinkrevs = None # del is bad here due to scope issues 175 mflinkrevs = None # del is bad here due to scope issues
176 176
177 for f in sorted(filelinkrevs): 177 for f in sorted(filelinkrevs):
178 count += 1 178 count += 1
179 if m == nullid:
180 continue
181 ui.progress(_('crosschecking'), count, total=total) 179 ui.progress(_('crosschecking'), count, total=total)
182 if f not in filenodes: 180 if f not in filenodes:
183 lr = filelinkrevs[f][0] 181 lr = filelinkrevs[f][0]
184 err(lr, _("in changeset but not in manifest"), f) 182 err(lr, _("in changeset but not in manifest"), f)
185 183