mercurialperforcemercurial-convert

hg convert not actually converting?


I run the following hg command and see a whole bunch of revision numbers & their messages fly past my screen, but when it finishes the destination hg repository is empty.

hg convert -s p4 //depot/proj1/... c:\hg\proj1 --config convert.p4.startrev=1267

What am I doing wrong?


Solution

  • It turned out my Perforce database had a bit of corruption in very early changesets. Once I told the convert extension to start at a later change set, the conversion went without a hitch.