Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I easily diff/compare 2 shelvesets in TFS?

Tags:

shelving

tfs

Is there a way to compare 2 shelves in TFS without having to resort to unshelving both in separate workspaces and diffing the files?

like image 335
koregan Avatar asked Mar 31 '10 12:03

koregan


People also ask

How to compare two shelvesets in TFS?

In Visual Studio you can go to Team Explorer, Pending Changes, Actions - Find Shelvesets, then find your Shelveset, right click and View ShelveSet Details, you end up with a list of file, right click the one you're interested in and choose Compare with Workset.

What is a ShelveSet in TFS?

Shelving lets you set store a batch of pending changes onto the server and optionally remove them from your local workspace. It comes in really handy for the times when you want to backup your code and store it on the server but don't want to commit it to source control.


1 Answers

I was looking for the same i.e. to compare the contents of two shelveets without needing to unshelve one of them. End up writing a Visual Studio extension for the functionality.

The extension is available for Visual studio 2013

http://visualstudiogallery.msdn.microsoft.com/1fa59764-efc6-457a-a5f3-81ca68e280e8

and for Visual studio 2012

http://visualstudiogallery.msdn.microsoft.com/33c521d4-73fc-48be-969d-fa68c511341f

Please feel free to use and give your feedback.

like image 196
Hamid Shahid Avatar answered Oct 04 '22 10:10

Hamid Shahid