comparison mercurial/verify.py @ 14872:15afa4984a94

verify: filter messages about missing null manifests (issue2900)
author Matt Mackall <mpm@selenic.com>
date Wed, 13 Jul 2011 16:28:46 -0500
parents eb914541a950
children 743cc738f704
comparison
equal deleted inserted replaced
14871:3a65e3f34b8c 14872:15afa4984a94
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
179 ui.progress(_('crosschecking'), count, total=total) 181 ui.progress(_('crosschecking'), count, total=total)
180 if f not in filenodes: 182 if f not in filenodes:
181 lr = filelinkrevs[f][0] 183 lr = filelinkrevs[f][0]
182 err(lr, _("in changeset but not in manifest"), f) 184 err(lr, _("in changeset but not in manifest"), f)
183 185