Method: Capistrano::Deploy::SCM::Cvs#sync

Defined in:
lib/capistrano/recipes/deploy/scm/cvs.rb

#sync(revision, destination) ⇒ Object

Returns the command that will do an “cvs update” to the given revision, for the working copy at the given destination.



30
31
32
33
34
# File 'lib/capistrano/recipes/deploy/scm/cvs.rb', line 30

def sync(revision, destination)
  [ prep_destination(destination),
    scm(verbose, cvs_root, :update, cvs_revision(revision), cvs_destination(destination))
  ].join(' && ')
end