crash while converting a csv-module to mercurial via hg convert
Stefan Rücker
s.ruecker at gmx.de
Mon Sep 1 09:14:41 CDT 2008
Dear Sir or Madam,
i was trying to convert a cvs module called vera into a mercurial repository,
since I've no experiences with mercurial I tried the simplest conversion just
to see the result of that. The command I used:
# stefan at neptun:~/myfiles/dev/checkout$ hg convert vera/
An infomation that might be helpful:
KeyError: 'vera_013' where vera_013 is a branch name.
conversion.log.zip contains the whole conversion info.
repository.targ.gz is a very small extract from the original cvs-module you
should be able to reproduce the error with that repository. If you need more
information don't hesitate to contact me.
Yours sincerly
Stefan Rücker
The Trace:
--------------
initializing destination 2 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.1)
Traceback (most recent call last):
File "/usr/bin/hg", line 20, in <module>
mercurial.dispatch.run()
File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 20, in
run
sys.exit(dispatch(sys.argv[1:]))
File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 29, in
dispatch
return _runcatch(u, args)
File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 45, in
_runcatch
return _dispatch(ui, args)
File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 364, in
_dispatch
ret = _runcommand(ui, options, cmd, d)
File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 417, in
_runcommand
return checkargs()
File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 373, in
checkargs
return cmdfunc()
File "/var/lib/python-support/python2.5/mercurial/dispatch.py", line 358, in
<lambda>
d = lambda: func(ui, *args, **cmdoptions)
File "/var/lib/python-support/python2.5/hgext/convert/__init__.py", line
127, in convert
return convcmd.convert(ui, src, dest, revmapfile, **opts)
File "/var/lib/python-support/python2.5/hgext/convert/convcmd.py", line 335,
in convert
opts.get('rev'))
File "/var/lib/python-support/python2.5/hgext/convert/convcmd.py", line 50,
in convertsource
return source(ui, path, rev)
File "/var/lib/python-support/python2.5/hgext/convert/cvs.py", line 31, in
__init__
self._parse()
File "/var/lib/python-support/python2.5/hgext/convert/cvs.py", line 76, in
_parse
self.parent[id] = self.lastbranch[ancestor]
KeyError: 'vera_013'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conversion.log.zip
Type: application/x-zip
Size: 7652 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080901/b42522c8/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repository.tar.bz2
Type: application/x-tbz
Size: 8911341 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial/attachments/20080901/b42522c8/attachment-0003.bin
More information about the Mercurial
mailing list