diff -r f82c4e8afe5c -r 7d908ee19b5b mercurial/commands.py --- a/mercurial/commands.py Thu Sep 23 17:05:37 2021 -0400 +++ b/mercurial/commands.py Thu Sep 23 09:38:45 2021 -0700 @@ -1081,7 +1081,7 @@ raise error.StateError(_(b'current bisect revision is a merge')) if rev: if not nodes: - raise error.Abort(_(b'empty revision set')) + raise error.InputError(_(b'empty revision set')) node = repo[nodes[-1]].node() with hbisect.restore_state(repo, state, node): while changesets: