Provide separate arguments per scm command #80

Merged
merged 2 commits into from Sep 20, 2011

Projects

None yet

2 participants

@alextk
Contributor
alextk commented Aug 9, 2011

See issue: #78

In a nutshell, now :scm_arguments variable value can be a hash, whose keys are command names (symbols) and hash values are the arguments to pass to each command, like this:

#deploy.rb
.....
set :scm_arguments, {:all => '--revision 1234', :export => '--ignore-externals' }
....

This will add to all svn commands argument --revision 1234 and to export command --ignore-externals argument.

@leehambley leehambley merged commit fa99143 into capistrano:master Sep 20, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment