scm commandline status command returns blank
Stephen Rooks (182●3●20●25)
| asked Nov 10 '14, 11:28 a.m.
retagged Nov 10 '14, 2:49 p.m. by Evan Hughes (2.4k●13●18)
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
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
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.