[p4] How to convert "p4 files" depot filepaths to local machine filepaths?
James Edwards
krissieboy2001 at yahoo.com
Thu Feb 15 11:12:41 PST 2007
Hi, I'm trying to write a script to generate a list of local filepaths from the list of depot paths produced by the "p4 files" command. Is there some other p4 command or command option to do this, or is there some way to use the p4 api to do this? I couldn't find one. As it is, the best I can seem to do is get the client spec definition and try to manually parse each depot path and replace the depot root with the local file root, but this operation gets tricky for multi-line client-view specs where you have to figure out which of the client-view specification lines applies to a particular depot filepath.
Thanks for any help,
Kris
____________________________________________________________________________________
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
More information about the perforce-user
mailing list