bug in convert

Christoph Egger Christoph_Egger at gmx.de
Sun Jul 19 18:06:28 CDT 2009


Hi!

I tried to convert netbsd anoncvs src tree into a mercurial repository.

I checked out a clean netbsd cvs tree and then started
the conversion with

   hg convert src src-hg

Conversion failed with:

794600 sys/arch/hpcmips/conf/GENERIC
794700 sys/arch/hpcmips/conf/GENERIC
794800 sys/arch/hpcmips/conf/INSTALL_TX3922
** unknown exception encountered, details follow
** report bug details to http://mercurial.selenic.com/bts/
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 1.3)
** Extensions loaded: convert, rebase
Traceback (most recent call last):
  File "/sw/bin/hg", line 27, in <module>
    mercurial.dispatch.run()
  File "/sw/lib/python2.5/site-packages/mercurial/dispatch.py", line 16,
in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/sw/lib/python2.5/site-packages/mercurial/dispatch.py", line 27,
in dispatch
    return _runcatch(u, args)
  File "/sw/lib/python2.5/site-packages/mercurial/dispatch.py", line 43,
in _runcatch
    return _dispatch(ui, args)
  File "/sw/lib/python2.5/site-packages/mercurial/dispatch.py", line
449, in _dispatch
    return runcommand(lui, repo, cmd, fullargs, ui, options, d)
  File "/sw/lib/python2.5/site-packages/mercurial/dispatch.py", line
317, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/sw/lib/python2.5/site-packages/mercurial/dispatch.py", line
501, in _runcommand
    return checkargs()
  File "/sw/lib/python2.5/site-packages/mercurial/dispatch.py", line
454, in checkargs
    return cmdfunc()
  File "/sw/lib/python2.5/site-packages/mercurial/dispatch.py", line
448, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/sw/lib/python2.5/site-packages/mercurial/util.py", line 370, in
check
    return func(*args, **kwargs)
  File "/sw/lib/python2.5/site-packages/hgext/convert/__init__.py", line
232, in convert
    return convcmd.convert(ui, src, dest, revmapfile, **opts)
  File "/sw/lib/python2.5/site-packages/hgext/convert/convcmd.py", line
395, in convert
    c.convert(sortmode)
  File "/sw/lib/python2.5/site-packages/hgext/convert/convcmd.py", line
311, in convert
    heads = self.source.getheads()
  File "/sw/lib/python2.5/site-packages/hgext/convert/cvs.py", line 292,
in getheads
    self._parse()
  File "/sw/lib/python2.5/site-packages/hgext/convert/cvs.py", line 81,
in _parse
    db = cvsps.createlog(self.ui, cache=cache)
  File "/sw/lib/python2.5/site-packages/hgext/convert/cvsps.py", line
299, in createlog
    assert match, _('expected revision number')
AssertionError: expected revision number
cvs [rlog aborted]: received broken pipe signal





More information about the Mercurial mailing list