cmdutil: fix untranslatable string in copy
authorMartin Geisler <mg@daimi.au.dk>
Fri, 27 Mar 2009 17:35:00 +0100
changeset 7894 caef5fdf1375
parent 7893 606723f4a327
child 7895 7f158aeab751
child 7902 afddc32b2b3f
cmdutil: fix untranslatable string in copy
mercurial/cmdutil.py
--- 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