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?

有帮助吗?

解决方案 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

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top