[issue1047] unknown exception in convert extension (from subversion)
Dov Feldstern
mercurial-bugs at selenic.com
Sun Mar 23 02:06:35 UTC 2008
New submission from Dov Feldstern <dfeldstern at fastimap.com>:
hg convert --rev=807 file:///home/lyx/svnstore/lyx/lyx-devel (to access the
repos remotely, I think the url is svn://svn.lyx.org/lyx/lyx-devel)
results in the error below. The problem is with rev 807 --- converting up until
806 works just fine, but anything above 806 results in an error at 807. I
started trying to debug this a bit, and got as far as noticing that it's looking
for rev "dialogbase at 807", but the self.commits contains only "trunk at 807". But
I'm not at all familiar with the code, so I don't really know what this means...
Here's the output:
scanning source...
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 49c69e1e4aa2)
Traceback (most recent call last):
File "/home/dov/bin/hg", line 5, in ?
pkg_resources.run_script('mercurial==49c69e1e4aa2', 'hg')
File
"/home/dov/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg/pkg_resources.py",
line 448, in run_script
self.require(requires)[0].run_script(script_name, ns)
File
"/home/dov/lib/python2.4/site-packages/setuptools-0.6c6-py2.4.egg/pkg_resources.py",
line 1166, in run_script
execfile(script_filename, namespace, namespace)
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/EGG-INFO/scripts/hg",
line 14, in ?
mercurial.dispatch.run()
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/mercurial/dispatch.py",
line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/mercurial/dispatch.py",
line 29, in dispatch
return _runcatch(u, args)
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/mercurial/dispatch.py",
line 45, in _runcatch
return _dispatch(ui, args)
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/mercurial/dispatch.py",
line 348, in _dispatch
ret = _runcommand(ui, options, cmd, d)
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/mercurial/dispatch.py",
line 401, in _runcommand
return checkargs()
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/mercurial/dispatch.py",
line 357, in checkargs
return cmdfunc()
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/mercurial/dispatch.py",
line 342, in <lambda>
d = lambda: func(ui, *args, **cmdoptions)
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/hgext/convert/__init__.py",
line 68, in convert
return convcmd.convert(ui, src, dest, revmapfile, **opts)
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/hgext/convert/convcmd.py",
line 341, in convert
c.convert()
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/hgext/convert/convcmd.py",
line 271, in convert
parents = self.walktree(heads)
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/hgext/convert/convcmd.py",
line 99, in walktree
commit = self.cachecommit(n)
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/hgext/convert/convcmd.py",
line 218, in cachecommit
commit = self.source.getcommit(rev)
File
"/home/dov/lib/python2.4/site-packages/mercurial-49c69e1e4aa2-py2.4-linux-i686.egg/hgext/convert/subversion.py",
line 248, in getcommit
commit = self.commits[rev]
KeyError:
u'svn:a592a061-630c-0410-9148-cb99ea01b6c8/lyx-devel/branches/dialogbase at 807'
----------
messages: 5696
nosy: dov
priority: urgent
status: unread
title: unknown exception in convert extension (from subversion)
topic: convert
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1047>
____________________________________________________
More information about the Mercurial-devel
mailing list