revset: use _generatorset in _revancestors
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Oct 2014 12:53:41 -0500
changeset 22760 13e179dca666
parent 22759 6a8c55d73c66
child 22761 d3068f7056cd
revset: use _generatorset in _revancestors The _descgeneratorset class is going away.
mercurial/revset.py
--- a/mercurial/revset.py	Fri Oct 03 12:52:49 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 12:53:41 2014 -0500
@@ -46,7 +46,7 @@
                     if parent != node.nullrev:
                         heapq.heappush(h, -parent)
 
-    return _descgeneratorset(iterate())
+    return _generatorset(iterate(), iterasc=False)
 
 def _revdescendants(repo, revs, followfirst):
     """Like revlog.descendants() but supports followfirst."""