# HG changeset patch # User Thomas Arendsen Hein # Date 1349361868 -7200 # Node ID 70efdc22b1882ef623183356308f6067f241a68c # Parent 3d1a781b23c0173d30205b221931b116904461d6# Parent 6929b9c70be9294a40c5734ef05b35d4ff32e2ad merge with crew-stable diff -r 3d1a781b23c0 -r 70efdc22b188 mercurial/subrepo.py --- a/mercurial/subrepo.py Thu Oct 04 10:11:17 2012 +0200 +++ b/mercurial/subrepo.py Thu Oct 04 16:44:28 2012 +0200 @@ -655,6 +655,10 @@ cmd.append(path) env = dict(os.environ) # Avoid localized output, preserve current locale for everything else. + lc_all = env.get('LC_ALL') + if lc_all: + env['LANG'] = lc_all + del env['LC_ALL'] env['LC_MESSAGES'] = 'C' p = subprocess.Popen(cmd, bufsize=-1, close_fds=util.closefds, stdout=subprocess.PIPE, stderr=subprocess.PIPE,