I'm trying to delete a workspace (client) in perforce, so I type
p4 client -d my-client
but I get the error message
client is locked, cannot be deleted
How do I unlock the workspace so it can be deleted?
You need to edit the client spec. Type
p4 client my-client
This will put you in an editor with the client spec. Find the "Options:" section, change "locked" to "unlocked", and save the file. You should now be able to delete the workspace.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With