Perforce "p4 sync" is not working properly

Totally confused with the strange behavior of "p4 sync". Tried to execute the following commands

Note. The file name is missing in the workspace.

p4 sync // depot / filename --- indicates that the files are updated

p4 have // ​​depot / filename --- shows files not on the client

The thought may be that the perforce server believes that the file is present in its client, has a database. Therefore delete the file using

p4 sync // depot / filename # none --- shows updated files

p4 sync // depot / filename # head --- shows updated files

Finally when i say

p4 have // ​​depot / filename --- shows files not on the client

Then i did

p4 sync -f // depot / filename # head --- shows // depot / filename - is deleted as c: / workspace / filename

and in the end

p4 have // ​​depot / filename --- shows the file is not on the client.

, ?

+4
1

"p4 //depot/filename ", , .

(.. "p4" , - ), "p4 sync" . , "".

"p4 sync -f" , . ( "p4 add", - "p4 sync -f"!)

+6

All Articles