Precondition:
User A has locked a file for checkout and he was going on business , now user B need that file to update
How to fix?
Steps as the following:
1, navigation to :
All programs> Microsoft Visual Studio 2010> Visual Studio Tools
right click 【Visual Studio Command Prompt(2010)】> run as administrator
2, enter command line:
tf undo /workspace:();Domain/user $(file path)
for example:
tf undo /workspace:CPC409-ABC263;CDE409-HDC002/echo $/YHQTAS/Documents/Requirements/"18Nov-28Nov MOM"/1118.xls
Notes:
1, if the files name has blank space (18Nov-28Nov (blank)MOM)
need to " " the file name
otherwise system will prompt a failure message:
No pending changes were found for $/YHQTAS/Documents/Requirements/"18Nov-28NovMOM"/1118.xls