[issue1185] hg convert from svn stalls due to umlaut in path
Marko Käning
mercurial-bugs at selenic.com
Wed Jun 18 06:14:11 CDT 2008
New submission from Marko Käning <mk362 at mch.osram.de>:
I tried to import one of my bigger svn repositories to hg, but the whole
process stopped somewhere in the middle:
---
.
.
.
1048 movving files to attic.051214
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.0)
Traceback (most recent call last):
File "/usr/bin/hg", line 20, in <module>
mercurial.dispatch.run()
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 20,
in run
sys.exit(dispatch(sys.argv[1:]))
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 29,
in dis
patch
return _runcatch(u, args)
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 45,
in _ru
ncatch
return _dispatch(ui, args)
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 364,
in _d
ispatch
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 417,
in _r
uncommand
return checkargs()
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 373,
in ch
eckargs
return cmdfunc()
File "/usr/lib/python2.5/site-packages/mercurial/dispatch.py", line 358,
in <l
ambda>
d = lambda: func(ui, *args, **cmdoptions)
File "/usr/lib/python2.5/site-packages/hgext/convert/__init__.py", line
127, i
n convert
return convcmd.convert(ui, src, dest, revmapfile, **opts)
File "/usr/lib/python2.5/site-packages/hgext/convert/convcmd.py", line
353, in
convert
c.convert()
File "/usr/lib/python2.5/site-packages/hgext/convert/convcmd.py", line
295, in
convert
self.copy(c)
File "/usr/lib/python2.5/site-packages/hgext/convert/convcmd.py", line
227, in
copy
changes = self.source.getchanges(rev)
File "/usr/lib/python2.5/site-packages/hgext/convert/subversion.py",
line 321,
in getchanges
files, copies = self.expandpaths(rev, paths, parents)
File "/usr/lib/python2.5/site-packages/hgext/convert/subversion.py",
line 671,
in expandpaths
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
----------
messages: 6323
nosy: mkae
priority: bug
status: unread
title: hg convert from svn stalls due to umlaut in path
topic: convert, svn
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1185>
____________________________________________________
More information about the Mercurial-devel
mailing list