I have a branch that looks like this:
A->B->C->D->...->Z
^
1->2-^
where C
is a merge from 2
an
You could use the thg backout tool.
This will create a new head which you will need to merge with Z or rebase on to Z.