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

show all associated baseline on specific version of file

is the CLI command available to show all baselines/snapshots associated on a specific version of file or directory?

0 votes



3 answers

Permanent link

You can list the baselines for a component using the following command:

scm list baseline -w -C component
or
scm list baseline -w <workspace_or_stream> -C component

You can also list all the file versions that were included in a particular baseline:
scm list files -b <baselineName_or_uuid> --show-versionid --depth -

Does that meet your requirement? If not, what is the use case you are trying to solve?

0 votes

Comments

 They could get a list of all baselines, and then for each baseline, get a list of all versions in that baseline, to create the list of all baselines that contain a specified version of a specified file, but I doubt that the performance of that approach would be acceptable.   I agree that we would want to find out what the use case is that motivates this request, since there may be a better way to address it.

In IBM ClearCase you could query all related baselines attached against a specific element (file or directory). from your answers it looks there is no SCM command in RTC to do likewise.


Permanent link

In IBM ClearCase you could query all related baselines attached against a specific element (file or directory). from your answers it looks there is no SCM command in RTC to do likewise.

0 votes

Comments

Correct, you cannot list the baselines for a file.

has new feature been implemented in v6.0.6.1 to provide list of baselines with a specific file ?


Permanent link

has new feature been implemented in v6.0.6.1 to provide list of baselines with a specific file ?

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
× 12,020

Question asked: Aug 25 '17, 8:47 a.m.

Question was seen: 3,172 times

Last updated: Jun 27 '19, 5:36 a.m.

Confirmation Cancel Confirm