[Bug 3961] New: CVS conversion: unknown exception encountered

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri Jun 14 19:24:46 CDT 2013


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

          Priority: normal
            Bug ID: 3961
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: CVS conversion: unknown exception encountered
          Severity: bug
    Classification: Unclassified
                OS: Other
          Reporter: iam at juanfra.info
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.6.2
         Component: convert
           Product: Mercurial

The conversion from CVS to mercurial fails with this error:

** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.5 (default, Jun  6 2013, 01:22:13) [GCC 4.2.1 20070719 ]
** Mercurial Distributed SCM (version 2.6.2)
** Extensions loaded: pager, color, progress, convert
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 28,
in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 69,
in dispatch
    ret = _runcatch(req)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 97,
in _runcatch
    return _dispatch(req)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
778, in _dispatch
    cmdpats, cmdoptions)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
549, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line
188, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/hgext/color.py", line 405, in
colorcmd
    return orig(ui_, opts, cmd, cmdfunc)
  File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line
188, in wrap
    return wrapper(origfn, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/hgext/pager.py", line 132, in
pagecmd
    return orig(ui, options, cmd, cmdfunc)
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
869, in _runcommand
    return checkargs()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
840, in checkargs
    return cmdfunc()
  File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line
775, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 506, in
check
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/hgext/convert/__init__.py", line
283, in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/usr/local/lib/python2.7/site-packages/hgext/convert/convcmd.py", line
481, in convert
    c.convert(sortmode)
  File "/usr/local/lib/python2.7/site-packages/hgext/convert/convcmd.py", line
374, in convert
    heads = self.source.getheads()
  File "/usr/local/lib/python2.7/site-packages/hgext/convert/cvs.py", line 202,
in getheads
    self._parse()
  File "/usr/local/lib/python2.7/site-packages/hgext/convert/cvs.py", line 65,
in _parse
    mergefrom=self.ui.config('convert', 'cvsps.mergefrom', None))
  File "/usr/local/lib/python2.7/site-packages/hgext/convert/cvsps.py", line
635, in createchangeset
    changesets.sort(cscmp)
  File "/usr/local/lib/python2.7/site-packages/hgext/convert/cvsps.py", line
629, in cscmp
    assert not d
AssertionError

My OS is OpenBSD (-current/amd64) and the CVS client is OpenCVS. The CVS repo
is a local copy of OpenBSD's "src" repo.

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


More information about the Mercurial-devel mailing list