# HG changeset patch # User Lucas Moscovicz # Date 1394833424 25200 # Node ID 13c38b1aeebe6bc55a4f88e79f98ca889b7c5104 # Parent 6744f4621434b184b2d4dfb1ed9d1a94b05ca7dd revset: changed addset to extend _orderedsetmixin Now _addset can use the lazy min and max implementation. diff -r 6744f4621434 -r 13c38b1aeebe mercurial/revset.py --- 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