Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

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

0 votes



2 answers

Permanent link
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

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?

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

0 votes


Permanent link
Thanks Shashikant!

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 10 '11, 7:36 a.m.

Question was seen: 8,003 times

Last updated: Jan 10 '11, 7:36 a.m.

Confirmation Cancel Confirm