On 2013-05-02 9:40 AM, Mike Hommey wrote:
On Thu, May 02, 2013 at 09:21:57AM -0400, Ehsan Akhgari wrote:
Also, they cannot be represented in git

I doubt this is true. The bridging tools may well not support it, but
there's nothing structural about multiple-head repository that would
prevent them to be mirrored in git.

In git, the only way to have something in your history is for it to be reachable by a ref (for example, a branch name). When you convert an hg repo with a multi-headed branch to git, you can only choose to represent one of those heads by a branch name, and the other head will be left stranded, which means that it cannot be used normally (for example you cannot push it when you push your branch somewhere) and git gc will remove it from your repository since it thinks that it's an unneeded commit.

Ehsan

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to