Farinha
Farinha

Reputation: 18091

Roll back a change with Team Foundation Server Source Control

I'm having a real hard time rolling back a change under TFS Source Control. I've followed the instructions in MSDN with no success.

The instructions basically go like this:

  1. Get the old version for source control (files get copied to local workspace)
  2. Check out the local version
  3. Check in

The problem is that when checking out, the latest version is automatically fetched from source control, overwriting the specific version I was trying to revert to.

That same MSDN article has a comment on it pointing to the same fact, and there seems to be a setting for that, which can be changed in two places:

Team Foundation Server Team Project Source Control Settings

Visual Studio Team Foundation Server Source Control Settings

As you can see, both of them are disabled, but I'm still getting the latest version whenever I do a check out, making it impossible to do a rollback.

Is there any other setting I'm missing? Or this isn't the correct way of doing a rollback?

NOTE: Using Visual Studio 2010

Upvotes: 2

Views: 1138

Answers (1)

pantelif
pantelif

Reputation: 8544

Since you 're on VStudio2010 - you can probably forget about that MSDN article.
Instead, download & install latest TFS Power Tools, they do come with a nice graphical "Rollback":
enter image description here

You can also check tf rollback.

Upvotes: 2

Related Questions