# HG changeset patch # User Siddharth Agarwal # Date 2012-12-17 23:08:37 # Node ID 717c692fa4496a2fe48232d1a7e5f96a4f6f17d2 # Parent 40f0c0748cfc7c880ca17eb4a07ad74cd00c5d99 revlog: remove incancestors since it is no longer used diff --git a/mercurial/revlog.py b/mercurial/revlog.py --- a/mercurial/revlog.py +++ b/mercurial/revlog.py @@ -371,11 +371,6 @@ class revlog(object): 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.