[p4] merge two perforce server into one
Kjell Martin
kjell.martin at peregrine.com
Mon May 8 14:03:23 PDT 2006
I'm not too sure what you meant by "migrate one Perforce server into
another".
Are you needing to merge or is a separately ported repository on the same
machine sufficient? IE Port perforce:1666 and perforce:2666.
In respect to a merge of two repositories an initial question is whether or
not you need to have the submitted changelist numbers remain the same. An
example would be if you're using some ticket tracking mechanism that relies
upon the changelist number.
Generally speaking when there are two changelist histories you have the
following possibilities:
* a number that has already been assigned to a pending or submitted
changelist in the other repository.
* a changelist number in one would come after a higher changelist in the
other by time date requirement. Even if you did not have duplicate numbers,
the date sequence could be wrong between the two. For example changelist 45
of repository 1 was submitted Jan 2, 2006 and changelist 23 of repository 2
was submitted Feb 27, 2006. In a merge of the two, a minimum of one of the
changelists numbers will have to change to maintain date-time and changelist
number order.
Thus you need to look at the possibility of renumbering your changelists and
how it would affect your entire system and not just Perforce.
There is a script available to merge two repositories; it will renumber. We
took an initial look at
"ftp://ftp.perforce.com/perforce/tools/perfmerge2.pl" available from
Perforce. We ended up not merging our repositories.
I would suspect there are similar issues with jobs, but alas we do not use
that feature.
I would talk to Support to see what solution will work best.
Kjell Martin
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Andy Nguyen
Sent: Monday, May 08, 2006 11:22 AM
To: perforce-user at perforce.com
Subject: [p4] merge two perforce server into one
Hi,
I need to migrate one Perforce server into another. I'm sure there is a
solution for this task. Please point me to a link or instructions that you
have.
Thank you for your help in advance.
-Andy
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list