RepositoryConvertSparseStream Method
|
Converts a sparse stream to a development/release stream.
If stream is not already open, the stream specification will be opened
and any unbranched files from the parent stream will be opened in the workspace
for branch to the stream in default changelist.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2025.1.277.3624
Syntaxpublic string ConvertSparseStream(
Options options
)
Public Function ConvertSparseStream (
options As Options
) As String
public:
String^ ConvertSparseStream(
Options^ options
)
member ConvertSparseStream :
options : Options -> string
Parameters
- options
- Type: Perforce.P4Options
options for the stream convertsparse command
Return Value
Type:
StringReturns result during conversion of a sparse stream to a development/release stream.
Remarks
p4 help streamcmds
p4 stream convertsparse [-q]
'p4 stream convertsparse' converts a sparsedev or sparserel stream to
either a development or release stream.If it is not already open, the
stream specification will be opened and any unbranched files from the
parent stream will be opened in the workspace for branch to the stream.
-q Suppress normal output messages.Messages regarding
errors or exceptional conditions are displayed.
Examples
To convert the stream currently assigned to the client to either development/release:
which has sparserel/sparsedev stream.
string result = rep.ConvertSparseStream(new StreamCmdOptions(StreamCmdFlags.Convertsparse, null, null, false));
See Also