Search code examples
perforceconfiguration-managementp4v

Is it possible to map manual copied files at Perforce?


I'm managing small team project with perforce.

We are now trying to merge our files, which we worked itselves.

But, our data is very large and network is very slow.

So, we want to copy files with HDD and copy to each other.

I'm wondering, if I merge our files with one WorkSpace and submit to Server, and copy with HDD to each other, then is it possible to mapping files which is copied to team member?

If it works, now we can work one stream.

When I try to copy and open P4V, it can't reconize it and try to download with network.


Solution

  • See this KB article on "cloning" clients: https://portal.perforce.com/s/article/2446

    You will need to use the command line, since this involves going a bit outside the normal Perforce workflow, but to reiterate what the KB article says:

    1. Copy the files from the original workspace to the others.
    2. p4 flush/p4 sync -k the other workspaces, using the original workspace as a revision specifier (e.g. p4 sync -k @original_workspace)

    Note that if you do this incorrectly, the server will be confused about what's actually in your workspace, and life will be difficult (you may end up missing files without knowing it). If you're not positive that you got those two steps exactly right, use p4 clean to tell the server to check your workspace and re-sync anything that doesn't look right.