sdp pack package[.dpk] [ options ] [ -c changelist# ] [ file ... ]
sdp pack package[.dpk] [ mapping options ] [ -i | -I file ]
options: [ pack options ] [ mapping options ] [ resolve options ]
pack options: -z [ -ob | -ot ] -M -C description -D reference-diff
mapping options: [ -m from to | -b branch ] ... -r
resolve options: [ -a | -af | -at | -ay ] -t
-C specifies a package description. If none is specified, and the
package does not already contain a description, the description from
the changelist being packed will be used, if available.
-D specifies a 'reference' diff file to attach for binary files.
This file is displayed when viewing diffs but not used otherwise.
-M specifies that unpackable operations should be mapped imprecisely
to packable ones. Packages created using -M should not generally be
submitted as they are inexact replicas of the original changes.
Specify filenames and patterns to pack on the command line, or using
flags described below.
The -ob flag packs only binary files, skipping others. The -ot
flag packs only text files (including unicode), skipping others.
The -c flag packages the files from the numbered pending changelist
that has been previously created with 'sd change' or a failed
'sd submit'. If filenames are specified along with a changelist, the
files packed are restricted to those in the changelist that match the
patterns. As a special case, '-c all' requests all changelists
(i.e. all files opened anywhere in client), overriding the default of
'-c default'.
The -i flag causes a changelist specification (including files to be
submitted) to be read from the standard input. The -I flag causes a
changelist to be read from the named file. The user's editor is not
invoked. All fields but Description and Files are ignored.
The -z flag specifies that any existing package contents should be
removed before packing files so that the package contains only the
files packed by this invocation. Any existing description is
preserved as the default.
The -m, -b and -r mapping options remap filenames being packed so
that the generated package contains your changes as if made to
the remapped files. You will be prompted to resolve merges and
conflicts. Use these options to create a package that's been
'pre-merged' for cases where otherwise, remapping would be needed
at apply time. See details with 'sdp help remapping'.
The -a, -af, -at, -ay and -t resolve options affect resolve
operations as described with 'sdp help resolving'.
Without arguments, or if required information (i.e. a description)
is not provided or already found in the package, you will be
prompted using the SD form editor.
浙公网安备 33010602011771号