hg convert (cvs) not working incrementally anymore?

Christian Ebert blacktrash at gmx.net
Sun Aug 19 08:49:56 CDT 2007


Hello,

I used to run hg convert incrementally. Since a few days with
Mercurial crew it fails like so (reduced example):

$ hg --debug convert --datesort -r 1 vim7
assuming destination vim7-hg
initializing destination vim7-hg repository
connecting to :pserver:anonymous at vim.cvs.sourceforge.net:/cvsroot/vim
scanning source...
sorting...
converting...
0 Initial revision
README.txt
Writing author map file vim7-hg/.hg/authormap
$ hg --debug convert --datesort -r 2 vim7
assuming destination vim7-hg
destination vim7-hg is a Mercurial repository
connecting to :pserver:anonymous at vim.cvs.sourceforge.net:/cvsroot/vim
scanning source...
sorting...
converting...
0 This is the experimental Vim 7 code.  Much work to be done...
** unknown exception encountered, details follow
** report bug details to http://www.selenic.com/mercurial/bts
** or mercurial at selenic.com
** Mercurial Distributed SCM (version 18b71db59d5c)
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 14, in <module>
    mercurial.dispatch.run()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 348, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 401, in _runcommand
    return checkargs()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 357, in checkargs
    return cmdfunc()
  File "/usr/local/lib/python2.5/site-packages/mercurial/dispatch.py", line 342, in <lambda>
    d = lambda: func(ui, *args, **cmdoptions)
  File "/usr/local/lib/python2.5/site-packages/hgext/convert/__init__.py", line 445, in _convert
    c.convert()
  File "/usr/local/lib/python2.5/site-packages/hgext/convert/__init__.py", line 250, in convert
    self.copy(c)
  File "/usr/local/lib/python2.5/site-packages/hgext/convert/__init__.py", line 199, in copy
    pbranch = self.commitcache[commit.parents[0]].branch
KeyError: '1'

Anybody else experiencing something like it?

c
-- 
keyword extension for Mercurial (http://selenic.com/mercurial):
<http://www.blacktrash.org/hg/hgkeyword/>
Mercurial crew development repository + keyword extension:
<http://www.blacktrash.org/hg/hg-crew-keyword/>


More information about the Mercurial mailing list