Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different scm (mercurial) #8

Open
enstain opened this issue Feb 22, 2017 · 1 comment
Open

Different scm (mercurial) #8

enstain opened this issue Feb 22, 2017 · 1 comment
Assignees

Comments

@enstain
Copy link

enstain commented Feb 22, 2017

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

@nickfan nickfan self-assigned this Feb 22, 2017
@nickfan
Copy link
Owner

nickfan commented Feb 22, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants