Exception while converting a SVN repository

Issue #256 invalid
Anonymous created an issue

Hello,

after mirroring a SVN repository and trying to convert this I receives the following error:

{{{ revision 83927 has no entries revision 83926 has no entries revision 83925 has no entries revision 83924 has no entries revision 83923 has no entries revision 83922 has no entries revision 83921 has no entries revision 83920 has no entries revision 83919 has no entries revision 83918 has no entries revision 83917 has no entries revision 83916 has no entries revision 83915 has no entries revision 83914 has no entries revision 83913 has no entries revision 83912 has no entries revision 83911 has no entries run hg sink post-conversion action return _dispatch(ui, args) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 590, in _dispatch cmdpats, cmdoptions) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 401, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 641, in _runcommand return checkargs() File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 595, in checkargs return cmdfunc() File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 588, in <lambda> d = lambda: util.checksignature(func)(ui, args, cmdoptions) File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 426, in check return func(*args, kwargs) File "/usr/lib/pymodules/python2.6/hgext/convert/init.py", line 254, in convert return convcmd.convert(ui, src, dest, revmapfile, opts) File "/usr/lib/pymodules/python2.6/hgext/convert/convcmd.py", line 433, in convert c.convert(sortmode) File "/usr/lib/pymodules/python2.6/hgext/convert/convcmd.py", line 340, in convert parents = self.walktree(heads) File "/usr/lib/pymodules/python2.6/hgext/convert/convcmd.py", line 134, in walktree commit = self.cachecommit(n) File "/usr/lib/pymodules/python2.6/hgext/convert/convcmd.py", line 293, in cachecommit commit = self.source.getcommit(rev) File "/usr/lib/pymodules/python2.6/hgext/convert/subversion.py", line 423, in getcommit commit = self.commits[rev] KeyError: 'svn:ef6021ba-34a7-43f8-afd0-293a55be3bab@111951' unknown exception encountered, please report by visiting http://mercurial.selenic.com/wiki/BugTracker Python 2.6.4rc2 (r264rc2:75497, Oct 20 2009, 02:55:11) [GCC 4.4.1] Mercurial Distributed SCM (version 1.7.3) Extensions loaded: convert Traceback (most recent call last): File "/usr/bin/hg", line 38, in <module> mercurial.dispatch.run() File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 16, in run sys.exit(dispatch(sys.argv[1:])) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 36, in dispatch return _runcatch(u, args) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 58, in _runcatch return _dispatch(ui, args) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 590, in _dispatch cmdpats, cmdoptions) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 401, in runcommand ret = _runcommand(ui, options, cmd, d) File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 641, in _runcommand return checkargs() File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 595, in checkargs return cmdfunc() File "/usr/lib/pymodules/python2.6/mercurial/dispatch.py", line 588, in <lambda> d = lambda: util.checksignature(func)(ui, args, cmdoptions) File "/usr/lib/pymodules/python2.6/mercurial/util.py", line 426, in check return func(*args, kwargs) File "/usr/lib/pymodules/python2.6/hgext/convert/init.py", line 254, in convert return convcmd.convert(ui, src, dest, revmapfile, **opts) File "/usr/lib/pymodules/python2.6/hgext/convert/convcmd.py", line 433, in convert c.convert(sortmode) File "/usr/lib/pymodules/python2.6/hgext/convert/convcmd.py", line 340, in convert parents = self.walktree(heads) File "/usr/lib/pymodules/python2.6/hgext/convert/convcmd.py", line 134, in walktree commit = self.cachecommit(n) File "/usr/lib/pymodules/python2.6/hgext/convert/convcmd.py", line 293, in cachecommit commit = self.source.getcommit(rev) File "/usr/lib/pymodules/python2.6/hgext/convert/subversion.py", line 423, in getcommit commit = self.commits[rev] KeyError: 'svn:ef6021ba-34a7-43f8-afd0-293a55be3bab@111951' root@ubuntu:/var/svn# ^C

The command line looks like :

oot@ubuntu:/var/svn# hg --debug --traceback convert --debug --verbose --datesort --config convert.svn.startrev=83911 --authors /var/data/users.txt file:///var/svn/svn-mirror/ /var/hg/MR_HG_Test | tee convert.log }}}

Comments (2)

  1. Log in to comment