revset: use _generatorset directly in _revdescendant
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Oct 2014 12:52:17 -0500
changeset 22758 0fc52b01fb9e
parent 22757 d34969a4b1a8
child 22759 6a8c55d73c66
revset: use _generatorset directly in _revdescendant _ascgeneratorset is going away.
mercurial/revset.py
--- a/mercurial/revset.py	Fri Oct 03 12:46:34 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 12:52:17 2014 -0500
@@ -70,7 +70,7 @@
                         yield i
                         break
 
-    return _ascgeneratorset(iterate())
+    return _generatorset(iterate(), iterasc=True)
 
 def _revsbetween(repo, roots, heads):
     """Return all paths between roots and heads, inclusive of both endpoint