# HG changeset patch # User Siddharth Agarwal # Date 1405150628 25200 # Node ID 1000348b3aea889b8fb16715297e175e1aab5c82 # Parent e967c3b08705b50a394d92539e31fee8a9ce3381 revset: remove no longer used _missingancestors revset This was undocumented. diff -r e967c3b08705 -r 1000348b3aea 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",