[py-dev] svnwc depends on locale

holger krekel hpk at trillke.net
Mon May 2 13:05:59 CEST 2005


Hi Florian! 

On Mon, May 02, 2005 at 12:44 +0200, Florian Schulze wrote:
> I just found out that py.path.svnwc depends on the locale. I'm using 
> Windows XP with svn 1.1.3 (the installer one) with german locale. As the 
> functions in svnwc parse the output of the commandline utilities, they 
> don't work at all, because they depend on the english output. Any idea how 
> to fix this without the need to delete the message catalogs?

There is a commented hack at the very end of py/path/svnwc/svncommon.py 
which is invoked before issuing svn commands.  Apart from that it is
currently not in use (i didn't test it properly yet although it 
work at some point) i don't know of a solution for win32. 
Is there a way to modify the locale when running a command
on win32? 

cheers, 

    holger


More information about the py-dev mailing list