# HG changeset patch # User Martin von Zweigbergk # Date 2016-02-02 17:46:14 # Node ID 334a3aa677fbbbebf4d3cfdc4da417c089beb812 # Parent 06205989264b8cd8a4405d0c3b4f2a57e8cc36cc 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. diff --git a/mercurial/verify.py b/mercurial/verify.py --- a/mercurial/verify.py +++ b/mercurial/verify.py @@ -235,8 +235,6 @@ class verifier(object): if self.havemf: for c, m in sorted([(c, m) for m in mflinkrevs for c in mflinkrevs[m]]): - if m == nullid: - continue self.err(c, _("changeset refers to unknown manifest %s") % short(m))