Reintegrate a branch vs merge a range of revision

svn

In subversion I made a branch now I want to merge it back into trunk. Which option should I use?

Reintegrate a branch

or

merge a range of revision

I was using Merge a range of revisions, but I was getting all sorts of tree conflict errors. Any idea what the difference is between these two?

Best Answer

When working with a branch, you should periodically merge ranges of revisions from the trunk into the branch to keep the branch in sync. if you don't pass any version numbers to svn merge and your svn server version is 1.5 or newer, it will track the merges you've previously done and automatically merge only newer revisions.

When the branch is finished, you should merge changes into it one last time, then reintegrate it back into the trunk.