Вопрос

I have 3 different Perforce Depots (A, B, and C). Each of these 3 Depots has a long revision history and includes many internally moved & deleted files.

I want to move the contents of A, B, and C to folders inside a new Depot D. Once I do that, I'd like to remove A, B, and C. I tried the the P4 move command within P4V, but I can't seem to get it to move the deleted files from A, B, and C to new folders in D.

Is there any way to do this (either in P4V, P4Admin, or via the command line)? Basically, move an entire Depot into a folder in a new Depot and maintain complete revision history (including deleted files).

Thanks!

Это было полезно?

Решение

It sounds like you want to change history. You want Perforce to pretend those files weren't originally created in A, B and C, but have instead have always resided in D. Not easily done. It's probably possible with some complicated scripting (or via the API) that can reproduce all of the file operations in the new location. Something along the lines of the Python script they have that can import a VSS data set.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top