[Bug 4625] New: hg 3.3.3 - trying to convert from hg to svn fails "list index out of range"

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Apr 27 02:02:16 UTC 2015


http://bz.selenic.com/show_bug.cgi?id=4625

          Priority: normal
            Bug ID: 4625
                CC: durin42 at gmail.com, mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg 3.3.3 - trying to convert from hg to svn fails
                    "list index out of range"
          Severity: bug
    Classification: Unclassified
                OS: Mac OS
          Reporter: alistaircrooks at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: earlier
         Component: convert
           Product: Mercurial

Trying to convert small hg repo to subversion (hg convert --dest-type svn
repo.hg repo.svn --debug --traceback):

converting: 0/2523 revisions (0.00%)
running: svn commit '--username=root>' '--file=/tmp/hg-convert-ErJNRM'
'--encoding=utf-8'
run hg source post-conversion action
Traceback (most recent call last):
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/dispatch.py", line 140,
in _runcatch
    return _dispatch(req)
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/dispatch.py", line 863,
in _dispatch
    cmdpats, cmdoptions)
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/dispatch.py", line 624,
in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/dispatch.py", line 954,
in _runcommand
    return checkargs()
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/dispatch.py", line 925,
in checkargs
    return cmdfunc()
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/dispatch.py", line 860,
in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/pkg/lib/python2.7/site-packages/mercurial/util.py", line 711, in
check
    return func(*args, **kwargs)
  File "/usr/pkg/lib/python2.7/site-packages/hgext/convert/__init__.py", line
338, in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/usr/pkg/lib/python2.7/site-packages/hgext/convert/convcmd.py", line
533, in convert
    c.convert(sortmode)
  File "/usr/pkg/lib/python2.7/site-packages/hgext/convert/convcmd.py", line
450, in convert
    self.copy(c)
  File "/usr/pkg/lib/python2.7/site-packages/hgext/convert/convcmd.py", line
418, in copy
    source, self.map, full)
  File "/usr/pkg/lib/python2.7/site-packages/hgext/convert/subversion.py", line
1285, in putcommit
    return parents[0]

The trailing ">" on the username looks suspicious.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list