hg export import problem

Alpár Jüttner alpar at cs.elte.hu
Mon Mar 31 08:27:23 CDT 2008


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
        rolling back last transaction
        abort: patch is damaged or loses information

What is more, it leaves some modified files in the repo.

Where did I make a mistake?


More information about the Mercurial mailing list