If the team project is set up to disallow multiple checkout, you'll have to undo the other user's change. Otherwise, you'll have to unlock it. The first requires "UndoOther" permission on the file, while the latter requires "UnlockOther". In either case, you'll have to use the command line to unlock the file.
The syntax for undoing another user's change is:
tf undo $/Project/folder/file.txt /workspace:WorkspaceName;DOMAIN\username /s:servername
The syntax for unlocking another user's lock is:
tf lock /lock:none $/Project/folder/file.txt /workspace:WorkspaceName;DOMAIN\username /s:servername
Note that the WorkspaceName and username have to be the names of the workspace and user which have the file locked. You can find this out by running "tf status /workspace:* $/Project/folder/file.txt".
Hope this helps!
Cheers, Adam
This posting is provided "AS IS" with no warranties, and confers no rights. |