[p4] Patching files checked out from Perforce with no questions asked

Andrew May acmay at acmay.homeip.net
Wed Nov 1 12:42:48 PST 2006


On Wed, Nov 01, 2006 at 11:57:27AM -0500, Geir A. Myrestrand wrote:
> 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]
> 
> The desired behavior is no, but I don't want to answer this question for 
> each file in the patch set --I want no for all, without the interactive 
> portion.

How about changing the clientspec to remove/change the "noallwrite" and allow
all the files to be writable. It seems you don't want the changes under perforce
control at all.

There is also the "-V method  or  --version-control=method" option to patch
itself. "-V never" may get rid of it too.



More information about the perforce-user mailing list