[core-workflow] Help needed: best way to convert hg repos to git?

Oleg Broytman phd at phdru.name
Fri Feb 12 03:33:53 EST 2016


On Fri, Feb 12, 2016 at 06:04:19AM +0000, Martin Panter <vadmium+py at gmail.com> wrote:
> One thing I???m slightly curious about is how much the result differs
> from <https://github.com/python/cpython> or other results, and if so,
> what the differences are. The differences could be serious (mangled
> history), or they could be trivial things like stripping trailing
> newlines from commit messages, or skipping commits that don???t change
> any files.

   git-remote-hg that I have been using can be configured to produce
commits compatible with hg-git. If the repo above was created with
hg-git I can rerun my conversion with hg-git compatibility turned on.
Then it may be compared with the mentioned repository.

     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.

More information about the core-workflow mailing list