ancestor: remove now-unused missingancestors function
authorSiddharth Agarwal <sid0@fb.com>
Fri, 14 Nov 2014 16:53:40 -0800
changeset 23339 5c3a29be8fae
parent 23338 d8f5b2f50f41
child 23340 83225aff0265
ancestor: remove now-unused missingancestors function Callers should use revlog.incrementalmissingrevs instead.
mercurial/ancestor.py
--- 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