[p4] Sharing workspace between 2 users?

Tony Sweeney sweeney at addr.com
Sat Sep 1 06:26:18 PDT 2007


Geoff Rowland wrote:
> Is it possible to share one workspace between 2 different users?  Or
> maybe there is a better way of doing this:
> We have a machine in our conference room, which has different people
> using it.  Nothing is ever submitted from this machine, just latest
> builds pulled down from perforce.  
>   
OK so far.
> The problem is, different people may be using this machine - so even
> though the depot exists on disk, each person needs to create a new
> workspace when they login, which results in all the files being
> re-downloaded again, not just the ones that have been updated since the
> last person updated.
>   
Why is this part true?  What's forcing each person to create a new 
workspace when they log in to that machine?  You don't specify whether 
the conference room box (let's call it "Yalta") is Windows or UNIX, but 
either way it shouldn't be that hard to create a dedicated client spec 
for that machine, and have everyone use it anytime they log in to that 
box.  Naming the client spec for the machine is the Perforce default in 
any case.
> What is the best way to allow this (if at all)?
>   
Create a client spec for Yalta that reflects the parts of the depot of 
interest, where on Yalta's disks you want everything to go, and set up 
everyone's environment defaults such that when they log in to Yalta, 
this is the client spec that they all get.  The have list is per client 
spec, so with this set up there shouldn't be any unnecessary syncs just 
to get the latest stuff when someone new logs in.

Tony.

-- 
quis custodiet ipsos custodes? -- Juvenal VI, 347-8


More information about the perforce-user mailing list