Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

p4 edit giving error : file(s) not on client

Tags:

edit

perforce

On doing p4 edit file1 I am getting err: file(s) not on client. Tried to edit the file1 from the folder where the file is located and also by giving full file path still got same error.

p4 where gives 3 paths like : //depot/a/b/c/... //workspace-1/a/b/c/... /local/d/e/f/a/b/c/...

My workspace/client is workspace-1, file is present at path :"/local/d/e/f/a/b/c/"

workspace/client name is correct in .p4config (which is at path : /local/d/e/f/)

On doing p4 client, the P4 client spec file shows correct client name and View is : //depot/a/b/... //workspace-1/a/b/...

The issue is that p4 is not referring to client but not sure why .p4config is fine, env P4CLIENT is also set.

Why the client is not getting referred?

like image 604
Green Avatar asked Sep 07 '25 20:09

Green


1 Answers

Sounds like your client spec is set up correctly, since p4 where is showing the expected thing. The file(s) not on client error means that the file isn't synced.

Do:

p4 sync file1
p4 edit file1
like image 114
Samwise Avatar answered Sep 11 '25 01:09

Samwise