2013-02-26 57 views
2

我想从Perforce的获取从Perforce的

所以我去Perforce的文件夹最后修改并执行以下命令的变化,我在tuturial

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 

有什么想法吗?

回答

6

尝试写命令是这样的:

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

你有错的主要事情是没有输出到您的Result.txt文件的重定向,P4的变化试图解释的Result.txt作为一个版本的文件,但没有有效的客户端规范(又名工作区),它无法解析它的软件仓库路径。