문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top