p4 streams
Display a list of streams.
Syntax
p4 [g-opts] streams [-U] [-F filter] [-T fields] [-m max] [streamPath ...]
p4 [g-opts] streams --viewmatch [-F filter] [-T fields] [-m max] //depotPath [ [--viewmatch //depotPathN] ... ]
Description
Lists the streams defined in the currently connected service. To filter
the list, for example, to list streams for a particular depot, specify
the streamPath
. (See Stream views and paths in Helix Core Command-Line (P4) Guide)
The --viewmatch
option indicates which streams have a stream view A stream view is defined by the Paths, Remapped, and Ignored fields of the stream specification. (See Form Fields in the p4 stream command) that matches the specified depot path. See the Examples for p4 streams.
Options
|
Filter the output according to the contents of specified fields. |
|
Maximum number of streams to list. |
|
Limit field output to fields specified in a list of
|
|
Display task streams unloaded with |
--viewmatch
|
Returns the stream name, depot path, and stream view path of the streams that have views containing
the given //depotPath , or that have views contained by the depot path. Multiple --viewmatch depotPath arguments can be
supplied. In addition, exclusionary paths are supported. See Examples for p4 streams. For information on exclusionary mappings, see Exclude files and directories in Helix Core Command-Line (P4) Guide. |
|
See the |
Usage Notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
N/A |
N/A |
|
Examples for p4 streams
List the streams in the jam depot |
|
List the release streams owned by Maria |
|
List the stream name, stream path type, depot view path, and depot path of the streams that "match" the three specified depot paths:
|
|
In this example:
|
Stream //stream/projectA import+ oWrite/... //other/oWrite/... Stream //stream/projectB import+ oWrite/... //other/oWrite/... Stream //root/main import+ oWrite/... //other/oWrite/... Stream //root/dev1 share ... //root/dev1/... Stream //root/dev1 exclude myExclude/... //root/dev1/myExclude/... Stream //root/dev1 isolate myIsolate/... //root/dev1/myIsolate/... |
To see the original source ( |
p4 -ztag streams --viewmatch="//depot/main/a/..."
might include:
to indicate that |
Related Commands
Create, edit or delete a stream |