revset: remove no longer used _missingancestors revset
authorSiddharth Agarwal <sid0@fb.com>
Sat, 12 Jul 2014 00:37:08 -0700
changeset 21894 1000348b3aea
parent 21893 e967c3b08705
child 21895 5809d62e7106
revset: remove no longer used _missingancestors revset This was undocumented.
mercurial/revset.py
--- a/mercurial/revset.py	Sat Jul 12 00:31:36 2014 -0700
+++ b/mercurial/revset.py	Sat Jul 12 00:37:08 2014 -0700
@@ -1102,16 +1102,6 @@
             return baseset([m])
     return baseset([])
 
-def _missingancestors(repo, subset, x):
-    # i18n: "_missingancestors" is a keyword
-    revs, bases = getargs(x, 2, 2,
-                          _("_missingancestors requires two arguments"))
-    rs = baseset(repo)
-    revs = getset(repo, rs, revs)
-    bases = getset(repo, rs, bases)
-    missing = set(repo.changelog.findmissingrevs(bases, revs))
-    return baseset([r for r in subset if r in missing])
-
 def modifies(repo, subset, x):
     """``modifies(pattern)``
     Changesets modifying files matched by pattern.
@@ -1724,7 +1714,6 @@
     "max": maxrev,
     "merge": merge,
     "min": minrev,
-    "_missingancestors": _missingancestors,
     "modifies": modifies,
     "obsolete": obsolete,
     "origin": origin,
@@ -1796,7 +1785,6 @@
     "max",
     "merge",
     "min",
-    "_missingancestors",
     "modifies",
     "obsolete",
     "origin",