mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
revset: changed addset to extend _orderedsetmixin
Now _addset can use the lazy min and max implementation.
This commit is contained in:
parent
5b4ec0c02e
commit
3bb3a9b599
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user