Set default to :git from :subversion #218

Closed
wants to merge 1 commit into
from
View
@@ -51,7 +51,7 @@ files = {
"config/deploy.rb" => 'set :application, "set your application name here"
set :repository, "set your repository location here"
-set :scm, :subversion
+set :scm, :git
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
role :web, "your web-server here" # Your HTTP server, Apache/etc
@@ -22,7 +22,7 @@ def _cset(name, *args, &block)
# are not sufficient.
# =========================================================================
-_cset :scm, :subversion
+_cset :scm, :git
_cset :deploy_via, :checkout
_cset(:deploy_to) { "/u/apps/#{application}" }
@@ -213,7 +213,7 @@ def try_runner(*args)
task (if you want to perform the `restart' task separately).
You will need to make sure you set the :scm variable to the source \
- control software you are using (it defaults to :subversion), and the \
+ control software you are using (it defaults to :git), and the \
:deploy_via variable to the strategy you want to use to deploy (it \
defaults to :checkout).
DESC