p4 streamspec
Edit the streams template to change, add, or remove spec fields for stream forms.
Syntax
p4 [g-opts] streamspec
p4 [g-opts] streamspec -o
p4 [g-opts] streamspec -i
Description
This format is used by p4 stream when streams are entered or updated, and by p4 streams when displaying a list of streams.
This command brings up a form with the following fields:
| Fields: | A list of the fields maintained for each stream, one line per field. Each line has five words: code, name, data-type, len, and field-type. 
 | ||||||||||
| 
 | A list of select fields and the values that the fields can have. Each line has two words: the field name and the values list, with individual values separated by a forward slash / (no spaces). | ||||||||||
| Presets: | A list of fields and their default values, for fields whose setting flag is other than optional. Each line has two words: the field name and the default value. If the value has spaces, it must be enclosed in double quotes. The following special defaults are recognized: $user: the user entering the stream $now: the current date $blank: the words <enter description here> | ||||||||||
| A list of versioning options when editing a stream spec. Each line has two words: the field name and the value. Values are: none: cannot be changed in a stream edit isolate: can be changed only in a stream edit propagate: can be changed in a stream edit or integ | |||||||||||
| 
 | Text to be included at the top of each stream specification, to help the user fill out the form. Each line must begin with the comment character # | ||||||||||
| 
 | See Global options. | 
Options
| 
 | Read the stream template from the standard input. The user's editor is not invoked. | 
| 
 | Write the stream template to the standard output. The user's editor is not invoked. | 
| 
 | 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 | 
 | 
Related commands
| List streams | |
| Create a stream | |
| Create stream depot |