mercurial/commands.py
changeset 27173 8a8f5d71a49a
parent 27172 4d61c847e06c
child 27176 54ace3372f84
--- a/mercurial/commands.py	Wed Dec 02 06:31:12 2015 +0000
+++ b/mercurial/commands.py	Wed Dec 02 06:33:52 2015 +0000
@@ -3867,9 +3867,17 @@
                     # write out state for --continue
                     nodelines = [repo[rev].hex() + "\n" for rev in revs[pos:]]
                     repo.vfs.write('graftstate', ''.join(nodelines))
+                    extra = ''
+                    if opts.get('user'):
+                        extra += ' --user %s' % opts['user']
+                    if opts.get('date'):
+                        extra += ' --date %s' % opts['date']
+                    if opts.get('log'):
+                        extra += ' --log'
+                    hint=_('use hg resolve and hg graft --continue%s') % extra
                     raise error.Abort(
                         _("unresolved conflicts, can't continue"),
-                        hint=_('use hg resolve and hg graft --continue'))
+                        hint=hint)
             else:
                 cont = False