# File lib/perforce.rb, line 154
  def edit_and_submit(changelist_description, *files)
    changelist = new_changelist(changelist_description)
    changelist.add_files(*files)
    yield
    changelist.submit
  end