Deleting stream files and stream specs

To delete a stream

  1. In the Streams tab or Stream Graph tab, right-click the stream you want to delete and select Delete Stream <stream name>.

    If the stream is associated with an active workspace, the Associated Workspaces dialog notifies you that the stream cannot be deleted. However, if you right-click the workspace name in this dialog, you can delete that workspace if you own the workspace or are the administrator.
  2. When all the associated workspaces have been removed, click OK.

  3. When you are prompted to indicate if you want to "permanently delete" the files in the stream, click Yes, delete files.
  4. When prompted to indicate if you want to delete the stream, click Yes to confirm. P4V removes the stream spec.

See also Viewing deleted streams and their history.

Note

To re-create a deleted stream, use the same name and path when creating a "new" stream. You can re-create that stream with the same or a different Stream type, such as development or mainline.

More information

If you delete only the files in a stream, the stream spec remains in the system. If you delete only the stream spec, the files that were associated with that stream remain available in the depot.

P4V removes unmodified files from the stream, but does not delete files with more than one revision so that their edit history is preserved. Files deleted from the stream remain in client workspaces until the next Get Latest Revision operation, which removes them. If deleted files have been branched to a child stream, P4V generates new integration records to directly link the branched files in the child stream to the files in the parent stream that they were previously related to indirectly.

Note

With task streams, the unmodified files automatically go away when the stream spec does. For more information, see Delete and unload task streams.