[Svnmerge] KeyError on svnmerge.py

Hernan Martinez-Foffani Silva hernan.martinez at ecc.es
Sat Mar 8 12:30:23 PST 2008


2008/3/8, Raman Gupta <rocketraman at fastmail.fm>:
> Hernan Martinez-Foffani Silva wrote:
> > Under Windows we normally don't use LANG.
> > I haven't set LC_ALL either for this test.
>
> Ok, it seems that LC_ALL overrides LC_MESSAGES. If LC_ALL is set, svn
> seems to ignore LC_MESSAGES.
>
> But if LC_ALL and LC_MESSAGES is not set, and LANG is not used, why is
> svn on your Spanish Windows XP producing output in Spanish? Or is it?

That's because the localization library use the OS system calls to get the
locale when the env vars are absent.

  D:\proyectos\svnmerge>set LC_MESSAGES=

  D:\proyectos\svnmerge>set LC_ALL=

  D:\proyectos\svnmerge>set LANG=

  D:\proyectos\svnmerge>svn info
  Ruta: .
  URL: http://svn.collab.net/repos/svn/trunk/contrib/client-side/svnmerge
  Raíz del repositorio: http://svn.collab.net/repos/svn
  UUID del repositorio: 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a
  Revisión: 29795
  Tipo de nodo: directorio
  Agendado: normal
  Autor del último cambio: cmpilato
  Revisión del último cambio: 29784
  Fecha de último cambio: 2008-03-07 21:45:57 +0100 (vie, 07 mar 2008)

D:\proyectos\svnmerge>




More information about the Svnmerge mailing list