revlog: remove incancestors since it is no longer used
authorSiddharth Agarwal <sid0@fb.com>
Mon, 17 Dec 2012 15:08:37 -0800
changeset 18083 717c692fa449
parent 18082 40f0c0748cfc
child 18084 ee3b5fb648c7
revlog: remove incancestors since it is no longer used
mercurial/revlog.py
--- a/mercurial/revlog.py	Mon Dec 17 15:08:06 2012 -0800
+++ b/mercurial/revlog.py	Mon Dec 17 15:08:37 2012 -0800
@@ -371,11 +371,6 @@
                     seen.add(parent)
                     yield parent
 
-    def incancestors(self, revs, stoprev=0):
-        """Identical to ancestors() except it also generates the
-        revisions, 'revs'"""
-        return self.ancestors(revs, stoprev, inclusive=True)
-
     def descendants(self, revs):
         """Generate the descendants of 'revs' in revision order.