Using Beyond Compare with TFS

by EricSB 6. April 2010 04:22

A while ago I published an article but have since lost it, so I’ve decided to re-post it as the topic came up again today and I found myself hunting for the information. This time around I stumbled on a nugget of information in a different place that makes a big difference. 

For starters I found a blog post here by James Manning that contains a great post about setting up TFS to use Beyond Compare (and other comparison tools)

In order to configure Visual Studio to use Beyond Compare for a compare operation choose the following options: 

  1. Select: Tools –> Options –> Expand Source Control –> Choose “Visual Studio Team Foundation Server. 
  2. Select: “Configure User Tools.”
  3. Click the “Add” button.
  4. Enter “.*” in the “Extension” edit box.
  5. Choose “Compare” in the “Operation” combo box.
  6. Enter the path to BComp.exe in the “Command” edit box.
  7. Enter the command line parameters from the table below.

To configure TFS to use Beyond Compare for a merge operation follow the same steps above but choose “Merge” for the operation instead and provide the correct merge command line in the table below the compare table.

*Remember: Beyond Compare 3 Pro supports 3 way merging and the standard edition of it does not.  Also 3 way merging is new to Beyond Compare as of version 3, so this feature is not present in version 2 of the product.

To summarize the following command line parameters are ones I’ve found to be of the most use:

Compare

Product Command Arguments
TFS (Default) diffmerge.exe %1 %2 %6 %7 %5 /ignorespace
Beyond Compare 2 BComp.exe %1 %2 /title1=%6 /title2=%7

Merge

Product Command Arguments
TFS (Default) diffmerge.exe /merge %1 %2 %3 %4 %6 %7
Beyond Compare 2 BComp.exe %1 %2 /title1=%6 /title2=%7
Beyond Compare 3 (Standard – no 3-way Merge) BComp.exe

%1 %2 /savetarget=%4 /title1=%6 /title2=%7

Beyond Compare 3
(Pro / 3-way merge)
BComp.exe %1 %2 %3 %4  /title1=%6 /title2=%7 /title3=%8 /title4=%9

Tags: ,

TechKnowBlog

Comments

4/6/2010 4:52:19 AM #

pingback

Pingback from topsy.com

Twitter Trackbacks for
        
        Tech∙Know | Using Beyond Compare with TFS
        [codejockey.net]
        on Topsy.com

topsy.com |

4/22/2010 12:52:10 AM #

frequented

Hola (| Bienvenida | Hi HI) (saltó por primera vez | delimitadas | saltó |) omiten aquí en Tech•Know | Using Beyond Compare with TFS su sitio, founde el (Google | Yahoo | Bing | ASK).  frequented Enviar noticia a mí 887Passini@o2.pl

frequented United States |

4/22/2010 2:20:29 AM #

aerodynamic

Tech•Know | Using Beyond Compare with TFS Gran blog deseando leer más de usted. Hola (| Bienvenida | Hi HI) (saltó por primera vez | delimitadas | saltó | omitido) aquí en su sitio, founde el (Google | Yahoo | Bing | ASK). Le agradezco de todo corazón por compartir esas palabras maravillosas conmigo. Hago uso de sus pensamientos en consideración. Es fantástico recibir un punto de vista neutral, para variar. Gracias de nuevo aerodynamic Envíeme noticias a Mcenany@yahoo.com

aerodynamic United States |

4/23/2010 12:50:56 AM #

creative writing

Aw, this was a really quality post. In theory I'd like to write like this also - taking time and real effort to make a good article... but what can I say... I procrastinate alot and never seem to get anything done

creative writing United States |

4/23/2010 1:53:45 PM #

game kids

It's an amazing, thanks for sharing..

game kids Azerbaijan |

4/23/2010 4:33:20 PM #

Stephen

nteresting post Smile Thanks for creating an excellent post about Microsoft Visual Studio.  You make some brilliant points Smile

Stephen Yemen |

4/24/2010 10:36:26 AM #

Sharilyn Argulewicz

Good Post.  then the simillar post I found last Friday on google. Keep up the great work.

Sharilyn Argulewicz United States |

4/24/2010 11:55:01 PM #

Shanti Hyder

Good Blog. Niftier then the simillar post I discovered last Thursday on google. Maintain the great work.

Shanti Hyder United States |

4/26/2010 8:43:00 AM #

Arlen Altig

Intresting post, i really enjoyed reading it. Smile

Arlen Altig United States |

4/26/2010 8:43:18 AM #

make a memory foam bed

Been reading your blog for a while now so I thought I would finally drop a comment. Lately I have become addicted to blogs I think. I will start reading a little and before I know it half the day is gone. I enjoy exploring all you have on your site, just amazed how infinite the topics can be out there.

make a memory foam bed United States |

4/28/2010 4:45:51 AM #

Grover Reimann

Fantastic Blog. Better then the simillar post I seen last week on AOL. Keep up the good work.

Grover Reimann United States |

4/28/2010 9:27:46 AM #

buy oral hcg

It was to my best interest to bookmark and to stubmble!!

buy oral hcg United States |

4/28/2010 4:24:13 PM #

buy oral hcg

It is to my enjoyment to stubmble and to post to yahoo!!!

buy oral hcg United States |

4/28/2010 8:38:43 PM #

creative writing

Hi. I just noticed that your site looks like it has a few code problems at the very bottom of your site's page. I'm not sure if everybody is getting this same bugginess when browsing your site? I am employing a totally different browser than most people, referred to as Opera, so that is what might be causing it? I just wanted to make sure you know. Thanks for posting some great postings and I'll try to return back with a completely different browser to check things out!

creative writing United States |

4/30/2010 9:13:53 AM #

Bernardo Ramelb

Hello, I really admire the look of your site. What design are you using?

Bernardo Ramelb United States |

4/30/2010 10:07:19 AM #

Fredric Llams

Totally digg your website. Today I stumbled upon another precious page containing game-torrents for WII, XBOX 360, PS2, PC and Nintendo DS. Gracias muchos!

Fredric Llams United States |

4/30/2010 2:05:17 PM #

Chong Bruker

My first comment. Found your blog a couple of times inadvertently. Yours is one of those blogs I could start reading and not know when to stop.

Chong Bruker United States |

5/1/2010 2:33:51 AM #

Biology Tutor

Im very interested in this matter and I myself do alot of research as well. Either way it was a well thoughtout and nice read so I figured I would leave you a comment. Feel free to check out my website sometime and let me know what you think.

Biology Tutor United States |

5/1/2010 3:25:07 AM #

Florida dui lawyers

I thought it was going to be some boring old post, but it really compensated for my time.

Florida dui lawyers United States |

5/1/2010 1:28:19 PM #

Pro Loan mod

This is the first I've seen this stuff, however it's better put like this.  Ya know?  Been going crazy trying to find how or where is the best place to learn about how to prepare for this.

Pro Loan mod United States |

5/5/2010 6:03:13 AM #

Lose The Back Pain

I have been reading your blog for the last few hours, and it all has been very informative and well written.  I did want to let you know that for some reason this one doesn't seem to work with Internet Explorer.  On a side note, I was wondering if you wanted to swap blogroll links?  I hope to hear from you soon!

Lose The Back Pain United States |

5/5/2010 9:19:41 AM #

Custom T-Shirt Printing

Wonderful write-up. I just came across your blog and would like to let you know that I have honestly liked reading your blogs. At any rate I shall be subscribing to your feed and I am hoping you write more soon.

Custom T-Shirt Printing United States |

5/6/2010 2:58:45 AM #

Power Trainer

If you're interested in having a guest blog poster please reply and let me know, also if you want to have a guest account on my blog. Cheers, Dave the Power Trainer

Power Trainer United States |

5/6/2010 8:49:13 AM #

Hypercom T7Plus

This is the first I've seen this info, however it's better put like this.  Ya know?  Been going crazy trying to find how or where is the best place to learn about how to prepare for this.

Hypercom T7Plus United States |

5/20/2010 10:09:11 PM #

pingback

Pingback from 50.jordanbrandallamerican.com

450se Discount 450sel, 450sel Replacement Discount Shock Absorber

50.jordanbrandallamerican.com |

Comments are closed