mercurial/cmdutil.py
changeset 7894 caef5fdf1375
parent 7879 5c4026a289a4
child 7948 de377b1a9a84
--- a/mercurial/cmdutil.py	Thu Mar 26 08:07:28 2009 +0100
+++ b/mercurial/cmdutil.py	Fri Mar 27 17:35:00 2009 +0100
@@ -385,8 +385,10 @@
                     return True # report a failure
 
         if ui.verbose or not exact:
-            action = rename and "moving" or "copying"
-            ui.status(_('%s %s to %s\n') % (action, relsrc, reltarget))
+            if rename:
+                ui.status(_('moving %s to %s\n') % (relsrc, reltarget))
+            else:
+                ui.status(_('copying %s to %s\n') % (relsrc, reltarget))
 
         targets[abstarget] = abssrc