给定 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)