--- a/mercurial/hg.py Mon Jan 04 21:54:46 2016 -0800
+++ b/mercurial/hg.py Thu Dec 31 08:16:59 2015 +0000
@@ -52,7 +52,7 @@
if not hashbranch and not branches:
x = revs or None
if util.safehasattr(revs, 'first'):
- y = revs.first()
+ y = revs.first()
elif revs:
y = revs[0]
else: