hg convert stalls (perhaps due to umlauts)
Marko Kaening
mk362 at mch.osram.de
Tue Jun 17 09:19:57 CDT 2008
Hi,
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)
---
I do not know how to find out which file name bugged hg, but I guess it's
connected to umlauts (same error message like in Lars Kuhtz's post on
subject "German umlauts in file names.")
Regards,
Marko
More information about the Mercurial
mailing list