Tuesday, June 19, 2007

Note to self: troubleshooting workspaces in tfs and deleting the wrong one(s)

Sample to troubleshoot:

tf workspaces /server:ServerName /format:detailed /computer:ComputerName /owner:*

Sample to delete (WorkspaceName;UserName taken from the above command running)

tf workspace /server:ServerName /delete WorkspaceName;UserName

Sample to undo pending check-ins from the other workspace (the guy who left without checkin/undo):

tf undo /workspace:WorkspaceName;Owner /server:ServerName /recursive $\SourceControlPath\*.*

Technorati Tags: ,
Post a Comment