[p4] Linking support in the server

Chuck Karish chuck.karish at gmail.com
Thu Feb 15 07:01:57 PST 2007


On 2/13/07, Jeff Grills <jgrills at drivensnow.org> wrote:
> If you were in a Unix OS, you could use symbolic links.  Symbolic links can
> even be submitted to perforce.

Symbolic links in Perforce can create considerable confusion.  p4
is naive about when to act on the link and when to follow it.

> At first, we tried with specific mapping in the client workspace to
> accomplish this. The problem appeared when an user works in several
> applications and cannot map a directory to several directories...
>
> How is the recommended way to solve this?

Either of the solutions that William Ivey suggested (one client per
project, move the shared code to a sibling directory) will work.

> In the past, I remember using links in SourceSafe to solve this.

Perforce doesn't have an equivalent to VSS shares.

> I've
> seen that p4 server support a type link, but it is supposed to work only
> in linux (?). Are they supported in a Win32 server (using the links in
> NTFS with linkd for example).

I don't think so.

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


More information about the perforce-user mailing list