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, 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. Hi 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 |
|
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.