Submitter | Siddharth Agarwal |
---|---|
Date | Dec. 17, 2012, 11:19 p.m. |
Message ID | <aca213182e8fffe65fec.1355786377@sid0x220> |
Download | mbox | patch |
Permalink | /patch/176/ |
State | Accepted |
Commit | 717c692fa4496a2fe48232d1a7e5f96a4f6f17d2 |
Headers | show |
Comments
On 17 Dec 2012, at 5:19 PM, Siddharth Agarwal wrote: > # HG changeset patch > # User Siddharth Agarwal <sid0 at fb.com> > # Date 1355785717 28800 > # Node ID aca213182e8fffe65fecff0af0b373f4c0a3cdfc > # Parent edac5d9c4d2e12e3fe66fb8d60a58a2f1a966bef > revlog: remove incancestors since it is no longer used Queued this series after folding in the changes to #2 that we discussed. Nice work. pacem in terris / ??? / ?????? / ????????? / ?? Kevin R. Bullock
Patch
diff -r edac5d9c4d2e -r aca213182e8f 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.