Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #202 from kplawver/create-log-on-scm-none

Adding a log method to Capistrano::Deploy::SCM::None
  • Loading branch information...
commit 195a9da5fafca8d8f43e27bddf4887c8645245a2 2 parents 8b0b935 + df9167f
@leehambley leehambley authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 lib/capistrano/recipes/deploy/scm/none.rb
View
7 lib/capistrano/recipes/deploy/scm/none.rb
@@ -37,6 +37,13 @@ def checkout(revision, destination)
def query_revision(revision)
revision
end
+
+ # log: There's no log, so it just echos from and to.
+
+ def log(from="", to="")
+ "No SCM: #{from} - #{to}"
+ end
+
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.