The Ramblings of Two Microsoft .NET Developers, TFS, and Visual Studio ALM Guys --- "Yes, we are both named Ed."

Branching and Track Changes Visualization in TFS 2010 is Awesome



I’m up early working on a problem that’s been nagging me and just had to stop for a second to show how friggin’ awesome the new Branching & Track Changes visualization tools in TFS 2010 are.  This is on a demo TFS 2010 environment but I wanted to use the APIs to find out information about what changesets were included in a merged changeset.  I needed to find a good candidate that allowed me to follow some changes throughout the branches.  I quickly found changeset 103 in my MAIN branch which included several (but not too many) individual changesets that were included with it.  I went ahead and tracked that changeset and got the following diagram below.

TFS 2010 Branch Visualization Track Changes Hierarchy View

However, I noticed that I ended up having some kind of partial merge as indicated in the Feature A branch with changeset 78 (as indicated by the yellow shading on the track changes visualization.)  That got me curious… What happened there?  It was pretty easy to figure out because all I had to do is change to the “Timeline View” instead of the “Hierarchy View” that I was currently in and I ended up receiving the visualization below which shed some light on things.

TFS 2010 Branch Visualization Track Changes Timeline View

The reason the Feature A branch was indicated as a partial merge was because not all of the changes that are included in changeset 103 (which is the changeset we’re pivoting off of for visualizations) has been merged into that branch.  It only contains changesets 76 & 77 but not 101 & 102.  Pretty handy!

 

Ed Blankenship



Monday, March 29, 2010 10:32:06 AM (Pacific Standard Time, UTC-08:00)
Is there any way to show the visualization across TFS Projects? I found a great post at codeplex that shows how you can branch and merge across projects (mainly to share common code) http://www.codeplex.com/wikipage?ProjectName=TFSGuide&title=Chapter%206%20-%20Managing%20Source%20Control%20Dependencies%20in%20Visual%20Studio%20Team%20System&referringTitle=Home) but that relationship is never shown during visualization.
Monday, March 29, 2010 11:20:11 AM (Pacific Standard Time, UTC-08:00)
Track Changes does not work across team projects. You can only track changes within a team project.

Make sure that your team projects aren't "too small." See this blog post having that discussion: When should I use Areas instead of Team Projects?
Friday, August 05, 2011 10:11:54 AM (Pacific Daylight Time, UTC-07:00)
Hey Ed, For some reason when i track changeset, then in the visualization I only get to see that particular changeset. However in your example I can see multiple changesets 76,77, 102 etc. Any idea?
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

[Captcha]Enter the code shown (prevents robots):

Live Comment Preview