문제

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