scm command [add component] - How to use -source-workspace option
Hello,
I have a question with regards to usage of one of scm command option.
The description of the [-s, --source-workspace] claims as below, but I have not being able to successfully run it on my environment.
Can anybody please tell me what is the correct way of running using the option?
[Provides the initial history from the specified workspace or stream. To specify the workspace or stream, use its name[@repo], alias, or UUID[@repo].]
I have checked the following command works fine.
("rtc" is the alias name and "TEST" is my repository ws)
> scm add component -r rtc TEST Build
Component (1000) "Build" successfully removed.
And now if I tried to use the -s option, an error occurs and cannot add component... They all fail.
> scm add component -r rtc TEST Build -s rtc
> scm add component -r rtc TEST Build -s rtc "BRM Stream" Build
> scm add component -r rtc TEST Build -s rtc TEST
> scm add component -r rtc TEST Build -s rtc TEST Build
> scm add component -r rtc TEST Build -s rtc TEST 1000
I have no idea how am I using this.
Thanks in advance.
One answer
In your command "scm add component -r rtc TEST Build -s rtc" it seems like "rtc" is a repository because it is provided as a value to the "-r" option. Do you have a repository workspace or stream called "rtc"?
Comments
1 vote