Geeks With Blogs
Denis Pitcher Denis Pitcher's Tech Blog

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.

Posted on Wednesday, June 17, 2009 8:00 PM | Back to top

Comments on this post: TFS Rollbacks: An easier way

# re: TFS Rollbacks: An easier way
Requesting Gravatar...
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!
Left by Brian Baker on Jun 24, 2009 10:15 AM

Your comment:
 (will show your gravatar)

Copyright © Denis Pitcher | Powered by: