[issue787] convert cvs source stopped working in 0.9.5
ulpfr
mercurial-bugs at selenic.com
Tue Oct 23 18:43:07 UTC 2007
New submission from ulpfr <pfeifer at wait.de>:
When switching from 0.9.4 to 0.9.5, the conversion of my CVS repositories break
here:
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 0.9.5)
Traceback (most recent call last):
File "/usr/bin/hg", line 14, in ?
mercurial.dispatch.run()
File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 29, in
dispatch
return _runcatch(u, args)
File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 45, in
_runcatch
return _dispatch(ui, args)
File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 348, in
_dispatch
ret = _runcommand(ui, options, cmd, d)
File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 401, in
_runcommand
return checkargs()
File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 357, in
checkargs
return cmdfunc()
File "/usr/lib/python2.4/site-packages/mercurial/dispatch.py", line 342, in
<lambda>
d = lambda: func(ui, *args, **cmdoptions)
File "/usr/lib/python2.4/site-packages/hgext/convert/__init__.py", line 362,
in convert
opts.get('rev'))
File "/usr/lib/python2.4/site-packages/hgext/convert/__init__.py", line 38, in
convertsource
return source(ui, path, rev)
File "/usr/lib/python2.4/site-packages/hgext/convert/cvs.py", line 25, in __init__
self._parse()
File "/usr/lib/python2.4/site-packages/hgext/convert/cvs.py", line 103, in _parse
rev = rev.split("->")[1]
IndexError: list index out of range
When doing some printf debugging, I see that it dies chewing on a mangeled line.
removing this line:
cvs.py:46 cmd += " 2>&1"
does seem to cure the problem.
Please let me know if you need more evidence.
Ulrich
----------
messages: 4164
nosy: ulpfr
priority: bug
status: unread
title: convert cvs source stopped working in 0.9.5
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue787>
____________________________________________________
More information about the Mercurial-devel
mailing list