user1767754
user1767754

Reputation: 25154

Perforce add's 'depot' folder when creating a workspace

I have a depot structure as following:

-> depot
---> artSource
---> Game

Until I was changed to an admin account, When connecting a workspace I would only the ArtSoruce, Game in my workspace, but since the change, I'm getting the depot as well.

All other user's don't have the depot folder, doing the same steps. Thoughts?

Upvotes: 0

Views: 680

Answers (1)

Samwise
Samwise

Reputation: 71562

Your client view is different from theirs.

A client view of:

//depot/... //your-client/...

will map //depot/... directly to your client root.

A client view of:

//depot/... //your-client/depot/...

will map //depot/... to a folder called depot under your client root (as you're describing).

To remove the extra client folder from your workspace, remove it from the view and then p4 sync to sync the workspace using the new view.

Note that the former (without the extra folder on the client side) is the default when there is only one depot, but when there are multiple depots, the default view maps each depot to a folder of the same name. My guess is that your workspace has the extra folder level because there's a second depot that was created since your previous workspace was, or perhaps because there's a second depot that only you (as an admin) have access to.

Upvotes: 2

Related Questions