repair: avoid string concatenation by + operator
String concatenation by "+" operator causes failure of extracting
messages to be translated.
Python automatically concatenates strings separated by whitespaces
into one string.
--- a/mercurial/repair.py Sat Apr 25 15:38:06 2015 +0900
+++ b/mercurial/repair.py Sat Apr 25 23:44:53 2015 +0900
@@ -18,7 +18,7 @@
if usebundle2:
cgversion = repo.ui.config('experimental', 'strip-bundle2-version')
if cgversion not in changegroup.packermap:
- repo.ui.warn(_('unknown strip-bundle2-version value %r; ' +
+ repo.ui.warn(_('unknown strip-bundle2-version value %r; '
'should be one of %r\n') %
(cgversion, sorted(changegroup.packermap.keys()),))
cgversion = '01'