Is it possible to map manual copied files at Perforce?

87 views Asked by At

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.

2

There are 2 answers

3
Samwise On BEST ANSWER

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.

1
Jase On

In addition to what Samwise said about copying a workspace from one computer to another, you could look into running a Helix Proxy on one of the computers on your local network. This way, the file data will only need to be downloaded from the main Helix Core server once and then will be stored locally on the Helix Proxy so it will be much faster for other users.

https://www.perforce.com/manuals/p4dist/Content/P4Dist/chapter.proxy.html