generatorset: promote to smartset
authorPierre-Yves David <pierre-yves.david@fb.com>
Fri, 03 Oct 2014 01:55:09 -0500
changeset 22740 f40a57e8fda1
parent 22739 4ed47a1b2d24
child 22741 ef2c1ea8fb2c
generatorset: promote to smartset This is not going to be efficient but we need all basic set classes to be smartsets for the other classes to work.
mercurial/revset.py
--- a/mercurial/revset.py	Fri Oct 03 01:56:57 2014 -0500
+++ b/mercurial/revset.py	Fri Oct 03 01:55:09 2014 -0500
@@ -2721,7 +2721,7 @@
         if self._ascending is not None:
             self._ascending = not self._ascending
 
-class _generatorset(object):
+class _generatorset(abstractsmartset):
     """Wrap a generator for lazy iteration
 
     Wrapper structure for generators that provides lazy membership and can