[p4] Is there a way to check out a file but not get a local copy?
Jeff Grills
jgrills at drivensnow.org
Mon Feb 26 21:26:02 PST 2007
Off-hand, I see several options.
The first one would be to use "p4 print" to dump the file contents and
redirect the output to the right file.
You should also consider sync'ing the files normally, and then using "p4
flush //files/...#0" to make the server forget that you ever had them.
j
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Eramo, Mark
Sent: Monday, February 26, 2007 4:17 PM
To: perforce-user at perforce.com
Subject: [p4] Is there a way to check out a file but not get a local copy?
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
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list