Re:Mercurial RFC of a new extension to directly operate on G...
by pdonis on Tuesday October 29, 2019 @08:05PM
(#21393419)
This is only one of a number of differences in the underlying ontologies of mercurial and git. Another is branches: git repositories have no concept of a "branch" in the mercurial sense, what git calls a "branch" is more like an hg bookmark. I'm not sure how a tool like this can deal with such things without either disabling some hg functionality or adding metadata to keep track of the hg stuff that git doesn't track.
[ Parent
| on HN ]
Re:Mercurial RFC of a new extension to directly operate on G...
by sfink on Wednesday October 30, 2019 @09:21PM
(#21404807)
The branch is a wad of metadata included in (attached to?) the commit. It'll somehow have to roundtrip the various metadata.
I doubt it'll ever be 100% complete, but you should be able to get quite a ways. Certainly far enough to make it work using github as your repo of record (and as someone who regularly submits github PRs via hg-git, I have evidence that it can work.)