Mercurial > hg-stable
changeset 20750:d4f2f2d74210
revset: changed spanset to extend _orderedsetmixin
Now spanset can use the lazy min and max methods implementation.
author | Lucas Moscovicz <lmoscovicz@fb.com> |
---|---|
date | Thu, 13 Mar 2014 11:36:11 -0700 |
parents | c3e49b127de0 |
children | 91a3d50f0e3a |
files | mercurial/revset.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Wed Mar 12 16:40:18 2014 -0700 +++ b/mercurial/revset.py Thu Mar 13 11:36:11 2014 -0700 @@ -2692,7 +2692,7 @@ self._cache[x] = False return False -class spanset(object): +class spanset(_orderedsetmixin): """Duck type for baseset class which represents a range of revisions and can work lazily and without having all the range in memory