diff mercurial/revset.py @ 23426:19ebd2f88fc7

merge with stable
author Matt Mackall <mpm@selenic.com>
date Mon, 01 Dec 2014 19:34:11 -0600
parents d716b1cec5cf 0c432696dae3
children d5b1a452cc32
line wrap: on
line diff
--- a/mercurial/revset.py	Fri Nov 28 20:16:15 2014 +0100
+++ b/mercurial/revset.py	Mon Dec 01 19:34:11 2014 -0600
@@ -2802,7 +2802,7 @@
                 pass
             return self.first()
         if self:
-            return it.next()
+            return it().next()
         return None
 
     def last(self):
@@ -2816,7 +2816,7 @@
                 pass
             return self.first()
         if self:
-            return it.next()
+            return it().next()
         return None
 
 def spanset(repo, start=None, end=None):