Reputation: 586
We have a case where changes were made to a file in a source branch that need to get propagated to multiple destinations?
Here is an illustration:
I know I could do each one individually, but it seems like with the right wildcards in the filespec this might work.
We tried this viewspec:
//dev/main/file.txt //dev/r*/file.txt
But we got this error:
Integration errors: Incompatible wildcards '//dev/main/file.txt' <-> '//dev/r*/file.txt'
Is this possible?
Upvotes: 1
Views: 715
Reputation: 586
Per the comment from @Matt:
No way to one shot that with a wildcard I'm afraid. You'll have to script that one. p4 dirs will be handy for you to get the directories on the right hand side
Upvotes: 0
Reputation: 16339
You have to perform multiple integrate/resolve commands, one set for each target branch.
But, you can include all the integrations in a single changelist, and submit them all with a single submit, if you wish, so that they are all submitted at once with a single change description.
Upvotes: 2