how to undo hijacked files in clearcase?

假装没事ソ 提交于 2019-12-10 10:56:59

问题


I have this strange hijacked file in my snapshot view. when I undo it, it doesn't go away. Is there a way to un-hijack it. I already tried undo-hijacked but didn't work. I should see .keep file if it unhijacked but didn't see any. Also tried to check out and uncheck out but this file still remains as hijacked.

Thanks for any help !!


回答1:


There is usually one case where an hijacked file remains hijacked when you try to cancel it (following "Canceling a hijack"):

It is when the file is kept by an handle (it is opened or used by another process).

Try to close as many application / processes (or even reboot the computer), and then try to cancel the hijacked file again.




回答2:


Another cases that happened , is when the file is somehow with READ-ONLY option on it when it is in Hijacked mode.

So you should removed the READ-ONLY, then undo-hijacked. Now it should be back in READ-ONLY option turned on as it is checked-in.

Enjoy, Eli.



来源:https://stackoverflow.com/questions/19147200/how-to-undo-hijacked-files-in-clearcase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!