Check for workspace or stream using scm commandline
Hello,
|
Accepted answer
scm command line cannot parse the url but you could you parse out the item id from the url and run 'scm show attriubtes -r <repo_url> -w <workspace_or_stream_item_id> -j
The output will be in json format and it will have a key called "type". For workspace it will be: "type": "WORKSPACE" and for stream it will be "type": "STREAM".
Jyotsna Prasad selected this answer as the correct answer
Comments
Jyotsna Prasad
commented Jan 24 '17, 4:28 a.m.
Yes I have found the same, thank you for the reply ! :)
|
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.
Comments
What is a user input URL and how is it related to RTC SCM?
Hi Ralph, the URL is Stream/Workspace URL which is of this form https://XXXXX/ccm/resource/xxxxxxx/xxxx.scm.Workspace/xxxx.....for both Stream & Workspace the form is this only...How to recognise if it is of Stream or Workspace using scm commandline