On Fri, May 03, 2013 at 02:43:36AM -0400, Ehsan Akhgari wrote: > 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.
The hg/git bridge could keep refs with arbitrary names. Or whatever. Really, there's no reason that should be a problem. Mike _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform