comparison mercurial/verify.py @ 14865:eb914541a950 stable

verify: filter messages about missing null manifests (issue2900)
author Matt Mackall <mpm@selenic.com>
date Wed, 13 Jul 2011 16:28:46 -0500
parents 3da456d0c885
children 15afa4984a94
comparison
equal deleted inserted replaced
14864:1b872599f39f 14865:eb914541a950
166 count = 0 166 count = 0
167 if havemf: 167 if havemf:
168 for c, m in sorted([(c, m) for m in mflinkrevs 168 for c, m in sorted([(c, m) for m in mflinkrevs
169 for c in mflinkrevs[m]]): 169 for c in mflinkrevs[m]]):
170 count += 1 170 count += 1
171 if m == nullid:
172 continue
171 ui.progress(_('crosschecking'), count, total=total) 173 ui.progress(_('crosschecking'), count, total=total)
172 err(c, _("changeset refers to unknown manifest %s") % short(m)) 174 err(c, _("changeset refers to unknown manifest %s") % short(m))
173 mflinkrevs = None # del is bad here due to scope issues 175 mflinkrevs = None # del is bad here due to scope issues
174 176
175 for f in sorted(filelinkrevs): 177 for f in sorted(filelinkrevs):