Is it possible to add a comment with cli checkin command?
![]()
Patrick Cunniff (13●2●4)
| asked Sep 19 '12, 10:06 a.m.
edited Sep 19 '12, 1:58 p.m. by DJ Houghton (266●3)
Right now, I have to do this:
lscm checkin TestApps
lscm changeset comment <changeset> <comment>
lscm deliver
but I want to add a comment with the checkin command so that I don't have to run 'status' to get the changeset number since I'll be running this in a script. What I'm looking for is something like:
lscm checkin -comment <comment> TestApps
lscm deliver
or
lscm checkin -alias <alias> TestApps
lscm changeset comment <alias> <comment>
lscm deliver
|
3 answers
![]()
Currently it is not possible. See: Allow new change set comment to be set by CLI during checkin operation (174113)
|
![]()
Here is the workaround I am using for now:
lscm create changeset <comment>
lscm checkin TestApps
lscm deliver
(the create changeset will set the changeset to the current one)
|
![]()
I do the following:
1) lscm status 2) Call an external script that will creates a new changeset then parses the outout for the alias of the new changeset. 3) Using the output from above, lscm changeset associate 4) lscm changeset comment 5) lscm deliver |
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.
Comments
That would be worth opening an RFE. https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWelcome