Discussion:
[p4] One to Many Imports?
Michael Mirman
2017-03-01 11:30:20 UTC
Permalink
I prefer symlinks for a few reasons.
Mostly, because I believe Perforce behaves much better when there is one-to-one mapping *both* ways.
IOW, if I give a depot path to "p4 where" I will get the same result as if I give it an OS path.
When there is an ambiguity, in some cases the system behaves as we expect; in others - it doesn’t (think "p4 add local-file" when this file is mapped to multiple depot locations).

With streams, remapping can be done with virtual streams, but I would stay away from multiple mappings to the same depot location. IMHO, symlinks are so much better, if they work for you (they don't for Windows users).
--
Michael Mirman
MathWorks, Inc.
508-647-7555

-----Original Message-----
From: perforce-user [mailto:perforce-user-***@perforce.com] On Behalf Of BrianH
Sent: Tuesday, February 28, 2017 6:10 PM
To: perforce-***@perforce.com
Subject: [p4] One to Many Imports?

Posted on behalf of forum user 'BrianH'.

We have users at our site that for various reasons have need to have files from
another depot show up in more than one location in their local streams. We are
seeing that imports do not allow files to be imported more than once to two
different locations. Are imports really a one-to-one relationship?

What would the Helix mindset way be of accomplishing this? Import the file once
and then check in a symlink object for the other? Some thing else? We've
been trying to steer away from symlinks as a matter of policy just for
simplicity sake but don't really want to have some system of bat files to
accomplish this.
--
Please click here to see the post in its original format:
http://forums.perforce.com/index.php?/topic/5200-one-to-many-imports
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-***@perforce.com
http://maillist.perforce.com/mailman/list
Loading...