generatorset: stop using a base as the _genlist
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Oct 2014 20:43:48 -0700
changeset 22796 43f664bf2e1e
parent 22795 c21342159fad
child 22797 61ecabeeadb3
generatorset: stop using a base as the _genlist It does not add anything and makes it more complicated to have a simple baseset implementation.
mercurial/revset.py
--- a/mercurial/revset.py	Fri Oct 03 20:12:02 2014 -0700
+++ b/mercurial/revset.py	Fri Oct 03 20:43:48 2014 -0700
@@ -2622,7 +2622,7 @@
         """
         self._gen = gen
         self._cache = {}
-        self._genlist = baseset([])
+        self._genlist = []
         self._finished = False
         if iterasc is not None:
             if iterasc: