p4 restore
Synopsis
Restore old archived revisions from an archive depot.
Syntax
p4 [g-opts
] restore [-n]
-D depot
file
[revRange
]
…
Description
The p4 restore command transfers archives from a named
depot
of type archive
back
to their original locations in a local depot. After being restored, the
revisions' action is restored to whatever it was before it was archived.
Options
|
Specify an archive depot from which files are to be restored. |
|
Do not restore files; report on revisions that would be restored. |
|
See “Global Options”. |
Usage Notes
Can File Arguments Use Revision Specifier? |
Can File Arguments Use Revision Range? |
Minimal Access Level Required |
---|---|---|
Yes |
Yes |
|
-
Storage for the archive depot must be mounted unless you are using the
-n
option.