changeset 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
files mercurial/verify.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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))