简体   繁体   中英

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?

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

解决冲突对话

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".

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM