[PATCH 1 of 2] fix string concatenation in string marked for translation

Martin Geisler mg at daimi.au.dk
Sat Aug 16 07:48:58 CDT 2008


# HG changeset patch
# User Martin Geisler <mg at daimi.au.dk>
# Date 1218890814 -7200
# Node ID cbb7c7249d8fe16f599270aedc1109902138d9ac
# Parent  11229144aa01c91cd83cfee630da400956577d38
fix string concatenation in string marked for translation

diff -r 11229144aa01 -r cbb7c7249d8f hgext/win32mbcs.py
--- a/hgext/win32mbcs.py	Tue Aug 12 17:47:08 2008 +0200
+++ b/hgext/win32mbcs.py	Sat Aug 16 14:46:54 2008 +0200
@@ -93,8 +93,8 @@
         except UnicodeError, exc:
             # If not encoded with _local_fs_encoding, report it then
             # continue with calling original function.
-            _ui.warn(_("WARNING: [win32mbcs] filename conversion fail for" +
-                     " %s: '%s'\n") % (util._encoding, args))
+            _ui.warn(_("WARNING: [win32mbcs] filename conversion fail for"
+                       " %s: '%s'\n") % (util._encoding, args))
             return func(*args)
         # call as unicode operation, then return with encoding
         return encode_with_check(func(*args))


More information about the Mercurial-devel mailing list