[p4] Defaulting depots to a different drive?

Biswajit Dash biswajitind at yahoo.com
Fri Dec 28 04:12:51 PST 2007


Hi 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.

Regards,
Biswajit.

--- Shaun Stuart <Shaun.Stuart at rainbowstudios.com>
wrote:

> 
> We want to store our depot files on a different
> drive than where Perforce is installed. Since we
> allow certain users to create their own depots, is
> there a way to make perforce default the depot
> specification to a different drive letter? For
> example,
> 
> D:\NewDepot\...
> 
> instead of 
> 
> NewDepot\...
> 
> We're running under Windows..
> 
> 
> _______________________________________________
> perforce-user mailing list  - 
> perforce-user at perforce.com
>
http://maillist.perforce.com/mailman/listinfo/perforce-user
> 



      Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.promos.yahoo.com/groups  


More information about the perforce-user mailing list