If a folder is deleted from clearcase and then when I “update from repository” should the folder be deleted locally also ? Currently it is not deleted locally, I have updated my view and can see the folder has been removed from the view.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, by default, a
cleartool updatepreserve private content.And your directory is now considered private, once removed from ClearCase from another view.
(which is your case here: you didn’t delete it directly in your view from the ClearCase interface).
You could see your directory renamed as ‘yourDirectory.unloaded’, but sometimes it will remain unchanged, especially if some process has an handle on it.
See technote “About
.unloadedsnapshot view files” for more.The help page “How files and directories in snapshot views are unloaded” mentions:
Unloading directories
In your case, you need to make sure that no process has any handle on the directory itself or the directory content, make your update (-overwrite has no bearing here, being only there to restore hijacked file), and then search and remove any
*.unloadedelements (files or directories).