verify: drop unnecessary check for nullid
authorMartin von Zweigbergk <martinvonz@google.com>
Tue, 02 Feb 2016 09:46:14 -0800
changeset 28112 334a3aa677fb
parent 28111 06205989264b
child 28113 d2e0d57824c2
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.
mercurial/verify.py
--- a/mercurial/verify.py	Sun Jan 31 00:10:56 2016 -0800
+++ b/mercurial/verify.py	Tue Feb 02 09:46:14 2016 -0800
@@ -235,8 +235,6 @@
         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))