views:

251

answers:

1

I have a workspace that is lost forever. I have some files checked out from this workspace. I want to unlock them but I can't. I tried to do:

TF UNDO $/MyProject/MyFolder/MyFile.cs /WORKSPACE:LOST;user /s:http://mysite:8080

But I got this message:

The workspace LOST;user is not on this computer. Run get (get all if edits were undone) on the computer hosting that workspace to update it with the change s that have been made on the server.

Does exist any way to undo a file (not every file) checked out by unavailable workspace?

+4  A: 

If the workspace is lost, then I would just delete it. Deleting it undoes any changes that were made in it.

tf workspace /delete WorkspaceName;WorkspaceOwner
DancesWithBamboo
my real need is to undo a file checked out by a temporary unavailable workspace
Ricibald