revset: changed addset to extend _orderedsetmixin

Now _addset can use the lazy min and max implementation.
This commit is contained in:
Lucas Moscovicz 2014-03-14 14:43:44 -07:00
parent 5b4ec0c02e
commit 3bb3a9b599

View File

@ -2421,7 +2421,7 @@ class orderedlazyset(_orderedsetmixin, lazyset):
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