I have a question about clearcase, someone helped me on some issue in clearcase, he used a command as follow: echo " " > xxx.log and
cleartool co -nc filename
what does this mean?
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.
When you have a file which is “checkedout but removed”, as described in ct ls:
A solution to restore that file is to checkout it again, but if you do that directly, ClearCase would complain about being unable to access said file (because it isn’t physically there anymore).
Hence the:
You need to have some content in that file in order to make a
cleartoolcommand on it.So even if its content is a bogus one, it at least allows you to proceed.
Then, you can checkout it again (
-ncmeans without comment, but it also means “takes the previous comments used on the current checked out version)Another way to restore it is to uncheckout the file:
That will also restore its content.