scm status fails to detect that a file has been added to the component
I am writing a script to load a large number of files into a component.
First, the component has been set up in inittial state and loaded into a local repository workspace using the RTC GUI. I then exit the GUI and log in using:
lscm login -r <repo> -n nick -u <me> -P <mypass> -c
I then copy a file into component in the workspace and run status. status does not return a value, and -v returns that the file system is consistent
[ ~]$ scm status -v
Local file system is consistent.
Is there some additional steps I need to do in scm to get it to detect a change so I can subsequently checkin and deliver the changes
First, the component has been set up in inittial state and loaded into a local repository workspace using the RTC GUI. I then exit the GUI and log in using:
lscm login -r <repo> -n nick -u <me> -P <mypass> -c
I then copy a file into component in the workspace and run status. status does not return a value, and -v returns that the file system is consistent
[ ~]$ scm status -v
Local file system is consistent.
Is there some additional steps I need to do in scm to get it to detect a change so I can subsequently checkin and deliver the changes
Accepted answer
Jerry,
loading a repository workspace with RTC GUI will lock the sandbox to that RTC client. If you look at the sandbox location from SCM commandline the workspace will not appear as loaded.
You need to load the repository workspace via >scm load into that sandbox, then detecting added files as changes will work.
If this answers your question please mark it as accepted.
Feel free to question for more details.
Best,
Arne
loading a repository workspace with RTC GUI will lock the sandbox to that RTC client. If you look at the sandbox location from SCM commandline the workspace will not appear as loaded.
You need to load the repository workspace via >scm load into that sandbox, then detecting added files as changes will work.
If this answers your question please mark it as accepted.
Feel free to question for more details.
Best,
Arne
Comments
showing 5 of 8
show 3 more comments