Understand Rollback Entire changeset in tfs?

Hopeless picture Hopeless · Nov 24, 2015 · Viewed 18.6k times · Source

I'm new to TFS. Suppose I have 2 consecutive versions of changeset: 600,601. Nowf if I right click on 601 and choose Rollback Entire changeset, does that mean after that the changeset 601 should be exactly the same as 600?

I ask this because after doing so, I tried comparing the 2 changesets and saw they're still much different. So it's so confusing to me about what Rollback Entire changeset did?

Answer

Dylan Smith picture Dylan Smith · Nov 24, 2015

Rollback entire changeset will give you a set of Pending Changes that when checked in will "undo" what was done in changeset 601.

The result is that you will have 3 changesets: 600, 601, 602. And the resulting state will be the same as after 600.