Reputation: 877
I have two areas:
//depot/path/to/area1/...
//depot/another/path/to/area2/...
I work in both areas, and need to copy files in both areas back and forth. I assumed a
p4 copy //depot/path/to/area1/... //depot/another/path/to/area2
would do that, but when I "p4 sync" in the second area nothing downloads. I check in p4v, but don't see anything in the changelists.
Does anyone know how to do this?
*Yes I know I should not have the same files in two areas, but that is out of my control.
Upvotes: 2
Views: 8327
Reputation: 2543
In order to integrate/copy files/changes from //depot/path/to/area1/... to //depot/another/path/to/area2/... you need to call:
p4 copy //depot/path/to/area1/... //depot/another/path/to/area2/...
p4 submit
You need to do that in a client that has the targetpath in its clientview. The targetpath is //depot/another/path/to/area2/...
Upvotes: 8