--- a/mercurial/cmdutil.py Tue Aug 21 21:05:01 2018 +0800
+++ b/mercurial/cmdutil.py Wed Aug 29 09:50:39 2018 -0700
@@ -1207,17 +1207,17 @@
else:
flags = '--force'
if rename:
- hint = _('(hg rename %s to replace the file by '
+ hint = _("('hg rename %s' to replace the file by "
'recording a rename)\n') % flags
else:
- hint = _('(hg copy %s to replace the file by '
+ hint = _("('hg copy %s' to replace the file by "
'recording a copy)\n') % flags
else:
msg = _('%s: not overwriting - file exists\n')
if rename:
- hint = _('(hg rename --after to record the rename)\n')
+ hint = _("('hg rename --after' to record the rename)\n")
else:
- hint = _('(hg copy --after to record the copy)\n')
+ hint = _("('hg copy --after' to record the copy)\n")
ui.warn(msg % reltarget)
ui.warn(hint)
return