The Lock Opened Files command allows you to lock one or more
of your opened files. When a file is locked, only the user who locked
the file can submit changelists that include the locked file. (Other
users can check out the locked files, but will not be able to submit
changes to locked files back to the depot.)
Unless otherwise specified, all files in the default changelist will be
locked.
This is equivalent to the command line:
This is equivalent to the command line:
To include or exclude individual files from locking,
click on the checkboxes for each file, and activate the
radio button for the Selected Files option.
Command:
Files:
Lock files in changelist:
Lock files in //client-path:
Files in the specified client path and all directories below will be
locked.
p4 lock //client-path/...
Only files in the specified client path will be locked.
Any files in directories beneath the client path will remain unlocked.
p4 lock //client-path/*
Selected Files:
[Return to "How to Use P4Web"]