【问题标题】:Get changes from the perforce从 perforce 获取更改
【发布时间】:2013-02-27 09:33:12
【问题描述】:

我正在尝试从 perforce 获取最后的更改

所以我去 perforce 文件夹并执行以下命令,正如我在教程中找到的那样

p4 changes -m 5 //depot/main//project/ result.txt // should save last five changes to result.txt 

但给我以下错误

result.txt - must create client 'IM000001' to access local files // IM000001 is the name of my computer

有什么想法吗?

【问题讨论】:

    标签: perforce


    【解决方案1】:

    尝试这样编写命令:

    p4 changes -m 5 //depot/main/project/... > result.txt
    

    您做错的主要事情是没有将输出重定向到您的 result.txt 文件中,因此 p4 更改试图将 result.txt 解释为版本化文件,但没有有效的客户端规范(又名工作区)它无法解决它的仓库路径。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-05-10
      • 1970-01-01
      • 2015-03-15
      • 1970-01-01
      • 1970-01-01
      • 2014-07-11
      • 2013-12-21
      相关资源
      最近更新 更多