diff -r c64f9e0beead -r a074421fa4e1 mercurial/revset.py --- a/mercurial/revset.py Wed Oct 08 14:03:07 2014 -0500 +++ b/mercurial/revset.py Thu Oct 09 05:27:23 2014 -0700 @@ -2553,7 +2553,7 @@ val2 = None choice = max - if self._ascending: + if ascending: choice = min try: # Consume both iterators in an ordered way until one is