Issues in merging branches
We have two branches. One is a Release Branch (RB) taken from the trunk. The other is a Feature Branch (FB) taken from RB.
We now would like to merge FB back to RB. Ultimately, RB will be merged back to trunk.
I tried to do this with a re-integrate merge, but got the following error:
svn: Cannot reintegrate from 'url://feature-branch'开发者_StackOverflow社区 yet:
Some revisions have been merged under it that have not been merged
into the reintegration target; merge them first, then retry.
Some questions:
Should I be using a re-integrate merge to merge FB into RB or some other method?
Should I ensure that RB is merged into FB before merging FB back to RB?
What is likely causing the above error?
This is with Subversion 1.5
Many thanks
I've had very similar problems myself before and here's how I solved them:
- Firstly, ensure both branches are updated from the trunk
- Do a cleanup
- Ensure FB is updated from RB and fix up any conflicts
- Do a cleanup
- Merge FB into RB and fix up any conflicts
- Do a cleanup
- Merge RB back to the trunk and fix up and conflicts
精彩评论