[p4] Is it possible to create soft links in the p4 depot and when you apply a label, the label gets applied to the real file
Stephen Vance
steve at vance.com
Thu Oct 18 15:43:28 PDT 2007
Perforce symlinks only provide for storage of native file system
symlinks on supported operating systems (Unix-like and BeOS, last I
knew). They have no distinct behavior of their own on the server. You
will need to script this yourself.
Steve
Alok Narula wrote:
> Hi,
>
>
>
> My company is using the latest version of Perforce 2007.2. I would like
> to know if it is possible to create soft links in the p4 depot and when
> you apply a label, the label gets applied to the real file.
>
>
>
> To illustrate, assume that my depot is as below:
>
>
>
> Host
>
> X
>
> Y
>
> Driver
>
> A
>
> B
>
> Z
>
>
>
> I want to label the Driver folder with a tag "MyProjectOct17" and I want
> the label to get applied to the file X also which is in a different
> folder. If I create a soft-link for X in the Driver folder and apply the
> label to the Driver folder, the label will be applied to files A, B, Z,
> and X. The question is, doe perforce support this and if yes, what is
> the method to:
>
>
>
> a. Create soft-link in the depot
> b. Apply label to the soft-link so that it gets propagated to the
> real file.
>
>
>
> Alok
>
> _______________________________________________
> perforce-user mailing list - perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>
--
Stephen Vance
www.vance.com
More information about the perforce-user
mailing list