How are deleted and renamed/moved files handled when merging a feature branch with trunk and reinteg

Posted by Michael Repucci on Stack Overflow See other posts from Stack Overflow or by Michael Repucci
Published on 2010-05-14T21:51:32Z Indexed on 2010/05/14 21:54 UTC
Read the original article Hit count: 288

Filed under:
|
|
|
|

I've got a big-ish project that needs a lot of work on a new feature, so I planned on using a branch to do this work. I haven't had to do this before, and I just wanted to get assurance from an experienced Subversion user that things "should" work smoothly.

What I'm especially concerned with is how well Subversion handles deleted, renamed/moved files between a branch and the trunk. That is, if multiple files are deleted or renamed/moved in the branch, but those files continue to be used and receive changes in the trunk, will merges with the trunk still proceed without a hitch (reworking the branch, of course, as necessary)?

Also, when I then reintegrate the branch with the trunk, if the files differ greatly in name (or existence) between the trunk and branch, will the reintegration be difficult? Will the files deleted (moved) in the branch now be deleted (moved) in the trunk, or will files linger and conflicts emerge?

The SVN book didn't clear up these questions for me, so your experience would be greatly appreciated. Thank you!

© Stack Overflow or respective owner

Related posts about subversion

Related posts about merge