Perforce 2001.1 Command Reference
<< Previous Chapter
p4 typemap
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 user

p4 unlock


Synopsis

Release the lock on a file.

Syntax

p4 [g-opts] unlock [-c changelist#] file...

Description

The p4 unlock command releases locks created by p4 lock.

If the file is open in a pending changelist other than default, then you must use the -c flag to specify the pending changelist. If no changelist is specified, p4 unlock unlocks files in the default changelist.

If no file name is given, all files in the designated changelist are unlocked.

Options

-c changelist#

Unlock files in pending changelist changelist#

g_opts

See the Global Options section.

Usage Notes

Can File Arguments Use
Revision Specifier?

Can File Arguments Use
Revision Range?

Minimal Access Level Required

No

No

write

Related Commands

To lock files so other users can't submit them

p4 lock


Perforce 2001.1 Command Reference
<< Previous Chapter
p4 typemap
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 user
Please send comments and questions about this manual to [email protected].
Copyright 1997-2001 Perforce Software. All rights reserved.
Last updated: 10/01/01