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

A trivial SCM wrapper for representing the current working directory as a repository. Obviously, not all operations are available for this SCM, but it works sufficiently for use with the "copy" deployment strategy.

Use of this module is not recommended; in general, it is good practice to use some kind of source code management even for anything you are wanting to deploy. However, this module is provided in acknowledgement of the cases where trivial deployment of your current working directory is desired.

  set :repository, "."
  set :scm, :none
  set :deploy_via, :copy

Methods

checkout   export   head   log   query_revision  

Public Instance methods

Simply does a copy from the :repository directory to the :destination directory.

export(revision, destination)

Alias for checkout

No versioning, thus, no head. Returns the empty string.

log: There‘s no log, so it just echos from and to.

No versioning, so this just returns the argument, with no modification.

[Validate]