I tried to create a baseline today and ClearCase Explorer crashed (seemed to be after it was finished, but evidently it wasn’t.)
I tried to recreate the baseline and it gives me an error saying there are some that are “in_progress” so it can not proceed.
I removed the baseline, and I am trying to remove the “in_progress” label types.
When I remove the lbtype, it says that a directory is locked.
I did an lslock -all and removed the locks on a project and a baseline and now there is nothing listed when I do an lslock -all.
I tried to remove the “in_progress” lbtype and it is still saying that something is locked. Is there another way to find out what is preventing it from working?
I know this may be confusing, so if any clarification is needed, I am willing to update my question.
“ct lslock -all”
–09-09T09:47 USER lock project “XXXXXXX” (locked)
“Locked for all users. Project locked for future changes as released.”–09-20T09:56 USER lock baseline “XXXXXXXXX” (locked)
“Locked for all users.”
(removed locks)
“ct lslock -all” shows nothing
“rmtype -rmall lbtype:BASELINE_in_progress@\VOB
There are 1228 labels of type “BASELINE_in_progress”.
Remove labels? [no] yes
cleartool: Error: Lock (obsolete) on directory element prevents
operation “remove label”.cleartool: Error: Unable to remove label type “BASELINE_in_progress”.
The actual error message is
The idea is to:
The locks which could prevent those operations to complete are:
Few remarks, from the comments:
cleartool lslock -allwon’t display obsolete files (“obsolete” being one form of locking):cleartool lslock -all -obsoletewill.to unlock a set of locked files, you have a choice between
forandcleartool find -execcommands.Unix, in view context…
Note that a
cleartool findwould unlock everything under a certain path.If you know that path (and all — or most of all — its content) is locked, then it can work: