using scm command Status against specfic directory
RTC4.0.x used
When a component is large, the user wants to specify a sub directory under component to run status command but it seems that status does not support specifying a sub directory. Is this how it works? Any advice how the other people use status command to list items' status if the component is too big? Thanks |
One answer
The command lscm status is similar to the pending changes view in Eclipse client where it tells you if there are any unresolved changes or active change sets. This works at the workspace (root) level.
You are right, this command does not take a sub-directory. Comments
Don Yang
commented Aug 13 '13, 2:15 a.m.
Thanks Surya for the info.
Surya Tripathi
commented Aug 13 '13, 4:08 p.m.
I am afraid that the status command, whose alias is called pc, works at the root and does not take sub-directory. You could possibly try loading your component partially. Well, it depends on what does your component contain, but if hey consist of independent projects (that would compile without having to load all projects) you can load only those which are needed and then run the status command. If you just want to know when a particular sub-direstory was modified, you can try lscm lastmod.
Don Yang
commented Aug 28 '13, 9:03 p.m.
Thanks Surya for the further info.
As mentioned above, status command shows all the change sets for the workspace(s) loaded into the sandbox when run from the root of the sandbox.
If the status command is run from within a specific folder, it will show change sets only for that component which the folder is part of. This means that it will not show change sets for other components loaded in the sandbox.
Don Yang
commented Aug 30 '13, 12:54 a.m.
Thanks for the further explanation. We are looking for the feature to return the result only for the specific folder(subfolder under component root directory) instead of the changesets for the whole components, because there are too many changesets in one component could return which is impacting the user to locate the expected target.
|
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.