Mercurial > hg-stable
changeset 23321:d716b1cec5cf
revset.only: use cl.findmissingrevs
ancestor.missingancestors is really an implementation detail.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 14 Nov 2014 16:38:58 -0800 |
parents | 296b09dcef63 |
children | 000cfc8b3913 |
files | mercurial/revset.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Fri Nov 14 09:33:28 2014 -0800 +++ b/mercurial/revset.py Fri Nov 14 16:38:58 2014 -0800 @@ -10,7 +10,6 @@ import node import heapq import match as matchmod -import ancestor as ancestormod from i18n import _ import encoding import obsolete as obsmod @@ -406,7 +405,7 @@ else: exclude = getset(repo, spanset(repo), args[1]) - results = set(ancestormod.missingancestors(include, exclude, cl.parentrevs)) + results = set(cl.findmissingrevs(common=exclude, heads=include)) return subset & results def bisect(repo, subset, x):