Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revset.py @ 20753:13c38b1aeebe
revset: changed addset to extend _orderedsetmixin
Now _addset can use the lazy min and max implementation.
author | Lucas Moscovicz <lmoscovicz@fb.com> |
---|---|
date | Fri, 14 Mar 2014 14:43:44 -0700 |
parents | 6744f4621434 |
children | f15ff553b762 |
line wrap: on
line diff
--- 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