[p4] Workspace option: exclusive open
Ivey, William
william_ivey at bmc.com
Fri Sep 14 09:02:55 PDT 2007
You don't really need a workspace for every branch, just
a workspace that encompasses all of the branches. Then the
users just select what branches they want to sync at any
given time.
If your depot looks like this:
//depot/main/...
//depot/v1/...
//depot/v2/...
Then you map it like this in your client:
//depot/*/... /myClient/*/...
That works for us, but might not be suited to every situation.
-Wm
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Ildefonzo
Arocha
Hi List,
It is Friday and my brain has already started to shutdown :-)
I am about to submit an enhancement request to Perforce, just wanted
to double check with the gurus and hear what you guys have to say.
What I am needing is an workspace option where, every file checked out
is locked by the user, so that no other user can change the file.
Typemap'ping the branch will not help as this only works with new
files and not with files that are integrated.
To make a long story short, the reason why I need this:
We develop centrally (RDP/Citrix and Linux), we have a main codeline,
a branch for each version (V1,V2,V3), and each user has its own
workspace which consists of the main codeline.
Now and then, we have to fix bugs in V1, V2 or V3, this happens
frequently. In such case we fix in MAIN and propagate to V1,V2 or V3
(sometimes vice versa). In order to do this we need a workspace for
V1,V2 and V3, however mapping these branches to each users workspace
would be a big overkill (plus a big waste of disk space). So what I
would need is to create one workspace for each branch, and this new
option "exclusive open" which allows only one user to open a file at
the time.
Locking the file does not seem help, as this is only checked at submit
time.
Does this make sense to anyone? Hope it does :-)
Thanks,
Ildefonzo
_______________________________________________
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