mercurial/verify.py
branchstable
changeset 14865 eb914541a950
parent 13031 3da456d0c885
child 14872 15afa4984a94
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):