22

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?

2

1 Answer 1

39

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.

3
  • so do you mean the changeset itself won't never change? (permanently fixed)? The result (after checked in) will be put in a new changeset (602) and this is exactly the same as 600?
    – Hopeless
    Nov 24, 2015 at 7:37
  • Yes, the changeset does not change, Rollback entire changeset means rollback the content of the changeset, you will need the changeset to track the changes on the file history.
    – demokritos
    Nov 24, 2015 at 8:03
  • @Hopeless - I have just applied my first changeset rollback and yes the original changeset is negated by the application of a follow-on changeset that reverses the original. A Technical Architect might refer to this as a "Compensating Transaction".
    – camelCase
    Aug 12, 2022 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.