Pruning GitLab branch if all heads of Hg branch are bookmarked
The logic behind this is that 'branch/HG_NAMED_BRANCH' in this case becomes arbitrary, that's the last commit seen by GitLab before all heads of the named branch got bookmarked.
Edited by Georges Racinet