mercurial/commands.py
changeset 28121 bd97ed121016
parent 28059 740208f6f6af
child 28182 e4fe4e903e97
--- 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)