sparse: do not include operator in i18n strings
authorYuya Nishihara <yuya@tcha.org>
Sat, 04 Aug 2018 17:11:03 +0900
changeset 38861 49505ec24e8f
parent 38860 257c9846b532
child 38862 1ff45c518e6f
sparse: do not include operator in i18n strings
mercurial/sparse.py
--- 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