submit -- Submit open files to the depot p4 submit [ -s ] p4 submit [ -s ] files p4 submit -c changelist# p4 submit -i [ -s ] 'p4 submit' commits a pending changelist and its files to the depot. With no argument 'p4 submit' attempts to submit all files in the 'default' changelist. Submit provides the user with a dialog similar to p4 change so the user can compose a changelist description. In this dialog the user is presented with the list of files open in changelist 'default'. Files may be deleted from this list but they cannot be added. (Use an open command (edit, add, delete) to add additional files to a changelist.) If a (single) file pattern is given, only those files in the 'default' changelist that match the pattern will be submitted. The -c flag submits the numbered pending changelist that has been previously created with p4 change or a failed 'p4 submit'. The -i flag causes a changelist specification (including files to be submitted) to be read from the standard input. The user's editor is not invoked. The -s flag extends the list of jobs to include the fix status for each job, which becomes the job's status when the changelist is committed. See 'p4 help change' for more notes on this option. Before committing a changelist submit locks all associated files not already locked. If any file cannot be locked, or if the submit fails for any other reason the files are left open in a newly created pending changelist. Submit is guaranteed to be atomic. Either all files will be updated in the depot as a unit or none will be.