To achieve this you can use the
tfutility (http://msdn.microsoft.com/en-us/library/cc31bk2e(v=vs.80).aspx), as follows:
tf rollback /toversion:123123 ./*.cs /recursive
rollbackis the command,
123123is the changeset to which you want to revert,
./*.csis a file filter to control the kind of files that are reverted ( they call this an 'itemspec' in the documentation ) and as such can be set to anything -
/recursiveflag is pretty self-explanatory.
tf checkin /comment:"rolling back to version 123123" .
will then check your changes in ( although that's something you can do from Visual Studio ).
Post a Comment