How to verify history after Mercurial to Git migration

143 views Asked by At

I have converted a Mercurial project ( which has huge history) to Git project using fast-export tool. Now I want to verify that it didn't missed any history in the migration, is there any automation way to cross-check the history?

1

There are 1 answers

0
StayOnTarget On

I have not done this myself, but I would look into re-exporting back to Mercurial from Git. Then compare hg to hg and make sure you get exactly the same thing back. Capturing hg log to a text file for the original and copy, and then diffing the files might work.