views:

1005

answers:

2

On occasion, I'll end up checking in a file to our TFS db that I didn't intend to. Reverting to the prior version is quite tedious with my current approach.

If there a fast way to revert a file to a prior version in TFS? I'm open to command line, powertool, or UI approaches.

+7  A: 

You need to install the power tools:

http://msdn.microsoft.com/en-us/tfs2008/bb980963.aspx

IainMH
+3  A: 

If you don't want to use the command line, or install the tools, you can also do it in an old-school way:

http://msmvps.com/blogs/vstsblog/archive/2009/01/10/how-to-revert-changes-checked-into-tfs-version-control.aspx

Peter Walke