Mercurial > hg
changeset 21894:1000348b3aea
revset: remove no longer used _missingancestors revset
This was undocumented.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Sat, 12 Jul 2014 00:37:08 -0700 |
parents | e967c3b08705 |
children | 5809d62e7106 |
files | mercurial/revset.py |
diffstat | 1 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- 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",