11.07.2015 Views

Perforce 2003.1 Command Reference

Perforce 2003.1 Command Reference

Perforce 2003.1 Command Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

p4 delete• <strong>Perforce</strong> does not prevent users from opening files that are already open; its defaultscheme is to allow multiple users to open a file simultaneously, and then resolve fileconflicts with p4 resolve. To prevent someone else from opening a file once you’veopened it, use p4 lock. To determine whether or not another user already has aparticular file open, use p4 opened -a file.Examplesp4 delete //depot/READMEp4 delete -c 40 fileOpens the file called README in the depot's top leveldirectory for deletion. The corresponding file withinthe client workspace is immediately deleted, but thefile is not deleted from the depot until the defaultchangelist is submitted.Opens file in the current client workspace fordeletion. The file is immediately removed from theclient workspace, but won't be deleted from the depotuntil changelist 40 is sent to the server with p4 submit.Related <strong>Command</strong>sTo open a file for addTo open a file for editTo copy all open files to the depotTo read files from the depot into the client workspaceTo create or edit a new changelistTo list all opened filesTo revert a file to its unopened stateTo move an open file to a different changelistp4 addp4 editp4 submitp4 syncp4 changep4 openedp4 revertp4 reopen38 <strong>Perforce</strong> <strong>2003.1</strong> <strong>Command</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!