How do I remove a feature branch in mercurial if I want to remove it completely? It should be stripped from the history and I don\'t want to merge the changes in another branch
I found a working solution here.
It works by using hg strip from the mq extension:
hg strip
mq
$ hg strip my_pruned_branch
As mentioned in the comments, this should only be used for unpublished changesets.