3

给定 src 和 dest 分支,我如何在 dest/...@lower,upper 中找到从 src 集成的内容?

P4.run_integrated 抱怨它不接受修订规范。

4

1 回答 1

1
$ 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)
于 2012-10-02T22:07:30.047 回答