I need to merge the streams using commands in P4. can anyone help me with this? the two streams are parent child streams. I need to merge down from parent to child.
Asked
Active
Viewed 843 times
0

Bryan Pendleton
- 16,128
- 3
- 32
- 56

Siva G
- 3
- 2
-
Are you trying to figure out how to do this on the command line? Or are you trying to figure out how to do this using P4V? Your question title says one thing, your question content says the other. – Bryan Pendleton Jul 18 '16 at 18:28
-
Sry about that, Changed the Title. I want to merge the streams using commandline – Siva G Jul 19 '16 at 05:21
1 Answers
0
I'm typing this from memory, without actually trying it, but I think this is pretty close:
- Switch your client workspace to the child stream, since that is the target of the merge:
p4 client -s -S child
- Sync your client, to make sure you're building and testing with the latest files:
p4 sync
- Merge the parent stream's changes into your child stream:
p4 merge
- Resolve any conflicts:
p4 resolve
- Build and test, to confirm that you're happy with the results
- Submit the merged code to the child stream:
p4 submit
Of course, make sure that you're working with the correct client workspace, as the correct user, etc., by running p4 set
before you start this process, to look at your P4CLIENT, P4USER, etc. settings.

Bryan Pendleton
- 16,128
- 3
- 32
- 56