Migration to native: ensure GitLab default branch
-
new CLI command hg hpd-ensure-default-gitlab-branch
in py-heptapod -
call it from Rails
The default GitLab branch itself can be read as the HEAD
of the Git repository (internal APIs in py-heptapod should be ready to do that, check in state_maintainer.py)