# HG changeset patch # User Martin Geisler # Date 1238171700 -3600 # Node ID caef5fdf1375783e8599a03df0fac7af3f1bc84d # Parent 606723f4a3273a8032e9e3b69a7612f301dfd3b5 cmdutil: fix untranslatable string in copy diff -r 606723f4a327 -r caef5fdf1375 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