Commit 1dd4ce02 authored by Georges Racinet's avatar Georges Racinet 🎸

GitLab pre-receive: pass new vcs='hg' parameter

Related to heptapod#295: this parameter will make it
possible to differentiate between calls to the `/allowed` internal
API endpoint for pre-receive checks (common among supported VCSes)
and for Git client SSH operation.

Since it'll make the pre-receive call use the `HgAccess` class
instead of the previously used `GitAccess`, we need now also to
pass the corresponding Mercurial wire protocol command name for
pushes.
parent 32051030fbba
Pipeline #7794 passed with stages
in 2 minutes and 30 seconds