Class Capistrano::Deploy::SCM::Cvs
In: lib/capistrano/recipes/deploy/scm/cvs.rb
Parent: Base

Implements the Capistrano SCM interface for the CVS revision control system.

Methods

checkout   diff   export   handle_data   head   log   query_revision   sync  

Public Instance methods

Returns the command that will check out the given revision to the given destination.

Returns the command that will do an "cvs diff" for the two revisions.

Returns the command that will do an "cvs export" of the given revision to the given destination.

Determines what the response should be for a particular bit of text from the SCM. Password prompts, connection requests, passphrases, etc. are handled here.

CVS understands ‘HEAD’ to refer to the latest revision in the repository.

Returns an "cvs log" command for the two revisions.

Unfortunately, cvs doesn‘t support the concept of a revision number like subversion and other SCM‘s do. For now, we‘ll rely on getting the timestamp of the latest checkin under the revision that‘s passed to us.

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

[Validate]