p4 unzip
Synopsis
Import files from a p4 zip package file.
Syntax
p4 [g-opts
] unzip -i zipfile
[-f -n -A -I -v --enable-dvcs-triggers]
Description
Imports the following into the specified zip file:
-
the specified set of files
-
the changelists that submitted those files
-
the files' attributes
-
any fixes association with the changelists
-
all integration records that describe integrations to the files being unzipped
The value of the rpl.checksum.change
configurable determines the level
of verification performed for the p4 unzip command. See “Configurables”.
Triggering when unzipping
The following push trigger types may be invoked during the execution of the p4 unzip command:
-
The
push-submit
trigger can customize processing during the phase of the p4 unzip command when metadata has been transferred but files have not yet been transferred. -
The
push-content
trigger can customize processing during that phase of the p4 unzip command when files have been transferred but their contents have not yet been committed. -
The
push-commit
trigger can do any clean up work or other post processing after changes have been committed by the p4 unzip command.
You must use the --enable-dvcs-triggers
option to enable push triggers
for the p4 unzip command.
For more information, see the section "Triggering on pushes and fetches" in the scripting chapter of Helix Versioning Engine Administrator Guide: Fundamentals.
Options
|
Include the archive content of the new revisions. |
|
Enable any push triggers when the specified file is processed. Push triggers are disabled by default for the p4 unzip command. For more information about these kinds of triggers, see the chapter "Scripting Perforce: Scripts and Daemons" in Perforce Server Administrator Guide: Fundamentals. |
|
Bypasses the correctness checks. |
|
Specifies the zip file name. |
|
Excludes integration records for the new revisions. |
|
Performs all the correctness checks, but does not push any files or changelists to the remote server. |
|
Specifies verbose mode, which provides diagnostics for debugging. |
|
See “Global Options”. |
Usage Notes
Can File Arguments Use Revision Specifier? |
Can File Arguments Use Revision Range? |
Minimal Access Level Required |
---|---|---|
N/A |
N/A |
|
Examples
p4 unzip -i foo |
Imports the contents of the zip package named
|