Problem with duplicate baseline names when using scm.exe
Hi
We are facing a typical issue with RTC when fetching a baseline using command line tool scm.exe. The command we are using is,
This worked fine until the baselineName was unique. But unfortunately now the baseline names are not unique & RTC does not restrict users from creating duplicate baseline name.
Now if we fire the same command the error we get is,
Please can anyone suggest how to tackle this problem? Is it possible to get the UUID of all the same name Baselines by any command & then choose the UUID of the correct baseline to replace the component with?
Note : When we use the RTC client to view the baselines, an ID is displayed along with the baseline name. It shows as "ID: baselineName ". If we specify this ID instead of baselineName in the above command, it does not work.
Thanks
We are facing a typical issue with RTC when fetching a baseline using command line tool scm.exe. The command we are using is,
scm workspace replace-components --all --overwrite-uncommitted --baseline "baselineName" "wrkSpaceName" stream "streamName" -r repositoryNickName
This worked fine until the baselineName was unique. But unfortunately now the baseline names are not unique & RTC does not restrict users from creating duplicate baseline name.
Now if we fire the same command the error we get is,
Multiple baselines match "baselineName"
Please can anyone suggest how to tackle this problem? Is it possible to get the UUID of all the same name Baselines by any command & then choose the UUID of the correct baseline to replace the component with?
Thanks
2 answers
The error should have listed the baselines (with alias/UUID) that matched the specified name.
Unfortunately there is no list baseline available from the command line today and there is a workitem open for it... https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=108402.
The 'scm ls comp -v" command lists only the current baseline.
Please can anyone suggest how to tackle this problem? Is it possible to get the UUID of all the same name Baselines by any command & then choose the UUID of the correct baseline to replace the component with?
Note : When we use the RTC client to view the baselines, an ID is displayed along with the baseline name. It shows as "ID: baselineName ". If we specify this ID instead of baselineName in the above command, it does not work.
Thanks
Unfortunately there is no list baseline available from the command line today and there is a workitem open for it... https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=108402.
The 'scm ls comp -v" command lists only the current baseline.
Hi
We are facing a typical issue with RTC when fetching a baseline using command line tool scm.exe. The command we are using is,
scm workspace replace-components --all --overwrite-uncommitted --baseline "baselineName" "wrkSpaceName" stream "streamName" -r repositoryNickName
This worked fine until the baselineName was unique. But unfortunately now the baseline names are not unique & RTC does not restrict users from creating duplicate baseline name.
Now if we fire the same command the error we get is,
Multiple baselines match "baselineName"
Please can anyone suggest how to tackle this problem? Is it possible to get the UUID of all the same name Baselines by any command & then choose the UUID of the correct baseline to replace the component with?
Thanks