subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <philip.mar...@wandisco.com>
Subject Re: svn commit: r1654810 - /subversion/trunk/subversion/tests/cmdline/prop_tests.py
Date Mon, 09 Feb 2015 14:16:08 GMT
Philip Martin <philip@codematters.co.uk> writes:

> Philip Martin <philip.martin@wandisco.com> writes:
>
>> # Set C locale for command line programs
>> os.environ['LC_ALL'] = 'C'
>
> Hmm, setting LC_ALL may not do what we want on the command line:
>
> $ LC_ALL=de_DE svn 
> Type 'svn help' for usage.
> $ LC_ALL=de_DE svn ls -v wc/A/f
>       1 pm                  2 Feb 09 12:32 f

That's my Debian box with LANGUAGE set. I have a Fedora laptop that
doesn't have LANGUAGE set and there setting LC_ALL is enough:

$ LC_ALL=de_DE svn
Geben Sie »svn help« für weitere Hilfe ein.

Unsetting LANGUAGE makes LC_ALL take effect on Debian:

$ (unset LANGUAGE ; LC_ALL=de_DE svn)
Geben Sie »svn help« für weitere Hilfe ein.

and LANGUAGE overrides LC_ALL on Fedora:

$ LANGUAGE=en_GB LC_ALL=de_DE svn
Type 'svn help' for usage.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

Mime
View raw message