[p4] Is there a way to check out a file but not get a local copy?

Eramo, Mark meramo at 170Systems.com
Mon Feb 26 14:17:23 PST 2007


I have a question in regards to p4add

 

Is there a way to Check a File out from the Perforce repository but not
actually get a local copy? I see there is a -n option but that looks
like a preview option and might not actually do anything.

 

The reason I need to do this is our build process builds a new jar and
drops it into the release folder. We will then call Perforce to checkout
what is in that folder in the repository without getting a local copy
then submitting the new copy in the release folder to the repository.

 

I could modify the build process but I figured if I can save time with a
flag to prevent a local copy from being put down, that would be easier
for now.

 

Regards,

 

Mark

 

 



More information about the perforce-user mailing list