I was assigned to merge a few branches back into the trunk in Subversion. Currently the project setup is something like the following.
trunk
branches
BranchA
BranchB
BranchC
tags
// A bunch of tags (1 per release)
The goal is to integrate BranchA
and BranchB
back into the trunk and then have them "hidden" somehow.
I think I know how to do the actual merge. Right click the trunk in a Windows Explorer and TortoiseSVN > Merge...
then Reintegrate a branch
, choose the branch, then merge.
Question 1 - Is this the correct method to use?
I am also unsure what the repository will look like after I do this. We want to make sure no future developers mistakenly work on the old branches.
Question 2 - Will the branch be unworkable after the merge, or will we need to do something else? Can you "delete" a branch? If so, what will happen to the branch history? Or would we need to do something hacky like apply locks to the branch?
Thanks for any help.