[p4] Emulate ClearCase

Robert Cowham robert at vaccaperna.co.uk
Thu Sep 7 15:14:49 PDT 2006


> In our case here, we have a "build" account, but when I'm 
> logged in as build I set my p4user to be "dlewis". Then 
> whenever I check things in, it is done as perforce user 
> dlewis. There are a number of kinks though. p4 opened lists 
> all files open on the client, not just the ones I opened as 
> user dlewis.
> I can edit any files that are open for edit on the client, 
> but when I submit, only files that I opened as dlewis will be 
> in the list of files to be submitted.
> Sync operations could get confusing if you want to work with 
> anything other than the head revision, other users could 
> stomp on your sync state and you might not know that had happened.

Using the GUIS you will notice that if different users create changelists
then the changelists will change colour. I.e. Fred can't submit Jim's
changelist (including the default changelist - every user has their own
default), although interstingly Fred can grab Jim's files and put them in
his own changelist!

> The usual advice is that you shouldn't share a client between 
> users. It is possible, but there will be gotcha's that will 
> need to be anticipated and ironed out in some way or another.

Absolutely. To be avoided unless you have very good reason.

Robert


More information about the perforce-user mailing list