It's all about the answers!

Ask a question

scm commandline status command returns blank


Stephen Rooks (18231925) | asked Nov 10 '14, 11:28 a.m.
retagged Nov 10 '14, 2:49 p.m. by Evan Hughes (2.4k1318)
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>

Accepted answer


permanent link
Evan Hughes (2.4k1318) | answered Nov 10 '14, 2:49 p.m.
JAZZ DEVELOPER
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

Comments
1
Stephen Rooks commented Nov 10 '14, 4:57 p.m.

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

Your answer


Register or 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.