在Perforce Depot中的两个区域之间复制目录

Eri*_*ope 1 perforce copy

我有两个方面:

//depot/path/to/area1/...
//depot/another/path/to/area2/...
Run Code Online (Sandbox Code Playgroud)

我在这两个领域工作,需要来回复制这两个领域的文件.我假设了一个

p4 copy //depot/path/to/area1/... //depot/another/path/to/area2
Run Code Online (Sandbox Code Playgroud)

会这样做,但当我在第二个区域"p4同步"没有下载.我检查了p4v,但在更改列表中没有看到任何内容.

有谁知道如何做到这一点?

*是的我知道我不应该在两个方面拥有相同的文件,但这是我无法控制的.

pit*_*ker 7

为了将文件/更改从// depot/path /集成/复制到/ area1/...到// depot/another/path /到/ area2/...,你需要调用:

p4 copy //depot/path/to/area1/... //depot/another/path/to/area2/...
p4 submit
Run Code Online (Sandbox Code Playgroud)

您需要在客户端视图中具有targetpath的客户端中执行此操作.目标路径是// depot/another/path/to/area2/...