Prune a Mercurial branch

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!

Git vs Mercurial (Hg)

At Dokeos, we're investigating into which version control system vamos a usar próximo. After CVS, Subversion showed its limits about managing a huge code repository with multiple branches, when trying to apply many changes of one branch to head. The two most interesting systems remaining are Git and Mercurial. Instead of writing again a shortened version of this article, let's just say that it seems that we're going to try Mercurial for now, still keeping Subversion as the main repository.