P4W error: file(s) is not in client view

user2530364 picture user2530364 · Jun 28, 2013 · Viewed 70k times · Source

I have an existing workspace that i have been using and everything has been working as expected.

Now I am beginning a new project and would like to change my workspace root so that the files will be located in a different directory, for example, C:/NewProject

I have made the NewProject folder and added files to it, which i can see in my workspace veiw.

When I try to "Mark for Add..." I get a warning "c:\NewProject\FileName - file(s) not in client view"

How can i add these files to my depot? or to the client view so that i may successfully add them?

Any help or information would be appreciated. Thanks

Answer

Egg picture Egg · Jun 28, 2013

You can edit your client view through Connection->Edit Current Workspace in the View tab (or something similar; I'm on a p4 client from 2011). If you're working in a relatively small depot, you might as well just include //depot/... in your view.