[issue1332] hg convert from SVN fails with unknown exception

David Smith mercurial-bugs at selenic.com
Thu Oct 9 05:59:12 CDT 2008


New submission from David Smith <david.smith at speed-trap.com>:

I am trying to use hg convert to convert a Subversion repository. I am on a 
Windows XP system so I have had to build Mercurial from sources because of the 
need for the Python SVN  bindings. The build and install seemed to go OK. hg 
debuginstall said there were no problems.

Using the command: hg convert file:///C:/Repositories/Speed-Trap6.2 > hg-
convert.log 2<&1

I get the following error:

C:\Mercurial>python C:\tools\Python25\Scripts\hg convert 
file:///C:/Repositories/Speed-Trap6.2 
assuming destination Speed-Trap6.2-hg
initializing destination Speed-Trap6.2-hg repository
** 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.2)
Traceback (most recent call last):
  File "C:\tools\Python25\Scripts\hg", line 20, in <module>
    mercurial.dispatch.run()
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\mercurial\dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\mercurial\dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\mercurial\dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\mercurial\dispatch.py", line 364, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\mercurial\dispatch.py", line 417, in _runcommand
    return checkargs()
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\mercurial\dispatch.py", line 373, in checkargs
    return cmdfunc()
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\mercurial\dispatch.py", line 358, in <lambda>
    d = lambda: func(ui, *args, **cmdoptions)
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\hgext\convert\__init__.py", line 127, in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\hgext\convert\convcmd.py", line 335, in convert
    opts.get('rev'))
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\hgext\convert\convcmd.py", line 50, in convertsource
    return source(ui, path, rev)
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\hgext\convert\subversion.py", line 208, in __init__
    self.head = self.latest(self.module, latest)
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\hgext\convert\subversion.py", line 483, in latest
    for entry in stream:
  File "c:\tools\python25\lib\site-packages\mercurial-1.0.2-py2.5-
win32.egg\hgext\convert\subversion.py", line 119, in __iter__
    entry = pickle.load(self._stdout)
cPickle.UnpicklingError: invalid load key, '
'.

----------
messages: 7354
nosy: dmsmith
priority: urgent
status: unread
title: hg convert from SVN fails with unknown exception

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



More information about the Mercurial-devel mailing list