Remove commit from a topic

I am a bit lost with hg.
I have create 2 topics:

topic/default/section-anchors-for-configuration-doc
topic/default/link-email-settings-on-notification-email-docs

In the second topic there is a commit that should not be there…
I found this instruccions:

So I realize that I should rebase before creating the second topic.
I execute:

hg update link-email-settings-on-notification-email-docs 
hg rebase -d default

But still 2 commits in that topic…

hg stack
### topic: link-email-settings-on-notification-email-docs (2 heads)
### target: 6.8+default (branch), 1180 behind
s2: Improve notification docs adding a link to email settings
  ^ Increase version number
s1@ Improve notification docs adding a link to email settings (current)
s0^ Add section anchors to the configuration document. (base)

To remove a commit from a topic, you can use hg prune -r <rev>. Often it is needed to solve the topic with hg evolve.

ok. That seems to work. I hope that I did not break anything else…