scm commandline obtaining repository information from a sandbox location
Stephen Rooks (182●3●20●25)
| asked Nov 10 '14, 11:10 a.m.
retagged Nov 10 '14, 2:28 p.m. by Evan Hughes (2.4k●13●18)
Hi,
Once a sandbox has been loaded (and .jazz5) file created, is it possible subsequently to discover which repository/workspace/component has been loaded into the sandbox via command line? I'm trying to plug RTC into another tool, which has a CM API designed for svn, which appears to cache repo info within its .svn file. thanks, SR |
Accepted answer
Evan Hughes (2.4k●13●18)
| answered Nov 10 '14, 2:27 p.m.
JAZZ DEVELOPER edited Nov 10 '14, 2:28 p.m.
The 'scm show status' command should do the trick. For example:
$ scm --show-uuid yes status --no-local-refresh --wideThe `--show-uuid` makes the output include the UUID of the items listed, `--no-local-refresh` skips the refresh of the filesystem and speeds up execution, while `--wide` prevents lines from being cut off.
You can add a --json as well, which causes the output to be written in a JSON format that may be easier to consume than the human-readable text.
Stephen Rooks selected this answer as the correct answer
|
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.