mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-18 20:50:10 +01:00
Only ignore opening a second MR
This commit is contained in:
parent
3720afbe5b
commit
b73663967b
@ -139,4 +139,7 @@ if git_repo.is_dirty() and ('gradlew-fdroid' in modified or 'makebuildserver' in
|
|||||||
})
|
})
|
||||||
mr.save()
|
mr.save()
|
||||||
except gitlab.exceptions.GitlabCreateError as e:
|
except gitlab.exceptions.GitlabCreateError as e:
|
||||||
|
if e.response_code == 409: # Another open merge request already exists for this source branch
|
||||||
print(e.error_message)
|
print(e.error_message)
|
||||||
|
else:
|
||||||
|
raise e
|
||||||
|
Loading…
Reference in New Issue
Block a user