envoy-deployscript
envoy-deployscript copied to clipboard
Different scm (mercurial)
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
ok,i see ,in the script there are many commands:
git fetch origin;
git pull;
git checkout -B xxx
git clone xxx
i haven't use mercurial (hg) yet. but i think we should build some command map for your request.