[p4] [Newbie]: Mapping one depot to multiple locations in same workspace

Chuck Karish chuck.karish at gmail.com
Tue Mar 31 11:51:09 PDT 2009


Thsi question is a variant of a FAQ from new Perforce users, "How do I
get the functionality provided by the 'share' capability in VSS?"  The
best answer is "make separate clients for the programs that use your
libraries."

As Gabor pointed out Perforce views support a one-to-one mapping
between the server and the client workspace.  The only extension is
the many-to-one reverse mapping provided by the overlay indicator
("+").  There is no one-to-many mapping from the server to the client
workspace or from a source to a destination in a branch view.

If you implement one-to-many mappings using symbolic links I
recommend that you generate the symlinks in the client workspace
and don't submit them to Perforce.  Checked-in symlinks are a
reliable source of confusion and of bad behavior.  Perforce does
not pay attention to whether an entry is a symlink, so it doesn't
always resolve the symlink when you want it to be resolved and it
dopesn't act directly on the symlink when you don't want it to be
resolved.

-- 
Chuck Karish   karish at well.com   (415) 317-0182



More information about the perforce-user mailing list