using scm command Status against specfic directory
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
You are right, this command does not take a sub-directory.
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.
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?