[issue1743] AttributeError when importing CVS repository
Willem Verstraeten
mercurial-bugs at selenic.com
Fri Jul 17 13:14:38 UTC 2009
New submission from Willem Verstraeten <willem.verstraeten at gmail.com>:
When importing a CVS repository with the following command:
hg convert --config convert.cvsps=builtin --config
convert.cvsps.mergeto='Merged changes from (BRANCH_.*) between .*' -A
cvs2hgauthors --filemap lucy_file_map CVS_working_dir/product/LuciadMap/Lucy/
I get following exception after a while:
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.3)
** Extensions loaded: convert, rebase, bisect, color, graphlog
Traceback (most recent call last):
File "/home/release/bin/hg", line 27, in <module>
mercurial.dispatch.run()
File "/home/release/lib/python/mercurial/dispatch.py", line 16, in run
sys.exit(dispatch(sys.argv[1:]))
File "/home/release/lib/python/mercurial/dispatch.py", line 27, in dispatch
return _runcatch(u, args)
File "/home/release/lib/python/mercurial/dispatch.py", line 43, in _runcatch
return _dispatch(ui, args)
File "/home/release/lib/python/mercurial/dispatch.py", line 449, in _dispatch
return runcommand(lui, repo, cmd, fullargs, ui, options, d)
File "/home/release/lib/python/mercurial/dispatch.py", line 317, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/home/release/lib/python/mercurial/dispatch.py", line 501, in
_runcommand
return checkargs()
File "/home/release/lib/python/mercurial/dispatch.py", line 454, in checkargs
return cmdfunc()
File "/home/release/lib/python/mercurial/dispatch.py", line 448, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/home/release/lib/python/mercurial/util.py", line 370, in check
return func(*args, **kwargs)
File "/home/release/lib/python/hgext/convert/__init__.py", line 232, in
convert
return convcmd.convert(ui, src, dest, revmapfile, **opts)
File "/home/release/lib/python/hgext/convert/convcmd.py", line 395, in convert
c.convert(sortmode)
File "/home/release/lib/python/hgext/convert/convcmd.py", line 311, in convert
heads = self.source.getheads()
File "/home/release/lib/python/hgext/convert/filemap.py", line 193, in
getheads
return self.base.getheads()
File "/home/release/lib/python/hgext/convert/cvs.py", line 292, in getheads
self._parse()
File "/home/release/lib/python/hgext/convert/cvs.py", line 85, in _parse
mergefrom=self.ui.config('convert', 'cvsps.mergefrom', None))
File "/home/release/lib/python/hgext/convert/cvsps.py", line 667, in
createchangeset
while p.synthetic:
AttributeError: 'changeset' object has no attribute 'synthetic'
----------
messages: 10077
nosy: willemv
priority: bug
status: unread
title: AttributeError when importing CVS repository
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1743>
____________________________________________________
More information about the Mercurial-devel
mailing list