1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 18:40:12 +01:00

fix double pushing on remote

This commit is contained in:
thez3ro 2017-05-17 23:08:25 +02:00
parent 87066bc1d5
commit ec30d73f13
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

@ -364,11 +364,6 @@ def update_servergitmirrors(servergitmirrors, repo_section):
progress = MyProgressPrinter()
else:
progress = None
# push for every remote. This will overwrite the git history
for remote in repo.remotes:
logging.debug('Pushing to ' + remote.url)
with repo.git.custom_environment(GIT_SSH_COMMAND=ssh_cmd):
remote.push('master', force=True, set_upstream=True, progress=progress)
# push for every remote. This will overwrite the git history
for remote in repo.remotes: