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

Implements the Capistrano SCM interface for the Subversion revision control system (subversion.tigris.org).

Methods

checkout   diff   export   handle_data   head   log   next_revision   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 "svn diff" for the two revisions.

Returns the command that will do an "svn 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.

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

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

Increments the given revision number and returns it.

Attempts to translate the given revision identifier to a "real" revision. If the identifier is an integer, it will simply be returned. Otherwise, this will yield a string of the commands it needs to be executed (svn info), and will extract the revision from the response.

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

[Validate]