Folks,
I am trying to unshelve and then download a single file using TF.exe command line utility. But i keep facing problems.
This is being done from teamcity interface. There a better way of doing this ?
To unshelve
if "%ShelvesetName%"=="" exit /b 0
"D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\tf.exe" workspaces /server:%tfscollection% /owner:%uDeploy_Username%
"D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\tf.exe" unshelve "%ShelvesetName%" /recursive /noprompt /login:%uDeploy_Username%,%tfspassword%
To get a single file from a different Root url in TFS
"D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\tf.exe" workspaces /server:%tfscollection% /owner:%uDeploy_Username%
"D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\tf.exe" workfold /map "%TFS_BRANCH_SPECIAL%" "%wspath%"
"D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\tf.exe" get /v:LnewLabel