changeset 20751:91a3d50f0e3a

revset: changed orderedlazyset to also extend _orderedsetmixin Now orderedlazyset can use the lazy min and max implementation.
author Lucas Moscovicz <lmoscovicz@fb.com>
date Thu, 13 Mar 2014 11:36:45 -0700
parents d4f2f2d74210
children 6744f4621434
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
     """