Comments
Patch
@@ -3928,7 +3928,8 @@
except IOError as inst:
if inst.errno != errno.ENOENT:
raise
- raise error.Abort(_("no graft state found, can't continue"))
+ cmdutil.wrongtooltocontinue(repo,
+ _("no graft state found, can't continue"))
else:
cmdutil.checkunfinished(repo)
cmdutil.bailifchanged(repo)
@@ -40,6 +40,14 @@
|
o test@0.public: 0
+Can't continue without starting:
+
+ $ hg rm -q e
+ $ hg graft --continue
+ abort: no graft state found, can't continue
+ (continue: hg commit)
+ [255]
+ $ hg revert -r . -q e
Need to specify a rev: