How can I merge two SubVersion branches to one working copy without committing?

Posted by Eric Belair on Programmers See other posts from Programmers or by Eric Belair
Published on 2012-09-14T13:46:43Z Indexed on 2012/09/14 15:48 UTC
Read the original article Hit count: 421

Filed under:
|
|

My current SubVersion workflow is like so:

  1. The trunk is used to make small content changes and bug fixes to the main source code.
  2. Branches are used for adding/editing enhancements and projects.

So, trunk changes are made, tested, committed and deployed pretty quickly. Whereas, enhancements and projects need additional user testing and approval.

At time, I have two branches that need testing and approval at the same time. I don't want to merge to the trunk and commit until the changes are fully tested and approved.

What I need to do is merge both branches to one working copy without any commits.

I am using Tortoise SVN, and when I try to merge the second branch, I get an error message:

Cannot merge into a working copy that has local modifications

Is there a way that I can do this without committing either merge?

© Programmers or respective owner

Related posts about version-control

Related posts about svn