<TITLE>Locking Files</TITLE> <P> The <B>Lock</B> command enables you to lock one or more of your <a href="defs?help#openedfiles">opened files</a>. Only files opened by you in the current worksapce can be locked. (See also <a href="unlock?help">Unlocking Files</a>.) When a file is locked, only the user who locked the file can submit changes to that file. Other users can open locked files in their workspaces, but they can't submit changelists that include locked files. <P> <B>To lock one particular file:</B> <OL> <LI> Click the file that you want to lock. <LI> Select <b>Lock</b> from the <b>Action</b> menu. The file is locked. </OL> <B>To select more than one file to lock:</B> <OL> <LI> On the <B>Files</B> tab, select the directory that contains the files you want to lock. <lo> Select <B>Lock...</B> from the <b>Action</b> menu. P4Web displays a form that lets you choose files to lock. <LI> Select the files you want to lock. <li>Click the <B>Lock</B> button. The files are locked. </OL> <h4>The Lock Form</h4> <p> Selecting <b>Lock...</b> from the pulldown menu on the <b>Files</b> tab displays a form that lets you select files to lock. <p> If you have more than one <a href="pendingchangelists?help">pending changelist</a>, you can choose to lock only the files associated with one changelist. To do this, check <b>Lock files in changelist</b>, select the changelist you want, and click <b>Lock</b>. This option locks the files in the selected changelist regardless of whether the files are in the current path. Alternatively, you can choose to restrict files to lock by path, or by selecting from a checklist. For more information, see <a href="restrictfiles?help">Restricting Files Used in Commands</a>.
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12234 | Matt Attaway |
Rejigger P4Web project in preparation for official sunsetting The bin directory contains the last official builds of P4Web from the Perforce download site. P4Web is soon to be completely sunsetted; these builds are here for folks who don't want to build their own. To better handle the archived builds the source code has been moved into a separate src directory. |
||
//guest/perforce_software/p4web/Help/lock.html | |||||
#1 | 8914 | Matt Attaway | Initial add of the P4Web source code |