Branch and populate child streams

After you have populated the mainline stream, you can branch files for development and for release. For example, to create a development stream that is a clone of its mainline parent, use the -P option to indicate the parent stream:

p4 stream -t development -P //Acme/main //Acme/dev

P4 Server displays the stream specification with the type set to development. Save the specification. To populate the stream with the files from the mainline, run the following command:

p4 populate -d "From main" -S //Acme/dev -r

and sync to get the latest version of the files:

p4 sync