Reputation: 10650
Here is my scenario:
I did a merge from branch-A (source) to branch-B (target). That merge carried out pending changes in branch-B that I had to check-in (e.g. changeset 1000). Then I built and published branch-B in Test environment in order to test it and I realized something was going wrong. I thought the culprit was being the merge so I decided to roll back the previous merge (changeset 1000). This roll back carried out pending changes that I had to check-in them again (changeset 1001) into branch-B. Now after investigating a lot I have discovered that the merge (changeset 1000) was not the culprit so now I want to undo the roll back of the merge (changeset 1001) and return to changeset 1000. Below and example.
branch-B history:
How can I undo changeset 1001 and return to changeset 1000, I mean, restore branch to changeset 1000? By reverting to changeset 1000 and then check pending changes in again?
Upvotes: 1
Views: 2177
Reputation: 51183
Some information about rollback in TFS, please kindly refer below:
Hope this helps.
Upvotes: 1