문제

In ClearCase, is there a way to find out if a file is locked without checking out the file?

도움이 되었습니까?

해결책

A simple cleartool lslock myFile@@ is enough.
(the @@ would be to list the locks on the element file. Without the @@, that would check only if the version of the file is locked)

If the file is visible in your view, that is all you need. See man lslock.

Note: if the file itself is not locked, that doesn't mean there is no lock: its branch can be locked (or its associated Stream in UCM), or the Vob itself can be locked.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top