How do I check in deleted files and folders at the root of a sandbox using the CLI?
I have successfully shared files and folders into a component using the CLI command 'scm share <workspace> <component> <directory\*> -r <repository>'. Note: I specify the path as '<directory\*' so as not to include the directory path in the changeset. Later I can load the fileset into a sandbox and delete various files and folders and these show up as expected under the 'Unresolved' section when running 'scm status'. I can use the 'scm checkin' command to check in deleted files and folders except for those at the share root, which because they are at the root have no parent folder. How do I check in these deleted files and folders using the CLI?
One answer
You can run the following command to checkin deleted files/folders -
scm checkin -d <Sandbox Location> <Root Directory> -P <password> -u <user>
You might need RTC 4.0.5 as this command may not work with prior versions.
scm checkin -d <Sandbox Location> <Root Directory> -P <password> -u <user>
You might need RTC 4.0.5 as this command may not work with prior versions.
Comments
showing 5 of 11
show 6 more comments