Kornél Regius
Kornél Regius

Reputation: 3049

Tortoise SVN - Resolve Conflict, add both?

A lot of times it happened, that multiple developers replaced the same line of code (one in branch, one in trunk for example), which resulted a conflict (when we did a branch->trunk merge). In these situations, the merge tool offers me to take either theirs, or mine. However, I want TortoiseSVN to take both, and put them under each other. Till now, what I was doing is that I accepted one, and manually copy-pasted the other one under it.

Is there a built-in solution for this situation?

Upvotes: 1

Views: 455

Answers (2)

Álvaro González
Álvaro González

Reputation: 146573

In the Resolve Conflict dialogue, click on "Edit conflict" (instead of "Use local" or "Use repository"):

Resolve Conflict dialogue

If you are using the default tool (TortoiseMerge), right click on each conflict and select an appropriate option:

TortoiseMerge

Otherwise, go to "TortoiseSVN/ Settings" and set it back at "External Programs/ Merge Tool".

Upvotes: 2

Lazy Badger
Lazy Badger

Reputation: 97355

Is there a built-in solution for this situation?

Visual Merge tool (instead of internal merge), which will fire on conflict and allow you to edit merge-result manually, as you want

Upvotes: 0

Related Questions