revset: changed orderedlazyset to also extend _orderedsetmixin
authorLucas Moscovicz <lmoscovicz@fb.com>
Thu, 13 Mar 2014 11:36:45 -0700
changeset 20751 91a3d50f0e3a
parent 20750 d4f2f2d74210
child 20752 6744f4621434
revset: changed orderedlazyset to also extend _orderedsetmixin Now orderedlazyset can use the lazy min and max implementation.
mercurial/revset.py
--- a/mercurial/revset.py	Thu Mar 13 11:36:11 2014 -0700
+++ b/mercurial/revset.py	Thu Mar 13 11:36:45 2014 -0700
@@ -2367,7 +2367,7 @@
     def filter(self, l):
         return lazyset(self, l)
 
-class orderedlazyset(lazyset):
+class orderedlazyset(_orderedsetmixin, lazyset):
     """Subclass of lazyset which subset can be ordered either ascending or
     descendingly
     """