Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



One answer

Permanent link
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>

0 votes

Comments
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"

Problem running 'load':
Unmatched workspace "C:/path of local dirctory"

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,700
× 382

Question asked: Mar 19 '19, 2:56 a.m.

Question was seen: 2,142 times

Last updated: Mar 20 '19, 2:02 a.m.

Related questions
Confirmation Cancel Confirm