changeset 16410 | 80b3d574881f |
parent 16377 | f8ce254e514f |
child 16491 | bfe89d65d651 |
--- a/mercurial/context.py Wed Apr 11 11:25:34 2012 +0200 +++ b/mercurial/context.py Wed Apr 11 11:29:12 2012 +0200 @@ -1003,10 +1003,9 @@ finally: wlock.release() - def ancestors(self, followfirst=False): - cut = followfirst and 1 or None + def ancestors(self): for a in self._repo.changelog.ancestors( - *[p.rev() for p in self._parents[:cut]]): + *[p.rev() for p in self._parents]): yield changectx(self._repo, a) def undelete(self, list):