Have you already tried force-pushing with `hg push -f -B mybookmark`?
Alternatively, try moving the bookmark, force-pushing that, then moving it to where you want it and force-pushing that. Like so:
# 1. Go to mybookmark
hg update mybookmark
# 2. Move mybookmark to parent of current commit and force-push
hg bookmark mybookmark -r 'p1(.)'
hg push -f -B mybookmark
# 3. Move mybookmark back to current commit and force-push
hg bookmark mybookmark -r .
hg push -f -B mybookmark
If that doesn't work, debugging will be needed. To aid in debugging the incorrect push to Github: is there a public version of your Mercurial repo, or would you be able to create one? If publishing the Mercurial repo is not desired, could you send a copy privately as a zipfile?
Public Mercurial hosts that I know of:
Kind regards from a user of both R and survival,
Sietse
Sietse Brouwer