It's all about the answers!

Ask a question

scm checkin - command line


Yaron Norani (47267065) | asked Nov 13 '16, 9:06 a.m.
 Hi,

We are using RTC 5, and upgraded to RTC 6.
We have  a script that find all unresolved changes and check them in.

After upgrade to RTC 6 we get an error about component is not shared.
So, we execure scm share -reshare.

Then  - we have a command that find for each component all unresolved and checkin.
Now, in RTC 6 we see that we get an error.
Please advise what is the right scm checkin syntax in order to checkin  *all* unresolved (in any depth) for a specific component.

Thanks

2 answers



permanent link
Ralph Schoon (63.4k33646) | answered Nov 13 '16, 12:22 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The SCM command line Syntax is in the online description you can find on the download page for the version you have. There were changes in the syntax over time and I can only suggest to read the product help.

permanent link
Shashikant Padur (4.3k27) | answered Nov 13 '16, 10:22 p.m.
JAZZ DEVELOPER
If you run 'scm checkin <path>" it will checkin all the unresolved files/folders recursively below that path.

If you have component loaded as the root folder then step into the component root folder and run "scm checkin ." else you need to loop through the components top level folder and for each top level folder you run "scm checkin <path_to_top_level_folder>

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.