On Tue, Nov 11, 2008 at 1:00 PM, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote: > Hi, > > On Tue, 11 Nov 2008, Ondrej Certik wrote: > >> I'd like git to be able to import mercurial-exported patches. > > Have you seen > > http://repo.or.cz/w/fast-export.git/ > > ? > > I had many problems with it, so many that I started to write my own > hg-fast-export together with Dirkjan Ochtman, a very nice Mercurial guy > (actually, he started writing it, and I tried to fix it, but it still does > not work due to merge mishandling). > > But then I saw that finally, they started work on it again. It is > somewhat sloppy, having a large part in Python and a large part in shell, > which could have been avoided, but at least it works. Yes, I use fast-export to convert from hg to git on the fly. But as I understood it, you need to have the whole repository converted. So if someone sends the patch in the mercurial format, I just want to apply it to git, instead of applying it to hg first and then converting. Well, you are right, that this is definitely one way of doing it. But imho if git supported mercurial patches, life would be a lot easier. Ondrej -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html