Perforce 2004.2 Command Reference | ||
<< Previous Chapter p4 resolved |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 review |
When files you've opened with p4 delete are reverted, the files are reinstated in the client workspace. When you revert files that have been opened by p4 add, Perforce leaves the client workspace files intact. When you revert files you've opened with p4 integrate, Perforce removes the files from the client workspace.
-a |
Revert only those files that haven't changed since they were opened. Specifically, the only files reverted are those whose client revisions are:
|
-n |
List the files that would be reverted without actually performing the revert. This lets you make sure the revert does what you think it does before actually reverting the files. |
-c changelist# |
Reverts only those files in the specified changelist. |
See the Global Options section. |
To open a file for add | |
To open a file for deletion | |
To copy all open files to the depot | |
To read files from the depot into the client workspace | |
To list all opened files | |
To forcibly bring the client workspace in sync with the files that Perforce thinks you have, overwriting any unopened, writable files in the process. |
p4 sync -f |
Perforce 2004.2 Command Reference | ||
<< Previous Chapter p4 resolved |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 review |