Iscm command line : how to check out a single artifact from stream without the load of the complete project to the disc?
I am using RTC-scmTools-Win64-6.0.6 , Just want to know Is there any command is there to check out a single artifact from stream without the load of the complete project.
|
One answer
To load a single file you could do the following: scm load <workspace> <component>/<path_of_the_file_in_the_component>
Note: This creates a sandbox. You can update the file and checkin to the respository workspace and deliver the file to the stream.
To just get the file contents without a sandbox:
1) List the changesets in the history: scm show history <workspace> <component> <path>
2) Pick the last change set and get the change/file in the change set: scm get change <change_set_uuid> <path> <output_path>
Comments
Raj Kumar
commented Mar 20 '19, 1:55 a.m.
i am trying below command its not working for me
lscm load -r https://alm.server.com/ "C:/path of local directory" "componentName/"readMe.docx"
Yes, the workspace is missing from the command: scm load <workspace> <component>/<path_of_the_file_in_the_component>
There are couple of issues with your command. Here is the correct syntax:
lscm load -r https://alm.server.com/ -d "C:/path of local directory" workspaceName componentName/readMe.docx
Quotes are a must only if there is spaces in your input.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.