p4 graph verify (graph)
Verify repo integrity.
Syntax
p4 graph verify [-q] -n //repo/name
Description
Traverse the directed acyclic graph (DAG) of the repo to verify that each blob object exists as expected in the archive.
LFS (Large File Storage) archives are also verified.
In the output, a line appears for each file in the repo because the command generates a SHA1 on each repo blob in real time. With a command such as
p4 graph verify -n //gd1/repo1
each line might appear in a manner similar to the following:
e69de29bb2d1d6434b8b29ae775ad8c2 gd1/repo1.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2
Options
-n
|
(required) The name of repo to verify. |
-q
|
(optional) Suppress output in the case of successful verification of the blob.
However, in the case of a failure, display a message indicating the problem, such as:
If used, |
Usage Notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
N/A |
N/A |
list
|
Related Commands
To recompute object refcounts in the object table. |
|
To delete refhist records for a repo. |