mercurial/revset.py
changeset 20754 f15ff553b762
parent 20753 13c38b1aeebe
child 20779 ffc2295c6b80
--- a/mercurial/revset.py	Fri Mar 14 14:43:44 2014 -0700
+++ b/mercurial/revset.py	Tue Feb 18 11:35:03 2014 -0800
@@ -1035,7 +1035,7 @@
     """
     os = getset(repo, spanset(repo), x)
     if os:
-        m = max(os)
+        m = os.max()
         if m in subset:
             return baseset([m])
     return baseset([])
@@ -1072,7 +1072,7 @@
     """
     os = getset(repo, spanset(repo), x)
     if os:
-        m = min(os)
+        m = os.min()
         if m in subset:
             return baseset([m])
     return baseset([])