Perforce who locked file




















If a user that has a file exclusively checked out is not available, an administrator can forcefully revert the checkout which will remove the exclusive lock. In some cases, it's possible for global lock records to become orphaned. To remove an orphaned lock, use p4 unlock -x file against the server the orphaned record is reported against.

With If the file was previously an exclusive lock, you may see "unknown". For example:. If so, change the file back to an exclusive lock file, then rerun " p4 unlock -x ".

If the file is associated to a client that no longer exists, you will see "unknown" instead of "orphaned". To remove the lock, an administrator will need to specify p4 -c client unlock -f -x file to unlock the global exclusive locks of files which are marked as "unknown". Please note, the above is not a normal occurrence as the files should automatically be reverted when the administrator deletes the client.

Whether you're looking for self-service resources, product downloads, or how to contact Technical Support, we've got lots of options to get the help you need—fast! Try Free Request Support. Sign in to ask the community. Helix Core Admin Tasks. Exclusive File Locking This article discusses exclusive file locks, their role, how to set and remove them on files. Try Free Request Support. Sign in to ask the community. Helix Core Admin Tasks. Information Blank. Internal Properties Validation Status.

Helix VCS. How To Contact Support Whether you're looking for self-service resources, product downloads, or how to contact Technical Support, we've got lots of options to get the help you need—fast! With the user's password get a p4 admin to clear it out if no one knows what it is , use a command like the one raven suggested:. I had similar issue on a file on my client.

I was saying can't edit file, because opened on the same client. Wasted couple days waiting admin to unlock, but below worked for me:. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 11 years, 3 months ago.

Active 4 months ago. Viewed 27k times. Improve this question. Barry-Jon Barry-Jon 1, 4 4 gold badges 12 12 silver badges 16 16 bronze badges. Add a comment. Active Oldest Votes. The "reopen" and "revert after reopen" can also be performed by ordinary users.



0コメント

  • 1000 / 1000