Class: Capistrano::Deploy::SCM::Subversion

Inherits:
Base
  • Object
show all
Defined in:
lib/capistrano/recipes/deploy/strategy/filtered_remote_cache.rb

Instance Method Summary collapse

Instance Method Details

#switch(revision, checkout) ⇒ Object



8
9
10
# File 'lib/capistrano/recipes/deploy/strategy/filtered_remote_cache.rb', line 8

def switch(revision, checkout)
  "cd #{checkout} && #{scm :switch, verbose, authentication, "-r#{revision}", repository}"
end