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

scm commandline status command returns blank

Any idea why status is returning blank? I'm finding it only works if the load command has -i option??


C:\RTCShell\wksp1>scm list credentials
https://amrrtcserver:9444/jazz/, rational, RTC, <No certificate>, <No smartcard>, <Password stored>

C:\RTCShell\wksp1>lscm load -r RTC --all Shell
Successfully loaded items into the sandbox.

C:\RTCShell\wksp1>lscm status

C:\RTCShell\wksp1>

C:\RTCShell\wksp1>lscm load -r RTC -i --all Shell
Successfully loaded items into the sandbox.

C:\RTCShell\wksp1>lscm status
Workspace: (1200) "Shell" <-> (1200) "Shell"
  Component: (1215) "TC"
    Baseline: (1216) 1 "Initial Baseline"

C:\RTCShell\wksp1>

1 vote


Accepted answer

Permanent link
Does your repository workspace "Shell" contain any files/folders? I'm guessing that it doesn't. 

If the component in Shell is empty, doing a load doesn't write anything to disk. The `-i/--include-root` argument causes a directory corresponding to the component root to be created on disk, so the sandbox is considered to have content, meaning that the workspace/component shows up in the output of the `status` command. 
Stephen Rooks selected this answer as the correct answer

0 votes

Comments

Yes, the Component is empty. So, I'll just accept this as a quirk of this command.

1 vote

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,210
× 160

Question asked: Nov 10 '14, 11:28 a.m.

Question was seen: 5,318 times

Last updated: Nov 10 '14, 4:57 p.m.

Confirmation Cancel Confirm