[p4] Patching files checked out from Perforce with no questionsasked

Ken.Williams at thomson.com Ken.Williams at thomson.com
Wed Nov 1 13:04:35 PST 2006

Yeah, I asked this question a week or so ago too.  I actually have no
idea where this prompt is coming from, surely patch(1) doesn't know
anything about perforce, does it?

.html is my previous message.

>From a little google search and this message,
tml , it looks like maybe if you unset P4CONFIG it won't ask any
questions.  Alternatively, if you're on a unixish environment you might
be able to do

  yes n | patch <...patch args...>

But that's maybe a little dangerous.


> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Geir 
> A. Myrestrand
> Sent: Wednesday, November 01, 2006 10:57 AM
> To: perforce-user at perforce.com
> Subject: [p4] Patching files checked out from Perforce with 
> no questionsasked
> Upon applying a rather large patch set on files checked out from 
> Perforce, I am presented with this question for every file 
> modified by 
> the patch set:
> Get file <filename_modified_by_patch_set> from Perforce with lock? [y]

More information about the perforce-user mailing list