darcs2hg

Dmitriy Morozov morozov at cs.duke.edu
Sun Feb 11 01:01:35 UTC 2007


Hi, 

I'm trying to convert an old darcs repository to mercurial using
contrib/darcs2hg.py, but I get an error:

Traceback (most recent call last):
  File "../mercurial-0.9.3/contrib/darcs2hg.py", line 175, in ?
      hg_commit(hg_repo, text, author, epoch)
  File "../mercurial-0.9.3/contrib/darcs2hg.py", line 110, in hg_commit
      old_tip = hg_tip(hg_repo)
  File "../mercurial-0.9.3/contrib/darcs2hg.py", line 128, in hg_tip
      return int(tip)
  ValueError: invalid literal for int(): 00 +0000

I'm using Mercurial 0.9.3 and Darcs 1.0.8. Does anybody have an idea
of how this can be fixed?

Also are there any tools out there (besides Tailor which is too
complicated for me) to convert Bazaar-NG repository to Mercurial (I
tried out a few different VCSs over the past couple of years, and have
finally settled on Mercurial, but need to convert the old stuff to
it).

Thanks in advance for your help.

Best,
Dmitriy



More information about the Mercurial mailing list