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

Implements the Capistrano SCM interface for the Mercurial revision control system (www.selenic.com/mercurial/). Latest updates at tackletechnology.org/oss/cap2-mercurial

Methods

checkout   diff   export   handle_data   head   log   query_revision   sync  

Public Instance methods

Clone the repository and update to the specified changeset.

Compute the difference between the two changesets from and to as a unified diff.

One day we will have hg archive, although i think its not needed

Determine response for SCM prompts user/pass can come from ssh and http distribution methods yes/no is for when ssh asks you about fingerprints

For mercurial HEAD == tip except that it bases this assumption on what tip is in the current repository (so push before you deploy)

Return a log of all changes between the two specified changesets, from and to, inclusive or the log for from if to is omitted.

Translates a tag to a changeset if needed or just returns changeset.

Pull from the repository and update to the specified changeset.

[Validate]