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

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

0 votes



One answer

Permanent link
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.
 

1 vote

Comments

Thanks Surya for the info.
When I specifying the subdirectory under the component, it will always list the change sets etc under the whole component but not those changesets under the subdirectory.
Since the component has too many changesets, I only want to list the changesets under the sub-directory to avoid confusion. Is there any command we can achieve that?

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.

Thanks Surya for the further info.
I don't think lscm lastmod is the one we want to use, basically we want to list the changesets and its status under a specific folder and the scm will list all at the root.  Do you mean that only the independent projects within a component  can be partially loaded and then using status command against the partial component which would reduce the number of changesets?

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.

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.
Does that mean the user can only separate the component to a smaller one in order to get less changesets in the practice?

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,019
× 158
× 9

Question asked: Aug 12 '13, 4:03 a.m.

Question was seen: 5,240 times

Last updated: Aug 30 '13, 12:54 a.m.

Confirmation Cancel Confirm