问题
I have been using clearcase snapshot views in my current project. so, it requires update to refresh content. does it mean any update I do on view is updated to the servers and any updates others do are updated to my view? . Also, If I try to checkout a file in snapshot view which somebody else has already checked out in his snapshot view but not updated, will I succeed?
回答1:
does it mean any update I do on view is updated to the servers?
Only if you do a cleartool checkin (commit the new version of the files you were working on after a checkout)
and any updates others do are updated to my view?
Only if you do a cleartool update (a refresh of your snpashot view)
If I try to checkout a file in snapshot view which somebody else has already checked out in his snapshot view but not updated, will I succeed?
You will if the other checkout was unreserved.
If it was a checkout reserved, you won't be able to checkout (but you will be able to hijack the file)
See:
- "What is the difference between a reserved checkout and an unreserved checkout?"
- "Identifying hijacked files in a snapshot view"
Hijacking an element in a snapshot view involves making it writable and making a change to it.
来源:https://stackoverflow.com/questions/31964423/dynamic-and-snapshot-views-in-clearcase