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
Showing
- hgext3rd/heptapod/git.py 11 additions, 1 deletionhgext3rd/heptapod/git.py
- hgext3rd/heptapod/tests/git/test_inner.py 31 additions, 0 deletionshgext3rd/heptapod/tests/git/test_inner.py
- hgext3rd/heptapod/tests/git/test_integration.py 15 additions, 0 deletionshgext3rd/heptapod/tests/git/test_integration.py
Loading
Please register or sign in to comment