Question

I bundle changes from one repository, email them to another machine and apply them there to a repository (for a workflow description see this question).

Suddenly I get the following error message (when applying a bundle with a command like hg unbundle -u "bundle_123.hg"):

adding changesets transaction abort!
rollback completed 
abort: 00changelog.i@24ecac5680c1: unknown parent!

How can I apply this bundle despite the "unknown parent"? I hoped for a --forceoption, but unbundle doesn't have one...

Or can I avoid this error in an other way?

Was it helpful?

Solution

Short answer: you can't unbundle this bundle, because autonomous changesets are impossible in Mercurial

You don't have parent of 24ecac5680c1 (?) CSET in destination repository (while you must have it) - your bundle is bad and you selected wrong base on bundling

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top