Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set default to :git from :subversion

  • Loading branch information...
commit 12cb501a3e1d137048dd932f0fda15e387edbfe6 1 parent e82de1c
David Czarnecki czarneckid authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  bin/capify
  2. +2 −2 lib/capistrano/recipes/deploy.rb
2  bin/capify
@@ -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
4 lib/capistrano/recipes/deploy.rb
@@ -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).
Please sign in to comment.
Something went wrong with that request. Please try again.