context: revert workingctx.ancestors() followfirst option
It was introduced by mistake in
352053e6cd8e.
--- 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):