Commit 1f9d671e authored by Michal Čihař's avatar Michal Čihař

Revert "Remove duplicate remote update"

This reverts commit bb88aa38.
parent bb88aa38
......@@ -387,6 +387,8 @@ class SubProject(models.Model):
pushurl = ''
if pushurl != self.push:
self.git_repo.git.remote('set-url', 'origin', '--push', self.push)
# Update
self.update_remote_branch(validate)
def configure_branch(self):
'''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment