The manual is perfect for that… http://mercurial.selenic.com/wiki/PruningDeadBranches
All you have to do is:
hg heads
Identify the branch you want to close (get the revision number, let’s say 951)
hg update -C 951
hg commit –close-branch -m “This version never worked”
hg update -C default
Done!