This gem provide mina task:
mina mercurial:clone # clone remote repository to build path
Add this line to your application's Gemfile:
gem 'mina-mercurial', :require => false
And then execute:
$ bundle
Or install it yourself as:
$ gem install mina-mercurial
Add this to your config/deploy.rb
file:
require 'mina/mercurial'
Add optional parameters in your config/deploy.rb
:
branch
- repository branchrevison
- repository revision (using insteadbranch
)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request