2013-02-26 59 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作爲一個版本的文件,但沒有有效的客戶端規範(又名工作區),它無法解析它的軟件倉庫路徑。