Capistrano, Mercury and branches

As far as I understand, although Mercurial has support from branches, the community usually clones repositories instead of creating branches. Similar to the Darcs model, unlike the Git model.

I am deploying a Ruby on Rails application with Capistrano, and I would like to separate it from the development branch. Should I point Capistrano to another repo or use branches?

Has anyone used one model or another branch when working with Capistrano? Any problems with?

+3
source share
2 answers

yes Mercurial supports several branching patterns , probably the most common cloning.

, , ,

+6

config/deploy.rb

set :branch, "your_branch"
+4

Source: https://habr.com/ru/post/1738756/


All Articles