mercurial/cmdutil.py
changeset 29216 ead25aa27a43
parent 29137 d115cbf5980b
child 29283 14eee72c8d52
--- a/mercurial/cmdutil.py	Mon May 16 21:30:32 2016 +0000
+++ b/mercurial/cmdutil.py	Mon May 16 21:30:53 2016 +0000
@@ -1998,7 +1998,7 @@
         followfirst = 0
     # --follow with FILE behavior depends on revs...
     it = iter(revs)
-    startrev = it.next()
+    startrev = next(it)
     followdescendants = startrev < next(it, startrev)
 
     # branch and only_branch are really aliases and must be handled at