Question

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:

enter image description here

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?

Was it helpful?

Solution 2

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

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top