hg export import problem

Matt Mackall mpm at selenic.com
Mon Mar 31 10:22:21 CDT 2008


On Mon, 2008-03-31 at 14:27 +0100, Alpár Jüttner wrote:
> Hi,
> 
> I created a patch containing 3 changesets:
> 
>         hg export 112 113 114 >../three-commits.patch
> 
> then I tried to apply it to another (clean) repo without these changeset
> and I got this:
> 
>         $ hg import --exact ../heap-all.patch
>         applying ../heap-all.patch
>         4 files updated, 0 files merged, 1 files removed, 0 files
>         unresolved
>         rolling back last transaction
>         abort: patch is damaged or loses information

Import does one commit per input file and you can't exactly preserve 3
commit ids in one commit.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list