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!


Related Posts

Using Ohloh’s PHP API

I was trying to find out the total contributions to our code, by...

Too busy

I don’t know what’s happened but August was supposed to be a quiet...