我试图从perforce获得最后的更改
所以我去perforce文件夹并执行以下命令,就像我在tuturial中找到的那样
p4 changes -m 5 //depot/main//project/ result.txt // should save last five changes to result.txt
Run Code Online (Sandbox Code Playgroud)
但是给了我以下错误
result.txt - must create client 'IM000001' to access local files // IM000001 is the name of my computer
Run Code Online (Sandbox Code Playgroud)
有任何想法吗?
尝试编写如下命令:
p4 changes -m 5 //depot/main/project/... > result.txt
Run Code Online (Sandbox Code Playgroud)
您遇到的主要问题是没有将输出重定向到您的result.txt文件,因此p4更改尝试将result.txt解释为版本化文件,但没有有效的客户端规范(aka工作空间),它无法解析库路径为了它.