Class: Capistrano::Hg
Defined Under Namespace
Modules: DefaultStrategy
Instance Attribute Summary
Attributes inherited from SCM
Instance Method Summary collapse
-
#hg(*args) ⇒ Object
execute hg in context with arguments.
Methods inherited from SCM
#check, #clone, #fetch, #fetch_revision, #initialize, #release, #release_path, #repo_path, #repo_url, #test, #test!, #update
Constructor Details
This class inherits a constructor from Capistrano::SCM
Instance Method Details
#hg(*args) ⇒ Object
execute hg in context with arguments
7 8 9 10 |
# File 'lib/capistrano/hg.rb', line 7 def hg(*args) args.unshift(:hg) context.execute *args end |