diff -r ed4d06f180b8 -r bd97ed121016 mercurial/commands.py --- a/mercurial/commands.py Sun Feb 14 16:16:17 2016 +0000 +++ b/mercurial/commands.py Thu Feb 04 03:45:44 2016 +0000 @@ -3933,7 +3933,7 @@ except IOError as inst: if inst.errno != errno.ENOENT: raise - raise error.Abort(_("no graft state found, can't continue")) + cmdutil.wrongtooltocontinue(repo, _('graft')) else: cmdutil.checkunfinished(repo) cmdutil.bailifchanged(repo)