How do I deliver mutliple baselines to one stream.
I am importing streams from CVS to RTC. I am using the cvs2svn tool to create an SVN dump file. I am then importing the SVN dump file to RTC using the instructions given.
There are many baselines which are being created in the workspace that the import is taking place in. I want to deliver each baseline to a stream, however view pending changes and delivering the changes only delivers the latest baseline. I want all the baselines to be in the stream. The only option I know is to manually right click each baseline in the pending changes and deliver each manually. I have tried using the command line however I am not successful. I was hoping I could use scm list baselines to get a list of baselines and then use the deliver command to deliver each baseline however this technique is not working for me. Anybody know how I can do this? I do not have the workspace loaded. scm deliver -r repo -v -s "My_Workspace" -t "My_Stream" -b baselineUUID |
2 answers
If you use the "scm status" subcommand, than you should see all the pending changes that needs to be delivered, in your case you should get the list of baselines to be delivered. From that output you can catch the BaselineUUIDs and use this in your deliver command, as you can have a list of baselines with the -b switch.
Hope that helps, Henning Comments scm status will only work within a sandbox and does not give status for a workspace that has not been loaded.
Karandeep Chawla
commented Aug 06 '13, 9:48 a.m.
Henning,
|
I was able to successfully deliver each baseline by using a script.
Process is to get each baseline number and deliver each separately. |
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
If you had multiple pending baselines for a component to be delivered, then specifying the last baseline will deliver all the changes including the changes from the previous pending baselines. If you now list the baselines of the target workspace/stream you will only see the last baseline. This is the expected behavior.
With respect to the deliver command, I have raised a defect. https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=275426. Can you confirm if it is the same error you are seeing in your environment?
If the deliver operation is run within the sandbox, it works fine although you can specify only one baseline.
Shashikant,
That is also happening to me. If I am not loading a workspace, then I should not have to be in a workspace to run a deliver command. Is there anyway to get all the baselines separetly delivered? When I look at all the baselines in the component of a stream, I want to see each one.
The only way (because of the above mentioned defect) via scm cli is to be in the sandbox and deliver the baselines one by one.
Shashikant,
I have tried the above by loading the workspace however I get an error saying this:
Problem running 'deliver':
Unable to resolve components for workspace
Not sure whats going on but it may be a defect.
I just tried the deliver and was successfully able to deliver the baseline. By the way, accept is opposite of deliver so you could also use that to accept the baseline into the stream from another workspace or stream.
Try: scm accept -r repo -v -s "My_Workspace" -t "My_Stream" -b baselineUUID
I tried accept and it worked remotely without being in the sandbox.