private Method

Plugin.svn_command(cmd, options = {})

There's no documentation for this item.

Source Code

# File commands/plugin.rb, line 251
def svn_command(cmd, options = {})
  root = rails_env.root
  mkdir_p "#{root}/vendor/plugins"
  base_cmd = "svn #{cmd} #{uri} \"#{root}/vendor/plugins/#{name}\""
  base_cmd += ' -q' if options[:quiet] and not $verbose
  base_cmd += " -r #{options[:revision]}" if options[:revision]
  puts base_cmd if $verbose
  system(base_cmd)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.