Reputation: 10454
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 --force
option, but unbundle
doesn't have one...
Or can I avoid this error in an other way?
Upvotes: 1
Views: 1093
Reputation: 97305
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
Upvotes: 1