It's all about the answers!

Ask a question

cli : Getting list of changesets in a component.


Nagesh Subrahmanyam (771211) | asked Oct 12 '11, 7:30 a.m.
Hi,
From command line, how do I obtain the list of changesets in a component ? My requirement is to obtain the currently active changeset alias and set a custom comment for it.

From GUI, I am able to create a new changeset in the Pending Changes view. How can this be done from command line ? If such a facility exists, then is it possible to share projects (subsequent) to this newly created changeset ?

3 answers



permanent link
Nagesh Subrahmanyam (771211) | answered Oct 12 '11, 8:56 a.m.
Hi,
From command line, how do I obtain the list of changesets in a component ? My requirement is to obtain the currently active changeset alias and set a custom comment for it.


The command for pending changes should do. I would probably have to look for a given baseline of a given component in a given workspace and then for the *--@ string.

permanent link
Shashikant Padur (4.2k27) | answered Oct 13 '11, 1:58 a.m.
JAZZ DEVELOPER
'lscm status' subcommand will list you all the outgoing change sets for the workspace. If you run this command within the component directory, it will list all the outgoing change sets for that particular component. The current change set will be identified with a '*" in the status flags.

Hi,
From command line, how do I obtain the list of changesets in a component ? My requirement is to obtain the currently active changeset alias and set a custom comment for it.


The command for pending changes should do. I would probably have to look for a given baseline of a given component in a given workspace and then for the *--@ string.

permanent link
Nagesh Subrahmanyam (771211) | answered Oct 13 '11, 5:47 a.m.
Thanks !

Your answer


Register or 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.