diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -916,7 +916,7 @@ msg = _('there are ambiguous outgoing revisions') hint = _("see 'hg help histedit' for more detail") raise error.Abort(msg, hint=hint) - return repo.lookup(roots[0]) + return repo[roots[0]].node() @command('histedit', [('', 'commands', '',