Hello Core-Workflow Group,

On Fri, Apr 22, 2016 at 6:45 PM, Senthil Kumaran wrote:

Here's my plan and a to do:

1. Even though it is a one-time operation, I plan to convert above steps into a trivial tool that we can use and verify independently.
2. Once we are satisfied with our local trials, you could use this tool once to convert the hg repo and push to canonical git repo.

This was the tool I mentioned in the above point.

https://github.com/orsenthil/cpython-hg-to-git

I used this to test migration of small hg repos to github repos and operations were successful. As a test, I could migrate Cpython repo, but it took multiple hours on a fast machine. I assume it is due to python and subprocess overhead. The faster way is to just use hg-git extension directly follow steps documented in the orsenthil/cpython-hg-to-git repo for the sake of consistency.

Brett and I discussed that we might need a way to verify if two repos, hg and git repos are same (that's have the same graph) as we undertake this process. I don't know any offhand comparison commands, but I assume it should be possible. I plan to add that to that tool.

Please share your comments.

Thank you,
Senthil