Denis Pitcher

Denis Pitcher's Tech Blog
posts - 17, comments - 50, trackbacks - 30

My Links

News

Archives

TFS Rollbacks: An easier way

After a couple painfull rollbacks of TFS checkins I dreaded doing so again with TFS Powertoys or individually checking out specific file versions one by one.

This time I found a much easier trick.  Open up the Team Explorer for source control, browse to the root directory of your project and do a get history.  This gives you the history going back of all files checked in under that directory.  Note the changeset you want and then do a get specific version of that directory.  Suddenly all of your files are back to that changeset version.  The only problem is that you still need to check out the files you want to update, but at least it saved a bit of hassle.

Print | posted on Wednesday, June 17, 2009 8:00 PM |

Feedback

Gravatar

# re: TFS Rollbacks: An easier way

Be careful with doing this, if you've made several other check-ins since the one that you want to roll back. You could inadvertantly rollback those changes as well!
6/24/2009 10:15 AM | Brian Baker
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: