[issue1356] hg convert fails if commits were made to tags

Ewoud Kohl van Wijngaarden mercurial-bugs at selenic.com
Tue Oct 21 11:34:13 CDT 2008


New submission from Ewoud Kohl van Wijngaarden <e.kohlvanwijngaarden at xentaur.nl>:

When I try to convert an SVN-repository to mercurial, it fails. It appears to
resolve when I exclude the tags. However, some of our tags aren't tags but
essentially made branches since someone committed to them.

The following traceback is the result. Attached is the IRC-log in which we
already discussed the issue.

ekohl at par:~/hg$ hg convert --traceback -A svn-authors file:///var/svn/ytw2.0/
ytw-mercurial
scanning source...
sorting...
converting...
Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 45, in
_runcatch
    return _dispatch(ui, args)
  File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 364, in
_dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 417, in
_runcommand
    return checkargs()
  File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 373, in
checkargs
    return cmdfunc()
  File "/var/lib/python-support/python2.4/mercurial/dispatch.py", line 358, in
<lambda>
    d = lambda: func(ui, *args, **cmdoptions)
  File "/var/lib/python-support/python2.4/hgext/convert/__init__.py", line 127,
in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/var/lib/python-support/python2.4/hgext/convert/convcmd.py", line 353,
in convert
    c.convert()
  File "/var/lib/python-support/python2.4/hgext/convert/convcmd.py", line 297,
in convert
    tags = self.source.gettags()
  File "/var/lib/python-support/python2.4/hgext/convert/subversion.py", line
416, in gettags
    tagid = self.latest(source, sourcerev)
  File "/var/lib/python-support/python2.4/hgext/convert/subversion.py", line
476, in latest
    raise util.Abort('%s not found up to revision %d' % (path, stop))
Abort: /trunk/classes/model/communication/TestTSIwebservice.php not found up to
revision 3188
abort: /trunk/classes/model/communication/TestTSIwebservice.php not found up to
revision 3188

----------
assignedto: pmezard
files: mercurial-irc-log
messages: 7627
nosy: ekohl, pmezard
priority: bug
status: unread
title: hg convert fails if commits were made to tags

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1356>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mercurial-irc-log
Type: application/octet-stream
Size: 4120 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20081021/00c7b1cd/attachment.obj 


More information about the Mercurial-devel mailing list