changeset 38900:49505ec24e8f

sparse: do not include operator in i18n strings
author Yuya Nishihara <yuya@tcha.org>
date Sat, 04 Aug 2018 17:11:03 +0900
parents 257c9846b532
children 1ff45c518e6f
files mercurial/sparse.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/sparse.py	Fri Aug 03 16:39:09 2018 -0700
+++ b/mercurial/sparse.py	Sat Aug 04 17:11:03 2018 +0900
@@ -56,7 +56,7 @@
         elif line == '[include]':
             if havesection and current != includes:
                 # TODO pass filename into this API so we can report it.
-                raise error.Abort(_('%s config cannot have includes ' +
+                raise error.Abort(_('%s config cannot have includes '
                                     'after excludes') % action)
             havesection = True
             current = includes
@@ -72,7 +72,7 @@
                                          'to declare the entry type'))
 
             if line.strip().startswith('/'):
-                ui.warn(_('warning: %s profile cannot use' +
+                ui.warn(_('warning: %s profile cannot use'
                           ' paths starting with /, ignoring %s\n')
                         % (action, line))
                 continue