Cannot push to mercurial/perfarce repository due to multiple heads
I just obtained membership of the mercurial/perfarce
project. However, the repository has multiple heads on the default branch, so I can't push to it:
$ hg clone ssh://hg@foss.heptapod.net/mercurial/perfarce
destination directory: perfarce
requesting all changes
adding changesets
adding manifests
adding file changes
added 149 changesets with 176 changes to 6 files (+1 heads)
new changesets 54203f5cb104:df752963316e
updating to branch default
6 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd perfarce
$ hg --config extensions.topic= topic hack-hack-hack
marked working directory as topic: hack-hack-hack
$ touch hack
$ hg ci -A -m hack
adding hack
$ hg push
pushing to ssh://hg@foss.heptapod.net/mercurial/perfarce
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: rejecting multiple heads on branch "default"
remote: (2 heads: addfcae0095e d2fcba9dec6d)
abort: push failed on remote
$ hg --config extensions.evolve= prune tip
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
working directory is now at df752963316e
1 changesets pruned
$ hg up 105
4 files updated, 0 files merged, 2 files removed, 0 files unresolved
$ hg ci -m 'close old head' --close-branch
$ hg push
pushing to ssh://hg@foss.heptapod.net/mercurial/perfarce
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: You are not authorised to publish changesets: ca9602bbcd6a
For more information about topics auto-publishing rules in Heptapod, see: https://heptapod.net/pages/faq.html#bare-draft
abort: push failed on remote