hg export import problem

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Mon Mar 31 14:43:56 CDT 2008


On Mon, 2008-03-31 at 10:33 -0700, Brendan Cully wrote:

> > Import does one commit per input file and you can't exactly preserve 3
> > commit ids in one commit.
> 
> It would be nice if import could notice multiple HG patch headers in a
> single file and do separate commits for each (at least optionally). I
> don't think it's conceptually terribly difficult, but it'll probably
> be a bit fiddly.

+1 from a user: I have been bitten by this many times and end up losing
the exported history during import because I have to use patch -p1 < +
hg ci 

Mathieu



More information about the Mercurial mailing list