revset: changed addset to extend _orderedsetmixin
authorLucas Moscovicz <lmoscovicz@fb.com>
Fri, 14 Mar 2014 14:43:44 -0700
changeset 20753 13c38b1aeebe
parent 20752 6744f4621434
child 20754 f15ff553b762
revset: changed addset to extend _orderedsetmixin Now _addset can use the lazy min and max implementation.
mercurial/revset.py
--- a/mercurial/revset.py	Fri Mar 14 11:41:26 2014 -0700
+++ b/mercurial/revset.py	Fri Mar 14 14:43:44 2014 -0700
@@ -2421,7 +2421,7 @@
         self._subset.reverse()
         self._ascending = not self._ascending
 
-class _addset(object):
+class _addset(_orderedsetmixin):
     """Represent the addition of two sets
 
     Wrapper structure for lazily adding two structures without losing much