hgext/histedit.py
changeset 37314 8474005fcfe2
parent 37268 a53b87e20132
child 37505 966061b8826d
--- a/hgext/histedit.py	Sun Apr 01 23:27:50 2018 -0700
+++ b/hgext/histedit.py	Sun Apr 01 23:29:51 2018 -0700
@@ -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', '',