git svn throws locale related error when built from source
- From
- Anton Mostovoy <git@mostovoy.net>
- Date
- Aug 7, 2008, 15:33 UTC
- Message-ID
- <5C17B49DFD5F456B8701BE301F4B55A1@chi.orbitz.net>
Hi
I built git 1.5.6.3 manually (no package with 1.5.4+ on gutsy), and I am getting the error below when running 'git svn rebase'. svn works fine on its own though. The default locale is set to en_US.UTF-8
svn: error: cannot set LC_ALL locale svn: error: environment variable LANG is en_US.UTF-8 svn: error: please check that your locale name is correct
I found a workaround that works, but it would be nice to have it work properly. $ LANG= git svn rebase
Here is the output of the locale command: $ locale LANG=en_US.UTF-8 LANGUAGE=en-US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
Thanks in advance. -Anton