[Svnmerge] KeyError on svnmerge.py

Raman Gupta rocketraman at fastmail.fm
Fri Mar 7 07:18:09 PST 2008


Hernán Martínez Foffani wrote:
> 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.

Another solution might be for svnmerge.py to try svn info --xml if it
is available -- I believe that will always output in english. I don't
know when the --xml option was added but it should work for all recent
svn clients.

This shouldn't be a major change, and if you want to attempt it,
patches are welcome.

> For the time being, I'm switching back to an older version.
> Does anybody knows in which version was this feature commited?
> I would like to have the latest version that doesn't include
> "svn info" output parsing.

I believe that svnmerge.py has always done this. However, some recent
commits may have changed the behavior unintentionally as far as the
svn info output is concerned. Can you verify if the problem occurs
with rev 29665?

Cheers,
Raman Gupta

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3515 bytes
Desc: S/MIME Cryptographic Signature
URL: </pipermail/svnmerge/attachments/20080307/470181bd/attachment-0002.bin>


More information about the Svnmerge mailing list