changeset 7894:caef5fdf1375

cmdutil: fix untranslatable string in copy
author Martin Geisler <mg@daimi.au.dk>
date Fri, 27 Mar 2009 17:35:00 +0100
parents 606723f4a327
children 7f158aeab751 afddc32b2b3f
files mercurial/cmdutil.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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