Dude, where’s my code? Changeset tracking to the rescue!

There’s a new feature in TFS 2010 that I’ve mostly ignored but I think is super powerful.  The new “Tracking Changeset” window gives us a visualizer that shows us exactly what code branches your changeset has made it to.  Not only that, but there’s also a way to look at a timeline that shows you when your code was merged to each branch, in a visual way, of course!

So how does this work?

Well, if you have a branch that was created in TFS 2010, then this is turned on automatically.  If you created your branch prior to migrating to TFS 2010, you need to turn this on, it’s pretty easy to do:

  • From Source Control Explorer, right-click on your parent branch and select “Branching and Merging”, and then “Convert to Branch”
  • On the “Convert to Branch” dialog box, enter a description and click Convert

That converts your “old-style” branch into a TFS 2010 branch, and now you open up whole set of new branching features.  For example, you can now right click on that branch again, and instead of the “Convert” option, you now see a “View Herarchy” option.  Selecting that option gives you a nice diagram showing you your branches and how they relate to eachother:


That’s cool, but really not that exciting…It just shows that I have a main branch, that is the parent for a development branch and a couple of releases.

So now let’s look at changeset visualization:

If you right click on your development branch in Source Control Explorer and look at history, there’s a new icon on the toolbar called “Track changeset” image .  Note that this icon is always available, but if you try it on a folder that is not a branch (a TFS 2010 branch), you will get an errror: TF247005: At least one changeset cannot be tracked because an item is not contained in a branch.  You need to identify a container folder and convert it to a branch.  So if you select that option on a Branch folder, you will see this:


The diagram shows that I checked in Changeset # 16 into my Development 1.1 branch, I merged it to Main with changeset # 17, and then moved it to to my release branch as part of changeset #18.  On top of that, I can double-click on  the changeset item on the visualizer, and it will give me changeset details.  You also get an option on the toolbar called “Timeline Tracking”.  It gives you a different view of your changes:


This shows you the same information as the previous chart, but in a timeline way.  So now you know exactly when each changeset was merged (In this sample, i moved it all around the same time, so you only see one date, but you would see a bunch of different dates at the top if you all your merge operations were done over time).

Ok, so it gets even better.  Since TFS allows you to associate a changeset to a workitem, you can do the same type of tracking from your workitem.  To do this, open up a workitem that you know is associated to a changeset.  Click on the Track Work Item icon image and you get this in the Hierarchy Tracking view:


This tells me that as part of my workitem, I’ve checked in changesets 16, 21, 24 into my development branch and then merged them to main as part of changeset 17 and 22.  Note that the asterisk next to the 22 means that not all changes have been merged yet.  It then says that I merged changes to Release as part of changesets 18 and 23.

Now let’s look at the Timeline:


This shows me all my changes sets and when they got merged to each branch.  It shows that changeset 24 was checked in to the development branch but it hasn’t made it to any of the other branches. 

Before there was a way to see this, but you had to dig for it.  It’s just so impressive how much work TFS is doing behind the scenes for us.   So next time someone wonders whether their code made it to another branch, use the tools and find the information pretty quickly and easily!

1,977 thoughts on “Dude, where’s my code? Changeset tracking to the rescue!

  1. Anonymous

    What is the reason to have only partial merges from dev branch to int branch? It seems to me somewhat difficult to investigate the missing parts of a changeset that did not make it into the merge target. What were your reasons to have mostly partial merges?

  2. ヴィトン メンズ

    ロレックス メンズ 腕時計

  3. Abertzowly

    скільки буде тривати війна в україні коли закінчиться війна в україні 2022 екстрасенси коли закінчиться війна в україні передбачення

    1. Pappaphikeov
    2. Mappaphikeee
    3. Wappaphikeoi
    4. Cappaphikets
    5. Sappaphikesu
    1. Nappaphikejr
    2. Mappaphikecs
    3. Vappaphikehz

      [url=https://buyviagra.cyou]sildenafil without prescription[/url]

    4. Iappaphikeyj
    5. Iappaphikeum
    1. Nappaphikeen
    2. Vappaphikenz

      [url=https://buyviagra.cyou]viagra 50 mg for sale[/url]

    3. Cappaphikeby
    4. Lappaphikeyj
    5. Uappaphikeyw
    6. Iappaphikedn
  4. Williamsnamy

    buy cialis australia best price for daily cialis cialis cena

    1. Vappaphikecd

      [url=https://buyviagra.cyou]sildenafil 100 mg oral[/url]

    2. Mappaphikesv
    3. Lappaphikezg
  5. Williamsnamy

    prednisone for sale in canada prednisone for sale 50 mg prednisone canada pharmacy

  6. Williamsnamy

    prednisone canada prices generic prednisone buy prednisone online from canada

    1. Uappaphikenj
    2. Eappaphikeey
    3. Tappaphikeud
  7. Williamsnamy

    how to buy generic cialis online best price for daily cialis original cialis product dapoxetine

    1. Lappaphikevq
    2. Pappaphikehe
    3. Vappaphikeyp

      [url=https://buyviagra.cyou]buy viagra 100 mg pills[/url]

    4. Eappaphikewb
    5. Iappaphikepy
    6. Iappaphikexf
    7. Cappaphikego
  8. Williamsnamy

    cialis free 30 day trial cialis pills how long does cialis last in your system

    1. Vappaphikexj

      [url=https://buyviagra.cyou]order sildenafil 50 mg pill[/url]

    2. Vappaphikemx

      [url=https://buyviagra.cyou]viagra 100 mg canada[/url]

    3. Wappaphikedy

      [url=https://viagrageneric.cyou]viagra generic us[/url]

    4. Iappaphikeup
  9. Williamsnamy

    buy prednisone 10mg online purchase prednisone no prescription prednisone best prices

    1. Mappaphikehe
    2. Eappaphikedc
  10. Williamsnamy

    male ed drugs buy ed drugs best ed pills that work

    1. Vappaphikeuu

      [url=https://buyviagra.cyou]viagra 50 mg pills[/url]

    2. Iappaphikehr
    3. Iappaphikezm
  11. Charlesbiz

    ed medications best pill for ed online ed medications

    1. Nappaphikect
    2. Pappaphikemu
    3. Vappaphikejs

      [url=https://buyviagra.cyou]buy sildenafil[/url]

    4. Uappaphikeve
  12. Charlesbiz

    cheap propecia generic finasteride for sale propecia purchase

    1. Vappaphikefd

      [url=https://buyviagra.cyou]viagra cheap[/url]

    2. Iappaphikeyy
    3. Lappaphikexm
    4. Uappaphikedk
  13. alex maybne

    I am really delighted to read this blog posts which carries lots of usefulfacts, thanks for providing these data.

    1. Lappaphikezv
    2. Lappaphikemo
    3. Iappaphikepq
  14. Charlesbiz

    canadian drug prices cvs prescription prices without insurance buy anti biotics without prescription

    1. Lappaphikeig
    2. Mappaphikeya
    3. Uappaphikeas
    4. Vappaphikekq

      [url=https://buyviagra.cyou]order sildenafil 50 mg without prescription[/url]

    5. Mappaphikeco
    6. Lappaphikelu
    7. Tappaphikenz
    8. Uappaphikebw
  15. Charlesbiz

    discount prescription drugs ed meds online canada how to get prescription drugs without doctor

    1. Lappaphikerx
    2. Uappaphikefi
    3. Vappaphikebc

      [url=https://buyviagra.cyou]viagra 50 mg cheap[/url]

    4. Wappaphikehj

      [url=https://viagrageneric.cyou]sildenafil 100 mg ca[/url]

    5. Lappaphikeol
    6. Uappaphikema
  16. Credit Card Processing Business

    Very informative blog post.Really thank you! Cool.

  17. silicone rabbit vibrator

    Im obliged for the article post.Really looking forward to read more.

    1. Pappaphikehd
    2. Vappaphikevs

      [url=https://buyviagra.cyou]order viagra 50 mg pills[/url]

    3. Eappaphikeyj
    4. Iappaphikety
    5. Cappaphikezf
    6. Lappaphikeua
  18. Charlesbiz

    buy propecia finasteride cheapest propecia online finasteride cost

    1. Vappaphikesn
    2. Vappaphikest

      [url=https://buyviagra.cyou]viagra 100 mg sale[/url]

    3. Lappaphikenp
    4. Iappaphikeap
  19. Charlesbiz

    how can i order prescription drugs without a doctor prescription drugs online without doctor buy cheap prescription drugs online

    1. Pappaphikeug
    2. Vappaphikerq
    3. Eappaphikewi
    4. Iappaphikelt
  20. CanadaInole

    best ed pills natural ed medications compare ed drugs

    1. Mappaphikeje
    2. Mappaphikenl
    3. Vappaphikesf

      [url=https://buyviagra.cyou]cheap viagra[/url]

    4. Cappaphikefa
    5. Cappaphikety
    6. Lappaphikebc
    7. Uappaphikeov
  21. downloadlagu321

    I loved your article post.Thanks Again. Really Great.

    1. Lappaphikevk
    2. Vappaphikenk

      [url=https://buyviagra.cyou]buy viagra 100 mg online[/url]

    3. Vappaphikefa

      [url=https://buyviagra.cyou]viagra online order[/url]

    4. Mappaphikepp
    5. Iappaphikeqo
  22. CanadaInole

    buy stromectol online stromectol for humans for sale stromectol for humans for sale

    1. Nappaphikeln
    2. Mappaphikeqd
    3. Vappaphikevq

      [url=https://buyviagra.cyou]viagra 50 mg ca[/url]

    4. Vappaphikeqv

      [url=https://buyviagra.cyou]oral sildenafil[/url]

    5. Wappaphikemg
    6. Eappaphikeye
  23. home builder

    Thank you for your blog post. Fantastic.

    1. Mappaphikehn
    2. Vappaphikech

      [url=https://buyviagra.cyou]purchase viagra for sale[/url]

    3. Vappaphikeub

      [url=https://buyviagra.cyou]buy viagra 100 mg sale[/url]

    4. Cappaphikeql
  24. Send Money To Pakistan

    Thanks for sharing, this is a fantastic article.Really looking forward to read more. Much obliged.

    1. Nappaphikesx
    2. Vappaphikehq

      [url=https://buyviagra.cyou]buy viagra 100 mg online[/url]

    3. Eappaphikexa
    4. Mappaphikewl
    5. Lappaphikeig
    6. Lappaphikeyq
    7. Sappaphikesz
  25. CanadaInole

    prescriptions from india india pharmacies online buy prescription online from india

    1. Vappaphikecj

      [url=https://buyviagra.cyou]viagra 50 mg drug[/url]

  26. metal roofing

    I really enjoy the blog post.Really looking forward to read more. Great.

    1. Vappaphikesx

      [url=https://buyviagra.cyou]sildenafil 50 mg cheap[/url]

    2. Lappaphikeut
  27. สล็อต เว็บใหญ่ ที่สุด

    wow, awesome blog.Really thank you! Fantastic.

    1. Lappaphikers
    2. Mappaphikevu
    3. Cappaphikeom
    4. Sappaphikelx
    5. Uappaphikeck
  28. CanadaInole

    stromectol without a doctor prescription stromectol for sale stromectol

    1. Vappaphikerq

      [url=https://buyviagra.cyou]oral viagra 50 mg[/url]

    2. Lappaphikerm
  29. art supplies online pakistan

    Great, thanks for sharing this article post.Much thanks again. Great.

    1. Vappaphikegn

      [url=https://buyviagra.cyou]sildenafil medication[/url]

    2. Lappaphikega
    3. Tappaphiketv
  30. safe dog shampoo

    Major thanks for the article post.Really thank you! Want more.

    1. Pappaphikeio
    2. Vappaphikezc

      [url=https://buyviagra.cyou]order viagra 100 mg[/url]

    3. Vappaphikerl

      [url=https://buyviagra.cyou]sildenafil 100 mg drug[/url]

    4. Mappaphikenf
    5. Cappaphikevm
  31. CanadaInole

    trusted online canadian pharmacy reviews highest rated canadian pharmacies canadian pharmacy online ship to usa

    1. Nappaphikebf
    2. Vappaphiketn

      [url=https://buyviagra.cyou]order sildenafil 50 mg pills[/url]

    3. Sappaphikedk
  32. MichaelPhist

    cialis coupon lowest price tadalafil cialis coupon

    1. Mappaphikeah
    2. Vappaphikeuz

      [url=https://buyviagra.cyou]buy sildenafil online cheap[/url]

    3. Vappaphikepm

      [url=https://buyviagra.cyou]order generic sildenafil 50 mg[/url]

    4. Wappaphikeoi

      [url=https://viagrageneric.cyou]generic sildenafil 50 mg[/url]

    5. Lappaphikexv
    6. Uappaphikeqh
    7. Uappaphikexs
  33. see here now

    Hi i am kavin, its my first time to commentinganyplace, when i read this article i thought i could also create comment due to this sensible piece of writing.

    1. Nappaphikess
    2. Eappaphikecs
    3. Cappaphikelt
    4. Lappaphikees
    5. Tappaphikepz
    6. Uappaphikehp
  34. MichaelPhist

    sildenafil citrate tablets 100 mg viagra where to buy sildenafil 100 mg

    1. Mappaphikeum
    2. Cappaphikeza
  35. MichaelPhist

    stromectol without a doctor prescription stromectol for humans for sale stromectol 12 mg tablets

    1. Vappaphikena

      [url=https://buyviagra.cyou]sildenafil 50 mg generic[/url]

    2. Wappaphikepp

      [url=https://viagrageneric.cyou]purchase sildenafil sale[/url]

  36. blog here

    Thanks for sharing, this is a fantastic article post.Really thank you! Want more.

    1. Vappaphikewh

      [url=https://buyviagra.cyou]sildenafil 50 mg pill[/url]

    2. Wappaphikekh

      [url=https://viagrageneric.cyou]order viagra generic online[/url]

    3. Cappaphikeks
  37. visit the website

    This is one awesome post.Really looking forward to read more. Want more.

    1. Eappaphikeqb
    2. Iappaphikefe
  38. MichaelPhist

    best price for daily cialis tadalafil tablets 20 mg india cialis pills

    1. Eappaphikeah
    2. Iappaphikeea
  39. roblox music id codes

    Really appreciate you sharing this post.

    1. Lappaphikeyu
    2. Pappaphikezj
    3. Mappaphikeuz
    4. Vappaphikect

      [url=https://buyviagra.cyou]cheap viagra 50 mg[/url]

    5. Wappaphikeje

      [url=https://viagrageneric.cyou]viagra generic 50 mg drug[/url]