[issue1360] hg convert fails for file-names containing non-ASCII characters

esskov mercurial-bugs at selenic.com
Thu Oct 23 12:31:02 CDT 2008


New submission from esskov <esskov at oncable.dk>:

When doing a hg convert -s git, files and directories with names containing
non-ASCII characters break the migrated repo. Quotes appear in the file-names.
By non-ASCII characters I mean for example é (e') or the Danish letter æ (ae).
I'm using Mercurial 1.0.2 on Ubuntu. 

The following example demonstrates the problem:
-----------------------------------------------

esskov at eclipse:~/src$ hg convert -s git x
assuming destination x-hg
initializing destination x-hg repository
scanning source...
sorting...
converting...
0 my_first_commit

esskov at eclipse:~/src$ cd x-hg
esskov at eclipse:~/src/x-hg$ rm -r *
esskov at eclipse:~/src/x-hg$ hg update
2 files updated, 0 files merged, 0 files removed, 0 files unresolved

esskov at eclipse:~/src$ ls -R x
x:
aæøåb  bæøåc

x/bæøåc:
dëdéd#d%d at d

esskov at eclipse:~/src$ ls -R x-hg
x-hg:
"a\303\246\303\270\303\245b"  "b\303\246\303\270\303\245c

x-hg/"b\303\246\303\270\303\245c:
d\303\253d\303\251d#d%d at d"

----------
messages: 7652
nosy: esskov
priority: bug
status: unread
title: hg convert fails for file-names containing non-ASCII characters

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1360>
____________________________________________________



More information about the Mercurial-devel mailing list