如何使用 p4api.net 获取给定提交的更改列表的待处理更改列表编号
How to use p4api.net to get pending changelist number for given submitted changelist
提交期间的更改列表可能会被重新枚举。我需要获取已提交的变更列表的旧变更列表编号。我可以使用 p4:
p4 -Ztag -F%oldChange% describe 1234
我想使用 p4api.net 来做到这一点,但我找不到方法。
不知道有没有这个选项?
它似乎不是 P4.Changelist 接口的一部分,但您应该能够 运行 带标记输出的 describe
命令并获得 oldChange
字段.
https://www.perforce.com/perforce/doc.current/manuals/p4api.net/p4api.net_reference/Index.html
查看 P4CommandResult.TaggedOutput
、P4Command
和 Connection
。
提交期间的更改列表可能会被重新枚举。我需要获取已提交的变更列表的旧变更列表编号。我可以使用 p4:
p4 -Ztag -F%oldChange% describe 1234
我想使用 p4api.net 来做到这一点,但我找不到方法。 不知道有没有这个选项?
它似乎不是 P4.Changelist 接口的一部分,但您应该能够 运行 带标记输出的 describe
命令并获得 oldChange
字段.
https://www.perforce.com/perforce/doc.current/manuals/p4api.net/p4api.net_reference/Index.html
查看 P4CommandResult.TaggedOutput
、P4Command
和 Connection
。