# File lib/perforce.rb, line 337
    def submit
      revert_unchanged_files
      if empty?
        delete
      else
        @perforce.run("submit", "-c", @number)
      end
    end