Does "scm" has a command to replace a baseline?
I have a stream with 2 baselines 1 and 2. The current baseline is the number 2. Can I place the baseline number 1 active using scm command?.
Thanks in advance!!! |
4 answers
Hi Leandro.
I have the same question, too. To replace baseline of "COMP1" from BL2 to BL1 in "Test_Stream", I've already tried "scm workspace replace-components", but it does not work well... >scm workspace replace-components -b "BL1" "Test_Stream" stream "Test_Stream" "COMP1" Then I tried the following operation as workaround for this error, it works. 1. create a repository workspace (named "RW1"). 2. Add component "COMP1" (BL1) to "RW1". 3. replace baseline from the repository workspace to the stream using "scm workspace replace-components"; >scm workspace replace-components "Test_Stream" stream "RW1" "COMP1" Do anyone know a better way? I have a stream with 2 baselines 1 and 2. The current baseline is the number 2. Can I place the baseline number 1 active using scm command?. |
Hi Leandro. I have a stream with 2 baselines 1 and 2. The current baseline is the number 2. Can I place the baseline number 1 active using scm command?. I only know one way to do this and is taking a stream of previous baselines. Then if you want return a baseline run scm deliver -r https://server:9443/ccm -s Stream_Previus -t Stream_Current You can only give back to the preceding baseline |
Hi Leandro. I have a stream with 2 baselines 1 and 2. The current baseline is the number 2. Can I place the baseline number 1 active using scm command?. I only know one way to do this and is taking a stream of previous baselines. Then if you want return a baseline run scm deliver -r https://server:9443/ccm -s Stream_Previus -t Stream_Current You can only give back to the preceding baseline Hi, sishida Delivery only works if there is no conflict. Yes, there is conflict is better to make a replacement and if you must run the following: scm workspace rplc --all -o -r https://bodapps39:9443/ccm Stream_Source stream Stream_Target Thanks! |
Hi Leandro. I have a stream with 2 baselines 1 and 2. The current baseline is the number 2. Can I place the baseline number 1 active using scm command?. I only know one way to do this and is taking a stream of previous baselines. Then if you want return a baseline run scm deliver -r https://server:9443/ccm -s Stream_Previus -t Stream_Current You can only give back to the preceding baseline Hi, sishida Delivery only works if there is no conflict. Yes, there is conflict is better to make a replacement and if you must run the following: scm workspace rplc --all -o -r https://bodapps39:9443/ccm Stream_Source stream Stream_Target Thanks! Thanks, Leandro. There can be conflict and we have to use "scm ws rplc". But there is only one stream, so "Stream_Source" and "Stream_Target" are the same one. "scm ws rplc" does not work well... |
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.