Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

hg convert from cvs broke branches

I converted an old cvs repository into mercurial via hg convert. Everything seemed to be okay (at least with the default branch) but all feature branches are missing files which haven't been changed in the branch. Is there any way to fix this up?

I'm using version 1.5, convert has been done via hg convert cvs/checkout newrepo.

like image 475
Luminger Avatar asked Dec 20 '25 08:12

Luminger


1 Answers

You are probably better off using cvs2svn to do the conversion, as it has a lot more "lore" built into it for weird corner cases. Then you can run hg convert on the resulting SVN repository. This is what the Mercurial Wiki itself recommends when things go wrong.

like image 100
richq Avatar answered Dec 23 '25 07:12

richq