diff -r bb135a784b70 -r 5171937ad0f9 mercurial/commands.py --- a/mercurial/commands.py Sun Jun 23 20:58:01 2019 +0530 +++ b/mercurial/commands.py Sun Jun 23 22:31:31 2019 +0530 @@ -2677,6 +2677,12 @@ ui.status(_("working directory is now at %s\n") % pctx.hex()[:12]) return 0 +statemod.addunfinished( + 'graft', fname='graftstate', clearable=True, stopflag=True, + continueflag=True, abortfunc=cmdutil.hgabortgraft, + cmdhint=_("use 'hg graft --continue' or 'hg graft --stop' to stop") +) + @command('grep', [('0', 'print0', None, _('end fields with NUL')), ('', 'all', None, _('print all revisions that match (DEPRECATED) ')),