[DEV] commit on specific branch

This commit is contained in:
Edouard DUPIN 2017-10-09 10:25:00 +02:00
parent 6da4400509
commit 9f11499b34
2 changed files with 4 additions and 4 deletions

View File

@ -83,6 +83,6 @@ def execute(arguments):
debug.verbose("commit in project:") debug.verbose("commit in project:")
# fetch the repository # fetch the repository
cmd = "git commit " + argument_amend + argument_all + argument_message cmd = "git commit " + argument_amend + argument_all + argument_message
debug.info("execute : " + cmd) debug.debug("execute : " + cmd)
##multiprocess.run_command_direct(cmd, cwd=git_repo_path) multiprocess.run_command_direct(cmd, cwd=git_repo_path)

View File

@ -101,7 +101,7 @@ def execute(arguments):
cmd += " " + argument_remote_name cmd += " " + argument_remote_name
else: else:
cmd += " " + elem.select_remote["name"] cmd += " " + elem.select_remote["name"]
cmd += " " + elem_branch + ":" + elem_branch cmd += " " + select_branch + ":" + select_branch
debug.verbose("execute : " + cmd) debug.info("execute : " + cmd)
multiprocess.run_command_direct(cmd, cwd=git_repo_path) multiprocess.run_command_direct(cmd, cwd=git_repo_path)