comparison mercurial/verify.py @ 28112:334a3aa677fb

verify: drop unnecessary check for nullid In eb914541a950 (verify: filter messages about missing null manifests (issue2900), 2011-07-13), we started ignoring nullid in the list of manifest nodeids to check. Then, in b32a30da608d (verify: do not choke on valid changelog without manifest, 2012-08-21), we stopped adding nullid to the list to start with. So let's drop the left-over check now.
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 02 Feb 2016 09:46:14 -0800
parents 06205989264b
children d2e0d57824c2
comparison
equal deleted inserted replaced
28111:06205989264b 28112:334a3aa677fb
233 ui.progress(_('checking'), None) 233 ui.progress(_('checking'), None)
234 234
235 if self.havemf: 235 if self.havemf:
236 for c, m in sorted([(c, m) for m in mflinkrevs 236 for c, m in sorted([(c, m) for m in mflinkrevs
237 for c in mflinkrevs[m]]): 237 for c in mflinkrevs[m]]):
238 if m == nullid:
239 continue
240 self.err(c, _("changeset refers to unknown manifest %s") % 238 self.err(c, _("changeset refers to unknown manifest %s") %
241 short(m)) 239 short(m))
242 240
243 return filenodes 241 return filenodes
244 242