svnversion-controlsmartsvnsvn-merge

How to import and merge 2 directories with SmartSVN?


I have such situation:

The question is: is it possible to import both versions of website to SVN repository, one as trunk and one as branch, and get from SVN list of differences to edit changed files and solve conflicts? It looks like SVN specially created to solve such problems, but I can not investigate how to solve it.

For test, I even made in such a way: I put fully the same files in branch and trunk, and when I click "merge", all files are marked as "tree conflict" even I know that they are fully identical, i. e. it gives fake conflict report.


Solution

  • Do you still also have a copy of the pre-edited one? If so, use that to create the trunk, then take a branch at that point. Then in two separate working copies, one from the trunk, and one from the branch, copy across your changes (trunk) and the freelancer's changes (branch) and commit both. You may then be able to merge the two using SVN tools.

    However, use of a tool like BeyondCompare on two directories might be easier...