How to remove a lock on a deleted file?
![]()
Peter Suurküla (3●1●2)
| asked Sep 20 '12, 9:14 a.m.
edited Sep 16 '16, 9:00 a.m. by David Lafreniere (4.8k●7)
Hi,I am trying to modify the baseline of a stream, but one of the components refuses the modification: RTC says there is a locked file in the current baseline. It may be right, because when I search for locks in the source-control of the web-interface, I have a list of <unknown> (or rather <inconnu> in french), and the tooltip indicates that they are in the concerned stream - but I'm not able to unlock them.
- Is there a way to unlock these files?
- Is there a way to overrule the error I get when trying to change the baseline?
FYI, we're still using RTC 3.
Thanks in advance for any help!
|
Accepted answer
![]()
It is possible from the Eclipse client if you cannot release locks from the web UI.
Search > Jazz Source Control > Locks You can search for your own locks or those owned by someone else. From the search results, you can remove locks. This works on files already deleted. Peter Suurküla selected this answer as the correct answer
|
2 other answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Sep 20 '12, 10:39 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Peter,
in general you should be able to unlock files. I found in the Web UI (in 4.0) no direct way to do it. I searched for the locks and then I had do go to each file to unlock it. In general, if you seem to be unable to do it, try with the Eclipse client. You need to have the permission to be able to remove other people's locks. I found https://jazz.net/forum/questions/45495/unlock-files which might be of interest. Comments Hi Ralph, Thanks for your quick answer. Unfortunately I wasn't clear enough in my question: I've already done what you discribed (and ran into the same trouble with not being able to unlock the files from the Web UI, but had to do it in Eclipse), and it worked fine for all files that were still within the Eclipse project. Nevertheless, there are still files that are marked as locked within the Web UI, but that have been deleted from the Eclipse project. Hence, I cannot unlock them from within Eclipse... That's why it would have been nice to be able to unlock them from within the Web UI. Anu other idea? Regards Peter |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.