schacon/hg-git

The git history of scrapy mirrored by hg-git inverts the merge parent

Closed this issue · 0 comments

With following steps, i set up a git mirror scrapy.git of scrapy hg repository with the newest hg-git (master branch)

$ hg clone http://hg.scrapy.org/scrapy
$ git init --bare scrapy.git
$ cd scrapy
$ hg push git+ssh://localhost:scrapy.git

However, the merge history is incorrect. It seems the parents of merge commits are reverse between hg and git repository: the parents are "a b" in hg repository and "b a" in git repository.

You can see the graph history of the scrapy hg repository from http://hg.scrapy.org/scrapy/graph/d5285c2b5204