[p4] unix copying a depot
Listman
listman at burble.net
Wed May 14 10:38:02 PDT 2008
On May 14, 2008, at 5:55 AM- May 14, 2008, Robert Cowham wrote:
>> Can I unix copy an existing depot to a new location and start
>> a new p4d daemon on a different port and start working with
>> it? Are there any absolute path issues I might run into?
>
> If your depots use the default Map syntax, eg
>
> Map: depot/...
>
> Then this is relative to P4ROOT dir and you will have no problems.
>
> It is possible to make this an absolute path (eg in Unix or Windows
> syntax),
> in which case you would perhaps need to edit it.
>
>> I just want to run some tests on this depot copy, can i just
>> use the free 2 license version of p4 to do my trials? There
>> are 12 clients in the original depot that i copied. Is it
>> possible to just delete those
>> 12 and add a couple of new ones to play with?
>
> Yes that's not a problem to use unlicensed.
>
> It is usally not difficult to remove the client lines from the
> checkpoint
> (look for db.domain entries) before restoring.
>
but i wasn't planning on restoring from a checkpoint..
as i mentioned, i'd like to do the following:
> cp -r my_depot my_depot_copy
> cd my_depot_copy
> set P4PORT 49494
> p4d -p localhost 49494
and then create a new working copy
> cd ..
> mkdir work2
> cd work2
> p4 client my_new_client (make the necessary changes to the client)
> p4 typemap (add the necessary typemap lines)
> p4 sync
should this work?
how do i delete the existing clients in my_depot_copy so that i can
use the free 2 license server to run some test?
thx again.
More information about the perforce-user
mailing list