I'm going to use this script on bitbucket mercurial repo, so I have to rewrite "git" calls into "hg". I guess, instead of rewriting script, we could incapsulate exact commands working with repository into modules, so just set some kind of var like $scm = "git" ("mercurial", anything else) in envoy.config like Capistrano does
I'm going to use this script on bitbucket mercurial repo, so I have to rewrite "git" calls into "hg". I guess, instead of rewriting script, we could incapsulate exact commands working with repository into modules, so just set some kind of var like
$scm = "git"("mercurial", anything else) in envoy.config like Capistrano does