Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I "Take Source Branch Version" for all conflicts in TFS 2008 on Visual Studio 2010?

The closest thing I see to what I want is "AutoResolve All". I don't want to AutoMerge though.

In Visual Studio 2008 I could say I wanted to have the source override on all or the target on all.

Where is this option in 2010? Did they take it away? It looks like my only option is to click "Take Source Branch Version" on all 70 files one by one.

like image 661
hyprsleepy Avatar asked Sep 09 '10 15:09

hyprsleepy


2 Answers

Select all and click Take Source Version.Note ctrl+A doesn't work. So select the first item, hold shift and select the last item.

In the Resolve conflicts window

like image 84
sttech Avatar answered Oct 11 '22 19:10

sttech


Check out the TF.EXE command here.

tf.exe resolve ..... /auto:TakeTheirs will "Take Source Branch Version." My suggestion is to do the resolve, then check your branch and make sure that you have what you expect before you check in.

tf.exe resolve .... /auto:KeepTheirs will "Keep Target Branch Version"

like image 43
Robaticus Avatar answered Oct 11 '22 17:10

Robaticus