mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #202 from kplawver/create-log-on-scm-none
Adding a log method to Capistrano::Deploy::SCM::None
This commit is contained in:
commit
195a9da5fa
1 changed files with 7 additions and 0 deletions
|
@ -37,6 +37,13 @@ module Capistrano
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue