Rollback entire solution/project to specific changeset in TFS?
Solution 1
Just like going back in time entirely erasing the past.
tfs does not allow you to do this. This rollback operation will be a new changeset 122 which will rollback everything to 112.
Solution 2
You can actually do that. In Source Control, view the history of your solution project, then select all the changesets down till the one you want to rollback to and then right click-> rollback. That will roll back all changesets in order, effectively undoing ALL changes made to the solution folder
Shimmy Weitzhandler
Updated on April 02, 2020Comments
-
Shimmy Weitzhandler about 4 years
I am at changeset 121.
I want to rollback down to version 112, ignoring all the changes I've made since then.
I found this answer but I can't find the command in the menu. I'm struggling with this over an hour now and can't find the real solution. All I'm trying to do is rollback to changeset 112 disregarding all the changes made since then. Just like going back in time entirely erasing the past.
-
Shimmy Weitzhandler about 11 yearsActually I don't remind leaving evidence and make it up into a new changeset, but I want that changeset to be a simple mirror of the changeset I'm rolling back to.
-
outcoldman about 11 yearsOk, then the link above should help to do this. Did you try?
-
Shimmy Weitzhandler about 11 yearsYes. Looks like it's working. I tried this, so after making the rollback I guess I should checking and I'm over with it, right?
-
outcoldman about 11 yearsYes, this will create new changeset, which will be marked as Rollback.
-
Shimmy Weitzhandler about 11 years
-
The Muffin Man over 9 yearsSo what you're saying is that if your most recent changeset is
122
and you rollback to112
then123
will be created which mirrors112
. If you want to then go back to your122
you'd rollback to122
which would create changeset124
which mirrors122
? -
JasonDWilson about 5 yearsIt doesnt work that way. That wil only show changesets that change the sln (ie the addition or removal of projects).