给定src和dest分支,如何在dest/..@lower,upper中找到从src集成的内容?
P4.run_integrated抱怨它不接受修订规范。
最佳答案
$ p4 changes dest/...@lower,upper returns the changes submitted into dest.
$ p4 changes -i dest/...@lower,upper includes the changes that were integrated into dest.
后者与前者的区别在于集成到dest中的变化。
使用p4python可以得到如下结果:
changes = set(P4.run_integrated('dest/...@lower,upper'))
changes_with_integrated = set(P4.run_integrated('-i', 'dest/...@lower,upper'))
integrated_changes = changes_with_integrated.difference(changes)
关于python - 如何获得已集成在CL范围内的更改?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12696828/