# HG changeset patch # User Lucas Moscovicz # Date 1394735771 25200 # Node ID d4f2f2d7421049d5f3ea39c8f47a3eec3e04ffdd # Parent c3e49b127de05e1f48ba464e40a3f82cb4d7541b revset: changed spanset to extend _orderedsetmixin Now spanset can use the lazy min and max methods implementation. diff -r c3e49b127de0 -r d4f2f2d74210 mercurial/revset.py --- 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