Several days ago I had a post to record the unsuccessful experience to migrate source code from Clearcase to Git.
We have a new way after doing some brain storms. This way still is not a perfect solution, but it’s much better than previous trial.
Git definitely is greatest SCM tool now. The size of Subversion repository is around 10GB, finally the Git repository is less than 700MB, which saves more than 10 times disk space. It’s awesome!
The flaw of this way is that the removed elements in Clearcase(said using Main/LATEST as cspec of Clearcase vob when exporting) would lose after importing into a temporary vob. So switching to a maintenance branch or tag like 1.0/2.0 in Git, the source code is incomplete. The files existed in that branch or tag, then removed in latest code base are lost. The workaround could be manually checking in GA version to have complete code.
If anybody have graceful and perfect solution to migrate Clearcase to Git, I think he could start a new business. :)