hg convert from svn stalls due to umlaut in path

Marko Kaening mk362 at mch.osram.de
Wed Jun 18 05:58:51 CDT 2008


Hi again,

During convert of a svn repo I got into trouble:

---
>     copyto_path = path + entry[len(copyfrom_entry):]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 41: 
> ordinal
>  not in range(128)
> 
---

Turned out that this position in the path contained indeed an umlaut, the 
letter 'ü' = 'ue'.

The repo was always hosted on linux, checks out fine on linux as well as 
on Windows.

So, I guess, I seem to have a problem setting up hg right?!

Here is my locale:

---

kaening at flmpc35:~> locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

---

Am using mercurial version 1.0.

Regards,
Marko


More information about the Mercurial mailing list