Is there an "scm get file" equivalent for symbolic links?
I'm processing changes in a change set in a python script. I have each change's UUID and state ID. For a file add change, I run the scm get file command to get the file from RTC. I need to handle symbolic link add changes in my script. How can I do that? I tried running scm get file on the symbolic link change's UUID and state id as I do for a file add change:
lscm get file -r ** _Y13CoJp9EeqXF4arUMsnAw _2TH005sgEeq-JOzIQciwww "*"
The scm get file command fails with exit code 30 and the following message:
Invalid item _Y13CoJp9EeqXF4arUMsnAw. Specify a valid FileItem.
So the scm get file command doesn't look to work for symbolic links. Is there an scm command to a get symbolic link based on the symbolic link's UUID and state ID?
One answer
I think there might be a problem with the "get file" command. Can you try using "get change" command? since anyway you are processing the change from the change set.