Branch and populate child streams

You have already completed Populate the mainline stream, so now 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 this command:

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

and sync to get the latest version of the files:

p4 sync