There are a lot of content surrounding this problem to provide solutions, but the answer is not convincing, so I have to post here.
We have two code branches, I merged into one, but other team members saw a lot of coverage in the merged version, so what I want is to roll back the project to the version before merging (x)(x 1) happened.
I have VS 2012 / Eclipse TFS 2011 everywhere.
Roll back to a specific version
In Source Control Explorer:
p>
>Right click on the branch you want to roll back
>Click Rollback…
>Select to roll back to a specific version
>Enter the change set number you want to roll back.
< p>Roll back a single change set (you can also perform this operation through the dialog box loaded above)
>Right click on the change set you want to roll back
>Select Roll back the entire changset
Check rollback.
See the answer in English> Rollback a changeset in tfs There are 3 solutions around this problem, but the answer is not Not convincing, so I had to post here.
We have two code branches, I merged into one, but other team members saw a lot of coverage in the merged version, so I thought What I want is to roll back the project to version (x) (x 1) before merging happened.
I have VS 2012 / Eclipse TFS 2011 everywhere.
In Visual Studio 2012, you have several options.
Roll back to a specific version
In Source Control Explorer:
p>
>Right click on the branch you want to roll back
>Click Rollback…
>Select to roll back to a specific version
>Enter the change set number you want to roll back.
Roll back a single change set (you can also perform this operation through the dialog loaded above)
>Right click on the change set you want to roll back
>Select Roll back the entire changset< /p>
Check rollback.