1 message in com.perforce.perforce-user[p4] Moving part of a depot to a diff...| From | Sent On | Attachments |
|---|---|---|
| "Schaible, Jörg" | 14 Feb 2002 07:41 |
| Subject: | [p4] Moving part of a depot to a different depot on a differe nt server![]() |
|---|---|
| From: | "Schaible, Jörg" (Joer...@gft.com) |
| Date: | 02/14/2002 07:41:54 AM |
| List: | com.perforce.perforce-user |
Hi Paul,
after removing all unnecessary meta data from the source depot (you may just use a checkpoint, start a new instance and obliterate anying unwanted), you have to merge these data into the target depot. P4 once provided a Perl script that was able to merge multiple checkpoints into one, but it was always unsupported.
I have in the public depots a newer version of this script (//guest/joerg_schaible/perforce/utils/admin/perfmerge.pl), that eliminates a bug causing an endless loop. Unfortunately this version is not able to handle the new DB layout yet (2001.x), but you may use it as starting point. And please take care that only one of the merged checkpoints has a protection table, users and groups.
Aside from this problem the script has another caveats you have to take into account: It will renumber all your changelists and jobs from scratch (according to the submission dates). An integration with an external BugTracking system may break if it relies on this numbers.
Regards, J?rg
-----Original Message----- From: Paul Mitchell [mailto:pmitchel at ati.com] Sent: Thursday, February 14, 2002 3:10 PM To: 'perforce-user at perforce.com' Subject: [p4] Moving part of a depot to a different depot on a different server
Has anyone figured out a straightforward way of doing this which retains the revision history from the old depot? Since there is only one set of db files for a given server, it seems like a complicated task to me (replicating all of the meta-data for the moved files in the new depot). The problem is complicated by the fact that the new server already has other files on it - if it was empty, I have a simple way of doing what I need.
Thanks in advance,
Paul
_______________________________________________ perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user




