【问题标题】:command change with perforce使用 perforce 更改命令
【发布时间】:2014-01-04 21:28:04
【问题描述】:

为了获取特定时期的变化列表,我们使用命令 change

p4 changes @2001/04/01,@now 

我正在使用 p4api.net 获取此更改列表,因此我必须使用:

 P4Command cm1 = new P4Command(ps, "changes", true, String.Format("{0}", deppath1));

但问题是如何指定这两个选项,我试过了,但它不起作用 请帮我, 如需更多帮助,请了解我在寻找什么
How to find changelists submitted in the last week for a particular user using Perforce?

【问题讨论】:

标签: c# perforce p4api.net


【解决方案1】:

当我们使用 p4api.net 时,p4 更改在这种情况下不起作用:

p4 changes file.c@2010/05/01,2010/06/01 

在 file.c 和 @ 之间缺少一个空格,因此 cm1.addArg 在这种情况下不起作用,因为它添加了一个空格并且不会被执行

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多