[core-workflow] Time to decide how to convert hg repos to git
Senthil Kumaran
senthil at uthcode.com
Sun May 8 04:08:35 EDT 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/core-workflow/attachments/20160508/206cbc55/attachment.html>
More information about the core-workflow
mailing list