
So everytime you merge, the svn:mergeinfo property will get updated at the file level and directory level. This is because if you merge at the file level then SVN will maintain a svn:mergeinfo property for that file in addition to maintaining the svn:mergeinfo property for the parent directory. Make sure to merge at the root level of the feature branch. Right click on the branch where you need to merge to and select Merge. (Right click on the root level of the branch + SVN Update)ī. So maybe once every day the developer needs to pull in the changes from the trunk to the feature branch. This way the feature branch catches up with the latest changes in the trunk and merging the branch back to the trunk will not be a pain.
#SUBVERSION REINTEGRATE CODE#
But it is possible that during the time you are working on your feature, other developers may check in bug fixes/other code to trunk that you need to pull in to your feature branch.

You can now check in changes to this feature branch regularly without breaking the trunk build.
#SUBVERSION REINTEGRATE UPDATE#
Update the trunk and make sure it is on the latest revision from where you want to branch out.ī. In this case you should create a feature branch for that particular feature. But if you don't check in the code for a couple of weeks then the trunk might drift too far apart resulting in large number of merge conflicts when you finally decide to check in the code.

If you are working on a feature that might take a couple of weeks to finish, then checking in code at the end of the day or at frequent intervals without completing the feature will break the build which will in turn affect the Test team and the other developers. What do I do if I am working on a feature that might take couple of weeks to finish ? Here are some other possible scenarios :ġ. When all features have been checked in to the trunk and successfully tested, the code can be released and a snapshot of the Project/Release is placed in the 'tags' directory.īut it doesn't always happen that developers check-in and checkout from the trunk alone. Once developers check in changes to the trunk and the build succeeds, a separate Test team can simultaneously test the checked in code/features while developers are working on other features. Typically most teams that use subversion have developers working off of the trunk and checking in changes/bugs to the trunk.
