Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS Re-run merge

Tags:

tfs

So, In TFS I tried to merge one branch to another - there are a lot of files needing manual merging.

The dialog came up with a list of conflicts. I worked through some and went for a coffee. The screen saver came on. When I came back to my PC the list of conflicts dialog seems to have disappeared and it seems that it's done an 'accept theirs' on all the remaining files.

Is there any way I can force the dialog to come back up? I don't want to have to start again or manually work out what remaining files I need to diff and mess about changing them.

Thanks in advance.

like image 664
Scott Langham Avatar asked Dec 30 '22 14:12

Scott Langham


2 Answers

The feature you're looking for is File -> Source Control -> Resume Conflict Resolution.

While in this case the system was working properly and did not actually resolve things "AcceptTheirs" behind your back, it never hurts to be certain. I wouldn't click Checkin unless you were sure the merged files were in a good state.

Worst case scenario, pend the Merge again in another workspace, then diff the results (sans any manual merges) against the original workspace. That will tell you which files have & haven't been through some sort of Resolve process that alters file contents.

like image 94
Richard Berg Avatar answered Jan 14 '23 11:01

Richard Berg


Got it.

Press the 'Check In' button. Sounds scary I know if you don't want to check in, but it pops up with a dialog telling you there are unresolved differences and then it shows you the list of conflicting files so you can resume fixing them.

After you've finished going through the list, TFS will tell you that the check-in has been cancelled because there were unresolved differences.

like image 21
Scott Langham Avatar answered Jan 14 '23 11:01

Scott Langham