Package a set of files and their history for use by p4 unzip
.
p4 zip -o file [-r remote -A -I] [filespec | -c change]
p4 zip -o file [-r remote -A -I] -s shelf
Writes the following to the specified zip file:
The content of the zip file can be specified either by providing a
filespec, which selects a set of revisions, or by providing one or more
changelist numbers using the -c
option, which selects all
the revisions modified by those changelists.
The second form of the command writes a single shelved changelist to the
specified zip file. When you use the -s
option, you must
also use the -A
option.
|
Include the archive content of the new revisions. |
|
Zips up just the files covered by the specified changelist. |
|
Excludes integration records for the new revisions. |
|
Specifies the zip file name. |
|
Specifies the remote spec to be used to re-map the files when they are written to the zip file. |
|
Specifies a shelved changelist to be zipped, instead of one or more submitted changelists. For more information, see the section "Fetch and push a shelved changelist" in the "Fetching and Pushing" chapter of Using Helix Core for Distributed Versioning. |
|
Specifies the filepath of the files to zip up. |
|
Creates a zip file named |
Import files from a |