Cornerstone branching/merging

4.6k views Asked by At

I'm currently having problems with the "reintegrate branch" option in cornerstone. I'm getting an error which says "Description 'https://[email protected]/svn/sample/trunk/MyProject@27' must be ancestrally related to 'https://[email protected]/svn/sample/branches/MyProject%201.0@27'".

I'm in a branch "branch/MyProject 1.0" and I'm trying to commit to "trunk/MyProject" by putting it in the "Merge from" field.

If I try to reintegrate it to my main branch, it successfully finishes but it doesn't do anything even after I commit it. The revision number on the main branch isn't reflecting the revision number I'm using even after commit.

Can anyone tell me what I'm doing wrong?

Here's my repository structure

branch/MyProject (direct branch from trunk/, not trunk/MyProject)

branch/MyProject 1.0 (branch from branch/MyProject)

trunk/MyProject

1

There are 1 answers

2
Paker On BEST ANSWER

Seems like branch/MyProject 1.0 was not copied from branch/MyProject. Or maybe the copy-from information was not recorded for some reason. Try to run svn log -v on branch/MyProject 1.0 working copy to see if it was really copied from branch/MyProject. Maybe it was copied from another place.

Also you can try to merge without merge history: svn merge --ignore-ancestry. It may produce conflicts that you'll need to resolve manually.

BTW, I would keep from using of spaces and dots in the folders names. Simply to reduce the risk something will not work because of it.


Also see similar question.