p4 streams
Display a list of streams.
Syntax
p4 [g-opts] streams [options] [-U] [streamPath ...] p4 [g-opts] streams [options] --viewmatch files [streamPath ...] options: [-a] [-F filter] [-m max] [-T fields]
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)
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 depot files. |
-a
|
(Optional) Includes deleted streams when listing the streams. |
|
See the |
Usage Notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
N/A |
N/A |
|
If no stream matches the specified argument, the command ignores the argument and returns all streams.
Examples for p4 streams
|
List the |
... Stream //streamd1/maria-stream1-mainline ... Name maria-stream1-mainline ... Parent none ... Type mainline ... deleted ... firmerThanParent n/a ... baseParent none ... ParentView inherit |
List the streams that have been deleted |
Stream //gizmo/main share ... //gizmo/main/... Stream //gizmo/virt-src share src/... //gizmo/main/src/... Stream //widget/main import src/sprocket.c //gizmo/main/src/sprocket.c |
List the stream name, stream path type, depot view path, and depot path of the streams whose views include the file //gizmo/main/src/sprocket.c In this example:
|
Related Commands
Create, edit or delete a stream |