Method: Chef::Provider::Subversion#export_command

Defined in:
lib/chef/provider/subversion.rb

#export_commandObject



111
112
113
114
115
116
117
118
# File 'lib/chef/provider/subversion.rb', line 111

def export_command
  args = ["--force"]
  args << new_resource.svn_arguments << verbose << authentication << proxy <<
    "-r#{revision_int}" << new_resource.repository << new_resource.destination
  c = scm :export, *args
  logger.info "#{new_resource} exported #{new_resource.repository} at revision #{new_resource.revision} to #{new_resource.destination}"
  c
end