changeset 22740:f40a57e8fda1

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 03 Oct 2014 01:55:09 -0500
parents 4ed47a1b2d24
children ef2c1ea8fb2c
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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