On Fri, May 3, 2013 at 8:43 AM, Ehsan Akhgari <ehsan.akhg...@gmail.com> wrote: > 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.
It seems like a hg bookmark could be used to keep a pointer to the separate heads. This should create the refs you need when using hg-git. (FWIW, I fully agree that keeping two anonymous heads is probably a bad idea.) Cheers, Dirkjan _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform