[p4] Defaulting depots to a different drive?
Biswajit Dash
biswajitind at yahoo.com
Thu Jan 3 01:41:55 PST 2008
>> How do I check for non-existing depots in a
trigger?
p4 depots
will give a list of depots, browse through this list,
and find out if %formname% is present in the list or
not.
>> does the %formname% variable have the depot name in
it?
Yes
--- Shaun Stuart <Shaun.Stuart at rainbowstudios.com>
wrote:
> Thanks for the info. The last bit is beyond my
> meager abilities.. How do
> I check for non-existing depots in a trigger? And
> does the %formname%
> variable have the depot name in it?
>
> Shaun
>
> > Write a form-out trigger for type 'depot'.
> > with arguements %formname% %formfile% %formname%
> >
> > and modify the default path in the form file with
> the
> > path you want to set.
> >
> > Note: This trigger will get executed for p4 depot
> > <depot> command for existing depots also.
> >
> > To avoid this, do a check for non existing depots
> [
> > the one we are in the process of creating] and do
> the
> > form modification.
>
> _______________________________________________
> perforce-user mailing list -
> perforce-user at perforce.com
>
http://maillist.perforce.com/mailman/listinfo/perforce-user
>
Chat on a cool, new interface. No download required. Go to http://in.messenger.yahoo.com/webmessengerpromo.php
More information about the perforce-user
mailing list