Show More
@@ -158,9 +158,9 b' def _add_files_and_push(webserver, vt, d' | |||
|
158 | 158 | # PUSH it back |
|
159 | 159 | stdout = stderr = None |
|
160 | 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 | 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 | 165 | return stdout, stderr |
|
166 | 166 |
General Comments 0
You need to be logged in to leave comments.
Login now