mercurial/scmutil.py
changeset 32172 448ed4d3ee90
parent 32152 994b0b1c77d6
child 32269 ed2c44741190
--- a/mercurial/scmutil.py	Fri May 05 14:10:58 2017 -0700
+++ b/mercurial/scmutil.py	Fri May 05 10:08:36 2017 -0700
@@ -120,10 +120,6 @@
     secretlist = []
     if excluded:
         for n in excluded:
-            if n not in repo:
-                # discovery should not have included the filtered revision,
-                # we have to explicitly exclude it until discovery is cleanup.
-                continue
             ctx = repo[n]
             if ctx.phase() >= phases.secret and not ctx.extinct():
                 secretlist.append(n)