[issue980] hg convert CVS->hg fails if files reappear

Armin Gruner mercurial-bugs at selenic.com
Tue Feb 12 09:43:54 CST 2008


New submission from Armin Gruner <ag-hg at muc.de>:

If a file adds on a branch, and later reappears on the HEAD,
"hg convert" fails:

initializing destination TEST-hg 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 b7f44f01a632)
[...]
  File "/usr/local/lib/python2.5/site-packages/hgext/convert/convcmd.py", line 
38, in convertsource
    return source(ui, path, rev)
  File "/usr/local/lib/python2.5/site-packages/hgext/convert/cvs.py", line 29, 
in __init__
    self._parse()
  File "/usr/local/lib/python2.5/site-packages/hgext/convert/cvs.py", line 104, 
in _parse
    if branch and p[0] == None:
IndexError: list index out of range

Attached file is a complete CVS repository to reproduce the problem.

"cvsps" version is 2.1

----------
files: CVSroot.tar.bz2
messages: 5218
nosy: argv
priority: bug
status: unread
title: hg convert CVS->hg fails if files reappear
topic: convert

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue980>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CVSroot.tar.bz2
Type: application/bzip2
Size: 5237 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080212/34d5f23b/attachment.bin 


More information about the Mercurial-devel mailing list