Perforce 2004.2 Command Reference | ||
<< Previous Chapter p4 users |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 where |
If invoked without arguments, p4 verify computes and displays the digest of each revision. If a revision is missing from the archive and therefore can't be reproduced, the revision's output line ends with MISSING!
To save MD5 fingerprints in the Perforce database, use p4 verify -u. Subsequent invocations of p4 verify compute checksums for the desired files and compare them against those stored by p4 verify -u. If the checksums differ, the output line for the corrupt file ends with BAD!
Once stored, a digest is not recomputed unless p4 verify -v flag is used to overwrite it. The -v flag is generally used only to update the saved digest of archive files which have been deliberately altered outside of Perforce control by a Perforce system administrator.
-q |
Run quietly; verify the integrity of files for which MD5 digests have previously been generated, and only display output if there are errors. |
-u |
Store the MD5 digest of each file in the Perforce database if and only if no digest has been previously stored. Subsequent uses of p4 verify will compare the computed version against this stored version. |
-v |
Store the MD5 digest of each file in the Perforce database, even if there's already a digest stored for that file, overwriting the existing digest. |
See the Global Options section. |
Perforce 2004.2 Command Reference | ||
<< Previous Chapter p4 users |
Table of Contents Index Perforce on the Web |
Next Chapter >> p4 where |