Show More
@@ -158,9 +158,9 b' def _add_files_and_push(webserver, vt, d' | |||||
158 | # PUSH it back |
|
158 | # PUSH it back | |
159 | stdout = stderr = None |
|
159 | stdout = stderr = None | |
160 | if vt.repo_type == 'hg': |
|
160 | if vt.repo_type == 'hg': | |
161 | stdout, stderr = Command(dest_dir).execute('hg push --verbose', clone_url, ignoreReturnCode=ignoreReturnCode) |
|
161 | stdout, stderr = Command(dest_dir).execute('hg push -f --verbose', clone_url, ignoreReturnCode=ignoreReturnCode) | |
162 | elif vt.repo_type == 'git': |
|
162 | elif vt.repo_type == 'git': | |
163 | stdout, stderr = Command(dest_dir).execute('git push --verbose', clone_url, "master", ignoreReturnCode=ignoreReturnCode) |
|
163 | stdout, stderr = Command(dest_dir).execute('git push -f --verbose', clone_url, "master", ignoreReturnCode=ignoreReturnCode) | |
164 |
|
164 | |||
165 | return stdout, stderr |
|
165 | return stdout, stderr | |
166 |
|
166 |
General Comments 0
You need to be logged in to leave comments.
Login now