--- 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