我正在使用 PerforceP4API.NET
以编程方式提交大型分支操作,并希望能够为我的用户提供一些反馈。
使用命令行p4
客户端时,可以-I
选择获取进度报告。有什么方法可以通过 API 获取这些报告?
我正在使用r13.1
,但如有必要可以升级。
进度报告通过 ClientProgress 类在 C++ API 中公开:
这是在 2012.2 版本中添加到 C++ API 中的:
http://www.perforce.com/perforce/doc.current/user/p4apinotes.txt
Major new functionality in 2012.2
New ClientUserProgress class which shows Textual progress
indications. New methods in ClientUser (CreateProgress,
and ProgressIndicator). See api documentation for details.
但是.NET API 中还没有类似的接口。