Noobish p4 question

hey, im really new to using p4 for version control coming from a mostly git and svn background.

i got a problem where a user submitted a bunch of files that are part of the game engine that i don’t need in the depot, but still need to be on the clients.
so how can i go about removing them from the depot without having them removed from the clients next time they use get revisions?

im using p4v to manage p4

So I might not be the best person to answer this question, but if you go to your workspace tab or Connect/Edit Current Workspace… you should be able to
add this line to mask out full directories.


-//depot/project/art/... //client-NAME/project/art/...

If you don’t want a specific file type try this.


-//depot/project/art/.../*.psd //client-NAME/project/art/.../*.psd

If this doesn’t help just wait for the pros. :slight_smile:

-Nick

[QUOTE=passerby;22582]hey, im really new to using p4 for version control coming from a mostly git and svn background.

i got a problem where a user submitted a bunch of files that are part of the game engine that i don’t need in the depot, but still need to be on the clients.
so how can i go about removing them from the depot without having them removed from the clients next time they use get revisions?

im using p4v to manage p4[/QUOTE]

I don’t think you can easily do this. If you remove them from the depot, they get removed from the clients on sync. Even if you edit their workspace, Perforce will likely remove the files. You could nuke their workspaces, delete their files, then recreate their workspaces, but it is probably easier to just manually recreate these files by going around Perforce. I might suggest removing everything but these files on your machine, creating a zip file containing them, then you can distribute the zip and if you unzip it in the correct location, it will recreate them.