diff -r decdb587ea12 -r 5736570718fe mercurial/commands.py --- a/mercurial/commands.py Fri May 25 17:21:01 2018 +0530 +++ b/mercurial/commands.py Sat May 26 02:11:09 2018 +0530 @@ -64,7 +64,6 @@ ) from .utils import ( dateutil, - procutil, stringutil, ) @@ -2365,10 +2364,6 @@ stateversion = 1 graftstate.save(stateversion, statedata) extra = '' - if opts.get('user'): - extra += ' --user %s' % procutil.shellquote(opts['user']) - if opts.get('date'): - extra += ' --date %s' % procutil.shellquote(opts['date']) if opts.get('log'): extra += ' --log' hint=_("use 'hg resolve' and 'hg graft --continue%s'") % extra