Bug#453305: mr: Can't register SVN in non-English environment

2007-11-28 Thread Ben Voui
Package: mr
Version: 0.15
Severity: important

Hello,

in a SVN checkout directory :

$ mr register  
mr: cannot determine svn url

Looking at mr code, svn_register runs the following code to get the
repository URL :
   url=`LANG=C svn info . | grep -i '^URL:' | cut -d ' ' -f 2`

Let’s test this then :

$ LANG=C svn info .
Chemin : .
URL : https://example.com/path/to/repo
Racine du dépôt : https://example.com/path/to/repo

Hrmm, LANG=C does not seem to be respected by SVN.

But :

$ LANGUAGE=C svn info .
Path: .
URL: https://example.com/path/to/repo
Repository Root: https://example.com/path/to/repo

Bye,

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information

-- 
  intrigeri [EMAIL PROTECTED]
  | clé gnupg @ http://intrigeri.boum.org/intrigeri.asc
  | Allez-vous en, ou apprenez qu'un sage, c'est aussi un fou.




Bug#453305: mr: Can't register SVN in non-English environment

2007-11-28 Thread Joey Hess
Ben Voui wrote:
 Hrmm, LANG=C does not seem to be respected by SVN.

Is LANGUAGE set in your environment?

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#453305: mr: Can't register SVN in non-English environment

2007-11-28 Thread intrigeri
Joey Hess wrote (28 Nov 2007 19:11:26 GMT) :
 Ben Voui wrote:
 Hrmm, LANG=C does not seem to be respected by SVN.

 Is LANGUAGE set in your environment?

Here is the output of the locale command :

LANG=fr_FR.UTF-8
LANGUAGE=fr
LC_CTYPE=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=fr_FR.UTF-8

bye,
--
  intrigeri [EMAIL PROTECTED]
  | gnupg key @ http://intrigeri.boum.org/intrigeri.asc
  | The impossible just takes a bit longer.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]