--- a/mercurial/subrepo.py Sat Jan 02 16:03:29 2010 +0100
+++ b/mercurial/subrepo.py Sat Jan 02 16:42:00 2010 +0100
@@ -261,7 +261,10 @@
cmd = ['svn'] + commands + [self._path]
cmd = [util.shellquote(arg) for arg in cmd]
cmd = util.quotecommand(' '.join(cmd))
- write, read, err = util.popen3(cmd, newlines=True)
+ env = dict(os.environ)
+ for k in ('LANGUAGE', 'LANG', 'LC_ALL', 'LC_MESSAGES'):
+ env[k] = 'en_US.UTF-8'
+ write, read, err = util.popen3(cmd, env=env, newlines=True)
retdata = read.read()
err = err.read().strip()
if err: