Perforce Command Reference:   [Index]  [Prev] [Next]


p4 lock

Synopsis

Lock an opened file against changelist submission

Syntax

p4 [g_opts] [ -c changelist# ] [file ... ]

Description

The open files named are locked in the depot, preventing any user other than the current user on the current client from submitting changes to the files. If a file is already locked then the lock request is rejected. If no file names are given then lock all files currently open in the changelist number given or in the 'default' changelist if no changelist number is given.



Perforce Command Reference:   [Index]  [Prev] [Next]


Copyright 1998 Perforce Software.
Contact us at [email protected]
Last updated: 06/14/98