changeset 23339:5c3a29be8fae

ancestor: remove now-unused missingancestors function Callers should use revlog.incrementalmissingrevs instead.
author Siddharth Agarwal <sid0@fb.com>
date Fri, 14 Nov 2014 16:53:40 -0800
parents d8f5b2f50f41
children 83225aff0265
files mercurial/ancestor.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/ancestor.py	Fri Nov 14 16:52:40 2014 -0800
+++ b/mercurial/ancestor.py	Fri Nov 14 16:53:40 2014 -0800
@@ -220,10 +220,6 @@
         missing.reverse()
         return missing
 
-def missingancestors(revs, bases, pfunc):
-    inc = incrementalmissingancestors(pfunc, bases)
-    return inc.missingancestors(revs)
-
 class lazyancestors(object):
     def __init__(self, pfunc, revs, stoprev=0, inclusive=False):
         """Create a new object generating ancestors for the given revs. Does