[p4] script to transfer revisions and history
Chuck Karish
karish at well.com
Tue Apr 24 13:29:32 PDT 2001
At 11:18 AM 4/24/01 -0700, Steve James wrote:
>Does anyone know of an existing script that will transfer a tree of files
>from one perforce server to another but doing so revision-by-revision so as
>to retain history information? I realize timestamp information would be
>lost but saving the history is the important thing.
If you're feeling brave you may be able to save your modification times
and complete the whole process more quickly this way:
- Take checkpoints of both servers.
- Copy the data files from the old server to the new server (or mount the
old server's data drive in an appropriate place).
- Edit the checkpoint file from the old server to correspond to the
file locations on the new server.
- Concatenate the checkpoint files and rebuild the metadata from the
resulting checkpoint file.
More information about the perforce-user
mailing list