[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1654810 - /subversion/trunk/subversion/tests/cmdline/prop_tests.py

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 09 Feb 2015 14:16:08 +0000

Philip Martin <philip_at_codematters.co.uk> writes:

> Philip Martin <philip.martin_at_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*
Received on 2015-02-09 15:17:23 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.