Reputation: 713
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?
Upvotes: 4
Views: 23565
Reputation: 71517
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
Upvotes: 10