[p4] mapping 1 area of depot to multiple areas of workspace

Weintraub, David david.weintraub at bofasecurities.com
Wed Oct 11 13:10:52 PDT 2006


What happens when you edit a file in this workspace? Do both copies get
updated, or just one? How would it work? Could you have two versions of
the same file? Would it be possible to open each version?

One of the things Perforce has to enforce is a one-to-one mapping of a
depot file to a particular file in the workspace, or you get the type of
complications above.

Why not simply create two views?

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Edil Cadenas
Sent: Wednesday, October 11, 2006 2:53 PM
To: perforce-user at perforce.com
Subject: [p4] mapping 1 area of depot to multiple areas of workspace

Is it possible to map 1 area of the depot to several areas of the
workspace?

e.g.

      //depot/dir1/...    //Workspace/local1/...

      //depot/dir1/...    //Workspace/local2/...

 

I understand that the branch mechanism somehow provides a way to do that
but does it on the depot side.  What I would to do is to just map the
same are of the depot to several sections of my workspace.  I tried
using the "+" mapping but I always end up getting the second line only.

 

Is what I'm trying to actually possible in Perforce?  Thanks for
anyone's help.

 

 

Best regards,

Edil

 

_______________________________________________
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