Skip to content
Snippets Groups Projects
Commit e8f0746800f5 authored by Georges Racinet's avatar Georges Racinet
Browse files

git: abort transactions pruning the default GitLab branch

Instead of ignoring the prune (and hence making a slight
discrepancy between Git and Mercurial content), we will
refuse the transaction.

Someone with enough commit rights to close the default branch
can surely change it in the Heptapod project settings.

This is ultimately because the native mode reads Mercurial
content only. Of course, when it doesn't perform Git conversion,
we'll still have to port that check, but the functional tests
are also covering this, so we'll know.
parent 4754af38da18
No related branches found
No related tags found
1 merge request!35Native mode: Merge Request IID payloads and make sure we never prune the default GitLab branch
Pipeline #12879 passed with warnings
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment