diff -r c7d543eebe1a -r 202291a280fb mercurial/scmutil.py --- a/mercurial/scmutil.py Fri Mar 21 17:20:56 2014 -0500 +++ b/mercurial/scmutil.py Thu Mar 20 17:34:02 2014 -0700 @@ -471,9 +471,7 @@ l = revrange(repo, revs) if len(l) == 0: - if revs: - raise util.Abort(_('empty revision range')) - return repo.dirstate.p1(), None + raise util.Abort(_('empty revision range')) if len(l) == 1 and len(revs) == 1 and _revrangesep not in revs[0]: return repo.lookup(l[0]), None