Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Using Mercurial Sourcetree to resolve Merge Conflict when I need 2-way resolution

ralvy November 29, 2018

Suppose I have 2 branches, Branch 1 and Branch 2, and I have made changes to the same file in both branches. Further suppose I have made 2 changes in each file, where Change 1 is to the same line in each file, and Change 2 is to the same line in each file. And finally, I choose Merge. I want Change 1 in Branch 1 to win, and I want Change  2 in Branch 2 to win.

I don't see a way to do this with Sourcetree without calling my External Merge Tool. It seems that the Resolve Conflct options are all or nothing in terms of Mine vs Theirs. Is that correct?

1 answer

1 accepted

0 votes
Answer accepted
minnsey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 4, 2018

Hi

That is correct, from within Sourcetree we offer file level theirs/mine options for but for more nuanced merges re rely on the external tools.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events