[Svnmerge] KeyError on svnmerge.py

Giovanni Bajo rasky at develer.com
Fri Mar 7 17:14:56 PST 2008


On Fri, 2008-03-07 at 11:56 +0100, Hernán Martínez Foffani wrote:

> >     D:\XXX>svn info
> >     Ruta: .
> >     URL: http://w2ke-02:81/svn/Desa/Genesis/trunk
> >     Raíz del repositorio: http://w2ke-02:81/svn/Desa
> >     UUID del repositorio: cbf5057c-42e0-1449-b341-c420fb338551
> >     Revisión: 5463
> >     Tipo de nodo: directorio
> >     Agendado: normal
> >     Autor del último cambio: ecc\m.martinez
> >     Revisión del último cambio: 5461
> >     Fecha de último cambio: 2008-03-05 16:42:32 +0100 (mié, 05 mar
> > 2008)
> >
> >     D:\XXX>
> >
> > I don't care to have the output of svn in english, unless I've got
> > to reinstall the OS, mind you.
> 
> I couldn't find a way to tell svn (and only the svn client) to send its
> output in english and not in my locale. I can't change my global
> settings because it would affect our development enviroment.
> 
> svnmerge.py might try to read Subversion's LC_MESSAGE translating
> "Repository root" before parsing the output. It won't be an easy
> task and giving that you are all volunteers here I'll refrain
> myself to ask for it.

This is not required. It should be sufficient what svnmerge.py already
does:

# We expect non-localized output from SVN
os.environ["LC_ALL"] = "C"

You might want to try changing that into "LC_MESSAGES" to see if it
makes any difference.
-- 
Giovanni Bajo




More information about the Svnmerge mailing list