
With Subversion 1.8 or higher, I am forced to cherry-pick, which may sometimes produce poor. They were generally effective, but sometimes produced errors and strange conflicts.

Therefore, reintegrating a branch does no longer require the –reintegrate option for correct operation. Before Subversion 1.8 made the reintegrate merge automatic, I was doing merges without the reintegrate option, which were, I suppose, inappropriate 'complete merges'. R' (which is the > recommended way to cleanly undo a reintegrate merge before it's committed, > according to the svn-book).

Now undo by > going to the command line and type 'svn revert. > Let's assume, this worked (or not, it doesn't really matter).
#Subversion reintegrate upgrade
Upgrade to svn 1.8 and dont worrry about it anymore, it will automatically figure out what to do.ĭuring merges which merge all eligible revisions from another branch, Subversion 1.8 will automatically decide whether or not the merge is reintegrating a branch. Use the Reintegrate dialog and enter the branch URL. Note that the (feature) branch can still be used after reintegration, if you keep some things in mind. If you use an older version, you should use the option -reintegrate for reintegration merges. With this version, the tool detects automatically, if a sync merge or a reintegration merge should be used. The -record-only option works with -r and does exactly what you think it does: it marks a revision as merged (or unmerged, if using the '-' revision number negation syntax), without actually changing anything besides the mergeinfo. So, merge (with -reintegrate) when your feature is done and ready for testing. The svn merge command takes two new options: -record-only and -reintegrate. So, the SVN developers removed the option -reintegrate in SVN 1.8. The -reintegrate option that you're asking about is a signal to svn that it should ignore the changes that have been made to your branch as a result of merges from the main branch or trunk. In other words, the temporary branch contains all changes made to the (feature) branch and parent branch.įor some reason, some developers do not understand the difference. One of them is related to reintegrating a branch into the trunk. For subversion < v1.8, the -reintegrate option is critical for reintegrating changes from a branch back into its original line of development so that only changes. Basically that means a temporary clone of the (feature) branch is created, a sync merge is made from the parent branch to the temporary branch, and finally the parent branch is replaced by the temporary branch. There are quite a few SVN commands that I do not use so often but that I need every once in a while. The latter is used to merge a (feature) branch back into the parent branch. The former is used to merge all changes made on the parent branch to the target branch (typically a feature branch), that have not already been merged. Version control – Whats the difference between svn merge –reintegrate and svn merge without reintegrate if Id like to merge a branch onto the trunkĪ sync merge is something completely different than a reintegration merge. Reintegrate Branch to Trunk with Subversion Reintegrate Branch to Trunk with Subversion By Jimmy Bonney JThere are quite a few SVN commands that I do not use so often but that I need every once in a while.
