Get JUST a change-set
-
2012年4月11日 下午 06:14
Newbie with TFS and TFSPS.
I'm having trouble with "tfps getcs /changeset:36". I get an error saying that it is "Unable to determine the workspace"... SO, HOW DO I TELL IT WHICH WORKSPACE TO USE! And, where is it going to put the files? ??
所有回覆
-
2012年4月11日 下午 06:15I can't BELIEVE this is not built in to TFS! What good are changesets if I can't get them to other machines?
-
2012年4月11日 下午 09:53
Hello,
First thing you need to create a workspace (This maps the TFS Server location to a local directory). For your convenience, you could map the TFS root “$/” to a local folder on the client machine to “C:\TFSWorkspace”.
Now if you go to “C:\TFSWorkspace” directory and TF commands for a project/subfolder (IMPORTANT: In this scenario, if you do not specify a folder, it would try to bring entire tfs files to local), it would bring the files from TFS to appropriate folders.
Here is more detail about Workspace
http://msdn.microsoft.com/en-us/library/gg490753.aspx
Regards,
Adhi
My TFS Blog
Please remember to mark as answered, if this reply helps- 已標示為解答 Owen37 2012年4月11日 下午 09:55
-
2012年4月11日 下午 09:55
ahh. Ok. I have to actually navigate to the folder that is mapped with the workespace... I guess that makes sense...
-
2012年4月13日 下午 02:36I still say it should be built-in to TFS to be able to view a changeset and then get just those changes to my workspace... Seems like a no-brainer from the Changeset details dialog to be able to have a button that says: get this changeset to my workspace folders....

