Jump to content

Creating new depots & workspaces results in "file(s) not in client view"

  • Please log in to reply
1 reply to this topic

#1 roberteker



  • Members
  • PipPip
  • 15 posts

Posted 12 September 2019 - 09:01 AM

Here's my step by step:
  • Create a new depot on the server (p4 depot somename)
  • Create a new workspace on the client (using p4v, choosing a local folder and matching depot)
  • Add files from local folder to server (using p4v, in the workspace tab, select all and then choosing add and submit)
This seems straight forward, but results in "file(s) not in client view".

Is this not the correct procedure to add new projects to a server? Am I missing a step?

We tested this on a fresh Perforce install. First created depot adds the local files, but the second created depot generates the error message.

#2 Sambwise


    Advanced Member

  • Members
  • PipPipPip
  • 917 posts

Posted 12 September 2019 - 02:18 PM

The error message means that the files you tried to add aren't part of the workspace you created.

If your files are in the path:


and you want to put them in the server path:


then your workspace should look something like:

Client: MyAwesomeClient
Root: C:\MyAwesomeFiles
	//MyAwesomeDepot/... //MyAwesomeClient/...

Take a look at your client spec now.  Does your View instead look like this?  (This is the default way it'll be set up if you don't edit the View when you create the client.)

	//MyAwesomeDepot/... //MyAwesomeClient/MyAwesomeDepot/...

If that's the case, then your client view only contains the path:


and that's the only place you'll be able to add files from.  If you want to change that, change the View to remove the extra "MyAwesomeDepot" from the client path.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users