Prune a Mercurial branch
- Read more about Prune a Mercurial branch
- Log in to post comments
The manual is perfect for that... http://mercurial.selenic.com/wiki/PruningDeadBranches
All you have to do is:
hg headsIdentify 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 defaultDone!