Commit 4660893e authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents a8e58db5 86397dd7
......@@ -675,7 +675,13 @@ class SubProject(models.Model, PercentMixin, URLMixin, PathMixin):
return False
# do we have something to merge?
if not self.repo_needs_merge() and method != 'rebase':
try:
needs_merge = self.repo_needs_merge()
except RepositoryException:
# Not yet configured repository
needs_merge = True
if not needs_merge and method != 'rebase':
return True
# commit possible pending changes
......
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