--- a/mercurial/commands.py Sat May 26 01:52:42 2018 +0530
+++ b/mercurial/commands.py Fri May 25 17:21:01 2018 +0530
@@ -2226,7 +2226,12 @@
raise error.Abort(_("can't specify --continue and revisions"))
# read in unfinished revisions
if graftstate.exists():
- nodes = _readgraftstate(repo, graftstate)['nodes']
+ statedata = _readgraftstate(repo, graftstate)
+ if statedata.get('date'):
+ opts['date'] = statedata['date']
+ if statedata.get('user'):
+ opts['user'] = statedata['user']
+ nodes = statedata['nodes']
revs = [repo[node].rev() for node in nodes]
else:
cmdutil.wrongtooltocontinue(repo, _('graft'))