mercurial/cmdutil.py
changeset 41387 876494fd967d
parent 41206 6acbe86c6490
child 41396 d75fde22de91
--- a/mercurial/cmdutil.py	Mon Sep 24 14:46:37 2018 -0700
+++ b/mercurial/cmdutil.py	Thu Jan 17 09:17:12 2019 -0800
@@ -1251,10 +1251,6 @@
                 else:
                     ui.warn(_('%s: cannot copy - %s\n') %
                             (relsrc, encoding.strtolocal(inst.strerror)))
-                    if rename:
-                        hint = _("('hg rename --after' to record the rename)\n")
-                    else:
-                        hint = _("('hg copy --after' to record the copy)\n")
                     return True # report a failure
 
         if ui.verbose or not exact: