filebatch-fileperforceeditintegrate

Perforce: Is it possible to execute an integrate command on multiple files (not folders)?


I'm trying to execute an "Integrate" perforce command (see: http://www.perforce.com/perforce/doc.current/manuals/cmdref/integrate.html) on a list of files and not on a single file or a specific folder.

Is such a thing possible ?

In other words, is it possible to specify multiple files (and their respective integration paths) in one command ? This would save me the trouble of having to call this command for each file that I'd like to integrate and in the process reduces the number of round-trips on the P4 server.

If not, do you have another command to recommend?

Thanks


Solution

  • You could create a branch, and then integrate through the branch. I know that sounds weird, but in Perforce all a branch is is a set of integration mappings stored in the server. You then use -b on p4 integrate to specify the branch.