diff -r 51f10e6d66c7 -r e2697acd9381 hgext/histedit.py --- a/hgext/histedit.py Tue Oct 02 12:43:54 2018 -0700 +++ b/hgext/histedit.py Wed Oct 03 10:27:44 2018 -0700 @@ -910,7 +910,7 @@ if not outgoing.missing: raise error.Abort(_('no outgoing ancestors')) roots = list(repo.revs("roots(%ln)", outgoing.missing)) - if 1 < len(roots): + if len(roots) > 1: msg = _('there are ambiguous outgoing revisions') hint = _("see 'hg help histedit' for more detail") raise error.Abort(msg, hint=hint)